@seed-design/css 1.2.10 → 1.2.12
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 +17 -556
- package/all.layered.css +17 -556
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/base.css +2 -0
- package/base.layered.css +2 -0
- package/base.layered.min.css +1 -1
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/app-bar-main.css +0 -103
- package/recipes/app-bar-main.layered.css +0 -100
- package/recipes/app-bar.css +3 -279
- package/recipes/app-bar.d.ts +1 -1
- package/recipes/app-bar.layered.css +3 -266
- package/recipes/app-bar.layered.mjs +4 -0
- package/recipes/app-bar.mjs +4 -0
- package/recipes/app-screen.css +0 -203
- package/recipes/app-screen.layered.css +0 -190
- package/recipes/chip.css +9 -0
- package/recipes/chip.layered.css +12 -0
- package/recipes/chip.layered.mjs +12 -0
- package/recipes/chip.mjs +12 -0
- package/vars/component/chip.d.ts +21 -1
- package/vars/component/chip.mjs +21 -1
- package/vars/component/list-item.d.ts +8 -3
- package/vars/component/list-item.mjs +6 -3
- package/vars/component/top-navigation-text-button.d.ts +10 -1
- package/vars/component/top-navigation-text-button.mjs +9 -1
- package/vars/component/top-navigation.d.ts +24 -4
- package/vars/component/top-navigation.mjs +17 -4
- package/vars/duration.d.ts +2 -1
- package/vars/duration.mjs +2 -1
- package/vars/timing-function.d.ts +2 -1
- package/vars/timing-function.mjs +2 -1
package/recipes/app-screen.css
CHANGED
|
@@ -58,146 +58,10 @@
|
|
|
58
58
|
.seed-app-screen__layer--transitionStyle_slideFromRightIOS {
|
|
59
59
|
transform: translate3d(0, 0, 0);
|
|
60
60
|
}
|
|
61
|
-
[data-global-transition-state=enter-active] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
62
|
-
animation: seed-enter;
|
|
63
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
64
|
-
animation-duration: 350ms;
|
|
65
|
-
--seed-enter-translate-x: 100%;
|
|
66
|
-
--seed-enter-translate-y: 0;
|
|
67
|
-
--seed-enter-opacity: 1;
|
|
68
|
-
--seed-enter-scale: 1;
|
|
69
|
-
transform: translate3d(var(--swipe-back-target, var(--swipe-back-displacement, 0)), 0, 0);
|
|
70
|
-
}
|
|
71
|
-
[data-global-transition-state=exit-active] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
72
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
73
|
-
animation: seed-exit;
|
|
74
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
75
|
-
animation-duration: 350ms;
|
|
76
|
-
animation-fill-mode: forwards;
|
|
77
|
-
--seed-exit-translate-x: 100%;
|
|
78
|
-
--seed-exit-translate-y: 0;
|
|
79
|
-
--seed-exit-opacity: 1;
|
|
80
|
-
--seed-exit-scale: 1;
|
|
81
|
-
}
|
|
82
|
-
[data-global-transition-state=enter-done] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
83
|
-
animation: seed-enter;
|
|
84
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
85
|
-
animation-duration: 350ms;
|
|
86
|
-
--seed-enter-translate-x: var(--swipe-back-displacement, 0);
|
|
87
|
-
--seed-enter-translate-y: 0;
|
|
88
|
-
--seed-enter-opacity: 1;
|
|
89
|
-
--seed-enter-scale: 1;
|
|
90
|
-
transform: translate3d(var(--swipe-back-target, var(--swipe-back-displacement, 0)), 0, 0);
|
|
91
|
-
}
|
|
92
|
-
[data-swipe-back-state=swiping] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
93
|
-
animation: none;
|
|
94
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
95
|
-
}
|
|
96
|
-
[data-swipe-back-state=canceling] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
97
|
-
animation: none !important;
|
|
98
|
-
transform: translate3d(0, 0, 0);
|
|
99
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
100
|
-
}
|
|
101
|
-
[data-swipe-back-state=completing] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
102
|
-
animation: none !important;
|
|
103
|
-
transform: translate3d(100%, 0, 0);
|
|
104
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
105
|
-
}
|
|
106
|
-
[data-global-transition-state=enter-active][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
107
|
-
transform: translate3d(0, 0, 0);
|
|
108
|
-
animation: seed-exit;
|
|
109
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
110
|
-
animation-duration: 350ms;
|
|
111
|
-
animation-fill-mode: forwards;
|
|
112
|
-
--seed-exit-translate-x: -30%;
|
|
113
|
-
--seed-exit-translate-y: 0;
|
|
114
|
-
--seed-exit-opacity: 1;
|
|
115
|
-
--seed-exit-scale: 1;
|
|
116
|
-
}
|
|
117
|
-
[data-global-transition-state=exit-active][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
118
|
-
animation: seed-enter;
|
|
119
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
120
|
-
animation-duration: 350ms;
|
|
121
|
-
--seed-enter-translate-x: calc(-30% + var(--swipe-back-displacement, 0) * 0.3);
|
|
122
|
-
--seed-enter-translate-y: 0;
|
|
123
|
-
--seed-enter-opacity: 1;
|
|
124
|
-
--seed-enter-scale: 1;
|
|
125
|
-
transform: translate3d(0, 0, 0);
|
|
126
|
-
}
|
|
127
|
-
[data-global-transition-state=enter-done][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
128
|
-
transform: translate3d(calc(-30% + var(--swipe-back-displacement, 0) * 0.3), 0, 0);
|
|
129
|
-
animation: seed-exit;
|
|
130
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
131
|
-
animation-duration: 350ms;
|
|
132
|
-
animation-fill-mode: forwards;
|
|
133
|
-
--seed-exit-translate-x: -30%;
|
|
134
|
-
--seed-exit-translate-y: 0;
|
|
135
|
-
--seed-exit-opacity: 1;
|
|
136
|
-
--seed-exit-scale: 1;
|
|
137
|
-
}
|
|
138
|
-
[data-swipe-back-state=swiping] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
139
|
-
animation: none;
|
|
140
|
-
transform: translate3d(calc(-30% + var(--swipe-back-displacement, 0) * 0.3), 0, 0);
|
|
141
|
-
}
|
|
142
|
-
[data-swipe-back-state=canceling] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
143
|
-
animation: none !important;
|
|
144
|
-
transform: translate3d(-30%, 0, 0);
|
|
145
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
146
|
-
}
|
|
147
|
-
[data-swipe-back-state=completing] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
148
|
-
animation: none !important;
|
|
149
|
-
transform: translate3d(0, 0, 0);
|
|
150
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
151
|
-
}
|
|
152
61
|
.seed-app-screen__dim--transitionStyle_slideFromRightIOS {
|
|
153
62
|
height: 100%;
|
|
154
63
|
background: var(--seed-color-bg-overlay);
|
|
155
64
|
}
|
|
156
|
-
[data-global-transition-state=enter-active] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
157
|
-
animation: seed-enter;
|
|
158
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
159
|
-
animation-duration: 350ms;
|
|
160
|
-
--seed-enter-translate-x: 0;
|
|
161
|
-
--seed-enter-translate-y: 0;
|
|
162
|
-
--seed-enter-opacity: 0;
|
|
163
|
-
--seed-enter-scale: 1;
|
|
164
|
-
opacity: 1;
|
|
165
|
-
}
|
|
166
|
-
[data-global-transition-state=exit-active] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
167
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
168
|
-
animation: seed-exit;
|
|
169
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
170
|
-
animation-duration: 350ms;
|
|
171
|
-
animation-fill-mode: forwards;
|
|
172
|
-
--seed-exit-translate-x: 0;
|
|
173
|
-
--seed-exit-translate-y: 0;
|
|
174
|
-
--seed-exit-opacity: 0;
|
|
175
|
-
--seed-exit-scale: 1;
|
|
176
|
-
}
|
|
177
|
-
[data-global-transition-state=enter-done] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
178
|
-
animation: seed-enter;
|
|
179
|
-
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
180
|
-
animation-duration: 350ms;
|
|
181
|
-
--seed-enter-translate-x: 0;
|
|
182
|
-
--seed-enter-translate-y: 0;
|
|
183
|
-
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
184
|
-
--seed-enter-scale: 1;
|
|
185
|
-
opacity: 1;
|
|
186
|
-
}
|
|
187
|
-
[data-swipe-back-state=swiping] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
188
|
-
animation: none;
|
|
189
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
190
|
-
}
|
|
191
|
-
[data-swipe-back-state=canceling] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
192
|
-
animation: none !important;
|
|
193
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
194
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
195
|
-
}
|
|
196
|
-
[data-swipe-back-state=completing] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
197
|
-
animation: none !important;
|
|
198
|
-
opacity: 0;
|
|
199
|
-
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
200
|
-
}
|
|
201
65
|
.seed-app-screen__root--transitionStyle_fadeFromBottomAndroid {
|
|
202
66
|
--z-index-dim: calc(var(--z-index-base) + 0);
|
|
203
67
|
--z-index-layer: calc(var(--z-index-base) + 3);
|
|
@@ -208,55 +72,9 @@
|
|
|
208
72
|
height: 160px;
|
|
209
73
|
background: linear-gradient(var(--seed-color-bg-overlay), rgba(0, 0, 0, 0));
|
|
210
74
|
}
|
|
211
|
-
[data-global-transition-state=enter-active] .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
212
|
-
animation: seed-enter;
|
|
213
|
-
animation-timing-function: cubic-bezier(0.23, 0.1, 0.32, 1);
|
|
214
|
-
animation-duration: 300ms;
|
|
215
|
-
--seed-enter-translate-x: 0;
|
|
216
|
-
--seed-enter-translate-y: 0;
|
|
217
|
-
--seed-enter-opacity: 0;
|
|
218
|
-
--seed-enter-scale: 1;
|
|
219
|
-
transform: translate3d(0, -8vh, 0);
|
|
220
|
-
opacity: 1;
|
|
221
|
-
}
|
|
222
|
-
[data-global-transition-state=exit-active] .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
223
|
-
transform: translate3d(0, -8vh, 0);
|
|
224
|
-
opacity: 1;
|
|
225
|
-
animation: seed-exit;
|
|
226
|
-
animation-timing-function: linear;
|
|
227
|
-
animation-duration: 150ms;
|
|
228
|
-
animation-fill-mode: forwards;
|
|
229
|
-
--seed-exit-translate-x: 0;
|
|
230
|
-
--seed-exit-translate-y: 0;
|
|
231
|
-
--seed-exit-opacity: 0;
|
|
232
|
-
--seed-exit-scale: 1;
|
|
233
|
-
}
|
|
234
75
|
.seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid {
|
|
235
76
|
transform: translate3d(0, 0, 0);
|
|
236
77
|
}
|
|
237
|
-
[data-global-transition-state=enter-active] .seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
238
|
-
animation: seed-enter;
|
|
239
|
-
animation-timing-function: cubic-bezier(0.23, 0.1, 0.32, 1);
|
|
240
|
-
animation-duration: 300ms;
|
|
241
|
-
--seed-enter-translate-x: 0;
|
|
242
|
-
--seed-enter-translate-y: 8vh;
|
|
243
|
-
--seed-enter-opacity: 0;
|
|
244
|
-
--seed-enter-scale: 1;
|
|
245
|
-
transform: translate3d(0, 0, 0);
|
|
246
|
-
opacity: 1;
|
|
247
|
-
}
|
|
248
|
-
[data-global-transition-state=exit-active] .seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
249
|
-
transform: translate3d(0, 0, 0);
|
|
250
|
-
opacity: 1;
|
|
251
|
-
animation: seed-exit;
|
|
252
|
-
animation-timing-function: linear;
|
|
253
|
-
animation-duration: 150ms;
|
|
254
|
-
animation-fill-mode: forwards;
|
|
255
|
-
--seed-exit-translate-x: 0;
|
|
256
|
-
--seed-exit-translate-y: 8vh;
|
|
257
|
-
--seed-exit-opacity: 0;
|
|
258
|
-
--seed-exit-scale: 1;
|
|
259
|
-
}
|
|
260
78
|
.seed-app-screen__root--transitionStyle_fadeIn {
|
|
261
79
|
--z-index-dim: calc(var(--z-index-base) + 0);
|
|
262
80
|
--z-index-layer: calc(var(--z-index-base) + 3);
|
|
@@ -266,27 +84,6 @@
|
|
|
266
84
|
.seed-app-screen__dim--transitionStyle_fadeIn {
|
|
267
85
|
display: none;
|
|
268
86
|
}
|
|
269
|
-
[data-global-transition-state=enter-active] .seed-app-screen__layer--transitionStyle_fadeIn[data-activity-is-top] {
|
|
270
|
-
animation: seed-enter;
|
|
271
|
-
animation-timing-function: ease-out;
|
|
272
|
-
animation-duration: 300ms;
|
|
273
|
-
--seed-enter-translate-x: 0;
|
|
274
|
-
--seed-enter-translate-y: 0;
|
|
275
|
-
--seed-enter-opacity: 0;
|
|
276
|
-
--seed-enter-scale: 1;
|
|
277
|
-
opacity: 1;
|
|
278
|
-
}
|
|
279
|
-
[data-global-transition-state=exit-active] .seed-app-screen__layer--transitionStyle_fadeIn[data-activity-is-top] {
|
|
280
|
-
opacity: 1;
|
|
281
|
-
animation: seed-exit;
|
|
282
|
-
animation-timing-function: ease-in;
|
|
283
|
-
animation-duration: 150ms;
|
|
284
|
-
animation-fill-mode: forwards;
|
|
285
|
-
--seed-exit-translate-x: 0;
|
|
286
|
-
--seed-exit-translate-y: 0;
|
|
287
|
-
--seed-exit-opacity: 0;
|
|
288
|
-
--seed-exit-scale: 1;
|
|
289
|
-
}
|
|
290
87
|
.seed-app-screen__layer--layerOffsetTop_safeArea {
|
|
291
88
|
padding-top: var(--seed-safe-area-top);
|
|
292
89
|
}
|
|
@@ -70,143 +70,11 @@
|
|
|
70
70
|
transform: translate3d(0, 0, 0);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
[data-global-transition-state="enter-active"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
74
|
-
--seed-enter-translate-x: 100%;
|
|
75
|
-
--seed-enter-translate-y: 0;
|
|
76
|
-
--seed-enter-opacity: 1;
|
|
77
|
-
--seed-enter-scale: 1;
|
|
78
|
-
transform: translate3d(var(--swipe-back-target, var(--swipe-back-displacement, 0)), 0, 0);
|
|
79
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
[data-global-transition-state="exit-active"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
83
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
84
|
-
--seed-exit-translate-x: 100%;
|
|
85
|
-
--seed-exit-translate-y: 0;
|
|
86
|
-
--seed-exit-opacity: 1;
|
|
87
|
-
--seed-exit-scale: 1;
|
|
88
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
[data-global-transition-state="enter-done"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
92
|
-
--seed-enter-translate-x: var(--swipe-back-displacement, 0);
|
|
93
|
-
--seed-enter-translate-y: 0;
|
|
94
|
-
--seed-enter-opacity: 1;
|
|
95
|
-
--seed-enter-scale: 1;
|
|
96
|
-
transform: translate3d(var(--swipe-back-target, var(--swipe-back-displacement, 0)), 0, 0);
|
|
97
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
[data-swipe-back-state="swiping"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
101
|
-
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
102
|
-
animation: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
[data-swipe-back-state="canceling"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
106
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
107
|
-
transform: translate3d(0, 0, 0);
|
|
108
|
-
animation: none !important;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
[data-swipe-back-state="completing"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
112
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
113
|
-
transform: translate3d(100%, 0, 0);
|
|
114
|
-
animation: none !important;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
[data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
118
|
-
--seed-exit-translate-x: -30%;
|
|
119
|
-
--seed-exit-translate-y: 0;
|
|
120
|
-
--seed-exit-opacity: 1;
|
|
121
|
-
--seed-exit-scale: 1;
|
|
122
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
123
|
-
transform: translate3d(0, 0, 0);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
[data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
127
|
-
--seed-enter-translate-x: calc(-30% + var(--swipe-back-displacement, 0) * .3);
|
|
128
|
-
--seed-enter-translate-y: 0;
|
|
129
|
-
--seed-enter-opacity: 1;
|
|
130
|
-
--seed-enter-scale: 1;
|
|
131
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
132
|
-
transform: translate3d(0, 0, 0);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
[data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
136
|
-
transform: translate3d(calc(-30% + var(--swipe-back-displacement, 0) * .3), 0, 0);
|
|
137
|
-
--seed-exit-translate-x: -30%;
|
|
138
|
-
--seed-exit-translate-y: 0;
|
|
139
|
-
--seed-exit-opacity: 1;
|
|
140
|
-
--seed-exit-scale: 1;
|
|
141
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
[data-swipe-back-state="swiping"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
145
|
-
transform: translate3d(calc(-30% + var(--swipe-back-displacement, 0) * .3), 0, 0);
|
|
146
|
-
animation: none;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
[data-swipe-back-state="canceling"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
150
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
151
|
-
transform: translate3d(-30%, 0, 0);
|
|
152
|
-
animation: none !important;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
[data-swipe-back-state="completing"] .seed-app-screen__layer--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
156
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
157
|
-
transform: translate3d(0, 0, 0);
|
|
158
|
-
animation: none !important;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
73
|
.seed-app-screen__dim--transitionStyle_slideFromRightIOS {
|
|
162
74
|
background: var(--seed-color-bg-overlay);
|
|
163
75
|
height: 100%;
|
|
164
76
|
}
|
|
165
77
|
|
|
166
|
-
[data-global-transition-state="enter-active"] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
167
|
-
--seed-enter-translate-x: 0;
|
|
168
|
-
--seed-enter-translate-y: 0;
|
|
169
|
-
--seed-enter-opacity: 0;
|
|
170
|
-
--seed-enter-scale: 1;
|
|
171
|
-
opacity: 1;
|
|
172
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
[data-global-transition-state="exit-active"] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
176
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
177
|
-
--seed-exit-translate-x: 0;
|
|
178
|
-
--seed-exit-translate-y: 0;
|
|
179
|
-
--seed-exit-opacity: 0;
|
|
180
|
-
--seed-exit-scale: 1;
|
|
181
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
[data-global-transition-state="enter-done"] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
185
|
-
--seed-enter-translate-x: 0;
|
|
186
|
-
--seed-enter-translate-y: 0;
|
|
187
|
-
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
188
|
-
--seed-enter-scale: 1;
|
|
189
|
-
opacity: 1;
|
|
190
|
-
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
[data-swipe-back-state="swiping"] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
194
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
195
|
-
animation: none;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
[data-swipe-back-state="canceling"] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
199
|
-
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0));
|
|
200
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
201
|
-
animation: none !important;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
[data-swipe-back-state="completing"] .seed-app-screen__dim--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
205
|
-
opacity: 0;
|
|
206
|
-
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
207
|
-
animation: none !important;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
78
|
.seed-app-screen__root--transitionStyle_fadeFromBottomAndroid {
|
|
211
79
|
--z-index-dim: calc(var(--z-index-base) + 0);
|
|
212
80
|
--z-index-layer: calc(var(--z-index-base) + 3);
|
|
@@ -219,50 +87,10 @@
|
|
|
219
87
|
height: 160px;
|
|
220
88
|
}
|
|
221
89
|
|
|
222
|
-
[data-global-transition-state="enter-active"] .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
223
|
-
--seed-enter-translate-x: 0;
|
|
224
|
-
--seed-enter-translate-y: 0;
|
|
225
|
-
--seed-enter-opacity: 0;
|
|
226
|
-
--seed-enter-scale: 1;
|
|
227
|
-
opacity: 1;
|
|
228
|
-
animation: .3s cubic-bezier(.23, .1, .32, 1) seed-enter;
|
|
229
|
-
transform: translate3d(0, -8vh, 0);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
[data-global-transition-state="exit-active"] .seed-app-screen__dim--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
233
|
-
opacity: 1;
|
|
234
|
-
--seed-exit-translate-x: 0;
|
|
235
|
-
--seed-exit-translate-y: 0;
|
|
236
|
-
--seed-exit-opacity: 0;
|
|
237
|
-
--seed-exit-scale: 1;
|
|
238
|
-
animation: .15s linear forwards seed-exit;
|
|
239
|
-
transform: translate3d(0, -8vh, 0);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
90
|
.seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid {
|
|
243
91
|
transform: translate3d(0, 0, 0);
|
|
244
92
|
}
|
|
245
93
|
|
|
246
|
-
[data-global-transition-state="enter-active"] .seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
247
|
-
--seed-enter-translate-x: 0;
|
|
248
|
-
--seed-enter-translate-y: 8vh;
|
|
249
|
-
--seed-enter-opacity: 0;
|
|
250
|
-
--seed-enter-scale: 1;
|
|
251
|
-
opacity: 1;
|
|
252
|
-
animation: .3s cubic-bezier(.23, .1, .32, 1) seed-enter;
|
|
253
|
-
transform: translate3d(0, 0, 0);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
[data-global-transition-state="exit-active"] .seed-app-screen__layer--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
257
|
-
opacity: 1;
|
|
258
|
-
--seed-exit-translate-x: 0;
|
|
259
|
-
--seed-exit-translate-y: 8vh;
|
|
260
|
-
--seed-exit-opacity: 0;
|
|
261
|
-
--seed-exit-scale: 1;
|
|
262
|
-
animation: .15s linear forwards seed-exit;
|
|
263
|
-
transform: translate3d(0, 0, 0);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
94
|
.seed-app-screen__root--transitionStyle_fadeIn {
|
|
267
95
|
--z-index-dim: calc(var(--z-index-base) + 0);
|
|
268
96
|
--z-index-layer: calc(var(--z-index-base) + 3);
|
|
@@ -274,24 +102,6 @@
|
|
|
274
102
|
display: none;
|
|
275
103
|
}
|
|
276
104
|
|
|
277
|
-
[data-global-transition-state="enter-active"] .seed-app-screen__layer--transitionStyle_fadeIn[data-activity-is-top] {
|
|
278
|
-
--seed-enter-translate-x: 0;
|
|
279
|
-
--seed-enter-translate-y: 0;
|
|
280
|
-
--seed-enter-opacity: 0;
|
|
281
|
-
--seed-enter-scale: 1;
|
|
282
|
-
opacity: 1;
|
|
283
|
-
animation: .3s ease-out seed-enter;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
[data-global-transition-state="exit-active"] .seed-app-screen__layer--transitionStyle_fadeIn[data-activity-is-top] {
|
|
287
|
-
opacity: 1;
|
|
288
|
-
--seed-exit-translate-x: 0;
|
|
289
|
-
--seed-exit-translate-y: 0;
|
|
290
|
-
--seed-exit-opacity: 0;
|
|
291
|
-
--seed-exit-scale: 1;
|
|
292
|
-
animation: .15s ease-in forwards seed-exit;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
105
|
.seed-app-screen__layer--layerOffsetTop_safeArea {
|
|
296
106
|
padding-top: var(--seed-safe-area-top);
|
|
297
107
|
}
|
package/recipes/chip.css
CHANGED
|
@@ -230,6 +230,15 @@
|
|
|
230
230
|
.seed-chip__suffixIcon--size_small {
|
|
231
231
|
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
232
232
|
}
|
|
233
|
+
.seed-chip__root--size_small-layout_withText {
|
|
234
|
+
min-width: 44px;
|
|
235
|
+
}
|
|
236
|
+
.seed-chip__root--size_medium-layout_withText {
|
|
237
|
+
min-width: var(--seed-dimension-x12);
|
|
238
|
+
}
|
|
239
|
+
.seed-chip__root--size_large-layout_withText {
|
|
240
|
+
min-width: var(--seed-dimension-x13);
|
|
241
|
+
}
|
|
233
242
|
.seed-chip__root--size_small-layout_iconOnly {
|
|
234
243
|
min-width: var(--seed-dimension-x8);
|
|
235
244
|
}
|
package/recipes/chip.layered.css
CHANGED
|
@@ -258,6 +258,18 @@
|
|
|
258
258
|
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
.seed-chip__root--size_small-layout_withText {
|
|
262
|
+
min-width: 44px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.seed-chip__root--size_medium-layout_withText {
|
|
266
|
+
min-width: var(--seed-dimension-x12);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.seed-chip__root--size_large-layout_withText {
|
|
270
|
+
min-width: var(--seed-dimension-x13);
|
|
271
|
+
}
|
|
272
|
+
|
|
261
273
|
.seed-chip__root--size_small-layout_iconOnly {
|
|
262
274
|
min-width: var(--seed-dimension-x8);
|
|
263
275
|
}
|
package/recipes/chip.layered.mjs
CHANGED
|
@@ -31,6 +31,18 @@ const defaultVariant = {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const compoundVariants = [
|
|
34
|
+
{
|
|
35
|
+
"size": "small",
|
|
36
|
+
"layout": "withText"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"size": "medium",
|
|
40
|
+
"layout": "withText"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"size": "large",
|
|
44
|
+
"layout": "withText"
|
|
45
|
+
},
|
|
34
46
|
{
|
|
35
47
|
"size": "small",
|
|
36
48
|
"layout": "iconOnly"
|
package/recipes/chip.mjs
CHANGED
|
@@ -31,6 +31,18 @@ const defaultVariant = {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
const compoundVariants = [
|
|
34
|
+
{
|
|
35
|
+
"size": "small",
|
|
36
|
+
"layout": "withText"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"size": "medium",
|
|
40
|
+
"layout": "withText"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"size": "large",
|
|
44
|
+
"layout": "withText"
|
|
45
|
+
},
|
|
34
46
|
{
|
|
35
47
|
"size": "small",
|
|
36
48
|
"layout": "iconOnly"
|
package/vars/component/chip.d.ts
CHANGED
|
@@ -276,7 +276,27 @@ export declare const vars: {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
|
-
"
|
|
279
|
+
"sizeSmallLayoutWithText": {
|
|
280
|
+
"enabled": {
|
|
281
|
+
"root": {
|
|
282
|
+
"minWidth": "44px"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"sizeMediumLayoutWithText": {
|
|
287
|
+
"enabled": {
|
|
288
|
+
"root": {
|
|
289
|
+
"minWidth": "var(--seed-dimension-x12)"
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
"sizeLargeLayoutWithText": {
|
|
294
|
+
"enabled": {
|
|
295
|
+
"root": {
|
|
296
|
+
"minWidth": "var(--seed-dimension-x13)"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
},
|
|
280
300
|
"sizeSmallLayoutIconOnly": {
|
|
281
301
|
"enabled": {
|
|
282
302
|
"root": {
|
package/vars/component/chip.mjs
CHANGED
|
@@ -258,7 +258,27 @@ export const vars = {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
|
-
"
|
|
261
|
+
"sizeSmallLayoutWithText": {
|
|
262
|
+
"enabled": {
|
|
263
|
+
"root": {
|
|
264
|
+
"minWidth": "44px"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"sizeMediumLayoutWithText": {
|
|
269
|
+
"enabled": {
|
|
270
|
+
"root": {
|
|
271
|
+
"minWidth": "var(--seed-dimension-x12)"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"sizeLargeLayoutWithText": {
|
|
276
|
+
"enabled": {
|
|
277
|
+
"root": {
|
|
278
|
+
"minWidth": "var(--seed-dimension-x13)"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
262
282
|
"sizeSmallLayoutIconOnly": {
|
|
263
283
|
"enabled": {
|
|
264
284
|
"root": {
|
|
@@ -10,9 +10,11 @@ export declare const vars: {
|
|
|
10
10
|
"marginDuration": "var(--seed-duration-d3)",
|
|
11
11
|
"marginTimingFunction": "var(--seed-timing-function-easing)",
|
|
12
12
|
"borderRadiusDuration": "var(--seed-duration-d3)",
|
|
13
|
-
"borderRadiusTimingFunction": "var(--seed-timing-function-easing)"
|
|
13
|
+
"borderRadiusTimingFunction": "var(--seed-timing-function-easing)",
|
|
14
|
+
"contentScaleDuration": "var(--seed-duration-pressed-scale)",
|
|
15
|
+
"contentScaleTimingFunction": "var(--seed-timing-function-pressed-scale)"
|
|
14
16
|
},
|
|
15
|
-
"
|
|
17
|
+
"body": {
|
|
16
18
|
"gap": "var(--seed-dimension-x0_5)",
|
|
17
19
|
"paddingRight": "var(--seed-dimension-x2_5)"
|
|
18
20
|
},
|
|
@@ -52,8 +54,11 @@ export declare const vars: {
|
|
|
52
54
|
"pressed": {
|
|
53
55
|
"root": {
|
|
54
56
|
"color": "var(--seed-color-bg-transparent-pressed)",
|
|
57
|
+
/** pressed 시 배경 레이어는 좌우 폭이 marginX만큼 줄어들고, 배경 레이어 위 요소들이 위치하는 레이아웃 레이어는 scale로 인해 전체적으로 줄어드는 형태로 두 레이어가 별개로 작동합니다. 이 값은 OS 동작 줄이기 설정의 영향을 받지 않습니다. */
|
|
55
58
|
"marginX": "var(--seed-dimension-x1_5)",
|
|
56
|
-
"cornerRadius": "var(--seed-dimension-x2_5)"
|
|
59
|
+
"cornerRadius": "var(--seed-dimension-x2_5)",
|
|
60
|
+
/** pressed 시 배경 레이어는 좌우 폭이 marginX만큼 줄어들고, 배경 레이어 위 요소들이 위치하는 레이아웃 레이어는 scale로 인해 전체적으로 줄어드는 형태로 두 레이어가 별개로 작동합니다. OS 동작 줄이기 등의 설정이 켜진 경우 이 값을 1로 변경하여 사용합니다. */
|
|
61
|
+
"contentScale": "0.97"
|
|
57
62
|
}
|
|
58
63
|
},
|
|
59
64
|
"highlighted": {
|
|
@@ -10,9 +10,11 @@ export const vars = {
|
|
|
10
10
|
"marginDuration": "var(--seed-duration-d3)",
|
|
11
11
|
"marginTimingFunction": "var(--seed-timing-function-easing)",
|
|
12
12
|
"borderRadiusDuration": "var(--seed-duration-d3)",
|
|
13
|
-
"borderRadiusTimingFunction": "var(--seed-timing-function-easing)"
|
|
13
|
+
"borderRadiusTimingFunction": "var(--seed-timing-function-easing)",
|
|
14
|
+
"contentScaleDuration": "var(--seed-duration-pressed-scale)",
|
|
15
|
+
"contentScaleTimingFunction": "var(--seed-timing-function-pressed-scale)"
|
|
14
16
|
},
|
|
15
|
-
"
|
|
17
|
+
"body": {
|
|
16
18
|
"gap": "var(--seed-dimension-x0_5)",
|
|
17
19
|
"paddingRight": "var(--seed-dimension-x2_5)"
|
|
18
20
|
},
|
|
@@ -53,7 +55,8 @@ export const vars = {
|
|
|
53
55
|
"root": {
|
|
54
56
|
"color": "var(--seed-color-bg-transparent-pressed)",
|
|
55
57
|
"marginX": "var(--seed-dimension-x1_5)",
|
|
56
|
-
"cornerRadius": "var(--seed-dimension-x2_5)"
|
|
58
|
+
"cornerRadius": "var(--seed-dimension-x2_5)",
|
|
59
|
+
"contentScale": "0.97"
|
|
57
60
|
}
|
|
58
61
|
},
|
|
59
62
|
"highlighted": {
|
|
@@ -39,5 +39,14 @@ export declare const vars: {
|
|
|
39
39
|
"color": "var(--seed-color-fg-disabled)"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"themeIos": {
|
|
44
|
+
"enabled": {
|
|
45
|
+
"root": {
|
|
46
|
+
/** 버튼 레이블이 길어졌을 때 ellipsis 말줄임을 시작할 최대 너비입니다. Top Navigation main slot이 충분한 공간을 차지할 수 있도록 하기 위해 폰트 스케일링의 영향을 받지 않는 px 값을 사용합니다. */
|
|
47
|
+
"maxWidth": "96px"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"themeAndroid": {}
|
|
43
52
|
}
|