@patternfly/patternfly 6.5.0-prerelease.9 → 6.5.0-prerelease.90

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 (419) hide show
  1. package/README.md +2 -2
  2. package/assets/fontawesome/_variables.scss +2 -1
  3. package/assets/images/Felt-Bkg-Generic-Dark.svg +82 -0
  4. package/assets/images/Felt-Bkg-Generic-Light.svg +82 -0
  5. package/assets/images/PF-Bkg-Generic-Dark.svg +76 -0
  6. package/assets/images/PF-Bkg-Generic-Light.svg +74 -0
  7. package/assets/images/RHAiExperienceIcon.svg +27 -0
  8. package/assets/images/RHAutomationsLogo.svg +96 -0
  9. package/assets/images/RHServerStackIcon.svg +16 -0
  10. package/assets/images/compass--hero-bg.png +0 -0
  11. package/assets/images/compass--rh-wallpaper-dark.png +0 -0
  12. package/assets/images/compass--rh-wallpaper-light.png +0 -0
  13. package/assets/images/compass--wallpaper-dark.jpg +0 -0
  14. package/assets/images/compass--wallpaper-dark.png +0 -0
  15. package/assets/images/compass--wallpaper-light.jpg +0 -0
  16. package/assets/images/compass--wallpaper-light.png +0 -0
  17. package/assets/images/glass-brand-dark.jpg +0 -0
  18. package/assets/images/glass-brand-dark.png +0 -0
  19. package/assets/images/glass-brand-light.jpg +0 -0
  20. package/assets/images/glass-brand-light.png +0 -0
  21. package/base/normalize.scss +16 -1
  22. package/base/patternfly-common.css +4 -0
  23. package/base/patternfly-common.scss +3 -0
  24. package/base/patternfly-svg-icons.css +17 -0
  25. package/base/patternfly-svg-icons.scss +20 -0
  26. package/base/patternfly-variables.css +932 -515
  27. package/base/patternfly-variables.scss +55 -4
  28. package/base/tokens/tokens-charts-dark.scss +4 -2
  29. package/base/tokens/tokens-charts-highcontrast-dark.scss +175 -0
  30. package/base/tokens/tokens-charts-highcontrast.scss +175 -0
  31. package/base/tokens/tokens-charts.scss +4 -2
  32. package/base/tokens/tokens-dark.scss +56 -8
  33. package/base/tokens/tokens-default.scss +70 -15
  34. package/base/tokens/tokens-felt-dark.scss +21 -0
  35. package/base/tokens/tokens-felt-glass-dark.scss +40 -0
  36. package/base/tokens/tokens-felt-glass.scss +30 -0
  37. package/base/tokens/tokens-felt-highcontrast-dark.scss +50 -0
  38. package/base/tokens/tokens-felt-highcontrast.scss +129 -0
  39. package/base/tokens/tokens-felt.scss +15 -0
  40. package/base/tokens/tokens-glass-dark.scss +26 -0
  41. package/base/tokens/tokens-glass.scss +22 -0
  42. package/base/tokens/tokens-local-felt-glass-dark.scss +5 -0
  43. package/base/tokens/tokens-local-felt-glass.scss +5 -0
  44. package/base/tokens/tokens-local-glass-dark.scss +5 -0
  45. package/base/tokens/tokens-local-glass.scss +6 -0
  46. package/base/tokens/tokens-local.scss +15 -0
  47. package/base/tokens/tokens-palette.scss +3 -1
  48. package/base/tokens/tokens-redhat-highcontrast.scss +758 -0
  49. package/components/AboutModalBox/about-modal-box.css +36 -26
  50. package/components/Accordion/accordion.css +26 -14
  51. package/components/Accordion/accordion.scss +12 -2
  52. package/components/ActionList/action-list.css +2 -0
  53. package/components/ActionList/action-list.scss +2 -0
  54. package/components/Alert/alert.css +7 -5
  55. package/components/Alert/alert.scss +2 -1
  56. package/components/Avatar/avatar.css +12 -4
  57. package/components/BackgroundImage/background-image.css +6 -3
  58. package/components/Banner/banner.css +12 -6
  59. package/components/Banner/banner.scss +7 -0
  60. package/components/Brand/brand.css +3 -1
  61. package/components/Breadcrumb/breadcrumb.css +10 -5
  62. package/components/Breadcrumb/breadcrumb.scss +6 -2
  63. package/components/Button/button.css +173 -71
  64. package/components/Button/button.scss +188 -72
  65. package/components/CalendarMonth/calendar-month.css +4 -3
  66. package/components/Card/card.css +51 -15
  67. package/components/Card/card.scss +63 -9
  68. package/components/ClipboardCopy/clipboard-copy.css +14 -7
  69. package/components/ClipboardCopy/clipboard-copy.scss +13 -4
  70. package/components/CodeEditor/code-editor.css +2 -2
  71. package/components/CodeEditor/code-editor.scss +2 -2
  72. package/components/Compass/compass.css +403 -0
  73. package/components/Compass/compass.scss +419 -0
  74. package/components/DataList/data-list.css +30 -23
  75. package/components/DataList/data-list.scss +3 -2
  76. package/components/DescriptionList/description-list-order.scss +5 -1
  77. package/components/DescriptionList/description-list.css +7 -5
  78. package/components/DescriptionList/description-list.scss +5 -1
  79. package/components/Divider/divider.css +7 -5
  80. package/components/Drawer/drawer.css +225 -75
  81. package/components/Drawer/drawer.scss +195 -27
  82. package/components/DualListSelector/dual-list-selector.css +18 -12
  83. package/components/DualListSelector/dual-list-selector.scss +1 -1
  84. package/components/ExpandableSection/expandable-section.css +21 -16
  85. package/components/ExpandableSection/expandable-section.scss +6 -3
  86. package/components/Form/form.css +2 -2
  87. package/components/Form/form.scss +2 -2
  88. package/components/FormControl/form-control.css +3 -3
  89. package/components/FormControl/form-control.scss +3 -3
  90. package/components/Hero/hero.css +74 -0
  91. package/components/Hero/hero.scss +87 -0
  92. package/components/JumpLinks/jump-links.css +16 -5
  93. package/components/JumpLinks/jump-links.scss +17 -3
  94. package/components/Label/label-group.css +2 -2
  95. package/components/Label/label-group.scss +2 -2
  96. package/components/Label/label.css +4 -3
  97. package/components/Login/login.css +58 -40
  98. package/components/Login/login.scss +7 -3
  99. package/components/Masthead/masthead.css +111 -16
  100. package/components/Masthead/masthead.scss +111 -1
  101. package/components/Menu/menu.css +49 -33
  102. package/components/Menu/menu.scss +26 -19
  103. package/components/MenuToggle/menu-toggle.css +35 -8
  104. package/components/MenuToggle/menu-toggle.scss +42 -8
  105. package/components/ModalBox/modal-box.css +9 -7
  106. package/components/ModalBox/modal-box.scss +2 -2
  107. package/components/Nav/nav.css +82 -11
  108. package/components/Nav/nav.scss +85 -5
  109. package/components/NotificationDrawer/notification-drawer.css +19 -9
  110. package/components/NotificationDrawer/notification-drawer.scss +14 -5
  111. package/components/OverflowMenu/overflow-menu.css +16 -0
  112. package/components/OverflowMenu/overflow-menu.scss +20 -1
  113. package/components/Page/page.css +423 -32
  114. package/components/Page/page.scss +399 -15
  115. package/components/Pagination/pagination.css +58 -4
  116. package/components/Pagination/pagination.scss +73 -6
  117. package/components/Panel/panel.css +41 -3
  118. package/components/Panel/panel.scss +56 -3
  119. package/components/Progress/progress.css +3 -1
  120. package/components/Progress/progress.scss +3 -1
  121. package/components/ProgressStepper/progress-stepper.scss +5 -1
  122. package/components/Sidebar/sidebar.css +1 -1
  123. package/components/Sidebar/sidebar.scss +7 -3
  124. package/components/Skeleton/skeleton.css +16 -15
  125. package/components/Slider/slider.css +32 -18
  126. package/components/Switch/switch.css +4 -2
  127. package/components/Switch/switch.scss +1 -1
  128. package/components/Table/table-grid.css +28 -36
  129. package/components/Table/table-grid.scss +4 -4
  130. package/components/Table/table-scrollable.css +1 -1
  131. package/components/Table/table-scrollable.scss +1 -1
  132. package/components/Table/table-tree-view.css +4 -2
  133. package/components/Table/table.css +104 -57
  134. package/components/Table/table.scss +92 -37
  135. package/components/Tabs/tabs.css +39 -33
  136. package/components/Tabs/tabs.scss +38 -26
  137. package/components/TextInputGroup/text-input-group.css +2 -2
  138. package/components/TextInputGroup/text-input-group.scss +2 -2
  139. package/components/ToggleGroup/toggle-group.css +44 -19
  140. package/components/ToggleGroup/toggle-group.scss +51 -22
  141. package/components/Toolbar/toolbar.css +199 -17
  142. package/components/Toolbar/toolbar.scss +93 -10
  143. package/components/TreeView/tree-view.css +45 -14
  144. package/components/TreeView/tree-view.scss +32 -1
  145. package/components/Wizard/wizard.css +41 -19
  146. package/components/Wizard/wizard.scss +26 -6
  147. package/components/_index.css +2787 -864
  148. package/components/_index.scss +3 -1
  149. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -1
  150. package/docs/components/Accordion/examples/Accordion.md +392 -30
  151. package/docs/components/ActionList/examples/ActionList.md +143 -11
  152. package/docs/components/Alert/examples/Alert.md +678 -54
  153. package/docs/components/Avatar/examples/Avatar.md +4 -4
  154. package/docs/components/BackToTop/examples/BackToTop.md +13 -1
  155. package/docs/components/Banner/examples/Banner.md +196 -5
  156. package/docs/components/Brand/examples/Brand.md +2 -2
  157. package/docs/components/Breadcrumb/examples/Breadcrumb.md +313 -26
  158. package/docs/components/Button/examples/Button.md +2829 -333
  159. package/docs/components/CalendarMonth/examples/CalendarMonth.md +156 -12
  160. package/docs/components/Card/examples/Card.md +337 -14
  161. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +293 -28
  162. package/docs/components/CodeBlock/examples/CodeBlock.md +104 -8
  163. package/docs/components/CodeEditor/examples/CodeEditor.md +234 -18
  164. package/docs/components/Compass/examples/Compass.css +8 -0
  165. package/docs/components/Compass/examples/Compass.md +115 -0
  166. package/docs/components/DataList/examples/DataList.md +446 -37
  167. package/docs/components/DatePicker/examples/DatePicker.md +78 -6
  168. package/docs/components/DescriptionList/examples/DescriptionList.md +327 -27
  169. package/docs/components/Divider/examples/Divider.md +2 -2
  170. package/docs/components/DragDrop/examples/DragDrop.css +1 -1
  171. package/docs/components/Drawer/examples/Drawer.md +415 -35
  172. package/docs/components/DualListSelector/examples/DualListSelector.md +1247 -161
  173. package/docs/components/EmptyState/examples/EmptyState.md +78 -6
  174. package/docs/components/ExpandableSection/examples/ExpandableSection.md +91 -7
  175. package/docs/components/Form/examples/Form.md +78 -6
  176. package/docs/components/Hero/examples/Hero.md +25 -0
  177. package/docs/components/Hint/examples/Hint.md +39 -3
  178. package/docs/components/Icon/examples/Icon.md +105 -9
  179. package/docs/components/InlineEdit/examples/InlineEdit.md +338 -26
  180. package/docs/components/InputGroup/examples/InputGroup.md +40 -4
  181. package/docs/components/JumpLinks/examples/JumpLinks.md +54 -6
  182. package/docs/components/Label/examples/Label.md +2834 -218
  183. package/docs/components/Login/examples/Login.md +39 -3
  184. package/docs/components/Masthead/examples/masthead.md +158 -7
  185. package/docs/components/Menu/examples/Menu.md +1679 -133
  186. package/docs/components/MenuToggle/examples/MenuToggle.md +1514 -118
  187. package/docs/components/ModalBox/examples/ModalBox.md +289 -25
  188. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +156 -12
  189. package/docs/components/Nav/examples/Navigation.md +898 -62
  190. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +1079 -83
  191. package/docs/components/OverflowMenu/examples/overflow-menu.css +6 -3
  192. package/docs/components/OverflowMenu/examples/overflow-menu.md +164 -11
  193. package/docs/components/Page/examples/Page.md +211 -25
  194. package/docs/components/Pagination/examples/Pagination.md +1291 -80
  195. package/docs/components/Panel/examples/Panel.css +3 -0
  196. package/docs/components/Panel/examples/Panel.md +71 -4
  197. package/docs/components/Popover/examples/Popover.md +286 -22
  198. package/docs/components/Progress/examples/Progress.md +91 -7
  199. package/docs/components/ProgressStepper/examples/ProgressStepper.md +275 -23
  200. package/docs/components/Sidebar/examples/Sidebar.md +1 -1
  201. package/docs/components/Slider/examples/Slider.md +52 -4
  202. package/docs/components/Table/examples/Table.css +2 -1
  203. package/docs/components/Table/examples/Table.md +7543 -653
  204. package/docs/components/Tabs/examples/Tabs.md +5734 -471
  205. package/docs/components/TextInputGroup/examples/TextInputGroup.md +600 -48
  206. package/docs/components/ToggleGroup/examples/toggle-group.md +261 -15
  207. package/docs/components/Toolbar/examples/Toolbar.css +1 -1
  208. package/docs/components/Toolbar/examples/Toolbar.md +1145 -88
  209. package/docs/components/TreeView/examples/TreeView.md +1390 -130
  210. package/docs/components/Wizard/examples/Wizard.md +828 -73
  211. package/docs/demos/AboutModal/examples/AboutModal.md +159 -54
  212. package/docs/demos/Alert/examples/Alert.md +542 -167
  213. package/docs/demos/BackToTop/examples/BackToTop.md +159 -54
  214. package/docs/demos/Banner/examples/Banner.md +292 -106
  215. package/docs/demos/Button/examples/Button.md +13 -1
  216. package/docs/demos/Card/examples/Card.md +1041 -134
  217. package/docs/demos/CardView/examples/CardView.md +571 -172
  218. package/docs/demos/Compass/examples/Compass.md +10178 -0
  219. package/docs/demos/Dashboard/examples/Dashboard.md +746 -178
  220. package/docs/demos/DataList/examples/DataList.md +1305 -296
  221. package/docs/demos/DescriptionList/examples/DescriptionList.md +475 -163
  222. package/docs/demos/Drawer/examples/Drawer.md +723 -267
  223. package/docs/demos/Form/examples/BasicForms.md +273 -21
  224. package/docs/demos/JumpLinks/examples/JumpLinks.md +868 -325
  225. package/docs/demos/Masthead/examples/Masthead.md +1128 -498
  226. package/docs/demos/Modal/examples/Modal.md +954 -327
  227. package/docs/demos/Nav/examples/Nav.md +3455 -505
  228. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +2423 -410
  229. package/docs/demos/Page/examples/Page.md +2151 -787
  230. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
  231. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +52 -4
  232. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1920 -511
  233. package/docs/demos/Skeleton/examples/Skeleton.md +146 -53
  234. package/docs/demos/Table/examples/Table.md +11822 -2290
  235. package/docs/demos/Tabs/examples/Tabs.md +1123 -343
  236. package/docs/demos/Toolbar/examples/Toolbar.md +1820 -288
  237. package/docs/demos/Wizard/examples/Wizard.md +1714 -535
  238. package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
  239. package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
  240. package/docs/layouts/Flex/examples/Flex.css +3 -3
  241. package/docs/layouts/Flex/examples/Flex.md +3 -2
  242. package/docs/layouts/Gallery/examples/Gallery.css +2 -2
  243. package/docs/layouts/Gallery/examples/Gallery.md +4 -3
  244. package/docs/layouts/Grid/examples/Grid.css +1 -1
  245. package/docs/layouts/Grid/examples/Grid.md +6 -5
  246. package/docs/layouts/Level/examples/Level.css +3 -3
  247. package/docs/layouts/Level/examples/Level.md +2 -1
  248. package/docs/layouts/Split/examples/Split.css +1 -1
  249. package/docs/layouts/Split/examples/Split.md +2 -1
  250. package/docs/layouts/Stack/examples/Stack.css +3 -3
  251. package/docs/layouts/Stack/examples/Stack.md +2 -1
  252. package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
  253. package/docs/utilities/Alignment/examples/Alignment.css +4 -4
  254. package/docs/utilities/Alignment/examples/Alignment.md +3 -2
  255. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
  256. package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
  257. package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
  258. package/docs/utilities/Display/examples/Display.css +1 -1
  259. package/docs/utilities/Display/examples/Display.md +3 -2
  260. package/docs/utilities/Flex/examples/Flex.css +7 -7
  261. package/docs/utilities/Flex/examples/Flex.md +3 -2
  262. package/docs/utilities/Float/examples/Float.css +2 -2
  263. package/docs/utilities/Float/examples/Float.md +3 -2
  264. package/docs/utilities/Sizing/examples/Sizing.md +8 -7
  265. package/docs/utilities/Spacing/examples/Spacing.css +2 -2
  266. package/docs/utilities/Spacing/examples/Spacing.md +3 -2
  267. package/docs/utilities/Text/examples/Text.md +5 -4
  268. package/icons/PfIcons/add-circle-o.svg +4 -0
  269. package/icons/PfIcons/ansible-tower.svg +4 -0
  270. package/icons/PfIcons/applications.svg +4 -0
  271. package/icons/PfIcons/arrow.svg +4 -0
  272. package/icons/PfIcons/asleep.svg +4 -0
  273. package/icons/PfIcons/attention-bell.svg +4 -0
  274. package/icons/PfIcons/automation.svg +4 -0
  275. package/icons/PfIcons/bell.svg +4 -0
  276. package/icons/PfIcons/blueprint.svg +4 -0
  277. package/icons/PfIcons/build.svg +4 -0
  278. package/icons/PfIcons/builder-image.svg +4 -0
  279. package/icons/PfIcons/bundle.svg +4 -0
  280. package/icons/PfIcons/catalog.svg +4 -0
  281. package/icons/PfIcons/chat.svg +4 -0
  282. package/icons/PfIcons/close.svg +4 -0
  283. package/icons/PfIcons/cloud-security.svg +4 -0
  284. package/icons/PfIcons/cloud-tenant.svg +4 -0
  285. package/icons/PfIcons/cluster.svg +4 -0
  286. package/icons/PfIcons/connected.svg +4 -0
  287. package/icons/PfIcons/container-node.svg +4 -0
  288. package/icons/PfIcons/cpu.svg +4 -0
  289. package/icons/PfIcons/critical-risk.svg +4 -0
  290. package/icons/PfIcons/data-processor.svg +4 -0
  291. package/icons/PfIcons/data-sink.svg +4 -0
  292. package/icons/PfIcons/data-source.svg +4 -0
  293. package/icons/PfIcons/degraded.svg +4 -0
  294. package/icons/PfIcons/disconnected.svg +4 -0
  295. package/icons/PfIcons/domain.svg +4 -0
  296. package/icons/PfIcons/edit.svg +4 -0
  297. package/icons/PfIcons/enhancement.svg +4 -0
  298. package/icons/PfIcons/enterprise.svg +4 -0
  299. package/icons/PfIcons/equalizer.svg +4 -0
  300. package/icons/PfIcons/error-circle-o.svg +4 -0
  301. package/icons/PfIcons/export.svg +4 -0
  302. package/icons/PfIcons/filter.svg +4 -0
  303. package/icons/PfIcons/flavor.svg +4 -0
  304. package/icons/PfIcons/folder-close.svg +4 -0
  305. package/icons/PfIcons/folder-open.svg +4 -0
  306. package/icons/PfIcons/globe-route.svg +4 -0
  307. package/icons/PfIcons/help.svg +4 -0
  308. package/icons/PfIcons/history.svg +4 -0
  309. package/icons/PfIcons/home.svg +4 -0
  310. package/icons/PfIcons/import.svg +4 -0
  311. package/icons/PfIcons/in-progress.svg +4 -0
  312. package/icons/PfIcons/info.svg +4 -0
  313. package/icons/PfIcons/infrastructure.svg +4 -0
  314. package/icons/PfIcons/integration.svg +4 -0
  315. package/icons/PfIcons/key.svg +4 -0
  316. package/icons/PfIcons/locked.svg +4 -0
  317. package/icons/PfIcons/maintenance.svg +4 -0
  318. package/icons/PfIcons/memory.svg +4 -0
  319. package/icons/PfIcons/messages.svg +4 -0
  320. package/icons/PfIcons/middleware.svg +4 -0
  321. package/icons/PfIcons/migration.svg +4 -0
  322. package/icons/PfIcons/module.svg +4 -0
  323. package/icons/PfIcons/monitoring.svg +4 -0
  324. package/icons/PfIcons/multicluster.svg +4 -0
  325. package/icons/PfIcons/namespaces.svg +4 -0
  326. package/icons/PfIcons/network.svg +4 -0
  327. package/icons/PfIcons/new-process.svg +4 -0
  328. package/icons/PfIcons/not-started.svg +4 -0
  329. package/icons/PfIcons/off.svg +4 -0
  330. package/icons/PfIcons/ok.svg +4 -0
  331. package/icons/PfIcons/on-running.svg +4 -0
  332. package/icons/PfIcons/on.svg +4 -0
  333. package/icons/PfIcons/open-drawer-right.svg +4 -0
  334. package/icons/PfIcons/openshift.svg +4 -0
  335. package/icons/PfIcons/openstack.svg +4 -0
  336. package/icons/PfIcons/optimize.svg +4 -0
  337. package/icons/PfIcons/orders.svg +4 -0
  338. package/icons/PfIcons/os-image.svg +4 -0
  339. package/icons/PfIcons/package.svg +4 -0
  340. package/icons/PfIcons/panel-close.svg +4 -0
  341. package/icons/PfIcons/panel-open.svg +4 -0
  342. package/icons/PfIcons/paused.svg +4 -0
  343. package/icons/PfIcons/pending.svg +4 -0
  344. package/icons/PfIcons/pficon-dragdrop.svg +4 -0
  345. package/icons/PfIcons/pficon-history.svg +4 -0
  346. package/icons/PfIcons/pficon-network-range.svg +4 -0
  347. package/icons/PfIcons/pficon-satellite.svg +4 -0
  348. package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
  349. package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
  350. package/icons/PfIcons/pficon-template.svg +4 -0
  351. package/icons/PfIcons/pficon-vcenter.svg +4 -0
  352. package/icons/PfIcons/plugged.svg +4 -0
  353. package/icons/PfIcons/port.svg +4 -0
  354. package/icons/PfIcons/print.svg +4 -0
  355. package/icons/PfIcons/private.svg +4 -0
  356. package/icons/PfIcons/process-automation.svg +4 -0
  357. package/icons/PfIcons/project.svg +4 -0
  358. package/icons/PfIcons/rebalance.svg +4 -0
  359. package/icons/PfIcons/rebooting.svg +4 -0
  360. package/icons/PfIcons/regions.svg +4 -0
  361. package/icons/PfIcons/registry.svg +4 -0
  362. package/icons/PfIcons/remove2.svg +4 -0
  363. package/icons/PfIcons/replicator.svg +4 -0
  364. package/icons/PfIcons/repository.svg +4 -0
  365. package/icons/PfIcons/resource-pool.svg +4 -0
  366. package/icons/PfIcons/resources-almost-empty.svg +4 -0
  367. package/icons/PfIcons/resources-almost-full.svg +4 -0
  368. package/icons/PfIcons/resources-empty.svg +4 -0
  369. package/icons/PfIcons/resources-full.svg +4 -0
  370. package/icons/PfIcons/running.svg +4 -0
  371. package/icons/PfIcons/save.svg +4 -0
  372. package/icons/PfIcons/screen.svg +4 -0
  373. package/icons/PfIcons/security.svg +4 -0
  374. package/icons/PfIcons/server-group.svg +4 -0
  375. package/icons/PfIcons/server.svg +4 -0
  376. package/icons/PfIcons/service-catalog.svg +4 -0
  377. package/icons/PfIcons/service.svg +4 -0
  378. package/icons/PfIcons/services.svg +4 -0
  379. package/icons/PfIcons/severity-critical.svg +4 -0
  380. package/icons/PfIcons/severity-important.svg +4 -0
  381. package/icons/PfIcons/severity-minor.svg +4 -0
  382. package/icons/PfIcons/severity-moderate.svg +4 -0
  383. package/icons/PfIcons/severity-none.svg +4 -0
  384. package/icons/PfIcons/severity-undefined.svg +4 -0
  385. package/icons/PfIcons/spinner.svg +4 -0
  386. package/icons/PfIcons/spinner2.svg +4 -0
  387. package/icons/PfIcons/storage-domain.svg +4 -0
  388. package/icons/PfIcons/task.svg +4 -0
  389. package/icons/PfIcons/tenant.svg +4 -0
  390. package/icons/PfIcons/thumb-tack.svg +4 -0
  391. package/icons/PfIcons/topology.svg +4 -0
  392. package/icons/PfIcons/treeview.svg +4 -0
  393. package/icons/PfIcons/trend-down.svg +4 -0
  394. package/icons/PfIcons/trend-up.svg +4 -0
  395. package/icons/PfIcons/unknown.svg +4 -0
  396. package/icons/PfIcons/unlocked.svg +4 -0
  397. package/icons/PfIcons/unplugged.svg +4 -0
  398. package/icons/PfIcons/user.svg +4 -0
  399. package/icons/PfIcons/users.svg +4 -0
  400. package/icons/PfIcons/virtual-machine.svg +4 -0
  401. package/icons/PfIcons/volume.svg +4 -0
  402. package/icons/PfIcons/warning-triangle.svg +4 -0
  403. package/icons/PfIcons/zone.svg +4 -0
  404. package/layouts/Flex/flex.scss +83 -19
  405. package/layouts/Gallery/gallery.css +6 -2
  406. package/layouts/_index.css +6 -2
  407. package/package.json +57 -17
  408. package/patternfly-base-no-globals.css +944 -506
  409. package/patternfly-base.css +957 -504
  410. package/patternfly-charts.css +379 -20
  411. package/patternfly-charts.scss +38 -15
  412. package/patternfly-no-globals.css +3562 -1197
  413. package/patternfly.css +3577 -1197
  414. package/patternfly.min.css +1 -1
  415. package/patternfly.min.css.map +1 -1
  416. package/sass-utilities/functions.scss +32 -25
  417. package/sass-utilities/mixins.scss +54 -23
  418. package/sass-utilities/namespaces-components.scss +6 -0
  419. package/sass-utilities/scss-variables.scss +3 -0
@@ -3,10 +3,13 @@
3
3
  @use '../sass-utilities/scss-variables' as *;
4
4
  @use '../sass-utilities/init' as *;
5
5
  @use 'sass:math';
6
+ @use 'sass:meta';
7
+ @use 'sass:list';
8
+ @use 'sass:map';
6
9
 
7
10
  // Transform px to rems
8
11
  @function pf-strip-unit($num) {
9
- @if type-of($num) == 'number' and not unitless($num) {
12
+ @if meta.type-of($num) == 'number' and not math.is-unitless($num) {
10
13
  @return math.div($num, ($num * 0 + 1));
11
14
  }
12
15
 
@@ -29,16 +32,20 @@
29
32
 
30
33
  // Return (width) breakpoint value if it exists
31
34
  @function pf-breakpoint-value($breakpoint, $breakpoint-map: $pf-v6-global--breakpoint-name-map) {
32
- $breakpoint-value: if(map-has-key($breakpoint-map, #{$breakpoint}), map-get($breakpoint-map, #{$breakpoint}), false);
33
-
34
- @return #{$breakpoint-value};
35
+ @if map.has-key($breakpoint-map, #{$breakpoint}) {
36
+ @return #{map.get($breakpoint-map, #{$breakpoint})};
37
+ } @else {
38
+ @return false;
39
+ }
35
40
  }
36
41
 
37
42
  // Return height breakpoint value if it exists
38
43
  @function pf-height-breakpoint-value($height-breakpoint, $height-breakpoint-map: $pf-v6-global--height-breakpoint-name-map) {
39
- $height-breakpoint-value: if(map-has-key($height-breakpoint-map, #{$height-breakpoint}), map-get($height-breakpoint-map, #{$height-breakpoint}), false);
40
-
41
- @return #{$height-breakpoint-value};
44
+ @if map.has-key($height-breakpoint-map, #{$height-breakpoint}) {
45
+ @return #{map.get($height-breakpoint-map, #{$height-breakpoint})};
46
+ } @else {
47
+ @return false;
48
+ }
42
49
  }
43
50
 
44
51
  // Build breakpoint map
@@ -46,17 +53,17 @@
46
53
  @function build-breakpoint-map($map-items...) {
47
54
  $map: ();
48
55
 
49
- @if length($map-items) == 0 {
56
+ @if list.length($map-items) == 0 {
50
57
  $map: ("base": null);
51
- $map: map-merge($map, $pf-v6-global--breakpoint-name-map);
58
+ $map: map.merge($map, $pf-v6-global--breakpoint-name-map);
52
59
  } @else {
53
60
  @each $breakpoint in $map-items {
54
- @if not map-has-key($pf-v6-global--breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
55
- $map: map-merge($map, ("invalid breakpoint #{$breakpoint}": null));
61
+ @if not map.has-key($pf-v6-global--breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
62
+ $map: map.merge($map, ("invalid breakpoint #{$breakpoint}": null));
56
63
  } @else if $breakpoint == "base" {
57
- $map: map-merge($map, ($breakpoint: null));
64
+ $map: map.merge($map, ($breakpoint: null));
58
65
  } @else {
59
- $map: map-merge($map, ($breakpoint: map-get($pf-v6-global--breakpoint-name-map, #{$breakpoint})));
66
+ $map: map.merge($map, ($breakpoint: map.get($pf-v6-global--breakpoint-name-map, #{$breakpoint})));
60
67
  }
61
68
  }
62
69
  }
@@ -69,17 +76,17 @@
69
76
  @function build-height-breakpoint-map($map-items...) {
70
77
  $map: ();
71
78
 
72
- @if length($map-items) == 0 {
79
+ @if list.length($map-items) == 0 {
73
80
  $map: ("base": null);
74
- $map: map-merge($map, $pf-v6-global--height-breakpoint-name-map);
81
+ $map: map.merge($map, $pf-v6-global--height-breakpoint-name-map);
75
82
  } @else {
76
83
  @each $breakpoint in $map-items {
77
- @if not map-has-key($pf-v6-global--height-breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
78
- $map: map-merge($map, ("invalid breakpoint #{$breakpoint}": null));
84
+ @if not map.has-key($pf-v6-global--height-breakpoint-name-map, $breakpoint) and $breakpoint != "base" {
85
+ $map: map.merge($map, ("invalid breakpoint #{$breakpoint}": null));
79
86
  } @else if $breakpoint == "base" {
80
- $map: map-merge($map, ($breakpoint: null));
87
+ $map: map.merge($map, ($breakpoint: null));
81
88
  } @else {
82
- $map: map-merge($map, ($breakpoint: map-get($pf-v6-global--height-breakpoint-name-map, #{$breakpoint})));
89
+ $map: map.merge($map, ($breakpoint: map.get($pf-v6-global--height-breakpoint-name-map, #{$breakpoint})));
83
90
  }
84
91
  }
85
92
  }
@@ -93,17 +100,17 @@
93
100
  @function build-spacer-map($map-items...) {
94
101
  $map: ();
95
102
 
96
- @if length($map-items) == 0 {
103
+ @if list.length($map-items) == 0 {
97
104
  $map: ("none": 0);
98
- $map: map-merge($map, $pf-v6-global--spacer-map);
99
- $map: map-remove($map, "auto", "0");
105
+ $map: map.merge($map, $pf-v6-global--spacer-map);
106
+ $map: map.remove($map, "auto", "0");
100
107
  }
101
108
 
102
109
  @each $spacer in $map-items {
103
110
  @if $spacer == "none" {
104
- $map: map-merge($map, ($spacer: 0));
111
+ $map: map.merge($map, ($spacer: 0));
105
112
  } @else {
106
- $map: map-merge($map, ($spacer: map-get($pf-v6-global--spacer-map, #{$spacer})));
113
+ $map: map.merge($map, ($spacer: map.get($pf-v6-global--spacer-map, #{$spacer})));
107
114
  }
108
115
  }
109
116
 
@@ -116,7 +123,7 @@
116
123
  $new-map: ();
117
124
 
118
125
  @each $size, $value in $map {
119
- $new-map: map-merge($new-map, (map-get($map, $size): --#{$namespace}--#{$size}));
126
+ $new-map: map.merge($new-map, (map.get($map, $size): --#{$namespace}--#{$size}));
120
127
  }
121
128
 
122
129
  @return $new-map;
@@ -2,6 +2,8 @@
2
2
  @use '../sass-utilities/init' as *;
3
3
  @use '../sass-utilities/scss-variables' as *;
4
4
  @use '../sass-utilities/namespaces-components' as *;
5
+ @use 'sass:list';
6
+ @use 'sass:meta';
5
7
 
6
8
  // Media query used to create responsive classes
7
9
  @mixin pf-v6-media-query($point) {
@@ -85,10 +87,10 @@
85
87
  // if $class-name is a map
86
88
 
87
89
  // stylelint-disable
88
- @if type-of($props) == map {
90
+ @if meta.type-of($props) == map {
89
91
  @each $class, $val in $props {
90
- $property: nth($val, 1);
91
- $value: #{nth($val, 2)} !important;
92
+ $property: list.nth($val, 1);
93
+ $value: #{list.nth($val, 2)} !important;
92
94
 
93
95
  .#{$pf-prefix}u-#{$class} {
94
96
  #{$property}: #{$value};
@@ -103,8 +105,8 @@
103
105
  @if $direction == 'height' {
104
106
  @include pf-v6-height-media-query($breakpoint) {
105
107
  @each $class, $val in $props {
106
- $property: nth($val, 1);
107
- $value: #{nth($val, 2)} !important;
108
+ $property: list.nth($val, 1);
109
+ $value: #{list.nth($val, 2)} !important;
108
110
 
109
111
  .#{$pf-prefix}u-#{$class}#{$suffix}-height {
110
112
  #{$property}: #{$value};
@@ -115,8 +117,8 @@
115
117
  @else if ($direction == 'width') {
116
118
  @include pf-v6-media-query($breakpoint) {
117
119
  @each $class, $val in $props {
118
- $property: nth($val, 1);
119
- $value: #{nth($val, 2)} !important;
120
+ $property: list.nth($val, 1);
121
+ $value: #{list.nth($val, 2)} !important;
120
122
 
121
123
  .#{$pf-prefix}u-#{$class}#{$suffix} {
122
124
  #{$property}: #{$value};
@@ -127,10 +129,10 @@
127
129
  }
128
130
  }
129
131
  }
130
- @else if type-of($props) == list {
131
- $class: nth($props, 1);
132
- $property: nth($props, 2);
133
- $value: nth($props, 3) !important;
132
+ @else if meta.type-of($props) == list {
133
+ $class: list.nth($props, 1);
134
+ $property: list.nth($props, 2);
135
+ $value: list.nth($props, 3) !important;
134
136
 
135
137
  .#{$pf-prefix}u-#{$class} {
136
138
  #{$property}: #{$value};
@@ -179,10 +181,10 @@
179
181
  @mixin pf-v6-line-clamp($line-clamp-val: 1) {
180
182
  // stylelint-disable
181
183
  display: -webkit-box;
184
+ overflow: hidden;
182
185
  -webkit-box-orient: vertical;
183
186
  -webkit-line-clamp: #{$line-clamp-val};
184
187
  // stylelint-enable
185
- overflow: hidden;
186
188
  }
187
189
 
188
190
  @mixin pf-v6-overflow-hide-scroll {
@@ -194,7 +196,7 @@
194
196
  -ms-overflow-style: -ms-autohiding-scrollbar; // auto hides scrollbars in Edge
195
197
  }
196
198
 
197
- @mixin pf-v6-hidden-visible($val: "block") {
199
+ @mixin pf-v6-hidden-visible($val: "block", $ifIncludeHeight: false) {
198
200
  // stylelint-disable-next-line
199
201
  --#{$pf-prefix}hidden-visible--visible--Display: #{$val};
200
202
 
@@ -216,6 +218,21 @@
216
218
  --#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--hidden--Display);
217
219
  }
218
220
 
221
+ // only apply height breakpoints if $ifIncludeHeight is true
222
+ @if $ifIncludeHeight {
223
+ @each $size, $bp in $pf-v6-global--height-breakpoint-name-map {
224
+ @media screen and (min-height: $bp) {
225
+ &.pf-m-hidden-on-#{$size}-height {
226
+ --#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--hidden--Display);
227
+ }
228
+
229
+ &.pf-m-visible-on-#{$size}-height {
230
+ --#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--visible--Display);
231
+ }
232
+ }
233
+ }
234
+ }
235
+
219
236
  @each $size, $bp in $pf-v6-global--breakpoint-name-map {
220
237
  @media screen and (min-width: $bp) {
221
238
  &.pf-m-hidden-on-#{$size} {
@@ -305,14 +322,14 @@
305
322
 
306
323
  // Build variable list
307
324
  @if $breakpoint != "base" {
308
- $list: append($list, $css-var + "-on-" + $breakpoint);
325
+ $list: list.append($list, $css-var + "-on-" + $breakpoint);
309
326
  } @else {
310
- $list: append($list, $css-var);
327
+ $list: list.append($list, $css-var);
311
328
  }
312
329
 
313
330
  // Construct variable stack
314
331
  @each $list-item in $list {
315
- @if length($variable-list) == 0 {
332
+ @if list.length($variable-list) == 0 {
316
333
  $variable-list: var(#{$list-item});
317
334
  } @else {
318
335
  $variable-list: var(#{$list-item}, $variable-list);
@@ -340,7 +357,7 @@
340
357
  // Build variable list
341
358
  // stylelint-disable scss/at-if-no-null
342
359
  @if $breakpoint-value {
343
- $list: append($list, $css-var + "-on-" + $breakpoint);
360
+ $list: list.append($list, $css-var + "-on-" + $breakpoint);
344
361
  }
345
362
  // stylelint-enable
346
363
  }
@@ -391,7 +408,11 @@
391
408
  // background: red;
392
409
  // }
393
410
  @mixin pf-v6-rtl($hasWhere: true) {
394
- $sel: if($hasWhere,':where',':is');
411
+ $sel: ':is';
412
+
413
+ @if $hasWhere {
414
+ $sel: ':where';
415
+ }
395
416
 
396
417
  @at-root #{$sel}(.#{$pf-prefix}m-dir-rtl, [dir="rtl"]) #{&} {
397
418
  @content;
@@ -400,7 +421,11 @@
400
421
 
401
422
  // Used to create the LTR selector for LTR specific styles
402
423
  @mixin pf-v6-ltr($hasWhere: true) {
403
- $sel: if($hasWhere,':where',':is');
424
+ $sel: ':is';
425
+
426
+ @if $hasWhere {
427
+ $sel: ':where';
428
+ }
404
429
 
405
430
  @at-root #{$sel}(.#{$pf-prefix}m-dir-ltr, [dir="ltr"]) #{&} {
406
431
  @content;
@@ -439,11 +464,17 @@
439
464
 
440
465
  // Declares a global inverse multiplier var used for returning the inverse of a number. Defined within blocks that reference the global var in calc() functions to conditionally return the default or inverse value of a number.
441
466
  @mixin pf-v6-set-inverse($val: true) {
442
- --#{$pf-global}--inverse--multiplier: #{if($val, -1, 1)};
467
+ @if $val {
468
+ --#{$pf-global}--inverse--multiplier: -1;
469
+ } @else {
470
+ --#{$pf-global}--inverse--multiplier: 1;
471
+ }
443
472
  }
444
473
 
445
474
  @mixin pf-root($selector, $isClass: true) {
446
- $selector: if($isClass, "." + $selector, $selector);
475
+ @if $isClass {
476
+ $selector: "." + $selector;
477
+ }
447
478
  #{$selector} {
448
479
  @content
449
480
  }
@@ -468,9 +499,9 @@
468
499
  // collapse
469
500
  @if $collapse {
470
501
  --#{$button}__icon--TransitionDelay: 0s;
471
- --#{$button}__icon--ScaleX: 1;
502
+ --#{$button}__icon--ScaleX: var(--#{$button}--m-hamburger__icon--m-collapse--ScaleX);
472
503
  --#{$button}--hover__icon--TransitionDelay: 0s;
473
- --#{$button}--hover__icon--ScaleX: 1;
504
+ --#{$button}--hover__icon--ScaleX: var(--#{$button}--m-hamburger__icon--m-collapse--ScaleX);
474
505
 
475
506
  // expand
476
507
  } @else {
@@ -63,6 +63,9 @@ $code-block: #{$pf-prefix} + 'c-code-block';
63
63
  // Code Editor
64
64
  $code-editor: #{$pf-prefix} + 'c-code-editor';
65
65
 
66
+ // Compass
67
+ $compass: #{$pf-prefix} + 'c-compass';
68
+
66
69
  // Content
67
70
  $content: #{$pf-prefix} + 'c-content';
68
71
 
@@ -107,6 +110,9 @@ $form-control: #{$pf-prefix} + 'c-form-control';
107
110
  // Helper Text
108
111
  $helper-text: #{$pf-prefix} + 'c-helper-text';
109
112
 
113
+ // Hero
114
+ $hero: #{$pf-prefix} + 'c-hero';
115
+
110
116
  // Hint
111
117
  $hint: #{$pf-prefix} + 'c-hint';
112
118
 
@@ -41,6 +41,9 @@ $pf-v6-global--height-breakpoint--lg: 48rem !default; // 768px
41
41
  $pf-v6-global--height-breakpoint--xl: 60rem !default; // 960px
42
42
  $pf-v6-global--height-breakpoint--2xl: 80rem !default; // 1280px
43
43
 
44
+ // Semantic breakpoints
45
+ $pf-v6-global--breakpoint--dock--desktop: $pf-v6-global--breakpoint--lg !default;
46
+
44
47
  // Global breakpoint map - used for @pf-grid-item-modifiers
45
48
  $pf-v6-global--breakpoint-map: (
46
49
  "": null,