@seed-design/rootage-artifacts 3.0.2 → 3.2.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.
@@ -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
@@ -14,6 +14,8 @@ data:
14
14
  type: dimension
15
15
  paddingY:
16
16
  type: dimension
17
+ scrollMarginX:
18
+ type: dimension
17
19
  scaleScope:
18
20
  type: enum
19
21
  values: [self, content]
@@ -30,6 +32,8 @@ data:
30
32
  definitions:
31
33
  base:
32
34
  enabled:
35
+ root:
36
+ scrollMarginX: $dimension.spacing-x.global-gutter
33
37
  label:
34
38
  color: $color.fg.neutral-subtle
35
39
  selected:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/rootage-artifacts",
3
- "version": "3.0.2",
3
+ "version": "3.2.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",