@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,161 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: reaction-button
|
|
5
|
+
name: Reaction Button
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
colorDuration:
|
|
14
|
+
type: duration
|
|
15
|
+
colorTimingFunction:
|
|
16
|
+
type: cubicBezier
|
|
17
|
+
strokeColor:
|
|
18
|
+
type: color
|
|
19
|
+
strokeWidth:
|
|
20
|
+
type: dimension
|
|
21
|
+
minHeight:
|
|
22
|
+
type: dimension
|
|
23
|
+
cornerRadius:
|
|
24
|
+
type: dimension
|
|
25
|
+
gap:
|
|
26
|
+
type: dimension
|
|
27
|
+
paddingX:
|
|
28
|
+
type: dimension
|
|
29
|
+
paddingY:
|
|
30
|
+
type: dimension
|
|
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
|
+
count:
|
|
42
|
+
properties:
|
|
43
|
+
color:
|
|
44
|
+
type: color
|
|
45
|
+
fontWeight:
|
|
46
|
+
type: number
|
|
47
|
+
fontSize:
|
|
48
|
+
type: dimension
|
|
49
|
+
lineHeight:
|
|
50
|
+
type: dimension
|
|
51
|
+
prefixIcon:
|
|
52
|
+
properties:
|
|
53
|
+
color:
|
|
54
|
+
type: color
|
|
55
|
+
size:
|
|
56
|
+
type: dimension
|
|
57
|
+
progressCircle:
|
|
58
|
+
properties:
|
|
59
|
+
trackColor:
|
|
60
|
+
type: color
|
|
61
|
+
rangeColor:
|
|
62
|
+
type: color
|
|
63
|
+
size:
|
|
64
|
+
type: dimension
|
|
65
|
+
thickness:
|
|
66
|
+
type: dimension
|
|
67
|
+
definitions:
|
|
68
|
+
base:
|
|
69
|
+
enabled:
|
|
70
|
+
root:
|
|
71
|
+
strokeColor: $color.stroke.neutral-muted
|
|
72
|
+
strokeWidth: 1px
|
|
73
|
+
color: $color.bg.transparent
|
|
74
|
+
colorDuration: $duration.color-transition
|
|
75
|
+
colorTimingFunction: $timing-function.easing
|
|
76
|
+
label:
|
|
77
|
+
color: $color.fg.neutral
|
|
78
|
+
fontWeight: $font-weight.medium
|
|
79
|
+
count:
|
|
80
|
+
color: $color.fg.neutral
|
|
81
|
+
fontWeight: $font-weight.bold
|
|
82
|
+
prefixIcon:
|
|
83
|
+
color: $color.fg.neutral
|
|
84
|
+
progressCircle:
|
|
85
|
+
trackColor: $color.palette.gray-500
|
|
86
|
+
rangeColor: $color.fg.neutral
|
|
87
|
+
pressed:
|
|
88
|
+
root:
|
|
89
|
+
color: $color.bg.transparent-pressed
|
|
90
|
+
selected:
|
|
91
|
+
root:
|
|
92
|
+
color: $color.bg.transparent
|
|
93
|
+
strokeColor: $color.stroke.brand-weak
|
|
94
|
+
strokeWidth: 1px
|
|
95
|
+
label:
|
|
96
|
+
color: $color.fg.brand
|
|
97
|
+
count:
|
|
98
|
+
color: $color.fg.brand
|
|
99
|
+
prefixIcon:
|
|
100
|
+
color: $color.fg.brand
|
|
101
|
+
progressCircle:
|
|
102
|
+
trackColor: $color.palette.carrot-200
|
|
103
|
+
rangeColor: $color.fg.brand
|
|
104
|
+
selected,pressed:
|
|
105
|
+
root:
|
|
106
|
+
color: $color.bg.transparent-pressed
|
|
107
|
+
disabled:
|
|
108
|
+
root:
|
|
109
|
+
color: $color.bg.disabled
|
|
110
|
+
strokeWidth: 0px
|
|
111
|
+
label:
|
|
112
|
+
color: $color.fg.disabled
|
|
113
|
+
count:
|
|
114
|
+
color: $color.fg.disabled
|
|
115
|
+
prefixIcon:
|
|
116
|
+
color: $color.fg.disabled
|
|
117
|
+
loading:
|
|
118
|
+
root:
|
|
119
|
+
color: $color.bg.neutral-weak-pressed
|
|
120
|
+
selected,loading:
|
|
121
|
+
root:
|
|
122
|
+
color: $color.bg.transparent-pressed
|
|
123
|
+
strokeWidth: 1px
|
|
124
|
+
size=xsmall:
|
|
125
|
+
enabled:
|
|
126
|
+
root:
|
|
127
|
+
minHeight: $dimension.x8
|
|
128
|
+
cornerRadius: $radius.full
|
|
129
|
+
gap: $dimension.x1
|
|
130
|
+
paddingX: $dimension.x3
|
|
131
|
+
paddingY: $dimension.x1_5
|
|
132
|
+
prefixIcon:
|
|
133
|
+
size: 18px
|
|
134
|
+
label:
|
|
135
|
+
fontSize: $font-size.t3
|
|
136
|
+
lineHeight: $line-height.t3
|
|
137
|
+
count:
|
|
138
|
+
fontSize: $font-size.t3
|
|
139
|
+
lineHeight: $line-height.t3
|
|
140
|
+
progressCircle:
|
|
141
|
+
size: 14px
|
|
142
|
+
thickness: 2px
|
|
143
|
+
size=small:
|
|
144
|
+
enabled:
|
|
145
|
+
root:
|
|
146
|
+
minHeight: $dimension.x9
|
|
147
|
+
cornerRadius: $radius.full
|
|
148
|
+
gap: $dimension.x1
|
|
149
|
+
paddingX: $dimension.x3_5
|
|
150
|
+
paddingY: $dimension.x2
|
|
151
|
+
prefixIcon:
|
|
152
|
+
size: 18px
|
|
153
|
+
label:
|
|
154
|
+
fontSize: $font-size.t3
|
|
155
|
+
lineHeight: $line-height.t3
|
|
156
|
+
count:
|
|
157
|
+
fontSize: $font-size.t3
|
|
158
|
+
lineHeight: $line-height.t3
|
|
159
|
+
progressCircle:
|
|
160
|
+
size: 14px
|
|
161
|
+
thickness: 2px
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: scroll-fog
|
|
5
|
+
name: Scroll Fog
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
fromColor:
|
|
12
|
+
type: color
|
|
13
|
+
toColor:
|
|
14
|
+
type: color
|
|
15
|
+
size:
|
|
16
|
+
type: dimension
|
|
17
|
+
definitions:
|
|
18
|
+
base:
|
|
19
|
+
enabled:
|
|
20
|
+
root:
|
|
21
|
+
fromColor: "#00000000"
|
|
22
|
+
toColor: "#000000ff"
|
|
23
|
+
size: 20px
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: segmented-control-indicator
|
|
5
|
+
name: Segmented Control Indicator
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
strokeWidth:
|
|
16
|
+
type: dimension
|
|
17
|
+
strokeColor:
|
|
18
|
+
type: color
|
|
19
|
+
transformDuration:
|
|
20
|
+
type: duration
|
|
21
|
+
transformTimingFunction:
|
|
22
|
+
type: cubicBezier
|
|
23
|
+
definitions:
|
|
24
|
+
base:
|
|
25
|
+
enabled:
|
|
26
|
+
root:
|
|
27
|
+
color: $color.palette.gray-00
|
|
28
|
+
strokeColor: $color.stroke.neutral-muted
|
|
29
|
+
strokeWidth: 1px
|
|
30
|
+
cornerRadius: $radius.full
|
|
31
|
+
transformDuration: $duration.d4
|
|
32
|
+
transformTimingFunction: $timing-function.easing
|
|
33
|
+
pressed:
|
|
34
|
+
root:
|
|
35
|
+
color: $color.palette.gray-100
|
|
36
|
+
disabled:
|
|
37
|
+
root:
|
|
38
|
+
color: $color.bg.disabled
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: segmented-control-item
|
|
5
|
+
name: Segmented Control Item
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
minWidth:
|
|
12
|
+
type: dimension
|
|
13
|
+
minHeight:
|
|
14
|
+
type: dimension
|
|
15
|
+
cornerRadius:
|
|
16
|
+
type: dimension
|
|
17
|
+
paddingX:
|
|
18
|
+
type: dimension
|
|
19
|
+
paddingY:
|
|
20
|
+
type: dimension
|
|
21
|
+
gap:
|
|
22
|
+
type: dimension
|
|
23
|
+
color:
|
|
24
|
+
type: color
|
|
25
|
+
colorDuration:
|
|
26
|
+
type: duration
|
|
27
|
+
colorTimingFunction:
|
|
28
|
+
type: cubicBezier
|
|
29
|
+
strokeWidth:
|
|
30
|
+
type: dimension
|
|
31
|
+
strokeColor:
|
|
32
|
+
type: color
|
|
33
|
+
label:
|
|
34
|
+
properties:
|
|
35
|
+
fontSize:
|
|
36
|
+
type: dimension
|
|
37
|
+
lineHeight:
|
|
38
|
+
type: dimension
|
|
39
|
+
fontWeight:
|
|
40
|
+
type: number
|
|
41
|
+
color:
|
|
42
|
+
type: color
|
|
43
|
+
colorDuration:
|
|
44
|
+
type: duration
|
|
45
|
+
colorTimingFunction:
|
|
46
|
+
type: cubicBezier
|
|
47
|
+
definitions:
|
|
48
|
+
base:
|
|
49
|
+
enabled:
|
|
50
|
+
root:
|
|
51
|
+
minWidth: 86px
|
|
52
|
+
minHeight: 34px
|
|
53
|
+
paddingX: $dimension.x6
|
|
54
|
+
paddingY: $dimension.x1_5
|
|
55
|
+
cornerRadius: $radius.full
|
|
56
|
+
gap: $dimension.x1_5
|
|
57
|
+
colorDuration: $duration.color-transition
|
|
58
|
+
colorTimingFunction: $timing-function.easing
|
|
59
|
+
label:
|
|
60
|
+
fontSize: $font-size.t5
|
|
61
|
+
lineHeight: $line-height.t5
|
|
62
|
+
fontWeight: $font-weight.bold
|
|
63
|
+
color: $color.fg.neutral-subtle
|
|
64
|
+
colorDuration: $duration.color-transition
|
|
65
|
+
colorTimingFunction: $timing-function.easing
|
|
66
|
+
pressed:
|
|
67
|
+
root:
|
|
68
|
+
color: $color.bg.neutral-weak-pressed
|
|
69
|
+
strokeWidth: 1px
|
|
70
|
+
strokeColor: $color.stroke.neutral-muted
|
|
71
|
+
selected:
|
|
72
|
+
label:
|
|
73
|
+
color: $color.fg.neutral
|
|
74
|
+
disabled:
|
|
75
|
+
label:
|
|
76
|
+
color: $color.fg.disabled
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: segmented-control
|
|
5
|
+
name: Segmented Control
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
padding:
|
|
12
|
+
type: dimension
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
color:
|
|
16
|
+
type: color
|
|
17
|
+
definitions:
|
|
18
|
+
base:
|
|
19
|
+
enabled:
|
|
20
|
+
root:
|
|
21
|
+
padding: $dimension.x1
|
|
22
|
+
cornerRadius: $radius.full
|
|
23
|
+
color: $color.bg.neutral-weak-alpha
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: select-box-checkmark
|
|
5
|
+
name: Select Box Checkmark
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
size:
|
|
12
|
+
type: dimension
|
|
13
|
+
icon:
|
|
14
|
+
properties:
|
|
15
|
+
size:
|
|
16
|
+
type: dimension
|
|
17
|
+
color:
|
|
18
|
+
type: color
|
|
19
|
+
colorDuration:
|
|
20
|
+
type: duration
|
|
21
|
+
colorTimingFunction:
|
|
22
|
+
type: cubicBezier
|
|
23
|
+
definitions:
|
|
24
|
+
base:
|
|
25
|
+
enabled:
|
|
26
|
+
root:
|
|
27
|
+
size: $dimension.x5
|
|
28
|
+
icon:
|
|
29
|
+
size: 15px
|
|
30
|
+
color: $color.fg.placeholder
|
|
31
|
+
colorDuration: $duration.color-transition
|
|
32
|
+
colorTimingFunction: $timing-function.easing
|
|
33
|
+
|
|
34
|
+
pressed:
|
|
35
|
+
icon:
|
|
36
|
+
color: $color.fg.neutral-subtle
|
|
37
|
+
|
|
38
|
+
enabled,selected:
|
|
39
|
+
icon:
|
|
40
|
+
color: $color.fg.neutral
|
|
41
|
+
|
|
42
|
+
enabled,selected,pressed:
|
|
43
|
+
icon:
|
|
44
|
+
color: $color.fg.neutral # being obvious
|
|
45
|
+
|
|
46
|
+
disabled:
|
|
47
|
+
icon:
|
|
48
|
+
color: $color.fg.disabled
|
|
49
|
+
|
|
50
|
+
disabled,selected:
|
|
51
|
+
icon:
|
|
52
|
+
color: $color.fg.disabled # being obvious
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: select-box-group
|
|
5
|
+
name: Select Box Group
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gapX:
|
|
12
|
+
type: dimension
|
|
13
|
+
gapY:
|
|
14
|
+
type: dimension
|
|
15
|
+
definitions:
|
|
16
|
+
base:
|
|
17
|
+
enabled:
|
|
18
|
+
root:
|
|
19
|
+
gapX: $dimension.x3
|
|
20
|
+
gapY: $dimension.spacing-y.component-default
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: select-box
|
|
5
|
+
name: Select Box
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
cornerRadius:
|
|
12
|
+
type: dimension
|
|
13
|
+
strokeWidth:
|
|
14
|
+
type: dimension
|
|
15
|
+
strokeColor:
|
|
16
|
+
type: color
|
|
17
|
+
color:
|
|
18
|
+
type: color
|
|
19
|
+
colorDuration:
|
|
20
|
+
type: duration
|
|
21
|
+
colorTimingFunction:
|
|
22
|
+
type: cubicBezier
|
|
23
|
+
strokeDuration:
|
|
24
|
+
type: duration
|
|
25
|
+
description: enabled 상태의 stroke 위에 selected 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
26
|
+
strokeTimingFunction:
|
|
27
|
+
type: cubicBezier
|
|
28
|
+
trigger:
|
|
29
|
+
properties:
|
|
30
|
+
gap:
|
|
31
|
+
type: dimension
|
|
32
|
+
paddingLeft:
|
|
33
|
+
type: dimension
|
|
34
|
+
paddingRight:
|
|
35
|
+
type: dimension
|
|
36
|
+
paddingX:
|
|
37
|
+
type: dimension
|
|
38
|
+
paddingY:
|
|
39
|
+
type: dimension
|
|
40
|
+
content:
|
|
41
|
+
properties:
|
|
42
|
+
gap:
|
|
43
|
+
type: dimension
|
|
44
|
+
prefixIcon:
|
|
45
|
+
properties:
|
|
46
|
+
color:
|
|
47
|
+
type: color
|
|
48
|
+
size:
|
|
49
|
+
type: dimension
|
|
50
|
+
body:
|
|
51
|
+
properties:
|
|
52
|
+
gap:
|
|
53
|
+
type: dimension
|
|
54
|
+
paddingRight:
|
|
55
|
+
type: dimension
|
|
56
|
+
label:
|
|
57
|
+
properties:
|
|
58
|
+
gap:
|
|
59
|
+
type: dimension
|
|
60
|
+
color:
|
|
61
|
+
type: color
|
|
62
|
+
fontSize:
|
|
63
|
+
type: dimension
|
|
64
|
+
lineHeight:
|
|
65
|
+
type: dimension
|
|
66
|
+
fontWeight:
|
|
67
|
+
type: number
|
|
68
|
+
description:
|
|
69
|
+
properties:
|
|
70
|
+
color:
|
|
71
|
+
type: color
|
|
72
|
+
fontSize:
|
|
73
|
+
type: dimension
|
|
74
|
+
lineHeight:
|
|
75
|
+
type: dimension
|
|
76
|
+
fontWeight:
|
|
77
|
+
type: number
|
|
78
|
+
footer:
|
|
79
|
+
properties:
|
|
80
|
+
expandHeightDuration:
|
|
81
|
+
type: duration
|
|
82
|
+
description: 열릴 때는 천천히 펼쳐지고 빠르게 fade in됩니다.
|
|
83
|
+
expandHeightTimingFunction:
|
|
84
|
+
type: cubicBezier
|
|
85
|
+
expandOpacityDuration:
|
|
86
|
+
type: duration
|
|
87
|
+
description: 열릴 때는 천천히 펼쳐지고 빠르게 fade in됩니다.
|
|
88
|
+
expandOpacityTimingFunction:
|
|
89
|
+
type: cubicBezier
|
|
90
|
+
collapseHeightDuration:
|
|
91
|
+
type: duration
|
|
92
|
+
description: 닫힐 때는 빠르게 접히고 천천히 fade out됩니다.
|
|
93
|
+
collapseHeightTimingFunction:
|
|
94
|
+
type: cubicBezier
|
|
95
|
+
collapseOpacityDuration:
|
|
96
|
+
type: duration
|
|
97
|
+
description: 닫힐 때는 빠르게 접히고 천천히 fade out됩니다.
|
|
98
|
+
collapseOpacityTimingFunction:
|
|
99
|
+
type: cubicBezier
|
|
100
|
+
definitions:
|
|
101
|
+
base:
|
|
102
|
+
enabled:
|
|
103
|
+
root:
|
|
104
|
+
cornerRadius: $radius.r3
|
|
105
|
+
color: $color.bg.transparent
|
|
106
|
+
strokeColor: $color.stroke.neutral-muted
|
|
107
|
+
strokeWidth: 1px
|
|
108
|
+
colorDuration: $duration.color-transition
|
|
109
|
+
colorTimingFunction: $timing-function.easing
|
|
110
|
+
strokeDuration: 0.1s
|
|
111
|
+
strokeTimingFunction: $timing-function.easing
|
|
112
|
+
trigger:
|
|
113
|
+
gap: $dimension.x1_5
|
|
114
|
+
prefixIcon:
|
|
115
|
+
color: $color.fg.neutral
|
|
116
|
+
size: 22px
|
|
117
|
+
body:
|
|
118
|
+
gap: $dimension.x0_5
|
|
119
|
+
paddingRight: $dimension.x1
|
|
120
|
+
label:
|
|
121
|
+
gap: $dimension.x1 # might have prefix/suffix
|
|
122
|
+
color: $color.fg.neutral
|
|
123
|
+
fontSize: $font-size.t5
|
|
124
|
+
lineHeight: $line-height.t5
|
|
125
|
+
fontWeight: $font-weight.medium
|
|
126
|
+
description:
|
|
127
|
+
color: $color.fg.neutral-muted
|
|
128
|
+
fontSize: $font-size.t3
|
|
129
|
+
lineHeight: $line-height.t3
|
|
130
|
+
fontWeight: $font-weight.regular
|
|
131
|
+
footer:
|
|
132
|
+
expandHeightDuration: 400ms
|
|
133
|
+
expandHeightTimingFunction: $timing-function.easing
|
|
134
|
+
expandOpacityDuration: $duration.d6
|
|
135
|
+
expandOpacityTimingFunction: $timing-function.easing
|
|
136
|
+
collapseHeightDuration: $duration.d6
|
|
137
|
+
collapseHeightTimingFunction: $timing-function.easing
|
|
138
|
+
collapseOpacityDuration: 400ms
|
|
139
|
+
collapseOpacityTimingFunction: $timing-function.easing
|
|
140
|
+
|
|
141
|
+
selected:
|
|
142
|
+
root:
|
|
143
|
+
strokeWidth: 2px
|
|
144
|
+
enabled,selected:
|
|
145
|
+
root:
|
|
146
|
+
strokeColor: $color.stroke.neutral-contrast
|
|
147
|
+
disabled:
|
|
148
|
+
root:
|
|
149
|
+
strokeColor: $color.stroke.neutral-muted
|
|
150
|
+
prefixIcon:
|
|
151
|
+
color: $color.fg.disabled
|
|
152
|
+
label:
|
|
153
|
+
color: $color.fg.disabled
|
|
154
|
+
description:
|
|
155
|
+
color: $color.fg.disabled
|
|
156
|
+
|
|
157
|
+
enabled,pressed:
|
|
158
|
+
root:
|
|
159
|
+
color: $color.bg.transparent-pressed
|
|
160
|
+
|
|
161
|
+
layout=horizontal:
|
|
162
|
+
enabled:
|
|
163
|
+
trigger:
|
|
164
|
+
paddingLeft: $dimension.x5
|
|
165
|
+
paddingRight: $dimension.x4
|
|
166
|
+
paddingY: $dimension.x4
|
|
167
|
+
content: # aligns horizontally
|
|
168
|
+
gap: $dimension.x3
|
|
169
|
+
|
|
170
|
+
layout=vertical:
|
|
171
|
+
enabled:
|
|
172
|
+
trigger:
|
|
173
|
+
paddingX: $dimension.x4
|
|
174
|
+
paddingY: $dimension.x5
|
|
175
|
+
content: # aligns vertically
|
|
176
|
+
gap: $dimension.x2_5
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: skeleton
|
|
5
|
+
name: Skeleton
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
shimmer:
|
|
16
|
+
properties:
|
|
17
|
+
duration:
|
|
18
|
+
type: duration
|
|
19
|
+
timingFunction:
|
|
20
|
+
type: cubicBezier
|
|
21
|
+
gradient:
|
|
22
|
+
type: gradient
|
|
23
|
+
variants:
|
|
24
|
+
tone:
|
|
25
|
+
values:
|
|
26
|
+
neutral:
|
|
27
|
+
description: 데이터를 불러오는 일반적인 로딩 경험에 사용합니다.
|
|
28
|
+
magic:
|
|
29
|
+
description: AI 기능이 활성화되었을 때 사용합니다.
|
|
30
|
+
radius:
|
|
31
|
+
values:
|
|
32
|
+
"0":
|
|
33
|
+
description: 기본값입니다.
|
|
34
|
+
"8":
|
|
35
|
+
description: 텍스트 콘텐츠에 사용합니다.
|
|
36
|
+
"16":
|
|
37
|
+
description: 카드 및 썸네일에 사용합니다.
|
|
38
|
+
full:
|
|
39
|
+
description: Avatar(원형) 콘텐츠에 사용합니다.
|
|
40
|
+
definitions:
|
|
41
|
+
base:
|
|
42
|
+
enabled:
|
|
43
|
+
shimmer:
|
|
44
|
+
duration: 1.5s
|
|
45
|
+
timingFunction: $timing-function.easing
|
|
46
|
+
radius=0:
|
|
47
|
+
enabled:
|
|
48
|
+
root:
|
|
49
|
+
cornerRadius: 0px
|
|
50
|
+
radius=8:
|
|
51
|
+
enabled:
|
|
52
|
+
root:
|
|
53
|
+
cornerRadius: 8px
|
|
54
|
+
radius=16:
|
|
55
|
+
enabled:
|
|
56
|
+
root:
|
|
57
|
+
cornerRadius: 16px
|
|
58
|
+
radius=full:
|
|
59
|
+
enabled:
|
|
60
|
+
root:
|
|
61
|
+
cornerRadius: $radius.full
|
|
62
|
+
tone=neutral:
|
|
63
|
+
enabled:
|
|
64
|
+
root:
|
|
65
|
+
color: $color.palette.gray-200
|
|
66
|
+
shimmer:
|
|
67
|
+
gradient: $gradient.shimmer-neutral
|
|
68
|
+
tone=magic:
|
|
69
|
+
enabled:
|
|
70
|
+
root:
|
|
71
|
+
color: $color.bg.magic-weak
|
|
72
|
+
shimmer:
|
|
73
|
+
gradient: $gradient.shimmer-magic
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: slider-thumb
|
|
5
|
+
name: Slider Thumb
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
size:
|
|
12
|
+
type: dimension
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
color:
|
|
16
|
+
type: color
|
|
17
|
+
scaleDuration:
|
|
18
|
+
type: duration
|
|
19
|
+
scaleTimingFunction:
|
|
20
|
+
type: cubicBezier
|
|
21
|
+
translateDuration:
|
|
22
|
+
type: duration
|
|
23
|
+
translateTimingFunction:
|
|
24
|
+
type: cubicBezier
|
|
25
|
+
scale:
|
|
26
|
+
type: number
|
|
27
|
+
definitions:
|
|
28
|
+
base:
|
|
29
|
+
enabled:
|
|
30
|
+
root:
|
|
31
|
+
size: $dimension.x5
|
|
32
|
+
cornerRadius: $radius.full
|
|
33
|
+
color: $color.bg.neutral-inverted
|
|
34
|
+
|
|
35
|
+
scaleDuration: $duration.d3
|
|
36
|
+
scaleTimingFunction: $timing-function.easing
|
|
37
|
+
|
|
38
|
+
translateDuration: $duration.d3
|
|
39
|
+
translateTimingFunction: $timing-function.easing
|
|
40
|
+
disabled:
|
|
41
|
+
root:
|
|
42
|
+
color: $color.fg.disabled # fg 토큰인데 적절할까?
|
|
43
|
+
pressed:
|
|
44
|
+
root:
|
|
45
|
+
scale: 1.2
|