@patternfly/react-styles 6.0.0-alpha.15 → 6.0.0-alpha.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/css/components/ActionList/action-list.css +1 -0
  3. package/css/components/Card/card.css +1 -0
  4. package/css/components/Check/check.css +10 -3
  5. package/css/components/DescriptionList/description-list.css +6 -6
  6. package/css/components/DragDrop/drag-drop.css +1 -0
  7. package/css/components/Masthead/masthead.css +17 -9
  8. package/css/components/Masthead/masthead.d.ts +2 -0
  9. package/css/components/Masthead/masthead.js +2 -0
  10. package/css/components/Masthead/masthead.mjs +2 -0
  11. package/css/components/Menu/menu.css +31 -126
  12. package/css/components/Menu/menu.d.ts +1 -0
  13. package/css/components/Menu/menu.js +1 -0
  14. package/css/components/Menu/menu.mjs +1 -0
  15. package/css/components/MenuToggle/menu-toggle.css +20 -6
  16. package/css/components/MenuToggle/menu-toggle.d.ts +1 -0
  17. package/css/components/MenuToggle/menu-toggle.js +1 -0
  18. package/css/components/MenuToggle/menu-toggle.mjs +1 -0
  19. package/css/components/ModalBox/modal-box.css +11 -7
  20. package/css/components/Nav/nav.css +64 -110
  21. package/css/components/Nav/nav.d.ts +3 -3
  22. package/css/components/Nav/nav.js +3 -3
  23. package/css/components/Nav/nav.mjs +3 -3
  24. package/css/components/Page/page.css +9 -17
  25. package/css/components/Radio/radio.css +12 -5
  26. package/css/components/Table/table-grid.css +30 -35
  27. package/css/components/Table/table-scrollable.css +14 -6
  28. package/css/components/Table/table-tree-view.css +5 -5
  29. package/css/components/Table/table.css +90 -254
  30. package/css/components/Table/table.d.ts +3 -4
  31. package/css/components/Table/table.js +3 -4
  32. package/css/components/Table/table.mjs +3 -4
  33. package/css/components/Toolbar/toolbar.css +66 -2
  34. package/css/components/Toolbar/toolbar.d.ts +1 -1
  35. package/css/components/Toolbar/toolbar.js +1 -1
  36. package/css/components/Toolbar/toolbar.mjs +1 -1
  37. package/css/docs/components/Brand/examples/Brand.css +3 -3
  38. package/css/docs/components/Brand/examples/Brand.d.ts +1 -1
  39. package/css/docs/components/Brand/examples/Brand.js +1 -1
  40. package/css/docs/components/Brand/examples/Brand.mjs +1 -1
  41. package/css/docs/components/Button/examples/Button.css +2 -2
  42. package/css/docs/components/Button/examples/Button.d.ts +1 -1
  43. package/css/docs/components/Button/examples/Button.js +1 -1
  44. package/css/docs/components/Button/examples/Button.mjs +1 -1
  45. package/css/docs/components/DragDrop/examples/DragDrop.css +3 -3
  46. package/css/docs/components/DragDrop/examples/DragDrop.d.ts +2 -2
  47. package/css/docs/components/DragDrop/examples/DragDrop.js +2 -2
  48. package/css/docs/components/DragDrop/examples/DragDrop.mjs +2 -2
  49. package/css/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  50. package/css/docs/components/Dropdown/deprecated/Dropdown.d.ts +1 -1
  51. package/css/docs/components/Dropdown/deprecated/Dropdown.js +1 -1
  52. package/css/docs/components/Dropdown/deprecated/Dropdown.mjs +1 -1
  53. package/css/docs/components/Label/examples/Label.css +4 -4
  54. package/css/docs/components/Label/examples/Label.d.ts +1 -1
  55. package/css/docs/components/Label/examples/Label.js +1 -1
  56. package/css/docs/components/Label/examples/Label.mjs +1 -1
  57. package/css/docs/components/LogViewer/examples/LogViewer.css +2 -2
  58. package/css/docs/components/LogViewer/examples/LogViewer.d.ts +1 -1
  59. package/css/docs/components/LogViewer/examples/LogViewer.js +1 -1
  60. package/css/docs/components/LogViewer/examples/LogViewer.mjs +1 -1
  61. package/css/docs/components/Menu/examples/Menu.css +2 -2
  62. package/css/docs/components/Menu/examples/Menu.d.ts +3 -3
  63. package/css/docs/components/Menu/examples/Menu.js +3 -3
  64. package/css/docs/components/Menu/examples/Menu.mjs +3 -3
  65. package/css/docs/components/Nav/examples/Navigation.css +20 -3
  66. package/css/docs/components/Nav/examples/Navigation.d.ts +3 -2
  67. package/css/docs/components/Nav/examples/Navigation.js +3 -2
  68. package/css/docs/components/Nav/examples/Navigation.mjs +3 -2
  69. package/package.json +3 -3
@@ -68,7 +68,7 @@
68
68
  display: grid;
69
69
  border: none;
70
70
  }
71
- .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > * {
71
+ .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
72
72
  width: auto;
73
73
  min-width: 0;
74
74
  max-width: none;
@@ -128,13 +128,13 @@
128
128
  padding-block-end: var(--pf-v6-c-table__tr--responsive--PaddingBottom);
129
129
  padding-inline-start: var(--pf-v6-c-table__tr--responsive--PaddingLeft);
130
130
  }
131
- .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > * {
131
+ .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td) {
132
132
  padding-block-start: var(--pf-v6-c-table--cell--responsive--PaddingTop);
133
133
  padding-inline-end: var(--pf-v6-c-table--cell--responsive--PaddingRight);
134
134
  padding-block-end: var(--pf-v6-c-table--cell--responsive--PaddingBottom);
135
135
  padding-inline-start: var(--pf-v6-c-table--cell--responsive--PaddingLeft);
136
136
  }
137
- .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > *:first-child {
137
+ .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td):first-child {
138
138
  --pf-v6-c-table--cell--responsive--PaddingTop: var(--pf-v6-c-table--cell--first-child--responsive--PaddingTop);
139
139
  }
140
140
  .pf-m-grid.pf-v6-c-table.pf-m-compact {
@@ -170,10 +170,10 @@
170
170
  text-align: start;
171
171
  content: attr(data-label);
172
172
  }
173
- .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:first-child {
173
+ .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):first-child {
174
174
  --pf-v6-c-table--cell--PaddingLeft: 0;
175
175
  }
176
- .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:last-child {
176
+ .pf-m-grid.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):last-child {
177
177
  --pf-v6-c-table--cell--PaddingRight: 0;
178
178
  }
179
179
  .pf-m-grid.pf-v6-c-table .pf-v6-c-table {
@@ -226,9 +226,8 @@
226
226
  max-height: var(--pf-v6-c-table__expandable-row--MaxHeight);
227
227
  overflow-y: auto;
228
228
  border-block-end: none;
229
- box-shadow: none;
230
229
  }
231
- .pf-m-grid.pf-v6-c-table .pf-v6-c-table__expandable-row > * {
230
+ .pf-m-grid.pf-v6-c-table .pf-v6-c-table__expandable-row > :where(th, td) {
232
231
  position: static;
233
232
  display: block;
234
233
  }
@@ -383,7 +382,7 @@
383
382
  display: grid;
384
383
  border: none;
385
384
  }
386
- .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > * {
385
+ .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
387
386
  width: auto;
388
387
  min-width: 0;
389
388
  max-width: none;
@@ -443,13 +442,13 @@
443
442
  padding-block-end: var(--pf-v6-c-table__tr--responsive--PaddingBottom);
444
443
  padding-inline-start: var(--pf-v6-c-table__tr--responsive--PaddingLeft);
445
444
  }
446
- .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > * {
445
+ .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td) {
447
446
  padding-block-start: var(--pf-v6-c-table--cell--responsive--PaddingTop);
448
447
  padding-inline-end: var(--pf-v6-c-table--cell--responsive--PaddingRight);
449
448
  padding-block-end: var(--pf-v6-c-table--cell--responsive--PaddingBottom);
450
449
  padding-inline-start: var(--pf-v6-c-table--cell--responsive--PaddingLeft);
451
450
  }
452
- .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > *:first-child {
451
+ .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td):first-child {
453
452
  --pf-v6-c-table--cell--responsive--PaddingTop: var(--pf-v6-c-table--cell--first-child--responsive--PaddingTop);
454
453
  }
455
454
  .pf-m-grid-md.pf-v6-c-table.pf-m-compact {
@@ -485,10 +484,10 @@
485
484
  text-align: start;
486
485
  content: attr(data-label);
487
486
  }
488
- .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:first-child {
487
+ .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):first-child {
489
488
  --pf-v6-c-table--cell--PaddingLeft: 0;
490
489
  }
491
- .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:last-child {
490
+ .pf-m-grid-md.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):last-child {
492
491
  --pf-v6-c-table--cell--PaddingRight: 0;
493
492
  }
494
493
  .pf-m-grid-md.pf-v6-c-table .pf-v6-c-table {
@@ -541,9 +540,8 @@
541
540
  max-height: var(--pf-v6-c-table__expandable-row--MaxHeight);
542
541
  overflow-y: auto;
543
542
  border-block-end: none;
544
- box-shadow: none;
545
543
  }
546
- .pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__expandable-row > * {
544
+ .pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__expandable-row > :where(th, td) {
547
545
  position: static;
548
546
  display: block;
549
547
  }
@@ -701,7 +699,7 @@
701
699
  display: grid;
702
700
  border: none;
703
701
  }
704
- .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > * {
702
+ .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
705
703
  width: auto;
706
704
  min-width: 0;
707
705
  max-width: none;
@@ -761,13 +759,13 @@
761
759
  padding-block-end: var(--pf-v6-c-table__tr--responsive--PaddingBottom);
762
760
  padding-inline-start: var(--pf-v6-c-table__tr--responsive--PaddingLeft);
763
761
  }
764
- .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > * {
762
+ .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td) {
765
763
  padding-block-start: var(--pf-v6-c-table--cell--responsive--PaddingTop);
766
764
  padding-inline-end: var(--pf-v6-c-table--cell--responsive--PaddingRight);
767
765
  padding-block-end: var(--pf-v6-c-table--cell--responsive--PaddingBottom);
768
766
  padding-inline-start: var(--pf-v6-c-table--cell--responsive--PaddingLeft);
769
767
  }
770
- .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > *:first-child {
768
+ .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td):first-child {
771
769
  --pf-v6-c-table--cell--responsive--PaddingTop: var(--pf-v6-c-table--cell--first-child--responsive--PaddingTop);
772
770
  }
773
771
  .pf-m-grid-lg.pf-v6-c-table.pf-m-compact {
@@ -803,10 +801,10 @@
803
801
  text-align: start;
804
802
  content: attr(data-label);
805
803
  }
806
- .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:first-child {
804
+ .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):first-child {
807
805
  --pf-v6-c-table--cell--PaddingLeft: 0;
808
806
  }
809
- .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:last-child {
807
+ .pf-m-grid-lg.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):last-child {
810
808
  --pf-v6-c-table--cell--PaddingRight: 0;
811
809
  }
812
810
  .pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table {
@@ -859,9 +857,8 @@
859
857
  max-height: var(--pf-v6-c-table__expandable-row--MaxHeight);
860
858
  overflow-y: auto;
861
859
  border-block-end: none;
862
- box-shadow: none;
863
860
  }
864
- .pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__expandable-row > * {
861
+ .pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__expandable-row > :where(th, td) {
865
862
  position: static;
866
863
  display: block;
867
864
  }
@@ -1019,7 +1016,7 @@
1019
1016
  display: grid;
1020
1017
  border: none;
1021
1018
  }
1022
- .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > * {
1019
+ .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
1023
1020
  width: auto;
1024
1021
  min-width: 0;
1025
1022
  max-width: none;
@@ -1079,13 +1076,13 @@
1079
1076
  padding-block-end: var(--pf-v6-c-table__tr--responsive--PaddingBottom);
1080
1077
  padding-inline-start: var(--pf-v6-c-table__tr--responsive--PaddingLeft);
1081
1078
  }
1082
- .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > * {
1079
+ .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td) {
1083
1080
  padding-block-start: var(--pf-v6-c-table--cell--responsive--PaddingTop);
1084
1081
  padding-inline-end: var(--pf-v6-c-table--cell--responsive--PaddingRight);
1085
1082
  padding-block-end: var(--pf-v6-c-table--cell--responsive--PaddingBottom);
1086
1083
  padding-inline-start: var(--pf-v6-c-table--cell--responsive--PaddingLeft);
1087
1084
  }
1088
- .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > *:first-child {
1085
+ .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td):first-child {
1089
1086
  --pf-v6-c-table--cell--responsive--PaddingTop: var(--pf-v6-c-table--cell--first-child--responsive--PaddingTop);
1090
1087
  }
1091
1088
  .pf-m-grid-xl.pf-v6-c-table.pf-m-compact {
@@ -1121,10 +1118,10 @@
1121
1118
  text-align: start;
1122
1119
  content: attr(data-label);
1123
1120
  }
1124
- .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:first-child {
1121
+ .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):first-child {
1125
1122
  --pf-v6-c-table--cell--PaddingLeft: 0;
1126
1123
  }
1127
- .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:last-child {
1124
+ .pf-m-grid-xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):last-child {
1128
1125
  --pf-v6-c-table--cell--PaddingRight: 0;
1129
1126
  }
1130
1127
  .pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table {
@@ -1177,9 +1174,8 @@
1177
1174
  max-height: var(--pf-v6-c-table__expandable-row--MaxHeight);
1178
1175
  overflow-y: auto;
1179
1176
  border-block-end: none;
1180
- box-shadow: none;
1181
1177
  }
1182
- .pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__expandable-row > * {
1178
+ .pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__expandable-row > :where(th, td) {
1183
1179
  position: static;
1184
1180
  display: block;
1185
1181
  }
@@ -1337,7 +1333,7 @@
1337
1333
  display: grid;
1338
1334
  border: none;
1339
1335
  }
1340
- .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > * {
1336
+ .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
1341
1337
  width: auto;
1342
1338
  min-width: 0;
1343
1339
  max-width: none;
@@ -1397,13 +1393,13 @@
1397
1393
  padding-block-end: var(--pf-v6-c-table__tr--responsive--PaddingBottom);
1398
1394
  padding-inline-start: var(--pf-v6-c-table__tr--responsive--PaddingLeft);
1399
1395
  }
1400
- .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > * {
1396
+ .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td) {
1401
1397
  padding-block-start: var(--pf-v6-c-table--cell--responsive--PaddingTop);
1402
1398
  padding-inline-end: var(--pf-v6-c-table--cell--responsive--PaddingRight);
1403
1399
  padding-block-end: var(--pf-v6-c-table--cell--responsive--PaddingBottom);
1404
1400
  padding-inline-start: var(--pf-v6-c-table--cell--responsive--PaddingLeft);
1405
1401
  }
1406
- .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > *:first-child {
1402
+ .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) > :where(th, td):first-child {
1407
1403
  --pf-v6-c-table--cell--responsive--PaddingTop: var(--pf-v6-c-table--cell--first-child--responsive--PaddingTop);
1408
1404
  }
1409
1405
  .pf-m-grid-2xl.pf-v6-c-table.pf-m-compact {
@@ -1439,10 +1435,10 @@
1439
1435
  text-align: start;
1440
1436
  content: attr(data-label);
1441
1437
  }
1442
- .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:first-child {
1438
+ .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):first-child {
1443
1439
  --pf-v6-c-table--cell--PaddingLeft: 0;
1444
1440
  }
1445
- .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > *:last-child {
1441
+ .pf-m-grid-2xl.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td):last-child {
1446
1442
  --pf-v6-c-table--cell--PaddingRight: 0;
1447
1443
  }
1448
1444
  .pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table {
@@ -1495,9 +1491,8 @@
1495
1491
  max-height: var(--pf-v6-c-table__expandable-row--MaxHeight);
1496
1492
  overflow-y: auto;
1497
1493
  border-block-end: none;
1498
- box-shadow: none;
1499
1494
  }
1500
- .pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__expandable-row > * {
1495
+ .pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__expandable-row > :where(th, td) {
1501
1496
  position: static;
1502
1497
  display: block;
1503
1498
  }
@@ -1,4 +1,5 @@
1
- .pf-v6-c-table {
1
+ :where(:root),
2
+ :where(.pf-v6-c-table) {
2
3
  --pf-v6-c-table__sticky-cell--MinWidth--base: 12.5rem;
3
4
  --pf-v6-c-table__sticky-cell--MinWidth: var(--pf-v6-c-table__sticky-cell--MinWidth--base);
4
5
  --pf-v6-c-table__sticky-cell--ZIndex: var(--pf-t--global--Zindex--xs);
@@ -13,7 +14,8 @@
13
14
  --pf-v6-c-table__sticky-cell--m-left--Left: 0;
14
15
  --pf-v6-c-table--m-sticky-header__sticky-cell--ZIndex: calc(var(--pf-v6-c-table__sticky-cell--ZIndex) + 1);
15
16
  }
16
- .pf-v6-c-table .pf-v6-c-table__sticky-cell {
17
+ :where(:root) .pf-v6-c-table__sticky-cell,
18
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell {
17
19
  --pf-v6-c-table--cell--Overflow: visible;
18
20
  --pf-v6-c-table--m-sticky-header--cell--ZIndex: var(--pf-v6-c-table--m-sticky-header__sticky-cell--ZIndex);
19
21
  position: sticky;
@@ -24,18 +26,24 @@
24
26
  background-color: var(--pf-v6-c-table__sticky-cell--BackgroundColor);
25
27
  background-clip: padding-box;
26
28
  }
27
- .pf-v6-c-table .pf-v6-c-table__sticky-cell.pf-m-border-right::before {
29
+ :where(:root) .pf-v6-c-table__sticky-cell.pf-m-border-right::before,
30
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell.pf-m-border-right::before {
28
31
  --pf-v6-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-v6-c-table__sticky-cell--m-border-right--before--BorderRightWidth);
29
32
  --pf-v6-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-v6-c-table__sticky-cell--m-border-right--before--BorderRightColor);
30
33
  }
31
- .pf-v6-c-table .pf-v6-c-table__sticky-cell.pf-m-border-left::before {
34
+ :where(:root) .pf-v6-c-table__sticky-cell.pf-m-border-left::before,
35
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell.pf-m-border-left::before {
32
36
  --pf-v6-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-v6-c-table__sticky-cell--m-border-left--before--BorderLeftWidth);
33
37
  --pf-v6-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-v6-c-table__sticky-cell--m-border-left--before--BorderLeftColor);
34
38
  }
35
- .pf-v6-c-table .pf-v6-c-table__sticky-cell.pf-m-right, .pf-v6-c-table .pf-v6-c-table__sticky-cell.pf-m-inline-end {
39
+ :where(:root) .pf-v6-c-table__sticky-cell.pf-m-right, :where(:root) .pf-v6-c-table__sticky-cell.pf-m-inline-end,
40
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell.pf-m-right,
41
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell.pf-m-inline-end {
36
42
  --pf-v6-c-table__sticky-cell--Right: var(--pf-v6-c-table__sticky-cell--m-right--Right);
37
43
  }
38
- .pf-v6-c-table .pf-v6-c-table__sticky-cell.pf-m-left, .pf-v6-c-table .pf-v6-c-table__sticky-cell.pf-m-inline-start {
44
+ :where(:root) .pf-v6-c-table__sticky-cell.pf-m-left, :where(:root) .pf-v6-c-table__sticky-cell.pf-m-inline-start,
45
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell.pf-m-left,
46
+ :where(.pf-v6-c-table) .pf-v6-c-table__sticky-cell.pf-m-inline-start {
39
47
  --pf-v6-c-table__sticky-cell--Left: var(--pf-v6-c-table__sticky-cell--m-left--Left);
40
48
  }
41
49
 
@@ -177,7 +177,7 @@
177
177
  grid-column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
178
178
  align-items: start;
179
179
  }
180
- .pf-m-tree-view-grid.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > * {
180
+ .pf-m-tree-view-grid.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
181
181
  grid-column: 2;
182
182
  }
183
183
  .pf-m-tree-view-grid.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label]::before {
@@ -317,7 +317,7 @@
317
317
  grid-column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
318
318
  align-items: start;
319
319
  }
320
- .pf-m-tree-view-grid-md.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > * {
320
+ .pf-m-tree-view-grid-md.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
321
321
  grid-column: 2;
322
322
  }
323
323
  .pf-m-tree-view-grid-md.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label]::before {
@@ -458,7 +458,7 @@
458
458
  grid-column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
459
459
  align-items: start;
460
460
  }
461
- .pf-m-tree-view-grid-lg.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > * {
461
+ .pf-m-tree-view-grid-lg.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
462
462
  grid-column: 2;
463
463
  }
464
464
  .pf-m-tree-view-grid-lg.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label]::before {
@@ -599,7 +599,7 @@
599
599
  grid-column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
600
600
  align-items: start;
601
601
  }
602
- .pf-m-tree-view-grid-xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > * {
602
+ .pf-m-tree-view-grid-xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
603
603
  grid-column: 2;
604
604
  }
605
605
  .pf-m-tree-view-grid-xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label]::before {
@@ -740,7 +740,7 @@
740
740
  grid-column-gap: var(--pf-v6-c-table--m-tree-view-grid__tbody--cell--GridColumnGap);
741
741
  align-items: start;
742
742
  }
743
- .pf-m-tree-view-grid-2xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > * {
743
+ .pf-m-tree-view-grid-2xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label] > :where(th, td) {
744
744
  grid-column: 2;
745
745
  }
746
746
  .pf-m-tree-view-grid-2xl.pf-v6-c-table td:where(.pf-v6-c-table__td)[data-label]::before {