shadcn-vue 2.7.1 → 2.7.3

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 (34) hide show
  1. package/dist/{api-910oujEW.d.ts → api-NAcKnNvm.d.ts} +117 -78
  2. package/dist/api-NAcKnNvm.d.ts.map +1 -0
  3. package/dist/{get-config-HtUBua2Z.d.ts → get-config-B1tCxA_s.d.ts} +2 -2
  4. package/dist/get-config-B1tCxA_s.d.ts.map +1 -0
  5. package/dist/{index-DlppMkfr.d.ts → index-BLb9Z9so.d.ts} +320 -320
  6. package/dist/index-BLb9Z9so.d.ts.map +1 -0
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.js +92 -30
  9. package/dist/index.js.map +1 -1
  10. package/dist/mcp/index.js +3 -3
  11. package/dist/{mcp-CLEmWRoA.js → mcp-DTXGTqSC.js} +2 -2
  12. package/dist/{mcp-CLEmWRoA.js.map → mcp-DTXGTqSC.js.map} +1 -1
  13. package/dist/preset/index.d.ts +3 -3
  14. package/dist/preset/index.d.ts.map +1 -1
  15. package/dist/preset/index.js +1 -1
  16. package/dist/{preset-DK0fGW7r.js → preset-ByCdjgEv.js} +5 -3
  17. package/dist/preset-ByCdjgEv.js.map +1 -0
  18. package/dist/registry/index.d.ts +9 -9
  19. package/dist/registry/index.d.ts.map +1 -1
  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 +3 -3
  29. package/dist/api-910oujEW.d.ts.map +0 -1
  30. package/dist/get-config-HtUBua2Z.d.ts.map +0 -1
  31. package/dist/index-DlppMkfr.d.ts.map +0 -1
  32. package/dist/preset-DK0fGW7r.js.map +0 -1
  33. package/dist/registry-CWYPYAA2.js.map +0 -1
  34. 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-BLb9Z9so.js";
2
+ import { t as Config } from "./get-config-B1tCxA_s.js";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/registry/api.d.ts
@@ -8,28 +8,27 @@ declare function getRegistry(name: string, options?: {
8
8
  useCache?: boolean;
9
9
  }): Promise<{
10
10
  name: string;
11
- homepage: string;
12
11
  items: ({
13
12
  name: string;
14
13
  type: "registry:base";
15
14
  config?: {
16
- style?: string | undefined;
17
- iconLibrary?: string | undefined;
18
- font?: string | undefined;
19
- fontHeading?: string | undefined;
20
- menuAccent?: "subtle" | "bold" | undefined;
21
- menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
22
15
  $schema?: string | undefined;
23
16
  tailwind?: {
24
17
  config?: string | undefined;
25
- baseColor?: string | undefined;
26
18
  css?: string | undefined;
19
+ baseColor?: string | undefined;
27
20
  cssVariables?: boolean | undefined;
28
21
  prefix?: string | undefined;
29
22
  } | undefined;
23
+ style?: string | undefined;
24
+ font?: string | undefined;
25
+ fontHeading?: string | undefined;
30
26
  typescript?: boolean | undefined;
27
+ iconLibrary?: string | undefined;
31
28
  rtl?: boolean | undefined;
32
29
  pointer?: boolean | undefined;
30
+ menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
31
+ menuAccent?: "subtle" | "bold" | undefined;
33
32
  aliases?: {
34
33
  components?: string | undefined;
35
34
  utils?: string | undefined;
@@ -45,10 +44,10 @@ declare function getRegistry(name: string, options?: {
45
44
  }> | undefined;
46
45
  } | undefined;
47
46
  title?: string | undefined;
47
+ description?: string | undefined;
48
48
  $schema?: string | undefined;
49
49
  extends?: string | undefined;
50
50
  author?: string | undefined;
51
- description?: string | undefined;
52
51
  dependencies?: string[] | undefined;
53
52
  devDependencies?: string[] | undefined;
54
53
  registryDependencies?: string[] | undefined;
@@ -65,8 +64,8 @@ declare function getRegistry(name: string, options?: {
65
64
  })[] | undefined;
66
65
  tailwind?: {
67
66
  config?: {
68
- theme?: Record<string, any> | undefined;
69
67
  content?: string[] | undefined;
68
+ theme?: Record<string, any> | undefined;
70
69
  plugins?: string[] | undefined;
71
70
  } | undefined;
72
71
  } | undefined;
@@ -82,6 +81,7 @@ declare function getRegistry(name: string, options?: {
82
81
  categories?: string[] | undefined;
83
82
  } | {
84
83
  name: string;
84
+ type: "registry:font";
85
85
  font: {
86
86
  family: string;
87
87
  provider: "google";
@@ -90,12 +90,11 @@ declare function getRegistry(name: string, options?: {
90
90
  weight?: string[] | undefined;
91
91
  subsets?: string[] | undefined;
92
92
  };
93
- type: "registry:font";
94
93
  title?: string | undefined;
94
+ description?: string | undefined;
95
95
  $schema?: string | undefined;
96
96
  extends?: string | undefined;
97
97
  author?: string | undefined;
98
- description?: string | undefined;
99
98
  dependencies?: string[] | undefined;
100
99
  devDependencies?: string[] | undefined;
101
100
  registryDependencies?: string[] | undefined;
@@ -112,8 +111,8 @@ declare function getRegistry(name: string, options?: {
112
111
  })[] | undefined;
113
112
  tailwind?: {
114
113
  config?: {
115
- theme?: Record<string, any> | undefined;
116
114
  content?: string[] | undefined;
115
+ theme?: Record<string, any> | undefined;
117
116
  plugins?: string[] | undefined;
118
117
  } | undefined;
119
118
  } | undefined;
@@ -131,10 +130,10 @@ declare function getRegistry(name: string, options?: {
131
130
  name: string;
132
131
  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";
133
132
  title?: string | undefined;
133
+ description?: string | undefined;
134
134
  $schema?: string | undefined;
135
135
  extends?: string | undefined;
136
136
  author?: string | undefined;
137
- description?: string | undefined;
138
137
  dependencies?: string[] | undefined;
139
138
  devDependencies?: string[] | undefined;
140
139
  registryDependencies?: string[] | undefined;
@@ -151,8 +150,8 @@ declare function getRegistry(name: string, options?: {
151
150
  })[] | undefined;
152
151
  tailwind?: {
153
152
  config?: {
154
- theme?: Record<string, any> | undefined;
155
153
  content?: string[] | undefined;
154
+ theme?: Record<string, any> | undefined;
156
155
  plugins?: string[] | undefined;
157
156
  } | undefined;
158
157
  } | undefined;
@@ -167,6 +166,7 @@ declare function getRegistry(name: string, options?: {
167
166
  docs?: string | undefined;
168
167
  categories?: string[] | undefined;
169
168
  })[];
169
+ homepage: string;
170
170
  }>;
171
171
  declare function getRegistryItems(items: string[], options?: {
172
172
  config?: Partial<Config>;
@@ -175,23 +175,23 @@ declare function getRegistryItems(items: string[], options?: {
175
175
  name: string;
176
176
  type: "registry:base";
177
177
  config?: {
178
- style?: string | undefined;
179
- iconLibrary?: string | undefined;
180
- font?: string | undefined;
181
- fontHeading?: string | undefined;
182
- menuAccent?: "subtle" | "bold" | undefined;
183
- menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
184
178
  $schema?: string | undefined;
185
179
  tailwind?: {
186
180
  config?: string | undefined;
187
- baseColor?: string | undefined;
188
181
  css?: string | undefined;
182
+ baseColor?: string | undefined;
189
183
  cssVariables?: boolean | undefined;
190
184
  prefix?: string | undefined;
191
185
  } | undefined;
186
+ style?: string | undefined;
187
+ font?: string | undefined;
188
+ fontHeading?: string | undefined;
192
189
  typescript?: boolean | undefined;
190
+ iconLibrary?: string | undefined;
193
191
  rtl?: boolean | undefined;
194
192
  pointer?: boolean | undefined;
193
+ menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
194
+ menuAccent?: "subtle" | "bold" | undefined;
195
195
  aliases?: {
196
196
  components?: string | undefined;
197
197
  utils?: string | undefined;
@@ -207,10 +207,10 @@ declare function getRegistryItems(items: string[], options?: {
207
207
  }> | undefined;
208
208
  } | undefined;
209
209
  title?: string | undefined;
210
+ description?: string | undefined;
210
211
  $schema?: string | undefined;
211
212
  extends?: string | undefined;
212
213
  author?: string | undefined;
213
- description?: string | undefined;
214
214
  dependencies?: string[] | undefined;
215
215
  devDependencies?: string[] | undefined;
216
216
  registryDependencies?: string[] | undefined;
@@ -227,8 +227,8 @@ declare function getRegistryItems(items: string[], options?: {
227
227
  })[] | undefined;
228
228
  tailwind?: {
229
229
  config?: {
230
- theme?: Record<string, any> | undefined;
231
230
  content?: string[] | undefined;
231
+ theme?: Record<string, any> | undefined;
232
232
  plugins?: string[] | undefined;
233
233
  } | undefined;
234
234
  } | undefined;
@@ -244,6 +244,7 @@ declare function getRegistryItems(items: string[], options?: {
244
244
  categories?: string[] | undefined;
245
245
  } | {
246
246
  name: string;
247
+ type: "registry:font";
247
248
  font: {
248
249
  family: string;
249
250
  provider: "google";
@@ -252,12 +253,11 @@ declare function getRegistryItems(items: string[], options?: {
252
253
  weight?: string[] | undefined;
253
254
  subsets?: string[] | undefined;
254
255
  };
255
- type: "registry:font";
256
256
  title?: string | undefined;
257
+ description?: string | undefined;
257
258
  $schema?: string | undefined;
258
259
  extends?: string | undefined;
259
260
  author?: string | undefined;
260
- description?: string | undefined;
261
261
  dependencies?: string[] | undefined;
262
262
  devDependencies?: string[] | undefined;
263
263
  registryDependencies?: string[] | undefined;
@@ -274,8 +274,8 @@ declare function getRegistryItems(items: string[], options?: {
274
274
  })[] | undefined;
275
275
  tailwind?: {
276
276
  config?: {
277
- theme?: Record<string, any> | undefined;
278
277
  content?: string[] | undefined;
278
+ theme?: Record<string, any> | undefined;
279
279
  plugins?: string[] | undefined;
280
280
  } | undefined;
281
281
  } | undefined;
@@ -293,10 +293,10 @@ declare function getRegistryItems(items: string[], options?: {
293
293
  name: string;
294
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";
295
295
  title?: string | undefined;
296
+ description?: string | undefined;
296
297
  $schema?: string | undefined;
297
298
  extends?: string | undefined;
298
299
  author?: string | undefined;
299
- description?: string | undefined;
300
300
  dependencies?: string[] | undefined;
301
301
  devDependencies?: string[] | undefined;
302
302
  registryDependencies?: string[] | undefined;
@@ -313,8 +313,8 @@ declare function getRegistryItems(items: string[], options?: {
313
313
  })[] | undefined;
314
314
  tailwind?: {
315
315
  config?: {
316
- theme?: Record<string, any> | undefined;
317
316
  content?: string[] | undefined;
317
+ theme?: Record<string, any> | undefined;
318
318
  plugins?: string[] | undefined;
319
319
  } | undefined;
320
320
  } | undefined;
@@ -348,8 +348,8 @@ declare function resolveRegistryItems(items: string[], options?: {
348
348
  })[] | undefined;
349
349
  tailwind?: {
350
350
  config?: {
351
- theme?: Record<string, any> | undefined;
352
351
  content?: string[] | undefined;
352
+ theme?: Record<string, any> | undefined;
353
353
  plugins?: string[] | undefined;
354
354
  } | undefined;
355
355
  } | undefined;
@@ -363,6 +363,7 @@ declare function resolveRegistryItems(items: string[], options?: {
363
363
  docs?: string | undefined;
364
364
  fonts?: {
365
365
  name: string;
366
+ type: "registry:font";
366
367
  font: {
367
368
  family: string;
368
369
  provider: "google";
@@ -371,12 +372,11 @@ declare function resolveRegistryItems(items: string[], options?: {
371
372
  weight?: string[] | undefined;
372
373
  subsets?: string[] | undefined;
373
374
  };
374
- type: "registry:font";
375
375
  title?: string | undefined;
376
+ description?: string | undefined;
376
377
  $schema?: string | undefined;
377
378
  extends?: string | undefined;
378
379
  author?: string | undefined;
379
- description?: string | undefined;
380
380
  dependencies?: string[] | undefined;
381
381
  devDependencies?: string[] | undefined;
382
382
  registryDependencies?: string[] | undefined;
@@ -393,8 +393,8 @@ declare function resolveRegistryItems(items: string[], options?: {
393
393
  })[] | undefined;
394
394
  tailwind?: {
395
395
  config?: {
396
- theme?: Record<string, any> | undefined;
397
396
  content?: string[] | undefined;
397
+ theme?: Record<string, any> | undefined;
398
398
  plugins?: string[] | undefined;
399
399
  } | undefined;
400
400
  } | undefined;
@@ -421,23 +421,23 @@ declare function getShadcnRegistryIndex(): Promise<({
421
421
  name: string;
422
422
  type: "registry:base";
423
423
  config?: {
424
- style?: string | undefined;
425
- iconLibrary?: string | undefined;
426
- font?: string | undefined;
427
- fontHeading?: string | undefined;
428
- menuAccent?: "subtle" | "bold" | undefined;
429
- menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
430
424
  $schema?: string | undefined;
431
425
  tailwind?: {
432
426
  config?: string | undefined;
433
- baseColor?: string | undefined;
434
427
  css?: string | undefined;
428
+ baseColor?: string | undefined;
435
429
  cssVariables?: boolean | undefined;
436
430
  prefix?: string | undefined;
437
431
  } | undefined;
432
+ style?: string | undefined;
433
+ font?: string | undefined;
434
+ fontHeading?: string | undefined;
438
435
  typescript?: boolean | undefined;
436
+ iconLibrary?: string | undefined;
439
437
  rtl?: boolean | undefined;
440
438
  pointer?: boolean | undefined;
439
+ menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
440
+ menuAccent?: "subtle" | "bold" | undefined;
441
441
  aliases?: {
442
442
  components?: string | undefined;
443
443
  utils?: string | undefined;
@@ -453,10 +453,10 @@ declare function getShadcnRegistryIndex(): Promise<({
453
453
  }> | undefined;
454
454
  } | undefined;
455
455
  title?: string | undefined;
456
+ description?: string | undefined;
456
457
  $schema?: string | undefined;
457
458
  extends?: string | undefined;
458
459
  author?: string | undefined;
459
- description?: string | undefined;
460
460
  dependencies?: string[] | undefined;
461
461
  devDependencies?: string[] | undefined;
462
462
  registryDependencies?: string[] | undefined;
@@ -473,8 +473,8 @@ declare function getShadcnRegistryIndex(): Promise<({
473
473
  })[] | undefined;
474
474
  tailwind?: {
475
475
  config?: {
476
- theme?: Record<string, any> | undefined;
477
476
  content?: string[] | undefined;
477
+ theme?: Record<string, any> | undefined;
478
478
  plugins?: string[] | undefined;
479
479
  } | undefined;
480
480
  } | undefined;
@@ -490,6 +490,7 @@ declare function getShadcnRegistryIndex(): Promise<({
490
490
  categories?: string[] | undefined;
491
491
  } | {
492
492
  name: string;
493
+ type: "registry:font";
493
494
  font: {
494
495
  family: string;
495
496
  provider: "google";
@@ -498,12 +499,11 @@ declare function getShadcnRegistryIndex(): Promise<({
498
499
  weight?: string[] | undefined;
499
500
  subsets?: string[] | undefined;
500
501
  };
501
- type: "registry:font";
502
502
  title?: string | undefined;
503
+ description?: string | undefined;
503
504
  $schema?: string | undefined;
504
505
  extends?: string | undefined;
505
506
  author?: string | undefined;
506
- description?: string | undefined;
507
507
  dependencies?: string[] | undefined;
508
508
  devDependencies?: string[] | undefined;
509
509
  registryDependencies?: string[] | undefined;
@@ -520,8 +520,8 @@ declare function getShadcnRegistryIndex(): Promise<({
520
520
  })[] | undefined;
521
521
  tailwind?: {
522
522
  config?: {
523
- theme?: Record<string, any> | undefined;
524
523
  content?: string[] | undefined;
524
+ theme?: Record<string, any> | undefined;
525
525
  plugins?: string[] | undefined;
526
526
  } | undefined;
527
527
  } | undefined;
@@ -539,10 +539,10 @@ declare function getShadcnRegistryIndex(): Promise<({
539
539
  name: string;
540
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";
541
541
  title?: string | undefined;
542
+ description?: string | undefined;
542
543
  $schema?: string | undefined;
543
544
  extends?: string | undefined;
544
545
  author?: string | undefined;
545
- description?: string | undefined;
546
546
  dependencies?: string[] | undefined;
547
547
  devDependencies?: string[] | undefined;
548
548
  registryDependencies?: string[] | undefined;
@@ -559,8 +559,8 @@ declare function getShadcnRegistryIndex(): Promise<({
559
559
  })[] | undefined;
560
560
  tailwind?: {
561
561
  config?: {
562
- theme?: Record<string, any> | undefined;
563
562
  content?: string[] | undefined;
563
+ theme?: Record<string, any> | undefined;
564
564
  plugins?: string[] | undefined;
565
565
  } | undefined;
566
566
  } | 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.
@@ -1046,23 +1085,23 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1046
1085
  name: string;
1047
1086
  type: "registry:base";
1048
1087
  config?: {
1049
- style?: string | undefined;
1050
- iconLibrary?: string | undefined;
1051
- font?: string | undefined;
1052
- fontHeading?: string | undefined;
1053
- menuAccent?: "subtle" | "bold" | undefined;
1054
- menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
1055
1088
  $schema?: string | undefined;
1056
1089
  tailwind?: {
1057
1090
  config?: string | undefined;
1058
- baseColor?: string | undefined;
1059
1091
  css?: string | undefined;
1092
+ baseColor?: string | undefined;
1060
1093
  cssVariables?: boolean | undefined;
1061
1094
  prefix?: string | undefined;
1062
1095
  } | undefined;
1096
+ style?: string | undefined;
1097
+ font?: string | undefined;
1098
+ fontHeading?: string | undefined;
1063
1099
  typescript?: boolean | undefined;
1100
+ iconLibrary?: string | undefined;
1064
1101
  rtl?: boolean | undefined;
1065
1102
  pointer?: boolean | undefined;
1103
+ menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
1104
+ menuAccent?: "subtle" | "bold" | undefined;
1066
1105
  aliases?: {
1067
1106
  components?: string | undefined;
1068
1107
  utils?: string | undefined;
@@ -1078,10 +1117,10 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1078
1117
  }> | undefined;
1079
1118
  } | undefined;
1080
1119
  title?: string | undefined;
1120
+ description?: string | undefined;
1081
1121
  $schema?: string | undefined;
1082
1122
  extends?: string | undefined;
1083
1123
  author?: string | undefined;
1084
- description?: string | undefined;
1085
1124
  dependencies?: string[] | undefined;
1086
1125
  devDependencies?: string[] | undefined;
1087
1126
  registryDependencies?: string[] | undefined;
@@ -1098,8 +1137,8 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1098
1137
  })[] | undefined;
1099
1138
  tailwind?: {
1100
1139
  config?: {
1101
- theme?: Record<string, any> | undefined;
1102
1140
  content?: string[] | undefined;
1141
+ theme?: Record<string, any> | undefined;
1103
1142
  plugins?: string[] | undefined;
1104
1143
  } | undefined;
1105
1144
  } | undefined;
@@ -1115,6 +1154,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1115
1154
  categories?: string[] | undefined;
1116
1155
  } | {
1117
1156
  name: string;
1157
+ type: "registry:font";
1118
1158
  font: {
1119
1159
  family: string;
1120
1160
  provider: "google";
@@ -1123,12 +1163,11 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1123
1163
  weight?: string[] | undefined;
1124
1164
  subsets?: string[] | undefined;
1125
1165
  };
1126
- type: "registry:font";
1127
1166
  title?: string | undefined;
1167
+ description?: string | undefined;
1128
1168
  $schema?: string | undefined;
1129
1169
  extends?: string | undefined;
1130
1170
  author?: string | undefined;
1131
- description?: string | undefined;
1132
1171
  dependencies?: string[] | undefined;
1133
1172
  devDependencies?: string[] | undefined;
1134
1173
  registryDependencies?: string[] | undefined;
@@ -1145,8 +1184,8 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1145
1184
  })[] | undefined;
1146
1185
  tailwind?: {
1147
1186
  config?: {
1148
- theme?: Record<string, any> | undefined;
1149
1187
  content?: string[] | undefined;
1188
+ theme?: Record<string, any> | undefined;
1150
1189
  plugins?: string[] | undefined;
1151
1190
  } | undefined;
1152
1191
  } | undefined;
@@ -1164,10 +1203,10 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1164
1203
  name: string;
1165
1204
  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";
1166
1205
  title?: string | undefined;
1206
+ description?: string | undefined;
1167
1207
  $schema?: string | undefined;
1168
1208
  extends?: string | undefined;
1169
1209
  author?: string | undefined;
1170
- description?: string | undefined;
1171
1210
  dependencies?: string[] | undefined;
1172
1211
  devDependencies?: string[] | undefined;
1173
1212
  registryDependencies?: string[] | undefined;
@@ -1184,8 +1223,8 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
1184
1223
  })[] | undefined;
1185
1224
  tailwind?: {
1186
1225
  config?: {
1187
- theme?: Record<string, any> | undefined;
1188
1226
  content?: string[] | undefined;
1227
+ theme?: Record<string, any> | undefined;
1189
1228
  plugins?: string[] | undefined;
1190
1229
  } | undefined;
1191
1230
  } | undefined;
@@ -1207,23 +1246,23 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1207
1246
  name: string;
1208
1247
  type: "registry:base";
1209
1248
  config?: {
1210
- style?: string | undefined;
1211
- iconLibrary?: string | undefined;
1212
- font?: string | undefined;
1213
- fontHeading?: string | undefined;
1214
- menuAccent?: "subtle" | "bold" | undefined;
1215
- menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
1216
1249
  $schema?: string | undefined;
1217
1250
  tailwind?: {
1218
1251
  config?: string | undefined;
1219
- baseColor?: string | undefined;
1220
1252
  css?: string | undefined;
1253
+ baseColor?: string | undefined;
1221
1254
  cssVariables?: boolean | undefined;
1222
1255
  prefix?: string | undefined;
1223
1256
  } | undefined;
1257
+ style?: string | undefined;
1258
+ font?: string | undefined;
1259
+ fontHeading?: string | undefined;
1224
1260
  typescript?: boolean | undefined;
1261
+ iconLibrary?: string | undefined;
1225
1262
  rtl?: boolean | undefined;
1226
1263
  pointer?: boolean | undefined;
1264
+ menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
1265
+ menuAccent?: "subtle" | "bold" | undefined;
1227
1266
  aliases?: {
1228
1267
  components?: string | undefined;
1229
1268
  utils?: string | undefined;
@@ -1239,10 +1278,10 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1239
1278
  }> | undefined;
1240
1279
  } | undefined;
1241
1280
  title?: string | undefined;
1281
+ description?: string | undefined;
1242
1282
  $schema?: string | undefined;
1243
1283
  extends?: string | undefined;
1244
1284
  author?: string | undefined;
1245
- description?: string | undefined;
1246
1285
  dependencies?: string[] | undefined;
1247
1286
  devDependencies?: string[] | undefined;
1248
1287
  registryDependencies?: string[] | undefined;
@@ -1259,8 +1298,8 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1259
1298
  })[] | undefined;
1260
1299
  tailwind?: {
1261
1300
  config?: {
1262
- theme?: Record<string, any> | undefined;
1263
1301
  content?: string[] | undefined;
1302
+ theme?: Record<string, any> | undefined;
1264
1303
  plugins?: string[] | undefined;
1265
1304
  } | undefined;
1266
1305
  } | undefined;
@@ -1276,6 +1315,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1276
1315
  categories?: string[] | undefined;
1277
1316
  } | {
1278
1317
  name: string;
1318
+ type: "registry:font";
1279
1319
  font: {
1280
1320
  family: string;
1281
1321
  provider: "google";
@@ -1284,12 +1324,11 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1284
1324
  weight?: string[] | undefined;
1285
1325
  subsets?: string[] | undefined;
1286
1326
  };
1287
- type: "registry:font";
1288
1327
  title?: string | undefined;
1328
+ description?: string | undefined;
1289
1329
  $schema?: string | undefined;
1290
1330
  extends?: string | undefined;
1291
1331
  author?: string | undefined;
1292
- description?: string | undefined;
1293
1332
  dependencies?: string[] | undefined;
1294
1333
  devDependencies?: string[] | undefined;
1295
1334
  registryDependencies?: string[] | undefined;
@@ -1306,8 +1345,8 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1306
1345
  })[] | undefined;
1307
1346
  tailwind?: {
1308
1347
  config?: {
1309
- theme?: Record<string, any> | undefined;
1310
1348
  content?: string[] | undefined;
1349
+ theme?: Record<string, any> | undefined;
1311
1350
  plugins?: string[] | undefined;
1312
1351
  } | undefined;
1313
1352
  } | undefined;
@@ -1325,10 +1364,10 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1325
1364
  name: string;
1326
1365
  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";
1327
1366
  title?: string | undefined;
1367
+ description?: string | undefined;
1328
1368
  $schema?: string | undefined;
1329
1369
  extends?: string | undefined;
1330
1370
  author?: string | undefined;
1331
- description?: string | undefined;
1332
1371
  dependencies?: string[] | undefined;
1333
1372
  devDependencies?: string[] | undefined;
1334
1373
  registryDependencies?: string[] | undefined;
@@ -1345,8 +1384,8 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
1345
1384
  })[] | undefined;
1346
1385
  tailwind?: {
1347
1386
  config?: {
1348
- theme?: Record<string, any> | undefined;
1349
1387
  content?: string[] | undefined;
1388
+ theme?: Record<string, any> | undefined;
1350
1389
  plugins?: string[] | undefined;
1351
1390
  } | undefined;
1352
1391
  } | 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-NAcKnNvm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api-NAcKnNvm.d.ts","names":[],"sources":["../src/registry/api.ts"],"sourcesContent":[],"mappings":";;;;;iBA8CsB,WAAA,sBAGD;WAAR,QAAQ;EAHC,QAAA,CAAA,EAAA,OAAW;CAGZ,CAAA,EAElB,OAFkB,CAAA;EAAR,IAAA,EAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;QAEV,EAAA,CAAA,EAAA,MAAA,GAAA,SAAA;QAAA,GAAA,CAAA,EAAA,MAAA,GAAA,SAAA;QAgDmB,KAAA,CAAA,EAAgB,MAAA,GAAA,SAAA;QAGjB,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA;MAAR,CAAA,GAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;IAEV,CAAA,CAAA,EAAA,GAAA,SAAA;IAAA,QAAA,CAAA,EAAA;MASmB,MAAA,CAAA,EAAA;QAGD,OAAA,CAAA,EAAA,MAAA,EAAA,GAAA,SAAA;QAAR,KAAA,CAAA,QAAA,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,SAAA;;;;;;;;;;;;;;EAEV,CAAA,GAAA;IAAA,IAAA,EAAA,MAAA;IAQmB,IAAA,EAAA,eAAmB;;;;MAC5B,MAAA,EAAA,MAAA;MAAA,QAAA,EAAA,MAAA;MAgCS,MAAA,CAAA,EAAA,MAAA,EAAsB,GAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;QAAA,KAAA,CAAA,QAAA,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,SAAA;QAAA,OAAA,CAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBrB,iBAAA,SACZ,cACF,KAAK,CAAA,CAAE,aAAa,kDACT;iBAqBG,kBAAA;;IAAmD,QAAA"}
@@ -1,4 +1,4 @@
1
- import { c as configSchema } from "./index-DlppMkfr.js";
1
+ import { c as configSchema } from "./index-BLb9Z9so.js";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/utils/get-config.d.ts
@@ -6,4 +6,4 @@ import { z } from "zod";
6
6
  type Config = z.infer<typeof configSchema>;
7
7
  //#endregion
8
8
  export { Config as t };
9
- //# sourceMappingURL=get-config-HtUBua2Z.d.ts.map
9
+ //# sourceMappingURL=get-config-B1tCxA_s.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-config-B1tCxA_s.d.ts","names":[],"sources":["../src/utils/get-config.ts"],"sourcesContent":[],"mappings":";;;;;KAuBY,MAAA,GAAS,CAAA,CAAE,aAAa"}