@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,471 @@
1
+ {
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": [
133
+ {
134
+ "variants": {},
135
+ "definitions": [
136
+ {
137
+ "states": [
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": [
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": [
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": [
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": [
269
+ "readonly"
270
+ ],
271
+ "slots": {
272
+ "root": {
273
+ "color": {
274
+ "type": "color",
275
+ "value": "$color.bg.disabled"
276
+ }
277
+ }
278
+ }
279
+ },
280
+ {
281
+ "states": [
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": [
330
+ {
331
+ "states": [
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": [
402
+ {
403
+ "states": [
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
+ }
@@ -0,0 +1,2 @@
1
+ import artifact from "./segmented-text-input.json" with { type: "json" };
2
+ export default artifact;
@@ -1,6 +1,6 @@
1
1
  declare const artifact: {
2
2
  "name": "Rootage";
3
- "version": "3.1.0";
3
+ "version": "3.3.0";
4
4
  "resources": readonly [
5
5
  {
6
6
  "path": "/collections.json";
@@ -239,6 +239,9 @@ declare const artifact: {
239
239
  {
240
240
  "path": "/components/segmented-control.json";
241
241
  },
242
+ {
243
+ "path": "/components/segmented-text-input.json";
244
+ },
242
245
  {
243
246
  "path": "/components/select-box-checkmark.json";
244
247
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Rootage",
3
- "version": "3.1.0",
3
+ "version": "3.3.0",
4
4
  "resources": [
5
5
  {
6
6
  "path": "/collections.json"
@@ -239,6 +239,9 @@
239
239
  {
240
240
  "path": "/components/segmented-control.json"
241
241
  },
242
+ {
243
+ "path": "/components/segmented-text-input.json"
244
+ },
242
245
  {
243
246
  "path": "/components/select-box-checkmark.json"
244
247
  },
package/color.yaml CHANGED
@@ -673,13 +673,13 @@ data:
673
673
  $color.bg.neutral-weak-alpha:
674
674
  description: 일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak-alpha) `$color.layer.basement` 위에서 컴포넌트의 가시성을 보장하기 위해 사용됩니다.
675
675
  values:
676
- theme-light: $color.palette.static-black-alpha-200
677
- theme-dark: $color.palette.static-white-alpha-200
676
+ theme-light: $color.palette.gray-alpha-200
677
+ theme-dark: $color.palette.gray-alpha-200
678
678
  $color.bg.neutral-weak-alpha-pressed:
679
679
  description: 일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak-alpha-pressed) `$color.layer.basement` 위에서 컴포넌트의 가시성을 보장하기 위해 사용됩니다.
680
680
  values:
681
- theme-light: $color.palette.static-black-alpha-300
682
- theme-dark: $color.palette.static-white-alpha-300
681
+ theme-light: $color.palette.gray-alpha-300
682
+ theme-dark: $color.palette.gray-alpha-300
683
683
  $color.bg.neutral-weak-pressed:
684
684
  description: 일반적인 콘텐츠에 사용되는 기본 색상입니다. (weak-pressed)
685
685
  values:
@@ -806,8 +806,8 @@ data:
806
806
  $color.stroke.neutral-weak:
807
807
  description: 요소의 외곽을 그려 형태를 만드는 선입니다. 카드, 인풋 필드, 아웃라인 버튼처럼 선 자체가 요소의 경계를 정의할 때 사용됩니다. (weak)
808
808
  values:
809
- theme-light: $color.palette.gray-400
810
- theme-dark: $color.palette.gray-400
809
+ theme-light: $color.palette.gray-alpha-400
810
+ theme-dark: $color.palette.gray-alpha-400
811
811
  $color.stroke.positive-solid:
812
812
  description: 성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (solid)
813
813
  values:
@@ -250,7 +250,7 @@ data:
250
250
  enabled:
251
251
  root:
252
252
  color: $color.bg.transparent
253
- strokeColor: $color.stroke.neutral-muted
253
+ strokeColor: $color.stroke.neutral-weak
254
254
  strokeWidth: 1px
255
255
  label:
256
256
  color: $color.fg.neutral
@@ -269,7 +269,7 @@ data:
269
269
  disabled:
270
270
  root:
271
271
  color: $color.bg.transparent
272
- strokeColor: $color.stroke.neutral-muted
272
+ strokeColor: $color.stroke.neutral-weak
273
273
  label:
274
274
  color: $color.fg.disabled
275
275
  icon:
@@ -285,7 +285,7 @@ data:
285
285
  enabled:
286
286
  root:
287
287
  color: $color.bg.transparent
288
- strokeColor: $color.stroke.neutral-muted
288
+ strokeColor: $color.stroke.neutral-weak
289
289
  strokeWidth: 1px
290
290
  label:
291
291
  color: $color.fg.brand
@@ -304,7 +304,7 @@ data:
304
304
  disabled:
305
305
  root:
306
306
  color: $color.bg.transparent
307
- strokeColor: $color.stroke.neutral-muted
307
+ strokeColor: $color.stroke.neutral-weak
308
308
  label:
309
309
  color: $color.fg.disabled
310
310
  icon:
@@ -125,7 +125,7 @@ data:
125
125
  tone=neutral, variant=outline:
126
126
  enabled:
127
127
  root:
128
- strokeColor: $color.stroke.neutral-muted
128
+ strokeColor: $color.stroke.neutral-weak
129
129
  label:
130
130
  color: $color.fg.neutral-muted
131
131
 
@@ -67,7 +67,7 @@ data:
67
67
  disabled:
68
68
  root:
69
69
  color: $color.bg.disabled
70
- strokeColor: $color.stroke.neutral-muted
70
+ strokeColor: $color.stroke.neutral-weak
71
71
  icon:
72
72
  color: $color.fg.disabled
73
73
  disabled,selected:
@@ -142,7 +142,7 @@ data:
142
142
  enabled:
143
143
  root:
144
144
  color: $color.bg.transparent
145
- strokeColor: $color.stroke.neutral-muted
145
+ strokeColor: $color.stroke.neutral-weak
146
146
  strokeWidth: 1px
147
147
  label:
148
148
  color: $color.fg.neutral
@@ -180,7 +180,7 @@ data:
180
180
  enabled:
181
181
  root:
182
182
  color: $color.bg.transparent
183
- strokeColor: $color.stroke.neutral-muted
183
+ strokeColor: $color.stroke.neutral-weak
184
184
  strokeWidth: 1px
185
185
  label:
186
186
  color: $color.fg.neutral
@@ -71,7 +71,7 @@ data:
71
71
  base:
72
72
  enabled:
73
73
  root:
74
- strokeColor: $color.stroke.neutral-muted
74
+ strokeColor: $color.stroke.neutral-weak
75
75
  strokeWidth: 1px
76
76
  color: $color.bg.transparent
77
77
  colorDuration: $duration.color-transition