@ebay/skin 19.15.0 → 19.17.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 (134) hide show
  1. package/dist/accordion/accordion.css +1 -10
  2. package/dist/alert-dialog/alert-dialog.css +1 -11
  3. package/dist/avatar/avatar.css +1 -19
  4. package/dist/badge/badge.css +1 -1
  5. package/dist/breadcrumbs/breadcrumbs.css +1 -14
  6. package/dist/bundles/skin-default.css +1257 -2125
  7. package/dist/bundles/skin-full.css +1370 -2227
  8. package/dist/bundles/skin-headless.css +796 -1874
  9. package/dist/button/button.css +70 -107
  10. package/dist/calendar/calendar.css +42 -39
  11. package/dist/card/card.css +3 -3
  12. package/dist/carousel/carousel.css +31 -28
  13. package/dist/ccd/ccd.css +2 -5
  14. package/dist/checkbox/checkbox.css +0 -14
  15. package/dist/chip/chip.css +1 -5
  16. package/dist/chips-combobox/chips-combobox.css +4 -21
  17. package/dist/combobox/combobox.css +49 -35
  18. package/dist/confirm-dialog/confirm-dialog.css +1 -11
  19. package/dist/cta-button/cta-button.css +2 -12
  20. package/dist/date-textbox/date-textbox.css +0 -4
  21. package/dist/details/details.css +34 -17
  22. package/dist/donut-chart/donut-chart.css +2 -10
  23. package/dist/drawer-dialog/drawer-dialog.css +1 -11
  24. package/dist/education-notice/education-notice.css +4 -16
  25. package/dist/eek/eek.css +2 -28
  26. package/dist/field/field.css +2 -25
  27. package/dist/file-input/file-input.css +4 -14
  28. package/dist/file-preview-card/file-preview-card.css +46 -43
  29. package/dist/file-preview-card-group/file-preview-card-group.css +0 -3
  30. package/dist/filter-button/filter-button.css +39 -53
  31. package/dist/filter-chip/filter-chip.css +41 -18
  32. package/dist/filter-menu/filter-menu.css +108 -82
  33. package/dist/filter-menu-button/filter-menu-button.css +107 -89
  34. package/dist/flag/flag.css +0 -253
  35. package/dist/floating-label/floating-label.css +4 -20
  36. package/dist/fullscreen-dialog/fullscreen-dialog.css +0 -10
  37. package/dist/global/global.css +2 -6
  38. package/dist/icon/icon.css +2 -2
  39. package/dist/icon-button/icon-button.css +71 -89
  40. package/dist/infotip/infotip.css +0 -24
  41. package/dist/inline-notice/inline-notice.css +0 -5
  42. package/dist/item-tile/item-tile.css +1 -0
  43. package/dist/layout-grid/layout-grid.css +0 -7
  44. package/dist/lightbox-dialog/lightbox-dialog.css +2 -24
  45. package/dist/link/link.css +0 -2
  46. package/dist/list/list.css +34 -32
  47. package/dist/listbox/listbox.css +45 -16
  48. package/dist/listbox-button/listbox-button.css +50 -35
  49. package/dist/menu/menu.css +70 -10
  50. package/dist/menu-button/menu-button.css +90 -39
  51. package/dist/mixins/_title.scss +1 -1
  52. package/dist/mixins/_typography.scss +9 -9
  53. package/dist/mixins/_utility.scss +1 -1
  54. package/dist/mixins/typography-mixins.less +10 -10
  55. package/dist/number-input/number-input.css +0 -16
  56. package/dist/page-grid/page-grid.css +0 -1
  57. package/dist/page-notice/page-notice.css +12 -33
  58. package/dist/pagination/pagination.css +39 -22
  59. package/dist/panel-dialog/panel-dialog.css +0 -14
  60. package/dist/phone-input/phone-input.css +5 -25
  61. package/dist/progress-bar/progress-bar.css +1 -6
  62. package/dist/progress-bar-expressive/progress-bar-expressive.css +4 -28
  63. package/dist/progress-spinner/progress-spinner.css +0 -2
  64. package/dist/progress-stepper/progress-stepper.css +7 -47
  65. package/dist/radio/radio.css +0 -14
  66. package/dist/section-notice/section-notice.css +5 -21
  67. package/dist/section-title/section-title.css +4 -16
  68. package/dist/segmented-buttons/segmented-buttons.css +37 -17
  69. package/dist/select/select.css +5 -17
  70. package/dist/selection-chip/selection-chip.css +30 -14
  71. package/dist/signal/signal.css +1 -1
  72. package/dist/skeleton/skeleton.css +3 -26
  73. package/dist/snackbar-dialog/snackbar-dialog.css +0 -11
  74. package/dist/star-rating/star-rating.css +0 -2
  75. package/dist/star-rating-select/star-rating-select.css +0 -7
  76. package/dist/svg/icon/icon-stepper-confirmation-24.svg +1 -1
  77. package/dist/svg/icon/icon-stepper-current-24.svg +1 -1
  78. package/dist/svg/icon/icon-stepper-upcoming-24.svg +1 -1
  79. package/dist/svg/icons.svg +3 -3
  80. package/dist/switch/switch.css +34 -19
  81. package/dist/table/table.css +4 -51
  82. package/dist/tabs/tabs.css +6 -1
  83. package/dist/textbox/textbox.css +18 -10
  84. package/dist/toast-dialog/toast-dialog.css +80 -49
  85. package/dist/toggle-button/toggle-button.css +7 -39
  86. package/dist/toggle-button-group/toggle-button-group.css +0 -16
  87. package/dist/tokens/evo-core.css +351 -165
  88. package/dist/tokens/evo-dark-class.css +128 -0
  89. package/dist/tokens/evo-dark.css +156 -100
  90. package/dist/tokens/evo-light-class.css +126 -0
  91. package/dist/tokens/evo-light.css +157 -97
  92. package/dist/tokens/evo-live-dark-class.css +126 -0
  93. package/dist/tokens/evo-live-dark.css +126 -0
  94. package/dist/tokens/evo-live-light-class.css +128 -0
  95. package/dist/tokens/evo-live-light.css +128 -0
  96. package/dist/tooltip/tooltip.css +0 -23
  97. package/dist/tourtip/tourtip.css +0 -27
  98. package/dist/typography/typography.css +8 -28
  99. package/dist/utility/utility.css +1 -8
  100. package/dist/video/video.css +56 -15
  101. package/evo-class.css +2 -0
  102. package/evo-class.js +2 -0
  103. package/evo-class.mjs +2 -0
  104. package/evo-live-class.css +2 -0
  105. package/evo-live-class.js +2 -0
  106. package/evo-live-class.mjs +2 -0
  107. package/evo-live.css +2 -0
  108. package/evo-live.js +2 -0
  109. package/evo-live.mjs +2 -0
  110. package/package.json +4 -8
  111. package/tokens/evo-dark-class.browser.json +1 -0
  112. package/tokens/evo-dark-class.css +1 -0
  113. package/tokens/evo-dark-class.js +1 -0
  114. package/tokens/evo-dark-class.mjs +1 -0
  115. package/tokens/evo-light-class.browser.json +1 -0
  116. package/tokens/evo-light-class.css +1 -0
  117. package/tokens/evo-light-class.js +1 -0
  118. package/tokens/evo-light-class.mjs +1 -0
  119. package/tokens/evo-live-dark-class.browser.json +1 -0
  120. package/tokens/evo-live-dark-class.css +1 -0
  121. package/tokens/evo-live-dark-class.js +1 -0
  122. package/tokens/evo-live-dark-class.mjs +1 -0
  123. package/tokens/evo-live-dark.browser.json +1 -0
  124. package/tokens/evo-live-dark.css +1 -0
  125. package/tokens/evo-live-dark.js +1 -0
  126. package/tokens/evo-live-dark.mjs +1 -0
  127. package/tokens/evo-live-light-class.browser.json +1 -0
  128. package/tokens/evo-live-light-class.css +1 -0
  129. package/tokens/evo-live-light-class.js +1 -0
  130. package/tokens/evo-live-light-class.mjs +1 -0
  131. package/tokens/evo-live-light.browser.json +1 -0
  132. package/tokens/evo-live-light.css +1 -0
  133. package/tokens/evo-live-light.js +1 -0
  134. package/tokens/evo-live-light.mjs +1 -0
@@ -91,37 +91,30 @@
91
91
  max-width: 100%;
92
92
  object-fit: contain;
93
93
  }
94
-
95
94
  .image-disabled {
96
95
  filter: var(--color-media-disabled-filter);
97
96
  }
98
-
99
97
  .text-truncate {
100
98
  overflow: hidden;
101
99
  text-overflow: ellipsis;
102
100
  white-space: nowrap;
103
101
  }
104
-
105
102
  .scrollbars-permanent {
106
103
  -webkit-overflow-scrolling: touch;
107
104
  scroll-behavior: smooth;
108
105
  scroll-snap-type: proximity;
109
106
  scroll-snap-type: x proximity;
110
107
  }
111
-
112
108
  .scrollbars-permanent::-webkit-scrollbar {
113
- background-color: var(--color-background-faint);
109
+ background-color: var(--color-state-layer-focus);
114
110
  border-radius: 12px;
115
111
  }
116
-
117
112
  .scrollbars-permanent::-webkit-scrollbar:vertical {
118
113
  width: 6px;
119
114
  }
120
-
121
115
  .scrollbars-permanent::-webkit-scrollbar:horizontal {
122
116
  height: 6px;
123
117
  }
124
-
125
118
  .scrollbars-permanent::-webkit-scrollbar-thumb {
126
119
  background-color: var(--color-foreground-secondary);
127
120
  border-color: transparent;
@@ -1,16 +1,13 @@
1
1
  .video-player {
2
2
  position: relative;
3
3
  }
4
-
5
4
  .video-player video {
6
5
  height: 100%;
7
6
  width: 100%;
8
7
  }
9
-
10
8
  .video-player button {
11
9
  font-family: inherit;
12
10
  }
13
-
14
11
  .video-player__overlay {
15
12
  align-items: center;
16
13
  background-color: rgba(0, 0, 0, 0.6);
@@ -26,26 +23,21 @@
26
23
  text-align: center;
27
24
  top: 0;
28
25
  }
29
-
30
26
  .video-player__overlay-text {
31
27
  margin: 20px 20px 0;
32
28
  }
33
-
34
29
  .video-player__overlay--hidden {
35
30
  display: none;
36
31
  }
37
-
38
32
  .video-player__report-button > svg {
39
33
  margin-inline-end: var(--spacing-50);
40
34
  }
41
-
42
35
  .video-player .shaka-overflow-menu svg {
43
36
  height: 24px;
44
37
  margin-left: 10px;
45
38
  margin-right: 10px;
46
39
  width: 24px;
47
40
  }
48
-
49
41
  .video-player .shaka-play-button {
50
42
  background: none;
51
43
  box-shadow: none;
@@ -53,13 +45,11 @@
53
45
  padding: 0;
54
46
  width: auto;
55
47
  }
56
-
57
48
  .video-player .icon--video-play,
58
49
  .video-player .shaka-play-button svg {
59
50
  height: 48px;
60
51
  width: 48px;
61
52
  }
62
-
63
53
  .video-player .shaka-bottom-controls {
64
54
  box-sizing: border-box;
65
55
  margin-bottom: 3%;
@@ -67,7 +57,6 @@
67
57
  position: relative;
68
58
  width: 94%;
69
59
  }
70
-
71
60
  .video-player .shaka-controls-button-panel {
72
61
  background-color: rgba(0, 0, 0, 0.7);
73
62
  border-radius: 8px;
@@ -82,23 +71,75 @@
82
71
  .video-player .shaka-controls-button-panel :last-child {
83
72
  margin-right: 8px;
84
73
  }
85
-
86
74
  .video-player--poster .shaka-scrim-container {
87
75
  visibility: hidden;
88
76
  }
89
-
90
77
  .video-player .shaka-range-container {
91
78
  box-sizing: border-box;
92
79
  margin: 0 188px 18px 76px;
93
80
  }
94
-
95
81
  .video-player #shaka-player-ui-time-container {
96
82
  display: none;
97
83
  }
98
-
99
84
  .video-player .shaka-video-container {
100
85
  font-family:
101
86
  Market Sans,
102
87
  Arial,
103
88
  sans-serif;
104
89
  }
90
+ .video-player--with-nav .shaka-controls-container {
91
+ pointer-events: none;
92
+ }
93
+ .video-player--with-nav .shaka-controls-container .shaka-bottom-controls,
94
+ .video-player--with-nav .shaka-controls-container .shaka-play-button-container {
95
+ pointer-events: auto;
96
+ }
97
+ .video-player--compact {
98
+ container-type: inline-size;
99
+ width: 100%;
100
+ }
101
+ .video-player--compact .shaka-controls-button-panel {
102
+ background-color: initial;
103
+ justify-content: flex-end;
104
+ pointer-events: none;
105
+ }
106
+ .video-player--compact .shaka-controls-button-panel > :first-child {
107
+ border-radius: 16px;
108
+ font-size: var(--font-size-medium);
109
+ margin-right: auto;
110
+ min-width: 80px;
111
+ padding: var(--spacing-200) var(--spacing-100);
112
+ width: auto;
113
+ }
114
+ .video-player--compact .shaka-controls-button-panel button * {
115
+ margin: 0;
116
+ }
117
+ .video-player--compact .shaka-controls-button-panel button {
118
+ align-items: center;
119
+ background-color: rgba(0, 0, 0, 0.32);
120
+ border-radius: 50%;
121
+ justify-content: center;
122
+ margin: 0 5px;
123
+ }
124
+ .video-player--compact .shaka-controls-button-panel button:enabled {
125
+ display: inline-flex;
126
+ pointer-events: auto;
127
+ }
128
+ .video-player--compact .shaka-scrim-container {
129
+ background: none;
130
+ }
131
+ .video-player--compact .shaka-tooltip:hover:after {
132
+ visibility: hidden;
133
+ }
134
+ @container (inline-size < 320px) {
135
+ .video-player--compact video {
136
+ aspect-ratio: 1;
137
+ object-fit: cover;
138
+ }
139
+ .video-player--compact .shaka-controls-button-panel {
140
+ height: 48px;
141
+ }
142
+ .video-player--compact .shaka-remaining-time {
143
+ display: none;
144
+ }
145
+ }
package/evo-class.css ADDED
@@ -0,0 +1,2 @@
1
+ @import "./tokens/evo-core.css";
2
+ @import "./tokens/evo-light-class.css";
package/evo-class.js ADDED
@@ -0,0 +1,2 @@
1
+ require('./tokens/evo-core.js');
2
+ require('./tokens/evo-light-class.js');
package/evo-class.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import './tokens/evo-core.css';
2
+ import './tokens/evo-light-class.css';
@@ -0,0 +1,2 @@
1
+ @import "./tokens/evo-core.css";
2
+ @import "./tokens/evo-live-dark-class.css";
@@ -0,0 +1,2 @@
1
+ require('./tokens/evo-core.js');
2
+ require('./tokens/evo-live-dark-class.js');
@@ -0,0 +1,2 @@
1
+ import './tokens/evo-core.css';
2
+ import './tokens/evo-live-dark-class.css';
package/evo-live.css ADDED
@@ -0,0 +1,2 @@
1
+ @import "./tokens/evo-core.css";
2
+ @import "./tokens/evo-live-dark.css";
package/evo-live.js ADDED
@@ -0,0 +1,2 @@
1
+ require('./tokens/evo-core.js');
2
+ require('./tokens/evo-live-dark.js');
package/evo-live.mjs ADDED
@@ -0,0 +1,2 @@
1
+ import './tokens/evo-core.css';
2
+ import './tokens/evo-live-dark.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebay/skin",
3
- "version": "19.15.0",
3
+ "version": "19.17.0",
4
4
  "description": "Skin - CSS modules that represent the brand eBay",
5
5
  "keywords": [
6
6
  "eBay",
@@ -40,15 +40,13 @@
40
40
  "build:icons": "tsx scripts genSVG && prettier src/components/data/icons.json --write",
41
41
  "build:snapshots": "npm run copy:assetsToStorybook && storybook build -o ./.storybook-percy",
42
42
  "build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/public/storybook",
43
- "bundle": "sass src/sass:dist --no-source-map",
43
+ "bundle": "sass src/sass:dist src/tokens:dist/tokens --no-source-map -I \"../../node_modules\"",
44
44
  "clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
45
- "copy": "npm run copy:sassToDist && npm run copy:svgToDist && npm run copy:svgToDocs && npm run copy:tokensToDist && npm run copy:assetsToStorybook",
45
+ "copy": "npm run copy:sassToDist && npm run copy:svgToDist && npm run copy:svgToDocs && npm run copy:assetsToStorybook",
46
46
  "copy:assetsToStorybook": "tsx scripts storybook-copy",
47
47
  "copy:sassToDist": "mkdirp dist/variables && ncp src/sass/variables dist/variables && mkdirp dist/mixins && ncp src/sass/mixins/public dist/mixins && ncp src/sass/gh dist/gh",
48
48
  "copy:svgToDist": "mkdirp dist/svg && ncp src/svg dist/svg",
49
49
  "copy:svgToDocs": "ncp src/svg src/routes/static && ncp src/svg/icons.svg src/components/master-icons.marko",
50
- "copy:tokensToDist": "ncp src/tokens dist/tokens",
51
- "copy:tokensToDocs": "ncp src/tokens src/routes/static",
52
50
  "deploy": "BASE_URL=/evo-web/skin/ marko-run build -o ./_site && npm run build:storybook && rimraf _site/public/archive && ncp docs/archive _site/public/archive && touch _site/public/.nojekyll",
53
51
  "deploy:only": "marko-run build -o ./_site && npm run build:storybook && rimraf _site/public/archive && ncp docs/archive _site/public/archive --dereference=true && touch _site/public/.nojekyll",
54
52
  "format": "npx prettier --write .",
@@ -83,9 +81,7 @@
83
81
  "browserslist": [
84
82
  "extends @ebay/browserslist-config"
85
83
  ],
86
- "devDependencies": {
87
- "@marko/run-adapter-static": "^2.0.2"
88
- },
84
+ "devDependencies": {},
89
85
  "publishConfig": {
90
86
  "registry": "https://registry.npmjs.org"
91
87
  }
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./evo-dark-class.js"] }
@@ -0,0 +1 @@
1
+ @import "./../dist/tokens/evo-dark-class.css";
@@ -0,0 +1 @@
1
+ require('./../dist/tokens/evo-dark-class.css');
@@ -0,0 +1 @@
1
+ import './../dist/tokens/evo-dark-class.css';
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./evo-light-class.js"] }
@@ -0,0 +1 @@
1
+ @import "./../dist/tokens/evo-light-class.css";
@@ -0,0 +1 @@
1
+ require('./../dist/tokens/evo-light-class.css');
@@ -0,0 +1 @@
1
+ import './../dist/tokens/evo-light-class.css';
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./evo-live-dark-class.js"] }
@@ -0,0 +1 @@
1
+ @import "./../dist/tokens/evo-live-dark-class.css";
@@ -0,0 +1 @@
1
+ require('./../dist/tokens/evo-live-dark-class.css');
@@ -0,0 +1 @@
1
+ import './../dist/tokens/evo-live-dark-class.css';
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./evo-live-dark.js"] }
@@ -0,0 +1 @@
1
+ @import "./../dist/tokens/evo-live-dark.css";
@@ -0,0 +1 @@
1
+ require('./../dist/tokens/evo-live-dark.css');
@@ -0,0 +1 @@
1
+ import './../dist/tokens/evo-live-dark.css';
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./evo-live-light-class.js"] }
@@ -0,0 +1 @@
1
+ @import "./../dist/tokens/evo-live-light-class.css";
@@ -0,0 +1 @@
1
+ require('./../dist/tokens/evo-live-light-class.css');
@@ -0,0 +1 @@
1
+ import './../dist/tokens/evo-live-light-class.css';
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./evo-live-light.js"] }
@@ -0,0 +1 @@
1
+ @import "./../dist/tokens/evo-live-light.css";
@@ -0,0 +1 @@
1
+ require('./../dist/tokens/evo-live-light.css');
@@ -0,0 +1 @@
1
+ import './../dist/tokens/evo-live-light.css';