@ebay/skin 19.8.0 → 19.9.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 +229 -63
- package/dist/bundles/skin-full.css +229 -63
- package/dist/bundles/skin-headless.css +219 -53
- package/dist/chip/chip.css +16 -13
- package/dist/filter-chip/filter-chip.css +147 -0
- package/dist/lightbox-dialog/lightbox-dialog.css +7 -2
- package/dist/marketsans/marketsans.css +4 -24
- package/dist/mixins/_animation-mixins.scss +41 -0
- package/dist/progress-bar-expressive/progress-bar-expressive.css +4 -12
- package/dist/selection-chip/selection-chip.css +76 -0
- package/dist/svg/icon/icon-ebay-balance-12-colored.svg +1 -0
- package/dist/svg/icon/icon-ebay-balance-18-colored.svg +1 -0
- package/dist/svg/icon/icon-ebay-balance-24-colored.svg +1 -0
- package/dist/svg/icon/icon-ebay-balance-32-colored.svg +1 -0
- package/dist/svg/icons.svg +4 -0
- package/dist/tokens/evo-core.css +8 -8
- package/filter-chip.browser.json +1 -0
- package/filter-chip.css +1 -0
- package/filter-chip.js +1 -0
- package/filter-chip.mjs +1 -0
- package/index.browser.json +2 -0
- package/index.css +2 -0
- package/index.js +2 -0
- package/index.mjs +2 -0
- package/package.json +3 -3
- package/selection-chip.browser.json +1 -0
- package/selection-chip.css +1 -0
- package/selection-chip.js +1 -0
- package/selection-chip.mjs +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--progress-bar-expressive-color-1:
|
|
3
|
-
--progress-bar-expressive-color-2:
|
|
4
|
-
--progress-bar-expressive-color-3:
|
|
5
|
-
--progress-bar-expressive-color-4:
|
|
2
|
+
--progress-bar-expressive-color-1: var(--color-red-500);
|
|
3
|
+
--progress-bar-expressive-color-2: var(--color-blue-500);
|
|
4
|
+
--progress-bar-expressive-color-3: var(--color-yellow-400);
|
|
5
|
+
--progress-bar-expressive-color-4: var(--color-green-500);
|
|
6
6
|
--progress-bar-expressive-line-border-radius: 2px;
|
|
7
7
|
--progress-bar-expressive-line-count: 12;
|
|
8
8
|
--progress-bar-expressive-line-gap: var(--spacing-50);
|
|
@@ -24,14 +24,6 @@
|
|
|
24
24
|
--progress-bar-expressive-message-animatein-duration: 833ms;
|
|
25
25
|
--progress-bar-expressive-message-animateout-duration: 400ms;
|
|
26
26
|
}
|
|
27
|
-
@media (prefers-color-scheme: dark) {
|
|
28
|
-
:root {
|
|
29
|
-
--progress-bar-expressive-color-1: #f0343b;
|
|
30
|
-
--progress-bar-expressive-color-2: #0078fc;
|
|
31
|
-
--progress-bar-expressive-color-3: #e8a502;
|
|
32
|
-
--progress-bar-expressive-color-4: #86b817;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
27
|
|
|
36
28
|
.progress-bar-expressive {
|
|
37
29
|
align-items: stretch;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
@keyframes fill-horizontal-background {
|
|
2
|
+
0% {
|
|
3
|
+
background-size: 0 100%;
|
|
4
|
+
}
|
|
5
|
+
99% {
|
|
6
|
+
background-color: var(--color-background-primary);
|
|
7
|
+
}
|
|
8
|
+
to {
|
|
9
|
+
background-color: var(--color-background-strong);
|
|
10
|
+
background-size: 100% 100%;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.selection-chip {
|
|
14
|
+
align-items: center;
|
|
15
|
+
background-color: var(--color-background-primary);
|
|
16
|
+
background-position: 50%;
|
|
17
|
+
background-repeat: no-repeat;
|
|
18
|
+
background-size: 0 100%;
|
|
19
|
+
border: 1px solid var(--color-stroke-default);
|
|
20
|
+
border-radius: var(--border-radius-50);
|
|
21
|
+
box-shadow: none;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
color: var(--color-foreground-primary);
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
font-size: var(--font-size-default);
|
|
26
|
+
gap: var(--spacing-75);
|
|
27
|
+
height: var(--spacing-400);
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
max-width: 296px;
|
|
30
|
+
min-width: 32px;
|
|
31
|
+
padding: 0 var(--spacing-150);
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
transition: all var(--motion-duration-short-3)
|
|
34
|
+
var(--motion-easing-quick-enter);
|
|
35
|
+
vertical-align: bottom;
|
|
36
|
+
}
|
|
37
|
+
.selection-chip:active {
|
|
38
|
+
transform: scale(0.97);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.selection-chip--animated .selection-chip__trailing {
|
|
42
|
+
transition: rotate var(--motion-duration-medium-3)
|
|
43
|
+
var(--motion-easing-standard);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.selection-chip__trailing {
|
|
47
|
+
rotate: -225deg;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.selection-chip[aria-pressed="true"] {
|
|
51
|
+
animation: fill-horizontal-background 0s var(--motion-easing-quick-enter)
|
|
52
|
+
forwards;
|
|
53
|
+
background-image: linear-gradient(
|
|
54
|
+
to right,
|
|
55
|
+
var(--color-background-strong) 0,
|
|
56
|
+
var(--color-background-strong) 100%
|
|
57
|
+
);
|
|
58
|
+
color: var(--color-foreground-on-strong);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.selection-chip--animated[aria-pressed="true"] {
|
|
62
|
+
animation-duration: var(--motion-duration-medium-2);
|
|
63
|
+
transition: color var(--motion-duration-instant)
|
|
64
|
+
var(--motion-easing-standard);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.selection-chip[aria-pressed="true"] .selection-chip__trailing {
|
|
68
|
+
rotate: 0deg;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.selection-chip__text {
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
padding: var(--spacing-75) 0;
|
|
74
|
+
text-overflow: ellipsis;
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
}
|
package/dist/svg/icons.svg
CHANGED
|
@@ -3081,6 +3081,7 @@
|
|
|
3081
3081
|
rx="1.5"
|
|
3082
3082
|
fill="#fff"
|
|
3083
3083
|
stroke="#191919"
|
|
3084
|
+
stroke-width="1"
|
|
3084
3085
|
/>
|
|
3085
3086
|
<path
|
|
3086
3087
|
fill-rule="evenodd"
|
|
@@ -3116,6 +3117,7 @@
|
|
|
3116
3117
|
rx="1.5"
|
|
3117
3118
|
fill="#fff"
|
|
3118
3119
|
stroke="#191919"
|
|
3120
|
+
stroke-width="1"
|
|
3119
3121
|
/>
|
|
3120
3122
|
<path
|
|
3121
3123
|
fill-rule="evenodd"
|
|
@@ -3151,6 +3153,7 @@
|
|
|
3151
3153
|
rx="1.5"
|
|
3152
3154
|
fill="#fff"
|
|
3153
3155
|
stroke="#191919"
|
|
3156
|
+
stroke-width="1"
|
|
3154
3157
|
/>
|
|
3155
3158
|
<path
|
|
3156
3159
|
fill-rule="evenodd"
|
|
@@ -3186,6 +3189,7 @@
|
|
|
3186
3189
|
rx="1.5"
|
|
3187
3190
|
fill="#fff"
|
|
3188
3191
|
stroke="#191919"
|
|
3192
|
+
stroke-width="1"
|
|
3189
3193
|
/>
|
|
3190
3194
|
<path
|
|
3191
3195
|
fill-rule="evenodd"
|
package/dist/tokens/evo-core.css
CHANGED
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
--color-indigo-800: #01193d;
|
|
58
58
|
--color-blue-100: #f5f9ff;
|
|
59
59
|
--color-blue-200: #d4e5fe;
|
|
60
|
-
--color-blue-300: #
|
|
61
|
-
--color-blue-400: #
|
|
62
|
-
--color-blue-500: #
|
|
63
|
-
--color-blue-600: #
|
|
60
|
+
--color-blue-300: #84b4fb;
|
|
61
|
+
--color-blue-400: #4d93fc;
|
|
62
|
+
--color-blue-500: #0968f6;
|
|
63
|
+
--color-blue-600: #0049b8;
|
|
64
64
|
--color-blue-650: #003aa5;
|
|
65
65
|
--color-blue-700: #002a69;
|
|
66
66
|
--color-blue-800: #19133a;
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
--color-green-600: #507d17;
|
|
89
89
|
--color-green-700: #345110;
|
|
90
90
|
--color-green-800: #1c2d06;
|
|
91
|
-
--color-jade-100: #
|
|
91
|
+
--color-jade-100: #f7fdfb;
|
|
92
92
|
--color-jade-200: #d8f8ee;
|
|
93
93
|
--color-jade-300: #8feace;
|
|
94
94
|
--color-jade-400: #1ed49e;
|
|
95
|
-
--color-jade-500: #
|
|
95
|
+
--color-jade-500: #17c28f;
|
|
96
96
|
--color-jade-600: #0f805e;
|
|
97
97
|
--color-jade-700: #055743;
|
|
98
98
|
--color-jade-800: #002b20;
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
--font-size-giant-2: var(--font-size-36);
|
|
183
183
|
--font-size-giant-3: var(--font-size-46);
|
|
184
184
|
--font-size-giant-4: var(--font-size-64);
|
|
185
|
-
/*
|
|
186
|
-
Ratio of 20px (base line height) / 14px (body font)
|
|
185
|
+
/*
|
|
186
|
+
Ratio of 20px (base line height) / 14px (body font)
|
|
187
187
|
This needs to be unitless for optimal scaling
|
|
188
188
|
*/
|
|
189
189
|
--font-line-height-250: 1.4286;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "dependencies": ["require: ./filter-chip.js"] }
|
package/filter-chip.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./dist/filter-chip/filter-chip.css";
|
package/filter-chip.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./dist/filter-chip/filter-chip.css');
|
package/filter-chip.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './dist/filter-chip/filter-chip.css';
|
package/index.browser.json
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"require: ./file-preview-card.js",
|
|
28
28
|
"require: ./file-preview-card-group.js",
|
|
29
29
|
"require: ./filter-button.js",
|
|
30
|
+
"require: ./filter-chip.js",
|
|
30
31
|
"require: ./filter-input.js",
|
|
31
32
|
"require: ./filter-menu.js",
|
|
32
33
|
"require: ./filter-menu-button.js",
|
|
@@ -65,6 +66,7 @@
|
|
|
65
66
|
"require: ./section-title.js",
|
|
66
67
|
"require: ./segmented-buttons.js",
|
|
67
68
|
"require: ./select.js",
|
|
69
|
+
"require: ./selection-chip.js",
|
|
68
70
|
"require: ./signal.js",
|
|
69
71
|
"require: ./skeleton.js",
|
|
70
72
|
"require: ./snackbar-dialog.js",
|
package/index.css
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
@import "./file-preview-card.css";
|
|
26
26
|
@import "./file-preview-card-group.css";
|
|
27
27
|
@import "./filter-button.css";
|
|
28
|
+
@import "./filter-chip.css";
|
|
28
29
|
@import "./filter-input.css";
|
|
29
30
|
@import "./filter-menu.css";
|
|
30
31
|
@import "./filter-menu-button.css";
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
@import "./section-title.css";
|
|
64
65
|
@import "./segmented-buttons.css";
|
|
65
66
|
@import "./select.css";
|
|
67
|
+
@import "./selection-chip.css";
|
|
66
68
|
@import "./signal.css";
|
|
67
69
|
@import "./skeleton.css";
|
|
68
70
|
@import "./snackbar-dialog.css";
|
package/index.js
CHANGED
|
@@ -25,6 +25,7 @@ require('./file-input.js');
|
|
|
25
25
|
require('./file-preview-card.js');
|
|
26
26
|
require('./file-preview-card-group.js');
|
|
27
27
|
require('./filter-button.js');
|
|
28
|
+
require('./filter-chip.js');
|
|
28
29
|
require('./filter-input.js');
|
|
29
30
|
require('./filter-menu.js');
|
|
30
31
|
require('./filter-menu-button.js');
|
|
@@ -63,6 +64,7 @@ require('./section-notice.js');
|
|
|
63
64
|
require('./section-title.js');
|
|
64
65
|
require('./segmented-buttons.js');
|
|
65
66
|
require('./select.js');
|
|
67
|
+
require('./selection-chip.js');
|
|
66
68
|
require('./signal.js');
|
|
67
69
|
require('./skeleton.js');
|
|
68
70
|
require('./snackbar-dialog.js');
|
package/index.mjs
CHANGED
|
@@ -25,6 +25,7 @@ import './dist/file-input/file-input.css';
|
|
|
25
25
|
import './dist/file-preview-card/file-preview-card.css';
|
|
26
26
|
import './dist/file-preview-card-group/file-preview-card-group.css';
|
|
27
27
|
import './dist/filter-button/filter-button.css';
|
|
28
|
+
import './dist/filter-chip/filter-chip.css';
|
|
28
29
|
import './dist/filter-input/filter-input.css';
|
|
29
30
|
import './dist/filter-menu/filter-menu.css';
|
|
30
31
|
import './dist/filter-menu-button/filter-menu-button.css';
|
|
@@ -63,6 +64,7 @@ import './dist/section-notice/section-notice.css';
|
|
|
63
64
|
import './dist/section-title/section-title.css';
|
|
64
65
|
import './dist/segmented-buttons/segmented-buttons.css';
|
|
65
66
|
import './dist/select/select.css';
|
|
67
|
+
import './dist/selection-chip/selection-chip.css';
|
|
66
68
|
import './dist/signal/signal.css';
|
|
67
69
|
import './dist/skeleton/skeleton.css';
|
|
68
70
|
import './dist/snackbar-dialog/snackbar-dialog.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebay/skin",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.9.0",
|
|
4
4
|
"description": "Skin - CSS modules that represent the brand eBay",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eBay",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"snapshots:execute": "npm run build:snapshots && percy storybook ./.storybook-percy --include",
|
|
68
68
|
"snapshots:execute:dry": "percy storybook ./.storybook-percy --dry-run --include",
|
|
69
69
|
"start": "marko-run",
|
|
70
|
-
"storybook": "npm run copy:assetsToStorybook && storybook dev -c .storybook",
|
|
70
|
+
"storybook": "npm run copy:assetsToStorybook && storybook dev -c .storybook --no-open",
|
|
71
71
|
"test": "npm run build",
|
|
72
72
|
"verify": "node scripts verify",
|
|
73
73
|
"version": "npm run build"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"extends @ebay/browserslist-config"
|
|
84
84
|
],
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@marko/run-adapter-static": "^2.0.
|
|
86
|
+
"@marko/run-adapter-static": "^2.0.1"
|
|
87
87
|
},
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"registry": "https://registry.npmjs.org"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "dependencies": ["require: ./selection-chip.js"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./dist/selection-chip/selection-chip.css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./dist/selection-chip/selection-chip.css');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './dist/selection-chip/selection-chip.css';
|