@ebay/skin 19.15.0 → 19.16.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 +1 -10
- package/dist/alert-dialog/alert-dialog.css +1 -11
- package/dist/avatar/avatar.css +1 -19
- package/dist/badge/badge.css +1 -1
- package/dist/breadcrumbs/breadcrumbs.css +1 -14
- package/dist/bundles/skin-default.css +1199 -2123
- package/dist/bundles/skin-full.css +1307 -2221
- package/dist/bundles/skin-headless.css +741 -1874
- package/dist/button/button.css +70 -107
- package/dist/calendar/calendar.css +42 -39
- package/dist/card/card.css +3 -3
- package/dist/carousel/carousel.css +31 -28
- package/dist/ccd/ccd.css +2 -5
- package/dist/checkbox/checkbox.css +0 -14
- package/dist/chip/chip.css +1 -5
- package/dist/chips-combobox/chips-combobox.css +4 -21
- package/dist/combobox/combobox.css +49 -35
- package/dist/confirm-dialog/confirm-dialog.css +1 -11
- package/dist/cta-button/cta-button.css +2 -12
- package/dist/date-textbox/date-textbox.css +0 -4
- package/dist/details/details.css +34 -17
- package/dist/donut-chart/donut-chart.css +2 -10
- package/dist/drawer-dialog/drawer-dialog.css +1 -11
- package/dist/education-notice/education-notice.css +4 -16
- package/dist/eek/eek.css +2 -28
- package/dist/field/field.css +2 -25
- package/dist/file-input/file-input.css +4 -14
- package/dist/file-preview-card/file-preview-card.css +46 -43
- package/dist/file-preview-card-group/file-preview-card-group.css +0 -3
- package/dist/filter-button/filter-button.css +39 -53
- package/dist/filter-chip/filter-chip.css +41 -18
- package/dist/filter-menu/filter-menu.css +108 -82
- package/dist/filter-menu-button/filter-menu-button.css +107 -89
- package/dist/flag/flag.css +0 -253
- package/dist/floating-label/floating-label.css +4 -20
- package/dist/fullscreen-dialog/fullscreen-dialog.css +0 -10
- package/dist/global/global.css +2 -6
- package/dist/icon/icon.css +2 -2
- package/dist/icon-button/icon-button.css +71 -89
- package/dist/infotip/infotip.css +0 -24
- package/dist/inline-notice/inline-notice.css +0 -5
- package/dist/item-tile/item-tile.css +1 -0
- package/dist/layout-grid/layout-grid.css +0 -7
- package/dist/lightbox-dialog/lightbox-dialog.css +2 -24
- package/dist/link/link.css +0 -2
- package/dist/list/list.css +34 -32
- package/dist/listbox/listbox.css +45 -16
- package/dist/listbox-button/listbox-button.css +50 -35
- package/dist/menu/menu.css +70 -10
- package/dist/menu-button/menu-button.css +90 -39
- package/dist/mixins/_title.scss +1 -1
- package/dist/mixins/_typography.scss +9 -9
- package/dist/mixins/_utility.scss +1 -1
- package/dist/mixins/typography-mixins.less +10 -10
- package/dist/number-input/number-input.css +0 -16
- package/dist/page-grid/page-grid.css +0 -1
- package/dist/page-notice/page-notice.css +12 -33
- package/dist/pagination/pagination.css +39 -22
- package/dist/panel-dialog/panel-dialog.css +0 -14
- package/dist/phone-input/phone-input.css +5 -25
- package/dist/progress-bar/progress-bar.css +1 -6
- package/dist/progress-bar-expressive/progress-bar-expressive.css +4 -28
- package/dist/progress-spinner/progress-spinner.css +0 -2
- package/dist/progress-stepper/progress-stepper.css +7 -47
- package/dist/radio/radio.css +0 -14
- package/dist/section-notice/section-notice.css +5 -21
- package/dist/section-title/section-title.css +4 -16
- package/dist/segmented-buttons/segmented-buttons.css +37 -17
- package/dist/select/select.css +5 -17
- package/dist/selection-chip/selection-chip.css +30 -14
- package/dist/signal/signal.css +1 -1
- package/dist/skeleton/skeleton.css +3 -26
- package/dist/snackbar-dialog/snackbar-dialog.css +0 -11
- package/dist/star-rating/star-rating.css +0 -2
- package/dist/star-rating-select/star-rating-select.css +0 -7
- package/dist/svg/icon/icon-stepper-confirmation-24.svg +1 -1
- package/dist/svg/icon/icon-stepper-current-24.svg +1 -1
- package/dist/svg/icon/icon-stepper-upcoming-24.svg +1 -1
- package/dist/svg/icons.svg +3 -3
- package/dist/switch/switch.css +34 -19
- package/dist/table/table.css +4 -51
- package/dist/tabs/tabs.css +6 -1
- package/dist/textbox/textbox.css +18 -10
- package/dist/toast-dialog/toast-dialog.css +80 -49
- package/dist/toggle-button/toggle-button.css +7 -39
- package/dist/toggle-button-group/toggle-button-group.css +0 -16
- package/dist/tokens/evo-core.css +351 -165
- package/dist/tokens/evo-dark-class.css +127 -0
- package/dist/tokens/evo-dark.css +155 -100
- package/dist/tokens/evo-light-class.css +125 -0
- package/dist/tokens/evo-light.css +156 -97
- package/dist/tokens/evo-live-dark-class.css +125 -0
- package/dist/tokens/evo-live-dark.css +125 -0
- package/dist/tokens/evo-live-light-class.css +127 -0
- package/dist/tokens/evo-live-light.css +127 -0
- package/dist/tooltip/tooltip.css +0 -23
- package/dist/tourtip/tourtip.css +0 -27
- package/dist/typography/typography.css +8 -28
- package/dist/utility/utility.css +1 -8
- package/dist/video/video.css +0 -15
- package/evo-class.css +2 -0
- package/evo-class.js +2 -0
- package/evo-class.mjs +2 -0
- package/evo-live-class.css +2 -0
- package/evo-live-class.js +2 -0
- package/evo-live-class.mjs +2 -0
- package/evo-live.css +2 -0
- package/evo-live.js +2 -0
- package/evo-live.mjs +2 -0
- package/package.json +3 -5
- package/tokens/evo-dark-class.browser.json +1 -0
- package/tokens/evo-dark-class.css +1 -0
- package/tokens/evo-dark-class.js +1 -0
- package/tokens/evo-dark-class.mjs +1 -0
- package/tokens/evo-light-class.browser.json +1 -0
- package/tokens/evo-light-class.css +1 -0
- package/tokens/evo-light-class.js +1 -0
- package/tokens/evo-light-class.mjs +1 -0
- package/tokens/evo-live-dark-class.browser.json +1 -0
- package/tokens/evo-live-dark-class.css +1 -0
- package/tokens/evo-live-dark-class.js +1 -0
- package/tokens/evo-live-dark-class.mjs +1 -0
- package/tokens/evo-live-dark.browser.json +1 -0
- package/tokens/evo-live-dark.css +1 -0
- package/tokens/evo-live-dark.js +1 -0
- package/tokens/evo-live-dark.mjs +1 -0
- package/tokens/evo-live-light-class.browser.json +1 -0
- package/tokens/evo-live-light-class.css +1 -0
- package/tokens/evo-live-light-class.js +1 -0
- package/tokens/evo-live-light-class.mjs +1 -0
- package/tokens/evo-live-light.browser.json +1 -0
- package/tokens/evo-live-light.css +1 -0
- package/tokens/evo-live-light.js +1 -0
- package/tokens/evo-live-light.mjs +1 -0
|
@@ -12,23 +12,18 @@
|
|
|
12
12
|
--layout-grid-columns-xl4: 14;
|
|
13
13
|
container: layout-grid-container/inline-size;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
15
|
.layout-grid[data-columns-min="1"] > ul {
|
|
17
16
|
grid-template-columns: repeat(1, 1fr);
|
|
18
17
|
}
|
|
19
|
-
|
|
20
18
|
.layout-grid[data-columns-min="2"] > ul {
|
|
21
19
|
grid-template-columns: repeat(2, 1fr);
|
|
22
20
|
}
|
|
23
|
-
|
|
24
21
|
.layout-grid[data-columns-min="3"] > ul {
|
|
25
22
|
grid-template-columns: repeat(3, 1fr);
|
|
26
23
|
}
|
|
27
|
-
|
|
28
24
|
.layout-grid[data-columns-min="4"] > ul {
|
|
29
25
|
grid-template-columns: repeat(4, 1fr);
|
|
30
26
|
}
|
|
31
|
-
|
|
32
27
|
@container layout-grid-container (inline-size < 320px) {
|
|
33
28
|
.layout-grid[data-columns-min="1"] > ul {
|
|
34
29
|
grid-template-columns: repeat(1, 1fr);
|
|
@@ -52,13 +47,11 @@
|
|
|
52
47
|
padding: 0;
|
|
53
48
|
width: 100%;
|
|
54
49
|
}
|
|
55
|
-
|
|
56
50
|
.layout-grid > ul > li {
|
|
57
51
|
display: inline-block;
|
|
58
52
|
min-height: var(--layout-grid-cell-height-min);
|
|
59
53
|
width: 100%;
|
|
60
54
|
}
|
|
61
|
-
|
|
62
55
|
.layout-grid > ul > li::marker {
|
|
63
56
|
content: "";
|
|
64
57
|
font-size: 0;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
--dialog-lightbox-wide-max-width: 896px;
|
|
6
6
|
--dialog-lightbox-narrow-max-width: 480px;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
8
|
.lightbox-dialog[role="dialog"] {
|
|
10
9
|
align-items: flex-start;
|
|
11
10
|
background-color: var(--dialog-scrim-color-show);
|
|
@@ -22,7 +21,6 @@
|
|
|
22
21
|
.lightbox-dialog[role="dialog"]:not([hidden]) {
|
|
23
22
|
display: flex;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
24
|
.lightbox-dialog__window {
|
|
27
25
|
background-color: var(
|
|
28
26
|
--dialog-window-background-color,
|
|
@@ -39,7 +37,6 @@
|
|
|
39
37
|
min-width: 208px;
|
|
40
38
|
will-change: opacity, transform;
|
|
41
39
|
}
|
|
42
|
-
|
|
43
40
|
.lightbox-dialog__header {
|
|
44
41
|
display: flex;
|
|
45
42
|
flex-shrink: 0;
|
|
@@ -60,7 +57,6 @@
|
|
|
60
57
|
.lightbox-dialog__header > :last-child:not(:only-child) {
|
|
61
58
|
margin-inline-start: var(--spacing-200);
|
|
62
59
|
}
|
|
63
|
-
|
|
64
60
|
.lightbox-dialog__main {
|
|
65
61
|
box-sizing: border-box;
|
|
66
62
|
flex: 1 1 auto;
|
|
@@ -75,10 +71,9 @@
|
|
|
75
71
|
.lightbox-dialog__main > :last-child {
|
|
76
72
|
margin-bottom: 0;
|
|
77
73
|
}
|
|
78
|
-
|
|
79
74
|
.lightbox-dialog__footer {
|
|
80
75
|
border-top: 1px solid
|
|
81
|
-
var(--dialog-lightbox-separator-color, var(--color-
|
|
76
|
+
var(--dialog-lightbox-separator-color, var(--color-border-subtle));
|
|
82
77
|
display: flex;
|
|
83
78
|
flex-direction: column;
|
|
84
79
|
justify-content: center;
|
|
@@ -88,7 +83,6 @@
|
|
|
88
83
|
.lightbox-dialog__footer > :not(:first-child) {
|
|
89
84
|
margin-top: var(--spacing-200);
|
|
90
85
|
}
|
|
91
|
-
|
|
92
86
|
.lightbox-dialog__image {
|
|
93
87
|
background-position: 50%;
|
|
94
88
|
background-repeat: no-repeat;
|
|
@@ -98,19 +92,15 @@
|
|
|
98
92
|
position: absolute;
|
|
99
93
|
width: 100%;
|
|
100
94
|
}
|
|
101
|
-
|
|
102
95
|
.lightbox-dialog--expressive .lightbox-dialog__window {
|
|
103
96
|
padding-bottom: var(--spacing-100);
|
|
104
97
|
}
|
|
105
|
-
|
|
106
98
|
.lightbox-dialog--expressive .lightbox-dialog__header > * {
|
|
107
99
|
margin-top: 218px;
|
|
108
100
|
}
|
|
109
|
-
|
|
110
101
|
.lightbox-dialog--expressive .lightbox-dialog__header {
|
|
111
102
|
margin: var(--spacing-300) var(--spacing-300) 0;
|
|
112
103
|
}
|
|
113
|
-
|
|
114
104
|
.lightbox-dialog--expressive .lightbox-dialog__footer,
|
|
115
105
|
.lightbox-dialog--expressive .lightbox-dialog__main {
|
|
116
106
|
padding: var(--spacing-200) var(--spacing-300);
|
|
@@ -125,25 +115,20 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
125
115
|
width: 32px;
|
|
126
116
|
z-index: 1;
|
|
127
117
|
}
|
|
128
|
-
|
|
129
118
|
button.icon-btn.lightbox-dialog__prev {
|
|
130
119
|
margin-inline-end: var(--spacing-200);
|
|
131
120
|
}
|
|
132
|
-
|
|
133
121
|
.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__close,
|
|
134
122
|
.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev {
|
|
135
123
|
align-self: self-start;
|
|
136
124
|
margin: 0;
|
|
137
125
|
}
|
|
138
|
-
|
|
139
126
|
.lightbox-dialog--expressive button.icon-btn.lightbox-dialog__prev + * {
|
|
140
127
|
margin-left: -32px;
|
|
141
128
|
}
|
|
142
|
-
|
|
143
129
|
.lightbox-dialog__title:not(:first-child) {
|
|
144
130
|
margin-left: var(--spacing-200);
|
|
145
131
|
}
|
|
146
|
-
|
|
147
132
|
.lightbox-dialog__title--center {
|
|
148
133
|
text-align: center;
|
|
149
134
|
}
|
|
@@ -183,7 +168,6 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
183
168
|
transition: opacity var(--motion-duration-medium-2)
|
|
184
169
|
var(--motion-easing-continuous) var(--motion-duration-short-3);
|
|
185
170
|
}
|
|
186
|
-
|
|
187
171
|
.lightbox-dialog--hide.lightbox-dialog--hide,
|
|
188
172
|
.lightbox-dialog--hide.lightbox-dialog--show-init,
|
|
189
173
|
.lightbox-dialog--show-init.lightbox-dialog--hide,
|
|
@@ -204,7 +188,6 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
204
188
|
.lightbox-dialog--show-init .lightbox-dialog__window--fade {
|
|
205
189
|
opacity: 0;
|
|
206
190
|
}
|
|
207
|
-
|
|
208
191
|
.lightbox-dialog--hide-init.lightbox-dialog--hide-init,
|
|
209
192
|
.lightbox-dialog--hide-init.lightbox-dialog--show,
|
|
210
193
|
.lightbox-dialog--show.lightbox-dialog--hide-init,
|
|
@@ -225,7 +208,6 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
225
208
|
.lightbox-dialog--show .lightbox-dialog__window--fade {
|
|
226
209
|
opacity: 1;
|
|
227
210
|
}
|
|
228
|
-
|
|
229
211
|
@media (prefers-reduced-motion) {
|
|
230
212
|
.lightbox-dialog--hide.lightbox-dialog--mask-fade,
|
|
231
213
|
.lightbox-dialog--hide.lightbox-dialog--mask-fade-slow {
|
|
@@ -260,24 +242,21 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
260
242
|
.lightbox-dialog--show .lightbox-dialog__window--animate {
|
|
261
243
|
transform: translateY(0);
|
|
262
244
|
}
|
|
263
|
-
|
|
264
245
|
.lightbox-dialog--hide .lightbox-dialog__window--animate,
|
|
265
246
|
.lightbox-dialog--show-init .lightbox-dialog__window--animate {
|
|
266
247
|
transform: translateY(100%);
|
|
267
248
|
}
|
|
268
249
|
.lightbox-dialog__handle:after {
|
|
269
|
-
background-color: var(--dialog-handle-color, var(--color-
|
|
250
|
+
background-color: var(--dialog-handle-color, var(--color-border-medium));
|
|
270
251
|
border-radius: 3px;
|
|
271
252
|
content: "";
|
|
272
253
|
display: block;
|
|
273
254
|
height: 2px;
|
|
274
255
|
width: 24px;
|
|
275
256
|
}
|
|
276
|
-
|
|
277
257
|
[dir="rtl"] button.icon-btn.lightbox-dialog__prev .icon--16 {
|
|
278
258
|
transform: rotate(180deg);
|
|
279
259
|
}
|
|
280
|
-
|
|
281
260
|
.lightbox-dialog--fullscreen .lightbox-dialog__window,
|
|
282
261
|
.lightbox-dialog--large .lightbox-dialog__window {
|
|
283
262
|
align-self: center;
|
|
@@ -285,7 +264,6 @@ button.icon-btn.lightbox-dialog__prev {
|
|
|
285
264
|
margin: var(--spacing-100);
|
|
286
265
|
max-height: 95%;
|
|
287
266
|
}
|
|
288
|
-
|
|
289
267
|
@media (max-width: 512px) {
|
|
290
268
|
.lightbox-dialog--large .lightbox-dialog__window {
|
|
291
269
|
height: 95%;
|
package/dist/link/link.css
CHANGED
|
@@ -31,7 +31,6 @@ a.standalone-link[aria-disabled="true"] {
|
|
|
31
31
|
);
|
|
32
32
|
text-decoration: none;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
34
|
button.fake-link {
|
|
36
35
|
background-color: initial;
|
|
37
36
|
border: 0;
|
|
@@ -57,7 +56,6 @@ button.fake-link[disabled] {
|
|
|
57
56
|
var(--color-foreground-disabled)
|
|
58
57
|
);
|
|
59
58
|
}
|
|
60
|
-
|
|
61
59
|
a.legal-link,
|
|
62
60
|
button.legal-link {
|
|
63
61
|
text-decoration: underline;
|
package/dist/list/list.css
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
3
|
+
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
4
|
+
}
|
|
1
5
|
.list {
|
|
2
6
|
max-width: 480px;
|
|
3
7
|
}
|
|
4
|
-
|
|
5
8
|
.list ol,
|
|
6
9
|
.list ul {
|
|
7
10
|
margin: 0;
|
|
8
11
|
padding: 0;
|
|
9
12
|
}
|
|
10
|
-
|
|
11
13
|
.list li::marker {
|
|
12
14
|
content: "";
|
|
13
15
|
font-size: 0;
|
|
14
16
|
}
|
|
15
|
-
|
|
16
17
|
.list fieldset > *,
|
|
17
18
|
.list li > * {
|
|
18
19
|
align-items: center;
|
|
@@ -21,71 +22,72 @@
|
|
|
21
22
|
var(--color-background-primary)
|
|
22
23
|
);
|
|
23
24
|
box-sizing: border-box;
|
|
24
|
-
color: var(--color-foreground-
|
|
25
|
+
color: var(--color-foreground-primary);
|
|
25
26
|
display: inline-flex;
|
|
26
|
-
font-size: var(--font-size-
|
|
27
|
+
font-size: var(--font-size-medium);
|
|
27
28
|
margin-block: 1px;
|
|
28
29
|
min-height: var(--spacing-600);
|
|
29
30
|
padding: var(--spacing-150) var(--spacing-200);
|
|
30
31
|
width: 100%;
|
|
31
32
|
}
|
|
32
|
-
|
|
33
33
|
.list__leading {
|
|
34
34
|
margin-inline-end: var(--spacing-200);
|
|
35
35
|
}
|
|
36
|
-
|
|
37
36
|
.list__trailing {
|
|
38
37
|
margin-inline-start: var(--spacing-200);
|
|
39
38
|
}
|
|
40
|
-
|
|
41
39
|
.list__body {
|
|
42
40
|
flex: 1;
|
|
43
41
|
}
|
|
44
|
-
|
|
45
42
|
.list ol li {
|
|
46
43
|
counter-increment: item;
|
|
47
44
|
}
|
|
48
|
-
|
|
49
45
|
.list ol li > :before {
|
|
50
46
|
content: counter(item) ".";
|
|
51
47
|
margin-inline-end: var(--spacing-200);
|
|
52
48
|
width: var(--spacing-300);
|
|
53
49
|
}
|
|
54
|
-
|
|
55
50
|
.list li > a,
|
|
56
51
|
.list li > button {
|
|
57
52
|
border: none;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
position: relative;
|
|
58
55
|
text-align: left;
|
|
59
56
|
text-decoration: none;
|
|
60
57
|
}
|
|
61
|
-
|
|
62
|
-
.list li >
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
.list li > a:
|
|
70
|
-
.list li > a:
|
|
71
|
-
.list li >
|
|
72
|
-
.list li > button:
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
58
|
+
.list li > a:after,
|
|
59
|
+
.list li > button:after {
|
|
60
|
+
background-color: var(--color-state-layer-neutral);
|
|
61
|
+
content: "";
|
|
62
|
+
inset: 0;
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
position: absolute;
|
|
65
|
+
}
|
|
66
|
+
.list li > a:not([disabled], [aria-disabled="true"]):hover:after,
|
|
67
|
+
.list li > a[href]:hover:after,
|
|
68
|
+
.list li > button:not([disabled], [aria-disabled="true"]):hover:after,
|
|
69
|
+
.list li > button[href]:hover:after {
|
|
70
|
+
background-color: var(--color-state-layer-hover);
|
|
71
|
+
}
|
|
72
|
+
.list li > a:not([disabled], [aria-disabled="true"]):focus-visible:after,
|
|
73
|
+
.list li > a[href]:focus-visible:after,
|
|
74
|
+
.list li > button:not([disabled], [aria-disabled="true"]):focus-visible:after,
|
|
75
|
+
.list li > button[href]:focus-visible:after {
|
|
76
|
+
background-color: var(--color-state-layer-focus);
|
|
77
|
+
}
|
|
78
|
+
.list li > a:not([disabled], [aria-disabled="true"]):active:after,
|
|
79
|
+
.list li > a[href]:active:after,
|
|
80
|
+
.list li > button:not([disabled], [aria-disabled="true"]):active:after,
|
|
81
|
+
.list li > button[href]:active:after {
|
|
82
|
+
background-color: var(--color-state-layer-pressed);
|
|
79
83
|
}
|
|
80
|
-
|
|
81
84
|
.list hr {
|
|
82
85
|
border: 0;
|
|
83
|
-
border-top: 1px solid var(--color-
|
|
86
|
+
border-top: 1px solid var(--color-border-subtle);
|
|
84
87
|
height: 1px;
|
|
85
88
|
margin-inline: var(--spacing-200);
|
|
86
89
|
padding: 0;
|
|
87
90
|
}
|
|
88
|
-
|
|
89
91
|
[dir="rtl"] .list li > a,
|
|
90
92
|
[dir="rtl"] .list li > button {
|
|
91
93
|
text-align: right;
|
package/dist/listbox/listbox.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--bubble-shadow: 0 2px 7px rgb(0 0 0 / 0.15), 0 5px 17px rgb(0 0 0 / 0.2);
|
|
3
|
+
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
4
|
+
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
3
5
|
}
|
|
4
6
|
div.listbox {
|
|
5
7
|
margin: var(--spacing-200) 0;
|
|
6
8
|
}
|
|
7
|
-
|
|
8
9
|
span.listbox {
|
|
9
10
|
display: inline-block;
|
|
10
11
|
vertical-align: bottom;
|
|
11
12
|
}
|
|
12
|
-
|
|
13
13
|
div.listbox__options[role="listbox"] {
|
|
14
14
|
background-color: var(
|
|
15
15
|
--listbox-background-color,
|
|
@@ -17,19 +17,15 @@ div.listbox__options[role="listbox"] {
|
|
|
17
17
|
);
|
|
18
18
|
cursor: default;
|
|
19
19
|
}
|
|
20
|
-
|
|
21
20
|
span.listbox__options[role="listbox"] {
|
|
22
21
|
display: inline-block;
|
|
23
22
|
}
|
|
24
|
-
|
|
25
23
|
div.listbox__options--fix-width[role="listbox"] {
|
|
26
24
|
width: 100%;
|
|
27
25
|
}
|
|
28
|
-
|
|
29
26
|
div.listbox__options--reverse[role="listbox"] {
|
|
30
27
|
right: 0;
|
|
31
28
|
}
|
|
32
|
-
|
|
33
29
|
.listbox__description {
|
|
34
30
|
color: var(
|
|
35
31
|
--listbox-button-subtitle-color,
|
|
@@ -40,7 +36,6 @@ div.listbox__options--reverse[role="listbox"] {
|
|
|
40
36
|
grid-column: 1 2;
|
|
41
37
|
grid-row: 2;
|
|
42
38
|
}
|
|
43
|
-
|
|
44
39
|
div.listbox__option[role="option"] {
|
|
45
40
|
background-color: initial;
|
|
46
41
|
border-color: var(--color-background-primary);
|
|
@@ -61,13 +56,41 @@ div.listbox__option[role="option"]:not(:last-child) {
|
|
|
61
56
|
div.listbox__option[role="option"]:focus {
|
|
62
57
|
outline-offset: -4px;
|
|
63
58
|
}
|
|
59
|
+
div.listbox__option[role="option"] {
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
position: relative;
|
|
62
|
+
}
|
|
63
|
+
div.listbox__option[role="option"]:after {
|
|
64
|
+
background-color: var(--color-state-layer-neutral);
|
|
65
|
+
content: "";
|
|
66
|
+
inset: 0;
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
position: absolute;
|
|
69
|
+
}
|
|
70
|
+
div.listbox__option[role="option"]:not(
|
|
71
|
+
[disabled],
|
|
72
|
+
[aria-disabled="true"]
|
|
73
|
+
):hover:after,
|
|
74
|
+
div.listbox__option[role="option"][href]:hover:after {
|
|
75
|
+
background-color: var(--color-state-layer-hover);
|
|
76
|
+
}
|
|
77
|
+
div.listbox__option[role="option"]:not(
|
|
78
|
+
[disabled],
|
|
79
|
+
[aria-disabled="true"]
|
|
80
|
+
):focus-visible:after,
|
|
81
|
+
div.listbox__option[role="option"][href]:focus-visible:after {
|
|
82
|
+
background-color: var(--color-state-layer-focus);
|
|
83
|
+
}
|
|
84
|
+
div.listbox__option[role="option"]:not(
|
|
85
|
+
[disabled],
|
|
86
|
+
[aria-disabled="true"]
|
|
87
|
+
):active:after,
|
|
88
|
+
div.listbox__option[role="option"][href]:active:after {
|
|
89
|
+
background-color: var(--color-state-layer-pressed);
|
|
90
|
+
}
|
|
64
91
|
div.listbox__option[role="option"][hidden] {
|
|
65
92
|
display: none;
|
|
66
93
|
}
|
|
67
|
-
div.listbox__option[role="option"]:hover {
|
|
68
|
-
background-color: var(--color-state-primary-hover);
|
|
69
|
-
color: var(--color-foreground-primary);
|
|
70
|
-
}
|
|
71
94
|
div.listbox__option[role="option"]:active {
|
|
72
95
|
font-weight: 700;
|
|
73
96
|
}
|
|
@@ -82,12 +105,10 @@ div.listbox__option[role="option"][aria-disabled="true"] .listbox__description {
|
|
|
82
105
|
);
|
|
83
106
|
font-weight: unset;
|
|
84
107
|
}
|
|
85
|
-
|
|
86
108
|
span.listbox__value {
|
|
87
109
|
flex: 1;
|
|
88
110
|
white-space: nowrap;
|
|
89
111
|
}
|
|
90
|
-
|
|
91
112
|
div.listbox__option svg.icon {
|
|
92
113
|
align-self: center;
|
|
93
114
|
fill: currentColor;
|
|
@@ -97,12 +118,20 @@ div.listbox__option svg.icon {
|
|
|
97
118
|
stroke: currentColor;
|
|
98
119
|
stroke-width: 0;
|
|
99
120
|
}
|
|
100
|
-
|
|
101
121
|
div.listbox__options[role="listbox"]:focus
|
|
102
122
|
.listbox__option--active[role="option"] {
|
|
103
|
-
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
position: relative;
|
|
125
|
+
}
|
|
126
|
+
div.listbox__options[role="listbox"]:focus
|
|
127
|
+
.listbox__option--active[role="option"]:after {
|
|
128
|
+
background-color: var(--color-state-layer-neutral);
|
|
129
|
+
background-color: var(--color-state-layer-hover);
|
|
130
|
+
content: "";
|
|
131
|
+
inset: 0;
|
|
132
|
+
pointer-events: none;
|
|
133
|
+
position: absolute;
|
|
104
134
|
}
|
|
105
|
-
|
|
106
135
|
div.listbox__option[aria-selected="true"] svg.icon {
|
|
107
136
|
opacity: 1;
|
|
108
137
|
}
|
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--bubble-shadow: 0 2px 7px rgb(0 0 0 / 0.15), 0 5px 17px rgb(0 0 0 / 0.2);
|
|
3
|
+
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
4
|
+
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
3
5
|
}
|
|
4
6
|
.listbox-button {
|
|
5
7
|
line-height: normal;
|
|
6
8
|
position: relative;
|
|
7
9
|
vertical-align: bottom;
|
|
8
10
|
}
|
|
9
|
-
|
|
10
11
|
span.listbox-button {
|
|
11
12
|
display: inline-block;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
14
|
.listbox-button .btn {
|
|
15
15
|
padding-left: 15px;
|
|
16
16
|
padding-right: 15px;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
18
|
span.listbox-button--fluid,
|
|
20
19
|
span.listbox-button--fluid .btn,
|
|
21
20
|
span.listbox-button--fluid .expand-btn,
|
|
22
21
|
span.listbox-button--fluid div.listbox-button__listbox {
|
|
23
22
|
width: 100%;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
24
|
div.listbox-button__listbox {
|
|
27
25
|
background-color: var(--color-background-elevated);
|
|
28
26
|
border-radius: var(--border-radius-50);
|
|
@@ -49,19 +47,16 @@ div.listbox-button__listbox--fixed {
|
|
|
49
47
|
left: unset;
|
|
50
48
|
right: 0;
|
|
51
49
|
}
|
|
52
|
-
|
|
53
50
|
.listbox-button button.btn[aria-expanded="true"] ~ div.listbox-button__listbox,
|
|
54
51
|
button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
55
52
|
display: block;
|
|
56
53
|
}
|
|
57
|
-
|
|
58
54
|
.listbox-button button[aria-invalid="true"] {
|
|
59
55
|
border-color: var(
|
|
60
56
|
--listbox-button-invalid-border-color,
|
|
61
|
-
var(--color-
|
|
57
|
+
var(--color-border-attention)
|
|
62
58
|
);
|
|
63
59
|
}
|
|
64
|
-
|
|
65
60
|
.listbox-button:not(.listbox-button--error)
|
|
66
61
|
button:not(
|
|
67
62
|
[disabled],
|
|
@@ -70,7 +65,7 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
70
65
|
).btn--form {
|
|
71
66
|
border-color: var(
|
|
72
67
|
--listbox-button-border-color,
|
|
73
|
-
var(--color-
|
|
68
|
+
var(--color-border-medium)
|
|
74
69
|
);
|
|
75
70
|
}
|
|
76
71
|
.listbox-button:not(.listbox-button--error)
|
|
@@ -93,7 +88,6 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
93
88
|
).btn--form:hover {
|
|
94
89
|
border-color: inherit;
|
|
95
90
|
}
|
|
96
|
-
|
|
97
91
|
.listbox-button button.btn--borderless,
|
|
98
92
|
.listbox-button button.expand-btn--borderless {
|
|
99
93
|
background-color: initial;
|
|
@@ -114,7 +108,6 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
114
108
|
~ .listbox-button__listbox {
|
|
115
109
|
top: 41px;
|
|
116
110
|
}
|
|
117
|
-
|
|
118
111
|
.listbox-button.listbox-button--form button {
|
|
119
112
|
background-color: var(
|
|
120
113
|
--listbox-button-background-color,
|
|
@@ -122,14 +115,13 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
122
115
|
);
|
|
123
116
|
border-color: var(
|
|
124
117
|
--listbox-button-border-color,
|
|
125
|
-
var(--color-
|
|
118
|
+
var(--color-border-medium)
|
|
126
119
|
);
|
|
127
120
|
color: var(
|
|
128
121
|
--listbox-button-foreground-color,
|
|
129
122
|
var(--color-foreground-primary)
|
|
130
123
|
);
|
|
131
124
|
}
|
|
132
|
-
|
|
133
125
|
.listbox-button.listbox-button--form button[aria-disabled="true"],
|
|
134
126
|
.listbox-button.listbox-button--form button[disabled] {
|
|
135
127
|
border-color: var(
|
|
@@ -141,21 +133,18 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
141
133
|
var(--color-foreground-disabled)
|
|
142
134
|
);
|
|
143
135
|
}
|
|
144
|
-
|
|
145
136
|
.listbox-button.listbox-button--form button:focus {
|
|
146
137
|
background-color: var(
|
|
147
138
|
--combobox-textbox-focus-background-color,
|
|
148
139
|
var(--color-background-primary)
|
|
149
140
|
);
|
|
150
141
|
}
|
|
151
|
-
|
|
152
142
|
.listbox-button.listbox-button--form button[aria-invalid="true"] {
|
|
153
143
|
border-color: var(
|
|
154
144
|
--listbox-button-invalid-border-color,
|
|
155
|
-
var(--color-
|
|
145
|
+
var(--color-border-attention)
|
|
156
146
|
);
|
|
157
147
|
}
|
|
158
|
-
|
|
159
148
|
.listbox-button.listbox-button--error button:not(.btn--borderless) {
|
|
160
149
|
background-color: var(
|
|
161
150
|
--listbox-button-background-color,
|
|
@@ -163,38 +152,41 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
163
152
|
);
|
|
164
153
|
border-color: var(
|
|
165
154
|
--listbox-button-border-color,
|
|
166
|
-
var(--color-
|
|
155
|
+
var(--color-border-attention)
|
|
167
156
|
);
|
|
168
157
|
}
|
|
169
|
-
|
|
170
158
|
.listbox-button .btn__label {
|
|
171
159
|
color: var(--listbox-button-label-color, var(--color-foreground-secondary));
|
|
172
160
|
margin-right: 3px;
|
|
173
161
|
}
|
|
174
|
-
|
|
175
162
|
.listbox-button--expanded .btn__label {
|
|
176
163
|
color: var(--listbox-button-label-color, var(--color-foreground-primary));
|
|
177
164
|
}
|
|
178
|
-
|
|
179
165
|
.listbox-button.listbox-button--error button .btn__floating-label,
|
|
180
166
|
.listbox-button.listbox-button--error button .btn__label {
|
|
181
167
|
color: var(--listbox-button-label-color, var(--color-foreground-attention));
|
|
182
168
|
}
|
|
183
|
-
|
|
184
169
|
.listbox-button .btn__text {
|
|
185
170
|
font-weight: 700;
|
|
186
171
|
margin-right: auto;
|
|
187
172
|
}
|
|
188
|
-
|
|
189
173
|
.listbox-button__options {
|
|
190
174
|
border-radius: var(--listbox-button-border-radius, var(--border-radius-50));
|
|
191
175
|
}
|
|
192
|
-
|
|
193
176
|
.listbox-button__options[role="listbox"]:focus
|
|
194
177
|
.listbox-button__option--active[role="option"] {
|
|
195
|
-
|
|
178
|
+
overflow: hidden;
|
|
179
|
+
position: relative;
|
|
180
|
+
}
|
|
181
|
+
.listbox-button__options[role="listbox"]:focus
|
|
182
|
+
.listbox-button__option--active[role="option"]:after {
|
|
183
|
+
background-color: var(--color-state-layer-neutral);
|
|
184
|
+
background-color: var(--color-state-layer-hover);
|
|
185
|
+
content: "";
|
|
186
|
+
inset: 0;
|
|
187
|
+
pointer-events: none;
|
|
188
|
+
position: absolute;
|
|
196
189
|
}
|
|
197
|
-
|
|
198
190
|
.listbox-button__option svg.icon {
|
|
199
191
|
align-self: center;
|
|
200
192
|
fill: currentColor;
|
|
@@ -204,11 +196,9 @@ button.expand-btn[aria-expanded="true"] ~ div.listbox-button__listbox {
|
|
|
204
196
|
stroke: currentColor;
|
|
205
197
|
stroke-width: 0;
|
|
206
198
|
}
|
|
207
|
-
|
|
208
199
|
div.listbox-button__option[role="option"][aria-selected="true"] svg.icon {
|
|
209
200
|
opacity: 1;
|
|
210
201
|
}
|
|
211
|
-
|
|
212
202
|
.listbox-button__description {
|
|
213
203
|
color: var(
|
|
214
204
|
--listbox-button-subtitle-color,
|
|
@@ -219,7 +209,6 @@ div.listbox-button__option[role="option"][aria-selected="true"] svg.icon {
|
|
|
219
209
|
grid-column: 1 2;
|
|
220
210
|
grid-row: 2;
|
|
221
211
|
}
|
|
222
|
-
|
|
223
212
|
div.listbox-button__option[role="option"] {
|
|
224
213
|
background-color: initial;
|
|
225
214
|
border-color: var(--color-background-primary);
|
|
@@ -241,13 +230,41 @@ div.listbox-button__option[role="option"]:not(:last-child) {
|
|
|
241
230
|
div.listbox-button__option[role="option"]:focus {
|
|
242
231
|
outline-offset: -4px;
|
|
243
232
|
}
|
|
233
|
+
div.listbox-button__option[role="option"] {
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
position: relative;
|
|
236
|
+
}
|
|
237
|
+
div.listbox-button__option[role="option"]:after {
|
|
238
|
+
background-color: var(--color-state-layer-neutral);
|
|
239
|
+
content: "";
|
|
240
|
+
inset: 0;
|
|
241
|
+
pointer-events: none;
|
|
242
|
+
position: absolute;
|
|
243
|
+
}
|
|
244
|
+
div.listbox-button__option[role="option"]:not(
|
|
245
|
+
[disabled],
|
|
246
|
+
[aria-disabled="true"]
|
|
247
|
+
):hover:after,
|
|
248
|
+
div.listbox-button__option[role="option"][href]:hover:after {
|
|
249
|
+
background-color: var(--color-state-layer-hover);
|
|
250
|
+
}
|
|
251
|
+
div.listbox-button__option[role="option"]:not(
|
|
252
|
+
[disabled],
|
|
253
|
+
[aria-disabled="true"]
|
|
254
|
+
):focus-visible:after,
|
|
255
|
+
div.listbox-button__option[role="option"][href]:focus-visible:after {
|
|
256
|
+
background-color: var(--color-state-layer-focus);
|
|
257
|
+
}
|
|
258
|
+
div.listbox-button__option[role="option"]:not(
|
|
259
|
+
[disabled],
|
|
260
|
+
[aria-disabled="true"]
|
|
261
|
+
):active:after,
|
|
262
|
+
div.listbox-button__option[role="option"][href]:active:after {
|
|
263
|
+
background-color: var(--color-state-layer-pressed);
|
|
264
|
+
}
|
|
244
265
|
div.listbox-button__option[role="option"][hidden] {
|
|
245
266
|
display: none;
|
|
246
267
|
}
|
|
247
|
-
div.listbox-button__option[role="option"]:hover {
|
|
248
|
-
background-color: var(--color-state-primary-hover);
|
|
249
|
-
color: var(--color-foreground-primary);
|
|
250
|
-
}
|
|
251
268
|
div.listbox-button__option[role="option"]:active {
|
|
252
269
|
font-weight: 700;
|
|
253
270
|
}
|
|
@@ -290,11 +307,9 @@ div.listbox-button__option[role="option"][aria-disabled="true"]
|
|
|
290
307
|
);
|
|
291
308
|
font-weight: unset;
|
|
292
309
|
}
|
|
293
|
-
|
|
294
310
|
div.listbox-button__option--active[role="option"] {
|
|
295
311
|
font-weight: 700;
|
|
296
312
|
}
|
|
297
|
-
|
|
298
313
|
span.listbox-button__value {
|
|
299
314
|
flex: 1 0 auto;
|
|
300
315
|
white-space: nowrap;
|