@patternfly/patternfly 6.3.0-prerelease.13 → 6.3.0-prerelease.15
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/ExpandableSection/expandable-section.css +19 -3
- package/components/ExpandableSection/expandable-section.scss +25 -7
- package/components/Table/table.css +33 -0
- package/components/Table/table.scss +33 -0
- 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 +101 -5
- 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 +101 -5
- package/patternfly.css +101 -5
- 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;
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
--pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
|
|
18
18
|
--pf-v6-c-expandable-section__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
19
19
|
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
20
|
-
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
21
20
|
--pf-v6-c-expandable-section__content--TranslateY: 0;
|
|
21
|
+
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
22
22
|
--pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
|
|
23
23
|
--pf-v6-c-expandable-section__content--MaxWidth: auto;
|
|
24
24
|
--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
|
@@ -104,9 +104,25 @@
|
|
|
104
104
|
max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
|
|
105
105
|
padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
|
|
106
106
|
padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart, 0);
|
|
107
|
+
}
|
|
108
|
+
.pf-v6-c-expandable-section__content:where([hidden]) {
|
|
109
|
+
display: revert;
|
|
110
|
+
}
|
|
111
|
+
.pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) .pf-v6-c-expandable-section__content {
|
|
112
|
+
display: none;
|
|
107
113
|
opacity: var(--pf-v6-c-expandable-section__content--Opacity);
|
|
108
114
|
transition-timing-function: var(--pf-v6-c-expandable-section__content--TransitionTimingFunction);
|
|
109
|
-
transition-duration: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade), var(--pf-v6-c-expandable-section__content--TransitionDuration--slide);
|
|
110
|
-
transition-property: opacity, translate;
|
|
115
|
+
transition-duration: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade), var(--pf-v6-c-expandable-section__content--TransitionDuration--slide), var(--pf-v6-c-expandable-section__content--TransitionDuration--fade);
|
|
116
|
+
transition-property: opacity, translate, display;
|
|
117
|
+
transition-behavior: allow-discrete;
|
|
111
118
|
translate: 0 var(--pf-v6-c-expandable-section__content--TranslateY);
|
|
119
|
+
}
|
|
120
|
+
.pf-v6-c-expandable-section.pf-m-expanded .pf-v6-c-expandable-section__content {
|
|
121
|
+
display: revert;
|
|
122
|
+
}
|
|
123
|
+
@starting-style {
|
|
124
|
+
.pf-v6-c-expandable-section.pf-m-expanded .pf-v6-c-expandable-section__content {
|
|
125
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
126
|
+
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
|
127
|
+
}
|
|
112
128
|
}
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
--#{$expandable-section}__content--TransitionDuration--fade: var(--#{$expandable-section}__content--TransitionDuration--collapse--fade);
|
|
22
22
|
--#{$expandable-section}__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
23
23
|
--#{$expandable-section}__content--Opacity: 0;
|
|
24
|
-
--#{$expandable-section}--m-expanded__content--Opacity: 1;
|
|
25
24
|
--#{$expandable-section}__content--TranslateY: 0;
|
|
25
|
+
--#{$expandable-section}--m-expanded__content--Opacity: 1;
|
|
26
26
|
--#{$expandable-section}--m-expanded__content--TranslateY: 0;
|
|
27
27
|
|
|
28
28
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
--#{$expandable-section}--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
50
50
|
--#{$expandable-section}--m-display-lg--TransitionDelay: var(--#{$expandable-section}__content--TransitionDuration--fade);
|
|
51
51
|
|
|
52
|
-
|
|
53
52
|
// Indented
|
|
54
53
|
--#{$expandable-section}--m-indented__content--PaddingInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) + var(--pf-t--global--spacer--gap--text-to-element--default) + var(--#{$expandable-section}__toggle-icon--MinWidth));
|
|
55
54
|
|
|
@@ -95,6 +94,7 @@
|
|
|
95
94
|
|
|
96
95
|
&.pf-m-truncate {
|
|
97
96
|
--#{$expandable-section}--Gap: var(--#{$expandable-section}--m-truncate--Gap);
|
|
97
|
+
|
|
98
98
|
&:not(.pf-m-expanded) .#{$expandable-section}__content {
|
|
99
99
|
// stylelint-disable
|
|
100
100
|
display: -webkit-box;
|
|
@@ -124,9 +124,27 @@
|
|
|
124
124
|
max-width: var(--#{$expandable-section}__content--MaxWidth);
|
|
125
125
|
padding-block-end: var(--#{$expandable-section}__content--PaddingBlockEnd, 0);
|
|
126
126
|
padding-inline-start: var(--#{$expandable-section}__content--PaddingInlineStart, 0);
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
127
|
+
|
|
128
|
+
&:where([hidden]) {
|
|
129
|
+
display: revert;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.#{$expandable-section}:where(:not(.pf-m-truncate)) & {
|
|
133
|
+
display: none;
|
|
134
|
+
opacity: var(--#{$expandable-section}__content--Opacity);
|
|
135
|
+
transition-timing-function: var(--#{$expandable-section}__content--TransitionTimingFunction);
|
|
136
|
+
transition-duration: var(--#{$expandable-section}__content--TransitionDuration--fade), var(--#{$expandable-section}__content--TransitionDuration--slide), var(--#{$expandable-section}__content--TransitionDuration--fade);
|
|
137
|
+
transition-property: opacity, translate, display;
|
|
138
|
+
transition-behavior: allow-discrete;
|
|
139
|
+
translate: 0 var(--#{$expandable-section}__content--TranslateY);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.#{$expandable-section}.pf-m-expanded & {
|
|
143
|
+
display: revert;
|
|
144
|
+
|
|
145
|
+
@starting-style {
|
|
146
|
+
--#{$expandable-section}__content--Opacity: 0;
|
|
147
|
+
--#{$expandable-section}__content--TranslateY: -.5rem;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
132
150
|
}
|
|
@@ -74,6 +74,17 @@
|
|
|
74
74
|
--pf-v6-c-table__action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
75
75
|
--pf-v6-c-table__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
76
76
|
--pf-v6-c-table__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
77
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: 0s;
|
|
78
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
79
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
80
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
81
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--slide: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide);
|
|
82
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--fade: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
|
83
|
+
--pf-v6-c-table__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
84
|
+
--pf-v6-c-table__expandable-row--Opacity: 0;
|
|
85
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity: 1;
|
|
86
|
+
--pf-v6-c-table__expandable-row--TranslateY: 0;
|
|
87
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY: 0;
|
|
77
88
|
--pf-v6-c-table__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
78
89
|
--pf-v6-c-table__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
79
90
|
--pf-v6-c-table__expandable-row-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -134,6 +145,13 @@
|
|
|
134
145
|
--pf-v6-c-table--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
135
146
|
--pf-v6-c-table--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
136
147
|
}
|
|
148
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
149
|
+
.pf-v6-c-table {
|
|
150
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
151
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
152
|
+
--pf-v6-c-table__expandable-row--TranslateY: -.5rem;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
137
155
|
|
|
138
156
|
.pf-v6-c-table {
|
|
139
157
|
width: 100%;
|
|
@@ -702,6 +720,12 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
702
720
|
.pf-v6-c-table__expandable-row {
|
|
703
721
|
position: relative;
|
|
704
722
|
border-block-end: 0 solid transparent;
|
|
723
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
724
|
+
transition-timing-function: var(--pf-v6-c-table__expandable-row--TransitionTimingFunction);
|
|
725
|
+
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--slide), var(--pf-v6-c-table__expandable-row--TransitionDuration--fade);
|
|
726
|
+
transition-property: opacity, translate, display;
|
|
727
|
+
transition-behavior: allow-discrete;
|
|
728
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
705
729
|
}
|
|
706
730
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
707
731
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
@@ -730,6 +754,15 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
730
754
|
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
731
755
|
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
|
732
756
|
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
|
757
|
+
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
|
758
|
+
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade);
|
|
759
|
+
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
|
760
|
+
}
|
|
761
|
+
@starting-style {
|
|
762
|
+
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
763
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
764
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
765
|
+
}
|
|
733
766
|
}
|
|
734
767
|
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
|
735
768
|
display: none;
|
|
@@ -118,6 +118,25 @@
|
|
|
118
118
|
--#{$table}__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
119
119
|
--#{$table}__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
120
120
|
|
|
121
|
+
// * Table expandable row
|
|
122
|
+
--#{$table}__expandable-row--TransitionDuration--expand--slide: 0s;
|
|
123
|
+
--#{$table}__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
124
|
+
--#{$table}__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
125
|
+
--#{$table}__expandable-row--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
126
|
+
--#{$table}__expandable-row--TransitionDuration--slide: var(--#{$table}__expandable-row--TransitionDuration--collapse--slide);
|
|
127
|
+
--#{$table}__expandable-row--TransitionDuration--fade: var(--#{$table}__expandable-row--TransitionDuration--collapse--fade);
|
|
128
|
+
--#{$table}__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
129
|
+
--#{$table}__expandable-row--Opacity: 0;
|
|
130
|
+
--#{$table}__tbody--m-expanded__expandable-row--Opacity: 1;
|
|
131
|
+
--#{$table}__expandable-row--TranslateY: 0;
|
|
132
|
+
--#{$table}__tbody--m-expanded__expandable-row--TranslateY: 0;
|
|
133
|
+
|
|
134
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
135
|
+
--#{$table}__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
136
|
+
--#{$table}__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
137
|
+
--#{$table}__expandable-row--TranslateY: -.5rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
121
140
|
// * Table expandable row content
|
|
122
141
|
--#{$table}__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
123
142
|
--#{$table}__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -953,6 +972,12 @@
|
|
|
953
972
|
.#{$table}__expandable-row {
|
|
954
973
|
position: relative;
|
|
955
974
|
border-block-end: 0 solid transparent;
|
|
975
|
+
opacity: var(--#{$table}__expandable-row--Opacity);
|
|
976
|
+
transition-timing-function: var(--#{$table}__expandable-row--TransitionTimingFunction);
|
|
977
|
+
transition-duration: var(--#{$table}__expandable-row--TransitionDuration--fade), var(--#{$table}__expandable-row--TransitionDuration--slide), var(--#{$table}__expandable-row--TransitionDuration--fade);
|
|
978
|
+
transition-property: opacity, translate, display;
|
|
979
|
+
transition-behavior: allow-discrete;
|
|
980
|
+
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
956
981
|
|
|
957
982
|
@at-root :not(.#{$table}__control-row) ~ .#{$table}__expandable-row {
|
|
958
983
|
> .#{$table}__th,
|
|
@@ -989,6 +1014,14 @@
|
|
|
989
1014
|
&.pf-m-expanded {
|
|
990
1015
|
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBlockEndColor);
|
|
991
1016
|
border-block-end-width: var(--#{$table}--border-width--base);
|
|
1017
|
+
opacity: var(--#{$table}__tbody--m-expanded__expandable-row--Opacity);
|
|
1018
|
+
transition-duration: var(--#{$table}__expandable-row--TransitionDuration--expand--fade), var(--#{$table}__expandable-row--TransitionDuration--expand--slide), var(--#{$table}__expandable-row--TransitionDuration--expand--fade);
|
|
1019
|
+
translate: 0 var(--#{$table}__tbody--m-expanded__expandable-row--TranslateY);
|
|
1020
|
+
|
|
1021
|
+
@starting-style {
|
|
1022
|
+
opacity: var(--#{$table}__expandable-row--Opacity);
|
|
1023
|
+
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
1024
|
+
}
|
|
992
1025
|
}
|
|
993
1026
|
|
|
994
1027
|
&:not(.pf-m-expanded) {
|
|
@@ -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;
|