@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.
Files changed (375) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +0 -3
  3. package/components/package.json +1 -1
  4. package/deprecated/package.json +1 -1
  5. package/dist/dynamic/components/AboutModal/package.json +1 -1
  6. package/dist/dynamic/components/Accordion/package.json +1 -1
  7. package/dist/dynamic/components/ActionList/package.json +1 -1
  8. package/dist/dynamic/components/Alert/package.json +1 -1
  9. package/dist/dynamic/components/Avatar/package.json +1 -1
  10. package/dist/dynamic/components/BackToTop/package.json +1 -1
  11. package/dist/dynamic/components/Backdrop/package.json +1 -1
  12. package/dist/dynamic/components/BackgroundImage/package.json +1 -1
  13. package/dist/dynamic/components/Badge/package.json +1 -1
  14. package/dist/dynamic/components/Banner/package.json +1 -1
  15. package/dist/dynamic/components/Brand/package.json +1 -1
  16. package/dist/dynamic/components/Breadcrumb/package.json +1 -1
  17. package/dist/dynamic/components/Button/package.json +1 -1
  18. package/dist/dynamic/components/CalendarMonth/package.json +1 -1
  19. package/dist/dynamic/components/Card/package.json +1 -1
  20. package/dist/dynamic/components/Checkbox/package.json +1 -1
  21. package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
  22. package/dist/dynamic/components/CodeBlock/package.json +1 -1
  23. package/dist/dynamic/components/Compass/package.json +1 -1
  24. package/dist/dynamic/components/Content/package.json +1 -1
  25. package/dist/dynamic/components/DataList/package.json +1 -1
  26. package/dist/dynamic/components/DatePicker/package.json +1 -1
  27. package/dist/dynamic/components/DescriptionList/package.json +1 -1
  28. package/dist/dynamic/components/Divider/package.json +1 -1
  29. package/dist/dynamic/components/Drawer/package.json +1 -1
  30. package/dist/dynamic/components/Dropdown/package.json +1 -1
  31. package/dist/dynamic/components/DualListSelector/package.json +1 -1
  32. package/dist/dynamic/components/EmptyState/package.json +1 -1
  33. package/dist/dynamic/components/ExpandableSection/package.json +1 -1
  34. package/dist/dynamic/components/FileUpload/package.json +1 -1
  35. package/dist/dynamic/components/Form/package.json +1 -1
  36. package/dist/dynamic/components/FormSelect/package.json +1 -1
  37. package/dist/dynamic/components/HelperText/package.json +1 -1
  38. package/dist/dynamic/components/Hero/package.json +1 -1
  39. package/dist/dynamic/components/Hint/package.json +1 -1
  40. package/dist/dynamic/components/Icon/package.json +1 -1
  41. package/dist/dynamic/components/InputGroup/package.json +1 -1
  42. package/dist/dynamic/components/JumpLinks/package.json +1 -1
  43. package/dist/dynamic/components/Label/package.json +1 -1
  44. package/dist/dynamic/components/List/package.json +1 -1
  45. package/dist/dynamic/components/LoginPage/package.json +1 -1
  46. package/dist/dynamic/components/Masthead/package.json +1 -1
  47. package/dist/dynamic/components/Menu/package.json +1 -1
  48. package/dist/dynamic/components/MenuToggle/package.json +1 -1
  49. package/dist/dynamic/components/Modal/package.json +1 -1
  50. package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
  51. package/dist/dynamic/components/Nav/package.json +1 -1
  52. package/dist/dynamic/components/NotificationBadge/package.json +1 -1
  53. package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
  54. package/dist/dynamic/components/NumberInput/package.json +1 -1
  55. package/dist/dynamic/components/OverflowMenu/package.json +1 -1
  56. package/dist/dynamic/components/Page/package.json +1 -1
  57. package/dist/dynamic/components/Pagination/package.json +1 -1
  58. package/dist/dynamic/components/Panel/package.json +1 -1
  59. package/dist/dynamic/components/Popover/package.json +1 -1
  60. package/dist/dynamic/components/Progress/package.json +1 -1
  61. package/dist/dynamic/components/ProgressStepper/package.json +1 -1
  62. package/dist/dynamic/components/Radio/package.json +1 -1
  63. package/dist/dynamic/components/SearchInput/package.json +1 -1
  64. package/dist/dynamic/components/Select/package.json +1 -1
  65. package/dist/dynamic/components/Sidebar/package.json +1 -1
  66. package/dist/dynamic/components/SimpleList/package.json +1 -1
  67. package/dist/dynamic/components/Skeleton/package.json +1 -1
  68. package/dist/dynamic/components/SkipToContent/package.json +1 -1
  69. package/dist/dynamic/components/Slider/package.json +1 -1
  70. package/dist/dynamic/components/Spinner/package.json +1 -1
  71. package/dist/dynamic/components/Switch/package.json +1 -1
  72. package/dist/dynamic/components/Tabs/package.json +1 -1
  73. package/dist/dynamic/components/TextArea/package.json +1 -1
  74. package/dist/dynamic/components/TextInput/package.json +1 -1
  75. package/dist/dynamic/components/TextInputGroup/package.json +1 -1
  76. package/dist/dynamic/components/TimePicker/package.json +1 -1
  77. package/dist/dynamic/components/Timestamp/package.json +1 -1
  78. package/dist/dynamic/components/Title/package.json +1 -1
  79. package/dist/dynamic/components/ToggleGroup/package.json +1 -1
  80. package/dist/dynamic/components/Toolbar/package.json +1 -1
  81. package/dist/dynamic/components/Tooltip/package.json +1 -1
  82. package/dist/dynamic/components/TreeView/package.json +1 -1
  83. package/dist/dynamic/components/Truncate/package.json +1 -1
  84. package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
  85. package/dist/dynamic/components/Wizard/package.json +1 -1
  86. package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
  87. package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
  88. package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
  89. package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
  90. package/dist/dynamic/deprecated/components/Tile/package.json +1 -1
  91. package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
  92. package/dist/dynamic/deprecated/components/package.json +1 -1
  93. package/dist/dynamic/helpers/AnimationsProvider/AnimationsProvider/package.json +1 -1
  94. package/dist/dynamic/helpers/AnimationsProvider/package.json +1 -1
  95. package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
  96. package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
  97. package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
  98. package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
  99. package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
  100. package/dist/dynamic/helpers/SSRSafeIds/SSRSafeIds/package.json +1 -1
  101. package/dist/dynamic/helpers/constants/package.json +1 -1
  102. package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
  103. package/dist/dynamic/helpers/fileUtils/package.json +1 -1
  104. package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
  105. package/dist/dynamic/helpers/package.json +1 -1
  106. package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
  107. package/dist/dynamic/helpers/typeUtils/package.json +1 -1
  108. package/dist/dynamic/helpers/useInterval/package.json +1 -1
  109. package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
  110. package/dist/dynamic/helpers/useSSRSafeId/package.json +1 -1
  111. package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
  112. package/dist/dynamic/helpers/util/package.json +1 -1
  113. package/dist/dynamic/layouts/Bullseye/package.json +1 -1
  114. package/dist/dynamic/layouts/Flex/package.json +1 -1
  115. package/dist/dynamic/layouts/Gallery/package.json +1 -1
  116. package/dist/dynamic/layouts/Grid/package.json +1 -1
  117. package/dist/dynamic/layouts/Level/package.json +1 -1
  118. package/dist/dynamic/layouts/Split/package.json +1 -1
  119. package/dist/dynamic/layouts/Stack/package.json +1 -1
  120. package/dist/dynamic/styles/package.json +1 -1
  121. package/dist/esm/components/Avatar/Avatar.d.ts +10 -2
  122. package/dist/esm/components/Avatar/Avatar.d.ts.map +1 -1
  123. package/dist/esm/components/Avatar/Avatar.js +8 -3
  124. package/dist/esm/components/Avatar/Avatar.js.map +1 -1
  125. package/dist/esm/components/ClipboardCopy/ClipboardCopyButton.js +2 -2
  126. package/dist/esm/components/ClipboardCopy/ClipboardCopyButton.js.map +1 -1
  127. package/dist/esm/components/DataList/DataListDragButton.js +2 -2
  128. package/dist/esm/components/DataList/DataListDragButton.js.map +1 -1
  129. package/dist/esm/components/DatePicker/DatePicker.js +2 -2
  130. package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
  131. package/dist/esm/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
  132. package/dist/esm/components/Drawer/DrawerPanelContent.js +26 -30
  133. package/dist/esm/components/Drawer/DrawerPanelContent.js.map +1 -1
  134. package/dist/esm/components/DualListSelector/DualListSelectorListItem.js +2 -2
  135. package/dist/esm/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
  136. package/dist/esm/components/LoginPage/LoginForm.js +3 -3
  137. package/dist/esm/components/LoginPage/LoginForm.js.map +1 -1
  138. package/dist/esm/components/Menu/MenuItem.js +2 -2
  139. package/dist/esm/components/Menu/MenuItem.js.map +1 -1
  140. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
  141. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
  142. package/dist/esm/components/Nav/NavExpandable.d.ts +2 -0
  143. package/dist/esm/components/Nav/NavExpandable.d.ts.map +1 -1
  144. package/dist/esm/components/Nav/NavExpandable.js +3 -3
  145. package/dist/esm/components/Nav/NavExpandable.js.map +1 -1
  146. package/dist/esm/components/TimePicker/TimePicker.js +2 -2
  147. package/dist/esm/components/TimePicker/TimePicker.js.map +1 -1
  148. package/dist/esm/demos/DashboardHeader.js +2 -2
  149. package/dist/esm/demos/DashboardHeader.js.map +1 -1
  150. package/dist/esm/deprecated/components/DualListSelector/DualListSelectorListItem.js +2 -2
  151. package/dist/esm/deprecated/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
  152. package/dist/js/components/Avatar/Avatar.d.ts +10 -2
  153. package/dist/js/components/Avatar/Avatar.d.ts.map +1 -1
  154. package/dist/js/components/Avatar/Avatar.js +7 -2
  155. package/dist/js/components/Avatar/Avatar.js.map +1 -1
  156. package/dist/js/components/ClipboardCopy/ClipboardCopyButton.js +2 -2
  157. package/dist/js/components/ClipboardCopy/ClipboardCopyButton.js.map +1 -1
  158. package/dist/js/components/DataList/DataListDragButton.js +2 -2
  159. package/dist/js/components/DataList/DataListDragButton.js.map +1 -1
  160. package/dist/js/components/DatePicker/DatePicker.js +2 -2
  161. package/dist/js/components/DatePicker/DatePicker.js.map +1 -1
  162. package/dist/js/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
  163. package/dist/js/components/Drawer/DrawerPanelContent.js +26 -30
  164. package/dist/js/components/Drawer/DrawerPanelContent.js.map +1 -1
  165. package/dist/js/components/DualListSelector/DualListSelectorListItem.js +2 -2
  166. package/dist/js/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
  167. package/dist/js/components/LoginPage/LoginForm.js +3 -3
  168. package/dist/js/components/LoginPage/LoginForm.js.map +1 -1
  169. package/dist/js/components/Menu/MenuItem.js +2 -2
  170. package/dist/js/components/Menu/MenuItem.js.map +1 -1
  171. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
  172. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
  173. package/dist/js/components/Nav/NavExpandable.d.ts +2 -0
  174. package/dist/js/components/Nav/NavExpandable.d.ts.map +1 -1
  175. package/dist/js/components/Nav/NavExpandable.js +3 -3
  176. package/dist/js/components/Nav/NavExpandable.js.map +1 -1
  177. package/dist/js/components/TimePicker/TimePicker.js +2 -2
  178. package/dist/js/components/TimePicker/TimePicker.js.map +1 -1
  179. package/dist/js/demos/DashboardHeader.js +2 -2
  180. package/dist/js/demos/DashboardHeader.js.map +1 -1
  181. package/dist/js/deprecated/components/DualListSelector/DualListSelectorListItem.js +2 -2
  182. package/dist/js/deprecated/components/DualListSelector/DualListSelectorListItem.js.map +1 -1
  183. package/dist/styles/assets/images/img_avatar-rhds.svg +22 -0
  184. package/dist/styles/assets/images/pf-logo-avatar.jpg +0 -0
  185. package/dist/styles/base-no-reset.css +60 -58
  186. package/dist/styles/base.css +60 -58
  187. package/dist/umd/assets/{output-DKFfmTVi.css → output-CQKZkcaG.css} +22010 -21835
  188. package/dist/umd/react-core.min.js +3 -3
  189. package/helpers/package.json +1 -1
  190. package/layouts/package.json +1 -1
  191. package/next/package.json +1 -1
  192. package/package.json +6 -6
  193. package/src/components/ActionList/examples/ActionList.md +1 -1
  194. package/src/components/ActionList/examples/ActionListSingleGroup.tsx +2 -2
  195. package/src/components/Alert/examples/Alert.md +3 -3
  196. package/src/components/Alert/examples/AlertCustomIcons.tsx +6 -6
  197. package/src/components/Avatar/Avatar.tsx +38 -10
  198. package/src/components/Avatar/__tests__/Avatar.test.tsx +61 -0
  199. package/src/components/Avatar/examples/Avatar.md +30 -3
  200. package/src/components/Avatar/examples/AvatarBasic.tsx +32 -2
  201. package/src/components/Avatar/examples/AvatarBordered.tsx +6 -2
  202. package/src/components/Avatar/examples/AvatarColorModifiers.tsx +43 -0
  203. package/src/components/Avatar/examples/AvatarInitials.tsx +16 -0
  204. package/src/components/Avatar/examples/AvatarSizeVariations.tsx +8 -19
  205. package/src/components/Avatar/examples/avatar.css +7 -0
  206. package/src/components/Button/examples/Button.md +1 -1
  207. package/src/components/Button/examples/ButtonCircle.tsx +2 -2
  208. package/src/components/Button/examples/ButtonDisabled.tsx +2 -2
  209. package/src/components/Button/examples/ButtonVariations.tsx +2 -2
  210. package/src/components/Card/examples/Card.md +1 -1
  211. package/src/components/Card/examples/CardExpandable.tsx +2 -2
  212. package/src/components/Card/examples/CardExpandableWithIcon.tsx +2 -2
  213. package/src/components/Card/examples/CardHeaderInCardHead.tsx +2 -2
  214. package/src/components/Card/examples/CardOnlyActionsInCardHead.tsx +2 -2
  215. package/src/components/Card/examples/CardSubtitleActions.tsx +2 -2
  216. package/src/components/Card/examples/CardWithImageAndActions.tsx +2 -2
  217. package/src/components/ClipboardCopy/ClipboardCopyButton.tsx +2 -2
  218. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyButton.test.tsx.snap +4 -16
  219. package/src/components/CodeBlock/examples/CodeBlock.md +1 -1
  220. package/src/components/Compass/examples/Compass.md +0 -4
  221. package/src/components/DataList/DataListDragButton.tsx +2 -2
  222. package/src/components/DataList/examples/DataList.md +2 -2
  223. package/src/components/DataList/examples/DataListActions.tsx +2 -2
  224. package/src/components/DataList/examples/DataListCheckboxes.tsx +4 -4
  225. package/src/components/DataList/examples/DataListClickableRows.tsx +3 -3
  226. package/src/components/DataList/examples/DataListExpandable.tsx +8 -8
  227. package/src/components/DataList/examples/DataListMixedExpandable.tsx +8 -8
  228. package/src/components/DataList/examples/DataListWidthModifiers.tsx +3 -3
  229. package/src/components/DatePicker/DatePicker.tsx +2 -2
  230. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +8 -32
  231. package/src/components/DescriptionList/examples/DescriptionList.md +2 -2
  232. package/src/components/DescriptionList/examples/DescriptionListIconsOnTerms.tsx +4 -4
  233. package/src/components/Drawer/DrawerPanelContent.tsx +28 -29
  234. package/src/components/Dropdown/examples/Dropdown.md +1 -1
  235. package/src/components/Dropdown/examples/DropdownWithKebabToggle.tsx +2 -2
  236. package/src/components/DualListSelector/DualListSelectorListItem.tsx +2 -2
  237. package/src/components/DualListSelector/examples/DualListSelector.md +2 -2
  238. package/src/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +6 -6
  239. package/src/components/EmptyState/__tests__/Generated/EmptyStateIcon.test.tsx +2 -2
  240. package/src/components/EmptyState/__tests__/Generated/__snapshots__/EmptyStateIcon.test.tsx.snap +4 -16
  241. package/src/components/Hint/examples/Hint.md +1 -1
  242. package/src/components/Hint/examples/HintBasicWithTitle.tsx +2 -2
  243. package/src/components/Hint/examples/HintBasicWithoutTitle.tsx +2 -2
  244. package/src/components/InputGroup/examples/InputGroup.md +0 -1
  245. package/src/components/List/examples/List.md +1 -1
  246. package/src/components/List/examples/ListIcons.tsx +2 -2
  247. package/src/components/List/examples/ListLargeIcons.tsx +2 -2
  248. package/src/components/LoginPage/LoginForm.tsx +3 -3
  249. package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +4 -16
  250. package/src/components/Menu/MenuItem.tsx +2 -2
  251. package/src/components/Menu/examples/Menu.md +5 -5
  252. package/src/components/Menu/examples/MenuOptionMultiSelect.tsx +2 -2
  253. package/src/components/Menu/examples/MenuOptionSingleSelect.tsx +2 -2
  254. package/src/components/Menu/examples/MenuWithActions.tsx +4 -4
  255. package/src/components/Menu/examples/MenuWithDescription.tsx +4 -4
  256. package/src/components/Menu/examples/MenuWithDrilldown.tsx +7 -7
  257. package/src/components/Menu/examples/MenuWithDrilldownBreadcrumbs.tsx +6 -6
  258. package/src/components/Menu/examples/MenuWithDrilldownInitialState.tsx +7 -7
  259. package/src/components/Menu/examples/MenuWithDrilldownSubmenuFunctions.tsx +7 -7
  260. package/src/components/Menu/examples/MenuWithFavorites.tsx +2 -2
  261. package/src/components/Menu/examples/MenuWithIcons.tsx +4 -4
  262. package/src/components/MenuToggle/__tests__/MenuToggle.test.tsx +2 -2
  263. package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +4 -16
  264. package/src/components/MenuToggle/examples/MenuToggle.md +2 -2
  265. package/src/components/MenuToggle/examples/MenuTogglePlainCircle.tsx +16 -4
  266. package/src/components/MenuToggle/examples/MenuTogglePlainIcon.tsx +4 -4
  267. package/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
  268. package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +2 -2
  269. package/src/components/Modal/examples/Modal.md +2 -2
  270. package/src/components/Modal/examples/ModalCustomTitleIcon.tsx +2 -2
  271. package/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx +2 -2
  272. package/src/components/MultipleFileUpload/__tests__/MultipleFileUploadStatus.test.tsx +2 -2
  273. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatus.test.tsx.snap +4 -16
  274. package/src/components/Nav/NavExpandable.tsx +5 -5
  275. package/src/components/Nav/__tests__/NavExpandable.test.tsx +17 -0
  276. package/src/components/Nav/examples/Nav.md +3 -3
  277. package/src/components/Nav/examples/NavIcons.tsx +24 -3
  278. package/src/components/NotificationDrawer/examples/NotificationDrawer.md +1 -1
  279. package/src/components/NotificationDrawer/examples/NotificationDrawerBasic.tsx +8 -8
  280. package/src/components/NotificationDrawer/examples/NotificationDrawerGroups.tsx +10 -10
  281. package/src/components/OverflowMenu/examples/OverflowMenu.md +1 -1
  282. package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainer.tsx +2 -2
  283. package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainerHeight.tsx +2 -2
  284. package/src/components/OverflowMenu/examples/OverflowMenuGroupTypes.tsx +2 -2
  285. package/src/components/OverflowMenu/examples/OverflowMenuMultiGroup.tsx +2 -2
  286. package/src/components/OverflowMenu/examples/OverflowMenuPersistent.tsx +2 -2
  287. package/src/components/OverflowMenu/examples/OverflowMenuSimple.tsx +2 -2
  288. package/src/components/OverflowMenu/examples/OverflowMenuSimpleVertical.tsx +2 -2
  289. package/src/components/Popover/examples/Popover.md +1 -1
  290. package/src/components/Popover/examples/PopoverWithIconInTheTitle.tsx +2 -2
  291. package/src/components/ProgressStepper/examples/ProgressStepper.md +2 -2
  292. package/src/components/ProgressStepper/examples/ProgressStepperCustomIcons.tsx +4 -4
  293. package/src/components/Tabs/examples/Tabs.md +4 -4
  294. package/src/components/Tabs/examples/TabsFilledWithIcons.tsx +4 -4
  295. package/src/components/Tabs/examples/TabsIconAndText.tsx +8 -8
  296. package/src/components/TextInput/examples/TextInput.md +2 -2
  297. package/src/components/TextInput/examples/TextInputCustomIcon.tsx +4 -4
  298. package/src/components/TextInput/examples/TextInputCustomIconInvalid.tsx +2 -2
  299. package/src/components/TimePicker/TimePicker.tsx +2 -2
  300. package/src/components/ToggleGroup/examples/ToggleGroup.md +1 -1
  301. package/src/components/ToggleGroup/examples/ToggleGroupIcon.tsx +2 -2
  302. package/src/components/ToggleGroup/examples/ToggleGroupTextIcon.tsx +3 -3
  303. package/src/components/Toolbar/examples/Toolbar.md +1 -1
  304. package/src/components/Toolbar/examples/ToolbarStacked.tsx +2 -2
  305. package/src/components/Toolbar/examples/ToolbarWithFilters.tsx +2 -2
  306. package/src/components/Tooltip/examples/Tooltip.md +1 -1
  307. package/src/components/Tooltip/examples/TooltipIcon.tsx +2 -2
  308. package/src/components/TreeView/examples/TreeView.md +1 -1
  309. package/src/components/TreeView/examples/TreeViewWithActionItems.tsx +6 -6
  310. package/src/components/Wizard/examples/Wizard.md +1 -1
  311. package/src/components/Wizard/examples/WizardWithNavAnchors.tsx +3 -3
  312. package/src/components/assets/img_avatar-light.svg +25 -0
  313. package/src/components/assets/rhds.svg +22 -0
  314. package/src/demos/AlertGroup.md +1 -1
  315. package/src/demos/CardDemos.md +1 -5
  316. package/src/demos/CardView/CardView.md +1 -1
  317. package/src/demos/CardView/examples/CardView.tsx +3 -3
  318. package/src/demos/Compass/Compass.md +3 -3
  319. package/src/demos/Compass/examples/CompassDemo.tsx +3 -3
  320. package/src/demos/Compass/examples/CompassDockDemo.tsx +17 -5
  321. package/src/demos/CustomMenus/ApplicationLauncher.md +1 -1
  322. package/src/demos/CustomMenus/CustomMenus.md +6 -8
  323. package/src/demos/CustomMenus/examples/ActionsMenuDemo.tsx +4 -4
  324. package/src/demos/CustomMenus/examples/ApplicationLauncherDemo.tsx +2 -2
  325. package/src/demos/CustomMenus/examples/DrilldownMenuDemo.tsx +7 -7
  326. package/src/demos/DashboardHeader.tsx +3 -3
  327. package/src/demos/DataList/examples/DataListActionable.tsx +2 -2
  328. package/src/demos/DataList/examples/DataListBasic.tsx +16 -12
  329. package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +8 -8
  330. package/src/demos/DataList/examples/DataListStaticBottomPagination.tsx +6 -6
  331. package/src/demos/DataListDemo.md +3 -3
  332. package/src/demos/DateTimePicker.md +2 -2
  333. package/src/demos/Masthead.md +2 -2
  334. package/src/demos/Nav.md +3 -3
  335. package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
  336. package/src/demos/NotificationDrawer/examples/NotificationDrawerBasic.tsx +7 -7
  337. package/src/demos/NotificationDrawer/examples/NotificationDrawerGrouped.tsx +11 -11
  338. package/src/demos/Page.md +1 -2
  339. package/src/demos/PasswordGenerator/PasswordGenerator.md +2 -2
  340. package/src/demos/PasswordGenerator/examples/PasswordGenerator.tsx +3 -3
  341. package/src/demos/PrimaryDetail.md +3 -3
  342. package/src/demos/RTL/RTL.md +4 -4
  343. package/src/demos/RTL/examples/PaginatedTable.tsx +55 -77
  344. package/src/demos/Tabs.md +4 -4
  345. package/src/demos/Toolbar.md +1 -1
  346. package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +3 -3
  347. package/src/demos/examples/Card/CardHorizontalGrid.tsx +4 -4
  348. package/src/demos/examples/DateTimePicker/DateTimePicker.tsx +4 -9
  349. package/src/demos/examples/Masthead/MastheadWithHorizontalNav.tsx +3 -3
  350. package/src/demos/examples/Masthead/MastheadWithUtilitiesAndUserDropdownMenu.tsx +5 -5
  351. package/src/demos/examples/Nav/NavDockedNav.tsx +17 -5
  352. package/src/demos/examples/Nav/NavFlyout.tsx +3 -3
  353. package/src/demos/examples/Nav/NavHorizontal.tsx +3 -3
  354. package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +3 -3
  355. package/src/demos/examples/Nav/NavManual.tsx +3 -3
  356. package/src/demos/examples/Page/PageContextSelector.tsx +3 -3
  357. package/src/demos/examples/Page/PageStickySectionBreadcrumb.tsx +3 -3
  358. package/src/demos/examples/Page/PageStickySectionGroup.tsx +3 -3
  359. package/src/demos/examples/Page/PageStickySectionGroupAlternate.tsx +3 -3
  360. package/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx +3 -3
  361. package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +10 -10
  362. package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +10 -10
  363. package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +10 -10
  364. package/src/demos/examples/Tabs/TabsAndTable.tsx +9 -9
  365. package/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx +2 -2
  366. package/src/deprecated/components/DualListSelector/DualListSelectorListItem.tsx +2 -2
  367. package/src/deprecated/components/DualListSelector/examples/DualListSelector.md +1 -2
  368. package/src/deprecated/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx +3 -3
  369. package/src/deprecated/components/DualListSelector/examples/DualListSelectorComposable.tsx +2 -2
  370. package/src/deprecated/components/Modal/__tests__/ModalBoxTitle.test.tsx +2 -2
  371. package/src/deprecated/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +2 -2
  372. package/src/deprecated/components/Modal/examples/Modal.md +2 -2
  373. package/src/deprecated/components/Modal/examples/ModalCustomTitleIcon.tsx +2 -2
  374. package/src/deprecated/components/Wizard/examples/Wizard.md +1 -1
  375. package/src/deprecated/components/Wizard/examples/WizardAnchorsForNavItems.tsx +3 -3
@@ -2,7 +2,7 @@ import { MenuToggle } from '../MenuToggle';
2
2
  import { MenuToggleCheckbox } from '../MenuToggleCheckbox';
3
3
  import { Badge } from '../../Badge';
4
4
  import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
5
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
5
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
6
6
  import userEvent from '@testing-library/user-event';
7
7
  import { render, screen } from '@testing-library/react';
8
8
  import styles from '@patternfly/react-styles/css/components/MenuToggle/menu-toggle';
@@ -35,7 +35,7 @@ describe('Old Snapshot tests - remove when refactoring', () => {
35
35
  });
36
36
 
37
37
  test('shows isPlain', () => {
38
- const { asFragment } = render(<MenuToggle variant="plain" icon={<EllipsisVIcon />} />);
38
+ const { asFragment } = render(<MenuToggle variant="plain" icon={<RhUiEllipsisVerticalFillIcon />} />);
39
39
  expect(asFragment()).toMatchSnapshot();
40
40
  });
41
41
 
@@ -286,24 +286,12 @@ exports[`Old Snapshot tests - remove when refactoring shows isPlain 1`] = `
286
286
  fill="currentColor"
287
287
  height="1em"
288
288
  role="img"
289
+ viewBox="0 0 32 32"
289
290
  width="1em"
290
291
  >
291
- <svg
292
- class="pf-v6-icon-default"
293
- viewBox="0 0 192 512"
294
- >
295
- <path
296
- d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
297
- />
298
- </svg>
299
- <svg
300
- class="pf-v6-icon-rh-ui"
301
- viewBox="0 0 32 32"
302
- >
303
- <path
304
- d="M16 9c2.206 0 4-1.794 4-4s-1.794-4-4-4-4 1.794-4 4 1.794 4 4 4Zm0-6c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2Zm0 9c-2.206 0-4 1.794-4 4s1.794 4 4 4 4-1.794 4-4-1.794-4-4-4Zm0 6c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2Zm0 5c-2.206 0-4 1.794-4 4s1.794 4 4 4 4-1.794 4-4-1.794-4-4-4Zm0 6c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2Z"
305
- />
306
- </svg>
292
+ <path
293
+ d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
294
+ />
307
295
  </svg>
308
296
  </span>
309
297
  </button>
@@ -9,7 +9,7 @@ propComponents: ['MenuToggle', 'MenuToggleAction', 'MenuToggleCheckbox']
9
9
  import { Fragment, useState } from 'react';
10
10
  import './MenuToggle.css'
11
11
  import PlusIcon from '@patternfly/react-icons/dist/esm/icons/plus-icon';
12
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
12
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
13
13
  import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
14
14
  import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
15
15
 
@@ -93,7 +93,7 @@ Variant styling can be applied to menu toggles. In the following example, the to
93
93
 
94
94
  ### Plain toggle with icon
95
95
 
96
- To apply plain styling to a menu toggle with an icon, pass in `variant="plain"`. This will remove the default bottom border and caret. You may pass in an `icon` to serve as the menu toggle. The following example passes in an `EllipsisVIcon`.
96
+ To apply plain styling to a menu toggle with an icon, pass in `variant="plain"`. This will remove the default bottom border and caret. You may pass in an `icon` to serve as the menu toggle. The following example passes in an `RhUiEllipsisVerticalFillIcon`.
97
97
 
98
98
  If the toggle does not have any visible text content, use the `aria-label` property to provide an accessible name.
99
99
 
@@ -1,11 +1,23 @@
1
1
  import { Fragment } from 'react';
2
2
  import { MenuToggle } from '@patternfly/react-core';
3
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
3
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
4
4
 
5
5
  export const MenuTogglePlainCircle: React.FunctionComponent = () => (
6
6
  <Fragment>
7
- <MenuToggle isCircle icon={<EllipsisVIcon />} variant="plain" aria-label="plain circle kebab" />{' '}
8
- <MenuToggle isCircle icon={<EllipsisVIcon />} variant="plain" isExpanded aria-label="plain circle expanded kebab" />{' '}
9
- <MenuToggle isCircle icon={<EllipsisVIcon />} variant="plain" isDisabled aria-label="disabled plain circle kebab" />
7
+ <MenuToggle isCircle icon={<RhUiEllipsisVerticalFillIcon />} variant="plain" aria-label="plain circle kebab" />{' '}
8
+ <MenuToggle
9
+ isCircle
10
+ icon={<RhUiEllipsisVerticalFillIcon />}
11
+ variant="plain"
12
+ isExpanded
13
+ aria-label="plain circle expanded kebab"
14
+ />{' '}
15
+ <MenuToggle
16
+ isCircle
17
+ icon={<RhUiEllipsisVerticalFillIcon />}
18
+ variant="plain"
19
+ isDisabled
20
+ aria-label="disabled plain circle kebab"
21
+ />
10
22
  </Fragment>
11
23
  );
@@ -1,11 +1,11 @@
1
1
  import { Fragment } from 'react';
2
2
  import { MenuToggle } from '@patternfly/react-core';
3
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
3
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
4
4
 
5
5
  export const MenuTogglePlainIcon: React.FunctionComponent = () => (
6
6
  <Fragment>
7
- <MenuToggle icon={<EllipsisVIcon />} variant="plain" aria-label="plain kebab" />{' '}
8
- <MenuToggle icon={<EllipsisVIcon />} variant="plain" isExpanded aria-label="plain expanded kebab" />{' '}
9
- <MenuToggle icon={<EllipsisVIcon />} variant="plain" isDisabled aria-label="disabled plain kebab" />
7
+ <MenuToggle icon={<RhUiEllipsisVerticalFillIcon />} variant="plain" aria-label="plain kebab" />{' '}
8
+ <MenuToggle icon={<RhUiEllipsisVerticalFillIcon />} variant="plain" isExpanded aria-label="plain expanded kebab" />{' '}
9
+ <MenuToggle icon={<RhUiEllipsisVerticalFillIcon />} variant="plain" isDisabled aria-label="disabled plain kebab" />
10
10
  </Fragment>
11
11
  );
@@ -2,7 +2,7 @@ import { render, screen } from '@testing-library/react';
2
2
  import '@testing-library/jest-dom';
3
3
 
4
4
  import { ModalBoxTitle } from '../ModalBoxTitle';
5
- import BullhornIcon from '@patternfly/react-icons/dist/esm/icons/bullhorn-icon';
5
+ import RhUiAttentionBellFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-fill-icon';
6
6
  import styles from '@patternfly/react-styles/css/components/ModalBox/modal-box';
7
7
 
8
8
  test('ModalBoxTitle alert variant', () => {
@@ -37,7 +37,7 @@ test('ModalBoxTitle success variant', () => {
37
37
 
38
38
  test('ModalBoxTitle custom icon variant', () => {
39
39
  const { asFragment } = render(
40
- <ModalBoxTitle title="Test Modal Box custom" id="boxId" titleIconVariant={BullhornIcon} />
40
+ <ModalBoxTitle title="Test Modal Box custom" id="boxId" titleIconVariant={RhUiAttentionBellFillIcon} />
41
41
  );
42
42
  expect(asFragment()).toMatchSnapshot();
43
43
  });
@@ -52,11 +52,11 @@ exports[`ModalBoxTitle custom icon variant 1`] = `
52
52
  fill="currentColor"
53
53
  height="1em"
54
54
  role="img"
55
- viewBox="0 0 576 512"
55
+ viewBox="0 0 32 32"
56
56
  width="1em"
57
57
  >
58
58
  <path
59
- d="M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"
59
+ d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
60
60
  />
61
61
  </svg>
62
62
  </span>
@@ -9,7 +9,7 @@ ouia: true
9
9
  import { Fragment, useRef, useState } from 'react';
10
10
  import WarningTriangleIcon from '@patternfly/react-icons/dist/esm/icons/warning-triangle-icon';
11
11
  import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
12
- import BullhornIcon from '@patternfly/react-icons/dist/esm/icons/bullhorn-icon';
12
+ import RhUiAttentionBellFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-fill-icon';
13
13
  import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
14
14
  import formStyles from '@patternfly/react-styles/css/components/Form/form';
15
15
 
@@ -97,7 +97,7 @@ To add an icon before a modal’s title, use the `titleIconVariant` property, wh
97
97
 
98
98
  ### Custom title icon
99
99
 
100
- To add a custom icon before a modal’s title, set `titleIconVariant` to an imported custom icon. The following example imports and uses a bullhorn icon.
100
+ To add a custom icon before a modal’s title, set `titleIconVariant` to an imported custom icon. The following example imports and uses an icon.
101
101
 
102
102
  ```ts file="./ModalCustomTitleIcon.tsx"
103
103
 
@@ -1,6 +1,6 @@
1
1
  import { Fragment, useState } from 'react';
2
2
  import { Button, Modal, ModalBody, ModalFooter, ModalHeader } from '@patternfly/react-core';
3
- import BullhornIcon from '@patternfly/react-icons/dist/esm/icons/bullhorn-icon';
3
+ import RhUiAttentionBellFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-fill-icon';
4
4
 
5
5
  export const ModalCustomTitleIcon: React.FunctionComponent = () => {
6
6
  const [isModalOpen, setIsModalOpen] = useState(false);
@@ -22,7 +22,7 @@ export const ModalCustomTitleIcon: React.FunctionComponent = () => {
22
22
  >
23
23
  <ModalHeader
24
24
  title="Custom title icon modal"
25
- titleIconVariant={BullhornIcon}
25
+ titleIconVariant={RhUiAttentionBellFillIcon}
26
26
  labelId="custom-title-icon-modal-title"
27
27
  />
28
28
  <ModalBody>
@@ -3,7 +3,7 @@ import styles from '@patternfly/react-styles/css/components/MultipleFileUpload/m
3
3
  import { css } from '@patternfly/react-styles';
4
4
  import { ExpandableSection } from '../ExpandableSection';
5
5
  import { useSSRSafeId } from '../../helpers';
6
- import InProgressIcon from '@patternfly/react-icons/dist/esm/icons/in-progress-icon';
6
+ import RhUiInProgressIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-in-progress-icon';
7
7
  import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
8
8
  import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
9
9
 
@@ -47,7 +47,7 @@ export const MultipleFileUploadStatus: React.FunctionComponent<MultipleFileUploa
47
47
  setIcon(<RhUiCheckCircleFillIcon />);
48
48
  break;
49
49
  case 'inProgress':
50
- setIcon(<InProgressIcon />);
50
+ setIcon(<RhUiInProgressIcon />);
51
51
  break;
52
52
  default:
53
53
  setIcon(statusToggleIcon);
@@ -1,6 +1,6 @@
1
1
  import { render } from '@testing-library/react';
2
2
  import { MultipleFileUploadStatus } from '../MultipleFileUploadStatus';
3
- import InProgressIcon from '@patternfly/react-icons/dist/esm/icons/in-progress-icon';
3
+ import RhUiInProgressIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-in-progress-icon';
4
4
 
5
5
  jest.mock('../../../helpers/GenerateId/GenerateId');
6
6
 
@@ -22,7 +22,7 @@ describe('MultipleFileUploadStatus', () => {
22
22
 
23
23
  test('renders status toggle icon', () => {
24
24
  const { asFragment } = render(
25
- <MultipleFileUploadStatus statusToggleIcon={<InProgressIcon />}>Foo</MultipleFileUploadStatus>
25
+ <MultipleFileUploadStatus statusToggleIcon={<RhUiInProgressIcon />}>Foo</MultipleFileUploadStatus>
26
26
  );
27
27
  expect(asFragment()).toMatchSnapshot();
28
28
  });
@@ -133,24 +133,12 @@ exports[`MultipleFileUploadStatus renders status toggle icon 1`] = `
133
133
  fill="currentColor"
134
134
  height="1em"
135
135
  role="img"
136
+ viewBox="0 0 32 32"
136
137
  width="1em"
137
138
  >
138
- <svg
139
- class="pf-v6-icon-default"
140
- viewBox="0 0 1024 1024"
141
- >
142
- <path
143
- d="M513.417211,16.013668 L513.417211,112.013668 C513.406007,120.539653 520.082422,127.576718 528.597211,128.013668 C732.697211,136.513668 896.147211,305.013668 896.147211,511.343668 C896.147211,723.013668 724.007211,895.163668 512.417211,895.163668 C437.186239,895.277345 363.602574,873.135095 300.927211,831.523668 C294.58293,827.2982 286.138663,828.135095 280.747211,833.523668 L211.807211,902.353668 C208.502935,905.676185 206.82123,910.280199 207.20607,914.950237 C207.590911,919.620275 210.00361,923.886884 213.807211,926.623668 C300.709573,989.398037 405.213535,1023.13146 512.417211,1023.01398 C794.537211,1023.01398 1023.91724,793.433668 1023.91724,511.413668 C1024.00721,235.103668 804.007211,9.22366802 529.897211,0.00645736761 C525.571205,-0.116171039 521.377128,1.51204372 518.271915,4.52681369 C515.166702,7.54158367 513.415263,11.6857144 513.417211,16.013668 M97.1272107,212.923668 C64.2190689,258.479443 39.0698895,309.162997 22.6972107,362.923668 C21.2705092,367.756559 22.2039184,372.979173 25.2163356,377.018685 C28.2287528,381.058197 32.9681443,383.442545 38.0072107,383.453683 L139.407211,383.453683 C145.970195,383.46249 151.873012,379.462528 154.297211,373.363668 C164.307669,347.593304 177.068112,322.977652 192.357211,299.943668 C196.579666,293.633658 195.741339,285.216847 190.357211,279.863668 L121.497211,211.013668 C118.186635,207.662531 113.567544,205.940538 108.871166,206.30669 C104.174788,206.672841 99.8783994,209.089927 97.1272107,212.913668 M112.907211,511.433663 L17.0072107,511.433663 C12.679257,511.433663 8.5351263,513.183159 5.52035633,516.288373 C2.50558635,519.393586 0.877371594,523.587662 1.00721065,527.913668 C4.13104542,629.408217 37.6085847,727.635936 97.1172107,809.913668 C99.8539943,813.717268 104.120603,816.129968 108.790642,816.514809 C113.46068,816.899649 118.064693,815.217944 121.387211,811.913668 L190.217211,743.073668 C195.605784,737.682216 196.442679,729.237949 192.217211,722.893668 C153.520825,664.580171 131.611534,596.745437 128.887211,526.813668 C128.553964,518.220138 121.487197,511.427209 112.887211,511.433663"
144
- />
145
- </svg>
146
- <svg
147
- class="pf-v6-icon-rh-ui"
148
- viewBox="0 0 32 32"
149
- >
150
- <path
151
- d="M31 16c0 8.271-6.729 15-15 15-.806 0-1.614-.064-2.401-.191a1 1 0 0 1 .318-1.974c.683.11 1.384.166 2.083.166 7.168 0 13-5.832 13-13S23.168 3 16 3a1 1 0 1 1 0-2c8.271 0 15 6.729 15 15ZM5.299 23.384a1 1 0 1 0-1.645 1.138 15.011 15.011 0 0 0 3.824 3.824.997.997 0 0 0 1.39-.253 1 1 0 0 0-.254-1.391 13.037 13.037 0 0 1-3.316-3.317ZM2 15a1 1 0 0 0-1 1c0 .802.064 1.61.191 2.401a1 1 0 1 0 1.974-.318A13.199 13.199 0 0 1 2.999 16a1 1 0 0 0-1-1Z"
152
- />
153
- </svg>
139
+ <path
140
+ d="M31 16c0 8.271-6.729 15-15 15-.806 0-1.614-.064-2.401-.191a1 1 0 0 1 .318-1.974c.683.11 1.384.166 2.083.166 7.168 0 13-5.832 13-13S23.168 3 16 3a1 1 0 1 1 0-2c8.271 0 15 6.729 15 15ZM5.299 23.384a1 1 0 1 0-1.645 1.138 15.011 15.011 0 0 0 3.824 3.824.997.997 0 0 0 1.39-.253 1 1 0 0 0-.254-1.391 13.037 13.037 0 0 1-3.316-3.317ZM2 15a1 1 0 0 0-1 1c0 .802.064 1.61.191 2.401a1 1 0 1 0 1.974-.318A13.199 13.199 0 0 1 2.999 16a1 1 0 0 0-1-1Z"
141
+ />
154
142
  </svg>
155
143
  </div>
156
144
  <div
@@ -30,6 +30,8 @@ export interface NavExpandableProps
30
30
  onExpand?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, val: boolean) => void;
31
31
  /** Additional props added to the NavExpandable <button> */
32
32
  buttonProps?: any;
33
+ /** Icon added before the nav item children. */
34
+ icon?: React.ReactNode;
33
35
  /** Value to overwrite the randomly generated data-ouia-component-id.*/
34
36
  ouiaId?: number | string;
35
37
  }
@@ -84,6 +86,7 @@ class NavExpandable extends Component<NavExpandableProps, NavExpandableState> {
84
86
 
85
87
  render() {
86
88
  const {
89
+ icon,
87
90
  title,
88
91
  srText,
89
92
  children,
@@ -132,11 +135,8 @@ class NavExpandable extends Component<NavExpandableProps, NavExpandableState> {
132
135
  tabIndex={isSidebarOpen ? null : -1}
133
136
  {...buttonProps}
134
137
  >
135
- {typeof title !== 'string' ? (
136
- <span className={css(`${styles.nav}__link-text`)}>{title}</span>
137
- ) : (
138
- title
139
- )}
138
+ {icon && <span className={css(styles.navLinkIcon)}>{icon}</span>}
139
+ {typeof title !== 'string' ? <span className={css(styles.navLinkText)}>{title}</span> : title}
140
140
  <span className={css(styles.navToggle)}>
141
141
  <span className={css(styles.navToggleIcon)}>
142
142
  <RhMicronsCaretDownIcon />
@@ -13,3 +13,20 @@ test('Does not render with the inert attribute when isExpanded is true', () => {
13
13
 
14
14
  expect(screen.getByLabelText('NavExpandable')).not.toHaveAttribute('inert', '');
15
15
  });
16
+
17
+ test('Renders icon wrapped in nav link icon class when icon prop is provided', () => {
18
+ render(
19
+ <NavExpandable id="grp-1" title="NavExpandable" icon={<span data-testid="test-icon">Icon</span>}></NavExpandable>
20
+ );
21
+
22
+ const icon = screen.getByTestId('test-icon');
23
+ expect(icon).toBeInTheDocument();
24
+ expect(icon.parentElement).toHaveClass('pf-v6-c-nav__link-icon');
25
+ });
26
+
27
+ test('Does not render nav link icon wrapper when icon prop is not provided', () => {
28
+ render(<NavExpandable id="grp-1" title="NavExpandable"></NavExpandable>);
29
+
30
+ const button = screen.getByRole('button', { name: 'NavExpandable' });
31
+ expect(button.querySelector('.pf-v6-c-nav__link-icon')).not.toBeInTheDocument();
32
+ });
@@ -9,11 +9,11 @@ ouia: true
9
9
  import { useState } from 'react';
10
10
  import './nav.css';
11
11
  import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
12
- import UserIcon from '@patternfly/react-icons/dist/esm/icons/user-icon';
13
12
  import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
14
13
  import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
14
+ import FolderOpenIcon from '@patternfly/react-icons/dist/esm/icons/folder-open-icon';
15
15
  import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
16
- import LinkIcon from '@patternfly/react-icons/dist/esm/icons/link-icon';
16
+ import RhUiLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-link-icon';
17
17
 
18
18
  ## Examples
19
19
 
@@ -75,7 +75,7 @@ A flyout should be a `Menu` component. Press `space` or `right arrow` to open a
75
75
 
76
76
  ```
77
77
 
78
- ### With item icons
78
+ ### With icons
79
79
 
80
80
  ```ts file="./NavIcons.tsx"
81
81
 
@@ -1,9 +1,10 @@
1
1
  import { useState } from 'react';
2
- import { Nav, NavItem, NavList } from '@patternfly/react-core';
2
+ import { Nav, NavExpandable, NavItem, NavList } from '@patternfly/react-core';
3
3
  import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
4
4
  import FolderIcon from '@patternfly/react-icons/dist/esm/icons/folder-icon';
5
5
  import CloudIcon from '@patternfly/react-icons/dist/esm/icons/cloud-icon';
6
- import LinkIcon from '@patternfly/react-icons/dist/esm/icons/link-icon';
6
+ import FolderOpenIcon from '@patternfly/react-icons/dist/esm/icons/folder-open-icon';
7
+ import RhUiLinkIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-link-icon';
7
8
 
8
9
  export const NavIcons: React.FunctionComponent = () => {
9
10
  const [activeItem, setActiveItem] = useState(0);
@@ -51,10 +52,30 @@ export const NavIcons: React.FunctionComponent = () => {
51
52
  to="#nav-icon-link4"
52
53
  itemId={3}
53
54
  isActive={activeItem === 3}
54
- icon={<LinkIcon />}
55
+ icon={<RhUiLinkIcon />}
55
56
  >
56
57
  Link 4
57
58
  </NavItem>
59
+ <NavExpandable title="Expandable" icon={<FolderOpenIcon />} groupId="nav-icon-expandable">
60
+ <NavItem
61
+ preventDefault
62
+ id="nav-icon-expandable-link1"
63
+ to="#nav-icon-expandable-link1"
64
+ itemId={4}
65
+ isActive={activeItem === 4}
66
+ >
67
+ Subnav link 1
68
+ </NavItem>
69
+ <NavItem
70
+ preventDefault
71
+ id="nav-icon-expandable-link2"
72
+ to="#nav-icon-expandable-link2"
73
+ itemId={5}
74
+ isActive={activeItem === 5}
75
+ >
76
+ Subnav link 2
77
+ </NavItem>
78
+ </NavExpandable>
58
79
  </NavList>
59
80
  </Nav>
60
81
  );
@@ -18,7 +18,7 @@ propComponents:
18
18
 
19
19
  import { useState } from 'react';
20
20
  import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
21
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
21
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
22
22
 
23
23
  ## Examples
24
24
 
@@ -13,7 +13,7 @@ import {
13
13
  MenuToggle,
14
14
  MenuToggleElement
15
15
  } from '@patternfly/react-core';
16
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
16
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
17
17
 
18
18
  export const NotificationDrawerBasic: React.FunctionComponent = () => {
19
19
  const [isOpenMap, setIsOpenMap] = useState(new Array(7).fill(false));
@@ -64,7 +64,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
64
64
  onClick={onToggle(0)}
65
65
  variant="plain"
66
66
  aria-label={`Basic example header kebab toggle`}
67
- icon={<EllipsisVIcon />}
67
+ icon={<RhUiEllipsisVerticalFillIcon />}
68
68
  />
69
69
  )}
70
70
  >
@@ -91,7 +91,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
91
91
  onClick={onToggle(1)}
92
92
  variant="plain"
93
93
  aria-label={`Basic example notification 1 kebab toggle`}
94
- icon={<EllipsisVIcon />}
94
+ icon={<RhUiEllipsisVerticalFillIcon />}
95
95
  />
96
96
  )}
97
97
  >
@@ -120,7 +120,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
120
120
  onClick={onToggle(2)}
121
121
  variant="plain"
122
122
  aria-label={`Basic example notification 2 kebab toggle`}
123
- icon={<EllipsisVIcon />}
123
+ icon={<RhUiEllipsisVerticalFillIcon />}
124
124
  />
125
125
  )}
126
126
  >
@@ -151,7 +151,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
151
151
  onClick={onToggle(3)}
152
152
  variant="plain"
153
153
  aria-label={`Basic example notification 3 kebab toggle`}
154
- icon={<EllipsisVIcon />}
154
+ icon={<RhUiEllipsisVerticalFillIcon />}
155
155
  />
156
156
  )}
157
157
  >
@@ -181,7 +181,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
181
181
  onClick={onToggle(4)}
182
182
  variant="plain"
183
183
  aria-label={`Basic example notification 4 kebab toggle`}
184
- icon={<EllipsisVIcon />}
184
+ icon={<RhUiEllipsisVerticalFillIcon />}
185
185
  />
186
186
  )}
187
187
  >
@@ -210,7 +210,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
210
210
  onClick={onToggle(5)}
211
211
  variant="plain"
212
212
  aria-label={`Basic example notification 5 kebab toggle`}
213
- icon={<EllipsisVIcon />}
213
+ icon={<RhUiEllipsisVerticalFillIcon />}
214
214
  />
215
215
  )}
216
216
  >
@@ -235,7 +235,7 @@ export const NotificationDrawerBasic: React.FunctionComponent = () => {
235
235
  onClick={onToggle(6)}
236
236
  variant="plain"
237
237
  aria-label={`Basic example notification 6 kebab toggle`}
238
- icon={<EllipsisVIcon />}
238
+ icon={<RhUiEllipsisVerticalFillIcon />}
239
239
  />
240
240
  )}
241
241
  >
@@ -21,7 +21,7 @@ import {
21
21
  MenuToggle,
22
22
  MenuToggleElement
23
23
  } from '@patternfly/react-core';
24
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
24
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
25
25
  import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
26
26
 
27
27
  export const NotificationDrawerGroups: React.FunctionComponent = () => {
@@ -89,7 +89,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
89
89
  onClick={() => onToggle('groups-kebab-toggle-1')}
90
90
  variant="plain"
91
91
  aria-label={`Groups example header kebab toggle`}
92
- icon={<EllipsisVIcon />}
92
+ icon={<RhUiEllipsisVerticalFillIcon />}
93
93
  />
94
94
  )}
95
95
  >
@@ -124,7 +124,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
124
124
  onClick={() => onToggle('groups-kebab-toggle-2')}
125
125
  variant="plain"
126
126
  aria-label={`Groups example group 1 notification 1 kebab toggle`}
127
- icon={<EllipsisVIcon />}
127
+ icon={<RhUiEllipsisVerticalFillIcon />}
128
128
  />
129
129
  )}
130
130
  >
@@ -154,7 +154,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
154
154
  onClick={() => onToggle('groups-kebab-toggle-3')}
155
155
  variant="plain"
156
156
  aria-label={`Groups example group 1 notification 2 kebab toggle`}
157
- icon={<EllipsisVIcon />}
157
+ icon={<RhUiEllipsisVerticalFillIcon />}
158
158
  />
159
159
  )}
160
160
  >
@@ -185,7 +185,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
185
185
  onClick={() => onToggle('groups-kebab-toggle-4')}
186
186
  variant="plain"
187
187
  aria-label={`Groups example group 1 notification 3 kebab toggle`}
188
- icon={<EllipsisVIcon />}
188
+ icon={<RhUiEllipsisVerticalFillIcon />}
189
189
  />
190
190
  )}
191
191
  >
@@ -215,7 +215,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
215
215
  onClick={() => onToggle('groups-kebab-toggle-5')}
216
216
  variant="plain"
217
217
  aria-label={`Groups example group 1 notification 4 kebab toggle`}
218
- icon={<EllipsisVIcon />}
218
+ icon={<RhUiEllipsisVerticalFillIcon />}
219
219
  />
220
220
  )}
221
221
  >
@@ -254,7 +254,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
254
254
  onClick={() => onToggle('groups-kebab-toggle-6')}
255
255
  variant="plain"
256
256
  aria-label={`Groups example group 2 notification 1 kebab toggle`}
257
- icon={<EllipsisVIcon />}
257
+ icon={<RhUiEllipsisVerticalFillIcon />}
258
258
  />
259
259
  )}
260
260
  >
@@ -284,7 +284,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
284
284
  onClick={() => onToggle('groups-kebab-toggle-7')}
285
285
  variant="plain"
286
286
  aria-label={`Groups example group 2 notification 2 kebab toggle`}
287
- icon={<EllipsisVIcon />}
287
+ icon={<RhUiEllipsisVerticalFillIcon />}
288
288
  />
289
289
  )}
290
290
  >
@@ -315,7 +315,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
315
315
  onClick={() => onToggle('groups-kebab-toggle-8')}
316
316
  variant="plain"
317
317
  aria-label={`Groups example group 2 notification 3 kebab toggle`}
318
- icon={<EllipsisVIcon />}
318
+ icon={<RhUiEllipsisVerticalFillIcon />}
319
319
  />
320
320
  )}
321
321
  >
@@ -345,7 +345,7 @@ export const NotificationDrawerGroups: React.FunctionComponent = () => {
345
345
  onClick={() => onToggle('groups-kebab-toggle-9')}
346
346
  variant="plain"
347
347
  aria-label={`Groups example group 2 notification 4 kebab toggle`}
348
- icon={<EllipsisVIcon />}
348
+ icon={<RhUiEllipsisVerticalFillIcon />}
349
349
  />
350
350
  )}
351
351
  >
@@ -17,7 +17,7 @@ import { useRef, useState } from 'react';
17
17
  import AlignLeftIcon from '@patternfly/react-icons/dist/esm/icons/align-left-icon';
18
18
  import AlignCenterIcon from '@patternfly/react-icons/dist/esm/icons/align-center-icon';
19
19
  import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
20
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
20
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
21
21
 
22
22
  ## Examples
23
23
 
@@ -12,7 +12,7 @@ import {
12
12
  Dropdown,
13
13
  DropdownList
14
14
  } from '@patternfly/react-core';
15
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
15
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
16
16
 
17
17
  export const OverflowMenuBreakpointOnContainer: React.FunctionComponent = () => {
18
18
  const [isOpen, setIsOpen] = useState(false);
@@ -95,7 +95,7 @@ export const OverflowMenuBreakpointOnContainer: React.FunctionComponent = () =>
95
95
  variant="plain"
96
96
  onClick={onToggle}
97
97
  isExpanded={isOpen}
98
- icon={<EllipsisVIcon />}
98
+ icon={<RhUiEllipsisVerticalFillIcon />}
99
99
  />
100
100
  )}
101
101
  isOpen={isOpen}
@@ -12,7 +12,7 @@ import {
12
12
  Dropdown,
13
13
  DropdownList
14
14
  } from '@patternfly/react-core';
15
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
15
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
16
16
 
17
17
  export const OverflowMenuBreakpointOnContainerHeight: React.FunctionComponent = () => {
18
18
  const [isOpen, setIsOpen] = useState(false);
@@ -92,7 +92,7 @@ export const OverflowMenuBreakpointOnContainerHeight: React.FunctionComponent =
92
92
  variant="plain"
93
93
  onClick={onToggle}
94
94
  isExpanded={isOpen}
95
- icon={<EllipsisVIcon />}
95
+ icon={<RhUiEllipsisVerticalFillIcon />}
96
96
  />
97
97
  )}
98
98
  isOpen={isOpen}
@@ -12,7 +12,7 @@ import {
12
12
  Dropdown,
13
13
  DropdownList
14
14
  } from '@patternfly/react-core';
15
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
15
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
16
16
  import AlignLeftIcon from '@patternfly/react-icons/dist/esm/icons/align-left-icon';
17
17
  import AlignCenterIcon from '@patternfly/react-icons/dist/esm/icons/align-center-icon';
18
18
  import AlignRightIcon from '@patternfly/react-icons/dist/esm/icons/align-right-icon';
@@ -99,7 +99,7 @@ export const OverflowMenuGroupTypes: React.FunctionComponent = () => {
99
99
  variant="plain"
100
100
  onClick={onToggle}
101
101
  isExpanded={isOpen}
102
- icon={<EllipsisVIcon />}
102
+ icon={<RhUiEllipsisVerticalFillIcon />}
103
103
  />
104
104
  )}
105
105
  isOpen={isOpen}