@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.70

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 (382) 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 -7
  23. package/base/_variables.scss +8 -6
  24. package/base/patternfly-common.css +24 -6
  25. package/base/patternfly-globals.css +5 -4
  26. package/base/patternfly-icons.css +5 -1
  27. package/base/patternfly-pf-icons.css +5 -1
  28. package/base/patternfly-variables.css +859 -833
  29. package/base/tokens/_tokens-dark.scss +306 -284
  30. package/base/tokens/_tokens-default.scss +415 -329
  31. package/base/tokens/_tokens-font.scss +41 -46
  32. package/base/tokens/_tokens-palette.scss +68 -68
  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 +18 -17
  39. package/components/ActionList/action-list.scss +26 -16
  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 -16
  49. package/components/BackToTop/back-to-top.scss +14 -14
  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 +417 -359
  61. package/components/Button/button.scss +472 -484
  62. package/components/CalendarMonth/calendar-month.css +25 -15
  63. package/components/CalendarMonth/calendar-month.scss +23 -15
  64. package/components/Card/card.css +117 -203
  65. package/components/Card/card.scss +137 -246
  66. package/components/Check/check.css +25 -22
  67. package/components/Check/check.scss +26 -24
  68. package/components/Chip/chip-group.css +6 -6
  69. package/components/Chip/chip-group.scss +6 -6
  70. package/components/Chip/chip.css +16 -9
  71. package/components/Chip/chip.scss +17 -9
  72. package/components/ClipboardCopy/clipboard-copy.css +47 -41
  73. package/components/ClipboardCopy/clipboard-copy.scss +50 -34
  74. package/components/CodeBlock/code-block.css +24 -12
  75. package/components/CodeBlock/code-block.scss +24 -13
  76. package/components/CodeEditor/code-editor.css +31 -22
  77. package/components/CodeEditor/code-editor.scss +30 -21
  78. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  79. package/components/Content/content.css +40 -37
  80. package/components/Content/content.scss +40 -37
  81. package/components/ContextSelector/context-selector.css +41 -26
  82. package/components/ContextSelector/context-selector.scss +40 -25
  83. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  84. package/components/DataList/data-list-grid.css +21 -21
  85. package/components/DataList/data-list-grid.scss +3 -3
  86. package/components/DataList/data-list.css +165 -209
  87. package/components/DataList/data-list.scss +138 -185
  88. package/components/DatePicker/date-picker.css +8 -8
  89. package/components/DatePicker/date-picker.scss +8 -8
  90. package/components/DescriptionList/description-list.css +47 -39
  91. package/components/DescriptionList/description-list.scss +33 -30
  92. package/components/Divider/divider.css +97 -177
  93. package/components/Divider/divider.scss +60 -79
  94. package/components/DragDrop/drag-drop.css +26 -22
  95. package/components/DragDrop/drag-drop.scss +26 -25
  96. package/components/Drawer/drawer.css +216 -158
  97. package/components/Drawer/drawer.scss +199 -150
  98. package/components/Dropdown/dropdown.css +76 -69
  99. package/components/Dropdown/dropdown.scss +67 -62
  100. package/components/DualListSelector/dual-list-selector.css +29 -15
  101. package/components/DualListSelector/dual-list-selector.scss +30 -15
  102. package/components/EmptyState/empty-state.css +64 -38
  103. package/components/EmptyState/empty-state.scss +70 -38
  104. package/components/ExpandableSection/expandable-section.css +75 -66
  105. package/components/ExpandableSection/expandable-section.scss +82 -80
  106. package/components/FileUpload/file-upload.css +31 -43
  107. package/components/FileUpload/file-upload.scss +31 -49
  108. package/components/Form/form.css +111 -154
  109. package/components/Form/form.scss +101 -160
  110. package/components/FormControl/form-control.css +95 -111
  111. package/components/FormControl/form-control.scss +97 -92
  112. package/components/HelperText/helper-text.css +29 -35
  113. package/components/HelperText/helper-text.scss +31 -41
  114. package/components/Hint/hint.css +37 -27
  115. package/components/Hint/hint.scss +37 -30
  116. package/components/Icon/icon.css +155 -19
  117. package/components/Icon/icon.scss +188 -21
  118. package/components/InlineEdit/inline-edit.css +12 -11
  119. package/components/InlineEdit/inline-edit.scss +12 -11
  120. package/components/InputGroup/input-group.css +32 -42
  121. package/components/InputGroup/input-group.scss +31 -33
  122. package/components/JumpLinks/jump-links.css +61 -58
  123. package/components/JumpLinks/jump-links.scss +61 -60
  124. package/components/Label/label-group.css +48 -50
  125. package/components/Label/label-group.scss +48 -51
  126. package/components/Label/label.css +382 -363
  127. package/components/Label/label.scss +441 -356
  128. package/components/List/list.css +25 -25
  129. package/components/List/list.scss +26 -26
  130. package/components/LogViewer/log-viewer.css +14 -14
  131. package/components/LogViewer/log-viewer.scss +14 -14
  132. package/components/Login/login.css +104 -122
  133. package/components/Login/login.scss +92 -91
  134. package/components/Masthead/masthead.css +262 -506
  135. package/components/Masthead/masthead.scss +123 -289
  136. package/components/Menu/menu.css +82 -65
  137. package/components/Menu/menu.scss +85 -69
  138. package/components/MenuToggle/menu-toggle.css +37 -31
  139. package/components/MenuToggle/menu-toggle.scss +37 -33
  140. package/components/ModalBox/modal-box.css +76 -69
  141. package/components/ModalBox/modal-box.scss +74 -70
  142. package/components/MultipleFileUpload/multiple-file-upload.css +87 -57
  143. package/components/MultipleFileUpload/multiple-file-upload.scss +92 -60
  144. package/components/Nav/nav.css +248 -899
  145. package/components/Nav/nav.scss +304 -1059
  146. package/components/Nav/themes/dark/nav.scss +2 -2
  147. package/components/NotificationBadge/notification-badge.css +66 -85
  148. package/components/NotificationBadge/notification-badge.scss +72 -103
  149. package/components/NotificationDrawer/notification-drawer.css +130 -128
  150. package/components/NotificationDrawer/notification-drawer.scss +130 -129
  151. package/components/NumberInput/number-input.css +10 -10
  152. package/components/NumberInput/number-input.scss +9 -14
  153. package/components/OptionsMenu/options-menu.css +43 -31
  154. package/components/OptionsMenu/options-menu.scss +43 -31
  155. package/components/OverflowMenu/overflow-menu.css +17 -47
  156. package/components/OverflowMenu/overflow-menu.scss +27 -65
  157. package/components/Page/page.css +182 -232
  158. package/components/Page/page.scss +130 -195
  159. package/components/Pagination/pagination.css +74 -121
  160. package/components/Pagination/pagination.scss +55 -125
  161. package/components/Panel/panel.css +40 -30
  162. package/components/Panel/panel.scss +42 -33
  163. package/components/Popover/popover.css +108 -87
  164. package/components/Popover/popover.scss +120 -109
  165. package/components/Progress/progress.css +40 -52
  166. package/components/Progress/progress.scss +48 -62
  167. package/components/ProgressStepper/progress-stepper.css +98 -89
  168. package/components/ProgressStepper/progress-stepper.scss +90 -84
  169. package/components/Radio/radio.css +30 -23
  170. package/components/Radio/radio.scss +31 -25
  171. package/components/Select/select.css +56 -47
  172. package/components/Select/select.scss +56 -47
  173. package/components/Sidebar/sidebar.css +31 -14
  174. package/components/Sidebar/sidebar.scss +34 -16
  175. package/components/SimpleList/simple-list.css +45 -56
  176. package/components/SimpleList/simple-list.scss +51 -55
  177. package/components/Skeleton/skeleton.css +24 -25
  178. package/components/Skeleton/skeleton.scss +21 -26
  179. package/components/SkipToContent/skip-to-content.css +9 -6
  180. package/components/SkipToContent/skip-to-content.scss +8 -6
  181. package/components/Slider/slider.css +80 -55
  182. package/components/Slider/slider.scss +96 -65
  183. package/components/Spinner/spinner.css +17 -34
  184. package/components/Spinner/spinner.scss +19 -47
  185. package/components/Switch/switch.css +49 -41
  186. package/components/Switch/switch.scss +51 -42
  187. package/components/TabContent/tab-content.css +21 -12
  188. package/components/TabContent/tab-content.scss +22 -15
  189. package/components/Table/table-grid.css +256 -195
  190. package/components/Table/table-grid.scss +53 -39
  191. package/components/Table/table-scrollable.css +4 -4
  192. package/components/Table/table-scrollable.scss +6 -4
  193. package/components/Table/table-tree-view.css +112 -105
  194. package/components/Table/table-tree-view.scss +38 -33
  195. package/components/Table/table.css +105 -89
  196. package/components/Table/table.scss +105 -89
  197. package/components/Tabs/tabs.css +210 -214
  198. package/components/Tabs/tabs.scss +222 -254
  199. package/components/TextInputGroup/text-input-group.css +15 -15
  200. package/components/TextInputGroup/text-input-group.scss +15 -15
  201. package/components/Tile/tile.css +47 -88
  202. package/components/Tile/tile.scss +45 -91
  203. package/components/Timestamp/timestamp.css +12 -9
  204. package/components/Timestamp/timestamp.scss +11 -10
  205. package/components/Title/title.css +70 -19
  206. package/components/Title/title.scss +90 -20
  207. package/components/ToggleGroup/toggle-group.css +68 -59
  208. package/components/ToggleGroup/toggle-group.scss +72 -57
  209. package/components/Toolbar/toolbar.css +2553 -1054
  210. package/components/Toolbar/toolbar.scss +234 -516
  211. package/components/Tooltip/tooltip.css +74 -44
  212. package/components/Tooltip/tooltip.scss +93 -77
  213. package/components/TreeView/tree-view.css +48 -27
  214. package/components/TreeView/tree-view.scss +50 -28
  215. package/components/Truncate/truncate.css +13 -0
  216. package/components/Truncate/truncate.scss +19 -3
  217. package/components/Wizard/wizard.css +57 -36
  218. package/components/Wizard/wizard.scss +57 -36
  219. package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
  220. package/docs/components/Accordion/examples/Accordion.md +614 -416
  221. package/docs/components/ActionList/examples/ActionList.md +73 -22
  222. package/docs/components/Alert/examples/Alert.md +3 -3
  223. package/docs/components/Avatar/examples/Avatar.md +5 -19
  224. package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
  225. package/docs/components/Badge/examples/Badge.md +21 -0
  226. package/docs/components/Banner/examples/Banner.md +48 -25
  227. package/docs/components/Brand/examples/Brand.css +12 -0
  228. package/docs/components/Brand/examples/Brand.md +51 -32
  229. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  230. package/docs/components/Button/examples/Button.css +6 -2
  231. package/docs/components/Button/examples/Button.md +1425 -87
  232. package/docs/components/Card/examples/Card.md +565 -148
  233. package/docs/components/Check/examples/Check.md +71 -58
  234. package/docs/components/Chip/examples/Chip.md +1 -1
  235. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  236. package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
  237. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  238. package/docs/components/Content/examples/Content.md +5 -5
  239. package/docs/components/Divider/examples/Divider.css +3 -1
  240. package/docs/components/Divider/examples/Divider.md +4 -5
  241. package/docs/components/DragDrop/examples/DragDrop.css +3 -3
  242. package/docs/components/Drawer/examples/Drawer.md +294 -256
  243. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  244. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  245. package/docs/components/EmptyState/examples/EmptyState.md +45 -1
  246. package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
  247. package/docs/components/FileUpload/examples/FileUpload.md +112 -53
  248. package/docs/components/Form/examples/Form.md +134 -89
  249. package/docs/components/Icon/examples/Icon.md +82 -11
  250. package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
  251. package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
  252. package/docs/components/Label/examples/Label.css +4 -0
  253. package/docs/components/Label/examples/Label.md +3091 -704
  254. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  255. package/docs/components/LogViewer/examples/LogViewer.md +300 -210
  256. package/docs/components/Login/examples/Login.md +10 -5
  257. package/docs/components/Masthead/examples/masthead.md +443 -65
  258. package/docs/components/Menu/examples/Menu.css +8 -0
  259. package/docs/components/Menu/examples/Menu.md +594 -543
  260. package/docs/components/MenuToggle/examples/MenuToggle.md +109 -96
  261. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  262. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
  263. package/docs/components/Nav/examples/Navigation.css +3 -42
  264. package/docs/components/Nav/examples/Navigation.md +305 -353
  265. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  266. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  267. package/docs/components/Page/examples/Page.css +0 -8
  268. package/docs/components/Page/examples/Page.md +22 -21
  269. package/docs/components/Pagination/examples/Pagination.md +663 -637
  270. package/docs/components/Panel/examples/Panel.md +12 -0
  271. package/docs/components/Popover/examples/Popover.css +4 -9
  272. package/docs/components/Popover/examples/Popover.md +1 -1
  273. package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
  274. package/docs/components/Radio/examples/Radio.md +62 -54
  275. package/docs/components/Select/deprecated/Select.md +184 -177
  276. package/docs/components/Sidebar/examples/Sidebar.md +19 -0
  277. package/docs/components/SimpleList/examples/SimpleList.md +3 -3
  278. package/docs/components/TabContent/examples/TabContent.md +10 -10
  279. package/docs/components/Table/examples/Table.css +2 -2
  280. package/docs/components/Table/examples/Table.md +10 -10
  281. package/docs/components/Tabs/examples/Tabs.css +1 -1
  282. package/docs/components/Tabs/examples/Tabs.md +1025 -826
  283. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  284. package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
  285. package/docs/components/Tile/examples/Tile.css +1 -1
  286. package/docs/components/Tile/examples/Tile.md +264 -144
  287. package/docs/components/Title/examples/Title.md +18 -0
  288. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  289. package/docs/components/Toolbar/examples/Toolbar.md +1211 -3487
  290. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  291. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  292. package/docs/components/Truncate/examples/Truncate.css +2 -2
  293. package/docs/components/Truncate/examples/Truncate.md +2 -2
  294. package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
  295. package/docs/demos/Alert/examples/Alert.md +330 -87
  296. package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
  297. package/docs/demos/Banner/examples/Banner.md +211 -60
  298. package/docs/demos/Card/examples/Card.css +3 -3
  299. package/docs/demos/Card/examples/Card.md +28 -12
  300. package/docs/demos/CardView/examples/CardView.md +265 -207
  301. package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
  302. package/docs/demos/Dashboard/examples/Dashboard.md +105 -32
  303. package/docs/demos/DataList/examples/DataList.md +1002 -935
  304. package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
  305. package/docs/demos/Drawer/examples/Drawer.md +640 -251
  306. package/docs/demos/Form/examples/BasicForms.md +138 -84
  307. package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
  308. package/docs/demos/Masthead/examples/Masthead.md +786 -342
  309. package/docs/demos/Modal/examples/Modal.md +645 -198
  310. package/docs/demos/Nav/examples/Nav.md +691 -902
  311. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
  312. package/docs/demos/Page/examples/Page.md +942 -273
  313. package/docs/demos/Page/examples/Penta.md +66 -26
  314. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
  315. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
  316. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1333 -946
  317. package/docs/demos/Skeleton/examples/Skeleton.md +109 -64
  318. package/docs/demos/Table/examples/Table.md +3857 -3418
  319. package/docs/demos/Tabs/examples/Tabs.md +664 -215
  320. package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
  321. package/docs/demos/Toolbar/examples/Toolbar.md +1313 -1475
  322. package/docs/demos/Wizard/examples/Wizard.md +918 -261
  323. package/docs/layouts/Flex/examples/Flex.md +16 -16
  324. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  325. package/icons/pficons.mjs +1 -0
  326. package/layouts/Flex/flex.css +115 -43
  327. package/layouts/Flex/flex.scss +20 -8
  328. package/package.json +36 -32
  329. package/patternfly-addons.css +732 -972
  330. package/patternfly-base-no-globals-theme-dark-unversioned.css +895 -847
  331. package/patternfly-base-no-globals.css +895 -847
  332. package/patternfly-base-theme-dark-unversioned.css +899 -850
  333. package/patternfly-base.css +899 -850
  334. package/patternfly-no-globals.css +9935 -8997
  335. package/patternfly-theme-dark-unversioned.css +9940 -9001
  336. package/patternfly.css +9940 -9001
  337. package/patternfly.min.css +1 -1
  338. package/patternfly.min.css.map +1 -1
  339. package/sass-utilities/functions.scss +6 -0
  340. package/sass-utilities/mixins.scss +80 -2
  341. package/sass-utilities/scss-variables.scss +8 -8
  342. package/sass-utilities/themes/dark/mixins.scss +3 -1
  343. package/utilities/Accessibility/accessibility.css +12 -12
  344. package/utilities/Spacing/spacing.css +720 -960
  345. package/utilities/Spacing/spacing.scss +4 -8
  346. package/base/themes/dark/_variables.scss +0 -102
  347. package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
  348. package/components/Accordion/themes/dark/accordion.scss +0 -9
  349. package/components/Alert/themes/dark/alert.scss +0 -17
  350. package/components/Badge/themes/dark/badge.scss +0 -9
  351. package/components/Banner/themes/dark/banner.scss +0 -14
  352. package/components/Button/themes/dark/button.scss +0 -51
  353. package/components/Card/themes/dark/card.scss +0 -20
  354. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
  355. package/components/DataList/themes/dark/data-list.scss +0 -10
  356. package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
  357. package/components/Drawer/themes/dark/drawer.scss +0 -13
  358. package/components/Form/themes/dark/form.scss +0 -7
  359. package/components/FormControl/themes/dark/form-control.scss +0 -24
  360. package/components/HelperText/themes/dark/helper-text.scss +0 -7
  361. package/components/Hint/themes/dark/hint.scss +0 -8
  362. package/components/InputGroup/themes/dark/input-group.scss +0 -22
  363. package/components/Label/themes/dark/label.scss +0 -53
  364. package/components/Login/themes/dark/login.scss +0 -12
  365. package/components/Masthead/themes/dark/masthead.scss +0 -14
  366. package/components/ModalBox/themes/dark/modal-box.scss +0 -7
  367. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  368. package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
  369. package/components/Page/themes/dark/page.scss +0 -69
  370. package/components/Pagination/themes/dark/pagination.scss +0 -7
  371. package/components/Panel/themes/dark/panel.scss +0 -7
  372. package/components/Popover/themes/dark/popover.scss +0 -11
  373. package/components/Progress/themes/dark/progress.scss +0 -9
  374. package/components/SimpleList/themes/dark/simple-list.scss +0 -14
  375. package/components/Skeleton/themes/dark/skeleton.scss +0 -10
  376. package/components/Switch/themes/dark/switch.scss +0 -11
  377. package/components/Tabs/themes/dark/tabs.scss +0 -10
  378. package/components/Tile/themes/dark/tile.scss +0 -10
  379. package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
  380. package/components/Tooltip/themes/dark/tooltip.scss +0 -8
  381. package/docs/components/Avatar/examples/Avatar.css +0 -3
  382. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -24,13 +24,15 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
24
24
  }
25
25
  }
26
26
 
27
+ :root,
27
28
  .#{$form} {
28
- --#{$form}--GridGap: var(--#{$pf-global}--gutter--md);
29
+ --#{$form}--GridGap: var(--pf-t--global--spacer--lg);
29
30
 
30
31
  // Group
31
- --#{$form}__group--m-action--MarginTop: var(--#{$pf-global}--spacer--xl);
32
+ --#{$form}__group--Gap: var(--pf-t--global--spacer--sm);
33
+ --#{$form}__group--m-action--MarginTop: var(--pf-t--global--spacer--xl);
32
34
  --#{$form}--m-horizontal__group-label--md--GridColumnWidth: #{pf-size-prem(150px)};
33
- --#{$form}--m-horizontal__group-label--md--GridColumnGap: var(--#{$pf-global}--spacer--md);
35
+ --#{$form}--m-horizontal__group-label--md--GridColumnGap: var(--pf-t--global--spacer--md);
34
36
  --#{$form}--m-horizontal__group-control--md--GridColumnWidth: 1fr;
35
37
 
36
38
  // limit width
@@ -52,8 +54,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
52
54
  // plus the border width used by the text inputs is 1px
53
55
  // So we need to adjust by 21 - 16.1 + 1 = 5.9px
54
56
 
55
- --#{$form}--m-horizontal__group-label--md--PaddingTop: calc((((((var(--#{$pf-global}--FontSize--md) * var(--#{$pf-global}--LineHeight--md)) + (2 * var(--#{$pf-global}--BorderWidth--sm))) - var(--#{$pf-global}--FontSize--md)) / 2) + var(--#{$pf-global}--FontSize--md)) - ((((var(--#{$pf-global}--FontSize--sm) * var(--#{$pf-global}--LineHeight--sm)) - var(--#{$pf-global}--FontSize--sm)) / 2) + var(--#{$pf-global}--FontSize--sm)) + var(--#{$pf-global}--BorderWidth--sm));
56
- --#{$form}__group-label--PaddingBottom: var(--#{$pf-global}--spacer--sm);
57
+ --#{$form}--m-horizontal__group-label--md--PaddingTop: calc((((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) + (2 * var(--pf-t--global--border--width--control--default))) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)) - ((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) + var(--pf-t--global--border--width--control--default));
58
+ --#{$form}__group-label--PaddingBottom: var(--pf-t--global--spacer--sm);
57
59
 
58
60
  // Use the no-padding modifier to align form groups that aren't text inputs
59
61
  // Use the formula above, except
@@ -62,130 +64,108 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
62
64
  // - controls like checkboxes use the medium font and small line height
63
65
  // - This comes out to a difference of 2.3px.
64
66
  --#{$form}--m-horizontal__group-label--m-no-padding--md--PaddingTop: 0;
65
- --#{$form}--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--#{$pf-global}--FontSize--sm) * var(--#{$pf-global}--LineHeight--sm)) - var(--#{$pf-global}--FontSize--sm)) / 2) + var(--#{$pf-global}--FontSize--sm)) - ((((var(--#{$pf-global}--FontSize--md) * var(--#{$pf-global}--LineHeight--sm)) - var(--#{$pf-global}--FontSize--md)) / 2) + var(--#{$pf-global}--FontSize--md)));
67
+ --#{$form}--m-horizontal__group-label--m-no-padding--md--TranslateY: calc(((((var(--pf-t--global--font--size--body--sm) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--sm)) / 2) + var(--pf-t--global--font--size--body--sm)) - ((((var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)) - var(--pf-t--global--font--size--body--default)) / 2) + var(--pf-t--global--font--size--body--default)));
66
68
 
67
69
  // Label
68
- --#{$form}__label--FontSize: var(--#{$pf-global}--FontSize--sm);
69
- --#{$form}__label--LineHeight: var(--#{$pf-global}--LineHeight--sm);
70
- --#{$form}__label--m-disabled--Color: var(--#{$pf-global}--disabled-color--100);
70
+ --#{$form}__label--FontSize: var(--pf-t--global--font--size--body--sm);
71
+ --#{$form}__label--LineHeight: var(--pf-t--global--font--line-height--body);
72
+ --#{$form}__label--m-disabled--Color: var(--pf-t--global--text--color--disabled);
71
73
  --#{$form}__label--hover--Cursor: pointer;
72
74
  --#{$form}__label--m-disabled--hover--Cursor: not-allowed;
73
75
 
74
76
  // Label text
75
- --#{$form}__label-text--FontWeight: var(--#{$pf-global}--FontWeight--bold);
77
+ --#{$form}__label-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
76
78
 
77
79
  // Required labels
78
- --#{$form}__label-required--MarginLeft: var(--#{$pf-global}--spacer--xs);
79
- --#{$form}__label-required--FontSize: var(--#{$pf-global}--FontSize--sm);
80
- --#{$form}__label-required--Color: var(--#{$pf-global}--danger-color--100);
80
+ --#{$form}__label-required--MarginLeft: var(--pf-t--global--spacer--xs);
81
+ --#{$form}__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
82
+ --#{$form}__label-required--Color: var(--pf-t--global--color--status--danger--default);
81
83
 
82
84
  // Field level help
83
- --#{$form}__group-label-help--BackgroundColor: transparent;
84
- --#{$form}__group-label-help--PaddingTop: var(--#{$pf-global}--spacer--xs);
85
- --#{$form}__group-label-help--PaddingRight: var(--#{$pf-global}--spacer--xs);
86
- --#{$form}__group-label-help--PaddingBottom: var(--#{$pf-global}--spacer--xs);
87
- --#{$form}__group-label-help--PaddingLeft: var(--#{$pf-global}--spacer--xs);
88
- --#{$form}__group-label-help--MarginTop: calc(var(--#{$form}__group-label-help--PaddingTop) * -1);
89
- --#{$form}__group-label-help--MarginRight: calc(var(--#{$form}__group-label-help--PaddingRight) * -1);
90
- --#{$form}__group-label-help--MarginBottom: calc(var(--#{$form}__group-label-help--PaddingBottom) * -1);
91
- --#{$form}__group-label-help--MarginLeft: calc(var(--#{$form}__group-label-help--PaddingLeft) * -1 + var(--#{$pf-global}--spacer--xs));
92
- --#{$form}__group-label-help--FontSize: var(--#{$pf-global}--FontSize--sm);
93
- --#{$form}__group-label-help--TranslateY: #{pf-size-prem(2px)};
94
- --#{$form}__group-label-help--Color: var(--#{$pf-global}--Color--200);
95
- --#{$form}__group-label-help--hover--Color: var(--#{$pf-global}--Color--100);
96
- --#{$form}__group-label-help--focus--Color: var(--#{$pf-global}--Color--100);
85
+ --#{$form}__group-label-help--FontSize: var(--pf-t--global--font--size--body--sm);
97
86
 
98
87
  // Form group label info
99
- --#{$form}__group-label-info--MarginLeft: var(--#{$pf-global}--spacer--sm);
100
- --#{$form}__group-label-info--FontSize: var(--#{$pf-global}--FontSize--sm);
88
+ --#{$form}__group-label-info--MarginLeft: var(--pf-t--global--spacer--sm);
89
+ --#{$form}__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
101
90
 
102
91
  // Group control
103
- --#{$form}__group-control--m-inline--child--MarginRight: var(--#{$pf-global}--spacer--lg);
104
- --#{$form}__group-control__helper-text--MarginBottom: var(--#{$pf-global}--spacer--xs);
105
- --#{$form}__group-control--m-stack--Gap: var(--#{$pf-global}--spacer--sm);
92
+ --#{$form}__group-control--m-inline--child--MarginRight: var(--pf-t--global--spacer--lg);
93
+ --#{$form}__group-control__helper-text--MarginBottom: var(--pf-t--global--spacer--xs);
94
+ --#{$form}__group-control--Gap: var(--pf-t--global--spacer--sm);
95
+ --#{$form}__group-control--m-stack--Gap: var(--pf-t--global--spacer--sm);
106
96
  --#{$form}__group-control--m-stack__helper-text--MarginTop: calc(var(--#{$form}__group-control--m-stack--Gap) * -1 + var(--#{$form}__helper-text--MarginTop--base));
107
97
 
108
98
  // Actions
109
- --#{$form}__actions--child--MarginTop: var(--#{$pf-global}--spacer--sm);
110
- --#{$form}__actions--child--MarginRight: var(--#{$pf-global}--spacer--sm);
111
- --#{$form}__actions--child--MarginBottom: var(--#{$pf-global}--spacer--sm);
112
- --#{$form}__actions--child--MarginLeft: var(--#{$pf-global}--spacer--sm);
99
+ --#{$form}__actions--child--MarginTop: var(--pf-t--global--spacer--sm);
100
+ --#{$form}__actions--child--MarginRight: var(--pf-t--global--spacer--sm);
101
+ --#{$form}__actions--child--MarginBottom: var(--pf-t--global--spacer--sm);
102
+ --#{$form}__actions--child--MarginLeft: var(--pf-t--global--spacer--sm);
113
103
  --#{$form}__actions--MarginTop: calc(var(--#{$form}__actions--child--MarginTop) * -1);
114
104
  --#{$form}__actions--MarginRight: calc(var(--#{$form}__actions--child--MarginRight) * -1);
115
105
  --#{$form}__actions--MarginBottom: calc(var(--#{$form}__actions--child--MarginBottom) * -1);
116
106
  --#{$form}__actions--MarginLeft: calc(var(--#{$form}__actions--child--MarginLeft) * -1);
117
107
 
118
108
  // Helper text
119
- --#{$form}__helper-text--MarginTop--base: var(--#{$pf-global}--spacer--xs);
109
+ --#{$form}__helper-text--MarginTop--base: var(--pf-t--global--spacer--xs);
120
110
  --#{$form}__helper-text--MarginTop: var(--#{$form}__helper-text--MarginTop--base);
121
- --#{$form}__helper-text--FontSize: var(--#{$pf-global}--FontSize--sm);
122
- --#{$form}__helper-text--Color: var(--#{$pf-global}--Color--100);
123
-
124
- // here
125
- // Helper text icon
126
- --#{$form}__helper-text-icon--FontSize: var(--#{$pf-global}--FontSize--md);
127
- --#{$form}__helper-text-icon--MarginRight: var(--#{$pf-global}--spacer--xs);
128
-
129
- // States
130
- --#{$form}__helper-text--m-success--Color: var(--#{$pf-global}--success-color--200);
131
- --#{$form}__helper-text--m-warning--Color: var(--#{$pf-global}--warning-color--200);
132
- --#{$form}__helper-text--m-error--Color: var(--#{$pf-global}--danger-color--100);
133
111
 
134
112
  // Section
135
- --#{$form}__section--MarginTop: var(--#{$pf-global}--spacer--xl);
136
- --#{$form}__section--Gap: var(--#{$pf-global}--gutter--md);
113
+ --#{$form}__section--MarginTop: var(--pf-t--global--spacer--xl);
114
+ --#{$form}__section--Gap: var(--pf-t--global--spacer--md);
137
115
 
138
116
  // Section title
139
- --#{$form}__section-title--FontSize: var(--#{$pf-global}--FontSize--lg);
140
- --#{$form}__section-title--FontWeight: var(--#{$pf-global}--FontWeight--bold);
141
- --#{$form}__section-title--MarginBottom: calc(var(--#{$pf-global}--spacer--sm) * -1);
117
+ --#{$form}__section-title--FontSize: var(--pf-t--global--font--size--heading--xs);
118
+ --#{$form}__section-title--FontWeight: var(--pf-t--global--font--weight--heading);
119
+ --#{$form}__section-title--MarginBottom: calc(var(--pf-t--global--spacer--sm) * -1);
142
120
 
143
121
  // Field groups
144
- --#{$form}__field-group--border-width-base: var(--#{$pf-global}--BorderWidth--sm);
122
+ --#{$form}__field-group--border-width-base: var(--pf-t--global--border--width--divider--default);
145
123
  --#{$form}__field-group--BorderTopWidth: var(--#{$form}__field-group--border-width-base);
146
- --#{$form}__field-group--BorderTopColor: var(--#{$pf-global}--BorderColor--100);
124
+ --#{$form}__field-group--BorderTopColor: var(--pf-t--global--border--color--default);
147
125
  --#{$form}__field-group--BorderBottomWidth: var(--#{$form}__field-group--border-width-base);
148
- --#{$form}__field-group--BorderBottomColor: var(--#{$pf-global}--BorderColor--100);
126
+ --#{$form}__field-group--BorderBottomColor: var(--pf-t--global--border--color--default);
149
127
  --#{$form}__field-group--field-group--MarginTop: calc(var(--#{$form}--GridGap) * -1);
150
- --#{$form}__field-group--GridTemplateColumns--toggle: calc(var(--#{$pf-global}--spacer--md) * 2 + var(--#{$form}__field-group-toggle-icon--MinWidth) + var(--#{$pf-global}--spacer--xs)); // based off of the expected width of the group toggle, for use to define a column when the toggle is not present
151
- --#{$form}__field-group-toggle--PaddingTop: var(--#{$pf-global}--spacer--md);
152
- --#{$form}__field-group-toggle--PaddingRight: var(--#{$pf-global}--spacer--xs);
153
- --#{$form}__field-group__field-group__field-group-toggle--PaddingTop: var(--#{$pf-global}--spacer--lg);
154
- --#{$form}__field-group-header-toggle--BorderWidth--base: var(--#{$pf-global}--BorderWidth--sm);
128
+ --#{$form}__field-group--GridTemplateColumns--toggle: calc(var(--pf-t--global--spacer--md) * 2 + var(--#{$form}__field-group-toggle-icon--MinWidth) + var(--pf-t--global--spacer--xs)); // based off of the expected width of the group toggle, for use to define a column when the toggle is not present
129
+ --#{$form}__field-group-toggle--PaddingTop: var(--pf-t--global--spacer--sm);
130
+ --#{$form}__field-group-toggle--PaddingRight: var(--pf-t--global--spacer--xs);
131
+ --#{$form}__field-group__field-group__field-group-toggle--PaddingTop: var(--pf-t--global--spacer--md);
132
+ --#{$form}__field-group-header-toggle--BorderWidth--base: var(--pf-t--global--border--width--divider--default);
155
133
  --#{$form}__field-group__field-group--field-group__field-group-toggle--after--BorderTopWidth: var(--#{$form}__field-group-header-toggle--BorderWidth--base);
156
- --#{$form}__field-group-toggle-button--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
157
- --#{$form}__field-group-toggle-button--MarginBottom: calc(var(--#{$pf-global}--spacer--form-element) * -1);
134
+ --#{$form}__field-group-toggle-button--MarginTop: calc(var(--pf-t--global--spacer--form-element) * -1);
135
+ --#{$form}__field-group-toggle-button--MarginBottom: calc(var(--pf-t--global--spacer--form-element) * -1);
158
136
  --#{$form}__field-group-toggle-icon--Transition: var(--#{$pf-global}--Transition);
159
- --#{$form}__field-group-toggle-icon--MinWidth: var(--#{$pf-global}--FontSize--md);
137
+ --#{$form}__field-group-toggle-icon--MinWidth: var(--pf-t--global--font--size--body--default);
160
138
  --#{$form}__field-group-toggle-icon--Rotate: 0;
161
139
  --#{$form}__field-group--m-expanded__toggle-icon--Rotate: 90deg;
162
- --#{$form}__field-group-header--PaddingTop: var(--#{$pf-global}--spacer--md);
163
- --#{$form}__field-group-header--PaddingBottom: var(--#{$pf-global}--spacer--md);
140
+ --#{$form}__field-group-header--PaddingTop: var(--pf-t--global--spacer--md);
141
+ --#{$form}__field-group-header--PaddingBottom: var(--pf-t--global--spacer--md);
164
142
  --#{$form}__field-group-header--GridColumn: 1 / 3;
165
- --#{$form}__field-group__field-group__field-group-header--PaddingTop: var(--#{$pf-global}--spacer--lg);
166
- --#{$form}__field-group__field-group__field-group-header--PaddingBottom: var(--#{$pf-global}--spacer--lg);
143
+ --#{$form}__field-group__field-group__field-group-header--PaddingTop: var(--pf-t--global--spacer--lg);
144
+ --#{$form}__field-group__field-group__field-group-header--PaddingBottom: var(--pf-t--global--spacer--lg);
167
145
  --#{$form}__field-group-toggle--field-group-header--GridColumn: 2 / 3;
168
146
  --#{$form}__field-group__field-group--field-group__field-group-header--after--BorderTopWidth: var(--#{$form}__field-group-header-toggle--BorderWidth--base);
169
- --#{$form}__field-group-header-description--MarginTop: var(--#{$pf-global}--spacer--xs);
170
- --#{$form}__field-group-header-description--Color: var(--#{$pf-global}--Color--200);
171
- --#{$form}__field-group-header-actions--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
172
- --#{$form}__field-group-header-actions--MarginBottom: calc(var(--#{$pf-global}--spacer--form-element) * -1);
173
- --#{$form}__field-group-header-actions--MarginLeft: var(--#{$pf-global}--spacer--sm);
174
- --#{$form}__field-group-body--PaddingTop: var(--#{$pf-global}--spacer--lg);
175
- --#{$form}__field-group-body--PaddingBottom: var(--#{$pf-global}--spacer--lg);
147
+ --#{$form}__field-group-header-description--MarginTop: var(--pf-t--global--spacer--xs);
148
+ --#{$form}__field-group-header-description--Color: var(--pf-t--global--text--color--subtle);
149
+ --#{$form}__field-group-header-actions--MarginTop: calc(var(--pf-t--global--spacer--form-element) * -1);
150
+ --#{$form}__field-group-header-actions--MarginBottom: calc(var(--pf-t--global--spacer--form-element) * -1);
151
+ --#{$form}__field-group-header-actions--MarginLeft: var(--pf-t--global--spacer--sm);
152
+ --#{$form}__field-group-body--PaddingTop: var(--pf-t--global--spacer--lg);
153
+ --#{$form}__field-group-body--PaddingBottom: var(--pf-t--global--spacer--lg);
176
154
  --#{$form}__field-group-body--Gap: var(--#{$form}--GridGap);
177
155
  --#{$form}__field-group-body--GridColumn: 2 / 3;
178
156
  --#{$form}__field-group__field-group__field-group-body--GridColumn: 1 / 3;
179
157
  --#{$form}__field-group__field-group__field-group-toggle--field-group-body--GridColumn: 2 / 3;
180
158
  --#{$form}__field-group-body__field-group--last-child--MarginBottom: calc(var(--#{$form}__field-group-body--PaddingBottom) * -1);
159
+ }
181
160
 
161
+ .#{$form} {
182
162
  display: grid;
183
163
  gap: var(--#{$form}--GridGap);
184
164
 
185
165
  &.pf-m-horizontal {
186
166
  &.pf-m-align-right {
187
167
  .#{$form}__label {
188
- text-align: right;
168
+ text-align: end;
189
169
  }
190
170
  }
191
171
 
@@ -199,7 +179,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
199
179
  }
200
180
 
201
181
  .#{$form}__group-label {
202
- padding-top: var(--#{$form}--m-horizontal__group-label--md--PaddingTop);
182
+ padding-block-start: var(--#{$form}--m-horizontal__group-label--md--PaddingTop);
203
183
 
204
184
  // stylelint-disable-next-line
205
185
  &.pf-m-no-padding-top {
@@ -221,8 +201,13 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
221
201
  }
222
202
 
223
203
  .#{$form}__group {
204
+ display: flex;
205
+ flex-direction: column;
206
+ gap: var(--#{$form}__group--Gap);
207
+ min-width: 0;
208
+
224
209
  &.pf-m-action {
225
- margin-top: var(--#{$form}__group--m-action--MarginTop);
210
+ margin-block-start: var(--#{$form}__group--m-action--MarginTop);
226
211
  overflow: hidden; // keeps the negative bottom margin bottom on .#{$form}__actions from triggering overflow
227
212
  }
228
213
  }
@@ -233,12 +218,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
233
218
 
234
219
  & + .#{$form}__group:not(.pf-m-action),
235
220
  &:not(:first-child) {
236
- margin-top: var(--#{$form}__section--MarginTop);
221
+ margin-block-start: var(--#{$form}__section--MarginTop);
237
222
  }
238
223
  }
239
224
 
240
225
  .#{$form}__section-title {
241
- margin-bottom: var(--#{$form}__section-title--MarginBottom);
226
+ margin-block-end: var(--#{$form}__section-title--MarginBottom);
242
227
  font-size: var(--#{$form}__section-title--FontSize);
243
228
  font-weight: var(--#{$form}__section-title--FontWeight);
244
229
  }
@@ -246,8 +231,6 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
246
231
  .#{$form}__group-label {
247
232
  --#{$form}__helper-text--MarginTop: 0;
248
233
 
249
- padding-bottom: var(--#{$form}__group-label--PaddingBottom);
250
-
251
234
  &.pf-m-info {
252
235
  display: flex;
253
236
  align-items: flex-end;
@@ -259,7 +242,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
259
242
  }
260
243
 
261
244
  .#{$form}__group-label-info {
262
- margin-left: var(--#{$form}__group-label-info--MarginLeft);
245
+ margin-inline-start: var(--#{$form}__group-label-info--MarginLeft);
263
246
  font-size: var(--#{$form}__group-label-info--FontSize);
264
247
  }
265
248
 
@@ -289,45 +272,26 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
289
272
  }
290
273
 
291
274
  .#{$form}__label-required {
292
- margin-left: var(--#{$form}__label-required--MarginLeft);
275
+ margin-inline-start: var(--#{$form}__label-required--MarginLeft);
293
276
  font-size: var(--#{$form}__label-required--FontSize);
294
277
  color: var(--#{$form}__label-required--Color);
295
278
  }
296
279
 
297
280
  .#{$form}__group-label-help {
298
- padding-top: var(--#{$form}__group-label-help--PaddingTop);
299
- padding-right: var(--#{$form}__group-label-help--PaddingRight);
300
- padding-bottom: var(--#{$form}__group-label-help--PaddingBottom);
301
- padding-left: var(--#{$form}__group-label-help--PaddingLeft);
302
- margin-top: var(--#{$form}__group-label-help--MarginTop);
303
- margin-right: var(--#{$form}__group-label-help--MarginRight);
304
- margin-bottom: var(--#{$form}__group-label-help--MarginBottom);
305
- margin-left: var(--#{$form}__group-label-help--MarginLeft);
306
- font-size: var(--#{$form}__group-label-help--FontSize);
307
- line-height: 1;
308
- color: var(--#{$form}__group-label-help--Color);
309
- cursor: pointer;
310
- background-color: var(--#{$form}__group-label-help--BackgroundColor);
311
- border: 0;
312
- transform: translateY(var(--#{$form}__group-label-help--TranslateY));
313
-
314
- &:hover {
315
- --#{$form}__group-label-help--Color: var(--#{$form}__group-label-help--hover--Color);
316
- }
317
-
318
- &:focus-within {
319
- --#{$form}__group-label-help--Color: var(--#{$form}__group-label-help--focus--Color);
281
+ .#{$button} {
282
+ --#{$button}--FontSize: var(--#{$form}__group-label-help--FontSize);
320
283
  }
321
284
  }
322
285
 
323
-
324
286
  .#{$form}__group-control {
287
+ min-width: 0;
288
+
325
289
  &.pf-m-inline {
326
290
  display: flex;
327
291
  flex-flow: row wrap;
328
292
 
329
293
  > * {
330
- margin-right: var(--#{$form}__group-control--m-inline--child--MarginRight);
294
+ margin-inline-end: var(--#{$form}__group-control--m-inline--child--MarginRight);
331
295
  }
332
296
 
333
297
  > :last-child {
@@ -345,26 +309,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
345
309
  .#{$form}__helper-text:first-child {
346
310
  --#{$form}__helper-text--MarginTop: 0;
347
311
 
348
- margin-bottom: var(--#{$form}__group-control__helper-text--MarginBottom);
312
+ margin-block-end: var(--#{$form}__group-control__helper-text--MarginBottom);
349
313
  }
350
314
  }
351
315
 
352
316
  .#{$form}__helper-text {
353
- margin-top: var(--#{$form}__helper-text--MarginTop);
354
- font-size: var(--#{$form}__helper-text--FontSize);
355
- color: var(--#{$form}__helper-text--Color);
356
-
357
- &.pf-m-error {
358
- --#{$form}__helper-text--Color: var(--#{$form}__helper-text--m-error--Color);
359
- }
360
-
361
- &.pf-m-success {
362
- --#{$form}__helper-text--Color: var(--#{$form}__helper-text--m-success--Color);
363
- }
364
-
365
- &.pf-m-warning {
366
- --#{$form}__helper-text--Color: var(--#{$form}__helper-text--m-warning--Color);
367
- }
317
+ margin-block-start: var(--#{$form}__helper-text--MarginTop);
368
318
 
369
319
  &.pf-m-inactive {
370
320
  display: none;
@@ -376,11 +326,6 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
376
326
  }
377
327
  }
378
328
 
379
- .#{$form}__helper-text-icon {
380
- margin-right: var(--#{$form}__helper-text-icon--MarginRight);
381
- font-size: var(--#{$form}__helper-text-icon--FontSize);
382
- }
383
-
384
329
  // Fieldset
385
330
  .#{$form}__fieldset {
386
331
  border: 0;
@@ -389,16 +334,16 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
389
334
  .#{$form}__actions {
390
335
  display: flex;
391
336
  flex-wrap: wrap;
392
- margin-top: var(--#{$form}__actions--MarginTop);
393
- margin-right: var(--#{$form}__actions--MarginRight);
394
- margin-bottom: var(--#{$form}__actions--MarginBottom);
395
- margin-left: var(--#{$form}__actions--MarginLeft);
337
+ margin-block-start: var(--#{$form}__actions--MarginTop);
338
+ margin-block-end: var(--#{$form}__actions--MarginBottom);
339
+ margin-inline-start: var(--#{$form}__actions--MarginLeft);
340
+ margin-inline-end: var(--#{$form}__actions--MarginRight);
396
341
 
397
342
  > * {
398
- margin-top: var(--#{$form}__actions--child--MarginTop);
399
- margin-right: var(--#{$form}__actions--child--MarginRight);
400
- margin-bottom: var(--#{$form}__actions--child--MarginBottom);
401
- margin-left: var(--#{$form}__actions--child--MarginLeft);
343
+ margin-block-start: var(--#{$form}__actions--child--MarginTop);
344
+ margin-block-end: var(--#{$form}__actions--child--MarginBottom);
345
+ margin-inline-start: var(--#{$form}__actions--child--MarginLeft);
346
+ margin-inline-end: var(--#{$form}__actions--child--MarginRight);
402
347
  }
403
348
  }
404
349
 
@@ -407,8 +352,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
407
352
 
408
353
  display: grid;
409
354
  grid-template-columns: minmax(var(--#{$form}__field-group--GridTemplateColumns--toggle), max-content) 1fr;
410
- border-top: var(--#{$form}__field-group--BorderTopWidth) solid var(--#{$form}__field-group--BorderTopColor);
411
- border-bottom: var(--#{$form}__field-group--BorderBottomWidth) solid var(--#{$form}__field-group--BorderBottomColor);
355
+ border-block-start: var(--#{$form}__field-group--BorderTopWidth) solid var(--#{$form}__field-group--BorderTopColor);
356
+ border-block-end: var(--#{$form}__field-group--BorderBottomWidth) solid var(--#{$form}__field-group--BorderBottomColor);
412
357
 
413
358
  &:last-child {
414
359
  --#{$form}__field-group--BorderBottomWidth: 0;
@@ -420,7 +365,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
420
365
  }
421
366
 
422
367
  & + & {
423
- margin-top: var(--#{$form}__field-group--field-group--MarginTop);
368
+ margin-block-start: var(--#{$form}__field-group--field-group--MarginTop);
424
369
  }
425
370
 
426
371
  // nested
@@ -446,8 +391,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
446
391
  .#{$form}__field-group-toggle {
447
392
  grid-row: 1 / 2;
448
393
  grid-column: 1 / 2;
449
- padding-top: var(--#{$form}__field-group-toggle--PaddingTop);
450
- padding-right: var(--#{$form}__field-group-toggle--PaddingRight);
394
+ padding-block-start: var(--#{$form}__field-group-toggle--PaddingTop);
395
+ padding-inline-end: var(--#{$form}__field-group-toggle--PaddingRight);
451
396
 
452
397
  + .#{$form}__field-group-header {
453
398
  --#{$form}__field-group-header--GridColumn: var(--#{$form}__field-group-toggle--field-group-header--GridColumn);
@@ -455,8 +400,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
455
400
  }
456
401
 
457
402
  .#{$form}__field-group-toggle-button {
458
- margin-top: var(--#{$form}__field-group-toggle-button--MarginTop);
459
- margin-bottom: var(--#{$form}__field-group-toggle-button--MarginBottom);
403
+ margin-block-start: var(--#{$form}__field-group-toggle-button--MarginTop);
404
+ margin-block-end: var(--#{$form}__field-group-toggle-button--MarginBottom);
460
405
  }
461
406
 
462
407
  .#{$form}__field-group-toggle-icon {
@@ -465,6 +410,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
465
410
  text-align: center;
466
411
  transition: var(--#{$form}__field-group-toggle-icon--Transition);
467
412
  transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
413
+
414
+ @include pf-v5-mirror-inline-on-rtl;
468
415
  }
469
416
 
470
417
  .#{$form}__field-group-header {
@@ -472,8 +419,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
472
419
  grid-row: 1 / 2;
473
420
  grid-column: var(--#{$form}__field-group-header--GridColumn);
474
421
  align-items: flex-start;
475
- padding-top: var(--#{$form}__field-group-header--PaddingTop);
476
- padding-bottom: var(--#{$form}__field-group-header--PaddingBottom);
422
+ padding-block-start: var(--#{$form}__field-group-header--PaddingTop);
423
+ padding-block-end: var(--#{$form}__field-group-header--PaddingBottom);
477
424
  }
478
425
 
479
426
  .#{$form}__field-group-header-main {
@@ -491,14 +438,14 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
491
438
  }
492
439
 
493
440
  .#{$form}__field-group-header-description {
494
- margin-top: var(--#{$form}__field-group-header-description--MarginTop);
441
+ margin-block-start: var(--#{$form}__field-group-header-description--MarginTop);
495
442
  color: var(--#{$form}__field-group-header-description--Color);
496
443
  }
497
444
 
498
445
  .#{$form}__field-group-header-actions {
499
- margin-top: var(--#{$form}__field-group-header-actions--MarginTop);
500
- margin-bottom: var(--#{$form}__field-group-header-actions--MarginBottom);
501
- margin-left: var(--#{$form}__field-group-header-actions--MarginLeft);
446
+ margin-block-start: var(--#{$form}__field-group-header-actions--MarginTop);
447
+ margin-block-end: var(--#{$form}__field-group-header-actions--MarginBottom);
448
+ margin-inline-start: var(--#{$form}__field-group-header-actions--MarginLeft);
502
449
  white-space: nowrap;
503
450
  }
504
451
 
@@ -506,8 +453,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
506
453
  display: grid;
507
454
  grid-column: var(--#{$form}__field-group-body--GridColumn);
508
455
  gap: var(--#{$form}__field-group-body--Gap);
509
- padding-top: var(--#{$form}__field-group-body--PaddingTop);
510
- padding-bottom: var(--#{$form}__field-group-body--PaddingBottom);
456
+ padding-block-start: var(--#{$form}__field-group-body--PaddingTop);
457
+ padding-block-end: var(--#{$form}__field-group-body--PaddingBottom);
511
458
 
512
459
  > .#{$form}__field-group {
513
460
  &:first-child {
@@ -516,14 +463,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
516
463
  }
517
464
 
518
465
  &:last-child {
519
- margin-bottom: var(--#{$form}__field-group-body__field-group--last-child--MarginBottom);
466
+ margin-block-end: var(--#{$form}__field-group-body__field-group--last-child--MarginBottom);
520
467
  }
521
468
  }
522
469
  }
523
470
 
524
- // stylelint-disable no-invalid-position-at-import-rule
525
- @import "themes/dark/form";
526
-
527
- @include pf-v5-theme-dark {
528
- @include pf-v5-theme-dark-form;
529
- }