@ebay/skin 19.1.3 → 19.3.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 (49) hide show
  1. package/README.md +7 -7
  2. package/dist/accordion/accordion.css +13 -7
  3. package/dist/bundles/skin-default.css +201 -20
  4. package/dist/bundles/skin-full.css +202 -21
  5. package/dist/bundles/skin-headless.css +199 -19
  6. package/dist/button/button.css +23 -3
  7. package/dist/drawer-dialog/drawer-dialog.css +1 -0
  8. package/dist/eek/eek.css +9 -10
  9. package/dist/icon/icon.css +5 -0
  10. package/dist/item-tile/item-tile.css +94 -0
  11. package/dist/item-tile-group/item-tile-group.css +33 -0
  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 +10 -98
  49. package/LICENSE +0 -21
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  > Pure CSS framework designed & developed by eBay for a branded, e-commerce marketplace.
6
6
 
7
- Please visit the [Skin website](https://opensource.ebay.com/skin/) for all end-user documentation.
7
+ Please visit the [Skin website](https://opensource.ebay.com/evo-web/skin/) for all end-user documentation.
8
8
 
9
9
  ## License
10
10
 
@@ -12,7 +12,7 @@ Skin is [MIT](LICENSE) licensed.
12
12
 
13
13
  ## Install
14
14
 
15
- Skin is available as the `@ebay/skin` package on [NPM](https://www.npmjs.com/). Skin is also available on our [CDN](https://opensource.ebay.com/skin/#cdn).
15
+ Skin is available as the `@ebay/skin` package on [NPM](https://www.npmjs.com/). Skin is also available on our [CDN](https://opensource.ebay.com/evo-web/skin/#cdn).
16
16
 
17
17
  ## Versioning
18
18
 
@@ -26,13 +26,13 @@ More detailed insight into our versioning process can be found in our [contribut
26
26
 
27
27
  ## Releases
28
28
 
29
- Please refer to our [releases](https://github.com/eBay/skin/releases) page to view the change log for current and past releases.
29
+ Please refer to our [releases](https://github.com/eBay/evo-web/releases) page to view the change log for current and past releases.
30
30
 
31
- Please refer to our [web archive](https://opensource.ebay.com/skin/archive/) for past examples and documentation.
31
+ Please refer to our [web archive](https://opensource.ebay.com/evo-web/skin/archive/) for past examples and documentation.
32
32
 
33
33
  ## Roadmap
34
34
 
35
- Please refer to our [projects](https://github.com/eBay/skin/projects) page to see what's coming down the pipeline.
35
+ Please refer to our [projects](https://github.com/eBay/evo-web/projects) page to see what's coming down the pipeline.
36
36
 
37
37
  ## Browser Support
38
38
 
@@ -46,7 +46,7 @@ We take accessibility very seriously. Very seriously indeed. Therefore all modul
46
46
 
47
47
  ## Issues
48
48
 
49
- Please use our [issues page](https://github.com/eBay/skin/issues) to ask questions, report issues or submit feature requests.
49
+ Please use our [issues page](https://github.com/eBay/evo-web/issues) to ask questions, report issues or submit feature requests.
50
50
 
51
51
  To help track your issue, the Skin admins will assign it with a label from one or more issue categories.
52
52
 
@@ -74,4 +74,4 @@ The original creator of Skin is [Senthil Padmanabhan](https://github.com/senthil
74
74
 
75
75
  The current author and lead maintainer is [Ian McBurnie](https://github.com/ianmcburnie).
76
76
 
77
- [List of all contributors](https://github.com/eBay/skin/graphs/contributors).
77
+ [List of all contributors](https://github.com/eBay/evo-web/graphs/contributors).
@@ -7,7 +7,7 @@ ul.accordion ::marker {
7
7
  font-size: 0;
8
8
  }
9
9
 
10
- ul.accordion li:not(:last-child) {
10
+ ul.accordion > li:not(:last-child) {
11
11
  border-bottom: 1px solid var(--color-stroke-subtle);
12
12
  }
13
13
 
@@ -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);
@@ -609,7 +610,7 @@ ul.accordion ::marker{
609
610
  font-size:0;
610
611
  }
611
612
 
612
- ul.accordion li:not(:last-child){
613
+ ul.accordion>li:not(:last-child){
613
614
  border-bottom:1px solid var(--color-stroke-subtle);
614
615
  }
615
616
 
@@ -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,131 @@ 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
+ .layout-grid.item-tile-group{
6055
+ --layout-grid-columns-min:2;
6056
+ --layout-grid-columns-xs:2;
6057
+ --layout-grid-columns-sm:2;
6058
+ --layout-grid-columns-md:3;
6059
+ --layout-grid-columns-lg:4;
6060
+ --layout-grid-columns-xl:5;
6061
+ --layout-grid-columns-xl2:5;
6062
+ --layout-grid-columns-xl3:5;
6063
+ --layout-grid-columns-xl4:5;
6064
+ }
6065
+
6066
+ .layout-grid.item-tile-group--list-view{
6067
+ --layout-grid-columns-min:1;
6068
+ --layout-grid-columns-xs:1;
6069
+ --layout-grid-columns-sm:1;
6070
+ --layout-grid-columns-md:1;
6071
+ --layout-grid-columns-lg:1;
6072
+ --layout-grid-columns-xl:2;
6073
+ --layout-grid-columns-xl2:2;
6074
+ --layout-grid-columns-xl3:2;
6075
+ --layout-grid-columns-xl4:2;
6076
+ }
6077
+
6078
+ .item-tile-group .item-tile__title{
6079
+ -webkit-line-clamp:3;
6080
+ }
6081
+
6082
+ @media (min-width:768px){
6083
+ .item-tile-group .item-tile__title{
6084
+ -webkit-line-clamp:2;
6085
+ }
6086
+ }
5941
6087
  .layout-grid{
5942
6088
  --layout-grid-cell-height-min:0;
5943
6089
  --layout-grid-cell-gap:var(--spacing-100);
@@ -8223,7 +8369,7 @@ nav.pagination--fluid ol.pagination__items li{
8223
8369
  -webkit-overflow-scrolling:touch;
8224
8370
  flex-direction:column;
8225
8371
  overflow-y:auto;
8226
- overflow-y:hidden;
8372
+ overflow:hidden;
8227
8373
  position:fixed;
8228
8374
  right:0;
8229
8375
  top:0;
@@ -11879,6 +12025,10 @@ button.tourtip__close svg.icon{
11879
12025
  width:100%;
11880
12026
  }
11881
12027
 
12028
+ .video-player button{
12029
+ font-family:inherit;
12030
+ }
12031
+
11882
12032
  .video-player__overlay{
11883
12033
  align-items:center;
11884
12034
  background-color:rgba(0, 0, 0, .6);
@@ -11927,11 +12077,42 @@ button.tourtip__close svg.icon{
11927
12077
  width:48px;
11928
12078
  }
11929
12079
 
12080
+ .video-player .shaka-bottom-controls{
12081
+ box-sizing:border-box;
12082
+ margin-bottom:3%;
12083
+ padding-bottom:0;
12084
+ position:relative;
12085
+ width:94%;
12086
+ }
12087
+
11930
12088
  .video-player .shaka-controls-button-panel{
11931
12089
  background-color:rgba(0, 0, 0, .7);
11932
12090
  border-radius:8px;
12091
+ bottom:0;
12092
+ height:40px;
12093
+ position:absolute;
12094
+ width:100%;
12095
+ }
12096
+ .video-player .shaka-controls-button-panel :first-child{
12097
+ margin-left:8px;
12098
+ }
12099
+ .video-player .shaka-controls-button-panel :last-child{
12100
+ margin-right:8px;
11933
12101
  }
11934
12102
 
11935
12103
  .video-player--poster .shaka-scrim-container{
11936
12104
  visibility:hidden;
11937
12105
  }
12106
+
12107
+ .video-player .shaka-range-container{
12108
+ box-sizing:border-box;
12109
+ margin:0 188px 18px 76px;
12110
+ }
12111
+
12112
+ .video-player #shaka-player-ui-time-container{
12113
+ display:none;
12114
+ }
12115
+
12116
+ .video-player .shaka-video-container{
12117
+ font-family:Market Sans,Arial,sans-serif;
12118
+ }