@patternfly/patternfly 6.5.0-prerelease.26 → 6.5.0-prerelease.28
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/components/Compass/compass.css +54 -25
- package/components/Compass/compass.scss +60 -26
- package/components/_index.css +54 -25
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Compass/examples/Compass.css +2 -2
- package/docs/components/Compass/examples/Compass.md +2 -2
- package/docs/components/DataList/examples/DataList.md +3 -3
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +3 -3
- package/docs/components/Icon/examples/Icon.md +1 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/Page/examples/Page.md +2 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +3 -3
- package/docs/components/Tabs/examples/Tabs.md +3 -3
- package/docs/components/Toolbar/examples/Toolbar.md +7 -7
- package/docs/demos/Compass/examples/Compass.md +9 -9
- package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
- package/docs/layouts/Flex/examples/Flex.css +3 -3
- package/docs/layouts/Flex/examples/Flex.md +3 -2
- package/docs/layouts/Gallery/examples/Gallery.css +2 -2
- package/docs/layouts/Gallery/examples/Gallery.md +4 -3
- package/docs/layouts/Grid/examples/Grid.css +1 -1
- package/docs/layouts/Grid/examples/Grid.md +6 -5
- package/docs/layouts/Level/examples/Level.css +3 -3
- package/docs/layouts/Level/examples/Level.md +2 -1
- package/docs/layouts/Split/examples/Split.css +1 -1
- package/docs/layouts/Split/examples/Split.md +2 -1
- package/docs/layouts/Stack/examples/Stack.css +3 -3
- package/docs/layouts/Stack/examples/Stack.md +2 -1
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
- package/docs/utilities/Alignment/examples/Alignment.css +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +3 -2
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
- package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
- package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
- package/docs/utilities/Display/examples/Display.css +1 -1
- package/docs/utilities/Display/examples/Display.md +3 -2
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +3 -2
- package/docs/utilities/Float/examples/Float.css +2 -2
- package/docs/utilities/Float/examples/Float.md +3 -2
- package/docs/utilities/Sizing/examples/Sizing.md +8 -7
- package/docs/utilities/Spacing/examples/Spacing.css +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +3 -2
- package/docs/utilities/Text/examples/Text.md +4 -3
- package/package.json +1 -1
- package/patternfly-no-globals.css +54 -25
- package/patternfly.css +54 -25
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
--pf-v6-c-compass--BackgroundImage--light: none;
|
|
4
4
|
--pf-v6-c-compass--BackgroundImage--dark: none;
|
|
5
5
|
--pf-v6-c-compass--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
6
|
-
--pf-v6-c-compass--
|
|
7
|
-
--pf-v6-c-compass--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
6
|
+
--pf-v6-c-compass--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
8
7
|
--pf-v6-c-compass__nav--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
9
8
|
--pf-v6-c-compass__nav--PaddingBlockStart: 0;
|
|
10
9
|
--pf-v6-c-compass__nav--PaddingBlockEnd: 0;
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
--pf-v6-c-compass__main--RowGap: var(--pf-t--global--spacer--md);
|
|
20
19
|
--pf-v6-c-compass__main-header-content--RowGap: var(--pf-t--global--spacer--sm);
|
|
21
20
|
--pf-v6-c-compass__main-header-content--ColumnGap: var(--pf-t--global--spacer--md);
|
|
22
|
-
--pf-v6-c-compass__main-footer--MarginBlockStart: calc(var(--pf-v6-c-compass__main--RowGap) * -1 + var(--pf-v6-c-compass--
|
|
21
|
+
--pf-v6-c-compass__main-footer--MarginBlockStart: calc(var(--pf-v6-c-compass__main--RowGap) * -1 + var(--pf-v6-c-compass--Gap));
|
|
23
22
|
--pf-v6-c-compass__panel--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
24
23
|
--pf-v6-c-compass__panel--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
25
24
|
--pf-v6-c-compass__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
@@ -34,32 +33,44 @@
|
|
|
34
33
|
--pf-v6-c-compass__message-bar--Width: 450px;
|
|
35
34
|
--pf-v6-c-compass__message-bar--MinWidth: 300px;
|
|
36
35
|
--pf-v6-c-compass__message-bar--MaxWidth: 600px;
|
|
37
|
-
--pf-v6-c-compass--section--
|
|
36
|
+
--pf-v6-c-compass--section--slide--length--header: 100%;
|
|
37
|
+
--pf-v6-c-compass--section--slide--length--sidebar: 100%;
|
|
38
|
+
--pf-v6-c-compass--section--slide--length--main-footer: 100%;
|
|
39
|
+
--pf-v6-c-compass--section--slide--length--footer: 100%;
|
|
40
|
+
--pf-v6-c-compass--section--duration: var(--pf-t--global--motion--duration--fade--short);
|
|
38
41
|
--pf-v6-c-compass--section--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
39
|
-
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s, 0s;
|
|
40
|
-
--pf-v6-c-compass--section--TransitionProperty: opacity, visibility, translate,
|
|
41
|
-
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
42
|
+
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s, 0s, 0s;
|
|
43
|
+
--pf-v6-c-compass--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
44
|
+
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
42
45
|
--pf-v6-c-compass--section--m-expanded--duration: var(--pf-t--global--motion--duration--fade--default);
|
|
43
|
-
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s, 0s;
|
|
46
|
+
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, 0s, 0s, 0s, 0s;
|
|
44
47
|
--pf-v6-c-compass--section--m-expanded--TransitionDelay: 0s;
|
|
45
48
|
}
|
|
46
49
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
47
50
|
.pf-v6-c-compass {
|
|
48
|
-
--pf-v6-c-compass--section--
|
|
49
|
-
--pf-v6-c-compass--section--
|
|
50
|
-
--pf-v6-c-compass--section--
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s;
|
|
52
|
+
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
53
|
+
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, var(--pf-v6-c-compass--section--m-expanded--duration), 0s, 0s, 0s;
|
|
54
|
+
}
|
|
55
|
+
.pf-v6-c-compass.pf-m-animate-smoothly {
|
|
56
|
+
--pf-v6-c-compass--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
57
|
+
--pf-v6-c-compass--section--slide--length--header: 10rem;
|
|
58
|
+
--pf-v6-c-compass--section--slide--length--sidebar: var(--pf-t--global--spacer--4xl);
|
|
59
|
+
--pf-v6-c-compass--section--slide--length--main-footer: 6rem;
|
|
60
|
+
--pf-v6-c-compass--section--slide--length--footer: 6rem;
|
|
61
|
+
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
62
|
+
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s;
|
|
63
|
+
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, var(--pf-v6-c-compass--section--m-expanded--duration), var(--pf-v6-c-compass--section--m-expanded--duration), var(--pf-v6-c-compass--section--m-expanded--duration);
|
|
53
64
|
}
|
|
54
65
|
}
|
|
55
66
|
|
|
56
67
|
.pf-v6-c-compass {
|
|
68
|
+
interpolate-size: allow-keywords;
|
|
57
69
|
display: grid;
|
|
58
70
|
grid-template-areas: "header header header" "sidebar-start main sidebar-end";
|
|
59
71
|
grid-template-rows: auto 1fr;
|
|
60
72
|
grid-template-columns: auto 1fr auto;
|
|
61
73
|
grid-auto-rows: auto;
|
|
62
|
-
gap: var(--pf-v6-c-compass--RowGap) var(--pf-v6-c-compass--ColumnGap);
|
|
63
74
|
align-items: center;
|
|
64
75
|
justify-content: center;
|
|
65
76
|
height: 100dvh;
|
|
@@ -79,6 +90,7 @@
|
|
|
79
90
|
.pf-v6-c-compass__sidebar:is(.pf-m-start, .pf-m-end),
|
|
80
91
|
.pf-v6-c-compass__main-footer,
|
|
81
92
|
.pf-v6-c-compass__footer {
|
|
93
|
+
margin: 0;
|
|
82
94
|
visibility: hidden;
|
|
83
95
|
opacity: 0;
|
|
84
96
|
transition-delay: var(--pf-v6-c-compass--section--TransitionDelay);
|
|
@@ -100,12 +112,12 @@
|
|
|
100
112
|
.pf-v6-c-compass__header,
|
|
101
113
|
.pf-v6-c-compass__main-footer,
|
|
102
114
|
.pf-v6-c-compass__footer {
|
|
103
|
-
|
|
115
|
+
height: 0;
|
|
104
116
|
}
|
|
105
117
|
.pf-v6-c-compass__header.pf-m-expanded,
|
|
106
118
|
.pf-v6-c-compass__main-footer.pf-m-expanded,
|
|
107
119
|
.pf-v6-c-compass__footer.pf-m-expanded {
|
|
108
|
-
|
|
120
|
+
height: auto;
|
|
109
121
|
}
|
|
110
122
|
|
|
111
123
|
.pf-v6-c-compass__header {
|
|
@@ -113,7 +125,10 @@
|
|
|
113
125
|
grid-area: header;
|
|
114
126
|
grid-template-columns: 1fr auto 1fr;
|
|
115
127
|
align-items: start;
|
|
116
|
-
translate: 0 -
|
|
128
|
+
translate: 0 calc(var(--pf-v6-c-compass--section--slide--length--header) * -1);
|
|
129
|
+
}
|
|
130
|
+
.pf-v6-c-compass__header.pf-m-expanded {
|
|
131
|
+
margin-block-end: var(--pf-v6-c-compass--Gap);
|
|
117
132
|
}
|
|
118
133
|
|
|
119
134
|
.pf-v6-c-compass__profile {
|
|
@@ -150,25 +165,33 @@
|
|
|
150
165
|
--pf-v6-c-compass__panel--PaddingBlockEnd: var(--pf-v6-c-compass__sidebar--PaddingBlockEnd);
|
|
151
166
|
--pf-v6-c-compass__panel--PaddingInlineStart: var(--pf-v6-c-compass__sidebar--PaddingInlineStart);
|
|
152
167
|
--pf-v6-c-compass__panel--PaddingInlineEnd: var(--pf-v6-c-compass__sidebar--PaddingInlineEnd);
|
|
153
|
-
|
|
168
|
+
display: flex;
|
|
169
|
+
width: 0;
|
|
154
170
|
}
|
|
155
171
|
.pf-v6-c-compass__sidebar.pf-m-expanded {
|
|
156
|
-
|
|
172
|
+
width: auto;
|
|
157
173
|
}
|
|
158
174
|
.pf-v6-c-compass__sidebar.pf-m-start {
|
|
159
|
-
translate: -
|
|
175
|
+
translate: calc(var(--pf-v6-c-compass--section--slide--length--sidebar) * -1);
|
|
160
176
|
grid-area: sidebar-start;
|
|
161
177
|
}
|
|
162
178
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-compass__sidebar.pf-m-start {
|
|
163
|
-
translate:
|
|
179
|
+
translate: var(--pf-v6-c-compass--section--slide--length--sidebar);
|
|
164
180
|
}
|
|
165
181
|
|
|
182
|
+
.pf-v6-c-compass__sidebar.pf-m-start.pf-m-expanded {
|
|
183
|
+
margin-inline-end: var(--pf-v6-c-compass--Gap);
|
|
184
|
+
}
|
|
166
185
|
.pf-v6-c-compass__sidebar.pf-m-end {
|
|
167
|
-
translate:
|
|
186
|
+
translate: var(--pf-v6-c-compass--section--slide--length--sidebar);
|
|
168
187
|
grid-area: sidebar-end;
|
|
169
188
|
}
|
|
170
189
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-compass__sidebar.pf-m-end {
|
|
171
|
-
translate: -
|
|
190
|
+
translate: calc(var(--pf-v6-c-compass--section--slide--length--sidebar) * -1);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.pf-v6-c-compass__sidebar.pf-m-end.pf-m-expanded {
|
|
194
|
+
margin-inline-start: var(--pf-v6-c-compass--Gap);
|
|
172
195
|
}
|
|
173
196
|
|
|
174
197
|
.pf-v6-c-compass__main {
|
|
@@ -204,15 +227,21 @@
|
|
|
204
227
|
.pf-v6-c-compass__main-footer {
|
|
205
228
|
display: flex;
|
|
206
229
|
justify-content: center;
|
|
230
|
+
min-height: 0;
|
|
231
|
+
translate: 0 var(--pf-v6-c-compass--section--slide--length--main-footer);
|
|
232
|
+
}
|
|
233
|
+
.pf-v6-c-compass__main-footer.pf-m-expanded {
|
|
207
234
|
margin-block-start: var(--pf-v6-c-compass__main-footer--MarginBlockStart);
|
|
208
|
-
translate: 0 100%;
|
|
209
235
|
}
|
|
210
236
|
|
|
211
237
|
.pf-v6-c-compass__footer {
|
|
212
238
|
display: flex;
|
|
213
239
|
grid-column: 1/-1;
|
|
214
240
|
justify-content: center;
|
|
215
|
-
translate: 0
|
|
241
|
+
translate: 0 var(--pf-v6-c-compass--section--slide--length--main-footer);
|
|
242
|
+
}
|
|
243
|
+
.pf-v6-c-compass__footer.pf-m-expanded {
|
|
244
|
+
margin-block-start: var(--pf-v6-c-compass--Gap);
|
|
216
245
|
}
|
|
217
246
|
|
|
218
247
|
.pf-v6-c-compass__message-bar {
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
--#{$compass}--BackgroundImage--light: none;
|
|
6
6
|
--#{$compass}--BackgroundImage--dark: none;
|
|
7
7
|
--#{$compass}--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
8
|
-
--#{$compass}--
|
|
9
|
-
--#{$compass}--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
8
|
+
--#{$compass}--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
10
9
|
--#{$compass}__nav--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
11
10
|
--#{$compass}__nav--PaddingBlockStart: 0;
|
|
12
11
|
--#{$compass}__nav--PaddingBlockEnd: 0;
|
|
@@ -21,7 +20,7 @@
|
|
|
21
20
|
--#{$compass}__main--RowGap: var(--pf-t--global--spacer--md);
|
|
22
21
|
--#{$compass}__main-header-content--RowGap: var(--pf-t--global--spacer--sm);
|
|
23
22
|
--#{$compass}__main-header-content--ColumnGap: var(--pf-t--global--spacer--md);
|
|
24
|
-
--#{$compass}__main-footer--MarginBlockStart: calc(var(--#{$compass}__main--RowGap) * -1 + var(--#{$compass}--
|
|
23
|
+
--#{$compass}__main-footer--MarginBlockStart: calc(var(--#{$compass}__main--RowGap) * -1 + var(--#{$compass}--Gap)); // Creates same gap as parent compass grid, mimicking the compass footer
|
|
25
24
|
--#{$compass}__panel--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
26
25
|
--#{$compass}__panel--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
27
26
|
--#{$compass}__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
@@ -38,25 +37,40 @@
|
|
|
38
37
|
--#{$compass}__message-bar--MaxWidth: 600px;
|
|
39
38
|
|
|
40
39
|
// Section animation
|
|
41
|
-
--#{$compass}--section--
|
|
40
|
+
--#{$compass}--section--slide--length--header: 100%;
|
|
41
|
+
--#{$compass}--section--slide--length--sidebar: 100%;
|
|
42
|
+
--#{$compass}--section--slide--length--main-footer: 100%;
|
|
43
|
+
--#{$compass}--section--slide--length--footer: 100%;
|
|
44
|
+
--#{$compass}--section--duration: var(--pf-t--global--motion--duration--fade--short);
|
|
42
45
|
--#{$compass}--section--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
43
|
-
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, 0s, 0s, 0s;
|
|
44
|
-
--#{$compass}--section--TransitionProperty: opacity, visibility, translate,
|
|
45
|
-
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
46
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, 0s, 0s, 0s, 0s;
|
|
47
|
+
--#{$compass}--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
48
|
+
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
46
49
|
--#{$compass}--section--m-expanded--duration: var(--pf-t--global--motion--duration--fade--default);
|
|
47
|
-
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--duration), 0s, 0s, 0s, 0s;
|
|
50
|
+
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--m-expanded--duration), 0s, 0s, 0s, 0s, 0s;
|
|
48
51
|
--#{$compass}--section--m-expanded--TransitionDelay: 0s;
|
|
49
52
|
|
|
50
53
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
51
|
-
--#{$compass}--section--
|
|
52
|
-
--#{$compass}--section--
|
|
53
|
-
--#{$compass}--section--
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, var(--#{$compass}--section--duration), 0s, 0s, 0s;
|
|
55
|
+
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
56
|
+
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--m-expanded--duration), 0s, var(--#{$compass}--section--m-expanded--duration), 0s, 0s, 0s;
|
|
57
|
+
|
|
58
|
+
&.pf-m-animate-smoothly {
|
|
59
|
+
--#{$compass}--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
60
|
+
--#{$compass}--section--slide--length--header: 10rem;
|
|
61
|
+
--#{$compass}--section--slide--length--sidebar: var(--pf-t--global--spacer--4xl);
|
|
62
|
+
--#{$compass}--section--slide--length--main-footer: 6rem;
|
|
63
|
+
--#{$compass}--section--slide--length--footer: 6rem;
|
|
64
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
65
|
+
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), 0s, 0s, 0s;
|
|
66
|
+
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--m-expanded--duration), 0s, var(--#{$compass}--section--m-expanded--duration), var(--#{$compass}--section--m-expanded--duration), var(--#{$compass}--section--m-expanded--duration);
|
|
67
|
+
}
|
|
56
68
|
}
|
|
57
69
|
}
|
|
58
70
|
|
|
59
71
|
.#{$compass} {
|
|
72
|
+
// stylelint-disable-next-line
|
|
73
|
+
interpolate-size: allow-keywords;
|
|
60
74
|
display: grid;
|
|
61
75
|
grid-template-areas:
|
|
62
76
|
"header header header"
|
|
@@ -64,7 +78,6 @@
|
|
|
64
78
|
grid-template-rows: auto 1fr;
|
|
65
79
|
grid-template-columns: auto 1fr auto;
|
|
66
80
|
grid-auto-rows: auto;
|
|
67
|
-
gap: var(--#{$compass}--RowGap) var(--#{$compass}--ColumnGap);
|
|
68
81
|
align-items: center;
|
|
69
82
|
justify-content: center;
|
|
70
83
|
height: 100dvh;
|
|
@@ -89,6 +102,7 @@
|
|
|
89
102
|
.#{$compass}__sidebar:is(.pf-m-start, .pf-m-end),
|
|
90
103
|
.#{$compass}__main-footer,
|
|
91
104
|
.#{$compass}__footer {
|
|
105
|
+
margin: 0;
|
|
92
106
|
visibility: hidden;
|
|
93
107
|
opacity: 0;
|
|
94
108
|
transition-delay: var(--#{$compass}--section--TransitionDelay);
|
|
@@ -109,10 +123,10 @@
|
|
|
109
123
|
.#{$compass}__header,
|
|
110
124
|
.#{$compass}__main-footer,
|
|
111
125
|
.#{$compass}__footer {
|
|
112
|
-
|
|
126
|
+
height: 0;
|
|
113
127
|
|
|
114
128
|
&.pf-m-expanded {
|
|
115
|
-
|
|
129
|
+
height: auto;
|
|
116
130
|
}
|
|
117
131
|
}
|
|
118
132
|
|
|
@@ -121,7 +135,11 @@
|
|
|
121
135
|
grid-area: header;
|
|
122
136
|
grid-template-columns: 1fr auto 1fr;
|
|
123
137
|
align-items: start;
|
|
124
|
-
translate: 0 -
|
|
138
|
+
translate: 0 calc(var(--#{$compass}--section--slide--length--header) * -1);
|
|
139
|
+
|
|
140
|
+
&.pf-m-expanded {
|
|
141
|
+
margin-block-end: var(--#{$compass}--Gap);
|
|
142
|
+
}
|
|
125
143
|
}
|
|
126
144
|
|
|
127
145
|
.#{$compass}__profile {
|
|
@@ -162,31 +180,39 @@
|
|
|
162
180
|
--#{$compass}__panel--PaddingInlineStart: var(--#{$compass}__sidebar--PaddingInlineStart);
|
|
163
181
|
--#{$compass}__panel--PaddingInlineEnd: var(--#{$compass}__sidebar--PaddingInlineEnd);
|
|
164
182
|
|
|
165
|
-
|
|
183
|
+
display: flex;
|
|
184
|
+
width: 0;
|
|
166
185
|
|
|
167
186
|
&.pf-m-expanded {
|
|
168
|
-
|
|
187
|
+
width: auto;
|
|
169
188
|
}
|
|
170
189
|
|
|
171
190
|
&.pf-m-start {
|
|
172
191
|
@include pf-v6-bidirectional-style(
|
|
173
192
|
$prop: translate,
|
|
174
|
-
$ltr-val: -
|
|
175
|
-
$rtl-val:
|
|
193
|
+
$ltr-val: calc(var(--#{$compass}--section--slide--length--sidebar) * -1),
|
|
194
|
+
$rtl-val: var(--#{$compass}--section--slide--length--sidebar),
|
|
176
195
|
);
|
|
177
196
|
|
|
178
197
|
grid-area: sidebar-start;
|
|
179
198
|
|
|
199
|
+
&.pf-m-expanded {
|
|
200
|
+
margin-inline-end: var(--#{$compass}--Gap);
|
|
201
|
+
}
|
|
180
202
|
}
|
|
181
203
|
|
|
182
204
|
&.pf-m-end {
|
|
183
205
|
@include pf-v6-bidirectional-style(
|
|
184
206
|
$prop: translate,
|
|
185
|
-
$ltr-val:
|
|
186
|
-
$rtl-val: -
|
|
207
|
+
$ltr-val: var(--#{$compass}--section--slide--length--sidebar),
|
|
208
|
+
$rtl-val: calc(var(--#{$compass}--section--slide--length--sidebar) * -1),
|
|
187
209
|
);
|
|
188
210
|
|
|
189
211
|
grid-area: sidebar-end;
|
|
212
|
+
|
|
213
|
+
&.pf-m-expanded {
|
|
214
|
+
margin-inline-start: var(--#{$compass}--Gap);
|
|
215
|
+
}
|
|
190
216
|
}
|
|
191
217
|
}
|
|
192
218
|
|
|
@@ -224,15 +250,23 @@
|
|
|
224
250
|
.#{$compass}__main-footer {
|
|
225
251
|
display: flex;
|
|
226
252
|
justify-content: center;
|
|
227
|
-
|
|
228
|
-
translate: 0
|
|
253
|
+
min-height: 0;
|
|
254
|
+
translate: 0 var(--#{$compass}--section--slide--length--main-footer);
|
|
255
|
+
|
|
256
|
+
&.pf-m-expanded {
|
|
257
|
+
margin-block-start: var(--#{$compass}__main-footer--MarginBlockStart);
|
|
258
|
+
}
|
|
229
259
|
}
|
|
230
260
|
|
|
231
261
|
.#{$compass}__footer {
|
|
232
262
|
display: flex;
|
|
233
263
|
grid-column: 1 / -1;
|
|
234
264
|
justify-content: center;
|
|
235
|
-
translate: 0
|
|
265
|
+
translate: 0 var(--#{$compass}--section--slide--length--main-footer);
|
|
266
|
+
|
|
267
|
+
&.pf-m-expanded {
|
|
268
|
+
margin-block-start: var(--#{$compass}--Gap);
|
|
269
|
+
}
|
|
236
270
|
}
|
|
237
271
|
|
|
238
272
|
.#{$compass}__message-bar {
|
package/components/_index.css
CHANGED
|
@@ -3512,8 +3512,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3512
3512
|
--pf-v6-c-compass--BackgroundImage--light: none;
|
|
3513
3513
|
--pf-v6-c-compass--BackgroundImage--dark: none;
|
|
3514
3514
|
--pf-v6-c-compass--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
3515
|
-
--pf-v6-c-compass--
|
|
3516
|
-
--pf-v6-c-compass--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
3515
|
+
--pf-v6-c-compass--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
3517
3516
|
--pf-v6-c-compass__nav--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
3518
3517
|
--pf-v6-c-compass__nav--PaddingBlockStart: 0;
|
|
3519
3518
|
--pf-v6-c-compass__nav--PaddingBlockEnd: 0;
|
|
@@ -3528,7 +3527,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3528
3527
|
--pf-v6-c-compass__main--RowGap: var(--pf-t--global--spacer--md);
|
|
3529
3528
|
--pf-v6-c-compass__main-header-content--RowGap: var(--pf-t--global--spacer--sm);
|
|
3530
3529
|
--pf-v6-c-compass__main-header-content--ColumnGap: var(--pf-t--global--spacer--md);
|
|
3531
|
-
--pf-v6-c-compass__main-footer--MarginBlockStart: calc(var(--pf-v6-c-compass__main--RowGap) * -1 + var(--pf-v6-c-compass--
|
|
3530
|
+
--pf-v6-c-compass__main-footer--MarginBlockStart: calc(var(--pf-v6-c-compass__main--RowGap) * -1 + var(--pf-v6-c-compass--Gap));
|
|
3532
3531
|
--pf-v6-c-compass__panel--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
3533
3532
|
--pf-v6-c-compass__panel--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
3534
3533
|
--pf-v6-c-compass__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
@@ -3543,32 +3542,44 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3543
3542
|
--pf-v6-c-compass__message-bar--Width: 450px;
|
|
3544
3543
|
--pf-v6-c-compass__message-bar--MinWidth: 300px;
|
|
3545
3544
|
--pf-v6-c-compass__message-bar--MaxWidth: 600px;
|
|
3546
|
-
--pf-v6-c-compass--section--
|
|
3545
|
+
--pf-v6-c-compass--section--slide--length--header: 100%;
|
|
3546
|
+
--pf-v6-c-compass--section--slide--length--sidebar: 100%;
|
|
3547
|
+
--pf-v6-c-compass--section--slide--length--main-footer: 100%;
|
|
3548
|
+
--pf-v6-c-compass--section--slide--length--footer: 100%;
|
|
3549
|
+
--pf-v6-c-compass--section--duration: var(--pf-t--global--motion--duration--fade--short);
|
|
3547
3550
|
--pf-v6-c-compass--section--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
3548
|
-
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s, 0s;
|
|
3549
|
-
--pf-v6-c-compass--section--TransitionProperty: opacity, visibility, translate,
|
|
3550
|
-
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
3551
|
+
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s, 0s, 0s;
|
|
3552
|
+
--pf-v6-c-compass--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
3553
|
+
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
3551
3554
|
--pf-v6-c-compass--section--m-expanded--duration: var(--pf-t--global--motion--duration--fade--default);
|
|
3552
|
-
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s, 0s;
|
|
3555
|
+
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, 0s, 0s, 0s, 0s;
|
|
3553
3556
|
--pf-v6-c-compass--section--m-expanded--TransitionDelay: 0s;
|
|
3554
3557
|
}
|
|
3555
3558
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
3556
3559
|
.pf-v6-c-compass {
|
|
3557
|
-
--pf-v6-c-compass--section--
|
|
3558
|
-
--pf-v6-c-compass--section--
|
|
3559
|
-
--pf-v6-c-compass--section--
|
|
3560
|
-
|
|
3561
|
-
|
|
3560
|
+
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s;
|
|
3561
|
+
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
3562
|
+
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, var(--pf-v6-c-compass--section--m-expanded--duration), 0s, 0s, 0s;
|
|
3563
|
+
}
|
|
3564
|
+
.pf-v6-c-compass.pf-m-animate-smoothly {
|
|
3565
|
+
--pf-v6-c-compass--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
3566
|
+
--pf-v6-c-compass--section--slide--length--header: 10rem;
|
|
3567
|
+
--pf-v6-c-compass--section--slide--length--sidebar: var(--pf-t--global--spacer--4xl);
|
|
3568
|
+
--pf-v6-c-compass--section--slide--length--main-footer: 6rem;
|
|
3569
|
+
--pf-v6-c-compass--section--slide--length--footer: 6rem;
|
|
3570
|
+
--pf-v6-c-compass--section--TransitionDuration: var(--pf-v6-c-compass--section--duration), 0s, var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration), var(--pf-v6-c-compass--section--duration);
|
|
3571
|
+
--pf-v6-c-compass--section--TransitionDelay: 0s, var(--pf-v6-c-compass--section--duration), 0s, 0s, 0s;
|
|
3572
|
+
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, var(--pf-v6-c-compass--section--m-expanded--duration), var(--pf-v6-c-compass--section--m-expanded--duration), var(--pf-v6-c-compass--section--m-expanded--duration);
|
|
3562
3573
|
}
|
|
3563
3574
|
}
|
|
3564
3575
|
|
|
3565
3576
|
.pf-v6-c-compass {
|
|
3577
|
+
interpolate-size: allow-keywords;
|
|
3566
3578
|
display: grid;
|
|
3567
3579
|
grid-template-areas: "header header header" "sidebar-start main sidebar-end";
|
|
3568
3580
|
grid-template-rows: auto 1fr;
|
|
3569
3581
|
grid-template-columns: auto 1fr auto;
|
|
3570
3582
|
grid-auto-rows: auto;
|
|
3571
|
-
gap: var(--pf-v6-c-compass--RowGap) var(--pf-v6-c-compass--ColumnGap);
|
|
3572
3583
|
align-items: center;
|
|
3573
3584
|
justify-content: center;
|
|
3574
3585
|
height: 100dvh;
|
|
@@ -3588,6 +3599,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3588
3599
|
.pf-v6-c-compass__sidebar:is(.pf-m-start, .pf-m-end),
|
|
3589
3600
|
.pf-v6-c-compass__main-footer,
|
|
3590
3601
|
.pf-v6-c-compass__footer {
|
|
3602
|
+
margin: 0;
|
|
3591
3603
|
visibility: hidden;
|
|
3592
3604
|
opacity: 0;
|
|
3593
3605
|
transition-delay: var(--pf-v6-c-compass--section--TransitionDelay);
|
|
@@ -3609,12 +3621,12 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3609
3621
|
.pf-v6-c-compass__header,
|
|
3610
3622
|
.pf-v6-c-compass__main-footer,
|
|
3611
3623
|
.pf-v6-c-compass__footer {
|
|
3612
|
-
|
|
3624
|
+
height: 0;
|
|
3613
3625
|
}
|
|
3614
3626
|
.pf-v6-c-compass__header.pf-m-expanded,
|
|
3615
3627
|
.pf-v6-c-compass__main-footer.pf-m-expanded,
|
|
3616
3628
|
.pf-v6-c-compass__footer.pf-m-expanded {
|
|
3617
|
-
|
|
3629
|
+
height: auto;
|
|
3618
3630
|
}
|
|
3619
3631
|
|
|
3620
3632
|
.pf-v6-c-compass__header {
|
|
@@ -3622,7 +3634,10 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3622
3634
|
grid-area: header;
|
|
3623
3635
|
grid-template-columns: 1fr auto 1fr;
|
|
3624
3636
|
align-items: start;
|
|
3625
|
-
translate: 0 -
|
|
3637
|
+
translate: 0 calc(var(--pf-v6-c-compass--section--slide--length--header) * -1);
|
|
3638
|
+
}
|
|
3639
|
+
.pf-v6-c-compass__header.pf-m-expanded {
|
|
3640
|
+
margin-block-end: var(--pf-v6-c-compass--Gap);
|
|
3626
3641
|
}
|
|
3627
3642
|
|
|
3628
3643
|
.pf-v6-c-compass__profile {
|
|
@@ -3659,25 +3674,33 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3659
3674
|
--pf-v6-c-compass__panel--PaddingBlockEnd: var(--pf-v6-c-compass__sidebar--PaddingBlockEnd);
|
|
3660
3675
|
--pf-v6-c-compass__panel--PaddingInlineStart: var(--pf-v6-c-compass__sidebar--PaddingInlineStart);
|
|
3661
3676
|
--pf-v6-c-compass__panel--PaddingInlineEnd: var(--pf-v6-c-compass__sidebar--PaddingInlineEnd);
|
|
3662
|
-
|
|
3677
|
+
display: flex;
|
|
3678
|
+
width: 0;
|
|
3663
3679
|
}
|
|
3664
3680
|
.pf-v6-c-compass__sidebar.pf-m-expanded {
|
|
3665
|
-
|
|
3681
|
+
width: auto;
|
|
3666
3682
|
}
|
|
3667
3683
|
.pf-v6-c-compass__sidebar.pf-m-start {
|
|
3668
|
-
translate: -
|
|
3684
|
+
translate: calc(var(--pf-v6-c-compass--section--slide--length--sidebar) * -1);
|
|
3669
3685
|
grid-area: sidebar-start;
|
|
3670
3686
|
}
|
|
3671
3687
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-compass__sidebar.pf-m-start {
|
|
3672
|
-
translate:
|
|
3688
|
+
translate: var(--pf-v6-c-compass--section--slide--length--sidebar);
|
|
3673
3689
|
}
|
|
3674
3690
|
|
|
3691
|
+
.pf-v6-c-compass__sidebar.pf-m-start.pf-m-expanded {
|
|
3692
|
+
margin-inline-end: var(--pf-v6-c-compass--Gap);
|
|
3693
|
+
}
|
|
3675
3694
|
.pf-v6-c-compass__sidebar.pf-m-end {
|
|
3676
|
-
translate:
|
|
3695
|
+
translate: var(--pf-v6-c-compass--section--slide--length--sidebar);
|
|
3677
3696
|
grid-area: sidebar-end;
|
|
3678
3697
|
}
|
|
3679
3698
|
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-compass__sidebar.pf-m-end {
|
|
3680
|
-
translate: -
|
|
3699
|
+
translate: calc(var(--pf-v6-c-compass--section--slide--length--sidebar) * -1);
|
|
3700
|
+
}
|
|
3701
|
+
|
|
3702
|
+
.pf-v6-c-compass__sidebar.pf-m-end.pf-m-expanded {
|
|
3703
|
+
margin-inline-start: var(--pf-v6-c-compass--Gap);
|
|
3681
3704
|
}
|
|
3682
3705
|
|
|
3683
3706
|
.pf-v6-c-compass__main {
|
|
@@ -3713,15 +3736,21 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3713
3736
|
.pf-v6-c-compass__main-footer {
|
|
3714
3737
|
display: flex;
|
|
3715
3738
|
justify-content: center;
|
|
3739
|
+
min-height: 0;
|
|
3740
|
+
translate: 0 var(--pf-v6-c-compass--section--slide--length--main-footer);
|
|
3741
|
+
}
|
|
3742
|
+
.pf-v6-c-compass__main-footer.pf-m-expanded {
|
|
3716
3743
|
margin-block-start: var(--pf-v6-c-compass__main-footer--MarginBlockStart);
|
|
3717
|
-
translate: 0 100%;
|
|
3718
3744
|
}
|
|
3719
3745
|
|
|
3720
3746
|
.pf-v6-c-compass__footer {
|
|
3721
3747
|
display: flex;
|
|
3722
3748
|
grid-column: 1/-1;
|
|
3723
3749
|
justify-content: center;
|
|
3724
|
-
translate: 0
|
|
3750
|
+
translate: 0 var(--pf-v6-c-compass--section--slide--length--main-footer);
|
|
3751
|
+
}
|
|
3752
|
+
.pf-v6-c-compass__footer.pf-m-expanded {
|
|
3753
|
+
margin-block-start: var(--pf-v6-c-compass--Gap);
|
|
3725
3754
|
}
|
|
3726
3755
|
|
|
3727
3756
|
.pf-v6-c-compass__message-bar {
|
|
@@ -88,7 +88,7 @@ The avatar component provides a default SVG icon. If an image is used it should
|
|
|
88
88
|
| -- | -- | -- |
|
|
89
89
|
| `.pf-v6-c-avatar` | `<img>` | Initiates an avatar image. **Required** |
|
|
90
90
|
| `.pf-m-bordered` | `.pf-v6-c-avatar` | Modifies an avatar to have a border. |
|
|
91
|
-
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/tokens/all-
|
|
92
|
-
| `.pf-m-md{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/tokens/all-
|
|
93
|
-
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/tokens/all-
|
|
94
|
-
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/tokens/all-
|
|
91
|
+
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
92
|
+
| `.pf-m-md{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). **Note:** This is the default size. |
|
|
93
|
+
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
94
|
+
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
@@ -83,5 +83,5 @@ Simple brand component.
|
|
|
83
83
|
| -- | -- | -- |
|
|
84
84
|
| `.pf-v6-c-brand` | `<img>, <picture>` | Initiates a brand image. **Required** |
|
|
85
85
|
| `.pf-m-picture` | `.pf-v6-c-brand` | Modifies a brand image to a picture. |
|
|
86
|
-
| `--pf-v6-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-v6-c-brand` | Modifies the width value of a picture on optional [breakpoint](/tokens/all-
|
|
87
|
-
| `--pf-v6-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-v6-c-brand` | Modifies the height value of a picture on optional [breakpoint](/tokens/all-
|
|
86
|
+
| `--pf-v6-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-v6-c-brand` | Modifies the width value of a picture on optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
87
|
+
| `--pf-v6-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-v6-c-brand` | Modifies the height value of a picture on optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#ws-core-
|
|
1
|
+
#ws-core-a-compass-basic [class*="pf-v6-c-compass"] {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
#ws-core-
|
|
5
|
+
#ws-core-a-compass-basic [class*="pf-v6-c-compass"]::after {
|
|
6
6
|
position: absolute;
|
|
7
7
|
inset: 0;
|
|
8
8
|
pointer-events: none;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: 'Compass'
|
|
3
3
|
beta: true
|
|
4
|
-
section:
|
|
4
|
+
section: AI
|
|
5
5
|
subsection: Generative UIs
|
|
6
6
|
cssPrefix: pf-v6-c-compass
|
|
7
7
|
---import './Compass.css';
|
|
@@ -11,7 +11,7 @@ cssPrefix: pf-v6-c-compass
|
|
|
11
11
|
### Basic
|
|
12
12
|
|
|
13
13
|
```html isBeta
|
|
14
|
-
<div class="pf-v6-c-compass">
|
|
14
|
+
<div class="pf-v6-c-compass pf-m-animate-smoothly">
|
|
15
15
|
<div class="pf-v6-c-compass__header pf-m-expanded">
|
|
16
16
|
<div class="pf-v6-c-compass__logo">logo</div>
|
|
17
17
|
|
|
@@ -305,8 +305,8 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
305
305
|
| `.pf-v6-c-data-list__item-action` | `<div>` | Initiates a container for the data list actions. For example, add `.pf-v6-c-data-list__action` here. **Required** |
|
|
306
306
|
| `.pf-v6-c-data-list__check` | `<div>` | Initiates a data list check cell. **Required** |
|
|
307
307
|
| `.pf-v6-c-data-list__action` | `<div>` | Initiates a data list action button cell. **Required** |
|
|
308
|
-
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/tokens/all-
|
|
309
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/tokens/all-
|
|
308
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Hides an actions container at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens), or hides it at all breakpoints with `.pf-m-hidden`. |
|
|
309
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-data-list__item-action` | Shows an actions container at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
310
310
|
|
|
311
311
|
## Exandable data list
|
|
312
312
|
|
|
@@ -2116,7 +2116,7 @@ When a list item includes more than one block of content, it can be difficult fo
|
|
|
2116
2116
|
|
|
2117
2117
|
| Class | Applied to | Outcome |
|
|
2118
2118
|
| -- | -- | -- |
|
|
2119
|
-
| `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-v6-c-data-list` | Modifies the data list to switch to a grid layout at a specified [breakpoint](/tokens/all-
|
|
2119
|
+
| `.pf-m-grid{-[none, sm, md, lg, xl, 2xl]}` | `.pf-v6-c-data-list` | Modifies the data list to switch to a grid layout at a specified [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). `.pf-m-grid` will display the grid layout at all breakpoints. `.pf-m-grid-none` will display the desktop layout at all breakpoints. **Note:** Without a grid modifier, the data list will display the grid layout by default and switch to the desktop layout at a medium breakpoint. |
|
|
2120
2120
|
|
|
2121
2121
|
## Documentation
|
|
2122
2122
|
|
|
@@ -1669,8 +1669,8 @@ description-list--aria-label="Horizontal 2 column auto term width example" descr
|
|
|
1669
1669
|
| `.pf-m-auto-column-widths` | `.pf-v6-c-description-list` | Modifies the description list to format automatically. |
|
|
1670
1670
|
| `.pf-m-inline-grid` | `.pf-v6-c-description-list` | Modifies the description list display to inline-grid. |
|
|
1671
1671
|
| `.pf-m-{1,2,3}-col{-on-[sm, md, lg, xl, 2xl]}` | `.pf-v6-c-description-list` | Modifies the description list number of columns. |
|
|
1672
|
-
| `--pf-v6-c-description-list--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list` | Modifies the min value of the `grid-template-columns` declaration at optional [breakpoint](/tokens/all-
|
|
1673
|
-
| `--pf-v6-c-description-list--m-horizontal__term--width{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list.pf-m-horizontal` | Modifies the description list term width at optional [breakpoint](/tokens/all-
|
|
1672
|
+
| `--pf-v6-c-description-list--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list` | Modifies the min value of the `grid-template-columns` declaration at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1673
|
+
| `--pf-v6-c-description-list--m-horizontal__term--width{-on-[breakpoint]}: {width}` | `.pf-v6-c-description-list.pf-m-horizontal` | Modifies the description list term width at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
1674
1674
|
|
|
1675
1675
|
<!-- | `.pf-m-order[0-12]{-on-[breakpoint]}` | `.pf-v6-c-description-list__group` | Modifies the order of the flex layout element. |
|
|
1676
1676
|
| `.pf-m-order-first{-on-[breakpoint]}` | `.pf-v6-c-description-list__group` | Modifies the order of the flex layout element to -1. |
|
|
@@ -134,5 +134,5 @@ The divider renders as an `<hr>` by default. It is possible to make the divider
|
|
|
134
134
|
| `.pf-v6-c-divider` | `<hr>`, `<li>`, `<div>` | Defines the divider component. |
|
|
135
135
|
| `.pf-m-vertical` | `.pf-v6-c-divider` | Modifies the divider component from horizontal to vertical. This modifier requires that the parent has an explicit or implicit height, or has a flex or grid based layout parent. |
|
|
136
136
|
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-v6-c-divider` | Modifies divider padding/inset to visually match padding of other adjacent components. |
|
|
137
|
-
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be hidden, at optional [breakpoint](/tokens/all-
|
|
138
|
-
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be shown, at optional [breakpoint](/tokens/all-
|
|
137
|
+
| `.pf-m-hidden{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be hidden, at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
138
|
+
| `.pf-m-visible{-on-[breakpoint]}` | `.pf-v6-c-divider` | Modifies a divider to be shown, at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|