@patternfly/patternfly 6.0.0-alpha.106 → 6.0.0-alpha.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/base/_common.scss +4 -4
- package/base/_globals.scss +2 -2
- package/base/_themes.scss +3 -3
- package/base/_variables.scss +14 -14
- package/base/patternfly-variables.css +18 -12
- package/base/themes/dark/_globals.scss +1 -1
- package/base/tokens/_tokens-charts.scss +1 -1
- package/base/tokens/_tokens-dark.scss +3 -3
- package/base/tokens/_tokens-default.scss +17 -11
- package/base/tokens/_tokens-palette.scss +1 -1
- package/components/AboutModalBox/about-modal-box.scss +12 -12
- package/components/Accordion/accordion.scss +2 -2
- package/components/Alert/alert.scss +2 -2
- package/components/AppLauncher/app-launcher.scss +2 -2
- package/components/AppLauncher/themes/dark/app-launcher.scss +1 -1
- package/components/Avatar/avatar.scss +5 -5
- package/components/BackToTop/back-to-top.scss +1 -1
- package/components/BackgroundImage/background-image.scss +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Brand/brand.scss +3 -3
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.scss +1 -1
- package/components/Chip/chip-group.scss +2 -2
- package/components/Chip/chip.scss +4 -4
- package/components/Chip/themes/dark/chip.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.scss +1 -1
- package/components/Content/content.scss +4 -4
- package/components/ContextSelector/context-selector.scss +5 -5
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.scss +6 -6
- package/components/DataList/data-list.css +15 -15
- package/components/DataList/data-list.scss +4 -4
- package/components/DescriptionList/description-list-order.scss +1 -1
- package/components/DescriptionList/description-list.scss +5 -5
- package/components/Divider/divider.css +57 -57
- package/components/Divider/divider.scss +16 -16
- package/components/Drawer/drawer.scss +25 -25
- package/components/Dropdown/dropdown.scss +6 -6
- package/components/Dropdown/themes/dark/dropdown.scss +1 -1
- package/components/DualListSelector/dual-list-selector.scss +4 -4
- package/components/ExpandableSection/expandable-section.scss +1 -1
- package/components/Form/form.scss +8 -8
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +1 -1
- package/components/JumpLinks/jump-links.scss +4 -4
- package/components/Label/label-group.scss +1 -1
- package/components/Label/label.scss +2 -2
- package/components/LogViewer/log-viewer.scss +3 -3
- package/components/LogViewer/themes/dark/log-viewer.scss +2 -2
- package/components/Login/login.scss +13 -13
- package/components/Masthead/masthead.css +70 -70
- package/components/Masthead/masthead.scss +15 -15
- package/components/Menu/menu.css +17 -17
- package/components/Menu/menu.scss +9 -9
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/Nav/nav.scss +3 -3
- package/components/NotificationDrawer/notification-drawer.scss +3 -3
- package/components/NumberInput/number-input.scss +1 -1
- package/components/OptionsMenu/options-menu.scss +3 -3
- package/components/OptionsMenu/themes/dark/options-menu.scss +1 -1
- package/components/Page/page.css +16 -16
- package/components/Page/page.scss +19 -19
- package/components/Pagination/pagination.css +30 -30
- package/components/Pagination/pagination.scss +10 -10
- package/components/Progress/progress.scss +1 -1
- package/components/ProgressStepper/progress-stepper.scss +11 -11
- package/components/Select/select.scss +5 -5
- package/components/Select/themes/dark/select.scss +1 -1
- package/components/Sidebar/sidebar.css +84 -84
- package/components/Sidebar/sidebar.scss +12 -12
- package/components/Skeleton/skeleton.scss +1 -1
- package/components/Slider/slider.scss +11 -11
- package/components/Switch/switch.scss +2 -2
- package/components/TabContent/tab-content.scss +1 -1
- package/components/Table/table-grid.scss +6 -6
- package/components/Table/table-tree-view.scss +6 -6
- package/components/Table/table.css +15 -15
- package/components/Table/table.scss +2 -2
- package/components/Tabs/tabs.css +90 -90
- package/components/Tabs/tabs.scss +10 -10
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/ToggleGroup/toggle-group.css +2 -2
- package/components/ToggleGroup/toggle-group.scss +2 -2
- package/components/Toolbar/toolbar.css +303 -303
- package/components/Toolbar/toolbar.scss +20 -20
- package/components/TreeView/tree-view.scss +5 -5
- package/components/Truncate/truncate.scss +3 -3
- package/components/Wizard/wizard.scss +10 -10
- package/docs/components/Badge/examples/Badge.md +0 -21
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +17 -58
- package/docs/components/Menu/examples/Menu.md +14 -6
- package/docs/components/MenuToggle/examples/MenuToggle.md +19 -0
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/layouts/Bullseye/bullseye.css +5 -1
- package/layouts/Bullseye/bullseye.scss +4 -1
- package/layouts/Flex/flex.css +207 -203
- package/layouts/Flex/flex.scss +45 -42
- package/layouts/Gallery/gallery.css +6 -2
- package/layouts/Gallery/gallery.scss +8 -5
- package/layouts/Grid/grid.css +6 -2
- package/layouts/Grid/grid.scss +11 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +5 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +5 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +5 -2
- package/package.json +1 -1
- package/patternfly-addons.css +672 -672
- package/patternfly-base-no-globals-theme-dark-unversioned.css +18 -12
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +1 -1
- package/patternfly-base-no-globals.css +18 -12
- package/patternfly-base-theme-dark-unversioned.css +18 -12
- package/patternfly-base.css +18 -12
- package/patternfly-charts-theme-dark-unversioned.scss +4 -4
- package/patternfly-charts-theme-dark.css +2 -2
- package/patternfly-charts-theme-dark.scss +4 -4
- package/patternfly-no-globals.css +901 -867
- package/patternfly-theme-dark-unversioned.css +901 -867
- package/patternfly.css +901 -867
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +3 -3
- package/sass-utilities/functions.scss +14 -14
- package/sass-utilities/mixins.scss +55 -54
- package/sass-utilities/placeholders.scss +12 -12
- package/sass-utilities/scss-variables.scss +36 -36
- package/sass-utilities/themes/dark/mixins.scss +2 -2
- package/sass-utilities/themes/dark/placeholders.scss +1 -1
- package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
- package/utilities/Accessibility/accessibility.scss +6 -6
- package/utilities/Alignment/alignment.scss +1 -1
- package/utilities/BackgroundColor/BackgroundColor.scss +1 -1
- package/utilities/BoxShadow/box-shadow.scss +1 -1
- package/utilities/Display/display.scss +1 -1
- package/utilities/Flex/flex.scss +10 -10
- package/utilities/Float/float.scss +1 -1
- package/utilities/Sizing/sizing.scss +6 -6
- package/utilities/Spacing/spacing.css +672 -672
- package/utilities/Spacing/spacing.scss +4 -4
- package/utilities/Text/text.scss +5 -5
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// screen-reader - visually hide, but expose to screen readers
|
|
2
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
2
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-global--breakpoint-map {
|
|
3
3
|
.#{$pf-prefix}u-screen-reader#{$breakpoint-value} {
|
|
4
|
-
@include pf-
|
|
5
|
-
@include pf-
|
|
4
|
+
@include pf-v6-media-query($breakpoint) {
|
|
5
|
+
@include pf-v6-u-screen-reader;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.#{$pf-prefix}u-visible#{$breakpoint-value} {
|
|
10
|
-
@include pf-
|
|
11
|
-
@include pf-
|
|
10
|
+
@include pf-v6-media-query($breakpoint) {
|
|
11
|
+
@include pf-v6-u-visible;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.#{$pf-prefix}u-hidden#{$breakpoint-value} {
|
|
16
|
-
@include pf-
|
|
16
|
+
@include pf-v6-media-query($breakpoint) {
|
|
17
17
|
// stylelint-disable
|
|
18
18
|
display: none !important;
|
|
19
19
|
// stylelint-enable
|
|
@@ -7,6 +7,6 @@ $pf-v6-u-alignment-options: (
|
|
|
7
7
|
);
|
|
8
8
|
|
|
9
9
|
// Text utilities
|
|
10
|
-
@include pf-
|
|
10
|
+
@include pf-v6-utility-builder($pf-v6-u-alignment-options, $pf-v6-global--breakpoint-list);
|
|
11
11
|
|
|
12
12
|
// stylelint-enable
|
|
@@ -52,7 +52,7 @@ $pf-v6-u-background-color-options: (
|
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
|
|
55
|
-
@include pf-
|
|
55
|
+
@include pf-v6-utility-builder($pf-v6-u-background-color-options, $pf-v6-global--breakpoint-list);
|
|
56
56
|
|
|
57
57
|
// stylelint-enable
|
|
58
58
|
|
|
@@ -13,6 +13,6 @@ $pf-v6-u-display-options: (
|
|
|
13
13
|
display-inline-flex: (display inline-flex)
|
|
14
14
|
);
|
|
15
15
|
|
|
16
|
-
@include pf-
|
|
16
|
+
@include pf-v6-utility-builder($pf-v6-u-display-options, $pf-v6-global--breakpoint-list);
|
|
17
17
|
|
|
18
18
|
// stylelint-enable
|
package/utilities/Flex/flex.scss
CHANGED
|
@@ -8,7 +8,7 @@ $pf-v6-u-flex-direction-options: (
|
|
|
8
8
|
flex-direction-row-reverse: (flex-direction row-reverse)
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
-
@include pf-
|
|
11
|
+
@include pf-v6-utility-builder($pf-v6-u-flex-direction-options, $pf-v6-global--breakpoint-list);
|
|
12
12
|
|
|
13
13
|
// Flex wrap options
|
|
14
14
|
$pf-v6-u-flex-wrap-options: (
|
|
@@ -17,7 +17,7 @@ $pf-v6-u-flex-wrap-options: (
|
|
|
17
17
|
flex-wrap-reverse: (flex-wrap wrap-reverse)
|
|
18
18
|
);
|
|
19
19
|
|
|
20
|
-
@include pf-
|
|
20
|
+
@include pf-v6-utility-builder($pf-v6-u-flex-wrap-options, $pf-v6-global--breakpoint-list);
|
|
21
21
|
|
|
22
22
|
// Align item options
|
|
23
23
|
$pf-v6-u-align-items-options: (
|
|
@@ -28,7 +28,7 @@ $pf-v6-u-align-items-options: (
|
|
|
28
28
|
align-items-stretch: (align-items stretch)
|
|
29
29
|
);
|
|
30
30
|
|
|
31
|
-
@include pf-
|
|
31
|
+
@include pf-v6-utility-builder($pf-v6-u-align-items-options, $pf-v6-global--breakpoint-list);
|
|
32
32
|
|
|
33
33
|
// Align self options
|
|
34
34
|
$pf-v6-u-align-self-options: (
|
|
@@ -39,7 +39,7 @@ $pf-v6-u-align-self-options: (
|
|
|
39
39
|
align-self-stretch: (align-self stretch)
|
|
40
40
|
);
|
|
41
41
|
|
|
42
|
-
@include pf-
|
|
42
|
+
@include pf-v6-utility-builder($pf-v6-u-align-self-options, $pf-v6-global--breakpoint-list);
|
|
43
43
|
|
|
44
44
|
// Align content options
|
|
45
45
|
$pf-v6-u-align-content-options: (
|
|
@@ -51,7 +51,7 @@ $pf-v6-u-align-content-options: (
|
|
|
51
51
|
align-content-stretch: (align-content stretch)
|
|
52
52
|
);
|
|
53
53
|
|
|
54
|
-
@include pf-
|
|
54
|
+
@include pf-v6-utility-builder($pf-v6-u-align-content-options, $pf-v6-global--breakpoint-list);
|
|
55
55
|
|
|
56
56
|
// Justify content options
|
|
57
57
|
$pf-v6-u-justify-content-options: (
|
|
@@ -63,7 +63,7 @@ $pf-v6-u-justify-content-options: (
|
|
|
63
63
|
justify-content-stretch: (justify-content stretch)
|
|
64
64
|
);
|
|
65
65
|
|
|
66
|
-
@include pf-
|
|
66
|
+
@include pf-v6-utility-builder($pf-v6-u-justify-content-options, $pf-v6-global--breakpoint-list);
|
|
67
67
|
|
|
68
68
|
// Justify content options
|
|
69
69
|
$pf-v6-u-flex-shrink-grow-options: (
|
|
@@ -73,7 +73,7 @@ $pf-v6-u-flex-shrink-grow-options: (
|
|
|
73
73
|
flex-grow-0: (flex-grow 0)
|
|
74
74
|
);
|
|
75
75
|
|
|
76
|
-
@include pf-
|
|
76
|
+
@include pf-v6-utility-builder($pf-v6-u-flex-shrink-grow-options, $pf-v6-global--breakpoint-list);
|
|
77
77
|
|
|
78
78
|
// Flex basis options
|
|
79
79
|
$pf-v6-u-flex-basis-options: (
|
|
@@ -81,7 +81,7 @@ $pf-v6-u-flex-basis-options: (
|
|
|
81
81
|
flex-basis-auto: (flex-basis auto)
|
|
82
82
|
);
|
|
83
83
|
|
|
84
|
-
@include pf-
|
|
84
|
+
@include pf-v6-utility-builder($pf-v6-u-flex-basis-options, $pf-v6-global--breakpoint-list);
|
|
85
85
|
|
|
86
86
|
// Justify content options
|
|
87
87
|
$pf-v6-u-flex-options: (
|
|
@@ -89,9 +89,9 @@ $pf-v6-u-flex-options: (
|
|
|
89
89
|
flex-1: (flex 1)
|
|
90
90
|
);
|
|
91
91
|
|
|
92
|
-
@include pf-
|
|
92
|
+
@include pf-v6-utility-builder($pf-v6-u-flex-options, $pf-v6-global--breakpoint-list);
|
|
93
93
|
|
|
94
94
|
// Flex fill
|
|
95
|
-
@include pf-
|
|
95
|
+
@include pf-v6-utility-builder(flex-fill flex "1 1 auto", $pf-v6-global--breakpoint-list);
|
|
96
96
|
|
|
97
97
|
// stylelint-enable
|
|
@@ -6,6 +6,6 @@ $pf-v6-u-alignment-options: (
|
|
|
6
6
|
);
|
|
7
7
|
|
|
8
8
|
// Text utilities
|
|
9
|
-
@include pf-
|
|
9
|
+
@include pf-v6-utility-builder($pf-v6-u-alignment-options, $pf-v6-global--breakpoint-list);
|
|
10
10
|
|
|
11
11
|
// stylelint-enable
|
|
@@ -41,13 +41,13 @@ $pf-v6-u-height-options: (
|
|
|
41
41
|
h-100vh: (height 100vh)
|
|
42
42
|
);
|
|
43
43
|
|
|
44
|
-
@include pf-
|
|
45
|
-
@include pf-
|
|
44
|
+
@include pf-v6-utility-builder($pf-v6-u-width-options, $pf-v6-global--breakpoint-list);
|
|
45
|
+
@include pf-v6-utility-builder($pf-v6-u-height-options, $pf-v6-global--breakpoint-list);
|
|
46
46
|
|
|
47
47
|
.#{$pf-prefix}u-min-width {
|
|
48
48
|
--pf-v6-u-min-width--MinWidth: 0;
|
|
49
49
|
|
|
50
|
-
@include pf-
|
|
50
|
+
@include pf-v6-build-css-variable-stack(
|
|
51
51
|
"min-width",
|
|
52
52
|
"--pf-v6-u-min-width--MinWidth",
|
|
53
53
|
$pf-v6-u-sizing--min-max--breakpoint-map,
|
|
@@ -58,7 +58,7 @@ $pf-v6-u-height-options: (
|
|
|
58
58
|
.#{$pf-prefix}u-max-width {
|
|
59
59
|
--pf-v6-u-max-width--MaxWidth: auto;
|
|
60
60
|
|
|
61
|
-
@include pf-
|
|
61
|
+
@include pf-v6-build-css-variable-stack(
|
|
62
62
|
"max-width",
|
|
63
63
|
"--pf-v6-u-max-width--MaxWidth",
|
|
64
64
|
$pf-v6-u-sizing--min-max--breakpoint-map,
|
|
@@ -69,7 +69,7 @@ $pf-v6-u-height-options: (
|
|
|
69
69
|
.#{$pf-prefix}u-min-height {
|
|
70
70
|
--pf-v6-u-min-height--MinHeight: 0;
|
|
71
71
|
|
|
72
|
-
@include pf-
|
|
72
|
+
@include pf-v6-build-css-variable-stack(
|
|
73
73
|
"min-height",
|
|
74
74
|
"--pf-v6-u-min-height--MinHeight",
|
|
75
75
|
$pf-v6-u-sizing--min-max--breakpoint-map,
|
|
@@ -80,7 +80,7 @@ $pf-v6-u-height-options: (
|
|
|
80
80
|
.#{$pf-prefix}u-max-height {
|
|
81
81
|
--pf-v6-u-max-height--MaxHeight: auto;
|
|
82
82
|
|
|
83
|
-
@include pf-
|
|
83
|
+
@include pf-v6-build-css-variable-stack(
|
|
84
84
|
"max-height",
|
|
85
85
|
"--pf-v6-u-max-height--MaxHeight",
|
|
86
86
|
$pf-v6-u-sizing--min-max--breakpoint-map,
|