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