@patternfly/react-styles 4.32.2 → 4.33.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/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
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.33.2 (2022-01-06)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-styles
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.33.1 (2022-01-06)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-styles
17
+
18
+
19
+
20
+
21
+
22
+ # 4.33.0 (2022-01-05)
23
+
24
+
25
+ ### Features
26
+
27
+ * **Table:** allow a generic to be passed for cell props ([#6691](https://github.com/patternfly/patternfly-react/issues/6691)) ([e22c7be](https://github.com/patternfly/patternfly-react/commit/e22c7bebf630b7cd71e4dc434c593b69fa2fb2c8))
28
+
29
+
30
+
31
+
32
+
33
+ ## 4.32.3 (2022-01-04)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **docs:** fix broken theme-patternfly-org link ([#6726](https://github.com/patternfly/patternfly-react/issues/6726)) ([4ba15e9](https://github.com/patternfly/patternfly-react/commit/4ba15e9d9611afbb80d995e4d63f5478c4212a9e))
39
+
40
+
41
+
42
+
43
+
6
44
  ## 4.32.2 (2022-01-04)
7
45
 
8
46
  **Note:** Version bump only for package @patternfly/react-styles
@@ -8,6 +8,7 @@
8
8
  --pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
9
9
  --pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
10
10
  --pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
11
+ --pf-c-expandable-section__toggle-icon--MinWidth: 1em;
11
12
  --pf-c-expandable-section__toggle-icon--Color: var(--pf-global--Color--100);
12
13
  --pf-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
13
14
  --pf-c-expandable-section__toggle-icon--Rotate: 0;
@@ -30,6 +31,7 @@
30
31
  --pf-c-expandable-section--m-display-lg--after--BackgroundColor: transparent;
31
32
  --pf-c-expandable-section--m-display-lg--after--Width: var(--pf-global--BorderWidth--lg);
32
33
  --pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
34
+ --pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
33
35
  }
34
36
  .pf-c-expandable-section.pf-m-expanded {
35
37
  --pf-c-expandable-section__toggle--Color: var(--pf-c-expandable-section__toggle--m-expanded--Color);
@@ -64,6 +66,9 @@
64
66
  content: "";
65
67
  background-color: var(--pf-c-expandable-section--m-display-lg--after--BackgroundColor);
66
68
  }
69
+ .pf-c-expandable-section.pf-m-indented {
70
+ --pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
71
+ }
67
72
 
68
73
  .pf-c-expandable-section__toggle {
69
74
  display: flex;
@@ -82,6 +87,7 @@
82
87
  }
83
88
 
84
89
  .pf-c-expandable-section__toggle-icon {
90
+ min-width: var(--pf-c-expandable-section__toggle-icon--MinWidth);
85
91
  color: var(--pf-c-expandable-section__toggle-icon--Color);
86
92
  transition: var(--pf-c-expandable-section__toggle-icon--Transition);
87
93
  transform: rotate(var(--pf-c-expandable-section__toggle-icon--Rotate));
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  "detached": "pf-m-detached",
11
11
  "limitWidth": "pf-m-limit-width",
12
12
  "displayLg": "pf-m-display-lg",
13
+ "indented": "pf-m-indented",
13
14
  "active": "pf-m-active",
14
15
  "expandTop": "pf-m-expand-top",
15
16
  "overpassFont": "pf-m-overpass-font"
@@ -12,6 +12,7 @@ exports.default = {
12
12
  "detached": "pf-m-detached",
13
13
  "limitWidth": "pf-m-limit-width",
14
14
  "displayLg": "pf-m-display-lg",
15
+ "indented": "pf-m-indented",
15
16
  "active": "pf-m-active",
16
17
  "expandTop": "pf-m-expand-top",
17
18
  "overpassFont": "pf-m-overpass-font"
@@ -93,6 +93,7 @@
93
93
  --pf-c-label--m-compact--PaddingBottom: 0;
94
94
  --pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
95
95
  --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
96
+ --pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
96
97
  --pf-c-label__content--Color: var(--pf-global--Color--100);
97
98
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
98
99
  --pf-c-label__text--MaxWidth: 16ch;
@@ -107,6 +108,18 @@
107
108
  --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
108
109
  --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
109
110
  --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
111
+ --pf-c-label__editable-text--MaxWidth: 16ch;
112
+ --pf-c-label__editable-text--BorderWidth: 0;
113
+ --pf-c-label--m-editable--Cursor: pointer;
114
+ --pf-c-label--m-editable--TextDecoration: underline;
115
+ --pf-c-label--m-editable--TextDecorationStyle: dashed;
116
+ --pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
117
+ --pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
118
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
119
+ --pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
120
+ --pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
121
+ --pf-c-label--m-editable--m-editable-active--Cursor: auto;
122
+ --pf-c-label--m-editable--m-editable-active--TextDecoration: none;
110
123
  --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
111
124
  --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
112
125
  --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
@@ -125,6 +138,7 @@
125
138
  --pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
126
139
  --pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
127
140
  --pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
141
+ --pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
128
142
  }
129
143
  .pf-c-label.pf-m-blue {
130
144
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-blue--BackgroundColor);
@@ -215,7 +229,23 @@
215
229
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
216
230
  }
217
231
 
232
+ .pf-c-label.pf-m-editable {
233
+ text-decoration: var(--pf-c-label--m-editable--TextDecoration);
234
+ cursor: var(--pf-c-label--m-editable--Cursor);
235
+ text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
236
+ text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
237
+ text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
238
+ text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
239
+ }
240
+ .pf-c-label.pf-m-editable:hover {
241
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
242
+ }
243
+ .pf-c-label.pf-m-editable:focus {
244
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
245
+ }
218
246
  .pf-c-label.pf-m-editable-active {
247
+ --pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
248
+ --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
219
249
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
220
250
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
221
251
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
@@ -223,6 +253,13 @@
223
253
  .pf-c-label.pf-m-editable-active .pf-c-button {
224
254
  visibility: hidden;
225
255
  }
256
+ .pf-c-label .pf-c-label__editable-text {
257
+ overflow: hidden;
258
+ text-overflow: ellipsis;
259
+ white-space: nowrap;
260
+ max-width: var(--pf-c-label__editable-text--MaxWidth);
261
+ border-width: var(--pf-c-label__editable-text--BorderWidth);
262
+ }
226
263
  .pf-c-label .pf-c-button {
227
264
  --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
228
265
  --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  "button": "pf-c-button",
4
4
  "label": "pf-c-label",
5
5
  "labelContent": "pf-c-label__content",
6
+ "labelEditableText": "pf-c-label__editable-text",
6
7
  "labelIcon": "pf-c-label__icon",
7
8
  "labelText": "pf-c-label__text",
8
9
  "modifiers": {
@@ -15,6 +16,7 @@ declare const _default: {
15
16
  "cyan": "pf-m-cyan",
16
17
  "outline": "pf-m-outline",
17
18
  "overflow": "pf-m-overflow",
19
+ "editable": "pf-m-editable",
18
20
  "editableActive": "pf-m-editable-active"
19
21
  }
20
22
  };
@@ -5,6 +5,7 @@ exports.default = {
5
5
  "button": "pf-c-button",
6
6
  "label": "pf-c-label",
7
7
  "labelContent": "pf-c-label__content",
8
+ "labelEditableText": "pf-c-label__editable-text",
8
9
  "labelIcon": "pf-c-label__icon",
9
10
  "labelText": "pf-c-label__text",
10
11
  "modifiers": {
@@ -17,6 +18,7 @@ exports.default = {
17
18
  "cyan": "pf-m-cyan",
18
19
  "outline": "pf-m-outline",
19
20
  "overflow": "pf-m-overflow",
21
+ "editable": "pf-m-editable",
20
22
  "editableActive": "pf-m-editable-active"
21
23
  }
22
24
  };
@@ -1,4 +1,5 @@
1
- .pf-c-log-viewer__header {
1
+ .pf-c-log-viewer__header,
2
+ .pf-c-log-viewer__footer {
2
3
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
3
4
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
4
5
  --pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
@@ -107,7 +108,15 @@
107
108
  position: absolute;
108
109
  right: 0;
109
110
  left: var(--pf-c-log-viewer--m-line-numbers__list--Left);
110
- overflow: auto;
111
+ }
112
+ .pf-c-log-viewer.pf-m-line-numbers .pf-c-log-viewer__list::before {
113
+ position: absolute;
114
+ top: var(--pf-c-log-viewer--m-line-numbers__main--before--Top);
115
+ bottom: var(--pf-c-log-viewer--m-line-numbers__main--before--Bottom);
116
+ left: 0;
117
+ width: var(--pf-c-log-viewer--m-line-numbers__main--before--Width);
118
+ content: "";
119
+ background: var(--pf-c-log-viewer--m-line-numbers__main--before--BackgroundColor);
111
120
  }
112
121
  .pf-c-log-viewer .pf-c-toolbar {
113
122
  --pf-c-toolbar--PaddingTop: var(--pf-c-log-viewer--c-toolbar--PaddingTop);
@@ -125,10 +134,14 @@
125
134
  }
126
135
 
127
136
  .pf-c-log-viewer__header {
128
- color: var(--pf-global--Color--100);
129
137
  margin-bottom: var(--pf-c-log-viewer__header--MarginBottom);
130
138
  }
131
139
 
140
+ .pf-c-log-viewer__header,
141
+ .pf-c-log-viewer__footer {
142
+ color: var(--pf-global--Color--100);
143
+ }
144
+
132
145
  .pf-c-log-viewer__main {
133
146
  display: flex;
134
147
  flex-direction: column;
@@ -136,18 +149,6 @@
136
149
  background-color: var(--pf-c-log-viewer__main--BackgroundColor);
137
150
  border: var(--pf-c-log-viewer__main--BorderWidth) solid var(--pf-c-log-viewer__main--BorderColor);
138
151
  }
139
- .pf-m-line-numbers .pf-c-log-viewer__main {
140
- position: relative;
141
- }
142
- .pf-m-line-numbers .pf-c-log-viewer__main::before {
143
- position: absolute;
144
- top: var(--pf-c-log-viewer--m-line-numbers__main--before--Top);
145
- bottom: var(--pf-c-log-viewer--m-line-numbers__main--before--Bottom);
146
- left: var(--pf-c-log-viewer__index--Width);
147
- width: var(--pf-c-log-viewer--m-line-numbers__main--before--Width);
148
- content: "";
149
- background: var(--pf-c-log-viewer--m-line-numbers__main--before--BackgroundColor);
150
- }
151
152
 
152
153
  .pf-c-log-viewer__scroll-container {
153
154
  position: relative;
@@ -188,6 +189,7 @@
188
189
  font-family: var(--pf-c-log-viewer__index--FontFamily);
189
190
  font-size: var(--pf-c-log-viewer__index--FontSize);
190
191
  color: var(--pf-c-log-viewer__index--Color);
192
+ user-select: none;
191
193
  background-color: var(--pf-c-log-viewer__index--BackgroundColor);
192
194
  }
193
195
 
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  "button": "pf-c-button",
4
4
  "card": "pf-c-card",
5
5
  "logViewer": "pf-c-log-viewer",
6
+ "logViewerFooter": "pf-c-log-viewer__footer",
6
7
  "logViewerHeader": "pf-c-log-viewer__header",
7
8
  "logViewerIndex": "pf-c-log-viewer__index",
8
9
  "logViewerList": "pf-c-log-viewer__list",
@@ -5,6 +5,7 @@ exports.default = {
5
5
  "button": "pf-c-button",
6
6
  "card": "pf-c-card",
7
7
  "logViewer": "pf-c-log-viewer",
8
+ "logViewerFooter": "pf-c-log-viewer__footer",
8
9
  "logViewerHeader": "pf-c-log-viewer__header",
9
10
  "logViewerIndex": "pf-c-log-viewer__index",
10
11
  "logViewerList": "pf-c-log-viewer__list",
@@ -0,0 +1,3 @@
1
+ .ws-core-c-notification-badge {
2
+ background: var(--pf-global--BackgroundColor--dark-100);
3
+ }
@@ -0,0 +1,5 @@
1
+ import './NotificationBadge.css';
2
+ declare const _default: {
3
+ "wsCoreCNotificationBadge": "ws-core-c-notification-badge"
4
+ };
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ require('./NotificationBadge.css');
4
+ exports.default = {
5
+ "wsCoreCNotificationBadge": "ws-core-c-notification-badge"
6
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-styles",
3
- "version": "4.32.2",
3
+ "version": "4.33.2",
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.164.2",
22
+ "@patternfly/patternfly": "4.165.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.0.0"
30
30
  },
31
31
  "license": "MIT",
32
- "gitHead": "d54cbe2dbccd6f6d6539052d5d9c3b492b98328d"
32
+ "gitHead": "3227da5a80f1a78cf7f547c543a17f1a88e351c3"
33
33
  }