@patternfly/patternfly 6.2.0-prerelease.19 → 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/components/Button/button.css +25 -0
- package/components/Button/button.scss +34 -0
- package/components/Menu/menu.css +4 -4
- package/components/Menu/menu.scss +2 -1
- 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/_index.css +35 -8
- package/docs/components/Button/examples/Button.md +29 -0
- package/docs/components/Menu/examples/Menu.md +6 -6
- package/docs/components/Table/examples/Table.md +14 -26
- package/package.json +2 -2
- package/patternfly-no-globals.css +35 -8
- package/patternfly.css +35 -8
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -237,6 +237,12 @@
|
|
|
237
237
|
--pf-v6-c-button__icon--m-end--MarginInlineStart: 0;
|
|
238
238
|
--pf-v6-c-button--m-notify__icon--AnimationDuration--notify: var(--pf-t--global--motion--duration--3xl);
|
|
239
239
|
--pf-v6-c-button--m-notify__icon--AnimationTimingFunction--notify: var(--pf-t--global--motion--timing-function--default);
|
|
240
|
+
--pf-v6-c-button--m-favorite__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
241
|
+
--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
242
|
+
--pf-v6-c-button--m-favorited__icon--Color: var(--pf-t--global--color--favorite--default);
|
|
243
|
+
--pf-v6-c-button--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
244
|
+
--pf-v6-c-button--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
245
|
+
--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
240
246
|
--pf-v6-c-button__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm));
|
|
241
247
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
242
248
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
@@ -546,6 +552,20 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
546
552
|
--pf-v6-c-button--PaddingInlineStart: var(--pf-v6-c-button--m-display-lg--PaddingInlineStart);
|
|
547
553
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-button--m-display-lg--FontSize);
|
|
548
554
|
}
|
|
555
|
+
.pf-v6-c-button.pf-m-favorite .pf-v6-c-button__icon {
|
|
556
|
+
transition-timing-function: var(--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction);
|
|
557
|
+
transition-duration: var(--pf-v6-c-button--m-favorite__icon--TransitionDuration);
|
|
558
|
+
transition-property: color;
|
|
559
|
+
}
|
|
560
|
+
.pf-v6-c-button.pf-m-favorited {
|
|
561
|
+
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-favorited__icon--Color);
|
|
562
|
+
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-button--m-favorited--hover__icon--Color);
|
|
563
|
+
}
|
|
564
|
+
.pf-v6-c-button.pf-m-favorited .pf-v6-c-button__icon {
|
|
565
|
+
animation-name: pf-v6-c-button-icon-favorited;
|
|
566
|
+
animation-duration: var(--pf-v6-c-button--m-favorited__icon--AnimationDuration);
|
|
567
|
+
animation-timing-function: var(--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction);
|
|
568
|
+
}
|
|
549
569
|
.pf-v6-c-button:hover, .pf-v6-c-button:focus {
|
|
550
570
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--hover--Color);
|
|
551
571
|
--pf-v6-c-button--BackgroundColor: var(--pf-v6-c-button--hover--BackgroundColor);
|
|
@@ -643,4 +663,9 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
643
663
|
66% {
|
|
644
664
|
transform: rotate(-60deg);
|
|
645
665
|
}
|
|
666
|
+
}
|
|
667
|
+
@keyframes pf-v6-c-button-icon-favorited {
|
|
668
|
+
50% {
|
|
669
|
+
transform: scale(1.5);
|
|
670
|
+
}
|
|
646
671
|
}
|
|
@@ -282,6 +282,14 @@
|
|
|
282
282
|
--#{$button}--m-notify__icon--AnimationDuration--notify: var(--pf-t--global--motion--duration--3xl);
|
|
283
283
|
--#{$button}--m-notify__icon--AnimationTimingFunction--notify: var(--pf-t--global--motion--timing-function--default);
|
|
284
284
|
|
|
285
|
+
// Favorite button
|
|
286
|
+
--#{$button}--m-favorite__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
287
|
+
--#{$button}--m-favorite__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
288
|
+
--#{$button}--m-favorited__icon--Color: var(--pf-t--global--color--favorite--default);
|
|
289
|
+
--#{$button}--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
290
|
+
--#{$button}--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
291
|
+
--#{$button}--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
292
|
+
|
|
285
293
|
// Progress
|
|
286
294
|
--#{$button}__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm)); // matches medium spinner diameter plus a spacer
|
|
287
295
|
--#{$button}__progress--Opacity: 0;
|
|
@@ -633,6 +641,26 @@
|
|
|
633
641
|
--#{$button}--FontSize: var(--#{$button}--m-display-lg--FontSize);
|
|
634
642
|
}
|
|
635
643
|
|
|
644
|
+
// Favorite button icon will transition color
|
|
645
|
+
&.pf-m-favorite .#{$button}__icon {
|
|
646
|
+
transition-timing-function: var(--#{$button}--m-favorite__icon--TransitionTimingFunction);
|
|
647
|
+
transition-duration: var(--#{$button}--m-favorite__icon--TransitionDuration);
|
|
648
|
+
transition-property: color;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
// Favorite button when favorited
|
|
652
|
+
&.pf-m-favorited {
|
|
653
|
+
--#{$button}__icon--Color: var(--#{$button}--m-favorited__icon--Color);
|
|
654
|
+
--#{$button}--hover__icon--Color: var(--#{$button}--m-favorited--hover__icon--Color);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
// Favorite button will run an animation when favorited
|
|
658
|
+
&.pf-m-favorited .#{$button}__icon {
|
|
659
|
+
animation-name: #{$button}-icon-favorited;
|
|
660
|
+
animation-duration: var(--#{$button}--m-favorited__icon--AnimationDuration);
|
|
661
|
+
animation-timing-function: var(--#{$button}--m-favorited__icon--AnimationTimingFunction);
|
|
662
|
+
}
|
|
663
|
+
|
|
636
664
|
&:hover,
|
|
637
665
|
&:focus {
|
|
638
666
|
--#{$button}--Color: var(--#{$button}--hover--Color);
|
|
@@ -756,3 +784,9 @@
|
|
|
756
784
|
transform: rotate(-60deg);
|
|
757
785
|
}
|
|
758
786
|
}
|
|
787
|
+
|
|
788
|
+
@keyframes #{$button}-icon-favorited {
|
|
789
|
+
50% {
|
|
790
|
+
transform: scale(1.5);
|
|
791
|
+
}
|
|
792
|
+
}
|
package/components/Menu/menu.css
CHANGED
|
@@ -557,16 +557,16 @@
|
|
|
557
557
|
opacity: 0;
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button,
|
|
560
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited),
|
|
561
561
|
.pf-v6-c-menu__item-action.pf-m-favorited,
|
|
562
562
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover,
|
|
563
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button {
|
|
563
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
564
564
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
565
565
|
}
|
|
566
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:is(:hover, :focus),
|
|
566
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus),
|
|
567
567
|
.pf-v6-c-menu__item-action.pf-m-favorited:is(:hover, :focus),
|
|
568
568
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover:is(:hover, :focus),
|
|
569
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
569
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
570
570
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
571
571
|
}
|
|
572
572
|
|
|
@@ -615,11 +615,12 @@
|
|
|
615
615
|
|
|
616
616
|
// TODO: standardize icon fitting
|
|
617
617
|
// - Menu item action
|
|
618
|
+
// TODO in breaking change - remove button styling here that is taken care of by favorite button now
|
|
618
619
|
.#{$menu}__item-toggle-icon,
|
|
619
620
|
.#{$menu}__item-action {
|
|
620
621
|
&.pf-m-favorited,
|
|
621
622
|
&.pf-m-favorited:hover,
|
|
622
|
-
&.pf-m-favorited .#{$button} {
|
|
623
|
+
&.pf-m-favorited .#{$button}:not(.pf-m-favorited) {
|
|
623
624
|
--#{$button}--m-plain__icon--Color: var(--#{$menu}__item-action--m-favorited--Color);
|
|
624
625
|
|
|
625
626
|
&:is(:hover, :focus) {
|
|
@@ -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/_index.css
CHANGED
|
@@ -1673,6 +1673,12 @@ button.pf-v6-c-breadcrumb__link {
|
|
|
1673
1673
|
--pf-v6-c-button__icon--m-end--MarginInlineStart: 0;
|
|
1674
1674
|
--pf-v6-c-button--m-notify__icon--AnimationDuration--notify: var(--pf-t--global--motion--duration--3xl);
|
|
1675
1675
|
--pf-v6-c-button--m-notify__icon--AnimationTimingFunction--notify: var(--pf-t--global--motion--timing-function--default);
|
|
1676
|
+
--pf-v6-c-button--m-favorite__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
1677
|
+
--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
1678
|
+
--pf-v6-c-button--m-favorited__icon--Color: var(--pf-t--global--color--favorite--default);
|
|
1679
|
+
--pf-v6-c-button--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
1680
|
+
--pf-v6-c-button--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
1681
|
+
--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
1676
1682
|
--pf-v6-c-button__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm));
|
|
1677
1683
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
1678
1684
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
@@ -1982,6 +1988,20 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
1982
1988
|
--pf-v6-c-button--PaddingInlineStart: var(--pf-v6-c-button--m-display-lg--PaddingInlineStart);
|
|
1983
1989
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-button--m-display-lg--FontSize);
|
|
1984
1990
|
}
|
|
1991
|
+
.pf-v6-c-button.pf-m-favorite .pf-v6-c-button__icon {
|
|
1992
|
+
transition-timing-function: var(--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction);
|
|
1993
|
+
transition-duration: var(--pf-v6-c-button--m-favorite__icon--TransitionDuration);
|
|
1994
|
+
transition-property: color;
|
|
1995
|
+
}
|
|
1996
|
+
.pf-v6-c-button.pf-m-favorited {
|
|
1997
|
+
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-favorited__icon--Color);
|
|
1998
|
+
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-button--m-favorited--hover__icon--Color);
|
|
1999
|
+
}
|
|
2000
|
+
.pf-v6-c-button.pf-m-favorited .pf-v6-c-button__icon {
|
|
2001
|
+
animation-name: pf-v6-c-button-icon-favorited;
|
|
2002
|
+
animation-duration: var(--pf-v6-c-button--m-favorited__icon--AnimationDuration);
|
|
2003
|
+
animation-timing-function: var(--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction);
|
|
2004
|
+
}
|
|
1985
2005
|
.pf-v6-c-button:hover, .pf-v6-c-button:focus {
|
|
1986
2006
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--hover--Color);
|
|
1987
2007
|
--pf-v6-c-button--BackgroundColor: var(--pf-v6-c-button--hover--BackgroundColor);
|
|
@@ -2080,6 +2100,11 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2080
2100
|
transform: rotate(-60deg);
|
|
2081
2101
|
}
|
|
2082
2102
|
}
|
|
2103
|
+
@keyframes pf-v6-c-button-icon-favorited {
|
|
2104
|
+
50% {
|
|
2105
|
+
transform: scale(1.5);
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2083
2108
|
.pf-v6-c-calendar-month {
|
|
2084
2109
|
--pf-v6-c-calendar-month--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
2085
2110
|
--pf-v6-c-calendar-month--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
@@ -10050,16 +10075,16 @@ ul.pf-v6-c-list {
|
|
|
10050
10075
|
opacity: 0;
|
|
10051
10076
|
}
|
|
10052
10077
|
|
|
10053
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button,
|
|
10078
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited),
|
|
10054
10079
|
.pf-v6-c-menu__item-action.pf-m-favorited,
|
|
10055
10080
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover,
|
|
10056
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button {
|
|
10081
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
10057
10082
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
10058
10083
|
}
|
|
10059
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:is(:hover, :focus),
|
|
10084
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus),
|
|
10060
10085
|
.pf-v6-c-menu__item-action.pf-m-favorited:is(:hover, :focus),
|
|
10061
10086
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover:is(:hover, :focus),
|
|
10062
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
10087
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
10063
10088
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
10064
10089
|
}
|
|
10065
10090
|
|
|
@@ -14715,7 +14740,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
14715
14740
|
--pf-v6-c-switch__toggle--before--Height: var(--pf-v6-c-switch__toggle--before--Width);
|
|
14716
14741
|
--pf-v6-c-switch__toggle--before--InsetInlineStart: calc((var(--pf-v6-c-switch__toggle--Height) - var(--pf-v6-c-switch__toggle--before--Height)) / 2);
|
|
14717
14742
|
--pf-v6-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
14718
|
-
--pf-v6-c-switch__toggle--before--
|
|
14743
|
+
--pf-v6-c-switch__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
14744
|
+
--pf-v6-c-switch__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
14745
|
+
--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);
|
|
14719
14746
|
--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));
|
|
14720
14747
|
}
|
|
14721
14748
|
|
|
@@ -17030,13 +17057,13 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
17030
17057
|
vertical-align: baseline;
|
|
17031
17058
|
}
|
|
17032
17059
|
|
|
17033
|
-
.pf-v6-c-table__favorite .pf-v6-c-button {
|
|
17060
|
+
.pf-v6-c-table__favorite .pf-v6-c-button:not(.pf-m-favorite) {
|
|
17034
17061
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-table__favorite--c-button--FontSize);
|
|
17035
17062
|
}
|
|
17036
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button {
|
|
17063
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
17037
17064
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
|
17038
17065
|
}
|
|
17039
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
17066
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
17040
17067
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
|
17041
17068
|
}
|
|
17042
17069
|
|
|
@@ -1999,6 +1999,32 @@ For when a plain/icon button is placed inline with text
|
|
|
1999
1999
|
|
|
2000
2000
|
```
|
|
2001
2001
|
|
|
2002
|
+
### Favorite
|
|
2003
|
+
|
|
2004
|
+
A favorite button should use a plain button with the star icon. Applying `.pf-m-favorited` to the button initiates a microanimation and indicates that the item is favorited.
|
|
2005
|
+
|
|
2006
|
+
```html
|
|
2007
|
+
<button
|
|
2008
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
2009
|
+
type="button"
|
|
2010
|
+
aria-label="not starred"
|
|
2011
|
+
>
|
|
2012
|
+
<span class="pf-v6-c-button__icon">
|
|
2013
|
+
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2014
|
+
</span>
|
|
2015
|
+
</button>
|
|
2016
|
+
<button
|
|
2017
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
2018
|
+
type="button"
|
|
2019
|
+
aria-label="starred"
|
|
2020
|
+
>
|
|
2021
|
+
<span class="pf-v6-c-button__icon">
|
|
2022
|
+
<i class="fas fa-star" aria-hidden="true"></i>
|
|
2023
|
+
</span>
|
|
2024
|
+
</button>
|
|
2025
|
+
|
|
2026
|
+
```
|
|
2027
|
+
|
|
2002
2028
|
## Documentation
|
|
2003
2029
|
|
|
2004
2030
|
### Overview
|
|
@@ -2052,3 +2078,6 @@ Semantic buttons and links are important for usability as well as accessibility.
|
|
|
2052
2078
|
| `.pf-m-progress` | `.pf-v6-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
|
|
2053
2079
|
| `.pf-m-in-progress` | `.pf-v6-c-button` | Indicates that the button is in the in progress state. |
|
|
2054
2080
|
| `.pf-m-stateful` | `.pf-v6-c-button` | Indicates that the button is used for one of read, unread, and attention states. **Note:** Always use with a modifier of `.pf-m-read`, `.pf-m-unread`, or `.pf-m-attention`. |
|
|
2081
|
+
| `.pf-m-notify` | `.pf-v6-c-button` | Indicates that the button should show the user notification of an event. **Note:** This is intended for use with a bell icon in the notification badge. |
|
|
2082
|
+
| `.pf-m-favorite` | `.pf-v6-c-button .pf-m-plain` | Modifies a plain button to be a favorite button. **Note:** This is intended for use with a star icon. |
|
|
2083
|
+
| `.pf-m-favorited` | `.pf-v6-c-button .pf-m-plain .pf-m-favorite` | Modifies a favorite button to indicate that item is favorited. |
|
|
@@ -5640,9 +5640,9 @@ cssPrefix: pf-v6-c-menu
|
|
|
5640
5640
|
</span>
|
|
5641
5641
|
<span class="pf-v6-c-menu__item-description">This is a description</span>
|
|
5642
5642
|
</a>
|
|
5643
|
-
<div class="pf-v6-c-menu__item-action
|
|
5643
|
+
<div class="pf-v6-c-menu__item-action">
|
|
5644
5644
|
<button
|
|
5645
|
-
class="pf-v6-c-button pf-m-plain"
|
|
5645
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
5646
5646
|
type="button"
|
|
5647
5647
|
role="menuitem"
|
|
5648
5648
|
aria-label="Starred"
|
|
@@ -5666,9 +5666,9 @@ cssPrefix: pf-v6-c-menu
|
|
|
5666
5666
|
</span>
|
|
5667
5667
|
<span class="pf-v6-c-menu__item-description">This is a description</span>
|
|
5668
5668
|
</a>
|
|
5669
|
-
<div class="pf-v6-c-menu__item-action
|
|
5669
|
+
<div class="pf-v6-c-menu__item-action">
|
|
5670
5670
|
<button
|
|
5671
|
-
class="pf-v6-c-button pf-m-plain"
|
|
5671
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
5672
5672
|
type="button"
|
|
5673
5673
|
role="menuitem"
|
|
5674
5674
|
aria-label="Starred"
|
|
@@ -5699,7 +5699,7 @@ cssPrefix: pf-v6-c-menu
|
|
|
5699
5699
|
</a>
|
|
5700
5700
|
<div class="pf-v6-c-menu__item-action">
|
|
5701
5701
|
<button
|
|
5702
|
-
class="pf-v6-c-button pf-m-plain"
|
|
5702
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
5703
5703
|
type="button"
|
|
5704
5704
|
role="menuitem"
|
|
5705
5705
|
aria-label="Not starred"
|
|
@@ -5728,7 +5728,7 @@ cssPrefix: pf-v6-c-menu
|
|
|
5728
5728
|
</a>
|
|
5729
5729
|
<div class="pf-v6-c-menu__item-action">
|
|
5730
5730
|
<button
|
|
5731
|
-
class="pf-v6-c-button pf-m-plain"
|
|
5731
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
5732
5732
|
type="button"
|
|
5733
5733
|
role="menuitem"
|
|
5734
5734
|
aria-label="Not starred"
|
|
@@ -20222,12 +20222,9 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20222
20222
|
</label>
|
|
20223
20223
|
</td>
|
|
20224
20224
|
|
|
20225
|
-
<td
|
|
20226
|
-
class="pf-v6-c-table__td pf-v6-c-table__favorite pf-m-favorited"
|
|
20227
|
-
role="cell"
|
|
20228
|
-
>
|
|
20225
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20229
20226
|
<button
|
|
20230
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20227
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
20231
20228
|
type="button"
|
|
20232
20229
|
aria-label="Starred"
|
|
20233
20230
|
id="table-favorites-favorite-button1"
|
|
@@ -20284,7 +20281,7 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20284
20281
|
|
|
20285
20282
|
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20286
20283
|
<button
|
|
20287
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20284
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
20288
20285
|
type="button"
|
|
20289
20286
|
aria-label="Not starred"
|
|
20290
20287
|
id="table-favorites-favorite-button2"
|
|
@@ -20337,12 +20334,9 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20337
20334
|
</label>
|
|
20338
20335
|
</td>
|
|
20339
20336
|
|
|
20340
|
-
<td
|
|
20341
|
-
class="pf-v6-c-table__td pf-v6-c-table__favorite pf-m-favorited"
|
|
20342
|
-
role="cell"
|
|
20343
|
-
>
|
|
20337
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20344
20338
|
<button
|
|
20345
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20339
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
20346
20340
|
type="button"
|
|
20347
20341
|
aria-label="Starred"
|
|
20348
20342
|
id="table-favorites-favorite-button3"
|
|
@@ -20397,7 +20391,7 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20397
20391
|
|
|
20398
20392
|
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20399
20393
|
<button
|
|
20400
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20394
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
20401
20395
|
type="button"
|
|
20402
20396
|
aria-label="Not starred"
|
|
20403
20397
|
id="table-favorites-favorite-button4"
|
|
@@ -20459,7 +20453,7 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20459
20453
|
<div class="pf-v6-c-action-list pf-m-icons">
|
|
20460
20454
|
<div class="pf-v6-c-action-list__item">
|
|
20461
20455
|
<button
|
|
20462
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20456
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
20463
20457
|
type="button"
|
|
20464
20458
|
aria-label="Favorite all"
|
|
20465
20459
|
>
|
|
@@ -20502,12 +20496,9 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20502
20496
|
|
|
20503
20497
|
<tbody class="pf-v6-c-table__tbody" role="rowgroup">
|
|
20504
20498
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
20505
|
-
<td
|
|
20506
|
-
class="pf-v6-c-table__td pf-v6-c-table__favorite pf-m-favorited"
|
|
20507
|
-
role="cell"
|
|
20508
|
-
>
|
|
20499
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20509
20500
|
<button
|
|
20510
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20501
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
20511
20502
|
type="button"
|
|
20512
20503
|
aria-label="Starred"
|
|
20513
20504
|
id="table-favorites-sortable-favorite-button1"
|
|
@@ -20534,12 +20525,9 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20534
20525
|
</tr>
|
|
20535
20526
|
|
|
20536
20527
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
20537
|
-
<td
|
|
20538
|
-
class="pf-v6-c-table__td pf-v6-c-table__favorite pf-m-favorited"
|
|
20539
|
-
role="cell"
|
|
20540
|
-
>
|
|
20528
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20541
20529
|
<button
|
|
20542
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20530
|
+
class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
|
|
20543
20531
|
type="button"
|
|
20544
20532
|
aria-label="Starred"
|
|
20545
20533
|
id="table-favorites-sortable-favorite-button3"
|
|
@@ -20566,7 +20554,7 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20566
20554
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
20567
20555
|
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20568
20556
|
<button
|
|
20569
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20557
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
20570
20558
|
type="button"
|
|
20571
20559
|
aria-label="Not starred"
|
|
20572
20560
|
id="table-favorites-sortable-favorite-button2"
|
|
@@ -20593,7 +20581,7 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20593
20581
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
20594
20582
|
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20595
20583
|
<button
|
|
20596
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20584
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
20597
20585
|
type="button"
|
|
20598
20586
|
aria-label="Not starred"
|
|
20599
20587
|
id="table-favorites-sortable-favorite-button4"
|
|
@@ -20620,7 +20608,7 @@ For sticky columns to function correctly, the parent table's width must be contr
|
|
|
20620
20608
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
20621
20609
|
<td class="pf-v6-c-table__td pf-v6-c-table__favorite" role="cell">
|
|
20622
20610
|
<button
|
|
20623
|
-
class="pf-v6-c-button pf-m-plain"
|
|
20611
|
+
class="pf-v6-c-button pf-m-favorite pf-m-plain"
|
|
20624
20612
|
type="button"
|
|
20625
20613
|
aria-label="Not starred"
|
|
20626
20614
|
id="table-favorites-sortable-favorite-button5"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/patternfly",
|
|
3
3
|
"description": "Assets, source, tooling, and content for PatternFly 4",
|
|
4
|
-
"version": "6.2.0-prerelease.
|
|
4
|
+
"version": "6.2.0-prerelease.20",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@commitlint/config-conventional": "^19.1.0",
|
|
48
48
|
"@fortawesome/fontawesome": "^1.1.8",
|
|
49
49
|
"@octokit/rest": "^20.1.0",
|
|
50
|
-
"@patternfly/documentation-framework": "6.5.
|
|
50
|
+
"@patternfly/documentation-framework": "6.5.18",
|
|
51
51
|
"@patternfly/patternfly-a11y": "5.0.0",
|
|
52
52
|
"@patternfly/react-code-editor": "6.1.0",
|
|
53
53
|
"@patternfly/react-core": "6.1.0",
|
|
@@ -9135,6 +9135,12 @@ button.pf-v6-c-breadcrumb__link {
|
|
|
9135
9135
|
--pf-v6-c-button__icon--m-end--MarginInlineStart: 0;
|
|
9136
9136
|
--pf-v6-c-button--m-notify__icon--AnimationDuration--notify: var(--pf-t--global--motion--duration--3xl);
|
|
9137
9137
|
--pf-v6-c-button--m-notify__icon--AnimationTimingFunction--notify: var(--pf-t--global--motion--timing-function--default);
|
|
9138
|
+
--pf-v6-c-button--m-favorite__icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
9139
|
+
--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
9140
|
+
--pf-v6-c-button--m-favorited__icon--Color: var(--pf-t--global--color--favorite--default);
|
|
9141
|
+
--pf-v6-c-button--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
9142
|
+
--pf-v6-c-button--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
9143
|
+
--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
9138
9144
|
--pf-v6-c-button__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm));
|
|
9139
9145
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
9140
9146
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
@@ -9444,6 +9450,20 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
9444
9450
|
--pf-v6-c-button--PaddingInlineStart: var(--pf-v6-c-button--m-display-lg--PaddingInlineStart);
|
|
9445
9451
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-button--m-display-lg--FontSize);
|
|
9446
9452
|
}
|
|
9453
|
+
.pf-v6-c-button.pf-m-favorite .pf-v6-c-button__icon {
|
|
9454
|
+
transition-timing-function: var(--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction);
|
|
9455
|
+
transition-duration: var(--pf-v6-c-button--m-favorite__icon--TransitionDuration);
|
|
9456
|
+
transition-property: color;
|
|
9457
|
+
}
|
|
9458
|
+
.pf-v6-c-button.pf-m-favorited {
|
|
9459
|
+
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-favorited__icon--Color);
|
|
9460
|
+
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-button--m-favorited--hover__icon--Color);
|
|
9461
|
+
}
|
|
9462
|
+
.pf-v6-c-button.pf-m-favorited .pf-v6-c-button__icon {
|
|
9463
|
+
animation-name: pf-v6-c-button-icon-favorited;
|
|
9464
|
+
animation-duration: var(--pf-v6-c-button--m-favorited__icon--AnimationDuration);
|
|
9465
|
+
animation-timing-function: var(--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction);
|
|
9466
|
+
}
|
|
9447
9467
|
.pf-v6-c-button:hover, .pf-v6-c-button:focus {
|
|
9448
9468
|
--pf-v6-c-button--Color: var(--pf-v6-c-button--hover--Color);
|
|
9449
9469
|
--pf-v6-c-button--BackgroundColor: var(--pf-v6-c-button--hover--BackgroundColor);
|
|
@@ -9542,6 +9562,11 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
9542
9562
|
transform: rotate(-60deg);
|
|
9543
9563
|
}
|
|
9544
9564
|
}
|
|
9565
|
+
@keyframes pf-v6-c-button-icon-favorited {
|
|
9566
|
+
50% {
|
|
9567
|
+
transform: scale(1.5);
|
|
9568
|
+
}
|
|
9569
|
+
}
|
|
9545
9570
|
.pf-v6-c-calendar-month {
|
|
9546
9571
|
--pf-v6-c-calendar-month--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
9547
9572
|
--pf-v6-c-calendar-month--PaddingBlockStart: var(--pf-t--global--spacer--lg);
|
|
@@ -17512,16 +17537,16 @@ ul.pf-v6-c-list {
|
|
|
17512
17537
|
opacity: 0;
|
|
17513
17538
|
}
|
|
17514
17539
|
|
|
17515
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button,
|
|
17540
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover, .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited),
|
|
17516
17541
|
.pf-v6-c-menu__item-action.pf-m-favorited,
|
|
17517
17542
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover,
|
|
17518
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button {
|
|
17543
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
17519
17544
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
17520
17545
|
}
|
|
17521
|
-
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:is(:hover, :focus),
|
|
17546
|
+
.pf-v6-c-menu__item-toggle-icon.pf-m-favorited:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited:hover:is(:hover, :focus), .pf-v6-c-menu__item-toggle-icon.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus),
|
|
17522
17547
|
.pf-v6-c-menu__item-action.pf-m-favorited:is(:hover, :focus),
|
|
17523
17548
|
.pf-v6-c-menu__item-action.pf-m-favorited:hover:is(:hover, :focus),
|
|
17524
|
-
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
17549
|
+
.pf-v6-c-menu__item-action.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
17525
17550
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-menu__item-action--m-favorited--Color);
|
|
17526
17551
|
}
|
|
17527
17552
|
|
|
@@ -22177,7 +22202,9 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
22177
22202
|
--pf-v6-c-switch__toggle--before--Height: var(--pf-v6-c-switch__toggle--before--Width);
|
|
22178
22203
|
--pf-v6-c-switch__toggle--before--InsetInlineStart: calc((var(--pf-v6-c-switch__toggle--Height) - var(--pf-v6-c-switch__toggle--before--Height)) / 2);
|
|
22179
22204
|
--pf-v6-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
22180
|
-
--pf-v6-c-switch__toggle--before--
|
|
22205
|
+
--pf-v6-c-switch__toggle--before--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
22206
|
+
--pf-v6-c-switch__toggle--before--TransitionDuration: var(--pf-t--global--motion--duration--md);
|
|
22207
|
+
--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);
|
|
22181
22208
|
--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));
|
|
22182
22209
|
}
|
|
22183
22210
|
|
|
@@ -24492,13 +24519,13 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
24492
24519
|
vertical-align: baseline;
|
|
24493
24520
|
}
|
|
24494
24521
|
|
|
24495
|
-
.pf-v6-c-table__favorite .pf-v6-c-button {
|
|
24522
|
+
.pf-v6-c-table__favorite .pf-v6-c-button:not(.pf-m-favorite) {
|
|
24496
24523
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-table__favorite--c-button--FontSize);
|
|
24497
24524
|
}
|
|
24498
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button {
|
|
24525
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited) {
|
|
24499
24526
|
--pf-v6-c-button--m-plain__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
|
24500
24527
|
}
|
|
24501
|
-
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:is(:hover, :focus) {
|
|
24528
|
+
.pf-v6-c-table__favorite.pf-m-favorited .pf-v6-c-button:not(.pf-m-favorited):is(:hover, :focus) {
|
|
24502
24529
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-table__favorite--m-favorited--c-button--Color);
|
|
24503
24530
|
}
|
|
24504
24531
|
|