@patternfly/react-styles 6.2.2 → 6.3.0-prerelease.2
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 +4 -10
- 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/Card/card.css +3 -0
- package/css/components/Drawer/drawer.css +28 -14
- package/css/components/ExpandableSection/expandable-section.css +46 -0
- package/css/components/FormControl/form-control.css +1 -2
- package/css/components/MenuToggle/menu-toggle.css +8 -4
- package/css/components/Skeleton/skeleton.css +22 -2
- package/css/components/Table/table.css +33 -0
- package/css/components/Tabs/tabs.css +65 -0
- package/css/components/Tabs/tabs.d.ts +2 -1
- package/css/components/Tabs/tabs.js +2 -1
- package/css/components/Tabs/tabs.mjs +2 -1
- 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 +6 -0
- package/css/components/Truncate/truncate.d.ts +3 -0
- package/css/components/Truncate/truncate.js +3 -0
- package/css/components/Truncate/truncate.mjs +3 -0
- package/css/components/_index.css +398 -54
- package/css/components/_index.d.ts +8 -0
- package/css/components/_index.js +8 -0
- package/css/components/_index.mjs +8 -0
- package/package.json +3 -3
@@ -9,6 +9,17 @@
|
|
9
9
|
--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
|
10
10
|
--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate: 90deg;
|
11
11
|
--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
12
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: 0s;
|
13
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
14
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: 0s;
|
15
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
16
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--slide: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide);
|
17
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
|
18
|
+
--pf-v6-c-expandable-section__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
19
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
20
|
+
--pf-v6-c-expandable-section__content--TranslateY: 0;
|
21
|
+
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
22
|
+
--pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
|
12
23
|
--pf-v6-c-expandable-section__content--MaxWidth: auto;
|
13
24
|
--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
14
25
|
--pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
@@ -20,10 +31,18 @@
|
|
20
31
|
--pf-v6-c-expandable-section--m-display-lg--BorderWidth: var(--pf-t--global--border--width--box--default);
|
21
32
|
--pf-v6-c-expandable-section--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
22
33
|
--pf-v6-c-expandable-section--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
34
|
+
--pf-v6-c-expandable-section--m-display-lg--TransitionDelay: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade);
|
23
35
|
--pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) + var(--pf-t--global--spacer--gap--text-to-element--default) + var(--pf-v6-c-expandable-section__toggle-icon--MinWidth));
|
24
36
|
--pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
|
25
37
|
--pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
|
26
38
|
}
|
39
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
40
|
+
.pf-v6-c-expandable-section {
|
41
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
42
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
43
|
+
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
44
|
+
}
|
45
|
+
}
|
27
46
|
|
28
47
|
.pf-v6-c-expandable-section {
|
29
48
|
display: flex;
|
@@ -34,6 +53,11 @@
|
|
34
53
|
--pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate);
|
35
54
|
--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
|
36
55
|
--pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd: var(--pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd);
|
56
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--slide: var(--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide);
|
57
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--expand--fade);
|
58
|
+
--pf-v6-c-expandable-section__content--Opacity: var(--pf-v6-c-expandable-section--m-expanded__content--Opacity);
|
59
|
+
--pf-v6-c-expandable-section__content--TranslateY: var(--pf-v6-c-expandable-section--m-expanded__content--TranslateY);
|
60
|
+
--pf-v6-c-expandable-section--m-display-lg--TransitionDelay: 0s;
|
37
61
|
}
|
38
62
|
.pf-v6-c-expandable-section.pf-m-limit-width {
|
39
63
|
--pf-v6-c-expandable-section__content--MaxWidth: var(--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth);
|
@@ -46,6 +70,7 @@
|
|
46
70
|
background-color: var(--pf-v6-c-expandable-section--m-display-lg--BackgroundColor);
|
47
71
|
border: var(--pf-v6-c-expandable-section--m-display-lg--BorderWidth) solid var(--pf-v6-c-expandable-section--m-display-lg--BorderColor);
|
48
72
|
border-radius: var(--pf-v6-c-expandable-section--m-display-lg--BorderRadius);
|
73
|
+
transition: padding-block-end 0s var(--pf-v6-c-expandable-section--m-display-lg--TransitionDelay, 0s);
|
49
74
|
}
|
50
75
|
.pf-v6-c-expandable-section.pf-m-indented {
|
51
76
|
--pf-v6-c-expandable-section__content--PaddingInlineStart: var(--pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart);
|
@@ -79,4 +104,25 @@
|
|
79
104
|
max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
|
80
105
|
padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
|
81
106
|
padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart, 0);
|
107
|
+
}
|
108
|
+
.pf-v6-c-expandable-section__content:where([hidden]) {
|
109
|
+
display: revert;
|
110
|
+
}
|
111
|
+
.pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) .pf-v6-c-expandable-section__content {
|
112
|
+
display: none;
|
113
|
+
opacity: var(--pf-v6-c-expandable-section__content--Opacity);
|
114
|
+
transition-timing-function: var(--pf-v6-c-expandable-section__content--TransitionTimingFunction);
|
115
|
+
transition-duration: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade), var(--pf-v6-c-expandable-section__content--TransitionDuration--slide), var(--pf-v6-c-expandable-section__content--TransitionDuration--fade);
|
116
|
+
transition-property: opacity, translate, display;
|
117
|
+
transition-behavior: allow-discrete;
|
118
|
+
translate: 0 var(--pf-v6-c-expandable-section__content--TranslateY);
|
119
|
+
}
|
120
|
+
.pf-v6-c-expandable-section.pf-m-expanded .pf-v6-c-expandable-section__content {
|
121
|
+
display: revert;
|
122
|
+
}
|
123
|
+
@starting-style {
|
124
|
+
.pf-v6-c-expandable-section.pf-m-expanded .pf-v6-c-expandable-section__content {
|
125
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
126
|
+
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
127
|
+
}
|
82
128
|
}
|
@@ -146,12 +146,11 @@
|
|
146
146
|
padding-inline-start: var(--pf-v6-c-form-control--PaddingInlineStart);
|
147
147
|
padding-inline-end: var(--pf-v6-c-form-control--PaddingInlineEnd);
|
148
148
|
color: var(--pf-v6-c-form-control--Color);
|
149
|
+
appearance: none;
|
149
150
|
background-color: transparent;
|
150
151
|
border: none;
|
151
152
|
border-radius: var(--pf-v6-c-form-control--BorderRadius);
|
152
153
|
outline-offset: var(--pf-v6-c-form-control--OutlineOffset);
|
153
|
-
-moz-appearance: none;
|
154
|
-
-webkit-appearance: none;
|
155
154
|
}
|
156
155
|
.pf-v6-c-form-control > ::placeholder {
|
157
156
|
color: var(--pf-v6-c-form-control--m-placeholder--Color);
|
@@ -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
|
}
|
@@ -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;
|
@@ -1,3 +1,13 @@
|
|
1
|
+
@property --pf-v6-c-tabs--link-accent--length {
|
2
|
+
syntax: "<length>";
|
3
|
+
inherits: true;
|
4
|
+
initial-value: 0px;
|
5
|
+
}
|
6
|
+
@property --pf-v6-c-tabs--link-accent--start {
|
7
|
+
syntax: "<length>";
|
8
|
+
inherits: true;
|
9
|
+
initial-value: 0px;
|
10
|
+
}
|
1
11
|
.pf-v6-c-tabs {
|
2
12
|
--pf-v6-c-tabs--inset: 0;
|
3
13
|
--pf-v6-c-tabs--Width: auto;
|
@@ -59,6 +69,8 @@
|
|
59
69
|
--pf-v6-c-tabs--m-box--m-secondary__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
60
70
|
--pf-v6-c-tabs--m-box--m-secondary__item--m-current__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
61
71
|
--pf-v6-c-tabs--m-subtab__link--FontSize: var(--pf-t--global--font--size--xs);
|
72
|
+
--pf-v6-c-tabs__link--TransitionDuration--background-color: var(--pf-t--global--motion--duration--fade--short);
|
73
|
+
--pf-v6-c-tabs__link--TransitionTimingFunction--background-color: var(--pf-t--global--motion--timing-function--default);
|
62
74
|
--pf-v6-c-tabs__link--before--border-color--base: var(--pf-t--global--border--color--default);
|
63
75
|
--pf-v6-c-tabs__link--before--border-width--base: var(--pf-t--global--border--width--regular);
|
64
76
|
--pf-v6-c-tabs__link--before--BorderBlockStartColor: var(--pf-v6-c-tabs__link--before--border-color--base);
|
@@ -83,6 +95,26 @@
|
|
83
95
|
--pf-v6-c-tabs__link--after--BorderInlineStartWidth: 0;
|
84
96
|
--pf-v6-c-tabs__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
85
97
|
--pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
|
98
|
+
--pf-v6-c-tabs--link-accent--start: 0;
|
99
|
+
--pf-v6-c-tabs--link-accent--length: auto;
|
100
|
+
--pf-v6-c-tabs--link-accent--color: var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
|
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--InsetBlockStart: auto;
|
103
|
+
--pf-v6-c-tabs--link-accent--InsetBlockEnd: 0;
|
104
|
+
--pf-v6-c-tabs--link-accent--InsetInlineStart: initial;
|
105
|
+
--pf-v6-c-tabs--link-accent--Width: initial;
|
106
|
+
--pf-v6-c-tabs--link-accent--Height: 0;
|
107
|
+
--pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--link-accent--border-size);
|
108
|
+
--pf-v6-c-tabs--link-accent--BorderInlineStartWidth: 0;
|
109
|
+
--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart: initial;
|
110
|
+
--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
|
+
--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth: 0;
|
115
|
+
--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--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
117
|
+
--pf-v6-c-tabs--link-accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
86
118
|
--pf-v6-c-tabs__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
87
119
|
--pf-v6-c-tabs__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
88
120
|
--pf-v6-c-tabs__scroll-button--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
@@ -240,6 +272,13 @@
|
|
240
272
|
--pf-v6-c-tabs__link--after--InsetBlockEnd: 0;
|
241
273
|
--pf-v6-c-tabs__link--after--InsetInlineEnd: auto;
|
242
274
|
--pf-v6-c-tabs__list--ScrollSnapTypeAxis: var(--pf-v6-c-tabs--m-vertical__list--ScrollSnapTypeAxis);
|
275
|
+
--pf-v6-c-tabs--link-accent--InsetBlockStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart);
|
276
|
+
--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
|
+
--pf-v6-c-tabs--link-accent--Width: var(--pf-v6-c-tabs--m-vertical--link-accent--Width);
|
279
|
+
--pf-v6-c-tabs--link-accent--Height: var(--pf-v6-c-tabs--m-vertical--link-accent--Height);
|
280
|
+
--pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth);
|
281
|
+
--pf-v6-c-tabs--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth);
|
243
282
|
display: inline-flex;
|
244
283
|
flex-direction: column;
|
245
284
|
height: 100%;
|
@@ -502,6 +541,7 @@
|
|
502
541
|
text-decoration-line: none;
|
503
542
|
background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
|
504
543
|
border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
|
544
|
+
transition: background-color var(--pf-v6-c-tabs__link--TransitionDuration--background-color) var(--pf-v6-c-tabs__link--TransitionTimingFunction--background-color);
|
505
545
|
}
|
506
546
|
.pf-v6-c-tabs__item.pf-m-action, .pf-v6-c-tabs__link {
|
507
547
|
--pf-v6-c-tabs__link--after--BorderBlockEndWidth: var(--pf-v6-c-tabs__link--after--BorderWidth);
|
@@ -812,4 +852,29 @@
|
|
812
852
|
--pf-v6-c-tabs--m-vertical--inset: var(--pf-t--global--spacer--2xl);
|
813
853
|
--pf-v6-c-tabs--m-vertical--m-box--inset: var(--pf-t--global--spacer--2xl);
|
814
854
|
}
|
855
|
+
}
|
856
|
+
|
857
|
+
@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 {
|
860
|
+
content: revert;
|
861
|
+
}
|
862
|
+
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
863
|
+
position: absolute;
|
864
|
+
inset-block-start: var(--pf-v6-c-tabs--link-accent--InsetBlockStart, var(--pf-v6-c-tabs--link-accent--start));
|
865
|
+
inset-block-end: var(--pf-v6-c-tabs--link-accent--InsetBlockEnd);
|
866
|
+
inset-inline-start: var(--pf-v6-c-tabs--link-accent--InsetInlineStart, var(--pf-v6-c-tabs--link-accent--start));
|
867
|
+
width: var(--pf-v6-c-tabs--link-accent--Width, var(--pf-v6-c-tabs--link-accent--length));
|
868
|
+
height: var(--pf-v6-c-tabs--link-accent--Height, var(--pf-v6-c-tabs--link-accent--length));
|
869
|
+
content: "";
|
870
|
+
border: 0 solid var(--pf-v6-c-tabs--link-accent--color);
|
871
|
+
border-block-end-width: var(--pf-v6-c-tabs--link-accent--BorderBlockEndWidth);
|
872
|
+
border-inline-start-width: var(--pf-v6-c-tabs--link-accent--BorderInlineStartWidth);
|
873
|
+
transition-timing-function: var(--pf-v6-c-tabs--link-accent--TransitionTimingFunction);
|
874
|
+
transition-duration: var(--pf-v6-c-tabs--link-accent--TransitionDuration);
|
875
|
+
transition-property: --pf-v6-c-tabs--link-accent--length, --pf-v6-c-tabs--link-accent--start, width;
|
876
|
+
}
|
877
|
+
.pf-v6-c-tabs.pf-m-initializing-accent {
|
878
|
+
--pf-v6-c-tabs--link-accent--TransitionDuration: 0;
|
879
|
+
}
|
815
880
|
}
|
@@ -64,7 +64,8 @@ declare const _default: {
|
|
64
64
|
"insetMdOn_2xl": "pf-m-inset-md-on-2xl",
|
65
65
|
"insetLgOn_2xl": "pf-m-inset-lg-on-2xl",
|
66
66
|
"insetXlOn_2xl": "pf-m-inset-xl-on-2xl",
|
67
|
-
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl"
|
67
|
+
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl",
|
68
|
+
"initializingAccent": "pf-m-initializing-accent"
|
68
69
|
},
|
69
70
|
"tabs": "pf-v6-c-tabs",
|
70
71
|
"tabsAdd": "pf-v6-c-tabs__add",
|
@@ -66,7 +66,8 @@ exports.default = {
|
|
66
66
|
"insetMdOn_2xl": "pf-m-inset-md-on-2xl",
|
67
67
|
"insetLgOn_2xl": "pf-m-inset-lg-on-2xl",
|
68
68
|
"insetXlOn_2xl": "pf-m-inset-xl-on-2xl",
|
69
|
-
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl"
|
69
|
+
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl",
|
70
|
+
"initializingAccent": "pf-m-initializing-accent"
|
70
71
|
},
|
71
72
|
"tabs": "pf-v6-c-tabs",
|
72
73
|
"tabsAdd": "pf-v6-c-tabs__add",
|
@@ -64,7 +64,8 @@ export default {
|
|
64
64
|
"insetMdOn_2xl": "pf-m-inset-md-on-2xl",
|
65
65
|
"insetLgOn_2xl": "pf-m-inset-lg-on-2xl",
|
66
66
|
"insetXlOn_2xl": "pf-m-inset-xl-on-2xl",
|
67
|
-
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl"
|
67
|
+
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl",
|
68
|
+
"initializingAccent": "pf-m-initializing-accent"
|
68
69
|
},
|
69
70
|
"tabs": "pf-v6-c-tabs",
|
70
71
|
"tabsAdd": "pf-v6-c-tabs__add",
|
@@ -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",
|
@@ -8,6 +8,12 @@
|
|
8
8
|
grid-auto-flow: column;
|
9
9
|
align-items: baseline;
|
10
10
|
min-width: var(--pf-v6-c-truncate--MinWidth);
|
11
|
+
text-decoration: inherit;
|
12
|
+
}
|
13
|
+
.pf-v6-c-truncate.pf-m-fixed {
|
14
|
+
display: inline;
|
15
|
+
align-items: revert;
|
16
|
+
min-width: revert;
|
11
17
|
}
|
12
18
|
|
13
19
|
.pf-v6-c-truncate__start,
|
@@ -3,6 +3,9 @@ exports.__esModule = true;
|
|
3
3
|
require('./truncate.css');
|
4
4
|
exports.default = {
|
5
5
|
"dirRtl": "pf-v6-m-dir-rtl",
|
6
|
+
"modifiers": {
|
7
|
+
"fixed": "pf-m-fixed"
|
8
|
+
},
|
6
9
|
"truncate": "pf-v6-c-truncate",
|
7
10
|
"truncateEnd": "pf-v6-c-truncate__end",
|
8
11
|
"truncateStart": "pf-v6-c-truncate__start"
|