@patternfly/patternfly 6.3.0-prerelease.17 → 6.3.0-prerelease.19
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/components/ProgressStepper/progress-stepper.scss +1 -0
- package/components/Spinner/spinner.css +5 -0
- package/components/Spinner/spinner.scss +6 -0
- package/components/Tabs/tabs.css +25 -15
- package/components/Tabs/tabs.scss +26 -13
- package/components/_index.css +30 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +32 -6
- package/docs/components/Spinner/examples/Spinner.md +10 -0
- package/docs/components/Tabs/examples/Tabs.md +1214 -6729
- package/docs/demos/Card/examples/Card.md +0 -57
- package/docs/demos/DescriptionList/examples/DescriptionList.md +0 -38
- package/docs/demos/Drawer/examples/Drawer.md +0 -38
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +0 -76
- package/docs/demos/Tabs/examples/Tabs.md +0 -570
- package/package.json +1 -1
- package/patternfly-no-globals.css +30 -15
- package/patternfly.css +30 -15
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -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
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--#{$spinner}__path--AnimationTimingFunction: ease-in-out;
|
|
15
15
|
|
|
16
16
|
// sizes
|
|
17
|
+
--#{$spinner}--m-xs--diameter: var(--pf-t--global--icon--size--sm);
|
|
17
18
|
--#{$spinner}--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
|
18
19
|
--#{$spinner}--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
|
19
20
|
--#{$spinner}--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
|
@@ -34,6 +35,11 @@
|
|
|
34
35
|
--#{$spinner}--diameter: var(--#{$spinner}--m-inline--diameter);
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
&.pf-m-xs {
|
|
39
|
+
--#{$spinner}--diameter: var(--#{$spinner}--m-xs--diameter);
|
|
40
|
+
--#{$spinner}--StrokeWidth: 15;
|
|
41
|
+
}
|
|
42
|
+
|
|
37
43
|
&.pf-m-sm {
|
|
38
44
|
--#{$spinner}--diameter: var(--#{$spinner}--m-sm--diameter);
|
|
39
45
|
}
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -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;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
$pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
4
4
|
$pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
5
5
|
|
|
6
|
+
|
|
6
7
|
@property --#{$tabs}--link-accent--length {
|
|
7
8
|
syntax: "<length>";
|
|
8
9
|
inherits: true;
|
|
@@ -121,25 +122,28 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
121
122
|
|
|
122
123
|
// Link accent
|
|
123
124
|
--#{$tabs}--link-accent--start: 0; // needed to create react-token
|
|
124
|
-
--#{$tabs}--link-accent--length:
|
|
125
|
+
--#{$tabs}--link-accent--length: 0; // needed to create react-token
|
|
125
126
|
--#{$tabs}--link-accent--color: var(--#{$tabs}__item--m-current__link--after--BorderColor);
|
|
126
127
|
--#{$tabs}--link-accent--border-size: var(--#{$tabs}__item--m-current__link--after--BorderWidth);
|
|
128
|
+
--#{$tabs}--link-accent--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
129
|
+
--#{$tabs}--link-accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
127
130
|
--#{$tabs}--link-accent--InsetBlockStart: auto;
|
|
128
131
|
--#{$tabs}--link-accent--InsetBlockEnd: 0;
|
|
129
|
-
--#{$tabs}--link-accent--InsetInlineStart:
|
|
132
|
+
--#{$tabs}--link-accent--InsetInlineStart: 0;
|
|
130
133
|
--#{$tabs}--link-accent--Width: initial;
|
|
131
134
|
--#{$tabs}--link-accent--Height: 0;
|
|
132
135
|
--#{$tabs}--link-accent--BorderBlockEndWidth: var(--#{$tabs}--link-accent--border-size);
|
|
133
136
|
--#{$tabs}--link-accent--BorderInlineStartWidth: 0;
|
|
134
|
-
--#{$tabs}--
|
|
137
|
+
--#{$tabs}--link-accent--TranslateX: var(--#{$tabs}--link-accent--start);
|
|
138
|
+
--#{$tabs}--link-accent--TranslateY: 0;
|
|
139
|
+
--#{$tabs}--link-accent--TransformOrigin: 0 center;
|
|
140
|
+
--#{$tabs}--m-vertical--link-accent--InsetBlockStart: 0;
|
|
135
141
|
--#{$tabs}--m-vertical--link-accent--InsetBlockEnd: auto;
|
|
136
|
-
--#{$tabs}--m-vertical--link-accent--InsetInlineStart: 0;
|
|
137
|
-
--#{$tabs}--m-vertical--link-accent--Width: 0;
|
|
138
|
-
--#{$tabs}--m-vertical--link-accent--Height: initial;
|
|
139
142
|
--#{$tabs}--m-vertical--link-accent--BorderBlockEndWidth: 0;
|
|
140
143
|
--#{$tabs}--m-vertical--link-accent--BorderInlineStartWidth: var(--#{$tabs}--link-accent--border-size);
|
|
141
|
-
--#{$tabs}--link-accent--
|
|
142
|
-
--#{$tabs}--link-accent--
|
|
144
|
+
--#{$tabs}--m-vertical--link-accent--TranslateX: 0;
|
|
145
|
+
--#{$tabs}--m-vertical--link-accent--TranslateY: var(--#{$tabs}--link-accent--start);
|
|
146
|
+
--#{$tabs}--m-vertical--link-accent--TransformOrigin: center 0;
|
|
143
147
|
|
|
144
148
|
// Scroll buttons
|
|
145
149
|
--#{$tabs}__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -354,11 +358,13 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
354
358
|
--#{$tabs}__list--ScrollSnapTypeAxis: var(--#{$tabs}--m-vertical__list--ScrollSnapTypeAxis);
|
|
355
359
|
--#{$tabs}--link-accent--InsetBlockStart: var(--#{$tabs}--m-vertical--link-accent--InsetBlockStart);
|
|
356
360
|
--#{$tabs}--link-accent--InsetBlockEnd: var(--#{$tabs}--m-vertical--link-accent--InsetBlockEnd);
|
|
357
|
-
--#{$tabs}--link-accent--InsetInlineStart: var(--#{$tabs}--m-vertical--link-accent--InsetInlineStart);
|
|
358
361
|
--#{$tabs}--link-accent--Width: var(--#{$tabs}--m-vertical--link-accent--Width);
|
|
359
362
|
--#{$tabs}--link-accent--Height: var(--#{$tabs}--m-vertical--link-accent--Height);
|
|
360
363
|
--#{$tabs}--link-accent--BorderBlockEndWidth: var(--#{$tabs}--m-vertical--link-accent--BorderBlockEndWidth);
|
|
361
364
|
--#{$tabs}--link-accent--BorderInlineStartWidth: var(--#{$tabs}--m-vertical--link-accent--BorderInlineStartWidth);
|
|
365
|
+
--#{$tabs}--link-accent--TranslateX: var(--#{$tabs}--m-vertical--link-accent--TranslateX);
|
|
366
|
+
--#{$tabs}--link-accent--TranslateY: var(--#{$tabs}--m-vertical--link-accent--TranslateY);
|
|
367
|
+
--#{$tabs}--link-accent--TransformOrigin: var(--#{$tabs}--m-vertical--link-accent--TransformOrigin);
|
|
362
368
|
|
|
363
369
|
display: inline-flex;
|
|
364
370
|
flex-direction: column;
|
|
@@ -785,7 +791,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
785
791
|
// stylelint-enable
|
|
786
792
|
|
|
787
793
|
@media (prefers-reduced-motion: no-preference) {
|
|
788
|
-
.#{$tabs}:not(.pf-m-box) {
|
|
794
|
+
.#{$tabs}.pf-m-animate-current:not(.pf-m-box) {
|
|
789
795
|
.#{$tabs}__link,
|
|
790
796
|
.#{$tabs}__item.pf-m-action {
|
|
791
797
|
&::after {
|
|
@@ -795,9 +801,9 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
795
801
|
|
|
796
802
|
.#{$tabs}__list::after {
|
|
797
803
|
position: absolute;
|
|
798
|
-
inset-block-start: var(--#{$tabs}--link-accent--InsetBlockStart
|
|
804
|
+
inset-block-start: var(--#{$tabs}--link-accent--InsetBlockStart);
|
|
799
805
|
inset-block-end: var(--#{$tabs}--link-accent--InsetBlockEnd);
|
|
800
|
-
inset-inline-start: var(--#{$tabs}--link-accent--InsetInlineStart
|
|
806
|
+
inset-inline-start: var(--#{$tabs}--link-accent--InsetInlineStart);
|
|
801
807
|
width: var(--#{$tabs}--link-accent--Width, var(--#{$tabs}--link-accent--length));
|
|
802
808
|
height: var(--#{$tabs}--link-accent--Height, var(--#{$tabs}--link-accent--length));
|
|
803
809
|
content: "";
|
|
@@ -806,7 +812,14 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
806
812
|
border-inline-start-width: var(--#{$tabs}--link-accent--BorderInlineStartWidth);
|
|
807
813
|
transition-timing-function: var(--#{$tabs}--link-accent--TransitionTimingFunction);
|
|
808
814
|
transition-duration: var(--#{$tabs}--link-accent--TransitionDuration);
|
|
809
|
-
transition-property:
|
|
815
|
+
transition-property: width, height, translate;
|
|
816
|
+
transform-origin: var(--#{$tabs}--link-accent--TransformOrigin);
|
|
817
|
+
|
|
818
|
+
@include pf-v6-bidirectional-style(
|
|
819
|
+
$prop: translate,
|
|
820
|
+
$ltr-val: var(--#{$tabs}--link-accent--TranslateX) var(--#{$tabs}--link-accent--TranslateY),
|
|
821
|
+
$rtl-val: #{pf-v6-calc-inverse(var(--#{$tabs}--link-accent--TranslateX))} var(--#{$tabs}--link-accent--TranslateY)
|
|
822
|
+
);
|
|
810
823
|
}
|
|
811
824
|
}
|
|
812
825
|
|
package/components/_index.css
CHANGED
|
@@ -14935,6 +14935,7 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
14935
14935
|
--pf-v6-c-spinner--StrokeWidth: 10;
|
|
14936
14936
|
--pf-v6-c-spinner__path--StrokeWidth: var(--pf-v6-c-spinner--StrokeWidth);
|
|
14937
14937
|
--pf-v6-c-spinner__path--AnimationTimingFunction: ease-in-out;
|
|
14938
|
+
--pf-v6-c-spinner--m-xs--diameter: var(--pf-t--global--icon--size--sm);
|
|
14938
14939
|
--pf-v6-c-spinner--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
|
14939
14940
|
--pf-v6-c-spinner--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
|
14940
14941
|
--pf-v6-c-spinner--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
|
@@ -14951,6 +14952,10 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
14951
14952
|
.pf-v6-c-spinner.pf-m-inline {
|
|
14952
14953
|
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-inline--diameter);
|
|
14953
14954
|
}
|
|
14955
|
+
.pf-v6-c-spinner.pf-m-xs {
|
|
14956
|
+
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-xs--diameter);
|
|
14957
|
+
--pf-v6-c-spinner--StrokeWidth: 15;
|
|
14958
|
+
}
|
|
14954
14959
|
.pf-v6-c-spinner.pf-m-sm {
|
|
14955
14960
|
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-sm--diameter);
|
|
14956
14961
|
}
|
|
@@ -18655,25 +18660,28 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
18655
18660
|
--pf-v6-c-tabs__item--m-current__link--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
18656
18661
|
--pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(--pf-t--global--border--width--extra-strong);
|
|
18657
18662
|
--pf-v6-c-tabs--link-accent--start: 0;
|
|
18658
|
-
--pf-v6-c-tabs--link-accent--length:
|
|
18663
|
+
--pf-v6-c-tabs--link-accent--length: 0;
|
|
18659
18664
|
--pf-v6-c-tabs--link-accent--color: var(--pf-v6-c-tabs__item--m-current__link--after--BorderColor);
|
|
18660
18665
|
--pf-v6-c-tabs--link-accent--border-size: var(--pf-v6-c-tabs__item--m-current__link--after--BorderWidth);
|
|
18666
|
+
--pf-v6-c-tabs--link-accent--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
18667
|
+
--pf-v6-c-tabs--link-accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
18661
18668
|
--pf-v6-c-tabs--link-accent--InsetBlockStart: auto;
|
|
18662
18669
|
--pf-v6-c-tabs--link-accent--InsetBlockEnd: 0;
|
|
18663
|
-
--pf-v6-c-tabs--link-accent--InsetInlineStart:
|
|
18670
|
+
--pf-v6-c-tabs--link-accent--InsetInlineStart: 0;
|
|
18664
18671
|
--pf-v6-c-tabs--link-accent--Width: initial;
|
|
18665
18672
|
--pf-v6-c-tabs--link-accent--Height: 0;
|
|
18666
18673
|
--pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--link-accent--border-size);
|
|
18667
18674
|
--pf-v6-c-tabs--link-accent--BorderInlineStartWidth: 0;
|
|
18668
|
-
--pf-v6-c-tabs--
|
|
18675
|
+
--pf-v6-c-tabs--link-accent--TranslateX: var(--pf-v6-c-tabs--link-accent--start);
|
|
18676
|
+
--pf-v6-c-tabs--link-accent--TranslateY: 0;
|
|
18677
|
+
--pf-v6-c-tabs--link-accent--TransformOrigin: 0 center;
|
|
18678
|
+
--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart: 0;
|
|
18669
18679
|
--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockEnd: auto;
|
|
18670
|
-
--pf-v6-c-tabs--m-vertical--link-accent--InsetInlineStart: 0;
|
|
18671
|
-
--pf-v6-c-tabs--m-vertical--link-accent--Width: 0;
|
|
18672
|
-
--pf-v6-c-tabs--m-vertical--link-accent--Height: initial;
|
|
18673
18680
|
--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth: 0;
|
|
18674
18681
|
--pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--link-accent--border-size);
|
|
18675
|
-
--pf-v6-c-tabs--link-accent--
|
|
18676
|
-
--pf-v6-c-tabs--link-accent--
|
|
18682
|
+
--pf-v6-c-tabs--m-vertical--link-accent--TranslateX: 0;
|
|
18683
|
+
--pf-v6-c-tabs--m-vertical--link-accent--TranslateY: var(--pf-v6-c-tabs--link-accent--start);
|
|
18684
|
+
--pf-v6-c-tabs--m-vertical--link-accent--TransformOrigin: center 0;
|
|
18677
18685
|
--pf-v6-c-tabs__scroll-button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
18678
18686
|
--pf-v6-c-tabs__scroll-button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
18679
18687
|
--pf-v6-c-tabs__scroll-button--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
@@ -18833,11 +18841,13 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
18833
18841
|
--pf-v6-c-tabs__list--ScrollSnapTypeAxis: var(--pf-v6-c-tabs--m-vertical__list--ScrollSnapTypeAxis);
|
|
18834
18842
|
--pf-v6-c-tabs--link-accent--InsetBlockStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockStart);
|
|
18835
18843
|
--pf-v6-c-tabs--link-accent--InsetBlockEnd: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetBlockEnd);
|
|
18836
|
-
--pf-v6-c-tabs--link-accent--InsetInlineStart: var(--pf-v6-c-tabs--m-vertical--link-accent--InsetInlineStart);
|
|
18837
18844
|
--pf-v6-c-tabs--link-accent--Width: var(--pf-v6-c-tabs--m-vertical--link-accent--Width);
|
|
18838
18845
|
--pf-v6-c-tabs--link-accent--Height: var(--pf-v6-c-tabs--m-vertical--link-accent--Height);
|
|
18839
18846
|
--pf-v6-c-tabs--link-accent--BorderBlockEndWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderBlockEndWidth);
|
|
18840
18847
|
--pf-v6-c-tabs--link-accent--BorderInlineStartWidth: var(--pf-v6-c-tabs--m-vertical--link-accent--BorderInlineStartWidth);
|
|
18848
|
+
--pf-v6-c-tabs--link-accent--TranslateX: var(--pf-v6-c-tabs--m-vertical--link-accent--TranslateX);
|
|
18849
|
+
--pf-v6-c-tabs--link-accent--TranslateY: var(--pf-v6-c-tabs--m-vertical--link-accent--TranslateY);
|
|
18850
|
+
--pf-v6-c-tabs--link-accent--TransformOrigin: var(--pf-v6-c-tabs--m-vertical--link-accent--TransformOrigin);
|
|
18841
18851
|
display: inline-flex;
|
|
18842
18852
|
flex-direction: column;
|
|
18843
18853
|
height: 100%;
|
|
@@ -19414,15 +19424,15 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
19414
19424
|
}
|
|
19415
19425
|
|
|
19416
19426
|
@media (prefers-reduced-motion: no-preference) {
|
|
19417
|
-
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__link::after,
|
|
19418
|
-
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__item.pf-m-action::after {
|
|
19427
|
+
.pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__link::after,
|
|
19428
|
+
.pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__item.pf-m-action::after {
|
|
19419
19429
|
content: revert;
|
|
19420
19430
|
}
|
|
19421
|
-
.pf-v6-c-tabs:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
|
19431
|
+
.pf-v6-c-tabs.pf-m-animate-current:not(.pf-m-box) .pf-v6-c-tabs__list::after {
|
|
19422
19432
|
position: absolute;
|
|
19423
|
-
inset-block-start: var(--pf-v6-c-tabs--link-accent--InsetBlockStart
|
|
19433
|
+
inset-block-start: var(--pf-v6-c-tabs--link-accent--InsetBlockStart);
|
|
19424
19434
|
inset-block-end: var(--pf-v6-c-tabs--link-accent--InsetBlockEnd);
|
|
19425
|
-
inset-inline-start: var(--pf-v6-c-tabs--link-accent--InsetInlineStart
|
|
19435
|
+
inset-inline-start: var(--pf-v6-c-tabs--link-accent--InsetInlineStart);
|
|
19426
19436
|
width: var(--pf-v6-c-tabs--link-accent--Width, var(--pf-v6-c-tabs--link-accent--length));
|
|
19427
19437
|
height: var(--pf-v6-c-tabs--link-accent--Height, var(--pf-v6-c-tabs--link-accent--length));
|
|
19428
19438
|
content: "";
|
|
@@ -19431,7 +19441,12 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
19431
19441
|
border-inline-start-width: var(--pf-v6-c-tabs--link-accent--BorderInlineStartWidth);
|
|
19432
19442
|
transition-timing-function: var(--pf-v6-c-tabs--link-accent--TransitionTimingFunction);
|
|
19433
19443
|
transition-duration: var(--pf-v6-c-tabs--link-accent--TransitionDuration);
|
|
19434
|
-
transition-property:
|
|
19444
|
+
transition-property: width, height, translate;
|
|
19445
|
+
transform-origin: var(--pf-v6-c-tabs--link-accent--TransformOrigin);
|
|
19446
|
+
translate: var(--pf-v6-c-tabs--link-accent--TranslateX) var(--pf-v6-c-tabs--link-accent--TranslateY);
|
|
19447
|
+
}
|
|
19448
|
+
: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 {
|
|
19449
|
+
translate: calc(var(--pf-v6-c-tabs--link-accent--TranslateX) * var(--pf-v6-global--inverse--multiplier)) var(--pf-v6-c-tabs--link-accent--TranslateY);
|
|
19435
19450
|
}
|
|
19436
19451
|
.pf-v6-c-tabs.pf-m-initializing-accent {
|
|
19437
19452
|
--pf-v6-c-tabs--link-accent--TransitionDuration: 0;
|
|
@@ -364,15 +364,28 @@ cssPrefix: pf-v6-c-progress-stepper
|
|
|
364
364
|
<li
|
|
365
365
|
class="pf-v6-c-progress-stepper__step pf-m-current"
|
|
366
366
|
role="listitem"
|
|
367
|
-
aria-label="current step,
|
|
367
|
+
aria-label="current step,"
|
|
368
368
|
>
|
|
369
369
|
<div class="pf-v6-c-progress-stepper__step-connector">
|
|
370
370
|
<span class="pf-v6-c-progress-stepper__step-icon">
|
|
371
|
-
<
|
|
371
|
+
<svg
|
|
372
|
+
class="pf-v6-c-spinner pf-m-xs"
|
|
373
|
+
role="progressbar"
|
|
374
|
+
viewBox="0 0 100 100"
|
|
375
|
+
aria-label="Loading..."
|
|
376
|
+
>
|
|
377
|
+
<circle
|
|
378
|
+
class="pf-v6-c-spinner__path"
|
|
379
|
+
cx="50"
|
|
380
|
+
cy="50"
|
|
381
|
+
r="45"
|
|
382
|
+
fill="none"
|
|
383
|
+
/>
|
|
384
|
+
</svg>
|
|
372
385
|
</span>
|
|
373
386
|
</div>
|
|
374
387
|
<div class="pf-v6-c-progress-stepper__step-main">
|
|
375
|
-
<div class="pf-v6-c-progress-stepper__step-title">
|
|
388
|
+
<div class="pf-v6-c-progress-stepper__step-title">In process</div>
|
|
376
389
|
<div
|
|
377
390
|
class="pf-v6-c-progress-stepper__step-description"
|
|
378
391
|
>This is the second thing to happen</div>
|
|
@@ -783,7 +796,7 @@ cssPrefix: pf-v6-c-progress-stepper
|
|
|
783
796
|
|
|
784
797
|
```
|
|
785
798
|
|
|
786
|
-
### Basic
|
|
799
|
+
### Basic in process
|
|
787
800
|
|
|
788
801
|
```html
|
|
789
802
|
<ol class="pf-v6-c-progress-stepper" role="list">
|
|
@@ -804,11 +817,24 @@ cssPrefix: pf-v6-c-progress-stepper
|
|
|
804
817
|
<li
|
|
805
818
|
class="pf-v6-c-progress-stepper__step pf-m-current"
|
|
806
819
|
role="listitem"
|
|
807
|
-
aria-label="current step,
|
|
820
|
+
aria-label="current step,"
|
|
808
821
|
>
|
|
809
822
|
<div class="pf-v6-c-progress-stepper__step-connector">
|
|
810
823
|
<span class="pf-v6-c-progress-stepper__step-icon">
|
|
811
|
-
<
|
|
824
|
+
<svg
|
|
825
|
+
class="pf-v6-c-spinner pf-m-xs"
|
|
826
|
+
role="progressbar"
|
|
827
|
+
viewBox="0 0 100 100"
|
|
828
|
+
aria-label="Loading..."
|
|
829
|
+
>
|
|
830
|
+
<circle
|
|
831
|
+
class="pf-v6-c-spinner__path"
|
|
832
|
+
cx="50"
|
|
833
|
+
cy="50"
|
|
834
|
+
r="45"
|
|
835
|
+
fill="none"
|
|
836
|
+
/>
|
|
837
|
+
</svg>
|
|
812
838
|
</span>
|
|
813
839
|
</div>
|
|
814
840
|
<div class="pf-v6-c-progress-stepper__step-main">
|
|
@@ -21,6 +21,15 @@ cssPrefix: pf-v6-c-spinner
|
|
|
21
21
|
### Sizes
|
|
22
22
|
|
|
23
23
|
```html
|
|
24
|
+
<svg
|
|
25
|
+
class="pf-v6-c-spinner pf-m-xs"
|
|
26
|
+
role="progressbar"
|
|
27
|
+
viewBox="0 0 100 100"
|
|
28
|
+
aria-label="Loading..."
|
|
29
|
+
>
|
|
30
|
+
<circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
|
|
31
|
+
</svg>
|
|
32
|
+
|
|
24
33
|
<svg
|
|
25
34
|
class="pf-v6-c-spinner pf-m-sm"
|
|
26
35
|
role="progressbar"
|
|
@@ -117,6 +126,7 @@ Note: A [live region](https://developer.mozilla.org/en-US/docs/Web/Accessibility
|
|
|
117
126
|
|
|
118
127
|
| Class | Applied to | Outcome |
|
|
119
128
|
| -- | -- | -- |
|
|
129
|
+
| `.pf-m-xs` | `.pf-v6-c-spinner` | Creates a extra-small spinner. |
|
|
120
130
|
| `.pf-m-sm` | `.pf-v6-c-spinner` | Creates a small spinner. |
|
|
121
131
|
| `.pf-m-md` | `.pf-v6-c-spinner` | Creates a medium spinner. |
|
|
122
132
|
| `.pf-m-lg` | `.pf-v6-c-spinner` | Creates a large spinner. |
|