@patternfly/react-core 6.6.0-prerelease.6 → 6.6.0-prerelease.8
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 +46 -0
- package/README.md +0 -3
- 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/Avatar/Avatar.d.ts +10 -2
- package/dist/esm/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +8 -3
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/ClipboardCopy/ClipboardCopyButton.js +2 -2
- package/dist/esm/components/ClipboardCopy/ClipboardCopyButton.js.map +1 -1
- package/dist/esm/components/DataList/DataListDragButton.js +2 -2
- package/dist/esm/components/DataList/DataListDragButton.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +2 -2
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.js +26 -30
- package/dist/esm/components/Drawer/DrawerPanelContent.js.map +1 -1
- package/dist/esm/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/esm/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/esm/components/LoginPage/LoginForm.js +3 -3
- package/dist/esm/components/LoginPage/LoginForm.js.map +1 -1
- package/dist/esm/components/Menu/MenuItem.js +2 -2
- package/dist/esm/components/Menu/MenuItem.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/Nav/NavExpandable.d.ts +2 -0
- package/dist/esm/components/Nav/NavExpandable.d.ts.map +1 -1
- package/dist/esm/components/Nav/NavExpandable.js +3 -3
- package/dist/esm/components/Nav/NavExpandable.js.map +1 -1
- package/dist/esm/components/TimePicker/TimePicker.js +2 -2
- package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -2
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/esm/deprecated/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/esm/deprecated/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/js/components/Avatar/Avatar.d.ts +10 -2
- package/dist/js/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/js/components/Avatar/Avatar.js +7 -2
- package/dist/js/components/Avatar/Avatar.js.map +1 -1
- package/dist/js/components/ClipboardCopy/ClipboardCopyButton.js +2 -2
- package/dist/js/components/ClipboardCopy/ClipboardCopyButton.js.map +1 -1
- package/dist/js/components/DataList/DataListDragButton.js +2 -2
- package/dist/js/components/DataList/DataListDragButton.js.map +1 -1
- package/dist/js/components/DatePicker/DatePicker.js +2 -2
- package/dist/js/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.js +26 -30
- package/dist/js/components/Drawer/DrawerPanelContent.js.map +1 -1
- package/dist/js/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/js/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/js/components/LoginPage/LoginForm.js +3 -3
- package/dist/js/components/LoginPage/LoginForm.js.map +1 -1
- package/dist/js/components/Menu/MenuItem.js +2 -2
- package/dist/js/components/Menu/MenuItem.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/Nav/NavExpandable.d.ts +2 -0
- package/dist/js/components/Nav/NavExpandable.d.ts.map +1 -1
- package/dist/js/components/Nav/NavExpandable.js +3 -3
- package/dist/js/components/Nav/NavExpandable.js.map +1 -1
- package/dist/js/components/TimePicker/TimePicker.js +2 -2
- package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/js/demos/DashboardHeader.js +2 -2
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/js/deprecated/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/js/deprecated/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/styles/assets/images/img_avatar-rhds.svg +22 -0
- package/dist/styles/assets/images/pf-logo-avatar.jpg +0 -0
- package/dist/styles/base-no-reset.css +60 -58
- package/dist/styles/base.css +60 -58
- package/dist/umd/assets/{output-DKFfmTVi.css → output-CQKZkcaG.css} +22010 -21835
- 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 +6 -6
- package/src/components/ActionList/examples/ActionList.md +1 -1
- package/src/components/ActionList/examples/ActionListSingleGroup.tsx +2 -2
- package/src/components/Alert/examples/Alert.md +3 -3
- package/src/components/Alert/examples/AlertCustomIcons.tsx +6 -6
- package/src/components/Avatar/Avatar.tsx +38 -10
- package/src/components/Avatar/__tests__/Avatar.test.tsx +61 -0
- package/src/components/Avatar/examples/Avatar.md +30 -3
- package/src/components/Avatar/examples/AvatarBasic.tsx +32 -2
- package/src/components/Avatar/examples/AvatarBordered.tsx +6 -2
- package/src/components/Avatar/examples/AvatarColorModifiers.tsx +43 -0
- package/src/components/Avatar/examples/AvatarInitials.tsx +16 -0
- package/src/components/Avatar/examples/AvatarSizeVariations.tsx +8 -19
- package/src/components/Avatar/examples/avatar.css +7 -0
- package/src/components/Button/examples/Button.md +1 -1
- package/src/components/Button/examples/ButtonCircle.tsx +2 -2
- package/src/components/Button/examples/ButtonDisabled.tsx +2 -2
- package/src/components/Button/examples/ButtonVariations.tsx +2 -2
- package/src/components/Card/examples/Card.md +1 -1
- package/src/components/Card/examples/CardExpandable.tsx +2 -2
- package/src/components/Card/examples/CardExpandableWithIcon.tsx +2 -2
- package/src/components/Card/examples/CardHeaderInCardHead.tsx +2 -2
- package/src/components/Card/examples/CardOnlyActionsInCardHead.tsx +2 -2
- package/src/components/Card/examples/CardSubtitleActions.tsx +2 -2
- package/src/components/Card/examples/CardWithImageAndActions.tsx +2 -2
- package/src/components/ClipboardCopy/ClipboardCopyButton.tsx +2 -2
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +4 -16
- package/src/components/CodeBlock/examples/CodeBlock.md +1 -1
- package/src/components/Compass/examples/Compass.md +0 -4
- package/src/components/DataList/DataListDragButton.tsx +2 -2
- package/src/components/DataList/examples/DataList.md +2 -2
- package/src/components/DataList/examples/DataListActions.tsx +2 -2
- package/src/components/DataList/examples/DataListCheckboxes.tsx +4 -4
- package/src/components/DataList/examples/DataListClickableRows.tsx +3 -3
- package/src/components/DataList/examples/DataListExpandable.tsx +8 -8
- package/src/components/DataList/examples/DataListMixedExpandable.tsx +8 -8
- package/src/components/DataList/examples/DataListWidthModifiers.tsx +3 -3
- package/src/components/DatePicker/DatePicker.tsx +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +8 -32
- package/src/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/src/components/DescriptionList/examples/DescriptionListIconsOnTerms.tsx +4 -4
- package/src/components/Drawer/DrawerPanelContent.tsx +28 -29
- package/src/components/Dropdown/examples/Dropdown.md +1 -1
- package/src/components/Dropdown/examples/DropdownWithKebabToggle.tsx +2 -2
- package/src/components/DualListSelector/DualListSelectorListItem.tsx +2 -2
- package/src/components/DualListSelector/examples/DualListSelector.md +2 -2
- package/src/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +6 -6
- package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +2 -2
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +4 -16
- package/src/components/Hint/examples/Hint.md +1 -1
- package/src/components/Hint/examples/HintBasicWithTitle.tsx +2 -2
- package/src/components/Hint/examples/HintBasicWithoutTitle.tsx +2 -2
- package/src/components/InputGroup/examples/InputGroup.md +0 -1
- package/src/components/List/examples/List.md +1 -1
- package/src/components/List/examples/ListIcons.tsx +2 -2
- package/src/components/List/examples/ListLargeIcons.tsx +2 -2
- package/src/components/LoginPage/LoginForm.tsx +3 -3
- package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +4 -16
- package/src/components/Menu/MenuItem.tsx +2 -2
- package/src/components/Menu/examples/Menu.md +5 -5
- package/src/components/Menu/examples/MenuOptionMultiSelect.tsx +2 -2
- package/src/components/Menu/examples/MenuOptionSingleSelect.tsx +2 -2
- package/src/components/Menu/examples/MenuWithActions.tsx +4 -4
- package/src/components/Menu/examples/MenuWithDescription.tsx +4 -4
- package/src/components/Menu/examples/MenuWithDrilldown.tsx +7 -7
- package/src/components/Menu/examples/MenuWithDrilldownBreadcrumbs.tsx +6 -6
- package/src/components/Menu/examples/MenuWithDrilldownInitialState.tsx +7 -7
- package/src/components/Menu/examples/MenuWithDrilldownSubmenuFunctions.tsx +7 -7
- package/src/components/Menu/examples/MenuWithFavorites.tsx +2 -2
- package/src/components/Menu/examples/MenuWithIcons.tsx +4 -4
- package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +2 -2
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +4 -16
- package/src/components/MenuToggle/examples/MenuToggle.md +2 -2
- package/src/components/MenuToggle/examples/MenuTogglePlainCircle.tsx +16 -4
- package/src/components/MenuToggle/examples/MenuTogglePlainIcon.tsx +4 -4
- package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +2 -2
- package/src/components/Modal/examples/Modal.md +2 -2
- package/src/components/Modal/examples/ModalCustomTitleIcon.tsx +2 -2
- package/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatus.test.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatus.test.tsx.snap +4 -16
- package/src/components/Nav/NavExpandable.tsx +5 -5
- package/src/components/Nav/__tests__/NavExpandable.test.tsx +17 -0
- package/src/components/Nav/examples/Nav.md +3 -3
- package/src/components/Nav/examples/NavIcons.tsx +24 -3
- package/src/components/NotificationDrawer/examples/NotificationDrawer.md +1 -1
- package/src/components/NotificationDrawer/examples/NotificationDrawerBasic.tsx +8 -8
- package/src/components/NotificationDrawer/examples/NotificationDrawerGroups.tsx +10 -10
- package/src/components/OverflowMenu/examples/OverflowMenu.md +1 -1
- package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainer.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainerHeight.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuGroupTypes.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuMultiGroup.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuPersistent.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuSimple.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuSimpleVertical.tsx +2 -2
- package/src/components/Popover/examples/Popover.md +1 -1
- package/src/components/Popover/examples/PopoverWithIconInTheTitle.tsx +2 -2
- package/src/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/src/components/ProgressStepper/examples/ProgressStepperCustomIcons.tsx +4 -4
- package/src/components/Tabs/examples/Tabs.md +4 -4
- package/src/components/Tabs/examples/TabsFilledWithIcons.tsx +4 -4
- package/src/components/Tabs/examples/TabsIconAndText.tsx +8 -8
- package/src/components/TextInput/examples/TextInput.md +2 -2
- package/src/components/TextInput/examples/TextInputCustomIcon.tsx +4 -4
- package/src/components/TextInput/examples/TextInputCustomIconInvalid.tsx +2 -2
- package/src/components/TimePicker/TimePicker.tsx +2 -2
- package/src/components/ToggleGroup/examples/ToggleGroup.md +1 -1
- package/src/components/ToggleGroup/examples/ToggleGroupIcon.tsx +2 -2
- package/src/components/ToggleGroup/examples/ToggleGroupTextIcon.tsx +3 -3
- package/src/components/Toolbar/examples/Toolbar.md +1 -1
- package/src/components/Toolbar/examples/ToolbarStacked.tsx +2 -2
- package/src/components/Toolbar/examples/ToolbarWithFilters.tsx +2 -2
- package/src/components/Tooltip/examples/Tooltip.md +1 -1
- package/src/components/Tooltip/examples/TooltipIcon.tsx +2 -2
- package/src/components/TreeView/examples/TreeView.md +1 -1
- package/src/components/TreeView/examples/TreeViewWithActionItems.tsx +6 -6
- package/src/components/Wizard/examples/Wizard.md +1 -1
- package/src/components/Wizard/examples/WizardWithNavAnchors.tsx +3 -3
- package/src/components/assets/img_avatar-light.svg +25 -0
- package/src/components/assets/rhds.svg +22 -0
- package/src/demos/AlertGroup.md +1 -1
- package/src/demos/CardDemos.md +1 -5
- package/src/demos/CardView/CardView.md +1 -1
- package/src/demos/CardView/examples/CardView.tsx +3 -3
- package/src/demos/Compass/Compass.md +3 -3
- package/src/demos/Compass/examples/CompassDemo.tsx +3 -3
- package/src/demos/Compass/examples/CompassDockDemo.tsx +17 -5
- package/src/demos/CustomMenus/ApplicationLauncher.md +1 -1
- package/src/demos/CustomMenus/CustomMenus.md +6 -8
- package/src/demos/CustomMenus/examples/ActionsMenuDemo.tsx +4 -4
- package/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx +2 -2
- package/src/demos/CustomMenus/examples/DrilldownMenuDemo.tsx +7 -7
- package/src/demos/DashboardHeader.tsx +3 -3
- package/src/demos/DataList/examples/DataListActionable.tsx +2 -2
- package/src/demos/DataList/examples/DataListBasic.tsx +16 -12
- package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +8 -8
- package/src/demos/DataList/examples/DataListStaticBottomPagination.tsx +6 -6
- package/src/demos/DataListDemo.md +3 -3
- package/src/demos/DateTimePicker.md +2 -2
- package/src/demos/Masthead.md +2 -2
- package/src/demos/Nav.md +3 -3
- package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
- package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +7 -7
- package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +11 -11
- package/src/demos/Page.md +1 -2
- package/src/demos/PasswordGenerator/PasswordGenerator.md +2 -2
- package/src/demos/PasswordGenerator/examples/PasswordGenerator.tsx +3 -3
- package/src/demos/PrimaryDetail.md +3 -3
- package/src/demos/RTL/RTL.md +4 -4
- package/src/demos/RTL/examples/PaginatedTable.tsx +55 -77
- package/src/demos/Tabs.md +4 -4
- package/src/demos/Toolbar.md +1 -1
- package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +3 -3
- package/src/demos/examples/Card/CardHorizontalGrid.tsx +4 -4
- package/src/demos/examples/DateTimePicker/DateTimePicker.tsx +4 -9
- package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +3 -3
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +5 -5
- package/src/demos/examples/Nav/NavDockedNav.tsx +17 -5
- package/src/demos/examples/Nav/NavFlyout.tsx +3 -3
- package/src/demos/examples/Nav/NavHorizontal.tsx +3 -3
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +3 -3
- package/src/demos/examples/Nav/NavManual.tsx +3 -3
- package/src/demos/examples/Page/PageContextSelector.tsx +3 -3
- package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +3 -3
- package/src/demos/examples/Page/PageStickySectionGroup.tsx +3 -3
- package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +3 -3
- package/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx +3 -3
- package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +10 -10
- package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +10 -10
- package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +10 -10
- package/src/demos/examples/Tabs/TabsAndTable.tsx +9 -9
- package/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx +2 -2
- package/src/deprecated/components/DualListSelector/DualListSelectorListItem.tsx +2 -2
- package/src/deprecated/components/DualListSelector/examples/DualListSelector.md +1 -2
- package/src/deprecated/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +3 -3
- package/src/deprecated/components/DualListSelector/examples/DualListSelectorComposable.tsx +2 -2
- package/src/deprecated/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
- package/src/deprecated/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +2 -2
- package/src/deprecated/components/Modal/examples/Modal.md +2 -2
- package/src/deprecated/components/Modal/examples/ModalCustomTitleIcon.tsx +2 -2
- package/src/deprecated/components/Wizard/examples/Wizard.md +1 -1
- package/src/deprecated/components/Wizard/examples/WizardAnchorsForNavItems.tsx +3 -3
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Dropdown,
|
|
13
13
|
DropdownList
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
import AlignLeftIcon from '@patternfly/react-icons/dist/esm/icons/align-left-icon';
|
|
17
17
|
import AlignCenterIcon from '@patternfly/react-icons/dist/esm/icons/align-center-icon';
|
|
18
18
|
import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
|
|
@@ -88,7 +88,7 @@ export const OverflowMenuMultiGroup: React.FunctionComponent = () => {
|
|
|
88
88
|
variant="plain"
|
|
89
89
|
onClick={onToggle}
|
|
90
90
|
isExpanded={isOpen}
|
|
91
|
-
icon={<
|
|
91
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
92
92
|
/>
|
|
93
93
|
)}
|
|
94
94
|
isOpen={isOpen}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Dropdown,
|
|
13
13
|
DropdownList
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
|
|
17
17
|
export const OverflowMenuPersistent: React.FunctionComponent = () => {
|
|
18
18
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -62,7 +62,7 @@ export const OverflowMenuPersistent: React.FunctionComponent = () => {
|
|
|
62
62
|
variant="plain"
|
|
63
63
|
onClick={onToggle}
|
|
64
64
|
isExpanded={isOpen}
|
|
65
|
-
icon={<
|
|
65
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
66
66
|
/>
|
|
67
67
|
)}
|
|
68
68
|
isOpen={isOpen}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Dropdown,
|
|
11
11
|
DropdownList
|
|
12
12
|
} from '@patternfly/react-core';
|
|
13
|
-
import
|
|
13
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
14
14
|
|
|
15
15
|
export const OverflowMenuBreakpointOnContainer: React.FunctionComponent = () => {
|
|
16
16
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -62,7 +62,7 @@ export const OverflowMenuBreakpointOnContainer: React.FunctionComponent = () =>
|
|
|
62
62
|
variant="plain"
|
|
63
63
|
onClick={onToggle}
|
|
64
64
|
isExpanded={isOpen}
|
|
65
|
-
icon={<
|
|
65
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
66
66
|
/>
|
|
67
67
|
)}
|
|
68
68
|
isOpen={isOpen}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Dropdown,
|
|
11
11
|
DropdownList
|
|
12
12
|
} from '@patternfly/react-core';
|
|
13
|
-
import
|
|
13
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
14
14
|
|
|
15
15
|
export const OverflowMenuSimpleVertical: React.FunctionComponent = () => {
|
|
16
16
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -62,7 +62,7 @@ export const OverflowMenuSimpleVertical: React.FunctionComponent = () => {
|
|
|
62
62
|
variant="plain"
|
|
63
63
|
onClick={onToggle}
|
|
64
64
|
isExpanded={isOpen}
|
|
65
|
-
icon={<
|
|
65
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
66
66
|
/>
|
|
67
67
|
)}
|
|
68
68
|
isOpen={isOpen}
|
|
@@ -11,7 +11,7 @@ import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-u
|
|
|
11
11
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
12
12
|
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
13
13
|
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
14
|
-
import
|
|
14
|
+
import RhUiAttentionBellFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-fill-icon';
|
|
15
15
|
|
|
16
16
|
## Examples
|
|
17
17
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Popover, Button } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhUiAttentionBellFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-fill-icon';
|
|
3
3
|
|
|
4
4
|
export const PopoverWithIconInTheTitle: React.FunctionComponent = () => (
|
|
5
5
|
<div style={{ margin: '50px' }}>
|
|
6
6
|
<Popover
|
|
7
7
|
aria-label="Popover with icon in the title example"
|
|
8
8
|
headerContent="Popover with icon"
|
|
9
|
-
headerIcon={<
|
|
9
|
+
headerIcon={<RhUiAttentionBellFillIcon />}
|
|
10
10
|
bodyContent={<div>Popovers are triggered by click rather than hover.</div>}
|
|
11
11
|
footerContent="Popover footer"
|
|
12
12
|
appendTo={() => document.body}
|
|
@@ -6,8 +6,8 @@ propComponents: ['ProgressStepper', 'ProgressStep']
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
import { Fragment, useState } from 'react';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import RhUiInProgressIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-in-progress-icon';
|
|
10
|
+
import RhUiPendingIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-pending-icon';
|
|
11
11
|
|
|
12
12
|
## Examples
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProgressStepper, ProgressStep } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import RhUiInProgressIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-in-progress-icon';
|
|
3
|
+
import RhUiPendingIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-pending-icon';
|
|
4
4
|
|
|
5
5
|
export const ProgressStepperCustomIcons: React.FunctionComponent = () => (
|
|
6
6
|
<ProgressStepper aria-label="Progress stepper with custom icons">
|
|
@@ -14,7 +14,7 @@ export const ProgressStepperCustomIcons: React.FunctionComponent = () => (
|
|
|
14
14
|
</ProgressStep>
|
|
15
15
|
<ProgressStep
|
|
16
16
|
isCurrent
|
|
17
|
-
icon={<
|
|
17
|
+
icon={<RhUiInProgressIcon />}
|
|
18
18
|
id="custom-step2"
|
|
19
19
|
titleId="custom-step2-title"
|
|
20
20
|
aria-label="in progress"
|
|
@@ -23,7 +23,7 @@ export const ProgressStepperCustomIcons: React.FunctionComponent = () => (
|
|
|
23
23
|
</ProgressStep>
|
|
24
24
|
<ProgressStep
|
|
25
25
|
variant="pending"
|
|
26
|
-
icon={<
|
|
26
|
+
icon={<RhUiPendingIcon />}
|
|
27
27
|
id="custom-step3"
|
|
28
28
|
titleId="custom-step3-title"
|
|
29
29
|
aria-label="pending step"
|
|
@@ -18,12 +18,12 @@ ouia: true
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
import { createRef, Fragment, useEffect, useRef, useState } from 'react';
|
|
21
|
-
import
|
|
22
|
-
import
|
|
21
|
+
import RhUiUsersFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-users-fill-icon';
|
|
22
|
+
import RhUiContainerFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-container-fill-icon';
|
|
23
23
|
import DatabaseIcon from '@patternfly/react-icons/dist/esm/icons/database-icon';
|
|
24
|
-
import
|
|
24
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
25
25
|
import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
|
|
26
|
-
import
|
|
26
|
+
import RhUiInfrastructureFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-infrastructure-fill-icon';
|
|
27
27
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
28
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
29
29
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Tabs, Tab, TabTitleText, TabTitleIcon, Checkbox } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import RhUiUsersFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-users-fill-icon';
|
|
4
|
+
import RhUiContainerFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-container-fill-icon';
|
|
5
5
|
import DatabaseIcon from '@patternfly/react-icons/dist/esm/icons/database-icon';
|
|
6
6
|
|
|
7
7
|
export const TabsFilledWithIcons: React.FunctionComponent = () => {
|
|
@@ -34,7 +34,7 @@ export const TabsFilledWithIcons: React.FunctionComponent = () => {
|
|
|
34
34
|
title={
|
|
35
35
|
<>
|
|
36
36
|
<TabTitleIcon>
|
|
37
|
-
<
|
|
37
|
+
<RhUiUsersFillIcon />
|
|
38
38
|
</TabTitleIcon>{' '}
|
|
39
39
|
<TabTitleText>Users</TabTitleText>{' '}
|
|
40
40
|
</>
|
|
@@ -48,7 +48,7 @@ export const TabsFilledWithIcons: React.FunctionComponent = () => {
|
|
|
48
48
|
title={
|
|
49
49
|
<>
|
|
50
50
|
<TabTitleIcon>
|
|
51
|
-
<
|
|
51
|
+
<RhUiContainerFillIcon />
|
|
52
52
|
</TabTitleIcon>{' '}
|
|
53
53
|
<TabTitleText>Containers</TabTitleText>{' '}
|
|
54
54
|
</>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Tabs, Tab, TabTitleText, TabTitleIcon } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import RhUiUsersFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-users-fill-icon';
|
|
4
|
+
import RhUiContainerFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-container-fill-icon';
|
|
5
5
|
import DatabaseIcon from '@patternfly/react-icons/dist/esm/icons/database-icon';
|
|
6
|
-
import
|
|
6
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
7
7
|
import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhUiInfrastructureFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-infrastructure-fill-icon';
|
|
9
9
|
|
|
10
10
|
export const TabsIconAndText: React.FunctionComponent = () => {
|
|
11
11
|
const [activeTabKey, setActiveTabKey] = useState<string | number>(0);
|
|
@@ -29,7 +29,7 @@ export const TabsIconAndText: React.FunctionComponent = () => {
|
|
|
29
29
|
title={
|
|
30
30
|
<>
|
|
31
31
|
<TabTitleIcon>
|
|
32
|
-
<
|
|
32
|
+
<RhUiUsersFillIcon />
|
|
33
33
|
</TabTitleIcon>{' '}
|
|
34
34
|
<TabTitleText>Users</TabTitleText>{' '}
|
|
35
35
|
</>
|
|
@@ -43,7 +43,7 @@ export const TabsIconAndText: React.FunctionComponent = () => {
|
|
|
43
43
|
title={
|
|
44
44
|
<>
|
|
45
45
|
<TabTitleIcon>
|
|
46
|
-
<
|
|
46
|
+
<RhUiContainerFillIcon />
|
|
47
47
|
</TabTitleIcon>{' '}
|
|
48
48
|
<TabTitleText>Containers</TabTitleText>{' '}
|
|
49
49
|
</>
|
|
@@ -69,7 +69,7 @@ export const TabsIconAndText: React.FunctionComponent = () => {
|
|
|
69
69
|
title={
|
|
70
70
|
<>
|
|
71
71
|
<TabTitleIcon>
|
|
72
|
-
<
|
|
72
|
+
<RhUiServerStackFillIcon />
|
|
73
73
|
</TabTitleIcon>{' '}
|
|
74
74
|
<TabTitleText>Server</TabTitleText>{' '}
|
|
75
75
|
</>
|
|
@@ -95,7 +95,7 @@ export const TabsIconAndText: React.FunctionComponent = () => {
|
|
|
95
95
|
title={
|
|
96
96
|
<>
|
|
97
97
|
<TabTitleIcon>
|
|
98
|
-
<
|
|
98
|
+
<RhUiInfrastructureFillIcon />
|
|
99
99
|
</TabTitleIcon>{' '}
|
|
100
100
|
<TabTitleText>Network</TabTitleText>{' '}
|
|
101
101
|
</>
|
|
@@ -7,8 +7,8 @@ propComponents: ['TextInput', 'TextInputExpandedObj']
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
import { useRef, useState } from 'react';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import RhUiCalendarFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-fill-icon';
|
|
11
|
+
import RhUiClockFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-fill-icon';
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { TextInput } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import RhUiCalendarFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-fill-icon';
|
|
4
|
+
import RhUiClockFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-fill-icon';
|
|
5
5
|
|
|
6
6
|
export const TextInputCustomIcon: React.FunctionComponent = () => {
|
|
7
7
|
const [calendar, setCalendar] = useState('');
|
|
@@ -12,7 +12,7 @@ export const TextInputCustomIcon: React.FunctionComponent = () => {
|
|
|
12
12
|
<TextInput
|
|
13
13
|
value={calendar}
|
|
14
14
|
type="text"
|
|
15
|
-
customIcon={<
|
|
15
|
+
customIcon={<RhUiCalendarFillIcon />}
|
|
16
16
|
onChange={(_event, value) => setCalendar(value)}
|
|
17
17
|
aria-label="text input example with calendar icon"
|
|
18
18
|
/>
|
|
@@ -21,7 +21,7 @@ export const TextInputCustomIcon: React.FunctionComponent = () => {
|
|
|
21
21
|
<TextInput
|
|
22
22
|
value={clock}
|
|
23
23
|
type="text"
|
|
24
|
-
customIcon={<
|
|
24
|
+
customIcon={<RhUiClockFillIcon />}
|
|
25
25
|
onChange={(_event, value) => setClock(value)}
|
|
26
26
|
aria-label="text input example with clock icon"
|
|
27
27
|
/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { TextInput, ValidatedOptions } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiCalendarFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-fill-icon';
|
|
4
4
|
|
|
5
5
|
export const TextInputCustomIconInvalid: React.FunctionComponent = () => {
|
|
6
6
|
const [calendar, setCalendar] = useState('');
|
|
@@ -11,7 +11,7 @@ export const TextInputCustomIconInvalid: React.FunctionComponent = () => {
|
|
|
11
11
|
value={calendar}
|
|
12
12
|
type="text"
|
|
13
13
|
validated={ValidatedOptions.error}
|
|
14
|
-
customIcon={<
|
|
14
|
+
customIcon={<RhUiCalendarFillIcon />}
|
|
15
15
|
onChange={(_event, value) => setCalendar(value)}
|
|
16
16
|
aria-label="text input example with calendar icon"
|
|
17
17
|
/>
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getSeconds
|
|
20
20
|
} from './TimePickerUtils';
|
|
21
21
|
import { HelperText, HelperTextItem } from '../HelperText';
|
|
22
|
-
import
|
|
22
|
+
import RhUiClockIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-icon';
|
|
23
23
|
import cssDatePickerFormControlWidth from '@patternfly/react-tokens/dist/esm/c_date_picker__input_c_form_control_Width';
|
|
24
24
|
import { GenerateId } from '../../helpers';
|
|
25
25
|
|
|
@@ -515,7 +515,7 @@ class TimePicker extends Component<TimePickerProps, TimePickerState> {
|
|
|
515
515
|
placeholder={placeholder}
|
|
516
516
|
value={timeState || ''}
|
|
517
517
|
type="text"
|
|
518
|
-
customIcon={<
|
|
518
|
+
customIcon={<RhUiClockIcon />}
|
|
519
519
|
onClick={this.onInputClick}
|
|
520
520
|
onChange={this.onInputChange}
|
|
521
521
|
autoComplete="off"
|
|
@@ -10,7 +10,7 @@ import './toggleGroup.css';
|
|
|
10
10
|
import { useRef, useState } from 'react';
|
|
11
11
|
import { ToggleGroup, ToggleGroupItem, Button, Stack, StackItem } from '@patternfly/react-core';
|
|
12
12
|
import UndoIcon from '@patternfly/react-icons/dist/esm/icons/undo-icon';
|
|
13
|
-
import
|
|
13
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
14
14
|
import ShareSquareIcon from '@patternfly/react-icons/dist/esm/icons/share-square-icon';
|
|
15
15
|
|
|
16
16
|
## Examples
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { ToggleGroup, ToggleGroupItem } from '@patternfly/react-core';
|
|
3
3
|
import UndoIcon from '@patternfly/react-icons/dist/esm/icons/undo-icon';
|
|
4
|
-
import
|
|
4
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
5
5
|
import ShareSquareIcon from '@patternfly/react-icons/dist/esm/icons/share-square-icon';
|
|
6
6
|
|
|
7
7
|
export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
@@ -17,7 +17,7 @@ export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
|
17
17
|
return (
|
|
18
18
|
<ToggleGroup aria-label="Icon variant toggle group">
|
|
19
19
|
<ToggleGroupItem
|
|
20
|
-
icon={<
|
|
20
|
+
icon={<RhUiCopyFillIcon />}
|
|
21
21
|
aria-label="copy"
|
|
22
22
|
buttonId="toggle-group-icons-1"
|
|
23
23
|
isSelected={isSelected['toggle-group-icons-1']}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { ToggleGroup, ToggleGroupItem } from '@patternfly/react-core';
|
|
3
3
|
import UndoIcon from '@patternfly/react-icons/dist/esm/icons/undo-icon';
|
|
4
|
-
import
|
|
4
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
5
5
|
import ShareSquareIcon from '@patternfly/react-icons/dist/esm/icons/share-square-icon';
|
|
6
6
|
|
|
7
7
|
export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
@@ -18,7 +18,7 @@ export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
|
18
18
|
<>
|
|
19
19
|
<ToggleGroup aria-label="Text and icon toggle group with icons at start">
|
|
20
20
|
<ToggleGroupItem
|
|
21
|
-
icon={<
|
|
21
|
+
icon={<RhUiCopyFillIcon />}
|
|
22
22
|
text="Copy"
|
|
23
23
|
buttonId="toggle-group-text-icons-1"
|
|
24
24
|
isSelected={isSelected['toggle-group-text-icons-1']}
|
|
@@ -42,7 +42,7 @@ export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
|
42
42
|
<br />
|
|
43
43
|
<ToggleGroup aria-label="Text and icon toggle group with icons at end">
|
|
44
44
|
<ToggleGroupItem
|
|
45
|
-
icon={<
|
|
45
|
+
icon={<RhUiCopyFillIcon />}
|
|
46
46
|
iconPosition="end"
|
|
47
47
|
text="Copy"
|
|
48
48
|
buttonId="toggle-group-text-icons-4"
|
|
@@ -12,7 +12,7 @@ import CloneIcon from '@patternfly/react-icons/dist/esm/icons/clone-icon';
|
|
|
12
12
|
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
|
|
13
13
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
14
14
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
|
|
17
17
|
## Examples
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
ToolbarItem
|
|
25
25
|
} from '@patternfly/react-core';
|
|
26
26
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
27
|
-
import
|
|
27
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
28
28
|
|
|
29
29
|
export const ToolbarStacked: React.FunctionComponent = () => {
|
|
30
30
|
// toggle group - three option menus with labels, two icon buttons, Kebab menu - right aligned
|
|
@@ -229,7 +229,7 @@ export const ToolbarStacked: React.FunctionComponent = () => {
|
|
|
229
229
|
variant="plain"
|
|
230
230
|
onClick={onKebabToggle}
|
|
231
231
|
isExpanded={kebabIsOpen}
|
|
232
|
-
icon={<
|
|
232
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
233
233
|
/>
|
|
234
234
|
)}
|
|
235
235
|
isOpen={kebabIsOpen}
|
|
@@ -22,7 +22,7 @@ import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
|
22
22
|
import EditIcon from '@patternfly/react-icons/dist/esm/icons/edit-icon';
|
|
23
23
|
import CloneIcon from '@patternfly/react-icons/dist/esm/icons/clone-icon';
|
|
24
24
|
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
|
|
25
|
-
import
|
|
25
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
26
26
|
|
|
27
27
|
export const ToolbarWithFilters: React.FunctionComponent = () => {
|
|
28
28
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -231,7 +231,7 @@ export const ToolbarWithFilters: React.FunctionComponent = () => {
|
|
|
231
231
|
onClick={onKebabToggle}
|
|
232
232
|
variant="plain"
|
|
233
233
|
aria-label="Toolbar with filters example kebab toggle"
|
|
234
|
-
icon={<
|
|
234
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
235
235
|
/>
|
|
236
236
|
)}
|
|
237
237
|
>
|
|
@@ -7,7 +7,7 @@ propComponents: ['Tooltip']
|
|
|
7
7
|
|
|
8
8
|
import { useEffect, useRef, useState } from 'react';
|
|
9
9
|
import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
11
11
|
import './TooltipExamples.css';
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Tooltip, Button } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
4
4
|
|
|
5
5
|
export const TooltipIcon: React.FunctionComponent = () => {
|
|
6
6
|
const [showSuccessContent, setShowSuccessContent] = useState(false);
|
|
@@ -15,7 +15,7 @@ export const TooltipIcon: React.FunctionComponent = () => {
|
|
|
15
15
|
variant="plain"
|
|
16
16
|
id="tt-ref"
|
|
17
17
|
onClick={() => setShowSuccessContent(!showSuccessContent)}
|
|
18
|
-
icon={<
|
|
18
|
+
icon={<RhUiCopyFillIcon />}
|
|
19
19
|
/>
|
|
20
20
|
</Tooltip>
|
|
21
21
|
</div>
|
|
@@ -6,7 +6,7 @@ propComponents: ['TreeView', 'TreeViewDataItem', 'TreeViewSearch']
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
import { Fragment, useEffect, useState } from 'react';
|
|
9
|
-
import { FolderIcon, FolderOpenIcon,
|
|
9
|
+
import { FolderIcon, FolderOpenIcon, RhUiEllipsisVerticalFillIcon, HamburgerIcon, GitlabIcon, GithubIcon, GoogleIcon, RhUiClipboardFillIcon, RhUiStorageFillIcon } from '@patternfly/react-icons';
|
|
10
10
|
|
|
11
11
|
## Examples
|
|
12
12
|
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
MenuToggle,
|
|
9
9
|
TreeViewDataItem
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
11
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
12
|
+
import RhUiStorageFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-fill-icon';
|
|
13
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
14
14
|
|
|
15
15
|
export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
16
16
|
const [activeItems, setActiveItems] = useState<TreeViewDataItem[]>();
|
|
@@ -47,7 +47,7 @@ export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
|
47
47
|
onClick={onToggle}
|
|
48
48
|
variant="plain"
|
|
49
49
|
aria-label="Tree view with actions example kebab toggle"
|
|
50
|
-
icon={<
|
|
50
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
51
51
|
/>
|
|
52
52
|
)}
|
|
53
53
|
>
|
|
@@ -71,7 +71,7 @@ export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
|
71
71
|
{
|
|
72
72
|
name: 'Application 1',
|
|
73
73
|
id: 'example7-App1',
|
|
74
|
-
action: <Button variant="plain" aria-label="Launch app 1" icon={<
|
|
74
|
+
action: <Button variant="plain" aria-label="Launch app 1" icon={<RhUiClipboardFillIcon />} />,
|
|
75
75
|
actionProps: {
|
|
76
76
|
'aria-label': 'Launch app 1'
|
|
77
77
|
},
|
|
@@ -83,7 +83,7 @@ export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
|
83
83
|
{
|
|
84
84
|
name: 'Application 2',
|
|
85
85
|
id: 'example7-App2',
|
|
86
|
-
action: <Button variant="plain" aria-label="Launch app
|
|
86
|
+
action: <Button variant="plain" aria-label="Launch app 2" icon={<RhUiStorageFillIcon />} />,
|
|
87
87
|
children: [
|
|
88
88
|
{ name: 'Settings', id: 'example7-App2Settings' },
|
|
89
89
|
{
|
|
@@ -49,7 +49,7 @@ WizardNavItem,
|
|
|
49
49
|
WizardNav,
|
|
50
50
|
WizardHeader
|
|
51
51
|
} from '@patternfly/react-core';
|
|
52
|
-
import
|
|
52
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
53
53
|
import SlackHashIcon from '@patternfly/react-icons/dist/esm/icons/slack-hash-icon';
|
|
54
54
|
import CogsIcon from '@patternfly/react-icons/dist/esm/icons/cogs-icon';
|
|
55
55
|
import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button, Wizard, WizardStep } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
3
3
|
import SlackHashIcon from '@patternfly/react-icons/dist/esm/icons/slack-hash-icon';
|
|
4
4
|
|
|
5
5
|
export const WizardWithNavAnchors: React.FunctionComponent = () => (
|
|
@@ -7,7 +7,7 @@ export const WizardWithNavAnchors: React.FunctionComponent = () => (
|
|
|
7
7
|
<WizardStep
|
|
8
8
|
name={
|
|
9
9
|
<>
|
|
10
|
-
<
|
|
10
|
+
<RhMicronsExternalLinkIcon /> PF3
|
|
11
11
|
</>
|
|
12
12
|
}
|
|
13
13
|
id="navanchors-pf3-step"
|
|
@@ -18,7 +18,7 @@ export const WizardWithNavAnchors: React.FunctionComponent = () => (
|
|
|
18
18
|
<WizardStep
|
|
19
19
|
name={
|
|
20
20
|
<>
|
|
21
|
-
<
|
|
21
|
+
<RhMicronsExternalLinkIcon /> PF4
|
|
22
22
|
</>
|
|
23
23
|
}
|
|
24
24
|
id="navanchors-pf4-step"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.cls-1, .cls-2 {
|
|
6
|
+
fill: #d2d2d2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.cls-1, .cls-2, .cls-3 {
|
|
10
|
+
stroke-width: 0px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cls-2 {
|
|
14
|
+
fill-rule: evenodd;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cls-3 {
|
|
18
|
+
fill: #f0f0f0;
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
</defs>
|
|
22
|
+
<rect class="cls-3" width="36" height="36"/>
|
|
23
|
+
<path class="cls-2" d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"/>
|
|
24
|
+
<path class="cls-1" d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"/>
|
|
25
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">
|
|
2
|
+
<g>
|
|
3
|
+
<rect width="48" height="48" fill="#147878"></rect>
|
|
4
|
+
<rect x="36" y="42" width="6" height="6" fill="#004D4D"></rect>
|
|
5
|
+
<rect x="6" y="42" width="6" height="6" fill="#004D4D"></rect>
|
|
6
|
+
<rect x="12" y="36" width="24" height="6" fill="#004D4D"></rect>
|
|
7
|
+
<rect x="18" y="30" width="12" height="6" fill="#004D4D"></rect>
|
|
8
|
+
<rect width="6" height="24" transform="matrix(-1 0 0 1 48 12)" fill="#004D4D"></rect>
|
|
9
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 30)" fill="#004D4D"></rect>
|
|
10
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 36 24)" fill="#004D4D"></rect>
|
|
11
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 18)" fill="#004D4D"></rect>
|
|
12
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 36 12)" fill="#004D4D"></rect>
|
|
13
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 6)" fill="#004D4D"></rect>
|
|
14
|
+
<rect x="18" width="12" height="12" fill="#004D4D"></rect>
|
|
15
|
+
<rect x="6" y="30" width="6" height="6" fill="#004D4D"></rect>
|
|
16
|
+
<rect x="12" y="24" width="6" height="6" fill="#004D4D"></rect>
|
|
17
|
+
<rect x="6" y="18" width="6" height="6" fill="#004D4D"></rect>
|
|
18
|
+
<rect x="12" y="12" width="6" height="6" fill="#004D4D"></rect>
|
|
19
|
+
<rect x="6" y="6" width="6" height="6" fill="#004D4D"></rect>
|
|
20
|
+
<rect y="12" width="6" height="24" fill="#004D4D"></rect>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
package/src/demos/AlertGroup.md
CHANGED
|
@@ -5,7 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
9
9
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
10
10
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
11
11
|
|
package/src/demos/CardDemos.md
CHANGED
|
@@ -4,11 +4,7 @@ section: components
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import { Fragment, useState } from 'react';
|
|
7
|
-
import
|
|
8
|
-
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/js/icons/rh-ui-information-fill-icon';
|
|
9
|
-
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/js/icons/rh-microns-caret-right-icon';
|
|
10
|
-
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
11
|
-
import { RhUiCheckCircleFillIcon, RhUiErrorFillIcon, RhUiWarningFillIcon, RhUiNotificationFillIcon } from '@patternfly/react-icons';
|
|
7
|
+
import { RhUiEllipsisVerticalFillIcon, RhMicronsCaretRightIcon, RhUiCheckCircleFillIcon, RhUiErrorFillIcon, RhMicronsExternalLinkIcon, RhUiInformationFillIcon, RhUiWarningFillIcon, RhUiNotificationFillIcon } from '@patternfly/react-icons';
|
|
12
8
|
import { Table, Thead, Tbody, Tr, Th, Td, ExpandableRowContent } from '@patternfly/react-table';
|
|
13
9
|
import { Chart, ChartAxis, ChartGroup, ChartVoronoiContainer, ChartStack, ChartBar, ChartTooltip, ChartDonutThreshold, ChartDonutUtilization, ChartArea, ChartContainer, ChartLabel } from '@patternfly/react-charts/victory';
|
|
14
10
|
import chart_color_yellow_100 from '@patternfly/react-tokens/dist/esm/chart_color_yellow_100';
|