@seed-design/rootage-artifacts 3.3.0 → 3.4.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.
@@ -41,22 +41,27 @@ declare const artifact: {
41
41
  {
42
42
  "id": "base";
43
43
  "description": "세로 모드 폰";
44
+ "minWidth": 0;
44
45
  },
45
46
  {
46
47
  "id": "sm";
47
48
  "description": "가로 모드 폰 또는 좁은 태블릿";
49
+ "minWidth": 480;
48
50
  },
49
51
  {
50
52
  "id": "md";
51
53
  "description": "태블릿";
54
+ "minWidth": 768;
52
55
  },
53
56
  {
54
57
  "id": "lg";
55
58
  "description": "데스크톱";
59
+ "minWidth": 1280;
56
60
  },
57
61
  {
58
62
  "id": "xl";
59
63
  "description": "넓은 데스크톱";
64
+ "minWidth": 1440;
60
65
  },
61
66
  ];
62
67
  },
@@ -40,23 +40,28 @@
40
40
  "modes": [
41
41
  {
42
42
  "id": "base",
43
- "description": "세로 모드 폰"
43
+ "description": "세로 모드 폰",
44
+ "minWidth": 0
44
45
  },
45
46
  {
46
47
  "id": "sm",
47
- "description": "가로 모드 폰 또는 좁은 태블릿"
48
+ "description": "가로 모드 폰 또는 좁은 태블릿",
49
+ "minWidth": 480
48
50
  },
49
51
  {
50
52
  "id": "md",
51
- "description": "태블릿"
53
+ "description": "태블릿",
54
+ "minWidth": 768
52
55
  },
53
56
  {
54
57
  "id": "lg",
55
- "description": "데스크톱"
58
+ "description": "데스크톱",
59
+ "minWidth": 1280
56
60
  },
57
61
  {
58
62
  "id": "xl",
59
- "description": "넓은 데스크톱"
63
+ "description": "넓은 데스크톱",
64
+ "minWidth": 1440
60
65
  }
61
66
  ]
62
67
  }
@@ -17,9 +17,6 @@ declare const artifact: {
17
17
  "paddingY": {
18
18
  "type": "dimension";
19
19
  };
20
- "minHeight": {
21
- "type": "dimension";
22
- };
23
20
  "color": {
24
21
  "type": "color";
25
22
  };
@@ -47,7 +44,7 @@ declare const artifact: {
47
44
  "type": "color";
48
45
  };
49
46
  };
50
- "description": "아이콘은 Fill 타입 사용을 권장합니다.";
47
+ "description": "아이콘은 Fill 타입 사용을 권장합니다. 텍스트 첫 줄과 정렬을 유지하기 위해 폰트 스케일링에 반응합니다.";
51
48
  };
52
49
  "content": {
53
50
  "properties": {
@@ -173,15 +170,14 @@ declare const artifact: {
173
170
  "type": "dimension";
174
171
  "value": "$dimension.x2_5";
175
172
  };
176
- "minHeight": {
177
- "type": "dimension";
178
- "value": "$dimension.x10";
179
- };
180
173
  };
181
174
  "prefixIcon": {
182
175
  "size": {
183
176
  "type": "dimension";
184
- "value": "$dimension.x4";
177
+ "value": {
178
+ "value": 1;
179
+ "unit": "rem";
180
+ };
185
181
  };
186
182
  "marginRight": {
187
183
  "type": "dimension";
@@ -17,9 +17,6 @@
17
17
  "paddingY": {
18
18
  "type": "dimension"
19
19
  },
20
- "minHeight": {
21
- "type": "dimension"
22
- },
23
20
  "color": {
24
21
  "type": "color"
25
22
  },
@@ -47,7 +44,7 @@
47
44
  "type": "color"
48
45
  }
49
46
  },
50
- "description": "아이콘은 Fill 타입 사용을 권장합니다."
47
+ "description": "아이콘은 Fill 타입 사용을 권장합니다. 텍스트 첫 줄과 정렬을 유지하기 위해 폰트 스케일링에 반응합니다."
51
48
  },
52
49
  "content": {
53
50
  "properties": {
@@ -172,16 +169,15 @@
172
169
  "paddingY": {
173
170
  "type": "dimension",
174
171
  "value": "$dimension.x2_5"
175
- },
176
- "minHeight": {
177
- "type": "dimension",
178
- "value": "$dimension.x10"
179
172
  }
180
173
  },
181
174
  "prefixIcon": {
182
175
  "size": {
183
176
  "type": "dimension",
184
- "value": "$dimension.x4"
177
+ "value": {
178
+ "value": 1,
179
+ "unit": "rem"
180
+ }
185
181
  },
186
182
  "marginRight": {
187
183
  "type": "dimension",
@@ -20,14 +20,12 @@ declare const artifact: {
20
20
  "colorTimingFunction": {
21
21
  "type": "cubicBezier";
22
22
  };
23
- "scale": {
24
- "type": "number";
25
- };
26
- "scaleDuration": {
27
- "type": "duration";
28
- };
29
- "scaleTimingFunction": {
30
- "type": "cubicBezier";
23
+ "scaleScope": {
24
+ "type": "enum";
25
+ "values": readonly [
26
+ "self",
27
+ "content",
28
+ ];
31
29
  };
32
30
  "size": {
33
31
  "type": "dimension";
@@ -72,14 +70,6 @@ declare const artifact: {
72
70
  "type": "cubicBezier";
73
71
  "value": "$timing-function.easing";
74
72
  };
75
- "scaleDuration": {
76
- "type": "duration";
77
- "value": "$duration.pressed-scale";
78
- };
79
- "scaleTimingFunction": {
80
- "type": "cubicBezier";
81
- "value": "$timing-function.pressed-scale";
82
- };
83
73
  "size": {
84
74
  "type": "dimension";
85
75
  "value": "$dimension.x10";
@@ -111,9 +101,9 @@ declare const artifact: {
111
101
  "type": "color";
112
102
  "value": "$color.bg.transparent-pressed";
113
103
  };
114
- "scale": {
115
- "type": "number";
116
- "value": "$scale.s97";
104
+ "scaleScope": {
105
+ "type": "enum";
106
+ "value": "self";
117
107
  };
118
108
  };
119
109
  };
@@ -20,14 +20,12 @@
20
20
  "colorTimingFunction": {
21
21
  "type": "cubicBezier"
22
22
  },
23
- "scale": {
24
- "type": "number"
25
- },
26
- "scaleDuration": {
27
- "type": "duration"
28
- },
29
- "scaleTimingFunction": {
30
- "type": "cubicBezier"
23
+ "scaleScope": {
24
+ "type": "enum",
25
+ "values": [
26
+ "self",
27
+ "content"
28
+ ]
31
29
  },
32
30
  "size": {
33
31
  "type": "dimension"
@@ -72,14 +70,6 @@
72
70
  "type": "cubicBezier",
73
71
  "value": "$timing-function.easing"
74
72
  },
75
- "scaleDuration": {
76
- "type": "duration",
77
- "value": "$duration.pressed-scale"
78
- },
79
- "scaleTimingFunction": {
80
- "type": "cubicBezier",
81
- "value": "$timing-function.pressed-scale"
82
- },
83
73
  "size": {
84
74
  "type": "dimension",
85
75
  "value": "$dimension.x10"
@@ -111,9 +101,9 @@
111
101
  "type": "color",
112
102
  "value": "$color.bg.transparent-pressed"
113
103
  },
114
- "scale": {
115
- "type": "number",
116
- "value": "$scale.s97"
104
+ "scaleScope": {
105
+ "type": "enum",
106
+ "value": "self"
117
107
  }
118
108
  }
119
109
  }
@@ -14,14 +14,12 @@ declare const artifact: {
14
14
  "color": {
15
15
  "type": "color";
16
16
  };
17
- "scale": {
18
- "type": "number";
19
- };
20
- "scaleDuration": {
21
- "type": "duration";
22
- };
23
- "scaleTimingFunction": {
24
- "type": "cubicBezier";
17
+ "scaleScope": {
18
+ "type": "enum";
19
+ "values": readonly [
20
+ "self",
21
+ "content",
22
+ ];
25
23
  };
26
24
  "size": {
27
25
  "type": "dimension";
@@ -64,14 +62,6 @@ declare const artifact: {
64
62
  "type": "color";
65
63
  "value": "$color.bg.transparent";
66
64
  };
67
- "scaleDuration": {
68
- "type": "duration";
69
- "value": "$duration.pressed-scale";
70
- };
71
- "scaleTimingFunction": {
72
- "type": "cubicBezier";
73
- "value": "$timing-function.pressed-scale";
74
- };
75
65
  "size": {
76
66
  "type": "dimension";
77
67
  "value": "$dimension.x10";
@@ -111,9 +101,9 @@ declare const artifact: {
111
101
  "type": "color";
112
102
  "value": "$color.bg.transparent-pressed";
113
103
  };
114
- "scale": {
115
- "type": "number";
116
- "value": "$scale.s97";
104
+ "scaleScope": {
105
+ "type": "enum";
106
+ "value": "self";
117
107
  };
118
108
  };
119
109
  };
@@ -14,14 +14,12 @@
14
14
  "color": {
15
15
  "type": "color"
16
16
  },
17
- "scale": {
18
- "type": "number"
19
- },
20
- "scaleDuration": {
21
- "type": "duration"
22
- },
23
- "scaleTimingFunction": {
24
- "type": "cubicBezier"
17
+ "scaleScope": {
18
+ "type": "enum",
19
+ "values": [
20
+ "self",
21
+ "content"
22
+ ]
25
23
  },
26
24
  "size": {
27
25
  "type": "dimension"
@@ -64,14 +62,6 @@
64
62
  "type": "color",
65
63
  "value": "$color.bg.transparent"
66
64
  },
67
- "scaleDuration": {
68
- "type": "duration",
69
- "value": "$duration.pressed-scale"
70
- },
71
- "scaleTimingFunction": {
72
- "type": "cubicBezier",
73
- "value": "$timing-function.pressed-scale"
74
- },
75
65
  "size": {
76
66
  "type": "dimension",
77
67
  "value": "$dimension.x10"
@@ -111,9 +101,9 @@
111
101
  "type": "color",
112
102
  "value": "$color.bg.transparent-pressed"
113
103
  },
114
- "scale": {
115
- "type": "number",
116
- "value": "$scale.s97"
104
+ "scaleScope": {
105
+ "type": "enum",
106
+ "value": "self"
117
107
  }
118
108
  }
119
109
  }
@@ -1,6 +1,6 @@
1
1
  declare const artifact: {
2
2
  "name": "Rootage";
3
- "version": "3.3.0";
3
+ "version": "3.4.0";
4
4
  "resources": readonly [
5
5
  {
6
6
  "path": "/collections.json";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Rootage",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "resources": [
5
5
  {
6
6
  "path": "/collections.json"
package/collections.yaml CHANGED
@@ -18,11 +18,16 @@ data:
18
18
  modes:
19
19
  - id: base
20
20
  description: "세로 모드 폰"
21
+ minWidth: 0
21
22
  - id: sm
22
23
  description: "가로 모드 폰 또는 좁은 태블릿"
24
+ minWidth: 480
23
25
  - id: md
24
26
  description: "태블릿"
27
+ minWidth: 768
25
28
  - id: lg
26
29
  description: "데스크톱"
30
+ minWidth: 1280
27
31
  - id: xl
28
32
  description: "넓은 데스크톱"
33
+ minWidth: 1440
@@ -12,8 +12,6 @@ data:
12
12
  type: dimension
13
13
  paddingY:
14
14
  type: dimension
15
- minHeight:
16
- type: dimension
17
15
  color:
18
16
  type: color
19
17
  gradient:
@@ -22,7 +20,7 @@ data:
22
20
  type: enum
23
21
  values: [self, content]
24
22
  prefixIcon:
25
- description: 아이콘은 Fill 타입 사용을 권장합니다.
23
+ description: 아이콘은 Fill 타입 사용을 권장합니다. 텍스트 첫 줄과 정렬을 유지하기 위해 폰트 스케일링에 반응합니다.
26
24
  properties:
27
25
  size:
28
26
  type: dimension
@@ -94,9 +92,8 @@ data:
94
92
  root:
95
93
  paddingX: $dimension.x4
96
94
  paddingY: $dimension.x2_5
97
- minHeight: $dimension.x10
98
95
  prefixIcon:
99
- size: $dimension.x4
96
+ size: 1rem # should be font scaled (16px)
100
97
  marginRight: $dimension.x2
101
98
  content:
102
99
  gap: $dimension.x1_5
@@ -14,12 +14,9 @@ data:
14
14
  type: duration
15
15
  colorTimingFunction:
16
16
  type: cubicBezier
17
- scale:
18
- type: number
19
- scaleDuration:
20
- type: duration
21
- scaleTimingFunction:
22
- type: cubicBezier
17
+ scaleScope:
18
+ type: enum
19
+ values: [self, content]
23
20
  size:
24
21
  type: dimension
25
22
  cornerRadius:
@@ -37,8 +34,6 @@ data:
37
34
  color: $color.bg.transparent
38
35
  colorDuration: $duration.color-transition
39
36
  colorTimingFunction: $timing-function.easing
40
- scaleDuration: $duration.pressed-scale
41
- scaleTimingFunction: $timing-function.pressed-scale
42
37
  size: $dimension.x10
43
38
  cornerRadius: $radius.r2
44
39
  icon:
@@ -47,7 +42,7 @@ data:
47
42
  pressed:
48
43
  root:
49
44
  color: $color.bg.transparent-pressed
50
- scale: $scale.s97
45
+ scaleScope: self
51
46
  disabled:
52
47
  root:
53
48
  color: $color.bg.transparent
@@ -10,12 +10,9 @@ data:
10
10
  properties:
11
11
  color:
12
12
  type: color
13
- scale:
14
- type: number
15
- scaleDuration:
16
- type: duration
17
- scaleTimingFunction:
18
- type: cubicBezier
13
+ scaleScope:
14
+ type: enum
15
+ values: [self, content]
19
16
  size:
20
17
  type: dimension
21
18
  cornerRadius:
@@ -35,8 +32,6 @@ data:
35
32
  enabled:
36
33
  root:
37
34
  color: $color.bg.transparent
38
- scaleDuration: $duration.pressed-scale
39
- scaleTimingFunction: $timing-function.pressed-scale
40
35
  size: $dimension.x10
41
36
  cornerRadius: $radius.r2
42
37
  label:
@@ -47,7 +42,7 @@ data:
47
42
  pressed:
48
43
  root:
49
44
  color: $color.bg.transparent-pressed
50
- scale: $scale.s97
45
+ scaleScope: self
51
46
  selected:
52
47
  root:
53
48
  color: $color.bg.neutral-solid
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",