@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
package/dist/table/table.css
CHANGED
|
@@ -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:
|
|
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;
|
package/dist/tokens/evo-dark.css
CHANGED
|
@@ -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);
|
package/dist/utility/utility.css
CHANGED
|
@@ -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
|
+
}
|
package/gh.browser.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": [
|
|
3
|
-
"less-import: ./dist/mixins/
|
|
4
|
-
"less-import: ./dist/mixins/
|
|
3
|
+
"less-import: ./dist/mixins/utility-mixins.less",
|
|
4
|
+
"less-import: ./dist/mixins/typography-mixins.less",
|
|
5
5
|
"less-import: ./dist/gh/gh-mixins.less"
|
|
6
6
|
]
|
|
7
7
|
}
|
package/index.browser.json
CHANGED
package/index.css
CHANGED
package/index.js
CHANGED
package/index.mjs
CHANGED
|
@@ -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.
|
|
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",
|