@seed-design/rootage-artifacts 2.6.0 → 2.7.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/__generated__/color.d.ts +3 -3
- package/__generated__/color.json +3 -3
- package/__generated__/components/accordion-item.d.ts +12 -1
- package/__generated__/components/accordion-item.json +12 -1
- package/__generated__/components/action-button.d.ts +20 -69
- package/__generated__/components/action-button.json +20 -69
- package/__generated__/components/attachment-input-item-action-button.d.ts +20 -0
- package/__generated__/components/attachment-input-item-action-button.json +20 -0
- package/__generated__/components/attachment-input-item-remove-button.d.ts +11 -0
- package/__generated__/components/attachment-input-item-remove-button.json +11 -0
- package/__generated__/components/attachment-input-item.d.ts +20 -0
- package/__generated__/components/attachment-input-item.json +20 -0
- package/__generated__/components/attachment-input-trigger.d.ts +11 -0
- package/__generated__/components/attachment-input-trigger.json +11 -0
- package/__generated__/components/bottom-sheet-close-button.d.ts +11 -0
- package/__generated__/components/bottom-sheet-close-button.json +11 -0
- package/__generated__/components/bottom-sheet.d.ts +1 -1
- package/__generated__/components/bottom-sheet.json +1 -1
- package/__generated__/components/callout-close-button.d.ts +256 -0
- package/__generated__/components/callout-close-button.json +255 -0
- package/__generated__/components/callout-close-button.mjs +2 -0
- package/__generated__/components/callout.d.ts +19 -6
- package/__generated__/components/callout.json +20 -7
- package/__generated__/components/checkbox.d.ts +1 -0
- package/__generated__/components/checkbox.json +2 -1
- package/__generated__/components/checkmark.d.ts +21 -0
- package/__generated__/components/checkmark.json +21 -0
- package/__generated__/components/chip.d.ts +20 -0
- package/__generated__/components/chip.json +20 -0
- package/__generated__/components/contextual-floating-button.d.ts +20 -0
- package/__generated__/components/contextual-floating-button.json +20 -0
- package/__generated__/components/dialog-close-button.d.ts +11 -0
- package/__generated__/components/dialog-close-button.json +11 -0
- package/__generated__/components/floating-action-button.d.ts +11 -0
- package/__generated__/components/floating-action-button.json +11 -0
- package/__generated__/components/help-bubble.d.ts +30 -0
- package/__generated__/components/help-bubble.json +30 -0
- package/__generated__/components/image-frame-reaction-button.d.ts +20 -0
- package/__generated__/components/image-frame-reaction-button.json +20 -0
- package/__generated__/components/input-button.d.ts +24 -0
- package/__generated__/components/input-button.json +24 -0
- package/__generated__/components/list-item.d.ts +9 -20
- package/__generated__/components/list-item.json +9 -20
- package/__generated__/components/menu-item.d.ts +11 -0
- package/__generated__/components/menu-item.json +11 -0
- package/__generated__/components/menu-sheet-close-button.d.ts +11 -0
- package/__generated__/components/menu-sheet-close-button.json +11 -0
- package/__generated__/components/menu-sheet-item.d.ts +11 -0
- package/__generated__/components/menu-sheet-item.json +11 -0
- package/__generated__/components/page-banner-close-button.d.ts +375 -0
- package/__generated__/components/page-banner-close-button.json +374 -0
- package/__generated__/components/page-banner-close-button.mjs +2 -0
- package/__generated__/components/page-banner.d.ts +33 -7
- package/__generated__/components/page-banner.json +33 -7
- package/__generated__/components/pagination-button.d.ts +145 -0
- package/__generated__/components/pagination-button.json +144 -0
- package/__generated__/components/pagination-button.mjs +2 -0
- package/__generated__/components/pagination-page-item.d.ts +198 -0
- package/__generated__/components/pagination-page-item.json +197 -0
- package/__generated__/components/pagination-page-item.mjs +2 -0
- package/__generated__/components/quantity-picker-button.d.ts +11 -0
- package/__generated__/components/quantity-picker-button.json +11 -0
- package/__generated__/components/radio.d.ts +1 -0
- package/__generated__/components/radio.json +2 -1
- package/__generated__/components/radiomark.d.ts +21 -0
- package/__generated__/components/radiomark.json +21 -0
- package/__generated__/components/reaction-button.d.ts +11 -0
- package/__generated__/components/reaction-button.json +11 -0
- package/__generated__/components/segmented-control-item.d.ts +11 -0
- package/__generated__/components/segmented-control-item.json +11 -0
- package/__generated__/components/select-box.d.ts +22 -2
- package/__generated__/components/select-box.json +22 -2
- package/__generated__/components/select-item.d.ts +11 -0
- package/__generated__/components/select-item.json +11 -0
- package/__generated__/components/select-trigger.d.ts +11 -0
- package/__generated__/components/select-trigger.json +11 -0
- package/__generated__/components/side-panel-close-button.d.ts +11 -0
- package/__generated__/components/side-panel-close-button.json +11 -0
- package/__generated__/components/snackbar.d.ts +21 -1
- package/__generated__/components/snackbar.json +21 -1
- package/__generated__/components/switch.d.ts +1 -0
- package/__generated__/components/switch.json +2 -1
- package/__generated__/components/switchmark.d.ts +22 -0
- package/__generated__/components/switchmark.json +23 -1
- package/__generated__/components/tab.d.ts +20 -0
- package/__generated__/components/tab.json +20 -0
- package/__generated__/components/toggle-button.d.ts +20 -0
- package/__generated__/components/toggle-button.json +20 -0
- package/__generated__/components/wheel-picker.d.ts +287 -0
- package/__generated__/components/wheel-picker.json +286 -0
- package/__generated__/components/wheel-picker.mjs +2 -0
- package/__generated__/index.d.ts +16 -1
- package/__generated__/index.json +16 -1
- package/color.yaml +3 -3
- package/components/accordion-item.yaml +5 -1
- package/components/action-button.yaml +6 -20
- package/components/attachment-input-item-action-button.yaml +6 -0
- package/components/attachment-input-item-remove-button.yaml +4 -0
- package/components/attachment-input-item.yaml +6 -0
- package/components/attachment-input-trigger.yaml +4 -0
- package/components/bottom-sheet-close-button.yaml +4 -0
- package/components/bottom-sheet.yaml +1 -1
- package/components/callout-close-button.yaml +83 -0
- package/components/callout.yaml +6 -3
- package/components/checkbox.yaml +1 -0
- package/components/checkmark.yaml +7 -0
- package/components/chip.yaml +6 -0
- package/components/contextual-floating-button.yaml +6 -0
- package/components/dialog-close-button.yaml +4 -0
- package/components/floating-action-button.yaml +4 -0
- package/components/help-bubble.yaml +9 -0
- package/components/image-frame-reaction-button.yaml +6 -0
- package/components/input-button.yaml +9 -0
- package/components/list-item.yaml +4 -10
- package/components/menu-item.yaml +4 -0
- package/components/menu-sheet-close-button.yaml +4 -0
- package/components/menu-sheet-item.yaml +4 -0
- package/components/page-banner-close-button.yaml +102 -0
- package/components/page-banner.yaml +11 -3
- package/components/pagination-button.yaml +55 -0
- package/components/pagination-page-item.yaml +68 -0
- package/components/quantity-picker-button.yaml +4 -0
- package/components/radio.yaml +1 -0
- package/components/radiomark.yaml +7 -0
- package/components/reaction-button.yaml +4 -0
- package/components/segmented-control-item.yaml +4 -0
- package/components/select-box.yaml +8 -2
- package/components/select-item.yaml +4 -0
- package/components/select-trigger.yaml +4 -0
- package/components/side-panel-close-button.yaml +4 -0
- package/components/snackbar.yaml +7 -1
- package/components/switch.yaml +1 -0
- package/components/switchmark.yaml +8 -0
- package/components/tab.yaml +6 -0
- package/components/toggle-button.yaml +6 -0
- package/components/wheel-picker.yaml +98 -0
- package/duration.yaml +2 -0
- package/package.json +1 -1
- package/scale.yaml +2 -0
- package/timing-function.yaml +2 -0
|
@@ -18,6 +18,9 @@ data:
|
|
|
18
18
|
type: color
|
|
19
19
|
gradient:
|
|
20
20
|
type: gradient
|
|
21
|
+
scaleScope:
|
|
22
|
+
type: enum
|
|
23
|
+
values: [self, content]
|
|
21
24
|
prefixIcon:
|
|
22
25
|
description: 아이콘은 Fill 타입 사용을 권장합니다.
|
|
23
26
|
properties:
|
|
@@ -63,12 +66,13 @@ data:
|
|
|
63
66
|
type: number
|
|
64
67
|
color:
|
|
65
68
|
type: color
|
|
69
|
+
scaleScope:
|
|
70
|
+
type: enum
|
|
71
|
+
values: [self, content]
|
|
66
72
|
suffixIcon:
|
|
67
73
|
properties:
|
|
68
74
|
size:
|
|
69
75
|
type: dimension
|
|
70
|
-
targetSize:
|
|
71
|
-
type: dimension
|
|
72
76
|
marginLeft:
|
|
73
77
|
type: dimension
|
|
74
78
|
color:
|
|
@@ -111,8 +115,12 @@ data:
|
|
|
111
115
|
fontWeight: $font-weight.bold
|
|
112
116
|
suffixIcon:
|
|
113
117
|
size: $dimension.x4
|
|
114
|
-
targetSize: $dimension.x10
|
|
115
118
|
marginLeft: $dimension.x2
|
|
119
|
+
pressed:
|
|
120
|
+
root:
|
|
121
|
+
scaleScope: content
|
|
122
|
+
button:
|
|
123
|
+
scaleScope: self
|
|
116
124
|
tone=neutral, variant=weak:
|
|
117
125
|
enabled:
|
|
118
126
|
root:
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: pagination-button
|
|
5
|
+
name: Pagination 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
|
+
scale:
|
|
18
|
+
type: number
|
|
19
|
+
scaleDuration:
|
|
20
|
+
type: duration
|
|
21
|
+
scaleTimingFunction:
|
|
22
|
+
type: cubicBezier
|
|
23
|
+
size:
|
|
24
|
+
type: dimension
|
|
25
|
+
cornerRadius:
|
|
26
|
+
type: dimension
|
|
27
|
+
icon:
|
|
28
|
+
properties:
|
|
29
|
+
color:
|
|
30
|
+
type: color
|
|
31
|
+
size:
|
|
32
|
+
type: dimension
|
|
33
|
+
definitions:
|
|
34
|
+
base:
|
|
35
|
+
enabled:
|
|
36
|
+
root:
|
|
37
|
+
color: $color.bg.transparent
|
|
38
|
+
colorDuration: $duration.color-transition
|
|
39
|
+
colorTimingFunction: $timing-function.easing
|
|
40
|
+
scaleDuration: $duration.pressed-scale
|
|
41
|
+
scaleTimingFunction: $timing-function.pressed-scale
|
|
42
|
+
size: $dimension.x10
|
|
43
|
+
cornerRadius: $radius.r2
|
|
44
|
+
icon:
|
|
45
|
+
color: $color.fg.neutral
|
|
46
|
+
size: $dimension.x4
|
|
47
|
+
pressed:
|
|
48
|
+
root:
|
|
49
|
+
color: $color.bg.transparent-pressed
|
|
50
|
+
scale: $scale.s97
|
|
51
|
+
disabled:
|
|
52
|
+
root:
|
|
53
|
+
color: $color.bg.transparent
|
|
54
|
+
icon:
|
|
55
|
+
color: $color.fg.disabled
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: pagination-page-item
|
|
5
|
+
name: Pagination Page Item
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
scale:
|
|
14
|
+
type: number
|
|
15
|
+
scaleDuration:
|
|
16
|
+
type: duration
|
|
17
|
+
scaleTimingFunction:
|
|
18
|
+
type: cubicBezier
|
|
19
|
+
size:
|
|
20
|
+
type: dimension
|
|
21
|
+
cornerRadius:
|
|
22
|
+
type: dimension
|
|
23
|
+
label:
|
|
24
|
+
properties:
|
|
25
|
+
color:
|
|
26
|
+
type: color
|
|
27
|
+
fontSize:
|
|
28
|
+
type: dimension
|
|
29
|
+
lineHeight:
|
|
30
|
+
type: dimension
|
|
31
|
+
fontWeight:
|
|
32
|
+
type: number
|
|
33
|
+
definitions:
|
|
34
|
+
base:
|
|
35
|
+
enabled:
|
|
36
|
+
root:
|
|
37
|
+
color: $color.bg.transparent
|
|
38
|
+
scaleDuration: $duration.pressed-scale
|
|
39
|
+
scaleTimingFunction: $timing-function.pressed-scale
|
|
40
|
+
size: $dimension.x10
|
|
41
|
+
cornerRadius: $radius.r2
|
|
42
|
+
label:
|
|
43
|
+
color: $color.fg.neutral
|
|
44
|
+
fontSize: $font-size.t4
|
|
45
|
+
lineHeight: $line-height.t4
|
|
46
|
+
fontWeight: $font-weight.bold
|
|
47
|
+
pressed:
|
|
48
|
+
root:
|
|
49
|
+
color: $color.bg.transparent-pressed
|
|
50
|
+
scale: $scale.s97
|
|
51
|
+
selected:
|
|
52
|
+
root:
|
|
53
|
+
color: $color.bg.neutral-inverted
|
|
54
|
+
label:
|
|
55
|
+
color: $color.fg.neutral-inverted
|
|
56
|
+
selected, pressed:
|
|
57
|
+
root:
|
|
58
|
+
color: $color.bg.neutral-inverted-pressed
|
|
59
|
+
disabled:
|
|
60
|
+
root:
|
|
61
|
+
color: $color.bg.transparent
|
|
62
|
+
label:
|
|
63
|
+
color: $color.fg.disabled
|
|
64
|
+
selected, disabled:
|
|
65
|
+
root:
|
|
66
|
+
color: $color.bg.disabled
|
|
67
|
+
label:
|
|
68
|
+
color: $color.fg.disabled
|
|
@@ -18,6 +18,9 @@ data:
|
|
|
18
18
|
type: duration
|
|
19
19
|
colorTimingFunction:
|
|
20
20
|
type: cubicBezier
|
|
21
|
+
scaleScope:
|
|
22
|
+
type: enum
|
|
23
|
+
values: [self, content]
|
|
21
24
|
icon:
|
|
22
25
|
properties:
|
|
23
26
|
size:
|
|
@@ -55,6 +58,7 @@ data:
|
|
|
55
58
|
pressed:
|
|
56
59
|
root:
|
|
57
60
|
color: $color.bg.transparent-pressed
|
|
61
|
+
scaleScope: self
|
|
58
62
|
disabled:
|
|
59
63
|
icon:
|
|
60
64
|
color: $color.fg.disabled
|
package/components/radio.yaml
CHANGED
|
@@ -22,6 +22,10 @@ data:
|
|
|
22
22
|
type: color
|
|
23
23
|
cornerRadius:
|
|
24
24
|
type: dimension
|
|
25
|
+
scaleScope:
|
|
26
|
+
type: enum
|
|
27
|
+
values: [self, content]
|
|
28
|
+
description: 감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item, Select Box 등)에는 이 값이 적용되지 않습니다.
|
|
25
29
|
icon:
|
|
26
30
|
properties:
|
|
27
31
|
size:
|
|
@@ -48,6 +52,9 @@ data:
|
|
|
48
52
|
root:
|
|
49
53
|
strokeWidth: 0px
|
|
50
54
|
strokeColor: "#00000000"
|
|
55
|
+
pressed:
|
|
56
|
+
root:
|
|
57
|
+
scaleScope: self
|
|
51
58
|
|
|
52
59
|
tone=brand:
|
|
53
60
|
enabled,selected:
|
|
@@ -28,6 +28,9 @@ data:
|
|
|
28
28
|
type: dimension
|
|
29
29
|
paddingY:
|
|
30
30
|
type: dimension
|
|
31
|
+
scaleScope:
|
|
32
|
+
type: enum
|
|
33
|
+
values: [self, content]
|
|
31
34
|
label:
|
|
32
35
|
properties:
|
|
33
36
|
color:
|
|
@@ -87,6 +90,7 @@ data:
|
|
|
87
90
|
pressed:
|
|
88
91
|
root:
|
|
89
92
|
color: $color.bg.transparent-pressed
|
|
93
|
+
scaleScope: self
|
|
90
94
|
selected:
|
|
91
95
|
root:
|
|
92
96
|
color: $color.bg.transparent
|
|
@@ -30,6 +30,9 @@ data:
|
|
|
30
30
|
type: dimension
|
|
31
31
|
strokeColor:
|
|
32
32
|
type: color
|
|
33
|
+
scaleScope:
|
|
34
|
+
type: enum
|
|
35
|
+
values: [self, content]
|
|
33
36
|
label:
|
|
34
37
|
properties:
|
|
35
38
|
fontSize:
|
|
@@ -68,6 +71,7 @@ data:
|
|
|
68
71
|
color: $color.bg.neutral-weak-pressed
|
|
69
72
|
strokeWidth: 1px
|
|
70
73
|
strokeColor: $color.stroke.neutral-muted
|
|
74
|
+
scaleScope: content
|
|
71
75
|
selected:
|
|
72
76
|
label:
|
|
73
77
|
color: $color.fg.neutral
|
|
@@ -25,6 +25,9 @@ data:
|
|
|
25
25
|
description: enabled 상태의 stroke 위에 selected 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
26
26
|
strokeTimingFunction:
|
|
27
27
|
type: cubicBezier
|
|
28
|
+
scaleScope:
|
|
29
|
+
type: enum
|
|
30
|
+
values: [self, content]
|
|
28
31
|
trigger:
|
|
29
32
|
properties:
|
|
30
33
|
gap:
|
|
@@ -103,7 +106,7 @@ data:
|
|
|
103
106
|
root:
|
|
104
107
|
cornerRadius: $radius.r3
|
|
105
108
|
color: $color.bg.transparent
|
|
106
|
-
strokeColor: $color.stroke.neutral-
|
|
109
|
+
strokeColor: $color.stroke.neutral-weak
|
|
107
110
|
strokeWidth: 1px
|
|
108
111
|
colorDuration: $duration.color-transition
|
|
109
112
|
colorTimingFunction: $timing-function.easing
|
|
@@ -146,7 +149,7 @@ data:
|
|
|
146
149
|
strokeColor: $color.stroke.neutral-contrast
|
|
147
150
|
disabled:
|
|
148
151
|
root:
|
|
149
|
-
strokeColor: $color.stroke.neutral-
|
|
152
|
+
strokeColor: $color.stroke.neutral-weak
|
|
150
153
|
prefixIcon:
|
|
151
154
|
color: $color.fg.disabled
|
|
152
155
|
label:
|
|
@@ -157,6 +160,9 @@ data:
|
|
|
157
160
|
enabled,pressed:
|
|
158
161
|
root:
|
|
159
162
|
color: $color.bg.transparent-pressed
|
|
163
|
+
pressed:
|
|
164
|
+
root:
|
|
165
|
+
scaleScope: content
|
|
160
166
|
|
|
161
167
|
layout=horizontal:
|
|
162
168
|
enabled:
|
|
@@ -28,6 +28,9 @@ data:
|
|
|
28
28
|
type: dimension
|
|
29
29
|
gap:
|
|
30
30
|
type: dimension
|
|
31
|
+
scaleScope:
|
|
32
|
+
type: enum
|
|
33
|
+
values: [self, content]
|
|
31
34
|
prefixIcon:
|
|
32
35
|
properties:
|
|
33
36
|
size:
|
|
@@ -99,6 +102,7 @@ data:
|
|
|
99
102
|
root:
|
|
100
103
|
color: $color.bg.transparent-pressed
|
|
101
104
|
marginX: $dimension.x2
|
|
105
|
+
scaleScope: content
|
|
102
106
|
|
|
103
107
|
disabled:
|
|
104
108
|
prefixIcon:
|
|
@@ -31,6 +31,9 @@ data:
|
|
|
31
31
|
description: enabled 상태의 stroke 위에 invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
32
32
|
strokeTimingFunction:
|
|
33
33
|
type: cubicBezier
|
|
34
|
+
scaleScope:
|
|
35
|
+
type: enum
|
|
36
|
+
values: [self, content]
|
|
34
37
|
value:
|
|
35
38
|
properties:
|
|
36
39
|
fontSize:
|
|
@@ -114,6 +117,7 @@ data:
|
|
|
114
117
|
pressed:
|
|
115
118
|
root:
|
|
116
119
|
color: $color.bg.transparent-pressed
|
|
120
|
+
scaleScope: content
|
|
117
121
|
|
|
118
122
|
invalid:
|
|
119
123
|
root:
|
|
@@ -18,6 +18,9 @@ data:
|
|
|
18
18
|
type: duration
|
|
19
19
|
colorTimingFunction:
|
|
20
20
|
type: cubicBezier
|
|
21
|
+
scaleScope:
|
|
22
|
+
type: enum
|
|
23
|
+
values: [self, content]
|
|
21
24
|
icon:
|
|
22
25
|
properties:
|
|
23
26
|
color:
|
|
@@ -45,3 +48,4 @@ data:
|
|
|
45
48
|
pressed:
|
|
46
49
|
root:
|
|
47
50
|
color: $color.bg.transparent-pressed
|
|
51
|
+
scaleScope: self
|
package/components/snackbar.yaml
CHANGED
|
@@ -84,6 +84,9 @@ data:
|
|
|
84
84
|
type: dimension
|
|
85
85
|
fontWeight:
|
|
86
86
|
type: number
|
|
87
|
+
scaleScope:
|
|
88
|
+
type: enum
|
|
89
|
+
values: [self, content]
|
|
87
90
|
definitions:
|
|
88
91
|
base:
|
|
89
92
|
enabled:
|
|
@@ -97,7 +100,7 @@ data:
|
|
|
97
100
|
color: $color.bg.neutral-inverted
|
|
98
101
|
cornerRadius: $radius.r2
|
|
99
102
|
minHeight: 44px
|
|
100
|
-
maxWidth:
|
|
103
|
+
maxWidth: 464px
|
|
101
104
|
paddingX: $dimension.x2_5
|
|
102
105
|
paddingY: $dimension.x2_5
|
|
103
106
|
enterOpacity: 0
|
|
@@ -126,6 +129,9 @@ data:
|
|
|
126
129
|
fontSize: $font-size.t4
|
|
127
130
|
lineHeight: $line-height.t4
|
|
128
131
|
fontWeight: $font-weight.bold
|
|
132
|
+
pressed:
|
|
133
|
+
actionButton:
|
|
134
|
+
scaleScope: self
|
|
129
135
|
variant=default: {}
|
|
130
136
|
variant=positive:
|
|
131
137
|
enabled:
|
package/components/switch.yaml
CHANGED
|
@@ -34,6 +34,10 @@ data:
|
|
|
34
34
|
type: dimension
|
|
35
35
|
paddingY:
|
|
36
36
|
type: dimension
|
|
37
|
+
scaleScope:
|
|
38
|
+
type: enum
|
|
39
|
+
values: [self, content]
|
|
40
|
+
description: 감싸는 컴포넌트가 자체 pressed 피드백을 주는 경우(List Item 등)에는 이 값이 적용되지 않습니다.
|
|
37
41
|
thumb:
|
|
38
42
|
properties:
|
|
39
43
|
color:
|
|
@@ -52,6 +56,7 @@ data:
|
|
|
52
56
|
type: dimension
|
|
53
57
|
scale:
|
|
54
58
|
type: number
|
|
59
|
+
description: selected 여부에 따른 thumb 크기입니다. pressed 축소는 root에 적용되므로 이 값과 무관합니다.
|
|
55
60
|
scaleDuration:
|
|
56
61
|
type: duration
|
|
57
62
|
scaleTimingFunction:
|
|
@@ -88,6 +93,9 @@ data:
|
|
|
88
93
|
selected:
|
|
89
94
|
thumb:
|
|
90
95
|
scale: 1.0
|
|
96
|
+
pressed:
|
|
97
|
+
root:
|
|
98
|
+
scaleScope: self
|
|
91
99
|
|
|
92
100
|
tone=brand:
|
|
93
101
|
enabled:
|
package/components/tab.yaml
CHANGED
|
@@ -14,6 +14,9 @@ data:
|
|
|
14
14
|
type: dimension
|
|
15
15
|
paddingY:
|
|
16
16
|
type: dimension
|
|
17
|
+
scaleScope:
|
|
18
|
+
type: enum
|
|
19
|
+
values: [self, content]
|
|
17
20
|
label:
|
|
18
21
|
properties:
|
|
19
22
|
color:
|
|
@@ -35,6 +38,9 @@ data:
|
|
|
35
38
|
disabled:
|
|
36
39
|
label:
|
|
37
40
|
color: $color.fg.disabled
|
|
41
|
+
pressed:
|
|
42
|
+
root:
|
|
43
|
+
scaleScope: self
|
|
38
44
|
size=medium:
|
|
39
45
|
enabled:
|
|
40
46
|
root:
|
|
@@ -24,6 +24,9 @@ data:
|
|
|
24
24
|
type: dimension
|
|
25
25
|
paddingY:
|
|
26
26
|
type: dimension
|
|
27
|
+
scaleScope:
|
|
28
|
+
type: enum
|
|
29
|
+
values: [self, content]
|
|
27
30
|
label:
|
|
28
31
|
properties:
|
|
29
32
|
color:
|
|
@@ -71,6 +74,9 @@ data:
|
|
|
71
74
|
colorTimingFunction: $timing-function.easing
|
|
72
75
|
label:
|
|
73
76
|
fontWeight: $font-weight.bold
|
|
77
|
+
pressed:
|
|
78
|
+
root:
|
|
79
|
+
scaleScope: self
|
|
74
80
|
variant=brandSolid:
|
|
75
81
|
enabled:
|
|
76
82
|
root:
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: wheel-picker
|
|
5
|
+
name: Wheel Picker
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
height:
|
|
12
|
+
type: dimension
|
|
13
|
+
color:
|
|
14
|
+
type: color
|
|
15
|
+
selectionIndicator:
|
|
16
|
+
properties:
|
|
17
|
+
height:
|
|
18
|
+
type: dimension
|
|
19
|
+
insetX:
|
|
20
|
+
type: dimension
|
|
21
|
+
cornerRadius:
|
|
22
|
+
type: dimension
|
|
23
|
+
color:
|
|
24
|
+
type: color
|
|
25
|
+
scrollFog:
|
|
26
|
+
properties:
|
|
27
|
+
maxHeight:
|
|
28
|
+
type: dimension
|
|
29
|
+
maxHeightFraction:
|
|
30
|
+
type: number
|
|
31
|
+
item:
|
|
32
|
+
properties:
|
|
33
|
+
height:
|
|
34
|
+
type: dimension
|
|
35
|
+
itemLabel:
|
|
36
|
+
properties:
|
|
37
|
+
paddingX:
|
|
38
|
+
type: dimension
|
|
39
|
+
fontSize:
|
|
40
|
+
type: dimension
|
|
41
|
+
lineHeight:
|
|
42
|
+
type: dimension
|
|
43
|
+
fontWeight:
|
|
44
|
+
type: number
|
|
45
|
+
color:
|
|
46
|
+
type: color
|
|
47
|
+
variants:
|
|
48
|
+
size:
|
|
49
|
+
values:
|
|
50
|
+
small: {}
|
|
51
|
+
medium: {}
|
|
52
|
+
definitions:
|
|
53
|
+
base:
|
|
54
|
+
enabled:
|
|
55
|
+
root:
|
|
56
|
+
color: $color.bg.layer-floating
|
|
57
|
+
selectionIndicator:
|
|
58
|
+
insetX: $dimension.x4
|
|
59
|
+
cornerRadius: $radius.r2
|
|
60
|
+
color: $color.bg.neutral-weak
|
|
61
|
+
scrollFog:
|
|
62
|
+
maxHeightFraction: 0.4
|
|
63
|
+
itemLabel:
|
|
64
|
+
paddingX: $dimension.x4
|
|
65
|
+
fontWeight: $font-weight.medium
|
|
66
|
+
color: $color.fg.disabled
|
|
67
|
+
selected:
|
|
68
|
+
itemLabel:
|
|
69
|
+
color: $color.fg.neutral
|
|
70
|
+
disabled:
|
|
71
|
+
itemLabel:
|
|
72
|
+
color: $color.fg.disabled
|
|
73
|
+
size=small:
|
|
74
|
+
enabled:
|
|
75
|
+
root:
|
|
76
|
+
height: 180px
|
|
77
|
+
selectionIndicator:
|
|
78
|
+
height: 36px
|
|
79
|
+
scrollFog:
|
|
80
|
+
maxHeight: 108px
|
|
81
|
+
item:
|
|
82
|
+
height: 36px
|
|
83
|
+
itemLabel:
|
|
84
|
+
fontSize: $font-size.t7-static
|
|
85
|
+
lineHeight: $line-height.t7-static
|
|
86
|
+
size=medium:
|
|
87
|
+
enabled:
|
|
88
|
+
root:
|
|
89
|
+
height: 220px
|
|
90
|
+
selectionIndicator:
|
|
91
|
+
height: 44px
|
|
92
|
+
scrollFog:
|
|
93
|
+
maxHeight: 132px
|
|
94
|
+
item:
|
|
95
|
+
height: 44px
|
|
96
|
+
itemLabel:
|
|
97
|
+
fontSize: $font-size.t10-static
|
|
98
|
+
lineHeight: $line-height.t10-static
|
package/duration.yaml
CHANGED
|
@@ -27,6 +27,8 @@ data:
|
|
|
27
27
|
$duration.color-transition:
|
|
28
28
|
values:
|
|
29
29
|
default: $duration.d3
|
|
30
|
+
# TODO: consider renaming to match the scale feedback naming. Held back because the token is
|
|
31
|
+
# already released as --seed-duration-pressed-scale.
|
|
30
32
|
$duration.pressed-scale:
|
|
31
33
|
values:
|
|
32
34
|
default: $duration.d3
|
package/package.json
CHANGED
package/scale.yaml
CHANGED
package/timing-function.yaml
CHANGED
|
@@ -35,6 +35,8 @@ data:
|
|
|
35
35
|
default:
|
|
36
36
|
type: cubicBezier
|
|
37
37
|
value: [0.35, 0, 0.95, 0.55]
|
|
38
|
+
# TODO: consider renaming to match the scale feedback naming. Held back because the token is
|
|
39
|
+
# already released as --seed-timing-function-pressed-scale.
|
|
38
40
|
$timing-function.pressed-scale:
|
|
39
41
|
values:
|
|
40
42
|
default:
|