@patternfly/react-core 5.0.0-alpha.79 → 5.0.0-alpha.80
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/dist/esm/components/AboutModal/package.json +1 -1
- package/dist/esm/components/Accordion/package.json +1 -1
- package/dist/esm/components/ActionList/package.json +1 -1
- package/dist/esm/components/Alert/Alert.d.ts +2 -2
- package/dist/esm/components/Alert/Alert.d.ts.map +1 -1
- package/dist/esm/components/Alert/Alert.js +2 -2
- package/dist/esm/components/Alert/Alert.js.map +1 -1
- package/dist/esm/components/Alert/AlertIcon.d.ts +2 -2
- package/dist/esm/components/Alert/AlertIcon.d.ts.map +1 -1
- package/dist/esm/components/Alert/AlertIcon.js +1 -1
- package/dist/esm/components/Alert/AlertIcon.js.map +1 -1
- package/dist/esm/components/Alert/package.json +1 -1
- package/dist/esm/components/Avatar/package.json +1 -1
- package/dist/esm/components/BackToTop/package.json +1 -1
- package/dist/esm/components/Backdrop/package.json +1 -1
- package/dist/esm/components/BackgroundImage/package.json +1 -1
- package/dist/esm/components/Badge/package.json +1 -1
- package/dist/esm/components/Banner/package.json +1 -1
- package/dist/esm/components/Brand/package.json +1 -1
- package/dist/esm/components/Breadcrumb/package.json +1 -1
- package/dist/esm/components/Button/package.json +1 -1
- package/dist/esm/components/CalendarMonth/package.json +1 -1
- package/dist/esm/components/Card/package.json +1 -1
- package/dist/esm/components/Checkbox/package.json +1 -1
- package/dist/esm/components/Chip/package.json +1 -1
- package/dist/esm/components/ChipGroup/package.json +1 -1
- package/dist/esm/components/ClipboardCopy/package.json +1 -1
- package/dist/esm/components/CodeBlock/package.json +1 -1
- package/dist/esm/components/DataList/package.json +1 -1
- package/dist/esm/components/DatePicker/package.json +1 -1
- package/dist/esm/components/DescriptionList/package.json +1 -1
- package/dist/esm/components/Divider/package.json +1 -1
- package/dist/esm/components/DragDrop/package.json +1 -1
- package/dist/esm/components/Drawer/package.json +1 -1
- package/dist/esm/components/Dropdown/package.json +1 -1
- package/dist/esm/components/DualListSelector/package.json +1 -1
- package/dist/esm/components/EmptyState/package.json +1 -1
- package/dist/esm/components/ExpandableSection/package.json +1 -1
- package/dist/esm/components/FileUpload/package.json +1 -1
- package/dist/esm/components/Form/package.json +1 -1
- package/dist/esm/components/FormSelect/package.json +1 -1
- package/dist/esm/components/HelperText/package.json +1 -1
- package/dist/esm/components/Hint/package.json +1 -1
- package/dist/esm/components/Icon/package.json +1 -1
- package/dist/esm/components/InputGroup/package.json +1 -1
- package/dist/esm/components/JumpLinks/package.json +1 -1
- package/dist/esm/components/Label/package.json +1 -1
- package/dist/esm/components/LabelGroup/package.json +1 -1
- package/dist/esm/components/List/package.json +1 -1
- package/dist/esm/components/LoginPage/package.json +1 -1
- package/dist/esm/components/Masthead/package.json +1 -1
- package/dist/esm/components/Menu/package.json +1 -1
- package/dist/esm/components/MenuToggle/package.json +1 -1
- package/dist/esm/components/Modal/Modal.d.ts +1 -1
- package/dist/esm/components/Modal/Modal.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalBoxTitle.d.ts +1 -1
- package/dist/esm/components/Modal/ModalBoxTitle.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalBoxTitle.js +2 -2
- package/dist/esm/components/Modal/ModalBoxTitle.js.map +1 -1
- package/dist/esm/components/Modal/ModalContent.d.ts +1 -1
- package/dist/esm/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalContent.js +1 -2
- package/dist/esm/components/Modal/ModalContent.js.map +1 -1
- package/dist/esm/components/Modal/package.json +1 -1
- package/dist/esm/components/MultipleFileUpload/package.json +1 -1
- package/dist/esm/components/Nav/package.json +1 -1
- package/dist/esm/components/NotificationBadge/package.json +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItem.js +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItem.js.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts +2 -2
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js +2 -2
- package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
- package/dist/esm/components/NotificationDrawer/package.json +1 -1
- package/dist/esm/components/NumberInput/package.json +1 -1
- package/dist/esm/components/OverflowMenu/package.json +1 -1
- package/dist/esm/components/Page/package.json +1 -1
- package/dist/esm/components/Pagination/package.json +1 -1
- package/dist/esm/components/Panel/package.json +1 -1
- package/dist/esm/components/Popover/Popover.d.ts +1 -1
- package/dist/esm/components/Popover/Popover.d.ts.map +1 -1
- package/dist/esm/components/Popover/Popover.js +1 -1
- package/dist/esm/components/Popover/Popover.js.map +1 -1
- package/dist/esm/components/Popover/PopoverHeader.d.ts +1 -1
- package/dist/esm/components/Popover/PopoverHeader.d.ts.map +1 -1
- package/dist/esm/components/Popover/package.json +1 -1
- package/dist/esm/components/Progress/package.json +1 -1
- package/dist/esm/components/ProgressStepper/package.json +1 -1
- package/dist/esm/components/Radio/package.json +1 -1
- package/dist/esm/components/SearchInput/package.json +1 -1
- package/dist/esm/components/Select/package.json +1 -1
- package/dist/esm/components/Sidebar/package.json +1 -1
- package/dist/esm/components/SimpleList/package.json +1 -1
- package/dist/esm/components/Skeleton/package.json +1 -1
- package/dist/esm/components/SkipToContent/package.json +1 -1
- package/dist/esm/components/Slider/package.json +1 -1
- package/dist/esm/components/Spinner/package.json +1 -1
- package/dist/esm/components/Switch/package.json +1 -1
- package/dist/esm/components/Tabs/package.json +1 -1
- package/dist/esm/components/Text/package.json +1 -1
- package/dist/esm/components/TextArea/package.json +1 -1
- package/dist/esm/components/TextInput/package.json +1 -1
- package/dist/esm/components/TextInputGroup/package.json +1 -1
- package/dist/esm/components/Tile/package.json +1 -1
- package/dist/esm/components/TimePicker/package.json +1 -1
- package/dist/esm/components/Timestamp/package.json +1 -1
- package/dist/esm/components/Title/package.json +1 -1
- package/dist/esm/components/ToggleGroup/package.json +1 -1
- package/dist/esm/components/Toolbar/package.json +1 -1
- package/dist/esm/components/Tooltip/package.json +1 -1
- package/dist/esm/components/TreeView/package.json +1 -1
- package/dist/esm/components/Truncate/package.json +1 -1
- package/dist/esm/components/Wizard/hooks/package.json +1 -1
- package/dist/esm/components/Wizard/package.json +1 -1
- package/dist/esm/components/package.json +1 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/package.json +1 -1
- package/dist/esm/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/esm/deprecated/components/Dropdown/package.json +1 -1
- package/dist/esm/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/esm/deprecated/components/PageHeader/package.json +1 -1
- package/dist/esm/deprecated/components/Select/package.json +1 -1
- package/dist/esm/deprecated/components/Wizard/package.json +1 -1
- package/dist/esm/deprecated/components/package.json +1 -1
- package/dist/esm/deprecated/package.json +1 -1
- package/dist/esm/helpers/Popper/thirdparty/popper-core/package.json +1 -1
- package/dist/esm/helpers/package.json +1 -1
- package/dist/esm/layouts/Bullseye/package.json +1 -1
- package/dist/esm/layouts/Flex/package.json +1 -1
- package/dist/esm/layouts/Gallery/package.json +1 -1
- package/dist/esm/layouts/Grid/package.json +1 -1
- package/dist/esm/layouts/Level/package.json +1 -1
- package/dist/esm/layouts/Split/package.json +1 -1
- package/dist/esm/layouts/Stack/package.json +1 -1
- package/dist/esm/layouts/package.json +1 -1
- package/dist/esm/next/components/package.json +1 -1
- package/dist/esm/next/package.json +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/js/components/AboutModal/package.json +1 -1
- package/dist/js/components/Accordion/package.json +1 -1
- package/dist/js/components/ActionList/package.json +1 -1
- package/dist/js/components/Alert/Alert.d.ts +2 -2
- package/dist/js/components/Alert/Alert.d.ts.map +1 -1
- package/dist/js/components/Alert/Alert.js +2 -2
- package/dist/js/components/Alert/Alert.js.map +1 -1
- package/dist/js/components/Alert/AlertIcon.d.ts +2 -2
- package/dist/js/components/Alert/AlertIcon.d.ts.map +1 -1
- package/dist/js/components/Alert/AlertIcon.js +1 -1
- package/dist/js/components/Alert/AlertIcon.js.map +1 -1
- package/dist/js/components/Alert/package.json +1 -1
- package/dist/js/components/Avatar/package.json +1 -1
- package/dist/js/components/BackToTop/package.json +1 -1
- package/dist/js/components/Backdrop/package.json +1 -1
- package/dist/js/components/BackgroundImage/package.json +1 -1
- package/dist/js/components/Badge/package.json +1 -1
- package/dist/js/components/Banner/package.json +1 -1
- package/dist/js/components/Brand/package.json +1 -1
- package/dist/js/components/Breadcrumb/package.json +1 -1
- package/dist/js/components/Button/package.json +1 -1
- package/dist/js/components/CalendarMonth/package.json +1 -1
- package/dist/js/components/Card/package.json +1 -1
- package/dist/js/components/Checkbox/package.json +1 -1
- package/dist/js/components/Chip/package.json +1 -1
- package/dist/js/components/ChipGroup/package.json +1 -1
- package/dist/js/components/ClipboardCopy/package.json +1 -1
- package/dist/js/components/CodeBlock/package.json +1 -1
- package/dist/js/components/DataList/package.json +1 -1
- package/dist/js/components/DatePicker/package.json +1 -1
- package/dist/js/components/DescriptionList/package.json +1 -1
- package/dist/js/components/Divider/package.json +1 -1
- package/dist/js/components/DragDrop/package.json +1 -1
- package/dist/js/components/Drawer/package.json +1 -1
- package/dist/js/components/Dropdown/package.json +1 -1
- package/dist/js/components/DualListSelector/package.json +1 -1
- package/dist/js/components/EmptyState/package.json +1 -1
- package/dist/js/components/ExpandableSection/package.json +1 -1
- package/dist/js/components/FileUpload/package.json +1 -1
- package/dist/js/components/Form/package.json +1 -1
- package/dist/js/components/FormSelect/package.json +1 -1
- package/dist/js/components/HelperText/package.json +1 -1
- package/dist/js/components/Hint/package.json +1 -1
- package/dist/js/components/Icon/package.json +1 -1
- package/dist/js/components/InputGroup/package.json +1 -1
- package/dist/js/components/JumpLinks/package.json +1 -1
- package/dist/js/components/Label/package.json +1 -1
- package/dist/js/components/LabelGroup/package.json +1 -1
- package/dist/js/components/List/package.json +1 -1
- package/dist/js/components/LoginPage/package.json +1 -1
- package/dist/js/components/Masthead/package.json +1 -1
- package/dist/js/components/Menu/package.json +1 -1
- package/dist/js/components/MenuToggle/package.json +1 -1
- package/dist/js/components/Modal/Modal.d.ts +1 -1
- package/dist/js/components/Modal/Modal.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalBoxTitle.d.ts +1 -1
- package/dist/js/components/Modal/ModalBoxTitle.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalBoxTitle.js +2 -2
- package/dist/js/components/Modal/ModalBoxTitle.js.map +1 -1
- package/dist/js/components/Modal/ModalContent.d.ts +1 -1
- package/dist/js/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalContent.js +1 -2
- package/dist/js/components/Modal/ModalContent.js.map +1 -1
- package/dist/js/components/Modal/package.json +1 -1
- package/dist/js/components/MultipleFileUpload/package.json +1 -1
- package/dist/js/components/Nav/package.json +1 -1
- package/dist/js/components/NotificationBadge/package.json +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItem.js +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItem.js.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts +2 -2
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.d.ts.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js +2 -2
- package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
- package/dist/js/components/NotificationDrawer/package.json +1 -1
- package/dist/js/components/NumberInput/package.json +1 -1
- package/dist/js/components/OverflowMenu/package.json +1 -1
- package/dist/js/components/Page/package.json +1 -1
- package/dist/js/components/Pagination/package.json +1 -1
- package/dist/js/components/Panel/package.json +1 -1
- package/dist/js/components/Popover/Popover.d.ts +1 -1
- package/dist/js/components/Popover/Popover.d.ts.map +1 -1
- package/dist/js/components/Popover/Popover.js +1 -1
- package/dist/js/components/Popover/Popover.js.map +1 -1
- package/dist/js/components/Popover/PopoverHeader.d.ts +1 -1
- package/dist/js/components/Popover/PopoverHeader.d.ts.map +1 -1
- package/dist/js/components/Popover/package.json +1 -1
- package/dist/js/components/Progress/package.json +1 -1
- package/dist/js/components/ProgressStepper/package.json +1 -1
- package/dist/js/components/Radio/package.json +1 -1
- package/dist/js/components/SearchInput/package.json +1 -1
- package/dist/js/components/Select/package.json +1 -1
- package/dist/js/components/Sidebar/package.json +1 -1
- package/dist/js/components/SimpleList/package.json +1 -1
- package/dist/js/components/Skeleton/package.json +1 -1
- package/dist/js/components/SkipToContent/package.json +1 -1
- package/dist/js/components/Slider/package.json +1 -1
- package/dist/js/components/Spinner/package.json +1 -1
- package/dist/js/components/Switch/package.json +1 -1
- package/dist/js/components/Tabs/package.json +1 -1
- package/dist/js/components/Text/package.json +1 -1
- package/dist/js/components/TextArea/package.json +1 -1
- package/dist/js/components/TextInput/package.json +1 -1
- package/dist/js/components/TextInputGroup/package.json +1 -1
- package/dist/js/components/Tile/package.json +1 -1
- package/dist/js/components/TimePicker/package.json +1 -1
- package/dist/js/components/Timestamp/package.json +1 -1
- package/dist/js/components/Title/package.json +1 -1
- package/dist/js/components/ToggleGroup/package.json +1 -1
- package/dist/js/components/Toolbar/package.json +1 -1
- package/dist/js/components/Tooltip/package.json +1 -1
- package/dist/js/components/TreeView/package.json +1 -1
- package/dist/js/components/Truncate/package.json +1 -1
- package/dist/js/components/Wizard/hooks/package.json +1 -1
- package/dist/js/components/Wizard/package.json +1 -1
- package/dist/js/components/package.json +1 -1
- package/dist/js/deprecated/components/ApplicationLauncher/package.json +1 -1
- package/dist/js/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/js/deprecated/components/Dropdown/package.json +1 -1
- package/dist/js/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/js/deprecated/components/PageHeader/package.json +1 -1
- package/dist/js/deprecated/components/Select/package.json +1 -1
- package/dist/js/deprecated/components/Wizard/package.json +1 -1
- package/dist/js/deprecated/components/package.json +1 -1
- package/dist/js/deprecated/package.json +1 -1
- package/dist/js/helpers/Popper/thirdparty/popper-core/package.json +1 -1
- package/dist/js/helpers/package.json +1 -1
- package/dist/js/layouts/Bullseye/package.json +1 -1
- package/dist/js/layouts/Flex/package.json +1 -1
- package/dist/js/layouts/Gallery/package.json +1 -1
- package/dist/js/layouts/Grid/package.json +1 -1
- package/dist/js/layouts/Level/package.json +1 -1
- package/dist/js/layouts/Split/package.json +1 -1
- package/dist/js/layouts/Stack/package.json +1 -1
- package/dist/js/layouts/package.json +1 -1
- package/dist/js/next/components/package.json +1 -1
- package/dist/js/next/package.json +1 -1
- package/dist/js/package.json +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +3 -3
- package/src/components/Alert/Alert.tsx +4 -4
- package/src/components/Alert/AlertIcon.tsx +2 -2
- package/src/components/Alert/__tests__/Alert.test.tsx +11 -11
- package/src/components/Alert/__tests__/AlertIcon.test.tsx +11 -10
- package/src/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +3 -3
- package/src/components/Alert/examples/Alert.md +5 -5
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +1 -1
- package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +1 -0
- package/src/components/Icon/__tests__/Icon.test.tsx +10 -10
- package/src/components/Modal/Modal.tsx +1 -1
- package/src/components/Modal/ModalBoxTitle.tsx +3 -3
- package/src/components/Modal/ModalContent.tsx +2 -6
- package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +10 -10
- package/src/components/Modal/examples/Modal.md +1 -1
- package/src/components/NotificationDrawer/NotificationDrawerListItem.tsx +1 -1
- package/src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx +3 -3
- package/src/components/Popover/Popover.tsx +2 -2
- package/src/components/Popover/PopoverHeader.tsx +1 -1
- package/src/components/Popover/examples/PopoverAlert.tsx +4 -4
- package/src/deprecated/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +7 -7
|
@@ -4,7 +4,7 @@ export declare const variantIcons: {
|
|
|
4
4
|
danger: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
5
5
|
warning: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
6
6
|
info: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
7
|
-
|
|
7
|
+
custom: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
8
8
|
};
|
|
9
9
|
export interface AlertIconProps extends React.HTMLProps<HTMLDivElement> {
|
|
10
10
|
/** Additional class names added to the alert icon. */
|
|
@@ -12,7 +12,7 @@ export interface AlertIconProps extends React.HTMLProps<HTMLDivElement> {
|
|
|
12
12
|
/** A custom icon. If not set the icon is set according to the variant. */
|
|
13
13
|
customIcon?: React.ReactNode;
|
|
14
14
|
/** Variant of the alert icon. */
|
|
15
|
-
variant: 'success' | 'danger' | 'warning' | 'info' | '
|
|
15
|
+
variant: 'success' | 'danger' | 'warning' | 'info' | 'custom';
|
|
16
16
|
}
|
|
17
17
|
export declare const AlertIcon: ({ variant, customIcon, className, ...props }: AlertIconProps) => JSX.Element;
|
|
18
18
|
//# sourceMappingURL=AlertIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACrE,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iCAAiC;IACjC,OAAO,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"AlertIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACrE,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,iCAAiC;IACjC,OAAO,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC/D;AAED,eAAO,MAAM,SAAS,iDAAuD,cAAc,gBAO1F,CAAC"}
|
|
@@ -15,7 +15,7 @@ exports.variantIcons = {
|
|
|
15
15
|
danger: exclamation_circle_icon_1.default,
|
|
16
16
|
warning: exclamation_triangle_icon_1.default,
|
|
17
17
|
info: info_circle_icon_1.default,
|
|
18
|
-
|
|
18
|
+
custom: bell_icon_1.default
|
|
19
19
|
};
|
|
20
20
|
const AlertIcon = (_a) => {
|
|
21
21
|
var { variant, customIcon, className = '' } = _a, props = tslib_1.__rest(_a, ["variant", "customIcon", "className"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertIcon.js","sourceRoot":"","sources":["../../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,wGAAyE;AACzE,wHAAuF;AACvF,oIAAmG;AACnG,wIAAuG;AACvG,sHAAqF;AACrF,wGAAwE;AAE3D,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,2BAAe;IACxB,MAAM,EAAE,iCAAqB;IAC7B,OAAO,EAAE,mCAAuB;IAChC,IAAI,EAAE,0BAAc;IACpB,
|
|
1
|
+
{"version":3,"file":"AlertIcon.js","sourceRoot":"","sources":["../../../../src/components/Alert/AlertIcon.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,wGAAyE;AACzE,wHAAuF;AACvF,oIAAmG;AACnG,wIAAuG;AACvG,sHAAqF;AACrF,wGAAwE;AAE3D,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,2BAAe;IACxB,MAAM,EAAE,iCAAqB;IAC7B,OAAO,EAAE,mCAAuB;IAChC,IAAI,EAAE,0BAAc;IACpB,MAAM,EAAE,mBAAQ;CACjB,CAAC;AAWK,MAAM,SAAS,GAAG,CAAC,EAAiE,EAAE,EAAE;QAArE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,GAAG,EAAE,OAA4B,EAAvB,KAAK,sBAA/C,sCAAiD,CAAF;IACvE,MAAM,IAAI,GAAG,oBAAY,CAAC,OAAO,CAAC,CAAC;IACnC,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,6CAAS,KAAK,IAAE,SAAS,EAAE,IAAA,kBAAG,EAAC,eAAM,CAAC,SAAS,EAAE,SAAS,CAAC,KACxD,UAAU,IAAI,oBAAC,IAAI,OAAG,CACnB,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAPW,QAAA,SAAS,aAOpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-alert-cjs","main":"index.js","module":"./dist/js/components/Alert/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-alert-cjs","main":"index.js","module":"./dist/js/components/Alert/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-avatar-cjs","main":"index.js","module":"./dist/js/components/Avatar/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-avatar-cjs","main":"index.js","module":"./dist/js/components/Avatar/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-backtotop-cjs","main":"index.js","module":"./dist/js/components/BackToTop/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-backtotop-cjs","main":"index.js","module":"./dist/js/components/BackToTop/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-backdrop-cjs","main":"index.js","module":"./dist/js/components/Backdrop/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-backdrop-cjs","main":"index.js","module":"./dist/js/components/Backdrop/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-backgroundimage-cjs","main":"index.js","module":"./dist/js/components/BackgroundImage/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-backgroundimage-cjs","main":"index.js","module":"./dist/js/components/BackgroundImage/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-badge-cjs","main":"index.js","module":"./dist/js/components/Badge/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-badge-cjs","main":"index.js","module":"./dist/js/components/Badge/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-banner-cjs","main":"index.js","module":"./dist/js/components/Banner/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-banner-cjs","main":"index.js","module":"./dist/js/components/Banner/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-brand-cjs","main":"index.js","module":"./dist/js/components/Brand/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-brand-cjs","main":"index.js","module":"./dist/js/components/Brand/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-breadcrumb-cjs","main":"index.js","module":"./dist/js/components/Breadcrumb/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-breadcrumb-cjs","main":"index.js","module":"./dist/js/components/Breadcrumb/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-button-cjs","main":"index.js","module":"./dist/js/components/Button/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-button-cjs","main":"index.js","module":"./dist/js/components/Button/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-calendarmonth-cjs","main":"index.js","module":"./dist/js/components/CalendarMonth/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-calendarmonth-cjs","main":"index.js","module":"./dist/js/components/CalendarMonth/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-card-cjs","main":"index.js","module":"./dist/js/components/Card/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-card-cjs","main":"index.js","module":"./dist/js/components/Card/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-checkbox-cjs","main":"index.js","module":"./dist/js/components/Checkbox/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-checkbox-cjs","main":"index.js","module":"./dist/js/components/Checkbox/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-chip-cjs","main":"index.js","module":"./dist/js/components/Chip/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-chip-cjs","main":"index.js","module":"./dist/js/components/Chip/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-chipgroup-cjs","main":"index.js","module":"./dist/js/components/ChipGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-chipgroup-cjs","main":"index.js","module":"./dist/js/components/ChipGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-clipboardcopy-cjs","main":"index.js","module":"./dist/js/components/ClipboardCopy/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-clipboardcopy-cjs","main":"index.js","module":"./dist/js/components/ClipboardCopy/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-codeblock-cjs","main":"index.js","module":"./dist/js/components/CodeBlock/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-codeblock-cjs","main":"index.js","module":"./dist/js/components/CodeBlock/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-datalist-cjs","main":"index.js","module":"./dist/js/components/DataList/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-datalist-cjs","main":"index.js","module":"./dist/js/components/DataList/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-datepicker-cjs","main":"index.js","module":"./dist/js/components/DatePicker/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-datepicker-cjs","main":"index.js","module":"./dist/js/components/DatePicker/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-descriptionlist-cjs","main":"index.js","module":"./dist/js/components/DescriptionList/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-descriptionlist-cjs","main":"index.js","module":"./dist/js/components/DescriptionList/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-divider-cjs","main":"index.js","module":"./dist/js/components/Divider/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-divider-cjs","main":"index.js","module":"./dist/js/components/Divider/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-dragdrop-cjs","main":"index.js","module":"./dist/js/components/DragDrop/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-dragdrop-cjs","main":"index.js","module":"./dist/js/components/DragDrop/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-drawer-cjs","main":"index.js","module":"./dist/js/components/Drawer/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-drawer-cjs","main":"index.js","module":"./dist/js/components/Drawer/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-dropdown-cjs","main":"index.js","module":"./dist/js/components/Dropdown/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-dropdown-cjs","main":"index.js","module":"./dist/js/components/Dropdown/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-duallistselector-cjs","main":"index.js","module":"./dist/js/components/DualListSelector/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-duallistselector-cjs","main":"index.js","module":"./dist/js/components/DualListSelector/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-emptystate-cjs","main":"index.js","module":"./dist/js/components/EmptyState/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-emptystate-cjs","main":"index.js","module":"./dist/js/components/EmptyState/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-expandablesection-cjs","main":"index.js","module":"./dist/js/components/ExpandableSection/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-expandablesection-cjs","main":"index.js","module":"./dist/js/components/ExpandableSection/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-fileupload-cjs","main":"index.js","module":"./dist/js/components/FileUpload/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-fileupload-cjs","main":"index.js","module":"./dist/js/components/FileUpload/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-form-cjs","main":"index.js","module":"./dist/js/components/Form/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-form-cjs","main":"index.js","module":"./dist/js/components/Form/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-formselect-cjs","main":"index.js","module":"./dist/js/components/FormSelect/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-formselect-cjs","main":"index.js","module":"./dist/js/components/FormSelect/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpertext-cjs","main":"index.js","module":"./dist/js/components/HelperText/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-helpertext-cjs","main":"index.js","module":"./dist/js/components/HelperText/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-hint-cjs","main":"index.js","module":"./dist/js/components/Hint/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-hint-cjs","main":"index.js","module":"./dist/js/components/Hint/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-icon-cjs","main":"index.js","module":"./dist/js/components/Icon/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-icon-cjs","main":"index.js","module":"./dist/js/components/Icon/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-inputgroup-cjs","main":"index.js","module":"./dist/js/components/InputGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-inputgroup-cjs","main":"index.js","module":"./dist/js/components/InputGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-jumplinks-cjs","main":"index.js","module":"./dist/js/components/JumpLinks/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-jumplinks-cjs","main":"index.js","module":"./dist/js/components/JumpLinks/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-label-cjs","main":"index.js","module":"./dist/js/components/Label/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-label-cjs","main":"index.js","module":"./dist/js/components/Label/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-labelgroup-cjs","main":"index.js","module":"./dist/js/components/LabelGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-labelgroup-cjs","main":"index.js","module":"./dist/js/components/LabelGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-list-cjs","main":"index.js","module":"./dist/js/components/List/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-list-cjs","main":"index.js","module":"./dist/js/components/List/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-loginpage-cjs","main":"index.js","module":"./dist/js/components/LoginPage/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-loginpage-cjs","main":"index.js","module":"./dist/js/components/LoginPage/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-masthead-cjs","main":"index.js","module":"./dist/js/components/Masthead/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-masthead-cjs","main":"index.js","module":"./dist/js/components/Masthead/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-menu-cjs","main":"index.js","module":"./dist/js/components/Menu/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-menu-cjs","main":"index.js","module":"./dist/js/components/Menu/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-menutoggle-cjs","main":"index.js","module":"./dist/js/components/MenuToggle/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-menutoggle-cjs","main":"index.js","module":"./dist/js/components/MenuToggle/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -60,7 +60,7 @@ export interface ModalProps extends React.HTMLProps<HTMLDivElement>, OUIAProps {
|
|
|
60
60
|
/** Optional alert icon (or other) to show before the title of the modal header. When the
|
|
61
61
|
* predefined alert types are used the default styling will be automatically applied.
|
|
62
62
|
*/
|
|
63
|
-
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | '
|
|
63
|
+
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | 'custom' | React.ComponentType<any>;
|
|
64
64
|
/** Optional title label text for screen readers. */
|
|
65
65
|
titleLabel?: string;
|
|
66
66
|
/** Variant of the modal. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceR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nD,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,iLAAiL;IACjL,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,oBAAY,YAAY;IACtB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,UAAU,UAAU;IAClB,SAAS,EAAE,WAAW,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qBAAa,KAAM,SAAQ,KAAK,CAAC,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;IAChE,MAAM,CAAC,WAAW,SAAW;IAC7B,MAAM,CAAC,SAAS,SAAK;IACrB,KAAK,SAAM;IACX,OAAO,SAAM;IACb,YAAY,SAAM;IAElB,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,UAAU,CAAC,CAkB3C;gBAEU,KAAK,EAAE,UAAU;IAe7B,iBAAiB,UAAW,aAAa,KAAG,IAAI,CAK9C;IAEF,UAAU,aAAc,WAAW,GAAG,CAAC,MAAM,WAAW,CAAC,iBAKvD;IAEF,+BAA+B,SAAU,OAAO,UAS9C;IAEF,OAAO,UAAW,MAAM,GAAG,IAAI,GAAG,SAAS,aAA2D;IAEtG,iBAAiB;IAkCjB,kBAAkB;IAYlB,oBAAoB;IAUpB,MAAM;CA8CP"}
|
|
@@ -9,7 +9,7 @@ export interface ModalBoxTitleProps {
|
|
|
9
9
|
title: React.ReactNode;
|
|
10
10
|
/** Optional alert icon (or other) to show before the title. When the predefined alert types
|
|
11
11
|
* are used the default styling will be automatically applied. */
|
|
12
|
-
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | '
|
|
12
|
+
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | 'custom' | React.ComponentType<any>;
|
|
13
13
|
/** Optional title label text for screen readers. */
|
|
14
14
|
titleLabel?: string;
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBoxTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,eAAO,MAAM,aAAa,SAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"ModalBoxTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,eAAO,MAAM,aAAa,SAAU,GAAG,mBACsC,CAAC;AAE9E,MAAM,WAAW,kBAAkB;IACjC,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;qEACiE;IACjE,gBAAgB,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACnG,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA0CrE,CAAC"}
|
|
@@ -14,7 +14,7 @@ const exclamation_triangle_icon_1 = tslib_1.__importDefault(require('@patternfly
|
|
|
14
14
|
const info_circle_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/info-circle-icon'));
|
|
15
15
|
const bell_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/bell-icon'));
|
|
16
16
|
const helpers_2 = require("../../helpers");
|
|
17
|
-
const isVariantIcon = (icon) => ['success', 'danger', 'warning', 'info', '
|
|
17
|
+
const isVariantIcon = (icon) => ['success', 'danger', 'warning', 'info', 'custom'].includes(icon);
|
|
18
18
|
exports.isVariantIcon = isVariantIcon;
|
|
19
19
|
const ModalBoxTitle = (_a) => {
|
|
20
20
|
var { className = '', id, title, titleIconVariant, titleLabel = '' } = _a, props = tslib_1.__rest(_a, ["className", "id", "title", "titleIconVariant", "titleLabel"]);
|
|
@@ -26,7 +26,7 @@ const ModalBoxTitle = (_a) => {
|
|
|
26
26
|
danger: React.createElement(exclamation_circle_icon_1.default, null),
|
|
27
27
|
warning: React.createElement(exclamation_triangle_icon_1.default, null),
|
|
28
28
|
info: React.createElement(info_circle_icon_1.default, null),
|
|
29
|
-
|
|
29
|
+
custom: React.createElement(bell_icon_1.default, null)
|
|
30
30
|
};
|
|
31
31
|
const CustomIcon = !(0, exports.isVariantIcon)(titleIconVariant) && titleIconVariant;
|
|
32
32
|
(0, helpers_2.useIsomorphicLayoutEffect)(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalBoxTitle.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxTitle.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,mHAAqF;AACrF,2DAA+C;AAC/C,+HAAkG;AAClG,2CAA2C;AAC3C,wCAAqC;AACrC,wHAAuF;AACvF,oIAAmG;AACnG,wIAAuG;AACvG,sHAAqF;AACrF,wGAAwE;AACxE,2CAA0D;AAEnD,MAAM,aAAa,GAAG,CAAC,IAAS,EAAkB,EAAE,CACzD,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"ModalBoxTitle.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalBoxTitle.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,mHAAqF;AACrF,2DAA+C;AAC/C,+HAAkG;AAClG,2CAA2C;AAC3C,wCAAqC;AACrC,wHAAuF;AACvF,oIAAmG;AACnG,wIAAuG;AACvG,sHAAqF;AACrF,wGAAwE;AACxE,2CAA0D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AAO,GAAG,CACd,0CACE,EAAE,EAAE,EAAE,EACN,GAAG,EAAE,EAAE,EACP,SAAS,EAAE,IAAA,kBAAG,EAAC,mBAAW,CAAC,aAAa,EAAE,gBAAgB,IAAI,mBAAW,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,IAChG,KAAK;QAER,gBAAgB,IAAI,CACnB,8BAAM,SAAS,EAAE,IAAA,kBAAG,EAAC,mBAAW,CAAC,iBAAiB,CAAC,IAChD,IAAA,qBAAa,EAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,oBAAC,UAAU,OAAG,CAC7E,CACR;QACA,KAAK,IAAI,8BAAM,SAAS,EAAE,IAAA,kBAAG,EAAC,uBAAgB,CAAC,YAAY,CAAC,IAAG,KAAK,CAAQ;QAC7E,8BAAM,SAAS,EAAE,IAAA,kBAAG,EAAC,mBAAW,CAAC,iBAAiB,CAAC,IAAG,KAAK,CAAQ,CAChE,CACN,CAAC;IAEF,OAAO,UAAU,CAAC,CAAC,CAAC,oBAAC,iBAAO,IAAC,OAAO,EAAE,KAAK,IAAG,OAAO,CAAW,CAAC,CAAC,CAAC,OAAO,CAAC;AAC7E,CAAC,CAAC;AA1CW,QAAA,aAAa,iBA0CxB;AACF,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -58,7 +58,7 @@ export interface ModalContentProps extends OUIAProps {
|
|
|
58
58
|
/** Optional alert icon (or other) to show before the title of the modal header. When the
|
|
59
59
|
* predefined alert types are used the default styling will be automatically applied.
|
|
60
60
|
*/
|
|
61
|
-
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | '
|
|
61
|
+
titleIconVariant?: 'success' | 'danger' | 'warning' | 'info' | 'custom' | React.ComponentType<any>;
|
|
62
62
|
/** Optional title label text for screen readers. */
|
|
63
63
|
titleLabel?: string;
|
|
64
64
|
/** Variant of the modal. */
|
|
@@ -1 +1 @@
|
|
|
1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 const ModalContent = (_a) => {
|
|
|
44
44
|
}
|
|
45
45
|
return idRefList.join(' ');
|
|
46
46
|
};
|
|
47
|
-
const modalBox = (React.createElement(ModalBox_1.ModalBox, Object.assign({ id: boxId, style: boxStyle, className: (0, react_styles_1.css)(className, (0, ModalBoxTitle_1.isVariantIcon)(titleIconVariant) &&
|
|
48
|
-
modal_box_1.default.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyFormatted(), "aria-describedby": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, (0, helpers_2.getOUIAProps)(exports.ModalContent.displayName, ouiaId, ouiaSafe)),
|
|
47
|
+
const modalBox = (React.createElement(ModalBox_1.ModalBox, Object.assign({ id: boxId, style: boxStyle, className: (0, react_styles_1.css)(className, (0, ModalBoxTitle_1.isVariantIcon)(titleIconVariant) && modal_box_1.default.modifiers[titleIconVariant]), variant: variant, position: position, positionOffset: positionOffset, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledbyFormatted(), "aria-describedby": ariaDescribedby || (hasNoBodyWrapper ? null : descriptorId) }, (0, helpers_2.getOUIAProps)(exports.ModalContent.displayName, ouiaId, ouiaSafe)),
|
|
49
48
|
showClose && React.createElement(ModalBoxCloseButton_1.ModalBoxCloseButton, { onClose: (event) => onClose(event), ouiaId: ouiaId }),
|
|
50
49
|
modalBoxHeader,
|
|
51
50
|
modalBody,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalContent.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalContent.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2CAA0C;AAC1C,mHAAqF;AACrF,8GAAoF;AACpF,2DAA+C;AAC/C,2CAAwD;AAExD,mDAAgD;AAChD,iDAA8C;AAC9C,+DAA4D;AAC5D,yCAAsC;AACtC,qDAAkD;AAClD,+DAA4D;AAC5D,qDAAkD;AAClD,mDAA+D;AAyExD,MAAM,Y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,QAAQ,EACf,SAAS,EAAE,IAAA,kBAAG,
|
|
1
|
+
{"version":3,"file":"ModalContent.js","sourceRoot":"","sources":["../../../../src/components/Modal/ModalContent.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2CAA0C;AAC1C,mHAAqF;AACrF,8GAAoF;AACpF,2DAA+C;AAC/C,2CAAwD;AAExD,mDAAgD;AAChD,iDAA8C;AAC9C,+DAA4D;AAC5D,yCAAsC;AACtC,qDAAkD;AAClD,+DAA4D;AAC5D,qDAAkD;AAClD,mDAA+D;AAyExD,MAAM,YAAY,GAA+C,CAAC,EA+BrD,EAAE,EAAE;QA/BiD,EACvE,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,MAAM,GAAG,KAAK,EACd,MAAM,GAAG,IAAI,EACb,IAAI,GAAG,IAAI,EACX,WAAW,GAAG,IAAI,EAClB,KAAK,GAAG,EAAE,EACV,gBAAgB,GAAG,IAAI,EACvB,UAAU,GAAG,EAAE,EACf,YAAY,EAAE,SAAS,GAAG,EAAE,EAC5B,kBAAkB,EAAE,eAAe,EACnC,iBAAiB,EAAE,cAAc,EACjC,aAAa,EACb,YAAY,EACZ,SAAS,GAAG,IAAI,EAChB,MAAM,GAAG,IAAI,EACb,OAAO,GAAG,EAAE,EACZ,OAAO,GAAG,GAAG,EAAE,CAAC,SAAgB,EAChC,OAAO,GAAG,SAAS,EACnB,QAAQ,EACR,cAAc,EACd,KAAK,GAAG,CAAC,CAAC,EACV,KAAK,EACL,OAAO,EACP,YAAY,EACZ,gBAAgB,GAAG,KAAK,EACxB,gBAAgB,GAAG,KAAK,EACxB,MAAM,EACN,QAAQ,GAAG,IAAI,OAEG,EADf,KAAK,sBA9B+D,sYA+BxE,CADS;IAER,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,IAAI,CAAC;KACb;IAED,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,CAC9B,oBAAC,+BAAc,IAAC,IAAI,EAAE,IAAI,IAAG,MAAM,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CACZ,CAAC;AACJ,CAAC,CAAC;AAnHW,QAAA,YAAY,gBAmHvB;AACF,oBAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-modal-cjs","main":"index.js","module":"./dist/js/components/Modal/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-modal-cjs","main":"index.js","module":"./dist/js/components/Modal/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-multiplefileupload-cjs","main":"index.js","module":"./dist/js/components/MultipleFileUpload/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-multiplefileupload-cjs","main":"index.js","module":"./dist/js/components/MultipleFileUpload/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-nav-cjs","main":"index.js","module":"./dist/js/components/Nav/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-nav-cjs","main":"index.js","module":"./dist/js/components/Nav/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-notificationbadge-cjs","main":"index.js","module":"./dist/js/components/NotificationBadge/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-notificationbadge-cjs","main":"index.js","module":"./dist/js/components/NotificationBadge/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -15,7 +15,7 @@ const NotificationDrawerListItem = (_a) => {
|
|
|
15
15
|
event.target.click();
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
|
-
return (React.createElement("li", Object.assign({}, props, { className: (0, react_styles_1.css)(notification_drawer_1.default.notificationDrawerListItem, isHoverable && notification_drawer_1.default.modifiers.hoverable, notification_drawer_1.default.modifiers[variant], isRead && notification_drawer_1.default.modifiers.read, className), tabIndex: tabIndex, onClick: e => onClick(e), onKeyDown: onKeyDown }), children));
|
|
18
|
+
return (React.createElement("li", Object.assign({}, props, { className: (0, react_styles_1.css)(notification_drawer_1.default.notificationDrawerListItem, isHoverable && notification_drawer_1.default.modifiers.hoverable, notification_drawer_1.default.modifiers[variant], isRead && notification_drawer_1.default.modifiers.read, className), tabIndex: tabIndex, onClick: (e) => onClick(e), onKeyDown: onKeyDown }), children));
|
|
19
19
|
};
|
|
20
20
|
exports.NotificationDrawerListItem = NotificationDrawerListItem;
|
|
21
21
|
exports.NotificationDrawerListItem.displayName = 'NotificationDrawerListItem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationDrawerListItem.js","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerListItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,iJAAoG;AAmB7F,MAAM,0BAA0B,GAA6D,CAAC,EAUnE,EAAE,EAAE;QAV+D,EACnG,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,IAAI,EAClB,MAAM,GAAG,KAAK;IACd,6DAA6D;IAC7D,OAAO,GAAG,CAAC,KAAuB,EAAE,EAAE,CAAC,SAAgB,EACvD,QAAQ,GAAG,CAAC,EACZ,OAAO,GAAG,QAAQ,OAEc,EAD7B,KAAK,sBAT2F,oFAUpG,CADS;IAER,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;QAC/C,qFAAqF;QACrF,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE;YAC7C,KAAK,CAAC,MAAsB,CAAC,KAAK,EAAE,CAAC;SACvC;IACH,CAAC,CAAC;IACF,OAAO,CACL,4CACM,KAAK,IACT,SAAS,EAAE,IAAA,kBAAG,EACZ,6BAAM,CAAC,0BAA0B,EACjC,WAAW,IAAI,6BAAM,CAAC,SAAS,CAAC,SAAS,EACzC,6BAAM,CAAC,SAAS,CAAC,OAAO,CAAC,EACzB,MAAM,IAAI,6BAAM,CAAC,SAAS,CAAC,IAAI,EAC/B,SAAS,CACV,EACD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"NotificationDrawerListItem.js","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerListItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,iJAAoG;AAmB7F,MAAM,0BAA0B,GAA6D,CAAC,EAUnE,EAAE,EAAE;QAV+D,EACnG,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,IAAI,EAClB,MAAM,GAAG,KAAK;IACd,6DAA6D;IAC7D,OAAO,GAAG,CAAC,KAAuB,EAAE,EAAE,CAAC,SAAgB,EACvD,QAAQ,GAAG,CAAC,EACZ,OAAO,GAAG,QAAQ,OAEc,EAD7B,KAAK,sBAT2F,oFAUpG,CADS;IAER,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;QAC/C,qFAAqF;QACrF,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,EAAE;YAC7C,KAAK,CAAC,MAAsB,CAAC,KAAK,EAAE,CAAC;SACvC;IACH,CAAC,CAAC;IACF,OAAO,CACL,4CACM,KAAK,IACT,SAAS,EAAE,IAAA,kBAAG,EACZ,6BAAM,CAAC,0BAA0B,EACjC,WAAW,IAAI,6BAAM,CAAC,SAAS,CAAC,SAAS,EACzC,6BAAM,CAAC,SAAS,CAAC,OAAO,CAAC,EACzB,MAAM,IAAI,6BAAM,CAAC,SAAS,CAAC,IAAI,EAC/B,SAAS,CACV,EACD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,EAC1B,SAAS,EAAE,SAAS,KAEnB,QAAQ,CACN,CACN,CAAC;AACJ,CAAC,CAAC;AAlCW,QAAA,0BAA0B,8BAkCrC;AACF,kCAA0B,CAAC,WAAW,GAAG,4BAA4B,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare const variantIcons: {
|
|
|
5
5
|
danger: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
6
6
|
warning: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
7
7
|
info: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
8
|
-
|
|
8
|
+
custom: React.ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
|
|
9
9
|
};
|
|
10
10
|
export interface NotificationDrawerListItemHeaderProps extends React.HTMLProps<HTMLDivElement> {
|
|
11
11
|
/** Actions rendered inside the notification drawer list item header */
|
|
@@ -19,7 +19,7 @@ export interface NotificationDrawerListItemHeaderProps extends React.HTMLProps<H
|
|
|
19
19
|
/** Notification drawer list item title */
|
|
20
20
|
title: string;
|
|
21
21
|
/** Variant indicates the severity level */
|
|
22
|
-
variant?: 'success' | 'danger' | 'warning' | 'info' | '
|
|
22
|
+
variant?: 'success' | 'danger' | 'warning' | 'info' | 'custom';
|
|
23
23
|
/** Truncate title to number of lines */
|
|
24
24
|
truncateTitle?: number;
|
|
25
25
|
/** Position of the tooltip which is displayed if text is truncated */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationDrawerListItemHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,EAAW,eAAe,EAAE,MAAM,YAAY,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,MAAM,WAAW,qCAAsC,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC5F,wEAAwE;IACxE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"NotificationDrawerListItemHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,EAAW,eAAe,EAAE,MAAM,YAAY,CAAC;AAEtD,eAAO,MAAM,YAAY;;;;;;CAMxB,CAAC;AAEF,MAAM,WAAW,qCAAsC,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAC5F,wEAAwE;IACxE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;IAC/D,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,eAAe,CAAC,EACZ,eAAe,GACf,MAAM,GACN,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,CAAC;IAChB,mFAAmF;IACnF,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACxD;AAED,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,iBAAiB,CAAC,qCAAqC,CAmD3G,CAAC"}
|
|
@@ -18,10 +18,10 @@ exports.variantIcons = {
|
|
|
18
18
|
danger: exclamation_circle_icon_1.default,
|
|
19
19
|
warning: exclamation_triangle_icon_1.default,
|
|
20
20
|
info: info_circle_icon_1.default,
|
|
21
|
-
|
|
21
|
+
custom: bell_icon_1.default
|
|
22
22
|
};
|
|
23
23
|
const NotificationDrawerListItemHeader = (_a) => {
|
|
24
|
-
var { children, className = '', icon = null, srTitle, title, variant = '
|
|
24
|
+
var { children, className = '', icon = null, srTitle, title, variant = 'custom', truncateTitle = 0, tooltipPosition, headingLevel: HeadingLevel = 'h2' } = _a, props = tslib_1.__rest(_a, ["children", "className", "icon", "srTitle", "title", "variant", "truncateTitle", "tooltipPosition", "headingLevel"]);
|
|
25
25
|
const titleRef = React.useRef(null);
|
|
26
26
|
const [isTooltipVisible, setIsTooltipVisible] = React.useState(false);
|
|
27
27
|
React.useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationDrawerListItemHeader.js","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B,wGAAwE;AACxE,wHAAuF;AACvF,oIAAmG;AACnG,wIAAuG;AACvG,sHAAqF;AACrF,2DAA+C;AAC/C,iJAAoG;AACpG,+HAA4F;AAE5F,+LAAiH;AAEjH,wCAAsD;AAEzC,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,2BAAe;IACxB,MAAM,EAAE,iCAAqB;IAC7B,OAAO,EAAE,mCAAuB;IAChC,IAAI,EAAE,0BAAc;IACpB,
|
|
1
|
+
{"version":3,"file":"NotificationDrawerListItemHeader.js","sourceRoot":"","sources":["../../../../src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B,wGAAwE;AACxE,wHAAuF;AACvF,oIAAmG;AACnG,wIAAuG;AACvG,sHAAqF;AACrF,2DAA+C;AAC/C,iJAAoG;AACpG,+HAA4F;AAE5F,+LAAiH;AAEjH,wCAAsD;AAEzC,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,2BAAe;IACxB,MAAM,EAAE,iCAAqB;IAC7B,OAAO,EAAE,mCAAuB;IAChC,IAAI,EAAE,0BAAc;IACpB,MAAM,EAAE,mBAAQ;CACjB,CAAC;AAqCK,MAAM,gCAAgC,GAAmE,CAAC,EAWzE,EAAE,EAAE;QAXqE,EAC/G,QAAQ,EACR,SAAS,GAAG,EAAE,EACd,IAAI,GAAG,IAAI,EACX,OAAO,EACP,KAAK,EACL,OAAO,GAAG,QAAQ,EAClB,aAAa,GAAG,CAAC,EACjB,eAAe,EACf,YAAY,EAAE,YAAY,GAAG,IAAI,OAEK,EADnC,KAAK,sBAVuG,oHAWhH,CADS;IAER,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACpC,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACtE,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,CAAC,QAAQ,CAAC,OAAO,IAAI,CAAC,aAAa,EAAE;YACvC,OAAO;SACR;QACD,QAAQ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ACE,CACX,CAAC,CAAC,CAAC,CACF,KAAK,CACN,CACG;QACL,QAAQ,IAAI,6BAAK,SAAS,EAAE,IAAA,kBAAG,EAAC,6BAAM,CAAC,gCAAgC,CAAC,IAAG,QAAQ,CAAO,CAC5E,CAClB,CAAC;AACJ,CAAC,CAAC;AAnDW,QAAA,gCAAgC,oCAmD3C;AACF,wCAAgC,CAAC,WAAW,GAAG,kCAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-notificationdrawer-cjs","main":"index.js","module":"./dist/js/components/NotificationDrawer/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-notificationdrawer-cjs","main":"index.js","module":"./dist/js/components/NotificationDrawer/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-numberinput-cjs","main":"index.js","module":"./dist/js/components/NumberInput/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-numberinput-cjs","main":"index.js","module":"./dist/js/components/NumberInput/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-overflowmenu-cjs","main":"index.js","module":"./dist/js/components/OverflowMenu/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-overflowmenu-cjs","main":"index.js","module":"./dist/js/components/OverflowMenu/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-page-cjs","main":"index.js","module":"./dist/js/components/Page/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-page-cjs","main":"index.js","module":"./dist/js/components/Page/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-pagination-cjs","main":"index.js","module":"./dist/js/components/Pagination/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-pagination-cjs","main":"index.js","module":"./dist/js/components/Pagination/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-panel-cjs","main":"index.js","module":"./dist/js/components/Panel/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-panel-cjs","main":"index.js","module":"./dist/js/components/Panel/index.js","typings":"index.d.ts","version":"5.0.0-alpha.79"}
|
|
@@ -26,7 +26,7 @@ export interface PopoverProps {
|
|
|
26
26
|
/** Severity variants for an alert popover. This modifies the color of the header to
|
|
27
27
|
* match the severity.
|
|
28
28
|
*/
|
|
29
|
-
alertSeverityVariant?: '
|
|
29
|
+
alertSeverityVariant?: 'custom' | 'info' | 'warning' | 'success' | 'danger';
|
|
30
30
|
/** The duration of the CSS fade transition animation. */
|
|
31
31
|
animationDuration?: number;
|
|
32
32
|
/** The element to append the popover to. Defaults to "inline". */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrC,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,cAAc;IACtB,MAAM,YAAY;IAClB,WAAW,iBAAiB;IAC5B,SAAS,eAAe;IACxB,SAAS,eAAe;IACxB,OAAO,aAAa;IACpB,UAAU,gBAAgB;IAC1B,QAAQ,cAAc;CACvB;AAED;;GAEG;AAEH,MAAM,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M,CAAC;IAClB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EACL,eAAe,GACf,MAAM,GACN,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,aAAa,GACb,WAAW,CAAC;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;IACtF;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;IACrF,gEAAgE;IAChE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAUD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAsQzD,CAAC"}
|
|
@@ -36,7 +36,7 @@ var PopoverPosition;
|
|
|
36
36
|
PopoverPosition["rightEnd"] = "right-end";
|
|
37
37
|
})(PopoverPosition = exports.PopoverPosition || (exports.PopoverPosition = {}));
|
|
38
38
|
const alertStyle = {
|
|
39
|
-
|
|
39
|
+
custom: popover_1.default.modifiers.custom,
|
|
40
40
|
info: popover_1.default.modifiers.info,
|
|
41
41
|
success: popover_1.default.modifiers.success,
|
|
42
42
|
warning: popover_1.default.modifiers.warning,
|