@patternfly/react-styles 4.41.6 → 4.42.0
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/CHANGELOG.md +11 -0
- package/css/components/Dropdown/dropdown.css +5 -0
- package/css/components/Masthead/masthead.css +12 -6
- package/css/components/Masthead/masthead.d.ts +3 -0
- package/css/components/Masthead/masthead.js +3 -0
- package/css/components/Table/table.css +8 -0
- package/css/components/Table/table.d.ts +3 -0
- package/css/components/Table/table.js +3 -0
- package/css/components/Toolbar/toolbar.css +6 -0
- package/css/components/Toolbar/toolbar.d.ts +1 -0
- package/css/components/Toolbar/toolbar.js +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# 4.42.0 (2022-01-20)
|
7
|
+
|
8
|
+
|
9
|
+
### Features
|
10
|
+
|
11
|
+
* **Truncate:** added Truncate component ([#6713](https://github.com/patternfly/patternfly-react/issues/6713)) ([c803b5d](https://github.com/patternfly/patternfly-react/commit/c803b5df3761f689172d79bbc71bc38623b0bf5a))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
## 4.41.6 (2022-01-20)
|
7
18
|
|
8
19
|
|
@@ -370,6 +370,10 @@
|
|
370
370
|
white-space: nowrap;
|
371
371
|
}
|
372
372
|
|
373
|
+
.pf-c-dropdown__toggle-text {
|
374
|
+
flex: 0 1 auto;
|
375
|
+
}
|
376
|
+
|
373
377
|
.pf-c-dropdown__toggle-icon {
|
374
378
|
margin-right: var(--pf-c-dropdown__toggle-icon--MarginRight);
|
375
379
|
margin-left: var(--pf-c-dropdown__toggle-icon--MarginLeft);
|
@@ -381,6 +385,7 @@
|
|
381
385
|
|
382
386
|
.pf-c-dropdown__toggle-image {
|
383
387
|
display: inline-flex;
|
388
|
+
flex-shrink: 0;
|
384
389
|
margin-top: var(--pf-c-dropdown__toggle-image--MarginTop);
|
385
390
|
margin-right: var(--pf-c-dropdown__toggle-image--MarginRight);
|
386
391
|
margin-bottom: var(--pf-c-dropdown__toggle-image--MarginBottom);
|
@@ -148,13 +148,8 @@
|
|
148
148
|
padding-left: var(--pf-c-masthead--PaddingLeft);
|
149
149
|
background-color: var(--pf-c-masthead--BackgroundColor);
|
150
150
|
}
|
151
|
-
@media screen and (min-width: 1200px) {
|
152
|
-
.pf-c-masthead {
|
153
|
-
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
154
|
-
}
|
155
|
-
}
|
156
151
|
@media screen and (min-width: 768px) {
|
157
|
-
.pf-c-masthead {
|
152
|
+
.pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
|
158
153
|
--pf-c-masthead--GridTemplateColumns: var(--pf-c-masthead--m-display-inline--GridTemplateColumns);
|
159
154
|
--pf-c-masthead__main--GridColumn: var(--pf-c-masthead--m-display-inline__main--GridColumn);
|
160
155
|
--pf-c-masthead__main--MinHeight: var(--pf-c-masthead--m-display-inline__main--MinHeight);
|
@@ -174,6 +169,14 @@
|
|
174
169
|
--pf-c-masthead__content--c-nav--m-horizontal--MarginLeft: var(--pf-c-masthead--m-display-inline__content--c-nav--m-horizontal--MarginLeft);
|
175
170
|
}
|
176
171
|
}
|
172
|
+
@media screen and (min-width: 1200px) {
|
173
|
+
.pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
|
174
|
+
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
175
|
+
}
|
176
|
+
}
|
177
|
+
.pf-c-page:where(.pf-m-breakpoint-xl) .pf-c-masthead {
|
178
|
+
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
179
|
+
}
|
177
180
|
.pf-c-masthead.pf-m-light {
|
178
181
|
color: var(--pf-global--Color--100);
|
179
182
|
--pf-c-masthead--BackgroundColor: var(--pf-c-masthead--m-light--BackgroundColor);
|
@@ -230,6 +233,9 @@
|
|
230
233
|
--pf-c-dropdown__toggle--before--BorderRightColor: var(--pf-c-masthead--c-dropdown--m-full-height__toggle--before--BorderRightColor);
|
231
234
|
--pf-c-dropdown__toggle--before--BorderLeftColor: var(--pf-c-masthead--c-dropdown--m-full-height__toggle--before--BorderLeftColor);
|
232
235
|
}
|
236
|
+
.pf-c-masthead .pf-c-nav {
|
237
|
+
align-self: stretch;
|
238
|
+
}
|
233
239
|
|
234
240
|
.pf-c-masthead__main {
|
235
241
|
position: relative;
|
@@ -13,6 +13,8 @@ declare const _default: {
|
|
13
13
|
"modifiers": {
|
14
14
|
"light_200": "pf-m-light-200",
|
15
15
|
"light": "pf-m-light",
|
16
|
+
"resizeObserver": "pf-m-resize-observer",
|
17
|
+
"breakpointXl": "pf-m-breakpoint-xl",
|
16
18
|
"fullHeight": "pf-m-full-height",
|
17
19
|
"horizontal": "pf-m-horizontal",
|
18
20
|
"displayStack": "pf-m-display-stack",
|
@@ -65,6 +67,7 @@ declare const _default: {
|
|
65
67
|
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl"
|
66
68
|
},
|
67
69
|
"nav": "pf-c-nav",
|
70
|
+
"page": "pf-c-page",
|
68
71
|
"toolbar": "pf-c-toolbar",
|
69
72
|
"toolbarContentSection": "pf-c-toolbar__content-section",
|
70
73
|
"toolbarExpandableContent": "pf-c-toolbar__expandable-content"
|
@@ -15,6 +15,8 @@ exports.default = {
|
|
15
15
|
"modifiers": {
|
16
16
|
"light_200": "pf-m-light-200",
|
17
17
|
"light": "pf-m-light",
|
18
|
+
"resizeObserver": "pf-m-resize-observer",
|
19
|
+
"breakpointXl": "pf-m-breakpoint-xl",
|
18
20
|
"fullHeight": "pf-m-full-height",
|
19
21
|
"horizontal": "pf-m-horizontal",
|
20
22
|
"displayStack": "pf-m-display-stack",
|
@@ -67,6 +69,7 @@ exports.default = {
|
|
67
69
|
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl"
|
68
70
|
},
|
69
71
|
"nav": "pf-c-nav",
|
72
|
+
"page": "pf-c-page",
|
70
73
|
"toolbar": "pf-c-toolbar",
|
71
74
|
"toolbarContentSection": "pf-c-toolbar__content-section",
|
72
75
|
"toolbarExpandableContent": "pf-c-toolbar__expandable-content"
|
@@ -275,6 +275,7 @@
|
|
275
275
|
--pf-c-table--thead--m-nested-column-header--tr--PaddingTop: var(--pf-global--spacer--xs);
|
276
276
|
--pf-c-table--thead--m-nested-column-header--tr--PaddingBottom: var(--pf-global--spacer--xs);
|
277
277
|
--pf-c-table__subhead--Color: var(--pf-global--Color--200);
|
278
|
+
--pf-c-table--m-striped__tr--BackgroundColor: var(--pf-global--BackgroundColor--light-200);
|
278
279
|
color: var(--pf-global--Color--100);
|
279
280
|
width: 100%;
|
280
281
|
background-color: var(--pf-c-table--BackgroundColor);
|
@@ -316,6 +317,13 @@
|
|
316
317
|
content: "";
|
317
318
|
border-bottom: var(--pf-c-table--border-width--base) solid var(--pf-c-table--BorderColor);
|
318
319
|
}
|
320
|
+
.pf-c-table.pf-m-striped:not(.pf-m-expandable) > tbody > tr:nth-child(odd), .pf-c-table.pf-m-striped.pf-m-expandable > tbody:nth-of-type(odd) > tr:not(.pf-c-table__expandable-row),
|
321
|
+
.pf-c-table > .pf-m-striped > tr:nth-child(odd),
|
322
|
+
.pf-c-table > .pf-m-striped-even > tr:nth-child(even),
|
323
|
+
.pf-c-table tr.pf-m-striped {
|
324
|
+
--pf-c-table__sticky-column--BackgroundColor: var(--pf-c-table--m-striped__tr--BackgroundColor);
|
325
|
+
background: var(--pf-c-table--m-striped__tr--BackgroundColor);
|
326
|
+
}
|
319
327
|
.pf-c-table tr:not(.pf-c-table__expandable-row) {
|
320
328
|
border-bottom: var(--pf-c-table--border-width--base) solid var(--pf-c-table--BorderColor);
|
321
329
|
}
|
@@ -15,6 +15,9 @@ declare const _default: {
|
|
15
15
|
"visibleOn_2xl": "pf-m-visible-on-2xl",
|
16
16
|
"fixed": "pf-m-fixed",
|
17
17
|
"stickyHeader": "pf-m-sticky-header",
|
18
|
+
"striped": "pf-m-striped",
|
19
|
+
"expandable": "pf-m-expandable",
|
20
|
+
"stripedEven": "pf-m-striped-even",
|
18
21
|
"ghostRow": "pf-m-ghost-row",
|
19
22
|
"center": "pf-m-center",
|
20
23
|
"help": "pf-m-help",
|
@@ -17,6 +17,9 @@ exports.default = {
|
|
17
17
|
"visibleOn_2xl": "pf-m-visible-on-2xl",
|
18
18
|
"fixed": "pf-m-fixed",
|
19
19
|
"stickyHeader": "pf-m-sticky-header",
|
20
|
+
"striped": "pf-m-striped",
|
21
|
+
"expandable": "pf-m-expandable",
|
22
|
+
"stripedEven": "pf-m-striped-even",
|
20
23
|
"ghostRow": "pf-m-ghost-row",
|
21
24
|
"center": "pf-m-center",
|
22
25
|
"help": "pf-m-help",
|
@@ -324,6 +324,12 @@
|
|
324
324
|
--pf-c-toolbar--spacer: 0;
|
325
325
|
}
|
326
326
|
|
327
|
+
.pf-c-toolbar__group.pf-m-overflow-container,
|
328
|
+
.pf-c-toolbar__item.pf-m-overflow-container {
|
329
|
+
flex: 1;
|
330
|
+
overflow: hidden;
|
331
|
+
}
|
332
|
+
|
327
333
|
.pf-c-toolbar__expand-all-icon {
|
328
334
|
display: inline-block;
|
329
335
|
transition: var(--pf-c-toolbar__expand-all-icon--Transition);
|
@@ -32,6 +32,7 @@ declare const _default: {
|
|
32
32
|
"chipGroup": "pf-m-chip-group",
|
33
33
|
"label": "pf-m-label",
|
34
34
|
"pagination": "pf-m-pagination",
|
35
|
+
"overflowContainer": "pf-m-overflow-container",
|
35
36
|
"chipContainer": "pf-m-chip-container",
|
36
37
|
"plain": "pf-m-plain",
|
37
38
|
"show": "pf-m-show",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.42.0",
|
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": "4.
|
22
|
+
"@patternfly/patternfly": "4.171.0",
|
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.0.0"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "a41d19dbc31279e77a47110886e4d6173c3b7d96"
|
33
33
|
}
|