@ebay/skin 19.33.0 → 19.35.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/accordion/accordion.css +0 -2
- package/dist/alert-dialog/alert-dialog.css +16 -6
- package/dist/avatar/avatar.css +23 -5
- package/dist/breadcrumbs/breadcrumbs.css +13 -0
- package/dist/button/button.css +65 -11
- package/dist/calendar/calendar.css +67 -12
- package/dist/carousel/carousel.css +24 -12
- package/dist/ccd/ccd.css +4 -0
- package/dist/checkbox/checkbox.css +16 -2
- package/dist/chip/chip.css +7 -3
- package/dist/chips-combobox/chips-combobox.css +18 -1
- package/dist/combobox/combobox.css +37 -15
- package/dist/confirm-dialog/confirm-dialog.css +16 -6
- package/dist/cta-button/cta-button.css +20 -10
- package/dist/date-textbox/date-textbox.css +6 -1
- package/dist/details/details.css +4 -0
- package/dist/dialog/dialog.css +19 -0
- package/dist/donut-chart/donut-chart.css +8 -0
- package/dist/drawer-dialog/drawer-dialog.css +16 -6
- package/dist/education-notice/education-notice.css +12 -0
- package/dist/eek/eek.css +28 -0
- package/dist/field/field.css +23 -0
- package/dist/file-input/file-input.css +12 -1
- package/dist/file-preview-card/file-preview-card.css +3 -9
- package/dist/file-preview-card-group/file-preview-card-group.css +3 -0
- package/dist/filter-button/filter-button.css +8 -1
- package/dist/filter-chip/filter-chip.css +13 -28
- package/dist/filter-menu/filter-menu.css +24 -4
- package/dist/filter-menu-button/filter-menu-button.css +26 -4
- package/dist/flag/flag.css +252 -0
- package/dist/floating-label/floating-label.css +20 -2
- package/dist/fullscreen-dialog/fullscreen-dialog.css +12 -2
- package/dist/global/global.css +4 -0
- package/dist/icon-button/icon-button.css +24 -0
- package/dist/infotip/infotip.css +35 -11
- package/dist/inline-notice/inline-notice.css +5 -0
- package/dist/item-tile/item-tile.css +0 -1
- package/dist/layout-grid/layout-grid.css +7 -0
- package/dist/lightbox-dialog/lightbox-dialog.css +29 -7
- package/dist/link/link.css +6 -4
- package/dist/list/list.css +15 -3
- package/dist/listbox/listbox.css +22 -10
- package/dist/listbox-button/listbox-button.css +34 -8
- package/dist/menu/menu.css +5 -21
- package/dist/menu-button/menu-button.css +35 -10
- package/dist/number-input/number-input.css +17 -1
- package/dist/page-grid/page-grid.css +4 -3
- package/dist/page-notice/page-notice.css +21 -1
- package/dist/pagination/pagination.css +22 -6
- package/dist/panel-dialog/panel-dialog.css +20 -6
- package/dist/phone-input/phone-input.css +20 -0
- package/dist/progress-bar/progress-bar.css +6 -1
- package/dist/progress-bar-expressive/progress-bar-expressive.css +85 -61
- package/dist/progress-spinner/progress-spinner.css +2 -0
- package/dist/progress-stepper/progress-stepper.css +24 -0
- package/dist/radio/radio.css +16 -2
- package/dist/section-notice/section-notice.css +16 -0
- package/dist/section-title/section-title.css +14 -2
- package/dist/segmented-buttons/segmented-buttons.css +13 -3
- package/dist/select/select.css +17 -5
- package/dist/selection-chip/selection-chip.css +9 -20
- package/dist/skeleton/skeleton.css +23 -0
- package/dist/snackbar-dialog/snackbar-dialog.css +15 -4
- package/dist/star-rating/star-rating.css +2 -0
- package/dist/star-rating-select/star-rating-select.css +8 -1
- package/dist/svg/icon/icon-affirm-black-12-colored.svg +16 -0
- package/dist/svg/icon/icon-affirm-black-18-colored.svg +16 -0
- package/dist/svg/icon/icon-affirm-black-24-colored.svg +16 -0
- package/dist/svg/icon/icon-affirm-black-32-colored.svg +16 -0
- package/dist/svg/icon/icon-affirm-white-12-colored.svg +24 -0
- package/dist/svg/icon/icon-affirm-white-18-colored.svg +24 -0
- package/dist/svg/icon/icon-affirm-white-24-colored.svg +24 -0
- package/dist/svg/icon/icon-affirm-white-32-colored.svg +24 -0
- package/dist/svg/icon/icon-live-bag-16.svg +1 -1
- package/dist/svg/icon/icon-live-bag-20.svg +1 -1
- package/dist/svg/icon/icon-live-bag-24.svg +1 -1
- package/dist/svg/icon/icon-live-bag-filled-24.svg +1 -1
- package/dist/svg/icon/icon-live-bag-thin-16.svg +1 -1
- package/dist/svg/icons.svg +165 -5
- package/dist/switch/switch.css +8 -21
- package/dist/table/table.css +47 -0
- package/dist/tabs/tabs.css +0 -5
- package/dist/textbox/textbox.css +9 -20
- package/dist/toast-dialog/toast-dialog.css +9 -1
- package/dist/toggle-button/toggle-button.css +32 -0
- package/dist/toggle-button-group/toggle-button-group.css +16 -0
- package/dist/tooltip/tooltip.css +37 -14
- package/dist/tourtip/tourtip.css +43 -16
- package/dist/typography/typography.css +20 -0
- package/dist/utility/utility.css +7 -0
- package/dist/video/video.css +23 -1
- package/eslint.config.mjs +7 -5
- package/package.json +6 -3
package/dist/tourtip/tourtip.css
CHANGED
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
.tourtip {
|
|
5
5
|
position: relative;
|
|
6
6
|
}
|
|
7
|
+
|
|
7
8
|
span.tourtip {
|
|
8
9
|
display: inline-block;
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
.tourtip__overlay {
|
|
11
13
|
box-shadow: var(--bubble-shadow);
|
|
12
14
|
display: none;
|
|
@@ -18,28 +20,32 @@ span.tourtip {
|
|
|
18
20
|
transform: scaleX(1);
|
|
19
21
|
width: max-content;
|
|
20
22
|
}
|
|
23
|
+
|
|
21
24
|
.tourtip__mask,
|
|
22
25
|
.tourtip__overlay {
|
|
23
26
|
border-radius: var(--bubble-border-radius, var(--border-radius-100));
|
|
24
27
|
z-index: 1;
|
|
25
28
|
}
|
|
29
|
+
|
|
26
30
|
.tourtip__mask {
|
|
31
|
+
position: relative;
|
|
27
32
|
background-color: var(
|
|
28
33
|
--tourtip-background-color,
|
|
29
34
|
var(--color-background-inverse)
|
|
30
35
|
);
|
|
31
36
|
color: var(--tourtip-foreground-color, var(--color-foreground-on-inverse));
|
|
32
|
-
position: relative;
|
|
33
37
|
}
|
|
38
|
+
|
|
34
39
|
span.tourtip__mask {
|
|
35
40
|
display: block;
|
|
36
41
|
}
|
|
42
|
+
|
|
37
43
|
.tourtip__cell {
|
|
38
44
|
display: flex;
|
|
39
|
-
flex-wrap: wrap;
|
|
40
45
|
overflow-wrap: anywhere;
|
|
41
46
|
padding: var(--spacing-200);
|
|
42
47
|
word-break: normal;
|
|
48
|
+
flex-wrap: wrap;
|
|
43
49
|
}
|
|
44
50
|
.tourtip__cell a {
|
|
45
51
|
color: var(--tourtip-foreground-color, var(--color-foreground-on-inverse));
|
|
@@ -47,6 +53,7 @@ span.tourtip__mask {
|
|
|
47
53
|
.tourtip__cell a:focus {
|
|
48
54
|
outline: 1px dashed currentColor;
|
|
49
55
|
}
|
|
56
|
+
|
|
50
57
|
.tourtip__content {
|
|
51
58
|
flex-basis: 0;
|
|
52
59
|
flex-grow: 1;
|
|
@@ -57,15 +64,16 @@ span.tourtip__mask {
|
|
|
57
64
|
.tourtip__content p:not(:first-of-type) {
|
|
58
65
|
margin-top: var(--spacing-50);
|
|
59
66
|
}
|
|
67
|
+
|
|
60
68
|
.tourtip button.tourtip__close {
|
|
69
|
+
outline-offset: -2px;
|
|
61
70
|
align-self: flex-start;
|
|
62
71
|
background: none;
|
|
63
72
|
border: 0;
|
|
64
73
|
flex-shrink: 0;
|
|
65
74
|
height: var(--spacing-400);
|
|
66
|
-
margin: calc(var(--spacing-100)
|
|
75
|
+
margin: calc(-1 * var(--spacing-100)) calc(-1 * var(--spacing-100)) 0
|
|
67
76
|
var(--spacing-100);
|
|
68
|
-
outline-offset: -2px;
|
|
69
77
|
padding: 0;
|
|
70
78
|
white-space: nowrap;
|
|
71
79
|
width: 32px;
|
|
@@ -73,84 +81,100 @@ span.tourtip__mask {
|
|
|
73
81
|
.tourtip button.tourtip__close svg.icon {
|
|
74
82
|
fill: var(--tourtip-foreground-color, var(--color-foreground-on-inverse));
|
|
75
83
|
}
|
|
84
|
+
|
|
76
85
|
.tourtip__pointer {
|
|
77
|
-
background-color: var(
|
|
78
|
-
--tourtip-background-color,
|
|
79
|
-
var(--color-background-inverse)
|
|
80
|
-
);
|
|
81
86
|
height: 8px;
|
|
82
87
|
position: absolute;
|
|
83
88
|
transform: rotate(45deg);
|
|
84
89
|
width: 8px;
|
|
85
90
|
z-index: 0;
|
|
91
|
+
background-color: var(
|
|
92
|
+
--tourtip-background-color,
|
|
93
|
+
var(--color-background-inverse)
|
|
94
|
+
);
|
|
86
95
|
}
|
|
96
|
+
|
|
87
97
|
.tourtip__pointer--top-left {
|
|
88
|
-
left: 12px;
|
|
89
98
|
top: -4px;
|
|
99
|
+
left: 12px;
|
|
90
100
|
}
|
|
101
|
+
|
|
91
102
|
.tourtip__pointer--top {
|
|
92
|
-
left: calc(50% - 4px);
|
|
93
103
|
top: -4px;
|
|
104
|
+
left: calc(50% - 4px);
|
|
94
105
|
}
|
|
106
|
+
|
|
95
107
|
.tourtip__pointer--top-right {
|
|
108
|
+
top: -4px;
|
|
96
109
|
left: auto;
|
|
97
110
|
right: 12px;
|
|
98
|
-
top: -4px;
|
|
99
111
|
}
|
|
112
|
+
|
|
100
113
|
.tourtip__pointer--bottom-left {
|
|
101
114
|
bottom: -4px;
|
|
102
|
-
left: 12px;
|
|
103
115
|
top: auto;
|
|
116
|
+
left: 12px;
|
|
104
117
|
}
|
|
118
|
+
|
|
105
119
|
.tourtip__pointer--bottom {
|
|
106
120
|
bottom: -4px;
|
|
107
|
-
left: calc(50% - 4px);
|
|
108
121
|
top: auto;
|
|
122
|
+
left: calc(50% - 4px);
|
|
109
123
|
}
|
|
124
|
+
|
|
110
125
|
.tourtip__pointer--bottom-right {
|
|
111
126
|
bottom: -4px;
|
|
127
|
+
top: auto;
|
|
112
128
|
left: auto;
|
|
113
129
|
right: 12px;
|
|
114
|
-
top: auto;
|
|
115
130
|
}
|
|
131
|
+
|
|
116
132
|
.tourtip__pointer--left {
|
|
117
|
-
left: -4px;
|
|
118
133
|
top: calc(50% - 4px);
|
|
134
|
+
left: -4px;
|
|
119
135
|
}
|
|
136
|
+
|
|
120
137
|
.tourtip__pointer--left-bottom {
|
|
121
138
|
bottom: 12px;
|
|
122
139
|
left: -4px;
|
|
123
140
|
top: auto;
|
|
124
141
|
}
|
|
142
|
+
|
|
125
143
|
.tourtip__pointer--left-top {
|
|
126
144
|
left: -4px;
|
|
127
145
|
top: 12px;
|
|
128
146
|
}
|
|
147
|
+
|
|
129
148
|
.tourtip__pointer--right {
|
|
149
|
+
top: calc(50% - 4px);
|
|
130
150
|
left: auto;
|
|
131
151
|
right: -4px;
|
|
132
|
-
top: calc(50% - 4px);
|
|
133
152
|
}
|
|
153
|
+
|
|
134
154
|
.tourtip__pointer--right-bottom {
|
|
135
155
|
bottom: 12px;
|
|
136
156
|
left: auto;
|
|
137
157
|
right: -4px;
|
|
138
158
|
top: auto;
|
|
139
159
|
}
|
|
160
|
+
|
|
140
161
|
.tourtip__pointer--right-top {
|
|
141
162
|
left: auto;
|
|
142
163
|
right: -4px;
|
|
143
164
|
top: 12px;
|
|
144
165
|
}
|
|
166
|
+
|
|
145
167
|
.tourtip__heading {
|
|
146
168
|
font-size: var(--font-size-large-1);
|
|
147
169
|
font-weight: 700;
|
|
148
170
|
margin: 0 0 var(--spacing-100);
|
|
149
171
|
}
|
|
172
|
+
|
|
150
173
|
.tourtip--expanded .tourtip__overlay,
|
|
151
174
|
span.tourtip__heading {
|
|
152
175
|
display: block;
|
|
153
176
|
}
|
|
177
|
+
|
|
154
178
|
.tourtip__footer {
|
|
155
179
|
align-items: center;
|
|
156
180
|
display: flex;
|
|
@@ -158,6 +182,7 @@ span.tourtip__heading {
|
|
|
158
182
|
margin-top: 16px;
|
|
159
183
|
width: 100%;
|
|
160
184
|
}
|
|
185
|
+
|
|
161
186
|
.tourtip__footer > button.btn--primary {
|
|
162
187
|
background-color: var(
|
|
163
188
|
--tourtip-background-color,
|
|
@@ -165,6 +190,7 @@ span.tourtip__heading {
|
|
|
165
190
|
);
|
|
166
191
|
color: var(--tourtip-foreground-color, var(--color-background-inverse));
|
|
167
192
|
}
|
|
193
|
+
|
|
168
194
|
.tourtip__footer > a:not(:last-child),
|
|
169
195
|
.tourtip__footer > button:not(:last-child) {
|
|
170
196
|
margin-right: var(--spacing-200);
|
|
@@ -182,6 +208,7 @@ span.tourtip__heading {
|
|
|
182
208
|
.tourtip__index {
|
|
183
209
|
flex: 1;
|
|
184
210
|
}
|
|
211
|
+
|
|
185
212
|
@media (min-width: 512px) {
|
|
186
213
|
.tourtip__overlay {
|
|
187
214
|
max-width: 400px;
|
|
@@ -2,88 +2,108 @@
|
|
|
2
2
|
font-size: var(--font-size-giant-3);
|
|
3
3
|
line-height: 52px;
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.giant-text-2,
|
|
6
7
|
.giant-text-3 {
|
|
7
8
|
font-weight: var(--font-weight-600);
|
|
8
9
|
}
|
|
10
|
+
|
|
9
11
|
.giant-text-2 {
|
|
10
12
|
font-size: var(--font-size-giant-2);
|
|
11
13
|
line-height: 46px;
|
|
12
14
|
}
|
|
15
|
+
|
|
13
16
|
.giant-text-1 {
|
|
14
17
|
font-size: var(--font-size-giant-1);
|
|
15
18
|
line-height: 40px;
|
|
16
19
|
}
|
|
20
|
+
|
|
17
21
|
.giant-text-1,
|
|
18
22
|
.large-text-2 {
|
|
19
23
|
font-weight: var(--font-weight-600);
|
|
20
24
|
}
|
|
25
|
+
|
|
21
26
|
.large-text-2 {
|
|
22
27
|
font-size: var(--font-size-large-2);
|
|
23
28
|
line-height: 32px;
|
|
24
29
|
}
|
|
30
|
+
|
|
25
31
|
.large-text-1 {
|
|
26
32
|
font-size: var(--font-size-large-1);
|
|
27
33
|
font-weight: var(--font-weight-600);
|
|
28
34
|
line-height: 28px;
|
|
29
35
|
}
|
|
36
|
+
|
|
30
37
|
.medium-text {
|
|
31
38
|
font-size: var(--font-size-medium);
|
|
32
39
|
line-height: 24px;
|
|
33
40
|
}
|
|
41
|
+
|
|
34
42
|
.regular-text {
|
|
35
43
|
font-size: var(--font-size-body);
|
|
36
44
|
line-height: 20px;
|
|
37
45
|
}
|
|
46
|
+
|
|
38
47
|
.small-text {
|
|
39
48
|
font-size: var(--font-size-small);
|
|
40
49
|
line-height: 16px;
|
|
41
50
|
}
|
|
51
|
+
|
|
42
52
|
.bold-text {
|
|
43
53
|
font-weight: var(--font-weight-600);
|
|
44
54
|
}
|
|
55
|
+
|
|
45
56
|
.secondary-text {
|
|
46
57
|
color: var(
|
|
47
58
|
--typography-secondary-text-color,
|
|
48
59
|
var(--color-foreground-secondary)
|
|
49
60
|
);
|
|
50
61
|
}
|
|
62
|
+
|
|
51
63
|
.emphasis-text,
|
|
52
64
|
.negative-text {
|
|
53
65
|
color: var(--color-foreground-attention);
|
|
54
66
|
}
|
|
67
|
+
|
|
55
68
|
.positive-text {
|
|
56
69
|
color: var(--color-foreground-success);
|
|
57
70
|
}
|
|
71
|
+
|
|
58
72
|
.disabled-text {
|
|
59
73
|
color: var(--color-foreground-disabled);
|
|
60
74
|
}
|
|
75
|
+
|
|
61
76
|
.giant-product-title,
|
|
62
77
|
.giant-section-title {
|
|
63
78
|
font-size: var(--font-size-large-2);
|
|
64
79
|
line-height: 30px;
|
|
65
80
|
}
|
|
81
|
+
|
|
66
82
|
.large-product-title,
|
|
67
83
|
.large-section-title {
|
|
68
84
|
font-size: var(--font-size-large-1);
|
|
69
85
|
line-height: 24px;
|
|
70
86
|
}
|
|
87
|
+
|
|
71
88
|
.medium-product-title,
|
|
72
89
|
.medium-section-title {
|
|
73
90
|
font-size: var(--font-size-medium);
|
|
74
91
|
line-height: 20px;
|
|
75
92
|
}
|
|
93
|
+
|
|
76
94
|
.small-product-title,
|
|
77
95
|
.small-section-title {
|
|
78
96
|
font-size: var(--font-size-body);
|
|
79
97
|
line-height: 16px;
|
|
80
98
|
}
|
|
99
|
+
|
|
81
100
|
.giant-section-title,
|
|
82
101
|
.large-section-title,
|
|
83
102
|
.medium-section-title,
|
|
84
103
|
.small-section-title {
|
|
85
104
|
font-weight: var(--font-weight-600);
|
|
86
105
|
}
|
|
106
|
+
|
|
87
107
|
@media (min-width: 512px) {
|
|
88
108
|
.giant-product-title,
|
|
89
109
|
.giant-section-title {
|
package/dist/utility/utility.css
CHANGED
|
@@ -85,29 +85,36 @@
|
|
|
85
85
|
max-width: 100%;
|
|
86
86
|
object-fit: contain;
|
|
87
87
|
}
|
|
88
|
+
|
|
88
89
|
.image-disabled {
|
|
89
90
|
filter: var(--color-media-disabled-filter);
|
|
90
91
|
}
|
|
92
|
+
|
|
91
93
|
.text-truncate {
|
|
92
94
|
overflow: hidden;
|
|
93
95
|
text-overflow: ellipsis;
|
|
94
96
|
white-space: nowrap;
|
|
95
97
|
}
|
|
98
|
+
|
|
96
99
|
.scrollbars-permanent {
|
|
97
100
|
scroll-behavior: smooth;
|
|
98
101
|
scroll-snap-type: proximity;
|
|
99
102
|
scroll-snap-type: x proximity;
|
|
100
103
|
}
|
|
104
|
+
|
|
101
105
|
.scrollbars-permanent::-webkit-scrollbar {
|
|
102
106
|
background-color: var(--color-state-layer-focus);
|
|
103
107
|
border-radius: 12px;
|
|
104
108
|
}
|
|
109
|
+
|
|
105
110
|
.scrollbars-permanent::-webkit-scrollbar:vertical {
|
|
106
111
|
width: 6px;
|
|
107
112
|
}
|
|
113
|
+
|
|
108
114
|
.scrollbars-permanent::-webkit-scrollbar:horizontal {
|
|
109
115
|
height: 6px;
|
|
110
116
|
}
|
|
117
|
+
|
|
111
118
|
.scrollbars-permanent::-webkit-scrollbar-thumb {
|
|
112
119
|
background-color: var(--color-foreground-secondary);
|
|
113
120
|
border-color: transparent;
|
package/dist/video/video.css
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
.video-player {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.video-player video {
|
|
5
6
|
height: 100%;
|
|
6
7
|
width: 100%;
|
|
7
8
|
}
|
|
9
|
+
|
|
8
10
|
.video-player button {
|
|
9
11
|
font-family: inherit;
|
|
10
12
|
}
|
|
13
|
+
|
|
11
14
|
.video-player__overlay {
|
|
12
15
|
align-items: center;
|
|
13
16
|
background-color: rgba(0, 0, 0, 0.6);
|
|
@@ -23,27 +26,33 @@
|
|
|
23
26
|
text-align: center;
|
|
24
27
|
top: 0;
|
|
25
28
|
}
|
|
29
|
+
|
|
26
30
|
.video-player__overlay-text {
|
|
27
31
|
margin: 20px 20px 0;
|
|
28
32
|
}
|
|
33
|
+
|
|
29
34
|
.video-player__overlay--hidden {
|
|
30
35
|
display: none;
|
|
31
36
|
}
|
|
37
|
+
|
|
32
38
|
.video-player__report-button > svg {
|
|
33
39
|
margin-inline-end: var(--spacing-50);
|
|
34
40
|
}
|
|
41
|
+
|
|
35
42
|
.video-player .shaka-overflow-menu svg {
|
|
36
43
|
height: 24px;
|
|
37
44
|
margin-left: 10px;
|
|
38
45
|
margin-right: 10px;
|
|
39
46
|
width: 24px;
|
|
40
47
|
}
|
|
48
|
+
|
|
41
49
|
.video-player .shaka-range-container {
|
|
42
50
|
margin-bottom: -25px;
|
|
43
51
|
margin-left: 105px;
|
|
44
52
|
margin-right: 133px;
|
|
45
53
|
z-index: 3;
|
|
46
54
|
}
|
|
55
|
+
|
|
47
56
|
.video-player .shaka-controls-container .shaka-play-button-container {
|
|
48
57
|
align-items: center;
|
|
49
58
|
display: flex;
|
|
@@ -51,6 +60,7 @@
|
|
|
51
60
|
justify-content: center;
|
|
52
61
|
width: 100%;
|
|
53
62
|
}
|
|
63
|
+
|
|
54
64
|
.video-player .shaka-play-button-container .shaka-play-button {
|
|
55
65
|
background: none;
|
|
56
66
|
border: 0;
|
|
@@ -58,40 +68,52 @@
|
|
|
58
68
|
margin: 0;
|
|
59
69
|
padding: 0;
|
|
60
70
|
}
|
|
71
|
+
|
|
61
72
|
.video-player--with-nav .shaka-controls-container {
|
|
62
73
|
pointer-events: none;
|
|
63
74
|
}
|
|
75
|
+
|
|
64
76
|
.video-player--with-nav .shaka-controls-container .shaka-bottom-controls,
|
|
65
77
|
.video-player--with-nav .shaka-controls-container .shaka-play-button-container {
|
|
66
78
|
pointer-events: auto;
|
|
67
79
|
}
|
|
80
|
+
|
|
68
81
|
.video-player--compact {
|
|
69
82
|
container-type: inline-size;
|
|
70
83
|
width: 100%;
|
|
71
84
|
}
|
|
85
|
+
|
|
72
86
|
.video-player--compact .shaka-controls-button-panel {
|
|
73
87
|
background-color: initial;
|
|
74
88
|
margin-bottom: 10px;
|
|
75
89
|
}
|
|
76
|
-
|
|
90
|
+
|
|
91
|
+
.video-player--compact .shaka-controls-button-panel button,
|
|
92
|
+
.video-player--compact .shaka-controls-button-panel > span {
|
|
77
93
|
background-color: rgba(0, 0, 0, 0.32);
|
|
78
94
|
border-radius: 50%;
|
|
79
95
|
margin: 0 5px;
|
|
80
96
|
}
|
|
97
|
+
|
|
81
98
|
.video-player .shaka-controls-button-panel span.shaka-current-time,
|
|
82
99
|
.video-player .shaka-controls-button-panel span.shaka-remaining-time {
|
|
83
100
|
align-items: center;
|
|
101
|
+
box-sizing: border-box;
|
|
84
102
|
display: inline-flex;
|
|
85
103
|
}
|
|
104
|
+
|
|
86
105
|
.video-player--compact .shaka-controls-button-panel .shaka-remaining-time {
|
|
87
106
|
border-radius: 16px;
|
|
88
107
|
font-size: var(--font-size-medium);
|
|
108
|
+
justify-content: center;
|
|
89
109
|
min-width: 80px;
|
|
90
110
|
padding: var(--spacing-200) var(--spacing-100);
|
|
91
111
|
}
|
|
112
|
+
|
|
92
113
|
.video-player--with-nav.video-player--compact .shaka-big-buttons-container {
|
|
93
114
|
display: none;
|
|
94
115
|
}
|
|
116
|
+
|
|
95
117
|
@container (inline-size < 320px) {
|
|
96
118
|
.video-player--compact video {
|
|
97
119
|
object-fit: cover;
|
package/eslint.config.mjs
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import js from "@eslint/js";
|
|
2
2
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
3
|
+
import globals from "globals";
|
|
3
4
|
|
|
4
5
|
export default [
|
|
6
|
+
js.configs.recommended,
|
|
7
|
+
eslintConfigPrettier,
|
|
5
8
|
{
|
|
6
|
-
plugins: {
|
|
7
|
-
ebayConfig,
|
|
8
|
-
eslintConfigPrettier,
|
|
9
|
-
},
|
|
10
9
|
languageOptions: {
|
|
11
10
|
ecmaVersion: 2020,
|
|
12
11
|
sourceType: "module",
|
|
12
|
+
globals: {
|
|
13
|
+
...globals.browser,
|
|
14
|
+
},
|
|
13
15
|
},
|
|
14
16
|
},
|
|
15
17
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebay/skin",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.35.0",
|
|
4
4
|
"description": "Skin - CSS modules that represent the brand eBay",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eBay",
|
|
@@ -70,8 +70,11 @@
|
|
|
70
70
|
"extends": "@commitlint/config-conventional"
|
|
71
71
|
},
|
|
72
72
|
"lint-staged": {
|
|
73
|
-
"*.{js,
|
|
74
|
-
"*.{css,scss}":
|
|
73
|
+
"*.{js,md,json}": "prettier --write",
|
|
74
|
+
"*.{css,scss}": [
|
|
75
|
+
"prettier --write",
|
|
76
|
+
"stylelint --fix --config .stylelintrc"
|
|
77
|
+
]
|
|
75
78
|
},
|
|
76
79
|
"browserslist": [
|
|
77
80
|
"extends @ebay/browserslist-config"
|