@patternfly/patternfly 6.0.0-alpha.1 → 6.0.0-alpha.10

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 (282) 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 +14 -14
  7. package/base/_variables.scss +12 -0
  8. package/base/patternfly-common.css +16 -2
  9. package/base/patternfly-globals.css +13 -14
  10. package/base/patternfly-icons.css +5 -1
  11. package/base/patternfly-pf-icons.css +5 -1
  12. package/base/patternfly-variables.css +865 -0
  13. package/base/tokens/_tokens-dark.scss +331 -0
  14. package/base/tokens/_tokens-default.scss +379 -0
  15. package/base/tokens/_tokens-font.scss +96 -0
  16. package/base/tokens/_tokens-palette.scss +75 -0
  17. package/components/AboutModalBox/about-modal-box.css +23 -12
  18. package/components/AboutModalBox/about-modal-box.scss +25 -12
  19. package/components/Accordion/accordion.css +33 -20
  20. package/components/Accordion/accordion.scss +32 -20
  21. package/components/ActionList/action-list.css +2 -2
  22. package/components/ActionList/action-list.scss +2 -2
  23. package/components/Alert/alert-group.css +27 -20
  24. package/components/Alert/alert-group.scss +27 -20
  25. package/components/Alert/alert.css +74 -95
  26. package/components/Alert/alert.scss +76 -89
  27. package/components/AppLauncher/app-launcher.css +32 -23
  28. package/components/AppLauncher/app-launcher.scss +32 -23
  29. package/components/BackToTop/back-to-top.css +2 -2
  30. package/components/BackToTop/back-to-top.scss +2 -2
  31. package/components/Backdrop/backdrop.css +2 -2
  32. package/components/Backdrop/backdrop.scss +2 -2
  33. package/components/BackgroundImage/background-image.css +6 -3
  34. package/components/BackgroundImage/background-image.scss +8 -3
  35. package/components/Badge/badge.css +2 -2
  36. package/components/Badge/badge.scss +2 -2
  37. package/components/Banner/banner.css +5 -5
  38. package/components/Banner/banner.scss +5 -2
  39. package/components/Breadcrumb/breadcrumb.css +9 -3
  40. package/components/Breadcrumb/breadcrumb.scss +8 -3
  41. package/components/Button/button.css +167 -195
  42. package/components/Button/button.scss +187 -157
  43. package/components/Button/themes/dark/button.scss +1 -1
  44. package/components/CalendarMonth/calendar-month.css +25 -15
  45. package/components/CalendarMonth/calendar-month.scss +23 -15
  46. package/components/Card/card.css +25 -17
  47. package/components/Card/card.scss +24 -17
  48. package/components/Check/check.css +2 -2
  49. package/components/Check/check.scss +2 -2
  50. package/components/Chip/chip-group.css +6 -6
  51. package/components/Chip/chip-group.scss +6 -6
  52. package/components/Chip/chip.css +16 -9
  53. package/components/Chip/chip.scss +17 -9
  54. package/components/ClipboardCopy/clipboard-copy.css +19 -10
  55. package/components/ClipboardCopy/clipboard-copy.scss +16 -8
  56. package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
  57. package/components/CodeBlock/code-block.css +6 -3
  58. package/components/CodeBlock/code-block.scss +6 -3
  59. package/components/CodeEditor/code-editor.css +31 -22
  60. package/components/CodeEditor/code-editor.scss +30 -21
  61. package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
  62. package/components/Content/content.css +100 -97
  63. package/components/Content/content.scss +101 -98
  64. package/components/ContextSelector/context-selector.css +41 -26
  65. package/components/ContextSelector/context-selector.scss +40 -25
  66. package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
  67. package/components/DataList/data-list-grid.css +21 -21
  68. package/components/DataList/data-list-grid.scss +3 -3
  69. package/components/DataList/data-list.css +69 -56
  70. package/components/DataList/data-list.scss +47 -35
  71. package/components/DatePicker/date-picker.css +8 -8
  72. package/components/DatePicker/date-picker.scss +8 -8
  73. package/components/DescriptionList/description-list.css +8 -5
  74. package/components/DescriptionList/description-list.scss +8 -5
  75. package/components/DragDrop/drag-drop.css +8 -8
  76. package/components/DragDrop/drag-drop.scss +8 -8
  77. package/components/Drawer/drawer.css +120 -61
  78. package/components/Drawer/drawer.scss +92 -43
  79. package/components/Dropdown/dropdown.css +75 -66
  80. package/components/Dropdown/dropdown.scss +65 -56
  81. package/components/DualListSelector/dual-list-selector.css +29 -15
  82. package/components/DualListSelector/dual-list-selector.scss +30 -15
  83. package/components/EmptyState/empty-state.css +7 -4
  84. package/components/EmptyState/empty-state.scss +7 -4
  85. package/components/ExpandableSection/expandable-section.css +17 -10
  86. package/components/ExpandableSection/expandable-section.scss +15 -10
  87. package/components/FileUpload/file-upload.css +9 -15
  88. package/components/FileUpload/file-upload.scss +9 -15
  89. package/components/Form/form.css +53 -50
  90. package/components/Form/form.scss +46 -44
  91. package/components/FormControl/form-control.css +18 -9
  92. package/components/FormControl/form-control.scss +18 -9
  93. package/components/HelperText/helper-text.css +1 -1
  94. package/components/HelperText/helper-text.scss +1 -1
  95. package/components/Hint/hint.css +9 -6
  96. package/components/Hint/hint.scss +9 -6
  97. package/components/Icon/icon.css +1 -1
  98. package/components/Icon/icon.scss +1 -1
  99. package/components/InlineEdit/inline-edit.css +4 -4
  100. package/components/InlineEdit/inline-edit.scss +4 -4
  101. package/components/InputGroup/input-group.css +12 -6
  102. package/components/InputGroup/input-group.scss +11 -5
  103. package/components/InputGroup/themes/dark/input-group.scss +1 -1
  104. package/components/JumpLinks/jump-links.css +27 -24
  105. package/components/JumpLinks/jump-links.scss +26 -24
  106. package/components/Label/label-group.css +13 -10
  107. package/components/Label/label-group.scss +13 -10
  108. package/components/Label/label.css +9 -9
  109. package/components/Label/label.scss +9 -9
  110. package/components/List/list.css +9 -9
  111. package/components/List/list.scss +9 -9
  112. package/components/LogViewer/log-viewer.css +14 -14
  113. package/components/LogViewer/log-viewer.scss +14 -14
  114. package/components/Login/login.css +36 -27
  115. package/components/Login/login.scss +36 -27
  116. package/components/Masthead/masthead.css +68 -125
  117. package/components/Masthead/masthead.scss +123 -153
  118. package/components/Menu/menu.css +79 -65
  119. package/components/Menu/menu.scss +80 -68
  120. package/components/MenuToggle/menu-toggle.css +89 -99
  121. package/components/MenuToggle/menu-toggle.scss +92 -108
  122. package/components/ModalBox/modal-box.css +19 -19
  123. package/components/ModalBox/modal-box.scss +20 -20
  124. package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
  125. package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
  126. package/components/Nav/nav.css +162 -133
  127. package/components/Nav/nav.scss +162 -135
  128. package/components/Nav/themes/dark/nav.scss +2 -2
  129. package/components/NotificationBadge/notification-badge.css +66 -85
  130. package/components/NotificationBadge/notification-badge.scss +72 -103
  131. package/components/NotificationDrawer/notification-drawer.css +32 -19
  132. package/components/NotificationDrawer/notification-drawer.scss +30 -19
  133. package/components/NumberInput/number-input.css +2 -2
  134. package/components/NumberInput/number-input.scss +2 -2
  135. package/components/OptionsMenu/options-menu.css +43 -31
  136. package/components/OptionsMenu/options-menu.scss +43 -31
  137. package/components/OverflowMenu/overflow-menu.css +2 -2
  138. package/components/OverflowMenu/overflow-menu.scss +2 -2
  139. package/components/Page/page.css +203 -135
  140. package/components/Page/page.scss +149 -108
  141. package/components/Page/themes/dark/page.scss +1 -1
  142. package/components/Pagination/pagination.css +27 -17
  143. package/components/Pagination/pagination.scss +25 -17
  144. package/components/Panel/panel.css +13 -7
  145. package/components/Panel/panel.scss +13 -7
  146. package/components/Popover/popover.css +72 -40
  147. package/components/Popover/popover.scss +95 -75
  148. package/components/Progress/progress.css +9 -7
  149. package/components/Progress/progress.scss +12 -7
  150. package/components/ProgressStepper/progress-stepper.css +26 -20
  151. package/components/ProgressStepper/progress-stepper.scss +25 -19
  152. package/components/Radio/radio.css +3 -3
  153. package/components/Radio/radio.scss +3 -3
  154. package/components/Select/select.css +56 -47
  155. package/components/Select/select.scss +56 -47
  156. package/components/Sidebar/sidebar.css +11 -5
  157. package/components/Sidebar/sidebar.scss +11 -5
  158. package/components/SimpleList/simple-list.css +10 -4
  159. package/components/SimpleList/simple-list.scss +10 -4
  160. package/components/Skeleton/skeleton.css +6 -5
  161. package/components/Skeleton/skeleton.scss +4 -5
  162. package/components/SkipToContent/skip-to-content.css +3 -3
  163. package/components/SkipToContent/skip-to-content.scss +3 -3
  164. package/components/Slider/slider.css +47 -26
  165. package/components/Slider/slider.scss +56 -28
  166. package/components/Switch/switch.css +9 -5
  167. package/components/Switch/switch.scss +10 -6
  168. package/components/TabContent/tab-content.css +4 -1
  169. package/components/TabContent/tab-content.scss +4 -1
  170. package/components/Table/table-grid.css +264 -203
  171. package/components/Table/table-grid.scss +61 -47
  172. package/components/Table/table-scrollable.css +4 -4
  173. package/components/Table/table-scrollable.scss +6 -4
  174. package/components/Table/table-tree-view.css +112 -105
  175. package/components/Table/table-tree-view.scss +38 -33
  176. package/components/Table/table.css +181 -158
  177. package/components/Table/table.scss +181 -164
  178. package/components/Tabs/tabs.css +76 -48
  179. package/components/Tabs/tabs.scss +74 -48
  180. package/components/TextInputGroup/text-input-group.css +15 -15
  181. package/components/TextInputGroup/text-input-group.scss +15 -15
  182. package/components/Tile/tile.css +10 -10
  183. package/components/Tile/tile.scss +10 -10
  184. package/components/ToggleGroup/toggle-group.css +14 -11
  185. package/components/ToggleGroup/toggle-group.scss +14 -11
  186. package/components/Toolbar/toolbar.css +48 -43
  187. package/components/Toolbar/toolbar.scss +29 -23
  188. package/components/Tooltip/tooltip.css +60 -28
  189. package/components/Tooltip/tooltip.scss +76 -56
  190. package/components/TreeView/tree-view.css +48 -27
  191. package/components/TreeView/tree-view.scss +50 -28
  192. package/components/Truncate/truncate.css +9 -0
  193. package/components/Truncate/truncate.scss +16 -3
  194. package/components/Wizard/wizard.css +57 -36
  195. package/components/Wizard/wizard.scss +57 -36
  196. package/docs/components/Alert/examples/Alert.md +1 -1
  197. package/docs/components/Button/examples/Button.css +2 -2
  198. package/docs/components/Button/examples/Button.md +15 -3
  199. package/docs/components/Card/examples/Card.md +15 -15
  200. package/docs/components/Check/examples/Check.md +71 -59
  201. package/docs/components/Chip/examples/Chip.md +1 -1
  202. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
  203. package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
  204. package/docs/components/DragDrop/examples/DragDrop.css +2 -2
  205. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  206. package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
  207. package/docs/components/Label/examples/Label.md +1 -1
  208. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  209. package/docs/components/LogViewer/examples/LogViewer.md +120 -30
  210. package/docs/components/Masthead/examples/masthead.md +7 -54
  211. package/docs/components/Menu/examples/Menu.css +8 -0
  212. package/docs/components/Menu/examples/Menu.md +90 -73
  213. package/docs/components/MenuToggle/examples/MenuToggle.md +102 -81
  214. package/docs/components/ModalBox/examples/ModalBox.css +3 -8
  215. package/docs/components/Nav/examples/Navigation.css +3 -25
  216. package/docs/components/Nav/examples/Navigation.md +99 -0
  217. package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
  218. package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
  219. package/docs/components/Popover/examples/Popover.css +4 -9
  220. package/docs/components/Radio/examples/Radio.md +63 -55
  221. package/docs/components/Select/deprecated/Select.md +184 -177
  222. package/docs/components/Table/examples/Table.css +2 -2
  223. package/docs/components/Table/examples/Table.md +2 -2
  224. package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
  225. package/docs/components/Tile/examples/Tile.css +1 -1
  226. package/docs/components/Toolbar/examples/Toolbar.md +525 -431
  227. package/docs/components/Tooltip/examples/Tooltip.css +4 -0
  228. package/docs/components/Tooltip/examples/Tooltip.md +3 -1
  229. package/docs/components/Truncate/examples/Truncate.md +2 -2
  230. package/docs/demos/AboutModal/examples/AboutModal.md +83 -8
  231. package/docs/demos/Alert/examples/Alert.md +249 -24
  232. package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
  233. package/docs/demos/Banner/examples/Banner.md +168 -16
  234. package/docs/demos/Card/examples/Card.css +3 -3
  235. package/docs/demos/Card/examples/Card.md +26 -10
  236. package/docs/demos/CardView/examples/CardView.md +107 -28
  237. package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
  238. package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
  239. package/docs/demos/DataList/examples/DataList.md +340 -34
  240. package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
  241. package/docs/demos/Drawer/examples/Drawer.md +415 -40
  242. package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
  243. package/docs/demos/Masthead/examples/Masthead.md +742 -67
  244. package/docs/demos/Modal/examples/Modal.md +498 -48
  245. package/docs/demos/Nav/examples/Nav.md +664 -64
  246. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +415 -40
  247. package/docs/demos/Page/examples/Page.md +747 -72
  248. package/docs/demos/Page/examples/Penta.md +746 -0
  249. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +741 -180
  250. package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
  251. package/docs/demos/Table/examples/Table.md +1581 -372
  252. package/docs/demos/Tabs/examples/Tabs.md +526 -69
  253. package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
  254. package/docs/demos/Toolbar/examples/Toolbar.md +210 -60
  255. package/docs/demos/Wizard/examples/Wizard.md +747 -72
  256. package/docs/layouts/Flex/examples/Flex.md +5 -5
  257. package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
  258. package/icons/pficons.mjs +1 -0
  259. package/layouts/Flex/flex.css +115 -43
  260. package/layouts/Flex/flex.scss +20 -8
  261. package/package.json +9 -5
  262. package/patternfly-addons.css +732 -972
  263. package/patternfly-base-no-globals-theme-dark-unversioned.css +886 -3
  264. package/patternfly-base-no-globals.css +886 -3
  265. package/patternfly-base-theme-dark-unversioned.css +899 -17
  266. package/patternfly-base.css +899 -17
  267. package/patternfly-no-globals.css +4239 -2698
  268. package/patternfly-theme-dark-unversioned.css +4252 -2712
  269. package/patternfly.css +4252 -2712
  270. package/patternfly.min.css +1 -1
  271. package/patternfly.min.css.map +1 -1
  272. package/sass-utilities/functions.scss +6 -0
  273. package/sass-utilities/mixins.scss +62 -2
  274. package/sass-utilities/scss-variables.scss +8 -8
  275. package/sass-utilities/themes/dark/mixins.scss +3 -1
  276. package/utilities/Accessibility/accessibility.css +12 -12
  277. package/utilities/Spacing/spacing.css +720 -960
  278. package/utilities/Spacing/spacing.scss +4 -8
  279. package/components/Alert/themes/dark/alert.scss +0 -17
  280. package/components/Masthead/themes/dark/masthead.scss +0 -14
  281. package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
  282. package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
@@ -5,9 +5,8 @@ $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg",
5
5
  $pf-v5-c-toolbar--spacer-map: build-spacer-map("none", "sm", "md", "lg");
6
6
  $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
7
7
 
8
- .#{$toolbar} {
8
+ :root {
9
9
  --#{$toolbar}--AlignItems--base: flex-start;
10
- --#{$toolbar}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
11
10
  --#{$toolbar}--RowGap--base: var(--#{$pf-global}--spacer--lg); // row-gap between toolbar content elements
12
11
  --#{$toolbar}--RowGap: var(--#{$toolbar}--RowGap--base);
13
12
  --#{$toolbar}--PaddingTop: var(--#{$pf-global}--spacer--md);
@@ -138,7 +137,9 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
138
137
  --#{$toolbar}--m-full-height--PaddingBottom: 0;
139
138
  --#{$toolbar}--m-full-height__item--Display: flex;
140
139
  --#{$toolbar}--m-full-height__item--AlignItems: center;
140
+ }
141
141
 
142
+ .#{$toolbar} {
142
143
  @media screen and (min-width: $pf-v5-global--breakpoint--lg) {
143
144
  --#{$toolbar}__expandable-content--PaddingRight: var(--#{$toolbar}__expandable-content--lg--PaddingRight);
144
145
  --#{$toolbar}__expandable-content--PaddingBottom: var(--#{$toolbar}__expandable-content--lg--PaddingBottom);
@@ -152,8 +153,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
152
153
  position: relative;
153
154
  display: grid;
154
155
  row-gap: var(--#{$toolbar}--RowGap);
155
- padding-top: var(--#{$toolbar}--PaddingTop);
156
- padding-bottom: var(--#{$toolbar}--PaddingBottom);
156
+ padding-block-start: var(--#{$toolbar}--PaddingTop);
157
+ padding-block-end: var(--#{$toolbar}--PaddingBottom);
157
158
  background-color: var(--#{$toolbar}--BackgroundColor);
158
159
 
159
160
  &.pf-m-page-insets {
@@ -163,7 +164,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
163
164
 
164
165
  &.pf-m-sticky {
165
166
  position: sticky;
166
- top: 0;
167
+ inset-block-start: 0;
167
168
  z-index: var(--#{$toolbar}--m-sticky--ZIndex);
168
169
  box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
169
170
  }
@@ -217,7 +218,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
217
218
  }
218
219
 
219
220
  > .#{$divider}.pf-m-vertical {
220
- margin-right: var(--#{$toolbar}--spacer);
221
+ margin-inline-end: var(--#{$toolbar}--spacer);
221
222
 
222
223
  &:last-child {
223
224
  --#{$toolbar}--spacer: 0;
@@ -258,7 +259,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
258
259
  row-gap: var(--#{$toolbar}__group--RowGap);
259
260
  align-items: var(--#{$toolbar}__group--AlignItems);
260
261
  align-self: var(--#{$toolbar}__group--AlignSelf);
261
- margin-right: var(--#{$toolbar}--spacer);
262
+ margin-inline-end: var(--#{$toolbar}--spacer);
262
263
 
263
264
  // Button group
264
265
  &.pf-m-button-group {
@@ -287,7 +288,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
287
288
  }
288
289
 
289
290
  > * + * {
290
- margin-left: -1px;
291
+ margin-inline-start: -1px;
291
292
  }
292
293
  }
293
294
 
@@ -323,7 +324,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
323
324
  align-self: var(--#{$toolbar}__item--AlignSelf);
324
325
  width: var(--#{$toolbar}__item--Width--base);
325
326
  min-width: var(--#{$toolbar}__item--MinWidth--base);
326
- margin-right: var(--#{$toolbar}--spacer);
327
+ margin-inline-end: var(--#{$toolbar}--spacer);
327
328
 
328
329
  &.pf-m-align-items-start {
329
330
  align-items: flex-start;
@@ -384,7 +385,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
384
385
 
385
386
  // Total items
386
387
  &.pf-m-pagination {
387
- margin-left: auto;
388
+ margin-inline-start: auto;
388
389
 
389
390
  .#{$pagination} {
390
391
  flex-wrap: nowrap;
@@ -409,6 +410,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
409
410
  display: inline-block;
410
411
  transition: var(--#{$toolbar}__expand-all-icon--Transition);
411
412
  transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
413
+
414
+ // @include pf-v5-mirror-inline-on-rtl; - TODO: mirror this icon in breaking change
412
415
  }
413
416
 
414
417
  .#{$toolbar}__content,
@@ -423,8 +426,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
423
426
  position: relative;
424
427
  row-gap: var(--#{$toolbar}__content--RowGap);
425
428
  align-items: var(--#{$toolbar}__content--AlignItems);
426
- padding-right: var(--#{$toolbar}__content--PaddingRight);
427
- padding-left: var(--#{$toolbar}__content--PaddingLeft);
429
+ padding-inline-start: var(--#{$toolbar}__content--PaddingLeft);
430
+ padding-inline-end: var(--#{$toolbar}__content--PaddingRight);
428
431
  }
429
432
 
430
433
  // Content section
@@ -451,13 +454,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
451
454
  // Expandable content
452
455
  .#{$toolbar}__expandable-content {
453
456
  position: absolute;
454
- top: calc(100% + var(--#{$toolbar}__content--RowGap));
455
- right: 0;
456
- left: 0;
457
+ inset-block-start: calc(100% + var(--#{$toolbar}__content--RowGap));
458
+ inset-inline-start: 0;
459
+ inset-inline-end: 0;
457
460
  z-index: var(--#{$toolbar}__expandable-content--ZIndex);
458
461
  display: none;
459
462
  width: 100%;
460
- padding: var(--#{$toolbar}__expandable-content--PaddingTop) var(--#{$toolbar}__expandable-content--PaddingRight) var(--#{$toolbar}__expandable-content--PaddingBottom) var(--#{$toolbar}__expandable-content--PaddingLeft);
463
+ padding-block-start: var(--#{$toolbar}__expandable-content--PaddingTop);
464
+ padding-block-end: var(--#{$toolbar}__expandable-content--PaddingBottom);
465
+ padding-inline-start: var(--#{$toolbar}__expandable-content--PaddingLeft);
466
+ padding-inline-end: var(--#{$toolbar}__expandable-content--PaddingRight);
461
467
  background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
462
468
  box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
463
469
 
@@ -482,7 +488,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
482
488
  }
483
489
 
484
490
  .#{$toolbar}__item.pf-m-label {
485
- margin-bottom: var(--#{$toolbar}__expandable-content__item--m-label--MarginBottom);
491
+ margin-block-end: var(--#{$toolbar}__expandable-content__item--m-label--MarginBottom);
486
492
  font-size: var(--#{$toolbar}__expandable-content__item--m-label--FontSize);
487
493
  }
488
494
  }
@@ -495,13 +501,13 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
495
501
  flex-wrap: wrap;
496
502
  grid-row-gap: 0;
497
503
  align-items: baseline;
498
- margin-top: var(--#{$toolbar}__group--m-chip-container--MarginTop);
504
+ margin-block-start: var(--#{$toolbar}__group--m-chip-container--MarginTop);
499
505
 
500
506
  .#{$toolbar}__item {
501
507
  --#{$toolbar}--spacer: var(--#{$toolbar}__item--spacer);
502
508
  --#{$toolbar}__item--AlignSelf: auto;
503
509
 
504
- margin-top: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
510
+ margin-block-start: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
505
511
  }
506
512
 
507
513
  .#{$toolbar}__group {
@@ -562,20 +568,20 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
562
568
  // Align right
563
569
  .#{$toolbar}__item.pf-m-align-right#{$breakpoint-name},
564
570
  .#{$toolbar}__group.pf-m-align-right#{$breakpoint-name} {
565
- margin-left: auto;
571
+ margin-inline-start: auto;
566
572
 
567
573
  & ~ .pf-m-pagination {
568
- margin-left: 0;
574
+ margin-inline-start: 0;
569
575
  }
570
576
  }
571
577
 
572
578
  // Align left
573
579
  .#{$toolbar}__item.pf-m-align-left#{$breakpoint-name},
574
580
  .#{$toolbar}__group.pf-m-align-left#{$breakpoint-name} {
575
- margin-left: 0;
581
+ margin-inline-start: 0;
576
582
 
577
583
  & ~ .pf-m-pagination {
578
- margin-left: auto;
584
+ margin-inline-start: auto;
579
585
  }
580
586
  }
581
587
 
@@ -28,44 +28,69 @@
28
28
  max-width: var(--pf-v5-c-tooltip--MaxWidth);
29
29
  box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
30
30
  }
31
- .pf-v5-c-tooltip.pf-m-top .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-top-left .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-top-right .pf-v5-c-tooltip__arrow {
32
- bottom: 0;
33
- left: 50%;
34
- transform: translateX(var(--pf-v5-c-tooltip__arrow--m-top--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-top--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-top--Rotate));
31
+ .pf-v5-c-tooltip:is(.pf-m-top,
32
+ .pf-m-top-left,
33
+ .pf-m-top-right) {
34
+ --pf-v5-c-tooltip__arrow--Bottom: var(--pf-v5-c-tooltip--m-top--Bottom, 0);
35
+ --pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-top--Left, 50%);
36
+ --pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-top--TranslateX);
37
+ --pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
38
+ --pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-top--Rotate);
35
39
  }
36
- .pf-v5-c-tooltip.pf-m-bottom .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-bottom-left .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-bottom-right .pf-v5-c-tooltip__arrow {
37
- top: 0;
38
- left: 50%;
39
- transform: translateX(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate));
40
+ .pf-v5-c-tooltip:is(.pf-m-bottom,
41
+ .pf-m-bottom-left,
42
+ .pf-m-bottom-right) {
43
+ --pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-bottom--Top, 0);
44
+ --pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-bottom--Left, 50%);
45
+ --pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX);
46
+ --pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY);
47
+ --pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate);
40
48
  }
41
- .pf-v5-c-tooltip.pf-m-left .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-left-top .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-left-bottom .pf-v5-c-tooltip__arrow {
42
- top: 50%;
43
- right: 0;
44
- transform: translateX(var(--pf-v5-c-tooltip__arrow--m-left--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-left--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-left--Rotate));
49
+ .pf-v5-c-tooltip:is(.pf-m-left,
50
+ .pf-m-left-top,
51
+ .pf-m-left-bottom) {
52
+ --pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-left--Top, 50%);
53
+ --pf-v5-c-tooltip__arrow--Right: var(--pf-v5-c-tooltip--m-left--Right, 0);
54
+ --pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
55
+ --pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-left--TranslateY);
56
+ --pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-left--Rotate);
45
57
  }
46
- .pf-v5-c-tooltip.pf-m-right .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-right-top .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-right-bottom .pf-v5-c-tooltip__arrow {
47
- top: 50%;
48
- left: 0;
49
- transform: translateX(var(--pf-v5-c-tooltip__arrow--m-right--TranslateX)) translateY(var(--pf-v5-c-tooltip__arrow--m-right--TranslateY)) rotate(var(--pf-v5-c-tooltip__arrow--m-right--Rotate));
58
+ .pf-v5-c-tooltip:is(.pf-m-right,
59
+ .pf-m-right-top,
60
+ .pf-m-right-bottom) {
61
+ --pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-right--Top, 50%);
62
+ --pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-right--Left, 0);
63
+ --pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-right--TranslateX);
64
+ --pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-right--TranslateY);
65
+ --pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-right--Rotate);
50
66
  }
51
- .pf-v5-c-tooltip.pf-m-left-top .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-right-top .pf-v5-c-tooltip__arrow {
52
- top: var(--pf-v5-c-tooltip__arrow--Height);
67
+ .pf-v5-c-tooltip:is(.pf-m-left-top,
68
+ .pf-m-right-top) {
69
+ --pf-v5-c-tooltip__arrow--Top: 0;
70
+ --pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
53
71
  }
54
- .pf-v5-c-tooltip.pf-m-left-bottom .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-right-bottom .pf-v5-c-tooltip__arrow {
55
- top: auto;
56
- bottom: 0;
72
+ .pf-v5-c-tooltip:is(.pf-m-left-bottom,
73
+ .pf-m-right-bottom) {
74
+ --pf-v5-c-tooltip__arrow--Top: auto;
75
+ --pf-v5-c-tooltip__arrow--Bottom: 0;
57
76
  }
58
- .pf-v5-c-tooltip.pf-m-top-left .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-bottom-left .pf-v5-c-tooltip__arrow {
59
- left: var(--pf-v5-c-tooltip__arrow--Width);
77
+ .pf-v5-c-tooltip:is(.pf-m-top-left,
78
+ .pf-m-bottom-left) {
79
+ --pf-v5-c-tooltip__arrow--Left: 0;
80
+ --pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
60
81
  }
61
- .pf-v5-c-tooltip.pf-m-top-right .pf-v5-c-tooltip__arrow, .pf-v5-c-tooltip.pf-m-bottom-right .pf-v5-c-tooltip__arrow {
62
- right: 0;
63
- left: auto;
82
+ .pf-v5-c-tooltip:is(.pf-m-top-right,
83
+ .pf-m-bottom-right) {
84
+ --pf-v5-c-tooltip__arrow--Right: 0;
85
+ --pf-v5-c-tooltip__arrow--Left: auto;
64
86
  }
65
87
 
66
88
  .pf-v5-c-tooltip__content {
67
89
  position: relative;
68
- padding: var(--pf-v5-c-tooltip__content--PaddingTop) var(--pf-v5-c-tooltip__content--PaddingRight) var(--pf-v5-c-tooltip__content--PaddingBottom) var(--pf-v5-c-tooltip__content--PaddingLeft);
90
+ padding-block-start: var(--pf-v5-c-tooltip__content--PaddingTop);
91
+ padding-block-end: var(--pf-v5-c-tooltip__content--PaddingBottom);
92
+ padding-inline-start: var(--pf-v5-c-tooltip__content--PaddingLeft);
93
+ padding-inline-end: var(--pf-v5-c-tooltip__content--PaddingRight);
69
94
  font-size: var(--pf-v5-c-tooltip__content--FontSize);
70
95
  color: var(--pf-v5-c-tooltip__content--Color);
71
96
  text-align: center;
@@ -73,16 +98,23 @@
73
98
  background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
74
99
  }
75
100
  .pf-v5-c-tooltip__content.pf-m-text-align-left {
76
- text-align: left;
101
+ text-align: start;
77
102
  }
78
103
 
79
104
  .pf-v5-c-tooltip__arrow {
80
105
  position: absolute;
106
+ /* stylelint-disable liberty/use-logical-spec */
107
+ top: var(--pf-v5-c-tooltip__arrow--Top, auto);
108
+ right: var(--pf-v5-c-tooltip__arrow--Right, auto);
109
+ bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
110
+ left: var(--pf-v5-c-tooltip__arrow--Left, auto);
111
+ /* stylelint-enable */
81
112
  width: var(--pf-v5-c-tooltip__arrow--Width);
82
113
  height: var(--pf-v5-c-tooltip__arrow--Height);
83
114
  pointer-events: none;
84
115
  background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
85
116
  box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
117
+ transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
86
118
  }
87
119
 
88
120
  :where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
@@ -36,80 +36,93 @@
36
36
  max-width: var(--#{$tooltip}--MaxWidth);
37
37
  box-shadow: var(--#{$tooltip}--BoxShadow);
38
38
 
39
- &.pf-m-top,
40
- &.pf-m-top-left,
41
- &.pf-m-top-right {
42
- .#{$tooltip}__arrow {
43
- bottom: 0;
44
- left: 50%;
45
- transform: translateX(var(--#{$tooltip}__arrow--m-top--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-top--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-top--Rotate));
46
- }
39
+ &:is(
40
+ .pf-m-top,
41
+ .pf-m-top-left,
42
+ .pf-m-top-right
43
+ ) {
44
+ --#{$tooltip}__arrow--Bottom: var(--#{$tooltip}--m-top--Bottom, 0);
45
+ --#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-top--Left, 50%);
46
+ --#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-top--TranslateX);
47
+ --#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-top--TranslateY);
48
+ --#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-top--Rotate);
47
49
  }
48
50
 
49
- &.pf-m-bottom,
50
- &.pf-m-bottom-left,
51
- &.pf-m-bottom-right {
52
- .#{$tooltip}__arrow {
53
- top: 0;
54
- left: 50%;
55
- transform: translateX(var(--#{$tooltip}__arrow--m-bottom--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-bottom--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-bottom--Rotate));
56
- }
51
+ &:is(
52
+ .pf-m-bottom,
53
+ .pf-m-bottom-left,
54
+ .pf-m-bottom-right
55
+ ) {
56
+ --#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-bottom--Top, 0);
57
+ --#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-bottom--Left, 50%);
58
+ --#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-bottom--TranslateX);
59
+ --#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-bottom--TranslateY);
60
+ --#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-bottom--Rotate);
57
61
  }
58
62
 
59
- &.pf-m-left,
60
- &.pf-m-left-top,
61
- &.pf-m-left-bottom {
62
- .#{$tooltip}__arrow {
63
- top: 50%;
64
- right: 0;
65
- transform: translateX(var(--#{$tooltip}__arrow--m-left--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-left--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-left--Rotate));
66
- }
63
+ &:is(
64
+ .pf-m-left,
65
+ .pf-m-left-top,
66
+ .pf-m-left-bottom
67
+ ) {
68
+ --#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-left--Top, 50%);
69
+ --#{$tooltip}__arrow--Right: var(--#{$tooltip}--m-left--Right, 0);
70
+ --#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-left--TranslateX);
71
+ --#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-left--TranslateY);
72
+ --#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-left--Rotate);
67
73
  }
68
74
 
69
- &.pf-m-right,
70
- &.pf-m-right-top,
71
- &.pf-m-right-bottom {
72
- .#{$tooltip}__arrow {
73
- top: 50%;
74
- left: 0;
75
- transform: translateX(var(--#{$tooltip}__arrow--m-right--TranslateX)) translateY(var(--#{$tooltip}__arrow--m-right--TranslateY)) rotate(var(--#{$tooltip}__arrow--m-right--Rotate));
76
- }
75
+ &:is(
76
+ .pf-m-right,
77
+ .pf-m-right-top,
78
+ .pf-m-right-bottom
79
+ ) {
80
+ --#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-right--Top, 50%);
81
+ --#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-right--Left, 0);
82
+ --#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-right--TranslateX);
83
+ --#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-right--TranslateY);
84
+ --#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-right--Rotate);
77
85
  }
78
86
 
79
- &.pf-m-left-top,
80
- &.pf-m-right-top {
81
- .#{$tooltip}__arrow {
82
- top: var(--#{$tooltip}__arrow--Height);
83
- }
87
+ &:is(
88
+ .pf-m-left-top,
89
+ .pf-m-right-top
90
+ ) {
91
+ --#{$tooltip}__arrow--Top: 0;
92
+ --#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-top--TranslateY);
84
93
  }
85
94
 
86
- &.pf-m-left-bottom,
87
- &.pf-m-right-bottom {
88
- .#{$tooltip}__arrow {
89
- top: auto;
90
- bottom: 0;
91
- }
95
+ &:is(
96
+ .pf-m-left-bottom,
97
+ .pf-m-right-bottom
98
+ ) {
99
+ --#{$tooltip}__arrow--Top: auto;
100
+ --#{$tooltip}__arrow--Bottom: 0;
92
101
  }
93
102
 
94
- &.pf-m-top-left,
95
- &.pf-m-bottom-left {
96
- .#{$tooltip}__arrow {
97
- left: var(--#{$tooltip}__arrow--Width);
98
- }
103
+ &:is(
104
+ .pf-m-top-left,
105
+ .pf-m-bottom-left
106
+ ) {
107
+ --#{$tooltip}__arrow--Left: 0;
108
+ --#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-left--TranslateX);
99
109
  }
100
110
 
101
- &.pf-m-top-right,
102
- &.pf-m-bottom-right {
103
- .#{$tooltip}__arrow {
104
- right: 0;
105
- left: auto;
106
- }
111
+ &:is(
112
+ .pf-m-top-right,
113
+ .pf-m-bottom-right
114
+ ) {
115
+ --#{$tooltip}__arrow--Right: 0;
116
+ --#{$tooltip}__arrow--Left: auto;
107
117
  }
108
118
  }
109
119
 
110
120
  .#{$tooltip}__content {
111
121
  position: relative;
112
- padding: var(--#{$tooltip}__content--PaddingTop) var(--#{$tooltip}__content--PaddingRight) var(--#{$tooltip}__content--PaddingBottom) var(--#{$tooltip}__content--PaddingLeft);
122
+ padding-block-start: var(--#{$tooltip}__content--PaddingTop);
123
+ padding-block-end: var(--#{$tooltip}__content--PaddingBottom);
124
+ padding-inline-start: var(--#{$tooltip}__content--PaddingLeft);
125
+ padding-inline-end: var(--#{$tooltip}__content--PaddingRight);
113
126
  font-size: var(--#{$tooltip}__content--FontSize);
114
127
  color: var(--#{$tooltip}__content--Color);
115
128
  text-align: center;
@@ -117,17 +130,24 @@
117
130
  background-color: var(--#{$tooltip}__content--BackgroundColor);
118
131
 
119
132
  &.pf-m-text-align-left {
120
- text-align: left;
133
+ text-align: start;
121
134
  }
122
135
  }
123
136
 
124
137
  .#{$tooltip}__arrow {
125
138
  position: absolute;
139
+ /* stylelint-disable liberty/use-logical-spec */
140
+ top: var(--#{$tooltip}__arrow--Top, auto);
141
+ right: var(--#{$tooltip}__arrow--Right, auto);
142
+ bottom: var(--#{$tooltip}__arrow--Bottom, auto);
143
+ left: var(--#{$tooltip}__arrow--Left, auto);
144
+ /* stylelint-enable */
126
145
  width: var(--#{$tooltip}__arrow--Width);
127
146
  height: var(--#{$tooltip}__arrow--Height);
128
147
  pointer-events: none;
129
148
  background-color: var(--#{$tooltip}__arrow--BackgroundColor);
130
149
  box-shadow: var(--#{$tooltip}__arrow--BoxShadow);
150
+ transform: translateX(var(--#{$tooltip}__arrow--TranslateX, 0)) translateY(var(--#{$tooltip}__arrow--TranslateY, 0)) rotate(var(--#{$tooltip}__arrow--Rotate, 0));
131
151
  }
132
152
 
133
153
  // stylelint-disable no-invalid-position-at-import-rule