@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,70 +1,79 @@
1
1
  // @debug $expandable-section; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
- .#{$expandable-section} {
3
+ :root {
4
4
  // Toggle
5
- --#{$expandable-section}__toggle--PaddingTop: var(--#{$pf-global}--spacer--form-element);
6
- --#{$expandable-section}__toggle--PaddingRight: var(--#{$pf-global}--spacer--md);
7
- --#{$expandable-section}__toggle--PaddingBottom: var(--#{$pf-global}--spacer--form-element);
8
- --#{$expandable-section}__toggle--PaddingLeft: 0;
9
- --#{$expandable-section}__toggle--MarginTop: 0;
10
- --#{$expandable-section}__toggle--Color: var(--#{$pf-global}--link--Color);
11
- --#{$expandable-section}__toggle--hover--Color: var(--#{$pf-global}--link--Color--hover);
12
- --#{$expandable-section}__toggle--active--Color: var(--#{$pf-global}--link--Color--hover);
13
- --#{$expandable-section}__toggle--focus--Color: var(--#{$pf-global}--link--Color--hover);
14
- --#{$expandable-section}__toggle--m-expanded--Color: var(--#{$pf-global}--link--Color--hover);
5
+ --#{$expandable-section}__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
6
+ --#{$expandable-section}__toggle--PaddingRight: var(--pf-t--global--spacer--md);
7
+ --#{$expandable-section}__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
8
+ --#{$expandable-section}__toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
15
9
  --#{$expandable-section}__toggle--BackgroundColor: transparent;
16
-
10
+ --#{$expandable-section}__toggle--ColumnGap: calc(var(--pf-t--global--spacer--xs) + var(--pf-t--global--spacer--sm));
11
+
17
12
  // Toggle icon
18
13
  --#{$expandable-section}__toggle-icon--MinWidth: 1em;
19
- --#{$expandable-section}__toggle-icon--Color: var(--#{$pf-global}--Color--100);
14
+ --#{$expandable-section}__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
20
15
  --#{$expandable-section}__toggle-icon--Transition: .2s ease-in 0s;
21
16
  --#{$expandable-section}__toggle-icon--Rotate: 0;
22
17
  --#{$expandable-section}__toggle-icon--m-expand-top--Rotate: 0;
23
18
  --#{$expandable-section}--m-expanded__toggle-icon--Rotate: 90deg;
24
19
  --#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
25
-
20
+
26
21
  // Toggle text
27
- --#{$expandable-section}__toggle-text--MarginLeft: calc(var(--#{$pf-global}--spacer--xs) + var(--#{$pf-global}--spacer--sm));
22
+ --#{$expandable-section}__toggle-text--Color: var(--pf-t--global--color--brand--default);
23
+ --#{$expandable-section}__toggle-text--hover--Color: var(--pf-t--global--color--brand--hover);
24
+ --#{$expandable-section}--m-expanded__toggle-text--Color: var(--pf-t--global--color--brand--hover);
25
+
28
26
 
29
27
  // Content
30
- --#{$expandable-section}__content--MarginTop: var(--#{$pf-global}--spacer--md);
28
+ --#{$expandable-section}__content--PaddingTop: var(--pf-t--global--spacer--sm);
29
+ --#{$expandable-section}__content--PaddingRight: var(--pf-t--global--spacer--sm);
30
+ --#{$expandable-section}__content--PaddingBottom: var(--pf-t--global--spacer--sm);
31
+ --#{$expandable-section}__content--PaddingLeft: var(--pf-t--global--spacer--sm);
31
32
  --#{$expandable-section}__content--MaxWidth: auto;
32
-
33
+
33
34
  // Limit Width
34
35
  --#{$expandable-section}--m-limit-width__content--MaxWidth: #{pf-size-prem(750px)};
36
+
37
+ // Large / Disclosure
38
+ --#{$expandable-section}--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
39
+ --#{$expandable-section}--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
40
+ --#{$expandable-section}--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
41
+ --#{$expandable-section}--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
42
+ --#{$expandable-section}--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--lg);
43
+ --#{$expandable-section}--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
44
+ --#{$expandable-section}--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--lg);
45
+ --#{$expandable-section}--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium);
46
+ --#{$expandable-section}--m-display-lg__toggle--Width: 100%;
47
+ --#{$expandable-section}--m-display-lg__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
48
+ --#{$expandable-section}--m-display-lg__toggle--active--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
49
+ --#{$expandable-section}--m-display-lg__toggle--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
50
+ --#{$expandable-section}--m-display-lg__content--PaddingRight: var(--pf-t--global--spacer--lg);
51
+ --#{$expandable-section}--m-display-lg__content--PaddingBottom: var(--pf-t--global--spacer--md);
52
+ --#{$expandable-section}--m-display-lg__content--PaddingLeft: var(--pf-t--global--spacer--lg);
53
+ --#{$expandable-section}--m-expanded--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium) var(--pf-t--global--border--radius--medium) 0 0;
35
54
 
36
- // Large
37
- --#{$expandable-section}--m-display-lg--BoxShadow: var(--#{$pf-global}--BoxShadow--md);
38
- --#{$expandable-section}--m-display-lg__toggle--PaddingTop: var(--#{$pf-global}--spacer--md);
39
- --#{$expandable-section}--m-display-lg__toggle--PaddingRight: var(--#{$pf-global}--spacer--md);
40
- --#{$expandable-section}--m-display-lg__toggle--PaddingBottom: var(--#{$pf-global}--spacer--md);
41
- --#{$expandable-section}--m-display-lg__toggle--PaddingLeft: var(--#{$pf-global}--spacer--md);
42
- --#{$expandable-section}--m-display-lg__content--MarginTop: 0;
43
- --#{$expandable-section}--m-display-lg__content--PaddingRight: var(--#{$pf-global}--spacer--lg);
44
- --#{$expandable-section}--m-display-lg__content--PaddingBottom: var(--#{$pf-global}--spacer--lg);
45
- --#{$expandable-section}--m-display-lg__content--PaddingLeft: var(--#{$pf-global}--spacer--lg);
46
- --#{$expandable-section}--m-display-lg--after--BackgroundColor: transparent;
47
- --#{$expandable-section}--m-display-lg--after--Width: var(--#{$pf-global}--BorderWidth--lg);
48
- --#{$expandable-section}--m-display-lg--m-expanded--after--BackgroundColor: var(--#{$pf-global}--primary-color--100);
49
55
 
50
56
  // Indented
51
- --#{$expandable-section}--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}__toggle-text--MarginLeft) + var(--#{$expandable-section}__toggle-icon--MinWidth));
52
-
57
+ --#{$expandable-section}--m-indented__content--PaddingLeft--base: calc(var(--#{$expandable-section}__toggle--ColumnGap) + var(--#{$expandable-section}__toggle-icon--MinWidth));
58
+ --#{$expandable-section}--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}--m-indented__content--PaddingLeft--base) + var(--#{$expandable-section}__toggle--PaddingLeft));
59
+ --#{$expandable-section}--m-display-lg--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}--m-indented__content--PaddingLeft--base) + var(--#{$expandable-section}--m-display-lg__content--PaddingLeft));
60
+
53
61
  // Truncate
62
+ --#{$expandable-section}--m-truncate--PaddingTop: var(--pf-t--global--spacer--sm);
63
+ --#{$expandable-section}--m-truncate--PaddingRight: var(--pf-t--global--spacer--md);
64
+ --#{$expandable-section}--m-truncate--PaddingBottom: var(--pf-t--global--spacer--sm);
65
+ --#{$expandable-section}--m-truncate--PaddingLeft: var(--pf-t--global--spacer--md);
66
+ --#{$expandable-section}--m-truncate__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
54
67
  --#{$expandable-section}--m-truncate__content--LineClamp: 3;
55
- --#{$expandable-section}--m-truncate__toggle--MarginTop: var(--#{$pf-global}--spacer--xs);
56
-
68
+ }
57
69
 
70
+ .#{$expandable-section} {
58
71
  &.pf-m-expanded {
59
- --#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--m-expanded--Color);
72
+ --#{$expandable-section}__toggle-text--Color: var(--#{$expandable-section}--m-expanded__toggle-text--Color);
60
73
  --#{$expandable-section}__toggle-icon--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--Rotate);
61
74
  --#{$expandable-section}__toggle-icon--m-expand-top--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate);
62
75
  --#{$expandable-section}--m-display-lg--after--BackgroundColor: var(--#{$expandable-section}--m-display-lg--m-expanded--after--BackgroundColor);
63
- }
64
-
65
- &.pf-m-detached,
66
- &.pf-m-truncate {
67
- --#{$expandable-section}__content--MarginTop: 0;
76
+ --#{$expandable-section}--m-display-lg__toggle--BorderRadius: var(--#{$expandable-section}--m-expanded--m-display-lg__toggle--BorderRadius);
68
77
  }
69
78
 
70
79
  &.pf-m-limit-width {
@@ -76,23 +85,19 @@
76
85
  --#{$expandable-section}__toggle--PaddingRight: var(--#{$expandable-section}--m-display-lg__toggle--PaddingRight);
77
86
  --#{$expandable-section}__toggle--PaddingBottom: var(--#{$expandable-section}--m-display-lg__toggle--PaddingBottom);
78
87
  --#{$expandable-section}__toggle--PaddingLeft: var(--#{$expandable-section}--m-display-lg__toggle--PaddingLeft);
88
+ --#{$expandable-section}__toggle--hover--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--hover--BackgroundColor);
89
+ --#{$expandable-section}__toggle--active--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--active--BackgroundColor);
90
+ --#{$expandable-section}__toggle--focus--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--focus--BackgroundColor);
91
+ --#{$expandable-section}__toggle--BorderRadius: var(--#{$expandable-section}--m-display-lg__toggle--BorderRadius);
92
+ --#{$expandable-section}__toggle--Width: var(--#{$expandable-section}--m-display-lg__toggle--Width);
79
93
  --#{$expandable-section}__content--PaddingRight: var(--#{$expandable-section}--m-display-lg__content--PaddingRight);
80
94
  --#{$expandable-section}__content--PaddingBottom: var(--#{$expandable-section}--m-display-lg__content--PaddingBottom);
81
95
  --#{$expandable-section}__content--PaddingLeft: var(--#{$expandable-section}--m-display-lg__content--PaddingLeft);
82
- --#{$expandable-section}__content--MarginTop: var(--#{$expandable-section}--m-display-lg__content--MarginTop);
83
-
84
- position: relative;
85
- box-shadow: var(--#{$expandable-section}--m-display-lg--BoxShadow);
86
-
87
- &::after {
88
- position: absolute;
89
- top: 0;
90
- bottom: 0;
91
- left: 0;
92
- width: var(--#{$expandable-section}--m-display-lg--after--Width);
93
- content: "";
94
- background-color: var(--#{$expandable-section}--m-display-lg--after--BackgroundColor);
95
- }
96
+ --#{$expandable-section}--m-indented__content--PaddingLeft: var(--#{$expandable-section}--m-display-lg--m-indented__content--PaddingLeft);
97
+
98
+ background-color: var(--#{$expandable-section}--m-display-lg--BackgroundColor);
99
+ border: solid 1px var(--#{$expandable-section}--m-display-lg--BorderColor);
100
+ border-radius: var(--#{$expandable-section}--m-display-lg--BorderRadius);
96
101
  }
97
102
 
98
103
  &.pf-m-indented {
@@ -100,11 +105,14 @@
100
105
  }
101
106
 
102
107
  &.pf-m-truncate {
103
- --#{$expandable-section}__toggle--MarginTop: var(--#{$expandable-section}--m-truncate__toggle--MarginTop);
104
108
  --#{$expandable-section}__toggle--PaddingTop: 0;
105
109
  --#{$expandable-section}__toggle--PaddingRight: 0;
106
- --#{$expandable-section}__toggle--PaddingBottom: 0;
107
- --#{$expandable-section}__toggle-text--MarginLeft: 0;
110
+ --#{$expandable-section}__toggle--PaddingBottom: var(--#{$expandable-section}--m-truncate__toggle--PaddingBottom);
111
+ --#{$expandable-section}__toggle--PaddingLeft: 0;
112
+ --#{$expandable-section}__content--PaddingTop: 0;
113
+ --#{$expandable-section}__content--PaddingRight: 0;
114
+ --#{$expandable-section}__content--PaddingBottom: 0;
115
+ --#{$expandable-section}__content--PaddingLeft: 0;
108
116
 
109
117
  &:not(.pf-m-expanded) .#{$expandable-section}__content {
110
118
  // stylelint-disable
@@ -115,35 +123,29 @@
115
123
  overflow: hidden;
116
124
  }
117
125
  }
118
-
119
- &.pf-m-detached {
120
- --#{$expandable-section}--m-truncate__toggle--MarginTop: 0;
121
- }
122
126
  }
123
127
 
124
128
  .#{$expandable-section}__toggle {
125
129
  display: flex;
126
- padding: var(--#{$expandable-section}__toggle--PaddingTop) var(--#{$expandable-section}__toggle--PaddingRight) var(--#{$expandable-section}__toggle--PaddingBottom) var(--#{$expandable-section}__toggle--PaddingLeft);
127
- margin-top: var(--#{$expandable-section}__toggle--MarginTop);
128
- color: var(--#{$expandable-section}__toggle--Color);
130
+ column-gap: var(--#{$expandable-section}__toggle--ColumnGap);
131
+ width: var(--#{$expandable-section}__toggle--Width, initial);
132
+ padding-block-start: var(--#{$expandable-section}__toggle--PaddingTop);
133
+ padding-block-end: var(--#{$expandable-section}__toggle--PaddingBottom);
134
+ padding-inline-start: var(--#{$expandable-section}__toggle--PaddingLeft);
135
+ padding-inline-end: var(--#{$expandable-section}__toggle--PaddingRight);
129
136
  background-color: var(--#{$expandable-section}__toggle--BackgroundColor);
130
137
  border: none;
138
+ border-radius: var(--#{$expandable-section}__toggle--BorderRadius, 0);
131
139
 
132
- &:hover {
133
- --#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--hover--Color);
134
- }
135
-
136
- &:active,
137
- &.pf-m-active {
138
- --#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--active--Color);
139
- }
140
-
141
- &:focus {
142
- --#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--focus--Color);
140
+ &:is(:hover, :focus) {
141
+ --#{$expandable-section}__toggle-text--Color: var(--#{$expandable-section}__toggle-text--hover--Color);
142
+ --#{$expandable-section}__toggle--BackgroundColor: var(--#{$expandable-section}__toggle--hover--BackgroundColor, initial);
143
143
  }
144
144
  }
145
145
 
146
146
  .#{$expandable-section}__toggle-icon {
147
+ @include pf-v5-mirror-inline-on-rtl;
148
+
147
149
  min-width: var(--#{$expandable-section}__toggle-icon--MinWidth);
148
150
  color: var(--#{$expandable-section}__toggle-icon--Color);
149
151
  transition: var(--#{$expandable-section}__toggle-icon--Transition);
@@ -155,13 +157,13 @@
155
157
  }
156
158
 
157
159
  .#{$expandable-section}__toggle-text {
158
- margin-left: var(--#{$expandable-section}__toggle-text--MarginLeft);
160
+ color: var(--#{$expandable-section}__toggle-text--Color);
159
161
  }
160
162
 
161
163
  .#{$expandable-section}__content {
162
164
  max-width: var(--#{$expandable-section}__content--MaxWidth);
163
- padding-right: var(--#{$expandable-section}__content--PaddingRight);
164
- padding-bottom: var(--#{$expandable-section}__content--PaddingBottom);
165
- padding-left: var(--#{$expandable-section}__content--PaddingLeft);
166
- margin-top: var(--#{$expandable-section}__content--MarginTop);
165
+ padding-block-start: var(--#{$expandable-section}__content--PaddingTop);
166
+ padding-block-end: var(--#{$expandable-section}__content--PaddingBottom);
167
+ padding-inline-start: var(--#{$expandable-section}__content--PaddingLeft);
168
+ padding-inline-end: var(--#{$expandable-section}__content--PaddingRight);
167
169
  }
@@ -16,20 +16,14 @@
16
16
  }
17
17
  .pf-v5-c-file-upload.pf-m-drag-hover::before {
18
18
  position: absolute;
19
- top: 0;
20
- right: 0;
21
- bottom: 0;
22
- left: 0;
19
+ inset: 0;
23
20
  z-index: var(--pf-v5-c-file-upload--m-drag-hover--before--ZIndex);
24
21
  content: "";
25
22
  border: var(--pf-v5-c-file-upload--m-drag-hover--before--BorderWidth) solid var(--pf-v5-c-file-upload--m-drag-hover--before--BorderColor);
26
23
  }
27
24
  .pf-v5-c-file-upload.pf-m-drag-hover::after {
28
25
  position: absolute;
29
- top: 0;
30
- right: 0;
31
- bottom: 0;
32
- left: 0;
26
+ inset: 0;
33
27
  content: "";
34
28
  background-color: var(--pf-v5-c-file-upload--m-drag-hover--after--BackgroundColor);
35
29
  opacity: var(--pf-v5-c-file-upload--m-drag-hover--after--Opacity);
@@ -39,10 +33,10 @@
39
33
  }
40
34
  .pf-v5-c-file-upload.pf-m-loading .pf-v5-c-file-upload__file-details::before {
41
35
  position: absolute;
42
- top: 0;
43
- right: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
44
- bottom: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
45
- left: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
36
+ inset-block-start: 0;
37
+ inset-block-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
38
+ inset-inline-start: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
39
+ inset-inline-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
46
40
  content: "";
47
41
  background-color: var(--pf-v5-c-file-upload--m-loading__file-details--before--BackgroundColor);
48
42
  }
@@ -58,12 +52,12 @@
58
52
  .pf-v5-c-file-upload__file-details .pf-v5-c-form-control {
59
53
  flex: 1 1 auto;
60
54
  min-height: var(--pf-v5-c-file-upload__file-details__c-form-control--MinHeight);
61
- border-top: 0;
55
+ border-block-start: 0;
62
56
  }
63
57
 
64
58
  .pf-v5-c-file-upload__file-details-spinner {
65
59
  position: absolute;
66
- top: 50%;
67
- left: 50%;
60
+ inset-block-start: 50%;
61
+ inset-inline-start: 50%;
68
62
  transform: translate(-50%, -50%);
69
63
  }
@@ -27,10 +27,7 @@
27
27
  &.pf-m-drag-hover {
28
28
  &::before {
29
29
  position: absolute;
30
- top: 0;
31
- right: 0;
32
- bottom: 0;
33
- left: 0;
30
+ inset: 0;
34
31
  z-index: var(--#{$file-upload}--m-drag-hover--before--ZIndex);
35
32
  content: "";
36
33
  border: var(--#{$file-upload}--m-drag-hover--before--BorderWidth) solid var(--#{$file-upload}--m-drag-hover--before--BorderColor);
@@ -38,10 +35,7 @@
38
35
 
39
36
  &::after {
40
37
  position: absolute;
41
- top: 0;
42
- right: 0;
43
- bottom: 0;
44
- left: 0;
38
+ inset: 0;
45
39
  content: "";
46
40
  background-color: var(--#{$file-upload}--m-drag-hover--after--BackgroundColor);
47
41
  opacity: var(--#{$file-upload}--m-drag-hover--after--Opacity);
@@ -54,10 +48,10 @@
54
48
 
55
49
  &::before {
56
50
  position: absolute;
57
- top: 0;
58
- right: var(--#{$file-upload}--m-loading__file-details--before--Left);
59
- bottom: var(--#{$file-upload}--m-loading__file-details--before--Left);
60
- left: var(--#{$file-upload}--m-loading__file-details--before--Left);
51
+ inset-block-start: 0;
52
+ inset-block-end: var(--#{$file-upload}--m-loading__file-details--before--Left);
53
+ inset-inline-start: var(--#{$file-upload}--m-loading__file-details--before--Left);
54
+ inset-inline-end: var(--#{$file-upload}--m-loading__file-details--before--Left);
61
55
  content: "";
62
56
  background-color: var(--#{$file-upload}--m-loading__file-details--before--BackgroundColor);
63
57
  }
@@ -78,13 +72,13 @@
78
72
  .#{$form-control} {
79
73
  flex: 1 1 auto;
80
74
  min-height: var(--#{$file-upload}__file-details__c-form-control--MinHeight);
81
- border-top: 0;
75
+ border-block-start: 0;
82
76
  }
83
77
  }
84
78
 
85
79
  .#{$file-upload}__file-details-spinner {
86
80
  position: absolute;
87
- top: 50%;
88
- left: 50%;
81
+ inset-block-start: 50%;
82
+ inset-inline-start: 50%;
89
83
  transform: translate(-50%, -50%);
90
84
  }
@@ -101,7 +101,7 @@
101
101
  gap: var(--pf-v5-c-form--GridGap);
102
102
  }
103
103
  .pf-v5-c-form.pf-m-horizontal.pf-m-align-right .pf-v5-c-form__label {
104
- text-align: right;
104
+ text-align: end;
105
105
  }
106
106
  @media screen and (min-width: 768px) {
107
107
  .pf-v5-c-form.pf-m-horizontal {
@@ -113,7 +113,7 @@
113
113
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
114
114
  }
115
115
  .pf-v5-c-form.pf-m-horizontal .pf-v5-c-form__group-label {
116
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
116
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
117
117
  }
118
118
  .pf-v5-c-form.pf-m-horizontal .pf-v5-c-form__group-label.pf-m-no-padding-top {
119
119
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -133,7 +133,7 @@
133
133
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
134
134
  }
135
135
  .pf-v5-c-form.pf-m-horizontal-on-xs .pf-v5-c-form__group-label {
136
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
136
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
137
137
  }
138
138
  .pf-v5-c-form.pf-m-horizontal-on-xs .pf-v5-c-form__group-label.pf-m-no-padding-top {
139
139
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -153,7 +153,7 @@
153
153
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
154
154
  }
155
155
  .pf-v5-c-form.pf-m-horizontal-on-sm .pf-v5-c-form__group-label {
156
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
156
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
157
157
  }
158
158
  .pf-v5-c-form.pf-m-horizontal-on-sm .pf-v5-c-form__group-label.pf-m-no-padding-top {
159
159
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -173,7 +173,7 @@
173
173
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
174
174
  }
175
175
  .pf-v5-c-form.pf-m-horizontal-on-md .pf-v5-c-form__group-label {
176
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
176
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
177
177
  }
178
178
  .pf-v5-c-form.pf-m-horizontal-on-md .pf-v5-c-form__group-label.pf-m-no-padding-top {
179
179
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -193,7 +193,7 @@
193
193
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
194
194
  }
195
195
  .pf-v5-c-form.pf-m-horizontal-on-lg .pf-v5-c-form__group-label {
196
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
196
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
197
197
  }
198
198
  .pf-v5-c-form.pf-m-horizontal-on-lg .pf-v5-c-form__group-label.pf-m-no-padding-top {
199
199
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -213,7 +213,7 @@
213
213
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
214
214
  }
215
215
  .pf-v5-c-form.pf-m-horizontal-on-xl .pf-v5-c-form__group-label {
216
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
216
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
217
217
  }
218
218
  .pf-v5-c-form.pf-m-horizontal-on-xl .pf-v5-c-form__group-label.pf-m-no-padding-top {
219
219
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -233,7 +233,7 @@
233
233
  grid-column-gap: var(--pf-v5-c-form--m-horizontal__group-label--md--GridColumnGap);
234
234
  }
235
235
  .pf-v5-c-form.pf-m-horizontal-on-2xl .pf-v5-c-form__group-label {
236
- padding-top: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
236
+ padding-block-start: var(--pf-v5-c-form--m-horizontal__group-label--md--PaddingTop);
237
237
  }
238
238
  .pf-v5-c-form.pf-m-horizontal-on-2xl .pf-v5-c-form__group-label.pf-m-no-padding-top {
239
239
  --pf-v5-c-form--m-horizontal__group-label--md--PaddingTop: var(--pf-v5-c-form--m-horizontal__group-label--m-no-padding--md--PaddingTop);
@@ -247,8 +247,11 @@
247
247
  max-width: var(--pf-v5-c-form--m-limit-width--MaxWidth);
248
248
  }
249
249
 
250
+ .pf-v5-c-form__group {
251
+ min-width: 0;
252
+ }
250
253
  .pf-v5-c-form__group.pf-m-action {
251
- margin-top: var(--pf-v5-c-form__group--m-action--MarginTop);
254
+ margin-block-start: var(--pf-v5-c-form__group--m-action--MarginTop);
252
255
  overflow: hidden;
253
256
  }
254
257
 
@@ -257,18 +260,18 @@
257
260
  gap: var(--pf-v5-c-form__section--Gap);
258
261
  }
259
262
  .pf-v5-c-form__section + .pf-v5-c-form__group:not(.pf-m-action), .pf-v5-c-form__section:not(:first-child) {
260
- margin-top: var(--pf-v5-c-form__section--MarginTop);
263
+ margin-block-start: var(--pf-v5-c-form__section--MarginTop);
261
264
  }
262
265
 
263
266
  .pf-v5-c-form__section-title {
264
- margin-bottom: var(--pf-v5-c-form__section-title--MarginBottom);
267
+ margin-block-end: var(--pf-v5-c-form__section-title--MarginBottom);
265
268
  font-size: var(--pf-v5-c-form__section-title--FontSize);
266
269
  font-weight: var(--pf-v5-c-form__section-title--FontWeight);
267
270
  }
268
271
 
269
272
  .pf-v5-c-form__group-label {
270
273
  --pf-v5-c-form__helper-text--MarginTop: 0;
271
- padding-bottom: var(--pf-v5-c-form__group-label--PaddingBottom);
274
+ padding-block-end: var(--pf-v5-c-form__group-label--PaddingBottom);
272
275
  }
273
276
  .pf-v5-c-form__group-label.pf-m-info {
274
277
  display: flex;
@@ -280,7 +283,7 @@
280
283
  }
281
284
 
282
285
  .pf-v5-c-form__group-label-info {
283
- margin-left: var(--pf-v5-c-form__group-label-info--MarginLeft);
286
+ margin-inline-start: var(--pf-v5-c-form__group-label-info--MarginLeft);
284
287
  font-size: var(--pf-v5-c-form__group-label-info--FontSize);
285
288
  }
286
289
 
@@ -306,20 +309,20 @@
306
309
  }
307
310
 
308
311
  .pf-v5-c-form__label-required {
309
- margin-left: var(--pf-v5-c-form__label-required--MarginLeft);
312
+ margin-inline-start: var(--pf-v5-c-form__label-required--MarginLeft);
310
313
  font-size: var(--pf-v5-c-form__label-required--FontSize);
311
314
  color: var(--pf-v5-c-form__label-required--Color);
312
315
  }
313
316
 
314
317
  .pf-v5-c-form__group-label-help {
315
- padding-top: var(--pf-v5-c-form__group-label-help--PaddingTop);
316
- padding-right: var(--pf-v5-c-form__group-label-help--PaddingRight);
317
- padding-bottom: var(--pf-v5-c-form__group-label-help--PaddingBottom);
318
- padding-left: var(--pf-v5-c-form__group-label-help--PaddingLeft);
319
- margin-top: var(--pf-v5-c-form__group-label-help--MarginTop);
320
- margin-right: var(--pf-v5-c-form__group-label-help--MarginRight);
321
- margin-bottom: var(--pf-v5-c-form__group-label-help--MarginBottom);
322
- margin-left: var(--pf-v5-c-form__group-label-help--MarginLeft);
318
+ padding-block-start: var(--pf-v5-c-form__group-label-help--PaddingTop);
319
+ padding-block-end: var(--pf-v5-c-form__group-label-help--PaddingBottom);
320
+ padding-inline-start: var(--pf-v5-c-form__group-label-help--PaddingLeft);
321
+ padding-inline-end: var(--pf-v5-c-form__group-label-help--PaddingRight);
322
+ margin-block-start: var(--pf-v5-c-form__group-label-help--MarginTop);
323
+ margin-block-end: var(--pf-v5-c-form__group-label-help--MarginBottom);
324
+ margin-inline-start: var(--pf-v5-c-form__group-label-help--MarginLeft);
325
+ margin-inline-end: var(--pf-v5-c-form__group-label-help--MarginRight);
323
326
  font-size: var(--pf-v5-c-form__group-label-help--FontSize);
324
327
  line-height: 1;
325
328
  color: var(--pf-v5-c-form__group-label-help--Color);
@@ -335,12 +338,15 @@
335
338
  --pf-v5-c-form__group-label-help--Color: var(--pf-v5-c-form__group-label-help--focus--Color);
336
339
  }
337
340
 
341
+ .pf-v5-c-form__group-control {
342
+ min-width: 0;
343
+ }
338
344
  .pf-v5-c-form__group-control.pf-m-inline {
339
345
  display: flex;
340
346
  flex-flow: row wrap;
341
347
  }
342
348
  .pf-v5-c-form__group-control.pf-m-inline > * {
343
- margin-right: var(--pf-v5-c-form__group-control--m-inline--child--MarginRight);
349
+ margin-inline-end: var(--pf-v5-c-form__group-control--m-inline--child--MarginRight);
344
350
  }
345
351
  .pf-v5-c-form__group-control.pf-m-inline > :last-child {
346
352
  --pf-v5-c-form__group-control--m-inline--child--MarginRight: 0;
@@ -352,11 +358,11 @@
352
358
  }
353
359
  .pf-v5-c-form__group-control .pf-v5-c-form__helper-text:first-child {
354
360
  --pf-v5-c-form__helper-text--MarginTop: 0;
355
- margin-bottom: var(--pf-v5-c-form__group-control__helper-text--MarginBottom);
361
+ margin-block-end: var(--pf-v5-c-form__group-control__helper-text--MarginBottom);
356
362
  }
357
363
 
358
364
  .pf-v5-c-form__helper-text {
359
- margin-top: var(--pf-v5-c-form__helper-text--MarginTop);
365
+ margin-block-start: var(--pf-v5-c-form__helper-text--MarginTop);
360
366
  font-size: var(--pf-v5-c-form__helper-text--FontSize);
361
367
  color: var(--pf-v5-c-form__helper-text--Color);
362
368
  }
@@ -378,7 +384,7 @@
378
384
  }
379
385
 
380
386
  .pf-v5-c-form__helper-text-icon {
381
- margin-right: var(--pf-v5-c-form__helper-text-icon--MarginRight);
387
+ margin-inline-end: var(--pf-v5-c-form__helper-text-icon--MarginRight);
382
388
  font-size: var(--pf-v5-c-form__helper-text-icon--FontSize);
383
389
  }
384
390
 
@@ -389,24 +395,24 @@
389
395
  .pf-v5-c-form__actions {
390
396
  display: flex;
391
397
  flex-wrap: wrap;
392
- margin-top: var(--pf-v5-c-form__actions--MarginTop);
393
- margin-right: var(--pf-v5-c-form__actions--MarginRight);
394
- margin-bottom: var(--pf-v5-c-form__actions--MarginBottom);
395
- margin-left: var(--pf-v5-c-form__actions--MarginLeft);
398
+ margin-block-start: var(--pf-v5-c-form__actions--MarginTop);
399
+ margin-block-end: var(--pf-v5-c-form__actions--MarginBottom);
400
+ margin-inline-start: var(--pf-v5-c-form__actions--MarginLeft);
401
+ margin-inline-end: var(--pf-v5-c-form__actions--MarginRight);
396
402
  }
397
403
  .pf-v5-c-form__actions > * {
398
- margin-top: var(--pf-v5-c-form__actions--child--MarginTop);
399
- margin-right: var(--pf-v5-c-form__actions--child--MarginRight);
400
- margin-bottom: var(--pf-v5-c-form__actions--child--MarginBottom);
401
- margin-left: var(--pf-v5-c-form__actions--child--MarginLeft);
404
+ margin-block-start: var(--pf-v5-c-form__actions--child--MarginTop);
405
+ margin-block-end: var(--pf-v5-c-form__actions--child--MarginBottom);
406
+ margin-inline-start: var(--pf-v5-c-form__actions--child--MarginLeft);
407
+ margin-inline-end: var(--pf-v5-c-form__actions--child--MarginRight);
402
408
  }
403
409
 
404
410
  .pf-v5-c-form__field-group {
405
411
  --pf-v5-c-form__field-group--BorderTopWidth: var(--pf-v5-c-form__field-group--border-width-base);
406
412
  display: grid;
407
413
  grid-template-columns: minmax(var(--pf-v5-c-form__field-group--GridTemplateColumns--toggle), max-content) 1fr;
408
- border-top: var(--pf-v5-c-form__field-group--BorderTopWidth) solid var(--pf-v5-c-form__field-group--BorderTopColor);
409
- border-bottom: var(--pf-v5-c-form__field-group--BorderBottomWidth) solid var(--pf-v5-c-form__field-group--BorderBottomColor);
414
+ border-block-start: var(--pf-v5-c-form__field-group--BorderTopWidth) solid var(--pf-v5-c-form__field-group--BorderTopColor);
415
+ border-block-end: var(--pf-v5-c-form__field-group--BorderBottomWidth) solid var(--pf-v5-c-form__field-group--BorderBottomColor);
410
416
  }
411
417
  .pf-v5-c-form__field-group:last-child {
412
418
  --pf-v5-c-form__field-group--BorderBottomWidth: 0;
@@ -415,7 +421,7 @@
415
421
  --pf-v5-c-form__field-group--BorderTopWidth: 0;
416
422
  }
417
423
  .pf-v5-c-form__field-group + .pf-v5-c-form__field-group {
418
- margin-top: var(--pf-v5-c-form__field-group--field-group--MarginTop);
424
+ margin-block-start: var(--pf-v5-c-form__field-group--field-group--MarginTop);
419
425
  }
420
426
  .pf-v5-c-form__field-group .pf-v5-c-form__field-group {
421
427
  --pf-v5-c-form__field-group-body--GridColumn: var(--pf-v5-c-form__field-group__field-group__field-group-body--GridColumn);
@@ -434,16 +440,16 @@
434
440
  .pf-v5-c-form__field-group-toggle {
435
441
  grid-row: 1/2;
436
442
  grid-column: 1/2;
437
- padding-top: var(--pf-v5-c-form__field-group-toggle--PaddingTop);
438
- padding-right: var(--pf-v5-c-form__field-group-toggle--PaddingRight);
443
+ padding-block-start: var(--pf-v5-c-form__field-group-toggle--PaddingTop);
444
+ padding-inline-end: var(--pf-v5-c-form__field-group-toggle--PaddingRight);
439
445
  }
440
446
  .pf-v5-c-form__field-group-toggle + .pf-v5-c-form__field-group-header {
441
447
  --pf-v5-c-form__field-group-header--GridColumn: var(--pf-v5-c-form__field-group-toggle--field-group-header--GridColumn);
442
448
  }
443
449
 
444
450
  .pf-v5-c-form__field-group-toggle-button {
445
- margin-top: var(--pf-v5-c-form__field-group-toggle-button--MarginTop);
446
- margin-bottom: var(--pf-v5-c-form__field-group-toggle-button--MarginBottom);
451
+ margin-block-start: var(--pf-v5-c-form__field-group-toggle-button--MarginTop);
452
+ margin-block-end: var(--pf-v5-c-form__field-group-toggle-button--MarginBottom);
447
453
  }
448
454
 
449
455
  .pf-v5-c-form__field-group-toggle-icon {
@@ -453,14 +459,17 @@
453
459
  transition: var(--pf-v5-c-form__field-group-toggle-icon--Transition);
454
460
  transform: rotate(var(--pf-v5-c-form__field-group-toggle-icon--Rotate));
455
461
  }
462
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-form__field-group-toggle-icon {
463
+ scale: -1 1;
464
+ }
456
465
 
457
466
  .pf-v5-c-form__field-group-header {
458
467
  display: flex;
459
468
  grid-row: 1/2;
460
469
  grid-column: var(--pf-v5-c-form__field-group-header--GridColumn);
461
470
  align-items: flex-start;
462
- padding-top: var(--pf-v5-c-form__field-group-header--PaddingTop);
463
- padding-bottom: var(--pf-v5-c-form__field-group-header--PaddingBottom);
471
+ padding-block-start: var(--pf-v5-c-form__field-group-header--PaddingTop);
472
+ padding-block-end: var(--pf-v5-c-form__field-group-header--PaddingBottom);
464
473
  }
465
474
 
466
475
  .pf-v5-c-form__field-group-header-main {
@@ -478,14 +487,14 @@
478
487
  }
479
488
 
480
489
  .pf-v5-c-form__field-group-header-description {
481
- margin-top: var(--pf-v5-c-form__field-group-header-description--MarginTop);
490
+ margin-block-start: var(--pf-v5-c-form__field-group-header-description--MarginTop);
482
491
  color: var(--pf-v5-c-form__field-group-header-description--Color);
483
492
  }
484
493
 
485
494
  .pf-v5-c-form__field-group-header-actions {
486
- margin-top: var(--pf-v5-c-form__field-group-header-actions--MarginTop);
487
- margin-bottom: var(--pf-v5-c-form__field-group-header-actions--MarginBottom);
488
- margin-left: var(--pf-v5-c-form__field-group-header-actions--MarginLeft);
495
+ margin-block-start: var(--pf-v5-c-form__field-group-header-actions--MarginTop);
496
+ margin-block-end: var(--pf-v5-c-form__field-group-header-actions--MarginBottom);
497
+ margin-inline-start: var(--pf-v5-c-form__field-group-header-actions--MarginLeft);
489
498
  white-space: nowrap;
490
499
  }
491
500
 
@@ -493,15 +502,15 @@
493
502
  display: grid;
494
503
  grid-column: var(--pf-v5-c-form__field-group-body--GridColumn);
495
504
  gap: var(--pf-v5-c-form__field-group-body--Gap);
496
- padding-top: var(--pf-v5-c-form__field-group-body--PaddingTop);
497
- padding-bottom: var(--pf-v5-c-form__field-group-body--PaddingBottom);
505
+ padding-block-start: var(--pf-v5-c-form__field-group-body--PaddingTop);
506
+ padding-block-end: var(--pf-v5-c-form__field-group-body--PaddingBottom);
498
507
  }
499
508
  .pf-v5-c-form__field-group-body > .pf-v5-c-form__field-group:first-child {
500
509
  --pf-v5-c-form__field-group-toggle--PaddingTop: 0;
501
510
  --pf-v5-c-form__field-group-header--PaddingTop: 0;
502
511
  }
503
512
  .pf-v5-c-form__field-group-body > .pf-v5-c-form__field-group:last-child {
504
- margin-bottom: var(--pf-v5-c-form__field-group-body__field-group--last-child--MarginBottom);
513
+ margin-block-end: var(--pf-v5-c-form__field-group-body__field-group--last-child--MarginBottom);
505
514
  }
506
515
 
507
516
  :where(.pf-v5-theme-dark) .pf-v5-c-form {