@seed-design/rootage-artifacts 1.1.8 → 1.2.0
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/components/checkbox-group.yaml +17 -0
- package/components/help-bubble.yaml +14 -8
- package/components/image-frame-floater.yaml +18 -0
- package/components/image-frame-indicator.yaml +42 -0
- package/components/image-frame-reaction-button.yaml +43 -0
- package/components/image-frame.yaml +50 -0
- package/components/input-button.yaml +5 -10
- package/components/radio-group.yaml +17 -0
- package/components/select-box-checkmark.yaml +52 -0
- package/components/select-box-group.yaml +20 -0
- package/components/select-box.yaml +117 -31
- package/components/{switch-mark.yaml → switchmark.yaml} +6 -3
- package/components/text-input.yaml +5 -10
- package/package.json +1 -1
|
@@ -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
|
|
@@ -16,6 +16,8 @@ data:
|
|
|
16
16
|
type: dimension
|
|
17
17
|
paddingY:
|
|
18
18
|
type: dimension
|
|
19
|
+
gap:
|
|
20
|
+
type: dimension
|
|
19
21
|
enterScale:
|
|
20
22
|
type: number
|
|
21
23
|
enterOpacity:
|
|
@@ -48,6 +50,10 @@ data:
|
|
|
48
50
|
padding:
|
|
49
51
|
type: dimension
|
|
50
52
|
description: arrow와 root의 경계 사이의 최소 간격을 정의합니다.
|
|
53
|
+
body:
|
|
54
|
+
properties:
|
|
55
|
+
gap:
|
|
56
|
+
type: dimension
|
|
51
57
|
title:
|
|
52
58
|
properties:
|
|
53
59
|
color:
|
|
@@ -72,14 +78,12 @@ data:
|
|
|
72
78
|
properties:
|
|
73
79
|
color:
|
|
74
80
|
type: color
|
|
75
|
-
fromRight:
|
|
76
|
-
type: dimension
|
|
77
|
-
fromTop:
|
|
78
|
-
type: dimension
|
|
79
81
|
size:
|
|
80
82
|
type: dimension
|
|
81
83
|
targetSize:
|
|
82
84
|
type: dimension
|
|
85
|
+
marginTop:
|
|
86
|
+
type: dimension
|
|
83
87
|
definitions:
|
|
84
88
|
base:
|
|
85
89
|
enabled:
|
|
@@ -88,6 +92,7 @@ data:
|
|
|
88
92
|
cornerRadius: $radius.r3
|
|
89
93
|
paddingX: $dimension.x3
|
|
90
94
|
paddingY: $dimension.x2_5
|
|
95
|
+
gap: $dimension.x1
|
|
91
96
|
enterScale: 0.9
|
|
92
97
|
enterOpacity: 0
|
|
93
98
|
enterDuration: $duration.d4
|
|
@@ -103,6 +108,8 @@ data:
|
|
|
103
108
|
cornerRadius: 2px
|
|
104
109
|
gutter: 4px
|
|
105
110
|
padding: 14px
|
|
111
|
+
body:
|
|
112
|
+
gap: $dimension.x0_5
|
|
106
113
|
title:
|
|
107
114
|
color: $color.fg.neutral-inverted
|
|
108
115
|
fontSize: $font-size.t3
|
|
@@ -115,7 +122,6 @@ data:
|
|
|
115
122
|
lineHeight: $line-height.t3
|
|
116
123
|
closeButton:
|
|
117
124
|
color: $color.fg.neutral-inverted
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
targetSize: 32px
|
|
125
|
+
size: $dimension.x3_5
|
|
126
|
+
targetSize: 38px
|
|
127
|
+
marginTop: $dimension.x0_5
|
|
@@ -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: 오버레이가 이미지 프레임 가장자리에서 떨어진 거리입니다.
|
|
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,43 @@
|
|
|
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
|
+
color:
|
|
13
|
+
type: color
|
|
14
|
+
description: 버튼 배경색입니다.
|
|
15
|
+
cornerRadius:
|
|
16
|
+
type: dimension
|
|
17
|
+
size:
|
|
18
|
+
type: dimension
|
|
19
|
+
description: 보이는 버튼 크기입니다.
|
|
20
|
+
targetSize:
|
|
21
|
+
type: dimension
|
|
22
|
+
description: 터치 영역 크기입니다.
|
|
23
|
+
icon:
|
|
24
|
+
description: 하트 아이콘입니다. 기본 상태에서는 IconHeartLine, 선택 상태에서는 IconHeartFill을 사용합니다.
|
|
25
|
+
properties:
|
|
26
|
+
color:
|
|
27
|
+
type: color
|
|
28
|
+
size:
|
|
29
|
+
type: dimension
|
|
30
|
+
definitions:
|
|
31
|
+
base:
|
|
32
|
+
enabled:
|
|
33
|
+
root:
|
|
34
|
+
color: $color.palette.static-black-alpha-200
|
|
35
|
+
cornerRadius: $radius.full
|
|
36
|
+
size: $dimension.x6
|
|
37
|
+
targetSize: $dimension.x10
|
|
38
|
+
icon:
|
|
39
|
+
color: $color.fg.neutral-inverted
|
|
40
|
+
size: $dimension.x6
|
|
41
|
+
selected:
|
|
42
|
+
icon:
|
|
43
|
+
color: $color.fg.brand
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
cornerRadius:
|
|
12
|
+
type: dimension
|
|
13
|
+
description: rounded 옵션 사용 시 적용되는 모서리 반경입니다.
|
|
14
|
+
strokeColor:
|
|
15
|
+
type: color
|
|
16
|
+
description: stroke 옵션 사용 시 적용되는 테두리 색상입니다.
|
|
17
|
+
strokeWidth:
|
|
18
|
+
type: dimension
|
|
19
|
+
description: stroke 옵션 사용 시 적용되는 테두리 두께입니다.
|
|
20
|
+
variants:
|
|
21
|
+
rounded:
|
|
22
|
+
values:
|
|
23
|
+
"true":
|
|
24
|
+
description: 모서리에 라운드 스타일을 적용합니다.
|
|
25
|
+
"false":
|
|
26
|
+
description: 모서리를 직각으로 유지합니다.
|
|
27
|
+
stroke:
|
|
28
|
+
values:
|
|
29
|
+
"true":
|
|
30
|
+
description: 이미지 테두리에 스트로크를 표시합니다.
|
|
31
|
+
"false":
|
|
32
|
+
description: 테두리를 표시하지 않습니다.
|
|
33
|
+
definitions:
|
|
34
|
+
rounded=true:
|
|
35
|
+
enabled:
|
|
36
|
+
root:
|
|
37
|
+
cornerRadius: $radius.r2
|
|
38
|
+
rounded=false:
|
|
39
|
+
enabled:
|
|
40
|
+
root:
|
|
41
|
+
cornerRadius: 0px
|
|
42
|
+
stroke=true:
|
|
43
|
+
enabled:
|
|
44
|
+
root:
|
|
45
|
+
strokeColor: $color.stroke.neutral-subtle
|
|
46
|
+
strokeWidth: 1px
|
|
47
|
+
stroke=false:
|
|
48
|
+
enabled:
|
|
49
|
+
root:
|
|
50
|
+
strokeWidth: 0px
|
|
@@ -26,13 +26,10 @@ data:
|
|
|
26
26
|
type: duration
|
|
27
27
|
colorTimingFunction:
|
|
28
28
|
type: cubicBezier
|
|
29
|
-
|
|
29
|
+
strokeDuration:
|
|
30
30
|
type: duration
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
strokeWidthDuration:
|
|
34
|
-
type: duration
|
|
35
|
-
strokeWidthTimingFunction:
|
|
31
|
+
description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
32
|
+
strokeTimingFunction:
|
|
36
33
|
type: cubicBezier
|
|
37
34
|
value:
|
|
38
35
|
properties:
|
|
@@ -107,10 +104,8 @@ data:
|
|
|
107
104
|
color: $color.bg.transparent
|
|
108
105
|
colorDuration: $duration.color-transition
|
|
109
106
|
colorTimingFunction: $timing-function.easing
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
strokeWidthDuration: $duration.color-transition
|
|
113
|
-
strokeWidthTimingFunction: $timing-function.easing
|
|
107
|
+
strokeDuration: 0.1s
|
|
108
|
+
strokeTimingFunction: $timing-function.easing
|
|
114
109
|
|
|
115
110
|
value:
|
|
116
111
|
fontSize: $font-size.t5
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: radio-group
|
|
5
|
+
name: Radio 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,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
|
|
@@ -8,83 +8,169 @@ data:
|
|
|
8
8
|
slots:
|
|
9
9
|
root:
|
|
10
10
|
properties:
|
|
11
|
-
|
|
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:
|
|
12
24
|
type: duration
|
|
13
|
-
|
|
25
|
+
description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
26
|
+
strokeTimingFunction:
|
|
14
27
|
type: cubicBezier
|
|
28
|
+
trigger:
|
|
29
|
+
properties:
|
|
30
|
+
gap:
|
|
31
|
+
type: dimension
|
|
32
|
+
paddingLeft:
|
|
33
|
+
type: dimension
|
|
34
|
+
paddingRight:
|
|
35
|
+
type: dimension
|
|
15
36
|
paddingX:
|
|
16
37
|
type: dimension
|
|
17
38
|
paddingY:
|
|
18
39
|
type: dimension
|
|
40
|
+
content:
|
|
41
|
+
properties:
|
|
19
42
|
gap:
|
|
20
43
|
type: dimension
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
strokeColor:
|
|
24
|
-
type: color
|
|
25
|
-
cornerRadius:
|
|
26
|
-
type: dimension
|
|
44
|
+
prefixIcon:
|
|
45
|
+
properties:
|
|
27
46
|
color:
|
|
28
47
|
type: color
|
|
29
|
-
|
|
48
|
+
size:
|
|
49
|
+
type: dimension
|
|
50
|
+
body:
|
|
30
51
|
properties:
|
|
31
52
|
gap:
|
|
32
53
|
type: dimension
|
|
54
|
+
paddingRight:
|
|
55
|
+
type: dimension
|
|
33
56
|
label:
|
|
34
57
|
properties:
|
|
58
|
+
gap:
|
|
59
|
+
type: dimension
|
|
35
60
|
color:
|
|
36
61
|
type: color
|
|
37
|
-
fontWeight:
|
|
38
|
-
type: number
|
|
39
62
|
fontSize:
|
|
40
63
|
type: dimension
|
|
41
64
|
lineHeight:
|
|
42
65
|
type: dimension
|
|
66
|
+
fontWeight:
|
|
67
|
+
type: number
|
|
43
68
|
description:
|
|
44
69
|
properties:
|
|
45
70
|
color:
|
|
46
71
|
type: color
|
|
47
|
-
fontWeight:
|
|
48
|
-
type: number
|
|
49
72
|
fontSize:
|
|
50
73
|
type: dimension
|
|
51
74
|
lineHeight:
|
|
52
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
|
|
53
100
|
definitions:
|
|
54
101
|
base:
|
|
55
102
|
enabled:
|
|
56
103
|
root:
|
|
57
|
-
colorTransitionDuration: $duration.color-transition
|
|
58
|
-
colorTransitionTimingFunction: $timing-function.easing
|
|
59
|
-
paddingX: $dimension.x4
|
|
60
|
-
paddingY: $dimension.x5
|
|
61
|
-
gap: $dimension.x2_5
|
|
62
|
-
strokeWidth: 1px
|
|
63
|
-
strokeColor: $color.stroke.neutral-muted
|
|
64
104
|
cornerRadius: $radius.r3
|
|
65
105
|
color: $color.bg.transparent
|
|
66
|
-
|
|
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:
|
|
67
118
|
gap: $dimension.x0_5
|
|
119
|
+
paddingRight: $dimension.x1
|
|
68
120
|
label:
|
|
121
|
+
gap: $dimension.x1 # might have prefix/suffix
|
|
69
122
|
color: $color.fg.neutral
|
|
70
|
-
fontWeight: $font-weight.bold
|
|
71
123
|
fontSize: $font-size.t5
|
|
72
124
|
lineHeight: $line-height.t5
|
|
125
|
+
fontWeight: $font-weight.medium
|
|
73
126
|
description:
|
|
74
127
|
color: $color.fg.neutral-muted
|
|
128
|
+
fontSize: $font-size.t3
|
|
129
|
+
lineHeight: $line-height.t3
|
|
75
130
|
fontWeight: $font-weight.regular
|
|
76
|
-
|
|
77
|
-
|
|
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
|
|
78
140
|
|
|
79
|
-
|
|
141
|
+
selected:
|
|
80
142
|
root:
|
|
81
|
-
|
|
82
|
-
|
|
143
|
+
strokeWidth: 2px
|
|
83
144
|
enabled,selected:
|
|
84
145
|
root:
|
|
85
|
-
|
|
86
|
-
|
|
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
|
|
87
156
|
|
|
88
|
-
enabled,
|
|
157
|
+
enabled,pressed:
|
|
89
158
|
root:
|
|
90
|
-
color: $color.bg.
|
|
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
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
# parts: root, thumb
|
|
2
3
|
kind: ComponentSpec
|
|
3
4
|
metadata:
|
|
4
|
-
id:
|
|
5
|
-
name:
|
|
5
|
+
id: switchmark
|
|
6
|
+
name: Switchmark
|
|
7
|
+
lastUpdated: 25-12-16
|
|
6
8
|
data:
|
|
7
9
|
schema:
|
|
8
10
|
slots:
|
|
@@ -63,6 +65,7 @@ data:
|
|
|
63
65
|
values:
|
|
64
66
|
brand:
|
|
65
67
|
description: "[deprecated] 주요 버튼 등의 핵심 액션과 시각적으로 충돌하기에 더 이상 사용하지 않습니다."
|
|
68
|
+
|
|
66
69
|
definitions:
|
|
67
70
|
base:
|
|
68
71
|
enabled:
|
|
@@ -90,7 +93,7 @@ data:
|
|
|
90
93
|
selected:
|
|
91
94
|
thumb:
|
|
92
95
|
scale: 1.0
|
|
93
|
-
|
|
96
|
+
|
|
94
97
|
tone=brand:
|
|
95
98
|
enabled:
|
|
96
99
|
thumb:
|
|
@@ -26,13 +26,10 @@ data:
|
|
|
26
26
|
type: color
|
|
27
27
|
color:
|
|
28
28
|
type: color
|
|
29
|
-
|
|
29
|
+
strokeDuration:
|
|
30
30
|
type: duration
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
strokeWidthDuration:
|
|
34
|
-
type: duration
|
|
35
|
-
strokeWidthTimingFunction:
|
|
31
|
+
description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
32
|
+
strokeTimingFunction:
|
|
36
33
|
type: cubicBezier
|
|
37
34
|
value:
|
|
38
35
|
properties:
|
|
@@ -98,10 +95,8 @@ data:
|
|
|
98
95
|
enabled:
|
|
99
96
|
root:
|
|
100
97
|
strokeColor: $color.stroke.neutral-weak
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
strokeWidthDuration: $duration.d3
|
|
104
|
-
strokeWidthTimingFunction: $timing-function.easing
|
|
98
|
+
strokeDuration: 0.1s
|
|
99
|
+
strokeTimingFunction: $timing-function.easing
|
|
105
100
|
value:
|
|
106
101
|
color: $color.fg.neutral
|
|
107
102
|
fontWeight: $font-weight.regular
|