@seed-design/rootage-artifacts 0.0.0-alpha-20260414104312

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.
Files changed (91) hide show
  1. package/README.md +10 -0
  2. package/collections.yaml +24 -0
  3. package/color.yaml +855 -0
  4. package/components/action-button.yaml +460 -0
  5. package/components/action-chip.yaml +150 -0
  6. package/components/action-sheet-close-button.yaml +45 -0
  7. package/components/action-sheet-item.yaml +52 -0
  8. package/components/action-sheet.yaml +115 -0
  9. package/components/avatar-stack.yaml +86 -0
  10. package/components/avatar.yaml +161 -0
  11. package/components/badge.yaml +210 -0
  12. package/components/bottom-sheet-close-button.yaml +38 -0
  13. package/components/bottom-sheet-handle.yaml +48 -0
  14. package/components/bottom-sheet.yaml +156 -0
  15. package/components/callout.yaml +213 -0
  16. package/components/checkbox-group.yaml +17 -0
  17. package/components/checkbox.yaml +59 -0
  18. package/components/checkmark.yaml +152 -0
  19. package/components/chip-tablist.yaml +28 -0
  20. package/components/chip.yaml +267 -0
  21. package/components/content-placeholder.yaml +45 -0
  22. package/components/contextual-floating-button.yaml +161 -0
  23. package/components/control-chip.yaml +169 -0
  24. package/components/dialog.yaml +131 -0
  25. package/components/divider.yaml +17 -0
  26. package/components/extended-action-sheet-close-button.yaml +48 -0
  27. package/components/extended-action-sheet-item.yaml +67 -0
  28. package/components/extended-action-sheet.yaml +134 -0
  29. package/components/extended-fab.yaml +109 -0
  30. package/components/fab.yaml +46 -0
  31. package/components/field-label.yaml +33 -0
  32. package/components/field.yaml +159 -0
  33. package/components/floating-action-button.yaml +99 -0
  34. package/components/help-bubble.yaml +127 -0
  35. package/components/identity-placeholder.yaml +23 -0
  36. package/components/image-frame-floater.yaml +18 -0
  37. package/components/image-frame-indicator.yaml +42 -0
  38. package/components/image-frame-reaction-button.yaml +60 -0
  39. package/components/image-frame.yaml +37 -0
  40. package/components/inline-banner.yaml +197 -0
  41. package/components/input-button.yaml +171 -0
  42. package/components/link-content.yaml +61 -0
  43. package/components/list-header.yaml +43 -0
  44. package/components/list-item.yaml +149 -0
  45. package/components/manner-temp-badge.yaml +102 -0
  46. package/components/manner-temp.yaml +80 -0
  47. package/components/menu-item.yaml +156 -0
  48. package/components/menu-sheet-close-button.yaml +48 -0
  49. package/components/menu-sheet-item.yaml +104 -0
  50. package/components/menu-sheet.yaml +136 -0
  51. package/components/menu.yaml +117 -0
  52. package/components/notification-badge.yaml +74 -0
  53. package/components/page-banner.yaml +302 -0
  54. package/components/progress-circle.yaml +105 -0
  55. package/components/radio-group.yaml +17 -0
  56. package/components/radio.yaml +59 -0
  57. package/components/radiomark.yaml +113 -0
  58. package/components/reaction-button.yaml +161 -0
  59. package/components/scroll-fog.yaml +23 -0
  60. package/components/segmented-control-indicator.yaml +38 -0
  61. package/components/segmented-control-item.yaml +76 -0
  62. package/components/segmented-control.yaml +23 -0
  63. package/components/select-box-checkmark.yaml +52 -0
  64. package/components/select-box-group.yaml +20 -0
  65. package/components/select-box.yaml +176 -0
  66. package/components/skeleton.yaml +73 -0
  67. package/components/slider-thumb.yaml +45 -0
  68. package/components/slider-tick.yaml +27 -0
  69. package/components/slider.yaml +169 -0
  70. package/components/snackbar.yaml +137 -0
  71. package/components/switch.yaml +66 -0
  72. package/components/switchmark.yaml +147 -0
  73. package/components/tab.yaml +57 -0
  74. package/components/tablist.yaml +64 -0
  75. package/components/tag-group-item.yaml +119 -0
  76. package/components/tag-group.yaml +40 -0
  77. package/components/text-button.yaml +46 -0
  78. package/components/text-input.yaml +234 -0
  79. package/components/toggle-button.yaml +201 -0
  80. package/components/top-navigation.yaml +106 -0
  81. package/components/typography.yaml +380 -0
  82. package/dimension.yaml +88 -0
  83. package/duration.yaml +29 -0
  84. package/font-size.yaml +77 -0
  85. package/font-weight.yaml +16 -0
  86. package/gradient.yaml +134 -0
  87. package/line-height.yaml +77 -0
  88. package/package.json +20 -0
  89. package/radius.yaml +40 -0
  90. package/shadow.yaml +63 -0
  91. package/timing-function.yaml +37 -0
@@ -0,0 +1,119 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: tag-group-item
5
+ name: Tag Group Item
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gap:
12
+ type: dimension
13
+ label:
14
+ properties:
15
+ fontSize:
16
+ type: dimension
17
+ lineHeight:
18
+ type: dimension
19
+ fontWeight:
20
+ type: number
21
+ color:
22
+ type: color
23
+ icon:
24
+ properties:
25
+ size:
26
+ type: dimension
27
+ color:
28
+ type: color
29
+ prefixIcon:
30
+ properties:
31
+ size:
32
+ type: dimension
33
+ color:
34
+ type: color
35
+ suffixIcon:
36
+ properties:
37
+ size:
38
+ type: dimension
39
+ color:
40
+ type: color
41
+ definitions:
42
+ base:
43
+ enabled:
44
+ root:
45
+ gap: $dimension.x0_5
46
+
47
+ size=t2:
48
+ enabled:
49
+ label:
50
+ fontSize: $font-size.t2
51
+ lineHeight: $line-height.t2
52
+ icon:
53
+ size: $dimension.x3 # might change to rem later
54
+ prefixIcon:
55
+ size: $dimension.x3 # might change to rem later
56
+ suffixIcon:
57
+ size: $dimension.x3 # might change to rem later
58
+ size=t3:
59
+ enabled:
60
+ label:
61
+ fontSize: $font-size.t3
62
+ lineHeight: $line-height.t3
63
+ icon:
64
+ size: 13px # might change to rem later
65
+ prefixIcon:
66
+ size: 13px # might change to rem later
67
+ suffixIcon:
68
+ size: 13px # might change to rem later
69
+ size=t4:
70
+ enabled:
71
+ label:
72
+ fontSize: $font-size.t4
73
+ lineHeight: $line-height.t4
74
+ icon:
75
+ size: $dimension.x3_5 # might change to rem later
76
+ prefixIcon:
77
+ size: $dimension.x3_5 # might change to rem later
78
+ suffixIcon:
79
+ size: $dimension.x3_5 # might change to rem later
80
+
81
+ weight=regular:
82
+ enabled:
83
+ label:
84
+ fontWeight: $font-weight.regular
85
+ weight=bold:
86
+ enabled:
87
+ label:
88
+ fontWeight: $font-weight.bold
89
+
90
+ tone=neutralSubtle:
91
+ enabled:
92
+ label:
93
+ color: $color.fg.neutral-subtle
94
+ icon:
95
+ color: $color.fg.neutral-subtle
96
+ prefixIcon:
97
+ color: $color.fg.neutral-subtle
98
+ suffixIcon:
99
+ color: $color.fg.neutral-subtle
100
+ tone=neutral:
101
+ enabled:
102
+ label:
103
+ color: $color.fg.neutral
104
+ icon:
105
+ color: $color.fg.neutral
106
+ prefixIcon:
107
+ color: $color.fg.neutral
108
+ suffixIcon:
109
+ color: $color.fg.neutral
110
+ tone=brand:
111
+ enabled:
112
+ label:
113
+ color: $color.fg.brand
114
+ icon:
115
+ color: $color.fg.brand
116
+ prefixIcon:
117
+ color: $color.fg.brand
118
+ suffixIcon:
119
+ color: $color.fg.brand
@@ -0,0 +1,40 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: tag-group
5
+ name: Tag Group
6
+ data:
7
+ schema:
8
+ slots:
9
+ separator:
10
+ properties:
11
+ color:
12
+ type: color
13
+ fontSize:
14
+ type: dimension
15
+ lineHeight:
16
+ type: dimension
17
+ fontWeight:
18
+ type: number
19
+ definitions:
20
+ base:
21
+ enabled:
22
+ separator:
23
+ color: $color.palette.gray-600
24
+ fontWeight: $font-weight.regular
25
+
26
+ size=t2:
27
+ enabled:
28
+ separator:
29
+ fontSize: $font-size.t2
30
+ lineHeight: $line-height.t2
31
+ size=t3:
32
+ enabled:
33
+ separator:
34
+ fontSize: $font-size.t3
35
+ lineHeight: $line-height.t3
36
+ size=t4:
37
+ enabled:
38
+ separator:
39
+ fontSize: $font-size.t4
40
+ lineHeight: $line-height.t4
@@ -0,0 +1,46 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: text-button
5
+ name: Text Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ color:
12
+ type: color
13
+ minHeight:
14
+ type: dimension
15
+ cornerRadius:
16
+ type: dimension
17
+ paddingX:
18
+ type: dimension
19
+ paddingY:
20
+ type: dimension
21
+ label:
22
+ properties:
23
+ color:
24
+ type: color
25
+ fontWeight:
26
+ type: number
27
+ fontSize:
28
+ type: dimension
29
+ lineHeight:
30
+ type: dimension
31
+ definitions:
32
+ base:
33
+ enabled:
34
+ root:
35
+ minHeight: $dimension.x9
36
+ paddingX: $dimension.x3_5
37
+ paddingY: $dimension.x2
38
+ cornerRadius: $radius.r2
39
+ label:
40
+ color: $color.fg.neutral-muted
41
+ fontSize: $font-size.t4
42
+ lineHeight: $line-height.t4
43
+ fontWeight: $font-weight.bold
44
+ pressed:
45
+ root:
46
+ color: $color.bg.layer-default-pressed
@@ -0,0 +1,234 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: text-input
5
+ name: Text Input
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ gap:
12
+ type: dimension
13
+ minHeight:
14
+ type: dimension
15
+ cornerRadius:
16
+ type: dimension
17
+ paddingX:
18
+ type: dimension
19
+ paddingY:
20
+ type: dimension
21
+ strokeWidth:
22
+ type: dimension
23
+ strokeBottomWidth:
24
+ type: dimension
25
+ strokeColor:
26
+ type: color
27
+ color:
28
+ type: color
29
+ strokeDuration:
30
+ type: duration
31
+ description: enabled 상태의 stroke 위에 focused/invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
32
+ strokeTimingFunction:
33
+ type: cubicBezier
34
+ value:
35
+ properties:
36
+ color:
37
+ type: color
38
+ fontWeight:
39
+ type: number
40
+ fontSize:
41
+ type: dimension
42
+ lineHeight:
43
+ type: dimension
44
+ placeholder:
45
+ properties:
46
+ color:
47
+ type: color
48
+ fontWeight:
49
+ type: number
50
+ fontSize:
51
+ type: dimension
52
+ lineHeight:
53
+ type: dimension
54
+ prefixText:
55
+ properties:
56
+ color:
57
+ type: color
58
+ fontWeight:
59
+ type: number
60
+ fontSize:
61
+ type: dimension
62
+ lineHeight:
63
+ type: dimension
64
+ prefixIcon:
65
+ properties:
66
+ color:
67
+ type: color
68
+ size:
69
+ type: dimension
70
+ suffixText:
71
+ properties:
72
+ color:
73
+ type: color
74
+ fontWeight:
75
+ type: number
76
+ fontSize:
77
+ type: dimension
78
+ lineHeight:
79
+ type: dimension
80
+ suffixIcon:
81
+ properties:
82
+ color:
83
+ type: color
84
+ size:
85
+ type: dimension
86
+ variants:
87
+ variant:
88
+ values:
89
+ outline:
90
+ description: 기본 스타일입니다.
91
+ underline:
92
+ description: 화면에 하나의 Input만 있는 경우 사용을 권장합니다.
93
+ definitions:
94
+ base:
95
+ enabled:
96
+ root:
97
+ strokeColor: $color.stroke.neutral-weak
98
+ strokeDuration: 0.1s
99
+ strokeTimingFunction: $timing-function.easing
100
+ value:
101
+ color: $color.fg.neutral
102
+ fontWeight: $font-weight.regular
103
+ placeholder:
104
+ color: $color.fg.placeholder
105
+ fontWeight: $font-weight.regular
106
+ prefixText:
107
+ color: $color.fg.neutral-muted
108
+ fontWeight: $font-weight.regular
109
+ prefixIcon:
110
+ color: $color.fg.neutral-muted
111
+ suffixText:
112
+ color: $color.fg.neutral-muted
113
+ fontWeight: $font-weight.regular
114
+ suffixIcon:
115
+ color: $color.fg.neutral-muted
116
+ focused:
117
+ root:
118
+ strokeColor: $color.stroke.neutral-contrast
119
+ invalid:
120
+ root:
121
+ strokeColor: $color.stroke.critical-solid
122
+ invalid,focused:
123
+ root:
124
+ strokeColor: $color.stroke.critical-solid # being obvious
125
+ disabled:
126
+ value:
127
+ color: $color.fg.disabled
128
+ placeholder:
129
+ color: $color.fg.disabled
130
+ variant=outline:
131
+ enabled:
132
+ root:
133
+ cornerRadius: $radius.r3
134
+ paddingX: $dimension.x4
135
+ strokeWidth: 1px
136
+ focused:
137
+ root:
138
+ strokeWidth: 2px
139
+ invalid:
140
+ root:
141
+ strokeWidth: 2px
142
+ readonly:
143
+ root:
144
+ color: $color.bg.disabled
145
+ disabled:
146
+ root:
147
+ color: $color.bg.disabled
148
+ variant=outline,size=large:
149
+ enabled:
150
+ root:
151
+ gap: $dimension.x2_5
152
+ minHeight: $dimension.x13
153
+ value:
154
+ fontSize: $font-size.t5
155
+ lineHeight: $line-height.t5
156
+ placeholder:
157
+ fontSize: $font-size.t5
158
+ lineHeight: $line-height.t5
159
+ prefixText:
160
+ fontSize: $font-size.t5
161
+ lineHeight: $line-height.t5
162
+ prefixIcon:
163
+ size: $dimension.x5
164
+ suffixText:
165
+ fontSize: $font-size.t5
166
+ lineHeight: $line-height.t5
167
+ suffixIcon:
168
+ size: $dimension.x5
169
+ variant=outline,size=medium:
170
+ enabled:
171
+ root:
172
+ gap: $dimension.x1_5
173
+ minHeight: $dimension.x10
174
+ value:
175
+ fontSize: $font-size.t4
176
+ lineHeight: $line-height.t4
177
+ placeholder:
178
+ fontSize: $font-size.t4
179
+ lineHeight: $line-height.t4
180
+ prefixText:
181
+ fontSize: $font-size.t4
182
+ lineHeight: $line-height.t4
183
+ prefixIcon:
184
+ size: $dimension.x4
185
+ suffixText:
186
+ fontSize: $font-size.t4
187
+ lineHeight: $line-height.t4
188
+ suffixIcon:
189
+ size: $dimension.x4
190
+
191
+ variant=underline:
192
+ enabled:
193
+ root:
194
+ gap: $dimension.x2_5
195
+ minHeight: $dimension.x10
196
+ strokeBottomWidth: 1px
197
+ value:
198
+ fontSize: $font-size.t6
199
+ lineHeight: $line-height.t6
200
+ placeholder:
201
+ fontSize: $font-size.t6
202
+ lineHeight: $line-height.t6
203
+ prefixText:
204
+ fontSize: $font-size.t6
205
+ lineHeight: $line-height.t6
206
+ prefixIcon:
207
+ size: $dimension.x6
208
+ suffixText:
209
+ fontSize: $font-size.t6
210
+ lineHeight: $line-height.t6
211
+ suffixIcon:
212
+ size: $dimension.x6
213
+ focused:
214
+ root:
215
+ strokeBottomWidth: 2px
216
+ invalid:
217
+ root:
218
+ strokeBottomWidth: 2px
219
+ readonly:
220
+ value:
221
+ color: $color.fg.neutral-muted
222
+ placeholder:
223
+ color: $color.fg.neutral-muted
224
+ type=singleline: {}
225
+ type=multiline,size=large:
226
+ enabled:
227
+ root:
228
+ minHeight: 95px
229
+ paddingY: $dimension.x3_5
230
+ type=multiline,size=medium:
231
+ enabled:
232
+ root:
233
+ minHeight: 90px
234
+ paddingY: 11px
@@ -0,0 +1,201 @@
1
+ # yaml-language-server: $schema=./schema.json
2
+ kind: ComponentSpec
3
+ metadata:
4
+ id: toggle-button
5
+ name: Toggle Button
6
+ data:
7
+ schema:
8
+ slots:
9
+ root:
10
+ properties:
11
+ colorDuration:
12
+ type: duration
13
+ colorTimingFunction:
14
+ type: cubicBezier
15
+ color:
16
+ type: color
17
+ minHeight:
18
+ type: dimension
19
+ cornerRadius:
20
+ type: dimension
21
+ gap:
22
+ type: dimension
23
+ paddingX:
24
+ type: dimension
25
+ paddingY:
26
+ type: dimension
27
+ label:
28
+ properties:
29
+ color:
30
+ type: color
31
+ fontWeight:
32
+ type: number
33
+ fontSize:
34
+ type: dimension
35
+ lineHeight:
36
+ type: dimension
37
+ prefixIcon:
38
+ properties:
39
+ color:
40
+ type: color
41
+ size:
42
+ type: dimension
43
+ suffixIcon:
44
+ properties:
45
+ color:
46
+ type: color
47
+ size:
48
+ type: dimension
49
+ progressCircle:
50
+ properties:
51
+ trackColor:
52
+ type: color
53
+ rangeColor:
54
+ type: color
55
+ size:
56
+ type: dimension
57
+ thickness:
58
+ type: dimension
59
+ variants:
60
+ variant:
61
+ values:
62
+ brandSolid:
63
+ description: 브랜드 컬러로 강조된 스타일입니다.
64
+ neutralWeak:
65
+ description: 기본적인 토글 스타일입니다.
66
+ definitions:
67
+ base:
68
+ enabled:
69
+ root:
70
+ colorDuration: $duration.color-transition
71
+ colorTimingFunction: $timing-function.easing
72
+ label:
73
+ fontWeight: $font-weight.bold
74
+ variant=brandSolid:
75
+ enabled:
76
+ root:
77
+ color: $color.bg.brand-solid
78
+ label:
79
+ color: $color.palette.static-white
80
+ prefixIcon:
81
+ color: $color.palette.static-white
82
+ suffixIcon:
83
+ color: $color.palette.static-white
84
+ progressCircle:
85
+ trackColor: $color.palette.static-white-alpha-300
86
+ rangeColor: $color.palette.static-white
87
+ pressed:
88
+ root:
89
+ color: $color.bg.brand-solid-pressed
90
+ selected:
91
+ root:
92
+ color: $color.bg.neutral-weak
93
+ label:
94
+ color: $color.fg.neutral
95
+ prefixIcon:
96
+ color: $color.fg.neutral
97
+ suffixIcon:
98
+ color: $color.fg.neutral
99
+ progressCircle:
100
+ trackColor: $color.palette.gray-500
101
+ rangeColor: $color.fg.neutral
102
+ selected,pressed:
103
+ root:
104
+ color: $color.bg.neutral-weak-pressed
105
+ disabled:
106
+ root:
107
+ color: $color.bg.disabled
108
+ label:
109
+ color: $color.fg.disabled
110
+ prefixIcon:
111
+ color: $color.fg.disabled
112
+ suffixIcon:
113
+ color: $color.fg.disabled
114
+ loading:
115
+ root:
116
+ color: $color.bg.brand-solid-pressed
117
+ selected,loading:
118
+ root:
119
+ color: $color.bg.neutral-weak-pressed
120
+ variant=neutralWeak:
121
+ enabled:
122
+ root:
123
+ color: $color.bg.neutral-weak
124
+ label:
125
+ color: $color.fg.neutral
126
+ prefixIcon:
127
+ color: $color.fg.neutral
128
+ suffixIcon:
129
+ color: $color.fg.neutral
130
+ progressCircle:
131
+ trackColor: $color.palette.gray-500
132
+ rangeColor: $color.fg.neutral
133
+ pressed:
134
+ root:
135
+ color: $color.bg.neutral-weak-pressed
136
+ selected:
137
+ root:
138
+ color: $color.bg.neutral-weak
139
+ label:
140
+ color: $color.fg.neutral
141
+ prefixIcon:
142
+ color: $color.fg.neutral
143
+ suffixIcon:
144
+ color: $color.fg.neutral
145
+ progressCircle:
146
+ trackColor: $color.palette.gray-500
147
+ rangeColor: $color.fg.neutral
148
+ selected,pressed:
149
+ root:
150
+ color: $color.bg.neutral-weak-pressed
151
+ disabled:
152
+ root:
153
+ color: $color.bg.disabled
154
+ label:
155
+ color: $color.fg.disabled
156
+ prefixIcon:
157
+ color: $color.fg.disabled
158
+ suffixIcon:
159
+ color: $color.fg.disabled
160
+ loading:
161
+ root:
162
+ color: $color.bg.neutral-weak-pressed
163
+ selected,loading:
164
+ root:
165
+ color: $color.bg.neutral-weak-pressed
166
+ size=xsmall:
167
+ enabled:
168
+ root:
169
+ minHeight: $dimension.x8
170
+ cornerRadius: $radius.full
171
+ gap: $dimension.x1
172
+ paddingX: $dimension.x3_5
173
+ paddingY: $dimension.x1_5
174
+ prefixIcon:
175
+ size: $dimension.x3_5
176
+ suffixIcon:
177
+ size: $dimension.x3_5
178
+ label:
179
+ fontSize: $font-size.t3
180
+ lineHeight: $line-height.t3
181
+ progressCircle:
182
+ size: 14px
183
+ thickness: 2px
184
+ size=small:
185
+ enabled:
186
+ root:
187
+ minHeight: $dimension.x9
188
+ cornerRadius: $radius.full
189
+ gap: $dimension.x1
190
+ paddingX: $dimension.x4
191
+ paddingY: $dimension.x2
192
+ prefixIcon:
193
+ size: $dimension.x3_5
194
+ suffixIcon:
195
+ size: $dimension.x3_5
196
+ label:
197
+ fontSize: $font-size.t4
198
+ lineHeight: $line-height.t4
199
+ progressCircle:
200
+ size: 14px
201
+ thickness: 2px