@patternfly/patternfly 6.0.0-alpha.3 → 6.0.0-alpha.31

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 (321) hide show
  1. package/README.md +13 -3
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/images/PF-Backdrop.svg +1 -0
  4. package/assets/images/PF-IconLogo-Reverse.svg +14 -0
  5. package/assets/images/PF-IconLogo.svg +17 -0
  6. package/assets/images/logo__pf--reverse-on-md.svg +1 -1
  7. package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
  8. package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
  9. package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
  10. package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
  11. package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
  12. package/assets/images/pf_logo_white.hbs +35 -0
  13. package/assets/images/pf_logo_white.svg +38 -0
  14. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  15. package/assets/pficon/pficon.scss +6 -129
  16. package/base/_common.scss +29 -4
  17. package/base/_globals.scss +5 -9
  18. package/base/_variables.scss +8 -6
  19. package/base/patternfly-common.css +24 -6
  20. package/base/patternfly-globals.css +5 -5
  21. package/base/patternfly-icons.css +5 -1
  22. package/base/patternfly-pf-icons.css +5 -1
  23. package/base/patternfly-variables.css +886 -771
  24. package/base/tokens/_tokens-dark.scss +322 -265
  25. package/base/tokens/_tokens-default.scss +426 -306
  26. package/base/tokens/_tokens-font.scss +59 -35
  27. package/base/tokens/_tokens-palette.scss +69 -71
  28. package/base/tokens/_workspace-overrides.scss +7 -0
  29. package/components/AboutModalBox/about-modal-box.css +80 -108
  30. package/components/AboutModalBox/about-modal-box.scss +64 -78
  31. package/components/Accordion/accordion.css +96 -175
  32. package/components/Accordion/accordion.scss +106 -193
  33. package/components/ActionList/action-list.css +2 -2
  34. package/components/ActionList/action-list.scss +2 -2
  35. package/components/Alert/alert-group.css +27 -20
  36. package/components/Alert/alert-group.scss +27 -20
  37. package/components/Alert/alert.css +74 -95
  38. package/components/Alert/alert.scss +76 -89
  39. package/components/AppLauncher/app-launcher.css +32 -23
  40. package/components/AppLauncher/app-launcher.scss +32 -23
  41. package/components/BackToTop/back-to-top.css +17 -15
  42. package/components/BackToTop/back-to-top.scss +14 -13
  43. package/components/Backdrop/backdrop.css +2 -2
  44. package/components/Backdrop/backdrop.scss +2 -2
  45. package/components/BackgroundImage/background-image.css +6 -3
  46. package/components/BackgroundImage/background-image.scss +8 -3
  47. package/components/Badge/badge.css +25 -17
  48. package/components/Badge/badge.scss +27 -19
  49. package/components/Banner/banner.css +91 -69
  50. package/components/Banner/banner.scss +95 -34
  51. package/components/Breadcrumb/breadcrumb.css +28 -19
  52. package/components/Breadcrumb/breadcrumb.scss +26 -19
  53. package/components/Button/button.css +35 -23
  54. package/components/Button/button.scss +36 -26
  55. package/components/Button/themes/dark/button.scss +1 -1
  56. package/components/CalendarMonth/calendar-month.css +25 -15
  57. package/components/CalendarMonth/calendar-month.scss +23 -15
  58. package/components/Card/card.css +25 -17
  59. package/components/Card/card.scss +24 -17
  60. package/components/Check/check.css +12 -10
  61. package/components/Check/check.scss +17 -12
  62. package/components/Chip/chip-group.css +6 -6
  63. package/components/Chip/chip-group.scss +6 -6
  64. package/components/Chip/chip.css +16 -9
  65. package/components/Chip/chip.scss +17 -9
  66. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  67. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  68. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  69. package/components/CodeBlock/code-block.css +6 -3
  70. package/components/CodeBlock/code-block.scss +6 -3
  71. package/components/CodeEditor/code-editor.css +31 -22
  72. package/components/CodeEditor/code-editor.scss +30 -21
  73. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  74. package/components/Content/content.css +100 -97
  75. package/components/Content/content.scss +101 -98
  76. package/components/ContextSelector/context-selector.css +41 -26
  77. package/components/ContextSelector/context-selector.scss +40 -25
  78. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  79. package/components/DataList/data-list-grid.css +21 -21
  80. package/components/DataList/data-list-grid.scss +3 -3
  81. package/components/DataList/data-list.css +69 -56
  82. package/components/DataList/data-list.scss +47 -35
  83. package/components/DatePicker/date-picker.css +8 -8
  84. package/components/DatePicker/date-picker.scss +8 -8
  85. package/components/DescriptionList/description-list.css +8 -5
  86. package/components/DescriptionList/description-list.scss +8 -5
  87. package/components/DragDrop/drag-drop.css +8 -8
  88. package/components/DragDrop/drag-drop.scss +8 -8
  89. package/components/Drawer/drawer.css +120 -62
  90. package/components/Drawer/drawer.scss +94 -44
  91. package/components/Dropdown/dropdown.css +76 -69
  92. package/components/Dropdown/dropdown.scss +67 -62
  93. package/components/DualListSelector/dual-list-selector.css +29 -15
  94. package/components/DualListSelector/dual-list-selector.scss +30 -15
  95. package/components/EmptyState/empty-state.css +7 -4
  96. package/components/EmptyState/empty-state.scss +7 -4
  97. package/components/ExpandableSection/expandable-section.css +75 -59
  98. package/components/ExpandableSection/expandable-section.scss +81 -72
  99. package/components/FileUpload/file-upload.css +9 -15
  100. package/components/FileUpload/file-upload.scss +9 -15
  101. package/components/Form/form.css +53 -50
  102. package/components/Form/form.scss +46 -44
  103. package/components/FormControl/form-control.css +18 -9
  104. package/components/FormControl/form-control.scss +18 -9
  105. package/components/HelperText/helper-text.css +29 -35
  106. package/components/HelperText/helper-text.scss +31 -41
  107. package/components/Hint/hint.css +37 -27
  108. package/components/Hint/hint.scss +37 -30
  109. package/components/Icon/icon.css +1 -1
  110. package/components/Icon/icon.scss +1 -1
  111. package/components/InlineEdit/inline-edit.css +9 -9
  112. package/components/InlineEdit/inline-edit.scss +9 -9
  113. package/components/InputGroup/input-group.css +12 -6
  114. package/components/InputGroup/input-group.scss +11 -5
  115. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  116. package/components/JumpLinks/jump-links.css +27 -24
  117. package/components/JumpLinks/jump-links.scss +26 -24
  118. package/components/Label/label-group.css +13 -10
  119. package/components/Label/label-group.scss +13 -10
  120. package/components/Label/label.css +9 -9
  121. package/components/Label/label.scss +9 -9
  122. package/components/List/list.css +25 -25
  123. package/components/List/list.scss +26 -26
  124. package/components/LogViewer/log-viewer.css +14 -14
  125. package/components/LogViewer/log-viewer.scss +14 -14
  126. package/components/Login/login.css +104 -122
  127. package/components/Login/login.scss +92 -91
  128. package/components/Masthead/masthead.css +68 -125
  129. package/components/Masthead/masthead.scss +123 -153
  130. package/components/Menu/menu.css +82 -65
  131. package/components/Menu/menu.scss +85 -69
  132. package/components/MenuToggle/menu-toggle.css +89 -100
  133. package/components/MenuToggle/menu-toggle.scss +92 -112
  134. package/components/ModalBox/modal-box.css +76 -69
  135. package/components/ModalBox/modal-box.scss +74 -70
  136. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  137. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  138. package/components/Nav/nav.css +162 -133
  139. package/components/Nav/nav.scss +162 -135
  140. package/components/Nav/themes/dark/nav.scss +2 -2
  141. package/components/NotificationBadge/notification-badge.css +66 -85
  142. package/components/NotificationBadge/notification-badge.scss +72 -103
  143. package/components/NotificationDrawer/notification-drawer.css +32 -19
  144. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  145. package/components/NumberInput/number-input.css +2 -2
  146. package/components/NumberInput/number-input.scss +2 -2
  147. package/components/OptionsMenu/options-menu.css +43 -31
  148. package/components/OptionsMenu/options-menu.scss +43 -31
  149. package/components/OverflowMenu/overflow-menu.css +2 -2
  150. package/components/OverflowMenu/overflow-menu.scss +2 -2
  151. package/components/Page/page.css +232 -271
  152. package/components/Page/page.scss +180 -231
  153. package/components/Pagination/pagination.css +27 -17
  154. package/components/Pagination/pagination.scss +25 -17
  155. package/components/Panel/panel.css +13 -7
  156. package/components/Panel/panel.scss +13 -7
  157. package/components/Popover/popover.css +110 -87
  158. package/components/Popover/popover.scss +120 -109
  159. package/components/Progress/progress.css +9 -7
  160. package/components/Progress/progress.scss +12 -7
  161. package/components/ProgressStepper/progress-stepper.css +26 -20
  162. package/components/ProgressStepper/progress-stepper.scss +25 -19
  163. package/components/Radio/radio.css +16 -13
  164. package/components/Radio/radio.scss +20 -14
  165. package/components/Select/select.css +56 -47
  166. package/components/Select/select.scss +56 -47
  167. package/components/Sidebar/sidebar.css +11 -5
  168. package/components/Sidebar/sidebar.scss +11 -5
  169. package/components/SimpleList/simple-list.css +10 -4
  170. package/components/SimpleList/simple-list.scss +10 -4
  171. package/components/Skeleton/skeleton.css +6 -5
  172. package/components/Skeleton/skeleton.scss +4 -5
  173. package/components/SkipToContent/skip-to-content.css +9 -6
  174. package/components/SkipToContent/skip-to-content.scss +8 -6
  175. package/components/Slider/slider.css +47 -26
  176. package/components/Slider/slider.scss +56 -28
  177. package/components/Switch/switch.css +10 -6
  178. package/components/Switch/switch.scss +11 -7
  179. package/components/TabContent/tab-content.css +4 -1
  180. package/components/TabContent/tab-content.scss +4 -1
  181. package/components/Table/table-grid.css +264 -203
  182. package/components/Table/table-grid.scss +61 -47
  183. package/components/Table/table-scrollable.css +4 -4
  184. package/components/Table/table-scrollable.scss +6 -4
  185. package/components/Table/table-tree-view.css +112 -105
  186. package/components/Table/table-tree-view.scss +38 -33
  187. package/components/Table/table.css +176 -159
  188. package/components/Table/table.scss +177 -165
  189. package/components/Tabs/tabs.css +76 -48
  190. package/components/Tabs/tabs.scss +74 -48
  191. package/components/TextInputGroup/text-input-group.css +15 -15
  192. package/components/TextInputGroup/text-input-group.scss +15 -15
  193. package/components/Tile/tile.css +10 -10
  194. package/components/Tile/tile.scss +10 -10
  195. package/components/Title/title.css +70 -19
  196. package/components/Title/title.scss +90 -20
  197. package/components/ToggleGroup/toggle-group.css +14 -11
  198. package/components/ToggleGroup/toggle-group.scss +14 -11
  199. package/components/Toolbar/toolbar.css +57 -44
  200. package/components/Toolbar/toolbar.scss +45 -26
  201. package/components/Tooltip/tooltip.css +76 -44
  202. package/components/Tooltip/tooltip.scss +93 -77
  203. package/components/TreeView/tree-view.css +48 -27
  204. package/components/TreeView/tree-view.scss +50 -28
  205. package/components/Truncate/truncate.css +9 -0
  206. package/components/Truncate/truncate.scss +16 -3
  207. package/components/Wizard/wizard.css +57 -36
  208. package/components/Wizard/wizard.scss +57 -36
  209. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  210. package/docs/components/Accordion/examples/Accordion.md +614 -416
  211. package/docs/components/Alert/examples/Alert.md +1 -1
  212. package/docs/components/Badge/examples/Badge.md +21 -0
  213. package/docs/components/Banner/examples/Banner.md +48 -25
  214. package/docs/components/Brand/examples/Brand.css +12 -0
  215. package/docs/components/Brand/examples/Brand.md +75 -32
  216. package/docs/components/Button/examples/Button.css +2 -2
  217. package/docs/components/Button/examples/Button.md +15 -3
  218. package/docs/components/Card/examples/Card.md +125 -17
  219. package/docs/components/Check/examples/Check.md +71 -59
  220. package/docs/components/Chip/examples/Chip.md +1 -1
  221. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  222. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  223. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  224. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  225. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  226. package/docs/components/ExpandableSection/examples/ExpandableSection.md +47 -24
  227. package/docs/components/Label/examples/Label.md +1 -1
  228. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  229. package/docs/components/LogViewer/examples/LogViewer.md +250 -160
  230. package/docs/components/Login/examples/Login.md +5 -0
  231. package/docs/components/Masthead/examples/masthead.md +7 -54
  232. package/docs/components/Menu/examples/Menu.css +8 -0
  233. package/docs/components/Menu/examples/Menu.md +594 -543
  234. package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
  235. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  236. package/docs/components/Nav/examples/Navigation.css +3 -25
  237. package/docs/components/Nav/examples/Navigation.md +239 -113
  238. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  239. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  240. package/docs/components/Page/examples/Page.css +0 -8
  241. package/docs/components/Page/examples/Page.md +22 -21
  242. package/docs/components/Popover/examples/Popover.css +4 -9
  243. package/docs/components/Popover/examples/Popover.md +1 -1
  244. package/docs/components/Radio/examples/Radio.md +63 -55
  245. package/docs/components/Select/deprecated/Select.md +184 -177
  246. package/docs/components/Table/examples/Table.css +2 -2
  247. package/docs/components/Table/examples/Table.md +2 -2
  248. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  249. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  250. package/docs/components/Tile/examples/Tile.css +1 -1
  251. package/docs/components/Title/examples/Title.md +18 -0
  252. package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
  253. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  254. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  255. package/docs/components/Truncate/examples/Truncate.md +2 -2
  256. package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
  257. package/docs/demos/Alert/examples/Alert.md +249 -24
  258. package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
  259. package/docs/demos/Banner/examples/Banner.md +168 -16
  260. package/docs/demos/Card/examples/Card.css +3 -3
  261. package/docs/demos/Card/examples/Card.md +28 -12
  262. package/docs/demos/CardView/examples/CardView.md +139 -79
  263. package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
  264. package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
  265. package/docs/demos/DataList/examples/DataList.md +524 -354
  266. package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
  267. package/docs/demos/Drawer/examples/Drawer.md +415 -40
  268. package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
  269. package/docs/demos/Masthead/examples/Masthead.md +793 -277
  270. package/docs/demos/Modal/examples/Modal.md +498 -48
  271. package/docs/demos/Nav/examples/Nav.md +664 -64
  272. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
  273. package/docs/demos/Page/examples/Page.md +747 -72
  274. package/docs/demos/Page/examples/Penta.md +746 -0
  275. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
  276. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
  277. package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
  278. package/docs/demos/Table/examples/Table.md +2313 -1887
  279. package/docs/demos/Tabs/examples/Tabs.md +528 -71
  280. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  281. package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
  282. package/docs/demos/Wizard/examples/Wizard.md +747 -72
  283. package/docs/layouts/Flex/examples/Flex.md +5 -5
  284. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  285. package/icons/pficons.mjs +1 -0
  286. package/layouts/Flex/flex.css +115 -43
  287. package/layouts/Flex/flex.scss +20 -8
  288. package/package.json +9 -5
  289. package/patternfly-addons.css +732 -972
  290. package/patternfly-base-no-globals-theme-dark-unversioned.css +921 -784
  291. package/patternfly-base-no-globals.css +921 -784
  292. package/patternfly-base-theme-dark-unversioned.css +926 -789
  293. package/patternfly-base.css +926 -789
  294. package/patternfly-no-globals.css +4838 -4253
  295. package/patternfly-theme-dark-unversioned.css +4843 -4258
  296. package/patternfly.css +4843 -4258
  297. package/patternfly.min.css +1 -1
  298. package/patternfly.min.css.map +1 -1
  299. package/sass-utilities/functions.scss +6 -0
  300. package/sass-utilities/mixins.scss +62 -2
  301. package/sass-utilities/scss-variables.scss +8 -8
  302. package/sass-utilities/themes/dark/mixins.scss +3 -1
  303. package/utilities/Accessibility/accessibility.css +12 -12
  304. package/utilities/Spacing/spacing.css +720 -960
  305. package/utilities/Spacing/spacing.scss +4 -8
  306. package/base/themes/dark/_variables.scss +0 -102
  307. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  308. package/components/Accordion/themes/dark/accordion.scss +0 -9
  309. package/components/Alert/themes/dark/alert.scss +0 -17
  310. package/components/Badge/themes/dark/badge.scss +0 -9
  311. package/components/Banner/themes/dark/banner.scss +0 -14
  312. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  313. package/components/Hint/themes/dark/hint.scss +0 -8
  314. package/components/Login/themes/dark/login.scss +0 -12
  315. package/components/Masthead/themes/dark/masthead.scss +0 -14
  316. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  317. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  318. package/components/Page/themes/dark/page.scss +0 -69
  319. package/components/Popover/themes/dark/popover.scss +0 -11
  320. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  321. 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,7 @@
376
360
  align-self: stretch;
377
361
 
378
362
  .#{$check}__input {
379
- align-self: revert;
380
-
381
- // stylelint-disable property-no-vendor-prefix
382
- -moz-transform: none;
383
- // stylelint-enable
363
+ align-self: center;
384
364
  }
385
365
  }
386
366
 
@@ -390,13 +370,13 @@
390
370
  &:where(:not(.pf-m-primary, .pf-m-secondary, .pf-m-disabled)) > * {
391
371
  &::after {
392
372
  position: absolute;
393
- top: 0;
394
- right: 0;
395
- bottom: 0;
396
- left: var(--#{$menu-toggle}--m-split-button--m-action--child--after--Left);
373
+ inset-block-start: 0;
374
+ inset-block-end: 0;
375
+ inset-inline-start: var(--#{$menu-toggle}--m-split-button--m-action--child--after--Left);
376
+ inset-inline-end: 0;
397
377
  pointer-events: none;
398
378
  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);
379
+ 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
380
  }
401
381
 
402
382
  &:hover {
@@ -458,13 +438,13 @@
458
438
 
459
439
  // stylelint-disable max-nesting-depth
460
440
  > :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);
441
+ border-start-start-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
442
+ border-end-start-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
463
443
  }
464
444
 
465
445
  > :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);
446
+ border-start-end-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
447
+ border-end-end-radius: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderRadius);
468
448
  }
469
449
 
470
450
  // enable-disable
@@ -474,7 +454,7 @@
474
454
  > :not(:first-child) {
475
455
  --#{$menu-toggle}--m-split-button--m-action--child--after--Left: calc(var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftWidth) * -1);
476
456
 
477
- border-left: var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftWidth) solid var(--#{$menu-toggle}--m-split-button--m-action--child--BorderLeftColor);
457
+ 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
458
  }
479
459
 
480
460
  &:not(.pf-m-expanded) {
@@ -519,8 +499,8 @@
519
499
  --#{$menu-toggle}__controls--MarginLeft: var(--#{$menu-toggle}__button__controls--MarginLeft);
520
500
 
521
501
  align-self: var(--#{$menu-toggle}__button--AlignSelf);
522
- padding-right: var(--#{$menu-toggle}__button--PaddingRight);
523
- padding-left: var(--#{$menu-toggle}__button--PaddingLeft);
502
+ padding-inline-start: var(--#{$menu-toggle}__button--PaddingLeft);
503
+ padding-inline-end: var(--#{$menu-toggle}__button--PaddingRight);
524
504
  color: inherit;
525
505
  background-color: var(--#{$menu-toggle}__button--BackgroundColor);
526
506
  border: 0;
@@ -529,7 +509,7 @@
529
509
  .#{$menu-toggle}__icon {
530
510
  flex-shrink: 0;
531
511
  align-self: center;
532
- margin-right: var(--#{$menu-toggle}__icon--MarginRight);
512
+ margin-inline-end: var(--#{$menu-toggle}__icon--MarginRight);
533
513
  line-height: 1;
534
514
  }
535
515
 
@@ -542,17 +522,17 @@
542
522
  .#{$menu-toggle}__count {
543
523
  display: flex;
544
524
  flex-wrap: nowrap;
545
- margin-left: var(--#{$menu-toggle}__count--MarginLeft);
525
+ margin-inline-start: var(--#{$menu-toggle}__count--MarginLeft);
546
526
  }
547
527
 
548
528
  .#{$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);
529
+ padding-inline-start: var(--#{$menu-toggle}__controls--PaddingLeft);
530
+ margin-inline-start: var(--#{$menu-toggle}__controls--MarginLeft);
531
+ margin-inline-end: var(--#{$menu-toggle}__controls--MarginRight);
552
532
  }
553
533
 
554
534
  .#{$menu-toggle}__toggle-icon {
555
- margin-right: var(--#{$menu-toggle}__toggle-icon--MarginRight);
535
+ margin-inline-end: var(--#{$menu-toggle}__toggle-icon--MarginRight);
556
536
  color: var(--#{$menu-toggle}__toggle-icon--Color, inherit);
557
537
  }
558
538
 
@@ -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
  }