@patternfly/patternfly 6.0.0-alpha.98 → 6.0.0-alpha.99

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 (166) hide show
  1. package/components/Card/card.css +1 -0
  2. package/components/Card/card.scss +1 -0
  3. package/components/Check/check.css +10 -3
  4. package/components/Check/check.scss +17 -4
  5. package/components/Masthead/masthead.css +17 -9
  6. package/components/Masthead/masthead.scss +18 -9
  7. package/components/MenuToggle/menu-toggle.css +4 -4
  8. package/components/MenuToggle/menu-toggle.scss +4 -4
  9. package/components/ModalBox/modal-box.css +11 -7
  10. package/components/ModalBox/modal-box.scss +27 -12
  11. package/components/Nav/nav.css +64 -110
  12. package/components/Nav/nav.scss +70 -143
  13. package/components/Page/page.css +9 -17
  14. package/components/Page/page.scss +10 -23
  15. package/components/Radio/radio.css +12 -5
  16. package/components/Radio/radio.scss +21 -6
  17. package/components/Table/table-grid.css +30 -35
  18. package/components/Table/table-grid.scss +44 -32
  19. package/components/Table/table-scrollable.css +14 -6
  20. package/components/Table/table-scrollable.scss +6 -1
  21. package/components/Table/table-tree-view.css +5 -5
  22. package/components/Table/table-tree-view.scss +14 -8
  23. package/components/Table/table.css +90 -254
  24. package/components/Table/table.scss +158 -347
  25. package/components/Toolbar/toolbar.css +66 -2
  26. package/components/Toolbar/toolbar.scss +21 -2
  27. package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
  28. package/docs/components/Accordion/examples/Accordion.md +19 -19
  29. package/docs/components/ActionList/examples/ActionList.md +5 -5
  30. package/docs/components/Alert/examples/Alert.md +26 -26
  31. package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
  32. package/docs/components/Avatar/examples/Avatar.md +8 -8
  33. package/docs/components/BackToTop/examples/BackToTop.md +3 -3
  34. package/docs/components/Backdrop/examples/Backdrop.md +3 -3
  35. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  36. package/docs/components/Badge/examples/Badge.md +6 -6
  37. package/docs/components/Banner/examples/Banner.md +17 -17
  38. package/docs/components/Brand/examples/Brand.css +3 -3
  39. package/docs/components/Brand/examples/Brand.md +7 -7
  40. package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
  41. package/docs/components/Button/examples/Button.css +2 -2
  42. package/docs/components/Button/examples/Button.md +35 -35
  43. package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
  44. package/docs/components/Card/examples/Card.md +30 -30
  45. package/docs/components/Check/examples/Check.md +12 -12
  46. package/docs/components/Chip/examples/Chip.md +21 -21
  47. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
  48. package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
  49. package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
  50. package/docs/components/Content/examples/Content.md +5 -5
  51. package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
  52. package/docs/components/DataList/examples/DataList.md +177 -112
  53. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  54. package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
  55. package/docs/components/Divider/examples/Divider.md +7 -7
  56. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  57. package/docs/components/Drawer/examples/Drawer.md +36 -36
  58. package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
  59. package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
  60. package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
  61. package/docs/components/EmptyState/examples/EmptyState.md +21 -21
  62. package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
  63. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  64. package/docs/components/Form/examples/Form.md +52 -52
  65. package/docs/components/FormControl/examples/FormControl.md +22 -22
  66. package/docs/components/HelperText/examples/HelperText.md +11 -11
  67. package/docs/components/Hint/examples/Hint.md +6 -6
  68. package/docs/components/Icon/examples/Icon.md +13 -13
  69. package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
  70. package/docs/components/InputGroup/examples/InputGroup.md +10 -10
  71. package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
  72. package/docs/components/Label/examples/Label.css +4 -4
  73. package/docs/components/Label/examples/Label.md +45 -45
  74. package/docs/components/List/examples/List.md +6 -6
  75. package/docs/components/LogViewer/examples/LogViewer.css +2 -2
  76. package/docs/components/LogViewer/examples/LogViewer.md +45 -165
  77. package/docs/components/Login/examples/Login.md +21 -21
  78. package/docs/components/Masthead/examples/masthead.md +7 -7
  79. package/docs/components/Menu/examples/Menu.md +60 -60
  80. package/docs/components/MenuToggle/examples/MenuToggle.md +34 -106
  81. package/docs/components/ModalBox/examples/ModalBox.md +75 -34
  82. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
  83. package/docs/components/Nav/examples/Navigation.css +20 -3
  84. package/docs/components/Nav/examples/Navigation.md +44 -50
  85. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  86. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
  87. package/docs/components/NumberInput/examples/NumberInput.md +13 -13
  88. package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
  89. package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
  90. package/docs/components/Page/deprecated/PageHeader.md +30 -30
  91. package/docs/components/Page/examples/Page.md +55 -54
  92. package/docs/components/Pagination/examples/Pagination.md +25 -25
  93. package/docs/components/Panel/examples/Panel.md +10 -10
  94. package/docs/components/Popover/examples/Popover.md +30 -30
  95. package/docs/components/Progress/examples/Progress.md +31 -31
  96. package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
  97. package/docs/components/Radio/examples/Radio.md +9 -9
  98. package/docs/components/Select/deprecated/Select.md +110 -110
  99. package/docs/components/Sidebar/examples/Sidebar.md +16 -16
  100. package/docs/components/SimpleList/examples/SimpleList.md +9 -9
  101. package/docs/components/Skeleton/examples/Skeleton.md +14 -14
  102. package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
  103. package/docs/components/Slider/examples/Slider.md +33 -33
  104. package/docs/components/Spinner/examples/Spinner.md +14 -14
  105. package/docs/components/Switch/examples/Switch.md +14 -14
  106. package/docs/components/TabContent/examples/TabContent.md +10 -10
  107. package/docs/components/Table/examples/Table.md +5395 -15077
  108. package/docs/components/Tabs/examples/Tabs.md +39 -39
  109. package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
  110. package/docs/components/Tile/examples/Tile.md +12 -12
  111. package/docs/components/Timestamp/examples/Timestamp.md +4 -4
  112. package/docs/components/Title/examples/Title.md +20 -20
  113. package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
  114. package/docs/components/Toolbar/examples/Toolbar.md +68 -200
  115. package/docs/components/Tooltip/examples/Tooltip.md +9 -9
  116. package/docs/components/TreeView/examples/TreeView.md +31 -31
  117. package/docs/components/Truncate/examples/Truncate.md +8 -8
  118. package/docs/components/Wizard/examples/Wizard.md +46 -46
  119. package/docs/demos/AboutModal/examples/AboutModal.md +4 -52
  120. package/docs/demos/Alert/examples/Alert.md +12 -156
  121. package/docs/demos/BackToTop/examples/BackToTop.md +4 -52
  122. package/docs/demos/Banner/examples/Banner.md +9 -105
  123. package/docs/demos/Card/examples/Card.md +12 -19
  124. package/docs/demos/CardView/examples/CardView.md +5 -65
  125. package/docs/demos/ContextSelector/examples/ContextSelector.md +12 -156
  126. package/docs/demos/Dashboard/examples/Dashboard.md +4 -52
  127. package/docs/demos/DataList/examples/DataList.md +200 -553
  128. package/docs/demos/DescriptionList/examples/DescriptionList.md +18 -156
  129. package/docs/demos/Drawer/examples/Drawer.md +20 -260
  130. package/docs/demos/JumpLinks/examples/JumpLinks.md +24 -312
  131. package/docs/demos/Masthead/examples/Masthead.md +23 -255
  132. package/docs/demos/Modal/examples/Modal.md +24 -312
  133. package/docs/demos/Nav/examples/Nav.md +69 -461
  134. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +20 -260
  135. package/docs/demos/Page/examples/Page.md +39 -505
  136. package/docs/demos/Page/examples/Penta.md +120 -53
  137. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +35 -455
  138. package/docs/demos/Skeleton/examples/Skeleton.md +4 -52
  139. package/docs/demos/Table/examples/Table.md +1598 -6045
  140. package/docs/demos/Tabs/examples/Tabs.md +143 -499
  141. package/docs/demos/Toolbar/examples/Toolbar.md +245 -925
  142. package/docs/demos/Wizard/examples/Wizard.md +36 -468
  143. package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
  144. package/docs/layouts/Flex/examples/Flex.md +76 -76
  145. package/docs/layouts/Gallery/examples/Gallery.md +6 -6
  146. package/docs/layouts/Grid/examples/Grid.md +8 -8
  147. package/docs/layouts/Level/examples/Level.md +4 -4
  148. package/docs/layouts/Split/examples/Split.md +6 -6
  149. package/docs/layouts/Stack/examples/Stack.md +5 -5
  150. package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
  151. package/docs/utilities/Alignment/examples/Alignment.md +4 -4
  152. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
  153. package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
  154. package/docs/utilities/Display/examples/Display.md +9 -9
  155. package/docs/utilities/Flex/examples/Flex.md +32 -32
  156. package/docs/utilities/Float/examples/Float.md +2 -2
  157. package/docs/utilities/Sizing/examples/Sizing.md +41 -41
  158. package/docs/utilities/Spacing/examples/Spacing.md +11 -11
  159. package/docs/utilities/Text/examples/Text.md +28 -28
  160. package/package.json +2 -1
  161. package/patternfly-no-globals.css +347 -463
  162. package/patternfly-theme-dark-unversioned.css +347 -463
  163. package/patternfly.css +347 -463
  164. package/patternfly.min.css +1 -1
  165. package/patternfly.min.css.map +1 -1
  166. package/components/Table/themes/dark/table.scss +0 -16
@@ -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
  }
@@ -29,6 +29,7 @@
29
29
  }
30
30
  }
31
31
 
32
+ // - Table grid
32
33
  .#{$table}[class*="pf-m-grid"] {
33
34
  // ============================================================ //
34
35
  // Start non-conformant variables
@@ -37,16 +38,16 @@
37
38
  // this is purposeful and necessary to avoid adding selectors to each td/th
38
39
  // ============================================================ //
39
40
 
40
- // Table
41
+ // * Table responsive
41
42
  --#{$table}--responsive--BorderColor: var(--pf-t--global--border--color--default);
42
43
 
43
- // Body
44
+ // * Table body
44
45
  --#{$table}__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
45
46
  --#{$table}__tbody--after--border-width--base: var(--pf-t--global--border--width--extra-strong);
46
47
  --#{$table}__tbody--after--BorderLeftWidth: 0;
47
48
  --#{$table}__tbody--after--BorderColor: var(--pf-t--global--border--color--clicked);
48
49
 
49
- // Row
50
+ // * Table tr responsive
50
51
  --#{$table}__tr--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
51
52
  --#{$table}__tr--responsive--last-child--BorderBottomWidth: var(--#{$table}__tbody--responsive--border-width--base);
52
53
  --#{$table}__tr--responsive--GridColumnGap: var(--pf-t--global--spacer--md);
@@ -62,26 +63,26 @@
62
63
  --#{$table}__tr--responsive--nested-table--PaddingBottom: var(--pf-t--global--spacer--xl);
63
64
  --#{$table}__tr--responsive--nested-table--PaddingLeft: var(--pf-t--global--spacer--lg);
64
65
 
65
- // expandable
66
+ // * Table tbody
66
67
  --#{$table}__tbody--after__tr--BorderLeftWidth: 0;
67
68
  --#{$table}__tbody--after__tr--BorderLeftColor: transparent;
68
69
  --#{$table}__tbody--m-expanded--after__tr--BorderLeftWidth: var(--#{$table}__expandable-row--after--border-width--base);
69
70
  --#{$table}__tbody--m-expanded--after__tr--BorderLeftColor: var(--pf-t--global--border--color--clicked);
70
71
 
71
- // selected
72
+ // * Table tbody selected
72
73
  --#{$table}__tbody--m-selected--after__tr--BorderLeftWidth: var(--#{$table}__expandable-row--after--border-width--base);
73
74
  --#{$table}__tbody--m-selected--after__tr--BorderLeftColor: var(--pf-t--global--border--color--clicked);
74
75
 
75
- // Cell display
76
+ // * Table grid cell
76
77
  --#{$table}--m-grid--cell--hidden-visible--Display: grid;
77
78
 
78
- // Cell
79
+ // * Table grid cell
79
80
  --#{$table}--m-grid--cell--PaddingTop: 0;
80
81
  --#{$table}--m-grid--cell--PaddingRight: 0;
81
82
  --#{$table}--m-grid--cell--PaddingBottom: 0;
82
83
  --#{$table}--m-grid--cell--PaddingLeft: 0;
83
84
 
84
- // Td
85
+ // * Table td responsive
85
86
  --#{$table}-td--responsive--GridColumnGap: var(--pf-t--global--spacer--md);
86
87
  --#{$table}--cell--responsive--PaddingTop: var(--pf-t--global--spacer--md);
87
88
  --#{$table}--cell--responsive--PaddingBottom: var(--pf-t--global--spacer--sm);
@@ -89,7 +90,7 @@
89
90
  --#{$table}--cell--responsive--PaddingRight: 0;
90
91
  --#{$table}--cell--responsive--PaddingLeft: 0;
91
92
 
92
- // Compact table
93
+ // * Table grid compact table
93
94
  --#{$table}--m-compact__tr--responsive--PaddingTop: var(--pf-t--global--spacer--sm);
94
95
  --#{$table}--m-compact__tr--responsive--PaddingBottom: var(--pf-t--global--spacer--sm);
95
96
  --#{$table}--m-compact__tr__td--responsive--PaddingTop: var(--pf-t--global--spacer--xs);
@@ -99,37 +100,38 @@
99
100
  --#{$table}--m-compact__action--responsive--MarginBottom: calc(var(--pf-t--global--spacer--xs) * -1);
100
101
  --#{$table}--m-compact__toggle--c-button--responsive--MarginBottom: calc(#{pf-size-prem(6px)} * -1);
101
102
 
102
- // Expandable row content
103
+ // * Table grid expandable row content
103
104
  --#{$table}__expandable-row-content--responsive--PaddingRight: var(--pf-t--global--spacer--lg);
104
105
  --#{$table}__expandable-row-content--responsive--PaddingLeft: var(--pf-t--global--spacer--lg);
105
106
  --#{$table}__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
106
107
 
107
- // Check
108
+ // * Table check
108
109
  --#{$table}__check--responsive--MarginLeft: var(--#{$table}__tbody--responsive--border-width--base);
109
110
  --#{$table}__check--responsive--MarginTop: #{pf-size-prem(14px)};
110
111
 
111
- // Favorite
112
+ // * Table grid favorite
112
113
  --#{$table}--m-grid__favorite--MarginTop: #{pf-size-prem(8px)};
113
114
  --#{$table}--m-grid__check--favorite--MarginLeft: var(--pf-t--global--spacer--xl);
114
115
 
115
- // Action
116
+ // * Table grid action
116
117
  --#{$table}--m-grid__action--MarginTop: #{pf-size-prem(6px)};
117
118
  --#{$table}__action--responsive--MarginLeft: var(--pf-t--global--spacer--xl);
118
119
  --#{$table}--m-grid__favorite--action--MarginLeft: var(--pf-t--global--spacer--2xl);
119
120
  --#{$table}--m-grid__check--favorite--action--MarginLeft: calc(var(--#{$table}--m-grid__check--favorite--MarginLeft) + var(--#{$table}--m-grid__favorite--action--MarginLeft));
120
121
 
121
- // Toggle icons
122
+ // * Table grid toggle icon
122
123
  --#{$table}__toggle__icon--Transition: .2s ease-in 0s;
123
124
  --#{$table}__toggle--m-expanded__icon--Rotate: 180deg;
124
125
  }
125
126
 
127
+ // - Table mobile layout
126
128
  @include pf-mobile-layout {
127
129
  --#{$table}--cell--PaddingTop: var(--#{$table}--m-grid--cell--PaddingTop);
128
130
  --#{$table}--cell--PaddingRight: var(--#{$table}--m-grid--cell--PaddingRight);
129
131
  --#{$table}--cell--PaddingBottom: var(--#{$table}--m-grid--cell--PaddingBottom);
130
132
  --#{$table}--cell--PaddingLeft: var(--#{$table}--m-grid--cell--PaddingLeft);
131
133
 
132
- // Favorite
134
+ // - Table favorite
133
135
  --#{$table}__favorite--c-button--MarginTop: auto;
134
136
  --#{$table}__favorite--c-button--MarginRight: auto;
135
137
  --#{$table}__favorite--c-button--MarginBottom: auto;
@@ -139,7 +141,7 @@
139
141
  border: none;
140
142
 
141
143
  // reset cell modifications
142
- tr:where(.#{$table}__tr) > * {
144
+ tr:where(.#{$table}__tr) > :where(th, td) {
143
145
  width: auto;
144
146
  min-width: 0;
145
147
  max-width: none;
@@ -159,12 +161,12 @@
159
161
  white-space: var(--#{$table}--cell--WhiteSpace);
160
162
  }
161
163
 
162
- // Thead
164
+ // - Table thead
163
165
  thead:where(.#{$table}__thead) {
164
166
  display: none;
165
167
  }
166
168
 
167
- // Tbody
169
+ // - Table tbody
168
170
  tbody:where(.#{$table}__tbody) {
169
171
  display: block;
170
172
 
@@ -178,7 +180,7 @@
178
180
  border-block-start: 0;
179
181
  }
180
182
 
181
- // Table row
183
+ // - Table grid not expandable row
182
184
  tr:where(.#{$table}__tr):not(.#{$table}__expandable-row) {
183
185
  border-block-end: var(--#{$table}__tr--responsive--border-width--base) solid var(--#{$table}--responsive--BorderColor);
184
186
  }
@@ -189,6 +191,7 @@
189
191
  border-block-end-width: var(--#{$table}__tr--responsive--last-child--BorderBottomWidth);
190
192
  }
191
193
 
194
+ // - Table grid tbody expanded
192
195
  tbody:where(.#{$table}__tbody).pf-m-expanded {
193
196
  border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
194
197
 
@@ -201,6 +204,7 @@
201
204
  }
202
205
  }
203
206
 
207
+ // - Table grid tr selected
204
208
  tr:where(.#{$table}__tr).pf-m-selected {
205
209
  --#{$table}__expandable-row--after--BorderLeftWidth: 0;
206
210
  --#{$table}__expandable-row--after--BorderColor: transparent;
@@ -208,6 +212,7 @@
208
212
 
209
213
  // Standard table row (non-expandable)
210
214
  // exclude expandable rows
215
+ // - Table grid tr not expandable row
211
216
  tr:where(.#{$table}__tr):not(.#{$table}__expandable-row) {
212
217
  display: grid;
213
218
  grid-template-columns: 1fr;
@@ -224,7 +229,7 @@
224
229
  padding-inline-start: var(--#{$table}__tr--responsive--PaddingLeft);
225
230
 
226
231
  // Reset td padding
227
- & > * {
232
+ & > :where(th, td) {
228
233
  padding-block-start: var(--#{$table}--cell--responsive--PaddingTop);
229
234
  padding-inline-end: var(--#{$table}--cell--responsive--PaddingRight);
230
235
  padding-block-end: var(--#{$table}--cell--responsive--PaddingBottom);
@@ -237,6 +242,7 @@
237
242
  }
238
243
  }
239
244
 
245
+ // - Table grid compact
240
246
  &.pf-m-compact {
241
247
  --#{$table}__tr--responsive--PaddingTop: var(--#{$table}--m-compact__tr--responsive--PaddingTop);
242
248
  --#{$table}__tr--responsive--PaddingBottom: var(--#{$table}--m-compact__tr--responsive--PaddingBottom);
@@ -259,7 +265,7 @@
259
265
  text-align: start;
260
266
  }
261
267
 
262
- // Standard td, in standard row (non-expandable)
268
+ // - Table grid th td data label
263
269
  :where(.#{$table}__th, .#{$table}__td)[data-label] {
264
270
  // default pf-v5-hidden-visible() mixin is called in table.scss. redefining variable here
265
271
  --#{$table}--cell--hidden-visible--Display: var(--#{$table}--m-grid--cell--hidden-visible--Display);
@@ -283,7 +289,7 @@
283
289
  }
284
290
  }
285
291
 
286
- tr:where(.#{$table}__tr) > * {
292
+ tr:where(.#{$table}__tr) > :where(th, td) {
287
293
  // Remove first child padding left
288
294
  &:first-child {
289
295
  --#{$table}--cell--PaddingLeft: 0;
@@ -295,7 +301,7 @@
295
301
  }
296
302
  }
297
303
 
298
- // nested tables
304
+ // - Table grid table
299
305
  .#{$table} {
300
306
  --#{$table}__tr--responsive--PaddingTop: var(--#{$table}__tr--responsive--nested-table--PaddingTop);
301
307
  --#{$table}__tr--responsive--PaddingRight: var(--#{$table}__tr--responsive--nested-table--PaddingRight);
@@ -309,6 +315,7 @@
309
315
  }
310
316
  }
311
317
 
318
+ // - Table grid compound expansion toggle
312
319
  .#{$table}__compound-expansion-toggle {
313
320
  --#{$table}__compound-expansion-toggle__button--before--BorderRightWidth: 0;
314
321
  --#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth: 0;
@@ -316,7 +323,7 @@
316
323
  }
317
324
 
318
325
  // Compound expansion responsive
319
- // Tbody
326
+ // - Table grid tbody
320
327
  tbody:where(.#{$table}__tbody) {
321
328
  position: relative;
322
329
 
@@ -347,7 +354,7 @@
347
354
  }
348
355
  }
349
356
 
350
- // Expandable row
357
+ // - Table grid expandable row
351
358
  .#{$table}__expandable-row {
352
359
  --#{$table}--cell--responsive--PaddingTop: 0;
353
360
  --#{$table}--cell--responsive--PaddingRight: 0;
@@ -360,10 +367,9 @@
360
367
  max-height: var(--#{$table}__expandable-row--MaxHeight); // Overflow scroll should only happen on responsive
361
368
  overflow-y: auto;
362
369
  border-block-end: none;
363
- box-shadow: none;
364
370
 
365
371
  // cells
366
- > * {
372
+ > :where(th, td) {
367
373
  position: static;
368
374
  display: block;
369
375
  }
@@ -397,7 +403,7 @@
397
403
  }
398
404
  }
399
405
 
400
- // tr selected
406
+ // - Table grid tbody hoverable
401
407
  tbody:where(.#{$table}__tbody).pf-m-hoverable {
402
408
  --#{$table}__tbody--after--BorderLeftWidth: 0;
403
409
  --#{$table}__tbody--after--BorderLeftColor: transparent;
@@ -429,7 +435,7 @@
429
435
  }
430
436
 
431
437
 
432
- // tr selected
438
+ // - Table grid tr selected
433
439
  tr:where(.#{$table}__tr).pf-m-selected {
434
440
  &::after {
435
441
  content: '';
@@ -453,6 +459,7 @@
453
459
  }
454
460
  }
455
461
 
462
+ // - Table grid toggle
456
463
  .#{$table}__toggle {
457
464
  grid-row-start: 20;
458
465
  grid-column: -1;
@@ -464,6 +471,7 @@
464
471
  }
465
472
  }
466
473
 
474
+ // - Table grid button
467
475
  .#{$table}__button {
468
476
  --#{$table}--cell--PaddingTop: var(--#{$table}--m-grid--cell--PaddingTop);
469
477
  --#{$table}--cell--PaddingRight: var(--#{$table}--m-grid--cell--PaddingRight);
@@ -471,6 +479,7 @@
471
479
  --#{$table}--cell--PaddingLeft: var(--#{$table}--m-grid--cell--PaddingLeft);
472
480
  }
473
481
 
482
+ // - Table grid check - Table grid favorite - Table grid action
474
483
  .#{$table}__check,
475
484
  .#{$table}__favorite,
476
485
  .#{$table}__action {
@@ -478,7 +487,7 @@
478
487
  grid-column-start: 2;
479
488
  }
480
489
 
481
- // Check table cell
490
+ // - Table grid check
482
491
  .#{$table}__check {
483
492
  margin-block-start: var(--#{$table}__check--responsive--MarginTop);
484
493
  margin-inline-start: var(--#{$table}__check--responsive--MarginLeft);
@@ -502,6 +511,7 @@
502
511
  }
503
512
  }
504
513
 
514
+ // - Table grid favorite
505
515
  .#{$table}__favorite {
506
516
  margin-block-start: var(--#{$table}--m-grid__favorite--MarginTop);
507
517
 
@@ -510,7 +520,7 @@
510
520
  }
511
521
  }
512
522
 
513
- // Action cell
523
+ // - Table grid action
514
524
  .#{$table}__action {
515
525
  margin-block-start: var(--#{$table}--m-grid__action--MarginTop);
516
526
  text-align: end;
@@ -523,11 +533,13 @@
523
533
  }
524
534
  }
525
535
 
536
+ // - Table grid inline edit action
526
537
  .#{$table}__inline-edit-action {
527
538
  grid-column: 2;
528
539
  grid-row: 2;
529
540
  }
530
541
 
542
+ // - Table grid toggle icon
531
543
  .#{$table}__toggle-icon {
532
544
  transition: var(--#{$table}__toggle__icon--Transition);
533
545
 
@@ -536,6 +548,7 @@
536
548
  }
537
549
  }
538
550
 
551
+ // - Table grid nowrap - Table grid fit content - Table grid truncate - Table grid width
539
552
  :where(.#{$table}, .#{$table}__thead, .#{$table}__tbody, .#{$table}__tr, .#{$table}__th, .#{$table}__td, .#{$table}__text) {
540
553
 
541
554
  // No wrap
@@ -559,5 +572,4 @@
559
572
  --#{$table}--cell--Width: auto;
560
573
  }
561
574
  }
562
-
563
575
  // stylelint-enable
@@ -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
 
@@ -1,4 +1,6 @@
1
- .#{$table} {
1
+ // * Table scrollable
2
+ :where(:root),
3
+ :where(.#{$table}) {
2
4
  --#{$table}__sticky-cell--MinWidth--base: #{pf-size-prem(200px)};
3
5
  --#{$table}__sticky-cell--MinWidth: var(--#{$table}__sticky-cell--MinWidth--base);
4
6
  --#{$table}__sticky-cell--ZIndex: var(--pf-t--global--Zindex--xs);
@@ -13,6 +15,7 @@
13
15
  --#{$table}__sticky-cell--m-left--Left: 0;
14
16
  --#{$table}--m-sticky-header__sticky-cell--ZIndex: calc(var(--#{$table}__sticky-cell--ZIndex) + 1);
15
17
 
18
+ // * Table sticky cell
16
19
  .#{$table}__sticky-cell {
17
20
  --#{$table}--cell--Overflow: visible;
18
21
  --#{$table}--m-sticky-header--cell--ZIndex: var(--#{$table}--m-sticky-header__sticky-cell--ZIndex);
@@ -48,6 +51,7 @@
48
51
  }
49
52
  }
50
53
 
54
+ // * Scroll outer wrapper
51
55
  .#{$scroll-outer-wrapper} {
52
56
  --#{$scroll-outer-wrapper}--MinHeight: #{pf-size-prem(400px)};
53
57
  --#{$scroll-outer-wrapper}--MaxHeight: 100%;
@@ -60,6 +64,7 @@
60
64
  overflow: hidden;
61
65
  }
62
66
 
67
+ // * Scroll inner wrapper
63
68
  .#{$scroll-inner-wrapper} {
64
69
  display: flex;
65
70
  flex-direction: column;