@patternfly/patternfly 4.204.1 → 4.204.4
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/AppLauncher/app-launcher.css +2 -4
- package/components/AppLauncher/app-launcher.scss +2 -2
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -2
- package/components/Dropdown/dropdown.css +2 -4
- package/components/Dropdown/dropdown.scss +2 -2
- package/components/Dropdown/themes/dark/dropdown.scss +0 -2
- package/components/FormControl/form-control.css +3 -2
- package/components/FormControl/form-control.scss +4 -3
- package/components/Menu/menu.css +2 -4
- package/components/Menu/menu.scss +2 -2
- package/components/Menu/themes/dark/menu.scss +0 -2
- package/components/OptionsMenu/options-menu.css +2 -4
- package/components/OptionsMenu/options-menu.scss +2 -2
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -2
- package/components/Popover/popover.css +1 -1
- package/components/Popover/popover.scss +1 -1
- package/components/Select/select.css +2 -2
- package/components/Select/select.scss +2 -2
- package/docs/components/DescriptionList/examples/DescriptionList.md +21 -21
- package/docs/components/FormControl/examples/FormControl.md +44 -19
- package/docs/components/LogViewer/examples/LogViewer.md +1 -0
- package/docs/components/ModalBox/examples/ModalBox.css +10 -0
- package/docs/components/ModalBox/examples/ModalBox.md +34 -17
- package/docs/components/Popover/examples/Popover.css +8 -8
- package/docs/components/Popover/examples/Popover.md +47 -20
- package/docs/components/Table/examples/Table.md +52 -52
- package/docs/demos/Card/examples/Card.md +1 -0
- package/docs/demos/Modal/examples/Modal.md +6 -0
- package/docs/demos/Table/examples/Table.md +73 -72
- package/docs/demos/Tabs/examples/Tabs.md +1 -0
- package/docs/demos/Wizard/examples/Wizard.md +5 -0
- package/package.json +1 -1
- package/patternfly-no-reset.css +14 -21
- package/patternfly.css +14 -21
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
--pf-c-app-launcher__group-title--PaddingRight: var(--pf-c-app-launcher__menu-item--PaddingRight);
|
|
57
57
|
--pf-c-app-launcher__group-title--PaddingBottom: var(--pf-c-app-launcher__menu-item--PaddingBottom);
|
|
58
58
|
--pf-c-app-launcher__group-title--PaddingLeft: var(--pf-c-app-launcher__menu-item--PaddingLeft);
|
|
59
|
-
--pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--
|
|
60
|
-
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
59
|
+
--pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
60
|
+
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
61
61
|
--pf-c-app-launcher__group-title--Color: var(--pf-global--Color--dark-200);
|
|
62
62
|
--pf-c-app-launcher--c-divider--MarginTop: var(--pf-global--spacer--sm);
|
|
63
63
|
--pf-c-app-launcher--c-divider--MarginBottom: var(--pf-global--spacer--sm);
|
|
@@ -219,6 +219,4 @@
|
|
|
219
219
|
--pf-c-app-launcher__menu-item--m-action--Color: var(--pf-global--Color--200);
|
|
220
220
|
--pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--Color: var(--pf-global--palette--gold-300);
|
|
221
221
|
--pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--hover--Color: var(--pf-global--palette--gold-100);
|
|
222
|
-
--pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
223
|
-
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
224
222
|
}
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
--pf-c-app-launcher__group-title--PaddingRight: var(--pf-c-app-launcher__menu-item--PaddingRight);
|
|
73
73
|
--pf-c-app-launcher__group-title--PaddingBottom: var(--pf-c-app-launcher__menu-item--PaddingBottom);
|
|
74
74
|
--pf-c-app-launcher__group-title--PaddingLeft: var(--pf-c-app-launcher__menu-item--PaddingLeft);
|
|
75
|
-
--pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--
|
|
76
|
-
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
75
|
+
--pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
76
|
+
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
77
77
|
--pf-c-app-launcher__group-title--Color: var(--pf-global--Color--dark-200);
|
|
78
78
|
|
|
79
79
|
// Divider
|
|
@@ -9,7 +9,5 @@
|
|
|
9
9
|
--pf-c-app-launcher__menu-item--m-action--Color: var(--pf-global--Color--200);
|
|
10
10
|
--pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--Color: var(--pf-global--palette--gold-300);
|
|
11
11
|
--pf-c-app-launcher__menu-item--m-favorite__menu-item--m-action--hover--Color: var(--pf-global--palette--gold-100);
|
|
12
|
-
--pf-c-app-launcher__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
13
|
-
--pf-c-app-launcher__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
14
12
|
}
|
|
15
13
|
}
|
|
@@ -121,8 +121,8 @@
|
|
|
121
121
|
--pf-c-dropdown__group-title--PaddingRight: var(--pf-c-dropdown__menu-item--PaddingRight);
|
|
122
122
|
--pf-c-dropdown__group-title--PaddingBottom: var(--pf-c-dropdown__menu-item--PaddingBottom);
|
|
123
123
|
--pf-c-dropdown__group-title--PaddingLeft: var(--pf-c-dropdown__menu-item--PaddingLeft);
|
|
124
|
-
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--
|
|
125
|
-
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
124
|
+
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
125
|
+
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
126
126
|
--pf-c-dropdown__group-title--Color: var(--pf-global--Color--dark-200);
|
|
127
127
|
--pf-c-dropdown__toggle-image--MarginTop: 0;
|
|
128
128
|
--pf-c-dropdown__toggle-image--MarginBottom: 0;
|
|
@@ -633,8 +633,6 @@
|
|
|
633
633
|
--pf-c-dropdown__menu--Top: 100%;
|
|
634
634
|
--pf-c-dropdown--m-top__menu--TranslateY: -100%;
|
|
635
635
|
--pf-c-dropdown__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
636
|
-
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
637
|
-
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
638
636
|
}
|
|
639
637
|
:where(.pf-theme-dark) .pf-c-dropdown__toggle:not(.pf-m-plain):disabled, :where(.pf-theme-dark) .pf-c-dropdown__toggle:not(.pf-m-plain).pf-m-disabled {
|
|
640
638
|
color: var(--pf-global--palette--black-100);
|
|
@@ -152,8 +152,8 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
152
152
|
--pf-c-dropdown__group-title--PaddingRight: var(--pf-c-dropdown__menu-item--PaddingRight);
|
|
153
153
|
--pf-c-dropdown__group-title--PaddingBottom: var(--pf-c-dropdown__menu-item--PaddingBottom);
|
|
154
154
|
--pf-c-dropdown__group-title--PaddingLeft: var(--pf-c-dropdown__menu-item--PaddingLeft);
|
|
155
|
-
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--
|
|
156
|
-
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
155
|
+
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
156
|
+
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
157
157
|
--pf-c-dropdown__group-title--Color: var(--pf-global--Color--dark-200);
|
|
158
158
|
|
|
159
159
|
// Image
|
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
--pf-c-dropdown__menu--Top: 100%;
|
|
14
14
|
--pf-c-dropdown--m-top__menu--TranslateY: -100%;
|
|
15
15
|
--pf-c-dropdown__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
16
|
-
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
17
|
-
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
.pf-c-dropdown__toggle {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.pf-c-form-control {
|
|
12
|
+
--pf-c-form-control--Color: var(--pf-global--Color--100);
|
|
12
13
|
--pf-c-form-control--FontSize: var(--pf-global--FontSize--md);
|
|
13
14
|
--pf-c-form-control--LineHeight: var(--pf-global--LineHeight--md);
|
|
14
15
|
--pf-c-form-control--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
@@ -131,7 +132,7 @@
|
|
|
131
132
|
--pf-c-form-control--m-icon-sprite__select--success--BackgroundPosition: calc(100% - var(--pf-global--spacer--md) + 1px - var(--pf-global--spacer--lg));
|
|
132
133
|
--pf-c-form-control--m-icon-sprite__select--m-warning--BackgroundPosition: calc(100% - var(--pf-global--spacer--md) - var(--pf-global--spacer--lg) + 0.0625rem);
|
|
133
134
|
--pf-c-form-control--m-icon-sprite__select--invalid--BackgroundPosition: calc(100% - var(--pf-global--spacer--md) - var(--pf-global--spacer--lg));
|
|
134
|
-
color: var(--pf-
|
|
135
|
+
color: var(--pf-c-form-control--Color);
|
|
135
136
|
width: var(--pf-c-form-control--Width);
|
|
136
137
|
padding: var(--pf-c-form-control--PaddingTop) var(--pf-c-form-control--PaddingRight) var(--pf-c-form-control--PaddingBottom) var(--pf-c-form-control--PaddingLeft);
|
|
137
138
|
font-size: var(--pf-c-form-control--FontSize);
|
|
@@ -176,8 +177,8 @@
|
|
|
176
177
|
border-bottom-width: var(--pf-c-form-control--m-expanded--BorderBottomWidth);
|
|
177
178
|
}
|
|
178
179
|
.pf-c-form-control:disabled {
|
|
179
|
-
--pf-c-form-control--Color: var(--pf-c-form-control--disabled--Color);
|
|
180
180
|
--pf-c-form-control--BackgroundColor: var(--pf-c-form-control--disabled--BackgroundColor);
|
|
181
|
+
color: var(--pf-c-form-control--disabled--Color);
|
|
181
182
|
cursor: not-allowed;
|
|
182
183
|
border-color: var(--pf-c-form-control--disabled--BorderColor);
|
|
183
184
|
}
|
|
@@ -27,6 +27,7 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
27
27
|
|
|
28
28
|
.pf-c-form-control {
|
|
29
29
|
// Component
|
|
30
|
+
--pf-c-form-control--Color: var(--pf-global--Color--100);
|
|
30
31
|
--pf-c-form-control--FontSize: var(--pf-global--FontSize--md);
|
|
31
32
|
--pf-c-form-control--LineHeight: var(--pf-global--LineHeight--md);
|
|
32
33
|
--pf-c-form-control--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
@@ -199,7 +200,7 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
199
200
|
--pf-c-form-control--m-icon-sprite__select--invalid--BackgroundPosition: calc(100% - var(--pf-global--spacer--md) - var(--pf-global--spacer--lg));
|
|
200
201
|
|
|
201
202
|
// This component always needs to be light
|
|
202
|
-
@include pf-t-light;
|
|
203
|
+
@include pf-t-light("--pf-c-form-control--Color");
|
|
203
204
|
|
|
204
205
|
width: var(--pf-c-form-control--Width);
|
|
205
206
|
padding: var(--pf-c-form-control--PaddingTop) var(--pf-c-form-control--PaddingRight) var(--pf-c-form-control--PaddingBottom) var(--pf-c-form-control--PaddingLeft);
|
|
@@ -216,7 +217,7 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
216
217
|
// stylelint-enable
|
|
217
218
|
|
|
218
219
|
&::placeholder {
|
|
219
|
-
color: var(--pf-c-form-control--placeholder--Color);
|
|
220
|
+
color: var(--pf-c-form-control--placeholder--Color); // update to set --pf-c-form-control--Color in breaking change - also look for any other place to do that in this component
|
|
220
221
|
}
|
|
221
222
|
|
|
222
223
|
&:not(textarea) {
|
|
@@ -261,9 +262,9 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
261
262
|
}
|
|
262
263
|
|
|
263
264
|
&:disabled {
|
|
264
|
-
--pf-c-form-control--Color: var(--pf-c-form-control--disabled--Color);
|
|
265
265
|
--pf-c-form-control--BackgroundColor: var(--pf-c-form-control--disabled--BackgroundColor);
|
|
266
266
|
|
|
267
|
+
color: var(--pf-c-form-control--disabled--Color);
|
|
267
268
|
cursor: not-allowed;
|
|
268
269
|
border-color: var(--pf-c-form-control--disabled--BorderColor);
|
|
269
270
|
}
|
package/components/Menu/menu.css
CHANGED
|
@@ -140,8 +140,8 @@
|
|
|
140
140
|
--pf-c-menu__group-title--PaddingTop: var(--pf-global--spacer--md);
|
|
141
141
|
--pf-c-menu__group-title--PaddingRight: var(--pf-c-menu__item--PaddingRight);
|
|
142
142
|
--pf-c-menu__group-title--PaddingLeft: var(--pf-c-menu__item--PaddingLeft);
|
|
143
|
-
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--
|
|
144
|
-
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
143
|
+
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
144
|
+
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
145
145
|
--pf-c-menu__group-title--Color: var(--pf-global--Color--200);
|
|
146
146
|
--pf-c-menu__item-description--FontSize: var(--pf-global--FontSize--xs);
|
|
147
147
|
--pf-c-menu__item-description--Color: var(--pf-global--Color--200);
|
|
@@ -635,6 +635,4 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
635
635
|
--pf-c-menu__list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
636
636
|
--pf-c-menu__list-item--focus-within--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
637
637
|
--pf-c-menu__list-item--m-disabled__item--Color: var(--pf-global--Color--200);
|
|
638
|
-
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
639
|
-
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
640
638
|
}
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
--pf-c-menu__group-title--PaddingTop: var(--pf-global--spacer--md);
|
|
99
99
|
--pf-c-menu__group-title--PaddingRight: var(--pf-c-menu__item--PaddingRight);
|
|
100
100
|
--pf-c-menu__group-title--PaddingLeft: var(--pf-c-menu__item--PaddingLeft);
|
|
101
|
-
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--
|
|
102
|
-
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
101
|
+
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
102
|
+
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
103
103
|
--pf-c-menu__group-title--Color: var(--pf-global--Color--200);
|
|
104
104
|
|
|
105
105
|
// Description
|
|
@@ -6,7 +6,5 @@
|
|
|
6
6
|
--pf-c-menu__list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
7
7
|
--pf-c-menu__list-item--focus-within--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
8
8
|
--pf-c-menu__list-item--m-disabled__item--Color: var(--pf-global--Color--200); // global var?
|
|
9
|
-
--pf-c-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
10
|
-
--pf-c-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
11
9
|
}
|
|
12
10
|
}
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
--pf-c-options-menu__group-title--PaddingRight: var(--pf-c-options-menu__menu-item--PaddingRight);
|
|
62
62
|
--pf-c-options-menu__group-title--PaddingBottom: var(--pf-c-options-menu__menu-item--PaddingBottom);
|
|
63
63
|
--pf-c-options-menu__group-title--PaddingLeft: var(--pf-c-options-menu__menu-item--PaddingLeft);
|
|
64
|
-
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--
|
|
65
|
-
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
64
|
+
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
65
|
+
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
66
66
|
--pf-c-options-menu__group-title--Color: var(--pf-global--Color--dark-200);
|
|
67
67
|
--pf-c-options-menu--c-divider--MarginTop: var(--pf-global--spacer--sm);
|
|
68
68
|
--pf-c-options-menu--c-divider--MarginBottom: var(--pf-global--spacer--sm);
|
|
@@ -252,8 +252,6 @@
|
|
|
252
252
|
--pf-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
253
253
|
--pf-c-options-menu__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
254
254
|
--pf-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
255
|
-
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
256
|
-
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
257
255
|
--pf-c-options-menu__menu--Top: 100%;
|
|
258
256
|
}
|
|
259
257
|
:where(.pf-theme-dark) .pf-c-options-menu__toggle.pf-m-plain {
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
--pf-c-options-menu__group-title--PaddingRight: var(--pf-c-options-menu__menu-item--PaddingRight);
|
|
75
75
|
--pf-c-options-menu__group-title--PaddingBottom: var(--pf-c-options-menu__menu-item--PaddingBottom);
|
|
76
76
|
--pf-c-options-menu__group-title--PaddingLeft: var(--pf-c-options-menu__menu-item--PaddingLeft);
|
|
77
|
-
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--
|
|
78
|
-
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--
|
|
77
|
+
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
78
|
+
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
79
79
|
--pf-c-options-menu__group-title--Color: var(--pf-global--Color--dark-200);
|
|
80
80
|
|
|
81
81
|
// Divider
|
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
--pf-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
11
11
|
--pf-c-options-menu__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
12
12
|
--pf-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
13
|
-
--pf-c-options-menu__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
14
|
-
--pf-c-options-menu__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
15
13
|
--pf-c-options-menu__menu--Top: 100%;
|
|
16
14
|
}
|
|
17
15
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
--pf-c-popover__arrow--m-left--Rotate: 45deg;
|
|
37
37
|
--pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
|
|
38
38
|
--pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
|
|
39
|
-
--pf-c-popover--c-button--Right: var(--pf-global--spacer--md);
|
|
39
|
+
--pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
|
|
40
40
|
--pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
|
|
41
41
|
--pf-c-popover--c-title--MarginBottom: var(--pf-global--spacer--sm);
|
|
42
42
|
--pf-c-popover__title--MarginBottom: var(--pf-global--spacer--sm);
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
// Close
|
|
48
48
|
--pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
|
|
49
49
|
--pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element)); // align top of button with top of text
|
|
50
|
-
--pf-c-popover--c-button--Right: var(--pf-global--spacer--md);
|
|
50
|
+
--pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md)); // align right of content
|
|
51
51
|
--pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
|
|
52
52
|
|
|
53
53
|
// Header
|
|
@@ -145,8 +145,8 @@
|
|
|
145
145
|
--pf-c-select__menu-group-title--PaddingRight: var(--pf-c-select__menu-item--PaddingRight);
|
|
146
146
|
--pf-c-select__menu-group-title--PaddingBottom: var(--pf-c-select__menu-item--PaddingBottom);
|
|
147
147
|
--pf-c-select__menu-group-title--PaddingLeft: var(--pf-c-select__menu-item--PaddingLeft);
|
|
148
|
-
--pf-c-select__menu-group-title--FontSize: var(--pf-global--FontSize--
|
|
149
|
-
--pf-c-select__menu-group-title--FontWeight: var(--pf-global--FontWeight--
|
|
148
|
+
--pf-c-select__menu-group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
149
|
+
--pf-c-select__menu-group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
150
150
|
--pf-c-select__menu-group-title--Color: var(--pf-global--Color--dark-200);
|
|
151
151
|
--pf-c-select__menu-item-count--MarginLeft: var(--pf-global--spacer--md);
|
|
152
152
|
--pf-c-select__menu-item-count--FontSize: var(--pf-global--FontSize--sm);
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
--pf-c-select__menu-group-title--PaddingRight: var(--pf-c-select__menu-item--PaddingRight);
|
|
183
183
|
--pf-c-select__menu-group-title--PaddingBottom: var(--pf-c-select__menu-item--PaddingBottom);
|
|
184
184
|
--pf-c-select__menu-group-title--PaddingLeft: var(--pf-c-select__menu-item--PaddingLeft);
|
|
185
|
-
--pf-c-select__menu-group-title--FontSize: var(--pf-global--FontSize--
|
|
186
|
-
--pf-c-select__menu-group-title--FontWeight: var(--pf-global--FontWeight--
|
|
185
|
+
--pf-c-select__menu-group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
186
|
+
--pf-c-select__menu-group-title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
187
187
|
--pf-c-select__menu-group-title--Color: var(--pf-global--Color--dark-200);
|
|
188
188
|
|
|
189
189
|
// Menu item count
|
|
@@ -1235,7 +1235,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1235
1235
|
|
|
1236
1236
|
```html
|
|
1237
1237
|
<dl class="pf-c-description-list pf-m-2-col-on-lg">
|
|
1238
|
-
<div class="pf-c-card
|
|
1238
|
+
<div class="pf-c-card">
|
|
1239
1239
|
<dt class="pf-c-description-list__term">
|
|
1240
1240
|
<span class="pf-c-description-list__text">Name</span>
|
|
1241
1241
|
</dt>
|
|
@@ -1243,7 +1243,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1243
1243
|
<div class="pf-c-description-list__text">example</div>
|
|
1244
1244
|
</dd>
|
|
1245
1245
|
</div>
|
|
1246
|
-
<div class="pf-c-card
|
|
1246
|
+
<div class="pf-c-card">
|
|
1247
1247
|
<dt class="pf-c-description-list__term">
|
|
1248
1248
|
<span class="pf-c-description-list__text">Namespace</span>
|
|
1249
1249
|
</dt>
|
|
@@ -1253,7 +1253,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1253
1253
|
</div>
|
|
1254
1254
|
</dd>
|
|
1255
1255
|
</div>
|
|
1256
|
-
<div class="pf-c-card
|
|
1256
|
+
<div class="pf-c-card">
|
|
1257
1257
|
<dt class="pf-c-description-list__term">
|
|
1258
1258
|
<span class="pf-c-description-list__text">Labels</span>
|
|
1259
1259
|
</dt>
|
|
@@ -1261,7 +1261,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1261
1261
|
<div class="pf-c-description-list__text">example</div>
|
|
1262
1262
|
</dd>
|
|
1263
1263
|
</div>
|
|
1264
|
-
<div class="pf-c-card
|
|
1264
|
+
<div class="pf-c-card">
|
|
1265
1265
|
<dt class="pf-c-description-list__term">
|
|
1266
1266
|
<span class="pf-c-description-list__text">Pod selector</span>
|
|
1267
1267
|
</dt>
|
|
@@ -1276,7 +1276,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1276
1276
|
</div>
|
|
1277
1277
|
</dd>
|
|
1278
1278
|
</div>
|
|
1279
|
-
<div class="pf-c-card
|
|
1279
|
+
<div class="pf-c-card">
|
|
1280
1280
|
<dt class="pf-c-description-list__term">
|
|
1281
1281
|
<span class="pf-c-description-list__text">Annotation</span>
|
|
1282
1282
|
</dt>
|
|
@@ -1292,7 +1292,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1292
1292
|
|
|
1293
1293
|
```html
|
|
1294
1294
|
<dl class="pf-c-description-list pf-m-display-lg pf-m-2-col-on-lg">
|
|
1295
|
-
<div class="pf-c-card
|
|
1295
|
+
<div class="pf-c-card">
|
|
1296
1296
|
<dt class="pf-c-description-list__term">
|
|
1297
1297
|
<span class="pf-c-description-list__text">Name</span>
|
|
1298
1298
|
</dt>
|
|
@@ -1300,7 +1300,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1300
1300
|
<div class="pf-c-description-list__text">example</div>
|
|
1301
1301
|
</dd>
|
|
1302
1302
|
</div>
|
|
1303
|
-
<div class="pf-c-card
|
|
1303
|
+
<div class="pf-c-card">
|
|
1304
1304
|
<dt class="pf-c-description-list__term">
|
|
1305
1305
|
<span class="pf-c-description-list__text">Namespace</span>
|
|
1306
1306
|
</dt>
|
|
@@ -1310,7 +1310,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1310
1310
|
</div>
|
|
1311
1311
|
</dd>
|
|
1312
1312
|
</div>
|
|
1313
|
-
<div class="pf-c-card
|
|
1313
|
+
<div class="pf-c-card">
|
|
1314
1314
|
<dt class="pf-c-description-list__term">
|
|
1315
1315
|
<span class="pf-c-description-list__text">Labels</span>
|
|
1316
1316
|
</dt>
|
|
@@ -1318,7 +1318,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1318
1318
|
<div class="pf-c-description-list__text">example</div>
|
|
1319
1319
|
</dd>
|
|
1320
1320
|
</div>
|
|
1321
|
-
<div class="pf-c-card
|
|
1321
|
+
<div class="pf-c-card">
|
|
1322
1322
|
<dt class="pf-c-description-list__term">
|
|
1323
1323
|
<span class="pf-c-description-list__text">Pod selector</span>
|
|
1324
1324
|
</dt>
|
|
@@ -1333,7 +1333,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1333
1333
|
</div>
|
|
1334
1334
|
</dd>
|
|
1335
1335
|
</div>
|
|
1336
|
-
<div class="pf-c-card
|
|
1336
|
+
<div class="pf-c-card">
|
|
1337
1337
|
<dt class="pf-c-description-list__term">
|
|
1338
1338
|
<span class="pf-c-description-list__text">Annotation</span>
|
|
1339
1339
|
</dt>
|
|
@@ -1349,7 +1349,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1349
1349
|
|
|
1350
1350
|
```html
|
|
1351
1351
|
<dl class="pf-c-description-list pf-m-display-2xl pf-m-2-col-on-lg">
|
|
1352
|
-
<div class="pf-c-card
|
|
1352
|
+
<div class="pf-c-card">
|
|
1353
1353
|
<dt class="pf-c-description-list__term">
|
|
1354
1354
|
<span class="pf-c-description-list__text">Name</span>
|
|
1355
1355
|
</dt>
|
|
@@ -1357,7 +1357,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1357
1357
|
<div class="pf-c-description-list__text">example</div>
|
|
1358
1358
|
</dd>
|
|
1359
1359
|
</div>
|
|
1360
|
-
<div class="pf-c-card
|
|
1360
|
+
<div class="pf-c-card">
|
|
1361
1361
|
<dt class="pf-c-description-list__term">
|
|
1362
1362
|
<span class="pf-c-description-list__text">Namespace</span>
|
|
1363
1363
|
</dt>
|
|
@@ -1367,7 +1367,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1367
1367
|
</div>
|
|
1368
1368
|
</dd>
|
|
1369
1369
|
</div>
|
|
1370
|
-
<div class="pf-c-card
|
|
1370
|
+
<div class="pf-c-card">
|
|
1371
1371
|
<dt class="pf-c-description-list__term">
|
|
1372
1372
|
<span class="pf-c-description-list__text">Labels</span>
|
|
1373
1373
|
</dt>
|
|
@@ -1375,7 +1375,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1375
1375
|
<div class="pf-c-description-list__text">example</div>
|
|
1376
1376
|
</dd>
|
|
1377
1377
|
</div>
|
|
1378
|
-
<div class="pf-c-card
|
|
1378
|
+
<div class="pf-c-card">
|
|
1379
1379
|
<dt class="pf-c-description-list__term">
|
|
1380
1380
|
<span class="pf-c-description-list__text">Pod selector</span>
|
|
1381
1381
|
</dt>
|
|
@@ -1390,7 +1390,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1390
1390
|
</div>
|
|
1391
1391
|
</dd>
|
|
1392
1392
|
</div>
|
|
1393
|
-
<div class="pf-c-card
|
|
1393
|
+
<div class="pf-c-card">
|
|
1394
1394
|
<dt class="pf-c-description-list__term">
|
|
1395
1395
|
<span class="pf-c-description-list__text">Annotation</span>
|
|
1396
1396
|
</dt>
|
|
@@ -1406,7 +1406,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1406
1406
|
|
|
1407
1407
|
```html
|
|
1408
1408
|
<dl class="pf-c-description-list pf-m-3-col-on-lg pf-m-display-lg">
|
|
1409
|
-
<div class="pf-c-card
|
|
1409
|
+
<div class="pf-c-card">
|
|
1410
1410
|
<dt class="pf-c-description-list__term">
|
|
1411
1411
|
<span class="pf-c-description-list__text">Name</span>
|
|
1412
1412
|
</dt>
|
|
@@ -1414,7 +1414,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1414
1414
|
<div class="pf-c-description-list__text">example</div>
|
|
1415
1415
|
</dd>
|
|
1416
1416
|
</div>
|
|
1417
|
-
<div class="pf-c-card
|
|
1417
|
+
<div class="pf-c-card">
|
|
1418
1418
|
<dt class="pf-c-description-list__term">
|
|
1419
1419
|
<span class="pf-c-description-list__text">Namespace</span>
|
|
1420
1420
|
</dt>
|
|
@@ -1424,7 +1424,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1424
1424
|
</div>
|
|
1425
1425
|
</dd>
|
|
1426
1426
|
</div>
|
|
1427
|
-
<div class="pf-c-card
|
|
1427
|
+
<div class="pf-c-card">
|
|
1428
1428
|
<dt class="pf-c-description-list__term">
|
|
1429
1429
|
<span class="pf-c-description-list__text">Labels</span>
|
|
1430
1430
|
</dt>
|
|
@@ -1443,7 +1443,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1443
1443
|
class="pf-c-description-list pf-m-2-col-on-lg pf-m-display-lg pf-m-horizontal"
|
|
1444
1444
|
style="--pf-c-description-list__term--width: 10ch;"
|
|
1445
1445
|
>
|
|
1446
|
-
<div class="pf-c-card
|
|
1446
|
+
<div class="pf-c-card">
|
|
1447
1447
|
<dt class="pf-c-description-list__term">
|
|
1448
1448
|
<span class="pf-c-description-list__text">Name</span>
|
|
1449
1449
|
</dt>
|
|
@@ -1451,7 +1451,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1451
1451
|
<div class="pf-c-description-list__text">example</div>
|
|
1452
1452
|
</dd>
|
|
1453
1453
|
</div>
|
|
1454
|
-
<div class="pf-c-card
|
|
1454
|
+
<div class="pf-c-card">
|
|
1455
1455
|
<dt class="pf-c-description-list__term">
|
|
1456
1456
|
<span class="pf-c-description-list__text">Namespace</span>
|
|
1457
1457
|
</dt>
|
|
@@ -1461,7 +1461,7 @@ Cards can be used as [description list group wrappers](../card#description-list-
|
|
|
1461
1461
|
</div>
|
|
1462
1462
|
</dd>
|
|
1463
1463
|
</div>
|
|
1464
|
-
<div class="pf-c-card
|
|
1464
|
+
<div class="pf-c-card">
|
|
1465
1465
|
<dt class="pf-c-description-list__term">
|
|
1466
1466
|
<span class="pf-c-description-list__text">Labels</span>
|
|
1467
1467
|
</dt>
|
|
@@ -39,6 +39,16 @@ cssPrefix: pf-c-form-control
|
|
|
39
39
|
/>
|
|
40
40
|
<br />
|
|
41
41
|
<br />
|
|
42
|
+
<input
|
|
43
|
+
class="pf-c-form-control"
|
|
44
|
+
disabled
|
|
45
|
+
type="text"
|
|
46
|
+
value="Disabled"
|
|
47
|
+
id="input-disabled"
|
|
48
|
+
aria-label="Disabled input example"
|
|
49
|
+
/>
|
|
50
|
+
<br />
|
|
51
|
+
<br />
|
|
42
52
|
<input
|
|
43
53
|
class="pf-c-form-control pf-m-success"
|
|
44
54
|
type="text"
|
|
@@ -68,16 +78,6 @@ cssPrefix: pf-c-form-control
|
|
|
68
78
|
/>
|
|
69
79
|
<br />
|
|
70
80
|
<br />
|
|
71
|
-
<input
|
|
72
|
-
class="pf-c-form-control"
|
|
73
|
-
disabled
|
|
74
|
-
type="text"
|
|
75
|
-
value="Disabled"
|
|
76
|
-
id="input-disabled"
|
|
77
|
-
aria-label="Disabled input example"
|
|
78
|
-
/>
|
|
79
|
-
<br />
|
|
80
|
-
<br />
|
|
81
81
|
<input
|
|
82
82
|
class="pf-c-form-control pf-m-expanded"
|
|
83
83
|
type="text"
|
|
@@ -123,11 +123,11 @@ cssPrefix: pf-c-form-control
|
|
|
123
123
|
```html
|
|
124
124
|
<select
|
|
125
125
|
class="pf-c-form-control pf-m-placeholder"
|
|
126
|
-
id="select-
|
|
127
|
-
name="select-
|
|
128
|
-
aria-label="
|
|
126
|
+
id="select-selectable-placeholder"
|
|
127
|
+
name="select-selectable-placeholder"
|
|
128
|
+
aria-label="Selectable placeholder select example"
|
|
129
129
|
>
|
|
130
|
-
<option value selected
|
|
130
|
+
<option value selected>Selectable placeholder</option>
|
|
131
131
|
<option value="Mr">Mr</option>
|
|
132
132
|
<option value="Miss">Miss</option>
|
|
133
133
|
<option value="Mrs">Mrs</option>
|
|
@@ -139,11 +139,11 @@ cssPrefix: pf-c-form-control
|
|
|
139
139
|
<br />
|
|
140
140
|
<select
|
|
141
141
|
class="pf-c-form-control pf-m-placeholder"
|
|
142
|
-
id="select-placeholder
|
|
143
|
-
name="select-placeholder
|
|
144
|
-
aria-label="
|
|
142
|
+
id="select-non-selectable-placeholder"
|
|
143
|
+
name="select-non-selectable-placeholder"
|
|
144
|
+
aria-label="Non-selectable placeholder select example"
|
|
145
145
|
>
|
|
146
|
-
<option value selected>
|
|
146
|
+
<option value selected disabled>Non-selectable placeholder</option>
|
|
147
147
|
<option value="Mr">Mr</option>
|
|
148
148
|
<option value="Miss">Miss</option>
|
|
149
149
|
<option value="Mrs">Mrs</option>
|
|
@@ -161,7 +161,7 @@ cssPrefix: pf-c-form-control
|
|
|
161
161
|
>
|
|
162
162
|
<optgroup label="Group 1">
|
|
163
163
|
<option value="Option 1">The first option</option>
|
|
164
|
-
<option value="Option 2" selected>
|
|
164
|
+
<option value="Option 2" selected>Option groups (second option selected)</option>
|
|
165
165
|
</optgroup>
|
|
166
166
|
<optgroup label="Group 2">
|
|
167
167
|
<option value="Option 3">The third option</option>
|
|
@@ -226,6 +226,21 @@ cssPrefix: pf-c-form-control
|
|
|
226
226
|
</select>
|
|
227
227
|
<br />
|
|
228
228
|
<br />
|
|
229
|
+
<select
|
|
230
|
+
class="pf-c-form-control pf-m-placeholder"
|
|
231
|
+
disabled
|
|
232
|
+
id="select-disabled"
|
|
233
|
+
name="select-disabled"
|
|
234
|
+
aria-label="Disabled select example"
|
|
235
|
+
>
|
|
236
|
+
<option value selected>Disabled</option>
|
|
237
|
+
<option value="Mr">Mr</option>
|
|
238
|
+
<option value="Miss">Miss</option>
|
|
239
|
+
<option value="Mrs">Mrs</option>
|
|
240
|
+
<option value="Ms">Ms</option>
|
|
241
|
+
<option value="Dr">Dr</option>
|
|
242
|
+
<option value="Other">Other</option>
|
|
243
|
+
</select>
|
|
229
244
|
|
|
230
245
|
```
|
|
231
246
|
|
|
@@ -251,6 +266,16 @@ cssPrefix: pf-c-form-control
|
|
|
251
266
|
</textarea>
|
|
252
267
|
<br />
|
|
253
268
|
<br />
|
|
269
|
+
<textarea
|
|
270
|
+
class="pf-c-form-control"
|
|
271
|
+
disabled
|
|
272
|
+
name="textarea-disabled"
|
|
273
|
+
id="textarea-disabled"
|
|
274
|
+
aria-label="Disabled textarea example"
|
|
275
|
+
>Disabled
|
|
276
|
+
</textarea>
|
|
277
|
+
<br />
|
|
278
|
+
<br />
|
|
254
279
|
<textarea
|
|
255
280
|
class="pf-c-form-control pf-m-success"
|
|
256
281
|
name="textarea-success"
|