@patternfly/patternfly 6.5.0-prerelease.65 → 6.5.0-prerelease.67

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 (56) hide show
  1. package/components/Accordion/accordion.css +1 -2
  2. package/components/Accordion/accordion.scss +2 -2
  3. package/components/Breadcrumb/breadcrumb.css +6 -2
  4. package/components/Breadcrumb/breadcrumb.scss +6 -2
  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/MenuToggle/menu-toggle.css +1 -1
  10. package/components/MenuToggle/menu-toggle.scss +1 -1
  11. package/components/Page/page.css +11 -11
  12. package/components/Page/page.scss +2 -2
  13. package/components/Table/table.css +59 -21
  14. package/components/Table/table.scss +77 -26
  15. package/components/Wizard/wizard.css +2 -2
  16. package/components/Wizard/wizard.scss +4 -4
  17. package/components/_index.css +84 -45
  18. package/docs/components/ActionList/examples/ActionList.md +2 -2
  19. package/docs/components/Alert/examples/Alert.md +4 -4
  20. package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
  21. package/docs/components/Button/examples/Button.md +31 -31
  22. package/docs/components/Icon/examples/Icon.md +13 -1
  23. package/docs/components/Menu/examples/Menu.md +26 -2
  24. package/docs/components/MenuToggle/examples/MenuToggle.md +172 -64
  25. package/docs/components/Table/examples/Table.css +2 -1
  26. package/docs/components/Table/examples/Table.md +1330 -166
  27. package/docs/components/Toolbar/examples/Toolbar.md +67 -7
  28. package/docs/components/TreeView/examples/TreeView.md +4 -4
  29. package/docs/components/Wizard/examples/Wizard.md +1 -1
  30. package/docs/demos/AboutModal/examples/AboutModal.md +23 -15
  31. package/docs/demos/Alert/examples/Alert.md +69 -45
  32. package/docs/demos/BackToTop/examples/BackToTop.md +23 -15
  33. package/docs/demos/Banner/examples/Banner.md +46 -30
  34. package/docs/demos/CardView/examples/CardView.md +36 -16
  35. package/docs/demos/Compass/examples/Compass.md +76 -19
  36. package/docs/demos/Dashboard/examples/Dashboard.md +23 -15
  37. package/docs/demos/DataList/examples/DataList.md +157 -65
  38. package/docs/demos/DescriptionList/examples/DescriptionList.md +69 -45
  39. package/docs/demos/Drawer/examples/Drawer.md +115 -75
  40. package/docs/demos/JumpLinks/examples/JumpLinks.md +138 -90
  41. package/docs/demos/Masthead/examples/Masthead.md +101 -21
  42. package/docs/demos/Modal/examples/Modal.md +138 -90
  43. package/docs/demos/Nav/examples/Nav.md +188 -120
  44. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +115 -75
  45. package/docs/demos/Page/examples/Page.md +361 -213
  46. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +265 -113
  47. package/docs/demos/Skeleton/examples/Skeleton.md +23 -15
  48. package/docs/demos/Table/examples/Table.md +3561 -618
  49. package/docs/demos/Tabs/examples/Tabs.md +151 -91
  50. package/docs/demos/Toolbar/examples/Toolbar.md +546 -106
  51. package/docs/demos/Wizard/examples/Wizard.md +207 -135
  52. package/package.json +2 -2
  53. package/patternfly-no-globals.css +84 -45
  54. package/patternfly.css +84 -45
  55. package/patternfly.min.css +1 -1
  56. package/patternfly.min.css.map +1 -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;
@@ -1,5 +1,5 @@
1
1
  .pf-v6-c-breadcrumb {
2
- --pf-v6-c-breadcrumb__item--FontSize: var(--pf-t--global--font--size--body--sm);
2
+ --pf-v6-c-breadcrumb__item--FontSize: var(--pf-t--global--font--size--body--default);
3
3
  --pf-v6-c-breadcrumb__item--LineHeight: var(--pf-t--global--font--line-height--body);
4
4
  --pf-v6-c-breadcrumb__item--MarginInlineEnd: var(--pf-t--global--spacer--sm);
5
5
  --pf-v6-c-breadcrumb__item-divider--Color: var(--pf-t--global--icon--color--regular);
@@ -10,12 +10,14 @@
10
10
  --pf-v6-c-breadcrumb__link--Color: var(--pf-t--global--text--color--link--default);
11
11
  --pf-v6-c-breadcrumb__link--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--default);
12
12
  --pf-v6-c-breadcrumb__link--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--default);
13
+ --pf-v6-c-breadcrumb__link--TextDecorationColor: var(--pf-t--global--text-decoration--color--default);
13
14
  --pf-v6-c-breadcrumb__link--hover--Color: var(--pf-t--global--text--color--link--hover);
14
15
  --pf-v6-c-breadcrumb__link--hover--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--hover);
15
16
  --pf-v6-c-breadcrumb__link--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--hover);
17
+ --pf-v6-c-breadcrumb__link--hover--TextDecorationColor: var(--pf-t--global--text-decoration--color--hover);
16
18
  --pf-v6-c-breadcrumb__link--m-current--Color: var(--pf-t--global--text--color--regular);
17
19
  --pf-v6-c-breadcrumb__link--BackgroundColor: transparent;
18
- --pf-v6-c-breadcrumb__heading--FontSize: var( --pf-t--global--font--size--body--sm);
20
+ --pf-v6-c-breadcrumb__heading--FontSize: var(--pf-v6-c-breadcrumb__item--FontSize);
19
21
  --pf-v6-c-breadcrumb__menu-toggle--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
20
22
  --pf-v6-c-breadcrumb__menu-toggle--MarginInlineEnd: var(--pf-t--global--spacer--xs);
21
23
  --pf-v6-c-breadcrumb__menu-toggle--MarginBlockEnd: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
@@ -68,6 +70,7 @@
68
70
  color: var(--pf-v6-c-breadcrumb__link--Color);
69
71
  text-decoration-line: var(--pf-v6-c-breadcrumb__link--TextDecorationLine);
70
72
  text-decoration-style: var(--pf-v6-c-breadcrumb__link--TextDecorationStyle);
73
+ text-decoration-color: var(--pf-v6-c-breadcrumb__link--TextDecorationColor);
71
74
  word-break: break-word;
72
75
  background-color: var(--pf-v6-c-breadcrumb__link--BackgroundColor);
73
76
  }
@@ -75,6 +78,7 @@
75
78
  --pf-v6-c-breadcrumb__link--Color: var(--pf-v6-c-breadcrumb__link--hover--Color);
76
79
  --pf-v6-c-breadcrumb__link--TextDecorationLine: var(--pf-v6-c-breadcrumb__link--hover--TextDecorationLine);
77
80
  --pf-v6-c-breadcrumb__link--TextDecorationStyle: var(--pf-v6-c-breadcrumb__link--hover--TextDecorationStyle);
81
+ --pf-v6-c-breadcrumb__link--TextDecorationColor: var(--pf-v6-c-breadcrumb__link--hover--TextDecorationColor);
78
82
  }
79
83
  .pf-v6-c-breadcrumb__link.pf-m-current {
80
84
  cursor: default;
@@ -2,7 +2,7 @@
2
2
 
3
3
  @include pf-root($breadcrumb) {
4
4
  // Breadcrumb item
5
- --#{$breadcrumb}__item--FontSize: var(--pf-t--global--font--size--body--sm);
5
+ --#{$breadcrumb}__item--FontSize: var(--pf-t--global--font--size--body--default);
6
6
  --#{$breadcrumb}__item--LineHeight: var(--pf-t--global--font--line-height--body);
7
7
  --#{$breadcrumb}__item--MarginInlineEnd: var(--pf-t--global--spacer--sm);
8
8
 
@@ -17,14 +17,16 @@
17
17
  --#{$breadcrumb}__link--Color: var(--pf-t--global--text--color--link--default);
18
18
  --#{$breadcrumb}__link--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--default);
19
19
  --#{$breadcrumb}__link--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--default);
20
+ --#{$breadcrumb}__link--TextDecorationColor: var(--pf-t--global--text-decoration--color--default);
20
21
  --#{$breadcrumb}__link--hover--Color: var(--pf-t--global--text--color--link--hover);
21
22
  --#{$breadcrumb}__link--hover--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--hover);
22
23
  --#{$breadcrumb}__link--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--hover);
24
+ --#{$breadcrumb}__link--hover--TextDecorationColor: var(--pf-t--global--text-decoration--color--hover);
23
25
  --#{$breadcrumb}__link--m-current--Color: var(--pf-t--global--text--color--regular);
24
26
  --#{$breadcrumb}__link--BackgroundColor: transparent;
25
27
 
26
28
  // Heading
27
- --#{$breadcrumb}__heading--FontSize: var( --pf-t--global--font--size--body--sm);
29
+ --#{$breadcrumb}__heading--FontSize: var(--#{$breadcrumb}__item--FontSize);
28
30
 
29
31
  // breadcrumb dropdown
30
32
  --#{$breadcrumb}__menu-toggle--MarginBlockStart: calc(var(--pf-t--global--spacer--control--vertical--default) * -1);
@@ -83,6 +85,7 @@
83
85
  color: var(--#{$breadcrumb}__link--Color);
84
86
  text-decoration-line: var(--#{$breadcrumb}__link--TextDecorationLine);
85
87
  text-decoration-style: var(--#{$breadcrumb}__link--TextDecorationStyle);
88
+ text-decoration-color: var(--#{$breadcrumb}__link--TextDecorationColor);
86
89
  word-break: break-word;
87
90
  background-color: var(--#{$breadcrumb}__link--BackgroundColor);
88
91
 
@@ -90,6 +93,7 @@
90
93
  --#{$breadcrumb}__link--Color: var(--#{$breadcrumb}__link--hover--Color);
91
94
  --#{$breadcrumb}__link--TextDecorationLine: var(--#{$breadcrumb}__link--hover--TextDecorationLine);
92
95
  --#{$breadcrumb}__link--TextDecorationStyle: var(--#{$breadcrumb}__link--hover--TextDecorationStyle);
96
+ --#{$breadcrumb}__link--TextDecorationColor: var(--#{$breadcrumb}__link--hover--TextDecorationColor);
93
97
  }
94
98
 
95
99
 
@@ -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
  }
@@ -115,7 +115,7 @@
115
115
  --pf-v6-c-menu-toggle--m-plain--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
116
116
  --pf-v6-c-menu-toggle--m-plain--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
117
117
  --pf-v6-c-menu-toggle--m-plain--expanded--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
118
- --pf-v6-c-menu-toggle--m-plain--BorderRadius: var(--pf-t--global--border--radius--control--default);
118
+ --pf-v6-c-menu-toggle--m-plain--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
119
119
  --pf-v6-c-menu-toggle--m-plain--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
120
120
  --pf-v6-c-menu-toggle--m-plain--expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
121
121
  --pf-v6-c-menu-toggle--m-plain--disabled--Color: var(--pf-t--global--text--color--disabled);
@@ -145,7 +145,7 @@
145
145
  --#{$menu-toggle}--m-plain--BorderWidth: var(--pf-t--global--border--width--action--plain--default);
146
146
  --#{$menu-toggle}--m-plain--hover--BorderWidth: var(--pf-t--global--border--width--action--plain--hover);
147
147
  --#{$menu-toggle}--m-plain--expanded--BorderWidth: var(--pf-t--global--border--width--action--plain--clicked);
148
- --#{$menu-toggle}--m-plain--BorderRadius: var(--pf-t--global--border--radius--control--default);
148
+ --#{$menu-toggle}--m-plain--BorderRadius: var(--pf-t--global--border--radius--action--plain--default);
149
149
  --#{$menu-toggle}--m-plain--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
150
150
  --#{$menu-toggle}--m-plain--expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
151
151
  --#{$menu-toggle}--m-plain--disabled--Color: var(--pf-t--global--text--color--disabled);
@@ -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;
@@ -153,6 +153,9 @@
153
153
  --pf-v6-c-table__tbody--m-clickable--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
154
154
  --pf-v6-c-table__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
155
155
  --pf-v6-c-table__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
156
+ --pf-v6-c-table__thead--m-nested-column-header--BorderBlockEndWidth: var(--pf-v6-c-table--border-width--base);
157
+ --pf-v6-c-table__thead--m-nested-column-header--BorderBlockEndColor: var(--pf-v6-c-table--BorderColor);
158
+ --pf-v6-c-table__thead--m-nested-column-header--after--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
156
159
  --pf-v6-c-table__thead--m-nested-column-header--button--OutlineOffset: -0.1875rem;
157
160
  --pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockStart: var(--pf-t--global--spacer--xs);
158
161
  --pf-v6-c-table__thead--m-nested-column-header__tr--PaddingBlockEnd: var(--pf-t--global--spacer--md);
@@ -160,55 +163,79 @@
160
163
  --pf-v6-c-table__nested-column-header__button--PaddingInlineStart: calc(var(--pf-v6-c-table__button--PaddingInlineStart) - var(--pf-t--global--spacer--control--horizontal--plain));
161
164
  --pf-v6-c-table__nested-column-header__button--PaddingInlineEnd: calc(var(--pf-v6-c-table__button--PaddingInlineEnd) - (var(--pf-t--global--spacer--control--horizontal--plain) / 2));
162
165
  --pf-v6-c-table--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--striped--row--default);
166
+ --pf-v6-c-table--m-sticky-header--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
163
167
  --pf-v6-c-table--m-sticky-header--cell--ZIndex: var(--pf-t--global--z-index--xs);
164
168
  --pf-v6-c-table--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
165
169
  --pf-v6-c-table--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
170
+ --pf-v6-c-table--m-sticky-header--BorderRadius: 0;
171
+ --pf-v6-c-table--m-sticky-header--BoxShadow: 0;
172
+ --pf-v6-c-table--m-sticky-header--BorderBlockEndWidth: var(--pf-v6-c-table--border-width--base);
173
+ --pf-v6-c-table--m-sticky-header--BorderBlockEndColor: var(--pf-v6-c-table--BorderColor);
174
+ --pf-v6-c-table--m-sticky-header--BorderRadius--glass: var(--pf-t--global--border--radius--medium);
175
+ --pf-v6-c-table--m-sticky-header--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
176
+ --pf-v6-c-table--m-sticky-header--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
177
+ --pf-v6-c-table--m-sticky-header--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
178
+ }
179
+ :where(.pf-v6-theme-glass) .pf-v6-c-table {
180
+ --pf-v6-c-table--m-sticky-header--BorderBlockEndWidth: 0;
181
+ --pf-v6-c-table--m-sticky-header--BoxShadow: var(--pf-v6-c-table--m-sticky-header--BoxShadow--glass);
182
+ --pf-v6-c-table--m-sticky-header--BorderRadius: var(--pf-v6-c-table--m-sticky-header--BorderRadius--glass);
166
183
  }
167
184
 
168
185
  .pf-v6-c-table {
169
186
  width: 100%;
170
187
  background-color: var(--pf-v6-c-table--BackgroundColor);
171
188
  }
172
- :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) {
173
190
  --pf-v6-c-table--BackgroundColor: transparent;
174
191
  --pf-v6-c-table__expandable-row-content--BackgroundColor: transparent;
175
192
  --pf-v6-c-table__expandable-row-content--PaddingInlineStart: 0;
176
193
  --pf-v6-c-table__expandable-row-content--PaddingInlineEnd: 0;
177
194
  --pf-v6-c-table__control-row--BackgroundColor: transparent;
178
195
  }
179
-
180
196
  .pf-v6-c-table.pf-m-fixed {
181
197
  table-layout: fixed;
182
198
  }
183
- .pf-v6-c-table.pf-m-sticky-header > .pf-v6-c-table__thead,
184
- .pf-v6-c-table .pf-v6-c-table__thead.pf-m-nested-column-header {
199
+ .pf-v6-c-table.pf-m-sticky-header-base > .pf-v6-c-table__thead::before, .pf-v6-c-table.pf-m-sticky-header-base > .pf-v6-c-table__thead::after {
200
+ opacity: 0;
201
+ transition-timing-function: var(--pf-v6-c-table--m-sticky-header--TransitionTimingFunction--BackgroundColor);
202
+ transition-duration: var(--pf-v6-c-table--m-sticky-header--TransitionDuration--BackgroundColor);
203
+ transition-property: opacity;
204
+ }
205
+ .pf-v6-c-table.pf-m-sticky-header, .pf-v6-c-table.pf-m-sticky-header-stuck {
206
+ --pf-v6-c-table__thead--m-nested-column-header--BorderBlockEndWidth: 0;
207
+ }
208
+ .pf-v6-c-table.pf-m-sticky-header-stuck > .pf-v6-c-table__thead::before, .pf-v6-c-table.pf-m-sticky-header-stuck > .pf-v6-c-table__thead::after {
209
+ opacity: 1;
210
+ }
211
+ .pf-v6-c-table.pf-m-sticky-header, .pf-v6-c-table.pf-m-sticky-header-base {
212
+ position: relative;
213
+ }
214
+ .pf-v6-c-table.pf-m-sticky-header > .pf-v6-c-table__thead, .pf-v6-c-table.pf-m-sticky-header-base > .pf-v6-c-table__thead {
185
215
  position: sticky;
186
216
  inset-block-start: 0;
187
217
  z-index: var(--pf-v6-c-table--m-sticky-header--ZIndex);
188
- background: var(--pf-v6-c-table--BackgroundColor);
189
218
  }
190
- .pf-v6-c-table.pf-m-sticky-header > .pf-v6-c-table__thead::before,
191
- .pf-v6-c-table .pf-v6-c-table__thead.pf-m-nested-column-header::before {
219
+ .pf-v6-c-table.pf-m-sticky-header > .pf-v6-c-table__thead::before, .pf-v6-c-table.pf-m-sticky-header-base > .pf-v6-c-table__thead::before {
192
220
  position: absolute;
193
- inset-block-start: 0;
194
- inset-block-end: 0;
195
- inset-inline-start: 0;
196
- inset-inline-end: 0;
197
- z-index: var(--pf-v6-c-table--m-sticky-header--border--ZIndex);
221
+ inset: 0;
222
+ z-index: -1;
198
223
  pointer-events: none;
199
224
  content: "";
200
- border-block-end: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
225
+ background-color: var(--pf-v6-c-table--m-sticky-header--BackgroundColor);
226
+ border-radius: var(--pf-v6-c-table--m-sticky-header--BorderRadius);
227
+ box-shadow: var(--pf-v6-c-table--m-sticky-header--BoxShadow);
201
228
  }
202
- .pf-v6-c-table.pf-m-sticky-header {
203
- position: relative;
204
- }
205
- .pf-v6-c-table.pf-m-sticky-header thead:where(.pf-v6-c-table__thead) tr:where(.pf-v6-c-table__tr) > :where(th, td) {
229
+ .pf-v6-c-table.pf-m-sticky-header > .pf-v6-c-table__thead > :where(th, td), .pf-v6-c-table.pf-m-sticky-header-base > .pf-v6-c-table__thead > :where(th, td) {
206
230
  z-index: var(--pf-v6-c-table--m-sticky-header--cell--ZIndex);
207
231
  }
208
- .pf-v6-c-table.pf-m-sticky-header > .pf-m-nested-column-header {
209
- position: sticky;
210
- inset-block-start: 0;
211
- background: var(--pf-v6-c-table--BackgroundColor);
232
+ .pf-v6-c-table.pf-m-sticky-header > .pf-v6-c-table__thead::after, .pf-v6-c-table.pf-m-sticky-header-base > .pf-v6-c-table__thead::after {
233
+ position: absolute;
234
+ inset: 0;
235
+ z-index: var(--pf-v6-c-table--m-sticky-header--border--ZIndex);
236
+ pointer-events: none;
237
+ content: "";
238
+ border-block-end: var(--pf-v6-c-table--m-sticky-header--BorderBlockEndWidth) solid var(--pf-v6-c-table--m-sticky-header--BorderBlockEndColor);
212
239
  }
213
240
  .pf-v6-c-table:not(.pf-m-sticky-header) > .pf-m-nested-column-header tr:where(.pf-v6-c-table__tr):not(:last-child) {
214
241
  border-block-end: 0;
@@ -899,6 +926,17 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
899
926
  --pf-v6-c-table__toggle--PaddingBlockEnd: var(--pf-v6-c-table__thead__toggle--PaddingBlockEnd);
900
927
  vertical-align: bottom;
901
928
  }
929
+ .pf-v6-c-table__thead.pf-m-nested-column-header {
930
+ position: relative;
931
+ }
932
+ .pf-v6-c-table__thead.pf-m-nested-column-header::after {
933
+ position: absolute;
934
+ inset: 0;
935
+ z-index: var(--pf-v6-c-table__thead--m-nested-column-header--after--ZIndex);
936
+ pointer-events: none;
937
+ content: "";
938
+ border-block-end: var(--pf-v6-c-table__thead--m-nested-column-header--BorderBlockEndWidth) solid var(--pf-v6-c-table__thead--m-nested-column-header--BorderBlockEndColor);
939
+ }
902
940
  .pf-v6-c-table__thead.pf-m-nested-column-header .pf-v6-c-table__button {
903
941
  --pf-v6-c-table__button--PaddingInlineStart: var(--pf-v6-c-table__nested-column-header__button--PaddingInlineStart);
904
942
  --pf-v6-c-table__button--PaddingInlineEnd: var(--pf-v6-c-table__nested-column-header__button--PaddingInlineEnd);
@@ -239,6 +239,9 @@
239
239
  --#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
240
240
 
241
241
  // * Table nested column header
242
+ --#{$table}__thead--m-nested-column-header--BorderBlockEndWidth: var(--#{$table}--border-width--base);
243
+ --#{$table}__thead--m-nested-column-header--BorderBlockEndColor: var(--#{$table}--BorderColor);
244
+ --#{$table}__thead--m-nested-column-header--after--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
242
245
  --#{$table}__thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
243
246
  --#{$table}__thead--m-nested-column-header__tr--PaddingBlockStart: var(--pf-t--global--spacer--xs);
244
247
  --#{$table}__thead--m-nested-column-header__tr--PaddingBlockEnd: var(--pf-t--global--spacer--md);
@@ -254,9 +257,24 @@
254
257
  --#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--striped--row--default);
255
258
 
256
259
  // * Table sticky header
260
+ --#{$table}--m-sticky-header--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
257
261
  --#{$table}--m-sticky-header--cell--ZIndex: var(--pf-t--global--z-index--xs);
258
262
  --#{$table}--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
259
263
  --#{$table}--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
264
+ --#{$table}--m-sticky-header--BorderRadius: 0;
265
+ --#{$table}--m-sticky-header--BoxShadow: 0;
266
+ --#{$table}--m-sticky-header--BorderBlockEndWidth: var(--#{$table}--border-width--base);
267
+ --#{$table}--m-sticky-header--BorderBlockEndColor: var(--#{$table}--BorderColor);
268
+ --#{$table}--m-sticky-header--BorderRadius--glass: var(--pf-t--global--border--radius--medium);
269
+ --#{$table}--m-sticky-header--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
270
+ --#{$table}--m-sticky-header--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
271
+ --#{$table}--m-sticky-header--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
272
+
273
+ :where(.pf-v6-theme-glass) & {
274
+ --#{$table}--m-sticky-header--BorderBlockEndWidth: 0;
275
+ --#{$table}--m-sticky-header--BoxShadow: var(--#{$table}--m-sticky-header--BoxShadow--glass);
276
+ --#{$table}--m-sticky-header--BorderRadius: var(--#{$table}--m-sticky-header--BorderRadius--glass);
277
+ }
260
278
  }
261
279
 
262
280
  // TODO: update grouping comments to // Table {element}
@@ -266,8 +284,8 @@
266
284
  width: 100%;
267
285
  background-color: var(--#{$table}--BackgroundColor);
268
286
 
269
- @at-root :where(.pf-v6-theme-glass) &:not(.pf-m-no-plain-on-glass),
270
- &.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) {
271
289
  --#{$table}--BackgroundColor: transparent;
272
290
  --#{$table}__expandable-row-content--BackgroundColor: transparent;
273
291
  --#{$table}__expandable-row-content--PaddingInlineStart: 0;
@@ -279,41 +297,63 @@
279
297
  table-layout: fixed;
280
298
  }
281
299
 
282
- // - Table sticky header
283
- &.pf-m-sticky-header > .#{$table}__thead,
284
- .#{$table}__thead.pf-m-nested-column-header {
285
- position: sticky;
286
- inset-block-start: 0;
287
- z-index: var(--#{$table}--m-sticky-header--ZIndex);
288
- background: var(--#{$table}--BackgroundColor);
300
+ &.pf-m-sticky-header-base > .#{$table}__thead {
301
+ &::before,
302
+ &::after {
303
+ opacity: 0;
304
+ transition-timing-function: var(--#{$table}--m-sticky-header--TransitionTimingFunction--BackgroundColor);
305
+ transition-duration: var(--#{$table}--m-sticky-header--TransitionDuration--BackgroundColor);
306
+ transition-property: opacity;
307
+ }
308
+ }
289
309
 
290
- &::before {
291
- position: absolute;
292
- inset-block-start: 0;
293
- inset-block-end: 0;
294
- inset-inline-start: 0;
295
- inset-inline-end: 0;
296
- z-index: var(--#{$table}--m-sticky-header--border--ZIndex);
297
- pointer-events: none;
298
- content: '';
299
- border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
310
+ &.pf-m-sticky-header,
311
+ &.pf-m-sticky-header-stuck {
312
+ --#{$table}__thead--m-nested-column-header--BorderBlockEndWidth: 0;
313
+ }
314
+
315
+ &.pf-m-sticky-header-stuck > .#{$table}__thead {
316
+ &::before,
317
+ &::after {
318
+ opacity: 1;
300
319
  }
301
320
  }
302
321
 
303
- &.pf-m-sticky-header {
322
+ &.pf-m-sticky-header,
323
+ &.pf-m-sticky-header-base {
304
324
  position: relative;
305
325
 
306
- thead:where(.#{$table}__thead) tr:where(.#{$table}__tr) {
326
+ > .#{$table}__thead {
327
+ position: sticky;
328
+ inset-block-start: 0;
329
+ z-index: var(--#{$table}--m-sticky-header--ZIndex);
330
+
331
+ &::before {
332
+ position: absolute;
333
+ inset: 0;
334
+ z-index: -1;
335
+ pointer-events: none;
336
+ content: '';
337
+ background-color: var(--#{$table}--m-sticky-header--BackgroundColor);
338
+ border-radius: var(--#{$table}--m-sticky-header--BorderRadius);
339
+ box-shadow: var(--#{$table}--m-sticky-header--BoxShadow);
340
+ }
341
+
307
342
  > :where(th, td) {
308
343
  z-index: var(--#{$table}--m-sticky-header--cell--ZIndex); // set z-index here to allow sticky column to override
309
344
  }
310
345
  }
346
+ }
311
347
 
312
- // - Table nested column header
313
- > .pf-m-nested-column-header {
314
- position: sticky;
315
- inset-block-start: 0;
316
- background: var(--#{$table}--BackgroundColor);
348
+ &.pf-m-sticky-header,
349
+ &.pf-m-sticky-header-base {
350
+ > .#{$table}__thead::after {
351
+ position: absolute;
352
+ inset: 0;
353
+ z-index: var(--#{$table}--m-sticky-header--border--ZIndex);
354
+ pointer-events: none;
355
+ content: '';
356
+ border-block-end: var(--#{$table}--m-sticky-header--BorderBlockEndWidth) solid var(--#{$table}--m-sticky-header--BorderBlockEndColor);
317
357
  }
318
358
  }
319
359
 
@@ -1216,6 +1256,17 @@
1216
1256
 
1217
1257
  // - Table nested column header button
1218
1258
  &.pf-m-nested-column-header {
1259
+ position: relative;
1260
+
1261
+ &::after {
1262
+ position: absolute;
1263
+ inset: 0;
1264
+ z-index: var(--#{$table}__thead--m-nested-column-header--after--ZIndex);
1265
+ pointer-events: none;
1266
+ content: '';
1267
+ border-block-end: var(--#{$table}__thead--m-nested-column-header--BorderBlockEndWidth) solid var(--#{$table}__thead--m-nested-column-header--BorderBlockEndColor);
1268
+ }
1269
+
1219
1270
  .#{$table}__button {
1220
1271
  --#{$table}__button--PaddingInlineStart: var(--#{$table}__nested-column-header__button--PaddingInlineStart);
1221
1272
  --#{$table}__button--PaddingInlineEnd: var(--#{$table}__nested-column-header__button--PaddingInlineEnd);
@@ -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
  }