@patternfly/patternfly 6.3.0-prerelease.37 → 6.3.0-prerelease.39
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.
- package/components/Table/table-grid.css +30 -0
- package/components/Table/table-grid.scss +16 -0
- package/components/Table/table.css +21 -16
- package/components/Table/table.scss +31 -19
- package/components/_index.css +51 -16
- package/docs/components/Table/examples/Table.md +3 -15
- package/docs/demos/Table/examples/Table.md +12 -3
- package/package.json +1 -1
- package/patternfly-no-globals.css +51 -16
- package/patternfly.css +51 -16
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -98,6 +98,12 @@
|
|
|
98
98
|
.pf-m-grid.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
99
99
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
100
100
|
}
|
|
101
|
+
.pf-m-grid.pf-v6-c-table.pf-m-animate-expand {
|
|
102
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
103
|
+
}
|
|
104
|
+
.pf-m-grid.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
105
|
+
content: none;
|
|
106
|
+
}
|
|
101
107
|
.pf-m-grid.pf-v6-c-table.pf-m-expandable {
|
|
102
108
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
103
109
|
}
|
|
@@ -401,6 +407,12 @@
|
|
|
401
407
|
.pf-m-grid-md.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
402
408
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
403
409
|
}
|
|
410
|
+
.pf-m-grid-md.pf-v6-c-table.pf-m-animate-expand {
|
|
411
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
412
|
+
}
|
|
413
|
+
.pf-m-grid-md.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
414
|
+
content: none;
|
|
415
|
+
}
|
|
404
416
|
.pf-m-grid-md.pf-v6-c-table.pf-m-expandable {
|
|
405
417
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
406
418
|
}
|
|
@@ -707,6 +719,12 @@
|
|
|
707
719
|
.pf-m-grid-lg.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
708
720
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
709
721
|
}
|
|
722
|
+
.pf-m-grid-lg.pf-v6-c-table.pf-m-animate-expand {
|
|
723
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
724
|
+
}
|
|
725
|
+
.pf-m-grid-lg.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
726
|
+
content: none;
|
|
727
|
+
}
|
|
710
728
|
.pf-m-grid-lg.pf-v6-c-table.pf-m-expandable {
|
|
711
729
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
712
730
|
}
|
|
@@ -1013,6 +1031,12 @@
|
|
|
1013
1031
|
.pf-m-grid-xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
1014
1032
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
1015
1033
|
}
|
|
1034
|
+
.pf-m-grid-xl.pf-v6-c-table.pf-m-animate-expand {
|
|
1035
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
1036
|
+
}
|
|
1037
|
+
.pf-m-grid-xl.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
1038
|
+
content: none;
|
|
1039
|
+
}
|
|
1016
1040
|
.pf-m-grid-xl.pf-v6-c-table.pf-m-expandable {
|
|
1017
1041
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
1018
1042
|
}
|
|
@@ -1319,6 +1343,12 @@
|
|
|
1319
1343
|
.pf-m-grid-2xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
1320
1344
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
1321
1345
|
}
|
|
1346
|
+
.pf-m-grid-2xl.pf-v6-c-table.pf-m-animate-expand {
|
|
1347
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
1348
|
+
}
|
|
1349
|
+
.pf-m-grid-2xl.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
1350
|
+
content: none;
|
|
1351
|
+
}
|
|
1322
1352
|
.pf-m-grid-2xl.pf-v6-c-table.pf-m-expandable {
|
|
1323
1353
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
1324
1354
|
}
|
|
@@ -133,6 +133,8 @@
|
|
|
133
133
|
|
|
134
134
|
// - Table mobile layout
|
|
135
135
|
@include pf-mobile-layout {
|
|
136
|
+
$pf-mobile-parent: &;
|
|
137
|
+
|
|
136
138
|
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-grid--cell--PaddingBlockStart);
|
|
137
139
|
--#{$table}--cell--PaddingInlineEnd: var(--#{$table}--m-grid--cell--PaddingInlineEnd);
|
|
138
140
|
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--m-grid--cell--PaddingBlockEnd);
|
|
@@ -183,6 +185,20 @@
|
|
|
183
185
|
}
|
|
184
186
|
}
|
|
185
187
|
|
|
188
|
+
&.pf-m-animate-expand {
|
|
189
|
+
--#{$table}__expandable-row--Display: block;
|
|
190
|
+
|
|
191
|
+
> .#{$table}__tbody > .#{$table}__expandable-row {
|
|
192
|
+
&:not(.pf-m-expanded) {
|
|
193
|
+
> :is(.#{$table}__td, .#{$table}__th) {
|
|
194
|
+
&[data-label]::before {
|
|
195
|
+
content: none; // hides column header for non-expanded rows
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
186
202
|
// Remove border on tr inside non-expanded tbody in of expandable tables
|
|
187
203
|
&.pf-m-expandable {
|
|
188
204
|
--#{$table}__tr--BorderBlockEndWidth: 0; // nested table rows have no border
|
|
@@ -422,8 +422,11 @@
|
|
|
422
422
|
.pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
|
|
423
423
|
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
|
424
424
|
}
|
|
425
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody.pf-m-expanded > .pf-v6-c-table__control-row {
|
|
426
|
+
border-block-end: 0;
|
|
427
|
+
}
|
|
425
428
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row {
|
|
426
|
-
display: revert;
|
|
429
|
+
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
|
427
430
|
visibility: hidden;
|
|
428
431
|
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
429
432
|
transition-delay: 0s, 0s, var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
|
@@ -433,7 +436,7 @@
|
|
|
433
436
|
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
434
437
|
}
|
|
435
438
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row[hidden] {
|
|
436
|
-
display: revert;
|
|
439
|
+
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
|
437
440
|
}
|
|
438
441
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
439
442
|
visibility: visible;
|
|
@@ -455,6 +458,12 @@
|
|
|
455
458
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
|
456
459
|
max-height: 0;
|
|
457
460
|
}
|
|
461
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row.pf-m-expanded > :is(.pf-v6-c-table__th, .pf-v6-c-table__td):not(.pf-m-no-padding) {
|
|
462
|
+
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
|
463
|
+
}
|
|
464
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row) {
|
|
465
|
+
border-block-end: 0;
|
|
466
|
+
}
|
|
458
467
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__control-row.pf-m-no-animate-expand ~ .pf-v6-c-table__expandable-row {
|
|
459
468
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: 0s;
|
|
460
469
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
@@ -766,23 +775,20 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
766
775
|
position: relative;
|
|
767
776
|
border-block-end: 0 solid transparent;
|
|
768
777
|
}
|
|
769
|
-
.pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
770
|
-
.pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
778
|
+
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
779
|
+
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
771
780
|
padding-block-start: 0;
|
|
772
781
|
}
|
|
773
|
-
|
|
774
|
-
.pf-v6-c-
|
|
775
|
-
|
|
776
|
-
}
|
|
777
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__td.pf-m-no-padding,
|
|
778
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__th.pf-m-no-padding {
|
|
782
|
+
|
|
783
|
+
.pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
|
|
784
|
+
.pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
|
|
779
785
|
padding-block-start: 0;
|
|
780
786
|
padding-block-end: 0;
|
|
781
787
|
padding-inline-start: 0;
|
|
782
788
|
padding-inline-end: 0;
|
|
783
789
|
}
|
|
784
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__td.pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
|
785
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__th.pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
|
790
|
+
.pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
|
791
|
+
.pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
|
786
792
|
padding: 0;
|
|
787
793
|
border-radius: 0;
|
|
788
794
|
}
|
|
@@ -808,10 +814,6 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
808
814
|
border-block-end: 0;
|
|
809
815
|
}
|
|
810
816
|
|
|
811
|
-
.pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row) {
|
|
812
|
-
border-block-end: 0;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
817
|
.pf-v6-c-table.pf-m-compact {
|
|
816
818
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
|
817
819
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
|
@@ -871,6 +873,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
871
873
|
}
|
|
872
874
|
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row {
|
|
873
875
|
background-color: var(--pf-v6-c-table__control-row--BackgroundColor);
|
|
876
|
+
border-block-end: var(--pf-v6-c-table__control-row--BorderBlockEndWidth) solid var(--pf-v6-c-table__control-row__tbody--BorderBlockEndColor);
|
|
877
|
+
}
|
|
878
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row.pf-m-expanded {
|
|
874
879
|
border-block-end: 0;
|
|
875
880
|
}
|
|
876
881
|
|
|
@@ -596,8 +596,14 @@
|
|
|
596
596
|
// stylelint-disable max-nesting-depth, selector-max-class
|
|
597
597
|
&.pf-m-animate-expand {
|
|
598
598
|
> .#{$table}__tbody {
|
|
599
|
+
&.pf-m-expanded {
|
|
600
|
+
> .#{$table}__control-row {
|
|
601
|
+
border-block-end: 0;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
599
605
|
> .#{$table}__expandable-row {
|
|
600
|
-
display: revert;
|
|
606
|
+
display: var(--#{$table}__expandable-row--Display, revert);
|
|
601
607
|
visibility: hidden;
|
|
602
608
|
opacity: var(--#{$table}__expandable-row--Opacity);
|
|
603
609
|
transition-delay: 0s, 0s, var(--#{$table}__expandable-row--TransitionDuration--collapse--fade), var(--#{$table}__expandable-row--TransitionDuration--collapse--fade);
|
|
@@ -607,7 +613,7 @@
|
|
|
607
613
|
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
608
614
|
|
|
609
615
|
&[hidden] {
|
|
610
|
-
display: revert;
|
|
616
|
+
display: var(--#{$table}__expandable-row--Display, revert);
|
|
611
617
|
}
|
|
612
618
|
|
|
613
619
|
&.pf-m-expanded {
|
|
@@ -641,6 +647,17 @@
|
|
|
641
647
|
}
|
|
642
648
|
}
|
|
643
649
|
|
|
650
|
+
// Add padding back to compound expandable
|
|
651
|
+
> .#{$table}__control-row ~ .#{$table}__expandable-row.pf-m-expanded {
|
|
652
|
+
> :is(.#{$table}__th, .#{$table}__td):not(.pf-m-no-padding) {
|
|
653
|
+
padding-block-start: var(--#{$table}--cell--PaddingBlockStart);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
> .#{$table}__tr:has(~ .#{$table}__expandable-row) {
|
|
658
|
+
border-block-end: 0;
|
|
659
|
+
}
|
|
660
|
+
|
|
644
661
|
> .#{$table}__control-row.pf-m-no-animate-expand ~ .#{$table}__expandable-row {
|
|
645
662
|
--#{$table}__expandable-row--TransitionDuration--collapse--fade: 0s;
|
|
646
663
|
--#{$table}__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
@@ -649,7 +666,7 @@
|
|
|
649
666
|
}
|
|
650
667
|
}
|
|
651
668
|
}
|
|
652
|
-
// stylelint-enable
|
|
669
|
+
// stylelint-enable
|
|
653
670
|
}
|
|
654
671
|
|
|
655
672
|
// - Table truncate - Table wrap - Table nowrap - Table fit content - Table wrap - Table break word
|
|
@@ -1042,22 +1059,15 @@
|
|
|
1042
1059
|
position: relative;
|
|
1043
1060
|
border-block-end: 0 solid transparent;
|
|
1044
1061
|
|
|
1045
|
-
|
|
1046
|
-
> .#{$table}__th,
|
|
1047
|
-
> .#{$table}__td {
|
|
1048
|
-
padding-block-start: 0;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
// Add padding back to compound expandable
|
|
1052
|
-
.#{$table}__control-row ~ & {
|
|
1062
|
+
@at-root :not(.#{$table}__control-row) ~ .#{$table}__expandable-row {
|
|
1053
1063
|
> .#{$table}__th,
|
|
1054
1064
|
> .#{$table}__td {
|
|
1055
|
-
padding-block-start:
|
|
1065
|
+
padding-block-start: 0;
|
|
1056
1066
|
}
|
|
1057
1067
|
}
|
|
1058
1068
|
|
|
1059
|
-
.#{$table}__td,
|
|
1060
|
-
.#{$table}__th {
|
|
1069
|
+
td:where(.#{$table}__td),
|
|
1070
|
+
th:where(.#{$table}__th) {
|
|
1061
1071
|
&.pf-m-no-padding {
|
|
1062
1072
|
padding-block-start: 0;
|
|
1063
1073
|
padding-block-end: 0;
|
|
@@ -1101,10 +1111,6 @@
|
|
|
1101
1111
|
}
|
|
1102
1112
|
}
|
|
1103
1113
|
|
|
1104
|
-
.#{$table}__tr:has(~ .#{$table}__expandable-row) {
|
|
1105
|
-
border-block-end: 0;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
1114
|
// - Table compact
|
|
1109
1115
|
.#{$table}.pf-m-compact {
|
|
1110
1116
|
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-compact--cell--PaddingBlockStart);
|
|
@@ -1194,7 +1200,13 @@
|
|
|
1194
1200
|
// - Table tbody table control row
|
|
1195
1201
|
.#{$table}__control-row {
|
|
1196
1202
|
background-color: var(--#{$table}__control-row--BackgroundColor);
|
|
1197
|
-
border-block-end:
|
|
1203
|
+
border-block-end: var(--#{$table}__control-row--BorderBlockEndWidth) solid var(--#{$table}__control-row__tbody--BorderBlockEndColor);
|
|
1204
|
+
|
|
1205
|
+
// stylelint-disable max-nesting-depth, selector-max-class
|
|
1206
|
+
&.pf-m-expanded {
|
|
1207
|
+
border-block-end: 0; // TODO this is a dupe of the block above, consolidate in a breaking change
|
|
1208
|
+
}
|
|
1209
|
+
// stylelint-enable
|
|
1198
1210
|
}
|
|
1199
1211
|
}
|
|
1200
1212
|
}
|
package/components/_index.css
CHANGED
|
@@ -15747,6 +15747,12 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
15747
15747
|
.pf-m-grid.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
15748
15748
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
15749
15749
|
}
|
|
15750
|
+
.pf-m-grid.pf-v6-c-table.pf-m-animate-expand {
|
|
15751
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
15752
|
+
}
|
|
15753
|
+
.pf-m-grid.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
15754
|
+
content: none;
|
|
15755
|
+
}
|
|
15750
15756
|
.pf-m-grid.pf-v6-c-table.pf-m-expandable {
|
|
15751
15757
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
15752
15758
|
}
|
|
@@ -16050,6 +16056,12 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16050
16056
|
.pf-m-grid-md.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
16051
16057
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
16052
16058
|
}
|
|
16059
|
+
.pf-m-grid-md.pf-v6-c-table.pf-m-animate-expand {
|
|
16060
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
16061
|
+
}
|
|
16062
|
+
.pf-m-grid-md.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
16063
|
+
content: none;
|
|
16064
|
+
}
|
|
16053
16065
|
.pf-m-grid-md.pf-v6-c-table.pf-m-expandable {
|
|
16054
16066
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
16055
16067
|
}
|
|
@@ -16356,6 +16368,12 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16356
16368
|
.pf-m-grid-lg.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
16357
16369
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
16358
16370
|
}
|
|
16371
|
+
.pf-m-grid-lg.pf-v6-c-table.pf-m-animate-expand {
|
|
16372
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
16373
|
+
}
|
|
16374
|
+
.pf-m-grid-lg.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
16375
|
+
content: none;
|
|
16376
|
+
}
|
|
16359
16377
|
.pf-m-grid-lg.pf-v6-c-table.pf-m-expandable {
|
|
16360
16378
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
16361
16379
|
}
|
|
@@ -16662,6 +16680,12 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16662
16680
|
.pf-m-grid-xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
16663
16681
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
16664
16682
|
}
|
|
16683
|
+
.pf-m-grid-xl.pf-v6-c-table.pf-m-animate-expand {
|
|
16684
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
16685
|
+
}
|
|
16686
|
+
.pf-m-grid-xl.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
16687
|
+
content: none;
|
|
16688
|
+
}
|
|
16665
16689
|
.pf-m-grid-xl.pf-v6-c-table.pf-m-expandable {
|
|
16666
16690
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
16667
16691
|
}
|
|
@@ -16968,6 +16992,12 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
16968
16992
|
.pf-m-grid-2xl.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody):first-of-type {
|
|
16969
16993
|
border-block-start: var(--pf-v6-c-table__tbody--responsive--border-width--base) solid var(--pf-v6-c-table--responsive--BorderColor);
|
|
16970
16994
|
}
|
|
16995
|
+
.pf-m-grid-2xl.pf-v6-c-table.pf-m-animate-expand {
|
|
16996
|
+
--pf-v6-c-table__expandable-row--Display: block;
|
|
16997
|
+
}
|
|
16998
|
+
.pf-m-grid-2xl.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th)[data-label]::before {
|
|
16999
|
+
content: none;
|
|
17000
|
+
}
|
|
16971
17001
|
.pf-m-grid-2xl.pf-v6-c-table.pf-m-expandable {
|
|
16972
17002
|
--pf-v6-c-table__tr--BorderBlockEndWidth: 0;
|
|
16973
17003
|
}
|
|
@@ -17658,8 +17688,11 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
17658
17688
|
.pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
|
|
17659
17689
|
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
|
17660
17690
|
}
|
|
17691
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody.pf-m-expanded > .pf-v6-c-table__control-row {
|
|
17692
|
+
border-block-end: 0;
|
|
17693
|
+
}
|
|
17661
17694
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row {
|
|
17662
|
-
display: revert;
|
|
17695
|
+
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
|
17663
17696
|
visibility: hidden;
|
|
17664
17697
|
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
17665
17698
|
transition-delay: 0s, 0s, var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
|
@@ -17669,7 +17702,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
17669
17702
|
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
17670
17703
|
}
|
|
17671
17704
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row[hidden] {
|
|
17672
|
-
display: revert;
|
|
17705
|
+
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
|
17673
17706
|
}
|
|
17674
17707
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
17675
17708
|
visibility: visible;
|
|
@@ -17691,6 +17724,12 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
17691
17724
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
|
17692
17725
|
max-height: 0;
|
|
17693
17726
|
}
|
|
17727
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row.pf-m-expanded > :is(.pf-v6-c-table__th, .pf-v6-c-table__td):not(.pf-m-no-padding) {
|
|
17728
|
+
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
|
17729
|
+
}
|
|
17730
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row) {
|
|
17731
|
+
border-block-end: 0;
|
|
17732
|
+
}
|
|
17694
17733
|
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__control-row.pf-m-no-animate-expand ~ .pf-v6-c-table__expandable-row {
|
|
17695
17734
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: 0s;
|
|
17696
17735
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
@@ -18002,23 +18041,20 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
18002
18041
|
position: relative;
|
|
18003
18042
|
border-block-end: 0 solid transparent;
|
|
18004
18043
|
}
|
|
18005
|
-
.pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
18006
|
-
.pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
18044
|
+
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
18045
|
+
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
18007
18046
|
padding-block-start: 0;
|
|
18008
18047
|
}
|
|
18009
|
-
|
|
18010
|
-
.pf-v6-c-
|
|
18011
|
-
|
|
18012
|
-
}
|
|
18013
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__td.pf-m-no-padding,
|
|
18014
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__th.pf-m-no-padding {
|
|
18048
|
+
|
|
18049
|
+
.pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
|
|
18050
|
+
.pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
|
|
18015
18051
|
padding-block-start: 0;
|
|
18016
18052
|
padding-block-end: 0;
|
|
18017
18053
|
padding-inline-start: 0;
|
|
18018
18054
|
padding-inline-end: 0;
|
|
18019
18055
|
}
|
|
18020
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__td.pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
|
18021
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__th.pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
|
18056
|
+
.pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
|
18057
|
+
.pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
|
18022
18058
|
padding: 0;
|
|
18023
18059
|
border-radius: 0;
|
|
18024
18060
|
}
|
|
@@ -18044,10 +18080,6 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
18044
18080
|
border-block-end: 0;
|
|
18045
18081
|
}
|
|
18046
18082
|
|
|
18047
|
-
.pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row) {
|
|
18048
|
-
border-block-end: 0;
|
|
18049
|
-
}
|
|
18050
|
-
|
|
18051
18083
|
.pf-v6-c-table.pf-m-compact {
|
|
18052
18084
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
|
18053
18085
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
|
@@ -18107,6 +18139,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
18107
18139
|
}
|
|
18108
18140
|
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row {
|
|
18109
18141
|
background-color: var(--pf-v6-c-table__control-row--BackgroundColor);
|
|
18142
|
+
border-block-end: var(--pf-v6-c-table__control-row--BorderBlockEndWidth) solid var(--pf-v6-c-table__control-row__tbody--BorderBlockEndColor);
|
|
18143
|
+
}
|
|
18144
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row.pf-m-expanded {
|
|
18110
18145
|
border-block-end: 0;
|
|
18111
18146
|
}
|
|
18112
18147
|
|
|
@@ -1774,7 +1774,7 @@ Note: Table column widths will respond automatically when toggling expanded rows
|
|
|
1774
1774
|
|
|
1775
1775
|
### Animated expandable
|
|
1776
1776
|
|
|
1777
|
-
```html
|
|
1777
|
+
```html isBeta
|
|
1778
1778
|
<table
|
|
1779
1779
|
class="pf-v6-c-table pf-m-grid-lg pf-m-animate-expand pf-m-expandable"
|
|
1780
1780
|
role="grid"
|
|
@@ -1958,7 +1958,6 @@ Note: Table column widths will respond automatically when toggling expanded rows
|
|
|
1958
1958
|
</button>
|
|
1959
1959
|
</td>
|
|
1960
1960
|
</tr>
|
|
1961
|
-
|
|
1962
1961
|
<tr
|
|
1963
1962
|
class="pf-v6-c-table__tr pf-v6-c-table__expandable-row pf-m-expanded"
|
|
1964
1963
|
role="row"
|
|
@@ -2053,7 +2052,6 @@ Note: Table column widths will respond automatically when toggling expanded rows
|
|
|
2053
2052
|
</button>
|
|
2054
2053
|
</td>
|
|
2055
2054
|
</tr>
|
|
2056
|
-
|
|
2057
2055
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
2058
2056
|
<td
|
|
2059
2057
|
class="pf-v6-c-table__td"
|
|
@@ -2135,7 +2133,6 @@ Note: Table column widths will respond automatically when toggling expanded rows
|
|
|
2135
2133
|
</button>
|
|
2136
2134
|
</td>
|
|
2137
2135
|
</tr>
|
|
2138
|
-
|
|
2139
2136
|
<tr
|
|
2140
2137
|
class="pf-v6-c-table__tr pf-v6-c-table__expandable-row pf-m-expanded"
|
|
2141
2138
|
role="row"
|
|
@@ -2220,7 +2217,6 @@ Note: Table column widths will respond automatically when toggling expanded rows
|
|
|
2220
2217
|
</button>
|
|
2221
2218
|
</td>
|
|
2222
2219
|
</tr>
|
|
2223
|
-
|
|
2224
2220
|
<tr
|
|
2225
2221
|
class="pf-v6-c-table__tr pf-v6-c-table__expandable-row pf-m-expanded"
|
|
2226
2222
|
role="row"
|
|
@@ -5584,7 +5580,7 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
5584
5580
|
|
|
5585
5581
|
### Animated compound expansion example
|
|
5586
5582
|
|
|
5587
|
-
```html
|
|
5583
|
+
```html isBeta
|
|
5588
5584
|
<table
|
|
5589
5585
|
class="pf-v6-c-table pf-m-grid-md pf-m-animate-expand pf-m-expandable"
|
|
5590
5586
|
role="grid"
|
|
@@ -5728,7 +5724,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
5728
5724
|
</button>
|
|
5729
5725
|
</td>
|
|
5730
5726
|
</tr>
|
|
5731
|
-
|
|
5732
5727
|
<tr
|
|
5733
5728
|
class="pf-v6-c-table__tr pf-v6-c-table__expandable-row pf-m-expanded"
|
|
5734
5729
|
role="row"
|
|
@@ -5947,7 +5942,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
5947
5942
|
</div>
|
|
5948
5943
|
</td>
|
|
5949
5944
|
</tr>
|
|
5950
|
-
|
|
5951
5945
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
5952
5946
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
5953
5947
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -6163,7 +6157,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
6163
6157
|
</div>
|
|
6164
6158
|
</td>
|
|
6165
6159
|
</tr>
|
|
6166
|
-
|
|
6167
6160
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
6168
6161
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
6169
6162
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -6444,7 +6437,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
6444
6437
|
</button>
|
|
6445
6438
|
</td>
|
|
6446
6439
|
</tr>
|
|
6447
|
-
|
|
6448
6440
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
6449
6441
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
6450
6442
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -6660,7 +6652,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
6660
6652
|
</div>
|
|
6661
6653
|
</td>
|
|
6662
6654
|
</tr>
|
|
6663
|
-
|
|
6664
6655
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
6665
6656
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
6666
6657
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -6876,7 +6867,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
6876
6867
|
</div>
|
|
6877
6868
|
</td>
|
|
6878
6869
|
</tr>
|
|
6879
|
-
|
|
6880
6870
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
6881
6871
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
6882
6872
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -7157,7 +7147,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
7157
7147
|
</button>
|
|
7158
7148
|
</td>
|
|
7159
7149
|
</tr>
|
|
7160
|
-
|
|
7161
7150
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
7162
7151
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
7163
7152
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -7373,7 +7362,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
7373
7362
|
</div>
|
|
7374
7363
|
</td>
|
|
7375
7364
|
</tr>
|
|
7376
|
-
|
|
7377
7365
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
7378
7366
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
7379
7367
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -7589,7 +7577,6 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
7589
7577
|
</div>
|
|
7590
7578
|
</td>
|
|
7591
7579
|
</tr>
|
|
7592
|
-
|
|
7593
7580
|
<tr class="pf-v6-c-table__tr pf-v6-c-table__expandable-row" role="row">
|
|
7594
7581
|
<td class="pf-v6-c-table__td pf-m-no-padding" role="cell" colspan="7">
|
|
7595
7582
|
<div class="pf-v6-c-table__expandable-row-content pf-m-no-background">
|
|
@@ -7823,6 +7810,7 @@ Note: To apply padding to `.pf-v6-c-table__expandable-row`, wrap the content in
|
|
|
7823
7810
|
| Class | Applied to | Outcome |
|
|
7824
7811
|
| -- | -- | -- |
|
|
7825
7812
|
| `.pf-v6-c-table__control-row` | `.pf-v6-c-table__expandable > <tr>` | Modifies a compound expandable table control row. |
|
|
7813
|
+
| `.pf-m-expanded` | `<tbody>`, `.pf-v6-c-table__compound-expansion-toggle` > `.pf-v6-c-button` | Modifies a tbody with a row and an expandable row. |
|
|
7826
7814
|
| `.pf-v6-c-table__compound-expansion-toggle` | `<td>` | Modifies a `<td>` on active/focus. |
|
|
7827
7815
|
| `.pf-m-animate-expand` | `.pf-v6-c-table` | Modifies the table to animate expansion. |
|
|
7828
7816
|
| `.pf-m-expanded` | `.pf-v6-c-table__tbody`, `.pf-v6-c-table__control-row`, `.pf-v6-c-table__compound-expansion-toggle` | Modifies a `<tbody>`, control row, and item in a control row for the expanded state. |
|
|
@@ -4979,7 +4979,10 @@ wrapperTag: div
|
|
|
4979
4979
|
</thead>
|
|
4980
4980
|
|
|
4981
4981
|
<tbody class="pf-v6-c-table__tbody pf-m-expanded" role="rowgroup">
|
|
4982
|
-
<tr
|
|
4982
|
+
<tr
|
|
4983
|
+
class="pf-v6-c-table__tr pf-v6-c-table__control-row pf-m-expanded"
|
|
4984
|
+
role="row"
|
|
4985
|
+
>
|
|
4983
4986
|
<th
|
|
4984
4987
|
class="pf-v6-c-table__th"
|
|
4985
4988
|
role="columnheader"
|
|
@@ -5720,7 +5723,10 @@ wrapperTag: div
|
|
|
5720
5723
|
</tbody>
|
|
5721
5724
|
|
|
5722
5725
|
<tbody class="pf-v6-c-table__tbody" role="rowgroup">
|
|
5723
|
-
<tr
|
|
5726
|
+
<tr
|
|
5727
|
+
class="pf-v6-c-table__tr pf-v6-c-table__control-row"
|
|
5728
|
+
role="row"
|
|
5729
|
+
>
|
|
5724
5730
|
<th
|
|
5725
5731
|
class="pf-v6-c-table__th"
|
|
5726
5732
|
role="columnheader"
|
|
@@ -6461,7 +6467,10 @@ wrapperTag: div
|
|
|
6461
6467
|
</tbody>
|
|
6462
6468
|
|
|
6463
6469
|
<tbody class="pf-v6-c-table__tbody" role="rowgroup">
|
|
6464
|
-
<tr
|
|
6470
|
+
<tr
|
|
6471
|
+
class="pf-v6-c-table__tr pf-v6-c-table__control-row"
|
|
6472
|
+
role="row"
|
|
6473
|
+
>
|
|
6465
6474
|
<th
|
|
6466
6475
|
class="pf-v6-c-table__th"
|
|
6467
6476
|
role="columnheader"
|