@patternfly/patternfly 4.206.0 → 4.206.3

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 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)
@@ -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
 
@@ -264,20 +264,14 @@
264
264
  .pf-c-tree-view__node .pf-c-tree-view__node-count .pf-c-badge.pf-m-read {
265
265
  --pf-c-badge--m-read--BackgroundColor: var(--pf-c-tree-view__node-count--c-badge--m-read--BackgroundColor);
266
266
  }
267
- .pf-c-tree-view__node.pf-m-selectable .pf-c-tree-view__node-toggle {
268
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base);
269
- }
270
- .pf-c-tree-view__node:hover,
271
- .pf-c-tree-view__node .pf-c-tree-view__node-toggle:hover {
272
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--hover__icon--Color);
267
+ .pf-c-tree-view__node:not(.pf-m-selectable):hover, .pf-c-tree-view__node.pf-m-selectable .pf-c-tree-view__node-toggle:hover {
268
+ --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--hover--Color);
273
269
  }
274
- .pf-c-tree-view__node:focus,
275
- .pf-c-tree-view__node .pf-c-tree-view__node-toggle:focus {
276
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--focus__icon--Color);
270
+ .pf-c-tree-view__node:not(.pf-m-selectable):focus, .pf-c-tree-view__node.pf-m-selectable .pf-c-tree-view__node-toggle:focus {
271
+ --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--focus--Color);
277
272
  }
278
- .pf-c-tree-view__node:active,
279
- .pf-c-tree-view__node .pf-c-tree-view__node-toggle:active {
280
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--active__icon--Color);
273
+ .pf-c-tree-view__node:not(.pf-m-selectable):active, .pf-c-tree-view__node.pf-m-selectable .pf-c-tree-view__node-toggle:active {
274
+ --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--active--Color);
281
275
  }
282
276
 
283
277
  .pf-c-tree-view__node-container {
@@ -382,22 +382,18 @@ $pf-c-tree-view--MaxNesting: 10;
382
382
  }
383
383
  }
384
384
 
385
+ &:not(.pf-m-selectable),
385
386
  &.pf-m-selectable .pf-c-tree-view__node-toggle {
386
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--Color--base); // resets hover/focus/active color when node triggers hover/focus/active color change
387
- }
388
-
389
- &,
390
- .pf-c-tree-view__node-toggle {
391
387
  &:hover {
392
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--hover__icon--Color);
388
+ --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--hover--Color);
393
389
  }
394
390
 
395
391
  &:focus {
396
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--focus__icon--Color);
392
+ --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--focus--Color);
397
393
  }
398
394
 
399
395
  &:active {
400
- --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--active__icon--Color);
396
+ --pf-c-tree-view__node-toggle--Color: var(--pf-c-tree-view__node-toggle--active--Color);
401
397
  }
402
398
  }
403
399
  }