shadcn-vue 2.7.1 → 2.7.2

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.
Files changed (33) hide show
  1. package/dist/{api-910oujEW.d.ts → api-DIv5FGuT.d.ts} +205 -166
  2. package/dist/api-DIv5FGuT.d.ts.map +1 -0
  3. package/dist/{get-config-HtUBua2Z.d.ts → get-config-BRAQ-Tnk.d.ts} +2 -2
  4. package/dist/get-config-BRAQ-Tnk.d.ts.map +1 -0
  5. package/dist/icons/index.d.ts.map +1 -1
  6. package/dist/{index-DlppMkfr.d.ts → index-VbcDxT_d.d.ts} +341 -341
  7. package/dist/{index-DlppMkfr.d.ts.map → index-VbcDxT_d.d.ts.map} +1 -1
  8. package/dist/index.d.ts +3 -3
  9. package/dist/index.js +5 -5
  10. package/dist/index.js.map +1 -1
  11. package/dist/mcp/index.js +3 -3
  12. package/dist/{mcp-CLEmWRoA.js → mcp-DTXGTqSC.js} +2 -2
  13. package/dist/{mcp-CLEmWRoA.js.map → mcp-DTXGTqSC.js.map} +1 -1
  14. package/dist/preset/index.d.ts +3 -3
  15. package/dist/preset/index.d.ts.map +1 -1
  16. package/dist/preset/index.js +1 -1
  17. package/dist/{preset-DK0fGW7r.js → preset-ByCdjgEv.js} +5 -3
  18. package/dist/preset-ByCdjgEv.js.map +1 -0
  19. package/dist/registry/index.d.ts +3 -3
  20. package/dist/registry/index.js +2 -2
  21. package/dist/{registry-CWYPYAA2.js → registry-AuS-7q5e.js} +29 -5
  22. package/dist/registry-AuS-7q5e.js.map +1 -0
  23. package/dist/schema/index.d.ts +1 -1
  24. package/dist/{transform-menu-CdBnB1yA.js → transform-menu-CrSgzEag.js} +23 -2
  25. package/dist/transform-menu-CrSgzEag.js.map +1 -0
  26. package/dist/utils/index.d.ts +2 -2
  27. package/dist/utils/index.js +1 -1
  28. package/package.json +2 -2
  29. package/dist/api-910oujEW.d.ts.map +0 -1
  30. package/dist/get-config-HtUBua2Z.d.ts.map +0 -1
  31. package/dist/preset-DK0fGW7r.js.map +0 -1
  32. package/dist/registry-CWYPYAA2.js.map +0 -1
  33. package/dist/transform-menu-CdBnB1yA.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { C as registryItemSchema, g as registryIndexSchema } from "./index-DlppMkfr.js";
2
- import { t as Config } from "./get-config-HtUBua2Z.js";
1
+ import { C as registryItemSchema, g as registryIndexSchema } from "./index-VbcDxT_d.js";
2
+ import { t as Config } from "./get-config-BRAQ-Tnk.js";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/registry/api.d.ts
@@ -20,6 +20,7 @@ declare function getRegistry(name: string, options?: {
20
20
  menuAccent?: "subtle" | "bold" | undefined;
21
21
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
22
22
  $schema?: string | undefined;
23
+ typescript?: boolean | undefined;
23
24
  tailwind?: {
24
25
  config?: string | undefined;
25
26
  baseColor?: string | undefined;
@@ -27,7 +28,6 @@ declare function getRegistry(name: string, options?: {
27
28
  cssVariables?: boolean | undefined;
28
29
  prefix?: string | undefined;
29
30
  } | undefined;
30
- typescript?: boolean | undefined;
31
31
  rtl?: boolean | undefined;
32
32
  pointer?: boolean | undefined;
33
33
  aliases?: {
@@ -46,6 +46,14 @@ declare function getRegistry(name: string, options?: {
46
46
  } | undefined;
47
47
  title?: string | undefined;
48
48
  $schema?: string | undefined;
49
+ tailwind?: {
50
+ config?: {
51
+ theme?: Record<string, any> | undefined;
52
+ content?: string[] | undefined;
53
+ plugins?: string[] | undefined;
54
+ } | undefined;
55
+ } | undefined;
56
+ css?: Record<string, any> | undefined;
49
57
  extends?: string | undefined;
50
58
  author?: string | undefined;
51
59
  description?: string | undefined;
@@ -54,7 +62,7 @@ declare function getRegistry(name: string, options?: {
54
62
  registryDependencies?: string[] | undefined;
55
63
  files?: ({
56
64
  path: string;
57
- type: "registry:file" | "registry:page";
65
+ type: "registry:page" | "registry:file";
58
66
  target: string;
59
67
  content?: string | undefined;
60
68
  } | {
@@ -63,19 +71,11 @@ declare function getRegistry(name: string, options?: {
63
71
  content?: string | undefined;
64
72
  target?: string | undefined;
65
73
  })[] | undefined;
66
- tailwind?: {
67
- config?: {
68
- theme?: Record<string, any> | undefined;
69
- content?: string[] | undefined;
70
- plugins?: string[] | undefined;
71
- } | undefined;
72
- } | undefined;
73
74
  cssVars?: {
74
75
  theme?: Record<string, string> | undefined;
75
76
  light?: Record<string, string> | undefined;
76
77
  dark?: Record<string, string> | undefined;
77
78
  } | undefined;
78
- css?: Record<string, any> | undefined;
79
79
  envVars?: Record<string, string> | undefined;
80
80
  meta?: Record<string, any> | undefined;
81
81
  docs?: string | undefined;
@@ -93,6 +93,14 @@ declare function getRegistry(name: string, options?: {
93
93
  type: "registry:font";
94
94
  title?: string | undefined;
95
95
  $schema?: string | undefined;
96
+ tailwind?: {
97
+ config?: {
98
+ theme?: Record<string, any> | undefined;
99
+ content?: string[] | undefined;
100
+ plugins?: string[] | undefined;
101
+ } | undefined;
102
+ } | undefined;
103
+ css?: Record<string, any> | undefined;
96
104
  extends?: string | undefined;
97
105
  author?: string | undefined;
98
106
  description?: string | undefined;
@@ -101,7 +109,7 @@ declare function getRegistry(name: string, options?: {
101
109
  registryDependencies?: string[] | undefined;
102
110
  files?: ({
103
111
  path: string;
104
- type: "registry:file" | "registry:page";
112
+ type: "registry:page" | "registry:file";
105
113
  target: string;
106
114
  content?: string | undefined;
107
115
  } | {
@@ -110,28 +118,28 @@ declare function getRegistry(name: string, options?: {
110
118
  content?: string | undefined;
111
119
  target?: string | undefined;
112
120
  })[] | undefined;
113
- tailwind?: {
114
- config?: {
115
- theme?: Record<string, any> | undefined;
116
- content?: string[] | undefined;
117
- plugins?: string[] | undefined;
118
- } | undefined;
119
- } | undefined;
120
121
  cssVars?: {
121
122
  theme?: Record<string, string> | undefined;
122
123
  light?: Record<string, string> | undefined;
123
124
  dark?: Record<string, string> | undefined;
124
125
  } | undefined;
125
- css?: Record<string, any> | undefined;
126
126
  envVars?: Record<string, string> | undefined;
127
127
  meta?: Record<string, any> | undefined;
128
128
  docs?: string | undefined;
129
129
  categories?: string[] | undefined;
130
130
  } | {
131
131
  name: string;
132
- type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
132
+ 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";
133
133
  title?: string | undefined;
134
134
  $schema?: string | undefined;
135
+ tailwind?: {
136
+ config?: {
137
+ theme?: Record<string, any> | undefined;
138
+ content?: string[] | undefined;
139
+ plugins?: string[] | undefined;
140
+ } | undefined;
141
+ } | undefined;
142
+ css?: Record<string, any> | undefined;
135
143
  extends?: string | undefined;
136
144
  author?: string | undefined;
137
145
  description?: string | undefined;
@@ -140,7 +148,7 @@ declare function getRegistry(name: string, options?: {
140
148
  registryDependencies?: string[] | undefined;
141
149
  files?: ({
142
150
  path: string;
143
- type: "registry:file" | "registry:page";
151
+ type: "registry:page" | "registry:file";
144
152
  target: string;
145
153
  content?: string | undefined;
146
154
  } | {
@@ -149,19 +157,11 @@ declare function getRegistry(name: string, options?: {
149
157
  content?: string | undefined;
150
158
  target?: string | undefined;
151
159
  })[] | undefined;
152
- tailwind?: {
153
- config?: {
154
- theme?: Record<string, any> | undefined;
155
- content?: string[] | undefined;
156
- plugins?: string[] | undefined;
157
- } | undefined;
158
- } | undefined;
159
160
  cssVars?: {
160
161
  theme?: Record<string, string> | undefined;
161
162
  light?: Record<string, string> | undefined;
162
163
  dark?: Record<string, string> | undefined;
163
164
  } | undefined;
164
- css?: Record<string, any> | undefined;
165
165
  envVars?: Record<string, string> | undefined;
166
166
  meta?: Record<string, any> | undefined;
167
167
  docs?: string | undefined;
@@ -182,6 +182,7 @@ declare function getRegistryItems(items: string[], options?: {
182
182
  menuAccent?: "subtle" | "bold" | undefined;
183
183
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
184
184
  $schema?: string | undefined;
185
+ typescript?: boolean | undefined;
185
186
  tailwind?: {
186
187
  config?: string | undefined;
187
188
  baseColor?: string | undefined;
@@ -189,7 +190,6 @@ declare function getRegistryItems(items: string[], options?: {
189
190
  cssVariables?: boolean | undefined;
190
191
  prefix?: string | undefined;
191
192
  } | undefined;
192
- typescript?: boolean | undefined;
193
193
  rtl?: boolean | undefined;
194
194
  pointer?: boolean | undefined;
195
195
  aliases?: {
@@ -208,6 +208,14 @@ declare function getRegistryItems(items: string[], options?: {
208
208
  } | undefined;
209
209
  title?: string | undefined;
210
210
  $schema?: string | undefined;
211
+ tailwind?: {
212
+ config?: {
213
+ theme?: Record<string, any> | undefined;
214
+ content?: string[] | undefined;
215
+ plugins?: string[] | undefined;
216
+ } | undefined;
217
+ } | undefined;
218
+ css?: Record<string, any> | undefined;
211
219
  extends?: string | undefined;
212
220
  author?: string | undefined;
213
221
  description?: string | undefined;
@@ -216,7 +224,7 @@ declare function getRegistryItems(items: string[], options?: {
216
224
  registryDependencies?: string[] | undefined;
217
225
  files?: ({
218
226
  path: string;
219
- type: "registry:file" | "registry:page";
227
+ type: "registry:page" | "registry:file";
220
228
  target: string;
221
229
  content?: string | undefined;
222
230
  } | {
@@ -225,19 +233,11 @@ declare function getRegistryItems(items: string[], options?: {
225
233
  content?: string | undefined;
226
234
  target?: string | undefined;
227
235
  })[] | undefined;
228
- tailwind?: {
229
- config?: {
230
- theme?: Record<string, any> | undefined;
231
- content?: string[] | undefined;
232
- plugins?: string[] | undefined;
233
- } | undefined;
234
- } | undefined;
235
236
  cssVars?: {
236
237
  theme?: Record<string, string> | undefined;
237
238
  light?: Record<string, string> | undefined;
238
239
  dark?: Record<string, string> | undefined;
239
240
  } | undefined;
240
- css?: Record<string, any> | undefined;
241
241
  envVars?: Record<string, string> | undefined;
242
242
  meta?: Record<string, any> | undefined;
243
243
  docs?: string | undefined;
@@ -255,6 +255,14 @@ declare function getRegistryItems(items: string[], options?: {
255
255
  type: "registry:font";
256
256
  title?: string | undefined;
257
257
  $schema?: string | undefined;
258
+ tailwind?: {
259
+ config?: {
260
+ theme?: Record<string, any> | undefined;
261
+ content?: string[] | undefined;
262
+ plugins?: string[] | undefined;
263
+ } | undefined;
264
+ } | undefined;
265
+ css?: Record<string, any> | undefined;
258
266
  extends?: string | undefined;
259
267
  author?: string | undefined;
260
268
  description?: string | undefined;
@@ -263,7 +271,7 @@ declare function getRegistryItems(items: string[], options?: {
263
271
  registryDependencies?: string[] | undefined;
264
272
  files?: ({
265
273
  path: string;
266
- type: "registry:file" | "registry:page";
274
+ type: "registry:page" | "registry:file";
267
275
  target: string;
268
276
  content?: string | undefined;
269
277
  } | {
@@ -272,28 +280,28 @@ declare function getRegistryItems(items: string[], options?: {
272
280
  content?: string | undefined;
273
281
  target?: string | undefined;
274
282
  })[] | undefined;
275
- tailwind?: {
276
- config?: {
277
- theme?: Record<string, any> | undefined;
278
- content?: string[] | undefined;
279
- plugins?: string[] | undefined;
280
- } | undefined;
281
- } | undefined;
282
283
  cssVars?: {
283
284
  theme?: Record<string, string> | undefined;
284
285
  light?: Record<string, string> | undefined;
285
286
  dark?: Record<string, string> | undefined;
286
287
  } | undefined;
287
- css?: Record<string, any> | undefined;
288
288
  envVars?: Record<string, string> | undefined;
289
289
  meta?: Record<string, any> | undefined;
290
290
  docs?: string | undefined;
291
291
  categories?: string[] | undefined;
292
292
  } | {
293
293
  name: string;
294
- type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
294
+ 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";
295
295
  title?: string | undefined;
296
296
  $schema?: string | undefined;
297
+ tailwind?: {
298
+ config?: {
299
+ theme?: Record<string, any> | undefined;
300
+ content?: string[] | undefined;
301
+ plugins?: string[] | undefined;
302
+ } | undefined;
303
+ } | undefined;
304
+ css?: Record<string, any> | undefined;
297
305
  extends?: string | undefined;
298
306
  author?: string | undefined;
299
307
  description?: string | undefined;
@@ -302,7 +310,7 @@ declare function getRegistryItems(items: string[], options?: {
302
310
  registryDependencies?: string[] | undefined;
303
311
  files?: ({
304
312
  path: string;
305
- type: "registry:file" | "registry:page";
313
+ type: "registry:page" | "registry:file";
306
314
  target: string;
307
315
  content?: string | undefined;
308
316
  } | {
@@ -311,19 +319,11 @@ declare function getRegistryItems(items: string[], options?: {
311
319
  content?: string | undefined;
312
320
  target?: string | undefined;
313
321
  })[] | undefined;
314
- tailwind?: {
315
- config?: {
316
- theme?: Record<string, any> | undefined;
317
- content?: string[] | undefined;
318
- plugins?: string[] | undefined;
319
- } | undefined;
320
- } | undefined;
321
322
  cssVars?: {
322
323
  theme?: Record<string, string> | undefined;
323
324
  light?: Record<string, string> | undefined;
324
325
  dark?: Record<string, string> | undefined;
325
326
  } | undefined;
326
- css?: Record<string, any> | undefined;
327
327
  envVars?: Record<string, string> | undefined;
328
328
  meta?: Record<string, any> | undefined;
329
329
  docs?: string | undefined;
@@ -333,11 +333,19 @@ declare function resolveRegistryItems(items: string[], options?: {
333
333
  config?: Partial<Config>;
334
334
  useCache?: boolean;
335
335
  }): Promise<{
336
+ tailwind?: {
337
+ config?: {
338
+ theme?: Record<string, any> | undefined;
339
+ content?: string[] | undefined;
340
+ plugins?: string[] | undefined;
341
+ } | undefined;
342
+ } | undefined;
343
+ css?: Record<string, any> | undefined;
336
344
  dependencies?: string[] | undefined;
337
345
  devDependencies?: string[] | undefined;
338
346
  files?: ({
339
347
  path: string;
340
- type: "registry:file" | "registry:page";
348
+ type: "registry:page" | "registry:file";
341
349
  target: string;
342
350
  content?: string | undefined;
343
351
  } | {
@@ -346,19 +354,11 @@ declare function resolveRegistryItems(items: string[], options?: {
346
354
  content?: string | undefined;
347
355
  target?: string | undefined;
348
356
  })[] | undefined;
349
- tailwind?: {
350
- config?: {
351
- theme?: Record<string, any> | undefined;
352
- content?: string[] | undefined;
353
- plugins?: string[] | undefined;
354
- } | undefined;
355
- } | undefined;
356
357
  cssVars?: {
357
358
  theme?: Record<string, string> | undefined;
358
359
  light?: Record<string, string> | undefined;
359
360
  dark?: Record<string, string> | undefined;
360
361
  } | undefined;
361
- css?: Record<string, any> | undefined;
362
362
  envVars?: Record<string, string> | undefined;
363
363
  docs?: string | undefined;
364
364
  fonts?: {
@@ -374,6 +374,14 @@ declare function resolveRegistryItems(items: string[], options?: {
374
374
  type: "registry:font";
375
375
  title?: string | undefined;
376
376
  $schema?: string | undefined;
377
+ tailwind?: {
378
+ config?: {
379
+ theme?: Record<string, any> | undefined;
380
+ content?: string[] | undefined;
381
+ plugins?: string[] | undefined;
382
+ } | undefined;
383
+ } | undefined;
384
+ css?: Record<string, any> | undefined;
377
385
  extends?: string | undefined;
378
386
  author?: string | undefined;
379
387
  description?: string | undefined;
@@ -382,7 +390,7 @@ declare function resolveRegistryItems(items: string[], options?: {
382
390
  registryDependencies?: string[] | undefined;
383
391
  files?: ({
384
392
  path: string;
385
- type: "registry:file" | "registry:page";
393
+ type: "registry:page" | "registry:file";
386
394
  target: string;
387
395
  content?: string | undefined;
388
396
  } | {
@@ -391,19 +399,11 @@ declare function resolveRegistryItems(items: string[], options?: {
391
399
  content?: string | undefined;
392
400
  target?: string | undefined;
393
401
  })[] | undefined;
394
- tailwind?: {
395
- config?: {
396
- theme?: Record<string, any> | undefined;
397
- content?: string[] | undefined;
398
- plugins?: string[] | undefined;
399
- } | undefined;
400
- } | undefined;
401
402
  cssVars?: {
402
403
  theme?: Record<string, string> | undefined;
403
404
  light?: Record<string, string> | undefined;
404
405
  dark?: Record<string, string> | undefined;
405
406
  } | undefined;
406
- css?: Record<string, any> | undefined;
407
407
  envVars?: Record<string, string> | undefined;
408
408
  meta?: Record<string, any> | undefined;
409
409
  docs?: string | undefined;
@@ -428,6 +428,7 @@ declare function getShadcnRegistryIndex(): Promise<({
428
428
  menuAccent?: "subtle" | "bold" | undefined;
429
429
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
430
430
  $schema?: string | undefined;
431
+ typescript?: boolean | undefined;
431
432
  tailwind?: {
432
433
  config?: string | undefined;
433
434
  baseColor?: string | undefined;
@@ -435,7 +436,6 @@ declare function getShadcnRegistryIndex(): Promise<({
435
436
  cssVariables?: boolean | undefined;
436
437
  prefix?: string | undefined;
437
438
  } | undefined;
438
- typescript?: boolean | undefined;
439
439
  rtl?: boolean | undefined;
440
440
  pointer?: boolean | undefined;
441
441
  aliases?: {
@@ -454,6 +454,14 @@ declare function getShadcnRegistryIndex(): Promise<({
454
454
  } | undefined;
455
455
  title?: string | undefined;
456
456
  $schema?: string | undefined;
457
+ tailwind?: {
458
+ config?: {
459
+ theme?: Record<string, any> | undefined;
460
+ content?: string[] | undefined;
461
+ plugins?: string[] | undefined;
462
+ } | undefined;
463
+ } | undefined;
464
+ css?: Record<string, any> | undefined;
457
465
  extends?: string | undefined;
458
466
  author?: string | undefined;
459
467
  description?: string | undefined;
@@ -462,7 +470,7 @@ declare function getShadcnRegistryIndex(): Promise<({
462
470
  registryDependencies?: string[] | undefined;
463
471
  files?: ({
464
472
  path: string;
465
- type: "registry:file" | "registry:page";
473
+ type: "registry:page" | "registry:file";
466
474
  target: string;
467
475
  content?: string | undefined;
468
476
  } | {
@@ -471,19 +479,11 @@ declare function getShadcnRegistryIndex(): Promise<({
471
479
  content?: string | undefined;
472
480
  target?: string | undefined;
473
481
  })[] | undefined;
474
- tailwind?: {
475
- config?: {
476
- theme?: Record<string, any> | undefined;
477
- content?: string[] | undefined;
478
- plugins?: string[] | undefined;
479
- } | undefined;
480
- } | undefined;
481
482
  cssVars?: {
482
483
  theme?: Record<string, string> | undefined;
483
484
  light?: Record<string, string> | undefined;
484
485
  dark?: Record<string, string> | undefined;
485
486
  } | undefined;
486
- css?: Record<string, any> | undefined;
487
487
  envVars?: Record<string, string> | undefined;
488
488
  meta?: Record<string, any> | undefined;
489
489
  docs?: string | undefined;
@@ -501,6 +501,14 @@ declare function getShadcnRegistryIndex(): Promise<({
501
501
  type: "registry:font";
502
502
  title?: string | undefined;
503
503
  $schema?: string | undefined;
504
+ tailwind?: {
505
+ config?: {
506
+ theme?: Record<string, any> | undefined;
507
+ content?: string[] | undefined;
508
+ plugins?: string[] | undefined;
509
+ } | undefined;
510
+ } | undefined;
511
+ css?: Record<string, any> | undefined;
504
512
  extends?: string | undefined;
505
513
  author?: string | undefined;
506
514
  description?: string | undefined;
@@ -509,7 +517,7 @@ declare function getShadcnRegistryIndex(): Promise<({
509
517
  registryDependencies?: string[] | undefined;
510
518
  files?: ({
511
519
  path: string;
512
- type: "registry:file" | "registry:page";
520
+ type: "registry:page" | "registry:file";
513
521
  target: string;
514
522
  content?: string | undefined;
515
523
  } | {
@@ -518,28 +526,28 @@ declare function getShadcnRegistryIndex(): Promise<({
518
526
  content?: string | undefined;
519
527
  target?: string | undefined;
520
528
  })[] | undefined;
521
- tailwind?: {
522
- config?: {
523
- theme?: Record<string, any> | undefined;
524
- content?: string[] | undefined;
525
- plugins?: string[] | undefined;
526
- } | undefined;
527
- } | undefined;
528
529
  cssVars?: {
529
530
  theme?: Record<string, string> | undefined;
530
531
  light?: Record<string, string> | undefined;
531
532
  dark?: Record<string, string> | undefined;
532
533
  } | undefined;
533
- css?: Record<string, any> | undefined;
534
534
  envVars?: Record<string, string> | undefined;
535
535
  meta?: Record<string, any> | undefined;
536
536
  docs?: string | undefined;
537
537
  categories?: string[] | undefined;
538
538
  } | {
539
539
  name: string;
540
- type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
540
+ 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";
541
541
  title?: string | undefined;
542
542
  $schema?: string | undefined;
543
+ tailwind?: {
544
+ config?: {
545
+ theme?: Record<string, any> | undefined;
546
+ content?: string[] | undefined;
547
+ plugins?: string[] | undefined;
548
+ } | undefined;
549
+ } | undefined;
550
+ css?: Record<string, any> | undefined;
543
551
  extends?: string | undefined;
544
552
  author?: string | undefined;
545
553
  description?: string | undefined;
@@ -548,7 +556,7 @@ declare function getShadcnRegistryIndex(): Promise<({
548
556
  registryDependencies?: string[] | undefined;
549
557
  files?: ({
550
558
  path: string;
551
- type: "registry:file" | "registry:page";
559
+ type: "registry:page" | "registry:file";
552
560
  target: string;
553
561
  content?: string | undefined;
554
562
  } | {
@@ -557,19 +565,11 @@ declare function getShadcnRegistryIndex(): Promise<({
557
565
  content?: string | undefined;
558
566
  target?: string | undefined;
559
567
  })[] | undefined;
560
- tailwind?: {
561
- config?: {
562
- theme?: Record<string, any> | undefined;
563
- content?: string[] | undefined;
564
- plugins?: string[] | undefined;
565
- } | undefined;
566
- } | undefined;
567
568
  cssVars?: {
568
569
  theme?: Record<string, string> | undefined;
569
570
  light?: Record<string, string> | undefined;
570
571
  dark?: Record<string, string> | undefined;
571
572
  } | undefined;
572
- css?: Record<string, any> | undefined;
573
573
  envVars?: Record<string, string> | undefined;
574
574
  meta?: Record<string, any> | undefined;
575
575
  docs?: string | undefined;
@@ -638,6 +638,10 @@ declare function getRegistryVisualStyles(): readonly [{
638
638
  readonly name: "luma";
639
639
  readonly label: "Luma";
640
640
  readonly description: "Fluid, luminous, and glassy.";
641
+ }, {
642
+ readonly name: "sera";
643
+ readonly label: "Sera";
644
+ readonly description: "Editorial and typographic.";
641
645
  }];
642
646
  /**
643
647
  * Get available icon libraries.
@@ -754,6 +758,14 @@ declare function getRegistryFonts(): readonly [{
754
758
  readonly import: "@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');";
755
759
  readonly variable: "--font-mono";
756
760
  readonly weight: readonly ["400", "500", "600", "700"];
761
+ }, {
762
+ readonly name: "playfair-display";
763
+ readonly label: "Playfair Display";
764
+ readonly family: "Playfair Display";
765
+ readonly provider: "google";
766
+ readonly import: "@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');";
767
+ readonly variable: "--font-serif";
768
+ readonly weight: readonly ["400", "500", "600", "700", "800", "900"];
757
769
  }];
758
770
  /**
759
771
  * Get a specific base by name.
@@ -791,6 +803,10 @@ declare function getRegistryVisualStyle(name: string): {
791
803
  readonly name: "luma";
792
804
  readonly label: "Luma";
793
805
  readonly description: "Fluid, luminous, and glassy.";
806
+ } | {
807
+ readonly name: "sera";
808
+ readonly label: "Sera";
809
+ readonly description: "Editorial and typographic.";
794
810
  } | undefined;
795
811
  /**
796
812
  * Get a specific icon library by name.
@@ -907,6 +923,14 @@ declare function getRegistryFont(name: string): {
907
923
  readonly import: "@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');";
908
924
  readonly variable: "--font-mono";
909
925
  readonly weight: readonly ["400", "500", "600", "700"];
926
+ } | {
927
+ readonly name: "playfair-display";
928
+ readonly label: "Playfair Display";
929
+ readonly family: "Playfair Display";
930
+ readonly provider: "google";
931
+ readonly import: "@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');";
932
+ readonly variable: "--font-serif";
933
+ readonly weight: readonly ["400", "500", "600", "700", "800", "900"];
910
934
  } | undefined;
911
935
  /**
912
936
  * Get available presets (predefined combinations of base, style, icons, and font).
@@ -1001,6 +1025,21 @@ declare function getRegistryPresets(): ({
1001
1025
  radius: string;
1002
1026
  rtl: boolean;
1003
1027
  name: string;
1028
+ } | {
1029
+ title: string;
1030
+ description: string;
1031
+ base: string;
1032
+ style: string;
1033
+ baseColor: string;
1034
+ theme: string;
1035
+ iconLibrary: string;
1036
+ font: string;
1037
+ fontHeading: string;
1038
+ menuAccent: "subtle";
1039
+ menuColor: "default";
1040
+ radius: string;
1041
+ rtl: boolean;
1042
+ name: string;
1004
1043
  })[];
1005
1044
  /**
1006
1045
  * Get a specific preset by name.
@@ -1053,6 +1092,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1053
1092
  menuAccent?: "subtle" | "bold" | undefined;
1054
1093
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
1055
1094
  $schema?: string | undefined;
1095
+ typescript?: boolean | undefined;
1056
1096
  tailwind?: {
1057
1097
  config?: string | undefined;
1058
1098
  baseColor?: string | undefined;
@@ -1060,7 +1100,6 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1060
1100
  cssVariables?: boolean | undefined;
1061
1101
  prefix?: string | undefined;
1062
1102
  } | undefined;
1063
- typescript?: boolean | undefined;
1064
1103
  rtl?: boolean | undefined;
1065
1104
  pointer?: boolean | undefined;
1066
1105
  aliases?: {
@@ -1079,6 +1118,14 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1079
1118
  } | undefined;
1080
1119
  title?: string | undefined;
1081
1120
  $schema?: string | undefined;
1121
+ tailwind?: {
1122
+ config?: {
1123
+ theme?: Record<string, any> | undefined;
1124
+ content?: string[] | undefined;
1125
+ plugins?: string[] | undefined;
1126
+ } | undefined;
1127
+ } | undefined;
1128
+ css?: Record<string, any> | undefined;
1082
1129
  extends?: string | undefined;
1083
1130
  author?: string | undefined;
1084
1131
  description?: string | undefined;
@@ -1087,7 +1134,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1087
1134
  registryDependencies?: string[] | undefined;
1088
1135
  files?: ({
1089
1136
  path: string;
1090
- type: "registry:file" | "registry:page";
1137
+ type: "registry:page" | "registry:file";
1091
1138
  target: string;
1092
1139
  content?: string | undefined;
1093
1140
  } | {
@@ -1096,19 +1143,11 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1096
1143
  content?: string | undefined;
1097
1144
  target?: string | undefined;
1098
1145
  })[] | undefined;
1099
- tailwind?: {
1100
- config?: {
1101
- theme?: Record<string, any> | undefined;
1102
- content?: string[] | undefined;
1103
- plugins?: string[] | undefined;
1104
- } | undefined;
1105
- } | undefined;
1106
1146
  cssVars?: {
1107
1147
  theme?: Record<string, string> | undefined;
1108
1148
  light?: Record<string, string> | undefined;
1109
1149
  dark?: Record<string, string> | undefined;
1110
1150
  } | undefined;
1111
- css?: Record<string, any> | undefined;
1112
1151
  envVars?: Record<string, string> | undefined;
1113
1152
  meta?: Record<string, any> | undefined;
1114
1153
  docs?: string | undefined;
@@ -1126,6 +1165,14 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1126
1165
  type: "registry:font";
1127
1166
  title?: string | undefined;
1128
1167
  $schema?: string | undefined;
1168
+ tailwind?: {
1169
+ config?: {
1170
+ theme?: Record<string, any> | undefined;
1171
+ content?: string[] | undefined;
1172
+ plugins?: string[] | undefined;
1173
+ } | undefined;
1174
+ } | undefined;
1175
+ css?: Record<string, any> | undefined;
1129
1176
  extends?: string | undefined;
1130
1177
  author?: string | undefined;
1131
1178
  description?: string | undefined;
@@ -1134,7 +1181,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1134
1181
  registryDependencies?: string[] | undefined;
1135
1182
  files?: ({
1136
1183
  path: string;
1137
- type: "registry:file" | "registry:page";
1184
+ type: "registry:page" | "registry:file";
1138
1185
  target: string;
1139
1186
  content?: string | undefined;
1140
1187
  } | {
@@ -1143,28 +1190,28 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1143
1190
  content?: string | undefined;
1144
1191
  target?: string | undefined;
1145
1192
  })[] | undefined;
1146
- tailwind?: {
1147
- config?: {
1148
- theme?: Record<string, any> | undefined;
1149
- content?: string[] | undefined;
1150
- plugins?: string[] | undefined;
1151
- } | undefined;
1152
- } | undefined;
1153
1193
  cssVars?: {
1154
1194
  theme?: Record<string, string> | undefined;
1155
1195
  light?: Record<string, string> | undefined;
1156
1196
  dark?: Record<string, string> | undefined;
1157
1197
  } | undefined;
1158
- css?: Record<string, any> | undefined;
1159
1198
  envVars?: Record<string, string> | undefined;
1160
1199
  meta?: Record<string, any> | undefined;
1161
1200
  docs?: string | undefined;
1162
1201
  categories?: string[] | undefined;
1163
1202
  } | {
1164
1203
  name: string;
1165
- type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1204
+ 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";
1166
1205
  title?: string | undefined;
1167
1206
  $schema?: string | undefined;
1207
+ tailwind?: {
1208
+ config?: {
1209
+ theme?: Record<string, any> | undefined;
1210
+ content?: string[] | undefined;
1211
+ plugins?: string[] | undefined;
1212
+ } | undefined;
1213
+ } | undefined;
1214
+ css?: Record<string, any> | undefined;
1168
1215
  extends?: string | undefined;
1169
1216
  author?: string | undefined;
1170
1217
  description?: string | undefined;
@@ -1173,7 +1220,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1173
1220
  registryDependencies?: string[] | undefined;
1174
1221
  files?: ({
1175
1222
  path: string;
1176
- type: "registry:file" | "registry:page";
1223
+ type: "registry:page" | "registry:file";
1177
1224
  target: string;
1178
1225
  content?: string | undefined;
1179
1226
  } | {
@@ -1182,19 +1229,11 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1182
1229
  content?: string | undefined;
1183
1230
  target?: string | undefined;
1184
1231
  })[] | undefined;
1185
- tailwind?: {
1186
- config?: {
1187
- theme?: Record<string, any> | undefined;
1188
- content?: string[] | undefined;
1189
- plugins?: string[] | undefined;
1190
- } | undefined;
1191
- } | undefined;
1192
1232
  cssVars?: {
1193
1233
  theme?: Record<string, string> | undefined;
1194
1234
  light?: Record<string, string> | undefined;
1195
1235
  dark?: Record<string, string> | undefined;
1196
1236
  } | undefined;
1197
- css?: Record<string, any> | undefined;
1198
1237
  envVars?: Record<string, string> | undefined;
1199
1238
  meta?: Record<string, any> | undefined;
1200
1239
  docs?: string | undefined;
@@ -1214,6 +1253,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1214
1253
  menuAccent?: "subtle" | "bold" | undefined;
1215
1254
  menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
1216
1255
  $schema?: string | undefined;
1256
+ typescript?: boolean | undefined;
1217
1257
  tailwind?: {
1218
1258
  config?: string | undefined;
1219
1259
  baseColor?: string | undefined;
@@ -1221,7 +1261,6 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1221
1261
  cssVariables?: boolean | undefined;
1222
1262
  prefix?: string | undefined;
1223
1263
  } | undefined;
1224
- typescript?: boolean | undefined;
1225
1264
  rtl?: boolean | undefined;
1226
1265
  pointer?: boolean | undefined;
1227
1266
  aliases?: {
@@ -1240,6 +1279,14 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1240
1279
  } | undefined;
1241
1280
  title?: string | undefined;
1242
1281
  $schema?: string | undefined;
1282
+ tailwind?: {
1283
+ config?: {
1284
+ theme?: Record<string, any> | undefined;
1285
+ content?: string[] | undefined;
1286
+ plugins?: string[] | undefined;
1287
+ } | undefined;
1288
+ } | undefined;
1289
+ css?: Record<string, any> | undefined;
1243
1290
  extends?: string | undefined;
1244
1291
  author?: string | undefined;
1245
1292
  description?: string | undefined;
@@ -1248,7 +1295,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1248
1295
  registryDependencies?: string[] | undefined;
1249
1296
  files?: ({
1250
1297
  path: string;
1251
- type: "registry:file" | "registry:page";
1298
+ type: "registry:page" | "registry:file";
1252
1299
  target: string;
1253
1300
  content?: string | undefined;
1254
1301
  } | {
@@ -1257,19 +1304,11 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1257
1304
  content?: string | undefined;
1258
1305
  target?: string | undefined;
1259
1306
  })[] | undefined;
1260
- tailwind?: {
1261
- config?: {
1262
- theme?: Record<string, any> | undefined;
1263
- content?: string[] | undefined;
1264
- plugins?: string[] | undefined;
1265
- } | undefined;
1266
- } | undefined;
1267
1307
  cssVars?: {
1268
1308
  theme?: Record<string, string> | undefined;
1269
1309
  light?: Record<string, string> | undefined;
1270
1310
  dark?: Record<string, string> | undefined;
1271
1311
  } | undefined;
1272
- css?: Record<string, any> | undefined;
1273
1312
  envVars?: Record<string, string> | undefined;
1274
1313
  meta?: Record<string, any> | undefined;
1275
1314
  docs?: string | undefined;
@@ -1287,6 +1326,14 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1287
1326
  type: "registry:font";
1288
1327
  title?: string | undefined;
1289
1328
  $schema?: string | undefined;
1329
+ tailwind?: {
1330
+ config?: {
1331
+ theme?: Record<string, any> | undefined;
1332
+ content?: string[] | undefined;
1333
+ plugins?: string[] | undefined;
1334
+ } | undefined;
1335
+ } | undefined;
1336
+ css?: Record<string, any> | undefined;
1290
1337
  extends?: string | undefined;
1291
1338
  author?: string | undefined;
1292
1339
  description?: string | undefined;
@@ -1295,7 +1342,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1295
1342
  registryDependencies?: string[] | undefined;
1296
1343
  files?: ({
1297
1344
  path: string;
1298
- type: "registry:file" | "registry:page";
1345
+ type: "registry:page" | "registry:file";
1299
1346
  target: string;
1300
1347
  content?: string | undefined;
1301
1348
  } | {
@@ -1304,28 +1351,28 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1304
1351
  content?: string | undefined;
1305
1352
  target?: string | undefined;
1306
1353
  })[] | undefined;
1307
- tailwind?: {
1308
- config?: {
1309
- theme?: Record<string, any> | undefined;
1310
- content?: string[] | undefined;
1311
- plugins?: string[] | undefined;
1312
- } | undefined;
1313
- } | undefined;
1314
1354
  cssVars?: {
1315
1355
  theme?: Record<string, string> | undefined;
1316
1356
  light?: Record<string, string> | undefined;
1317
1357
  dark?: Record<string, string> | undefined;
1318
1358
  } | undefined;
1319
- css?: Record<string, any> | undefined;
1320
1359
  envVars?: Record<string, string> | undefined;
1321
1360
  meta?: Record<string, any> | undefined;
1322
1361
  docs?: string | undefined;
1323
1362
  categories?: string[] | undefined;
1324
1363
  } | {
1325
1364
  name: string;
1326
- type: "registry:file" | "registry:page" | "registry:lib" | "registry:block" | "registry:component" | "registry:ui" | "registry:hook" | "registry:composable" | "registry:theme" | "registry:style" | "registry:item" | "registry:example" | "registry:internal";
1365
+ 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";
1327
1366
  title?: string | undefined;
1328
1367
  $schema?: string | undefined;
1368
+ tailwind?: {
1369
+ config?: {
1370
+ theme?: Record<string, any> | undefined;
1371
+ content?: string[] | undefined;
1372
+ plugins?: string[] | undefined;
1373
+ } | undefined;
1374
+ } | undefined;
1375
+ css?: Record<string, any> | undefined;
1329
1376
  extends?: string | undefined;
1330
1377
  author?: string | undefined;
1331
1378
  description?: string | undefined;
@@ -1334,7 +1381,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1334
1381
  registryDependencies?: string[] | undefined;
1335
1382
  files?: ({
1336
1383
  path: string;
1337
- type: "registry:file" | "registry:page";
1384
+ type: "registry:page" | "registry:file";
1338
1385
  target: string;
1339
1386
  content?: string | undefined;
1340
1387
  } | {
@@ -1343,19 +1390,11 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1343
1390
  content?: string | undefined;
1344
1391
  target?: string | undefined;
1345
1392
  })[] | undefined;
1346
- tailwind?: {
1347
- config?: {
1348
- theme?: Record<string, any> | undefined;
1349
- content?: string[] | undefined;
1350
- plugins?: string[] | undefined;
1351
- } | undefined;
1352
- } | undefined;
1353
1393
  cssVars?: {
1354
1394
  theme?: Record<string, string> | undefined;
1355
1395
  light?: Record<string, string> | undefined;
1356
1396
  dark?: Record<string, string> | undefined;
1357
1397
  } | undefined;
1358
- css?: Record<string, any> | undefined;
1359
1398
  envVars?: Record<string, string> | undefined;
1360
1399
  meta?: Record<string, any> | undefined;
1361
1400
  docs?: string | undefined;
@@ -1370,4 +1409,4 @@ declare function getRegistriesIndex(options?: {
1370
1409
  }): Promise<Record<string, string>>;
1371
1410
  //#endregion
1372
1411
  export { resolveTree as C, resolveRegistryItems as S, getRegistryPresets as _, getRegistry as a, getRegistryVisualStyles as b, getRegistryBaseColors as c, getRegistryFonts as d, getRegistryIconLibraries as f, getRegistryPreset as g, getRegistryItems as h, getRegistriesIndex as i, getRegistryBases as l, getRegistryIcons as m, getItemTargetPath as n, getRegistryBase as o, getRegistryIconLibrary as p, getRegistriesConfig as r, getRegistryBaseColor as s, fetchTree as t, getRegistryFont as u, getRegistryStyles as v, getShadcnRegistryIndex as x, getRegistryVisualStyle as y };
1373
- //# sourceMappingURL=api-910oujEW.d.ts.map
1412
+ //# sourceMappingURL=api-DIv5FGuT.d.ts.map