@seed-design/rootage-artifacts 3.3.0 → 3.4.1

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
  }
@@ -47,6 +47,7 @@ declare const artifact: {
47
47
  "type": "dimension";
48
48
  };
49
49
  };
50
+ "description": "Page Banner의 title과 description 첫 줄 세로 가운데에 맞춥니다. 이 컴포넌트의 root가 아니라 icon의 중심이 기준입니다.";
50
51
  };
51
52
  };
52
53
  "variants": {
@@ -46,7 +46,8 @@
46
46
  "size": {
47
47
  "type": "dimension"
48
48
  }
49
- }
49
+ },
50
+ "description": "Page Banner의 title과 description 첫 줄 세로 가운데에 맞춥니다. 이 컴포넌트의 root가 아니라 icon의 중심이 기준입니다."
50
51
  }
51
52
  },
52
53
  "variants": {
@@ -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 타입 사용을 권장합니다. root의 세로 가운데가 아니라 title과 description 첫 줄의 세로 가운데에 맞춥니다.";
51
48
  };
52
49
  "content": {
53
50
  "properties": {
@@ -55,6 +52,7 @@ declare const artifact: {
55
52
  "type": "dimension";
56
53
  };
57
54
  };
55
+ "description": "title, description과 button을 감싸는 컨테이너입니다. button은 title과 description 오른쪽에 놓이고, 한 줄에 들어가지 않으면 그 아래 줄로 내려갑니다.";
58
56
  };
59
57
  "title": {
60
58
  "properties": {
@@ -71,6 +69,7 @@ declare const artifact: {
71
69
  "type": "color";
72
70
  };
73
71
  };
72
+ "description": "description과 줄을 나누지 않고 이어서 표시합니다.";
74
73
  };
75
74
  "description": {
76
75
  "properties": {
@@ -126,6 +125,7 @@ declare const artifact: {
126
125
  "type": "color";
127
126
  };
128
127
  };
128
+ "description": "root가 클릭 영역인 Actionable Page Banner에서 사용합니다. prefixIcon과 같이 root의 세로 가운데가 아니라 title과 description 첫 줄의 세로 가운데에 맞춥니다.";
129
129
  };
130
130
  };
131
131
  "variants": {
@@ -173,10 +173,6 @@ declare const artifact: {
173
173
  "type": "dimension";
174
174
  "value": "$dimension.x2_5";
175
175
  };
176
- "minHeight": {
177
- "type": "dimension";
178
- "value": "$dimension.x10";
179
- };
180
176
  };
181
177
  "prefixIcon": {
182
178
  "size": {
@@ -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,14 +44,15 @@
47
44
  "type": "color"
48
45
  }
49
46
  },
50
- "description": "아이콘은 Fill 타입 사용을 권장합니다."
47
+ "description": "아이콘은 Fill 타입 사용을 권장합니다. root의 세로 가운데가 아니라 title과 description 첫 줄의 세로 가운데에 맞춥니다."
51
48
  },
52
49
  "content": {
53
50
  "properties": {
54
51
  "gap": {
55
52
  "type": "dimension"
56
53
  }
57
- }
54
+ },
55
+ "description": "title, description과 button을 감싸는 컨테이너입니다. button은 title과 description 오른쪽에 놓이고, 한 줄에 들어가지 않으면 그 아래 줄로 내려갑니다."
58
56
  },
59
57
  "title": {
60
58
  "properties": {
@@ -70,7 +68,8 @@
70
68
  "color": {
71
69
  "type": "color"
72
70
  }
73
- }
71
+ },
72
+ "description": "description과 줄을 나누지 않고 이어서 표시합니다."
74
73
  },
75
74
  "description": {
76
75
  "properties": {
@@ -125,7 +124,8 @@
125
124
  "color": {
126
125
  "type": "color"
127
126
  }
128
- }
127
+ },
128
+ "description": "root가 클릭 영역인 Actionable Page Banner에서 사용합니다. prefixIcon과 같이 root의 세로 가운데가 아니라 title과 description 첫 줄의 세로 가운데에 맞춥니다."
129
129
  }
130
130
  },
131
131
  "variants": {
@@ -172,10 +172,6 @@
172
172
  "paddingY": {
173
173
  "type": "dimension",
174
174
  "value": "$dimension.x2_5"
175
- },
176
- "minHeight": {
177
- "type": "dimension",
178
- "value": "$dimension.x10"
179
175
  }
180
176
  },
181
177
  "prefixIcon": {
@@ -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.1";
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.1",
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
@@ -24,6 +24,7 @@ data:
24
24
  type: enum
25
25
  values: [self, content]
26
26
  icon:
27
+ description: Page Banner의 title과 description 첫 줄 세로 가운데에 맞춥니다. 이 컴포넌트의 root가 아니라 icon의 중심이 기준입니다.
27
28
  properties:
28
29
  color:
29
30
  type: color
@@ -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 타입 사용을 권장합니다. root의 세로 가운데가 아니라 title과 description 첫 줄의 세로 가운데에 맞춥니다.
26
24
  properties:
27
25
  size:
28
26
  type: dimension
@@ -31,10 +29,12 @@ data:
31
29
  color:
32
30
  type: color
33
31
  content:
32
+ description: title, description과 button을 감싸는 컨테이너입니다. button은 title과 description 오른쪽에 놓이고, 한 줄에 들어가지 않으면 그 아래 줄로 내려갑니다.
34
33
  properties:
35
34
  gap:
36
35
  type: dimension
37
36
  title:
37
+ description: description과 줄을 나누지 않고 이어서 표시합니다.
38
38
  properties:
39
39
  fontSize:
40
40
  type: dimension
@@ -70,6 +70,7 @@ data:
70
70
  type: enum
71
71
  values: [self, content]
72
72
  suffixIcon:
73
+ description: root가 클릭 영역인 Actionable Page Banner에서 사용합니다. prefixIcon과 같이 root의 세로 가운데가 아니라 title과 description 첫 줄의 세로 가운데에 맞춥니다.
73
74
  properties:
74
75
  size:
75
76
  type: dimension
@@ -94,7 +95,6 @@ data:
94
95
  root:
95
96
  paddingX: $dimension.x4
96
97
  paddingY: $dimension.x2_5
97
- minHeight: $dimension.x10
98
98
  prefixIcon:
99
99
  size: $dimension.x4
100
100
  marginRight: $dimension.x2
@@ -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.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",