@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,156 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: bottom-sheet
|
|
5
|
+
name: Bottom Sheet
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
backdrop:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
enterDuration:
|
|
14
|
+
type: duration
|
|
15
|
+
enterTimingFunction:
|
|
16
|
+
type: cubicBezier
|
|
17
|
+
enterOpacity:
|
|
18
|
+
type: number
|
|
19
|
+
exitDuration:
|
|
20
|
+
type: duration
|
|
21
|
+
exitTimingFunction:
|
|
22
|
+
type: cubicBezier
|
|
23
|
+
exitOpacity:
|
|
24
|
+
type: number
|
|
25
|
+
content:
|
|
26
|
+
properties:
|
|
27
|
+
color:
|
|
28
|
+
type: color
|
|
29
|
+
maxWidth:
|
|
30
|
+
type: dimension
|
|
31
|
+
topCornerRadius:
|
|
32
|
+
type: dimension
|
|
33
|
+
enterDuration:
|
|
34
|
+
type: duration
|
|
35
|
+
enterTimingFunction:
|
|
36
|
+
type: cubicBezier
|
|
37
|
+
exitDuration:
|
|
38
|
+
type: duration
|
|
39
|
+
exitTimingFunction:
|
|
40
|
+
type: cubicBezier
|
|
41
|
+
header:
|
|
42
|
+
properties:
|
|
43
|
+
gap:
|
|
44
|
+
type: dimension
|
|
45
|
+
paddingTop:
|
|
46
|
+
type: dimension
|
|
47
|
+
paddingBottom:
|
|
48
|
+
type: dimension
|
|
49
|
+
body:
|
|
50
|
+
properties:
|
|
51
|
+
paddingX:
|
|
52
|
+
type: dimension
|
|
53
|
+
footer:
|
|
54
|
+
properties:
|
|
55
|
+
paddingX:
|
|
56
|
+
type: dimension
|
|
57
|
+
paddingTop:
|
|
58
|
+
type: dimension
|
|
59
|
+
paddingBottom:
|
|
60
|
+
type: dimension
|
|
61
|
+
title:
|
|
62
|
+
properties:
|
|
63
|
+
color:
|
|
64
|
+
type: color
|
|
65
|
+
fontSize:
|
|
66
|
+
type: dimension
|
|
67
|
+
lineHeight:
|
|
68
|
+
type: dimension
|
|
69
|
+
fontWeight:
|
|
70
|
+
type: number
|
|
71
|
+
paddingLeft:
|
|
72
|
+
type: dimension
|
|
73
|
+
paddingRight:
|
|
74
|
+
type: dimension
|
|
75
|
+
description:
|
|
76
|
+
properties:
|
|
77
|
+
color:
|
|
78
|
+
type: color
|
|
79
|
+
fontSize:
|
|
80
|
+
type: dimension
|
|
81
|
+
lineHeight:
|
|
82
|
+
type: dimension
|
|
83
|
+
fontWeight:
|
|
84
|
+
type: number
|
|
85
|
+
paddingX:
|
|
86
|
+
type: dimension
|
|
87
|
+
closeButton:
|
|
88
|
+
properties:
|
|
89
|
+
fromTop:
|
|
90
|
+
type: dimension
|
|
91
|
+
fromRight:
|
|
92
|
+
type: dimension
|
|
93
|
+
definitions:
|
|
94
|
+
base:
|
|
95
|
+
enabled:
|
|
96
|
+
backdrop:
|
|
97
|
+
color: $color.bg.overlay
|
|
98
|
+
enterDuration: $duration.d6
|
|
99
|
+
enterTimingFunction: $timing-function.enter
|
|
100
|
+
enterOpacity: 0
|
|
101
|
+
exitDuration: $duration.d4
|
|
102
|
+
exitTimingFunction: $timing-function.exit
|
|
103
|
+
exitOpacity: 0
|
|
104
|
+
content:
|
|
105
|
+
color: $color.bg.layer-floating
|
|
106
|
+
maxWidth: 640px
|
|
107
|
+
topCornerRadius: $radius.r6
|
|
108
|
+
enterDuration: $duration.d6
|
|
109
|
+
enterTimingFunction: $timing-function.enter-expressive
|
|
110
|
+
# Do we need translateY definition here?
|
|
111
|
+
exitDuration: $duration.d4
|
|
112
|
+
exitTimingFunction: $timing-function.exit
|
|
113
|
+
header:
|
|
114
|
+
gap: $dimension.x2
|
|
115
|
+
paddingTop: $dimension.x6
|
|
116
|
+
paddingBottom: $dimension.x4
|
|
117
|
+
body:
|
|
118
|
+
paddingX: $dimension.spacing-x.global-gutter
|
|
119
|
+
footer:
|
|
120
|
+
paddingX: $dimension.spacing-x.global-gutter
|
|
121
|
+
paddingTop: $dimension.x3
|
|
122
|
+
paddingBottom: $dimension.x4
|
|
123
|
+
title:
|
|
124
|
+
color: $color.fg.neutral
|
|
125
|
+
fontSize: $font-size.t8
|
|
126
|
+
lineHeight: $line-height.t8
|
|
127
|
+
fontWeight: $font-weight.bold
|
|
128
|
+
description:
|
|
129
|
+
color: $color.fg.neutral-muted
|
|
130
|
+
fontSize: $font-size.t5
|
|
131
|
+
lineHeight: $line-height.t5
|
|
132
|
+
fontWeight: $font-weight.regular
|
|
133
|
+
paddingX: $dimension.spacing-x.global-gutter
|
|
134
|
+
closeButton:
|
|
135
|
+
fromTop: $dimension.x6
|
|
136
|
+
fromRight: $dimension.x4
|
|
137
|
+
headerAlignment=left,closeButton=true:
|
|
138
|
+
enabled:
|
|
139
|
+
title:
|
|
140
|
+
paddingRight: 56px
|
|
141
|
+
paddingLeft: $dimension.spacing-x.global-gutter
|
|
142
|
+
headerAlignment=left,closeButton=false:
|
|
143
|
+
enabled:
|
|
144
|
+
title:
|
|
145
|
+
paddingLeft: $dimension.spacing-x.global-gutter
|
|
146
|
+
paddingRight: $dimension.spacing-x.global-gutter
|
|
147
|
+
headerAlignment=center,closeButton=true:
|
|
148
|
+
enabled:
|
|
149
|
+
title:
|
|
150
|
+
paddingLeft: 56px
|
|
151
|
+
paddingRight: 56px
|
|
152
|
+
headerAlignment=center,closeButton=false:
|
|
153
|
+
enabled:
|
|
154
|
+
title:
|
|
155
|
+
paddingLeft: $dimension.spacing-x.global-gutter
|
|
156
|
+
paddingRight: $dimension.spacing-x.global-gutter
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: callout
|
|
5
|
+
name: Callout
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
paddingX:
|
|
12
|
+
type: dimension
|
|
13
|
+
paddingY:
|
|
14
|
+
type: dimension
|
|
15
|
+
gap:
|
|
16
|
+
type: dimension
|
|
17
|
+
cornerRadius:
|
|
18
|
+
type: dimension
|
|
19
|
+
minHeight:
|
|
20
|
+
type: dimension
|
|
21
|
+
color:
|
|
22
|
+
type: color
|
|
23
|
+
gradient:
|
|
24
|
+
type: gradient
|
|
25
|
+
prefixIcon:
|
|
26
|
+
description: 아이콘은 Fill 타입 사용을 권장합니다.
|
|
27
|
+
properties:
|
|
28
|
+
size:
|
|
29
|
+
type: dimension
|
|
30
|
+
color:
|
|
31
|
+
type: color
|
|
32
|
+
title:
|
|
33
|
+
properties:
|
|
34
|
+
fontSize:
|
|
35
|
+
type: dimension
|
|
36
|
+
lineHeight:
|
|
37
|
+
type: dimension
|
|
38
|
+
fontWeight:
|
|
39
|
+
type: number
|
|
40
|
+
color:
|
|
41
|
+
type: color
|
|
42
|
+
description:
|
|
43
|
+
properties:
|
|
44
|
+
fontSize:
|
|
45
|
+
type: dimension
|
|
46
|
+
lineHeight:
|
|
47
|
+
type: dimension
|
|
48
|
+
fontWeight:
|
|
49
|
+
type: number
|
|
50
|
+
color:
|
|
51
|
+
type: color
|
|
52
|
+
link:
|
|
53
|
+
description: root가 클릭 영역인 Actionable Callout에서는 표시를 권장하지 않습니다.
|
|
54
|
+
properties:
|
|
55
|
+
fontSize:
|
|
56
|
+
type: dimension
|
|
57
|
+
lineHeight:
|
|
58
|
+
type: dimension
|
|
59
|
+
fontWeight:
|
|
60
|
+
type: number
|
|
61
|
+
color:
|
|
62
|
+
type: color
|
|
63
|
+
suffixIcon:
|
|
64
|
+
properties:
|
|
65
|
+
size:
|
|
66
|
+
type: dimension
|
|
67
|
+
targetSize:
|
|
68
|
+
type: dimension
|
|
69
|
+
color:
|
|
70
|
+
type: color
|
|
71
|
+
variants:
|
|
72
|
+
tone:
|
|
73
|
+
values:
|
|
74
|
+
neutral:
|
|
75
|
+
description: 일반적인 정보를 전달합니다.
|
|
76
|
+
informative:
|
|
77
|
+
description: 유용한 정보를 제공합니다.
|
|
78
|
+
positive:
|
|
79
|
+
description: 긍정적인 상태를 나타냅니다.
|
|
80
|
+
warning:
|
|
81
|
+
description: 주의가 필요한 상태를 나타냅니다.
|
|
82
|
+
critical:
|
|
83
|
+
description: 중요한 문제를 나타냅니다.
|
|
84
|
+
magic:
|
|
85
|
+
description: AI 기능을 나타냅니다.
|
|
86
|
+
definitions:
|
|
87
|
+
base:
|
|
88
|
+
enabled:
|
|
89
|
+
root:
|
|
90
|
+
paddingX: $dimension.x3_5
|
|
91
|
+
paddingY: $dimension.x3_5
|
|
92
|
+
gap: $dimension.x3
|
|
93
|
+
cornerRadius: $radius.r2_5
|
|
94
|
+
minHeight: 50px
|
|
95
|
+
prefixIcon:
|
|
96
|
+
size: $dimension.x4
|
|
97
|
+
title:
|
|
98
|
+
fontSize: $font-size.t4
|
|
99
|
+
lineHeight: $line-height.t4
|
|
100
|
+
fontWeight: $font-weight.bold
|
|
101
|
+
description:
|
|
102
|
+
fontSize: $font-size.t4
|
|
103
|
+
lineHeight: $line-height.t4
|
|
104
|
+
fontWeight: $font-weight.regular
|
|
105
|
+
link:
|
|
106
|
+
fontSize: $font-size.t4
|
|
107
|
+
lineHeight: $line-height.t4
|
|
108
|
+
fontWeight: $font-weight.regular
|
|
109
|
+
suffixIcon:
|
|
110
|
+
size: $dimension.x4
|
|
111
|
+
targetSize: $dimension.x10
|
|
112
|
+
tone=neutral:
|
|
113
|
+
enabled:
|
|
114
|
+
root:
|
|
115
|
+
color: $color.bg.neutral-weak
|
|
116
|
+
prefixIcon:
|
|
117
|
+
color: $color.fg.neutral
|
|
118
|
+
title:
|
|
119
|
+
color: $color.fg.neutral
|
|
120
|
+
description:
|
|
121
|
+
color: $color.fg.neutral
|
|
122
|
+
link:
|
|
123
|
+
color: $color.fg.neutral
|
|
124
|
+
suffixIcon:
|
|
125
|
+
color: $color.fg.neutral
|
|
126
|
+
pressed:
|
|
127
|
+
root:
|
|
128
|
+
color: $color.bg.neutral-weak-pressed
|
|
129
|
+
tone=informative:
|
|
130
|
+
enabled:
|
|
131
|
+
root:
|
|
132
|
+
color: $color.bg.informative-weak
|
|
133
|
+
prefixIcon:
|
|
134
|
+
color: $color.fg.informative-contrast
|
|
135
|
+
title:
|
|
136
|
+
color: $color.fg.informative-contrast
|
|
137
|
+
description:
|
|
138
|
+
color: $color.fg.informative-contrast
|
|
139
|
+
link:
|
|
140
|
+
color: $color.fg.informative-contrast
|
|
141
|
+
suffixIcon:
|
|
142
|
+
color: $color.fg.informative-contrast
|
|
143
|
+
pressed:
|
|
144
|
+
root:
|
|
145
|
+
color: $color.bg.informative-weak-pressed
|
|
146
|
+
tone=positive:
|
|
147
|
+
enabled:
|
|
148
|
+
root:
|
|
149
|
+
color: $color.bg.positive-weak
|
|
150
|
+
prefixIcon:
|
|
151
|
+
color: $color.fg.positive-contrast
|
|
152
|
+
title:
|
|
153
|
+
color: $color.fg.positive-contrast
|
|
154
|
+
description:
|
|
155
|
+
color: $color.fg.positive-contrast
|
|
156
|
+
link:
|
|
157
|
+
color: $color.fg.positive-contrast
|
|
158
|
+
suffixIcon:
|
|
159
|
+
color: $color.fg.positive-contrast
|
|
160
|
+
pressed:
|
|
161
|
+
root:
|
|
162
|
+
color: $color.bg.positive-weak-pressed
|
|
163
|
+
tone=warning:
|
|
164
|
+
enabled:
|
|
165
|
+
root:
|
|
166
|
+
color: $color.bg.warning-weak
|
|
167
|
+
prefixIcon:
|
|
168
|
+
color: $color.fg.warning-contrast
|
|
169
|
+
title:
|
|
170
|
+
color: $color.fg.warning-contrast
|
|
171
|
+
description:
|
|
172
|
+
color: $color.fg.warning-contrast
|
|
173
|
+
link:
|
|
174
|
+
color: $color.fg.warning-contrast
|
|
175
|
+
suffixIcon:
|
|
176
|
+
color: $color.fg.warning-contrast
|
|
177
|
+
pressed:
|
|
178
|
+
root:
|
|
179
|
+
color: $color.bg.warning-weak-pressed
|
|
180
|
+
tone=critical:
|
|
181
|
+
enabled:
|
|
182
|
+
root:
|
|
183
|
+
color: $color.bg.critical-weak
|
|
184
|
+
prefixIcon:
|
|
185
|
+
color: $color.fg.critical-contrast
|
|
186
|
+
title:
|
|
187
|
+
color: $color.fg.critical-contrast
|
|
188
|
+
description:
|
|
189
|
+
color: $color.fg.critical-contrast
|
|
190
|
+
link:
|
|
191
|
+
color: $color.fg.critical-contrast
|
|
192
|
+
suffixIcon:
|
|
193
|
+
color: $color.fg.critical-contrast
|
|
194
|
+
pressed:
|
|
195
|
+
root:
|
|
196
|
+
color: $color.bg.critical-weak-pressed
|
|
197
|
+
tone=magic:
|
|
198
|
+
enabled:
|
|
199
|
+
root:
|
|
200
|
+
gradient: $gradient.glow-magic
|
|
201
|
+
prefixIcon:
|
|
202
|
+
color: $color.fg.neutral
|
|
203
|
+
title:
|
|
204
|
+
color: $color.fg.neutral
|
|
205
|
+
description:
|
|
206
|
+
color: $color.fg.neutral
|
|
207
|
+
link:
|
|
208
|
+
color: $color.fg.neutral
|
|
209
|
+
suffixIcon:
|
|
210
|
+
color: $color.fg.neutral
|
|
211
|
+
pressed:
|
|
212
|
+
root:
|
|
213
|
+
gradient: $gradient.glow-magic-pressed
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: checkbox-group
|
|
5
|
+
name: Checkbox Group
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gapY:
|
|
12
|
+
type: dimension
|
|
13
|
+
definitions:
|
|
14
|
+
base:
|
|
15
|
+
enabled:
|
|
16
|
+
root:
|
|
17
|
+
gapY: $dimension.x1
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: checkbox
|
|
5
|
+
name: Checkbox
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gap:
|
|
12
|
+
type: dimension
|
|
13
|
+
minHeight:
|
|
14
|
+
type: dimension
|
|
15
|
+
label:
|
|
16
|
+
properties:
|
|
17
|
+
color:
|
|
18
|
+
type: color
|
|
19
|
+
fontWeight:
|
|
20
|
+
type: number
|
|
21
|
+
fontSize:
|
|
22
|
+
type: dimension
|
|
23
|
+
lineHeight:
|
|
24
|
+
type: dimension
|
|
25
|
+
definitions:
|
|
26
|
+
base:
|
|
27
|
+
enabled:
|
|
28
|
+
label:
|
|
29
|
+
color: $color.fg.neutral
|
|
30
|
+
root:
|
|
31
|
+
gap: $dimension.x2
|
|
32
|
+
disabled:
|
|
33
|
+
label:
|
|
34
|
+
color: $color.fg.disabled
|
|
35
|
+
|
|
36
|
+
weight=regular:
|
|
37
|
+
enabled:
|
|
38
|
+
label:
|
|
39
|
+
fontWeight: $font-weight.regular
|
|
40
|
+
weight=bold:
|
|
41
|
+
enabled:
|
|
42
|
+
label:
|
|
43
|
+
fontWeight: $font-weight.bold
|
|
44
|
+
|
|
45
|
+
size=medium:
|
|
46
|
+
enabled:
|
|
47
|
+
root:
|
|
48
|
+
minHeight: $dimension.x8
|
|
49
|
+
label:
|
|
50
|
+
fontSize: $font-size.t4
|
|
51
|
+
lineHeight: $line-height.t4
|
|
52
|
+
|
|
53
|
+
size=large:
|
|
54
|
+
enabled:
|
|
55
|
+
root:
|
|
56
|
+
minHeight: $dimension.x9
|
|
57
|
+
label:
|
|
58
|
+
fontSize: $font-size.t5
|
|
59
|
+
lineHeight: $line-height.t5
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: checkmark
|
|
5
|
+
name: Checkmark
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
colorDuration:
|
|
12
|
+
type: duration
|
|
13
|
+
colorTimingFunction:
|
|
14
|
+
type: cubicBezier
|
|
15
|
+
size:
|
|
16
|
+
type: dimension
|
|
17
|
+
color:
|
|
18
|
+
type: color
|
|
19
|
+
strokeColor:
|
|
20
|
+
type: color
|
|
21
|
+
strokeWidth:
|
|
22
|
+
type: dimension
|
|
23
|
+
cornerRadius:
|
|
24
|
+
type: dimension
|
|
25
|
+
icon:
|
|
26
|
+
properties:
|
|
27
|
+
color:
|
|
28
|
+
type: color
|
|
29
|
+
size:
|
|
30
|
+
type: dimension
|
|
31
|
+
colorDuration:
|
|
32
|
+
type: duration
|
|
33
|
+
colorTimingFunction:
|
|
34
|
+
type: cubicBezier
|
|
35
|
+
variants:
|
|
36
|
+
variant:
|
|
37
|
+
values:
|
|
38
|
+
square:
|
|
39
|
+
description: 필수 선택 항목이고 사용자가 해당 내용을 인지해야 하는 경우 사용합니다.
|
|
40
|
+
ghost:
|
|
41
|
+
description: 필수 선택 항목이 아니고, 3개 이하 항목으로 구성되는 경우 사용하는 것을 권장합니다.
|
|
42
|
+
tone:
|
|
43
|
+
values:
|
|
44
|
+
brand:
|
|
45
|
+
description: "[deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다."
|
|
46
|
+
definitions:
|
|
47
|
+
base:
|
|
48
|
+
enabled:
|
|
49
|
+
root:
|
|
50
|
+
colorDuration: $duration.color-transition
|
|
51
|
+
colorTimingFunction: $timing-function.easing
|
|
52
|
+
variant=square:
|
|
53
|
+
enabled:
|
|
54
|
+
root:
|
|
55
|
+
strokeWidth: 1px
|
|
56
|
+
strokeColor: $color.stroke.neutral-weak
|
|
57
|
+
pressed:
|
|
58
|
+
root:
|
|
59
|
+
color: $color.bg.transparent-pressed
|
|
60
|
+
enabled,selected:
|
|
61
|
+
root:
|
|
62
|
+
strokeWidth: 0px
|
|
63
|
+
strokeColor: "#00000000"
|
|
64
|
+
disabled:
|
|
65
|
+
root:
|
|
66
|
+
color: $color.bg.disabled
|
|
67
|
+
strokeColor: $color.stroke.neutral-muted
|
|
68
|
+
icon:
|
|
69
|
+
color: $color.fg.disabled
|
|
70
|
+
disabled,selected:
|
|
71
|
+
icon:
|
|
72
|
+
color: $color.fg.disabled
|
|
73
|
+
|
|
74
|
+
variant=square,tone=brand:
|
|
75
|
+
enabled,selected:
|
|
76
|
+
root:
|
|
77
|
+
color: $color.bg.brand-solid
|
|
78
|
+
icon:
|
|
79
|
+
color: $color.palette.static-white
|
|
80
|
+
pressed,selected:
|
|
81
|
+
root:
|
|
82
|
+
color: $color.bg.brand-solid-pressed
|
|
83
|
+
variant=square,tone=neutral:
|
|
84
|
+
enabled,selected:
|
|
85
|
+
root:
|
|
86
|
+
color: $color.bg.neutral-inverted
|
|
87
|
+
icon:
|
|
88
|
+
color: $color.fg.neutral-inverted
|
|
89
|
+
pressed,selected:
|
|
90
|
+
root:
|
|
91
|
+
color: $color.bg.neutral-inverted-pressed
|
|
92
|
+
|
|
93
|
+
variant=ghost:
|
|
94
|
+
enabled:
|
|
95
|
+
icon:
|
|
96
|
+
color: $color.fg.placeholder
|
|
97
|
+
colorDuration: $duration.color-transition
|
|
98
|
+
colorTimingFunction: $timing-function.easing
|
|
99
|
+
|
|
100
|
+
pressed:
|
|
101
|
+
root:
|
|
102
|
+
color: $color.bg.transparent-pressed
|
|
103
|
+
disabled:
|
|
104
|
+
icon:
|
|
105
|
+
color: $color.fg.disabled
|
|
106
|
+
disabled,selected:
|
|
107
|
+
icon:
|
|
108
|
+
color: $color.fg.disabled
|
|
109
|
+
|
|
110
|
+
variant=ghost,tone=brand:
|
|
111
|
+
enabled,selected:
|
|
112
|
+
icon:
|
|
113
|
+
color: $color.fg.brand
|
|
114
|
+
pressed,selected:
|
|
115
|
+
root:
|
|
116
|
+
color: $color.palette.carrot-200
|
|
117
|
+
variant=ghost,tone=neutral:
|
|
118
|
+
enabled,selected:
|
|
119
|
+
icon:
|
|
120
|
+
color: $color.fg.neutral
|
|
121
|
+
pressed,selected:
|
|
122
|
+
root:
|
|
123
|
+
color: $color.palette.gray-200
|
|
124
|
+
|
|
125
|
+
size=medium:
|
|
126
|
+
enabled:
|
|
127
|
+
root:
|
|
128
|
+
size: $dimension.x5
|
|
129
|
+
cornerRadius: $radius.r1
|
|
130
|
+
|
|
131
|
+
size=large:
|
|
132
|
+
enabled:
|
|
133
|
+
root:
|
|
134
|
+
size: $dimension.x6
|
|
135
|
+
cornerRadius: $radius.r1
|
|
136
|
+
|
|
137
|
+
variant=square,size=medium:
|
|
138
|
+
enabled:
|
|
139
|
+
icon:
|
|
140
|
+
size: 12px
|
|
141
|
+
variant=square,size=large:
|
|
142
|
+
enabled:
|
|
143
|
+
icon:
|
|
144
|
+
size: 14px
|
|
145
|
+
variant=ghost,size=medium:
|
|
146
|
+
enabled:
|
|
147
|
+
icon:
|
|
148
|
+
size: 14px
|
|
149
|
+
variant=ghost,size=large:
|
|
150
|
+
enabled:
|
|
151
|
+
icon:
|
|
152
|
+
size: 18px
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: chip-tablist
|
|
5
|
+
name: Chip Tablist
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
paddingX:
|
|
12
|
+
type: dimension
|
|
13
|
+
gap:
|
|
14
|
+
type: dimension
|
|
15
|
+
definitions:
|
|
16
|
+
base:
|
|
17
|
+
enabled:
|
|
18
|
+
root:
|
|
19
|
+
paddingX: $dimension.x4
|
|
20
|
+
gap: 8px
|
|
21
|
+
variant=neutralSolid:
|
|
22
|
+
enabled:
|
|
23
|
+
root:
|
|
24
|
+
gap: 8px
|
|
25
|
+
variant=neutralOutline:
|
|
26
|
+
enabled:
|
|
27
|
+
root:
|
|
28
|
+
gap: 8px
|