@patternfly/patternfly 4.190.0 → 4.192.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/RELEASE-NOTES.md CHANGED
@@ -3,6 +3,32 @@ id: Release notes
3
3
  section: developer-resources
4
4
  releaseNoteTOC: true
5
5
  ---
6
+ ## 2022.05 release notes (2022-04-20)
7
+ Packages released:
8
+ - [@patternfly/patternfly@v4.192.1](https://www.npmjs.com/package/@patternfly/patternfly/v/4.192.1)
9
+
10
+ ### Components
11
+ - **Card:** Fixed stacking context issue with selectable raised cards ([#4780](https://github.com/patternfly/patternfly/pull/4780))
12
+ - **Data list:** Updated expandable demo to include expand/collapse all in toolbar ([#4784](https://github.com/patternfly/patternfly/pull/4784))
13
+ - **Divider:** Added horizontal/vertical breakpoint support to divider ([#4765](https://github.com/patternfly/patternfly/pull/4765))
14
+ - **Form control:** Fixed placeholder variation menu item color ([#4773](https://github.com/patternfly/patternfly/pull/4773))
15
+ - **Form:**
16
+ - Added CSS vars for defining label cursor ([#4779](https://github.com/patternfly/patternfly/pull/4779))
17
+ - Changed width limited form max width from 500 to 800px ([#4782](https://github.com/patternfly/patternfly/pull/4782))
18
+ - **Login:** Added support for any language selector menu ([#4793](https://github.com/patternfly/patternfly/pull/4793))
19
+ - **Page:** Updated dark theme main section bgcolor ([#4791](https://github.com/patternfly/patternfly/pull/4791))
20
+ - **Search input:** Converted to text-input-group ([#4730](https://github.com/patternfly/patternfly/pull/4730))
21
+ - **Switch:** Updated to switch state colors, added checked + label example ([#4766](https://github.com/patternfly/patternfly/pull/4766))
22
+ - **Tabs:**
23
+ - Added secondary border-bottom variation, update demos ([#4774](https://github.com/patternfly/patternfly/pull/4774))
24
+ - Added close button and add new tab ([#4787](https://github.com/patternfly/patternfly/pull/4787))
25
+ - **Wizard:** Added drawer example ([#4778](https://github.com/patternfly/patternfly/pull/4778))
26
+
27
+ ### Other
28
+ - **Global:** Updated code and pre elements to use PF mono font stack ([#4783](https://github.com/patternfly/patternfly/pull/4783))
29
+ - **Theme:** Added stylesheet for prefers-color-scheme dark ([#4761](https://github.com/patternfly/patternfly/pull/4761))
30
+
31
+
6
32
  ## 2022.04 release notes (2022-03-30)
7
33
  Packages released:
8
34
  - [@patternfly/patternfly@v4.185.1](https://www.npmjs.com/package/@patternfly/patternfly/v/4.185.1)
@@ -63,42 +63,58 @@
63
63
  }
64
64
 
65
65
  .pf-c-divider {
66
- --pf-c-divider--Height: var(--pf-global--BorderWidth--sm);
66
+ --pf-c-divider--BorderWidth--base: var(--pf-global--BorderWidth--sm);
67
+ --pf-c-divider--BorderColor--base: var(--pf-c-divider--BackgroundColor);
68
+ --pf-c-divider--Height: var(--pf-c-divider--BorderWidth--base);
67
69
  --pf-c-divider--BackgroundColor: var(--pf-global--BorderColor--100);
68
- --pf-c-divider--after--Height: var(--pf-c-divider--Height);
69
- --pf-c-divider--after--BackgroundColor: var(--pf-c-divider--BackgroundColor);
70
- --pf-c-divider--Display: flex;
70
+ --pf-c-divider--after--BackgroundColor: var(--pf-c-divider--BorderColor--base);
71
71
  --pf-c-divider--after--FlexBasis: 100%;
72
72
  --pf-c-divider--after--Inset: 0%;
73
73
  --pf-c-divider--m-vertical--after--FlexBasis: 100%;
74
- --pf-c-divider--m-vertical--after--Width: var(--pf-global--BorderWidth--sm);
74
+ --pf-c-divider--m-horizontal--Display: flex;
75
+ --pf-c-divider--m-horizontal--FlexDirection: row;
76
+ --pf-c-divider--m-horizontal--after--Height: var(--pf-c-divider--Height);
77
+ --pf-c-divider--m-horizontal--after--Width: auto;
78
+ --pf-c-divider--m-vertical--Display: inline-flex;
79
+ --pf-c-divider--m-vertical--FlexDirection: column;
80
+ --pf-c-divider--m-vertical--after--Height: auto;
81
+ --pf-c-divider--m-vertical--after--Width: var(--pf-c-divider--BorderWidth--base);
75
82
  --pf-hidden-visible--visible--Display: var(--pf-c-divider--Display);
83
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
84
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
85
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
86
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
87
+ width: 100%;
88
+ height: auto;
89
+ display: var(--pf-c-divider--Display);
90
+ flex-direction: var(--pf-c-divider--FlexDirection);
76
91
  align-items: center;
77
92
  align-self: stretch;
78
93
  flex-shrink: 0;
79
94
  justify-content: center;
80
- width: 100%;
81
95
  border: 0;
82
96
  }
83
97
  .pf-c-divider::after {
84
- flex-basis: calc(var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2));
98
+ flex-basis: calc( var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2) );
99
+ }
100
+ .pf-c-divider::after {
85
101
  align-self: stretch;
102
+ width: var(--pf-c-divider--after--Width);
86
103
  height: var(--pf-c-divider--after--Height);
87
104
  content: "";
88
105
  background-color: var(--pf-c-divider--after--BackgroundColor);
89
106
  justify-self: center;
90
107
  }
91
108
  .pf-c-divider.pf-m-vertical {
92
- display: inline-flex;
93
- flex-direction: column;
109
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
110
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
111
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
112
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
94
113
  width: auto;
95
114
  height: inherit;
96
- min-height: 100%;
97
- max-height: 100%;
98
115
  }
99
116
  .pf-c-divider.pf-m-vertical::after {
100
- flex-basis: calc(var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset));
101
- width: var(--pf-c-divider--m-vertical--after--Width);
117
+ flex-basis: calc( var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset) );
102
118
  }
103
119
  .pf-c-divider.pf-m-inset-none {
104
120
  --pf-c-divider--after--Inset: 0%;
@@ -124,6 +140,32 @@
124
140
  .pf-c-divider.pf-m-inset-3xl {
125
141
  --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);
126
142
  }
143
+ @media (min-width: 576px) {
144
+ .pf-c-divider.pf-m-horizontal-on-sm {
145
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
146
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
147
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
148
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
149
+ width: 100%;
150
+ height: auto;
151
+ }
152
+ .pf-c-divider.pf-m-horizontal-on-sm::after {
153
+ flex-basis: calc( var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2) );
154
+ }
155
+ }
156
+ @media (min-width: 576px) {
157
+ .pf-c-divider.pf-m-vertical-on-sm {
158
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
159
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
160
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
161
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
162
+ width: auto;
163
+ height: inherit;
164
+ }
165
+ .pf-c-divider.pf-m-vertical-on-sm::after {
166
+ flex-basis: calc( var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset) );
167
+ }
168
+ }
127
169
  @media (min-width: 576px) {
128
170
  .pf-c-divider.pf-m-inset-none-on-sm {
129
171
  --pf-c-divider--after--Inset: 0%;
@@ -150,6 +192,32 @@
150
192
  --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);
151
193
  }
152
194
  }
195
+ @media (min-width: 768px) {
196
+ .pf-c-divider.pf-m-horizontal-on-md {
197
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
198
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
199
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
200
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
201
+ width: 100%;
202
+ height: auto;
203
+ }
204
+ .pf-c-divider.pf-m-horizontal-on-md::after {
205
+ flex-basis: calc( var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2) );
206
+ }
207
+ }
208
+ @media (min-width: 768px) {
209
+ .pf-c-divider.pf-m-vertical-on-md {
210
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
211
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
212
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
213
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
214
+ width: auto;
215
+ height: inherit;
216
+ }
217
+ .pf-c-divider.pf-m-vertical-on-md::after {
218
+ flex-basis: calc( var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset) );
219
+ }
220
+ }
153
221
  @media (min-width: 768px) {
154
222
  .pf-c-divider.pf-m-inset-none-on-md {
155
223
  --pf-c-divider--after--Inset: 0%;
@@ -176,6 +244,32 @@
176
244
  --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);
177
245
  }
178
246
  }
247
+ @media (min-width: 992px) {
248
+ .pf-c-divider.pf-m-horizontal-on-lg {
249
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
250
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
251
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
252
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
253
+ width: 100%;
254
+ height: auto;
255
+ }
256
+ .pf-c-divider.pf-m-horizontal-on-lg::after {
257
+ flex-basis: calc( var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2) );
258
+ }
259
+ }
260
+ @media (min-width: 992px) {
261
+ .pf-c-divider.pf-m-vertical-on-lg {
262
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
263
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
264
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
265
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
266
+ width: auto;
267
+ height: inherit;
268
+ }
269
+ .pf-c-divider.pf-m-vertical-on-lg::after {
270
+ flex-basis: calc( var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset) );
271
+ }
272
+ }
179
273
  @media (min-width: 992px) {
180
274
  .pf-c-divider.pf-m-inset-none-on-lg {
181
275
  --pf-c-divider--after--Inset: 0%;
@@ -202,6 +296,32 @@
202
296
  --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);
203
297
  }
204
298
  }
299
+ @media (min-width: 1200px) {
300
+ .pf-c-divider.pf-m-horizontal-on-xl {
301
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
302
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
303
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
304
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
305
+ width: 100%;
306
+ height: auto;
307
+ }
308
+ .pf-c-divider.pf-m-horizontal-on-xl::after {
309
+ flex-basis: calc( var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2) );
310
+ }
311
+ }
312
+ @media (min-width: 1200px) {
313
+ .pf-c-divider.pf-m-vertical-on-xl {
314
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
315
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
316
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
317
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
318
+ width: auto;
319
+ height: inherit;
320
+ }
321
+ .pf-c-divider.pf-m-vertical-on-xl::after {
322
+ flex-basis: calc( var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset) );
323
+ }
324
+ }
205
325
  @media (min-width: 1200px) {
206
326
  .pf-c-divider.pf-m-inset-none-on-xl {
207
327
  --pf-c-divider--after--Inset: 0%;
@@ -228,6 +348,32 @@
228
348
  --pf-c-divider--after--Inset: var(--pf-global--spacer--3xl);
229
349
  }
230
350
  }
351
+ @media (min-width: 1450px) {
352
+ .pf-c-divider.pf-m-horizontal-on-2xl {
353
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
354
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
355
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
356
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
357
+ width: 100%;
358
+ height: auto;
359
+ }
360
+ .pf-c-divider.pf-m-horizontal-on-2xl::after {
361
+ flex-basis: calc( var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2) );
362
+ }
363
+ }
364
+ @media (min-width: 1450px) {
365
+ .pf-c-divider.pf-m-vertical-on-2xl {
366
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
367
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
368
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
369
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
370
+ width: auto;
371
+ height: inherit;
372
+ }
373
+ .pf-c-divider.pf-m-vertical-on-2xl::after {
374
+ flex-basis: calc( var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset) );
375
+ }
376
+ }
231
377
  @media (min-width: 1450px) {
232
378
  .pf-c-divider.pf-m-inset-none-on-2xl {
233
379
  --pf-c-divider--after--Inset: 0%;
@@ -1,62 +1,107 @@
1
1
  $pf-c-divider--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
2
  $pf-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "xl", "2xl", "3xl");
3
3
 
4
- .pf-c-divider {
5
- // update during breaking change
6
- --pf-c-divider--Height: var(--pf-global--BorderWidth--sm);
7
- --pf-c-divider--BackgroundColor: var(--pf-global--BorderColor--100);
8
- --pf-c-divider--after--Height: var(--pf-c-divider--Height);
9
- --pf-c-divider--after--BackgroundColor: var(--pf-c-divider--BackgroundColor);
4
+ @mixin pf-c-divider--m-horizontal {
5
+ --pf-c-divider--Display: var(--pf-c-divider--m-horizontal--Display);
6
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-horizontal--FlexDirection);
7
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-horizontal--after--Width);
8
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-horizontal--after--Height);
9
+
10
+ width: 100%; // update to var breaking change
11
+ height: auto; // update to var breaking change
12
+
13
+ &::after {
14
+ flex-basis:
15
+ calc(
16
+ var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2)
17
+ ); // update at breaking change
18
+ }
19
+ }
20
+
21
+ @mixin pf-c-divider--m-vertical {
22
+ --pf-c-divider--Display: var(--pf-c-divider--m-vertical--Display);
23
+ --pf-c-divider--FlexDirection: var(--pf-c-divider--m-vertical--FlexDirection);
24
+ --pf-c-divider--after--Width: var(--pf-c-divider--m-vertical--after--Width);
25
+ --pf-c-divider--after--Height: var(--pf-c-divider--m-vertical--after--Height);
10
26
 
11
- // end - update during breaking change
27
+ width: auto; // update to var breaking change
28
+ height: inherit; // update to var at breaking change
12
29
 
13
- --pf-c-divider--Display: flex;
30
+ &::after {
31
+ flex-basis:
32
+ calc(
33
+ var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset)
34
+ ); // update at breaking change
35
+ }
36
+ }
14
37
 
15
- // After
38
+ .pf-c-divider {
39
+ // Base
40
+ --pf-c-divider--BorderWidth--base: var(--pf-global--BorderWidth--sm);
41
+ --pf-c-divider--BorderColor--base: var(--pf-c-divider--BackgroundColor); // update at breaking change
42
+ --pf-c-divider--Height: var(--pf-c-divider--BorderWidth--base); // remove at breaking change
43
+ --pf-c-divider--BackgroundColor: var(--pf-global--BorderColor--100); // remove at breaking change
44
+ --pf-c-divider--after--BackgroundColor: var(--pf-c-divider--BorderColor--base); // remove at breaking change
45
+
46
+ // Borders
16
47
  --pf-c-divider--after--FlexBasis: 100%;
17
48
  --pf-c-divider--after--Inset: 0%;
18
49
 
19
50
  // Vertical
20
- --pf-c-divider--m-vertical--after--FlexBasis: 100%;
21
- --pf-c-divider--m-vertical--after--Width: var(--pf-global--BorderWidth--sm);
51
+ --pf-c-divider--m-vertical--after--FlexBasis: 100%; // remove at breaking change
52
+
53
+ // Horizontal mixin
54
+ --pf-c-divider--m-horizontal--Display: flex;
55
+ --pf-c-divider--m-horizontal--FlexDirection: row;
56
+ --pf-c-divider--m-horizontal--after--Height: var(--pf-c-divider--Height); // update at breaking change
57
+ --pf-c-divider--m-horizontal--after--Width: auto;
58
+
59
+ // Vertical mixin
60
+ --pf-c-divider--m-vertical--Display: inline-flex;
61
+ --pf-c-divider--m-vertical--FlexDirection: column;
62
+ --pf-c-divider--m-vertical--after--Height: auto;
63
+ --pf-c-divider--m-vertical--after--Width: var(--pf-c-divider--BorderWidth--base); // remove at breaking change
22
64
 
65
+ // Vertical
23
66
  @include pf-hidden-visible(var(--pf-c-divider--Display));
67
+ @include pf-c-divider--m-horizontal; // set to default to horizontal
24
68
 
69
+ display: var(--pf-c-divider--Display);
70
+ flex-direction: var(--pf-c-divider--FlexDirection);
25
71
  align-items: center;
26
72
  align-self: stretch;
27
73
  flex-shrink: 0;
28
74
  justify-content: center;
29
- width: 100%;
30
75
  border: 0; // removes the default border styling on an hr
31
76
 
32
77
  &::after {
33
- flex-basis: calc(var(--pf-c-divider--after--FlexBasis) - calc(var(--pf-c-divider--after--Inset) * 2));
34
78
  align-self: stretch;
79
+ width: var(--pf-c-divider--after--Width);
35
80
  height: var(--pf-c-divider--after--Height);
36
81
  content: "";
37
82
  background-color: var(--pf-c-divider--after--BackgroundColor);
38
83
  justify-self: center;
39
84
  }
40
85
 
41
- &.pf-m-vertical {
42
- display: inline-flex;
43
- flex-direction: column;
44
- width: auto;
45
- height: inherit;
46
- min-height: 100%;
47
- max-height: 100%;
48
-
49
- &::after {
50
- flex-basis: calc(var(--pf-c-divider--m-vertical--after--FlexBasis) - var(--pf-c-divider--after--Inset));
51
- width: var(--pf-c-divider--m-vertical--after--Width);
52
- }
53
- }
54
-
55
86
  // stylelint-disable max-nesting-depth
56
- // Build inset modifiers
87
+
57
88
  @each $breakpoint, $breakpoint-value in $pf-c-divider--breakpoint-map {
58
89
  $breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
59
90
 
91
+ @if ($breakpoint != "base") {
92
+ @include pf-apply-breakpoint($breakpoint) {
93
+ &.pf-m-horizontal#{$breakpoint-name} {
94
+ @include pf-c-divider--m-horizontal;
95
+ }
96
+ }
97
+ }
98
+
99
+ @include pf-apply-breakpoint($breakpoint) {
100
+ &.pf-m-vertical#{$breakpoint-name} {
101
+ @include pf-c-divider--m-vertical;
102
+ }
103
+ }
104
+
60
105
  @include pf-apply-breakpoint($breakpoint) {
61
106
  @each $spacer, $spacer-value in $pf-c-divider--spacer-map {
62
107
  @if $spacer == none {
@@ -69,5 +114,6 @@ $pf-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "xl"
69
114
  }
70
115
  }
71
116
  }
117
+
72
118
  // stylelint-enable
73
119
  }
@@ -211,6 +211,7 @@
211
211
  --pf-c-page__main-wizard--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
212
212
  --pf-c-page__main-wizard--BorderTopColor: var(--pf-global--BorderColor--100);
213
213
  --pf-c-page__main-wizard--BorderTopWidth: var(--pf-global--BorderWidth--sm);
214
+ --pf-c-page__main-wizard--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);
214
215
  display: grid;
215
216
  height: 100%;
216
217
  grid-template-columns: 1fr;
@@ -740,6 +741,9 @@
740
741
  .pf-c-page__main-wizard:first-child {
741
742
  --pf-c-page__main-wizard--BorderTopWidth: 0;
742
743
  }
744
+ .pf-c-page__main-wizard.pf-m-light-200 {
745
+ --pf-c-page__main-wizard--BackgroundColor: var(--pf-c-page__main-wizard--m-light-200--BackgroundColor);
746
+ }
743
747
 
744
748
  .pf-c-page__main-wizard .pf-c-page__main-body {
745
749
  min-height: 0;
@@ -185,6 +185,7 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
185
185
  --pf-c-page__main-wizard--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
186
186
  --pf-c-page__main-wizard--BorderTopColor: var(--pf-global--BorderColor--100);
187
187
  --pf-c-page__main-wizard--BorderTopWidth: var(--pf-global--BorderWidth--sm);
188
+ --pf-c-page__main-wizard--m-light-200--BackgroundColor: var(--pf-global--BackgroundColor--200);
188
189
 
189
190
  // Base
190
191
  display: grid;
@@ -655,6 +656,10 @@ $pf-c-page--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl",
655
656
  &:first-child {
656
657
  --pf-c-page__main-wizard--BorderTopWidth: 0;
657
658
  }
659
+
660
+ &.pf-m-light-200 {
661
+ --pf-c-page__main-wizard--BackgroundColor: var(--pf-c-page__main-wizard--m-light-200--BackgroundColor);
662
+ }
658
663
  }
659
664
 
660
665
  .pf-c-page__main-wizard .pf-c-page__main-body {
@@ -29,6 +29,7 @@
29
29
  --pf-c-text-input-group--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
30
30
  position: relative;
31
31
  display: flex;
32
+ width: 100%;
32
33
  color: var(--pf-c-text-input-group--Color, inherit);
33
34
  background-color: var(--pf-c-text-input-group--BackgroundColor);
34
35
  }
@@ -144,4 +145,8 @@
144
145
  .pf-c-text-input-group__utilities .pf-c-button {
145
146
  --pf-c-button--PaddingRight: var(--pf-c-text-input-group__utilities--c-button--PaddingRight);
146
147
  --pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
148
+ }
149
+
150
+ .pf-c-text-input-group__group {
151
+ display: flex;
147
152
  }
@@ -45,6 +45,7 @@
45
45
 
46
46
  position: relative;
47
47
  display: flex;
48
+ width: 100%; // when child of flex layout, take up space
48
49
  color: var(--pf-c-text-input-group--Color, inherit);
49
50
  background-color: var(--pf-c-text-input-group--BackgroundColor);
50
51
 
@@ -190,3 +191,8 @@
190
191
  --pf-c-button--PaddingLeft: var(--pf-c-text-input-group__utilities--c-button--PaddingLeft);
191
192
  }
192
193
  }
194
+
195
+
196
+ .pf-c-text-input-group__group {
197
+ display: flex;
198
+ }
@@ -206,7 +206,7 @@
206
206
  flex: 1 1 var(--pf-c-modal-box--c-wizard--FlexBasis);
207
207
  min-height: 0;
208
208
  }
209
- .pf-c-wizard > *:not(.pf-c-wizard__outer-wrap) {
209
+ .pf-c-wizard > :not(.pf-c-wizard__outer-wrap):not(.pf-c-drawer) {
210
210
  flex-shrink: 0;
211
211
  }
212
212
  .pf-c-wizard.pf-m-finished {
@@ -210,7 +210,7 @@
210
210
  min-height: 0;
211
211
  }
212
212
 
213
- > *:not(.pf-c-wizard__outer-wrap) {
213
+ > :not(.pf-c-wizard__outer-wrap):not(.pf-c-drawer) {
214
214
  flex-shrink: 0;
215
215
  }
216
216
 
@@ -1,7 +1,13 @@
1
- #ws-core-c-divider-vertical .ws-preview-html,
2
- #ws-core-c-divider-vertical-inset-medium .ws-preview-html,
3
- #ws-core-c-divider-vertical-md-inset-no-inset-on-md-lg-inset-on-lg-sm-inset-on-xl .ws-preview-html {
4
- height: 3rem;
5
- display: flex;
1
+ [id*="ws-core-c-divider-vertical"],
2
+ [id*="ws-core-c-divider-horizontal"] .ws-preview-html {
6
3
  align-items: center;
7
4
  }
5
+
6
+ [id*="ws-core-c-divider-vertical"],
7
+ #ws-core-c-divider-horizontal-on-lg {
8
+ height: 4rem;
9
+ }
10
+
11
+ [id*="ws-core-c-divider"] .ws-preview-html {
12
+ height: 100%;
13
+ }
@@ -72,6 +72,20 @@ cssPrefix: pf-c-divider
72
72
 
73
73
  ```
74
74
 
75
+ ### Vertical on lg
76
+
77
+ ```html
78
+ <div class="pf-c-divider pf-m-horizontal pf-m-vertical-on-lg" role="separator"></div>
79
+
80
+ ```
81
+
82
+ ### Horizontal on lg
83
+
84
+ ```html
85
+ <div class="pf-c-divider pf-m-horizontal-on-lg pf-m-vertical" role="separator"></div>
86
+
87
+ ```
88
+
75
89
  ## Documentation
76
90
 
77
91
  ### Overview
@@ -2,7 +2,11 @@
2
2
  id: Input group
3
3
  section: components
4
4
  cssPrefix: pf-c-input-group
5
- ---## Examples
5
+ ---### Overview
6
+
7
+ Use the input group to extend form controls by adding text, buttons, selects, etc. The input group handles border overlap.
8
+
9
+ ## Examples
6
10
 
7
11
  ### Variations
8
12
 
@@ -213,10 +217,6 @@ cssPrefix: pf-c-input-group
213
217
 
214
218
  ## Documentation
215
219
 
216
- ### Overview
217
-
218
- Use the input group to extend form controls by adding text, buttons, selects, etc.
219
-
220
220
  ### Accessibility
221
221
 
222
222
  When using the `.pf-c-input-group` always ensure labels are used outside the input group with the `.pf-screen-reader` class applied. You can also make use of the `aria-describedby`, `aria-label`, or `aria-labelledby` attributes. For more information on accessibility and forms see the [form component](/components/form).
@@ -215,6 +215,7 @@ This component provides the basic chrome for a page, including sidebar, header,
215
215
  | `.pf-m-light` | `.pf-c-page__main-section` | Modifies a main page section to have a light theme. |
216
216
  | `.pf-m-dark-200` | `.pf-c-page__main-section` | Modifies a main page section to have a dark theme and a dark transparent background. |
217
217
  | `.pf-m-dark-100` | `.pf-c-page__main-section` | Modifies a main page section to have a dark theme and a darker transparent background. |
218
+ | `.pf-m-light-200` | `.pf-c-page__main-wizard` | Modifies a wizard page section to have a light 200 theme. |
218
219
  | `.pf-m-no-padding`, `.pf-m-no-padding{-on-[breakpoint]}` | `.pf-c-page__main-section` | Removes padding from the main page section at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
219
220
  | `.pf-m-padding{-on-[breakpoint]}` | `.pf-c-page__main-section` | Modifies the main page section to add padding back in at an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). Should be used with pf-m-no-padding. |
220
221
  | `.pf-m-fill` | `.pf-c-page__main-section` | Modifies a main page section to grow to fill the available vertical space. |
@@ -0,0 +1,23 @@
1
+ #ws-core-c-search-input-advanced-search-expanded,
2
+ #ws-core-c-text-input-group-search-input-group-advanced-search-expanded-with-autocomplete {
3
+ height: 540px;
4
+ }
5
+
6
+ #ws-core-c-search-input-autocomplete {
7
+ height: 250px;
8
+ }
9
+
10
+ #ws-core-c-search-input-autocomplete-last-option-hint {
11
+ height: 130px;
12
+ }
13
+
14
+ .ws-example-wrapper {
15
+ position: relative;
16
+ }
17
+
18
+ .ws-example-wrapper .pf-c-menu,
19
+ .ws-example-wrapper .pf-c-panel {
20
+ position: absolute;
21
+ top: 40px;
22
+ width: 100%;
23
+ }