@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
@@ -185,7 +185,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
185
185
  &.pf-m-horizontal {
186
186
  &.pf-m-align-right {
187
187
  .#{$form}__label {
188
- text-align: right;
188
+ text-align: end;
189
189
  }
190
190
  }
191
191
 
@@ -199,7 +199,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
199
199
  }
200
200
 
201
201
  .#{$form}__group-label {
202
- padding-top: var(--#{$form}--m-horizontal__group-label--md--PaddingTop);
202
+ padding-block-start: var(--#{$form}--m-horizontal__group-label--md--PaddingTop);
203
203
 
204
204
  // stylelint-disable-next-line
205
205
  &.pf-m-no-padding-top {
@@ -221,8 +221,10 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
221
221
  }
222
222
 
223
223
  .#{$form}__group {
224
+ min-width: 0;
225
+
224
226
  &.pf-m-action {
225
- margin-top: var(--#{$form}__group--m-action--MarginTop);
227
+ margin-block-start: var(--#{$form}__group--m-action--MarginTop);
226
228
  overflow: hidden; // keeps the negative bottom margin bottom on .#{$form}__actions from triggering overflow
227
229
  }
228
230
  }
@@ -233,12 +235,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
233
235
 
234
236
  & + .#{$form}__group:not(.pf-m-action),
235
237
  &:not(:first-child) {
236
- margin-top: var(--#{$form}__section--MarginTop);
238
+ margin-block-start: var(--#{$form}__section--MarginTop);
237
239
  }
238
240
  }
239
241
 
240
242
  .#{$form}__section-title {
241
- margin-bottom: var(--#{$form}__section-title--MarginBottom);
243
+ margin-block-end: var(--#{$form}__section-title--MarginBottom);
242
244
  font-size: var(--#{$form}__section-title--FontSize);
243
245
  font-weight: var(--#{$form}__section-title--FontWeight);
244
246
  }
@@ -246,7 +248,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
246
248
  .#{$form}__group-label {
247
249
  --#{$form}__helper-text--MarginTop: 0;
248
250
 
249
- padding-bottom: var(--#{$form}__group-label--PaddingBottom);
251
+ padding-block-end: var(--#{$form}__group-label--PaddingBottom);
250
252
 
251
253
  &.pf-m-info {
252
254
  display: flex;
@@ -259,7 +261,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
259
261
  }
260
262
 
261
263
  .#{$form}__group-label-info {
262
- margin-left: var(--#{$form}__group-label-info--MarginLeft);
264
+ margin-inline-start: var(--#{$form}__group-label-info--MarginLeft);
263
265
  font-size: var(--#{$form}__group-label-info--FontSize);
264
266
  }
265
267
 
@@ -289,20 +291,20 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
289
291
  }
290
292
 
291
293
  .#{$form}__label-required {
292
- margin-left: var(--#{$form}__label-required--MarginLeft);
294
+ margin-inline-start: var(--#{$form}__label-required--MarginLeft);
293
295
  font-size: var(--#{$form}__label-required--FontSize);
294
296
  color: var(--#{$form}__label-required--Color);
295
297
  }
296
298
 
297
299
  .#{$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);
300
+ padding-block-start: var(--#{$form}__group-label-help--PaddingTop);
301
+ padding-block-end: var(--#{$form}__group-label-help--PaddingBottom);
302
+ padding-inline-start: var(--#{$form}__group-label-help--PaddingLeft);
303
+ padding-inline-end: var(--#{$form}__group-label-help--PaddingRight);
304
+ margin-block-start: var(--#{$form}__group-label-help--MarginTop);
305
+ margin-block-end: var(--#{$form}__group-label-help--MarginBottom);
306
+ margin-inline-start: var(--#{$form}__group-label-help--MarginLeft);
307
+ margin-inline-end: var(--#{$form}__group-label-help--MarginRight);
306
308
  font-size: var(--#{$form}__group-label-help--FontSize);
307
309
  line-height: 1;
308
310
  color: var(--#{$form}__group-label-help--Color);
@@ -320,14 +322,15 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
320
322
  }
321
323
  }
322
324
 
323
-
324
325
  .#{$form}__group-control {
326
+ min-width: 0;
327
+
325
328
  &.pf-m-inline {
326
329
  display: flex;
327
330
  flex-flow: row wrap;
328
331
 
329
332
  > * {
330
- margin-right: var(--#{$form}__group-control--m-inline--child--MarginRight);
333
+ margin-inline-end: var(--#{$form}__group-control--m-inline--child--MarginRight);
331
334
  }
332
335
 
333
336
  > :last-child {
@@ -345,12 +348,12 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
345
348
  .#{$form}__helper-text:first-child {
346
349
  --#{$form}__helper-text--MarginTop: 0;
347
350
 
348
- margin-bottom: var(--#{$form}__group-control__helper-text--MarginBottom);
351
+ margin-block-end: var(--#{$form}__group-control__helper-text--MarginBottom);
349
352
  }
350
353
  }
351
354
 
352
355
  .#{$form}__helper-text {
353
- margin-top: var(--#{$form}__helper-text--MarginTop);
356
+ margin-block-start: var(--#{$form}__helper-text--MarginTop);
354
357
  font-size: var(--#{$form}__helper-text--FontSize);
355
358
  color: var(--#{$form}__helper-text--Color);
356
359
 
@@ -377,7 +380,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
377
380
  }
378
381
 
379
382
  .#{$form}__helper-text-icon {
380
- margin-right: var(--#{$form}__helper-text-icon--MarginRight);
383
+ margin-inline-end: var(--#{$form}__helper-text-icon--MarginRight);
381
384
  font-size: var(--#{$form}__helper-text-icon--FontSize);
382
385
  }
383
386
 
@@ -389,16 +392,16 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
389
392
  .#{$form}__actions {
390
393
  display: flex;
391
394
  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);
395
+ margin-block-start: var(--#{$form}__actions--MarginTop);
396
+ margin-block-end: var(--#{$form}__actions--MarginBottom);
397
+ margin-inline-start: var(--#{$form}__actions--MarginLeft);
398
+ margin-inline-end: var(--#{$form}__actions--MarginRight);
396
399
 
397
400
  > * {
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);
401
+ margin-block-start: var(--#{$form}__actions--child--MarginTop);
402
+ margin-block-end: var(--#{$form}__actions--child--MarginBottom);
403
+ margin-inline-start: var(--#{$form}__actions--child--MarginLeft);
404
+ margin-inline-end: var(--#{$form}__actions--child--MarginRight);
402
405
  }
403
406
  }
404
407
 
@@ -407,8 +410,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
407
410
 
408
411
  display: grid;
409
412
  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);
413
+ border-block-start: var(--#{$form}__field-group--BorderTopWidth) solid var(--#{$form}__field-group--BorderTopColor);
414
+ border-block-end: var(--#{$form}__field-group--BorderBottomWidth) solid var(--#{$form}__field-group--BorderBottomColor);
412
415
 
413
416
  &:last-child {
414
417
  --#{$form}__field-group--BorderBottomWidth: 0;
@@ -420,7 +423,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
420
423
  }
421
424
 
422
425
  & + & {
423
- margin-top: var(--#{$form}__field-group--field-group--MarginTop);
426
+ margin-block-start: var(--#{$form}__field-group--field-group--MarginTop);
424
427
  }
425
428
 
426
429
  // nested
@@ -446,8 +449,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
446
449
  .#{$form}__field-group-toggle {
447
450
  grid-row: 1 / 2;
448
451
  grid-column: 1 / 2;
449
- padding-top: var(--#{$form}__field-group-toggle--PaddingTop);
450
- padding-right: var(--#{$form}__field-group-toggle--PaddingRight);
452
+ padding-block-start: var(--#{$form}__field-group-toggle--PaddingTop);
453
+ padding-inline-end: var(--#{$form}__field-group-toggle--PaddingRight);
451
454
 
452
455
  + .#{$form}__field-group-header {
453
456
  --#{$form}__field-group-header--GridColumn: var(--#{$form}__field-group-toggle--field-group-header--GridColumn);
@@ -455,8 +458,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
455
458
  }
456
459
 
457
460
  .#{$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);
461
+ margin-block-start: var(--#{$form}__field-group-toggle-button--MarginTop);
462
+ margin-block-end: var(--#{$form}__field-group-toggle-button--MarginBottom);
460
463
  }
461
464
 
462
465
  .#{$form}__field-group-toggle-icon {
@@ -465,6 +468,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
465
468
  text-align: center;
466
469
  transition: var(--#{$form}__field-group-toggle-icon--Transition);
467
470
  transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
471
+
472
+ @include pf-v5-mirror-inline-on-rtl;
468
473
  }
469
474
 
470
475
  .#{$form}__field-group-header {
@@ -472,8 +477,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
472
477
  grid-row: 1 / 2;
473
478
  grid-column: var(--#{$form}__field-group-header--GridColumn);
474
479
  align-items: flex-start;
475
- padding-top: var(--#{$form}__field-group-header--PaddingTop);
476
- padding-bottom: var(--#{$form}__field-group-header--PaddingBottom);
480
+ padding-block-start: var(--#{$form}__field-group-header--PaddingTop);
481
+ padding-block-end: var(--#{$form}__field-group-header--PaddingBottom);
477
482
  }
478
483
 
479
484
  .#{$form}__field-group-header-main {
@@ -491,14 +496,14 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
491
496
  }
492
497
 
493
498
  .#{$form}__field-group-header-description {
494
- margin-top: var(--#{$form}__field-group-header-description--MarginTop);
499
+ margin-block-start: var(--#{$form}__field-group-header-description--MarginTop);
495
500
  color: var(--#{$form}__field-group-header-description--Color);
496
501
  }
497
502
 
498
503
  .#{$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);
504
+ margin-block-start: var(--#{$form}__field-group-header-actions--MarginTop);
505
+ margin-block-end: var(--#{$form}__field-group-header-actions--MarginBottom);
506
+ margin-inline-start: var(--#{$form}__field-group-header-actions--MarginLeft);
502
507
  white-space: nowrap;
503
508
  }
504
509
 
@@ -506,8 +511,8 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
506
511
  display: grid;
507
512
  grid-column: var(--#{$form}__field-group-body--GridColumn);
508
513
  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);
514
+ padding-block-start: var(--#{$form}__field-group-body--PaddingTop);
515
+ padding-block-end: var(--#{$form}__field-group-body--PaddingBottom);
511
516
 
512
517
  > .#{$form}__field-group {
513
518
  &:first-child {
@@ -516,7 +521,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
516
521
  }
517
522
 
518
523
  &:last-child {
519
- margin-bottom: var(--#{$form}__field-group-body__field-group--last-child--MarginBottom);
524
+ margin-block-end: var(--#{$form}__field-group-body__field-group--last-child--MarginBottom);
520
525
  }
521
526
  }
522
527
  }
@@ -105,17 +105,26 @@
105
105
  content: "";
106
106
  }
107
107
  .pf-v5-c-form-control::before {
108
- border-color: var(--pf-v5-c-form-control--before--BorderTopColor) var(--pf-v5-c-form-control--before--BorderRightColor) var(--pf-v5-c-form-control--before--BorderBottomColor) var(--pf-v5-c-form-control--before--BorderLeftColor);
109
108
  border-style: var(--pf-v5-c-form-control--before--BorderStyle, solid);
110
- border-width: var(--pf-v5-c-form-control--before--BorderTopWidth) var(--pf-v5-c-form-control--before--BorderRightWidth) var(--pf-v5-c-form-control--before--BorderBottomWidth) var(--pf-v5-c-form-control--before--BorderLeftWidth);
109
+ border-block-start-color: var(--pf-v5-c-form-control--before--BorderTopColor);
110
+ border-block-start-width: var(--pf-v5-c-form-control--before--BorderTopWidth);
111
+ border-block-end-color: var(--pf-v5-c-form-control--before--BorderBottomColor);
112
+ border-block-end-width: var(--pf-v5-c-form-control--before--BorderBottomWidth);
113
+ border-inline-start-color: var(--pf-v5-c-form-control--before--BorderLeftColor);
114
+ border-inline-start-width: var(--pf-v5-c-form-control--before--BorderLeftWidth);
115
+ border-inline-end-color: var(--pf-v5-c-form-control--before--BorderRightColor);
116
+ border-inline-end-width: var(--pf-v5-c-form-control--before--BorderRightWidth);
111
117
  }
112
118
  .pf-v5-c-form-control::after {
113
- border-bottom: var(--pf-v5-c-form-control--after--BorderBottomWidth) var(--pf-v5-c-form-control--after--BorderStyle, solid) var(--pf-v5-c-form-control--after--BorderBottomColor);
119
+ border-block-end: var(--pf-v5-c-form-control--after--BorderBottomWidth) var(--pf-v5-c-form-control--after--BorderStyle, solid) var(--pf-v5-c-form-control--after--BorderBottomColor);
114
120
  }
115
121
  .pf-v5-c-form-control > :is(input, select, textarea) {
116
122
  grid-row: 1/2;
117
123
  grid-column: 1/-1;
118
- padding: var(--pf-v5-c-form-control--PaddingTop) var(--pf-v5-c-form-control--PaddingRight) var(--pf-v5-c-form-control--PaddingBottom) var(--pf-v5-c-form-control--PaddingLeft);
124
+ padding-block-start: var(--pf-v5-c-form-control--PaddingTop);
125
+ padding-block-end: var(--pf-v5-c-form-control--PaddingBottom);
126
+ padding-inline-start: var(--pf-v5-c-form-control--PaddingLeft);
127
+ padding-inline-end: var(--pf-v5-c-form-control--PaddingRight);
119
128
  color: var(--pf-v5-c-form-control--Color);
120
129
  background-color: transparent;
121
130
  border: none;
@@ -238,7 +247,7 @@
238
247
  }
239
248
 
240
249
  .pf-v5-c-form-control__icon {
241
- padding-top: var(--pf-v5-c-form-control__icon--PaddingTop);
250
+ padding-block-start: var(--pf-v5-c-form-control__icon--PaddingTop);
242
251
  color: var(--pf-v5-c-form-control__icon--Color);
243
252
  }
244
253
  .pf-v5-c-form-control__icon.pf-m-status {
@@ -248,9 +257,9 @@
248
257
  .pf-v5-c-form-control__toggle-icon {
249
258
  grid-row: 1/2;
250
259
  grid-column: 3;
251
- padding-top: var(--pf-v5-c-form-control__toggle-icon--PaddingTop);
252
- padding-right: var(--pf-v5-c-form-control__toggle-icon--PaddingRight);
253
- padding-left: var(--pf-v5-c-form-control__toggle-icon--PaddingLeft);
260
+ padding-block-start: var(--pf-v5-c-form-control__toggle-icon--PaddingTop);
261
+ padding-inline-start: var(--pf-v5-c-form-control__toggle-icon--PaddingLeft);
262
+ padding-inline-end: var(--pf-v5-c-form-control__toggle-icon--PaddingRight);
254
263
  color: var(--pf-v5-c-form-control__toggle-icon--Color);
255
264
  pointer-events: none;
256
265
  }
@@ -261,7 +270,7 @@
261
270
  grid-row: 1/2;
262
271
  grid-column: 2;
263
272
  gap: var(--pf-v5-c-form-control__utilities--Gap);
264
- padding-right: var(--pf-v5-c-form-control__utilities--PaddingRight);
273
+ padding-inline-end: var(--pf-v5-c-form-control__utilities--PaddingRight);
265
274
  pointer-events: none;
266
275
  }
267
276
 
@@ -136,19 +136,28 @@
136
136
  }
137
137
 
138
138
  &::before {
139
- border-color: var(--#{$form-control}--before--BorderTopColor) var(--#{$form-control}--before--BorderRightColor) var(--#{$form-control}--before--BorderBottomColor) var(--#{$form-control}--before--BorderLeftColor);
140
139
  border-style: var(--#{$form-control}--before--BorderStyle, solid);
141
- border-width: var(--#{$form-control}--before--BorderTopWidth) var(--#{$form-control}--before--BorderRightWidth) var(--#{$form-control}--before--BorderBottomWidth) var(--#{$form-control}--before--BorderLeftWidth);
140
+ border-block-start-color: var(--#{$form-control}--before--BorderTopColor);
141
+ border-block-start-width: var(--#{$form-control}--before--BorderTopWidth);
142
+ border-block-end-color: var(--#{$form-control}--before--BorderBottomColor);
143
+ border-block-end-width: var(--#{$form-control}--before--BorderBottomWidth);
144
+ border-inline-start-color: var(--#{$form-control}--before--BorderLeftColor);
145
+ border-inline-start-width: var(--#{$form-control}--before--BorderLeftWidth);
146
+ border-inline-end-color: var(--#{$form-control}--before--BorderRightColor);
147
+ border-inline-end-width: var(--#{$form-control}--before--BorderRightWidth);
142
148
  }
143
149
 
144
150
  &::after {
145
- border-bottom: var(--#{$form-control}--after--BorderBottomWidth) var(--#{$form-control}--after--BorderStyle, solid) var(--#{$form-control}--after--BorderBottomColor);
151
+ border-block-end: var(--#{$form-control}--after--BorderBottomWidth) var(--#{$form-control}--after--BorderStyle, solid) var(--#{$form-control}--after--BorderBottomColor);
146
152
  }
147
153
 
148
154
  > :is(input, select, textarea) {
149
155
  grid-row: 1 / 2;
150
156
  grid-column: 1 / -1;
151
- padding: var(--#{$form-control}--PaddingTop) var(--#{$form-control}--PaddingRight) var(--#{$form-control}--PaddingBottom) var(--#{$form-control}--PaddingLeft);
157
+ padding-block-start: var(--#{$form-control}--PaddingTop);
158
+ padding-block-end: var(--#{$form-control}--PaddingBottom);
159
+ padding-inline-start: var(--#{$form-control}--PaddingLeft);
160
+ padding-inline-end: var(--#{$form-control}--PaddingRight);
152
161
  color: var(--#{$form-control}--Color);
153
162
  background-color: transparent;
154
163
  border: none;
@@ -308,7 +317,7 @@
308
317
  }
309
318
 
310
319
  .#{$form-control}__icon {
311
- padding-top: var(--#{$form-control}__icon--PaddingTop);
320
+ padding-block-start: var(--#{$form-control}__icon--PaddingTop);
312
321
  color: var(--#{$form-control}__icon--Color);
313
322
 
314
323
  &.pf-m-status {
@@ -319,9 +328,9 @@
319
328
  .#{$form-control}__toggle-icon {
320
329
  grid-row: 1 / 2;
321
330
  grid-column: 3;
322
- padding-top: var(--#{$form-control}__toggle-icon--PaddingTop);
323
- padding-right: var(--#{$form-control}__toggle-icon--PaddingRight);
324
- padding-left: var(--#{$form-control}__toggle-icon--PaddingLeft);
331
+ padding-block-start: var(--#{$form-control}__toggle-icon--PaddingTop);
332
+ padding-inline-start: var(--#{$form-control}__toggle-icon--PaddingLeft);
333
+ padding-inline-end: var(--#{$form-control}__toggle-icon--PaddingRight);
325
334
  color: var(--#{$form-control}__toggle-icon--Color);
326
335
  pointer-events: none;
327
336
  }
@@ -332,7 +341,7 @@
332
341
  grid-row: 1 / 2;
333
342
  grid-column: 2;
334
343
  gap: var(--#{$form-control}__utilities--Gap);
335
- padding-right: var(--#{$form-control}__utilities--PaddingRight);
344
+ padding-inline-end: var(--#{$form-control}__utilities--PaddingRight);
336
345
  pointer-events: none;
337
346
  }
338
347
 
@@ -1,27 +1,28 @@
1
+ :root {
2
+ --pf-v5-c-helper-text--Gap: var(--pf-t--global--spacer--xs);
3
+ --pf-v5-c-helper-text--FontSize: var(--pf-t--global--font--size--body--sm);
4
+ --pf-v5-c-helper-text__item-icon--Color: var(--pf-t--global--icon--color--regular);
5
+ --pf-v5-c-helper-text__item-text--Color: var(--pf-t--global--text--color--regular);
6
+ --pf-v5-c-helper-text__item-text--FontWeight: var(--pf-t--global--font--weight--body);
7
+ --pf-v5-c-helper-text__item-icon--m-indeterminate--Color: var(--pf-t--global--icon--color--subtle);
8
+ --pf-v5-c-helper-text__item-text--m-indeterminate--Color: var(--pf-t--global--text--color--subtle);
9
+ --pf-v5-c-helper-text__item-icon--m-warning--Color: var(--pf-t--global--icon--color--status--warning--default);
10
+ --pf-v5-c-helper-text__item-text--m-warning--FontWeight: var(--pf-t--global--font--weight--body--bold);
11
+ --pf-v5-c-helper-text__item-icon--m-success--Color: var(--pf-t--global--icon--color--status--success--default);
12
+ --pf-v5-c-helper-text__item-text--m-success--FontWeight: var(--pf-t--global--font--weight--body--bold);
13
+ --pf-v5-c-helper-text__item-icon--m-error--Color: var(--pf-t--global--icon--color--status--danger--default);
14
+ --pf-v5-c-helper-text__item-text--m-error--FontWeight: var(--pf-t--global--font--weight--body--bold);
15
+ --pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-t--global--icon--color--regular);
16
+ --pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-t--global--icon--color--subtle);
17
+ --pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-text--Color: var(--pf-t--global--text--color--subtle);
18
+ --pf-v5-c-helper-text--m-dynamic--m-warning__item-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
19
+ --pf-v5-c-helper-text--m-dynamic--m-warning__item-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
20
+ --pf-v5-c-helper-text--m-dynamic--m-success__item-icon--Color: var(--pf-t--global--icon--color--status--success--default);
21
+ --pf-v5-c-helper-text--m-dynamic--m-error__item-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
22
+ --pf-v5-c-helper-text__item-icon--MarginRight: var(--pf-t--global--spacer--xs);
23
+ }
24
+
1
25
  .pf-v5-c-helper-text {
2
- --pf-v5-c-helper-text--Gap: var(--pf-v5-global--spacer--xs);
3
- --pf-v5-c-helper-text--FontSize: var(--pf-v5-global--FontSize--sm);
4
- --pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-global--Color--100);
5
- --pf-v5-c-helper-text__item-text--Color: var(--pf-v5-global--Color--100);
6
- --pf-v5-c-helper-text__item-icon--m-indeterminate--Color: var(--pf-v5-global--Color--200);
7
- --pf-v5-c-helper-text__item-text--m-indeterminate--Color: var(--pf-v5-global--Color--200);
8
- --pf-v5-c-helper-text__item-icon--m-warning--Color: var(--pf-v5-global--warning-color--100);
9
- --pf-v5-c-helper-text__item-text--m-warning--Color: var(--pf-v5-global--warning-color--200);
10
- --pf-v5-c-helper-text__item-icon--m-success--Color: var(--pf-v5-global--success-color--100);
11
- --pf-v5-c-helper-text__item-text--m-success--Color: var(--pf-v5-global--success-color--200);
12
- --pf-v5-c-helper-text__item-icon--m-error--Color: var(--pf-v5-global--danger-color--100);
13
- --pf-v5-c-helper-text__item-text--m-error--Color: var(--pf-v5-global--danger-color--200);
14
- --pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-global--Color--100);
15
- --pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-global--Color--100);
16
- --pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-v5-global--Color--200);
17
- --pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-text--Color: var(--pf-v5-global--Color--200);
18
- --pf-v5-c-helper-text--m-dynamic--m-warning__item-icon--Color: var(--pf-v5-global--warning-color--100);
19
- --pf-v5-c-helper-text--m-dynamic--m-warning__item-text--Color: var(--pf-v5-global--Color--200);
20
- --pf-v5-c-helper-text--m-dynamic--m-success__item-icon--Color: var(--pf-v5-global--success-color--100);
21
- --pf-v5-c-helper-text--m-dynamic--m-success__item-text--Color: var(--pf-v5-global--Color--200);
22
- --pf-v5-c-helper-text--m-dynamic--m-error__item-icon--Color: var(--pf-v5-global--danger-color--100);
23
- --pf-v5-c-helper-text--m-dynamic--m-error__item-text--Color: var(--pf-v5-global--Color--100);
24
- --pf-v5-c-helper-text__item-icon--MarginRight: var(--pf-v5-global--spacer--xs);
25
26
  display: grid;
26
27
  gap: var(--pf-v5-c-helper-text--Gap);
27
28
  font-size: var(--pf-v5-c-helper-text--FontSize);
@@ -33,6 +34,7 @@
33
34
 
34
35
  .pf-v5-c-helper-text__item {
35
36
  display: flex;
37
+ font-weight: var(--pf-v5-c-helper-text__item-text--FontWeight);
36
38
  }
37
39
  .pf-v5-c-helper-text__item.pf-m-indeterminate {
38
40
  --pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-indeterminate--Color);
@@ -41,37 +43,29 @@
41
43
  --pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-indeterminate__item-text--Color);
42
44
  }
43
45
  .pf-v5-c-helper-text__item.pf-m-warning {
46
+ --pf-v5-c-helper-text__item-text--FontWeight: var(--pf-v5-c-helper-text__item-text--m-warning--FontWeight);
44
47
  --pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-warning--Color);
45
- --pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text__item-text--m-warning--Color);
46
48
  --pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic--m-warning__item-icon--Color);
47
- --pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-warning__item-text--Color);
48
49
  }
49
50
  .pf-v5-c-helper-text__item.pf-m-success {
51
+ --pf-v5-c-helper-text__item-text--FontWeight: var(--pf-v5-c-helper-text__item-text--m-success--FontWeight);
50
52
  --pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-success--Color);
51
- --pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text__item-text--m-success--Color);
52
53
  --pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic--m-success__item-icon--Color);
53
- --pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-success__item-text--Color);
54
54
  }
55
55
  .pf-v5-c-helper-text__item.pf-m-error {
56
+ --pf-v5-c-helper-text__item-text--FontWeight: var(--pf-v5-c-helper-text__item-text--m-error--FontWeight);
56
57
  --pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text__item-icon--m-error--Color);
57
- --pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text__item-text--m-error--Color);
58
58
  --pf-v5-c-helper-text--m-dynamic__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic--m-error__item-icon--Color);
59
- --pf-v5-c-helper-text--m-dynamic__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic--m-error__item-text--Color);
60
59
  }
61
60
  .pf-v5-c-helper-text__item.pf-m-dynamic {
62
- --pf-v5-c-helper-text__item-text--Color: var(--pf-v5-c-helper-text--m-dynamic__item-text--Color);
63
61
  --pf-v5-c-helper-text__item-icon--Color: var(--pf-v5-c-helper-text--m-dynamic__item-icon--Color);
64
62
  }
65
63
 
66
64
  .pf-v5-c-helper-text__item-icon {
67
- margin-right: var(--pf-v5-c-helper-text__item-icon--MarginRight);
65
+ margin-inline-end: var(--pf-v5-c-helper-text__item-icon--MarginRight);
68
66
  color: var(--pf-v5-c-helper-text__item-icon--Color);
69
67
  }
70
68
 
71
69
  .pf-v5-c-helper-text__item-text {
72
70
  color: var(--pf-v5-c-helper-text__item-text--Color);
73
- }
74
-
75
- :where(.pf-v5-theme-dark) .pf-v5-c-helper-text {
76
- --pf-v5-c-helper-text__item-text--m-success--Color: var(--pf-v5-global--success-color--100);
77
71
  }
@@ -1,36 +1,34 @@
1
1
  // @debug $helper-text; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
-
3
- .#{$helper-text} {
4
- --#{$helper-text}--Gap: var(--#{$pf-global}--spacer--xs);
5
- --#{$helper-text}--FontSize: var(--#{$pf-global}--FontSize--sm);
2
+ :root {
3
+ --#{$helper-text}--Gap: var(--pf-t--global--spacer--xs);
4
+ --#{$helper-text}--FontSize: var(--pf-t--global--font--size--body--sm);
6
5
 
7
6
  // item
8
- --#{$helper-text}__item-icon--Color: var(--#{$pf-global}--Color--100);
9
- --#{$helper-text}__item-text--Color: var(--#{$pf-global}--Color--100);
10
- --#{$helper-text}__item-icon--m-indeterminate--Color: var(--#{$pf-global}--Color--200);
11
- --#{$helper-text}__item-text--m-indeterminate--Color: var(--#{$pf-global}--Color--200);
12
- --#{$helper-text}__item-icon--m-warning--Color: var(--#{$pf-global}--warning-color--100);
13
- --#{$helper-text}__item-text--m-warning--Color: var(--#{$pf-global}--warning-color--200);
14
- --#{$helper-text}__item-icon--m-success--Color: var(--#{$pf-global}--success-color--100);
15
- --#{$helper-text}__item-text--m-success--Color: var(--#{$pf-global}--success-color--200);
16
- --#{$helper-text}__item-icon--m-error--Color: var(--#{$pf-global}--danger-color--100);
17
- --#{$helper-text}__item-text--m-error--Color: var(--#{$pf-global}--danger-color--200);
7
+ --#{$helper-text}__item-icon--Color: var(--pf-t--global--icon--color--regular);
8
+ --#{$helper-text}__item-text--Color: var(--pf-t--global--text--color--regular);
9
+ --#{$helper-text}__item-text--FontWeight: var(--pf-t--global--font--weight--body);
10
+ --#{$helper-text}__item-icon--m-indeterminate--Color: var(--pf-t--global--icon--color--subtle);
11
+ --#{$helper-text}__item-text--m-indeterminate--Color: var(--pf-t--global--text--color--subtle);
12
+ --#{$helper-text}__item-icon--m-warning--Color: var(--pf-t--global--icon--color--status--warning--default);
13
+ --#{$helper-text}__item-text--m-warning--FontWeight: var(--pf-t--global--font--weight--body--bold);
14
+ --#{$helper-text}__item-icon--m-success--Color: var(--pf-t--global--icon--color--status--success--default);
15
+ --#{$helper-text}__item-text--m-success--FontWeight: var(--pf-t--global--font--weight--body--bold);
16
+ --#{$helper-text}__item-icon--m-error--Color: var(--pf-t--global--icon--color--status--danger--default);
17
+ --#{$helper-text}__item-text--m-error--FontWeight: var(--pf-t--global--font--weight--body--bold);
18
18
 
19
19
  // dynamic
20
- --#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$pf-global}--Color--100);
21
- --#{$helper-text}--m-dynamic__item-text--Color: var(--#{$pf-global}--Color--100);
22
- --#{$helper-text}--m-dynamic--m-indeterminate__item-icon--Color: var(--#{$pf-global}--Color--200);
23
- --#{$helper-text}--m-dynamic--m-indeterminate__item-text--Color: var(--#{$pf-global}--Color--200);
24
- --#{$helper-text}--m-dynamic--m-warning__item-icon--Color: var(--#{$pf-global}--warning-color--100);
25
- --#{$helper-text}--m-dynamic--m-warning__item-text--Color: var(--#{$pf-global}--Color--200);
26
- --#{$helper-text}--m-dynamic--m-success__item-icon--Color: var(--#{$pf-global}--success-color--100);
27
- --#{$helper-text}--m-dynamic--m-success__item-text--Color: var(--#{$pf-global}--Color--200);
28
- --#{$helper-text}--m-dynamic--m-error__item-icon--Color: var(--#{$pf-global}--danger-color--100);
29
- --#{$helper-text}--m-dynamic--m-error__item-text--Color: var(--#{$pf-global}--Color--100);
20
+ --#{$helper-text}--m-dynamic__item-icon--Color: var(--pf-t--global--icon--color--regular);
21
+ --#{$helper-text}--m-dynamic--m-indeterminate__item-icon--Color: var(--pf-t--global--icon--color--subtle);
22
+ --#{$helper-text}--m-dynamic--m-indeterminate__item-text--Color: var(--pf-t--global--text--color--subtle);
23
+ --#{$helper-text}--m-dynamic--m-warning__item-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
24
+ --#{$helper-text}--m-dynamic--m-warning__item-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
25
+ --#{$helper-text}--m-dynamic--m-success__item-icon--Color: var(--pf-t--global--icon--color--status--success--default);
26
+ --#{$helper-text}--m-dynamic--m-error__item-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
30
27
 
31
28
  // icon
32
- --#{$helper-text}__item-icon--MarginRight: var(--#{$pf-global}--spacer--xs);
33
-
29
+ --#{$helper-text}__item-icon--MarginRight: var(--pf-t--global--spacer--xs);
30
+ }
31
+ .#{$helper-text} {
34
32
  // text
35
33
 
36
34
  display: grid;
@@ -45,6 +43,8 @@
45
43
 
46
44
  .#{$helper-text}__item {
47
45
  display: flex;
46
+ font-weight: var(--#{$helper-text}__item-text--FontWeight);
47
+
48
48
 
49
49
  &.pf-m-indeterminate {
50
50
  --#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-indeterminate--Color);
@@ -54,34 +54,30 @@
54
54
  }
55
55
 
56
56
  &.pf-m-warning {
57
+ --#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-warning--FontWeight);
57
58
  --#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-warning--Color);
58
- --#{$helper-text}__item-text--Color: var(--#{$helper-text}__item-text--m-warning--Color);
59
59
  --#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-warning__item-icon--Color);
60
- --#{$helper-text}--m-dynamic__item-text--Color: var(--#{$helper-text}--m-dynamic--m-warning__item-text--Color);
61
60
  }
62
61
 
63
62
  &.pf-m-success {
63
+ --#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-success--FontWeight);
64
64
  --#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-success--Color);
65
- --#{$helper-text}__item-text--Color: var(--#{$helper-text}__item-text--m-success--Color);
66
- --#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-success__item-icon--Color);
67
- --#{$helper-text}--m-dynamic__item-text--Color: var(--#{$helper-text}--m-dynamic--m-success__item-text--Color);
65
+ --#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-success__item-icon--Color);
68
66
  }
69
67
 
70
68
  &.pf-m-error {
69
+ --#{$helper-text}__item-text--FontWeight: var(--#{$helper-text}__item-text--m-error--FontWeight);
71
70
  --#{$helper-text}__item-icon--Color: var(--#{$helper-text}__item-icon--m-error--Color);
72
- --#{$helper-text}__item-text--Color: var(--#{$helper-text}__item-text--m-error--Color);
73
71
  --#{$helper-text}--m-dynamic__item-icon--Color: var(--#{$helper-text}--m-dynamic--m-error__item-icon--Color);
74
- --#{$helper-text}--m-dynamic__item-text--Color: var(--#{$helper-text}--m-dynamic--m-error__item-text--Color);
75
72
  }
76
73
 
77
74
  &.pf-m-dynamic {
78
- --#{$helper-text}__item-text--Color: var(--#{$helper-text}--m-dynamic__item-text--Color);
79
75
  --#{$helper-text}__item-icon--Color: var(--#{$helper-text}--m-dynamic__item-icon--Color);
80
76
  }
81
77
  }
82
78
 
83
79
  .#{$helper-text}__item-icon {
84
- margin-right: var(--#{$helper-text}__item-icon--MarginRight);
80
+ margin-inline-end: var(--#{$helper-text}__item-icon--MarginRight);
85
81
  color: var(--#{$helper-text}__item-icon--Color);
86
82
  }
87
83
 
@@ -89,9 +85,3 @@
89
85
  color: var(--#{$helper-text}__item-text--Color);
90
86
  }
91
87
 
92
- // stylelint-disable no-invalid-position-at-import-rule
93
- @import "themes/dark/helper-text";
94
-
95
- @include pf-v5-theme-dark {
96
- @include pf-v5-theme-dark-helper-text;
97
- }