@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
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.5.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.5.0-prerelease.43","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.5.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.5.0-prerelease.43","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.5.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.5.0-prerelease.43","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "6.5.0-prerelease.
|
|
3
|
+
"version": "6.5.0-prerelease.44",
|
|
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": "6d97743fee78a3a92027e771c507664b76e51de2"
|
|
67
67
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css } from '@patternfly/react-styles';
|
|
2
2
|
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
|
|
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 AboutModalBoxCloseButtonProps extends React.HTMLProps<HTMLDivElement> {
|
|
7
7
|
/** A callback for when the close button is clicked */
|
|
@@ -16,7 +16,7 @@ export const AboutModalBoxCloseButton: React.FunctionComponent<AboutModalBoxClos
|
|
|
16
16
|
...props
|
|
17
17
|
}: AboutModalBoxCloseButtonProps) => (
|
|
18
18
|
<div className={css(styles.aboutModalBoxClose)} {...props}>
|
|
19
|
-
<Button variant="plain" onClick={onClose} aria-label={ariaLabel} icon={<
|
|
19
|
+
<Button variant="plain" onClick={onClose} aria-label={ariaLabel} icon={<RhMicronsCloseIcon />} />
|
|
20
20
|
</div>
|
|
21
21
|
);
|
|
22
22
|
AboutModalBoxCloseButton.displayName = 'AboutModalBoxCloseButton';
|
package/src/components/AboutModal/__tests__/__snapshots__/AboutModalBoxCloseButton.test.tsx.snap
CHANGED
|
@@ -22,24 +22,12 @@ exports[`AboutModalBoxCloseButton Test 1`] = `
|
|
|
22
22
|
fill="currentColor"
|
|
23
23
|
height="1em"
|
|
24
24
|
role="img"
|
|
25
|
+
viewBox="0 0 20 20"
|
|
25
26
|
width="1em"
|
|
26
27
|
>
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
>
|
|
31
|
-
<path
|
|
32
|
-
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"
|
|
33
|
-
/>
|
|
34
|
-
</svg>
|
|
35
|
-
<svg
|
|
36
|
-
class="pf-v6-icon-rh-ui"
|
|
37
|
-
viewBox="0 0 32 32"
|
|
38
|
-
>
|
|
39
|
-
<path
|
|
40
|
-
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"
|
|
41
|
-
/>
|
|
42
|
-
</svg>
|
|
28
|
+
<path
|
|
29
|
+
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"
|
|
30
|
+
/>
|
|
43
31
|
</svg>
|
|
44
32
|
</span>
|
|
45
33
|
</button>
|
|
@@ -69,24 +57,12 @@ exports[`AboutModalBoxCloseButton Test close button aria label 1`] = `
|
|
|
69
57
|
fill="currentColor"
|
|
70
58
|
height="1em"
|
|
71
59
|
role="img"
|
|
60
|
+
viewBox="0 0 20 20"
|
|
72
61
|
width="1em"
|
|
73
62
|
>
|
|
74
|
-
<
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
>
|
|
78
|
-
<path
|
|
79
|
-
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"
|
|
80
|
-
/>
|
|
81
|
-
</svg>
|
|
82
|
-
<svg
|
|
83
|
-
class="pf-v6-icon-rh-ui"
|
|
84
|
-
viewBox="0 0 32 32"
|
|
85
|
-
>
|
|
86
|
-
<path
|
|
87
|
-
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"
|
|
88
|
-
/>
|
|
89
|
-
</svg>
|
|
63
|
+
<path
|
|
64
|
+
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"
|
|
65
|
+
/>
|
|
90
66
|
</svg>
|
|
91
67
|
</span>
|
|
92
68
|
</button>
|
|
@@ -116,24 +92,12 @@ exports[`AboutModalBoxCloseButton Test onclose 1`] = `
|
|
|
116
92
|
fill="currentColor"
|
|
117
93
|
height="1em"
|
|
118
94
|
role="img"
|
|
95
|
+
viewBox="0 0 20 20"
|
|
119
96
|
width="1em"
|
|
120
97
|
>
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
>
|
|
125
|
-
<path
|
|
126
|
-
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"
|
|
127
|
-
/>
|
|
128
|
-
</svg>
|
|
129
|
-
<svg
|
|
130
|
-
class="pf-v6-icon-rh-ui"
|
|
131
|
-
viewBox="0 0 32 32"
|
|
132
|
-
>
|
|
133
|
-
<path
|
|
134
|
-
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"
|
|
135
|
-
/>
|
|
136
|
-
</svg>
|
|
98
|
+
<path
|
|
99
|
+
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"
|
|
100
|
+
/>
|
|
137
101
|
</svg>
|
|
138
102
|
</span>
|
|
139
103
|
</button>
|
|
@@ -6,7 +6,7 @@ propComponents: ['ActionList', 'ActionListGroup', 'ActionListItem']
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
import { Fragment, useState } from 'react';
|
|
9
|
-
import
|
|
9
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/js/icons/rh-microns-close-icon';
|
|
10
10
|
import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
11
11
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionList, ActionListGroup, ActionListItem, Button } from '@patternfly/react-core';
|
|
2
2
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
3
|
-
import
|
|
3
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
4
4
|
|
|
5
5
|
export const ActionListVertical: React.FunctionComponent = () => (
|
|
6
6
|
<>
|
|
@@ -27,7 +27,7 @@ export const ActionListVertical: React.FunctionComponent = () => (
|
|
|
27
27
|
<ActionList isVertical>
|
|
28
28
|
<ActionListGroup>
|
|
29
29
|
<ActionListItem>
|
|
30
|
-
<Button aria-label="Close vertical action list group 1" variant="plain" icon={<
|
|
30
|
+
<Button aria-label="Close vertical action list group 1" variant="plain" icon={<RhMicronsCloseIcon />} />
|
|
31
31
|
</ActionListItem>
|
|
32
32
|
<ActionListItem>
|
|
33
33
|
<Button aria-label="Toggle vertical action list example group 1" variant="plain" icon={<CheckIcon />} />
|
|
@@ -35,7 +35,7 @@ export const ActionListVertical: React.FunctionComponent = () => (
|
|
|
35
35
|
</ActionListGroup>
|
|
36
36
|
<ActionListGroup>
|
|
37
37
|
<ActionListItem>
|
|
38
|
-
<Button aria-label="Close vertical action list group 2" variant="plain" icon={<
|
|
38
|
+
<Button aria-label="Close vertical action list group 2" variant="plain" icon={<RhMicronsCloseIcon />} />
|
|
39
39
|
</ActionListItem>
|
|
40
40
|
<ActionListItem>
|
|
41
41
|
<Button aria-label="Toggle vertical action list example group 2" variant="plain" icon={<CheckIcon />} />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActionList, ActionListGroup, ActionListItem, Button } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
3
3
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
4
4
|
|
|
5
5
|
export const ActionListWithIcons: React.FunctionComponent = () => (
|
|
@@ -7,7 +7,12 @@ export const ActionListWithIcons: React.FunctionComponent = () => (
|
|
|
7
7
|
<h4>With list icons wrapper</h4>
|
|
8
8
|
<ActionList isIconList>
|
|
9
9
|
<ActionListItem>
|
|
10
|
-
<Button
|
|
10
|
+
<Button
|
|
11
|
+
variant="plain"
|
|
12
|
+
id="with-icons-times-button"
|
|
13
|
+
aria-label="times icon button"
|
|
14
|
+
icon={<RhMicronsCloseIcon />}
|
|
15
|
+
/>
|
|
11
16
|
</ActionListItem>
|
|
12
17
|
<ActionListItem>
|
|
13
18
|
<Button variant="plain" id="with-icons-check-button" aria-label="check icon button" icon={<CheckIcon />} />
|
|
@@ -22,7 +27,7 @@ export const ActionListWithIcons: React.FunctionComponent = () => (
|
|
|
22
27
|
variant="plain"
|
|
23
28
|
id="with-icons-list-times-button"
|
|
24
29
|
aria-label="times icon button"
|
|
25
|
-
icon={<
|
|
30
|
+
icon={<RhMicronsCloseIcon />}
|
|
26
31
|
/>
|
|
27
32
|
</ActionListItem>
|
|
28
33
|
<ActionListItem>
|
|
@@ -40,7 +45,7 @@ export const ActionListWithIcons: React.FunctionComponent = () => (
|
|
|
40
45
|
variant="plain"
|
|
41
46
|
id="with-icons-group-times-button"
|
|
42
47
|
aria-label="times icon button"
|
|
43
|
-
icon={<
|
|
48
|
+
icon={<RhMicronsCloseIcon />}
|
|
44
49
|
/>
|
|
45
50
|
</ActionListItem>
|
|
46
51
|
<ActionListItem>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef, useContext } from 'react';
|
|
2
2
|
import { Button, ButtonVariant, ButtonProps } from '../Button';
|
|
3
|
-
import
|
|
3
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
4
4
|
import { AlertContext } from './AlertContext';
|
|
5
5
|
import { AlertGroupContext } from './AlertGroupContext';
|
|
6
6
|
import alertGroupStyles from '@patternfly/react-styles/css/components/Alert/alert-group';
|
|
@@ -50,7 +50,7 @@ export const AlertActionCloseButton: React.FunctionComponent<AlertActionCloseBut
|
|
|
50
50
|
onClick={handleOnClick}
|
|
51
51
|
aria-label={ariaLabel === '' ? `Close ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel}
|
|
52
52
|
className={className}
|
|
53
|
-
icon={<
|
|
53
|
+
icon={<RhMicronsCloseIcon />}
|
|
54
54
|
{...props}
|
|
55
55
|
/>
|
|
56
56
|
)}
|
package/src/components/Alert/__tests__/Generated/__snapshots__/AlertActionCloseButton.test.tsx.snap
CHANGED
|
@@ -19,24 +19,12 @@ exports[`AlertActionCloseButton should match snapshot 1`] = `
|
|
|
19
19
|
fill="currentColor"
|
|
20
20
|
height="1em"
|
|
21
21
|
role="img"
|
|
22
|
+
viewBox="0 0 20 20"
|
|
22
23
|
width="1em"
|
|
23
24
|
>
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
>
|
|
28
|
-
<path
|
|
29
|
-
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"
|
|
30
|
-
/>
|
|
31
|
-
</svg>
|
|
32
|
-
<svg
|
|
33
|
-
class="pf-v6-icon-rh-ui"
|
|
34
|
-
viewBox="0 0 32 32"
|
|
35
|
-
>
|
|
36
|
-
<path
|
|
37
|
-
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"
|
|
38
|
-
/>
|
|
39
|
-
</svg>
|
|
25
|
+
<path
|
|
26
|
+
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"
|
|
27
|
+
/>
|
|
40
28
|
</svg>
|
|
41
29
|
</span>
|
|
42
30
|
</button>
|
|
@@ -28,24 +28,12 @@ exports[`Matches the snapshot 1`] = `
|
|
|
28
28
|
fill="currentColor"
|
|
29
29
|
height="1em"
|
|
30
30
|
role="img"
|
|
31
|
+
viewBox="0 0 20 20"
|
|
31
32
|
width="1em"
|
|
32
33
|
>
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
>
|
|
37
|
-
<path
|
|
38
|
-
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"
|
|
39
|
-
/>
|
|
40
|
-
</svg>
|
|
41
|
-
<svg
|
|
42
|
-
class="pf-v6-icon-rh-ui"
|
|
43
|
-
viewBox="0 0 32 32"
|
|
44
|
-
>
|
|
45
|
-
<path
|
|
46
|
-
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"
|
|
47
|
-
/>
|
|
48
|
-
</svg>
|
|
34
|
+
<path
|
|
35
|
+
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"
|
|
36
|
+
/>
|
|
49
37
|
</svg>
|
|
50
38
|
</div>
|
|
51
39
|
</DocumentFragment>
|
|
@@ -7,7 +7,7 @@ ouia: true
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
import { Fragment, useState } from 'react';
|
|
10
|
-
import
|
|
10
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
11
11
|
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
12
12
|
import ExternalLinkSquareAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-square-alt-icon';
|
|
13
13
|
import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button, Flex } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
3
3
|
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
4
4
|
import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
|
|
5
5
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
@@ -34,7 +34,7 @@ export const ButtonCircle: React.FunctionComponent = () => {
|
|
|
34
34
|
<Button variant="warning" isCircle icon={<PlusCircleIcon />} aria-label="Add warning circle variant example" />
|
|
35
35
|
<Button variant="link" isCircle icon={<PlusCircleIcon />} aria-label="Add link circle variant example" />
|
|
36
36
|
<Button variant="control" isCircle icon={<CopyIcon />} aria-label="Copy control circle variant example" />
|
|
37
|
-
<Button variant="plain" isCircle icon={<
|
|
37
|
+
<Button variant="plain" isCircle icon={<RhMicronsCloseIcon />} aria-label="Remove plain circle variant example" />
|
|
38
38
|
<Button variant="stateful" isCircle icon={<BellIcon />} aria-label="Stateful unread circle variant example" />
|
|
39
39
|
<Button
|
|
40
40
|
variant="stateful"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button, Flex } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
3
3
|
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
4
4
|
import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
|
|
5
5
|
|
|
@@ -34,7 +34,7 @@ export const ButtonDisabled: React.FunctionComponent = () => (
|
|
|
34
34
|
<Button variant="link" isDanger isDisabled>
|
|
35
35
|
Danger link
|
|
36
36
|
</Button>
|
|
37
|
-
<Button isDisabled variant="plain" aria-label="Action" icon={<
|
|
37
|
+
<Button isDisabled variant="plain" aria-label="Action" icon={<RhMicronsCloseIcon />} />
|
|
38
38
|
</Flex>
|
|
39
39
|
<br />
|
|
40
40
|
<Flex columnGap={{ default: 'columnGapSm' }}>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button, Flex } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
3
3
|
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
4
4
|
import ExternalLinkSquareAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-square-alt-icon';
|
|
5
5
|
import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
|
|
@@ -41,7 +41,7 @@ export const ButtonVariations: React.FunctionComponent = () => (
|
|
|
41
41
|
<Button variant="link" isDanger>
|
|
42
42
|
Danger link
|
|
43
43
|
</Button>
|
|
44
|
-
<Button variant="plain" aria-label="Action" icon={<
|
|
44
|
+
<Button variant="plain" aria-label="Action" icon={<RhMicronsCloseIcon />} />
|
|
45
45
|
</Flex>
|
|
46
46
|
<br />
|
|
47
47
|
<Flex columnGap={{ default: 'columnGapSm' }}>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styles from '@patternfly/react-styles/css/components/Drawer/drawer';
|
|
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 DrawerCloseButtonProps extends React.HTMLProps<HTMLDivElement> {
|
|
7
7
|
/** Additional classes added to the drawer close button outer <div>. */
|
|
@@ -19,7 +19,7 @@ export const DrawerCloseButton: React.FunctionComponent<DrawerCloseButtonProps>
|
|
|
19
19
|
...props
|
|
20
20
|
}: DrawerCloseButtonProps) => (
|
|
21
21
|
<div className={css(styles.drawerClose, className)} {...props}>
|
|
22
|
-
<Button variant="plain" onClick={onClose} aria-label={ariaLabel} icon={<
|
|
22
|
+
<Button variant="plain" onClick={onClose} aria-label={ariaLabel} icon={<RhMicronsCloseIcon />} />
|
|
23
23
|
</div>
|
|
24
24
|
);
|
|
25
25
|
DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
@@ -50,24 +50,12 @@ exports[`Drawer expands from bottom 1`] = `
|
|
|
50
50
|
fill="currentColor"
|
|
51
51
|
height="1em"
|
|
52
52
|
role="img"
|
|
53
|
+
viewBox="0 0 20 20"
|
|
53
54
|
width="1em"
|
|
54
55
|
>
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
>
|
|
59
|
-
<path
|
|
60
|
-
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"
|
|
61
|
-
/>
|
|
62
|
-
</svg>
|
|
63
|
-
<svg
|
|
64
|
-
class="pf-v6-icon-rh-ui"
|
|
65
|
-
viewBox="0 0 32 32"
|
|
66
|
-
>
|
|
67
|
-
<path
|
|
68
|
-
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"
|
|
69
|
-
/>
|
|
70
|
-
</svg>
|
|
56
|
+
<path
|
|
57
|
+
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"
|
|
58
|
+
/>
|
|
71
59
|
</svg>
|
|
72
60
|
</span>
|
|
73
61
|
</button>
|
|
@@ -154,24 +142,12 @@ exports[`Drawer has resizable callback and id 1`] = `
|
|
|
154
142
|
fill="currentColor"
|
|
155
143
|
height="1em"
|
|
156
144
|
role="img"
|
|
145
|
+
viewBox="0 0 20 20"
|
|
157
146
|
width="1em"
|
|
158
147
|
>
|
|
159
|
-
<
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
>
|
|
163
|
-
<path
|
|
164
|
-
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"
|
|
165
|
-
/>
|
|
166
|
-
</svg>
|
|
167
|
-
<svg
|
|
168
|
-
class="pf-v6-icon-rh-ui"
|
|
169
|
-
viewBox="0 0 32 32"
|
|
170
|
-
>
|
|
171
|
-
<path
|
|
172
|
-
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"
|
|
173
|
-
/>
|
|
174
|
-
</svg>
|
|
148
|
+
<path
|
|
149
|
+
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"
|
|
150
|
+
/>
|
|
175
151
|
</svg>
|
|
176
152
|
</span>
|
|
177
153
|
</button>
|
|
@@ -260,24 +236,12 @@ exports[`Drawer has resizable css and color variants 1`] = `
|
|
|
260
236
|
fill="currentColor"
|
|
261
237
|
height="1em"
|
|
262
238
|
role="img"
|
|
239
|
+
viewBox="0 0 20 20"
|
|
263
240
|
width="1em"
|
|
264
241
|
>
|
|
265
|
-
<
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
>
|
|
269
|
-
<path
|
|
270
|
-
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"
|
|
271
|
-
/>
|
|
272
|
-
</svg>
|
|
273
|
-
<svg
|
|
274
|
-
class="pf-v6-icon-rh-ui"
|
|
275
|
-
viewBox="0 0 32 32"
|
|
276
|
-
>
|
|
277
|
-
<path
|
|
278
|
-
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"
|
|
279
|
-
/>
|
|
280
|
-
</svg>
|
|
242
|
+
<path
|
|
243
|
+
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"
|
|
244
|
+
/>
|
|
281
245
|
</svg>
|
|
282
246
|
</span>
|
|
283
247
|
</button>
|
|
@@ -402,24 +366,12 @@ exports[`Drawer isExpanded = true and isInline = false and isStatic = false 1`]
|
|
|
402
366
|
fill="currentColor"
|
|
403
367
|
height="1em"
|
|
404
368
|
role="img"
|
|
369
|
+
viewBox="0 0 20 20"
|
|
405
370
|
width="1em"
|
|
406
371
|
>
|
|
407
|
-
<
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
>
|
|
411
|
-
<path
|
|
412
|
-
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"
|
|
413
|
-
/>
|
|
414
|
-
</svg>
|
|
415
|
-
<svg
|
|
416
|
-
class="pf-v6-icon-rh-ui"
|
|
417
|
-
viewBox="0 0 32 32"
|
|
418
|
-
>
|
|
419
|
-
<path
|
|
420
|
-
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"
|
|
421
|
-
/>
|
|
422
|
-
</svg>
|
|
372
|
+
<path
|
|
373
|
+
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"
|
|
374
|
+
/>
|
|
423
375
|
</svg>
|
|
424
376
|
</span>
|
|
425
377
|
</button>
|
|
@@ -487,24 +439,12 @@ exports[`Drawer isExpanded = true and isInline = false and isStatic = true 1`] =
|
|
|
487
439
|
fill="currentColor"
|
|
488
440
|
height="1em"
|
|
489
441
|
role="img"
|
|
442
|
+
viewBox="0 0 20 20"
|
|
490
443
|
width="1em"
|
|
491
444
|
>
|
|
492
|
-
<
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
>
|
|
496
|
-
<path
|
|
497
|
-
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"
|
|
498
|
-
/>
|
|
499
|
-
</svg>
|
|
500
|
-
<svg
|
|
501
|
-
class="pf-v6-icon-rh-ui"
|
|
502
|
-
viewBox="0 0 32 32"
|
|
503
|
-
>
|
|
504
|
-
<path
|
|
505
|
-
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"
|
|
506
|
-
/>
|
|
507
|
-
</svg>
|
|
445
|
+
<path
|
|
446
|
+
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"
|
|
447
|
+
/>
|
|
508
448
|
</svg>
|
|
509
449
|
</span>
|
|
510
450
|
</button>
|
|
@@ -572,24 +512,12 @@ exports[`Drawer isExpanded = true and isInline = true and isStatic = false 1`] =
|
|
|
572
512
|
fill="currentColor"
|
|
573
513
|
height="1em"
|
|
574
514
|
role="img"
|
|
515
|
+
viewBox="0 0 20 20"
|
|
575
516
|
width="1em"
|
|
576
517
|
>
|
|
577
|
-
<
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
>
|
|
581
|
-
<path
|
|
582
|
-
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"
|
|
583
|
-
/>
|
|
584
|
-
</svg>
|
|
585
|
-
<svg
|
|
586
|
-
class="pf-v6-icon-rh-ui"
|
|
587
|
-
viewBox="0 0 32 32"
|
|
588
|
-
>
|
|
589
|
-
<path
|
|
590
|
-
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"
|
|
591
|
-
/>
|
|
592
|
-
</svg>
|
|
518
|
+
<path
|
|
519
|
+
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"
|
|
520
|
+
/>
|
|
593
521
|
</svg>
|
|
594
522
|
</span>
|
|
595
523
|
</button>
|
|
@@ -6,7 +6,7 @@ import { Tooltip, TooltipPosition } from '../Tooltip';
|
|
|
6
6
|
import { css } from '@patternfly/react-styles';
|
|
7
7
|
import { useIsomorphicLayoutEffect } from '../../helpers';
|
|
8
8
|
import cssTextMaxWidth from '@patternfly/react-tokens/dist/esm/c_label__text_MaxWidth';
|
|
9
|
-
import
|
|
9
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
10
10
|
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
|
|
11
11
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
12
12
|
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
|
|
@@ -240,7 +240,7 @@ export const Label: React.FunctionComponent<LabelProps> = ({
|
|
|
240
240
|
aria-label={closeBtnAriaLabel || `Close ${children}`}
|
|
241
241
|
{...(isClickableDisabled && { isDisabled: true })}
|
|
242
242
|
{...closeBtnProps}
|
|
243
|
-
icon={<
|
|
243
|
+
icon={<RhMicronsCloseIcon />}
|
|
244
244
|
/>
|
|
245
245
|
);
|
|
246
246
|
|
|
@@ -5,7 +5,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
5
5
|
import { Button } from '../Button';
|
|
6
6
|
import { Label } from './Label';
|
|
7
7
|
import { Tooltip, TooltipPosition } from '../Tooltip';
|
|
8
|
-
import
|
|
8
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
9
9
|
import { fillTemplate } from '../../helpers';
|
|
10
10
|
import { GenerateId } from '../../helpers/GenerateId/GenerateId';
|
|
11
11
|
|
|
@@ -210,7 +210,7 @@ class LabelGroup extends Component<LabelGroupProps, LabelGroupState> {
|
|
|
210
210
|
onClick={onClick}
|
|
211
211
|
id={`remove_group_${id}`}
|
|
212
212
|
aria-labelledby={`remove_group_${id} ${id}`}
|
|
213
|
-
icon={<
|
|
213
|
+
icon={<RhMicronsCloseIcon />}
|
|
214
214
|
/>
|
|
215
215
|
</div>
|
|
216
216
|
);
|