@patternfly/patternfly 6.5.0-prerelease.66 → 6.5.0-prerelease.68

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 (58) hide show
  1. package/components/Accordion/accordion.css +1 -2
  2. package/components/Accordion/accordion.scss +2 -2
  3. package/components/Card/card.css +8 -0
  4. package/components/Card/card.scss +13 -0
  5. package/components/DataList/data-list.css +1 -1
  6. package/components/DataList/data-list.scss +2 -2
  7. package/components/Drawer/drawer.css +3 -5
  8. package/components/Drawer/drawer.scss +7 -9
  9. package/components/OverflowMenu/overflow-menu.css +16 -0
  10. package/components/OverflowMenu/overflow-menu.scss +20 -1
  11. package/components/Page/page.css +11 -11
  12. package/components/Page/page.scss +2 -2
  13. package/components/Table/table.css +1 -2
  14. package/components/Table/table.scss +2 -2
  15. package/components/Toolbar/toolbar.css +100 -0
  16. package/components/Toolbar/toolbar.scss +2 -2
  17. package/components/Wizard/wizard.css +2 -2
  18. package/components/Wizard/wizard.scss +4 -4
  19. package/components/_index.css +143 -23
  20. package/docs/components/ActionList/examples/ActionList.md +2 -2
  21. package/docs/components/Alert/examples/Alert.md +4 -4
  22. package/docs/components/Button/examples/Button.md +1 -1
  23. package/docs/components/Icon/examples/Icon.md +13 -1
  24. package/docs/components/Menu/examples/Menu.md +26 -2
  25. package/docs/components/MenuToggle/examples/MenuToggle.md +172 -64
  26. package/docs/components/OverflowMenu/examples/overflow-menu.css +6 -3
  27. package/docs/components/OverflowMenu/examples/overflow-menu.md +21 -0
  28. package/docs/components/Toolbar/examples/Toolbar.md +106 -7
  29. package/docs/components/TreeView/examples/TreeView.md +4 -4
  30. package/docs/components/Wizard/examples/Wizard.md +1 -1
  31. package/docs/demos/AboutModal/examples/AboutModal.md +23 -15
  32. package/docs/demos/Alert/examples/Alert.md +69 -45
  33. package/docs/demos/BackToTop/examples/BackToTop.md +23 -15
  34. package/docs/demos/Banner/examples/Banner.md +46 -30
  35. package/docs/demos/CardView/examples/CardView.md +36 -16
  36. package/docs/demos/Compass/examples/Compass.md +76 -19
  37. package/docs/demos/Dashboard/examples/Dashboard.md +23 -15
  38. package/docs/demos/DataList/examples/DataList.md +157 -65
  39. package/docs/demos/DescriptionList/examples/DescriptionList.md +69 -45
  40. package/docs/demos/Drawer/examples/Drawer.md +115 -75
  41. package/docs/demos/JumpLinks/examples/JumpLinks.md +138 -90
  42. package/docs/demos/Masthead/examples/Masthead.md +101 -21
  43. package/docs/demos/Modal/examples/Modal.md +138 -90
  44. package/docs/demos/Nav/examples/Nav.md +188 -120
  45. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +115 -75
  46. package/docs/demos/Page/examples/Page.md +361 -213
  47. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +265 -113
  48. package/docs/demos/Skeleton/examples/Skeleton.md +23 -15
  49. package/docs/demos/Table/examples/Table.md +711 -271
  50. package/docs/demos/Tabs/examples/Tabs.md +151 -91
  51. package/docs/demos/Toolbar/examples/Toolbar.md +124 -36
  52. package/docs/demos/Wizard/examples/Wizard.md +207 -135
  53. package/package.json +1 -1
  54. package/patternfly-no-globals.css +143 -23
  55. package/patternfly.css +143 -23
  56. package/patternfly.min.css +1 -1
  57. package/patternfly.min.css.map +1 -1
  58. package/sass-utilities/mixins.scss +16 -1
@@ -104,13 +104,12 @@
104
104
  row-gap: var(--pf-v6-c-accordion--RowGap);
105
105
  background-color: var(--pf-v6-c-accordion--BackgroundColor);
106
106
  }
107
- :where(.pf-v6-theme-glass) .pf-v6-c-accordion:not(.pf-m-no-plain-on-glass), .pf-v6-c-accordion.pf-m-plain {
107
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-accordion.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-accordion:not(.pf-m-no-plain-on-glass) {
108
108
  --pf-v6-c-accordion--BackgroundColor: transparent;
109
109
  --pf-v6-c-accordion__expandable-content--BackgroundColor: transparent;
110
110
  --pf-v6-c-accordion__item--m-expanded--BackgroundColor: transparent;
111
111
  --pf-v6-c-accordion__item--m-expanded__toggle--BackgroundColor: var(--pf-v6-c-accordion--m-plain__item--m-expanded__toggle--BackgroundColor);
112
112
  }
113
-
114
113
  .pf-v6-c-accordion.pf-m-toggle-start {
115
114
  --pf-v6-c-accordion__toggle--ColumnGap: var(--pf-v6-c-accordion--m-toggle-start__toggle--ColumnGap);
116
115
  }
@@ -129,8 +129,8 @@
129
129
  row-gap: var(--#{$accordion}--RowGap);
130
130
  background-color: var(--#{$accordion}--BackgroundColor);
131
131
 
132
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
133
- &.pf-m-plain {
132
+ :where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
133
+ :where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
134
134
  --#{$accordion}--BackgroundColor: transparent;
135
135
  --#{$accordion}__expandable-content--BackgroundColor: transparent;
136
136
  --#{$accordion}__item--m-expanded--BackgroundColor: transparent;
@@ -188,6 +188,14 @@
188
188
  --pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-plain--BackgroundColor);
189
189
  --pf-v6-c-card--BoxShadow: var(--pf-v6-c-card--m-plain--BoxShadow);
190
190
  }
191
+ .pf-v6-c-card.pf-m-plain.pf-m-selectable, .pf-v6-c-card.pf-m-plain.pf-m-clickable {
192
+ --pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-selectable--BorderColor);
193
+ --pf-v6-c-card--BorderWidth: var(--pf-v6-c-card--m-selectable--BorderWidth);
194
+ }
195
+ .pf-v6-c-card.pf-m-plain.pf-m-selectable.pf-m-current, .pf-v6-c-card.pf-m-plain.pf-m-clickable.pf-m-current {
196
+ --pf-v6-c-card--BorderColor: var(--pf-v6-c-card--m-selectable--m-clickable--m-current--BorderColor);
197
+ --pf-v6-c-card--BorderWidth: var(--pf-v6-c-card--m-selectable--m-clickable--m-current--BorderWidth);
198
+ }
191
199
  .pf-v6-c-card.pf-m-expanded .pf-v6-c-card__header-toggle-icon {
192
200
  transform: rotate(var(--pf-v6-c-card--m-expanded__header-toggle-icon--Rotate));
193
201
  }
@@ -266,6 +266,19 @@
266
266
  --#{$card}--BorderColor: var(--#{$card}--m-plain--BorderColor);
267
267
  --#{$card}--BackgroundColor: var(--#{$card}--m-plain--BackgroundColor);
268
268
  --#{$card}--BoxShadow: var(--#{$card}--m-plain--BoxShadow);
269
+
270
+ // A clickable/selectable plain card should behave like a non-plain card in every way except the background color
271
+ &.pf-m-selectable,
272
+ &.pf-m-clickable {
273
+ --#{$card}--BorderColor: var(--#{$card}--m-selectable--BorderColor);
274
+ --#{$card}--BorderWidth: var(--#{$card}--m-selectable--BorderWidth);
275
+
276
+ &.pf-m-current {
277
+ --#{$card}--BorderColor: var(--#{$card}--m-selectable--m-clickable--m-current--BorderColor);
278
+ --#{$card}--BorderWidth: var(--#{$card}--m-selectable--m-clickable--m-current--BorderWidth);
279
+ }
280
+ }
281
+
269
282
  }
270
283
 
271
284
  &.pf-m-expanded {
@@ -572,7 +572,7 @@
572
572
  .pf-v6-c-data-list.pf-m-drag-over {
573
573
  overflow-anchor: none;
574
574
  }
575
- :where(.pf-v6-theme-glass) .pf-v6-c-data-list:not(.pf-m-no-plain-on-glass), .pf-v6-c-data-list.pf-m-plain {
575
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-data-list.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-data-list:not(.pf-m-no-plain-on-glass) {
576
576
  --pf-v6-c-data-list__item--BackgroundColor: var(--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor);
577
577
  }
578
578
 
@@ -191,8 +191,8 @@
191
191
  overflow-anchor: none;
192
192
  }
193
193
 
194
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
195
- &.pf-m-plain {
194
+ :where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
195
+ :where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
196
196
  --#{$data-list}__item--BackgroundColor: var(--#{$data-list}--pf-m-plain__item--BackgroundColor);
197
197
  }
198
198
  }
@@ -226,11 +226,9 @@
226
226
  .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {
227
227
  padding-inline-start: var(--pf-v6-c-drawer--m-inline__panel--PaddingInlineStart);
228
228
  }
229
- .pf-v6-c-drawer.pf-m-inline.pf-m-glass, .pf-v6-c-drawer.pf-m-static.pf-m-glass {
229
+ .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-glass, .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-glass {
230
230
  --pf-v6-c-drawer__panel--BackgroundColor: var(--pf-v6-c-drawer__panel--m-glass--BackgroundColor);
231
231
  --pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer__panel--m-glass--BorderColor);
232
- }
233
- .pf-v6-c-drawer.pf-m-inline.pf-m-glass > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel, .pf-v6-c-drawer.pf-m-static.pf-m-glass > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
234
232
  backdrop-filter: var(--pf-v6-c-drawer__panel--m-glass--BackdropFilter);
235
233
  }
236
234
  .pf-v6-c-drawer.pf-m-panel-left > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
@@ -563,8 +561,8 @@
563
561
  --pf-v6-c-drawer--m-inline__panel--after--Width: var(--pf-v6-c-drawer--m-inline__panel--after--md--Width);
564
562
  min-width: var(--pf-v6-c-drawer__panel--MinWidth);
565
563
  }
566
- :where(.pf-v6-theme-glass) .pf-v6-c-drawer.pf-m-inline:not(.pf-m-no-plain-on-glass) > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel, .pf-v6-c-drawer.pf-m-inline.pf-m-plain > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel, :where(.pf-v6-theme-glass) .pf-v6-c-drawer.pf-m-static:not(.pf-m-no-plain-on-glass) > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel, .pf-v6-c-drawer.pf-m-static.pf-m-plain > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
567
- background: transparent;
564
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-plain-on-glass), :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-plain-on-glass) {
565
+ --pf-v6-c-drawer__panel--BackgroundColor: transparent;
568
566
  }
569
567
  .pf-v6-c-drawer > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
570
568
  box-shadow: var(--pf-v6-c-drawer--m-expanded__panel--BoxShadow);
@@ -261,13 +261,11 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
261
261
  padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingInlineStart);
262
262
  }
263
263
 
264
- &.pf-m-glass {
264
+ > .#{$drawer}__main > .#{$drawer}__panel.pf-m-glass {
265
265
  --#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-glass--BackgroundColor);
266
266
  --#{$drawer}__panel--BorderColor: var(--#{$drawer}__panel--m-glass--BorderColor);
267
-
268
- > .#{$drawer}__main > .#{$drawer}__panel {
269
- backdrop-filter: var(--#{$drawer}__panel--m-glass--BackdropFilter);
270
- }
267
+
268
+ backdrop-filter: var(--#{$drawer}__panel--m-glass--BackdropFilter);
271
269
  }
272
270
  }
273
271
 
@@ -659,10 +657,10 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
659
657
 
660
658
  &.pf-m-inline,
661
659
  &.pf-m-static {
662
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
663
- &.pf-m-plain {
664
- > .#{$drawer}__main > .#{$drawer}__panel {
665
- background: transparent;
660
+ > .#{$drawer}__main > .#{$drawer}__panel {
661
+ @at-root :where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
662
+ :where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
663
+ --#{$drawer}__panel--BackgroundColor: transparent;
666
664
  }
667
665
  }
668
666
  }
@@ -1,15 +1,26 @@
1
1
  .pf-v6-c-overflow-menu {
2
2
  --pf-v6-c-overflow-menu--ColumnGap: var(--pf-t--global--spacer--md);
3
+ --pf-v6-c-overflow-menu--RowGap: var(--pf-t--global--spacer--md);
3
4
  --pf-v6-c-overflow-menu__group--ColumnGap: var(--pf-t--global--spacer--md);
5
+ --pf-v6-c-overflow-menu__group--RowGap: var(--pf-t--global--spacer--md);
4
6
  --pf-v6-c-overflow-menu__group--m-button-group--ColumnGap: var(--pf-t--global--spacer--sm);
7
+ --pf-v6-c-overflow-menu__group--m-button-group--RowGap: var(--pf-t--global--spacer--sm);
5
8
  --pf-v6-c-overflow-menu__group--m-icon-button-group--ColumnGap: var(--pf-t--global--spacer--xs);
9
+ --pf-v6-c-overflow-menu__group--m-icon-button-group--RowGap: var(--pf-t--global--spacer--xs);
6
10
  }
7
11
 
8
12
  .pf-v6-c-overflow-menu {
9
13
  display: inline-flex;
14
+ row-gap: var(--pf-v6-c-overflow-menu--RowGap);
10
15
  column-gap: var(--pf-v6-c-overflow-menu--ColumnGap);
11
16
  }
12
17
 
18
+ .pf-v6-c-overflow-menu.pf-m-vertical,
19
+ .pf-v6-c-overflow-menu.pf-m-vertical .pf-v6-c-overflow-menu__content,
20
+ .pf-v6-c-overflow-menu.pf-m-vertical .pf-v6-c-overflow-menu__group {
21
+ flex-direction: column;
22
+ }
23
+
13
24
  .pf-v6-c-overflow-menu__content,
14
25
  .pf-v6-c-overflow-menu__group {
15
26
  display: flex;
@@ -17,20 +28,25 @@
17
28
  }
18
29
 
19
30
  .pf-v6-c-overflow-menu__group {
31
+ row-gap: var(--pf-v6-c-overflow-menu__group--RowGap);
20
32
  column-gap: var(--pf-v6-c-overflow-menu__group--ColumnGap);
21
33
  }
22
34
  .pf-v6-c-overflow-menu__group.pf-m-button-group {
35
+ row-gap: var(--pf-v6-c-overflow-menu__group--m-button-group--RowGap);
23
36
  column-gap: var(--pf-v6-c-overflow-menu__group--m-button-group--ColumnGap);
24
37
  }
25
38
  .pf-v6-c-overflow-menu__group.pf-m-icon-button-group {
39
+ row-gap: var(--pf-v6-c-overflow-menu__group--m-icon-button-group--RowGap);
26
40
  column-gap: var(--pf-v6-c-overflow-menu__group--m-icon-button-group--ColumnGap);
27
41
  }
28
42
 
29
43
  .pf-v6-c-overflow-menu__item {
44
+ row-gap: var(--pf-v6-c-overflow-menu__item--RowGap, var(--pf-v6-c-overflow-menu--RowGap));
30
45
  column-gap: var(--pf-v6-c-overflow-menu__item--ColumnGap, var(--pf-v6-c-overflow-menu--ColumnGap));
31
46
  }
32
47
 
33
48
  .pf-v6-c-overflow-menu__content,
34
49
  .pf-v6-c-overflow-menu__control {
50
+ row-gap: var(--pf-v6-c-overflow-menu--RowGap);
35
51
  column-gap: var(--pf-v6-c-overflow-menu--ColumnGap);
36
52
  }
@@ -2,23 +2,37 @@
2
2
 
3
3
  @include pf-root($overflow-menu) {
4
4
  --#{$overflow-menu}--ColumnGap: var(--pf-t--global--spacer--md);
5
+ --#{$overflow-menu}--RowGap: var(--pf-t--global--spacer--md);
5
6
 
6
7
  // * Overflow menu group
7
8
  --#{$overflow-menu}__group--ColumnGap: var(--pf-t--global--spacer--md);
9
+ --#{$overflow-menu}__group--RowGap: var(--pf-t--global--spacer--md);
8
10
 
9
11
  // * Overflow menu button group
10
12
  --#{$overflow-menu}__group--m-button-group--ColumnGap: var(--pf-t--global--spacer--sm);
13
+ --#{$overflow-menu}__group--m-button-group--RowGap: var(--pf-t--global--spacer--sm);
11
14
 
12
15
  // * Overflow menu icon button group
13
16
  --#{$overflow-menu}__group--m-icon-button-group--ColumnGap: var(--pf-t--global--spacer--xs);
17
+ --#{$overflow-menu}__group--m-icon-button-group--RowGap: var(--pf-t--global--spacer--xs);
14
18
  }
15
19
 
16
20
  // - Overflow menu
17
21
  .#{$overflow-menu} {
18
22
  display: inline-flex;
23
+ row-gap: var(--#{$overflow-menu}--RowGap);
19
24
  column-gap: var(--#{$overflow-menu}--ColumnGap);
20
25
  }
21
26
 
27
+ // - Overflow menu - vertical
28
+ .#{$overflow-menu}.pf-m-vertical {
29
+ &,
30
+ .#{$overflow-menu}__content,
31
+ .#{$overflow-menu}__group {
32
+ flex-direction: column;
33
+ }
34
+ }
35
+
22
36
  // - Overflow menu content - Overflow menu group
23
37
  .#{$overflow-menu}__content,
24
38
  .#{$overflow-menu}__group {
@@ -28,26 +42,31 @@
28
42
 
29
43
  // - Overflow menu group
30
44
  .#{$overflow-menu}__group {
45
+ row-gap: var(--#{$overflow-menu}__group--RowGap);
31
46
  column-gap: var(--#{$overflow-menu}__group--ColumnGap);
32
-
47
+
33
48
  // - Overflow menu button group
34
49
  &.pf-m-button-group {
50
+ row-gap: var(--#{$overflow-menu}__group--m-button-group--RowGap);
35
51
  column-gap: var(--#{$overflow-menu}__group--m-button-group--ColumnGap);
36
52
  }
37
53
 
38
54
  // - Overflow menu icon button group
39
55
  &.pf-m-icon-button-group {
56
+ row-gap: var(--#{$overflow-menu}__group--m-icon-button-group--RowGap);
40
57
  column-gap: var(--#{$overflow-menu}__group--m-icon-button-group--ColumnGap);
41
58
  }
42
59
  }
43
60
 
44
61
  // - Oveflow menu item
45
62
  .#{$overflow-menu}__item {
63
+ row-gap: var(--#{$overflow-menu}__item--RowGap, var(--#{$overflow-menu}--RowGap));
46
64
  column-gap: var(--#{$overflow-menu}__item--ColumnGap, var(--#{$overflow-menu}--ColumnGap));
47
65
  }
48
66
 
49
67
  // - Overflow menu content - Overflow menu control
50
68
  .#{$overflow-menu}__content,
51
69
  .#{$overflow-menu}__control {
70
+ row-gap: var(--#{$overflow-menu}--RowGap);
52
71
  column-gap: var(--#{$overflow-menu}--ColumnGap);
53
72
  }
@@ -773,17 +773,17 @@
773
773
  outline: 0;
774
774
  }
775
775
 
776
- :where(.pf-v6-theme-glass) .pf-v6-c-page__main-subnav:not(.pf-m-no-plain-on-glass), .pf-v6-c-page__main-subnav.pf-m-plain,
777
- :where(.pf-v6-theme-glass) .pf-v6-c-page__main-breadcrumb:not(.pf-m-no-plain-on-glass),
778
- .pf-v6-c-page__main-breadcrumb.pf-m-plain,
779
- :where(.pf-v6-theme-glass) .pf-v6-c-page__main-tabs:not(.pf-m-no-plain-on-glass),
780
- .pf-v6-c-page__main-tabs.pf-m-plain,
781
- :where(.pf-v6-theme-glass) .pf-v6-c-page__main-section:not(.pf-m-no-plain-on-glass),
782
- .pf-v6-c-page__main-section.pf-m-plain,
783
- :where(.pf-v6-theme-glass) .pf-v6-c-page__main-wizard:not(.pf-m-no-plain-on-glass),
784
- .pf-v6-c-page__main-wizard.pf-m-plain,
785
- :where(.pf-v6-theme-glass) .pf-v6-c-page__main-group:not(.pf-m-no-plain-on-glass),
786
- .pf-v6-c-page__main-group.pf-m-plain {
776
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-page__main-subnav.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-page__main-subnav:not(.pf-m-no-plain-on-glass),
777
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-page__main-breadcrumb.pf-m-plain,
778
+ :where(:root.pf-v6-theme-glass) .pf-v6-c-page__main-breadcrumb:not(.pf-m-no-plain-on-glass),
779
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-page__main-tabs.pf-m-plain,
780
+ :where(:root.pf-v6-theme-glass) .pf-v6-c-page__main-tabs:not(.pf-m-no-plain-on-glass),
781
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-page__main-section.pf-m-plain,
782
+ :where(:root.pf-v6-theme-glass) .pf-v6-c-page__main-section:not(.pf-m-no-plain-on-glass),
783
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-page__main-wizard.pf-m-plain,
784
+ :where(:root.pf-v6-theme-glass) .pf-v6-c-page__main-wizard:not(.pf-m-no-plain-on-glass),
785
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-page__main-group.pf-m-plain,
786
+ :where(:root.pf-v6-theme-glass) .pf-v6-c-page__main-group:not(.pf-m-no-plain-on-glass) {
787
787
  --pf-v6-c-page__main-section--BackgroundColor: transparent;
788
788
  --pf-v6-c-page__main-subnav--BackgroundColor: transparent;
789
789
  --pf-v6-c-page__main-breadcrumb--BackgroundColor: transparent;
@@ -704,8 +704,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
704
704
  .#{$page}__main-section,
705
705
  .#{$page}__main-wizard,
706
706
  .#{$page}__main-group {
707
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
708
- &.pf-m-plain {
707
+ :where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
708
+ :where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
709
709
  --#{$page}__main-section--BackgroundColor: transparent;
710
710
  --#{$page}__main-subnav--BackgroundColor: transparent;
711
711
  --#{$page}__main-breadcrumb--BackgroundColor: transparent;
@@ -186,14 +186,13 @@
186
186
  width: 100%;
187
187
  background-color: var(--pf-v6-c-table--BackgroundColor);
188
188
  }
189
- :where(.pf-v6-theme-glass) .pf-v6-c-table:not(.pf-m-no-plain-on-glass), .pf-v6-c-table.pf-m-plain {
189
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-table.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-table:not(.pf-m-no-plain-on-glass) {
190
190
  --pf-v6-c-table--BackgroundColor: transparent;
191
191
  --pf-v6-c-table__expandable-row-content--BackgroundColor: transparent;
192
192
  --pf-v6-c-table__expandable-row-content--PaddingInlineStart: 0;
193
193
  --pf-v6-c-table__expandable-row-content--PaddingInlineEnd: 0;
194
194
  --pf-v6-c-table__control-row--BackgroundColor: transparent;
195
195
  }
196
-
197
196
  .pf-v6-c-table.pf-m-fixed {
198
197
  table-layout: fixed;
199
198
  }
@@ -284,8 +284,8 @@
284
284
  width: 100%;
285
285
  background-color: var(--#{$table}--BackgroundColor);
286
286
 
287
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
288
- &.pf-m-plain {
287
+ :where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
288
+ :where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
289
289
  --#{$table}--BackgroundColor: transparent;
290
290
  --#{$table}__expandable-row-content--BackgroundColor: transparent;
291
291
  --#{$table}__expandable-row-content--PaddingInlineStart: 0;
@@ -66,6 +66,66 @@
66
66
  .pf-v6-c-toolbar__item.pf-m-hidden {
67
67
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
68
68
  }
69
+ @media screen and (min-height: 0) {
70
+ .pf-v6-c-toolbar__content-section.pf-m-hidden-on-sm-height,
71
+ .pf-v6-c-toolbar__group.pf-m-hidden-on-sm-height,
72
+ .pf-v6-c-toolbar__item.pf-m-hidden-on-sm-height {
73
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
74
+ }
75
+ .pf-v6-c-toolbar__content-section.pf-m-visible-on-sm-height,
76
+ .pf-v6-c-toolbar__group.pf-m-visible-on-sm-height,
77
+ .pf-v6-c-toolbar__item.pf-m-visible-on-sm-height {
78
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
79
+ }
80
+ }
81
+ @media screen and (min-height: 40rem) {
82
+ .pf-v6-c-toolbar__content-section.pf-m-hidden-on-md-height,
83
+ .pf-v6-c-toolbar__group.pf-m-hidden-on-md-height,
84
+ .pf-v6-c-toolbar__item.pf-m-hidden-on-md-height {
85
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
86
+ }
87
+ .pf-v6-c-toolbar__content-section.pf-m-visible-on-md-height,
88
+ .pf-v6-c-toolbar__group.pf-m-visible-on-md-height,
89
+ .pf-v6-c-toolbar__item.pf-m-visible-on-md-height {
90
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
91
+ }
92
+ }
93
+ @media screen and (min-height: 48rem) {
94
+ .pf-v6-c-toolbar__content-section.pf-m-hidden-on-lg-height,
95
+ .pf-v6-c-toolbar__group.pf-m-hidden-on-lg-height,
96
+ .pf-v6-c-toolbar__item.pf-m-hidden-on-lg-height {
97
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
98
+ }
99
+ .pf-v6-c-toolbar__content-section.pf-m-visible-on-lg-height,
100
+ .pf-v6-c-toolbar__group.pf-m-visible-on-lg-height,
101
+ .pf-v6-c-toolbar__item.pf-m-visible-on-lg-height {
102
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
103
+ }
104
+ }
105
+ @media screen and (min-height: 60rem) {
106
+ .pf-v6-c-toolbar__content-section.pf-m-hidden-on-xl-height,
107
+ .pf-v6-c-toolbar__group.pf-m-hidden-on-xl-height,
108
+ .pf-v6-c-toolbar__item.pf-m-hidden-on-xl-height {
109
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
110
+ }
111
+ .pf-v6-c-toolbar__content-section.pf-m-visible-on-xl-height,
112
+ .pf-v6-c-toolbar__group.pf-m-visible-on-xl-height,
113
+ .pf-v6-c-toolbar__item.pf-m-visible-on-xl-height {
114
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
115
+ }
116
+ }
117
+ @media screen and (min-height: 80rem) {
118
+ .pf-v6-c-toolbar__content-section.pf-m-hidden-on-2xl-height,
119
+ .pf-v6-c-toolbar__group.pf-m-hidden-on-2xl-height,
120
+ .pf-v6-c-toolbar__item.pf-m-hidden-on-2xl-height {
121
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
122
+ }
123
+ .pf-v6-c-toolbar__content-section.pf-m-visible-on-2xl-height,
124
+ .pf-v6-c-toolbar__group.pf-m-visible-on-2xl-height,
125
+ .pf-v6-c-toolbar__item.pf-m-visible-on-2xl-height {
126
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
127
+ }
128
+ }
69
129
  @media screen and (min-width: 36rem) {
70
130
  .pf-v6-c-toolbar__content-section.pf-m-hidden-on-sm,
71
131
  .pf-v6-c-toolbar__group.pf-m-hidden-on-sm,
@@ -141,6 +201,46 @@
141
201
  .pf-v6-c-toolbar__content.pf-m-hidden {
142
202
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
143
203
  }
204
+ @media screen and (min-height: 0) {
205
+ .pf-v6-c-toolbar__content.pf-m-hidden-on-sm-height {
206
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
207
+ }
208
+ .pf-v6-c-toolbar__content.pf-m-visible-on-sm-height {
209
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
210
+ }
211
+ }
212
+ @media screen and (min-height: 40rem) {
213
+ .pf-v6-c-toolbar__content.pf-m-hidden-on-md-height {
214
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
215
+ }
216
+ .pf-v6-c-toolbar__content.pf-m-visible-on-md-height {
217
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
218
+ }
219
+ }
220
+ @media screen and (min-height: 48rem) {
221
+ .pf-v6-c-toolbar__content.pf-m-hidden-on-lg-height {
222
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
223
+ }
224
+ .pf-v6-c-toolbar__content.pf-m-visible-on-lg-height {
225
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
226
+ }
227
+ }
228
+ @media screen and (min-height: 60rem) {
229
+ .pf-v6-c-toolbar__content.pf-m-hidden-on-xl-height {
230
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
231
+ }
232
+ .pf-v6-c-toolbar__content.pf-m-visible-on-xl-height {
233
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
234
+ }
235
+ }
236
+ @media screen and (min-height: 80rem) {
237
+ .pf-v6-c-toolbar__content.pf-m-hidden-on-2xl-height {
238
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
239
+ }
240
+ .pf-v6-c-toolbar__content.pf-m-visible-on-2xl-height {
241
+ --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
242
+ }
243
+ }
144
244
  @media screen and (min-width: 36rem) {
145
245
  .pf-v6-c-toolbar__content.pf-m-hidden-on-sm {
146
246
  --pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
@@ -101,7 +101,7 @@ $pf-v6--include-toolbar-breakpoints: true !default;
101
101
  .#{$toolbar}__content-section,
102
102
  .#{$toolbar}__group,
103
103
  .#{$toolbar}__item {
104
- @include pf-v6-hidden-visible(flex);
104
+ @include pf-v6-hidden-visible(flex, $ifIncludeHeight: true);
105
105
  }
106
106
 
107
107
  // - Toolbar - Toolbar content
@@ -112,7 +112,7 @@ $pf-v6--include-toolbar-breakpoints: true !default;
112
112
 
113
113
  // - Toolbar content - Toolbar content section - Toolbar expandable content
114
114
  .#{$toolbar}__content {
115
- @include pf-v6-hidden-visible(grid);
115
+ @include pf-v6-hidden-visible(grid, $ifIncludeHeight: true);
116
116
 
117
117
  row-gap: var(--#{$toolbar}__content--RowGap);
118
118
  padding-inline-start: var(--#{$toolbar}__content--PaddingInlineStart);
@@ -163,14 +163,14 @@
163
163
  .pf-v6-c-wizard.pf-m-finished .pf-v6-c-wizard__toggle {
164
164
  display: none;
165
165
  }
166
- :where(.pf-v6-theme-glass) .pf-v6-c-wizard:not(.pf-m-no-plain-on-glass), .pf-v6-c-wizard.pf-m-plain {
166
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-wizard.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-wizard:not(.pf-m-no-plain-on-glass) {
167
167
  --pf-v6-c-wizard__header--BackgroundColor: var(--pf-v6-c-wizard--m-plain__header--BackgroundColor);
168
168
  --pf-v6-c-wizard__toggle--BackgroundColor: var(--pf-v6-c-wizard--m-plain__toggle--BackgroundColor);
169
169
  --pf-v6-c-wizard__outer-wrap--BackgroundColor: var(--pf-v6-c-wizard--m-plain__outer-wrap--BackgroundColor);
170
170
  --pf-v6-c-wizard__footer--BackgroundColor: var(--pf-v6-c-wizard--m-plain__footer--BackgroundColor);
171
171
  }
172
172
  @media screen and (min-width: 62rem) {
173
- :where(.pf-v6-theme-glass) .pf-v6-c-wizard:not(.pf-m-no-plain-on-glass), .pf-v6-c-wizard.pf-m-plain {
173
+ :where(:root:not(.pf-v6-theme-glass)) .pf-v6-c-wizard.pf-m-plain, :where(:root.pf-v6-theme-glass) .pf-v6-c-wizard:not(.pf-m-no-plain-on-glass) {
174
174
  --pf-v6-c-wizard__nav--BackgroundColor: var(--pf-v6-c-wizard--m-plain__nav--BackgroundColor);
175
175
  }
176
176
  }
@@ -224,15 +224,15 @@
224
224
  }
225
225
  }
226
226
 
227
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
228
- &.pf-m-plain {
227
+ :where(:root:not(.pf-v6-theme-glass)) &.pf-m-plain,
228
+ :where(:root.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass) {
229
229
  --#{$wizard}__header--BackgroundColor: var(--#{$wizard}--m-plain__header--BackgroundColor);
230
230
  --#{$wizard}__toggle--BackgroundColor: var(--#{$wizard}--m-plain__toggle--BackgroundColor);
231
231
  --#{$wizard}__outer-wrap--BackgroundColor: var(--#{$wizard}--m-plain__outer-wrap--BackgroundColor);
232
232
  --#{$wizard}__footer--BackgroundColor: var(--#{$wizard}--m-plain__footer--BackgroundColor);
233
-
233
+
234
234
  @media screen and (min-width: $pf-v6-global--breakpoint--lg) {
235
- --#{$wizard}__nav--BackgroundColor: var(--#{$wizard}--m-plain__nav--BackgroundColor);
235
+ --#{$wizard}__nav--BackgroundColor: var(--#{$wizard}--m-plain__nav--BackgroundColor);
236
236
  }
237
237
  }
238
238
  }