@ebay/skin 19.1.2 → 19.2.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.
Files changed (48) hide show
  1. package/dist/accordion/accordion.css +12 -6
  2. package/dist/bundles/skin-default.css +178 -21
  3. package/dist/bundles/skin-full.css +179 -22
  4. package/dist/bundles/skin-headless.css +176 -20
  5. package/dist/button/button.css +23 -3
  6. package/dist/drawer-dialog/drawer-dialog.css +1 -0
  7. package/dist/eek/eek.css +9 -10
  8. package/dist/icon/icon.css +5 -0
  9. package/dist/item-tile/item-tile.css +94 -0
  10. package/dist/item-tile-group/item-tile-group.css +9 -0
  11. package/dist/page-grid/page-grid.css +2 -2
  12. package/dist/panel-dialog/panel-dialog.css +1 -1
  13. package/dist/svg/icon/icon-clock-fast-16.svg +7 -0
  14. package/dist/svg/icon/icon-clock-fast-24.svg +7 -0
  15. package/dist/svg/icon/icon-ebay-logo-16-colored.svg +18 -0
  16. package/dist/svg/icon/icon-ebay-plus-logo-dark-16-colored.svg +10 -0
  17. package/dist/svg/icon/icon-european-conformity-48.svg +1 -3
  18. package/dist/svg/icon/icon-exclude-64.svg +7 -0
  19. package/dist/svg/icon/icon-location-arrow-16.svg +7 -0
  20. package/dist/svg/icon/icon-location-arrow-24.svg +7 -0
  21. package/dist/svg/icon/icon-psa-16-colored.svg +10 -0
  22. package/dist/svg/icon/icon-psa-16.svg +7 -0
  23. package/dist/svg/icon/icon-top-rated-plus-16.svg +7 -0
  24. package/dist/svg/icon/icon-top-rated-plus-24.svg +7 -0
  25. package/dist/svg/icon/icon-top-service-16.svg +1 -1
  26. package/dist/svg/icon/icon-top-service-24.svg +1 -1
  27. package/dist/svg/icon/icon-top-service-filled-16-colored.svg +13 -0
  28. package/dist/svg/icon/icon-top-service-filled-24-colored.svg +14 -0
  29. package/dist/svg/icon/icon-trophy-16.svg +2 -2
  30. package/dist/svg/icon/icon-trophy-24.svg +2 -2
  31. package/dist/svg/icons.svg +203 -84
  32. package/dist/tokens/evo-core.css +1 -0
  33. package/dist/tokens/evo-dark.css +1 -1
  34. package/dist/tokens/evo-light.css +3 -3
  35. package/dist/video/video.css +38 -0
  36. package/index.browser.json +2 -0
  37. package/index.css +2 -0
  38. package/index.js +2 -0
  39. package/index.mjs +2 -0
  40. package/item-tile-group.browser.json +1 -0
  41. package/item-tile-group.css +1 -0
  42. package/item-tile-group.js +1 -0
  43. package/item-tile-group.mjs +1 -0
  44. package/item-tile.browser.json +1 -0
  45. package/item-tile.css +1 -0
  46. package/item-tile.js +1 -0
  47. package/item-tile.mjs +1 -0
  48. package/package.json +24 -24
@@ -20,6 +20,13 @@ ul.accordion summary.details__summary {
20
20
  padding: 12px 16px;
21
21
  }
22
22
 
23
+ ul.accordion summary.details__summary span.details__icon svg {
24
+ fill: var(
25
+ --details-secondary-foreground-color,
26
+ var(--color-foreground-secondary)
27
+ );
28
+ }
29
+
23
30
  ul.accordion details .details__content {
24
31
  margin: 0 16px 6px;
25
32
  opacity: 0;
@@ -34,12 +41,6 @@ ul.accordion details[open] .details__content {
34
41
  opacity: 1;
35
42
  transform: scaleY(1);
36
43
  }
37
-
38
- ul.accordion--large summary.details__summary {
39
- font-size: var(--font-size-large-1);
40
- min-height: 52px;
41
- }
42
-
43
44
  ul.accordion details svg.details__expand,
44
45
  ul.accordion details[open] svg.details__collapse {
45
46
  display: inline-block;
@@ -50,6 +51,11 @@ ul.accordion details[open] svg.details__expand {
50
51
  display: none;
51
52
  }
52
53
 
54
+ ul.accordion--large summary.details__summary {
55
+ font-size: var(--font-size-large-1);
56
+ min-height: 52px;
57
+ }
58
+
53
59
  @media (prefers-reduced-motion) {
54
60
  ul.accordion details .details__content,
55
61
  ul.accordion details[open] .details__content {
@@ -68,6 +68,7 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
68
68
  --color-blue-400:#659eff;
69
69
  --color-blue-500:#3665f3;
70
70
  --color-blue-600:#382aef;
71
+ --color-blue-650:#003aa5;
71
72
  --color-blue-700:#002a69;
72
73
  --color-blue-800:#19133a;
73
74
  --color-violet-100:#f6f5fe;
@@ -238,7 +239,7 @@ https://github.com/eBay/skin/blob/master/LICENSE.txt
238
239
  --color-foreground-on-information:var(--color-neutral-100);
239
240
  --color-foreground-on-strong:var(--color-neutral-100);
240
241
  --color-foreground-link-visited:var(--color-pink-600);
241
- --color-foreground-link-legal:var(--color-foreground-accent);
242
+ --color-foreground-link-legal:var(--color-blue-650);
242
243
  --color-foreground-link-primary:var(--color-foreground-primary);
243
244
  --color-stroke-default:var(--color-neutral-500);
244
245
  --color-stroke-accent:var(--color-blue-500);
@@ -622,6 +623,10 @@ ul.accordion summary.details__summary{
622
623
  padding:12px 16px;
623
624
  }
624
625
 
626
+ ul.accordion summary.details__summary span.details__icon svg{
627
+ fill:var(--details-secondary-foreground-color, var(--color-foreground-secondary));
628
+ }
629
+
625
630
  ul.accordion details .details__content{
626
631
  margin:0 16px 6px;
627
632
  opacity:0;
@@ -634,12 +639,6 @@ ul.accordion details[open] .details__content{
634
639
  opacity:1;
635
640
  transform:scaleY(1);
636
641
  }
637
-
638
- ul.accordion--large summary.details__summary{
639
- font-size:var(--font-size-large-1);
640
- min-height:52px;
641
- }
642
-
643
642
  ul.accordion details svg.details__expand,ul.accordion details[open] svg.details__collapse{
644
643
  display:inline-block;
645
644
  }
@@ -648,6 +647,11 @@ ul.accordion details svg.details__collapse,ul.accordion details[open] svg.detail
648
647
  display:none;
649
648
  }
650
649
 
650
+ ul.accordion--large summary.details__summary{
651
+ font-size:var(--font-size-large-1);
652
+ min-height:52px;
653
+ }
654
+
651
655
  @media (prefers-reduced-motion){
652
656
  ul.accordion details .details__content,ul.accordion details[open] .details__content{
653
657
  transition:none;
@@ -1128,6 +1132,10 @@ a.fake-btn--primary,button.btn--primary{
1128
1132
  border-color:var(--btn-primary-border-color, var(--color-stroke-accent));
1129
1133
  color:var(--btn-primary-foreground-color, var(--color-foreground-on-accent));
1130
1134
  font-weight:700;
1135
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
1136
+ }
1137
+ a.fake-btn--primary:active,button.btn--primary:active{
1138
+ transform:scale(.97);
1131
1139
  }
1132
1140
 
1133
1141
  a.fake-btn--primary{
@@ -1216,9 +1224,14 @@ a.fake-btn--primary:not([href]),a.fake-btn--primary[aria-disabled=true]{
1216
1224
  a.fake-btn--secondary,button.btn--secondary{
1217
1225
  background-color:var(--btn-secondary-background-color, transparent);
1218
1226
  border-color:var(--btn-secondary-border-color, var(--color-stroke-accent));
1227
+ color:var(--btn-secondary-foreground-color, var(--color-foreground-accent));
1228
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
1229
+ }
1230
+ a.fake-btn--secondary:active,button.btn--secondary:active{
1231
+ transform:scale(.97);
1219
1232
  }
1220
1233
 
1221
- a.fake-btn--secondary,a.fake-btn--secondary:visited,button.btn--secondary{
1234
+ a.fake-btn--secondary:visited{
1222
1235
  color:var(--btn-secondary-foreground-color, var(--color-foreground-accent));
1223
1236
  }
1224
1237
 
@@ -1271,6 +1284,10 @@ a.fake-btn--secondary:not([href]),a.fake-btn--secondary[aria-disabled=true]{
1271
1284
 
1272
1285
  a.fake-btn--tertiary,button.btn--tertiary{
1273
1286
  border-color:var(--btn-tertiary-border-color, var(--color-stroke-default));
1287
+ transition:all var(--motion-duration-short-3) var(--motion-easing-quick-enter);
1288
+ }
1289
+ a.fake-btn--tertiary:active,button.btn--tertiary:active{
1290
+ transform:scale(.97);
1274
1291
  }
1275
1292
 
1276
1293
  a.fake-btn--tertiary[href]:focus,a.fake-btn--tertiary[href]:hover,button.btn--tertiary:not([disabled],[aria-disabled=true]):focus,button.btn--tertiary:not([disabled],[aria-disabled=true]):hover{
@@ -2847,6 +2864,7 @@ details.details summary:focus:not(:focus-visible){
2847
2864
  -webkit-overflow-scrolling:touch;
2848
2865
  align-items:flex-end;
2849
2866
  overflow-y:auto;
2867
+ overflow:hidden;
2850
2868
  position:fixed;
2851
2869
  right:0;
2852
2870
  top:0;
@@ -3070,6 +3088,7 @@ button.icon-btn.drawer-dialog__close{
3070
3088
  .eek{
3071
3089
  align-items:stretch;
3072
3090
  display:inline-flex;
3091
+ flex-direction:row-reverse;
3073
3092
  font-family:Arial,sans-serif;
3074
3093
  font-weight:700;
3075
3094
  height:24px;
@@ -3083,12 +3102,14 @@ button.icon-btn.drawer-dialog__close{
3083
3102
  .eek__container{
3084
3103
  align-items:center;
3085
3104
  border:1px solid #000;
3086
- border-radius:2px 0 0 2px;
3087
- border-right:none;
3105
+ border-left:none;
3106
+ border-radius:0 2px 2px 0;
3088
3107
  display:inline-flex;
3108
+ flex-direction:row-reverse;
3089
3109
  }
3090
3110
 
3091
3111
  .eek .icon--eek-arrow{
3112
+ rotate:180deg;
3092
3113
  width:9px;
3093
3114
  }
3094
3115
 
@@ -3107,7 +3128,7 @@ button.icon-btn.drawer-dialog__close{
3107
3128
  content:"";
3108
3129
  display:block;
3109
3130
  height:19.7989898732px;
3110
- margin-top:2.3px;
3131
+ margin-block-start:2.3px;
3111
3132
  position:relative;
3112
3133
  right:12px;
3113
3134
  transform:rotate(45deg);
@@ -3174,7 +3195,7 @@ button.icon-btn.drawer-dialog__close{
3174
3195
  color:#fff;
3175
3196
  display:inline-block;
3176
3197
  font-size:18px;
3177
- margin-left:8px;
3198
+ margin-inline-end:8px;
3178
3199
  text-shadow:-.5px .5px 0 #000, .5px .5px 0 #000, .5px -.5px 0 #000, -.5px -.5px 0 #000;
3179
3200
  }
3180
3201
 
@@ -3225,12 +3246,8 @@ button.icon-btn.drawer-dialog__close{
3225
3246
  }
3226
3247
  }
3227
3248
  }
3228
- [dir=rtl] .eek .icon--eek-arrow{
3229
- transform:rotate(180deg);
3230
- }
3231
- [dir=rtl] .eek__container{
3232
- border-left:none;
3233
- border-right:1px solid #000;
3249
+ [dir=rtl] .eek{
3250
+ direction:ltr;
3234
3251
  }
3235
3252
  span.field{
3236
3253
  display:inline-block;
@@ -5525,6 +5542,10 @@ svg.icon--32,svg.icon--32-fit{
5525
5542
  height:32px;
5526
5543
  width:32px;
5527
5544
  }
5545
+ svg.icon--48,svg.icon--48-fit{
5546
+ height:48px;
5547
+ width:48px;
5548
+ }
5528
5549
  svg.icon--64,svg.icon--64-fit{
5529
5550
  height:32px;
5530
5551
  width:64px;
@@ -5938,6 +5959,107 @@ span.inline-notice{
5938
5959
  .inline-notice a,.inline-notice button.fake-link{
5939
5960
  color:var(--color-foreground-primary);
5940
5961
  }
5962
+
5963
+ .item-tile{
5964
+ display:grid;
5965
+ gap:var(--spacing-200);
5966
+ grid-area:body;
5967
+ grid-template-areas:"header" "body";
5968
+ grid-template-rows:auto 1fr;
5969
+ }
5970
+
5971
+ .item-tile--list-view{
5972
+ display:flex;
5973
+ flex-direction:row;
5974
+ gap:var(--spacing-100);
5975
+ }
5976
+
5977
+ .item-tile__header{
5978
+ grid-area:header;
5979
+ }
5980
+
5981
+ .item-tile__header .file-preview-card__body a{
5982
+ display:block;
5983
+ width:100%;
5984
+ }
5985
+
5986
+ .item-tile__header .file-preview-card__body a:focus-visible{
5987
+ border-radius:var(--item-tile-media-border-radius, var(--border-radius-100));
5988
+ outline-offset:3px;
5989
+ }
5990
+
5991
+ .item-tile__body{
5992
+ display:grid;
5993
+ grid-area:body;
5994
+ grid-template-areas:"section-primary" "section-secondary" "section-tertiary";
5995
+ grid-template-rows:25px .75fr 1fr;
5996
+ }
5997
+
5998
+ .item-tile--list-view .item-tile__header{
5999
+ max-width:200px;
6000
+ }
6001
+
6002
+ .item-tile--list-view .item-tile__body{
6003
+ display:flex;
6004
+ flex-direction:column;
6005
+ }
6006
+
6007
+ .item-tile__section-primary{
6008
+ display:inline-block;
6009
+ grid-area:section-primary;
6010
+ margin-block-end:var(--spacing-50);
6011
+ }
6012
+
6013
+ .item-tile__section-primary .signal{
6014
+ margin:0;
6015
+ }
6016
+
6017
+ .item-tile__section-secondary{
6018
+ grid-area:section-secondary;
6019
+ }
6020
+
6021
+ .item-tile__section-tertiary{
6022
+ grid-area:section-tertiary;
6023
+ }
6024
+ .item-tile__section-tertiary p{
6025
+ margin-block-end:.2143em;
6026
+ margin-block-start:0;
6027
+ }
6028
+
6029
+ .item-tile__section-tertiary a,.item-tile__title{
6030
+ color:var(--color-foreground-link-primary);
6031
+ text-decoration:none;
6032
+ }
6033
+
6034
+ .item-tile__title{
6035
+ -webkit-box-orient:vertical;
6036
+ display:-webkit-box;
6037
+ -webkit-line-clamp:3;
6038
+ overflow:hidden;
6039
+ }
6040
+
6041
+ .item-tile__title:hover{
6042
+ color:var(--color-foreground-link-primary);
6043
+ text-decoration:underline;
6044
+ }
6045
+
6046
+ .item-tile__title:visited{
6047
+ color:var(--color-foreground-link-visited);
6048
+ }
6049
+
6050
+ .item-tile__subtitle{
6051
+ color:var(--color-foreground-secondary);
6052
+ }
6053
+
6054
+ .item-tile-group .item-tile__title{
6055
+ -webkit-line-clamp:3;
6056
+ }
6057
+
6058
+ @media (min-width:768px){
6059
+ .item-tile-group .item-tile__title{
6060
+ -webkit-line-clamp:2;
6061
+ }
6062
+ }
5941
6063
  .layout-grid{
5942
6064
  --layout-grid-cell-height-min:0;
5943
6065
  --layout-grid-cell-gap:var(--spacing-100);
@@ -7887,7 +8009,7 @@ div.menu-button__item[role^=menuitem]:focus:not(:focus-visible){
7887
8009
  --page-grid-max-width:1584px;
7888
8010
  --page-grid-total-max-width:calc(var(--page-grid-max-width) + var(--page-grid-outside-margins)*2);
7889
8011
  }
7890
- @media screen and (min-width:512px){
8012
+ @media (min-width:512px){
7891
8013
  :root{
7892
8014
  --page-grid-number-cols:16;
7893
8015
  --page-grid-column-gaps:var(--spacing-200);
@@ -7895,7 +8017,7 @@ div.menu-button__item[role^=menuitem]:focus:not(:focus-visible){
7895
8017
  --page-grid-outside-margins:32px;
7896
8018
  }
7897
8019
  }
7898
- @media screen and (min-width:1280px){
8020
+ @media (min-width:1280px){
7899
8021
  :root{
7900
8022
  --page-grid-outside-margins:48px;
7901
8023
  }
@@ -8223,7 +8345,7 @@ nav.pagination--fluid ol.pagination__items li{
8223
8345
  -webkit-overflow-scrolling:touch;
8224
8346
  flex-direction:column;
8225
8347
  overflow-y:auto;
8226
- overflow-y:hidden;
8348
+ overflow:hidden;
8227
8349
  position:fixed;
8228
8350
  right:0;
8229
8351
  top:0;
@@ -11879,6 +12001,10 @@ button.tourtip__close svg.icon{
11879
12001
  width:100%;
11880
12002
  }
11881
12003
 
12004
+ .video-player button{
12005
+ font-family:inherit;
12006
+ }
12007
+
11882
12008
  .video-player__overlay{
11883
12009
  align-items:center;
11884
12010
  background-color:rgba(0, 0, 0, .6);
@@ -11927,11 +12053,42 @@ button.tourtip__close svg.icon{
11927
12053
  width:48px;
11928
12054
  }
11929
12055
 
12056
+ .video-player .shaka-bottom-controls{
12057
+ box-sizing:border-box;
12058
+ margin-bottom:3%;
12059
+ padding-bottom:0;
12060
+ position:relative;
12061
+ width:94%;
12062
+ }
12063
+
11930
12064
  .video-player .shaka-controls-button-panel{
11931
12065
  background-color:rgba(0, 0, 0, .7);
11932
12066
  border-radius:8px;
12067
+ bottom:0;
12068
+ height:40px;
12069
+ position:absolute;
12070
+ width:100%;
12071
+ }
12072
+ .video-player .shaka-controls-button-panel :first-child{
12073
+ margin-left:8px;
12074
+ }
12075
+ .video-player .shaka-controls-button-panel :last-child{
12076
+ margin-right:8px;
11933
12077
  }
11934
12078
 
11935
12079
  .video-player--poster .shaka-scrim-container{
11936
12080
  visibility:hidden;
11937
12081
  }
12082
+
12083
+ .video-player .shaka-range-container{
12084
+ box-sizing:border-box;
12085
+ margin:0 188px 18px 76px;
12086
+ }
12087
+
12088
+ .video-player #shaka-player-ui-time-container{
12089
+ display:none;
12090
+ }
12091
+
12092
+ .video-player .shaka-video-container{
12093
+ font-family:Market Sans,Arial,sans-serif;
12094
+ }