Skip to content

Commit

Permalink
docs:(PPDSC-2709) update icons scenarios in storybook (#697)
Browse files Browse the repository at this point in the history
* docs(PPDSC-2709): update icon stories

* docs(PPDSC-2709): update snapshot

* docs(PPDSC-2709): add title to icons page

* docs(PPDSC-2709): remove unused import

* docs(PPDSC-2709): fix blue050 theme color for a11y links

* docs(PPDSC-2709): update snapshots

* docs(PPDSC-2709): revert yarnlock

* docs(PPDSC-2709): yarnlock
  • Loading branch information
LukeFinch authored Mar 30, 2023
1 parent 4d1c8e7 commit 9d2651b
Show file tree
Hide file tree
Showing 13 changed files with 197 additions and 283 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3543,7 +3543,7 @@ exports[`SvgPreviewer should render correctly when receiving one svg data 1`] =
<path
d="M685.587 299.513C689.197 307.576 692.723 315.549 695.65 323.674L663.363 323.671C661.691 319.697 660.197 315.723 658.405 311.812L658.139 311.219C652.102 297.754 645.877 283.87 642.905 268.713L641.233 261.187C636.811 242.343 633.556 225.734 638.426 213.64C647.439 191.171 671.949 189.274 686.62 188.138L686.66 188.135L692.879 187.567C711.217 185.537 732.837 181.953 753.686 170.901C807.711 142.291 814.464 47.8493 813 -4H842.5C844.292 59.264 833.695 162.337 767.69 197.28C742.362 210.686 717.337 214.899 696.159 217.259L688.993 217.884C677.222 218.779 668.081 219.858 666.113 224.753C664.506 229.672 668.698 247.544 670.287 254.319L670.295 254.352C671.04 257.607 671.727 260.566 672.175 262.925C674.528 274.899 679.878 286.807 685.536 299.4L685.587 299.513Z"
fill="#577FFB"
fill="#708DE9"
/>
Expand Down
16 changes: 8 additions & 8 deletions site/theme/__tests__/__snapshots__/doc-theme.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -2813,7 +2813,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -5573,7 +5573,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -8336,7 +8336,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -11096,7 +11096,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -13859,7 +13859,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -16619,7 +16619,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down Expand Up @@ -19382,7 +19382,7 @@ Object {
"blue020": "#D5E0FC",
"blue030": "#AEBFFF",
"blue040": "#8BA6F6",
"blue050": "#577FFB",
"blue050": "#708DE9",
"blue055": "#446be4",
"blue060": "#3358CC",
"blue070": "#254CAC",
Expand Down
10 changes: 0 additions & 10 deletions src/icons/__tests__/__snapshots__/custom-icons.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -200,23 +200,18 @@ exports[`IconFilledFigma renders the IconFilledFigma icon with specified style 1
>
<path
d="M12.3333 12C12.3333 11.0275 12.7196 10.0949 13.4073 9.40729C14.0949 8.71965 15.0275 8.33334 16 8.33334C16.9724 8.33334 17.9051 8.71965 18.5927 9.40729C19.2803 10.0949 19.6666 11.0275 19.6666 12C19.6666 12.9725 19.2803 13.9051 18.5927 14.5927C17.9051 15.2804 16.9724 15.6667 16 15.6667C15.0275 15.6667 14.0949 15.2804 13.4073 14.5927C12.7196 13.9051 12.3333 12.9725 12.3333 12V12Z"
fill="#1ABCFE"
/>
<path
d="M5 19.3333C5 18.3609 5.38631 17.4282 6.07394 16.7406C6.76158 16.053 7.69421 15.6667 8.66667 15.6667H12.3333V19.3333C12.3333 20.3058 11.947 21.2384 11.2594 21.926C10.5718 22.6137 9.63913 23 8.66667 23C7.69421 23 6.76158 22.6137 6.07394 21.926C5.38631 21.2384 5 20.3058 5 19.3333V19.3333Z"
fill="#0ACF83"
/>
<path
d="M12.3333 1V8.33333H16C16.9724 8.33333 17.9051 7.94703 18.5927 7.25939C19.2803 6.57176 19.6666 5.63913 19.6666 4.66667C19.6666 3.69421 19.2803 2.76158 18.5927 2.07394C17.9051 1.38631 16.9724 1 16 1L12.3333 1Z"
fill="#FF7262"
/>
<path
d="M5 4.66667C5 5.63913 5.38631 6.57176 6.07394 7.25939C6.76158 7.94703 7.69421 8.33333 8.66667 8.33333H12.3333V1H8.66667C7.69421 1 6.76158 1.38631 6.07394 2.07394C5.38631 2.76158 5 3.69421 5 4.66667V4.66667Z"
fill="#F24E1E"
/>
<path
d="M5 12C5 12.9725 5.38631 13.9051 6.07394 14.5927C6.76158 15.2804 7.69421 15.6667 8.66667 15.6667H12.3333V8.33334H8.66667C7.69421 8.33334 6.76158 8.71965 6.07394 9.40729C5.38631 10.0949 5 11.0275 5 12V12Z"
fill="#A259FF"
/>
</svg>
</DocumentFragment>
Expand Down Expand Up @@ -280,23 +275,18 @@ exports[`IconFilledFigma renders the IconFilledFigma icon with title override 1`
</title>
<path
d="M12.3333 12C12.3333 11.0275 12.7196 10.0949 13.4073 9.40729C14.0949 8.71965 15.0275 8.33334 16 8.33334C16.9724 8.33334 17.9051 8.71965 18.5927 9.40729C19.2803 10.0949 19.6666 11.0275 19.6666 12C19.6666 12.9725 19.2803 13.9051 18.5927 14.5927C17.9051 15.2804 16.9724 15.6667 16 15.6667C15.0275 15.6667 14.0949 15.2804 13.4073 14.5927C12.7196 13.9051 12.3333 12.9725 12.3333 12V12Z"
fill="#1ABCFE"
/>
<path
d="M5 19.3333C5 18.3609 5.38631 17.4282 6.07394 16.7406C6.76158 16.053 7.69421 15.6667 8.66667 15.6667H12.3333V19.3333C12.3333 20.3058 11.947 21.2384 11.2594 21.926C10.5718 22.6137 9.63913 23 8.66667 23C7.69421 23 6.76158 22.6137 6.07394 21.926C5.38631 21.2384 5 20.3058 5 19.3333V19.3333Z"
fill="#0ACF83"
/>
<path
d="M12.3333 1V8.33333H16C16.9724 8.33333 17.9051 7.94703 18.5927 7.25939C19.2803 6.57176 19.6666 5.63913 19.6666 4.66667C19.6666 3.69421 19.2803 2.76158 18.5927 2.07394C17.9051 1.38631 16.9724 1 16 1L12.3333 1Z"
fill="#FF7262"
/>
<path
d="M5 4.66667C5 5.63913 5.38631 6.57176 6.07394 7.25939C6.76158 7.94703 7.69421 8.33333 8.66667 8.33333H12.3333V1H8.66667C7.69421 1 6.76158 1.38631 6.07394 2.07394C5.38631 2.76158 5 3.69421 5 4.66667V4.66667Z"
fill="#F24E1E"
/>
<path
d="M5 12C5 12.9725 5.38631 13.9051 6.07394 14.5927C6.76158 15.2804 7.69421 15.6667 8.66667 15.6667H12.3333V8.33334H8.66667C7.69421 8.33334 6.76158 8.71965 6.07394 9.40729C5.38631 10.0949 5 11.0275 5 12V12Z"
fill="#A259FF"
/>
</svg>
</DocumentFragment>
Expand Down
Loading

0 comments on commit 9d2651b

Please sign in to comment.