@patternfly/react-core 6.5.0-prerelease.46 → 6.5.0-prerelease.48

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 (291) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/components/package.json +1 -1
  3. package/deprecated/package.json +1 -1
  4. package/dist/dynamic/components/AboutModal/package.json +1 -1
  5. package/dist/dynamic/components/Accordion/package.json +1 -1
  6. package/dist/dynamic/components/ActionList/package.json +1 -1
  7. package/dist/dynamic/components/Alert/package.json +1 -1
  8. package/dist/dynamic/components/Avatar/package.json +1 -1
  9. package/dist/dynamic/components/BackToTop/package.json +1 -1
  10. package/dist/dynamic/components/Backdrop/package.json +1 -1
  11. package/dist/dynamic/components/BackgroundImage/package.json +1 -1
  12. package/dist/dynamic/components/Badge/package.json +1 -1
  13. package/dist/dynamic/components/Banner/package.json +1 -1
  14. package/dist/dynamic/components/Brand/package.json +1 -1
  15. package/dist/dynamic/components/Breadcrumb/package.json +1 -1
  16. package/dist/dynamic/components/Button/package.json +1 -1
  17. package/dist/dynamic/components/CalendarMonth/package.json +1 -1
  18. package/dist/dynamic/components/Card/package.json +1 -1
  19. package/dist/dynamic/components/Checkbox/package.json +1 -1
  20. package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
  21. package/dist/dynamic/components/CodeBlock/package.json +1 -1
  22. package/dist/dynamic/components/Compass/package.json +1 -1
  23. package/dist/dynamic/components/Content/package.json +1 -1
  24. package/dist/dynamic/components/DataList/package.json +1 -1
  25. package/dist/dynamic/components/DatePicker/package.json +1 -1
  26. package/dist/dynamic/components/DescriptionList/package.json +1 -1
  27. package/dist/dynamic/components/Divider/package.json +1 -1
  28. package/dist/dynamic/components/Drawer/package.json +1 -1
  29. package/dist/dynamic/components/Dropdown/package.json +1 -1
  30. package/dist/dynamic/components/DualListSelector/package.json +1 -1
  31. package/dist/dynamic/components/EmptyState/package.json +1 -1
  32. package/dist/dynamic/components/ExpandableSection/package.json +1 -1
  33. package/dist/dynamic/components/FileUpload/package.json +1 -1
  34. package/dist/dynamic/components/Form/package.json +1 -1
  35. package/dist/dynamic/components/FormSelect/package.json +1 -1
  36. package/dist/dynamic/components/HelperText/package.json +1 -1
  37. package/dist/dynamic/components/Hero/package.json +1 -1
  38. package/dist/dynamic/components/Hint/package.json +1 -1
  39. package/dist/dynamic/components/Icon/package.json +1 -1
  40. package/dist/dynamic/components/InputGroup/package.json +1 -1
  41. package/dist/dynamic/components/JumpLinks/package.json +1 -1
  42. package/dist/dynamic/components/Label/package.json +1 -1
  43. package/dist/dynamic/components/List/package.json +1 -1
  44. package/dist/dynamic/components/LoginPage/package.json +1 -1
  45. package/dist/dynamic/components/Masthead/package.json +1 -1
  46. package/dist/dynamic/components/Menu/package.json +1 -1
  47. package/dist/dynamic/components/MenuToggle/package.json +1 -1
  48. package/dist/dynamic/components/Modal/package.json +1 -1
  49. package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
  50. package/dist/dynamic/components/Nav/package.json +1 -1
  51. package/dist/dynamic/components/NotificationBadge/package.json +1 -1
  52. package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
  53. package/dist/dynamic/components/NumberInput/package.json +1 -1
  54. package/dist/dynamic/components/OverflowMenu/package.json +1 -1
  55. package/dist/dynamic/components/Page/package.json +1 -1
  56. package/dist/dynamic/components/Pagination/package.json +1 -1
  57. package/dist/dynamic/components/Panel/package.json +1 -1
  58. package/dist/dynamic/components/Popover/package.json +1 -1
  59. package/dist/dynamic/components/Progress/package.json +1 -1
  60. package/dist/dynamic/components/ProgressStepper/package.json +1 -1
  61. package/dist/dynamic/components/Radio/package.json +1 -1
  62. package/dist/dynamic/components/SearchInput/package.json +1 -1
  63. package/dist/dynamic/components/Select/package.json +1 -1
  64. package/dist/dynamic/components/Sidebar/package.json +1 -1
  65. package/dist/dynamic/components/SimpleList/package.json +1 -1
  66. package/dist/dynamic/components/Skeleton/package.json +1 -1
  67. package/dist/dynamic/components/SkipToContent/package.json +1 -1
  68. package/dist/dynamic/components/Slider/package.json +1 -1
  69. package/dist/dynamic/components/Spinner/package.json +1 -1
  70. package/dist/dynamic/components/Switch/package.json +1 -1
  71. package/dist/dynamic/components/Tabs/package.json +1 -1
  72. package/dist/dynamic/components/TextArea/package.json +1 -1
  73. package/dist/dynamic/components/TextInput/package.json +1 -1
  74. package/dist/dynamic/components/TextInputGroup/package.json +1 -1
  75. package/dist/dynamic/components/TimePicker/package.json +1 -1
  76. package/dist/dynamic/components/Timestamp/package.json +1 -1
  77. package/dist/dynamic/components/Title/package.json +1 -1
  78. package/dist/dynamic/components/ToggleGroup/package.json +1 -1
  79. package/dist/dynamic/components/Toolbar/package.json +1 -1
  80. package/dist/dynamic/components/Tooltip/package.json +1 -1
  81. package/dist/dynamic/components/TreeView/package.json +1 -1
  82. package/dist/dynamic/components/Truncate/package.json +1 -1
  83. package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
  84. package/dist/dynamic/components/Wizard/package.json +1 -1
  85. package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
  86. package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
  87. package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
  88. package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
  89. package/dist/dynamic/deprecated/components/Tile/package.json +1 -1
  90. package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
  91. package/dist/dynamic/deprecated/components/package.json +1 -1
  92. package/dist/dynamic/helpers/AnimationsProvider/AnimationsProvider/package.json +1 -1
  93. package/dist/dynamic/helpers/AnimationsProvider/package.json +1 -1
  94. package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
  95. package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
  96. package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
  97. package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
  98. package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
  99. package/dist/dynamic/helpers/SSRSafeIds/SSRSafeIds/package.json +1 -1
  100. package/dist/dynamic/helpers/constants/package.json +1 -1
  101. package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
  102. package/dist/dynamic/helpers/fileUtils/package.json +1 -1
  103. package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
  104. package/dist/dynamic/helpers/package.json +1 -1
  105. package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
  106. package/dist/dynamic/helpers/typeUtils/package.json +1 -1
  107. package/dist/dynamic/helpers/useInterval/package.json +1 -1
  108. package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
  109. package/dist/dynamic/helpers/useSSRSafeId/package.json +1 -1
  110. package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
  111. package/dist/dynamic/helpers/util/package.json +1 -1
  112. package/dist/dynamic/layouts/Bullseye/package.json +1 -1
  113. package/dist/dynamic/layouts/Flex/package.json +1 -1
  114. package/dist/dynamic/layouts/Gallery/package.json +1 -1
  115. package/dist/dynamic/layouts/Grid/package.json +1 -1
  116. package/dist/dynamic/layouts/Level/package.json +1 -1
  117. package/dist/dynamic/layouts/Split/package.json +1 -1
  118. package/dist/dynamic/layouts/Stack/package.json +1 -1
  119. package/dist/dynamic/styles/package.json +1 -1
  120. package/dist/esm/components/Alert/AlertIcon.js +10 -10
  121. package/dist/esm/components/Alert/AlertIcon.js.map +1 -1
  122. package/dist/esm/components/FormControl/FormControlIcon.js +6 -6
  123. package/dist/esm/components/FormControl/FormControlIcon.js.map +1 -1
  124. package/dist/esm/components/HelperText/HelperTextItem.js +6 -6
  125. package/dist/esm/components/HelperText/HelperTextItem.js.map +1 -1
  126. package/dist/esm/components/Label/Label.js +10 -10
  127. package/dist/esm/components/Label/Label.js.map +1 -1
  128. package/dist/esm/components/MenuToggle/MenuToggle.js +6 -6
  129. package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
  130. package/dist/esm/components/Modal/ModalBoxTitle.js +10 -10
  131. package/dist/esm/components/Modal/ModalBoxTitle.js.map +1 -1
  132. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
  133. package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
  134. package/dist/esm/components/NotificationBadge/NotificationBadge.js +3 -3
  135. package/dist/esm/components/NotificationBadge/NotificationBadge.js.map +1 -1
  136. package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js +10 -10
  137. package/dist/esm/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
  138. package/dist/esm/components/Progress/ProgressContainer.js +6 -6
  139. package/dist/esm/components/Progress/ProgressContainer.js.map +1 -1
  140. package/dist/esm/components/ProgressStepper/ProgressStep.js +6 -6
  141. package/dist/esm/components/ProgressStepper/ProgressStep.js.map +1 -1
  142. package/dist/esm/components/Wizard/WizardNavItem.js +4 -4
  143. package/dist/esm/components/Wizard/WizardNavItem.js.map +1 -1
  144. package/dist/esm/components/Wizard/WizardToggle.js +3 -3
  145. package/dist/esm/components/Wizard/WizardToggle.js.map +1 -1
  146. package/dist/esm/deprecated/components/Modal/ModalBoxTitle.js +10 -10
  147. package/dist/esm/deprecated/components/Modal/ModalBoxTitle.js.map +1 -1
  148. package/dist/esm/helpers/constants.js +10 -10
  149. package/dist/esm/helpers/constants.js.map +1 -1
  150. package/dist/js/components/Alert/AlertIcon.js +10 -10
  151. package/dist/js/components/Alert/AlertIcon.js.map +1 -1
  152. package/dist/js/components/FormControl/FormControlIcon.js +6 -6
  153. package/dist/js/components/FormControl/FormControlIcon.js.map +1 -1
  154. package/dist/js/components/HelperText/HelperTextItem.js +6 -6
  155. package/dist/js/components/HelperText/HelperTextItem.js.map +1 -1
  156. package/dist/js/components/Label/Label.js +10 -10
  157. package/dist/js/components/Label/Label.js.map +1 -1
  158. package/dist/js/components/MenuToggle/MenuToggle.js +6 -6
  159. package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
  160. package/dist/js/components/Modal/ModalBoxTitle.js +10 -10
  161. package/dist/js/components/Modal/ModalBoxTitle.js.map +1 -1
  162. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
  163. package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
  164. package/dist/js/components/NotificationBadge/NotificationBadge.js +3 -3
  165. package/dist/js/components/NotificationBadge/NotificationBadge.js.map +1 -1
  166. package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js +10 -10
  167. package/dist/js/components/NotificationDrawer/NotificationDrawerListItemHeader.js.map +1 -1
  168. package/dist/js/components/Progress/ProgressContainer.js +6 -6
  169. package/dist/js/components/Progress/ProgressContainer.js.map +1 -1
  170. package/dist/js/components/ProgressStepper/ProgressStep.js +6 -6
  171. package/dist/js/components/ProgressStepper/ProgressStep.js.map +1 -1
  172. package/dist/js/components/Wizard/WizardNavItem.js +4 -4
  173. package/dist/js/components/Wizard/WizardNavItem.js.map +1 -1
  174. package/dist/js/components/Wizard/WizardToggle.js +3 -3
  175. package/dist/js/components/Wizard/WizardToggle.js.map +1 -1
  176. package/dist/js/deprecated/components/Modal/ModalBoxTitle.js +10 -10
  177. package/dist/js/deprecated/components/Modal/ModalBoxTitle.js.map +1 -1
  178. package/dist/js/helpers/constants.js +10 -10
  179. package/dist/js/helpers/constants.js.map +1 -1
  180. package/dist/umd/assets/{output-DArgwQSx.css → output-CT4AeuLf.css} +18436 -18436
  181. package/dist/umd/react-core.min.js +3 -3
  182. package/helpers/package.json +1 -1
  183. package/layouts/package.json +1 -1
  184. package/next/package.json +1 -1
  185. package/package.json +3 -3
  186. package/src/components/Alert/AlertIcon.tsx +10 -10
  187. package/src/components/Alert/__tests__/AlertIcon.test.tsx +5 -5
  188. package/src/components/Alert/__tests__/Generated/__snapshots__/AlertIcon.test.tsx.snap +4 -16
  189. package/src/components/Banner/examples/Banner.md +5 -5
  190. package/src/components/Banner/examples/BannerStatus.tsx +10 -10
  191. package/src/components/Button/examples/Button.md +1 -1
  192. package/src/components/Button/examples/ButtonCircle.tsx +9 -4
  193. package/src/components/Button/examples/ButtonStateful.tsx +4 -4
  194. package/src/components/Button/examples/ButtonVariations.tsx +4 -4
  195. package/src/components/EmptyState/examples/EmptyState.md +0 -1
  196. package/src/components/ExpandableSection/__tests__/ExpandableSection.test.tsx +7 -3
  197. package/src/components/ExpandableSection/examples/ExpandableSection.md +1 -1
  198. package/src/components/ExpandableSection/examples/ExpandableSectionCustomToggle.tsx +2 -2
  199. package/src/components/ExpandableSection/examples/ExpandableSectionWithHeading.tsx +2 -2
  200. package/src/components/FileUpload/examples/FileUpload.md +0 -1
  201. package/src/components/Form/examples/Form.md +1 -1
  202. package/src/components/Form/examples/FormInvalid.tsx +2 -2
  203. package/src/components/Form/examples/FormInvalidWithFormAlert.tsx +2 -2
  204. package/src/components/Form/examples/FormState.tsx +2 -2
  205. package/src/components/Form/examples/FormValidated.tsx +2 -2
  206. package/src/components/FormControl/FormControlIcon.tsx +6 -6
  207. package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +12 -48
  208. package/src/components/HelperText/HelperTextItem.tsx +6 -6
  209. package/src/components/Icon/examples/Icon.md +5 -5
  210. package/src/components/Icon/examples/IconCustomProgress.tsx +2 -2
  211. package/src/components/Icon/examples/IconProgress.tsx +2 -2
  212. package/src/components/Icon/examples/IconStatus.tsx +10 -10
  213. package/src/components/Label/Label.tsx +10 -10
  214. package/src/components/Label/examples/Label.md +1 -1
  215. package/src/components/Label/examples/LabelCompact.tsx +3 -3
  216. package/src/components/Label/examples/LabelCustomRender.tsx +2 -2
  217. package/src/components/Label/examples/LabelGroupBasic.tsx +4 -4
  218. package/src/components/Label/examples/LabelGroupCategory.tsx +4 -4
  219. package/src/components/Label/examples/LabelGroupCategoryRemovable.tsx +2 -2
  220. package/src/components/Label/examples/LabelGroupEditableAddModal.tsx +3 -3
  221. package/src/components/Label/examples/LabelGroupOverflow.tsx +7 -7
  222. package/src/components/Label/examples/LabelGroupVerticalCategoryOverflowRemovable.tsx +2 -2
  223. package/src/components/LoginPage/examples/LoginPage.md +1 -1
  224. package/src/components/LoginPage/examples/LoginPageBasic.tsx +2 -2
  225. package/src/components/LoginPage/examples/LoginPageLanguageSelect.tsx +2 -2
  226. package/src/components/LoginPage/examples/LoginPageShowHidePassword.tsx +2 -2
  227. package/src/components/Menu/examples/Menu.md +1 -1
  228. package/src/components/Menu/examples/MenuWithActions.tsx +2 -2
  229. package/src/components/Menu/examples/MenuWithDrilldownInitialState.tsx +1 -1
  230. package/src/components/Menu/examples/MenuWithFavorites.tsx +2 -2
  231. package/src/components/MenuToggle/MenuToggle.tsx +6 -6
  232. package/src/components/Modal/ModalBoxTitle.tsx +10 -10
  233. package/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +20 -80
  234. package/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx +2 -2
  235. package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap +4 -16
  236. package/src/components/NotificationBadge/NotificationBadge.tsx +4 -4
  237. package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +12 -48
  238. package/src/components/NotificationBadge/examples/NotificationBadge.md +1 -1
  239. package/src/components/NotificationDrawer/NotificationDrawerListItemHeader.tsx +10 -10
  240. package/src/components/NotificationDrawer/__tests__/NotificationDrawerListItemHeader.test.tsx +2 -2
  241. package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerListItemHeader.test.tsx.snap +20 -80
  242. package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +12 -48
  243. package/src/components/Popover/examples/Popover.md +5 -5
  244. package/src/components/Popover/examples/PopoverAlert.tsx +10 -10
  245. package/src/components/Progress/ProgressContainer.tsx +6 -6
  246. package/src/components/Progress/__tests__/Generated/__snapshots__/ProgressContainer.test.tsx.snap +4 -16
  247. package/src/components/Progress/__tests__/__snapshots__/Progress.test.tsx.snap +12 -48
  248. package/src/components/ProgressStepper/ProgressStep.tsx +6 -6
  249. package/src/components/ProgressStepper/__tests__/ProgressStep.test.tsx +3 -3
  250. package/src/components/Select/examples/Select.md +1 -1
  251. package/src/components/Select/examples/SelectOptionVariations.tsx +2 -2
  252. package/src/components/TextInput/__tests__/__snapshots__/TextInput.test.tsx.snap +8 -32
  253. package/src/components/Wizard/WizardNavItem.tsx +6 -6
  254. package/src/components/Wizard/WizardToggle.tsx +4 -4
  255. package/src/demos/Button/Button.md +1 -1
  256. package/src/demos/Button/examples/ButtonProgress.tsx +2 -2
  257. package/src/demos/CardDemos.md +3 -2
  258. package/src/demos/CustomMenus/CustomMenus.md +1 -1
  259. package/src/demos/CustomMenus/examples/ActionsMenuDemo.tsx +2 -2
  260. package/src/demos/DataList/examples/DataListBasic.tsx +9 -9
  261. package/src/demos/DataListDemo.md +3 -3
  262. package/src/demos/DescriptionList/DescriptionList.md +3 -1
  263. package/src/demos/DescriptionList/examples/DescriptionListBasic.tsx +2 -2
  264. package/src/demos/HelperText.md +3 -3
  265. package/src/demos/LabelGroupDemos.md +1 -1
  266. package/src/demos/Masthead.md +1 -1
  267. package/src/demos/Nav.md +1 -1
  268. package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
  269. package/src/demos/Page.md +1 -3
  270. package/src/demos/PasswordStrength.md +3 -3
  271. package/src/demos/PrimaryDetail.md +6 -2
  272. package/src/demos/Tabs.md +2 -2
  273. package/src/demos/examples/Card/CardAggregateStatus.tsx +18 -18
  274. package/src/demos/examples/Card/CardEventsView.tsx +5 -5
  275. package/src/demos/examples/Card/CardHorizontalGrid.tsx +9 -9
  276. package/src/demos/examples/Card/CardStatus.tsx +11 -23
  277. package/src/demos/examples/Card/CardStatusTabbed.tsx +6 -6
  278. package/src/demos/examples/Card/CardUtilizationDemo3.tsx +2 -2
  279. package/src/demos/examples/PasswordStrength/PasswordStrengthDemo.tsx +7 -7
  280. package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +6 -6
  281. package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +6 -6
  282. package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +6 -6
  283. package/src/demos/examples/Tabs/TabsOpen.tsx +4 -4
  284. package/src/demos/examples/Tabs/TabsOpenWithSecondaryTabs.tsx +4 -4
  285. package/src/deprecated/components/Modal/ModalBoxTitle.tsx +10 -10
  286. package/src/deprecated/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +20 -80
  287. package/src/deprecated/components/Tile/examples/Tile.md +1 -1
  288. package/src/deprecated/components/Tile/examples/TileStacked.tsx +4 -4
  289. package/src/deprecated/components/Tile/examples/TileStackedWithLargeIcons.tsx +4 -4
  290. package/src/deprecated/components/Tile/examples/TileWithExtraContent.tsx +4 -4
  291. package/src/helpers/constants.ts +10 -10
@@ -1 +1 @@
1
- {"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.5.0-prerelease.45","private":true}
1
+ {"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"6.5.0-prerelease.47","private":true}
@@ -1 +1 @@
1
- {"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.5.0-prerelease.45","private":true}
1
+ {"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"6.5.0-prerelease.47","private":true}
package/next/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.5.0-prerelease.45","private":true}
1
+ {"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"6.5.0-prerelease.47","private":true}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "6.5.0-prerelease.46",
3
+ "version": "6.5.0-prerelease.48",
4
4
  "description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -46,7 +46,7 @@
46
46
  "subpaths": "node ../../scripts/exportSubpaths.mjs --config subpaths.config.json"
47
47
  },
48
48
  "dependencies": {
49
- "@patternfly/react-icons": "^6.5.0-prerelease.18",
49
+ "@patternfly/react-icons": "^6.5.0-prerelease.19",
50
50
  "@patternfly/react-styles": "^6.5.0-prerelease.15",
51
51
  "@patternfly/react-tokens": "^6.5.0-prerelease.14",
52
52
  "focus-trap": "7.6.6",
@@ -63,5 +63,5 @@
63
63
  "react": "^17 || ^18 || ^19",
64
64
  "react-dom": "^17 || ^18 || ^19"
65
65
  },
66
- "gitHead": "88447932726124eab07413b447d8bad641ec3ce9"
66
+ "gitHead": "d12d240eb2218407d455c9b06478e1a38357d3f7"
67
67
  }
@@ -1,17 +1,17 @@
1
1
  import { css } from '@patternfly/react-styles';
2
2
  import styles from '@patternfly/react-styles/css/components/Alert/alert';
3
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
4
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
5
- import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';
6
- import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';
7
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
3
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
4
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
5
+ import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
6
+ import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
7
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
8
8
 
9
9
  export const variantIcons = {
10
- success: CheckCircleIcon,
11
- danger: ExclamationCircleIcon,
12
- warning: ExclamationTriangleIcon,
13
- info: InfoCircleIcon,
14
- custom: BellIcon
10
+ success: RhUiCheckCircleFillIcon,
11
+ danger: RhUiErrorFillIcon,
12
+ warning: RhUiWarningFillIcon,
13
+ info: RhUiInformationFillIcon,
14
+ custom: RhUiNotificationFillIcon
15
15
  };
16
16
 
17
17
  export interface AlertIconProps extends React.HTMLProps<HTMLDivElement> {
@@ -3,14 +3,14 @@ import { render, screen } from '@testing-library/react';
3
3
  import { AlertIcon } from '../AlertIcon';
4
4
  import styles from '@patternfly/react-styles/css/components/Alert/alert';
5
5
 
6
- jest.mock('@patternfly/react-icons/dist/esm/icons/check-circle-icon', () => () => 'Check circle icon mock');
7
- jest.mock('@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon', () => () => 'Exclamation circle icon mock');
6
+ jest.mock('@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon', () => () => 'Check circle icon mock');
7
+ jest.mock('@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon', () => () => 'Exclamation circle icon mock');
8
8
  jest.mock(
9
- '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon',
9
+ '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon',
10
10
  () => () => 'Exclamation triangle icon mock'
11
11
  );
12
- jest.mock('@patternfly/react-icons/dist/esm/icons/info-circle-icon', () => () => 'Info circle icon mock');
13
- jest.mock('@patternfly/react-icons/dist/esm/icons/bell-icon', () => () => 'Bell icon mock');
12
+ jest.mock('@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon', () => () => 'Info circle icon mock');
13
+ jest.mock('@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon', () => () => 'Bell icon mock');
14
14
 
15
15
  test('Renders without children', () => {
16
16
  render(
@@ -11,24 +11,12 @@ exports[`AlertIcon should match snapshot (auto-generated) 1`] = `
11
11
  fill="currentColor"
12
12
  height="1em"
13
13
  role="img"
14
+ viewBox="0 0 32 32"
14
15
  width="1em"
15
16
  >
16
- <svg
17
- class="pf-v6-icon-default"
18
- viewBox="0 0 512 512"
19
- >
20
- <path
21
- d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
22
- />
23
- </svg>
24
- <svg
25
- class="pf-v6-icon-rh-ui"
26
- viewBox="0 0 32 32"
27
- >
28
- <path
29
- d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm7.707-17.707a.999.999 0 0 1 0 1.414l-8.646 8.646c-.292.292-.676.438-1.061.438s-.768-.146-1.061-.438l-4.646-4.646a.999.999 0 1 1 1.414-1.414L14 19.586l8.293-8.293a.999.999 0 0 1 1.414 0Z"
30
- />
31
- </svg>
17
+ <path
18
+ d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm7.795 11.795-8.646 8.646c-.317.317-.733.475-1.149.475s-.832-.158-1.149-.475l-4.646-4.646a1.126 1.126 0 0 1 1.591-1.591l4.205 4.205 8.205-8.205a1.126 1.126 0 0 1 1.591 1.591Z"
19
+ />
32
20
  </svg>
33
21
  </div>
34
22
  </DocumentFragment>
@@ -5,11 +5,11 @@ cssPrefix: pf-v6-c-banner
5
5
  propComponents: ['Banner']
6
6
  ---
7
7
 
8
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
9
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
10
- import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';
11
- import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';
12
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
8
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
9
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
10
+ import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
11
+ import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
12
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
13
13
 
14
14
  ## Examples
15
15
 
@@ -1,16 +1,16 @@
1
1
  import { Banner, Flex, FlexItem } from '@patternfly/react-core';
2
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
3
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
4
- import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';
5
- import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';
6
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
2
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
3
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
4
+ import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
5
+ import RhUiInformationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-information-fill-icon';
6
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
7
7
 
8
8
  export const BannerStatus: React.FunctionComponent = () => (
9
9
  <>
10
10
  <Banner screenReaderText="Success banner" status="success">
11
11
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
12
12
  <FlexItem>
13
- <CheckCircleIcon />
13
+ <RhUiCheckCircleFillIcon />
14
14
  </FlexItem>
15
15
  <FlexItem>Success banner</FlexItem>
16
16
  </Flex>
@@ -19,7 +19,7 @@ export const BannerStatus: React.FunctionComponent = () => (
19
19
  <Banner screenReaderText="Warning banner" status="warning">
20
20
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
21
21
  <FlexItem>
22
- <ExclamationTriangleIcon />
22
+ <RhUiWarningFillIcon />
23
23
  </FlexItem>
24
24
  <FlexItem>Warning banner</FlexItem>
25
25
  </Flex>
@@ -28,7 +28,7 @@ export const BannerStatus: React.FunctionComponent = () => (
28
28
  <Banner screenReaderText="Danger banner" status="danger">
29
29
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
30
30
  <FlexItem>
31
- <ExclamationCircleIcon />
31
+ <RhUiErrorFillIcon />
32
32
  </FlexItem>
33
33
  <FlexItem>Danger banner</FlexItem>
34
34
  </Flex>
@@ -37,7 +37,7 @@ export const BannerStatus: React.FunctionComponent = () => (
37
37
  <Banner screenReaderText="Info banner" status="info">
38
38
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
39
39
  <FlexItem>
40
- <InfoCircleIcon />
40
+ <RhUiInformationFillIcon />
41
41
  </FlexItem>
42
42
  <FlexItem>Info banner</FlexItem>
43
43
  </Flex>
@@ -46,7 +46,7 @@ export const BannerStatus: React.FunctionComponent = () => (
46
46
  <Banner screenReaderText="Custom banner" status="custom">
47
47
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
48
48
  <FlexItem>
49
- <BellIcon />
49
+ <RhUiNotificationFillIcon />
50
50
  </FlexItem>
51
51
  <FlexItem>Custom banner</FlexItem>
52
52
  </Flex>
@@ -13,7 +13,7 @@ import ExternalLinkSquareAltIcon from '@patternfly/react-icons/dist/esm/icons/ex
13
13
  import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
14
14
  import ArrowRightIcon from '@patternfly/react-icons/dist/esm/icons/arrow-right-icon';
15
15
  import UploadIcon from '@patternfly/react-icons/dist/esm/icons/upload-icon';
16
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
16
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
17
17
  import QuestionCircleIcon from '@patternfly/react-icons/dist/esm/icons/question-circle-icon';
18
18
 
19
19
  ## Examples
@@ -2,7 +2,7 @@ import { Button, Flex } from '@patternfly/react-core';
2
2
  import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
3
3
  import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
4
4
  import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
5
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
5
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
6
6
  import UploadIcon from '@patternfly/react-icons/dist/esm/icons/upload-icon';
7
7
 
8
8
  interface LoadingPropsType {
@@ -35,19 +35,24 @@ export const ButtonCircle: React.FunctionComponent = () => {
35
35
  <Button variant="link" isCircle icon={<PlusCircleIcon />} aria-label="Add link circle variant example" />
36
36
  <Button variant="control" isCircle icon={<CopyIcon />} aria-label="Copy control circle variant example" />
37
37
  <Button variant="plain" isCircle icon={<RhMicronsCloseIcon />} aria-label="Remove plain circle variant example" />
38
- <Button variant="stateful" isCircle icon={<BellIcon />} aria-label="Stateful unread circle variant example" />
38
+ <Button
39
+ variant="stateful"
40
+ isCircle
41
+ icon={<RhUiNotificationFillIcon />}
42
+ aria-label="Stateful unread circle variant example"
43
+ />
39
44
  <Button
40
45
  variant="stateful"
41
46
  state="read"
42
47
  isCircle
43
- icon={<BellIcon />}
48
+ icon={<RhUiNotificationFillIcon />}
44
49
  aria-label="Stateful read circle variant example"
45
50
  />
46
51
  <Button
47
52
  variant="stateful"
48
53
  state="attention"
49
54
  isCircle
50
- icon={<BellIcon />}
55
+ icon={<RhUiNotificationFillIcon />}
51
56
  aria-label="Stateful attention circle variant example"
52
57
  />
53
58
  <Button
@@ -1,5 +1,5 @@
1
1
  import { Button, Flex } from '@patternfly/react-core';
2
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
2
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
3
3
 
4
4
  export const ButtonStateful: React.FunctionComponent = () => (
5
5
  <Flex>
@@ -7,7 +7,7 @@ export const ButtonStateful: React.FunctionComponent = () => (
7
7
  <div>
8
8
  <strong>Read</strong>
9
9
  </div>
10
- <Button variant="stateful" state="read" icon={<BellIcon />}>
10
+ <Button variant="stateful" state="read" icon={<RhUiNotificationFillIcon />}>
11
11
  10 <span className="pf-v6-screen-reader">items</span>
12
12
  </Button>
13
13
  </div>
@@ -15,7 +15,7 @@ export const ButtonStateful: React.FunctionComponent = () => (
15
15
  <div>
16
16
  <strong>Unread</strong>
17
17
  </div>
18
- <Button variant="stateful" state="unread" icon={<BellIcon />}>
18
+ <Button variant="stateful" state="unread" icon={<RhUiNotificationFillIcon />}>
19
19
  10 <span className="pf-v6-screen-reader">unread items</span>
20
20
  </Button>
21
21
  </div>
@@ -23,7 +23,7 @@ export const ButtonStateful: React.FunctionComponent = () => (
23
23
  <div>
24
24
  <strong>Attention</strong>
25
25
  </div>
26
- <Button variant="stateful" state="attention" icon={<BellIcon />}>
26
+ <Button variant="stateful" state="attention" icon={<RhUiNotificationFillIcon />}>
27
27
  10 <span className="pf-v6-screen-reader">unread items, needs attention</span>
28
28
  </Button>
29
29
  </div>
@@ -3,7 +3,7 @@ import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-micron
3
3
  import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
4
4
  import ExternalLinkSquareAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-square-alt-icon';
5
5
  import CopyIcon from '@patternfly/react-icons/dist/esm/icons/copy-icon';
6
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
6
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
7
7
 
8
8
  export const ButtonVariations: React.FunctionComponent = () => (
9
9
  <>
@@ -50,13 +50,13 @@ export const ButtonVariations: React.FunctionComponent = () => (
50
50
  </Flex>
51
51
  <br />
52
52
  <Flex columnGap={{ default: 'columnGapSm' }}>
53
- <Button variant="stateful" icon={<BellIcon />} state="read">
53
+ <Button variant="stateful" icon={<RhUiNotificationFillIcon />} state="read">
54
54
  Stateful read
55
55
  </Button>
56
- <Button variant="stateful" icon={<BellIcon />} state="unread">
56
+ <Button variant="stateful" icon={<RhUiNotificationFillIcon />} state="unread">
57
57
  Stateful unread
58
58
  </Button>
59
- <Button variant="stateful" icon={<BellIcon />} state="attention">
59
+ <Button variant="stateful" icon={<RhUiNotificationFillIcon />} state="attention">
60
60
  Stateful attention
61
61
  </Button>
62
62
  </Flex>
@@ -8,7 +8,6 @@ propComponents: ['EmptyState', 'EmptyStateBody', 'EmptyStateFooter', 'EmptyState
8
8
  import { useState } from 'react';
9
9
  import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
10
10
  import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
11
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
12
11
 
13
12
  ## Examples
14
13
  ### Basic
@@ -3,7 +3,7 @@ import userEvent from '@testing-library/user-event';
3
3
 
4
4
  import { ExpandableSection, ExpandableSectionVariant } from '../ExpandableSection';
5
5
  import styles from '@patternfly/react-styles/css/components/ExpandableSection/expandable-section';
6
- import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
6
+ import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
7
7
 
8
8
  const props = { contentId: 'content-id', toggleId: 'toggle-id' };
9
9
 
@@ -274,7 +274,11 @@ test('Renders with div wrapper when toggleWrapper="div"', () => {
274
274
  });
275
275
 
276
276
  test('Can render custom toggle icon', () => {
277
- render(<ExpandableSection toggleIcon={<BellIcon data-testid="bell-icon" />}>Test content</ExpandableSection>);
277
+ render(
278
+ <ExpandableSection toggleIcon={<RhUiNotificationFillIcon data-testid="bell-icon" />}>
279
+ Test content
280
+ </ExpandableSection>
281
+ );
278
282
 
279
283
  expect(screen.getByTestId('bell-icon')).toBeInTheDocument();
280
284
  });
@@ -288,7 +292,7 @@ test('Does not render toggle icon when hasToggleIcon is false', () => {
288
292
 
289
293
  test('Does not render custom toggle icon when hasToggleIcon is false', () => {
290
294
  render(
291
- <ExpandableSection toggleIcon={<BellIcon data-testid="bell-icon" />} hasToggleIcon={false}>
295
+ <ExpandableSection toggleIcon={<RhUiNotificationFillIcon data-testid="bell-icon" />} hasToggleIcon={false}>
292
296
  Test content
293
297
  </ExpandableSection>
294
298
  );
@@ -6,7 +6,7 @@ propComponents: ['ExpandableSection', 'ExpandableSectionToggle']
6
6
  ---
7
7
 
8
8
  import { useState } from 'react';
9
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
9
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
10
10
 
11
11
  ## Examples
12
12
 
@@ -1,6 +1,6 @@
1
1
  import { useState } from 'react';
2
2
  import { ExpandableSection, Badge, Stack, StackItem } from '@patternfly/react-core';
3
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
3
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
4
4
 
5
5
  export const ExpandableSectionCustomToggle: React.FunctionComponent = () => {
6
6
  const [isExpanded, setIsExpanded] = useState(false);
@@ -18,7 +18,7 @@ export const ExpandableSectionCustomToggle: React.FunctionComponent = () => {
18
18
  toggleContent={
19
19
  <div>
20
20
  <span>You can also use icons </span>
21
- <CheckCircleIcon />
21
+ <RhUiCheckCircleFillIcon />
22
22
  <span> or badges </span>
23
23
  <Badge isRead={true}>4</Badge>
24
24
  <span> !</span>
@@ -1,6 +1,6 @@
1
1
  import { useState, MouseEvent } from 'react';
2
2
  import { ExpandableSection, ExpandableSectionToggle, Stack, StackItem } from '@patternfly/react-core';
3
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
3
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
4
4
 
5
5
  export const ExpandableSectionWithHeading = () => {
6
6
  const [isExpanded1, setIsExpanded1] = useState(false);
@@ -75,7 +75,7 @@ export const ExpandableSectionWithHeading = () => {
75
75
  toggleWrapper="h5"
76
76
  toggleContent={
77
77
  <span>
78
- <CheckCircleIcon /> Custom Heading Content with Icon
78
+ <RhUiCheckCircleFillIcon /> Custom Heading Content with Icon
79
79
  </span>
80
80
  }
81
81
  onToggle={onToggle2}
@@ -8,7 +8,6 @@ subsection: file-upload
8
8
 
9
9
  import { useState } from 'react';
10
10
  import FileUploadIcon from '@patternfly/react-icons/dist/esm/icons/file-upload-icon';
11
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
12
11
 
13
12
  ## Examples
14
13
 
@@ -23,7 +23,7 @@ propComponents:
23
23
  ---
24
24
 
25
25
  import { useRef, useEffect, useState } from 'react';
26
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
26
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
27
27
  import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
28
28
  import TrashIcon from '@patternfly/react-icons/dist/esm/icons/trash-icon';
29
29
  import styles from '@patternfly/react-styles/css/components/Form/form';
@@ -1,6 +1,6 @@
1
1
  import { useState } from 'react';
2
2
  import { Form, FormGroup, TextInput, HelperText, HelperTextItem, FormHelperText } from '@patternfly/react-core';
3
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
3
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
4
4
 
5
5
  export const FormInvalid: React.FunctionComponent = () => {
6
6
  type validate = 'success' | 'warning' | 'error' | 'default';
@@ -32,7 +32,7 @@ export const FormInvalid: React.FunctionComponent = () => {
32
32
  {validated !== 'success' && (
33
33
  <FormHelperText>
34
34
  <HelperText>
35
- <HelperTextItem icon={<ExclamationCircleIcon />} variant={validated}>
35
+ <HelperTextItem icon={<RhUiErrorFillIcon />} variant={validated}>
36
36
  {validated === 'error' ? 'Must be a number' : 'Please enter your age'}
37
37
  </HelperTextItem>
38
38
  </HelperText>
@@ -9,7 +9,7 @@ import {
9
9
  HelperTextItem,
10
10
  FormHelperText
11
11
  } from '@patternfly/react-core';
12
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
12
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
13
13
 
14
14
  export const FormInvalidWithAlert: React.FunctionComponent = () => {
15
15
  type validate = 'success' | 'warning' | 'error' | 'default';
@@ -46,7 +46,7 @@ export const FormInvalidWithAlert: React.FunctionComponent = () => {
46
46
  {validated !== 'success' && (
47
47
  <FormHelperText>
48
48
  <HelperText>
49
- <HelperTextItem icon={<ExclamationCircleIcon />} variant={validated}>
49
+ <HelperTextItem icon={<RhUiErrorFillIcon />} variant={validated}>
50
50
  {validated === 'error' ? 'Must be a number' : 'Please enter your age'}
51
51
  </HelperTextItem>
52
52
  </HelperText>
@@ -18,7 +18,7 @@ import {
18
18
  TextArea,
19
19
  TextInput
20
20
  } from '@patternfly/react-core';
21
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
21
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
22
22
 
23
23
  export const FormState = () => {
24
24
  const [isSelectOpen, setIsSelectOpen] = useState(false);
@@ -42,7 +42,7 @@ export const FormState = () => {
42
42
  <HelperText>
43
43
  <HelperTextItem
44
44
  variant={errors['input-id'] ? 'error' : 'default'}
45
- {...(errors['input-id'] && { icon: <ExclamationCircleIcon /> })}
45
+ {...(errors['input-id'] && { icon: <RhUiErrorFillIcon /> })}
46
46
  >
47
47
  {errors['input-id']}
48
48
  </HelperTextItem>
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useState } from 'react';
2
2
  import { Form, FormGroup, FormHelperText, HelperText, HelperTextItem, TextInput } from '@patternfly/react-core';
3
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
3
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
4
4
 
5
5
  export const FormValidated: React.FunctionComponent = () => {
6
6
  type validate = 'success' | 'warning' | 'error' | 'default';
@@ -47,7 +47,7 @@ export const FormValidated: React.FunctionComponent = () => {
47
47
  />
48
48
  <FormHelperText>
49
49
  <HelperText>
50
- <HelperTextItem variant={validated} {...(validated === 'error' && { icon: <ExclamationCircleIcon /> })}>
50
+ <HelperTextItem variant={validated} {...(validated === 'error' && { icon: <RhUiErrorFillIcon /> })}>
51
51
  {helperText}
52
52
  </HelperTextItem>
53
53
  </HelperText>
@@ -1,13 +1,13 @@
1
1
  import styles from '@patternfly/react-styles/css/components/FormControl/form-control';
2
2
  import { css } from '@patternfly/react-styles';
3
- import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
4
- import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
5
- import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';
3
+ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
4
+ import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
5
+ import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
6
6
 
7
7
  export const statusIcons = {
8
- success: CheckCircleIcon,
9
- error: ExclamationCircleIcon,
10
- warning: ExclamationTriangleIcon
8
+ success: RhUiCheckCircleFillIcon,
9
+ error: RhUiErrorFillIcon,
10
+ warning: RhUiWarningFillIcon
11
11
  };
12
12
 
13
13
  export interface FormControlIconProps extends React.HTMLProps<HTMLDivElement> {
@@ -452,24 +452,12 @@ exports[`FormSelect invalid FormSelect input 1`] = `
452
452
  fill="currentColor"
453
453
  height="1em"
454
454
  role="img"
455
+ viewBox="0 0 32 32"
455
456
  width="1em"
456
457
  >
457
- <svg
458
- class="pf-v6-icon-default"
459
- viewBox="0 0 512 512"
460
- >
461
- <path
462
- d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
463
- />
464
- </svg>
465
- <svg
466
- class="pf-v6-icon-rh-ui"
467
- viewBox="0 0 32 32"
468
- >
469
- <path
470
- d="M14.75 16V9a1.25 1.25 0 0 1 2.5 0v7a1.25 1.25 0 0 1-2.5 0ZM31 16c0 8.271-6.729 15-15 15S1 24.271 1 16 7.729 1 16 1s15 6.729 15 15Zm-2 0c0-7.168-5.832-13-13-13S3 8.832 3 16s5.832 13 13 13 13-5.832 13-13Zm-13 4.261a1.75 1.75 0 1 0 .001 3.501A1.75 1.75 0 0 0 16 20.261Z"
471
- />
472
- </svg>
458
+ <path
459
+ d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"
460
+ />
473
461
  </svg>
474
462
  </span>
475
463
  <span
@@ -537,24 +525,12 @@ exports[`FormSelect validated success FormSelect input 1`] = `
537
525
  fill="currentColor"
538
526
  height="1em"
539
527
  role="img"
528
+ viewBox="0 0 32 32"
540
529
  width="1em"
541
530
  >
542
- <svg
543
- class="pf-v6-icon-default"
544
- viewBox="0 0 512 512"
545
- >
546
- <path
547
- d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
548
- />
549
- </svg>
550
- <svg
551
- class="pf-v6-icon-rh-ui"
552
- viewBox="0 0 32 32"
553
- >
554
- <path
555
- d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm7.707-17.707a.999.999 0 0 1 0 1.414l-8.646 8.646c-.292.292-.676.438-1.061.438s-.768-.146-1.061-.438l-4.646-4.646a.999.999 0 1 1 1.414-1.414L14 19.586l8.293-8.293a.999.999 0 0 1 1.414 0Z"
556
- />
557
- </svg>
531
+ <path
532
+ d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm7.795 11.795-8.646 8.646c-.317.317-.733.475-1.149.475s-.832-.158-1.149-.475l-4.646-4.646a1.126 1.126 0 0 1 1.591-1.591l4.205 4.205 8.205-8.205a1.126 1.126 0 0 1 1.591 1.591Z"
533
+ />
558
534
  </svg>
559
535
  </span>
560
536
  <span
@@ -622,24 +598,12 @@ exports[`FormSelect validated warning FormSelect input 1`] = `
622
598
  fill="currentColor"
623
599
  height="1em"
624
600
  role="img"
601
+ viewBox="0 0 32 32"
625
602
  width="1em"
626
603
  >
627
- <svg
628
- class="pf-v6-icon-default"
629
- viewBox="0 0 576 512"
630
- >
631
- <path
632
- d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
633
- />
634
- </svg>
635
- <svg
636
- class="pf-v6-icon-rh-ui"
637
- viewBox="0 0 32 32"
638
- >
639
- <path
640
- d="M31.461 27.771 17.3 2.301a1.499 1.499 0 0 0-2.623 0L.517 27.771c-.261.469-.255 1.025.018 1.489s.756.74 1.294.74h28.322c.537 0 1.021-.276 1.293-.74a1.49 1.49 0 0 0 .018-1.489ZM2.678 28l13.31-23.942L29.3 28H2.678ZM16 11.75c.69 0 1.25.56 1.25 1.25v5a1.25 1.25 0 0 1-2.5 0v-5c0-.69.56-1.25 1.25-1.25Zm1.75 12.261a1.75 1.75 0 1 1-3.501-.001 1.75 1.75 0 0 1 3.501.001Z"
641
- />
642
- </svg>
604
+ <path
605
+ d="m31.874 28.514-15.011-27a1.001 1.001 0 0 0-1.748 0l-15.011 27A1 1 0 0 0 .978 30H31a1 1 0 0 0 .874-1.486ZM14.5 12a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 26.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 26.001Z"
606
+ />
643
607
  </svg>
644
608
  </span>
645
609
  <span