@seed-design/rootage-artifacts 1.2.9 → 1.2.11

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.
@@ -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
- content:
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
- content:
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: {}
@@ -14,10 +14,11 @@ data:
14
14
  type: dimension
15
15
  color:
16
16
  type: color
17
- strokeColor:
18
- type: color
19
- strokeWidth:
17
+ gradient:
18
+ type: gradient
19
+ bleedBottom:
20
20
  type: dimension
21
+ description: gradient가 표시될 때 하단 아래로 gradient가 확장되는 길이입니다.
21
22
  left:
22
23
  properties: {}
23
24
  description: 왼쪽 영역입니다. 일반적으로 뒤로가기/닫기 Top Navigation Icon Button이 위치합니다.
@@ -28,7 +29,8 @@ data:
28
29
  description: title과 subtitle을 포함하는 영역입니다.
29
30
  right:
30
31
  properties: {}
31
- description: 오른쪽 영역입니다. 일반적으로 Top Navigation Icon Button 또는 Top Navigation Text
32
+ description:
33
+ 오른쪽 영역입니다. 일반적으로 Top Navigation Icon Button 또는 Top Navigation Text
32
34
  Button이 위치합니다.
33
35
  title:
34
36
  properties:
@@ -66,8 +68,21 @@ data:
66
68
  type: number
67
69
  minLineHeightScale:
68
70
  type: number
71
+ variants:
72
+ tone:
73
+ values:
74
+ layer:
75
+ description: color를 $color.bg.layer-basement 등으로 변경하여 사용할 수 있습니다.
76
+ gradient:
77
+ description: tone=transparent일 때만 동작합니다.
78
+ values:
79
+ "false":
80
+ description:
81
+ false로 사용하는 것을 권장하지 않습니다. gradient 없이 사용하면 Top Navigation의 콘텐츠 가독성을
82
+ 직접 확보해야 합니다. 스크린 배경 색상이 Top Navigation에 보이기를 원하는 경우 tone=layer를
83
+ 사용하세요.
69
84
  definitions:
70
- theme=cupertino:
85
+ theme=ios:
71
86
  enabled:
72
87
  root:
73
88
  height: 44px
@@ -91,17 +106,25 @@ data:
91
106
  color: $color.fg.neutral-muted
92
107
  tone=transparent:
93
108
  enabled:
94
- root:
95
- color: "#00000000"
96
109
  title:
97
110
  color: $color.palette.static-white
98
111
  subtitle:
99
112
  color: $color.palette.static-white
100
- divider=true:
113
+ tone=transparent,gradient=false:
114
+ enabled:
115
+ root:
116
+ color: "#00000000"
117
+ tone=transparent,gradient=true:
101
118
  enabled:
102
119
  root:
103
- strokeColor: $color.stroke.neutral-subtle
104
- strokeWidth: 1px
120
+ gradient:
121
+ type: gradient
122
+ value:
123
+ - color: "#00000059" # 35%
124
+ position: 0
125
+ - color: "#00000000"
126
+ position: 1
127
+ bleedBottom: $dimension.x5
105
128
  titleLayout=titleOnly:
106
129
  enabled:
107
130
  title:
package/duration.yaml CHANGED
@@ -27,3 +27,6 @@ data:
27
27
  $duration.color-transition:
28
28
  values:
29
29
  default: $duration.d3
30
+ $duration.pressed-scale:
31
+ values:
32
+ default: $duration.d3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",
@@ -35,3 +35,8 @@ data:
35
35
  default:
36
36
  type: cubicBezier
37
37
  value: [0.35, 0, 0.95, 0.55]
38
+ $timing-function.pressed-scale:
39
+ values:
40
+ default:
41
+ type: cubicBezier
42
+ value: [0, 0, 0.15, 1]