@patternfly/react-core 6.5.0-prerelease.46 → 6.5.0-prerelease.48
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 +10 -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/Alert/AlertIcon.js +10 -10
- package/dist/esm/components/Alert/AlertIcon.js.map +1 -1
- package/dist/esm/components/FormControl/FormControlIcon.js +6 -6
- package/dist/esm/components/FormControl/FormControlIcon.js.map +1 -1
- package/dist/esm/components/HelperText/HelperTextItem.js +6 -6
- package/dist/esm/components/HelperText/HelperTextItem.js.map +1 -1
- package/dist/esm/components/Label/Label.js +10 -10
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggle.js +6 -6
- package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/esm/components/Modal/ModalBoxTitle.js +10 -10
- package/dist/esm/components/Modal/ModalBoxTitle.js.map +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
- package/dist/esm/components/NotificationBadge/NotificationBadge.js +3 -3
- package/dist/esm/components/NotificationBadge/NotificationBadge.js.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js +10 -10
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
- package/dist/esm/components/Progress/ProgressContainer.js +6 -6
- package/dist/esm/components/Progress/ProgressContainer.js.map +1 -1
- package/dist/esm/components/ProgressStepper/ProgressStep.js +6 -6
- package/dist/esm/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/esm/components/Wizard/WizardNavItem.js +4 -4
- package/dist/esm/components/Wizard/WizardNavItem.js.map +1 -1
- package/dist/esm/components/Wizard/WizardToggle.js +3 -3
- package/dist/esm/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/esm/deprecated/components/Modal/ModalBoxTitle.js +10 -10
- package/dist/esm/deprecated/components/Modal/ModalBoxTitle.js.map +1 -1
- package/dist/esm/helpers/constants.js +10 -10
- package/dist/esm/helpers/constants.js.map +1 -1
- package/dist/js/components/Alert/AlertIcon.js +10 -10
- package/dist/js/components/Alert/AlertIcon.js.map +1 -1
- package/dist/js/components/FormControl/FormControlIcon.js +6 -6
- package/dist/js/components/FormControl/FormControlIcon.js.map +1 -1
- package/dist/js/components/HelperText/HelperTextItem.js +6 -6
- package/dist/js/components/HelperText/HelperTextItem.js.map +1 -1
- package/dist/js/components/Label/Label.js +10 -10
- package/dist/js/components/Label/Label.js.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggle.js +6 -6
- package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/js/components/Modal/ModalBoxTitle.js +10 -10
- package/dist/js/components/Modal/ModalBoxTitle.js.map +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
- package/dist/js/components/NotificationBadge/NotificationBadge.js +3 -3
- package/dist/js/components/NotificationBadge/NotificationBadge.js.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js +10 -10
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
- package/dist/js/components/Progress/ProgressContainer.js +6 -6
- package/dist/js/components/Progress/ProgressContainer.js.map +1 -1
- package/dist/js/components/ProgressStepper/ProgressStep.js +6 -6
- package/dist/js/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/js/components/Wizard/WizardNavItem.js +4 -4
- package/dist/js/components/Wizard/WizardNavItem.js.map +1 -1
- package/dist/js/components/Wizard/WizardToggle.js +3 -3
- package/dist/js/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/js/deprecated/components/Modal/ModalBoxTitle.js +10 -10
- package/dist/js/deprecated/components/Modal/ModalBoxTitle.js.map +1 -1
- package/dist/js/helpers/constants.js +10 -10
- package/dist/js/helpers/constants.js.map +1 -1
- package/dist/umd/assets/{output-DArgwQSx.css → output-CT4AeuLf.css} +18436 -18436
- package/dist/umd/react-core.min.js +3 -3
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +3 -3
- package/src/components/Alert/AlertIcon.tsx +10 -10
- package/src/components/Alert/__tests__/AlertIcon.test.tsx +5 -5
- package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +4 -16
- package/src/components/Banner/examples/Banner.md +5 -5
- package/src/components/Banner/examples/BannerStatus.tsx +10 -10
- package/src/components/Button/examples/Button.md +1 -1
- package/src/components/Button/examples/ButtonCircle.tsx +9 -4
- package/src/components/Button/examples/ButtonStateful.tsx +4 -4
- package/src/components/Button/examples/ButtonVariations.tsx +4 -4
- package/src/components/EmptyState/examples/EmptyState.md +0 -1
- package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +7 -3
- package/src/components/ExpandableSection/examples/ExpandableSection.md +1 -1
- package/src/components/ExpandableSection/examples/ExpandableSectionCustomToggle.tsx +2 -2
- package/src/components/ExpandableSection/examples/ExpandableSectionWithHeading.tsx +2 -2
- package/src/components/FileUpload/examples/FileUpload.md +0 -1
- package/src/components/Form/examples/Form.md +1 -1
- package/src/components/Form/examples/FormInvalid.tsx +2 -2
- package/src/components/Form/examples/FormInvalidWithFormAlert.tsx +2 -2
- package/src/components/Form/examples/FormState.tsx +2 -2
- package/src/components/Form/examples/FormValidated.tsx +2 -2
- package/src/components/FormControl/FormControlIcon.tsx +6 -6
- package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +12 -48
- package/src/components/HelperText/HelperTextItem.tsx +6 -6
- package/src/components/Icon/examples/Icon.md +5 -5
- package/src/components/Icon/examples/IconCustomProgress.tsx +2 -2
- package/src/components/Icon/examples/IconProgress.tsx +2 -2
- package/src/components/Icon/examples/IconStatus.tsx +10 -10
- package/src/components/Label/Label.tsx +10 -10
- package/src/components/Label/examples/Label.md +1 -1
- package/src/components/Label/examples/LabelCompact.tsx +3 -3
- package/src/components/Label/examples/LabelCustomRender.tsx +2 -2
- package/src/components/Label/examples/LabelGroupBasic.tsx +4 -4
- package/src/components/Label/examples/LabelGroupCategory.tsx +4 -4
- package/src/components/Label/examples/LabelGroupCategoryRemovable.tsx +2 -2
- package/src/components/Label/examples/LabelGroupEditableAddModal.tsx +3 -3
- package/src/components/Label/examples/LabelGroupOverflow.tsx +7 -7
- package/src/components/Label/examples/LabelGroupVerticalCategoryOverflowRemovable.tsx +2 -2
- package/src/components/LoginPage/examples/LoginPage.md +1 -1
- package/src/components/LoginPage/examples/LoginPageBasic.tsx +2 -2
- package/src/components/LoginPage/examples/LoginPageLanguageSelect.tsx +2 -2
- package/src/components/LoginPage/examples/LoginPageShowHidePassword.tsx +2 -2
- package/src/components/Menu/examples/Menu.md +1 -1
- package/src/components/Menu/examples/MenuWithActions.tsx +2 -2
- package/src/components/Menu/examples/MenuWithDrilldownInitialState.tsx +1 -1
- package/src/components/Menu/examples/MenuWithFavorites.tsx +2 -2
- package/src/components/MenuToggle/MenuToggle.tsx +6 -6
- package/src/components/Modal/ModalBoxTitle.tsx +10 -10
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +20 -80
- package/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap +4 -16
- package/src/components/NotificationBadge/NotificationBadge.tsx +4 -4
- package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +12 -48
- package/src/components/NotificationBadge/examples/NotificationBadge.md +1 -1
- package/src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx +10 -10
- package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +2 -2
- package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +20 -80
- package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +12 -48
- package/src/components/Popover/examples/Popover.md +5 -5
- package/src/components/Popover/examples/PopoverAlert.tsx +10 -10
- package/src/components/Progress/ProgressContainer.tsx +6 -6
- package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +4 -16
- package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +12 -48
- package/src/components/ProgressStepper/ProgressStep.tsx +6 -6
- package/src/components/ProgressStepper/__tests__/ProgressStep.test.tsx +3 -3
- package/src/components/Select/examples/Select.md +1 -1
- package/src/components/Select/examples/SelectOptionVariations.tsx +2 -2
- package/src/components/TextInput/__tests__/__snapshots__/TextInput.test.tsx.snap +8 -32
- package/src/components/Wizard/WizardNavItem.tsx +6 -6
- package/src/components/Wizard/WizardToggle.tsx +4 -4
- package/src/demos/Button/Button.md +1 -1
- package/src/demos/Button/examples/ButtonProgress.tsx +2 -2
- package/src/demos/CardDemos.md +3 -2
- package/src/demos/CustomMenus/CustomMenus.md +1 -1
- package/src/demos/CustomMenus/examples/ActionsMenuDemo.tsx +2 -2
- package/src/demos/DataList/examples/DataListBasic.tsx +9 -9
- package/src/demos/DataListDemo.md +3 -3
- package/src/demos/DescriptionList/DescriptionList.md +3 -1
- package/src/demos/DescriptionList/examples/DescriptionListBasic.tsx +2 -2
- package/src/demos/HelperText.md +3 -3
- package/src/demos/LabelGroupDemos.md +1 -1
- package/src/demos/Masthead.md +1 -1
- package/src/demos/Nav.md +1 -1
- package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
- package/src/demos/Page.md +1 -3
- package/src/demos/PasswordStrength.md +3 -3
- package/src/demos/PrimaryDetail.md +6 -2
- package/src/demos/Tabs.md +2 -2
- package/src/demos/examples/Card/CardAggregateStatus.tsx +18 -18
- package/src/demos/examples/Card/CardEventsView.tsx +5 -5
- package/src/demos/examples/Card/CardHorizontalGrid.tsx +9 -9
- package/src/demos/examples/Card/CardStatus.tsx +11 -23
- package/src/demos/examples/Card/CardStatusTabbed.tsx +6 -6
- package/src/demos/examples/Card/CardUtilizationDemo3.tsx +2 -2
- package/src/demos/examples/PasswordStrength/PasswordStrengthDemo.tsx +7 -7
- package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +6 -6
- package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +6 -6
- package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +6 -6
- package/src/demos/examples/Tabs/TabsOpen.tsx +4 -4
- package/src/demos/examples/Tabs/TabsOpenWithSecondaryTabs.tsx +4 -4
- package/src/deprecated/components/Modal/ModalBoxTitle.tsx +10 -10
- package/src/deprecated/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +20 -80
- package/src/deprecated/components/Tile/examples/Tile.md +1 -1
- package/src/deprecated/components/Tile/examples/TileStacked.tsx +4 -4
- package/src/deprecated/components/Tile/examples/TileStackedWithLargeIcons.tsx +4 -4
- package/src/deprecated/components/Tile/examples/TileWithExtraContent.tsx +4 -4
- package/src/helpers/constants.ts +10 -10
|
@@ -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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","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.47","private":true}
|
|
@@ -2,17 +2,17 @@ import { __rest } from "tslib";
|
|
|
2
2
|
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/Alert/alert.mjs';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
5
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
6
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
7
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
8
|
+
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
9
|
+
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
10
10
|
export const variantIcons = {
|
|
11
|
-
success:
|
|
12
|
-
danger:
|
|
13
|
-
warning:
|
|
14
|
-
info:
|
|
15
|
-
custom:
|
|
11
|
+
success: RhUiCheckCircleFillIcon,
|
|
12
|
+
danger: RhUiErrorFillIcon,
|
|
13
|
+
warning: RhUiWarningFillIcon,
|
|
14
|
+
info: RhUiInformationFillIcon,
|
|
15
|
+
custom: RhUiNotificationFillIcon
|
|
16
16
|
};
|
|
17
17
|
export const AlertIcon = (_a) => {
|
|
18
18
|
var { variant, customIcon, className = '' } = _a, props = __rest(_a, ["variant", "customIcon", "className"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertIcon.js","sourceRoot":"","sources":["../../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,gEAA4D;AACzE,OAAO,
|
|
1
|
+
{"version":3,"file":"AlertIcon.js","sourceRoot":"","sources":["../../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,MAAM,gEAA4D;AACzE,OAAO,uBAAuB,MAAM,qEAAqE,CAAC;AAC1G,OAAO,iBAAiB,MAAM,8DAA8D,CAAC;AAC7F,OAAO,mBAAmB,MAAM,gEAAgE,CAAC;AACjG,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,wBAAwB,MAAM,qEAAqE,CAAC;AAE3G,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,OAAO,EAAE,uBAAuB;IAChC,MAAM,EAAE,iBAAiB;IACzB,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,wBAAwB;CACjC,CAAC;AAWF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAiE,EAAE,EAAE;QAArE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,GAAG,EAAE,OAA4B,EAAvB,KAAK,cAA/C,sCAAiD,CAAF;IACvE,MAAM,IAAI,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IACnC,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,8BAAS,KAAK,IAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,YACxD,UAAU,IAAI,KAAC,IAAI,KAAG,IACnB,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/FormControl/form-control.mjs';
|
|
4
4
|
import { css } from '@patternfly/react-styles';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
6
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
7
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
8
8
|
export const statusIcons = {
|
|
9
|
-
success:
|
|
10
|
-
error:
|
|
11
|
-
warning:
|
|
9
|
+
success: RhUiCheckCircleFillIcon,
|
|
10
|
+
error: RhUiErrorFillIcon,
|
|
11
|
+
warning: RhUiWarningFillIcon
|
|
12
12
|
};
|
|
13
13
|
export const FormControlIcon = (_a) => {
|
|
14
14
|
var { status, customIcon, className } = _a, props = __rest(_a, ["status", "customIcon", "className"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControlIcon.js","sourceRoot":"","sources":["../../../../src/components/FormControl/FormControlIcon.tsx"],"names":[],"mappings":";;AAAA,OAAO,MAAM,6EAAyE;AACtF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"FormControlIcon.js","sourceRoot":"","sources":["../../../../src/components/FormControl/FormControlIcon.tsx"],"names":[],"mappings":";;AAAA,OAAO,MAAM,6EAAyE;AACtF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,uBAAuB,MAAM,qEAAqE,CAAC;AAC1G,OAAO,iBAAiB,MAAM,8DAA8D,CAAC;AAC7F,OAAO,mBAAmB,MAAM,gEAAgE,CAAC;AAEjG,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,uBAAuB;IAChC,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,mBAAmB;CAC7B,CAAC;AAWF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAiE,EAAE,EAAE;QAArE,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,OAAkC,EAA7B,KAAK,cAAzC,qCAA2C,CAAF;IACvE,MAAM,UAAU,GAAG,MAAM,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;IAEjD,OAAO,CACL,6BAAM,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,IAAM,KAAK,cAClG,UAAU,IAAI,KAAC,UAAU,KAAG,IACxB,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,9 +3,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/HelperText/helper-text.mjs';
|
|
4
4
|
import { css } from '@patternfly/react-styles';
|
|
5
5
|
import MinusIcon from '@patternfly/react-icons/dist/esm/icons/minus-icon';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
7
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
8
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
9
9
|
export var HelperTextItemVariant;
|
|
10
10
|
(function (HelperTextItemVariant) {
|
|
11
11
|
HelperTextItemVariant["default"] = "default";
|
|
@@ -15,9 +15,9 @@ export var HelperTextItemVariant;
|
|
|
15
15
|
})(HelperTextItemVariant || (HelperTextItemVariant = {}));
|
|
16
16
|
const defaultVariantIcons = {
|
|
17
17
|
indeterminate: _jsx(MinusIcon, {}),
|
|
18
|
-
warning: _jsx(
|
|
19
|
-
success: _jsx(
|
|
20
|
-
error: _jsx(
|
|
18
|
+
warning: _jsx(RhUiWarningFillIcon, {}),
|
|
19
|
+
success: _jsx(RhUiCheckCircleFillIcon, {}),
|
|
20
|
+
error: _jsx(RhUiErrorFillIcon, {})
|
|
21
21
|
};
|
|
22
22
|
export const HelperTextItem = (_a) => {
|
|
23
23
|
var { children, className, component = 'div', variant = 'default', icon, id, screenReaderText = `${variant} status` } = _a, props = __rest(_a, ["children", "className", "component", "variant", "icon", "id", "screenReaderText"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelperTextItem.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":";;AAAA,OAAO,MAAM,2EAAuE;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,SAAS,MAAM,mDAAmD,CAAC;AAC1E,OAAO,
|
|
1
|
+
{"version":3,"file":"HelperTextItem.js","sourceRoot":"","sources":["../../../../src/components/HelperText/HelperTextItem.tsx"],"names":[],"mappings":";;AAAA,OAAO,MAAM,2EAAuE;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,SAAS,MAAM,mDAAmD,CAAC;AAC1E,OAAO,mBAAmB,MAAM,gEAAgE,CAAC;AACjG,OAAO,uBAAuB,M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EvG,gBAAM,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,aAC5C,QAAQ,EACR,kBAAkB,IAAI,gBAAM,SAAS,EAAC,qBAAqB,mBAAI,gBAAgB,SAAS,IACpF,KACG,CACb,CAAC;AACJ,CAAC,CAAC;AACF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC"}
|
|
@@ -9,11 +9,11 @@ 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
11
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
12
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
13
|
+
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
14
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
15
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
16
|
+
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
17
17
|
const colorStyles = {
|
|
18
18
|
blue: styles.modifiers.blue,
|
|
19
19
|
teal: styles.modifiers.teal,
|
|
@@ -26,11 +26,11 @@ const colorStyles = {
|
|
|
26
26
|
grey: ''
|
|
27
27
|
};
|
|
28
28
|
const statusIcons = {
|
|
29
|
-
success: _jsx(
|
|
30
|
-
warning: _jsx(
|
|
31
|
-
danger: _jsx(
|
|
32
|
-
info: _jsx(
|
|
33
|
-
custom: _jsx(
|
|
29
|
+
success: _jsx(RhUiCheckCircleFillIcon, {}),
|
|
30
|
+
warning: _jsx(RhUiWarningFillIcon, {}),
|
|
31
|
+
danger: _jsx(RhUiErrorFillIcon, {}),
|
|
32
|
+
info: _jsx(RhUiInformationFillIcon, {}),
|
|
33
|
+
custom: _jsx(RhUiNotificationFillIcon, {})
|
|
34
34
|
};
|
|
35
35
|
export const Label = (_a) => {
|
|
36
36
|
var { children, className = '', color = 'grey', variant = 'filled', status, isCompact = false, isDisabled = false, isEditable = false, isClickable: isClickableProp = false, editableProps, textMaxWidth, tooltipPosition, icon, onClose, onClick: onLabelClick, onEditCancel, onEditComplete, closeBtn, closeBtnAriaLabel, closeBtnProps, href, render } = _a, props = __rest(_a, ["children", "className", "color", "variant", "status", "isCompact", "isDisabled", "isEditable", "isClickable", "editableProps", "textMaxWidth", "tooltipPosition", "icon", "onClose", "onClick", "onEditCancel", "onEditComplete", "closeBtn", "closeBtnAriaLabel", "closeBtnProps", "href", "render"]);
|
|
@@ -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,kBAAkB,MAAM,8DAA8D,CAAC;AAC9F,OAAO,
|
|
1
|
+
{"version":3,"file":"Label.js","sourceRoot":"","sources":["../../../../src/components/Label/Label.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,E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AAC,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"}
|
|
@@ -5,9 +5,9 @@ import styles from '@patternfly/react-styles/css/components/MenuToggle/menu-togg
|
|
|
5
5
|
import { css } from '@patternfly/react-styles';
|
|
6
6
|
import CaretDownIcon from '@patternfly/react-icons/dist/esm/icons/caret-down-icon';
|
|
7
7
|
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
8
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
9
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
10
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
11
11
|
import { getOUIAProps } from '../../helpers';
|
|
12
12
|
import { SSRSafeIds } from '../../helpers/SSRSafeIds/SSRSafeIds';
|
|
13
13
|
export var MenuToggleStatus;
|
|
@@ -37,13 +37,13 @@ class MenuToggleBase extends Component {
|
|
|
37
37
|
if (!statusIcon) {
|
|
38
38
|
switch (status) {
|
|
39
39
|
case MenuToggleStatus.success:
|
|
40
|
-
_statusIcon = _jsx(
|
|
40
|
+
_statusIcon = _jsx(RhUiCheckCircleFillIcon, {});
|
|
41
41
|
break;
|
|
42
42
|
case MenuToggleStatus.warning:
|
|
43
|
-
_statusIcon = _jsx(
|
|
43
|
+
_statusIcon = _jsx(RhUiWarningFillIcon, {});
|
|
44
44
|
break;
|
|
45
45
|
case MenuToggleStatus.danger:
|
|
46
|
-
_statusIcon = _jsx(
|
|
46
|
+
_statusIcon = _jsx(RhUiErrorFillIcon, {});
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuToggle.js","sourceRoot":"","sources":["../../../../src/components/MenuToggle/MenuToggle.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,MAAM,2EAAuE;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,OAAO,MAAM,iDAAiD,CAAC;AACtE,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuToggle.js","sourceRoot":"","sources":["../../../../src/components/MenuToggle/MenuToggle.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,MAAM,2EAAuE;AACpF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,OAAO,MAAM,iDAAiD,CAAC;AACtE,OAAO,uBAAuB,MAAM,qEAAqE,CAAC;AAC1G,OAAO,iBAA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AAK;IACnB,aAAa,EAAE,KAAK;IACpB,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,IAAI;CACf,AAVkB,CAUjB;AAiKJ,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAAC,CAAC,KAAsB,EAAE,GAAiC,EAAE,EAAE,CAAC,CAClG,KAAC,cAAc,kBAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,CAC7C,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
|
@@ -5,11 +5,11 @@ import modalStyles from '@patternfly/react-styles/css/components/ModalBox/modal-
|
|
|
5
5
|
import { css } from '@patternfly/react-styles';
|
|
6
6
|
import { capitalize } from '../../helpers';
|
|
7
7
|
import { Tooltip } from '../Tooltip';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
8
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
9
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
10
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
11
|
+
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
12
|
+
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
13
13
|
import { useIsomorphicLayoutEffect } from '../../helpers';
|
|
14
14
|
export const isVariantIcon = (icon) => ['success', 'danger', 'warning', 'info', 'custom'].includes(icon);
|
|
15
15
|
export const ModalBoxTitle = (_a) => {
|
|
@@ -19,11 +19,11 @@ export const ModalBoxTitle = (_a) => {
|
|
|
19
19
|
const label = titleScreenReaderText ||
|
|
20
20
|
(isVariantIcon(titleIconVariant) ? `${capitalize(titleIconVariant)} alert:` : titleScreenReaderText);
|
|
21
21
|
const variantIcons = {
|
|
22
|
-
success: _jsx(
|
|
23
|
-
danger: _jsx(
|
|
24
|
-
warning: _jsx(
|
|
25
|
-
info: _jsx(
|
|
26
|
-
custom: _jsx(
|
|
22
|
+
success: _jsx(RhUiCheckCircleFillIcon, {}),
|
|
23
|
+
danger: _jsx(RhUiErrorFillIcon, {}),
|
|
24
|
+
warning: _jsx(RhUiWarningFillIcon, {}),
|
|
25
|
+
info: _jsx(RhUiInformationFillIcon, {}),
|
|
26
|
+
custom: _jsx(RhUiNotificationFillIcon, {})
|
|
27
27
|
};
|
|
28
28
|
const CustomIcon = !isVariantIcon(titleIconVariant) && titleIconVariant;
|
|
29
29
|
useIsomorphicLayoutEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBoxTitle.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxTitle.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,WAAW,uEAAmE;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"ModalBoxTitle.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxTitle.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,WAAW,uEAAmE;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,uBAAuB,MAAM,qEAAqE,CAAC;AAC1G,OAAO,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AAE,CAAC,OAAO,CAAC,WAAW,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC/E,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,OAAO,GAAG,CACd,4BACE,EAAE,EAAE,EAAE,EACN,GAAG,EAAE,EAAE,EACP,SAAS,EAAE,GAAG,CACZ,WAAW,CAAC,aAAa,EACzB,gBAAgB,IAAI,WAAW,CAAC,SAAS,CAAC,IAAI,EAC9C,aAAa,CAAC,gBAAgB,CAAC,IAAI,WAAW,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAC1E,SAAS,CACV,IACG,KAAK,eAER,gBAAgB,IAAI,CACnB,eAAM,SAAS,EAAE,GAAG,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAChD,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,KAAC,UAAU,KAAG,GAC7E,CACR,EACA,KAAK,IAAI,eAAM,SAAS,EAAC,qBAAqB,YAAE,KAAK,GAAQ,EAC9D,eAAM,SAAS,EAAE,GAAG,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAG,KAAK,GAAQ,KAChE,CACN,CAAC;IAEF,OAAO,UAAU,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,OAAO,EAAE,KAAK,YAAG,OAAO,GAAW,CAAC,CAAC,CAAC,OAAO,CAAC;AAC7E,CAAC,CAAC;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
6
6
|
import { ExpandableSection } from '../ExpandableSection';
|
|
7
7
|
import { useSSRSafeId } from '../../helpers';
|
|
8
8
|
import InProgressIcon from '@patternfly/react-icons/dist/esm/icons/in-progress-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
10
10
|
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
|
|
11
11
|
export const MultipleFileUploadStatus = (_a) => {
|
|
12
12
|
var { children, className, statusToggleText, statusToggleIcon, 'aria-label': ariaLabel } = _a, props = __rest(_a, ["children", "className", "statusToggleText", "statusToggleIcon", 'aria-label']);
|
|
@@ -19,7 +19,7 @@ export const MultipleFileUploadStatus = (_a) => {
|
|
|
19
19
|
setIcon(_jsx(TimesCircleIcon, {}));
|
|
20
20
|
break;
|
|
21
21
|
case 'success':
|
|
22
|
-
setIcon(_jsx(
|
|
22
|
+
setIcon(_jsx(RhUiCheckCircleFillIcon, {}));
|
|
23
23
|
break;
|
|
24
24
|
case 'inProgress':
|
|
25
25
|
setIcon(_jsx(InProgressIcon, {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleFileUploadStatus.js","sourceRoot":"","sources":["../../../../src/components/MultipleFileUpload/MultipleFileUploadStatus.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,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,cAAc,MAAM,yDAAyD,CAAC;AACrF,OAAO,
|
|
1
|
+
{"version":3,"file":"MultipleFileUploadStatus.js","sourceRoot":"","sources":["../../../../src/components/MultipleFileUpload/MultipleFileUploadStatus.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,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAA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GAAG,EAAE;QACnC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,CACL,4BAAK,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,wBAAwB,EAAE,SAAS,CAAC,IAAM,KAAK,cACxE,KAAC,iBAAiB,IAChB,SAAS,EAAE,GAAG,mBAAmB,UAAU,EAC3C,QAAQ,EAAE,GAAG,mBAAmB,SAAS,EACzC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,uBAAuB,YAEjC,aAAI,SAAS,EAAE,GAAG,MAAM,CAAC,wBAAwB,OAAO,EAAE,IAAI,EAAC,MAAM,gBAAa,SAAS,YACxF,QAAQ,GACN,GACa,IAChB,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useState } from 'react';
|
|
4
4
|
import { Button, ButtonVariant } from '../Button';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import RhUiAttentionBellFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-fill-icon';
|
|
6
|
+
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
7
7
|
import styles from '@patternfly/react-styles/css/components/Button/button.mjs';
|
|
8
8
|
import { css } from '@patternfly/react-styles';
|
|
9
9
|
export var NotificationBadgeVariant;
|
|
@@ -14,7 +14,7 @@ export var NotificationBadgeVariant;
|
|
|
14
14
|
NotificationBadgeVariant["plain"] = "plain";
|
|
15
15
|
})(NotificationBadgeVariant || (NotificationBadgeVariant = {}));
|
|
16
16
|
export const NotificationBadge = (_a) => {
|
|
17
|
-
var { children, variant = NotificationBadgeVariant.read, count = 0, attentionIcon = _jsx(
|
|
17
|
+
var { children, variant = NotificationBadgeVariant.read, count = 0, attentionIcon = _jsx(RhUiAttentionBellFillIcon, {}), icon = _jsx(RhUiNotificationFillIcon, {}), className, isExpanded = false, shouldNotify = false, onAnimationEnd } = _a, props = __rest(_a, ["children", "variant", "count", "attentionIcon", "icon", "className", "isExpanded", "shouldNotify", "onAnimationEnd"]);
|
|
18
18
|
const [isAnimating, setIsAnimating] = useState(shouldNotify);
|
|
19
19
|
const hasCount = count > 0;
|
|
20
20
|
const hasChildren = children !== undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationBadge.js","sourceRoot":"","sources":["../../../../src/components/NotificationBadge/NotificationBadge.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,aAAa,EAAe,MAAM,WAAW,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"NotificationBadge.js","sourceRoot":"","sources":["../../../../src/components/NotificationBadge/NotificationBadge.tsx"],"names":[],"mappings":";;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,aAAa,EAAe,MAAM,WAAW,CAAC;AAC/D,OAAO,yBAAyB,MAAM,uEAAuE,CAAC;AAC9G,OAAO,wBAAwB,MAAM,qEAAqE,CAAC;AAC3G,OAAO,MAAM,kEAA8D;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,CAAN,IAAY,wBAKX;AALD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,6CAAiB,CAAA;IACjB,mDAAuB,CAAA;IACvB,2CAAe,CAAA;AACjB,CAAC,EALW,wBAAwB,KAAxB,wBAAwB,QAKnC;AA8BD,MAAM,CAAC,MAAM,iBAAiB,GAAoD,CAAC,EAW1D,EAAE,EAAE;QAXsD,EACjF,QAAQ,EACR,O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aAAd,cAAc,uBAAd,cAAc,CAAG,KAAK,CAAC,CAAC;QACxB,cAAc,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,MAAM,kBACL,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,EAC/D,SAAS,EAAE,eAAe,mBACX,UAAU,EACzB,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,UAAU,EACrB,IAAI,EAAE,gBAAgB,EACtB,cAAc,EAAE,kBAAkB,IAC9B,KAAK,cAER,mBAAmB,IACb,CACV,CAAC;AACJ,CAAC,CAAC;AACF,iBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment, useEffect, useRef, useState } from 'react';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
4
|
+
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
5
|
+
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
6
|
+
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
7
|
+
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
8
|
+
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
9
9
|
import { css } from '@patternfly/react-styles';
|
|
10
10
|
import styles from '@patternfly/react-styles/css/components/NotificationDrawer/notification-drawer.mjs';
|
|
11
11
|
import maxLines from '@patternfly/react-tokens/dist/esm/c_notification_drawer__list_item_header_title_max_lines';
|
|
12
12
|
import { Tooltip } from '../Tooltip';
|
|
13
13
|
export const variantIcons = {
|
|
14
|
-
success:
|
|
15
|
-
danger:
|
|
16
|
-
warning:
|
|
17
|
-
info:
|
|
18
|
-
custom:
|
|
14
|
+
success: RhUiCheckCircleFillIcon,
|
|
15
|
+
danger: RhUiErrorFillIcon,
|
|
16
|
+
warning: RhUiWarningFillIcon,
|
|
17
|
+
info: RhUiInformationFillIcon,
|
|
18
|
+
custom: RhUiNotificationFillIcon
|
|
19
19
|
};
|
|
20
20
|
export const NotificationDrawerListItemHeader = (_a) => {
|
|
21
21
|
var { children, className = '', icon = null, srTitle, title, variant = 'custom', truncateTitle = 0, tooltipPosition, headingLevel: HeadingLevel = 'h2', actionHasNoOffset = false } = _a, props = __rest(_a, ["children", "className", "icon", "srTitle", "title", "variant", "truncateTitle", "tooltipPosition", "headingLevel", "actionHasNoOffset"]);
|