@patternfly/react-styles 6.0.0-alpha.25 → 6.0.0-alpha.27
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -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/Button/button.css +33 -14
- package/css/components/CalendarMonth/calendar-month.css +1 -1
- package/css/components/Card/card.css +11 -1
- package/css/components/ClipboardCopy/clipboard-copy.css +11 -19
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +2 -1
- package/css/components/ClipboardCopy/clipboard-copy.js +2 -1
- package/css/components/ClipboardCopy/clipboard-copy.mjs +2 -1
- package/css/components/JumpLinks/jump-links.css +4 -14
- package/css/components/JumpLinks/jump-links.d.ts +0 -1
- package/css/components/JumpLinks/jump-links.js +0 -1
- package/css/components/JumpLinks/jump-links.mjs +0 -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/Nav/nav.css +1 -0
- package/css/components/Page/page.css +38 -54
- package/css/components/Pagination/pagination.css +6 -3
- package/css/components/Panel/panel.css +17 -14
- 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/Toolbar/toolbar.css +1 -0
- package/css/components/Truncate/truncate.css +1 -1
- package/css/components/_index.css +239 -196
- 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/Page/examples/Page.css +5 -9
- package/css/docs/components/Page/examples/Page.d.ts +2 -0
- package/css/docs/components/Page/examples/Page.js +2 -0
- package/css/docs/components/Page/examples/Page.mjs +2 -0
- 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
@@ -2,43 +2,44 @@
|
|
2
2
|
--pf-v6-c-panel--Width: auto;
|
3
3
|
--pf-v6-c-panel--MinWidth: auto;
|
4
4
|
--pf-v6-c-panel--MaxWidth: none;
|
5
|
-
--pf-v6-c-panel--ZIndex: auto;
|
6
5
|
--pf-v6-c-panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
7
6
|
--pf-v6-c-panel--BoxShadow: none;
|
7
|
+
--pf-v6-c-panel--BorderRadius: var(--pf-t--global--border--radius--small);
|
8
8
|
--pf-v6-c-panel--before--BorderWidth: 0;
|
9
9
|
--pf-v6-c-panel--before--BorderColor: var(--pf-t--global--border--color--default);
|
10
10
|
--pf-v6-c-panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
11
|
-
--pf-v6-c-panel--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--
|
11
|
+
--pf-v6-c-panel--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
12
12
|
--pf-v6-c-panel--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
|
13
|
-
--pf-v6-c-panel--m-raised--ZIndex: var(--pf-t--global--z-index--sm);
|
14
13
|
--pf-v6-c-panel--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
15
14
|
--pf-v6-c-panel__header--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
16
|
-
--pf-v6-c-panel__header--PaddingInlineEnd: var(--pf-t--global--spacer--
|
15
|
+
--pf-v6-c-panel__header--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
17
16
|
--pf-v6-c-panel__header--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
18
|
-
--pf-v6-c-panel__header--PaddingInlineStart: var(--pf-t--global--spacer--
|
17
|
+
--pf-v6-c-panel__header--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
19
18
|
--pf-v6-c-panel__main--MaxHeight: none;
|
20
19
|
--pf-v6-c-panel__main--Overflow: visible;
|
21
20
|
--pf-v6-c-panel__main-body--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
22
|
-
--pf-v6-c-panel__main-body--PaddingInlineEnd: var(--pf-t--global--spacer--
|
21
|
+
--pf-v6-c-panel__main-body--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
23
22
|
--pf-v6-c-panel__main-body--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
24
|
-
--pf-v6-c-panel__main-body--PaddingInlineStart: var(--pf-t--global--spacer--
|
25
|
-
--pf-v6-c-panel__footer--PaddingBlockStart: var(--pf-t--global--spacer--
|
26
|
-
--pf-v6-c-panel__footer--PaddingInlineEnd: var(--pf-t--global--spacer--
|
27
|
-
--pf-v6-c-panel__footer--PaddingBlockEnd: var(--pf-t--global--spacer--
|
28
|
-
--pf-v6-c-panel__footer--PaddingInlineStart: var(--pf-t--global--spacer--
|
23
|
+
--pf-v6-c-panel__main-body--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
24
|
+
--pf-v6-c-panel__footer--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
25
|
+
--pf-v6-c-panel__footer--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
26
|
+
--pf-v6-c-panel__footer--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
27
|
+
--pf-v6-c-panel__footer--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
29
28
|
--pf-v6-c-panel__footer--BoxShadow: none;
|
30
29
|
--pf-v6-c-panel--m-scrollable__main--MaxHeight: 18.75rem;
|
31
30
|
--pf-v6-c-panel--m-scrollable__main--Overflow: auto;
|
32
|
-
--pf-v6-c-panel--m-scrollable__footer--BoxShadow:
|
31
|
+
--pf-v6-c-panel--m-scrollable__footer--BoxShadow: var(--pf-t--global--box-shadow--md--top);
|
32
|
+
--pf-v6-c-panel--m-scrollable__footer--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
33
|
+
--pf-v6-c-panel--m-scrollable__footer--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
33
34
|
}
|
34
35
|
|
35
36
|
.pf-v6-c-panel {
|
36
37
|
position: relative;
|
37
|
-
z-index: var(--pf-v6-c-panel--ZIndex);
|
38
38
|
width: var(--pf-v6-c-panel--Width);
|
39
39
|
min-width: var(--pf-v6-c-panel--MinWidth);
|
40
40
|
max-width: var(--pf-v6-c-panel--MaxWidth);
|
41
41
|
background-color: var(--pf-v6-c-panel--BackgroundColor);
|
42
|
+
border-radius: var(--pf-v6-c-panel--BorderRadius);
|
42
43
|
box-shadow: var(--pf-v6-c-panel--BoxShadow);
|
43
44
|
}
|
44
45
|
.pf-v6-c-panel::before {
|
@@ -47,6 +48,7 @@
|
|
47
48
|
pointer-events: none;
|
48
49
|
content: "";
|
49
50
|
border: var(--pf-v6-c-panel--before--BorderWidth) solid var(--pf-v6-c-panel--before--BorderColor);
|
51
|
+
border-radius: var(--pf-v6-c-panel--BorderRadius);
|
50
52
|
}
|
51
53
|
.pf-v6-c-panel.pf-m-bordered {
|
52
54
|
--pf-v6-c-panel--before--BorderWidth: var(--pf-v6-c-panel--m-bordered--before--BorderWidth);
|
@@ -57,12 +59,13 @@
|
|
57
59
|
.pf-v6-c-panel.pf-m-raised {
|
58
60
|
--pf-v6-c-panel--BackgroundColor: var(--pf-v6-c-panel--m-raised--BackgroundColor);
|
59
61
|
--pf-v6-c-panel--BoxShadow: var(--pf-v6-c-panel--m-raised--BoxShadow);
|
60
|
-
--pf-v6-c-panel--ZIndex: var(--pf-v6-c-panel--m-raised--ZIndex);
|
61
62
|
}
|
62
63
|
.pf-v6-c-panel.pf-m-scrollable {
|
63
64
|
--pf-v6-c-panel__main--MaxHeight: var(--pf-v6-c-panel--m-scrollable__main--MaxHeight);
|
64
65
|
--pf-v6-c-panel__main--Overflow: var(--pf-v6-c-panel--m-scrollable__main--Overflow);
|
65
66
|
--pf-v6-c-panel__footer--BoxShadow: var(--pf-v6-c-panel--m-scrollable__footer--BoxShadow);
|
67
|
+
--pf-v6-c-panel__footer--PaddingBlockStart: var(--pf-v6-c-panel--m-scrollable__footer--PaddingBlockStart);
|
68
|
+
--pf-v6-c-panel__footer--PaddingBlockEnd: var(--pf-v6-c-panel--m-scrollable__footer--PaddingBlockEnd);
|
66
69
|
}
|
67
70
|
|
68
71
|
.pf-v6-c-panel__header {
|
@@ -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 {
|
@@ -17,6 +17,7 @@
|
|
17
17
|
--pf-v6-c-toolbar__content--RowGap: var(--pf-t--global--spacer--sm);
|
18
18
|
--pf-v6-c-toolbar__content--PaddingBlock: var(--pf-t--global--spacer--md);
|
19
19
|
--pf-v6-c-toolbar__content--PaddingInline: var(--pf-v6-c-toolbar--PaddingInline);
|
20
|
+
--pf-v6-c-toolbar__content--PaddingBlockStart: 0;
|
20
21
|
--pf-v6-c-toolbar__expandable-content--ZIndex: var(--pf-t--global--z-index--sm);
|
21
22
|
--pf-v6-c-toolbar__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
22
23
|
--pf-v6-c-toolbar__expandable-content--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|