@patternfly/react-styles 6.0.0-alpha.25 → 6.0.0-alpha.26
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/css/assets/images/pf-background.svg +21 -21
- package/css/components/ActionList/action-list.css +4 -4
- package/css/components/Alert/alert-group.css +2 -1
- package/css/components/Banner/banner.css +10 -10
- package/css/components/Banner/banner.d.ts +2 -2
- package/css/components/Banner/banner.js +2 -2
- package/css/components/Banner/banner.mjs +2 -2
- package/css/components/Brand/brand.css +4 -1
- package/css/components/CalendarMonth/calendar-month.css +1 -1
- package/css/components/Card/card.css +11 -1
- package/css/components/Label/label.css +34 -34
- package/css/components/Label/label.d.ts +2 -2
- package/css/components/Label/label.js +2 -2
- package/css/components/Label/label.mjs +2 -2
- package/css/components/List/list.css +4 -1
- package/css/components/LogViewer/log-viewer.css +4 -1
- package/css/components/Menu/menu.css +11 -0
- package/css/components/MenuToggle/menu-toggle.css +7 -0
- package/css/components/Pagination/pagination.css +6 -3
- package/css/components/Popover/popover.css +4 -1
- package/css/components/Table/table-grid.css +1 -1
- package/css/components/Table/table.css +10 -3
- package/css/components/TextInputGroup/text-input-group.css +20 -18
- package/css/components/Truncate/truncate.css +1 -1
- package/css/components/_index.css +134 -81
- package/css/components/_index.d.ts +2 -2
- package/css/components/_index.js +2 -2
- package/css/components/_index.mjs +2 -2
- package/css/docs/components/TextInputGroup/examples/TextInputGroup.css +4 -0
- package/css/docs/components/Truncate/examples/Truncate.css +0 -1
- package/package.json +3 -3
- package/css/docs/components/Pagination/examples/Pagination.css +0 -3
- package/css/docs/components/Pagination/examples/Pagination.d.ts +0 -3
- package/css/docs/components/Pagination/examples/Pagination.js +0 -4
- package/css/docs/components/Pagination/examples/Pagination.mjs +0 -2
@@ -13,6 +13,9 @@
|
|
13
13
|
--pf-v6-c-menu-toggle--BorderColor: var(--pf-t--global--border--color--default);
|
14
14
|
--pf-v6-c-menu-toggle--BorderWidth: var(--pf-t--global--border--width--button--default);
|
15
15
|
--pf-v6-c-menu-toggle--border--ZIndex: var(--pf-t--global--z-index--xs);
|
16
|
+
--pf-v6-c-menu-toggle--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
17
|
+
--pf-v6-c-menu-toggle--TransitionDuration: var(--pf-t--global--motion--duration--fade--short);
|
18
|
+
--pf-v6-c-menu-toggle--TransitionProperty: color, background-color, border-width, border-color;
|
16
19
|
--pf-v6-c-menu-toggle--hover--Color: var(--pf-t--global--text--color--regular);
|
17
20
|
--pf-v6-c-menu-toggle--hover--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
18
21
|
--pf-v6-c-menu-toggle--hover--BorderWidth: var(--pf-t--global--border--width--button--default);
|
@@ -136,6 +139,9 @@
|
|
136
139
|
cursor: pointer;
|
137
140
|
background-color: var(--pf-v6-c-menu-toggle--BackgroundColor);
|
138
141
|
border: 0;
|
142
|
+
transition-timing-function: var(--pf-v6-c-menu-toggle--TransitionTimingFunction);
|
143
|
+
transition-duration: var(--pf-v6-c-menu-toggle--TransitionDuration);
|
144
|
+
transition-property: var(--pf-v6-c-menu-toggle--TransitionProperty);
|
139
145
|
}
|
140
146
|
.pf-v6-c-menu-toggle, .pf-v6-c-menu-toggle::before {
|
141
147
|
border-radius: var(--pf-v6-c-menu-toggle--BorderRadius);
|
@@ -150,6 +156,7 @@
|
|
150
156
|
pointer-events: none;
|
151
157
|
content: "";
|
152
158
|
border: var(--pf-v6-c-menu-toggle--BorderWidth) solid var(--pf-v6-c-menu-toggle--BorderColor);
|
159
|
+
transition: inherit;
|
153
160
|
}
|
154
161
|
.pf-v6-c-menu-toggle.pf-m-primary {
|
155
162
|
--pf-v6-c-menu-toggle--PaddingInlineStart: var(--pf-v6-c-menu-toggle--m-primary--PaddingInlineStart);
|
@@ -28,14 +28,17 @@
|
|
28
28
|
--pf-v6-c-pagination--m-bottom--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
29
29
|
--pf-v6-c-pagination--m-bottom--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
30
30
|
--pf-v6-c-pagination--m-bottom--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--sm--top);
|
31
|
+
--pf-v6-c-pagination__page-menu--Display--base: block;
|
31
32
|
--pf-v6-c-pagination__page-menu--Display: none;
|
32
33
|
--pf-v6-c-pagination--m-display-summary__page-menu--Display: none;
|
33
|
-
--pf-v6-c-pagination--m-display-full__page-menu--Display:
|
34
|
+
--pf-v6-c-pagination--m-display-full__page-menu--Display: var(--pf-v6-c-pagination__page-menu--Display--base);
|
35
|
+
--pf-v6-c-pagination--m-bottom__page-menu--Display: var(--pf-v6-c-pagination__page-menu--Display--base);
|
36
|
+
--pf-v6-c-pagination__page-menu--md--Display: var(--pf-v6-c-pagination__page-menu--Display--base);
|
34
37
|
}
|
35
38
|
@media screen and (min-width: 768px) {
|
36
39
|
:where(:root, .pf-v6-c-pagination) {
|
37
40
|
--pf-v6-c-pagination--m-bottom--BoxShadow: none;
|
38
|
-
--pf-v6-c-pagination__page-menu--Display:
|
41
|
+
--pf-v6-c-pagination__page-menu--Display: var(--pf-v6-c-pagination__page-menu--md--Display);
|
39
42
|
--pf-v6-c-pagination__nav--Display: inline-flex;
|
40
43
|
--pf-v6-c-pagination__total-items--Display: none;
|
41
44
|
}
|
@@ -82,7 +85,7 @@
|
|
82
85
|
}
|
83
86
|
.pf-v6-c-pagination.pf-m-bottom .pf-v6-c-pagination__page-menu {
|
84
87
|
position: absolute;
|
85
|
-
display:
|
88
|
+
display: var(--pf-v6-c-pagination--m-bottom__page-menu--Display);
|
86
89
|
}
|
87
90
|
.pf-v6-c-pagination.pf-m-bottom .pf-v6-c-pagination__nav {
|
88
91
|
display: flex;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.pf-v6-c-popover {
|
1
|
+
:where(:root, .pf-v6-c-popover) {
|
2
2
|
--pf-v6-c-popover--FontSize: var(--pf-t--global--font--size--body--sm);
|
3
3
|
--pf-v6-c-popover--MinWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
|
4
4
|
--pf-v6-c-popover--MaxWidth: calc(var(--pf-v6-c-popover__content--PaddingInlineStart) + var(--pf-v6-c-popover__content--PaddingInlineEnd) + 18.75rem);
|
@@ -47,6 +47,9 @@
|
|
47
47
|
--pf-v6-c-popover__title-icon--Color: var(--pf-t--global--icon--color--regular);
|
48
48
|
--pf-v6-c-popover__title-icon--FontSize: var(--pf-t--global--font--size--heading--xs);
|
49
49
|
--pf-v6-c-popover__footer--MarginBlockStart: var(--pf-t--global--spacer--md);
|
50
|
+
}
|
51
|
+
|
52
|
+
.pf-v6-c-popover {
|
50
53
|
position: relative;
|
51
54
|
min-width: var(--pf-v6-c-popover--MinWidth);
|
52
55
|
max-width: var(--pf-v6-c-popover--MaxWidth);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.pf-v6-c-table[class*=pf-m-grid] {
|
1
|
+
:where(:root, .pf-v6-c-table[class*=pf-m-grid]) {
|
2
2
|
--pf-v6-c-table--responsive--BorderColor: var(--pf-t--global--border--color--default);
|
3
3
|
--pf-v6-c-table__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
4
4
|
--pf-v6-c-table__tbody--after--border-width--base: var(--pf-t--global--border--width--extra-strong);
|
@@ -419,6 +419,9 @@
|
|
419
419
|
.pf-v6-c-table .pf-v6-c-table :is(.pf-v6-c-table__tbody, .pf-v6-c-table__tr:last-child) {
|
420
420
|
border-block-end: 0;
|
421
421
|
}
|
422
|
+
.pf-v6-c-table .pf-v6-c-button .pf-v6-c-table__sort-indicator {
|
423
|
+
--pf-v6-c-table__sort-indicator--MarginInlineStart: 0;
|
424
|
+
}
|
422
425
|
|
423
426
|
.pf-v6-c-table__text {
|
424
427
|
--pf-v6-c-table--cell--MaxWidth: 100%;
|
@@ -514,14 +517,16 @@
|
|
514
517
|
.pf-v6-c-table .pf-v6-c-table__check,
|
515
518
|
.pf-v6-c-table .pf-v6-c-table__toggle,
|
516
519
|
.pf-v6-c-table .pf-v6-c-table__action,
|
517
|
-
.pf-v6-c-table .pf-v6-c-table__favorite,
|
518
|
-
.pf-v6-c-table th:where(.pf-v6-c-table__th).pf-m-favorite,
|
519
520
|
.pf-v6-c-table .pf-v6-c-table__inline-edit-action,
|
520
521
|
.pf-v6-c-table .pf-v6-c-table__draggable {
|
521
522
|
--pf-v6-c-table--cell--MinWidth: 0;
|
522
523
|
--pf-v6-c-table--cell--Width: 1%;
|
523
524
|
}
|
524
525
|
|
526
|
+
.pf-v6-c-table .pf-v6-c-table__favorite {
|
527
|
+
--pf-v6-c-table--cell--MaxWidth: auto;
|
528
|
+
}
|
529
|
+
|
525
530
|
.pf-v6-c-table__toggle {
|
526
531
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table__toggle--PaddingBlockStart);
|
527
532
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--pf-v6-c-table__toggle--PaddingBlockEnd);
|
@@ -659,8 +664,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
659
664
|
.pf-v6-c-table__sort .pf-v6-c-table__button .pf-v6-c-table__text {
|
660
665
|
color: var(--pf-v6-c-table__sort__button__text--Color);
|
661
666
|
}
|
662
|
-
.pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button {
|
667
|
+
.pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button, .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-button {
|
663
668
|
--pf-v6-c-table__sort-indicator--Color: var(--pf-v6-c-table__sort--m-selected__sort-indicator--Color);
|
669
|
+
}
|
670
|
+
.pf-v6-c-table__sort.pf-m-selected .pf-v6-c-table__button .pf-v6-c-table__text, .pf-v6-c-table__sort.pf-m-selected .pf-v6-c-button .pf-v6-c-table__text {
|
664
671
|
color: var(--pf-v6-c-table__sort--m-selected__button--Color);
|
665
672
|
}
|
666
673
|
.pf-v6-c-table__sort.pf-m-help {
|
@@ -2,15 +2,19 @@
|
|
2
2
|
--pf-v6-c-text-input-group--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
3
3
|
--pf-v6-c-text-input-group--BorderColor: var(--pf-t--global--border--color--default);
|
4
4
|
--pf-v6-c-text-input-group--BorderWidth: var(--pf-t--global--border--width--control--default);
|
5
|
-
--pf-v6-c-text-input-group--BorderRadius: var(--pf-t--global--border--radius--small);
|
6
5
|
--pf-v6-c-text-input-group--m-hover--BorderColor: var(--pf-t--global--border--color--hover);
|
7
6
|
--pf-v6-c-text-input-group__main--first-child--not--text-input--MarginInlineStart: var(--pf-t--global--spacer--xs);
|
8
7
|
--pf-v6-c-text-input-group__main--m-icon__text-input--PaddingInlineStart: var(--pf-t--global--spacer--xl);
|
9
8
|
--pf-v6-c-text-input-group__main--RowGap: var(--pf-t--global--spacer--xs);
|
10
9
|
--pf-v6-c-text-input-group__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
11
|
-
--pf-v6-c-text-input-
|
12
|
-
--pf-v6-c-text-input-
|
13
|
-
--pf-v6-c-text-input-
|
10
|
+
--pf-v6-c-text-input-group__text--BorderRadius--base: var(--pf-t--global--border--radius--small);
|
11
|
+
--pf-v6-c-text-input-group__text--BorderStartStartRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
12
|
+
--pf-v6-c-text-input-group__text--BorderStartEndRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
13
|
+
--pf-v6-c-text-input-group__text--BorderEndEndRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
14
|
+
--pf-v6-c-text-input-group__text--BorderEndStartRadius: var(--pf-v6-c-text-input-group__text--BorderRadius--base);
|
15
|
+
--pf-v6-c-text-input-group--c-label-group__main--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
16
|
+
--pf-v6-c-text-input-group--c-label-group__main--PaddingInlineEnd: var(--pf-t--global--spacer--xs);
|
17
|
+
--pf-v6-c-text-input-group--c-label-group__main--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
14
18
|
--pf-v6-c-text-input-group__text-input--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
15
19
|
--pf-v6-c-text-input-group__text-input--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
16
20
|
--pf-v6-c-text-input-group__text-input--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
@@ -36,15 +40,6 @@
|
|
36
40
|
width: 100%;
|
37
41
|
color: var(--pf-v6-c-text-input-group--Color, inherit);
|
38
42
|
background-color: var(--pf-v6-c-text-input-group--BackgroundColor);
|
39
|
-
border-radius: var(--pf-v6-c-text-input-group--BorderRadius);
|
40
|
-
}
|
41
|
-
.pf-v6-c-text-input-group::before {
|
42
|
-
position: absolute;
|
43
|
-
inset: 0;
|
44
|
-
pointer-events: none;
|
45
|
-
content: "";
|
46
|
-
border: var(--pf-v6-c-text-input-group--BorderWidth) solid var(--pf-v6-c-text-input-group--BorderColor);
|
47
|
-
border-radius: var(--pf-v6-c-text-input-group--BorderRadius);
|
48
43
|
}
|
49
44
|
.pf-v6-c-text-input-group:hover {
|
50
45
|
--pf-v6-c-text-input-group--BorderColor: var(--pf-v6-c-text-input-group--m-hover--BorderColor);
|
@@ -58,7 +53,7 @@
|
|
58
53
|
.pf-v6-c-text-input-group.pf-m-plain {
|
59
54
|
--pf-v6-c-text-input-group--BackgroundColor: transparent;
|
60
55
|
}
|
61
|
-
.pf-v6-c-text-input-group.pf-m-plain .pf-v6-c-text-input-group__text::before
|
56
|
+
.pf-v6-c-text-input-group.pf-m-plain .pf-v6-c-text-input-group__text::before {
|
62
57
|
border: 0;
|
63
58
|
}
|
64
59
|
|
@@ -73,12 +68,14 @@
|
|
73
68
|
--pf-v6-c-text-input-group__text-input--PaddingInlineStart: var(--pf-v6-c-text-input-group__main--m-icon__text-input--PaddingInlineStart);
|
74
69
|
}
|
75
70
|
.pf-v6-c-text-input-group__main > :first-child:not(.pf-v6-c-text-input-group__text) {
|
71
|
+
padding-block-start: var(--pf-v6-c-text-input-group__main--first-child--not--text-input--PaddingBlockStart);
|
72
|
+
padding-block-end: var(--pf-v6-c-text-input-group__main--first-child--not--text-input--PaddingBlockEnd);
|
76
73
|
margin-inline-start: var(--pf-v6-c-text-input-group__main--first-child--not--text-input--MarginInlineStart);
|
77
74
|
}
|
78
75
|
.pf-v6-c-text-input-group__main .pf-v6-c-label-group__main {
|
79
|
-
padding-block-start: var(--pf-v6-c-text-input-group--c-
|
80
|
-
padding-block-end: var(--pf-v6-c-text-input-group--c-
|
81
|
-
padding-inline-end: var(--pf-v6-c-text-input-group--c-
|
76
|
+
padding-block-start: var(--pf-v6-c-text-input-group--c-label-group__main--PaddingBlockStart);
|
77
|
+
padding-block-end: var(--pf-v6-c-text-input-group--c-label-group__main--PaddingBlockEnd);
|
78
|
+
padding-inline-end: var(--pf-v6-c-text-input-group--c-label-group__main--PaddingInlineEnd);
|
82
79
|
}
|
83
80
|
|
84
81
|
.pf-v6-c-text-input-group__text {
|
@@ -87,11 +84,16 @@
|
|
87
84
|
grid-template-areas: "text-input";
|
88
85
|
grid-template-columns: 1fr;
|
89
86
|
}
|
90
|
-
.pf-v6-c-text-input-group__text::before
|
87
|
+
.pf-v6-c-text-input-group__text::before {
|
91
88
|
position: absolute;
|
92
89
|
inset: 0;
|
93
90
|
pointer-events: none;
|
94
91
|
content: "";
|
92
|
+
border: var(--pf-v6-c-text-input-group--BorderWidth) solid var(--pf-v6-c-text-input-group--BorderColor);
|
93
|
+
border-start-start-radius: var(--pf-v6-c-text-input-group__text--BorderStartStartRadius);
|
94
|
+
border-start-end-radius: var(--pf-v6-c-text-input-group__text--BorderStartEndRadius);
|
95
|
+
border-end-start-radius: var(--pf-v6-c-text-input-group__text--BorderEndStartRadius);
|
96
|
+
border-end-end-radius: var(--pf-v6-c-text-input-group__text--BorderEndEndRadius);
|
95
97
|
}
|
96
98
|
|
97
99
|
.pf-v6-c-text-input-group__icon {
|