@patternfly/react-styles 6.0.0-alpha.6 → 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 +10 -0
- package/css/components/Button/button.css +44 -14
- 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/Nav/nav.css +240 -918
- package/css/components/Nav/nav.d.ts +9 -20
- package/css/components/Nav/nav.js +9 -20
- package/css/components/Nav/nav.mjs +9 -20
- 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/Timestamp/timestamp.css +12 -9
- 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/css/docs/components/Nav/examples/Navigation.css +1 -39
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -2
- package/css/docs/components/Nav/examples/Navigation.js +0 -2
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -2
- package/package.json +3 -3
@@ -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
|
}
|
@@ -1,41 +1,3 @@
|
|
1
|
-
#ws-core-c-navigation-default,
|
2
|
-
#ws-core-c-navigation-basic,
|
3
|
-
#ws-core-c-navigation-grouped,
|
4
|
-
#ws-core-c-navigation-grouped-nav,
|
5
|
-
#ws-core-c-navigation-grouped-nav-no-titles,
|
6
|
-
#ws-core-c-navigation-expanded,
|
7
|
-
#ws-core-c-navigation-expanded-with-subnav-titles,
|
8
|
-
#ws-core-c-navigation-mixed,
|
9
|
-
#ws-core-c-navigation-horizontal,
|
10
|
-
#ws-core-c-navigation-horizontal-overflow,
|
11
|
-
#ws-core-c-navigation-horizontal-subnav,
|
12
|
-
#ws-core-c-navigation-horizontal-subnav-overflow,
|
13
|
-
#ws-core-c-navigation-drilldown,
|
14
|
-
#ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
|
15
|
-
#ws-core-c-navigation-level-2-drilldown,
|
16
|
-
#ws-core-c-navigation-level-3-drilldown,
|
17
|
-
#ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
|
18
|
-
#ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
|
19
|
-
padding: 0;
|
20
|
-
}
|
21
|
-
|
22
|
-
#ws-core-c-navigation-horizontal-in-masthead,
|
23
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow {
|
24
|
-
grid-template-rows: auto;
|
25
|
-
}
|
26
|
-
|
27
|
-
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
|
28
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
|
29
|
-
min-height: 0;
|
30
|
-
}
|
31
|
-
|
32
|
-
@media screen and (min-width: 1200px) {
|
33
|
-
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header,
|
34
|
-
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header {
|
35
|
-
min-height: var(--pf-v5-c-page__header--MinHeight);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
1
|
#ws-core-c-navigation-horizontal-in-masthead .pf-v5-c-page__header-nav,
|
40
2
|
#ws-core-c-navigation-horizontal-in-masthead-overflow .pf-v5-c-page__header-nav {
|
41
3
|
grid-row: 1;
|
@@ -43,7 +5,7 @@
|
|
43
5
|
|
44
6
|
#ws-core-c-navigation-nav-with-flyout .ws-preview-html,
|
45
7
|
[id^="ws-core-c-navigation-nav-with-drilldown-menu"] .ws-preview-html {
|
46
|
-
width:
|
8
|
+
width: 280px;
|
47
9
|
}
|
48
10
|
|
49
11
|
#ws-core-c-navigation-nav-with-flyout .ws-preview-html {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "6.0.0-alpha.
|
3
|
+
"version": "6.0.0-alpha.8",
|
4
4
|
"main": "dist/js/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/esm/index.d.ts",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"clean": "rimraf dist css"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@patternfly/patternfly": "6.0.0-alpha.
|
22
|
+
"@patternfly/patternfly": "6.0.0-alpha.63",
|
23
23
|
"camel-case": "^3.0.0",
|
24
24
|
"css": "^2.2.3",
|
25
25
|
"fs-extra": "^11.1.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"typescript": "^4.7.4"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "33b82ec94f4742d6ffca49a9ac03cb5593a2b34a"
|
33
33
|
}
|