Skip to content

Commit 4c9cf03

Browse files
committed
chore: Update jest snapshots
``` SH npx jest packages -u ```
1 parent 6e1a4c6 commit 4c9cf03

14 files changed

Lines changed: 1063 additions & 343 deletions

File tree

packages/module/src/BulkSelect/__snapshots__/BulkSelect.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ exports[`BulkSelect component should render 1`] = `
5454
fill="currentColor"
5555
height="1em"
5656
role="img"
57-
viewBox="0 0 320 512"
57+
viewBox="0 0 20 20"
5858
width="1em"
5959
>
6060
<path
61-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
61+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
6262
/>
6363
</svg>
6464
</span>
@@ -117,11 +117,11 @@ exports[`BulkSelect component should render 1`] = `
117117
fill="currentColor"
118118
height="1em"
119119
role="img"
120-
viewBox="0 0 320 512"
120+
viewBox="0 0 20 20"
121121
width="1em"
122122
>
123123
<path
124-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
124+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
125125
/>
126126
</svg>
127127
</span>

packages/module/src/ExternalLinkButton/__snapshots__/ExternalLinkButton.test.tsx.snap

Lines changed: 64 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,29 @@ exports[`ExternalLinkButton component should accept IconProps 1`] = `
2222
fill="currentColor"
2323
height="1em"
2424
role="img"
25-
viewBox="0 0 512 512"
2625
width="1em"
2726
>
2827
<title
2928
id="icon-title-1"
3029
>
3130
(Opens in new tab)
3231
</title>
33-
<path
34-
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
35-
/>
32+
<svg
33+
class="pf-v6-icon-default"
34+
viewBox="0 0 512 512"
35+
>
36+
<path
37+
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
38+
/>
39+
</svg>
40+
<svg
41+
class="pf-v6-icon-rh-ui"
42+
viewBox="0 0 32 32"
43+
>
44+
<path
45+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5v25c0 .827.673 1.5 1.5 1.5h25c.827 0 1.5-.673 1.5-1.5v-25c0-.827-.673-1.5-1.5-1.5Zm-3.375 17a1.125 1.125 0 0 1-2.25 0v-8.284L11.796 21.795a1.122 1.122 0 0 1-1.592 0 1.127 1.127 0 0 1 0-1.591l11.08-11.08H13a1.125 1.125 0 0 1 0-2.25h10.5c.896 0 1.625.729 1.625 1.625v10.5Z"
46+
/>
47+
</svg>
3648
</svg>
3749
</span>
3850
</a>
@@ -56,17 +68,29 @@ exports[`ExternalLinkButton component should accept IconProps 1`] = `
5668
fill="currentColor"
5769
height="1em"
5870
role="img"
59-
viewBox="0 0 512 512"
6071
width="1em"
6172
>
6273
<title
6374
id="icon-title-1"
6475
>
6576
(Opens in new tab)
6677
</title>
67-
<path
68-
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
69-
/>
78+
<svg
79+
class="pf-v6-icon-default"
80+
viewBox="0 0 512 512"
81+
>
82+
<path
83+
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
84+
/>
85+
</svg>
86+
<svg
87+
class="pf-v6-icon-rh-ui"
88+
viewBox="0 0 32 32"
89+
>
90+
<path
91+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5v25c0 .827.673 1.5 1.5 1.5h25c.827 0 1.5-.673 1.5-1.5v-25c0-.827-.673-1.5-1.5-1.5Zm-3.375 17a1.125 1.125 0 0 1-2.25 0v-8.284L11.796 21.795a1.122 1.122 0 0 1-1.592 0 1.127 1.127 0 0 1 0-1.591l11.08-11.08H13a1.125 1.125 0 0 1 0-2.25h10.5c.896 0 1.625.729 1.625 1.625v10.5Z"
92+
/>
93+
</svg>
7094
</svg>
7195
</span>
7296
</a>
@@ -147,12 +171,24 @@ exports[`ExternalLinkButton component should render 1`] = `
147171
fill="currentColor"
148172
height="1em"
149173
role="img"
150-
viewBox="0 0 512 512"
151174
width="1em"
152175
>
153-
<path
154-
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
155-
/>
176+
<svg
177+
class="pf-v6-icon-default"
178+
viewBox="0 0 512 512"
179+
>
180+
<path
181+
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
182+
/>
183+
</svg>
184+
<svg
185+
class="pf-v6-icon-rh-ui"
186+
viewBox="0 0 32 32"
187+
>
188+
<path
189+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5v25c0 .827.673 1.5 1.5 1.5h25c.827 0 1.5-.673 1.5-1.5v-25c0-.827-.673-1.5-1.5-1.5Zm-3.375 17a1.125 1.125 0 0 1-2.25 0v-8.284L11.796 21.795a1.122 1.122 0 0 1-1.592 0 1.127 1.127 0 0 1 0-1.591l11.08-11.08H13a1.125 1.125 0 0 1 0-2.25h10.5c.896 0 1.625.729 1.625 1.625v10.5Z"
190+
/>
191+
</svg>
156192
</svg>
157193
</span>
158194
</a>
@@ -176,12 +212,24 @@ exports[`ExternalLinkButton component should render 1`] = `
176212
fill="currentColor"
177213
height="1em"
178214
role="img"
179-
viewBox="0 0 512 512"
180215
width="1em"
181216
>
182-
<path
183-
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
184-
/>
217+
<svg
218+
class="pf-v6-icon-default"
219+
viewBox="0 0 512 512"
220+
>
221+
<path
222+
d="M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"
223+
/>
224+
</svg>
225+
<svg
226+
class="pf-v6-icon-rh-ui"
227+
viewBox="0 0 32 32"
228+
>
229+
<path
230+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5v25c0 .827.673 1.5 1.5 1.5h25c.827 0 1.5-.673 1.5-1.5v-25c0-.827-.673-1.5-1.5-1.5Zm-3.375 17a1.125 1.125 0 0 1-2.25 0v-8.284L11.796 21.795a1.122 1.122 0 0 1-1.592 0 1.127 1.127 0 0 1 0-1.591l11.08-11.08H13a1.125 1.125 0 0 1 0-2.25h10.5c.896 0 1.625.729 1.625 1.625v10.5Z"
231+
/>
232+
</svg>
185233
</svg>
186234
</span>
187235
</a>

packages/module/src/LogSnippet/__snapshots__/LogSnippet.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ exports[`LogSnippet component should render LogSnippet component 1`] = `
2727
fill="currentColor"
2828
height="1em"
2929
role="img"
30-
viewBox="0 0 512 512"
30+
viewBox="0 0 32 32"
3131
width="1em"
3232
>
3333
<path
34-
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
34+
d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"
3535
/>
3636
</svg>
3737
</div>
@@ -96,11 +96,11 @@ exports[`LogSnippet component should render LogSnippet component 1`] = `
9696
fill="currentColor"
9797
height="1em"
9898
role="img"
99-
viewBox="0 0 512 512"
99+
viewBox="0 0 32 32"
100100
width="1em"
101101
>
102102
<path
103-
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
103+
d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"
104104
/>
105105
</svg>
106106
</div>

0 commit comments

Comments
 (0)