@patternfly/patternfly 4.212.1 → 4.214.1
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/FormControl/form-control.css +7 -0
- package/components/FormControl/form-control.scss +11 -0
- package/components/Icon/icon.css +119 -0
- package/components/Icon/icon.scss +149 -0
- package/components/ProgressStepper/progress-stepper.css +7 -4
- package/components/ProgressStepper/progress-stepper.scss +7 -4
- package/components/_all.scss +1 -0
- package/docs/components/DualListSelector/examples/DualListSelector.md +4 -46
- package/docs/components/FileUpload/examples/FileUpload.md +1 -1
- package/docs/components/Form/examples/Form.md +52 -50
- package/docs/components/FormControl/examples/FormControl.md +46 -25
- package/docs/components/Icon/examples/Icon.md +255 -0
- package/docs/components/LogViewer/examples/LogViewer.md +28 -28
- package/docs/components/Login/examples/Login.md +5 -5
- package/docs/components/SearchInput/examples/SearchInput.md +2 -2
- package/docs/components/TabContent/examples/TabContent.md +21 -11
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +2 -2
- package/docs/components/Wizard/examples/Wizard.md +5 -5
- package/docs/demos/Alert/examples/Alert.md +2 -2
- package/docs/demos/Button/examples/Button.md +3 -3
- package/docs/demos/Form/examples/BasicForms.md +5 -5
- package/docs/demos/HelperText/examples/HelperText.md +1 -1
- package/docs/demos/Modal/examples/Modal.md +1 -1
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +4 -4
- package/docs/demos/Wizard/examples/Wizard.md +1960 -748
- package/package.json +1 -1
- package/patternfly-no-reset.css +134 -4
- package/patternfly.css +134 -4
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
--pf-c-form-control--readonly--focus--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--sm));
|
|
44
44
|
--pf-c-form-control--readonly--focus--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
45
45
|
--pf-c-form-control--readonly--focus--BorderBottomColor: var(--pf-global--BorderColor--200);
|
|
46
|
+
--pf-c-form-control--readonly--m-plain--BackgroundColor: transparent;
|
|
47
|
+
--pf-c-form-control--readonly--m-plain--inset--base: 0;
|
|
46
48
|
--pf-c-form-control--success--BorderBottomWidth: var(--pf-global--BorderWidth--md);
|
|
47
49
|
--pf-c-form-control--success--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--success--BorderBottomWidth));
|
|
48
50
|
--pf-c-form-control--success--BorderBottomColor: var(--pf-global--success-color--100);
|
|
@@ -163,6 +165,11 @@
|
|
|
163
165
|
--pf-c-form-control--focus--BorderBottomWidth: var(--pf-c-form-control--readonly--focus--BorderBottomWidth);
|
|
164
166
|
--pf-c-form-control--focus--BorderBottomColor: var(--pf-c-form-control--readonly--focus--BorderBottomColor);
|
|
165
167
|
}
|
|
168
|
+
.pf-c-form-control[readonly].pf-m-plain {
|
|
169
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-c-form-control--readonly--m-plain--BackgroundColor);
|
|
170
|
+
--pf-c-form-control--inset--base: var(--pf-c-form-control--readonly--m-plain--inset--base);
|
|
171
|
+
border-color: transparent;
|
|
172
|
+
}
|
|
166
173
|
.pf-c-form-control:hover {
|
|
167
174
|
--pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--hover--BorderBottomColor);
|
|
168
175
|
}
|
|
@@ -77,6 +77,10 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
77
77
|
--pf-c-form-control--readonly--focus--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
78
78
|
--pf-c-form-control--readonly--focus--BorderBottomColor: var(--pf-global--BorderColor--200);
|
|
79
79
|
|
|
80
|
+
// input readonly plain style
|
|
81
|
+
--pf-c-form-control--readonly--m-plain--BackgroundColor: transparent;
|
|
82
|
+
--pf-c-form-control--readonly--m-plain--inset--base: 0;
|
|
83
|
+
|
|
80
84
|
// Input m-success -- rename vars to m-success in breaking change release
|
|
81
85
|
--pf-c-form-control--success--BorderBottomWidth: var(--pf-global--BorderWidth--md);
|
|
82
86
|
--pf-c-form-control--success--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--success--BorderBottomWidth));
|
|
@@ -241,6 +245,13 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
241
245
|
--pf-c-form-control--focus--BorderBottomColor: var(--pf-c-form-control--readonly--focus--BorderBottomColor);
|
|
242
246
|
}
|
|
243
247
|
}
|
|
248
|
+
|
|
249
|
+
&.pf-m-plain {
|
|
250
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-c-form-control--readonly--m-plain--BackgroundColor);
|
|
251
|
+
--pf-c-form-control--inset--base: var(--pf-c-form-control--readonly--m-plain--inset--base);
|
|
252
|
+
|
|
253
|
+
border-color: transparent;
|
|
254
|
+
}
|
|
244
255
|
}
|
|
245
256
|
|
|
246
257
|
&:hover {
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
.pf-c-icon {
|
|
2
|
+
--pf-c-icon--Width: var(--pf-global--icon--FontSize--md);
|
|
3
|
+
--pf-c-icon--Height: var(--pf-global--icon--FontSize--md);
|
|
4
|
+
--pf-c-icon--m-inline--Width: 1em;
|
|
5
|
+
--pf-c-icon--m-inline--Height: 1em;
|
|
6
|
+
--pf-c-icon--m-sm--Width: var(--pf-global--icon--FontSize--sm);
|
|
7
|
+
--pf-c-icon--m-md--Width: var(--pf-global--icon--FontSize--md);
|
|
8
|
+
--pf-c-icon--m-lg--Width: var(--pf-global--icon--FontSize--lg);
|
|
9
|
+
--pf-c-icon--m-xl--Width: var(--pf-global--icon--FontSize--xl);
|
|
10
|
+
--pf-c-icon--m-sm--Height: var(--pf-global--icon--FontSize--sm);
|
|
11
|
+
--pf-c-icon--m-md--Height: var(--pf-global--icon--FontSize--md);
|
|
12
|
+
--pf-c-icon--m-lg--Height: var(--pf-global--icon--FontSize--lg);
|
|
13
|
+
--pf-c-icon--m-xl--Height: var(--pf-global--icon--FontSize--xl);
|
|
14
|
+
--pf-c-icon__content--Color: var(--pf-global--icon--Color--dark);
|
|
15
|
+
--pf-c-icon__content--m-danger--Color: var(--pf-global--danger-color--100);
|
|
16
|
+
--pf-c-icon__content--m-warning--Color: var(--pf-global--warning-color--100);
|
|
17
|
+
--pf-c-icon__content--m-success--Color: var(--pf-global--success-color--100);
|
|
18
|
+
--pf-c-icon__content--m-info--Color: var(--pf-global--info-color--100);
|
|
19
|
+
--pf-c-icon__content--m-default--Color: var(--pf-global--default-color--100);
|
|
20
|
+
--pf-c-icon__content--FontSize: var(--pf-global--icon--FontSize--md);
|
|
21
|
+
--pf-c-icon--m-inline__content--FontSize: 1em;
|
|
22
|
+
--pf-c-icon__content--svg--VerticalAlign: -.125em;
|
|
23
|
+
--pf-c-icon--m-sm--content--FontSize: var(--pf-global--icon--FontSize--sm);
|
|
24
|
+
--pf-c-icon--m-md--content--FontSize: var(--pf-global--icon--FontSize--md);
|
|
25
|
+
--pf-c-icon--m-lg--content--FontSize: var(--pf-global--icon--FontSize--lg);
|
|
26
|
+
--pf-c-icon--m-xl--content--FontSize: var(--pf-global--icon--FontSize--xl);
|
|
27
|
+
position: relative;
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
width: var(--pf-c-icon--Width);
|
|
32
|
+
height: var(--pf-c-icon--Height);
|
|
33
|
+
}
|
|
34
|
+
.pf-c-icon.pf-m-inline {
|
|
35
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-inline--Width);
|
|
36
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-inline--Height);
|
|
37
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-inline__content--FontSize);
|
|
38
|
+
--pf-c-icon__content--Color: currentcolor;
|
|
39
|
+
line-height: 1;
|
|
40
|
+
}
|
|
41
|
+
.pf-c-icon.pf-m-inline .pf-c-spinner {
|
|
42
|
+
--pf-c-spinner--diameter: 1em;
|
|
43
|
+
}
|
|
44
|
+
.pf-c-icon.pf-m-sm {
|
|
45
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-sm--Width);
|
|
46
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-sm--Height);
|
|
47
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-sm--content--FontSize);
|
|
48
|
+
}
|
|
49
|
+
.pf-c-icon.pf-m-md {
|
|
50
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-md--Width);
|
|
51
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-md--Height);
|
|
52
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-md--content--FontSize);
|
|
53
|
+
}
|
|
54
|
+
.pf-c-icon.pf-m-lg {
|
|
55
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-lg--Width);
|
|
56
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-lg--Height);
|
|
57
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-lg--content--FontSize);
|
|
58
|
+
}
|
|
59
|
+
.pf-c-icon.pf-m-xl {
|
|
60
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-xl--Width);
|
|
61
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-xl--Height);
|
|
62
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-xl--content--FontSize);
|
|
63
|
+
}
|
|
64
|
+
.pf-c-icon.pf-m-in-progress {
|
|
65
|
+
--pf-c-icon__content--Opacity: 0;
|
|
66
|
+
--pf-c-icon__progress--Opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.pf-c-icon__content,
|
|
70
|
+
.pf-c-icon__progress {
|
|
71
|
+
font-size: var(--pf-c-icon__content--FontSize);
|
|
72
|
+
}
|
|
73
|
+
.pf-c-icon__content svg,
|
|
74
|
+
.pf-c-icon__progress svg {
|
|
75
|
+
vertical-align: var(--pf-c-icon__content--svg--VerticalAlign);
|
|
76
|
+
}
|
|
77
|
+
.pf-c-icon__content.pf-m-sm,
|
|
78
|
+
.pf-c-icon__progress.pf-m-sm {
|
|
79
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-sm--content--FontSize);
|
|
80
|
+
}
|
|
81
|
+
.pf-c-icon__content.pf-m-md,
|
|
82
|
+
.pf-c-icon__progress.pf-m-md {
|
|
83
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-md--content--FontSize);
|
|
84
|
+
}
|
|
85
|
+
.pf-c-icon__content.pf-m-lg,
|
|
86
|
+
.pf-c-icon__progress.pf-m-lg {
|
|
87
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-lg--content--FontSize);
|
|
88
|
+
}
|
|
89
|
+
.pf-c-icon__content.pf-m-xl,
|
|
90
|
+
.pf-c-icon__progress.pf-m-xl {
|
|
91
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-xl--content--FontSize);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.pf-c-icon__content {
|
|
95
|
+
color: var(--pf-c-icon__content--Color);
|
|
96
|
+
opacity: var(--pf-c-icon__content--Opacity, 1);
|
|
97
|
+
}
|
|
98
|
+
.pf-c-icon__content.pf-m-danger {
|
|
99
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-danger--Color);
|
|
100
|
+
}
|
|
101
|
+
.pf-c-icon__content.pf-m-warning {
|
|
102
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-warning--Color);
|
|
103
|
+
}
|
|
104
|
+
.pf-c-icon__content.pf-m-success {
|
|
105
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-success--Color);
|
|
106
|
+
}
|
|
107
|
+
.pf-c-icon__content.pf-m-info {
|
|
108
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-info--Color);
|
|
109
|
+
}
|
|
110
|
+
.pf-c-icon__content.pf-m-default {
|
|
111
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-default--Color);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.pf-c-icon__progress {
|
|
115
|
+
position: absolute;
|
|
116
|
+
top: calc(50% + 0.5 * var(--pf-c-icon__content--svg--VerticalAlign));
|
|
117
|
+
opacity: var(--pf-c-icon__progress--Opacity, 0);
|
|
118
|
+
transform: translateY(calc(-50% - 0.5 * var(--pf-c-icon__content--svg--VerticalAlign)));
|
|
119
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
.pf-c-icon {
|
|
2
|
+
// Size
|
|
3
|
+
--pf-c-icon--Width: var(--pf-global--icon--FontSize--md);
|
|
4
|
+
--pf-c-icon--Height: var(--pf-global--icon--FontSize--md);
|
|
5
|
+
|
|
6
|
+
// When inline, use the parent's size
|
|
7
|
+
--pf-c-icon--m-inline--Width: 1em;
|
|
8
|
+
--pf-c-icon--m-inline--Height: 1em;
|
|
9
|
+
|
|
10
|
+
// Size modifiers
|
|
11
|
+
--pf-c-icon--m-sm--Width: var(--pf-global--icon--FontSize--sm);
|
|
12
|
+
--pf-c-icon--m-md--Width: var(--pf-global--icon--FontSize--md);
|
|
13
|
+
--pf-c-icon--m-lg--Width: var(--pf-global--icon--FontSize--lg);
|
|
14
|
+
--pf-c-icon--m-xl--Width: var(--pf-global--icon--FontSize--xl);
|
|
15
|
+
--pf-c-icon--m-sm--Height: var(--pf-global--icon--FontSize--sm);
|
|
16
|
+
--pf-c-icon--m-md--Height: var(--pf-global--icon--FontSize--md);
|
|
17
|
+
--pf-c-icon--m-lg--Height: var(--pf-global--icon--FontSize--lg);
|
|
18
|
+
--pf-c-icon--m-xl--Height: var(--pf-global--icon--FontSize--xl);
|
|
19
|
+
|
|
20
|
+
// Content variables
|
|
21
|
+
--pf-c-icon__content--Color: var(--pf-global--icon--Color--dark);
|
|
22
|
+
|
|
23
|
+
// Content status
|
|
24
|
+
--pf-c-icon__content--m-danger--Color: var(--pf-global--danger-color--100);
|
|
25
|
+
--pf-c-icon__content--m-warning--Color: var(--pf-global--warning-color--100);
|
|
26
|
+
--pf-c-icon__content--m-success--Color: var(--pf-global--success-color--100);
|
|
27
|
+
--pf-c-icon__content--m-info--Color: var(--pf-global--info-color--100);
|
|
28
|
+
--pf-c-icon__content--m-default--Color: var(--pf-global--default-color--100);
|
|
29
|
+
--pf-c-icon__content--FontSize: var(--pf-global--icon--FontSize--md);
|
|
30
|
+
--pf-c-icon--m-inline__content--FontSize: 1em;
|
|
31
|
+
--pf-c-icon__content--svg--VerticalAlign: -.125em;
|
|
32
|
+
--pf-c-icon--m-sm--content--FontSize: var(--pf-global--icon--FontSize--sm);
|
|
33
|
+
--pf-c-icon--m-md--content--FontSize: var(--pf-global--icon--FontSize--md);
|
|
34
|
+
--pf-c-icon--m-lg--content--FontSize: var(--pf-global--icon--FontSize--lg);
|
|
35
|
+
--pf-c-icon--m-xl--content--FontSize: var(--pf-global--icon--FontSize--xl);
|
|
36
|
+
|
|
37
|
+
position: relative;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
width: var(--pf-c-icon--Width);
|
|
42
|
+
height: var(--pf-c-icon--Height);
|
|
43
|
+
|
|
44
|
+
// Inline modifier
|
|
45
|
+
&.pf-m-inline {
|
|
46
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-inline--Width);
|
|
47
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-inline--Height);
|
|
48
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-inline__content--FontSize);
|
|
49
|
+
--pf-c-icon__content--Color: currentcolor;
|
|
50
|
+
|
|
51
|
+
line-height: 1;
|
|
52
|
+
|
|
53
|
+
.pf-c-spinner {
|
|
54
|
+
--pf-c-spinner--diameter: 1em;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Size modifiers
|
|
59
|
+
&.pf-m-sm {
|
|
60
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-sm--Width);
|
|
61
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-sm--Height);
|
|
62
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-sm--content--FontSize);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.pf-m-md {
|
|
66
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-md--Width);
|
|
67
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-md--Height);
|
|
68
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-md--content--FontSize);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.pf-m-lg {
|
|
72
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-lg--Width);
|
|
73
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-lg--Height);
|
|
74
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-lg--content--FontSize);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.pf-m-xl {
|
|
78
|
+
--pf-c-icon--Width: var(--pf-c-icon--m-xl--Width);
|
|
79
|
+
--pf-c-icon--Height: var(--pf-c-icon--m-xl--Height);
|
|
80
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-xl--content--FontSize);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.pf-m-in-progress {
|
|
84
|
+
--pf-c-icon__content--Opacity: 0;
|
|
85
|
+
--pf-c-icon__progress--Opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Content and progress both have size modifiers
|
|
90
|
+
.pf-c-icon__content,
|
|
91
|
+
.pf-c-icon__progress {
|
|
92
|
+
font-size: var(--pf-c-icon__content--FontSize);
|
|
93
|
+
|
|
94
|
+
svg {
|
|
95
|
+
vertical-align: var(--pf-c-icon__content--svg--VerticalAlign);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Size modifiers
|
|
99
|
+
&.pf-m-sm {
|
|
100
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-sm--content--FontSize);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.pf-m-md {
|
|
104
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-md--content--FontSize);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.pf-m-lg {
|
|
108
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-lg--content--FontSize);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.pf-m-xl {
|
|
112
|
+
--pf-c-icon__content--FontSize: var(--pf-c-icon--m-xl--content--FontSize);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Content element
|
|
117
|
+
.pf-c-icon__content {
|
|
118
|
+
color: var(--pf-c-icon__content--Color);
|
|
119
|
+
opacity: var(--pf-c-icon__content--Opacity, 1);
|
|
120
|
+
|
|
121
|
+
// Status modifiers
|
|
122
|
+
&.pf-m-danger {
|
|
123
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-danger--Color);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.pf-m-warning {
|
|
127
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-warning--Color);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.pf-m-success {
|
|
131
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-success--Color);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.pf-m-info {
|
|
135
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-info--Color);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&.pf-m-default {
|
|
139
|
+
--pf-c-icon__content--Color: var(--pf-c-icon__content--m-default--Color);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
// Progress element
|
|
144
|
+
.pf-c-icon__progress {
|
|
145
|
+
position: absolute;
|
|
146
|
+
top: calc(50% + calc(.5 * var(--pf-c-icon__content--svg--VerticalAlign)));
|
|
147
|
+
opacity: var(--pf-c-icon__progress--Opacity, 0);
|
|
148
|
+
transform: translateY(calc(-50% - calc(.5 * var(--pf-c-icon__content--svg--VerticalAlign))));
|
|
149
|
+
}
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
--pf-c-progress-stepper--m-center__step-connector--JustifyContent: center;
|
|
54
54
|
--pf-c-progress-stepper--m-center__step-main--MarginRight: var(--pf-global--spacer--xs);
|
|
55
55
|
--pf-c-progress-stepper--m-center__step-main--MarginLeft: var(--pf-global--spacer--xs);
|
|
56
|
-
--pf-c-progress-stepper--m-center__step-
|
|
57
|
-
--pf-c-progress-stepper--m-center__step-description--TextAlign: center;
|
|
56
|
+
--pf-c-progress-stepper--m-center__step-main--TextAlign: center;
|
|
58
57
|
--pf-c-progress-stepper--m-center__step-description--MarginRight: 0;
|
|
59
58
|
--pf-c-progress-stepper--m-center__step-description--MarginLeft: 0;
|
|
60
59
|
--pf-c-progress-stepper--GridTemplateRows: auto 1fr;
|
|
@@ -148,10 +147,11 @@
|
|
|
148
147
|
--pf-c-progress-stepper__step-connector--JustifyContent: var(--pf-c-progress-stepper--m-center__step-connector--JustifyContent);
|
|
149
148
|
--pf-c-progress-stepper__step-main--MarginRight: var(--pf-c-progress-stepper--m-center__step-main--MarginRight);
|
|
150
149
|
--pf-c-progress-stepper__step-main--MarginLeft: var(--pf-c-progress-stepper--m-center__step-main--MarginLeft);
|
|
151
|
-
--pf-c-progress-
|
|
150
|
+
--pf-c-progress-stepper--step-main--TextAlign: var(--pf-c-progress-stepper--m-center__step-main--TextAlign, auto);
|
|
151
|
+
--pf-c-progress-stepper__step-title--TextAlign: var(--pf-c-progress-stepper--m-center__step-title--TextAlign, auto);
|
|
152
152
|
--pf-c-progress-stepper__step-description--MarginRight: var(--pf-c-progress-stepper--m-center__step-description--MarginRight);
|
|
153
153
|
--pf-c-progress-stepper__step-description--MarginLeft: var(--pf-c-progress-stepper--m-center__step-description--MarginLeft);
|
|
154
|
-
--pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign);
|
|
154
|
+
--pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign, auto);
|
|
155
155
|
--pf-c-progress-stepper--m-vertical__step-main--MarginRight: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginRight);
|
|
156
156
|
--pf-c-progress-stepper--m-vertical__step-main--MarginLeft: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginLeft);
|
|
157
157
|
grid-template-columns: var(--pf-c-progress-stepper--m-center--GridTemplateColumns);
|
|
@@ -279,7 +279,10 @@
|
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
.pf-c-progress-stepper__step-main {
|
|
282
|
+
min-width: 0;
|
|
282
283
|
margin: var(--pf-c-progress-stepper__step-main--MarginTop) var(--pf-c-progress-stepper__step-main--MarginRight) var(--pf-c-progress-stepper__step-main--MarginBottom) var(--pf-c-progress-stepper__step-main--MarginLeft);
|
|
284
|
+
text-align: var(--pf-c-progress-stepper--step-main--TextAlign, auto);
|
|
285
|
+
overflow-wrap: anywhere;
|
|
283
286
|
}
|
|
284
287
|
.pf-c-progress-stepper__step:not(:last-of-type) > .pf-c-progress-stepper__step-main::before {
|
|
285
288
|
position: absolute;
|
|
@@ -124,8 +124,7 @@ $pf-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
124
124
|
--pf-c-progress-stepper--m-center__step-connector--JustifyContent: center;
|
|
125
125
|
--pf-c-progress-stepper--m-center__step-main--MarginRight: var(--pf-global--spacer--xs);
|
|
126
126
|
--pf-c-progress-stepper--m-center__step-main--MarginLeft: var(--pf-global--spacer--xs);
|
|
127
|
-
--pf-c-progress-stepper--m-center__step-
|
|
128
|
-
--pf-c-progress-stepper--m-center__step-description--TextAlign: center;
|
|
127
|
+
--pf-c-progress-stepper--m-center__step-main--TextAlign: center;
|
|
129
128
|
--pf-c-progress-stepper--m-center__step-description--MarginRight: 0;
|
|
130
129
|
--pf-c-progress-stepper--m-center__step-description--MarginLeft: 0;
|
|
131
130
|
|
|
@@ -201,10 +200,11 @@ $pf-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
201
200
|
--pf-c-progress-stepper__step-connector--JustifyContent: var(--pf-c-progress-stepper--m-center__step-connector--JustifyContent);
|
|
202
201
|
--pf-c-progress-stepper__step-main--MarginRight: var(--pf-c-progress-stepper--m-center__step-main--MarginRight);
|
|
203
202
|
--pf-c-progress-stepper__step-main--MarginLeft: var(--pf-c-progress-stepper--m-center__step-main--MarginLeft);
|
|
204
|
-
--pf-c-progress-
|
|
203
|
+
--pf-c-progress-stepper--step-main--TextAlign: var(--pf-c-progress-stepper--m-center__step-main--TextAlign, auto);
|
|
204
|
+
--pf-c-progress-stepper__step-title--TextAlign: var(--pf-c-progress-stepper--m-center__step-title--TextAlign, auto);
|
|
205
205
|
--pf-c-progress-stepper__step-description--MarginRight: var(--pf-c-progress-stepper--m-center__step-description--MarginRight);
|
|
206
206
|
--pf-c-progress-stepper__step-description--MarginLeft: var(--pf-c-progress-stepper--m-center__step-description--MarginLeft);
|
|
207
|
-
--pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign);
|
|
207
|
+
--pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign, auto);
|
|
208
208
|
--pf-c-progress-stepper--m-vertical__step-main--MarginRight: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginRight);
|
|
209
209
|
--pf-c-progress-stepper--m-vertical__step-main--MarginLeft: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginLeft);
|
|
210
210
|
|
|
@@ -366,7 +366,10 @@ $pf-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
366
366
|
|
|
367
367
|
// Step main
|
|
368
368
|
.pf-c-progress-stepper__step-main {
|
|
369
|
+
min-width: 0;
|
|
369
370
|
margin: var(--pf-c-progress-stepper__step-main--MarginTop) var(--pf-c-progress-stepper__step-main--MarginRight) var(--pf-c-progress-stepper__step-main--MarginBottom) var(--pf-c-progress-stepper__step-main--MarginLeft);
|
|
371
|
+
text-align: var(--pf-c-progress-stepper--step-main--TextAlign, auto);
|
|
372
|
+
overflow-wrap: anywhere;
|
|
370
373
|
|
|
371
374
|
// Draw a new border for vertical alignment using step main
|
|
372
375
|
.pf-c-progress-stepper__step:not(:last-of-type) > &::before {
|
package/components/_all.scss
CHANGED
|
@@ -2808,18 +2808,7 @@ cssPrefix: pf-c-dual-list-selector
|
|
|
2808
2808
|
<li class="pf-c-dual-list-selector__list-item" role="option">
|
|
2809
2809
|
<div class="pf-c-dual-list-selector__list-item-row">
|
|
2810
2810
|
<div class="pf-c-dual-list-selector__draggable">
|
|
2811
|
-
<
|
|
2812
|
-
class="pf-c-button pf-m-plain"
|
|
2813
|
-
type="button"
|
|
2814
|
-
disabled
|
|
2815
|
-
aria-pressed="false"
|
|
2816
|
-
aria-label="Reorder"
|
|
2817
|
-
id="draggable-list-item-2-draggable-button"
|
|
2818
|
-
aria-labelledby="draggable-list-item-2-draggable-button draggable-list-item-2-item-text"
|
|
2819
|
-
aria-describedby="draggable-help"
|
|
2820
|
-
>
|
|
2821
|
-
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2822
|
-
</button>
|
|
2811
|
+
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2823
2812
|
</div>
|
|
2824
2813
|
<span class="pf-c-dual-list-selector__item">
|
|
2825
2814
|
<span class="pf-c-dual-list-selector__item-main">
|
|
@@ -2837,17 +2826,7 @@ cssPrefix: pf-c-dual-list-selector
|
|
|
2837
2826
|
<li class="pf-c-dual-list-selector__list-item" role="option">
|
|
2838
2827
|
<div class="pf-c-dual-list-selector__list-item-row">
|
|
2839
2828
|
<div class="pf-c-dual-list-selector__draggable">
|
|
2840
|
-
<
|
|
2841
|
-
class="pf-c-button pf-m-plain"
|
|
2842
|
-
type="button"
|
|
2843
|
-
aria-pressed="false"
|
|
2844
|
-
aria-label="Reorder"
|
|
2845
|
-
id="draggable-list-item-3-draggable-button"
|
|
2846
|
-
aria-labelledby="draggable-list-item-3-draggable-button draggable-list-item-3-item-text"
|
|
2847
|
-
aria-describedby="draggable-help"
|
|
2848
|
-
>
|
|
2849
|
-
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2850
|
-
</button>
|
|
2829
|
+
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2851
2830
|
</div>
|
|
2852
2831
|
<span class="pf-c-dual-list-selector__item">
|
|
2853
2832
|
<span class="pf-c-dual-list-selector__item-main">
|
|
@@ -2865,18 +2844,7 @@ cssPrefix: pf-c-dual-list-selector
|
|
|
2865
2844
|
<li class="pf-c-dual-list-selector__list-item" role="option">
|
|
2866
2845
|
<div class="pf-c-dual-list-selector__list-item-row pf-m-ghost-row">
|
|
2867
2846
|
<div class="pf-c-dual-list-selector__draggable">
|
|
2868
|
-
<
|
|
2869
|
-
class="pf-c-button pf-m-plain"
|
|
2870
|
-
type="button"
|
|
2871
|
-
disabled
|
|
2872
|
-
aria-pressed="false"
|
|
2873
|
-
aria-label="Reorder"
|
|
2874
|
-
id="draggable-list-item-5-draggable-button"
|
|
2875
|
-
aria-labelledby="draggable-list-item-5-draggable-button draggable-list-item-5-item-text"
|
|
2876
|
-
aria-describedby="draggable-help"
|
|
2877
|
-
>
|
|
2878
|
-
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2879
|
-
</button>
|
|
2847
|
+
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2880
2848
|
</div>
|
|
2881
2849
|
<span class="pf-c-dual-list-selector__item">
|
|
2882
2850
|
<span class="pf-c-dual-list-selector__item-main">
|
|
@@ -2894,17 +2862,7 @@ cssPrefix: pf-c-dual-list-selector
|
|
|
2894
2862
|
<li class="pf-c-dual-list-selector__list-item" role="option">
|
|
2895
2863
|
<div class="pf-c-dual-list-selector__list-item-row pf-m-selected">
|
|
2896
2864
|
<div class="pf-c-dual-list-selector__draggable">
|
|
2897
|
-
<
|
|
2898
|
-
class="pf-c-button pf-m-plain"
|
|
2899
|
-
type="button"
|
|
2900
|
-
aria-pressed="false"
|
|
2901
|
-
aria-label="Reorder"
|
|
2902
|
-
id="draggable-list-item-7-draggable-button"
|
|
2903
|
-
aria-labelledby="draggable-list-item-7-draggable-button draggable-list-item-7-item-text"
|
|
2904
|
-
aria-describedby="draggable-help"
|
|
2905
|
-
>
|
|
2906
|
-
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2907
|
-
</button>
|
|
2865
|
+
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
2908
2866
|
</div>
|
|
2909
2867
|
<span class="pf-c-dual-list-selector__item">
|
|
2910
2868
|
<span class="pf-c-dual-list-selector__item-main">
|
|
@@ -152,7 +152,7 @@ cssPrefix: pf-c-file-upload
|
|
|
152
152
|
### File upload in form with error
|
|
153
153
|
|
|
154
154
|
```html
|
|
155
|
-
<form
|
|
155
|
+
<form class="pf-c-form" novalidate>
|
|
156
156
|
<div class="pf-c-form__group">
|
|
157
157
|
<div class="pf-c-file-upload">
|
|
158
158
|
<div class="pf-c-file-upload__file-select">
|