@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
|
@@ -16,7 +16,7 @@ import sparkIcon from '../assets/camel-spark_200x150.png';
|
|
|
16
16
|
import swaggerIcon from '../assets/camel-swagger-java_200x150.png';
|
|
17
17
|
import azureIcon from '../assets/FuseConnector_Icons_AzureServices.png';
|
|
18
18
|
import restIcon from '../assets/FuseConnector_Icons_REST.png';
|
|
19
|
-
import
|
|
19
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
20
20
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
21
21
|
|
|
22
22
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
@@ -46,7 +46,7 @@ import sparkIcon from './assets/camel-spark_200x150.png';
|
|
|
46
46
|
import swaggerIcon from './assets/camel-swagger-java_200x150.png';
|
|
47
47
|
import azureIcon from './assets/FuseConnector_Icons_AzureServices.png';
|
|
48
48
|
import restIcon from './assets/FuseConnector_Icons_REST.png';
|
|
49
|
-
import
|
|
49
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
50
50
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
51
51
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
52
52
|
|
|
@@ -427,7 +427,7 @@ export const CardViewBasic: React.FunctionComponent = () => {
|
|
|
427
427
|
variant="plain"
|
|
428
428
|
onClick={onToolbarKebabDropdownToggle}
|
|
429
429
|
isExpanded={isLowerToolbarKebabDropdownOpen}
|
|
430
|
-
icon={<
|
|
430
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
431
431
|
/>
|
|
432
432
|
)}
|
|
433
433
|
isOpen={isLowerToolbarKebabDropdownOpen}
|
|
@@ -517,7 +517,7 @@ export const CardViewBasic: React.FunctionComponent = () => {
|
|
|
517
517
|
onCardKebabDropdownToggle(e, key.toString());
|
|
518
518
|
}}
|
|
519
519
|
isExpanded={!!state[key]}
|
|
520
|
-
icon={<
|
|
520
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
521
521
|
/>
|
|
522
522
|
)}
|
|
523
523
|
popperProps={{ position: 'right' }}
|
|
@@ -6,16 +6,16 @@ section: components
|
|
|
6
6
|
import { useRef, useState, useEffect } from 'react';
|
|
7
7
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
8
8
|
import OutlinedPlusSquare from '@patternfly/react-icons/dist/esm/icons/outlined-plus-square-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhUiCopyIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-icon';
|
|
10
10
|
import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
|
|
11
11
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
12
12
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
13
13
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
14
14
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
15
|
-
import
|
|
15
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
16
16
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
17
17
|
import imgAvatar from '../assets/avatarImg.svg';
|
|
18
|
-
import
|
|
18
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
19
19
|
import pfLogo from '../assets/PF-IconLogo-color.svg';
|
|
20
20
|
import globalBreakpointLg from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_lg';
|
|
21
21
|
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from '@patternfly/react-core';
|
|
31
31
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
32
32
|
import OutlinedPlusSquare from '@patternfly/react-icons/dist/esm/icons/outlined-plus-square-icon';
|
|
33
|
-
import
|
|
33
|
+
import RhUiCopyIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-icon';
|
|
34
34
|
import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
|
|
35
35
|
|
|
36
36
|
export const CompassBasic: React.FunctionComponent = () => {
|
|
@@ -123,7 +123,7 @@ export const CompassBasic: React.FunctionComponent = () => {
|
|
|
123
123
|
</ActionListGroup>
|
|
124
124
|
<ActionListItem>
|
|
125
125
|
<Tooltip content="Copy">
|
|
126
|
-
<Button isCircle variant="plain" icon={<
|
|
126
|
+
<Button isCircle variant="plain" icon={<RhUiCopyIcon />} aria-label="Copy" />
|
|
127
127
|
</Tooltip>
|
|
128
128
|
</ActionListItem>
|
|
129
129
|
<ActionListGroup>
|
|
@@ -134,7 +134,7 @@ export const CompassBasic: React.FunctionComponent = () => {
|
|
|
134
134
|
</ActionListItem>
|
|
135
135
|
<ActionListItem>
|
|
136
136
|
<Tooltip content="Second copy">
|
|
137
|
-
<Button isCircle variant="plain" icon={<
|
|
137
|
+
<Button isCircle variant="plain" icon={<RhUiCopyIcon />} aria-label="Copy2" />
|
|
138
138
|
</Tooltip>
|
|
139
139
|
</ActionListItem>
|
|
140
140
|
</ActionListGroup>
|
|
@@ -32,10 +32,10 @@ import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
|
32
32
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
33
33
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
34
34
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
35
|
-
import
|
|
35
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
36
36
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
37
37
|
import pfLogo from '../../assets/PF-IconLogo-color.svg';
|
|
38
|
-
import
|
|
38
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
39
39
|
import globalBreakpointLg from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_lg';
|
|
40
40
|
|
|
41
41
|
interface NavOnSelectProps {
|
|
@@ -294,7 +294,7 @@ export const CompassDockDemo: React.FunctionComponent = () => {
|
|
|
294
294
|
to="#nav-icon-link4"
|
|
295
295
|
itemId={3}
|
|
296
296
|
isActive={activeItem === 3}
|
|
297
|
-
icon={<
|
|
297
|
+
icon={<RhUiCodeIcon />}
|
|
298
298
|
anchorRef={navItem4Ref}
|
|
299
299
|
aria-label="Network services"
|
|
300
300
|
>
|
|
@@ -318,12 +318,24 @@ export const CompassDockDemo: React.FunctionComponent = () => {
|
|
|
318
318
|
>
|
|
319
319
|
<ToolbarItem>
|
|
320
320
|
{isDockTextExpanded || isDockExpanded ? (
|
|
321
|
-
<MenuToggle
|
|
321
|
+
<MenuToggle
|
|
322
|
+
ref={appsRef}
|
|
323
|
+
variant="plain"
|
|
324
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
325
|
+
isDocked
|
|
326
|
+
aria-label="Applications"
|
|
327
|
+
>
|
|
322
328
|
Applications
|
|
323
329
|
</MenuToggle>
|
|
324
330
|
) : (
|
|
325
331
|
<Tooltip aria="none" aria-live="off" triggerRef={appsRef} content="Applications">
|
|
326
|
-
<MenuToggle
|
|
332
|
+
<MenuToggle
|
|
333
|
+
ref={appsRef}
|
|
334
|
+
variant="plain"
|
|
335
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
336
|
+
isDocked
|
|
337
|
+
aria-label="Applications"
|
|
338
|
+
>
|
|
327
339
|
Applications
|
|
328
340
|
</MenuToggle>
|
|
329
341
|
</Tooltip>
|
|
@@ -20,7 +20,7 @@ propComponents:
|
|
|
20
20
|
|
|
21
21
|
import { cloneElement, Fragment, useRef, useState } from 'react';
|
|
22
22
|
|
|
23
|
-
import
|
|
23
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
24
24
|
import brandImg from '../assets/PF-IconLogo.svg';
|
|
25
25
|
|
|
26
26
|
As the application launcher component is now deprecated, an application launcher may now be built using the new suite of menu components. This is showcased in the following demo, which uses the new [dropdown](/components/menus/dropdown) component that is built off of menu.
|
|
@@ -7,20 +7,18 @@ subsection: menus
|
|
|
7
7
|
import { cloneElement, Fragment, useEffect, useRef, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
14
|
-
import LayerGroupIcon from '@patternfly/react-icons/dist/esm/icons/layer-group-icon';
|
|
10
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
11
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
12
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
15
13
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
14
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
17
|
-
import
|
|
15
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
18
16
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
19
|
-
import
|
|
17
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
20
18
|
import brandImg from '../assets/PF-IconLogo.svg';
|
|
21
19
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
22
20
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
23
|
-
import RhMicronsCloseIcon from
|
|
21
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
24
22
|
import avatarImg from '../assets/avatarImg.svg';
|
|
25
23
|
import { css } from '@patternfly/react-styles';
|
|
26
24
|
import styles from '@patternfly/react-styles/css/components/Menu/menu';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useRef, useState } from 'react';
|
|
2
2
|
import { MenuToggle, MenuItemAction, Select, SelectGroup, SelectList, SelectOption } from '@patternfly/react-core';
|
|
3
3
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
5
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
6
6
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
7
7
|
|
|
8
8
|
export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
@@ -46,7 +46,7 @@ export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
|
46
46
|
isSelected={selectedItems.includes(0)}
|
|
47
47
|
actions={
|
|
48
48
|
<MenuItemAction
|
|
49
|
-
icon={<
|
|
49
|
+
icon={<RhUiBranchFillIcon />}
|
|
50
50
|
actionId="code"
|
|
51
51
|
// eslint-disable-next-line no-console
|
|
52
52
|
onClick={() => console.log('clicked on code icon')}
|
|
@@ -69,7 +69,7 @@ export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
|
69
69
|
</SelectOption>
|
|
70
70
|
<SelectOption
|
|
71
71
|
isSelected={selectedItems.includes(2)}
|
|
72
|
-
actions={<MenuItemAction icon={<
|
|
72
|
+
actions={<MenuItemAction icon={<RhUiClipboardFillIcon />} actionId="copy" aria-label="Copy" />}
|
|
73
73
|
value={2}
|
|
74
74
|
>
|
|
75
75
|
Item 3
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
DropdownList,
|
|
12
12
|
DropdownItem
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/js/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
15
15
|
import brandImg from '@patternfly/react-core/src/demos/assets/PF-IconLogo.svg';
|
|
16
16
|
|
|
17
17
|
const MockLink: React.FunctionComponent = ({ to, ...props }: any) => <a href={to} {...props}></a>;
|
|
@@ -215,7 +215,7 @@ export const ApplicationLauncherDemo: React.FunctionComponent = () => {
|
|
|
215
215
|
onClick={onToggleClick}
|
|
216
216
|
isExpanded={isOpen}
|
|
217
217
|
style={{ width: 'auto' }}
|
|
218
|
-
icon={<
|
|
218
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
219
219
|
/>
|
|
220
220
|
)}
|
|
221
221
|
ref={menuRef}
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
Divider,
|
|
10
10
|
MenuContainer
|
|
11
11
|
} from '@patternfly/react-core';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
12
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
13
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
14
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
16
|
|
|
17
17
|
interface MenuHeightsType {
|
|
@@ -183,18 +183,18 @@ export const DrilldownMenuDemo: React.FunctionComponent = () => {
|
|
|
183
183
|
</MenuItem>
|
|
184
184
|
<MenuItem
|
|
185
185
|
itemId="group:storage"
|
|
186
|
-
icon={<
|
|
186
|
+
icon={<RhUiStorageDomainFillIcon />}
|
|
187
187
|
direction="down"
|
|
188
188
|
drilldownMenu={
|
|
189
189
|
<DrilldownMenu id="drilldownMenuStorage">
|
|
190
|
-
<MenuItem itemId="group:storage_breadcrumb" icon={<
|
|
190
|
+
<MenuItem itemId="group:storage_breadcrumb" icon={<RhUiStorageDomainFillIcon />} direction="up">
|
|
191
191
|
Add storage
|
|
192
192
|
</MenuItem>
|
|
193
193
|
<Divider component="li" />
|
|
194
|
-
<MenuItem icon={<
|
|
194
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId="git">
|
|
195
195
|
From Git
|
|
196
196
|
</MenuItem>
|
|
197
|
-
<MenuItem icon={<
|
|
197
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId="container">
|
|
198
198
|
Container Image
|
|
199
199
|
</MenuItem>
|
|
200
200
|
<MenuItem icon={<CubeIcon />} itemId="docker">
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
27
27
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
28
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
29
|
-
import
|
|
29
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
30
30
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
31
31
|
|
|
32
32
|
interface DashboardHeaderProps {
|
|
@@ -175,7 +175,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
175
175
|
onClick={onKebabDropdownToggle}
|
|
176
176
|
variant="plain"
|
|
177
177
|
aria-label="Settings and help"
|
|
178
|
-
icon={<
|
|
178
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
179
179
|
/>
|
|
180
180
|
)}
|
|
181
181
|
>
|
|
@@ -195,7 +195,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
195
195
|
onClick={onFullKebabToggle}
|
|
196
196
|
variant="plain"
|
|
197
197
|
aria-label="Toolbar menu"
|
|
198
|
-
icon={<
|
|
198
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
199
199
|
/>
|
|
200
200
|
)}
|
|
201
201
|
>
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
PageSection,
|
|
17
17
|
Title
|
|
18
18
|
} from '@patternfly/react-core';
|
|
19
|
-
import
|
|
19
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
20
20
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
21
21
|
|
|
22
22
|
export const DataListActionable: React.FunctionComponent = () => {
|
|
@@ -100,7 +100,7 @@ export const DataListActionable: React.FunctionComponent = () => {
|
|
|
100
100
|
variant="plain"
|
|
101
101
|
aria-label="Data list with actions example kebab toggle"
|
|
102
102
|
>
|
|
103
|
-
<
|
|
103
|
+
<RhUiEllipsisVerticalFillIcon aria-hidden="true" />
|
|
104
104
|
</MenuToggle>
|
|
105
105
|
)}
|
|
106
106
|
isOpen={isOpen}
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
ToolbarItem,
|
|
22
22
|
ToolbarContent
|
|
23
23
|
} from '@patternfly/react-core';
|
|
24
|
-
import
|
|
24
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
25
25
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
26
26
|
|
|
27
|
-
import
|
|
28
|
-
import
|
|
27
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
28
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
29
29
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
30
30
|
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
31
31
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
@@ -57,7 +57,11 @@ export const DataListBasic: React.FunctionComponent = () => {
|
|
|
57
57
|
<Button variant="primary">Create instance</Button>
|
|
58
58
|
</OverflowMenuItem>
|
|
59
59
|
<OverflowMenuControl hasAdditionalOptions>
|
|
60
|
-
<MenuToggle
|
|
60
|
+
<MenuToggle
|
|
61
|
+
aria-label="Toolbar kebab overflow menu"
|
|
62
|
+
variant="plain"
|
|
63
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
64
|
+
/>
|
|
61
65
|
</OverflowMenuControl>
|
|
62
66
|
</OverflowMenu>
|
|
63
67
|
</ToolbarItem>
|
|
@@ -100,13 +104,13 @@ export const DataListBasic: React.FunctionComponent = () => {
|
|
|
100
104
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
101
105
|
<FlexItem>
|
|
102
106
|
<Icon>
|
|
103
|
-
<
|
|
107
|
+
<RhUiBranchFillIcon />
|
|
104
108
|
</Icon>
|
|
105
109
|
10 <span className="pf-v6-screen-reader">Branches</span>
|
|
106
110
|
</FlexItem>
|
|
107
111
|
<FlexItem>
|
|
108
112
|
<Icon>
|
|
109
|
-
<
|
|
113
|
+
<RhUiCodeIcon />
|
|
110
114
|
</Icon>
|
|
111
115
|
4 <span className="pf-v6-screen-reader">Code blocks</span>
|
|
112
116
|
</FlexItem>
|
|
@@ -151,13 +155,13 @@ export const DataListBasic: React.FunctionComponent = () => {
|
|
|
151
155
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
152
156
|
<FlexItem>
|
|
153
157
|
<Icon>
|
|
154
|
-
<
|
|
158
|
+
<RhUiBranchFillIcon />
|
|
155
159
|
</Icon>
|
|
156
160
|
5 <span className="pf-v6-screen-reader">Branches</span>
|
|
157
161
|
</FlexItem>
|
|
158
162
|
<FlexItem>
|
|
159
163
|
<Icon>
|
|
160
|
-
<
|
|
164
|
+
<RhUiCodeIcon />
|
|
161
165
|
</Icon>
|
|
162
166
|
9 <span className="pf-v6-screen-reader">Code blocks</span>
|
|
163
167
|
</FlexItem>
|
|
@@ -249,14 +253,14 @@ export const DataListBasic: React.FunctionComponent = () => {
|
|
|
249
253
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
250
254
|
<FlexItem>
|
|
251
255
|
<Icon>
|
|
252
|
-
<
|
|
256
|
+
<RhUiBranchFillIcon />
|
|
253
257
|
</Icon>
|
|
254
258
|
10
|
|
255
259
|
<span className="pf-v6-screen-reader">Branches</span>
|
|
256
260
|
</FlexItem>
|
|
257
261
|
<FlexItem>
|
|
258
262
|
<Icon>
|
|
259
|
-
<
|
|
263
|
+
<RhUiCodeIcon />
|
|
260
264
|
</Icon>
|
|
261
265
|
4 <span className="pf-v6-screen-reader">Code blocks</span>
|
|
262
266
|
</FlexItem>
|
|
@@ -301,13 +305,13 @@ export const DataListBasic: React.FunctionComponent = () => {
|
|
|
301
305
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
302
306
|
<FlexItem>
|
|
303
307
|
<Icon>
|
|
304
|
-
<
|
|
308
|
+
<RhUiBranchFillIcon />
|
|
305
309
|
</Icon>
|
|
306
310
|
5 <span className="pf-v6-screen-reader">Branches</span>
|
|
307
311
|
</FlexItem>
|
|
308
312
|
<FlexItem>
|
|
309
313
|
<Icon>
|
|
310
|
-
<
|
|
314
|
+
<RhUiCodeIcon />
|
|
311
315
|
</Icon>
|
|
312
316
|
9 <span className="pf-v6-screen-reader">Code blocks</span>
|
|
313
317
|
</FlexItem>
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
|
|
29
29
|
import { DashboardWrapper } from '@patternfly/react-core/src/demos/DashboardWrapper';
|
|
30
30
|
|
|
31
|
-
import
|
|
31
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
32
32
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
33
|
-
import
|
|
33
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
34
34
|
|
|
35
35
|
export const DataListExpandableControlInToolbar: React.FunctionComponent = () => {
|
|
36
36
|
const [expanded, setExpanded] = useState(['ex-toggle1', 'ex-toggle3']);
|
|
@@ -160,7 +160,7 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
|
|
|
160
160
|
<DataListItemCells
|
|
161
161
|
dataListCells={[
|
|
162
162
|
<DataListCell isIcon key="icon">
|
|
163
|
-
<
|
|
163
|
+
<RhUiBranchFillIcon />
|
|
164
164
|
</DataListCell>,
|
|
165
165
|
<DataListCell key="primary content">
|
|
166
166
|
<div id="ex-item1">Primary content</div>
|
|
@@ -188,7 +188,7 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
|
|
|
188
188
|
isExpanded={isOpen1}
|
|
189
189
|
variant="plain"
|
|
190
190
|
aria-label="Primary content kebab toggle"
|
|
191
|
-
icon={<
|
|
191
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
192
192
|
/>
|
|
193
193
|
)}
|
|
194
194
|
>
|
|
@@ -237,7 +237,7 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
|
|
|
237
237
|
<DataListItemCells
|
|
238
238
|
dataListCells={[
|
|
239
239
|
<DataListCell isIcon key="icon">
|
|
240
|
-
<
|
|
240
|
+
<RhUiBranchFillIcon />
|
|
241
241
|
</DataListCell>,
|
|
242
242
|
<DataListCell key="secondary content">
|
|
243
243
|
<div id="ex-item2">Secondary content</div>
|
|
@@ -264,7 +264,7 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
|
|
|
264
264
|
isExpanded={isOpen2}
|
|
265
265
|
variant="plain"
|
|
266
266
|
aria-label="Secondary content kebab toggle"
|
|
267
|
-
icon={<
|
|
267
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
268
268
|
/>
|
|
269
269
|
)}
|
|
270
270
|
>
|
|
@@ -313,7 +313,7 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
|
|
|
313
313
|
<DataListItemCells
|
|
314
314
|
dataListCells={[
|
|
315
315
|
<DataListCell isIcon key="icon">
|
|
316
|
-
<
|
|
316
|
+
<RhUiBranchFillIcon />
|
|
317
317
|
</DataListCell>,
|
|
318
318
|
<DataListCell key="tertiary content">
|
|
319
319
|
<div id="ex-item3">Tertiary content</div>
|
|
@@ -340,7 +340,7 @@ export const DataListExpandableControlInToolbar: React.FunctionComponent = () =>
|
|
|
340
340
|
isExpanded={isOpen3}
|
|
341
341
|
variant="plain"
|
|
342
342
|
aria-label="Tertiary content kebab toggle"
|
|
343
|
-
icon={<
|
|
343
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
344
344
|
/>
|
|
345
345
|
)}
|
|
346
346
|
>
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
ToolbarContent,
|
|
24
24
|
PaginationVariant
|
|
25
25
|
} from '@patternfly/react-core';
|
|
26
|
-
import
|
|
26
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
27
27
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
28
28
|
|
|
29
|
-
import
|
|
30
|
-
import
|
|
29
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
30
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
31
31
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
32
32
|
import { rows } from '@patternfly/react-core/dist/esm/demos/sampleData';
|
|
33
33
|
|
|
@@ -101,7 +101,7 @@ export const DataListStaticBottomPagination: React.FunctionComponent = () => {
|
|
|
101
101
|
</OverflowMenuItem>
|
|
102
102
|
<OverflowMenuControl hasAdditionalOptions>
|
|
103
103
|
<MenuToggle aria-label="Toolbar kebab overflow menu" variant="plain">
|
|
104
|
-
<
|
|
104
|
+
<RhUiEllipsisVerticalFillIcon />
|
|
105
105
|
</MenuToggle>
|
|
106
106
|
</OverflowMenuControl>
|
|
107
107
|
</OverflowMenu>
|
|
@@ -153,7 +153,7 @@ export const DataListStaticBottomPagination: React.FunctionComponent = () => {
|
|
|
153
153
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
154
154
|
<FlexItem>
|
|
155
155
|
<Icon>
|
|
156
|
-
<
|
|
156
|
+
<RhUiBranchFillIcon />
|
|
157
157
|
</Icon>{' '}
|
|
158
158
|
{threads}
|
|
159
159
|
<span className="pf-v6-screen-reader">Branches</span>
|
|
@@ -162,7 +162,7 @@ export const DataListStaticBottomPagination: React.FunctionComponent = () => {
|
|
|
162
162
|
<Flex spaceItems={{ default: 'spaceItemsSm' }}>
|
|
163
163
|
<FlexItem>
|
|
164
164
|
<Icon>
|
|
165
|
-
<
|
|
165
|
+
<RhUiCodeIcon />
|
|
166
166
|
</Icon>{' '}
|
|
167
167
|
{applications}
|
|
168
168
|
<span className="pf-v6-screen-reader">Code blocks</span>
|
|
@@ -5,13 +5,13 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { Fragment, useState } from 'react';
|
|
7
7
|
|
|
8
|
-
import
|
|
8
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
9
9
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
10
10
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
11
|
-
import
|
|
11
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
12
12
|
import { css } from '@patternfly/react-styles';
|
|
13
13
|
|
|
14
|
-
import
|
|
14
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
16
|
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
17
17
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
@@ -5,8 +5,8 @@ subsection: date-and-time
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
import { useState } from 'react';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import RhUiCalendarIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-icon';
|
|
9
|
+
import RhUiClockIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-icon';
|
|
10
10
|
|
|
11
11
|
## Demos
|
|
12
12
|
|
package/src/demos/Masthead.md
CHANGED
|
@@ -4,13 +4,13 @@ section: components
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import { cloneElement, Fragment, useEffect, useRef, useState } from 'react';
|
|
7
|
-
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
8
7
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
8
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
9
9
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
10
10
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
11
11
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
12
12
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
13
|
-
import
|
|
13
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
14
14
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
15
15
|
import pfIcon from './assets/pf-logo-small.svg';
|
|
16
16
|
import pfLogo from './assets/PF-HorizontalLogo-Color.svg';
|
package/src/demos/Nav.md
CHANGED
|
@@ -7,7 +7,7 @@ import { Fragment, useState, useRef, useEffect } from 'react';
|
|
|
7
7
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
8
8
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
9
9
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
11
11
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
12
12
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
13
13
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
@@ -15,8 +15,8 @@ import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Co
|
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
16
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
17
17
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
18
|
-
import
|
|
19
|
-
import
|
|
18
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
19
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
20
20
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
21
21
|
import pfIconLogo from '@patternfly/react-core/src/demos/assets/PF-IconLogo-color.svg';
|
|
22
22
|
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
@@ -12,7 +12,7 @@ import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
|
12
12
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
13
13
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
14
14
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
17
17
|
|
|
18
18
|
## Demos
|