@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
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
pointer-events: none;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.pf-
|
|
112
|
+
.pf-v6-c-toggle-group__item:has(.pf-m-selected) + .pf-v6-c-toggle-group__item:has(.pf-m-selected) {
|
|
113
113
|
--pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--m-selected-selected--before--BorderInlineStartColor);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.pf-
|
|
116
|
+
.pf-v6-c-toggle-group__item:has(:disabled, .pf-m-disabled) + .pf-v6-c-toggle-group__item:has(:disabled, .pf-m-disabled) {
|
|
117
117
|
--pf-v6-c-toggle-group__button--before--BorderInlineStartColor: var(--pf-v6-c-toggle-group__button--disabled-disabled--before--BorderInlineStartColor);
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -146,12 +146,12 @@
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
// For consecutive selected items, turn the left border back to what it was
|
|
149
|
-
|
|
149
|
+
.#{$toggle-group}__item:has(.pf-m-selected) + .#{$toggle-group}__item:has(.pf-m-selected) {
|
|
150
150
|
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--m-selected-selected--before--BorderInlineStartColor);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
// For consecutive disabled items, turn the left border back to what it was
|
|
154
|
-
|
|
154
|
+
.#{$toggle-group}__item:has(:disabled, .pf-m-disabled) + .#{$toggle-group}__item:has(:disabled, .pf-m-disabled) {
|
|
155
155
|
--#{$toggle-group}__button--before--BorderInlineStartColor: var(--#{$toggle-group}__button--disabled-disabled--before--BorderInlineStartColor);
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -3,73 +3,73 @@
|
|
|
3
3
|
.pf-v6-c-toolbar__item,
|
|
4
4
|
.pf-v6-c-toolbar__group.pf-m-chip-group-container,
|
|
5
5
|
.pf-v6-c-toolbar__group.pf-m-chip-group {
|
|
6
|
-
--pf-
|
|
7
|
-
--pf-
|
|
8
|
-
display: var(--pf-
|
|
6
|
+
--pf-v6-hidden-visible--hidden--Display: none;
|
|
7
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
8
|
+
display: var(--pf-v6-hidden-visible--Display);
|
|
9
9
|
}
|
|
10
10
|
.pf-m-hidden.pf-v6-c-toolbar__content-section,
|
|
11
11
|
.pf-m-hidden.pf-v6-c-toolbar__group,
|
|
12
12
|
.pf-m-hidden.pf-v6-c-toolbar__item {
|
|
13
|
-
--pf-
|
|
13
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
14
14
|
}
|
|
15
15
|
@media screen and (min-width: 576px) {
|
|
16
16
|
.pf-m-hidden-on-sm.pf-v6-c-toolbar__content-section,
|
|
17
17
|
.pf-m-hidden-on-sm.pf-v6-c-toolbar__group,
|
|
18
18
|
.pf-m-hidden-on-sm.pf-v6-c-toolbar__item {
|
|
19
|
-
--pf-
|
|
19
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
20
20
|
}
|
|
21
21
|
.pf-m-visible-on-sm.pf-v6-c-toolbar__content-section,
|
|
22
22
|
.pf-m-visible-on-sm.pf-v6-c-toolbar__group,
|
|
23
23
|
.pf-m-visible-on-sm.pf-v6-c-toolbar__item {
|
|
24
|
-
--pf-
|
|
24
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
@media screen and (min-width: 768px) {
|
|
28
28
|
.pf-m-hidden-on-md.pf-v6-c-toolbar__content-section,
|
|
29
29
|
.pf-m-hidden-on-md.pf-v6-c-toolbar__group,
|
|
30
30
|
.pf-m-hidden-on-md.pf-v6-c-toolbar__item {
|
|
31
|
-
--pf-
|
|
31
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
32
32
|
}
|
|
33
33
|
.pf-m-visible-on-md.pf-v6-c-toolbar__content-section,
|
|
34
34
|
.pf-m-visible-on-md.pf-v6-c-toolbar__group,
|
|
35
35
|
.pf-m-visible-on-md.pf-v6-c-toolbar__item {
|
|
36
|
-
--pf-
|
|
36
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
@media screen and (min-width: 992px) {
|
|
40
40
|
.pf-m-hidden-on-lg.pf-v6-c-toolbar__content-section,
|
|
41
41
|
.pf-m-hidden-on-lg.pf-v6-c-toolbar__group,
|
|
42
42
|
.pf-m-hidden-on-lg.pf-v6-c-toolbar__item {
|
|
43
|
-
--pf-
|
|
43
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
44
44
|
}
|
|
45
45
|
.pf-m-visible-on-lg.pf-v6-c-toolbar__content-section,
|
|
46
46
|
.pf-m-visible-on-lg.pf-v6-c-toolbar__group,
|
|
47
47
|
.pf-m-visible-on-lg.pf-v6-c-toolbar__item {
|
|
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: 1200px) {
|
|
52
52
|
.pf-m-hidden-on-xl.pf-v6-c-toolbar__content-section,
|
|
53
53
|
.pf-m-hidden-on-xl.pf-v6-c-toolbar__group,
|
|
54
54
|
.pf-m-hidden-on-xl.pf-v6-c-toolbar__item {
|
|
55
|
-
--pf-
|
|
55
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
56
56
|
}
|
|
57
57
|
.pf-m-visible-on-xl.pf-v6-c-toolbar__content-section,
|
|
58
58
|
.pf-m-visible-on-xl.pf-v6-c-toolbar__group,
|
|
59
59
|
.pf-m-visible-on-xl.pf-v6-c-toolbar__item {
|
|
60
|
-
--pf-
|
|
60
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
@media screen and (min-width: 1450px) {
|
|
64
64
|
.pf-m-hidden-on-2xl.pf-v6-c-toolbar__content-section,
|
|
65
65
|
.pf-m-hidden-on-2xl.pf-v6-c-toolbar__group,
|
|
66
66
|
.pf-m-hidden-on-2xl.pf-v6-c-toolbar__item {
|
|
67
|
-
--pf-
|
|
67
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--hidden--Display);
|
|
68
68
|
}
|
|
69
69
|
.pf-m-visible-on-2xl.pf-v6-c-toolbar__content-section,
|
|
70
70
|
.pf-m-visible-on-2xl.pf-v6-c-toolbar__group,
|
|
71
71
|
.pf-m-visible-on-2xl.pf-v6-c-toolbar__item {
|
|
72
|
-
--pf-
|
|
72
|
+
--pf-v6-hidden-visible--Display: var(--pf-v6-hidden-visible--visible--Display);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
.pf-v6-c-toolbar__item,
|
|
108
108
|
.pf-v6-c-toolbar__group.pf-m-chip-group-container,
|
|
109
109
|
.pf-v6-c-toolbar__group.pf-m-chip-group {
|
|
110
|
-
--pf-
|
|
110
|
+
--pf-v6-hidden-visible--visible--Display: flex;
|
|
111
111
|
flex-wrap: wrap;
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
$pf-
|
|
2
|
-
$pf-
|
|
3
|
-
$pf-
|
|
4
|
-
$pf-
|
|
5
|
-
$pf-
|
|
6
|
-
|
|
7
|
-
@if $pf-
|
|
8
|
-
$pf-
|
|
1
|
+
$pf-v6-c-toolbar--spacer-map: build-spacer-map();
|
|
2
|
+
$pf-v6-c-toolbar--inset-map: build-spacer-map();
|
|
3
|
+
$pf-v6-c-toolbar--align-items--alignments: ('stretch', 'baseline', 'start', 'center', 'end');
|
|
4
|
+
$pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base');
|
|
5
|
+
$pf-v6--include-toolbar-breakpoints: true !default;
|
|
6
|
+
|
|
7
|
+
@if $pf-v6--include-toolbar-breakpoints {
|
|
8
|
+
$pf-v6-c-toolbar--breakpoint-map: build-breakpoint-map('base', 'sm', 'md', 'lg', 'xl', '2xl');
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:where(:root),
|
|
@@ -62,7 +62,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
62
62
|
.#{$toolbar}__item,
|
|
63
63
|
.#{$toolbar}__group.pf-m-chip-group-container,
|
|
64
64
|
.#{$toolbar}__group.pf-m-chip-group {
|
|
65
|
-
@include pf-
|
|
65
|
+
@include pf-v6-hidden-visible(flex);
|
|
66
66
|
|
|
67
67
|
flex-wrap: wrap;
|
|
68
68
|
}
|
|
@@ -160,8 +160,8 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
160
160
|
|
|
161
161
|
// - Toolbar item
|
|
162
162
|
.#{$toolbar}__item {
|
|
163
|
-
@include pf-
|
|
164
|
-
@include pf-
|
|
163
|
+
@include pf-v6-build-css-variable-stack("--#{$toolbar}__item--Width--base", "--#{$toolbar}__item--Width", $pf-v6-c-toolbar--breakpoint-map);
|
|
164
|
+
@include pf-v6-build-css-variable-stack("--#{$toolbar}__item--MinWidth--base", "--#{$toolbar}__item--MinWidth", $pf-v6-c-toolbar--breakpoint-map);
|
|
165
165
|
|
|
166
166
|
row-gap: var(--#{$toolbar}__item--RowGap, var(--#{$toolbar}--RowGap));
|
|
167
167
|
column-gap: var(--#{$toolbar}__item--ColumnGap);
|
|
@@ -233,7 +233,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
233
233
|
background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
|
|
234
234
|
box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
|
|
235
235
|
|
|
236
|
-
@media screen and (min-width: $pf-
|
|
236
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
237
237
|
position: static;
|
|
238
238
|
padding: 0;
|
|
239
239
|
box-shadow: none;
|
|
@@ -255,7 +255,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
255
255
|
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
256
256
|
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
257
257
|
|
|
258
|
-
@include pf-
|
|
258
|
+
@include pf-v6-mirror-inline-on-rtl; // - TODO: mirror this icon in breaking change
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
// - Toolbar group - Toolbar item
|
|
@@ -269,10 +269,10 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
@each $breakpoint, $breakpoint-value in $pf-
|
|
272
|
+
@each $breakpoint, $breakpoint-value in $pf-v6-c-toolbar--breakpoint-map {
|
|
273
273
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
274
274
|
|
|
275
|
-
@include pf-
|
|
275
|
+
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
276
276
|
.#{$toolbar}__group,
|
|
277
277
|
.#{$toolbar}__item {
|
|
278
278
|
&.pf-m-align-start#{$breakpoint-name} {
|
|
@@ -292,7 +292,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
292
292
|
flex-grow: 1;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
@each $alignment in $pf-
|
|
295
|
+
@each $alignment in $pf-v6-c-toolbar--align-items--alignments {
|
|
296
296
|
&.pf-m-align-self-#{$alignment}#{$breakpoint-name} {
|
|
297
297
|
align-self: #{$alignment};
|
|
298
298
|
}
|
|
@@ -304,7 +304,7 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
304
304
|
.#{$toolbar}__content,
|
|
305
305
|
.#{$toolbar}__content-section {
|
|
306
306
|
// Inset modifiers
|
|
307
|
-
@each $inset, $inset-value in $pf-
|
|
307
|
+
@each $inset, $inset-value in $pf-v6-c-toolbar--inset-map {
|
|
308
308
|
&.pf-m-inset-#{$inset}#{$breakpoint-name} {
|
|
309
309
|
--#{$toolbar}__content--PaddingInline: #{$inset-value};
|
|
310
310
|
}
|
|
@@ -324,20 +324,20 @@ $pf-v5--include-toolbar-breakpoints: true !default;
|
|
|
324
324
|
flex-wrap: nowrap;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
@each $alignment in $pf-
|
|
327
|
+
@each $alignment in $pf-v6-c-toolbar--align-items--alignments {
|
|
328
328
|
&.pf-m-align-items-#{$alignment}#{$breakpoint-name} {
|
|
329
329
|
align-items: #{$alignment};
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
@each $gap, $gap-value in $pf-
|
|
333
|
+
@each $gap, $gap-value in $pf-v6-c-toolbar--spacer-map {
|
|
334
334
|
&.pf-m-gap-#{$gap}#{$breakpoint-name} {
|
|
335
335
|
column-gap: #{$gap-value};
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
// Row and column gap modifiers
|
|
340
|
-
@each $spacer, $spacer-value in $pf-
|
|
340
|
+
@each $spacer, $spacer-value in $pf-v6-c-toolbar--spacer-map {
|
|
341
341
|
&.pf-m-column-gap-#{$spacer}#{$breakpoint-name} {
|
|
342
342
|
column-gap: #{$spacer-value};
|
|
343
343
|
}
|
|
@@ -325,7 +325,7 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
.#{$tree-view}__node-toggle-icon {
|
|
328
|
-
@include pf-
|
|
328
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
329
329
|
|
|
330
330
|
display: inline-block;
|
|
331
331
|
min-width: var(--#{$tree-view}__node-toggle-icon--MinWidth);
|
|
@@ -415,10 +415,10 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
415
415
|
background-color: var(--#{$tree-view}__node-toggle--BackgroundColor);
|
|
416
416
|
border: 0;
|
|
417
417
|
|
|
418
|
-
@include pf-
|
|
418
|
+
@include pf-v6-bidirectional-style(
|
|
419
419
|
$prop: transform,
|
|
420
420
|
$ltr-val: translateX(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX)),
|
|
421
|
-
$rtl-val: translateX(#{pf-
|
|
421
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$tree-view}__list-item__list-item__node-toggle--TranslateX))})
|
|
422
422
|
);
|
|
423
423
|
}
|
|
424
424
|
|
|
@@ -427,13 +427,13 @@ $pf-v5-c-tree-view--MaxNesting: 10 !default;
|
|
|
427
427
|
&.pf-m-truncate {
|
|
428
428
|
--#{$tree-view}__node-content--Overflow: hidden;
|
|
429
429
|
|
|
430
|
-
@include pf-
|
|
430
|
+
@include pf-v6-text-overflow;
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
@at-root .#{$tree-view}.pf-m-truncate & {
|
|
434
434
|
--#{$tree-view}__node-content--Overflow: hidden;
|
|
435
435
|
|
|
436
|
-
@include pf-
|
|
436
|
+
@include pf-v6-text-overflow;
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
// End
|
|
28
28
|
.#{$truncate}__end {
|
|
29
|
-
@include pf-
|
|
29
|
+
@include pf-v6-bidirectional-style (
|
|
30
30
|
$prop: direction,
|
|
31
31
|
$ltr-val: rtl,
|
|
32
32
|
$rtl-val: ltr
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
.#{$truncate}__start + .#{$truncate}__end {
|
|
37
37
|
overflow: visible;
|
|
38
38
|
|
|
39
|
-
@include pf-
|
|
39
|
+
@include pf-v6-bidirectional-style (
|
|
40
40
|
$prop: direction,
|
|
41
41
|
$ltr-val: ltr,
|
|
42
42
|
$rtl-val: rtl
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
// safari not supported
|
|
47
47
|
@supports (-webkit-hyphens: none) {
|
|
48
48
|
.#{$truncate}__end {
|
|
49
|
-
@include pf-
|
|
49
|
+
@include pf-v6-bidirectional-style (
|
|
50
50
|
$prop: direction,
|
|
51
51
|
$ltr-val: ltr,
|
|
52
52
|
$rtl-val: rtl
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
--#{$wizard}__nav--lg--BorderRightWidth: var(--pf-t--global--border--width--regular);
|
|
111
111
|
--#{$wizard}__nav--lg--BorderRightColor: var(--pf-t--global--border--color--default);
|
|
112
112
|
|
|
113
|
-
@media screen and (min-width: $pf-
|
|
113
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
114
114
|
--#{$wizard}__nav--Width: var(--#{$wizard}__nav--lg--Width);
|
|
115
115
|
--#{$wizard}__nav--BoxShadow: none;
|
|
116
116
|
}
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
padding-block-start: var(--#{$wizard}__description--PaddingTop);
|
|
223
223
|
color: var(--#{$wizard}__description--Color);
|
|
224
224
|
|
|
225
|
-
@media screen and (min-width: $pf-
|
|
225
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
226
226
|
display: block;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
border-inline-start: 0;
|
|
244
244
|
border-inline-end: 0;
|
|
245
245
|
|
|
246
|
-
@media screen and (min-width: $pf-
|
|
246
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
247
247
|
display: none;
|
|
248
248
|
}
|
|
249
249
|
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
.#{$wizard}__toggle-separator {
|
|
283
|
-
@include pf-
|
|
283
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
284
284
|
|
|
285
285
|
margin-inline-start: var(--#{$wizard}__toggle-separator--MarginLeft);
|
|
286
286
|
color: var(--#{$wizard}__toggle-separator--Color);
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
min-height: var(--#{$wizard}__outer-wrap--MinHeight);
|
|
299
299
|
background-color: var(--#{$wizard}__outer-wrap--BackgroundColor);
|
|
300
300
|
|
|
301
|
-
@media screen and (min-width: $pf-
|
|
301
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
302
302
|
padding-inline-start: var(--#{$wizard}__outer-wrap--lg--PaddingLeft);
|
|
303
303
|
}
|
|
304
304
|
}
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
flex-grow: 1;
|
|
311
311
|
min-height: 0;
|
|
312
312
|
|
|
313
|
-
@media screen and (min-width: $pf-
|
|
313
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
314
314
|
position: static;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
display: block;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
@media screen and (min-width: $pf-
|
|
335
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--lg) {
|
|
336
336
|
display: block;
|
|
337
337
|
height: 100%;
|
|
338
338
|
border-inline-end: var(--#{$wizard}__nav--lg--BorderRightWidth) solid var(--#{$wizard}__nav--lg--BorderRightColor);
|
|
@@ -416,10 +416,10 @@
|
|
|
416
416
|
// Common step number styles
|
|
417
417
|
@at-root .#{$wizard}__toggle-num,
|
|
418
418
|
&::before {
|
|
419
|
-
@include pf-
|
|
419
|
+
@include pf-v6-bidirectional-style(
|
|
420
420
|
$prop: transform,
|
|
421
421
|
$ltr-val: translateX(var(--#{$wizard}__nav-link--before--TranslateX)) translateY(var(--#{$wizard}__nav-link--before--TranslateY)),
|
|
422
|
-
$rtl-val: translateX(#{pf-
|
|
422
|
+
$rtl-val: translateX(#{pf-v6-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))}) translateY(var(--#{$wizard}__nav-link--before--TranslateY))
|
|
423
423
|
);
|
|
424
424
|
|
|
425
425
|
position: absolute;
|
|
@@ -485,7 +485,7 @@
|
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.#{$wizard}__nav-link-toggle-icon {
|
|
488
|
-
@include pf-
|
|
488
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
489
489
|
|
|
490
490
|
display: inline-block;
|
|
491
491
|
transition: var(--#{$wizard}__nav-link-toggle-icon--Transition);
|
|
@@ -36,26 +36,6 @@ cssPrefix: pf-v6-c-badge
|
|
|
36
36
|
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
### Badge as toggle
|
|
40
|
-
|
|
41
|
-
```html
|
|
42
|
-
<span class="pf-v6-c-badge pf-m-read">
|
|
43
|
-
7
|
|
44
|
-
<span class="pf-v6-c-badge__toggle-icon">
|
|
45
|
-
<i class="fas fa-caret-down"></i>
|
|
46
|
-
</span>
|
|
47
|
-
</span>
|
|
48
|
-
<span class="pf-v6-c-badge pf-m-unread">
|
|
49
|
-
7
|
|
50
|
-
<span class="pf-v6-screen-reader">unread messages</span>
|
|
51
|
-
|
|
52
|
-
<span class="pf-v6-c-badge__toggle-icon">
|
|
53
|
-
<i class="fas fa-caret-down"></i>
|
|
54
|
-
</span>
|
|
55
|
-
</span>
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
|
|
59
39
|
## Documentation
|
|
60
40
|
|
|
61
41
|
### Overview
|
|
@@ -67,6 +47,5 @@ Always add a modifier class. Never use the class `.pf-v6-c-badge` on its own.
|
|
|
67
47
|
| Class | Applied to | Outcome |
|
|
68
48
|
| -- | -- | -- |
|
|
69
49
|
| `.pf-v6-c-badge` | `<span>` | Initiates a badge. **Always use with a modifier class.** |
|
|
70
|
-
| `.pf-v6-c-badge__toggle-icon` | `<span>` | Initiates a badge toggle icon. |
|
|
71
50
|
| `.pf-m-read` | `.pf-v6-c-badge` | Applies read badge styling. |
|
|
72
51
|
| `.pf-m-unread` | `.pf-v6-c-badge` | Applies unread badge styling. |
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
id: Breadcrumb
|
|
3
3
|
section: components
|
|
4
4
|
cssPrefix: pf-v6-c-breadcrumb
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## Examples
|
|
5
|
+
---## Examples
|
|
8
6
|
|
|
9
7
|
### Basic
|
|
10
8
|
|
|
@@ -162,62 +160,23 @@ cssPrefix: pf-v6-c-breadcrumb
|
|
|
162
160
|
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
163
161
|
</span>
|
|
164
162
|
<span class="pf-v6-c-breadcrumb__dropdown">
|
|
165
|
-
<
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
163
|
+
<button
|
|
164
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
165
|
+
type="button"
|
|
166
|
+
aria-expanded="false"
|
|
167
|
+
>
|
|
168
|
+
<span class="pf-v6-c-menu-toggle__count">
|
|
169
|
+
<span class="pf-v6-c-badge pf-m-unread">
|
|
170
|
+
4
|
|
171
|
+
<span class="pf-v6-screen-reader">additional items</span>
|
|
172
|
+
</span>
|
|
173
|
+
</span>
|
|
174
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
175
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
176
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
177
177
|
</span>
|
|
178
|
-
</
|
|
179
|
-
|
|
180
|
-
class="pf-v6-c-dropdown__menu"
|
|
181
|
-
aria-labelledby="dropdown-badge-toggle-button"
|
|
182
|
-
role="menu"
|
|
183
|
-
>
|
|
184
|
-
<li role="none">
|
|
185
|
-
<button
|
|
186
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
187
|
-
role="menuitem"
|
|
188
|
-
type="button"
|
|
189
|
-
>Section title</button>
|
|
190
|
-
</li>
|
|
191
|
-
<li role="none">
|
|
192
|
-
<button
|
|
193
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
194
|
-
role="menuitem"
|
|
195
|
-
type="button"
|
|
196
|
-
>Section title</button>
|
|
197
|
-
</li>
|
|
198
|
-
<li role="none">
|
|
199
|
-
<button
|
|
200
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
201
|
-
role="menuitem"
|
|
202
|
-
type="button"
|
|
203
|
-
>Section title</button>
|
|
204
|
-
</li>
|
|
205
|
-
<li role="none">
|
|
206
|
-
<button
|
|
207
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
208
|
-
role="menuitem"
|
|
209
|
-
type="button"
|
|
210
|
-
>Section title</button>
|
|
211
|
-
</li>
|
|
212
|
-
<li role="none">
|
|
213
|
-
<button
|
|
214
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
215
|
-
role="menuitem"
|
|
216
|
-
type="button"
|
|
217
|
-
>Section title</button>
|
|
218
|
-
</li>
|
|
219
|
-
</ul>
|
|
220
|
-
</div>
|
|
178
|
+
</span>
|
|
179
|
+
</button>
|
|
221
180
|
</span>
|
|
222
181
|
</li>
|
|
223
182
|
<li class="pf-v6-c-breadcrumb__item">
|
|
@@ -4592,9 +4592,13 @@ cssPrefix: pf-v6-c-menu
|
|
|
4592
4592
|
type="button"
|
|
4593
4593
|
aria-expanded="true"
|
|
4594
4594
|
>
|
|
4595
|
-
<span class="pf-v6-c-
|
|
4596
|
-
1
|
|
4597
|
-
|
|
4595
|
+
<span class="pf-v6-c-menu-toggle__count">
|
|
4596
|
+
<span class="pf-v6-c-badge pf-m-read">1</span>
|
|
4597
|
+
</span>
|
|
4598
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
4599
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
4600
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
4601
|
+
</span>
|
|
4598
4602
|
</span>
|
|
4599
4603
|
</button>
|
|
4600
4604
|
<div class="pf-v6-c-menu">
|
|
@@ -4845,9 +4849,13 @@ cssPrefix: pf-v6-c-menu
|
|
|
4845
4849
|
type="button"
|
|
4846
4850
|
aria-expanded="true"
|
|
4847
4851
|
>
|
|
4848
|
-
<span class="pf-v6-c-
|
|
4849
|
-
2
|
|
4850
|
-
|
|
4852
|
+
<span class="pf-v6-c-menu-toggle__count">
|
|
4853
|
+
<span class="pf-v6-c-badge pf-m-read">2</span>
|
|
4854
|
+
</span>
|
|
4855
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
4856
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
4857
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
4858
|
+
</span>
|
|
4851
4859
|
</span>
|
|
4852
4860
|
</button>
|
|
4853
4861
|
<div class="pf-v6-c-menu">
|
|
@@ -73,6 +73,25 @@ cssPrefix: pf-v6-c-menu-toggle
|
|
|
73
73
|
</span>
|
|
74
74
|
</button>
|
|
75
75
|
|
|
76
|
+
|
|
77
|
+
<button
|
|
78
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
79
|
+
type="button"
|
|
80
|
+
aria-expanded="false"
|
|
81
|
+
>
|
|
82
|
+
<span class="pf-v6-c-menu-toggle__count">
|
|
83
|
+
<span class="pf-v6-c-badge pf-m-unread">
|
|
84
|
+
4
|
|
85
|
+
<span class="pf-v6-screen-reader">additional items</span>
|
|
86
|
+
</span>
|
|
87
|
+
</span>
|
|
88
|
+
<span class="pf-v6-c-menu-toggle__controls">
|
|
89
|
+
<span class="pf-v6-c-menu-toggle__toggle-icon">
|
|
90
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
91
|
+
</span>
|
|
92
|
+
</span>
|
|
93
|
+
</button>
|
|
94
|
+
|
|
76
95
|
```
|
|
77
96
|
|
|
78
97
|
### Primary
|