@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.
- package/README.md +10 -0
- package/collections.yaml +24 -0
- package/color.yaml +855 -0
- package/components/action-button.yaml +460 -0
- package/components/action-chip.yaml +150 -0
- package/components/action-sheet-close-button.yaml +45 -0
- package/components/action-sheet-item.yaml +52 -0
- package/components/action-sheet.yaml +115 -0
- package/components/avatar-stack.yaml +86 -0
- package/components/avatar.yaml +161 -0
- package/components/badge.yaml +210 -0
- package/components/bottom-sheet-close-button.yaml +38 -0
- package/components/bottom-sheet-handle.yaml +48 -0
- package/components/bottom-sheet.yaml +156 -0
- package/components/callout.yaml +213 -0
- package/components/checkbox-group.yaml +17 -0
- package/components/checkbox.yaml +59 -0
- package/components/checkmark.yaml +152 -0
- package/components/chip-tablist.yaml +28 -0
- package/components/chip.yaml +267 -0
- package/components/content-placeholder.yaml +45 -0
- package/components/contextual-floating-button.yaml +161 -0
- package/components/control-chip.yaml +169 -0
- package/components/dialog.yaml +131 -0
- package/components/divider.yaml +17 -0
- package/components/extended-action-sheet-close-button.yaml +48 -0
- package/components/extended-action-sheet-item.yaml +67 -0
- package/components/extended-action-sheet.yaml +134 -0
- package/components/extended-fab.yaml +109 -0
- package/components/fab.yaml +46 -0
- package/components/field-label.yaml +33 -0
- package/components/field.yaml +159 -0
- package/components/floating-action-button.yaml +99 -0
- package/components/help-bubble.yaml +127 -0
- package/components/identity-placeholder.yaml +23 -0
- package/components/image-frame-floater.yaml +18 -0
- package/components/image-frame-indicator.yaml +42 -0
- package/components/image-frame-reaction-button.yaml +60 -0
- package/components/image-frame.yaml +37 -0
- package/components/inline-banner.yaml +197 -0
- package/components/input-button.yaml +171 -0
- package/components/link-content.yaml +61 -0
- package/components/list-header.yaml +43 -0
- package/components/list-item.yaml +149 -0
- package/components/manner-temp-badge.yaml +102 -0
- package/components/manner-temp.yaml +80 -0
- package/components/menu-item.yaml +156 -0
- package/components/menu-sheet-close-button.yaml +48 -0
- package/components/menu-sheet-item.yaml +104 -0
- package/components/menu-sheet.yaml +136 -0
- package/components/menu.yaml +117 -0
- package/components/notification-badge.yaml +74 -0
- package/components/page-banner.yaml +302 -0
- package/components/progress-circle.yaml +105 -0
- package/components/radio-group.yaml +17 -0
- package/components/radio.yaml +59 -0
- package/components/radiomark.yaml +113 -0
- package/components/reaction-button.yaml +161 -0
- package/components/scroll-fog.yaml +23 -0
- package/components/segmented-control-indicator.yaml +38 -0
- package/components/segmented-control-item.yaml +76 -0
- package/components/segmented-control.yaml +23 -0
- package/components/select-box-checkmark.yaml +52 -0
- package/components/select-box-group.yaml +20 -0
- package/components/select-box.yaml +176 -0
- package/components/skeleton.yaml +73 -0
- package/components/slider-thumb.yaml +45 -0
- package/components/slider-tick.yaml +27 -0
- package/components/slider.yaml +169 -0
- package/components/snackbar.yaml +137 -0
- package/components/switch.yaml +66 -0
- package/components/switchmark.yaml +147 -0
- package/components/tab.yaml +57 -0
- package/components/tablist.yaml +64 -0
- package/components/tag-group-item.yaml +119 -0
- package/components/tag-group.yaml +40 -0
- package/components/text-button.yaml +46 -0
- package/components/text-input.yaml +234 -0
- package/components/toggle-button.yaml +201 -0
- package/components/top-navigation.yaml +106 -0
- package/components/typography.yaml +380 -0
- package/dimension.yaml +88 -0
- package/duration.yaml +29 -0
- package/font-size.yaml +77 -0
- package/font-weight.yaml +16 -0
- package/gradient.yaml +134 -0
- package/line-height.yaml +77 -0
- package/package.json +20 -0
- package/radius.yaml +40 -0
- package/shadow.yaml +63 -0
- package/timing-function.yaml +37 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: chip
|
|
5
|
+
name: Chip
|
|
6
|
+
lastUpdated: 25-07-17
|
|
7
|
+
data:
|
|
8
|
+
schema:
|
|
9
|
+
slots:
|
|
10
|
+
root:
|
|
11
|
+
properties:
|
|
12
|
+
color:
|
|
13
|
+
type: color
|
|
14
|
+
cornerRadius:
|
|
15
|
+
type: dimension
|
|
16
|
+
strokeColor:
|
|
17
|
+
type: color
|
|
18
|
+
strokeWidth:
|
|
19
|
+
type: dimension
|
|
20
|
+
height:
|
|
21
|
+
type: dimension
|
|
22
|
+
paddingX:
|
|
23
|
+
type: dimension
|
|
24
|
+
minWidth:
|
|
25
|
+
type: dimension
|
|
26
|
+
colorDuration:
|
|
27
|
+
type: duration
|
|
28
|
+
colorTimingFunction:
|
|
29
|
+
type: cubicBezier
|
|
30
|
+
opacity:
|
|
31
|
+
type: number
|
|
32
|
+
label:
|
|
33
|
+
properties:
|
|
34
|
+
color:
|
|
35
|
+
type: color
|
|
36
|
+
fontSize:
|
|
37
|
+
type: dimension
|
|
38
|
+
lineHeight:
|
|
39
|
+
type: dimension
|
|
40
|
+
fontWeight:
|
|
41
|
+
type: number
|
|
42
|
+
paddingX:
|
|
43
|
+
type: dimension
|
|
44
|
+
prefixIcon:
|
|
45
|
+
description: Icon, Avatar, Image를 넣을 수 있습니다. 들어오는 요소에 따라 좌측 여백이 달라집니다.
|
|
46
|
+
properties:
|
|
47
|
+
color:
|
|
48
|
+
type: color
|
|
49
|
+
size:
|
|
50
|
+
type: dimension
|
|
51
|
+
paddingLeft:
|
|
52
|
+
type: dimension
|
|
53
|
+
prefixAvatar:
|
|
54
|
+
properties:
|
|
55
|
+
size:
|
|
56
|
+
type: dimension
|
|
57
|
+
suffixIcon:
|
|
58
|
+
properties:
|
|
59
|
+
color:
|
|
60
|
+
type: color
|
|
61
|
+
size:
|
|
62
|
+
type: dimension
|
|
63
|
+
paddingRight:
|
|
64
|
+
type: dimension
|
|
65
|
+
icon:
|
|
66
|
+
properties:
|
|
67
|
+
color:
|
|
68
|
+
type: color
|
|
69
|
+
size:
|
|
70
|
+
type: dimension
|
|
71
|
+
variants:
|
|
72
|
+
variant:
|
|
73
|
+
values:
|
|
74
|
+
solid:
|
|
75
|
+
description: 기본 스타일입니다.
|
|
76
|
+
outlineStrong:
|
|
77
|
+
description: 명확한 구분이 필요한 경우 사용합니다.
|
|
78
|
+
outlineWeak:
|
|
79
|
+
description: Selection 사용 시 주목도가 낮은 스타일로 권장됩니다.
|
|
80
|
+
definitions:
|
|
81
|
+
base:
|
|
82
|
+
enabled:
|
|
83
|
+
root:
|
|
84
|
+
colorDuration: $duration.color-transition
|
|
85
|
+
colorTimingFunction: $timing-function.easing
|
|
86
|
+
cornerRadius: $radius.full
|
|
87
|
+
prefixIcon:
|
|
88
|
+
paddingLeft: $dimension.x1_5
|
|
89
|
+
prefixAvatar:
|
|
90
|
+
size: $dimension.x6
|
|
91
|
+
suffixIcon:
|
|
92
|
+
paddingRight: $dimension.x1_5
|
|
93
|
+
label:
|
|
94
|
+
fontWeight: $font-weight.medium
|
|
95
|
+
paddingX: $dimension.x1_5
|
|
96
|
+
icon:
|
|
97
|
+
color: $color.fg.neutral
|
|
98
|
+
|
|
99
|
+
variant=solid:
|
|
100
|
+
enabled:
|
|
101
|
+
root:
|
|
102
|
+
color: $color.bg.neutral-weak-alpha
|
|
103
|
+
label:
|
|
104
|
+
color: $color.fg.neutral
|
|
105
|
+
prefixIcon:
|
|
106
|
+
color: $color.fg.neutral
|
|
107
|
+
suffixIcon:
|
|
108
|
+
color: $color.fg.neutral
|
|
109
|
+
icon:
|
|
110
|
+
color: $color.fg.neutral
|
|
111
|
+
pressed:
|
|
112
|
+
root:
|
|
113
|
+
color: $color.bg.neutral-weak-alpha-pressed
|
|
114
|
+
disabled:
|
|
115
|
+
root:
|
|
116
|
+
opacity: 0.5
|
|
117
|
+
selected:
|
|
118
|
+
root:
|
|
119
|
+
color: $color.bg.neutral-inverted
|
|
120
|
+
label:
|
|
121
|
+
color: $color.fg.neutral-inverted
|
|
122
|
+
prefixIcon:
|
|
123
|
+
color: $color.fg.neutral-inverted
|
|
124
|
+
suffixIcon:
|
|
125
|
+
color: $color.fg.neutral-inverted
|
|
126
|
+
icon:
|
|
127
|
+
color: $color.fg.neutral-inverted
|
|
128
|
+
selected, pressed:
|
|
129
|
+
root:
|
|
130
|
+
color: $color.bg.neutral-inverted-pressed
|
|
131
|
+
selected, disabled:
|
|
132
|
+
root:
|
|
133
|
+
opacity: 0.5
|
|
134
|
+
|
|
135
|
+
variant=outlineStrong:
|
|
136
|
+
enabled:
|
|
137
|
+
root:
|
|
138
|
+
color: $color.bg.transparent
|
|
139
|
+
strokeColor: $color.stroke.neutral-muted
|
|
140
|
+
strokeWidth: 1px
|
|
141
|
+
label:
|
|
142
|
+
color: $color.fg.neutral
|
|
143
|
+
prefixIcon:
|
|
144
|
+
color: $color.fg.neutral
|
|
145
|
+
suffixIcon:
|
|
146
|
+
color: $color.fg.neutral
|
|
147
|
+
icon:
|
|
148
|
+
color: $color.fg.neutral
|
|
149
|
+
pressed:
|
|
150
|
+
root:
|
|
151
|
+
color: $color.bg.transparent-pressed
|
|
152
|
+
disabled:
|
|
153
|
+
root:
|
|
154
|
+
opacity: 0.5
|
|
155
|
+
selected:
|
|
156
|
+
root:
|
|
157
|
+
color: $color.bg.neutral-inverted
|
|
158
|
+
label:
|
|
159
|
+
color: $color.fg.neutral-inverted
|
|
160
|
+
prefixIcon:
|
|
161
|
+
color: $color.fg.neutral-inverted
|
|
162
|
+
suffixIcon:
|
|
163
|
+
color: $color.fg.neutral-inverted
|
|
164
|
+
icon:
|
|
165
|
+
color: $color.fg.neutral-inverted
|
|
166
|
+
selected, pressed:
|
|
167
|
+
root:
|
|
168
|
+
color: $color.bg.neutral-inverted-pressed
|
|
169
|
+
selected, disabled:
|
|
170
|
+
root:
|
|
171
|
+
opacity: 0.5
|
|
172
|
+
|
|
173
|
+
variant=outlineWeak:
|
|
174
|
+
enabled:
|
|
175
|
+
root:
|
|
176
|
+
color: $color.bg.transparent
|
|
177
|
+
strokeColor: $color.stroke.neutral-muted
|
|
178
|
+
strokeWidth: 1px
|
|
179
|
+
label:
|
|
180
|
+
color: $color.fg.neutral
|
|
181
|
+
prefixIcon:
|
|
182
|
+
color: $color.fg.neutral
|
|
183
|
+
suffixIcon:
|
|
184
|
+
color: $color.fg.neutral
|
|
185
|
+
icon:
|
|
186
|
+
color: $color.fg.neutral
|
|
187
|
+
pressed:
|
|
188
|
+
root:
|
|
189
|
+
color: $color.bg.transparent-pressed
|
|
190
|
+
disabled:
|
|
191
|
+
root:
|
|
192
|
+
opacity: 0.5
|
|
193
|
+
selected:
|
|
194
|
+
root:
|
|
195
|
+
strokeColor: $color.stroke.neutral-contrast
|
|
196
|
+
color: $color.bg.neutral-weak
|
|
197
|
+
selected, pressed:
|
|
198
|
+
root:
|
|
199
|
+
color: $color.bg.neutral-weak-pressed
|
|
200
|
+
selected, disabled:
|
|
201
|
+
root:
|
|
202
|
+
opacity: 0.5
|
|
203
|
+
|
|
204
|
+
size=small:
|
|
205
|
+
enabled:
|
|
206
|
+
root:
|
|
207
|
+
height: 32px
|
|
208
|
+
paddingX: $dimension.x1_5
|
|
209
|
+
label:
|
|
210
|
+
fontSize: $font-size.t4
|
|
211
|
+
lineHeight: $line-height.t4
|
|
212
|
+
prefixIcon:
|
|
213
|
+
size: $dimension.x3_5
|
|
214
|
+
suffixIcon:
|
|
215
|
+
size: $dimension.x3_5
|
|
216
|
+
prefixAvatar:
|
|
217
|
+
size: $dimension.x5
|
|
218
|
+
icon:
|
|
219
|
+
size: $dimension.x3_5
|
|
220
|
+
size=medium:
|
|
221
|
+
enabled:
|
|
222
|
+
root:
|
|
223
|
+
height: 36px
|
|
224
|
+
paddingX: $dimension.x2
|
|
225
|
+
label:
|
|
226
|
+
fontSize: $font-size.t4
|
|
227
|
+
lineHeight: $line-height.t4
|
|
228
|
+
prefixIcon:
|
|
229
|
+
size: $dimension.x4
|
|
230
|
+
suffixIcon:
|
|
231
|
+
size: $dimension.x3_5
|
|
232
|
+
prefixAvatar:
|
|
233
|
+
size: $dimension.x6
|
|
234
|
+
icon:
|
|
235
|
+
size: $dimension.x4
|
|
236
|
+
size=large:
|
|
237
|
+
enabled:
|
|
238
|
+
root:
|
|
239
|
+
height: 40px
|
|
240
|
+
paddingX: $dimension.x2_5
|
|
241
|
+
label:
|
|
242
|
+
fontSize: $font-size.t4
|
|
243
|
+
lineHeight: $line-height.t4
|
|
244
|
+
prefixIcon:
|
|
245
|
+
size: $dimension.x4
|
|
246
|
+
paddingLeft: $dimension.x1_5
|
|
247
|
+
suffixIcon:
|
|
248
|
+
size: $dimension.x4
|
|
249
|
+
prefixAvatar:
|
|
250
|
+
size: $dimension.x7
|
|
251
|
+
icon:
|
|
252
|
+
size: $dimension.x4
|
|
253
|
+
|
|
254
|
+
layout=withText: {}
|
|
255
|
+
|
|
256
|
+
size=small,layout=iconOnly:
|
|
257
|
+
enabled:
|
|
258
|
+
root:
|
|
259
|
+
minWidth: $dimension.x8
|
|
260
|
+
size=medium,layout=iconOnly:
|
|
261
|
+
enabled:
|
|
262
|
+
root:
|
|
263
|
+
minWidth: $dimension.x9
|
|
264
|
+
size=large,layout=iconOnly:
|
|
265
|
+
enabled:
|
|
266
|
+
root:
|
|
267
|
+
minWidth: $dimension.x10
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: content-placeholder
|
|
5
|
+
name: Content Placeholder
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
asset:
|
|
14
|
+
properties:
|
|
15
|
+
minWidth:
|
|
16
|
+
type: dimension
|
|
17
|
+
maxWidth:
|
|
18
|
+
type: dimension
|
|
19
|
+
heightFraction:
|
|
20
|
+
type: number
|
|
21
|
+
description: root slot 대한 asset slot의 높이 비율입니다.
|
|
22
|
+
color:
|
|
23
|
+
type: color
|
|
24
|
+
definitions:
|
|
25
|
+
base:
|
|
26
|
+
enabled:
|
|
27
|
+
root:
|
|
28
|
+
color: $color.palette.gray-200
|
|
29
|
+
asset:
|
|
30
|
+
minWidth: $dimension.x4
|
|
31
|
+
maxWidth: 64px
|
|
32
|
+
heightFraction: 0.5
|
|
33
|
+
color: $color.palette.gray-400
|
|
34
|
+
type=default: {}
|
|
35
|
+
type=buySell: {}
|
|
36
|
+
type=car: {}
|
|
37
|
+
type=commerce: {}
|
|
38
|
+
type=coupon: {}
|
|
39
|
+
type=food: {}
|
|
40
|
+
type=group: {}
|
|
41
|
+
type=image: {}
|
|
42
|
+
type=jobs: {}
|
|
43
|
+
type=business: {}
|
|
44
|
+
type=post: {}
|
|
45
|
+
type=realty: {}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: contextual-floating-button
|
|
5
|
+
name: Contextual Floating Button
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
cornerRadius:
|
|
12
|
+
type: dimension
|
|
13
|
+
shadow:
|
|
14
|
+
type: shadow
|
|
15
|
+
colorDuration:
|
|
16
|
+
type: duration
|
|
17
|
+
colorTimingFunction:
|
|
18
|
+
type: cubicBezier
|
|
19
|
+
color:
|
|
20
|
+
type: color
|
|
21
|
+
minHeight:
|
|
22
|
+
type: dimension
|
|
23
|
+
paddingX:
|
|
24
|
+
type: dimension
|
|
25
|
+
paddingY:
|
|
26
|
+
type: dimension
|
|
27
|
+
gap:
|
|
28
|
+
type: dimension
|
|
29
|
+
size:
|
|
30
|
+
type: dimension
|
|
31
|
+
progressCircle:
|
|
32
|
+
properties:
|
|
33
|
+
size:
|
|
34
|
+
type: dimension
|
|
35
|
+
thickness:
|
|
36
|
+
type: dimension
|
|
37
|
+
trackColor:
|
|
38
|
+
type: color
|
|
39
|
+
rangeColor:
|
|
40
|
+
type: color
|
|
41
|
+
label:
|
|
42
|
+
properties:
|
|
43
|
+
color:
|
|
44
|
+
type: color
|
|
45
|
+
fontSize:
|
|
46
|
+
type: dimension
|
|
47
|
+
lineHeight:
|
|
48
|
+
type: dimension
|
|
49
|
+
fontWeight:
|
|
50
|
+
type: number
|
|
51
|
+
prefixIcon:
|
|
52
|
+
properties:
|
|
53
|
+
color:
|
|
54
|
+
type: color
|
|
55
|
+
size:
|
|
56
|
+
type: dimension
|
|
57
|
+
icon:
|
|
58
|
+
properties:
|
|
59
|
+
color:
|
|
60
|
+
type: color
|
|
61
|
+
size:
|
|
62
|
+
type: dimension
|
|
63
|
+
variants:
|
|
64
|
+
variant:
|
|
65
|
+
values:
|
|
66
|
+
solid:
|
|
67
|
+
description: 배경과 대비되는 강조된 보조 액션으로 중요도 높은 행동 유도 시 적합합니다.
|
|
68
|
+
layer:
|
|
69
|
+
description: 시각적 부담 없이 부드럽게 액션을 유도합니다.
|
|
70
|
+
layout:
|
|
71
|
+
values:
|
|
72
|
+
withText:
|
|
73
|
+
description: label과 prefixIcon을 함께 표시합니다.
|
|
74
|
+
iconOnly:
|
|
75
|
+
description: icon만 표시합니다. 아이콘만으로 의미를 전달하기 때문에 접근성 레이블과 함께 사용해야 합니다.
|
|
76
|
+
definitions:
|
|
77
|
+
base:
|
|
78
|
+
enabled:
|
|
79
|
+
root:
|
|
80
|
+
cornerRadius: $radius.full
|
|
81
|
+
shadow: $shadow.s3
|
|
82
|
+
colorDuration: $duration.color-transition
|
|
83
|
+
colorTimingFunction: $timing-function.easing
|
|
84
|
+
progressCircle:
|
|
85
|
+
size: 16px
|
|
86
|
+
thickness: 2px
|
|
87
|
+
variant=solid:
|
|
88
|
+
enabled:
|
|
89
|
+
root:
|
|
90
|
+
color: $color.bg.neutral-inverted
|
|
91
|
+
progressCircle:
|
|
92
|
+
trackColor: $color.palette.gray-700
|
|
93
|
+
rangeColor: $color.fg.neutral-inverted
|
|
94
|
+
label:
|
|
95
|
+
color: $color.fg.neutral-inverted
|
|
96
|
+
prefixIcon:
|
|
97
|
+
color: $color.fg.neutral-inverted
|
|
98
|
+
icon:
|
|
99
|
+
color: $color.fg.neutral-inverted
|
|
100
|
+
pressed:
|
|
101
|
+
root:
|
|
102
|
+
color: $color.bg.neutral-inverted-pressed
|
|
103
|
+
disabled:
|
|
104
|
+
root:
|
|
105
|
+
color: $color.bg.disabled
|
|
106
|
+
label:
|
|
107
|
+
color: $color.fg.disabled
|
|
108
|
+
prefixIcon:
|
|
109
|
+
color: $color.fg.disabled
|
|
110
|
+
icon:
|
|
111
|
+
color: $color.fg.disabled
|
|
112
|
+
loading:
|
|
113
|
+
root:
|
|
114
|
+
color: $color.bg.neutral-inverted-pressed
|
|
115
|
+
variant=layer:
|
|
116
|
+
enabled:
|
|
117
|
+
root:
|
|
118
|
+
color: $color.bg.layer-floating
|
|
119
|
+
progressCircle:
|
|
120
|
+
trackColor: $color.palette.gray-500
|
|
121
|
+
rangeColor: $color.fg.neutral
|
|
122
|
+
label:
|
|
123
|
+
color: $color.fg.neutral
|
|
124
|
+
prefixIcon:
|
|
125
|
+
color: $color.fg.neutral
|
|
126
|
+
icon:
|
|
127
|
+
color: $color.fg.neutral
|
|
128
|
+
pressed:
|
|
129
|
+
root:
|
|
130
|
+
color: $color.bg.layer-floating-pressed
|
|
131
|
+
disabled:
|
|
132
|
+
root:
|
|
133
|
+
color: $color.bg.disabled
|
|
134
|
+
label:
|
|
135
|
+
color: $color.fg.disabled
|
|
136
|
+
prefixIcon:
|
|
137
|
+
color: $color.fg.disabled
|
|
138
|
+
icon:
|
|
139
|
+
color: $color.fg.disabled
|
|
140
|
+
loading:
|
|
141
|
+
root:
|
|
142
|
+
color: $color.bg.layer-floating-pressed
|
|
143
|
+
layout=withText:
|
|
144
|
+
enabled:
|
|
145
|
+
root:
|
|
146
|
+
minHeight: 36px
|
|
147
|
+
paddingX: $dimension.x3_5
|
|
148
|
+
paddingY: $dimension.x2
|
|
149
|
+
gap: $dimension.x1
|
|
150
|
+
label:
|
|
151
|
+
fontSize: $font-size.t4
|
|
152
|
+
lineHeight: $line-height.t4
|
|
153
|
+
fontWeight: $font-weight.medium
|
|
154
|
+
prefixIcon:
|
|
155
|
+
size: 16px
|
|
156
|
+
layout=iconOnly:
|
|
157
|
+
enabled:
|
|
158
|
+
root:
|
|
159
|
+
size: 44px
|
|
160
|
+
icon:
|
|
161
|
+
size: 22px
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: control-chip
|
|
5
|
+
name: Control Chip
|
|
6
|
+
deprecated: Use Chip.Toggle or Chip.Button instead.
|
|
7
|
+
lastUpdated: 25-07-16
|
|
8
|
+
data:
|
|
9
|
+
schema:
|
|
10
|
+
slots:
|
|
11
|
+
root:
|
|
12
|
+
properties:
|
|
13
|
+
strokeColor:
|
|
14
|
+
type: color
|
|
15
|
+
strokeWidth:
|
|
16
|
+
type: dimension
|
|
17
|
+
cornerRadius:
|
|
18
|
+
type: dimension
|
|
19
|
+
minHeight:
|
|
20
|
+
type: dimension
|
|
21
|
+
paddingY:
|
|
22
|
+
type: dimension
|
|
23
|
+
gap:
|
|
24
|
+
type: dimension
|
|
25
|
+
paddingX:
|
|
26
|
+
type: dimension
|
|
27
|
+
minWidth:
|
|
28
|
+
type: dimension
|
|
29
|
+
color:
|
|
30
|
+
type: color
|
|
31
|
+
label:
|
|
32
|
+
properties:
|
|
33
|
+
color:
|
|
34
|
+
type: color
|
|
35
|
+
fontWeight:
|
|
36
|
+
type: number
|
|
37
|
+
fontSize:
|
|
38
|
+
type: dimension
|
|
39
|
+
lineHeight:
|
|
40
|
+
type: dimension
|
|
41
|
+
prefixIcon:
|
|
42
|
+
properties:
|
|
43
|
+
color:
|
|
44
|
+
type: color
|
|
45
|
+
size:
|
|
46
|
+
type: dimension
|
|
47
|
+
suffixIcon:
|
|
48
|
+
properties:
|
|
49
|
+
color:
|
|
50
|
+
type: color
|
|
51
|
+
size:
|
|
52
|
+
type: dimension
|
|
53
|
+
icon:
|
|
54
|
+
properties:
|
|
55
|
+
color:
|
|
56
|
+
type: color
|
|
57
|
+
size:
|
|
58
|
+
type: dimension
|
|
59
|
+
count:
|
|
60
|
+
properties:
|
|
61
|
+
color:
|
|
62
|
+
type: color
|
|
63
|
+
fontWeight:
|
|
64
|
+
type: number
|
|
65
|
+
fontSize:
|
|
66
|
+
type: dimension
|
|
67
|
+
definitions:
|
|
68
|
+
base:
|
|
69
|
+
enabled:
|
|
70
|
+
root:
|
|
71
|
+
strokeColor: $color.stroke.neutral-muted
|
|
72
|
+
strokeWidth: 1px
|
|
73
|
+
cornerRadius: $radius.full
|
|
74
|
+
label:
|
|
75
|
+
color: $color.fg.neutral
|
|
76
|
+
fontWeight: $font-weight.medium
|
|
77
|
+
prefixIcon:
|
|
78
|
+
color: $color.fg.neutral
|
|
79
|
+
suffixIcon:
|
|
80
|
+
color: $color.fg.neutral-subtle
|
|
81
|
+
icon:
|
|
82
|
+
color: $color.fg.neutral
|
|
83
|
+
count:
|
|
84
|
+
color: $color.fg.neutral-muted
|
|
85
|
+
fontWeight: $font-weight.medium
|
|
86
|
+
pressed:
|
|
87
|
+
root:
|
|
88
|
+
color: $color.bg.layer-default-pressed
|
|
89
|
+
selected:
|
|
90
|
+
root:
|
|
91
|
+
strokeWidth: 0px
|
|
92
|
+
color: $color.bg.neutral-solid-muted
|
|
93
|
+
label:
|
|
94
|
+
color: $color.palette.static-white
|
|
95
|
+
fontWeight: $font-weight.bold
|
|
96
|
+
prefixIcon:
|
|
97
|
+
color: $color.palette.static-white
|
|
98
|
+
suffixIcon:
|
|
99
|
+
color: $color.palette.static-white
|
|
100
|
+
icon:
|
|
101
|
+
color: $color.palette.static-white
|
|
102
|
+
count:
|
|
103
|
+
color: $color.palette.static-white-alpha-800
|
|
104
|
+
selected, pressed:
|
|
105
|
+
root:
|
|
106
|
+
color: $color.bg.neutral-solid-muted-pressed
|
|
107
|
+
disabled:
|
|
108
|
+
root:
|
|
109
|
+
color: $color.bg.disabled
|
|
110
|
+
label:
|
|
111
|
+
color: $color.fg.disabled
|
|
112
|
+
prefixIcon:
|
|
113
|
+
color: $color.fg.disabled
|
|
114
|
+
suffixIcon:
|
|
115
|
+
color: $color.fg.disabled
|
|
116
|
+
icon:
|
|
117
|
+
color: $color.fg.disabled
|
|
118
|
+
count:
|
|
119
|
+
color: $color.fg.disabled
|
|
120
|
+
size=small:
|
|
121
|
+
enabled:
|
|
122
|
+
root:
|
|
123
|
+
minHeight: $dimension.x8
|
|
124
|
+
paddingY: $dimension.x1_5
|
|
125
|
+
gap: $dimension.x1
|
|
126
|
+
label:
|
|
127
|
+
fontSize: $font-size.t4
|
|
128
|
+
lineHeight: $line-height.t4
|
|
129
|
+
prefixIcon:
|
|
130
|
+
size: $dimension.x4
|
|
131
|
+
suffixIcon:
|
|
132
|
+
size: $dimension.x3_5
|
|
133
|
+
count:
|
|
134
|
+
fontSize: $font-size.t4
|
|
135
|
+
size=medium:
|
|
136
|
+
enabled:
|
|
137
|
+
root:
|
|
138
|
+
minHeight: $dimension.x9
|
|
139
|
+
paddingY: $dimension.x2
|
|
140
|
+
gap: $dimension.x1
|
|
141
|
+
label:
|
|
142
|
+
fontSize: $font-size.t4
|
|
143
|
+
lineHeight: $line-height.t4
|
|
144
|
+
prefixIcon:
|
|
145
|
+
size: $dimension.x4
|
|
146
|
+
suffixIcon:
|
|
147
|
+
size: $dimension.x3_5
|
|
148
|
+
count:
|
|
149
|
+
fontSize: $font-size.t4
|
|
150
|
+
size=small,layout=withText:
|
|
151
|
+
enabled:
|
|
152
|
+
root:
|
|
153
|
+
paddingX: $dimension.x3
|
|
154
|
+
size=small,layout=iconOnly:
|
|
155
|
+
enabled:
|
|
156
|
+
root:
|
|
157
|
+
minWidth: $dimension.x8
|
|
158
|
+
icon:
|
|
159
|
+
size: $dimension.x4
|
|
160
|
+
size=medium,layout=withText:
|
|
161
|
+
enabled:
|
|
162
|
+
root:
|
|
163
|
+
paddingX: $dimension.x3_5
|
|
164
|
+
size=medium,layout=iconOnly:
|
|
165
|
+
enabled:
|
|
166
|
+
root:
|
|
167
|
+
minWidth: $dimension.x9
|
|
168
|
+
icon:
|
|
169
|
+
size: $dimension.x4
|