@seed-design/css 1.2.10 → 1.2.11
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 +3 -556
- package/all.layered.css +3 -556
- package/all.layered.min.css +1 -1
- package/all.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/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
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const vars: {
|
|
2
|
-
"
|
|
2
|
+
"themeIos": {
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"height": "44px",
|
|
@@ -19,6 +19,9 @@ export declare const vars: {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
+
/**
|
|
23
|
+
* color를 $color.bg.layer-basement 등으로 변경하여 사용할 수 있습니다.
|
|
24
|
+
*/
|
|
22
25
|
"toneLayer": {
|
|
23
26
|
"enabled": {
|
|
24
27
|
"root": {
|
|
@@ -34,9 +37,6 @@ export declare const vars: {
|
|
|
34
37
|
},
|
|
35
38
|
"toneTransparent": {
|
|
36
39
|
"enabled": {
|
|
37
|
-
"root": {
|
|
38
|
-
"color": "#00000000"
|
|
39
|
-
},
|
|
40
40
|
"title": {
|
|
41
41
|
"color": "var(--seed-color-palette-static-white)"
|
|
42
42
|
},
|
|
@@ -45,6 +45,25 @@ export declare const vars: {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
+
/**
|
|
49
|
+
* - `gradient=false`: false로 사용하는 것을 권장하지 않습니다. gradient 없이 사용하면 Top Navigation의 콘텐츠 가독성을 직접 확보해야 합니다. 스크린 배경 색상이 Top Navigation에 보이기를 원하는 경우 tone=layer를 사용하세요.
|
|
50
|
+
*/
|
|
51
|
+
"toneTransparentGradientFalse": {
|
|
52
|
+
"enabled": {
|
|
53
|
+
"root": {
|
|
54
|
+
"color": "#00000000"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"toneTransparentGradientTrue": {
|
|
59
|
+
"enabled": {
|
|
60
|
+
"root": {
|
|
61
|
+
"gradient": "#00000059 0%, #00000000 100%",
|
|
62
|
+
/** gradient가 표시될 때 하단 아래로 gradient가 확장되는 길이입니다. */
|
|
63
|
+
"bleedBottom": "var(--seed-dimension-x5)"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
48
67
|
"dividerTrue": {
|
|
49
68
|
"enabled": {
|
|
50
69
|
"root": {
|
|
@@ -53,6 +72,7 @@ export declare const vars: {
|
|
|
53
72
|
}
|
|
54
73
|
}
|
|
55
74
|
},
|
|
75
|
+
"dividerFalse": {},
|
|
56
76
|
"titleLayoutTitleOnly": {
|
|
57
77
|
"enabled": {
|
|
58
78
|
"title": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const vars = {
|
|
2
|
-
"
|
|
2
|
+
"themeIos": {
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"height": "44px",
|
|
@@ -33,9 +33,6 @@ export const vars = {
|
|
|
33
33
|
},
|
|
34
34
|
"toneTransparent": {
|
|
35
35
|
"enabled": {
|
|
36
|
-
"root": {
|
|
37
|
-
"color": "#00000000"
|
|
38
|
-
},
|
|
39
36
|
"title": {
|
|
40
37
|
"color": "var(--seed-color-palette-static-white)"
|
|
41
38
|
},
|
|
@@ -44,6 +41,21 @@ export const vars = {
|
|
|
44
41
|
}
|
|
45
42
|
}
|
|
46
43
|
},
|
|
44
|
+
"toneTransparentGradientFalse": {
|
|
45
|
+
"enabled": {
|
|
46
|
+
"root": {
|
|
47
|
+
"color": "#00000000"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"toneTransparentGradientTrue": {
|
|
52
|
+
"enabled": {
|
|
53
|
+
"root": {
|
|
54
|
+
"gradient": "#00000059 0%, #00000000 100%",
|
|
55
|
+
"bleedBottom": "var(--seed-dimension-x5)"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
47
59
|
"dividerTrue": {
|
|
48
60
|
"enabled": {
|
|
49
61
|
"root": {
|
|
@@ -52,6 +64,7 @@ export const vars = {
|
|
|
52
64
|
}
|
|
53
65
|
}
|
|
54
66
|
},
|
|
67
|
+
"dividerFalse": {},
|
|
55
68
|
"titleLayoutTitleOnly": {
|
|
56
69
|
"enabled": {
|
|
57
70
|
"title": {
|