@patternfly/react-core 6.5.0-prerelease.42 → 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 +12 -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/esm/helpers/Popper/thirdparty/popper-core/dom-utils/getDocumentElement.js +1 -1
- package/dist/esm/helpers/Popper/thirdparty/popper-core/dom-utils/getDocumentElement.js.map +1 -1
- package/dist/esm/helpers/Popper/thirdparty/react-popper/usePopper.d.ts.map +1 -1
- package/dist/esm/helpers/Popper/thirdparty/react-popper/usePopper.js +13 -0
- package/dist/esm/helpers/Popper/thirdparty/react-popper/usePopper.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/js/helpers/Popper/thirdparty/popper-core/dom-utils/getDocumentElement.js +1 -1
- package/dist/js/helpers/Popper/thirdparty/popper-core/dom-utils/getDocumentElement.js.map +1 -1
- package/dist/js/helpers/Popper/thirdparty/react-popper/usePopper.d.ts.map +1 -1
- package/dist/js/helpers/Popper/thirdparty/react-popper/usePopper.js +13 -0
- package/dist/js/helpers/Popper/thirdparty/react-popper/usePopper.js.map +1 -1
- package/dist/umd/assets/{output-DBcJobEx.css → output-B_GJqJ5Q.css} +17470 -17470
- 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/src/helpers/Popper/thirdparty/popper-core/dom-utils/getDocumentElement.ts +1 -1
- package/src/helpers/Popper/thirdparty/react-popper/usePopper.ts +15 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-components-deprecated-dynamic","main":"../../../js/deprecated/components/index.js","module":"../../../esm/deprecated/components/index.js","typings":"../../../esm/deprecated/components/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-components-deprecated-dynamic","main":"../../../js/deprecated/components/index.js","module":"../../../esm/deprecated/components/index.js","typings":"../../../esm/deprecated/components/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-animationsprovider.js-dynamic","main":"../../../../js/helpers/AnimationsProvider/AnimationsProvider.js","module":"../../../../esm/helpers/AnimationsProvider/AnimationsProvider.js","typings":"../../../../esm/helpers/AnimationsProvider/AnimationsProvider.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-animationsprovider.js-dynamic","main":"../../../../js/helpers/AnimationsProvider/AnimationsProvider.js","module":"../../../../esm/helpers/AnimationsProvider/AnimationsProvider.js","typings":"../../../../esm/helpers/AnimationsProvider/AnimationsProvider.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-animationsprovider-dynamic","main":"../../../js/helpers/AnimationsProvider/index.js","module":"../../../esm/helpers/AnimationsProvider/index.js","typings":"../../../esm/helpers/AnimationsProvider/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-animationsprovider-dynamic","main":"../../../js/helpers/AnimationsProvider/index.js","module":"../../../esm/helpers/AnimationsProvider/index.js","typings":"../../../esm/helpers/AnimationsProvider/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-focustrap.js-dynamic","main":"../../../../js/helpers/FocusTrap/FocusTrap.js","module":"../../../../esm/helpers/FocusTrap/FocusTrap.js","typings":"../../../../esm/helpers/FocusTrap/FocusTrap.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-focustrap.js-dynamic","main":"../../../../js/helpers/FocusTrap/FocusTrap.js","module":"../../../../esm/helpers/FocusTrap/FocusTrap.js","typings":"../../../../esm/helpers/FocusTrap/FocusTrap.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-generateid.js-dynamic","main":"../../../../js/helpers/GenerateId/GenerateId.js","module":"../../../../esm/helpers/GenerateId/GenerateId.js","typings":"../../../../esm/helpers/GenerateId/GenerateId.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-generateid.js-dynamic","main":"../../../../js/helpers/GenerateId/GenerateId.js","module":"../../../../esm/helpers/GenerateId/GenerateId.js","typings":"../../../../esm/helpers/GenerateId/GenerateId.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-keyboardhandler.js-dynamic","main":"../../../js/helpers/KeyboardHandler.js","module":"../../../esm/helpers/KeyboardHandler.js","typings":"../../../esm/helpers/KeyboardHandler.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-keyboardhandler.js-dynamic","main":"../../../js/helpers/KeyboardHandler.js","module":"../../../esm/helpers/KeyboardHandler.js","typings":"../../../esm/helpers/KeyboardHandler.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-ouia.js-dynamic","main":"../../../../js/helpers/OUIA/ouia.js","module":"../../../../esm/helpers/OUIA/ouia.js","typings":"../../../../esm/helpers/OUIA/ouia.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-ouia.js-dynamic","main":"../../../../js/helpers/OUIA/ouia.js","module":"../../../../esm/helpers/OUIA/ouia.js","typings":"../../../../esm/helpers/OUIA/ouia.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-popper.js-dynamic","main":"../../../../js/helpers/Popper/Popper.js","module":"../../../../esm/helpers/Popper/Popper.js","typings":"../../../../esm/helpers/Popper/Popper.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-popper.js-dynamic","main":"../../../../js/helpers/Popper/Popper.js","module":"../../../../esm/helpers/Popper/Popper.js","typings":"../../../../esm/helpers/Popper/Popper.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-ssrsafeids.js-dynamic","main":"../../../../js/helpers/SSRSafeIds/SSRSafeIds.js","module":"../../../../esm/helpers/SSRSafeIds/SSRSafeIds.js","typings":"../../../../esm/helpers/SSRSafeIds/SSRSafeIds.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-ssrsafeids.js-dynamic","main":"../../../../js/helpers/SSRSafeIds/SSRSafeIds.js","module":"../../../../esm/helpers/SSRSafeIds/SSRSafeIds.js","typings":"../../../../esm/helpers/SSRSafeIds/SSRSafeIds.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-constants.js-dynamic","main":"../../../js/helpers/constants.js","module":"../../../esm/helpers/constants.js","typings":"../../../esm/helpers/constants.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-constants.js-dynamic","main":"../../../js/helpers/constants.js","module":"../../../esm/helpers/constants.js","typings":"../../../esm/helpers/constants.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-datetimeutils.js-dynamic","main":"../../../js/helpers/datetimeUtils.js","module":"../../../esm/helpers/datetimeUtils.js","typings":"../../../esm/helpers/datetimeUtils.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-datetimeutils.js-dynamic","main":"../../../js/helpers/datetimeUtils.js","module":"../../../esm/helpers/datetimeUtils.js","typings":"../../../esm/helpers/datetimeUtils.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-fileutils.js-dynamic","main":"../../../js/helpers/fileUtils.js","module":"../../../esm/helpers/fileUtils.js","typings":"../../../esm/helpers/fileUtils.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-fileutils.js-dynamic","main":"../../../js/helpers/fileUtils.js","module":"../../../esm/helpers/fileUtils.js","typings":"../../../esm/helpers/fileUtils.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-htmlconstants.js-dynamic","main":"../../../js/helpers/htmlConstants.js","module":"../../../esm/helpers/htmlConstants.js","typings":"../../../esm/helpers/htmlConstants.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-htmlconstants.js-dynamic","main":"../../../js/helpers/htmlConstants.js","module":"../../../esm/helpers/htmlConstants.js","typings":"../../../esm/helpers/htmlConstants.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers-dynamic","main":"../../js/helpers/index.js","module":"../../esm/helpers/index.js","typings":"../../esm/helpers/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers-dynamic","main":"../../js/helpers/index.js","module":"../../esm/helpers/index.js","typings":"../../esm/helpers/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-resizeobserver.js-dynamic","main":"../../../js/helpers/resizeObserver.js","module":"../../../esm/helpers/resizeObserver.js","typings":"../../../esm/helpers/resizeObserver.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-resizeobserver.js-dynamic","main":"../../../js/helpers/resizeObserver.js","module":"../../../esm/helpers/resizeObserver.js","typings":"../../../esm/helpers/resizeObserver.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-typeutils.js-dynamic","main":"../../../js/helpers/typeUtils.js","module":"../../../esm/helpers/typeUtils.js","typings":"../../../esm/helpers/typeUtils.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-typeutils.js-dynamic","main":"../../../js/helpers/typeUtils.js","module":"../../../esm/helpers/typeUtils.js","typings":"../../../esm/helpers/typeUtils.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-useinterval.js-dynamic","main":"../../../js/helpers/useInterval.js","module":"../../../esm/helpers/useInterval.js","typings":"../../../esm/helpers/useInterval.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-useinterval.js-dynamic","main":"../../../js/helpers/useInterval.js","module":"../../../esm/helpers/useInterval.js","typings":"../../../esm/helpers/useInterval.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-useisomorphiclayout.js-dynamic","main":"../../../js/helpers/useIsomorphicLayout.js","module":"../../../esm/helpers/useIsomorphicLayout.js","typings":"../../../esm/helpers/useIsomorphicLayout.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-useisomorphiclayout.js-dynamic","main":"../../../js/helpers/useIsomorphicLayout.js","module":"../../../esm/helpers/useIsomorphicLayout.js","typings":"../../../esm/helpers/useIsomorphicLayout.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-usessrsafeid.js-dynamic","main":"../../../js/helpers/useSSRSafeId.js","module":"../../../esm/helpers/useSSRSafeId.js","typings":"../../../esm/helpers/useSSRSafeId.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-usessrsafeid.js-dynamic","main":"../../../js/helpers/useSSRSafeId.js","module":"../../../esm/helpers/useSSRSafeId.js","typings":"../../../esm/helpers/useSSRSafeId.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-useunmounteffect.js-dynamic","main":"../../../js/helpers/useUnmountEffect.js","module":"../../../esm/helpers/useUnmountEffect.js","typings":"../../../esm/helpers/useUnmountEffect.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-useunmounteffect.js-dynamic","main":"../../../js/helpers/useUnmountEffect.js","module":"../../../esm/helpers/useUnmountEffect.js","typings":"../../../esm/helpers/useUnmountEffect.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-util.js-dynamic","main":"../../../js/helpers/util.js","module":"../../../esm/helpers/util.js","typings":"../../../esm/helpers/util.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-util.js-dynamic","main":"../../../js/helpers/util.js","module":"../../../esm/helpers/util.js","typings":"../../../esm/helpers/util.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-bullseye-dynamic","main":"../../../js/layouts/Bullseye/index.js","module":"../../../esm/layouts/Bullseye/index.js","typings":"../../../esm/layouts/Bullseye/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-bullseye-dynamic","main":"../../../js/layouts/Bullseye/index.js","module":"../../../esm/layouts/Bullseye/index.js","typings":"../../../esm/layouts/Bullseye/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-flex-dynamic","main":"../../../js/layouts/Flex/index.js","module":"../../../esm/layouts/Flex/index.js","typings":"../../../esm/layouts/Flex/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-flex-dynamic","main":"../../../js/layouts/Flex/index.js","module":"../../../esm/layouts/Flex/index.js","typings":"../../../esm/layouts/Flex/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-gallery-dynamic","main":"../../../js/layouts/Gallery/index.js","module":"../../../esm/layouts/Gallery/index.js","typings":"../../../esm/layouts/Gallery/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-gallery-dynamic","main":"../../../js/layouts/Gallery/index.js","module":"../../../esm/layouts/Gallery/index.js","typings":"../../../esm/layouts/Gallery/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-grid-dynamic","main":"../../../js/layouts/Grid/index.js","module":"../../../esm/layouts/Grid/index.js","typings":"../../../esm/layouts/Grid/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-grid-dynamic","main":"../../../js/layouts/Grid/index.js","module":"../../../esm/layouts/Grid/index.js","typings":"../../../esm/layouts/Grid/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-level-dynamic","main":"../../../js/layouts/Level/index.js","module":"../../../esm/layouts/Level/index.js","typings":"../../../esm/layouts/Level/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-level-dynamic","main":"../../../js/layouts/Level/index.js","module":"../../../esm/layouts/Level/index.js","typings":"../../../esm/layouts/Level/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-split-dynamic","main":"../../../js/layouts/Split/index.js","module":"../../../esm/layouts/Split/index.js","typings":"../../../esm/layouts/Split/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-split-dynamic","main":"../../../js/layouts/Split/index.js","module":"../../../esm/layouts/Split/index.js","typings":"../../../esm/layouts/Split/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-stack-dynamic","main":"../../../js/layouts/Stack/index.js","module":"../../../esm/layouts/Stack/index.js","typings":"../../../esm/layouts/Stack/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-stack-dynamic","main":"../../../js/layouts/Stack/index.js","module":"../../../esm/layouts/Stack/index.js","typings":"../../../esm/layouts/Stack/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-styles-dynamic","main":"../../js/styles/index.js","module":"../../esm/styles/index.js","typings":"../../esm/styles/index.d.ts","version":"6.5.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-styles-dynamic","main":"../../js/styles/index.js","module":"../../esm/styles/index.js","typings":"../../esm/styles/index.d.ts","version":"6.5.0-prerelease.43","private":true}
|
|
@@ -3,10 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box.mjs';
|
|
5
5
|
import { Button } from '../Button';
|
|
6
|
-
import
|
|
6
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
7
7
|
export const AboutModalBoxCloseButton = (_a) => {
|
|
8
8
|
var { onClose = (_e) => undefined, 'aria-label': ariaLabel = 'Close Dialog' } = _a, props = __rest(_a, ["onClose", 'aria-label']);
|
|
9
|
-
return (_jsx("div", Object.assign({ className: css(styles.aboutModalBoxClose) }, props, { children: _jsx(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel, icon: _jsx(
|
|
9
|
+
return (_jsx("div", Object.assign({ className: css(styles.aboutModalBoxClose) }, props, { children: _jsx(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel, icon: _jsx(RhMicronsCloseIcon, {}) }) })));
|
|
10
10
|
};
|
|
11
11
|
AboutModalBoxCloseButton.displayName = 'AboutModalBoxCloseButton';
|
|
12
12
|
//# sourceMappingURL=AboutModalBoxCloseButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AboutModalBoxCloseButton.js","sourceRoot":"","sources":["../../../../src/components/AboutModal/AboutModalBoxCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,kFAA8E;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"AboutModalBoxCloseButton.js","sourceRoot":"","sources":["../../../../src/components/AboutModal/AboutModalBoxCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,kFAA8E;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,kBAAkB,MAAM,8DAA8D,CAAC;AAS9F,MAAM,CAAC,MAAM,wBAAwB,GAA2D,CAAC,EAIjE,EAAE,EAAE;QAJ6D,EAC/F,OAAO,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,SAAgB,EAClC,YAAY,EAAE,SAAS,GAAG,cAAc,OAEV,EAD3B,KAAK,cAHuF,yBAIhG,CADS;IAC2B,OAAA,CACnC,4BAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAM,KAAK,cACvD,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,gBAAc,SAAS,EAAE,IAAI,EAAE,KAAC,kBAAkB,KAAG,GAAI,IAC7F,CACP,CAAA;CAAA,CAAC;AACF,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useRef, useContext } from 'react';
|
|
4
4
|
import { Button, ButtonVariant } from '../Button';
|
|
5
|
-
import
|
|
5
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
6
6
|
import { AlertContext } from './AlertContext';
|
|
7
7
|
import { AlertGroupContext } from './AlertGroupContext';
|
|
8
8
|
import alertGroupStyles from '@patternfly/react-styles/css/components/Alert/alert-group.mjs';
|
|
@@ -22,7 +22,7 @@ export const AlertActionCloseButton = (_a) => {
|
|
|
22
22
|
onClose();
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
return (_jsx(AlertContext.Consumer, { children: ({ title, variantLabel: alertVariantLabel }) => (_jsx(Button, Object.assign({ ref: closeButtonRef, variant: ButtonVariant.plain, onClick: handleOnClick, "aria-label": ariaLabel === '' ? `Close ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel, className: className, icon: _jsx(
|
|
25
|
+
return (_jsx(AlertContext.Consumer, { children: ({ title, variantLabel: alertVariantLabel }) => (_jsx(Button, Object.assign({ ref: closeButtonRef, variant: ButtonVariant.plain, onClick: handleOnClick, "aria-label": ariaLabel === '' ? `Close ${variantLabel || alertVariantLabel} alert: ${title}` : ariaLabel, className: className, icon: _jsx(RhMicronsCloseIcon, {}) }, props))) }));
|
|
26
26
|
};
|
|
27
27
|
AlertActionCloseButton.displayName = 'AlertActionCloseButton';
|
|
28
28
|
//# sourceMappingURL=AlertActionCloseButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertActionCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Alert/AlertActionCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,aAAa,EAAe,MAAM,WAAW,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"AlertActionCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Alert/AlertActionCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,O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AAc,EACnB,OAAO,EAAE,aAAa,CAAC,KAAK,EAC5B,OAAO,EAAE,aAAa,gBACV,SAAS,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,YAAY,IAAI,iBAAiB,WAAW,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,EACvG,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,KAAC,kBAAkB,KAAG,IACxB,KAAK,EACT,CACH,GACqB,CACzB,CAAC;AACJ,CAAC,CAAC;AACF,sBAAsB,CAAC,WAAW,GAAG,wBAAwB,CAAC"}
|
|
@@ -3,10 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/Drawer/drawer.mjs';
|
|
4
4
|
import { css } from '@patternfly/react-styles';
|
|
5
5
|
import { Button } from '../Button';
|
|
6
|
-
import
|
|
6
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
7
7
|
export const DrawerCloseButton = (_a) => {
|
|
8
8
|
var { className = '', onClose = () => undefined, 'aria-label': ariaLabel = 'Close drawer panel' } = _a, props = __rest(_a, ["className", "onClose", 'aria-label']);
|
|
9
|
-
return (_jsx("div", Object.assign({ className: css(styles.drawerClose, className) }, props, { children: _jsx(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel, icon: _jsx(
|
|
9
|
+
return (_jsx("div", Object.assign({ className: css(styles.drawerClose, className) }, props, { children: _jsx(Button, { variant: "plain", onClick: onClose, "aria-label": ariaLabel, icon: _jsx(RhMicronsCloseIcon, {}) }) })));
|
|
10
10
|
};
|
|
11
11
|
DrawerCloseButton.displayName = 'DrawerCloseButton';
|
|
12
12
|
//# sourceMappingURL=DrawerCloseButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Drawer/DrawerCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,MAAM,kEAA8D;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"DrawerCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Drawer/DrawerCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,MAAM,kEAA8D;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,kBAAkB,MAAM,8DAA8D,CAAC;AAW9F,MAAM,CAAC,MAAM,iBAAiB,GAAoD,CAAC,EAK1D,EAAE,EAAE;QALsD,EACjF,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,GAAG,EAAE,CAAC,SAAgB,EAChC,YAAY,EAAE,SAAS,GAAG,oBAAoB,OAEvB,EADpB,KAAK,cAJyE,sCAKlF,CADS;IACoB,OAAA,CAC5B,4BAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,IAAM,KAAK,cAC3D,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,OAAO,gBAAc,SAAS,EAAE,IAAI,EAAE,KAAC,kBAAkB,KAAG,GAAI,IAC7F,CACP,CAAA;CAAA,CAAC;AACF,iBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
|
|
@@ -8,7 +8,7 @@ import { Tooltip } from '../Tooltip';
|
|
|
8
8
|
import { css } from '@patternfly/react-styles';
|
|
9
9
|
import { useIsomorphicLayoutEffect } from '../../helpers';
|
|
10
10
|
import cssTextMaxWidth from '@patternfly/react-tokens/dist/esm/c_label__text_MaxWidth';
|
|
11
|
-
import
|
|
11
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
12
12
|
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
|
|
13
13
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
14
14
|
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
|
|
@@ -123,7 +123,7 @@ export const Label = (_a) => {
|
|
|
123
123
|
}
|
|
124
124
|
}, [onLabelClick, href, isEditable]);
|
|
125
125
|
const isClickableDisabled = (href || onLabelClick) && isDisabled;
|
|
126
|
-
const defaultCloseButton = (_jsx(Button, Object.assign({ type: "button", variant: "plain", hasNoPadding: true, onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, (isClickableDisabled && { isDisabled: true }), closeBtnProps, { icon: _jsx(
|
|
126
|
+
const defaultCloseButton = (_jsx(Button, Object.assign({ type: "button", variant: "plain", hasNoPadding: true, onClick: onClose, "aria-label": closeBtnAriaLabel || `Close ${children}` }, (isClickableDisabled && { isDisabled: true }), closeBtnProps, { icon: _jsx(RhMicronsCloseIcon, {}) })));
|
|
127
127
|
const closeButton = _jsx("span", { className: css(styles.labelActions), children: closeBtn || defaultCloseButton });
|
|
128
128
|
const textRef = createRef();
|
|
129
129
|
// ref to apply tooltip when rendered is used
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.js","sourceRoot":"","sources":["../../../../src/components/Label/Label.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,MAAM,gEAA4D;AACzE,OAAO,cAAc,sEAAkE;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,OAAO,EAAmB,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,eAAe,MAAM,0DAA0D,CAAC;AACvF,OAAO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AS,CAAC,QAAQ,EAC/C,gBAAgB,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,EACnD,WAAW,IAAI,MAAM,CAAC,SAAS,CAAC,SAAS,EACzC,UAAU,IAAI,MAAM,CAAC,SAAS,CAAC,GAAG,EAClC,SAAS,CACV,EACD,OAAO,EAAE,eAAe,IAAI,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,IAC7D,CAAC,cAAc,KAAK,QAAQ,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,eAEtD,CAAC,gBAAgB,IAAI,mBAAmB,EACxC,CAAC,gBAAgB,IAAI,OAAO,IAAI,WAAW,EAC3C,gBAAgB,IAAI,CACnB,8BACE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,EACnC,IAAI,EAAC,MAAM,EACX,EAAE,EAAC,gBAAgB,EACnB,GAAG,EAAE,gBAAgB,EACrB,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,SAAS,IACf,aAAa,EACjB,CACH,KACc,CAClB,CAAC;AACJ,CAAC,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
7
7
|
import { Button } from '../Button';
|
|
8
8
|
import { Label } from './Label';
|
|
9
9
|
import { Tooltip } from '../Tooltip';
|
|
10
|
-
import
|
|
10
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
11
11
|
import { fillTemplate } from '../../helpers';
|
|
12
12
|
import { GenerateId } from '../../helpers/GenerateId/GenerateId';
|
|
13
13
|
class LabelGroup extends Component {
|
|
@@ -50,7 +50,7 @@ class LabelGroup extends Component {
|
|
|
50
50
|
const renderLabelGroup = (id) => {
|
|
51
51
|
const labelArray = !isOpen ? renderedChildren.slice(0, numLabels) : renderedChildren;
|
|
52
52
|
const content = (_jsxs(Fragment, { children: [categoryName && this.renderLabel(id), _jsxs("ul", Object.assign({ className: css(styles.labelGroupList) }, (categoryName && { 'aria-labelledby': id }), (!categoryName && { 'aria-label': ariaLabel }), { role: "list" }, rest, { children: [labelArray.map((child, i) => (_jsx("li", { className: css(styles.labelGroupListItem), children: child }, i))), numChildren > numLabels && (_jsx("li", { className: css(styles.labelGroupListItem), children: _jsx(Label, { variant: "overflow", onClick: this.toggleCollapse, className: css(isCompact && labelStyles.modifiers.compact), children: isOpen ? expandedText : collapsedTextResult }) })), addLabelControl && _jsx("li", { className: css(styles.labelGroupListItem), children: addLabelControl }), isEditable && hasEditableTextArea && (_jsx("li", { className: css(styles.labelGroupListItem, styles.modifiers.textarea), children: _jsx("textarea", Object.assign({ className: css(styles.labelGroupTextarea), rows: 1, tabIndex: 0 }, editableTextAreaProps)) }))] }))] }));
|
|
53
|
-
const close = (_jsx("div", { className: css(styles.labelGroupClose), children: _jsx(Button, { variant: "plain", size: "sm", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}`, icon: _jsx(
|
|
53
|
+
const close = (_jsx("div", { className: css(styles.labelGroupClose), children: _jsx(Button, { variant: "plain", size: "sm", "aria-label": closeBtnAriaLabel, onClick: onClick, id: `remove_group_${id}`, "aria-labelledby": `remove_group_${id} ${id}`, icon: _jsx(RhMicronsCloseIcon, {}) }) }));
|
|
54
54
|
return (_jsxs("div", { className: css(styles.labelGroup, className, categoryName && styles.modifiers.category, isVertical && styles.modifiers.vertical, isEditable && styles.modifiers.editable), children: [_jsx("div", { className: css(styles.labelGroupMain), children: content }), isClosable && close] }));
|
|
55
55
|
};
|
|
56
56
|
return numChildren === 0 && addLabelControl === undefined ? null : (_jsx(GenerateId, { children: (randomId) => renderLabelGroup(this.props.id || randomId) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelGroup.js","sourceRoot":"","sources":["../../../../src/components/Label/LabelGroup.tsx"],"names":[],"mappings":";;AAAA,OAA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AAU,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,EACvC,UAAU,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CACxC,aAEA,cAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,YAAG,OAAO,GAAO,EAC3D,UAAU,IAAI,KAAK,IAChB,CACP,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO,WAAW,KAAK,CAAC,IAAI,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACjE,KAAC,UAAU,cAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAC,GAAc,CACrF,CAAC;IACJ,CAAC;;AAtKM,sBAAW,GAAG,YAAY,AAAf,CAAgB;AAU3B,uBAAY,GAAoB;IACrC,YAAY,EAAE,WAAW;IACzB,aAAa,EAAE,mBAAmB;IAClC,YAAY,EAAE,EAAE;IAChB,aAAa,EAAE,KAAK;IACpB,SAAS,EAAE,CAAC;IACZ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE,KAAK;IAEhB,OAAO,EAAE,CAAC,EAAoB,EAAE,EAAE,CAAC,SAAgB;IACnD,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,KAAK;IACtB,YAAY,EAAE,sBAAsB;IACpC,UAAU,EAAE,KAAK;IACjB,UAAU,EAAE,KAAK;IACjB,mBAAmB,EAAE,KAAK;CAC3B,AAhBkB,CAgBjB;AA+IJ,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -3,10 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import styles from '@patternfly/react-styles/css/components/ModalBox/modal-box.mjs';
|
|
5
5
|
import { Button } from '../Button';
|
|
6
|
-
import
|
|
6
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
7
7
|
export const ModalBoxCloseButton = (_a) => {
|
|
8
8
|
var { className, onClose, 'aria-label': ariaLabel = 'Close', ouiaId } = _a, props = __rest(_a, ["className", "onClose", 'aria-label', "ouiaId"]);
|
|
9
|
-
return (_jsx("div", { className: css(styles.modalBoxClose, className), children: _jsx(Button, Object.assign({ variant: "plain", onClick: (event) => onClose(event), "aria-label": ariaLabel }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props, { icon: _jsx(
|
|
9
|
+
return (_jsx("div", { className: css(styles.modalBoxClose, className), children: _jsx(Button, Object.assign({ variant: "plain", onClick: (event) => onClose(event), "aria-label": ariaLabel }, (ouiaId && { ouiaId: `${ouiaId}-${ModalBoxCloseButton.displayName}` }), props, { icon: _jsx(RhMicronsCloseIcon, {}) })) }));
|
|
10
10
|
};
|
|
11
11
|
ModalBoxCloseButton.displayName = 'ModalBoxCloseButton';
|
|
12
12
|
//# sourceMappingURL=ModalBoxCloseButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBoxCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,uEAAmE;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"ModalBoxCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,uEAAmE;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,kBAAkB,MAAM,8DAA8D,CAAC;AAc9F,MAAM,CAAC,MAAM,mBAAmB,GAAsD,CAAC,EAM5D,EAAE,EAAE;QANwD,EACrF,SAAS,EACT,OAAO,EACP,YAAY,EAAE,SAAS,GAAG,OAAO,EACjC,MAAM,OAEmB,EADtB,KAAK,cAL6E,gDAMtF,CADS;IACsB,OAAA,CAC9B,cAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,EAAE,SAAS,CAAC,YAClD,KAAC,MAAM,kBACL,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,gBACtB,SAAS,IACjB,CAAC,MAAM,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,mBAAmB,CAAC,WAAW,EAAE,EAAE,CAAC,EACtE,KAAK,IACT,IAAI,EAAE,KAAC,kBAAkB,KAAG,IAC5B,GACE,CACP,CAAA;CAAA,CAAC;AACF,mBAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
6
6
|
import { Progress } from '../Progress';
|
|
7
7
|
import { Button } from '../Button';
|
|
8
8
|
import FileIcon from '@patternfly/react-icons/dist/esm/icons/file-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
10
10
|
export const MultipleFileUploadStatusItem = (_a) => {
|
|
11
11
|
var { className, file, fileIcon, onReadStarted = () => { }, onReadFinished = () => { }, onReadSuccess = () => { }, onReadFail = () => { }, onClearClick = () => { }, customFileHandler, fileName, fileSize, progressValue, progressVariant, progressAriaLabel, progressAriaLabelledBy, progressAriaDescribedBy, progressId, progressAriaLiveMessage, buttonAriaLabel = 'Remove from list', progressHelperText } = _a, props = __rest(_a, ["className", "file", "fileIcon", "onReadStarted", "onReadFinished", "onReadSuccess", "onReadFail", "onClearClick", "customFileHandler", "fileName", "fileSize", "progressValue", "progressVariant", "progressAriaLabel", "progressAriaLabelledBy", "progressAriaDescribedBy", "progressId", "progressAriaLiveMessage", "buttonAriaLabel", "progressHelperText"]);
|
|
12
12
|
const [loadPercentage, setLoadPercentage] = useState(0);
|
|
@@ -61,7 +61,7 @@ export const MultipleFileUploadStatusItem = (_a) => {
|
|
|
61
61
|
const title = (_jsxs("span", { className: styles.multipleFileUploadStatusItemProgress, children: [_jsx("span", { className: styles.multipleFileUploadStatusItemProgressText, children: fileName || (file === null || file === void 0 ? void 0 : file.name) || '' }), _jsx("span", { className: styles.multipleFileUploadStatusItemProgressSize, children: fileSize || getHumanReadableFileSize((file === null || file === void 0 ? void 0 : file.size) || 0) })] }));
|
|
62
62
|
return (_jsxs("li", Object.assign({ className: css(styles.multipleFileUploadStatusItem, className) }, props, { children: [_jsx("div", { className: styles.multipleFileUploadStatusItemIcon, children: fileIcon || _jsx(FileIcon, {}) }), _jsxs("div", { className: styles.multipleFileUploadStatusItemMain, children: [_jsxs("div", { className: "pf-v6-screen-reader", "aria-live": "polite", children: [progressAriaLiveMessage &&
|
|
63
63
|
typeof progressAriaLiveMessage === 'function' &&
|
|
64
|
-
progressAriaLiveMessage(+loadPercentage.toFixed(2)), progressAriaLiveMessage && typeof progressAriaLiveMessage === 'string' && progressAriaLiveMessage, !progressAriaLiveMessage && `Progress value is ${progressValue || Math.floor(loadPercentage)}%.`] }), _jsx(Progress, { title: title, value: value, variant: variant, "aria-label": progressAriaLabel, "aria-labelledby": progressAriaLabelledBy, "aria-describedby": progressAriaDescribedBy, id: progressId, helperText: progressHelperText })] }), _jsx("div", { className: `${styles.multipleFileUploadStatusItem}-close`, children: _jsx(Button, { variant: "plain", "aria-label": buttonAriaLabel, onClick: onClearClick, icon: _jsx(
|
|
64
|
+
progressAriaLiveMessage(+loadPercentage.toFixed(2)), progressAriaLiveMessage && typeof progressAriaLiveMessage === 'string' && progressAriaLiveMessage, !progressAriaLiveMessage && `Progress value is ${progressValue || Math.floor(loadPercentage)}%.`] }), _jsx(Progress, { title: title, value: value, variant: variant, "aria-label": progressAriaLabel, "aria-labelledby": progressAriaLabelledBy, "aria-describedby": progressAriaDescribedBy, id: progressId, helperText: progressHelperText })] }), _jsx("div", { className: `${styles.multipleFileUploadStatusItem}-close`, children: _jsx(Button, { variant: "plain", "aria-label": buttonAriaLabel, onClick: onClearClick, icon: _jsx(RhMicronsCloseIcon, {}) }) })] })));
|
|
65
65
|
};
|
|
66
66
|
MultipleFileUploadStatusItem.displayName = 'MultipleFileUploadStatusItem';
|
|
67
67
|
//# sourceMappingURL=MultipleFileUploadStatusItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleFileUploadStatusItem.js","sourceRoot":"","sources":["../../../../src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,MAAM,4FAAwF;AACrG,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,QAAQ,MAAM,kDAAkD,CAAC;AACxE,OAAO,
|
|
1
|
+
{"version":3,"file":"MultipleFileUploadStatusItem.js","sourceRoot":"","sources":["../../../../src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,MAAM,4FAAwF;AACrG,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,QAAQ,MAAM,kDAAkD,CAAC;AACxE,OAAO,kBAAkB,MAAM,8DAA8D,CAAC;AAwD9F,MAAM,CAAC,MAAM,4BAA4B,GAA+D,CAAC,E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AS,EAAE,GAAG,MAAM,CAAC,4BAA4B,QAAQ,YAC5D,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,gBAAa,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,KAAC,kBAAkB,KAAG,GAAI,GACxG,KACH,CACN,CAAC;AACJ,CAAC,CAAC;AAEF,4BAA4B,CAAC,WAAW,GAAG,8BAA8B,CAAC"}
|
|
@@ -2,11 +2,11 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import styles from '@patternfly/react-styles/css/components/NotificationDrawer/notification-drawer.mjs';
|
|
5
|
-
import
|
|
5
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
6
6
|
import { Button, ButtonVariant } from '../Button';
|
|
7
7
|
export const NotificationDrawerHeader = (_a) => {
|
|
8
8
|
var { children, className = '', count, closeButtonAriaLabel = 'Close', customText, onClose, title = 'Notifications', unreadText = 'unread' } = _a, props = __rest(_a, ["children", "className", "count", "closeButtonAriaLabel", "customText", "onClose", "title", "unreadText"]);
|
|
9
|
-
return (_jsxs("div", Object.assign({}, props, { className: css(styles.notificationDrawerHeader, className), children: [_jsx("h1", { className: css(styles.notificationDrawerHeaderTitle), children: title }), (customText !== undefined || count !== undefined) && (_jsx("span", { className: css(styles.notificationDrawerHeaderStatus), "aria-live": "polite", children: customText || `${count} ${unreadText}` })), (children || onClose) && (_jsxs("div", { className: css(styles.notificationDrawerHeaderAction), children: [children, onClose && (_jsx("div", { children: _jsx(Button, { variant: ButtonVariant.plain, "aria-label": closeButtonAriaLabel, onClick: (event) => onClose(event), icon: _jsx(
|
|
9
|
+
return (_jsxs("div", Object.assign({}, props, { className: css(styles.notificationDrawerHeader, className), children: [_jsx("h1", { className: css(styles.notificationDrawerHeaderTitle), children: title }), (customText !== undefined || count !== undefined) && (_jsx("span", { className: css(styles.notificationDrawerHeaderStatus), "aria-live": "polite", children: customText || `${count} ${unreadText}` })), (children || onClose) && (_jsxs("div", { className: css(styles.notificationDrawerHeaderAction), children: [children, onClose && (_jsx("div", { children: _jsx(Button, { variant: ButtonVariant.plain, "aria-label": closeButtonAriaLabel, onClick: (event) => onClose(event), icon: _jsx(RhMicronsCloseIcon, {}) }) }))] }))] })));
|
|
10
10
|
};
|
|
11
11
|
NotificationDrawerHeader.displayName = 'NotificationDrawerHeader';
|
|
12
12
|
//# sourceMappingURL=NotificationDrawerHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationDrawerHeader.js","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerHeader.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,2FAAuF;AACpG,OAAO,
|
|
1
|
+
{"version":3,"file":"NotificationDrawerHeader.js","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerHeader.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,2FAAuF;AACpG,OAAO,kBAAkB,MAAM,8DAA8D,CAAC;AAC9F,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAqBlD,MAAM,CAAC,MAAM,wBAAwB,GAA2D,CAAC,EAUjE,EAAE,EAAE;QAV6D,EAC/F,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,KAAK,EACL,oBAAoB,GAAG,OAAO,EAC9B,UAAU,EACV,OAAO,EACP,KAAK,GAAG,eAAe,EACvB,UAAU,GAAG,QAAQ,OAES,EAD3B,KAAK,cATuF,0GAUhG,CADS;IAC2B,OAAA,CACnC,+BAAS,KAAK,IAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,aACxE,aAAI,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,6BAA6B,CAAC,YAAG,KAAK,GAAM,EACrE,CAAC,UAAU,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,CAAC,IAAI,CACpD,eAAM,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,8BAA8B,CAAC,eAAY,QAAQ,YAC5E,UAAU,IAAI,GAAG,KAAK,IAAI,UAAU,EAAE,GAClC,CACR,EACA,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,CACxB,eAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,8BAA8B,CAAC,aACvD,QAAQ,EACR,OAAO,IAAI,CACV,wBACE,KAAC,MAAM,IACL,OAAO,EAAE,aAAa,CAAC,KAAK,gBAChB,oBAAoB,EAChC,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAClC,IAAI,EAAE,KAAC,kBAAkB,KAAG,GAC5B,GACE,CACP,IACG,CACP,KACG,CACP,CAAA;CAAA,CAAC;AACF,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC"}
|
|
@@ -3,10 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import styles from '@patternfly/react-styles/css/components/Popover/popover.mjs';
|
|
5
5
|
import { Button } from '../Button';
|
|
6
|
-
import
|
|
6
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
7
7
|
export const PopoverCloseButton = (_a) => {
|
|
8
8
|
var { onClose = () => undefined } = _a, props = __rest(_a, ["onClose"]);
|
|
9
|
-
return (_jsx("div", { className: css(styles.popoverClose), children: _jsx(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' }, icon: _jsx(
|
|
9
|
+
return (_jsx("div", { className: css(styles.popoverClose), children: _jsx(Button, Object.assign({ onClick: onClose, variant: "plain", "aria-label": true }, props, { style: { pointerEvents: 'auto' }, icon: _jsx(RhMicronsCloseIcon, {}) })) }));
|
|
10
10
|
};
|
|
11
11
|
PopoverCloseButton.displayName = 'PopoverCloseButton';
|
|
12
12
|
//# sourceMappingURL=PopoverCloseButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Popover/PopoverCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,oEAAgE;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"PopoverCloseButton.js","sourceRoot":"","sources":["../../../../src/components/Popover/PopoverCloseButton.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,oEAAgE;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,kBAAkB,MAAM,8DAA8D,CAAC;AAE9F,MAAM,CAAC,MAAM,kBAAkB,GAAqD,CAAC,EAG3D,EAAE,EAAE;QAHuD,EACnF,OAAO,GAAG,GAAG,EAAE,CAAC,SAAiB,OAET,EADrB,KAAK,cAF2E,WAGpF,CADS;IACqB,OAAA,CAC7B,cAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,YACtC,KAAC,MAAM,kBACL,OAAO,EAAE,OAAO,EAChB,OAAO,EAAC,OAAO,wBAEX,KAAK,IACT,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,EAChC,IAAI,EAAE,KAAC,kBAAkB,KAAG,IAC5B,GACE,CACP,CAAA;CAAA,CAAC;AAEF,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC"}
|
|
@@ -7,7 +7,7 @@ import { Badge } from '../Badge';
|
|
|
7
7
|
import { Icon } from '../Icon';
|
|
8
8
|
import AngleDownIcon from '@patternfly/react-icons/dist/esm/icons/angle-down-icon';
|
|
9
9
|
import AngleUpIcon from '@patternfly/react-icons/dist/esm/icons/angle-up-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
11
11
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
12
12
|
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
|
|
13
13
|
import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
|
|
@@ -139,11 +139,11 @@ const SearchInputBase = (_a) => {
|
|
|
139
139
|
const renderUtilities = value && (resultsCount || (!!onNextClick && !!onPreviousClick) || (!!onClear && !expandableInput));
|
|
140
140
|
const buildTextInputGroup = (_a = {}) => {
|
|
141
141
|
var searchInputProps = __rest(_a, []);
|
|
142
|
-
return (_jsxs(TextInputGroup, Object.assign({ isDisabled: isDisabled }, searchInputProps, { children: [_jsx(TextInputGroupMain, { hint: hint, icon: _jsx(SearchIcon, {}), innerRef: searchInputInputRef, value: searchValue, placeholder: placeholder, "aria-label": ariaLabel, onKeyDown: onEnter, onChange: onChangeHandler, name: name, inputId: searchInputId, inputProps: inputProps }), (renderUtilities || areUtilitiesDisplayed) && (_jsxs(TextInputGroupUtilities, { children: [resultsCount && (_jsx(Badge, { isRead: true, screenReaderText: resultsCountContext, children: resultsCount })), !!onNextClick && !!onPreviousClick && (_jsxs("div", { className: textInputGroupStyles.textInputGroupGroup, children: [_jsx(Button, { variant: ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick, icon: _jsx(AngleUpIcon, {}) }), _jsx(Button, { variant: ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick, icon: _jsx(AngleDownIcon, {}) })] })), !!onClear && !expandableInput && (_jsx(Button, { variant: ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput, icon: _jsx(
|
|
142
|
+
return (_jsxs(TextInputGroup, Object.assign({ isDisabled: isDisabled }, searchInputProps, { children: [_jsx(TextInputGroupMain, { hint: hint, icon: _jsx(SearchIcon, {}), innerRef: searchInputInputRef, value: searchValue, placeholder: placeholder, "aria-label": ariaLabel, onKeyDown: onEnter, onChange: onChangeHandler, name: name, inputId: searchInputId, inputProps: inputProps }), (renderUtilities || areUtilitiesDisplayed) && (_jsxs(TextInputGroupUtilities, { children: [resultsCount && (_jsx(Badge, { isRead: true, screenReaderText: resultsCountContext, children: resultsCount })), !!onNextClick && !!onPreviousClick && (_jsxs("div", { className: textInputGroupStyles.textInputGroupGroup, children: [_jsx(Button, { variant: ButtonVariant.plain, "aria-label": previousNavigationButtonAriaLabel, isDisabled: isDisabled || isPreviousNavigationButtonDisabled, onClick: onPreviousClick, icon: _jsx(AngleUpIcon, {}) }), _jsx(Button, { variant: ButtonVariant.plain, "aria-label": nextNavigationButtonAriaLabel, isDisabled: isDisabled || isNextNavigationButtonDisabled, onClick: onNextClick, icon: _jsx(AngleDownIcon, {}) })] })), !!onClear && !expandableInput && (_jsx(Button, { variant: ButtonVariant.plain, isDisabled: isDisabled, "aria-label": resetButtonLabel, onClick: onClearInput, icon: _jsx(RhMicronsCloseIcon, {}) }))] }))] })));
|
|
143
143
|
};
|
|
144
144
|
const expandToggleButton = (_jsx(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: _jsx(SearchIcon, {}), onClick: onExpandHandler, ref: searchInputExpandableToggleRef }));
|
|
145
|
-
const collapseToggleButton = (_jsx(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: _jsx(
|
|
146
|
-
const singleButtonToggle = (_jsx(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: isExpanded ? _jsx(
|
|
145
|
+
const collapseToggleButton = (_jsx(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: _jsx(RhMicronsCloseIcon, {}), onClick: onExpandHandler }));
|
|
146
|
+
const singleButtonToggle = (_jsx(Button, { variant: ButtonVariant.plain, "aria-label": toggleAriaLabel, "aria-expanded": isExpanded, icon: isExpanded ? _jsx(RhMicronsCloseIcon, {}) : _jsx(SearchIcon, {}), onClick: onExpandHandler, ref: searchInputExpandableToggleRef }));
|
|
147
147
|
const onTransitionEnd = () => {
|
|
148
148
|
var _a;
|
|
149
149
|
!isExpanded && focusAfterExpandChange && ((_a = searchInputExpandableToggleRef === null || searchInputExpandableToggleRef === void 0 ? void 0 : searchInputExpandableToggleRef.current) === null || _a === void 0 ? void 0 : _a.focus());
|