@patternfly/react-styles 5.0.0-alpha.1 → 5.0.0-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +59 -1
- package/css/components/Accordion/accordion.css +2 -0
- package/css/components/AppLauncher/app-launcher.css +2 -0
- package/css/components/Breadcrumb/breadcrumb.css +2 -0
- package/css/components/CalendarMonth/calendar-month.css +1 -1
- package/css/components/Card/card.css +9 -12
- package/css/components/Card/card.d.ts +1 -0
- package/css/components/Card/card.js +1 -0
- package/css/components/Card/card.mjs +1 -0
- package/css/components/ChipGroup/chip-group.css +27 -17
- package/css/components/Content/content.css +6 -0
- package/css/components/Content/content.d.ts +2 -1
- package/css/components/Content/content.js +2 -1
- package/css/components/Content/content.mjs +2 -1
- package/css/components/ContextSelector/context-selector.css +5 -1
- package/css/components/DataList/data-list.css +2 -1
- package/css/components/Drawer/drawer.css +13 -14
- package/css/components/Dropdown/dropdown.css +12 -10
- package/css/components/EmptyState/empty-state.css +46 -52
- package/css/components/EmptyState/empty-state.d.ts +5 -7
- package/css/components/EmptyState/empty-state.js +5 -7
- package/css/components/EmptyState/empty-state.mjs +5 -7
- package/css/components/ExpandableSection/expandable-section.css +2 -0
- package/css/components/Label/label.css +2 -0
- package/css/components/LabelGroup/label-group.css +26 -22
- package/css/components/Login/login.css +1 -1
- package/css/components/Menu/menu.css +3 -0
- package/css/components/MenuToggle/menu-toggle.css +2 -0
- package/css/components/Page/page.css +60 -60
- package/css/components/Pagination/pagination.css +2 -2
- package/css/components/Popover/popover.css +2 -7
- package/css/components/SearchInput/search-input.css +2 -0
- package/css/components/Table/table-grid.css +28 -28
- package/css/components/Table/table-tree-view.css +4 -4
- package/css/components/Tabs/tabs.css +0 -4
- package/css/components/Tabs/tabs.d.ts +0 -1
- package/css/components/Tabs/tabs.js +0 -1
- package/css/components/Tabs/tabs.mjs +0 -1
- package/css/components/TextInputGroup/text-input-group.css +4 -2
- package/css/components/Toolbar/toolbar.css +65 -37
- package/css/components/Toolbar/toolbar.d.ts +4 -0
- package/css/components/Toolbar/toolbar.js +4 -0
- package/css/components/Toolbar/toolbar.mjs +4 -0
- package/css/components/Tooltip/tooltip.css +7 -12
- package/css/components/TreeView/tree-view.css +7 -15
- package/css/components/Wizard/wizard.css +2 -0
- package/css/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/css/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/css/layouts/Grid/grid.css +5 -5
- package/package.json +3 -3
@@ -11,11 +11,12 @@
|
|
11
11
|
--pf-c-tree-view__node--Color: var(--pf-global--Color--100);
|
12
12
|
--pf-c-tree-view__node--m-current--Color: var(--pf-global--link--Color);
|
13
13
|
--pf-c-tree-view__node--m-current--FontWeight: var(--pf-global--FontWeight--bold);
|
14
|
+
--pf-c-tree-view__node--BackgroundColor: transparent;
|
14
15
|
--pf-c-tree-view__node-container--Display: contents;
|
15
16
|
--pf-c-tree-view__node-content--RowGap: var(--pf-global--spacer--sm);
|
16
17
|
--pf-c-tree-view__node-content--Overflow: visible;
|
17
18
|
--pf-c-tree-view__node--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
18
|
-
--pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--
|
19
|
+
--pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
19
20
|
--pf-c-tree-view__list-item__list-item__node-toggle--Top: var(--pf-c-tree-view__node--PaddingTop--base);
|
20
21
|
--pf-c-tree-view__list-item__list-item__node-toggle--Left: var(--pf-c-tree-view__node--PaddingLeft);
|
21
22
|
--pf-c-tree-view__list-item__list-item__node-toggle--TranslateX: -100%;
|
@@ -25,6 +26,7 @@
|
|
25
26
|
--pf-c-tree-view__node-toggle--hover--Color: var(--pf-global--Color--100);
|
26
27
|
--pf-c-tree-view__node-toggle--focus--Color: var(--pf-global--Color--100);
|
27
28
|
--pf-c-tree-view__node-toggle--active--Color: var(--pf-global--Color--100);
|
29
|
+
--pf-c-tree-view__node-toggle--BackgroundColor: transparent;
|
28
30
|
--pf-c-tree-view__list-item--m-expanded__node-toggle--Color: var(--pf-global--Color--100);
|
29
31
|
--pf-c-tree-view__node-toggle-icon--MinWidth: var(--pf-global--FontSize--md);
|
30
32
|
--pf-c-tree-view__node-toggle-icon--Transition: transform var(--pf-global--TransitionDuration) var(--pf-global--TimingFunction);
|
@@ -49,10 +51,6 @@
|
|
49
51
|
--pf-c-tree-view__node-text--max-lines: 1;
|
50
52
|
--pf-c-tree-view__node-title--FontWeight: var(--pf-global--FontWeight--bold);
|
51
53
|
--pf-c-tree-view__action--MarginLeft: var(--pf-global--spacer--md);
|
52
|
-
--pf-c-tree-view__action--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
53
|
-
--pf-c-tree-view__action--Color: var(--pf-global--icon--Color--light);
|
54
|
-
--pf-c-tree-view__action--hover--Color: var(--pf-global--icon--Color--dark);
|
55
|
-
--pf-c-tree-view__action--focus--Color: var(--pf-global--icon--Color--dark);
|
56
54
|
--pf-c-tree-view--m-guides--guide--Left: var(--pf-c-tree-view--m-guides--guide-left--base);
|
57
55
|
--pf-c-tree-view--m-guides--guide-color--base: var(--pf-global--BorderColor--100);
|
58
56
|
--pf-c-tree-view--m-guides--guide-width--base: var(--pf-global--BorderWidth--sm);
|
@@ -250,13 +248,14 @@
|
|
250
248
|
display: flex;
|
251
249
|
padding: var(--pf-c-tree-view__node--PaddingTop) var(--pf-c-tree-view__node--PaddingRight) var(--pf-c-tree-view__node--PaddingBottom) var(--pf-c-tree-view__node--PaddingLeft);
|
252
250
|
color: var(--pf-c-tree-view__node--Color);
|
251
|
+
background-color: var(--pf-c-tree-view__node--BackgroundColor);
|
253
252
|
}
|
254
253
|
.pf-c-tree-view__node.pf-m-current {
|
255
254
|
--pf-c-tree-view__node--Color: var(--pf-c-tree-view__node--m-current--Color);
|
256
255
|
font-weight: var(--pf-c-tree-view__node--m-current--FontWeight);
|
257
256
|
}
|
258
257
|
.pf-c-tree-view__node:focus {
|
259
|
-
|
258
|
+
--pf-c-tree-view__node--BackgroundColor: var(--pf-c-tree-view__node--focus--BackgroundColor);
|
260
259
|
}
|
261
260
|
.pf-c-tree-view__node .pf-c-tree-view__node-count {
|
262
261
|
margin-left: var(--pf-c-tree-view__node-count--MarginLeft);
|
@@ -303,6 +302,7 @@
|
|
303
302
|
margin-top: var(--pf-c-tree-view__node-toggle-button--MarginTop);
|
304
303
|
margin-bottom: var(--pf-c-tree-view__node-toggle-button--MarginBottom);
|
305
304
|
color: var(--pf-c-tree-view__node-toggle--Color);
|
305
|
+
background-color: var(--pf-c-tree-view__node-toggle--BackgroundColor);
|
306
306
|
border: 0;
|
307
307
|
transform: translateX(var(--pf-c-tree-view__list-item__list-item__node-toggle--TranslateX));
|
308
308
|
}
|
@@ -326,6 +326,7 @@
|
|
326
326
|
font-weight: inherit;
|
327
327
|
color: inherit;
|
328
328
|
text-align: left;
|
329
|
+
background-color: transparent;
|
329
330
|
border: 0;
|
330
331
|
}
|
331
332
|
label.pf-c-tree-view__node-text {
|
@@ -357,15 +358,6 @@ label.pf-c-tree-view__node-text {
|
|
357
358
|
|
358
359
|
.pf-c-tree-view__action {
|
359
360
|
margin-left: var(--pf-c-tree-view__action--MarginLeft);
|
360
|
-
color: var(--pf-c-tree-view__action--Color);
|
361
|
-
border: 0;
|
362
|
-
}
|
363
|
-
.pf-c-tree-view__action:hover {
|
364
|
-
--pf-c-tree-view__action--Color: var(--pf-c-tree-view__action--hover--Color);
|
365
|
-
}
|
366
|
-
.pf-c-tree-view__action:focus {
|
367
|
-
--pf-c-tree-view__action--Color: var(--pf-c-tree-view__action--focus--Color);
|
368
|
-
background-color: var(--pf-c-tree-view__action--focus--BackgroundColor);
|
369
361
|
}
|
370
362
|
|
371
363
|
.pf-c-tree-view__list-item .pf-c-tree-view__list-item {
|
@@ -50,6 +50,7 @@
|
|
50
50
|
--pf-c-wizard__description--PaddingTop: var(--pf-global--spacer--sm);
|
51
51
|
--pf-c-wizard__description--Color: var(--pf-global--Color--light-200);
|
52
52
|
--pf-c-wizard__nav-link--Color: var(--pf-global--Color--100);
|
53
|
+
--pf-c-wizard__nav-link--BackgroundColor: transparent;
|
53
54
|
--pf-c-wizard__nav-link--TextDecoration: var(--pf-global--link--TextDecoration);
|
54
55
|
--pf-c-wizard__nav-link--hover--Color: var(--pf-global--link--Color);
|
55
56
|
--pf-c-wizard__nav-link--focus--Color: var(--pf-global--link--Color);
|
@@ -399,6 +400,7 @@
|
|
399
400
|
text-align: left;
|
400
401
|
text-decoration: var(--pf-c-wizard__nav-link--TextDecoration);
|
401
402
|
word-break: break-word;
|
403
|
+
background-color: var(--pf-c-wizard__nav-link--BackgroundColor);
|
402
404
|
border: 0;
|
403
405
|
}
|
404
406
|
.pf-c-wizard__toggle-num, .pf-c-wizard__nav-link::before {
|
@@ -1,3 +1,7 @@
|
|
1
|
-
#ws-core-c-context-selector-basic, #ws-core-c-context-selector-
|
1
|
+
#ws-core-c-context-selector-basic, #ws-core-c-context-selector-plain-with-text {
|
2
2
|
min-height: 380px;
|
3
3
|
}
|
4
|
+
|
5
|
+
#ws-core-c-context-selector-with-footer {
|
6
|
+
min-height: 420px;
|
7
|
+
}
|
@@ -31,11 +31,14 @@
|
|
31
31
|
}
|
32
32
|
|
33
33
|
#ws-core-c-dropdown-with-groups,
|
34
|
-
#ws-core-c-dropdown-with-groups-and-dividers-between-groups
|
35
|
-
#ws-core-c-dropdown-with-groups-and-dividers-between-items {
|
34
|
+
#ws-core-c-dropdown-with-groups-and-dividers-between-groups {
|
36
35
|
min-height: 440px;
|
37
36
|
}
|
38
37
|
|
38
|
+
#ws-core-c-dropdown-with-groups-and-dividers-between-items {
|
39
|
+
min-height: 460px;
|
40
|
+
}
|
41
|
+
|
39
42
|
#ws-core-c-dropdown-dropdown-with-image-and-text .ws-preview-html {
|
40
43
|
min-height: 19rem;
|
41
44
|
}
|
@@ -16,31 +16,31 @@
|
|
16
16
|
}
|
17
17
|
@media (min-width: 576px) {
|
18
18
|
.pf-l-grid > *,
|
19
|
-
.pf-l-grid .pf-l-grid__item {
|
19
|
+
.pf-l-grid .pf-l-grid__item {
|
20
20
|
order: var(--pf-l-grid--item--Order-on-sm, var(--pf-l-grid--item--Order));
|
21
21
|
}
|
22
22
|
}
|
23
23
|
@media (min-width: 768px) {
|
24
24
|
.pf-l-grid > *,
|
25
|
-
.pf-l-grid .pf-l-grid__item {
|
25
|
+
.pf-l-grid .pf-l-grid__item {
|
26
26
|
order: var(--pf-l-grid--item--Order-on-md, var(--pf-l-grid--item--Order-on-sm, var(--pf-l-grid--item--Order)));
|
27
27
|
}
|
28
28
|
}
|
29
29
|
@media (min-width: 992px) {
|
30
30
|
.pf-l-grid > *,
|
31
|
-
.pf-l-grid .pf-l-grid__item {
|
31
|
+
.pf-l-grid .pf-l-grid__item {
|
32
32
|
order: var(--pf-l-grid--item--Order-on-lg, var(--pf-l-grid--item--Order-on-md, var(--pf-l-grid--item--Order-on-sm, var(--pf-l-grid--item--Order))));
|
33
33
|
}
|
34
34
|
}
|
35
35
|
@media (min-width: 1200px) {
|
36
36
|
.pf-l-grid > *,
|
37
|
-
.pf-l-grid .pf-l-grid__item {
|
37
|
+
.pf-l-grid .pf-l-grid__item {
|
38
38
|
order: var(--pf-l-grid--item--Order-on-xl, var(--pf-l-grid--item--Order-on-lg, var(--pf-l-grid--item--Order-on-md, var(--pf-l-grid--item--Order-on-sm, var(--pf-l-grid--item--Order)))));
|
39
39
|
}
|
40
40
|
}
|
41
41
|
@media (min-width: 1450px) {
|
42
42
|
.pf-l-grid > *,
|
43
|
-
.pf-l-grid .pf-l-grid__item {
|
43
|
+
.pf-l-grid .pf-l-grid__item {
|
44
44
|
order: var(--pf-l-grid--item--Order-on-2xl, var(--pf-l-grid--item--Order-on-xl, var(--pf-l-grid--item--Order-on-lg, var(--pf-l-grid--item--Order-on-md, var(--pf-l-grid--item--Order-on-sm, var(--pf-l-grid--item--Order))))));
|
45
45
|
}
|
46
46
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "5.0.0-alpha.
|
3
|
+
"version": "5.0.0-alpha.3",
|
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": "5.0.0-alpha.
|
22
|
+
"@patternfly/patternfly": "5.0.0-alpha.18",
|
23
23
|
"camel-case": "^3.0.0",
|
24
24
|
"css": "^2.2.3",
|
25
25
|
"fs-extra": "^6.0.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"typescript": "^4.7.4"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "ac3634f9fe9522d2101596a3ff299278194acc15"
|
33
33
|
}
|