@seed-design/rootage-artifacts 1.2.9 → 1.2.10
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/chip.yaml
CHANGED
|
@@ -251,7 +251,18 @@ data:
|
|
|
251
251
|
icon:
|
|
252
252
|
size: $dimension.x4
|
|
253
253
|
|
|
254
|
-
layout=withText:
|
|
254
|
+
size=small,layout=withText:
|
|
255
|
+
enabled:
|
|
256
|
+
root:
|
|
257
|
+
minWidth: 44px
|
|
258
|
+
size=medium,layout=withText:
|
|
259
|
+
enabled:
|
|
260
|
+
root:
|
|
261
|
+
minWidth: $dimension.x12
|
|
262
|
+
size=large,layout=withText:
|
|
263
|
+
enabled:
|
|
264
|
+
root:
|
|
265
|
+
minWidth: $dimension.x13
|
|
255
266
|
|
|
256
267
|
size=small,layout=iconOnly:
|
|
257
268
|
enabled:
|
|
@@ -20,6 +20,7 @@ data:
|
|
|
20
20
|
type: color
|
|
21
21
|
marginX:
|
|
22
22
|
type: dimension
|
|
23
|
+
description: pressed 시 배경 레이어는 좌우 폭이 marginX만큼 줄어들고, 배경 레이어 위 요소들이 위치하는 레이아웃 레이어는 scale로 인해 전체적으로 줄어드는 형태로 두 레이어가 별개로 작동합니다. 이 값은 OS 동작 줄이기 설정의 영향을 받지 않습니다.
|
|
23
24
|
cornerRadius:
|
|
24
25
|
type: dimension
|
|
25
26
|
marginDuration:
|
|
@@ -30,7 +31,14 @@ data:
|
|
|
30
31
|
type: duration
|
|
31
32
|
borderRadiusTimingFunction:
|
|
32
33
|
type: cubicBezier
|
|
33
|
-
|
|
34
|
+
contentScale:
|
|
35
|
+
type: number
|
|
36
|
+
description: pressed 시 배경 레이어는 좌우 폭이 marginX만큼 줄어들고, 배경 레이어 위 요소들이 위치하는 레이아웃 레이어는 scale로 인해 전체적으로 줄어드는 형태로 두 레이어가 별개로 작동합니다. OS 동작 줄이기 등의 설정이 켜진 경우 이 값을 1로 변경하여 사용합니다.
|
|
37
|
+
contentScaleDuration:
|
|
38
|
+
type: duration
|
|
39
|
+
contentScaleTimingFunction:
|
|
40
|
+
type: cubicBezier
|
|
41
|
+
body:
|
|
34
42
|
properties:
|
|
35
43
|
gap:
|
|
36
44
|
type: dimension
|
|
@@ -99,7 +107,9 @@ data:
|
|
|
99
107
|
marginTimingFunction: $timing-function.easing
|
|
100
108
|
borderRadiusDuration: $duration.d3
|
|
101
109
|
borderRadiusTimingFunction: $timing-function.easing
|
|
102
|
-
|
|
110
|
+
contentScaleDuration: $duration.pressed-scale
|
|
111
|
+
contentScaleTimingFunction: $timing-function.pressed-scale
|
|
112
|
+
body:
|
|
103
113
|
gap: $dimension.x0_5
|
|
104
114
|
paddingRight: $dimension.x2_5
|
|
105
115
|
title:
|
|
@@ -132,6 +142,7 @@ data:
|
|
|
132
142
|
color: $color.bg.transparent-pressed
|
|
133
143
|
marginX: $dimension.x1_5
|
|
134
144
|
cornerRadius: $dimension.x2_5
|
|
145
|
+
contentScale: 0.97
|
|
135
146
|
highlighted:
|
|
136
147
|
root:
|
|
137
148
|
color: $color.bg.brand-weak
|
|
@@ -8,6 +8,10 @@ data:
|
|
|
8
8
|
slots:
|
|
9
9
|
root:
|
|
10
10
|
properties:
|
|
11
|
+
maxWidth:
|
|
12
|
+
type: dimension
|
|
13
|
+
description: 버튼 레이블이 길어졌을 때 ellipsis 말줄임을 시작할 최대 너비입니다. Top Navigation main
|
|
14
|
+
slot이 충분한 공간을 차지할 수 있도록 하기 위해 폰트 스케일링의 영향을 받지 않는 px 값을 사용합니다.
|
|
11
15
|
height:
|
|
12
16
|
type: dimension
|
|
13
17
|
paddingX:
|
|
@@ -58,3 +62,8 @@ data:
|
|
|
58
62
|
disabled:
|
|
59
63
|
label:
|
|
60
64
|
color: $color.fg.disabled
|
|
65
|
+
theme=ios:
|
|
66
|
+
enabled:
|
|
67
|
+
root:
|
|
68
|
+
maxWidth: 96px
|
|
69
|
+
theme=android: {}
|
|
@@ -18,6 +18,11 @@ data:
|
|
|
18
18
|
type: color
|
|
19
19
|
strokeWidth:
|
|
20
20
|
type: dimension
|
|
21
|
+
gradient:
|
|
22
|
+
type: gradient
|
|
23
|
+
bleedBottom:
|
|
24
|
+
type: dimension
|
|
25
|
+
description: gradient가 표시될 때 하단 아래로 gradient가 확장되는 길이입니다.
|
|
21
26
|
left:
|
|
22
27
|
properties: {}
|
|
23
28
|
description: 왼쪽 영역입니다. 일반적으로 뒤로가기/닫기 Top Navigation Icon Button이 위치합니다.
|
|
@@ -66,8 +71,20 @@ data:
|
|
|
66
71
|
type: number
|
|
67
72
|
minLineHeightScale:
|
|
68
73
|
type: number
|
|
74
|
+
variants:
|
|
75
|
+
tone:
|
|
76
|
+
values:
|
|
77
|
+
layer:
|
|
78
|
+
description: color를 $color.bg.layer-basement 등으로 변경하여 사용할 수 있습니다.
|
|
79
|
+
gradient:
|
|
80
|
+
description: tone=transparent일 때만 동작합니다.
|
|
81
|
+
values:
|
|
82
|
+
"false":
|
|
83
|
+
description: false로 사용하는 것을 권장하지 않습니다. gradient 없이 사용하면 Top Navigation의 콘텐츠 가독성을
|
|
84
|
+
직접 확보해야 합니다. 스크린 배경 색상이 Top Navigation에 보이기를 원하는 경우 tone=layer를
|
|
85
|
+
사용하세요.
|
|
69
86
|
definitions:
|
|
70
|
-
theme=
|
|
87
|
+
theme=ios:
|
|
71
88
|
enabled:
|
|
72
89
|
root:
|
|
73
90
|
height: 44px
|
|
@@ -91,17 +108,31 @@ data:
|
|
|
91
108
|
color: $color.fg.neutral-muted
|
|
92
109
|
tone=transparent:
|
|
93
110
|
enabled:
|
|
94
|
-
root:
|
|
95
|
-
color: "#00000000"
|
|
96
111
|
title:
|
|
97
112
|
color: $color.palette.static-white
|
|
98
113
|
subtitle:
|
|
99
114
|
color: $color.palette.static-white
|
|
115
|
+
tone=transparent,gradient=false:
|
|
116
|
+
enabled:
|
|
117
|
+
root:
|
|
118
|
+
color: "#00000000"
|
|
119
|
+
tone=transparent,gradient=true:
|
|
120
|
+
enabled:
|
|
121
|
+
root:
|
|
122
|
+
gradient:
|
|
123
|
+
type: gradient
|
|
124
|
+
value:
|
|
125
|
+
- color: "#00000059" # 35%
|
|
126
|
+
position: 0
|
|
127
|
+
- color: "#00000000"
|
|
128
|
+
position: 1
|
|
129
|
+
bleedBottom: $dimension.x5
|
|
100
130
|
divider=true:
|
|
101
131
|
enabled:
|
|
102
132
|
root:
|
|
103
133
|
strokeColor: $color.stroke.neutral-subtle
|
|
104
134
|
strokeWidth: 1px
|
|
135
|
+
divider=false: {}
|
|
105
136
|
titleLayout=titleOnly:
|
|
106
137
|
enabled:
|
|
107
138
|
title:
|
package/duration.yaml
CHANGED
package/package.json
CHANGED