@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
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
// icon
|
|
45
45
|
--#{$chip}__icon--MarginLeft: var(--#{$pf-global}--spacer--sm);
|
|
46
46
|
|
|
47
|
-
@include pf-
|
|
47
|
+
@include pf-v6-t-light; // This component always needs to be light
|
|
48
48
|
|
|
49
49
|
position: relative;
|
|
50
50
|
display: inline-flex;
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
|
|
92
92
|
// Text element
|
|
93
93
|
.#{$chip}__text {
|
|
94
|
-
@include pf-
|
|
94
|
+
@include pf-v6-text-overflow;
|
|
95
95
|
|
|
96
96
|
position: relative;
|
|
97
97
|
max-width: var(--#{$chip}__text--MaxWidth);
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
136
136
|
@import "themes/dark/chip";
|
|
137
137
|
|
|
138
|
-
@include pf-
|
|
139
|
-
@include pf-
|
|
138
|
+
@include pf-v6-theme-dark {
|
|
139
|
+
@include pf-v6-theme-dark-chip;
|
|
140
140
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
2
|
|
|
3
|
-
@mixin pf-
|
|
3
|
+
@mixin pf-v6-theme-dark-chip() {
|
|
4
4
|
.#{$chip} {
|
|
5
5
|
--#{$chip}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
|
|
6
6
|
--#{$chip}--before--BorderColor: var(--#{$pf-global}--BorderColor--100);
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
display: grid;
|
|
285
285
|
grid-template-columns: 1fr;
|
|
286
286
|
|
|
287
|
-
@media screen and (min-width: $pf-
|
|
287
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
288
288
|
grid-template: auto / auto 1fr;
|
|
289
289
|
grid-row-gap: var(--#{$content}--dl--RowGap);
|
|
290
290
|
grid-column-gap: var(--#{$content}--dl--ColumnGap);
|
|
@@ -297,18 +297,18 @@
|
|
|
297
297
|
&:not(:first-child) {
|
|
298
298
|
margin-block-start: var(--#{$content}--dt--MarginTop);
|
|
299
299
|
|
|
300
|
-
@media screen and (min-width: $pf-
|
|
300
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
301
301
|
--#{$content}--dt--MarginTop: var(--#{$content}--dt--sm--MarginTop);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
@media screen and (min-width: $pf-
|
|
305
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
306
306
|
grid-column: 1;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
dd {
|
|
311
|
-
@media screen and (min-width: $pf-
|
|
311
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
312
312
|
grid-column: 2;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
--#{$context-selector}--m-page-insets__toggle--m-plain--m-text--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
126
126
|
--#{$context-selector}--m-page-insets__toggle--m-plain--m-text--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
127
127
|
|
|
128
|
-
@media screen and (min-width: $pf-
|
|
128
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
129
129
|
--#{$context-selector}--m-page-insets__toggle--PaddingRight: var(--#{$context-selector}--m-page-insets__toggle--xl--PaddingRight);
|
|
130
130
|
--#{$context-selector}--m-page-insets__toggle--PaddingLeft: var(--#{$context-selector}--m-page-insets__toggle--xl--PaddingLeft);
|
|
131
131
|
--#{$context-selector}--m-page-insets__menu-list-item--PaddingRight: var(--#{$context-selector}--m-page-insets__menu-list-item--xl--PaddingRight);
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
.#{$context-selector}__toggle-text {
|
|
289
|
-
@include pf-
|
|
289
|
+
@include pf-v6-text-overflow;
|
|
290
290
|
|
|
291
291
|
flex: 1 1 auto;
|
|
292
292
|
font-size: var(--#{$context-selector}__toggle-text--FontSize);
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.#{$context-selector}__menu {
|
|
306
|
-
@include pf-
|
|
306
|
+
@include pf-v6-t-light;
|
|
307
307
|
|
|
308
308
|
position: absolute;
|
|
309
309
|
inset-block-start: var(--#{$context-selector}__menu--Top);
|
|
@@ -379,6 +379,6 @@
|
|
|
379
379
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
380
380
|
@import "themes/dark/context-selector";
|
|
381
381
|
|
|
382
|
-
@include pf-
|
|
383
|
-
@include pf-
|
|
382
|
+
@include pf-v6-theme-dark {
|
|
383
|
+
@include pf-v6-theme-dark-context-selector;
|
|
384
384
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
2
|
|
|
3
|
-
@mixin pf-
|
|
3
|
+
@mixin pf-v6-theme-dark-context-selector() {
|
|
4
4
|
.#{$context-selector} {
|
|
5
5
|
--#{$context-selector}__menu--Top: 100%;
|
|
6
6
|
--#{$context-selector}__menu-list-item--hover--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
@mixin pf-
|
|
1
|
+
@mixin pf-v6-c-data-list-responsive-block() {
|
|
2
2
|
// base responsive styles
|
|
3
3
|
@at-root .#{$data-list}:not([class*="pf-m-grid"]) {
|
|
4
|
-
@media screen and (min-width: $pf-
|
|
4
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
5
5
|
@content;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@at-root .#{$data-list}.pf-m-grid-none {
|
|
10
|
-
@media screen and (min-width: $pf-
|
|
10
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xs) {
|
|
11
11
|
@content;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
// grid modifiers
|
|
16
|
-
@each $size, $bp in $pf-
|
|
16
|
+
@each $size, $bp in $pf-v6-global--breakpoint-name-map {
|
|
17
17
|
@at-root .#{$data-list}.pf-m-grid-#{$size} {
|
|
18
18
|
@media screen and (min-width: #{$bp}) {
|
|
19
19
|
@content;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
@include pf-
|
|
25
|
+
@include pf-v6-c-data-list-responsive-block {
|
|
26
26
|
--#{$data-list}__cell--cell--PaddingTop: var(--#{$data-list}__cell--cell--md--PaddingTop);
|
|
27
27
|
--#{$data-list}__cell--PaddingBottom: var(--#{$data-list}__cell--md--PaddingBottom);
|
|
28
28
|
--#{$data-list}__item-control--MarginRight: var(--#{$data-list}__item-control--md--MarginRight);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--#{$data-list}--m-compact__cell--PaddingBottom: var(--#{$data-list}--m-compact__cell--md--PaddingBottom);
|
|
33
33
|
--#{$data-list}--m-compact__cell-cell--PaddingTop: var(--#{$data-list}--m-compact__cell-cell--md--PaddingTop);
|
|
34
34
|
|
|
35
|
-
@media screen and (min-width: $pf-
|
|
35
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
36
36
|
--#{$data-list}__item-row--PaddingRight: var(--#{$data-list}__item-row--xl--PaddingRight);
|
|
37
37
|
--#{$data-list}__item-row--PaddingLeft: var(--#{$data-list}__item-row--xl--PaddingLeft);
|
|
38
38
|
--#{$data-list}__expandable-content-body--PaddingRight: var(--#{$data-list}__expandable-content-body--xl--PaddingRight);
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
.pf-v6-c-data-list__item-action {
|
|
2
|
-
--pf-
|
|
3
|
-
--pf-
|
|
4
|
-
display: var(--pf-
|
|
2
|
+
--pf-v6-hidden-visible--hidden--Display: none;
|
|
3
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
4
|
+
display: var(--pf-v6-hidden-visible--Display);
|
|
5
5
|
}
|
|
6
6
|
.pf-m-hidden.pf-v6-c-data-list__item-action {
|
|
7
|
-
--pf-
|
|
7
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
8
8
|
}
|
|
9
9
|
@media screen and (min-width: 576px) {
|
|
10
10
|
.pf-m-hidden-on-sm.pf-v6-c-data-list__item-action {
|
|
11
|
-
--pf-
|
|
11
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
12
12
|
}
|
|
13
13
|
.pf-m-visible-on-sm.pf-v6-c-data-list__item-action {
|
|
14
|
-
--pf-
|
|
14
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
@media screen and (min-width: 768px) {
|
|
18
18
|
.pf-m-hidden-on-md.pf-v6-c-data-list__item-action {
|
|
19
|
-
--pf-
|
|
19
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
20
20
|
}
|
|
21
21
|
.pf-m-visible-on-md.pf-v6-c-data-list__item-action {
|
|
22
|
-
--pf-
|
|
22
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
@media screen and (min-width: 992px) {
|
|
26
26
|
.pf-m-hidden-on-lg.pf-v6-c-data-list__item-action {
|
|
27
|
-
--pf-
|
|
27
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
28
28
|
}
|
|
29
29
|
.pf-m-visible-on-lg.pf-v6-c-data-list__item-action {
|
|
30
|
-
--pf-
|
|
30
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
@media screen and (min-width: 1200px) {
|
|
34
34
|
.pf-m-hidden-on-xl.pf-v6-c-data-list__item-action {
|
|
35
|
-
--pf-
|
|
35
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
36
36
|
}
|
|
37
37
|
.pf-m-visible-on-xl.pf-v6-c-data-list__item-action {
|
|
38
|
-
--pf-
|
|
38
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
@media screen and (min-width: 1450px) {
|
|
42
42
|
.pf-m-hidden-on-2xl.pf-v6-c-data-list__item-action {
|
|
43
|
-
--pf-
|
|
43
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
44
44
|
}
|
|
45
45
|
.pf-m-visible-on-2xl.pf-v6-c-data-list__item-action {
|
|
46
|
-
--pf-
|
|
46
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
}
|
|
731
731
|
|
|
732
732
|
.pf-v6-c-data-list__item-action {
|
|
733
|
-
--pf-
|
|
733
|
+
--pf-v6-hidden-visible--visible--Display: var(--pf-v6-c-data-list__item-action--Display);
|
|
734
734
|
align-content: flex-start;
|
|
735
735
|
align-items: flex-start;
|
|
736
736
|
padding-block-start: var(--pf-v6-c-data-list__item-action--PaddingTop);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--#{$data-list}--sm--BorderTopColor: var(--pf-t--global--border--color--default);
|
|
11
11
|
--#{$data-list}--MarginLeft: var(--pf-t--global--spacer--md);
|
|
12
12
|
|
|
13
|
-
@media screen and (min-width: $pf-
|
|
13
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
14
14
|
--#{$data-list}--BorderTopColor: var(--#{$data-list}--sm--BorderTopColor);
|
|
15
15
|
--#{$data-list}--BorderTopWidth: var(--#{$data-list}--sm--BorderTopWidth);
|
|
16
16
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--#{$data-list}__item--sm--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
|
26
26
|
--#{$data-list}__item--sm--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
27
27
|
|
|
28
|
-
@media screen and (min-width: $pf-
|
|
28
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
29
29
|
--#{$data-list}__item--BorderBottomWidth: var(--#{$data-list}__item--sm--BorderBottomWidth);
|
|
30
30
|
--#{$data-list}__item--BorderBottomColor: var(--#{$data-list}__item--sm--BorderBottomColor);
|
|
31
31
|
}
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
.#{$data-list}__item-action {
|
|
323
|
-
@include pf-
|
|
323
|
+
@include pf-v6-hidden-visible(var(--#{$data-list}__item-action--Display));
|
|
324
324
|
|
|
325
325
|
align-content: flex-start;
|
|
326
326
|
align-items: flex-start;
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
|
|
349
349
|
// toggle icon rotate
|
|
350
350
|
.#{$data-list}__toggle-icon {
|
|
351
|
-
@include pf-
|
|
351
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
352
352
|
|
|
353
353
|
height: var(--#{$data-list}__toggle-icon--Height);
|
|
354
354
|
pointer-events: none;
|
|
@@ -6,7 +6,7 @@ $pf-v6-c-description-list-order--limit: 12;
|
|
|
6
6
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-description-list-order--breakpoint-map {
|
|
7
7
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
8
8
|
|
|
9
|
-
@include pf-
|
|
9
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
10
10
|
@for $i from 0 through $pf-v6-c-description-list-order--limit {
|
|
11
11
|
.pf-m-order-#{$i}#{$breakpoint-name} {
|
|
12
12
|
order: #{$i};
|
|
@@ -26,7 +26,7 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
|
|
|
26
26
|
--#{$description-list}__term--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
27
27
|
--#{$description-list}__term--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
28
28
|
|
|
29
|
-
@media screen and (min-width: $pf-
|
|
29
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--sm) {
|
|
30
30
|
--#{$description-list}__term--Display: var(--#{$description-list}__term--sm--Display);
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -63,8 +63,8 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
|
|
|
63
63
|
--#{$description-list}--m-display-lg__description--FontSize: var(--pf-t--global--font--size--body--lg); // TODO replace with new font tokens when available
|
|
64
64
|
--#{$description-list}--m-display-2xl__description--FontSize: var(--pf-t--global--font--size--heading--lg); // TODO replace with new font tokens when available
|
|
65
65
|
|
|
66
|
-
@include pf-
|
|
67
|
-
@include pf-
|
|
66
|
+
@include pf-v6-output-root-variables("--#{$description-list}--m-horizontal__term--width", $pf-v6-c-description-list--breakpoint-map);
|
|
67
|
+
@include pf-v6-build-css-variable-stack("--#{$description-list}__term--width", "--#{$description-list}--m-horizontal__term--width", $pf-v6-c-description-list--breakpoint-map);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.#{$description-list} {
|
|
@@ -85,7 +85,7 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
|
|
|
85
85
|
&.pf-m-auto-fit {
|
|
86
86
|
grid-template-columns: repeat(auto-fit, minmax(var(--#{$description-list}--m-auto-fit--GridTemplateColumns--minmax--min), 1fr));
|
|
87
87
|
|
|
88
|
-
@include pf-
|
|
88
|
+
@include pf-v6-build-css-variable-stack("--#{$description-list}--GridTemplateColumns--minmax--min", "--#{$description-list}--GridTemplateColumns--min", $pf-v6-c-description-list--breakpoint-map);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&.pf-m-compact {
|
|
@@ -201,7 +201,7 @@ $pf-v6-c-description-list--breakpoint-map: build-breakpoint-map("base", "sm", "m
|
|
|
201
201
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-description-list--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-1-col#{$breakpoint-name} {
|
|
206
206
|
--#{$description-list}--GridTemplateColumns--count: var(--#{$description-list}--m-1-col--GridTemplateColumns--count);
|
|
207
207
|
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
.pf-v6-c-divider {
|
|
2
|
-
--pf-
|
|
3
|
-
--pf-
|
|
4
|
-
display: var(--pf-
|
|
2
|
+
--pf-v6-hidden-visible--hidden--Display: none;
|
|
3
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
4
|
+
display: var(--pf-v6-hidden-visible--Display);
|
|
5
5
|
}
|
|
6
6
|
.pf-m-hidden.pf-v6-c-divider {
|
|
7
|
-
--pf-
|
|
7
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
8
8
|
}
|
|
9
9
|
@media screen and (min-width: 576px) {
|
|
10
10
|
.pf-m-hidden-on-sm.pf-v6-c-divider {
|
|
11
|
-
--pf-
|
|
11
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
12
12
|
}
|
|
13
13
|
.pf-m-visible-on-sm.pf-v6-c-divider {
|
|
14
|
-
--pf-
|
|
14
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
@media screen and (min-width: 768px) {
|
|
18
18
|
.pf-m-hidden-on-md.pf-v6-c-divider {
|
|
19
|
-
--pf-
|
|
19
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
20
20
|
}
|
|
21
21
|
.pf-m-visible-on-md.pf-v6-c-divider {
|
|
22
|
-
--pf-
|
|
22
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
@media screen and (min-width: 992px) {
|
|
26
26
|
.pf-m-hidden-on-lg.pf-v6-c-divider {
|
|
27
|
-
--pf-
|
|
27
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
28
28
|
}
|
|
29
29
|
.pf-m-visible-on-lg.pf-v6-c-divider {
|
|
30
|
-
--pf-
|
|
30
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
@media screen and (min-width: 1200px) {
|
|
34
34
|
.pf-m-hidden-on-xl.pf-v6-c-divider {
|
|
35
|
-
--pf-
|
|
35
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
36
36
|
}
|
|
37
37
|
.pf-m-visible-on-xl.pf-v6-c-divider {
|
|
38
|
-
--pf-
|
|
38
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
@media screen and (min-width: 1450px) {
|
|
42
42
|
.pf-m-hidden-on-2xl.pf-v6-c-divider {
|
|
43
|
-
--pf-
|
|
43
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
44
44
|
}
|
|
45
45
|
.pf-m-visible-on-2xl.pf-v6-c-divider {
|
|
46
|
-
--pf-
|
|
46
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
flex-direction: row;
|
|
60
60
|
width: 100%;
|
|
61
61
|
height: var(--pf-v6-c-divider--Size);
|
|
62
|
-
--pf-
|
|
62
|
+
--pf-v6-hidden-visible--visible--Display: var(--pf-v6-c-divider--Display);
|
|
63
63
|
flex-shrink: 0;
|
|
64
64
|
align-items: stretch;
|
|
65
65
|
align-self: stretch;
|
|
@@ -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
|
|