Skip to content

Commit 3263f8d

Browse files
committed
update snapshots
1 parent 25e195d commit 3263f8d

8 files changed

Lines changed: 449 additions & 185 deletions

File tree

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

Lines changed: 38 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
77
data-ouia-component-id="DataViewToolbar"
88
data-ouia-component-type="PF6/Toolbar"
99
data-ouia-safe="true"
10-
id="pf-random-id-0"
10+
id="pf-random-id-:r0:"
1111
>
1212
<div
1313
class="pf-v6-c-toolbar__content"
@@ -40,12 +40,24 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
4040
fill="currentColor"
4141
height="1em"
4242
role="img"
43-
viewBox="0 0 512 512"
4443
width="1em"
4544
>
46-
<path
47-
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
48-
/>
45+
<svg
46+
class="pf-v6-icon-default"
47+
viewBox="0 0 512 512"
48+
>
49+
<path
50+
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
51+
/>
52+
</svg>
53+
<svg
54+
class="pf-v6-icon-rh-ui"
55+
viewBox="0 0 32 32"
56+
>
57+
<path
58+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5V7c0 .265.105.52.293.707L12 17.414V30a1 1 0 0 0 1.316.949l6-2A1 1 0 0 0 20 28V17.414l9.707-9.707A1 1 0 0 0 30 7V3.5c0-.827-.673-1.5-1.5-1.5ZM28 6.586l-9.707 9.707A1 1 0 0 0 18 17v10.279l-4 1.333V16.999a.997.997 0 0 0-.293-.707L4 6.586V4h24v2.586Z"
59+
/>
60+
</svg>
4961
</svg>
5062
</span>
5163
<span
@@ -75,12 +87,24 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
7587
fill="currentColor"
7688
height="1em"
7789
role="img"
78-
viewBox="0 0 320 512"
7990
width="1em"
8091
>
81-
<path
82-
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"
83-
/>
92+
<svg
93+
class="pf-v6-icon-default"
94+
viewBox="0 0 320 512"
95+
>
96+
<path
97+
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"
98+
/>
99+
</svg>
100+
<svg
101+
class="pf-v6-icon-rh-ui"
102+
viewBox="0 0 32 32"
103+
>
104+
<path
105+
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
106+
/>
107+
</svg>
84108
</svg>
85109
</span>
86110
</span>
@@ -107,12 +131,12 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
107131
<span
108132
aria-hidden="true"
109133
class="pf-v6-c-label-group__label"
110-
id="pf-random-id-1"
134+
id="pf-random-id-:r7:"
111135
>
112136
Test Checkbox Filter
113137
</span>
114138
<ul
115-
aria-labelledby="pf-random-id-1"
139+
aria-labelledby="pf-random-id-:r7:"
116140
class="pf-v6-c-label-group__list"
117141
role="list"
118142
>
@@ -137,7 +161,7 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
137161
<button
138162
aria-label="Close Workspace one"
139163
class="pf-v6-c-button pf-m-plain pf-m-no-padding"
140-
data-ouia-component-id="OUIA-Generated-Button-plain-1"
164+
data-ouia-component-id="OUIA-Generated-Button-plain-:r8:"
141165
data-ouia-component-type="PF6/Button"
142166
data-ouia-safe="true"
143167
type="button"
@@ -151,11 +175,11 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
151175
fill="currentColor"
152176
height="1em"
153177
role="img"
154-
viewBox="0 0 352 512"
178+
viewBox="0 0 20 20"
155179
width="1em"
156180
>
157181
<path
158-
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
182+
d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
159183
/>
160184
</svg>
161185
</span>

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

Lines changed: 67 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`DataViewFilters component should render correctly 1`] = `
77
data-ouia-component-id="DataViewToolbar"
88
data-ouia-component-type="PF6/Toolbar"
99
data-ouia-safe="true"
10-
id="pf-random-id-0"
10+
id="pf-random-id-:r0:"
1111
>
1212
<div
1313
class="pf-v6-c-toolbar__content"
@@ -29,7 +29,7 @@ exports[`DataViewFilters component should render correctly 1`] = `
2929
aria-haspopup="false"
3030
aria-label="Show Filters"
3131
class="pf-v6-c-button pf-m-plain"
32-
data-ouia-component-id="OUIA-Generated-Button-plain-1"
32+
data-ouia-component-id="OUIA-Generated-Button-plain-:r2:"
3333
data-ouia-component-type="PF6/Button"
3434
data-ouia-safe="true"
3535
type="button"
@@ -43,12 +43,24 @@ exports[`DataViewFilters component should render correctly 1`] = `
4343
fill="currentColor"
4444
height="1em"
4545
role="img"
46-
viewBox="0 0 512 512"
4746
width="1em"
4847
>
49-
<path
50-
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
51-
/>
48+
<svg
49+
class="pf-v6-icon-default"
50+
viewBox="0 0 512 512"
51+
>
52+
<path
53+
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
54+
/>
55+
</svg>
56+
<svg
57+
class="pf-v6-icon-rh-ui"
58+
viewBox="0 0 32 32"
59+
>
60+
<path
61+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5V7c0 .265.105.52.293.707L12 17.414V30a1 1 0 0 0 1.316.949l6-2A1 1 0 0 0 20 28V17.414l9.707-9.707A1 1 0 0 0 30 7V3.5c0-.827-.673-1.5-1.5-1.5ZM28 6.586l-9.707 9.707A1 1 0 0 0 18 17v10.279l-4 1.333V16.999a.997.997 0 0 0-.293-.707L4 6.586V4h24v2.586Z"
62+
/>
63+
</svg>
5264
</svg>
5365
</span>
5466
</button>
@@ -60,7 +72,7 @@ exports[`DataViewFilters component should render correctly 1`] = `
6072
<button
6173
aria-expanded="false"
6274
class="pf-v6-c-menu-toggle"
63-
data-ouia-component-id="OUIA-Generated-MenuToggle-1"
75+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r4:"
6476
data-ouia-component-type="PF6/MenuToggle"
6577
data-ouia-safe="true"
6678
type="button"
@@ -74,12 +86,24 @@ exports[`DataViewFilters component should render correctly 1`] = `
7486
fill="currentColor"
7587
height="1em"
7688
role="img"
77-
viewBox="0 0 512 512"
7889
width="1em"
7990
>
80-
<path
81-
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
82-
/>
91+
<svg
92+
class="pf-v6-icon-default"
93+
viewBox="0 0 512 512"
94+
>
95+
<path
96+
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
97+
/>
98+
</svg>
99+
<svg
100+
class="pf-v6-icon-rh-ui"
101+
viewBox="0 0 32 32"
102+
>
103+
<path
104+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5V7c0 .265.105.52.293.707L12 17.414V30a1 1 0 0 0 1.316.949l6-2A1 1 0 0 0 20 28V17.414l9.707-9.707A1 1 0 0 0 30 7V3.5c0-.827-.673-1.5-1.5-1.5ZM28 6.586l-9.707 9.707A1 1 0 0 0 18 17v10.279l-4 1.333V16.999a.997.997 0 0 0-.293-.707L4 6.586V4h24v2.586Z"
105+
/>
106+
</svg>
83107
</svg>
84108
</span>
85109
<span
@@ -99,12 +123,24 @@ exports[`DataViewFilters component should render correctly 1`] = `
99123
fill="currentColor"
100124
height="1em"
101125
role="img"
102-
viewBox="0 0 320 512"
103126
width="1em"
104127
>
105-
<path
106-
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"
107-
/>
128+
<svg
129+
class="pf-v6-icon-default"
130+
viewBox="0 0 320 512"
131+
>
132+
<path
133+
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"
134+
/>
135+
</svg>
136+
<svg
137+
class="pf-v6-icon-rh-ui"
138+
viewBox="0 0 32 32"
139+
>
140+
<path
141+
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
142+
/>
143+
</svg>
108144
</svg>
109145
</span>
110146
</span>
@@ -133,12 +169,24 @@ exports[`DataViewFilters component should render correctly 1`] = `
133169
fill="currentColor"
134170
height="1em"
135171
role="img"
136-
viewBox="0 0 512 512"
137172
width="1em"
138173
>
139-
<path
140-
d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"
141-
/>
174+
<svg
175+
class="pf-v6-icon-default"
176+
viewBox="0 0 512 512"
177+
>
178+
<path
179+
d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"
180+
/>
181+
</svg>
182+
<svg
183+
class="pf-v6-icon-rh-ui"
184+
viewBox="0 0 32 32"
185+
>
186+
<path
187+
d="m30.796 29.205-8.557-8.557A11.945 11.945 0 0 0 25 13c0-6.617-5.383-12-12-12S1 6.383 1 13s5.383 12 12 12c2.904 0 5.57-1.038 7.648-2.761l8.556 8.556a1.122 1.122 0 0 0 1.592 0 1.127 1.127 0 0 0 0-1.591ZM3 13C3 7.486 7.486 3 13 3s10 4.486 10 10-4.486 10-10 10S3 18.514 3 13Z"
188+
/>
189+
</svg>
142190
</svg>
143191
</span>
144192
<input

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
414414
aria-expanded="false"
415415
aria-label="Expand row 0"
416416
class="pf-v6-c-button pf-m-plain"
417-
data-ouia-component-id="OUIA-Generated-Button-plain-1"
417+
data-ouia-component-id="OUIA-Generated-Button-plain-:rb:"
418418
data-ouia-component-type="PF6/Button"
419419
data-ouia-safe="true"
420420
tabindex="0"
@@ -432,11 +432,11 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
432432
fill="currentColor"
433433
height="1em"
434434
role="img"
435-
viewBox="0 0 320 512"
435+
viewBox="0 0 20 20"
436436
width="1em"
437437
>
438438
<path
439-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
439+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
440440
/>
441441
</svg>
442442
</div>
@@ -459,7 +459,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
459459
aria-expanded="false"
460460
aria-label="Show row details"
461461
class="pf-v6-c-button pf-m-plain"
462-
data-ouia-component-id="OUIA-Generated-Button-plain-2"
462+
data-ouia-component-id="OUIA-Generated-Button-plain-:rc:"
463463
data-ouia-component-type="PF6/Button"
464464
data-ouia-safe="true"
465465
tabindex="-1"
@@ -554,7 +554,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
554554
aria-expanded="false"
555555
aria-label="Show row details"
556556
class="pf-v6-c-button pf-m-plain"
557-
data-ouia-component-id="OUIA-Generated-Button-plain-3"
557+
data-ouia-component-id="OUIA-Generated-Button-plain-:re:"
558558
data-ouia-component-type="PF6/Button"
559559
data-ouia-safe="true"
560560
tabindex="-1"
@@ -649,7 +649,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
649649
aria-expanded="false"
650650
aria-label="Show row details"
651651
class="pf-v6-c-button pf-m-plain"
652-
data-ouia-component-id="OUIA-Generated-Button-plain-4"
652+
data-ouia-component-id="OUIA-Generated-Button-plain-:rg:"
653653
data-ouia-component-type="PF6/Button"
654654
data-ouia-safe="true"
655655
tabindex="-1"
@@ -734,7 +734,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
734734
aria-expanded="false"
735735
aria-label="Expand row 3"
736736
class="pf-v6-c-button pf-m-plain"
737-
data-ouia-component-id="OUIA-Generated-Button-plain-5"
737+
data-ouia-component-id="OUIA-Generated-Button-plain-:ri:"
738738
data-ouia-component-type="PF6/Button"
739739
data-ouia-safe="true"
740740
tabindex="-1"
@@ -752,11 +752,11 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
752752
fill="currentColor"
753753
height="1em"
754754
role="img"
755-
viewBox="0 0 320 512"
755+
viewBox="0 0 20 20"
756756
width="1em"
757757
>
758758
<path
759-
d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"
759+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
760760
/>
761761
</svg>
762762
</div>
@@ -779,7 +779,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
779779
aria-expanded="false"
780780
aria-label="Show row details"
781781
class="pf-v6-c-button pf-m-plain"
782-
data-ouia-component-id="OUIA-Generated-Button-plain-6"
782+
data-ouia-component-id="OUIA-Generated-Button-plain-:rj:"
783783
data-ouia-component-type="PF6/Button"
784784
data-ouia-safe="true"
785785
tabindex="-1"
@@ -874,7 +874,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
874874
aria-expanded="false"
875875
aria-label="Show row details"
876876
class="pf-v6-c-button pf-m-plain"
877-
data-ouia-component-id="OUIA-Generated-Button-plain-7"
877+
data-ouia-component-id="OUIA-Generated-Button-plain-:rl:"
878878
data-ouia-component-type="PF6/Button"
879879
data-ouia-safe="true"
880880
tabindex="-1"
@@ -968,7 +968,7 @@ exports[`DataViewTable component should render a tree table correctly 1`] = `
968968
aria-expanded="false"
969969
aria-label="Show row details"
970970
class="pf-v6-c-button pf-m-plain"
971-
data-ouia-component-id="OUIA-Generated-Button-plain-8"
971+
data-ouia-component-id="OUIA-Generated-Button-plain-:rn:"
972972
data-ouia-component-type="PF6/Button"
973973
data-ouia-safe="true"
974974
tabindex="-1"

0 commit comments

Comments
 (0)