@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
package/patternfly.css
CHANGED
|
@@ -7969,7 +7969,12 @@ button) {
|
|
|
7969
7969
|
scale: -1 1;
|
|
7970
7970
|
}
|
|
7971
7971
|
|
|
7972
|
+
.pf-v6-c-accordion__expandable-content:where([hidden]) {
|
|
7973
|
+
display: revert;
|
|
7974
|
+
}
|
|
7975
|
+
|
|
7972
7976
|
.pf-v6-c-accordion__expandable-content {
|
|
7977
|
+
display: none;
|
|
7973
7978
|
margin-block-end: var(--pf-v6-c-accordion__expandable-content--MarginBlockEnd);
|
|
7974
7979
|
margin-inline-start: var(--pf-v6-c-accordion__expandable-content--MarginInlineStart);
|
|
7975
7980
|
margin-inline-end: var(--pf-v6-c-accordion__expandable-content--MarginInlineEnd);
|
|
@@ -7979,14 +7984,24 @@ button) {
|
|
|
7979
7984
|
border-radius: var(--pf-v6-c-accordion__expandable-content--BorderRadius);
|
|
7980
7985
|
opacity: var(--pf-v6-c-accordion__expandable-content--Opacity);
|
|
7981
7986
|
transition-timing-function: var(--pf-v6-c-accordion__expandable-content--TransitionTimingFunction);
|
|
7982
|
-
transition-duration: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--slide);
|
|
7983
|
-
transition-property: opacity, translate;
|
|
7987
|
+
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);
|
|
7988
|
+
transition-property: opacity, translate, display;
|
|
7989
|
+
transition-behavior: allow-discrete;
|
|
7984
7990
|
translate: 0 var(--pf-v6-c-accordion__expandable-content--TranslateY);
|
|
7985
7991
|
}
|
|
7986
7992
|
.pf-v6-c-accordion__expandable-content.pf-m-fixed {
|
|
7987
7993
|
max-height: var(--pf-v6-c-accordion__expandable-content--m-fixed--MaxHeight);
|
|
7988
7994
|
overflow-y: auto;
|
|
7989
7995
|
}
|
|
7996
|
+
.pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
|
|
7997
|
+
display: revert;
|
|
7998
|
+
}
|
|
7999
|
+
@starting-style {
|
|
8000
|
+
.pf-v6-c-accordion__item.pf-m-expanded .pf-v6-c-accordion__expandable-content {
|
|
8001
|
+
--pf-v6-c-accordion__expandable-content--Opacity: 0;
|
|
8002
|
+
--pf-v6-c-accordion__expandable-content--TranslateY: -.5rem;
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
7990
8005
|
|
|
7991
8006
|
.pf-v6-c-accordion__expandable-content-body {
|
|
7992
8007
|
padding-block-start: var(--pf-v6-c-accordion__expandable-content-body--PaddingBlockStart);
|
|
@@ -9355,6 +9370,11 @@ button.pf-v6-c-breadcrumb__link {
|
|
|
9355
9370
|
--pf-v6-c-button--m-favorited--hover__icon--Color: var(--pf-t--global--color--favorite--hover);
|
|
9356
9371
|
--pf-v6-c-button--m-favorited__icon--AnimationDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
9357
9372
|
--pf-v6-c-button--m-favorited__icon--AnimationTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
9373
|
+
--pf-v6-c-button__icon--favorite--Opacity: 1;
|
|
9374
|
+
--pf-v6-c-button__icon--favorited--Opacity: 0;
|
|
9375
|
+
--pf-v6-c-button--m-favorited__icon--favorite--Opacity: 0;
|
|
9376
|
+
--pf-v6-c-button--m-favorited__icon--favorited--Opacity: 1;
|
|
9377
|
+
--pf-v6-c-button__icon--favorite--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
9358
9378
|
--pf-v6-c-button__progress--width: calc(var(--pf-t--global--icon--size--lg) + var(--pf-t--global--spacer--sm));
|
|
9359
9379
|
--pf-v6-c-button__progress--Opacity: 0;
|
|
9360
9380
|
--pf-v6-c-button__progress--TranslateY: -50%;
|
|
@@ -9665,6 +9685,7 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
9665
9685
|
--pf-v6-c-button--FontSize: var(--pf-v6-c-button--m-display-lg--FontSize);
|
|
9666
9686
|
}
|
|
9667
9687
|
.pf-v6-c-button.pf-m-favorite .pf-v6-c-button__icon {
|
|
9688
|
+
display: grid;
|
|
9668
9689
|
transition-timing-function: var(--pf-v6-c-button--m-favorite__icon--TransitionTimingFunction);
|
|
9669
9690
|
transition-duration: var(--pf-v6-c-button--m-favorite__icon--TransitionDuration);
|
|
9670
9691
|
transition-property: color;
|
|
@@ -9672,6 +9693,8 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
9672
9693
|
.pf-v6-c-button.pf-m-favorited {
|
|
9673
9694
|
--pf-v6-c-button__icon--Color: var(--pf-v6-c-button--m-favorited__icon--Color);
|
|
9674
9695
|
--pf-v6-c-button--hover__icon--Color: var(--pf-v6-c-button--m-favorited--hover__icon--Color);
|
|
9696
|
+
--pf-v6-c-button__icon--favorite--Opacity: var(--pf-v6-c-button--m-favorited__icon--favorite--Opacity);
|
|
9697
|
+
--pf-v6-c-button__icon--favorited--Opacity: var(--pf-v6-c-button--m-favorited__icon--favorited--Opacity);
|
|
9675
9698
|
}
|
|
9676
9699
|
.pf-v6-c-button.pf-m-favorited .pf-v6-c-button__icon {
|
|
9677
9700
|
animation-name: pf-v6-c-button-icon-favorited;
|
|
@@ -9751,6 +9774,21 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
9751
9774
|
--pf-v6-c-button__icon--MarginInlineStart: var(--pf-v6-c-button__icon--m-end--MarginInlineStart);
|
|
9752
9775
|
}
|
|
9753
9776
|
|
|
9777
|
+
.pf-v6-c-button__icon-favorite,
|
|
9778
|
+
.pf-v6-c-button__icon-favorited {
|
|
9779
|
+
grid-area: 1/1/1/1;
|
|
9780
|
+
transition-duration: var(--pf-v6-c-button__icon--favorite--TransitionDuration);
|
|
9781
|
+
transition-property: opacity;
|
|
9782
|
+
}
|
|
9783
|
+
|
|
9784
|
+
.pf-v6-c-button__icon-favorite {
|
|
9785
|
+
opacity: var(--pf-v6-c-button__icon--favorite--Opacity);
|
|
9786
|
+
}
|
|
9787
|
+
|
|
9788
|
+
.pf-v6-c-button__icon-favorited {
|
|
9789
|
+
opacity: var(--pf-v6-c-button__icon--favorited--Opacity);
|
|
9790
|
+
}
|
|
9791
|
+
|
|
9754
9792
|
.pf-v6-c-button__progress {
|
|
9755
9793
|
position: absolute;
|
|
9756
9794
|
inset-block-start: var(--pf-v6-c-button__progress--InsetBlockStart);
|
|
@@ -9763,6 +9801,10 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
9763
9801
|
--pf-v6-c-spinner--Color: currentcolor;
|
|
9764
9802
|
}
|
|
9765
9803
|
|
|
9804
|
+
.pf-v6-c-button__text {
|
|
9805
|
+
text-decoration: inherit;
|
|
9806
|
+
}
|
|
9807
|
+
|
|
9766
9808
|
.pf-v6-c-button__count {
|
|
9767
9809
|
display: inline-flex;
|
|
9768
9810
|
align-items: center;
|
|
@@ -13979,8 +14021,8 @@ ul) {
|
|
|
13979
14021
|
--pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
|
|
13980
14022
|
--pf-v6-c-expandable-section__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
13981
14023
|
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
13982
|
-
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
13983
14024
|
--pf-v6-c-expandable-section__content--TranslateY: 0;
|
|
14025
|
+
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
13984
14026
|
--pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
|
|
13985
14027
|
--pf-v6-c-expandable-section__content--MaxWidth: auto;
|
|
13986
14028
|
--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
|
@@ -14066,12 +14108,28 @@ ul) {
|
|
|
14066
14108
|
max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
|
|
14067
14109
|
padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
|
|
14068
14110
|
padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart, 0);
|
|
14111
|
+
}
|
|
14112
|
+
.pf-v6-c-expandable-section__content:where([hidden]) {
|
|
14113
|
+
display: revert;
|
|
14114
|
+
}
|
|
14115
|
+
.pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) .pf-v6-c-expandable-section__content {
|
|
14116
|
+
display: none;
|
|
14069
14117
|
opacity: var(--pf-v6-c-expandable-section__content--Opacity);
|
|
14070
14118
|
transition-timing-function: var(--pf-v6-c-expandable-section__content--TransitionTimingFunction);
|
|
14071
|
-
transition-duration: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade), var(--pf-v6-c-expandable-section__content--TransitionDuration--slide);
|
|
14072
|
-
transition-property: opacity, translate;
|
|
14119
|
+
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);
|
|
14120
|
+
transition-property: opacity, translate, display;
|
|
14121
|
+
transition-behavior: allow-discrete;
|
|
14073
14122
|
translate: 0 var(--pf-v6-c-expandable-section__content--TranslateY);
|
|
14074
14123
|
}
|
|
14124
|
+
.pf-v6-c-expandable-section.pf-m-expanded .pf-v6-c-expandable-section__content {
|
|
14125
|
+
display: revert;
|
|
14126
|
+
}
|
|
14127
|
+
@starting-style {
|
|
14128
|
+
.pf-v6-c-expandable-section.pf-m-expanded .pf-v6-c-expandable-section__content {
|
|
14129
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
14130
|
+
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
|
14131
|
+
}
|
|
14132
|
+
}
|
|
14075
14133
|
|
|
14076
14134
|
.pf-v6-c-file-upload {
|
|
14077
14135
|
--pf-v6-c-file-upload--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
@@ -24383,6 +24441,17 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
24383
24441
|
--pf-v6-c-table__action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
24384
24442
|
--pf-v6-c-table__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
24385
24443
|
--pf-v6-c-table__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
24444
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: 0s;
|
|
24445
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
24446
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
24447
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
24448
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--slide: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide);
|
|
24449
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--fade: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
|
24450
|
+
--pf-v6-c-table__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
24451
|
+
--pf-v6-c-table__expandable-row--Opacity: 0;
|
|
24452
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity: 1;
|
|
24453
|
+
--pf-v6-c-table__expandable-row--TranslateY: 0;
|
|
24454
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY: 0;
|
|
24386
24455
|
--pf-v6-c-table__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
24387
24456
|
--pf-v6-c-table__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
24388
24457
|
--pf-v6-c-table__expandable-row-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -24443,6 +24512,13 @@ label.pf-v6-c-radio, .pf-v6-c-radio__label,
|
|
|
24443
24512
|
--pf-v6-c-table--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
24444
24513
|
--pf-v6-c-table--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
24445
24514
|
}
|
|
24515
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
24516
|
+
.pf-v6-c-table {
|
|
24517
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
24518
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
24519
|
+
--pf-v6-c-table__expandable-row--TranslateY: -.5rem;
|
|
24520
|
+
}
|
|
24521
|
+
}
|
|
24446
24522
|
|
|
24447
24523
|
.pf-v6-c-table {
|
|
24448
24524
|
width: 100%;
|
|
@@ -25011,6 +25087,12 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
25011
25087
|
.pf-v6-c-table__expandable-row {
|
|
25012
25088
|
position: relative;
|
|
25013
25089
|
border-block-end: 0 solid transparent;
|
|
25090
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
25091
|
+
transition-timing-function: var(--pf-v6-c-table__expandable-row--TransitionTimingFunction);
|
|
25092
|
+
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);
|
|
25093
|
+
transition-property: opacity, translate, display;
|
|
25094
|
+
transition-behavior: allow-discrete;
|
|
25095
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
25014
25096
|
}
|
|
25015
25097
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
25016
25098
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
@@ -25039,6 +25121,15 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
25039
25121
|
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
25040
25122
|
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
|
25041
25123
|
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
|
25124
|
+
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
|
25125
|
+
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);
|
|
25126
|
+
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
|
25127
|
+
}
|
|
25128
|
+
@starting-style {
|
|
25129
|
+
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
25130
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
25131
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
25132
|
+
}
|
|
25042
25133
|
}
|
|
25043
25134
|
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
|
25044
25135
|
display: none;
|
|
@@ -27279,6 +27370,10 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
27279
27370
|
--pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle);
|
|
27280
27371
|
}
|
|
27281
27372
|
|
|
27373
|
+
.pf-v6-c-timestamp__text {
|
|
27374
|
+
text-decoration: inherit;
|
|
27375
|
+
}
|
|
27376
|
+
|
|
27282
27377
|
.pf-v6-c-title {
|
|
27283
27378
|
--pf-v6-c-title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
27284
27379
|
--pf-v6-c-title--m-4xl--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
@@ -29553,6 +29648,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
29553
29648
|
grid-auto-flow: column;
|
|
29554
29649
|
align-items: baseline;
|
|
29555
29650
|
min-width: var(--pf-v6-c-truncate--MinWidth);
|
|
29651
|
+
text-decoration: inherit;
|
|
29556
29652
|
}
|
|
29557
29653
|
.pf-v6-c-truncate.pf-m-fixed {
|
|
29558
29654
|
display: inline;
|