@patternfly/react-styles 6.3.0-prerelease.1 → 6.3.0-prerelease.3
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/assets/images/icon-help.hbs +3 -0
- package/css/assets/images/icon-outlined-star.hbs +3 -0
- package/css/assets/images/icon-star.hbs +3 -0
- package/css/components/Accordion/accordion.css +71 -1
- package/css/components/Alert/alert-group.css +52 -31
- package/css/components/Alert/alert-group.d.ts +4 -1
- package/css/components/Alert/alert-group.js +4 -1
- package/css/components/Alert/alert-group.mjs +4 -1
- package/css/components/Button/button.css +27 -0
- package/css/components/Button/button.d.ts +3 -0
- package/css/components/Button/button.js +3 -0
- package/css/components/Button/button.mjs +3 -0
- package/css/components/DualListSelector/dual-list-selector.css +36 -0
- package/css/components/DualListSelector/dual-list-selector.d.ts +1 -0
- package/css/components/DualListSelector/dual-list-selector.js +1 -0
- package/css/components/DualListSelector/dual-list-selector.mjs +1 -0
- package/css/components/ExpandableSection/expandable-section.css +47 -1
- package/css/components/MenuToggle/menu-toggle.css +8 -4
- package/css/components/Skeleton/skeleton.css +22 -2
- package/css/components/Spinner/spinner.css +5 -0
- package/css/components/Spinner/spinner.d.ts +1 -0
- package/css/components/Spinner/spinner.js +1 -0
- package/css/components/Spinner/spinner.mjs +1 -0
- package/css/components/Table/table-grid.css +6 -5
- package/css/components/Table/table.css +33 -0
- package/css/components/Tabs/tabs.css +25 -15
- package/css/components/Tabs/tabs.d.ts +1 -0
- package/css/components/Tabs/tabs.js +1 -0
- package/css/components/Tabs/tabs.mjs +1 -0
- package/css/components/Timestamp/timestamp.css +4 -0
- package/css/components/Timestamp/timestamp.d.ts +2 -1
- package/css/components/Timestamp/timestamp.js +2 -1
- package/css/components/Timestamp/timestamp.mjs +2 -1
- package/css/components/TreeView/tree-view.css +33 -0
- package/css/components/TreeView/tree-view.d.ts +1 -0
- package/css/components/TreeView/tree-view.js +1 -0
- package/css/components/TreeView/tree-view.mjs +1 -0
- package/css/components/Truncate/truncate.css +1 -0
- package/css/components/_index.css +370 -59
- package/css/components/_index.d.ts +9 -0
- package/css/components/_index.js +9 -0
- package/css/components/_index.mjs +9 -0
- package/package.json +3 -3
@@ -450,16 +450,20 @@
|
|
450
450
|
flex-wrap: nowrap;
|
451
451
|
}
|
452
452
|
|
453
|
-
.pf-v6-c-menu-toggle__icon {
|
454
|
-
flex-shrink: 0;
|
455
|
-
}
|
456
453
|
.pf-v6-c-menu-toggle__icon.pf-m-avatar .pf-v6-c-avatar,
|
457
454
|
.pf-v6-c-menu-toggle__icon.pf-m-avatar img,
|
458
|
-
.pf-v6-c-menu-toggle__icon.pf-m-avatar svg {
|
455
|
+
.pf-v6-c-menu-toggle__icon.pf-m-avatar svg, .pf-v6-c-menu-toggle:not(.pf-m-plain) .pf-v6-c-menu-toggle__icon {
|
459
456
|
margin-block-start: calc(var(--pf-v6-c-menu-toggle--PaddingBlockStart) * -1);
|
460
457
|
margin-block-end: calc(var(--pf-v6-c-menu-toggle--PaddingBlockEnd) * -1);
|
461
458
|
}
|
462
459
|
|
460
|
+
.pf-v6-c-menu-toggle__icon {
|
461
|
+
flex-shrink: 0;
|
462
|
+
}
|
463
|
+
.pf-v6-c-menu-toggle__icon :where(picture, img) {
|
464
|
+
vertical-align: middle;
|
465
|
+
}
|
466
|
+
|
463
467
|
.pf-v6-c-menu-toggle__controls {
|
464
468
|
display: flex;
|
465
469
|
gap: var(--pf-v6-c-menu-toggle__controls--Gap);
|
@@ -11,8 +11,8 @@
|
|
11
11
|
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
12
12
|
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
13
13
|
--pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
14
|
-
--pf-v6-c-skeleton--after--TranslateX:
|
15
|
-
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
|
14
|
+
--pf-v6-c-skeleton--after--TranslateX: 0;
|
15
|
+
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading-reduced-motion;
|
16
16
|
--pf-v6-c-skeleton--after--AnimationDuration: 3s;
|
17
17
|
--pf-v6-c-skeleton--after--AnimationIterationCount: infinite;
|
18
18
|
--pf-v6-c-skeleton--after--AnimationTimingFunction: linear;
|
@@ -44,6 +44,15 @@
|
|
44
44
|
--pf-v6-c-skeleton--m-height-75--Height: 75%;
|
45
45
|
--pf-v6-c-skeleton--m-height-100--Height: 100%;
|
46
46
|
}
|
47
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
48
|
+
.pf-v6-c-skeleton {
|
49
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
50
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
51
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
52
|
+
--pf-v6-c-skeleton--after--TranslateX: -100%;
|
53
|
+
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
|
54
|
+
}
|
55
|
+
}
|
47
56
|
|
48
57
|
.pf-v6-c-skeleton {
|
49
58
|
position: relative;
|
@@ -163,4 +172,15 @@
|
|
163
172
|
100% {
|
164
173
|
transform: translateX(100%);
|
165
174
|
}
|
175
|
+
}
|
176
|
+
@keyframes pf-v6-c-skeleton-loading-reduced-motion {
|
177
|
+
0% {
|
178
|
+
opacity: 0.25;
|
179
|
+
}
|
180
|
+
60% {
|
181
|
+
opacity: 1;
|
182
|
+
}
|
183
|
+
100% {
|
184
|
+
opacity: 0.25;
|
185
|
+
}
|
166
186
|
}
|
@@ -8,6 +8,7 @@
|
|
8
8
|
--pf-v6-c-spinner--StrokeWidth: 10;
|
9
9
|
--pf-v6-c-spinner__path--StrokeWidth: var(--pf-v6-c-spinner--StrokeWidth);
|
10
10
|
--pf-v6-c-spinner__path--AnimationTimingFunction: ease-in-out;
|
11
|
+
--pf-v6-c-spinner--m-xs--diameter: var(--pf-t--global--icon--size--sm);
|
11
12
|
--pf-v6-c-spinner--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
12
13
|
--pf-v6-c-spinner--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
13
14
|
--pf-v6-c-spinner--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
@@ -24,6 +25,10 @@
|
|
24
25
|
.pf-v6-c-spinner.pf-m-inline {
|
25
26
|
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-inline--diameter);
|
26
27
|
}
|
28
|
+
.pf-v6-c-spinner.pf-m-xs {
|
29
|
+
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-xs--diameter);
|
30
|
+
--pf-v6-c-spinner--StrokeWidth: 15;
|
31
|
+
}
|
27
32
|
.pf-v6-c-spinner.pf-m-sm {
|
28
33
|
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-sm--diameter);
|
29
34
|
}
|
@@ -34,6 +34,7 @@
|
|
34
34
|
--pf-v6-c-table--cell--first-child--responsive--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
35
35
|
--pf-v6-c-table--cell--responsive--PaddingInlineEnd: 0;
|
36
36
|
--pf-v6-c-table--cell--responsive--PaddingInlineStart: 0;
|
37
|
+
--pf-v6-c-table--cell--responsive--th--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
37
38
|
--pf-v6-c-table--m-compact__tr--responsive--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
38
39
|
--pf-v6-c-table--m-compact__tr--responsive--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
39
40
|
--pf-v6-c-table--m-compact__tr__td--responsive--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
@@ -158,7 +159,7 @@
|
|
158
159
|
}
|
159
160
|
.pf-m-grid.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
160
161
|
position: revert;
|
161
|
-
font-weight:
|
162
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
162
163
|
text-align: start;
|
163
164
|
content: attr(data-label);
|
164
165
|
}
|
@@ -458,7 +459,7 @@
|
|
458
459
|
}
|
459
460
|
.pf-m-grid-md.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
460
461
|
position: revert;
|
461
|
-
font-weight:
|
462
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
462
463
|
text-align: start;
|
463
464
|
content: attr(data-label);
|
464
465
|
}
|
@@ -761,7 +762,7 @@
|
|
761
762
|
}
|
762
763
|
.pf-m-grid-lg.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
763
764
|
position: revert;
|
764
|
-
font-weight:
|
765
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
765
766
|
text-align: start;
|
766
767
|
content: attr(data-label);
|
767
768
|
}
|
@@ -1064,7 +1065,7 @@
|
|
1064
1065
|
}
|
1065
1066
|
.pf-m-grid-xl.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
1066
1067
|
position: revert;
|
1067
|
-
font-weight:
|
1068
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
1068
1069
|
text-align: start;
|
1069
1070
|
content: attr(data-label);
|
1070
1071
|
}
|
@@ -1367,7 +1368,7 @@
|
|
1367
1368
|
}
|
1368
1369
|
.pf-m-grid-2xl.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
1369
1370
|
position: revert;
|
1370
|
-
font-weight:
|
1371
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
1371
1372
|
text-align: start;
|
1372
1373
|
content: attr(data-label);
|
1373
1374
|
}
|
@@ -74,6 +74,17 @@
|
|
74
74
|
--pf-v6-c-table__action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
75
75
|
--pf-v6-c-table__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
76
76
|
--pf-v6-c-table__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
77
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: 0s;
|
78
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
79
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
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
|
+
--pf-v6-c-table__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
84
|
+
--pf-v6-c-table__expandable-row--Opacity: 0;
|
85
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity: 1;
|
86
|
+
--pf-v6-c-table__expandable-row--TranslateY: 0;
|
87
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY: 0;
|
77
88
|
--pf-v6-c-table__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
78
89
|
--pf-v6-c-table__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
79
90
|
--pf-v6-c-table__expandable-row-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
@@ -134,6 +145,13 @@
|
|
134
145
|
--pf-v6-c-table--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
135
146
|
--pf-v6-c-table--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
136
147
|
}
|
148
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
149
|
+
.pf-v6-c-table {
|
150
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
151
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
152
|
+
--pf-v6-c-table__expandable-row--TranslateY: -.5rem;
|
153
|
+
}
|
154
|
+
}
|
137
155
|
|
138
156
|
.pf-v6-c-table {
|
139
157
|
width: 100%;
|
@@ -702,6 +720,12 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
702
720
|
.pf-v6-c-table__expandable-row {
|
703
721
|
position: relative;
|
704
722
|
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);
|
705
729
|
}
|
706
730
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
707
731
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
@@ -730,6 +754,15 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
730
754
|
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
731
755
|
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
732
756
|
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
|
+
}
|
733
766
|
}
|
734
767
|
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
735
768
|
display: none;
|
@@ -96,25 +96,28 @@
|
|
96
96
|
--pf-v6-c-tabs__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
97
97
|
--pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
|
98
98
|
--pf-v6-c-tabs--link-accent--start: 0;
|
99
|
-
--pf-v6-c-tabs--link-accent--length:
|
99
|
+
--pf-v6-c-tabs--link-accent--length: 0;
|
100
100
|
--pf-v6-c-tabs--link-accent--color: var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
|
101
101
|
--pf-v6-c-tabs--link-accent--border-size: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
102
|
+
--pf-v6-c-tabs--link-accent--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
103
|
+
--pf-v6-c-tabs--link-accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
102
104
|
--pf-v6-c-tabs--link-accent--InsetBlockStart: auto;
|
103
105
|
--pf-v6-c-tabs--link-accent--InsetBlockEnd: 0;
|
104
|
-
--pf-v6-c-tabs--link-accent--InsetInlineStart:
|
106
|
+
--pf-v6-c-tabs--link-accent--InsetInlineStart: 0;
|
105
107
|
--pf-v6-c-tabs--link-accent--Width: initial;
|
106
108
|
--pf-v6-c-tabs--link-accent--Height: 0;
|
107
109
|
--pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--link-accent--border-size);
|
108
110
|
--pf-v6-c-tabs--link-accent--BorderInlineStartWidth: 0;
|
109
|
-
--pf-v6-c-tabs--
|
111
|
+
--pf-v6-c-tabs--link-accent--TranslateX: var(--pf-v6-c-tabs--link-accent--start);
|
112
|
+
--pf-v6-c-tabs--link-accent--TranslateY: 0;
|
113
|
+
--pf-v6-c-tabs--link-accent--TransformOrigin: 0 center;
|
114
|
+
--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart: 0;
|
110
115
|
--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockEnd: auto;
|
111
|
-
--pf-v6-c-tabs--m-vertical--link-accent--InsetInlineStart: 0;
|
112
|
-
--pf-v6-c-tabs--m-vertical--link-accent--Width: 0;
|
113
|
-
--pf-v6-c-tabs--m-vertical--link-accent--Height: initial;
|
114
116
|
--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth: 0;
|
115
117
|
--pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--link-accent--border-size);
|
116
|
-
--pf-v6-c-tabs--link-accent--
|
117
|
-
--pf-v6-c-tabs--link-accent--
|
118
|
+
--pf-v6-c-tabs--m-vertical--link-accent--TranslateX: 0;
|
119
|
+
--pf-v6-c-tabs--m-vertical--link-accent--TranslateY: var(--pf-v6-c-tabs--link-accent--start);
|
120
|
+
--pf-v6-c-tabs--m-vertical--link-accent--TransformOrigin: center 0;
|
118
121
|
--pf-v6-c-tabs__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
119
122
|
--pf-v6-c-tabs__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
120
123
|
--pf-v6-c-tabs__scroll-button--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
@@ -274,11 +277,13 @@
|
|
274
277
|
--pf-v6-c-tabs__list--ScrollSnapTypeAxis: var(--pf-v6-c-tabs--m-vertical__list--ScrollSnapTypeAxis);
|
275
278
|
--pf-v6-c-tabs--link-accent--InsetBlockStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart);
|
276
279
|
--pf-v6-c-tabs--link-accent--InsetBlockEnd: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockEnd);
|
277
|
-
--pf-v6-c-tabs--link-accent--InsetInlineStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetInlineStart);
|
278
280
|
--pf-v6-c-tabs--link-accent--Width: var(--pf-v6-c-tabs--m-vertical--link-accent--Width);
|
279
281
|
--pf-v6-c-tabs--link-accent--Height: var(--pf-v6-c-tabs--m-vertical--link-accent--Height);
|
280
282
|
--pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth);
|
281
283
|
--pf-v6-c-tabs--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth);
|
284
|
+
--pf-v6-c-tabs--link-accent--TranslateX: var(--pf-v6-c-tabs--m-vertical--link-accent--TranslateX);
|
285
|
+
--pf-v6-c-tabs--link-accent--TranslateY: var(--pf-v6-c-tabs--m-vertical--link-accent--TranslateY);
|
286
|
+
--pf-v6-c-tabs--link-accent--TransformOrigin: var(--pf-v6-c-tabs--m-vertical--link-accent--TransformOrigin);
|
282
287
|
display: inline-flex;
|
283
288
|
flex-direction: column;
|
284
289
|
height: 100%;
|
@@ -855,15 +860,15 @@
|
|
855
860
|
}
|
856
861
|
|
857
862
|
@media (prefers-reduced-motion: no-preference) {
|
858
|
-
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__link::after,
|
859
|
-
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__item.pf-m-action::after {
|
863
|
+
.pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__link::after,
|
864
|
+
.pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__item.pf-m-action::after {
|
860
865
|
content: revert;
|
861
866
|
}
|
862
|
-
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
867
|
+
.pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
863
868
|
position: absolute;
|
864
|
-
inset-block-start: var(--pf-v6-c-tabs--link-accent--InsetBlockStart
|
869
|
+
inset-block-start: var(--pf-v6-c-tabs--link-accent--InsetBlockStart);
|
865
870
|
inset-block-end: var(--pf-v6-c-tabs--link-accent--InsetBlockEnd);
|
866
|
-
inset-inline-start: var(--pf-v6-c-tabs--link-accent--InsetInlineStart
|
871
|
+
inset-inline-start: var(--pf-v6-c-tabs--link-accent--InsetInlineStart);
|
867
872
|
width: var(--pf-v6-c-tabs--link-accent--Width, var(--pf-v6-c-tabs--link-accent--length));
|
868
873
|
height: var(--pf-v6-c-tabs--link-accent--Height, var(--pf-v6-c-tabs--link-accent--length));
|
869
874
|
content: "";
|
@@ -872,7 +877,12 @@
|
|
872
877
|
border-inline-start-width: var(--pf-v6-c-tabs--link-accent--BorderInlineStartWidth);
|
873
878
|
transition-timing-function: var(--pf-v6-c-tabs--link-accent--TransitionTimingFunction);
|
874
879
|
transition-duration: var(--pf-v6-c-tabs--link-accent--TransitionDuration);
|
875
|
-
transition-property:
|
880
|
+
transition-property: width, height, translate;
|
881
|
+
transform-origin: var(--pf-v6-c-tabs--link-accent--TransformOrigin);
|
882
|
+
translate: var(--pf-v6-c-tabs--link-accent--TranslateX) var(--pf-v6-c-tabs--link-accent--TranslateY);
|
883
|
+
}
|
884
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
885
|
+
translate: calc(var(--pf-v6-c-tabs--link-accent--TranslateX) * var(--pf-v6-global--inverse--multiplier)) var(--pf-v6-c-tabs--link-accent--TranslateY);
|
876
886
|
}
|
877
887
|
.pf-v6-c-tabs.pf-m-initializing-accent {
|
878
888
|
--pf-v6-c-tabs--link-accent--TransitionDuration: 0;
|
@@ -65,6 +65,7 @@ declare const _default: {
|
|
65
65
|
"insetLgOn_2xl": "pf-m-inset-lg-on-2xl",
|
66
66
|
"insetXlOn_2xl": "pf-m-inset-xl-on-2xl",
|
67
67
|
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl",
|
68
|
+
"animateCurrent": "pf-m-animate-current",
|
68
69
|
"initializingAccent": "pf-m-initializing-accent"
|
69
70
|
},
|
70
71
|
"tabs": "pf-v6-c-tabs",
|
@@ -67,6 +67,7 @@ exports.default = {
|
|
67
67
|
"insetLgOn_2xl": "pf-m-inset-lg-on-2xl",
|
68
68
|
"insetXlOn_2xl": "pf-m-inset-xl-on-2xl",
|
69
69
|
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl",
|
70
|
+
"animateCurrent": "pf-m-animate-current",
|
70
71
|
"initializingAccent": "pf-m-initializing-accent"
|
71
72
|
},
|
72
73
|
"tabs": "pf-v6-c-tabs",
|
@@ -65,6 +65,7 @@ export default {
|
|
65
65
|
"insetLgOn_2xl": "pf-m-inset-lg-on-2xl",
|
66
66
|
"insetXlOn_2xl": "pf-m-inset-xl-on-2xl",
|
67
67
|
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl",
|
68
|
+
"animateCurrent": "pf-m-animate-current",
|
68
69
|
"initializingAccent": "pf-m-initializing-accent"
|
69
70
|
},
|
70
71
|
"tabs": "pf-v6-c-tabs",
|
@@ -28,4 +28,8 @@
|
|
28
28
|
--pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--hover--Color);
|
29
29
|
--pf-v6-c-timestamp--m-help-text--TextDecorationLine: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationLine);
|
30
30
|
--pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle);
|
31
|
+
}
|
32
|
+
|
33
|
+
.pf-v6-c-timestamp__text {
|
34
|
+
text-decoration: inherit;
|
31
35
|
}
|
@@ -14,6 +14,17 @@
|
|
14
14
|
--pf-v6-c-tree-view__node-container--Display: contents;
|
15
15
|
--pf-v6-c-tree-view__node-content--RowGap: var(--pf-t--global--spacer--sm);
|
16
16
|
--pf-v6-c-tree-view__node-content--Overflow: visible;
|
17
|
+
--pf-v6-c-tree-view__list--TransitionDuration--expand--slide: 0s;
|
18
|
+
--pf-v6-c-tree-view__list--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
19
|
+
--pf-v6-c-tree-view__list--TransitionDuration--collapse--slide: 0s;
|
20
|
+
--pf-v6-c-tree-view__list--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
21
|
+
--pf-v6-c-tree-view__list--TransitionDuration--slide: var(--pf-v6-c-tree-view__list--TransitionDuration--collapse--slide);
|
22
|
+
--pf-v6-c-tree-view__list--TransitionDuration--fade: var(--pf-v6-c-tree-view__list--TransitionDuration--collapse--fade);
|
23
|
+
--pf-v6-c-tree-view__list--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
24
|
+
--pf-v6-c-tree-view__list--Opacity: 0;
|
25
|
+
--pf-v6-c-tree-view--m-expanded__list--Opacity: 1;
|
26
|
+
--pf-v6-c-tree-view__list--TranslateY: 0;
|
27
|
+
--pf-v6-c-tree-view--m-expanded__list--TranslateY: 0;
|
17
28
|
--pf-v6-c-tree-view__list-item__list-item__node-toggle--InsetBlockStart: var(--pf-v6-c-tree-view__node--PaddingBlockStart);
|
18
29
|
--pf-v6-c-tree-view__list-item__list-item__node-toggle--InsetInlineStart: var(--pf-v6-c-tree-view__node--PaddingInlineStart);
|
19
30
|
--pf-v6-c-tree-view__list-item__list-item__node-toggle--TranslateX: -100%;
|
@@ -29,6 +40,8 @@
|
|
29
40
|
--pf-v6-c-tree-view__node-toggle--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
30
41
|
--pf-v6-c-tree-view__node-toggle--MarginBlockStart: calc(var(--pf-v6-c-tree-view__node-toggle--PaddingBlockStart) * -1);
|
31
42
|
--pf-v6-c-tree-view__node-toggle--MarginBlockEnd: calc(var(--pf-v6-c-tree-view__node-toggle--PaddingBlockStart) * -1);
|
43
|
+
--pf-v6-c-tree-view__node-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
44
|
+
--pf-v6-c-tree-view__node-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
32
45
|
--pf-v6-c-tree-view__node-check--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
33
46
|
--pf-v6-c-tree-view__node-count--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
34
47
|
--pf-v6-c-tree-view__search--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
@@ -104,6 +117,13 @@
|
|
104
117
|
--pf-v6-c-tree-view--m-compact--m-no-background__node--nested--PaddingBlockEnd: 0;
|
105
118
|
--pf-v6-c-tree-view--m-compact--m-no-background__node--before--InsetBlockStart: calc(var(--pf-v6-c-tree-view--m-compact__node-container--nested--PaddingBlockStart) + var(--pf-v6-c-tree-view--m-compact__node--nested--PaddingBlockStart) + 0.25rem);
|
106
119
|
}
|
120
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
121
|
+
.pf-v6-c-tree-view {
|
122
|
+
--pf-v6-c-tree-view__list--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
123
|
+
--pf-v6-c-tree-view__list--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
124
|
+
--pf-v6-c-tree-view__list--TranslateY: -.5rem;
|
125
|
+
}
|
126
|
+
}
|
107
127
|
|
108
128
|
.pf-v6-c-tree-view.pf-m-compact .pf-v6-c-tree-view__list-item, .pf-v6-c-tree-view.pf-m-guides .pf-v6-c-tree-view__list-item {
|
109
129
|
position: relative;
|
@@ -219,12 +239,20 @@
|
|
219
239
|
display: inline-block;
|
220
240
|
min-width: var(--pf-v6-c-tree-view__node-toggle-icon--MinWidth);
|
221
241
|
text-align: center;
|
242
|
+
transition: transform var(--pf-v6-c-tree-view__node-toggle-icon--TransitionDuration) var(--pf-v6-c-tree-view__node-toggle-icon--TransitionTimingFunction);
|
222
243
|
transform: rotate(var(--pf-v6-c-tree-view__node-toggle-icon--Rotate));
|
223
244
|
}
|
224
245
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-tree-view__node-toggle-icon {
|
225
246
|
scale: -1 1;
|
226
247
|
}
|
227
248
|
|
249
|
+
.pf-v6-c-tree-view__list-item .pf-v6-c-tree-view__list {
|
250
|
+
opacity: var(--pf-v6-c-tree-view__list--Opacity);
|
251
|
+
transition-timing-function: var(--pf-v6-c-tree-view__list--TransitionTimingFunction);
|
252
|
+
transition-duration: var(--pf-v6-c-tree-view__list--TransitionDuration--fade), var(--pf-v6-c-tree-view__list--TransitionDuration--slide);
|
253
|
+
transition-property: opacity, translate;
|
254
|
+
translate: 0 var(--pf-v6-c-tree-view__list--TranslateY);
|
255
|
+
}
|
228
256
|
.pf-v6-c-tree-view__list-item .pf-v6-c-tree-view__list-item {
|
229
257
|
--pf-v6-c-tree-view__node-toggle-icon--Rotate: var(--pf-v6-c-tree-view__node-toggle-icon--base--Rotate);
|
230
258
|
--pf-v6-c-tree-view__node-toggle--Color: var(--pf-v6-c-tree-view__node-toggle--Color--base);
|
@@ -233,6 +261,11 @@
|
|
233
261
|
--pf-v6-c-tree-view__node-toggle--Color: var(--pf-v6-c-tree-view__list-item--m-expanded__node-toggle--Color);
|
234
262
|
--pf-v6-c-tree-view__node-toggle-icon--Rotate: var(--pf-v6-c-tree-view__list-item--m-expanded__node-toggle-icon--Rotate);
|
235
263
|
}
|
264
|
+
.pf-v6-c-tree-view__list-item.pf-m-expanded > .pf-v6-c-tree-view__list {
|
265
|
+
opacity: var(--pf-v6-c-tree-view--m-expanded__list--Opacity);
|
266
|
+
transition-duration: var(--pf-v6-c-tree-view__list--TransitionDuration--expand--fade), var(--pf-v6-c-tree-view__list--TransitionDuration--expand--slide);
|
267
|
+
translate: 0 var(--pf-v6-c-tree-view--m-expanded__list--TranslateY);
|
268
|
+
}
|
236
269
|
|
237
270
|
.pf-v6-c-tree-view__node,
|
238
271
|
.pf-v6-c-tree-view__node-container {
|
@@ -12,6 +12,7 @@ declare const _default: {
|
|
12
12
|
"treeView": "pf-v6-c-tree-view",
|
13
13
|
"treeViewAction": "pf-v6-c-tree-view__action",
|
14
14
|
"treeViewContent": "pf-v6-c-tree-view__content",
|
15
|
+
"treeViewList": "pf-v6-c-tree-view__list",
|
15
16
|
"treeViewListItem": "pf-v6-c-tree-view__list-item",
|
16
17
|
"treeViewNode": "pf-v6-c-tree-view__node",
|
17
18
|
"treeViewNodeCheck": "pf-v6-c-tree-view__node-check",
|
@@ -14,6 +14,7 @@ exports.default = {
|
|
14
14
|
"treeView": "pf-v6-c-tree-view",
|
15
15
|
"treeViewAction": "pf-v6-c-tree-view__action",
|
16
16
|
"treeViewContent": "pf-v6-c-tree-view__content",
|
17
|
+
"treeViewList": "pf-v6-c-tree-view__list",
|
17
18
|
"treeViewListItem": "pf-v6-c-tree-view__list-item",
|
18
19
|
"treeViewNode": "pf-v6-c-tree-view__node",
|
19
20
|
"treeViewNodeCheck": "pf-v6-c-tree-view__node-check",
|
@@ -12,6 +12,7 @@ export default {
|
|
12
12
|
"treeView": "pf-v6-c-tree-view",
|
13
13
|
"treeViewAction": "pf-v6-c-tree-view__action",
|
14
14
|
"treeViewContent": "pf-v6-c-tree-view__content",
|
15
|
+
"treeViewList": "pf-v6-c-tree-view__list",
|
15
16
|
"treeViewListItem": "pf-v6-c-tree-view__list-item",
|
16
17
|
"treeViewNode": "pf-v6-c-tree-view__node",
|
17
18
|
"treeViewNodeCheck": "pf-v6-c-tree-view__node-check",
|