@patternfly/react-core 6.6.0-prerelease.5 → 6.6.0-prerelease.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +0 -3
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/Compass/package.json +1 -1
- package/dist/dynamic/components/Content/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hero/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
- package/dist/dynamic/deprecated/components/Tile/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/AnimationsProvider/AnimationsProvider/package.json +1 -1
- package/dist/dynamic/helpers/AnimationsProvider/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/SSRSafeIds/SSRSafeIds/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useSSRSafeId/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/styles/package.json +1 -1
- package/dist/esm/components/Avatar/Avatar.d.ts +10 -2
- package/dist/esm/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/esm/components/Avatar/Avatar.js +8 -3
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Banner/Banner.d.ts +2 -0
- package/dist/esm/components/Banner/Banner.d.ts.map +1 -1
- package/dist/esm/components/Banner/Banner.js +2 -2
- package/dist/esm/components/Banner/Banner.js.map +1 -1
- package/dist/esm/components/ClipboardCopy/ClipboardCopyButton.js +2 -2
- package/dist/esm/components/ClipboardCopy/ClipboardCopyButton.js.map +1 -1
- package/dist/esm/components/DataList/DataListDragButton.js +2 -2
- package/dist/esm/components/DataList/DataListDragButton.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +2 -2
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.js +26 -30
- package/dist/esm/components/Drawer/DrawerPanelContent.js.map +1 -1
- package/dist/esm/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/esm/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/esm/components/LoginPage/LoginForm.js +3 -3
- package/dist/esm/components/LoginPage/LoginForm.js.map +1 -1
- package/dist/esm/components/Menu/MenuItem.js +2 -2
- package/dist/esm/components/Menu/MenuItem.js.map +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
- package/dist/esm/components/Nav/NavExpandable.d.ts +2 -0
- package/dist/esm/components/Nav/NavExpandable.d.ts.map +1 -1
- package/dist/esm/components/Nav/NavExpandable.js +3 -3
- package/dist/esm/components/Nav/NavExpandable.js.map +1 -1
- package/dist/esm/components/TimePicker/TimePicker.js +2 -2
- package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/esm/demos/DashboardHeader.js +2 -2
- package/dist/esm/demos/DashboardHeader.js.map +1 -1
- package/dist/esm/deprecated/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/esm/deprecated/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/js/components/Avatar/Avatar.d.ts +10 -2
- package/dist/js/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/js/components/Avatar/Avatar.js +7 -2
- package/dist/js/components/Avatar/Avatar.js.map +1 -1
- package/dist/js/components/Banner/Banner.d.ts +2 -0
- package/dist/js/components/Banner/Banner.d.ts.map +1 -1
- package/dist/js/components/Banner/Banner.js +2 -2
- package/dist/js/components/Banner/Banner.js.map +1 -1
- package/dist/js/components/ClipboardCopy/ClipboardCopyButton.js +2 -2
- package/dist/js/components/ClipboardCopy/ClipboardCopyButton.js.map +1 -1
- package/dist/js/components/DataList/DataListDragButton.js +2 -2
- package/dist/js/components/DataList/DataListDragButton.js.map +1 -1
- package/dist/js/components/DatePicker/DatePicker.js +2 -2
- package/dist/js/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.js +26 -30
- package/dist/js/components/Drawer/DrawerPanelContent.js.map +1 -1
- package/dist/js/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/js/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/js/components/LoginPage/LoginForm.js +3 -3
- package/dist/js/components/LoginPage/LoginForm.js.map +1 -1
- package/dist/js/components/Menu/MenuItem.js +2 -2
- package/dist/js/components/Menu/MenuItem.js.map +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
- package/dist/js/components/Nav/NavExpandable.d.ts +2 -0
- package/dist/js/components/Nav/NavExpandable.d.ts.map +1 -1
- package/dist/js/components/Nav/NavExpandable.js +3 -3
- package/dist/js/components/Nav/NavExpandable.js.map +1 -1
- package/dist/js/components/TimePicker/TimePicker.js +2 -2
- package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/js/demos/DashboardHeader.js +2 -2
- package/dist/js/demos/DashboardHeader.js.map +1 -1
- package/dist/js/deprecated/components/DualListSelector/DualListSelectorListItem.js +2 -2
- package/dist/js/deprecated/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
- package/dist/styles/assets/images/img_avatar-rhds.svg +22 -0
- package/dist/styles/assets/images/pf-logo-avatar.jpg +0 -0
- package/dist/styles/base-no-reset.css +60 -58
- package/dist/styles/base.css +60 -58
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +6 -7
- package/src/components/ActionList/examples/ActionList.md +1 -1
- package/src/components/ActionList/examples/ActionListSingleGroup.tsx +2 -2
- package/src/components/Alert/examples/Alert.md +3 -3
- package/src/components/Alert/examples/AlertCustomIcons.tsx +6 -6
- package/src/components/Avatar/Avatar.tsx +38 -10
- package/src/components/Avatar/__tests__/Avatar.test.tsx +61 -0
- package/src/components/Avatar/examples/Avatar.md +30 -3
- package/src/components/Avatar/examples/AvatarBasic.tsx +32 -2
- package/src/components/Avatar/examples/AvatarBordered.tsx +6 -2
- package/src/components/Avatar/examples/AvatarColorModifiers.tsx +43 -0
- package/src/components/Avatar/examples/AvatarInitials.tsx +16 -0
- package/src/components/Avatar/examples/AvatarSizeVariations.tsx +8 -19
- package/src/components/Avatar/examples/avatar.css +7 -0
- package/src/components/Banner/Banner.tsx +10 -1
- package/src/components/Banner/__tests__/Banner.test.tsx +15 -0
- package/src/components/Banner/examples/Banner.md +8 -0
- package/src/components/Banner/examples/BannerPill.tsx +21 -0
- package/src/components/Button/examples/Button.md +1 -1
- package/src/components/Button/examples/ButtonCircle.tsx +2 -2
- package/src/components/Button/examples/ButtonDisabled.tsx +2 -2
- package/src/components/Button/examples/ButtonVariations.tsx +2 -2
- package/src/components/Card/examples/Card.md +1 -1
- package/src/components/Card/examples/CardExpandable.tsx +2 -2
- package/src/components/Card/examples/CardExpandableWithIcon.tsx +2 -2
- package/src/components/Card/examples/CardHeaderInCardHead.tsx +2 -2
- package/src/components/Card/examples/CardOnlyActionsInCardHead.tsx +2 -2
- package/src/components/Card/examples/CardSubtitleActions.tsx +2 -2
- package/src/components/Card/examples/CardWithImageAndActions.tsx +2 -2
- package/src/components/ClipboardCopy/ClipboardCopyButton.tsx +2 -2
- package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +4 -16
- package/src/components/CodeBlock/examples/CodeBlock.md +1 -1
- package/src/components/Compass/examples/Compass.md +0 -4
- package/src/components/DataList/DataListDragButton.tsx +2 -2
- package/src/components/DataList/examples/DataList.md +2 -2
- package/src/components/DataList/examples/DataListActions.tsx +2 -2
- package/src/components/DataList/examples/DataListCheckboxes.tsx +4 -4
- package/src/components/DataList/examples/DataListClickableRows.tsx +3 -3
- package/src/components/DataList/examples/DataListExpandable.tsx +8 -8
- package/src/components/DataList/examples/DataListMixedExpandable.tsx +8 -8
- package/src/components/DataList/examples/DataListWidthModifiers.tsx +3 -3
- package/src/components/DatePicker/DatePicker.tsx +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +8 -32
- package/src/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/src/components/DescriptionList/examples/DescriptionListIconsOnTerms.tsx +4 -4
- package/src/components/Drawer/DrawerPanelContent.tsx +28 -29
- package/src/components/Dropdown/examples/Dropdown.md +1 -1
- package/src/components/Dropdown/examples/DropdownWithKebabToggle.tsx +2 -2
- package/src/components/DualListSelector/DualListSelectorListItem.tsx +2 -2
- package/src/components/DualListSelector/examples/DualListSelector.md +2 -2
- package/src/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +6 -6
- package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +2 -2
- package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +4 -16
- package/src/components/Hint/examples/Hint.md +1 -1
- package/src/components/Hint/examples/HintBasicWithTitle.tsx +2 -2
- package/src/components/Hint/examples/HintBasicWithoutTitle.tsx +2 -2
- package/src/components/InputGroup/examples/InputGroup.md +0 -1
- package/src/components/List/examples/List.md +1 -1
- package/src/components/List/examples/ListIcons.tsx +2 -2
- package/src/components/List/examples/ListLargeIcons.tsx +2 -2
- package/src/components/LoginPage/LoginForm.tsx +3 -3
- package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +4 -16
- package/src/components/Menu/MenuItem.tsx +2 -2
- package/src/components/Menu/examples/Menu.md +5 -5
- package/src/components/Menu/examples/MenuOptionMultiSelect.tsx +2 -2
- package/src/components/Menu/examples/MenuOptionSingleSelect.tsx +2 -2
- package/src/components/Menu/examples/MenuWithActions.tsx +4 -4
- package/src/components/Menu/examples/MenuWithDescription.tsx +4 -4
- package/src/components/Menu/examples/MenuWithDrilldown.tsx +7 -7
- package/src/components/Menu/examples/MenuWithDrilldownBreadcrumbs.tsx +6 -6
- package/src/components/Menu/examples/MenuWithDrilldownInitialState.tsx +7 -7
- package/src/components/Menu/examples/MenuWithDrilldownSubmenuFunctions.tsx +7 -7
- package/src/components/Menu/examples/MenuWithFavorites.tsx +2 -2
- package/src/components/Menu/examples/MenuWithIcons.tsx +4 -4
- package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +2 -2
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +4 -16
- package/src/components/MenuToggle/examples/MenuToggle.md +2 -2
- package/src/components/MenuToggle/examples/MenuTogglePlainCircle.tsx +16 -4
- package/src/components/MenuToggle/examples/MenuTogglePlainIcon.tsx +4 -4
- package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
- package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +2 -2
- package/src/components/Modal/examples/Modal.md +2 -2
- package/src/components/Modal/examples/ModalCustomTitleIcon.tsx +2 -2
- package/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatus.test.tsx +2 -2
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatus.test.tsx.snap +4 -16
- package/src/components/Nav/NavExpandable.tsx +5 -5
- package/src/components/Nav/__tests__/NavExpandable.test.tsx +17 -0
- package/src/components/Nav/examples/Nav.md +3 -3
- package/src/components/Nav/examples/NavIcons.tsx +24 -3
- package/src/components/NotificationDrawer/examples/NotificationDrawer.md +1 -1
- package/src/components/NotificationDrawer/examples/NotificationDrawerBasic.tsx +8 -8
- package/src/components/NotificationDrawer/examples/NotificationDrawerGroups.tsx +10 -10
- package/src/components/OverflowMenu/examples/OverflowMenu.md +1 -1
- package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainer.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainerHeight.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuGroupTypes.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuMultiGroup.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuPersistent.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuSimple.tsx +2 -2
- package/src/components/OverflowMenu/examples/OverflowMenuSimpleVertical.tsx +2 -2
- package/src/components/Popover/examples/Popover.md +1 -1
- package/src/components/Popover/examples/PopoverWithIconInTheTitle.tsx +2 -2
- package/src/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/src/components/ProgressStepper/examples/ProgressStepperCustomIcons.tsx +4 -4
- package/src/components/Tabs/examples/Tabs.md +4 -4
- package/src/components/Tabs/examples/TabsFilledWithIcons.tsx +4 -4
- package/src/components/Tabs/examples/TabsIconAndText.tsx +8 -8
- package/src/components/TextInput/examples/TextInput.md +2 -2
- package/src/components/TextInput/examples/TextInputCustomIcon.tsx +4 -4
- package/src/components/TextInput/examples/TextInputCustomIconInvalid.tsx +2 -2
- package/src/components/TimePicker/TimePicker.tsx +2 -2
- package/src/components/ToggleGroup/examples/ToggleGroup.md +1 -1
- package/src/components/ToggleGroup/examples/ToggleGroupIcon.tsx +2 -2
- package/src/components/ToggleGroup/examples/ToggleGroupTextIcon.tsx +3 -3
- package/src/components/Toolbar/examples/Toolbar.md +1 -1
- package/src/components/Toolbar/examples/ToolbarStacked.tsx +2 -2
- package/src/components/Toolbar/examples/ToolbarWithFilters.tsx +2 -2
- package/src/components/Tooltip/examples/Tooltip.md +1 -1
- package/src/components/Tooltip/examples/TooltipIcon.tsx +2 -2
- package/src/components/TreeView/examples/TreeView.md +1 -1
- package/src/components/TreeView/examples/TreeViewWithActionItems.tsx +6 -6
- package/src/components/Wizard/examples/Wizard.md +1 -1
- package/src/components/Wizard/examples/WizardWithNavAnchors.tsx +3 -3
- package/src/components/assets/img_avatar-light.svg +25 -0
- package/src/components/assets/rhds.svg +22 -0
- package/src/demos/AlertGroup.md +1 -1
- package/src/demos/CardDemos.md +1 -5
- package/src/demos/CardView/CardView.md +1 -1
- package/src/demos/CardView/examples/CardView.tsx +3 -3
- package/src/demos/Compass/Compass.md +3 -3
- package/src/demos/Compass/examples/CompassDemo.tsx +3 -3
- package/src/demos/Compass/examples/CompassDockDemo.tsx +17 -5
- package/src/demos/CustomMenus/ApplicationLauncher.md +1 -1
- package/src/demos/CustomMenus/CustomMenus.md +6 -8
- package/src/demos/CustomMenus/examples/ActionsMenuDemo.tsx +4 -4
- package/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx +2 -2
- package/src/demos/CustomMenus/examples/DrilldownMenuDemo.tsx +7 -7
- package/src/demos/DashboardHeader.tsx +3 -3
- package/src/demos/DataList/examples/DataListActionable.tsx +2 -2
- package/src/demos/DataList/examples/DataListBasic.tsx +16 -12
- package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +8 -8
- package/src/demos/DataList/examples/DataListStaticBottomPagination.tsx +6 -6
- package/src/demos/DataListDemo.md +3 -3
- package/src/demos/DateTimePicker.md +2 -2
- package/src/demos/Masthead.md +2 -2
- package/src/demos/Nav.md +3 -3
- package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
- package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +7 -7
- package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +11 -11
- package/src/demos/Page.md +1 -2
- package/src/demos/PasswordGenerator/PasswordGenerator.md +2 -2
- package/src/demos/PasswordGenerator/examples/PasswordGenerator.tsx +3 -3
- package/src/demos/PrimaryDetail.md +3 -3
- package/src/demos/RTL/RTL.md +4 -4
- package/src/demos/RTL/examples/PaginatedTable.tsx +55 -77
- package/src/demos/Tabs.md +4 -4
- package/src/demos/Toolbar.md +1 -1
- package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +3 -3
- package/src/demos/examples/Card/CardHorizontalGrid.tsx +4 -4
- package/src/demos/examples/DateTimePicker/DateTimePicker.tsx +4 -9
- package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +3 -3
- package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +5 -5
- package/src/demos/examples/Nav/NavDockedNav.tsx +17 -5
- package/src/demos/examples/Nav/NavFlyout.tsx +3 -3
- package/src/demos/examples/Nav/NavHorizontal.tsx +3 -3
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +3 -3
- package/src/demos/examples/Nav/NavManual.tsx +3 -3
- package/src/demos/examples/Page/PageContextSelector.tsx +3 -3
- package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +3 -3
- package/src/demos/examples/Page/PageStickySectionGroup.tsx +3 -3
- package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +3 -3
- package/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx +3 -3
- package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +10 -10
- package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +10 -10
- package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +10 -10
- package/src/demos/examples/Tabs/TabsAndTable.tsx +9 -9
- package/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx +2 -2
- package/src/deprecated/components/DualListSelector/DualListSelectorListItem.tsx +2 -2
- package/src/deprecated/components/DualListSelector/examples/DualListSelector.md +1 -2
- package/src/deprecated/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +3 -3
- package/src/deprecated/components/DualListSelector/examples/DualListSelectorComposable.tsx +2 -2
- package/src/deprecated/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
- package/src/deprecated/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +2 -2
- package/src/deprecated/components/Modal/examples/Modal.md +2 -2
- package/src/deprecated/components/Modal/examples/ModalCustomTitleIcon.tsx +2 -2
- package/src/deprecated/components/Wizard/examples/Wizard.md +1 -1
- package/src/deprecated/components/Wizard/examples/WizardAnchorsForNavItems.tsx +3 -3
- package/LICENSE +0 -21
- package/dist/umd/assets/output-B2l1dRBf.css +0 -27144
- package/dist/umd/react-core.min.js +0 -11
package/dist/styles/base.css
CHANGED
|
@@ -158,9 +158,9 @@ button) {
|
|
|
158
158
|
inset-block-start: 0;
|
|
159
159
|
inset-inline-start: 0;
|
|
160
160
|
overflow: hidden;
|
|
161
|
-
clip: rect(0, 0, 0, 0);
|
|
162
161
|
white-space: nowrap;
|
|
163
162
|
border: 0;
|
|
163
|
+
clip-path: inset(50%);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
.pf-v6-screen-reader.pf-m-full-size {
|
|
@@ -271,8 +271,8 @@ button) {
|
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
:root {
|
|
274
|
-
container-type: inline-size;
|
|
275
274
|
container-name: pf-v6-contain-viewport pf-v6-contain-table;
|
|
275
|
+
container-type: inline-size;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
@property --pf-v6-global--danger-jiggle--TranslateX {
|
|
@@ -1158,12 +1158,12 @@ button) {
|
|
|
1158
1158
|
--pf-t--color--yellow--60: #96640f;
|
|
1159
1159
|
--pf-t--color--yellow--70: #73480b;
|
|
1160
1160
|
--pf-t--color--yellow--80: #54330b;
|
|
1161
|
-
--pf-t--global--background--color--500:
|
|
1162
|
-
--pf-t--global--background--color--600:
|
|
1163
|
-
--pf-t--global--background--color--700:
|
|
1164
|
-
--pf-t--global--background--color--action--plain--default:
|
|
1161
|
+
--pf-t--global--background--color--500: rgb(21, 21, 21, 0.4000);
|
|
1162
|
+
--pf-t--global--background--color--600: rgb(199, 199, 199, 0.2500);
|
|
1163
|
+
--pf-t--global--background--color--700: rgb(199, 199, 199, 0.1000);
|
|
1164
|
+
--pf-t--global--background--color--action--plain--default: rgb(255, 255, 255, 0.0000);
|
|
1165
1165
|
--pf-t--global--background--filter--glass--blur--primary: initial;
|
|
1166
|
-
--pf-t--global--border--color--high-contrast:
|
|
1166
|
+
--pf-t--global--border--color--high-contrast: rgb(255, 255, 255, 0.0000);
|
|
1167
1167
|
--pf-t--global--border--radius--0: 0px;
|
|
1168
1168
|
--pf-t--global--border--radius--100: 4px;
|
|
1169
1169
|
--pf-t--global--border--radius--200: 6px;
|
|
@@ -1201,8 +1201,8 @@ button) {
|
|
|
1201
1201
|
--pf-t--global--box-shadow--blur--100: 6px;
|
|
1202
1202
|
--pf-t--global--box-shadow--blur--200: 10px;
|
|
1203
1203
|
--pf-t--global--box-shadow--blur--300: 20px;
|
|
1204
|
-
--pf-t--global--box-shadow--color--100:
|
|
1205
|
-
--pf-t--global--box-shadow--color--200:
|
|
1204
|
+
--pf-t--global--box-shadow--color--100: rgb(41, 41, 41, 0.1500);
|
|
1205
|
+
--pf-t--global--box-shadow--color--200: rgb(41, 41, 41, 0.2000);
|
|
1206
1206
|
--pf-t--global--box-shadow--spread--100: 0px;
|
|
1207
1207
|
--pf-t--global--box-shadow--spread--200: -4px;
|
|
1208
1208
|
--pf-t--global--box-shadow--spread--300: -8px;
|
|
@@ -2060,10 +2060,10 @@ button) {
|
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
2062
|
:root:where(.pf-v6-theme-high-contrast) {
|
|
2063
|
-
--pf-t--global--background--color--500:
|
|
2064
|
-
--pf-t--global--background--color--600:
|
|
2065
|
-
--pf-t--global--background--color--700:
|
|
2066
|
-
--pf-t--global--background--color--action--plain--default:
|
|
2063
|
+
--pf-t--global--background--color--500: rgb(21, 21, 21, 0.4000);
|
|
2064
|
+
--pf-t--global--background--color--600: rgb(199, 199, 199, 0.2500);
|
|
2065
|
+
--pf-t--global--background--color--700: rgb(199, 199, 199, 0.1000);
|
|
2066
|
+
--pf-t--global--background--color--action--plain--default: rgb(255, 255, 255, 0.0000);
|
|
2067
2067
|
--pf-t--global--background--filter--glass--blur--primary: initial;
|
|
2068
2068
|
--pf-t--global--border--radius--0: 0px;
|
|
2069
2069
|
--pf-t--global--border--radius--100: 4px;
|
|
@@ -2097,8 +2097,8 @@ button) {
|
|
|
2097
2097
|
--pf-t--global--box-shadow--blur--100: 6px;
|
|
2098
2098
|
--pf-t--global--box-shadow--blur--200: 10px;
|
|
2099
2099
|
--pf-t--global--box-shadow--blur--300: 20px;
|
|
2100
|
-
--pf-t--global--box-shadow--color--100:
|
|
2101
|
-
--pf-t--global--box-shadow--color--200:
|
|
2100
|
+
--pf-t--global--box-shadow--color--100: rgb(41, 41, 41, 0.1500);
|
|
2101
|
+
--pf-t--global--box-shadow--color--200: rgb(41, 41, 41, 0.2000);
|
|
2102
2102
|
--pf-t--global--box-shadow--spread--100: 0px;
|
|
2103
2103
|
--pf-t--global--box-shadow--spread--200: -4px;
|
|
2104
2104
|
--pf-t--global--box-shadow--spread--300: -8px;
|
|
@@ -2815,13 +2815,13 @@ button) {
|
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
2817
|
:root:where(.pf-v6-theme-glass) {
|
|
2818
|
-
--pf-t--global--background--color--glass--primary--default:
|
|
2819
|
-
--pf-t--global--background--color--primary--clicked:
|
|
2820
|
-
--pf-t--global--background--color--primary--default:
|
|
2821
|
-
--pf-t--global--background--color--primary--hover:
|
|
2822
|
-
--pf-t--global--background--color--secondary--clicked:
|
|
2823
|
-
--pf-t--global--background--color--secondary--default:
|
|
2824
|
-
--pf-t--global--background--color--secondary--hover:
|
|
2818
|
+
--pf-t--global--background--color--glass--primary--default: rgb(255, 255, 255, 0.5000);
|
|
2819
|
+
--pf-t--global--background--color--primary--clicked: rgb(199, 199, 199, 0.3000);
|
|
2820
|
+
--pf-t--global--background--color--primary--default: rgb(255, 255, 255, 0.6000);
|
|
2821
|
+
--pf-t--global--background--color--primary--hover: rgb(199, 199, 199, 0.3000);
|
|
2822
|
+
--pf-t--global--background--color--secondary--clicked: rgb(163, 163, 163, 0.3000);
|
|
2823
|
+
--pf-t--global--background--color--secondary--default: rgb(199, 199, 199, 0.3000);
|
|
2824
|
+
--pf-t--global--background--color--secondary--hover: rgb(163, 163, 163, 0.3000);
|
|
2825
2825
|
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
|
|
2826
2826
|
--pf-t--global--border--width--main--default: var(--pf-t--global--border--width--100);
|
|
2827
2827
|
--pf-t--global--background--color--action--plain--alt--clicked: var(--pf-t--global--background--color--action--plain--clicked);
|
|
@@ -2829,6 +2829,7 @@ button) {
|
|
|
2829
2829
|
--pf-t--global--border--color--glass--default: var(--pf-t--global--border--color--alt);
|
|
2830
2830
|
--pf-t--global--border--radius--glass--default: var(--pf-t--global--border--radius--medium);
|
|
2831
2831
|
--pf-t--global--border--width--glass--default: var(--pf-t--global--border--width--regular);
|
|
2832
|
+
--pf-t--global--spacer--inset--page-chrome: var(--pf-t--global--spacer--md);
|
|
2832
2833
|
--pf-t--global--background--color--floating--secondary--default: var(--pf-t--global--background--color--floating--default);
|
|
2833
2834
|
--pf-t--global--background--image--default: var(--pf-t--global--background--image--glass, url("./assets/images/PF-Bkg-Generic-Light.svg"));
|
|
2834
2835
|
--pf-t--global--box-shadow--glass--default: var(--pf-t--global--box-shadow--md);
|
|
@@ -2960,13 +2961,13 @@ button) {
|
|
|
2960
2961
|
}
|
|
2961
2962
|
|
|
2962
2963
|
:root:where(.pf-v6-theme-felt.pf-v6-theme-glass) {
|
|
2963
|
-
--pf-t--global--background--color--glass--primary--default:
|
|
2964
|
-
--pf-t--global--background--color--primary--clicked:
|
|
2965
|
-
--pf-t--global--background--color--primary--default:
|
|
2966
|
-
--pf-t--global--background--color--primary--hover:
|
|
2967
|
-
--pf-t--global--background--color--secondary--clicked:
|
|
2968
|
-
--pf-t--global--background--color--secondary--default:
|
|
2969
|
-
--pf-t--global--background--color--secondary--hover:
|
|
2964
|
+
--pf-t--global--background--color--glass--primary--default: rgb(255, 255, 255, 0.5000);
|
|
2965
|
+
--pf-t--global--background--color--primary--clicked: rgb(199, 199, 199, 0.3000);
|
|
2966
|
+
--pf-t--global--background--color--primary--default: rgb(255, 255, 255, 0.6000);
|
|
2967
|
+
--pf-t--global--background--color--primary--hover: rgb(199, 199, 199, 0.3000);
|
|
2968
|
+
--pf-t--global--background--color--secondary--clicked: rgb(163, 163, 163, 0.3000);
|
|
2969
|
+
--pf-t--global--background--color--secondary--default: rgb(199, 199, 199, 0.3000);
|
|
2970
|
+
--pf-t--global--background--color--secondary--hover: rgb(163, 163, 163, 0.3000);
|
|
2970
2971
|
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
|
|
2971
2972
|
--pf-t--global--border--width--main--default: var(--pf-t--global--border--width--100);
|
|
2972
2973
|
--pf-t--global--background--color--action--plain--alt--clicked: var(--pf-t--global--background--color--action--plain--clicked);
|
|
@@ -2982,20 +2983,21 @@ button) {
|
|
|
2982
2983
|
--pf-t--global--color--brand--accent--clicked: var(--pf-t--global--color--brand--accent--200);
|
|
2983
2984
|
--pf-t--global--color--brand--accent--default: var(--pf-t--global--color--brand--accent--100);
|
|
2984
2985
|
--pf-t--global--color--brand--accent--hover: var(--pf-t--global--color--brand--accent--200);
|
|
2986
|
+
--pf-t--global--spacer--inset--page-chrome: var(--pf-t--global--spacer--md);
|
|
2985
2987
|
--pf-t--global--background--color--floating--secondary--default: var(--pf-t--global--background--color--floating--default);
|
|
2986
2988
|
--pf-t--global--background--image--default: var(--pf-t--global--background--image--felt--glass, url("./assets/images/Felt-Bkg-Generic-Light.svg"));
|
|
2987
2989
|
}
|
|
2988
2990
|
|
|
2989
2991
|
:root:where(.pf-v6-theme-dark) {
|
|
2990
|
-
--pf-t--global--background--color--action--plain--default:
|
|
2991
|
-
--pf-t--global--background--color--striped--row--default:
|
|
2992
|
+
--pf-t--global--background--color--action--plain--default: rgb(0, 0, 0, 0.0000);
|
|
2993
|
+
--pf-t--global--background--color--striped--row--default: rgb(21, 21, 21, 0.3000);
|
|
2992
2994
|
--pf-t--global--background--filter--glass--blur--primary: initial;
|
|
2993
|
-
--pf-t--global--border--color--high-contrast:
|
|
2994
|
-
--pf-t--global--dark--background--color--500:
|
|
2995
|
-
--pf-t--global--dark--background--color--600:
|
|
2996
|
-
--pf-t--global--dark--background--color--700:
|
|
2997
|
-
--pf-t--global--dark--box-shadow--color--100:
|
|
2998
|
-
--pf-t--global--dark--box-shadow--color--200:
|
|
2995
|
+
--pf-t--global--border--color--high-contrast: rgb(255, 255, 255, 0.0000);
|
|
2996
|
+
--pf-t--global--dark--background--color--500: rgb(21, 21, 21, 0.8000);
|
|
2997
|
+
--pf-t--global--dark--background--color--600: rgb(199, 199, 199, 0.1500);
|
|
2998
|
+
--pf-t--global--dark--background--color--700: rgb(199, 199, 199, 0.2500);
|
|
2999
|
+
--pf-t--global--dark--box-shadow--color--100: rgb(0, 0, 0, 0.5000);
|
|
3000
|
+
--pf-t--global--dark--box-shadow--color--200: rgb(0, 0, 0, 0.6000);
|
|
2999
3001
|
--pf-t--global--background--color--action--plain--clicked: var(--pf-t--global--dark--background--color--600);
|
|
3000
3002
|
--pf-t--global--background--color--action--plain--hover: var(--pf-t--global--dark--background--color--600);
|
|
3001
3003
|
--pf-t--global--background--color--backdrop--default: var(--pf-t--global--dark--background--color--500);
|
|
@@ -3445,14 +3447,14 @@ button) {
|
|
|
3445
3447
|
}
|
|
3446
3448
|
|
|
3447
3449
|
:root:where(.pf-v6-theme-dark.pf-v6-theme-high-contrast) {
|
|
3448
|
-
--pf-t--global--background--color--action--plain--default:
|
|
3449
|
-
--pf-t--global--background--color--striped--row--default:
|
|
3450
|
+
--pf-t--global--background--color--action--plain--default: rgb(0, 0, 0, 0.0000);
|
|
3451
|
+
--pf-t--global--background--color--striped--row--default: rgb(21, 21, 21, 0.3000);
|
|
3450
3452
|
--pf-t--global--background--filter--glass--blur--primary: initial;
|
|
3451
|
-
--pf-t--global--dark--background--color--500:
|
|
3452
|
-
--pf-t--global--dark--background--color--600:
|
|
3453
|
-
--pf-t--global--dark--background--color--700:
|
|
3454
|
-
--pf-t--global--dark--box-shadow--color--100:
|
|
3455
|
-
--pf-t--global--dark--box-shadow--color--200:
|
|
3453
|
+
--pf-t--global--dark--background--color--500: rgb(21, 21, 21, 0.8000);
|
|
3454
|
+
--pf-t--global--dark--background--color--600: rgb(199, 199, 199, 0.1500);
|
|
3455
|
+
--pf-t--global--dark--background--color--700: rgb(199, 199, 199, 0.2500);
|
|
3456
|
+
--pf-t--global--dark--box-shadow--color--100: rgb(0, 0, 0, 0.5000);
|
|
3457
|
+
--pf-t--global--dark--box-shadow--color--200: rgb(0, 0, 0, 0.6000);
|
|
3456
3458
|
--pf-t--global--background--color--action--plain--clicked: var(--pf-t--global--dark--background--color--600);
|
|
3457
3459
|
--pf-t--global--background--color--action--plain--hover: var(--pf-t--global--dark--background--color--600);
|
|
3458
3460
|
--pf-t--global--background--color--backdrop--default: var(--pf-t--global--dark--background--color--500);
|
|
@@ -3886,13 +3888,13 @@ button) {
|
|
|
3886
3888
|
}
|
|
3887
3889
|
|
|
3888
3890
|
:root:where(.pf-v6-theme-dark.pf-v6-theme-glass) {
|
|
3889
|
-
--pf-t--global--background--color--glass--primary--default:
|
|
3890
|
-
--pf-t--global--background--color--primary--clicked:
|
|
3891
|
-
--pf-t--global--background--color--primary--default:
|
|
3892
|
-
--pf-t--global--background--color--primary--hover:
|
|
3893
|
-
--pf-t--global--background--color--secondary--clicked:
|
|
3894
|
-
--pf-t--global--background--color--secondary--default:
|
|
3895
|
-
--pf-t--global--background--color--secondary--hover:
|
|
3891
|
+
--pf-t--global--background--color--glass--primary--default: rgb(41, 41, 41, 0.5000);
|
|
3892
|
+
--pf-t--global--background--color--primary--clicked: rgb(56, 56, 56, 0.5000);
|
|
3893
|
+
--pf-t--global--background--color--primary--default: rgb(41, 41, 41, 0.5000);
|
|
3894
|
+
--pf-t--global--background--color--primary--hover: rgb(56, 56, 56, 0.5000);
|
|
3895
|
+
--pf-t--global--background--color--secondary--clicked: rgb(41, 41, 41, 0.6000);
|
|
3896
|
+
--pf-t--global--background--color--secondary--default: rgb(21, 21, 21, 0.6000);
|
|
3897
|
+
--pf-t--global--background--color--secondary--hover: rgb(41, 41, 41, 0.6000);
|
|
3896
3898
|
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
|
|
3897
3899
|
--pf-t--global--background--color--control--default: var(--pf-t--global--dark--background--color--500);
|
|
3898
3900
|
--pf-t--global--background--color--control--read-only: var(--pf-t--global--dark--background--color--500);
|
|
@@ -3955,13 +3957,13 @@ button) {
|
|
|
3955
3957
|
}
|
|
3956
3958
|
|
|
3957
3959
|
:root:where(.pf-v6-theme-dark.pf-v6-theme-felt.pf-v6-theme-glass) {
|
|
3958
|
-
--pf-t--global--background--color--glass--primary--default:
|
|
3959
|
-
--pf-t--global--background--color--primary--clicked:
|
|
3960
|
-
--pf-t--global--background--color--primary--default:
|
|
3961
|
-
--pf-t--global--background--color--primary--hover:
|
|
3962
|
-
--pf-t--global--background--color--secondary--clicked:
|
|
3963
|
-
--pf-t--global--background--color--secondary--default:
|
|
3964
|
-
--pf-t--global--background--color--secondary--hover:
|
|
3960
|
+
--pf-t--global--background--color--glass--primary--default: rgb(41, 41, 41, 0.5000);
|
|
3961
|
+
--pf-t--global--background--color--primary--clicked: rgb(56, 56, 56, 0.5000);
|
|
3962
|
+
--pf-t--global--background--color--primary--default: rgb(41, 41, 41, 0.5000);
|
|
3963
|
+
--pf-t--global--background--color--primary--hover: rgb(56, 56, 56, 0.5000);
|
|
3964
|
+
--pf-t--global--background--color--secondary--clicked: rgb(41, 41, 41, 0.6000);
|
|
3965
|
+
--pf-t--global--background--color--secondary--default: rgb(21, 21, 21, 0.6000);
|
|
3966
|
+
--pf-t--global--background--color--secondary--hover: rgb(41, 41, 41, 0.6000);
|
|
3965
3967
|
--pf-t--global--background--filter--glass--blur--primary: blur(16px);
|
|
3966
3968
|
--pf-t--global--background--color--control--default: var(--pf-t--global--dark--background--color--500);
|
|
3967
3969
|
--pf-t--global--background--color--control--read-only: var(--pf-t--global--dark--background--color--500);
|
package/helpers/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.6.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.6.0-prerelease.7","private":true}
|
package/layouts/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.6.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.6.0-prerelease.7","private":true}
|
package/next/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.6.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.6.0-prerelease.7","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "6.6.0-prerelease.
|
|
3
|
+
"version": "6.6.0-prerelease.7",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@patternfly/react-icons": "
|
|
50
|
-
"@patternfly/react-styles": "
|
|
51
|
-
"@patternfly/react-tokens": "
|
|
49
|
+
"@patternfly/react-icons": "workspace:^",
|
|
50
|
+
"@patternfly/react-styles": "workspace:^",
|
|
51
|
+
"@patternfly/react-tokens": "workspace:^",
|
|
52
52
|
"focus-trap": "7.6.6",
|
|
53
53
|
"react-dropzone": "^14.3.5",
|
|
54
54
|
"tslib": "^2.8.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@patternfly/patternfly": "6.
|
|
57
|
+
"@patternfly/patternfly": "6.6.0-prerelease.9",
|
|
58
58
|
"case-anything": "^3.1.2",
|
|
59
59
|
"css": "^3.0.0",
|
|
60
60
|
"fs-extra": "^11.3.3"
|
|
@@ -62,6 +62,5 @@
|
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react": "^17 || ^18 || ^19",
|
|
64
64
|
"react-dom": "^17 || ^18 || ^19"
|
|
65
|
-
}
|
|
66
|
-
"gitHead": "8b528bb83a30506a9b0f19398811c4a586f13e00"
|
|
65
|
+
}
|
|
67
66
|
}
|
|
@@ -8,7 +8,7 @@ propComponents: ['ActionList', 'ActionListGroup', 'ActionListItem']
|
|
|
8
8
|
import { Fragment, useState } from 'react';
|
|
9
9
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/js/icons/rh-microns-close-icon';
|
|
10
10
|
import CheckIcon from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
11
|
-
import
|
|
11
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
14
14
|
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MenuToggleElement,
|
|
12
12
|
Divider
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import
|
|
14
|
+
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
|
|
15
15
|
|
|
16
16
|
export const ActionListSingleGroup: React.FunctionComponent = () => {
|
|
17
17
|
const [isOpen, setIsOpen] = useState(false);
|
|
@@ -84,7 +84,7 @@ export const ActionListSingleGroup: React.FunctionComponent = () => {
|
|
|
84
84
|
variant="plain"
|
|
85
85
|
isExpanded={isOpen}
|
|
86
86
|
aria-label="Action list single group kebab"
|
|
87
|
-
icon={<
|
|
87
|
+
icon={<RhUiEllipsisVerticalFillIcon />}
|
|
88
88
|
/>
|
|
89
89
|
)}
|
|
90
90
|
isOpen={isOpen}
|
|
@@ -8,10 +8,10 @@ ouia: true
|
|
|
8
8
|
|
|
9
9
|
import './alert.css';
|
|
10
10
|
import { Fragment, useEffect, useState } from 'react';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
11
|
+
import RhUiUsersFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-users-fill-icon';
|
|
12
|
+
import RhUiContainerFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-container-fill-icon';
|
|
13
13
|
import DatabaseIcon from '@patternfly/react-icons/dist/esm/icons/database-icon';
|
|
14
|
-
import
|
|
14
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
15
15
|
import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
|
|
16
16
|
import buttonStyles from '@patternfly/react-styles/css/components/Button/button';
|
|
17
17
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Fragment } from 'react';
|
|
2
2
|
import { Alert } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import RhUiUsersFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-users-fill-icon';
|
|
4
|
+
import RhUiContainerFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-container-fill-icon';
|
|
5
5
|
import DatabaseIcon from '@patternfly/react-icons/dist/esm/icons/database-icon';
|
|
6
|
-
import
|
|
6
|
+
import RhUiServerStackFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-server-stack-fill-icon';
|
|
7
7
|
import LaptopIcon from '@patternfly/react-icons/dist/esm/icons/laptop-icon';
|
|
8
8
|
|
|
9
9
|
export const AlertCustomIcons: React.FunctionComponent = () => (
|
|
10
10
|
<Fragment>
|
|
11
|
-
<Alert customIcon={<
|
|
12
|
-
<Alert customIcon={<
|
|
11
|
+
<Alert customIcon={<RhUiUsersFillIcon />} title="Default alert title" />
|
|
12
|
+
<Alert customIcon={<RhUiContainerFillIcon />} variant="info" title="Info alert title" />
|
|
13
13
|
<Alert customIcon={<DatabaseIcon />} variant="success" title="Success alert title" />
|
|
14
|
-
<Alert customIcon={<
|
|
14
|
+
<Alert customIcon={<RhUiServerStackFillIcon />} variant="warning" title="Warning alert title" />
|
|
15
15
|
<Alert customIcon={<LaptopIcon />} variant="danger" title="Danger alert title" />
|
|
16
16
|
</Fragment>
|
|
17
17
|
);
|
|
@@ -5,31 +5,59 @@ export interface AvatarProps extends React.DetailedHTMLProps<
|
|
|
5
5
|
React.ImgHTMLAttributes<HTMLImageElement>,
|
|
6
6
|
HTMLImageElement
|
|
7
7
|
> {
|
|
8
|
+
/** Content rendered inside the avatar, such as custom svgs or icons. */
|
|
9
|
+
children?: React.ReactNode;
|
|
8
10
|
/** Additional classes added to the avatar. */
|
|
9
11
|
className?: string;
|
|
10
|
-
/**
|
|
12
|
+
/** Specifies the URL of the image for the avatar. */
|
|
11
13
|
src?: string;
|
|
12
|
-
/**
|
|
14
|
+
/** Specifies the alternate text of the image for the avatar. Will instead set the aria-label when using children or initials; to hide the avatar
|
|
15
|
+
* from assistive technologies when passing children or initials, pass an empty string to the alt prop.
|
|
16
|
+
*/
|
|
13
17
|
alt: string;
|
|
14
18
|
/** Flag to indicate the avatar should have a border. */
|
|
15
19
|
isBordered?: boolean;
|
|
16
20
|
/** Size variant of avatar. */
|
|
17
21
|
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
22
|
+
/** Color of the avatar. */
|
|
23
|
+
color?: 'red' | 'orangered' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'purple' | 'gray';
|
|
24
|
+
/** Initials of the avatar. */
|
|
25
|
+
initials?: string;
|
|
18
26
|
}
|
|
19
27
|
|
|
20
28
|
export const Avatar: React.FunctionComponent<AvatarProps> = ({
|
|
29
|
+
children,
|
|
21
30
|
className,
|
|
22
31
|
src = '',
|
|
23
32
|
alt,
|
|
24
33
|
isBordered,
|
|
25
34
|
size,
|
|
35
|
+
color,
|
|
36
|
+
initials,
|
|
26
37
|
...props
|
|
27
|
-
}: AvatarProps) =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
)
|
|
38
|
+
}: AvatarProps) => {
|
|
39
|
+
const avatarClasses = css(styles.avatar, styles.modifiers[size], isBordered && styles.modifiers.bordered, className);
|
|
40
|
+
const isAltEmptyString = alt === '';
|
|
41
|
+
|
|
42
|
+
if (initials || children) {
|
|
43
|
+
return (
|
|
44
|
+
<div
|
|
45
|
+
className={css(avatarClasses, color && styles.modifiers.colorful, color && styles.modifiers[color])}
|
|
46
|
+
role="img"
|
|
47
|
+
aria-hidden={isAltEmptyString || undefined}
|
|
48
|
+
{...(!isAltEmptyString && { 'aria-label': alt })}
|
|
49
|
+
{...props}
|
|
50
|
+
>
|
|
51
|
+
{initials && (
|
|
52
|
+
<span className="pf-v6-c-avatar__initials" aria-hidden="true">
|
|
53
|
+
{initials}
|
|
54
|
+
</span>
|
|
55
|
+
)}
|
|
56
|
+
{children && children}
|
|
57
|
+
</div>
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return <img src={src} alt={alt} className={avatarClasses} {...props} />;
|
|
62
|
+
};
|
|
35
63
|
Avatar.displayName = 'Avatar';
|
|
@@ -62,6 +62,67 @@ test('Renders with passed aria-label prop', () => {
|
|
|
62
62
|
expect(screen.getByRole('img')).toHaveAccessibleName('Avatar test');
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
+
test('Renders with passed initials prop', () => {
|
|
66
|
+
render(<Avatar alt="avatar" initials="AB" />);
|
|
67
|
+
expect(screen.getByText('AB')).toBeVisible();
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
test('Renders with passed children prop', () => {
|
|
71
|
+
render(<Avatar alt="avatar">Test</Avatar>);
|
|
72
|
+
expect(screen.getByText('Test')).toBeVisible();
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
test(`Renders with class name ${styles.modifiers.colorful} when color prop is passed`, () => {
|
|
76
|
+
render(
|
|
77
|
+
<Avatar alt="avatar" color="red">
|
|
78
|
+
Test
|
|
79
|
+
</Avatar>
|
|
80
|
+
);
|
|
81
|
+
expect(screen.getByText('Test')).toHaveClass(styles.modifiers.colorful);
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
const colors = ['red', 'orangered', 'orange', 'yellow', 'green', 'teal', 'blue', 'purple', 'gray'] as const;
|
|
85
|
+
test.each(colors)('Renders with passed color prop: %s', (color) => {
|
|
86
|
+
render(
|
|
87
|
+
<Avatar alt="avatar" color={color}>
|
|
88
|
+
Test
|
|
89
|
+
</Avatar>
|
|
90
|
+
);
|
|
91
|
+
expect(screen.getByText('Test')).toHaveClass(styles.modifiers[color]);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
test('Passes alt prop as aria-label when initials are passed', () => {
|
|
95
|
+
render(<Avatar alt="User avatar" initials="AB" />);
|
|
96
|
+
expect(screen.getByRole('img')).toHaveAccessibleName('User avatar');
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
test('Passes alt prop as aria-label when children are passed', () => {
|
|
100
|
+
render(<Avatar alt="User avatar">Test</Avatar>);
|
|
101
|
+
expect(screen.getByRole('img')).toHaveAccessibleName('User avatar');
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
test('Applies aria-hidden="true" when alt is empty string and initials are passed', () => {
|
|
105
|
+
render(<Avatar alt="" initials="AB" />);
|
|
106
|
+
expect(screen.getByRole('img', { hidden: true })).toHaveAttribute('aria-hidden', 'true');
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
test('Applies aria-hidden="true" when alt is empty string and children are passed', () => {
|
|
110
|
+
render(<Avatar alt="">Test</Avatar>);
|
|
111
|
+
expect(screen.getByRole('img', { hidden: true })).toHaveAttribute('aria-hidden', 'true');
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
test('Does not apply aria-label attribute when alt is empty string and initials are passed', () => {
|
|
115
|
+
render(<Avatar alt="" initials="AB" />);
|
|
116
|
+
const avatar = screen.getByRole('img', { hidden: true });
|
|
117
|
+
expect(avatar).not.toHaveAttribute('aria-label');
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
test('Does not apply aria-label attribute when alt is empty string and children are passed', () => {
|
|
121
|
+
render(<Avatar alt="">Test</Avatar>);
|
|
122
|
+
const avatar = screen.getByRole('img', { hidden: true });
|
|
123
|
+
expect(avatar).not.toHaveAttribute('aria-label');
|
|
124
|
+
});
|
|
125
|
+
|
|
65
126
|
test('Matches the snapshot', () => {
|
|
66
127
|
const { asFragment } = render(<Avatar alt="avatar" aria-label="Avatar test" src="test.png" className="test-class" />);
|
|
67
128
|
|
|
@@ -5,22 +5,49 @@ cssPrefix: pf-v6-c-avatar
|
|
|
5
5
|
propComponents: ['Avatar']
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
import './avatar.css';
|
|
8
9
|
import { Fragment } from 'react';
|
|
9
|
-
import avatarImg from '../../assets/
|
|
10
|
+
import avatarImg from '../../assets/img_avatar-light.svg';
|
|
11
|
+
import RhUiAiChatbotIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ai-chatbot-icon';
|
|
10
12
|
|
|
11
13
|
## Examples
|
|
12
14
|
|
|
13
|
-
### Basic
|
|
15
|
+
### Basic usage
|
|
16
|
+
|
|
17
|
+
Pass in the `src` property to apply an image for the avatar, or pass `children` for custom content such as icons or svg elements.
|
|
14
18
|
|
|
15
19
|
```ts file="./AvatarBasic.tsx"
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Color modifiers
|
|
24
|
+
|
|
25
|
+
Color modifiers add visual interest and automatically include a border. The available colors are: "red," "orangered," "orange," "yellow," "green," "teal," "blue," "purple," and "gray".
|
|
26
|
+
|
|
27
|
+
```ts file="./AvatarColorModifiers.tsx"
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### With initials
|
|
32
|
+
|
|
33
|
+
An avatar can display initials by using the `initials` property. It's recommended to pass only a single initial to ensure the text fits inside of the avatar.
|
|
34
|
+
|
|
35
|
+
```ts file="./AvatarInitials.tsx"
|
|
36
|
+
|
|
16
37
|
```
|
|
17
38
|
|
|
18
|
-
### Bordered
|
|
39
|
+
### Bordered
|
|
40
|
+
|
|
41
|
+
A border can be applied by passing the `isBordered` property to a non-colorful avatar.
|
|
19
42
|
|
|
20
43
|
```ts file="./AvatarBordered.tsx"
|
|
44
|
+
|
|
21
45
|
```
|
|
22
46
|
|
|
23
47
|
### Size variations
|
|
24
48
|
|
|
49
|
+
An avatar can be rendered at different sizes by passing the `size` property. The available sizes are: "sm," "md" (the default size), "lg," and "xl".
|
|
50
|
+
|
|
25
51
|
```ts file="./AvatarSizeVariations.tsx"
|
|
52
|
+
|
|
26
53
|
```
|
|
@@ -1,4 +1,34 @@
|
|
|
1
1
|
import { Avatar } from '@patternfly/react-core';
|
|
2
|
-
import avatarImg from '../../assets/
|
|
2
|
+
import avatarImg from '../../assets/img_avatar-light.svg';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
const rhdsLogo = (
|
|
5
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48" fill="none">
|
|
6
|
+
<g>
|
|
7
|
+
<rect width="48" height="48" fill="#147878"></rect>
|
|
8
|
+
<rect x="36" y="42" width="6" height="6" fill="#004D4D"></rect>
|
|
9
|
+
<rect x="6" y="42" width="6" height="6" fill="#004D4D"></rect>
|
|
10
|
+
<rect x="12" y="36" width="24" height="6" fill="#004D4D"></rect>
|
|
11
|
+
<rect x="18" y="30" width="12" height="6" fill="#004D4D"></rect>
|
|
12
|
+
<rect width="6" height="24" transform="matrix(-1 0 0 1 48 12)" fill="#004D4D"></rect>
|
|
13
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 30)" fill="#004D4D"></rect>
|
|
14
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 36 24)" fill="#004D4D"></rect>
|
|
15
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 18)" fill="#004D4D"></rect>
|
|
16
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 36 12)" fill="#004D4D"></rect>
|
|
17
|
+
<rect width="6" height="6" transform="matrix(-1 0 0 1 42 6)" fill="#004D4D"></rect>
|
|
18
|
+
<rect x="18" width="12" height="12" fill="#004D4D"></rect>
|
|
19
|
+
<rect x="6" y="30" width="6" height="6" fill="#004D4D"></rect>
|
|
20
|
+
<rect x="12" y="24" width="6" height="6" fill="#004D4D"></rect>
|
|
21
|
+
<rect x="6" y="18" width="6" height="6" fill="#004D4D"></rect>
|
|
22
|
+
<rect x="12" y="12" width="6" height="6" fill="#004D4D"></rect>
|
|
23
|
+
<rect x="6" y="6" width="6" height="6" fill="#004D4D"></rect>
|
|
24
|
+
<rect y="12" width="6" height="24" fill="#004D4D"></rect>
|
|
25
|
+
</g>
|
|
26
|
+
</svg>
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
export const AvatarBasic: React.FunctionComponent = () => (
|
|
30
|
+
<>
|
|
31
|
+
<Avatar src={avatarImg} alt="Basic avatar with image" />
|
|
32
|
+
<Avatar alt="Basic avatar with children">{rhdsLogo}</Avatar>
|
|
33
|
+
</>
|
|
34
|
+
);
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { Avatar } from '@patternfly/react-core';
|
|
2
|
-
import
|
|
2
|
+
import RhUiAiChatbotIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ai-chatbot-icon';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
export const AvatarBordered: React.FunctionComponent = () => (
|
|
5
|
+
<Avatar alt="Avatar with border" isBordered>
|
|
6
|
+
<RhUiAiChatbotIcon />
|
|
7
|
+
</Avatar>
|
|
8
|
+
);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Avatar } from '@patternfly/react-core';
|
|
2
|
+
|
|
3
|
+
const profileSvg = (
|
|
4
|
+
<svg aria-hidden="true" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 36 36">
|
|
5
|
+
<path fill="currentColor" 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" />
|
|
6
|
+
<path
|
|
7
|
+
fill="currentColor"
|
|
8
|
+
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"
|
|
9
|
+
/>
|
|
10
|
+
</svg>
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
export const AvatarColorModifiers: React.FunctionComponent = () => (
|
|
14
|
+
<>
|
|
15
|
+
<Avatar color="red" alt="red avatar">
|
|
16
|
+
{profileSvg}
|
|
17
|
+
</Avatar>
|
|
18
|
+
<Avatar color="orangered" alt="orangered avatar">
|
|
19
|
+
{profileSvg}
|
|
20
|
+
</Avatar>
|
|
21
|
+
<Avatar color="orange" alt="orange avatar">
|
|
22
|
+
{profileSvg}
|
|
23
|
+
</Avatar>
|
|
24
|
+
<Avatar color="yellow" alt="yellow avatar">
|
|
25
|
+
{profileSvg}
|
|
26
|
+
</Avatar>
|
|
27
|
+
<Avatar color="green" alt="green avatar">
|
|
28
|
+
{profileSvg}
|
|
29
|
+
</Avatar>
|
|
30
|
+
<Avatar color="teal" alt="teal avatar">
|
|
31
|
+
{profileSvg}
|
|
32
|
+
</Avatar>
|
|
33
|
+
<Avatar color="blue" alt="blue avatar">
|
|
34
|
+
{profileSvg}
|
|
35
|
+
</Avatar>
|
|
36
|
+
<Avatar color="purple" alt="purple avatar">
|
|
37
|
+
{profileSvg}
|
|
38
|
+
</Avatar>
|
|
39
|
+
<Avatar color="gray" alt="gray avatar">
|
|
40
|
+
{profileSvg}
|
|
41
|
+
</Avatar>
|
|
42
|
+
</>
|
|
43
|
+
);
|