@patternfly/patternfly 6.3.0-prerelease.13 → 6.3.0-prerelease.14
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/images/icon-outlined-star.hbs +3 -0
- package/assets/images/icon-star.hbs +3 -0
- package/components/Accordion/accordion.css +17 -2
- package/components/Accordion/accordion.scss +17 -2
- package/components/Button/button.css +27 -0
- package/components/Button/button.scss +30 -1
- package/components/Timestamp/timestamp.css +4 -0
- package/components/Timestamp/timestamp.scss +7 -0
- package/components/Truncate/truncate.css +1 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/_index.css +49 -2
- package/docs/components/Button/examples/Button.md +60 -2
- package/docs/components/Menu/examples/Menu.md +120 -4
- package/docs/components/Table/examples/Table.md +300 -10
- package/package.json +2 -2
- package/patternfly-no-globals.css +49 -2
- package/patternfly.css +49 -2
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg class="pf-v6-svg" viewBox="0 0 576 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em">
|
|
2
|
+
<path d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg class="pf-v6-svg" viewBox="0 0 576 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em">
|
|
2
|
+
<path d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path>
|
|
3
|
+
</svg>
|
|
@@ -178,7 +178,12 @@
|
|
|
178
178
|
scale: -1 1;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
+
.pf-v6-c-accordion__expandable-content:where([hidden]) {
|
|
182
|
+
display: revert;
|
|
183
|
+
}
|
|
184
|
+
|
|
181
185
|
.pf-v6-c-accordion__expandable-content {
|
|
186
|
+
display: none;
|
|
182
187
|
margin-block-end: var(--pf-v6-c-accordion__expandable-content--MarginBlockEnd);
|
|
183
188
|
margin-inline-start: var(--pf-v6-c-accordion__expandable-content--MarginInlineStart);
|
|
184
189
|
margin-inline-end: var(--pf-v6-c-accordion__expandable-content--MarginInlineEnd);
|
|
@@ -188,14 +193,24 @@
|
|
|
188
193
|
border-radius: var(--pf-v6-c-accordion__expandable-content--BorderRadius);
|
|
189
194
|
opacity: var(--pf-v6-c-accordion__expandable-content--Opacity);
|
|
190
195
|
transition-timing-function: var(--pf-v6-c-accordion__expandable-content--TransitionTimingFunction);
|
|
191
|
-
transition-duration: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--slide);
|
|
192
|
-
transition-property: opacity, translate;
|
|
196
|
+
transition-duration: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--slide), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade);
|
|
197
|
+
transition-property: opacity, translate, display;
|
|
198
|
+
transition-behavior: allow-discrete;
|
|
193
199
|
translate: 0 var(--pf-v6-c-accordion__expandable-content--TranslateY);
|
|
194
200
|
}
|
|
195
201
|
.pf-v6-c-accordion__expandable-content.pf-m-fixed {
|
|
196
202
|
max-height: var(--pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight);
|
|
197
203
|
overflow-y: auto;
|
|
198
204
|
}
|
|
205
|
+
.pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
|
|
206
|
+
display: revert;
|
|
207
|
+
}
|
|
208
|
+
@starting-style {
|
|
209
|
+
.pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
|
|
210
|
+
--pf-v6-c-accordion__expandable-content--Opacity: 0;
|
|
211
|
+
--pf-v6-c-accordion__expandable-content--TranslateY: -.5rem;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
199
214
|
|
|
200
215
|
.pf-v6-c-accordion__expandable-content-body {
|
|
201
216
|
padding-block-start: var(--pf-v6-c-accordion__expandable-content-body--PaddingBlockStart);
|
|
@@ -207,7 +207,12 @@
|
|
|
207
207
|
transition: var(--#{$accordion}__toggle-icon--Transition); // TODO remove shorthand property in breaking change
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
.#{$accordion}__expandable-content:where([hidden]) {
|
|
211
|
+
display: revert;
|
|
212
|
+
}
|
|
213
|
+
|
|
210
214
|
.#{$accordion}__expandable-content {
|
|
215
|
+
display: none;
|
|
211
216
|
margin-block-end: var(--#{$accordion}__expandable-content--MarginBlockEnd);
|
|
212
217
|
margin-inline-start: var(--#{$accordion}__expandable-content--MarginInlineStart);
|
|
213
218
|
margin-inline-end: var(--#{$accordion}__expandable-content--MarginInlineEnd);
|
|
@@ -217,14 +222,24 @@
|
|
|
217
222
|
border-radius: var(--#{$accordion}__expandable-content--BorderRadius);
|
|
218
223
|
opacity: var(--#{$accordion}__expandable-content--Opacity);
|
|
219
224
|
transition-timing-function: var(--#{$accordion}__expandable-content--TransitionTimingFunction);
|
|
220
|
-
transition-duration: var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--slide);
|
|
221
|
-
transition-property: opacity, translate;
|
|
225
|
+
transition-duration: var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--slide), var(--#{$accordion}__expandable-content--TransitionDuration--fade);
|
|
226
|
+
transition-property: opacity, translate, display;
|
|
227
|
+
transition-behavior: allow-discrete;
|
|
222
228
|
translate: 0 var(--#{$accordion}__expandable-content--TranslateY);
|
|
223
229
|
|
|
224
230
|
&.pf-m-fixed {
|
|
225
231
|
max-height: var(--#{$accordion}__expandable-content--m-fixed--MaxHeight);
|
|
226
232
|
overflow-y: auto;
|
|
227
233
|
}
|
|
234
|
+
|
|
235
|
+
.#{$accordion}__item.pf-m-expanded & {
|
|
236
|
+
display: revert;
|
|
237
|
+
|
|
238
|
+
@starting-style {
|
|
239
|
+
--#{$accordion}__expandable-content--Opacity: 0;
|
|
240
|
+
--#{$accordion}__expandable-content--TranslateY: -.5rem;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
228
243
|
}
|
|
229
244
|
|
|
230
245
|
.#{$accordion}__expandable-content-body {
|
|
@@ -243,6 +243,11 @@
|
|
|
243
243
|
--pf-v6-c-button--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
244
244
|
--pf-v6-c-button--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
245
245
|
--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
246
|
+
--pf-v6-c-button__icon--favorite--Opacity: 1;
|
|
247
|
+
--pf-v6-c-button__icon--favorited--Opacity: 0;
|
|
248
|
+
--pf-v6-c-button--m-favorited__icon--favorite--Opacity: 0;
|
|
249
|
+
--pf-v6-c-button--m-favorited__icon--favorited--Opacity: 1;
|
|
250
|
+
--pf-v6-c-button__icon--favorite--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
246
251
|
--pf-v6-c-button__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm));
|
|
247
252
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
248
253
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
@@ -553,6 +558,7 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
553
558
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-button--m-display-lg--FontSize);
|
|
554
559
|
}
|
|
555
560
|
.pf-v6-c-button.pf-m-favorite .pf-v6-c-button__icon {
|
|
561
|
+
display: grid;
|
|
556
562
|
transition-timing-function: var(--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction);
|
|
557
563
|
transition-duration: var(--pf-v6-c-button--m-favorite__icon--TransitionDuration);
|
|
558
564
|
transition-property: color;
|
|
@@ -560,6 +566,8 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
560
566
|
.pf-v6-c-button.pf-m-favorited {
|
|
561
567
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-favorited__icon--Color);
|
|
562
568
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-button--m-favorited--hover__icon--Color);
|
|
569
|
+
--pf-v6-c-button__icon--favorite--Opacity: var(--pf-v6-c-button--m-favorited__icon--favorite--Opacity);
|
|
570
|
+
--pf-v6-c-button__icon--favorited--Opacity: var(--pf-v6-c-button--m-favorited__icon--favorited--Opacity);
|
|
563
571
|
}
|
|
564
572
|
.pf-v6-c-button.pf-m-favorited .pf-v6-c-button__icon {
|
|
565
573
|
animation-name: pf-v6-c-button-icon-favorited;
|
|
@@ -639,6 +647,21 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
639
647
|
--pf-v6-c-button__icon--MarginInlineStart: var(--pf-v6-c-button__icon--m-end--MarginInlineStart);
|
|
640
648
|
}
|
|
641
649
|
|
|
650
|
+
.pf-v6-c-button__icon-favorite,
|
|
651
|
+
.pf-v6-c-button__icon-favorited {
|
|
652
|
+
grid-area: 1/1/1/1;
|
|
653
|
+
transition-duration: var(--pf-v6-c-button__icon--favorite--TransitionDuration);
|
|
654
|
+
transition-property: opacity;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.pf-v6-c-button__icon-favorite {
|
|
658
|
+
opacity: var(--pf-v6-c-button__icon--favorite--Opacity);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.pf-v6-c-button__icon-favorited {
|
|
662
|
+
opacity: var(--pf-v6-c-button__icon--favorited--Opacity);
|
|
663
|
+
}
|
|
664
|
+
|
|
642
665
|
.pf-v6-c-button__progress {
|
|
643
666
|
position: absolute;
|
|
644
667
|
inset-block-start: var(--pf-v6-c-button__progress--InsetBlockStart);
|
|
@@ -651,6 +674,10 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
651
674
|
--pf-v6-c-spinner--Color: currentcolor;
|
|
652
675
|
}
|
|
653
676
|
|
|
677
|
+
.pf-v6-c-button__text {
|
|
678
|
+
text-decoration: inherit;
|
|
679
|
+
}
|
|
680
|
+
|
|
654
681
|
.pf-v6-c-button__count {
|
|
655
682
|
display: inline-flex;
|
|
656
683
|
align-items: center;
|
|
@@ -289,6 +289,11 @@
|
|
|
289
289
|
--#{$button}--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
290
290
|
--#{$button}--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
291
291
|
--#{$button}--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
292
|
+
--#{$button}__icon--favorite--Opacity: 1;
|
|
293
|
+
--#{$button}__icon--favorited--Opacity: 0;
|
|
294
|
+
--#{$button}--m-favorited__icon--favorite--Opacity: 0;
|
|
295
|
+
--#{$button}--m-favorited__icon--favorited--Opacity: 1;
|
|
296
|
+
--#{$button}__icon--favorite--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
292
297
|
|
|
293
298
|
// Progress
|
|
294
299
|
--#{$button}__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm)); // matches medium spinner diameter plus a spacer
|
|
@@ -641,8 +646,8 @@
|
|
|
641
646
|
--#{$button}--FontSize: var(--#{$button}--m-display-lg--FontSize);
|
|
642
647
|
}
|
|
643
648
|
|
|
644
|
-
// Favorite button icon will transition color
|
|
645
649
|
&.pf-m-favorite .#{$button}__icon {
|
|
650
|
+
display: grid;
|
|
646
651
|
transition-timing-function: var(--#{$button}--m-favorite__icon--TransitionTimingFunction);
|
|
647
652
|
transition-duration: var(--#{$button}--m-favorite__icon--TransitionDuration);
|
|
648
653
|
transition-property: color;
|
|
@@ -652,6 +657,8 @@
|
|
|
652
657
|
&.pf-m-favorited {
|
|
653
658
|
--#{$button}__icon--Color: var(--#{$button}--m-favorited__icon--Color);
|
|
654
659
|
--#{$button}--hover__icon--Color: var(--#{$button}--m-favorited--hover__icon--Color);
|
|
660
|
+
--#{$button}__icon--favorite--Opacity: var(--#{$button}--m-favorited__icon--favorite--Opacity);
|
|
661
|
+
--#{$button}__icon--favorited--Opacity: var(--#{$button}--m-favorited__icon--favorited--Opacity);
|
|
655
662
|
}
|
|
656
663
|
|
|
657
664
|
// Favorite button will run an animation when favorited
|
|
@@ -757,6 +764,21 @@
|
|
|
757
764
|
}
|
|
758
765
|
}
|
|
759
766
|
|
|
767
|
+
.#{$button}__icon-favorite,
|
|
768
|
+
.#{$button}__icon-favorited {
|
|
769
|
+
grid-area: 1 / 1 / 1 / 1;
|
|
770
|
+
transition-duration: var(--#{$button}__icon--favorite--TransitionDuration);
|
|
771
|
+
transition-property: opacity;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.#{$button}__icon-favorite {
|
|
775
|
+
opacity: var(--#{$button}__icon--favorite--Opacity);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.#{$button}__icon-favorited {
|
|
779
|
+
opacity: var(--#{$button}__icon--favorited--Opacity);
|
|
780
|
+
}
|
|
781
|
+
|
|
760
782
|
.#{$button}__progress {
|
|
761
783
|
position: absolute;
|
|
762
784
|
inset-block-start: var(--#{$button}__progress--InsetBlockStart);
|
|
@@ -770,6 +792,13 @@
|
|
|
770
792
|
}
|
|
771
793
|
}
|
|
772
794
|
|
|
795
|
+
// enable inline link to have underline when used with truncate
|
|
796
|
+
.#{$button}__text {
|
|
797
|
+
// stylelint-disable property-disallowed-list
|
|
798
|
+
text-decoration: inherit;
|
|
799
|
+
// stylelint-enable property-disallowed-list
|
|
800
|
+
}
|
|
801
|
+
|
|
773
802
|
.#{$button}__count {
|
|
774
803
|
display: inline-flex;
|
|
775
804
|
align-items: center;
|
|
@@ -28,4 +28,8 @@
|
|
|
28
28
|
--pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--hover--Color);
|
|
29
29
|
--pf-v6-c-timestamp--m-help-text--TextDecorationLine: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationLine);
|
|
30
30
|
--pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.pf-v6-c-timestamp__text {
|
|
34
|
+
text-decoration: inherit;
|
|
31
35
|
}
|
|
@@ -36,3 +36,10 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
// enable timestamp with tooltip to have dashed underline when used with truncate
|
|
41
|
+
.#{$timestamp}__text {
|
|
42
|
+
// stylelint-disable property-disallowed-list
|
|
43
|
+
text-decoration: inherit;
|
|
44
|
+
// stylelint-enable property-disallowed-list
|
|
45
|
+
}
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
grid-auto-flow: column;
|
|
11
11
|
align-items: baseline;
|
|
12
12
|
min-width: var(--#{$truncate}--MinWidth);
|
|
13
|
+
// stylelint-disable property-disallowed-list
|
|
14
|
+
text-decoration: inherit; // enable inline link to have underline
|
|
15
|
+
// stylelint-enable property-disallowed-list
|
|
13
16
|
|
|
14
17
|
&.pf-m-fixed {
|
|
15
18
|
display: inline;
|
package/components/_index.css
CHANGED
|
@@ -371,7 +371,12 @@
|
|
|
371
371
|
scale: -1 1;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
+
.pf-v6-c-accordion__expandable-content:where([hidden]) {
|
|
375
|
+
display: revert;
|
|
376
|
+
}
|
|
377
|
+
|
|
374
378
|
.pf-v6-c-accordion__expandable-content {
|
|
379
|
+
display: none;
|
|
375
380
|
margin-block-end: var(--pf-v6-c-accordion__expandable-content--MarginBlockEnd);
|
|
376
381
|
margin-inline-start: var(--pf-v6-c-accordion__expandable-content--MarginInlineStart);
|
|
377
382
|
margin-inline-end: var(--pf-v6-c-accordion__expandable-content--MarginInlineEnd);
|
|
@@ -381,14 +386,24 @@
|
|
|
381
386
|
border-radius: var(--pf-v6-c-accordion__expandable-content--BorderRadius);
|
|
382
387
|
opacity: var(--pf-v6-c-accordion__expandable-content--Opacity);
|
|
383
388
|
transition-timing-function: var(--pf-v6-c-accordion__expandable-content--TransitionTimingFunction);
|
|
384
|
-
transition-duration: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--slide);
|
|
385
|
-
transition-property: opacity, translate;
|
|
389
|
+
transition-duration: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--slide), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade);
|
|
390
|
+
transition-property: opacity, translate, display;
|
|
391
|
+
transition-behavior: allow-discrete;
|
|
386
392
|
translate: 0 var(--pf-v6-c-accordion__expandable-content--TranslateY);
|
|
387
393
|
}
|
|
388
394
|
.pf-v6-c-accordion__expandable-content.pf-m-fixed {
|
|
389
395
|
max-height: var(--pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight);
|
|
390
396
|
overflow-y: auto;
|
|
391
397
|
}
|
|
398
|
+
.pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
|
|
399
|
+
display: revert;
|
|
400
|
+
}
|
|
401
|
+
@starting-style {
|
|
402
|
+
.pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
|
|
403
|
+
--pf-v6-c-accordion__expandable-content--Opacity: 0;
|
|
404
|
+
--pf-v6-c-accordion__expandable-content--TranslateY: -.5rem;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
392
407
|
|
|
393
408
|
.pf-v6-c-accordion__expandable-content-body {
|
|
394
409
|
padding-block-start: var(--pf-v6-c-accordion__expandable-content-body--PaddingBlockStart);
|
|
@@ -1757,6 +1772,11 @@ button.pf-v6-c-breadcrumb__link {
|
|
|
1757
1772
|
--pf-v6-c-button--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
1758
1773
|
--pf-v6-c-button--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
1759
1774
|
--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
1775
|
+
--pf-v6-c-button__icon--favorite--Opacity: 1;
|
|
1776
|
+
--pf-v6-c-button__icon--favorited--Opacity: 0;
|
|
1777
|
+
--pf-v6-c-button--m-favorited__icon--favorite--Opacity: 0;
|
|
1778
|
+
--pf-v6-c-button--m-favorited__icon--favorited--Opacity: 1;
|
|
1779
|
+
--pf-v6-c-button__icon--favorite--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
1760
1780
|
--pf-v6-c-button__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm));
|
|
1761
1781
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
1762
1782
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
@@ -2067,6 +2087,7 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2067
2087
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-button--m-display-lg--FontSize);
|
|
2068
2088
|
}
|
|
2069
2089
|
.pf-v6-c-button.pf-m-favorite .pf-v6-c-button__icon {
|
|
2090
|
+
display: grid;
|
|
2070
2091
|
transition-timing-function: var(--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction);
|
|
2071
2092
|
transition-duration: var(--pf-v6-c-button--m-favorite__icon--TransitionDuration);
|
|
2072
2093
|
transition-property: color;
|
|
@@ -2074,6 +2095,8 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2074
2095
|
.pf-v6-c-button.pf-m-favorited {
|
|
2075
2096
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-favorited__icon--Color);
|
|
2076
2097
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-button--m-favorited--hover__icon--Color);
|
|
2098
|
+
--pf-v6-c-button__icon--favorite--Opacity: var(--pf-v6-c-button--m-favorited__icon--favorite--Opacity);
|
|
2099
|
+
--pf-v6-c-button__icon--favorited--Opacity: var(--pf-v6-c-button--m-favorited__icon--favorited--Opacity);
|
|
2077
2100
|
}
|
|
2078
2101
|
.pf-v6-c-button.pf-m-favorited .pf-v6-c-button__icon {
|
|
2079
2102
|
animation-name: pf-v6-c-button-icon-favorited;
|
|
@@ -2153,6 +2176,21 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2153
2176
|
--pf-v6-c-button__icon--MarginInlineStart: var(--pf-v6-c-button__icon--m-end--MarginInlineStart);
|
|
2154
2177
|
}
|
|
2155
2178
|
|
|
2179
|
+
.pf-v6-c-button__icon-favorite,
|
|
2180
|
+
.pf-v6-c-button__icon-favorited {
|
|
2181
|
+
grid-area: 1/1/1/1;
|
|
2182
|
+
transition-duration: var(--pf-v6-c-button__icon--favorite--TransitionDuration);
|
|
2183
|
+
transition-property: opacity;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
.pf-v6-c-button__icon-favorite {
|
|
2187
|
+
opacity: var(--pf-v6-c-button__icon--favorite--Opacity);
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
.pf-v6-c-button__icon-favorited {
|
|
2191
|
+
opacity: var(--pf-v6-c-button__icon--favorited--Opacity);
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2156
2194
|
.pf-v6-c-button__progress {
|
|
2157
2195
|
position: absolute;
|
|
2158
2196
|
inset-block-start: var(--pf-v6-c-button__progress--InsetBlockStart);
|
|
@@ -2165,6 +2203,10 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2165
2203
|
--pf-v6-c-spinner--Color: currentcolor;
|
|
2166
2204
|
}
|
|
2167
2205
|
|
|
2206
|
+
.pf-v6-c-button__text {
|
|
2207
|
+
text-decoration: inherit;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2168
2210
|
.pf-v6-c-button__count {
|
|
2169
2211
|
display: inline-flex;
|
|
2170
2212
|
align-items: center;
|
|
@@ -19681,6 +19723,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
19681
19723
|
--pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle);
|
|
19682
19724
|
}
|
|
19683
19725
|
|
|
19726
|
+
.pf-v6-c-timestamp__text {
|
|
19727
|
+
text-decoration: inherit;
|
|
19728
|
+
}
|
|
19729
|
+
|
|
19684
19730
|
.pf-v6-c-title {
|
|
19685
19731
|
--pf-v6-c-title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
19686
19732
|
--pf-v6-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
@@ -21955,6 +22001,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
21955
22001
|
grid-auto-flow: column;
|
|
21956
22002
|
align-items: baseline;
|
|
21957
22003
|
min-width: var(--pf-v6-c-truncate--MinWidth);
|
|
22004
|
+
text-decoration: inherit;
|
|
21958
22005
|
}
|
|
21959
22006
|
.pf-v6-c-truncate.pf-m-fixed {
|
|
21960
22007
|
display: inline;
|
|
@@ -2022,7 +2022,36 @@ A favorite button should use a plain button with the star icon. Applying `.pf-m-
|
|
|
2022
2022
|
aria-label="not starred"
|
|
2023
2023
|
>
|
|
2024
2024
|
<span class="pf-v6-c-button__icon">
|
|
2025
|
-
<
|
|
2025
|
+
<span class="pf-v6-c-button__icon-favorite">
|
|
2026
|
+
<svg
|
|
2027
|
+
class="pf-v6-svg"
|
|
2028
|
+
viewBox="0 0 576 512"
|
|
2029
|
+
fill="currentColor"
|
|
2030
|
+
aria-hidden="true"
|
|
2031
|
+
role="img"
|
|
2032
|
+
width="1em"
|
|
2033
|
+
height="1em"
|
|
2034
|
+
>
|
|
2035
|
+
<path
|
|
2036
|
+
d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
|
|
2037
|
+
/>
|
|
2038
|
+
</svg>
|
|
2039
|
+
</span>
|
|
2040
|
+
<span class="pf-v6-c-button__icon-favorited">
|
|
2041
|
+
<svg
|
|
2042
|
+
class="pf-v6-svg"
|
|
2043
|
+
viewBox="0 0 576 512"
|
|
2044
|
+
fill="currentColor"
|
|
2045
|
+
aria-hidden="true"
|
|
2046
|
+
role="img"
|
|
2047
|
+
width="1em"
|
|
2048
|
+
height="1em"
|
|
2049
|
+
>
|
|
2050
|
+
<path
|
|
2051
|
+
d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
|
|
2052
|
+
/>
|
|
2053
|
+
</svg>
|
|
2054
|
+
</span>
|
|
2026
2055
|
</span>
|
|
2027
2056
|
</button>
|
|
2028
2057
|
<button
|
|
@@ -2031,7 +2060,36 @@ A favorite button should use a plain button with the star icon. Applying `.pf-m-
|
|
|
2031
2060
|
aria-label="starred"
|
|
2032
2061
|
>
|
|
2033
2062
|
<span class="pf-v6-c-button__icon">
|
|
2034
|
-
<
|
|
2063
|
+
<span class="pf-v6-c-button__icon-favorite">
|
|
2064
|
+
<svg
|
|
2065
|
+
class="pf-v6-svg"
|
|
2066
|
+
viewBox="0 0 576 512"
|
|
2067
|
+
fill="currentColor"
|
|
2068
|
+
aria-hidden="true"
|
|
2069
|
+
role="img"
|
|
2070
|
+
width="1em"
|
|
2071
|
+
height="1em"
|
|
2072
|
+
>
|
|
2073
|
+
<path
|
|
2074
|
+
d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
|
|
2075
|
+
/>
|
|
2076
|
+
</svg>
|
|
2077
|
+
</span>
|
|
2078
|
+
<span class="pf-v6-c-button__icon-favorited">
|
|
2079
|
+
<svg
|
|
2080
|
+
class="pf-v6-svg"
|
|
2081
|
+
viewBox="0 0 576 512"
|
|
2082
|
+
fill="currentColor"
|
|
2083
|
+
aria-hidden="true"
|
|
2084
|
+
role="img"
|
|
2085
|
+
width="1em"
|
|
2086
|
+
height="1em"
|
|
2087
|
+
>
|
|
2088
|
+
<path
|
|
2089
|
+
d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
|
|
2090
|
+
/>
|
|
2091
|
+
</svg>
|
|
2092
|
+
</span>
|
|
2035
2093
|
</span>
|
|
2036
2094
|
</button>
|
|
2037
2095
|
|
|
@@ -5648,7 +5648,36 @@ cssPrefix: pf-v6-c-menu
|
|
|
5648
5648
|
aria-label="Starred"
|
|
5649
5649
|
>
|
|
5650
5650
|
<span class="pf-v6-c-button__icon">
|
|
5651
|
-
<
|
|
5651
|
+
<span class="pf-v6-c-button__icon-favorite">
|
|
5652
|
+
<svg
|
|
5653
|
+
class="pf-v6-svg"
|
|
5654
|
+
viewBox="0 0 576 512"
|
|
5655
|
+
fill="currentColor"
|
|
5656
|
+
aria-hidden="true"
|
|
5657
|
+
role="img"
|
|
5658
|
+
width="1em"
|
|
5659
|
+
height="1em"
|
|
5660
|
+
>
|
|
5661
|
+
<path
|
|
5662
|
+
d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
|
|
5663
|
+
/>
|
|
5664
|
+
</svg>
|
|
5665
|
+
</span>
|
|
5666
|
+
<span class="pf-v6-c-button__icon-favorited">
|
|
5667
|
+
<svg
|
|
5668
|
+
class="pf-v6-svg"
|
|
5669
|
+
viewBox="0 0 576 512"
|
|
5670
|
+
fill="currentColor"
|
|
5671
|
+
aria-hidden="true"
|
|
5672
|
+
role="img"
|
|
5673
|
+
width="1em"
|
|
5674
|
+
height="1em"
|
|
5675
|
+
>
|
|
5676
|
+
<path
|
|
5677
|
+
d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
|
|
5678
|
+
/>
|
|
5679
|
+
</svg>
|
|
5680
|
+
</span>
|
|
5652
5681
|
</span>
|
|
5653
5682
|
</button>
|
|
5654
5683
|
</div>
|
|
@@ -5674,7 +5703,36 @@ cssPrefix: pf-v6-c-menu
|
|
|
5674
5703
|
aria-label="Starred"
|
|
5675
5704
|
>
|
|
5676
5705
|
<span class="pf-v6-c-button__icon">
|
|
5677
|
-
<
|
|
5706
|
+
<span class="pf-v6-c-button__icon-favorite">
|
|
5707
|
+
<svg
|
|
5708
|
+
class="pf-v6-svg"
|
|
5709
|
+
viewBox="0 0 576 512"
|
|
5710
|
+
fill="currentColor"
|
|
5711
|
+
aria-hidden="true"
|
|
5712
|
+
role="img"
|
|
5713
|
+
width="1em"
|
|
5714
|
+
height="1em"
|
|
5715
|
+
>
|
|
5716
|
+
<path
|
|
5717
|
+
d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
|
|
5718
|
+
/>
|
|
5719
|
+
</svg>
|
|
5720
|
+
</span>
|
|
5721
|
+
<span class="pf-v6-c-button__icon-favorited">
|
|
5722
|
+
<svg
|
|
5723
|
+
class="pf-v6-svg"
|
|
5724
|
+
viewBox="0 0 576 512"
|
|
5725
|
+
fill="currentColor"
|
|
5726
|
+
aria-hidden="true"
|
|
5727
|
+
role="img"
|
|
5728
|
+
width="1em"
|
|
5729
|
+
height="1em"
|
|
5730
|
+
>
|
|
5731
|
+
<path
|
|
5732
|
+
d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
|
|
5733
|
+
/>
|
|
5734
|
+
</svg>
|
|
5735
|
+
</span>
|
|
5678
5736
|
</span>
|
|
5679
5737
|
</button>
|
|
5680
5738
|
</div>
|
|
@@ -5706,7 +5764,36 @@ cssPrefix: pf-v6-c-menu
|
|
|
5706
5764
|
disabled
|
|
5707
5765
|
>
|
|
5708
5766
|
<span class="pf-v6-c-button__icon">
|
|
5709
|
-
<
|
|
5767
|
+
<span class="pf-v6-c-button__icon-favorite">
|
|
5768
|
+
<svg
|
|
5769
|
+
class="pf-v6-svg"
|
|
5770
|
+
viewBox="0 0 576 512"
|
|
5771
|
+
fill="currentColor"
|
|
5772
|
+
aria-hidden="true"
|
|
5773
|
+
role="img"
|
|
5774
|
+
width="1em"
|
|
5775
|
+
height="1em"
|
|
5776
|
+
>
|
|
5777
|
+
<path
|
|
5778
|
+
d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
|
|
5779
|
+
/>
|
|
5780
|
+
</svg>
|
|
5781
|
+
</span>
|
|
5782
|
+
<span class="pf-v6-c-button__icon-favorited">
|
|
5783
|
+
<svg
|
|
5784
|
+
class="pf-v6-svg"
|
|
5785
|
+
viewBox="0 0 576 512"
|
|
5786
|
+
fill="currentColor"
|
|
5787
|
+
aria-hidden="true"
|
|
5788
|
+
role="img"
|
|
5789
|
+
width="1em"
|
|
5790
|
+
height="1em"
|
|
5791
|
+
>
|
|
5792
|
+
<path
|
|
5793
|
+
d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
|
|
5794
|
+
/>
|
|
5795
|
+
</svg>
|
|
5796
|
+
</span>
|
|
5710
5797
|
</span>
|
|
5711
5798
|
</button>
|
|
5712
5799
|
</div>
|
|
@@ -5734,7 +5821,36 @@ cssPrefix: pf-v6-c-menu
|
|
|
5734
5821
|
aria-label="Not starred"
|
|
5735
5822
|
>
|
|
5736
5823
|
<span class="pf-v6-c-button__icon">
|
|
5737
|
-
<
|
|
5824
|
+
<span class="pf-v6-c-button__icon-favorite">
|
|
5825
|
+
<svg
|
|
5826
|
+
class="pf-v6-svg"
|
|
5827
|
+
viewBox="0 0 576 512"
|
|
5828
|
+
fill="currentColor"
|
|
5829
|
+
aria-hidden="true"
|
|
5830
|
+
role="img"
|
|
5831
|
+
width="1em"
|
|
5832
|
+
height="1em"
|
|
5833
|
+
>
|
|
5834
|
+
<path
|
|
5835
|
+
d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
|
|
5836
|
+
/>
|
|
5837
|
+
</svg>
|
|
5838
|
+
</span>
|
|
5839
|
+
<span class="pf-v6-c-button__icon-favorited">
|
|
5840
|
+
<svg
|
|
5841
|
+
class="pf-v6-svg"
|
|
5842
|
+
viewBox="0 0 576 512"
|
|
5843
|
+
fill="currentColor"
|
|
5844
|
+
aria-hidden="true"
|
|
5845
|
+
role="img"
|
|
5846
|
+
width="1em"
|
|
5847
|
+
height="1em"
|
|
5848
|
+
>
|
|
5849
|
+
<path
|
|
5850
|
+
d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
|
|
5851
|
+
/>
|
|
5852
|
+
</svg>
|
|
5853
|
+
</span>
|
|
5738
5854
|
</span>
|
|
5739
5855
|
</button>
|
|
5740
5856
|
</div>
|