@create-ui/cli 0.5.2 → 0.5.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/dist/index.d.ts CHANGED
@@ -7,19 +7,30 @@ declare function getRegistry(name: string, options?: {
7
7
  useCache?: boolean;
8
8
  }): Promise<{
9
9
  name: string;
10
- homepage: string;
11
10
  items: ({
12
- type: "registry:base";
13
11
  name: string;
14
- tailwind?: {
15
- config?: {
16
- content?: string[] | undefined;
17
- theme?: Record<string, any> | undefined;
18
- plugins?: string[] | undefined;
19
- } | undefined;
20
- } | undefined;
12
+ type: "registry:base";
13
+ title?: string | undefined;
14
+ description?: string | undefined;
21
15
  $schema?: string | undefined;
16
+ extends?: string | undefined;
17
+ author?: string | undefined;
18
+ dependencies?: string[] | undefined;
19
+ devDependencies?: string[] | undefined;
20
+ registryDependencies?: string[] | undefined;
21
+ files?: ({
22
+ path: string;
23
+ type: "registry:file" | "registry:page";
24
+ target: string;
25
+ content?: string | undefined;
26
+ } | {
27
+ path: string;
28
+ type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
29
+ content?: string | undefined;
30
+ target?: string | undefined;
31
+ })[] | undefined;
22
32
  config?: {
33
+ $schema?: string | undefined;
23
34
  tailwind?: {
24
35
  config?: string | undefined;
25
36
  css?: string | undefined;
@@ -27,7 +38,6 @@ declare function getRegistry(name: string, options?: {
27
38
  cssVariables?: boolean | undefined;
28
39
  prefix?: string | undefined;
29
40
  } | undefined;
30
- $schema?: string | undefined;
31
41
  rsc?: boolean | undefined;
32
42
  tsx?: boolean | undefined;
33
43
  iconLibrary?: string | undefined;
@@ -35,42 +45,31 @@ declare function getRegistry(name: string, options?: {
35
45
  menuAccent?: "subtle" | "bold" | undefined;
36
46
  aliases?: {
37
47
  components?: string | undefined;
38
- ui?: string | undefined;
39
48
  utils?: string | undefined;
49
+ ui?: string | undefined;
40
50
  lib?: string | undefined;
41
51
  hooks?: string | undefined;
42
52
  } | undefined;
43
53
  } | undefined;
44
- css?: Record<string, any> | undefined;
45
- extends?: string | undefined;
46
- title?: string | undefined;
47
- author?: string | undefined;
48
- description?: string | undefined;
49
- dependencies?: string[] | undefined;
50
- devDependencies?: string[] | undefined;
51
- registryDependencies?: string[] | undefined;
52
- files?: ({
53
- path: string;
54
- type: "registry:page" | "registry:file";
55
- target: string;
56
- content?: string | undefined;
57
- } | {
58
- path: string;
59
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
60
- content?: string | undefined;
61
- target?: string | undefined;
62
- })[] | undefined;
54
+ tailwind?: {
55
+ config?: {
56
+ content?: string[] | undefined;
57
+ theme?: Record<string, any> | undefined;
58
+ plugins?: string[] | undefined;
59
+ } | undefined;
60
+ } | undefined;
63
61
  cssVars?: Record<string, {
64
62
  light?: Record<string, string> | undefined;
65
63
  dark?: Record<string, string> | undefined;
66
64
  }> | undefined;
65
+ css?: Record<string, any> | undefined;
67
66
  envVars?: Record<string, string> | undefined;
68
67
  meta?: Record<string, any> | undefined;
69
68
  docs?: string | undefined;
70
69
  categories?: string[] | undefined;
71
70
  } | {
72
- type: "registry:font-variant";
73
71
  name: string;
72
+ type: "registry:font-variant";
74
73
  fontVariant: {
75
74
  display: {
76
75
  family: string;
@@ -97,25 +96,17 @@ declare function getRegistry(name: string, options?: {
97
96
  subsets?: string[] | undefined;
98
97
  };
99
98
  };
100
- tailwind?: {
101
- config?: {
102
- content?: string[] | undefined;
103
- theme?: Record<string, any> | undefined;
104
- plugins?: string[] | undefined;
105
- } | undefined;
106
- } | undefined;
99
+ title?: string | undefined;
100
+ description?: string | undefined;
107
101
  $schema?: string | undefined;
108
- css?: Record<string, any> | undefined;
109
102
  extends?: string | undefined;
110
- title?: string | undefined;
111
103
  author?: string | undefined;
112
- description?: string | undefined;
113
104
  dependencies?: string[] | undefined;
114
105
  devDependencies?: string[] | undefined;
115
106
  registryDependencies?: string[] | undefined;
116
107
  files?: ({
117
108
  path: string;
118
- type: "registry:page" | "registry:file";
109
+ type: "registry:file" | "registry:page";
119
110
  target: string;
120
111
  content?: string | undefined;
121
112
  } | {
@@ -124,36 +115,36 @@ declare function getRegistry(name: string, options?: {
124
115
  content?: string | undefined;
125
116
  target?: string | undefined;
126
117
  })[] | undefined;
118
+ tailwind?: {
119
+ config?: {
120
+ content?: string[] | undefined;
121
+ theme?: Record<string, any> | undefined;
122
+ plugins?: string[] | undefined;
123
+ } | undefined;
124
+ } | undefined;
127
125
  cssVars?: Record<string, {
128
126
  light?: Record<string, string> | undefined;
129
127
  dark?: Record<string, string> | undefined;
130
128
  }> | undefined;
129
+ css?: Record<string, any> | undefined;
131
130
  envVars?: Record<string, string> | undefined;
132
131
  meta?: Record<string, any> | undefined;
133
132
  docs?: string | undefined;
134
133
  categories?: string[] | undefined;
135
134
  } | {
136
- type: "registry:theme";
137
135
  name: string;
138
- tailwind?: {
139
- config?: {
140
- content?: string[] | undefined;
141
- theme?: Record<string, any> | undefined;
142
- plugins?: string[] | undefined;
143
- } | undefined;
144
- } | undefined;
136
+ type: "registry:theme";
137
+ title?: string | undefined;
138
+ description?: string | undefined;
145
139
  $schema?: string | undefined;
146
- css?: Record<string, any> | undefined;
147
140
  extends?: string | undefined;
148
- title?: string | undefined;
149
141
  author?: string | undefined;
150
- description?: string | undefined;
151
142
  dependencies?: string[] | undefined;
152
143
  devDependencies?: string[] | undefined;
153
144
  registryDependencies?: string[] | undefined;
154
145
  files?: ({
155
146
  path: string;
156
- type: "registry:page" | "registry:file";
147
+ type: "registry:file" | "registry:page";
157
148
  target: string;
158
149
  content?: string | undefined;
159
150
  } | {
@@ -162,17 +153,25 @@ declare function getRegistry(name: string, options?: {
162
153
  content?: string | undefined;
163
154
  target?: string | undefined;
164
155
  })[] | undefined;
156
+ tailwind?: {
157
+ config?: {
158
+ content?: string[] | undefined;
159
+ theme?: Record<string, any> | undefined;
160
+ plugins?: string[] | undefined;
161
+ } | undefined;
162
+ } | undefined;
165
163
  cssVars?: Record<string, {
166
164
  light?: Record<string, string> | undefined;
167
165
  dark?: Record<string, string> | undefined;
168
166
  }> | undefined;
167
+ css?: Record<string, any> | undefined;
169
168
  envVars?: Record<string, string> | undefined;
170
169
  meta?: Record<string, any> | undefined;
171
170
  docs?: string | undefined;
172
171
  categories?: string[] | undefined;
173
172
  primary?: {
174
- "100": string;
175
173
  "50": string;
174
+ "100": string;
176
175
  "200": string;
177
176
  "300": string;
178
177
  "400": string;
@@ -190,27 +189,19 @@ declare function getRegistry(name: string, options?: {
190
189
  "alpha-48": string;
191
190
  } | undefined;
192
191
  } | {
193
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
194
192
  name: string;
195
- tailwind?: {
196
- config?: {
197
- content?: string[] | undefined;
198
- theme?: Record<string, any> | undefined;
199
- plugins?: string[] | undefined;
200
- } | undefined;
201
- } | undefined;
193
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:item" | "registry:example" | "registry:internal";
194
+ title?: string | undefined;
195
+ description?: string | undefined;
202
196
  $schema?: string | undefined;
203
- css?: Record<string, any> | undefined;
204
197
  extends?: string | undefined;
205
- title?: string | undefined;
206
198
  author?: string | undefined;
207
- description?: string | undefined;
208
199
  dependencies?: string[] | undefined;
209
200
  devDependencies?: string[] | undefined;
210
201
  registryDependencies?: string[] | undefined;
211
202
  files?: ({
212
203
  path: string;
213
- type: "registry:page" | "registry:file";
204
+ type: "registry:file" | "registry:page";
214
205
  target: string;
215
206
  content?: string | undefined;
216
207
  } | {
@@ -219,31 +210,52 @@ declare function getRegistry(name: string, options?: {
219
210
  content?: string | undefined;
220
211
  target?: string | undefined;
221
212
  })[] | undefined;
213
+ tailwind?: {
214
+ config?: {
215
+ content?: string[] | undefined;
216
+ theme?: Record<string, any> | undefined;
217
+ plugins?: string[] | undefined;
218
+ } | undefined;
219
+ } | undefined;
222
220
  cssVars?: Record<string, {
223
221
  light?: Record<string, string> | undefined;
224
222
  dark?: Record<string, string> | undefined;
225
223
  }> | undefined;
224
+ css?: Record<string, any> | undefined;
226
225
  envVars?: Record<string, string> | undefined;
227
226
  meta?: Record<string, any> | undefined;
228
227
  docs?: string | undefined;
229
228
  categories?: string[] | undefined;
230
229
  })[];
230
+ homepage: string;
231
231
  }>;
232
232
  declare function getRegistryItems(items: string[], options?: {
233
233
  config?: Partial<Config>;
234
234
  useCache?: boolean;
235
235
  }): Promise<({
236
- type: "registry:base";
237
236
  name: string;
238
- tailwind?: {
239
- config?: {
240
- content?: string[] | undefined;
241
- theme?: Record<string, any> | undefined;
242
- plugins?: string[] | undefined;
243
- } | undefined;
244
- } | undefined;
237
+ type: "registry:base";
238
+ title?: string | undefined;
239
+ description?: string | undefined;
245
240
  $schema?: string | undefined;
241
+ extends?: string | undefined;
242
+ author?: string | undefined;
243
+ dependencies?: string[] | undefined;
244
+ devDependencies?: string[] | undefined;
245
+ registryDependencies?: string[] | undefined;
246
+ files?: ({
247
+ path: string;
248
+ type: "registry:file" | "registry:page";
249
+ target: string;
250
+ content?: string | undefined;
251
+ } | {
252
+ path: string;
253
+ type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
254
+ content?: string | undefined;
255
+ target?: string | undefined;
256
+ })[] | undefined;
246
257
  config?: {
258
+ $schema?: string | undefined;
247
259
  tailwind?: {
248
260
  config?: string | undefined;
249
261
  css?: string | undefined;
@@ -251,7 +263,6 @@ declare function getRegistryItems(items: string[], options?: {
251
263
  cssVariables?: boolean | undefined;
252
264
  prefix?: string | undefined;
253
265
  } | undefined;
254
- $schema?: string | undefined;
255
266
  rsc?: boolean | undefined;
256
267
  tsx?: boolean | undefined;
257
268
  iconLibrary?: string | undefined;
@@ -259,42 +270,31 @@ declare function getRegistryItems(items: string[], options?: {
259
270
  menuAccent?: "subtle" | "bold" | undefined;
260
271
  aliases?: {
261
272
  components?: string | undefined;
262
- ui?: string | undefined;
263
273
  utils?: string | undefined;
274
+ ui?: string | undefined;
264
275
  lib?: string | undefined;
265
276
  hooks?: string | undefined;
266
277
  } | undefined;
267
278
  } | undefined;
268
- css?: Record<string, any> | undefined;
269
- extends?: string | undefined;
270
- title?: string | undefined;
271
- author?: string | undefined;
272
- description?: string | undefined;
273
- dependencies?: string[] | undefined;
274
- devDependencies?: string[] | undefined;
275
- registryDependencies?: string[] | undefined;
276
- files?: ({
277
- path: string;
278
- type: "registry:page" | "registry:file";
279
- target: string;
280
- content?: string | undefined;
281
- } | {
282
- path: string;
283
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
284
- content?: string | undefined;
285
- target?: string | undefined;
286
- })[] | undefined;
279
+ tailwind?: {
280
+ config?: {
281
+ content?: string[] | undefined;
282
+ theme?: Record<string, any> | undefined;
283
+ plugins?: string[] | undefined;
284
+ } | undefined;
285
+ } | undefined;
287
286
  cssVars?: Record<string, {
288
287
  light?: Record<string, string> | undefined;
289
288
  dark?: Record<string, string> | undefined;
290
289
  }> | undefined;
290
+ css?: Record<string, any> | undefined;
291
291
  envVars?: Record<string, string> | undefined;
292
292
  meta?: Record<string, any> | undefined;
293
293
  docs?: string | undefined;
294
294
  categories?: string[] | undefined;
295
295
  } | {
296
- type: "registry:font-variant";
297
296
  name: string;
297
+ type: "registry:font-variant";
298
298
  fontVariant: {
299
299
  display: {
300
300
  family: string;
@@ -321,25 +321,17 @@ declare function getRegistryItems(items: string[], options?: {
321
321
  subsets?: string[] | undefined;
322
322
  };
323
323
  };
324
- tailwind?: {
325
- config?: {
326
- content?: string[] | undefined;
327
- theme?: Record<string, any> | undefined;
328
- plugins?: string[] | undefined;
329
- } | undefined;
330
- } | undefined;
324
+ title?: string | undefined;
325
+ description?: string | undefined;
331
326
  $schema?: string | undefined;
332
- css?: Record<string, any> | undefined;
333
327
  extends?: string | undefined;
334
- title?: string | undefined;
335
328
  author?: string | undefined;
336
- description?: string | undefined;
337
329
  dependencies?: string[] | undefined;
338
330
  devDependencies?: string[] | undefined;
339
331
  registryDependencies?: string[] | undefined;
340
332
  files?: ({
341
333
  path: string;
342
- type: "registry:page" | "registry:file";
334
+ type: "registry:file" | "registry:page";
343
335
  target: string;
344
336
  content?: string | undefined;
345
337
  } | {
@@ -348,36 +340,36 @@ declare function getRegistryItems(items: string[], options?: {
348
340
  content?: string | undefined;
349
341
  target?: string | undefined;
350
342
  })[] | undefined;
343
+ tailwind?: {
344
+ config?: {
345
+ content?: string[] | undefined;
346
+ theme?: Record<string, any> | undefined;
347
+ plugins?: string[] | undefined;
348
+ } | undefined;
349
+ } | undefined;
351
350
  cssVars?: Record<string, {
352
351
  light?: Record<string, string> | undefined;
353
352
  dark?: Record<string, string> | undefined;
354
353
  }> | undefined;
354
+ css?: Record<string, any> | undefined;
355
355
  envVars?: Record<string, string> | undefined;
356
356
  meta?: Record<string, any> | undefined;
357
357
  docs?: string | undefined;
358
358
  categories?: string[] | undefined;
359
359
  } | {
360
- type: "registry:theme";
361
360
  name: string;
362
- tailwind?: {
363
- config?: {
364
- content?: string[] | undefined;
365
- theme?: Record<string, any> | undefined;
366
- plugins?: string[] | undefined;
367
- } | undefined;
368
- } | undefined;
361
+ type: "registry:theme";
362
+ title?: string | undefined;
363
+ description?: string | undefined;
369
364
  $schema?: string | undefined;
370
- css?: Record<string, any> | undefined;
371
365
  extends?: string | undefined;
372
- title?: string | undefined;
373
366
  author?: string | undefined;
374
- description?: string | undefined;
375
367
  dependencies?: string[] | undefined;
376
368
  devDependencies?: string[] | undefined;
377
369
  registryDependencies?: string[] | undefined;
378
370
  files?: ({
379
371
  path: string;
380
- type: "registry:page" | "registry:file";
372
+ type: "registry:file" | "registry:page";
381
373
  target: string;
382
374
  content?: string | undefined;
383
375
  } | {
@@ -386,17 +378,25 @@ declare function getRegistryItems(items: string[], options?: {
386
378
  content?: string | undefined;
387
379
  target?: string | undefined;
388
380
  })[] | undefined;
381
+ tailwind?: {
382
+ config?: {
383
+ content?: string[] | undefined;
384
+ theme?: Record<string, any> | undefined;
385
+ plugins?: string[] | undefined;
386
+ } | undefined;
387
+ } | undefined;
389
388
  cssVars?: Record<string, {
390
389
  light?: Record<string, string> | undefined;
391
390
  dark?: Record<string, string> | undefined;
392
391
  }> | undefined;
392
+ css?: Record<string, any> | undefined;
393
393
  envVars?: Record<string, string> | undefined;
394
394
  meta?: Record<string, any> | undefined;
395
395
  docs?: string | undefined;
396
396
  categories?: string[] | undefined;
397
397
  primary?: {
398
- "100": string;
399
398
  "50": string;
399
+ "100": string;
400
400
  "200": string;
401
401
  "300": string;
402
402
  "400": string;
@@ -414,27 +414,19 @@ declare function getRegistryItems(items: string[], options?: {
414
414
  "alpha-48": string;
415
415
  } | undefined;
416
416
  } | {
417
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
418
417
  name: string;
419
- tailwind?: {
420
- config?: {
421
- content?: string[] | undefined;
422
- theme?: Record<string, any> | undefined;
423
- plugins?: string[] | undefined;
424
- } | undefined;
425
- } | undefined;
418
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:item" | "registry:example" | "registry:internal";
419
+ title?: string | undefined;
420
+ description?: string | undefined;
426
421
  $schema?: string | undefined;
427
- css?: Record<string, any> | undefined;
428
422
  extends?: string | undefined;
429
- title?: string | undefined;
430
423
  author?: string | undefined;
431
- description?: string | undefined;
432
424
  dependencies?: string[] | undefined;
433
425
  devDependencies?: string[] | undefined;
434
426
  registryDependencies?: string[] | undefined;
435
427
  files?: ({
436
428
  path: string;
437
- type: "registry:page" | "registry:file";
429
+ type: "registry:file" | "registry:page";
438
430
  target: string;
439
431
  content?: string | undefined;
440
432
  } | {
@@ -443,10 +435,18 @@ declare function getRegistryItems(items: string[], options?: {
443
435
  content?: string | undefined;
444
436
  target?: string | undefined;
445
437
  })[] | undefined;
438
+ tailwind?: {
439
+ config?: {
440
+ content?: string[] | undefined;
441
+ theme?: Record<string, any> | undefined;
442
+ plugins?: string[] | undefined;
443
+ } | undefined;
444
+ } | undefined;
446
445
  cssVars?: Record<string, {
447
446
  light?: Record<string, string> | undefined;
448
447
  dark?: Record<string, string> | undefined;
449
448
  }> | undefined;
449
+ css?: Record<string, any> | undefined;
450
450
  envVars?: Record<string, string> | undefined;
451
451
  meta?: Record<string, any> | undefined;
452
452
  docs?: string | undefined;
@@ -456,19 +456,11 @@ declare function resolveRegistryItems(items: string[], options?: {
456
456
  config?: Partial<Config>;
457
457
  useCache?: boolean;
458
458
  }): Promise<{
459
- tailwind?: {
460
- config?: {
461
- content?: string[] | undefined;
462
- theme?: Record<string, any> | undefined;
463
- plugins?: string[] | undefined;
464
- } | undefined;
465
- } | undefined;
466
- css?: Record<string, any> | undefined;
467
459
  dependencies?: string[] | undefined;
468
460
  devDependencies?: string[] | undefined;
469
461
  files?: ({
470
462
  path: string;
471
- type: "registry:page" | "registry:file";
463
+ type: "registry:file" | "registry:page";
472
464
  target: string;
473
465
  content?: string | undefined;
474
466
  } | {
@@ -477,15 +469,23 @@ declare function resolveRegistryItems(items: string[], options?: {
477
469
  content?: string | undefined;
478
470
  target?: string | undefined;
479
471
  })[] | undefined;
472
+ tailwind?: {
473
+ config?: {
474
+ content?: string[] | undefined;
475
+ theme?: Record<string, any> | undefined;
476
+ plugins?: string[] | undefined;
477
+ } | undefined;
478
+ } | undefined;
480
479
  cssVars?: Record<string, {
481
480
  light?: Record<string, string> | undefined;
482
481
  dark?: Record<string, string> | undefined;
483
482
  }> | undefined;
483
+ css?: Record<string, any> | undefined;
484
484
  envVars?: Record<string, string> | undefined;
485
485
  docs?: string | undefined;
486
486
  fonts?: {
487
- type: "registry:font";
488
487
  name: string;
488
+ type: "registry:font";
489
489
  role: "display" | "body" | "numeric";
490
490
  font: {
491
491
  family: string;
@@ -495,25 +495,17 @@ declare function resolveRegistryItems(items: string[], options?: {
495
495
  weight?: string[] | undefined;
496
496
  subsets?: string[] | undefined;
497
497
  };
498
- tailwind?: {
499
- config?: {
500
- content?: string[] | undefined;
501
- theme?: Record<string, any> | undefined;
502
- plugins?: string[] | undefined;
503
- } | undefined;
504
- } | undefined;
498
+ title?: string | undefined;
499
+ description?: string | undefined;
505
500
  $schema?: string | undefined;
506
- css?: Record<string, any> | undefined;
507
501
  extends?: string | undefined;
508
- title?: string | undefined;
509
502
  author?: string | undefined;
510
- description?: string | undefined;
511
503
  dependencies?: string[] | undefined;
512
504
  devDependencies?: string[] | undefined;
513
505
  registryDependencies?: string[] | undefined;
514
506
  files?: ({
515
507
  path: string;
516
- type: "registry:page" | "registry:file";
508
+ type: "registry:file" | "registry:page";
517
509
  target: string;
518
510
  content?: string | undefined;
519
511
  } | {
@@ -522,10 +514,18 @@ declare function resolveRegistryItems(items: string[], options?: {
522
514
  content?: string | undefined;
523
515
  target?: string | undefined;
524
516
  })[] | undefined;
517
+ tailwind?: {
518
+ config?: {
519
+ content?: string[] | undefined;
520
+ theme?: Record<string, any> | undefined;
521
+ plugins?: string[] | undefined;
522
+ } | undefined;
523
+ } | undefined;
525
524
  cssVars?: Record<string, {
526
525
  light?: Record<string, string> | undefined;
527
526
  dark?: Record<string, string> | undefined;
528
527
  }> | undefined;
528
+ css?: Record<string, any> | undefined;
529
529
  envVars?: Record<string, string> | undefined;
530
530
  meta?: Record<string, any> | undefined;
531
531
  docs?: string | undefined;
@@ -533,17 +533,29 @@ declare function resolveRegistryItems(items: string[], options?: {
533
533
  }[] | undefined;
534
534
  } | null>;
535
535
  declare function getcreateuiRegistryIndex(): Promise<({
536
- type: "registry:base";
537
536
  name: string;
538
- tailwind?: {
539
- config?: {
540
- content?: string[] | undefined;
541
- theme?: Record<string, any> | undefined;
542
- plugins?: string[] | undefined;
543
- } | undefined;
544
- } | undefined;
537
+ type: "registry:base";
538
+ title?: string | undefined;
539
+ description?: string | undefined;
545
540
  $schema?: string | undefined;
541
+ extends?: string | undefined;
542
+ author?: string | undefined;
543
+ dependencies?: string[] | undefined;
544
+ devDependencies?: string[] | undefined;
545
+ registryDependencies?: string[] | undefined;
546
+ files?: ({
547
+ path: string;
548
+ type: "registry:file" | "registry:page";
549
+ target: string;
550
+ content?: string | undefined;
551
+ } | {
552
+ path: string;
553
+ type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
554
+ content?: string | undefined;
555
+ target?: string | undefined;
556
+ })[] | undefined;
546
557
  config?: {
558
+ $schema?: string | undefined;
547
559
  tailwind?: {
548
560
  config?: string | undefined;
549
561
  css?: string | undefined;
@@ -551,7 +563,6 @@ declare function getcreateuiRegistryIndex(): Promise<({
551
563
  cssVariables?: boolean | undefined;
552
564
  prefix?: string | undefined;
553
565
  } | undefined;
554
- $schema?: string | undefined;
555
566
  rsc?: boolean | undefined;
556
567
  tsx?: boolean | undefined;
557
568
  iconLibrary?: string | undefined;
@@ -559,42 +570,31 @@ declare function getcreateuiRegistryIndex(): Promise<({
559
570
  menuAccent?: "subtle" | "bold" | undefined;
560
571
  aliases?: {
561
572
  components?: string | undefined;
562
- ui?: string | undefined;
563
573
  utils?: string | undefined;
574
+ ui?: string | undefined;
564
575
  lib?: string | undefined;
565
576
  hooks?: string | undefined;
566
577
  } | undefined;
567
578
  } | undefined;
568
- css?: Record<string, any> | undefined;
569
- extends?: string | undefined;
570
- title?: string | undefined;
571
- author?: string | undefined;
572
- description?: string | undefined;
573
- dependencies?: string[] | undefined;
574
- devDependencies?: string[] | undefined;
575
- registryDependencies?: string[] | undefined;
576
- files?: ({
577
- path: string;
578
- type: "registry:page" | "registry:file";
579
- target: string;
580
- content?: string | undefined;
581
- } | {
582
- path: string;
583
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
584
- content?: string | undefined;
585
- target?: string | undefined;
586
- })[] | undefined;
579
+ tailwind?: {
580
+ config?: {
581
+ content?: string[] | undefined;
582
+ theme?: Record<string, any> | undefined;
583
+ plugins?: string[] | undefined;
584
+ } | undefined;
585
+ } | undefined;
587
586
  cssVars?: Record<string, {
588
587
  light?: Record<string, string> | undefined;
589
588
  dark?: Record<string, string> | undefined;
590
589
  }> | undefined;
590
+ css?: Record<string, any> | undefined;
591
591
  envVars?: Record<string, string> | undefined;
592
592
  meta?: Record<string, any> | undefined;
593
593
  docs?: string | undefined;
594
594
  categories?: string[] | undefined;
595
595
  } | {
596
- type: "registry:font-variant";
597
596
  name: string;
597
+ type: "registry:font-variant";
598
598
  fontVariant: {
599
599
  display: {
600
600
  family: string;
@@ -621,25 +621,17 @@ declare function getcreateuiRegistryIndex(): Promise<({
621
621
  subsets?: string[] | undefined;
622
622
  };
623
623
  };
624
- tailwind?: {
625
- config?: {
626
- content?: string[] | undefined;
627
- theme?: Record<string, any> | undefined;
628
- plugins?: string[] | undefined;
629
- } | undefined;
630
- } | undefined;
624
+ title?: string | undefined;
625
+ description?: string | undefined;
631
626
  $schema?: string | undefined;
632
- css?: Record<string, any> | undefined;
633
627
  extends?: string | undefined;
634
- title?: string | undefined;
635
628
  author?: string | undefined;
636
- description?: string | undefined;
637
629
  dependencies?: string[] | undefined;
638
630
  devDependencies?: string[] | undefined;
639
631
  registryDependencies?: string[] | undefined;
640
632
  files?: ({
641
633
  path: string;
642
- type: "registry:page" | "registry:file";
634
+ type: "registry:file" | "registry:page";
643
635
  target: string;
644
636
  content?: string | undefined;
645
637
  } | {
@@ -648,36 +640,36 @@ declare function getcreateuiRegistryIndex(): Promise<({
648
640
  content?: string | undefined;
649
641
  target?: string | undefined;
650
642
  })[] | undefined;
643
+ tailwind?: {
644
+ config?: {
645
+ content?: string[] | undefined;
646
+ theme?: Record<string, any> | undefined;
647
+ plugins?: string[] | undefined;
648
+ } | undefined;
649
+ } | undefined;
651
650
  cssVars?: Record<string, {
652
651
  light?: Record<string, string> | undefined;
653
652
  dark?: Record<string, string> | undefined;
654
653
  }> | undefined;
654
+ css?: Record<string, any> | undefined;
655
655
  envVars?: Record<string, string> | undefined;
656
656
  meta?: Record<string, any> | undefined;
657
657
  docs?: string | undefined;
658
658
  categories?: string[] | undefined;
659
659
  } | {
660
- type: "registry:theme";
661
660
  name: string;
662
- tailwind?: {
663
- config?: {
664
- content?: string[] | undefined;
665
- theme?: Record<string, any> | undefined;
666
- plugins?: string[] | undefined;
667
- } | undefined;
668
- } | undefined;
661
+ type: "registry:theme";
662
+ title?: string | undefined;
663
+ description?: string | undefined;
669
664
  $schema?: string | undefined;
670
- css?: Record<string, any> | undefined;
671
665
  extends?: string | undefined;
672
- title?: string | undefined;
673
666
  author?: string | undefined;
674
- description?: string | undefined;
675
667
  dependencies?: string[] | undefined;
676
668
  devDependencies?: string[] | undefined;
677
669
  registryDependencies?: string[] | undefined;
678
670
  files?: ({
679
671
  path: string;
680
- type: "registry:page" | "registry:file";
672
+ type: "registry:file" | "registry:page";
681
673
  target: string;
682
674
  content?: string | undefined;
683
675
  } | {
@@ -686,17 +678,25 @@ declare function getcreateuiRegistryIndex(): Promise<({
686
678
  content?: string | undefined;
687
679
  target?: string | undefined;
688
680
  })[] | undefined;
681
+ tailwind?: {
682
+ config?: {
683
+ content?: string[] | undefined;
684
+ theme?: Record<string, any> | undefined;
685
+ plugins?: string[] | undefined;
686
+ } | undefined;
687
+ } | undefined;
689
688
  cssVars?: Record<string, {
690
689
  light?: Record<string, string> | undefined;
691
690
  dark?: Record<string, string> | undefined;
692
691
  }> | undefined;
692
+ css?: Record<string, any> | undefined;
693
693
  envVars?: Record<string, string> | undefined;
694
694
  meta?: Record<string, any> | undefined;
695
695
  docs?: string | undefined;
696
696
  categories?: string[] | undefined;
697
697
  primary?: {
698
- "100": string;
699
698
  "50": string;
699
+ "100": string;
700
700
  "200": string;
701
701
  "300": string;
702
702
  "400": string;
@@ -714,27 +714,19 @@ declare function getcreateuiRegistryIndex(): Promise<({
714
714
  "alpha-48": string;
715
715
  } | undefined;
716
716
  } | {
717
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
718
717
  name: string;
719
- tailwind?: {
720
- config?: {
721
- content?: string[] | undefined;
722
- theme?: Record<string, any> | undefined;
723
- plugins?: string[] | undefined;
724
- } | undefined;
725
- } | undefined;
718
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:item" | "registry:example" | "registry:internal";
719
+ title?: string | undefined;
720
+ description?: string | undefined;
726
721
  $schema?: string | undefined;
727
- css?: Record<string, any> | undefined;
728
722
  extends?: string | undefined;
729
- title?: string | undefined;
730
723
  author?: string | undefined;
731
- description?: string | undefined;
732
724
  dependencies?: string[] | undefined;
733
725
  devDependencies?: string[] | undefined;
734
726
  registryDependencies?: string[] | undefined;
735
727
  files?: ({
736
728
  path: string;
737
- type: "registry:page" | "registry:file";
729
+ type: "registry:file" | "registry:page";
738
730
  target: string;
739
731
  content?: string | undefined;
740
732
  } | {
@@ -743,10 +735,18 @@ declare function getcreateuiRegistryIndex(): Promise<({
743
735
  content?: string | undefined;
744
736
  target?: string | undefined;
745
737
  })[] | undefined;
738
+ tailwind?: {
739
+ config?: {
740
+ content?: string[] | undefined;
741
+ theme?: Record<string, any> | undefined;
742
+ plugins?: string[] | undefined;
743
+ } | undefined;
744
+ } | undefined;
746
745
  cssVars?: Record<string, {
747
746
  light?: Record<string, string> | undefined;
748
747
  dark?: Record<string, string> | undefined;
749
748
  }> | undefined;
749
+ css?: Record<string, any> | undefined;
750
750
  envVars?: Record<string, string> | undefined;
751
751
  meta?: Record<string, any> | undefined;
752
752
  docs?: string | undefined;
@@ -758,20 +758,32 @@ declare function getRegistryStyles(): Promise<{
758
758
  }[]>;
759
759
  declare function getRegistryIcons(): Promise<Record<string, Record<string, string>>>;
760
760
  /**
761
- * @deprecated This function is deprecated and will be removed in a future version.
762
- */
763
- declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names: string[]): Promise<({
764
- type: "registry:base";
765
- name: string;
766
- tailwind?: {
767
- config?: {
768
- content?: string[] | undefined;
769
- theme?: Record<string, any> | undefined;
770
- plugins?: string[] | undefined;
771
- } | undefined;
772
- } | undefined;
761
+ * @deprecated This function is deprecated and will be removed in a future version.
762
+ */
763
+ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names: string[]): Promise<({
764
+ name: string;
765
+ type: "registry:base";
766
+ title?: string | undefined;
767
+ description?: string | undefined;
773
768
  $schema?: string | undefined;
769
+ extends?: string | undefined;
770
+ author?: string | undefined;
771
+ dependencies?: string[] | undefined;
772
+ devDependencies?: string[] | undefined;
773
+ registryDependencies?: string[] | undefined;
774
+ files?: ({
775
+ path: string;
776
+ type: "registry:file" | "registry:page";
777
+ target: string;
778
+ content?: string | undefined;
779
+ } | {
780
+ path: string;
781
+ type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
782
+ content?: string | undefined;
783
+ target?: string | undefined;
784
+ })[] | undefined;
774
785
  config?: {
786
+ $schema?: string | undefined;
775
787
  tailwind?: {
776
788
  config?: string | undefined;
777
789
  css?: string | undefined;
@@ -779,7 +791,6 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
779
791
  cssVariables?: boolean | undefined;
780
792
  prefix?: string | undefined;
781
793
  } | undefined;
782
- $schema?: string | undefined;
783
794
  rsc?: boolean | undefined;
784
795
  tsx?: boolean | undefined;
785
796
  iconLibrary?: string | undefined;
@@ -787,42 +798,31 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
787
798
  menuAccent?: "subtle" | "bold" | undefined;
788
799
  aliases?: {
789
800
  components?: string | undefined;
790
- ui?: string | undefined;
791
801
  utils?: string | undefined;
802
+ ui?: string | undefined;
792
803
  lib?: string | undefined;
793
804
  hooks?: string | undefined;
794
805
  } | undefined;
795
806
  } | undefined;
796
- css?: Record<string, any> | undefined;
797
- extends?: string | undefined;
798
- title?: string | undefined;
799
- author?: string | undefined;
800
- description?: string | undefined;
801
- dependencies?: string[] | undefined;
802
- devDependencies?: string[] | undefined;
803
- registryDependencies?: string[] | undefined;
804
- files?: ({
805
- path: string;
806
- type: "registry:page" | "registry:file";
807
- target: string;
808
- content?: string | undefined;
809
- } | {
810
- path: string;
811
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
812
- content?: string | undefined;
813
- target?: string | undefined;
814
- })[] | undefined;
807
+ tailwind?: {
808
+ config?: {
809
+ content?: string[] | undefined;
810
+ theme?: Record<string, any> | undefined;
811
+ plugins?: string[] | undefined;
812
+ } | undefined;
813
+ } | undefined;
815
814
  cssVars?: Record<string, {
816
815
  light?: Record<string, string> | undefined;
817
816
  dark?: Record<string, string> | undefined;
818
817
  }> | undefined;
818
+ css?: Record<string, any> | undefined;
819
819
  envVars?: Record<string, string> | undefined;
820
820
  meta?: Record<string, any> | undefined;
821
821
  docs?: string | undefined;
822
822
  categories?: string[] | undefined;
823
823
  } | {
824
- type: "registry:font-variant";
825
824
  name: string;
825
+ type: "registry:font-variant";
826
826
  fontVariant: {
827
827
  display: {
828
828
  family: string;
@@ -849,25 +849,17 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
849
849
  subsets?: string[] | undefined;
850
850
  };
851
851
  };
852
- tailwind?: {
853
- config?: {
854
- content?: string[] | undefined;
855
- theme?: Record<string, any> | undefined;
856
- plugins?: string[] | undefined;
857
- } | undefined;
858
- } | undefined;
852
+ title?: string | undefined;
853
+ description?: string | undefined;
859
854
  $schema?: string | undefined;
860
- css?: Record<string, any> | undefined;
861
855
  extends?: string | undefined;
862
- title?: string | undefined;
863
856
  author?: string | undefined;
864
- description?: string | undefined;
865
857
  dependencies?: string[] | undefined;
866
858
  devDependencies?: string[] | undefined;
867
859
  registryDependencies?: string[] | undefined;
868
860
  files?: ({
869
861
  path: string;
870
- type: "registry:page" | "registry:file";
862
+ type: "registry:file" | "registry:page";
871
863
  target: string;
872
864
  content?: string | undefined;
873
865
  } | {
@@ -876,36 +868,36 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
876
868
  content?: string | undefined;
877
869
  target?: string | undefined;
878
870
  })[] | undefined;
871
+ tailwind?: {
872
+ config?: {
873
+ content?: string[] | undefined;
874
+ theme?: Record<string, any> | undefined;
875
+ plugins?: string[] | undefined;
876
+ } | undefined;
877
+ } | undefined;
879
878
  cssVars?: Record<string, {
880
879
  light?: Record<string, string> | undefined;
881
880
  dark?: Record<string, string> | undefined;
882
881
  }> | undefined;
882
+ css?: Record<string, any> | undefined;
883
883
  envVars?: Record<string, string> | undefined;
884
884
  meta?: Record<string, any> | undefined;
885
885
  docs?: string | undefined;
886
886
  categories?: string[] | undefined;
887
887
  } | {
888
- type: "registry:theme";
889
888
  name: string;
890
- tailwind?: {
891
- config?: {
892
- content?: string[] | undefined;
893
- theme?: Record<string, any> | undefined;
894
- plugins?: string[] | undefined;
895
- } | undefined;
896
- } | undefined;
889
+ type: "registry:theme";
890
+ title?: string | undefined;
891
+ description?: string | undefined;
897
892
  $schema?: string | undefined;
898
- css?: Record<string, any> | undefined;
899
893
  extends?: string | undefined;
900
- title?: string | undefined;
901
894
  author?: string | undefined;
902
- description?: string | undefined;
903
895
  dependencies?: string[] | undefined;
904
896
  devDependencies?: string[] | undefined;
905
897
  registryDependencies?: string[] | undefined;
906
898
  files?: ({
907
899
  path: string;
908
- type: "registry:page" | "registry:file";
900
+ type: "registry:file" | "registry:page";
909
901
  target: string;
910
902
  content?: string | undefined;
911
903
  } | {
@@ -914,17 +906,25 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
914
906
  content?: string | undefined;
915
907
  target?: string | undefined;
916
908
  })[] | undefined;
909
+ tailwind?: {
910
+ config?: {
911
+ content?: string[] | undefined;
912
+ theme?: Record<string, any> | undefined;
913
+ plugins?: string[] | undefined;
914
+ } | undefined;
915
+ } | undefined;
917
916
  cssVars?: Record<string, {
918
917
  light?: Record<string, string> | undefined;
919
918
  dark?: Record<string, string> | undefined;
920
919
  }> | undefined;
920
+ css?: Record<string, any> | undefined;
921
921
  envVars?: Record<string, string> | undefined;
922
922
  meta?: Record<string, any> | undefined;
923
923
  docs?: string | undefined;
924
924
  categories?: string[] | undefined;
925
925
  primary?: {
926
- "100": string;
927
926
  "50": string;
927
+ "100": string;
928
928
  "200": string;
929
929
  "300": string;
930
930
  "400": string;
@@ -942,27 +942,19 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
942
942
  "alpha-48": string;
943
943
  } | undefined;
944
944
  } | {
945
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
946
945
  name: string;
947
- tailwind?: {
948
- config?: {
949
- content?: string[] | undefined;
950
- theme?: Record<string, any> | undefined;
951
- plugins?: string[] | undefined;
952
- } | undefined;
953
- } | undefined;
946
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:item" | "registry:example" | "registry:internal";
947
+ title?: string | undefined;
948
+ description?: string | undefined;
954
949
  $schema?: string | undefined;
955
- css?: Record<string, any> | undefined;
956
950
  extends?: string | undefined;
957
- title?: string | undefined;
958
951
  author?: string | undefined;
959
- description?: string | undefined;
960
952
  dependencies?: string[] | undefined;
961
953
  devDependencies?: string[] | undefined;
962
954
  registryDependencies?: string[] | undefined;
963
955
  files?: ({
964
956
  path: string;
965
- type: "registry:page" | "registry:file";
957
+ type: "registry:file" | "registry:page";
966
958
  target: string;
967
959
  content?: string | undefined;
968
960
  } | {
@@ -971,10 +963,18 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
971
963
  content?: string | undefined;
972
964
  target?: string | undefined;
973
965
  })[] | undefined;
966
+ tailwind?: {
967
+ config?: {
968
+ content?: string[] | undefined;
969
+ theme?: Record<string, any> | undefined;
970
+ plugins?: string[] | undefined;
971
+ } | undefined;
972
+ } | undefined;
974
973
  cssVars?: Record<string, {
975
974
  light?: Record<string, string> | undefined;
976
975
  dark?: Record<string, string> | undefined;
977
976
  }> | undefined;
977
+ css?: Record<string, any> | undefined;
978
978
  envVars?: Record<string, string> | undefined;
979
979
  meta?: Record<string, any> | undefined;
980
980
  docs?: string | undefined;
@@ -984,17 +984,29 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
984
984
  * @deprecated This function is deprecated and will be removed in a future version.
985
985
  */
986
986
  declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSchema>): Promise<({
987
- type: "registry:base";
988
987
  name: string;
989
- tailwind?: {
990
- config?: {
991
- content?: string[] | undefined;
992
- theme?: Record<string, any> | undefined;
993
- plugins?: string[] | undefined;
994
- } | undefined;
995
- } | undefined;
988
+ type: "registry:base";
989
+ title?: string | undefined;
990
+ description?: string | undefined;
996
991
  $schema?: string | undefined;
992
+ extends?: string | undefined;
993
+ author?: string | undefined;
994
+ dependencies?: string[] | undefined;
995
+ devDependencies?: string[] | undefined;
996
+ registryDependencies?: string[] | undefined;
997
+ files?: ({
998
+ path: string;
999
+ type: "registry:file" | "registry:page";
1000
+ target: string;
1001
+ content?: string | undefined;
1002
+ } | {
1003
+ path: string;
1004
+ type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
1005
+ content?: string | undefined;
1006
+ target?: string | undefined;
1007
+ })[] | undefined;
997
1008
  config?: {
1009
+ $schema?: string | undefined;
998
1010
  tailwind?: {
999
1011
  config?: string | undefined;
1000
1012
  css?: string | undefined;
@@ -1002,7 +1014,6 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1002
1014
  cssVariables?: boolean | undefined;
1003
1015
  prefix?: string | undefined;
1004
1016
  } | undefined;
1005
- $schema?: string | undefined;
1006
1017
  rsc?: boolean | undefined;
1007
1018
  tsx?: boolean | undefined;
1008
1019
  iconLibrary?: string | undefined;
@@ -1010,42 +1021,31 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1010
1021
  menuAccent?: "subtle" | "bold" | undefined;
1011
1022
  aliases?: {
1012
1023
  components?: string | undefined;
1013
- ui?: string | undefined;
1014
1024
  utils?: string | undefined;
1025
+ ui?: string | undefined;
1015
1026
  lib?: string | undefined;
1016
1027
  hooks?: string | undefined;
1017
1028
  } | undefined;
1018
1029
  } | undefined;
1019
- css?: Record<string, any> | undefined;
1020
- extends?: string | undefined;
1021
- title?: string | undefined;
1022
- author?: string | undefined;
1023
- description?: string | undefined;
1024
- dependencies?: string[] | undefined;
1025
- devDependencies?: string[] | undefined;
1026
- registryDependencies?: string[] | undefined;
1027
- files?: ({
1028
- path: string;
1029
- type: "registry:page" | "registry:file";
1030
- target: string;
1031
- content?: string | undefined;
1032
- } | {
1033
- path: string;
1034
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:theme" | "registry:font-variant" | "registry:item" | "registry:base" | "registry:example" | "registry:internal";
1035
- content?: string | undefined;
1036
- target?: string | undefined;
1037
- })[] | undefined;
1030
+ tailwind?: {
1031
+ config?: {
1032
+ content?: string[] | undefined;
1033
+ theme?: Record<string, any> | undefined;
1034
+ plugins?: string[] | undefined;
1035
+ } | undefined;
1036
+ } | undefined;
1038
1037
  cssVars?: Record<string, {
1039
1038
  light?: Record<string, string> | undefined;
1040
1039
  dark?: Record<string, string> | undefined;
1041
1040
  }> | undefined;
1041
+ css?: Record<string, any> | undefined;
1042
1042
  envVars?: Record<string, string> | undefined;
1043
1043
  meta?: Record<string, any> | undefined;
1044
1044
  docs?: string | undefined;
1045
1045
  categories?: string[] | undefined;
1046
1046
  } | {
1047
- type: "registry:font-variant";
1048
1047
  name: string;
1048
+ type: "registry:font-variant";
1049
1049
  fontVariant: {
1050
1050
  display: {
1051
1051
  family: string;
@@ -1072,25 +1072,17 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1072
1072
  subsets?: string[] | undefined;
1073
1073
  };
1074
1074
  };
1075
- tailwind?: {
1076
- config?: {
1077
- content?: string[] | undefined;
1078
- theme?: Record<string, any> | undefined;
1079
- plugins?: string[] | undefined;
1080
- } | undefined;
1081
- } | undefined;
1075
+ title?: string | undefined;
1076
+ description?: string | undefined;
1082
1077
  $schema?: string | undefined;
1083
- css?: Record<string, any> | undefined;
1084
1078
  extends?: string | undefined;
1085
- title?: string | undefined;
1086
1079
  author?: string | undefined;
1087
- description?: string | undefined;
1088
1080
  dependencies?: string[] | undefined;
1089
1081
  devDependencies?: string[] | undefined;
1090
1082
  registryDependencies?: string[] | undefined;
1091
1083
  files?: ({
1092
1084
  path: string;
1093
- type: "registry:page" | "registry:file";
1085
+ type: "registry:file" | "registry:page";
1094
1086
  target: string;
1095
1087
  content?: string | undefined;
1096
1088
  } | {
@@ -1099,36 +1091,36 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1099
1091
  content?: string | undefined;
1100
1092
  target?: string | undefined;
1101
1093
  })[] | undefined;
1094
+ tailwind?: {
1095
+ config?: {
1096
+ content?: string[] | undefined;
1097
+ theme?: Record<string, any> | undefined;
1098
+ plugins?: string[] | undefined;
1099
+ } | undefined;
1100
+ } | undefined;
1102
1101
  cssVars?: Record<string, {
1103
1102
  light?: Record<string, string> | undefined;
1104
1103
  dark?: Record<string, string> | undefined;
1105
1104
  }> | undefined;
1105
+ css?: Record<string, any> | undefined;
1106
1106
  envVars?: Record<string, string> | undefined;
1107
1107
  meta?: Record<string, any> | undefined;
1108
1108
  docs?: string | undefined;
1109
1109
  categories?: string[] | undefined;
1110
1110
  } | {
1111
- type: "registry:theme";
1112
1111
  name: string;
1113
- tailwind?: {
1114
- config?: {
1115
- content?: string[] | undefined;
1116
- theme?: Record<string, any> | undefined;
1117
- plugins?: string[] | undefined;
1118
- } | undefined;
1119
- } | undefined;
1112
+ type: "registry:theme";
1113
+ title?: string | undefined;
1114
+ description?: string | undefined;
1120
1115
  $schema?: string | undefined;
1121
- css?: Record<string, any> | undefined;
1122
1116
  extends?: string | undefined;
1123
- title?: string | undefined;
1124
1117
  author?: string | undefined;
1125
- description?: string | undefined;
1126
1118
  dependencies?: string[] | undefined;
1127
1119
  devDependencies?: string[] | undefined;
1128
1120
  registryDependencies?: string[] | undefined;
1129
1121
  files?: ({
1130
1122
  path: string;
1131
- type: "registry:page" | "registry:file";
1123
+ type: "registry:file" | "registry:page";
1132
1124
  target: string;
1133
1125
  content?: string | undefined;
1134
1126
  } | {
@@ -1137,17 +1129,25 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1137
1129
  content?: string | undefined;
1138
1130
  target?: string | undefined;
1139
1131
  })[] | undefined;
1132
+ tailwind?: {
1133
+ config?: {
1134
+ content?: string[] | undefined;
1135
+ theme?: Record<string, any> | undefined;
1136
+ plugins?: string[] | undefined;
1137
+ } | undefined;
1138
+ } | undefined;
1140
1139
  cssVars?: Record<string, {
1141
1140
  light?: Record<string, string> | undefined;
1142
1141
  dark?: Record<string, string> | undefined;
1143
1142
  }> | undefined;
1143
+ css?: Record<string, any> | undefined;
1144
1144
  envVars?: Record<string, string> | undefined;
1145
1145
  meta?: Record<string, any> | undefined;
1146
1146
  docs?: string | undefined;
1147
1147
  categories?: string[] | undefined;
1148
1148
  primary?: {
1149
- "100": string;
1150
1149
  "50": string;
1150
+ "100": string;
1151
1151
  "200": string;
1152
1152
  "300": string;
1153
1153
  "400": string;
@@ -1165,27 +1165,19 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1165
1165
  "alpha-48": string;
1166
1166
  } | undefined;
1167
1167
  } | {
1168
- type: "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:page" | "registry:file" | "registry:item" | "registry:example" | "registry:internal";
1169
1168
  name: string;
1170
- tailwind?: {
1171
- config?: {
1172
- content?: string[] | undefined;
1173
- theme?: Record<string, any> | undefined;
1174
- plugins?: string[] | undefined;
1175
- } | undefined;
1176
- } | undefined;
1169
+ type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:item" | "registry:example" | "registry:internal";
1170
+ title?: string | undefined;
1171
+ description?: string | undefined;
1177
1172
  $schema?: string | undefined;
1178
- css?: Record<string, any> | undefined;
1179
1173
  extends?: string | undefined;
1180
- title?: string | undefined;
1181
1174
  author?: string | undefined;
1182
- description?: string | undefined;
1183
1175
  dependencies?: string[] | undefined;
1184
1176
  devDependencies?: string[] | undefined;
1185
1177
  registryDependencies?: string[] | undefined;
1186
1178
  files?: ({
1187
1179
  path: string;
1188
- type: "registry:page" | "registry:file";
1180
+ type: "registry:file" | "registry:page";
1189
1181
  target: string;
1190
1182
  content?: string | undefined;
1191
1183
  } | {
@@ -1194,10 +1186,18 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1194
1186
  content?: string | undefined;
1195
1187
  target?: string | undefined;
1196
1188
  })[] | undefined;
1189
+ tailwind?: {
1190
+ config?: {
1191
+ content?: string[] | undefined;
1192
+ theme?: Record<string, any> | undefined;
1193
+ plugins?: string[] | undefined;
1194
+ } | undefined;
1195
+ } | undefined;
1197
1196
  cssVars?: Record<string, {
1198
1197
  light?: Record<string, string> | undefined;
1199
1198
  dark?: Record<string, string> | undefined;
1200
1199
  }> | undefined;
1200
+ css?: Record<string, any> | undefined;
1201
1201
  envVars?: Record<string, string> | undefined;
1202
1202
  meta?: Record<string, any> | undefined;
1203
1203
  docs?: string | undefined;
@@ -1210,13 +1210,13 @@ declare function getItemTargetPath(config: Config, item: Pick<z.infer<typeof reg
1210
1210
  declare function getPresets(options?: {
1211
1211
  useCache?: boolean;
1212
1212
  }): Promise<{
1213
- iconLibrary: string;
1214
- menuColor: "default" | "inverted";
1215
- menuAccent: "subtle" | "bold";
1216
- theme: string;
1217
1213
  name: string;
1218
1214
  title: string;
1219
1215
  description: string;
1216
+ theme: string;
1217
+ iconLibrary: string;
1218
+ menuColor: "default" | "inverted";
1219
+ menuAccent: "subtle" | "bold";
1220
1220
  fontVariant: string;
1221
1221
  neutralTheme: string;
1222
1222
  item?: string | undefined;
@@ -1224,13 +1224,13 @@ declare function getPresets(options?: {
1224
1224
  declare function getPreset(name: string, options?: {
1225
1225
  useCache?: boolean;
1226
1226
  }): Promise<{
1227
- iconLibrary: string;
1228
- menuColor: "default" | "inverted";
1229
- menuAccent: "subtle" | "bold";
1230
- theme: string;
1231
1227
  name: string;
1232
1228
  title: string;
1233
1229
  description: string;
1230
+ theme: string;
1231
+ iconLibrary: string;
1232
+ menuColor: "default" | "inverted";
1233
+ menuAccent: "subtle" | "bold";
1234
1234
  fontVariant: string;
1235
1235
  neutralTheme: string;
1236
1236
  item?: string | undefined;