@patternfly/patternfly 6.0.0-alpha.107 → 6.0.0-alpha.108
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/README.md +0 -1
- package/base/_common.scss +4 -4
- package/base/_globals.scss +2 -2
- package/base/_themes.scss +3 -3
- package/base/_variables.scss +14 -14
- package/base/patternfly-variables.css +18 -12
- package/base/themes/dark/_globals.scss +1 -1
- package/base/tokens/_tokens-charts.scss +1 -1
- package/base/tokens/_tokens-dark.scss +3 -3
- package/base/tokens/_tokens-default.scss +17 -11
- package/base/tokens/_tokens-palette.scss +1 -1
- package/components/AboutModalBox/about-modal-box.scss +12 -12
- package/components/Accordion/accordion.scss +2 -2
- package/components/Alert/alert.scss +2 -2
- package/components/AppLauncher/app-launcher.scss +2 -2
- package/components/AppLauncher/themes/dark/app-launcher.scss +1 -1
- package/components/Avatar/avatar.scss +5 -5
- package/components/BackToTop/back-to-top.scss +1 -1
- package/components/BackgroundImage/background-image.scss +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Brand/brand.scss +3 -3
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.scss +1 -1
- package/components/Chip/chip-group.scss +2 -2
- package/components/Chip/chip.scss +4 -4
- package/components/Chip/themes/dark/chip.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.scss +1 -1
- package/components/Content/content.scss +4 -4
- package/components/ContextSelector/context-selector.scss +5 -5
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.scss +6 -6
- package/components/DataList/data-list.css +15 -15
- package/components/DataList/data-list.scss +4 -4
- package/components/DescriptionList/description-list-order.scss +1 -1
- package/components/DescriptionList/description-list.scss +5 -5
- package/components/Divider/divider.css +15 -15
- package/components/Divider/divider.scss +16 -16
- package/components/Drawer/drawer.scss +25 -25
- package/components/Dropdown/dropdown.scss +6 -6
- package/components/Dropdown/themes/dark/dropdown.scss +1 -1
- package/components/DualListSelector/dual-list-selector.scss +4 -4
- package/components/ExpandableSection/expandable-section.scss +1 -1
- package/components/Form/form.scss +8 -8
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +1 -1
- package/components/JumpLinks/jump-links.scss +4 -4
- package/components/Label/label-group.scss +1 -1
- package/components/Label/label.scss +2 -2
- package/components/LogViewer/log-viewer.scss +3 -3
- package/components/LogViewer/themes/dark/log-viewer.scss +2 -2
- package/components/Login/login.scss +13 -13
- package/components/Masthead/masthead.scss +15 -15
- package/components/Menu/menu.css +17 -17
- package/components/Menu/menu.scss +9 -9
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/Nav/nav.scss +3 -3
- package/components/NotificationDrawer/notification-drawer.scss +3 -3
- package/components/NumberInput/number-input.scss +1 -1
- package/components/OptionsMenu/options-menu.scss +3 -3
- package/components/OptionsMenu/themes/dark/options-menu.scss +1 -1
- package/components/Page/page.css +16 -16
- package/components/Page/page.scss +19 -19
- package/components/Pagination/pagination.scss +10 -10
- package/components/Progress/progress.scss +1 -1
- package/components/ProgressStepper/progress-stepper.scss +11 -11
- package/components/Select/select.scss +5 -5
- package/components/Select/themes/dark/select.scss +1 -1
- package/components/Sidebar/sidebar.css +84 -84
- package/components/Sidebar/sidebar.scss +12 -12
- package/components/Skeleton/skeleton.scss +1 -1
- package/components/Slider/slider.scss +11 -11
- package/components/Switch/switch.scss +2 -2
- package/components/TabContent/tab-content.scss +1 -1
- package/components/Table/table-grid.scss +6 -6
- package/components/Table/table-tree-view.scss +6 -6
- package/components/Table/table.css +15 -15
- package/components/Table/table.scss +2 -2
- package/components/Tabs/tabs.scss +10 -10
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/ToggleGroup/toggle-group.css +2 -2
- package/components/ToggleGroup/toggle-group.scss +2 -2
- package/components/Toolbar/toolbar.css +15 -15
- package/components/Toolbar/toolbar.scss +20 -20
- package/components/TreeView/tree-view.scss +5 -5
- package/components/Truncate/truncate.scss +3 -3
- package/components/Wizard/wizard.scss +10 -10
- package/docs/components/Badge/examples/Badge.md +0 -21
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +17 -58
- package/docs/components/Menu/examples/Menu.md +14 -6
- package/docs/components/MenuToggle/examples/MenuToggle.md +19 -0
- package/layouts/Flex/flex.scss +12 -12
- package/layouts/Gallery/gallery.scss +2 -2
- package/layouts/Grid/grid.scss +5 -5
- package/package.json +1 -1
- package/patternfly-base-no-globals-theme-dark-unversioned.css +18 -12
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +1 -1
- package/patternfly-base-no-globals.css +18 -12
- package/patternfly-base-theme-dark-unversioned.css +18 -12
- package/patternfly-base.css +18 -12
- package/patternfly-charts-theme-dark-unversioned.scss +4 -4
- package/patternfly-charts-theme-dark.css +2 -2
- package/patternfly-charts-theme-dark.scss +4 -4
- package/patternfly-no-globals.css +142 -136
- package/patternfly-theme-dark-unversioned.css +142 -136
- package/patternfly.css +142 -136
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +3 -3
- package/sass-utilities/functions.scss +11 -11
- package/sass-utilities/mixins.scss +55 -54
- package/sass-utilities/placeholders.scss +12 -12
- package/sass-utilities/scss-variables.scss +27 -27
- package/sass-utilities/themes/dark/mixins.scss +2 -2
- package/sass-utilities/themes/dark/placeholders.scss +1 -1
- package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
- package/utilities/Accessibility/accessibility.scss +6 -6
- package/utilities/Alignment/alignment.scss +1 -1
- package/utilities/BackgroundColor/BackgroundColor.scss +1 -1
- package/utilities/BoxShadow/box-shadow.scss +1 -1
- package/utilities/Display/display.scss +1 -1
- package/utilities/Flex/flex.scss +10 -10
- package/utilities/Float/float.scss +1 -1
- package/utilities/Sizing/sizing.scss +6 -6
- package/utilities/Spacing/spacing.scss +3 -3
- package/utilities/Text/text.scss +5 -5
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
|
@@ -200,146 +200,146 @@
|
|
|
200
200
|
background-color: transparent;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.pf-
|
|
204
|
-
--pf-
|
|
203
|
+
.pf-v6-c-sidebar__panel.pf-m-width-default {
|
|
204
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
.pf-
|
|
208
|
-
--pf-
|
|
207
|
+
.pf-v6-c-sidebar__panel.pf-m-width-25 {
|
|
208
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 25%;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
.pf-
|
|
212
|
-
--pf-
|
|
211
|
+
.pf-v6-c-sidebar__panel.pf-m-width-33 {
|
|
212
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 33%;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
.pf-
|
|
216
|
-
--pf-
|
|
215
|
+
.pf-v6-c-sidebar__panel.pf-m-width-50 {
|
|
216
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 50%;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.pf-
|
|
220
|
-
--pf-
|
|
219
|
+
.pf-v6-c-sidebar__panel.pf-m-width-66 {
|
|
220
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 66%;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
.pf-
|
|
224
|
-
--pf-
|
|
223
|
+
.pf-v6-c-sidebar__panel.pf-m-width-75 {
|
|
224
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 75%;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
.pf-
|
|
228
|
-
--pf-
|
|
227
|
+
.pf-v6-c-sidebar__panel.pf-m-width-100 {
|
|
228
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 100%;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
@media (min-width: 576px) {
|
|
232
|
-
.pf-
|
|
233
|
-
--pf-
|
|
232
|
+
.pf-v6-c-sidebar__panel.pf-m-width-default-on-sm {
|
|
233
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
234
234
|
}
|
|
235
|
-
.pf-
|
|
236
|
-
--pf-
|
|
235
|
+
.pf-v6-c-sidebar__panel.pf-m-width-25-on-sm {
|
|
236
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 25%;
|
|
237
237
|
}
|
|
238
|
-
.pf-
|
|
239
|
-
--pf-
|
|
238
|
+
.pf-v6-c-sidebar__panel.pf-m-width-33-on-sm {
|
|
239
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 33%;
|
|
240
240
|
}
|
|
241
|
-
.pf-
|
|
242
|
-
--pf-
|
|
241
|
+
.pf-v6-c-sidebar__panel.pf-m-width-50-on-sm {
|
|
242
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 50%;
|
|
243
243
|
}
|
|
244
|
-
.pf-
|
|
245
|
-
--pf-
|
|
244
|
+
.pf-v6-c-sidebar__panel.pf-m-width-66-on-sm {
|
|
245
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 66%;
|
|
246
246
|
}
|
|
247
|
-
.pf-
|
|
248
|
-
--pf-
|
|
247
|
+
.pf-v6-c-sidebar__panel.pf-m-width-75-on-sm {
|
|
248
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 75%;
|
|
249
249
|
}
|
|
250
|
-
.pf-
|
|
251
|
-
--pf-
|
|
250
|
+
.pf-v6-c-sidebar__panel.pf-m-width-100-on-sm {
|
|
251
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 100%;
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
@media (min-width: 768px) {
|
|
255
|
-
.pf-
|
|
256
|
-
--pf-
|
|
255
|
+
.pf-v6-c-sidebar__panel.pf-m-width-default-on-md {
|
|
256
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
257
257
|
}
|
|
258
|
-
.pf-
|
|
259
|
-
--pf-
|
|
258
|
+
.pf-v6-c-sidebar__panel.pf-m-width-25-on-md {
|
|
259
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 25%;
|
|
260
260
|
}
|
|
261
|
-
.pf-
|
|
262
|
-
--pf-
|
|
261
|
+
.pf-v6-c-sidebar__panel.pf-m-width-33-on-md {
|
|
262
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 33%;
|
|
263
263
|
}
|
|
264
|
-
.pf-
|
|
265
|
-
--pf-
|
|
264
|
+
.pf-v6-c-sidebar__panel.pf-m-width-50-on-md {
|
|
265
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 50%;
|
|
266
266
|
}
|
|
267
|
-
.pf-
|
|
268
|
-
--pf-
|
|
267
|
+
.pf-v6-c-sidebar__panel.pf-m-width-66-on-md {
|
|
268
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 66%;
|
|
269
269
|
}
|
|
270
|
-
.pf-
|
|
271
|
-
--pf-
|
|
270
|
+
.pf-v6-c-sidebar__panel.pf-m-width-75-on-md {
|
|
271
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 75%;
|
|
272
272
|
}
|
|
273
|
-
.pf-
|
|
274
|
-
--pf-
|
|
273
|
+
.pf-v6-c-sidebar__panel.pf-m-width-100-on-md {
|
|
274
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 100%;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
@media (min-width: 992px) {
|
|
278
|
-
.pf-
|
|
279
|
-
--pf-
|
|
278
|
+
.pf-v6-c-sidebar__panel.pf-m-width-default-on-lg {
|
|
279
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
280
280
|
}
|
|
281
|
-
.pf-
|
|
282
|
-
--pf-
|
|
281
|
+
.pf-v6-c-sidebar__panel.pf-m-width-25-on-lg {
|
|
282
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 25%;
|
|
283
283
|
}
|
|
284
|
-
.pf-
|
|
285
|
-
--pf-
|
|
284
|
+
.pf-v6-c-sidebar__panel.pf-m-width-33-on-lg {
|
|
285
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 33%;
|
|
286
286
|
}
|
|
287
|
-
.pf-
|
|
288
|
-
--pf-
|
|
287
|
+
.pf-v6-c-sidebar__panel.pf-m-width-50-on-lg {
|
|
288
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 50%;
|
|
289
289
|
}
|
|
290
|
-
.pf-
|
|
291
|
-
--pf-
|
|
290
|
+
.pf-v6-c-sidebar__panel.pf-m-width-66-on-lg {
|
|
291
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 66%;
|
|
292
292
|
}
|
|
293
|
-
.pf-
|
|
294
|
-
--pf-
|
|
293
|
+
.pf-v6-c-sidebar__panel.pf-m-width-75-on-lg {
|
|
294
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 75%;
|
|
295
295
|
}
|
|
296
|
-
.pf-
|
|
297
|
-
--pf-
|
|
296
|
+
.pf-v6-c-sidebar__panel.pf-m-width-100-on-lg {
|
|
297
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 100%;
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
@media (min-width: 1200px) {
|
|
301
|
-
.pf-
|
|
302
|
-
--pf-
|
|
301
|
+
.pf-v6-c-sidebar__panel.pf-m-width-default-on-xl {
|
|
302
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
303
303
|
}
|
|
304
|
-
.pf-
|
|
305
|
-
--pf-
|
|
304
|
+
.pf-v6-c-sidebar__panel.pf-m-width-25-on-xl {
|
|
305
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 25%;
|
|
306
306
|
}
|
|
307
|
-
.pf-
|
|
308
|
-
--pf-
|
|
307
|
+
.pf-v6-c-sidebar__panel.pf-m-width-33-on-xl {
|
|
308
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 33%;
|
|
309
309
|
}
|
|
310
|
-
.pf-
|
|
311
|
-
--pf-
|
|
310
|
+
.pf-v6-c-sidebar__panel.pf-m-width-50-on-xl {
|
|
311
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 50%;
|
|
312
312
|
}
|
|
313
|
-
.pf-
|
|
314
|
-
--pf-
|
|
313
|
+
.pf-v6-c-sidebar__panel.pf-m-width-66-on-xl {
|
|
314
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 66%;
|
|
315
315
|
}
|
|
316
|
-
.pf-
|
|
317
|
-
--pf-
|
|
316
|
+
.pf-v6-c-sidebar__panel.pf-m-width-75-on-xl {
|
|
317
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 75%;
|
|
318
318
|
}
|
|
319
|
-
.pf-
|
|
320
|
-
--pf-
|
|
319
|
+
.pf-v6-c-sidebar__panel.pf-m-width-100-on-xl {
|
|
320
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 100%;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
@media (min-width: 1450px) {
|
|
324
|
-
.pf-
|
|
325
|
-
--pf-
|
|
324
|
+
.pf-v6-c-sidebar__panel.pf-m-width-default-on-2xl {
|
|
325
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
326
326
|
}
|
|
327
|
-
.pf-
|
|
328
|
-
--pf-
|
|
327
|
+
.pf-v6-c-sidebar__panel.pf-m-width-25-on-2xl {
|
|
328
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 25%;
|
|
329
329
|
}
|
|
330
|
-
.pf-
|
|
331
|
-
--pf-
|
|
330
|
+
.pf-v6-c-sidebar__panel.pf-m-width-33-on-2xl {
|
|
331
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 33%;
|
|
332
332
|
}
|
|
333
|
-
.pf-
|
|
334
|
-
--pf-
|
|
333
|
+
.pf-v6-c-sidebar__panel.pf-m-width-50-on-2xl {
|
|
334
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 50%;
|
|
335
335
|
}
|
|
336
|
-
.pf-
|
|
337
|
-
--pf-
|
|
336
|
+
.pf-v6-c-sidebar__panel.pf-m-width-66-on-2xl {
|
|
337
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 66%;
|
|
338
338
|
}
|
|
339
|
-
.pf-
|
|
340
|
-
--pf-
|
|
339
|
+
.pf-v6-c-sidebar__panel.pf-m-width-75-on-2xl {
|
|
340
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 75%;
|
|
341
341
|
}
|
|
342
|
-
.pf-
|
|
343
|
-
--pf-
|
|
342
|
+
.pf-v6-c-sidebar__panel.pf-m-width-100-on-2xl {
|
|
343
|
+
--pf-v6-c-sidebar__panel--FlexBasis: 100%;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @debug $sidebar; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
3
|
-
$pf-
|
|
2
|
+
$pf-v6-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
|
+
$pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
4
4
|
|
|
5
5
|
:root,
|
|
6
6
|
:where(.#{$sidebar}) {
|
|
@@ -74,7 +74,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
74
74
|
|
|
75
75
|
// Panel
|
|
76
76
|
--#{$sidebar}__panel--FlexBasis--base: auto;
|
|
77
|
-
--#{$sidebar}__panel--BoxShadow--base: #{0 pf-size-prem(4px) pf-size-prem(4px) pf-size-prem(-4px) rgba($pf-v5-color-black-1000, .16)}; // modified so the shadow is only visible on the bottom of the element
|
|
77
|
+
--#{$sidebar}__panel--BoxShadow--base: #{0 pf-size-prem(4px) pf-size-prem(4px) pf-size-prem(-4px) rgba($pf-v5-color-black-1000, .16)}; // TODO NEEDS TOKEN. previous comment:modified so the shadow is only visible on the bottom of the element
|
|
78
78
|
--#{$sidebar}__panel--BoxShadow: var(--#{$sidebar}__panel--BoxShadow--base);
|
|
79
79
|
--#{$sidebar}__panel--Top: 0;
|
|
80
80
|
--#{$sidebar}__panel--md--Top: auto;
|
|
@@ -101,7 +101,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
101
101
|
.#{$sidebar} {
|
|
102
102
|
height: 100%;
|
|
103
103
|
|
|
104
|
-
@media (min-width: $pf-
|
|
104
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
105
105
|
--#{$sidebar}__main--FlexDirection: var(--#{$sidebar}__main--md--FlexDirection);
|
|
106
106
|
--#{$sidebar}__main--AlignItems: var(--#{$sidebar}__main--md--AlignItems);
|
|
107
107
|
--#{$sidebar}__main--m-border--before--Display: var(--#{$sidebar}__main--m-border--before--md--Display); // show border starting at md breakpoint
|
|
@@ -111,7 +111,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
111
111
|
--#{$sidebar}__panel--Position: var(--#{$sidebar}__panel--md--Position);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
@media (min-width: $pf-
|
|
114
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
115
115
|
--#{$sidebar}--inset: var(--#{$sidebar}--xl--inset);
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -123,7 +123,7 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
123
123
|
--#{$sidebar}__panel--Order: var(--#{$sidebar}--m-panel-right__panel--Order);
|
|
124
124
|
--#{$sidebar}__content--Order: var(--#{$sidebar}--m-panel-right__content--Order);
|
|
125
125
|
|
|
126
|
-
@media (min-width: $pf-
|
|
126
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
127
127
|
--#{$sidebar}--m-panel-right__panel--Order: var(--#{$sidebar}--m-panel-right__panel--md--Order);
|
|
128
128
|
--#{$sidebar}--m-panel-right__content--Order: var(--#{$sidebar}--m-panel-right__content--md--Order);
|
|
129
129
|
}
|
|
@@ -245,16 +245,16 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
// Responsive width modifiers
|
|
248
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
248
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-sidebar--breakpoint-map--width {
|
|
249
249
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
250
250
|
|
|
251
|
-
@include pf-
|
|
252
|
-
@each $width-value in $pf-
|
|
253
|
-
.pf-
|
|
251
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
252
|
+
@each $width-value in $pf-v6-c-sidebar__panel--list--width {
|
|
253
|
+
.pf-v6-c-sidebar__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
|
|
254
254
|
@if $width-value == "default" {
|
|
255
|
-
--pf-
|
|
255
|
+
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
256
256
|
} @else {
|
|
257
|
-
--pf-
|
|
257
|
+
--pf-v6-c-sidebar__panel--FlexBasis: #{percentage(div($width-value, 100))};
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.#{$slider} {
|
|
82
|
-
@include pf-
|
|
82
|
+
@include pf-v6-bidirectional-style(
|
|
83
83
|
$prop: --#{$slider}__rail-track--before--fill--direction,
|
|
84
84
|
$ltr-val: right,
|
|
85
85
|
$rtl-val: left
|
|
@@ -160,10 +160,10 @@
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.#{$slider}__step-tick {
|
|
163
|
-
@include pf-
|
|
163
|
+
@include pf-v6-bidirectional-style(
|
|
164
164
|
$prop: transform,
|
|
165
165
|
$ltr-val: translateX(var(--#{$slider}__step-tick--TranslateX)),
|
|
166
|
-
$rtl-val: translateX(#{pf-
|
|
166
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$slider}__step-tick--TranslateX))})
|
|
167
167
|
);
|
|
168
168
|
|
|
169
169
|
position: absolute;
|
|
@@ -176,10 +176,10 @@
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.#{$slider}__step-label {
|
|
179
|
-
@include pf-
|
|
179
|
+
@include pf-v6-bidirectional-style(
|
|
180
180
|
$prop: transform,
|
|
181
181
|
$ltr-val: translateX(var(--#{$slider}__step-label--TranslateX)),
|
|
182
|
-
$rtl-val: translateX(#{pf-
|
|
182
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$slider}__step-label--TranslateX))})
|
|
183
183
|
);
|
|
184
184
|
|
|
185
185
|
position: absolute;
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.#{$slider}__thumb {
|
|
191
|
-
@include pf-
|
|
191
|
+
@include pf-v6-bidirectional-style(
|
|
192
192
|
$prop: transform,
|
|
193
193
|
$ltr-val: translate(var(--#{$slider}__thumb--TranslateX), var(--#{$slider}__thumb--TranslateY)),
|
|
194
|
-
$rtl-val: translate(#{pf-
|
|
194
|
+
$rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$slider}__thumb--TranslateX))}, var(--#{$slider}__thumb--TranslateY))
|
|
195
195
|
);
|
|
196
196
|
|
|
197
197
|
position: absolute;
|
|
@@ -205,10 +205,10 @@
|
|
|
205
205
|
box-shadow: var(--#{$slider}__thumb--BoxShadow);
|
|
206
206
|
|
|
207
207
|
&::before {
|
|
208
|
-
@include pf-
|
|
208
|
+
@include pf-v6-bidirectional-style(
|
|
209
209
|
$prop: transform,
|
|
210
210
|
$ltr-val: translate(var(--#{$slider}__thumb--before--TranslateX), var(--#{$slider}__thumb--before--TranslateY)),
|
|
211
|
-
$rtl-val: translate(#{pf-
|
|
211
|
+
$rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$slider}__thumb--before--TranslateX))}, var(--#{$slider}__thumb--before--TranslateY))
|
|
212
212
|
);
|
|
213
213
|
|
|
214
214
|
position: absolute;
|
|
@@ -239,10 +239,10 @@
|
|
|
239
239
|
margin-inline-start: var(--#{$slider}__value--MarginLeft);
|
|
240
240
|
|
|
241
241
|
&.pf-m-floating {
|
|
242
|
-
@include pf-
|
|
242
|
+
@include pf-v6-bidirectional-style(
|
|
243
243
|
$prop: transform,
|
|
244
244
|
$ltr-val: translate(var(--#{$slider}__value--m-floating--TranslateX), var(--#{$slider}__value--m-floating--TranslateY)),
|
|
245
|
-
$rtl-val: translate(#{pf-
|
|
245
|
+
$rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$slider}__value--m-floating--TranslateX))}, var(--#{$slider}__value--m-floating--TranslateY)),
|
|
246
246
|
);
|
|
247
247
|
|
|
248
248
|
--#{$slider}__value--MarginLeft: 0;
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
background-color: var(--#{$switch}__input--checked__toggle--BackgroundColor);
|
|
92
92
|
|
|
93
93
|
&::before {
|
|
94
|
-
@include pf-
|
|
94
|
+
@include pf-v6-bidirectional-style(
|
|
95
95
|
$prop: transform,
|
|
96
96
|
$ltr-val: translate(var(--#{$switch}__input--checked__toggle--before--TranslateX), -50%),
|
|
97
|
-
$rtl-val: translate(#{pf-
|
|
97
|
+
$rtl-val: translate(#{pf-v6-calc-inverse(var(--#{$switch}__input--checked__toggle--before--TranslateX))}, -50%)
|
|
98
98
|
);
|
|
99
99
|
|
|
100
100
|
background-color: var(--#{$switch}__input--checked__toggle--before--BackgroundColor);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
.#{$tab-content} {
|
|
27
27
|
background-color: var(--#{$tab-content}--BackgroundColor);
|
|
28
28
|
|
|
29
|
-
@media screen and (min-width: $pf-
|
|
29
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
30
30
|
--#{$tab-content}__body--m-padding--PaddingTop: var(--#{$tab-content}__body--m-padding--xl--PaddingTop);
|
|
31
31
|
--#{$tab-content}__body--m-padding--PaddingRight: var(--#{$tab-content}__body--m-padding--xl--PaddingRight);
|
|
32
32
|
--#{$tab-content}__body--m-padding--PaddingBottom: var(--#{$tab-content}__body--m-padding--xl--PaddingBottom);
|
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.pf-m-grid-md.#{$table} {
|
|
8
|
-
@media screen and (max-width: $pf-
|
|
8
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--md) {
|
|
9
9
|
@content;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.pf-m-grid-lg.#{$table} {
|
|
14
|
-
@media screen and (max-width: $pf-
|
|
14
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--lg) {
|
|
15
15
|
@content;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.pf-m-grid-xl.#{$table} {
|
|
20
|
-
@media screen and (max-width: $pf-
|
|
20
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--xl) {
|
|
21
21
|
@content;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.pf-m-grid-2xl.#{$table} {
|
|
26
|
-
@media screen and (max-width: $pf-
|
|
26
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
|
|
27
27
|
@content;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
|
|
268
268
|
// - Table grid th td data label
|
|
269
269
|
:where(.#{$table}__th, .#{$table}__td)[data-label] {
|
|
270
|
-
// default pf-
|
|
270
|
+
// default pf-v6-hidden-visible() mixin is called in table.scss. redefining variable here
|
|
271
271
|
--#{$table}--cell--hidden-visible--Display: var(--#{$table}--m-grid--cell--hidden-visible--Display);
|
|
272
272
|
|
|
273
273
|
grid-column: 1;
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
text-align: end;
|
|
527
527
|
|
|
528
528
|
// @smallest breakpoint
|
|
529
|
-
@media screen and (max-width: $pf-
|
|
529
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--sm) {
|
|
530
530
|
grid-row-start: 1;
|
|
531
531
|
grid-column-start: 2;
|
|
532
532
|
margin-inline-start: 0;
|
|
@@ -69,10 +69,10 @@ $pf-v6-c-tree-view--MaxDepth: 10;
|
|
|
69
69
|
cursor: pointer;
|
|
70
70
|
|
|
71
71
|
> .#{$table}__toggle {
|
|
72
|
-
@include pf-
|
|
72
|
+
@include pf-v6-bidirectional-style (
|
|
73
73
|
$prop: 'transform',
|
|
74
74
|
$ltr-val: translateX(var(--#{$table}--m-tree-view__toggle--TranslateX)),
|
|
75
|
-
$rtl-val: translateX(#{pf-
|
|
75
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$table}--m-tree-view__toggle--TranslateX))})
|
|
76
76
|
);
|
|
77
77
|
|
|
78
78
|
position: var(--#{$table}--m-tree-view__toggle--Position);
|
|
@@ -125,25 +125,25 @@ $pf-v6-c-tree-view--MaxDepth: 10;
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.pf-m-tree-view-grid-md.#{$table} {
|
|
128
|
-
@media screen and (max-width: $pf-
|
|
128
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--md) {
|
|
129
129
|
@content;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.pf-m-tree-view-grid-lg.#{$table} {
|
|
134
|
-
@media screen and (max-width: $pf-
|
|
134
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--lg) {
|
|
135
135
|
@content;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.pf-m-tree-view-grid-xl.#{$table} {
|
|
140
|
-
@media screen and (max-width: $pf-
|
|
140
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--xl) {
|
|
141
141
|
@content;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
.pf-m-tree-view-grid-2xl.#{$table} {
|
|
146
|
-
@media screen and (max-width: $pf-
|
|
146
|
+
@media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
|
|
147
147
|
@content;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
|
|
2
|
-
--pf-
|
|
3
|
-
--pf-
|
|
4
|
-
display: var(--pf-
|
|
2
|
+
--pf-v6-hidden-visible--hidden--Display: none;
|
|
3
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
4
|
+
display: var(--pf-v6-hidden-visible--Display);
|
|
5
5
|
}
|
|
6
6
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden:where(th, td) {
|
|
7
|
-
--pf-
|
|
7
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
8
8
|
}
|
|
9
9
|
@media screen and (min-width: 576px) {
|
|
10
10
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-sm:where(th, td) {
|
|
11
|
-
--pf-
|
|
11
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
12
12
|
}
|
|
13
13
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-sm:where(th, td) {
|
|
14
|
-
--pf-
|
|
14
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
@media screen and (min-width: 768px) {
|
|
18
18
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-md:where(th, td) {
|
|
19
|
-
--pf-
|
|
19
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
20
20
|
}
|
|
21
21
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-md:where(th, td) {
|
|
22
|
-
--pf-
|
|
22
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
@media screen and (min-width: 992px) {
|
|
26
26
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-lg:where(th, td) {
|
|
27
|
-
--pf-
|
|
27
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
28
28
|
}
|
|
29
29
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-lg:where(th, td) {
|
|
30
|
-
--pf-
|
|
30
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
@media screen and (min-width: 1200px) {
|
|
34
34
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-xl:where(th, td) {
|
|
35
|
-
--pf-
|
|
35
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
36
36
|
}
|
|
37
37
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-xl:where(th, td) {
|
|
38
|
-
--pf-
|
|
38
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
@media screen and (min-width: 1450px) {
|
|
42
42
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-hidden-on-2xl:where(th, td) {
|
|
43
|
-
--pf-
|
|
43
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
44
44
|
}
|
|
45
45
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > .pf-m-visible-on-2xl:where(th, td) {
|
|
46
|
-
--pf-
|
|
46
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
opacity: var(--pf-v6-c-table__tr--m-ghost-row--Opacity);
|
|
239
239
|
}
|
|
240
240
|
.pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
|
|
241
|
-
--pf-
|
|
241
|
+
--pf-v6-hidden-visible--visible--Display: var(--pf-v6-c-table--cell--hidden-visible--Display);
|
|
242
242
|
position: relative;
|
|
243
243
|
width: var(--pf-v6-c-table--cell--Width);
|
|
244
244
|
min-width: var(--pf-v6-c-table--cell--MinWidth);
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
|
|
315
315
|
// - Table th - Table td
|
|
316
316
|
tr:where(.#{$table}__tr) > :where(th, td) {
|
|
317
|
-
@include pf-
|
|
317
|
+
@include pf-v6-hidden-visible(var(--#{$table}--cell--hidden-visible--Display));
|
|
318
318
|
|
|
319
319
|
position: relative;
|
|
320
320
|
width: var(--#{$table}--cell--Width);
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
|
|
725
725
|
|
|
726
726
|
.#{$table}__toggle-icon {
|
|
727
|
-
@include pf-
|
|
727
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
728
728
|
|
|
729
729
|
transition: var(--#{$table}__toggle--c-button__toggle-icon--Transition);
|
|
730
730
|
transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @debug $tabs; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
3
|
-
$pf-
|
|
2
|
+
$pf-v6-c-tabs--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
|
+
$pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
4
4
|
|
|
5
5
|
:where(:root),
|
|
6
6
|
:where(.#{$tabs}) {
|
|
@@ -374,10 +374,10 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
374
374
|
overflow-wrap: break-word;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
377
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
378
378
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
379
379
|
|
|
380
|
-
@include pf-
|
|
380
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
381
381
|
// stylelint-disable max-nesting-depth
|
|
382
382
|
&.pf-m-expandable#{$breakpoint-name} {
|
|
383
383
|
--#{$tabs}__list--Display: none;
|
|
@@ -490,7 +490,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
.#{$tabs}__toggle-icon {
|
|
493
|
-
@include pf-
|
|
493
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
494
494
|
|
|
495
495
|
display: inline-block;
|
|
496
496
|
color: var(--#{$tabs}__toggle-icon--Color);
|
|
@@ -506,7 +506,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
506
506
|
|
|
507
507
|
// Tab list
|
|
508
508
|
.#{$tabs}__list {
|
|
509
|
-
@include pf-
|
|
509
|
+
@include pf-v6-overflow-hide-scroll;
|
|
510
510
|
|
|
511
511
|
position: relative;
|
|
512
512
|
display: var(--#{$tabs}__list--Display);
|
|
@@ -677,7 +677,7 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
677
677
|
}
|
|
678
678
|
|
|
679
679
|
.#{$tabs}__link-toggle-icon {
|
|
680
|
-
@include pf-
|
|
680
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
681
681
|
|
|
682
682
|
align-self: end;
|
|
683
683
|
font-size: var(--#{$tabs}__link-toggle-icon--FontSize);
|
|
@@ -750,11 +750,11 @@ $pf-v5-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
750
750
|
|
|
751
751
|
// stylelint-disable no-duplicate-selectors, max-nesting-depth
|
|
752
752
|
.#{$tabs} {
|
|
753
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
753
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-tabs--breakpoint-map {
|
|
754
754
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
755
755
|
|
|
756
|
-
@include pf-
|
|
757
|
-
@each $spacer, $spacer-value in $pf-
|
|
756
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
757
|
+
@each $spacer, $spacer-value in $pf-v6-c-tabs--spacer-map {
|
|
758
758
|
&.pf-m-inset-#{$spacer}#{$breakpoint-name} {
|
|
759
759
|
--#{$tabs}--inset: #{$spacer-value};
|
|
760
760
|
--#{$tabs}--m-vertical--inset: #{$spacer-value};
|