@patternfly/react-styles 4.72.16 → 4.73.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.73.1 (2022-06-23)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-styles
9
+
10
+
11
+
12
+
13
+
14
+ # 4.73.0 (2022-06-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * **Table:** add nested sticky header support ([#7595](https://github.com/patternfly/patternfly-react/issues/7595)) ([3888a0b](https://github.com/patternfly/patternfly-react/commit/3888a0bdf5e4e964d2d8d936c5d81f7813d8ec0c))
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.72.17 (2022-06-22)
26
+
27
+ **Note:** Version bump only for package @patternfly/react-styles
28
+
29
+
30
+
31
+
32
+
6
33
  ## 4.72.16 (2022-06-22)
7
34
 
8
35
  **Note:** Version bump only for package @patternfly/react-styles
@@ -271,6 +271,9 @@
271
271
  --pf-global--link--Color--hover: #73bcf7;
272
272
  --pf-global--BackgroundColor--100: #1b1d21;
273
273
  }
274
+ :where(.pf-theme-dark) .pf-c-about-modal-box .pf-c-card {
275
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
276
+ }
274
277
  :where(.pf-theme-dark) .pf-c-about-modal-box .pf-c-button {
275
278
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
276
279
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -135,6 +135,9 @@
135
135
  --pf-global--link--Color--hover: #73bcf7;
136
136
  --pf-global--BackgroundColor--100: #1b1d21;
137
137
  }
138
+ :where(.pf-theme-dark) .pf-c-banner .pf-c-card {
139
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
140
+ }
138
141
  :where(.pf-theme-dark) .pf-c-banner .pf-c-button {
139
142
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
140
143
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -326,7 +326,8 @@
326
326
  font-weight: var(--pf-global--FontWeight--normal);
327
327
  }
328
328
 
329
- :where(.pf-theme-dark) .pf-c-card {
329
+ :where(.pf-theme-dark) .pf-c-card,
330
+ :where(.pf-theme-dark) .pf-c-card.pf-m-non-selectable-raised {
330
331
  --pf-c-card--BoxShadow: var(--pf-global--BoxShadow--md);
331
332
  --pf-c-card--m-hoverable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--lg);
332
333
  --pf-c-card--m-selectable-raised--hover--BoxShadow: var(--pf-global--BoxShadow--lg);
@@ -209,6 +209,9 @@
209
209
  --pf-global--link--Color--hover: #73bcf7;
210
210
  --pf-global--BackgroundColor--100: #1b1d21;
211
211
  }
212
+ :where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main .pf-c-card {
213
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
214
+ }
212
215
  :where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main .pf-c-button {
213
216
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
214
217
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -306,6 +306,10 @@
306
306
  --pf-global--link--Color--hover: #73bcf7;
307
307
  --pf-global--BackgroundColor--100: #1b1d21;
308
308
  }
309
+ :where(.pf-theme-dark) .pf-c-login__header .pf-c-card,
310
+ :where(.pf-theme-dark) .pf-c-login__footer .pf-c-card {
311
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
312
+ }
309
313
  :where(.pf-theme-dark) .pf-c-login__header .pf-c-button,
310
314
  :where(.pf-theme-dark) .pf-c-login__footer .pf-c-button {
311
315
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
@@ -167,13 +167,10 @@
167
167
  }
168
168
  }
169
169
  @media screen and (min-width: 1200px) {
170
- .pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
170
+ .pf-c-masthead {
171
171
  --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
172
172
  }
173
173
  }
174
- .pf-c-page:where(.pf-m-breakpoint-xl) .pf-c-masthead {
175
- --pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
176
- }
177
174
  .pf-c-masthead.pf-m-light {
178
175
  color: var(--pf-global--Color--100);
179
176
  --pf-c-masthead--BackgroundColor: var(--pf-c-masthead--m-light--BackgroundColor);
@@ -668,6 +665,9 @@
668
665
  --pf-global--link--Color--hover: #73bcf7;
669
666
  --pf-global--BackgroundColor--100: #1b1d21;
670
667
  }
668
+ :where(.pf-theme-dark) .pf-c-masthead .pf-c-card {
669
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
670
+ }
671
671
  :where(.pf-theme-dark) .pf-c-masthead .pf-c-button {
672
672
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
673
673
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
@@ -14,7 +14,6 @@ declare const _default: {
14
14
  "light_200": "pf-m-light-200",
15
15
  "light": "pf-m-light",
16
16
  "resizeObserver": "pf-m-resize-observer",
17
- "breakpointXl": "pf-m-breakpoint-xl",
18
17
  "fullHeight": "pf-m-full-height",
19
18
  "horizontal": "pf-m-horizontal",
20
19
  "displayStack": "pf-m-display-stack",
@@ -16,7 +16,6 @@ exports.default = {
16
16
  "light_200": "pf-m-light-200",
17
17
  "light": "pf-m-light",
18
18
  "resizeObserver": "pf-m-resize-observer",
19
- "breakpointXl": "pf-m-breakpoint-xl",
20
19
  "fullHeight": "pf-m-full-height",
21
20
  "horizontal": "pf-m-horizontal",
22
21
  "displayStack": "pf-m-display-stack",
@@ -14,7 +14,6 @@ export default {
14
14
  "light_200": "pf-m-light-200",
15
15
  "light": "pf-m-light",
16
16
  "resizeObserver": "pf-m-resize-observer",
17
- "breakpointXl": "pf-m-breakpoint-xl",
18
17
  "fullHeight": "pf-m-full-height",
19
18
  "horizontal": "pf-m-horizontal",
20
19
  "displayStack": "pf-m-display-stack",
@@ -66,6 +66,8 @@
66
66
  --pf-c-menu-toggle__icon--MarginRight: var(--pf-global--spacer--sm);
67
67
  --pf-c-menu-toggle__count--MarginLeft: var(--pf-global--spacer--sm);
68
68
  --pf-c-menu-toggle__controls--PaddingLeft: var(--pf-global--spacer--md);
69
+ --pf-c-menu-toggle__controls--MarginLeft: auto;
70
+ --pf-c-menu-toggle__controls--MarginRight: 0;
69
71
  --pf-c-menu-toggle__toggle-icon--MarginRight: var(--pf-global--spacer--sm);
70
72
  --pf-c-menu-toggle--m-plain__toggle-icon--Color: var(--pf-global--Color--200);
71
73
  --pf-c-menu-toggle--m-plain--hover__toggle-icon--Color: var(--pf-global--Color--100);
@@ -106,10 +108,8 @@
106
108
  --pf-c-menu-toggle--m-split-button--m-action--m-secondary--child--BorderLeftColor: var(--pf-global--primary-color--100);
107
109
  --pf-c-menu-toggle__button__controls--MarginRight: var(--pf-global--spacer--sm);
108
110
  --pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-global--spacer--sm);
109
- --pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginTop: calc(var(--pf-c-menu-toggle--PaddingTop) * -1);
110
- --pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginRight: calc(var(--pf-c-menu-toggle--PaddingRight) * -1);
111
- --pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom: calc(var(--pf-c-menu-toggle--PaddingBottom) * -1);
112
- --pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft: calc(var(--pf-c-menu-toggle--PaddingLeft) * -1);
111
+ --pf-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-global--spacer--md);
112
+ --pf-c-menu-toggle--m-typeahead__controls--MarginLeft: var(--pf-global--spacer--sm);
113
113
  --pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-global--spacer--sm);
114
114
  position: relative;
115
115
  display: inline-flex;
@@ -242,13 +242,18 @@
242
242
  --pf-c-menu-toggle--active--after--BorderBottomWidth: var(--pf-c-menu-toggle--m-full-height--active--after--BorderBottomWidth);
243
243
  height: 100%;
244
244
  }
245
+ .pf-c-menu-toggle.pf-m-typeahead {
246
+ --pf-c-menu-toggle__button__controls--MarginRight: var(--pf-c-menu-toggle--m-typeahead__controls--MarginRight);
247
+ --pf-c-menu-toggle__button__controls--MarginLeft: var(--pf-c-menu-toggle--m-typeahead__controls--MarginLeft);
248
+ align-items: stretch;
249
+ padding: 0;
250
+ }
245
251
  .pf-c-menu-toggle.pf-m-typeahead .pf-c-text-input-group {
246
252
  --pf-c-text-input-group__utilities--c-button--PaddingRight: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight);
253
+ --pf-c-text-input-group__utilities--MarginRight: 0;
247
254
  flex: 1;
248
- margin: var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginTop) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginRight) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginBottom) var(--pf-c-menu-toggle--m-typeahead--c-text-input-group--MarginLeft);
249
255
  }
250
256
  .pf-c-menu-toggle.pf-m-split-button {
251
- --pf-c-menu-toggle__toggle-icon--MarginRight: 0;
252
257
  padding: 0;
253
258
  }
254
259
  .pf-c-menu-toggle.pf-m-split-button > * {
@@ -352,14 +357,12 @@
352
357
  }
353
358
 
354
359
  .pf-c-menu-toggle__button {
360
+ --pf-c-menu-toggle__controls--PaddingLeft: 0;
361
+ --pf-c-menu-toggle__controls--MarginRight: var(--pf-c-menu-toggle__button__controls--MarginRight);
362
+ --pf-c-menu-toggle__controls--MarginLeft: var(--pf-c-menu-toggle__button__controls--MarginLeft);
355
363
  color: inherit;
356
364
  border: 0;
357
365
  }
358
- .pf-c-menu-toggle__button .pf-c-menu-toggle__controls {
359
- padding-left: 0;
360
- margin-right: var(--pf-c-menu-toggle__button__controls--MarginRight);
361
- margin-left: var(--pf-c-menu-toggle__button__controls--MarginLeft);
362
- }
363
366
 
364
367
  .pf-c-menu-toggle__icon {
365
368
  display: inline-flex;
@@ -384,7 +387,8 @@
384
387
 
385
388
  .pf-c-menu-toggle__controls {
386
389
  padding-left: var(--pf-c-menu-toggle__controls--PaddingLeft);
387
- margin-left: auto;
390
+ margin-right: var(--pf-c-menu-toggle__controls--MarginRight);
391
+ margin-left: var(--pf-c-menu-toggle__controls--MarginLeft);
388
392
  }
389
393
 
390
394
  .pf-c-menu-toggle__toggle-icon {
@@ -920,6 +920,11 @@
920
920
  --pf-global--link--Color--hover: #73bcf7;
921
921
  --pf-global--BackgroundColor--100: #1b1d21;
922
922
  }
923
+ :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card,
924
+ :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card,
925
+ :where(.pf-theme-dark) .pf-c-page__header .pf-c-card {
926
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
927
+ }
923
928
  :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button,
924
929
  :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button,
925
930
  :where(.pf-theme-dark) .pf-c-page__header .pf-c-button {
@@ -521,6 +521,9 @@
521
521
  --pf-global--link--Color--hover: #73bcf7;
522
522
  --pf-global--BackgroundColor--100: #1b1d21;
523
523
  }
524
+ :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-card {
525
+ --pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
526
+ }
524
527
  :where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
525
528
  --pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
526
529
  --pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "4.72.16",
3
+ "version": "4.73.1",
4
4
  "main": "dist/js/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "clean": "rimraf dist css"
20
20
  },
21
21
  "devDependencies": {
22
- "@patternfly/patternfly": "4.201.0",
22
+ "@patternfly/patternfly": "4.202.0",
23
23
  "camel-case": "^3.0.0",
24
24
  "css": "^2.2.3",
25
25
  "fs-extra": "^6.0.1",
@@ -29,5 +29,5 @@
29
29
  "typescript": "^4.0.0"
30
30
  },
31
31
  "license": "MIT",
32
- "gitHead": "0804117dff5e8c51c02747b477ae0e0d532d6a36"
32
+ "gitHead": "3155699598a7362211658d7e88207c6c34a18c9c"
33
33
  }