@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
|
@@ -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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
$pf-
|
|
2
|
-
$pf-
|
|
1
|
+
$pf-v6-c-masthead--breakpoint-map: build-breakpoint-map();
|
|
2
|
+
$pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
|
|
4
4
|
:where(:root),
|
|
5
5
|
:where(.#{$masthead}) {
|
|
@@ -48,7 +48,7 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
// * Masthead display stack
|
|
51
|
-
@mixin pf-
|
|
51
|
+
@mixin pf-v6-c-masthead--m-display-stack {
|
|
52
52
|
--#{$masthead}--GridTemplateColumns: var(--#{$masthead}--m-display-stack--GridTemplateColumns);
|
|
53
53
|
--#{$masthead}__main--GridColumn: var(--#{$masthead}--m-display-stack__main--GridColumn);
|
|
54
54
|
--#{$masthead}__main--Order: var(--#{$masthead}--m-display-stack__main--Order);
|
|
@@ -59,7 +59,7 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// * Masthead display inline
|
|
62
|
-
@mixin pf-
|
|
62
|
+
@mixin pf-v6-c-masthead--m-display-inline {
|
|
63
63
|
--#{$masthead}--GridTemplateColumns: var(--#{$masthead}--m-display-inline--GridTemplateColumns);
|
|
64
64
|
--#{$masthead}__main--GridColumn: var(--#{$masthead}--m-display-inline__main--GridColumn);
|
|
65
65
|
--#{$masthead}__main--Order: var(--#{$masthead}--m-display-inline__main--Order);
|
|
@@ -79,12 +79,12 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
// Set layout to stack by default
|
|
82
|
-
@include pf-
|
|
82
|
+
@include pf-v6-c-masthead--m-display-stack;
|
|
83
83
|
|
|
84
84
|
// Set layout to inline at medium breakpoint
|
|
85
85
|
:where(:not(.pf-m-resize-observer)) & {
|
|
86
|
-
@media screen and (min-width: $pf-
|
|
87
|
-
@include pf-
|
|
86
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
87
|
+
@include pf-v6-c-masthead--m-display-inline;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -117,16 +117,16 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
117
117
|
|
|
118
118
|
// - Masthead display stack
|
|
119
119
|
&.pf-m-display-stack {
|
|
120
|
-
@include pf-
|
|
120
|
+
@include pf-v6-c-masthead--m-display-stack;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
// - Masthead display inline
|
|
124
124
|
&.pf-m-display-inline {
|
|
125
|
-
@include pf-
|
|
125
|
+
@include pf-v6-c-masthead--m-display-inline;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
// - Masthead insets
|
|
129
|
-
@each $inset, $inset-value in $pf-
|
|
129
|
+
@each $inset, $inset-value in $pf-v6-c-masthead--inset-map {
|
|
130
130
|
&.pf-m-inset-#{$inset} {
|
|
131
131
|
padding-inline-start: #{$inset-value};
|
|
132
132
|
padding-inline-end: #{$inset-value};
|
|
@@ -198,20 +198,20 @@ $pf-v5-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
|
|
|
198
198
|
// TODO: make this an opt in/out
|
|
199
199
|
// stylelint-disable no-duplicate-selectors
|
|
200
200
|
.#{$masthead} {
|
|
201
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
201
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-masthead--breakpoint-map {
|
|
202
202
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
203
203
|
|
|
204
|
-
@include pf-
|
|
204
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
205
205
|
&.pf-m-display-stack#{$breakpoint-name} {
|
|
206
|
-
@include pf-
|
|
206
|
+
@include pf-v6-c-masthead--m-display-stack;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
&.pf-m-display-inline#{$breakpoint-name} {
|
|
210
|
-
@include pf-
|
|
210
|
+
@include pf-v6-c-masthead--m-display-inline;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
@each $inset, $inset-value in $pf-
|
|
214
|
+
@each $inset, $inset-value in $pf-v6-c-masthead--inset-map {
|
|
215
215
|
&.pf-m-inset-#{$inset} {
|
|
216
216
|
padding-inline-start: #{$inset-value};
|
|
217
217
|
padding-inline-end: #{$inset-value};
|
package/components/Menu/menu.css
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
.pf-v6-c-menu__item, .pf-v6-c-menu__list,
|
|
2
2
|
.pf-v6-c-menu__group {
|
|
3
|
-
--pf-
|
|
4
|
-
--pf-
|
|
5
|
-
display: var(--pf-
|
|
3
|
+
--pf-v6-hidden-visible--hidden--Display: none;
|
|
4
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
5
|
+
display: var(--pf-v6-hidden-visible--Display);
|
|
6
6
|
}
|
|
7
7
|
.pf-m-hidden.pf-v6-c-menu__item, .pf-m-hidden.pf-v6-c-menu__list,
|
|
8
8
|
.pf-m-hidden.pf-v6-c-menu__group {
|
|
9
|
-
--pf-
|
|
9
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
10
10
|
}
|
|
11
11
|
@media screen and (min-width: 576px) {
|
|
12
12
|
.pf-m-hidden-on-sm.pf-v6-c-menu__item, .pf-m-hidden-on-sm.pf-v6-c-menu__list,
|
|
13
13
|
.pf-m-hidden-on-sm.pf-v6-c-menu__group {
|
|
14
|
-
--pf-
|
|
14
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
15
15
|
}
|
|
16
16
|
.pf-m-visible-on-sm.pf-v6-c-menu__item, .pf-m-visible-on-sm.pf-v6-c-menu__list,
|
|
17
17
|
.pf-m-visible-on-sm.pf-v6-c-menu__group {
|
|
18
|
-
--pf-
|
|
18
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
@media screen and (min-width: 768px) {
|
|
22
22
|
.pf-m-hidden-on-md.pf-v6-c-menu__item, .pf-m-hidden-on-md.pf-v6-c-menu__list,
|
|
23
23
|
.pf-m-hidden-on-md.pf-v6-c-menu__group {
|
|
24
|
-
--pf-
|
|
24
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
25
25
|
}
|
|
26
26
|
.pf-m-visible-on-md.pf-v6-c-menu__item, .pf-m-visible-on-md.pf-v6-c-menu__list,
|
|
27
27
|
.pf-m-visible-on-md.pf-v6-c-menu__group {
|
|
28
|
-
--pf-
|
|
28
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
@media screen and (min-width: 992px) {
|
|
32
32
|
.pf-m-hidden-on-lg.pf-v6-c-menu__item, .pf-m-hidden-on-lg.pf-v6-c-menu__list,
|
|
33
33
|
.pf-m-hidden-on-lg.pf-v6-c-menu__group {
|
|
34
|
-
--pf-
|
|
34
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
35
35
|
}
|
|
36
36
|
.pf-m-visible-on-lg.pf-v6-c-menu__item, .pf-m-visible-on-lg.pf-v6-c-menu__list,
|
|
37
37
|
.pf-m-visible-on-lg.pf-v6-c-menu__group {
|
|
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: 1200px) {
|
|
42
42
|
.pf-m-hidden-on-xl.pf-v6-c-menu__item, .pf-m-hidden-on-xl.pf-v6-c-menu__list,
|
|
43
43
|
.pf-m-hidden-on-xl.pf-v6-c-menu__group {
|
|
44
|
-
--pf-
|
|
44
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
45
45
|
}
|
|
46
46
|
.pf-m-visible-on-xl.pf-v6-c-menu__item, .pf-m-visible-on-xl.pf-v6-c-menu__list,
|
|
47
47
|
.pf-m-visible-on-xl.pf-v6-c-menu__group {
|
|
48
|
-
--pf-
|
|
48
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
@media screen and (min-width: 1450px) {
|
|
52
52
|
.pf-m-hidden-on-2xl.pf-v6-c-menu__item, .pf-m-hidden-on-2xl.pf-v6-c-menu__list,
|
|
53
53
|
.pf-m-hidden-on-2xl.pf-v6-c-menu__group {
|
|
54
|
-
--pf-
|
|
54
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
55
55
|
}
|
|
56
56
|
.pf-m-visible-on-2xl.pf-v6-c-menu__item, .pf-m-visible-on-2xl.pf-v6-c-menu__list,
|
|
57
57
|
.pf-m-visible-on-2xl.pf-v6-c-menu__group {
|
|
58
|
-
--pf-
|
|
58
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
|
|
165
165
|
.pf-v6-c-menu__list,
|
|
166
166
|
.pf-v6-c-menu__group {
|
|
167
|
-
--pf-
|
|
167
|
+
--pf-v6-hidden-visible--visible--Display: grid;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.pf-v6-c-menu__list,
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
background-color: var(--pf-v6-c-menu__item--BackgroundColor);
|
|
426
426
|
border: 0;
|
|
427
427
|
outline-offset: var(--pf-v6-c-menu--OutlineOffset);
|
|
428
|
-
--pf-
|
|
428
|
+
--pf-v6-hidden-visible--visible--Display: flex;
|
|
429
429
|
}
|
|
430
430
|
:where(label).pf-v6-c-menu__item {
|
|
431
431
|
cursor: pointer;
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
.pf-v6-c-menu__item-check .pf-v6-c-check {
|
|
479
|
-
--pf-
|
|
479
|
+
--pf-v6-c-check__input--TranslateY: none;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
.pf-v6-c-menu__item-toggle-icon {
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
// - Menu shared hidden visible
|
|
153
153
|
.#{$menu}__list,
|
|
154
154
|
.#{$menu}__group {
|
|
155
|
-
@include pf-
|
|
155
|
+
@include pf-v6-hidden-visible(grid);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
// - Menu shared position relative
|
|
@@ -259,10 +259,10 @@
|
|
|
259
259
|
// target first list in menu
|
|
260
260
|
> .#{$menu}__content > .#{$menu}__list,
|
|
261
261
|
> .#{$menu}__list {
|
|
262
|
-
@include pf-
|
|
262
|
+
@include pf-v6-bidirectional-style(
|
|
263
263
|
$prop: transform,
|
|
264
264
|
$ltr-val: translateX(-100%),
|
|
265
|
-
$rtl-val: translateX(#{pf-
|
|
265
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)})
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
268
|
// stylelint-enable
|
|
@@ -279,10 +279,10 @@
|
|
|
279
279
|
|
|
280
280
|
// stylelint-disable selector-max-class
|
|
281
281
|
&.pf-m-drilled-in {
|
|
282
|
-
@include pf-
|
|
282
|
+
@include pf-v6-bidirectional-style(
|
|
283
283
|
$prop: transform,
|
|
284
284
|
$ltr-val: translateX(-100%),
|
|
285
|
-
$rtl-val: translateX(#{pf-
|
|
285
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)})
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
// stylelint-enable
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
border: 0;
|
|
506
506
|
outline-offset: var(--#{$menu}--OutlineOffset);
|
|
507
507
|
|
|
508
|
-
@include pf-
|
|
508
|
+
@include pf-v6-hidden-visible(flex);
|
|
509
509
|
|
|
510
510
|
@at-root :where(label)#{&} {
|
|
511
511
|
cursor: pointer;
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
|
|
542
542
|
// - Menu item text
|
|
543
543
|
.#{$menu}__item-text {
|
|
544
|
-
@include pf-
|
|
544
|
+
@include pf-v6-text-overflow;
|
|
545
545
|
|
|
546
546
|
flex-grow: 1;
|
|
547
547
|
}
|
|
@@ -566,12 +566,12 @@
|
|
|
566
566
|
|
|
567
567
|
// - Menu check
|
|
568
568
|
.#{$menu}__item-check .#{$check} {
|
|
569
|
-
--
|
|
569
|
+
--#{$check}__input--TranslateY: none;
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
// - Menu toggle icon
|
|
573
573
|
.#{$menu}__item-toggle-icon {
|
|
574
|
-
@include pf-
|
|
574
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
575
575
|
|
|
576
576
|
color: var(--#{$menu}__item-toggle-icon--Color, inherit);
|
|
577
577
|
}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
--#{$modal-box}--m-info__title-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
25
25
|
--#{$modal-box}--m-custom__title-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
26
26
|
|
|
27
|
-
@media (min-width: $pf-
|
|
27
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
28
28
|
--#{$modal-box}--m-align-top--spacer: var(--#{$modal-box}--m-align-top--xl--spacer);
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
|
|
183
183
|
.#{$modal-box}__title,
|
|
184
184
|
.#{$modal-box}__title-text {
|
|
185
|
-
@include pf-
|
|
185
|
+
@include pf-v6-text-overflow;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.#{$modal-box}__title {
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
> .#{$button}:not(:last-child) {
|
|
240
240
|
margin-inline-end: var(--#{$modal-box}__footer--c-button--MarginRight);
|
|
241
241
|
|
|
242
|
-
@media screen and (min-width: $pf-
|
|
242
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
243
243
|
--#{$modal-box}__footer--c-button--MarginRight: var(--#{$modal-box}__footer--c-button--sm--MarginRight);
|
|
244
244
|
}
|
|
245
245
|
}
|