@patternfly/patternfly 6.2.0-prerelease.2 → 6.2.0-prerelease.20
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/assets/pficon/pficon.scss +1 -1
- package/base/normalize.scss +2 -2
- package/base/patternfly-pf-icons.css +1 -1
- package/components/Alert/alert-group.css +50 -7
- package/components/Alert/alert-group.scss +114 -28
- package/components/Banner/banner.css +2 -2
- package/components/Banner/banner.scss +2 -2
- package/components/Breadcrumb/breadcrumb.css +3 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -2
- package/components/Button/button.css +63 -2
- package/components/Button/button.scss +74 -2
- package/components/Card/card.css +17 -0
- package/components/Card/card.scss +22 -0
- package/components/Content/content.css +2 -1
- package/components/Content/content.scss +2 -1
- package/components/DescriptionList/description-list.css +3 -2
- package/components/DescriptionList/description-list.scss +3 -2
- package/components/Drawer/drawer.css +3 -1
- package/components/Drawer/drawer.scss +3 -1
- package/components/Form/form.css +3 -6
- package/components/Form/form.scss +3 -7
- package/components/HelperText/helper-text.css +13 -0
- package/components/HelperText/helper-text.scss +16 -0
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label.css +3 -2
- package/components/Label/label.scss +3 -2
- package/components/Masthead/masthead.css +1 -1
- package/components/Masthead/masthead.scss +1 -1
- package/components/Menu/menu.css +15 -7
- package/components/Menu/menu.scss +14 -5
- package/components/MenuToggle/menu-toggle.css +41 -0
- package/components/MenuToggle/menu-toggle.scss +49 -0
- package/components/Nav/nav.css +46 -13
- package/components/Nav/nav.scss +57 -17
- package/components/Page/page.css +16 -1
- package/components/Page/page.scss +17 -3
- package/components/Popover/popover.css +2 -0
- package/components/Popover/popover.scss +2 -0
- package/components/Progress/progress.css +3 -0
- package/components/Progress/progress.scss +3 -0
- package/components/ProgressStepper/progress-stepper.css +2 -1
- package/components/ProgressStepper/progress-stepper.scss +2 -1
- package/components/SimpleList/simple-list.css +2 -2
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Switch/switch.css +3 -1
- package/components/Switch/switch.scss +4 -2
- package/components/Table/table.css +3 -3
- package/components/Table/table.scss +3 -2
- package/components/Tabs/tabs.css +1 -1
- package/components/Tabs/tabs.scss +1 -1
- package/components/Timestamp/timestamp.css +2 -1
- package/components/Timestamp/timestamp.scss +2 -1
- package/components/ToggleGroup/toggle-group.css +1 -1
- package/components/ToggleGroup/toggle-group.scss +1 -1
- package/components/Toolbar/toolbar.css +6 -1
- package/components/Toolbar/toolbar.scss +7 -1
- package/components/Wizard/wizard.css +1 -1
- package/components/Wizard/wizard.scss +1 -1
- package/components/_index.css +307 -60
- package/docs/components/Alert/examples/Alert.md +6 -0
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Button/examples/Button.md +29 -0
- package/docs/components/Card/examples/Card.md +30 -0
- package/docs/components/DataList/examples/DataList.md +3 -3
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +3 -3
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +8 -8
- package/docs/components/Nav/examples/Navigation.md +3 -0
- package/docs/components/Page/examples/Page.md +2 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +17 -29
- package/docs/components/Tabs/examples/Tabs.md +148 -6
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +10 -0
- package/docs/components/Toolbar/examples/Toolbar.css +3 -0
- package/docs/components/Toolbar/examples/Toolbar.md +35 -7
- package/docs/demos/Card/examples/Card.md +32 -24
- package/docs/demos/CardView/examples/CardView.md +2 -0
- package/docs/demos/Nav/examples/Nav.md +2 -0
- package/docs/layouts/Flex/examples/Flex.md +1 -1
- package/docs/layouts/Gallery/examples/Gallery.md +2 -2
- package/docs/layouts/Grid/examples/Grid.md +4 -4
- package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
- package/docs/utilities/Alignment/examples/Alignment.md +1 -1
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
- package/docs/utilities/Display/examples/Display.md +1 -1
- package/docs/utilities/Flex/examples/Flex.md +1 -1
- package/docs/utilities/Float/examples/Float.md +1 -1
- package/docs/utilities/Sizing/examples/Sizing.md +6 -6
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +1 -1
- package/package.json +2 -2
- package/patternfly-base-no-globals.css +1 -1
- package/patternfly-base.css +3 -3
- package/patternfly-charts.css +83 -0
- package/patternfly-charts.scss +126 -0
- package/patternfly-no-globals.css +308 -61
- package/patternfly.css +310 -63
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/docs/components/TabContent/examples/TabContent.md +0 -153
|
@@ -30,7 +30,9 @@
|
|
|
30
30
|
--pf-v6-c-switch__toggle--before--Height: var(--pf-v6-c-switch__toggle--before--Width);
|
|
31
31
|
--pf-v6-c-switch__toggle--before--InsetInlineStart: calc((var(--pf-v6-c-switch__toggle--Height) - var(--pf-v6-c-switch__toggle--before--Height)) / 2);
|
|
32
32
|
--pf-v6-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
33
|
-
--pf-v6-c-switch__toggle--before--
|
|
33
|
+
--pf-v6-c-switch__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
34
|
+
--pf-v6-c-switch__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
35
|
+
--pf-v6-c-switch__toggle--before--Transition: transform var(--pf-v6-c-switch__toggle--before--TransitionTimingFunction) var(--pf-v6-c-switch__toggle--before--TransitionDuration), background-color var(--pf-v6-c-switch__toggle--before--TransitionTimingFunction) var(--pf-v6-c-switch__toggle--before--TransitionDuration);
|
|
34
36
|
--pf-v6-c-switch__toggle--Width: calc(var(--pf-v6-c-switch__toggle--Height) + var(--pf-v6-c-switch__toggle-icon--Offset) + var(--pf-v6-c-switch__toggle--before--Width));
|
|
35
37
|
}
|
|
36
38
|
|
|
@@ -41,7 +41,9 @@
|
|
|
41
41
|
--#{$switch}__toggle--before--Height: var(--#{$switch}__toggle--before--Width);
|
|
42
42
|
--#{$switch}__toggle--before--InsetInlineStart: calc((var(--#{$switch}__toggle--Height) - var(--#{$switch}__toggle--before--Height)) / 2);
|
|
43
43
|
--#{$switch}__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
44
|
-
--#{$switch}__toggle--before--
|
|
44
|
+
--#{$switch}__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
45
|
+
--#{$switch}__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
46
|
+
--#{$switch}__toggle--before--Transition: transform var(--#{$switch}__toggle--before--TransitionTimingFunction) var(--#{$switch}__toggle--before--TransitionDuration), background-color var(--#{$switch}__toggle--before--TransitionTimingFunction) var(--#{$switch}__toggle--before--TransitionDuration); // TODO remove in breaking change along with shorthand property
|
|
45
47
|
--#{$switch}__toggle--Width: calc(var(--#{$switch}__toggle--Height) + var(--#{$switch}__toggle-icon--Offset) + var(--#{$switch}__toggle--before--Width));
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -152,7 +154,7 @@
|
|
|
152
154
|
content: "";
|
|
153
155
|
background-color: var(--#{$switch}__input--not-checked__toggle--before--BackgroundColor);
|
|
154
156
|
border-radius: var(--#{$switch}__toggle--before--BorderRadius);
|
|
155
|
-
transition: var(--#{$switch}__toggle--before--Transition);
|
|
157
|
+
transition: var(--#{$switch}__toggle--before--Transition); // TODO remove shorthand in breaking change
|
|
156
158
|
transform: translateY(-50%);
|
|
157
159
|
}
|
|
158
160
|
|
|
@@ -583,13 +583,13 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
583
583
|
vertical-align: baseline;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
-
.pf-v6-c-table__favorite .pf-v6-c-button {
|
|
586
|
+
.pf-v6-c-table__favorite .pf-v6-c-button:not(.pf-m-favorite) {
|
|
587
587
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-table__favorite--c-button--FontSize);
|
|
588
588
|
}
|
|
589
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button {
|
|
589
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
590
590
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
|
591
591
|
}
|
|
592
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
592
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
593
593
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
|
594
594
|
}
|
|
595
595
|
|
|
@@ -789,12 +789,13 @@
|
|
|
789
789
|
}
|
|
790
790
|
|
|
791
791
|
// - Table favorite
|
|
792
|
+
// TODO in breaking change - remove button styling here that is taken care of by favorite button now
|
|
792
793
|
.#{$table}__favorite {
|
|
793
|
-
.#{$button} {
|
|
794
|
+
.#{$button}:not(.pf-m-favorite) {
|
|
794
795
|
--#{$button}--FontSize: var(--#{$table}__favorite--c-button--FontSize);
|
|
795
796
|
}
|
|
796
797
|
|
|
797
|
-
&.pf-m-favorited .#{$button} {
|
|
798
|
+
&.pf-m-favorited .#{$button}:not(.pf-m-favorited) {
|
|
798
799
|
--#{$button}--m-plain__icon--Color: var(--#{$table}__favorite--m-favorited--c-button--Color);
|
|
799
800
|
|
|
800
801
|
&:is(:hover, :focus) {
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
padding-inline-end: var(--pf-v6-c-tabs__link--PaddingInlineEnd);
|
|
496
496
|
font-size: var(--pf-v6-c-tabs__link--FontSize);
|
|
497
497
|
color: var(--pf-v6-c-tabs__link--Color);
|
|
498
|
-
text-decoration: none;
|
|
498
|
+
text-decoration-line: none;
|
|
499
499
|
background-color: var(--pf-v6-c-tabs__link--BackgroundColor);
|
|
500
500
|
border-radius: var(--pf-v6-c-tabs__link--BorderRadius);
|
|
501
501
|
}
|
|
@@ -573,7 +573,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
573
573
|
padding-inline-end: var(--#{$tabs}__link--PaddingInlineEnd);
|
|
574
574
|
font-size: var(--#{$tabs}__link--FontSize);
|
|
575
575
|
color: var(--#{$tabs}__link--Color);
|
|
576
|
-
text-decoration: none;
|
|
576
|
+
text-decoration-line: none;
|
|
577
577
|
background-color: var(--#{$tabs}__link--BackgroundColor);
|
|
578
578
|
border-radius: var(--#{$tabs}__link--BorderRadius);
|
|
579
579
|
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
}
|
|
20
20
|
.pf-v6-c-timestamp.pf-m-help-text {
|
|
21
21
|
--pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--Color);
|
|
22
|
-
text-decoration: var(--pf-v6-c-timestamp--m-help-text--TextDecorationLine)
|
|
22
|
+
text-decoration-line: var(--pf-v6-c-timestamp--m-help-text--TextDecorationLine);
|
|
23
|
+
text-decoration-style: var(--pf-v6-c-timestamp--m-help-text--TextDecorationStyle);
|
|
23
24
|
text-underline-offset: var(--pf-v6-c-timestamp--m-help-text--TextUnderlineOffset);
|
|
24
25
|
cursor: pointer;
|
|
25
26
|
}
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
&.pf-m-help-text {
|
|
25
25
|
--#{$timestamp}--Color: var(--#{$timestamp}--m-help-text--Color);
|
|
26
26
|
|
|
27
|
-
text-decoration: var(--#{$timestamp}--m-help-text--TextDecorationLine)
|
|
27
|
+
text-decoration-line: var(--#{$timestamp}--m-help-text--TextDecorationLine);
|
|
28
|
+
text-decoration-style: var(--#{$timestamp}--m-help-text--TextDecorationStyle);
|
|
28
29
|
text-underline-offset: var(--#{$timestamp}--m-help-text--TextUnderlineOffset);
|
|
29
30
|
cursor: pointer;
|
|
30
31
|
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
--pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-v6-c-toggle-group__button--hover--BackgroundColor);
|
|
93
93
|
--pf-v6-c-toggle-group__button--ZIndex: var(--pf-v6-c-toggle-group__button--hover--ZIndex);
|
|
94
94
|
--pf-v6-c-toggle-group__button--before--BorderColor: var(--pf-v6-c-toggle-group__button--hover--before--BorderColor);
|
|
95
|
-
text-decoration: none;
|
|
95
|
+
text-decoration-line: none;
|
|
96
96
|
}
|
|
97
97
|
.pf-v6-c-toggle-group__button.pf-m-selected {
|
|
98
98
|
--pf-v6-c-toggle-group__button--BackgroundColor: var(--pf-v6-c-toggle-group__button--m-selected--BackgroundColor);
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
--#{$toggle-group}__button--ZIndex: var(--#{$toggle-group}__button--hover--ZIndex);
|
|
123
123
|
--#{$toggle-group}__button--before--BorderColor: var(--#{$toggle-group}__button--hover--before--BorderColor);
|
|
124
124
|
|
|
125
|
-
text-decoration: none;
|
|
125
|
+
text-decoration-line: none;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
&.pf-m-selected {
|
|
@@ -217,13 +217,18 @@
|
|
|
217
217
|
}
|
|
218
218
|
.pf-v6-c-toolbar.pf-m-full-height {
|
|
219
219
|
--pf-v6-c-toolbar--PaddingBlockStart: 0;
|
|
220
|
-
--pf-v6-c-toolbar--
|
|
220
|
+
--pf-v6-c-toolbar--PaddingBlockEnd: 0;
|
|
221
221
|
}
|
|
222
222
|
.pf-v6-c-toolbar.pf-m-full-height .pf-v6-c-toolbar__group,
|
|
223
223
|
.pf-v6-c-toolbar.pf-m-full-height .pf-v6-c-toolbar__item {
|
|
224
224
|
align-items: stretch;
|
|
225
225
|
align-self: stretch;
|
|
226
226
|
}
|
|
227
|
+
.pf-v6-c-toolbar.pf-m-no-padding {
|
|
228
|
+
--pf-v6-c-toolbar--PaddingBlockEnd: 0;
|
|
229
|
+
--pf-v6-c-toolbar--m-sticky--PaddingBlockStart: 0;
|
|
230
|
+
--pf-v6-c-toolbar--m-sticky--PaddingBlockEnd: 0;
|
|
231
|
+
}
|
|
227
232
|
.pf-v6-c-toolbar.pf-m-primary {
|
|
228
233
|
--pf-v6-c-toolbar--BackgroundColor: var(--pf-v6-c-toolbar--m-primary--BackgroundColor);
|
|
229
234
|
}
|
|
@@ -160,7 +160,7 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
160
160
|
// - Toolbar full height
|
|
161
161
|
&.pf-m-full-height {
|
|
162
162
|
--#{$toolbar}--PaddingBlockStart: 0;
|
|
163
|
-
--#{$toolbar}--
|
|
163
|
+
--#{$toolbar}--PaddingBlockEnd: 0;
|
|
164
164
|
|
|
165
165
|
.#{$toolbar}__group,
|
|
166
166
|
.#{$toolbar}__item {
|
|
@@ -169,6 +169,12 @@ $pf-v6--include-toolbar-breakpoints: true !default;
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
&.pf-m-no-padding {
|
|
173
|
+
--#{$toolbar}--PaddingBlockEnd: 0;
|
|
174
|
+
--#{$toolbar}--m-sticky--PaddingBlockStart: 0;
|
|
175
|
+
--#{$toolbar}--m-sticky--PaddingBlockEnd: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
172
178
|
// - Toolbar background modifiers
|
|
173
179
|
&.pf-m-primary {
|
|
174
180
|
--#{$toolbar}--BackgroundColor: var(--#{$toolbar}--m-primary--BackgroundColor);
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
padding-inline: 0;
|
|
358
358
|
color: var(--pf-v6-c-wizard__nav-link--Color);
|
|
359
359
|
text-align: start;
|
|
360
|
-
text-decoration: var(--pf-v6-c-wizard__nav-link--TextDecoration);
|
|
360
|
+
text-decoration-line: var(--pf-v6-c-wizard__nav-link--TextDecoration);
|
|
361
361
|
word-break: break-word;
|
|
362
362
|
counter-increment: wizard-nav-count;
|
|
363
363
|
background-color: transparent;
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
padding-inline: 0;
|
|
441
441
|
color: var(--#{$wizard}__nav-link--Color);
|
|
442
442
|
text-align: start; // needed for when the item is a button
|
|
443
|
-
text-decoration: var(--#{$wizard}__nav-link--TextDecoration);
|
|
443
|
+
text-decoration-line: var(--#{$wizard}__nav-link--TextDecoration);
|
|
444
444
|
word-break: break-word;
|
|
445
445
|
counter-increment: wizard-nav-count;
|
|
446
446
|
background-color: transparent;
|