@patternfly/patternfly 6.3.0-prerelease.39 → 6.3.0-prerelease.40

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.
@@ -458,9 +458,6 @@
458
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 {
459
459
  max-height: 0;
460
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
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) {
465
462
  border-block-end: 0;
466
463
  }
@@ -779,7 +776,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
779
776
  :not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
780
777
  padding-block-start: 0;
781
778
  }
782
-
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
+ }
783
782
  .pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
784
783
  .pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
785
784
  padding-block-start: 0;
@@ -647,13 +647,6 @@
647
647
  }
648
648
  }
649
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
650
  > .#{$table}__tr:has(~ .#{$table}__expandable-row) {
658
651
  border-block-end: 0;
659
652
  }
@@ -1059,13 +1052,21 @@
1059
1052
  position: relative;
1060
1053
  border-block-end: 0 solid transparent;
1061
1054
 
1062
- @at-root :not(.#{$table}__control-row) ~ .#{$table}__expandable-row {
1055
+ // remove top padding from expandable row cells by default
1056
+ :not(.#{$table}__control-row) ~ & {
1063
1057
  > .#{$table}__th,
1064
1058
  > .#{$table}__td {
1065
1059
  padding-block-start: 0;
1066
1060
  }
1067
1061
  }
1068
1062
 
1063
+ // add back padding for compound expandable
1064
+ .#{$table}__control-row ~ &.pf-m-expanded {
1065
+ > :is(.#{$table}__th, .#{$table}__td):not(.pf-m-no-padding) {
1066
+ padding-block-start: var(--#{$table}--cell--PaddingBlockStart);
1067
+ }
1068
+ }
1069
+
1069
1070
  td:where(.#{$table}__td),
1070
1071
  th:where(.#{$table}__th) {
1071
1072
  &.pf-m-no-padding {
@@ -17724,9 +17724,6 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
17724
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 {
17725
17725
  max-height: 0;
17726
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
17727
  .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
17728
  border-block-end: 0;
17732
17729
  }
@@ -18045,7 +18042,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
18045
18042
  :not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
18046
18043
  padding-block-start: 0;
18047
18044
  }
18048
-
18045
+ .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) {
18046
+ padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
18047
+ }
18049
18048
  .pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
18050
18049
  .pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
18051
18050
  padding-block-start: 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "6.3.0-prerelease.39",
4
+ "version": "6.3.0-prerelease.40",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -25220,9 +25220,6 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
25220
25220
  .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 {
25221
25221
  max-height: 0;
25222
25222
  }
25223
- .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) {
25224
- padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
25225
- }
25226
25223
  .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) {
25227
25224
  border-block-end: 0;
25228
25225
  }
@@ -25541,7 +25538,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
25541
25538
  :not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
25542
25539
  padding-block-start: 0;
25543
25540
  }
25544
-
25541
+ .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) {
25542
+ padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
25543
+ }
25545
25544
  .pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
25546
25545
  .pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
25547
25546
  padding-block-start: 0;
package/patternfly.css CHANGED
@@ -25356,9 +25356,6 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
25356
25356
  .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 {
25357
25357
  max-height: 0;
25358
25358
  }
25359
- .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) {
25360
- padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
25361
- }
25362
25359
  .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) {
25363
25360
  border-block-end: 0;
25364
25361
  }
@@ -25677,7 +25674,9 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
25677
25674
  :not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
25678
25675
  padding-block-start: 0;
25679
25676
  }
25680
-
25677
+ .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) {
25678
+ padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
25679
+ }
25681
25680
  .pf-v6-c-table__expandable-row td:where(.pf-v6-c-table__td).pf-m-no-padding,
25682
25681
  .pf-v6-c-table__expandable-row th:where(.pf-v6-c-table__th).pf-m-no-padding {
25683
25682
  padding-block-start: 0;