@patternfly/react-styles 6.3.0-prerelease.11 → 6.3.0-prerelease.13
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 +12 -0
- package/css/components/Button/button.css +1 -1
- package/css/components/Table/table-grid.css +95 -80
- package/css/components/Table/table-grid.d.ts +1 -1
- package/css/components/Table/table-grid.js +1 -1
- package/css/components/Table/table-grid.mjs +1 -1
- package/css/components/Table/table.css +69 -68
- 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 -149
- package/package.json +3 -3
@@ -14,8 +14,6 @@
|
|
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);
|
19
17
|
--pf-v6-c-table__tr--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
20
18
|
--pf-v6-c-table__tr--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
21
19
|
--pf-v6-c-table--cell--Padding--base: var(--pf-t--global--spacer--md);
|
@@ -208,7 +206,7 @@
|
|
208
206
|
--pf-v6-c-table__sticky-column--BackgroundColor: var(--pf-v6-c-table--m-striped__tr--BackgroundColor);
|
209
207
|
background: var(--pf-v6-c-table--m-striped__tr--BackgroundColor);
|
210
208
|
}
|
211
|
-
.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row
|
209
|
+
.pf-v6-c-table tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row).pf-m-ghost-row {
|
212
210
|
background-color: var(--pf-v6-c-table__tr--m-ghost-row--BackgroundColor);
|
213
211
|
opacity: var(--pf-v6-c-table__tr--m-ghost-row--Opacity);
|
214
212
|
}
|
@@ -408,7 +406,7 @@
|
|
408
406
|
background-color: var(--pf-v6-c-table__tbody--m-selected--BackgroundColor);
|
409
407
|
outline-offset: var(--pf-v6-c-table__tbody--m-selected--OutlineOffset);
|
410
408
|
}
|
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
|
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) {
|
412
410
|
border: none;
|
413
411
|
}
|
414
412
|
.pf-v6-c-table.pf-m-drag-over {
|
@@ -424,7 +422,10 @@
|
|
424
422
|
.pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
|
425
423
|
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
426
424
|
}
|
427
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-
|
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
|
+
}
|
428
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row {
|
428
429
|
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
429
430
|
visibility: hidden;
|
430
431
|
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
@@ -434,33 +435,33 @@
|
|
434
435
|
transition-property: opacity, translate, visibility, background-color;
|
435
436
|
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
436
437
|
}
|
437
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row
|
438
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row[hidden] {
|
438
439
|
display: var(--pf-v6-c-table__expandable-row--Display, revert);
|
439
440
|
}
|
440
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row
|
441
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded {
|
441
442
|
visibility: visible;
|
442
443
|
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
443
444
|
transition-delay: 0s;
|
444
445
|
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), 0s, 0s;
|
445
446
|
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
446
447
|
}
|
447
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row
|
448
|
+
.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 {
|
448
449
|
max-height: 99999px;
|
449
450
|
}
|
450
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:
|
451
|
-
|
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 {
|
451
|
+
.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),
|
452
|
+
.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 {
|
455
453
|
padding: 0;
|
456
454
|
overflow: hidden;
|
457
455
|
transition-delay: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
458
456
|
transition-property: padding, max-height, overflow;
|
459
457
|
}
|
460
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row:
|
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 {
|
461
459
|
max-height: 0;
|
462
460
|
}
|
463
|
-
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-
|
461
|
+
.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) {
|
462
|
+
border-block-end: 0;
|
463
|
+
}
|
464
|
+
.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 {
|
464
465
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: 0s;
|
465
466
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
466
467
|
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: 0s;
|
@@ -767,7 +768,48 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
767
768
|
pointer-events: none;
|
768
769
|
}
|
769
770
|
|
770
|
-
.pf-v6-c-
|
771
|
+
.pf-v6-c-table__expandable-row {
|
772
|
+
position: relative;
|
773
|
+
border-block-end: 0 solid transparent;
|
774
|
+
}
|
775
|
+
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
776
|
+
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
777
|
+
padding-block-start: 0;
|
778
|
+
}
|
779
|
+
.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) {
|
780
|
+
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
781
|
+
}
|
782
|
+
.pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
|
783
|
+
.pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
|
784
|
+
padding-block-start: 0;
|
785
|
+
padding-block-end: 0;
|
786
|
+
padding-inline-start: 0;
|
787
|
+
padding-inline-end: 0;
|
788
|
+
}
|
789
|
+
.pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
790
|
+
.pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
791
|
+
padding: 0;
|
792
|
+
border-radius: 0;
|
793
|
+
}
|
794
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content {
|
795
|
+
padding-block-start: var(--pf-v6-c-table__expandable-row-content--PaddingBlockStart);
|
796
|
+
padding-block-end: var(--pf-v6-c-table__expandable-row-content--PaddingBlockEnd);
|
797
|
+
padding-inline-start: var(--pf-v6-c-table__expandable-row-content--PaddingInlineStart);
|
798
|
+
padding-inline-end: var(--pf-v6-c-table__expandable-row-content--PaddingInlineEnd);
|
799
|
+
background-color: var(--pf-v6-c-table__expandable-row-content--BackgroundColor);
|
800
|
+
border-radius: var(--pf-v6-c-table__expandable-row-content--BorderRadius);
|
801
|
+
}
|
802
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content.pf-m-no-background {
|
803
|
+
background-color: transparent;
|
804
|
+
}
|
805
|
+
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
806
|
+
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
807
|
+
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
808
|
+
}
|
809
|
+
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
810
|
+
display: none;
|
811
|
+
}
|
812
|
+
.pf-v6-c-table__expandable-row tr:last-child {
|
771
813
|
border-block-end: 0;
|
772
814
|
}
|
773
815
|
|
@@ -775,7 +817,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
775
817
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
776
818
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
777
819
|
}
|
778
|
-
.pf-v6-c-table.pf-m-compact tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row
|
820
|
+
.pf-v6-c-table.pf-m-compact tr:where(.pf-v6-c-table__tr):not(.pf-v6-c-table__expandable-row) {
|
779
821
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
780
822
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
781
823
|
}
|
@@ -819,15 +861,20 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
819
861
|
background-color: var(--pf-v6-c-table--compound-expansion--m-expanded--BackgroundColor);
|
820
862
|
}
|
821
863
|
|
822
|
-
.pf-v6-c-
|
864
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tr.pf-m-expanded {
|
823
865
|
border-block-end: 0;
|
824
866
|
}
|
825
|
-
|
826
|
-
|
827
|
-
border-block-end: var(--pf-v6-c-table__tbody--BorderBlockEndWidth) solid var(--pf-v6-c-table__tbody--BorderBlockEndColor);
|
867
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody {
|
868
|
+
border-block-end: var(--pf-v6-c-table__tr--BorderBlockEndWidth) solid var(--pf-v6-c-table__tr--BorderBlockEndColor);
|
828
869
|
}
|
829
|
-
.pf-v6-c-
|
870
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded {
|
871
|
+
border-block-end: var(--pf-v6-c-table__tr--BorderBlockEndWidth) solid var(--pf-v6-c-table__tr--BorderBlockEndColor);
|
872
|
+
}
|
873
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row {
|
830
874
|
background-color: var(--pf-v6-c-table__control-row--BackgroundColor);
|
875
|
+
border-block-end: var(--pf-v6-c-table__control-row--BorderBlockEndWidth) solid var(--pf-v6-c-table__control-row__tbody--BorderBlockEndColor);
|
876
|
+
}
|
877
|
+
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row.pf-m-expanded {
|
831
878
|
border-block-end: 0;
|
832
879
|
}
|
833
880
|
|
@@ -841,52 +888,6 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
841
888
|
border-block-end: var(--pf-v6-c-table--border-width--base) solid var(--pf-v6-c-table--BorderColor);
|
842
889
|
}
|
843
890
|
|
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
|
-
|
890
891
|
.pf-v6-c-table__icon-inline {
|
891
892
|
display: flex;
|
892
893
|
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
|
-
"compact": "pf-m-compact",
|
47
|
-
"borderRow": "pf-m-border-row",
|
48
46
|
"noPadding": "pf-m-no-padding",
|
49
47
|
"noBackground": "pf-m-no-background",
|
48
|
+
"compact": "pf-m-compact",
|
49
|
+
"borderRow": "pf-m-border-row",
|
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
|
-
"compact": "pf-m-compact",
|
49
|
-
"borderRow": "pf-m-border-row",
|
50
48
|
"noPadding": "pf-m-no-padding",
|
51
49
|
"noBackground": "pf-m-no-background",
|
50
|
+
"compact": "pf-m-compact",
|
51
|
+
"borderRow": "pf-m-border-row",
|
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
|
-
"compact": "pf-m-compact",
|
47
|
-
"borderRow": "pf-m-border-row",
|
48
46
|
"noPadding": "pf-m-no-padding",
|
49
47
|
"noBackground": "pf-m-no-background",
|
48
|
+
"compact": "pf-m-compact",
|
49
|
+
"borderRow": "pf-m-border-row",
|
50
50
|
"width_10": "pf-m-width-10",
|
51
51
|
"width_15": "pf-m-width-15",
|
52
52
|
"width_20": "pf-m-width-20",
|