@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Dropdown, DropdownItem, DropdownList, Divider, MenuToggle, MenuToggleElement } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
4
4
|
|
|
5
5
|
export const DropdownWithKebab: React.FunctionComponent = () => {
|
|
6
6
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -27,7 +27,7 @@ export const DropdownWithKebab: React.FunctionComponent = () => {
|
|
|
27
27
|
variant="plain"
|
|
28
28
|
onClick={onToggleClick}
|
|
29
29
|
isExpanded={isOpen}
|
|
30
|
-
icon={<
|
|
30
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
31
31
|
/>
|
|
32
32
|
)}
|
|
33
33
|
shouldFocusToggleOnSelect
|
|
@@ -2,7 +2,7 @@ import { forwardRef, useContext, useRef } from 'react';
|
|
|
2
2
|
import styles from '@patternfly/react-styles/css/components/DualListSelector/dual-list-selector';
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import { useSSRSafeId } from '../../helpers';
|
|
5
|
-
import
|
|
5
|
+
import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
|
|
6
6
|
import { Button, ButtonVariant } from '../Button';
|
|
7
7
|
import { DualListSelectorListContext } from './DualListSelectorContext';
|
|
8
8
|
|
|
@@ -86,7 +86,7 @@ export const DualListSelectorListItemBase: React.FunctionComponent<DualListSelec
|
|
|
86
86
|
<Button
|
|
87
87
|
variant={ButtonVariant.plain}
|
|
88
88
|
component="span"
|
|
89
|
-
icon={<
|
|
89
|
+
icon={<RhUiGripVerticalFillIcon style={{ verticalAlign: '-0.3em' }} />}
|
|
90
90
|
/>
|
|
91
91
|
</div>
|
|
92
92
|
)}
|
|
@@ -20,9 +20,9 @@ import RhMicronsDoubleCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons
|
|
|
20
20
|
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
|
|
21
21
|
import AngleDoubleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-double-right-icon';
|
|
22
22
|
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
|
|
23
|
-
import
|
|
23
|
+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
|
|
24
24
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
25
|
-
import
|
|
25
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
26
26
|
import { DragDropSort, DragDropContainer, Droppable as NewDroppable } from '@patternfly/react-drag-drop';
|
|
27
27
|
|
|
28
28
|
## Examples
|
|
@@ -25,9 +25,9 @@ import RhMicronsDoubleCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons
|
|
|
25
25
|
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
|
|
26
26
|
import AngleDoubleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-double-right-icon';
|
|
27
27
|
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
|
|
28
|
-
import
|
|
28
|
+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
|
|
29
29
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
30
|
-
import
|
|
30
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
31
31
|
|
|
32
32
|
interface Option {
|
|
33
33
|
text: string;
|
|
@@ -155,7 +155,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
|
|
|
155
155
|
aria-label="Sort Available"
|
|
156
156
|
key="availableSortButton"
|
|
157
157
|
isDisabled={isDisabled}
|
|
158
|
-
icon={<
|
|
158
|
+
icon={<RhMicronsSortDownSmallToLargeIcon />}
|
|
159
159
|
/>,
|
|
160
160
|
<Dropdown
|
|
161
161
|
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
|
|
@@ -167,7 +167,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
|
|
|
167
167
|
variant="plain"
|
|
168
168
|
id="complex-available-toggle"
|
|
169
169
|
aria-label="Complex actions example available kebab toggle"
|
|
170
|
-
icon={<
|
|
170
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
171
171
|
/>
|
|
172
172
|
)}
|
|
173
173
|
isOpen={isAvailableKebabOpen}
|
|
@@ -190,7 +190,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
|
|
|
190
190
|
aria-label="Sort Chosen"
|
|
191
191
|
key="chosenSortButton"
|
|
192
192
|
isDisabled={isDisabled}
|
|
193
|
-
icon={<
|
|
193
|
+
icon={<RhMicronsSortDownSmallToLargeIcon />}
|
|
194
194
|
/>,
|
|
195
195
|
<Dropdown
|
|
196
196
|
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
|
|
@@ -202,7 +202,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
|
|
|
202
202
|
variant="plain"
|
|
203
203
|
id="complex-chosen-toggle"
|
|
204
204
|
aria-label="Complex actions example chosen kebab toggle"
|
|
205
|
-
icon={<
|
|
205
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
206
206
|
/>
|
|
207
207
|
)}
|
|
208
208
|
isOpen={isChosenKebabOpen}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* This test was generated
|
|
3
3
|
*/
|
|
4
4
|
import { render } from '@testing-library/react';
|
|
5
|
-
import
|
|
5
|
+
import RhUiProfileFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-profile-fill-icon';
|
|
6
6
|
import { EmptyStateIcon } from '../../EmptyStateIcon';
|
|
7
7
|
// any missing imports can usually be resolved by adding them here
|
|
8
8
|
import { Spinner } from '../../../Spinner/Spinner';
|
|
9
9
|
|
|
10
10
|
it('EmptyStateIcon should match snapshot (auto-generated)', () => {
|
|
11
|
-
const { asFragment } = render(<EmptyStateIcon className={"''"} icon={
|
|
11
|
+
const { asFragment } = render(<EmptyStateIcon className={"''"} icon={RhUiProfileFillIcon} />);
|
|
12
12
|
expect(asFragment()).toMatchSnapshot();
|
|
13
13
|
});
|
|
14
14
|
|
package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap
CHANGED
|
@@ -11,24 +11,12 @@ exports[`EmptyStateIcon should match snapshot (auto-generated) 1`] = `
|
|
|
11
11
|
fill="currentColor"
|
|
12
12
|
height="1em"
|
|
13
13
|
role="img"
|
|
14
|
+
viewBox="0 0 32 32"
|
|
14
15
|
width="1em"
|
|
15
16
|
>
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
>
|
|
20
|
-
<path
|
|
21
|
-
d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"
|
|
22
|
-
/>
|
|
23
|
-
</svg>
|
|
24
|
-
<svg
|
|
25
|
-
class="pf-v6-icon-rh-ui"
|
|
26
|
-
viewBox="0 0 32 32"
|
|
27
|
-
>
|
|
28
|
-
<path
|
|
29
|
-
d="M20.354 15.702C22.545 14.273 24 11.805 24 9c0-4.411-3.589-8-8-8S8 4.589 8 9a7.995 7.995 0 0 0 3.646 6.702C6.053 17.538 2 22.801 2 29a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1c0-6.199-4.053-11.462-9.646-13.298ZM10 9c0-3.309 2.691-6 6-6s6 2.691 6 6-2.691 6-6 6-6-2.691-6-6ZM4.041 28C4.551 21.85 9.72 17 16 17s11.449 4.85 11.959 11H4.041Z"
|
|
30
|
-
/>
|
|
31
|
-
</svg>
|
|
17
|
+
<path
|
|
18
|
+
d="M29.75 29a.75.75 0 0 1-.75.75H3a.75.75 0 0 1-.75-.75c0-6.283 4.241-11.583 10.007-13.219A7.755 7.755 0 0 1 8.25 9c0-4.273 3.477-7.75 7.75-7.75S23.75 4.727 23.75 9a7.751 7.751 0 0 1-4.007 6.781C25.509 17.417 29.75 22.717 29.75 29Z"
|
|
19
|
+
/>
|
|
32
20
|
</svg>
|
|
33
21
|
</div>
|
|
34
22
|
</DocumentFragment>
|
|
@@ -6,7 +6,7 @@ propComponents: ['Hint', 'HintTitle', 'HintBody', 'HintFooter']
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
import { Fragment, useState } from 'react';
|
|
9
|
-
import
|
|
9
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
10
10
|
|
|
11
11
|
## Examples
|
|
12
12
|
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
MenuToggle,
|
|
13
13
|
MenuToggleElement
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
|
|
17
17
|
export const HintBasicWithTitle: React.FunctionComponent = () => {
|
|
18
18
|
const [isOpen, setIsOpen] = useState<boolean>(false);
|
|
@@ -37,7 +37,7 @@ export const HintBasicWithTitle: React.FunctionComponent = () => {
|
|
|
37
37
|
variant="plain"
|
|
38
38
|
onClick={onToggle}
|
|
39
39
|
isExpanded={isOpen}
|
|
40
|
-
icon={<
|
|
40
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
41
41
|
/>
|
|
42
42
|
)}
|
|
43
43
|
>
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MenuToggle,
|
|
12
12
|
MenuToggleElement
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
15
15
|
|
|
16
16
|
export const HintBasicWithoutTitle: React.FunctionComponent = () => {
|
|
17
17
|
const [isOpen, setIsOpen] = useState<boolean>(false);
|
|
@@ -36,7 +36,7 @@ export const HintBasicWithoutTitle: React.FunctionComponent = () => {
|
|
|
36
36
|
variant="plain"
|
|
37
37
|
onClick={onToggle}
|
|
38
38
|
isExpanded={isOpen}
|
|
39
|
-
icon={<
|
|
39
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
40
40
|
/>
|
|
41
41
|
)}
|
|
42
42
|
>
|
|
@@ -8,7 +8,6 @@ propComponents: ['InputGroup', 'InputGroupItem', 'InputGroupText']
|
|
|
8
8
|
import { Fragment, useRef, useState } from 'react';
|
|
9
9
|
import AtIcon from '@patternfly/react-icons/dist/esm/icons/at-icon';
|
|
10
10
|
import DollarSignIcon from '@patternfly/react-icons/dist/esm/icons/dollar-sign-icon';
|
|
11
|
-
import CalendarAltIcon from '@patternfly/react-icons/dist/esm/icons/calendar-alt-icon';
|
|
12
11
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
13
12
|
|
|
14
13
|
## Examples
|
|
@@ -5,7 +5,7 @@ cssPrefix: pf-v6-c-list
|
|
|
5
5
|
propComponents: ['List', 'ListItem']
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import
|
|
8
|
+
import RhUiLearnFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-learn-fill-icon';
|
|
9
9
|
import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon';
|
|
10
10
|
import DesktopIcon from '@patternfly/react-icons/dist/esm/icons/desktop-icon';
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { List, ListItem } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhUiLearnFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-learn-fill-icon';
|
|
3
3
|
import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon';
|
|
4
4
|
import DesktopIcon from '@patternfly/react-icons/dist/esm/icons/desktop-icon';
|
|
5
5
|
|
|
6
6
|
export const ListIcons: React.FunctionComponent = () => (
|
|
7
7
|
<List isPlain>
|
|
8
|
-
<ListItem icon={<
|
|
8
|
+
<ListItem icon={<RhUiLearnFillIcon />}>First</ListItem>
|
|
9
9
|
<ListItem icon={<KeyIcon />}>Second</ListItem>
|
|
10
10
|
<ListItem icon={<DesktopIcon />}>Third</ListItem>
|
|
11
11
|
</List>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { List, ListItem } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhUiLearnFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-learn-fill-icon';
|
|
3
3
|
import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon';
|
|
4
4
|
import DesktopIcon from '@patternfly/react-icons/dist/esm/icons/desktop-icon';
|
|
5
5
|
|
|
6
6
|
export const ListLargeIcons: React.FunctionComponent = () => (
|
|
7
7
|
<List isPlain iconSize="large">
|
|
8
|
-
<ListItem icon={<
|
|
8
|
+
<ListItem icon={<RhUiLearnFillIcon />}>First</ListItem>
|
|
9
9
|
<ListItem icon={<KeyIcon />}>Second</ListItem>
|
|
10
10
|
<ListItem icon={<DesktopIcon />}>Third</ListItem>
|
|
11
11
|
</List>
|
|
@@ -5,8 +5,8 @@ import { Button } from '../Button';
|
|
|
5
5
|
import { Checkbox } from '../Checkbox';
|
|
6
6
|
import { ValidatedOptions } from '../../helpers/constants';
|
|
7
7
|
import { InputGroup, InputGroupItem } from '../InputGroup';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import RhUiViewFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-view-fill-icon';
|
|
9
|
+
import RhUiViewOffFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-view-off-fill-icon';
|
|
10
10
|
import { HelperText, HelperTextItem } from '../HelperText';
|
|
11
11
|
|
|
12
12
|
export interface LoginFormProps extends Omit<React.HTMLProps<HTMLFormElement>, 'ref'> {
|
|
@@ -130,7 +130,7 @@ export const LoginForm: React.FunctionComponent<LoginFormProps> = ({
|
|
|
130
130
|
variant="control"
|
|
131
131
|
onClick={() => setPasswordHidden(!passwordHidden)}
|
|
132
132
|
aria-label={passwordHidden ? showPasswordAriaLabel : hidePasswordAriaLabel}
|
|
133
|
-
icon={passwordHidden ? <
|
|
133
|
+
icon={passwordHidden ? <RhUiViewFillIcon /> : <RhUiViewOffFillIcon />}
|
|
134
134
|
/>
|
|
135
135
|
</InputGroupItem>
|
|
136
136
|
</InputGroup>
|
|
@@ -269,24 +269,12 @@ exports[`LoginForm LoginForm with show password 1`] = `
|
|
|
269
269
|
fill="currentColor"
|
|
270
270
|
height="1em"
|
|
271
271
|
role="img"
|
|
272
|
+
viewBox="0 0 32 32"
|
|
272
273
|
width="1em"
|
|
273
274
|
>
|
|
274
|
-
<
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
>
|
|
278
|
-
<path
|
|
279
|
-
d="M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"
|
|
280
|
-
/>
|
|
281
|
-
</svg>
|
|
282
|
-
<svg
|
|
283
|
-
class="pf-v6-icon-rh-ui"
|
|
284
|
-
viewBox="0 0 32 32"
|
|
285
|
-
>
|
|
286
|
-
<path
|
|
287
|
-
d="M16 10c-3.309 0-6 2.691-6 6s2.691 6 6 6 6-2.691 6-6-2.691-6-6-6Zm0 10c-2.206 0-4-1.794-4-4s1.794-4 4-4 4 1.794 4 4-1.794 4-4 4Zm14.79-4.665C30.009 13.776 25.625 6 16 6S1.991 13.776 1.209 15.336a1.472 1.472 0 0 0 0 1.328c.781 1.559 5.165 9.335 14.79 9.335s14.009-7.776 14.791-9.336a1.474 1.474 0 0 0 0-1.329ZM16 24c-8.049 0-11.937-6.222-12.882-8C4.064 14.222 7.951 8 16 8s11.938 6.224 12.882 8c-.946 1.778-4.833 8-12.882 8Z"
|
|
288
|
-
/>
|
|
289
|
-
</svg>
|
|
275
|
+
<path
|
|
276
|
+
d="M30.566 15.447C29.796 13.911 25.478 6.25 16 6.25S2.203 13.911 1.433 15.448a1.226 1.226 0 0 0 0 1.104c.77 1.536 5.088 9.197 14.566 9.197s13.797-7.661 14.567-9.198a1.226 1.226 0 0 0 0-1.104ZM16 21a5 5 0 1 1 .001-10.001A5 5 0 0 1 16 21Z"
|
|
277
|
+
/>
|
|
290
278
|
</svg>
|
|
291
279
|
</span>
|
|
292
280
|
</button>
|
|
@@ -4,7 +4,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
4
4
|
import topOffset from '@patternfly/react-tokens/dist/esm/c_menu_m_flyout__menu_top_offset';
|
|
5
5
|
import rightOffset from '@patternfly/react-tokens/dist/esm/c_menu_m_flyout__menu_m_left_right_offset';
|
|
6
6
|
import leftOffset from '@patternfly/react-tokens/dist/esm/c_menu_m_flyout__menu_left_offset';
|
|
7
|
-
import
|
|
7
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
8
8
|
import RhMicronsCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-left-icon';
|
|
9
9
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
10
10
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
@@ -389,7 +389,7 @@ const MenuItemBase: React.FunctionComponent<MenuItemProps> = ({
|
|
|
389
389
|
<span className={css(styles.menuItemText)}>{children}</span>
|
|
390
390
|
{isExternalLink && (
|
|
391
391
|
<span className={css(styles.menuItemExternalIcon)}>
|
|
392
|
-
<
|
|
392
|
+
<RhMicronsExternalLinkIcon />
|
|
393
393
|
</span>
|
|
394
394
|
)}
|
|
395
395
|
{(flyoutMenu || direction === 'down') && (
|
|
@@ -22,13 +22,13 @@ ouia: true
|
|
|
22
22
|
|
|
23
23
|
import { Fragment, createRef, useEffect, useRef, useState } from 'react';
|
|
24
24
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
25
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
26
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
27
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
28
28
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
29
|
-
import
|
|
29
|
+
import RhUiTableIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-table-icon';
|
|
30
30
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
31
|
-
import
|
|
31
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
32
32
|
import RhMicronsCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-left-icon';
|
|
33
33
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
34
34
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiTableIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-table-icon';
|
|
4
4
|
|
|
5
5
|
export const MenuOptionMultiSelect: React.FunctionComponent = () => {
|
|
6
6
|
const [selectedItems, setSelectedItems] = useState<number[]>([]);
|
|
@@ -20,7 +20,7 @@ export const MenuOptionMultiSelect: React.FunctionComponent = () => {
|
|
|
20
20
|
<MenuList isAriaMultiselectable aria-label="Menu multi select example">
|
|
21
21
|
<MenuItem itemId={0}>Option 1</MenuItem>
|
|
22
22
|
<MenuItem itemId={1}>Option 2</MenuItem>
|
|
23
|
-
<MenuItem icon={<
|
|
23
|
+
<MenuItem icon={<RhUiTableIcon />} itemId={2}>
|
|
24
24
|
Option 3
|
|
25
25
|
</MenuItem>
|
|
26
26
|
</MenuList>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiTableIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-table-icon';
|
|
4
4
|
|
|
5
5
|
export const MenuOptionSingleSelect: React.FunctionComponent = () => {
|
|
6
6
|
const [activeItem, setActiveItem] = useState(0);
|
|
@@ -17,7 +17,7 @@ export const MenuOptionSingleSelect: React.FunctionComponent = () => {
|
|
|
17
17
|
<MenuList aria-label="Menu single select example">
|
|
18
18
|
<MenuItem itemId={0}>Option 1</MenuItem>
|
|
19
19
|
<MenuItem itemId={1}>Option 2</MenuItem>
|
|
20
|
-
<MenuItem icon={<
|
|
20
|
+
<MenuItem icon={<RhUiTableIcon />} itemId={2}>
|
|
21
21
|
Option 3
|
|
22
22
|
</MenuItem>
|
|
23
23
|
</MenuList>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuGroup, MenuList, MenuItem, MenuItemAction } 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 MenuWithActions: React.FunctionComponent = () => {
|
|
@@ -31,7 +31,7 @@ export const MenuWithActions: React.FunctionComponent = () => {
|
|
|
31
31
|
isSelected={selectedItems.indexOf(0) !== -1}
|
|
32
32
|
actions={
|
|
33
33
|
<MenuItemAction
|
|
34
|
-
icon={<
|
|
34
|
+
icon={<RhUiBranchFillIcon />}
|
|
35
35
|
actionId="code"
|
|
36
36
|
// eslint-disable-next-line no-console
|
|
37
37
|
onClick={() => console.log('clicked on code icon')}
|
|
@@ -54,7 +54,7 @@ export const MenuWithActions: React.FunctionComponent = () => {
|
|
|
54
54
|
</MenuItem>
|
|
55
55
|
<MenuItem
|
|
56
56
|
isSelected={selectedItems.indexOf(2) !== -1}
|
|
57
|
-
actions={<MenuItemAction icon={<
|
|
57
|
+
actions={<MenuItemAction icon={<RhUiClipboardFillIcon />} actionId="copy" aria-label="Copy" />}
|
|
58
58
|
itemId={2}
|
|
59
59
|
>
|
|
60
60
|
Item 3
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
4
4
|
|
|
5
5
|
export const MenuWithDescription: React.FunctionComponent = () => {
|
|
6
6
|
const [activeItem, setActiveItem] = useState(0);
|
|
@@ -15,14 +15,14 @@ export const MenuWithDescription: React.FunctionComponent = () => {
|
|
|
15
15
|
<Menu onSelect={onSelect} activeItemId={activeItem}>
|
|
16
16
|
<MenuContent>
|
|
17
17
|
<MenuList>
|
|
18
|
-
<MenuItem icon={<
|
|
18
|
+
<MenuItem icon={<RhUiBranchFillIcon />} description="Description" itemId={0}>
|
|
19
19
|
Action 1
|
|
20
20
|
</MenuItem>
|
|
21
|
-
<MenuItem isDisabled icon={<
|
|
21
|
+
<MenuItem isDisabled icon={<RhUiBranchFillIcon />} description="Description" itemId={1}>
|
|
22
22
|
Action 2 disabled
|
|
23
23
|
</MenuItem>
|
|
24
24
|
<MenuItem
|
|
25
|
-
icon={<
|
|
25
|
+
icon={<RhUiBranchFillIcon />}
|
|
26
26
|
description="Nunc non ornare ex, et pretium dui. Duis nec augue at urna elementum blandit tincidunt eget metus. Aenean sed metus id urna dignissim interdum. Aenean vel nisl vitae arcu vehicula pulvinar eget nec turpis. Cras sit amet est est."
|
|
27
27
|
itemId={2}
|
|
28
28
|
>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem, Divider, DrilldownMenu } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
4
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
5
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
6
6
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
7
7
|
|
|
8
8
|
export const MenuWithDrilldown: React.FunctionComponent = () => {
|
|
@@ -153,18 +153,18 @@ export const MenuWithDrilldown: React.FunctionComponent = () => {
|
|
|
153
153
|
</MenuItem>
|
|
154
154
|
<MenuItem
|
|
155
155
|
itemId="group:storage"
|
|
156
|
-
icon={<
|
|
156
|
+
icon={<RhUiStorageDomainFillIcon />}
|
|
157
157
|
direction="down"
|
|
158
158
|
drilldownMenu={
|
|
159
159
|
<DrilldownMenu id="drilldown-drilldownMenuStorage">
|
|
160
|
-
<MenuItem itemId="group:storage_breadcrumb" icon={<
|
|
160
|
+
<MenuItem itemId="group:storage_breadcrumb" icon={<RhUiStorageDomainFillIcon />} direction="up">
|
|
161
161
|
Add storage
|
|
162
162
|
</MenuItem>
|
|
163
163
|
<Divider component="li" />
|
|
164
|
-
<MenuItem icon={<
|
|
164
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId="git">
|
|
165
165
|
From git
|
|
166
166
|
</MenuItem>
|
|
167
|
-
<MenuItem icon={<
|
|
167
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId="container">
|
|
168
168
|
Container image
|
|
169
169
|
</MenuItem>
|
|
170
170
|
<MenuItem icon={<CubeIcon />} itemId="docker">
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
MenuToggle,
|
|
20
20
|
MenuToggleElement
|
|
21
21
|
} from '@patternfly/react-core';
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
22
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
23
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
24
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
25
25
|
import RhMicronsCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-left-icon';
|
|
26
26
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
27
27
|
|
|
@@ -435,15 +435,15 @@ export const MenuWithDrilldownBreadcrumbs: React.FunctionComponent = () => {
|
|
|
435
435
|
</MenuItem>
|
|
436
436
|
<MenuItem
|
|
437
437
|
itemId="group:storage"
|
|
438
|
-
icon={<
|
|
438
|
+
icon={<RhUiStorageDomainFillIcon />}
|
|
439
439
|
direction="down"
|
|
440
440
|
onClick={() => setBreadcrumb(addStorageBreadcrumb)}
|
|
441
441
|
drilldownMenu={
|
|
442
442
|
<DrilldownMenu id="breadcrumbs-drilldownMenuStorage">
|
|
443
|
-
<MenuItem icon={<
|
|
443
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId="git">
|
|
444
444
|
From git
|
|
445
445
|
</MenuItem>
|
|
446
|
-
<MenuItem icon={<
|
|
446
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId="container">
|
|
447
447
|
Container image
|
|
448
448
|
</MenuItem>
|
|
449
449
|
<MenuItem icon={<CubeIcon />} itemId="docker">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem, Divider, DrilldownMenu } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
4
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
5
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
6
6
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
7
7
|
|
|
8
8
|
export const MenuDrilldownInitialState: React.FunctionComponent = () => {
|
|
@@ -156,18 +156,18 @@ export const MenuDrilldownInitialState: React.FunctionComponent = () => {
|
|
|
156
156
|
</MenuItem>
|
|
157
157
|
<MenuItem
|
|
158
158
|
itemId="group:storage"
|
|
159
|
-
icon={<
|
|
159
|
+
icon={<RhUiStorageDomainFillIcon />}
|
|
160
160
|
direction="down"
|
|
161
161
|
drilldownMenu={
|
|
162
162
|
<DrilldownMenu id="initial-state-drilldownMenuStorage">
|
|
163
|
-
<MenuItem itemId="group:storage_breadcrumb" icon={<
|
|
163
|
+
<MenuItem itemId="group:storage_breadcrumb" icon={<RhUiStorageDomainFillIcon />} direction="up">
|
|
164
164
|
Add storage
|
|
165
165
|
</MenuItem>
|
|
166
166
|
<Divider component="li" />
|
|
167
|
-
<MenuItem icon={<
|
|
167
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId="git">
|
|
168
168
|
From git
|
|
169
169
|
</MenuItem>
|
|
170
|
-
<MenuItem icon={<
|
|
170
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId="container">
|
|
171
171
|
Container image
|
|
172
172
|
</MenuItem>
|
|
173
173
|
<MenuItem icon={<CubeIcon />} itemId="docker">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem, Divider, DrilldownMenu } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
3
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
4
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
5
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
6
6
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
7
7
|
|
|
8
8
|
export const MenuWithDrilldownSubmenuFunctions: React.FunctionComponent = () => {
|
|
@@ -153,18 +153,18 @@ export const MenuWithDrilldownSubmenuFunctions: React.FunctionComponent = () =>
|
|
|
153
153
|
</MenuItem>
|
|
154
154
|
<MenuItem
|
|
155
155
|
itemId="group:storage"
|
|
156
|
-
icon={<
|
|
156
|
+
icon={<RhUiStorageDomainFillIcon />}
|
|
157
157
|
direction="down"
|
|
158
158
|
drilldownMenu={() => (
|
|
159
159
|
<DrilldownMenu id="functions-drilldownMenuStorage">
|
|
160
|
-
<MenuItem itemId="group:storage_breadcrumb" icon={<
|
|
160
|
+
<MenuItem itemId="group:storage_breadcrumb" icon={<RhUiStorageDomainFillIcon />} direction="up">
|
|
161
161
|
Add storage
|
|
162
162
|
</MenuItem>
|
|
163
163
|
<Divider component="li" />
|
|
164
|
-
<MenuItem icon={<
|
|
164
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId="git">
|
|
165
165
|
From git
|
|
166
166
|
</MenuItem>
|
|
167
|
-
<MenuItem icon={<
|
|
167
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId="container">
|
|
168
168
|
Container image
|
|
169
169
|
</MenuItem>
|
|
170
170
|
<MenuItem icon={<CubeIcon />} itemId="docker">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuItem, MenuItemAction, MenuGroup, MenuList, Divider } from '@patternfly/react-core';
|
|
3
3
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
4
|
-
import
|
|
4
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
5
5
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
6
6
|
|
|
7
7
|
export const MenuWithFavorites: React.FunctionComponent = () => {
|
|
@@ -39,7 +39,7 @@ export const MenuWithFavorites: React.FunctionComponent = () => {
|
|
|
39
39
|
text: 'Item 2',
|
|
40
40
|
description: 'Description 2',
|
|
41
41
|
itemId: 'item-2',
|
|
42
|
-
action: <
|
|
42
|
+
action: <RhUiClipboardFillIcon />,
|
|
43
43
|
actionId: 'clipboard'
|
|
44
44
|
},
|
|
45
45
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Menu, MenuContent, MenuList, MenuItem } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
4
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
5
5
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
6
6
|
|
|
7
7
|
export const MenuWithIcons: React.FunctionComponent = () => {
|
|
@@ -17,10 +17,10 @@ export const MenuWithIcons: React.FunctionComponent = () => {
|
|
|
17
17
|
<Menu onSelect={onSelect} activeItemId={activeItem}>
|
|
18
18
|
<MenuContent>
|
|
19
19
|
<MenuList>
|
|
20
|
-
<MenuItem icon={<
|
|
20
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId={0}>
|
|
21
21
|
From git
|
|
22
22
|
</MenuItem>
|
|
23
|
-
<MenuItem icon={<
|
|
23
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId={1}>
|
|
24
24
|
Container image
|
|
25
25
|
</MenuItem>
|
|
26
26
|
<MenuItem icon={<CubeIcon />} itemId={2}>
|