@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);
|
|
@@ -542,6 +543,34 @@ a:not([href]),a[aria-disabled=true]{
|
|
|
542
543
|
text-overflow:ellipsis;
|
|
543
544
|
white-space:nowrap;
|
|
544
545
|
}
|
|
546
|
+
|
|
547
|
+
.scrollbars-permanent{
|
|
548
|
+
-webkit-overflow-scrolling:touch;
|
|
549
|
+
scroll-behavior:smooth;
|
|
550
|
+
scroll-snap-type:proximity;
|
|
551
|
+
scroll-snap-type:x proximity;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.scrollbars-permanent::-webkit-scrollbar{
|
|
555
|
+
background-color:var(--color-background-faint);
|
|
556
|
+
border-radius:12px;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.scrollbars-permanent::-webkit-scrollbar:vertical{
|
|
560
|
+
width:6px;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.scrollbars-permanent::-webkit-scrollbar:horizontal{
|
|
564
|
+
height:6px;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.scrollbars-permanent::-webkit-scrollbar-thumb{
|
|
568
|
+
background-color:var(--color-foreground-secondary);
|
|
569
|
+
border-color:transparent;
|
|
570
|
+
border-radius:12px;
|
|
571
|
+
border-right-style:inset;
|
|
572
|
+
box-shadow:none;
|
|
573
|
+
}
|
|
545
574
|
.alert-dialog[role=alertdialog]{
|
|
546
575
|
background-color:var(--dialog-scrim-color-show);
|
|
547
576
|
bottom:0;
|
|
@@ -2886,7 +2915,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
2886
2915
|
display:inline-flex;
|
|
2887
2916
|
font-family:Arial,sans-serif;
|
|
2888
2917
|
font-weight:700;
|
|
2889
|
-
height:
|
|
2918
|
+
height:24px;
|
|
2890
2919
|
position:relative;
|
|
2891
2920
|
}
|
|
2892
2921
|
|
|
@@ -2899,7 +2928,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
2899
2928
|
}
|
|
2900
2929
|
|
|
2901
2930
|
.eek .icon--eek-arrow{
|
|
2902
|
-
width:
|
|
2931
|
+
width:9px;
|
|
2903
2932
|
}
|
|
2904
2933
|
|
|
2905
2934
|
.eek__arrow{
|
|
@@ -2990,7 +3019,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
2990
3019
|
border-radius:1px 0 0 1px;
|
|
2991
3020
|
display:inline-flex;
|
|
2992
3021
|
flex-direction:column;
|
|
2993
|
-
height:
|
|
3022
|
+
height:20px;
|
|
2994
3023
|
margin:1px;
|
|
2995
3024
|
padding:0 1px;
|
|
2996
3025
|
}
|
|
@@ -3003,7 +3032,7 @@ button.icon-btn.drawer-dialog__close{
|
|
|
3003
3032
|
.eek__rating-range>span{
|
|
3004
3033
|
font-size:8px;
|
|
3005
3034
|
}
|
|
3006
|
-
@media not all and (-webkit-min-device-pixel-ratio:0),not all and (resolution
|
|
3035
|
+
@media not all and (-webkit-min-device-pixel-ratio:0),not all and (min-resolution:0.001dpcm){
|
|
3007
3036
|
@supports (-webkit-appearance:none){
|
|
3008
3037
|
.eek__rating{
|
|
3009
3038
|
text-shadow:none;
|
|
@@ -3153,119 +3182,132 @@ div.field__description{
|
|
|
3153
3182
|
text-align:left;
|
|
3154
3183
|
}
|
|
3155
3184
|
.file-preview-card{
|
|
3185
|
+
display:flex;
|
|
3186
|
+
flex-direction:column;
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
.file-preview-card__body{
|
|
3156
3190
|
aspect-ratio:1/1;
|
|
3157
3191
|
background-color:var(--file-preview-card-background-color, var(--color-background-secondary));
|
|
3158
3192
|
border-radius:var(--file-preview-card-border-radius, var(--border-radius-100));
|
|
3159
|
-
|
|
3160
|
-
display:grid;
|
|
3161
|
-
grid-template-areas:" . . menu-action " " . center-action . " " label . . ";
|
|
3162
|
-
grid-template-columns:repeat(3, 1fr);
|
|
3163
|
-
grid-template-rows:repeat(3, 1fr);
|
|
3164
|
-
height:100%;
|
|
3193
|
+
display:flex;
|
|
3165
3194
|
max-width:396px;
|
|
3195
|
+
min-height:120px;
|
|
3166
3196
|
min-width:120px;
|
|
3167
|
-
|
|
3197
|
+
position:relative;
|
|
3168
3198
|
}
|
|
3169
3199
|
|
|
3170
|
-
.file-preview-
|
|
3171
|
-
|
|
3172
|
-
display:flex;
|
|
3173
|
-
grid-area:1/1/4/4;
|
|
3174
|
-
justify-content:center;
|
|
3200
|
+
.file-preview-card__asset{
|
|
3201
|
+
margin:auto;
|
|
3175
3202
|
}
|
|
3176
3203
|
|
|
3177
|
-
.file-preview-
|
|
3204
|
+
img.file-preview-card__asset,video.file-preview-card__asset{
|
|
3205
|
+
align-self:center;
|
|
3178
3206
|
border-radius:var(--file-preview-card-border-radius, var(--border-radius-100));
|
|
3179
3207
|
height:100%;
|
|
3180
3208
|
object-fit:contain;
|
|
3181
3209
|
width:100%;
|
|
3182
3210
|
}
|
|
3183
3211
|
|
|
3184
|
-
.file-preview-
|
|
3212
|
+
.file-preview-card__asset--fade{
|
|
3213
|
+
background-color:inherit;
|
|
3185
3214
|
opacity:.5;
|
|
3186
3215
|
}
|
|
3187
3216
|
|
|
3188
|
-
.file-preview-
|
|
3217
|
+
.file-preview-card__asset.icon{
|
|
3189
3218
|
height:40%;
|
|
3190
3219
|
width:40%;
|
|
3191
3220
|
}
|
|
3192
3221
|
|
|
3193
|
-
.file-preview-
|
|
3194
|
-
grid-area:menu-action;
|
|
3195
|
-
justify-self:end;
|
|
3196
|
-
z-index:1;
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
.file-preview-card .file-preview-card__menu-action .icon-btn{
|
|
3222
|
+
.file-preview-card__body .icon-btn{
|
|
3200
3223
|
height:var(--spacing-400);
|
|
3201
|
-
margin:var(--spacing-100);
|
|
3202
3224
|
width:var(--spacing-400);
|
|
3203
3225
|
}
|
|
3204
3226
|
|
|
3205
|
-
.file-preview-
|
|
3206
|
-
|
|
3227
|
+
.file-preview-card__body>.file-preview-card__action{
|
|
3228
|
+
position:absolute;
|
|
3229
|
+
right:var(--spacing-100);
|
|
3230
|
+
top:var(--spacing-100);
|
|
3231
|
+
z-index:1;
|
|
3207
3232
|
}
|
|
3208
3233
|
|
|
3209
|
-
.file-preview-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
z-index:1;
|
|
3234
|
+
.file-preview-card__body>.file-preview-card__action:dir(rtl){
|
|
3235
|
+
left:var(--spacing-100);
|
|
3236
|
+
right:auto;
|
|
3213
3237
|
}
|
|
3214
3238
|
|
|
3215
|
-
.file-preview-
|
|
3239
|
+
.icon-btn.file-preview-card__action:not(:hover){
|
|
3240
|
+
background-color:var(--file-preview-card-action-background-color, var(--color-background-primary));
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
.file-preview-card__info{
|
|
3216
3244
|
align-items:center;
|
|
3217
|
-
background-color:var(--file-preview-card-
|
|
3245
|
+
background-color:var(--file-preview-card-info-background-color, var(--color-background-primary));
|
|
3246
|
+
border-radius:1em;
|
|
3247
|
+
bottom:var(--spacing-100);
|
|
3218
3248
|
display:flex;
|
|
3219
|
-
|
|
3249
|
+
font-size:var(--font-size-12);
|
|
3250
|
+
font-weight:400;
|
|
3220
3251
|
gap:var(--spacing-50);
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3252
|
+
left:var(--spacing-100);
|
|
3253
|
+
padding:var(--spacing-50) var(--spacing-100);
|
|
3254
|
+
position:absolute;
|
|
3255
|
+
z-index:1;
|
|
3225
3256
|
}
|
|
3226
3257
|
|
|
3227
|
-
.file-preview-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
font-weight:400;
|
|
3258
|
+
.file-preview-card__info:dir(rtl){
|
|
3259
|
+
left:auto;
|
|
3260
|
+
right:var(--spacing-100);
|
|
3231
3261
|
}
|
|
3232
3262
|
|
|
3233
|
-
.file-preview-
|
|
3263
|
+
.file-preview-card__info>.icon{
|
|
3234
3264
|
height:var(--spacing-150);
|
|
3235
3265
|
width:var(--spacing-150);
|
|
3236
3266
|
}
|
|
3237
3267
|
|
|
3238
|
-
.file-preview-
|
|
3239
|
-
align-self:center;
|
|
3240
|
-
grid-area:center-action;
|
|
3241
|
-
justify-self:center;
|
|
3242
|
-
z-index:1;
|
|
3243
|
-
}
|
|
3244
|
-
|
|
3245
|
-
.file-preview-card__body-action .icon-btn{
|
|
3268
|
+
.file-preview-card__see-more{
|
|
3246
3269
|
aspect-ratio:1/1;
|
|
3247
|
-
background-color:rgba(var(--file-preview-card-
|
|
3248
|
-
|
|
3270
|
+
background-color:rgba(var(--file-preview-card-see-more-background-color-rgb, var(--color-background-strong-rgb)), .5);
|
|
3271
|
+
border:none;
|
|
3272
|
+
border-radius:50%;
|
|
3273
|
+
color:var(--file-preview-card-see-more-color, var(--color-foreground-on-strong));
|
|
3274
|
+
font-family:inherit;
|
|
3249
3275
|
font-size:var(--font-size-14);
|
|
3250
3276
|
font-weight:700;
|
|
3251
|
-
|
|
3252
|
-
height:fit-content;
|
|
3277
|
+
left:50%;
|
|
3253
3278
|
line-height:var(--spacing-250);
|
|
3254
3279
|
padding:var(--spacing-100);
|
|
3255
|
-
|
|
3256
|
-
|
|
3280
|
+
position:absolute;
|
|
3281
|
+
top:50%;
|
|
3282
|
+
transform:translate(-50%, -50%);
|
|
3283
|
+
z-index:1;
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
.file-preview-card__see-more:active,.file-preview-card__see-more:focus-visible,.file-preview-card__see-more:hover{
|
|
3287
|
+
color:var(--file-preview-card-see-more-interactive-color, var(--color-foreground-primary));
|
|
3257
3288
|
}
|
|
3258
3289
|
|
|
3259
|
-
.file-preview-
|
|
3260
|
-
color:var(--file-preview-card-
|
|
3290
|
+
.file-preview-card__see-more:focus-visible,.file-preview-card__see-more:hover{
|
|
3291
|
+
background-color:rgba(var(--file-preview-card-see-more-interactive-background-color-rgb, var(--color-state-secondary-hover-rgb)), .5);
|
|
3261
3292
|
}
|
|
3262
3293
|
|
|
3263
|
-
.file-preview-
|
|
3264
|
-
background-color:rgba(var(--file-preview-card-
|
|
3294
|
+
.file-preview-card__see-more:active{
|
|
3295
|
+
background-color:rgba(var(--file-preview-card-see-more-interactive-active-background-color-rgb, var(--color-state-secondary-active-rgb)), .5);
|
|
3265
3296
|
}
|
|
3266
3297
|
|
|
3267
|
-
.file-preview-
|
|
3268
|
-
|
|
3298
|
+
.file-preview-card__footer{
|
|
3299
|
+
display:grid;
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
.file-preview-card__footer>*{
|
|
3303
|
+
overflow:hidden;
|
|
3304
|
+
text-overflow:ellipsis;
|
|
3305
|
+
white-space:nowrap;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
.file-preview-card__footer>:not(:first-child){
|
|
3309
|
+
color:var(--color-foreground-secondary);
|
|
3310
|
+
font-size:var(--font-size-small);
|
|
3269
3311
|
}
|
|
3270
3312
|
div.file-preview-card-group{
|
|
3271
3313
|
container:file-preview-cards-container/inline-size;
|
|
@@ -5967,6 +6009,66 @@ button.fake-link:hover{
|
|
|
5967
6009
|
button.fake-link[aria-disabled=true],button.fake-link[disabled]{
|
|
5968
6010
|
color:var(--fake-link-foreground-disabled-color, var(--color-foreground-disabled));
|
|
5969
6011
|
}
|
|
6012
|
+
.list{
|
|
6013
|
+
max-width:480px;
|
|
6014
|
+
}
|
|
6015
|
+
|
|
6016
|
+
.list ul{
|
|
6017
|
+
list-style:none;
|
|
6018
|
+
margin:0;
|
|
6019
|
+
padding:0;
|
|
6020
|
+
}
|
|
6021
|
+
|
|
6022
|
+
.list ul li>*{
|
|
6023
|
+
align-items:center;
|
|
6024
|
+
background-color:var(--list-background-color, var(--color-background-primary));
|
|
6025
|
+
box-sizing:border-box;
|
|
6026
|
+
color:var(--color-foreground-on-primary);
|
|
6027
|
+
display:inline-flex;
|
|
6028
|
+
font-size:var(--font-size-16);
|
|
6029
|
+
margin-block:1px;
|
|
6030
|
+
min-height:var(--spacing-600);
|
|
6031
|
+
padding:var(--spacing-150) var(--spacing-200);
|
|
6032
|
+
width:100%;
|
|
6033
|
+
}
|
|
6034
|
+
|
|
6035
|
+
.list__leading{
|
|
6036
|
+
margin-inline-end:var(--spacing-200);
|
|
6037
|
+
}
|
|
6038
|
+
|
|
6039
|
+
.list__trailing{
|
|
6040
|
+
margin-inline-start:var(--spacing-200);
|
|
6041
|
+
}
|
|
6042
|
+
|
|
6043
|
+
.list__body{
|
|
6044
|
+
flex:1;
|
|
6045
|
+
}
|
|
6046
|
+
|
|
6047
|
+
.list li>a,.list li>button{
|
|
6048
|
+
border:none;
|
|
6049
|
+
text-align:left;
|
|
6050
|
+
text-decoration:none;
|
|
6051
|
+
}
|
|
6052
|
+
|
|
6053
|
+
.list li>a:focus,.list li>a:hover,.list li>button:focus,.list li>button:hover{
|
|
6054
|
+
color:var(--color-foreground-on-primary);
|
|
6055
|
+
}
|
|
6056
|
+
|
|
6057
|
+
.list li>a:active,.list li>a:focus,.list li>a:hover,.list li>button:active,.list li>button:focus,.list li>button:hover{
|
|
6058
|
+
background-color:var(--list-background-hover-color, var(--color-state-primary-hover));
|
|
6059
|
+
}
|
|
6060
|
+
|
|
6061
|
+
.list hr{
|
|
6062
|
+
border:0;
|
|
6063
|
+
border-top:1px solid var(--color-stroke-subtle);
|
|
6064
|
+
height:1px;
|
|
6065
|
+
margin-inline:var(--spacing-200);
|
|
6066
|
+
padding:0;
|
|
6067
|
+
}
|
|
6068
|
+
|
|
6069
|
+
[dir=rtl] .list li>a,[dir=rtl] .list li>button{
|
|
6070
|
+
text-align:right;
|
|
6071
|
+
}
|
|
5970
6072
|
div.listbox{
|
|
5971
6073
|
margin:var(--spacing-200) 0;
|
|
5972
6074
|
}
|
|
@@ -8703,10 +8805,35 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8703
8805
|
.table{
|
|
8704
8806
|
overflow-x:auto;
|
|
8705
8807
|
position:relative;
|
|
8808
|
+
-webkit-overflow-scrolling:touch;
|
|
8809
|
+
scroll-behavior:smooth;
|
|
8810
|
+
scroll-snap-type:proximity;
|
|
8811
|
+
scroll-snap-type:x proximity;
|
|
8812
|
+
}
|
|
8813
|
+
|
|
8814
|
+
.table::-webkit-scrollbar{
|
|
8815
|
+
background-color:var(--color-background-faint);
|
|
8816
|
+
border-radius:12px;
|
|
8817
|
+
}
|
|
8818
|
+
|
|
8819
|
+
.table::-webkit-scrollbar:vertical{
|
|
8820
|
+
width:6px;
|
|
8821
|
+
}
|
|
8822
|
+
|
|
8823
|
+
.table::-webkit-scrollbar:horizontal{
|
|
8824
|
+
height:6px;
|
|
8825
|
+
}
|
|
8826
|
+
|
|
8827
|
+
.table::-webkit-scrollbar-thumb{
|
|
8828
|
+
background-color:var(--color-foreground-secondary);
|
|
8829
|
+
border-color:transparent;
|
|
8830
|
+
border-radius:12px;
|
|
8831
|
+
border-right-style:inset;
|
|
8832
|
+
box-shadow:none;
|
|
8706
8833
|
}
|
|
8707
8834
|
|
|
8708
8835
|
.table table{
|
|
8709
|
-
border-collapse:
|
|
8836
|
+
border-collapse:initial;
|
|
8710
8837
|
border-spacing:0;
|
|
8711
8838
|
width:100%;
|
|
8712
8839
|
}
|
|
@@ -8738,8 +8865,30 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8738
8865
|
padding:16px;
|
|
8739
8866
|
}
|
|
8740
8867
|
|
|
8741
|
-
.table
|
|
8868
|
+
.table--frozen-header thead{
|
|
8869
|
+
position:sticky;
|
|
8870
|
+
top:0;
|
|
8871
|
+
z-index:3;
|
|
8872
|
+
}
|
|
8873
|
+
|
|
8874
|
+
.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){
|
|
8875
|
+
left:0;
|
|
8876
|
+
position:sticky;
|
|
8877
|
+
}
|
|
8878
|
+
|
|
8879
|
+
.table--full-height{
|
|
8880
|
+
max-height:unset;
|
|
8881
|
+
}
|
|
8882
|
+
|
|
8883
|
+
.table--constrained-height{
|
|
8884
|
+
max-height:90vh;
|
|
8885
|
+
}
|
|
8886
|
+
|
|
8887
|
+
.table th a,.table th button{
|
|
8888
|
+
align-items:center;
|
|
8889
|
+
display:flex;
|
|
8742
8890
|
font-weight:700;
|
|
8891
|
+
text-decoration:none;
|
|
8743
8892
|
}
|
|
8744
8893
|
|
|
8745
8894
|
.table tbody tr:last-child td,.table tbody tr:last-child th{
|
|
@@ -8798,6 +8947,9 @@ span.switch__control:focus:not(:focus-visible){
|
|
|
8798
8947
|
text-align:center;
|
|
8799
8948
|
width:48px;
|
|
8800
8949
|
}
|
|
8950
|
+
.table--mode-selection tr:has(input:checked) :where(td,th){
|
|
8951
|
+
background-color:var(--color-background-secondary);
|
|
8952
|
+
}
|
|
8801
8953
|
|
|
8802
8954
|
.table tbody th{
|
|
8803
8955
|
font-weight:400;
|