@patternfly/react-styles 6.0.0-alpha.7 → 6.0.0-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/css/components/Button/button.css +33 -13
- package/css/components/Card/card.css +97 -194
- package/css/components/Card/card.d.ts +3 -9
- package/css/components/Card/card.js +3 -9
- package/css/components/Card/card.mjs +3 -9
- package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
- package/css/components/CodeBlock/code-block.css +18 -9
- package/css/components/DescriptionList/description-list.css +39 -34
- package/css/components/DragDrop/drag-drop.css +18 -14
- package/css/components/DragDrop/drag-drop.d.ts +1 -2
- package/css/components/DragDrop/drag-drop.js +1 -2
- package/css/components/DragDrop/drag-drop.mjs +1 -2
- package/css/components/Drawer/drawer.css +113 -113
- package/css/components/Drawer/drawer.d.ts +3 -3
- package/css/components/Drawer/drawer.js +3 -3
- package/css/components/Drawer/drawer.mjs +3 -3
- package/css/components/FileUpload/file-upload.css +28 -34
- package/css/components/FormControl/form-control.css +3 -3
- package/css/components/Icon/icon.css +154 -18
- package/css/components/Icon/icon.d.ts +11 -0
- package/css/components/Icon/icon.js +11 -0
- package/css/components/Icon/icon.mjs +11 -0
- package/css/components/InlineEdit/inline-edit.css +3 -2
- package/css/components/InputGroup/input-group.css +22 -38
- package/css/components/InputGroup/input-group.d.ts +1 -2
- package/css/components/InputGroup/input-group.js +1 -2
- package/css/components/InputGroup/input-group.mjs +1 -2
- package/css/components/JumpLinks/jump-links.css +34 -34
- package/css/components/Label/label-group.css +39 -44
- package/css/components/Label/label.css +258 -355
- package/css/components/Label/label.d.ts +11 -10
- package/css/components/Label/label.js +11 -10
- package/css/components/Label/label.mjs +11 -10
- package/css/components/NumberInput/number-input.css +8 -8
- package/css/components/NumberInput/number-input.d.ts +0 -3
- package/css/components/NumberInput/number-input.js +0 -3
- package/css/components/NumberInput/number-input.mjs +0 -3
- package/css/components/Sidebar/sidebar.css +20 -9
- package/css/components/Sidebar/sidebar.d.ts +1 -0
- package/css/components/Sidebar/sidebar.js +1 -0
- package/css/components/Sidebar/sidebar.mjs +1 -0
- package/css/components/SimpleList/simple-list.css +1 -1
- package/css/components/Tile/tile.css +40 -81
- package/css/components/Tile/tile.d.ts +0 -1
- package/css/components/Tile/tile.js +0 -1
- package/css/components/Tile/tile.mjs +0 -1
- package/css/components/ToggleGroup/toggle-group.css +34 -47
- package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
- package/css/components/ToggleGroup/toggle-group.js +0 -1
- package/css/components/ToggleGroup/toggle-group.mjs +0 -1
- package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -0
- package/package.json +3 -3
@@ -7,20 +7,21 @@ declare const _default: {
|
|
7
7
|
"labelIcon": "pf-v5-c-label__icon",
|
8
8
|
"labelText": "pf-v5-c-label__text",
|
9
9
|
"modifiers": {
|
10
|
-
"compact": "pf-m-compact",
|
11
10
|
"blue": "pf-m-blue",
|
12
|
-
"green": "pf-m-green",
|
13
|
-
"orange": "pf-m-orange",
|
14
11
|
"red": "pf-m-red",
|
15
|
-
"
|
16
|
-
"
|
12
|
+
"orange": "pf-m-orange",
|
13
|
+
"orangered": "pf-m-orangered",
|
17
14
|
"gold": "pf-m-gold",
|
15
|
+
"green": "pf-m-green",
|
16
|
+
"cyan": "pf-m-cyan",
|
17
|
+
"purple": "pf-m-purple",
|
18
|
+
"compact": "pf-m-compact",
|
18
19
|
"outline": "pf-m-outline",
|
19
|
-
"overflow": "pf-m-overflow",
|
20
|
-
"add": "pf-m-add",
|
21
20
|
"editable": "pf-m-editable",
|
22
|
-
"editableActive": "pf-m-editable-active"
|
23
|
-
|
24
|
-
|
21
|
+
"editableActive": "pf-m-editable-active",
|
22
|
+
"add": "pf-m-add",
|
23
|
+
"overflow": "pf-m-overflow",
|
24
|
+
"clickable": "pf-m-clickable"
|
25
|
+
}
|
25
26
|
};
|
26
27
|
export default _default;
|
@@ -9,19 +9,20 @@ exports.default = {
|
|
9
9
|
"labelIcon": "pf-v5-c-label__icon",
|
10
10
|
"labelText": "pf-v5-c-label__text",
|
11
11
|
"modifiers": {
|
12
|
-
"compact": "pf-m-compact",
|
13
12
|
"blue": "pf-m-blue",
|
14
|
-
"green": "pf-m-green",
|
15
|
-
"orange": "pf-m-orange",
|
16
13
|
"red": "pf-m-red",
|
17
|
-
"
|
18
|
-
"
|
14
|
+
"orange": "pf-m-orange",
|
15
|
+
"orangered": "pf-m-orangered",
|
19
16
|
"gold": "pf-m-gold",
|
17
|
+
"green": "pf-m-green",
|
18
|
+
"cyan": "pf-m-cyan",
|
19
|
+
"purple": "pf-m-purple",
|
20
|
+
"compact": "pf-m-compact",
|
20
21
|
"outline": "pf-m-outline",
|
21
|
-
"overflow": "pf-m-overflow",
|
22
|
-
"add": "pf-m-add",
|
23
22
|
"editable": "pf-m-editable",
|
24
|
-
"editableActive": "pf-m-editable-active"
|
25
|
-
|
26
|
-
|
23
|
+
"editableActive": "pf-m-editable-active",
|
24
|
+
"add": "pf-m-add",
|
25
|
+
"overflow": "pf-m-overflow",
|
26
|
+
"clickable": "pf-m-clickable"
|
27
|
+
}
|
27
28
|
};
|
@@ -7,19 +7,20 @@ export default {
|
|
7
7
|
"labelIcon": "pf-v5-c-label__icon",
|
8
8
|
"labelText": "pf-v5-c-label__text",
|
9
9
|
"modifiers": {
|
10
|
-
"compact": "pf-m-compact",
|
11
10
|
"blue": "pf-m-blue",
|
12
|
-
"green": "pf-m-green",
|
13
|
-
"orange": "pf-m-orange",
|
14
11
|
"red": "pf-m-red",
|
15
|
-
"
|
16
|
-
"
|
12
|
+
"orange": "pf-m-orange",
|
13
|
+
"orangered": "pf-m-orangered",
|
17
14
|
"gold": "pf-m-gold",
|
15
|
+
"green": "pf-m-green",
|
16
|
+
"cyan": "pf-m-cyan",
|
17
|
+
"purple": "pf-m-purple",
|
18
|
+
"compact": "pf-m-compact",
|
18
19
|
"outline": "pf-m-outline",
|
19
|
-
"overflow": "pf-m-overflow",
|
20
|
-
"add": "pf-m-add",
|
21
20
|
"editable": "pf-m-editable",
|
22
|
-
"editableActive": "pf-m-editable-active"
|
23
|
-
|
24
|
-
|
21
|
+
"editableActive": "pf-m-editable-active",
|
22
|
+
"add": "pf-m-add",
|
23
|
+
"overflow": "pf-m-overflow",
|
24
|
+
"clickable": "pf-m-clickable"
|
25
|
+
}
|
25
26
|
};
|
@@ -6,12 +6,12 @@
|
|
6
6
|
appearance: none;
|
7
7
|
}
|
8
8
|
|
9
|
+
:root,
|
9
10
|
.pf-v5-c-number-input {
|
10
|
-
--pf-v5-c-number-input__unit--c-input-group--MarginLeft: var(--pf-
|
11
|
-
--pf-v5-c-number-input__icon--FontSize: var(--pf-
|
12
|
-
--pf-v5-c-number-input--c-form-control--width-base: calc(var(--pf-
|
13
|
-
--pf-v5-c-number-input--c-form-control--width-icon:
|
14
|
-
--pf-v5-c-number-input--m-status--c-form-control--width-icon: var(--pf-v5-global--spacer--xl);
|
11
|
+
--pf-v5-c-number-input__unit--c-input-group--MarginLeft: var(--pf-t--global--spacer--sm);
|
12
|
+
--pf-v5-c-number-input__icon--FontSize: var(--pf-t--global--font--size--xs);
|
13
|
+
--pf-v5-c-number-input--c-form-control--width-base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-t--global--border--width--box--default) * 2);
|
14
|
+
--pf-v5-c-number-input--c-form-control--width-icon: var(--pf-t--global--spacer--xl);
|
15
15
|
--pf-v5-c-number-input--c-form-control--width-chars: 4;
|
16
16
|
--pf-v5-c-number-input--c-form-control--Width:
|
17
17
|
calc(
|
@@ -19,12 +19,12 @@
|
|
19
19
|
var(--pf-v5-c-number-input--c-form-control--width-base) + var(--pf-v5-c-number-input--c-form-control--width-chars) * 1ch
|
20
20
|
) + var(--pf-v5-c-number-input--c-form-control--width-icon)
|
21
21
|
);
|
22
|
+
}
|
23
|
+
|
24
|
+
.pf-v5-c-number-input {
|
22
25
|
display: inline-flex;
|
23
26
|
align-items: center;
|
24
27
|
}
|
25
|
-
.pf-v5-c-number-input.pf-m-status {
|
26
|
-
--pf-v5-c-number-input--c-form-control--width-icon: var(--pf-v5-c-number-input--m-status--c-form-control--width-icon);
|
27
|
-
}
|
28
28
|
.pf-v5-c-number-input .pf-v5-c-form-control {
|
29
29
|
width: var(--pf-v5-c-number-input--c-form-control--Width);
|
30
30
|
}
|
@@ -2,9 +2,6 @@ import './number-input.css';
|
|
2
2
|
declare const _default: {
|
3
3
|
"formControl": "pf-v5-c-form-control",
|
4
4
|
"inputGroup": "pf-v5-c-input-group",
|
5
|
-
"modifiers": {
|
6
|
-
"status": "pf-m-status"
|
7
|
-
},
|
8
5
|
"numberInput": "pf-v5-c-number-input",
|
9
6
|
"numberInputIcon": "pf-v5-c-number-input__icon",
|
10
7
|
"numberInputUnit": "pf-v5-c-number-input__unit"
|
@@ -4,9 +4,6 @@ require('./number-input.css');
|
|
4
4
|
exports.default = {
|
5
5
|
"formControl": "pf-v5-c-form-control",
|
6
6
|
"inputGroup": "pf-v5-c-input-group",
|
7
|
-
"modifiers": {
|
8
|
-
"status": "pf-m-status"
|
9
|
-
},
|
10
7
|
"numberInput": "pf-v5-c-number-input",
|
11
8
|
"numberInputIcon": "pf-v5-c-number-input__icon",
|
12
9
|
"numberInputUnit": "pf-v5-c-number-input__unit"
|
@@ -2,9 +2,6 @@ import './number-input.css';
|
|
2
2
|
export default {
|
3
3
|
"formControl": "pf-v5-c-form-control",
|
4
4
|
"inputGroup": "pf-v5-c-input-group",
|
5
|
-
"modifiers": {
|
6
|
-
"status": "pf-m-status"
|
7
|
-
},
|
8
5
|
"numberInput": "pf-v5-c-number-input",
|
9
6
|
"numberInputIcon": "pf-v5-c-number-input__icon",
|
10
7
|
"numberInputUnit": "pf-v5-c-number-input__unit"
|
@@ -1,9 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-sidebar--
|
4
|
-
--pf-v5-c-sidebar--
|
5
|
-
--pf-v5-c-sidebar--BorderWidth--base: var(--pf-
|
6
|
-
--pf-v5-c-sidebar--BorderColor--base: var(--pf-
|
1
|
+
:root,
|
2
|
+
:where(.pf-v5-c-sidebar) {
|
3
|
+
--pf-v5-c-sidebar--inset: var(--pf-t--global--spacer--md);
|
4
|
+
--pf-v5-c-sidebar--xl--inset: var(--pf-t--global--spacer--lg);
|
5
|
+
--pf-v5-c-sidebar--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
6
|
+
--pf-v5-c-sidebar--BorderColor--base: var(--pf-t--global--border--color--default);
|
7
7
|
--pf-v5-c-sidebar__panel--PaddingTop: 0;
|
8
8
|
--pf-v5-c-sidebar__panel--PaddingRight: 0;
|
9
9
|
--pf-v5-c-sidebar__panel--PaddingBottom: 0;
|
@@ -59,11 +59,16 @@
|
|
59
59
|
--pf-v5-c-sidebar__panel--md--FlexBasis: 15.625rem;
|
60
60
|
--pf-v5-c-sidebar__panel--m-split--FlexBasis: 15.625rem;
|
61
61
|
--pf-v5-c-sidebar__panel--m-stack--FlexBasis: auto;
|
62
|
-
--pf-v5-c-sidebar__panel--ZIndex: var(--pf-
|
63
|
-
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-
|
64
|
-
--pf-v5-c-
|
62
|
+
--pf-v5-c-sidebar__panel--ZIndex: var(--pf-t--global--Zindex--xs);
|
63
|
+
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
64
|
+
--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
65
|
+
--pf-v5-c-sidebar__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
66
|
+
--pf-v5-c-sidebar__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
65
67
|
--pf-v5-c-sidebar__panel--m-sticky--Top: 0;
|
66
68
|
--pf-v5-c-sidebar__panel--m-sticky--Position: sticky;
|
69
|
+
}
|
70
|
+
|
71
|
+
.pf-v5-c-sidebar {
|
67
72
|
height: 100%;
|
68
73
|
}
|
69
74
|
@media (min-width: 768px) {
|
@@ -157,6 +162,9 @@
|
|
157
162
|
--pf-v5-c-sidebar__panel--Position: static;
|
158
163
|
--pf-v5-c-sidebar__panel--Top: auto;
|
159
164
|
}
|
165
|
+
.pf-v5-c-sidebar__panel.pf-m-secondary {
|
166
|
+
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor);
|
167
|
+
}
|
160
168
|
|
161
169
|
.pf-v5-c-sidebar__content {
|
162
170
|
flex-grow: 1;
|
@@ -176,6 +184,9 @@
|
|
176
184
|
.pf-v5-c-sidebar__content.pf-m-no-background {
|
177
185
|
--pf-v5-c-sidebar__content--BackgroundColor: transparent;
|
178
186
|
}
|
187
|
+
.pf-v5-c-sidebar__content.pf-m-secondary {
|
188
|
+
--pf-v5-c-sidebar__content--BackgroundColor: var(--pf-v5-c-sidebar__content--m-secondary--BackgroundColor);
|
189
|
+
}
|
179
190
|
.pf-v5-c-sidebar__content + .pf-v5-c-sidebar__panel {
|
180
191
|
--pf-v5-c-sidebar__panel--Order: 1;
|
181
192
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
--pf-v5-c-simple-list__item-link--Color: var(--pf-t--global--text--color--subtle);
|
8
8
|
--pf-v5-c-simple-list__item-link--FontSize: var(--pf-t--global--font--size--body--default);
|
9
9
|
--pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-t--global--text--color--regular);
|
10
|
-
--pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--
|
10
|
+
--pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
11
11
|
--pf-v5-c-simple-list__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
12
12
|
--pf-v5-c-simple-list__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
13
13
|
--pf-v5-c-simple-list__item-link--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
@@ -1,45 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-tile--
|
4
|
-
--pf-v5-c-tile--
|
5
|
-
--pf-v5-c-tile--
|
6
|
-
--pf-v5-c-tile--
|
7
|
-
--pf-v5-c-tile--
|
8
|
-
--pf-v5-c-tile--
|
9
|
-
--pf-v5-c-tile--before--BorderColor: var(--pf-
|
10
|
-
--pf-v5-c-tile--before--BorderWidth: var(--pf-
|
11
|
-
--pf-v5-c-tile--
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-tile) {
|
3
|
+
--pf-v5-c-tile--PaddingTop: var(--pf-t--global--spacer--lg);
|
4
|
+
--pf-v5-c-tile--PaddingRight: var(--pf-t--global--spacer--lg);
|
5
|
+
--pf-v5-c-tile--PaddingBottom: var(--pf-t--global--spacer--lg);
|
6
|
+
--pf-v5-c-tile--PaddingLeft: var(--pf-t--global--spacer--lg);
|
7
|
+
--pf-v5-c-tile--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
8
|
+
--pf-v5-c-tile--BorderRadius: var(--pf-t--global--border--radius--medium);
|
9
|
+
--pf-v5-c-tile--before--BorderColor: var(--pf-t--global--border--color--default);
|
10
|
+
--pf-v5-c-tile--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
11
|
+
--pf-v5-c-tile--before--BorderRadius: var(--pf-v5-c-tile--BorderRadius);
|
12
12
|
--pf-v5-c-tile--after--BackgroundColor: transparent;
|
13
|
-
--pf-v5-c-
|
14
|
-
--pf-v5-c-
|
15
|
-
--pf-v5-c-
|
16
|
-
--pf-v5-c-
|
17
|
-
--pf-v5-c-
|
18
|
-
--pf-v5-c-
|
19
|
-
--pf-v5-c-
|
20
|
-
--pf-v5-c-
|
21
|
-
--pf-v5-c-
|
22
|
-
--pf-v5-c-tile--
|
23
|
-
--pf-v5-c-tile--
|
24
|
-
--pf-v5-c-tile--
|
25
|
-
--pf-v5-c-tile--
|
26
|
-
--pf-v5-c-tile--
|
27
|
-
--pf-v5-c-
|
28
|
-
--pf-v5-c-
|
29
|
-
--pf-v5-c-tile--m-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
--pf-v5-c-tile--m-selected--after--ScaleY: 2;
|
34
|
-
--pf-v5-c-tile--m-selected__icon--Color: var(--pf-v5-global--primary-color--100);
|
35
|
-
--pf-v5-c-tile--m-selected__title--Color: var(--pf-v5-global--primary-color--100);
|
36
|
-
--pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--300);
|
37
|
-
--pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--100);
|
38
|
-
--pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--100);
|
39
|
-
--pf-v5-c-tile--m-disabled__body--Color: var(--pf-v5-global--disabled-color--100);
|
40
|
-
--pf-v5-c-tile__header--m-stacked__icon--MarginBottom: var(--pf-v5-global--spacer--xs);
|
41
|
-
--pf-v5-c-tile__header--m-stacked__icon--FontSize: var(--pf-v5-global--icon--FontSize--lg);
|
42
|
-
--pf-v5-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-v5-global--icon--FontSize--xl);
|
13
|
+
--pf-v5-c-tile__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
14
|
+
--pf-v5-c-tile__icon--FontSize: var(--pf-t--global--icon--size--body--default);
|
15
|
+
--pf-v5-c-tile__icon--Color: var(--pf-t--global--icon--color--regular);
|
16
|
+
--pf-v5-c-tile__title--Color: var(--pf-t--global--text--color--regular);
|
17
|
+
--pf-v5-c-tile__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
18
|
+
--pf-v5-c-tile__body--Color: var(--pf-t--global--text--color--regular);
|
19
|
+
--pf-v5-c-tile__body--FontSize: var(--pf-t--global--font--size--body--sm);
|
20
|
+
--pf-v5-c-tile--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
|
21
|
+
--pf-v5-c-tile--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
22
|
+
--pf-v5-c-tile--m-selected--before--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
23
|
+
--pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
24
|
+
--pf-v5-c-tile--m-disabled__title--Color: var(--pf-t--global--text--color--on-disabled);
|
25
|
+
--pf-v5-c-tile--m-disabled__icon--Color: var(--pf-t--global--icon--color--on-disabled);
|
26
|
+
--pf-v5-c-tile--m-disabled__body--Color: var(--pf-t--global--text--color--on-disabled);
|
27
|
+
--pf-v5-c-tile__header--m-stacked__icon--MarginBottom: var(--pf-t--global--spacer--md);
|
28
|
+
--pf-v5-c-tile__header--m-stacked__icon--FontSize: var(--pf-t--global--icon--size--xl);
|
29
|
+
--pf-v5-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-t--global--icon--size--2xl);
|
30
|
+
}
|
31
|
+
|
32
|
+
.pf-v5-c-tile {
|
43
33
|
position: relative;
|
44
34
|
display: inline-grid;
|
45
35
|
grid-template-rows: min-content;
|
@@ -47,11 +37,9 @@
|
|
47
37
|
padding-block-end: var(--pf-v5-c-tile--PaddingBottom);
|
48
38
|
padding-inline-start: var(--pf-v5-c-tile--PaddingLeft);
|
49
39
|
padding-inline-end: var(--pf-v5-c-tile--PaddingRight);
|
50
|
-
text-align: center;
|
51
40
|
cursor: pointer;
|
52
41
|
background-color: var(--pf-v5-c-tile--BackgroundColor);
|
53
|
-
|
54
|
-
transform: translateY(var(--pf-v5-c-tile--TranslateY));
|
42
|
+
border-radius: var(--pf-v5-c-tile--BorderRadius);
|
55
43
|
}
|
56
44
|
.pf-v5-c-tile::before, .pf-v5-c-tile::after {
|
57
45
|
position: absolute;
|
@@ -61,42 +49,21 @@
|
|
61
49
|
.pf-v5-c-tile::before {
|
62
50
|
inset: 0;
|
63
51
|
border: var(--pf-v5-c-tile--before--BorderWidth) solid var(--pf-v5-c-tile--before--BorderColor);
|
64
|
-
|
65
|
-
.pf-v5-c-tile::after {
|
66
|
-
inset-block-end: 0;
|
67
|
-
inset-inline-start: 0;
|
68
|
-
inset-inline-end: 0;
|
69
|
-
height: var(--pf-v5-c-tile--after--Height);
|
70
|
-
background-color: var(--pf-v5-c-tile--after--BackgroundColor);
|
71
|
-
transition: var(--pf-v5-c-tile--after--Transition);
|
72
|
-
transform: scaleY(var(--pf-v5-c-tile--after--ScaleY)) translateY(var(--pf-v5-c-tile--after--TranslateY));
|
52
|
+
border-radius: var(--pf-v5-c-tile--before--BorderRadius);
|
73
53
|
}
|
74
54
|
.pf-v5-c-tile:hover {
|
75
|
-
--pf-v5-c-
|
76
|
-
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--hover__icon--Color);
|
77
|
-
--pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--hover--after--BackgroundColor);
|
55
|
+
--pf-v5-c-tile--before--BorderColor: var(--pf-v5-c-tile--hover--before--BorderColor);
|
78
56
|
}
|
79
|
-
.pf-v5-c-tile
|
80
|
-
--pf-v5-c-
|
81
|
-
--pf-v5-c-
|
82
|
-
--pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--focus--after--BackgroundColor);
|
83
|
-
}
|
84
|
-
.pf-v5-c-tile:active, .pf-v5-c-tile.pf-m-selected {
|
85
|
-
--pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--m-selected__title--Color);
|
86
|
-
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-selected__icon--Color);
|
87
|
-
--pf-v5-c-tile--TranslateY: var(--pf-v5-c-tile--m-selected--TranslateY);
|
88
|
-
--pf-v5-c-tile--Transition: var(--pf-v5-c-tile--m-selected--Transition);
|
89
|
-
--pf-v5-c-tile--after--Height: var(--pf-v5-c-tile--m-selected--after--Height);
|
90
|
-
--pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--m-selected--after--BackgroundColor);
|
91
|
-
--pf-v5-c-tile--after--Transition: var(--pf-v5-c-tile--m-selected--after--Transition);
|
92
|
-
--pf-v5-c-tile--after--ScaleY: var(--pf-v5-c-tile--m-selected--after--ScaleY);
|
57
|
+
.pf-v5-c-tile.pf-m-selected {
|
58
|
+
--pf-v5-c-tile--before--BorderColor: var(--pf-v5-c-tile--m-selected--before--BorderColor);
|
59
|
+
--pf-v5-c-tile--before--BorderWidth: var(--pf-v5-c-tile--m-selected--before--BorderWidth);
|
93
60
|
}
|
94
61
|
.pf-v5-c-tile.pf-m-disabled {
|
95
62
|
--pf-v5-c-tile--BackgroundColor: var(--pf-v5-c-tile--m-disabled--BackgroundColor);
|
96
63
|
--pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--m-disabled__title--Color);
|
64
|
+
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-disabled__icon--Color);
|
97
65
|
--pf-v5-c-tile__body--Color: var(--pf-v5-c-tile--m-disabled__body--Color);
|
98
66
|
--pf-v5-c-tile--before--BorderWidth: 0;
|
99
|
-
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-disabled__icon--Color);
|
100
67
|
pointer-events: none;
|
101
68
|
}
|
102
69
|
.pf-v5-c-tile.pf-m-display-lg .pf-v5-c-tile__header.pf-m-stacked {
|
@@ -106,22 +73,21 @@
|
|
106
73
|
.pf-v5-c-tile__header {
|
107
74
|
display: flex;
|
108
75
|
align-items: center;
|
109
|
-
justify-content: center;
|
110
76
|
}
|
111
77
|
.pf-v5-c-tile__header.pf-m-stacked {
|
112
78
|
--pf-v5-c-tile__icon--MarginRight: 0;
|
113
79
|
--pf-v5-c-tile__icon--FontSize: var(--pf-v5-c-tile__header--m-stacked__icon--FontSize);
|
114
80
|
flex-direction: column;
|
115
|
-
|
81
|
+
align-items: flex-start;
|
116
82
|
}
|
117
83
|
.pf-v5-c-tile__header.pf-m-stacked .pf-v5-c-tile__icon {
|
118
84
|
display: flex;
|
119
85
|
align-items: center;
|
120
|
-
justify-content: center;
|
121
86
|
margin-block-end: var(--pf-v5-c-tile__header--m-stacked__icon--MarginBottom);
|
122
87
|
}
|
123
88
|
|
124
89
|
.pf-v5-c-tile__title {
|
90
|
+
font-weight: var(--pf-v5-c-tile__title--FontWeight);
|
125
91
|
color: var(--pf-v5-c-tile__title--Color);
|
126
92
|
}
|
127
93
|
|
@@ -134,11 +100,4 @@
|
|
134
100
|
margin-inline-end: var(--pf-v5-c-tile__icon--MarginRight);
|
135
101
|
font-size: var(--pf-v5-c-tile__icon--FontSize);
|
136
102
|
color: var(--pf-v5-c-tile__icon--Color);
|
137
|
-
}
|
138
|
-
|
139
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-tile {
|
140
|
-
--pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
141
|
-
--pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--300);
|
142
|
-
--pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--300);
|
143
|
-
--pf-v5-c-tile--m-disabled__body--Color: var(--pf-v5-global--disabled-color--300);
|
144
103
|
}
|
@@ -1,38 +1,39 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-toggle-group__button--
|
4
|
-
--pf-v5-c-toggle-group__button--
|
5
|
-
--pf-v5-c-toggle-group__button--
|
6
|
-
--pf-v5-c-toggle-group__button--
|
7
|
-
--pf-v5-c-toggle-group__button--
|
8
|
-
--pf-v5-c-toggle-group__button--
|
9
|
-
--pf-v5-c-toggle-group__button--
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-toggle-group) {
|
3
|
+
--pf-v5-c-toggle-group__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
4
|
+
--pf-v5-c-toggle-group__button--PaddingRight: var(--pf-t--global--spacer--md);
|
5
|
+
--pf-v5-c-toggle-group__button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
6
|
+
--pf-v5-c-toggle-group__button--PaddingLeft: var(--pf-t--global--spacer--md);
|
7
|
+
--pf-v5-c-toggle-group__button--FontSize: var(--pf-t--global--font--size--body--default);
|
8
|
+
--pf-v5-c-toggle-group__button--LineHeight: var(--pf-t--global--font--line-height--body);
|
9
|
+
--pf-v5-c-toggle-group__button--Color: var(--pf-t--global--text--color--regular);
|
10
|
+
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
10
11
|
--pf-v5-c-toggle-group__button--ZIndex: auto;
|
11
|
-
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-
|
12
|
-
--pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-
|
13
|
-
--pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-
|
14
|
-
--pf-v5-c-toggle-group__button--
|
15
|
-
--pf-v5-c-toggle-group__button--
|
16
|
-
--pf-v5-c-toggle-group__button--
|
17
|
-
--pf-v5-c-toggle-group__button--
|
18
|
-
--pf-v5-c-toggle-
|
19
|
-
--pf-v5-c-toggle-
|
20
|
-
--pf-v5-c-toggle-
|
21
|
-
--pf-v5-c-toggle-group__item--
|
22
|
-
--pf-v5-c-toggle-group__item--
|
23
|
-
--pf-v5-c-toggle-
|
24
|
-
--pf-v5-c-toggle-
|
25
|
-
--pf-v5-c-toggle-
|
26
|
-
--pf-v5-c-toggle-
|
27
|
-
--pf-v5-c-toggle-group__button--m-selected--
|
28
|
-
--pf-v5-c-toggle-group__button--m-selected--Color: initial;
|
29
|
-
--pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-v5-global--primary-color--100);
|
30
|
-
--pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
12
|
+
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
13
|
+
--pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-t--global--Zindex--xs);
|
14
|
+
--pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-t--global--border--color--default);
|
15
|
+
--pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
16
|
+
--pf-v5-c-toggle-group__button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
17
|
+
--pf-v5-c-toggle-group__button--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
18
|
+
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
19
|
+
--pf-v5-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-t--global--border--width--control--default));
|
20
|
+
--pf-v5-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-t--global--border--radius--tiny);
|
21
|
+
--pf-v5-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-t--global--border--radius--tiny);
|
22
|
+
--pf-v5-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-t--global--border--radius--tiny);
|
23
|
+
--pf-v5-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-t--global--border--radius--tiny);
|
24
|
+
--pf-v5-c-toggle-group__icon--text--MarginLeft: var(--pf-t--global--spacer--sm);
|
25
|
+
--pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--default);
|
26
|
+
--pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--default);
|
27
|
+
--pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
28
|
+
--pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-t--global--Zindex--xs);
|
31
29
|
--pf-v5-c-toggle-group--m-compact__button--PaddingTop: 0;
|
32
|
-
--pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-
|
30
|
+
--pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-t--global--spacer--sm);
|
33
31
|
--pf-v5-c-toggle-group--m-compact__button--PaddingBottom: 0;
|
34
|
-
--pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-
|
35
|
-
--pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-
|
32
|
+
--pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
33
|
+
--pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-t--global--font--size--body--default);
|
34
|
+
}
|
35
|
+
|
36
|
+
.pf-v5-c-toggle-group {
|
36
37
|
display: flex;
|
37
38
|
}
|
38
39
|
.pf-v5-c-toggle-group.pf-m-compact {
|
@@ -79,17 +80,12 @@
|
|
79
80
|
content: "";
|
80
81
|
border: var(--pf-v5-c-toggle-group__button--before--BorderWidth) solid var(--pf-v5-c-toggle-group__button--before--BorderColor);
|
81
82
|
}
|
82
|
-
.pf-v5-c-toggle-group__button:hover {
|
83
|
+
.pf-v5-c-toggle-group__button:hover, .pf-v5-c-toggle-group__button:focus {
|
83
84
|
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--hover--BackgroundColor);
|
84
85
|
--pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--hover--ZIndex);
|
85
86
|
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--hover--before--BorderColor);
|
86
87
|
text-decoration: none;
|
87
88
|
}
|
88
|
-
.pf-v5-c-toggle-group__button:focus {
|
89
|
-
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--focus--BackgroundColor);
|
90
|
-
--pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--focus--ZIndex);
|
91
|
-
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--focus--before--BorderColor);
|
92
|
-
}
|
93
89
|
.pf-v5-c-toggle-group__button.pf-m-selected {
|
94
90
|
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--m-selected--BackgroundColor);
|
95
91
|
--pf-v5-c-toggle-group__button--Color: var(--pf-v5-c-toggle-group__button--m-selected--Color, inherit);
|
@@ -105,13 +101,4 @@
|
|
105
101
|
.pf-v5-c-toggle-group__icon + .pf-v5-c-toggle-group__text,
|
106
102
|
.pf-v5-c-toggle-group__text + .pf-v5-c-toggle-group__icon {
|
107
103
|
margin-inline-start: var(--pf-v5-c-toggle-group__icon--text--MarginLeft);
|
108
|
-
}
|
109
|
-
|
110
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-toggle-group {
|
111
|
-
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
112
|
-
--pf-v5-c-toggle-group__button--focus--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
113
|
-
--pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-v5-global--palette--black-600);
|
114
|
-
--pf-v5-c-toggle-group__button--disabled--Color: var(--pf-v5-global--palette--black-100);
|
115
|
-
--pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
116
|
-
--pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-v5-global--primary-color--400);
|
117
104
|
}
|
@@ -5,7 +5,6 @@ declare const _default: {
|
|
5
5
|
"selected": "pf-m-selected",
|
6
6
|
"disabled": "pf-m-disabled"
|
7
7
|
},
|
8
|
-
"themeDark": "pf-v5-theme-dark",
|
9
8
|
"toggleGroup": "pf-v5-c-toggle-group",
|
10
9
|
"toggleGroupButton": "pf-v5-c-toggle-group__button",
|
11
10
|
"toggleGroupIcon": "pf-v5-c-toggle-group__icon",
|
@@ -7,7 +7,6 @@ exports.default = {
|
|
7
7
|
"selected": "pf-m-selected",
|
8
8
|
"disabled": "pf-m-disabled"
|
9
9
|
},
|
10
|
-
"themeDark": "pf-v5-theme-dark",
|
11
10
|
"toggleGroup": "pf-v5-c-toggle-group",
|
12
11
|
"toggleGroupButton": "pf-v5-c-toggle-group__button",
|
13
12
|
"toggleGroupIcon": "pf-v5-c-toggle-group__icon",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
}
|
4
4
|
|
5
5
|
.pf-v5-c-draggable.pf-m-dragging {
|
6
|
-
--pf-v5-c-draggable--m-dragging--BackgroundColor: var(--pf-
|
6
|
+
--pf-v5-c-draggable--m-dragging--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
7
7
|
|
8
8
|
position: absolute;
|
9
9
|
inset-block-start: 23%;
|
@@ -1,9 +1,13 @@
|
|
1
1
|
#ws-core-c-label-filled .ws-preview-html,
|
2
|
+
#ws-core-c-label-outline .ws-preview-html,
|
3
|
+
#ws-core-c-label-compact .ws-preview-html,
|
2
4
|
#ws-core-c-label-overflow .ws-preview-html {
|
3
5
|
margin: -4px;
|
4
6
|
}
|
5
7
|
|
6
8
|
#ws-core-c-label-filled .pf-v5-c-label,
|
9
|
+
#ws-core-c-label-outline .pf-v5-c-label,
|
10
|
+
#ws-core-c-label-compact .pf-v5-c-label,
|
7
11
|
#ws-core-c-label-overflow .pf-v5-c-label {
|
8
12
|
margin: 4px;
|
9
13
|
}
|