@patternfly/react-core 6.5.0-prerelease.43 → 6.5.0-prerelease.44
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 +6 -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/AboutModal/AboutModalBoxCloseButton.js +2 -2
- package/dist/esm/components/AboutModal/AboutModalBoxCloseButton.js.map +1 -1
- package/dist/esm/components/Alert/AlertActionCloseButton.js +2 -2
- package/dist/esm/components/Alert/AlertActionCloseButton.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerCloseButton.js +2 -2
- package/dist/esm/components/Drawer/DrawerCloseButton.js.map +1 -1
- package/dist/esm/components/Label/Label.js +2 -2
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/Label/LabelGroup.js +2 -2
- package/dist/esm/components/Label/LabelGroup.js.map +1 -1
- package/dist/esm/components/Modal/ModalBoxCloseButton.js +2 -2
- package/dist/esm/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.js +2 -2
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.js.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerHeader.js +2 -2
- package/dist/esm/components/NotificationDrawer/NotificationDrawerHeader.js.map +1 -1
- package/dist/esm/components/Popover/PopoverCloseButton.js +2 -2
- package/dist/esm/components/Popover/PopoverCloseButton.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +4 -4
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/components/Tabs/Tab.js +2 -2
- package/dist/esm/components/Tabs/Tab.js.map +1 -1
- package/dist/esm/components/Wizard/WizardHeader.js +2 -2
- package/dist/esm/components/Wizard/WizardHeader.js.map +1 -1
- package/dist/esm/deprecated/components/Modal/ModalBoxCloseButton.js +2 -2
- package/dist/esm/deprecated/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/esm/deprecated/components/Wizard/WizardHeader.js +2 -2
- package/dist/esm/deprecated/components/Wizard/WizardHeader.js.map +1 -1
- package/dist/js/components/AboutModal/AboutModalBoxCloseButton.js +2 -2
- package/dist/js/components/AboutModal/AboutModalBoxCloseButton.js.map +1 -1
- package/dist/js/components/Alert/AlertActionCloseButton.js +2 -2
- package/dist/js/components/Alert/AlertActionCloseButton.js.map +1 -1
- package/dist/js/components/Drawer/DrawerCloseButton.js +2 -2
- package/dist/js/components/Drawer/DrawerCloseButton.js.map +1 -1
- package/dist/js/components/Label/Label.js +2 -2
- package/dist/js/components/Label/Label.js.map +1 -1
- package/dist/js/components/Label/LabelGroup.js +2 -2
- package/dist/js/components/Label/LabelGroup.js.map +1 -1
- package/dist/js/components/Modal/ModalBoxCloseButton.js +2 -2
- package/dist/js/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.js +2 -2
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.js.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerHeader.js +2 -2
- package/dist/js/components/NotificationDrawer/NotificationDrawerHeader.js.map +1 -1
- package/dist/js/components/Popover/PopoverCloseButton.js +2 -2
- package/dist/js/components/Popover/PopoverCloseButton.js.map +1 -1
- package/dist/js/components/SearchInput/SearchInput.js +4 -4
- package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/js/components/Tabs/Tab.js +2 -2
- package/dist/js/components/Tabs/Tab.js.map +1 -1
- package/dist/js/components/Wizard/WizardHeader.js +2 -2
- package/dist/js/components/Wizard/WizardHeader.js.map +1 -1
- package/dist/js/deprecated/components/Modal/ModalBoxCloseButton.js +2 -2
- package/dist/js/deprecated/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/js/deprecated/components/Wizard/WizardHeader.js +2 -2
- package/dist/js/deprecated/components/Wizard/WizardHeader.js.map +1 -1
- package/dist/umd/assets/{output-C4sp9weg.css → output-B_GJqJ5Q.css} +21944 -21944
- 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/AboutModal/AboutModalBoxCloseButton.tsx +2 -2
- package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap +12 -48
- package/src/components/ActionList/examples/ActionList.md +1 -1
- package/src/components/ActionList/examples/ActionListVertical.tsx +3 -3
- package/src/components/ActionList/examples/ActionListWithIcons.tsx +9 -4
- package/src/components/Alert/AlertActionCloseButton.tsx +2 -2
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap +4 -16
- package/src/components/Alert/__tests__/__snapshots__/AlertActionCloseButton.test.tsx.snap +4 -16
- package/src/components/Button/examples/Button.md +1 -1
- package/src/components/Button/examples/ButtonCircle.tsx +2 -2
- package/src/components/Button/examples/ButtonDisabled.tsx +2 -2
- package/src/components/Button/examples/ButtonVariations.tsx +2 -2
- package/src/components/Drawer/DrawerCloseButton.tsx +2 -2
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +24 -96
- package/src/components/Label/Label.tsx +2 -2
- package/src/components/Label/LabelGroup.tsx +2 -2
- package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +12 -48
- package/src/components/Label/__tests__/__snapshots__/LabelGroup.test.tsx.snap +4 -16
- package/src/components/MenuToggle/examples/MenuToggle.md +1 -1
- package/src/components/MenuToggle/examples/MenuToggleTypeahead.tsx +2 -2
- package/src/components/Modal/ModalBoxCloseButton.tsx +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +4 -16
- package/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap +32 -128
- package/src/components/NotificationDrawer/NotificationDrawerHeader.tsx +2 -2
- package/src/components/Popover/PopoverCloseButton.tsx +2 -2
- package/src/components/Popover/__tests__/Generated/__snapshots__/PopoverCloseButton.test.tsx.snap +4 -16
- package/src/components/SearchInput/SearchInput.tsx +4 -4
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +20 -80
- package/src/components/Select/examples/Select.md +1 -1
- package/src/components/Select/examples/SelectMultiTypeahead.tsx +7 -2
- package/src/components/Select/examples/SelectMultiTypeaheadCheckbox.tsx +7 -2
- package/src/components/Select/examples/SelectMultiTypeaheadCreatable.tsx +7 -2
- package/src/components/Select/examples/SelectTypeahead.tsx +7 -2
- package/src/components/Select/examples/SelectTypeaheadCreatable.tsx +7 -2
- package/src/components/Tabs/Tab.tsx +2 -2
- package/src/components/Tabs/examples/Tabs.md +1 -1
- package/src/components/Tabs/examples/TabsHelpAndClose.tsx +2 -2
- package/src/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/src/components/TextInputGroup/examples/TextInputGroupFilters.tsx +2 -2
- package/src/components/TextInputGroup/examples/TextInputGroupUtilitiesAndIcon.tsx +7 -2
- package/src/components/TextInputGroup/examples/TextInputGroupWithStatus.tsx +7 -2
- package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +12 -48
- package/src/components/Wizard/WizardHeader.tsx +2 -2
- package/src/demos/TextInputGroupDemo.md +1 -1
- package/src/demos/examples/TextInputGroup/AttributeValueFiltering.tsx +2 -2
- package/src/demos/examples/TextInputGroup/AutoCompleteSearch.tsx +2 -2
- package/src/deprecated/components/Chip/__tests__/__snapshots__/Chip.test.tsx.snap +4 -16
- package/src/deprecated/components/Modal/ModalBoxCloseButton.tsx +2 -2
- package/src/deprecated/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +32 -128
- package/src/deprecated/components/Wizard/WizardHeader.tsx +2 -2
- package/src/deprecated/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +8 -32
|
@@ -74,24 +74,12 @@ exports[`SearchInput advanced search 1`] = `
|
|
|
74
74
|
fill="currentColor"
|
|
75
75
|
height="1em"
|
|
76
76
|
role="img"
|
|
77
|
+
viewBox="0 0 20 20"
|
|
77
78
|
width="1em"
|
|
78
79
|
>
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
>
|
|
83
|
-
<path
|
|
84
|
-
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"
|
|
85
|
-
/>
|
|
86
|
-
</svg>
|
|
87
|
-
<svg
|
|
88
|
-
class="pf-v6-icon-rh-ui"
|
|
89
|
-
viewBox="0 0 32 32"
|
|
90
|
-
>
|
|
91
|
-
<path
|
|
92
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
93
|
-
/>
|
|
94
|
-
</svg>
|
|
80
|
+
<path
|
|
81
|
+
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"
|
|
82
|
+
/>
|
|
95
83
|
</svg>
|
|
96
84
|
</span>
|
|
97
85
|
</button>
|
|
@@ -265,24 +253,12 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
|
|
|
265
253
|
fill="currentColor"
|
|
266
254
|
height="1em"
|
|
267
255
|
role="img"
|
|
256
|
+
viewBox="0 0 20 20"
|
|
268
257
|
width="1em"
|
|
269
258
|
>
|
|
270
|
-
<
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
>
|
|
274
|
-
<path
|
|
275
|
-
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"
|
|
276
|
-
/>
|
|
277
|
-
</svg>
|
|
278
|
-
<svg
|
|
279
|
-
class="pf-v6-icon-rh-ui"
|
|
280
|
-
viewBox="0 0 32 32"
|
|
281
|
-
>
|
|
282
|
-
<path
|
|
283
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
284
|
-
/>
|
|
285
|
-
</svg>
|
|
259
|
+
<path
|
|
260
|
+
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"
|
|
261
|
+
/>
|
|
286
262
|
</svg>
|
|
287
263
|
</span>
|
|
288
264
|
</button>
|
|
@@ -646,24 +622,12 @@ exports[`SearchInput renders search input in strict mode 1`] = `
|
|
|
646
622
|
fill="currentColor"
|
|
647
623
|
height="1em"
|
|
648
624
|
role="img"
|
|
625
|
+
viewBox="0 0 20 20"
|
|
649
626
|
width="1em"
|
|
650
627
|
>
|
|
651
|
-
<
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
>
|
|
655
|
-
<path
|
|
656
|
-
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"
|
|
657
|
-
/>
|
|
658
|
-
</svg>
|
|
659
|
-
<svg
|
|
660
|
-
class="pf-v6-icon-rh-ui"
|
|
661
|
-
viewBox="0 0 32 32"
|
|
662
|
-
>
|
|
663
|
-
<path
|
|
664
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
665
|
-
/>
|
|
666
|
-
</svg>
|
|
628
|
+
<path
|
|
629
|
+
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"
|
|
630
|
+
/>
|
|
667
631
|
</svg>
|
|
668
632
|
</span>
|
|
669
633
|
</button>
|
|
@@ -914,24 +878,12 @@ exports[`SearchInput search input with hint 1`] = `
|
|
|
914
878
|
fill="currentColor"
|
|
915
879
|
height="1em"
|
|
916
880
|
role="img"
|
|
881
|
+
viewBox="0 0 20 20"
|
|
917
882
|
width="1em"
|
|
918
883
|
>
|
|
919
|
-
<
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
>
|
|
923
|
-
<path
|
|
924
|
-
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"
|
|
925
|
-
/>
|
|
926
|
-
</svg>
|
|
927
|
-
<svg
|
|
928
|
-
class="pf-v6-icon-rh-ui"
|
|
929
|
-
viewBox="0 0 32 32"
|
|
930
|
-
>
|
|
931
|
-
<path
|
|
932
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
933
|
-
/>
|
|
934
|
-
</svg>
|
|
884
|
+
<path
|
|
885
|
+
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"
|
|
886
|
+
/>
|
|
935
887
|
</svg>
|
|
936
888
|
</span>
|
|
937
889
|
</button>
|
|
@@ -1134,24 +1086,12 @@ exports[`SearchInput simple search input 1`] = `
|
|
|
1134
1086
|
fill="currentColor"
|
|
1135
1087
|
height="1em"
|
|
1136
1088
|
role="img"
|
|
1089
|
+
viewBox="0 0 20 20"
|
|
1137
1090
|
width="1em"
|
|
1138
1091
|
>
|
|
1139
|
-
<
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
>
|
|
1143
|
-
<path
|
|
1144
|
-
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"
|
|
1145
|
-
/>
|
|
1146
|
-
</svg>
|
|
1147
|
-
<svg
|
|
1148
|
-
class="pf-v6-icon-rh-ui"
|
|
1149
|
-
viewBox="0 0 32 32"
|
|
1150
|
-
>
|
|
1151
|
-
<path
|
|
1152
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
1153
|
-
/>
|
|
1154
|
-
</svg>
|
|
1092
|
+
<path
|
|
1093
|
+
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"
|
|
1094
|
+
/>
|
|
1155
1095
|
</svg>
|
|
1156
1096
|
</span>
|
|
1157
1097
|
</button>
|
|
@@ -9,7 +9,7 @@ ouia: true
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
import { Fragment, useEffect, useRef, useState } from 'react';
|
|
12
|
-
import
|
|
12
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
13
13
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
14
14
|
|
|
15
15
|
## Examples
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
LabelGroup,
|
|
14
14
|
Button
|
|
15
15
|
} from '@patternfly/react-core';
|
|
16
|
-
import
|
|
16
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
17
17
|
|
|
18
18
|
const initialSelectOptions: SelectOptionProps[] = [
|
|
19
19
|
{ value: 'Alabama', children: 'Alabama' },
|
|
@@ -226,7 +226,12 @@ export const SelectMultiTypeahead: React.FunctionComponent = () => {
|
|
|
226
226
|
</LabelGroup>
|
|
227
227
|
</TextInputGroupMain>
|
|
228
228
|
<TextInputGroupUtilities {...(selected.length === 0 ? { style: { display: 'none' } } : {})}>
|
|
229
|
-
<Button
|
|
229
|
+
<Button
|
|
230
|
+
variant="plain"
|
|
231
|
+
onClick={onClearButtonClick}
|
|
232
|
+
aria-label="Clear input value"
|
|
233
|
+
icon={<RhMicronsCloseIcon />}
|
|
234
|
+
/>
|
|
230
235
|
</TextInputGroupUtilities>
|
|
231
236
|
</TextInputGroup>
|
|
232
237
|
</MenuToggle>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
TextInputGroupUtilities,
|
|
12
12
|
Button
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
15
15
|
|
|
16
16
|
const initialSelectOptions: SelectOptionProps[] = [
|
|
17
17
|
{ value: 'Alabama', children: 'Alabama' },
|
|
@@ -219,7 +219,12 @@ export const SelectMultiTypeaheadCheckbox: React.FunctionComponent = () => {
|
|
|
219
219
|
aria-controls="select-multi-typeahead-checkbox-listbox"
|
|
220
220
|
/>
|
|
221
221
|
<TextInputGroupUtilities {...(selected.length === 0 ? { style: { display: 'none' } } : {})}>
|
|
222
|
-
<Button
|
|
222
|
+
<Button
|
|
223
|
+
variant="plain"
|
|
224
|
+
onClick={onClearButtonClick}
|
|
225
|
+
aria-label="Clear input value"
|
|
226
|
+
icon={<RhMicronsCloseIcon />}
|
|
227
|
+
/>
|
|
223
228
|
</TextInputGroupUtilities>
|
|
224
229
|
</TextInputGroup>
|
|
225
230
|
</MenuToggle>
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
LabelGroup,
|
|
14
14
|
Button
|
|
15
15
|
} from '@patternfly/react-core';
|
|
16
|
-
import
|
|
16
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
17
17
|
|
|
18
18
|
let initialSelectOptions: SelectOptionProps[] = [
|
|
19
19
|
{ value: 'Alabama', children: 'Alabama' },
|
|
@@ -239,7 +239,12 @@ export const SelectMultiTypeaheadCreatable: React.FunctionComponent = () => {
|
|
|
239
239
|
</LabelGroup>
|
|
240
240
|
</TextInputGroupMain>
|
|
241
241
|
<TextInputGroupUtilities {...(selected.length === 0 ? { style: { display: 'none' } } : {})}>
|
|
242
|
-
<Button
|
|
242
|
+
<Button
|
|
243
|
+
variant="plain"
|
|
244
|
+
onClick={onClearButtonClick}
|
|
245
|
+
aria-label="Clear input value"
|
|
246
|
+
icon={<RhMicronsCloseIcon />}
|
|
247
|
+
/>
|
|
243
248
|
</TextInputGroupUtilities>
|
|
244
249
|
</TextInputGroup>
|
|
245
250
|
</MenuToggle>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
TextInputGroupUtilities,
|
|
12
12
|
Button
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
15
15
|
|
|
16
16
|
const initialSelectOptions: SelectOptionProps[] = [
|
|
17
17
|
{ value: 'Alabama', children: 'Alabama' },
|
|
@@ -223,7 +223,12 @@ export const SelectTypeahead: React.FunctionComponent = () => {
|
|
|
223
223
|
/>
|
|
224
224
|
|
|
225
225
|
<TextInputGroupUtilities {...(!inputValue ? { style: { display: 'none' } } : {})}>
|
|
226
|
-
<Button
|
|
226
|
+
<Button
|
|
227
|
+
variant="plain"
|
|
228
|
+
onClick={onClearButtonClick}
|
|
229
|
+
aria-label="Clear input value"
|
|
230
|
+
icon={<RhMicronsCloseIcon />}
|
|
231
|
+
/>
|
|
227
232
|
</TextInputGroupUtilities>
|
|
228
233
|
</TextInputGroup>
|
|
229
234
|
</MenuToggle>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
TextInputGroupUtilities,
|
|
12
12
|
Button
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
15
15
|
|
|
16
16
|
let initialSelectOptions: SelectOptionProps[] = [
|
|
17
17
|
{ value: 'Alabama', children: 'Alabama' },
|
|
@@ -230,7 +230,12 @@ export const SelectTypeaheadCreatable: React.FunctionComponent = () => {
|
|
|
230
230
|
/>
|
|
231
231
|
|
|
232
232
|
<TextInputGroupUtilities {...(!inputValue ? { style: { display: 'none' } } : {})}>
|
|
233
|
-
<Button
|
|
233
|
+
<Button
|
|
234
|
+
variant="plain"
|
|
235
|
+
onClick={onClearButtonClick}
|
|
236
|
+
aria-label="Clear input value"
|
|
237
|
+
icon={<RhMicronsCloseIcon />}
|
|
238
|
+
/>
|
|
234
239
|
</TextInputGroupUtilities>
|
|
235
240
|
</TextInputGroup>
|
|
236
241
|
</MenuToggle>
|
|
@@ -5,7 +5,7 @@ import { TabButton } from './TabButton';
|
|
|
5
5
|
import { TabsContext } from './TabsContext';
|
|
6
6
|
import { css } from '@patternfly/react-styles';
|
|
7
7
|
import { Tooltip } from '../Tooltip';
|
|
8
|
-
import
|
|
8
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
9
9
|
import { TabAction } from './TabAction';
|
|
10
10
|
|
|
11
11
|
export interface TabProps
|
|
@@ -138,7 +138,7 @@ const TabBase: React.FunctionComponent<TabProps> = ({
|
|
|
138
138
|
onClick={(event: any) => handleTabClose(event, eventKey, tabContentRef)}
|
|
139
139
|
isDisabled={isCloseDisabled}
|
|
140
140
|
>
|
|
141
|
-
<
|
|
141
|
+
<RhMicronsCloseIcon />
|
|
142
142
|
</TabAction>
|
|
143
143
|
)}
|
|
144
144
|
</li>
|
|
@@ -25,7 +25,7 @@ import ServerIcon from '@patternfly/react-icons/dist/esm/icons/server-icon';
|
|
|
25
25
|
import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
|
|
26
26
|
import ProjectDiagramIcon from '@patternfly/react-icons/dist/esm/icons/project-diagram-icon';
|
|
27
27
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
|
-
import
|
|
28
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRef, useEffect, useRef, useState } from 'react';
|
|
2
2
|
import { Tabs, Tab, TabTitleText, Popover, TabAction } from '@patternfly/react-core';
|
|
3
3
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
4
|
-
import
|
|
4
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
5
5
|
|
|
6
6
|
export const TabsHelpAndClose: React.FunctionComponent = () => {
|
|
7
7
|
const [activeTabKey, setActiveTabKey] = useState<number>(0);
|
|
@@ -73,7 +73,7 @@ export const TabsHelpAndClose: React.FunctionComponent = () => {
|
|
|
73
73
|
onClick={(e) => onClose(e, index)}
|
|
74
74
|
isDisabled={tabs.length === 1}
|
|
75
75
|
>
|
|
76
|
-
<
|
|
76
|
+
<RhMicronsCloseIcon />
|
|
77
77
|
</TabAction>
|
|
78
78
|
{helpPopover(`Help popover for ${tab}`, ref)}
|
|
79
79
|
</>
|
|
@@ -7,7 +7,7 @@ propComponents: ['TextInputGroup', 'TextInputGroupMain', 'TextInputGroupUtilitie
|
|
|
7
7
|
|
|
8
8
|
import { useState } from 'react';
|
|
9
9
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
11
11
|
|
|
12
12
|
## Examples
|
|
13
13
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
Button
|
|
9
9
|
} from '@patternfly/react-core';
|
|
10
10
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
11
|
-
import
|
|
11
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
12
12
|
|
|
13
13
|
export const TextInputGroupFilters: React.FunctionComponent = () => {
|
|
14
14
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -73,7 +73,7 @@ export const TextInputGroupFilters: React.FunctionComponent = () => {
|
|
|
73
73
|
variant="plain"
|
|
74
74
|
onClick={clearChipsAndInput}
|
|
75
75
|
aria-label="Clear button and input"
|
|
76
|
-
icon={<
|
|
76
|
+
icon={<RhMicronsCloseIcon />}
|
|
77
77
|
/>
|
|
78
78
|
)}
|
|
79
79
|
</TextInputGroupUtilities>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { TextInputGroup, TextInputGroupMain, TextInputGroupUtilities, Button } from '@patternfly/react-core';
|
|
3
3
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
4
|
-
import
|
|
4
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
5
5
|
|
|
6
6
|
export const TextInputGroupUtilitiesAndIcon: React.FunctionComponent = () => {
|
|
7
7
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -28,7 +28,12 @@ export const TextInputGroupUtilitiesAndIcon: React.FunctionComponent = () => {
|
|
|
28
28
|
{showUtilities && (
|
|
29
29
|
<TextInputGroupUtilities>
|
|
30
30
|
{showClearButton && (
|
|
31
|
-
<Button
|
|
31
|
+
<Button
|
|
32
|
+
variant="plain"
|
|
33
|
+
onClick={clearInput}
|
|
34
|
+
aria-label="Clear button and input"
|
|
35
|
+
icon={<RhMicronsCloseIcon />}
|
|
36
|
+
/>
|
|
32
37
|
)}
|
|
33
38
|
</TextInputGroupUtilities>
|
|
34
39
|
)}
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
FlexItem
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
11
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
12
|
-
import
|
|
12
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
13
13
|
|
|
14
14
|
export const TextInputGroupWithStatus: React.FunctionComponent = () => {
|
|
15
15
|
const [successValue, setSuccessValue] = useState('Success validation');
|
|
@@ -53,7 +53,12 @@ export const TextInputGroupWithStatus: React.FunctionComponent = () => {
|
|
|
53
53
|
{showUtilities && (
|
|
54
54
|
<TextInputGroupUtilities>
|
|
55
55
|
{showClearButton && (
|
|
56
|
-
<Button
|
|
56
|
+
<Button
|
|
57
|
+
variant="plain"
|
|
58
|
+
onClick={clearInput}
|
|
59
|
+
aria-label="Clear button and input"
|
|
60
|
+
icon={<RhMicronsCloseIcon />}
|
|
61
|
+
/>
|
|
57
62
|
)}
|
|
58
63
|
</TextInputGroupUtilities>
|
|
59
64
|
)}
|
|
@@ -158,24 +158,12 @@ exports[`Toolbar should render with custom label content 1`] = `
|
|
|
158
158
|
fill="currentColor"
|
|
159
159
|
height="1em"
|
|
160
160
|
role="img"
|
|
161
|
+
viewBox="0 0 20 20"
|
|
161
162
|
width="1em"
|
|
162
163
|
>
|
|
163
|
-
<
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
>
|
|
167
|
-
<path
|
|
168
|
-
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"
|
|
169
|
-
/>
|
|
170
|
-
</svg>
|
|
171
|
-
<svg
|
|
172
|
-
class="pf-v6-icon-rh-ui"
|
|
173
|
-
viewBox="0 0 32 32"
|
|
174
|
-
>
|
|
175
|
-
<path
|
|
176
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
177
|
-
/>
|
|
178
|
-
</svg>
|
|
164
|
+
<path
|
|
165
|
+
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"
|
|
166
|
+
/>
|
|
179
167
|
</svg>
|
|
180
168
|
</span>
|
|
181
169
|
</button>
|
|
@@ -217,24 +205,12 @@ exports[`Toolbar should render with custom label content 1`] = `
|
|
|
217
205
|
fill="currentColor"
|
|
218
206
|
height="1em"
|
|
219
207
|
role="img"
|
|
208
|
+
viewBox="0 0 20 20"
|
|
220
209
|
width="1em"
|
|
221
210
|
>
|
|
222
|
-
<
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
>
|
|
226
|
-
<path
|
|
227
|
-
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"
|
|
228
|
-
/>
|
|
229
|
-
</svg>
|
|
230
|
-
<svg
|
|
231
|
-
class="pf-v6-icon-rh-ui"
|
|
232
|
-
viewBox="0 0 32 32"
|
|
233
|
-
>
|
|
234
|
-
<path
|
|
235
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
236
|
-
/>
|
|
237
|
-
</svg>
|
|
211
|
+
<path
|
|
212
|
+
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"
|
|
213
|
+
/>
|
|
238
214
|
</svg>
|
|
239
215
|
</span>
|
|
240
216
|
</button>
|
|
@@ -265,24 +241,12 @@ exports[`Toolbar should render with custom label content 1`] = `
|
|
|
265
241
|
fill="currentColor"
|
|
266
242
|
height="1em"
|
|
267
243
|
role="img"
|
|
244
|
+
viewBox="0 0 20 20"
|
|
268
245
|
width="1em"
|
|
269
246
|
>
|
|
270
|
-
<
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
>
|
|
274
|
-
<path
|
|
275
|
-
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"
|
|
276
|
-
/>
|
|
277
|
-
</svg>
|
|
278
|
-
<svg
|
|
279
|
-
class="pf-v6-icon-rh-ui"
|
|
280
|
-
viewBox="0 0 32 32"
|
|
281
|
-
>
|
|
282
|
-
<path
|
|
283
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
284
|
-
/>
|
|
285
|
-
</svg>
|
|
247
|
+
<path
|
|
248
|
+
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"
|
|
249
|
+
/>
|
|
286
250
|
</svg>
|
|
287
251
|
</span>
|
|
288
252
|
</button>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
|
2
2
|
import { css } from '@patternfly/react-styles';
|
|
3
3
|
import { Button } from '../Button';
|
|
4
|
-
import
|
|
4
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
5
5
|
|
|
6
6
|
export interface WizardHeaderProps extends React.HTMLProps<HTMLDivElement> {
|
|
7
7
|
/** Callback function called when the X (Close) button is clicked */
|
|
@@ -39,7 +39,7 @@ export const WizardHeader: React.FunctionComponent<WizardHeaderProps> = ({
|
|
|
39
39
|
<div className={css(styles.wizardHeader, className)} {...props}>
|
|
40
40
|
{!isCloseHidden && (
|
|
41
41
|
<div className={css(styles.wizardClose)}>
|
|
42
|
-
<Button variant="plain" aria-label={closeButtonAriaLabel} onClick={onClose} icon={<
|
|
42
|
+
<Button variant="plain" aria-label={closeButtonAriaLabel} onClick={onClose} icon={<RhMicronsCloseIcon />} />
|
|
43
43
|
</div>
|
|
44
44
|
)}
|
|
45
45
|
<div className={css(styles.wizardTitle)}>
|
|
@@ -5,7 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { useEffect, useRef, useState } from 'react';
|
|
7
7
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
9
9
|
|
|
10
10
|
## Demos
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
LabelGroup
|
|
15
15
|
} from '@patternfly/react-core';
|
|
16
16
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
17
|
-
import
|
|
17
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
18
18
|
|
|
19
19
|
export const AttributeValueFiltering: React.FunctionComponent = () => {
|
|
20
20
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -239,7 +239,7 @@ export const AttributeValueFiltering: React.FunctionComponent = () => {
|
|
|
239
239
|
variant="plain"
|
|
240
240
|
onClick={clearChipsAndInput}
|
|
241
241
|
aria-label="Clear button and input"
|
|
242
|
-
icon={<
|
|
242
|
+
icon={<RhMicronsCloseIcon />}
|
|
243
243
|
/>
|
|
244
244
|
)}
|
|
245
245
|
</TextInputGroupUtilities>
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
LabelGroup
|
|
15
15
|
} from '@patternfly/react-core';
|
|
16
16
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
17
|
-
import
|
|
17
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
18
18
|
|
|
19
19
|
export const AutoCompleteSearch: React.FunctionComponent = () => {
|
|
20
20
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -233,7 +233,7 @@ export const AutoCompleteSearch: React.FunctionComponent = () => {
|
|
|
233
233
|
variant="plain"
|
|
234
234
|
onClick={clearChipsAndInput}
|
|
235
235
|
aria-label="Clear button for chips and input"
|
|
236
|
-
icon={<
|
|
236
|
+
icon={<RhMicronsCloseIcon />}
|
|
237
237
|
/>
|
|
238
238
|
)}
|
|
239
239
|
</TextInputGroupUtilities>
|
|
@@ -39,24 +39,12 @@ exports[`Matches snapshot 1`] = `
|
|
|
39
39
|
fill="currentColor"
|
|
40
40
|
height="1em"
|
|
41
41
|
role="img"
|
|
42
|
+
viewBox="0 0 20 20"
|
|
42
43
|
width="1em"
|
|
43
44
|
>
|
|
44
|
-
<
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
>
|
|
48
|
-
<path
|
|
49
|
-
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"
|
|
50
|
-
/>
|
|
51
|
-
</svg>
|
|
52
|
-
<svg
|
|
53
|
-
class="pf-v6-icon-rh-ui"
|
|
54
|
-
viewBox="0 0 32 32"
|
|
55
|
-
>
|
|
56
|
-
<path
|
|
57
|
-
d="M28.707 27.293a.999.999 0 1 1-1.414 1.414L16 17.414 4.707 28.707a.997.997 0 0 1-1.414 0 .999.999 0 0 1 0-1.414L14.586 16 3.293 4.707a.999.999 0 1 1 1.414-1.414L16 14.586 27.293 3.293a.999.999 0 1 1 1.414 1.414L17.414 16l11.293 11.293Z"
|
|
58
|
-
/>
|
|
59
|
-
</svg>
|
|
45
|
+
<path
|
|
46
|
+
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"
|
|
47
|
+
/>
|
|
60
48
|
</svg>
|
|
61
49
|
</span>
|
|
62
50
|
</button>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from '@patternfly/react-styles';
|
|
2
2
|
import styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';
|
|
3
3
|
import { Button } from '../../../components/Button';
|
|
4
|
-
import
|
|
4
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
5
5
|
import { OUIAProps } from '../../../helpers';
|
|
6
6
|
|
|
7
7
|
export interface ModalBoxCloseButtonProps extends OUIAProps {
|
|
@@ -29,7 +29,7 @@ export const ModalBoxCloseButton: React.FunctionComponent<ModalBoxCloseButtonPro
|
|
|
29
29
|
aria-label={ariaLabel}
|
|
30
30
|
{...(ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` })}
|
|
31
31
|
{...props}
|
|
32
|
-
icon={<
|
|
32
|
+
icon={<RhMicronsCloseIcon />}
|
|
33
33
|
/>
|
|
34
34
|
</div>
|
|
35
35
|
);
|