@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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
3
3
|
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.carousel {
|
|
6
7
|
position: relative;
|
|
7
8
|
}
|
|
@@ -32,10 +33,6 @@
|
|
|
32
33
|
border-radius: 50%;
|
|
33
34
|
bottom: 16px;
|
|
34
35
|
box-sizing: border-box;
|
|
35
|
-
color: var(
|
|
36
|
-
--carousel-playback-foreground-color,
|
|
37
|
-
var(--color-foreground-on-inverse)
|
|
38
|
-
);
|
|
39
36
|
height: 40px;
|
|
40
37
|
margin-bottom: 19px;
|
|
41
38
|
margin-right: 19px;
|
|
@@ -45,6 +42,10 @@
|
|
|
45
42
|
text-align: center;
|
|
46
43
|
width: 40px;
|
|
47
44
|
z-index: 2;
|
|
45
|
+
color: var(
|
|
46
|
+
--carousel-playback-foreground-color,
|
|
47
|
+
var(--color-foreground-on-inverse)
|
|
48
|
+
);
|
|
48
49
|
}
|
|
49
50
|
.carousel__playback svg {
|
|
50
51
|
opacity: 0.75;
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
.carousel__playback .icon--play {
|
|
53
54
|
padding-left: 1px;
|
|
54
55
|
}
|
|
56
|
+
|
|
55
57
|
.carousel__list--image-treatment > li {
|
|
56
58
|
align-items: center;
|
|
57
59
|
border-radius: 8px;
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
max-width: 100%;
|
|
75
77
|
object-fit: contain;
|
|
76
78
|
}
|
|
79
|
+
|
|
77
80
|
.carousel__list--image-treatment-large > li {
|
|
78
81
|
align-items: center;
|
|
79
82
|
border-radius: 16px;
|
|
@@ -96,9 +99,11 @@
|
|
|
96
99
|
max-width: 100%;
|
|
97
100
|
object-fit: contain;
|
|
98
101
|
}
|
|
102
|
+
|
|
99
103
|
div.carousel {
|
|
100
104
|
margin: 16px 0;
|
|
101
105
|
}
|
|
106
|
+
|
|
102
107
|
.carousel__control {
|
|
103
108
|
background-color: var(
|
|
104
109
|
--carousel-paddle-background-color,
|
|
@@ -129,10 +134,6 @@ div.carousel {
|
|
|
129
134
|
.carousel__control {
|
|
130
135
|
align-items: center;
|
|
131
136
|
border: 1px solid;
|
|
132
|
-
border-color: var(
|
|
133
|
-
--carousel-paddle-border-color,
|
|
134
|
-
var(--color-border-subtle)
|
|
135
|
-
);
|
|
136
137
|
border-radius: 16px;
|
|
137
138
|
box-shadow:
|
|
138
139
|
0 2px 2px 0 rgba(0, 0, 0, 0.24),
|
|
@@ -149,14 +150,18 @@ div.carousel {
|
|
|
149
150
|
transition: opacity 0.45s ease-in-out;
|
|
150
151
|
width: 32px;
|
|
151
152
|
z-index: 1;
|
|
153
|
+
border-color: var(
|
|
154
|
+
--carousel-paddle-border-color,
|
|
155
|
+
var(--color-border-subtle)
|
|
156
|
+
);
|
|
152
157
|
}
|
|
153
158
|
.carousel__control--prev {
|
|
154
|
-
left: calc(var(--spacing-200)
|
|
159
|
+
left: calc(-1 * var(--spacing-200));
|
|
155
160
|
margin-inline-end: 1px;
|
|
156
161
|
}
|
|
157
162
|
.carousel__control--next {
|
|
158
163
|
margin-inline-start: 1px;
|
|
159
|
-
right: calc(var(--spacing-200)
|
|
164
|
+
right: calc(-1 * var(--spacing-200));
|
|
160
165
|
}
|
|
161
166
|
.carousel__control svg {
|
|
162
167
|
color: var(--color-foreground-primary);
|
|
@@ -191,13 +196,16 @@ div.carousel {
|
|
|
191
196
|
.carousel__control:hover svg {
|
|
192
197
|
color: var(--color-foreground-primary);
|
|
193
198
|
}
|
|
199
|
+
|
|
194
200
|
.carousel__playback:focus:not(:focus-visible) {
|
|
195
201
|
outline: none;
|
|
196
202
|
}
|
|
203
|
+
|
|
197
204
|
span.carousel,
|
|
198
205
|
span.carousel__container {
|
|
199
206
|
display: inline-block;
|
|
200
207
|
}
|
|
208
|
+
|
|
201
209
|
.carousel__viewport--mask {
|
|
202
210
|
-webkit-mask-image: linear-gradient(
|
|
203
211
|
to right,
|
|
@@ -210,12 +218,13 @@ span.carousel__container {
|
|
|
210
218
|
rgba(0, 0, 0, 0) 100%
|
|
211
219
|
);
|
|
212
220
|
}
|
|
221
|
+
|
|
213
222
|
[dir="rtl"] .carousel__control--prev {
|
|
214
223
|
left: unset;
|
|
215
|
-
right: calc(var(--spacing-200)
|
|
224
|
+
right: calc(-1 * var(--spacing-200));
|
|
216
225
|
}
|
|
217
226
|
[dir="rtl"] .carousel__control--next {
|
|
218
|
-
left: calc(var(--spacing-200)
|
|
227
|
+
left: calc(-1 * var(--spacing-200));
|
|
219
228
|
right: unset;
|
|
220
229
|
}
|
|
221
230
|
[dir="rtl"] .carousel__control .icon--12 {
|
|
@@ -291,12 +300,15 @@ span.carousel__container {
|
|
|
291
300
|
.carousel.carousel--hidden-scrollbar:not(.carousel__autoplay) {
|
|
292
301
|
overflow: hidden;
|
|
293
302
|
}
|
|
303
|
+
|
|
294
304
|
.carousel--hidden-scrollbar .carousel__container {
|
|
295
305
|
margin-bottom: -80px;
|
|
296
306
|
}
|
|
307
|
+
|
|
297
308
|
.carousel--hidden-scrollbar .carousel__container .carousel__control {
|
|
298
309
|
margin-top: -40px;
|
|
299
310
|
}
|
|
311
|
+
|
|
300
312
|
.carousel--hidden-scrollbar .carousel__container .carousel__list {
|
|
301
313
|
padding-bottom: 80px;
|
|
302
314
|
}
|
package/dist/ccd/ccd.css
CHANGED
|
@@ -11,10 +11,12 @@
|
|
|
11
11
|
sans-serif;
|
|
12
12
|
gap: 8px;
|
|
13
13
|
}
|
|
14
|
+
|
|
14
15
|
.ccd__charger-icon {
|
|
15
16
|
height: 57px;
|
|
16
17
|
width: 42px;
|
|
17
18
|
}
|
|
19
|
+
|
|
18
20
|
.ccd__description-figure {
|
|
19
21
|
align-items: center;
|
|
20
22
|
display: flex;
|
|
@@ -22,10 +24,12 @@
|
|
|
22
24
|
justify-content: center;
|
|
23
25
|
width: 39px;
|
|
24
26
|
}
|
|
27
|
+
|
|
25
28
|
.ccd__top-icon {
|
|
26
29
|
height: 18px;
|
|
27
30
|
width: 27px;
|
|
28
31
|
}
|
|
32
|
+
|
|
29
33
|
.ccd__body {
|
|
30
34
|
align-items: center;
|
|
31
35
|
border: 1px solid var(--color-foreground-primary);
|
|
@@ -3,33 +3,40 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
vertical-align: text-bottom;
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.checkbox__control[type="checkbox"] {
|
|
7
8
|
height: 18px;
|
|
8
9
|
min-width: 18px;
|
|
9
10
|
width: 18px;
|
|
10
11
|
}
|
|
12
|
+
|
|
11
13
|
.checkbox--large .checkbox__control[type="checkbox"] {
|
|
12
14
|
height: 24px;
|
|
13
15
|
min-width: 24px;
|
|
14
16
|
width: 24px;
|
|
15
17
|
}
|
|
18
|
+
|
|
16
19
|
span.checkbox__icon {
|
|
17
20
|
display: inline-flex;
|
|
18
21
|
height: 18px;
|
|
19
22
|
outline-offset: 1px;
|
|
20
23
|
}
|
|
24
|
+
|
|
21
25
|
.checkbox--large span.checkbox__icon {
|
|
22
26
|
height: 24px;
|
|
23
27
|
}
|
|
24
28
|
span.checkbox__icon[hidden] {
|
|
25
29
|
display: inline-flex;
|
|
26
30
|
}
|
|
31
|
+
|
|
27
32
|
svg.checkbox__checked {
|
|
28
33
|
color: var(--checkbox-checked-color, var(--color-foreground-primary));
|
|
29
34
|
}
|
|
35
|
+
|
|
30
36
|
svg.checkbox__unchecked {
|
|
31
37
|
color: var(--checkbox-unchecked-color, var(--color-foreground-primary));
|
|
32
38
|
}
|
|
39
|
+
|
|
33
40
|
input.checkbox__control[type="checkbox"] {
|
|
34
41
|
font-size: 100%;
|
|
35
42
|
margin: 0;
|
|
@@ -38,25 +45,29 @@ input.checkbox__control[type="checkbox"] {
|
|
|
38
45
|
position: absolute;
|
|
39
46
|
z-index: 1;
|
|
40
47
|
}
|
|
48
|
+
|
|
41
49
|
.checkbox svg {
|
|
42
50
|
display: inline-block;
|
|
43
51
|
fill: currentColor;
|
|
44
|
-
height: 18px;
|
|
45
52
|
pointer-events: none;
|
|
46
53
|
stroke: currentColor;
|
|
47
54
|
stroke-width: 0;
|
|
48
55
|
vertical-align: middle;
|
|
56
|
+
height: 18px;
|
|
49
57
|
width: 18px;
|
|
50
58
|
}
|
|
59
|
+
|
|
51
60
|
.checkbox--large svg {
|
|
52
61
|
height: 24px;
|
|
53
62
|
width: 24px;
|
|
54
63
|
}
|
|
64
|
+
|
|
55
65
|
input.checkbox__control[type="checkbox"]
|
|
56
66
|
+ span.checkbox__icon
|
|
57
67
|
svg.checkbox__checked {
|
|
58
68
|
display: none;
|
|
59
69
|
}
|
|
70
|
+
|
|
60
71
|
input.checkbox__control[type="checkbox"]
|
|
61
72
|
+ span.checkbox__icon
|
|
62
73
|
svg.checkbox__unchecked,
|
|
@@ -65,11 +76,13 @@ input.checkbox__control[type="checkbox"]:checked
|
|
|
65
76
|
svg.checkbox__checked {
|
|
66
77
|
display: inline-block;
|
|
67
78
|
}
|
|
79
|
+
|
|
68
80
|
input.checkbox__control[type="checkbox"]:checked
|
|
69
81
|
+ span.checkbox__icon
|
|
70
82
|
svg.checkbox__unchecked {
|
|
71
83
|
display: none;
|
|
72
84
|
}
|
|
85
|
+
|
|
73
86
|
input.checkbox__control[type="checkbox"][disabled] + span.checkbox__icon {
|
|
74
87
|
opacity: 1;
|
|
75
88
|
}
|
|
@@ -78,9 +91,10 @@ input.checkbox__control[type="checkbox"][disabled] + span.checkbox__icon svg {
|
|
|
78
91
|
}
|
|
79
92
|
input.checkbox__control[type="checkbox"]:focus + span.checkbox__icon {
|
|
80
93
|
outline: 1px auto;
|
|
81
|
-
outline-color: var(--checkbox-outline, var(--color-foreground-secondary));
|
|
82
94
|
outline-offset: 2px;
|
|
95
|
+
outline-color: var(--checkbox-outline, var(--color-foreground-secondary));
|
|
83
96
|
}
|
|
97
|
+
|
|
84
98
|
input.checkbox__control[type="checkbox"]:focus:not(:focus-visible)
|
|
85
99
|
+ span.checkbox__icon {
|
|
86
100
|
outline: none;
|
package/dist/chip/chip.css
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
.chip {
|
|
2
2
|
align-items: center;
|
|
3
|
-
background-color: var(--color-background-strong);
|
|
4
|
-
border-radius: var(--border-radius-50);
|
|
5
3
|
box-sizing: border-box;
|
|
6
|
-
color: var(--color-foreground-on-strong);
|
|
7
4
|
display: inline-flex;
|
|
8
5
|
font-size: var(--font-size-body);
|
|
9
6
|
gap: var(--spacing-75);
|
|
@@ -14,13 +11,18 @@
|
|
|
14
11
|
padding: 0 var(--spacing-150);
|
|
15
12
|
text-decoration: none;
|
|
16
13
|
vertical-align: bottom;
|
|
14
|
+
background-color: var(--color-background-strong);
|
|
15
|
+
border-radius: var(--border-radius-50);
|
|
16
|
+
color: var(--color-foreground-on-strong);
|
|
17
17
|
}
|
|
18
|
+
|
|
18
19
|
.chip__text {
|
|
19
20
|
overflow: hidden;
|
|
20
21
|
padding: var(--spacing-75) 0;
|
|
21
22
|
text-overflow: ellipsis;
|
|
22
23
|
white-space: nowrap;
|
|
23
24
|
}
|
|
25
|
+
|
|
24
26
|
.chip button.chip__button {
|
|
25
27
|
align-items: center;
|
|
26
28
|
background-color: initial;
|
|
@@ -37,6 +39,7 @@
|
|
|
37
39
|
padding: 0;
|
|
38
40
|
width: var(--spacing-300);
|
|
39
41
|
}
|
|
42
|
+
|
|
40
43
|
.chip button.chip__button:focus-visible {
|
|
41
44
|
background-color: var(--state-layer-focus);
|
|
42
45
|
outline-color: var(--color-foreground-on-strong);
|
|
@@ -44,6 +47,7 @@
|
|
|
44
47
|
outline-style: solid;
|
|
45
48
|
outline-width: 2px;
|
|
46
49
|
}
|
|
50
|
+
|
|
47
51
|
.chip button.chip__button:hover {
|
|
48
52
|
background-color: var(--state-layer-hover);
|
|
49
53
|
}
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
padding-inline: var(--spacing-100) var(--spacing-200);
|
|
8
8
|
position: relative;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
.chips-combobox--fluid {
|
|
11
12
|
display: block;
|
|
12
13
|
}
|
|
14
|
+
|
|
13
15
|
.chips-combobox__items {
|
|
14
16
|
display: flex;
|
|
15
17
|
flex-wrap: wrap;
|
|
@@ -19,12 +21,15 @@
|
|
|
19
21
|
margin-bottom: var(--spacing-100);
|
|
20
22
|
padding: 0;
|
|
21
23
|
}
|
|
24
|
+
|
|
22
25
|
.chips-combobox__items:empty {
|
|
23
26
|
display: none;
|
|
24
27
|
}
|
|
28
|
+
|
|
25
29
|
.chips-combobox__items li {
|
|
26
30
|
display: inline-block;
|
|
27
31
|
}
|
|
32
|
+
|
|
28
33
|
.chips-combobox .combobox__control > input {
|
|
29
34
|
background-color: inherit;
|
|
30
35
|
border: none;
|
|
@@ -34,13 +39,16 @@
|
|
|
34
39
|
padding: var(--spacing-75) 0;
|
|
35
40
|
width: calc(100% - var(--spacing-200));
|
|
36
41
|
}
|
|
42
|
+
|
|
37
43
|
.chips-combobox .combobox__control > input:focus {
|
|
38
44
|
outline: none;
|
|
39
45
|
}
|
|
46
|
+
|
|
40
47
|
.chips-combobox .combobox {
|
|
41
|
-
margin-inline-start: calc(var(--spacing-100)
|
|
48
|
+
margin-inline-start: calc(-1 * var(--spacing-100));
|
|
42
49
|
width: calc(100% + var(--spacing-300));
|
|
43
50
|
}
|
|
51
|
+
|
|
44
52
|
.chips-combobox .combobox svg.icon {
|
|
45
53
|
pointer-events: none;
|
|
46
54
|
position: absolute;
|
|
@@ -49,15 +57,19 @@
|
|
|
49
57
|
transform: rotateX(0deg);
|
|
50
58
|
transition: transform 0.2s linear;
|
|
51
59
|
}
|
|
60
|
+
|
|
52
61
|
.chips-combobox .combobox__listbox--set-position {
|
|
53
62
|
top: calc(100% + var(--spacing-150));
|
|
54
63
|
}
|
|
64
|
+
|
|
55
65
|
.chips-combobox .combobox__option[role^="option"] {
|
|
56
66
|
border-style: none;
|
|
57
67
|
}
|
|
68
|
+
|
|
58
69
|
.chips-combobox .combobox__option span {
|
|
59
70
|
pointer-events: none;
|
|
60
71
|
}
|
|
72
|
+
|
|
61
73
|
.chips-combobox:focus-within {
|
|
62
74
|
background-color: var(--color-background-primary);
|
|
63
75
|
border-color: var(--color-border-strong);
|
|
@@ -65,6 +77,7 @@
|
|
|
65
77
|
.chips-combobox .combobox--expanded svg.icon {
|
|
66
78
|
transform: rotateX(180deg);
|
|
67
79
|
}
|
|
80
|
+
|
|
68
81
|
.chips-combobox--error,
|
|
69
82
|
.chips-combobox--error:focus-within {
|
|
70
83
|
border-color: var(--color-border-attention);
|
|
@@ -73,16 +86,20 @@
|
|
|
73
86
|
border-color: var(--color-border-disabled);
|
|
74
87
|
pointer-events: none;
|
|
75
88
|
}
|
|
89
|
+
|
|
76
90
|
.chips-combobox[aria-disabled] .chip {
|
|
77
91
|
color: var(--color-foreground-disabled);
|
|
78
92
|
}
|
|
93
|
+
|
|
79
94
|
.chips-combobox[aria-disabled] svg.icon {
|
|
80
95
|
fill: var(--color-foreground-disabled);
|
|
81
96
|
}
|
|
97
|
+
|
|
82
98
|
.chips-combobox[aria-disabled] .combobox__control > input {
|
|
83
99
|
border: none;
|
|
84
100
|
color: var(--color-foreground-disabled);
|
|
85
101
|
}
|
|
102
|
+
|
|
86
103
|
.chips-combobox[aria-disabled] .combobox__control > input::placeholder {
|
|
87
104
|
color: var(--color-foreground-disabled);
|
|
88
105
|
}
|
|
@@ -3,24 +3,29 @@
|
|
|
3
3
|
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
4
4
|
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.combobox {
|
|
7
8
|
box-sizing: border-box;
|
|
8
9
|
line-height: normal;
|
|
9
10
|
position: relative;
|
|
10
11
|
}
|
|
12
|
+
|
|
11
13
|
span.combobox {
|
|
12
14
|
display: inline-block;
|
|
13
15
|
vertical-align: bottom;
|
|
14
16
|
}
|
|
17
|
+
|
|
15
18
|
.combobox__value {
|
|
16
|
-
flex: 1 0 auto;
|
|
17
19
|
overflow: hidden;
|
|
18
20
|
text-overflow: ellipsis;
|
|
19
21
|
white-space: nowrap;
|
|
22
|
+
flex: 1 0 auto;
|
|
20
23
|
}
|
|
24
|
+
|
|
21
25
|
.combobox__options--fix-width[role="listbox"] {
|
|
22
26
|
width: 100%;
|
|
23
27
|
}
|
|
28
|
+
|
|
24
29
|
.combobox__listbox {
|
|
25
30
|
background-color: var(--color-background-elevated);
|
|
26
31
|
border-radius: var(--border-radius-50);
|
|
@@ -43,6 +48,7 @@ span.combobox {
|
|
|
43
48
|
.combobox__listbox--fixed {
|
|
44
49
|
position: fixed;
|
|
45
50
|
}
|
|
51
|
+
|
|
46
52
|
.combobox__listbox--reverse,
|
|
47
53
|
[dir="rtl"] .combobox__listbox {
|
|
48
54
|
left: unset;
|
|
@@ -52,18 +58,20 @@ span.combobox {
|
|
|
52
58
|
left: 0;
|
|
53
59
|
right: unset;
|
|
54
60
|
}
|
|
61
|
+
|
|
55
62
|
.combobox__control > button,
|
|
56
63
|
.combobox__control > svg.icon {
|
|
57
64
|
margin-inline-start: 8px;
|
|
58
65
|
}
|
|
66
|
+
|
|
59
67
|
.combobox__option[role^="option"] {
|
|
60
|
-
|
|
68
|
+
cursor: default;
|
|
61
69
|
border-color: var(--color-background-primary);
|
|
70
|
+
color: var(--color-foreground-primary);
|
|
71
|
+
background-color: initial;
|
|
62
72
|
border-style: solid;
|
|
63
73
|
border-width: 1px;
|
|
64
74
|
box-sizing: border-box;
|
|
65
|
-
color: var(--color-foreground-primary);
|
|
66
|
-
cursor: default;
|
|
67
75
|
display: inline-grid;
|
|
68
76
|
font-family: inherit;
|
|
69
77
|
grid-template-columns: auto auto;
|
|
@@ -114,11 +122,11 @@ span.combobox {
|
|
|
114
122
|
}
|
|
115
123
|
.combobox__option[role^="option"]:disabled,
|
|
116
124
|
.combobox__option[role^="option"][aria-disabled="true"] {
|
|
117
|
-
background-color: unset;
|
|
118
125
|
color: var(
|
|
119
126
|
--listbox-option-disabled-foreground-color,
|
|
120
127
|
var(--color-foreground-disabled)
|
|
121
128
|
);
|
|
129
|
+
background-color: unset;
|
|
122
130
|
font-weight: unset;
|
|
123
131
|
}
|
|
124
132
|
.combobox__option[role^="option"]:first-child {
|
|
@@ -152,21 +160,23 @@ span.combobox {
|
|
|
152
160
|
stroke: currentColor;
|
|
153
161
|
stroke-width: 0;
|
|
154
162
|
}
|
|
163
|
+
|
|
155
164
|
.combobox__option--active[role^="option"] {
|
|
156
165
|
overflow: hidden;
|
|
157
166
|
position: relative;
|
|
158
167
|
}
|
|
159
168
|
.combobox__option--active[role^="option"]:after {
|
|
160
169
|
background-color: var(--color-state-layer-neutral);
|
|
161
|
-
background-color: var(--color-state-layer-pressed);
|
|
162
170
|
content: "";
|
|
163
171
|
inset: 0;
|
|
164
172
|
pointer-events: none;
|
|
165
173
|
position: absolute;
|
|
174
|
+
background-color: var(--color-state-layer-pressed);
|
|
166
175
|
}
|
|
167
176
|
.combobox__option--active[role^="option"] svg.icon {
|
|
168
177
|
opacity: 1;
|
|
169
178
|
}
|
|
179
|
+
|
|
170
180
|
.combobox__control button.icon-btn {
|
|
171
181
|
height: 38px;
|
|
172
182
|
padding: 0;
|
|
@@ -175,33 +185,30 @@ span.combobox {
|
|
|
175
185
|
top: 1px;
|
|
176
186
|
width: 38px;
|
|
177
187
|
}
|
|
188
|
+
|
|
178
189
|
.combobox__control button.icon-btn svg {
|
|
179
190
|
inset: auto 0;
|
|
180
191
|
margin: 0;
|
|
181
192
|
}
|
|
193
|
+
|
|
182
194
|
.combobox--expanded .combobox__listbox {
|
|
183
195
|
display: block;
|
|
184
196
|
}
|
|
197
|
+
|
|
185
198
|
.combobox--expanded svg.icon--12 {
|
|
186
199
|
transform: rotate(180deg);
|
|
187
200
|
}
|
|
201
|
+
|
|
188
202
|
.combobox__control > svg.icon--12 {
|
|
189
|
-
color: var(--combobox-textbox-icon-color, var(--color-foreground-primary));
|
|
190
203
|
pointer-events: none;
|
|
191
204
|
position: absolute;
|
|
192
205
|
right: 17px;
|
|
193
206
|
top: calc(50% - 8px);
|
|
207
|
+
color: var(--combobox-textbox-icon-color, var(--color-foreground-primary));
|
|
194
208
|
}
|
|
209
|
+
|
|
195
210
|
.combobox__control > input {
|
|
196
211
|
appearance: none;
|
|
197
|
-
background-color: var(
|
|
198
|
-
--combobox-textbox-background-color,
|
|
199
|
-
var(--color-background-secondary)
|
|
200
|
-
);
|
|
201
|
-
border-color: var(
|
|
202
|
-
--combobox-textbox-border-color,
|
|
203
|
-
var(--color-border-medium)
|
|
204
|
-
);
|
|
205
212
|
border-radius: var(
|
|
206
213
|
--combobox-textbox-border-radius,
|
|
207
214
|
var(--border-radius-50)
|
|
@@ -215,6 +222,14 @@ span.combobox {
|
|
|
215
222
|
margin-left: 0;
|
|
216
223
|
margin-right: 0;
|
|
217
224
|
padding: 0 32px 0 16px;
|
|
225
|
+
background-color: var(
|
|
226
|
+
--combobox-textbox-background-color,
|
|
227
|
+
var(--color-background-secondary)
|
|
228
|
+
);
|
|
229
|
+
border-color: var(
|
|
230
|
+
--combobox-textbox-border-color,
|
|
231
|
+
var(--color-border-medium)
|
|
232
|
+
);
|
|
218
233
|
}
|
|
219
234
|
.combobox__control > input,
|
|
220
235
|
.combobox__control > input[readonly] {
|
|
@@ -263,11 +278,13 @@ span.combobox {
|
|
|
263
278
|
.combobox__control > input::-ms-clear {
|
|
264
279
|
display: none;
|
|
265
280
|
}
|
|
281
|
+
|
|
266
282
|
.combobox__control--borderless > input {
|
|
267
283
|
background-color: initial;
|
|
268
284
|
border-color: transparent;
|
|
269
285
|
padding-left: 0;
|
|
270
286
|
}
|
|
287
|
+
|
|
271
288
|
.combobox__control > input:focus {
|
|
272
289
|
background-color: var(
|
|
273
290
|
--combobox-textbox-focus-background-color,
|
|
@@ -278,6 +295,7 @@ span.combobox {
|
|
|
278
295
|
var(--color-foreground-primary)
|
|
279
296
|
);
|
|
280
297
|
}
|
|
298
|
+
|
|
281
299
|
.combobox__control--borderless > input:focus {
|
|
282
300
|
border-color: transparent;
|
|
283
301
|
outline: none;
|
|
@@ -286,16 +304,19 @@ span.combobox {
|
|
|
286
304
|
.combobox--fluid .combobox__control > input {
|
|
287
305
|
width: 100%;
|
|
288
306
|
}
|
|
307
|
+
|
|
289
308
|
.combobox--large .combobox__control > input {
|
|
290
309
|
font-size: var(--font-size-medium);
|
|
291
310
|
height: 48px;
|
|
292
311
|
}
|
|
312
|
+
|
|
293
313
|
.combobox__control > input[disabled] {
|
|
294
314
|
background-color: var(
|
|
295
315
|
--combobox-textbox-disabled-background-color,
|
|
296
316
|
var(--color-background-secondary)
|
|
297
317
|
);
|
|
298
318
|
}
|
|
319
|
+
|
|
299
320
|
.combobox__option--active[role="option"] {
|
|
300
321
|
color: var(
|
|
301
322
|
--combobox-listbox-option-hover-foreground-color,
|
|
@@ -303,6 +324,7 @@ span.combobox {
|
|
|
303
324
|
);
|
|
304
325
|
font-weight: 700;
|
|
305
326
|
}
|
|
327
|
+
|
|
306
328
|
@media (-ms-high-contrast: active), all and (-ms-high-contrast: none) {
|
|
307
329
|
.combobox__value,
|
|
308
330
|
::-ms-backdrop {
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
}
|
|
6
6
|
.confirm-dialog[role="dialog"] {
|
|
7
7
|
align-items: flex-start;
|
|
8
|
+
justify-content: center;
|
|
8
9
|
background-color: var(--dialog-scrim-color-show);
|
|
9
10
|
inset: 0;
|
|
10
|
-
justify-content: center;
|
|
11
11
|
position: fixed;
|
|
12
12
|
will-change: background-color;
|
|
13
13
|
z-index: 100000;
|
|
@@ -15,31 +15,34 @@
|
|
|
15
15
|
.confirm-dialog[role="dialog"]:not([hidden]) {
|
|
16
16
|
display: flex;
|
|
17
17
|
}
|
|
18
|
+
|
|
18
19
|
.confirm-dialog__window {
|
|
19
20
|
background-color: var(
|
|
20
21
|
--dialog-window-background-color,
|
|
21
22
|
var(--color-background-primary)
|
|
22
23
|
);
|
|
23
|
-
border-radius: var(--lightbox-border-radius, var(--border-radius-100));
|
|
24
24
|
display: flex;
|
|
25
25
|
flex: 1 0 auto;
|
|
26
26
|
flex-direction: column;
|
|
27
|
+
min-height: 55px;
|
|
28
|
+
will-change: opacity, transform;
|
|
29
|
+
border-radius: var(--lightbox-border-radius, var(--border-radius-100));
|
|
27
30
|
margin: auto;
|
|
28
|
-
margin-left: var(--spacing-200);
|
|
29
|
-
margin-right: var(--spacing-200);
|
|
30
31
|
max-height: 90%;
|
|
31
32
|
max-width: calc(100% - 32px);
|
|
32
|
-
min-height: 55px;
|
|
33
33
|
min-width: 208px;
|
|
34
|
+
margin-left: var(--spacing-200);
|
|
35
|
+
margin-right: var(--spacing-200);
|
|
34
36
|
padding: var(--spacing-200);
|
|
35
|
-
will-change: opacity, transform;
|
|
36
37
|
}
|
|
38
|
+
|
|
37
39
|
.confirm-dialog__title {
|
|
38
40
|
font-size: var(--font-size-large-1);
|
|
39
41
|
font-weight: var(--font-weight-600);
|
|
40
42
|
line-height: 28px;
|
|
41
43
|
margin: 0;
|
|
42
44
|
}
|
|
45
|
+
|
|
43
46
|
.confirm-dialog__main {
|
|
44
47
|
margin: var(--spacing-200) 0;
|
|
45
48
|
min-height: var(--spacing-200);
|
|
@@ -50,9 +53,11 @@
|
|
|
50
53
|
.confirm-dialog__main > :last-child {
|
|
51
54
|
margin-bottom: 0;
|
|
52
55
|
}
|
|
56
|
+
|
|
53
57
|
.confirm-dialog__footer {
|
|
54
58
|
text-align: right;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
a.confirm-dialog__confirm,
|
|
57
62
|
button.confirm-dialog__confirm {
|
|
58
63
|
margin-left: var(--spacing-100);
|
|
@@ -93,6 +98,7 @@ button.confirm-dialog__confirm {
|
|
|
93
98
|
transition: opacity var(--motion-duration-medium-2)
|
|
94
99
|
var(--motion-easing-continuous) var(--motion-duration-short-3);
|
|
95
100
|
}
|
|
101
|
+
|
|
96
102
|
.confirm-dialog--hide.confirm-dialog--hide,
|
|
97
103
|
.confirm-dialog--hide.confirm-dialog--show-init,
|
|
98
104
|
.confirm-dialog--show-init.confirm-dialog--hide,
|
|
@@ -113,6 +119,7 @@ button.confirm-dialog__confirm {
|
|
|
113
119
|
.confirm-dialog--show-init .confirm-dialog__window--fade {
|
|
114
120
|
opacity: 0;
|
|
115
121
|
}
|
|
122
|
+
|
|
116
123
|
.confirm-dialog--hide-init.confirm-dialog--hide-init,
|
|
117
124
|
.confirm-dialog--hide-init.confirm-dialog--show,
|
|
118
125
|
.confirm-dialog--show.confirm-dialog--hide-init,
|
|
@@ -133,6 +140,7 @@ button.confirm-dialog__confirm {
|
|
|
133
140
|
.confirm-dialog--show .confirm-dialog__window--fade {
|
|
134
141
|
opacity: 1;
|
|
135
142
|
}
|
|
143
|
+
|
|
136
144
|
@media (prefers-reduced-motion) {
|
|
137
145
|
.confirm-dialog--hide.confirm-dialog--mask-fade,
|
|
138
146
|
.confirm-dialog--hide.confirm-dialog--mask-fade-slow {
|
|
@@ -167,10 +175,12 @@ button.confirm-dialog__confirm {
|
|
|
167
175
|
.confirm-dialog--show .confirm-dialog__window--animate {
|
|
168
176
|
transform: scale(1);
|
|
169
177
|
}
|
|
178
|
+
|
|
170
179
|
.confirm-dialog--hide .confirm-dialog__window--animate,
|
|
171
180
|
.confirm-dialog--show-init .confirm-dialog__window--animate {
|
|
172
181
|
transform: scale(0.75);
|
|
173
182
|
}
|
|
183
|
+
|
|
174
184
|
@media (prefers-reduced-motion) {
|
|
175
185
|
.confirm-dialog--hide .confirm-dialog__window--animate,
|
|
176
186
|
.confirm-dialog--hide-init .confirm-dialog__window--animate,
|