@patternfly/react-styles 4.86.10 → 4.86.13

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
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.86.13 (2022-09-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **table:** fix bug in expandable demo ([#7945](https://github.com/patternfly/patternfly-react/issues/7945)) ([711b196](https://github.com/patternfly/patternfly-react/commit/711b19609dd8023b157a99f6988ff8618ccee35d))
12
+
13
+
14
+
15
+
16
+
17
+ ## 4.86.12 (2022-09-07)
18
+
19
+ **Note:** Version bump only for package @patternfly/react-styles
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.86.11 (2022-09-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **dashboardheader:** update brand image src to absolute import path for codesandbox functionality ([#7935](https://github.com/patternfly/patternfly-react/issues/7935)) ([6190a7f](https://github.com/patternfly/patternfly-react/commit/6190a7fd51a9606c9f1bf06aa0ebd46215fbd341))
31
+
32
+
33
+
34
+
35
+
6
36
  ## 4.86.10 (2022-09-07)
7
37
 
8
38
  **Note:** Version bump only for package @patternfly/react-styles
@@ -43,6 +43,8 @@
43
43
  --pf-c-form-control--readonly--focus--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--sm));
44
44
  --pf-c-form-control--readonly--focus--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
45
45
  --pf-c-form-control--readonly--focus--BorderBottomColor: var(--pf-global--BorderColor--200);
46
+ --pf-c-form-control--readonly--m-plain--BackgroundColor: transparent;
47
+ --pf-c-form-control--readonly--m-plain--inset--base: 0;
46
48
  --pf-c-form-control--success--BorderBottomWidth: var(--pf-global--BorderWidth--md);
47
49
  --pf-c-form-control--success--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--success--BorderBottomWidth));
48
50
  --pf-c-form-control--success--BorderBottomColor: var(--pf-global--success-color--100);
@@ -163,6 +165,11 @@
163
165
  --pf-c-form-control--focus--BorderBottomWidth: var(--pf-c-form-control--readonly--focus--BorderBottomWidth);
164
166
  --pf-c-form-control--focus--BorderBottomColor: var(--pf-c-form-control--readonly--focus--BorderBottomColor);
165
167
  }
168
+ .pf-c-form-control[readonly].pf-m-plain {
169
+ --pf-c-form-control--readonly--BackgroundColor: var(--pf-c-form-control--readonly--m-plain--BackgroundColor);
170
+ --pf-c-form-control--inset--base: var(--pf-c-form-control--readonly--m-plain--inset--base);
171
+ border-color: transparent;
172
+ }
166
173
  .pf-c-form-control:hover {
167
174
  --pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--hover--BorderBottomColor);
168
175
  }
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  "formControl": "pf-c-form-control",
4
4
  "modifiers": {
5
5
  "success": "pf-m-success",
6
+ "plain": "pf-m-plain",
6
7
  "expanded": "pf-m-expanded",
7
8
  "icon": "pf-m-icon",
8
9
  "warning": "pf-m-warning",
@@ -5,6 +5,7 @@ exports.default = {
5
5
  "formControl": "pf-c-form-control",
6
6
  "modifiers": {
7
7
  "success": "pf-m-success",
8
+ "plain": "pf-m-plain",
8
9
  "expanded": "pf-m-expanded",
9
10
  "icon": "pf-m-icon",
10
11
  "warning": "pf-m-warning",
@@ -3,6 +3,7 @@ export default {
3
3
  "formControl": "pf-c-form-control",
4
4
  "modifiers": {
5
5
  "success": "pf-m-success",
6
+ "plain": "pf-m-plain",
6
7
  "expanded": "pf-m-expanded",
7
8
  "icon": "pf-m-icon",
8
9
  "warning": "pf-m-warning",
@@ -0,0 +1,119 @@
1
+ .pf-c-icon {
2
+ --pf-c-icon--Width: var(--pf-global--icon--FontSize--md);
3
+ --pf-c-icon--Height: var(--pf-global--icon--FontSize--md);
4
+ --pf-c-icon--m-inline--Width: 1em;
5
+ --pf-c-icon--m-inline--Height: 1em;
6
+ --pf-c-icon--m-sm--Width: var(--pf-global--icon--FontSize--sm);
7
+ --pf-c-icon--m-md--Width: var(--pf-global--icon--FontSize--md);
8
+ --pf-c-icon--m-lg--Width: var(--pf-global--icon--FontSize--lg);
9
+ --pf-c-icon--m-xl--Width: var(--pf-global--icon--FontSize--xl);
10
+ --pf-c-icon--m-sm--Height: var(--pf-global--icon--FontSize--sm);
11
+ --pf-c-icon--m-md--Height: var(--pf-global--icon--FontSize--md);
12
+ --pf-c-icon--m-lg--Height: var(--pf-global--icon--FontSize--lg);
13
+ --pf-c-icon--m-xl--Height: var(--pf-global--icon--FontSize--xl);
14
+ --pf-c-icon__content--Color: var(--pf-global--icon--Color--dark);
15
+ --pf-c-icon__content--m-danger--Color: var(--pf-global--danger-color--100);
16
+ --pf-c-icon__content--m-warning--Color: var(--pf-global--warning-color--100);
17
+ --pf-c-icon__content--m-success--Color: var(--pf-global--success-color--100);
18
+ --pf-c-icon__content--m-info--Color: var(--pf-global--info-color--100);
19
+ --pf-c-icon__content--m-default--Color: var(--pf-global--default-color--100);
20
+ --pf-c-icon__content--FontSize: var(--pf-global--icon--FontSize--md);
21
+ --pf-c-icon--m-inline__content--FontSize: 1em;
22
+ --pf-c-icon__content--svg--VerticalAlign: -.125em;
23
+ --pf-c-icon--m-sm--content--FontSize: var(--pf-global--icon--FontSize--sm);
24
+ --pf-c-icon--m-md--content--FontSize: var(--pf-global--icon--FontSize--md);
25
+ --pf-c-icon--m-lg--content--FontSize: var(--pf-global--icon--FontSize--lg);
26
+ --pf-c-icon--m-xl--content--FontSize: var(--pf-global--icon--FontSize--xl);
27
+ position: relative;
28
+ display: inline-flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+ width: var(--pf-c-icon--Width);
32
+ height: var(--pf-c-icon--Height);
33
+ }
34
+ .pf-c-icon.pf-m-inline {
35
+ --pf-c-icon--Width: var(--pf-c-icon--m-inline--Width);
36
+ --pf-c-icon--Height: var(--pf-c-icon--m-inline--Height);
37
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-inline__content--FontSize);
38
+ --pf-c-icon__content--Color: currentcolor;
39
+ line-height: 1;
40
+ }
41
+ .pf-c-icon.pf-m-inline .pf-c-spinner {
42
+ --pf-c-spinner--diameter: 1em;
43
+ }
44
+ .pf-c-icon.pf-m-sm {
45
+ --pf-c-icon--Width: var(--pf-c-icon--m-sm--Width);
46
+ --pf-c-icon--Height: var(--pf-c-icon--m-sm--Height);
47
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-sm--content--FontSize);
48
+ }
49
+ .pf-c-icon.pf-m-md {
50
+ --pf-c-icon--Width: var(--pf-c-icon--m-md--Width);
51
+ --pf-c-icon--Height: var(--pf-c-icon--m-md--Height);
52
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-md--content--FontSize);
53
+ }
54
+ .pf-c-icon.pf-m-lg {
55
+ --pf-c-icon--Width: var(--pf-c-icon--m-lg--Width);
56
+ --pf-c-icon--Height: var(--pf-c-icon--m-lg--Height);
57
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-lg--content--FontSize);
58
+ }
59
+ .pf-c-icon.pf-m-xl {
60
+ --pf-c-icon--Width: var(--pf-c-icon--m-xl--Width);
61
+ --pf-c-icon--Height: var(--pf-c-icon--m-xl--Height);
62
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-xl--content--FontSize);
63
+ }
64
+ .pf-c-icon.pf-m-in-progress {
65
+ --pf-c-icon__content--Opacity: 0;
66
+ --pf-c-icon__progress--Opacity: 1;
67
+ }
68
+
69
+ .pf-c-icon__content,
70
+ .pf-c-icon__progress {
71
+ font-size: var(--pf-c-icon__content--FontSize);
72
+ }
73
+ .pf-c-icon__content svg,
74
+ .pf-c-icon__progress svg {
75
+ vertical-align: var(--pf-c-icon__content--svg--VerticalAlign);
76
+ }
77
+ .pf-c-icon__content.pf-m-sm,
78
+ .pf-c-icon__progress.pf-m-sm {
79
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-sm--content--FontSize);
80
+ }
81
+ .pf-c-icon__content.pf-m-md,
82
+ .pf-c-icon__progress.pf-m-md {
83
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-md--content--FontSize);
84
+ }
85
+ .pf-c-icon__content.pf-m-lg,
86
+ .pf-c-icon__progress.pf-m-lg {
87
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-lg--content--FontSize);
88
+ }
89
+ .pf-c-icon__content.pf-m-xl,
90
+ .pf-c-icon__progress.pf-m-xl {
91
+ --pf-c-icon__content--FontSize: var(--pf-c-icon--m-xl--content--FontSize);
92
+ }
93
+
94
+ .pf-c-icon__content {
95
+ color: var(--pf-c-icon__content--Color);
96
+ opacity: var(--pf-c-icon__content--Opacity, 1);
97
+ }
98
+ .pf-c-icon__content.pf-m-danger {
99
+ --pf-c-icon__content--Color: var(--pf-c-icon__content--m-danger--Color);
100
+ }
101
+ .pf-c-icon__content.pf-m-warning {
102
+ --pf-c-icon__content--Color: var(--pf-c-icon__content--m-warning--Color);
103
+ }
104
+ .pf-c-icon__content.pf-m-success {
105
+ --pf-c-icon__content--Color: var(--pf-c-icon__content--m-success--Color);
106
+ }
107
+ .pf-c-icon__content.pf-m-info {
108
+ --pf-c-icon__content--Color: var(--pf-c-icon__content--m-info--Color);
109
+ }
110
+ .pf-c-icon__content.pf-m-default {
111
+ --pf-c-icon__content--Color: var(--pf-c-icon__content--m-default--Color);
112
+ }
113
+
114
+ .pf-c-icon__progress {
115
+ position: absolute;
116
+ top: calc(50% + 0.5 * var(--pf-c-icon__content--svg--VerticalAlign));
117
+ opacity: var(--pf-c-icon__progress--Opacity, 0);
118
+ transform: translateY(calc(-50% - 0.5 * var(--pf-c-icon__content--svg--VerticalAlign)));
119
+ }
@@ -0,0 +1,21 @@
1
+ import './icon.css';
2
+ declare const _default: {
3
+ "icon": "pf-c-icon",
4
+ "iconContent": "pf-c-icon__content",
5
+ "iconProgress": "pf-c-icon__progress",
6
+ "modifiers": {
7
+ "inline": "pf-m-inline",
8
+ "sm": "pf-m-sm",
9
+ "md": "pf-m-md",
10
+ "lg": "pf-m-lg",
11
+ "xl": "pf-m-xl",
12
+ "inProgress": "pf-m-in-progress",
13
+ "danger": "pf-m-danger",
14
+ "warning": "pf-m-warning",
15
+ "success": "pf-m-success",
16
+ "info": "pf-m-info",
17
+ "default": "pf-m-default"
18
+ },
19
+ "spinner": "pf-c-spinner"
20
+ };
21
+ export default _default;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ require('./icon.css');
4
+ exports.default = {
5
+ "icon": "pf-c-icon",
6
+ "iconContent": "pf-c-icon__content",
7
+ "iconProgress": "pf-c-icon__progress",
8
+ "modifiers": {
9
+ "inline": "pf-m-inline",
10
+ "sm": "pf-m-sm",
11
+ "md": "pf-m-md",
12
+ "lg": "pf-m-lg",
13
+ "xl": "pf-m-xl",
14
+ "inProgress": "pf-m-in-progress",
15
+ "danger": "pf-m-danger",
16
+ "warning": "pf-m-warning",
17
+ "success": "pf-m-success",
18
+ "info": "pf-m-info",
19
+ "default": "pf-m-default"
20
+ },
21
+ "spinner": "pf-c-spinner"
22
+ };
@@ -0,0 +1,20 @@
1
+ import('./icon.css');
2
+ export default {
3
+ "icon": "pf-c-icon",
4
+ "iconContent": "pf-c-icon__content",
5
+ "iconProgress": "pf-c-icon__progress",
6
+ "modifiers": {
7
+ "inline": "pf-m-inline",
8
+ "sm": "pf-m-sm",
9
+ "md": "pf-m-md",
10
+ "lg": "pf-m-lg",
11
+ "xl": "pf-m-xl",
12
+ "inProgress": "pf-m-in-progress",
13
+ "danger": "pf-m-danger",
14
+ "warning": "pf-m-warning",
15
+ "success": "pf-m-success",
16
+ "info": "pf-m-info",
17
+ "default": "pf-m-default"
18
+ },
19
+ "spinner": "pf-c-spinner"
20
+ };
@@ -53,8 +53,7 @@
53
53
  --pf-c-progress-stepper--m-center__step-connector--JustifyContent: center;
54
54
  --pf-c-progress-stepper--m-center__step-main--MarginRight: var(--pf-global--spacer--xs);
55
55
  --pf-c-progress-stepper--m-center__step-main--MarginLeft: var(--pf-global--spacer--xs);
56
- --pf-c-progress-stepper--m-center__step-title--TextAlign: center;
57
- --pf-c-progress-stepper--m-center__step-description--TextAlign: center;
56
+ --pf-c-progress-stepper--m-center__step-main--TextAlign: center;
58
57
  --pf-c-progress-stepper--m-center__step-description--MarginRight: 0;
59
58
  --pf-c-progress-stepper--m-center__step-description--MarginLeft: 0;
60
59
  --pf-c-progress-stepper--GridTemplateRows: auto 1fr;
@@ -148,10 +147,11 @@
148
147
  --pf-c-progress-stepper__step-connector--JustifyContent: var(--pf-c-progress-stepper--m-center__step-connector--JustifyContent);
149
148
  --pf-c-progress-stepper__step-main--MarginRight: var(--pf-c-progress-stepper--m-center__step-main--MarginRight);
150
149
  --pf-c-progress-stepper__step-main--MarginLeft: var(--pf-c-progress-stepper--m-center__step-main--MarginLeft);
151
- --pf-c-progress-stepper__step-title--TextAlign: var(--pf-c-progress-stepper--m-center__step-title--TextAlign);
150
+ --pf-c-progress-stepper--step-main--TextAlign: var(--pf-c-progress-stepper--m-center__step-main--TextAlign, auto);
151
+ --pf-c-progress-stepper__step-title--TextAlign: var(--pf-c-progress-stepper--m-center__step-title--TextAlign, auto);
152
152
  --pf-c-progress-stepper__step-description--MarginRight: var(--pf-c-progress-stepper--m-center__step-description--MarginRight);
153
153
  --pf-c-progress-stepper__step-description--MarginLeft: var(--pf-c-progress-stepper--m-center__step-description--MarginLeft);
154
- --pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign);
154
+ --pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign, auto);
155
155
  --pf-c-progress-stepper--m-vertical__step-main--MarginRight: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginRight);
156
156
  --pf-c-progress-stepper--m-vertical__step-main--MarginLeft: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginLeft);
157
157
  grid-template-columns: var(--pf-c-progress-stepper--m-center--GridTemplateColumns);
@@ -279,7 +279,10 @@
279
279
  }
280
280
 
281
281
  .pf-c-progress-stepper__step-main {
282
+ min-width: 0;
282
283
  margin: var(--pf-c-progress-stepper__step-main--MarginTop) var(--pf-c-progress-stepper__step-main--MarginRight) var(--pf-c-progress-stepper__step-main--MarginBottom) var(--pf-c-progress-stepper__step-main--MarginLeft);
284
+ text-align: var(--pf-c-progress-stepper--step-main--TextAlign, auto);
285
+ overflow-wrap: anywhere;
283
286
  }
284
287
  .pf-c-progress-stepper__step:not(:last-of-type) > .pf-c-progress-stepper__step-main::before {
285
288
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "4.86.10",
3
+ "version": "4.86.13",
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.212.1",
22
+ "@patternfly/patternfly": "4.214.1",
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.7.4"
30
30
  },
31
31
  "license": "MIT",
32
- "gitHead": "fb205f92e45be059fa7d0d3fa636e101a66a46aa"
32
+ "gitHead": "3a7eeaa0506023b86f7c47d091db7fb718557078"
33
33
  }