@patternfly/patternfly 4.176.0 → 4.177.0

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.
Files changed (63) hide show
  1. package/UPGRADE-GUIDE.md +3 -0
  2. package/components/Avatar/avatar.css +224 -0
  3. package/components/Avatar/avatar.scss +18 -0
  4. package/components/CodeEditor/code-editor.css +8 -0
  5. package/components/CodeEditor/code-editor.scss +11 -1
  6. package/components/Dropdown/dropdown.css +10 -9
  7. package/components/Dropdown/dropdown.scss +17 -16
  8. package/components/Label/label.css +43 -12
  9. package/components/Label/label.scss +45 -13
  10. package/components/Nav/nav.css +11 -0
  11. package/components/Nav/nav.scss +14 -0
  12. package/docs/components/Avatar/examples/Avatar.md +53 -5
  13. package/docs/components/Brand/examples/Brand.md +6 -6
  14. package/docs/components/CodeEditor/examples/CodeEditor.md +71 -10
  15. package/docs/components/DataList/examples/DataList.md +11 -11
  16. package/docs/components/DescriptionList/examples/DescriptionList.md +19 -19
  17. package/docs/components/Divider/examples/Divider.md +2 -2
  18. package/docs/components/Drawer/examples/Drawer.md +27 -27
  19. package/docs/components/Dropdown/examples/Dropdown.md +2 -2
  20. package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
  21. package/docs/components/Label/examples/Label.md +33 -67
  22. package/docs/components/LabelGroup/examples/LabelGroup.md +64 -107
  23. package/docs/components/LogViewer/examples/LogViewer.md +28 -28
  24. package/docs/components/Masthead/examples/masthead.md +10 -10
  25. package/docs/components/Menu/examples/Menu.md +45 -44
  26. package/docs/components/Nav/examples/Navigation.md +23 -44
  27. package/docs/components/Page/examples/Page.md +4 -4
  28. package/docs/components/Pagination/examples/Pagination.md +2 -2
  29. package/docs/components/Sidebar/examples/Sidebar.md +14 -14
  30. package/docs/components/Table/examples/Table.md +8 -8
  31. package/docs/components/Tabs/examples/Tabs.md +27 -27
  32. package/docs/components/Toolbar/examples/Toolbar.md +31 -31
  33. package/docs/demos/Alert/examples/Alert.md +1 -2
  34. package/docs/demos/BackToTop/examples/BackToTop.md +1 -202
  35. package/docs/demos/Card/examples/Card.md +42 -36
  36. package/docs/demos/ContextSelector/examples/ContextSelector.md +1166 -17
  37. package/docs/demos/Drawer/examples/Drawer.md +3 -3
  38. package/docs/demos/JumpLinks/examples/JumpLinks.md +4 -8
  39. package/docs/demos/Masthead/examples/Masthead.md +14 -6
  40. package/docs/demos/Nav/examples/Nav.md +8 -9
  41. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +5 -5
  42. package/docs/demos/Page/examples/Page.md +4004 -989
  43. package/docs/demos/Table/examples/Table.md +15623 -12413
  44. package/docs/demos/Tabs/examples/Tabs.md +0 -96
  45. package/docs/demos/Toolbar/examples/Toolbar.md +1 -2
  46. package/docs/demos/Wizard/examples/Wizard.md +2 -2
  47. package/docs/layouts/Flex/examples/Flex.md +1 -1
  48. package/docs/layouts/Gallery/examples/Gallery.md +2 -2
  49. package/docs/layouts/Grid/examples/Grid.md +9 -9
  50. package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
  51. package/docs/utilities/Alignment/examples/Alignment.md +1 -1
  52. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
  53. package/docs/utilities/Display/examples/Display.md +1 -1
  54. package/docs/utilities/Flex/examples/Flex.md +1 -1
  55. package/docs/utilities/Float/examples/Float.md +1 -1
  56. package/docs/utilities/Sizing/examples/Sizing.md +12 -0
  57. package/docs/utilities/Spacing/examples/Spacing.md +1 -1
  58. package/docs/utilities/Text/examples/Text.md +1 -1
  59. package/package.json +1 -1
  60. package/patternfly-no-reset.css +296 -21
  61. package/patternfly.css +296 -21
  62. package/patternfly.min.css +1 -1
  63. package/patternfly.min.css.map +1 -1
package/UPGRADE-GUIDE.md CHANGED
@@ -3,6 +3,9 @@ id: Upgrade guide
3
3
  section: developer-resources
4
4
  ---
5
5
 
6
+ **Note:** this guide details upgrading from PatternFly v3 to v4, and references [major release 2020.07](/developer-resources/release-notes/html/#2020.07-release-notes-2020-06-05) from 2020-06-05.
7
+ <hr/>
8
+
6
9
  Hey, Flyers! We've been busy for the past 12 weeks working on significant changes to PatternFly's HTML and CSS. We made our components mobile-first and changed colors and the default font. This upgrade guide details **what** was broken and **how** to fix it. To learn **why** a change was made, check out the linked pull requests.
7
10
 
8
11
  ## Global
@@ -4,6 +4,14 @@
4
4
  --pf-c-avatar--BorderRadius: var(--pf-global--BorderRadius--lg);
5
5
  --pf-c-avatar--Width: 2.25rem;
6
6
  --pf-c-avatar--Height: 2.25rem;
7
+ --pf-c-avatar--m-sm--Width: 1.5rem;
8
+ --pf-c-avatar--m-sm--Height: 1.5rem;
9
+ --pf-c-avatar--m-md--Width: 2.25rem;
10
+ --pf-c-avatar--m-md--Height: 2.25rem;
11
+ --pf-c-avatar--m-lg--Width: 4.5rem;
12
+ --pf-c-avatar--m-lg--Height: 4.5rem;
13
+ --pf-c-avatar--m-xl--Width: 8rem;
14
+ --pf-c-avatar--m-xl--Height: 8rem;
7
15
  --pf-c-avatar--m-light--BorderColor: var(--pf-global--BorderColor--dark-100);
8
16
  --pf-c-avatar--m-light--BorderWidth: var(--pf-global--BorderWidth--sm);
9
17
  --pf-c-avatar--m-dark--BorderColor: var(--pf-global--palette--black-700);
@@ -20,4 +28,220 @@
20
28
  .pf-c-avatar.pf-m-dark {
21
29
  --pf-c-avatar--BorderColor: var(--pf-c-avatar--m-dark--BorderColor);
22
30
  --pf-c-avatar--BorderWidth: var(--pf-c-avatar--m-dark--BorderWidth);
31
+ }
32
+ .pf-c-avatar.pf-m-sm {
33
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width);
34
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height);
35
+ }
36
+ @media (min-width: 576px) {
37
+ .pf-c-avatar.pf-m-sm {
38
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width));
39
+ }
40
+ }
41
+ @media (min-width: 768px) {
42
+ .pf-c-avatar.pf-m-sm {
43
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width)));
44
+ }
45
+ }
46
+ @media (min-width: 992px) {
47
+ .pf-c-avatar.pf-m-sm {
48
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width))));
49
+ }
50
+ }
51
+ @media (min-width: 1200px) {
52
+ .pf-c-avatar.pf-m-sm {
53
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-xl, var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width)))));
54
+ }
55
+ }
56
+ @media (min-width: 1450px) {
57
+ .pf-c-avatar.pf-m-sm {
58
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-2xl, var(--pf-c-avatar--m-sm--Width-on-xl, var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width))))));
59
+ }
60
+ }
61
+ @media (min-width: 576px) {
62
+ .pf-c-avatar.pf-m-sm {
63
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height));
64
+ }
65
+ }
66
+ @media (min-width: 768px) {
67
+ .pf-c-avatar.pf-m-sm {
68
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height)));
69
+ }
70
+ }
71
+ @media (min-width: 992px) {
72
+ .pf-c-avatar.pf-m-sm {
73
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height))));
74
+ }
75
+ }
76
+ @media (min-width: 1200px) {
77
+ .pf-c-avatar.pf-m-sm {
78
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-xl, var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height)))));
79
+ }
80
+ }
81
+ @media (min-width: 1450px) {
82
+ .pf-c-avatar.pf-m-sm {
83
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-2xl, var(--pf-c-avatar--m-sm--Height-on-xl, var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height))))));
84
+ }
85
+ }
86
+ .pf-c-avatar.pf-m-md {
87
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width);
88
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height);
89
+ }
90
+ @media (min-width: 576px) {
91
+ .pf-c-avatar.pf-m-md {
92
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width));
93
+ }
94
+ }
95
+ @media (min-width: 768px) {
96
+ .pf-c-avatar.pf-m-md {
97
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width)));
98
+ }
99
+ }
100
+ @media (min-width: 992px) {
101
+ .pf-c-avatar.pf-m-md {
102
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width))));
103
+ }
104
+ }
105
+ @media (min-width: 1200px) {
106
+ .pf-c-avatar.pf-m-md {
107
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-xl, var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width)))));
108
+ }
109
+ }
110
+ @media (min-width: 1450px) {
111
+ .pf-c-avatar.pf-m-md {
112
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-2xl, var(--pf-c-avatar--m-md--Width-on-xl, var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width))))));
113
+ }
114
+ }
115
+ @media (min-width: 576px) {
116
+ .pf-c-avatar.pf-m-md {
117
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height));
118
+ }
119
+ }
120
+ @media (min-width: 768px) {
121
+ .pf-c-avatar.pf-m-md {
122
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height)));
123
+ }
124
+ }
125
+ @media (min-width: 992px) {
126
+ .pf-c-avatar.pf-m-md {
127
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height))));
128
+ }
129
+ }
130
+ @media (min-width: 1200px) {
131
+ .pf-c-avatar.pf-m-md {
132
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-xl, var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height)))));
133
+ }
134
+ }
135
+ @media (min-width: 1450px) {
136
+ .pf-c-avatar.pf-m-md {
137
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-2xl, var(--pf-c-avatar--m-md--Height-on-xl, var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height))))));
138
+ }
139
+ }
140
+ .pf-c-avatar.pf-m-lg {
141
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width);
142
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height);
143
+ }
144
+ @media (min-width: 576px) {
145
+ .pf-c-avatar.pf-m-lg {
146
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width));
147
+ }
148
+ }
149
+ @media (min-width: 768px) {
150
+ .pf-c-avatar.pf-m-lg {
151
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width)));
152
+ }
153
+ }
154
+ @media (min-width: 992px) {
155
+ .pf-c-avatar.pf-m-lg {
156
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width))));
157
+ }
158
+ }
159
+ @media (min-width: 1200px) {
160
+ .pf-c-avatar.pf-m-lg {
161
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-xl, var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width)))));
162
+ }
163
+ }
164
+ @media (min-width: 1450px) {
165
+ .pf-c-avatar.pf-m-lg {
166
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-2xl, var(--pf-c-avatar--m-lg--Width-on-xl, var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width))))));
167
+ }
168
+ }
169
+ @media (min-width: 576px) {
170
+ .pf-c-avatar.pf-m-lg {
171
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height));
172
+ }
173
+ }
174
+ @media (min-width: 768px) {
175
+ .pf-c-avatar.pf-m-lg {
176
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height)));
177
+ }
178
+ }
179
+ @media (min-width: 992px) {
180
+ .pf-c-avatar.pf-m-lg {
181
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height))));
182
+ }
183
+ }
184
+ @media (min-width: 1200px) {
185
+ .pf-c-avatar.pf-m-lg {
186
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-xl, var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height)))));
187
+ }
188
+ }
189
+ @media (min-width: 1450px) {
190
+ .pf-c-avatar.pf-m-lg {
191
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-2xl, var(--pf-c-avatar--m-lg--Height-on-xl, var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height))))));
192
+ }
193
+ }
194
+ .pf-c-avatar.pf-m-xl {
195
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width);
196
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height);
197
+ }
198
+ @media (min-width: 576px) {
199
+ .pf-c-avatar.pf-m-xl {
200
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width));
201
+ }
202
+ }
203
+ @media (min-width: 768px) {
204
+ .pf-c-avatar.pf-m-xl {
205
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width)));
206
+ }
207
+ }
208
+ @media (min-width: 992px) {
209
+ .pf-c-avatar.pf-m-xl {
210
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width))));
211
+ }
212
+ }
213
+ @media (min-width: 1200px) {
214
+ .pf-c-avatar.pf-m-xl {
215
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-xl, var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width)))));
216
+ }
217
+ }
218
+ @media (min-width: 1450px) {
219
+ .pf-c-avatar.pf-m-xl {
220
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-2xl, var(--pf-c-avatar--m-xl--Width-on-xl, var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width))))));
221
+ }
222
+ }
223
+ @media (min-width: 576px) {
224
+ .pf-c-avatar.pf-m-xl {
225
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height));
226
+ }
227
+ }
228
+ @media (min-width: 768px) {
229
+ .pf-c-avatar.pf-m-xl {
230
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height)));
231
+ }
232
+ }
233
+ @media (min-width: 992px) {
234
+ .pf-c-avatar.pf-m-xl {
235
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))));
236
+ }
237
+ }
238
+ @media (min-width: 1200px) {
239
+ .pf-c-avatar.pf-m-xl {
240
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height)))));
241
+ }
242
+ }
243
+ @media (min-width: 1450px) {
244
+ .pf-c-avatar.pf-m-xl {
245
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-2xl, var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))))));
246
+ }
23
247
  }
@@ -1,9 +1,20 @@
1
+ $pf-c-avatar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
+ $sizes: "sm", "md", "lg", "xl";
3
+
1
4
  .pf-c-avatar {
2
5
  --pf-c-avatar--BorderColor: transparent;
3
6
  --pf-c-avatar--BorderWidth: 0;
4
7
  --pf-c-avatar--BorderRadius: var(--pf-global--BorderRadius--lg);
5
8
  --pf-c-avatar--Width: #{pf-size-prem(36px)};
6
9
  --pf-c-avatar--Height: #{pf-size-prem(36px)};
10
+ --pf-c-avatar--m-sm--Width: #{pf-size-prem(24px)};
11
+ --pf-c-avatar--m-sm--Height: #{pf-size-prem(24px)};
12
+ --pf-c-avatar--m-md--Width: #{pf-size-prem(36px)};
13
+ --pf-c-avatar--m-md--Height: #{pf-size-prem(36px)};
14
+ --pf-c-avatar--m-lg--Width: #{pf-size-prem(72px)};
15
+ --pf-c-avatar--m-lg--Height: #{pf-size-prem(72px)};
16
+ --pf-c-avatar--m-xl--Width: #{pf-size-prem(128px)};
17
+ --pf-c-avatar--m-xl--Height: #{pf-size-prem(128px)};
7
18
 
8
19
  // Light
9
20
  --pf-c-avatar--m-light--BorderColor: var(--pf-global--BorderColor--dark-100);
@@ -27,4 +38,11 @@
27
38
  --pf-c-avatar--BorderColor: var(--pf-c-avatar--m-dark--BorderColor);
28
39
  --pf-c-avatar--BorderWidth: var(--pf-c-avatar--m-dark--BorderWidth);
29
40
  }
41
+
42
+ @each $size in $sizes {
43
+ &.pf-m-#{$size} {
44
+ @include pf-build-css-variable-stack("--pf-c-avatar--Width", "--pf-c-avatar--m-#{$size}--Width", $pf-c-avatar--breakpoint-map);
45
+ @include pf-build-css-variable-stack("--pf-c-avatar--Height", "--pf-c-avatar--m-#{$size}--Height", $pf-c-avatar--breakpoint-map);
46
+ }
47
+ }
30
48
  }
@@ -19,6 +19,8 @@
19
19
  --pf-c-code-editor__code--PaddingLeft: var(--pf-global--spacer--sm);
20
20
  --pf-c-code-editor__code-pre--FontSize: var(--pf-global--FontSize--sm);
21
21
  --pf-c-code-editor__code-pre--FontFamily: var(--pf-global--FontFamily--monospace);
22
+ --pf-c-code-editor__header-main--PaddingRight: var(--pf-global--spacer--sm);
23
+ --pf-c-code-editor__header-main--PaddingLeft: var(--pf-global--spacer--sm);
22
24
  --pf-c-code-editor__tab--BackgroundColor: var(--pf-global--BackgroundColor--100);
23
25
  --pf-c-code-editor__tab--Color: var(--pf-global--Color--200);
24
26
  --pf-c-code-editor__tab--PaddingTop: var(--pf-global--spacer--form-element);
@@ -67,6 +69,12 @@
67
69
  border-bottom-color: var(--pf-c-code-editor__controls--c-button--m-control--disabled--after--BorderBottomColor);
68
70
  }
69
71
 
72
+ .pf-c-code-editor__header-main {
73
+ flex-grow: 1;
74
+ padding-right: var(--pf-c-code-editor__header-main--PaddingRight);
75
+ padding-left: var(--pf-c-code-editor__header-main--PaddingLeft);
76
+ }
77
+
70
78
  .pf-c-code-editor__main {
71
79
  position: relative;
72
80
  background-color: var(--pf-c-code-editor__main--BackgroundColor);
@@ -27,6 +27,10 @@
27
27
  --pf-c-code-editor__code-pre--FontSize: var(--pf-global--FontSize--sm);
28
28
  --pf-c-code-editor__code-pre--FontFamily: var(--pf-global--FontFamily--monospace);
29
29
 
30
+ // content
31
+ --pf-c-code-editor__header-main--PaddingRight: var(--pf-global--spacer--sm);
32
+ --pf-c-code-editor__header-main--PaddingLeft: var(--pf-global--spacer--sm);
33
+
30
34
  // tab
31
35
  --pf-c-code-editor__tab--BackgroundColor: var(--pf-global--BackgroundColor--100);
32
36
  --pf-c-code-editor__tab--Color: var(--pf-global--Color--200);
@@ -86,6 +90,12 @@
86
90
  }
87
91
  }
88
92
 
93
+ .pf-c-code-editor__header-main {
94
+ flex-grow: 1;
95
+ padding-right: var(--pf-c-code-editor__header-main--PaddingRight);
96
+ padding-left: var(--pf-c-code-editor__header-main--PaddingLeft);
97
+ }
98
+
89
99
  .pf-c-code-editor__main {
90
100
  position: relative;
91
101
  background-color: var(--pf-c-code-editor__main--BackgroundColor);
@@ -142,7 +152,7 @@
142
152
  display: flex;
143
153
  align-items: center;
144
154
  padding: var(--pf-c-code-editor__tab--PaddingTop) var(--pf-c-code-editor__tab--PaddingRight) var(--pf-c-code-editor__tab--PaddingBottom) var(--pf-c-code-editor__tab--PaddingLeft);
145
- margin-left: auto;
155
+ margin-left: auto; // remove at breaking change
146
156
  color: var(--pf-c-code-editor__tab--Color);
147
157
  background-color: var(--pf-c-code-editor__tab--BackgroundColor);
148
158
  border-color: var(--pf-c-code-editor__tab--BorderColor);
@@ -35,6 +35,7 @@
35
35
  --pf-c-dropdown__toggle--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
36
36
  --pf-c-dropdown__toggle--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
37
37
  --pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--200);
38
+ --pf-c-dropdown__toggle--m-primary--disabled--Color: var(--pf-global--Color--100);
38
39
  --pf-c-dropdown__toggle--m-secondary--Color: var(--pf-global--primary-color--100);
39
40
  --pf-c-dropdown__toggle--m-secondary--BorderRadius: var(--pf-global--BorderRadius--sm);
40
41
  --pf-c-dropdown__toggle--m-secondary--BackgroundColor: transparent;
@@ -193,6 +194,7 @@
193
194
  border-color: var(--pf-c-dropdown__toggle--before--BorderTopColor) var(--pf-c-dropdown__toggle--before--BorderRightColor) var(--pf-c-dropdown__toggle--before--BorderBottomColor) var(--pf-c-dropdown__toggle--before--BorderLeftColor);
194
195
  }
195
196
  .pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
197
+ --pf-c-dropdown__toggle--m-primary--Color: var(--pf-c-dropdown__toggle--m-primary--disabled--Color);
196
198
  --pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
197
199
  pointer-events: none;
198
200
  }
@@ -285,14 +287,14 @@
285
287
  .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):hover::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:hover::before {
286
288
  --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--hover--before--BorderBottomColor);
287
289
  }
288
- .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):active::before, .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary).pf-m-active::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:active::before {
289
- --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
290
- border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
291
- }
292
290
  .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):focus::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:focus::before {
293
291
  --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);
294
292
  border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);
295
293
  }
294
+ .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):active::before, .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary).pf-m-active::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:active::before {
295
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
296
+ border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
297
+ }
296
298
  .pf-m-expanded > .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary)::before, .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button::before {
297
299
  --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomColor);
298
300
  border-bottom-width: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth);
@@ -320,14 +322,13 @@
320
322
  --pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--disabled--Color);
321
323
  }
322
324
  .pf-c-dropdown__toggle.pf-m-primary {
323
- border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
324
- }
325
- .pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
326
325
  --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
327
326
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
328
327
  --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
328
+ border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
329
329
  }
330
- .pf-c-dropdown__toggle.pf-m-primary::before {
330
+ .pf-c-dropdown__toggle.pf-m-primary::before,
331
+ .pf-c-dropdown__toggle.pf-m-primary .pf-c-dropdown__toggle-button::before {
331
332
  border: 0;
332
333
  }
333
334
  .pf-c-dropdown__toggle.pf-m-primary:hover {
@@ -339,7 +340,7 @@
339
340
  .pf-c-dropdown__toggle.pf-m-primary:active, .pf-c-dropdown__toggle.pf-m-primary.pf-m-active {
340
341
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
341
342
  }
342
- .pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
343
+ .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-primary {
343
344
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
344
345
  }
345
346
  .pf-c-dropdown__toggle.pf-m-secondary {
@@ -42,6 +42,7 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
42
42
  --pf-c-dropdown__toggle--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
43
43
  --pf-c-dropdown__toggle--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
44
44
  --pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--200);
45
+ --pf-c-dropdown__toggle--m-primary--disabled--Color: var(--pf-global--Color--100);
45
46
 
46
47
  // Secondary
47
48
  --pf-c-dropdown__toggle--m-secondary--Color: var(--pf-global--primary-color--100);
@@ -249,6 +250,7 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
249
250
 
250
251
  &.pf-m-disabled,
251
252
  &:disabled {
253
+ --pf-c-dropdown__toggle--m-primary--Color: var(--pf-c-dropdown__toggle--m-primary--disabled--Color);
252
254
  --pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
253
255
 
254
256
  pointer-events: none;
@@ -380,22 +382,22 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
380
382
  }
381
383
  }
382
384
 
383
- &:not(.pf-m-action):not(.pf-m-secondary):active,
384
- &:not(.pf-m-action):not(.pf-m-secondary).pf-m-active,
385
- &.pf-m-action .pf-c-dropdown__toggle-button:active {
385
+ &:not(.pf-m-action):not(.pf-m-secondary):focus,
386
+ &.pf-m-action .pf-c-dropdown__toggle-button:focus {
386
387
  &::before {
387
- --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
388
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);
388
389
 
389
- border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
390
+ border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);
390
391
  }
391
392
  }
392
393
 
393
- &:not(.pf-m-action):not(.pf-m-secondary):focus,
394
- &.pf-m-action .pf-c-dropdown__toggle-button:focus {
394
+ &:not(.pf-m-action):not(.pf-m-secondary):active,
395
+ &:not(.pf-m-action):not(.pf-m-secondary).pf-m-active,
396
+ &.pf-m-action .pf-c-dropdown__toggle-button:active {
395
397
  &::before {
396
- --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);
398
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
397
399
 
398
- border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);
400
+ border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
399
401
  }
400
402
  }
401
403
 
@@ -444,15 +446,14 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
444
446
  }
445
447
 
446
448
  &.pf-m-primary {
447
- &:not(.pf-m-disabled):not([disabled]) {
448
- --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
449
- --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
450
- --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
451
- }
449
+ --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
450
+ --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
451
+ --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
452
452
 
453
453
  border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
454
454
 
455
- &::before {
455
+ &::before,
456
+ .pf-c-dropdown__toggle-button::before {
456
457
  border: 0;
457
458
  }
458
459
 
@@ -469,7 +470,7 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
469
470
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
470
471
  }
471
472
 
472
- .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
473
+ .pf-m-expanded > & {
473
474
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
474
475
  }
475
476
  }
@@ -95,7 +95,9 @@
95
95
  --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
96
96
  --pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
97
97
  --pf-c-label__content--Color: var(--pf-global--Color--100);
98
+ --pf-c-label__content--MaxWidth: 100%;
98
99
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
100
+ --pf-c-label--m-editable__content--MaxWidth: 16ch;
99
101
  --pf-c-label__text--MaxWidth: 16ch;
100
102
  --pf-c-label__icon--Color: var(--pf-global--Color--100);
101
103
  --pf-c-label__icon--MarginRight: var(--pf-global--spacer--xs);
@@ -108,8 +110,6 @@
108
110
  --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
109
111
  --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
110
112
  --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
113
  --pf-c-label--m-editable--Cursor: pointer;
114
114
  --pf-c-label--m-editable--TextDecoration: underline;
115
115
  --pf-c-label--m-editable--TextDecorationStyle: dashed;
@@ -118,6 +118,12 @@
118
118
  --pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
119
119
  --pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
120
120
  --pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
121
+ --pf-c-label--m-editable__content--before--BorderWidth: var(--pf-global--BorderWidth--sm);
122
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-global--BorderColor--100);
123
+ --pf-c-label--m-editable__content--hover--before--BorderWidth: var(--pf-global--BorderWidth--sm);
124
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-global--BorderColor--100);
125
+ --pf-c-label--m-editable__content--focus--before--BorderWidth: var(--pf-global--BorderWidth--sm);
126
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-global--BorderColor--100);
121
127
  --pf-c-label--m-editable--m-editable-active--Cursor: auto;
122
128
  --pf-c-label--m-editable--m-editable-active--TextDecoration: none;
123
129
  --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
@@ -151,6 +157,9 @@
151
157
  --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-blue__content--before--BorderColor);
152
158
  --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-blue__content--link--hover--before--BorderColor);
153
159
  --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-blue__content--link--focus--before--BorderColor);
160
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-blue__content--before--BorderColor);
161
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-blue__content--before--BorderColor);
162
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-blue__content--before--BorderColor);
154
163
  }
155
164
  .pf-c-label.pf-m-green {
156
165
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-green--BackgroundColor);
@@ -163,6 +172,9 @@
163
172
  --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-green__content--before--BorderColor);
164
173
  --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-green__content--link--hover--before--BorderColor);
165
174
  --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-green__content--link--focus--before--BorderColor);
175
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-green__content--before--BorderColor);
176
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-green__content--before--BorderColor);
177
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-green__content--before--BorderColor);
166
178
  }
167
179
  .pf-c-label.pf-m-orange {
168
180
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-orange--BackgroundColor);
@@ -175,6 +187,9 @@
175
187
  --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-orange__content--before--BorderColor);
176
188
  --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-orange__content--link--hover--before--BorderColor);
177
189
  --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-orange__content--link--focus--before--BorderColor);
190
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-orange__content--before--BorderColor);
191
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-orange__content--before--BorderColor);
192
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-orange__content--before--BorderColor);
178
193
  }
179
194
  .pf-c-label.pf-m-red {
180
195
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-red--BackgroundColor);
@@ -187,6 +202,9 @@
187
202
  --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-red__content--before--BorderColor);
188
203
  --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-red__content--link--hover--before--BorderColor);
189
204
  --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-red__content--link--focus--before--BorderColor);
205
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-red__content--before--BorderColor);
206
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-red__content--before--BorderColor);
207
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-red__content--before--BorderColor);
190
208
  }
191
209
  .pf-c-label.pf-m-purple {
192
210
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-purple--BackgroundColor);
@@ -199,6 +217,9 @@
199
217
  --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-purple__content--before--BorderColor);
200
218
  --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-purple__content--link--hover--before--BorderColor);
201
219
  --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-purple__content--link--focus--before--BorderColor);
220
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-purple__content--before--BorderColor);
221
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-purple__content--before--BorderColor);
222
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-purple__content--before--BorderColor);
202
223
  }
203
224
  .pf-c-label.pf-m-cyan {
204
225
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-cyan--BackgroundColor);
@@ -211,12 +232,18 @@
211
232
  --pf-c-label--m-outline__content--before--BorderColor: var(--pf-c-label--m-outline--m-cyan__content--before--BorderColor);
212
233
  --pf-c-label--m-outline__content--link--hover--before--BorderColor: var(--pf-c-label--m-outline--m-cyan__content--link--hover--before--BorderColor);
213
234
  --pf-c-label--m-outline__content--link--focus--before--BorderColor: var(--pf-c-label--m-outline--m-cyan__content--link--focus--before--BorderColor);
235
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-cyan__content--before--BorderColor);
236
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-cyan__content--before--BorderColor);
237
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-cyan__content--before--BorderColor);
214
238
  }
215
239
  .pf-c-label.pf-m-outline {
216
240
  --pf-c-label__content--Color: var(--pf-c-label--m-outline__content--Color);
217
241
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-outline__content--before--BorderWidth);
218
242
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--before--BorderColor);
219
243
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-outline--BackgroundColor);
244
+ --pf-c-label--m-editable__content--before--BorderColor: var(--pf-c-label--m-outline__content--before--BorderColor);
245
+ --pf-c-label--m-editable__content--hover--before--BorderColor: var(--pf-c-label--m-outline__content--before--BorderColor);
246
+ --pf-c-label--m-editable__content--focus--before--BorderColor: var(--pf-c-label--m-outline__content--before--BorderColor);
220
247
  }
221
248
  .pf-c-label.pf-m-overflow:hover, .pf-c-label.pf-m-outline a.pf-c-label__content:hover,
222
249
  .pf-c-label.pf-m-outline button.pf-c-label__content:hover {
@@ -236,6 +263,15 @@
236
263
  text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
237
264
  text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
238
265
  text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
266
+ --pf-c-label__content--MaxWidth: var(--pf-c-label--m-editable__content--MaxWidth);
267
+ --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
268
+ --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable__content--before--BorderColor);
269
+ --pf-c-label__content--link--hover--before--BorderWidth: var(--pf-c-label--m-editable__content--hover--before--BorderWidth);
270
+ --pf-c-label__content--link--hover--before--BorderColor: var(--pf-c-label--m-editable__content--hover--before--BorderColor);
271
+ --pf-c-label__content--link--focus--before--BorderWidth: var(--pf-c-label--m-editable__content--focus--before--BorderWidth);
272
+ --pf-c-label__content--link--focus--before--BorderColor: var(--pf-c-label--m-editable__content--focus--before--BorderColor);
273
+ --pf-c-label--m-outline__content--link--hover--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
274
+ --pf-c-label--m-outline__content--link--focus--before--BorderWidth: var(--pf-c-label--m-editable__content--before--BorderWidth);
239
275
  }
240
276
  .pf-c-label.pf-m-editable:hover {
241
277
  --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
@@ -247,19 +283,10 @@
247
283
  --pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
248
284
  --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
249
285
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
250
- --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
251
- --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
252
286
  }
253
287
  .pf-c-label.pf-m-editable-active .pf-c-button {
254
288
  visibility: hidden;
255
289
  }
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
- }
263
290
  .pf-c-label .pf-c-button {
264
291
  --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
265
292
  --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
@@ -296,8 +323,12 @@
296
323
  }
297
324
 
298
325
  .pf-c-label__content {
326
+ overflow: hidden;
327
+ text-overflow: ellipsis;
328
+ white-space: nowrap;
329
+ max-width: var(--pf-c-label__content--MaxWidth);
299
330
  color: var(--pf-c-label__content--Color);
300
- border: 0;
331
+ border-width: 0;
301
332
  }
302
333
  .pf-c-label__content::before {
303
334
  position: absolute;