@patternfly/patternfly 5.2.0-prerelease.1 → 5.2.0-prerelease.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/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/components/Check/check.css +10 -8
- package/components/Check/check.scss +15 -10
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/Menu/menu.css +3 -0
- package/components/Menu/menu.scss +7 -3
- package/components/MenuToggle/menu-toggle.css +1 -2
- package/components/MenuToggle/menu-toggle.scss +5 -9
- package/components/Radio/radio.css +13 -10
- package/components/Radio/radio.scss +17 -11
- package/components/Table/table.css +6 -2
- package/components/Table/table.scss +8 -2
- package/components/Toolbar/toolbar.css +9 -1
- package/components/Toolbar/toolbar.scss +16 -3
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +75 -32
- package/docs/components/Card/examples/Card.md +110 -2
- package/docs/components/Toolbar/examples/Toolbar.md +11 -9
- package/package.json +2 -2
- package/patternfly-no-globals.css +43 -26
- package/patternfly-theme-dark-unversioned.css +43 -26
- package/patternfly.css +43 -26
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -115,6 +115,9 @@
|
|
|
115
115
|
--pf-v5-c-toolbar__item--m-label--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
116
116
|
--pf-v5-c-toolbar__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
117
117
|
--pf-v5-c-toolbar__item--m-label--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
118
|
+
--pf-v5-c-toolbar__item--m-form-element--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
119
|
+
--pf-v5-c-toolbar__item--m-form-element--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
120
|
+
--pf-v5-c-toolbar__item--m-form-element--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
118
121
|
--pf-v5-c-toolbar__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
119
122
|
--pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-v5-global--spacer--sm));
|
|
120
123
|
--pf-v5-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
@@ -361,7 +364,12 @@
|
|
|
361
364
|
.pf-v5-c-toolbar__item.pf-m-label {
|
|
362
365
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-label--spacer);
|
|
363
366
|
font-weight: var(--pf-v5-c-toolbar__item--m-label--FontWeight);
|
|
364
|
-
transform: translateY(var(--pf-v5-
|
|
367
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-label--TranslateY));
|
|
368
|
+
}
|
|
369
|
+
.pf-v5-c-toolbar__item.pf-m-form-element {
|
|
370
|
+
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-form-element--spacer);
|
|
371
|
+
font-weight: var(--pf-v5-c-toolbar__item--m-form-element--FontWeight);
|
|
372
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-form-element--TranslateY));
|
|
365
373
|
}
|
|
366
374
|
.pf-v5-c-toolbar__item.pf-m-pagination {
|
|
367
375
|
margin-inline-start: auto;
|
|
@@ -117,11 +117,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
117
117
|
|
|
118
118
|
// Label
|
|
119
119
|
--#{$toolbar}__item--m-label--spacer: var(--#{$toolbar}__item--spacer);
|
|
120
|
-
--#{$toolbar}__item--m-label--TranslateY: var(
|
|
120
|
+
--#{$toolbar}__item--m-label--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
121
121
|
--#{$toolbar}__item--m-label--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
122
122
|
|
|
123
|
+
// Form control inline
|
|
124
|
+
--#{$toolbar}__item--m-form-element--spacer: var(--#{$toolbar}__item--spacer);
|
|
125
|
+
--#{$toolbar}__item--m-form-element--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
126
|
+
--#{$toolbar}__item--m-form-element--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
127
|
+
|
|
123
128
|
// Input
|
|
124
|
-
--#{$toolbar}__item--m-form-control--TranslateY: var(
|
|
129
|
+
--#{$toolbar}__item--m-form-control--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
125
130
|
|
|
126
131
|
// Label in expanded content
|
|
127
132
|
--#{$toolbar}__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--#{$toolbar}__expandable-content--m-expanded--GridRowGap) + var(--#{$pf-global}--spacer--sm));
|
|
@@ -379,7 +384,15 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
379
384
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-label--spacer);
|
|
380
385
|
|
|
381
386
|
font-weight: var(--#{$toolbar}__item--m-label--FontWeight);
|
|
382
|
-
transform: translateY(var(--#{$
|
|
387
|
+
transform: translateY(var(--#{$toolbar}__item--m-label--TranslateY));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
// Form element
|
|
391
|
+
&.pf-m-form-element {
|
|
392
|
+
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-form-element--spacer);
|
|
393
|
+
|
|
394
|
+
font-weight: var(--#{$toolbar}__item--m-form-element--FontWeight);
|
|
395
|
+
transform: translateY(var(--#{$toolbar}__item--m-form-element--TranslateY));
|
|
383
396
|
}
|
|
384
397
|
|
|
385
398
|
// Total items
|
|
@@ -1,48 +1,91 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Brand
|
|
3
3
|
section: components
|
|
4
|
-
|
|
4
|
+
---import './Brand.css'
|
|
5
|
+
|
|
6
|
+
## Examples
|
|
5
7
|
|
|
6
8
|
### Basic
|
|
7
9
|
|
|
8
10
|
```html
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
<div class="show-light">
|
|
12
|
+
<img
|
|
13
|
+
class="pf-v5-c-brand"
|
|
14
|
+
src="/assets/images/pf_logo.svg"
|
|
15
|
+
alt="PatternFly logo"
|
|
16
|
+
/>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="show-dark">
|
|
20
|
+
<img
|
|
21
|
+
class="pf-v5-c-brand"
|
|
22
|
+
src="/assets/images/pf_logo_white.svg"
|
|
23
|
+
alt="PatternFly logo"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
14
26
|
|
|
15
27
|
```
|
|
16
28
|
|
|
17
29
|
### Responsive
|
|
18
30
|
|
|
19
31
|
```html
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
<div class="show-light">
|
|
33
|
+
<picture
|
|
34
|
+
class="pf-v5-c-brand pf-m-picture"
|
|
35
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-sm: 60px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
36
|
+
>
|
|
37
|
+
<source
|
|
38
|
+
media="(min-width: 1200px)"
|
|
39
|
+
srcset="/assets/images/pf-c-brand__logo-on-xl.svg"
|
|
40
|
+
/>
|
|
41
|
+
<source
|
|
42
|
+
media="(min-width: 992px)"
|
|
43
|
+
srcset="/assets/images/pf-c-brand__logo-on-lg.svg"
|
|
44
|
+
/>
|
|
45
|
+
<source
|
|
46
|
+
media="(min-width: 768px)"
|
|
47
|
+
srcset="/assets/images/pf-c-brand__logo-on-md.svg"
|
|
48
|
+
/>
|
|
49
|
+
<source
|
|
50
|
+
media="(min-width: 576px)"
|
|
51
|
+
srcset="/assets/images/pf-c-brand__logo-on-sm.svg"
|
|
52
|
+
/>
|
|
53
|
+
<source srcset="/assets/images/pf-c-brand__logo.svg" />
|
|
54
|
+
<img
|
|
55
|
+
src="/assets/images/pf_logo.svg"
|
|
56
|
+
alt="Fallback patternFly default logo"
|
|
57
|
+
/>
|
|
58
|
+
</picture>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<div class="show-dark">
|
|
62
|
+
<picture
|
|
63
|
+
class="pf-v5-c-brand pf-m-picture"
|
|
64
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-sm: 60px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
65
|
+
>
|
|
66
|
+
<source
|
|
67
|
+
media="(min-width: 1200px)"
|
|
68
|
+
srcset="/assets/images/pf-c-brand__logo-on-xl-white.svg"
|
|
69
|
+
/>
|
|
70
|
+
<source
|
|
71
|
+
media="(min-width: 992px)"
|
|
72
|
+
srcset="/assets/images/pf-c-brand__logo-on-lg-white.svg"
|
|
73
|
+
/>
|
|
74
|
+
<source
|
|
75
|
+
media="(min-width: 768px)"
|
|
76
|
+
srcset="/assets/images/pf-c-brand__logo-on-md-white.svg"
|
|
77
|
+
/>
|
|
78
|
+
<source
|
|
79
|
+
media="(min-width: 576px)"
|
|
80
|
+
srcset="/assets/images/pf-c-brand__logo-on-sm-white.svg"
|
|
81
|
+
/>
|
|
82
|
+
<source srcset="/assets/images/pf-c-brand__logo-white.svg" />
|
|
83
|
+
<img
|
|
84
|
+
src="/assets/images/pf_logo-white.svg"
|
|
85
|
+
alt="Fallback patternFly default logo"
|
|
86
|
+
/>
|
|
87
|
+
</picture>
|
|
88
|
+
</div>
|
|
46
89
|
|
|
47
90
|
```
|
|
48
91
|
|
|
@@ -25,7 +25,61 @@ cssPrefix: pf-v5-c-card
|
|
|
25
25
|
<div class="pf-v5-c-card" id="card-action-example-1">
|
|
26
26
|
<div class="pf-v5-c-card__header">
|
|
27
27
|
<div class="pf-v5-c-card__header-main">
|
|
28
|
-
<
|
|
28
|
+
<svg
|
|
29
|
+
version="1.1"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
viewBox="0 0 706.3 132.5"
|
|
32
|
+
fill="currentColor"
|
|
33
|
+
width="300px"
|
|
34
|
+
>
|
|
35
|
+
<g>
|
|
36
|
+
<path
|
|
37
|
+
d="M197.2,83.9V48.6h15.2c2.2,0,4.1,0.3,5.6,1c1.5,0.7,2.8,1.5,3.7,2.6c1,1.1,1.6,2.3,2.1,3.6
|
|
38
|
+
c0.4,1.3,0.6,2.7,0.6,4c0,0.9-0.1,1.7-0.3,2.6c-0.2,0.9-0.5,1.7-0.9,2.6c-0.4,0.8-0.9,1.6-1.6,2.3c-0.6,0.7-1.4,1.4-2.3,1.9
|
|
39
|
+
c-0.9,0.5-1.9,1-3.1,1.3c-1.2,0.3-2.5,0.5-3.9,0.5h-8.3v13H197.2z M212.7,64.4c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1.1
|
|
40
|
+
c0.4-0.4,0.6-0.9,0.8-1.5c0.2-0.6,0.3-1.1,0.3-1.7c0-0.5-0.1-1-0.2-1.6c-0.1-0.5-0.4-1-0.7-1.5c-0.4-0.5-0.8-0.8-1.4-1.1
|
|
41
|
+
c-0.6-0.3-1.4-0.4-2.3-0.4h-8.6v9.4H212.7z"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
d="M271.6,83.9l-2.7-7.3h-13.6l-2.7,7.3h-7.3l13.5-35.4h6.7l13.5,35.4H271.6z M263.2,61.2
|
|
45
|
+
c-0.2-0.4-0.4-0.9-0.6-1.5c-0.2-0.6-0.4-1.1-0.5-1.7c-0.1,0.5-0.3,1.1-0.5,1.7c-0.2,0.6-0.4,1.1-0.6,1.5l-3.5,9.2h9.2L263.2,61.2z"
|
|
46
|
+
/>
|
|
47
|
+
<path d="M317.3,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H317.3z" />
|
|
48
|
+
<path d="M370.2,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H370.2z" />
|
|
49
|
+
<path
|
|
50
|
+
d="M408.5,83.9V48.6h24.1v6.5h-17.3v7.4h10.2v6.5h-10.2v8.5h18.4v6.5H408.5z"
|
|
51
|
+
/>
|
|
52
|
+
<path
|
|
53
|
+
d="M462.4,83.9V48.6h16.4c2.2,0,4.1,0.3,5.6,0.9c1.5,0.6,2.7,1.4,3.6,2.5c0.9,1,1.6,2.2,2,3.5
|
|
54
|
+
c0.4,1.3,0.6,2.7,0.6,4.2c0,1-0.1,2-0.4,3c-0.3,1-0.7,2-1.3,2.9c-0.6,0.9-1.3,1.8-2.1,2.5c-0.9,0.7-1.8,1.3-3,1.7l6.9,14.1H483
|
|
55
|
+
l-6.6-13.2h-7.1v13.2H462.4z M478.9,64.3c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1c0.4-0.4,0.6-0.9,0.8-1.5
|
|
56
|
+
c0.2-0.6,0.2-1.1,0.2-1.7c0-0.6-0.1-1.1-0.2-1.7c-0.1-0.6-0.4-1-0.7-1.5c-0.3-0.4-0.8-0.8-1.4-1c-0.6-0.3-1.4-0.4-2.3-0.4h-9.7v9.2
|
|
57
|
+
H478.9z"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
d="M541.9,83.9l-14-20.6c-0.2-0.3-0.5-0.8-0.8-1.3c-0.3-0.5-0.5-1-0.7-1.4c0.1,0.4,0.1,0.8,0.1,1.3
|
|
61
|
+
c0,0.5,0,1,0,1.3v20.6h-6.8V48.6h6.4l13.7,20.4c0.2,0.3,0.5,0.7,0.7,1.2c0.3,0.5,0.5,1,0.7,1.4c0-0.5-0.1-1-0.1-1.4
|
|
62
|
+
c0-0.5,0-0.9,0-1.2V48.6h6.8v35.4H541.9z"
|
|
63
|
+
/>
|
|
64
|
+
<path
|
|
65
|
+
d="M578.4,83.9V48.6h23.7v6.5h-16.9v7.4H596v6.5h-10.7v15H578.4z"
|
|
66
|
+
/>
|
|
67
|
+
<path d="M629.8,83.9V48.6h6.8v28.8h17.1v6.6H629.8z" />
|
|
68
|
+
<path
|
|
69
|
+
d="M686.4,83.9V70.2l-13.1-21.6h7.7l8.7,14.5l8.7-14.5h7.7l-13.1,21.6v13.8H686.4z"
|
|
70
|
+
/>
|
|
71
|
+
</g>
|
|
72
|
+
<g>
|
|
73
|
+
<path
|
|
74
|
+
d="M49,103l-21.2,4.9L0,68.4L70,0l70,68.4l-27.8,39.4L91,103l-21,29.5L49,103z M70,128.7l18.6-26.2l-7.2-1.7
|
|
75
|
+
l-11,16.2l-11.9-16.2l-7.2,1.7L70,128.7z M70.4,113.1l9.2-13.5L70,6.7l-9.5,92.9L70.4,113.1z M28.8,105.4l18.8-4.3L33.8,81.7
|
|
76
|
+
l4.1-9.3L25.2,55L58,14.9L2.9,68.7L28.8,105.4z M111.2,105.4l16.3-23.1l9.6-13.6L82,14.9L114.9,55l-12.8,17.4l4.1,9.3L92.4,101
|
|
77
|
+
L111.2,105.4z M90.1,100.5l13.6-19.1l-3-6.9L82.7,98.8L90.1,100.5z M50,100.5l7.3-1.7L39.4,74.5l-3,6.9L50,100.5z M81.9,96.2
|
|
78
|
+
l17.6-24.1L72.9,11.6L81.9,96.2z M58.1,96.2l9-84.6L40.5,72.1L58.1,96.2z M39,70L66.1,8.5L28,55.1L39,70z M101.1,70l11-15L74,8.5
|
|
79
|
+
L101.1,70z"
|
|
80
|
+
/>
|
|
81
|
+
</g>
|
|
82
|
+
</svg>
|
|
29
83
|
</div>
|
|
30
84
|
<div class="pf-v5-c-card__actions">
|
|
31
85
|
<div class="pf-v5-c-dropdown">
|
|
@@ -293,7 +347,61 @@ cssPrefix: pf-v5-c-card
|
|
|
293
347
|
<div class="pf-v5-c-card" id="card-image-head-example">
|
|
294
348
|
<div class="pf-v5-c-card__header">
|
|
295
349
|
<div class="pf-v5-c-card__header-main">
|
|
296
|
-
<
|
|
350
|
+
<svg
|
|
351
|
+
version="1.1"
|
|
352
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
353
|
+
viewBox="0 0 706.3 132.5"
|
|
354
|
+
fill="currentColor"
|
|
355
|
+
width="300px"
|
|
356
|
+
>
|
|
357
|
+
<g>
|
|
358
|
+
<path
|
|
359
|
+
d="M197.2,83.9V48.6h15.2c2.2,0,4.1,0.3,5.6,1c1.5,0.7,2.8,1.5,3.7,2.6c1,1.1,1.6,2.3,2.1,3.6
|
|
360
|
+
c0.4,1.3,0.6,2.7,0.6,4c0,0.9-0.1,1.7-0.3,2.6c-0.2,0.9-0.5,1.7-0.9,2.6c-0.4,0.8-0.9,1.6-1.6,2.3c-0.6,0.7-1.4,1.4-2.3,1.9
|
|
361
|
+
c-0.9,0.5-1.9,1-3.1,1.3c-1.2,0.3-2.5,0.5-3.9,0.5h-8.3v13H197.2z M212.7,64.4c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1.1
|
|
362
|
+
c0.4-0.4,0.6-0.9,0.8-1.5c0.2-0.6,0.3-1.1,0.3-1.7c0-0.5-0.1-1-0.2-1.6c-0.1-0.5-0.4-1-0.7-1.5c-0.4-0.5-0.8-0.8-1.4-1.1
|
|
363
|
+
c-0.6-0.3-1.4-0.4-2.3-0.4h-8.6v9.4H212.7z"
|
|
364
|
+
/>
|
|
365
|
+
<path
|
|
366
|
+
d="M271.6,83.9l-2.7-7.3h-13.6l-2.7,7.3h-7.3l13.5-35.4h6.7l13.5,35.4H271.6z M263.2,61.2
|
|
367
|
+
c-0.2-0.4-0.4-0.9-0.6-1.5c-0.2-0.6-0.4-1.1-0.5-1.7c-0.1,0.5-0.3,1.1-0.5,1.7c-0.2,0.6-0.4,1.1-0.6,1.5l-3.5,9.2h9.2L263.2,61.2z"
|
|
368
|
+
/>
|
|
369
|
+
<path d="M317.3,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H317.3z" />
|
|
370
|
+
<path d="M370.2,55.2v28.8h-6.8V55.2h-10.1v-6.6h27v6.6H370.2z" />
|
|
371
|
+
<path
|
|
372
|
+
d="M408.5,83.9V48.6h24.1v6.5h-17.3v7.4h10.2v6.5h-10.2v8.5h18.4v6.5H408.5z"
|
|
373
|
+
/>
|
|
374
|
+
<path
|
|
375
|
+
d="M462.4,83.9V48.6h16.4c2.2,0,4.1,0.3,5.6,0.9c1.5,0.6,2.7,1.4,3.6,2.5c0.9,1,1.6,2.2,2,3.5
|
|
376
|
+
c0.4,1.3,0.6,2.7,0.6,4.2c0,1-0.1,2-0.4,3c-0.3,1-0.7,2-1.3,2.9c-0.6,0.9-1.3,1.8-2.1,2.5c-0.9,0.7-1.8,1.3-3,1.7l6.9,14.1H483
|
|
377
|
+
l-6.6-13.2h-7.1v13.2H462.4z M478.9,64.3c0.9,0,1.6-0.1,2.2-0.4c0.6-0.3,1.1-0.6,1.4-1c0.4-0.4,0.6-0.9,0.8-1.5
|
|
378
|
+
c0.2-0.6,0.2-1.1,0.2-1.7c0-0.6-0.1-1.1-0.2-1.7c-0.1-0.6-0.4-1-0.7-1.5c-0.3-0.4-0.8-0.8-1.4-1c-0.6-0.3-1.4-0.4-2.3-0.4h-9.7v9.2
|
|
379
|
+
H478.9z"
|
|
380
|
+
/>
|
|
381
|
+
<path
|
|
382
|
+
d="M541.9,83.9l-14-20.6c-0.2-0.3-0.5-0.8-0.8-1.3c-0.3-0.5-0.5-1-0.7-1.4c0.1,0.4,0.1,0.8,0.1,1.3
|
|
383
|
+
c0,0.5,0,1,0,1.3v20.6h-6.8V48.6h6.4l13.7,20.4c0.2,0.3,0.5,0.7,0.7,1.2c0.3,0.5,0.5,1,0.7,1.4c0-0.5-0.1-1-0.1-1.4
|
|
384
|
+
c0-0.5,0-0.9,0-1.2V48.6h6.8v35.4H541.9z"
|
|
385
|
+
/>
|
|
386
|
+
<path
|
|
387
|
+
d="M578.4,83.9V48.6h23.7v6.5h-16.9v7.4H596v6.5h-10.7v15H578.4z"
|
|
388
|
+
/>
|
|
389
|
+
<path d="M629.8,83.9V48.6h6.8v28.8h17.1v6.6H629.8z" />
|
|
390
|
+
<path
|
|
391
|
+
d="M686.4,83.9V70.2l-13.1-21.6h7.7l8.7,14.5l8.7-14.5h7.7l-13.1,21.6v13.8H686.4z"
|
|
392
|
+
/>
|
|
393
|
+
</g>
|
|
394
|
+
<g>
|
|
395
|
+
<path
|
|
396
|
+
d="M49,103l-21.2,4.9L0,68.4L70,0l70,68.4l-27.8,39.4L91,103l-21,29.5L49,103z M70,128.7l18.6-26.2l-7.2-1.7
|
|
397
|
+
l-11,16.2l-11.9-16.2l-7.2,1.7L70,128.7z M70.4,113.1l9.2-13.5L70,6.7l-9.5,92.9L70.4,113.1z M28.8,105.4l18.8-4.3L33.8,81.7
|
|
398
|
+
l4.1-9.3L25.2,55L58,14.9L2.9,68.7L28.8,105.4z M111.2,105.4l16.3-23.1l9.6-13.6L82,14.9L114.9,55l-12.8,17.4l4.1,9.3L92.4,101
|
|
399
|
+
L111.2,105.4z M90.1,100.5l13.6-19.1l-3-6.9L82.7,98.8L90.1,100.5z M50,100.5l7.3-1.7L39.4,74.5l-3,6.9L50,100.5z M81.9,96.2
|
|
400
|
+
l17.6-24.1L72.9,11.6L81.9,96.2z M58.1,96.2l9-84.6L40.5,72.1L58.1,96.2z M39,70L66.1,8.5L28,55.1L39,70z M101.1,70l11-15L74,8.5
|
|
401
|
+
L101.1,70z"
|
|
402
|
+
/>
|
|
403
|
+
</g>
|
|
404
|
+
</svg>
|
|
297
405
|
</div>
|
|
298
406
|
</div>
|
|
299
407
|
<div class="pf-v5-c-card__title">
|
|
@@ -4593,16 +4593,18 @@ As the toolbar component is a hybrid layout and component, some of its elements
|
|
|
4593
4593
|
| `.pf-m-full-height` | `.pf-v5-c-toolbar`, `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__group` | Modifies toolbar component to full height of its container and removes vertical padding. |
|
|
4594
4594
|
| `.pf-m-static` | `.pf-v5-c-toolbar` | Modifies expandable content section to position itself to the nearest absolutely positioned parent outside of the toolbar component. This is used primarily for masthead toolbar. |
|
|
4595
4595
|
| `.pf-m-expanded` | `.pf-v5-c-toolbar__expandable-content` | Modifies expandable content section for the expanded state. |
|
|
4596
|
-
| `.pf-m-
|
|
4597
|
-
| `.pf-m-
|
|
4598
|
-
| `.pf-m-
|
|
4599
|
-
| `.pf-m-
|
|
4600
|
-
| `.pf-m-
|
|
4601
|
-
| `.pf-m-
|
|
4596
|
+
| `.pf-m-label` | `.pf-v5-c-toolbar__item` | Modifies label vertical positioning. |
|
|
4597
|
+
| `.pf-m-form-element` | `.pf-v5-c-toolbar__item` | Modifies form element vertical positioning. |
|
|
4598
|
+
| `.pf-m-bulk-select` | `.pf-v5-c-toolbar__item` | Modifies bulk select spacing. |
|
|
4599
|
+
| `.pf-m-overflow-menu` | `.pf-v5-c-toolbar__item` | Modifies overflow menu spacing. |
|
|
4600
|
+
| `.pf-m-pagination` | `.pf-v5-c-toolbar__item` | Modifies pagination spacing and margin. |
|
|
4601
|
+
| `.pf-m-search-filter` | `.pf-v5-c-toolbar__item` | Modifies search filter spacing. |
|
|
4602
|
+
| `.pf-m-chip-group` | `.pf-v5-c-toolbar__item` | Modifies chip group spacing. |
|
|
4603
|
+
| `.pf-m-expand-all` | `.pf-v5-c-toolbar__item` | Modifies an item for an expand all button. |
|
|
4602
4604
|
| `.pf-m-expanded` | `.pf-v5-c-toolbar__item.pf-m-expand-all` | Modifies an expand all button for the expanded state. |
|
|
4603
|
-
| `.pf-m-button-group` | `.pf-v5-c-toolbar__group` |
|
|
4604
|
-
| `.pf-m-icon-button-group` | `.pf-v5-c-toolbar__group` |
|
|
4605
|
-
| `.pf-m-filter-group` | `.pf-v5-c-toolbar__group` |
|
|
4605
|
+
| `.pf-m-button-group` | `.pf-v5-c-toolbar__group` | Modifies button group spacing. |
|
|
4606
|
+
| `.pf-m-icon-button-group` | `.pf-v5-c-toolbar__group` | Modifies icon button group spacing. |
|
|
4607
|
+
| `.pf-m-filter-group` | `.pf-v5-c-toolbar__group` | Modifies filter group spacing. |
|
|
4606
4608
|
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v5-c-toolbar__content`, `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__item`, `.pf-v5-c-toolbar__group` | Modifies toolbar element to be hidden, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
4607
4609
|
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v5-c-toolbar__content`, `.pf-v5-c-toolbar__content-section`, `.pf-v5-c-toolbar__item`, `.pf-v5-c-toolbar__group` | Modifies toolbar element to be shown, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
4608
4610
|
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v5-c-toolbar > *` | Modifies toolbar element to align right, at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/patternfly",
|
|
3
3
|
"description": "Assets, source, tooling, and content for PatternFly 4",
|
|
4
|
-
"version": "5.2.0-prerelease.
|
|
4
|
+
"version": "5.2.0-prerelease.2",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@commitlint/config-conventional": "^17.6.7",
|
|
46
46
|
"@fortawesome/fontawesome": "^1.1.8",
|
|
47
47
|
"@octokit/rest": "^20.0.1",
|
|
48
|
-
"@patternfly/documentation-framework": "5.2.
|
|
48
|
+
"@patternfly/documentation-framework": "5.2.18",
|
|
49
49
|
"@patternfly/patternfly-a11y": "4.3.1",
|
|
50
50
|
"@patternfly/react-code-editor": "5.1.1",
|
|
51
51
|
"@patternfly/react-core": "5.1.1",
|
|
@@ -8211,7 +8211,8 @@ button.pf-v5-c-breadcrumb__link {
|
|
|
8211
8211
|
--pf-v5-c-check__label--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
|
8212
8212
|
--pf-v5-c-check__label--FontSize: var(--pf-v5-global--FontSize--md);
|
|
8213
8213
|
--pf-v5-c-check__label--LineHeight: var(--pf-v5-global--LineHeight--md);
|
|
8214
|
-
--pf-v5-c-check__input--TranslateY
|
|
8214
|
+
--pf-v5-c-check__input--TranslateY: calc((var(--pf-v5-c-check__label--LineHeight) * var(--pf-v5-c-check__label--FontSize) / 2 ) - 50%);
|
|
8215
|
+
--pf-v5-c-check__input--TranslateY--moz: var(--pf-v5-c-check__input--TranslateY);
|
|
8215
8216
|
--pf-v5-c-check__description--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
8216
8217
|
--pf-v5-c-check__description--Color: var(--pf-v5-global--Color--200);
|
|
8217
8218
|
--pf-v5-c-check__body--MarginTop: var(--pf-v5-global--spacer--sm);
|
|
@@ -8221,15 +8222,21 @@ button.pf-v5-c-breadcrumb__link {
|
|
|
8221
8222
|
display: grid;
|
|
8222
8223
|
grid-template-columns: auto 1fr;
|
|
8223
8224
|
grid-gap: var(--pf-v5-c-check--GridGap);
|
|
8225
|
+
align-items: baseline;
|
|
8224
8226
|
}
|
|
8225
8227
|
.pf-v5-c-check.pf-m-standalone {
|
|
8226
8228
|
--pf-v5-c-check--GridGap: 0;
|
|
8227
|
-
--pf-v5-c-check__input--TranslateY
|
|
8229
|
+
--pf-v5-c-check__input--TranslateY: none;
|
|
8228
8230
|
display: inline-grid;
|
|
8229
8231
|
}
|
|
8230
8232
|
|
|
8233
|
+
.pf-v5-c-check__input {
|
|
8234
|
+
align-self: start;
|
|
8235
|
+
-moz-transform: translateY(var(--pf-v5-c-check__input--TranslateY--moz));
|
|
8236
|
+
transform: translateY(var(--pf-v5-c-check__input--TranslateY));
|
|
8237
|
+
}
|
|
8238
|
+
|
|
8231
8239
|
.pf-v5-c-check__label {
|
|
8232
|
-
align-self: baseline;
|
|
8233
8240
|
font-size: var(--pf-v5-c-check__label--FontSize);
|
|
8234
8241
|
font-weight: var(--pf-v5-c-check__label--FontWeight);
|
|
8235
8242
|
line-height: var(--pf-v5-c-check__label--LineHeight);
|
|
@@ -8247,11 +8254,6 @@ button.pf-v5-c-breadcrumb__link {
|
|
|
8247
8254
|
margin-block-start: var(--pf-v5-c-check__body--MarginTop);
|
|
8248
8255
|
}
|
|
8249
8256
|
|
|
8250
|
-
.pf-v5-c-check__input {
|
|
8251
|
-
align-self: baseline;
|
|
8252
|
-
-moz-transform: translateY(var(--pf-v5-c-check__input--TranslateY--moz));
|
|
8253
|
-
}
|
|
8254
|
-
|
|
8255
8257
|
.pf-v5-c-check__label,
|
|
8256
8258
|
.pf-v5-c-check__input {
|
|
8257
8259
|
justify-self: start;
|
|
@@ -11017,6 +11019,9 @@ label.pf-v5-c-check, .pf-v5-c-check__label,
|
|
|
11017
11019
|
--pf-v5-c-toolbar__item--m-label--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
11018
11020
|
--pf-v5-c-toolbar__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
11019
11021
|
--pf-v5-c-toolbar__item--m-label--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
11022
|
+
--pf-v5-c-toolbar__item--m-form-element--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
11023
|
+
--pf-v5-c-toolbar__item--m-form-element--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
11024
|
+
--pf-v5-c-toolbar__item--m-form-element--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
11020
11025
|
--pf-v5-c-toolbar__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
11021
11026
|
--pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-v5-global--spacer--sm));
|
|
11022
11027
|
--pf-v5-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
@@ -11263,7 +11268,12 @@ label.pf-v5-c-check, .pf-v5-c-check__label,
|
|
|
11263
11268
|
.pf-v5-c-toolbar__item.pf-m-label {
|
|
11264
11269
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-label--spacer);
|
|
11265
11270
|
font-weight: var(--pf-v5-c-toolbar__item--m-label--FontWeight);
|
|
11266
|
-
transform: translateY(var(--pf-v5-
|
|
11271
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-label--TranslateY));
|
|
11272
|
+
}
|
|
11273
|
+
.pf-v5-c-toolbar__item.pf-m-form-element {
|
|
11274
|
+
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-form-element--spacer);
|
|
11275
|
+
font-weight: var(--pf-v5-c-toolbar__item--m-form-element--FontWeight);
|
|
11276
|
+
transform: translateY(var(--pf-v5-c-toolbar__item--m-form-element--TranslateY));
|
|
11267
11277
|
}
|
|
11268
11278
|
.pf-v5-c-toolbar__item.pf-m-pagination {
|
|
11269
11279
|
margin-inline-start: auto;
|
|
@@ -13665,14 +13675,12 @@ label.pf-v5-c-check, .pf-v5-c-check__label,
|
|
|
13665
13675
|
}
|
|
13666
13676
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-check > input,
|
|
13667
13677
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-check .pf-v5-c-check {
|
|
13678
|
+
--pf-v5-c-check__input--TranslateY: none;
|
|
13668
13679
|
align-self: revert;
|
|
13669
13680
|
width: auto;
|
|
13670
13681
|
cursor: pointer;
|
|
13671
13682
|
visibility: var(--pf-v5-c-dropdown__toggle--m-split-button__toggle-check__input--Visibility, unset);
|
|
13672
13683
|
}
|
|
13673
|
-
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-check .pf-v5-c-check__input {
|
|
13674
|
-
-moz-transform: none;
|
|
13675
|
-
}
|
|
13676
13684
|
.pf-v5-c-dropdown__toggle.pf-m-split-button .pf-v5-c-dropdown__toggle-button {
|
|
13677
13685
|
color: var(--pf-v5-c-dropdown__toggle-button--Color);
|
|
13678
13686
|
background-color: var(--pf-v5-c-dropdown__toggle-button--BackgroundColor);
|
|
@@ -18241,6 +18249,9 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
18241
18249
|
align-items: center;
|
|
18242
18250
|
margin-inline-end: var(--pf-v5-c-menu__item-check--MarginRight);
|
|
18243
18251
|
}
|
|
18252
|
+
.pf-v5-c-menu__item-check .pf-v5-c-check {
|
|
18253
|
+
--pf-v5-c-check__input--TranslateY: none;
|
|
18254
|
+
}
|
|
18244
18255
|
|
|
18245
18256
|
.pf-v5-c-menu__item-toggle-icon {
|
|
18246
18257
|
padding-inline-start: var(--pf-v5-c-menu__item-toggle-icon--PaddingLeft);
|
|
@@ -18622,8 +18633,7 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
18622
18633
|
align-self: stretch;
|
|
18623
18634
|
}
|
|
18624
18635
|
.pf-v5-c-menu-toggle.pf-m-split-button > .pf-v5-c-check .pf-v5-c-check__input {
|
|
18625
|
-
align-self:
|
|
18626
|
-
-moz-transform: none;
|
|
18636
|
+
align-self: center;
|
|
18627
18637
|
}
|
|
18628
18638
|
.pf-v5-c-menu-toggle.pf-m-split-button.pf-m-action:where(:not(.pf-m-primary, .pf-m-secondary, .pf-m-disabled)) > *::after {
|
|
18629
18639
|
position: absolute;
|
|
@@ -23453,7 +23463,8 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
23453
23463
|
--pf-v5-c-radio__label--FontWeight: var(--pf-v5-global--FontWeight--normal);
|
|
23454
23464
|
--pf-v5-c-radio__label--FontSize: var(--pf-v5-global--FontSize--md);
|
|
23455
23465
|
--pf-v5-c-radio__label--LineHeight: var(--pf-v5-global--LineHeight--md);
|
|
23456
|
-
--pf-v5-c-radio__input--TranslateY
|
|
23466
|
+
--pf-v5-c-radio__input--TranslateY: calc((var(--pf-v5-c-radio__label--LineHeight) * var(--pf-v5-c-radio__label--FontSize) / 2 ) - 50%);
|
|
23467
|
+
--pf-v5-c-radio__input--TranslateY--moz: var(--pf-v5-c-radio__input--TranslateY);
|
|
23457
23468
|
--pf-v5-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
|
23458
23469
|
--pf-v5-c-radio__input--last-child--MarginRight: 0.0625rem;
|
|
23459
23470
|
--pf-v5-c-radio__description--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
@@ -23466,19 +23477,14 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
23466
23477
|
}
|
|
23467
23478
|
.pf-v5-c-radio.pf-m-standalone {
|
|
23468
23479
|
--pf-v5-c-radio--GridGap: 0;
|
|
23469
|
-
--pf-v5-c-radio__input--TranslateY
|
|
23470
|
-
|
|
23471
|
-
}
|
|
23472
|
-
|
|
23473
|
-
.pf-v5-c-radio__label {
|
|
23474
|
-
font-size: var(--pf-v5-c-radio__label--FontSize);
|
|
23475
|
-
font-weight: var(--pf-v5-c-radio__label--FontWeight);
|
|
23476
|
-
line-height: var(--pf-v5-c-radio__label--LineHeight);
|
|
23477
|
-
color: var(--pf-v5-c-radio__label--Color);
|
|
23480
|
+
--pf-v5-c-radio__input--TranslateY: none;
|
|
23481
|
+
display: inline-grid;
|
|
23478
23482
|
}
|
|
23479
23483
|
|
|
23480
23484
|
.pf-v5-c-radio__input {
|
|
23485
|
+
align-self: start;
|
|
23481
23486
|
-moz-transform: translateY(var(--pf-v5-c-radio__input--TranslateY--moz));
|
|
23487
|
+
transform: translateY(var(--pf-v5-c-radio__input--TranslateY));
|
|
23482
23488
|
}
|
|
23483
23489
|
.pf-v5-c-radio__input:first-child {
|
|
23484
23490
|
margin-inline-start: var(--pf-v5-c-radio__input--first-child--MarginLeft);
|
|
@@ -23487,6 +23493,13 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
23487
23493
|
margin-inline-end: var(--pf-v5-c-radio__input--last-child--MarginRight);
|
|
23488
23494
|
}
|
|
23489
23495
|
|
|
23496
|
+
.pf-v5-c-radio__label {
|
|
23497
|
+
font-size: var(--pf-v5-c-radio__label--FontSize);
|
|
23498
|
+
font-weight: var(--pf-v5-c-radio__label--FontWeight);
|
|
23499
|
+
line-height: var(--pf-v5-c-radio__label--LineHeight);
|
|
23500
|
+
color: var(--pf-v5-c-radio__label--Color);
|
|
23501
|
+
}
|
|
23502
|
+
|
|
23490
23503
|
.pf-v5-c-radio__description {
|
|
23491
23504
|
grid-column: 2;
|
|
23492
23505
|
font-size: var(--pf-v5-c-radio__description--FontSize);
|
|
@@ -26957,7 +26970,8 @@ svg.pf-v5-c-spinner.pf-m-xl {
|
|
|
26957
26970
|
--pf-v5-c-table__button--OutlineOffset: calc(var(--pf-v5-global--BorderWidth--lg) * -1);
|
|
26958
26971
|
--pf-v5-c-table--m-compact__toggle--PaddingTop: 0;
|
|
26959
26972
|
--pf-v5-c-table--m-compact__toggle--PaddingBottom: 0;
|
|
26960
|
-
--pf-v5-c-table__check--input--MarginTop: 0.
|
|
26973
|
+
--pf-v5-c-table__check--input--MarginTop: 0.1875rem;
|
|
26974
|
+
--pf-v5-c-table__thead__check--input--TranslateY: var(--pf-v5-c-table__check--input--MarginTop);
|
|
26961
26975
|
--pf-v5-c-table__check--input--FontSize: var(--pf-v5-global--FontSize--md);
|
|
26962
26976
|
--pf-v5-c-table--cell--m-favorite--Color: var(--pf-v5-global--Color--light-300);
|
|
26963
26977
|
--pf-v5-c-table__favorite--c-button--Color: var(--pf-v5-global--Color--light-300);
|
|
@@ -27590,13 +27604,16 @@ svg.pf-v5-c-spinner.pf-m-xl {
|
|
|
27590
27604
|
cursor: pointer;
|
|
27591
27605
|
}
|
|
27592
27606
|
.pf-v5-c-table__check label {
|
|
27593
|
-
display:
|
|
27607
|
+
display: inline-flex;
|
|
27594
27608
|
padding: inherit;
|
|
27595
27609
|
margin-block-start: calc(var(--pf-v5-c-table--cell--PaddingTop) * -1);
|
|
27596
27610
|
margin-block-end: calc(var(--pf-v5-c-table--cell--PaddingBottom) * -1);
|
|
27597
27611
|
margin-inline-start: calc(var(--pf-v5-c-table--cell--PaddingLeft) * -1);
|
|
27598
27612
|
margin-inline-end: calc(var(--pf-v5-c-table--cell--PaddingRight) * -1);
|
|
27599
27613
|
}
|
|
27614
|
+
.pf-v5-c-table__thead .pf-v5-c-check.pf-m-standalone {
|
|
27615
|
+
--pf-v5-c-check__input--TranslateY: var(--pf-v5-c-table__thead__check--input--TranslateY);
|
|
27616
|
+
}
|
|
27600
27617
|
|
|
27601
27618
|
.pf-v5-c-table__favorite .pf-v5-c-button {
|
|
27602
27619
|
--pf-v5-c-button--m-plain--Color: var(--pf-v5-c-table__favorite--c-button--Color);
|