@seed-design/rootage-artifacts 2.2.1 → 2.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.
@@ -0,0 +1,307 @@
1
+ {
2
+ "kind": "ComponentSpec",
3
+ "metadata": {
4
+ "id": "alert-dialog",
5
+ "name": "Alert Dialog"
6
+ },
7
+ "data": {
8
+ "id": "alert-dialog",
9
+ "name": "Alert Dialog",
10
+ "schema": {
11
+ "slots": {
12
+ "backdrop": {
13
+ "properties": {
14
+ "color": {
15
+ "type": "color"
16
+ },
17
+ "enterDuration": {
18
+ "type": "duration"
19
+ },
20
+ "enterTimingFunction": {
21
+ "type": "cubicBezier"
22
+ },
23
+ "enterOpacity": {
24
+ "type": "number"
25
+ },
26
+ "exitDuration": {
27
+ "type": "duration"
28
+ },
29
+ "exitTimingFunction": {
30
+ "type": "cubicBezier"
31
+ },
32
+ "exitOpacity": {
33
+ "type": "number"
34
+ }
35
+ }
36
+ },
37
+ "content": {
38
+ "properties": {
39
+ "color": {
40
+ "type": "color"
41
+ },
42
+ "cornerRadius": {
43
+ "type": "dimension"
44
+ },
45
+ "marginX": {
46
+ "type": "dimension"
47
+ },
48
+ "marginY": {
49
+ "type": "dimension"
50
+ },
51
+ "maxWidth": {
52
+ "type": "dimension"
53
+ },
54
+ "enterDuration": {
55
+ "type": "duration"
56
+ },
57
+ "enterTimingFunction": {
58
+ "type": "cubicBezier"
59
+ },
60
+ "enterOpacity": {
61
+ "type": "number"
62
+ },
63
+ "enterScale": {
64
+ "type": "number"
65
+ },
66
+ "exitDuration": {
67
+ "type": "duration"
68
+ },
69
+ "exitTimingFunction": {
70
+ "type": "cubicBezier"
71
+ },
72
+ "exitOpacity": {
73
+ "type": "number"
74
+ }
75
+ }
76
+ },
77
+ "header": {
78
+ "properties": {
79
+ "gap": {
80
+ "type": "dimension"
81
+ },
82
+ "paddingX": {
83
+ "type": "dimension"
84
+ },
85
+ "paddingTop": {
86
+ "type": "dimension"
87
+ }
88
+ }
89
+ },
90
+ "footer": {
91
+ "properties": {
92
+ "gap": {
93
+ "type": "dimension"
94
+ },
95
+ "paddingX": {
96
+ "type": "dimension"
97
+ },
98
+ "paddingTop": {
99
+ "type": "dimension"
100
+ },
101
+ "paddingBottom": {
102
+ "type": "dimension"
103
+ }
104
+ }
105
+ },
106
+ "title": {
107
+ "properties": {
108
+ "color": {
109
+ "type": "color"
110
+ },
111
+ "fontSize": {
112
+ "type": "dimension"
113
+ },
114
+ "lineHeight": {
115
+ "type": "dimension"
116
+ },
117
+ "fontWeight": {
118
+ "type": "number"
119
+ }
120
+ }
121
+ },
122
+ "description": {
123
+ "properties": {
124
+ "color": {
125
+ "type": "color"
126
+ },
127
+ "fontSize": {
128
+ "type": "dimension"
129
+ },
130
+ "lineHeight": {
131
+ "type": "dimension"
132
+ },
133
+ "fontWeight": {
134
+ "type": "number"
135
+ }
136
+ }
137
+ }
138
+ },
139
+ "variants": {}
140
+ },
141
+ "definitions": [
142
+ {
143
+ "variants": {},
144
+ "definitions": [
145
+ {
146
+ "states": [
147
+ "enabled"
148
+ ],
149
+ "slots": {
150
+ "backdrop": {
151
+ "color": {
152
+ "type": "color",
153
+ "value": "$color.bg.overlay"
154
+ },
155
+ "enterDuration": {
156
+ "type": "duration",
157
+ "value": "$duration.d2"
158
+ },
159
+ "enterTimingFunction": {
160
+ "type": "cubicBezier",
161
+ "value": "$timing-function.enter"
162
+ },
163
+ "enterOpacity": {
164
+ "type": "number",
165
+ "value": 0
166
+ },
167
+ "exitDuration": {
168
+ "type": "duration",
169
+ "value": "$duration.d2"
170
+ },
171
+ "exitTimingFunction": {
172
+ "type": "cubicBezier",
173
+ "value": "$timing-function.exit"
174
+ },
175
+ "exitOpacity": {
176
+ "type": "number",
177
+ "value": 0
178
+ }
179
+ },
180
+ "content": {
181
+ "color": {
182
+ "type": "color",
183
+ "value": "$color.bg.layer-floating"
184
+ },
185
+ "cornerRadius": {
186
+ "type": "dimension",
187
+ "value": "$radius.r5"
188
+ },
189
+ "marginX": {
190
+ "type": "dimension",
191
+ "value": "$dimension.x8"
192
+ },
193
+ "marginY": {
194
+ "type": "dimension",
195
+ "value": "$dimension.x16"
196
+ },
197
+ "maxWidth": {
198
+ "type": "dimension",
199
+ "value": {
200
+ "value": 272,
201
+ "unit": "px"
202
+ }
203
+ },
204
+ "enterDuration": {
205
+ "type": "duration",
206
+ "value": "$duration.d4"
207
+ },
208
+ "enterTimingFunction": {
209
+ "type": "cubicBezier",
210
+ "value": "$timing-function.enter-expressive"
211
+ },
212
+ "enterOpacity": {
213
+ "type": "number",
214
+ "value": 0
215
+ },
216
+ "enterScale": {
217
+ "type": "number",
218
+ "value": 1.3
219
+ },
220
+ "exitDuration": {
221
+ "type": "duration",
222
+ "value": "$duration.d2"
223
+ },
224
+ "exitTimingFunction": {
225
+ "type": "cubicBezier",
226
+ "value": "$timing-function.exit"
227
+ },
228
+ "exitOpacity": {
229
+ "type": "number",
230
+ "value": 0
231
+ }
232
+ },
233
+ "header": {
234
+ "gap": {
235
+ "type": "dimension",
236
+ "value": "$dimension.x1_5"
237
+ },
238
+ "paddingX": {
239
+ "type": "dimension",
240
+ "value": "$dimension.x5"
241
+ },
242
+ "paddingTop": {
243
+ "type": "dimension",
244
+ "value": "$dimension.x5"
245
+ }
246
+ },
247
+ "footer": {
248
+ "gap": {
249
+ "type": "dimension",
250
+ "value": "$dimension.x2"
251
+ },
252
+ "paddingX": {
253
+ "type": "dimension",
254
+ "value": "$dimension.x5"
255
+ },
256
+ "paddingTop": {
257
+ "type": "dimension",
258
+ "value": "$dimension.x4"
259
+ },
260
+ "paddingBottom": {
261
+ "type": "dimension",
262
+ "value": "$dimension.x5"
263
+ }
264
+ },
265
+ "title": {
266
+ "color": {
267
+ "type": "color",
268
+ "value": "$color.fg.neutral"
269
+ },
270
+ "fontSize": {
271
+ "type": "dimension",
272
+ "value": "$font-size.t7"
273
+ },
274
+ "lineHeight": {
275
+ "type": "dimension",
276
+ "value": "$line-height.t7"
277
+ },
278
+ "fontWeight": {
279
+ "type": "number",
280
+ "value": "$font-weight.bold"
281
+ }
282
+ },
283
+ "description": {
284
+ "color": {
285
+ "type": "color",
286
+ "value": "$color.fg.neutral"
287
+ },
288
+ "fontSize": {
289
+ "type": "dimension",
290
+ "value": "$font-size.t5"
291
+ },
292
+ "lineHeight": {
293
+ "type": "dimension",
294
+ "value": "$line-height.t5"
295
+ },
296
+ "fontWeight": {
297
+ "type": "number",
298
+ "value": "$font-weight.regular"
299
+ }
300
+ }
301
+ }
302
+ }
303
+ ]
304
+ }
305
+ ]
306
+ }
307
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "kind": "ComponentSpec",
3
+ "metadata": {
4
+ "id": "dialog-close-button",
5
+ "name": "Dialog Close Button"
6
+ },
7
+ "data": {
8
+ "id": "dialog-close-button",
9
+ "name": "Dialog Close Button",
10
+ "schema": {
11
+ "slots": {
12
+ "root": {
13
+ "properties": {
14
+ "color": {
15
+ "type": "color"
16
+ },
17
+ "cornerRadius": {
18
+ "type": "dimension"
19
+ },
20
+ "size": {
21
+ "type": "dimension"
22
+ },
23
+ "colorDuration": {
24
+ "type": "duration"
25
+ },
26
+ "colorTimingFunction": {
27
+ "type": "cubicBezier"
28
+ }
29
+ }
30
+ },
31
+ "icon": {
32
+ "properties": {
33
+ "color": {
34
+ "type": "color"
35
+ },
36
+ "size": {
37
+ "type": "dimension"
38
+ },
39
+ "colorDuration": {
40
+ "type": "duration"
41
+ },
42
+ "colorTimingFunction": {
43
+ "type": "cubicBezier"
44
+ }
45
+ }
46
+ }
47
+ },
48
+ "variants": {}
49
+ },
50
+ "definitions": [
51
+ {
52
+ "variants": {},
53
+ "definitions": [
54
+ {
55
+ "states": [
56
+ "enabled"
57
+ ],
58
+ "slots": {
59
+ "root": {
60
+ "color": {
61
+ "type": "color",
62
+ "value": "$color.bg.transparent"
63
+ },
64
+ "cornerRadius": {
65
+ "type": "dimension",
66
+ "value": "$radius.r3"
67
+ },
68
+ "size": {
69
+ "type": "dimension",
70
+ "value": {
71
+ "value": 52,
72
+ "unit": "px"
73
+ }
74
+ },
75
+ "colorDuration": {
76
+ "type": "duration",
77
+ "value": "$duration.color-transition"
78
+ },
79
+ "colorTimingFunction": {
80
+ "type": "cubicBezier",
81
+ "value": "$timing-function.easing"
82
+ }
83
+ },
84
+ "icon": {
85
+ "color": {
86
+ "type": "color",
87
+ "value": "$color.fg.neutral-subtle"
88
+ },
89
+ "size": {
90
+ "type": "dimension",
91
+ "value": {
92
+ "value": 22,
93
+ "unit": "px"
94
+ }
95
+ },
96
+ "colorDuration": {
97
+ "type": "duration",
98
+ "value": "$duration.color-transition"
99
+ },
100
+ "colorTimingFunction": {
101
+ "type": "cubicBezier",
102
+ "value": "$timing-function.easing"
103
+ }
104
+ }
105
+ }
106
+ },
107
+ {
108
+ "states": [
109
+ "pressed"
110
+ ],
111
+ "slots": {
112
+ "root": {
113
+ "color": {
114
+ "type": "color",
115
+ "value": "$color.bg.transparent-pressed"
116
+ }
117
+ }
118
+ }
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ }
124
+ }