@patternfly/patternfly 4.196.5 → 4.196.8

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,30 @@ id: Release notes
3
3
  section: developer-resources
4
4
  releaseNoteTOC: true
5
5
  ---
6
+ ## 2022.07 release notes (2022-06-03)
7
+ Packages released:
8
+ - [@patternfly/patternfly@v4.196.7](https://www.npmjs.com/package/@patternfly/patternfly/v/4.196.7)
9
+
10
+ ### Components
11
+ - **Calendar month:** Improved layout of nav controls ([#4862](https://github.com/patternfly/patternfly/pull/4862))
12
+ - **Chip group:** Fixed premature wrapping ([#4879](https://github.com/patternfly/patternfly/pull/4879))
13
+ - **Drawer:** Added demos with jumplinks ([#4608](https://github.com/patternfly/patternfly/pull/4608))
14
+ - **Form field:** Documented autocomplete limitation ([#4856](https://github.com/patternfly/patternfly/pull/4856))
15
+ - **Form:** Added complex form demo ([#4865](https://github.com/patternfly/patternfly/pull/4865))
16
+ - **Label:** Added gold, updated orange bgcolor ([#4863](https://github.com/patternfly/patternfly/pull/4863))
17
+ - **Page:** Added masthead to header/nav/main stacking context order ([#4839](https://github.com/patternfly/patternfly/pull/4839))
18
+ - **Table:**
19
+ - Added expanded set column width example ([#4852](https://github.com/patternfly/patternfly/pull/4852))
20
+ - Added image and text demo ([#4853](https://github.com/patternfly/patternfly/pull/4853))
21
+
22
+ ### Other
23
+ - **Theme:**
24
+ * Imported dark theme per component, added new global var ([#4864](https://github.com/patternfly/patternfly/pull/4864))
25
+ * Updated dark theme default text color ([#4875](https://github.com/patternfly/patternfly/pull/4875))
26
+ * Updated build process to copy files from new SCSS location ([#4877](https://github.com/patternfly/patternfly/issues/4877))
27
+ - **Utilities:** Added font family utilities ([#4868](https://github.com/patternfly/patternfly/pull/4868))
28
+
29
+
6
30
  ## 2022.06 release notes (2022-05-13)
7
31
  Packages released:
8
32
  - [@patternfly/patternfly@v4.194.4](https://www.npmjs.com/package/@patternfly/patternfly/v/4.194.4)
@@ -1079,7 +1103,7 @@ Packages released:
1079
1103
  Packages released:
1080
1104
  - [@patternfly/patternfly@v4.10.31](https://www.npmjs.com/package/@patternfly/patternfly/v/4.10.31)
1081
1105
 
1082
- This is our major release. Check out our [upgrade guide](/documentation/core/overview/upgrade-guide) for a list of breaking changes!
1106
+ This is our major release. Check out our [upgrade guide](/developer-resources/upgrade-guide/html) for a list of breaking changes!
1083
1107
 
1084
1108
  ## 2020.06 release notes (2020-05-12)
1085
1109
  Packages released:
@@ -0,0 +1,39 @@
1
+ @import "../../../sass-utilities/colors";
2
+ @import "../../../sass-utilities/scss-variables";
3
+
4
+ // Chart colors
5
+
6
+ // blue
7
+ $pf-chart-color-blue-100: #add6ff;
8
+ $pf-chart-color-blue-200: #85c2ff;
9
+ $pf-chart-color-blue-300: #47a3ff;
10
+ $pf-chart-color-blue-400: #0a85ff;
11
+ $pf-chart-color-blue-500: $pf-color-blue-400;
12
+
13
+ // green
14
+ $pf-chart-color-green-100: #d6eed3;
15
+ $pf-chart-color-green-200: #aedca7;
16
+ $pf-chart-color-green-300: #85cb7c;
17
+ $pf-chart-color-green-400: #5cb950;
18
+ $pf-chart-color-green-500: $pf-color-green-500;
19
+
20
+ // cyan
21
+ $pf-chart-color-cyan-100: #b9feff;
22
+ $pf-chart-color-cyan-200: #86fdff;
23
+ $pf-chart-color-cyan-300: #00b5b8;
24
+ $pf-chart-color-cyan-400: #008c8f;
25
+ $pf-chart-color-cyan-500: $pf-color-cyan-400;
26
+
27
+ // purple
28
+ $pf-chart-color-purple-100: #cec8e4;
29
+ $pf-chart-color-purple-200: #a99fd1;
30
+ $pf-chart-color-purple-300: #9183c3;
31
+ $pf-chart-color-purple-400: #7968b6;
32
+ $pf-chart-color-purple-500: $pf-color-purple-500;
33
+
34
+ // red
35
+ $pf-chart-color-red-100: #ffadad;
36
+ $pf-chart-color-red-200: #ff7070;
37
+ $pf-chart-color-red-300: #ff4747;
38
+ $pf-chart-color-red-400: #ff0a0a;
39
+ $pf-chart-color-red-500: $pf-color-red-200;
@@ -0,0 +1,5 @@
1
+ @mixin globals() {
2
+ // stylelint-disable property-no-unknown
3
+ color-scheme: dark;
4
+ // stylelint-enable
5
+ }
@@ -0,0 +1,95 @@
1
+ @import "../../../sass-utilities/themes/dark/all";
2
+
3
+ @mixin _variables() {
4
+ // palette changes
5
+ --pf-global--palette--black-50: #{$pf-color-black-50};
6
+ --pf-global--palette--black-100: #{$pf-color-black-100};
7
+ --pf-global--palette--black-200: #{$pf-color-black-200};
8
+ --pf-global--palette--black-300: #{$pf-color-black-300};
9
+ --pf-global--palette--black-400: #{$pf-color-black-400};
10
+ --pf-global--palette--black-500: #{$pf-color-black-500};
11
+ --pf-global--palette--black-600: #{$pf-color-black-600};
12
+ --pf-global--palette--black-700: #{$pf-color-black-700};
13
+ --pf-global--palette--black-800: #{$pf-color-black-800};
14
+ --pf-global--palette--black-900: #{$pf-color-black-900};
15
+ --pf-global--palette--red-9999: #{$pf-color-red-9999};
16
+ --pf-global--palette--red-8888: #{$pf-color-red-8888};
17
+ --pf-global--palette--blue-300: #{$pf-color-blue-300};
18
+
19
+ // background colors
20
+ --pf-global--BackgroundColor--100: #{$pf-global--BackgroundColor--100};
21
+ --pf-global--BackgroundColor--150: #{$pf-global--BackgroundColor--150};
22
+ --pf-global--BackgroundColor--200: #{$pf-global--BackgroundColor--200};
23
+ --pf-global--BackgroundColor--300: #{$pf-global--BackgroundColor--300};
24
+ --pf-global--BackgroundColor--400: #{$pf-global--BackgroundColor--400};
25
+ --pf-global--BorderColor--100: #{$pf-global--BorderColor--100};
26
+ --pf-global--BorderColor--200: #{$pf-global--BorderColor--200};
27
+ --pf-global--BorderColor--300: #{$pf-global--BorderColor--300};
28
+ --pf-global--BorderColor--400: #{$pf-global--BorderColor--400};
29
+
30
+ // text colors
31
+ --pf-global--Color--100: #{$pf-global--Color--100};
32
+ --pf-global--Color--200: #{$pf-global--Color--200};
33
+ --pf-global--active-color--100: #{$pf-global--active-color--100};
34
+ --pf-global--primary-color--100: #{$pf-global--primary-color--100};
35
+ --pf-global--primary-color--300: #{$pf-global--primary-color--300};
36
+ --pf-global--success-color--100: #{$pf-global--success-color--100};
37
+ --pf-global--warning-color--100: #{$pf-global--warning-color--100};
38
+ --pf-global--warning-color--200: #{$pf-global--warning-color--200};
39
+ --pf-global--danger-color--100: #{$pf-global--danger-color--100};
40
+ --pf-global--danger-color--200: #{$pf-global--danger-color--200};
41
+ --pf-global--link--Color: #{$pf-global--link--Color};
42
+ --pf-global--link--Color--hover: #{$pf-global--link--Color--hover};
43
+ --pf-global--disabled-color--100: #{$pf-global--disabled-color--100};
44
+ --pf-global--disabled-color--200: #{$pf-global--disabled-color--200};
45
+ --pf-global--disabled-color--300: #{$pf-global--disabled-color--300};
46
+
47
+ // icons
48
+ --pf-global--icon--Color--light: #{$pf-global--icon--Color--light};
49
+ --pf-global--icon--Color--dark: #{$pf-global--icon--Color--dark};
50
+
51
+ // theme color resets
52
+ --pf-global--Color--dark-100: #{$pf-global--Color--dark-100};
53
+ --pf-global--Color--dark-200: #{$pf-global--Color--dark-200};
54
+ --pf-global--Color--light-100: #{$pf-global--Color--light-100};
55
+ --pf-global--Color--light-200: #{$pf-global--Color--light-200};
56
+ --pf-global--Color--light-300: #{$pf-global--Color--light-300};
57
+ --pf-global--BorderColor--dark-100: #{$pf-global--BorderColor--dark-100};
58
+ --pf-global--BorderColor--light-100: #{$pf-global--BorderColor--light-100};
59
+ --pf-global--primary-color--light-100: #{$pf-global--primary-color--light-100};
60
+ --pf-global--primary-color--dark-100: #{$pf-global--primary-color--dark-100};
61
+ --pf-global--link--Color--light: #{$pf-global--link--Color--light};
62
+ --pf-global--link--Color--light--hover: #{$pf-global--link--Color--light--hover};
63
+ --pf-global--link--Color--dark: #{$pf-global--link--Color--dark};
64
+ --pf-global--link--Color--dark--hover: #{$pf-global--link--Color--dark--hover};
65
+ --pf-global--BackgroundColor--light-100: #{$pf-global--BackgroundColor--light-100};
66
+ --pf-global--BackgroundColor--light-200: #{$pf-global--BackgroundColor--light-200};
67
+ --pf-global--BackgroundColor--light-300: #{$pf-global--BackgroundColor--light-300};
68
+ --pf-global--BackgroundColor--dark-100: #{$pf-global--BackgroundColor--dark-100};
69
+ --pf-global--BackgroundColor--dark-200: #{$pf-global--BackgroundColor--dark-200};
70
+ --pf-global--BackgroundColor--dark-300: #{$pf-global--BackgroundColor--dark-300};
71
+ --pf-global--BackgroundColor--dark-400: #{$pf-global--BackgroundColor--dark-400};
72
+
73
+ // Shadows
74
+ --pf-global--BoxShadow--sm: #{$pf-global--BoxShadow--sm};
75
+ --pf-global--BoxShadow--sm-top: #{$pf-global--BoxShadow--sm-top};
76
+ --pf-global--BoxShadow--sm-right: #{$pf-global--BoxShadow--sm-right};
77
+ --pf-global--BoxShadow--sm-bottom: #{$pf-global--BoxShadow--sm-bottom};
78
+ --pf-global--BoxShadow--sm-left: #{$pf-global--BoxShadow--sm-left};
79
+ --pf-global--BoxShadow--md: #{$pf-global--BoxShadow--md};
80
+ --pf-global--BoxShadow--md-top: #{$pf-global--BoxShadow--md-top};
81
+ --pf-global--BoxShadow--md-right: #{$pf-global--BoxShadow--md-right};
82
+ --pf-global--BoxShadow--md-bottom: #{$pf-global--BoxShadow--md-bottom};
83
+ --pf-global--BoxShadow--md-left: #{$pf-global--BoxShadow--md-left};
84
+ --pf-global--BoxShadow--lg: #{$pf-global--BoxShadow--lg};
85
+ --pf-global--BoxShadow--lg-top: #{$pf-global--BoxShadow--lg-top};
86
+ --pf-global--BoxShadow--lg-right: #{$pf-global--BoxShadow--lg-right};
87
+ --pf-global--BoxShadow--lg-bottom: #{$pf-global--BoxShadow--lg-bottom};
88
+ --pf-global--BoxShadow--lg-left: #{$pf-global--BoxShadow--lg-left};
89
+ --pf-global--BoxShadow--xl: #{$pf-global--BoxShadow--xl};
90
+ --pf-global--BoxShadow--xl-top: #{$pf-global--BoxShadow--xl-top};
91
+ --pf-global--BoxShadow--xl-right: #{$pf-global--BoxShadow--xl-right};
92
+ --pf-global--BoxShadow--xl-bottom: #{$pf-global--BoxShadow--xl-bottom};
93
+ --pf-global--BoxShadow--xl-left: #{$pf-global--BoxShadow--xl-left};
94
+ --pf-global--BoxShadow--inset: #{$pf-global--BoxShadow--inset};
95
+ }
@@ -231,9 +231,6 @@
231
231
  --pf-c-menu--m-nav--c-menu--m-top--Bottom: calc(0 + var(--pf-c-menu--m-nav--c-menu--m-top--bottom-offset));
232
232
  --pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
233
233
  }
234
- .pf-c-menu .pf-c-menu__content {
235
- overflow: visible hidden;
236
- }
237
234
  .pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
238
235
  overflow: visible;
239
236
  }
@@ -268,7 +265,7 @@
268
265
  }
269
266
  .pf-c-menu.pf-m-drilldown > .pf-c-menu__content {
270
267
  flex-grow: 1;
271
- overflow-x: hidden;
268
+ overflow: hidden;
272
269
  transition: var(--pf-c-menu--m-drilldown__content--Transition);
273
270
  }
274
271
  .pf-c-menu.pf-m-drilldown.pf-m-drilled-in > .pf-c-menu__content > .pf-c-menu__list,
@@ -196,8 +196,6 @@
196
196
  box-shadow: var(--pf-c-menu--BoxShadow);
197
197
 
198
198
  .pf-c-menu__content {
199
- overflow: visible hidden;
200
-
201
199
  & & {
202
200
  overflow: visible;
203
201
  }
@@ -243,7 +241,7 @@
243
241
 
244
242
  > .pf-c-menu__content {
245
243
  flex-grow: 1;
246
- overflow-x: hidden;
244
+ overflow: hidden;
247
245
  transition: var(--pf-c-menu--m-drilldown__content--Transition);
248
246
  }
249
247
 
@@ -148,9 +148,9 @@ cssPrefix: pf-c-notification-badge
148
148
 
149
149
  ### Overview
150
150
 
151
- Always add a modifier class. Never use the class `.pf-c-notification-badge` on its own. This component is designed to be used within a dark component such as the [masthead](../masthead).
151
+ Always add a modifier class. Never use the class `.pf-c-notification-badge` on its own. This component is designed to be used within a dark component such as the [masthead](/components/masthead).
152
152
 
153
- Note: The [page component](../page) currently handles the selected state styling of the notification badge using the page header tools item styling. If this component is used elsewhere, custom styling may be needed to correctly indicate the selected state.
153
+ Note: The [page component](/components/page) currently handles the selected state styling of the notification badge using the page header tools item styling. If this component is used elsewhere, custom styling may be needed to correctly indicate the selected state.
154
154
 
155
155
  ### Accessibility
156
156
 
@@ -13306,22 +13306,20 @@ wrapperTag: div
13306
13306
  <tbody role="rowgroup">
13307
13307
  <tr role="row">
13308
13308
  <td role="cell" colspan="8">
13309
- <div class="pf-l-bullseye">
13310
- <div class="pf-c-empty-state pf-m-sm">
13311
- <div class="pf-c-empty-state__content">
13312
- <div class="pf-c-empty-state__icon">
13313
- <span
13314
- class="pf-c-spinner"
13315
- role="progressbar"
13316
- aria-label="Loading..."
13317
- >
13318
- <span class="pf-c-spinner__clipper"></span>
13319
- <span class="pf-c-spinner__lead-ball"></span>
13320
- <span class="pf-c-spinner__tail-ball"></span>
13321
- </span>
13322
- </div>
13323
- <h2 class="pf-c-title pf-m-lg">Loading</h2>
13309
+ <div class="pf-c-empty-state pf-m-sm">
13310
+ <div class="pf-c-empty-state__content">
13311
+ <div class="pf-c-empty-state__icon">
13312
+ <span
13313
+ class="pf-c-spinner"
13314
+ role="progressbar"
13315
+ aria-label="Loading..."
13316
+ >
13317
+ <span class="pf-c-spinner__clipper"></span>
13318
+ <span class="pf-c-spinner__lead-ball"></span>
13319
+ <span class="pf-c-spinner__tail-ball"></span>
13320
+ </span>
13324
13321
  </div>
13322
+ <h2 class="pf-c-title pf-m-lg">Loading</h2>
13325
13323
  </div>
13326
13324
  </div>
13327
13325
  </td>
@@ -14247,24 +14245,22 @@ wrapperTag: div
14247
14245
  <tbody role="rowgroup">
14248
14246
  <tr role="row">
14249
14247
  <td role="cell" colspan="8">
14250
- <div class="pf-l-bullseye">
14251
- <div class="pf-c-empty-state pf-m-sm">
14252
- <div class="pf-c-empty-state__content">
14253
- <i
14254
- class="fas fa- fa-search pf-c-empty-state__icon"
14255
- aria-hidden="true"
14256
- ></i>
14257
-
14258
- <h2 class="pf-c-title pf-m-lg">No results found</h2>
14259
- <div
14260
- class="pf-c-empty-state__body"
14261
- >No results match the filter criteria. Remove all filters or clear all filters to show results.</div>
14262
- <div class="pf-c-empty-state__primary">
14263
- <button
14264
- class="pf-c-button pf-m-link"
14265
- type="button"
14266
- >Clear all filters</button>
14267
- </div>
14248
+ <div class="pf-c-empty-state pf-m-sm">
14249
+ <div class="pf-c-empty-state__content">
14250
+ <i
14251
+ class="fas fa- fa-search pf-c-empty-state__icon"
14252
+ aria-hidden="true"
14253
+ ></i>
14254
+
14255
+ <h2 class="pf-c-title pf-m-lg">No results found</h2>
14256
+ <div
14257
+ class="pf-c-empty-state__body"
14258
+ >No results match the filter criteria. Remove all filters or clear all filters to show results.</div>
14259
+ <div class="pf-c-empty-state__primary">
14260
+ <button
14261
+ class="pf-c-button pf-m-link"
14262
+ type="button"
14263
+ >Clear all filters</button>
14268
14264
  </div>
14269
14265
  </div>
14270
14266
  </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.196.5",
4
+ "version": "4.196.8",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -18037,9 +18037,6 @@ ul.pf-c-list {
18037
18037
  --pf-c-menu--m-nav--c-menu--m-top--Bottom: calc(0 + var(--pf-c-menu--m-nav--c-menu--m-top--bottom-offset));
18038
18038
  --pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
18039
18039
  }
18040
- .pf-c-menu .pf-c-menu__content {
18041
- overflow: visible hidden;
18042
- }
18043
18040
  .pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
18044
18041
  overflow: visible;
18045
18042
  }
@@ -18074,7 +18071,7 @@ ul.pf-c-list {
18074
18071
  }
18075
18072
  .pf-c-menu.pf-m-drilldown > .pf-c-menu__content {
18076
18073
  flex-grow: 1;
18077
- overflow-x: hidden;
18074
+ overflow: hidden;
18078
18075
  transition: var(--pf-c-menu--m-drilldown__content--Transition);
18079
18076
  }
18080
18077
  .pf-c-menu.pf-m-drilldown.pf-m-drilled-in > .pf-c-menu__content > .pf-c-menu__list,
package/patternfly.css CHANGED
@@ -18164,9 +18164,6 @@ ul.pf-c-list {
18164
18164
  --pf-c-menu--m-nav--c-menu--m-top--Bottom: calc(0 + var(--pf-c-menu--m-nav--c-menu--m-top--bottom-offset));
18165
18165
  --pf-c-menu--m-nav__list-item--first-child--c-menu--Top: 0;
18166
18166
  }
18167
- .pf-c-menu .pf-c-menu__content {
18168
- overflow: visible hidden;
18169
- }
18170
18167
  .pf-c-menu .pf-c-menu__content .pf-c-menu .pf-c-menu__content {
18171
18168
  overflow: visible;
18172
18169
  }
@@ -18201,7 +18198,7 @@ ul.pf-c-list {
18201
18198
  }
18202
18199
  .pf-c-menu.pf-m-drilldown > .pf-c-menu__content {
18203
18200
  flex-grow: 1;
18204
- overflow-x: hidden;
18201
+ overflow: hidden;
18205
18202
  transition: var(--pf-c-menu--m-drilldown__content--Transition);
18206
18203
  }
18207
18204
  .pf-c-menu.pf-m-drilldown.pf-m-drilled-in > .pf-c-menu__content > .pf-c-menu__list,