@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
@@ -14,7 +14,7 @@ import {
14
14
  MenuToggleElement,
15
15
  Divider
16
16
  } from '@patternfly/react-core';
17
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
17
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
18
18
  import pfLogo from '../../assets/PF-HorizontalLogo-Color.svg';
19
19
 
20
20
  export const CardWithImageAndActions: React.FunctionComponent = () => {
@@ -64,7 +64,7 @@ export const CardWithImageAndActions: React.FunctionComponent = () => {
64
64
  onClick={() => setIsOpen(!isOpen)}
65
65
  variant="plain"
66
66
  aria-label="Card header images and actions example kebab toggle"
67
- icon={<EllipsisVIcon />}
67
+ icon={<RhUiEllipsisVerticalFillIcon />}
68
68
  />
69
69
  )}
70
70
  isOpen={isOpen}
@@ -14,7 +14,7 @@ import {
14
14
  MenuToggleElement,
15
15
  Divider
16
16
  } from '@patternfly/react-core';
17
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
17
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
18
18
  import pfLogo from '../../assets/PF-HorizontalLogo-Color.svg';
19
19
 
20
20
  export const CardWithImageAndActions: React.FunctionComponent = () => {
@@ -64,7 +64,7 @@ export const CardWithImageAndActions: React.FunctionComponent = () => {
64
64
  onClick={() => setIsOpen(!isOpen)}
65
65
  variant="plain"
66
66
  aria-label="Card header images and actions example kebab toggle"
67
- icon={<EllipsisVIcon />}
67
+ icon={<RhUiEllipsisVerticalFillIcon />}
68
68
  />
69
69
  )}
70
70
  isOpen={isOpen}
@@ -1,5 +1,5 @@
1
1
  import { createRef } from 'react';
2
- import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
2
+ import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
3
3
  import { Button } from '../Button';
4
4
  import { Tooltip, TooltipPosition } from '../Tooltip';
5
5
 
@@ -87,7 +87,7 @@ export const ClipboardCopyButton: React.FunctionComponent<ClipboardCopyButtonPro
87
87
  aria-label={ariaLabel}
88
88
  className={className}
89
89
  id={id}
90
- icon={<CopyIcon />}
90
+ icon={<RhUiCopyFillIcon />}
91
91
  {...props}
92
92
  ref={triggerRef}
93
93
  />
@@ -45,24 +45,12 @@ exports[`Matches snapshot 1`] = `
45
45
  fill="currentColor"
46
46
  height="1em"
47
47
  role="img"
48
+ viewBox="0 0 32 32"
48
49
  width="1em"
49
50
  >
50
- <svg
51
- class="pf-v6-icon-default"
52
- viewBox="0 0 448 512"
53
- >
54
- <path
55
- d="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"
56
- />
57
- </svg>
58
- <svg
59
- class="pf-v6-icon-rh-ui"
60
- viewBox="0 0 32 32"
61
- >
62
- <path
63
- d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
64
- />
65
- </svg>
51
+ <path
52
+ d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-5.25 17.5v-22c0-.689-.561-1.25-1.25-1.25h-8.375v7.364c0 .833-.678 1.511-1.512 1.511H4.25V24.5c0 .689.561 1.25 1.25 1.25h16c.689 0 1.25-.561 1.25-1.25ZM10.875 1.275a.738.738 0 0 0-.405.195l-6 6a.738.738 0 0 0-.195.405h6.6v-6.6Z"
53
+ />
66
54
  </svg>
67
55
  </span>
68
56
  </button>
@@ -6,7 +6,7 @@ propComponents: ['CodeBlock', 'CodeBlockAction', 'CodeBlockCode']
6
6
  ---
7
7
 
8
8
  import { Fragment, useState } from 'react';
9
- import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
9
+ import RhUiCopyFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-copy-fill-icon';
10
10
  import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
11
11
 
12
12
  **Important note:** to format code exactly as it is, you should use String.raw\`your code here\`.
@@ -16,10 +16,6 @@ propComponents:
16
16
  ---
17
17
 
18
18
  import { useRef, useState, useEffect } from 'react';
19
- import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
20
- import OutlinedPlusSquare from '@patternfly/react-icons/dist/esm/icons/outlined-plus-square-icon';
21
- import OutlinedCopy from '@patternfly/react-icons/dist/esm/icons/outlined-copy-icon';
22
- import RhUiQuestionMarkCircleIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-icon';
23
19
 
24
20
  import './compass.css';
25
21
 
@@ -1,6 +1,6 @@
1
1
  import { css } from '@patternfly/react-styles';
2
2
  import styles from '@patternfly/react-styles/css/components/DataList/data-list';
3
- import GripVerticalIcon from '@patternfly/react-icons/dist/esm/icons/grip-vertical-icon';
3
+ import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
4
4
 
5
5
  export interface DataListDragButtonProps extends React.HTMLProps<HTMLButtonElement> {
6
6
  /** Additional classes added to the drag button */
@@ -23,7 +23,7 @@ export const DataListDragButton: React.FunctionComponent<DataListDragButtonProps
23
23
  {...props}
24
24
  >
25
25
  <span className={css(styles.dataListItemDraggableIcon)}>
26
- <GripVerticalIcon />
26
+ <RhUiGripVerticalFillIcon />
27
27
  </span>
28
28
  </button>
29
29
  );
@@ -19,10 +19,10 @@ propComponents:
19
19
  ---
20
20
 
21
21
  import { Fragment, useState } from 'react';
22
- import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
22
+ import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
23
23
  import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
24
24
  import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
25
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
25
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
26
26
  import { css } from '@patternfly/react-styles';
27
27
  import { DragDropSort, DragDropContainer, Droppable as NewDroppable } from '@patternfly/react-drag-drop';
28
28
 
@@ -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 DataListActions: React.FunctionComponent = () => {
19
19
  const [isOpen, setIsOpen] = useState(false);
@@ -86,7 +86,7 @@ export const DataListActions: React.FunctionComponent = () => {
86
86
  onClick={onToggle}
87
87
  variant="plain"
88
88
  aria-label="Data list with actions example kebab toggle"
89
- icon={<EllipsisVIcon />}
89
+ icon={<RhUiEllipsisVerticalFillIcon />}
90
90
  />
91
91
  )}
92
92
  isOpen={isOpen}
@@ -14,7 +14,7 @@ import {
14
14
  MenuToggle,
15
15
  MenuToggleElement
16
16
  } from '@patternfly/react-core';
17
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
17
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
18
18
 
19
19
  export const DataListCheckboxes: React.FunctionComponent = () => {
20
20
  const [isOpen1, setIsOpen1] = useState(false);
@@ -84,7 +84,7 @@ export const DataListCheckboxes: React.FunctionComponent = () => {
84
84
  onClick={onToggle1}
85
85
  variant="plain"
86
86
  aria-label="Data list with checkboxes, actions and additional cells example kebab toggle 1"
87
- icon={<EllipsisVIcon />}
87
+ icon={<RhUiEllipsisVerticalFillIcon />}
88
88
  />
89
89
  )}
90
90
  isOpen={isOpen1}
@@ -138,7 +138,7 @@ export const DataListCheckboxes: React.FunctionComponent = () => {
138
138
  onClick={onToggle2}
139
139
  variant="plain"
140
140
  aria-label="Data list with checkboxes, actions and additional cells example kebab toggle 2"
141
- icon={<EllipsisVIcon />}
141
+ icon={<RhUiEllipsisVerticalFillIcon />}
142
142
  />
143
143
  )}
144
144
  isOpen={isOpen2}
@@ -201,7 +201,7 @@ export const DataListCheckboxes: React.FunctionComponent = () => {
201
201
  onClick={onToggle3}
202
202
  variant="plain"
203
203
  aria-label="Data list with checkboxes, actions and additional cells example kebab toggle 3"
204
- icon={<EllipsisVIcon />}
204
+ icon={<RhUiEllipsisVerticalFillIcon />}
205
205
  />
206
206
  )}
207
207
  isOpen={isOpen3}
@@ -12,7 +12,7 @@ import {
12
12
  MenuToggle,
13
13
  MenuToggleElement
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 DataListClickableRows: React.FunctionComponent = () => {
18
18
  const [isOpen1, setIsOpen1] = useState(false);
@@ -76,7 +76,7 @@ export const DataListClickableRows: React.FunctionComponent = () => {
76
76
  onClick={onToggle1}
77
77
  variant="plain"
78
78
  aria-label="Data list clickable rows example kebab toggle 1"
79
- icon={<EllipsisVIcon />}
79
+ icon={<RhUiEllipsisVerticalFillIcon />}
80
80
  />
81
81
  )}
82
82
  isOpen={isOpen1}
@@ -125,7 +125,7 @@ export const DataListClickableRows: React.FunctionComponent = () => {
125
125
  onClick={onToggle2}
126
126
  variant="plain"
127
127
  aria-label="Data list clickable rows example kebab toggle 2"
128
- icon={<EllipsisVIcon />}
128
+ icon={<RhUiEllipsisVerticalFillIcon />}
129
129
  />
130
130
  )}
131
131
  isOpen={isOpen2}
@@ -14,8 +14,8 @@ import {
14
14
  MenuToggle,
15
15
  MenuToggleElement
16
16
  } from '@patternfly/react-core';
17
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
18
- import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
17
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
18
+ import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
19
19
 
20
20
  export const DataListExpandable: React.FunctionComponent = () => {
21
21
  const [isOpen1, setIsOpen1] = useState(false);
@@ -66,7 +66,7 @@ export const DataListExpandable: React.FunctionComponent = () => {
66
66
  <DataListItemCells
67
67
  dataListCells={[
68
68
  <DataListCell isIcon key="icon">
69
- <CodeBranchIcon />
69
+ <RhUiBranchFillIcon />
70
70
  </DataListCell>,
71
71
  <DataListCell key="primary content">
72
72
  <div id="ex-item1">Primary content</div>
@@ -92,7 +92,7 @@ export const DataListExpandable: React.FunctionComponent = () => {
92
92
  onClick={onToggle1}
93
93
  variant="plain"
94
94
  aria-label="Data list exapndable example kebaby toggle 1"
95
- icon={<EllipsisVIcon />}
95
+ icon={<RhUiEllipsisVerticalFillIcon />}
96
96
  />
97
97
  )}
98
98
  isOpen={isOpen1}
@@ -137,7 +137,7 @@ export const DataListExpandable: React.FunctionComponent = () => {
137
137
  <DataListItemCells
138
138
  dataListCells={[
139
139
  <DataListCell isIcon key="icon">
140
- <CodeBranchIcon />
140
+ <RhUiBranchFillIcon />
141
141
  </DataListCell>,
142
142
  <DataListCell key="secondary content">
143
143
  <div id="ex-item2">Secondary content</div>
@@ -162,7 +162,7 @@ export const DataListExpandable: React.FunctionComponent = () => {
162
162
  onClick={onToggle2}
163
163
  variant="plain"
164
164
  aria-label="Data list exapndable example kebaby toggle 2"
165
- icon={<EllipsisVIcon />}
165
+ icon={<RhUiEllipsisVerticalFillIcon />}
166
166
  />
167
167
  )}
168
168
  isOpen={isOpen2}
@@ -207,7 +207,7 @@ export const DataListExpandable: React.FunctionComponent = () => {
207
207
  <DataListItemCells
208
208
  dataListCells={[
209
209
  <DataListCell isIcon key="icon">
210
- <CodeBranchIcon />
210
+ <RhUiBranchFillIcon />
211
211
  </DataListCell>,
212
212
  <DataListCell key="tertiary content">
213
213
  <div id="ex-item3">Tertiary content</div>
@@ -232,7 +232,7 @@ export const DataListExpandable: React.FunctionComponent = () => {
232
232
  onClick={onToggle3}
233
233
  variant="plain"
234
234
  aria-label="Data list exapndable example kebaby toggle 3"
235
- icon={<EllipsisVIcon />}
235
+ icon={<RhUiEllipsisVerticalFillIcon />}
236
236
  />
237
237
  )}
238
238
  isOpen={isOpen3}
@@ -14,8 +14,8 @@ import {
14
14
  MenuToggle,
15
15
  MenuToggleElement
16
16
  } from '@patternfly/react-core';
17
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
18
- import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
17
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
18
+ import RhUiBranchFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-branch-fill-icon';
19
19
 
20
20
  export const DataListMixedExpandable: React.FunctionComponent = () => {
21
21
  const [isOpen1, setIsOpen1] = useState(false);
@@ -68,7 +68,7 @@ export const DataListMixedExpandable: React.FunctionComponent = () => {
68
68
  <DataListItemCells
69
69
  dataListCells={[
70
70
  <DataListCell isIcon key="icon">
71
- <CodeBranchIcon />
71
+ <RhUiBranchFillIcon />
72
72
  </DataListCell>,
73
73
  <DataListCell key="primary content">
74
74
  <div id="m-ex-item1">Primary content</div>
@@ -94,7 +94,7 @@ export const DataListMixedExpandable: React.FunctionComponent = () => {
94
94
  onClick={onToggle1}
95
95
  variant="plain"
96
96
  aria-label="Data list mixed expandable example kebab toggle 1"
97
- icon={<EllipsisVIcon />}
97
+ icon={<RhUiEllipsisVerticalFillIcon />}
98
98
  />
99
99
  )}
100
100
  isOpen={isOpen1}
@@ -141,7 +141,7 @@ export const DataListMixedExpandable: React.FunctionComponent = () => {
141
141
  <DataListItemCells
142
142
  dataListCells={[
143
143
  <DataListCell isIcon key="icon">
144
- <CodeBranchIcon />
144
+ <RhUiBranchFillIcon />
145
145
  </DataListCell>,
146
146
  <DataListCell key="secondary content">
147
147
  <div id="m-ex-item2">Secondary content</div>
@@ -166,7 +166,7 @@ export const DataListMixedExpandable: React.FunctionComponent = () => {
166
166
  onClick={onToggle2}
167
167
  variant="plain"
168
168
  aria-label="Data list mixed expandable example kebab toggle 2"
169
- icon={<EllipsisVIcon />}
169
+ icon={<RhUiEllipsisVerticalFillIcon />}
170
170
  />
171
171
  )}
172
172
  isOpen={isOpen2}
@@ -201,7 +201,7 @@ export const DataListMixedExpandable: React.FunctionComponent = () => {
201
201
  <DataListItemCells
202
202
  dataListCells={[
203
203
  <DataListCell isIcon key="icon">
204
- <CodeBranchIcon />
204
+ <RhUiBranchFillIcon />
205
205
  </DataListCell>,
206
206
  <DataListCell key="tertiary content">
207
207
  <div id="m-ex-item3">Tertiary content</div>
@@ -226,7 +226,7 @@ export const DataListMixedExpandable: React.FunctionComponent = () => {
226
226
  onClick={onToggle3}
227
227
  variant="plain"
228
228
  aria-label="Data list mixed expandable example kebab toggle 3"
229
- icon={<EllipsisVIcon />}
229
+ icon={<RhUiEllipsisVerticalFillIcon />}
230
230
  />
231
231
  )}
232
232
  isOpen={isOpen3}
@@ -16,7 +16,7 @@ import {
16
16
  MenuToggle,
17
17
  MenuToggleElement
18
18
  } from '@patternfly/react-core';
19
- import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
19
+ import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
20
20
 
21
21
  export const DataListWidthModifiers: React.FunctionComponent = () => {
22
22
  const [show, setShow] = useState(true);
@@ -103,7 +103,7 @@ export const DataListWidthModifiers: React.FunctionComponent = () => {
103
103
  onClick={onToggle1}
104
104
  variant="plain"
105
105
  aria-label="Data list width modifiers example kebab toggle 1"
106
- icon={<EllipsisVIcon />}
106
+ icon={<RhUiEllipsisVerticalFillIcon />}
107
107
  />
108
108
  )}
109
109
  isOpen={isOpen1}
@@ -176,7 +176,7 @@ export const DataListWidthModifiers: React.FunctionComponent = () => {
176
176
  onClick={onToggle2}
177
177
  variant="plain"
178
178
  aria-label="Data list width modifiers example kebab toggle 2"
179
- icon={<EllipsisVIcon />}
179
+ icon={<RhUiEllipsisVerticalFillIcon />}
180
180
  />
181
181
  )}
182
182
  isOpen={isOpen2}
@@ -6,7 +6,7 @@ import { TextInput, TextInputProps } from '../TextInput/TextInput';
6
6
  import { Button } from '../Button';
7
7
  import { Popover, PopoverProps } from '../Popover/Popover';
8
8
  import { InputGroup, InputGroupItem } from '../InputGroup';
9
- import OutlinedCalendarAltIcon from '@patternfly/react-icons/dist/esm/icons/outlined-calendar-alt-icon';
9
+ import RhUiCalendarIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-icon';
10
10
  import { CalendarMonth, CalendarFormat } from '../CalendarMonth';
11
11
  import { KeyTypes } from '../../helpers';
12
12
  import { isValidDate } from '../../helpers/datetimeUtils';
@@ -333,7 +333,7 @@ const DatePickerBase = (
333
333
  aria-label={buttonAriaLabel}
334
334
  onClick={() => setPopoverOpen(!popoverOpen)}
335
335
  isDisabled={isDisabled}
336
- icon={<OutlinedCalendarAltIcon />}
336
+ icon={<RhUiCalendarIcon />}
337
337
  aria-haspopup="dialog"
338
338
  />
339
339
  </InputGroupItem>
@@ -51,24 +51,12 @@ exports[`With popover opened 1`] = `
51
51
  fill="currentColor"
52
52
  height="1em"
53
53
  role="img"
54
+ viewBox="0 0 32 32"
54
55
  width="1em"
55
56
  >
56
- <svg
57
- class="pf-v6-icon-default"
58
- viewBox="0 0 448 512"
59
- >
60
- <path
61
- d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"
62
- />
63
- </svg>
64
- <svg
65
- class="pf-v6-icon-rh-ui"
66
- viewBox="0 0 32 32"
67
- >
68
- <path
69
- d="M28.5 5H23V3a1 1 0 1 0-2 0v2H11V3a1 1 0 1 0-2 0v2H3.507c-.827 0-1.5.673-1.5 1.5v7c0 .01.003.019.003.029v8.423c0 .017-.01.031-.01.048 0 .279.115.53.299.712l.004.005 6.99 6.99c.092.092.201.165.323.216l.005.002c.121.05.25.076.38.076h18.5c.827 0 1.5-.673 1.5-1.5V6.5c0-.827-.673-1.5-1.5-1.5ZM9 7v2a1 1 0 1 0 2 0V7h10v2a1 1 0 1 0 2 0V7h5v6H4.01V7H9Zm0 19.586L5.414 23H9v3.586ZM11 28v-5.5c0-.827-.673-1.5-1.5-1.5H4.01v-6H28v13H11Z"
70
- />
71
- </svg>
57
+ <path
58
+ d="M28.5 5H23V3a1 1 0 1 0-2 0v2H11V3a1 1 0 1 0-2 0v2H3.507c-.827 0-1.5.673-1.5 1.5v7c0 .01.003.019.003.029v8.423c0 .017-.01.031-.01.048 0 .279.115.53.299.712l.004.005 6.99 6.99c.092.092.201.165.323.216l.005.002c.121.05.25.076.38.076h18.5c.827 0 1.5-.673 1.5-1.5V6.5c0-.827-.673-1.5-1.5-1.5ZM9 7v2a1 1 0 1 0 2 0V7h10v2a1 1 0 1 0 2 0V7h5v6H4.01V7H9Zm0 19.586L5.414 23H9v3.586ZM11 28v-5.5c0-.827-.673-1.5-1.5-1.5H4.01v-6H28v13H11Z"
59
+ />
72
60
  </svg>
73
61
  </span>
74
62
  </button>
@@ -856,24 +844,12 @@ exports[`disabled date picker 1`] = `
856
844
  fill="currentColor"
857
845
  height="1em"
858
846
  role="img"
847
+ viewBox="0 0 32 32"
859
848
  width="1em"
860
849
  >
861
- <svg
862
- class="pf-v6-icon-default"
863
- viewBox="0 0 448 512"
864
- >
865
- <path
866
- d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"
867
- />
868
- </svg>
869
- <svg
870
- class="pf-v6-icon-rh-ui"
871
- viewBox="0 0 32 32"
872
- >
873
- <path
874
- d="M28.5 5H23V3a1 1 0 1 0-2 0v2H11V3a1 1 0 1 0-2 0v2H3.507c-.827 0-1.5.673-1.5 1.5v7c0 .01.003.019.003.029v8.423c0 .017-.01.031-.01.048 0 .279.115.53.299.712l.004.005 6.99 6.99c.092.092.201.165.323.216l.005.002c.121.05.25.076.38.076h18.5c.827 0 1.5-.673 1.5-1.5V6.5c0-.827-.673-1.5-1.5-1.5ZM9 7v2a1 1 0 1 0 2 0V7h10v2a1 1 0 1 0 2 0V7h5v6H4.01V7H9Zm0 19.586L5.414 23H9v3.586ZM11 28v-5.5c0-.827-.673-1.5-1.5-1.5H4.01v-6H28v13H11Z"
875
- />
876
- </svg>
850
+ <path
851
+ d="M28.5 5H23V3a1 1 0 1 0-2 0v2H11V3a1 1 0 1 0-2 0v2H3.507c-.827 0-1.5.673-1.5 1.5v7c0 .01.003.019.003.029v8.423c0 .017-.01.031-.01.048 0 .279.115.53.299.712l.004.005 6.99 6.99c.092.092.201.165.323.216l.005.002c.121.05.25.076.38.076h18.5c.827 0 1.5-.673 1.5-1.5V6.5c0-.827-.673-1.5-1.5-1.5ZM9 7v2a1 1 0 1 0 2 0V7h10v2a1 1 0 1 0 2 0V7h5v6H4.01V7H9Zm0 19.586L5.414 23H9v3.586ZM11 28v-5.5c0-.827-.673-1.5-1.5-1.5H4.01v-6H28v13H11Z"
852
+ />
877
853
  </svg>
878
854
  </span>
879
855
  </button>
@@ -21,8 +21,8 @@ import RhUiAddCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-
21
21
  import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
22
22
  import BookIcon from '@patternfly/react-icons/dist/esm/icons/book-icon';
23
23
  import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon';
24
- import GlobeIcon from '@patternfly/react-icons/dist/esm/icons/globe-icon';
25
- import FlagIcon from '@patternfly/react-icons/dist/esm/icons/flag-icon';
24
+ import RhUiFlagFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-flag-fill-icon';
25
+ import RhUiLanguageFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-language-fill-icon';
26
26
 
27
27
  ## Examples
28
28
 
@@ -9,8 +9,8 @@ import RhUiAddCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-
9
9
  import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
10
10
  import BookIcon from '@patternfly/react-icons/dist/esm/icons/book-icon';
11
11
  import KeyIcon from '@patternfly/react-icons/dist/esm/icons/key-icon';
12
- import GlobeIcon from '@patternfly/react-icons/dist/esm/icons/globe-icon';
13
- import FlagIcon from '@patternfly/react-icons/dist/esm/icons/flag-icon';
12
+ import RhUiFlagFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-flag-fill-icon';
13
+ import RhUiLanguageFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-language-fill-icon';
14
14
 
15
15
  export const DescriptionListIconsOnTerms: React.FunctionComponent = () => (
16
16
  <DescriptionList aria-label="With icons examples">
@@ -29,7 +29,7 @@ export const DescriptionListIconsOnTerms: React.FunctionComponent = () => (
29
29
  <DescriptionListDescription>example</DescriptionListDescription>
30
30
  </DescriptionListGroup>
31
31
  <DescriptionListGroup>
32
- <DescriptionListTerm icon={<GlobeIcon />}>Pod selector</DescriptionListTerm>
32
+ <DescriptionListTerm icon={<RhUiLanguageFillIcon />}>Pod selector</DescriptionListTerm>
33
33
  <DescriptionListDescription>
34
34
  <Button variant="link" isInline icon={<RhUiAddCircleFillIcon />}>
35
35
  app=MyApp
@@ -37,7 +37,7 @@ export const DescriptionListIconsOnTerms: React.FunctionComponent = () => (
37
37
  </DescriptionListDescription>
38
38
  </DescriptionListGroup>
39
39
  <DescriptionListGroup>
40
- <DescriptionListTerm icon={<FlagIcon />}>Annotation</DescriptionListTerm>
40
+ <DescriptionListTerm icon={<RhUiFlagFillIcon />}>Annotation</DescriptionListTerm>
41
41
  <DescriptionListDescription>2 Annotations</DescriptionListDescription>
42
42
  </DescriptionListGroup>
43
43
  </DescriptionList>
@@ -105,12 +105,11 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
105
105
  const [isFocusTrapActive, setIsFocusTrapActive] = useState(false);
106
106
  const [shouldCollapseSpace, setShouldCollapseSpace] = useState(hidden);
107
107
  const previouslyFocusedElement = useRef(null);
108
- let currWidth: number = 0;
109
- let panelRect: DOMRect;
110
- let end: number;
111
- let start: number;
112
- let bottom: number;
113
- let setInitialVals: boolean = true;
108
+ const resizeState = useRef({
109
+ initialPointerPos: 0,
110
+ initialPanelSize: 0,
111
+ currWidth: 0
112
+ });
114
113
 
115
114
  if (isStatic && focusTrap?.enabled) {
116
115
  // eslint-disable-next-line no-console
@@ -186,8 +185,20 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
186
185
  return Math.round((newSplitterPos + Number.EPSILON) * 100) / 100;
187
186
  };
188
187
 
188
+ const setInitialResizeState = (controlPosition: number) => {
189
+ const panelRect = panel.current.getBoundingClientRect();
190
+ const initialPanelSize = position === 'bottom' ? panelRect.height : panelRect.width;
191
+
192
+ resizeState.current = {
193
+ initialPointerPos: controlPosition,
194
+ initialPanelSize,
195
+ currWidth: initialPanelSize
196
+ };
197
+ };
198
+
189
199
  const handleTouchStart = (e: React.TouchEvent) => {
190
200
  e.stopPropagation();
201
+ setInitialResizeState(position === 'bottom' ? e.touches[0].clientY : e.touches[0].clientX);
191
202
  document.addEventListener('touchmove', callbackTouchMove, { passive: false });
192
203
  document.addEventListener('touchend', callbackTouchEnd);
193
204
  isResizing = true;
@@ -196,11 +207,11 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
196
207
  const handleMousedown = (e: React.MouseEvent) => {
197
208
  e.stopPropagation();
198
209
  e.preventDefault();
210
+ setInitialResizeState(position === 'bottom' ? e.clientY : e.clientX);
199
211
  document.addEventListener('mousemove', callbackMouseMove);
200
212
  document.addEventListener('mouseup', callbackMouseUp);
201
213
  drawerRef.current.classList.add(css(styles.modifiers.resizing));
202
214
  isResizing = true;
203
- setInitialVals = true;
204
215
  };
205
216
 
206
217
  const handleMouseMove = (e: MouseEvent) => {
@@ -223,33 +234,22 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
223
234
  return;
224
235
  }
225
236
 
226
- if (setInitialVals) {
227
- panelRect = panel.current.getBoundingClientRect();
228
- if (isRTL) {
229
- start = panelRect.right;
230
- end = panelRect.left;
231
- } else {
232
- end = panelRect.right;
233
- start = panelRect.left;
234
- }
235
- bottom = panelRect.bottom;
236
- setInitialVals = false;
237
- }
238
- const mousePos = controlPosition;
237
+ const { initialPointerPos, initialPanelSize } = resizeState.current;
238
+ const delta = controlPosition - initialPointerPos;
239
239
  let newSize = 0;
240
240
  if (position === 'end' || position === 'right') {
241
- newSize = isRTL ? mousePos - end : end - mousePos;
241
+ newSize = isRTL ? initialPanelSize + delta : initialPanelSize - delta;
242
242
  } else if (position === 'start' || position === 'left') {
243
- newSize = isRTL ? start - mousePos : mousePos - start;
243
+ newSize = isRTL ? initialPanelSize - delta : initialPanelSize + delta;
244
244
  } else {
245
- newSize = bottom - mousePos;
245
+ newSize = initialPanelSize - delta;
246
246
  }
247
247
 
248
248
  if (position === 'bottom') {
249
249
  panel.current.style.overflowAnchor = 'none';
250
250
  }
251
251
  panel.current.style.setProperty(cssPanelMdFlexBasis.name, newSize + 'px');
252
- currWidth = newSize;
252
+ resizeState.current.currWidth = newSize;
253
253
  setSeparatorValue(calcValueNow());
254
254
  };
255
255
 
@@ -259,8 +259,7 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
259
259
  }
260
260
  drawerRef.current.classList.remove(css(styles.modifiers.resizing));
261
261
  isResizing = false;
262
- onResize && onResize(e, currWidth, id);
263
- setInitialVals = true;
262
+ onResize && onResize(e, resizeState.current.currWidth, id);
264
263
  document.removeEventListener('mousemove', callbackMouseMove);
265
264
  document.removeEventListener('mouseup', callbackMouseUp);
266
265
  };
@@ -271,7 +270,7 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
271
270
  return;
272
271
  }
273
272
  isResizing = false;
274
- onResize && onResize(e, currWidth, id);
273
+ onResize && onResize(e, resizeState.current.currWidth, id);
275
274
  document.removeEventListener('touchmove', callbackTouchMove);
276
275
  document.removeEventListener('touchend', callbackTouchEnd);
277
276
  };
@@ -301,7 +300,7 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
301
300
  e.preventDefault();
302
301
 
303
302
  if (key === 'Escape' || key === 'Enter') {
304
- onResize && onResize(e, currWidth, id);
303
+ onResize && onResize(e, resizeState.current.currWidth, id);
305
304
  }
306
305
  const panelRect = panel.current.getBoundingClientRect();
307
306
  newSize = position === 'bottom' ? panelRect.height : panelRect.width;
@@ -328,7 +327,7 @@ export const DrawerPanelContent: React.FunctionComponent<DrawerPanelContentProps
328
327
  panel.current.style.overflowAnchor = 'none';
329
328
  }
330
329
  panel.current.style.setProperty(cssPanelMdFlexBasis.name, newSize + 'px');
331
- currWidth = newSize;
330
+ resizeState.current.currWidth = newSize;
332
331
  setSeparatorValue(calcValueNow());
333
332
  };
334
333
  const boundaryCssVars: any = {};
@@ -17,7 +17,7 @@ propComponents:
17
17
  ---
18
18
 
19
19
  import { useState, useRef } from 'react';
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