@patternfly/react-styles 6.3.0-prerelease.10 → 6.3.0-prerelease.11
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/CHANGELOG.md +6 -0
- package/css/components/Table/table-grid.css +95 -80
- package/css/components/Table/table-grid.d.ts +1 -0
- package/css/components/Table/table-grid.js +1 -0
- package/css/components/Table/table-grid.mjs +1 -0
- package/css/components/Table/table.css +70 -67
- package/css/components/Table/table.d.ts +2 -2
- package/css/components/Table/table.js +2 -2
- package/css/components/Table/table.mjs +2 -2
- package/css/components/_index.css +165 -147
- package/package.json +3 -3
@@ -14,6 +14,8 @@
|
|
14
14
|
--pf-v6-c-table__tbody--cell--PaddingBlockStart: var(--pf-v6-c-table--cell--Padding--base);
|
15
15
|
--pf-v6-c-table__tbody--cell--PaddingBlockEnd: var(--pf-v6-c-table--cell--Padding--base);
|
16
16
|
--pf-v6-c-table__tbody--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
17
|
+
--pf-v6-c-table__tbody--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
18
|
+
--pf-v6-c-table__tbody--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
17
19
|
--pf-v6-c-table__tr--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
18
20
|
--pf-v6-c-table__tr--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
19
21
|
--pf-v6-c-table--cell--Padding--base: var(--pf-t--global--spacer--md);
|
@@ -206,7 +208,7 @@
|
|
206
208
|
--pf-v6-c-table__sticky-column--BackgroundColor: var(--pf-v6-c-table--m-striped__tr--BackgroundColor);
|
207
209
|
background: var(--pf-v6-c-table--m-striped__tr--BackgroundColor);
|
208
210
|
}
|
209
|
-
.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row).pf-m-ghost-row {
|
211
|
+
.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row:where(:nth-child(n+2))).pf-m-ghost-row {
|
210
212
|
background-color: var(--pf-v6-c-table__tr--m-ghost-row--BackgroundColor);
|
211
213
|
opacity: var(--pf-v6-c-table__tr--m-ghost-row--Opacity);
|
212
214
|
}
|
@@ -406,7 +408,7 @@
|
|
406
408
|
background-color: var(--pf-v6-c-table__tbody--m-selected--BackgroundColor);
|
407
409
|
outline-offset: var(--pf-v6-c-table__tbody--m-selected--OutlineOffset);
|
408
410
|
}
|
409
|
-
.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody).pf-m-selected .pf-v6-c-table__tr.pf-m-expanded:not(.pf-v6-c-table__expandable-row) {
|
411
|
+
.pf-v6-c-table tbody:where(.pf-v6-c-table__tbody).pf-m-selected .pf-v6-c-table__tr.pf-m-expanded:not(.pf-v6-c-table__expandable-row:where(:nth-child(n+2))) {
|
410
412
|
border: none;
|
411
413
|
}
|
412
414
|
.pf-v6-c-table.pf-m-drag-over {
|
@@ -422,8 +424,8 @@
|
|
422
424
|
.pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
|
423
425
|
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
424
426
|
}
|
425
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row {
|
426
|
-
display: revert;
|
427
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)) {
|
428
|
+
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
427
429
|
visibility: hidden;
|
428
430
|
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
429
431
|
transition-delay: 0s, 0s, var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
@@ -432,30 +434,33 @@
|
|
432
434
|
transition-property: opacity, translate, visibility, background-color;
|
433
435
|
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
434
436
|
}
|
435
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row[hidden] {
|
436
|
-
display: revert;
|
437
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2))[hidden] {
|
438
|
+
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
437
439
|
}
|
438
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded {
|
440
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)).pf-m-expanded {
|
439
441
|
visibility: visible;
|
440
442
|
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
441
443
|
transition-delay: 0s;
|
442
444
|
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), 0s, 0s;
|
443
445
|
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
444
446
|
}
|
445
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
447
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)).pf-m-expanded > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
446
448
|
max-height: 99999px;
|
447
449
|
}
|
448
|
-
.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)
|
449
|
-
|
450
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)):not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) {
|
451
|
+
--pf-v6-c-table--cell--responsive--label: none;
|
452
|
+
}
|
453
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)):not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th),
|
454
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)):not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
450
455
|
padding: 0;
|
451
456
|
overflow: hidden;
|
452
457
|
transition-delay: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
453
458
|
transition-property: padding, max-height, overflow;
|
454
459
|
}
|
455
|
-
.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 {
|
460
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:where(:nth-child(n+2)):not(.pf-m-expanded) > :is(.pf-v6-c-table__td, .pf-v6-c-table__th) > .pf-v6-c-table__expandable-row-content {
|
456
461
|
max-height: 0;
|
457
462
|
}
|
458
|
-
.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 {
|
463
|
+
.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:where(:nth-child(n+2)) {
|
459
464
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: 0s;
|
460
465
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
461
466
|
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: 0s;
|
@@ -762,53 +767,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
762
767
|
pointer-events: none;
|
763
768
|
}
|
764
769
|
|
765
|
-
.pf-v6-c-table__expandable-row {
|
766
|
-
position: relative;
|
767
|
-
border-block-end: 0 solid transparent;
|
768
|
-
}
|
769
|
-
.pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
770
|
-
.pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
771
|
-
padding-block-start: 0;
|
772
|
-
}
|
773
|
-
.pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
774
|
-
.pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
775
|
-
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
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 {
|
779
|
-
padding-block-start: 0;
|
780
|
-
padding-block-end: 0;
|
781
|
-
padding-inline-start: 0;
|
782
|
-
padding-inline-end: 0;
|
783
|
-
}
|
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 {
|
786
|
-
padding: 0;
|
787
|
-
border-radius: 0;
|
788
|
-
}
|
789
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content {
|
790
|
-
padding-block-start: var(--pf-v6-c-table__expandable-row-content--PaddingBlockStart);
|
791
|
-
padding-block-end: var(--pf-v6-c-table__expandable-row-content--PaddingBlockEnd);
|
792
|
-
padding-inline-start: var(--pf-v6-c-table__expandable-row-content--PaddingInlineStart);
|
793
|
-
padding-inline-end: var(--pf-v6-c-table__expandable-row-content--PaddingInlineEnd);
|
794
|
-
background-color: var(--pf-v6-c-table__expandable-row-content--BackgroundColor);
|
795
|
-
border-radius: var(--pf-v6-c-table__expandable-row-content--BorderRadius);
|
796
|
-
}
|
797
|
-
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content.pf-m-no-background {
|
798
|
-
background-color: transparent;
|
799
|
-
}
|
800
|
-
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
801
|
-
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
802
|
-
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
803
|
-
}
|
804
|
-
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
805
|
-
display: none;
|
806
|
-
}
|
807
|
-
.pf-v6-c-table__expandable-row tr:last-child {
|
808
|
-
border-block-end: 0;
|
809
|
-
}
|
810
|
-
|
811
|
-
.pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row) {
|
770
|
+
.pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row.pf-m-expanded) {
|
812
771
|
border-block-end: 0;
|
813
772
|
}
|
814
773
|
|
@@ -816,7 +775,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
816
775
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
817
776
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
818
777
|
}
|
819
|
-
.pf-v6-c-table.pf-m-compact tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) {
|
778
|
+
.pf-v6-c-table.pf-m-compact tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row:where(:nth-child(n+2))) {
|
820
779
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
821
780
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
822
781
|
}
|
@@ -860,16 +819,14 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
860
819
|
background-color: var(--pf-v6-c-table--compound-expansion--m-expanded--BackgroundColor);
|
861
820
|
}
|
862
821
|
|
863
|
-
.pf-v6-c-
|
822
|
+
.pf-v6-c-table__tr.pf-m-expanded:has(~ .pf-v6-c-table__expandable-row) {
|
864
823
|
border-block-end: 0;
|
865
824
|
}
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded {
|
870
|
-
border-block-end: var(--pf-v6-c-table__tr--BorderBlockEndWidth) solid var(--pf-v6-c-table__tr--BorderBlockEndColor);
|
825
|
+
|
826
|
+
.pf-v6-c-table__tbody.pf-m-expanded, .pf-v6-c-table__tbody:has(> .pf-v6-c-table__expandable-row.pf-m-expanded) {
|
827
|
+
border-block-end: var(--pf-v6-c-table__tbody--BorderBlockEndWidth) solid var(--pf-v6-c-table__tbody--BorderBlockEndColor);
|
871
828
|
}
|
872
|
-
.pf-v6-c-
|
829
|
+
.pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row {
|
873
830
|
background-color: var(--pf-v6-c-table__control-row--BackgroundColor);
|
874
831
|
border-block-end: 0;
|
875
832
|
}
|
@@ -884,6 +841,52 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
884
841
|
border-block-end: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
|
885
842
|
}
|
886
843
|
|
844
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) {
|
845
|
+
position: relative;
|
846
|
+
border-block-end: 0 solid transparent;
|
847
|
+
}
|
848
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) > .pf-v6-c-table__th,
|
849
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) > .pf-v6-c-table__td {
|
850
|
+
padding-block-start: 0;
|
851
|
+
}
|
852
|
+
.pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row:where(:nth-child(n+2)) > .pf-v6-c-table__th,
|
853
|
+
.pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row:where(:nth-child(n+2)) > .pf-v6-c-table__td {
|
854
|
+
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
855
|
+
}
|
856
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) .pf-v6-c-table__td.pf-m-no-padding,
|
857
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) .pf-v6-c-table__th.pf-m-no-padding {
|
858
|
+
padding-block-start: 0;
|
859
|
+
padding-block-end: 0;
|
860
|
+
padding-inline-start: 0;
|
861
|
+
padding-inline-end: 0;
|
862
|
+
}
|
863
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) .pf-v6-c-table__td.pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
864
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) .pf-v6-c-table__th.pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
865
|
+
padding: 0;
|
866
|
+
border-radius: 0;
|
867
|
+
}
|
868
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) .pf-v6-c-table__expandable-row-content {
|
869
|
+
padding-block-start: var(--pf-v6-c-table__expandable-row-content--PaddingBlockStart);
|
870
|
+
padding-block-end: var(--pf-v6-c-table__expandable-row-content--PaddingBlockEnd);
|
871
|
+
padding-inline-start: var(--pf-v6-c-table__expandable-row-content--PaddingInlineStart);
|
872
|
+
padding-inline-end: var(--pf-v6-c-table__expandable-row-content--PaddingInlineEnd);
|
873
|
+
background-color: var(--pf-v6-c-table__expandable-row-content--BackgroundColor);
|
874
|
+
border-radius: var(--pf-v6-c-table__expandable-row-content--BorderRadius);
|
875
|
+
}
|
876
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) .pf-v6-c-table__expandable-row-content.pf-m-no-background {
|
877
|
+
background-color: transparent;
|
878
|
+
}
|
879
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)).pf-m-expanded {
|
880
|
+
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
881
|
+
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
882
|
+
}
|
883
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)):not(.pf-m-expanded) {
|
884
|
+
display: none;
|
885
|
+
}
|
886
|
+
.pf-v6-c-table__expandable-row:where(:nth-child(n+2)) tr:last-child {
|
887
|
+
border-block-end: 0;
|
888
|
+
}
|
889
|
+
|
887
890
|
.pf-v6-c-table__icon-inline {
|
888
891
|
display: flex;
|
889
892
|
align-items: center;
|
@@ -43,10 +43,10 @@ declare const _default: {
|
|
43
43
|
"breakWord": "pf-m-break-word",
|
44
44
|
"standalone": "pf-m-standalone",
|
45
45
|
"favorited": "pf-m-favorited",
|
46
|
-
"noPadding": "pf-m-no-padding",
|
47
|
-
"noBackground": "pf-m-no-background",
|
48
46
|
"compact": "pf-m-compact",
|
49
47
|
"borderRow": "pf-m-border-row",
|
48
|
+
"noPadding": "pf-m-no-padding",
|
49
|
+
"noBackground": "pf-m-no-background",
|
50
50
|
"width_10": "pf-m-width-10",
|
51
51
|
"width_15": "pf-m-width-15",
|
52
52
|
"width_20": "pf-m-width-20",
|
@@ -45,10 +45,10 @@ exports.default = {
|
|
45
45
|
"breakWord": "pf-m-break-word",
|
46
46
|
"standalone": "pf-m-standalone",
|
47
47
|
"favorited": "pf-m-favorited",
|
48
|
-
"noPadding": "pf-m-no-padding",
|
49
|
-
"noBackground": "pf-m-no-background",
|
50
48
|
"compact": "pf-m-compact",
|
51
49
|
"borderRow": "pf-m-border-row",
|
50
|
+
"noPadding": "pf-m-no-padding",
|
51
|
+
"noBackground": "pf-m-no-background",
|
52
52
|
"width_10": "pf-m-width-10",
|
53
53
|
"width_15": "pf-m-width-15",
|
54
54
|
"width_20": "pf-m-width-20",
|
@@ -43,10 +43,10 @@ export default {
|
|
43
43
|
"breakWord": "pf-m-break-word",
|
44
44
|
"standalone": "pf-m-standalone",
|
45
45
|
"favorited": "pf-m-favorited",
|
46
|
-
"noPadding": "pf-m-no-padding",
|
47
|
-
"noBackground": "pf-m-no-background",
|
48
46
|
"compact": "pf-m-compact",
|
49
47
|
"borderRow": "pf-m-border-row",
|
48
|
+
"noPadding": "pf-m-no-padding",
|
49
|
+
"noBackground": "pf-m-no-background",
|
50
50
|
"width_10": "pf-m-width-10",
|
51
51
|
"width_15": "pf-m-width-15",
|
52
52
|
"width_20": "pf-m-width-20",
|