@patternfly/react-styles 6.3.0-prerelease.5 → 6.3.0-prerelease.7
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/Accordion/accordion.css +1 -1
- package/css/components/Button/button.css +20 -9
- package/css/components/DualListSelector/dual-list-selector.css +1 -1
- package/css/components/ExpandableSection/expandable-section.css +19 -1
- package/css/components/ExpandableSection/expandable-section.d.ts +3 -2
- package/css/components/ExpandableSection/expandable-section.js +3 -2
- package/css/components/ExpandableSection/expandable-section.mjs +3 -2
- package/css/components/Form/form.css +10 -2
- package/css/components/FormControl/form-control.css +16 -0
- package/css/components/FormControl/form-control.d.ts +2 -2
- package/css/components/FormControl/form-control.js +2 -2
- package/css/components/FormControl/form-control.mjs +2 -2
- package/css/components/InputGroup/input-group.css +80 -0
- package/css/components/InputGroup/input-group.d.ts +6 -0
- package/css/components/InputGroup/input-group.js +6 -0
- package/css/components/InputGroup/input-group.mjs +6 -0
- package/css/components/Nav/nav.css +1 -1
- package/css/components/Page/page.css +25 -11
- package/css/components/Progress/progress.css +16 -0
- package/css/components/Table/table.css +52 -25
- package/css/components/Table/table.d.ts +2 -0
- package/css/components/Table/table.js +2 -0
- package/css/components/Table/table.mjs +2 -0
- package/css/components/TextInputGroup/text-input-group.css +16 -0
- package/css/components/TextInputGroup/text-input-group.d.ts +1 -1
- package/css/components/TextInputGroup/text-input-group.js +1 -1
- package/css/components/TextInputGroup/text-input-group.mjs +1 -1
- package/css/components/TreeView/tree-view.css +1 -1
- package/css/components/_index.css +258 -52
- package/css/components/_index.d.ts +8 -2
- package/css/components/_index.js +8 -2
- package/css/components/_index.mjs +8 -2
- package/package.json +3 -3
@@ -78,8 +78,6 @@
|
|
78
78
|
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
79
79
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
80
80
|
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
81
|
-
--pf-v6-c-table__expandable-row--TransitionDuration--slide: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide);
|
82
|
-
--pf-v6-c-table__expandable-row--TransitionDuration--fade: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
83
81
|
--pf-v6-c-table__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
84
82
|
--pf-v6-c-table__expandable-row--Opacity: 0;
|
85
83
|
--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity: 1;
|
@@ -416,6 +414,39 @@
|
|
416
414
|
.pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
|
417
415
|
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
418
416
|
}
|
417
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row {
|
418
|
+
display: revert;
|
419
|
+
visibility: hidden;
|
420
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
421
|
+
transition-delay: 0s, 0s, var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
422
|
+
transition-timing-function: var(--pf-v6-c-table__expandable-row--TransitionTimingFunction);
|
423
|
+
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide), 0s;
|
424
|
+
transition-property: opacity, translate, visibility;
|
425
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
426
|
+
}
|
427
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row[hidden] {
|
428
|
+
display: revert;
|
429
|
+
}
|
430
|
+
.pf-v6-c-table.pf-m-animate-expand > .pf-v6-c-table__tbody > .pf-v6-c-table__expandable-row.pf-m-expanded {
|
431
|
+
visibility: visible;
|
432
|
+
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
433
|
+
transition-delay: 0s;
|
434
|
+
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), 0s, 0s;
|
435
|
+
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
436
|
+
}
|
437
|
+
.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 {
|
438
|
+
max-height: 99999px;
|
439
|
+
}
|
440
|
+
.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),
|
441
|
+
.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 {
|
442
|
+
padding: 0;
|
443
|
+
overflow: hidden;
|
444
|
+
transition-delay: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
445
|
+
transition-property: padding, max-height, overflow;
|
446
|
+
}
|
447
|
+
.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 {
|
448
|
+
max-height: 0;
|
449
|
+
}
|
419
450
|
|
420
451
|
[class*=pf-v6-c-table].pf-m-truncate {
|
421
452
|
--pf-v6-c-table--cell--MinWidth: var(--pf-v6-c-table--m-truncate--cell--MinWidth);
|
@@ -720,28 +751,26 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
720
751
|
.pf-v6-c-table__expandable-row {
|
721
752
|
position: relative;
|
722
753
|
border-block-end: 0 solid transparent;
|
723
|
-
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
724
|
-
transition-timing-function: var(--pf-v6-c-table__expandable-row--TransitionTimingFunction);
|
725
|
-
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--slide), var(--pf-v6-c-table__expandable-row--TransitionDuration--fade);
|
726
|
-
transition-property: opacity, translate, display;
|
727
|
-
transition-behavior: allow-discrete;
|
728
|
-
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
729
754
|
}
|
730
|
-
|
731
|
-
|
755
|
+
.pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
756
|
+
.pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
732
757
|
padding-block-start: 0;
|
733
758
|
}
|
734
|
-
|
735
|
-
.pf-v6-c-
|
736
|
-
|
759
|
+
.pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
760
|
+
.pf-v6-c-table__control-row ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
761
|
+
padding-block-start: var(--pf-v6-c-table--cell--PaddingBlockStart);
|
762
|
+
}
|
763
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__td.pf-m-no-padding,
|
764
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__th.pf-m-no-padding {
|
737
765
|
padding-block-start: 0;
|
738
766
|
padding-block-end: 0;
|
739
767
|
padding-inline-start: 0;
|
740
768
|
padding-inline-end: 0;
|
741
769
|
}
|
742
|
-
.pf-v6-c-table__expandable-row
|
743
|
-
.pf-v6-c-table__expandable-row
|
770
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__td.pf-m-no-padding .pf-v6-c-table__expandable-row-content,
|
771
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__th.pf-m-no-padding .pf-v6-c-table__expandable-row-content {
|
744
772
|
padding: 0;
|
773
|
+
border-radius: 0;
|
745
774
|
}
|
746
775
|
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content {
|
747
776
|
padding-block-start: var(--pf-v6-c-table__expandable-row-content--PaddingBlockStart);
|
@@ -751,18 +780,12 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
751
780
|
background-color: var(--pf-v6-c-table__expandable-row-content--BackgroundColor);
|
752
781
|
border-radius: var(--pf-v6-c-table__expandable-row-content--BorderRadius);
|
753
782
|
}
|
783
|
+
.pf-v6-c-table__expandable-row .pf-v6-c-table__expandable-row-content.pf-m-no-background {
|
784
|
+
background-color: transparent;
|
785
|
+
}
|
754
786
|
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
755
787
|
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
756
788
|
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
757
|
-
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
758
|
-
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade);
|
759
|
-
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
760
|
-
}
|
761
|
-
@starting-style {
|
762
|
-
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
763
|
-
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
764
|
-
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
765
|
-
}
|
766
789
|
}
|
767
790
|
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
768
791
|
display: none;
|
@@ -771,6 +794,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
771
794
|
border-block-end: 0;
|
772
795
|
}
|
773
796
|
|
797
|
+
.pf-v6-c-table__tr:has(~ .pf-v6-c-table__expandable-row) {
|
798
|
+
border-block-end: 0;
|
799
|
+
}
|
800
|
+
|
774
801
|
.pf-v6-c-table.pf-m-compact {
|
775
802
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-compact--cell--PaddingBlockStart);
|
776
803
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table--m-compact--cell--PaddingBlockEnd);
|
@@ -826,7 +853,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
826
853
|
}
|
827
854
|
.pf-v6-c-table.pf-m-expandable .pf-v6-c-table__tbody.pf-m-expanded .pf-v6-c-table__control-row {
|
828
855
|
background-color: var(--pf-v6-c-table__control-row--BackgroundColor);
|
829
|
-
border-block-end:
|
856
|
+
border-block-end: 0;
|
830
857
|
}
|
831
858
|
|
832
859
|
.pf-v6-c-table__tr {
|
@@ -33,6 +33,7 @@ declare const _default: {
|
|
33
33
|
"selected": "pf-m-selected",
|
34
34
|
"firstCellOffsetReset": "pf-m-first-cell-offset-reset",
|
35
35
|
"dragOver": "pf-m-drag-over",
|
36
|
+
"animateExpand": "pf-m-animate-expand",
|
36
37
|
"truncate": "pf-m-truncate",
|
37
38
|
"wrap": "pf-m-wrap",
|
38
39
|
"nowrap": "pf-m-nowrap",
|
@@ -41,6 +42,7 @@ declare const _default: {
|
|
41
42
|
"standalone": "pf-m-standalone",
|
42
43
|
"favorited": "pf-m-favorited",
|
43
44
|
"noPadding": "pf-m-no-padding",
|
45
|
+
"noBackground": "pf-m-no-background",
|
44
46
|
"compact": "pf-m-compact",
|
45
47
|
"borderRow": "pf-m-border-row",
|
46
48
|
"width_10": "pf-m-width-10",
|
@@ -35,6 +35,7 @@ exports.default = {
|
|
35
35
|
"selected": "pf-m-selected",
|
36
36
|
"firstCellOffsetReset": "pf-m-first-cell-offset-reset",
|
37
37
|
"dragOver": "pf-m-drag-over",
|
38
|
+
"animateExpand": "pf-m-animate-expand",
|
38
39
|
"truncate": "pf-m-truncate",
|
39
40
|
"wrap": "pf-m-wrap",
|
40
41
|
"nowrap": "pf-m-nowrap",
|
@@ -43,6 +44,7 @@ exports.default = {
|
|
43
44
|
"standalone": "pf-m-standalone",
|
44
45
|
"favorited": "pf-m-favorited",
|
45
46
|
"noPadding": "pf-m-no-padding",
|
47
|
+
"noBackground": "pf-m-no-background",
|
46
48
|
"compact": "pf-m-compact",
|
47
49
|
"borderRow": "pf-m-border-row",
|
48
50
|
"width_10": "pf-m-width-10",
|
@@ -33,6 +33,7 @@ export default {
|
|
33
33
|
"selected": "pf-m-selected",
|
34
34
|
"firstCellOffsetReset": "pf-m-first-cell-offset-reset",
|
35
35
|
"dragOver": "pf-m-drag-over",
|
36
|
+
"animateExpand": "pf-m-animate-expand",
|
36
37
|
"truncate": "pf-m-truncate",
|
37
38
|
"wrap": "pf-m-wrap",
|
38
39
|
"nowrap": "pf-m-nowrap",
|
@@ -41,6 +42,7 @@ export default {
|
|
41
42
|
"standalone": "pf-m-standalone",
|
42
43
|
"favorited": "pf-m-favorited",
|
43
44
|
"noPadding": "pf-m-no-padding",
|
45
|
+
"noBackground": "pf-m-no-background",
|
44
46
|
"compact": "pf-m-compact",
|
45
47
|
"borderRow": "pf-m-border-row",
|
46
48
|
"width_10": "pf-m-width-10",
|
@@ -103,6 +103,22 @@
|
|
103
103
|
--pf-v6-c-text-input-group--m-hover--BorderColor: var(--pf-v6-c-text-input-group--m-hover--m-error--BorderColor);
|
104
104
|
--pf-v6-c-text-input-group__icon--m-status--Color: var(--pf-v6-c-text-input-group__main--m-error__icon--m-status--Color);
|
105
105
|
}
|
106
|
+
@media (prefers-reduced-motion: no-preference) {
|
107
|
+
.pf-v6-c-text-input-group.pf-m-error {
|
108
|
+
translate: var(--pf-v6-global--danger-jiggle--TranslateX, 0);
|
109
|
+
animation-name: pf-v6-global-danger-jiggle-motion;
|
110
|
+
animation-duration: var(--pf-v6-global--danger-jiggle--AnimationDuration--Transform);
|
111
|
+
animation-timing-function: var(--pf-v6-global--danger-jiggle--AnimationTimingFunction--Transform);
|
112
|
+
animation-fill-mode: both;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
.pf-v6-c-text-input-group.pf-m-error .pf-v6-c-text-input-group__icon.pf-m-status {
|
116
|
+
--pf-v6-c-text-input-group--TransitionDuration--Opacity: var(--pf-t--global--motion--duration--fade--default);
|
117
|
+
--pf-v6-c-text-input-group--TransitionTimingFunction--Opacity: var(--pf-t--global--motion--timing-function--default);
|
118
|
+
animation-name: pf-v6-global-fade-in;
|
119
|
+
animation-duration: var(--pf-v6-c-text-input-group--TransitionDuration--Opacity);
|
120
|
+
animation-timing-function: var(--pf-v6-c-text-input-group--TransitionTimingFunction--Opacity);
|
121
|
+
}
|
106
122
|
.pf-v6-c-text-input-group:hover {
|
107
123
|
--pf-v6-c-text-input-group--BorderColor: var(--pf-v6-c-text-input-group--m-hover--BorderColor);
|
108
124
|
}
|
@@ -7,8 +7,8 @@ declare const _default: {
|
|
7
7
|
"success": "pf-m-success",
|
8
8
|
"warning": "pf-m-warning",
|
9
9
|
"error": "pf-m-error",
|
10
|
-
"icon": "pf-m-icon",
|
11
10
|
"status": "pf-m-status",
|
11
|
+
"icon": "pf-m-icon",
|
12
12
|
"hint": "pf-m-hint"
|
13
13
|
},
|
14
14
|
"textInputGroup": "pf-v6-c-text-input-group",
|
@@ -265,7 +265,7 @@
|
|
265
265
|
--pf-v6-c-tree-view__node-toggle-icon--Rotate: var(--pf-v6-c-tree-view__list-item--m-expanded__node-toggle-icon--Rotate);
|
266
266
|
}
|
267
267
|
.pf-v6-c-tree-view__list-item.pf-m-expanded > .pf-v6-c-tree-view__list {
|
268
|
-
max-height:
|
268
|
+
max-height: 99999px;
|
269
269
|
visibility: revert;
|
270
270
|
opacity: var(--pf-v6-c-tree-view--m-expanded__list--Opacity);
|
271
271
|
transition-delay: 0s;
|