@patternfly/react-styles 6.2.0-prerelease.10 → 6.2.0-prerelease.12
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/CHANGELOG.md +16 -0
- package/css/components/Accordion/accordion.css +3 -1
- package/css/components/Alert/alert-group.css +2 -2
- package/css/components/Banner/banner.css +2 -2
- package/css/components/Button/button.css +25 -0
- package/css/components/Button/button.d.ts +2 -0
- package/css/components/Button/button.js +2 -0
- package/css/components/Button/button.mjs +2 -0
- package/css/components/Card/card.css +4 -2
- package/css/components/ClipboardCopy/clipboard-copy.css +6 -1
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -0
- package/css/components/ClipboardCopy/clipboard-copy.js +1 -0
- package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -0
- package/css/components/DataList/data-list.css +3 -1
- package/css/components/DualListSelector/dual-list-selector.css +4 -2
- package/css/components/ExpandableSection/expandable-section.css +3 -1
- package/css/components/Form/form.css +4 -2
- package/css/components/FormControl/form-control.css +108 -41
- package/css/components/HelperText/helper-text.css +2 -2
- package/css/components/JumpLinks/jump-links.css +4 -2
- package/css/components/Menu/menu.css +4 -4
- package/css/components/MenuToggle/menu-toggle.css +1 -1
- package/css/components/Nav/nav.css +12 -15
- package/css/components/NotificationDrawer/notification-drawer.css +3 -1
- package/css/components/Switch/switch.css +3 -1
- package/css/components/Table/table-grid.css +3 -1
- package/css/components/Table/table.css +7 -5
- package/css/components/Tabs/tabs.css +6 -2
- package/css/components/Toolbar/toolbar.css +4 -2
- package/css/components/Wizard/wizard.css +4 -2
- package/css/components/_index.css +217 -93
- package/css/components/_index.d.ts +2 -2
- package/css/components/_index.js +2 -2
- package/css/components/_index.mjs +2 -2
- package/package.json +3 -3
@@ -52,9 +52,9 @@
|
|
52
52
|
--pf-v6-c-nav__subnav--PaddingBlockStart: var(--pf-v6-c-nav__item--RowGap);
|
53
53
|
--pf-v6-c-nav__subnav--PaddingBlockEnd: var(--pf-v6-c-nav__item--RowGap);
|
54
54
|
--pf-v6-c-nav__subnav--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
55
|
-
--pf-v6-c-nav__subnav--TransitionDuration--
|
56
|
-
--pf-v6-c-nav__subnav--
|
57
|
-
--pf-v6-c-nav__subnav--TransitionTimingFunction--
|
55
|
+
--pf-v6-c-nav__subnav--TransitionDuration--expand: var(--pf-t--global--motion--duration--slide-in--default);
|
56
|
+
--pf-v6-c-nav__subnav--TransitionDuration--collapse: var(--pf-t--global--motion--duration--slide-in--short);
|
57
|
+
--pf-v6-c-nav__subnav--TransitionTimingFunction--expand: var(--pf-t--global--motion--timing-function--default);
|
58
58
|
--pf-v6-c-nav__scroll-button--BorderColor: var(--pf-t--global--border--color--default);
|
59
59
|
--pf-v6-c-nav__scroll-button--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
60
60
|
--pf-v6-c-nav__scroll-button--first-of-type--c-button--BorderStartStartRadius: var(--pf-t--global--border--radius--pill);
|
@@ -83,12 +83,6 @@
|
|
83
83
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
84
84
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
85
85
|
}
|
86
|
-
@media (prefers-reduced-motion: no-preference) {
|
87
|
-
.pf-v6-c-nav {
|
88
|
-
--pf-v6-c-nav__subnav--TransitionDuration--expansion: var(--pf-t--global--motion--duration--slide-in--default);
|
89
|
-
--pf-v6-c-nav__subnav--hidden--TransitionDuration--expansion: var(--pf-t--global--motion--duration--slide-in--short);
|
90
|
-
}
|
91
|
-
}
|
92
86
|
|
93
87
|
.pf-v6-c-nav,
|
94
88
|
.pf-v6-c-nav__section,
|
@@ -140,7 +134,7 @@
|
|
140
134
|
}
|
141
135
|
|
142
136
|
[class^=pf-v6-c-nav][hidden] {
|
143
|
-
|
137
|
+
display: none;
|
144
138
|
}
|
145
139
|
|
146
140
|
.pf-v6-c-nav__nav,
|
@@ -149,7 +143,6 @@
|
|
149
143
|
--pf-v6-c-nav__item--RowGap--row-offset: calc(var(--pf-v6-c-nav__list--RowGap) / 2 * -1);
|
150
144
|
--pf-v6-c-nav__link--clickable-inset--Block: var(--pf-v6-c-nav__item--RowGap--row-offset);
|
151
145
|
--pf-v6-c-nav__button--RowGap--row-offset: calc(var(--pf-v6-c-nav__item--RowGap) * -1);
|
152
|
-
visibility: visible;
|
153
146
|
}
|
154
147
|
|
155
148
|
.pf-v6-c-nav__list {
|
@@ -166,15 +159,19 @@
|
|
166
159
|
padding-block-end: var(--pf-v6-c-nav__subnav--PaddingBlockEnd);
|
167
160
|
padding-inline-start: var(--pf-v6-c-nav__subnav--PaddingInlineStart);
|
168
161
|
overflow-y: clip;
|
169
|
-
transition-
|
170
|
-
transition-
|
171
|
-
transition-
|
162
|
+
transition-delay: 0s, var(--pf-v6-c-nav__subnav--TransitionDelay--expand--focus, 0s), var(--pf-v6-c-nav__subnav--TransitionDelay--expand--focus, 0s), var(--pf-v6-c-nav__subnav--TransitionDelay--expand--focus, 0s), var(--pf-v6-c-nav__subnav--TransitionDelay--expand--focus, 0s);
|
163
|
+
transition-timing-function: var(--pf-v6-c-nav__subnav--TransitionTimingFunction--expand);
|
164
|
+
transition-duration: var(--pf-v6-c-nav__subnav--TransitionDuration--expand), 0s, 0s, 0s, 0s;
|
165
|
+
transition-property: opacity, visibility, grid-template-rows, padding-block-start, padding-block-end;
|
172
166
|
}
|
173
167
|
.pf-v6-c-nav__subnav[hidden] {
|
174
|
-
--pf-v6-c-nav__subnav--
|
168
|
+
--pf-v6-c-nav__subnav--TransitionDelay--expand--focus: var(--pf-v6-c-nav__subnav--TransitionDuration--expand);
|
169
|
+
--pf-v6-c-nav__subnav--TransitionDuration--expand: var(--pf-v6-c-nav__subnav--TransitionDuration--collapse);
|
175
170
|
--pf-v6-c-nav__subnav--PaddingBlockStart: 0;
|
176
171
|
--pf-v6-c-nav__subnav--PaddingBlockEnd: 0;
|
172
|
+
display: grid;
|
177
173
|
grid-template-rows: 0fr;
|
174
|
+
visibility: hidden;
|
178
175
|
opacity: 0;
|
179
176
|
}
|
180
177
|
|
@@ -66,7 +66,9 @@
|
|
66
66
|
--pf-v6-c-notification-drawer__group-toggle-count--MarginInlineEnd: var(--pf-t--global--spacer--md);
|
67
67
|
--pf-v6-c-notification-drawer__group-toggle-icon--MarginInlineEnd: var(--pf-t--global--spacer--md);
|
68
68
|
--pf-v6-c-notification-drawer__group-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
69
|
-
--pf-v6-c-notification-drawer__group-toggle-icon--
|
69
|
+
--pf-v6-c-notification-drawer__group-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
70
|
+
--pf-v6-c-notification-drawer__group-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
71
|
+
--pf-v6-c-notification-drawer__group-toggle-icon--Transition: transform var(--pf-v6-c-notification-drawer__group-toggle-icon--TransitionDuration) var(--pf-v6-c-notification-drawer__group-toggle-icon--TransitionTimingFunction);
|
70
72
|
--pf-v6-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate: 90deg;
|
71
73
|
}
|
72
74
|
|
@@ -30,7 +30,9 @@
|
|
30
30
|
--pf-v6-c-switch__toggle--before--Height: var(--pf-v6-c-switch__toggle--before--Width);
|
31
31
|
--pf-v6-c-switch__toggle--before--InsetInlineStart: calc((var(--pf-v6-c-switch__toggle--Height) - var(--pf-v6-c-switch__toggle--before--Height)) / 2);
|
32
32
|
--pf-v6-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
33
|
-
--pf-v6-c-switch__toggle--before--
|
33
|
+
--pf-v6-c-switch__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
34
|
+
--pf-v6-c-switch__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
35
|
+
--pf-v6-c-switch__toggle--before--Transition: transform var(--pf-v6-c-switch__toggle--before--TransitionTimingFunction) var(--pf-v6-c-switch__toggle--before--TransitionDuration), background-color var(--pf-v6-c-switch__toggle--before--TransitionTimingFunction) var(--pf-v6-c-switch__toggle--before--TransitionDuration);
|
34
36
|
--pf-v6-c-switch__toggle--Width: calc(var(--pf-v6-c-switch__toggle--Height) + var(--pf-v6-c-switch__toggle-icon--Offset) + var(--pf-v6-c-switch__toggle--before--Width));
|
35
37
|
}
|
36
38
|
|
@@ -52,7 +52,9 @@
|
|
52
52
|
--pf-v6-c-table__action--responsive--MarginInlineStart: var(--pf-t--global--spacer--xl);
|
53
53
|
--pf-v6-c-table--m-grid__favorite--action--MarginInlineStart: var(--pf-t--global--spacer--2xl);
|
54
54
|
--pf-v6-c-table--m-grid__check--favorite--action--MarginInlineStart: calc(var(--pf-v6-c-table--m-grid__check--favorite--MarginInlineStart) + var(--pf-v6-c-table--m-grid__favorite--action--MarginInlineStart));
|
55
|
-
--pf-v6-c-table__toggle__icon--
|
55
|
+
--pf-v6-c-table__toggle__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
56
|
+
--pf-v6-c-table__toggle__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
57
|
+
--pf-v6-c-table__toggle__icon--Transition: transform var(--pf-v6-c-table__toggle__icon--TransitionDuration) var(--pf-v6-c-table__toggle__icon--TransitionTimingFunction);
|
56
58
|
--pf-v6-c-table__toggle--m-expanded__icon--Rotate: 180deg;
|
57
59
|
}
|
58
60
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
--pf-v6-c-table__toggle--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
51
51
|
--pf-v6-c-table__toggle--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
52
52
|
--pf-v6-c-table__toggle--c-button__toggle-icon--Rotate: 270deg;
|
53
|
-
--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--
|
53
|
+
--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
54
54
|
--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
55
55
|
--pf-v6-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
|
56
56
|
--pf-v6-c-table__button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
@@ -548,7 +548,9 @@
|
|
548
548
|
transform: rotate(var(--pf-v6-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate));
|
549
549
|
}
|
550
550
|
.pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
551
|
-
transition
|
551
|
+
transition-timing-function: var(--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionTimingFunction);
|
552
|
+
transition-duration: var(--pf-v6-c-table__toggle--c-button__toggle-icon--TransitionDuration);
|
553
|
+
transition-property: transform;
|
552
554
|
transform: rotate(var(--pf-v6-c-table__toggle--c-button__toggle-icon--Rotate));
|
553
555
|
}
|
554
556
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-table__toggle .pf-v6-c-table__toggle-icon {
|
@@ -583,13 +585,13 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
583
585
|
vertical-align: baseline;
|
584
586
|
}
|
585
587
|
|
586
|
-
.pf-v6-c-table__favorite .pf-v6-c-button {
|
588
|
+
.pf-v6-c-table__favorite .pf-v6-c-button:not(.pf-m-favorite) {
|
587
589
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-table__favorite--c-button--FontSize);
|
588
590
|
}
|
589
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button {
|
591
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
590
592
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
591
593
|
}
|
592
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
594
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
593
595
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
594
596
|
}
|
595
597
|
|
@@ -102,7 +102,9 @@
|
|
102
102
|
--pf-v6-c-tabs__item--ScrollSnapAlign: end;
|
103
103
|
--pf-v6-c-tabs--m-vertical__list--ScrollSnapTypeAxis: y;
|
104
104
|
--pf-v6-c-tabs__toggle--Display: flex;
|
105
|
-
--pf-v6-c-tabs__toggle-icon--
|
105
|
+
--pf-v6-c-tabs__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
106
|
+
--pf-v6-c-tabs__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
107
|
+
--pf-v6-c-tabs__toggle-icon--Transition: transform var(--pf-v6-c-tabs__toggle-icon--TransitionDuration) var(--pf-v6-c-tabs__toggle-icon--TransitionTimingFunction);
|
106
108
|
--pf-v6-c-tabs__toggle-icon--Rotate: 0;
|
107
109
|
--pf-v6-c-tabs--m-expanded__toggle-icon--Rotate: 90deg;
|
108
110
|
--pf-v6-c-tabs--m-expandable--RowGap: var(--pf-t--global--spacer--sm);
|
@@ -122,7 +124,9 @@
|
|
122
124
|
--pf-v6-c-tabs__add--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
123
125
|
--pf-v6-c-tabs__add--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
124
126
|
--pf-v6-c-tabs__link-toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
125
|
-
--pf-v6-c-tabs__link-toggle-icon--
|
127
|
+
--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
128
|
+
--pf-v6-c-tabs__link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
129
|
+
--pf-v6-c-tabs__link-toggle-icon--Transition: transform var(--pf-v6-c-tabs__link-toggle-icon--TransitionDuration) var(--pf-v6-c-tabs__link-toggle-icon--TransitionTimingFunction);
|
126
130
|
--pf-v6-c-tabs__link-toggle-icon--Rotate: 0;
|
127
131
|
--pf-v6-c-tabs__link-toggle-icon--FontSize: var(--pf-t--global--font--size--sm);
|
128
132
|
--pf-v6-c-tabs__link--m-expanded__toggle-icon--Rotate: 90deg;
|
@@ -37,7 +37,7 @@
|
|
37
37
|
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
38
38
|
--pf-v6-c-toolbar--m-sticky--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
39
39
|
--pf-v6-c-toolbar__expand-all-icon--Rotate: 0;
|
40
|
-
--pf-v6-c-toolbar__expand-all-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--
|
40
|
+
--pf-v6-c-toolbar__expand-all-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
41
41
|
--pf-v6-c-toolbar__expand-all-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
42
42
|
--pf-v6-c-toolbar__item--m-expand-all--m-expanded__expand-all-icon--Rotate: 90deg;
|
43
43
|
--pf-v6-c-toolbar__group--m-filter-group--ColumnGap: var(--pf-t--global--spacer--gap--control-to-control--default);
|
@@ -375,7 +375,9 @@
|
|
375
375
|
|
376
376
|
.pf-v6-c-toolbar__expand-all-icon {
|
377
377
|
display: inline-flex;
|
378
|
-
transition
|
378
|
+
transition-timing-function: var(--pf-v6-c-toolbar__expand-all-icon--TransitionTimingFunction);
|
379
|
+
transition-duration: var(--pf-v6-c-toolbar__expand-all-icon--TransitionDuration);
|
380
|
+
transition-property: transform;
|
379
381
|
transform: rotate(var(--pf-v6-c-toolbar__expand-all-icon--Rotate));
|
380
382
|
}
|
381
383
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-toolbar__expand-all-icon {
|
@@ -39,7 +39,7 @@
|
|
39
39
|
--pf-v6-c-wizard__nav-link-toggle--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
40
40
|
--pf-v6-c-wizard__nav-link-toggle--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
41
41
|
--pf-v6-c-wizard__nav-link-toggle--Color: var(--pf-t--global--icon--color--regular);
|
42
|
-
--pf-v6-c-wizard__nav-link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--
|
42
|
+
--pf-v6-c-wizard__nav-link-toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
43
43
|
--pf-v6-c-wizard__nav-link-toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
44
44
|
--pf-v6-c-wizard__nav-link-toggle-icon--Rotate: 0;
|
45
45
|
--pf-v6-c-wizard__nav-item--m-expanded__link-toggle-icon--Rotate: 90deg;
|
@@ -445,7 +445,9 @@
|
|
445
445
|
|
446
446
|
.pf-v6-c-wizard__nav-link-toggle-icon {
|
447
447
|
display: inline-block;
|
448
|
-
transition
|
448
|
+
transition-timing-function: var(--pf-v6-c-wizard__nav-link-toggle-icon--TransitionTimingFunction);
|
449
|
+
transition-duration: var(--pf-v6-c-wizard__nav-link-toggle-icon--TransitionDuration);
|
450
|
+
transition-property: transform;
|
449
451
|
transform: rotate(var(--pf-v6-c-wizard__nav-link-toggle-icon--Rotate));
|
450
452
|
}
|
451
453
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-wizard__nav-link-toggle-icon {
|