@patternfly/patternfly 6.0.0-alpha.107 → 6.0.0-alpha.109
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.css +4 -4
- package/components/Alert/alert.scss +6 -8
- 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.css +2 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -3
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +5 -5
- package/components/Card/card.scss +6 -6
- 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 +17 -17
- package/components/DataList/data-list.scss +6 -6
- 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.css +2 -2
- package/components/Drawer/drawer.scss +27 -27
- 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 +3 -3
- package/components/FormControl/form-control.scss +3 -3
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +1 -1
- package/components/JumpLinks/jump-links.css +2 -2
- package/components/JumpLinks/jump-links.scss +6 -6
- 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/Popover/popover.css +1 -1
- package/components/Popover/popover.scss +1 -1
- 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 +163 -157
- package/patternfly-theme-dark-unversioned.css +163 -157
- package/patternfly.css +163 -157
- 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
|
-
$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
|
}
|
package/components/Nav/nav.scss
CHANGED
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
display: inline-block;
|
|
250
250
|
transform: rotate(var(--#{$nav}__item__toggle-icon--Rotate));
|
|
251
251
|
|
|
252
|
-
@include pf-
|
|
252
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
253
253
|
|
|
254
254
|
.#{$nav}__item:where(.pf-m-flyout) & {
|
|
255
255
|
--#{$nav}__item--m-expanded__toggle-icon--Rotate: 0;
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
outline-offset: var(--#{$nav}--OutlineOffset);
|
|
298
298
|
|
|
299
299
|
> * {
|
|
300
|
-
@include pf-
|
|
300
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
}
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
scroll-padding-inline-end: var(--#{$nav}--m-horizontal__list--PaddingInlineEnd);
|
|
329
329
|
-webkit-overflow-scrolling: touch;
|
|
330
330
|
|
|
331
|
-
@include pf-
|
|
331
|
+
@include pf-v6-overflow-hide-scroll;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
.#{$nav}__link {
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
word-break: break-word;
|
|
238
238
|
|
|
239
239
|
&.pf-m-truncate {
|
|
240
|
-
@include pf-
|
|
240
|
+
@include pf-v6-line-clamp("var(--#{$notification-drawer}__list-item-header-title--max-lines)");
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
.#{$notification-drawer}__group-toggle-title {
|
|
291
|
-
@include pf-
|
|
291
|
+
@include pf-v6-line-clamp("var(--#{$notification-drawer}__group-toggle-title--max-lines)");
|
|
292
292
|
|
|
293
293
|
flex: 1;
|
|
294
294
|
margin-inline-end: var(--#{$notification-drawer}__group-toggle-title--MarginRight);
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.#{$notification-drawer}__group-toggle-icon {
|
|
306
|
-
@include pf-
|
|
306
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
307
307
|
|
|
308
308
|
margin-inline-end: var(--#{$notification-drawer}__group-toggle-icon--MarginRight);
|
|
309
309
|
color: var(--#{$notification-drawer}__group-toggle-icon--Color);
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.#{$options-menu}__toggle-text {
|
|
220
|
-
@include pf-
|
|
220
|
+
@include pf-v6-text-overflow;
|
|
221
221
|
|
|
222
222
|
flex: 1 1 auto;
|
|
223
223
|
text-align: start;
|
|
@@ -327,6 +327,6 @@
|
|
|
327
327
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
328
328
|
@import "themes/dark/options-menu";
|
|
329
329
|
|
|
330
|
-
@include pf-
|
|
331
|
-
@include pf-
|
|
330
|
+
@include pf-v6-theme-dark {
|
|
331
|
+
@include pf-v6-theme-dark-options-menu;
|
|
332
332
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
2
|
|
|
3
|
-
@mixin pf-
|
|
3
|
+
@mixin pf-v6-theme-dark-options-menu() {
|
|
4
4
|
.#{$options-menu} {
|
|
5
5
|
--#{$options-menu}__toggle--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
|
|
6
6
|
--#{$options-menu}__toggle--BorderTopColor: transparent;
|
package/components/Page/page.css
CHANGED
|
@@ -14,51 +14,51 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.pf-v6-c-page__header-tools-item, .pf-v6-c-page__header-tools-group {
|
|
17
|
-
--pf-
|
|
18
|
-
--pf-
|
|
19
|
-
display: var(--pf-
|
|
17
|
+
--pf-v6-hidden-visible--hidden--Display: none;
|
|
18
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
19
|
+
display: var(--pf-v6-hidden-visible--Display);
|
|
20
20
|
}
|
|
21
21
|
.pf-m-hidden.pf-v6-c-page__header-tools-item, .pf-m-hidden.pf-v6-c-page__header-tools-group {
|
|
22
|
-
--pf-
|
|
22
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
23
23
|
}
|
|
24
24
|
@media screen and (min-width: 576px) {
|
|
25
25
|
.pf-m-hidden-on-sm.pf-v6-c-page__header-tools-item, .pf-m-hidden-on-sm.pf-v6-c-page__header-tools-group {
|
|
26
|
-
--pf-
|
|
26
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
27
27
|
}
|
|
28
28
|
.pf-m-visible-on-sm.pf-v6-c-page__header-tools-item, .pf-m-visible-on-sm.pf-v6-c-page__header-tools-group {
|
|
29
|
-
--pf-
|
|
29
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
@media screen and (min-width: 768px) {
|
|
33
33
|
.pf-m-hidden-on-md.pf-v6-c-page__header-tools-item, .pf-m-hidden-on-md.pf-v6-c-page__header-tools-group {
|
|
34
|
-
--pf-
|
|
34
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
35
35
|
}
|
|
36
36
|
.pf-m-visible-on-md.pf-v6-c-page__header-tools-item, .pf-m-visible-on-md.pf-v6-c-page__header-tools-group {
|
|
37
|
-
--pf-
|
|
37
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
@media screen and (min-width: 992px) {
|
|
41
41
|
.pf-m-hidden-on-lg.pf-v6-c-page__header-tools-item, .pf-m-hidden-on-lg.pf-v6-c-page__header-tools-group {
|
|
42
|
-
--pf-
|
|
42
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
43
43
|
}
|
|
44
44
|
.pf-m-visible-on-lg.pf-v6-c-page__header-tools-item, .pf-m-visible-on-lg.pf-v6-c-page__header-tools-group {
|
|
45
|
-
--pf-
|
|
45
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
@media screen and (min-width: 1200px) {
|
|
49
49
|
.pf-m-hidden-on-xl.pf-v6-c-page__header-tools-item, .pf-m-hidden-on-xl.pf-v6-c-page__header-tools-group {
|
|
50
|
-
--pf-
|
|
50
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
51
51
|
}
|
|
52
52
|
.pf-m-visible-on-xl.pf-v6-c-page__header-tools-item, .pf-m-visible-on-xl.pf-v6-c-page__header-tools-group {
|
|
53
|
-
--pf-
|
|
53
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
@media screen and (min-width: 1450px) {
|
|
57
57
|
.pf-m-hidden-on-2xl.pf-v6-c-page__header-tools-item, .pf-m-hidden-on-2xl.pf-v6-c-page__header-tools-group {
|
|
58
|
-
--pf-
|
|
58
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
59
59
|
}
|
|
60
60
|
.pf-m-visible-on-2xl.pf-v6-c-page__header-tools-item, .pf-m-visible-on-2xl.pf-v6-c-page__header-tools-group {
|
|
61
|
-
--pf-
|
|
61
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
.pf-v6-c-page__header-tools-group {
|
|
309
|
-
--pf-
|
|
309
|
+
--pf-v6-hidden-visible--visible--Display: var(--pf-v6-c-page__header-tools-group--Display);
|
|
310
310
|
align-items: center;
|
|
311
311
|
}
|
|
312
312
|
.pf-v6-c-page__header-tools-group + .pf-v6-c-page__header-tools-group {
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
.pf-v6-c-page__header-tools-item {
|
|
317
|
-
--pf-
|
|
317
|
+
--pf-v6-hidden-visible--visible--Display: var(--pf-v6-c-page__header-tools-item--Display);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
.pf-v6-c-page__sidebar {
|
|
@@ -19,7 +19,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
19
19
|
--#{$page}__header-brand--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
20
20
|
--#{$page}__header-brand--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
21
21
|
|
|
22
|
-
@media (min-width: $pf-
|
|
22
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
23
23
|
--#{$page}__header-brand--PaddingLeft: var(--#{$page}__header-brand--xl--PaddingLeft);
|
|
24
24
|
--#{$page}--inset: var(--#{$page}--xl--inset);
|
|
25
25
|
}
|
|
@@ -42,7 +42,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
42
42
|
--#{$page}__header-nav--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
43
43
|
--#{$page}__header-nav--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
44
44
|
|
|
45
|
-
@media screen and (min-width: $pf-
|
|
45
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
46
46
|
--#{$page}__header-nav--BackgroundColor: var(--#{$page}__header-nav--xl--BackgroundColor);
|
|
47
47
|
--#{$page}__header-nav--PaddingRight: var(--#{$page}__header-nav--xl--PaddingRight);
|
|
48
48
|
--#{$page}__header-nav--PaddingLeft: var(--#{$page}__header-nav--xl--PaddingLeft);
|
|
@@ -60,7 +60,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
60
60
|
--#{$page}__header-tools--c-button--m-selected--before--Width: auto;
|
|
61
61
|
--#{$page}__header-tools--c-button--m-selected--before--Height: auto;
|
|
62
62
|
|
|
63
|
-
@media screen and (min-width: $pf-
|
|
63
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
64
64
|
--#{$page}__header-tools--MarginRight: var(--#{$page}__header-tools--xl--MarginRight);
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -100,7 +100,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
100
100
|
--#{$page}__sidebar-body--m-menu--BorderTopWidth: var(--pf-t--global--border--width--button--default);
|
|
101
101
|
--#{$page}__sidebar-body--m-menu--c-context-selector--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
102
102
|
|
|
103
|
-
@media screen and (min-width: $pf-
|
|
103
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
104
104
|
--#{$page}__sidebar--TranslateX: var(--#{$page}__sidebar--xl--TranslateX);
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -189,7 +189,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
189
189
|
max-height: 100%;
|
|
190
190
|
background-color: var(--#{$page}--BackgroundColor);
|
|
191
191
|
|
|
192
|
-
@media (min-width: $pf-
|
|
192
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
193
193
|
grid-template-areas:
|
|
194
194
|
"header header"
|
|
195
195
|
"sidebar main";
|
|
@@ -217,7 +217,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
217
217
|
align-items: center;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
@media screen and (min-width: $pf-
|
|
220
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
221
221
|
grid-template-columns: auto 1fr auto;
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -232,7 +232,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
232
232
|
grid-column: 1 / 2;
|
|
233
233
|
padding-inline-start: var(--#{$page}__header-brand--PaddingLeft);
|
|
234
234
|
|
|
235
|
-
@media (min-width: $pf-
|
|
235
|
+
@media (min-width: $pf-v6-global--breakpoint--xl) {
|
|
236
236
|
padding-inline-end: var(--#{$page}__header-brand--xl--PaddingRight); // set padding right here to allow mobile view to accomodate tools
|
|
237
237
|
}
|
|
238
238
|
}
|
|
@@ -272,7 +272,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
272
272
|
padding-inline-end: var(--#{$page}__header-nav--PaddingRight);
|
|
273
273
|
background-color: var(--#{$page}__header-nav--BackgroundColor);
|
|
274
274
|
|
|
275
|
-
@media screen and (min-width: $pf-
|
|
275
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
276
276
|
grid-row: 1 / 2;
|
|
277
277
|
grid-column: 2 / 3;
|
|
278
278
|
}
|
|
@@ -292,13 +292,13 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
292
292
|
margin-inline-start: var(--#{$page}__header-tools--c-avatar--MarginLeft);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
@media screen and (min-width: $pf-
|
|
295
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
296
296
|
grid-column: 3 / 4;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
.#{$page}__header-tools-group {
|
|
301
|
-
@include pf-
|
|
301
|
+
@include pf-v6-hidden-visible(var(--#{$page}__header-tools-group--Display));
|
|
302
302
|
|
|
303
303
|
align-items: center;
|
|
304
304
|
|
|
@@ -308,7 +308,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
.#{$page}__header-tools-item {
|
|
311
|
-
@include pf-
|
|
311
|
+
@include pf-v6-hidden-visible(var(--#{$page}__header-tools-item--Display));
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
// Sidebar
|
|
@@ -330,10 +330,10 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
330
330
|
background-color: var(--#{$page}__sidebar--BackgroundColor);
|
|
331
331
|
transition: var(--#{$page}__sidebar--Transition);
|
|
332
332
|
|
|
333
|
-
@include pf-
|
|
333
|
+
@include pf-v6-bidirectional-style(
|
|
334
334
|
$prop: transform,
|
|
335
335
|
$ltr-val: translateX(var(--#{$page}__sidebar--TranslateX)) translateZ(var(--#{$page}__sidebar--TranslateZ)),
|
|
336
|
-
$rtl-val: translateX(#{pf-
|
|
336
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$page}__sidebar--TranslateX))}) translateZ(var(--#{$page}__sidebar--TranslateZ))
|
|
337
337
|
);
|
|
338
338
|
|
|
339
339
|
// Mobile
|
|
@@ -343,7 +343,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
343
343
|
|
|
344
344
|
box-shadow: var(--#{$page}__sidebar--BoxShadow);
|
|
345
345
|
|
|
346
|
-
@media screen and (min-width: $pf-
|
|
346
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
347
347
|
--#{$page}__sidebar--BoxShadow: none;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
@@ -393,7 +393,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
393
393
|
--#{$context-selector}__toggle--BorderLeftColor: transparent;
|
|
394
394
|
--#{$context-selector}__menu--Top: 100%;
|
|
395
395
|
|
|
396
|
-
@include pf-
|
|
396
|
+
@include pf-v6-t-dark;
|
|
397
397
|
|
|
398
398
|
width: 100%;
|
|
399
399
|
}
|
|
@@ -472,7 +472,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
472
472
|
@each $breakpoint, $breakpoint-value in $pf-page-v5--height-breakpoint-map {
|
|
473
473
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}-height, "");
|
|
474
474
|
|
|
475
|
-
@include pf-
|
|
475
|
+
@include pf-v6-apply-height-breakpoint($breakpoint) {
|
|
476
476
|
|
|
477
477
|
&.pf-m-sticky-top#{$breakpoint-name} {
|
|
478
478
|
position: sticky;
|
|
@@ -535,7 +535,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
535
535
|
@each $breakpoint, $breakpoint-value in $pf-page-v5--height-breakpoint-map {
|
|
536
536
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}-height, "");
|
|
537
537
|
|
|
538
|
-
@include pf-
|
|
538
|
+
@include pf-v6-apply-height-breakpoint($breakpoint) {
|
|
539
539
|
&.pf-m-sticky-top#{$breakpoint-name},
|
|
540
540
|
.#{$page}__main-group.pf-m-sticky-top#{$breakpoint-name} &:last-child {
|
|
541
541
|
padding-block-end: var(--#{$page}__main-nav--m-sticky-top--PaddingBottom);
|
|
@@ -567,7 +567,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
567
567
|
@each $breakpoint, $breakpoint-value in $pf-page-v5--height-breakpoint-map {
|
|
568
568
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}-height, "");
|
|
569
569
|
|
|
570
|
-
@include pf-
|
|
570
|
+
@include pf-v6-apply-height-breakpoint($breakpoint) {
|
|
571
571
|
&.pf-m-sticky-top#{$breakpoint-name},
|
|
572
572
|
.#{$page}__main-group.pf-m-sticky-top#{$breakpoint-name} &:last-child {
|
|
573
573
|
--#{$page}__main-breadcrumb--PaddingBottom: var(--#{$page}__main-breadcrumb--m-sticky-top--PaddingBottom);
|
|
@@ -620,7 +620,7 @@ $pf-page-v5--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
620
620
|
@each $breakpoint, $breakpoint-value in $pf-page-v5--breakpoint-map {
|
|
621
621
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
622
622
|
|
|
623
|
-
@include pf-
|
|
623
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
624
624
|
// stylelint-disable max-nesting-depth
|
|
625
625
|
&.pf-m-padding#{$breakpoint-name} {
|
|
626
626
|
padding-block-start: var(--#{$page}__main-section--PaddingTop);
|