@ebay/skin 19.5.2 → 19.7.0
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/dist/accordion/accordion.css +55 -17
- package/dist/bundles/skin-default.css +213 -37
- package/dist/bundles/skin-full.css +217 -37
- package/dist/bundles/skin-headless.css +209 -37
- package/dist/calendar/calendar.css +1 -1
- package/dist/global/global.css +4 -0
- package/dist/item-tile/item-tile.css +11 -1
- package/dist/number-input/number-input.css +132 -0
- package/dist/segmented-buttons/segmented-buttons.css +1 -0
- package/dist/skeleton/skeleton.css +42 -29
- package/dist/svg/icon/icon-apple-music-24-colored.svg +27 -0
- package/dist/svg/icon/icon-cart-add-16.svg +5 -0
- package/dist/svg/icon/icon-cart-add-20.svg +5 -0
- package/dist/svg/icon/icon-cart-add-24.svg +5 -0
- package/dist/svg/icon/icon-customize-16.svg +2 -4
- package/dist/svg/icon/icon-customize-24.svg +2 -4
- package/dist/svg/icon/icon-eye-16.svg +5 -0
- package/dist/svg/icon/icon-eye-24.svg +5 -0
- package/dist/svg/icon/icon-feedback-negative-16.svg +5 -0
- package/dist/svg/icon/icon-feedback-neutral-16.svg +5 -0
- package/dist/svg/icon/icon-feedback-positive-16.svg +5 -0
- package/dist/svg/icon/icon-live-bag-16.svg +5 -0
- package/dist/svg/icon/icon-live-bag-20.svg +5 -0
- package/dist/svg/icon/icon-live-bag-24.svg +5 -0
- package/dist/svg/icon/icon-live-bag-thin-16.svg +5 -0
- package/dist/svg/icon/icon-live-broadcast-20.svg +5 -0
- package/dist/svg/icon/icon-live-broadcast-24.svg +5 -0
- package/dist/svg/icon/icon-live-broadcast-thin-16.svg +5 -0
- package/dist/svg/icon/icon-people-16.svg +5 -0
- package/dist/svg/icon/icon-people-24.svg +5 -0
- package/dist/svg/icon/icon-play-disabled-16.svg +5 -0
- package/dist/svg/icon/icon-text-size-16.svg +5 -0
- package/dist/svg/icon/icon-text-size-24.svg +5 -0
- package/dist/svg/icons.svg +197 -62
- package/dist/toggle-button/toggle-button.css +1 -0
- package/dist/tokens/evo-dark.css +7 -0
- package/dist/tokens/evo-light.css +8 -0
- package/package.json +2 -2
|
@@ -362,6 +362,10 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
|
|
|
362
362
|
--shadow-subtle:0px 4px 12px 0px rgba(0, 0, 0, 0.07);
|
|
363
363
|
--shadow-strong:0px 5px 17px 0px rgba(0, 0, 0, 0.2), 0px 2px 7px 0px rgba(0, 0, 0, 0.15);
|
|
364
364
|
--color-loading-overlay:var(--color-neutral-100-rgb), 0.7;
|
|
365
|
+
--color-loading-first:var(--color-neutral-200);
|
|
366
|
+
--color-loading-second:var(--color-neutral-300);
|
|
367
|
+
--color-loading-on-secondary-first:var(--color-neutral-300);
|
|
368
|
+
--color-loading-on-secondary-second:var(--color-neutral-400);
|
|
365
369
|
--color-loading-fill:#ededed;
|
|
366
370
|
--color-loading-shimmer:linear-gradient(
|
|
367
371
|
270deg,
|
|
@@ -580,6 +584,10 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
|
|
|
580
584
|
var(--color-ai-solid-blue-subtle) 154.5%
|
|
581
585
|
);
|
|
582
586
|
--color-loading-overlay:var(--color-neutral-900-rgb), 0.7;
|
|
587
|
+
--color-loading-first:var(--color-neutral-800);
|
|
588
|
+
--color-loading-second:var(--color-neutral-700);
|
|
589
|
+
--color-loading-on-secondary-first:var(--color-neutral-700);
|
|
590
|
+
--color-loading-on-secondary-second:var(--color-neutral-600);
|
|
583
591
|
--color-loading-fill:#2d2d2d;
|
|
584
592
|
--color-loading-shimmer:linear-gradient(
|
|
585
593
|
270deg,
|
|
@@ -649,6 +657,10 @@ body{
|
|
|
649
657
|
-webkit-text-size-adjust:100%;
|
|
650
658
|
}
|
|
651
659
|
|
|
660
|
+
button{
|
|
661
|
+
font-family:inherit;
|
|
662
|
+
}
|
|
663
|
+
|
|
652
664
|
fieldset{
|
|
653
665
|
border:0;
|
|
654
666
|
padding:0;
|
|
@@ -800,6 +812,28 @@ a:not([href]),a[aria-disabled=true]{
|
|
|
800
812
|
border-right-style:inset;
|
|
801
813
|
box-shadow:none;
|
|
802
814
|
}
|
|
815
|
+
@keyframes chevron-bounce-open{
|
|
816
|
+
0%{
|
|
817
|
+
transform:translateY(0);
|
|
818
|
+
}
|
|
819
|
+
50%{
|
|
820
|
+
transform:translateY(-7px);
|
|
821
|
+
}
|
|
822
|
+
to{
|
|
823
|
+
transform:translateY(0);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
@keyframes chevron-bounce-close{
|
|
827
|
+
0%{
|
|
828
|
+
transform:translateY(0);
|
|
829
|
+
}
|
|
830
|
+
50%{
|
|
831
|
+
transform:translateY(7px);
|
|
832
|
+
}
|
|
833
|
+
to{
|
|
834
|
+
transform:translateY(0);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
803
837
|
ul.accordion{
|
|
804
838
|
margin:0;
|
|
805
839
|
padding:0;
|
|
@@ -822,21 +856,22 @@ ul.accordion summary.details__summary{
|
|
|
822
856
|
padding:12px 16px;
|
|
823
857
|
}
|
|
824
858
|
|
|
825
|
-
ul.accordion
|
|
826
|
-
|
|
859
|
+
ul.accordion details{
|
|
860
|
+
overflow:hidden;
|
|
827
861
|
}
|
|
828
862
|
|
|
829
863
|
ul.accordion details .details__content{
|
|
830
864
|
margin:0 16px 6px;
|
|
831
|
-
|
|
832
|
-
transform:scaleY(0);
|
|
833
|
-
transform-origin:top;
|
|
834
|
-
transition:opacity var(--motion-duration-medium-3) var(--motion-easing-standard), transform var(--motion-duration-medium-3) var(--motion-easing-standard);
|
|
865
|
+
overflow:hidden;
|
|
835
866
|
}
|
|
836
867
|
|
|
837
|
-
ul.accordion
|
|
838
|
-
|
|
839
|
-
|
|
868
|
+
ul.accordion summary.details__summary span.details__icon svg{
|
|
869
|
+
fill:var(--details-secondary-foreground-color, var(--color-foreground-secondary));
|
|
870
|
+
animation:chevron-bounce-close var(--motion-duration-medium-1) var(--motion-easing-standard);
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
ul.accordion details[open] summary.details__summary span.details__icon svg{
|
|
874
|
+
animation:chevron-bounce-open var(--motion-duration-medium-1) var(--motion-easing-standard) var(--motion-duration-short-1);
|
|
840
875
|
}
|
|
841
876
|
ul.accordion details svg.details__expand,ul.accordion details[open] svg.details__collapse{
|
|
842
877
|
display:inline-block;
|
|
@@ -851,9 +886,19 @@ ul.accordion--large summary.details__summary{
|
|
|
851
886
|
min-height:52px;
|
|
852
887
|
}
|
|
853
888
|
|
|
854
|
-
@
|
|
855
|
-
|
|
856
|
-
|
|
889
|
+
@supports selector(::details-content) and (interpolate-size:allow-keywords) and (transition:allow-discrete){
|
|
890
|
+
:root{
|
|
891
|
+
interpolate-size:allow-keywords;
|
|
892
|
+
}
|
|
893
|
+
ul.accordion details::details-content{
|
|
894
|
+
height:0;
|
|
895
|
+
opacity:0;
|
|
896
|
+
overflow:clip;
|
|
897
|
+
transition:height var(--motion-duration-medium-3) var(--motion-easing-standard), content-visibility var(--motion-duration-medium-2) var(--motion-easing-continuous) allow-discrete, opacity var(--motion-duration-medium-2) var(--motion-easing-continuous);
|
|
898
|
+
}
|
|
899
|
+
ul.accordion details[open]::details-content{
|
|
900
|
+
height:auto;
|
|
901
|
+
opacity:1;
|
|
857
902
|
}
|
|
858
903
|
}
|
|
859
904
|
.alert-dialog[role=alertdialog]{
|
|
@@ -2106,7 +2151,7 @@ span.carousel,span.carousel__container{
|
|
|
2106
2151
|
box-sizing:border-box;
|
|
2107
2152
|
color:inherit;
|
|
2108
2153
|
display:inline-flex;
|
|
2109
|
-
font:inherit;
|
|
2154
|
+
font-family:inherit;
|
|
2110
2155
|
height:var(--spacing-400);
|
|
2111
2156
|
justify-content:center;
|
|
2112
2157
|
width:var(--spacing-400);
|
|
@@ -6347,7 +6392,7 @@ span.inline-notice{
|
|
|
6347
6392
|
display:grid;
|
|
6348
6393
|
grid-area:body;
|
|
6349
6394
|
grid-template-areas:"section-primary" "section-secondary" "section-tertiary";
|
|
6350
|
-
grid-template-rows:25px
|
|
6395
|
+
grid-template-rows:25px 90px 1fr;
|
|
6351
6396
|
}
|
|
6352
6397
|
|
|
6353
6398
|
.item-tile--list-view .item-tile__header{
|
|
@@ -6403,9 +6448,18 @@ span.inline-notice{
|
|
|
6403
6448
|
}
|
|
6404
6449
|
|
|
6405
6450
|
.item-tile__subtitle{
|
|
6451
|
+
-webkit-box-orient:vertical;
|
|
6406
6452
|
color:var(--color-foreground-secondary);
|
|
6453
|
+
display:-webkit-box;
|
|
6454
|
+
-webkit-line-clamp:1;
|
|
6455
|
+
overflow:hidden;
|
|
6407
6456
|
}
|
|
6408
6457
|
|
|
6458
|
+
@media (min-width:768px){
|
|
6459
|
+
.item-tile__body{
|
|
6460
|
+
grid-template-rows:25px 70px 1fr;
|
|
6461
|
+
}
|
|
6462
|
+
}
|
|
6409
6463
|
.layout-grid.item-tile-group{
|
|
6410
6464
|
--layout-grid-columns-min:2;
|
|
6411
6465
|
--layout-grid-columns-xs:2;
|
|
@@ -8060,10 +8114,102 @@ span.listbox-button__value{
|
|
|
8060
8114
|
margin-left:3px;
|
|
8061
8115
|
margin-right:0;
|
|
8062
8116
|
}
|
|
8117
|
+
@keyframes number-input-decrement-before{
|
|
8118
|
+
0%{
|
|
8119
|
+
transform:translateY(0);
|
|
8120
|
+
}
|
|
8121
|
+
to{
|
|
8122
|
+
transform:translateY(5px);
|
|
8123
|
+
}
|
|
8124
|
+
}
|
|
8125
|
+
@keyframes number-input-decrement-after{
|
|
8126
|
+
0%{
|
|
8127
|
+
transform:translateY(-10px);
|
|
8128
|
+
}
|
|
8129
|
+
to{
|
|
8130
|
+
transform:translateY(0);
|
|
8131
|
+
}
|
|
8132
|
+
}
|
|
8133
|
+
@keyframes number-input-increment-before{
|
|
8134
|
+
0%{
|
|
8135
|
+
transform:translateY(0);
|
|
8136
|
+
}
|
|
8137
|
+
to{
|
|
8138
|
+
transform:translateY(-5px);
|
|
8139
|
+
}
|
|
8140
|
+
}
|
|
8141
|
+
@keyframes number-input-increment-after{
|
|
8142
|
+
0%{
|
|
8143
|
+
transform:translateY(10px);
|
|
8144
|
+
}
|
|
8145
|
+
to{
|
|
8146
|
+
transform:translateY(0);
|
|
8147
|
+
}
|
|
8148
|
+
}
|
|
8149
|
+
@keyframes number-input-increment-after-disabled{
|
|
8150
|
+
0%{
|
|
8151
|
+
transform:translateY(10px);
|
|
8152
|
+
}
|
|
8153
|
+
33%{
|
|
8154
|
+
transform:translateY(-5px);
|
|
8155
|
+
}
|
|
8156
|
+
to{
|
|
8157
|
+
transform:translateY(0);
|
|
8158
|
+
}
|
|
8159
|
+
}
|
|
8160
|
+
@keyframes number-input-decrement-after-disabled{
|
|
8161
|
+
0%{
|
|
8162
|
+
transform:translateY(-10px);
|
|
8163
|
+
}
|
|
8164
|
+
33%{
|
|
8165
|
+
transform:translateY(5px);
|
|
8166
|
+
}
|
|
8167
|
+
to{
|
|
8168
|
+
transform:translateY(0);
|
|
8169
|
+
}
|
|
8170
|
+
}
|
|
8171
|
+
@keyframes number-increment-disabled{
|
|
8172
|
+
0%{
|
|
8173
|
+
transform:translateX(0);
|
|
8174
|
+
}
|
|
8175
|
+
33%{
|
|
8176
|
+
transform:translateX(10px);
|
|
8177
|
+
}
|
|
8178
|
+
to{
|
|
8179
|
+
transform:translateX(0);
|
|
8180
|
+
}
|
|
8181
|
+
}
|
|
8182
|
+
@keyframes number-decrement-disabled{
|
|
8183
|
+
0%{
|
|
8184
|
+
transform:translateX(0);
|
|
8185
|
+
}
|
|
8186
|
+
50%{
|
|
8187
|
+
transform:translateX(-10px);
|
|
8188
|
+
}
|
|
8189
|
+
to{
|
|
8190
|
+
transform:translateX(0);
|
|
8191
|
+
}
|
|
8192
|
+
}
|
|
8063
8193
|
.number-input .textbox{
|
|
8064
8194
|
background:transparent;
|
|
8065
8195
|
}
|
|
8066
8196
|
|
|
8197
|
+
.number-input--increment .textbox__control{
|
|
8198
|
+
animation:number-input-increment-before var(--motion-duration-short-2) var(--motion-easing-soft-exit), number-input-increment-after var(--motion-duration-medium-1) var(--motion-easing-quick-enter) var(--motion-duration-short-2);
|
|
8199
|
+
}
|
|
8200
|
+
|
|
8201
|
+
.number-input--decrement .textbox__control{
|
|
8202
|
+
animation:number-input-decrement-before var(--motion-duration-short-2) var(--motion-easing-soft-exit), number-input-decrement-after var(--motion-duration-medium-1) var(--motion-easing-quick-enter) var(--motion-duration-short-2);
|
|
8203
|
+
}
|
|
8204
|
+
|
|
8205
|
+
.number-input--decrement-disabled .textbox__control{
|
|
8206
|
+
animation:number-input-decrement-before var(--motion-duration-short-2) var(--motion-easing-soft-exit), number-input-decrement-after-disabled var(--motion-duration-medium-2) var(--motion-easing-standard) var(--motion-duration-short-2);
|
|
8207
|
+
}
|
|
8208
|
+
|
|
8209
|
+
.number-input--increment-disabled .textbox__control{
|
|
8210
|
+
animation:number-input-increment-before var(--motion-duration-short-2) var(--motion-easing-soft-exit), number-input-increment-after-disabled var(--motion-duration-medium-2) var(--motion-easing-standard) var(--motion-duration-short-2);
|
|
8211
|
+
}
|
|
8212
|
+
|
|
8067
8213
|
.number-input label:first-child{
|
|
8068
8214
|
flex-grow:1;
|
|
8069
8215
|
padding-left:var(--spacing-200);
|
|
@@ -8103,10 +8249,31 @@ span.listbox-button__value{
|
|
|
8103
8249
|
appearance:textfield;
|
|
8104
8250
|
}
|
|
8105
8251
|
|
|
8252
|
+
.number-input .icon-btn{
|
|
8253
|
+
transform:scale(1);
|
|
8254
|
+
transition:transform var(--motion-duration-short-3) var(--motion-easing-standard);
|
|
8255
|
+
}
|
|
8256
|
+
|
|
8257
|
+
.number-input .icon-btn:hover:not(:disabled){
|
|
8258
|
+
background-color:var(--state-layer-hover);
|
|
8259
|
+
}
|
|
8260
|
+
|
|
8261
|
+
.number-input .icon-btn:active{
|
|
8262
|
+
transform:scale(.97);
|
|
8263
|
+
}
|
|
8264
|
+
|
|
8106
8265
|
.number-input .textbox .icon-btn:not(:disabled) svg{
|
|
8107
8266
|
color:var(--color-foreground-primary);
|
|
8108
8267
|
fill:currentColor;
|
|
8109
8268
|
}
|
|
8269
|
+
|
|
8270
|
+
.number-input__decrement:disabled{
|
|
8271
|
+
animation:number-decrement-disabled var(--motion-duration-short-2) var(--motion-easing-standard);
|
|
8272
|
+
}
|
|
8273
|
+
|
|
8274
|
+
.number-input__increment:disabled{
|
|
8275
|
+
animation:number-increment-disabled var(--motion-duration-short-2) var(--motion-easing-standard);
|
|
8276
|
+
}
|
|
8110
8277
|
.fake-menu__items,.menu__items{
|
|
8111
8278
|
background-color:var(--menu-background-color, var(--color-background-primary));
|
|
8112
8279
|
cursor:default;
|
|
@@ -9929,6 +10096,7 @@ p.section-notice__cta{
|
|
|
9929
10096
|
border:none;
|
|
9930
10097
|
border-radius:var(--btn-border-radius, 20px);
|
|
9931
10098
|
color:var(--color-foreground-on-primary);
|
|
10099
|
+
font-family:inherit;
|
|
9932
10100
|
font-size:var(--font-size-default);
|
|
9933
10101
|
min-height:calc(40px - var(--spacing-50)*2);
|
|
9934
10102
|
padding:var(--spacing-100) var(--spacing-200);
|
|
@@ -10075,6 +10243,30 @@ span.select{
|
|
|
10075
10243
|
left:0;
|
|
10076
10244
|
right:auto;
|
|
10077
10245
|
}
|
|
10246
|
+
@keyframes skeleton-fade-out{
|
|
10247
|
+
0%{
|
|
10248
|
+
opacity:1;
|
|
10249
|
+
}
|
|
10250
|
+
to{
|
|
10251
|
+
opacity:0;
|
|
10252
|
+
}
|
|
10253
|
+
}
|
|
10254
|
+
@keyframes skeleton-fade-in{
|
|
10255
|
+
0%{
|
|
10256
|
+
opacity:0;
|
|
10257
|
+
}
|
|
10258
|
+
to{
|
|
10259
|
+
opacity:1;
|
|
10260
|
+
}
|
|
10261
|
+
}
|
|
10262
|
+
::view-transition-new(skeleton-transition-*){
|
|
10263
|
+
animation:skeleton-fade-in var(--motion-duration-medium-2) var(--motion-easing-continuous);
|
|
10264
|
+
}
|
|
10265
|
+
|
|
10266
|
+
::view-transition-old(skeleton-transition-*){
|
|
10267
|
+
animation:skeleton-fade-out var(--motion-duration-short-3) var(--motion-easing-continuous);
|
|
10268
|
+
}
|
|
10269
|
+
|
|
10078
10270
|
.skeleton{
|
|
10079
10271
|
container-name:skeleton-container;
|
|
10080
10272
|
container-type:inline-size;
|
|
@@ -10180,14 +10372,6 @@ div.skeleton__avatar:not(:last-child),div.skeleton__button:not(:last-child),div.
|
|
|
10180
10372
|
--skeleton-background:var(--color-loading-fill-on-secondary);
|
|
10181
10373
|
}
|
|
10182
10374
|
|
|
10183
|
-
@media screen and (max-width:512px){
|
|
10184
|
-
.skeleton{
|
|
10185
|
-
--skeleton-background:var(--color-loading-shimmer);
|
|
10186
|
-
}
|
|
10187
|
-
.skeleton--on-secondary{
|
|
10188
|
-
--skeleton-background:var(--color-loading-shimmer-on-secondary);
|
|
10189
|
-
}
|
|
10190
|
-
}
|
|
10191
10375
|
.skeleton--purple{
|
|
10192
10376
|
--skeleton-background:var(--color-loading-ai-gradient-purple-subtle);
|
|
10193
10377
|
}
|
|
@@ -10201,29 +10385,27 @@ div.skeleton__avatar:not(:last-child),div.skeleton__button:not(:last-child),div.
|
|
|
10201
10385
|
}
|
|
10202
10386
|
|
|
10203
10387
|
@media (prefers-reduced-motion:no-preference){
|
|
10204
|
-
@keyframes
|
|
10388
|
+
@keyframes on-primary{
|
|
10205
10389
|
0%{
|
|
10206
|
-
background-
|
|
10207
|
-
}
|
|
10208
|
-
50%{
|
|
10209
|
-
background-position:45% 0;
|
|
10390
|
+
background-color:var(--color-loading-first);
|
|
10210
10391
|
}
|
|
10211
10392
|
to{
|
|
10212
|
-
background-
|
|
10393
|
+
background-color:var(--color-loading-second);
|
|
10213
10394
|
}
|
|
10214
10395
|
}
|
|
10215
|
-
@keyframes
|
|
10396
|
+
@keyframes on-secondary{
|
|
10216
10397
|
0%{
|
|
10217
|
-
|
|
10398
|
+
background-color:var(--color-loading-on-secondary-first);
|
|
10218
10399
|
}
|
|
10219
10400
|
to{
|
|
10220
|
-
|
|
10401
|
+
background-color:var(--color-loading-on-secondary-second);
|
|
10221
10402
|
}
|
|
10222
10403
|
}
|
|
10223
10404
|
.skeleton__avatar,.skeleton__button,.skeleton__image,.skeleton__text,.skeleton__textbox{
|
|
10224
|
-
animation:
|
|
10225
|
-
|
|
10226
|
-
|
|
10405
|
+
animation:var(--motion-duration-long-3) var(--motion-easing-continuous) infinite alternate on-primary;
|
|
10406
|
+
}
|
|
10407
|
+
.skeleton--on-secondary .skeleton__avatar,.skeleton--on-secondary .skeleton__button,.skeleton--on-secondary .skeleton__image,.skeleton--on-secondary .skeleton__text,.skeleton--on-secondary .skeleton__textbox{
|
|
10408
|
+
animation:var(--motion-duration-long-3) var(--motion-easing-continuous) infinite alternate on-secondary;
|
|
10227
10409
|
}
|
|
10228
10410
|
}
|
|
10229
10411
|
@container skeleton-container (width > 79px){
|
|
@@ -10231,9 +10413,6 @@ div.skeleton__avatar:not(:last-child),div.skeleton__button:not(:last-child),div.
|
|
|
10231
10413
|
border-radius:var(--image-border-radius, var(--border-radius-100));
|
|
10232
10414
|
}
|
|
10233
10415
|
}
|
|
10234
|
-
[dir=rtl] .skeleton__avatar,[dir=rtl] .skeleton__button,[dir=rtl] .skeleton__image,[dir=rtl] .skeleton__text,[dir=rtl] .skeleton__textbox{
|
|
10235
|
-
animation-direction:normal, reverse;
|
|
10236
|
-
}
|
|
10237
10416
|
[dir=rtl] .skeleton__text--multiline:after{
|
|
10238
10417
|
left:var(--spacing-700);
|
|
10239
10418
|
}
|
|
@@ -11197,6 +11376,7 @@ button.toast-dialog__close>svg{
|
|
|
11197
11376
|
box-shadow:0 0 0 1px transparent;
|
|
11198
11377
|
color:var(--color-foreground-primary);
|
|
11199
11378
|
display:inline-flex;
|
|
11379
|
+
font-family:inherit;
|
|
11200
11380
|
font-size:var(--font-size-default);
|
|
11201
11381
|
justify-content:center;
|
|
11202
11382
|
margin-right:var(--spacing-100);
|