@seed-design/rootage-artifacts 1.2.1 → 1.2.3

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,21 +41,21 @@ data:
41
41
  lineHeight:
42
42
  type: dimension
43
43
  icon:
44
- description: Icon Only 레이아웃에서 사용되는 아이콘 슬롯입니다.
44
+ description: layout=iconOnly에서 사용되는 아이콘 슬롯입니다.
45
45
  properties:
46
46
  color:
47
47
  type: color
48
48
  size:
49
49
  type: dimension
50
50
  prefixIcon:
51
- description: 주로 액션의 의미를 보조합니다.
51
+ description: 주로 액션의 의미를 보조합니다. suffixIcon과 함께 사용할 수 없습니다.
52
52
  properties:
53
53
  color:
54
54
  type: color
55
55
  size:
56
56
  type: dimension
57
57
  suffixIcon:
58
- description: Chevron처럼 동작을 보조하는 역할입니다.
58
+ description: Chevron처럼 동작을 보조하는 역할입니다. prefixIcon과 함께 사용할 수 없습니다.
59
59
  properties:
60
60
  color:
61
61
  type: color
@@ -83,11 +83,11 @@ data:
83
83
  criticalSolid:
84
84
  description: 삭제나 초기화처럼 되돌릴 수 없는 중요한 작업에 사용합니다.
85
85
  neutralOutline:
86
- description: Solid 타입과 함께 사용할 수 없으며, Brand Outline과 조합하여 사용하는 것을 권장합니다.
86
+ description: variant=brandSolid, neutralSolid, criticalSolid와 함께 사용할 수 없으며, variant=brandOutline과 조합하여 사용하는 것을 권장합니다.
87
87
  brandOutline:
88
- description: Solid 타입과 함께 사용할 수 없으며, Neutral Outline과 조합하여 사용하는 것을 권장합니다.
88
+ description: variant=brandSolid, neutralSolid, criticalSolid와 함께 사용할 수 없으며, variant=neutralOutline과 조합하여 사용하는 것을 권장합니다.
89
89
  ghost:
90
- description: 배경 없이 텍스트와 아이콘만 표시됩니다.
90
+ description: 배경 없이 텍스트와 아이콘만 표시됩니다. 모두 동일한 색상을 사용하는 조건에서 icon, prefix icon, suffix icon, label에 정의된 color를 변경할 수 있으며, label의 fontWeight를 `$font-weight.regular` 또는 `$font-weight.medium`으로 변경하여 주목도를 조절할 수 있습니다.
91
91
  size:
92
92
  values:
93
93
  xsmall:
@@ -103,7 +103,7 @@ data:
103
103
  withText:
104
104
  description: 텍스트와 함께 아이콘을 표시할 수 있습니다.
105
105
  iconOnly:
106
- description: 아이콘만으로 의미를 전달하기 때문에 접근성이 떨어집니다. 꼭 필요한 경우에만 사용하는 것을 권장합니다.
106
+ description: 아이콘만으로 의미를 전달하기 때문에 접근성이 떨어집니다. 꼭 필요한 경우에만 접근성 레이블과 함께 사용하는 것을 권장합니다.
107
107
  definitions:
108
108
  base:
109
109
  enabled:
@@ -42,10 +42,6 @@ data:
42
42
  properties:
43
43
  gap:
44
44
  type: dimension
45
- paddingLeft:
46
- type: dimension
47
- paddingRight:
48
- type: dimension
49
45
  paddingTop:
50
46
  type: dimension
51
47
  paddingBottom:
@@ -72,6 +68,10 @@ data:
72
68
  type: dimension
73
69
  fontWeight:
74
70
  type: number
71
+ paddingLeft:
72
+ type: dimension
73
+ paddingRight:
74
+ type: dimension
75
75
  description:
76
76
  properties:
77
77
  color:
@@ -82,6 +82,8 @@ data:
82
82
  type: dimension
83
83
  fontWeight:
84
84
  type: number
85
+ paddingX:
86
+ type: dimension
85
87
  closeButton:
86
88
  properties:
87
89
  fromTop:
@@ -128,16 +130,27 @@ data:
128
130
  fontSize: $font-size.t5
129
131
  lineHeight: $line-height.t5
130
132
  fontWeight: $font-weight.regular
133
+ paddingX: $dimension.spacing-x.global-gutter
131
134
  closeButton:
132
- fromTop: $dimension.x5
133
- fromRight: $dimension.x5
134
- headerAlignment=left:
135
+ fromTop: $dimension.x6
136
+ fromRight: $dimension.x4
137
+ headerAlignment=left,closeButton=true:
135
138
  enabled:
136
- header:
139
+ title:
140
+ paddingRight: 56px
137
141
  paddingLeft: $dimension.spacing-x.global-gutter
138
- paddingRight: 50px
139
- headerAlignment=center:
142
+ headerAlignment=left,closeButton=false:
140
143
  enabled:
141
- header:
142
- paddingLeft: 50px
143
- paddingRight: 50px
144
+ title:
145
+ paddingLeft: $dimension.spacing-x.global-gutter
146
+ paddingRight: $dimension.spacing-x.global-gutter
147
+ headerAlignment=center,closeButton=true:
148
+ enabled:
149
+ title:
150
+ paddingLeft: 56px
151
+ paddingRight: 56px
152
+ headerAlignment=center,closeButton=false:
153
+ enabled:
154
+ title:
155
+ paddingLeft: $dimension.spacing-x.global-gutter
156
+ paddingRight: $dimension.spacing-x.global-gutter
@@ -50,7 +50,7 @@ data:
50
50
  color:
51
51
  type: color
52
52
  link:
53
- description: Container모두 클릭 영역인 Actionable Callout에서는 표시를 권장하지 않습니다.
53
+ description: root가 클릭 영역인 Actionable Callout에서는 표시를 권장하지 않습니다.
54
54
  properties:
55
55
  fontSize:
56
56
  type: dimension
@@ -22,8 +22,10 @@ data:
22
22
  type: dimension
23
23
  color:
24
24
  type: color
25
- stroke:
25
+ strokeColor:
26
26
  type: color
27
+ strokeWidth:
28
+ type: dimension
27
29
  label:
28
30
  properties:
29
31
  fontSize:
@@ -85,7 +87,8 @@ data:
85
87
  enabled:
86
88
  root:
87
89
  color: $color.bg.transparent
88
- stroke: $color.stroke.neutral-muted
90
+ strokeColor: $color.stroke.neutral-muted
91
+ strokeWidth: 1px
89
92
  label:
90
93
  color: $color.fg.neutral
91
94
  enabled,pressed:
@@ -70,9 +70,9 @@ data:
70
70
  layout:
71
71
  values:
72
72
  withText:
73
- description: 라벨과 아이콘을 함께 표시합니다.
73
+ description: label과 prefixIcon을 함께 표시합니다.
74
74
  iconOnly:
75
- description: 아이콘만 표시합니다. 접근성을 위해 aria-label을 제공해야 합니다.
75
+ description: icon만 표시합니다. 아이콘만으로 의미를 전달하기 때문에 접근성 레이블과 함께 사용해야 합니다.
76
76
  definitions:
77
77
  base:
78
78
  enabled:
@@ -8,37 +8,35 @@ data:
8
8
  slots:
9
9
  root:
10
10
  properties:
11
- cornerRadius:
12
- type: dimension
13
- description: rounded 옵션 사용 시 적용되는 모서리 반경입니다.
14
11
  strokeColor:
15
12
  type: color
16
13
  description: stroke 옵션 사용 시 적용되는 테두리 색상입니다.
17
14
  strokeWidth:
18
15
  type: dimension
19
16
  description: stroke 옵션 사용 시 적용되는 테두리 두께입니다.
17
+ cornerRadius:
18
+ type: dimension
19
+ description: rounded 옵션 사용 시 적용되는 모서리 반경입니다.
20
20
  variants:
21
- rounded:
22
- values:
23
- "true":
24
- description: 모서리에 라운드 스타일을 적용합니다.
25
- "false":
26
- description: 모서리를 직각으로 유지합니다.
27
21
  stroke:
28
22
  values:
29
23
  "true":
30
24
  description: 이미지 테두리에 스트로크를 표시합니다.
31
25
  "false":
32
26
  description: 테두리를 표시하지 않습니다.
27
+ rounded:
28
+ values:
29
+ "true":
30
+ description: |
31
+ 모서리를 둥글게 처리합니다.
32
+ @deprecated `rounded` 옵션은 @seed-design/react@1.3.0에서 제거될 예정입니다. `borderRadius="r2"`를 사용하세요.
33
+ Reason: 모서리 스타일은 `borderRadius` prop으로 통일합니다.
34
+ "false":
35
+ description: |
36
+ 모서리를 둥글게 처리하지 않습니다.
37
+ @deprecated `rounded` 옵션은 @seed-design/react@1.3.0에서 제거될 예정입니다. `borderRadius="r2"`를 사용하세요.
38
+ Reason: 모서리 스타일은 `borderRadius` prop으로 통일합니다.
33
39
  definitions:
34
- rounded=true:
35
- enabled:
36
- root:
37
- cornerRadius: $radius.r2
38
- rounded=false:
39
- enabled:
40
- root:
41
- cornerRadius: 0px
42
40
  stroke=true:
43
41
  enabled:
44
42
  root:
@@ -48,3 +46,11 @@ data:
48
46
  enabled:
49
47
  root:
50
48
  strokeWidth: 0px
49
+ rounded=true:
50
+ enabled:
51
+ root:
52
+ cornerRadius: $radius.r2
53
+ rounded=false:
54
+ enabled:
55
+ root:
56
+ cornerRadius: 0px
@@ -28,7 +28,7 @@ data:
28
28
  type: cubicBezier
29
29
  strokeDuration:
30
30
  type: duration
31
- description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
31
+ description: enabled 상태의 stroke 위에 invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
32
32
  strokeTimingFunction:
33
33
  type: cubicBezier
34
34
  value:
@@ -22,7 +22,7 @@ data:
22
22
  type: cubicBezier
23
23
  strokeDuration:
24
24
  type: duration
25
- description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
25
+ description: enabled 상태의 stroke 위에 selected 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
26
26
  strokeTimingFunction:
27
27
  type: cubicBezier
28
28
  trigger:
@@ -41,6 +41,7 @@ data:
41
41
  color:
42
42
  type: color
43
43
  valueIndicatorRoot:
44
+ description: arrow width + (valueIndicatorRoot paddingX * 2)만큼의 최소 너비를 가집니다.
44
45
  properties:
45
46
  color:
46
47
  type: color
@@ -48,6 +49,7 @@ data:
48
49
  type: dimension
49
50
  paddingX:
50
51
  type: dimension
52
+ description: value indicator 내부 좌우 여백입니다. arrow와 valueIndicatorRoot 경계 사이의 최소 간격에도 동일한 값이 적용됩니다.
51
53
  paddingY:
52
54
  type: dimension
53
55
  offsetY:
@@ -80,8 +82,7 @@ data:
80
82
  type: dimension
81
83
  gutter:
82
84
  type: dimension
83
- padding:
84
- type: dimension
85
+ description: arrow와 thumb 사이의 거리를 정의합니다.
85
86
  valueIndicatorLabel:
86
87
  properties:
87
88
  color:
@@ -125,9 +126,9 @@ data:
125
126
  color: $color.bg.neutral-inverted
126
127
  valueIndicatorRoot:
127
128
  color: $color.bg.neutral-inverted
128
- cornerRadius: $radius.r1
129
- paddingX: $dimension.x1_5
130
- paddingY: $dimension.x0_5
129
+ cornerRadius: $radius.r1_5
130
+ paddingX: $dimension.x2
131
+ paddingY: $dimension.x1
131
132
  offsetY: $dimension.x3
132
133
  enterScale: 0.9
133
134
  enterOpacity: 0
@@ -139,15 +140,14 @@ data:
139
140
  exitTimingFunction: $timing-function.easing
140
141
  valueIndicatorArrow:
141
142
  color: $color.bg.neutral-inverted
142
- width: $dimension.x2_5
143
- height: 7px
143
+ width: $dimension.x2
144
+ height: $dimension.x1_5
144
145
  cornerRadius: $radius.r0_5
145
146
  gutter: $dimension.x0_5
146
- padding: $dimension.x0_5
147
147
  valueIndicatorLabel:
148
148
  color: $color.fg.neutral-inverted
149
- fontSize: $font-size.t1
150
- lineHeight: $line-height.t1
149
+ fontSize: $font-size.t3
150
+ lineHeight: $line-height.t3
151
151
  fontWeight: $font-weight.medium
152
152
  marker:
153
153
  color: $color.fg.neutral-muted
@@ -28,7 +28,7 @@ data:
28
28
  type: color
29
29
  strokeDuration:
30
30
  type: duration
31
- description: 1px stroke 위에 2px stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
31
+ description: enabled 상태의 stroke 위에 focused/invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
32
32
  strokeTimingFunction:
33
33
  type: cubicBezier
34
34
  value:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",