Skip to content

Commit e711111

Browse files
committed
reupdate snap from spike, move icon mapping to icons folder
1 parent bad43b5 commit e711111

File tree

67 files changed

+474
-437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+474
-437
lines changed

packages/react-code-editor/src/components/CodeEditor/__test__/__snapshots__/CodeEditor.test.tsx.snap

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,24 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
3939
fill="currentColor"
4040
height="1em"
4141
role="img"
42-
viewBox="0 0 448 512"
4342
width="1em"
4443
>
45-
<path
46-
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
47-
/>
44+
<svg
45+
class="pf-v6-icon-default"
46+
viewBox="0 0 448 512"
47+
>
48+
<path
49+
d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
50+
/>
51+
</svg>
52+
<svg
53+
class="pf-v6-icon-rh-ui"
54+
viewBox="0 0 32 32"
55+
>
56+
<path
57+
d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
58+
/>
59+
</svg>
4860
</svg>
4961
</span>
5062
</button>
@@ -69,12 +81,24 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
6981
fill="currentColor"
7082
height="1em"
7183
role="img"
72-
viewBox="0 0 512 512"
7384
width="1em"
7485
>
75-
<path
76-
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
77-
/>
86+
<svg
87+
class="pf-v6-icon-default"
88+
viewBox="0 0 512 512"
89+
>
90+
<path
91+
d="M296 384h-80c-13.3 0-24-10.7-24-24V192h-87.7c-17.8 0-26.7-21.5-14.1-34.1L242.3 5.7c7.5-7.5 19.8-7.5 27.3 0l152.2 152.2c12.6 12.6 3.7 34.1-14.1 34.1H320v168c0 13.3-10.7 24-24 24zm216-8v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h136v8c0 30.9 25.1 56 56 56h80c30.9 0 56-25.1 56-56v-8h136c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
92+
/>
93+
</svg>
94+
<svg
95+
class="pf-v6-icon-rh-ui"
96+
viewBox="0 0 32 32"
97+
>
98+
<path
99+
d="M30 29a1 1 0 0 1-1 1H3a1 1 0 1 1 0-2h26a1 1 0 0 1 1 1ZM7.707 12.707 15 5.414V24a1 1 0 1 0 2 0V5.414l7.293 7.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-8.646-8.647a1.5 1.5 0 0 0-2.121 0l-8.647 8.647a.999.999 0 1 0 1.414 1.414Z"
100+
/>
101+
</svg>
78102
</svg>
79103
</span>
80104
</button>
@@ -99,12 +123,24 @@ exports[`Matches snapshot with control buttons enabled 1`] = `
99123
fill="currentColor"
100124
height="1em"
101125
role="img"
102-
viewBox="0 0 512 512"
103126
width="1em"
104127
>
105-
<path
106-
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
107-
/>
128+
<svg
129+
class="pf-v6-icon-default"
130+
viewBox="0 0 512 512"
131+
>
132+
<path
133+
d="M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"
134+
/>
135+
</svg>
136+
<svg
137+
class="pf-v6-icon-rh-ui"
138+
viewBox="0 0 32 32"
139+
>
140+
<path
141+
d="M30 29a1 1 0 0 1-1 1H3a1 1 0 0 1 0-2h26a1 1 0 0 1 1 1Zm-15.061-4.646c.292.292.676.438 1.061.438s.768-.146 1.061-.438l8.646-8.646a.999.999 0 1 0-1.414-1.414L17 21.587V3a1 1 0 0 0-2 0v18.586l-7.293-7.293a.999.999 0 1 0-1.414 1.414l8.646 8.646Z"
142+
/>
143+
</svg>
108144
</svg>
109145
</span>
110146
</button>

packages/react-core/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ exports[`AboutModalBoxCloseButton Test 1`] = `
3333
/>
3434
</svg>
3535
<svg
36-
class="pf-v6-icon-unified"
36+
class="pf-v6-icon-rh-ui"
3737
viewBox="0 0 32 32"
3838
>
3939
<path
@@ -80,7 +80,7 @@ exports[`AboutModalBoxCloseButton Test close button aria label 1`] = `
8080
/>
8181
</svg>
8282
<svg
83-
class="pf-v6-icon-unified"
83+
class="pf-v6-icon-rh-ui"
8484
viewBox="0 0 32 32"
8585
>
8686
<path
@@ -127,7 +127,7 @@ exports[`AboutModalBoxCloseButton Test onclose 1`] = `
127127
/>
128128
</svg>
129129
<svg
130-
class="pf-v6-icon-unified"
130+
class="pf-v6-icon-rh-ui"
131131
viewBox="0 0 32 32"
132132
>
133133
<path

packages/react-core/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exports[`AlertActionCloseButton should match snapshot 1`] = `
3030
/>
3131
</svg>
3232
<svg
33-
class="pf-v6-icon-unified"
33+
class="pf-v6-icon-rh-ui"
3434
viewBox="0 0 32 32"
3535
>
3636
<path

packages/react-core/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exports[`AlertIcon should match snapshot (auto-generated) 1`] = `
2222
/>
2323
</svg>
2424
<svg
25-
class="pf-v6-icon-unified"
25+
class="pf-v6-icon-rh-ui"
2626
viewBox="0 0 32 32"
2727
>
2828
<path

packages/react-core/src/components/Alert/__tests__/__snapshots__/AlertActionCloseButton.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ exports[`Matches the snapshot 1`] = `
3939
/>
4040
</svg>
4141
<svg
42-
class="pf-v6-icon-unified"
42+
class="pf-v6-icon-rh-ui"
4343
viewBox="0 0 32 32"
4444
>
4545
<path

packages/react-core/src/components/BackToTop/__tests__/__snapshots__/BackToTop.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ exports[`Matches the snapshot 1`] = `
4242
/>
4343
</svg>
4444
<svg
45-
class="pf-v6-icon-unified"
45+
class="pf-v6-icon-rh-ui"
4646
viewBox="0 0 32 32"
4747
>
4848
<path

packages/react-core/src/components/Breadcrumb/__tests__/__snapshots__/Breadcrumb.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ exports[`Breadcrumb component should render breadcrumb with children 1`] = `
6464
/>
6565
</svg>
6666
<svg
67-
class="pf-v6-icon-unified"
67+
class="pf-v6-icon-rh-ui"
6868
viewBox="0 0 32 32"
6969
>
7070
<path

packages/react-core/src/components/Card/__tests__/__snapshots__/CardHeader.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`CardHeader onExpand adds the toggle button 1`] = `
5050
/>
5151
</svg>
5252
<svg
53-
class="pf-v6-icon-unified"
53+
class="pf-v6-icon-rh-ui"
5454
viewBox="0 0 32 32"
5555
>
5656
<path

packages/react-core/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ exports[`Matches snapshot 1`] = `
5656
/>
5757
</svg>
5858
<svg
59-
class="pf-v6-icon-unified"
59+
class="pf-v6-icon-rh-ui"
6060
viewBox="0 0 32 32"
6161
>
6262
<path

packages/react-core/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exports[`Matches snapshot 1`] = `
3434
/>
3535
</svg>
3636
<svg
37-
class="pf-v6-icon-unified"
37+
class="pf-v6-icon-rh-ui"
3838
viewBox="0 0 32 32"
3939
>
4040
<path

0 commit comments

Comments
 (0)