@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2

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 (501) hide show
  1. package/README.md +1 -2
  2. package/assets/fontawesome/_animated.scss +1 -0
  3. package/assets/fontawesome/_bordered-pulled.scss +1 -0
  4. package/assets/fontawesome/_core.scss +2 -0
  5. package/assets/fontawesome/_fixed-width.scss +2 -0
  6. package/assets/fontawesome/_icons.scss +1 -0
  7. package/assets/fontawesome/_index.scss +12 -0
  8. package/assets/fontawesome/_larger.scss +4 -2
  9. package/assets/fontawesome/_list.scss +4 -2
  10. package/assets/fontawesome/_rotated-flipped.scss +2 -0
  11. package/assets/fontawesome/_screen-reader.scss +1 -0
  12. package/assets/fontawesome/_stacked.scss +3 -1
  13. package/assets/fontawesome/_variables.scss +3 -2
  14. package/assets/fontawesome/fontawesome.scss +12 -12
  15. package/assets/icons/iconUnicodes.json +6 -0
  16. package/assets/images/img_avatar-dark.svg +22 -16
  17. package/assets/images/img_avatar-light.svg +25 -18
  18. package/assets/images/pf-background.svg +21 -21
  19. package/assets/images/pf_logo.svg +11 -11
  20. package/assets/images/pf_logo_white.svg +16 -17
  21. package/assets/pficon/pf-v6-pficon.woff2 +0 -0
  22. package/assets/pficon/pficon.scss +310 -271
  23. package/base/_index.scss +10 -0
  24. package/base/{_globals.scss → normalize.scss} +15 -48
  25. package/base/patternfly-common.css +14 -0
  26. package/base/patternfly-common.scss +68 -2
  27. package/base/patternfly-fa-icons.css +1 -1
  28. package/base/patternfly-fa-icons.scss +35 -2
  29. package/base/patternfly-fonts.css +10 -80
  30. package/base/patternfly-fonts.scss +49 -2
  31. package/base/patternfly-pf-icons.css +158 -134
  32. package/base/patternfly-pf-icons.scss +1 -2
  33. package/base/patternfly-svg-icons.css +5 -0
  34. package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
  35. package/base/patternfly-variables.css +1082 -1206
  36. package/base/patternfly-variables.scss +20 -2
  37. package/base/reset.scss +33 -0
  38. package/base/tokens/_index.scss +6 -0
  39. package/base/tokens/tokens-charts-dark.scss +173 -0
  40. package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
  41. package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
  42. package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
  43. package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
  44. package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
  45. package/components/AboutModalBox/about-modal-box.css +86 -81
  46. package/components/AboutModalBox/about-modal-box.scss +80 -82
  47. package/components/Accordion/accordion.css +44 -43
  48. package/components/Accordion/accordion.scss +52 -52
  49. package/components/ActionList/action-list.css +6 -5
  50. package/components/ActionList/action-list.scss +7 -5
  51. package/components/Alert/alert-group.css +72 -19
  52. package/components/Alert/alert-group.scss +105 -18
  53. package/components/Alert/alert.css +52 -59
  54. package/components/Alert/alert.scss +56 -65
  55. package/components/Avatar/avatar.css +42 -41
  56. package/components/Avatar/avatar.scss +8 -7
  57. package/components/BackToTop/back-to-top.css +19 -17
  58. package/components/BackToTop/back-to-top.scss +17 -17
  59. package/components/Backdrop/backdrop.css +1 -1
  60. package/components/Backdrop/backdrop.scss +3 -4
  61. package/components/BackgroundImage/background-image.scss +3 -4
  62. package/components/Badge/badge.css +29 -7
  63. package/components/Badge/badge.scss +33 -9
  64. package/components/Banner/banner.css +30 -37
  65. package/components/Banner/banner.scss +30 -43
  66. package/components/Brand/brand.css +14 -10
  67. package/components/Brand/brand.scss +8 -5
  68. package/components/Breadcrumb/breadcrumb.css +23 -24
  69. package/components/Breadcrumb/breadcrumb.scss +25 -28
  70. package/components/Button/button.css +150 -128
  71. package/components/Button/button.scss +155 -130
  72. package/components/CalendarMonth/calendar-month.css +46 -46
  73. package/components/CalendarMonth/calendar-month.scss +49 -50
  74. package/components/Card/card.css +110 -93
  75. package/components/Card/card.scss +118 -92
  76. package/components/Check/check.css +5 -5
  77. package/components/Check/check.scss +7 -8
  78. package/components/ClipboardCopy/clipboard-copy.css +33 -41
  79. package/components/ClipboardCopy/clipboard-copy.scss +35 -44
  80. package/components/CodeBlock/code-block.css +21 -20
  81. package/components/CodeBlock/code-block.scss +21 -21
  82. package/components/CodeEditor/code-editor.css +35 -34
  83. package/components/CodeEditor/code-editor.scss +35 -35
  84. package/components/Content/content.css +167 -153
  85. package/components/Content/content.scss +204 -145
  86. package/components/DataList/data-list-grid.css +117 -117
  87. package/components/DataList/data-list-grid.scss +22 -20
  88. package/components/DataList/data-list.css +308 -312
  89. package/components/DataList/data-list.scss +145 -152
  90. package/components/DatePicker/date-picker.css +17 -17
  91. package/components/DatePicker/date-picker.scss +17 -18
  92. package/components/DescriptionList/description-list-order.css +5 -5
  93. package/components/DescriptionList/description-list-order.scss +3 -1
  94. package/components/DescriptionList/description-list.css +46 -44
  95. package/components/DescriptionList/description-list.scss +26 -31
  96. package/components/Divider/divider.css +104 -107
  97. package/components/Divider/divider.scss +19 -19
  98. package/components/DragDrop/drag-drop.css +4 -2
  99. package/components/DragDrop/drag-drop.scss +3 -3
  100. package/components/Drawer/drawer.css +115 -114
  101. package/components/Drawer/drawer.scss +136 -134
  102. package/components/DualListSelector/dual-list-selector.css +64 -61
  103. package/components/DualListSelector/dual-list-selector.scss +54 -51
  104. package/components/EmptyState/empty-state.css +38 -37
  105. package/components/EmptyState/empty-state.scss +39 -39
  106. package/components/ExpandableSection/expandable-section.css +27 -86
  107. package/components/ExpandableSection/expandable-section.scss +32 -101
  108. package/components/FileUpload/file-upload.css +2 -2
  109. package/components/FileUpload/file-upload.scss +2 -3
  110. package/components/Form/form.css +173 -115
  111. package/components/Form/form.scss +117 -103
  112. package/components/FormControl/form-control.css +57 -57
  113. package/components/FormControl/form-control.scss +69 -67
  114. package/components/HelperText/helper-text.css +5 -4
  115. package/components/HelperText/helper-text.scss +8 -6
  116. package/components/Hint/hint.css +25 -25
  117. package/components/Hint/hint.scss +25 -27
  118. package/components/Icon/icon.css +10 -10
  119. package/components/Icon/icon.scss +11 -12
  120. package/components/InlineEdit/inline-edit.css +12 -12
  121. package/components/InlineEdit/inline-edit.scss +12 -13
  122. package/components/InputGroup/input-group.css +16 -16
  123. package/components/InputGroup/input-group.scss +18 -19
  124. package/components/JumpLinks/jump-links.css +80 -96
  125. package/components/JumpLinks/jump-links.scss +80 -100
  126. package/components/Label/label-group.css +28 -28
  127. package/components/Label/label-group.scss +29 -30
  128. package/components/Label/label.css +102 -87
  129. package/components/Label/label.scss +113 -94
  130. package/components/List/list.css +44 -47
  131. package/components/List/list.scss +51 -58
  132. package/components/Login/login.css +122 -118
  133. package/components/Login/login.scss +105 -112
  134. package/components/Masthead/masthead.css +273 -175
  135. package/components/Masthead/masthead.scss +102 -68
  136. package/components/Menu/menu.css +151 -95
  137. package/components/Menu/menu.scss +59 -40
  138. package/components/MenuToggle/menu-toggle.css +129 -108
  139. package/components/MenuToggle/menu-toggle.scss +150 -128
  140. package/components/ModalBox/modal-box.css +53 -45
  141. package/components/ModalBox/modal-box.scss +52 -46
  142. package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
  143. package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
  144. package/components/Nav/nav.css +33 -9
  145. package/components/Nav/nav.scss +46 -13
  146. package/components/NotificationDrawer/notification-drawer.css +50 -51
  147. package/components/NotificationDrawer/notification-drawer.scss +58 -57
  148. package/components/NumberInput/number-input.css +7 -11
  149. package/components/NumberInput/number-input.scss +5 -7
  150. package/components/OverflowMenu/overflow-menu.css +2 -1
  151. package/components/OverflowMenu/overflow-menu.scss +3 -1
  152. package/components/Page/page.css +175 -519
  153. package/components/Page/page.scss +155 -386
  154. package/components/Pagination/pagination.css +82 -79
  155. package/components/Pagination/pagination.scss +43 -40
  156. package/components/Panel/panel.css +33 -30
  157. package/components/Panel/panel.scss +35 -33
  158. package/components/Popover/popover.css +54 -52
  159. package/components/Popover/popover.scss +55 -54
  160. package/components/Progress/progress.css +8 -4
  161. package/components/Progress/progress.scss +14 -11
  162. package/components/ProgressStepper/progress-stepper.css +246 -245
  163. package/components/ProgressStepper/progress-stepper.scss +118 -118
  164. package/components/Radio/radio.css +7 -7
  165. package/components/Radio/radio.scss +9 -10
  166. package/components/Sidebar/sidebar.css +139 -139
  167. package/components/Sidebar/sidebar.scss +61 -61
  168. package/components/SimpleList/simple-list.css +21 -20
  169. package/components/SimpleList/simple-list.scss +22 -23
  170. package/components/Skeleton/skeleton.css +4 -4
  171. package/components/Skeleton/skeleton.scss +7 -8
  172. package/components/SkipToContent/skip-to-content.css +7 -6
  173. package/components/SkipToContent/skip-to-content.scss +7 -7
  174. package/components/Slider/slider.css +31 -31
  175. package/components/Slider/slider.scss +54 -55
  176. package/components/Spinner/spinner.scss +4 -5
  177. package/components/Switch/switch.css +4 -10
  178. package/components/Switch/switch.scss +8 -17
  179. package/components/TabContent/tab-content.css +25 -25
  180. package/components/TabContent/tab-content.scss +28 -28
  181. package/components/Table/table-grid.css +434 -508
  182. package/components/Table/table-grid.scss +131 -150
  183. package/components/Table/table-scrollable.css +31 -34
  184. package/components/Table/table-scrollable.scss +44 -41
  185. package/components/Table/table-tree-view.css +287 -279
  186. package/components/Table/table-tree-view.scss +84 -84
  187. package/components/Table/table.css +316 -279
  188. package/components/Table/table.scss +346 -301
  189. package/components/Tabs/tabs.css +215 -240
  190. package/components/Tabs/tabs.scss +130 -162
  191. package/components/TextInputGroup/text-input-group.css +122 -64
  192. package/components/TextInputGroup/text-input-group.scss +144 -87
  193. package/components/Tile/tile.css +15 -15
  194. package/components/Tile/tile.scss +16 -17
  195. package/components/Timestamp/timestamp.css +13 -19
  196. package/components/Timestamp/timestamp.scss +16 -22
  197. package/components/Title/title.css +14 -13
  198. package/components/Title/title.scss +15 -15
  199. package/components/ToggleGroup/toggle-group.css +37 -37
  200. package/components/ToggleGroup/toggle-group.scss +38 -41
  201. package/components/Toolbar/toolbar.css +547 -1431
  202. package/components/Toolbar/toolbar.scss +159 -123
  203. package/components/Tooltip/tooltip.css +28 -27
  204. package/components/Tooltip/tooltip.scss +31 -30
  205. package/components/TreeView/tree-view.css +184 -184
  206. package/components/TreeView/tree-view.scss +133 -133
  207. package/components/Truncate/truncate.css +2 -2
  208. package/components/Truncate/truncate.scss +7 -8
  209. package/components/Wizard/wizard.css +190 -154
  210. package/components/Wizard/wizard.scss +211 -165
  211. package/components/_index.css +22378 -0
  212. package/components/_index.scss +82 -0
  213. package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
  214. package/docs/components/Accordion/examples/Accordion.md +1 -1
  215. package/docs/components/ActionList/examples/ActionList.md +64 -24
  216. package/docs/components/Alert/examples/Alert.md +116 -74
  217. package/docs/components/BackToTop/examples/BackToTop.md +1 -1
  218. package/docs/components/Badge/examples/Badge.md +6 -16
  219. package/docs/components/Banner/examples/Banner.md +16 -10
  220. package/docs/components/Brand/examples/Brand.md +2 -2
  221. package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
  222. package/docs/components/Button/examples/Button.md +537 -368
  223. package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
  224. package/docs/components/Card/examples/Card.md +372 -658
  225. package/docs/components/Check/examples/Check.md +10 -15
  226. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
  227. package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
  228. package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
  229. package/docs/components/Content/examples/Content.md +600 -60
  230. package/docs/components/DataList/examples/DataList.md +291 -1028
  231. package/docs/components/DatePicker/examples/DatePicker.md +18 -6
  232. package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
  233. package/docs/components/Drawer/examples/Drawer.md +60 -21
  234. package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
  235. package/docs/components/EmptyState/examples/EmptyState.md +123 -53
  236. package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
  237. package/docs/components/FileUpload/examples/FileUpload.md +42 -14
  238. package/docs/components/Form/examples/Form.md +100 -26
  239. package/docs/components/Hint/examples/Hint.md +54 -164
  240. package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
  241. package/docs/components/InputGroup/examples/InputGroup.md +38 -62
  242. package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
  243. package/docs/components/Label/examples/Label.md +2577 -406
  244. package/docs/components/Login/examples/Login.md +372 -334
  245. package/docs/components/Masthead/examples/masthead.md +515 -484
  246. package/docs/components/Menu/examples/Menu.md +77 -138
  247. package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
  248. package/docs/components/ModalBox/examples/ModalBox.md +158 -100
  249. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
  250. package/docs/components/Nav/examples/Navigation.css +2 -7
  251. package/docs/components/Nav/examples/Navigation.md +337 -270
  252. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
  253. package/docs/components/NumberInput/examples/NumberInput.md +96 -48
  254. package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
  255. package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
  256. package/docs/components/Page/examples/Page.css +5 -9
  257. package/docs/components/Page/examples/Page.md +254 -181
  258. package/docs/components/Pagination/examples/Pagination.md +336 -756
  259. package/docs/components/Panel/examples/Panel.md +3 -2
  260. package/docs/components/Popover/examples/Popover.md +60 -15
  261. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
  262. package/docs/components/Sidebar/examples/Sidebar.css +4 -2
  263. package/docs/components/Sidebar/examples/Sidebar.md +3 -3
  264. package/docs/components/Skeleton/examples/Skeleton.css +1 -1
  265. package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
  266. package/docs/components/Slider/examples/Slider.md +53 -45
  267. package/docs/components/Spinner/examples/Spinner.md +1 -1
  268. package/docs/components/Switch/examples/Switch.md +33 -148
  269. package/docs/components/Table/examples/Table.css +11 -6
  270. package/docs/components/Table/examples/Table.md +5302 -2464
  271. package/docs/components/Tabs/examples/Tabs.md +1267 -607
  272. package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
  273. package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
  274. package/docs/components/Tile/examples/Tile.css +5 -5
  275. package/docs/components/Timestamp/examples/Timestamp.md +7 -1
  276. package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
  277. package/docs/components/Toolbar/examples/Toolbar.css +50 -39
  278. package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
  279. package/docs/components/Tooltip/examples/Tooltip.css +1 -1
  280. package/docs/components/TreeView/examples/TreeView.md +627 -49
  281. package/docs/components/Truncate/examples/Truncate.css +1 -2
  282. package/docs/components/Wizard/examples/Wizard.md +1595 -126
  283. package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
  284. package/docs/demos/Alert/examples/Alert.md +924 -909
  285. package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
  286. package/docs/demos/Banner/examples/Banner.md +641 -659
  287. package/docs/demos/Button/examples/Button.md +8 -8
  288. package/docs/demos/Card/examples/Card.css +6 -6
  289. package/docs/demos/Card/examples/Card.md +419 -606
  290. package/docs/demos/CardView/examples/CardView.md +822 -1435
  291. package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
  292. package/docs/demos/DataList/examples/DataList.md +3210 -3424
  293. package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
  294. package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
  295. package/docs/demos/Form/examples/BasicForms.md +153 -88
  296. package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
  297. package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
  298. package/docs/demos/Modal/examples/Modal.md +1231 -1235
  299. package/docs/demos/Nav/examples/Nav.md +1216 -1230
  300. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
  301. package/docs/demos/Page/examples/Page.css +11 -0
  302. package/docs/demos/Page/examples/Page.md +3753 -2540
  303. package/docs/demos/Panel/Panel.md +88 -0
  304. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
  305. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
  306. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
  307. package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
  308. package/docs/demos/Table/examples/Table.md +14272 -15154
  309. package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
  310. package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
  311. package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
  312. package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
  313. package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
  314. package/docs/layouts/Flex/examples/Flex.css +4 -4
  315. package/docs/layouts/Flex/examples/Flex.md +50 -50
  316. package/docs/layouts/Gallery/examples/Gallery.css +4 -4
  317. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  318. package/docs/layouts/Grid/examples/Grid.css +3 -3
  319. package/docs/layouts/Grid/examples/Grid.md +33 -33
  320. package/docs/layouts/Level/examples/Level.css +5 -5
  321. package/docs/layouts/Split/examples/Split.css +4 -4
  322. package/docs/layouts/Stack/examples/Stack.css +5 -5
  323. package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
  324. package/docs/utilities/Alignment/examples/Alignment.css +6 -6
  325. package/docs/utilities/Alignment/examples/Alignment.md +5 -5
  326. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
  327. package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
  328. package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
  329. package/docs/utilities/Display/examples/Display.css +3 -10
  330. package/docs/utilities/Display/examples/Display.md +21 -12
  331. package/docs/utilities/Flex/examples/Flex.css +7 -7
  332. package/docs/utilities/Flex/examples/Flex.md +82 -40
  333. package/docs/utilities/Float/examples/Float.css +5 -5
  334. package/docs/utilities/Float/examples/Float.md +6 -6
  335. package/docs/utilities/Sizing/examples/Sizing.css +6 -6
  336. package/docs/utilities/Sizing/examples/Sizing.md +60 -60
  337. package/docs/utilities/Spacing/examples/Spacing.css +3 -3
  338. package/docs/utilities/Spacing/examples/Spacing.md +37 -37
  339. package/docs/utilities/Text/examples/Text.md +78 -77
  340. package/icons/pficons.mjs +6 -0
  341. package/layouts/Bullseye/bullseye.css +4 -0
  342. package/layouts/Bullseye/bullseye.scss +5 -1
  343. package/layouts/Flex/flex.css +241 -237
  344. package/layouts/Flex/flex.scss +48 -44
  345. package/layouts/Gallery/gallery.css +15 -11
  346. package/layouts/Gallery/gallery.scss +9 -5
  347. package/layouts/Grid/grid.css +20 -16
  348. package/layouts/Grid/grid.scss +12 -8
  349. package/layouts/Level/level.css +5 -1
  350. package/layouts/Level/level.scss +6 -2
  351. package/layouts/Split/split.css +5 -1
  352. package/layouts/Split/split.scss +6 -2
  353. package/layouts/Stack/stack.css +5 -1
  354. package/layouts/Stack/stack.scss +6 -2
  355. package/layouts/_index.css +3461 -0
  356. package/layouts/_index.scss +8 -0
  357. package/package.json +39 -39
  358. package/patternfly-addons.css +2071 -2648
  359. package/patternfly-addons.scss +2 -12
  360. package/patternfly-base-no-globals.css +1429 -1645
  361. package/patternfly-base-no-globals.scss +5 -3
  362. package/patternfly-base.css +1511 -1723
  363. package/patternfly-base.scss +2 -6
  364. package/patternfly-charts.css +579 -240
  365. package/patternfly-charts.scss +352 -337
  366. package/patternfly-no-globals.css +19895 -23410
  367. package/patternfly-no-globals.scss +5 -4
  368. package/patternfly.css +19999 -23510
  369. package/patternfly.min.css +1 -1
  370. package/patternfly.min.css.map +1 -1
  371. package/patternfly.scss +3 -4
  372. package/sass-utilities/_index.scss +6 -0
  373. package/sass-utilities/functions.scss +25 -25
  374. package/sass-utilities/{_init.scss → init.scss} +6 -6
  375. package/sass-utilities/mixins.scss +108 -72
  376. package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
  377. package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
  378. package/sass-utilities/scss-variables.scss +49 -261
  379. package/utilities/Accessibility/accessibility.css +15 -15
  380. package/utilities/Accessibility/accessibility.scss +8 -6
  381. package/utilities/Alignment/alignment.css +29 -29
  382. package/utilities/Alignment/alignment.scss +6 -4
  383. package/utilities/BackgroundColor/background-color.css +67 -0
  384. package/utilities/BackgroundColor/background-color.scss +16 -0
  385. package/utilities/BoxShadow/box-shadow.css +15 -39
  386. package/utilities/BoxShadow/box-shadow.scss +19 -28
  387. package/utilities/Display/display.css +43 -5
  388. package/utilities/Display/display.scss +7 -4
  389. package/utilities/Flex/flex.css +50 -50
  390. package/utilities/Flex/flex.scss +21 -20
  391. package/utilities/Float/float.css +29 -29
  392. package/utilities/Float/float.scss +6 -6
  393. package/utilities/Sizing/sizing.css +58 -58
  394. package/utilities/Sizing/sizing.scss +23 -21
  395. package/utilities/Spacing/spacing.css +1372 -1372
  396. package/utilities/Spacing/spacing.scss +6 -6
  397. package/utilities/Text/text.css +419 -662
  398. package/utilities/Text/text.scss +81 -107
  399. package/utilities/_index.css +7815 -0
  400. package/utilities/_index.scss +10 -0
  401. package/assets/images/pf-logo-small.svg +0 -23
  402. package/assets/images/pf_logo_white.hbs +0 -35
  403. package/assets/images/pfbg-icon.svg +0 -1
  404. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  405. package/base/_base.scss +0 -2
  406. package/base/_chart-globals.scss +0 -415
  407. package/base/_common.scss +0 -50
  408. package/base/_fa-icons.scss +0 -33
  409. package/base/_fonts.scss +0 -136
  410. package/base/_icons.scss +0 -3
  411. package/base/_pficons.scss +0 -2
  412. package/base/_themes.scss +0 -43
  413. package/base/_variables.scss +0 -299
  414. package/base/patternfly-globals.css +0 -120
  415. package/base/patternfly-globals.scss +0 -2
  416. package/base/patternfly-icons.css +0 -4728
  417. package/base/patternfly-icons.scss +0 -2
  418. package/base/patternfly-themes.css +0 -82
  419. package/base/patternfly-themes.scss +0 -2
  420. package/base/themes/dark/_chart-globals.scss +0 -42
  421. package/base/themes/dark/_globals.scss +0 -5
  422. package/base/tokens/_workspace-overrides.scss +0 -7
  423. package/components/AppLauncher/app-launcher.css +0 -244
  424. package/components/AppLauncher/app-launcher.scss +0 -308
  425. package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
  426. package/components/Chip/chip-group.css +0 -93
  427. package/components/Chip/chip-group.scss +0 -98
  428. package/components/Chip/chip.css +0 -122
  429. package/components/Chip/chip.scss +0 -140
  430. package/components/Chip/themes/dark/chip.scss +0 -9
  431. package/components/ContextSelector/context-selector.css +0 -336
  432. package/components/ContextSelector/context-selector.scss +0 -384
  433. package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
  434. package/components/Dropdown/dropdown.css +0 -686
  435. package/components/Dropdown/dropdown.scss +0 -820
  436. package/components/Dropdown/themes/dark/dropdown.scss +0 -32
  437. package/components/LogViewer/log-viewer.css +0 -197
  438. package/components/LogViewer/log-viewer.scss +0 -226
  439. package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
  440. package/components/NotificationBadge/notification-badge.css +0 -87
  441. package/components/NotificationBadge/notification-badge.scss +0 -108
  442. package/components/OptionsMenu/options-menu.css +0 -279
  443. package/components/OptionsMenu/options-menu.scss +0 -332
  444. package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
  445. package/components/Select/select.css +0 -599
  446. package/components/Select/select.scss +0 -713
  447. package/components/Select/themes/dark/select.scss +0 -23
  448. package/components/_all.scss +0 -91
  449. package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
  450. package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
  451. package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
  452. package/docs/components/Chip/examples/Chip.md +0 -846
  453. package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
  454. package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
  455. package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
  456. package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
  457. package/docs/components/LogViewer/examples/LogViewer.css +0 -17
  458. package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
  459. package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
  460. package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
  461. package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
  462. package/docs/components/Page/deprecated/PageHeader.css +0 -17
  463. package/docs/components/Page/deprecated/PageHeader.md +0 -261
  464. package/docs/components/Pagination/examples/Pagination.css +0 -3
  465. package/docs/components/Select/deprecated/Select.css +0 -56
  466. package/docs/components/Select/deprecated/Select.md +0 -3525
  467. package/docs/components/Tabs/examples/Tabs.css +0 -10
  468. package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
  469. package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
  470. package/docs/demos/Page/examples/Penta.md +0 -821
  471. package/docs/utilities/Text/examples/Text.css +0 -0
  472. package/layouts/_all.scss +0 -7
  473. package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
  474. package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
  475. package/patternfly-base-theme-dark-unversioned.css +0 -6393
  476. package/patternfly-base-theme-dark-unversioned.scss +0 -5
  477. package/patternfly-charts-theme-dark-unversioned.css +0 -70
  478. package/patternfly-charts-theme-dark-unversioned.scss +0 -8
  479. package/patternfly-charts-theme-dark.css +0 -70
  480. package/patternfly-charts-theme-dark.scss +0 -8
  481. package/patternfly-theme-dark-unversioned.css +0 -35533
  482. package/patternfly-theme-dark-unversioned.scss +0 -6
  483. package/patternfly-theme-dark.css +0 -0
  484. package/patternfly-theme-dark.scss +0 -1
  485. package/sass-utilities/_all.scss +0 -9
  486. package/sass-utilities/colors.scss +0 -82
  487. package/sass-utilities/div.import.scss +0 -3
  488. package/sass-utilities/div.scss +0 -4
  489. package/sass-utilities/placeholders.scss +0 -72
  490. package/sass-utilities/themes/dark/_all.scss +0 -4
  491. package/sass-utilities/themes/dark/colors.scss +0 -16
  492. package/sass-utilities/themes/dark/mixins.scss +0 -7
  493. package/sass-utilities/themes/dark/placeholders.scss +0 -5
  494. package/sass-utilities/themes/dark/scss-variables.scss +0 -92
  495. package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
  496. package/utilities/BackgroundColor/BackgroundColor.css +0 -414
  497. package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
  498. package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
  499. package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
  500. package/utilities/Text/themes/dark/text.css +0 -0
  501. package/utilities/Text/themes/dark/text.scss +0 -33
@@ -1,12 +1,14 @@
1
- :where(:root) {
2
- --#{$action-list}--RowGap: var(--pf-t--global--spacer--sm);
3
- --#{$action-list}--ColumnGap: var(--pf-t--global--spacer--2xl);
1
+ @use '../../sass-utilities' as *;
2
+
3
+ @include pf-root($action-list) {
4
+ --#{$action-list}--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
5
+ --#{$action-list}--ColumnGap: var(--pf-t--global--spacer--gap--group-to-group--horizontal);
4
6
 
5
7
  // * Action list group
6
- --#{$action-list}__group--ColumnGap: var(--pf-t--global--spacer--md);
8
+ --#{$action-list}__group--ColumnGap: var(--pf-t--global--spacer--gap--action-to-action--default);
7
9
 
8
10
  // * Action list icons
9
- --#{$action-list}--m-icons--ColumnGap: var(--pf-t--global--spacer--sm);
11
+ --#{$action-list}--m-icons--ColumnGap: var(--pf-t--global--spacer--gap--action-to-action--plain);
10
12
  }
11
13
 
12
14
  // - Action list - Action list group
@@ -1,15 +1,16 @@
1
+ :root,
1
2
  .pf-v6-c-alert-group {
2
- --pf-v6-c-alert-group__item--MarginTop: var(--pf-t--global--spacer--md);
3
- --pf-v6-c-alert-group--m-toast--Top: var(--pf-t--global--spacer--2xl);
4
- --pf-v6-c-alert-group--m-toast--Right: var(--pf-t--global--spacer--xl);
3
+ --pf-v6-c-alert-group__item--MarginBlockStart: var(--pf-t--global--spacer--gap--group--vertical);
4
+ --pf-v6-c-alert-group--m-toast--InsetBlockStart: var(--pf-t--global--spacer--2xl);
5
+ --pf-v6-c-alert-group--m-toast--InsetInlineEnd: var(--pf-t--global--spacer--xl);
5
6
  --pf-v6-c-alert-group--m-toast--MaxWidth: 37.5rem;
6
- --pf-v6-c-alert-group--m-toast--ZIndex: var(--pf-v6-global--ZIndex--2xl);
7
+ --pf-v6-c-alert-group--m-toast--ZIndex: var(--pf-t--global--z-index--2xl);
7
8
  --pf-v6-c-alert-group__overflow-button--BorderWidth: 0;
8
9
  --pf-v6-c-alert-group__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
9
- --pf-v6-c-alert-group__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
10
- --pf-v6-c-alert-group__overflow-button--PaddingRight: var(--pf-t--global--spacer--md);
11
- --pf-v6-c-alert-group__overflow-button--PaddingBottom: var(--pf-t--global--spacer--md);
12
- --pf-v6-c-alert-group__overflow-button--PaddingLeft: var(--pf-t--global--spacer--md);
10
+ --pf-v6-c-alert-group__overflow-button--PaddingBlockStart: var(--pf-t--global--spacer--md);
11
+ --pf-v6-c-alert-group__overflow-button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
12
+ --pf-v6-c-alert-group__overflow-button--PaddingBlockEnd: var(--pf-t--global--spacer--md);
13
+ --pf-v6-c-alert-group__overflow-button--PaddingInlineStart: var(--pf-t--global--spacer--md);
13
14
  --pf-v6-c-alert-group__overflow-button--Color: var(--pf-t--global--text--color--link--default);
14
15
  --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
15
16
  --pf-v6-c-alert-group__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
@@ -21,41 +22,93 @@
21
22
  --pf-v6-c-alert-group__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
22
23
  --pf-v6-c-alert-group__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
23
24
  }
25
+
24
26
  .pf-v6-c-alert-group > * + * {
25
- margin-block-start: var(--pf-v6-c-alert-group__item--MarginTop);
27
+ margin-block-start: var(--pf-v6-c-alert-group__item--MarginBlockStart);
26
28
  }
27
29
  .pf-v6-c-alert-group.pf-m-toast {
28
30
  position: fixed;
29
- inset-block-start: var(--pf-v6-c-alert-group--m-toast--Top);
30
- inset-inline-end: var(--pf-v6-c-alert-group--m-toast--Right);
31
+ inset-block-start: var(--pf-v6-c-alert-group--m-toast--InsetBlockStart);
32
+ inset-inline-end: var(--pf-v6-c-alert-group--m-toast--InsetInlineEnd);
31
33
  z-index: var(--pf-v6-c-alert-group--m-toast--ZIndex);
32
- width: calc(100% - var(--pf-v6-c-alert-group--m-toast--Right) * 2);
34
+ width: calc(100% - var(--pf-v6-c-alert-group--m-toast--InsetInlineEnd) * 2);
33
35
  max-width: var(--pf-v6-c-alert-group--m-toast--MaxWidth);
34
36
  }
35
37
 
36
38
  .pf-v6-c-alert-group__overflow-button {
37
39
  position: relative;
38
40
  width: 100%;
39
- padding-block-start: var(--pf-v6-c-alert-group__overflow-button--PaddingTop);
40
- padding-block-end: var(--pf-v6-c-alert-group__overflow-button--PaddingBottom);
41
- padding-inline-start: var(--pf-v6-c-alert-group__overflow-button--PaddingLeft);
42
- padding-inline-end: var(--pf-v6-c-alert-group__overflow-button--PaddingRight);
41
+ padding-block-start: var(--pf-v6-c-alert-group__overflow-button--PaddingBlockStart);
42
+ padding-block-end: var(--pf-v6-c-alert-group__overflow-button--PaddingBlockEnd);
43
+ padding-inline-start: var(--pf-v6-c-alert-group__overflow-button--PaddingInlineStart);
44
+ padding-inline-end: var(--pf-v6-c-alert-group__overflow-button--PaddingInlineEnd);
43
45
  color: var(--pf-v6-c-alert-group__overflow-button--Color);
44
46
  background-color: var(--pf-v6-c-alert-group__overflow-button--BackgroundColor);
45
47
  border-width: var(--pf-v6-c-alert-group__overflow-button--BorderWidth);
46
48
  border-radius: var(--pf-v6-c-alert-group__overflow-button--BorderRadius);
47
49
  box-shadow: var(--pf-v6-c-alert-group__overflow-button--BoxShadow);
48
50
  }
49
- .pf-v6-c-alert-group__overflow-button:hover {
51
+
52
+ .pf-v6-c-alert-group__item {
53
+ display: grid;
54
+ grid-template-rows: 1fr;
55
+ opacity: 1;
56
+ transition: opacity var(--pf-t--global--motion--duration--fade--default) var(--pf-t--global--motion--timing-function--decelerate) 0s;
57
+ transform: translateX(0) translateY(0);
58
+ }
59
+ @media screen and (prefers-reduced-motion: no-preference) {
60
+ .pf-v6-c-alert-group__item {
61
+ transition: opacity var(--pf-t--global--motion--duration--fade--default) var(--pf-t--global--motion--timing-function--decelerate) var(--pf-t--global--motion--duration--slide-in--default), transform var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate) var(--pf-t--global--motion--duration--slide-in--default), grid-template-rows var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate) 0s, margin-block var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate) 0s;
62
+ }
63
+ .pf-v6-c-alert-group__item .pf-v6-c-alert {
64
+ transition: all var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate);
65
+ }
66
+ }
67
+ .pf-v6-c-alert-group__item.pf-m-offstage-top {
68
+ grid-template-rows: 0fr;
69
+ margin-block: 0;
70
+ overflow: hidden;
71
+ opacity: 0;
72
+ transform: translateY(-100%);
73
+ }
74
+ .pf-v6-c-alert-group__item.pf-m-offstage-top .pf-v6-c-alert {
75
+ min-height: 0;
76
+ padding-block-start: 0;
77
+ padding-block-end: 0;
78
+ border-width: 0;
79
+ }
80
+ .pf-v6-c-alert-group__item.pf-m-offstage-right {
81
+ grid-template-rows: 0fr;
82
+ margin-block: 0;
83
+ overflow: hidden;
84
+ opacity: 0;
85
+ transition: opacity var(--pf-t--global--motion--duration--fade--short) var(--pf-t--global--motion--timing-function--accelerate) 0s;
86
+ transform: translateX(100%);
87
+ }
88
+ .pf-v6-c-alert-group__item.pf-m-offstage-right .pf-v6-c-alert {
89
+ min-height: 0;
90
+ padding-block-start: 0;
91
+ padding-block-end: 0;
92
+ border-width: 0;
93
+ }
94
+ @media screen and (prefers-reduced-motion: no-preference) {
95
+ .pf-v6-c-alert-group__item.pf-m-offstage-right {
96
+ transition: transform var(--pf-t--global--motion--duration--slide-out--short) var(--pf-t--global--motion--timing-function--accelerate) 0s, opacity var(--pf-t--global--motion--duration--slide-out--short) var(--pf-t--global--motion--timing-function--accelerate) 0s, margin-block var(--pf-t--global--motion--duration--fade--short) var(--pf-t--global--motion--timing-function--accelerate) var(--pf-t--global--motion--duration--slide-out--short), grid-template-rows var(--pf-t--global--motion--duration--slide-in--short) var(--pf-t--global--motion--timing-function--accelerate) var(--pf-t--global--motion--duration--slide-out--short);
97
+ }
98
+ .pf-v6-c-alert-group__item.pf-m-offstage-right .pf-v6-c-alert {
99
+ transition: all var(--pf-t--global--motion--duration--slide-out--short) var(--pf-t--global--motion--timing-function--accelerate) var(--pf-t--global--motion--duration--slide-out--short);
100
+ }
101
+ }
102
+ .pf-v6-c-alert-group__item:hover {
50
103
  --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--hover--Color);
51
104
  --pf-v6-c-alert-group__overflow-button--BackgroundColor: var(--pf-v6-c-alert-group__overflow-button--hover--BackgroundColor);
52
105
  --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-v6-c-alert-group__overflow-button--hover--BoxShadow);
53
106
  }
54
- .pf-v6-c-alert-group__overflow-button:focus {
107
+ .pf-v6-c-alert-group__item:focus {
55
108
  --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--focus--Color);
56
109
  --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-v6-c-alert-group__overflow-button--focus--BoxShadow);
57
110
  }
58
- .pf-v6-c-alert-group__overflow-button:active {
111
+ .pf-v6-c-alert-group__item:active {
59
112
  --pf-v6-c-alert-group__overflow-button--Color: var(--pf-v6-c-alert-group__overflow-button--active--Color);
60
113
  --pf-v6-c-alert-group__overflow-button--BoxShadow: var(--pf-v6-c-alert-group__overflow-button--active--BoxShadow);
61
114
  }
@@ -1,23 +1,23 @@
1
- // @debug $alert-group; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ @use '../../sass-utilities' as *;
2
2
 
3
3
  // Tabs
4
- .#{$alert-group} {
4
+ @include pf-root($alert-group) {
5
5
  // Alert group variables
6
- --#{$alert-group}__item--MarginTop: var(--pf-t--global--spacer--md);
6
+ --#{$alert-group}__item--MarginBlockStart: var(--pf-t--global--spacer--gap--group--vertical);
7
7
 
8
8
  // Toast variables
9
- --#{$alert-group}--m-toast--Top: var(--pf-t--global--spacer--2xl);
10
- --#{$alert-group}--m-toast--Right: var(--pf-t--global--spacer--xl);
9
+ --#{$alert-group}--m-toast--InsetBlockStart: var(--pf-t--global--spacer--2xl);
10
+ --#{$alert-group}--m-toast--InsetInlineEnd: var(--pf-t--global--spacer--xl);
11
11
  --#{$alert-group}--m-toast--MaxWidth: #{pf-size-prem(600px)};
12
- --#{$alert-group}--m-toast--ZIndex: var(--#{$pf-global}--ZIndex--2xl);
12
+ --#{$alert-group}--m-toast--ZIndex: var(--pf-t--global--z-index--2xl);
13
13
 
14
14
  // Overflow button
15
15
  --#{$alert-group}__overflow-button--BorderWidth: 0;
16
16
  --#{$alert-group}__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
17
- --#{$alert-group}__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
18
- --#{$alert-group}__overflow-button--PaddingRight: var(--pf-t--global--spacer--md);
19
- --#{$alert-group}__overflow-button--PaddingBottom: var(--pf-t--global--spacer--md);
20
- --#{$alert-group}__overflow-button--PaddingLeft: var(--pf-t--global--spacer--md);
17
+ --#{$alert-group}__overflow-button--PaddingBlockStart: var(--pf-t--global--spacer--md);
18
+ --#{$alert-group}__overflow-button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
19
+ --#{$alert-group}__overflow-button--PaddingBlockEnd: var(--pf-t--global--spacer--md);
20
+ --#{$alert-group}__overflow-button--PaddingInlineStart: var(--pf-t--global--spacer--md);
21
21
  --#{$alert-group}__overflow-button--Color: var(--pf-t--global--text--color--link--default);
22
22
  --#{$alert-group}__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
23
23
  --#{$alert-group}__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
@@ -28,19 +28,21 @@
28
28
  --#{$alert-group}__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
29
29
  --#{$alert-group}__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
30
30
  --#{$alert-group}__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
31
+ }
31
32
 
33
+ .#{$alert-group} {
32
34
  // Spacing between alerts
33
35
  > * + * {
34
- margin-block-start: var(--#{$alert-group}__item--MarginTop);
36
+ margin-block-start: var(--#{$alert-group}__item--MarginBlockStart);
35
37
  }
36
38
 
37
39
  // Toast positioning modifier
38
40
  &.pf-m-toast {
39
41
  position: fixed;
40
- inset-block-start: var(--#{$alert-group}--m-toast--Top);
41
- inset-inline-end: var(--#{$alert-group}--m-toast--Right);
42
+ inset-block-start: var(--#{$alert-group}--m-toast--InsetBlockStart);
43
+ inset-inline-end: var(--#{$alert-group}--m-toast--InsetInlineEnd);
42
44
  z-index: var(--#{$alert-group}--m-toast--ZIndex);
43
- width: calc(100% - calc(var(--#{$alert-group}--m-toast--Right) * 2));
45
+ width: calc(100% - calc(var(--#{$alert-group}--m-toast--InsetInlineEnd) * 2));
44
46
  max-width: var(--#{$alert-group}--m-toast--MaxWidth);
45
47
  }
46
48
  }
@@ -48,15 +50,100 @@
48
50
  .#{$alert-group}__overflow-button {
49
51
  position: relative;
50
52
  width: 100%;
51
- padding-block-start: var(--#{$alert-group}__overflow-button--PaddingTop);
52
- padding-block-end: var(--#{$alert-group}__overflow-button--PaddingBottom);
53
- padding-inline-start: var(--#{$alert-group}__overflow-button--PaddingLeft);
54
- padding-inline-end: var(--#{$alert-group}__overflow-button--PaddingRight);
53
+ padding-block-start: var(--#{$alert-group}__overflow-button--PaddingBlockStart);
54
+ padding-block-end: var(--#{$alert-group}__overflow-button--PaddingBlockEnd);
55
+ padding-inline-start: var(--#{$alert-group}__overflow-button--PaddingInlineStart);
56
+ padding-inline-end: var(--#{$alert-group}__overflow-button--PaddingInlineEnd);
55
57
  color: var(--#{$alert-group}__overflow-button--Color);
56
58
  background-color: var(--#{$alert-group}__overflow-button--BackgroundColor);
57
59
  border-width: var(--#{$alert-group}__overflow-button--BorderWidth);
58
60
  border-radius: var(--#{$alert-group}__overflow-button--BorderRadius);
59
61
  box-shadow: var(--#{$alert-group}__overflow-button--BoxShadow);
62
+ }
63
+
64
+ .#{$alert-group}__item {
65
+ // Properties to be transitioned on entry/exit
66
+ display: grid;
67
+ grid-template-rows: 1fr;
68
+ opacity: 1;
69
+
70
+ // This transition will happen when the item is added (.pf-m-offstage-top is removed)
71
+ // Reduced motion by default
72
+ // transparency change only
73
+ transition:
74
+ opacity var(--pf-t--global--motion--duration--fade--default) var(--pf-t--global--motion--timing-function--decelerate) 0s;
75
+ transform: translateX(0) translateY(0);
76
+
77
+ // This transition will happen when the item is added (.pf-m-offstage-top is removed)
78
+ // give it height, then slide it down into place
79
+ // These values are for regular motion
80
+ @media screen and (prefers-reduced-motion: no-preference) {
81
+ transition:
82
+ opacity var(--pf-t--global--motion--duration--fade--default) var(--pf-t--global--motion--timing-function--decelerate) var(--pf-t--global--motion--duration--slide-in--default),
83
+ transform var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate) var(--pf-t--global--motion--duration--slide-in--default),
84
+ grid-template-rows var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate) 0s,
85
+ margin-block var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate) 0s;
86
+
87
+ & .pf-v6-c-alert {
88
+ transition: all var(--pf-t--global--motion--duration--slide-in--default) var(--pf-t--global--motion--timing-function--decelerate);
89
+ }
90
+ }
91
+
92
+ // This class is used BEFORE the alert item comes into the list
93
+ &.pf-m-offstage-top {
94
+ // make the item have no height and position it up above
95
+ grid-template-rows: 0fr;
96
+ margin-block: 0;
97
+ overflow: hidden;
98
+ opacity: 0;
99
+ transform: translateY(-100%);
100
+
101
+ & .pf-v6-c-alert {
102
+ // make it small when it's first created off to the top
103
+ min-height: 0;
104
+ padding-block-start: 0;
105
+ padding-block-end: 0;
106
+ border-width: 0;
107
+ }
108
+ }
109
+
110
+ // Add this class before removing an alert
111
+ // TODO auto dismissal should be the same motion, but has a different duration
112
+ &.pf-m-offstage-right {
113
+ grid-template-rows: 0fr; // collapse vertically to bring up the items below
114
+ margin-block: 0;
115
+ overflow: hidden;
116
+ opacity: 0;
117
+
118
+ // This transition will happen when the item is removed
119
+ // Reduced motion by default
120
+ // transparency change only
121
+ transition:
122
+ opacity var(--pf-t--global--motion--duration--fade--short) var(--pf-t--global--motion--timing-function--accelerate) 0s;
123
+ transform: translateX(100%);
124
+
125
+ & .pf-v6-c-alert {
126
+ min-height: 0;
127
+ padding-block-start: 0;
128
+ padding-block-end: 0;
129
+ border-width: 0;
130
+ }
131
+
132
+ // This transition will happen when the item is added (.pf-m-offstage-top is removed)
133
+ // give it height, then slide it down into place
134
+ // These values are for regular motion
135
+ @media screen and (prefers-reduced-motion: no-preference) {
136
+ transition:
137
+ transform var(--pf-t--global--motion--duration--slide-out--short) var(--pf-t--global--motion--timing-function--accelerate) 0s,
138
+ opacity var(--pf-t--global--motion--duration--slide-out--short) var(--pf-t--global--motion--timing-function--accelerate) 0s,
139
+ margin-block var(--pf-t--global--motion--duration--fade--short) var(--pf-t--global--motion--timing-function--accelerate) var(--pf-t--global--motion--duration--slide-out--short),
140
+ grid-template-rows var(--pf-t--global--motion--duration--slide-in--short) var(--pf-t--global--motion--timing-function--accelerate) var(--pf-t--global--motion--duration--slide-out--short);
141
+
142
+ & .pf-v6-c-alert {
143
+ transition: all var(--pf-t--global--motion--duration--slide-out--short) var(--pf-t--global--motion--timing-function--accelerate) var(--pf-t--global--motion--duration--slide-out--short);
144
+ }
145
+ }
146
+ }
60
147
 
61
148
  &:hover {
62
149
  --#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--hover--Color);
@@ -1,4 +1,5 @@
1
- :root {
1
+ :root,
2
+ .pf-v6-c-alert {
2
3
  --pf-v6-c-alert--BoxShadow: var(--pf-t--global--box-shadow--lg);
3
4
  --pf-v6-c-alert--BackgroundColor: var(--pf-t--global--background--color--floating--default);
4
5
  --pf-v6-c-alert--GridTemplateColumns: max-content 1fr max-content;
@@ -9,36 +10,34 @@
9
10
  --pf-v6-c-alert--BorderWidth: var(--pf-t--global--border--width--box--status--default);
10
11
  --pf-v6-c-alert--BorderColor: transparent;
11
12
  --pf-v6-c-alert--BorderRadius: var(--pf-t--global--border--radius--medium);
12
- --pf-v6-c-alert--PaddingTop: var(--pf-t--global--spacer--md);
13
- --pf-v6-c-alert--PaddingRight: var(--pf-t--global--spacer--md);
14
- --pf-v6-c-alert--PaddingBottom: var(--pf-t--global--spacer--md);
15
- --pf-v6-c-alert--PaddingLeft: var(--pf-t--global--spacer--md);
13
+ --pf-v6-c-alert--PaddingBlockStart: var(--pf-t--global--spacer--md);
14
+ --pf-v6-c-alert--PaddingInlineEnd: var(--pf-t--global--spacer--md);
15
+ --pf-v6-c-alert--PaddingBlockEnd: var(--pf-t--global--spacer--md);
16
+ --pf-v6-c-alert--PaddingInlineStart: var(--pf-t--global--spacer--md);
16
17
  --pf-v6-c-alert--FontSize: var(--pf-t--global--font--size--body--default);
17
- --pf-v6-c-alert__toggle--MarginTop: calc(-1 * var(--pf-v6-global--spacer--form-element) - 0.0625rem);
18
- --pf-v6-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-v6-global--spacer--form-element));
19
- --pf-v6-c-alert__toggle--MarginRight: var(--pf-t--global--spacer--sm);
18
+ --pf-v6-c-alert__toggle--MarginBlockStart: calc(-1 * var(--pf-t--global--spacer--control--vertical--default));
19
+ --pf-v6-c-alert__toggle--MarginBlockEnd: calc(-1 * var(--pf-t--global--spacer--control--vertical--default));
20
+ --pf-v6-c-alert__toggle--MarginInlineEnd: var(--pf-t--global--spacer--sm);
20
21
  --pf-v6-c-alert__toggle-icon--Rotate: 0;
21
- --pf-v6-c-alert__toggle-icon--Transition: var(--pf-v6-global--Transition);
22
+ --pf-v6-c-alert__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
23
+ --pf-v6-c-alert__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--long);
22
24
  --pf-v6-c-alert__icon--Color: var(--pf-t--global--icon--color--regular);
23
- --pf-v6-c-alert__icon--MarginTop: 0.25rem;
24
- --pf-v6-c-alert__icon--MarginRight: var(--pf-t--global--spacer--sm);
25
+ --pf-v6-c-alert__icon--MarginBlockStart: 0.25rem;
26
+ --pf-v6-c-alert__icon--MarginInlineEnd: var(--pf-t--global--spacer--gap--text-to-element--default);
25
27
  --pf-v6-c-alert__icon--FontSize: var(--pf-t--global--icon--size--md);
26
- --pf-v6-c-alert__title--FontFamily: var(--pf-t--global--font--family--heading);
27
- --pf-v6-c-alert__title--FontSize: var(--pf-t--global--font--size--heading--xs);
28
- --pf-v6-c-alert__title--FontWeight: var(--pf-t--global--font--weight--heading);
29
- --pf-v6-c-alert__title--LineHeight: var(--pf-t--global--font--line-height--heading);
28
+ --pf-v6-c-alert__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
30
29
  --pf-v6-c-alert__title--Color: var(--pf-t--global--text--color--regular);
31
30
  --pf-v6-c-alert__title--max-lines: 1;
32
- --pf-v6-c-alert__action--MarginTop: calc(var(--pf-v6-global--spacer--form-element) * -1);
33
- --pf-v6-c-alert__action--MarginBottom: calc(var(--pf-v6-global--spacer--form-element) * -1);
31
+ --pf-v6-c-alert__action--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
32
+ --pf-v6-c-alert__action--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
34
33
  --pf-v6-c-alert__action--TranslateY: 0.125rem;
35
- --pf-v6-c-alert__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
36
- --pf-v6-c-alert__description--PaddingTop: var(--pf-t--global--spacer--xs);
37
- --pf-v6-c-alert__action-group--PaddingTop-base: var(--pf-t--global--spacer--xs);
38
- --pf-v6-c-alert__action-group--PaddingTop: var(--pf-v6-c-alert__action-group--PaddingTop-base);
39
- --pf-v6-c-alert__description--action-group--PaddingTop-base: var(--pf-t--global--spacer--sm);
40
- --pf-v6-c-alert__description--action-group--PaddingTop: var(--pf-v6-c-alert__description--action-group--PaddingTop-base);
41
- --pf-v6-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-t--global--spacer--lg);
34
+ --pf-v6-c-alert__action--MarginInlineEnd: calc(var(--pf-t--global--spacer--sm) * -1);
35
+ --pf-v6-c-alert__description--PaddingBlockStart: var(--pf-t--global--spacer--xs);
36
+ --pf-v6-c-alert__action-group--PaddingBlockStart-base: var(--pf-t--global--spacer--sm);
37
+ --pf-v6-c-alert__action-group--PaddingBlockStart: var(--pf-v6-c-alert__action-group--PaddingBlockStart-base);
38
+ --pf-v6-c-alert__description--action-group--PaddingBlockStart-base: var(--pf-t--global--spacer--sm);
39
+ --pf-v6-c-alert__description--action-group--PaddingBlockStart: var(--pf-v6-c-alert__description--action-group--PaddingBlockStart-base);
40
+ --pf-v6-c-alert__action-group__c-button--not-last-child--MarginInlineEnd: var(--pf-t--global--spacer--gap--action-to-action--default);
42
41
  --pf-v6-c-alert--m-custom--BorderColor: var(--pf-t--global--border--color--status--custom--default);
43
42
  --pf-v6-c-alert--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
44
43
  --pf-v6-c-alert--m-custom__title--Color: var(--pf-t--global--text--color--regular);
@@ -58,18 +57,18 @@
58
57
  --pf-v6-c-alert--m-inline--BoxShadow: none;
59
58
  --pf-v6-c-alert--m-inline--m-plain--BorderWidth: 0;
60
59
  --pf-v6-c-alert--m-inline--m-plain--BackgroundColor: transparent;
61
- --pf-v6-c-alert--m-inline--m-plain--PaddingTop: 0;
62
- --pf-v6-c-alert--m-inline--m-plain--PaddingRight: 0;
63
- --pf-v6-c-alert--m-inline--m-plain--PaddingBottom: 0;
64
- --pf-v6-c-alert--m-inline--m-plain--PaddingLeft: 0;
60
+ --pf-v6-c-alert--m-inline--m-plain--PaddingBlockStart: 0;
61
+ --pf-v6-c-alert--m-inline--m-plain--PaddingInlineEnd: 0;
62
+ --pf-v6-c-alert--m-inline--m-plain--PaddingBlockEnd: 0;
63
+ --pf-v6-c-alert--m-inline--m-plain--PaddingInlineStart: 0;
65
64
  --pf-v6-c-alert--m-expandable--GridTemplateColumns: auto max-content 1fr max-content;
66
65
  --pf-v6-c-alert--m-expandable--GridTemplateAreas:
67
66
  "toggle icon title action"
68
67
  ". . description description"
69
68
  ". . actiongroup actiongroup";
70
- --pf-v6-c-alert--m-expandable__description--action-group--PaddingTop: var(--pf-v6-c-alert__action-group--PaddingTop-base);
69
+ --pf-v6-c-alert--m-expandable__description--action-group--PaddingBlockStart: var(--pf-v6-c-alert__action-group--PaddingBlockStart-base);
71
70
  --pf-v6-c-alert--m-expanded__toggle-icon--Rotate: 90deg;
72
- --pf-v6-c-alert--m-expanded__description--action-group--PaddingTop: var(--pf-v6-c-alert__description--action-group--PaddingTop-base);
71
+ --pf-v6-c-alert--m-expanded__description--action-group--PaddingBlockStart: var(--pf-v6-c-alert__description--action-group--PaddingBlockStart-base);
73
72
  }
74
73
 
75
74
  .pf-v6-c-alert {
@@ -77,10 +76,10 @@
77
76
  display: grid;
78
77
  grid-template-areas: var(--pf-v6-c-alert--GridTemplateAreas);
79
78
  grid-template-columns: var(--pf-v6-c-alert--GridTemplateColumns);
80
- padding-block-start: var(--pf-v6-c-alert--PaddingTop);
81
- padding-block-end: var(--pf-v6-c-alert--PaddingBottom);
82
- padding-inline-start: var(--pf-v6-c-alert--PaddingLeft);
83
- padding-inline-end: var(--pf-v6-c-alert--PaddingRight);
79
+ padding-block-start: var(--pf-v6-c-alert--PaddingBlockStart);
80
+ padding-block-end: var(--pf-v6-c-alert--PaddingBlockEnd);
81
+ padding-inline-start: var(--pf-v6-c-alert--PaddingInlineStart);
82
+ padding-inline-end: var(--pf-v6-c-alert--PaddingInlineEnd);
84
83
  font-size: var(--pf-v6-c-alert--FontSize);
85
84
  background-color: var(--pf-v6-c-alert--BackgroundColor);
86
85
  border: var(--pf-v6-c-alert--BorderWidth) solid var(--pf-v6-c-alert--BorderColor);
@@ -119,30 +118,30 @@
119
118
  .pf-v6-c-alert.pf-m-plain {
120
119
  --pf-v6-c-alert--BorderWidth: var(--pf-v6-c-alert--m-inline--m-plain--BorderWidth);
121
120
  --pf-v6-c-alert--BackgroundColor: var(--pf-v6-c-alert--m-inline--m-plain--BackgroundColor);
122
- --pf-v6-c-alert--PaddingTop: var(--pf-v6-c-alert--m-inline--m-plain--PaddingTop);
123
- --pf-v6-c-alert--PaddingRight: var(--pf-v6-c-alert--m-inline--m-plain--PaddingRight);
124
- --pf-v6-c-alert--PaddingBottom: var(--pf-v6-c-alert--m-inline--m-plain--PaddingBottom);
125
- --pf-v6-c-alert--PaddingLeft: var(--pf-v6-c-alert--m-inline--m-plain--PaddingLeft);
121
+ --pf-v6-c-alert--PaddingBlockStart: var(--pf-v6-c-alert--m-inline--m-plain--PaddingBlockStart);
122
+ --pf-v6-c-alert--PaddingInlineEnd: var(--pf-v6-c-alert--m-inline--m-plain--PaddingInlineEnd);
123
+ --pf-v6-c-alert--PaddingBlockEnd: var(--pf-v6-c-alert--m-inline--m-plain--PaddingBlockEnd);
124
+ --pf-v6-c-alert--PaddingInlineStart: var(--pf-v6-c-alert--m-inline--m-plain--PaddingInlineStart);
126
125
  }
127
126
  .pf-v6-c-alert.pf-m-expandable {
128
127
  --pf-v6-c-alert--GridTemplateColumns: var(--pf-v6-c-alert--m-expandable--GridTemplateColumns);
129
128
  --pf-v6-c-alert--GridTemplateAreas: var(--pf-v6-c-alert--m-expandable--GridTemplateAreas);
130
- --pf-v6-c-alert__description--action-group--PaddingTop: var(--pf-v6-c-alert--m-expandable__description--action-group--PaddingTop);
129
+ --pf-v6-c-alert__description--action-group--PaddingBlockStart: var(--pf-v6-c-alert--m-expandable__description--action-group--PaddingBlockStart);
131
130
  }
132
131
  .pf-v6-c-alert.pf-m-expanded {
133
132
  --pf-v6-c-alert__toggle-icon--Rotate: var(--pf-v6-c-alert--m-expanded__toggle-icon--Rotate);
134
- --pf-v6-c-alert__description--action-group--PaddingTop: var(--pf-v6-c-alert--m-expanded__description--action-group--PaddingTop);
133
+ --pf-v6-c-alert__description--action-group--PaddingBlockStart: var(--pf-v6-c-alert--m-expanded__description--action-group--PaddingBlockStart);
135
134
  }
136
135
 
137
136
  .pf-v6-c-alert__toggle {
138
- margin-block-start: var(--pf-v6-c-alert__toggle--MarginTop);
139
- margin-block-end: var(--pf-v6-c-alert__toggle--MarginBottom);
140
- margin-inline-end: var(--pf-v6-c-alert__toggle--MarginRight);
137
+ margin-block-start: var(--pf-v6-c-alert__toggle--MarginBlockStart);
138
+ margin-block-end: var(--pf-v6-c-alert__toggle--MarginBlockEnd);
139
+ margin-inline-end: var(--pf-v6-c-alert__toggle--MarginInlineEnd);
141
140
  }
142
141
 
143
142
  .pf-v6-c-alert__toggle-icon {
144
143
  display: inline-block;
145
- transition: var(--pf-v6-c-alert__toggle-icon--Transition);
144
+ transition: transform var(--pf-v6-c-alert__toggle-icon--TransitionDuration) var(--pf-v6-c-alert__toggle-icon--TransitionTimingFunction);
146
145
  transform: rotate(var(--pf-v6-c-alert__toggle-icon--Rotate));
147
146
  }
148
147
  :where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-alert__toggle-icon {
@@ -152,18 +151,15 @@
152
151
  .pf-v6-c-alert__icon {
153
152
  display: flex;
154
153
  grid-area: icon;
155
- margin-block-start: var(--pf-v6-c-alert__icon--MarginTop);
156
- margin-inline-end: var(--pf-v6-c-alert__icon--MarginRight);
154
+ margin-block-start: var(--pf-v6-c-alert__icon--MarginBlockStart);
155
+ margin-inline-end: var(--pf-v6-c-alert__icon--MarginInlineEnd);
157
156
  font-size: var(--pf-v6-c-alert__icon--FontSize);
158
157
  color: var(--pf-v6-c-alert__icon--Color);
159
158
  }
160
159
 
161
160
  .pf-v6-c-alert__title {
162
161
  grid-area: title;
163
- font-family: var(--pf-v6-c-alert__title--FontFamily);
164
- font-size: var(--pf-v6-c-alert__title--FontSize);
165
162
  font-weight: var(--pf-v6-c-alert__title--FontWeight);
166
- line-height: var(--pf-v6-c-alert__title--LineHeight);
167
163
  color: var(--pf-v6-c-alert__title--Color);
168
164
  word-break: break-word;
169
165
  }
@@ -176,18 +172,18 @@
176
172
 
177
173
  .pf-v6-c-alert__description {
178
174
  grid-area: description;
179
- padding-block-start: var(--pf-v6-c-alert__description--PaddingTop);
175
+ padding-block-start: var(--pf-v6-c-alert__description--PaddingBlockStart);
180
176
  word-break: break-word;
181
177
  }
182
178
  .pf-v6-c-alert__description + .pf-v6-c-alert__action-group {
183
- --pf-v6-c-alert__action-group--PaddingTop: var(--pf-v6-c-alert__description--action-group--PaddingTop);
179
+ --pf-v6-c-alert__action-group--PaddingBlockStart: var(--pf-v6-c-alert__description--action-group--PaddingBlockStart);
184
180
  }
185
181
 
186
182
  .pf-v6-c-alert__action {
187
183
  grid-area: action;
188
- margin-block-start: var(--pf-v6-c-alert__action--MarginTop);
189
- margin-block-end: var(--pf-v6-c-alert__action--MarginBottom);
190
- margin-inline-end: var(--pf-v6-c-alert__action--MarginRight);
184
+ margin-block-start: var(--pf-v6-c-alert__action--MarginBlockStart);
185
+ margin-block-end: var(--pf-v6-c-alert__action--MarginBlockEnd);
186
+ margin-inline-end: var(--pf-v6-c-alert__action--MarginInlineEnd);
191
187
  transform: translateY(var(--pf-v6-c-alert__action--TranslateY));
192
188
  }
193
189
  .pf-v6-c-alert__action > .pf-v6-c-button {
@@ -196,11 +192,8 @@
196
192
 
197
193
  .pf-v6-c-alert__action-group {
198
194
  grid-area: actiongroup;
199
- padding-block-start: var(--pf-v6-c-alert__action-group--PaddingTop);
200
- }
201
- .pf-v6-c-alert__action-group > .pf-v6-c-button {
202
- --pf-v6-c-button--m-link--m-inline--hover--TextDecoration: none;
195
+ padding-block-start: var(--pf-v6-c-alert__action-group--PaddingBlockStart);
203
196
  }
204
197
  .pf-v6-c-alert__action-group > .pf-v6-c-button:not(:last-child) {
205
- margin-inline-end: var(--pf-v6-c-alert__action-group__c-button--not-last-child--MarginRight);
198
+ margin-inline-end: var(--pf-v6-c-alert__action-group__c-button--not-last-child--MarginInlineEnd);
206
199
  }