@patternfly/react-styles 6.0.0-alpha.15 → 6.0.0-alpha.16
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/css/components/ActionList/action-list.css +1 -0
- package/css/components/Card/card.css +1 -0
- package/css/components/Check/check.css +10 -3
- package/css/components/DescriptionList/description-list.css +6 -6
- package/css/components/DragDrop/drag-drop.css +1 -0
- package/css/components/Masthead/masthead.css +17 -9
- package/css/components/Masthead/masthead.d.ts +2 -0
- package/css/components/Masthead/masthead.js +2 -0
- package/css/components/Masthead/masthead.mjs +2 -0
- package/css/components/Menu/menu.css +31 -126
- package/css/components/Menu/menu.d.ts +1 -0
- package/css/components/Menu/menu.js +1 -0
- package/css/components/Menu/menu.mjs +1 -0
- package/css/components/MenuToggle/menu-toggle.css +20 -6
- package/css/components/MenuToggle/menu-toggle.d.ts +1 -0
- package/css/components/MenuToggle/menu-toggle.js +1 -0
- package/css/components/MenuToggle/menu-toggle.mjs +1 -0
- package/css/components/ModalBox/modal-box.css +11 -7
- package/css/components/Nav/nav.css +64 -110
- package/css/components/Nav/nav.d.ts +3 -3
- package/css/components/Nav/nav.js +3 -3
- package/css/components/Nav/nav.mjs +3 -3
- package/css/components/Page/page.css +9 -17
- package/css/components/Radio/radio.css +12 -5
- package/css/components/Table/table-grid.css +30 -35
- package/css/components/Table/table-scrollable.css +14 -6
- package/css/components/Table/table-tree-view.css +5 -5
- package/css/components/Table/table.css +90 -254
- package/css/components/Table/table.d.ts +3 -4
- package/css/components/Table/table.js +3 -4
- package/css/components/Table/table.mjs +3 -4
- package/css/components/Toolbar/toolbar.css +66 -2
- package/css/components/Toolbar/toolbar.d.ts +1 -1
- package/css/components/Toolbar/toolbar.js +1 -1
- package/css/components/Toolbar/toolbar.mjs +1 -1
- package/css/docs/components/Brand/examples/Brand.css +3 -3
- package/css/docs/components/Brand/examples/Brand.d.ts +1 -1
- package/css/docs/components/Brand/examples/Brand.js +1 -1
- package/css/docs/components/Brand/examples/Brand.mjs +1 -1
- package/css/docs/components/Button/examples/Button.css +2 -2
- package/css/docs/components/Button/examples/Button.d.ts +1 -1
- package/css/docs/components/Button/examples/Button.js +1 -1
- package/css/docs/components/Button/examples/Button.mjs +1 -1
- package/css/docs/components/DragDrop/examples/DragDrop.css +3 -3
- package/css/docs/components/DragDrop/examples/DragDrop.d.ts +2 -2
- package/css/docs/components/DragDrop/examples/DragDrop.js +2 -2
- package/css/docs/components/DragDrop/examples/DragDrop.mjs +2 -2
- package/css/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/css/docs/components/Dropdown/deprecated/Dropdown.d.ts +1 -1
- package/css/docs/components/Dropdown/deprecated/Dropdown.js +1 -1
- package/css/docs/components/Dropdown/deprecated/Dropdown.mjs +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -4
- package/css/docs/components/Label/examples/Label.d.ts +1 -1
- package/css/docs/components/Label/examples/Label.js +1 -1
- package/css/docs/components/Label/examples/Label.mjs +1 -1
- package/css/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/css/docs/components/LogViewer/examples/LogViewer.d.ts +1 -1
- package/css/docs/components/LogViewer/examples/LogViewer.js +1 -1
- package/css/docs/components/LogViewer/examples/LogViewer.mjs +1 -1
- package/css/docs/components/Menu/examples/Menu.css +2 -2
- package/css/docs/components/Menu/examples/Menu.d.ts +3 -3
- package/css/docs/components/Menu/examples/Menu.js +3 -3
- package/css/docs/components/Menu/examples/Menu.mjs +3 -3
- package/css/docs/components/Nav/examples/Navigation.css +20 -3
- package/css/docs/components/Nav/examples/Navigation.d.ts +3 -2
- package/css/docs/components/Nav/examples/Navigation.js +3 -2
- package/css/docs/components/Nav/examples/Navigation.mjs +3 -2
- package/package.json +3 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
:root,
|
1
|
+
:where(:root),
|
2
2
|
:where(.pf-v6-c-nav) {
|
3
3
|
--pf-v6-c-nav__link--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
4
4
|
--pf-v6-c-nav__link--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
@@ -11,64 +11,65 @@
|
|
11
11
|
--pf-v6-c-nav--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
12
12
|
--pf-v6-c-nav--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
13
13
|
--pf-v6-c-nav--RowGap: var(--pf-t--global--spacer--lg);
|
14
|
-
--pf-v6-c-nav--ColumnGap:
|
14
|
+
--pf-v6-c-nav--ColumnGap: 0;
|
15
15
|
--pf-v6-c-nav--AlignItems: baseline;
|
16
16
|
--pf-v6-c-nav--FontSize: var(--pf-t--global--font--size--body--default);
|
17
17
|
--pf-v6-c-nav--FontWeight: var(--pf-t--global--font--weight--body);
|
18
18
|
--pf-v6-c-nav--LineHeight: var(--pf-t--global--font--line-height--body);
|
19
|
-
--pf-v6-c-nav--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
20
19
|
--pf-v6-c-nav--OutlineOffset: calc(var(--pf-v6-global--spacer--xs) * -1);
|
20
|
+
--pf-v6-c-nav--BackgroundColor: transparent;
|
21
21
|
--pf-v6-c-nav__list--ScrollSnapTypeAxis: x;
|
22
22
|
--pf-v6-c-nav__list--ScrollSnapTypeStrictness: proximity;
|
23
23
|
--pf-v6-c-nav__list--ScrollSnapType: var(--pf-v6-c-nav__list--ScrollSnapTypeAxis) var(--pf-v6-c-nav__list--ScrollSnapTypeStrictness);
|
24
24
|
--pf-v6-c-nav__item--ScrollSnapAlign: end;
|
25
25
|
--pf-v6-c-nav__section-title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
26
26
|
--pf-v6-c-nav__section-title--Color: var(--pf-t--global--text--color--regular);
|
27
|
+
--pf-v6-c-nav__section-title--PaddingBlockStart: var(--pf-v6-c-nav__link--PaddingBlockStart);
|
28
|
+
--pf-v6-c-nav__section-title--PaddingBlockEnd: var(--pf-v6-c-nav__link--PaddingBlockEnd);
|
29
|
+
--pf-v6-c-nav__section-title--PaddingInlineStart: var(--pf-v6-c-nav__link--PaddingInlineStart);
|
30
|
+
--pf-v6-c-nav__section-title--PaddingInlineEnd: var(--pf-v6-c-nav__link--PaddingInlineEnd);
|
27
31
|
--pf-v6-c-nav__item--RowGap: var(--pf-v6-c-nav__list--RowGap);
|
28
32
|
--pf-v6-c-nav__item__toggle-icon--Rotate: 0;
|
29
33
|
--pf-v6-c-nav__item--m-expanded__toggle-icon--Rotate: 90deg;
|
34
|
+
--pf-v6-c-nav__link--ColumnGap: var(--pf-t--global--spacer--sm);
|
35
|
+
--pf-v6-c-nav__link--AlignItems: baseline;
|
30
36
|
--pf-v6-c-nav__link--BorderRadius: var(--pf-t--global--border--radius--small);
|
31
37
|
--pf-v6-c-nav__link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
32
38
|
--pf-v6-c-nav__link--WhiteSpace: normal;
|
33
39
|
--pf-v6-c-nav__link--Color: var(--pf-t--global--text--color--subtle);
|
34
40
|
--pf-v6-c-nav__link--hover--Color: var(--pf-t--global--text--color--regular);
|
35
|
-
--pf-v6-c-nav__link--focus--Color: var(--pf-t--global--text--color--regular);
|
36
|
-
--pf-v6-c-nav__link--active--Color: var(--pf-t--global--text--color--regular);
|
37
41
|
--pf-v6-c-nav__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--hover);
|
38
|
-
--pf-v6-c-nav__link--focus--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--hover);
|
39
|
-
--pf-v6-c-nav__link--active--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--hover);
|
40
42
|
--pf-v6-c-nav__link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--alt--clicked);
|
41
43
|
--pf-v6-c-nav__link--m-current--Color: var(--pf-t--global--text--color--regular);
|
42
44
|
--pf-v6-c-nav__subnav--RowGap: var(--pf-t--global--border--width--extra-strong);
|
43
45
|
--pf-v6-c-nav__subnav--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
44
46
|
--pf-v6-c-nav__scroll-button--BorderColor: var(--pf-t--global--border--color--default);
|
45
47
|
--pf-v6-c-nav__scroll-button--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
46
|
-
--pf-v6-c-nav__scroll-button--
|
47
|
-
--pf-v6-c-nav__scroll-button--button--
|
48
|
-
--pf-v6-c-nav__scroll-button--button--
|
49
|
-
--pf-v6-c-nav__scroll-button--button--
|
48
|
+
--pf-v6-c-nav__scroll-button--first-of-type--c-button--BorderStartStartRadius: var(--pf-t--global--border--radius--pill);
|
49
|
+
--pf-v6-c-nav__scroll-button--first-of-type--c-button--BorderEndStartRadius: var(--pf-t--global--border--radius--pill);
|
50
|
+
--pf-v6-c-nav__scroll-button--last-of-type--c-button--BorderStartEndRadius: var(--pf-t--global--border--radius--pill);
|
51
|
+
--pf-v6-c-nav__scroll-button--last-of-type--c-button--BorderEndEndRadius: var(--pf-t--global--border--radius--pill);
|
50
52
|
--pf-v6-c-nav__toggle--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
51
53
|
--pf-v6-c-nav__toggle--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
52
54
|
--pf-v6-c-nav__toggle--TranslateY: calc((var(--pf-v6-c-nav--LineHeight) * var(--pf-v6-c-nav--FontSize) / 2) - 50%);
|
53
|
-
--pf-v6-c-
|
54
|
-
--pf-v6-c-
|
55
|
-
--pf-v6-c-
|
56
|
-
--pf-v6-c-nav--m-
|
57
|
-
--pf-v6-c-nav--m-
|
58
|
-
--pf-v6-c-nav--m-
|
59
|
-
--pf-v6-c-nav--m-
|
60
|
-
--pf-v6-c-nav--m-
|
61
|
-
--pf-v6-c-nav--m-
|
62
|
-
--pf-v6-c-nav--m-
|
63
|
-
--pf-v6-c-nav--m-
|
55
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingBlockStart: 0;
|
56
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingBlockEnd: 0;
|
57
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingInlineStart: 0;
|
58
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingInlineEnd: 0;
|
59
|
+
--pf-v6-c-nav--m-horizontal--m-scrollable__list--PaddingInlineStart: var(--pf-v6-c-nav__list--ColumnGap);
|
60
|
+
--pf-v6-c-nav--m-horizontal--m-scrollable__list--PaddingInlineEnd: var(--pf-v6-c-nav__list--ColumnGap);
|
61
|
+
--pf-v6-c-nav--m-horizontal--m-subnav--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
62
|
+
--pf-v6-c-nav--m-horizontal--m-subnav--BorderRadius: var(--pf-t--global--border--radius--pill);
|
63
|
+
--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
64
|
+
--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
65
|
+
--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
66
|
+
--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
67
|
+
--pf-v6-c-nav--m-horizontal--m-subnav--m-scrollable__list--PaddingInlineStart: var(--pf-v6-c-nav__list--ColumnGap);
|
68
|
+
--pf-v6-c-nav--m-horizontal--m-subnav--m-scrollable__list--PaddingInlineEnd: var(--pf-v6-c-nav__list--ColumnGap);
|
64
69
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
65
70
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
66
71
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
67
72
|
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
68
|
-
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlock: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockStart) var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockEnd);
|
69
|
-
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingInline: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineStart) var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineEnd);
|
70
|
-
--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlock: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockStart) var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockEnd);
|
71
|
-
--pf-v5-c-nav--horizontal-scrollable--PaddingInlineStart: var(--pf-t--global--border--width--extra-strong);
|
72
73
|
}
|
73
74
|
|
74
75
|
.pf-v6-c-nav,
|
@@ -83,6 +84,7 @@
|
|
83
84
|
--pf-v6-c-menu--MinWidth: 100%;
|
84
85
|
position: relative;
|
85
86
|
row-gap: var(--pf-v6-c-nav--RowGap);
|
87
|
+
column-gap: var(--pf-v6-c-nav--ColumnGap);
|
86
88
|
max-width: 100%;
|
87
89
|
padding-block-start: var(--pf-v6-c-nav--PaddingBlockStart);
|
88
90
|
padding-block-end: var(--pf-v6-c-nav--PaddingBlockEnd);
|
@@ -93,9 +95,6 @@
|
|
93
95
|
line-height: var(--pf-v6-c-nav--LineHeight);
|
94
96
|
background-color: var(--pf-v6-c-nav--BackgroundColor);
|
95
97
|
}
|
96
|
-
.pf-v6-c-nav:where(.pf-m-scrollable) {
|
97
|
-
padding-inline: var(--pf-v6-c-nav--m-scrollable__list--PaddingInline);
|
98
|
-
}
|
99
98
|
.pf-v6-c-nav.pf-m-overflow-hidden {
|
100
99
|
overflow: hidden;
|
101
100
|
}
|
@@ -147,10 +146,10 @@
|
|
147
146
|
}
|
148
147
|
|
149
148
|
.pf-v6-c-nav__section-title {
|
150
|
-
padding-block-start: var(--pf-v6-c-nav__section-title--
|
151
|
-
padding-block-end: var(--pf-v6-c-nav__section-title--
|
152
|
-
padding-inline-start: var(--pf-v6-c-nav__section-title--
|
153
|
-
padding-inline-end: var(--pf-v6-c-nav__section-title--
|
149
|
+
padding-block-start: var(--pf-v6-c-nav__section-title--PaddingBlockStart);
|
150
|
+
padding-block-end: var(--pf-v6-c-nav__section-title--PaddingBlockEnd);
|
151
|
+
padding-inline-start: var(--pf-v6-c-nav__section-title--PaddingInlineStart);
|
152
|
+
padding-inline-end: var(--pf-v6-c-nav__section-title--PaddingInlineEnd);
|
154
153
|
font-size: var(--pf-v6-c-nav__section-title--FontSize, inherit);
|
155
154
|
font-weight: var(--pf-v6-c-nav__section-title--FontWeight);
|
156
155
|
color: var(--pf-v6-c-nav__section-title--Color);
|
@@ -159,8 +158,8 @@
|
|
159
158
|
.pf-v6-c-nav__link {
|
160
159
|
position: relative;
|
161
160
|
display: flex;
|
162
|
-
column-gap: var(--pf-v6-c-nav__link--ColumnGap
|
163
|
-
align-items: var(--pf-v6-c-nav__link--AlignItems
|
161
|
+
column-gap: var(--pf-v6-c-nav__link--ColumnGap);
|
162
|
+
align-items: var(--pf-v6-c-nav__link--AlignItems);
|
164
163
|
padding-block-start: var(--pf-v6-c-nav__link--PaddingBlockStart);
|
165
164
|
padding-block-end: var(--pf-v6-c-nav__link--PaddingBlockEnd);
|
166
165
|
padding-inline-start: var(--pf-v6-c-nav__link--PaddingInlineStart);
|
@@ -174,27 +173,13 @@
|
|
174
173
|
border: none;
|
175
174
|
border-radius: var(--pf-v6-c-nav__link--BorderRadius);
|
176
175
|
}
|
177
|
-
.pf-v6-c-nav__link::before {
|
178
|
-
position: absolute;
|
179
|
-
inset-block: var(--pf-v6-c-nav__link--clickable-inset--Block);
|
180
|
-
inset-inline: var(--pf-v6-c-nav__link--clickable-inset--Inline);
|
181
|
-
content: "";
|
182
|
-
}
|
183
176
|
.pf-v6-c-nav__link[aria-expanded=true]::before {
|
184
177
|
inset-block-end: calc(var(--pf-v6-c-nav__item--RowGap) * -1);
|
185
178
|
}
|
186
|
-
.pf-v6-c-nav__link:hover, .pf-v6-c-nav__link.pf-m-hover {
|
179
|
+
.pf-v6-c-nav__link:hover, .pf-v6-c-nav__link.pf-m-hover, .pf-v6-c-nav__link:focus {
|
187
180
|
color: var(--pf-v6-c-nav__link--hover--Color);
|
188
181
|
background-color: var(--pf-v6-c-nav__link--hover--BackgroundColor);
|
189
182
|
}
|
190
|
-
.pf-v6-c-nav__link:focus {
|
191
|
-
color: var(--pf-v6-c-nav__link--focus--Color);
|
192
|
-
background-color: var(--pf-v6-c-nav__link--focus--BackgroundColor);
|
193
|
-
}
|
194
|
-
.pf-v6-c-nav__link:active {
|
195
|
-
color: var(--pf-v6-c-nav__link--active--Color);
|
196
|
-
background-color: var(--pf-v6-c-nav__link--active--BackgroundColor);
|
197
|
-
}
|
198
183
|
.pf-v6-c-nav__link.pf-m-current, .pf-v6-c-nav__link.pf-m-current:hover {
|
199
184
|
color: var(--pf-v6-c-nav__link--m-current--Color);
|
200
185
|
background-color: var(--pf-v6-c-nav__link--m-current--BackgroundColor);
|
@@ -224,68 +209,36 @@
|
|
224
209
|
|
225
210
|
.pf-v6-c-nav__scroll-button {
|
226
211
|
position: relative;
|
227
|
-
display: flex;
|
228
|
-
flex: none;
|
229
|
-
align-items: stretch;
|
230
|
-
justify-items: stretch;
|
231
|
-
min-width: var(--pf-v6-c-nav__scroll-button--MinWidth);
|
232
|
-
}
|
233
|
-
.pf-v6-c-nav__scroll-button :is(button) {
|
234
|
-
--pf-v6-c-button--Display: flex;
|
235
|
-
--pf-v6-c-button--Flex: 1;
|
236
|
-
--pf-v6-c-button--AlignItems: center;
|
237
|
-
--pf-v6-c-button--JustifyContent: center;
|
238
|
-
padding-inline: var(--pf-v6-c-nav__scroll-button--button--InlinePadding);
|
239
|
-
}
|
240
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-nav__scroll-button :is(button) .pf-v6-c-button__icon {
|
241
|
-
scale: -1 1;
|
242
|
-
}
|
243
|
-
|
244
|
-
.pf-v6-c-nav__scroll-button :is(button) > * {
|
245
|
-
display: inline-block;
|
246
|
-
padding-inline: var(--pf-v6-c-nav__scroll-button--button--icon--InlinePadding);
|
247
|
-
}
|
248
|
-
.pf-v6-c-nav__scroll-button :is(button) > * > * {
|
249
|
-
min-width: var(--pf-v6-c-nav__scroll-button--button--icon--IconSize);
|
250
212
|
}
|
251
213
|
.pf-v6-c-nav__scroll-button::before {
|
252
214
|
position: absolute;
|
253
|
-
inset
|
254
|
-
inset-inline: 0;
|
215
|
+
inset: 0;
|
255
216
|
content: "";
|
256
|
-
outline-offset: var(--pf-v6-c-nav--OutlineOffset);
|
257
217
|
}
|
258
|
-
.pf-v6-c-nav__scroll-button:first-of-type {
|
259
|
-
|
260
|
-
|
261
|
-
}
|
262
|
-
.pf-v6-c-nav__scroll-button:first-of-type button {
|
263
|
-
--pf-v6-c-button--BorderStartStartRadius: var(--pf-v6-c-nav__scroll-button--BorderRadius);
|
264
|
-
--pf-v6-c-button--BorderStartEndRadius: 0;
|
265
|
-
--pf-v6-c-button--BorderEndStartRadius: var(--pf-v6-c-nav__scroll-button--BorderRadius);
|
266
|
-
--pf-v6-c-button--BorderEndEndRadius: 0;
|
218
|
+
.pf-v6-c-nav__scroll-button:first-of-type .pf-v6-c-button {
|
219
|
+
--pf-v6-c-button--BorderStartStartRadius: var(--pf-v6-c-nav__scroll-button--first-of-type--c-button--BorderStartStartRadius);
|
220
|
+
--pf-v6-c-button--BorderEndStartRadius: var(--pf-v6-c-nav__scroll-button--first-of-type--c-button--BorderEndStartRadius);
|
267
221
|
}
|
268
222
|
.pf-v6-c-nav__scroll-button:first-of-type::before {
|
269
223
|
border-inline-end: var(--pf-v6-c-nav__scroll-button--BorderWidth) solid var(--pf-v6-c-nav__scroll-button--BorderColor);
|
270
224
|
}
|
271
|
-
.pf-v6-c-nav__scroll-button:last-of-type {
|
272
|
-
|
273
|
-
|
274
|
-
}
|
275
|
-
.pf-v6-c-nav__scroll-button:last-of-type button {
|
276
|
-
--pf-v6-c-button--BorderStartStartRadius: 0;
|
277
|
-
--pf-v6-c-button--BorderStartEndRadius: var(--pf-v6-c-nav__scroll-button--BorderRadius);
|
278
|
-
--pf-v6-c-button--BorderEndStartRadius: 0;
|
279
|
-
--pf-v6-c-button--BorderEndEndRadius: var(--pf-v6-c-nav__scroll-button--BorderRadius);
|
225
|
+
.pf-v6-c-nav__scroll-button:last-of-type .pf-v6-c-button {
|
226
|
+
--pf-v6-c-button--BorderStartEndRadius: var(--pf-v6-c-nav__scroll-button--last-of-type--c-button--BorderStartEndRadius);
|
227
|
+
--pf-v6-c-button--BorderEndEndRadius: var(--pf-v6-c-nav__scroll-button--last-of-type--c-button--BorderEndEndRadius);
|
280
228
|
}
|
281
229
|
.pf-v6-c-nav__scroll-button:last-of-type::before {
|
282
230
|
border-inline-start: var(--pf-v6-c-nav__scroll-button--BorderWidth) solid var(--pf-v6-c-nav__scroll-button--BorderColor);
|
283
231
|
}
|
232
|
+
.pf-v6-c-nav__scroll-button .pf-v6-c-button {
|
233
|
+
outline-offset: var(--pf-v6-c-nav--OutlineOffset);
|
234
|
+
}
|
235
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-nav__scroll-button .pf-v6-c-button > * {
|
236
|
+
scale: -1 1;
|
237
|
+
}
|
284
238
|
|
285
239
|
.pf-v6-c-nav:where(.pf-m-horizontal) {
|
286
240
|
padding: 0;
|
287
241
|
overflow: hidden;
|
288
|
-
border-radius: var(--pf-v6-c-nav--m-horizontal--BorderRadius);
|
289
242
|
}
|
290
243
|
.pf-v6-c-nav:where(.pf-m-horizontal),
|
291
244
|
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__section,
|
@@ -295,11 +248,14 @@
|
|
295
248
|
display: flex;
|
296
249
|
}
|
297
250
|
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__list {
|
298
|
-
padding-block: var(--pf-v6-c-nav--m-horizontal__list--
|
299
|
-
padding-
|
251
|
+
padding-block-start: var(--pf-v6-c-nav--m-horizontal__list--PaddingBlockStart);
|
252
|
+
padding-block-end: var(--pf-v6-c-nav--m-horizontal__list--PaddingBlockEnd);
|
253
|
+
padding-inline-start: var(--pf-v6-c-nav--m-horizontal__list--PaddingInlineStart);
|
254
|
+
padding-inline-end: var(--pf-v6-c-nav--m-horizontal__list--PaddingInlineEnd);
|
300
255
|
overflow-x: auto;
|
301
256
|
white-space: nowrap;
|
302
257
|
scroll-snap-type: var(--pf-v6-c-nav__list--ScrollSnapType);
|
258
|
+
scroll-padding-inline-end: var(--pf-v6-c-nav--m-horizontal__list--PaddingInlineEnd);
|
303
259
|
-webkit-overflow-scrolling: touch;
|
304
260
|
scrollbar-width: none;
|
305
261
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
@@ -310,21 +266,19 @@
|
|
310
266
|
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__link {
|
311
267
|
outline-offset: var(--pf-v6-c-nav--OutlineOffset);
|
312
268
|
}
|
313
|
-
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__link::before {
|
314
|
-
inset-block-start: calc(var(--pf-v6-c-nav--m-horizontal__list--PaddingBlockStart) * -1);
|
315
|
-
inset-block-end: calc(var(--pf-v6-c-nav--m-horizontal__list--PaddingBlockEnd) * -1);
|
316
|
-
inset-inline-start: calc(var(--pf-v6-c-nav--m-horizontal__list--ColumnGap) / 2 * -1);
|
317
|
-
inset-inline-end: calc(var(--pf-v6-c-nav--m-horizontal__list--ColumnGap) / 2 * -1);
|
318
|
-
}
|
319
269
|
.pf-v6-c-nav:where(.pf-m-horizontal).pf-m-subnav {
|
270
|
+
--pf-v6-c-nav--BackgroundColor: var(--pf-v6-c-nav--m-horizontal--m-subnav--BackgroundColor);
|
271
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingBlockStart: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockStart);
|
272
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingBlockEnd: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingBlockEnd);
|
273
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingInlineStart: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineStart);
|
274
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingInlineEnd: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineEnd);
|
275
|
+
--pf-v6-c-nav--m-horizontal--m-scrollable__list--PaddingInlineStart: var(--pf-v6-c-nav--m-horizontal--m-subnav--m-scrollable__list--PaddingInlineStart);
|
276
|
+
--pf-v6-c-nav--m-horizontal--m-scrollable__list--PaddingInlineEnd: var(--pf-v6-c-nav--m-horizontal--m-subnav--m-scrollable__list--PaddingInlineEnd);
|
320
277
|
--pf-v6-c-nav__link--PaddingBlockStart: var(--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlockStart);
|
321
278
|
--pf-v6-c-nav__link--PaddingBlockEnd: var(--pf-v6-c-nav--m-horizontal--m-subnav__link--PaddingBlockEnd);
|
322
|
-
|
323
|
-
--pf-v6-c-nav__list--PaddingInline: var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineStart) var(--pf-v6-c-nav--m-horizontal--m-subnav__list--PaddingInlineStart);
|
324
|
-
}
|
325
|
-
.pf-v6-c-nav:where(.pf-m-horizontal) .pf-v6-c-nav__scroll-button + .pf-v6-c-nav__list {
|
326
|
-
padding-inline-start: var(--pf-v5-c-nav--horizontal-scrollable--PaddingInlineStart);
|
279
|
+
border-radius: var(--pf-v6-c-nav--m-horizontal--m-subnav--BorderRadius);
|
327
280
|
}
|
328
|
-
.pf-v6-c-nav:where(.pf-m-horizontal)
|
329
|
-
|
281
|
+
.pf-v6-c-nav:where(.pf-m-horizontal).pf-m-scrollable {
|
282
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingInlineStart: var(--pf-v6-c-nav--m-horizontal--m-scrollable__list--PaddingInlineStart);
|
283
|
+
--pf-v6-c-nav--m-horizontal__list--PaddingInlineEnd: var(--pf-v6-c-nav--m-horizontal--m-scrollable__list--PaddingInlineEnd);
|
330
284
|
}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
declare const _default: {
|
3
|
-
"
|
3
|
+
"button": "pf-v6-c-button",
|
4
4
|
"dirRtl": "pf-v6-m-dir-rtl",
|
5
5
|
"modifiers": {
|
6
|
-
"scrollable": "pf-m-scrollable",
|
7
6
|
"overflowHidden": "pf-m-overflow-hidden",
|
8
7
|
"fullWidth": "pf-m-full-width",
|
9
8
|
"fill": "pf-m-fill",
|
@@ -12,7 +11,8 @@ declare const _default: {
|
|
12
11
|
"current": "pf-m-current",
|
13
12
|
"flyout": "pf-m-flyout",
|
14
13
|
"horizontal": "pf-m-horizontal",
|
15
|
-
"subnav": "pf-m-subnav"
|
14
|
+
"subnav": "pf-m-subnav",
|
15
|
+
"scrollable": "pf-m-scrollable"
|
16
16
|
},
|
17
17
|
"nav": "pf-v6-c-nav",
|
18
18
|
"navItem": "pf-v6-c-nav__item",
|
@@ -2,10 +2,9 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./nav.css');
|
4
4
|
exports.default = {
|
5
|
-
"
|
5
|
+
"button": "pf-v6-c-button",
|
6
6
|
"dirRtl": "pf-v6-m-dir-rtl",
|
7
7
|
"modifiers": {
|
8
|
-
"scrollable": "pf-m-scrollable",
|
9
8
|
"overflowHidden": "pf-m-overflow-hidden",
|
10
9
|
"fullWidth": "pf-m-full-width",
|
11
10
|
"fill": "pf-m-fill",
|
@@ -14,7 +13,8 @@ exports.default = {
|
|
14
13
|
"current": "pf-m-current",
|
15
14
|
"flyout": "pf-m-flyout",
|
16
15
|
"horizontal": "pf-m-horizontal",
|
17
|
-
"subnav": "pf-m-subnav"
|
16
|
+
"subnav": "pf-m-subnav",
|
17
|
+
"scrollable": "pf-m-scrollable"
|
18
18
|
},
|
19
19
|
"nav": "pf-v6-c-nav",
|
20
20
|
"navItem": "pf-v6-c-nav__item",
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
export default {
|
3
|
-
"
|
3
|
+
"button": "pf-v6-c-button",
|
4
4
|
"dirRtl": "pf-v6-m-dir-rtl",
|
5
5
|
"modifiers": {
|
6
|
-
"scrollable": "pf-m-scrollable",
|
7
6
|
"overflowHidden": "pf-m-overflow-hidden",
|
8
7
|
"fullWidth": "pf-m-full-width",
|
9
8
|
"fill": "pf-m-fill",
|
@@ -12,7 +11,8 @@ export default {
|
|
12
11
|
"current": "pf-m-current",
|
13
12
|
"flyout": "pf-m-flyout",
|
14
13
|
"horizontal": "pf-m-horizontal",
|
15
|
-
"subnav": "pf-m-subnav"
|
14
|
+
"subnav": "pf-m-subnav",
|
15
|
+
"scrollable": "pf-m-scrollable"
|
16
16
|
},
|
17
17
|
"nav": "pf-v6-c-nav",
|
18
18
|
"navItem": "pf-v6-c-nav__item",
|
@@ -155,13 +155,11 @@
|
|
155
155
|
--pf-v6-c-page__main-nav--m-sticky-top--PaddingBottom: var(--pf-t--global--spacer--md);
|
156
156
|
--pf-v6-c-page__main-nav--xl--PaddingRight: var(--pf-t--global--spacer--sm);
|
157
157
|
--pf-v6-c-page__main-nav--xl--PaddingLeft: var(--pf-t--global--spacer--sm);
|
158
|
-
--pf-v6-c-page__main-subnav--BackgroundColor: var(--pf-t--global--background--color--
|
159
|
-
--pf-v6-c-page__main-subnav--
|
160
|
-
--pf-v6-c-page__main-subnav--
|
161
|
-
--pf-v6-c-page__main-subnav--
|
162
|
-
--pf-v6-c-page__main-subnav--
|
163
|
-
--pf-v6-c-page__sidebar--main__main-subnav--BorderLeftWidth: var(--pf-t--global--border--width--divider--default);
|
164
|
-
--pf-v6-c-page__sidebar--m-collapsed--main__main-subnav--BorderLeftWidth: 0;
|
158
|
+
--pf-v6-c-page__main-subnav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
159
|
+
--pf-v6-c-page__main-subnav--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
160
|
+
--pf-v6-c-page__main-subnav--PaddingBlockEnd: 0;
|
161
|
+
--pf-v6-c-page__main-subnav--PaddingInlineStart: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
162
|
+
--pf-v6-c-page__main-subnav--PaddingInlineEnd: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
165
163
|
--pf-v6-c-page__main-breadcrumb--PaddingTop: var(--pf-t--global--spacer--md);
|
166
164
|
--pf-v6-c-page__main-breadcrumb--PaddingRight: calc(var(--pf-t--global--spacer--lg) - var(--pf-v6-c-page__main--BorderWidth));
|
167
165
|
--pf-v6-c-page__main-breadcrumb--PaddingBottom: 0;
|
@@ -703,17 +701,11 @@
|
|
703
701
|
}
|
704
702
|
|
705
703
|
.pf-v6-c-page__main-subnav {
|
704
|
+
padding-block-start: var(--pf-v6-c-page__main-subnav--PaddingBlockStart);
|
705
|
+
padding-block-end: var(--pf-v6-c-page__main-subnav--PaddingBlockEnd);
|
706
|
+
padding-inline-start: var(--pf-v6-c-page__main-subnav--PaddingInlineStart);
|
707
|
+
padding-inline-end: var(--pf-v6-c-page__main-subnav--PaddingInlineEnd);
|
706
708
|
background-color: var(--pf-v6-c-page__main-subnav--BackgroundColor);
|
707
|
-
border-block-start: var(--pf-v6-c-page__main-subnav--BorderTopWidth) solid var(--pf-v6-c-page__main-subnav--BorderTopColor);
|
708
|
-
border-inline-start: var(--pf-v6-c-page__main-subnav--BorderLeftWidth) solid var(--pf-v6-c-page__main-subnav--BorderLeftColor);
|
709
|
-
}
|
710
|
-
@media screen and (min-width: 1200px) {
|
711
|
-
.pf-v6-c-page__sidebar ~ .pf-v6-c-page__main {
|
712
|
-
--pf-v6-c-page__main-subnav--BorderLeftWidth: var(--pf-v6-c-page__sidebar--main__main-subnav--BorderLeftWidth);
|
713
|
-
}
|
714
|
-
}
|
715
|
-
.pf-v6-c-page__sidebar.pf-m-collapsed ~ .pf-v6-c-page__main {
|
716
|
-
--pf-v6-c-page__main-subnav--BorderLeftWidth: var(--pf-v6-c-page__sidebar--m-collapsed--main__main-subnav--BorderLeftWidth);
|
717
709
|
}
|
718
710
|
|
719
711
|
.pf-v6-c-page__main-breadcrumb {
|
@@ -2,17 +2,18 @@
|
|
2
2
|
.pf-v6-c-radio {
|
3
3
|
--pf-v6-c-radio--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
4
4
|
--pf-v6-c-radio--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
5
|
+
--pf-v6-c-radio--Height: calc(var(--pf-v6-c-radio__label--FontSize) * var(--pf-v6-c-radio__label--LineHeight));
|
5
6
|
--pf-v6-c-radio__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
6
7
|
--pf-v6-c-radio__label--Color: var(--pf-t--global--text--color--regular);
|
7
8
|
--pf-v6-c-radio__label--FontWeight: var(--pf-t--global--font--weight--body);
|
8
9
|
--pf-v6-c-radio__label--FontSize: var(--pf-t--global--font--size--body--default);
|
9
10
|
--pf-v6-c-radio__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
10
|
-
--pf-v6-c-radio__input--TranslateY: calc((var(--pf-v6-c-radio__label--LineHeight) * var(--pf-v6-c-radio__label--FontSize) / 2 ) - 50%);
|
11
|
-
--pf-v6-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
12
|
-
--pf-v6-c-radio__input--last-child--MarginRight: 0.0625rem;
|
13
11
|
--pf-v6-c-radio__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
14
12
|
--pf-v6-c-radio__description--Color: var(--pf-t--global--text--color--subtle);
|
13
|
+
--pf-v6-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
14
|
+
--pf-v6-c-radio__input--last-child--MarginRight: 0.0625rem;
|
15
15
|
--pf-v6-c-radio__body--MarginTop: var(--pf-t--global--spacer--sm);
|
16
|
+
--pf-v6-c-radio__input--TranslateY: calc((var(--pf-v6-c-radio__label--LineHeight) * var(--pf-v6-c-radio__label--FontSize) / 2 ) - 50%);
|
16
17
|
}
|
17
18
|
|
18
19
|
.pf-v6-c-radio {
|
@@ -23,13 +24,19 @@
|
|
23
24
|
accent-color: var(--pf-v6-c-radio--AccentColor);
|
24
25
|
}
|
25
26
|
.pf-v6-c-radio.pf-m-standalone {
|
26
|
-
--pf-v6-c-radio--GridGap: 0;
|
27
|
-
--pf-v6-c-radio__input--TranslateY: none;
|
28
27
|
display: inline-grid;
|
28
|
+
grid-template-columns: auto;
|
29
|
+
height: var(--pf-v6-c-check--Height);
|
30
|
+
}
|
31
|
+
.pf-v6-c-radio.pf-m-standalone .pf-v6-c-radio__input {
|
32
|
+
align-self: center;
|
33
|
+
transform: none;
|
29
34
|
}
|
30
35
|
|
31
36
|
.pf-v6-c-radio__input {
|
32
37
|
align-self: start;
|
38
|
+
font-size: var(--pf-v6-c-radio__label--FontSize);
|
39
|
+
line-height: var(--pf-v6-c-radio__label--LineHeight);
|
33
40
|
transform: translateY(var(--pf-v6-c-radio__input--TranslateY));
|
34
41
|
}
|
35
42
|
.pf-v6-c-radio__input:first-child {
|