@seed-design/rootage-artifacts 1.2.2 → 1.2.4
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/color.yaml +4 -0
- package/components/action-button.yaml +7 -7
- package/components/bottom-sheet.yaml +3 -3
- package/components/callout.yaml +1 -1
- package/components/chip-tab.yaml +5 -2
- package/components/contextual-floating-button.yaml +2 -2
- package/components/identity-placeholder.yaml +2 -2
- package/components/image-frame-floater.yaml +1 -1
- package/components/image-frame.yaml +10 -9
- package/components/input-button.yaml +1 -1
- package/components/list-item.yaml +1 -1
- package/components/segmented-control-indicator.yaml +38 -0
- package/components/segmented-control-item.yaml +6 -6
- package/components/segmented-control.yaml +0 -21
- package/components/select-box.yaml +1 -1
- package/components/slider.yaml +16 -10
- package/components/text-input.yaml +1 -1
- package/package.json +1 -1
package/color.yaml
CHANGED
|
@@ -734,6 +734,10 @@ data:
|
|
|
734
734
|
values:
|
|
735
735
|
theme-light: $color.palette.yellow-300
|
|
736
736
|
theme-dark: $color.palette.yellow-300
|
|
737
|
+
$color.stroke.focus-ring:
|
|
738
|
+
values:
|
|
739
|
+
theme-light: $color.palette.blue-600
|
|
740
|
+
theme-dark: $color.palette.blue-600
|
|
737
741
|
$color.manner-temp.l1.bg:
|
|
738
742
|
values:
|
|
739
743
|
theme-light: "#f1f2f3"
|
|
@@ -41,21 +41,21 @@ data:
|
|
|
41
41
|
lineHeight:
|
|
42
42
|
type: dimension
|
|
43
43
|
icon:
|
|
44
|
-
description:
|
|
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:
|
|
86
|
+
description: variant=brandSolid, neutralSolid, criticalSolid와 함께 사용할 수 없으며, variant=brandOutline과 조합하여 사용하는 것을 권장합니다.
|
|
87
87
|
brandOutline:
|
|
88
|
-
description:
|
|
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:
|
|
@@ -137,7 +137,7 @@ data:
|
|
|
137
137
|
headerAlignment=left,closeButton=true:
|
|
138
138
|
enabled:
|
|
139
139
|
title:
|
|
140
|
-
paddingRight:
|
|
140
|
+
paddingRight: 56px
|
|
141
141
|
paddingLeft: $dimension.spacing-x.global-gutter
|
|
142
142
|
headerAlignment=left,closeButton=false:
|
|
143
143
|
enabled:
|
|
@@ -147,8 +147,8 @@ data:
|
|
|
147
147
|
headerAlignment=center,closeButton=true:
|
|
148
148
|
enabled:
|
|
149
149
|
title:
|
|
150
|
-
paddingLeft:
|
|
151
|
-
paddingRight:
|
|
150
|
+
paddingLeft: 56px
|
|
151
|
+
paddingRight: 56px
|
|
152
152
|
headerAlignment=center,closeButton=false:
|
|
153
153
|
enabled:
|
|
154
154
|
title:
|
package/components/callout.yaml
CHANGED
package/components/chip-tab.yaml
CHANGED
|
@@ -22,8 +22,10 @@ data:
|
|
|
22
22
|
type: dimension
|
|
23
23
|
color:
|
|
24
24
|
type: color
|
|
25
|
-
|
|
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
|
-
|
|
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:
|
|
75
|
+
description: icon만 표시합니다. 아이콘만으로 의미를 전달하기 때문에 접근성 레이블과 함께 사용해야 합니다.
|
|
76
76
|
definitions:
|
|
77
77
|
base:
|
|
78
78
|
enabled:
|
|
@@ -16,7 +16,10 @@ data:
|
|
|
16
16
|
description: stroke 옵션 사용 시 적용되는 테두리 두께입니다.
|
|
17
17
|
cornerRadius:
|
|
18
18
|
type: dimension
|
|
19
|
-
description:
|
|
19
|
+
description: 이 값은 기본값이며 변경할 수 있습니다.
|
|
20
|
+
padding:
|
|
21
|
+
type: dimension
|
|
22
|
+
description: 내부에 오버레이 요소가 존재하는 경우 이미지 모서리와 오버레이 요소 사이의 간격입니다. 이 값은 기본값이며 변경할 수 있습니다.
|
|
20
23
|
variants:
|
|
21
24
|
stroke:
|
|
22
25
|
values:
|
|
@@ -37,20 +40,18 @@ data:
|
|
|
37
40
|
@deprecated `rounded` 옵션은 @seed-design/react@1.3.0에서 제거될 예정입니다. `borderRadius="r2"`를 사용하세요.
|
|
38
41
|
Reason: 모서리 스타일은 `borderRadius` prop으로 통일합니다.
|
|
39
42
|
definitions:
|
|
43
|
+
base:
|
|
44
|
+
enabled:
|
|
45
|
+
root:
|
|
46
|
+
padding: $dimension.x1_5
|
|
40
47
|
stroke=true:
|
|
41
48
|
enabled:
|
|
42
49
|
root:
|
|
43
50
|
strokeColor: $color.stroke.neutral-subtle
|
|
44
51
|
strokeWidth: 1px
|
|
45
|
-
stroke=false:
|
|
46
|
-
enabled:
|
|
47
|
-
root:
|
|
48
|
-
strokeWidth: 0px
|
|
52
|
+
stroke=false: {}
|
|
49
53
|
rounded=true:
|
|
50
54
|
enabled:
|
|
51
55
|
root:
|
|
52
56
|
cornerRadius: $radius.r2
|
|
53
|
-
rounded=false:
|
|
54
|
-
enabled:
|
|
55
|
-
root:
|
|
56
|
-
cornerRadius: 0px
|
|
57
|
+
rounded=false: {}
|
|
@@ -28,7 +28,7 @@ data:
|
|
|
28
28
|
type: cubicBezier
|
|
29
29
|
strokeDuration:
|
|
30
30
|
type: duration
|
|
31
|
-
description:
|
|
31
|
+
description: enabled 상태의 stroke 위에 invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
32
32
|
strokeTimingFunction:
|
|
33
33
|
type: cubicBezier
|
|
34
34
|
value:
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: segmented-control-indicator
|
|
5
|
+
name: Segmented Control Indicator
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
color:
|
|
12
|
+
type: color
|
|
13
|
+
cornerRadius:
|
|
14
|
+
type: dimension
|
|
15
|
+
strokeWidth:
|
|
16
|
+
type: dimension
|
|
17
|
+
strokeColor:
|
|
18
|
+
type: color
|
|
19
|
+
transformDuration:
|
|
20
|
+
type: duration
|
|
21
|
+
transformTimingFunction:
|
|
22
|
+
type: cubicBezier
|
|
23
|
+
definitions:
|
|
24
|
+
base:
|
|
25
|
+
enabled:
|
|
26
|
+
root:
|
|
27
|
+
color: $color.palette.gray-00
|
|
28
|
+
strokeColor: $color.stroke.neutral-muted
|
|
29
|
+
strokeWidth: 1px
|
|
30
|
+
cornerRadius: $radius.full
|
|
31
|
+
transformDuration: $duration.d4
|
|
32
|
+
transformTimingFunction: $timing-function.easing
|
|
33
|
+
pressed:
|
|
34
|
+
root:
|
|
35
|
+
color: $color.palette.gray-100
|
|
36
|
+
disabled:
|
|
37
|
+
root:
|
|
38
|
+
color: $color.bg.disabled
|
|
@@ -26,6 +26,10 @@ data:
|
|
|
26
26
|
type: duration
|
|
27
27
|
colorTimingFunction:
|
|
28
28
|
type: cubicBezier
|
|
29
|
+
strokeWidth:
|
|
30
|
+
type: dimension
|
|
31
|
+
strokeColor:
|
|
32
|
+
type: color
|
|
29
33
|
label:
|
|
30
34
|
properties:
|
|
31
35
|
fontSize:
|
|
@@ -62,15 +66,11 @@ data:
|
|
|
62
66
|
pressed:
|
|
63
67
|
root:
|
|
64
68
|
color: $color.bg.neutral-weak-pressed
|
|
69
|
+
strokeWidth: 1px
|
|
70
|
+
strokeColor: $color.stroke.neutral-muted
|
|
65
71
|
selected:
|
|
66
72
|
label:
|
|
67
73
|
color: $color.fg.neutral
|
|
68
|
-
selected,pressed:
|
|
69
|
-
root:
|
|
70
|
-
color: $color.palette.gray-100
|
|
71
74
|
disabled:
|
|
72
75
|
label:
|
|
73
76
|
color: $color.fg.disabled
|
|
74
|
-
disabled,selected:
|
|
75
|
-
root:
|
|
76
|
-
color: $color.bg.disabled
|
|
@@ -14,20 +14,6 @@ data:
|
|
|
14
14
|
type: dimension
|
|
15
15
|
color:
|
|
16
16
|
type: color
|
|
17
|
-
indicator:
|
|
18
|
-
properties:
|
|
19
|
-
color:
|
|
20
|
-
type: color
|
|
21
|
-
cornerRadius:
|
|
22
|
-
type: dimension
|
|
23
|
-
strokeWidth:
|
|
24
|
-
type: dimension
|
|
25
|
-
strokeColor:
|
|
26
|
-
type: color
|
|
27
|
-
transformDuration:
|
|
28
|
-
type: duration
|
|
29
|
-
transformTimingFunction:
|
|
30
|
-
type: cubicBezier
|
|
31
17
|
definitions:
|
|
32
18
|
base:
|
|
33
19
|
enabled:
|
|
@@ -35,10 +21,3 @@ data:
|
|
|
35
21
|
padding: $dimension.x1
|
|
36
22
|
cornerRadius: $radius.full
|
|
37
23
|
color: $color.bg.neutral-weak-alpha
|
|
38
|
-
indicator:
|
|
39
|
-
color: $color.palette.gray-00
|
|
40
|
-
cornerRadius: $radius.full
|
|
41
|
-
strokeWidth: 1px
|
|
42
|
-
strokeColor: $color.stroke.neutral-muted
|
|
43
|
-
transformDuration: $duration.d4
|
|
44
|
-
transformTimingFunction: $timing-function.easing
|
|
@@ -22,7 +22,7 @@ data:
|
|
|
22
22
|
type: cubicBezier
|
|
23
23
|
strokeDuration:
|
|
24
24
|
type: duration
|
|
25
|
-
description:
|
|
25
|
+
description: enabled 상태의 stroke 위에 selected 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
26
26
|
strokeTimingFunction:
|
|
27
27
|
type: cubicBezier
|
|
28
28
|
trigger:
|
package/components/slider.yaml
CHANGED
|
@@ -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:
|
|
@@ -68,6 +70,10 @@ data:
|
|
|
68
70
|
type: duration
|
|
69
71
|
exitTimingFunction:
|
|
70
72
|
type: cubicBezier
|
|
73
|
+
translateDuration:
|
|
74
|
+
type: duration
|
|
75
|
+
translateTimingFunction:
|
|
76
|
+
type: cubicBezier
|
|
71
77
|
valueIndicatorArrow:
|
|
72
78
|
properties:
|
|
73
79
|
color:
|
|
@@ -80,8 +86,7 @@ data:
|
|
|
80
86
|
type: dimension
|
|
81
87
|
gutter:
|
|
82
88
|
type: dimension
|
|
83
|
-
|
|
84
|
-
type: dimension
|
|
89
|
+
description: arrow와 thumb 사이의 거리를 정의합니다.
|
|
85
90
|
valueIndicatorLabel:
|
|
86
91
|
properties:
|
|
87
92
|
color:
|
|
@@ -125,9 +130,9 @@ data:
|
|
|
125
130
|
color: $color.bg.neutral-inverted
|
|
126
131
|
valueIndicatorRoot:
|
|
127
132
|
color: $color.bg.neutral-inverted
|
|
128
|
-
cornerRadius: $radius.
|
|
129
|
-
paddingX: $dimension.
|
|
130
|
-
paddingY: $dimension.
|
|
133
|
+
cornerRadius: $radius.r1_5
|
|
134
|
+
paddingX: $dimension.x2
|
|
135
|
+
paddingY: $dimension.x1
|
|
131
136
|
offsetY: $dimension.x3
|
|
132
137
|
enterScale: 0.9
|
|
133
138
|
enterOpacity: 0
|
|
@@ -137,17 +142,18 @@ data:
|
|
|
137
142
|
exitOpacity: 0
|
|
138
143
|
exitDuration: $duration.d4
|
|
139
144
|
exitTimingFunction: $timing-function.easing
|
|
145
|
+
translateDuration: $duration.d3
|
|
146
|
+
translateTimingFunction: $timing-function.easing
|
|
140
147
|
valueIndicatorArrow:
|
|
141
148
|
color: $color.bg.neutral-inverted
|
|
142
|
-
width: $dimension.
|
|
143
|
-
height:
|
|
149
|
+
width: $dimension.x2
|
|
150
|
+
height: $dimension.x1_5
|
|
144
151
|
cornerRadius: $radius.r0_5
|
|
145
152
|
gutter: $dimension.x0_5
|
|
146
|
-
padding: $dimension.x0_5
|
|
147
153
|
valueIndicatorLabel:
|
|
148
154
|
color: $color.fg.neutral-inverted
|
|
149
|
-
fontSize: $font-size.
|
|
150
|
-
lineHeight: $line-height.
|
|
155
|
+
fontSize: $font-size.t3
|
|
156
|
+
lineHeight: $line-height.t3
|
|
151
157
|
fontWeight: $font-weight.medium
|
|
152
158
|
marker:
|
|
153
159
|
color: $color.fg.neutral-muted
|
|
@@ -28,7 +28,7 @@ data:
|
|
|
28
28
|
type: color
|
|
29
29
|
strokeDuration:
|
|
30
30
|
type: duration
|
|
31
|
-
description:
|
|
31
|
+
description: enabled 상태의 stroke 위에 focused/invalid 상태의 stroke가 fade in/out 되는 데에 걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
32
32
|
strokeTimingFunction:
|
|
33
33
|
type: cubicBezier
|
|
34
34
|
value:
|