@ebay/skin 18.3.2 → 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.
Files changed (40) hide show
  1. package/dist/bundles/skin-default.css +218 -66
  2. package/dist/bundles/skin-full.css +219 -66
  3. package/dist/bundles/skin-headless.css +217 -66
  4. package/dist/eek/eek.css +3 -3
  5. package/dist/file-preview-card/file-preview-card.css +79 -69
  6. package/dist/list/list.css +76 -0
  7. package/dist/mixins/_utility-mixins.scss +36 -0
  8. package/dist/svg/icon/icon-bids-16.svg +7 -0
  9. package/dist/svg/icon/icon-explore-16.svg +7 -0
  10. package/dist/svg/icon/icon-explore-24.svg +7 -0
  11. package/dist/svg/icon/icon-history-16.svg +7 -0
  12. package/dist/svg/icon/icon-history-24.svg +4 -5
  13. package/dist/svg/icon/icon-history-64.svg +4 -5
  14. package/dist/svg/icon/icon-item-list-16.svg +7 -0
  15. package/dist/svg/icon/icon-item-list-20.svg +7 -0
  16. package/dist/svg/icon/icon-item-list-24.svg +7 -0
  17. package/dist/svg/icon/icon-money-stack-16.svg +7 -0
  18. package/dist/svg/icon/icon-money-stack-24.svg +7 -0
  19. package/dist/svg/icon/icon-panel-close-16.svg +1 -1
  20. package/dist/svg/icon/icon-panel-close-20.svg +1 -1
  21. package/dist/svg/icon/icon-panel-close-24.svg +1 -1
  22. package/dist/svg/icon/icon-star-empty-40.svg +7 -0
  23. package/dist/svg/icon/icon-star-filled-40.svg +5 -0
  24. package/dist/svg/icon/icon-translate-16.svg +7 -0
  25. package/dist/svg/icon/icon-translate-20.svg +7 -0
  26. package/dist/svg/icon/icon-translate-24.svg +7 -0
  27. package/dist/svg/icons.svg +139 -45
  28. package/dist/table/table.css +57 -1
  29. package/dist/tokens/evo-dark.css +1 -0
  30. package/dist/tokens/evo-light.css +1 -0
  31. package/dist/utility/utility.css +28 -0
  32. package/index.browser.json +1 -0
  33. package/index.css +1 -0
  34. package/index.js +1 -0
  35. package/index.mjs +1 -0
  36. package/list.browser.json +1 -0
  37. package/list.css +1 -0
  38. package/list.js +1 -0
  39. package/list.mjs +1 -0
  40. package/package.json +2 -1
@@ -1,10 +1,35 @@
1
1
  .table {
2
2
  overflow-x: auto;
3
3
  position: relative;
4
+ -webkit-overflow-scrolling: touch;
5
+ scroll-behavior: smooth;
6
+ scroll-snap-type: proximity;
7
+ scroll-snap-type: x proximity;
8
+ }
9
+
10
+ .table::-webkit-scrollbar {
11
+ background-color: var(--color-background-faint);
12
+ border-radius: 12px;
13
+ }
14
+
15
+ .table::-webkit-scrollbar:vertical {
16
+ width: 6px;
17
+ }
18
+
19
+ .table::-webkit-scrollbar:horizontal {
20
+ height: 6px;
21
+ }
22
+
23
+ .table::-webkit-scrollbar-thumb {
24
+ background-color: var(--color-foreground-secondary);
25
+ border-color: transparent;
26
+ border-radius: 12px;
27
+ border-right-style: inset;
28
+ box-shadow: none;
4
29
  }
5
30
 
6
31
  .table table {
7
- border-collapse: collapse;
32
+ border-collapse: initial;
8
33
  border-spacing: 0;
9
34
  width: 100%;
10
35
  }
@@ -39,8 +64,36 @@
39
64
  padding: 16px;
40
65
  }
41
66
 
67
+ .table--frozen-header thead {
68
+ position: sticky;
69
+ top: 0;
70
+ z-index: 3;
71
+ }
72
+
73
+ .table--freeze-column-1 tr td:nth-child(-n + 1),
74
+ .table--freeze-column-1 tr th:nth-child(-n + 1),
75
+ .table--freeze-column-2 tr td:nth-child(-n + 2),
76
+ .table--freeze-column-2 tr th:nth-child(-n + 2),
77
+ .table--freeze-column-3 tr td:nth-child(-n + 3),
78
+ .table--freeze-column-3 tr th:nth-child(-n + 3) {
79
+ left: 0;
80
+ position: sticky;
81
+ }
82
+
83
+ .table--full-height {
84
+ max-height: unset;
85
+ }
86
+
87
+ .table--constrained-height {
88
+ max-height: 90vh;
89
+ }
90
+
91
+ .table th a,
42
92
  .table th button {
93
+ align-items: center;
94
+ display: flex;
43
95
  font-weight: 700;
96
+ text-decoration: none;
44
97
  }
45
98
 
46
99
  .table tbody tr:last-child td,
@@ -102,6 +155,9 @@
102
155
  text-align: center;
103
156
  width: 48px;
104
157
  }
158
+ .table--mode-selection tr:has(input:checked) :where(td, th) {
159
+ background-color: var(--color-background-secondary);
160
+ }
105
161
 
106
162
  .table tbody th {
107
163
  font-weight: 400;
@@ -3,6 +3,7 @@
3
3
  --color-background-primary: var(--color-neutral-900);
4
4
  --color-background-secondary: var(--color-neutral-800);
5
5
  --color-background-tertiary: var(--color-neutral-700);
6
+ --color-background-faint: rgba(var(--color-neutral-100-rgb), 0.05);
6
7
  --color-background-disabled: var(--color-neutral-600);
7
8
  --color-background-inverse: var(--color-neutral-300);
8
9
  --color-background-attention: var(--color-red-400);
@@ -2,6 +2,7 @@
2
2
  --color-background-primary: var(--color-neutral-100);
3
3
  --color-background-secondary: var(--color-neutral-200);
4
4
  --color-background-tertiary: var(--color-neutral-300);
5
+ --color-background-faint: rgba(var(--color-neutral-900-rgb), 0.05);
5
6
  --color-background-disabled: var(--color-neutral-400);
6
7
  --color-background-inverse: var(--color-neutral-700);
7
8
  --color-background-attention: var(--color-red-600);
@@ -101,3 +101,31 @@
101
101
  text-overflow: ellipsis;
102
102
  white-space: nowrap;
103
103
  }
104
+
105
+ .scrollbars-permanent {
106
+ -webkit-overflow-scrolling: touch;
107
+ scroll-behavior: smooth;
108
+ scroll-snap-type: proximity;
109
+ scroll-snap-type: x proximity;
110
+ }
111
+
112
+ .scrollbars-permanent::-webkit-scrollbar {
113
+ background-color: var(--color-background-faint);
114
+ border-radius: 12px;
115
+ }
116
+
117
+ .scrollbars-permanent::-webkit-scrollbar:vertical {
118
+ width: 6px;
119
+ }
120
+
121
+ .scrollbars-permanent::-webkit-scrollbar:horizontal {
122
+ height: 6px;
123
+ }
124
+
125
+ .scrollbars-permanent::-webkit-scrollbar-thumb {
126
+ background-color: var(--color-foreground-secondary);
127
+ border-color: transparent;
128
+ border-radius: 12px;
129
+ border-right-style: inset;
130
+ box-shadow: none;
131
+ }
@@ -38,6 +38,7 @@
38
38
  "require: ./inline-notice.js",
39
39
  "require: ./lightbox-dialog.js",
40
40
  "require: ./link.js",
41
+ "require: ./list.js",
41
42
  "require: ./listbox.js",
42
43
  "require: ./listbox-button.js",
43
44
  "require: ./marketsans.js",
package/index.css CHANGED
@@ -36,6 +36,7 @@
36
36
  @import "./inline-notice.css";
37
37
  @import "./lightbox-dialog.css";
38
38
  @import "./link.css";
39
+ @import "./list.css";
39
40
  @import "./listbox.css";
40
41
  @import "./listbox-button.css";
41
42
  @import "./marketsans.css";
package/index.js CHANGED
@@ -36,6 +36,7 @@ require('./infotip.js');
36
36
  require('./inline-notice.js');
37
37
  require('./lightbox-dialog.js');
38
38
  require('./link.js');
39
+ require('./list.js');
39
40
  require('./listbox.js');
40
41
  require('./listbox-button.js');
41
42
  require('./marketsans.js');
package/index.mjs CHANGED
@@ -36,6 +36,7 @@ import './infotip.css';
36
36
  import './inline-notice.css';
37
37
  import './lightbox-dialog.css';
38
38
  import './link.css';
39
+ import './list.css';
39
40
  import './listbox.css';
40
41
  import './listbox-button.css';
41
42
  import './marketsans.css';
@@ -0,0 +1 @@
1
+ { "dependencies": ["require: ./list.js"] }
package/list.css ADDED
@@ -0,0 +1 @@
1
+ @import "./dist/list/list.css";
package/list.js ADDED
@@ -0,0 +1 @@
1
+ require('./dist/list/list.css');
package/list.mjs ADDED
@@ -0,0 +1 @@
1
+ import './dist/list/list.css';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ebay/skin",
3
3
  "description": "Skin - CSS modules that represent the brand eBay",
4
- "version": "18.3.2",
4
+ "version": "18.4.0",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",
7
7
  "maintainers": [
@@ -30,6 +30,7 @@
30
30
  "start": "marko-run",
31
31
  "test": "npm run build:css",
32
32
  "deploy": "node scripts/jekyll-config && BASE_URL=/skin/ marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/archive && touch _site/.nojekyll",
33
+ "deploy:only": "node scripts/jekyll-config && marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/archive && touch _site/.nojekyll",
33
34
  "prebuild": "npm run clean",
34
35
  "prepublishOnly": "node scripts gen",
35
36
  "postpublish": "node scripts clean",