@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
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
49
49
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
50
50
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
51
|
-
import
|
|
51
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
52
52
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
53
53
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
54
54
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.PF-HorizontalLogo-Color.svg';
|
|
@@ -221,7 +221,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
221
221
|
onClick={onKebabDropdownToggle}
|
|
222
222
|
variant="plain"
|
|
223
223
|
aria-label="Settings and help"
|
|
224
|
-
icon={<
|
|
224
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
225
225
|
/>
|
|
226
226
|
)}
|
|
227
227
|
>
|
|
@@ -352,7 +352,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
352
352
|
variant="plain"
|
|
353
353
|
onClick={() => onToggle('toggle-id-0')}
|
|
354
354
|
isExpanded={isActionsMenuOpen['toggle-id-0'] || false}
|
|
355
|
-
icon={<
|
|
355
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
356
356
|
/>
|
|
357
357
|
)}
|
|
358
358
|
>
|
|
@@ -386,7 +386,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
386
386
|
variant="plain"
|
|
387
387
|
onClick={() => onToggle('toggle-id-1')}
|
|
388
388
|
isExpanded={isActionsMenuOpen['toggle-id-1'] || false}
|
|
389
|
-
icon={<
|
|
389
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
390
390
|
/>
|
|
391
391
|
)}
|
|
392
392
|
>
|
|
@@ -421,7 +421,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
421
421
|
variant="plain"
|
|
422
422
|
onClick={() => onToggle('toggle-id-2')}
|
|
423
423
|
isExpanded={isActionsMenuOpen['toggle-id-2'] || false}
|
|
424
|
-
icon={<
|
|
424
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
425
425
|
/>
|
|
426
426
|
)}
|
|
427
427
|
>
|
|
@@ -457,7 +457,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
457
457
|
variant="plain"
|
|
458
458
|
onClick={() => onToggle('toggle-id-3')}
|
|
459
459
|
isExpanded={isActionsMenuOpen['toggle-id-3'] || false}
|
|
460
|
-
icon={<
|
|
460
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
461
461
|
/>
|
|
462
462
|
)}
|
|
463
463
|
>
|
|
@@ -492,7 +492,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
|
|
|
492
492
|
variant="plain"
|
|
493
493
|
onClick={() => onToggle('toggle-id-4')}
|
|
494
494
|
isExpanded={isActionsMenuOpen['toggle-id-4'] || false}
|
|
495
|
-
icon={<
|
|
495
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
496
496
|
/>
|
|
497
497
|
)}
|
|
498
498
|
>
|
|
@@ -51,7 +51,7 @@ import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-s
|
|
|
51
51
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
52
52
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
53
53
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
54
|
-
import
|
|
54
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
55
55
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
56
56
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.PF-HorizontalLogo-Color.svg';
|
|
57
57
|
|
|
@@ -271,7 +271,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
271
271
|
onClick={onKebabDropdownToggle}
|
|
272
272
|
variant="plain"
|
|
273
273
|
aria-label="Settings and help"
|
|
274
|
-
icon={<
|
|
274
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
275
275
|
/>
|
|
276
276
|
)}
|
|
277
277
|
>
|
|
@@ -403,7 +403,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
403
403
|
variant="plain"
|
|
404
404
|
onClick={() => onToggle('toggle-id-0')}
|
|
405
405
|
isExpanded={isActionsMenuOpen['toggle-id-0'] || false}
|
|
406
|
-
icon={<
|
|
406
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
407
407
|
/>
|
|
408
408
|
)}
|
|
409
409
|
>
|
|
@@ -444,7 +444,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
444
444
|
variant="plain"
|
|
445
445
|
onClick={() => onToggle('toggle-id-5')}
|
|
446
446
|
isExpanded={isActionsMenuOpen['toggle-id-5'] || false}
|
|
447
|
-
icon={<
|
|
447
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
448
448
|
/>
|
|
449
449
|
)}
|
|
450
450
|
>
|
|
@@ -479,7 +479,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
479
479
|
variant="plain"
|
|
480
480
|
onClick={() => onToggle('toggle-id-6')}
|
|
481
481
|
isExpanded={isActionsMenuOpen['toggle-id-6'] || false}
|
|
482
|
-
icon={<
|
|
482
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
483
483
|
/>
|
|
484
484
|
)}
|
|
485
485
|
>
|
|
@@ -515,7 +515,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
515
515
|
variant="plain"
|
|
516
516
|
onClick={() => onToggle('toggle-id-7')}
|
|
517
517
|
isExpanded={isActionsMenuOpen['toggle-id-7'] || false}
|
|
518
|
-
icon={<
|
|
518
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
519
519
|
/>
|
|
520
520
|
)}
|
|
521
521
|
>
|
|
@@ -550,7 +550,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
550
550
|
variant="plain"
|
|
551
551
|
onClick={() => onToggle('toggle-id-8')}
|
|
552
552
|
isExpanded={isActionsMenuOpen['toggle-id-8'] || false}
|
|
553
|
-
icon={<
|
|
553
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
554
554
|
/>
|
|
555
555
|
)}
|
|
556
556
|
>
|
|
@@ -594,7 +594,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
594
594
|
variant="plain"
|
|
595
595
|
onClick={() => onToggle('toggle-id-9')}
|
|
596
596
|
isExpanded={isActionsMenuOpen['toggle-id-9'] || false}
|
|
597
|
-
icon={<
|
|
597
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
598
598
|
/>
|
|
599
599
|
)}
|
|
600
600
|
>
|
|
@@ -629,7 +629,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
629
629
|
variant="plain"
|
|
630
630
|
onClick={() => onToggle('toggle-id-10')}
|
|
631
631
|
isExpanded={isActionsMenuOpen['toggle-id-10'] || false}
|
|
632
|
-
icon={<
|
|
632
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
633
633
|
/>
|
|
634
634
|
)}
|
|
635
635
|
>
|
|
@@ -665,7 +665,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
665
665
|
variant="plain"
|
|
666
666
|
onClick={() => onToggle('toggle-id-11')}
|
|
667
667
|
isExpanded={isActionsMenuOpen['toggle-id-11'] || false}
|
|
668
|
-
icon={<
|
|
668
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
669
669
|
/>
|
|
670
670
|
)}
|
|
671
671
|
>
|
|
@@ -700,7 +700,7 @@ export const NotificationDrawerGrouped: React.FunctionComponent = () => {
|
|
|
700
700
|
variant="plain"
|
|
701
701
|
onClick={() => onToggle('toggle-id-12')}
|
|
702
702
|
isExpanded={isActionsMenuOpen['toggle-id-12'] || false}
|
|
703
|
-
icon={<
|
|
703
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
704
704
|
/>
|
|
705
705
|
)}
|
|
706
706
|
>
|
package/src/demos/Page.md
CHANGED
|
@@ -11,11 +11,10 @@ import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/ico
|
|
|
11
11
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
12
12
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
13
13
|
import LightbulbIcon from '@patternfly/react-icons/dist/esm/icons/lightbulb-icon';
|
|
14
|
-
import
|
|
14
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
16
|
import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
|
|
17
17
|
import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
|
|
18
|
-
import CodeIcon from '@patternfly/react-icons/dist/esm/icons/code-icon';
|
|
19
18
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
20
19
|
import pfIconLogo from '@patternfly/react-core/src/demos/assets/PF-IconLogo-color.svg';
|
|
21
20
|
|
|
@@ -5,8 +5,8 @@ section: patterns
|
|
|
5
5
|
|
|
6
6
|
import { useEffect, useRef, useState } from 'react';
|
|
7
7
|
import RedoIcon from '@patternfly/react-icons/dist/esm/icons/redo-icon';
|
|
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
|
|
|
11
11
|
## Demos
|
|
12
12
|
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
MenuItemAction
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
14
|
import RedoIcon from '@patternfly/react-icons/dist/esm/icons/redo-icon';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import RhUiViewFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-view-fill-icon';
|
|
16
|
+
import RhUiViewOffFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-view-off-fill-icon';
|
|
17
17
|
|
|
18
18
|
export const PasswordGenerator: React.FunctionComponent = () => {
|
|
19
19
|
const generatePassword = () => {
|
|
@@ -123,7 +123,7 @@ export const PasswordGenerator: React.FunctionComponent = () => {
|
|
|
123
123
|
variant="control"
|
|
124
124
|
onClick={() => setPasswordHidden(!passwordHidden)}
|
|
125
125
|
aria-label={passwordHidden ? 'Show password' : 'Hide password'}
|
|
126
|
-
icon={passwordHidden ? <
|
|
126
|
+
icon={passwordHidden ? <RhUiViewFillIcon /> : <RhUiViewOffFillIcon />}
|
|
127
127
|
/>
|
|
128
128
|
</InputGroupItem>
|
|
129
129
|
</InputGroup>
|
|
@@ -4,9 +4,9 @@ section: patterns
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import { Fragment, useState } from 'react';
|
|
7
|
-
import
|
|
7
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
8
8
|
import TrashIcon from '@patternfly/react-icons/dist/esm/icons/trash-icon';
|
|
9
|
-
import
|
|
9
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
10
10
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
11
11
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
12
12
|
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
|
|
@@ -23,7 +23,7 @@ import sparkIcon from './assets/camel-spark_200x150.png';
|
|
|
23
23
|
import swaggerIcon from './assets/camel-swagger-java_200x150.png';
|
|
24
24
|
import azureIcon from './assets/FuseConnector_Icons_AzureServices.png';
|
|
25
25
|
import restIcon from './assets/FuseConnector_Icons_REST.png';
|
|
26
|
-
import
|
|
26
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
27
27
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
28
28
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
29
29
|
|
package/src/demos/RTL/RTL.md
CHANGED
|
@@ -8,15 +8,15 @@ import translationsEn from "./examples/translations.en.json";
|
|
|
8
8
|
import translationsHe from "./examples/translations.he.json";
|
|
9
9
|
import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
|
|
10
10
|
import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
11
|
+
import RhUiRunningIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-running-icon';
|
|
12
|
+
import RhUiClockFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-fill-icon';
|
|
13
13
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
14
14
|
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
15
15
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
16
16
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
17
17
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
18
|
-
import
|
|
19
|
-
import
|
|
18
|
+
import RhUiStopCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-stop-circle-fill-icon';
|
|
19
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
20
20
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
21
21
|
import { rows } from '@patternfly/react-core/dist/esm/demos/sampleDataRTL';
|
|
22
22
|
|
|
@@ -6,16 +6,14 @@ import {
|
|
|
6
6
|
BreadcrumbItem,
|
|
7
7
|
Button,
|
|
8
8
|
ButtonVariant,
|
|
9
|
-
Card,
|
|
10
9
|
Content,
|
|
11
10
|
Divider,
|
|
12
11
|
Dropdown,
|
|
13
12
|
DropdownGroup,
|
|
14
13
|
DropdownItem,
|
|
15
14
|
DropdownList,
|
|
16
|
-
Icon,
|
|
17
15
|
Label,
|
|
18
|
-
|
|
16
|
+
LabelStatus,
|
|
19
17
|
Masthead,
|
|
20
18
|
MastheadMain,
|
|
21
19
|
MastheadLogo,
|
|
@@ -46,14 +44,14 @@ import translationsEn from './examples/translations.en.json';
|
|
|
46
44
|
import translationsHe from './examples/translations.he.json';
|
|
47
45
|
import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
|
|
48
46
|
import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
49
|
-
import
|
|
50
|
-
import
|
|
47
|
+
import RhUiRunningIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-running-icon';
|
|
48
|
+
import RhUiClockFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-fill-icon';
|
|
49
|
+
import RhUiStopCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-stop-circle-fill-icon';
|
|
51
50
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
52
51
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
53
52
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
54
53
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
55
|
-
import
|
|
56
|
-
import HandPaperIcon from '@patternfly/react-icons/dist/esm/icons/hand-paper-icon';
|
|
54
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
57
55
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
58
56
|
import { rows } from '@patternfly/react-core/dist/esm/demos/sampleDataRTL';
|
|
59
57
|
|
|
@@ -180,42 +178,28 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
180
178
|
case 'Running':
|
|
181
179
|
case 'רץ':
|
|
182
180
|
return (
|
|
183
|
-
<Label
|
|
184
|
-
color={LabelColor.green}
|
|
185
|
-
icon={
|
|
186
|
-
<Icon shouldMirrorRTL>
|
|
187
|
-
<WalkingIcon />
|
|
188
|
-
</Icon>
|
|
189
|
-
}
|
|
190
|
-
>
|
|
181
|
+
<Label status={LabelStatus.success} icon={<RhUiRunningIcon className="pf-v6-m-mirror-inline-rtl" />}>
|
|
191
182
|
{translation.table.rows.status.running}
|
|
192
183
|
</Label>
|
|
193
184
|
);
|
|
194
185
|
case 'Stopped':
|
|
195
186
|
case 'עצר':
|
|
196
187
|
return (
|
|
197
|
-
<Label
|
|
198
|
-
icon={
|
|
199
|
-
<Icon shouldMirrorRTL>
|
|
200
|
-
<HandPaperIcon />
|
|
201
|
-
</Icon>
|
|
202
|
-
}
|
|
203
|
-
color={LabelColor.red}
|
|
204
|
-
>
|
|
188
|
+
<Label status={LabelStatus.danger} icon={<RhUiStopCircleFillIcon className="pf-v6-m-mirror-inline-rtl" />}>
|
|
205
189
|
{translation.table.rows.status.stopped}
|
|
206
190
|
</Label>
|
|
207
191
|
);
|
|
208
192
|
case 'Needs maintenance':
|
|
209
193
|
case 'זקוק לתחזוקה':
|
|
210
194
|
return (
|
|
211
|
-
<Label icon={<ToolsIcon />}
|
|
195
|
+
<Label status={LabelStatus.info} icon={<ToolsIcon />}>
|
|
212
196
|
{translation.table.rows.status.needsMaintenance}
|
|
213
197
|
</Label>
|
|
214
198
|
);
|
|
215
199
|
case 'Down':
|
|
216
200
|
case 'מטה':
|
|
217
201
|
return (
|
|
218
|
-
<Label icon={<
|
|
202
|
+
<Label status={LabelStatus.warning} icon={<RhUiClockFillIcon />}>
|
|
219
203
|
{translation.table.rows.status.down}
|
|
220
204
|
</Label>
|
|
221
205
|
);
|
|
@@ -229,11 +213,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
229
213
|
<ToolbarItem>
|
|
230
214
|
<Button
|
|
231
215
|
variant="primary"
|
|
232
|
-
icon={
|
|
233
|
-
<Icon shouldMirrorRTL>
|
|
234
|
-
<AlignRightIcon />
|
|
235
|
-
</Icon>
|
|
236
|
-
}
|
|
216
|
+
icon={<AlignRightIcon className="pf-v6-m-mirror-inline-rtl" />}
|
|
237
217
|
iconPosition="end"
|
|
238
218
|
onClick={switchTranslation}
|
|
239
219
|
>
|
|
@@ -363,7 +343,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
363
343
|
onClick={onKebabDropdownToggle}
|
|
364
344
|
variant="plain"
|
|
365
345
|
aria-label={translation.kebabDropdown.settingsAndHelp}
|
|
366
|
-
icon={<
|
|
346
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
367
347
|
/>
|
|
368
348
|
)}
|
|
369
349
|
>
|
|
@@ -383,7 +363,7 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
383
363
|
onClick={onFullKebabToggle}
|
|
384
364
|
variant="plain"
|
|
385
365
|
aria-label={translation.kebabAndUserDropdown.toolbarMenuAriaLabel}
|
|
386
|
-
icon={<
|
|
366
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
387
367
|
/>
|
|
388
368
|
)}
|
|
389
369
|
>
|
|
@@ -443,52 +423,50 @@ export const PaginatedTableAction: React.FunctionComponent = () => {
|
|
|
443
423
|
</Content>
|
|
444
424
|
</PageSection>
|
|
445
425
|
<PageSection>
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
<
|
|
449
|
-
<
|
|
450
|
-
|
|
451
|
-
{
|
|
452
|
-
<Th key={columnIndex}>{column}</Th>
|
|
453
|
-
))}
|
|
454
|
-
</Tr>
|
|
455
|
-
</Thead>
|
|
456
|
-
<Tbody>
|
|
457
|
-
{paginatedRows.map((row: Row, rowIndex: number) => (
|
|
458
|
-
<Tr key={rowIndex}>
|
|
459
|
-
<>
|
|
460
|
-
{Object.entries(row).map(([key, value]) => {
|
|
461
|
-
if (key === 'status') {
|
|
462
|
-
return (
|
|
463
|
-
<Td key={key} width={15} dataLabel="Status">
|
|
464
|
-
{renderLabel(value)}
|
|
465
|
-
</Td>
|
|
466
|
-
);
|
|
467
|
-
} else if (key === 'url') {
|
|
468
|
-
return (
|
|
469
|
-
// Passing dir="rtl" forces truncation at the start of the URL,
|
|
470
|
-
// resulting in the unique portion being visible regardless of language
|
|
471
|
-
<Td key={key} dataLabel="URL" width={15}>
|
|
472
|
-
<a href="#">
|
|
473
|
-
<Truncate content={row.url} position={isDirRTL ? 'end' : 'start'} />
|
|
474
|
-
</a>
|
|
475
|
-
</Td>
|
|
476
|
-
);
|
|
477
|
-
} else {
|
|
478
|
-
return (
|
|
479
|
-
<Td key={key} dataLabel={key === 'lastModified' ? 'Last modified' : capitalize(key)}>
|
|
480
|
-
{value}
|
|
481
|
-
</Td>
|
|
482
|
-
);
|
|
483
|
-
}
|
|
484
|
-
})}
|
|
485
|
-
</>
|
|
486
|
-
</Tr>
|
|
426
|
+
{toolbarItems}
|
|
427
|
+
<Table variant="compact" aria-label={translation.table.ariaLabel}>
|
|
428
|
+
<Thead>
|
|
429
|
+
<Tr>
|
|
430
|
+
{columns.map((column, columnIndex) => (
|
|
431
|
+
<Th key={columnIndex}>{column}</Th>
|
|
487
432
|
))}
|
|
488
|
-
</
|
|
489
|
-
</
|
|
490
|
-
|
|
491
|
-
|
|
433
|
+
</Tr>
|
|
434
|
+
</Thead>
|
|
435
|
+
<Tbody>
|
|
436
|
+
{paginatedRows.map((row: Row, rowIndex: number) => (
|
|
437
|
+
<Tr key={rowIndex}>
|
|
438
|
+
<>
|
|
439
|
+
{Object.entries(row).map(([key, value]) => {
|
|
440
|
+
if (key === 'status') {
|
|
441
|
+
return (
|
|
442
|
+
<Td key={key} width={15} dataLabel="Status">
|
|
443
|
+
{renderLabel(value)}
|
|
444
|
+
</Td>
|
|
445
|
+
);
|
|
446
|
+
} else if (key === 'url') {
|
|
447
|
+
return (
|
|
448
|
+
// Passing dir="rtl" forces truncation at the start of the URL,
|
|
449
|
+
// resulting in the unique portion being visible regardless of language
|
|
450
|
+
<Td key={key} dataLabel="URL" width={15}>
|
|
451
|
+
<a href="#">
|
|
452
|
+
<Truncate content={row.url} position={isDirRTL ? 'end' : 'start'} />
|
|
453
|
+
</a>
|
|
454
|
+
</Td>
|
|
455
|
+
);
|
|
456
|
+
} else {
|
|
457
|
+
return (
|
|
458
|
+
<Td key={key} dataLabel={key === 'lastModified' ? 'Last modified' : capitalize(key)}>
|
|
459
|
+
{value}
|
|
460
|
+
</Td>
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
})}
|
|
464
|
+
</>
|
|
465
|
+
</Tr>
|
|
466
|
+
))}
|
|
467
|
+
</Tbody>
|
|
468
|
+
</Table>
|
|
469
|
+
{renderPagination(PaginationVariant.bottom)}
|
|
492
470
|
</PageSection>
|
|
493
471
|
</Page>
|
|
494
472
|
</Fragment>
|
package/src/demos/Tabs.md
CHANGED
|
@@ -6,12 +6,12 @@ section: components
|
|
|
6
6
|
import { Fragment, useCallback, useRef, useState } from 'react';
|
|
7
7
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
8
8
|
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
|
|
10
|
+
import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
|
|
11
11
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
12
12
|
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import RhMicronsSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-large-to-small-icon';
|
|
14
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
15
15
|
import display from '@patternfly/react-styles/css/utilities/Display/display';
|
|
16
16
|
import sizing from '@patternfly/react-styles/css/utilities/Sizing/sizing';
|
|
17
17
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
package/src/demos/Toolbar.md
CHANGED
|
@@ -7,7 +7,7 @@ import { Fragment, useState } from 'react';
|
|
|
7
7
|
import PauseIcon from '@patternfly/react-icons/dist/esm/icons/pause-icon';
|
|
8
8
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
9
9
|
import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
11
11
|
import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
|
|
12
12
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
13
13
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
MenuToggleElement
|
|
29
29
|
} from '@patternfly/react-core';
|
|
30
30
|
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
|
|
31
|
-
import
|
|
31
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
32
32
|
import { DashboardHeader } from '@patternfly/react-core/dist/js/demos/DashboardHeader';
|
|
33
33
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
34
34
|
|
|
@@ -248,7 +248,7 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
|
|
|
248
248
|
variant="plain"
|
|
249
249
|
onClick={() => onDropdownToggle('dropdown-toggle-id-0')}
|
|
250
250
|
aria-label="Notification drawer actions"
|
|
251
|
-
icon={<
|
|
251
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
252
252
|
/>
|
|
253
253
|
)}
|
|
254
254
|
>
|
|
@@ -279,7 +279,7 @@ export const AlertGroupToastWithNotificationDrawer: React.FunctionComponent = ()
|
|
|
279
279
|
variant="plain"
|
|
280
280
|
onClick={() => onDropdownToggle(key)}
|
|
281
281
|
aria-label={`Notification ${index + 1} actions`}
|
|
282
|
-
icon={<
|
|
282
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
283
283
|
/>
|
|
284
284
|
)}
|
|
285
285
|
>
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
} from '@patternfly/react-core';
|
|
23
23
|
import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
|
|
24
24
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
25
|
-
import
|
|
26
|
-
import
|
|
25
|
+
import RhMicronsExternalLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-external-link-icon';
|
|
26
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
27
27
|
|
|
28
28
|
export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
29
29
|
const [isCardExpanded, setIsCardExpanded] = useState(false);
|
|
@@ -64,7 +64,7 @@ export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
|
64
64
|
onClick={onActionToggle}
|
|
65
65
|
variant="plain"
|
|
66
66
|
aria-label="Horizontal card grid demo kebab toggle"
|
|
67
|
-
icon={<
|
|
67
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
68
68
|
/>
|
|
69
69
|
)}
|
|
70
70
|
>
|
|
@@ -241,7 +241,7 @@ export const CardHorizontalGrid: React.FunctionComponent = () => {
|
|
|
241
241
|
<ListItem>
|
|
242
242
|
<a href="#">
|
|
243
243
|
OpenShift 4.5: Top Tasks
|
|
244
|
-
<
|
|
244
|
+
<RhMicronsExternalLinkIcon />
|
|
245
245
|
</a>
|
|
246
246
|
</ListItem>
|
|
247
247
|
<ListItem>
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
MenuToggle,
|
|
13
13
|
MenuToggleElement
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import RhUiCalendarIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-icon';
|
|
16
|
+
import RhUiClockIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clock-icon';
|
|
17
17
|
|
|
18
18
|
export const DateTimePicker: React.FunctionComponent = () => {
|
|
19
19
|
const [isCalendarOpen, setIsCalendarOpen] = useState(false);
|
|
@@ -65,7 +65,7 @@ export const DateTimePicker: React.FunctionComponent = () => {
|
|
|
65
65
|
onClick={onToggleTime}
|
|
66
66
|
isExpanded={isTimeOpen}
|
|
67
67
|
aria-label="Time picker"
|
|
68
|
-
icon={<
|
|
68
|
+
icon={<RhUiClockIcon />}
|
|
69
69
|
/>
|
|
70
70
|
)}
|
|
71
71
|
>
|
|
@@ -74,12 +74,7 @@ export const DateTimePicker: React.FunctionComponent = () => {
|
|
|
74
74
|
);
|
|
75
75
|
|
|
76
76
|
const calendarButton = (
|
|
77
|
-
<Button
|
|
78
|
-
variant="control"
|
|
79
|
-
aria-label="Toggle the calendar"
|
|
80
|
-
onClick={onToggleCalendar}
|
|
81
|
-
icon={<OutlinedCalendarAltIcon />}
|
|
82
|
-
/>
|
|
77
|
+
<Button variant="control" aria-label="Toggle the calendar" onClick={onToggleCalendar} icon={<RhUiCalendarIcon />} />
|
|
83
78
|
);
|
|
84
79
|
|
|
85
80
|
return (
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
ToolbarGroup,
|
|
37
37
|
ToolbarItem
|
|
38
38
|
} from '@patternfly/react-core';
|
|
39
|
-
import
|
|
39
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
40
40
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
41
41
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
42
42
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
@@ -212,7 +212,7 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
212
212
|
isExpanded={isKebabDropdownOpen}
|
|
213
213
|
variant="plain"
|
|
214
214
|
aria-label="Settings and help"
|
|
215
|
-
icon={<
|
|
215
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
216
216
|
/>
|
|
217
217
|
)}
|
|
218
218
|
>
|
|
@@ -232,7 +232,7 @@ export const MastheadWithHorizontalNav: React.FunctionComponent = () => {
|
|
|
232
232
|
isExpanded={isFullKebabDropdownOpen}
|
|
233
233
|
variant="plain"
|
|
234
234
|
aria-label="Toolbar menu"
|
|
235
|
-
icon={<
|
|
235
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
236
236
|
/>
|
|
237
237
|
)}
|
|
238
238
|
>
|