@patternfly/react-core 6.6.0-prerelease.6 → 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/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/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/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-DKFfmTVi.css +0 -27144
- package/dist/umd/react-core.min.js +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { ToggleGroup, ToggleGroupItem } from '@patternfly/react-core';
|
|
3
3
|
import UndoIcon from '@patternfly/react-icons/dist/esm/icons/undo-icon';
|
|
4
|
-
import
|
|
4
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
5
5
|
import ShareSquareIcon from '@patternfly/react-icons/dist/esm/icons/share-square-icon';
|
|
6
6
|
|
|
7
7
|
export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
@@ -18,7 +18,7 @@ export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
|
18
18
|
<>
|
|
19
19
|
<ToggleGroup aria-label="Text and icon toggle group with icons at start">
|
|
20
20
|
<ToggleGroupItem
|
|
21
|
-
icon={<
|
|
21
|
+
icon={<RhUiCopyFillIcon />}
|
|
22
22
|
text="Copy"
|
|
23
23
|
buttonId="toggle-group-text-icons-1"
|
|
24
24
|
isSelected={isSelected['toggle-group-text-icons-1']}
|
|
@@ -42,7 +42,7 @@ export const ToggleGroupIcon: React.FunctionComponent = () => {
|
|
|
42
42
|
<br />
|
|
43
43
|
<ToggleGroup aria-label="Text and icon toggle group with icons at end">
|
|
44
44
|
<ToggleGroupItem
|
|
45
|
-
icon={<
|
|
45
|
+
icon={<RhUiCopyFillIcon />}
|
|
46
46
|
iconPosition="end"
|
|
47
47
|
text="Copy"
|
|
48
48
|
buttonId="toggle-group-text-icons-4"
|
|
@@ -12,7 +12,7 @@ import CloneIcon from '@patternfly/react-icons/dist/esm/icons/clone-icon';
|
|
|
12
12
|
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
|
|
13
13
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
14
14
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
15
|
-
import
|
|
15
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
16
16
|
|
|
17
17
|
## Examples
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
ToolbarItem
|
|
25
25
|
} from '@patternfly/react-core';
|
|
26
26
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
27
|
-
import
|
|
27
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
28
28
|
|
|
29
29
|
export const ToolbarStacked: React.FunctionComponent = () => {
|
|
30
30
|
// toggle group - three option menus with labels, two icon buttons, Kebab menu - right aligned
|
|
@@ -229,7 +229,7 @@ export const ToolbarStacked: React.FunctionComponent = () => {
|
|
|
229
229
|
variant="plain"
|
|
230
230
|
onClick={onKebabToggle}
|
|
231
231
|
isExpanded={kebabIsOpen}
|
|
232
|
-
icon={<
|
|
232
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
233
233
|
/>
|
|
234
234
|
)}
|
|
235
235
|
isOpen={kebabIsOpen}
|
|
@@ -22,7 +22,7 @@ import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
|
22
22
|
import EditIcon from '@patternfly/react-icons/dist/esm/icons/edit-icon';
|
|
23
23
|
import CloneIcon from '@patternfly/react-icons/dist/esm/icons/clone-icon';
|
|
24
24
|
import SyncIcon from '@patternfly/react-icons/dist/esm/icons/sync-icon';
|
|
25
|
-
import
|
|
25
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
26
26
|
|
|
27
27
|
export const ToolbarWithFilters: React.FunctionComponent = () => {
|
|
28
28
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -231,7 +231,7 @@ export const ToolbarWithFilters: React.FunctionComponent = () => {
|
|
|
231
231
|
onClick={onKebabToggle}
|
|
232
232
|
variant="plain"
|
|
233
233
|
aria-label="Toolbar with filters example kebab toggle"
|
|
234
|
-
icon={<
|
|
234
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
235
235
|
/>
|
|
236
236
|
)}
|
|
237
237
|
>
|
|
@@ -7,7 +7,7 @@ propComponents: ['Tooltip']
|
|
|
7
7
|
|
|
8
8
|
import { useEffect, useRef, useState } from 'react';
|
|
9
9
|
import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
11
11
|
import './TooltipExamples.css';
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState } from 'react';
|
|
2
2
|
import { Tooltip, Button } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
|
|
4
4
|
|
|
5
5
|
export const TooltipIcon: React.FunctionComponent = () => {
|
|
6
6
|
const [showSuccessContent, setShowSuccessContent] = useState(false);
|
|
@@ -15,7 +15,7 @@ export const TooltipIcon: React.FunctionComponent = () => {
|
|
|
15
15
|
variant="plain"
|
|
16
16
|
id="tt-ref"
|
|
17
17
|
onClick={() => setShowSuccessContent(!showSuccessContent)}
|
|
18
|
-
icon={<
|
|
18
|
+
icon={<RhUiCopyFillIcon />}
|
|
19
19
|
/>
|
|
20
20
|
</Tooltip>
|
|
21
21
|
</div>
|
|
@@ -6,7 +6,7 @@ propComponents: ['TreeView', 'TreeViewDataItem', 'TreeViewSearch']
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
import { Fragment, useEffect, useState } from 'react';
|
|
9
|
-
import { FolderIcon, FolderOpenIcon,
|
|
9
|
+
import { FolderIcon, FolderOpenIcon, RhUiEllipsisVerticalFillIcon, HamburgerIcon, GitlabIcon, GithubIcon, GoogleIcon, RhUiClipboardFillIcon, RhUiStorageFillIcon } from '@patternfly/react-icons';
|
|
10
10
|
|
|
11
11
|
## Examples
|
|
12
12
|
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
MenuToggle,
|
|
9
9
|
TreeViewDataItem
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
11
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
12
|
+
import RhUiStorageFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-fill-icon';
|
|
13
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
14
14
|
|
|
15
15
|
export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
16
16
|
const [activeItems, setActiveItems] = useState<TreeViewDataItem[]>();
|
|
@@ -47,7 +47,7 @@ export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
|
47
47
|
onClick={onToggle}
|
|
48
48
|
variant="plain"
|
|
49
49
|
aria-label="Tree view with actions example kebab toggle"
|
|
50
|
-
icon={<
|
|
50
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
51
51
|
/>
|
|
52
52
|
)}
|
|
53
53
|
>
|
|
@@ -71,7 +71,7 @@ export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
|
71
71
|
{
|
|
72
72
|
name: 'Application 1',
|
|
73
73
|
id: 'example7-App1',
|
|
74
|
-
action: <Button variant="plain" aria-label="Launch app 1" icon={<
|
|
74
|
+
action: <Button variant="plain" aria-label="Launch app 1" icon={<RhUiClipboardFillIcon />} />,
|
|
75
75
|
actionProps: {
|
|
76
76
|
'aria-label': 'Launch app 1'
|
|
77
77
|
},
|
|
@@ -83,7 +83,7 @@ export const TreeViewWithActionItems: React.FunctionComponent = () => {
|
|
|
83
83
|
{
|
|
84
84
|
name: 'Application 2',
|
|
85
85
|
id: 'example7-App2',
|
|
86
|
-
action: <Button variant="plain" aria-label="Launch app
|
|
86
|
+
action: <Button variant="plain" aria-label="Launch app 2" icon={<RhUiStorageFillIcon />} />,
|
|
87
87
|
children: [
|
|
88
88
|
{ name: 'Settings', id: 'example7-App2Settings' },
|
|
89
89
|
{
|
|
@@ -49,7 +49,7 @@ WizardNavItem,
|
|
|
49
49
|
WizardNav,
|
|
50
50
|
WizardHeader
|
|
51
51
|
} from '@patternfly/react-core';
|
|
52
|
-
import
|
|
52
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
53
53
|
import SlackHashIcon from '@patternfly/react-icons/dist/esm/icons/slack-hash-icon';
|
|
54
54
|
import CogsIcon from '@patternfly/react-icons/dist/esm/icons/cogs-icon';
|
|
55
55
|
import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button, Wizard, WizardStep } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
3
3
|
import SlackHashIcon from '@patternfly/react-icons/dist/esm/icons/slack-hash-icon';
|
|
4
4
|
|
|
5
5
|
export const WizardWithNavAnchors: React.FunctionComponent = () => (
|
|
@@ -7,7 +7,7 @@ export const WizardWithNavAnchors: React.FunctionComponent = () => (
|
|
|
7
7
|
<WizardStep
|
|
8
8
|
name={
|
|
9
9
|
<>
|
|
10
|
-
<
|
|
10
|
+
<RhMicronsExternalLinkIcon /> PF3
|
|
11
11
|
</>
|
|
12
12
|
}
|
|
13
13
|
id="navanchors-pf3-step"
|
|
@@ -18,7 +18,7 @@ export const WizardWithNavAnchors: React.FunctionComponent = () => (
|
|
|
18
18
|
<WizardStep
|
|
19
19
|
name={
|
|
20
20
|
<>
|
|
21
|
-
<
|
|
21
|
+
<RhMicronsExternalLinkIcon /> PF4
|
|
22
22
|
</>
|
|
23
23
|
}
|
|
24
24
|
id="navanchors-pf4-step"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36">
|
|
3
|
+
<defs>
|
|
4
|
+
<style>
|
|
5
|
+
.cls-1, .cls-2 {
|
|
6
|
+
fill: #d2d2d2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.cls-1, .cls-2, .cls-3 {
|
|
10
|
+
stroke-width: 0px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.cls-2 {
|
|
14
|
+
fill-rule: evenodd;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cls-3 {
|
|
18
|
+
fill: #f0f0f0;
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
</defs>
|
|
22
|
+
<rect class="cls-3" width="36" height="36"/>
|
|
23
|
+
<path class="cls-2" d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"/>
|
|
24
|
+
<path class="cls-1" d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"/>
|
|
25
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">
|
|
2
|
+
<g>
|
|
3
|
+
<rect width="48" height="48" fill="#147878"></rect>
|
|
4
|
+
<rect x="36" y="42" width="6" height="6" fill="#004D4D"></rect>
|
|
5
|
+
<rect x="6" y="42" width="6" height="6" fill="#004D4D"></rect>
|
|
6
|
+
<rect x="12" y="36" width="24" height="6" fill="#004D4D"></rect>
|
|
7
|
+
<rect x="18" y="30" width="12" height="6" fill="#004D4D"></rect>
|
|
8
|
+
<rect width="6" height="24" transform="matrix(-1 0 0 1 48 12)" fill="#004D4D"></rect>
|
|
9
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 30)" fill="#004D4D"></rect>
|
|
10
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 36 24)" fill="#004D4D"></rect>
|
|
11
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 18)" fill="#004D4D"></rect>
|
|
12
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 36 12)" fill="#004D4D"></rect>
|
|
13
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 6)" fill="#004D4D"></rect>
|
|
14
|
+
<rect x="18" width="12" height="12" fill="#004D4D"></rect>
|
|
15
|
+
<rect x="6" y="30" width="6" height="6" fill="#004D4D"></rect>
|
|
16
|
+
<rect x="12" y="24" width="6" height="6" fill="#004D4D"></rect>
|
|
17
|
+
<rect x="6" y="18" width="6" height="6" fill="#004D4D"></rect>
|
|
18
|
+
<rect x="12" y="12" width="6" height="6" fill="#004D4D"></rect>
|
|
19
|
+
<rect x="6" y="6" width="6" height="6" fill="#004D4D"></rect>
|
|
20
|
+
<rect y="12" width="6" height="24" fill="#004D4D"></rect>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
package/src/demos/AlertGroup.md
CHANGED
|
@@ -5,7 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
9
9
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
10
10
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
11
11
|
|
package/src/demos/CardDemos.md
CHANGED
|
@@ -4,11 +4,7 @@ section: components
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import { Fragment, useState } from 'react';
|
|
7
|
-
import
|
|
8
|
-
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/js/icons/rh-ui-information-fill-icon';
|
|
9
|
-
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/js/icons/rh-microns-caret-right-icon';
|
|
10
|
-
import ExternalLinkAltIcon from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
11
|
-
import { RhUiCheckCircleFillIcon, RhUiErrorFillIcon, RhUiWarningFillIcon, RhUiNotificationFillIcon } from '@patternfly/react-icons';
|
|
7
|
+
import { RhUiEllipsisVerticalFillIcon, RhMicronsCaretRightIcon, RhUiCheckCircleFillIcon, RhUiErrorFillIcon, RhMicronsExternalLinkIcon, RhUiInformationFillIcon, RhUiWarningFillIcon, RhUiNotificationFillIcon } from '@patternfly/react-icons';
|
|
12
8
|
import { Table, Thead, Tbody, Tr, Th, Td, ExpandableRowContent } from '@patternfly/react-table';
|
|
13
9
|
import { Chart, ChartAxis, ChartGroup, ChartVoronoiContainer, ChartStack, ChartBar, ChartTooltip, ChartDonutThreshold, ChartDonutUtilization, ChartArea, ChartContainer, ChartLabel } from '@patternfly/react-charts/victory';
|
|
14
10
|
import chart_color_yellow_100 from '@patternfly/react-tokens/dist/esm/chart_color_yellow_100';
|
|
@@ -16,7 +16,7 @@ import sparkIcon from '../assets/camel-spark_200x150.png';
|
|
|
16
16
|
import swaggerIcon from '../assets/camel-swagger-java_200x150.png';
|
|
17
17
|
import azureIcon from '../assets/FuseConnector_Icons_AzureServices.png';
|
|
18
18
|
import restIcon from '../assets/FuseConnector_Icons_REST.png';
|
|
19
|
-
import
|
|
19
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
20
20
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
21
21
|
|
|
22
22
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
@@ -46,7 +46,7 @@ import sparkIcon from './assets/camel-spark_200x150.png';
|
|
|
46
46
|
import swaggerIcon from './assets/camel-swagger-java_200x150.png';
|
|
47
47
|
import azureIcon from './assets/FuseConnector_Icons_AzureServices.png';
|
|
48
48
|
import restIcon from './assets/FuseConnector_Icons_REST.png';
|
|
49
|
-
import
|
|
49
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
50
50
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
51
51
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
52
52
|
|
|
@@ -427,7 +427,7 @@ export const CardViewBasic: React.FunctionComponent = () => {
|
|
|
427
427
|
variant="plain"
|
|
428
428
|
onClick={onToolbarKebabDropdownToggle}
|
|
429
429
|
isExpanded={isLowerToolbarKebabDropdownOpen}
|
|
430
|
-
icon={<
|
|
430
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
431
431
|
/>
|
|
432
432
|
)}
|
|
433
433
|
isOpen={isLowerToolbarKebabDropdownOpen}
|
|
@@ -517,7 +517,7 @@ export const CardViewBasic: React.FunctionComponent = () => {
|
|
|
517
517
|
onCardKebabDropdownToggle(e, key.toString());
|
|
518
518
|
}}
|
|
519
519
|
isExpanded={!!state[key]}
|
|
520
|
-
icon={<
|
|
520
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
521
521
|
/>
|
|
522
522
|
)}
|
|
523
523
|
popperProps={{ position: 'right' }}
|
|
@@ -6,16 +6,16 @@ section: components
|
|
|
6
6
|
import { useRef, useState, useEffect } from 'react';
|
|
7
7
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
8
8
|
import OutlinedPlusSquare from '@patternfly/react-icons/dist/esm/icons/outlined-plus-square-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhUiCopyIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-icon';
|
|
10
10
|
import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
|
|
11
11
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
12
12
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
13
13
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
14
14
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
15
|
-
import
|
|
15
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
16
16
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
17
17
|
import imgAvatar from '../assets/avatarImg.svg';
|
|
18
|
-
import
|
|
18
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
19
19
|
import pfLogo from '../assets/PF-IconLogo-color.svg';
|
|
20
20
|
import globalBreakpointLg from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_lg';
|
|
21
21
|
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from '@patternfly/react-core';
|
|
31
31
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
32
32
|
import OutlinedPlusSquare from '@patternfly/react-icons/dist/esm/icons/outlined-plus-square-icon';
|
|
33
|
-
import
|
|
33
|
+
import RhUiCopyIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-icon';
|
|
34
34
|
import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
|
|
35
35
|
|
|
36
36
|
export const CompassBasic: React.FunctionComponent = () => {
|
|
@@ -123,7 +123,7 @@ export const CompassBasic: React.FunctionComponent = () => {
|
|
|
123
123
|
</ActionListGroup>
|
|
124
124
|
<ActionListItem>
|
|
125
125
|
<Tooltip content="Copy">
|
|
126
|
-
<Button isCircle variant="plain" icon={<
|
|
126
|
+
<Button isCircle variant="plain" icon={<RhUiCopyIcon />} aria-label="Copy" />
|
|
127
127
|
</Tooltip>
|
|
128
128
|
</ActionListItem>
|
|
129
129
|
<ActionListGroup>
|
|
@@ -134,7 +134,7 @@ export const CompassBasic: React.FunctionComponent = () => {
|
|
|
134
134
|
</ActionListItem>
|
|
135
135
|
<ActionListItem>
|
|
136
136
|
<Tooltip content="Second copy">
|
|
137
|
-
<Button isCircle variant="plain" icon={<
|
|
137
|
+
<Button isCircle variant="plain" icon={<RhUiCopyIcon />} aria-label="Copy2" />
|
|
138
138
|
</Tooltip>
|
|
139
139
|
</ActionListItem>
|
|
140
140
|
</ActionListGroup>
|
|
@@ -32,10 +32,10 @@ import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
|
32
32
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
33
33
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
34
34
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
35
|
-
import
|
|
35
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
36
36
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
37
37
|
import pfLogo from '../../assets/PF-IconLogo-color.svg';
|
|
38
|
-
import
|
|
38
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
39
39
|
import globalBreakpointLg from '@patternfly/react-tokens/dist/esm/t_global_breakpoint_lg';
|
|
40
40
|
|
|
41
41
|
interface NavOnSelectProps {
|
|
@@ -294,7 +294,7 @@ export const CompassDockDemo: React.FunctionComponent = () => {
|
|
|
294
294
|
to="#nav-icon-link4"
|
|
295
295
|
itemId={3}
|
|
296
296
|
isActive={activeItem === 3}
|
|
297
|
-
icon={<
|
|
297
|
+
icon={<RhUiCodeIcon />}
|
|
298
298
|
anchorRef={navItem4Ref}
|
|
299
299
|
aria-label="Network services"
|
|
300
300
|
>
|
|
@@ -318,12 +318,24 @@ export const CompassDockDemo: React.FunctionComponent = () => {
|
|
|
318
318
|
>
|
|
319
319
|
<ToolbarItem>
|
|
320
320
|
{isDockTextExpanded || isDockExpanded ? (
|
|
321
|
-
<MenuToggle
|
|
321
|
+
<MenuToggle
|
|
322
|
+
ref={appsRef}
|
|
323
|
+
variant="plain"
|
|
324
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
325
|
+
isDocked
|
|
326
|
+
aria-label="Applications"
|
|
327
|
+
>
|
|
322
328
|
Applications
|
|
323
329
|
</MenuToggle>
|
|
324
330
|
) : (
|
|
325
331
|
<Tooltip aria="none" aria-live="off" triggerRef={appsRef} content="Applications">
|
|
326
|
-
<MenuToggle
|
|
332
|
+
<MenuToggle
|
|
333
|
+
ref={appsRef}
|
|
334
|
+
variant="plain"
|
|
335
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
336
|
+
isDocked
|
|
337
|
+
aria-label="Applications"
|
|
338
|
+
>
|
|
327
339
|
Applications
|
|
328
340
|
</MenuToggle>
|
|
329
341
|
</Tooltip>
|
|
@@ -20,7 +20,7 @@ propComponents:
|
|
|
20
20
|
|
|
21
21
|
import { cloneElement, Fragment, useRef, useState } from 'react';
|
|
22
22
|
|
|
23
|
-
import
|
|
23
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
24
24
|
import brandImg from '../assets/PF-IconLogo.svg';
|
|
25
25
|
|
|
26
26
|
As the application launcher component is now deprecated, an application launcher may now be built using the new suite of menu components. This is showcased in the following demo, which uses the new [dropdown](/components/menus/dropdown) component that is built off of menu.
|
|
@@ -7,20 +7,18 @@ subsection: menus
|
|
|
7
7
|
import { cloneElement, Fragment, useEffect, useRef, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
14
|
-
import LayerGroupIcon from '@patternfly/react-icons/dist/esm/icons/layer-group-icon';
|
|
10
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
11
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
12
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
15
13
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
14
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
17
|
-
import
|
|
15
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
18
16
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
19
|
-
import
|
|
17
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
20
18
|
import brandImg from '../assets/PF-IconLogo.svg';
|
|
21
19
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
22
20
|
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
23
|
-
import RhMicronsCloseIcon from
|
|
21
|
+
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
24
22
|
import avatarImg from '../assets/avatarImg.svg';
|
|
25
23
|
import { css } from '@patternfly/react-styles';
|
|
26
24
|
import styles from '@patternfly/react-styles/css/components/Menu/menu';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useRef, useState } from 'react';
|
|
2
2
|
import { MenuToggle, MenuItemAction, Select, SelectGroup, SelectList, SelectOption } from '@patternfly/react-core';
|
|
3
3
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import RhUiClipboardFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-fill-icon';
|
|
5
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
6
6
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
7
7
|
|
|
8
8
|
export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
@@ -46,7 +46,7 @@ export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
|
46
46
|
isSelected={selectedItems.includes(0)}
|
|
47
47
|
actions={
|
|
48
48
|
<MenuItemAction
|
|
49
|
-
icon={<
|
|
49
|
+
icon={<RhUiBranchFillIcon />}
|
|
50
50
|
actionId="code"
|
|
51
51
|
// eslint-disable-next-line no-console
|
|
52
52
|
onClick={() => console.log('clicked on code icon')}
|
|
@@ -69,7 +69,7 @@ export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
|
69
69
|
</SelectOption>
|
|
70
70
|
<SelectOption
|
|
71
71
|
isSelected={selectedItems.includes(2)}
|
|
72
|
-
actions={<MenuItemAction icon={<
|
|
72
|
+
actions={<MenuItemAction icon={<RhUiClipboardFillIcon />} actionId="copy" aria-label="Copy" />}
|
|
73
73
|
value={2}
|
|
74
74
|
>
|
|
75
75
|
Item 3
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
DropdownList,
|
|
12
12
|
DropdownItem
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhUiThumbnailViewSmallFillIcon from '@patternfly/react-icons/dist/js/icons/rh-ui-thumbnail-view-small-fill-icon';
|
|
15
15
|
import brandImg from '@patternfly/react-core/src/demos/assets/PF-IconLogo.svg';
|
|
16
16
|
|
|
17
17
|
const MockLink: React.FunctionComponent = ({ to, ...props }: any) => <a href={to} {...props}></a>;
|
|
@@ -215,7 +215,7 @@ export const ApplicationLauncherDemo: React.FunctionComponent = () => {
|
|
|
215
215
|
onClick={onToggleClick}
|
|
216
216
|
isExpanded={isOpen}
|
|
217
217
|
style={{ width: 'auto' }}
|
|
218
|
-
icon={<
|
|
218
|
+
icon={<RhUiThumbnailViewSmallFillIcon />}
|
|
219
219
|
/>
|
|
220
220
|
)}
|
|
221
221
|
ref={menuRef}
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
Divider,
|
|
10
10
|
MenuContainer
|
|
11
11
|
} from '@patternfly/react-core';
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
12
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
13
|
+
import RhUiStorageDomainFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-storage-domain-fill-icon';
|
|
14
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
16
|
|
|
17
17
|
interface MenuHeightsType {
|
|
@@ -183,18 +183,18 @@ export const DrilldownMenuDemo: React.FunctionComponent = () => {
|
|
|
183
183
|
</MenuItem>
|
|
184
184
|
<MenuItem
|
|
185
185
|
itemId="group:storage"
|
|
186
|
-
icon={<
|
|
186
|
+
icon={<RhUiStorageDomainFillIcon />}
|
|
187
187
|
direction="down"
|
|
188
188
|
drilldownMenu={
|
|
189
189
|
<DrilldownMenu id="drilldownMenuStorage">
|
|
190
|
-
<MenuItem itemId="group:storage_breadcrumb" icon={<
|
|
190
|
+
<MenuItem itemId="group:storage_breadcrumb" icon={<RhUiStorageDomainFillIcon />} direction="up">
|
|
191
191
|
Add storage
|
|
192
192
|
</MenuItem>
|
|
193
193
|
<Divider component="li" />
|
|
194
|
-
<MenuItem icon={<
|
|
194
|
+
<MenuItem icon={<RhUiBranchFillIcon />} itemId="git">
|
|
195
195
|
From Git
|
|
196
196
|
</MenuItem>
|
|
197
|
-
<MenuItem icon={<
|
|
197
|
+
<MenuItem icon={<RhUiServerStackFillIcon />} itemId="container">
|
|
198
198
|
Container Image
|
|
199
199
|
</MenuItem>
|
|
200
200
|
<MenuItem icon={<CubeIcon />} itemId="docker">
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
27
27
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
28
28
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
29
|
-
import
|
|
29
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
30
30
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
31
31
|
|
|
32
32
|
interface DashboardHeaderProps {
|
|
@@ -175,7 +175,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
175
175
|
onClick={onKebabDropdownToggle}
|
|
176
176
|
variant="plain"
|
|
177
177
|
aria-label="Settings and help"
|
|
178
|
-
icon={<
|
|
178
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
179
179
|
/>
|
|
180
180
|
)}
|
|
181
181
|
>
|
|
@@ -195,7 +195,7 @@ export const DashboardHeader: React.FC<DashboardHeaderProps> = ({ notificationBa
|
|
|
195
195
|
onClick={onFullKebabToggle}
|
|
196
196
|
variant="plain"
|
|
197
197
|
aria-label="Toolbar menu"
|
|
198
|
-
icon={<
|
|
198
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
199
199
|
/>
|
|
200
200
|
)}
|
|
201
201
|
>
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
PageSection,
|
|
17
17
|
Title
|
|
18
18
|
} from '@patternfly/react-core';
|
|
19
|
-
import
|
|
19
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
20
20
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
21
21
|
|
|
22
22
|
export const DataListActionable: React.FunctionComponent = () => {
|
|
@@ -100,7 +100,7 @@ export const DataListActionable: React.FunctionComponent = () => {
|
|
|
100
100
|
variant="plain"
|
|
101
101
|
aria-label="Data list with actions example kebab toggle"
|
|
102
102
|
>
|
|
103
|
-
<
|
|
103
|
+
<RhUiEllipsisVerticalFillIcon aria-hidden="true" />
|
|
104
104
|
</MenuToggle>
|
|
105
105
|
)}
|
|
106
106
|
isOpen={isOpen}
|