@patternfly/patternfly 4.168.0 → 4.171.1
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/RELEASE-NOTES.md +41 -1
- package/components/ContextSelector/context-selector.css +7 -2
- package/components/ContextSelector/context-selector.scss +16 -11
- package/components/Dropdown/dropdown.css +12 -0
- package/components/Dropdown/dropdown.scss +11 -0
- package/components/Masthead/masthead.css +12 -6
- package/components/Masthead/masthead.scss +16 -5
- package/components/Menu/menu.css +1 -0
- package/components/Menu/menu.scss +1 -0
- package/components/MenuToggle/menu-toggle.css +13 -0
- package/components/MenuToggle/menu-toggle.scss +26 -12
- package/components/Nav/nav.css +2 -2
- package/components/Nav/nav.scss +4 -4
- package/components/OptionsMenu/options-menu.css +13 -2
- package/components/OptionsMenu/options-menu.scss +19 -7
- package/components/ProgressStepper/progress-stepper.css +2 -0
- package/components/ProgressStepper/progress-stepper.scss +2 -0
- package/components/Select/select.css +11 -0
- package/components/Select/select.scss +14 -0
- package/components/Sidebar/sidebar.css +1 -0
- package/components/Sidebar/sidebar.scss +1 -0
- package/components/Table/table-scrollable.css +2 -0
- package/components/Table/table-scrollable.scss +2 -0
- package/components/Table/table.css +1 -1
- package/components/Table/table.scss +1 -1
- package/components/Toolbar/toolbar.css +7 -0
- package/components/Toolbar/toolbar.scss +10 -0
- package/docs/components/BackToTop/examples/BackToTop.md +0 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +0 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +26 -1
- package/docs/components/Toolbar/examples/Toolbar.md +1 -0
- package/docs/demos/BackToTop/examples/BackToTop.md +0 -1
- package/docs/demos/JumpLinks/examples/JumpLinks.md +0 -1
- package/docs/demos/Masthead/examples/Masthead.md +865 -1
- package/package.json +1 -1
- package/patternfly-no-reset.css +84 -13
- package/patternfly.css +84 -13
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -80,6 +80,8 @@
|
|
|
80
80
|
--pf-c-progress-stepper__step-description--Color: var(--pf-global--Color--200);
|
|
81
81
|
--pf-c-progress-stepper__step-description--TextAlign: left;
|
|
82
82
|
--pf-c-progress-stepper--m-center__step-description--TextAlign: center;
|
|
83
|
+
--pf-c-progress-stepper--m-center__step-description--MarginRight: 0;
|
|
84
|
+
--pf-c-progress-stepper--m-center__step-description--MarginLeft: 0;
|
|
83
85
|
position: relative;
|
|
84
86
|
display: grid;
|
|
85
87
|
grid-auto-flow: var(--pf-c-progress-stepper--GridAutoFlow);
|
|
@@ -102,6 +102,8 @@
|
|
|
102
102
|
--pf-c-progress-stepper__step-description--Color: var(--pf-global--Color--200);
|
|
103
103
|
--pf-c-progress-stepper__step-description--TextAlign: left;
|
|
104
104
|
--pf-c-progress-stepper--m-center__step-description--TextAlign: center;
|
|
105
|
+
--pf-c-progress-stepper--m-center__step-description--MarginRight: 0;
|
|
106
|
+
--pf-c-progress-stepper--m-center__step-description--MarginLeft: 0;
|
|
105
107
|
|
|
106
108
|
position: relative;
|
|
107
109
|
display: grid;
|
|
@@ -80,6 +80,8 @@
|
|
|
80
80
|
--pf-c-select__toggle-arrow--MarginRight: var(--pf-global--spacer--sm);
|
|
81
81
|
--pf-c-select__toggle-arrow--with-clear--MarginLeft: var(--pf-global--spacer--sm);
|
|
82
82
|
--pf-c-select__toggle-arrow--m-top--m-expanded__toggle-arrow--Rotate: 180deg;
|
|
83
|
+
--pf-c-select--m-plain__toggle-arrow--Color: var(--pf-global--Color--200);
|
|
84
|
+
--pf-c-select--m-plain--hover__toggle-arrow--Color: var(--pf-global--Color--100);
|
|
83
85
|
--pf-c-select__toggle-clear--PaddingRight: var(--pf-global--spacer--sm);
|
|
84
86
|
--pf-c-select__toggle-clear--PaddingLeft: var(--pf-global--spacer--md);
|
|
85
87
|
--pf-c-select__toggle-clear--toggle-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
@@ -257,9 +259,15 @@
|
|
|
257
259
|
--pf-c-select__toggle--before--BorderBottomColor: var(--pf-c-select__toggle--m-expanded--before--BorderBottomColor);
|
|
258
260
|
--pf-c-select__toggle--before--BorderBottomWidth: var(--pf-c-select__toggle--m-expanded--before--BorderBottomWidth);
|
|
259
261
|
}
|
|
262
|
+
.pf-c-select__toggle.pf-m-plain {
|
|
263
|
+
--pf-c-select__toggle-arrow--Color: var(--pf-c-select--m-plain__toggle-arrow--Color);
|
|
264
|
+
}
|
|
260
265
|
.pf-c-select__toggle.pf-m-plain::before {
|
|
261
266
|
border-color: var(--pf-c-select__toggle--m-plain--before--BorderColor);
|
|
262
267
|
}
|
|
268
|
+
.pf-c-select__toggle.pf-m-plain:hover, .pf-c-select__toggle.pf-m-plain:active, .pf-c-select__toggle.pf-m-plain.pf-m-active, .pf-c-select__toggle.pf-m-plain:focus, .pf-c-select.pf-m-expanded > .pf-c-select__toggle.pf-m-plain {
|
|
269
|
+
--pf-c-select--m-plain__toggle-arrow--Color: var(--pf-c-select--m-plain--hover__toggle-arrow--Color);
|
|
270
|
+
}
|
|
263
271
|
.pf-c-select__toggle.pf-m-typeahead {
|
|
264
272
|
--pf-c-select__toggle--PaddingTop: 0;
|
|
265
273
|
--pf-c-select__toggle--PaddingRight: 0;
|
|
@@ -288,6 +296,9 @@
|
|
|
288
296
|
--pf-c-select__toggle-text--Color: var(--pf-c-select__toggle--m-placeholder__toggle-text--Color);
|
|
289
297
|
}
|
|
290
298
|
|
|
299
|
+
.pf-c-select__toggle-arrow {
|
|
300
|
+
color: var(--pf-c-select__toggle-arrow--Color, inherit);
|
|
301
|
+
}
|
|
291
302
|
* + .pf-c-select__toggle-arrow {
|
|
292
303
|
margin-right: var(--pf-c-select__toggle-arrow--MarginRight);
|
|
293
304
|
margin-left: var(--pf-c-select__toggle-arrow--MarginLeft);
|
|
@@ -95,6 +95,8 @@
|
|
|
95
95
|
--pf-c-select__toggle-arrow--MarginRight: var(--pf-global--spacer--sm);
|
|
96
96
|
--pf-c-select__toggle-arrow--with-clear--MarginLeft: var(--pf-global--spacer--sm);
|
|
97
97
|
--pf-c-select__toggle-arrow--m-top--m-expanded__toggle-arrow--Rotate: 180deg;
|
|
98
|
+
--pf-c-select--m-plain__toggle-arrow--Color: var(--pf-global--Color--200);
|
|
99
|
+
--pf-c-select--m-plain--hover__toggle-arrow--Color: var(--pf-global--Color--100);
|
|
98
100
|
|
|
99
101
|
// Toggle button
|
|
100
102
|
--pf-c-select__toggle-clear--PaddingRight: var(--pf-global--spacer--sm);
|
|
@@ -323,9 +325,19 @@
|
|
|
323
325
|
}
|
|
324
326
|
|
|
325
327
|
&.pf-m-plain {
|
|
328
|
+
--pf-c-select__toggle-arrow--Color: var(--pf-c-select--m-plain__toggle-arrow--Color);
|
|
329
|
+
|
|
326
330
|
&::before {
|
|
327
331
|
border-color: var(--pf-c-select__toggle--m-plain--before--BorderColor);
|
|
328
332
|
}
|
|
333
|
+
|
|
334
|
+
&:hover,
|
|
335
|
+
&:active,
|
|
336
|
+
&.pf-m-active,
|
|
337
|
+
&:focus,
|
|
338
|
+
.pf-c-select.pf-m-expanded > & {
|
|
339
|
+
--pf-c-select--m-plain__toggle-arrow--Color: var(--pf-c-select--m-plain--hover__toggle-arrow--Color);
|
|
340
|
+
}
|
|
329
341
|
}
|
|
330
342
|
|
|
331
343
|
&.pf-m-typeahead {
|
|
@@ -363,6 +375,8 @@
|
|
|
363
375
|
}
|
|
364
376
|
|
|
365
377
|
.pf-c-select__toggle-arrow {
|
|
378
|
+
color: var(--pf-c-select__toggle-arrow--Color, inherit);
|
|
379
|
+
|
|
366
380
|
* + & {
|
|
367
381
|
margin-right: var(--pf-c-select__toggle-arrow--MarginRight);
|
|
368
382
|
margin-left: var(--pf-c-select__toggle-arrow--MarginLeft);
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
--pf-c-sidebar--m-split__panel--Position: static;
|
|
22
22
|
--pf-c-sidebar--m-split__panel--Top: auto;
|
|
23
23
|
--pf-c-sidebar--m-split--m-panel-right__panel--Order: 1;
|
|
24
|
+
--pf-c-sidebar__panel--FlexBasis--base: auto;
|
|
24
25
|
--pf-c-sidebar__panel--BoxShadow--base: 0 0.25rem 0.25rem -0.25rem rgba(3, 3, 3, 0.16);
|
|
25
26
|
--pf-c-sidebar__panel--BoxShadow: var(--pf-c-sidebar__panel--BoxShadow--base);
|
|
26
27
|
--pf-c-sidebar__panel--Top: 0;
|
|
@@ -37,6 +37,7 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
37
37
|
--pf-c-sidebar--m-split--m-panel-right__panel--Order: 1;
|
|
38
38
|
|
|
39
39
|
// Panel
|
|
40
|
+
--pf-c-sidebar__panel--FlexBasis--base: auto;
|
|
40
41
|
--pf-c-sidebar__panel--BoxShadow--base: #{0 pf-size-prem(4px) pf-size-prem(4px) pf-size-prem(-4px) rgba($pf-color-black-1000, .16)}; // modified so the shadow is only visible on the bottom of the element
|
|
41
42
|
--pf-c-sidebar__panel--BoxShadow: var(--pf-c-sidebar__panel--BoxShadow--base);
|
|
42
43
|
--pf-c-sidebar__panel--Top: 0;
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
--pf-c-table__sticky-column--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
8
8
|
--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
9
9
|
--pf-c-table__sticky-column--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
10
|
+
--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
11
|
+
--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor: var(--pf-global--BorderColor--100);
|
|
10
12
|
--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex: calc(var(--pf-c-table__sticky-column--ZIndex) + 1);
|
|
11
13
|
}
|
|
12
14
|
.pf-c-table .pf-c-table__sticky-column {
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
--pf-c-table__sticky-column--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
8
8
|
--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
9
9
|
--pf-c-table__sticky-column--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
10
|
+
--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
11
|
+
--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor: var(--pf-global--BorderColor--100);
|
|
10
12
|
--pf-c-table--m-sticky-header--thead__sticky-column--ZIndex: calc(var(--pf-c-table__sticky-column--ZIndex) + 1);
|
|
11
13
|
|
|
12
14
|
.pf-c-table__sticky-column {
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
border-right: var(--pf-c-table--cell--m-border-right--before--BorderRightWidth) solid var(--pf-c-table--cell--m-border-right--before--BorderRightColor);
|
|
383
383
|
}
|
|
384
384
|
.pf-c-table tr > *.pf-m-border-left::before {
|
|
385
|
-
border-left: var(--pf-c-table--cell--m-border-
|
|
385
|
+
border-left: var(--pf-c-table--cell--m-border-left--before--BorderLeftWidth) solid var(--pf-c-table--cell--m-border-left--before--BorderLeftColor);
|
|
386
386
|
}
|
|
387
387
|
.pf-c-table caption {
|
|
388
388
|
padding-top: var(--pf-c-table-caption--PaddingTop);
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
&.pf-m-border-left::before {
|
|
443
|
-
border-left: var(--pf-c-table--cell--m-border-
|
|
443
|
+
border-left: var(--pf-c-table--cell--m-border-left--before--BorderLeftWidth) solid var(--pf-c-table--cell--m-border-left--before--BorderLeftColor);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
--pf-c-toolbar--PaddingTop: var(--pf-global--spacer--md);
|
|
69
69
|
--pf-c-toolbar--PaddingBottom: var(--pf-global--spacer--md);
|
|
70
70
|
--pf-c-toolbar__item--Display: block;
|
|
71
|
+
--pf-c-toolbar__item--MinWidth--base: auto;
|
|
71
72
|
--pf-c-toolbar__group--Display: flex;
|
|
72
73
|
--pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);
|
|
73
74
|
--pf-c-toolbar--m-sticky--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);
|
|
@@ -324,6 +325,12 @@
|
|
|
324
325
|
--pf-c-toolbar--spacer: 0;
|
|
325
326
|
}
|
|
326
327
|
|
|
328
|
+
.pf-c-toolbar__group.pf-m-overflow-container,
|
|
329
|
+
.pf-c-toolbar__item.pf-m-overflow-container {
|
|
330
|
+
flex: 1;
|
|
331
|
+
overflow: hidden;
|
|
332
|
+
}
|
|
333
|
+
|
|
327
334
|
.pf-c-toolbar__expand-all-icon {
|
|
328
335
|
display: inline-block;
|
|
329
336
|
transition: var(--pf-c-toolbar__expand-all-icon--Transition);
|
|
@@ -12,6 +12,7 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
12
12
|
|
|
13
13
|
// Item
|
|
14
14
|
--pf-c-toolbar__item--Display: block;
|
|
15
|
+
--pf-c-toolbar__item--MinWidth--base: auto;
|
|
15
16
|
|
|
16
17
|
// Group
|
|
17
18
|
--pf-c-toolbar__group--Display: flex;
|
|
@@ -322,6 +323,15 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
325
|
|
|
326
|
+
.pf-c-toolbar__group,
|
|
327
|
+
.pf-c-toolbar__item {
|
|
328
|
+
&.pf-m-overflow-container {
|
|
329
|
+
flex: 1;
|
|
330
|
+
overflow: hidden;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
325
335
|
.pf-c-toolbar__expand-all-icon {
|
|
326
336
|
display: inline-block;
|
|
327
337
|
transition: var(--pf-c-toolbar__expand-all-icon--Transition);
|
|
@@ -33,8 +33,8 @@ cssPrefix: pf-c-text-input-group
|
|
|
33
33
|
class="pf-c-text-input-group__text-input"
|
|
34
34
|
type="text"
|
|
35
35
|
value="Disabled"
|
|
36
|
-
aria-label="Disabled text input group example input"
|
|
37
36
|
disabled
|
|
37
|
+
aria-label="Type to filter"
|
|
38
38
|
/>
|
|
39
39
|
</span>
|
|
40
40
|
</div>
|
|
@@ -490,3 +490,28 @@ cssPrefix: pf-c-text-input-group
|
|
|
490
490
|
</div>
|
|
491
491
|
|
|
492
492
|
```
|
|
493
|
+
|
|
494
|
+
### Autocomplete last option hint
|
|
495
|
+
|
|
496
|
+
```html
|
|
497
|
+
<div class="pf-c-text-input-group">
|
|
498
|
+
<div class="pf-c-text-input-group__main">
|
|
499
|
+
<span class="pf-c-text-input-group__text">
|
|
500
|
+
<input
|
|
501
|
+
class="pf-c-text-input-group__text-input pf-m-hint"
|
|
502
|
+
type="text"
|
|
503
|
+
value="appleseed"
|
|
504
|
+
disabled
|
|
505
|
+
aria-hidden="true"
|
|
506
|
+
/>
|
|
507
|
+
<input
|
|
508
|
+
class="pf-c-text-input-group__text-input"
|
|
509
|
+
type="text"
|
|
510
|
+
value="apples"
|
|
511
|
+
aria-label="Type to filter"
|
|
512
|
+
/>
|
|
513
|
+
</span>
|
|
514
|
+
</div>
|
|
515
|
+
</div>
|
|
516
|
+
|
|
517
|
+
```
|
|
@@ -4100,6 +4100,7 @@ As the toolbar component is a hybrid layout and component, some of its elements
|
|
|
4100
4100
|
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-c-toolbar > *` | Modifies toolbar element to align left, at optional breakpoint. |
|
|
4101
4101
|
| `.pf-m-label` | `.pf-c-toolbar__item` | Modifies toolbar item to label. |
|
|
4102
4102
|
| `.pf-m-chip-container` | `.pf-c-toolbar__content`, `.pf-c-toolbar__group` | Modifies the toolbar element for applied filters layout. |
|
|
4103
|
+
| `.pf-m-overflow-container` | `.pf-c-toolbar__item`, `.pf-c-toolbar__group` | Modifies the toolbar element to hide overflow and respond to available space. Used for horizontal navigation. |
|
|
4103
4104
|
| `.pf-m-expanded` | `.pf-c-toolbar__expandable-content`, `.pf-c-toolbar__toggle` | Modifies the component for the expanded state. |
|
|
4104
4105
|
| `.pf-m-wrap` | `.pf-c-toolbar`, `.pf-c-toolbar__content-section`, `.pf-c-toolbar__group` | Modifies the toolbar element to wrap. |
|
|
4105
4106
|
| `.pf-m-nowrap` | `.pf-c-toolbar`, `.pf-c-toolbar__group` | Modifies the toolbar element to nowrap. |
|