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

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 (260) hide show
  1. package/README.md +13 -3
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/pficon/pf-v5-pficon.woff2 +0 -0
  4. package/assets/pficon/pficon.scss +6 -129
  5. package/base/_common.scss +21 -0
  6. package/base/_globals.scss +1 -1
  7. package/base/_variables.scss +7 -0
  8. package/base/patternfly-common.css +16 -2
  9. package/base/patternfly-globals.css +1 -1
  10. package/base/patternfly-icons.css +5 -1
  11. package/base/patternfly-pf-icons.css +5 -1
  12. package/base/patternfly-variables.css +16 -0
  13. package/base/tokens/_tokens-font.scss +16 -14
  14. package/components/AboutModalBox/about-modal-box.css +23 -12
  15. package/components/AboutModalBox/about-modal-box.scss +25 -12
  16. package/components/Accordion/accordion.css +33 -20
  17. package/components/Accordion/accordion.scss +32 -20
  18. package/components/ActionList/action-list.css +2 -2
  19. package/components/ActionList/action-list.scss +2 -2
  20. package/components/Alert/alert-group.css +7 -4
  21. package/components/Alert/alert-group.scss +7 -4
  22. package/components/Alert/alert.css +19 -13
  23. package/components/Alert/alert.scss +18 -13
  24. package/components/AppLauncher/app-launcher.css +32 -23
  25. package/components/AppLauncher/app-launcher.scss +32 -23
  26. package/components/BackToTop/back-to-top.css +2 -2
  27. package/components/BackToTop/back-to-top.scss +2 -2
  28. package/components/Backdrop/backdrop.css +2 -2
  29. package/components/Backdrop/backdrop.scss +2 -2
  30. package/components/BackgroundImage/background-image.css +6 -3
  31. package/components/BackgroundImage/background-image.scss +8 -3
  32. package/components/Badge/badge.css +2 -2
  33. package/components/Badge/badge.scss +2 -2
  34. package/components/Banner/banner.css +5 -5
  35. package/components/Banner/banner.scss +5 -2
  36. package/components/Breadcrumb/breadcrumb.css +9 -3
  37. package/components/Breadcrumb/breadcrumb.scss +8 -3
  38. package/components/Button/button.css +33 -21
  39. package/components/Button/button.scss +35 -23
  40. package/components/Button/themes/dark/button.scss +1 -1
  41. package/components/CalendarMonth/calendar-month.css +25 -15
  42. package/components/CalendarMonth/calendar-month.scss +23 -15
  43. package/components/Card/card.css +25 -17
  44. package/components/Card/card.scss +24 -17
  45. package/components/Check/check.css +2 -2
  46. package/components/Check/check.scss +2 -2
  47. package/components/Chip/chip-group.css +6 -6
  48. package/components/Chip/chip-group.scss +6 -6
  49. package/components/Chip/chip.css +16 -9
  50. package/components/Chip/chip.scss +17 -9
  51. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  52. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  53. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  54. package/components/CodeBlock/code-block.css +6 -3
  55. package/components/CodeBlock/code-block.scss +6 -3
  56. package/components/CodeEditor/code-editor.css +31 -22
  57. package/components/CodeEditor/code-editor.scss +30 -21
  58. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  59. package/components/Content/content.css +33 -30
  60. package/components/Content/content.scss +33 -30
  61. package/components/ContextSelector/context-selector.css +41 -26
  62. package/components/ContextSelector/context-selector.scss +40 -25
  63. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  64. package/components/DataList/data-list-grid.css +21 -21
  65. package/components/DataList/data-list-grid.scss +3 -3
  66. package/components/DataList/data-list.css +69 -56
  67. package/components/DataList/data-list.scss +47 -35
  68. package/components/DatePicker/date-picker.css +8 -8
  69. package/components/DatePicker/date-picker.scss +8 -8
  70. package/components/DescriptionList/description-list.css +8 -5
  71. package/components/DescriptionList/description-list.scss +8 -5
  72. package/components/DragDrop/drag-drop.css +8 -8
  73. package/components/DragDrop/drag-drop.scss +8 -8
  74. package/components/Drawer/drawer.css +120 -61
  75. package/components/Drawer/drawer.scss +92 -43
  76. package/components/Dropdown/dropdown.css +75 -66
  77. package/components/Dropdown/dropdown.scss +65 -56
  78. package/components/DualListSelector/dual-list-selector.css +29 -15
  79. package/components/DualListSelector/dual-list-selector.scss +30 -15
  80. package/components/EmptyState/empty-state.css +7 -4
  81. package/components/EmptyState/empty-state.scss +7 -4
  82. package/components/ExpandableSection/expandable-section.css +17 -10
  83. package/components/ExpandableSection/expandable-section.scss +15 -10
  84. package/components/FileUpload/file-upload.css +9 -15
  85. package/components/FileUpload/file-upload.scss +9 -15
  86. package/components/Form/form.css +53 -50
  87. package/components/Form/form.scss +46 -44
  88. package/components/FormControl/form-control.css +18 -9
  89. package/components/FormControl/form-control.scss +18 -9
  90. package/components/HelperText/helper-text.css +1 -1
  91. package/components/HelperText/helper-text.scss +1 -1
  92. package/components/Hint/hint.css +9 -6
  93. package/components/Hint/hint.scss +9 -6
  94. package/components/Icon/icon.css +1 -1
  95. package/components/Icon/icon.scss +1 -1
  96. package/components/InlineEdit/inline-edit.css +4 -4
  97. package/components/InlineEdit/inline-edit.scss +4 -4
  98. package/components/InputGroup/input-group.css +12 -6
  99. package/components/InputGroup/input-group.scss +11 -5
  100. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  101. package/components/JumpLinks/jump-links.css +27 -24
  102. package/components/JumpLinks/jump-links.scss +26 -24
  103. package/components/Label/label-group.css +13 -10
  104. package/components/Label/label-group.scss +13 -10
  105. package/components/Label/label.css +9 -9
  106. package/components/Label/label.scss +9 -9
  107. package/components/List/list.css +9 -9
  108. package/components/List/list.scss +9 -9
  109. package/components/LogViewer/log-viewer.css +14 -14
  110. package/components/LogViewer/log-viewer.scss +14 -14
  111. package/components/Login/login.css +36 -27
  112. package/components/Login/login.scss +36 -27
  113. package/components/Masthead/masthead.css +19 -22
  114. package/components/Masthead/masthead.scss +19 -22
  115. package/components/Menu/menu.css +79 -65
  116. package/components/Menu/menu.scss +80 -68
  117. package/components/MenuToggle/menu-toggle.css +33 -27
  118. package/components/MenuToggle/menu-toggle.scss +33 -27
  119. package/components/ModalBox/modal-box.css +19 -19
  120. package/components/ModalBox/modal-box.scss +20 -20
  121. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  122. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  123. package/components/Nav/nav.css +120 -93
  124. package/components/Nav/nav.scss +120 -93
  125. package/components/Nav/themes/dark/nav.scss +2 -2
  126. package/components/NotificationBadge/notification-badge.css +66 -85
  127. package/components/NotificationBadge/notification-badge.scss +72 -103
  128. package/components/NotificationDrawer/notification-drawer.css +32 -19
  129. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  130. package/components/NumberInput/number-input.css +2 -2
  131. package/components/NumberInput/number-input.scss +2 -2
  132. package/components/OptionsMenu/options-menu.css +43 -31
  133. package/components/OptionsMenu/options-menu.scss +43 -31
  134. package/components/OverflowMenu/overflow-menu.css +2 -2
  135. package/components/OverflowMenu/overflow-menu.scss +2 -2
  136. package/components/Page/page.css +135 -77
  137. package/components/Page/page.scss +81 -52
  138. package/components/Page/themes/dark/page.scss +1 -1
  139. package/components/Pagination/pagination.css +27 -17
  140. package/components/Pagination/pagination.scss +25 -17
  141. package/components/Panel/panel.css +13 -7
  142. package/components/Panel/panel.scss +13 -7
  143. package/components/Popover/popover.css +72 -40
  144. package/components/Popover/popover.scss +95 -75
  145. package/components/Progress/progress.css +9 -7
  146. package/components/Progress/progress.scss +12 -7
  147. package/components/ProgressStepper/progress-stepper.css +26 -20
  148. package/components/ProgressStepper/progress-stepper.scss +25 -19
  149. package/components/Radio/radio.css +3 -3
  150. package/components/Radio/radio.scss +3 -3
  151. package/components/Select/select.css +56 -47
  152. package/components/Select/select.scss +56 -47
  153. package/components/Sidebar/sidebar.css +11 -5
  154. package/components/Sidebar/sidebar.scss +11 -5
  155. package/components/SimpleList/simple-list.css +10 -4
  156. package/components/SimpleList/simple-list.scss +10 -4
  157. package/components/Skeleton/skeleton.css +6 -5
  158. package/components/Skeleton/skeleton.scss +4 -5
  159. package/components/SkipToContent/skip-to-content.css +3 -3
  160. package/components/SkipToContent/skip-to-content.scss +3 -3
  161. package/components/Slider/slider.css +47 -26
  162. package/components/Slider/slider.scss +56 -28
  163. package/components/Switch/switch.css +9 -5
  164. package/components/Switch/switch.scss +10 -6
  165. package/components/TabContent/tab-content.css +4 -1
  166. package/components/TabContent/tab-content.scss +4 -1
  167. package/components/Table/table-grid.css +256 -195
  168. package/components/Table/table-grid.scss +53 -39
  169. package/components/Table/table-scrollable.css +4 -4
  170. package/components/Table/table-scrollable.scss +6 -4
  171. package/components/Table/table-tree-view.css +112 -105
  172. package/components/Table/table-tree-view.scss +38 -33
  173. package/components/Table/table.css +92 -70
  174. package/components/Table/table.scss +90 -70
  175. package/components/Tabs/tabs.css +76 -48
  176. package/components/Tabs/tabs.scss +74 -48
  177. package/components/TextInputGroup/text-input-group.css +15 -15
  178. package/components/TextInputGroup/text-input-group.scss +15 -15
  179. package/components/Tile/tile.css +10 -10
  180. package/components/Tile/tile.scss +10 -10
  181. package/components/ToggleGroup/toggle-group.css +14 -11
  182. package/components/ToggleGroup/toggle-group.scss +14 -11
  183. package/components/Toolbar/toolbar.css +44 -41
  184. package/components/Toolbar/toolbar.scss +26 -21
  185. package/components/Tooltip/tooltip.css +60 -28
  186. package/components/Tooltip/tooltip.scss +76 -56
  187. package/components/TreeView/tree-view.css +48 -27
  188. package/components/TreeView/tree-view.scss +50 -28
  189. package/components/Truncate/truncate.css +9 -0
  190. package/components/Truncate/truncate.scss +16 -3
  191. package/components/Wizard/wizard.css +57 -36
  192. package/components/Wizard/wizard.scss +57 -36
  193. package/docs/components/Button/examples/Button.css +2 -2
  194. package/docs/components/Button/examples/Button.md +15 -3
  195. package/docs/components/Card/examples/Card.md +15 -15
  196. package/docs/components/Check/examples/Check.md +71 -59
  197. package/docs/components/Chip/examples/Chip.md +1 -1
  198. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  199. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  200. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  201. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  202. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  203. package/docs/components/Label/examples/Label.md +1 -1
  204. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  205. package/docs/components/LogViewer/examples/LogViewer.md +120 -30
  206. package/docs/components/Menu/examples/Menu.css +8 -0
  207. package/docs/components/Menu/examples/Menu.md +90 -73
  208. package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
  209. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  210. package/docs/components/Nav/examples/Navigation.css +4 -21
  211. package/docs/components/Nav/examples/Navigation.md +99 -0
  212. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  213. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  214. package/docs/components/Popover/examples/Popover.css +4 -9
  215. package/docs/components/Radio/examples/Radio.md +63 -55
  216. package/docs/components/Select/deprecated/Select.md +184 -177
  217. package/docs/components/Table/examples/Table.css +2 -2
  218. package/docs/components/Table/examples/Table.md +2 -2
  219. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  220. package/docs/components/Tile/examples/Tile.css +1 -1
  221. package/docs/components/Toolbar/examples/Toolbar.md +525 -431
  222. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  223. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  224. package/docs/components/Truncate/examples/Truncate.md +2 -2
  225. package/docs/demos/Card/examples/Card.css +3 -3
  226. package/docs/demos/Card/examples/Card.md +26 -10
  227. package/docs/demos/CardView/examples/CardView.md +24 -20
  228. package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
  229. package/docs/demos/DataList/examples/DataList.md +8 -2
  230. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
  231. package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
  232. package/docs/demos/Table/examples/Table.md +336 -252
  233. package/docs/demos/Tabs/examples/Tabs.md +28 -21
  234. package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
  235. package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
  236. package/docs/layouts/Flex/examples/Flex.md +5 -5
  237. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  238. package/icons/pficons.mjs +1 -0
  239. package/layouts/Flex/flex.css +115 -43
  240. package/layouts/Flex/flex.scss +20 -8
  241. package/package.json +9 -5
  242. package/patternfly-addons.css +732 -972
  243. package/patternfly-base-no-globals-theme-dark-unversioned.css +37 -3
  244. package/patternfly-base-no-globals.css +37 -3
  245. package/patternfly-base-theme-dark-unversioned.css +38 -4
  246. package/patternfly-base.css +38 -4
  247. package/patternfly-no-globals.css +2748 -1960
  248. package/patternfly-theme-dark-unversioned.css +2749 -1961
  249. package/patternfly.css +2749 -1961
  250. package/patternfly.min.css +1 -1
  251. package/patternfly.min.css.map +1 -1
  252. package/sass-utilities/functions.scss +6 -0
  253. package/sass-utilities/mixins.scss +62 -2
  254. package/sass-utilities/scss-variables.scss +8 -8
  255. package/sass-utilities/themes/dark/mixins.scss +3 -1
  256. package/utilities/Accessibility/accessibility.css +12 -12
  257. package/utilities/Spacing/spacing.css +720 -960
  258. package/utilities/Spacing/spacing.scss +4 -8
  259. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  260. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -1,139 +1,108 @@
1
1
  // @debug $notification-badge; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
2
2
 
3
- .#{$notification-badge} {
4
- --#{$notification-badge}--PaddingTop: var(--#{$pf-global}--spacer--form-element);
5
- --#{$notification-badge}--PaddingRight: var(--#{$pf-global}--spacer--md);
6
- --#{$notification-badge}--PaddingBottom: var(--#{$pf-global}--spacer--form-element);
7
- --#{$notification-badge}--PaddingLeft: var(--#{$pf-global}--spacer--md);
8
- --#{$notification-badge}--MarginTop: calc(-1 * var(--#{$pf-global}--spacer--form-element));
9
- --#{$notification-badge}--MarginRight: calc(-1 * var(--#{$pf-global}--spacer--md));
10
- --#{$notification-badge}--MarginBottom: calc(-1 * var(--#{$pf-global}--spacer--form-element));
11
- --#{$notification-badge}--MarginLeft: calc(-1 * var(--#{$pf-global}--spacer--md));
12
-
13
- // update all --after variables to --before at breaking change
14
- // ::after border treatment
15
- --#{$notification-badge}--after--BorderColor: transparent; // remove at breaking change
16
- --#{$notification-badge}--after--BorderRadius: var(--#{$pf-global}--BorderRadius--sm);
17
- --#{$notification-badge}--after--BorderWidth: 0; // remove at breaking change
18
- --#{$notification-badge}--after--Top: 0; // remove at breaking change
19
- --#{$notification-badge}--after--Right: 0; // remove at breaking change
20
- --#{$notification-badge}--after--Width: auto; // remove at breaking change
21
- --#{$notification-badge}--after--Height: auto; // remove at breaking change
22
- --#{$notification-badge}--after--BackgroundColor: transparent;
23
-
24
- // This translation works for the Bell icon, although adjusted for a happy medium between FF and Chrome.
25
- // If other icons are used, a modifier may need to be created to allow for proper positioning on that icon.
26
- --#{$notification-badge}--after--TranslateX: 0; // remove at breaking change
27
- --#{$notification-badge}--after--TranslateY: 0; // remove at breaking change
28
-
29
- // The icon is normalized to be square in order to facilitate consistency in positioning
30
- --#{$notification-badge}__i--Width: auto; // remove at breaking change
31
- --#{$notification-badge}__i--Height: auto; // remove at breaking change
3
+ :root {
4
+ --#{$notification-badge}--BackgroundColor: transparent;
5
+ --#{$notification-badge}--MinWidth: 40px;
6
+ --#{$notification-badge}--Gap: var(--pf-t--global--spacer--xs);
7
+ --#{$notification-badge}--PaddingTop: var(--pf-t--global--spacer--sm);
8
+ --#{$notification-badge}--PaddingRight: var(--pf-t--global--spacer--sm);
9
+ --#{$notification-badge}--PaddingBottom: var(--pf-t--global--spacer--sm);
10
+ --#{$notification-badge}--PaddingLeft: var(--pf-t--global--spacer--sm);
11
+ --#{$notification-badge}--MarginTop: calc(-1 * var(--pf-t--global--spacer--sm));
12
+ --#{$notification-badge}--MarginRight: calc(-1 * var(--pf-t--global--spacer--sm));
13
+ --#{$notification-badge}--MarginBottom: calc(-1 * var(--pf-t--global--spacer--sm));
14
+ --#{$notification-badge}--MarginLeft: calc(-1 * var(--pf-t--global--spacer--sm));
15
+
16
+ // ::before border treatment
17
+ --#{$notification-badge}--before--BorderColor: transparent;
18
+ --#{$notification-badge}--BorderRadius: var(--pf-t--global--border--radius--small);
19
+ --#{$notification-badge}--before--BorderWidth: var(--pf-t--global--border--width--control--default);
32
20
 
33
21
  // Modifiers
34
- --#{$notification-badge}--m-read--after--BorderColor: transparent; // remove at breaking change
35
- --#{$notification-badge}--m-read--after--BackgroundColor: transparent;
36
- --#{$notification-badge}--m-read--m-expanded--after--BackgroundColor: var(--#{$pf-global}--BackgroundColor--dark-200);
22
+ --#{$notification-badge}--m-read--Color: var(--pf-t--global--text--color--regular);
23
+ --#{$notification-badge}--m-read--before--BorderColor: var(--pf-t--global--border--color--default);
24
+ --#{$notification-badge}--m-read--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
25
+ --#{$notification-badge}--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
26
+ --#{$notification-badge}--m-read--BackgroundColor: var(--pf-t--global--background--color--control--default);
27
+ --#{$notification-badge}--m-read--m-expanded--BackgroundColor: var(--pf-t--global--background--color--control--default);
28
+ --#{$notification-badge}--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
37
29
 
38
30
  // Unread
39
- --#{$notification-badge}--m-unread--Color: var(--#{$pf-global}--Color--light-100);
40
- --#{$notification-badge}--m-unread--after--BackgroundColor: var(--#{$pf-global}--active-color--100);
41
- --#{$notification-badge}--m-unread--hover--after--BackgroundColor: var(--#{$pf-global}--primary-color--200);
42
- --#{$notification-badge}--m-unread--m-expanded--after--BackgroundColor: var(--#{$pf-global}--primary-color--200);
31
+ --#{$notification-badge}--m-unread--Color: var(--pf-t--global--icon--color--on-brand--default);
32
+ --#{$notification-badge}--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
33
+ --#{$notification-badge}--m-unread--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
34
+ --#{$notification-badge}--m-unread--m-expanded--BackgroundColor: var(--pf-t--global--color--brand--active);
43
35
 
44
36
  // Attention
45
- --#{$notification-badge}--m-attention--Color: var(--#{$pf-global}--Color--light-100);
46
- --#{$notification-badge}--m-attention--after--BackgroundColor: var(--#{$pf-global}--danger-color--100);
47
- --#{$notification-badge}--m-attention--hover--after--BackgroundColor: var(--#{$pf-global}--danger-color--200);
48
- --#{$notification-badge}--m-attention--m-expanded--after--BackgroundColor: var(--#{$pf-global}--danger-color--200);
49
- --#{$notification-badge}__count--MarginLeft: var(--#{$pf-global}--spacer--xs);
50
-
51
- // Attention icon
52
- --#{$notification-badge}--pf-v5-pficon-attention-bell--LineHeight: var(--#{$pf-global}--LineHeight--sm);
53
-
54
- position: relative;
55
- display: inline-block;
56
- padding: var(--#{$notification-badge}--PaddingTop) var(--#{$notification-badge}--PaddingRight) var(--#{$notification-badge}--PaddingBottom) var(--#{$notification-badge}--PaddingLeft);
57
- margin: var(--#{$notification-badge}--MarginTop) var(--#{$notification-badge}--MarginRight) var(--#{$notification-badge}--MarginBottom) var(--#{$notification-badge}--MarginLeft);
58
- background-color: var(--#{$notification-badge}--after--BackgroundColor); // rename this at breaking change
59
- border-radius: var(--#{$notification-badge}--after--BorderRadius); // renamie this at breaking change
60
-
61
- &::before { // update all --after vars to --before at breaking change
37
+ --#{$notification-badge}--m-attention--Color: var(--pf-t--global--icon--color--status--on-danger--default);
38
+ --#{$notification-badge}--m-attention--BackgroundColor: var(--pf-t--global--color--status--danger--default);
39
+ --#{$notification-badge}--m-attention--hover--BackgroundColor: var(--pf-t--global--color--status--danger--hover);
40
+ --#{$notification-badge}--m-attention--m-expanded--BackgroundColor: var(--pf-t--global--color--status--danger--active);
41
+ }
42
+
43
+ .#{$notification-badge} {
44
+ display: inline-flex;
45
+ gap: var(--#{$notification-badge}--Gap);
46
+ align-items: center;
47
+ justify-content: center;
48
+ padding-block-start: var(--#{$notification-badge}--PaddingTop);
49
+ padding-block-end: var(--#{$notification-badge}--PaddingBottom);
50
+ padding-inline-start: var(--#{$notification-badge}--PaddingLeft);
51
+ padding-inline-end: var(--#{$notification-badge}--PaddingRight);
52
+ margin-block-start: var(--#{$notification-badge}--MarginTop);
53
+ margin-block-end: var(--#{$notification-badge}--MarginBottom);
54
+ margin-inline-start: var(--#{$notification-badge}--MarginLeft);
55
+ margin-inline-end: var(--#{$notification-badge}--MarginRight);
56
+ background-color: var(--#{$notification-badge}--BackgroundColor);
57
+ border-radius: var(--#{$notification-badge}--BorderRadius);
58
+
59
+ &::before {
62
60
  position: absolute;
63
- top: var(--#{$notification-badge}--after--Top); // replace this var with 0 at breaking change
64
- right: var(--#{$notification-badge}--after--Right); // replace this var with 0 at breaking change
65
- bottom: 0;
66
- left: 0;
67
- width: var(--#{$notification-badge}--after--Width); // remove at breaking change
68
- height: var(--#{$notification-badge}--after--Height); // remove at breaking change
61
+ inset-block-start: 0;
62
+ inset-block-end: 0;
63
+ inset-inline-start: 0;
64
+ inset-inline-end: 0;
69
65
  content: "";
70
- border: var(--#{$notification-badge}--after--BorderWidth) solid var(--#{$notification-badge}--after--BorderColor);
71
- border-radius: var(--#{$notification-badge}--after--BorderRadius);
72
- transform: translate(var(--#{$notification-badge}--after--TranslateX), var(--#{$notification-badge}--after--TranslateY));
73
- }
74
-
75
- & > i {
76
- width: var(--#{$notification-badge}__i--Width);
77
- height: var(--#{$notification-badge}__i--Height);
78
- }
79
-
80
- // set children to relative so they appear above ::before
81
- & > * {
82
- position: relative;
83
- }
84
-
85
- .#{$icon}-attention-bell,
86
- .#{$icon}-bell {
87
- display: inline-block;
88
- line-height: var(--#{$notification-badge}--pf-v5-pficon-attention-bell--LineHeight);
89
-
90
- &::before {
91
- vertical-align: bottom;
92
- }
66
+ border: var(--#{$notification-badge}--before--BorderWidth) solid var(--#{$notification-badge}--before--BorderColor);
67
+ border-radius: var(--#{$notification-badge}--BorderRadius);
68
+ transform: translate(var(--#{$notification-badge}--before--TranslateX), var(--#{$notification-badge}--before--TranslateY));
93
69
  }
94
70
 
95
71
  &.pf-m-read {
96
- --#{$notification-badge}--after--BackgroundColor: var(--#{$notification-badge}--m-read--after--BackgroundColor);
97
- --#{$notification-badge}--after--BorderColor: var(--#{$notification-badge}--m-read--after--BorderColor);
72
+ --#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-read--BackgroundColor);
73
+ --#{$notification-badge}--before--BorderColor: var(--#{$notification-badge}--m-read--before--BorderColor);
98
74
 
99
75
  color: var(--#{$notification-badge}--m-read--Color, inherit);
76
+
77
+ &:hover {
78
+ --#{$notification-badge}--before--BorderColor: var(--#{$notification-badge}--m-read--hover--before--BorderColor);
79
+ }
100
80
  }
101
81
 
102
82
  &.pf-m-unread {
103
- --#{$notification-badge}--after--BackgroundColor: var(--#{$notification-badge}--m-unread--after--BackgroundColor);
83
+ --#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-unread--BackgroundColor);
104
84
 
105
85
  color: var(--#{$notification-badge}--m-unread--Color);
106
86
 
107
87
  &:hover {
108
- --#{$notification-badge}--after--BackgroundColor: var(--#{$notification-badge}--m-unread--hover--after--BackgroundColor);
88
+ --#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-unread--hover--BackgroundColor);
109
89
  }
110
90
  }
111
91
 
112
92
  &.pf-m-attention {
113
- --#{$notification-badge}--after--BackgroundColor: var(--#{$notification-badge}--m-attention--after--BackgroundColor);
93
+ --#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-attention--BackgroundColor);
114
94
 
115
95
  color: var(--#{$notification-badge}--m-attention--Color);
116
96
 
117
97
  &:hover {
118
- --#{$notification-badge}--m-attention--after--BackgroundColor: var(--#{$notification-badge}--m-attention--hover--after--BackgroundColor);
98
+ --#{$notification-badge}--m-attention--BackgroundColor: var(--#{$notification-badge}--m-attention--hover--BackgroundColor);
119
99
  }
120
100
  }
121
101
 
122
102
  &.pf-m-expanded {
123
- --#{$notification-badge}--m-read--Color: var(--#{$pf-global}--Color--light-100);
124
- --#{$notification-badge}--m-read--after--BackgroundColor: var(--#{$notification-badge}--m-read--m-expanded--after--BackgroundColor);
125
- --#{$notification-badge}--m-unread--after--BackgroundColor: var(--#{$notification-badge}--m-unread--m-expanded--after--BackgroundColor);
126
- --#{$notification-badge}--m-attention--after--BackgroundColor: var(--#{$notification-badge}--m-attention--m-expanded--after--BackgroundColor);
103
+ --#{$notification-badge}--m-read--BackgroundColor: var(--#{$notification-badge}--m-read--m-expanded--BackgroundColor);
104
+ --#{$notification-badge}--m-read--before--BorderColor: var(--#{$notification-badge}--m-read--m-expanded--before--BorderColor);
105
+ --#{$notification-badge}--m-unread--BackgroundColor: var(--#{$notification-badge}--m-unread--m-expanded--BackgroundColor);
106
+ --#{$notification-badge}--m-attention--BackgroundColor: var(--#{$notification-badge}--m-attention--m-expanded--BackgroundColor);
127
107
  }
128
108
  }
129
-
130
- .#{$notification-badge}__count {
131
- margin-left: var(--#{$notification-badge}__count--MarginLeft);
132
- }
133
-
134
- // stylelint-disable no-invalid-position-at-import-rule
135
- @import "themes/dark/notification-badge";
136
-
137
- @include pf-v5-theme-dark {
138
- @include pf-v5-theme-dark-notification-badge;
139
- }
@@ -80,7 +80,10 @@
80
80
  display: flex;
81
81
  flex-shrink: 0;
82
82
  align-items: baseline;
83
- padding: var(--pf-v5-c-notification-drawer__header--PaddingTop) var(--pf-v5-c-notification-drawer__header--PaddingRight) var(--pf-v5-c-notification-drawer__header--PaddingBottom) var(--pf-v5-c-notification-drawer__header--PaddingLeft);
83
+ padding-block-start: var(--pf-v5-c-notification-drawer__header--PaddingTop);
84
+ padding-block-end: var(--pf-v5-c-notification-drawer__header--PaddingBottom);
85
+ padding-inline-start: var(--pf-v5-c-notification-drawer__header--PaddingLeft);
86
+ padding-inline-end: var(--pf-v5-c-notification-drawer__header--PaddingRight);
84
87
  background-color: var(--pf-v5-c-notification-drawer__header--BackgroundColor);
85
88
  box-shadow: var(--pf-v5-c-notification-drawer__header--BoxShadow);
86
89
  }
@@ -90,13 +93,13 @@
90
93
  }
91
94
 
92
95
  .pf-v5-c-notification-drawer__header-status {
93
- margin-left: var(--pf-v5-c-notification-drawer__header-status--MarginLeft);
96
+ margin-inline-start: var(--pf-v5-c-notification-drawer__header-status--MarginLeft);
94
97
  }
95
98
 
96
99
  .pf-v5-c-notification-drawer__header-action {
97
100
  display: flex;
98
101
  align-items: center;
99
- margin-left: auto;
102
+ margin-inline-start: auto;
100
103
  }
101
104
 
102
105
  .pf-v5-c-notification-drawer__body {
@@ -109,9 +112,12 @@
109
112
  position: relative;
110
113
  display: grid;
111
114
  grid-template-columns: 1fr auto;
112
- padding: var(--pf-v5-c-notification-drawer__list-item--PaddingTop) var(--pf-v5-c-notification-drawer__list-item--PaddingRight) var(--pf-v5-c-notification-drawer__list-item--PaddingBottom) var(--pf-v5-c-notification-drawer__list-item--PaddingLeft);
115
+ padding-block-start: var(--pf-v5-c-notification-drawer__list-item--PaddingTop);
116
+ padding-block-end: var(--pf-v5-c-notification-drawer__list-item--PaddingBottom);
117
+ padding-inline-start: var(--pf-v5-c-notification-drawer__list-item--PaddingLeft);
118
+ padding-inline-end: var(--pf-v5-c-notification-drawer__list-item--PaddingRight);
113
119
  background-color: var(--pf-v5-c-notification-drawer__list-item--BackgroundColor);
114
- border-bottom: var(--pf-v5-c-notification-drawer__list-item--BorderBottomWidth) solid var(--pf-v5-c-notification-drawer__list-item--BorderBottomColor);
120
+ border-block-end: var(--pf-v5-c-notification-drawer__list-item--BorderBottomWidth) solid var(--pf-v5-c-notification-drawer__list-item--BorderBottomColor);
115
121
  outline-offset: var(--pf-v5-c-notification-drawer__list-item--OutlineOffset);
116
122
  box-shadow: var(--pf-v5-c-notification-drawer__list-item--BoxShadow);
117
123
  }
@@ -124,8 +130,8 @@
124
130
  }
125
131
  .pf-v5-c-notification-drawer__list-item::before {
126
132
  position: absolute;
127
- top: var(--pf-v5-c-notification-drawer__list-item--before--Top);
128
- bottom: var(--pf-v5-c-notification-drawer__list-item--before--Bottom);
133
+ inset-block-start: var(--pf-v5-c-notification-drawer__list-item--before--Top);
134
+ inset-block-end: var(--pf-v5-c-notification-drawer__list-item--before--Bottom);
129
135
  width: var(--pf-v5-c-notification-drawer__list-item--before--Width);
130
136
  content: "";
131
137
  background-color: var(--pf-v5-c-notification-drawer__list-item--before--BackgroundColor);
@@ -172,11 +178,11 @@
172
178
  grid-row: 1/2;
173
179
  grid-column: 1/2;
174
180
  align-items: baseline;
175
- margin-bottom: var(--pf-v5-c-notification-drawer__list-item-header--MarginBottom);
181
+ margin-block-end: var(--pf-v5-c-notification-drawer__list-item-header--MarginBottom);
176
182
  }
177
183
 
178
184
  .pf-v5-c-notification-drawer__list-item-header-icon {
179
- margin-right: var(--pf-v5-c-notification-drawer__list-item-header-icon--MarginRight);
185
+ margin-inline-end: var(--pf-v5-c-notification-drawer__list-item-header-icon--MarginRight);
180
186
  color: var(--pf-v5-c-notification-drawer__list-item-header-icon--Color);
181
187
  }
182
188
 
@@ -199,7 +205,7 @@
199
205
  .pf-v5-c-notification-drawer__list-item-description {
200
206
  grid-row: 2/3;
201
207
  grid-column: 1/2;
202
- margin-bottom: var(--pf-v5-c-notification-drawer__list-item-description--MarginBottom);
208
+ margin-block-end: var(--pf-v5-c-notification-drawer__list-item-description--MarginBottom);
203
209
  word-break: break-word;
204
210
  }
205
211
 
@@ -219,7 +225,7 @@
219
225
  min-height: var(--pf-v5-c-notification-drawer__group--m-expanded--MinHeight);
220
226
  }
221
227
  .pf-v5-c-notification-drawer__group.pf-m-expanded + .pf-v5-c-notification-drawer__group {
222
- border-top: var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopWidth) solid var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopColor);
228
+ border-block-start: var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopWidth) solid var(--pf-v5-c-notification-drawer__group--m-expanded--group--BorderTopColor);
223
229
  }
224
230
  .pf-v5-c-notification-drawer__group .pf-v5-c-notification-drawer__list-item:last-child {
225
231
  --pf-v5-c-notification-drawer__list-item--BorderBottomWidth: 0;
@@ -230,10 +236,13 @@
230
236
  display: flex;
231
237
  align-items: baseline;
232
238
  width: 100%;
233
- padding: var(--pf-v5-c-notification-drawer__group-toggle--PaddingTop) var(--pf-v5-c-notification-drawer__group-toggle--PaddingRight) var(--pf-v5-c-notification-drawer__group-toggle--PaddingBottom) var(--pf-v5-c-notification-drawer__group-toggle--PaddingLeft);
239
+ padding-block-start: var(--pf-v5-c-notification-drawer__group-toggle--PaddingTop);
240
+ padding-block-end: var(--pf-v5-c-notification-drawer__group-toggle--PaddingBottom);
241
+ padding-inline-start: var(--pf-v5-c-notification-drawer__group-toggle--PaddingLeft);
242
+ padding-inline-end: var(--pf-v5-c-notification-drawer__group-toggle--PaddingRight);
234
243
  background-color: var(--pf-v5-c-notification-drawer__group-toggle--BackgroundColor);
235
- border: solid var(--pf-v5-c-notification-drawer__group-toggle--BorderColor);
236
- border-width: 0 0 var(--pf-v5-c-notification-drawer__group-toggle--BorderBottomWidth) 0;
244
+ border: 0 solid var(--pf-v5-c-notification-drawer__group-toggle--BorderColor);
245
+ border-block-end-width: var(--pf-v5-c-notification-drawer__group-toggle--BorderBottomWidth);
237
246
  outline-offset: var(--pf-v5-c-notification-drawer__group-toggle--OutlineOffset);
238
247
  }
239
248
 
@@ -243,21 +252,25 @@
243
252
  -webkit-line-clamp: var(--pf-v5-c-notification-drawer__group-toggle-title--max-lines);
244
253
  overflow: hidden;
245
254
  flex: 1;
246
- margin-right: var(--pf-v5-c-notification-drawer__group-toggle-title--MarginRight);
247
- text-align: left;
255
+ margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-title--MarginRight);
256
+ text-align: start;
248
257
  word-break: break-word;
249
258
  }
250
259
 
251
260
  .pf-v5-c-notification-drawer__group-toggle-count {
252
- margin-right: var(--pf-v5-c-notification-drawer__group-toggle-count--MarginRight);
253
- margin-left: auto;
261
+ margin-inline-start: auto;
262
+ margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-count--MarginRight);
254
263
  }
255
264
 
256
265
  .pf-v5-c-notification-drawer__group-toggle-icon {
257
- margin-right: var(--pf-v5-c-notification-drawer__group-toggle-icon--MarginRight);
266
+ margin-inline-end: var(--pf-v5-c-notification-drawer__group-toggle-icon--MarginRight);
258
267
  color: var(--pf-v5-c-notification-drawer__group-toggle-icon--Color);
259
268
  transition: var(--pf-v5-c-notification-drawer__group-toggle-icon--Transition);
260
269
  }
270
+ :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-notification-drawer__group-toggle-icon {
271
+ scale: -1 1;
272
+ }
273
+
261
274
  .pf-v5-c-notification-drawer__group.pf-m-expanded .pf-v5-c-notification-drawer__group-toggle-icon {
262
275
  transform: rotate(var(--pf-v5-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
263
276
  }
@@ -111,7 +111,10 @@
111
111
  display: flex;
112
112
  flex-shrink: 0;
113
113
  align-items: baseline;
114
- padding: var(--#{$notification-drawer}__header--PaddingTop) var(--#{$notification-drawer}__header--PaddingRight) var(--#{$notification-drawer}__header--PaddingBottom) var(--#{$notification-drawer}__header--PaddingLeft);
114
+ padding-block-start: var(--#{$notification-drawer}__header--PaddingTop);
115
+ padding-block-end: var(--#{$notification-drawer}__header--PaddingBottom);
116
+ padding-inline-start: var(--#{$notification-drawer}__header--PaddingLeft);
117
+ padding-inline-end: var(--#{$notification-drawer}__header--PaddingRight);
115
118
  background-color: var(--#{$notification-drawer}__header--BackgroundColor);
116
119
  box-shadow: var(--#{$notification-drawer}__header--BoxShadow);
117
120
  }
@@ -121,13 +124,13 @@
121
124
  }
122
125
 
123
126
  .#{$notification-drawer}__header-status {
124
- margin-left: var(--#{$notification-drawer}__header-status--MarginLeft);
127
+ margin-inline-start: var(--#{$notification-drawer}__header-status--MarginLeft);
125
128
  }
126
129
 
127
130
  .#{$notification-drawer}__header-action {
128
131
  display: flex;
129
132
  align-items: center;
130
- margin-left: auto;
133
+ margin-inline-start: auto;
131
134
  }
132
135
 
133
136
  .#{$notification-drawer}__body {
@@ -140,9 +143,12 @@
140
143
  position: relative;
141
144
  display: grid;
142
145
  grid-template-columns: 1fr auto;
143
- padding: var(--#{$notification-drawer}__list-item--PaddingTop) var(--#{$notification-drawer}__list-item--PaddingRight) var(--#{$notification-drawer}__list-item--PaddingBottom) var(--#{$notification-drawer}__list-item--PaddingLeft);
146
+ padding-block-start: var(--#{$notification-drawer}__list-item--PaddingTop);
147
+ padding-block-end: var(--#{$notification-drawer}__list-item--PaddingBottom);
148
+ padding-inline-start: var(--#{$notification-drawer}__list-item--PaddingLeft);
149
+ padding-inline-end: var(--#{$notification-drawer}__list-item--PaddingRight);
144
150
  background-color: var(--#{$notification-drawer}__list-item--BackgroundColor);
145
- border-bottom: var(--#{$notification-drawer}__list-item--BorderBottomWidth) solid var(--#{$notification-drawer}__list-item--BorderBottomColor);
151
+ border-block-end: var(--#{$notification-drawer}__list-item--BorderBottomWidth) solid var(--#{$notification-drawer}__list-item--BorderBottomColor);
146
152
  outline-offset: var(--#{$notification-drawer}__list-item--OutlineOffset);
147
153
  box-shadow: var(--#{$notification-drawer}__list-item--BoxShadow);
148
154
 
@@ -158,8 +164,8 @@
158
164
 
159
165
  &::before {
160
166
  position: absolute;
161
- top: var(--#{$notification-drawer}__list-item--before--Top);
162
- bottom: var(--#{$notification-drawer}__list-item--before--Bottom);
167
+ inset-block-start: var(--#{$notification-drawer}__list-item--before--Top);
168
+ inset-block-end: var(--#{$notification-drawer}__list-item--before--Bottom);
163
169
  width: var(--#{$notification-drawer}__list-item--before--Width);
164
170
  content: "";
165
171
  background-color: var(--#{$notification-drawer}__list-item--before--BackgroundColor);
@@ -216,11 +222,11 @@
216
222
  grid-row: 1 / 2;
217
223
  grid-column: 1 / 2;
218
224
  align-items: baseline;
219
- margin-bottom: var(--#{$notification-drawer}__list-item-header--MarginBottom);
225
+ margin-block-end: var(--#{$notification-drawer}__list-item-header--MarginBottom);
220
226
  }
221
227
 
222
228
  .#{$notification-drawer}__list-item-header-icon {
223
- margin-right: var(--#{$notification-drawer}__list-item-header-icon--MarginRight);
229
+ margin-inline-end: var(--#{$notification-drawer}__list-item-header-icon--MarginRight);
224
230
  color: var(--#{$notification-drawer}__list-item-header-icon--Color);
225
231
  }
226
232
 
@@ -241,7 +247,7 @@
241
247
  .#{$notification-drawer}__list-item-description {
242
248
  grid-row: 2 / 3;
243
249
  grid-column: 1 / 2;
244
- margin-bottom: var(--#{$notification-drawer}__list-item-description--MarginBottom);
250
+ margin-block-end: var(--#{$notification-drawer}__list-item-description--MarginBottom);
245
251
  word-break: break-word;
246
252
  }
247
253
 
@@ -262,7 +268,7 @@
262
268
  min-height: var(--#{$notification-drawer}__group--m-expanded--MinHeight);
263
269
 
264
270
  + .#{$notification-drawer}__group {
265
- border-top: var(--#{$notification-drawer}__group--m-expanded--group--BorderTopWidth) solid var(--#{$notification-drawer}__group--m-expanded--group--BorderTopColor);
271
+ border-block-start: var(--#{$notification-drawer}__group--m-expanded--group--BorderTopWidth) solid var(--#{$notification-drawer}__group--m-expanded--group--BorderTopColor);
266
272
  }
267
273
  }
268
274
 
@@ -276,10 +282,13 @@
276
282
  display: flex;
277
283
  align-items: baseline;
278
284
  width: 100%;
279
- padding: var(--#{$notification-drawer}__group-toggle--PaddingTop) var(--#{$notification-drawer}__group-toggle--PaddingRight) var(--#{$notification-drawer}__group-toggle--PaddingBottom) var(--#{$notification-drawer}__group-toggle--PaddingLeft);
285
+ padding-block-start: var(--#{$notification-drawer}__group-toggle--PaddingTop);
286
+ padding-block-end: var(--#{$notification-drawer}__group-toggle--PaddingBottom);
287
+ padding-inline-start: var(--#{$notification-drawer}__group-toggle--PaddingLeft);
288
+ padding-inline-end: var(--#{$notification-drawer}__group-toggle--PaddingRight);
280
289
  background-color: var(--#{$notification-drawer}__group-toggle--BackgroundColor);
281
- border: solid var(--#{$notification-drawer}__group-toggle--BorderColor);
282
- border-width: 0 0 var(--#{$notification-drawer}__group-toggle--BorderBottomWidth) 0;
290
+ border: 0 solid var(--#{$notification-drawer}__group-toggle--BorderColor);
291
+ border-block-end-width: var(--#{$notification-drawer}__group-toggle--BorderBottomWidth);
283
292
  outline-offset: var(--#{$notification-drawer}__group-toggle--OutlineOffset);
284
293
  }
285
294
 
@@ -287,18 +296,20 @@
287
296
  @include pf-v5-line-clamp("var(--#{$notification-drawer}__group-toggle-title--max-lines)");
288
297
 
289
298
  flex: 1;
290
- margin-right: var(--#{$notification-drawer}__group-toggle-title--MarginRight);
291
- text-align: left;
299
+ margin-inline-end: var(--#{$notification-drawer}__group-toggle-title--MarginRight);
300
+ text-align: start;
292
301
  word-break: break-word;
293
302
  }
294
303
 
295
304
  .#{$notification-drawer}__group-toggle-count {
296
- margin-right: var(--#{$notification-drawer}__group-toggle-count--MarginRight);
297
- margin-left: auto;
305
+ margin-inline-start: auto;
306
+ margin-inline-end: var(--#{$notification-drawer}__group-toggle-count--MarginRight);
298
307
  }
299
308
 
300
309
  .#{$notification-drawer}__group-toggle-icon {
301
- margin-right: var(--#{$notification-drawer}__group-toggle-icon--MarginRight);
310
+ @include pf-v5-mirror-inline-on-rtl;
311
+
312
+ margin-inline-end: var(--#{$notification-drawer}__group-toggle-icon--MarginRight);
302
313
  color: var(--#{$notification-drawer}__group-toggle-icon--Color);
303
314
  transition: var(--#{$notification-drawer}__group-toggle-icon--Transition);
304
315
 
@@ -29,12 +29,12 @@
29
29
  width: var(--pf-v5-c-number-input--c-form-control--Width);
30
30
  }
31
31
  .pf-v5-c-number-input .pf-v5-c-form-control > :is(input) {
32
- text-align: right;
32
+ text-align: end;
33
33
  }
34
34
 
35
35
  .pf-v5-c-input-group + .pf-v5-c-number-input__unit,
36
36
  .pf-v5-c-number-input__unit + .pf-v5-c-input-group {
37
- margin-left: var(--pf-v5-c-number-input__unit--c-input-group--MarginLeft);
37
+ margin-inline-start: var(--pf-v5-c-number-input__unit--c-input-group--MarginLeft);
38
38
  }
39
39
 
40
40
  .pf-v5-c-number-input__icon {
@@ -33,7 +33,7 @@
33
33
  width: var(--#{$number-input}--c-form-control--Width);
34
34
 
35
35
  > :is(input) {
36
- text-align: right;
36
+ text-align: end;
37
37
 
38
38
  @extend %pf-v5-remove-num-arrows;
39
39
  }
@@ -42,7 +42,7 @@
42
42
 
43
43
  .#{$input-group} + .#{$number-input}__unit,
44
44
  .#{$number-input}__unit + .#{$input-group} {
45
- margin-left: var(--#{$number-input}__unit--c-input-group--MarginLeft);
45
+ margin-inline-start: var(--#{$number-input}__unit--c-input-group--MarginLeft);
46
46
  }
47
47
 
48
48
  .#{$number-input}__icon {