@patternfly/react-core 6.6.0-prerelease.5 → 6.6.0-prerelease.7
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 +6 -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/Banner/Banner.d.ts +2 -0
- package/dist/esm/components/Banner/Banner.d.ts.map +1 -1
- package/dist/esm/components/Banner/Banner.js +2 -2
- package/dist/esm/components/Banner/Banner.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/Banner/Banner.d.ts +2 -0
- package/dist/js/components/Banner/Banner.d.ts.map +1 -1
- package/dist/js/components/Banner/Banner.js +2 -2
- package/dist/js/components/Banner/Banner.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/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +6 -7
- 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/Banner/Banner.tsx +10 -1
- package/src/components/Banner/__tests__/Banner.test.tsx +15 -0
- package/src/components/Banner/examples/Banner.md +8 -0
- package/src/components/Banner/examples/BannerPill.tsx +21 -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
- package/LICENSE +0 -21
- package/dist/umd/assets/output-B2l1dRBf.css +0 -27144
- package/dist/umd/react-core.min.js +0 -11
|
@@ -6,16 +6,14 @@ import {
|
|
|
6
6
|
BreadcrumbItem,
|
|
7
7
|
Button,
|
|
8
8
|
ButtonVariant,
|
|
9
|
-
Card,
|
|
10
9
|
Content,
|
|
11
10
|
Divider,
|
|
12
11
|
Dropdown,
|
|
13
12
|
DropdownGroup,
|
|
14
13
|
DropdownItem,
|
|
15
14
|
DropdownList,
|
|
16
|
-
Icon,
|
|
17
15
|
Label,
|
|
18
|
-
|
|
16
|
+
LabelStatus,
|
|
19
17
|
Masthead,
|
|
20
18
|
MastheadMain,
|
|
21
19
|
MastheadLogo,
|
|
@@ -46,14 +44,14 @@ import translationsEn from './examples/translations.en.json';
|
|
|
46
44
|
import translationsHe from './examples/translations.he.json';
|
|
47
45
|
import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
|
|
48
46
|
import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
49
|
-
import
|
|
50
|
-
import
|
|
47
|
+
import RhUiRunningIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-running-icon';
|
|
48
|
+
import RhUiClockFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-fill-icon';
|
|
49
|
+
import RhUiStopCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-stop-circle-fill-icon';
|
|
51
50
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
52
51
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
53
52
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
54
53
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
55
|
-
import
|
|
56
|
-
import HandPaperIcon from '@patternfly/react-icons/dist/esm/icons/hand-paper-icon';
|
|
54
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
57
55
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
58
56
|
import { rows } from '@patternfly/react-core/dist/esm/demos/sampleDataRTL';
|
|
59
57
|
|
|
@@ -180,42 +178,28 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
180
178
|
case 'Running':
|
|
181
179
|
case 'רץ':
|
|
182
180
|
return (
|
|
183
|
-
<Label
|
|
184
|
-
color={LabelColor.green}
|
|
185
|
-
icon={
|
|
186
|
-
<Icon shouldMirrorRTL>
|
|
187
|
-
<WalkingIcon />
|
|
188
|
-
</Icon>
|
|
189
|
-
}
|
|
190
|
-
>
|
|
181
|
+
<Label status={LabelStatus.success} icon={<RhUiRunningIcon className="pf-v6-m-mirror-inline-rtl" />}>
|
|
191
182
|
{translation.table.rows.status.running}
|
|
192
183
|
</Label>
|
|
193
184
|
);
|
|
194
185
|
case 'Stopped':
|
|
195
186
|
case 'עצר':
|
|
196
187
|
return (
|
|
197
|
-
<Label
|
|
198
|
-
icon={
|
|
199
|
-
<Icon shouldMirrorRTL>
|
|
200
|
-
<HandPaperIcon />
|
|
201
|
-
</Icon>
|
|
202
|
-
}
|
|
203
|
-
color={LabelColor.red}
|
|
204
|
-
>
|
|
188
|
+
<Label status={LabelStatus.danger} icon={<RhUiStopCircleFillIcon className="pf-v6-m-mirror-inline-rtl" />}>
|
|
205
189
|
{translation.table.rows.status.stopped}
|
|
206
190
|
</Label>
|
|
207
191
|
);
|
|
208
192
|
case 'Needs maintenance':
|
|
209
193
|
case 'זקוק לתחזוקה':
|
|
210
194
|
return (
|
|
211
|
-
<Label icon={<ToolsIcon />}
|
|
195
|
+
<Label status={LabelStatus.info} icon={<ToolsIcon />}>
|
|
212
196
|
{translation.table.rows.status.needsMaintenance}
|
|
213
197
|
</Label>
|
|
214
198
|
);
|
|
215
199
|
case 'Down':
|
|
216
200
|
case 'מטה':
|
|
217
201
|
return (
|
|
218
|
-
<Label icon={<
|
|
202
|
+
<Label status={LabelStatus.warning} icon={<RhUiClockFillIcon />}>
|
|
219
203
|
{translation.table.rows.status.down}
|
|
220
204
|
</Label>
|
|
221
205
|
);
|
|
@@ -229,11 +213,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
229
213
|
<ToolbarItem>
|
|
230
214
|
<Button
|
|
231
215
|
variant="primary"
|
|
232
|
-
icon={
|
|
233
|
-
<Icon shouldMirrorRTL>
|
|
234
|
-
<AlignRightIcon />
|
|
235
|
-
</Icon>
|
|
236
|
-
}
|
|
216
|
+
icon={<AlignRightIcon className="pf-v6-m-mirror-inline-rtl" />}
|
|
237
217
|
iconPosition="end"
|
|
238
218
|
onClick={switchTranslation}
|
|
239
219
|
>
|
|
@@ -363,7 +343,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
363
343
|
onClick={onKebabDropdownToggle}
|
|
364
344
|
variant="plain"
|
|
365
345
|
aria-label={translation.kebabDropdown.settingsAndHelp}
|
|
366
|
-
icon={<
|
|
346
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
367
347
|
/>
|
|
368
348
|
)}
|
|
369
349
|
>
|
|
@@ -383,7 +363,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
383
363
|
onClick={onFullKebabToggle}
|
|
384
364
|
variant="plain"
|
|
385
365
|
aria-label={translation.kebabAndUserDropdown.toolbarMenuAriaLabel}
|
|
386
|
-
icon={<
|
|
366
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
387
367
|
/>
|
|
388
368
|
)}
|
|
389
369
|
>
|
|
@@ -443,52 +423,50 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
443
423
|
</Content>
|
|
444
424
|
</PageSection>
|
|
445
425
|
<PageSection>
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
<
|
|
449
|
-
<
|
|
450
|
-
|
|
451
|
-
{
|
|
452
|
-
<Th key={columnIndex}>{column}</Th>
|
|
453
|
-
))}
|
|
454
|
-
</Tr>
|
|
455
|
-
</Thead>
|
|
456
|
-
<Tbody>
|
|
457
|
-
{paginatedRows.map((row: Row, rowIndex: number) => (
|
|
458
|
-
<Tr key={rowIndex}>
|
|
459
|
-
<>
|
|
460
|
-
{Object.entries(row).map(([key, value]) => {
|
|
461
|
-
if (key === 'status') {
|
|
462
|
-
return (
|
|
463
|
-
<Td key={key} width={15} dataLabel="Status">
|
|
464
|
-
{renderLabel(value)}
|
|
465
|
-
</Td>
|
|
466
|
-
);
|
|
467
|
-
} else if (key === 'url') {
|
|
468
|
-
return (
|
|
469
|
-
// Passing dir="rtl" forces truncation at the start of the URL,
|
|
470
|
-
// resulting in the unique portion being visible regardless of language
|
|
471
|
-
<Td key={key} dataLabel="URL" width={15}>
|
|
472
|
-
<a href="#">
|
|
473
|
-
<Truncate content={row.url} position={isDirRTL ? 'end' : 'start'} />
|
|
474
|
-
</a>
|
|
475
|
-
</Td>
|
|
476
|
-
);
|
|
477
|
-
} else {
|
|
478
|
-
return (
|
|
479
|
-
<Td key={key} dataLabel={key === 'lastModified' ? 'Last modified' : capitalize(key)}>
|
|
480
|
-
{value}
|
|
481
|
-
</Td>
|
|
482
|
-
);
|
|
483
|
-
}
|
|
484
|
-
})}
|
|
485
|
-
</>
|
|
486
|
-
</Tr>
|
|
426
|
+
{toolbarItems}
|
|
427
|
+
<Table variant="compact" aria-label={translation.table.ariaLabel}>
|
|
428
|
+
<Thead>
|
|
429
|
+
<Tr>
|
|
430
|
+
{columns.map((column, columnIndex) => (
|
|
431
|
+
<Th key={columnIndex}>{column}</Th>
|
|
487
432
|
))}
|
|
488
|
-
</
|
|
489
|
-
</
|
|
490
|
-
|
|
491
|
-
|
|
433
|
+
</Tr>
|
|
434
|
+
</Thead>
|
|
435
|
+
<Tbody>
|
|
436
|
+
{paginatedRows.map((row: Row, rowIndex: number) => (
|
|
437
|
+
<Tr key={rowIndex}>
|
|
438
|
+
<>
|
|
439
|
+
{Object.entries(row).map(([key, value]) => {
|
|
440
|
+
if (key === 'status') {
|
|
441
|
+
return (
|
|
442
|
+
<Td key={key} width={15} dataLabel="Status">
|
|
443
|
+
{renderLabel(value)}
|
|
444
|
+
</Td>
|
|
445
|
+
);
|
|
446
|
+
} else if (key === 'url') {
|
|
447
|
+
return (
|
|
448
|
+
// Passing dir="rtl" forces truncation at the start of the URL,
|
|
449
|
+
// resulting in the unique portion being visible regardless of language
|
|
450
|
+
<Td key={key} dataLabel="URL" width={15}>
|
|
451
|
+
<a href="#">
|
|
452
|
+
<Truncate content={row.url} position={isDirRTL ? 'end' : 'start'} />
|
|
453
|
+
</a>
|
|
454
|
+
</Td>
|
|
455
|
+
);
|
|
456
|
+
} else {
|
|
457
|
+
return (
|
|
458
|
+
<Td key={key} dataLabel={key === 'lastModified' ? 'Last modified' : capitalize(key)}>
|
|
459
|
+
{value}
|
|
460
|
+
</Td>
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
})}
|
|
464
|
+
</>
|
|
465
|
+
</Tr>
|
|
466
|
+
))}
|
|
467
|
+
</Tbody>
|
|
468
|
+
</Table>
|
|
469
|
+
{renderPagination(PaginationVariant.bottom)}
|
|
492
470
|
</PageSection>
|
|
493
471
|
</Page>
|
|
494
472
|
</Fragment>
|
package/src/demos/Tabs.md
CHANGED
|
@@ -6,12 +6,12 @@ section: components
|
|
|
6
6
|
import { Fragment, useCallback, useRef, useState } from 'react';
|
|
7
7
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
8
8
|
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
10
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
11
11
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
12
12
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
14
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
15
15
|
import display from '@patternfly/react-styles/css/utilities/Display/display';
|
|
16
16
|
import sizing from '@patternfly/react-styles/css/utilities/Sizing/sizing';
|
|
17
17
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
package/src/demos/Toolbar.md
CHANGED
|
@@ -7,7 +7,7 @@ import { Fragment, useState } from 'react';
|
|
|
7
7
|
import PauseIcon from '@patternfly/react-icons/dist/esm/icons/pause-icon';
|
|
8
8
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
9
9
|
import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
11
11
|
import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
|
|
12
12
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
13
13
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
MenuToggleElement
|
|
29
29
|
} from '@patternfly/react-core';
|
|
30
30
|
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
|
|
31
|
-
import
|
|
31
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
32
32
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
33
33
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
34
34
|
|
|
@@ -248,7 +248,7 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
|
|
|
248
248
|
variant="plain"
|
|
249
249
|
onClick={() => onDropdownToggle('dropdown-toggle-id-0')}
|
|
250
250
|
aria-label="Notification drawer actions"
|
|
251
|
-
icon={<
|
|
251
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
252
252
|
/>
|
|
253
253
|
)}
|
|
254
254
|
>
|
|
@@ -279,7 +279,7 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
|
|
|
279
279
|
variant="plain"
|
|
280
280
|
onClick={() => onDropdownToggle(key)}
|
|
281
281
|
aria-label={`Notification ${index + 1} actions`}
|
|
282
|
-
icon={<
|
|
282
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
283
283
|
/>
|
|
284
284
|
)}
|
|
285
285
|
>
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
} from '@patternfly/react-core';
|
|
23
23
|
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
24
24
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
25
|
-
import
|
|
26
|
-
import
|
|
25
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
26
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
27
27
|
|
|
28
28
|
export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
29
29
|
const [isCardExpanded, setIsCardExpanded] = useState(false);
|
|
@@ -64,7 +64,7 @@ export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
|
64
64
|
onClick={onActionToggle}
|
|
65
65
|
variant="plain"
|
|
66
66
|
aria-label="Horizontal card grid demo kebab toggle"
|
|
67
|
-
icon={<
|
|
67
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
68
68
|
/>
|
|
69
69
|
)}
|
|
70
70
|
>
|
|
@@ -241,7 +241,7 @@ export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
|
241
241
|
<ListItem>
|
|
242
242
|
<a href="#">
|
|
243
243
|
OpenShift 4.5: Top Tasks
|
|
244
|
-
<
|
|
244
|
+
<RhMicronsExternalLinkIcon />
|
|
245
245
|
</a>
|
|
246
246
|
</ListItem>
|
|
247
247
|
<ListItem>
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
MenuToggle,
|
|
13
13
|
MenuToggleElement
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import RhUiCalendarIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-icon';
|
|
16
|
+
import RhUiClockIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-icon';
|
|
17
17
|
|
|
18
18
|
export const DateTimePicker: React.FunctionComponent = () => {
|
|
19
19
|
const [isCalendarOpen, setIsCalendarOpen] = useState(false);
|
|
@@ -65,7 +65,7 @@ export const DateTimePicker: React.FunctionComponent = () => {
|
|
|
65
65
|
onClick={onToggleTime}
|
|
66
66
|
isExpanded={isTimeOpen}
|
|
67
67
|
aria-label="Time picker"
|
|
68
|
-
icon={<
|
|
68
|
+
icon={<RhUiClockIcon />}
|
|
69
69
|
/>
|
|
70
70
|
)}
|
|
71
71
|
>
|
|
@@ -74,12 +74,7 @@ export const DateTimePicker: React.FunctionComponent = () => {
|
|
|
74
74
|
);
|
|
75
75
|
|
|
76
76
|
const calendarButton = (
|
|
77
|
-
<Button
|
|
78
|
-
variant="control"
|
|
79
|
-
aria-label="Toggle the calendar"
|
|
80
|
-
onClick={onToggleCalendar}
|
|
81
|
-
icon={<OutlinedCalendarAltIcon />}
|
|
82
|
-
/>
|
|
77
|
+
<Button variant="control" aria-label="Toggle the calendar" onClick={onToggleCalendar} icon={<RhUiCalendarIcon />} />
|
|
83
78
|
);
|
|
84
79
|
|
|
85
80
|
return (
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ToolbarGroup,
|
|
37
37
|
ToolbarItem
|
|
38
38
|
} from '@patternfly/react-core';
|
|
39
|
-
import
|
|
39
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
40
40
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
@@ -212,7 +212,7 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
212
212
|
isExpanded={isKebabDropdownOpen}
|
|
213
213
|
variant="plain"
|
|
214
214
|
aria-label="Settings and help"
|
|
215
|
-
icon={<
|
|
215
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
216
216
|
/>
|
|
217
217
|
)}
|
|
218
218
|
>
|
|
@@ -232,7 +232,7 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
232
232
|
isExpanded={isFullKebabDropdownOpen}
|
|
233
233
|
variant="plain"
|
|
234
234
|
aria-label="Toolbar menu"
|
|
235
|
-
icon={<
|
|
235
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
236
236
|
/>
|
|
237
237
|
)}
|
|
238
238
|
>
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
SearchInput,
|
|
50
50
|
Tooltip
|
|
51
51
|
} from '@patternfly/react-core';
|
|
52
|
-
import
|
|
52
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
53
53
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
54
54
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
55
|
-
import
|
|
55
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
56
56
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
57
57
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
58
58
|
import pfIcon from '@patternfly/react-core/src/demos/assets/pf-logo-small.svg';
|
|
@@ -156,7 +156,7 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
156
156
|
onClick={onToggleClick}
|
|
157
157
|
isExpanded={isOpen}
|
|
158
158
|
style={{ width: 'auto' }}
|
|
159
|
-
icon={<
|
|
159
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
160
160
|
/>
|
|
161
161
|
);
|
|
162
162
|
|
|
@@ -422,7 +422,7 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
422
422
|
isExpanded={isKebabDropdownOpen}
|
|
423
423
|
variant="plain"
|
|
424
424
|
aria-label="Settings and help"
|
|
425
|
-
icon={<
|
|
425
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
426
426
|
/>
|
|
427
427
|
)}
|
|
428
428
|
>
|
|
@@ -442,7 +442,7 @@ export const MastheadWithUtilitiesAndUserDropdownMenu: React.FunctionComponent =
|
|
|
442
442
|
isExpanded={isFullKebabDropdownOpen}
|
|
443
443
|
variant="plain"
|
|
444
444
|
aria-label="Toolbar menu"
|
|
445
|
-
icon={<
|
|
445
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
446
446
|
/>
|
|
447
447
|
)}
|
|
448
448
|
>
|
|
@@ -34,8 +34,8 @@ import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/ico
|
|
|
34
34
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
35
35
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
36
36
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
37
|
-
import
|
|
38
|
-
import
|
|
37
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
38
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
39
39
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
40
40
|
import pfIconLogo from '@patternfly/react-core/src/demos/assets/PF-IconLogo-color.svg';
|
|
41
41
|
import globalBreakpointXl from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_xl';
|
|
@@ -313,7 +313,7 @@ export const NavDockedNav: React.FunctionComponent = () => {
|
|
|
313
313
|
to="#nav-link4"
|
|
314
314
|
itemId={3}
|
|
315
315
|
isActive={activeItem === 3}
|
|
316
|
-
icon={<
|
|
316
|
+
icon={<RhUiCodeIcon />}
|
|
317
317
|
anchorRef={navItem4Ref}
|
|
318
318
|
aria-label="Network services"
|
|
319
319
|
>
|
|
@@ -337,12 +337,24 @@ export const NavDockedNav: React.FunctionComponent = () => {
|
|
|
337
337
|
>
|
|
338
338
|
<ToolbarItem>
|
|
339
339
|
{isDockTextExpanded || isDockExpanded ? (
|
|
340
|
-
<MenuToggle
|
|
340
|
+
<MenuToggle
|
|
341
|
+
ref={appsRef}
|
|
342
|
+
variant="plain"
|
|
343
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
344
|
+
isDocked
|
|
345
|
+
aria-label="Applications"
|
|
346
|
+
>
|
|
341
347
|
Applications
|
|
342
348
|
</MenuToggle>
|
|
343
349
|
) : (
|
|
344
350
|
<Tooltip aria="none" aria-live="off" triggerRef={appsRef} content="Applications">
|
|
345
|
-
<MenuToggle
|
|
351
|
+
<MenuToggle
|
|
352
|
+
ref={appsRef}
|
|
353
|
+
variant="plain"
|
|
354
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
355
|
+
isDocked
|
|
356
|
+
aria-label="Applications"
|
|
357
|
+
>
|
|
346
358
|
Applications
|
|
347
359
|
</MenuToggle>
|
|
348
360
|
</Tooltip>
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
ToolbarItem
|
|
38
38
|
} from '@patternfly/react-core';
|
|
39
39
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
40
|
-
import
|
|
40
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
43
43
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
@@ -157,7 +157,7 @@ export const NavFlyout: React.FunctionComponent = () => {
|
|
|
157
157
|
onClick={onKebabDropdownToggle}
|
|
158
158
|
variant="plain"
|
|
159
159
|
aria-label="Settings and help"
|
|
160
|
-
icon={<
|
|
160
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
161
161
|
/>
|
|
162
162
|
)}
|
|
163
163
|
>
|
|
@@ -177,7 +177,7 @@ export const NavFlyout: React.FunctionComponent = () => {
|
|
|
177
177
|
onClick={onFullKebabToggle}
|
|
178
178
|
variant="plain"
|
|
179
179
|
aria-label="Toolbar menu"
|
|
180
|
-
icon={<
|
|
180
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
181
181
|
/>
|
|
182
182
|
)}
|
|
183
183
|
>
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
37
37
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
38
38
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
39
|
-
import
|
|
39
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
40
40
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
41
41
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
42
42
|
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
@@ -136,7 +136,7 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
136
136
|
onClick={onKebabDropdownToggle}
|
|
137
137
|
variant="plain"
|
|
138
138
|
aria-label="Settings and help"
|
|
139
|
-
icon={<
|
|
139
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
140
140
|
/>
|
|
141
141
|
)}
|
|
142
142
|
>
|
|
@@ -156,7 +156,7 @@ export const NavHorizontal: React.FunctionComponent = () => {
|
|
|
156
156
|
onClick={onFullKebabToggle}
|
|
157
157
|
variant="plain"
|
|
158
158
|
aria-label="Toolbar menu"
|
|
159
|
-
icon={<
|
|
159
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
160
160
|
/>
|
|
161
161
|
)}
|
|
162
162
|
>
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
40
40
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
41
41
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
42
|
-
import
|
|
42
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
43
43
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
44
44
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
45
45
|
import { DashboardBreadcrumb } from '@patternfly/react-core/src/demos/DashboardWrapper';
|
|
@@ -184,7 +184,7 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
184
184
|
onClick={onKebabDropdownToggle}
|
|
185
185
|
variant="plain"
|
|
186
186
|
aria-label="Settings and help"
|
|
187
|
-
icon={<
|
|
187
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
188
188
|
/>
|
|
189
189
|
)}
|
|
190
190
|
>
|
|
@@ -204,7 +204,7 @@ export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
|
204
204
|
onClick={onFullKebabToggle}
|
|
205
205
|
variant="plain"
|
|
206
206
|
aria-label="Toolbar menu"
|
|
207
|
-
icon={<
|
|
207
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
208
208
|
/>
|
|
209
209
|
)}
|
|
210
210
|
>
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
43
|
-
import
|
|
43
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
44
44
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
45
45
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
46
46
|
|
|
@@ -151,7 +151,7 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
151
151
|
onClick={onKebabDropdownToggle}
|
|
152
152
|
variant="plain"
|
|
153
153
|
aria-label="Settings and help"
|
|
154
|
-
icon={<
|
|
154
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
155
155
|
/>
|
|
156
156
|
)}
|
|
157
157
|
>
|
|
@@ -171,7 +171,7 @@ export const NavManual: React.FunctionComponent = () => {
|
|
|
171
171
|
onClick={onFullKebabToggle}
|
|
172
172
|
variant="plain"
|
|
173
173
|
aria-label="Toolbar menu"
|
|
174
|
-
icon={<
|
|
174
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
175
175
|
/>
|
|
176
176
|
)}
|
|
177
177
|
>
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
44
44
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
45
45
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
46
|
-
import
|
|
46
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
47
47
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
48
48
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
49
49
|
interface NavOnSelectProps {
|
|
@@ -169,7 +169,7 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
169
169
|
isExpanded={isKebabDropdownOpen}
|
|
170
170
|
variant="plain"
|
|
171
171
|
aria-label="Settings and help"
|
|
172
|
-
icon={<
|
|
172
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
173
173
|
/>
|
|
174
174
|
)}
|
|
175
175
|
>
|
|
@@ -189,7 +189,7 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
189
189
|
isExpanded={isFullKebabDropdownOpen}
|
|
190
190
|
variant="plain"
|
|
191
191
|
aria-label="Toolbar menu"
|
|
192
|
-
icon={<
|
|
192
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
193
193
|
/>
|
|
194
194
|
)}
|
|
195
195
|
>
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
44
44
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
45
45
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
46
|
-
import
|
|
46
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
47
47
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
48
48
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
49
49
|
interface NavOnSelectProps {
|
|
@@ -147,7 +147,7 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
147
147
|
isExpanded={isKebabDropdownOpen}
|
|
148
148
|
variant="plain"
|
|
149
149
|
aria-label="Settings and help"
|
|
150
|
-
icon={<
|
|
150
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
151
151
|
/>
|
|
152
152
|
)}
|
|
153
153
|
>
|
|
@@ -167,7 +167,7 @@ export const PageStickySectionBreadcrumb: React.FunctionComponent = () => {
|
|
|
167
167
|
isExpanded={isFullKebabDropdownOpen}
|
|
168
168
|
variant="plain"
|
|
169
169
|
aria-label="Toolbar menu"
|
|
170
|
-
icon={<
|
|
170
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
171
171
|
/>
|
|
172
172
|
)}
|
|
173
173
|
>
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
44
44
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
45
45
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
46
|
-
import
|
|
46
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
47
47
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
48
48
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
49
49
|
interface NavOnSelectProps {
|
|
@@ -147,7 +147,7 @@ export const PageStickySectionGroup: React.FunctionComponent = () => {
|
|
|
147
147
|
isExpanded={isKebabDropdownOpen}
|
|
148
148
|
variant="plain"
|
|
149
149
|
aria-label="Settings and help"
|
|
150
|
-
icon={<
|
|
150
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
151
151
|
/>
|
|
152
152
|
)}
|
|
153
153
|
>
|
|
@@ -167,7 +167,7 @@ export const PageStickySectionGroup: React.FunctionComponent = () => {
|
|
|
167
167
|
isExpanded={isFullKebabDropdownOpen}
|
|
168
168
|
variant="plain"
|
|
169
169
|
aria-label="Toolbar menu"
|
|
170
|
-
icon={<
|
|
170
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
171
171
|
/>
|
|
172
172
|
)}
|
|
173
173
|
>
|