@seed-design/rootage-artifacts 2.2.0 → 2.3.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.
@@ -0,0 +1,451 @@
1
+ {
2
+ "kind": "ComponentSpec",
3
+ "metadata": {
4
+ "id": "select-trigger",
5
+ "name": "Select Trigger"
6
+ },
7
+ "data": {
8
+ "id": "select-trigger",
9
+ "name": "Select Trigger",
10
+ "schema": {
11
+ "slots": {
12
+ "root": {
13
+ "properties": {
14
+ "height": {
15
+ "type": "dimension"
16
+ },
17
+ "cornerRadius": {
18
+ "type": "dimension"
19
+ },
20
+ "gap": {
21
+ "type": "dimension"
22
+ },
23
+ "paddingX": {
24
+ "type": "dimension"
25
+ },
26
+ "strokeWidth": {
27
+ "type": "dimension"
28
+ },
29
+ "strokeColor": {
30
+ "type": "color"
31
+ },
32
+ "color": {
33
+ "type": "color"
34
+ },
35
+ "colorDuration": {
36
+ "type": "duration"
37
+ },
38
+ "colorTimingFunction": {
39
+ "type": "cubicBezier"
40
+ },
41
+ "strokeDuration": {
42
+ "type": "duration",
43
+ "description": "enabled 상태의 stroke 위에 invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다."
44
+ },
45
+ "strokeTimingFunction": {
46
+ "type": "cubicBezier"
47
+ }
48
+ }
49
+ },
50
+ "value": {
51
+ "properties": {
52
+ "fontSize": {
53
+ "type": "dimension"
54
+ },
55
+ "lineHeight": {
56
+ "type": "dimension"
57
+ },
58
+ "fontWeight": {
59
+ "type": "number"
60
+ },
61
+ "color": {
62
+ "type": "color"
63
+ }
64
+ }
65
+ },
66
+ "placeholder": {
67
+ "properties": {
68
+ "fontSize": {
69
+ "type": "dimension"
70
+ },
71
+ "lineHeight": {
72
+ "type": "dimension"
73
+ },
74
+ "fontWeight": {
75
+ "type": "number"
76
+ },
77
+ "color": {
78
+ "type": "color"
79
+ }
80
+ }
81
+ },
82
+ "prefixIcon": {
83
+ "properties": {
84
+ "size": {
85
+ "type": "dimension"
86
+ },
87
+ "color": {
88
+ "type": "color"
89
+ }
90
+ }
91
+ },
92
+ "suffixIcon": {
93
+ "properties": {
94
+ "size": {
95
+ "type": "dimension"
96
+ },
97
+ "color": {
98
+ "type": "color"
99
+ },
100
+ "openRotateDuration": {
101
+ "type": "duration"
102
+ },
103
+ "openRotateTimingFunction": {
104
+ "type": "cubicBezier"
105
+ },
106
+ "closeRotateDuration": {
107
+ "type": "duration"
108
+ },
109
+ "closeRotateTimingFunction": {
110
+ "type": "cubicBezier"
111
+ }
112
+ }
113
+ }
114
+ },
115
+ "variants": {
116
+ "size": {
117
+ "values": {
118
+ "large": {
119
+ "description": "뷰포트 너비와 관계없이 사용할 수 있습니다."
120
+ },
121
+ "medium": {
122
+ "description": "Breakpoint `lg` 이상(데스크톱)에서만 사용하고, 모바일에서는 사용하지 않습니다. 정밀한 선택이 가능한 마우스 입력 환경에서 사이즈를 더 작게 만들고자 할 때 사용합니다."
123
+ }
124
+ },
125
+ "defaultValue": "large"
126
+ }
127
+ }
128
+ },
129
+ "definitions": [
130
+ {
131
+ "variants": {},
132
+ "definitions": [
133
+ {
134
+ "states": [
135
+ "enabled"
136
+ ],
137
+ "slots": {
138
+ "root": {
139
+ "strokeWidth": {
140
+ "type": "dimension",
141
+ "value": {
142
+ "value": 1,
143
+ "unit": "px"
144
+ }
145
+ },
146
+ "strokeColor": {
147
+ "type": "color",
148
+ "value": "$color.stroke.neutral-weak"
149
+ },
150
+ "color": {
151
+ "type": "color",
152
+ "value": "$color.bg.transparent"
153
+ },
154
+ "colorDuration": {
155
+ "type": "duration",
156
+ "value": "$duration.color-transition"
157
+ },
158
+ "colorTimingFunction": {
159
+ "type": "cubicBezier",
160
+ "value": "$timing-function.easing"
161
+ },
162
+ "strokeDuration": {
163
+ "type": "duration",
164
+ "value": {
165
+ "value": 0.1,
166
+ "unit": "s"
167
+ }
168
+ },
169
+ "strokeTimingFunction": {
170
+ "type": "cubicBezier",
171
+ "value": "$timing-function.easing"
172
+ }
173
+ },
174
+ "value": {
175
+ "fontWeight": {
176
+ "type": "number",
177
+ "value": "$font-weight.regular"
178
+ },
179
+ "color": {
180
+ "type": "color",
181
+ "value": "$color.fg.neutral"
182
+ }
183
+ },
184
+ "placeholder": {
185
+ "fontWeight": {
186
+ "type": "number",
187
+ "value": "$font-weight.regular"
188
+ },
189
+ "color": {
190
+ "type": "color",
191
+ "value": "$color.fg.placeholder"
192
+ }
193
+ },
194
+ "prefixIcon": {
195
+ "color": {
196
+ "type": "color",
197
+ "value": "$color.fg.neutral-muted"
198
+ }
199
+ },
200
+ "suffixIcon": {
201
+ "color": {
202
+ "type": "color",
203
+ "value": "$color.fg.neutral-muted"
204
+ },
205
+ "openRotateDuration": {
206
+ "type": "duration",
207
+ "value": "$duration.d3"
208
+ },
209
+ "openRotateTimingFunction": {
210
+ "type": "cubicBezier",
211
+ "value": "$timing-function.easing"
212
+ },
213
+ "closeRotateDuration": {
214
+ "type": "duration",
215
+ "value": "$duration.d2"
216
+ },
217
+ "closeRotateTimingFunction": {
218
+ "type": "cubicBezier",
219
+ "value": "$timing-function.easing"
220
+ }
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "states": [
226
+ "pressed"
227
+ ],
228
+ "slots": {
229
+ "root": {
230
+ "color": {
231
+ "type": "color",
232
+ "value": "$color.bg.transparent-pressed"
233
+ }
234
+ }
235
+ }
236
+ },
237
+ {
238
+ "states": [
239
+ "invalid"
240
+ ],
241
+ "slots": {
242
+ "root": {
243
+ "strokeWidth": {
244
+ "type": "dimension",
245
+ "value": {
246
+ "value": 2,
247
+ "unit": "px"
248
+ }
249
+ },
250
+ "strokeColor": {
251
+ "type": "color",
252
+ "value": "$color.stroke.critical-solid"
253
+ }
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "states": [
259
+ "disabled"
260
+ ],
261
+ "slots": {
262
+ "root": {
263
+ "color": {
264
+ "type": "color",
265
+ "value": "$color.bg.disabled"
266
+ }
267
+ },
268
+ "value": {
269
+ "color": {
270
+ "type": "color",
271
+ "value": "$color.fg.disabled"
272
+ }
273
+ },
274
+ "placeholder": {
275
+ "color": {
276
+ "type": "color",
277
+ "value": "$color.fg.disabled"
278
+ }
279
+ },
280
+ "prefixIcon": {
281
+ "color": {
282
+ "type": "color",
283
+ "value": "$color.fg.disabled"
284
+ }
285
+ },
286
+ "suffixIcon": {
287
+ "color": {
288
+ "type": "color",
289
+ "value": "$color.fg.disabled"
290
+ }
291
+ }
292
+ }
293
+ },
294
+ {
295
+ "states": [
296
+ "readonly"
297
+ ],
298
+ "slots": {
299
+ "root": {
300
+ "color": {
301
+ "type": "color",
302
+ "value": "$color.bg.disabled"
303
+ }
304
+ },
305
+ "value": {
306
+ "color": {
307
+ "type": "color",
308
+ "value": "$color.fg.neutral"
309
+ }
310
+ },
311
+ "placeholder": {
312
+ "color": {
313
+ "type": "color",
314
+ "value": "$color.fg.placeholder"
315
+ }
316
+ }
317
+ }
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ "variants": {
323
+ "size": "large"
324
+ },
325
+ "definitions": [
326
+ {
327
+ "states": [
328
+ "enabled"
329
+ ],
330
+ "slots": {
331
+ "root": {
332
+ "height": {
333
+ "type": "dimension",
334
+ "value": "$dimension.x13"
335
+ },
336
+ "gap": {
337
+ "type": "dimension",
338
+ "value": "$dimension.x2_5"
339
+ },
340
+ "cornerRadius": {
341
+ "type": "dimension",
342
+ "value": "$radius.r3"
343
+ },
344
+ "paddingX": {
345
+ "type": "dimension",
346
+ "value": "$dimension.x4"
347
+ }
348
+ },
349
+ "value": {
350
+ "fontSize": {
351
+ "type": "dimension",
352
+ "value": "$font-size.t5"
353
+ },
354
+ "lineHeight": {
355
+ "type": "dimension",
356
+ "value": "$line-height.t5"
357
+ }
358
+ },
359
+ "placeholder": {
360
+ "fontSize": {
361
+ "type": "dimension",
362
+ "value": "$font-size.t5"
363
+ },
364
+ "lineHeight": {
365
+ "type": "dimension",
366
+ "value": "$line-height.t5"
367
+ }
368
+ },
369
+ "prefixIcon": {
370
+ "size": {
371
+ "type": "dimension",
372
+ "value": "$dimension.x5"
373
+ }
374
+ },
375
+ "suffixIcon": {
376
+ "size": {
377
+ "type": "dimension",
378
+ "value": "$dimension.x5"
379
+ }
380
+ }
381
+ }
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ "variants": {
387
+ "size": "medium"
388
+ },
389
+ "definitions": [
390
+ {
391
+ "states": [
392
+ "enabled"
393
+ ],
394
+ "slots": {
395
+ "root": {
396
+ "height": {
397
+ "type": "dimension",
398
+ "value": "$dimension.x10"
399
+ },
400
+ "gap": {
401
+ "type": "dimension",
402
+ "value": "$dimension.x2"
403
+ },
404
+ "cornerRadius": {
405
+ "type": "dimension",
406
+ "value": "$radius.r2"
407
+ },
408
+ "paddingX": {
409
+ "type": "dimension",
410
+ "value": "$dimension.x3_5"
411
+ }
412
+ },
413
+ "value": {
414
+ "fontSize": {
415
+ "type": "dimension",
416
+ "value": "$font-size.t4"
417
+ },
418
+ "lineHeight": {
419
+ "type": "dimension",
420
+ "value": "$line-height.t4"
421
+ }
422
+ },
423
+ "placeholder": {
424
+ "fontSize": {
425
+ "type": "dimension",
426
+ "value": "$font-size.t4"
427
+ },
428
+ "lineHeight": {
429
+ "type": "dimension",
430
+ "value": "$line-height.t4"
431
+ }
432
+ },
433
+ "prefixIcon": {
434
+ "size": {
435
+ "type": "dimension",
436
+ "value": "$dimension.x4"
437
+ }
438
+ },
439
+ "suffixIcon": {
440
+ "size": {
441
+ "type": "dimension",
442
+ "value": "$dimension.x4"
443
+ }
444
+ }
445
+ }
446
+ }
447
+ ]
448
+ }
449
+ ]
450
+ }
451
+ }