@seed-design/css 2.1.4 → 2.2.1
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/all.css +193 -307
- package/all.layered.css +193 -307
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/base.css +14 -0
- package/base.layered.css +14 -0
- package/base.layered.min.css +1 -1
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/accordion.css +11 -25
- package/recipes/accordion.layered.css +9 -17
- package/recipes/action-button.css +14 -1
- package/recipes/action-button.layered.css +18 -1
- package/recipes/app-bar-main.css +2 -4
- package/recipes/app-bar-main.layered.css +3 -5
- package/recipes/app-bar.css +3 -8
- package/recipes/app-bar.layered.css +2 -4
- package/recipes/app-screen.css +5 -10
- package/recipes/app-screen.layered.css +6 -11
- package/recipes/aspect-ratio.css +1 -4
- package/recipes/attachment-input-item.css +5 -14
- package/recipes/attachment-input-item.layered.css +4 -7
- package/recipes/attachment-input.css +4 -8
- package/recipes/attachment-input.layered.css +4 -8
- package/recipes/avatar.css +1 -4
- package/recipes/badge.css +4 -8
- package/recipes/badge.layered.css +4 -8
- package/recipes/bottom-sheet.css +7 -20
- package/recipes/bottom-sheet.layered.css +5 -9
- package/recipes/callout.css +2 -4
- package/recipes/callout.layered.css +2 -4
- package/recipes/checkmark.css +1 -4
- package/recipes/chip-tabs.css +3 -4
- package/recipes/chip-tabs.layered.css +3 -4
- package/recipes/chip.css +4 -8
- package/recipes/chip.layered.css +4 -8
- package/recipes/contextual-floating-button.css +2 -4
- package/recipes/contextual-floating-button.layered.css +2 -4
- package/recipes/dialog.css +4 -12
- package/recipes/dialog.layered.css +2 -4
- package/recipes/field.css +2 -4
- package/recipes/field.layered.css +2 -4
- package/recipes/floating-action-button.css +1 -2
- package/recipes/floating-action-button.layered.css +1 -2
- package/recipes/help-bubble.css +3 -6
- package/recipes/help-bubble.layered.css +3 -6
- package/recipes/image-frame-indicator.css +2 -4
- package/recipes/image-frame-indicator.layered.css +2 -4
- package/recipes/image-frame-reaction-button.css +1 -4
- package/recipes/image-frame-reaction-button.layered.css +1 -4
- package/recipes/image-frame.css +1 -4
- package/recipes/input-button.css +6 -16
- package/recipes/input-button.layered.css +4 -8
- package/recipes/layout.css +1 -2
- package/recipes/layout.layered.css +1 -2
- package/recipes/list-header.css +2 -4
- package/recipes/list-header.layered.css +2 -4
- package/recipes/list-item.css +9 -21
- package/recipes/list-item.layered.css +7 -13
- package/recipes/manner-temp-badge.css +2 -4
- package/recipes/manner-temp-badge.layered.css +2 -4
- package/recipes/menu-item.css +14 -29
- package/recipes/menu-item.layered.css +13 -25
- package/recipes/menu-sheet-item.css +2 -4
- package/recipes/menu-sheet-item.layered.css +2 -4
- package/recipes/menu-sheet.css +6 -16
- package/recipes/menu-sheet.layered.css +5 -9
- package/recipes/menu.css +10 -20
- package/recipes/menu.layered.css +10 -20
- package/recipes/notification-badge.css +2 -4
- package/recipes/notification-badge.layered.css +2 -4
- package/recipes/page-banner.css +2 -4
- package/recipes/page-banner.layered.css +2 -4
- package/recipes/reaction-button.css +4 -8
- package/recipes/reaction-button.layered.css +4 -8
- package/recipes/segmented-control.css +3 -6
- package/recipes/segmented-control.layered.css +3 -6
- package/recipes/select-box-checkmark.css +1 -4
- package/recipes/select-box.css +4 -10
- package/recipes/select-box.layered.css +3 -6
- package/recipes/side-navigation-menu-item.css +3 -8
- package/recipes/side-navigation-menu-item.layered.css +4 -5
- package/recipes/side-navigation.css +1 -2
- package/recipes/side-navigation.layered.css +3 -1
- package/recipes/side-panel.css +7 -18
- package/recipes/side-panel.layered.css +5 -10
- package/recipes/slider-marker.css +1 -2
- package/recipes/slider-marker.layered.css +1 -2
- package/recipes/slider.css +3 -8
- package/recipes/slider.layered.css +2 -4
- package/recipes/snackbar-region.css +2 -4
- package/recipes/snackbar-region.layered.css +2 -4
- package/recipes/snackbar.css +4 -8
- package/recipes/snackbar.layered.css +4 -8
- package/recipes/tabs.css +8 -16
- package/recipes/tabs.layered.css +8 -16
- package/recipes/text-input.css +10 -22
- package/recipes/text-input.layered.css +9 -18
- package/recipes/toggle-button.css +4 -8
- package/recipes/toggle-button.layered.css +4 -8
- package/vars/component/action-button.d.ts +23 -1
- package/vars/component/action-button.mjs +23 -1
- package/vars/component/list-item.d.ts +2 -2
- package/vars/component/list-item.mjs +1 -1
- package/vars/scale.d.ts +3 -0
- package/vars/scale.mjs +3 -0
package/recipes/accordion.css
CHANGED
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
padding: 0;
|
|
27
27
|
font-family: inherit;
|
|
28
28
|
text-align: start;
|
|
29
|
-
padding-
|
|
30
|
-
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
29
|
+
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
31
30
|
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
32
31
|
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
33
32
|
outline-offset: var(--seed-dimension-x0_5);
|
|
@@ -102,36 +101,30 @@
|
|
|
102
101
|
content: '';
|
|
103
102
|
position: absolute;
|
|
104
103
|
bottom: 0;
|
|
105
|
-
|
|
106
|
-
right: var(--seed-dimension-x3);
|
|
104
|
+
inset-inline: var(--seed-dimension-x3);
|
|
107
105
|
height: 1px;
|
|
108
106
|
background-color: var(--seed-color-stroke-neutral-subtle);
|
|
109
107
|
}
|
|
110
108
|
.seed-accordion__trigger--variant_inline::before {
|
|
111
109
|
content: '';
|
|
112
110
|
position: absolute;
|
|
113
|
-
|
|
114
|
-
right: 0;
|
|
115
|
-
bottom: 0;
|
|
116
|
-
left: 0;
|
|
111
|
+
inset: 0;
|
|
117
112
|
z-index: -1;
|
|
118
|
-
transition-property: background-color,
|
|
113
|
+
transition-property: background-color, inset-inline, border-radius;
|
|
119
114
|
transition-duration: var(--seed-duration-color-transition);
|
|
120
115
|
transition-timing-function: var(--seed-timing-function-easing);
|
|
121
116
|
}
|
|
122
117
|
@media (hover: hover) and (pointer: fine) {
|
|
123
118
|
.seed-accordion__trigger--variant_inline:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover])::before {
|
|
124
119
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
125
|
-
|
|
126
|
-
right: var(--seed-dimension-x1_5);
|
|
120
|
+
inset-inline: var(--seed-dimension-x1_5);
|
|
127
121
|
border-radius: var(--seed-dimension-x2_5);
|
|
128
122
|
}
|
|
129
123
|
}
|
|
130
124
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
131
125
|
.seed-accordion__trigger--variant_inline:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active])::before {
|
|
132
126
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
133
|
-
|
|
134
|
-
right: var(--seed-dimension-x1_5);
|
|
127
|
+
inset-inline: var(--seed-dimension-x1_5);
|
|
135
128
|
border-radius: var(--seed-dimension-x2_5);
|
|
136
129
|
}
|
|
137
130
|
}
|
|
@@ -143,10 +136,7 @@
|
|
|
143
136
|
.seed-accordion__trigger--variant_separated::before {
|
|
144
137
|
content: '';
|
|
145
138
|
position: absolute;
|
|
146
|
-
|
|
147
|
-
right: 0;
|
|
148
|
-
bottom: 0;
|
|
149
|
-
left: 0;
|
|
139
|
+
inset: 0;
|
|
150
140
|
z-index: -1;
|
|
151
141
|
transition-property: background-color;
|
|
152
142
|
transition-duration: var(--seed-duration-color-transition);
|
|
@@ -163,8 +153,7 @@
|
|
|
163
153
|
}
|
|
164
154
|
}
|
|
165
155
|
.seed-accordion__trigger--size_medium {
|
|
166
|
-
padding-
|
|
167
|
-
padding-bottom: var(--seed-dimension-x4);
|
|
156
|
+
padding-block: var(--seed-dimension-x4);
|
|
168
157
|
}
|
|
169
158
|
.seed-accordion__prefix--size_medium {
|
|
170
159
|
margin-right: var(--seed-dimension-x3);
|
|
@@ -183,8 +172,7 @@
|
|
|
183
172
|
--seed-suffix-icon-margin-left: var(--seed-dimension-x3);
|
|
184
173
|
}
|
|
185
174
|
.seed-accordion__trigger--size_large {
|
|
186
|
-
padding-
|
|
187
|
-
padding-bottom: var(--seed-dimension-x5);
|
|
175
|
+
padding-block: var(--seed-dimension-x5);
|
|
188
176
|
}
|
|
189
177
|
.seed-accordion__prefix--size_large {
|
|
190
178
|
margin-right: var(--seed-dimension-x3);
|
|
@@ -203,13 +191,11 @@
|
|
|
203
191
|
--seed-suffix-icon-margin-left: var(--seed-dimension-x3);
|
|
204
192
|
}
|
|
205
193
|
.seed-accordion__trigger--size_responsive {
|
|
206
|
-
padding-
|
|
207
|
-
padding-bottom: var(--seed-dimension-x4);
|
|
194
|
+
padding-block: var(--seed-dimension-x4);
|
|
208
195
|
}
|
|
209
196
|
@media (min-width: 768px) {
|
|
210
197
|
.seed-accordion__trigger--size_responsive {
|
|
211
|
-
padding-
|
|
212
|
-
padding-bottom: var(--seed-dimension-x5);
|
|
198
|
+
padding-block: var(--seed-dimension-x5);
|
|
213
199
|
}
|
|
214
200
|
}
|
|
215
201
|
.seed-accordion__prefix--size_responsive {
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
text-align: start;
|
|
19
19
|
width: 100%;
|
|
20
20
|
padding: 0;
|
|
21
|
-
padding-
|
|
22
|
-
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
21
|
+
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
23
22
|
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
24
23
|
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
25
24
|
outline-offset: var(--seed-dimension-x0_5);
|
|
@@ -115,8 +114,7 @@
|
|
|
115
114
|
.seed-accordion__item--variant_inline:not(:last-child):after {
|
|
116
115
|
content: "";
|
|
117
116
|
bottom: 0;
|
|
118
|
-
|
|
119
|
-
right: var(--seed-dimension-x3);
|
|
117
|
+
inset-inline: var(--seed-dimension-x3);
|
|
120
118
|
background-color: var(--seed-color-stroke-neutral-subtle);
|
|
121
119
|
height: 1px;
|
|
122
120
|
position: absolute;
|
|
@@ -125,7 +123,7 @@
|
|
|
125
123
|
.seed-accordion__trigger--variant_inline:before {
|
|
126
124
|
content: "";
|
|
127
125
|
z-index: -1;
|
|
128
|
-
transition-property: background-color,
|
|
126
|
+
transition-property: background-color, inset-inline, border-radius;
|
|
129
127
|
transition-duration: var(--seed-duration-color-transition);
|
|
130
128
|
transition-timing-function: var(--seed-timing-function-easing);
|
|
131
129
|
position: absolute;
|
|
@@ -135,8 +133,7 @@
|
|
|
135
133
|
@media (hover: hover) and (pointer: fine) {
|
|
136
134
|
.seed-accordion__trigger--variant_inline:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]):before {
|
|
137
135
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
138
|
-
|
|
139
|
-
right: var(--seed-dimension-x1_5);
|
|
136
|
+
inset-inline: var(--seed-dimension-x1_5);
|
|
140
137
|
border-radius: var(--seed-dimension-x2_5);
|
|
141
138
|
}
|
|
142
139
|
}
|
|
@@ -144,8 +141,7 @@
|
|
|
144
141
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
145
142
|
.seed-accordion__trigger--variant_inline:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]):before {
|
|
146
143
|
background-color: var(--seed-color-bg-transparent-pressed);
|
|
147
|
-
|
|
148
|
-
right: var(--seed-dimension-x1_5);
|
|
144
|
+
inset-inline: var(--seed-dimension-x1_5);
|
|
149
145
|
border-radius: var(--seed-dimension-x2_5);
|
|
150
146
|
}
|
|
151
147
|
}
|
|
@@ -179,8 +175,7 @@
|
|
|
179
175
|
}
|
|
180
176
|
|
|
181
177
|
.seed-accordion__trigger--size_medium {
|
|
182
|
-
padding-
|
|
183
|
-
padding-bottom: var(--seed-dimension-x4);
|
|
178
|
+
padding-block: var(--seed-dimension-x4);
|
|
184
179
|
}
|
|
185
180
|
|
|
186
181
|
.seed-accordion__prefix--size_medium {
|
|
@@ -204,8 +199,7 @@
|
|
|
204
199
|
}
|
|
205
200
|
|
|
206
201
|
.seed-accordion__trigger--size_large {
|
|
207
|
-
padding-
|
|
208
|
-
padding-bottom: var(--seed-dimension-x5);
|
|
202
|
+
padding-block: var(--seed-dimension-x5);
|
|
209
203
|
}
|
|
210
204
|
|
|
211
205
|
.seed-accordion__prefix--size_large {
|
|
@@ -229,14 +223,12 @@
|
|
|
229
223
|
}
|
|
230
224
|
|
|
231
225
|
.seed-accordion__trigger--size_responsive {
|
|
232
|
-
padding-
|
|
233
|
-
padding-bottom: var(--seed-dimension-x4);
|
|
226
|
+
padding-block: var(--seed-dimension-x4);
|
|
234
227
|
}
|
|
235
228
|
|
|
236
229
|
@media (width >= 768px) {
|
|
237
230
|
.seed-accordion__trigger--size_responsive {
|
|
238
|
-
padding-
|
|
239
|
-
padding-bottom: var(--seed-dimension-x5);
|
|
231
|
+
padding-block: var(--seed-dimension-x5);
|
|
240
232
|
}
|
|
241
233
|
}
|
|
242
234
|
|
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
cursor: not-allowed;
|
|
66
66
|
}
|
|
67
67
|
.seed-action-button {
|
|
68
|
-
|
|
68
|
+
scale: 1;
|
|
69
|
+
transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing), scale var(--seed-duration-pressed-scale) var(--seed-timing-function-pressed-scale), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
69
70
|
}
|
|
70
71
|
.seed-action-button--variant_brandSolid {
|
|
71
72
|
background: var(--seed-color-bg-brand-solid);
|
|
@@ -296,6 +297,9 @@
|
|
|
296
297
|
--seed-suffix-icon-size: var(--seed-dimension-x3_5);
|
|
297
298
|
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
298
299
|
}
|
|
300
|
+
.seed-action-button--size_xsmall:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
301
|
+
scale: var(--seed-scale-s95);
|
|
302
|
+
}
|
|
299
303
|
.seed-action-button--size_small {
|
|
300
304
|
height: var(--seed-dimension-x9);
|
|
301
305
|
border-radius: var(--seed-radius-r2);
|
|
@@ -305,6 +309,9 @@
|
|
|
305
309
|
--seed-suffix-icon-size: var(--seed-dimension-x3_5);
|
|
306
310
|
--seed-icon-size: var(--seed-dimension-x4);
|
|
307
311
|
}
|
|
312
|
+
.seed-action-button--size_small:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
313
|
+
scale: var(--seed-scale-s97);
|
|
314
|
+
}
|
|
308
315
|
.seed-action-button--size_medium {
|
|
309
316
|
height: var(--seed-dimension-x10);
|
|
310
317
|
border-radius: var(--seed-radius-r2);
|
|
@@ -314,6 +321,9 @@
|
|
|
314
321
|
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
315
322
|
--seed-icon-size: 18px;
|
|
316
323
|
}
|
|
324
|
+
.seed-action-button--size_medium:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
325
|
+
scale: var(--seed-scale-s97);
|
|
326
|
+
}
|
|
317
327
|
.seed-action-button--size_large {
|
|
318
328
|
height: var(--seed-dimension-x13);
|
|
319
329
|
border-radius: var(--seed-radius-r3);
|
|
@@ -323,6 +333,9 @@
|
|
|
323
333
|
--seed-suffix-icon-size: 22px;
|
|
324
334
|
--seed-icon-size: 22px;
|
|
325
335
|
}
|
|
336
|
+
.seed-action-button--size_large:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
337
|
+
scale: var(--seed-scale-s98);
|
|
338
|
+
}
|
|
326
339
|
.seed-action-button--layout_withText {}
|
|
327
340
|
.seed-action-button--layout_iconOnly {}
|
|
328
341
|
.seed-action-button--size_xsmall-layout_withText {
|
|
@@ -69,7 +69,8 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.seed-action-button {
|
|
72
|
-
transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
72
|
+
transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing), scale var(--seed-duration-pressed-scale) var(--seed-timing-function-pressed-scale), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
73
|
+
scale: 1;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
.seed-action-button--variant_brandSolid {
|
|
@@ -337,6 +338,10 @@
|
|
|
337
338
|
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
338
339
|
}
|
|
339
340
|
|
|
341
|
+
.seed-action-button--size_xsmall:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
342
|
+
scale: var(--seed-scale-s95);
|
|
343
|
+
}
|
|
344
|
+
|
|
340
345
|
.seed-action-button--size_small {
|
|
341
346
|
height: var(--seed-dimension-x9);
|
|
342
347
|
border-radius: var(--seed-radius-r2);
|
|
@@ -347,6 +352,10 @@
|
|
|
347
352
|
--seed-icon-size: var(--seed-dimension-x4);
|
|
348
353
|
}
|
|
349
354
|
|
|
355
|
+
.seed-action-button--size_small:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
356
|
+
scale: var(--seed-scale-s97);
|
|
357
|
+
}
|
|
358
|
+
|
|
350
359
|
.seed-action-button--size_medium {
|
|
351
360
|
height: var(--seed-dimension-x10);
|
|
352
361
|
border-radius: var(--seed-radius-r2);
|
|
@@ -357,6 +366,10 @@
|
|
|
357
366
|
--seed-icon-size: 18px;
|
|
358
367
|
}
|
|
359
368
|
|
|
369
|
+
.seed-action-button--size_medium:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
370
|
+
scale: var(--seed-scale-s97);
|
|
371
|
+
}
|
|
372
|
+
|
|
360
373
|
.seed-action-button--size_large {
|
|
361
374
|
height: var(--seed-dimension-x13);
|
|
362
375
|
border-radius: var(--seed-radius-r3);
|
|
@@ -367,6 +380,10 @@
|
|
|
367
380
|
--seed-icon-size: 22px;
|
|
368
381
|
}
|
|
369
382
|
|
|
383
|
+
.seed-action-button--size_large:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
384
|
+
scale: var(--seed-scale-s98);
|
|
385
|
+
}
|
|
386
|
+
|
|
370
387
|
.seed-action-button--size_xsmall-layout_withText {
|
|
371
388
|
gap: var(--seed-dimension-x1);
|
|
372
389
|
--seed-box-padding-left: var(--seed-dimension-x3_5);
|
package/recipes/app-bar-main.css
CHANGED
|
@@ -34,10 +34,8 @@
|
|
|
34
34
|
text-align: center;
|
|
35
35
|
top: var(--seed-safe-area-top);
|
|
36
36
|
bottom: 0;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
padding-left: var(--centered-title-padding-x, 0);
|
|
40
|
-
padding-right: var(--centered-title-padding-x, 0);
|
|
37
|
+
inset-inline: 0;
|
|
38
|
+
padding-inline: var(--centered-title-padding-x, 0);
|
|
41
39
|
pointer-events: none
|
|
42
40
|
}
|
|
43
41
|
.seed-app-bar-main__root--theme_android {
|
|
@@ -30,16 +30,14 @@
|
|
|
30
30
|
.seed-app-bar-main__root--theme_cupertino {
|
|
31
31
|
text-align: center;
|
|
32
32
|
top: var(--seed-safe-area-top);
|
|
33
|
-
|
|
34
|
-
padding-
|
|
33
|
+
bottom: 0;
|
|
34
|
+
padding-inline: var(--centered-title-padding-x, 0);
|
|
35
35
|
pointer-events: none;
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
38
|
display: flex;
|
|
39
39
|
position: absolute;
|
|
40
|
-
|
|
41
|
-
left: 0;
|
|
42
|
-
right: 0;
|
|
40
|
+
inset-inline: 0;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
.seed-app-bar-main__root--theme_android {
|
package/recipes/app-bar.css
CHANGED
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
.seed-app-bar__background {
|
|
11
11
|
position: absolute;
|
|
12
12
|
pointer-events: none;
|
|
13
|
-
|
|
14
|
-
right: 0;
|
|
15
|
-
bottom: 0;
|
|
16
|
-
left: 0;
|
|
13
|
+
inset: 0;
|
|
17
14
|
z-index: -1;
|
|
18
15
|
}
|
|
19
16
|
.seed-app-bar__left {
|
|
@@ -50,8 +47,7 @@
|
|
|
50
47
|
}
|
|
51
48
|
.seed-app-bar__root--theme_cupertino {
|
|
52
49
|
height: calc(44px + var(--seed-safe-area-top));
|
|
53
|
-
padding-
|
|
54
|
-
padding-right: var(--seed-dimension-x4);
|
|
50
|
+
padding-inline: var(--seed-dimension-x4);
|
|
55
51
|
padding-top: var(--seed-safe-area-top);
|
|
56
52
|
}
|
|
57
53
|
.seed-app-bar__iconButton--theme_cupertino {
|
|
@@ -70,8 +66,7 @@
|
|
|
70
66
|
}
|
|
71
67
|
.seed-app-bar__root--theme_android {
|
|
72
68
|
height: calc(56px + var(--seed-safe-area-top));
|
|
73
|
-
padding-
|
|
74
|
-
padding-right: var(--seed-dimension-x4);
|
|
69
|
+
padding-inline: var(--seed-dimension-x4);
|
|
75
70
|
padding-top: var(--seed-safe-area-top);
|
|
76
71
|
}
|
|
77
72
|
.seed-app-bar__iconButton--theme_android {
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
.seed-app-bar__root--theme_cupertino {
|
|
57
57
|
height: calc(44px + var(--seed-safe-area-top));
|
|
58
|
-
padding-
|
|
59
|
-
padding-right: var(--seed-dimension-x4);
|
|
58
|
+
padding-inline: var(--seed-dimension-x4);
|
|
60
59
|
padding-top: var(--seed-safe-area-top);
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -80,8 +79,7 @@
|
|
|
80
79
|
|
|
81
80
|
.seed-app-bar__root--theme_android {
|
|
82
81
|
height: calc(56px + var(--seed-safe-area-top));
|
|
83
|
-
padding-
|
|
84
|
-
padding-right: var(--seed-dimension-x4);
|
|
82
|
+
padding-inline: var(--seed-dimension-x4);
|
|
85
83
|
padding-top: var(--seed-safe-area-top);
|
|
86
84
|
}
|
|
87
85
|
|
package/recipes/app-screen.css
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
position: absolute;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
5
|
-
|
|
6
|
-
right: 0;
|
|
5
|
+
inset-inline: 0;
|
|
7
6
|
overflow: hidden;
|
|
8
7
|
--app-bar-offset: calc(var(--app-bar-height) + var(--seed-safe-area-top));
|
|
9
8
|
}
|
|
@@ -12,8 +11,7 @@
|
|
|
12
11
|
position: absolute;
|
|
13
12
|
width: 100%;
|
|
14
13
|
top: 0;
|
|
15
|
-
|
|
16
|
-
right: 0;
|
|
14
|
+
inset-inline: 0;
|
|
17
15
|
}
|
|
18
16
|
.seed-app-screen__layer {
|
|
19
17
|
z-index: var(--z-index-layer);
|
|
@@ -21,8 +19,7 @@
|
|
|
21
19
|
position: absolute;
|
|
22
20
|
width: 100%;
|
|
23
21
|
height: 100%;
|
|
24
|
-
|
|
25
|
-
right: 0;
|
|
22
|
+
inset-inline: 0;
|
|
26
23
|
overflow-y: scroll;
|
|
27
24
|
-webkit-overflow-scrolling: touch;
|
|
28
25
|
}
|
|
@@ -40,8 +37,7 @@
|
|
|
40
37
|
position: absolute;
|
|
41
38
|
width: 20px;
|
|
42
39
|
height: 100%;
|
|
43
|
-
|
|
44
|
-
right: 0;
|
|
40
|
+
inset-inline: 0;
|
|
45
41
|
}
|
|
46
42
|
.seed-app-screen__root--theme_cupertino {
|
|
47
43
|
--app-bar-height: 44px;
|
|
@@ -100,8 +96,7 @@
|
|
|
100
96
|
content: '';
|
|
101
97
|
display: block;
|
|
102
98
|
position: sticky;
|
|
103
|
-
|
|
104
|
-
right: 0;
|
|
99
|
+
inset-inline: 0;
|
|
105
100
|
top: 0;
|
|
106
101
|
margin-bottom: calc(-1 * (66px + 400px + var(--seed-safe-area-top)));
|
|
107
102
|
height: calc(66px + 400px + var(--seed-safe-area-top));
|
|
@@ -4,18 +4,16 @@
|
|
|
4
4
|
width: 100%;
|
|
5
5
|
height: 100%;
|
|
6
6
|
position: absolute;
|
|
7
|
-
|
|
8
|
-
right: 0;
|
|
7
|
+
inset-inline: 0;
|
|
9
8
|
overflow: hidden;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
.seed-app-screen__dim {
|
|
13
12
|
z-index: var(--z-index-dim);
|
|
13
|
+
top: 0;
|
|
14
14
|
width: 100%;
|
|
15
15
|
position: absolute;
|
|
16
|
-
|
|
17
|
-
left: 0;
|
|
18
|
-
right: 0;
|
|
16
|
+
inset-inline: 0;
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
.seed-app-screen__layer {
|
|
@@ -25,8 +23,7 @@
|
|
|
25
23
|
width: 100%;
|
|
26
24
|
height: 100%;
|
|
27
25
|
position: absolute;
|
|
28
|
-
|
|
29
|
-
right: 0;
|
|
26
|
+
inset-inline: 0;
|
|
30
27
|
overflow-y: scroll;
|
|
31
28
|
}
|
|
32
29
|
|
|
@@ -47,8 +44,7 @@
|
|
|
47
44
|
width: 20px;
|
|
48
45
|
height: 100%;
|
|
49
46
|
position: absolute;
|
|
50
|
-
|
|
51
|
-
right: 0;
|
|
47
|
+
inset-inline: 0;
|
|
52
48
|
}
|
|
53
49
|
|
|
54
50
|
.seed-app-screen__root--theme_cupertino {
|
|
@@ -120,6 +116,7 @@
|
|
|
120
116
|
|
|
121
117
|
.seed-app-screen__layer--tone_transparent-gradient_true:before {
|
|
122
118
|
content: "";
|
|
119
|
+
inset-inline: 0;
|
|
123
120
|
margin-bottom: calc(-1 * (66px + 400px + var(--seed-safe-area-top)));
|
|
124
121
|
height: calc(66px + 400px + var(--seed-safe-area-top));
|
|
125
122
|
pointer-events: none;
|
|
@@ -128,8 +125,6 @@
|
|
|
128
125
|
display: block;
|
|
129
126
|
position: sticky;
|
|
130
127
|
top: 0;
|
|
131
|
-
left: 0;
|
|
132
|
-
right: 0;
|
|
133
128
|
}
|
|
134
129
|
|
|
135
130
|
.seed-app-screen__layer--tone_transparent-gradient_true-layerOffsetBottom_none:before {
|
package/recipes/aspect-ratio.css
CHANGED
|
@@ -19,10 +19,7 @@
|
|
|
19
19
|
.seed-attachment-input-item__root::before {
|
|
20
20
|
content: "";
|
|
21
21
|
position: absolute;
|
|
22
|
-
|
|
23
|
-
right: 0;
|
|
24
|
-
bottom: 0;
|
|
25
|
-
left: 0;
|
|
22
|
+
inset: 0;
|
|
26
23
|
border-radius: inherit;
|
|
27
24
|
pointer-events: none;
|
|
28
25
|
-webkit-mask-image: linear-gradient(black, black), url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="12" fill="white"/></svg>');
|
|
@@ -95,10 +92,7 @@
|
|
|
95
92
|
}
|
|
96
93
|
.seed-attachment-input-item__backdrop {
|
|
97
94
|
position: absolute;
|
|
98
|
-
|
|
99
|
-
right: 0;
|
|
100
|
-
bottom: 0;
|
|
101
|
-
left: 0;
|
|
95
|
+
inset: 0;
|
|
102
96
|
display: flex;
|
|
103
97
|
flex-direction: column;
|
|
104
98
|
align-items: center;
|
|
@@ -191,8 +185,7 @@
|
|
|
191
185
|
}
|
|
192
186
|
.seed-attachment-input-item__root--type_general {
|
|
193
187
|
width: 160px;
|
|
194
|
-
padding-
|
|
195
|
-
padding-right: var(--seed-dimension-x4);
|
|
188
|
+
padding-inline: var(--seed-dimension-x4);
|
|
196
189
|
}
|
|
197
190
|
.seed-attachment-input-item__root--type_general::before {
|
|
198
191
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-weak);
|
|
@@ -248,14 +241,12 @@
|
|
|
248
241
|
.seed-attachment-input-item__badge--type_image {
|
|
249
242
|
position: absolute;
|
|
250
243
|
bottom: 0;
|
|
251
|
-
|
|
252
|
-
right: 0;
|
|
244
|
+
inset-inline: 0;
|
|
253
245
|
display: flex;
|
|
254
246
|
align-items: center;
|
|
255
247
|
justify-content: center;
|
|
256
248
|
height: var(--seed-dimension-x6);
|
|
257
|
-
padding-
|
|
258
|
-
padding-right: var(--seed-dimension-x1);
|
|
249
|
+
padding-inline: var(--seed-dimension-x1);
|
|
259
250
|
background-color: var(--seed-color-bg-overlay);
|
|
260
251
|
border-radius: 0 0 var(--seed-radius-r3) var(--seed-radius-r3);
|
|
261
252
|
}
|
|
@@ -207,8 +207,7 @@
|
|
|
207
207
|
|
|
208
208
|
.seed-attachment-input-item__root--type_general {
|
|
209
209
|
width: 160px;
|
|
210
|
-
padding-
|
|
211
|
-
padding-right: var(--seed-dimension-x4);
|
|
210
|
+
padding-inline: var(--seed-dimension-x4);
|
|
212
211
|
}
|
|
213
212
|
|
|
214
213
|
.seed-attachment-input-item__root--type_general:before {
|
|
@@ -255,18 +254,16 @@
|
|
|
255
254
|
}
|
|
256
255
|
|
|
257
256
|
.seed-attachment-input-item__badge--type_image {
|
|
257
|
+
bottom: 0;
|
|
258
258
|
height: var(--seed-dimension-x6);
|
|
259
|
-
padding-
|
|
260
|
-
padding-right: var(--seed-dimension-x1);
|
|
259
|
+
padding-inline: var(--seed-dimension-x1);
|
|
261
260
|
background-color: var(--seed-color-bg-overlay);
|
|
262
261
|
border-radius: 0 0 var(--seed-radius-r3) var(--seed-radius-r3);
|
|
263
262
|
justify-content: center;
|
|
264
263
|
align-items: center;
|
|
265
264
|
display: flex;
|
|
266
265
|
position: absolute;
|
|
267
|
-
|
|
268
|
-
left: 0;
|
|
269
|
-
right: 0;
|
|
266
|
+
inset-inline: 0;
|
|
270
267
|
}
|
|
271
268
|
|
|
272
269
|
.seed-attachment-input-item__badgeLabel--type_image {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: var(--seed-dimension-x2);
|
|
5
|
-
margin-
|
|
6
|
-
margin-right: calc(var(--seed-attachment-input-extend-x) * -1);
|
|
5
|
+
margin-inline: calc(var(--seed-attachment-input-extend-x) * -1);
|
|
7
6
|
}
|
|
8
7
|
.seed-attachment-input__dropzone {
|
|
9
8
|
display: flex;
|
|
@@ -14,10 +13,8 @@
|
|
|
14
13
|
gap: var(--seed-dimension-x2);
|
|
15
14
|
border: 1px dashed var(--seed-color-palette-gray-500);
|
|
16
15
|
border-radius: var(--seed-radius-r3);
|
|
17
|
-
padding-
|
|
18
|
-
|
|
19
|
-
margin-left: var(--seed-attachment-input-extend-x);
|
|
20
|
-
margin-right: var(--seed-attachment-input-extend-x);
|
|
16
|
+
padding-inline: var(--seed-dimension-x4);
|
|
17
|
+
margin-inline: var(--seed-attachment-input-extend-x);
|
|
21
18
|
transition: border-color 0.2s;
|
|
22
19
|
}
|
|
23
20
|
.seed-attachment-input__dropzone[data-dragging-over] {
|
|
@@ -43,8 +40,7 @@
|
|
|
43
40
|
overflow-x: auto;
|
|
44
41
|
padding-top: var(--seed-dimension-x1);
|
|
45
42
|
margin-top: calc(var(--seed-dimension-x1) * -1);
|
|
46
|
-
padding-
|
|
47
|
-
padding-right: var(--seed-attachment-input-extend-x);
|
|
43
|
+
padding-inline: var(--seed-attachment-input-extend-x);
|
|
48
44
|
}
|
|
49
45
|
.seed-attachment-input__itemGroup {
|
|
50
46
|
display: flex;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
@layer seed-components {
|
|
2
2
|
.seed-attachment-input__root {
|
|
3
3
|
gap: var(--seed-dimension-x2);
|
|
4
|
-
margin-
|
|
5
|
-
margin-right: calc(var(--seed-attachment-input-extend-x) * -1);
|
|
4
|
+
margin-inline: calc(var(--seed-attachment-input-extend-x) * -1);
|
|
6
5
|
flex-direction: column;
|
|
7
6
|
display: flex;
|
|
8
7
|
}
|
|
@@ -14,10 +13,8 @@
|
|
|
14
13
|
border: 1px dashed var(--seed-color-palette-gray-500);
|
|
15
14
|
border-radius: var(--seed-radius-r3);
|
|
16
15
|
height: 120px;
|
|
17
|
-
padding-
|
|
18
|
-
|
|
19
|
-
margin-left: var(--seed-attachment-input-extend-x);
|
|
20
|
-
margin-right: var(--seed-attachment-input-extend-x);
|
|
16
|
+
padding-inline: var(--seed-dimension-x4);
|
|
17
|
+
margin-inline: var(--seed-attachment-input-extend-x);
|
|
21
18
|
flex-direction: column;
|
|
22
19
|
transition: border-color .2s;
|
|
23
20
|
display: flex;
|
|
@@ -48,8 +45,7 @@
|
|
|
48
45
|
gap: var(--seed-dimension-x2);
|
|
49
46
|
padding-top: var(--seed-dimension-x1);
|
|
50
47
|
margin-top: calc(var(--seed-dimension-x1) * -1);
|
|
51
|
-
padding-
|
|
52
|
-
padding-right: var(--seed-attachment-input-extend-x);
|
|
48
|
+
padding-inline: var(--seed-attachment-input-extend-x);
|
|
53
49
|
display: flex;
|
|
54
50
|
overflow-x: auto;
|
|
55
51
|
}
|
package/recipes/avatar.css
CHANGED
|
@@ -12,10 +12,7 @@
|
|
|
12
12
|
.seed-avatar__root:after {
|
|
13
13
|
content: "";
|
|
14
14
|
position: absolute;
|
|
15
|
-
|
|
16
|
-
left: 0;
|
|
17
|
-
right: 0;
|
|
18
|
-
bottom: 0;
|
|
15
|
+
inset: 0;
|
|
19
16
|
pointer-events: none;
|
|
20
17
|
border-radius: var(--seed-radius-full);
|
|
21
18
|
box-shadow: inset 0 0 0 var(--avatar-stroke-width) var(--seed-color-stroke-neutral-subtle);
|
package/recipes/badge.css
CHANGED
|
@@ -16,10 +16,8 @@
|
|
|
16
16
|
.seed-badge__root--size_medium {
|
|
17
17
|
max-width: clamp(calc(108px * var(--seed-font-size-limit-min)), 7.5rem, calc(108px * var(--seed-font-size-limit-max)));
|
|
18
18
|
min-height: var(--seed-dimension-x5);
|
|
19
|
-
padding-
|
|
20
|
-
padding-
|
|
21
|
-
padding-top: var(--seed-dimension-x0_5);
|
|
22
|
-
padding-bottom: var(--seed-dimension-x0_5);
|
|
19
|
+
padding-inline: var(--seed-dimension-x1_5);
|
|
20
|
+
padding-block: var(--seed-dimension-x0_5);
|
|
23
21
|
border-radius: var(--seed-radius-r1);
|
|
24
22
|
font-size: var(--seed-font-size-t1);
|
|
25
23
|
line-height: var(--seed-line-height-t1)
|
|
@@ -27,10 +25,8 @@
|
|
|
27
25
|
.seed-badge__root--size_large {
|
|
28
26
|
max-width: clamp(calc(120px * var(--seed-font-size-limit-min)), 6.75rem, calc(120px * var(--seed-font-size-limit-max)));
|
|
29
27
|
min-height: var(--seed-dimension-x6);
|
|
30
|
-
padding-
|
|
31
|
-
padding-
|
|
32
|
-
padding-top: var(--seed-dimension-x1);
|
|
33
|
-
padding-bottom: var(--seed-dimension-x1);
|
|
28
|
+
padding-inline: var(--seed-dimension-x2);
|
|
29
|
+
padding-block: var(--seed-dimension-x1);
|
|
34
30
|
border-radius: var(--seed-radius-r1_5);
|
|
35
31
|
font-size: var(--seed-font-size-t2);
|
|
36
32
|
line-height: var(--seed-line-height-t2)
|