@patternfly/react-styles 5.0.0-prerelease.1 → 5.0.0-prerelease.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -3260
- package/css/components/CalendarMonth/calendar-month.css +3 -0
- package/css/components/Masthead/masthead.css +2 -6
- package/css/components/MenuToggle/menu-toggle.css +13 -11
- package/css/components/MenuToggle/menu-toggle.d.ts +1 -1
- package/css/components/MenuToggle/menu-toggle.js +1 -1
- package/css/components/MenuToggle/menu-toggle.mjs +1 -1
- package/package.json +3 -3
@@ -9,6 +9,7 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
.pf-v5-c-calendar-month {
|
12
|
+
--pf-v5-c-calendar-month--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
12
13
|
--pf-v5-c-calendar-month--PaddingTop: var(--pf-v5-global--spacer--lg);
|
13
14
|
--pf-v5-c-calendar-month--PaddingRight: var(--pf-v5-global--spacer--lg);
|
14
15
|
--pf-v5-c-calendar-month--PaddingBottom: var(--pf-v5-global--spacer--md);
|
@@ -66,6 +67,7 @@
|
|
66
67
|
flex-direction: column;
|
67
68
|
padding: var(--pf-v5-c-calendar-month--PaddingTop) var(--pf-v5-c-calendar-month--PaddingRight) var(--pf-v5-c-calendar-month--PaddingBottom) var(--pf-v5-c-calendar-month--PaddingLeft);
|
68
69
|
font-size: var(--pf-v5-c-calendar-month--FontSize);
|
70
|
+
background-color: var(--pf-v5-c-calendar-month--BackgroundColor);
|
69
71
|
}
|
70
72
|
|
71
73
|
.pf-v5-c-calendar-month__header {
|
@@ -197,6 +199,7 @@
|
|
197
199
|
}
|
198
200
|
|
199
201
|
:where(.pf-v5-theme-dark) .pf-v5-c-calendar-month {
|
202
|
+
--pf-v5-c-calendar-month--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
200
203
|
--pf-v5-c-calendar-month__dates-cell--m-current__date--BackgroundColor: var(--pf-v5-global--palette--black-500);
|
201
204
|
--pf-v5-c-calendar-month__dates-cell--m-selected__date--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
202
205
|
--pf-v5-c-calendar-month__dates-cell--m-selected__date--Color: var(--pf-v5-global--primary-color--400);
|
@@ -87,8 +87,6 @@
|
|
87
87
|
--pf-v5-c-masthead--c-menu-toggle--before--BorderTopColor: var(--pf-v5-c-masthead--item-border-color--base);
|
88
88
|
--pf-v5-c-masthead--c-menu-toggle--before--BorderRightColor: var(--pf-v5-c-masthead--item-border-color--base);
|
89
89
|
--pf-v5-c-masthead--c-menu-toggle--before--BorderLeftColor: var(--pf-v5-c-masthead--item-border-color--base);
|
90
|
-
--pf-v5-c-masthead--c-menu-toggle--m-full-height--before--BorderTopColor: transparent;
|
91
|
-
--pf-v5-c-masthead--c-menu-toggle--m-full-height--before--BorderBottomColor: transparent;
|
92
90
|
--pf-v5-c-masthead--c-toolbar--BackgroundColor: var(--pf-v5-c-masthead--BackgroundColor);
|
93
91
|
--pf-v5-c-masthead--c-toolbar--AlignItems--base: center;
|
94
92
|
--pf-v5-c-masthead--c-toolbar__content--PaddingRight: 0;
|
@@ -193,10 +191,7 @@
|
|
193
191
|
--pf-v5-c-menu-toggle--before--BorderTopColor: var(--pf-v5-c-masthead--c-menu-toggle--before--BorderTopColor);
|
194
192
|
--pf-v5-c-menu-toggle--before--BorderRightColor: var(--pf-v5-c-masthead--c-menu-toggle--before--BorderRightColor);
|
195
193
|
--pf-v5-c-menu-toggle--before--BorderLeftColor: var(--pf-v5-c-masthead--c-menu-toggle--before--BorderLeftColor);
|
196
|
-
|
197
|
-
.pf-v5-c-masthead .pf-v5-c-menu-toggle.pf-m-full-height {
|
198
|
-
--pf-v5-c-menu-toggle--before--BorderTopColor: var(--pf-v5-c-masthead--c-menu-toggle--m-full-height--before--BorderTopColor);
|
199
|
-
--pf-v5-c-menu-toggle--before--BorderBottomColor: var(--pf-v5-c-masthead--c-menu-toggle--m-full-height--before--BorderBottomColor);
|
194
|
+
--pf-v5-c-menu-toggle--m-full-height__toggle--after--BorderBottomWidth: 0;
|
200
195
|
}
|
201
196
|
.pf-v5-c-masthead .pf-v5-c-context-selector {
|
202
197
|
--pf-v5-c-context-selector--Width: var(--pf-v5-c-masthead--c-context-selector--Width);
|
@@ -664,6 +659,7 @@
|
|
664
659
|
|
665
660
|
:where(.pf-v5-theme-dark) .pf-v5-c-masthead {
|
666
661
|
--pf-v5-c-masthead--BackgroundColor: var(--pf-v5-global--palette--black-1000);
|
662
|
+
--pf-v5-c-masthead--item-border-color--base: var(--pf-v5-global--BorderColor--100);
|
667
663
|
color: var(--pf-v5-global--Color--100);
|
668
664
|
}
|
669
665
|
:where(.pf-v5-theme-dark) .pf-v5-c-masthead .pf-v5-c-toolbar {
|
@@ -77,6 +77,7 @@
|
|
77
77
|
--pf-v5-c-menu-toggle--m-full-height--PaddingRight: var(--pf-v5-global--spacer--lg);
|
78
78
|
--pf-v5-c-menu-toggle--m-full-height--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
79
79
|
--pf-v5-c-menu-toggle--m-full-height__toggle--before--BorderTopWidth: 0;
|
80
|
+
--pf-v5-c-menu-toggle--m-full-height__toggle--after--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
80
81
|
--pf-v5-c-menu-toggle--m-full-height--m-expanded--after--BorderBottomWidth: var(--pf-v5-global--BorderWidth--xl);
|
81
82
|
--pf-v5-c-menu-toggle--m-full-height--hover--after--BorderBottomWidth: var(--pf-v5-global--BorderWidth--xl);
|
82
83
|
--pf-v5-c-menu-toggle--m-full-height--focus--after--BorderBottomWidth: var(--pf-v5-global--BorderWidth--xl);
|
@@ -197,6 +198,17 @@
|
|
197
198
|
display: inline-block;
|
198
199
|
color: var(--pf-v5-c-menu-toggle--m-plain--Color);
|
199
200
|
}
|
201
|
+
.pf-v5-c-menu-toggle.pf-m-full-height {
|
202
|
+
--pf-v5-c-menu-toggle--PaddingRight: var(--pf-v5-c-menu-toggle--m-full-height--PaddingRight);
|
203
|
+
--pf-v5-c-menu-toggle--PaddingLeft: var(--pf-v5-c-menu-toggle--m-full-height--PaddingLeft);
|
204
|
+
--pf-v5-c-menu-toggle--before--BorderTopWidth: var(--pf-v5-c-menu-toggle--m-full-height__toggle--before--BorderTopWidth);
|
205
|
+
--pf-v5-c-menu-toggle--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height__toggle--after--BorderBottomWidth);
|
206
|
+
--pf-v5-c-menu-toggle--m-expanded--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--m-expanded--after--BorderBottomWidth);
|
207
|
+
--pf-v5-c-menu-toggle--hover--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--hover--after--BorderBottomWidth);
|
208
|
+
--pf-v5-c-menu-toggle--focus--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--focus--after--BorderBottomWidth);
|
209
|
+
--pf-v5-c-menu-toggle--active--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--active--after--BorderBottomWidth);
|
210
|
+
height: 100%;
|
211
|
+
}
|
200
212
|
.pf-v5-c-menu-toggle:hover {
|
201
213
|
--pf-v5-c-menu-toggle--BackgroundColor: var(--pf-v5-c-menu-toggle--hover--BackgroundColor);
|
202
214
|
--pf-v5-c-menu-toggle--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--hover--after--BorderBottomWidth);
|
@@ -235,16 +247,6 @@
|
|
235
247
|
.pf-v5-c-menu-toggle.pf-m-primary::before, .pf-v5-c-menu-toggle.pf-m-primary::after, .pf-v5-c-menu-toggle.pf-m-plain::before, .pf-v5-c-menu-toggle.pf-m-plain::after, .pf-v5-c-menu-toggle:disabled::before, .pf-v5-c-menu-toggle:disabled::after {
|
236
248
|
border: 0;
|
237
249
|
}
|
238
|
-
.pf-v5-c-menu-toggle.pf-m-full-height {
|
239
|
-
--pf-v5-c-menu-toggle--PaddingRight: var(--pf-v5-c-menu-toggle--m-full-height--PaddingRight);
|
240
|
-
--pf-v5-c-menu-toggle--PaddingLeft: var(--pf-v5-c-menu-toggle--m-full-height--PaddingLeft);
|
241
|
-
--pf-v5-c-menu-toggle--before--BorderTopWidth: var(--pf-v5-c-menu-toggle--m-full-height__toggle--before--BorderTopWidth);
|
242
|
-
--pf-v5-c-menu-toggle--m-expanded--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--m-expanded--after--BorderBottomWidth);
|
243
|
-
--pf-v5-c-menu-toggle--hover--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--hover--after--BorderBottomWidth);
|
244
|
-
--pf-v5-c-menu-toggle--focus--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--focus--after--BorderBottomWidth);
|
245
|
-
--pf-v5-c-menu-toggle--active--after--BorderBottomWidth: var(--pf-v5-c-menu-toggle--m-full-height--active--after--BorderBottomWidth);
|
246
|
-
height: 100%;
|
247
|
-
}
|
248
250
|
.pf-v5-c-menu-toggle.pf-m-typeahead {
|
249
251
|
--pf-v5-c-menu-toggle__button__controls--MarginRight: var(--pf-v5-c-menu-toggle--m-typeahead__controls--MarginRight);
|
250
252
|
--pf-v5-c-menu-toggle__button__controls--MarginLeft: var(--pf-v5-c-menu-toggle--m-typeahead__controls--MarginLeft);
|
@@ -419,6 +421,6 @@
|
|
419
421
|
--pf-v5-c-menu-toggle--m-split-button--child--disabled--Color: var(--pf-v5-global--disabled-color--300);
|
420
422
|
--pf-v5-c-menu-toggle--m-split-button--child--disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
421
423
|
}
|
422
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-menu-toggle.pf-m-plain {
|
424
|
+
:where(.pf-v5-theme-dark) .pf-v5-c-menu-toggle.pf-m-plain, :where(.pf-v5-theme-dark) .pf-v5-c-menu-toggle.pf-m-full-height {
|
423
425
|
background: transparent;
|
424
426
|
}
|
@@ -14,8 +14,8 @@ declare const _default: {
|
|
14
14
|
"expanded": "pf-m-expanded",
|
15
15
|
"plain": "pf-m-plain",
|
16
16
|
"text": "pf-m-text",
|
17
|
-
"disabled": "pf-m-disabled",
|
18
17
|
"fullHeight": "pf-m-full-height",
|
18
|
+
"disabled": "pf-m-disabled",
|
19
19
|
"typeahead": "pf-m-typeahead",
|
20
20
|
"splitButton": "pf-m-split-button",
|
21
21
|
"action": "pf-m-action",
|
@@ -16,8 +16,8 @@ exports.default = {
|
|
16
16
|
"expanded": "pf-m-expanded",
|
17
17
|
"plain": "pf-m-plain",
|
18
18
|
"text": "pf-m-text",
|
19
|
-
"disabled": "pf-m-disabled",
|
20
19
|
"fullHeight": "pf-m-full-height",
|
20
|
+
"disabled": "pf-m-disabled",
|
21
21
|
"typeahead": "pf-m-typeahead",
|
22
22
|
"splitButton": "pf-m-split-button",
|
23
23
|
"action": "pf-m-action",
|
@@ -14,8 +14,8 @@ export default {
|
|
14
14
|
"expanded": "pf-m-expanded",
|
15
15
|
"plain": "pf-m-plain",
|
16
16
|
"text": "pf-m-text",
|
17
|
-
"disabled": "pf-m-disabled",
|
18
17
|
"fullHeight": "pf-m-full-height",
|
18
|
+
"disabled": "pf-m-disabled",
|
19
19
|
"typeahead": "pf-m-typeahead",
|
20
20
|
"splitButton": "pf-m-split-button",
|
21
21
|
"action": "pf-m-action",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "5.0.0-prerelease.
|
3
|
+
"version": "5.0.0-prerelease.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-prerelease.
|
22
|
+
"@patternfly/patternfly": "5.0.0-prerelease.3",
|
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": "719eebba5d65e5bc2c7075a4ff5057276c62f0c0"
|
33
33
|
}
|