@ebay/skin 19.34.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 +30 -3
- 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-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 +5 -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 +1 -1
package/dist/table/table.css
CHANGED
|
@@ -5,16 +5,20 @@
|
|
|
5
5
|
scroll-snap-type: proximity;
|
|
6
6
|
scroll-snap-type: x proximity;
|
|
7
7
|
}
|
|
8
|
+
|
|
8
9
|
.table::-webkit-scrollbar {
|
|
9
10
|
background-color: var(--color-state-layer-focus);
|
|
10
11
|
border-radius: 12px;
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
.table::-webkit-scrollbar:vertical {
|
|
13
15
|
width: 6px;
|
|
14
16
|
}
|
|
17
|
+
|
|
15
18
|
.table::-webkit-scrollbar:horizontal {
|
|
16
19
|
height: 6px;
|
|
17
20
|
}
|
|
21
|
+
|
|
18
22
|
.table::-webkit-scrollbar-thumb {
|
|
19
23
|
background-color: var(--color-foreground-secondary);
|
|
20
24
|
border-color: transparent;
|
|
@@ -22,11 +26,13 @@
|
|
|
22
26
|
border-right-style: inset;
|
|
23
27
|
box-shadow: none;
|
|
24
28
|
}
|
|
29
|
+
|
|
25
30
|
.table table {
|
|
26
31
|
border-collapse: initial;
|
|
27
32
|
border-spacing: 0;
|
|
28
33
|
width: 100%;
|
|
29
34
|
}
|
|
35
|
+
|
|
30
36
|
.table td,
|
|
31
37
|
.table th {
|
|
32
38
|
background-color: var(--color-background-primary);
|
|
@@ -38,29 +44,35 @@
|
|
|
38
44
|
min-width: 124px;
|
|
39
45
|
padding: 12px;
|
|
40
46
|
}
|
|
47
|
+
|
|
41
48
|
.table th {
|
|
42
49
|
white-space: nowrap;
|
|
43
50
|
}
|
|
51
|
+
|
|
44
52
|
.table--density-compact td,
|
|
45
53
|
.table--density-compact th {
|
|
46
54
|
height: 64px;
|
|
47
55
|
max-height: 64px;
|
|
48
56
|
padding: 12px;
|
|
49
57
|
}
|
|
58
|
+
|
|
50
59
|
.table--density-relaxed td,
|
|
51
60
|
.table--density-relaxed th {
|
|
52
61
|
height: 112px;
|
|
53
62
|
max-height: 112px;
|
|
54
63
|
padding: 16px;
|
|
55
64
|
}
|
|
65
|
+
|
|
56
66
|
.table--frozen-header {
|
|
57
67
|
max-height: 90vh;
|
|
58
68
|
}
|
|
69
|
+
|
|
59
70
|
.table--frozen-header thead {
|
|
60
71
|
position: sticky;
|
|
61
72
|
top: 0;
|
|
62
73
|
z-index: 3;
|
|
63
74
|
}
|
|
75
|
+
|
|
64
76
|
.table--freeze-column-1 tr td:nth-child(-n + 1),
|
|
65
77
|
.table--freeze-column-1 tr th:nth-child(-n + 1),
|
|
66
78
|
.table--freeze-column-2 tr td:nth-child(-n + 2),
|
|
@@ -71,12 +83,15 @@
|
|
|
71
83
|
max-width: 124px;
|
|
72
84
|
position: sticky;
|
|
73
85
|
}
|
|
86
|
+
|
|
74
87
|
.table--full-height {
|
|
75
88
|
max-height: unset;
|
|
76
89
|
}
|
|
90
|
+
|
|
77
91
|
.table--constrained-height {
|
|
78
92
|
max-height: 90vh;
|
|
79
93
|
}
|
|
94
|
+
|
|
80
95
|
.table th a,
|
|
81
96
|
.table th button {
|
|
82
97
|
align-items: center;
|
|
@@ -84,64 +99,80 @@
|
|
|
84
99
|
font-weight: 700;
|
|
85
100
|
text-decoration: none;
|
|
86
101
|
}
|
|
102
|
+
|
|
87
103
|
.table tbody tr:last-child td,
|
|
88
104
|
.table tbody tr:last-child th {
|
|
89
105
|
border-bottom: none;
|
|
90
106
|
}
|
|
107
|
+
|
|
91
108
|
.table-cell {
|
|
92
109
|
text-align: left;
|
|
93
110
|
}
|
|
111
|
+
|
|
94
112
|
.table-cell--numeric,
|
|
95
113
|
.table__cell--numeric {
|
|
96
114
|
text-align: right;
|
|
97
115
|
}
|
|
116
|
+
|
|
98
117
|
.table-cell--icon-action {
|
|
99
118
|
text-align: center;
|
|
100
119
|
width: 64px;
|
|
101
120
|
}
|
|
121
|
+
|
|
102
122
|
.table [data-type="numeric"] {
|
|
103
123
|
text-align: right;
|
|
104
124
|
}
|
|
125
|
+
|
|
105
126
|
.table-cell img {
|
|
106
127
|
max-height: 56px;
|
|
107
128
|
max-width: 56px;
|
|
108
129
|
}
|
|
130
|
+
|
|
109
131
|
.table--density-compact .table-cell img {
|
|
110
132
|
max-height: 40px;
|
|
111
133
|
max-width: 40px;
|
|
112
134
|
}
|
|
135
|
+
|
|
113
136
|
.table--density-relaxed .table-cell img {
|
|
114
137
|
max-height: 72px;
|
|
115
138
|
max-width: 72px;
|
|
116
139
|
}
|
|
140
|
+
|
|
117
141
|
.table th[scope="row"] {
|
|
118
142
|
text-align: left;
|
|
119
143
|
}
|
|
144
|
+
|
|
120
145
|
.table td:last-child,
|
|
121
146
|
.table th:last-child {
|
|
122
147
|
padding-inline-end: 0;
|
|
123
148
|
}
|
|
149
|
+
|
|
124
150
|
.table--loading-state {
|
|
125
151
|
overflow: hidden;
|
|
126
152
|
}
|
|
153
|
+
|
|
127
154
|
.table--loading-state table {
|
|
128
155
|
opacity: 0.15;
|
|
129
156
|
-webkit-user-select: none;
|
|
130
157
|
user-select: none;
|
|
131
158
|
}
|
|
159
|
+
|
|
132
160
|
.table--loading-state .signal,
|
|
133
161
|
.table--loading-state img {
|
|
134
162
|
filter: var(--color-media-disabled-filter);
|
|
135
163
|
}
|
|
164
|
+
|
|
136
165
|
.table--loading-state a {
|
|
137
166
|
cursor: default;
|
|
138
167
|
pointer-events: none;
|
|
139
168
|
text-decoration: none;
|
|
140
169
|
}
|
|
170
|
+
|
|
141
171
|
.table--loading-state .progress-bar-expressive {
|
|
142
172
|
inset: auto 0 50%;
|
|
143
173
|
position: absolute;
|
|
144
174
|
}
|
|
175
|
+
|
|
145
176
|
.table--mode-selection td:first-child,
|
|
146
177
|
.table--mode-selection th:first-child {
|
|
147
178
|
min-width: 48px;
|
|
@@ -151,9 +182,11 @@
|
|
|
151
182
|
.table--mode-selection tr:has(input:checked) :where(td, th) {
|
|
152
183
|
background-color: var(--color-background-secondary);
|
|
153
184
|
}
|
|
185
|
+
|
|
154
186
|
.table tbody th {
|
|
155
187
|
font-weight: 400;
|
|
156
188
|
}
|
|
189
|
+
|
|
157
190
|
.table thead button {
|
|
158
191
|
background-color: initial;
|
|
159
192
|
border: 1px solid transparent;
|
|
@@ -173,16 +206,19 @@
|
|
|
173
206
|
vertical-align: initial;
|
|
174
207
|
white-space: nowrap;
|
|
175
208
|
}
|
|
209
|
+
|
|
176
210
|
.table-cell__data {
|
|
177
211
|
line-height: var(--spacing-250);
|
|
178
212
|
max-width: 400px;
|
|
179
213
|
min-width: 124px;
|
|
180
214
|
}
|
|
215
|
+
|
|
181
216
|
.table-cell__data--secondary {
|
|
182
217
|
color: var(--color-foreground-secondary);
|
|
183
218
|
font-size: var(--font-size-small);
|
|
184
219
|
line-height: var(--spacing-200);
|
|
185
220
|
}
|
|
221
|
+
|
|
186
222
|
.table-cell__thumbnail {
|
|
187
223
|
align-items: center;
|
|
188
224
|
background-color: var(--color-background-tertiary);
|
|
@@ -195,50 +231,61 @@
|
|
|
195
231
|
text-align: center;
|
|
196
232
|
width: 56px;
|
|
197
233
|
}
|
|
234
|
+
|
|
198
235
|
.table--density-compact .table-cell__thumbnail {
|
|
199
236
|
border-radius: 4px;
|
|
200
237
|
height: 40px;
|
|
201
238
|
width: 40px;
|
|
202
239
|
}
|
|
240
|
+
|
|
203
241
|
.table--density-relaxed .table-cell__thumbnail {
|
|
204
242
|
border-radius: 8px;
|
|
205
243
|
height: 72px;
|
|
206
244
|
width: 72px;
|
|
207
245
|
}
|
|
246
|
+
|
|
208
247
|
.table-cell__layout {
|
|
209
248
|
align-items: center;
|
|
210
249
|
display: flex;
|
|
211
250
|
gap: var(--spacing-200);
|
|
212
251
|
width: max-content;
|
|
213
252
|
}
|
|
253
|
+
|
|
214
254
|
.table-cell__layout > * {
|
|
215
255
|
flex-shrink: 0;
|
|
216
256
|
}
|
|
257
|
+
|
|
217
258
|
.table-cell__multiline {
|
|
218
259
|
max-height: 80px;
|
|
219
260
|
max-width: 304px;
|
|
220
261
|
}
|
|
262
|
+
|
|
221
263
|
.table--density-compact .table-cell__multiline {
|
|
222
264
|
max-height: 64px;
|
|
223
265
|
max-width: 320px;
|
|
224
266
|
}
|
|
267
|
+
|
|
225
268
|
.table--density-relaxed .table-cell__multiline {
|
|
226
269
|
max-height: 112px;
|
|
227
270
|
max-width: 272px;
|
|
228
271
|
}
|
|
272
|
+
|
|
229
273
|
.table-cell__layout .table-cell__multiline .table-cell__data {
|
|
230
274
|
margin-block-end: var(--spacing-50);
|
|
231
275
|
overflow: hidden;
|
|
232
276
|
text-overflow: ellipsis;
|
|
233
277
|
white-space: nowrap;
|
|
234
278
|
}
|
|
279
|
+
|
|
235
280
|
.table-cell .textbox,
|
|
236
281
|
.table-cell .textbox__control {
|
|
237
282
|
width: 100%;
|
|
238
283
|
}
|
|
284
|
+
|
|
239
285
|
.table-cell--numeric .textbox__control {
|
|
240
286
|
text-align: right;
|
|
241
287
|
}
|
|
288
|
+
|
|
242
289
|
.table-cell .signal {
|
|
243
290
|
white-space: nowrap;
|
|
244
291
|
}
|
package/dist/tabs/tabs.css
CHANGED
|
@@ -45,7 +45,6 @@ li.fake-tabs__item > a {
|
|
|
45
45
|
display: inline-block;
|
|
46
46
|
padding: var(--spacing-150) var(--spacing-200);
|
|
47
47
|
}
|
|
48
|
-
|
|
49
48
|
div.tabs__item[role="tab"]:after,
|
|
50
49
|
li.fake-tabs__item > a:after {
|
|
51
50
|
background-color: initial;
|
|
@@ -64,12 +63,10 @@ li.fake-tabs__item > a[aria-current] {
|
|
|
64
63
|
var(--color-foreground-primary)
|
|
65
64
|
);
|
|
66
65
|
}
|
|
67
|
-
|
|
68
66
|
div.tabs__item[role="tab"][aria-selected="true"]:after,
|
|
69
67
|
li.fake-tabs__item > a[aria-current]:after {
|
|
70
68
|
background-color: currentColor;
|
|
71
69
|
}
|
|
72
|
-
|
|
73
70
|
div.tabs__item[role="tab"]:focus:not(:focus-visible),
|
|
74
71
|
li.fake-tabs__item a:focus:not(:focus-visible) {
|
|
75
72
|
outline: none;
|
|
@@ -87,7 +84,6 @@ li.fake-tabs__item > a:not([aria-current]):not([href]):focus,
|
|
|
87
84
|
li.fake-tabs__item > a:not([aria-current]):not([href]):hover {
|
|
88
85
|
color: var(--color-foreground-disabled);
|
|
89
86
|
}
|
|
90
|
-
|
|
91
87
|
div.tabs__item[role="tab"]:not(
|
|
92
88
|
[aria-selected="true"]
|
|
93
89
|
)[aria-disabled="true"]:after,
|
|
@@ -109,7 +105,6 @@ li.fake-tabs__item > a:not([aria-current]):focus,
|
|
|
109
105
|
li.fake-tabs__item > a:not([aria-current]):hover {
|
|
110
106
|
color: var(--color-foreground-secondary);
|
|
111
107
|
}
|
|
112
|
-
|
|
113
108
|
div.tabs__item[role="tab"]:not([aria-selected="true"]):focus:after,
|
|
114
109
|
div.tabs__item[role="tab"]:not([aria-selected="true"]):hover:after,
|
|
115
110
|
li.fake-tabs__item > a:not([aria-current]):focus:after,
|
package/dist/textbox/textbox.css
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.textbox {
|
|
7
|
-
|
|
7
|
+
color: var(--textbox-foreground-color, var(--color-foreground-primary));
|
|
8
8
|
background-color: var(
|
|
9
9
|
--textbox-background-color,
|
|
10
10
|
var(--color-background-secondary)
|
|
11
11
|
);
|
|
12
12
|
border-color: var(--textbox-border-color, var(--color-border-medium));
|
|
13
13
|
border-radius: var(--textbox-border-radius, var(--border-radius-50));
|
|
14
|
+
align-items: center;
|
|
14
15
|
border-style: solid;
|
|
15
16
|
border-width: 1px;
|
|
16
17
|
box-sizing: border-box;
|
|
17
|
-
color: var(--textbox-foreground-color, var(--color-foreground-primary));
|
|
18
18
|
display: inline-flex;
|
|
19
19
|
font-size: var(--font-size-body);
|
|
20
20
|
gap: var(--spacing-100);
|
|
@@ -22,30 +22,26 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
width: fit-content;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
25
|
.textbox button.icon-btn {
|
|
27
26
|
background-color: initial;
|
|
28
27
|
padding: 0;
|
|
29
28
|
}
|
|
30
|
-
|
|
31
29
|
.textbox--focus,
|
|
32
30
|
.textbox:has(> .textbox__control:focus):not(.textbox--readonly):not(
|
|
33
31
|
:has(> .textbox__control[readonly])
|
|
34
32
|
) {
|
|
33
|
+
box-shadow: 0 0 0 1px var(--color-border-strong);
|
|
34
|
+
border-color: var(--textbox-focus-border-color, var(--color-border-strong));
|
|
35
35
|
background-color: var(
|
|
36
36
|
--textbox-focus-background-color,
|
|
37
37
|
var(--color-background-primary)
|
|
38
38
|
);
|
|
39
|
-
border-color: var(--textbox-focus-border-color, var(--color-border-strong));
|
|
40
|
-
box-shadow: 0 0 0 1px var(--color-border-strong);
|
|
41
39
|
}
|
|
42
|
-
|
|
43
40
|
.textbox--readonly,
|
|
44
41
|
.textbox:has(> .textbox__control[readonly]) {
|
|
45
42
|
background-color: initial;
|
|
46
43
|
border: none;
|
|
47
44
|
}
|
|
48
|
-
|
|
49
45
|
.textbox--disabled,
|
|
50
46
|
.textbox:has(> .textbox__control[disabled]) {
|
|
51
47
|
border-color: var(
|
|
@@ -57,7 +53,6 @@
|
|
|
57
53
|
var(--color-foreground-disabled)
|
|
58
54
|
);
|
|
59
55
|
}
|
|
60
|
-
|
|
61
56
|
.textbox--invalid,
|
|
62
57
|
.textbox:has(> .textbox__control[aria-invalid="true"]) {
|
|
63
58
|
border-color: var(
|
|
@@ -105,7 +100,6 @@ textarea.textbox__control {
|
|
|
105
100
|
margin: 0;
|
|
106
101
|
outline: none;
|
|
107
102
|
}
|
|
108
|
-
|
|
109
103
|
input.textbox__control[disabled],
|
|
110
104
|
textarea.textbox__control[disabled] {
|
|
111
105
|
border-color: var(
|
|
@@ -117,7 +111,6 @@ textarea.textbox__control[disabled] {
|
|
|
117
111
|
var(--color-foreground-disabled)
|
|
118
112
|
);
|
|
119
113
|
}
|
|
120
|
-
|
|
121
114
|
input.textbox__control[disabled]::-webkit-input-placeholder,
|
|
122
115
|
textarea.textbox__control[disabled]::-webkit-input-placeholder {
|
|
123
116
|
color: var(
|
|
@@ -125,7 +118,6 @@ textarea.textbox__control[disabled]::-webkit-input-placeholder {
|
|
|
125
118
|
var(--color-foreground-ghost)
|
|
126
119
|
);
|
|
127
120
|
}
|
|
128
|
-
|
|
129
121
|
input.textbox__control[disabled]::-moz-placeholder,
|
|
130
122
|
textarea.textbox__control[disabled]::-moz-placeholder {
|
|
131
123
|
color: var(
|
|
@@ -133,7 +125,6 @@ textarea.textbox__control[disabled]::-moz-placeholder {
|
|
|
133
125
|
var(--color-foreground-ghost)
|
|
134
126
|
);
|
|
135
127
|
}
|
|
136
|
-
|
|
137
128
|
input.textbox__control[disabled]:-ms-input-placeholder,
|
|
138
129
|
textarea.textbox__control[disabled]:-ms-input-placeholder {
|
|
139
130
|
color: var(
|
|
@@ -141,7 +132,6 @@ textarea.textbox__control[disabled]:-ms-input-placeholder {
|
|
|
141
132
|
var(--color-foreground-ghost)
|
|
142
133
|
);
|
|
143
134
|
}
|
|
144
|
-
|
|
145
135
|
input.textbox__control[aria-invalid="true"],
|
|
146
136
|
textarea.textbox__control[aria-invalid="true"] {
|
|
147
137
|
border-color: var(
|
|
@@ -149,7 +139,6 @@ textarea.textbox__control[aria-invalid="true"] {
|
|
|
149
139
|
var(--color-border-attention)
|
|
150
140
|
);
|
|
151
141
|
}
|
|
152
|
-
|
|
153
142
|
input.textbox__control::placeholder,
|
|
154
143
|
textarea.textbox__control::placeholder {
|
|
155
144
|
color: var(--textbox-placeholder-color, var(--color-foreground-secondary));
|
|
@@ -158,20 +147,20 @@ textarea.textbox__control::placeholder {
|
|
|
158
147
|
}
|
|
159
148
|
|
|
160
149
|
input.textbox__control {
|
|
161
|
-
height: calc(var(--input-default-height)
|
|
150
|
+
height: calc(-2px + var(--input-default-height));
|
|
162
151
|
}
|
|
163
152
|
|
|
164
153
|
.textbox--large input.textbox__control {
|
|
165
|
-
height: calc(var(--input-large-height)
|
|
154
|
+
height: calc(-2px + var(--input-large-height));
|
|
166
155
|
}
|
|
167
156
|
|
|
168
157
|
.textbox .icon-btn > svg,
|
|
169
158
|
.textbox > svg {
|
|
170
159
|
color: var(--textbox-icon-color, var(--color-foreground-secondary));
|
|
171
160
|
display: inline-flex;
|
|
172
|
-
fill: var(--textbox-icon-color, var(--color-foreground-secondary));
|
|
173
161
|
height: 1lh;
|
|
174
162
|
pointer-events: none;
|
|
163
|
+
fill: var(--textbox-icon-color, var(--color-foreground-secondary));
|
|
175
164
|
}
|
|
176
165
|
|
|
177
166
|
.textbox > span:first-child,
|
|
@@ -186,11 +175,11 @@ input.textbox__control {
|
|
|
186
175
|
}
|
|
187
176
|
|
|
188
177
|
.textbox .icon-btn:last-child {
|
|
189
|
-
margin-inline-start: calc(var(--spacing-100)
|
|
178
|
+
margin-inline-start: calc(-1 * var(--spacing-100));
|
|
190
179
|
}
|
|
191
180
|
|
|
192
181
|
.textbox .icon-btn:first-child {
|
|
193
|
-
margin-inline-end: calc(var(--spacing-100)
|
|
182
|
+
margin-inline-end: calc(-1 * var(--spacing-100));
|
|
194
183
|
}
|
|
195
184
|
|
|
196
185
|
input.textbox__control[readonly]:focus,
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--state-layer-neutral-on-strong: rgb(var(--color-neutral-900-rgb), 0);
|
|
6
6
|
--state-layer-neutral: rgb(var(--color-neutral-900-rgb), 0);
|
|
7
7
|
}
|
|
8
|
+
|
|
8
9
|
@keyframes toast-dialog-open {
|
|
9
10
|
0% {
|
|
10
11
|
opacity: 0;
|
|
@@ -52,9 +53,11 @@ dialog.toast-dialog {
|
|
|
52
53
|
.toast-dialog[open].toast-dialog--close {
|
|
53
54
|
animation: toast-dialog-close 0.2s cubic-bezier(0.21, 0.31, 1, 1.22);
|
|
54
55
|
}
|
|
56
|
+
|
|
55
57
|
.toast-dialog a {
|
|
56
58
|
color: var(--color-foreground-on-success);
|
|
57
59
|
}
|
|
60
|
+
|
|
58
61
|
.toast-dialog a:focus {
|
|
59
62
|
outline: 1px auto currentColor;
|
|
60
63
|
}
|
|
@@ -75,9 +78,11 @@ dialog.toast-dialog {
|
|
|
75
78
|
opacity: 0;
|
|
76
79
|
transform: translateY(110%);
|
|
77
80
|
}
|
|
81
|
+
|
|
78
82
|
.toast-dialog__window {
|
|
79
83
|
padding: var(--spacing-100) var(--spacing-200) var(--spacing-200);
|
|
80
84
|
}
|
|
85
|
+
|
|
81
86
|
.toast-dialog__header {
|
|
82
87
|
align-items: center;
|
|
83
88
|
display: flex;
|
|
@@ -92,8 +97,8 @@ button.icon-btn.toast-dialog__close {
|
|
|
92
97
|
color: var(--color-foreground-on-success);
|
|
93
98
|
flex-shrink: 0;
|
|
94
99
|
margin-inline-start: auto;
|
|
95
|
-
overflow: hidden;
|
|
96
100
|
padding: 0;
|
|
101
|
+
overflow: hidden;
|
|
97
102
|
position: relative;
|
|
98
103
|
}
|
|
99
104
|
button.icon-btn.toast-dialog__close:after {
|
|
@@ -127,9 +132,11 @@ button.icon-btn.toast-dialog__close[href]:active:after {
|
|
|
127
132
|
button.icon-btn.toast-dialog__close:focus {
|
|
128
133
|
outline: 2px solid var(--color-foreground-on-success);
|
|
129
134
|
}
|
|
135
|
+
|
|
130
136
|
button.icon-btn.toast-dialog__close > svg {
|
|
131
137
|
fill: currentColor;
|
|
132
138
|
}
|
|
139
|
+
|
|
133
140
|
.toast-dialog__footer {
|
|
134
141
|
display: flex;
|
|
135
142
|
justify-content: flex-end;
|
|
@@ -201,6 +208,7 @@ button.icon-btn.toast-dialog__close > svg {
|
|
|
201
208
|
.toast-dialog__footer button.btn--secondary:focus {
|
|
202
209
|
outline: 2px solid var(--color-foreground-on-success);
|
|
203
210
|
}
|
|
211
|
+
|
|
204
212
|
@media (min-width: 512px) {
|
|
205
213
|
.toast-dialog {
|
|
206
214
|
border-radius: var(--border-radius-100);
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--toggle-button-gallery-width-min: 168px;
|
|
8
8
|
--toggle-button-gallery-width-max: 342px;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
.toggle-button {
|
|
11
12
|
background-color: var(--color-background-primary);
|
|
12
13
|
border: 1px solid var(--color-border-medium);
|
|
@@ -30,58 +31,71 @@
|
|
|
30
31
|
outline-style: outset;
|
|
31
32
|
outline-width: 2px;
|
|
32
33
|
}
|
|
34
|
+
|
|
33
35
|
.toggle-button[aria-disabled="true"],
|
|
34
36
|
.toggle-button[disabled] {
|
|
35
37
|
border-color: var(--color-border-disabled);
|
|
36
38
|
}
|
|
39
|
+
|
|
37
40
|
.toggle-button * {
|
|
38
41
|
pointer-events: none;
|
|
39
42
|
}
|
|
43
|
+
|
|
40
44
|
.toggle-button[aria-pressed="true"] {
|
|
41
45
|
background-color: var(--color-background-secondary);
|
|
42
46
|
border: 1px solid var(--color-border-strong);
|
|
43
47
|
box-shadow: 0 0 0 1px var(--color-border-strong);
|
|
44
48
|
font-weight: 700;
|
|
45
49
|
}
|
|
50
|
+
|
|
46
51
|
.toggle-button[aria-disabled="true"][aria-pressed="true"],
|
|
47
52
|
.toggle-button[disabled][aria-pressed="true"] {
|
|
48
53
|
border-color: var(--color-border-disabled);
|
|
49
54
|
box-shadow: 0 0 0 1px var(--color-border-disabled);
|
|
50
55
|
}
|
|
56
|
+
|
|
51
57
|
.toggle-button:not([aria-disabled="true"], [disabled]):hover {
|
|
52
58
|
background-color: var(--state-layer-hover);
|
|
53
59
|
}
|
|
60
|
+
|
|
54
61
|
.toggle-button:not([aria-disabled="true"], [disabled]):active {
|
|
55
62
|
background-color: var(--state-layer-pressed);
|
|
56
63
|
}
|
|
64
|
+
|
|
57
65
|
.toggle-button__content {
|
|
58
66
|
align-self: center;
|
|
59
67
|
display: flex;
|
|
60
68
|
flex-direction: column;
|
|
61
69
|
text-align: left;
|
|
62
70
|
}
|
|
71
|
+
|
|
63
72
|
.toggle-button__icon,
|
|
64
73
|
.toggle-button__image-container {
|
|
65
74
|
margin-bottom: var(--spacing-200);
|
|
66
75
|
margin-right: var(--spacing-200);
|
|
67
76
|
margin-top: var(--spacing-200);
|
|
68
77
|
}
|
|
78
|
+
|
|
69
79
|
.toggle-button__image-container {
|
|
70
80
|
align-self: center;
|
|
71
81
|
}
|
|
82
|
+
|
|
72
83
|
.toggle-button__image-container svg.icon {
|
|
73
84
|
height: 100%;
|
|
74
85
|
}
|
|
86
|
+
|
|
75
87
|
.toggle-button__image-container img {
|
|
76
88
|
height: 100%;
|
|
77
89
|
max-height: 56px;
|
|
78
90
|
max-width: 56px;
|
|
79
91
|
}
|
|
92
|
+
|
|
80
93
|
.toggle-button__image {
|
|
81
94
|
display: inline-block;
|
|
82
95
|
height: 56px;
|
|
83
96
|
width: 56px;
|
|
84
97
|
}
|
|
98
|
+
|
|
85
99
|
.toggle-button__title {
|
|
86
100
|
font-size: var(--font-size-medium);
|
|
87
101
|
font-weight: 700;
|
|
@@ -89,13 +103,16 @@
|
|
|
89
103
|
margin-bottom: var(--spacing-50);
|
|
90
104
|
margin-top: var(--spacing-200);
|
|
91
105
|
}
|
|
106
|
+
|
|
92
107
|
.toggle-button__title:only-child {
|
|
93
108
|
margin-bottom: var(--spacing-200);
|
|
94
109
|
}
|
|
110
|
+
|
|
95
111
|
.toggle-button[aria-disabled="true"] .toggle-button__title,
|
|
96
112
|
.toggle-button[disabled] .toggle-button__title {
|
|
97
113
|
color: var(--color-foreground-disabled);
|
|
98
114
|
}
|
|
115
|
+
|
|
99
116
|
.toggle-button
|
|
100
117
|
.toggle-button__content:only-child
|
|
101
118
|
.toggle-button__title:only-child {
|
|
@@ -105,27 +122,33 @@
|
|
|
105
122
|
text-align: center;
|
|
106
123
|
width: 100%;
|
|
107
124
|
}
|
|
125
|
+
|
|
108
126
|
.toggle-button:not([aria-pressed="true"])
|
|
109
127
|
.toggle-button__content:only-child
|
|
110
128
|
.toggle-button__title:only-child {
|
|
111
129
|
font-weight: 400;
|
|
112
130
|
}
|
|
131
|
+
|
|
113
132
|
.toggle-button__subtitle {
|
|
114
133
|
color: var(--color-foreground-secondary);
|
|
115
134
|
line-height: var(--font-size-large-1);
|
|
116
135
|
margin-bottom: var(--spacing-200);
|
|
117
136
|
}
|
|
137
|
+
|
|
118
138
|
.toggle-button[aria-disabled="true"] .toggle-button__subtitle,
|
|
119
139
|
.toggle-button[disabled] .toggle-button__subtitle {
|
|
120
140
|
color: var(--color-foreground-disabled);
|
|
121
141
|
}
|
|
142
|
+
|
|
122
143
|
.toggle-button__subtitle p {
|
|
123
144
|
margin: 0;
|
|
124
145
|
}
|
|
146
|
+
|
|
125
147
|
.toggle-button[aria-pressed="true"] .toggle-button__subtitle {
|
|
126
148
|
color: var(--color-foreground-primary);
|
|
127
149
|
font-weight: 400;
|
|
128
150
|
}
|
|
151
|
+
|
|
129
152
|
.toggle-button[aria-disabled="true"][aria-pressed="true"]
|
|
130
153
|
.toggle-button__subtitle,
|
|
131
154
|
.toggle-button[disabled][aria-pressed="true"] .toggle-button__subtitle {
|
|
@@ -136,37 +159,44 @@
|
|
|
136
159
|
max-width: var(--toggle-button-list-width-max);
|
|
137
160
|
min-width: var(--toggle-button-list-width-min);
|
|
138
161
|
}
|
|
162
|
+
|
|
139
163
|
.toggle-button--list-layout .toggle-button__content:not(:only-child),
|
|
140
164
|
.toggle-button--list-layout .toggle-button__image-container {
|
|
141
165
|
align-self: self-start;
|
|
142
166
|
}
|
|
167
|
+
|
|
143
168
|
.toggle-button--gallery-layout {
|
|
144
169
|
flex-direction: column;
|
|
145
170
|
justify-content: left;
|
|
146
171
|
max-width: var(--toggle-button-gallery-width-max);
|
|
147
172
|
min-width: var(--toggle-button-gallery-width-min);
|
|
148
173
|
}
|
|
174
|
+
|
|
149
175
|
.toggle-button--gallery-layout .toggle-button__content {
|
|
150
176
|
align-self: self-start;
|
|
151
177
|
}
|
|
178
|
+
|
|
152
179
|
.toggle-button--gallery-layout .toggle-button__icon,
|
|
153
180
|
.toggle-button--gallery-layout .toggle-button__image-container {
|
|
154
181
|
margin-bottom: 0;
|
|
155
182
|
margin-right: 0;
|
|
156
183
|
text-align: left;
|
|
157
184
|
}
|
|
185
|
+
|
|
158
186
|
.toggle-button--gallery-layout .toggle-button__image-container {
|
|
159
187
|
padding-bottom: 60%;
|
|
160
188
|
position: relative;
|
|
161
189
|
text-align: center;
|
|
162
190
|
width: 100%;
|
|
163
191
|
}
|
|
192
|
+
|
|
164
193
|
.toggle-button--gallery-layout .toggle-button__image {
|
|
165
194
|
height: 100%;
|
|
166
195
|
inset: 0;
|
|
167
196
|
position: absolute;
|
|
168
197
|
width: 100%;
|
|
169
198
|
}
|
|
199
|
+
|
|
170
200
|
.toggle-button[aria-disabled="true"] .toggle-button__icon,
|
|
171
201
|
.toggle-button[aria-disabled="true"] .toggle-button__image,
|
|
172
202
|
.toggle-button[disabled] .toggle-button__icon,
|
|
@@ -174,11 +204,13 @@
|
|
|
174
204
|
filter: grayscale(1);
|
|
175
205
|
opacity: 0.5;
|
|
176
206
|
}
|
|
207
|
+
|
|
177
208
|
.toggle-button--gallery-layout .toggle-button__image-container img {
|
|
178
209
|
height: 100%;
|
|
179
210
|
max-height: 200px;
|
|
180
211
|
max-width: none;
|
|
181
212
|
}
|
|
213
|
+
|
|
182
214
|
.toggle-button--gallery-layout .toggle-button__icon ~ .toggle-button__content {
|
|
183
215
|
align-self: flex-start;
|
|
184
216
|
}
|