shadcn 4.6.0 → 4.8.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/{chunk-HW2MEAJZ.js → chunk-3ORLOMOE.js} +1 -1
- package/dist/chunk-AIZFRNVF.js +96 -0
- package/dist/chunk-ZUN7SVYE.js +71 -0
- package/dist/index.d.ts +9 -7
- package/dist/index.js +94 -94
- package/dist/mcp/index.js +1 -1
- package/dist/registry/index.d.ts +342 -3
- package/dist/registry/index.js +1 -1
- package/dist/schema/index.d.ts +3454 -49
- package/dist/schema/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-42UQOK2K.js +0 -33
- package/dist/chunk-KJ7WG52C.js +0 -119
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare function getRegistry(name: string, options?: {
|
|
|
36
36
|
iconLibrary?: string | undefined;
|
|
37
37
|
rtl?: boolean | undefined;
|
|
38
38
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
39
|
-
menuAccent?: "
|
|
39
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
40
40
|
aliases?: {
|
|
41
41
|
components?: string | undefined;
|
|
42
42
|
ui?: string | undefined;
|
|
@@ -166,6 +166,8 @@ declare function getRegistry(name: string, options?: {
|
|
|
166
166
|
meta?: Record<string, any> | undefined;
|
|
167
167
|
categories?: string[] | undefined;
|
|
168
168
|
})[];
|
|
169
|
+
$schema?: string | undefined;
|
|
170
|
+
include?: string[] | undefined;
|
|
169
171
|
}>;
|
|
170
172
|
declare function getRegistryItems(items: string[], options?: {
|
|
171
173
|
config?: Partial<Config>;
|
|
@@ -197,7 +199,7 @@ declare function getRegistryItems(items: string[], options?: {
|
|
|
197
199
|
iconLibrary?: string | undefined;
|
|
198
200
|
rtl?: boolean | undefined;
|
|
199
201
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
200
|
-
menuAccent?: "
|
|
202
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
201
203
|
aliases?: {
|
|
202
204
|
components?: string | undefined;
|
|
203
205
|
ui?: string | undefined;
|
|
@@ -446,7 +448,7 @@ declare function getShadcnRegistryIndex(): Promise<({
|
|
|
446
448
|
iconLibrary?: string | undefined;
|
|
447
449
|
rtl?: boolean | undefined;
|
|
448
450
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
449
|
-
menuAccent?: "
|
|
451
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
450
452
|
aliases?: {
|
|
451
453
|
components?: string | undefined;
|
|
452
454
|
ui?: string | undefined;
|
|
@@ -651,7 +653,7 @@ declare function resolveTree(index: z.infer<typeof registryIndexSchema>, names:
|
|
|
651
653
|
iconLibrary?: string | undefined;
|
|
652
654
|
rtl?: boolean | undefined;
|
|
653
655
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
654
|
-
menuAccent?: "
|
|
656
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
655
657
|
aliases?: {
|
|
656
658
|
components?: string | undefined;
|
|
657
659
|
ui?: string | undefined;
|
|
@@ -811,7 +813,7 @@ declare function fetchTree(style: string, tree: z.infer<typeof registryIndexSche
|
|
|
811
813
|
iconLibrary?: string | undefined;
|
|
812
814
|
rtl?: boolean | undefined;
|
|
813
815
|
menuColor?: "default" | "inverted" | "default-translucent" | "inverted-translucent" | undefined;
|
|
814
|
-
menuAccent?: "
|
|
816
|
+
menuAccent?: "subtle" | "bold" | undefined;
|
|
815
817
|
aliases?: {
|
|
816
818
|
components?: string | undefined;
|
|
817
819
|
ui?: string | undefined;
|
|
@@ -967,7 +969,7 @@ declare function getPresets(options?: {
|
|
|
967
969
|
iconLibrary: string;
|
|
968
970
|
rtl: boolean;
|
|
969
971
|
menuColor: "default" | "inverted" | "default-translucent" | "inverted-translucent";
|
|
970
|
-
menuAccent: "
|
|
972
|
+
menuAccent: "subtle" | "bold";
|
|
971
973
|
theme: string;
|
|
972
974
|
name: string;
|
|
973
975
|
title: string;
|
|
@@ -984,7 +986,7 @@ declare function getPreset(name: string, options?: {
|
|
|
984
986
|
iconLibrary: string;
|
|
985
987
|
rtl: boolean;
|
|
986
988
|
menuColor: "default" | "inverted" | "default-translucent" | "inverted-translucent";
|
|
987
|
-
menuAccent: "
|
|
989
|
+
menuAccent: "subtle" | "bold";
|
|
988
990
|
theme: string;
|
|
989
991
|
name: string;
|
|
990
992
|
title: string;
|