@frontic/ui 0.7.0 → 0.8.1
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/README.md +7 -2
- package/dist/{api-5jmG88HV.d.ts → api-DvSevMLM.d.ts} +26 -26
- package/dist/api-DvSevMLM.d.ts.map +1 -0
- package/dist/{index-H1YMti1k.d.ts → index-Cr5EBWb7.d.ts} +94 -94
- package/dist/index-Cr5EBWb7.d.ts.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +108 -6
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.d.ts +2 -8
- package/dist/registry/index.d.ts +9 -9
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/api-5jmG88HV.d.ts.map +0 -1
- package/dist/index-H1YMti1k.d.ts.map +0 -1
|
@@ -8,13 +8,13 @@ declare const registryItemFileSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
8
8
|
type: z.ZodEnum<["registry:file", "registry:page"]>;
|
|
9
9
|
target: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
type?: "registry:page" | "registry:file";
|
|
12
11
|
path?: string;
|
|
12
|
+
type?: "registry:page" | "registry:file";
|
|
13
13
|
content?: string;
|
|
14
14
|
target?: string;
|
|
15
15
|
}, {
|
|
16
|
-
type?: "registry:page" | "registry:file";
|
|
17
16
|
path?: string;
|
|
17
|
+
type?: "registry:page" | "registry:file";
|
|
18
18
|
content?: string;
|
|
19
19
|
target?: string;
|
|
20
20
|
}>, z.ZodObject<{
|
|
@@ -23,13 +23,13 @@ declare const registryItemFileSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
23
23
|
type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:composable", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
|
|
24
24
|
target: z.ZodOptional<z.ZodString>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
27
26
|
path?: string;
|
|
27
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
28
28
|
content?: string;
|
|
29
29
|
target?: string;
|
|
30
30
|
}, {
|
|
31
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
32
31
|
path?: string;
|
|
32
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
33
33
|
content?: string;
|
|
34
34
|
target?: string;
|
|
35
35
|
}>]>;
|
|
@@ -39,24 +39,24 @@ declare const registryItemTailwindSchema: z.ZodObject<{
|
|
|
39
39
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
40
40
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
content?: string[];
|
|
43
42
|
theme?: Record<string, any>;
|
|
43
|
+
content?: string[];
|
|
44
44
|
plugins?: string[];
|
|
45
45
|
}, {
|
|
46
|
-
content?: string[];
|
|
47
46
|
theme?: Record<string, any>;
|
|
47
|
+
content?: string[];
|
|
48
48
|
plugins?: string[];
|
|
49
49
|
}>>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
config?: {
|
|
52
|
-
content?: string[];
|
|
53
52
|
theme?: Record<string, any>;
|
|
53
|
+
content?: string[];
|
|
54
54
|
plugins?: string[];
|
|
55
55
|
};
|
|
56
56
|
}, {
|
|
57
57
|
config?: {
|
|
58
|
-
content?: string[];
|
|
59
58
|
theme?: Record<string, any>;
|
|
59
|
+
content?: string[];
|
|
60
60
|
plugins?: string[];
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
@@ -92,13 +92,13 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
92
92
|
type: z.ZodEnum<["registry:file", "registry:page"]>;
|
|
93
93
|
target: z.ZodString;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
type?: "registry:page" | "registry:file";
|
|
96
95
|
path?: string;
|
|
96
|
+
type?: "registry:page" | "registry:file";
|
|
97
97
|
content?: string;
|
|
98
98
|
target?: string;
|
|
99
99
|
}, {
|
|
100
|
-
type?: "registry:page" | "registry:file";
|
|
101
100
|
path?: string;
|
|
101
|
+
type?: "registry:page" | "registry:file";
|
|
102
102
|
content?: string;
|
|
103
103
|
target?: string;
|
|
104
104
|
}>, z.ZodObject<{
|
|
@@ -107,13 +107,13 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
107
107
|
type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:composable", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
|
|
108
108
|
target: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
111
110
|
path?: string;
|
|
111
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
112
112
|
content?: string;
|
|
113
113
|
target?: string;
|
|
114
114
|
}, {
|
|
115
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
116
115
|
path?: string;
|
|
116
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
117
117
|
content?: string;
|
|
118
118
|
target?: string;
|
|
119
119
|
}>]>, "many">>;
|
|
@@ -123,24 +123,24 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
123
123
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
124
124
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
content?: string[];
|
|
127
126
|
theme?: Record<string, any>;
|
|
127
|
+
content?: string[];
|
|
128
128
|
plugins?: string[];
|
|
129
129
|
}, {
|
|
130
|
-
content?: string[];
|
|
131
130
|
theme?: Record<string, any>;
|
|
131
|
+
content?: string[];
|
|
132
132
|
plugins?: string[];
|
|
133
133
|
}>>;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
135
|
config?: {
|
|
136
|
-
content?: string[];
|
|
137
136
|
theme?: Record<string, any>;
|
|
137
|
+
content?: string[];
|
|
138
138
|
plugins?: string[];
|
|
139
139
|
};
|
|
140
140
|
}, {
|
|
141
141
|
config?: {
|
|
142
|
-
content?: string[];
|
|
143
142
|
theme?: Record<string, any>;
|
|
143
|
+
content?: string[];
|
|
144
144
|
plugins?: string[];
|
|
145
145
|
};
|
|
146
146
|
}>>;
|
|
@@ -163,31 +163,31 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
163
163
|
docs: z.ZodOptional<z.ZodString>;
|
|
164
164
|
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
description?: string;
|
|
166
167
|
name?: string;
|
|
167
168
|
title?: string;
|
|
168
169
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
169
170
|
$schema?: string;
|
|
170
171
|
extends?: string;
|
|
171
172
|
author?: string;
|
|
172
|
-
description?: string;
|
|
173
173
|
dependencies?: string[];
|
|
174
174
|
devDependencies?: string[];
|
|
175
175
|
registryDependencies?: string[];
|
|
176
176
|
files?: ({
|
|
177
|
-
type?: "registry:page" | "registry:file";
|
|
178
177
|
path?: string;
|
|
178
|
+
type?: "registry:page" | "registry:file";
|
|
179
179
|
content?: string;
|
|
180
180
|
target?: string;
|
|
181
181
|
} | {
|
|
182
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
183
182
|
path?: string;
|
|
183
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
184
184
|
content?: string;
|
|
185
185
|
target?: string;
|
|
186
186
|
})[];
|
|
187
187
|
tailwind?: {
|
|
188
188
|
config?: {
|
|
189
|
-
content?: string[];
|
|
190
189
|
theme?: Record<string, any>;
|
|
190
|
+
content?: string[];
|
|
191
191
|
plugins?: string[];
|
|
192
192
|
};
|
|
193
193
|
};
|
|
@@ -202,31 +202,31 @@ declare const registryItemSchema: z.ZodObject<{
|
|
|
202
202
|
docs?: string;
|
|
203
203
|
categories?: string[];
|
|
204
204
|
}, {
|
|
205
|
+
description?: string;
|
|
205
206
|
name?: string;
|
|
206
207
|
title?: string;
|
|
207
208
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
208
209
|
$schema?: string;
|
|
209
210
|
extends?: string;
|
|
210
211
|
author?: string;
|
|
211
|
-
description?: string;
|
|
212
212
|
dependencies?: string[];
|
|
213
213
|
devDependencies?: string[];
|
|
214
214
|
registryDependencies?: string[];
|
|
215
215
|
files?: ({
|
|
216
|
-
type?: "registry:page" | "registry:file";
|
|
217
216
|
path?: string;
|
|
217
|
+
type?: "registry:page" | "registry:file";
|
|
218
218
|
content?: string;
|
|
219
219
|
target?: string;
|
|
220
220
|
} | {
|
|
221
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
222
221
|
path?: string;
|
|
222
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
223
223
|
content?: string;
|
|
224
224
|
target?: string;
|
|
225
225
|
})[];
|
|
226
226
|
tailwind?: {
|
|
227
227
|
config?: {
|
|
228
|
-
content?: string[];
|
|
229
228
|
theme?: Record<string, any>;
|
|
229
|
+
content?: string[];
|
|
230
230
|
plugins?: string[];
|
|
231
231
|
};
|
|
232
232
|
};
|
|
@@ -262,13 +262,13 @@ declare const registrySchema: z.ZodObject<{
|
|
|
262
262
|
type: z.ZodEnum<["registry:file", "registry:page"]>;
|
|
263
263
|
target: z.ZodString;
|
|
264
264
|
}, "strip", z.ZodTypeAny, {
|
|
265
|
-
type?: "registry:page" | "registry:file";
|
|
266
265
|
path?: string;
|
|
266
|
+
type?: "registry:page" | "registry:file";
|
|
267
267
|
content?: string;
|
|
268
268
|
target?: string;
|
|
269
269
|
}, {
|
|
270
|
-
type?: "registry:page" | "registry:file";
|
|
271
270
|
path?: string;
|
|
271
|
+
type?: "registry:page" | "registry:file";
|
|
272
272
|
content?: string;
|
|
273
273
|
target?: string;
|
|
274
274
|
}>, z.ZodObject<{
|
|
@@ -277,13 +277,13 @@ declare const registrySchema: z.ZodObject<{
|
|
|
277
277
|
type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:composable", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
|
|
278
278
|
target: z.ZodOptional<z.ZodString>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
281
280
|
path?: string;
|
|
281
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
282
282
|
content?: string;
|
|
283
283
|
target?: string;
|
|
284
284
|
}, {
|
|
285
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
286
285
|
path?: string;
|
|
286
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
287
287
|
content?: string;
|
|
288
288
|
target?: string;
|
|
289
289
|
}>]>, "many">>;
|
|
@@ -293,24 +293,24 @@ declare const registrySchema: z.ZodObject<{
|
|
|
293
293
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
294
294
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
content?: string[];
|
|
297
296
|
theme?: Record<string, any>;
|
|
297
|
+
content?: string[];
|
|
298
298
|
plugins?: string[];
|
|
299
299
|
}, {
|
|
300
|
-
content?: string[];
|
|
301
300
|
theme?: Record<string, any>;
|
|
301
|
+
content?: string[];
|
|
302
302
|
plugins?: string[];
|
|
303
303
|
}>>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
config?: {
|
|
306
|
-
content?: string[];
|
|
307
306
|
theme?: Record<string, any>;
|
|
307
|
+
content?: string[];
|
|
308
308
|
plugins?: string[];
|
|
309
309
|
};
|
|
310
310
|
}, {
|
|
311
311
|
config?: {
|
|
312
|
-
content?: string[];
|
|
313
312
|
theme?: Record<string, any>;
|
|
313
|
+
content?: string[];
|
|
314
314
|
plugins?: string[];
|
|
315
315
|
};
|
|
316
316
|
}>>;
|
|
@@ -333,31 +333,31 @@ declare const registrySchema: z.ZodObject<{
|
|
|
333
333
|
docs: z.ZodOptional<z.ZodString>;
|
|
334
334
|
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
description?: string;
|
|
336
337
|
name?: string;
|
|
337
338
|
title?: string;
|
|
338
339
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
339
340
|
$schema?: string;
|
|
340
341
|
extends?: string;
|
|
341
342
|
author?: string;
|
|
342
|
-
description?: string;
|
|
343
343
|
dependencies?: string[];
|
|
344
344
|
devDependencies?: string[];
|
|
345
345
|
registryDependencies?: string[];
|
|
346
346
|
files?: ({
|
|
347
|
-
type?: "registry:page" | "registry:file";
|
|
348
347
|
path?: string;
|
|
348
|
+
type?: "registry:page" | "registry:file";
|
|
349
349
|
content?: string;
|
|
350
350
|
target?: string;
|
|
351
351
|
} | {
|
|
352
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
353
352
|
path?: string;
|
|
353
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
354
354
|
content?: string;
|
|
355
355
|
target?: string;
|
|
356
356
|
})[];
|
|
357
357
|
tailwind?: {
|
|
358
358
|
config?: {
|
|
359
|
-
content?: string[];
|
|
360
359
|
theme?: Record<string, any>;
|
|
360
|
+
content?: string[];
|
|
361
361
|
plugins?: string[];
|
|
362
362
|
};
|
|
363
363
|
};
|
|
@@ -372,31 +372,31 @@ declare const registrySchema: z.ZodObject<{
|
|
|
372
372
|
docs?: string;
|
|
373
373
|
categories?: string[];
|
|
374
374
|
}, {
|
|
375
|
+
description?: string;
|
|
375
376
|
name?: string;
|
|
376
377
|
title?: string;
|
|
377
378
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
378
379
|
$schema?: string;
|
|
379
380
|
extends?: string;
|
|
380
381
|
author?: string;
|
|
381
|
-
description?: string;
|
|
382
382
|
dependencies?: string[];
|
|
383
383
|
devDependencies?: string[];
|
|
384
384
|
registryDependencies?: string[];
|
|
385
385
|
files?: ({
|
|
386
|
-
type?: "registry:page" | "registry:file";
|
|
387
386
|
path?: string;
|
|
387
|
+
type?: "registry:page" | "registry:file";
|
|
388
388
|
content?: string;
|
|
389
389
|
target?: string;
|
|
390
390
|
} | {
|
|
391
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
392
391
|
path?: string;
|
|
392
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
393
393
|
content?: string;
|
|
394
394
|
target?: string;
|
|
395
395
|
})[];
|
|
396
396
|
tailwind?: {
|
|
397
397
|
config?: {
|
|
398
|
-
content?: string[];
|
|
399
398
|
theme?: Record<string, any>;
|
|
399
|
+
content?: string[];
|
|
400
400
|
plugins?: string[];
|
|
401
401
|
};
|
|
402
402
|
};
|
|
@@ -413,33 +413,32 @@ declare const registrySchema: z.ZodObject<{
|
|
|
413
413
|
}>, "many">;
|
|
414
414
|
}, "strip", z.ZodTypeAny, {
|
|
415
415
|
name?: string;
|
|
416
|
-
homepage?: string;
|
|
417
416
|
items?: {
|
|
417
|
+
description?: string;
|
|
418
418
|
name?: string;
|
|
419
419
|
title?: string;
|
|
420
420
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
421
421
|
$schema?: string;
|
|
422
422
|
extends?: string;
|
|
423
423
|
author?: string;
|
|
424
|
-
description?: string;
|
|
425
424
|
dependencies?: string[];
|
|
426
425
|
devDependencies?: string[];
|
|
427
426
|
registryDependencies?: string[];
|
|
428
427
|
files?: ({
|
|
429
|
-
type?: "registry:page" | "registry:file";
|
|
430
428
|
path?: string;
|
|
429
|
+
type?: "registry:page" | "registry:file";
|
|
431
430
|
content?: string;
|
|
432
431
|
target?: string;
|
|
433
432
|
} | {
|
|
434
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
435
433
|
path?: string;
|
|
434
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
436
435
|
content?: string;
|
|
437
436
|
target?: string;
|
|
438
437
|
})[];
|
|
439
438
|
tailwind?: {
|
|
440
439
|
config?: {
|
|
441
|
-
content?: string[];
|
|
442
440
|
theme?: Record<string, any>;
|
|
441
|
+
content?: string[];
|
|
443
442
|
plugins?: string[];
|
|
444
443
|
};
|
|
445
444
|
};
|
|
@@ -454,35 +453,35 @@ declare const registrySchema: z.ZodObject<{
|
|
|
454
453
|
docs?: string;
|
|
455
454
|
categories?: string[];
|
|
456
455
|
}[];
|
|
456
|
+
homepage?: string;
|
|
457
457
|
}, {
|
|
458
458
|
name?: string;
|
|
459
|
-
homepage?: string;
|
|
460
459
|
items?: {
|
|
460
|
+
description?: string;
|
|
461
461
|
name?: string;
|
|
462
462
|
title?: string;
|
|
463
463
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
464
464
|
$schema?: string;
|
|
465
465
|
extends?: string;
|
|
466
466
|
author?: string;
|
|
467
|
-
description?: string;
|
|
468
467
|
dependencies?: string[];
|
|
469
468
|
devDependencies?: string[];
|
|
470
469
|
registryDependencies?: string[];
|
|
471
470
|
files?: ({
|
|
472
|
-
type?: "registry:page" | "registry:file";
|
|
473
471
|
path?: string;
|
|
472
|
+
type?: "registry:page" | "registry:file";
|
|
474
473
|
content?: string;
|
|
475
474
|
target?: string;
|
|
476
475
|
} | {
|
|
477
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
478
476
|
path?: string;
|
|
477
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
479
478
|
content?: string;
|
|
480
479
|
target?: string;
|
|
481
480
|
})[];
|
|
482
481
|
tailwind?: {
|
|
483
482
|
config?: {
|
|
484
|
-
content?: string[];
|
|
485
483
|
theme?: Record<string, any>;
|
|
484
|
+
content?: string[];
|
|
486
485
|
plugins?: string[];
|
|
487
486
|
};
|
|
488
487
|
};
|
|
@@ -497,6 +496,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
497
496
|
docs?: string;
|
|
498
497
|
categories?: string[];
|
|
499
498
|
}[];
|
|
499
|
+
homepage?: string;
|
|
500
500
|
}>;
|
|
501
501
|
type Registry = z.infer<typeof registrySchema>;
|
|
502
502
|
declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -516,13 +516,13 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
|
|
|
516
516
|
type: z.ZodEnum<["registry:file", "registry:page"]>;
|
|
517
517
|
target: z.ZodString;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
|
-
type?: "registry:page" | "registry:file";
|
|
520
519
|
path?: string;
|
|
520
|
+
type?: "registry:page" | "registry:file";
|
|
521
521
|
content?: string;
|
|
522
522
|
target?: string;
|
|
523
523
|
}, {
|
|
524
|
-
type?: "registry:page" | "registry:file";
|
|
525
524
|
path?: string;
|
|
525
|
+
type?: "registry:page" | "registry:file";
|
|
526
526
|
content?: string;
|
|
527
527
|
target?: string;
|
|
528
528
|
}>, z.ZodObject<{
|
|
@@ -531,13 +531,13 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
|
|
|
531
531
|
type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:composable", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
|
|
532
532
|
target: z.ZodOptional<z.ZodString>;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
535
534
|
path?: string;
|
|
535
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
536
536
|
content?: string;
|
|
537
537
|
target?: string;
|
|
538
538
|
}, {
|
|
539
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
540
539
|
path?: string;
|
|
540
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
541
541
|
content?: string;
|
|
542
542
|
target?: string;
|
|
543
543
|
}>]>, "many">>;
|
|
@@ -547,24 +547,24 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
|
|
|
547
547
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
548
548
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
549
549
|
}, "strip", z.ZodTypeAny, {
|
|
550
|
-
content?: string[];
|
|
551
550
|
theme?: Record<string, any>;
|
|
551
|
+
content?: string[];
|
|
552
552
|
plugins?: string[];
|
|
553
553
|
}, {
|
|
554
|
-
content?: string[];
|
|
555
554
|
theme?: Record<string, any>;
|
|
555
|
+
content?: string[];
|
|
556
556
|
plugins?: string[];
|
|
557
557
|
}>>;
|
|
558
558
|
}, "strip", z.ZodTypeAny, {
|
|
559
559
|
config?: {
|
|
560
|
-
content?: string[];
|
|
561
560
|
theme?: Record<string, any>;
|
|
561
|
+
content?: string[];
|
|
562
562
|
plugins?: string[];
|
|
563
563
|
};
|
|
564
564
|
}, {
|
|
565
565
|
config?: {
|
|
566
|
-
content?: string[];
|
|
567
566
|
theme?: Record<string, any>;
|
|
567
|
+
content?: string[];
|
|
568
568
|
plugins?: string[];
|
|
569
569
|
};
|
|
570
570
|
}>>;
|
|
@@ -587,31 +587,31 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
|
|
|
587
587
|
docs: z.ZodOptional<z.ZodString>;
|
|
588
588
|
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
589
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
|
+
description?: string;
|
|
590
591
|
name?: string;
|
|
591
592
|
title?: string;
|
|
592
593
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
593
594
|
$schema?: string;
|
|
594
595
|
extends?: string;
|
|
595
596
|
author?: string;
|
|
596
|
-
description?: string;
|
|
597
597
|
dependencies?: string[];
|
|
598
598
|
devDependencies?: string[];
|
|
599
599
|
registryDependencies?: string[];
|
|
600
600
|
files?: ({
|
|
601
|
-
type?: "registry:page" | "registry:file";
|
|
602
601
|
path?: string;
|
|
602
|
+
type?: "registry:page" | "registry:file";
|
|
603
603
|
content?: string;
|
|
604
604
|
target?: string;
|
|
605
605
|
} | {
|
|
606
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
607
606
|
path?: string;
|
|
607
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
608
608
|
content?: string;
|
|
609
609
|
target?: string;
|
|
610
610
|
})[];
|
|
611
611
|
tailwind?: {
|
|
612
612
|
config?: {
|
|
613
|
-
content?: string[];
|
|
614
613
|
theme?: Record<string, any>;
|
|
614
|
+
content?: string[];
|
|
615
615
|
plugins?: string[];
|
|
616
616
|
};
|
|
617
617
|
};
|
|
@@ -626,31 +626,31 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
|
|
|
626
626
|
docs?: string;
|
|
627
627
|
categories?: string[];
|
|
628
628
|
}, {
|
|
629
|
+
description?: string;
|
|
629
630
|
name?: string;
|
|
630
631
|
title?: string;
|
|
631
632
|
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:page" | "registry:file" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
632
633
|
$schema?: string;
|
|
633
634
|
extends?: string;
|
|
634
635
|
author?: string;
|
|
635
|
-
description?: string;
|
|
636
636
|
dependencies?: string[];
|
|
637
637
|
devDependencies?: string[];
|
|
638
638
|
registryDependencies?: string[];
|
|
639
639
|
files?: ({
|
|
640
|
-
type?: "registry:page" | "registry:file";
|
|
641
640
|
path?: string;
|
|
641
|
+
type?: "registry:page" | "registry:file";
|
|
642
642
|
content?: string;
|
|
643
643
|
target?: string;
|
|
644
644
|
} | {
|
|
645
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
646
645
|
path?: string;
|
|
646
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
647
647
|
content?: string;
|
|
648
648
|
target?: string;
|
|
649
649
|
})[];
|
|
650
650
|
tailwind?: {
|
|
651
651
|
config?: {
|
|
652
|
-
content?: string[];
|
|
653
652
|
theme?: Record<string, any>;
|
|
653
|
+
content?: string[];
|
|
654
654
|
plugins?: string[];
|
|
655
655
|
};
|
|
656
656
|
};
|
|
@@ -767,13 +767,13 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
767
767
|
type: z.ZodEnum<["registry:file", "registry:page"]>;
|
|
768
768
|
target: z.ZodString;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
|
-
type?: "registry:page" | "registry:file";
|
|
771
770
|
path?: string;
|
|
771
|
+
type?: "registry:page" | "registry:file";
|
|
772
772
|
content?: string;
|
|
773
773
|
target?: string;
|
|
774
774
|
}, {
|
|
775
|
-
type?: "registry:page" | "registry:file";
|
|
776
775
|
path?: string;
|
|
776
|
+
type?: "registry:page" | "registry:file";
|
|
777
777
|
content?: string;
|
|
778
778
|
target?: string;
|
|
779
779
|
}>, z.ZodObject<{
|
|
@@ -782,13 +782,13 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
782
782
|
type: z.ZodEnum<["registry:lib", "registry:block", "registry:component", "registry:ui", "registry:hook", "registry:composable", "registry:theme", "registry:style", "registry:item", "registry:example", "registry:internal"]>;
|
|
783
783
|
target: z.ZodOptional<z.ZodString>;
|
|
784
784
|
}, "strip", z.ZodTypeAny, {
|
|
785
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
786
785
|
path?: string;
|
|
786
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
787
787
|
content?: string;
|
|
788
788
|
target?: string;
|
|
789
789
|
}, {
|
|
790
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
791
790
|
path?: string;
|
|
791
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
792
792
|
content?: string;
|
|
793
793
|
target?: string;
|
|
794
794
|
}>]>, "many">>;
|
|
@@ -798,24 +798,24 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
798
798
|
theme: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
799
799
|
plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
content?: string[];
|
|
802
801
|
theme?: Record<string, any>;
|
|
802
|
+
content?: string[];
|
|
803
803
|
plugins?: string[];
|
|
804
804
|
}, {
|
|
805
|
-
content?: string[];
|
|
806
805
|
theme?: Record<string, any>;
|
|
806
|
+
content?: string[];
|
|
807
807
|
plugins?: string[];
|
|
808
808
|
}>>;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
810
|
config?: {
|
|
811
|
-
content?: string[];
|
|
812
811
|
theme?: Record<string, any>;
|
|
812
|
+
content?: string[];
|
|
813
813
|
plugins?: string[];
|
|
814
814
|
};
|
|
815
815
|
}, {
|
|
816
816
|
config?: {
|
|
817
|
-
content?: string[];
|
|
818
817
|
theme?: Record<string, any>;
|
|
818
|
+
content?: string[];
|
|
819
819
|
plugins?: string[];
|
|
820
820
|
};
|
|
821
821
|
}>>;
|
|
@@ -841,20 +841,20 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
841
841
|
dependencies?: string[];
|
|
842
842
|
devDependencies?: string[];
|
|
843
843
|
files?: ({
|
|
844
|
-
type?: "registry:page" | "registry:file";
|
|
845
844
|
path?: string;
|
|
845
|
+
type?: "registry:page" | "registry:file";
|
|
846
846
|
content?: string;
|
|
847
847
|
target?: string;
|
|
848
848
|
} | {
|
|
849
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
850
849
|
path?: string;
|
|
850
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
851
851
|
content?: string;
|
|
852
852
|
target?: string;
|
|
853
853
|
})[];
|
|
854
854
|
tailwind?: {
|
|
855
855
|
config?: {
|
|
856
|
-
content?: string[];
|
|
857
856
|
theme?: Record<string, any>;
|
|
857
|
+
content?: string[];
|
|
858
858
|
plugins?: string[];
|
|
859
859
|
};
|
|
860
860
|
};
|
|
@@ -870,20 +870,20 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
|
|
|
870
870
|
dependencies?: string[];
|
|
871
871
|
devDependencies?: string[];
|
|
872
872
|
files?: ({
|
|
873
|
-
type?: "registry:page" | "registry:file";
|
|
874
873
|
path?: string;
|
|
874
|
+
type?: "registry:page" | "registry:file";
|
|
875
875
|
content?: string;
|
|
876
876
|
target?: string;
|
|
877
877
|
} | {
|
|
878
|
-
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
879
878
|
path?: string;
|
|
879
|
+
type?: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
|
|
880
880
|
content?: string;
|
|
881
881
|
target?: string;
|
|
882
882
|
})[];
|
|
883
883
|
tailwind?: {
|
|
884
884
|
config?: {
|
|
885
|
-
content?: string[];
|
|
886
885
|
theme?: Record<string, any>;
|
|
886
|
+
content?: string[];
|
|
887
887
|
plugins?: string[];
|
|
888
888
|
};
|
|
889
889
|
};
|
|
@@ -1397,15 +1397,15 @@ declare const searchResultItemSchema: z.ZodObject<{
|
|
|
1397
1397
|
registry: z.ZodString;
|
|
1398
1398
|
addCommandArgument: z.ZodString;
|
|
1399
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1400
|
+
description?: string;
|
|
1400
1401
|
name?: string;
|
|
1401
1402
|
type?: string;
|
|
1402
|
-
description?: string;
|
|
1403
1403
|
registry?: string;
|
|
1404
1404
|
addCommandArgument?: string;
|
|
1405
1405
|
}, {
|
|
1406
|
+
description?: string;
|
|
1406
1407
|
name?: string;
|
|
1407
1408
|
type?: string;
|
|
1408
|
-
description?: string;
|
|
1409
1409
|
registry?: string;
|
|
1410
1410
|
addCommandArgument?: string;
|
|
1411
1411
|
}>;
|
|
@@ -1433,48 +1433,48 @@ declare const searchResultsSchema: z.ZodObject<{
|
|
|
1433
1433
|
registry: z.ZodString;
|
|
1434
1434
|
addCommandArgument: z.ZodString;
|
|
1435
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1436
|
+
description?: string;
|
|
1436
1437
|
name?: string;
|
|
1437
1438
|
type?: string;
|
|
1438
|
-
description?: string;
|
|
1439
1439
|
registry?: string;
|
|
1440
1440
|
addCommandArgument?: string;
|
|
1441
1441
|
}, {
|
|
1442
|
+
description?: string;
|
|
1442
1443
|
name?: string;
|
|
1443
1444
|
type?: string;
|
|
1444
|
-
description?: string;
|
|
1445
1445
|
registry?: string;
|
|
1446
1446
|
addCommandArgument?: string;
|
|
1447
1447
|
}>, "many">;
|
|
1448
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1449
|
-
items?: {
|
|
1450
|
-
name?: string;
|
|
1451
|
-
type?: string;
|
|
1452
|
-
description?: string;
|
|
1453
|
-
registry?: string;
|
|
1454
|
-
addCommandArgument?: string;
|
|
1455
|
-
}[];
|
|
1456
1449
|
pagination?: {
|
|
1457
1450
|
total?: number;
|
|
1458
1451
|
offset?: number;
|
|
1459
1452
|
limit?: number;
|
|
1460
1453
|
hasMore?: boolean;
|
|
1461
1454
|
};
|
|
1462
|
-
}, {
|
|
1463
1455
|
items?: {
|
|
1456
|
+
description?: string;
|
|
1464
1457
|
name?: string;
|
|
1465
1458
|
type?: string;
|
|
1466
|
-
description?: string;
|
|
1467
1459
|
registry?: string;
|
|
1468
1460
|
addCommandArgument?: string;
|
|
1469
1461
|
}[];
|
|
1462
|
+
}, {
|
|
1470
1463
|
pagination?: {
|
|
1471
1464
|
total?: number;
|
|
1472
1465
|
offset?: number;
|
|
1473
1466
|
limit?: number;
|
|
1474
1467
|
hasMore?: boolean;
|
|
1475
1468
|
};
|
|
1469
|
+
items?: {
|
|
1470
|
+
description?: string;
|
|
1471
|
+
name?: string;
|
|
1472
|
+
type?: string;
|
|
1473
|
+
registry?: string;
|
|
1474
|
+
addCommandArgument?: string;
|
|
1475
|
+
}[];
|
|
1476
1476
|
}>;
|
|
1477
1477
|
declare const registriesIndexSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1478
1478
|
//#endregion
|
|
1479
1479
|
export { workspaceConfigSchema as C, stylesSchema as S, registryItemTypeSchema as _, rawConfigSchema as a, searchResultItemSchema as b, registryConfigItemSchema as c, registryItemCssSchema as d, registryItemCssVarsSchema as f, registryItemTailwindSchema as g, registryItemSchema as h, iconsSchema as i, registryConfigSchema as l, registryItemFileSchema as m, RegistryItem as n, registriesIndexSchema as o, registryItemEnvVarsSchema as p, configSchema as r, registryBaseColorSchema as s, Registry as t, registryIndexSchema as u, registryResolvedItemsTreeSchema as v, searchResultsSchema as x, registrySchema as y };
|
|
1480
|
-
//# sourceMappingURL=index-
|
|
1480
|
+
//# sourceMappingURL=index-Cr5EBWb7.d.ts.map
|