@seed-design/rootage-artifacts 3.1.0 → 3.3.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.
- package/__generated__/color.d.ts +6 -6
- package/__generated__/color.json +6 -6
- package/__generated__/components/action-button.d.ts +4 -4
- package/__generated__/components/action-button.json +4 -4
- package/__generated__/components/badge.d.ts +1 -1
- package/__generated__/components/badge.json +1 -1
- package/__generated__/components/checkmark.d.ts +1 -1
- package/__generated__/components/checkmark.json +1 -1
- package/__generated__/components/chip.d.ts +2 -2
- package/__generated__/components/chip.json +2 -2
- package/__generated__/components/reaction-button.d.ts +1 -1
- package/__generated__/components/reaction-button.json +1 -1
- package/__generated__/components/segmented-text-input.d.ts +472 -0
- package/__generated__/components/segmented-text-input.json +471 -0
- package/__generated__/components/segmented-text-input.mjs +2 -0
- package/__generated__/index.d.ts +4 -1
- package/__generated__/index.json +4 -1
- package/color.yaml +6 -6
- package/components/action-button.yaml +4 -4
- package/components/badge.yaml +1 -1
- package/components/checkmark.yaml +1 -1
- package/components/chip.yaml +2 -2
- package/components/reaction-button.yaml +1 -1
- package/components/segmented-text-input.yaml +170 -0
- package/package.json +1 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: segmented-text-input
|
|
5
|
+
name: Segmented Text Input
|
|
6
|
+
data:
|
|
7
|
+
schema:
|
|
8
|
+
slots:
|
|
9
|
+
root:
|
|
10
|
+
properties:
|
|
11
|
+
gap:
|
|
12
|
+
type: dimension
|
|
13
|
+
minHeight:
|
|
14
|
+
type: dimension
|
|
15
|
+
cornerRadius:
|
|
16
|
+
type: dimension
|
|
17
|
+
paddingX:
|
|
18
|
+
type: dimension
|
|
19
|
+
strokeWidth:
|
|
20
|
+
type: dimension
|
|
21
|
+
strokeColor:
|
|
22
|
+
type: color
|
|
23
|
+
color:
|
|
24
|
+
type: color
|
|
25
|
+
strokeDuration:
|
|
26
|
+
type: duration
|
|
27
|
+
description: enabled 상태의 stroke 위에 focused/invalid 상태의 stroke가 fade in/out 되는 데에
|
|
28
|
+
걸리는 시간입니다. stroke 두께나 색상 자체를 transition하지 않습니다.
|
|
29
|
+
strokeTimingFunction:
|
|
30
|
+
type: cubicBezier
|
|
31
|
+
value:
|
|
32
|
+
properties:
|
|
33
|
+
color:
|
|
34
|
+
type: color
|
|
35
|
+
fontWeight:
|
|
36
|
+
type: number
|
|
37
|
+
fontSize:
|
|
38
|
+
type: dimension
|
|
39
|
+
lineHeight:
|
|
40
|
+
type: dimension
|
|
41
|
+
placeholder:
|
|
42
|
+
properties:
|
|
43
|
+
color:
|
|
44
|
+
type: color
|
|
45
|
+
fontWeight:
|
|
46
|
+
type: number
|
|
47
|
+
fontSize:
|
|
48
|
+
type: dimension
|
|
49
|
+
lineHeight:
|
|
50
|
+
type: dimension
|
|
51
|
+
maskedPlaceholder:
|
|
52
|
+
properties:
|
|
53
|
+
color:
|
|
54
|
+
type: color
|
|
55
|
+
description: 빈 masked Segment에 표시하는 placeholder 불릿의 색상입니다.
|
|
56
|
+
separator:
|
|
57
|
+
properties:
|
|
58
|
+
color:
|
|
59
|
+
type: color
|
|
60
|
+
fontWeight:
|
|
61
|
+
type: number
|
|
62
|
+
fontSize:
|
|
63
|
+
type: dimension
|
|
64
|
+
lineHeight:
|
|
65
|
+
type: dimension
|
|
66
|
+
staticText:
|
|
67
|
+
properties:
|
|
68
|
+
color:
|
|
69
|
+
type: color
|
|
70
|
+
description: Segment 앞뒤나 Segment 자리에 고정으로 표시하는 정적 텍스트(불릿 등)의 색상입니다.
|
|
71
|
+
fontWeight:
|
|
72
|
+
type: number
|
|
73
|
+
fontSize:
|
|
74
|
+
type: dimension
|
|
75
|
+
lineHeight:
|
|
76
|
+
type: dimension
|
|
77
|
+
variants:
|
|
78
|
+
size:
|
|
79
|
+
values:
|
|
80
|
+
large:
|
|
81
|
+
description: 뷰포트 너비와 관계없이 사용할 수 있습니다.
|
|
82
|
+
medium:
|
|
83
|
+
description: Breakpoint `lg` 이상(데스크톱)에서만 사용하고, 모바일에서는 사용하지 않습니다. 정밀한 선택이 가능한 마우스 입력 환경에서 사이즈를 더 작게 만들고자 할 때 사용합니다.
|
|
84
|
+
definitions:
|
|
85
|
+
base:
|
|
86
|
+
enabled:
|
|
87
|
+
root:
|
|
88
|
+
strokeWidth: 1px
|
|
89
|
+
strokeColor: $color.stroke.neutral-weak
|
|
90
|
+
strokeDuration: 0.1s
|
|
91
|
+
strokeTimingFunction: $timing-function.easing
|
|
92
|
+
value:
|
|
93
|
+
color: $color.fg.neutral
|
|
94
|
+
fontWeight: $font-weight.regular
|
|
95
|
+
placeholder:
|
|
96
|
+
color: $color.fg.placeholder
|
|
97
|
+
fontWeight: $font-weight.regular
|
|
98
|
+
maskedPlaceholder:
|
|
99
|
+
color: $color.fg.placeholder
|
|
100
|
+
separator:
|
|
101
|
+
color: $color.fg.placeholder
|
|
102
|
+
fontWeight: $font-weight.regular
|
|
103
|
+
staticText:
|
|
104
|
+
color: $color.fg.neutral
|
|
105
|
+
fontWeight: $font-weight.regular
|
|
106
|
+
focused:
|
|
107
|
+
root:
|
|
108
|
+
strokeWidth: 2px
|
|
109
|
+
strokeColor: $color.stroke.neutral-contrast
|
|
110
|
+
invalid:
|
|
111
|
+
root:
|
|
112
|
+
strokeWidth: 2px
|
|
113
|
+
strokeColor: $color.stroke.critical-solid
|
|
114
|
+
invalid,focused:
|
|
115
|
+
root:
|
|
116
|
+
strokeColor: $color.stroke.critical-solid # being obvious
|
|
117
|
+
readonly:
|
|
118
|
+
root:
|
|
119
|
+
color: $color.bg.disabled
|
|
120
|
+
disabled:
|
|
121
|
+
root:
|
|
122
|
+
color: $color.bg.disabled
|
|
123
|
+
value:
|
|
124
|
+
color: $color.fg.disabled
|
|
125
|
+
placeholder:
|
|
126
|
+
color: $color.fg.disabled
|
|
127
|
+
maskedPlaceholder:
|
|
128
|
+
color: $color.fg.disabled
|
|
129
|
+
separator:
|
|
130
|
+
color: $color.fg.disabled
|
|
131
|
+
staticText:
|
|
132
|
+
color: $color.fg.disabled
|
|
133
|
+
size=large:
|
|
134
|
+
enabled:
|
|
135
|
+
root:
|
|
136
|
+
gap: $dimension.x2_5
|
|
137
|
+
minHeight: $dimension.x13
|
|
138
|
+
cornerRadius: $radius.r3
|
|
139
|
+
paddingX: $dimension.x4
|
|
140
|
+
value:
|
|
141
|
+
fontSize: $font-size.t5
|
|
142
|
+
lineHeight: $line-height.t5
|
|
143
|
+
placeholder:
|
|
144
|
+
fontSize: $font-size.t5
|
|
145
|
+
lineHeight: $line-height.t5
|
|
146
|
+
separator:
|
|
147
|
+
fontSize: $font-size.t5
|
|
148
|
+
lineHeight: $line-height.t5
|
|
149
|
+
staticText:
|
|
150
|
+
fontSize: $font-size.t5
|
|
151
|
+
lineHeight: $line-height.t5
|
|
152
|
+
size=medium:
|
|
153
|
+
enabled:
|
|
154
|
+
root:
|
|
155
|
+
gap: $dimension.x2
|
|
156
|
+
minHeight: $dimension.x10
|
|
157
|
+
cornerRadius: $radius.r2
|
|
158
|
+
paddingX: $dimension.x3_5
|
|
159
|
+
value:
|
|
160
|
+
fontSize: $font-size.t4
|
|
161
|
+
lineHeight: $line-height.t4
|
|
162
|
+
placeholder:
|
|
163
|
+
fontSize: $font-size.t4
|
|
164
|
+
lineHeight: $line-height.t4
|
|
165
|
+
separator:
|
|
166
|
+
fontSize: $font-size.t4
|
|
167
|
+
lineHeight: $line-height.t4
|
|
168
|
+
staticText:
|
|
169
|
+
fontSize: $font-size.t4
|
|
170
|
+
lineHeight: $line-height.t4
|