@patternfly/react-templates 6.5.0-prerelease.9 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +284 -0
- package/components/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/esm/components/Select/MultiTypeaheadSelect.js +2 -2
- package/dist/esm/components/Select/MultiTypeaheadSelect.js.map +1 -1
- package/dist/esm/components/Select/TypeaheadSelect.d.ts.map +1 -1
- package/dist/esm/components/Select/TypeaheadSelect.js +13 -7
- package/dist/esm/components/Select/TypeaheadSelect.js.map +1 -1
- package/dist/js/components/Select/MultiTypeaheadSelect.js +2 -2
- package/dist/js/components/Select/MultiTypeaheadSelect.js.map +1 -1
- package/dist/js/components/Select/TypeaheadSelect.d.ts.map +1 -1
- package/dist/js/components/Select/TypeaheadSelect.js +13 -7
- package/dist/js/components/Select/TypeaheadSelect.js.map +1 -1
- package/dist/umd/assets/{output-DVnGogGH.css → output-C-4RSG3A.css} +2208 -2059
- package/dist/umd/react-templates.min.js +1 -1
- package/package.json +6 -6
- package/src/components/Dropdown/__tests__/__snapshots__/SimpleDropdown.test.tsx.snap +34 -10
- package/src/components/Select/MultiTypeaheadSelect.tsx +2 -2
- package/src/components/Select/TypeaheadSelect.tsx +19 -7
- package/src/components/Select/__tests__/__snapshots__/CheckboxSelectSnapshots.test.tsx.snap +34 -10
- package/src/components/Select/__tests__/__snapshots__/MultiTypeaheadSelect.test.tsx.snap +20 -8
- package/src/components/Select/__tests__/__snapshots__/SimpleSelect.test.tsx.snap +34 -10
- package/src/components/Select/__tests__/__snapshots__/TypeaheadSelect.test.tsx.snap +20 -8
|
@@ -5,7 +5,7 @@ exports[`Dropdown items Matches snapshot 1`] = `
|
|
|
5
5
|
<button
|
|
6
6
|
aria-expanded="true"
|
|
7
7
|
class="pf-v6-c-menu-toggle pf-m-expanded"
|
|
8
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle-default
|
|
8
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-default-:r4j:"
|
|
9
9
|
data-ouia-component-type="PF6/MenuToggle"
|
|
10
10
|
data-ouia-safe="true"
|
|
11
11
|
type="button"
|
|
@@ -27,12 +27,24 @@ exports[`Dropdown items Matches snapshot 1`] = `
|
|
|
27
27
|
fill="currentColor"
|
|
28
28
|
height="1em"
|
|
29
29
|
role="img"
|
|
30
|
-
viewBox="0 0 320 512"
|
|
31
30
|
width="1em"
|
|
32
31
|
>
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
<svg
|
|
33
|
+
class="pf-v6-icon-default"
|
|
34
|
+
viewBox="0 0 320 512"
|
|
35
|
+
>
|
|
36
|
+
<path
|
|
37
|
+
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"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
<svg
|
|
41
|
+
class="pf-v6-icon-rh-ui"
|
|
42
|
+
viewBox="0 0 32 32"
|
|
43
|
+
>
|
|
44
|
+
<path
|
|
45
|
+
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"
|
|
46
|
+
/>
|
|
47
|
+
</svg>
|
|
36
48
|
</svg>
|
|
37
49
|
</span>
|
|
38
50
|
</span>
|
|
@@ -45,7 +57,7 @@ exports[`Dropdown toggle Matches snapshot 1`] = `
|
|
|
45
57
|
<button
|
|
46
58
|
aria-expanded="false"
|
|
47
59
|
class="pf-v6-c-menu-toggle"
|
|
48
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle-default
|
|
60
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-default-:r2d:"
|
|
49
61
|
data-ouia-component-type="PF6/MenuToggle"
|
|
50
62
|
data-ouia-safe="true"
|
|
51
63
|
type="button"
|
|
@@ -67,12 +79,24 @@ exports[`Dropdown toggle Matches snapshot 1`] = `
|
|
|
67
79
|
fill="currentColor"
|
|
68
80
|
height="1em"
|
|
69
81
|
role="img"
|
|
70
|
-
viewBox="0 0 320 512"
|
|
71
82
|
width="1em"
|
|
72
83
|
>
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
84
|
+
<svg
|
|
85
|
+
class="pf-v6-icon-default"
|
|
86
|
+
viewBox="0 0 320 512"
|
|
87
|
+
>
|
|
88
|
+
<path
|
|
89
|
+
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"
|
|
90
|
+
/>
|
|
91
|
+
</svg>
|
|
92
|
+
<svg
|
|
93
|
+
class="pf-v6-icon-rh-ui"
|
|
94
|
+
viewBox="0 0 32 32"
|
|
95
|
+
>
|
|
96
|
+
<path
|
|
97
|
+
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"
|
|
98
|
+
/>
|
|
99
|
+
</svg>
|
|
76
100
|
</svg>
|
|
77
101
|
</span>
|
|
78
102
|
</span>
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
TextInputGroupMain,
|
|
26
26
|
TextInputGroupUtilities
|
|
27
27
|
} from '@patternfly/react-core/dist/esm/components/TextInputGroup';
|
|
28
|
-
import
|
|
28
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
29
29
|
|
|
30
30
|
export interface MultiTypeaheadSelectOption extends Omit<SelectOptionProps, 'content'> {
|
|
31
31
|
/** Content of the select option. */
|
|
@@ -333,7 +333,7 @@ export const MultiTypeaheadSelectBase: FunctionComponent<MultiTypeaheadSelectPro
|
|
|
333
333
|
</TextInputGroupMain>
|
|
334
334
|
<TextInputGroupUtilities {...(selected.length === 0 ? { style: { display: 'none' } } : {})}>
|
|
335
335
|
<Button variant="plain" onClick={onClearButtonClick} aria-label="Clear input value">
|
|
336
|
-
<
|
|
336
|
+
<RhMicronsCloseIcon />
|
|
337
337
|
</Button>
|
|
338
338
|
</TextInputGroupUtilities>
|
|
339
339
|
</TextInputGroup>
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
TextInputGroupMain,
|
|
25
25
|
TextInputGroupUtilities
|
|
26
26
|
} from '@patternfly/react-core/dist/esm/components/TextInputGroup';
|
|
27
|
-
import
|
|
27
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
28
28
|
|
|
29
29
|
export interface TypeaheadSelectOption extends Omit<SelectOptionProps, 'content'> {
|
|
30
30
|
/** Content of the select option. */
|
|
@@ -195,13 +195,20 @@ export const TypeaheadSelectBase: FunctionComponent<TypeaheadSelectProps> = ({
|
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
197
|
|
|
198
|
-
const closeMenu = () => {
|
|
198
|
+
const closeMenu = (shouldRestoreInput = true) => {
|
|
199
199
|
onToggle && onToggle(false);
|
|
200
200
|
setIsOpen(false);
|
|
201
201
|
resetActiveAndFocusedItem();
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
|
|
203
|
+
// Only restore input value when user cancels (doesn't select)
|
|
204
|
+
// Don't restore when explicitly selecting an option (handled by selectOption)
|
|
205
|
+
if (shouldRestoreInput) {
|
|
206
|
+
const option = initialOptions.find((o) => o.value === selected);
|
|
207
|
+
if (option) {
|
|
208
|
+
setInputValue(String(option.content));
|
|
209
|
+
}
|
|
210
|
+
// Clear filter when closing without selecting to show all options on next open
|
|
211
|
+
setFilterValue('');
|
|
205
212
|
}
|
|
206
213
|
};
|
|
207
214
|
|
|
@@ -223,7 +230,7 @@ export const TypeaheadSelectBase: FunctionComponent<TypeaheadSelectProps> = ({
|
|
|
223
230
|
setFilterValue('');
|
|
224
231
|
setSelected(String(option.value));
|
|
225
232
|
|
|
226
|
-
closeMenu();
|
|
233
|
+
closeMenu(false); // Don't restore - we just set the correct value above
|
|
227
234
|
};
|
|
228
235
|
|
|
229
236
|
const _onSelect = (_event: ReactMouseEvent<Element, MouseEvent> | undefined, value: string | number | undefined) => {
|
|
@@ -364,7 +371,12 @@ export const TypeaheadSelectBase: FunctionComponent<TypeaheadSelectProps> = ({
|
|
|
364
371
|
/>
|
|
365
372
|
|
|
366
373
|
<TextInputGroupUtilities {...(!inputValue ? { style: { display: 'none' } } : {})}>
|
|
367
|
-
<Button
|
|
374
|
+
<Button
|
|
375
|
+
variant="plain"
|
|
376
|
+
onClick={onClearButtonClick}
|
|
377
|
+
aria-label="Clear input value"
|
|
378
|
+
icon={<RhMicronsCloseIcon />}
|
|
379
|
+
/>
|
|
368
380
|
</TextInputGroupUtilities>
|
|
369
381
|
</TextInputGroup>
|
|
370
382
|
</MenuToggle>
|
|
@@ -5,7 +5,7 @@ exports[`checkbox select with no props snapshot 1`] = `
|
|
|
5
5
|
<button
|
|
6
6
|
aria-expanded="false"
|
|
7
7
|
class="pf-v6-c-menu-toggle"
|
|
8
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle
|
|
8
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r2:"
|
|
9
9
|
data-ouia-component-type="PF6/MenuToggle"
|
|
10
10
|
data-ouia-safe="true"
|
|
11
11
|
style="width: 200px;"
|
|
@@ -28,12 +28,24 @@ exports[`checkbox select with no props snapshot 1`] = `
|
|
|
28
28
|
fill="currentColor"
|
|
29
29
|
height="1em"
|
|
30
30
|
role="img"
|
|
31
|
-
viewBox="0 0 320 512"
|
|
32
31
|
width="1em"
|
|
33
32
|
>
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
<svg
|
|
34
|
+
class="pf-v6-icon-default"
|
|
35
|
+
viewBox="0 0 320 512"
|
|
36
|
+
>
|
|
37
|
+
<path
|
|
38
|
+
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"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
|
41
|
+
<svg
|
|
42
|
+
class="pf-v6-icon-rh-ui"
|
|
43
|
+
viewBox="0 0 32 32"
|
|
44
|
+
>
|
|
45
|
+
<path
|
|
46
|
+
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"
|
|
47
|
+
/>
|
|
48
|
+
</svg>
|
|
37
49
|
</svg>
|
|
38
50
|
</span>
|
|
39
51
|
</span>
|
|
@@ -46,7 +58,7 @@ exports[`opened checkbox select snapshot 1`] = `
|
|
|
46
58
|
<button
|
|
47
59
|
aria-expanded="true"
|
|
48
60
|
class="pf-v6-c-menu-toggle pf-m-expanded"
|
|
49
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle
|
|
61
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r5:"
|
|
50
62
|
data-ouia-component-type="PF6/MenuToggle"
|
|
51
63
|
data-ouia-safe="true"
|
|
52
64
|
style="width: 200px;"
|
|
@@ -69,12 +81,24 @@ exports[`opened checkbox select snapshot 1`] = `
|
|
|
69
81
|
fill="currentColor"
|
|
70
82
|
height="1em"
|
|
71
83
|
role="img"
|
|
72
|
-
viewBox="0 0 320 512"
|
|
73
84
|
width="1em"
|
|
74
85
|
>
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
<svg
|
|
87
|
+
class="pf-v6-icon-default"
|
|
88
|
+
viewBox="0 0 320 512"
|
|
89
|
+
>
|
|
90
|
+
<path
|
|
91
|
+
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"
|
|
92
|
+
/>
|
|
93
|
+
</svg>
|
|
94
|
+
<svg
|
|
95
|
+
class="pf-v6-icon-rh-ui"
|
|
96
|
+
viewBox="0 0 32 32"
|
|
97
|
+
>
|
|
98
|
+
<path
|
|
99
|
+
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"
|
|
100
|
+
/>
|
|
101
|
+
</svg>
|
|
78
102
|
</svg>
|
|
79
103
|
</span>
|
|
80
104
|
</span>
|
|
@@ -34,7 +34,7 @@ exports[`MultiTypeaheadSelect Matches snapshot 1`] = `
|
|
|
34
34
|
<button
|
|
35
35
|
aria-label="Clear input value"
|
|
36
36
|
class="pf-v6-c-button pf-m-plain"
|
|
37
|
-
data-ouia-component-id="OUIA-Generated-Button-plain
|
|
37
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-:r4u:"
|
|
38
38
|
data-ouia-component-type="PF6/Button"
|
|
39
39
|
data-ouia-safe="true"
|
|
40
40
|
type="button"
|
|
@@ -48,11 +48,11 @@ exports[`MultiTypeaheadSelect Matches snapshot 1`] = `
|
|
|
48
48
|
fill="currentColor"
|
|
49
49
|
height="1em"
|
|
50
50
|
role="img"
|
|
51
|
-
viewBox="0 0
|
|
51
|
+
viewBox="0 0 20 20"
|
|
52
52
|
width="1em"
|
|
53
53
|
>
|
|
54
54
|
<path
|
|
55
|
-
d="
|
|
55
|
+
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"
|
|
56
56
|
/>
|
|
57
57
|
</svg>
|
|
58
58
|
</span>
|
|
@@ -63,7 +63,7 @@ exports[`MultiTypeaheadSelect Matches snapshot 1`] = `
|
|
|
63
63
|
aria-expanded="true"
|
|
64
64
|
aria-label="Multi select Typeahead menu toggle"
|
|
65
65
|
class="pf-v6-c-menu-toggle__button"
|
|
66
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle-typeahead
|
|
66
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-typeahead-:r4t:"
|
|
67
67
|
data-ouia-component-type="PF6/MenuToggle"
|
|
68
68
|
data-ouia-safe="true"
|
|
69
69
|
tabindex="-1"
|
|
@@ -81,12 +81,24 @@ exports[`MultiTypeaheadSelect Matches snapshot 1`] = `
|
|
|
81
81
|
fill="currentColor"
|
|
82
82
|
height="1em"
|
|
83
83
|
role="img"
|
|
84
|
-
viewBox="0 0 320 512"
|
|
85
84
|
width="1em"
|
|
86
85
|
>
|
|
87
|
-
<
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
<svg
|
|
87
|
+
class="pf-v6-icon-default"
|
|
88
|
+
viewBox="0 0 320 512"
|
|
89
|
+
>
|
|
90
|
+
<path
|
|
91
|
+
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"
|
|
92
|
+
/>
|
|
93
|
+
</svg>
|
|
94
|
+
<svg
|
|
95
|
+
class="pf-v6-icon-rh-ui"
|
|
96
|
+
viewBox="0 0 32 32"
|
|
97
|
+
>
|
|
98
|
+
<path
|
|
99
|
+
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"
|
|
100
|
+
/>
|
|
101
|
+
</svg>
|
|
90
102
|
</svg>
|
|
91
103
|
</span>
|
|
92
104
|
</span>
|
|
@@ -5,7 +5,7 @@ exports[`Matches snapshot 1`] = `
|
|
|
5
5
|
<button
|
|
6
6
|
aria-expanded="true"
|
|
7
7
|
class="pf-v6-c-menu-toggle pf-m-expanded"
|
|
8
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle
|
|
8
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r22:"
|
|
9
9
|
data-ouia-component-type="PF6/MenuToggle"
|
|
10
10
|
data-ouia-safe="true"
|
|
11
11
|
style="width: 200px;"
|
|
@@ -28,12 +28,24 @@ exports[`Matches snapshot 1`] = `
|
|
|
28
28
|
fill="currentColor"
|
|
29
29
|
height="1em"
|
|
30
30
|
role="img"
|
|
31
|
-
viewBox="0 0 320 512"
|
|
32
31
|
width="1em"
|
|
33
32
|
>
|
|
34
|
-
<
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
<svg
|
|
34
|
+
class="pf-v6-icon-default"
|
|
35
|
+
viewBox="0 0 320 512"
|
|
36
|
+
>
|
|
37
|
+
<path
|
|
38
|
+
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"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
|
41
|
+
<svg
|
|
42
|
+
class="pf-v6-icon-rh-ui"
|
|
43
|
+
viewBox="0 0 32 32"
|
|
44
|
+
>
|
|
45
|
+
<path
|
|
46
|
+
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"
|
|
47
|
+
/>
|
|
48
|
+
</svg>
|
|
37
49
|
</svg>
|
|
38
50
|
</span>
|
|
39
51
|
</span>
|
|
@@ -46,7 +58,7 @@ exports[`checkbox select with no props snapshot 1`] = `
|
|
|
46
58
|
<button
|
|
47
59
|
aria-expanded="false"
|
|
48
60
|
class="pf-v6-c-menu-toggle"
|
|
49
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle
|
|
61
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r1v:"
|
|
50
62
|
data-ouia-component-type="PF6/MenuToggle"
|
|
51
63
|
data-ouia-safe="true"
|
|
52
64
|
style="width: 200px;"
|
|
@@ -69,12 +81,24 @@ exports[`checkbox select with no props snapshot 1`] = `
|
|
|
69
81
|
fill="currentColor"
|
|
70
82
|
height="1em"
|
|
71
83
|
role="img"
|
|
72
|
-
viewBox="0 0 320 512"
|
|
73
84
|
width="1em"
|
|
74
85
|
>
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
<svg
|
|
87
|
+
class="pf-v6-icon-default"
|
|
88
|
+
viewBox="0 0 320 512"
|
|
89
|
+
>
|
|
90
|
+
<path
|
|
91
|
+
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"
|
|
92
|
+
/>
|
|
93
|
+
</svg>
|
|
94
|
+
<svg
|
|
95
|
+
class="pf-v6-icon-rh-ui"
|
|
96
|
+
viewBox="0 0 32 32"
|
|
97
|
+
>
|
|
98
|
+
<path
|
|
99
|
+
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"
|
|
100
|
+
/>
|
|
101
|
+
</svg>
|
|
78
102
|
</svg>
|
|
79
103
|
</span>
|
|
80
104
|
</span>
|
|
@@ -34,7 +34,7 @@ exports[`Matches snapshot 1`] = `
|
|
|
34
34
|
<button
|
|
35
35
|
aria-label="Clear input value"
|
|
36
36
|
class="pf-v6-c-button pf-m-plain"
|
|
37
|
-
data-ouia-component-id="OUIA-Generated-Button-plain
|
|
37
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-:r4i:"
|
|
38
38
|
data-ouia-component-type="PF6/Button"
|
|
39
39
|
data-ouia-safe="true"
|
|
40
40
|
type="button"
|
|
@@ -48,11 +48,11 @@ exports[`Matches snapshot 1`] = `
|
|
|
48
48
|
fill="currentColor"
|
|
49
49
|
height="1em"
|
|
50
50
|
role="img"
|
|
51
|
-
viewBox="0 0
|
|
51
|
+
viewBox="0 0 20 20"
|
|
52
52
|
width="1em"
|
|
53
53
|
>
|
|
54
54
|
<path
|
|
55
|
-
d="
|
|
55
|
+
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"
|
|
56
56
|
/>
|
|
57
57
|
</svg>
|
|
58
58
|
</span>
|
|
@@ -63,7 +63,7 @@ exports[`Matches snapshot 1`] = `
|
|
|
63
63
|
aria-expanded="true"
|
|
64
64
|
aria-label="Typeahead menu toggle"
|
|
65
65
|
class="pf-v6-c-menu-toggle__button"
|
|
66
|
-
data-ouia-component-id="OUIA-Generated-MenuToggle-typeahead
|
|
66
|
+
data-ouia-component-id="OUIA-Generated-MenuToggle-typeahead-:r4h:"
|
|
67
67
|
data-ouia-component-type="PF6/MenuToggle"
|
|
68
68
|
data-ouia-safe="true"
|
|
69
69
|
tabindex="-1"
|
|
@@ -81,12 +81,24 @@ exports[`Matches snapshot 1`] = `
|
|
|
81
81
|
fill="currentColor"
|
|
82
82
|
height="1em"
|
|
83
83
|
role="img"
|
|
84
|
-
viewBox="0 0 320 512"
|
|
85
84
|
width="1em"
|
|
86
85
|
>
|
|
87
|
-
<
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
<svg
|
|
87
|
+
class="pf-v6-icon-default"
|
|
88
|
+
viewBox="0 0 320 512"
|
|
89
|
+
>
|
|
90
|
+
<path
|
|
91
|
+
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"
|
|
92
|
+
/>
|
|
93
|
+
</svg>
|
|
94
|
+
<svg
|
|
95
|
+
class="pf-v6-icon-rh-ui"
|
|
96
|
+
viewBox="0 0 32 32"
|
|
97
|
+
>
|
|
98
|
+
<path
|
|
99
|
+
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"
|
|
100
|
+
/>
|
|
101
|
+
</svg>
|
|
90
102
|
</svg>
|
|
91
103
|
</span>
|
|
92
104
|
</span>
|