@patternfly/patternfly 4.206.1 → 4.207.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.
Files changed (62) hide show
  1. package/RELEASE-NOTES.md +41 -0
  2. package/components/Button/button.css +20 -0
  3. package/components/Button/button.scss +23 -0
  4. package/components/Button/themes/dark/button.scss +1 -0
  5. package/components/Check/check.css +9 -0
  6. package/components/Check/check.scss +11 -0
  7. package/components/ContextSelector/context-selector.css +6 -0
  8. package/components/ContextSelector/context-selector.scss +7 -1
  9. package/components/Dropdown/dropdown.css +6 -0
  10. package/components/Dropdown/dropdown.scss +7 -0
  11. package/components/ExpandableSection/expandable-section.css +18 -1
  12. package/components/ExpandableSection/expandable-section.scss +25 -1
  13. package/components/InputGroup/input-group.css +3 -0
  14. package/components/InputGroup/input-group.scss +4 -0
  15. package/components/Masthead/masthead.css +6 -3
  16. package/components/Masthead/masthead.scss +4 -0
  17. package/components/Menu/menu.css +0 -4
  18. package/components/Menu/menu.scss +0 -4
  19. package/components/Page/page.css +50 -0
  20. package/components/Page/page.scss +20 -6
  21. package/components/Select/select.css +6 -0
  22. package/components/Select/select.scss +7 -0
  23. package/components/Wizard/themes/dark/wizard.scss +2 -2
  24. package/components/Wizard/wizard.css +2 -2
  25. package/docs/components/Avatar/examples/Avatar.md +10 -10
  26. package/docs/components/Button/examples/Button.md +19 -0
  27. package/docs/components/Card/examples/Card.css +3 -3
  28. package/docs/components/Check/examples/Check.md +33 -12
  29. package/docs/components/CodeBlock/examples/CodeBlock.md +8 -6
  30. package/docs/components/Dropdown/examples/Dropdown.md +2 -1
  31. package/docs/components/ExpandableSection/examples/ExpandableSection.md +51 -13
  32. package/docs/components/InputGroup/examples/InputGroup.md +1 -0
  33. package/docs/components/Masthead/examples/masthead.md +5 -6
  34. package/docs/components/MenuToggle/examples/MenuToggle.md +6 -6
  35. package/docs/components/TextInputGroup/examples/TextInputGroup.md +38 -0
  36. package/docs/demos/AboutModal/examples/AboutModal.md +1 -1
  37. package/docs/demos/Alert/examples/Alert.md +3 -3
  38. package/docs/demos/BackToTop/examples/BackToTop.md +1 -1
  39. package/docs/demos/Banner/examples/Banner.md +2 -2
  40. package/docs/demos/CardView/examples/CardView.md +1 -1
  41. package/docs/demos/ContextSelector/examples/ContextSelector.md +3 -3
  42. package/docs/demos/Dashboard/examples/Dashboard.md +1 -1
  43. package/docs/demos/DataList/examples/DataList.md +4 -4
  44. package/docs/demos/DescriptionList/examples/DescriptionList.md +3 -3
  45. package/docs/demos/Drawer/examples/Drawer.md +5 -5
  46. package/docs/demos/JumpLinks/examples/JumpLinks.md +6 -6
  47. package/docs/demos/Masthead/examples/Masthead.md +388 -2
  48. package/docs/demos/Modal/examples/Modal.md +6 -6
  49. package/docs/demos/Nav/examples/Nav.md +8 -8
  50. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -5
  51. package/docs/demos/Page/examples/Page.md +8 -8
  52. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +7 -7
  53. package/docs/demos/Skeleton/examples/Skeleton.md +1 -1
  54. package/docs/demos/Table/examples/Table.md +14 -14
  55. package/docs/demos/Tabs/examples/Tabs.md +8 -8
  56. package/docs/demos/Toolbar/examples/Toolbar.md +1 -1
  57. package/docs/demos/Wizard/examples/Wizard.md +8 -8
  58. package/package.json +1 -1
  59. package/patternfly-no-reset.css +126 -10
  60. package/patternfly.css +126 -10
  61. package/patternfly.min.css +1 -1
  62. package/patternfly.min.css.map +1 -1
package/RELEASE-NOTES.md CHANGED
@@ -3,6 +3,47 @@ id: Release notes
3
3
  section: developer-resources
4
4
  releaseNoteTOC: true
5
5
  ---
6
+ ## 2022.10 release notes (2022-08-04)
7
+ Packages released:
8
+ - [@patternfly/patternfly@v4.206.3](https://www.npmjs.com/package/@patternfly/patternfly/v/4.206.3)
9
+
10
+ ### Components
11
+ - **Description list:** Removed dl group mod in examples ([#4993](https://github.com/patternfly/patternfly/pull/4993))
12
+ - **Drawer:**
13
+ - Fixed sticky page sections when in drawer ([#4971](https://github.com/patternfly/patternfly/pull/4971))
14
+ - Fixed broken var names ([#4950](https://github.com/patternfly/patternfly/pull/4950))
15
+ - **Form control:** Fixed disabled text color ([#4988](https://github.com/patternfly/patternfly/pull/4988))
16
+ - **Menu:**
17
+ - Adjusted group title text ([#4917](https://github.com/patternfly/patternfly/pull/4917))
18
+ - Fixed non-visible drilldown submenu VO issue ([#4980](https://github.com/patternfly/patternfly/pull/4980))
19
+ - **Number input:** Added support for status icon ([#4983](https://github.com/patternfly/patternfly/pull/4983))
20
+ - **Page:** Fixed sticky-on section padding ([#5011](https://github.com/patternfly/patternfly/pull/5011))
21
+ - **Popover:** Aligned edge of close button icon with content ([#4998](https://github.com/patternfly/patternfly/pull/4998))
22
+ - **Sidebar:** Added light/dark theme border, remove desktop shadow ([#4938](https://github.com/patternfly/patternfly/pull/4938))
23
+ - **Table:**
24
+ - Added aria-hidden to table border row ([#4923](https://github.com/patternfly/patternfly/pull/4923))
25
+ - Removed truncate from sticky hrs ([#4981](https://github.com/patternfly/patternfly/pull/4981))
26
+ - **Tabs:** Added overflow variation for horiz overflow variation ([#5005](https://github.com/patternfly/patternfly/pull/5005))
27
+ - **Timestamp:** Added component ([#4996](https://github.com/patternfly/patternfly/pull/4996))
28
+ - **Tree view:**
29
+ - Added selectable/expandable, improved click areas ([#4869](https://github.com/patternfly/patternfly/pull/4869))
30
+ - Fixed selectable/expandable node bugs ([#4991](https://github.com/patternfly/patternfly/pull/4991))
31
+
32
+ ### Other
33
+ - **Build:**
34
+ - Update docs framework ([#4934](https://github.com/patternfly/patternfly/pull/4934))
35
+ - Updated github workflow to publish docs before a11y tests ([#4967](https://github.com/patternfly/patternfly/pull/4967))
36
+ - Enable a11y attr check, update modal and popover docs ([#4977](https://github.com/patternfly/patternfly/pull/4977))
37
+ - **Global:**
38
+ - Added full height/absolute mods for screen reader class ([#4888](https://github.com/patternfly/patternfly/pull/4888))
39
+ - Updated dark theme visited link color ([#4964](https://github.com/patternfly/patternfly/pull/4964))
40
+ - **Workspace:**
41
+ - Fixed duplicate IDs in example docs ([#4928](https://github.com/patternfly/patternfly/pull/4928))
42
+ - Enabled dark theme switch ([#4937](https://github.com/patternfly/patternfly/pull/4937))
43
+ - Removed react css imports ([#4953](https://github.com/patternfly/patternfly/pull/4953))
44
+ - **Utilities:** Adjusted utility colors in dark theme ([#4933](https://github.com/patternfly/patternfly/pull/4933))
45
+
46
+
6
47
  ## 2022.08 release notes (2022-06-24)
7
48
  Packages released:
8
49
  - [@patternfly/patternfly@v4.202.1](https://www.npmjs.com/package/@patternfly/patternfly/v/4.202.1)
@@ -156,6 +156,11 @@
156
156
  --pf-c-button--m-in-progress--m-plain--Color: var(--pf-global--primary-color--100);
157
157
  --pf-c-button--m-in-progress--m-plain__progress--Left: 50%;
158
158
  --pf-c-button--m-in-progress--m-plain__progress--TranslateX: -50%;
159
+ --pf-c-button__count--MarginLeft: var(--pf-global--spacer--sm);
160
+ --pf-c-button--disabled__c-badge--Color: var(--pf-global--Color--dark-100);
161
+ --pf-c-button--disabled__c-badge--BackgroundColor: var(--pf-global--BackgroundColor--200);
162
+ --pf-c-button--m-primary__c-badge--BorderColor: var(--pf-global--BorderColor--300);
163
+ --pf-c-button--m-primary__c-badge--BorderWidth: var(--pf-global--BorderWidth--sm);
159
164
  position: relative;
160
165
  display: inline-block;
161
166
  padding: var(--pf-c-button--PaddingTop) var(--pf-c-button--PaddingRight) var(--pf-c-button--PaddingBottom) var(--pf-c-button--PaddingLeft);
@@ -220,6 +225,9 @@
220
225
  --pf-c-button--m-primary--Color: var(--pf-c-button--m-primary--active--Color);
221
226
  --pf-c-button--m-primary--BackgroundColor: var(--pf-c-button--m-primary--active--BackgroundColor);
222
227
  }
228
+ .pf-c-button.pf-m-primary .pf-c-badge.pf-m-unread {
229
+ border: var(--pf-c-button--m-primary__c-badge--BorderWidth) solid var(--pf-c-button--m-primary__c-badge--BorderColor);
230
+ }
223
231
  .pf-c-button.pf-m-secondary {
224
232
  --pf-c-button--after--BorderColor: var(--pf-c-button--m-secondary--after--BorderColor);
225
233
  color: var(--pf-c-button--m-secondary--Color);
@@ -431,6 +439,11 @@
431
439
  .pf-c-button:disabled::after, .pf-c-button.pf-m-disabled::after, .pf-c-button.pf-m-aria-disabled::after {
432
440
  border-color: var(--pf-c-button--disabled--after--BorderColor);
433
441
  }
442
+ .pf-c-button:disabled .pf-c-badge, .pf-c-button.pf-m-disabled .pf-c-badge, .pf-c-button.pf-m-aria-disabled .pf-c-badge {
443
+ --pf-c-badge--m-unread--Color: var(--pf-c-button--disabled__c-badge--Color);
444
+ --pf-c-badge--m-unread--BackgroundColor: var(--pf-c-button--disabled__c-badge--BackgroundColor);
445
+ --pf-c-button--m-primary__c-badge--BorderWidth: 0;
446
+ }
434
447
  .pf-c-button.pf-m-aria-disabled {
435
448
  --pf-c-button--after--BorderWidth: 0;
436
449
  --pf-c-button--m-link--m-inline--hover--TextDecoration: none;
@@ -472,6 +485,12 @@
472
485
  --pf-c-spinner--Color: currentcolor;
473
486
  }
474
487
 
488
+ .pf-c-button__count {
489
+ display: inline-flex;
490
+ align-items: center;
491
+ margin-left: var(--pf-c-button__count--MarginLeft);
492
+ }
493
+
475
494
  .pf-m-overpass-font .pf-c-button {
476
495
  --pf-c-button--FontWeight: var(--pf-global--FontWeight--semi-bold);
477
496
  }
@@ -508,6 +527,7 @@
508
527
  --pf-c-button--m-control--focus--after--BorderBottomColor: var(--pf-global--primary-color--100);
509
528
  --pf-c-button--m-control--m-expanded--after--BorderBottomColor: var(--pf-global--primary-color--100);
510
529
  --pf-c-button--m-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
530
+ --pf-c-button--m-primary__c-badge--BorderColor: var(--pf-global--Color--100);
511
531
  }
512
532
  :where(.pf-theme-dark) .pf-c-button.pf-m-control:disabled::after {
513
533
  border: 0;
@@ -192,6 +192,13 @@
192
192
  --pf-c-button--m-in-progress--m-plain__progress--Left: 50%;
193
193
  --pf-c-button--m-in-progress--m-plain__progress--TranslateX: -50%;
194
194
 
195
+ // Count
196
+ --pf-c-button__count--MarginLeft: var(--pf-global--spacer--sm);
197
+ --pf-c-button--disabled__c-badge--Color: var(--pf-global--Color--dark-100);
198
+ --pf-c-button--disabled__c-badge--BackgroundColor: var(--pf-global--BackgroundColor--200);
199
+ --pf-c-button--m-primary__c-badge--BorderColor: var(--pf-global--BorderColor--300);
200
+ --pf-c-button--m-primary__c-badge--BorderWidth: var(--pf-global--BorderWidth--sm); // used only for primary, unread, not disabled
201
+
195
202
  position: relative;
196
203
  display: inline-block;
197
204
  padding: var(--pf-c-button--PaddingTop) var(--pf-c-button--PaddingRight) var(--pf-c-button--PaddingBottom) var(--pf-c-button--PaddingLeft);
@@ -274,6 +281,10 @@
274
281
  --pf-c-button--m-primary--Color: var(--pf-c-button--m-primary--active--Color);
275
282
  --pf-c-button--m-primary--BackgroundColor: var(--pf-c-button--m-primary--active--BackgroundColor);
276
283
  }
284
+
285
+ .pf-c-badge.pf-m-unread {
286
+ border: var(--pf-c-button--m-primary__c-badge--BorderWidth) solid var(--pf-c-button--m-primary__c-badge--BorderColor);
287
+ }
277
288
  }
278
289
 
279
290
  // Secondary buttons
@@ -564,6 +575,12 @@
564
575
 
565
576
  color: var(--pf-c-button--disabled--Color);
566
577
  background-color: var(--pf-c-button--disabled--BackgroundColor);
578
+
579
+ .pf-c-badge {
580
+ --pf-c-badge--m-unread--Color: var(--pf-c-button--disabled__c-badge--Color);
581
+ --pf-c-badge--m-unread--BackgroundColor: var(--pf-c-button--disabled__c-badge--BackgroundColor);
582
+ --pf-c-button--m-primary__c-badge--BorderWidth: 0;
583
+ }
567
584
  }
568
585
 
569
586
  &.pf-m-aria-disabled {
@@ -620,6 +637,12 @@
620
637
  }
621
638
  }
622
639
 
640
+ .pf-c-button__count {
641
+ display: inline-flex;
642
+ align-items: center;
643
+ margin-left: var(--pf-c-button__count--MarginLeft);
644
+ }
645
+
623
646
  // RedHat Font overrides
624
647
  @include pf-m-overpass-font {
625
648
  .pf-c-button {
@@ -33,6 +33,7 @@
33
33
  --pf-c-button--m-control--focus--after--BorderBottomColor: var(--pf-global--primary-color--100);
34
34
  --pf-c-button--m-control--m-expanded--after--BorderBottomColor: var(--pf-global--primary-color--100);
35
35
  --pf-c-button--m-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
36
+ --pf-c-button--m-primary__c-badge--BorderColor: var(--pf-global--Color--100);
36
37
 
37
38
  &.pf-m-control:disabled {
38
39
  &::after {
@@ -10,6 +10,9 @@
10
10
  --pf-c-check__description--FontSize: var(--pf-global--FontSize--sm);
11
11
  --pf-c-check__description--Color: var(--pf-global--Color--200);
12
12
  --pf-c-check__body--MarginTop: var(--pf-global--spacer--sm);
13
+ --pf-c-check__label-required--MarginLeft: var(--pf-global--spacer--xs);
14
+ --pf-c-check__label-required--FontSize: var(--pf-global--FontSize--sm);
15
+ --pf-c-check__label-required--Color: var(--pf-global--danger-color--100);
13
16
  display: grid;
14
17
  grid-template-columns: auto 1fr;
15
18
  grid-gap: var(--pf-c-check--GridGap);
@@ -57,4 +60,10 @@ label.pf-c-check, .pf-c-check__label,
57
60
  .pf-c-check__input.pf-m-disabled {
58
61
  --pf-c-check__label--Color: var(--pf-c-check__label--disabled--Color);
59
62
  cursor: not-allowed;
63
+ }
64
+
65
+ .pf-c-check__label-required {
66
+ margin-left: var(--pf-c-check__label-required--MarginLeft);
67
+ font-size: var(--pf-c-check__label-required--FontSize);
68
+ color: var(--pf-c-check__label-required--Color);
60
69
  }
@@ -11,6 +11,11 @@
11
11
  --pf-c-check__description--Color: var(--pf-global--Color--200);
12
12
  --pf-c-check__body--MarginTop: var(--pf-global--spacer--sm);
13
13
 
14
+ // Required checkbox
15
+ --pf-c-check__label-required--MarginLeft: var(--pf-global--spacer--xs);
16
+ --pf-c-check__label-required--FontSize: var(--pf-global--FontSize--sm);
17
+ --pf-c-check__label-required--Color: var(--pf-global--danger-color--100);
18
+
14
19
  display: grid;
15
20
  grid-template-columns: auto 1fr;
16
21
  grid-gap: var(--pf-c-check--GridGap);
@@ -64,3 +69,9 @@
64
69
  cursor: not-allowed;
65
70
  }
66
71
  }
72
+
73
+ .pf-c-check__label-required {
74
+ margin-left: var(--pf-c-check__label-required--MarginLeft);
75
+ font-size: var(--pf-c-check__label-required--FontSize);
76
+ color: var(--pf-c-check__label-required--Color);
77
+ }
@@ -248,6 +248,12 @@
248
248
  background-clip: padding-box;
249
249
  box-shadow: var(--pf-c-context-selector__menu--BoxShadow);
250
250
  }
251
+ .pf-c-context-selector__menu.pf-m-static {
252
+ position: static;
253
+ top: auto;
254
+ z-index: auto;
255
+ min-width: min-content;
256
+ }
251
257
 
252
258
  .pf-c-context-selector__menu-search {
253
259
  position: relative;
@@ -65,7 +65,6 @@
65
65
  --pf-c-context-selector__menu-list--PaddingTop: var(--pf-c-context-selector__menu--PaddingTop); // reference spacer directly at breaking change
66
66
  --pf-c-context-selector__menu-list--PaddingBottom: var(--pf-global--spacer--sm);
67
67
 
68
-
69
68
  // Menu item
70
69
  --pf-c-context-selector__menu-list-item--Color: var(--pf-global--Color--dark-100);
71
70
  --pf-c-context-selector__menu-list-item--PaddingTop: var(--pf-global--spacer--sm);
@@ -299,6 +298,13 @@
299
298
  background-color: var(--pf-c-context-selector__menu--BackgroundColor);
300
299
  background-clip: padding-box;
301
300
  box-shadow: var(--pf-c-context-selector__menu--BoxShadow);
301
+
302
+ &.pf-m-static {
303
+ position: static;
304
+ top: auto;
305
+ z-index: auto;
306
+ min-width: min-content;
307
+ }
302
308
  }
303
309
 
304
310
  .pf-c-context-selector__menu-search {
@@ -469,6 +469,12 @@
469
469
  background-clip: padding-box;
470
470
  box-shadow: var(--pf-c-dropdown__menu--BoxShadow);
471
471
  }
472
+ .pf-c-dropdown__menu.pf-m-static {
473
+ position: static;
474
+ top: auto;
475
+ z-index: auto;
476
+ min-width: min-content;
477
+ }
472
478
 
473
479
  .pf-c-dropdown .pf-c-menu,
474
480
  .pf-c-dropdown__menu {
@@ -631,6 +631,13 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
631
631
  background: var(--pf-c-dropdown__menu--BackgroundColor);
632
632
  background-clip: padding-box;
633
633
  box-shadow: var(--pf-c-dropdown__menu--BoxShadow);
634
+
635
+ &.pf-m-static {
636
+ position: static;
637
+ top: auto;
638
+ z-index: auto;
639
+ min-width: min-content;
640
+ }
634
641
  }
635
642
 
636
643
  .pf-c-dropdown .pf-c-menu,
@@ -3,6 +3,7 @@
3
3
  --pf-c-expandable-section__toggle--PaddingRight: var(--pf-global--spacer--md);
4
4
  --pf-c-expandable-section__toggle--PaddingBottom: var(--pf-global--spacer--form-element);
5
5
  --pf-c-expandable-section__toggle--PaddingLeft: 0;
6
+ --pf-c-expandable-section__toggle--MarginTop: 0;
6
7
  --pf-c-expandable-section__toggle--Color: var(--pf-global--link--Color);
7
8
  --pf-c-expandable-section__toggle--hover--Color: var(--pf-global--link--Color--hover);
8
9
  --pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
@@ -32,6 +33,8 @@
32
33
  --pf-c-expandable-section--m-display-lg--after--Width: var(--pf-global--BorderWidth--lg);
33
34
  --pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
34
35
  --pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
36
+ --pf-c-expandable-section--m-truncate__content--LineClamp: 3;
37
+ --pf-c-expandable-section--m-truncate__toggle--MarginTop: var(--pf-global--spacer--xs);
35
38
  }
36
39
  .pf-c-expandable-section.pf-m-expanded {
37
40
  --pf-c-expandable-section__toggle--Color: var(--pf-c-expandable-section__toggle--m-expanded--Color);
@@ -39,7 +42,7 @@
39
42
  --pf-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
40
43
  --pf-c-expandable-section--m-display-lg--after--BackgroundColor: var(--pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor);
41
44
  }
42
- .pf-c-expandable-section.pf-m-detached {
45
+ .pf-c-expandable-section.pf-m-detached, .pf-c-expandable-section.pf-m-truncate {
43
46
  --pf-c-expandable-section__content--MarginTop: 0;
44
47
  }
45
48
  .pf-c-expandable-section.pf-m-limit-width {
@@ -69,10 +72,24 @@
69
72
  .pf-c-expandable-section.pf-m-indented {
70
73
  --pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
71
74
  }
75
+ .pf-c-expandable-section.pf-m-truncate {
76
+ --pf-c-expandable-section__toggle--MarginTop: var(--pf-c-expandable-section--m-truncate__toggle--MarginTop);
77
+ --pf-c-expandable-section__toggle--PaddingTop: 0;
78
+ --pf-c-expandable-section__toggle--PaddingRight: 0;
79
+ --pf-c-expandable-section__toggle--PaddingBottom: 0;
80
+ --pf-c-expandable-section__toggle-text--MarginLeft: 0;
81
+ }
82
+ .pf-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-c-expandable-section__content {
83
+ display: -webkit-box;
84
+ -webkit-box-orient: vertical;
85
+ -webkit-line-clamp: var(--pf-c-expandable-section--m-truncate__content--LineClamp);
86
+ overflow: hidden;
87
+ }
72
88
 
73
89
  .pf-c-expandable-section__toggle {
74
90
  display: flex;
75
91
  padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
92
+ margin-top: var(--pf-c-expandable-section__toggle--MarginTop);
76
93
  color: var(--pf-c-expandable-section__toggle--Color);
77
94
  border: none;
78
95
  }
@@ -4,6 +4,7 @@
4
4
  --pf-c-expandable-section__toggle--PaddingRight: var(--pf-global--spacer--md);
5
5
  --pf-c-expandable-section__toggle--PaddingBottom: var(--pf-global--spacer--form-element);
6
6
  --pf-c-expandable-section__toggle--PaddingLeft: 0;
7
+ --pf-c-expandable-section__toggle--MarginTop: 0;
7
8
  --pf-c-expandable-section__toggle--Color: var(--pf-global--link--Color);
8
9
  --pf-c-expandable-section__toggle--hover--Color: var(--pf-global--link--Color--hover);
9
10
  --pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
@@ -46,6 +47,10 @@
46
47
  // Indented
47
48
  --pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
48
49
 
50
+ // Truncate
51
+ --pf-c-expandable-section--m-truncate__content--LineClamp: 3;
52
+ --pf-c-expandable-section--m-truncate__toggle--MarginTop: var(--pf-global--spacer--xs);
53
+
49
54
 
50
55
  &.pf-m-expanded {
51
56
  --pf-c-expandable-section__toggle--Color: var(--pf-c-expandable-section__toggle--m-expanded--Color);
@@ -54,7 +59,8 @@
54
59
  --pf-c-expandable-section--m-display-lg--after--BackgroundColor: var(--pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor);
55
60
  }
56
61
 
57
- &.pf-m-detached {
62
+ &.pf-m-detached,
63
+ &.pf-m-truncate {
58
64
  --pf-c-expandable-section__content--MarginTop: 0;
59
65
  }
60
66
 
@@ -89,11 +95,29 @@
89
95
  &.pf-m-indented {
90
96
  --pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
91
97
  }
98
+
99
+ &.pf-m-truncate {
100
+ --pf-c-expandable-section__toggle--MarginTop: var(--pf-c-expandable-section--m-truncate__toggle--MarginTop);
101
+ --pf-c-expandable-section__toggle--PaddingTop: 0;
102
+ --pf-c-expandable-section__toggle--PaddingRight: 0;
103
+ --pf-c-expandable-section__toggle--PaddingBottom: 0;
104
+ --pf-c-expandable-section__toggle-text--MarginLeft: 0;
105
+
106
+ &:not(.pf-m-expanded) .pf-c-expandable-section__content {
107
+ // stylelint-disable
108
+ display: -webkit-box;
109
+ -webkit-box-orient: vertical;
110
+ -webkit-line-clamp: var(--pf-c-expandable-section--m-truncate__content--LineClamp);
111
+ // stylelint-enable
112
+ overflow: hidden;
113
+ }
114
+ }
92
115
  }
93
116
 
94
117
  .pf-c-expandable-section__toggle {
95
118
  display: flex;
96
119
  padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
120
+ margin-top: var(--pf-c-expandable-section__toggle--MarginTop);
97
121
  color: var(--pf-c-expandable-section__toggle--Color);
98
122
  border: none;
99
123
 
@@ -29,6 +29,9 @@
29
29
  width: 100%;
30
30
  background-color: var(--pf-c-input-group--BackgroundColor);
31
31
  }
32
+ .pf-c-input-group.pf-m-plain {
33
+ --pf-c-input-group--BackgroundColor: transparent;
34
+ }
32
35
  .pf-c-input-group > * + * {
33
36
  margin-left: -1px;
34
37
  }
@@ -27,6 +27,10 @@
27
27
  width: 100%;
28
28
  background-color: var(--pf-c-input-group--BackgroundColor);
29
29
 
30
+ &.pf-m-plain {
31
+ --pf-c-input-group--BackgroundColor: transparent; // make default at breaking change
32
+ }
33
+
30
34
  // stylelint-disable
31
35
  > * + * {
32
36
  margin-left: -1px;
@@ -8,7 +8,7 @@
8
8
  --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
9
9
  }
10
10
 
11
- .pf-c-masthead {
11
+ .pf-c-masthead .pf-c-button.pf-m-plain, .pf-c-masthead {
12
12
  --pf-global--Color--100: var(--pf-global--Color--light-100);
13
13
  --pf-global--Color--200: var(--pf-global--Color--light-200);
14
14
  --pf-global--BorderColor--100: var(--pf-global--BorderColor--light-100);
@@ -17,10 +17,10 @@
17
17
  --pf-global--link--Color--hover: var(--pf-global--link--Color--light);
18
18
  --pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
19
19
  }
20
- .pf-c-masthead .pf-c-card {
20
+ .pf-c-masthead .pf-c-button.pf-m-plain .pf-c-card, .pf-c-masthead .pf-c-card {
21
21
  --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
22
22
  }
23
- .pf-c-masthead .pf-c-button {
23
+ .pf-c-masthead .pf-c-button.pf-m-plain .pf-c-button, .pf-c-masthead .pf-c-button {
24
24
  --pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
25
25
  --pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
26
26
  --pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
@@ -227,6 +227,9 @@
227
227
  .pf-c-masthead .pf-c-nav {
228
228
  align-self: stretch;
229
229
  }
230
+ .pf-c-masthead .pf-c-button.pf-m-plain {
231
+ color: var(--pf-global--Color--200);
232
+ }
230
233
 
231
234
  .pf-c-masthead__main {
232
235
  position: relative;
@@ -243,6 +243,10 @@ $pf-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
243
243
  .pf-c-nav {
244
244
  align-self: stretch;
245
245
  }
246
+
247
+ .pf-c-button.pf-m-plain {
248
+ @include pf-t-dark(--pf-global--Color--200); // for all plain buttons, especially inside other components (.pf-c-input-group), for dark mode
249
+ }
246
250
  }
247
251
 
248
252
  // Main
@@ -192,8 +192,6 @@
192
192
  --pf-c-menu__footer--BoxShadow: none;
193
193
  --pf-c-menu__footer--after--BorderTopWidth: var(--pf-global--BorderWidth--sm);
194
194
  --pf-c-menu__footer--after--BorderTopColor: var(--pf-global--BorderColor--100);
195
- --pf-c-menu__footer--after--BorderBottomWidth: 0;
196
- --pf-c-menu__footer--after--BorderBottomColor: var(--pf-global--BorderColor--100);
197
195
  --pf-c-menu--m-scrollable__footer--BoxShadow: var(--pf-global--BoxShadow--sm-top);
198
196
  --pf-c-menu--m-scrollable__footer--after--BorderTopWidth: 0;
199
197
  --pf-c-menu--m-scrollable__footer--after--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
@@ -325,7 +323,6 @@
325
323
  --pf-c-menu__content--MaxHeight: var(--pf-c-menu--m-scrollable__content--MaxHeight);
326
324
  --pf-c-menu__footer--BoxShadow: var(--pf-c-menu--m-scrollable__footer--BoxShadow);
327
325
  --pf-c-menu__footer--after--BorderTopWidth: var(--pf-c-menu--m-scrollable__footer--after--BorderTopWidth);
328
- --pf-c-menu__footer--after--BorderBottomWidth: var(--pf-c-menu--m-scrollable__footer--after--BorderBottomWidth);
329
326
  }
330
327
  .pf-c-menu.pf-m-scrollable .pf-c-menu__content {
331
328
  overflow-y: auto;
@@ -627,7 +624,6 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
627
624
  pointer-events: none;
628
625
  content: "";
629
626
  border-top: var(--pf-c-menu__footer--after--BorderTopWidth) solid var(--pf-c-menu__footer--after--BorderTopColor);
630
- border-bottom: var(--pf-c-menu__footer--after--BorderBottomWidth) solid var(--pf-c-menu__footer--after--BorderBottomColor);
631
627
  }
632
628
 
633
629
  :where(.pf-theme-dark) .pf-c-menu {
@@ -182,8 +182,6 @@
182
182
  --pf-c-menu__footer--BoxShadow: none;
183
183
  --pf-c-menu__footer--after--BorderTopWidth: var(--pf-global--BorderWidth--sm);
184
184
  --pf-c-menu__footer--after--BorderTopColor: var(--pf-global--BorderColor--100);
185
- --pf-c-menu__footer--after--BorderBottomWidth: 0;
186
- --pf-c-menu__footer--after--BorderBottomColor: var(--pf-global--BorderColor--100);
187
185
  --pf-c-menu--m-scrollable__footer--BoxShadow: var(--pf-global--BoxShadow--sm-top);
188
186
  --pf-c-menu--m-scrollable__footer--after--BorderTopWidth: 0;
189
187
  --pf-c-menu--m-scrollable__footer--after--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
@@ -334,7 +332,6 @@
334
332
  --pf-c-menu__content--MaxHeight: var(--pf-c-menu--m-scrollable__content--MaxHeight);
335
333
  --pf-c-menu__footer--BoxShadow: var(--pf-c-menu--m-scrollable__footer--BoxShadow);
336
334
  --pf-c-menu__footer--after--BorderTopWidth: var(--pf-c-menu--m-scrollable__footer--after--BorderTopWidth);
337
- --pf-c-menu__footer--after--BorderBottomWidth: var(--pf-c-menu--m-scrollable__footer--after--BorderBottomWidth);
338
335
 
339
336
  .pf-c-menu__content {
340
337
  overflow-y: auto;
@@ -738,7 +735,6 @@
738
735
  pointer-events: none;
739
736
  content: "";
740
737
  border-top: var(--pf-c-menu__footer--after--BorderTopWidth) solid var(--pf-c-menu__footer--after--BorderTopColor);
741
- border-bottom: var(--pf-c-menu__footer--after--BorderBottomWidth) solid var(--pf-c-menu__footer--after--BorderBottomColor);
742
738
  }
743
739
  }
744
740
 
@@ -715,6 +715,31 @@
715
715
  .pf-c-page__main-nav.pf-m-sticky-top, .pf-c-page__main-group.pf-m-sticky-top .pf-c-page__main-nav:last-child {
716
716
  padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
717
717
  }
718
+ @media (min-height: 0) {
719
+ .pf-c-page__main-nav.pf-m-sticky-top-on-sm-height, .pf-c-page__main-group.pf-m-sticky-top-on-sm-height .pf-c-page__main-nav:last-child {
720
+ padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
721
+ }
722
+ }
723
+ @media (min-height: 40rem) {
724
+ .pf-c-page__main-nav.pf-m-sticky-top-on-md-height, .pf-c-page__main-group.pf-m-sticky-top-on-md-height .pf-c-page__main-nav:last-child {
725
+ padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
726
+ }
727
+ }
728
+ @media (min-height: 48rem) {
729
+ .pf-c-page__main-nav.pf-m-sticky-top-on-lg-height, .pf-c-page__main-group.pf-m-sticky-top-on-lg-height .pf-c-page__main-nav:last-child {
730
+ padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
731
+ }
732
+ }
733
+ @media (min-height: 60rem) {
734
+ .pf-c-page__main-nav.pf-m-sticky-top-on-xl-height, .pf-c-page__main-group.pf-m-sticky-top-on-xl-height .pf-c-page__main-nav:last-child {
735
+ padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
736
+ }
737
+ }
738
+ @media (min-height: 80rem) {
739
+ .pf-c-page__main-nav.pf-m-sticky-top-on-2xl-height, .pf-c-page__main-group.pf-m-sticky-top-on-2xl-height .pf-c-page__main-nav:last-child {
740
+ padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
741
+ }
742
+ }
718
743
 
719
744
  .pf-c-page__main-subnav {
720
745
  background-color: var(--pf-c-page__main-subnav--BackgroundColor);
@@ -740,6 +765,31 @@
740
765
  .pf-c-page__main-breadcrumb.pf-m-sticky-top, .pf-c-page__main-group.pf-m-sticky-top .pf-c-page__main-breadcrumb:last-child {
741
766
  --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
742
767
  }
768
+ @media (min-height: 0) {
769
+ .pf-c-page__main-breadcrumb.pf-m-sticky-top-on-sm-height, .pf-c-page__main-group.pf-m-sticky-top-on-sm-height .pf-c-page__main-breadcrumb:last-child {
770
+ --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
771
+ }
772
+ }
773
+ @media (min-height: 40rem) {
774
+ .pf-c-page__main-breadcrumb.pf-m-sticky-top-on-md-height, .pf-c-page__main-group.pf-m-sticky-top-on-md-height .pf-c-page__main-breadcrumb:last-child {
775
+ --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
776
+ }
777
+ }
778
+ @media (min-height: 48rem) {
779
+ .pf-c-page__main-breadcrumb.pf-m-sticky-top-on-lg-height, .pf-c-page__main-group.pf-m-sticky-top-on-lg-height .pf-c-page__main-breadcrumb:last-child {
780
+ --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
781
+ }
782
+ }
783
+ @media (min-height: 60rem) {
784
+ .pf-c-page__main-breadcrumb.pf-m-sticky-top-on-xl-height, .pf-c-page__main-group.pf-m-sticky-top-on-xl-height .pf-c-page__main-breadcrumb:last-child {
785
+ --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
786
+ }
787
+ }
788
+ @media (min-height: 80rem) {
789
+ .pf-c-page__main-breadcrumb.pf-m-sticky-top-on-2xl-height, .pf-c-page__main-group.pf-m-sticky-top-on-2xl-height .pf-c-page__main-breadcrumb:last-child {
790
+ --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
791
+ }
792
+ }
743
793
 
744
794
  .pf-c-page__main-tabs {
745
795
  padding: var(--pf-c-page__main-tabs--PaddingTop) var(--pf-c-page__main-tabs--PaddingRight) var(--pf-c-page__main-tabs--PaddingBottom) var(--pf-c-page__main-tabs--PaddingLeft);
@@ -548,9 +548,16 @@ $pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
548
548
  padding-left: var(--pf-c-page__main-nav--PaddingLeft);
549
549
  background-color: var(--pf-c-page__main-nav--BackgroundColor);
550
550
 
551
- &.pf-m-sticky-top,
552
- .pf-c-page__main-group.pf-m-sticky-top &:last-child {
553
- padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
551
+ // Responsive height modifiers for sticky top/bottom
552
+ @each $breakpoint, $breakpoint-value in $pf-c-page--height-breakpoint-map {
553
+ $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}-height, "");
554
+
555
+ @include pf-apply-height-breakpoint($breakpoint) {
556
+ &.pf-m-sticky-top#{$breakpoint-name},
557
+ .pf-c-page__main-group.pf-m-sticky-top#{$breakpoint-name} &:last-child {
558
+ padding-bottom: var(--pf-c-page__main-nav--m-sticky-top--PaddingBottom);
559
+ }
560
+ }
554
561
  }
555
562
  }
556
563
 
@@ -580,9 +587,16 @@ $pf-c-page--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
580
587
  --pf-c-page__main-section--PaddingTop: var(--pf-c-page__main-breadcrumb--main-section--PaddingTop);
581
588
  }
582
589
 
583
- &.pf-m-sticky-top,
584
- .pf-c-page__main-group.pf-m-sticky-top &:last-child {
585
- --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
590
+ // Responsive height modifiers for sticky top/bottom
591
+ @each $breakpoint, $breakpoint-value in $pf-c-page--height-breakpoint-map {
592
+ $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}-height, "");
593
+
594
+ @include pf-apply-height-breakpoint($breakpoint) {
595
+ &.pf-m-sticky-top#{$breakpoint-name},
596
+ .pf-c-page__main-group.pf-m-sticky-top#{$breakpoint-name} &:last-child {
597
+ --pf-c-page__main-breadcrumb--PaddingBottom: var(--pf-c-page__main-breadcrumb--m-sticky-top--PaddingBottom);
598
+ }
599
+ }
586
600
  }
587
601
  }
588
602
 
@@ -389,6 +389,12 @@
389
389
  top: 0;
390
390
  transform: translateY(var(--pf-c-select__menu--m-top--TranslateY));
391
391
  }
392
+ .pf-c-select__menu.pf-m-static {
393
+ position: static;
394
+ top: auto;
395
+ z-index: auto;
396
+ min-width: min-content;
397
+ }
392
398
 
393
399
  .pf-c-select__menu-fieldset {
394
400
  border: 0;
@@ -484,6 +484,13 @@
484
484
  top: 0;
485
485
  transform: translateY(var(--pf-c-select__menu--m-top--TranslateY));
486
486
  }
487
+
488
+ &.pf-m-static {
489
+ position: static;
490
+ top: auto;
491
+ z-index: auto;
492
+ min-width: min-content;
493
+ }
487
494
  }
488
495
 
489
496
  .pf-c-select__menu-fieldset {
@@ -2,10 +2,10 @@
2
2
 
3
3
  @mixin pf-theme-dark-wizard() {
4
4
  .pf-c-wizard {
5
+ --pf-c-wizard__header--BackgroundColor: var(--pf-global--palette--black-1000);
6
+ --pf-c-wizard__nav-link--before--BackgroundColor: var(--pf-global--palette--black-500);
5
7
  --pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
6
8
  --pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
7
- --pf-c-wizard__nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
8
- --pf-c-wizard__outer-wrap--BackgroundColor: var(--pf-global--BackgroundColor--300);
9
9
  }
10
10
 
11
11
  .pf-c-wizard__header {
@@ -540,10 +540,10 @@
540
540
  }
541
541
 
542
542
  :where(.pf-theme-dark) .pf-c-wizard {
543
+ --pf-c-wizard__header--BackgroundColor: var(--pf-global--palette--black-1000);
544
+ --pf-c-wizard__nav-link--before--BackgroundColor: var(--pf-global--palette--black-500);
543
545
  --pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
544
546
  --pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
545
- --pf-c-wizard__nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
546
- --pf-c-wizard__outer-wrap--BackgroundColor: var(--pf-global--BackgroundColor--300);
547
547
  }
548
548
  :where(.pf-theme-dark) .pf-c-wizard__header {
549
549
  color: var(--pf-global--Color--100);