@ebay/skin 18.3.1 → 18.4.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/bundles/skin-default.css +219 -67
- package/dist/bundles/skin-full.css +220 -67
- package/dist/bundles/skin-headless.css +218 -67
- package/dist/eek/eek.css +4 -4
- package/dist/file-preview-card/file-preview-card.css +79 -69
- package/dist/list/list.css +76 -0
- package/dist/mixins/_utility-mixins.scss +36 -0
- package/dist/svg/icon/icon-bids-16.svg +7 -0
- package/dist/svg/icon/icon-explore-16.svg +7 -0
- package/dist/svg/icon/icon-explore-24.svg +7 -0
- package/dist/svg/icon/icon-history-16.svg +7 -0
- package/dist/svg/icon/icon-history-24.svg +4 -5
- package/dist/svg/icon/icon-history-64.svg +4 -5
- package/dist/svg/icon/icon-item-list-16.svg +7 -0
- package/dist/svg/icon/icon-item-list-20.svg +7 -0
- package/dist/svg/icon/icon-item-list-24.svg +7 -0
- package/dist/svg/icon/icon-money-stack-16.svg +7 -0
- package/dist/svg/icon/icon-money-stack-24.svg +7 -0
- package/dist/svg/icon/icon-panel-close-16.svg +1 -1
- package/dist/svg/icon/icon-panel-close-20.svg +1 -1
- package/dist/svg/icon/icon-panel-close-24.svg +1 -1
- package/dist/svg/icon/icon-star-empty-40.svg +7 -0
- package/dist/svg/icon/icon-star-filled-40.svg +5 -0
- package/dist/svg/icon/icon-translate-16.svg +7 -0
- package/dist/svg/icon/icon-translate-20.svg +7 -0
- package/dist/svg/icon/icon-translate-24.svg +7 -0
- package/dist/svg/icons.svg +139 -45
- package/dist/table/table.css +57 -1
- package/dist/tokens/evo-dark.css +1 -0
- package/dist/tokens/evo-light.css +1 -0
- package/dist/utility/utility.css +28 -0
- package/gh.browser.json +2 -2
- package/index.browser.json +1 -0
- package/index.css +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/list.browser.json +1 -0
- package/list.css +1 -0
- package/list.js +1 -0
- package/list.mjs +1 -0
- package/package.json +2 -1
|
@@ -207,6 +207,7 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
|
|
|
207
207
|
--color-background-primary:var(--color-neutral-100);
|
|
208
208
|
--color-background-secondary:var(--color-neutral-200);
|
|
209
209
|
--color-background-tertiary:var(--color-neutral-300);
|
|
210
|
+
--color-background-faint:rgba(var(--color-neutral-900-rgb), 0.05);
|
|
210
211
|
--color-background-disabled:var(--color-neutral-400);
|
|
211
212
|
--color-background-inverse:var(--color-neutral-700);
|
|
212
213
|
--color-background-attention:var(--color-red-600);
|
|
@@ -401,6 +402,7 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
|
|
|
401
402
|
--color-background-primary:var(--color-neutral-900);
|
|
402
403
|
--color-background-secondary:var(--color-neutral-800);
|
|
403
404
|
--color-background-tertiary:var(--color-neutral-700);
|
|
405
|
+
--color-background-faint:rgba(var(--color-neutral-100-rgb), 0.05);
|
|
404
406
|
--color-background-disabled:var(--color-neutral-600);
|
|
405
407
|
--color-background-inverse:var(--color-neutral-300);
|
|
406
408
|
--color-background-attention:var(--color-red-400);
|
|
@@ -732,6 +734,34 @@ a:not([href]),a[aria-disabled=true]{
|
|
|
732
734
|
text-overflow:ellipsis;
|
|
733
735
|
white-space:nowrap;
|
|
734
736
|
}
|
|
737
|
+
|
|
738
|
+
.scrollbars-permanent{
|
|
739
|
+
-webkit-overflow-scrolling:touch;
|
|
740
|
+
scroll-behavior:smooth;
|
|
741
|
+
scroll-snap-type:proximity;
|
|
742
|
+
scroll-snap-type:x proximity;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.scrollbars-permanent::-webkit-scrollbar{
|
|
746
|
+
background-color:var(--color-background-faint);
|
|
747
|
+
border-radius:12px;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.scrollbars-permanent::-webkit-scrollbar:vertical{
|
|
751
|
+
width:6px;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.scrollbars-permanent::-webkit-scrollbar:horizontal{
|
|
755
|
+
height:6px;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.scrollbars-permanent::-webkit-scrollbar-thumb{
|
|
759
|
+
background-color:var(--color-foreground-secondary);
|
|
760
|
+
border-color:transparent;
|
|
761
|
+
border-radius:12px;
|
|
762
|
+
border-right-style:inset;
|
|
763
|
+
box-shadow:none;
|
|
764
|
+
}
|
|
735
765
|
.alert-dialog[role=alertdialog]{
|
|
736
766
|
background-color:var(--dialog-scrim-color-show);
|
|
737
767
|
bottom:0;
|
|
@@ -3076,7 +3106,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
3076
3106
|
display:inline-flex;
|
|
3077
3107
|
font-family:Arial,sans-serif;
|
|
3078
3108
|
font-weight:700;
|
|
3079
|
-
height:
|
|
3109
|
+
height:24px;
|
|
3080
3110
|
position:relative;
|
|
3081
3111
|
}
|
|
3082
3112
|
|
|
@@ -3089,7 +3119,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
3089
3119
|
}
|
|
3090
3120
|
|
|
3091
3121
|
.eek .icon--eek-arrow{
|
|
3092
|
-
width:
|
|
3122
|
+
width:9px;
|
|
3093
3123
|
}
|
|
3094
3124
|
|
|
3095
3125
|
.eek__arrow{
|
|
@@ -3180,7 +3210,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
3180
3210
|
border-radius:1px 0 0 1px;
|
|
3181
3211
|
display:inline-flex;
|
|
3182
3212
|
flex-direction:column;
|
|
3183
|
-
height:
|
|
3213
|
+
height:20px;
|
|
3184
3214
|
margin:1px;
|
|
3185
3215
|
padding:0 1px;
|
|
3186
3216
|
}
|
|
@@ -3193,7 +3223,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
3193
3223
|
.eek__rating-range>span{
|
|
3194
3224
|
font-size:8px;
|
|
3195
3225
|
}
|
|
3196
|
-
@media not all and (-webkit-min-device-pixel-ratio:0),not all and (resolution
|
|
3226
|
+
@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){
|
|
3197
3227
|
@supports (-webkit-appearance:none){
|
|
3198
3228
|
.eek__rating{
|
|
3199
3229
|
text-shadow:none;
|
|
@@ -3343,119 +3373,132 @@ div.field__description{
|
|
|
3343
3373
|
text-align:left;
|
|
3344
3374
|
}
|
|
3345
3375
|
.file-preview-card{
|
|
3376
|
+
display:flex;
|
|
3377
|
+
flex-direction:column;
|
|
3378
|
+
}
|
|
3379
|
+
|
|
3380
|
+
.file-preview-card__body{
|
|
3346
3381
|
aspect-ratio:1/1;
|
|
3347
3382
|
background-color:var(--file-preview-card-background-color, var(--color-background-secondary));
|
|
3348
3383
|
border-radius:var(--file-preview-card-border-radius, var(--border-radius-100));
|
|
3349
|
-
|
|
3350
|
-
display:grid;
|
|
3351
|
-
grid-template-areas:" . . menu-action " " . center-action . " " label . . ";
|
|
3352
|
-
grid-template-columns:repeat(3, 1fr);
|
|
3353
|
-
grid-template-rows:repeat(3, 1fr);
|
|
3354
|
-
height:100%;
|
|
3384
|
+
display:flex;
|
|
3355
3385
|
max-width:396px;
|
|
3386
|
+
min-height:120px;
|
|
3356
3387
|
min-width:120px;
|
|
3357
|
-
|
|
3388
|
+
position:relative;
|
|
3358
3389
|
}
|
|
3359
3390
|
|
|
3360
|
-
.file-preview-
|
|
3361
|
-
|
|
3362
|
-
display:flex;
|
|
3363
|
-
grid-area:1/1/4/4;
|
|
3364
|
-
justify-content:center;
|
|
3391
|
+
.file-preview-card__asset{
|
|
3392
|
+
margin:auto;
|
|
3365
3393
|
}
|
|
3366
3394
|
|
|
3367
|
-
.file-preview-
|
|
3395
|
+
img.file-preview-card__asset,video.file-preview-card__asset{
|
|
3396
|
+
align-self:center;
|
|
3368
3397
|
border-radius:var(--file-preview-card-border-radius, var(--border-radius-100));
|
|
3369
3398
|
height:100%;
|
|
3370
3399
|
object-fit:contain;
|
|
3371
3400
|
width:100%;
|
|
3372
3401
|
}
|
|
3373
3402
|
|
|
3374
|
-
.file-preview-
|
|
3403
|
+
.file-preview-card__asset--fade{
|
|
3404
|
+
background-color:inherit;
|
|
3375
3405
|
opacity:.5;
|
|
3376
3406
|
}
|
|
3377
3407
|
|
|
3378
|
-
.file-preview-
|
|
3408
|
+
.file-preview-card__asset.icon{
|
|
3379
3409
|
height:40%;
|
|
3380
3410
|
width:40%;
|
|
3381
3411
|
}
|
|
3382
3412
|
|
|
3383
|
-
.file-preview-
|
|
3384
|
-
grid-area:menu-action;
|
|
3385
|
-
justify-self:end;
|
|
3386
|
-
z-index:1;
|
|
3387
|
-
}
|
|
3388
|
-
|
|
3389
|
-
.file-preview-card .file-preview-card__menu-action .icon-btn{
|
|
3413
|
+
.file-preview-card__body .icon-btn{
|
|
3390
3414
|
height:var(--spacing-400);
|
|
3391
|
-
margin:var(--spacing-100);
|
|
3392
3415
|
width:var(--spacing-400);
|
|
3393
3416
|
}
|
|
3394
3417
|
|
|
3395
|
-
.file-preview-
|
|
3396
|
-
|
|
3418
|
+
.file-preview-card__body>.file-preview-card__action{
|
|
3419
|
+
position:absolute;
|
|
3420
|
+
right:var(--spacing-100);
|
|
3421
|
+
top:var(--spacing-100);
|
|
3422
|
+
z-index:1;
|
|
3397
3423
|
}
|
|
3398
3424
|
|
|
3399
|
-
.file-preview-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
z-index:1;
|
|
3425
|
+
.file-preview-card__body>.file-preview-card__action:dir(rtl){
|
|
3426
|
+
left:var(--spacing-100);
|
|
3427
|
+
right:auto;
|
|
3403
3428
|
}
|
|
3404
3429
|
|
|
3405
|
-
.file-preview-
|
|
3430
|
+
.icon-btn.file-preview-card__action:not(:hover){
|
|
3431
|
+
background-color:var(--file-preview-card-action-background-color, var(--color-background-primary));
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
.file-preview-card__info{
|
|
3406
3435
|
align-items:center;
|
|
3407
|
-
background-color:var(--file-preview-card-
|
|
3436
|
+
background-color:var(--file-preview-card-info-background-color, var(--color-background-primary));
|
|
3437
|
+
border-radius:1em;
|
|
3438
|
+
bottom:var(--spacing-100);
|
|
3408
3439
|
display:flex;
|
|
3409
|
-
|
|
3440
|
+
font-size:var(--font-size-12);
|
|
3441
|
+
font-weight:400;
|
|
3410
3442
|
gap:var(--spacing-50);
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3443
|
+
left:var(--spacing-100);
|
|
3444
|
+
padding:var(--spacing-50) var(--spacing-100);
|
|
3445
|
+
position:absolute;
|
|
3446
|
+
z-index:1;
|
|
3415
3447
|
}
|
|
3416
3448
|
|
|
3417
|
-
.file-preview-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
font-weight:400;
|
|
3449
|
+
.file-preview-card__info:dir(rtl){
|
|
3450
|
+
left:auto;
|
|
3451
|
+
right:var(--spacing-100);
|
|
3421
3452
|
}
|
|
3422
3453
|
|
|
3423
|
-
.file-preview-
|
|
3454
|
+
.file-preview-card__info>.icon{
|
|
3424
3455
|
height:var(--spacing-150);
|
|
3425
3456
|
width:var(--spacing-150);
|
|
3426
3457
|
}
|
|
3427
3458
|
|
|
3428
|
-
.file-preview-
|
|
3429
|
-
align-self:center;
|
|
3430
|
-
grid-area:center-action;
|
|
3431
|
-
justify-self:center;
|
|
3432
|
-
z-index:1;
|
|
3433
|
-
}
|
|
3434
|
-
|
|
3435
|
-
.file-preview-card__body-action .icon-btn{
|
|
3459
|
+
.file-preview-card__see-more{
|
|
3436
3460
|
aspect-ratio:1/1;
|
|
3437
|
-
background-color:rgba(var(--file-preview-card-
|
|
3438
|
-
|
|
3461
|
+
background-color:rgba(var(--file-preview-card-see-more-background-color-rgb, var(--color-background-strong-rgb)), .5);
|
|
3462
|
+
border:none;
|
|
3463
|
+
border-radius:50%;
|
|
3464
|
+
color:var(--file-preview-card-see-more-color, var(--color-foreground-on-strong));
|
|
3465
|
+
font-family:inherit;
|
|
3439
3466
|
font-size:var(--font-size-14);
|
|
3440
3467
|
font-weight:700;
|
|
3441
|
-
|
|
3442
|
-
height:fit-content;
|
|
3468
|
+
left:50%;
|
|
3443
3469
|
line-height:var(--spacing-250);
|
|
3444
3470
|
padding:var(--spacing-100);
|
|
3445
|
-
|
|
3446
|
-
|
|
3471
|
+
position:absolute;
|
|
3472
|
+
top:50%;
|
|
3473
|
+
transform:translate(-50%, -50%);
|
|
3474
|
+
z-index:1;
|
|
3475
|
+
}
|
|
3476
|
+
|
|
3477
|
+
.file-preview-card__see-more:active,.file-preview-card__see-more:focus-visible,.file-preview-card__see-more:hover{
|
|
3478
|
+
color:var(--file-preview-card-see-more-interactive-color, var(--color-foreground-primary));
|
|
3447
3479
|
}
|
|
3448
3480
|
|
|
3449
|
-
.file-preview-
|
|
3450
|
-
color:var(--file-preview-card-
|
|
3481
|
+
.file-preview-card__see-more:focus-visible,.file-preview-card__see-more:hover{
|
|
3482
|
+
background-color:rgba(var(--file-preview-card-see-more-interactive-background-color-rgb, var(--color-state-secondary-hover-rgb)), .5);
|
|
3451
3483
|
}
|
|
3452
3484
|
|
|
3453
|
-
.file-preview-
|
|
3454
|
-
background-color:rgba(var(--file-preview-card-
|
|
3485
|
+
.file-preview-card__see-more:active{
|
|
3486
|
+
background-color:rgba(var(--file-preview-card-see-more-interactive-active-background-color-rgb, var(--color-state-secondary-active-rgb)), .5);
|
|
3455
3487
|
}
|
|
3456
3488
|
|
|
3457
|
-
.file-preview-
|
|
3458
|
-
|
|
3489
|
+
.file-preview-card__footer{
|
|
3490
|
+
display:grid;
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
.file-preview-card__footer>*{
|
|
3494
|
+
overflow:hidden;
|
|
3495
|
+
text-overflow:ellipsis;
|
|
3496
|
+
white-space:nowrap;
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
.file-preview-card__footer>:not(:first-child){
|
|
3500
|
+
color:var(--color-foreground-secondary);
|
|
3501
|
+
font-size:var(--font-size-small);
|
|
3459
3502
|
}
|
|
3460
3503
|
div.file-preview-card-group{
|
|
3461
3504
|
container:file-preview-cards-container/inline-size;
|
|
@@ -6157,6 +6200,66 @@ button.fake-link:hover{
|
|
|
6157
6200
|
button.fake-link[aria-disabled=true],button.fake-link[disabled]{
|
|
6158
6201
|
color:var(--fake-link-foreground-disabled-color, var(--color-foreground-disabled));
|
|
6159
6202
|
}
|
|
6203
|
+
.list{
|
|
6204
|
+
max-width:480px;
|
|
6205
|
+
}
|
|
6206
|
+
|
|
6207
|
+
.list ul{
|
|
6208
|
+
list-style:none;
|
|
6209
|
+
margin:0;
|
|
6210
|
+
padding:0;
|
|
6211
|
+
}
|
|
6212
|
+
|
|
6213
|
+
.list ul li>*{
|
|
6214
|
+
align-items:center;
|
|
6215
|
+
background-color:var(--list-background-color, var(--color-background-primary));
|
|
6216
|
+
box-sizing:border-box;
|
|
6217
|
+
color:var(--color-foreground-on-primary);
|
|
6218
|
+
display:inline-flex;
|
|
6219
|
+
font-size:var(--font-size-16);
|
|
6220
|
+
margin-block:1px;
|
|
6221
|
+
min-height:var(--spacing-600);
|
|
6222
|
+
padding:var(--spacing-150) var(--spacing-200);
|
|
6223
|
+
width:100%;
|
|
6224
|
+
}
|
|
6225
|
+
|
|
6226
|
+
.list__leading{
|
|
6227
|
+
margin-inline-end:var(--spacing-200);
|
|
6228
|
+
}
|
|
6229
|
+
|
|
6230
|
+
.list__trailing{
|
|
6231
|
+
margin-inline-start:var(--spacing-200);
|
|
6232
|
+
}
|
|
6233
|
+
|
|
6234
|
+
.list__body{
|
|
6235
|
+
flex:1;
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
.list li>a,.list li>button{
|
|
6239
|
+
border:none;
|
|
6240
|
+
text-align:left;
|
|
6241
|
+
text-decoration:none;
|
|
6242
|
+
}
|
|
6243
|
+
|
|
6244
|
+
.list li>a:focus,.list li>a:hover,.list li>button:focus,.list li>button:hover{
|
|
6245
|
+
color:var(--color-foreground-on-primary);
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
.list li>a:active,.list li>a:focus,.list li>a:hover,.list li>button:active,.list li>button:focus,.list li>button:hover{
|
|
6249
|
+
background-color:var(--list-background-hover-color, var(--color-state-primary-hover));
|
|
6250
|
+
}
|
|
6251
|
+
|
|
6252
|
+
.list hr{
|
|
6253
|
+
border:0;
|
|
6254
|
+
border-top:1px solid var(--color-stroke-subtle);
|
|
6255
|
+
height:1px;
|
|
6256
|
+
margin-inline:var(--spacing-200);
|
|
6257
|
+
padding:0;
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
[dir=rtl] .list li>a,[dir=rtl] .list li>button{
|
|
6261
|
+
text-align:right;
|
|
6262
|
+
}
|
|
6160
6263
|
div.listbox{
|
|
6161
6264
|
margin:var(--spacing-200) 0;
|
|
6162
6265
|
}
|
|
@@ -8893,10 +8996,35 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8893
8996
|
.table{
|
|
8894
8997
|
overflow-x:auto;
|
|
8895
8998
|
position:relative;
|
|
8999
|
+
-webkit-overflow-scrolling:touch;
|
|
9000
|
+
scroll-behavior:smooth;
|
|
9001
|
+
scroll-snap-type:proximity;
|
|
9002
|
+
scroll-snap-type:x proximity;
|
|
9003
|
+
}
|
|
9004
|
+
|
|
9005
|
+
.table::-webkit-scrollbar{
|
|
9006
|
+
background-color:var(--color-background-faint);
|
|
9007
|
+
border-radius:12px;
|
|
9008
|
+
}
|
|
9009
|
+
|
|
9010
|
+
.table::-webkit-scrollbar:vertical{
|
|
9011
|
+
width:6px;
|
|
9012
|
+
}
|
|
9013
|
+
|
|
9014
|
+
.table::-webkit-scrollbar:horizontal{
|
|
9015
|
+
height:6px;
|
|
9016
|
+
}
|
|
9017
|
+
|
|
9018
|
+
.table::-webkit-scrollbar-thumb{
|
|
9019
|
+
background-color:var(--color-foreground-secondary);
|
|
9020
|
+
border-color:transparent;
|
|
9021
|
+
border-radius:12px;
|
|
9022
|
+
border-right-style:inset;
|
|
9023
|
+
box-shadow:none;
|
|
8896
9024
|
}
|
|
8897
9025
|
|
|
8898
9026
|
.table table{
|
|
8899
|
-
border-collapse:
|
|
9027
|
+
border-collapse:initial;
|
|
8900
9028
|
border-spacing:0;
|
|
8901
9029
|
width:100%;
|
|
8902
9030
|
}
|
|
@@ -8928,8 +9056,30 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8928
9056
|
padding:16px;
|
|
8929
9057
|
}
|
|
8930
9058
|
|
|
8931
|
-
.table
|
|
9059
|
+
.table--frozen-header thead{
|
|
9060
|
+
position:sticky;
|
|
9061
|
+
top:0;
|
|
9062
|
+
z-index:3;
|
|
9063
|
+
}
|
|
9064
|
+
|
|
9065
|
+
.table--freeze-column-1 tr td:nth-child(-n+1),.table--freeze-column-1 tr th:nth-child(-n+1),.table--freeze-column-2 tr td:nth-child(-n+2),.table--freeze-column-2 tr th:nth-child(-n+2),.table--freeze-column-3 tr td:nth-child(-n+3),.table--freeze-column-3 tr th:nth-child(-n+3){
|
|
9066
|
+
left:0;
|
|
9067
|
+
position:sticky;
|
|
9068
|
+
}
|
|
9069
|
+
|
|
9070
|
+
.table--full-height{
|
|
9071
|
+
max-height:unset;
|
|
9072
|
+
}
|
|
9073
|
+
|
|
9074
|
+
.table--constrained-height{
|
|
9075
|
+
max-height:90vh;
|
|
9076
|
+
}
|
|
9077
|
+
|
|
9078
|
+
.table th a,.table th button{
|
|
9079
|
+
align-items:center;
|
|
9080
|
+
display:flex;
|
|
8932
9081
|
font-weight:700;
|
|
9082
|
+
text-decoration:none;
|
|
8933
9083
|
}
|
|
8934
9084
|
|
|
8935
9085
|
.table tbody tr:last-child td,.table tbody tr:last-child th{
|
|
@@ -8988,6 +9138,9 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8988
9138
|
text-align:center;
|
|
8989
9139
|
width:48px;
|
|
8990
9140
|
}
|
|
9141
|
+
.table--mode-selection tr:has(input:checked) :where(td,th){
|
|
9142
|
+
background-color:var(--color-background-secondary);
|
|
9143
|
+
}
|
|
8991
9144
|
|
|
8992
9145
|
.table tbody th{
|
|
8993
9146
|
font-weight:400;
|