shadcn-vue 2.6.2 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{api-DZ7Z_MtF.d.ts → api-B-EGcsFi.d.ts} +8 -3
- package/dist/api-B-EGcsFi.d.ts.map +1 -0
- package/dist/{get-config-DrAY4347.d.ts → get-config-BRAQ-Tnk.d.ts} +2 -2
- package/dist/get-config-BRAQ-Tnk.d.ts.map +1 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/{index-CZ1rwcGp.d.ts → index-VbcDxT_d.d.ts} +27 -1
- package/dist/index-VbcDxT_d.d.ts.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +32 -14
- package/dist/index.js.map +1 -1
- package/dist/mcp/index.js +3 -3
- package/dist/{mcp-CSdaDjDY.js → mcp-CLEmWRoA.js} +2 -2
- package/dist/{mcp-CSdaDjDY.js.map → mcp-CLEmWRoA.js.map} +1 -1
- package/dist/registry/index.d.ts +3 -3
- package/dist/registry/index.js +2 -2
- package/dist/{registry-BIOMgIDT.js → registry-CWYPYAA2.js} +10 -4
- package/dist/{registry-BIOMgIDT.js.map → registry-CWYPYAA2.js.map} +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.js +1 -1
- package/dist/{schema-_wQCad_c.js → schema-CjAXtlQ7.js} +2 -1
- package/dist/schema-CjAXtlQ7.js.map +1 -0
- package/dist/utils/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/api-DZ7Z_MtF.d.ts.map +0 -1
- package/dist/get-config-DrAY4347.d.ts.map +0 -1
- package/dist/index-CZ1rwcGp.d.ts.map +0 -1
- package/dist/schema-_wQCad_c.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as registryItemSchema, g as registryIndexSchema } from "./index-
|
|
2
|
-
import { t as Config } from "./get-config-
|
|
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
|
|
@@ -29,6 +29,7 @@ declare function getRegistry(name: string, options?: {
|
|
|
29
29
|
prefix?: string | undefined;
|
|
30
30
|
} | undefined;
|
|
31
31
|
rtl?: boolean | undefined;
|
|
32
|
+
pointer?: boolean | undefined;
|
|
32
33
|
aliases?: {
|
|
33
34
|
components?: string | undefined;
|
|
34
35
|
utils?: string | undefined;
|
|
@@ -190,6 +191,7 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
190
191
|
prefix?: string | undefined;
|
|
191
192
|
} | undefined;
|
|
192
193
|
rtl?: boolean | undefined;
|
|
194
|
+
pointer?: boolean | undefined;
|
|
193
195
|
aliases?: {
|
|
194
196
|
components?: string | undefined;
|
|
195
197
|
utils?: string | undefined;
|
|
@@ -435,6 +437,7 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
435
437
|
prefix?: string | undefined;
|
|
436
438
|
} | undefined;
|
|
437
439
|
rtl?: boolean | undefined;
|
|
440
|
+
pointer?: boolean | undefined;
|
|
438
441
|
aliases?: {
|
|
439
442
|
components?: string | undefined;
|
|
440
443
|
utils?: string | undefined;
|
|
@@ -1059,6 +1062,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
1059
1062
|
prefix?: string | undefined;
|
|
1060
1063
|
} | undefined;
|
|
1061
1064
|
rtl?: boolean | undefined;
|
|
1065
|
+
pointer?: boolean | undefined;
|
|
1062
1066
|
aliases?: {
|
|
1063
1067
|
components?: string | undefined;
|
|
1064
1068
|
utils?: string | undefined;
|
|
@@ -1219,6 +1223,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
1219
1223
|
prefix?: string | undefined;
|
|
1220
1224
|
} | undefined;
|
|
1221
1225
|
rtl?: boolean | undefined;
|
|
1226
|
+
pointer?: boolean | undefined;
|
|
1222
1227
|
aliases?: {
|
|
1223
1228
|
components?: string | undefined;
|
|
1224
1229
|
utils?: string | undefined;
|
|
@@ -1365,4 +1370,4 @@ declare function getRegistriesIndex(options?: {
|
|
|
1365
1370
|
}): Promise<Record<string, string>>;
|
|
1366
1371
|
//#endregion
|
|
1367
1372
|
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 };
|
|
1368
|
-
//# sourceMappingURL=api-
|
|
1373
|
+
//# sourceMappingURL=api-B-EGcsFi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-B-EGcsFi.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,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA;QAAA,EAAA,CAAA,EAAA,MAAA,GAAA,SAAA;QAgDmB,GAAA,CAAA,EAAA,MAAgB,GAAA,SAAA;QAGjB,KAAA,CAAA,EAAA,MAAA,GAAA,SAAA;QAAR,WAAA,CAAA,EAAA,MAAA,GAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;MAEV,IAAA,EAAA,MAAA;MAAA,IAAA,EAAA,eAAA,GAAA,eAAA;MASmB,MAAA,EAAA,MAAA;MAGD,OAAA,CAAA,EAAA,MAAA,GAAA,SAAA;IAAR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aAAa,wCACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BK,SAAA,sBAEd,CAAA,CAAE,aAAa,uBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBrB,iBAAA,SACZ,cACF,KAAK,CAAA,CAAE,aAAa,kDACT;iBAqBG,kBAAA;;IAAmD,QAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as configSchema } from "./index-
|
|
1
|
+
import { c as configSchema } from "./index-VbcDxT_d.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-
|
|
9
|
+
//# sourceMappingURL=get-config-BRAQ-Tnk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-config-BRAQ-Tnk.d.ts","names":[],"sources":["../src/utils/get-config.ts"],"sourcesContent":[],"mappings":";;;;;KAuBY,MAAA,GAAS,CAAA,CAAE,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/icons/libraries.ts"],"sourcesContent":[],"mappings":";cAAa;EAAA,SAAA,MAAA,EA0CH;IAEE,SAAA,IAAa,EAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/icons/libraries.ts"],"sourcesContent":[],"mappings":";cAAa;EAAA,SAAA,MAAA,EA0CH;IAEE,SAAA,IAAa,EAAA,QAAA;IAEb,SAAA,KAAW,EAAA,QAAG;IAEd,SAAA,QAAe,EAAA,SAAS,CAAA,iBAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAJrC,aAAA,UAAuB;KAEvB,WAAA,GAAc,oBAAoB;KAElC,eAAA,SAAwB"}
|
|
@@ -54,6 +54,7 @@ declare const rawConfigSchema: z.ZodObject<{
|
|
|
54
54
|
}>;
|
|
55
55
|
iconLibrary: z.ZodOptional<z.ZodString>;
|
|
56
56
|
rtl: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
57
|
+
pointer: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
57
58
|
menuColor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted", "default-translucent", "inverted-translucent"]>>>;
|
|
58
59
|
menuAccent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>;
|
|
59
60
|
aliases: z.ZodObject<{
|
|
@@ -116,6 +117,7 @@ declare const rawConfigSchema: z.ZodObject<{
|
|
|
116
117
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
117
118
|
$schema?: string | undefined;
|
|
118
119
|
rtl?: boolean | undefined;
|
|
120
|
+
pointer?: boolean | undefined;
|
|
119
121
|
registries?: Record<string, string | {
|
|
120
122
|
url: string;
|
|
121
123
|
params?: Record<string, string> | undefined;
|
|
@@ -146,6 +148,7 @@ declare const rawConfigSchema: z.ZodObject<{
|
|
|
146
148
|
$schema?: string | undefined;
|
|
147
149
|
typescript?: boolean | undefined;
|
|
148
150
|
rtl?: boolean | undefined;
|
|
151
|
+
pointer?: boolean | undefined;
|
|
149
152
|
registries?: Record<string, string | {
|
|
150
153
|
url: string;
|
|
151
154
|
params?: Record<string, string> | undefined;
|
|
@@ -179,6 +182,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
179
182
|
}>;
|
|
180
183
|
iconLibrary: z.ZodOptional<z.ZodString>;
|
|
181
184
|
rtl: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
185
|
+
pointer: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
182
186
|
menuColor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted", "default-translucent", "inverted-translucent"]>>>;
|
|
183
187
|
menuAccent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>;
|
|
184
188
|
aliases: z.ZodObject<{
|
|
@@ -284,6 +288,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
284
288
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
285
289
|
$schema?: string | undefined;
|
|
286
290
|
rtl?: boolean | undefined;
|
|
291
|
+
pointer?: boolean | undefined;
|
|
287
292
|
registries?: Record<string, string | {
|
|
288
293
|
url: string;
|
|
289
294
|
params?: Record<string, string> | undefined;
|
|
@@ -325,6 +330,7 @@ declare const configSchema: z.ZodObject<{
|
|
|
325
330
|
$schema?: string | undefined;
|
|
326
331
|
typescript?: boolean | undefined;
|
|
327
332
|
rtl?: boolean | undefined;
|
|
333
|
+
pointer?: boolean | undefined;
|
|
328
334
|
registries?: Record<string, string | {
|
|
329
335
|
url: string;
|
|
330
336
|
params?: Record<string, string> | undefined;
|
|
@@ -358,6 +364,7 @@ declare const workspaceConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
358
364
|
}>;
|
|
359
365
|
iconLibrary: z.ZodOptional<z.ZodString>;
|
|
360
366
|
rtl: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
367
|
+
pointer: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
361
368
|
menuColor: z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted", "default-translucent", "inverted-translucent"]>>>;
|
|
362
369
|
menuAccent: z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>;
|
|
363
370
|
aliases: z.ZodObject<{
|
|
@@ -463,6 +470,7 @@ declare const workspaceConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
463
470
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
464
471
|
$schema?: string | undefined;
|
|
465
472
|
rtl?: boolean | undefined;
|
|
473
|
+
pointer?: boolean | undefined;
|
|
466
474
|
registries?: Record<string, string | {
|
|
467
475
|
url: string;
|
|
468
476
|
params?: Record<string, string> | undefined;
|
|
@@ -504,6 +512,7 @@ declare const workspaceConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
504
512
|
$schema?: string | undefined;
|
|
505
513
|
typescript?: boolean | undefined;
|
|
506
514
|
rtl?: boolean | undefined;
|
|
515
|
+
pointer?: boolean | undefined;
|
|
507
516
|
registries?: Record<string, string | {
|
|
508
517
|
url: string;
|
|
509
518
|
params?: Record<string, string> | undefined;
|
|
@@ -884,6 +893,7 @@ declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
884
893
|
}>>;
|
|
885
894
|
iconLibrary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
886
895
|
rtl: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
896
|
+
pointer: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
887
897
|
menuColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted", "default-translucent", "inverted-translucent"]>>>>;
|
|
888
898
|
menuAccent: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>>;
|
|
889
899
|
aliases: z.ZodOptional<z.ZodObject<{
|
|
@@ -938,6 +948,7 @@ declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
938
948
|
prefix?: string | undefined;
|
|
939
949
|
} | undefined;
|
|
940
950
|
rtl?: boolean | undefined;
|
|
951
|
+
pointer?: boolean | undefined;
|
|
941
952
|
aliases?: {
|
|
942
953
|
components?: string | undefined;
|
|
943
954
|
utils?: string | undefined;
|
|
@@ -968,6 +979,7 @@ declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
968
979
|
prefix?: string | undefined;
|
|
969
980
|
} | undefined;
|
|
970
981
|
rtl?: boolean | undefined;
|
|
982
|
+
pointer?: boolean | undefined;
|
|
971
983
|
aliases?: {
|
|
972
984
|
components?: string | undefined;
|
|
973
985
|
utils?: string | undefined;
|
|
@@ -1002,6 +1014,7 @@ declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1002
1014
|
prefix?: string | undefined;
|
|
1003
1015
|
} | undefined;
|
|
1004
1016
|
rtl?: boolean | undefined;
|
|
1017
|
+
pointer?: boolean | undefined;
|
|
1005
1018
|
aliases?: {
|
|
1006
1019
|
components?: string | undefined;
|
|
1007
1020
|
utils?: string | undefined;
|
|
@@ -1072,6 +1085,7 @@ declare const registryItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1072
1085
|
prefix?: string | undefined;
|
|
1073
1086
|
} | undefined;
|
|
1074
1087
|
rtl?: boolean | undefined;
|
|
1088
|
+
pointer?: boolean | undefined;
|
|
1075
1089
|
aliases?: {
|
|
1076
1090
|
components?: string | undefined;
|
|
1077
1091
|
utils?: string | undefined;
|
|
@@ -1618,6 +1632,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
1618
1632
|
}>>;
|
|
1619
1633
|
iconLibrary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1620
1634
|
rtl: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
1635
|
+
pointer: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
1621
1636
|
menuColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted", "default-translucent", "inverted-translucent"]>>>>;
|
|
1622
1637
|
menuAccent: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>>;
|
|
1623
1638
|
aliases: z.ZodOptional<z.ZodObject<{
|
|
@@ -1672,6 +1687,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
1672
1687
|
prefix?: string | undefined;
|
|
1673
1688
|
} | undefined;
|
|
1674
1689
|
rtl?: boolean | undefined;
|
|
1690
|
+
pointer?: boolean | undefined;
|
|
1675
1691
|
aliases?: {
|
|
1676
1692
|
components?: string | undefined;
|
|
1677
1693
|
utils?: string | undefined;
|
|
@@ -1702,6 +1718,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
1702
1718
|
prefix?: string | undefined;
|
|
1703
1719
|
} | undefined;
|
|
1704
1720
|
rtl?: boolean | undefined;
|
|
1721
|
+
pointer?: boolean | undefined;
|
|
1705
1722
|
aliases?: {
|
|
1706
1723
|
components?: string | undefined;
|
|
1707
1724
|
utils?: string | undefined;
|
|
@@ -1736,6 +1753,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
1736
1753
|
prefix?: string | undefined;
|
|
1737
1754
|
} | undefined;
|
|
1738
1755
|
rtl?: boolean | undefined;
|
|
1756
|
+
pointer?: boolean | undefined;
|
|
1739
1757
|
aliases?: {
|
|
1740
1758
|
components?: string | undefined;
|
|
1741
1759
|
utils?: string | undefined;
|
|
@@ -1806,6 +1824,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
1806
1824
|
prefix?: string | undefined;
|
|
1807
1825
|
} | undefined;
|
|
1808
1826
|
rtl?: boolean | undefined;
|
|
1827
|
+
pointer?: boolean | undefined;
|
|
1809
1828
|
aliases?: {
|
|
1810
1829
|
components?: string | undefined;
|
|
1811
1830
|
utils?: string | undefined;
|
|
@@ -2250,6 +2269,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
2250
2269
|
prefix?: string | undefined;
|
|
2251
2270
|
} | undefined;
|
|
2252
2271
|
rtl?: boolean | undefined;
|
|
2272
|
+
pointer?: boolean | undefined;
|
|
2253
2273
|
aliases?: {
|
|
2254
2274
|
components?: string | undefined;
|
|
2255
2275
|
utils?: string | undefined;
|
|
@@ -2410,6 +2430,7 @@ declare const registrySchema: z.ZodObject<{
|
|
|
2410
2430
|
prefix?: string | undefined;
|
|
2411
2431
|
} | undefined;
|
|
2412
2432
|
rtl?: boolean | undefined;
|
|
2433
|
+
pointer?: boolean | undefined;
|
|
2413
2434
|
aliases?: {
|
|
2414
2435
|
components?: string | undefined;
|
|
2415
2436
|
utils?: string | undefined;
|
|
@@ -2664,6 +2685,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z
|
|
|
2664
2685
|
}>>;
|
|
2665
2686
|
iconLibrary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2666
2687
|
rtl: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
2688
|
+
pointer: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
|
|
2667
2689
|
menuColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["default", "inverted", "default-translucent", "inverted-translucent"]>>>>;
|
|
2668
2690
|
menuAccent: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodEnum<["subtle", "bold"]>>>>;
|
|
2669
2691
|
aliases: z.ZodOptional<z.ZodObject<{
|
|
@@ -2718,6 +2740,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z
|
|
|
2718
2740
|
prefix?: string | undefined;
|
|
2719
2741
|
} | undefined;
|
|
2720
2742
|
rtl?: boolean | undefined;
|
|
2743
|
+
pointer?: boolean | undefined;
|
|
2721
2744
|
aliases?: {
|
|
2722
2745
|
components?: string | undefined;
|
|
2723
2746
|
utils?: string | undefined;
|
|
@@ -2748,6 +2771,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z
|
|
|
2748
2771
|
prefix?: string | undefined;
|
|
2749
2772
|
} | undefined;
|
|
2750
2773
|
rtl?: boolean | undefined;
|
|
2774
|
+
pointer?: boolean | undefined;
|
|
2751
2775
|
aliases?: {
|
|
2752
2776
|
components?: string | undefined;
|
|
2753
2777
|
utils?: string | undefined;
|
|
@@ -2782,6 +2806,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z
|
|
|
2782
2806
|
prefix?: string | undefined;
|
|
2783
2807
|
} | undefined;
|
|
2784
2808
|
rtl?: boolean | undefined;
|
|
2809
|
+
pointer?: boolean | undefined;
|
|
2785
2810
|
aliases?: {
|
|
2786
2811
|
components?: string | undefined;
|
|
2787
2812
|
utils?: string | undefined;
|
|
@@ -2852,6 +2877,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z
|
|
|
2852
2877
|
prefix?: string | undefined;
|
|
2853
2878
|
} | undefined;
|
|
2854
2879
|
rtl?: boolean | undefined;
|
|
2880
|
+
pointer?: boolean | undefined;
|
|
2855
2881
|
aliases?: {
|
|
2856
2882
|
components?: string | undefined;
|
|
2857
2883
|
utils?: string | undefined;
|
|
@@ -4006,4 +4032,4 @@ declare const configJsonSchema: z.ZodObject<{
|
|
|
4006
4032
|
type ConfigJson = z.infer<typeof configJsonSchema>;
|
|
4007
4033
|
//#endregion
|
|
4008
4034
|
export { stylesSchema as A, registryItemSchema as C, registrySchema as D, registryResolvedItemsTreeSchema as E, searchResultItemSchema as O, registryItemFontSchema as S, registryItemTypeSchema as T, registryItemCommonSchema as _, RegistryFontItem as a, registryItemEnvVarsSchema as b, configSchema as c, rawConfigSchema as d, registriesIndexSchema as f, registryIndexSchema as g, registryConfigSchema as h, RegistryBaseItem as i, workspaceConfigSchema as j, searchResultsSchema as k, iconsSchema as l, registryConfigItemSchema as m, Preset as n, RegistryItem as o, registryBaseColorSchema as p, Registry as r, configJsonSchema as s, ConfigJson as t, presetSchema as u, registryItemCssSchema as v, registryItemTailwindSchema as w, registryItemFileSchema as x, registryItemCssVarsSchema as y };
|
|
4009
|
-
//# sourceMappingURL=index-
|
|
4035
|
+
//# sourceMappingURL=index-VbcDxT_d.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-VbcDxT_d.d.ts","names":[],"sources":["../src/registry/schema.ts"],"sourcesContent":[],"mappings":";;;cAKa,0BAAwB,CAAA,CAAA,UAAA,CAAA,CAAA,WAAA,CAAA,CAAA,4BAAA,CAAA,CAAA;;EAAxB,MAAA,eAAA,YAaX,YAAA,aAAA,CAAA,CAAA;EAbmC,OAAA,eAAA,YAAA,YAAA,aAAA,CAAA,CAAA;CAAA,EAAA,OAAA,cAAA,EAAA;;;;;;;;;cAexB,sBAAoB,CAAA,CAAA,UAAA,CAAA,CAAA,WAAA,CAAA,CAAA,4BAAA,CAAA,CAAA,UAAA,CAAA,CAAA,WAAA,CAAA,CAAA,4BAAA,CAAA,CAAA;;;;;;;EAfI,OAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;CAAA,EAAA;EAAA,GAAA,EAAA,MAAA;EAexB,MAAA,CAAA,QAAA,CAAA,MAAA,EAKZ,MAAA,CAAA,GAAA,SAAA;EALgC,OAAA,CAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA,GAAA,SAAA;CAAA,CAAA,CAAA,CAAA,CAAA;AAAA,cAOpB,eAPoB,EAOL,CAAA,CAAA,SAPK,CAAA;EAAA,OAAA,eAAA,YAAA,CAAA;;;;;;;;;;;;;;;;IAAA,MAAA,CAAA,EAAA,MAAA,GAAA,SAAA;EAAA,CAAA,EAAA;IAAA,SAAA,EAAA,MAAA;IAAA,GAAA,EAAA,MAAA;IAOpB,MAAA,CAAA,EAAA,MAqCF,GAAA,SAAA;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsB/B,wBAAsB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;cAQtB,qBAAmB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUnB,uBAAqB,CAAA,CAAA,UAAA,CAAA,CAAA,WAAA,CAAA,CAAA;cAKrB,cAAY,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoBb,MAAA,GAAS,CAAA,CAAE,aAAa;cAEvB,kBAAgB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIjB,UAAA,GAAa,CAAA,CAAE,aAAa"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./index-
|
|
3
|
-
import "./get-config-
|
|
4
|
-
import { C as resolveTree, S as resolveRegistryItems, _ as getRegistryPresets, a as getRegistry, b as getRegistryVisualStyles, c as getRegistryBaseColors, d as getRegistryFonts, f as getRegistryIconLibraries, g as getRegistryPreset, h as getRegistryItems, i as getRegistriesIndex, l as getRegistryBases, m as getRegistryIcons, n as getItemTargetPath, o as getRegistryBase, p as getRegistryIconLibrary, r as getRegistriesConfig, s as getRegistryBaseColor, t as fetchTree, u as getRegistryFont, v as getRegistryStyles, x as getShadcnRegistryIndex, y as getRegistryVisualStyle } from "./api-
|
|
2
|
+
import "./index-VbcDxT_d.js";
|
|
3
|
+
import "./get-config-BRAQ-Tnk.js";
|
|
4
|
+
import { C as resolveTree, S as resolveRegistryItems, _ as getRegistryPresets, a as getRegistry, b as getRegistryVisualStyles, c as getRegistryBaseColors, d as getRegistryFonts, f as getRegistryIconLibraries, g as getRegistryPreset, h as getRegistryItems, i as getRegistriesIndex, l as getRegistryBases, m as getRegistryIcons, n as getItemTargetPath, o as getRegistryBase, p as getRegistryIconLibrary, r as getRegistriesConfig, s as getRegistryBaseColor, t as fetchTree, u as getRegistryFont, v as getRegistryStyles, x as getShadcnRegistryIndex, y as getRegistryVisualStyle } from "./api-B-EGcsFi.js";
|
|
5
5
|
export { fetchTree, getItemTargetPath, getRegistriesConfig, getRegistriesIndex, getRegistry, getRegistryBase, getRegistryBaseColor, getRegistryBaseColors, getRegistryBases, getRegistryFont, getRegistryFonts, getRegistryIconLibraries, getRegistryIconLibrary, getRegistryIcons, getRegistryItems, getRegistryPreset, getRegistryPresets, getRegistryStyles, getRegistryVisualStyle, getRegistryVisualStyles, getShadcnRegistryIndex, resolveRegistryItems, resolveTree };
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { a as BASE_COLORS, f as SHADCN_VUE_URL, i as BASES, l as FONTS, o as BUILTIN_REGISTRIES, p as STYLES, r as ICON_LIBRARIES, s as DEPRECATED_COMPONENTS, u as ICON_LIBRARIES$1 } from "./transform-menu-CdBnB1yA.js";
|
|
3
|
-
import { _ as registryItemSchema, a as rawConfigSchema, x as registrySchema } from "./schema-
|
|
4
|
-
import { $ as mergeEnvContent, A as DEFAULT_PRESETS, B as handleError, C as getRegistryPresets, Ct as highlighter, D as getShadcnRegistryIndex, E as getRegistryVisualStyles, F as ensureRegistriesInConfig, G as isUrl, H as validateRegistryConfigForItems, I as resolveRegistryTree, J as transformRtl, K as updateFiles, L as _createSourceFile, M as promptForPreset, N as resolveInitUrl, O as resolveRegistryItems, P as resolveRegistryBaseConfig, Q as getNewEnvKeys, R as _getQuoteChar, S as getRegistryPreset, T as getRegistryVisualStyle, U as clearRegistryContext, V as buildUrlAndHeadersForRegistryItem, W as isUniversalRegistryItem, X as logger, Y as spinner, Z as findExistingEnvFile, _ as getRegistryFonts, a as getProjectTailwindVersionFromConfig, at as DEFAULT_UTILS, b as getRegistryIcons, c as getItemTargetPath, ct as findPackageRoot, d as getRegistry, dt as resolveConfigPaths, et as composeStyleId, f as getRegistryBase, g as getRegistryFont, h as getRegistryBases, i as getProjectInfo, it as DEFAULT_TAILWIND_CSS, j as promptForBase, k as resolveTree, l as getRegistriesConfig, lt as getConfig, m as getRegistryBaseColors, n as getProjectComponents, nt as DEFAULT_COMPONENTS, o as getPackageInfo, ot as createConfig, p as getRegistryBaseColor, q as transform$1, r as getProjectConfig, rt as DEFAULT_TAILWIND_CONFIG, s as fetchTree, st as findCommonRoot, t as searchRegistries, tt as configWithDefaults, u as getRegistriesIndex, ut as getWorkspaceConfig, v as getRegistryIconLibraries, w as getRegistryStyles, x as getRegistryItems, y as getRegistryIconLibrary, z as updateTailwindConfig } from "./registry-
|
|
3
|
+
import { _ as registryItemSchema, a as rawConfigSchema, x as registrySchema } from "./schema-CjAXtlQ7.js";
|
|
4
|
+
import { $ as mergeEnvContent, A as DEFAULT_PRESETS, B as handleError, C as getRegistryPresets, Ct as highlighter, D as getShadcnRegistryIndex, E as getRegistryVisualStyles, F as ensureRegistriesInConfig, G as isUrl, H as validateRegistryConfigForItems, I as resolveRegistryTree, J as transformRtl, K as updateFiles, L as _createSourceFile, M as promptForPreset, N as resolveInitUrl, O as resolveRegistryItems, P as resolveRegistryBaseConfig, Q as getNewEnvKeys, R as _getQuoteChar, S as getRegistryPreset, T as getRegistryVisualStyle, U as clearRegistryContext, V as buildUrlAndHeadersForRegistryItem, W as isUniversalRegistryItem, X as logger, Y as spinner, Z as findExistingEnvFile, _ as getRegistryFonts, a as getProjectTailwindVersionFromConfig, at as DEFAULT_UTILS, b as getRegistryIcons, c as getItemTargetPath, ct as findPackageRoot, d as getRegistry, dt as resolveConfigPaths, et as composeStyleId, f as getRegistryBase, g as getRegistryFont, h as getRegistryBases, i as getProjectInfo, it as DEFAULT_TAILWIND_CSS, j as promptForBase, k as resolveTree, l as getRegistriesConfig, lt as getConfig, m as getRegistryBaseColors, n as getProjectComponents, nt as DEFAULT_COMPONENTS, o as getPackageInfo, ot as createConfig, p as getRegistryBaseColor, q as transform$1, r as getProjectConfig, rt as DEFAULT_TAILWIND_CONFIG, s as fetchTree, st as findCommonRoot, t as searchRegistries, tt as configWithDefaults, u as getRegistriesIndex, ut as getWorkspaceConfig, v as getRegistryIconLibraries, w as getRegistryStyles, x as getRegistryItems, y as getRegistryIconLibrary, z as updateTailwindConfig } from "./registry-CWYPYAA2.js";
|
|
5
5
|
import { p as decodePreset, v as isPresetCode } from "./preset-DK0fGW7r.js";
|
|
6
|
-
import { t as server } from "./mcp-
|
|
6
|
+
import { t as server } from "./mcp-CLEmWRoA.js";
|
|
7
7
|
import { Command } from "commander";
|
|
8
8
|
import path, { isAbsolute, join, normalize, resolve, sep } from "pathe";
|
|
9
9
|
import prompts from "prompts";
|
|
@@ -1557,9 +1557,17 @@ const initOptionsSchema = z.object({
|
|
|
1557
1557
|
baseStyle: z.boolean(),
|
|
1558
1558
|
monorepo: z.boolean().optional(),
|
|
1559
1559
|
reinstall: z.boolean().optional(),
|
|
1560
|
-
rtl: z.boolean().optional()
|
|
1560
|
+
rtl: z.boolean().optional(),
|
|
1561
|
+
pointer: z.boolean().optional()
|
|
1561
1562
|
});
|
|
1562
|
-
|
|
1563
|
+
function applyInitUrlOptions(url, options) {
|
|
1564
|
+
if (options.rtl) url.searchParams.set("rtl", "true");
|
|
1565
|
+
else if (options.rtl === false) url.searchParams.delete("rtl");
|
|
1566
|
+
if (options.pointer) url.searchParams.set("pointer", "true");
|
|
1567
|
+
else if (options.pointer === false) url.searchParams.delete("pointer");
|
|
1568
|
+
return url;
|
|
1569
|
+
}
|
|
1570
|
+
const init = new Command().name("init").alias("create").description("initialize your project and install dependencies").argument("[components...]", "names, url or local path to component").option("-p, --preset [preset]", `use a preset configuration, preset code, or URL. (${Object.keys(DEFAULT_PRESETS).join(", ")})`).option("-t, --template <template>", "the template to use. (nuxt, vite, astro, laravel)").option("--base <base>", "the component library base to use. (reka)", void 0).option("--style <style>", "the visual style to use. (vega, nova, maia, lyra, mira)", void 0).option("--icon-library <icon-library>", "the icon library to use. (lucide, tabler, hugeicons, phosphor, remixicon)", void 0).option("--font <font>", "the font to use. (inter, figtree, jetbrains-mono, geist, geist-mono)", void 0).option("-b, --base-color <base-color>", "the base color to use. (neutral, gray, zinc, stone, slate)", void 0).option("-y, --yes", "skip confirmation prompt.", true).option("-d, --defaults,", "use default configuration.", false).option("-f, --force", "force overwrite of existing configuration.", false).option("-c, --cwd <cwd>", "the working directory. defaults to the current directory.", process.cwd()).option("-s, --silent", "mute output.", false).option("--src-dir", "use the src directory when creating a new project.", false).option("--no-src-dir", "do not use the src directory when creating a new project.").option("--css-variables", "use css variables for theming.", true).option("--no-css-variables", "do not use css variables for theming.").option("--no-base-style", "do not install the base shadcn style.").option("-n, --name <name>", "the name for the new project.").option("--reinstall", "re-install existing UI components.").option("--no-reinstall", "do not re-install existing UI components.").option("--rtl", "enable RTL support.").option("--no-rtl", "disable RTL support.").option("--pointer", "enable pointer cursor for buttons.").option("--no-pointer", "disable pointer cursor for buttons.").action(async (components, opts) => {
|
|
1563
1571
|
if (opts.monorepo === true) {
|
|
1564
1572
|
logger.break();
|
|
1565
1573
|
logger.warn("The --monorepo flag is not yet supported in shadcn-vue.");
|
|
@@ -1589,6 +1597,7 @@ const init = new Command().name("init").alias("create").description("initialize
|
|
|
1589
1597
|
if (presetArg === true) {
|
|
1590
1598
|
const result = await promptForPreset({
|
|
1591
1599
|
rtl: options.rtl ?? false,
|
|
1600
|
+
pointer: options.pointer,
|
|
1592
1601
|
template: options.template,
|
|
1593
1602
|
base: options.base ?? await promptForBase()
|
|
1594
1603
|
});
|
|
@@ -1606,8 +1615,7 @@ const init = new Command().name("init").alias("create").description("initialize
|
|
|
1606
1615
|
let initUrl;
|
|
1607
1616
|
if (isUrl(presetArg)) {
|
|
1608
1617
|
const url = new URL(presetArg);
|
|
1609
|
-
|
|
1610
|
-
else if (options.rtl === false) url.searchParams.delete("rtl");
|
|
1618
|
+
applyInitUrlOptions(url, options);
|
|
1611
1619
|
initUrl = url.toString();
|
|
1612
1620
|
} else if (isPresetCode(presetArg)) {
|
|
1613
1621
|
const decoded = decodePreset(presetArg);
|
|
@@ -1622,7 +1630,8 @@ const init = new Command().name("init").alias("create").description("initialize
|
|
|
1622
1630
|
rtl: options.rtl ?? false
|
|
1623
1631
|
}, {
|
|
1624
1632
|
template: options.template,
|
|
1625
|
-
preset: presetArg
|
|
1633
|
+
preset: presetArg,
|
|
1634
|
+
pointer: options.pointer
|
|
1626
1635
|
});
|
|
1627
1636
|
} else {
|
|
1628
1637
|
const preset = presetsByName[presetArg];
|
|
@@ -1631,7 +1640,10 @@ const init = new Command().name("init").alias("create").description("initialize
|
|
|
1631
1640
|
...preset,
|
|
1632
1641
|
base: options.base ?? preset.base,
|
|
1633
1642
|
rtl: options.rtl ?? preset.rtl
|
|
1634
|
-
}, {
|
|
1643
|
+
}, {
|
|
1644
|
+
template: options.template,
|
|
1645
|
+
pointer: options.pointer
|
|
1646
|
+
});
|
|
1635
1647
|
}
|
|
1636
1648
|
components = [initUrl, ...components];
|
|
1637
1649
|
}
|
|
@@ -1723,6 +1735,7 @@ async function runInit(options) {
|
|
|
1723
1735
|
if (!options.force && fsExtra.existsSync(backupPath)) config = mergeConfig(await fsExtra.readJson(backupPath), config);
|
|
1724
1736
|
if (options.registryBaseConfig) config = mergeConfig(config, options.registryBaseConfig);
|
|
1725
1737
|
if (options.rtl !== void 0) config.rtl = options.rtl;
|
|
1738
|
+
if (options.pointer !== void 0) config.pointer = options.pointer;
|
|
1726
1739
|
config.registries = Object.fromEntries(Object.entries(config.registries || {}).filter(([key]) => !Object.keys(BUILTIN_REGISTRIES).includes(key)));
|
|
1727
1740
|
await promises.writeFile(targetPath, `${JSON.stringify(config, null, 2)}\n`, "utf8");
|
|
1728
1741
|
componentSpinner.succeed();
|
|
@@ -1873,6 +1886,7 @@ async function promptForConfig(defaultConfig = null, opts) {
|
|
|
1873
1886
|
font,
|
|
1874
1887
|
iconLibrary,
|
|
1875
1888
|
rtl: opts?.rtl ?? false,
|
|
1889
|
+
pointer: opts?.pointer ?? false,
|
|
1876
1890
|
tailwind: {
|
|
1877
1891
|
config: tailwindConfig,
|
|
1878
1892
|
css: tailwindCss,
|
|
@@ -1972,6 +1986,7 @@ async function promptForMinimalConfig(defaultConfig, opts) {
|
|
|
1972
1986
|
...defaultConfig.fontHeading && { fontHeading: defaultConfig.fontHeading },
|
|
1973
1987
|
iconLibrary,
|
|
1974
1988
|
rtl: opts.rtl ?? defaultConfig.rtl ?? false,
|
|
1989
|
+
pointer: opts.pointer ?? defaultConfig.pointer ?? false,
|
|
1975
1990
|
tailwind: {
|
|
1976
1991
|
...defaultConfig?.tailwind,
|
|
1977
1992
|
baseColor,
|
|
@@ -2596,10 +2611,13 @@ const docs = new Command().name("docs").description("get docs, api references an
|
|
|
2596
2611
|
logger.error(`Component ${highlighter.info(component)} not found in the shadcn-vue registry.`);
|
|
2597
2612
|
process.exit(1);
|
|
2598
2613
|
}
|
|
2599
|
-
const
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2614
|
+
const metaLinks = (item.meta?.links)?.[base];
|
|
2615
|
+
let links;
|
|
2616
|
+
if (metaLinks && Object.keys(metaLinks).length > 0) links = metaLinks;
|
|
2617
|
+
else {
|
|
2618
|
+
const fallbackUrl = `${SHADCN_VUE_URL}/docs/components/${component}`;
|
|
2619
|
+
logger.debug(`No registry links found for ${highlighter.info(component)} (base: ${highlighter.info(base)}). Using best-effort fallback: ${fallbackUrl}`);
|
|
2620
|
+
links = { docs: fallbackUrl };
|
|
2603
2621
|
}
|
|
2604
2622
|
results.push({
|
|
2605
2623
|
component,
|
|
@@ -3165,7 +3183,7 @@ const view = new Command().name("view").description("view items from the registr
|
|
|
3165
3183
|
|
|
3166
3184
|
//#endregion
|
|
3167
3185
|
//#region package.json
|
|
3168
|
-
var version = "2.
|
|
3186
|
+
var version = "2.7.0";
|
|
3169
3187
|
|
|
3170
3188
|
//#endregion
|
|
3171
3189
|
//#region src/index.ts
|