@patternfly/patternfly 4.209.1 → 4.210.2

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,33 @@ id: Release notes
3
3
  section: developer-resources
4
4
  releaseNoteTOC: true
5
5
  ---
6
+ ## 2022.11 release notes (2022-08-25)
7
+ Packages released:
8
+ - [@patternfly/patternfly@v4.210.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.210.2)
9
+
10
+ ### Components
11
+ - **Avatar:** Updated examples to use correct avatar image, simplified hbs ([#5026](https://github.com/patternfly/patternfly/pull/5026))
12
+ - **Button:** Added a badge count to the link button ([#5029](https://github.com/patternfly/patternfly/pull/5029))
13
+ - **Card:** Updated body fill example to show fill behavior ([#5022](https://github.com/patternfly/patternfly/pull/5022))
14
+ - **Checkbox:** Added support for required indicator ([#5025](https://github.com/patternfly/patternfly/pull/5025))
15
+ - **Dropdown, select, context selector:** Added static variation for menu ([#4986](https://github.com/patternfly/patternfly/pull/4986))
16
+ - **Expandable section:**
17
+ * Added truncate variant ([#5001](https://github.com/patternfly/patternfly/pull/5001))
18
+ * Fixed top margin on detached truncate toggle ([#5045](https://github.com/patternfly/patternfly/pull/5045))
19
+ - **Menu:** Removed footer bottom border when scrollable ([#5002](https://github.com/patternfly/patternfly/pull/5002))
20
+ - **Page:** Added full-height modifier ([#5018](https://github.com/patternfly/patternfly/pull/5018))
21
+ - **Search input:** Added collapsible variant ([#4827](https://github.com/patternfly/patternfly/pull/4827))
22
+ - **Table:** Added max-height support to outerscroll container ([#5039](https://github.com/patternfly/patternfly/pull/5039))
23
+ - **Timestamp:** Added outline-offset and fixed trailing whitespace ([#5047](https://github.com/patternfly/patternfly/pull/5047))
24
+
25
+ ### Other
26
+ - **Global:** Added custom property to allow override of root font-size ([#5032](https://github.com/patternfly/patternfly/pull/5032))
27
+ - **Theme:**
28
+ * Adjusted dark theme colors ([#5020](https://github.com/patternfly/patternfly/pull/5020))
29
+ * Improved contrast of dark theme red-8888, warning button text ([#5041](https://github.com/patternfly/patternfly/pull/5041))
30
+ - **Workspace:** Fixed a11y violations in data-list and toolbar ([#5015](https://github.com/patternfly/patternfly/pull/5015))
31
+
32
+
6
33
  ## 2022.10 release notes (2022-08-04)
7
34
  Packages released:
8
35
  - [@patternfly/patternfly@v4.206.3](https://www.npmjs.com/package/@patternfly/patternfly/v/4.206.3)
@@ -85,6 +85,9 @@
85
85
  -webkit-line-clamp: var(--pf-c-expandable-section--m-truncate__content--LineClamp);
86
86
  overflow: hidden;
87
87
  }
88
+ .pf-c-expandable-section.pf-m-detached {
89
+ --pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
90
+ }
88
91
 
89
92
  .pf-c-expandable-section__toggle {
90
93
  display: flex;
@@ -112,6 +112,10 @@
112
112
  overflow: hidden;
113
113
  }
114
114
  }
115
+
116
+ &.pf-m-detached {
117
+ --pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
118
+ }
115
119
  }
116
120
 
117
121
  .pf-c-expandable-section__toggle {
@@ -1,6 +1,7 @@
1
1
  .pf-c-timestamp {
2
2
  --pf-c-timestamp--FontSize: var(--pf-global--FontSize--sm);
3
3
  --pf-c-timestamp--Color: var(--pf-global--Color--200);
4
+ --pf-c-timestamp--OutlineOffset: 0.1875rem;
4
5
  --pf-c-timestamp--m-help-text--TextDecorationLine: underline;
5
6
  --pf-c-timestamp--m-help-text--TextDecorationStyle: dashed;
6
7
  --pf-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
@@ -10,8 +11,10 @@
10
11
  --pf-c-timestamp--m-help-text--focus--Color: var(--pf-global--Color--100);
11
12
  --pf-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
12
13
  --pf-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
14
+ display: inline-block;
13
15
  font-size: var(--pf-c-timestamp--FontSize);
14
16
  color: var(--pf-c-timestamp--Color);
17
+ outline-offset: var(--pf-c-timestamp--OutlineOffset);
15
18
  }
16
19
  .pf-c-timestamp.pf-m-help-text {
17
20
  cursor: pointer;
@@ -1,6 +1,7 @@
1
1
  .pf-c-timestamp {
2
2
  --pf-c-timestamp--FontSize: var(--pf-global--FontSize--sm);
3
3
  --pf-c-timestamp--Color: var(--pf-global--Color--200);
4
+ --pf-c-timestamp--OutlineOffset: #{pf-size-prem(3px)};
4
5
 
5
6
  // Help text variables for the timestamp
6
7
  --pf-c-timestamp--m-help-text--TextDecorationLine: underline;
@@ -13,8 +14,10 @@
13
14
  --pf-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
14
15
  --pf-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
15
16
 
17
+ display: inline-block;
16
18
  font-size: var(--pf-c-timestamp--FontSize);
17
19
  color: var(--pf-c-timestamp--Color);
20
+ outline-offset: var(--pf-c-timestamp--OutlineOffset);
18
21
 
19
22
  &.pf-m-help-text {
20
23
  cursor: pointer;
@@ -478,7 +478,7 @@ When a list item includes more than one block of content, it can be difficult fo
478
478
  <section
479
479
  class="pf-c-data-list__expandable-content"
480
480
  id="data-list-expandable-content1"
481
- aria-label="data-list-expandable Primary content details"
481
+ aria-label="Expandable primary content details"
482
482
  >
483
483
  <div
484
484
  class="pf-c-data-list__expandable-content-body"
@@ -570,7 +570,7 @@ When a list item includes more than one block of content, it can be difficult fo
570
570
  <section
571
571
  class="pf-c-data-list__expandable-content"
572
572
  id="data-list-expandable-content2"
573
- aria-label="Secondary content details"
573
+ aria-label="Expandable secondary content details"
574
574
  hidden
575
575
  >
576
576
  <div
@@ -666,7 +666,7 @@ When a list item includes more than one block of content, it can be difficult fo
666
666
  <section
667
667
  class="pf-c-data-list__expandable-content"
668
668
  id="data-list-expandable-content3"
669
- aria-label="Tertiary content details"
669
+ aria-label="Expandable tertiary content details"
670
670
  >
671
671
  <div
672
672
  class="pf-c-data-list__expandable-content-body pf-m-no-padding"
@@ -774,7 +774,7 @@ When a list item includes more than one block of content, it can be difficult fo
774
774
  <section
775
775
  class="pf-c-data-list__expandable-content"
776
776
  id="data-list-expandable-compact-content1"
777
- aria-label="data-list-expandable-compact Primary content details"
777
+ aria-label="Expandable compact primary content details"
778
778
  >
779
779
  <div
780
780
  class="pf-c-data-list__expandable-content-body"
@@ -869,7 +869,7 @@ When a list item includes more than one block of content, it can be difficult fo
869
869
  <section
870
870
  class="pf-c-data-list__expandable-content"
871
871
  id="data-list-expandable-compact-content2"
872
- aria-label="Secondary content details"
872
+ aria-label="Expandable compact secondary content details"
873
873
  hidden
874
874
  >
875
875
  <div
@@ -965,7 +965,7 @@ When a list item includes more than one block of content, it can be difficult fo
965
965
  <section
966
966
  class="pf-c-data-list__expandable-content"
967
967
  id="data-list-expandable-compact-content3"
968
- aria-label="Tertiary content details"
968
+ aria-label="Expandable compact tertiary content details"
969
969
  >
970
970
  <div
971
971
  class="pf-c-data-list__expandable-content-body pf-m-no-padding"
@@ -1073,7 +1073,7 @@ When a list item includes more than one block of content, it can be difficult fo
1073
1073
  <section
1074
1074
  class="pf-c-data-list__expandable-content"
1075
1075
  id="data-list-expandable-nested-content1"
1076
- aria-label="data-list-expandable-nested Primary content details"
1076
+ aria-label="Expandable nested primary content details"
1077
1077
  >
1078
1078
  <div class="pf-c-data-list__expandable-content-body">
1079
1079
  <ul
@@ -1294,7 +1294,7 @@ When a list item includes more than one block of content, it can be difficult fo
1294
1294
  <section
1295
1295
  class="pf-c-data-list__expandable-content"
1296
1296
  id="data-list-expandable-nested-content2"
1297
- aria-label="Secondary content details"
1297
+ aria-label="Expandable nested secondary content details"
1298
1298
  hidden
1299
1299
  >
1300
1300
  <div
@@ -1390,7 +1390,7 @@ When a list item includes more than one block of content, it can be difficult fo
1390
1390
  <section
1391
1391
  class="pf-c-data-list__expandable-content"
1392
1392
  id="data-list-expandable-nested-content3"
1393
- aria-label="Tertiary content details"
1393
+ aria-label="Expandable nested tertiary content details"
1394
1394
  >
1395
1395
  <div
1396
1396
  class="pf-c-data-list__expandable-content-body pf-m-no-padding"
@@ -1899,7 +1899,7 @@ When a list item includes more than one block of content, it can be difficult fo
1899
1899
  <section
1900
1900
  class="pf-c-data-list__expandable-content"
1901
1901
  id="data-list-flex-modifiers-2-content1"
1902
- aria-label="data-list-flex-modifiers-2 Primary content details"
1902
+ aria-label="Flex modifier expandable primary content details"
1903
1903
  >
1904
1904
  <div
1905
1905
  class="pf-c-data-list__expandable-content-body"
@@ -2034,7 +2034,7 @@ When a list item includes more than one block of content, it can be difficult fo
2034
2034
  <section
2035
2035
  class="pf-c-data-list__expandable-content"
2036
2036
  id="data-list-selectable-expandable-rows-content1"
2037
- aria-label="data-list-selectable-expandable-rows Primary content details"
2037
+ aria-label="Selectable expandable row primary content details"
2038
2038
  >
2039
2039
  <div
2040
2040
  class="pf-c-data-list__expandable-content-body"
@@ -2076,7 +2076,7 @@ When a list item includes more than one block of content, it can be difficult fo
2076
2076
  <section
2077
2077
  class="pf-c-data-list__expandable-content"
2078
2078
  id="data-list-selectable-expandable-rows-content2"
2079
- aria-label="Secondary content details"
2079
+ aria-label="Selectable expandable row secondary content details"
2080
2080
  hidden
2081
2081
  >
2082
2082
  <div
@@ -2119,7 +2119,7 @@ When a list item includes more than one block of content, it can be difficult fo
2119
2119
  <section
2120
2120
  class="pf-c-data-list__expandable-content"
2121
2121
  id="data-list-selectable-expandable-rows-content3"
2122
- aria-label="Tertiary content details"
2122
+ aria-label="Selectable expandable row tertiary content details"
2123
2123
  >
2124
2124
  <div
2125
2125
  class="pf-c-data-list__expandable-content-body pf-m-no-padding"
@@ -2161,7 +2161,7 @@ When a list item includes more than one block of content, it can be difficult fo
2161
2161
  <section
2162
2162
  class="pf-c-data-list__expandable-content"
2163
2163
  id="data-list-selectable-expandable-rows-content4"
2164
- aria-label="Quaternary content details"
2164
+ aria-label="Selectable expandable row quaternary content details"
2165
2165
  hidden
2166
2166
  >
2167
2167
  <div
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "4.209.1",
4
+ "version": "4.210.2",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -14602,6 +14602,9 @@ label.pf-c-check, .pf-c-check__label,
14602
14602
  -webkit-line-clamp: var(--pf-c-expandable-section--m-truncate__content--LineClamp);
14603
14603
  overflow: hidden;
14604
14604
  }
14605
+ .pf-c-expandable-section.pf-m-detached {
14606
+ --pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
14607
+ }
14605
14608
 
14606
14609
  .pf-c-expandable-section__toggle {
14607
14610
  display: flex;
@@ -30854,6 +30857,7 @@ svg.pf-c-spinner.pf-m-xl {
30854
30857
  .pf-c-timestamp {
30855
30858
  --pf-c-timestamp--FontSize: var(--pf-global--FontSize--sm);
30856
30859
  --pf-c-timestamp--Color: var(--pf-global--Color--200);
30860
+ --pf-c-timestamp--OutlineOffset: 0.1875rem;
30857
30861
  --pf-c-timestamp--m-help-text--TextDecorationLine: underline;
30858
30862
  --pf-c-timestamp--m-help-text--TextDecorationStyle: dashed;
30859
30863
  --pf-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
@@ -30863,8 +30867,10 @@ svg.pf-c-spinner.pf-m-xl {
30863
30867
  --pf-c-timestamp--m-help-text--focus--Color: var(--pf-global--Color--100);
30864
30868
  --pf-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
30865
30869
  --pf-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
30870
+ display: inline-block;
30866
30871
  font-size: var(--pf-c-timestamp--FontSize);
30867
30872
  color: var(--pf-c-timestamp--Color);
30873
+ outline-offset: var(--pf-c-timestamp--OutlineOffset);
30868
30874
  }
30869
30875
  .pf-c-timestamp.pf-m-help-text {
30870
30876
  cursor: pointer;
package/patternfly.css CHANGED
@@ -14729,6 +14729,9 @@ label.pf-c-check, .pf-c-check__label,
14729
14729
  -webkit-line-clamp: var(--pf-c-expandable-section--m-truncate__content--LineClamp);
14730
14730
  overflow: hidden;
14731
14731
  }
14732
+ .pf-c-expandable-section.pf-m-detached {
14733
+ --pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
14734
+ }
14732
14735
 
14733
14736
  .pf-c-expandable-section__toggle {
14734
14737
  display: flex;
@@ -30981,6 +30984,7 @@ svg.pf-c-spinner.pf-m-xl {
30981
30984
  .pf-c-timestamp {
30982
30985
  --pf-c-timestamp--FontSize: var(--pf-global--FontSize--sm);
30983
30986
  --pf-c-timestamp--Color: var(--pf-global--Color--200);
30987
+ --pf-c-timestamp--OutlineOffset: 0.1875rem;
30984
30988
  --pf-c-timestamp--m-help-text--TextDecorationLine: underline;
30985
30989
  --pf-c-timestamp--m-help-text--TextDecorationStyle: dashed;
30986
30990
  --pf-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
@@ -30990,8 +30994,10 @@ svg.pf-c-spinner.pf-m-xl {
30990
30994
  --pf-c-timestamp--m-help-text--focus--Color: var(--pf-global--Color--100);
30991
30995
  --pf-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
30992
30996
  --pf-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
30997
+ display: inline-block;
30993
30998
  font-size: var(--pf-c-timestamp--FontSize);
30994
30999
  color: var(--pf-c-timestamp--Color);
31000
+ outline-offset: var(--pf-c-timestamp--OutlineOffset);
30995
31001
  }
30996
31002
  .pf-c-timestamp.pf-m-help-text {
30997
31003
  cursor: pointer;