@patternfly/react-core 6.6.0-prerelease.2 → 6.6.0-prerelease.3
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 +4 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/Compass/package.json +1 -1
- package/dist/dynamic/components/Content/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hero/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
- package/dist/dynamic/deprecated/components/Tile/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/AnimationsProvider/AnimationsProvider/package.json +1 -1
- package/dist/dynamic/helpers/AnimationsProvider/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/SSRSafeIds/SSRSafeIds/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useSSRSafeId/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/styles/package.json +1 -1
- package/dist/esm/components/FormSelect/FormSelect.js +2 -2
- package/dist/esm/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggle.js +2 -2
- package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +2 -2
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/components/Wizard/WizardToggle.js +2 -2
- package/dist/esm/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/esm/deprecated/components/Wizard/WizardToggle.js +2 -2
- package/dist/esm/deprecated/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/js/components/FormSelect/FormSelect.js +2 -2
- package/dist/js/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggle.js +2 -2
- package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/js/components/SearchInput/SearchInput.js +2 -2
- package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/js/components/Wizard/WizardToggle.js +2 -2
- package/dist/js/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/js/deprecated/components/Wizard/WizardToggle.js +2 -2
- package/dist/js/deprecated/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/umd/assets/{output-B552jUrA.css → output-CAjTs_Ni.css} +18728 -18728
- package/dist/umd/react-core.min.js +1 -1
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
- package/src/components/Alert/__tests__/AlertToggleExpandButton.test.tsx +5 -6
- package/src/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +4 -16
- package/src/components/FormSelect/FormSelect.tsx +2 -2
- package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +36 -144
- package/src/components/Menu/examples/Menu.md +1 -1
- package/src/components/MenuToggle/MenuToggle.tsx +2 -2
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +32 -128
- package/src/components/Modal/examples/Modal.md +1 -1
- package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +4 -16
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +80 -320
- package/src/components/Panel/__tests__/__snapshots__/Panel.test.tsx.snap +6 -6
- package/src/components/SearchInput/SearchInput.tsx +2 -2
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +12 -48
- package/src/components/Wizard/WizardToggle.tsx +2 -2
- package/src/demos/CustomMenus/CustomMenus.md +1 -1
- package/src/deprecated/components/Modal/examples/Modal.md +1 -1
- package/src/deprecated/components/Wizard/WizardToggle.tsx +2 -2
- package/src/deprecated/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +4 -16
- package/src/deprecated/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +12 -48
package/helpers/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.6.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.6.0-prerelease.2","private":true}
|
package/layouts/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.6.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.6.0-prerelease.2","private":true}
|
package/next/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.6.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.6.0-prerelease.2","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "6.6.0-prerelease.
|
|
3
|
+
"version": "6.6.0-prerelease.3",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"react": "^17 || ^18 || ^19",
|
|
64
64
|
"react-dom": "^17 || ^18 || ^19"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "a8906a8638ff70479a09ec59ce02c12ff09341a6"
|
|
67
67
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { render, screen } from '@testing-library/react';
|
|
2
2
|
import userEvent from '@testing-library/user-event';
|
|
3
|
+
import '@testing-library/jest-dom';
|
|
3
4
|
|
|
4
5
|
import { AlertToggleExpandButton } from '../AlertToggleExpandButton';
|
|
5
6
|
import { AlertContext } from '../AlertContext';
|
|
@@ -11,14 +12,12 @@ jest.mock('@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon', (
|
|
|
11
12
|
|
|
12
13
|
test('Renders without children', () => {
|
|
13
14
|
render(
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
</AlertContext.Provider>
|
|
18
|
-
</div>
|
|
15
|
+
<AlertContext.Provider value={{ title: 'title', variantLabel: 'variantLabel' }}>
|
|
16
|
+
<AlertToggleExpandButton />
|
|
17
|
+
</AlertContext.Provider>
|
|
19
18
|
);
|
|
20
19
|
|
|
21
|
-
expect(screen.
|
|
20
|
+
expect(screen.getByRole('button')).toBeVisible();
|
|
22
21
|
});
|
|
23
22
|
|
|
24
23
|
test('Renders with an aria label composed with the title and variantLabel provided via a context by default', () => {
|
|
@@ -8,7 +8,7 @@ ouia: true
|
|
|
8
8
|
|
|
9
9
|
import { useRef, useState } from 'react';
|
|
10
10
|
import RhMicronsCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-left-icon';
|
|
11
|
-
import
|
|
11
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
14
14
|
|
|
@@ -173,24 +173,12 @@ exports[`With popover opened 1`] = `
|
|
|
173
173
|
fill="currentColor"
|
|
174
174
|
height="1em"
|
|
175
175
|
role="img"
|
|
176
|
+
viewBox="0 0 20 20"
|
|
176
177
|
width="1em"
|
|
177
178
|
>
|
|
178
|
-
<
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
>
|
|
182
|
-
<path
|
|
183
|
-
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"
|
|
184
|
-
/>
|
|
185
|
-
</svg>
|
|
186
|
-
<svg
|
|
187
|
-
class="pf-v6-icon-rh-ui"
|
|
188
|
-
viewBox="0 0 32 32"
|
|
189
|
-
>
|
|
190
|
-
<path
|
|
191
|
-
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"
|
|
192
|
-
/>
|
|
193
|
-
</svg>
|
|
179
|
+
<path
|
|
180
|
+
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"
|
|
181
|
+
/>
|
|
194
182
|
</svg>
|
|
195
183
|
</span>
|
|
196
184
|
</span>
|
|
@@ -6,7 +6,7 @@ import { ValidatedOptions } from '../../helpers/constants';
|
|
|
6
6
|
import { FormControlIcon } from '../FormControl/FormControlIcon';
|
|
7
7
|
import { getOUIAProps, OUIAProps } from '../../helpers';
|
|
8
8
|
import { SSRSafeIds } from '../../helpers/SSRSafeIds/SSRSafeIds';
|
|
9
|
-
import
|
|
9
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
10
10
|
|
|
11
11
|
export interface FormSelectProps
|
|
12
12
|
extends Omit<React.HTMLProps<HTMLSelectElement>, 'onChange' | 'onBlur' | 'onFocus' | 'disabled'>, OUIAProps {
|
|
@@ -98,7 +98,7 @@ class FormSelect extends Component<FormSelectProps> {
|
|
|
98
98
|
<span className={css(styles.formControlUtilities)}>
|
|
99
99
|
{hasStatusIcon && <FormControlIcon status={validated as 'success' | 'error' | 'warning'} />}
|
|
100
100
|
<span className={css(styles.formControlToggleIcon)}>
|
|
101
|
-
<
|
|
101
|
+
<RhMicronsCaretDownIcon />
|
|
102
102
|
</span>
|
|
103
103
|
</span>
|
|
104
104
|
</span>
|
|
@@ -32,24 +32,12 @@ exports[`FormSelect Disabled FormSelect input 1`] = `
|
|
|
32
32
|
fill="currentColor"
|
|
33
33
|
height="1em"
|
|
34
34
|
role="img"
|
|
35
|
+
viewBox="0 0 20 20"
|
|
35
36
|
width="1em"
|
|
36
37
|
>
|
|
37
|
-
<
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
>
|
|
41
|
-
<path
|
|
42
|
-
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"
|
|
43
|
-
/>
|
|
44
|
-
</svg>
|
|
45
|
-
<svg
|
|
46
|
-
class="pf-v6-icon-rh-ui"
|
|
47
|
-
viewBox="0 0 32 32"
|
|
48
|
-
>
|
|
49
|
-
<path
|
|
50
|
-
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"
|
|
51
|
-
/>
|
|
52
|
-
</svg>
|
|
38
|
+
<path
|
|
39
|
+
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"
|
|
40
|
+
/>
|
|
53
41
|
</svg>
|
|
54
42
|
</span>
|
|
55
43
|
</span>
|
|
@@ -88,24 +76,12 @@ exports[`FormSelect FormSelect input with aria-label does not generate console e
|
|
|
88
76
|
fill="currentColor"
|
|
89
77
|
height="1em"
|
|
90
78
|
role="img"
|
|
79
|
+
viewBox="0 0 20 20"
|
|
91
80
|
width="1em"
|
|
92
81
|
>
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
>
|
|
97
|
-
<path
|
|
98
|
-
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"
|
|
99
|
-
/>
|
|
100
|
-
</svg>
|
|
101
|
-
<svg
|
|
102
|
-
class="pf-v6-icon-rh-ui"
|
|
103
|
-
viewBox="0 0 32 32"
|
|
104
|
-
>
|
|
105
|
-
<path
|
|
106
|
-
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"
|
|
107
|
-
/>
|
|
108
|
-
</svg>
|
|
82
|
+
<path
|
|
83
|
+
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"
|
|
84
|
+
/>
|
|
109
85
|
</svg>
|
|
110
86
|
</span>
|
|
111
87
|
</span>
|
|
@@ -145,24 +121,12 @@ exports[`FormSelect FormSelect input with id does not generate console error 1`]
|
|
|
145
121
|
fill="currentColor"
|
|
146
122
|
height="1em"
|
|
147
123
|
role="img"
|
|
124
|
+
viewBox="0 0 20 20"
|
|
148
125
|
width="1em"
|
|
149
126
|
>
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
>
|
|
154
|
-
<path
|
|
155
|
-
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"
|
|
156
|
-
/>
|
|
157
|
-
</svg>
|
|
158
|
-
<svg
|
|
159
|
-
class="pf-v6-icon-rh-ui"
|
|
160
|
-
viewBox="0 0 32 32"
|
|
161
|
-
>
|
|
162
|
-
<path
|
|
163
|
-
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"
|
|
164
|
-
/>
|
|
165
|
-
</svg>
|
|
127
|
+
<path
|
|
128
|
+
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"
|
|
129
|
+
/>
|
|
166
130
|
</svg>
|
|
167
131
|
</span>
|
|
168
132
|
</span>
|
|
@@ -200,24 +164,12 @@ exports[`FormSelect FormSelect input with no aria-label or id generates console
|
|
|
200
164
|
fill="currentColor"
|
|
201
165
|
height="1em"
|
|
202
166
|
role="img"
|
|
167
|
+
viewBox="0 0 20 20"
|
|
203
168
|
width="1em"
|
|
204
169
|
>
|
|
205
|
-
<
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
>
|
|
209
|
-
<path
|
|
210
|
-
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"
|
|
211
|
-
/>
|
|
212
|
-
</svg>
|
|
213
|
-
<svg
|
|
214
|
-
class="pf-v6-icon-rh-ui"
|
|
215
|
-
viewBox="0 0 32 32"
|
|
216
|
-
>
|
|
217
|
-
<path
|
|
218
|
-
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"
|
|
219
|
-
/>
|
|
220
|
-
</svg>
|
|
170
|
+
<path
|
|
171
|
+
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"
|
|
172
|
+
/>
|
|
221
173
|
</svg>
|
|
222
174
|
</span>
|
|
223
175
|
</span>
|
|
@@ -302,24 +254,12 @@ exports[`FormSelect Grouped FormSelect input 1`] = `
|
|
|
302
254
|
fill="currentColor"
|
|
303
255
|
height="1em"
|
|
304
256
|
role="img"
|
|
257
|
+
viewBox="0 0 20 20"
|
|
305
258
|
width="1em"
|
|
306
259
|
>
|
|
307
|
-
<
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
>
|
|
311
|
-
<path
|
|
312
|
-
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"
|
|
313
|
-
/>
|
|
314
|
-
</svg>
|
|
315
|
-
<svg
|
|
316
|
-
class="pf-v6-icon-rh-ui"
|
|
317
|
-
viewBox="0 0 32 32"
|
|
318
|
-
>
|
|
319
|
-
<path
|
|
320
|
-
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"
|
|
321
|
-
/>
|
|
322
|
-
</svg>
|
|
260
|
+
<path
|
|
261
|
+
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"
|
|
262
|
+
/>
|
|
323
263
|
</svg>
|
|
324
264
|
</span>
|
|
325
265
|
</span>
|
|
@@ -396,24 +336,12 @@ exports[`FormSelect Simple FormSelect input 1`] = `
|
|
|
396
336
|
fill="currentColor"
|
|
397
337
|
height="1em"
|
|
398
338
|
role="img"
|
|
339
|
+
viewBox="0 0 20 20"
|
|
399
340
|
width="1em"
|
|
400
341
|
>
|
|
401
|
-
<
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
>
|
|
405
|
-
<path
|
|
406
|
-
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"
|
|
407
|
-
/>
|
|
408
|
-
</svg>
|
|
409
|
-
<svg
|
|
410
|
-
class="pf-v6-icon-rh-ui"
|
|
411
|
-
viewBox="0 0 32 32"
|
|
412
|
-
>
|
|
413
|
-
<path
|
|
414
|
-
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"
|
|
415
|
-
/>
|
|
416
|
-
</svg>
|
|
342
|
+
<path
|
|
343
|
+
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"
|
|
344
|
+
/>
|
|
417
345
|
</svg>
|
|
418
346
|
</span>
|
|
419
347
|
</span>
|
|
@@ -469,24 +397,12 @@ exports[`FormSelect invalid FormSelect input 1`] = `
|
|
|
469
397
|
fill="currentColor"
|
|
470
398
|
height="1em"
|
|
471
399
|
role="img"
|
|
400
|
+
viewBox="0 0 20 20"
|
|
472
401
|
width="1em"
|
|
473
402
|
>
|
|
474
|
-
<
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
>
|
|
478
|
-
<path
|
|
479
|
-
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"
|
|
480
|
-
/>
|
|
481
|
-
</svg>
|
|
482
|
-
<svg
|
|
483
|
-
class="pf-v6-icon-rh-ui"
|
|
484
|
-
viewBox="0 0 32 32"
|
|
485
|
-
>
|
|
486
|
-
<path
|
|
487
|
-
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"
|
|
488
|
-
/>
|
|
489
|
-
</svg>
|
|
403
|
+
<path
|
|
404
|
+
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"
|
|
405
|
+
/>
|
|
490
406
|
</svg>
|
|
491
407
|
</span>
|
|
492
408
|
</span>
|
|
@@ -542,24 +458,12 @@ exports[`FormSelect validated success FormSelect input 1`] = `
|
|
|
542
458
|
fill="currentColor"
|
|
543
459
|
height="1em"
|
|
544
460
|
role="img"
|
|
461
|
+
viewBox="0 0 20 20"
|
|
545
462
|
width="1em"
|
|
546
463
|
>
|
|
547
|
-
<
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
>
|
|
551
|
-
<path
|
|
552
|
-
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"
|
|
553
|
-
/>
|
|
554
|
-
</svg>
|
|
555
|
-
<svg
|
|
556
|
-
class="pf-v6-icon-rh-ui"
|
|
557
|
-
viewBox="0 0 32 32"
|
|
558
|
-
>
|
|
559
|
-
<path
|
|
560
|
-
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"
|
|
561
|
-
/>
|
|
562
|
-
</svg>
|
|
464
|
+
<path
|
|
465
|
+
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"
|
|
466
|
+
/>
|
|
563
467
|
</svg>
|
|
564
468
|
</span>
|
|
565
469
|
</span>
|
|
@@ -615,24 +519,12 @@ exports[`FormSelect validated warning FormSelect input 1`] = `
|
|
|
615
519
|
fill="currentColor"
|
|
616
520
|
height="1em"
|
|
617
521
|
role="img"
|
|
522
|
+
viewBox="0 0 20 20"
|
|
618
523
|
width="1em"
|
|
619
524
|
>
|
|
620
|
-
<
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
>
|
|
624
|
-
<path
|
|
625
|
-
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"
|
|
626
|
-
/>
|
|
627
|
-
</svg>
|
|
628
|
-
<svg
|
|
629
|
-
class="pf-v6-icon-rh-ui"
|
|
630
|
-
viewBox="0 0 32 32"
|
|
631
|
-
>
|
|
632
|
-
<path
|
|
633
|
-
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"
|
|
634
|
-
/>
|
|
635
|
-
</svg>
|
|
525
|
+
<path
|
|
526
|
+
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"
|
|
527
|
+
/>
|
|
636
528
|
</svg>
|
|
637
529
|
</span>
|
|
638
530
|
</span>
|
|
@@ -30,7 +30,7 @@ import TableIcon from '@patternfly/react-icons/dist/esm/icons/table-icon';
|
|
|
30
30
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
31
31
|
import StorageDomainIcon from '@patternfly/react-icons/dist/esm/icons/storage-domain-icon';
|
|
32
32
|
import RhMicronsCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-left-icon';
|
|
33
|
-
import
|
|
33
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, forwardRef, isValidElement } from 'react';
|
|
2
2
|
import styles from '@patternfly/react-styles/css/components/MenuToggle/menu-toggle';
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
|
-
import
|
|
4
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
5
5
|
import { BadgeProps } from '../Badge';
|
|
6
6
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
7
7
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
@@ -154,7 +154,7 @@ class MenuToggleBase extends Component<MenuToggleProps> {
|
|
|
154
154
|
<span className={css(styles.menuToggleControls)}>
|
|
155
155
|
{status !== undefined && <span className={css(styles.menuToggleStatusIcon)}>{_statusIcon}</span>}
|
|
156
156
|
<span className={css(styles.menuToggleToggleIcon)}>
|
|
157
|
-
<
|
|
157
|
+
<RhMicronsCaretDownIcon />
|
|
158
158
|
</span>
|
|
159
159
|
</span>
|
|
160
160
|
);
|
|
@@ -27,24 +27,12 @@ exports[`Old Snapshot tests - remove when refactoring passes additional classes
|
|
|
27
27
|
fill="currentColor"
|
|
28
28
|
height="1em"
|
|
29
29
|
role="img"
|
|
30
|
+
viewBox="0 0 20 20"
|
|
30
31
|
width="1em"
|
|
31
32
|
>
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
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>
|
|
33
|
+
<path
|
|
34
|
+
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"
|
|
35
|
+
/>
|
|
48
36
|
</svg>
|
|
49
37
|
</span>
|
|
50
38
|
</span>
|
|
@@ -79,24 +67,12 @@ exports[`Old Snapshot tests - remove when refactoring renders successfully 1`] =
|
|
|
79
67
|
fill="currentColor"
|
|
80
68
|
height="1em"
|
|
81
69
|
role="img"
|
|
70
|
+
viewBox="0 0 20 20"
|
|
82
71
|
width="1em"
|
|
83
72
|
>
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
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>
|
|
73
|
+
<path
|
|
74
|
+
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"
|
|
75
|
+
/>
|
|
100
76
|
</svg>
|
|
101
77
|
</span>
|
|
102
78
|
</span>
|
|
@@ -140,24 +116,12 @@ exports[`Old Snapshot tests - remove when refactoring shows badge 1`] = `
|
|
|
140
116
|
fill="currentColor"
|
|
141
117
|
height="1em"
|
|
142
118
|
role="img"
|
|
119
|
+
viewBox="0 0 20 20"
|
|
143
120
|
width="1em"
|
|
144
121
|
>
|
|
145
|
-
<
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
>
|
|
149
|
-
<path
|
|
150
|
-
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"
|
|
151
|
-
/>
|
|
152
|
-
</svg>
|
|
153
|
-
<svg
|
|
154
|
-
class="pf-v6-icon-rh-ui"
|
|
155
|
-
viewBox="0 0 32 32"
|
|
156
|
-
>
|
|
157
|
-
<path
|
|
158
|
-
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"
|
|
159
|
-
/>
|
|
160
|
-
</svg>
|
|
122
|
+
<path
|
|
123
|
+
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"
|
|
124
|
+
/>
|
|
161
125
|
</svg>
|
|
162
126
|
</span>
|
|
163
127
|
</span>
|
|
@@ -209,24 +173,12 @@ exports[`Old Snapshot tests - remove when refactoring shows icon 1`] = `
|
|
|
209
173
|
fill="currentColor"
|
|
210
174
|
height="1em"
|
|
211
175
|
role="img"
|
|
176
|
+
viewBox="0 0 20 20"
|
|
212
177
|
width="1em"
|
|
213
178
|
>
|
|
214
|
-
<
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
>
|
|
218
|
-
<path
|
|
219
|
-
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"
|
|
220
|
-
/>
|
|
221
|
-
</svg>
|
|
222
|
-
<svg
|
|
223
|
-
class="pf-v6-icon-rh-ui"
|
|
224
|
-
viewBox="0 0 32 32"
|
|
225
|
-
>
|
|
226
|
-
<path
|
|
227
|
-
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"
|
|
228
|
-
/>
|
|
229
|
-
</svg>
|
|
179
|
+
<path
|
|
180
|
+
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"
|
|
181
|
+
/>
|
|
230
182
|
</svg>
|
|
231
183
|
</span>
|
|
232
184
|
</span>
|
|
@@ -262,24 +214,12 @@ exports[`Old Snapshot tests - remove when refactoring shows isDisabled 1`] = `
|
|
|
262
214
|
fill="currentColor"
|
|
263
215
|
height="1em"
|
|
264
216
|
role="img"
|
|
217
|
+
viewBox="0 0 20 20"
|
|
265
218
|
width="1em"
|
|
266
219
|
>
|
|
267
|
-
<
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
>
|
|
271
|
-
<path
|
|
272
|
-
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"
|
|
273
|
-
/>
|
|
274
|
-
</svg>
|
|
275
|
-
<svg
|
|
276
|
-
class="pf-v6-icon-rh-ui"
|
|
277
|
-
viewBox="0 0 32 32"
|
|
278
|
-
>
|
|
279
|
-
<path
|
|
280
|
-
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"
|
|
281
|
-
/>
|
|
282
|
-
</svg>
|
|
220
|
+
<path
|
|
221
|
+
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"
|
|
222
|
+
/>
|
|
283
223
|
</svg>
|
|
284
224
|
</span>
|
|
285
225
|
</span>
|
|
@@ -314,24 +254,12 @@ exports[`Old Snapshot tests - remove when refactoring shows isExpanded 1`] = `
|
|
|
314
254
|
fill="currentColor"
|
|
315
255
|
height="1em"
|
|
316
256
|
role="img"
|
|
257
|
+
viewBox="0 0 20 20"
|
|
317
258
|
width="1em"
|
|
318
259
|
>
|
|
319
|
-
<
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
>
|
|
323
|
-
<path
|
|
324
|
-
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"
|
|
325
|
-
/>
|
|
326
|
-
</svg>
|
|
327
|
-
<svg
|
|
328
|
-
class="pf-v6-icon-rh-ui"
|
|
329
|
-
viewBox="0 0 32 32"
|
|
330
|
-
>
|
|
331
|
-
<path
|
|
332
|
-
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"
|
|
333
|
-
/>
|
|
334
|
-
</svg>
|
|
260
|
+
<path
|
|
261
|
+
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"
|
|
262
|
+
/>
|
|
335
263
|
</svg>
|
|
336
264
|
</span>
|
|
337
265
|
</span>
|
|
@@ -409,24 +337,12 @@ exports[`Old Snapshot tests - remove when refactoring shows isPrimary 1`] = `
|
|
|
409
337
|
fill="currentColor"
|
|
410
338
|
height="1em"
|
|
411
339
|
role="img"
|
|
340
|
+
viewBox="0 0 20 20"
|
|
412
341
|
width="1em"
|
|
413
342
|
>
|
|
414
|
-
<
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
>
|
|
418
|
-
<path
|
|
419
|
-
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"
|
|
420
|
-
/>
|
|
421
|
-
</svg>
|
|
422
|
-
<svg
|
|
423
|
-
class="pf-v6-icon-rh-ui"
|
|
424
|
-
viewBox="0 0 32 32"
|
|
425
|
-
>
|
|
426
|
-
<path
|
|
427
|
-
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"
|
|
428
|
-
/>
|
|
429
|
-
</svg>
|
|
343
|
+
<path
|
|
344
|
+
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"
|
|
345
|
+
/>
|
|
430
346
|
</svg>
|
|
431
347
|
</span>
|
|
432
348
|
</span>
|
|
@@ -461,24 +377,12 @@ exports[`Old Snapshot tests - remove when refactoring shows plain text 1`] = `
|
|
|
461
377
|
fill="currentColor"
|
|
462
378
|
height="1em"
|
|
463
379
|
role="img"
|
|
380
|
+
viewBox="0 0 20 20"
|
|
464
381
|
width="1em"
|
|
465
382
|
>
|
|
466
|
-
<
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
>
|
|
470
|
-
<path
|
|
471
|
-
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"
|
|
472
|
-
/>
|
|
473
|
-
</svg>
|
|
474
|
-
<svg
|
|
475
|
-
class="pf-v6-icon-rh-ui"
|
|
476
|
-
viewBox="0 0 32 32"
|
|
477
|
-
>
|
|
478
|
-
<path
|
|
479
|
-
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"
|
|
480
|
-
/>
|
|
481
|
-
</svg>
|
|
383
|
+
<path
|
|
384
|
+
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"
|
|
385
|
+
/>
|
|
482
386
|
</svg>
|
|
483
387
|
</span>
|
|
484
388
|
</span>
|
|
@@ -8,7 +8,7 @@ ouia: true
|
|
|
8
8
|
|
|
9
9
|
import { Fragment, useRef, useState } from 'react';
|
|
10
10
|
import WarningTriangleIcon from '@patternfly/react-icons/dist/esm/icons/warning-triangle-icon';
|
|
11
|
-
import
|
|
11
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
12
12
|
import BullhornIcon from '@patternfly/react-icons/dist/esm/icons/bullhorn-icon';
|
|
13
13
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
14
14
|
import formStyles from '@patternfly/react-styles/css/components/Form/form';
|