@patternfly/patternfly 6.0.0-alpha.106 → 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 +57 -57
- 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.css +70 -70
- 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.css +30 -30
- 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.css +90 -90
- 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 +303 -303
- 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/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/layouts/Bullseye/bullseye.css +5 -1
- package/layouts/Bullseye/bullseye.scss +4 -1
- package/layouts/Flex/flex.css +207 -203
- package/layouts/Flex/flex.scss +45 -42
- package/layouts/Gallery/gallery.css +6 -2
- package/layouts/Gallery/gallery.scss +8 -5
- package/layouts/Grid/grid.css +6 -2
- package/layouts/Grid/grid.scss +11 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +5 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +5 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +5 -2
- package/package.json +1 -1
- package/patternfly-addons.css +672 -672
- 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 +901 -867
- package/patternfly-theme-dark-unversioned.css +901 -867
- package/patternfly.css +901 -867
- 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 +14 -14
- package/sass-utilities/mixins.scss +55 -54
- package/sass-utilities/placeholders.scss +12 -12
- package/sass-utilities/scss-variables.scss +36 -36
- 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.css +672 -672
- package/utilities/Spacing/spacing.scss +4 -4
- package/utilities/Text/text.scss +5 -5
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
// @debug $divider; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
3
|
-
$pf-
|
|
2
|
+
$pf-v6-c-divider--breakpoint-map: build-breakpoint-map("sm", "md", "lg", "xl", "2xl");
|
|
3
|
+
$pf-v6-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "xl", "2xl", "3xl");
|
|
4
4
|
|
|
5
5
|
// * Divider horizontal
|
|
6
|
-
@mixin pf-
|
|
6
|
+
@mixin pf-v6-c-divider--m-horizontal {
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: var(--#{$divider}--Size); // apply size to height in horizontal orientation
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// * Divider vertical
|
|
13
|
-
@mixin pf-
|
|
13
|
+
@mixin pf-v6-c-divider--m-vertical {
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
width: var(--#{$divider}--Size); // apply size to width in vertical orientation
|
|
16
16
|
height: inherit;
|
|
@@ -29,8 +29,8 @@ $pf-v5-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "
|
|
|
29
29
|
|
|
30
30
|
// - Divider
|
|
31
31
|
.#{$divider} {
|
|
32
|
-
@include pf-
|
|
33
|
-
@include pf-
|
|
32
|
+
@include pf-v6-c-divider--m-horizontal; // default, set to orientation to horizontal
|
|
33
|
+
@include pf-v6-hidden-visible(var(--#{$divider}--Display));
|
|
34
34
|
|
|
35
35
|
flex-shrink: 0;
|
|
36
36
|
align-items: stretch;
|
|
@@ -47,16 +47,16 @@ $pf-v5-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "
|
|
|
47
47
|
|
|
48
48
|
// - Divider horizontal
|
|
49
49
|
&.pf-m-horizontal {
|
|
50
|
-
@include pf-
|
|
50
|
+
@include pf-v6-c-divider--m-horizontal;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
// - Divider vertical
|
|
54
54
|
&.pf-m-vertical {
|
|
55
|
-
@include pf-
|
|
55
|
+
@include pf-v6-c-divider--m-vertical;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// - Divider spacer insets
|
|
59
|
-
@each $spacer, $spacer-value in $pf-
|
|
59
|
+
@each $spacer, $spacer-value in $pf-v6-c-divider--spacer-map {
|
|
60
60
|
@if $spacer == none {
|
|
61
61
|
$spacer-value: 0%;
|
|
62
62
|
}
|
|
@@ -71,23 +71,23 @@ $pf-v5-c-divider--spacer-map: build-spacer-map("none", "xs", "sm", "md", "lg", "
|
|
|
71
71
|
// TODO: make responsive values opt in/out
|
|
72
72
|
// stylelint-disable
|
|
73
73
|
.#{$divider} {
|
|
74
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
74
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-divider--breakpoint-map {
|
|
75
75
|
$breakpoint-name: '-on-' + #{$breakpoint};
|
|
76
76
|
|
|
77
|
-
@include pf-
|
|
77
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
78
78
|
&.pf-m-horizontal#{$breakpoint-name} {
|
|
79
|
-
@include pf-
|
|
79
|
+
@include pf-v6-c-divider--m-horizontal;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
@include pf-
|
|
83
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
84
84
|
&.pf-m-vertical#{$breakpoint-name} {
|
|
85
|
-
@include pf-
|
|
85
|
+
@include pf-v6-c-divider--m-vertical;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
@include pf-
|
|
90
|
-
@each $spacer, $spacer-value in $pf-
|
|
89
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
90
|
+
@each $spacer, $spacer-value in $pf-v6-c-divider--spacer-map {
|
|
91
91
|
&.pf-m-inset-#{$spacer}#{$breakpoint-name} {
|
|
92
92
|
@if $spacer == none {
|
|
93
93
|
--#{$divider}--before--FlexBasis: 100%;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @debug $drawer; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
3
|
-
$pf-
|
|
4
|
-
$pf-
|
|
2
|
+
$pf-v6-c-drawer--breakpoint-map: build-breakpoint-map("base", "lg", "xl", "2xl");
|
|
3
|
+
$pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl", "2xl");
|
|
4
|
+
$pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
5
5
|
|
|
6
6
|
:where(:root),
|
|
7
7
|
:where(.#{$drawer}) {
|
|
@@ -125,7 +125,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
125
125
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Width: #{pf-size-prem(4px)};
|
|
126
126
|
--#{$drawer}__splitter--m-vertical__splitter-handle--after--Height: #{pf-size-prem(12px)};
|
|
127
127
|
|
|
128
|
-
@media screen and (min-width: $pf-
|
|
128
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
129
129
|
--#{$drawer}__panel--MinWidth: var(--#{$drawer}__panel--xl--MinWidth);
|
|
130
130
|
|
|
131
131
|
&.pf-m-panel-bottom {
|
|
@@ -153,12 +153,12 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.#{$drawer} {
|
|
156
|
-
@include pf-
|
|
156
|
+
@include pf-v6-bidirectional-style(
|
|
157
157
|
$prop: --#{$drawer}--m-expanded__panel--BoxShadow,
|
|
158
158
|
$ltr-val: var(--pf-t--global--box-shadow--lg--left),
|
|
159
159
|
$rtl-val: var(--pf-t--global--box-shadow--lg--right)
|
|
160
160
|
);
|
|
161
|
-
@include pf-
|
|
161
|
+
@include pf-v6-bidirectional-style(
|
|
162
162
|
$prop: --#{$drawer}--m-expanded--m-panel-left__panel--BoxShadow,
|
|
163
163
|
$ltr-val: var(--#{$pf-global}--BoxShadow--lg-right),
|
|
164
164
|
$rtl-val: var(--#{$pf-global}--BoxShadow--lg-left)
|
|
@@ -181,10 +181,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
181
181
|
order: 0;
|
|
182
182
|
margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
183
183
|
|
|
184
|
-
@include pf-
|
|
184
|
+
@include pf-v6-bidirectional-style(
|
|
185
185
|
$prop: transform,
|
|
186
186
|
$ltr-val: translateX(-100%),
|
|
187
|
-
$rtl-val: translateX(#{pf-
|
|
187
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
188
188
|
);
|
|
189
189
|
}
|
|
190
190
|
|
|
@@ -201,10 +201,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
201
201
|
// stylelint-disable selector-max-class
|
|
202
202
|
&.pf-m-expanded {
|
|
203
203
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
204
|
-
@include pf-
|
|
204
|
+
@include pf-v6-bidirectional-style(
|
|
205
205
|
$prop: transform,
|
|
206
206
|
$ltr-val: translateX(-100%),
|
|
207
|
-
$rtl-val: translateX(#{pf-
|
|
207
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
208
208
|
);
|
|
209
209
|
}
|
|
210
210
|
|
|
@@ -321,7 +321,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
321
321
|
--#{$drawer}__panel--BackgroundColor: transparent;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
@media screen and (min-width: $pf-
|
|
324
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
325
325
|
--#{$drawer}__panel--FlexBasis:
|
|
326
326
|
max(
|
|
327
327
|
var(--#{$drawer}__panel--md--FlexBasis--min),
|
|
@@ -329,7 +329,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
329
329
|
);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
@media screen and (min-width: $pf-
|
|
332
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
333
333
|
--#{$drawer}__panel--md--FlexBasis: var(--#{$drawer}__panel--xl--FlexBasis);
|
|
334
334
|
|
|
335
335
|
.#{$drawer}.pf-m-panel-bottom & {
|
|
@@ -355,7 +355,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
// Remove tab focus
|
|
358
|
-
@include pf-
|
|
358
|
+
@include pf-v6-animate-remove-tab-focus(".#{$drawer}__panel", var(--#{$drawer}__panel--TransitionDuration));
|
|
359
359
|
|
|
360
360
|
// Panel head
|
|
361
361
|
.#{$drawer}__head {
|
|
@@ -463,10 +463,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
463
463
|
inset-block-start: var(--#{$drawer}__splitter-handle--Top);
|
|
464
464
|
inset-inline-start: var(--#{$drawer}__splitter-handle--Left);
|
|
465
465
|
|
|
466
|
-
@include pf-
|
|
466
|
+
@include pf-v6-bidirectional-style(
|
|
467
467
|
$prop: transform,
|
|
468
468
|
$ltr-val: translate(-50%, -50%),
|
|
469
|
-
$rtl-val: translate(#{pf-
|
|
469
|
+
$rtl-val: translate(#{pf-v6-calc-inverse(-50%)}, -50%),
|
|
470
470
|
);
|
|
471
471
|
|
|
472
472
|
|
|
@@ -485,7 +485,7 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
// Layout modifications happen after md breakpoint
|
|
488
|
-
@media screen and (min-width: $pf-
|
|
488
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
489
489
|
// Default
|
|
490
490
|
.#{$drawer} {
|
|
491
491
|
min-width: var(--#{$drawer}__panel--MinWidth);
|
|
@@ -625,15 +625,15 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
// Responsive width modifiers
|
|
628
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
628
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map--width {
|
|
629
629
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
630
630
|
|
|
631
631
|
@if $breakpoint == "base" {
|
|
632
632
|
$breakpoint: "md";
|
|
633
633
|
}
|
|
634
634
|
|
|
635
|
-
@include pf-
|
|
636
|
-
@each $width-value in $pf-
|
|
635
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
636
|
+
@each $width-value in $pf-v6-c-drawer__panel--list--width {
|
|
637
637
|
.#{$drawer}__panel.pf-m-width-#{$width-value}#{$breakpoint-name} {
|
|
638
638
|
--#{$drawer}__panel--md--FlexBasis: #{percentage(div($width-value, 100))};
|
|
639
639
|
}
|
|
@@ -642,14 +642,14 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
// Responsive modifiers
|
|
645
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
645
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-drawer--breakpoint-map {
|
|
646
646
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
647
647
|
|
|
648
648
|
@if $breakpoint == "base" {
|
|
649
649
|
$breakpoint: "md";
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
@include pf-
|
|
652
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
653
653
|
// Drawer and inline
|
|
654
654
|
.#{$drawer}.pf-m-inline#{$breakpoint-name},
|
|
655
655
|
.#{$drawer}.pf-m-static#{$breakpoint-name} {
|
|
@@ -675,10 +675,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
675
675
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
676
676
|
margin-inline-start: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
677
677
|
|
|
678
|
-
@include pf-
|
|
678
|
+
@include pf-v6-bidirectional-style(
|
|
679
679
|
$prop: transform,
|
|
680
680
|
$ltr-val: translateX(100%),
|
|
681
|
-
$rtl-val: translateX(#{pf-
|
|
681
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(100%)}),
|
|
682
682
|
);
|
|
683
683
|
}
|
|
684
684
|
|
|
@@ -699,10 +699,10 @@ $pf-v5-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
699
699
|
margin-inline-start: 0;
|
|
700
700
|
margin-inline-end: calc(var(--#{$drawer}__panel--FlexBasis) * -1);
|
|
701
701
|
|
|
702
|
-
@include pf-
|
|
702
|
+
@include pf-v6-bidirectional-style(
|
|
703
703
|
$prop: transform,
|
|
704
704
|
$ltr-val: translateX(-100%),
|
|
705
|
-
$rtl-val: translateX(#{pf-
|
|
705
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
706
706
|
);
|
|
707
707
|
}
|
|
708
708
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @debug $dropdown; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
2
|
+
$pf-v6-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
|
|
4
4
|
.#{$dropdown} {
|
|
5
5
|
// Toggle
|
|
@@ -613,7 +613,7 @@ $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
.#{$dropdown}__toggle-text {
|
|
616
|
-
@include pf-
|
|
616
|
+
@include pf-v6-text-overflow;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
|
|
@@ -684,10 +684,10 @@ $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
684
684
|
.#{$dropdown}__menu {
|
|
685
685
|
min-width: 100%;
|
|
686
686
|
|
|
687
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
687
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-dropdown--breakpoint-map {
|
|
688
688
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
689
689
|
|
|
690
|
-
@include pf-
|
|
690
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
691
691
|
&.pf-m-align-right#{$breakpoint-name} {
|
|
692
692
|
inset-inline-end: 0;
|
|
693
693
|
}
|
|
@@ -815,6 +815,6 @@ $pf-v5-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg"
|
|
|
815
815
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
816
816
|
@import "themes/dark/dropdown";
|
|
817
817
|
|
|
818
|
-
@include pf-
|
|
819
|
-
@include pf-
|
|
818
|
+
@include pf-v6-theme-dark {
|
|
819
|
+
@include pf-v6-theme-dark-dropdown;
|
|
820
820
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
2
|
|
|
3
|
-
@mixin pf-
|
|
3
|
+
@mixin pf-v6-theme-dark-dropdown() {
|
|
4
4
|
.#{$dropdown} {
|
|
5
5
|
--#{$dropdown}__toggle--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
|
|
6
6
|
--#{$dropdown}__toggle--before--BorderTopColor: transparent;
|
|
@@ -170,10 +170,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
170
170
|
--#{$dual-list-selector}__item-toggle--MarginBottom: 0;
|
|
171
171
|
|
|
172
172
|
.#{$dual-list-selector}__item-toggle {
|
|
173
|
-
@include pf-
|
|
173
|
+
@include pf-v6-bidirectional-style(
|
|
174
174
|
$prop: transform,
|
|
175
175
|
$ltr-val: translateX(var(--#{$dual-list-selector}__list__list__item-toggle--TranslateX)),
|
|
176
|
-
$rtl-val: translateX(#{pf-
|
|
176
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$dual-list-selector}__list__list__item-toggle--TranslateX))}),
|
|
177
177
|
);
|
|
178
178
|
|
|
179
179
|
position: absolute;
|
|
@@ -288,7 +288,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.#{$dual-list-selector}__item-text {
|
|
291
|
-
@include pf-
|
|
291
|
+
@include pf-v6-text-overflow;
|
|
292
292
|
|
|
293
293
|
flex-grow: 1;
|
|
294
294
|
color: var(--#{$dual-list-selector}__item-text--Color);
|
|
@@ -308,7 +308,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
:is(.#{$dual-list-selector}__controls-item, .#{$dual-list-selector}__item-toggle-icon) {
|
|
311
|
-
@include pf-
|
|
311
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
.#{$dual-list-selector}__item-main {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.#{$expandable-section}__toggle-icon {
|
|
147
|
-
@include pf-
|
|
147
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
148
148
|
|
|
149
149
|
min-width: var(--#{$expandable-section}__toggle-icon--MinWidth);
|
|
150
150
|
color: var(--#{$expandable-section}__toggle-icon--Color);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @debug $form; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
2
|
+
$pf-v6-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
|
|
4
|
-
@mixin pf-
|
|
4
|
+
@mixin pf-v6-c-form--m-horizontal {
|
|
5
5
|
// default horizontal styles applied at medium breakpoint
|
|
6
|
-
@media screen and (min-width: $pf-
|
|
6
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
7
7
|
@content;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
// custom xs style since this isn't in our maps - maps are based on mobile first design. This may not even be a valid option based on design but I guess it doesn't hurt to add.
|
|
11
11
|
&-on-xs {
|
|
12
|
-
@media screen and (min-width: $pf-
|
|
12
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xs) {
|
|
13
13
|
@content;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// loop to build the rest of the breakpoints
|
|
18
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
18
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-form--m-horizontal--breakpoint-map {
|
|
19
19
|
&-on-#{$breakpoint} {
|
|
20
|
-
@include pf-
|
|
20
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
21
21
|
@content;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -167,7 +167,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
@include pf-
|
|
170
|
+
@include pf-v6-c-form--m-horizontal {
|
|
171
171
|
--#{$form}__group-label--PaddingBottom: 0;
|
|
172
172
|
|
|
173
173
|
.#{$form}__group {
|
|
@@ -409,7 +409,7 @@ $pf-v5-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "l
|
|
|
409
409
|
transition: var(--#{$form}__field-group-toggle-icon--Transition);
|
|
410
410
|
transform: rotate(var(--#{$form}__field-group-toggle-icon--Rotate));
|
|
411
411
|
|
|
412
|
-
@include pf-
|
|
412
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
.#{$form}__field-group-header {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @debug $jump-links; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
$pf-
|
|
2
|
+
$pf-v6-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
|
|
4
4
|
:where(:root),
|
|
5
5
|
:where(.#{$jump-links}) {
|
|
@@ -101,10 +101,10 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
|
|
|
101
101
|
flex-direction: column;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
104
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-jump-links--m-expandable--breakpoint-map {
|
|
105
105
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
106
106
|
|
|
107
|
-
@include pf-
|
|
107
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
108
108
|
&.pf-m-expandable#{$breakpoint-name} {
|
|
109
109
|
--#{$jump-links}__list--Display: none;
|
|
110
110
|
--#{$jump-links}__toggle--Display: block;
|
|
@@ -229,7 +229,7 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.#{$jump-links}__toggle-icon {
|
|
232
|
-
@include pf-
|
|
232
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
233
233
|
|
|
234
234
|
display: inline-block;
|
|
235
235
|
color: var(--#{$jump-links}__toggle-icon--Color);
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
.#{$label}__text {
|
|
539
|
-
@include pf-
|
|
539
|
+
@include pf-v6-text-overflow;
|
|
540
540
|
|
|
541
541
|
max-width: var(--#{$label}__text--MaxWidth);
|
|
542
542
|
}
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
|
|
565
565
|
// truncate input fields
|
|
566
566
|
@at-root input#{&} {
|
|
567
|
-
@include pf-
|
|
567
|
+
@include pf-v6-text-overflow;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
--#{$log-viewer}__main--BorderWidth: var(--#{$log-viewer}--m-dark__main--BorderWidth);
|
|
73
73
|
|
|
74
74
|
.#{$log-viewer}__main {
|
|
75
|
-
@include pf-
|
|
75
|
+
@include pf-v6-t-dark;
|
|
76
76
|
|
|
77
77
|
--#{$log-viewer}__main--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
|
|
78
78
|
--#{$log-viewer}__main--BorderColor: var(--#{$pf-global}--BorderColor--100);
|
|
@@ -221,6 +221,6 @@
|
|
|
221
221
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
222
222
|
@import "themes/dark/log-viewer";
|
|
223
223
|
|
|
224
|
-
@include pf-
|
|
225
|
-
@include pf-
|
|
224
|
+
@include pf-v6-theme-dark {
|
|
225
|
+
@include pf-v6-theme-dark-log-viewer;
|
|
226
226
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
2
|
|
|
3
|
-
@mixin pf-
|
|
3
|
+
@mixin pf-v6-theme-dark-log-viewer() {
|
|
4
4
|
.#{$log-viewer}.pf-m-dark .#{$log-viewer}__main {
|
|
5
|
-
@include pf-
|
|
5
|
+
@include pf-v6-theme-dark--t-dark;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--#{$login}__container--PaddingRight: #{pf-size-prem(98px)};
|
|
13
13
|
--#{$login}__container--xl--GridTemplateColumns: #{pf-size-prem(544px)} minmax(auto, #{pf-size-prem(544px)}); // unique to the login layout
|
|
14
14
|
|
|
15
|
-
@media (min-width: $pf-
|
|
15
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
16
16
|
--#{$login}__container--MaxWidth: var(--#{$login}__container--xl--MaxWidth);
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--#{$login}__header--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
22
22
|
--#{$login}__header--PaddingRight: var(--pf-t--global--spacer--md);
|
|
23
23
|
|
|
24
|
-
@media (min-width: $pf-
|
|
24
|
+
@media (min-width: $pf-v6-global--breakpoint--sm) {
|
|
25
25
|
--#{$login}__header--PaddingRight: 0;
|
|
26
26
|
--#{$login}__header--PaddingLeft: 0;
|
|
27
27
|
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
--#{$login}__header--c-brand--MarginBottom: var(--pf-t--global--spacer--lg);
|
|
32
32
|
--#{$login}__header--c-brand--xl--MarginBottom: var(--pf-t--global--spacer--2xl);
|
|
33
33
|
|
|
34
|
-
@media (min-width: $pf-
|
|
34
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
35
35
|
--#{$login}__header--MarginBottom: var(--#{$login}__header--xl--MarginBottom);
|
|
36
36
|
--#{$login}__header--c-brand--MarginBottom: var(--#{$login}__header--c-brand--xl--MarginBottom);
|
|
37
37
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
--#{$login}__main--MarginBottom: var(--pf-t--global--spacer--lg);
|
|
42
42
|
--#{$login}__main--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
43
43
|
|
|
44
|
-
@media (min-width: $pf-
|
|
44
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
45
45
|
--#{$login}__main--MarginBottom: 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--#{$login}__main-header-desc--FontSize: var(--pf-t--global--font--size--body--default);
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
@media (min-width: $pf-
|
|
64
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
65
65
|
--#{$login}__main-header--PaddingRight: var(--#{$login}__main-header--md--PaddingRight);
|
|
66
66
|
--#{$login}__main-header--PaddingLeft: var(--#{$login}__main-header--md--PaddingLeft);
|
|
67
67
|
--#{$login}__main-header-desc--MarginBottom: var(--#{$login}__main-header-desc--md--MarginBottom);
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--#{$login}__main-body--md--PaddingRight: var(--pf-t--global--spacer--2xl);
|
|
75
75
|
--#{$login}__main-body--md--PaddingLeft: var(--pf-t--global--spacer--2xl);
|
|
76
76
|
|
|
77
|
-
@media (min-width: $pf-
|
|
77
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
78
78
|
--#{$login}__main-body--PaddingRight: var(--#{$login}__main-body--md--PaddingRight);
|
|
79
79
|
--#{$login}__main-body--PaddingLeft: var(--#{$login}__main-body--md--PaddingLeft);
|
|
80
80
|
}
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
--#{$login}__footer--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
101
101
|
--#{$login}__footer--PaddingRight: var(--pf-t--global--spacer--md);
|
|
102
102
|
|
|
103
|
-
@media (min-width: $pf-
|
|
103
|
+
@media (min-width: $pf-v6-global--breakpoint--sm) {
|
|
104
104
|
--#{$login}__footer--PaddingRight: 0;
|
|
105
105
|
--#{$login}__footer--PaddingLeft: 0;
|
|
106
106
|
}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
--#{$login}__footer--c-list--PaddingTop: var(--pf-t--global--spacer--md);
|
|
109
109
|
--#{$login}__footer--c-list--xl--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
110
110
|
|
|
111
|
-
@media (min-width: $pf-
|
|
111
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
112
112
|
--#{$login}__footer--c-list--PaddingTop: var(--#{$login}__footer--c-list--xl--PaddingTop);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
padding-block-start: var(--#{$login}--PaddingTop);
|
|
121
121
|
padding-block-end: var(--#{$login}--PaddingBottom);
|
|
122
122
|
|
|
123
|
-
@media (min-width: $pf-
|
|
123
|
+
@media (min-width: $pf-v6-global--breakpoint--sm) {
|
|
124
124
|
align-items: center;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
max-width: var(--#{$login}__container--MaxWidth);
|
|
131
131
|
|
|
132
132
|
// Large viewports
|
|
133
|
-
@media (min-width: $pf-
|
|
133
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
134
134
|
display: grid;
|
|
135
135
|
grid-template-areas:
|
|
136
136
|
"main header"
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
padding-inline-start: var(--#{$login}__header--PaddingLeft);
|
|
150
150
|
padding-inline-end: var(--#{$login}__header--PaddingRight);
|
|
151
151
|
|
|
152
|
-
@media (min-width: $pf-
|
|
152
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
153
153
|
margin-block-start: var(--#{$login}__header--xl--MarginTop);
|
|
154
154
|
}
|
|
155
155
|
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
padding-inline-start: var(--#{$login}__main-header--PaddingLeft);
|
|
188
188
|
padding-inline-end: var(--#{$login}__main-header--PaddingRight);
|
|
189
189
|
|
|
190
|
-
@media (min-width: $pf-
|
|
190
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
191
191
|
grid-template-columns: 1fr auto;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
grid-row: auto;
|
|
198
198
|
grid-column: auto;
|
|
199
199
|
|
|
200
|
-
@media (min-width: $pf-
|
|
200
|
+
@media (min-width: $pf-v6-global--breakpoint--md) {
|
|
201
201
|
grid-row: 1;
|
|
202
202
|
grid-column: 2 / 3;
|
|
203
203
|
}
|