@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,159 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: field
|
|
5
|
+
name: Field
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gap:
|
|
12
|
+
type: dimension
|
|
13
|
+
header:
|
|
14
|
+
properties:
|
|
15
|
+
paddingX:
|
|
16
|
+
type: dimension
|
|
17
|
+
gap:
|
|
18
|
+
type: dimension
|
|
19
|
+
indicatorIcon:
|
|
20
|
+
description: 필수 입력 필드임을 나타내는 아이콘입니다. indicatorText 및 Field Label과의 조화를 위해 폰트 스케일링에 반응합니다.
|
|
21
|
+
properties:
|
|
22
|
+
color:
|
|
23
|
+
type: color
|
|
24
|
+
size:
|
|
25
|
+
type: dimension
|
|
26
|
+
paddingTop:
|
|
27
|
+
type: dimension
|
|
28
|
+
paddingLeft:
|
|
29
|
+
type: dimension
|
|
30
|
+
indicatorText:
|
|
31
|
+
properties:
|
|
32
|
+
color:
|
|
33
|
+
type: color
|
|
34
|
+
fontSize:
|
|
35
|
+
type: dimension
|
|
36
|
+
lineHeight:
|
|
37
|
+
type: dimension
|
|
38
|
+
description: Field Label과의 조화를 위해 Field Label의 lineHeight와 동일한 값을 갖습니다.
|
|
39
|
+
fontWeight:
|
|
40
|
+
type: number
|
|
41
|
+
paddingLeft:
|
|
42
|
+
type: dimension
|
|
43
|
+
footer:
|
|
44
|
+
properties:
|
|
45
|
+
paddingX:
|
|
46
|
+
type: dimension
|
|
47
|
+
gap:
|
|
48
|
+
type: dimension
|
|
49
|
+
description:
|
|
50
|
+
properties:
|
|
51
|
+
color:
|
|
52
|
+
type: color
|
|
53
|
+
fontWeight:
|
|
54
|
+
type: number
|
|
55
|
+
fontSize:
|
|
56
|
+
type: dimension
|
|
57
|
+
lineHeight:
|
|
58
|
+
type: dimension
|
|
59
|
+
descriptionIcon:
|
|
60
|
+
properties:
|
|
61
|
+
paddingRight:
|
|
62
|
+
type: dimension
|
|
63
|
+
color:
|
|
64
|
+
type: color
|
|
65
|
+
size:
|
|
66
|
+
type: dimension
|
|
67
|
+
errorMessage:
|
|
68
|
+
properties:
|
|
69
|
+
color:
|
|
70
|
+
type: color
|
|
71
|
+
fontWeight:
|
|
72
|
+
type: number
|
|
73
|
+
fontSize:
|
|
74
|
+
type: dimension
|
|
75
|
+
lineHeight:
|
|
76
|
+
type: dimension
|
|
77
|
+
errorIcon:
|
|
78
|
+
properties:
|
|
79
|
+
paddingRight:
|
|
80
|
+
type: dimension
|
|
81
|
+
color:
|
|
82
|
+
type: color
|
|
83
|
+
size:
|
|
84
|
+
type: dimension
|
|
85
|
+
characterCount:
|
|
86
|
+
properties:
|
|
87
|
+
color:
|
|
88
|
+
type: color
|
|
89
|
+
fontWeight:
|
|
90
|
+
type: number
|
|
91
|
+
fontSize:
|
|
92
|
+
type: dimension
|
|
93
|
+
lineHeight:
|
|
94
|
+
type: dimension
|
|
95
|
+
maxCharacterCount:
|
|
96
|
+
properties:
|
|
97
|
+
color:
|
|
98
|
+
type: color
|
|
99
|
+
fontWeight:
|
|
100
|
+
type: number
|
|
101
|
+
fontSize:
|
|
102
|
+
type: dimension
|
|
103
|
+
lineHeight:
|
|
104
|
+
type: dimension
|
|
105
|
+
definitions:
|
|
106
|
+
base:
|
|
107
|
+
enabled:
|
|
108
|
+
root:
|
|
109
|
+
gap: $dimension.x2
|
|
110
|
+
header:
|
|
111
|
+
paddingX: $dimension.x0_5
|
|
112
|
+
gap: $dimension.x2_5
|
|
113
|
+
indicatorIcon:
|
|
114
|
+
color: $color.fg.critical
|
|
115
|
+
size: 0.375rem # should be font scaled (6px)
|
|
116
|
+
paddingTop: 0.25rem # should be font scaled (4px)
|
|
117
|
+
paddingLeft: 0.125rem # should be font scaled (2px)
|
|
118
|
+
indicatorText:
|
|
119
|
+
color: $color.fg.neutral-subtle
|
|
120
|
+
fontSize: $font-size.t4
|
|
121
|
+
lineHeight: $line-height.t5 # intentional; not a typo
|
|
122
|
+
fontWeight: $font-weight.regular
|
|
123
|
+
paddingLeft: 0.25rem # should be font scaled (4px)
|
|
124
|
+
footer:
|
|
125
|
+
paddingX: $dimension.x0_5
|
|
126
|
+
gap: $dimension.x2
|
|
127
|
+
description:
|
|
128
|
+
color: $color.fg.neutral-subtle
|
|
129
|
+
fontWeight: $font-weight.regular
|
|
130
|
+
fontSize: $font-size.t4
|
|
131
|
+
lineHeight: $line-height.t4
|
|
132
|
+
descriptionIcon:
|
|
133
|
+
paddingRight: $dimension.x1_5
|
|
134
|
+
color: $color.fg.neutral-subtle
|
|
135
|
+
size: $dimension.x4
|
|
136
|
+
errorMessage:
|
|
137
|
+
color: $color.fg.critical
|
|
138
|
+
fontWeight: $font-weight.regular
|
|
139
|
+
fontSize: $font-size.t4
|
|
140
|
+
lineHeight: $line-height.t4
|
|
141
|
+
errorIcon:
|
|
142
|
+
paddingRight: $dimension.x1_5
|
|
143
|
+
color: $color.fg.critical
|
|
144
|
+
size: $dimension.x4
|
|
145
|
+
characterCount:
|
|
146
|
+
color: $color.fg.neutral
|
|
147
|
+
fontWeight: $font-weight.regular
|
|
148
|
+
fontSize: $font-size.t4
|
|
149
|
+
lineHeight: $line-height.t4
|
|
150
|
+
maxCharacterCount:
|
|
151
|
+
color: $color.fg.neutral-subtle
|
|
152
|
+
fontWeight: $font-weight.regular
|
|
153
|
+
fontSize: $font-size.t4
|
|
154
|
+
lineHeight: $line-height.t4
|
|
155
|
+
invalid:
|
|
156
|
+
characterCount:
|
|
157
|
+
color: $color.fg.critical
|
|
158
|
+
maxCharacterCount:
|
|
159
|
+
color: $color.fg.critical
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: floating-action-button
|
|
5
|
+
name: Floating Action Button
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
shadow:
|
|
16
|
+
type: shadow
|
|
17
|
+
colorDuration:
|
|
18
|
+
type: duration
|
|
19
|
+
colorTimingFunction:
|
|
20
|
+
type: cubicBezier
|
|
21
|
+
layoutDuration:
|
|
22
|
+
type: duration
|
|
23
|
+
layoutTimingFunction:
|
|
24
|
+
type: cubicBezier
|
|
25
|
+
gap:
|
|
26
|
+
type: dimension
|
|
27
|
+
paddingX:
|
|
28
|
+
type: dimension
|
|
29
|
+
paddingY:
|
|
30
|
+
type: dimension
|
|
31
|
+
minHeight:
|
|
32
|
+
type: dimension
|
|
33
|
+
size:
|
|
34
|
+
type: dimension
|
|
35
|
+
icon:
|
|
36
|
+
properties:
|
|
37
|
+
color:
|
|
38
|
+
type: color
|
|
39
|
+
sizeDuration:
|
|
40
|
+
type: duration
|
|
41
|
+
sizeTimingFunction:
|
|
42
|
+
type: cubicBezier
|
|
43
|
+
size:
|
|
44
|
+
type: dimension
|
|
45
|
+
label:
|
|
46
|
+
properties:
|
|
47
|
+
color:
|
|
48
|
+
type: color
|
|
49
|
+
fontSize:
|
|
50
|
+
type: dimension
|
|
51
|
+
lineHeight:
|
|
52
|
+
type: dimension
|
|
53
|
+
fontWeight:
|
|
54
|
+
type: number
|
|
55
|
+
variants:
|
|
56
|
+
extended:
|
|
57
|
+
values:
|
|
58
|
+
"true":
|
|
59
|
+
description: 라벨이 포함된 확장 형태로, 버튼의 역할을 명확히 전달합니다.
|
|
60
|
+
"false":
|
|
61
|
+
description: 아이콘만 표시되는 기본 형태입니다.
|
|
62
|
+
definitions:
|
|
63
|
+
base:
|
|
64
|
+
enabled:
|
|
65
|
+
root:
|
|
66
|
+
color: $color.bg.brand-solid
|
|
67
|
+
cornerRadius: $radius.full
|
|
68
|
+
shadow: $shadow.s3
|
|
69
|
+
colorDuration: $duration.color-transition
|
|
70
|
+
colorTimingFunction: $timing-function.easing
|
|
71
|
+
layoutDuration: $duration.d4
|
|
72
|
+
layoutTimingFunction: $timing-function.easing
|
|
73
|
+
icon:
|
|
74
|
+
color: $color.palette.static-white
|
|
75
|
+
sizeDuration: $duration.d4
|
|
76
|
+
sizeTimingFunction: $timing-function.easing
|
|
77
|
+
pressed:
|
|
78
|
+
root:
|
|
79
|
+
color: $color.bg.brand-solid-pressed
|
|
80
|
+
extended=true:
|
|
81
|
+
enabled:
|
|
82
|
+
root:
|
|
83
|
+
gap: $dimension.x1
|
|
84
|
+
paddingX: $dimension.x4_5
|
|
85
|
+
paddingY: $dimension.x3
|
|
86
|
+
minHeight: 48px
|
|
87
|
+
icon:
|
|
88
|
+
size: $dimension.x5
|
|
89
|
+
label:
|
|
90
|
+
color: $color.palette.static-white
|
|
91
|
+
fontSize: $font-size.t5
|
|
92
|
+
lineHeight: $line-height.t5
|
|
93
|
+
fontWeight: $font-weight.bold
|
|
94
|
+
extended=false:
|
|
95
|
+
enabled:
|
|
96
|
+
root:
|
|
97
|
+
size: 56px
|
|
98
|
+
icon:
|
|
99
|
+
size: $dimension.x6
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: help-bubble
|
|
5
|
+
name: Help Bubble
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
paddingX:
|
|
16
|
+
type: dimension
|
|
17
|
+
paddingY:
|
|
18
|
+
type: dimension
|
|
19
|
+
gap:
|
|
20
|
+
type: dimension
|
|
21
|
+
enterScale:
|
|
22
|
+
type: number
|
|
23
|
+
enterOpacity:
|
|
24
|
+
type: number
|
|
25
|
+
enterDuration:
|
|
26
|
+
type: duration
|
|
27
|
+
enterTimingFunction:
|
|
28
|
+
type: cubicBezier
|
|
29
|
+
exitScale:
|
|
30
|
+
type: number
|
|
31
|
+
exitOpacity:
|
|
32
|
+
type: number
|
|
33
|
+
exitDuration:
|
|
34
|
+
type: duration
|
|
35
|
+
exitTimingFunction:
|
|
36
|
+
type: cubicBezier
|
|
37
|
+
arrow:
|
|
38
|
+
properties:
|
|
39
|
+
color:
|
|
40
|
+
type: color
|
|
41
|
+
width:
|
|
42
|
+
type: dimension
|
|
43
|
+
height:
|
|
44
|
+
type: dimension
|
|
45
|
+
cornerRadius:
|
|
46
|
+
type: dimension
|
|
47
|
+
gutter:
|
|
48
|
+
type: dimension
|
|
49
|
+
description: arrow와 타겟 요소 사이의 거리를 정의합니다.
|
|
50
|
+
padding:
|
|
51
|
+
type: dimension
|
|
52
|
+
description: arrow와 root의 경계 사이의 최소 간격을 정의합니다.
|
|
53
|
+
body:
|
|
54
|
+
properties:
|
|
55
|
+
gap:
|
|
56
|
+
type: dimension
|
|
57
|
+
title:
|
|
58
|
+
properties:
|
|
59
|
+
color:
|
|
60
|
+
type: color
|
|
61
|
+
fontSize:
|
|
62
|
+
type: dimension
|
|
63
|
+
fontWeight:
|
|
64
|
+
type: number
|
|
65
|
+
lineHeight:
|
|
66
|
+
type: dimension
|
|
67
|
+
description:
|
|
68
|
+
properties:
|
|
69
|
+
color:
|
|
70
|
+
type: color
|
|
71
|
+
fontSize:
|
|
72
|
+
type: dimension
|
|
73
|
+
fontWeight:
|
|
74
|
+
type: number
|
|
75
|
+
lineHeight:
|
|
76
|
+
type: dimension
|
|
77
|
+
closeButton:
|
|
78
|
+
properties:
|
|
79
|
+
color:
|
|
80
|
+
type: color
|
|
81
|
+
size:
|
|
82
|
+
type: dimension
|
|
83
|
+
targetSize:
|
|
84
|
+
type: dimension
|
|
85
|
+
marginTop:
|
|
86
|
+
type: dimension
|
|
87
|
+
definitions:
|
|
88
|
+
base:
|
|
89
|
+
enabled:
|
|
90
|
+
root:
|
|
91
|
+
color: $color.bg.neutral-inverted
|
|
92
|
+
cornerRadius: $radius.r3
|
|
93
|
+
paddingX: $dimension.x3
|
|
94
|
+
paddingY: $dimension.x2_5
|
|
95
|
+
gap: $dimension.x1
|
|
96
|
+
enterScale: 0.9
|
|
97
|
+
enterOpacity: 0
|
|
98
|
+
enterDuration: $duration.d4
|
|
99
|
+
enterTimingFunction: $timing-function.enter
|
|
100
|
+
exitScale: 1
|
|
101
|
+
exitOpacity: 0
|
|
102
|
+
exitDuration: $duration.d4
|
|
103
|
+
exitTimingFunction: $timing-function.easing
|
|
104
|
+
arrow:
|
|
105
|
+
color: $color.bg.neutral-inverted
|
|
106
|
+
width: 12px
|
|
107
|
+
height: 8px
|
|
108
|
+
cornerRadius: 2px
|
|
109
|
+
gutter: 4px
|
|
110
|
+
padding: 14px
|
|
111
|
+
body:
|
|
112
|
+
gap: $dimension.x0_5
|
|
113
|
+
title:
|
|
114
|
+
color: $color.fg.neutral-inverted
|
|
115
|
+
fontSize: $font-size.t3
|
|
116
|
+
fontWeight: $font-weight.bold
|
|
117
|
+
lineHeight: $line-height.t3
|
|
118
|
+
description:
|
|
119
|
+
color: $color.fg.neutral-inverted
|
|
120
|
+
fontSize: $font-size.t3
|
|
121
|
+
fontWeight: $font-weight.regular
|
|
122
|
+
lineHeight: $line-height.t3
|
|
123
|
+
closeButton:
|
|
124
|
+
color: $color.fg.neutral-inverted
|
|
125
|
+
size: $dimension.x3_5
|
|
126
|
+
targetSize: 38px
|
|
127
|
+
marginTop: $dimension.x0_5
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: identity-placeholder
|
|
5
|
+
name: Identity Placeholder
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
image:
|
|
14
|
+
properties:
|
|
15
|
+
color:
|
|
16
|
+
type: color
|
|
17
|
+
definitions:
|
|
18
|
+
base:
|
|
19
|
+
enabled:
|
|
20
|
+
root:
|
|
21
|
+
color: $color.palette.gray-500
|
|
22
|
+
image:
|
|
23
|
+
color: $color.palette.static-white-alpha-800
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: image-frame-floater
|
|
5
|
+
name: Image Frame Floater
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
offset:
|
|
12
|
+
type: dimension
|
|
13
|
+
description: image-frame root slot의 padding property로 대체되었습니다.
|
|
14
|
+
definitions:
|
|
15
|
+
base:
|
|
16
|
+
enabled:
|
|
17
|
+
root:
|
|
18
|
+
offset: 6px
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: image-frame-indicator
|
|
5
|
+
name: Image Frame Indicator
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
description: 인디케이터 배경색입니다.
|
|
14
|
+
cornerRadius:
|
|
15
|
+
type: dimension
|
|
16
|
+
paddingX:
|
|
17
|
+
type: dimension
|
|
18
|
+
paddingY:
|
|
19
|
+
type: dimension
|
|
20
|
+
label:
|
|
21
|
+
properties:
|
|
22
|
+
color:
|
|
23
|
+
type: color
|
|
24
|
+
fontSize:
|
|
25
|
+
type: dimension
|
|
26
|
+
lineHeight:
|
|
27
|
+
type: dimension
|
|
28
|
+
fontWeight:
|
|
29
|
+
type: number
|
|
30
|
+
definitions:
|
|
31
|
+
base:
|
|
32
|
+
enabled:
|
|
33
|
+
root:
|
|
34
|
+
color: $color.palette.static-black-alpha-800
|
|
35
|
+
cornerRadius: $radius.full
|
|
36
|
+
paddingX: $dimension.x1_5
|
|
37
|
+
paddingY: $dimension.x0_5
|
|
38
|
+
label:
|
|
39
|
+
color: $color.palette.static-white
|
|
40
|
+
fontSize: $font-size.t1
|
|
41
|
+
lineHeight: $line-height.t1
|
|
42
|
+
fontWeight: $font-weight.medium
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: image-frame-reaction-button
|
|
5
|
+
name: Image Frame Reaction Button
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
description: 하트 아이콘 토글 버튼입니다. 이미지 위에서 좋아요 기능에 사용됩니다.
|
|
11
|
+
properties:
|
|
12
|
+
size:
|
|
13
|
+
type: dimension
|
|
14
|
+
description: 보이는 버튼 크기입니다.
|
|
15
|
+
targetSize:
|
|
16
|
+
type: dimension
|
|
17
|
+
description: 터치 영역 크기입니다.
|
|
18
|
+
fillIcon:
|
|
19
|
+
description: lineIcon 아래에 내려가는 하트 아이콘입니다.
|
|
20
|
+
properties:
|
|
21
|
+
gradient:
|
|
22
|
+
type: gradient
|
|
23
|
+
size:
|
|
24
|
+
type: dimension
|
|
25
|
+
lineIcon:
|
|
26
|
+
description: fillIcon 위로 올라가는 하트 아이콘입니다.
|
|
27
|
+
properties:
|
|
28
|
+
color:
|
|
29
|
+
type: color
|
|
30
|
+
size:
|
|
31
|
+
type: dimension
|
|
32
|
+
definitions:
|
|
33
|
+
base:
|
|
34
|
+
enabled:
|
|
35
|
+
root:
|
|
36
|
+
size: $dimension.x6
|
|
37
|
+
targetSize: $dimension.x10
|
|
38
|
+
fillIcon:
|
|
39
|
+
gradient:
|
|
40
|
+
type: gradient
|
|
41
|
+
value:
|
|
42
|
+
- color: $color.palette.static-black-alpha-300
|
|
43
|
+
position: 0
|
|
44
|
+
- color: $color.palette.static-black-alpha-300
|
|
45
|
+
position: 1
|
|
46
|
+
size: $dimension.x6
|
|
47
|
+
lineIcon:
|
|
48
|
+
color: $color.palette.static-white
|
|
49
|
+
size: $dimension.x6
|
|
50
|
+
selected:
|
|
51
|
+
fillIcon:
|
|
52
|
+
gradient:
|
|
53
|
+
type: gradient
|
|
54
|
+
value:
|
|
55
|
+
- color: "#FF9A56"
|
|
56
|
+
position: 0
|
|
57
|
+
- color: "#FF6600"
|
|
58
|
+
position: 1
|
|
59
|
+
lineIcon:
|
|
60
|
+
color: $color.bg.transparent
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: image-frame
|
|
5
|
+
name: Image Frame
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
strokeColor:
|
|
12
|
+
type: color
|
|
13
|
+
description: stroke 옵션 사용 시 적용되는 테두리 색상입니다.
|
|
14
|
+
strokeWidth:
|
|
15
|
+
type: dimension
|
|
16
|
+
description: stroke 옵션 사용 시 적용되는 테두리 두께입니다.
|
|
17
|
+
padding:
|
|
18
|
+
type: dimension
|
|
19
|
+
description: 내부에 오버레이 요소가 존재하는 경우 이미지 모서리와 오버레이 요소 사이의 간격입니다. 이 값은 기본값이며 변경할 수 있습니다.
|
|
20
|
+
variants:
|
|
21
|
+
stroke:
|
|
22
|
+
values:
|
|
23
|
+
"true":
|
|
24
|
+
description: 이미지 테두리에 스트로크를 표시합니다.
|
|
25
|
+
"false":
|
|
26
|
+
description: 테두리를 표시하지 않습니다.
|
|
27
|
+
definitions:
|
|
28
|
+
base:
|
|
29
|
+
enabled:
|
|
30
|
+
root:
|
|
31
|
+
padding: $dimension.x1_5
|
|
32
|
+
stroke=true:
|
|
33
|
+
enabled:
|
|
34
|
+
root:
|
|
35
|
+
strokeColor: $color.stroke.neutral-subtle
|
|
36
|
+
strokeWidth: 1px
|
|
37
|
+
stroke=false: {}
|