@patternfly/patternfly 6.0.0-alpha.62 → 6.0.0-alpha.64

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 (49) hide show
  1. package/components/ActionList/action-list.css +18 -17
  2. package/components/ActionList/action-list.scss +26 -16
  3. package/components/Button/button.css +4 -9
  4. package/components/Button/button.scss +4 -9
  5. package/components/Drawer/drawer.css +113 -113
  6. package/components/Drawer/drawer.scss +135 -136
  7. package/components/Masthead/masthead.css +15 -29
  8. package/components/Masthead/masthead.scss +20 -36
  9. package/components/OverflowMenu/overflow-menu.css +17 -47
  10. package/components/OverflowMenu/overflow-menu.scss +27 -65
  11. package/components/Pagination/pagination.css +6 -3
  12. package/components/Pagination/pagination.scss +4 -3
  13. package/components/Toolbar/toolbar.css +2525 -1040
  14. package/components/Toolbar/toolbar.scss +232 -534
  15. package/docs/components/ActionList/examples/ActionList.md +73 -22
  16. package/docs/components/Drawer/examples/Drawer.md +294 -256
  17. package/docs/components/LogViewer/examples/LogViewer.md +50 -50
  18. package/docs/components/Toolbar/examples/Toolbar.css +20 -15
  19. package/docs/components/Toolbar/examples/Toolbar.md +374 -419
  20. package/docs/demos/AboutModal/examples/AboutModal.md +2 -2
  21. package/docs/demos/Alert/examples/Alert.md +6 -6
  22. package/docs/demos/BackToTop/examples/BackToTop.md +2 -2
  23. package/docs/demos/Banner/examples/Banner.md +4 -4
  24. package/docs/demos/CardView/examples/CardView.md +3 -3
  25. package/docs/demos/ContextSelector/examples/ContextSelector.md +7 -7
  26. package/docs/demos/Dashboard/examples/Dashboard.md +2 -2
  27. package/docs/demos/DataList/examples/DataList.md +11 -11
  28. package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -6
  29. package/docs/demos/Drawer/examples/Drawer.md +40 -36
  30. package/docs/demos/JumpLinks/examples/JumpLinks.md +42 -38
  31. package/docs/demos/Masthead/examples/Masthead.md +21 -21
  32. package/docs/demos/Modal/examples/Modal.md +12 -12
  33. package/docs/demos/Nav/examples/Nav.md +12 -12
  34. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -10
  35. package/docs/demos/Page/examples/Page.md +18 -18
  36. package/docs/demos/Page/examples/Penta.md +2 -2
  37. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +19 -19
  38. package/docs/demos/Skeleton/examples/Skeleton.md +2 -2
  39. package/docs/demos/Table/examples/Table.md +42 -45
  40. package/docs/demos/Tabs/examples/Tabs.md +13 -13
  41. package/docs/demos/Toolbar/examples/Toolbar.md +13 -13
  42. package/docs/demos/Wizard/examples/Wizard.md +18 -18
  43. package/package.json +1 -1
  44. package/patternfly-no-globals.css +2695 -1235
  45. package/patternfly-theme-dark-unversioned.css +2695 -1235
  46. package/patternfly.css +2695 -1235
  47. package/patternfly.min.css +1 -1
  48. package/patternfly.min.css.map +1 -1
  49. package/components/Drawer/themes/dark/drawer.scss +0 -13
@@ -1,27 +1,28 @@
1
- .pf-v5-c-action-list {
2
- --pf-v5-c-action-list--m-icon--spacer: 0;
3
- --pf-v5-c-action-list--child--spacer-base: var(--pf-v5-global--spacer--md);
4
- --pf-v5-c-action-list--group--spacer-base: var(--pf-v5-global--spacer--2xl);
1
+ :where(:root) {
2
+ --pf-v5-c-action-list--RowGap: var(--pf-t--global--spacer--sm);
3
+ --pf-v5-c-action-list--ColumnGap: var(--pf-t--global--spacer--2xl);
4
+ --pf-v5-c-action-list__group--ColumnGap: var(--pf-t--global--spacer--md);
5
+ --pf-v5-c-action-list--m-icons--ColumnGap: var(--pf-t--global--spacer--sm);
5
6
  }
6
7
 
7
8
  .pf-v5-c-action-list,
8
9
  .pf-v5-c-action-list__group {
9
- --pf-v5-c-action-list--child--spacer: var(--pf-v5-c-action-list--child--spacer-base);
10
- --pf-v5-c-action-list--group--spacer: var(--pf-v5-c-action-list--group--spacer-base);
11
10
  display: flex;
12
- align-items: center;
11
+ align-items: start;
12
+ }
13
+
14
+ .pf-v5-c-action-list {
15
+ row-gap: var(--pf-v5-c-action-list--RowGap);
16
+ column-gap: var(--pf-v5-c-action-list--ColumnGap);
13
17
  }
14
- .pf-v5-c-action-list > * + *,
15
- .pf-v5-c-action-list__group > * + * {
16
- margin-inline-start: var(--pf-v5-c-action-list--child--spacer);
18
+ .pf-v5-c-action-list.pf-m-icons {
19
+ column-gap: var(--pf-v5-c-action-list--m-icons--ColumnGap);
17
20
  }
18
- .pf-v5-c-action-list > * + .pf-v5-c-action-list__group,
19
- .pf-v5-c-action-list .pf-v5-c-action-list__group + *,
20
- .pf-v5-c-action-list__group > * + .pf-v5-c-action-list__group,
21
- .pf-v5-c-action-list__group .pf-v5-c-action-list__group + * {
22
- margin-inline-start: var(--pf-v5-c-action-list--group--spacer);
21
+
22
+ .pf-v5-c-action-list__group {
23
+ row-gap: var(--pf-v5-c-action-list__group--RowGap, var(--pf-v5-c-action-list--RowGap));
24
+ column-gap: var(--pf-v5-c-action-list__group--ColumnGap);
23
25
  }
24
- .pf-v5-c-action-list.pf-m-icons,
25
26
  .pf-v5-c-action-list__group.pf-m-icons {
26
- --pf-v5-c-action-list--child--spacer: var(--pf-v5-c-action-list--m-icon--spacer);
27
+ column-gap: var(--pf-v5-c-action-list--m-icons--ColumnGap);
27
28
  }
@@ -1,29 +1,39 @@
1
- // @debug $action-list; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
1
+ :where(:root) {
2
+ --#{$action-list}--RowGap: var(--pf-t--global--spacer--sm);
3
+ --#{$action-list}--ColumnGap: var(--pf-t--global--spacer--2xl);
2
4
 
3
- .#{$action-list} {
4
- --#{$action-list}--m-icon--spacer: 0;
5
- --#{$action-list}--child--spacer-base: var(--#{$pf-global}--spacer--md);
6
- --#{$action-list}--group--spacer-base: var(--#{$pf-global}--spacer--2xl);
5
+ // * Action list group
6
+ --#{$action-list}__group--ColumnGap: var(--pf-t--global--spacer--md);
7
+
8
+ // * Action list icons
9
+ --#{$action-list}--m-icons--ColumnGap: var(--pf-t--global--spacer--sm);
7
10
  }
8
11
 
12
+ // - Action list - Action list group
9
13
  .#{$action-list},
10
14
  .#{$action-list}__group {
11
- --#{$action-list}--child--spacer: var(--#{$action-list}--child--spacer-base);
12
- --#{$action-list}--group--spacer: var(--#{$action-list}--group--spacer-base);
13
-
14
15
  display: flex;
15
- align-items: center;
16
+ align-items: start;
17
+ }
16
18
 
17
- > * + * {
18
- margin-inline-start: var(--#{$action-list}--child--spacer);
19
- }
19
+ // - Action list
20
+ .#{$action-list} {
21
+ row-gap: var(--#{$action-list}--RowGap);
22
+ column-gap: var(--#{$action-list}--ColumnGap);
20
23
 
21
- > * + .#{$action-list}__group,
22
- .#{$action-list}__group + * {
23
- margin-inline-start: var(--#{$action-list}--group--spacer);
24
+ // - Action list icons
25
+ &.pf-m-icons {
26
+ column-gap: var(--#{$action-list}--m-icons--ColumnGap); // update prop: val to prevent potential inheritance conflicts
24
27
  }
28
+ }
29
+
30
+ // - Action list group
31
+ .#{$action-list}__group {
32
+ row-gap: var(--#{$action-list}__group--RowGap, var(--#{$action-list}--RowGap));
33
+ column-gap: var(--#{$action-list}__group--ColumnGap);
25
34
 
35
+ // - Action list group icons
26
36
  &.pf-m-icons {
27
- --#{$action-list}--child--spacer: var(--#{$action-list}--m-icon--spacer);
37
+ column-gap: var(--#{$action-list}--m-icons--ColumnGap); // update prop: val to prevent potential inheritance conflicts
28
38
  }
29
39
  }
@@ -14,10 +14,6 @@
14
14
  --pf-v5-c-button--BorderWidth: var(--pf-t--global--border--width--button--default);
15
15
  --pf-v5-c-button--BorderRadius: var(--pf-t--global--border--radius--pill);
16
16
  --pf-v5-c-button--TextDecoration: none;
17
- --pf-v5-c-button--BorderStartStartRadius: var(--pf-v5-c-button--BorderRadius);
18
- --pf-v5-c-button--BorderStartEndRadius: var(--pf-v5-c-button--BorderRadius);
19
- --pf-v5-c-button--BorderEndStartRadius: var(--pf-v5-c-button--BorderRadius);
20
- --pf-v5-c-button--BorderEndEndRadius: var(--pf-v5-c-button--BorderRadius);
21
17
  --pf-v5-c-button--MixBlendMode: normal;
22
18
  --pf-v5-c-button--hover--BackgroundColor: transparent;
23
19
  --pf-v5-c-button--hover--BorderColor: transparent;
@@ -247,11 +243,10 @@
247
243
  user-select: none;
248
244
  background-color: var(--pf-v5-c-button--BackgroundColor);
249
245
  border: 0;
250
- border-start-start-radius: var(--pf-v5-c-button--BorderStartStartRadius);
251
- border-start-end-radius: var(--pf-v5-c-button--BorderStartEndRadius);
252
- border-end-start-radius: var(--pf-v5-c-button--BorderEndStartRadius);
253
- border-end-end-radius: var(--pf-v5-c-button--BorderEndEndRadius);
254
- mix-blend-mode: var(--pf-v5-c-button--MixBlendMode);
246
+ border-start-start-radius: var(--pf-v5-c-button--BorderStartStartRadius, var(--pf-v5-c-button--BorderRadius));
247
+ border-start-end-radius: var(--pf-v5-c-button--BorderStartEndRadius, var(--pf-v5-c-button--BorderRadius));
248
+ border-end-start-radius: var(--pf-v5-c-button--BorderEndStartRadius, var(--pf-v5-c-button--BorderRadius));
249
+ border-end-end-radius: var(--pf-v5-c-button--BorderEndEndRadius, var(--pf-v5-c-button--BorderRadius));
255
250
  }
256
251
  .pf-v5-c-button::after {
257
252
  position: absolute;
@@ -14,10 +14,6 @@
14
14
  --#{$button}--BorderWidth: var(--pf-t--global--border--width--button--default);
15
15
  --#{$button}--BorderRadius: var(--pf-t--global--border--radius--pill);
16
16
  --#{$button}--TextDecoration: none;
17
- --#{$button}--BorderStartStartRadius: var(--#{$button}--BorderRadius);
18
- --#{$button}--BorderStartEndRadius: var(--#{$button}--BorderRadius);
19
- --#{$button}--BorderEndStartRadius: var(--#{$button}--BorderRadius);
20
- --#{$button}--BorderEndEndRadius: var(--#{$button}--BorderRadius);
21
17
  --#{$button}--MixBlendMode: normal;
22
18
 
23
19
  // Hover
@@ -289,11 +285,10 @@
289
285
  user-select: none;
290
286
  background-color: var(--#{$button}--BackgroundColor);
291
287
  border: 0;
292
- border-start-start-radius: var(--#{$button}--BorderStartStartRadius);
293
- border-start-end-radius: var(--#{$button}--BorderStartEndRadius);
294
- border-end-start-radius: var(--#{$button}--BorderEndStartRadius);
295
- border-end-end-radius: var(--#{$button}--BorderEndEndRadius);
296
- mix-blend-mode: var(--#{$button}--MixBlendMode);
288
+ border-start-start-radius: var(--#{$button}--BorderStartStartRadius, var(--#{$button}--BorderRadius));
289
+ border-start-end-radius: var(--#{$button}--BorderStartEndRadius, var(--#{$button}--BorderRadius));
290
+ border-end-start-radius: var(--#{$button}--BorderEndStartRadius, var(--#{$button}--BorderRadius));
291
+ border-end-end-radius: var(--#{$button}--BorderEndEndRadius, var(--#{$button}--BorderRadius));
297
292
 
298
293
  &::after {
299
294
  position: absolute;
@@ -1,16 +1,20 @@
1
- .pf-v5-c-drawer {
2
- --pf-v5-c-drawer__section--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
3
- --pf-v5-c-drawer__section--m-light-200--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
1
+ :where(:root),
2
+ :where(.pf-v5-c-drawer) {
3
+ --pf-v5-c-drawer__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
4
+ --pf-v5-c-drawer__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
4
5
  --pf-v5-c-drawer__content--FlexBasis: 100%;
5
- --pf-v5-c-drawer__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
6
- --pf-v5-c-drawer__content--m-light-200--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
7
- --pf-v5-c-drawer__content--ZIndex: var(--pf-v5-global--ZIndex--xs);
6
+ --pf-v5-c-drawer__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
7
+ --pf-v5-c-drawer__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
8
+ --pf-v5-c-drawer__content--ZIndex: var(--pf-t--global--Zindex--xs);
8
9
  --pf-v5-c-drawer__panel--MinWidth: 50%;
9
10
  --pf-v5-c-drawer__panel--MaxHeight: auto;
10
- --pf-v5-c-drawer__panel--ZIndex: var(--pf-v5-global--ZIndex--sm);
11
- --pf-v5-c-drawer__panel--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
12
- --pf-v5-c-drawer__panel--m-light-200--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
13
- --pf-v5-c-drawer__panel--TransitionDuration: var(--pf-v5-global--TransitionDuration);
11
+ --pf-v5-c-drawer__panel--ZIndex: var(--pf-t--global--Zindex--sm);
12
+ --pf-v5-c-drawer__panel--BackgroundColor: var(--pf-t--global--background--color--floating--default);
13
+ --pf-v5-c-drawer__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
14
+ --pf-v5-c-drawer__panel--RowGap: var(--pf-t--global--spacer--sm);
15
+ --pf-v5-c-drawer__panel--PaddingBlockStart: var(--pf-t--global--spacer--sm);
16
+ --pf-v5-c-drawer__panel--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
17
+ --pf-v5-c-drawer__panel--TransitionDuration: 250ms;
14
18
  --pf-v5-c-drawer__panel--TransitionProperty: margin, transform, box-shadow, flex-basis;
15
19
  --pf-v5-c-drawer__panel--FlexBasis: 100%;
16
20
  --pf-v5-c-drawer__panel--md--FlexBasis--min: 1.5rem;
@@ -27,46 +31,47 @@
27
31
  --pf-v5-c-drawer--m-panel-bottom__panel--m-resizable--FlexDirection: column;
28
32
  --pf-v5-c-drawer--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: 1.5rem;
29
33
  --pf-v5-c-drawer--m-panel-bottom__panel--m-resizable--MinHeight: 1.5rem;
30
- --pf-v5-c-drawer--child--PaddingTop: var(--pf-v5-global--spacer--md);
31
- --pf-v5-c-drawer--child--PaddingRight: var(--pf-v5-global--spacer--md);
32
- --pf-v5-c-drawer--child--PaddingBottom: var(--pf-v5-global--spacer--md);
33
- --pf-v5-c-drawer--child--PaddingLeft: var(--pf-v5-global--spacer--md);
34
- --pf-v5-c-drawer--child--md--PaddingTop: var(--pf-v5-global--spacer--lg);
35
- --pf-v5-c-drawer--child--md--PaddingRight: var(--pf-v5-global--spacer--lg);
36
- --pf-v5-c-drawer--child--md--PaddingBottom: var(--pf-v5-global--spacer--lg);
37
- --pf-v5-c-drawer--child--md--PaddingLeft: var(--pf-v5-global--spacer--lg);
38
- --pf-v5-c-drawer--child--m-padding--PaddingTop: var(--pf-v5-global--spacer--md);
39
- --pf-v5-c-drawer--child--m-padding--PaddingRight: var(--pf-v5-global--spacer--md);
40
- --pf-v5-c-drawer--child--m-padding--PaddingBottom: var(--pf-v5-global--spacer--md);
41
- --pf-v5-c-drawer--child--m-padding--PaddingLeft: var(--pf-v5-global--spacer--md);
42
- --pf-v5-c-drawer--child--m-padding--md--PaddingTop: var(--pf-v5-global--spacer--lg);
43
- --pf-v5-c-drawer--child--m-padding--md--PaddingRight: var(--pf-v5-global--spacer--lg);
44
- --pf-v5-c-drawer--child--m-padding--md--PaddingBottom: var(--pf-v5-global--spacer--lg);
45
- --pf-v5-c-drawer--child--m-padding--md--PaddingLeft: var(--pf-v5-global--spacer--lg);
46
- --pf-v5-c-drawer__content--child--PaddingTop: 0;
47
- --pf-v5-c-drawer__content--child--PaddingRight: 0;
48
- --pf-v5-c-drawer__content--child--PaddingBottom: 0;
49
- --pf-v5-c-drawer__content--child--PaddingLeft: 0;
34
+ --pf-v5-c-drawer__head--ColumnGap: var(--pf-t--global--spacer--sm);
35
+ --pf-v5-c-drawer__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
36
+ --pf-v5-c-drawer__head--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
37
+ --pf-v5-c-drawer__head--PaddingInlineStart: var(--pf-t--global--spacer--md);
38
+ --pf-v5-c-drawer__head--PaddingInlineEnd: var(--pf-t--global--spacer--md);
39
+ --pf-v5-c-drawer__description--PaddingInlineStart: var(--pf-t--global--spacer--md);
40
+ --pf-v5-c-drawer__description--PaddingInlineEnd: var(--pf-t--global--spacer--md);
41
+ --pf-v5-c-drawer__body--PaddingTop--base: var(--pf-t--global--spacer--md);
42
+ --pf-v5-c-drawer__body--PaddingRight--base: var(--pf-t--global--spacer--md);
43
+ --pf-v5-c-drawer__body--PaddingBottom--base: var(--pf-t--global--spacer--md);
44
+ --pf-v5-c-drawer__body--PaddingLeft--base: var(--pf-t--global--spacer--md);
45
+ --pf-v5-c-drawer__content__body--PaddingTop: 0;
46
+ --pf-v5-c-drawer__content__body--PaddingRight: 0;
47
+ --pf-v5-c-drawer__content__body--PaddingBottom: 0;
48
+ --pf-v5-c-drawer__content__body--PaddingLeft: 0;
49
+ --pf-v5-c-drawer__panel__body--PaddingTop: var(--pf-v5-c-drawer__body--PaddingTop--base);
50
+ --pf-v5-c-drawer__panel__body--PaddingRight: var(--pf-v5-c-drawer__body--PaddingRight--base);
51
+ --pf-v5-c-drawer__panel__body--PaddingBottom: var(--pf-v5-c-drawer__body--PaddingBottom--base);
52
+ --pf-v5-c-drawer__panel__body--PaddingLeft: var(--pf-v5-c-drawer__body--PaddingLeft--base);
53
+ --pf-v5-c-drawer__body--m-padding--PaddingTop: var(--pf-t--global--spacer--md);
54
+ --pf-v5-c-drawer__body--m-padding--PaddingRight: var(--pf-t--global--spacer--md);
55
+ --pf-v5-c-drawer__body--m-padding--PaddingBottom: var(--pf-t--global--spacer--md);
56
+ --pf-v5-c-drawer__body--m-padding--PaddingLeft: var(--pf-t--global--spacer--md);
50
57
  --pf-v5-c-drawer__splitter--Height: 0.5625rem;
51
58
  --pf-v5-c-drawer__splitter--Width: 100%;
52
- --pf-v5-c-drawer__splitter--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
59
+ --pf-v5-c-drawer__splitter--BackgroundColor: var(--pf-t--global--background--color--primary--default);
53
60
  --pf-v5-c-drawer__splitter--Cursor: row-resize;
54
61
  --pf-v5-c-drawer__splitter--m-vertical--Height: 100%;
55
62
  --pf-v5-c-drawer__splitter--m-vertical--Width: 0.5625rem;
56
63
  --pf-v5-c-drawer__splitter--m-vertical--Cursor: col-resize;
57
64
  --pf-v5-c-drawer--m-inline__splitter--focus--OutlineOffset: -0.0625rem;
58
- --pf-v5-c-drawer__splitter--after--BorderColor: var(--pf-v5-global--BorderColor--100);
59
- --pf-v5-c-drawer__splitter--after--border-width--base: var(--pf-v5-global--BorderWidth--sm);
65
+ --pf-v5-c-drawer__splitter--after--BorderColor: var(--pf-t--global--border--color--default);
66
+ --pf-v5-c-drawer__splitter--after--border-width--base: var(--pf-t--global--border--width--divider--default);
60
67
  --pf-v5-c-drawer__splitter--after--BorderTopWidth: 0;
61
68
  --pf-v5-c-drawer__splitter--after--BorderRightWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
62
69
  --pf-v5-c-drawer__splitter--after--BorderBottomWidth: 0;
63
- --pf-v5-c-drawer__splitter--after--BorderLeftWidth: 0;
64
- --pf-v5-c-drawer--m-panel-left__splitter--after--BorderLeftWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
70
+ --pf-v5-c-drawer__splitter--after--BorderLeftWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
71
+ --pf-v5-c-drawer--m-panel-bottom__splitter--after--BorderTopWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
65
72
  --pf-v5-c-drawer--m-panel-bottom__splitter--after--BorderBottomWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
66
73
  --pf-v5-c-drawer--m-inline__splitter--m-vertical--Width: 0.625rem;
67
74
  --pf-v5-c-drawer--m-inline__splitter-handle--Left: 50%;
68
- --pf-v5-c-drawer--m-inline__splitter--after--BorderRightWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
69
- --pf-v5-c-drawer--m-inline__splitter--after--BorderLeftWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
70
75
  --pf-v5-c-drawer--m-inline--m-panel-bottom__splitter--Height: 0.625rem;
71
76
  --pf-v5-c-drawer--m-inline--m-panel-bottom__splitter-handle--Top: 50%;
72
77
  --pf-v5-c-drawer--m-inline--m-panel-bottom__splitter--after--BorderTopWidth: var(--pf-v5-c-drawer__splitter--after--border-width--base);
@@ -74,62 +79,54 @@
74
79
  --pf-v5-c-drawer__splitter-handle--Left: calc(50% - var(--pf-v5-c-drawer__splitter--after--border-width--base));
75
80
  --pf-v5-c-drawer--m-panel-left__splitter-handle--Left: 50%;
76
81
  --pf-v5-c-drawer--m-panel-bottom__splitter-handle--Top: calc(50% - var(--pf-v5-c-drawer__splitter--after--border-width--base));
77
- --pf-v5-c-drawer__splitter-handle--after--BorderColor: var(--pf-v5-global--Color--200);
78
- --pf-v5-c-drawer__splitter-handle--after--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
82
+ --pf-v5-c-drawer__splitter-handle--after--BorderColor: var(--pf-t--global--border--color--default);
83
+ --pf-v5-c-drawer__splitter-handle--after--BorderTopWidth: var(--pf-t--global--border--width--divider--default);
79
84
  --pf-v5-c-drawer__splitter-handle--after--BorderRightWidth: 0;
80
- --pf-v5-c-drawer__splitter-handle--after--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
85
+ --pf-v5-c-drawer__splitter-handle--after--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
81
86
  --pf-v5-c-drawer__splitter-handle--after--BorderLeftWidth: 0;
82
- --pf-v5-c-drawer__splitter--hover__splitter-handle--after--BorderColor: var(--pf-v5-global--Color--100);
83
- --pf-v5-c-drawer__splitter--focus__splitter-handle--after--BorderColor: var(--pf-v5-global--Color--100);
87
+ --pf-v5-c-drawer__splitter--hover__splitter-handle--after--BorderColor: var(--pf-t--global--border--color--hover);
84
88
  --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderTopWidth: 0;
85
- --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderRightWidth: var(--pf-v5-global--BorderWidth--sm);
89
+ --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderRightWidth: var(--pf-t--global--border--width--divider--default);
86
90
  --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderBottomWidth: 0;
87
- --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderLeftWidth: var(--pf-v5-global--BorderWidth--sm);
91
+ --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderLeftWidth: var(--pf-t--global--border--width--divider--default);
88
92
  --pf-v5-c-drawer__splitter-handle--after--Width: 0.75rem;
89
93
  --pf-v5-c-drawer__splitter-handle--after--Height: 0.25rem;
90
94
  --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--Width: 0.25rem;
91
95
  --pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--Height: 0.75rem;
92
- --pf-v5-c-drawer__actions--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
93
- --pf-v5-c-drawer__actions--MarginRight: calc(var(--pf-v5-global--spacer--form-element) * -1);
96
+ --pf-v5-c-drawer__actions--MarginTop: calc(var(--pf-t--global--spacer--xs) * -1.5);
97
+ --pf-v5-c-drawer__actions--MarginRight: calc(var(--pf-t--global--spacer--xs) * -1.5);
94
98
  --pf-v5-c-drawer__panel--BoxShadow: none;
95
- --pf-v5-c-drawer--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-v5-global--BoxShadow--lg-top);
96
- --pf-v5-c-drawer--m-expanded__panel--BoxShadow: var(--pf-v5-global--BoxShadow--lg-left);
97
- --pf-v5-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-v5-global--BoxShadow--lg-right);
98
- --pf-v5-c-drawer__panel--after--Width: var(--pf-v5-global--BorderWidth--sm);
99
- --pf-v5-c-drawer--m-panel-bottom__panel--after--Height: var(--pf-v5-global--BorderWidth--sm);
99
+ --pf-v5-c-drawer--m-expanded--m-panel-bottom__panel--BoxShadow: var(--pf-t--global--box-shadow--lg--top);
100
+ --pf-v5-c-drawer__panel--after--Width: var(--pf-t--global--border--width--divider--default);
101
+ --pf-v5-c-drawer--m-panel-bottom__panel--after--Height: var(--pf-t--global--border--width--divider--default);
100
102
  --pf-v5-c-drawer__panel--after--BackgroundColor: transparent;
101
- --pf-v5-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-v5-global--BorderColor--100);
103
+ --pf-v5-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(--pf-t--global--border--color--default);
102
104
  --pf-v5-c-drawer--m-inline__panel--PaddingLeft: var(--pf-v5-c-drawer__panel--after--Width);
103
105
  --pf-v5-c-drawer--m-panel-left--m-inline__panel--PaddingRight: var(--pf-v5-c-drawer__panel--after--Width);
104
106
  --pf-v5-c-drawer--m-panel-bottom--m-inline__panel--PaddingTop: var(--pf-v5-c-drawer__panel--after--Width);
105
- display: flex;
106
- flex-direction: column;
107
- height: 100%;
108
- overflow-x: hidden;
109
- }
110
- @media screen and (min-width: 768px) {
111
- .pf-v5-c-drawer {
112
- --pf-v5-c-drawer--child--PaddingTop: var(--pf-v5-c-drawer--child--md--PaddingTop);
113
- --pf-v5-c-drawer--child--PaddingRight: var(--pf-v5-c-drawer--child--md--PaddingRight);
114
- --pf-v5-c-drawer--child--PaddingBottom: var(--pf-v5-c-drawer--child--md--PaddingBottom);
115
- --pf-v5-c-drawer--child--PaddingLeft: var(--pf-v5-c-drawer--child--md--PaddingLeft);
116
- --pf-v5-c-drawer--child--m-padding--PaddingTop: var(--pf-v5-c-drawer--child--m-padding--md--PaddingTop);
117
- --pf-v5-c-drawer--child--m-padding--PaddingRight: var(--pf-v5-c-drawer--child--m-padding--md--PaddingRight);
118
- --pf-v5-c-drawer--child--m-padding--PaddingBottom: var(--pf-v5-c-drawer--child--m-padding--md--PaddingBottom);
119
- --pf-v5-c-drawer--child--m-padding--PaddingLeft: var(--pf-v5-c-drawer--child--m-padding--md--PaddingLeft);
120
- }
121
107
  }
122
108
  @media screen and (min-width: 1200px) {
123
- .pf-v5-c-drawer {
109
+ :where(:root),
110
+ :where(.pf-v5-c-drawer) {
124
111
  --pf-v5-c-drawer__panel--MinWidth: var(--pf-v5-c-drawer__panel--xl--MinWidth);
125
112
  }
126
- .pf-v5-c-drawer.pf-m-panel-bottom {
113
+ :where(:root).pf-m-panel-bottom,
114
+ :where(.pf-v5-c-drawer).pf-m-panel-bottom {
127
115
  --pf-v5-c-drawer__panel--MinWidth: auto;
128
116
  --pf-v5-c-drawer__panel--MinHeight: var(--pf-v5-c-drawer--m-panel-bottom__panel--xl--MinHeight);
129
117
  }
130
118
  }
119
+
120
+ .pf-v5-c-drawer {
121
+ --pf-v5-c-drawer--m-expanded__panel--BoxShadow: var(--pf-t--global--box-shadow--lg--left);
122
+ --pf-v5-c-drawer--m-expanded--m-panel-left__panel--BoxShadow: var(--pf-v5-global--BoxShadow--lg-right);
123
+ display: flex;
124
+ flex-direction: column;
125
+ height: 100%;
126
+ overflow-x: hidden;
127
+ }
131
128
  :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-drawer {
132
- --pf-v5-c-drawer--m-expanded__panel--BoxShadow: var(--pf-v5-global--BoxShadow--lg-right);
129
+ --pf-v5-c-drawer--m-expanded__panel--BoxShadow: var(--pf-t--global--box-shadow--lg--right);
133
130
  }
134
131
 
135
132
  :where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-drawer {
@@ -179,12 +176,12 @@
179
176
  flex-grow: 0;
180
177
  background-color: var(--pf-v5-c-drawer__section--BackgroundColor);
181
178
  }
179
+ .pf-v5-c-drawer__section.pf-m-secondary {
180
+ --pf-v5-c-drawer__section--BackgroundColor: var(--pf-v5-c-drawer__section--m-secondary--BackgroundColor);
181
+ }
182
182
  .pf-v5-c-drawer__section.pf-m-no-background {
183
183
  --pf-v5-c-drawer__section--BackgroundColor: transparent;
184
184
  }
185
- .pf-v5-c-drawer__section.pf-m-light-200 {
186
- --pf-v5-c-drawer__section--BackgroundColor: var(--pf-v5-c-drawer__section--m-light-200--BackgroundColor);
187
- }
188
185
 
189
186
  .pf-v5-c-drawer__main {
190
187
  display: flex;
@@ -205,24 +202,26 @@
205
202
  z-index: var(--pf-v5-c-drawer__content--ZIndex);
206
203
  flex-basis: var(--pf-v5-c-drawer__content--FlexBasis);
207
204
  order: 0;
205
+ background-color: var(--pf-v5-c-drawer__content--BackgroundColor);
206
+ }
207
+ .pf-v5-c-drawer__content.pf-m-secondary {
208
+ --pf-v5-c-drawer__content--BackgroundColor: var(--pf-v5-c-drawer__content--m-secondary--BackgroundColor);
208
209
  }
209
210
  .pf-v5-c-drawer__content.pf-m-no-background {
210
211
  --pf-v5-c-drawer__content--BackgroundColor: transparent;
211
212
  }
212
- .pf-v5-c-drawer__content.pf-m-light-200 {
213
- --pf-v5-c-drawer__content--BackgroundColor: var(--pf-v5-c-drawer__content--m-light-200--BackgroundColor);
214
- }
215
213
  .pf-v5-c-drawer__content > .pf-v5-c-drawer__body {
216
- padding-block-start: var(--pf-v5-c-drawer__content--child--PaddingTop);
217
- padding-block-end: var(--pf-v5-c-drawer__content--child--PaddingBottom);
218
- padding-inline-start: var(--pf-v5-c-drawer__content--child--PaddingLeft);
219
- padding-inline-end: var(--pf-v5-c-drawer__content--child--PaddingRight);
214
+ padding-block-start: var(--pf-v5-c-drawer__content__body--PaddingTop);
215
+ padding-block-end: var(--pf-v5-c-drawer__content__body--PaddingBottom);
216
+ padding-inline-start: var(--pf-v5-c-drawer__content__body--PaddingLeft);
217
+ padding-inline-end: var(--pf-v5-c-drawer__content__body--PaddingRight);
220
218
  }
221
219
 
222
220
  .pf-v5-c-drawer__panel {
223
221
  position: relative;
224
222
  z-index: var(--pf-v5-c-drawer__panel--ZIndex);
225
223
  flex-basis: var(--pf-v5-c-drawer__panel--FlexBasis);
224
+ row-gap: var(--pf-v5-c-drawer__panel--RowGap);
226
225
  order: 1;
227
226
  max-height: var(--pf-v5-c-drawer__panel--MaxHeight);
228
227
  overflow: auto;
@@ -241,12 +240,16 @@
241
240
  content: "";
242
241
  background-color: var(--pf-v5-c-drawer__panel--after--BackgroundColor);
243
242
  }
243
+ .pf-v5-c-drawer__panel:not(.pf-m-resizable) {
244
+ padding-block-start: var(--pf-v5-c-drawer__panel--PaddingBlockStart);
245
+ padding-block-end: var(--pf-v5-c-drawer__panel--PaddingBlockEnd);
246
+ }
247
+ .pf-v5-c-drawer__panel.pf-m-secondary {
248
+ --pf-v5-c-drawer__panel--BackgroundColor: var(--pf-v5-c-drawer__panel--m-secondary--BackgroundColor);
249
+ }
244
250
  .pf-v5-c-drawer__panel.pf-m-no-background {
245
251
  --pf-v5-c-drawer__panel--BackgroundColor: transparent;
246
252
  }
247
- .pf-v5-c-drawer__panel.pf-m-light-200 {
248
- --pf-v5-c-drawer__panel--BackgroundColor: var(--pf-v5-c-drawer__panel--m-light-200--BackgroundColor);
249
- }
250
253
  @media screen and (min-width: 768px) {
251
254
  .pf-v5-c-drawer__panel {
252
255
  --pf-v5-c-drawer__panel--FlexBasis:
@@ -265,8 +268,18 @@
265
268
  }
266
269
  }
267
270
 
271
+ .pf-v5-c-drawer__panel > .pf-v5-c-drawer__body,
272
+ .pf-v5-c-drawer__panel-main > .pf-v5-c-drawer__body {
273
+ padding-block-start: var(--pf-v5-c-drawer__panel__body--PaddingTop);
274
+ padding-block-end: var(--pf-v5-c-drawer__panel__body--PaddingBottom);
275
+ padding-inline-start: var(--pf-v5-c-drawer__panel__body--PaddingLeft);
276
+ padding-inline-end: var(--pf-v5-c-drawer__panel__body--PaddingRight);
277
+ }
278
+
268
279
  .pf-v5-c-drawer__panel-main {
269
280
  flex-grow: 1;
281
+ padding-block-start: var(--pf-v5-c-drawer__panel--PaddingBlockStart);
282
+ padding-block-end: var(--pf-v5-c-drawer__panel--PaddingBlockEnd);
270
283
  }
271
284
 
272
285
  @keyframes pf-remove-tab-focus {
@@ -284,6 +297,11 @@
284
297
  display: grid;
285
298
  grid-template-columns: auto;
286
299
  grid-auto-columns: max-content;
300
+ column-gap: var(--pf-v5-c-drawer__head--ColumnGap);
301
+ padding-block-start: var(--pf-v5-c-drawer__head--PaddingBlockStart);
302
+ padding-block-end: var(--pf-v5-c-drawer__head--PaddingBlockEnd);
303
+ padding-inline-start: var(--pf-v5-c-drawer__head--PaddingInlineStart);
304
+ padding-inline-end: var(--pf-v5-c-drawer__head--PaddingInlineEnd);
287
305
  }
288
306
  .pf-v5-c-drawer__head > * {
289
307
  grid-column: 1;
@@ -298,25 +316,19 @@
298
316
  margin-inline-end: var(--pf-v5-c-drawer__actions--MarginRight);
299
317
  }
300
318
 
301
- .pf-v5-c-drawer__body {
302
- padding-block-start: var(--pf-v5-c-drawer--child--PaddingTop);
303
- padding-block-end: var(--pf-v5-c-drawer--child--PaddingBottom);
304
- padding-inline-start: var(--pf-v5-c-drawer--child--PaddingLeft);
305
- padding-inline-end: var(--pf-v5-c-drawer--child--PaddingRight);
319
+ .pf-v5-c-drawer__description {
320
+ padding-inline-start: var(--pf-v5-c-drawer__description--PaddingInlineStart);
321
+ padding-inline-end: var(--pf-v5-c-drawer__description--PaddingInlineEnd);
306
322
  }
323
+
307
324
  .pf-v5-c-drawer__body.pf-m-no-padding {
308
325
  padding: 0;
309
326
  }
310
- .pf-v5-c-drawer__body.pf-m-no-padding > .pf-v5-c-drawer__actions,
311
- .pf-v5-c-drawer__body.pf-m-no-padding > .pf-v5-c-drawer__head > .pf-v5-c-drawer__actions {
312
- margin-block-start: 0;
313
- margin-inline-end: 0;
314
- }
315
327
  .pf-v5-c-drawer__body.pf-m-padding {
316
- padding-block-start: var(--pf-v5-c-drawer--child--m-padding--PaddingTop);
317
- padding-block-end: var(--pf-v5-c-drawer--child--m-padding--PaddingBottom);
318
- padding-inline-start: var(--pf-v5-c-drawer--child--m-padding--PaddingLeft);
319
- padding-inline-end: var(--pf-v5-c-drawer--child--m-padding--PaddingRight);
328
+ padding-block-start: var(--pf-v5-c-drawer__body--m-padding--PaddingTop);
329
+ padding-block-end: var(--pf-v5-c-drawer__body--m-padding--PaddingBottom);
330
+ padding-inline-start: var(--pf-v5-c-drawer__body--m-padding--PaddingLeft);
331
+ padding-inline-end: var(--pf-v5-c-drawer__body--m-padding--PaddingRight);
320
332
  }
321
333
  .pf-v5-c-drawer__body:not(.pf-m-no-padding) + * {
322
334
  padding-block-start: 0;
@@ -348,12 +360,9 @@
348
360
  --pf-v5-c-drawer__splitter-handle--after--BorderBottomWidth: var(--pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderBottomWidth);
349
361
  --pf-v5-c-drawer__splitter-handle--after--BorderLeftWidth: var(--pf-v5-c-drawer__splitter--m-vertical__splitter-handle--after--BorderLeftWidth);
350
362
  }
351
- .pf-v5-c-drawer__splitter:hover {
363
+ .pf-v5-c-drawer__splitter:hover, .pf-v5-c-drawer__splitter:focus {
352
364
  --pf-v5-c-drawer__splitter-handle--after--BorderColor: var(--pf-v5-c-drawer__splitter--hover__splitter-handle--after--BorderColor);
353
365
  }
354
- .pf-v5-c-drawer__splitter:focus {
355
- --pf-v5-c-drawer__splitter-handle--after--BorderColor: var(--pf-v5-c-drawer__splitter--focus__splitter-handle--after--BorderColor);
356
- }
357
366
  .pf-v5-c-drawer__splitter::after {
358
367
  position: absolute;
359
368
  inset-block-start: 0;
@@ -429,8 +438,6 @@
429
438
  }
430
439
  .pf-v5-c-drawer.pf-m-panel-left > .pf-v5-c-drawer__main > .pf-v5-c-drawer__panel.pf-m-resizable > .pf-v5-c-drawer__splitter {
431
440
  --pf-v5-c-drawer__splitter-handle--Left: var(--pf-v5-c-drawer--m-panel-left__splitter-handle--Left);
432
- --pf-v5-c-drawer__splitter--after--BorderRightWidth: 0;
433
- --pf-v5-c-drawer__splitter--after--BorderLeftWidth: var(--pf-v5-c-drawer--m-panel-left__splitter--after--BorderLeftWidth);
434
441
  order: 1;
435
442
  }
436
443
  .pf-v5-c-drawer.pf-m-panel-bottom {
@@ -458,14 +465,14 @@
458
465
  }
459
466
  .pf-v5-c-drawer.pf-m-panel-bottom > .pf-v5-c-drawer__main > .pf-v5-c-drawer__panel.pf-m-resizable > .pf-v5-c-drawer__splitter {
460
467
  --pf-v5-c-drawer__splitter-handle--Top: var(--pf-v5-c-drawer--m-panel-bottom__splitter-handle--Top);
468
+ --pf-v5-c-drawer__splitter--after--BorderTopWidth: var(--pf-v5-c-drawer--m-panel-bottom__splitter--after--BorderTopWidth);
461
469
  --pf-v5-c-drawer__splitter--after--BorderRightWidth: 0;
462
470
  --pf-v5-c-drawer__splitter--after--BorderBottomWidth: var(--pf-v5-c-drawer--m-panel-bottom__splitter--after--BorderBottomWidth);
471
+ --pf-v5-c-drawer__splitter--after--BorderLeftWidth: 0;
463
472
  }
464
473
  .pf-v5-c-drawer.pf-m-inline > .pf-v5-c-drawer__main > .pf-v5-c-drawer__panel.pf-m-resizable > .pf-v5-c-drawer__splitter {
465
474
  --pf-v5-c-drawer__splitter--m-vertical--Width: var(--pf-v5-c-drawer--m-inline__splitter--m-vertical--Width);
466
475
  --pf-v5-c-drawer__splitter-handle--Left: var(--pf-v5-c-drawer--m-inline__splitter-handle--Left);
467
- --pf-v5-c-drawer__splitter--after--BorderRightWidth: var(--pf-v5-c-drawer--m-inline__splitter--after--BorderRightWidth);
468
- --pf-v5-c-drawer__splitter--after--BorderLeftWidth: var(--pf-v5-c-drawer--m-inline__splitter--after--BorderLeftWidth);
469
476
  outline-offset: var(--pf-v5-c-drawer--m-inline__splitter--focus--OutlineOffset);
470
477
  }
471
478
  .pf-v5-c-drawer.pf-m-inline.pf-m-panel-bottom > .pf-v5-c-drawer__main > .pf-v5-c-drawer__panel.pf-m-resizable > .pf-v5-c-drawer__splitter {
@@ -830,11 +837,4 @@
830
837
  .pf-v5-c-drawer.pf-m-static-on-2xl > .pf-v5-c-drawer__main > .pf-v5-c-drawer__panel > .pf-v5-c-drawer__body > .pf-v5-c-drawer__head .pf-v5-c-drawer__close {
831
838
  display: none;
832
839
  }
833
- }
834
- :where(.pf-v5-theme-dark) .pf-v5-c-drawer {
835
- --pf-v5-c-drawer__panel--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
836
- --pf-v5-c-drawer__splitter--BackgroundColor: transparent;
837
- }
838
- :where(.pf-v5-theme-dark) .pf-v5-c-drawer.pf-m-inline, :where(.pf-v5-theme-dark) .pf-v5-c-drawer.pf-m-static {
839
- --pf-v5-c-drawer__panel--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
840
840
  }