@patternfly/patternfly 6.0.0-alpha.4 → 6.0.0-alpha.41

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 (346) hide show
  1. package/CODE_OF_CONDUCT.md +1 -2
  2. package/README.md +13 -3
  3. package/assets/icons/iconUnicodes.json +1 -0
  4. package/assets/images/PF-Backdrop.svg +1 -0
  5. package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
  6. package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
  7. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  8. package/assets/images/PF-IconLogo-color.svg +17 -0
  9. package/assets/images/PF-IconLogo.svg +17 -0
  10. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  11. package/assets/images/pf-background.svg +22 -0
  12. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  13. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  14. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  15. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  16. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  17. package/assets/images/pf_logo_white.hbs +35 -0
  18. package/assets/images/pf_logo_white.svg +38 -0
  19. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  20. package/assets/pficon/pficon.scss +6 -129
  21. package/base/_common.scss +29 -4
  22. package/base/_globals.scss +5 -9
  23. package/base/_variables.scss +8 -6
  24. package/base/patternfly-common.css +24 -6
  25. package/base/patternfly-globals.css +5 -5
  26. package/base/patternfly-icons.css +5 -1
  27. package/base/patternfly-pf-icons.css +5 -1
  28. package/base/patternfly-variables.css +889 -787
  29. package/base/tokens/_tokens-dark.scss +322 -265
  30. package/base/tokens/_tokens-default.scss +428 -306
  31. package/base/tokens/_tokens-font.scss +41 -46
  32. package/base/tokens/_tokens-palette.scss +69 -71
  33. package/base/tokens/_workspace-overrides.scss +7 -0
  34. package/components/AboutModalBox/about-modal-box.css +78 -104
  35. package/components/AboutModalBox/about-modal-box.scss +62 -74
  36. package/components/Accordion/accordion.css +96 -175
  37. package/components/Accordion/accordion.scss +106 -193
  38. package/components/ActionList/action-list.css +2 -2
  39. package/components/ActionList/action-list.scss +2 -2
  40. package/components/Alert/alert-group.css +27 -20
  41. package/components/Alert/alert-group.scss +27 -20
  42. package/components/Alert/alert.css +74 -95
  43. package/components/Alert/alert.scss +76 -89
  44. package/components/AppLauncher/app-launcher.css +32 -23
  45. package/components/AppLauncher/app-launcher.scss +32 -23
  46. package/components/Avatar/avatar.css +10 -13
  47. package/components/Avatar/avatar.scss +10 -17
  48. package/components/BackToTop/back-to-top.css +17 -15
  49. package/components/BackToTop/back-to-top.scss +14 -13
  50. package/components/Backdrop/backdrop.css +8 -4
  51. package/components/Backdrop/backdrop.scss +7 -4
  52. package/components/BackgroundImage/background-image.css +11 -4
  53. package/components/BackgroundImage/background-image.scss +13 -4
  54. package/components/Badge/badge.css +25 -17
  55. package/components/Badge/badge.scss +27 -19
  56. package/components/Banner/banner.css +95 -69
  57. package/components/Banner/banner.scss +100 -34
  58. package/components/Breadcrumb/breadcrumb.css +28 -19
  59. package/components/Breadcrumb/breadcrumb.scss +26 -19
  60. package/components/Button/button.css +35 -23
  61. package/components/Button/button.scss +36 -26
  62. package/components/Button/themes/dark/button.scss +1 -1
  63. package/components/CalendarMonth/calendar-month.css +25 -15
  64. package/components/CalendarMonth/calendar-month.scss +23 -15
  65. package/components/Card/card.css +28 -17
  66. package/components/Card/card.scss +32 -17
  67. package/components/Check/check.css +12 -10
  68. package/components/Check/check.scss +17 -12
  69. package/components/Chip/chip-group.css +6 -6
  70. package/components/Chip/chip-group.scss +6 -6
  71. package/components/Chip/chip.css +16 -9
  72. package/components/Chip/chip.scss +17 -9
  73. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  74. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  75. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  76. package/components/CodeBlock/code-block.css +6 -3
  77. package/components/CodeBlock/code-block.scss +6 -3
  78. package/components/CodeEditor/code-editor.css +31 -22
  79. package/components/CodeEditor/code-editor.scss +30 -21
  80. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  81. package/components/Content/content.css +100 -97
  82. package/components/Content/content.scss +101 -98
  83. package/components/ContextSelector/context-selector.css +41 -26
  84. package/components/ContextSelector/context-selector.scss +40 -25
  85. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  86. package/components/DataList/data-list-grid.css +21 -21
  87. package/components/DataList/data-list-grid.scss +3 -3
  88. package/components/DataList/data-list.css +69 -56
  89. package/components/DataList/data-list.scss +47 -35
  90. package/components/DatePicker/date-picker.css +8 -8
  91. package/components/DatePicker/date-picker.scss +8 -8
  92. package/components/DescriptionList/description-list.css +8 -5
  93. package/components/DescriptionList/description-list.scss +8 -5
  94. package/components/Divider/divider.css +97 -177
  95. package/components/Divider/divider.scss +60 -79
  96. package/components/DragDrop/drag-drop.css +8 -8
  97. package/components/DragDrop/drag-drop.scss +8 -8
  98. package/components/Drawer/drawer.css +120 -62
  99. package/components/Drawer/drawer.scss +94 -44
  100. package/components/Dropdown/dropdown.css +76 -69
  101. package/components/Dropdown/dropdown.scss +67 -62
  102. package/components/DualListSelector/dual-list-selector.css +29 -15
  103. package/components/DualListSelector/dual-list-selector.scss +30 -15
  104. package/components/EmptyState/empty-state.css +64 -38
  105. package/components/EmptyState/empty-state.scss +70 -38
  106. package/components/ExpandableSection/expandable-section.css +75 -66
  107. package/components/ExpandableSection/expandable-section.scss +82 -80
  108. package/components/FileUpload/file-upload.css +9 -15
  109. package/components/FileUpload/file-upload.scss +9 -15
  110. package/components/Form/form.css +59 -50
  111. package/components/Form/form.scss +50 -45
  112. package/components/FormControl/form-control.css +18 -9
  113. package/components/FormControl/form-control.scss +18 -9
  114. package/components/HelperText/helper-text.css +29 -35
  115. package/components/HelperText/helper-text.scss +31 -41
  116. package/components/Hint/hint.css +37 -27
  117. package/components/Hint/hint.scss +37 -30
  118. package/components/Icon/icon.css +1 -1
  119. package/components/Icon/icon.scss +1 -1
  120. package/components/InlineEdit/inline-edit.css +9 -9
  121. package/components/InlineEdit/inline-edit.scss +9 -9
  122. package/components/InputGroup/input-group.css +12 -6
  123. package/components/InputGroup/input-group.scss +11 -5
  124. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  125. package/components/JumpLinks/jump-links.css +27 -24
  126. package/components/JumpLinks/jump-links.scss +26 -24
  127. package/components/Label/label-group.css +13 -10
  128. package/components/Label/label-group.scss +13 -10
  129. package/components/Label/label.css +9 -9
  130. package/components/Label/label.scss +9 -9
  131. package/components/List/list.css +25 -25
  132. package/components/List/list.scss +26 -26
  133. package/components/LogViewer/log-viewer.css +14 -14
  134. package/components/LogViewer/log-viewer.scss +14 -14
  135. package/components/Login/login.css +104 -122
  136. package/components/Login/login.scss +92 -91
  137. package/components/Masthead/masthead.css +273 -498
  138. package/components/Masthead/masthead.scss +137 -282
  139. package/components/Menu/menu.css +82 -65
  140. package/components/Menu/menu.scss +85 -69
  141. package/components/MenuToggle/menu-toggle.css +90 -100
  142. package/components/MenuToggle/menu-toggle.scss +93 -111
  143. package/components/ModalBox/modal-box.css +76 -69
  144. package/components/ModalBox/modal-box.scss +74 -70
  145. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  146. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  147. package/components/Nav/nav.css +162 -133
  148. package/components/Nav/nav.scss +162 -135
  149. package/components/Nav/themes/dark/nav.scss +2 -2
  150. package/components/NotificationBadge/notification-badge.css +66 -85
  151. package/components/NotificationBadge/notification-badge.scss +72 -103
  152. package/components/NotificationDrawer/notification-drawer.css +32 -19
  153. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  154. package/components/NumberInput/number-input.css +2 -2
  155. package/components/NumberInput/number-input.scss +2 -2
  156. package/components/OptionsMenu/options-menu.css +43 -31
  157. package/components/OptionsMenu/options-menu.scss +43 -31
  158. package/components/OverflowMenu/overflow-menu.css +2 -2
  159. package/components/OverflowMenu/overflow-menu.scss +2 -2
  160. package/components/Page/page.css +232 -271
  161. package/components/Page/page.scss +180 -231
  162. package/components/Pagination/pagination.css +71 -121
  163. package/components/Pagination/pagination.scss +56 -127
  164. package/components/Panel/panel.css +13 -7
  165. package/components/Panel/panel.scss +13 -7
  166. package/components/Popover/popover.css +108 -87
  167. package/components/Popover/popover.scss +120 -109
  168. package/components/Progress/progress.css +9 -7
  169. package/components/Progress/progress.scss +12 -7
  170. package/components/ProgressStepper/progress-stepper.css +26 -20
  171. package/components/ProgressStepper/progress-stepper.scss +25 -19
  172. package/components/Radio/radio.css +16 -13
  173. package/components/Radio/radio.scss +20 -14
  174. package/components/Select/select.css +56 -47
  175. package/components/Select/select.scss +56 -47
  176. package/components/Sidebar/sidebar.css +11 -5
  177. package/components/Sidebar/sidebar.scss +11 -5
  178. package/components/SimpleList/simple-list.css +45 -56
  179. package/components/SimpleList/simple-list.scss +51 -55
  180. package/components/Skeleton/skeleton.css +24 -25
  181. package/components/Skeleton/skeleton.scss +21 -26
  182. package/components/SkipToContent/skip-to-content.css +9 -6
  183. package/components/SkipToContent/skip-to-content.scss +8 -6
  184. package/components/Slider/slider.css +47 -26
  185. package/components/Slider/slider.scss +56 -28
  186. package/components/Switch/switch.css +10 -6
  187. package/components/Switch/switch.scss +11 -7
  188. package/components/TabContent/tab-content.css +4 -1
  189. package/components/TabContent/tab-content.scss +4 -1
  190. package/components/Table/table-grid.css +264 -203
  191. package/components/Table/table-grid.scss +61 -47
  192. package/components/Table/table-scrollable.css +4 -4
  193. package/components/Table/table-scrollable.scss +6 -4
  194. package/components/Table/table-tree-view.css +112 -105
  195. package/components/Table/table-tree-view.scss +38 -33
  196. package/components/Table/table.css +105 -89
  197. package/components/Table/table.scss +105 -89
  198. package/components/Tabs/tabs.css +76 -48
  199. package/components/Tabs/tabs.scss +74 -48
  200. package/components/TextInputGroup/text-input-group.css +15 -15
  201. package/components/TextInputGroup/text-input-group.scss +15 -15
  202. package/components/Tile/tile.css +10 -10
  203. package/components/Tile/tile.scss +10 -10
  204. package/components/Title/title.css +70 -19
  205. package/components/Title/title.scss +90 -20
  206. package/components/ToggleGroup/toggle-group.css +14 -11
  207. package/components/ToggleGroup/toggle-group.scss +14 -11
  208. package/components/Toolbar/toolbar.css +57 -43
  209. package/components/Toolbar/toolbar.scss +45 -25
  210. package/components/Tooltip/tooltip.css +74 -44
  211. package/components/Tooltip/tooltip.scss +93 -77
  212. package/components/TreeView/tree-view.css +48 -27
  213. package/components/TreeView/tree-view.scss +50 -28
  214. package/components/Truncate/truncate.css +13 -0
  215. package/components/Truncate/truncate.scss +19 -3
  216. package/components/Wizard/wizard.css +57 -36
  217. package/components/Wizard/wizard.scss +57 -36
  218. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  219. package/docs/components/Accordion/examples/Accordion.md +614 -416
  220. package/docs/components/Alert/examples/Alert.md +3 -3
  221. package/docs/components/Avatar/examples/Avatar.md +5 -19
  222. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  223. package/docs/components/Badge/examples/Badge.md +21 -0
  224. package/docs/components/Banner/examples/Banner.md +48 -25
  225. package/docs/components/Brand/examples/Brand.css +12 -0
  226. package/docs/components/Brand/examples/Brand.md +51 -32
  227. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  228. package/docs/components/Button/examples/Button.css +2 -2
  229. package/docs/components/Button/examples/Button.md +15 -3
  230. package/docs/components/Card/examples/Card.md +143 -37
  231. package/docs/components/Check/examples/Check.md +71 -58
  232. package/docs/components/Chip/examples/Chip.md +1 -1
  233. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  234. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  235. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  236. package/docs/components/Content/examples/Content.md +5 -5
  237. package/docs/components/Divider/examples/Divider.css +3 -1
  238. package/docs/components/Divider/examples/Divider.md +4 -5
  239. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  240. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  241. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  242. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  243. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  244. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  245. package/docs/components/Label/examples/Label.md +12 -12
  246. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  247. package/docs/components/LogViewer/examples/LogViewer.md +250 -160
  248. package/docs/components/Login/examples/Login.md +10 -5
  249. package/docs/components/Masthead/examples/masthead.md +443 -65
  250. package/docs/components/Menu/examples/Menu.css +8 -0
  251. package/docs/components/Menu/examples/Menu.md +594 -543
  252. package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
  253. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  254. package/docs/components/Nav/examples/Navigation.css +2 -8
  255. package/docs/components/Nav/examples/Navigation.md +240 -114
  256. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  257. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  258. package/docs/components/Page/examples/Page.css +0 -8
  259. package/docs/components/Page/examples/Page.md +22 -21
  260. package/docs/components/Pagination/examples/Pagination.md +663 -637
  261. package/docs/components/Popover/examples/Popover.css +4 -9
  262. package/docs/components/Popover/examples/Popover.md +1 -1
  263. package/docs/components/Radio/examples/Radio.md +62 -54
  264. package/docs/components/Select/deprecated/Select.md +184 -177
  265. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  266. package/docs/components/Table/examples/Table.css +2 -2
  267. package/docs/components/Table/examples/Table.md +10 -10
  268. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  269. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  270. package/docs/components/Tile/examples/Tile.css +1 -1
  271. package/docs/components/Title/examples/Title.md +18 -0
  272. package/docs/components/Toolbar/examples/Toolbar.md +663 -2894
  273. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  274. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  275. package/docs/components/Truncate/examples/Truncate.css +2 -2
  276. package/docs/components/Truncate/examples/Truncate.md +2 -2
  277. package/docs/demos/AboutModal/examples/AboutModal.md +103 -30
  278. package/docs/demos/Alert/examples/Alert.md +303 -84
  279. package/docs/demos/BackToTop/examples/BackToTop.md +101 -28
  280. package/docs/demos/Banner/examples/Banner.md +209 -58
  281. package/docs/demos/Card/examples/Card.css +3 -3
  282. package/docs/demos/Card/examples/Card.md +28 -12
  283. package/docs/demos/CardView/examples/CardView.md +259 -197
  284. package/docs/demos/ContextSelector/examples/ContextSelector.md +374 -91
  285. package/docs/demos/Dashboard/examples/Dashboard.md +104 -31
  286. package/docs/demos/DataList/examples/DataList.md +974 -907
  287. package/docs/demos/DescriptionList/examples/DescriptionList.md +303 -84
  288. package/docs/demos/Drawer/examples/Drawer.md +505 -140
  289. package/docs/demos/JumpLinks/examples/JumpLinks.md +606 -168
  290. package/docs/demos/Masthead/examples/Masthead.md +745 -310
  291. package/docs/demos/Modal/examples/Modal.md +606 -168
  292. package/docs/demos/Nav/examples/Nav.md +808 -224
  293. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +510 -140
  294. package/docs/demos/Page/examples/Page.md +909 -252
  295. package/docs/demos/Page/examples/Penta.md +570 -503
  296. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
  297. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1293 -914
  298. package/docs/demos/Skeleton/examples/Skeleton.md +108 -63
  299. package/docs/demos/Table/examples/Table.md +3842 -3400
  300. package/docs/demos/Tabs/examples/Tabs.md +636 -191
  301. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  302. package/docs/demos/Toolbar/examples/Toolbar.md +1305 -1467
  303. package/docs/demos/Wizard/examples/Wizard.md +909 -252
  304. package/docs/layouts/Flex/examples/Flex.md +16 -16
  305. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  306. package/icons/pficons.mjs +1 -0
  307. package/layouts/Flex/flex.css +115 -43
  308. package/layouts/Flex/flex.scss +20 -8
  309. package/package.json +36 -32
  310. package/patternfly-addons.css +732 -972
  311. package/patternfly-base-no-globals-theme-dark-unversioned.css +923 -799
  312. package/patternfly-base-no-globals.css +923 -799
  313. package/patternfly-base-theme-dark-unversioned.css +928 -804
  314. package/patternfly-base.css +928 -804
  315. package/patternfly-no-globals.css +5253 -4984
  316. package/patternfly-theme-dark-unversioned.css +5258 -4989
  317. package/patternfly.css +5258 -4989
  318. package/patternfly.min.css +1 -1
  319. package/patternfly.min.css.map +1 -1
  320. package/sass-utilities/functions.scss +6 -0
  321. package/sass-utilities/mixins.scss +62 -2
  322. package/sass-utilities/scss-variables.scss +8 -8
  323. package/sass-utilities/themes/dark/mixins.scss +3 -1
  324. package/utilities/Accessibility/accessibility.css +12 -12
  325. package/utilities/Spacing/spacing.css +720 -960
  326. package/utilities/Spacing/spacing.scss +4 -8
  327. package/base/themes/dark/_variables.scss +0 -102
  328. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  329. package/components/Accordion/themes/dark/accordion.scss +0 -9
  330. package/components/Alert/themes/dark/alert.scss +0 -17
  331. package/components/Badge/themes/dark/badge.scss +0 -9
  332. package/components/Banner/themes/dark/banner.scss +0 -14
  333. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  334. package/components/Hint/themes/dark/hint.scss +0 -8
  335. package/components/Login/themes/dark/login.scss +0 -12
  336. package/components/Masthead/themes/dark/masthead.scss +0 -14
  337. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  338. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  339. package/components/Page/themes/dark/page.scss +0 -69
  340. package/components/Pagination/themes/dark/pagination.scss +0 -7
  341. package/components/Popover/themes/dark/popover.scss +0 -11
  342. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  343. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  344. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  345. package/docs/components/Avatar/examples/Avatar.css +0 -3
  346. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -1,50 +1,52 @@
1
1
  // @debug $menu-toggle; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
3
  .#{$menu-toggle} {
4
- --#{$menu-toggle}--BorderRadius: 0;
5
- --#{$menu-toggle}--PaddingTop: var(--#{$pf-global}--spacer--form-element);
6
- --#{$menu-toggle}--PaddingRight: var(--#{$pf-global}--spacer--sm);
7
- --#{$menu-toggle}--PaddingBottom: var(--#{$pf-global}--spacer--form-element);
8
- --#{$menu-toggle}--PaddingLeft: var(--#{$pf-global}--spacer--sm);
9
- --#{$menu-toggle}--FontSize: var(--#{$pf-global}--FontSize--md);
10
- --#{$menu-toggle}--Color: var(--#{$pf-global}--Color--100);
11
- --#{$menu-toggle}--LineHeight: var(--#{$pf-global}--LineHeight--md);
12
- --#{$menu-toggle}--BackgroundColor: transparent;
4
+ --#{$menu-toggle}--BorderRadius: var(--pf-t--global--border--radius--small);
5
+ --#{$menu-toggle}--PaddingTop: var(--pf-t--global--spacer--sm); // TODO semantic spacer for form elements?
6
+ --#{$menu-toggle}--PaddingRight: var(--pf-t--global--spacer--sm);
7
+ --#{$menu-toggle}--PaddingBottom: var(--pf-t--global--spacer--sm); // TODO semantic spacer?
8
+ --#{$menu-toggle}--PaddingLeft: var(--pf-t--global--spacer--sm);
9
+ --#{$menu-toggle}--FontSize: var(--pf-t--global--font--size--body--default);
10
+ --#{$menu-toggle}--Color: var(--pf-t--global--text--color--regular);
11
+ --#{$menu-toggle}--LineHeight: var(--pf-t--global--font--line-height--body);
12
+ --#{$menu-toggle}--BackgroundColor: var(--pf-t--global--background--color--control--default);
13
+ --#{$menu-toggle}--BorderWidth: var(--pf-t--global--border--width--control--default);
14
+ --#{$menu-toggle}--BorderColor: var(--pf-t--global--border--color--default);
15
+ --#{$menu-toggle}--hover--BorderWidth: var(--pf-t--global--border--width--control--hover);
16
+ --#{$menu-toggle}--hover--BorderColor: var(--pf-t--global--border--color--hover);
17
+ --#{$menu-toggle}--active--BorderWidth: var(--pf-t--global--border--width--control--active);
18
+ --#{$menu-toggle}--active--BorderColor: var(--pf-t--global--border--color--active);
13
19
 
14
20
  // Border base
15
- --#{$menu-toggle}--before--BorderTopWidth: var(--#{$pf-global}--BorderWidth--sm);
16
- --#{$menu-toggle}--before--BorderRightWidth: var(--#{$pf-global}--BorderWidth--sm);
17
- --#{$menu-toggle}--before--BorderBottomWidth: 0;
18
- --#{$menu-toggle}--before--BorderLeftWidth: var(--#{$pf-global}--BorderWidth--sm);
19
- --#{$menu-toggle}--before--BorderTopColor: var(--#{$pf-global}--BorderColor--300);
20
- --#{$menu-toggle}--before--BorderRightColor: var(--#{$pf-global}--BorderColor--300);
21
- --#{$menu-toggle}--before--BorderBottomColor: transparent;
22
- --#{$menu-toggle}--before--BorderLeftColor: var(--#{$pf-global}--BorderColor--300);
23
-
24
- // Border accent
25
- --#{$menu-toggle}--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
26
- --#{$menu-toggle}--after--BorderBottomColor: var(--#{$pf-global}--BorderColor--200);
21
+ --#{$menu-toggle}--before--BorderTopWidth: var(--pf-t--global--border--width--control--default);
22
+ --#{$menu-toggle}--before--BorderRightWidth: var(--pf-t--global--border--width--control--default);
23
+ --#{$menu-toggle}--before--BorderBottomWidth: var(--pf-t--global--border--width--control--default);
24
+ --#{$menu-toggle}--before--BorderLeftWidth: var(--pf-t--global--border--width--control--default);
25
+ --#{$menu-toggle}--before--BorderTopColor: var(--pf-t--global--border--color--default);
26
+ --#{$menu-toggle}--before--BorderRightColor: var(--pf-t--global--border--color--default);
27
+ --#{$menu-toggle}--before--BorderBottomColor: var(--pf-t--global--border--color--default);
28
+ --#{$menu-toggle}--before--BorderLeftColor: var(--pf-t--global--border--color--default);
27
29
 
28
30
  // Hover
29
31
  --#{$menu-toggle}--hover--BackgroundColor: transparent;
30
- --#{$menu-toggle}--hover--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
31
- --#{$menu-toggle}--hover--after--BorderBottomColor: var(--#{$pf-global}--active-color--100);
32
+ --#{$menu-toggle}--hover--after--BorderBottomWidth: var(--pf-t--global--border--width--control--hover);
33
+ --#{$menu-toggle}--hover--after--BorderBottomColor: var(--pf-t--global--border--color--hover);
32
34
 
33
35
  // Focus
34
36
  --#{$menu-toggle}--focus--BackgroundColor: transparent;
35
- --#{$menu-toggle}--focus--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
36
- --#{$menu-toggle}--focus--after--BorderBottomColor: var(--#{$pf-global}--active-color--100);
37
+ --#{$menu-toggle}--focus--after--BorderBottomWidth: var(--pf-t--global--border--width--control--active);
38
+ --#{$menu-toggle}--focus--after--BorderBottomColor: var(--pf-t--global--border--color--active);
37
39
 
38
40
  // Active
39
41
  --#{$menu-toggle}--active--BackgroundColor: transparent;
40
- --#{$menu-toggle}--active--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
41
- --#{$menu-toggle}--active--after--BorderBottomColor: var(--#{$pf-global}--active-color--100);
42
+ --#{$menu-toggle}--active--after--BorderBottomWidth: var(--pf-t--global--border--width--control--active);
43
+ --#{$menu-toggle}--active--after--BorderBottomColor: var(--pf-t--global--border--color--active);
42
44
 
43
45
  // Expanded
44
46
  --#{$menu-toggle}--m-expanded--Color: var(--#{$pf-global}--Color--100);
45
47
  --#{$menu-toggle}--m-expanded--BackgroundColor: transparent;
46
- --#{$menu-toggle}--m-expanded--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
47
- --#{$menu-toggle}--m-expanded--after--BorderBottomColor: var(--#{$pf-global}--active-color--100);
48
+ --#{$menu-toggle}--m-expanded--after--BorderBottomWidth: var(--pf-t--global--border--width--control--active);
49
+ --#{$menu-toggle}--m-expanded--after--BorderBottomColor: var(--pf-t--global--border--color--active);
48
50
 
49
51
  // Disabled
50
52
  --#{$menu-toggle}--disabled--Color: var(--#{$pf-global}--disabled-color--100);
@@ -86,21 +88,20 @@
86
88
  --#{$menu-toggle}--m-plain--disabled--Color: var(--#{$pf-global}--disabled-color--200);
87
89
  --#{$menu-toggle}--m-plain--m-expanded--Color: var(--#{$pf-global}--Color--100);
88
90
 
89
-
90
91
  // Icon
91
- --#{$menu-toggle}__icon--MarginRight: var(--#{$pf-global}--spacer--sm);
92
+ --#{$menu-toggle}__icon--MarginRight: var(--pf-t--global--spacer--sm);
92
93
 
93
94
  // Count
94
- --#{$menu-toggle}__count--MarginLeft: var(--#{$pf-global}--spacer--sm);
95
+ --#{$menu-toggle}__count--MarginLeft: var(--pf-t--global--spacer--sm);
95
96
 
96
97
  // Controls -- update element/vars to "control" in breaking change
97
- --#{$menu-toggle}__controls--PaddingLeft: var(--#{$pf-global}--spacer--md);
98
+ --#{$menu-toggle}__controls--PaddingLeft: var(--pf-t--global--spacer--sm);
98
99
  --#{$menu-toggle}__controls--MarginLeft: auto;
99
100
  --#{$menu-toggle}__controls--MarginRight: 0;
100
101
 
101
102
  // Toggle icon
102
- --#{$menu-toggle}__toggle-icon--MarginRight: var(--#{$pf-global}--spacer--sm);
103
- --#{$menu-toggle}--m-plain__toggle-icon--Color: var(--#{$pf-global}--Color--200);
103
+ --#{$menu-toggle}__toggle-icon--MarginRight: var(--pf-t--global--spacer--sm);
104
+ --#{$menu-toggle}--m-plain__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
104
105
  --#{$menu-toggle}--m-plain--hover__toggle-icon--Color: var(--#{$pf-global}--Color--100);
105
106
  --#{$menu-toggle}--m-plain--active__toggle-icon--Color: var(--#{$pf-global}--Color--100);
106
107
  --#{$menu-toggle}--m-plain--focus__toggle-icon--Color: var(--#{$pf-global}--Color--100);
@@ -109,7 +110,6 @@
109
110
  // Full height
110
111
  --#{$menu-toggle}--m-full-height--PaddingRight: var(--#{$pf-global}--spacer--lg);
111
112
  --#{$menu-toggle}--m-full-height--PaddingLeft: var(--#{$pf-global}--spacer--lg);
112
- --#{$menu-toggle}--m-full-height__toggle--before--BorderTopWidth: 0;
113
113
  --#{$menu-toggle}--m-full-height__toggle--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--sm);
114
114
  --#{$menu-toggle}--m-full-height--m-expanded--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--xl);
115
115
  --#{$menu-toggle}--m-full-height--hover--after--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--xl);
@@ -123,7 +123,7 @@
123
123
  --#{$menu-toggle}--m-split-button--child--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
124
124
  --#{$menu-toggle}--m-split-button--child--disabled--Color: var(--#{$pf-global}--disabled-color--100);
125
125
  --#{$menu-toggle}--m-split-button--child--disabled--BackgroundColor: var(--#{$pf-global}--disabled-color--300);
126
- --#{$menu-toggle}--m-split-button--first-child--PaddingRight: var(--#{$pf-global}--spacer--sm);
126
+ --#{$menu-toggle}--m-split-button--first-child--PaddingRight: var(--pf-t--global--spacer--sm);
127
127
  --#{$menu-toggle}--m-split-button--last-child--PaddingLeft: 0;
128
128
 
129
129
  // Split button, action
@@ -154,49 +154,50 @@
154
154
  // Split button, controls, check
155
155
  --#{$menu-toggle}__button--BackgroundColor: transparent;
156
156
  --#{$menu-toggle}__button--AlignSelf: baseline;
157
- --#{$menu-toggle}__button--PaddingLeft: var(--#{$pf-global}--spacer--sm);
158
- --#{$menu-toggle}__button--PaddingRight: var(--#{$pf-global}--spacer--sm);
159
- --#{$menu-toggle}__button__controls--MarginRight: var(--#{$pf-global}--spacer--sm);
160
- --#{$menu-toggle}__button__controls--MarginLeft: var(--#{$pf-global}--spacer--sm);
157
+ --#{$menu-toggle}__button--PaddingLeft: var(--pf-t--global--spacer--sm);
158
+ --#{$menu-toggle}__button--PaddingRight: var(--pf-t--global--spacer--sm);
159
+ --#{$menu-toggle}__button__controls--MarginRight: var(--pf-t--global--spacer--sm);
160
+ --#{$menu-toggle}__button__controls--MarginLeft: var(--pf-t--global--spacer--sm);
161
161
 
162
162
  // Typeahead
163
- --#{$menu-toggle}--m-typeahead__controls--MarginRight: var(--#{$pf-global}--spacer--sm);
164
- --#{$menu-toggle}--m-typeahead__controls--MarginLeft: var(--#{$pf-global}--spacer--sm);
165
- --#{$menu-toggle}--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--#{$pf-global}--spacer--sm);
163
+ --#{$menu-toggle}--m-typeahead__controls--MarginRight: var(--pf-t--global--spacer--sm);
164
+ --#{$menu-toggle}--m-typeahead__controls--MarginLeft: var(--pf-t--global--spacer--sm);
165
+ --#{$menu-toggle}--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
166
166
  --#{$menu-toggle}--m-typeahead__button--AlignSelf: center;
167
167
 
168
168
  position: relative;
169
169
  display: inline-flex;
170
170
  align-items: center;
171
171
  max-width: 100%;
172
- padding: var(--#{$menu-toggle}--PaddingTop) var(--#{$menu-toggle}--PaddingRight) var(--#{$menu-toggle}--PaddingBottom) var(--#{$menu-toggle}--PaddingLeft);
172
+ padding-block-start: var(--#{$menu-toggle}--PaddingTop);
173
+ padding-block-end: var(--#{$menu-toggle}--PaddingBottom);
174
+ padding-inline-start: var(--#{$menu-toggle}--PaddingLeft);
175
+ padding-inline-end: var(--#{$menu-toggle}--PaddingRight);
173
176
  font-size: var(--#{$menu-toggle}--FontSize);
174
177
  line-height: var(--#{$menu-toggle}--LineHeight);
175
178
  color: var(--#{$menu-toggle}--Color);
176
179
  cursor: pointer;
177
180
  background-color: var(--#{$menu-toggle}--BackgroundColor);
178
181
  border: 0;
179
- border-radius: var(--#{$menu-toggle}--BorderRadius);
180
182
 
181
- &::before,
182
- &::after {
183
- position: absolute;
184
- top: 0;
185
- right: 0;
186
- bottom: 0;
187
- left: 0;
188
- pointer-events: none;
189
- content: "";
183
+ &,
184
+ &::before {
185
+ border-radius: var(--#{$menu-toggle}--BorderRadius);
190
186
  }
191
187
 
192
188
  &::before {
193
- border-color: var(--#{$menu-toggle}--before--BorderTopColor) var(--#{$menu-toggle}--before--BorderRightColor) var(--#{$menu-toggle}--before--BorderBottomColor) var(--#{$menu-toggle}--before--BorderLeftColor);
194
- border-style: solid;
195
- border-width: var(--#{$menu-toggle}--before--BorderTopWidth) var(--#{$menu-toggle}--before--BorderRightWidth) var(--#{$menu-toggle}--before--BorderBottomWidth) var(--#{$menu-toggle}--before--BorderLeftWidth);
189
+ position: absolute;
190
+ inset-block-start: 0;
191
+ inset-block-end: 0;
192
+ inset-inline-start: 0;
193
+ inset-inline-end: 0;
194
+ pointer-events: none;
195
+ content: "";
196
+ border: var(--#{$menu-toggle}--BorderWidth) solid var(--#{$menu-toggle}--BorderColor);
196
197
  }
197
198
 
198
199
  &::after {
199
- border-bottom: var(--#{$menu-toggle}--after--BorderBottomWidth) solid var(--#{$menu-toggle}--after--BorderBottomColor);
200
+ border-block-end: var(--#{$menu-toggle}--after--BorderWidth) solid var(--#{$menu-toggle}--after--BorderColor);
200
201
  }
201
202
 
202
203
  &.pf-m-primary {
@@ -254,17 +255,12 @@
254
255
  }
255
256
  }
256
257
 
257
- &.pf-m-plain {
258
- --#{$menu-toggle}__toggle-icon--Color: var(--#{$menu-toggle}--m-plain__toggle-icon--Color);
259
-
260
- &:not(.pf-m-text) {
258
+ &.pf-m-plain:not(.pf-m-text) {
261
259
  --#{$menu-toggle}--PaddingRight: var(--#{$menu-toggle}--m-plain--PaddingRight);
262
260
  --#{$menu-toggle}--PaddingLeft: var(--#{$menu-toggle}--m-plain--PaddingLeft);
263
261
  --#{$menu-toggle}--disabled--BackgroundColor: transparent;
264
262
 
265
263
  display: inline-block;
266
- color: var(--#{$menu-toggle}--m-plain--Color);
267
- }
268
264
  }
269
265
 
270
266
  &.pf-m-full-height {
@@ -282,29 +278,15 @@
282
278
  }
283
279
 
284
280
  &:hover {
285
- --#{$menu-toggle}--BackgroundColor: var(--#{$menu-toggle}--hover--BackgroundColor);
286
- --#{$menu-toggle}--after--BorderBottomWidth: var(--#{$menu-toggle}--hover--after--BorderBottomWidth);
287
- --#{$menu-toggle}--after--BorderBottomColor: var(--#{$menu-toggle}--hover--after--BorderBottomColor);
288
- --#{$menu-toggle}--m-plain__toggle-icon--Color: var(--#{$menu-toggle}--m-plain--hover__toggle-icon--Color);
289
- --#{$menu-toggle}--m-plain--Color: var(--#{$menu-toggle}--m-plain--hover--Color);
290
- }
281
+ --#{$menu-toggle}--BorderColor: var(--#{$menu-toggle}--hover--BorderColor);
282
+ --#{$menu-toggle}--BorderWidth: var(--#{$menu-toggle}--hover--BorderWidth);
283
+ }
291
284
 
292
285
  &:focus,
293
- &:focus-within {
294
- --#{$menu-toggle}--BackgroundColor: var(--#{$menu-toggle}--focus--BackgroundColor);
295
- --#{$menu-toggle}--after--BorderBottomWidth: var(--#{$menu-toggle}--focus--after--BorderBottomWidth);
296
- --#{$menu-toggle}--after--BorderBottomColor: var(--#{$menu-toggle}--focus--after--BorderBottomColor);
297
- --#{$menu-toggle}--m-plain__toggle-icon--Color: var(--#{$menu-toggle}--m-plain--focus__toggle-icon--Color);
298
- --#{$menu-toggle}--m-plain--Color: var(--#{$menu-toggle}--m-plain--focus--Color);
299
- }
300
-
301
286
  &:active {
302
- --#{$menu-toggle}--BackgroundColor: var(--#{$menu-toggle}--active--BackgroundColor);
303
- --#{$menu-toggle}--after--BorderBottomWidth: var(--#{$menu-toggle}--active--after--BorderBottomWidth);
304
- --#{$menu-toggle}--after--BorderBottomColor: var(--#{$menu-toggle}--active--after--BorderBottomColor);
305
- --#{$menu-toggle}--m-plain__toggle-icon--Color: var(--#{$menu-toggle}--m-plain--active__toggle-icon--Color);
306
- --#{$menu-toggle}--m-plain--Color: var(--#{$menu-toggle}--m-plain--active--Color);
307
- }
287
+ --#{$menu-toggle}--BorderColor: var(--#{$menu-toggle}--active--BorderColor);
288
+ --#{$menu-toggle}--BorderWidth: var(--#{$menu-toggle}--active--BorderWidth);
289
+ }
308
290
 
309
291
  &.pf-m-expanded {
310
292
  --#{$menu-toggle}--Color: var(--#{$menu-toggle}--m-expanded--Color);
@@ -325,7 +307,6 @@
325
307
  }
326
308
 
327
309
  &.pf-m-primary,
328
- &.pf-m-plain,
329
310
  &:disabled {
330
311
  &::before,
331
312
  &::after {
@@ -354,16 +335,19 @@
354
335
 
355
336
  > * {
356
337
  position: relative;
357
- padding: var(--#{$menu-toggle}--PaddingTop) var(--#{$menu-toggle}--PaddingRight) var(--#{$menu-toggle}--PaddingBottom) var(--#{$menu-toggle}--PaddingLeft);
338
+ padding-block-start: var(--#{$menu-toggle}--PaddingTop);
339
+ padding-block-end: var(--#{$menu-toggle}--PaddingBottom);
340
+ padding-inline-start: var(--#{$menu-toggle}--PaddingLeft);
341
+ padding-inline-end: var(--#{$menu-toggle}--PaddingRight);
358
342
 
359
343
  &:first-child {
360
- padding-right: var(--#{$menu-toggle}--m-split-button--first-child--PaddingRight);
344
+ padding-inline-end: var(--#{$menu-toggle}--m-split-button--first-child--PaddingRight);
361
345
  }
362
346
  }
363
347
 
364
348
  &:where(:not(.pf-m-action)) {
365
349
  > :last-child {
366
- padding-left: var(--#{$menu-toggle}--m-split-button--last-child--PaddingLeft);
350
+ padding-inline-start: var(--#{$menu-toggle}--m-split-button--last-child--PaddingLeft);
367
351
  }
368
352
  }
369
353
 
@@ -376,11 +360,9 @@
376
360
  align-self: stretch;
377
361
 
378
362
  .#{$check}__input {
379
- align-self: revert;
363
+ --#{$check}__input--TranslateY: 0;
380
364
 
381
- // stylelint-disable property-no-vendor-prefix
382
- -moz-transform: none;
383
- // stylelint-enable
365
+ align-self: center;
384
366
  }
385
367
  }
386
368
 
@@ -390,13 +372,13 @@
390
372
  &:where(:not(.pf-m-primary, .pf-m-secondary, .pf-m-disabled)) > * {
391
373
  &::after {
392
374
  position: absolute;
393
- top: 0;
394
- right: 0;
395
- bottom: 0;
396
- left: var(--#{$menu-toggle}--m-split-button--m-action--child--after--Left);
375
+ inset-block-start: 0;
376
+ inset-block-end: 0;
377
+ inset-inline-start: var(--#{$menu-toggle}--m-split-button--m-action--child--after--Left);
378
+ inset-inline-end: 0;
397
379
  pointer-events: none;
398
380
  content: "";
399
- border-bottom: var(--#{$menu-toggle}--m-split-button--m-action--child--after--BorderBottomWidth) solid var(--#{$menu-toggle}--m-split-button--m-action--child--after--BorderBottomColor);
381
+ border-block-end: var(--#{$menu-toggle}--m-split-button--m-action--child--after--BorderBottomWidth) solid var(--#{$menu-toggle}--m-split-button--m-action--child--after--BorderBottomColor);
400
382
  }
401
383
 
402
384
  &:hover {
@@ -458,13 +440,13 @@
458
440
 
459
441
  // stylelint-disable max-nesting-depth
460
442
  > :first-child {
461
- border-top-left-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
462
- border-bottom-left-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
443
+ border-start-start-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
444
+ border-end-start-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
463
445
  }
464
446
 
465
447
  > :last-child {
466
- border-top-right-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
467
- border-bottom-right-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
448
+ border-start-end-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
449
+ border-end-end-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
468
450
  }
469
451
 
470
452
  // enable-disable
@@ -474,7 +456,7 @@
474
456
  > :not(:first-child) {
475
457
  --#{$menu-toggle}--m-split-button--m-action--child--after--Left: calc(var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftWidth) * -1);
476
458
 
477
- border-left: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftWidth) solid var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftColor);
459
+ border-inline-start: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftWidth) solid var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftColor);
478
460
  }
479
461
 
480
462
  &:not(.pf-m-expanded) {
@@ -519,8 +501,8 @@
519
501
  --#{$menu-toggle}__controls--MarginLeft: var(--#{$menu-toggle}__button__controls--MarginLeft);
520
502
 
521
503
  align-self: var(--#{$menu-toggle}__button--AlignSelf);
522
- padding-right: var(--#{$menu-toggle}__button--PaddingRight);
523
- padding-left: var(--#{$menu-toggle}__button--PaddingLeft);
504
+ padding-inline-start: var(--#{$menu-toggle}__button--PaddingLeft);
505
+ padding-inline-end: var(--#{$menu-toggle}__button--PaddingRight);
524
506
  color: inherit;
525
507
  background-color: var(--#{$menu-toggle}__button--BackgroundColor);
526
508
  border: 0;
@@ -529,7 +511,7 @@
529
511
  .#{$menu-toggle}__icon {
530
512
  flex-shrink: 0;
531
513
  align-self: center;
532
- margin-right: var(--#{$menu-toggle}__icon--MarginRight);
514
+ margin-inline-end: var(--#{$menu-toggle}__icon--MarginRight);
533
515
  line-height: 1;
534
516
  }
535
517
 
@@ -542,17 +524,17 @@
542
524
  .#{$menu-toggle}__count {
543
525
  display: flex;
544
526
  flex-wrap: nowrap;
545
- margin-left: var(--#{$menu-toggle}__count--MarginLeft);
527
+ margin-inline-start: var(--#{$menu-toggle}__count--MarginLeft);
546
528
  }
547
529
 
548
530
  .#{$menu-toggle}__controls {
549
- padding-left: var(--#{$menu-toggle}__controls--PaddingLeft);
550
- margin-right: var(--#{$menu-toggle}__controls--MarginRight);
551
- margin-left: var(--#{$menu-toggle}__controls--MarginLeft);
531
+ padding-inline-start: var(--#{$menu-toggle}__controls--PaddingLeft);
532
+ margin-inline-start: var(--#{$menu-toggle}__controls--MarginLeft);
533
+ margin-inline-end: var(--#{$menu-toggle}__controls--MarginRight);
552
534
  }
553
535
 
554
536
  .#{$menu-toggle}__toggle-icon {
555
- margin-right: var(--#{$menu-toggle}__toggle-icon--MarginRight);
537
+ margin-inline-end: var(--#{$menu-toggle}__toggle-icon--MarginRight);
556
538
  color: var(--#{$menu-toggle}__toggle-icon--Color, inherit);
557
539
  }
558
540
 
@@ -1,48 +1,59 @@
1
- .pf-v5-c-modal-box {
2
- --pf-v5-c-modal-box--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
3
- --pf-v5-c-modal-box--BoxShadow: var(--pf-v5-global--BoxShadow--xl);
1
+ :root {
2
+ --pf-v5-c-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
3
+ --pf-v5-c-modal-box--BorderRadius: var(--pf-t--global--border--radius--large);
4
+ --pf-v5-c-modal-box--BoxShadow: var(--pf-t--global--box-shadow--lg);
4
5
  --pf-v5-c-modal-box--ZIndex: var(--pf-v5-global--ZIndex--xl);
5
6
  --pf-v5-c-modal-box--Width: 100%;
6
- --pf-v5-c-modal-box--MaxWidth: calc(100% - var(--pf-v5-global--spacer--xl));
7
+ --pf-v5-c-modal-box--MaxWidth: calc(100% - var(--pf-t--global--spacer--xl));
7
8
  --pf-v5-c-modal-box--m-sm--sm--MaxWidth: 35rem;
8
9
  --pf-v5-c-modal-box--m-md--Width: 52.5rem;
9
10
  --pf-v5-c-modal-box--m-lg--lg--MaxWidth: 70rem;
10
- --pf-v5-c-modal-box--MaxHeight: calc(100% - var(--pf-v5-global--spacer--2xl));
11
- --pf-v5-c-modal-box--m-align-top--spacer: var(--pf-v5-global--spacer--sm);
12
- --pf-v5-c-modal-box--m-align-top--xl--spacer: var(--pf-v5-global--spacer--xl);
13
- --pf-v5-c-modal-box--m-align-top--MarginTop: var(--pf-v5-c-modal-box--m-align-top--spacer);
14
- --pf-v5-c-modal-box--m-align-top--MaxHeight: calc(100% - min(var(--pf-v5-c-modal-box--m-align-top--spacer), var(--pf-v5-global--spacer--2xl)) - var(--pf-v5-c-modal-box--m-align-top--spacer));
15
- --pf-v5-c-modal-box--m-align-top--MaxWidth: calc(100% - min(var(--pf-v5-c-modal-box--m-align-top--spacer) * 2, var(--pf-v5-global--spacer--xl)));
16
- --pf-v5-c-modal-box--m-danger__title-icon--Color: var(--pf-v5-global--danger-color--100);
17
- --pf-v5-c-modal-box--m-warning__title-icon--Color: var(--pf-v5-global--warning-color--100);
18
- --pf-v5-c-modal-box--m-success__title-icon--Color: var(--pf-v5-global--success-color--100);
19
- --pf-v5-c-modal-box--m-info__title-icon--Color: var(--pf-v5-global--info-color--100);
20
- --pf-v5-c-modal-box--m-custom__title-icon--Color: var(--pf-v5-global--custom-color--200);
21
- --pf-v5-c-modal-box__header--PaddingTop: var(--pf-v5-global--spacer--lg);
22
- --pf-v5-c-modal-box__header--PaddingRight: var(--pf-v5-global--spacer--lg);
23
- --pf-v5-c-modal-box__header--PaddingLeft: var(--pf-v5-global--spacer--lg);
24
- --pf-v5-c-modal-box__header--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
25
- --pf-v5-c-modal-box__title--LineHeight: var(--pf-v5-global--LineHeight--sm);
26
- --pf-v5-c-modal-box__title--FontFamily: var(--pf-v5-global--FontFamily--heading);
27
- --pf-v5-c-modal-box__title--FontSize: var(--pf-v5-global--FontSize--2xl);
28
- --pf-v5-c-modal-box__title-icon--MarginRight: var(--pf-v5-global--spacer--sm);
29
- --pf-v5-c-modal-box__title-icon--Color: var(--pf-v5-global--Color--100);
30
- --pf-v5-c-modal-box__description--PaddingTop: var(--pf-v5-global--spacer--xs);
31
- --pf-v5-c-modal-box__body--MinHeight: calc(var(--pf-v5-global--FontSize--md) * var(--pf-v5-global--LineHeight--md));
32
- --pf-v5-c-modal-box__body--PaddingTop: var(--pf-v5-global--spacer--lg);
33
- --pf-v5-c-modal-box__body--PaddingRight: var(--pf-v5-global--spacer--lg);
34
- --pf-v5-c-modal-box__body--PaddingLeft: var(--pf-v5-global--spacer--lg);
35
- --pf-v5-c-modal-box__body--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
36
- --pf-v5-c-modal-box__header--body--PaddingTop: var(--pf-v5-global--spacer--md);
37
- --pf-v5-c-modal-box__close--Top: calc(var(--pf-v5-global--spacer--lg));
38
- --pf-v5-c-modal-box__close--Right: var(--pf-v5-global--spacer--md);
39
- --pf-v5-c-modal-box__close--sibling--MarginRight: calc(var(--pf-v5-global--spacer--xl) + var(--pf-v5-global--spacer--sm));
40
- --pf-v5-c-modal-box__footer--PaddingTop: var(--pf-v5-global--spacer--lg);
41
- --pf-v5-c-modal-box__footer--PaddingRight: var(--pf-v5-global--spacer--lg);
42
- --pf-v5-c-modal-box__footer--PaddingBottom: var(--pf-v5-global--spacer--lg);
43
- --pf-v5-c-modal-box__footer--PaddingLeft: var(--pf-v5-global--spacer--lg);
44
- --pf-v5-c-modal-box__footer--c-button--MarginRight: var(--pf-v5-global--spacer--md);
11
+ --pf-v5-c-modal-box--MaxHeight: calc(100% - var(--pf-t--global--spacer--2xl));
12
+ --pf-v5-c-modal-box--m-align-top--spacer: var(--pf-t--global--spacer--sm);
13
+ --pf-v5-c-modal-box--m-align-top--xl--spacer: var(--pf-t--global--spacer--xl);
14
+ --pf-v5-c-modal-box--m-align-top--Top: var(--pf-v5-c-modal-box--m-align-top--spacer);
15
+ --pf-v5-c-modal-box--m-align-top--MaxHeight: calc(100% - min(var(--pf-v5-c-modal-box--m-align-top--spacer), var(--pf-t--global--spacer--2xl)) - var(--pf-v5-c-modal-box--m-align-top--spacer));
16
+ --pf-v5-c-modal-box--m-align-top--MaxWidth: calc(100% - min(var(--pf-v5-c-modal-box--m-align-top--spacer) * 2, var(--pf-t--global--spacer--xl)));
17
+ --pf-v5-c-modal-box--m-danger__title-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
18
+ --pf-v5-c-modal-box--m-warning__title-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
19
+ --pf-v5-c-modal-box--m-success__title-icon--Color: var(--pf-t--global--icon--color--status--success--default);
20
+ --pf-v5-c-modal-box--m-info__title-icon--Color: var(--pf-t--global--icon--color--status--info--default);
21
+ --pf-v5-c-modal-box--m-custom__title-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
22
+ --pf-v5-c-modal-box__header--PaddingTop: var(--pf-t--global--spacer--lg);
23
+ --pf-v5-c-modal-box__header--PaddingRight: var(--pf-t--global--spacer--lg);
24
+ --pf-v5-c-modal-box__header--PaddingLeft: var(--pf-t--global--spacer--lg);
25
+ --pf-v5-c-modal-box__header--Gap: var(--pf-t--global--spacer--md);
26
+ --pf-v5-c-modal-box__header-main--Gap: var(--pf-t--global--spacer--md);
27
+ --pf-v5-c-modal-box__title--LineHeight: var(--pf-t--global--font--line-height--heading);
28
+ --pf-v5-c-modal-box__title--FontFamily: var(--pf-t--global--font--family--heading);
29
+ --pf-v5-c-modal-box__title--FontSize: var(--pf-t--global--font--size--heading--md);
30
+ --pf-v5-c-modal-box__title-icon--MarginRight: var(--pf-t--global--spacer--sm);
31
+ --pf-v5-c-modal-box__title-icon--Color: var(--pf-t--global--icon--color--regular);
32
+ --pf-v5-c-modal-box__description--FontSize: var(--pf-t--global--font--size--body--sm);
33
+ --pf-v5-c-modal-box__description--Color: var(--pf-t--global--text--color--subtle);
34
+ --pf-v5-c-modal-box__body--MinHeight: calc(var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body));
35
+ --pf-v5-c-modal-box__body--PaddingTop: var(--pf-t--global--spacer--lg);
36
+ --pf-v5-c-modal-box__body--PaddingRight: var(--pf-t--global--spacer--lg);
37
+ --pf-v5-c-modal-box__body--PaddingLeft: var(--pf-t--global--spacer--lg);
38
+ --pf-v5-c-modal-box__body--last-child--PaddingBottom: var(--pf-t--global--spacer--lg);
39
+ --pf-v5-c-modal-box__header--body--PaddingTop: var(--pf-t--global--spacer--md);
40
+ --pf-v5-c-modal-box__close--Top: var(--pf-v5-c-modal-box__header--PaddingTop);
41
+ --pf-v5-c-modal-box__close--Right: var(--pf-v5-c-modal-box__header--PaddingRight);
42
+ --pf-v5-c-modal-box__close--sibling--MarginRight: calc(var(--pf-t--global--spacer--xl) + var(--pf-t--global--spacer--sm));
43
+ --pf-v5-c-modal-box__footer--PaddingTop: var(--pf-t--global--spacer--lg);
44
+ --pf-v5-c-modal-box__footer--PaddingRight: var(--pf-t--global--spacer--lg);
45
+ --pf-v5-c-modal-box__footer--PaddingBottom: var(--pf-t--global--spacer--lg);
46
+ --pf-v5-c-modal-box__footer--PaddingLeft: var(--pf-t--global--spacer--lg);
47
+ --pf-v5-c-modal-box__footer--c-button--MarginRight: var(--pf-t--global--spacer--md);
45
48
  --pf-v5-c-modal-box__footer--c-button--sm--MarginRight: calc(var(--pf-v5-c-modal-box__footer--c-button--MarginRight) / 2);
49
+ }
50
+ @media (min-width: 1200px) {
51
+ :root {
52
+ --pf-v5-c-modal-box--m-align-top--spacer: var(--pf-v5-c-modal-box--m-align-top--xl--spacer);
53
+ }
54
+ }
55
+
56
+ .pf-v5-c-modal-box {
46
57
  position: relative;
47
58
  z-index: var(--pf-v5-c-modal-box--ZIndex);
48
59
  display: flex;
@@ -50,14 +61,11 @@
50
61
  width: var(--pf-v5-c-modal-box--Width);
51
62
  max-width: var(--pf-v5-c-modal-box--MaxWidth);
52
63
  max-height: var(--pf-v5-c-modal-box--MaxHeight);
64
+ overflow: auto;
53
65
  background-color: var(--pf-v5-c-modal-box--BackgroundColor);
66
+ border-radius: var(--pf-v5-c-modal-box--BorderRadius);
54
67
  box-shadow: var(--pf-v5-c-modal-box--BoxShadow);
55
68
  }
56
- @media (min-width: 1200px) {
57
- .pf-v5-c-modal-box {
58
- --pf-v5-c-modal-box--m-align-top--spacer: var(--pf-v5-c-modal-box--m-align-top--xl--spacer);
59
- }
60
- }
61
69
  .pf-v5-c-modal-box.pf-m-sm {
62
70
  --pf-v5-c-modal-box--Width: var(--pf-v5-c-modal-box--m-sm--sm--MaxWidth);
63
71
  }
@@ -68,7 +76,7 @@
68
76
  --pf-v5-c-modal-box--Width: var(--pf-v5-c-modal-box--m-lg--lg--MaxWidth);
69
77
  }
70
78
  .pf-v5-c-modal-box.pf-m-align-top {
71
- top: var(--pf-v5-c-modal-box--m-align-top--MarginTop);
79
+ inset-block-start: var(--pf-v5-c-modal-box--m-align-top--Top);
72
80
  align-self: flex-start;
73
81
  max-width: var(--pf-v5-c-modal-box--m-align-top--MaxWidth);
74
82
  max-height: var(--pf-v5-c-modal-box--m-align-top--MaxHeight);
@@ -91,34 +99,35 @@
91
99
 
92
100
  .pf-v5-c-modal-box__close {
93
101
  position: absolute;
94
- top: var(--pf-v5-c-modal-box__close--Top);
95
- right: var(--pf-v5-c-modal-box__close--Right);
102
+ inset-block-start: var(--pf-v5-c-modal-box__close--Top);
103
+ inset-inline-end: var(--pf-v5-c-modal-box__close--Right);
96
104
  }
97
105
  .pf-v5-c-modal-box__close + * {
98
- margin-right: var(--pf-v5-c-modal-box__close--sibling--MarginRight);
106
+ margin-inline-end: var(--pf-v5-c-modal-box__close--sibling--MarginRight);
99
107
  }
100
108
 
101
109
  .pf-v5-c-modal-box__header {
102
110
  display: flex;
103
111
  flex-direction: column;
104
112
  flex-shrink: 0;
105
- padding-top: var(--pf-v5-c-modal-box__header--PaddingTop);
106
- padding-right: var(--pf-v5-c-modal-box__header--PaddingRight);
107
- padding-left: var(--pf-v5-c-modal-box__header--PaddingLeft);
113
+ gap: var(--pf-v5-c-modal-box__header--Gap);
114
+ padding-block-start: var(--pf-v5-c-modal-box__header--PaddingTop);
115
+ padding-inline-start: var(--pf-v5-c-modal-box__header--PaddingLeft);
116
+ padding-inline-end: var(--pf-v5-c-modal-box__header--PaddingRight);
108
117
  }
109
118
  .pf-v5-c-modal-box__header.pf-m-help {
110
119
  display: flex;
111
120
  flex-direction: row;
112
121
  }
113
- .pf-v5-c-modal-box__header:last-child {
114
- padding-bottom: var(--pf-v5-c-modal-box__header--last-child--PaddingBottom);
115
- }
116
122
  .pf-v5-c-modal-box__header + .pf-v5-c-modal-box__body {
117
123
  --pf-v5-c-modal-box__body--PaddingTop: var(--pf-v5-c-modal-box__header--body--PaddingTop);
118
124
  }
119
125
 
120
126
  .pf-v5-c-modal-box__header-main {
127
+ display: flex;
128
+ flex-direction: column;
121
129
  flex-grow: 1;
130
+ gap: var(--pf-v5-c-modal-box__header-main--Gap);
122
131
  min-width: 0;
123
132
  }
124
133
 
@@ -140,20 +149,22 @@
140
149
  }
141
150
 
142
151
  .pf-v5-c-modal-box__title-icon {
143
- margin-right: var(--pf-v5-c-modal-box__title-icon--MarginRight);
152
+ margin-inline-end: var(--pf-v5-c-modal-box__title-icon--MarginRight);
144
153
  color: var(--pf-v5-c-modal-box__title-icon--Color);
145
154
  }
146
155
 
147
156
  .pf-v5-c-modal-box__description {
148
- padding-top: var(--pf-v5-c-modal-box__description--PaddingTop);
157
+ padding-block-start: var(--pf-v5-c-modal-box__description--PaddingTop);
158
+ font-size: var(--pf-v5-c-modal-box__description--FontSize);
159
+ color: var(--pf-v5-c-modal-box__description--Color);
149
160
  }
150
161
 
151
162
  .pf-v5-c-modal-box__body {
152
163
  flex: 1 1 auto;
153
164
  min-height: var(--pf-v5-c-modal-box__body--MinHeight);
154
- padding-top: var(--pf-v5-c-modal-box__body--PaddingTop);
155
- padding-right: var(--pf-v5-c-modal-box__body--PaddingRight);
156
- padding-left: var(--pf-v5-c-modal-box__body--PaddingLeft);
165
+ padding-block-start: var(--pf-v5-c-modal-box__body--PaddingTop);
166
+ padding-inline-start: var(--pf-v5-c-modal-box__body--PaddingLeft);
167
+ padding-inline-end: var(--pf-v5-c-modal-box__body--PaddingRight);
157
168
  overflow-x: hidden;
158
169
  overflow-y: auto;
159
170
  overscroll-behavior: contain;
@@ -161,27 +172,23 @@
161
172
  -webkit-overflow-scrolling: touch;
162
173
  }
163
174
  .pf-v5-c-modal-box__body:last-child {
164
- padding-bottom: var(--pf-v5-c-modal-box__body--last-child--PaddingBottom);
175
+ padding-block-end: var(--pf-v5-c-modal-box__body--last-child--PaddingBottom);
165
176
  }
166
177
 
167
178
  .pf-v5-c-modal-box__footer {
168
179
  display: flex;
169
180
  flex: 0 0 auto;
170
181
  align-items: center;
171
- padding-top: var(--pf-v5-c-modal-box__footer--PaddingTop);
172
- padding-right: var(--pf-v5-c-modal-box__footer--PaddingRight);
173
- padding-bottom: var(--pf-v5-c-modal-box__footer--PaddingBottom);
174
- padding-left: var(--pf-v5-c-modal-box__footer--PaddingLeft);
182
+ padding-block-start: var(--pf-v5-c-modal-box__footer--PaddingTop);
183
+ padding-block-end: var(--pf-v5-c-modal-box__footer--PaddingBottom);
184
+ padding-inline-start: var(--pf-v5-c-modal-box__footer--PaddingLeft);
185
+ padding-inline-end: var(--pf-v5-c-modal-box__footer--PaddingRight);
175
186
  }
176
187
  .pf-v5-c-modal-box__footer > .pf-v5-c-button:not(:last-child) {
177
- margin-right: var(--pf-v5-c-modal-box__footer--c-button--MarginRight);
188
+ margin-inline-end: var(--pf-v5-c-modal-box__footer--c-button--MarginRight);
178
189
  }
179
190
  @media screen and (min-width: 576px) {
180
191
  .pf-v5-c-modal-box__footer > .pf-v5-c-button:not(:last-child) {
181
192
  --pf-v5-c-modal-box__footer--c-button--MarginRight: var(--pf-v5-c-modal-box__footer--c-button--sm--MarginRight);
182
193
  }
183
- }
184
-
185
- :where(.pf-v5-theme-dark) .pf-v5-c-modal-box {
186
- --pf-v5-c-modal-box--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
187
194
  }