shadcn 3.0.0 → 3.2.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/mcp/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{b as server}from'../chunk-FGQE6PDN.js';import'../chunk-GJTZRXUG.js';import'../chunk-VVOKVGPU.js';//# sourceMappingURL=index.js.map
1
+ export{b as server}from'../chunk-YONWOPXI.js';import'../chunk-BC5KPHSQ.js';import'../chunk-OG5VNDVA.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { C as Config } from '../index-J2j472vm.js';
2
- export { a as getRegistry, g as getRegistryItems, r as resolveRegistryItems } from '../index-J2j472vm.js';
1
+ import { C as Config } from '../index-EVi4Xg-p.js';
2
+ export { a as getRegistry, g as getRegistryItems, r as resolveRegistryItems } from '../index-EVi4Xg-p.js';
3
3
  import '../schema/index.js';
4
4
  import 'zod';
5
5
 
@@ -1,2 +1,2 @@
1
- export{t as RegistryError,x as RegistryFetchError,w as RegistryForbiddenError,C as RegistryInvalidNamespaceError,z as RegistryLocalFileError,B as RegistryMissingEnvironmentVariablesError,y as RegistryNotConfiguredError,u as RegistryNotFoundError,A as RegistryParseError,v as RegistryUnauthorizedError,V as getRegistry,W as getRegistryItems,X as resolveRegistryItems,fa as searchRegistries}from'../chunk-GJTZRXUG.js';import'../chunk-VVOKVGPU.js';//# sourceMappingURL=index.js.map
1
+ export{u as RegistryError,y as RegistryFetchError,x as RegistryForbiddenError,D as RegistryInvalidNamespaceError,A as RegistryLocalFileError,C as RegistryMissingEnvironmentVariablesError,z as RegistryNotConfiguredError,v as RegistryNotFoundError,B as RegistryParseError,w as RegistryUnauthorizedError,X as getRegistry,Y as getRegistryItems,Z as resolveRegistryItems,ia as searchRegistries}from'../chunk-BC5KPHSQ.js';import'../chunk-OG5VNDVA.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -72,7 +72,7 @@ declare const registryItemCssVarsSchema: z.ZodObject<{
72
72
  light?: Record<string, string> | undefined;
73
73
  dark?: Record<string, string> | undefined;
74
74
  }>;
75
- declare const registryItemCssSchema: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>>;
75
+ declare const registryItemCssSchema: z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>;
76
76
  declare const registryItemEnvVarsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
77
77
  declare const registryItemSchema: z.ZodObject<{
78
78
  $schema: z.ZodOptional<z.ZodString>;
@@ -156,7 +156,7 @@ declare const registryItemSchema: z.ZodObject<{
156
156
  light?: Record<string, string> | undefined;
157
157
  dark?: Record<string, string> | undefined;
158
158
  }>>;
159
- css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>>>;
159
+ css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>;
160
160
  envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
161
161
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
162
162
  docs: z.ZodOptional<z.ZodString>;
@@ -195,7 +195,7 @@ declare const registryItemSchema: z.ZodObject<{
195
195
  light?: Record<string, string> | undefined;
196
196
  dark?: Record<string, string> | undefined;
197
197
  } | undefined;
198
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
198
+ css?: Record<string, any> | undefined;
199
199
  envVars?: Record<string, string> | undefined;
200
200
  meta?: Record<string, any> | undefined;
201
201
  docs?: string | undefined;
@@ -234,7 +234,7 @@ declare const registryItemSchema: z.ZodObject<{
234
234
  light?: Record<string, string> | undefined;
235
235
  dark?: Record<string, string> | undefined;
236
236
  } | undefined;
237
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
237
+ css?: Record<string, any> | undefined;
238
238
  envVars?: Record<string, string> | undefined;
239
239
  meta?: Record<string, any> | undefined;
240
240
  docs?: string | undefined;
@@ -326,7 +326,7 @@ declare const registrySchema: z.ZodObject<{
326
326
  light?: Record<string, string> | undefined;
327
327
  dark?: Record<string, string> | undefined;
328
328
  }>>;
329
- css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>>>;
329
+ css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>;
330
330
  envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
331
331
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
332
332
  docs: z.ZodOptional<z.ZodString>;
@@ -365,7 +365,7 @@ declare const registrySchema: z.ZodObject<{
365
365
  light?: Record<string, string> | undefined;
366
366
  dark?: Record<string, string> | undefined;
367
367
  } | undefined;
368
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
368
+ css?: Record<string, any> | undefined;
369
369
  envVars?: Record<string, string> | undefined;
370
370
  meta?: Record<string, any> | undefined;
371
371
  docs?: string | undefined;
@@ -404,7 +404,7 @@ declare const registrySchema: z.ZodObject<{
404
404
  light?: Record<string, string> | undefined;
405
405
  dark?: Record<string, string> | undefined;
406
406
  } | undefined;
407
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
407
+ css?: Record<string, any> | undefined;
408
408
  envVars?: Record<string, string> | undefined;
409
409
  meta?: Record<string, any> | undefined;
410
410
  docs?: string | undefined;
@@ -447,7 +447,7 @@ declare const registrySchema: z.ZodObject<{
447
447
  light?: Record<string, string> | undefined;
448
448
  dark?: Record<string, string> | undefined;
449
449
  } | undefined;
450
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
450
+ css?: Record<string, any> | undefined;
451
451
  envVars?: Record<string, string> | undefined;
452
452
  meta?: Record<string, any> | undefined;
453
453
  docs?: string | undefined;
@@ -490,7 +490,7 @@ declare const registrySchema: z.ZodObject<{
490
490
  light?: Record<string, string> | undefined;
491
491
  dark?: Record<string, string> | undefined;
492
492
  } | undefined;
493
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
493
+ css?: Record<string, any> | undefined;
494
494
  envVars?: Record<string, string> | undefined;
495
495
  meta?: Record<string, any> | undefined;
496
496
  docs?: string | undefined;
@@ -580,7 +580,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
580
580
  light?: Record<string, string> | undefined;
581
581
  dark?: Record<string, string> | undefined;
582
582
  }>>;
583
- css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>>>;
583
+ css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>;
584
584
  envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
585
585
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
586
586
  docs: z.ZodOptional<z.ZodString>;
@@ -619,7 +619,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
619
619
  light?: Record<string, string> | undefined;
620
620
  dark?: Record<string, string> | undefined;
621
621
  } | undefined;
622
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
622
+ css?: Record<string, any> | undefined;
623
623
  envVars?: Record<string, string> | undefined;
624
624
  meta?: Record<string, any> | undefined;
625
625
  docs?: string | undefined;
@@ -658,7 +658,7 @@ declare const registryIndexSchema: z.ZodArray<z.ZodObject<{
658
658
  light?: Record<string, string> | undefined;
659
659
  dark?: Record<string, string> | undefined;
660
660
  } | undefined;
661
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
661
+ css?: Record<string, any> | undefined;
662
662
  envVars?: Record<string, string> | undefined;
663
663
  meta?: Record<string, any> | undefined;
664
664
  docs?: string | undefined;
@@ -831,7 +831,7 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
831
831
  light?: Record<string, string> | undefined;
832
832
  dark?: Record<string, string> | undefined;
833
833
  }>>;
834
- css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>]>>>>;
834
+ css: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<any, z.ZodTypeDef, any>>>;
835
835
  envVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
836
836
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
837
837
  docs: z.ZodOptional<z.ZodString>;
@@ -862,7 +862,7 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
862
862
  light?: Record<string, string> | undefined;
863
863
  dark?: Record<string, string> | undefined;
864
864
  } | undefined;
865
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
865
+ css?: Record<string, any> | undefined;
866
866
  envVars?: Record<string, string> | undefined;
867
867
  docs?: string | undefined;
868
868
  }, {
@@ -891,7 +891,7 @@ declare const registryResolvedItemsTreeSchema: z.ZodObject<Pick<{
891
891
  light?: Record<string, string> | undefined;
892
892
  dark?: Record<string, string> | undefined;
893
893
  } | undefined;
894
- css?: Record<string, string | Record<string, string | Record<string, string>>> | undefined;
894
+ css?: Record<string, any> | undefined;
895
895
  envVars?: Record<string, string> | undefined;
896
896
  docs?: string | undefined;
897
897
  }>;
@@ -1427,5 +1427,6 @@ declare const searchResultsSchema: z.ZodObject<{
1427
1427
  hasMore: boolean;
1428
1428
  };
1429
1429
  }>;
1430
+ declare const registriesIndexSchema: z.ZodRecord<z.ZodString, z.ZodString>;
1430
1431
 
1431
- export { type Registry, type RegistryItem, configSchema, iconsSchema, rawConfigSchema, registryBaseColorSchema, registryConfigItemSchema, registryConfigSchema, registryIndexSchema, registryItemCssSchema, registryItemCssVarsSchema, registryItemEnvVarsSchema, registryItemFileSchema, registryItemSchema, registryItemTailwindSchema, registryItemTypeSchema, registryResolvedItemsTreeSchema, registrySchema, searchResultItemSchema, searchResultsSchema, stylesSchema, workspaceConfigSchema };
1432
+ export { type Registry, type RegistryItem, configSchema, iconsSchema, rawConfigSchema, registriesIndexSchema, registryBaseColorSchema, registryConfigItemSchema, registryConfigSchema, registryIndexSchema, registryItemCssSchema, registryItemCssVarsSchema, registryItemEnvVarsSchema, registryItemFileSchema, registryItemSchema, registryItemTailwindSchema, registryItemTypeSchema, registryResolvedItemsTreeSchema, registrySchema, searchResultItemSchema, searchResultsSchema, stylesSchema, workspaceConfigSchema };
@@ -1,2 +1,2 @@
1
- export{q as configSchema,k as iconsSchema,p as rawConfigSchema,l as registryBaseColorSchema,n as registryConfigItemSchema,o as registryConfigSchema,i as registryIndexSchema,e as registryItemCssSchema,d as registryItemCssVarsSchema,f as registryItemEnvVarsSchema,b as registryItemFileSchema,g as registryItemSchema,c as registryItemTailwindSchema,a as registryItemTypeSchema,m as registryResolvedItemsTreeSchema,h as registrySchema,s as searchResultItemSchema,t as searchResultsSchema,j as stylesSchema,r as workspaceConfigSchema}from'../chunk-VVOKVGPU.js';//# sourceMappingURL=index.js.map
1
+ export{q as configSchema,k as iconsSchema,p as rawConfigSchema,u as registriesIndexSchema,l as registryBaseColorSchema,n as registryConfigItemSchema,o as registryConfigSchema,i as registryIndexSchema,e as registryItemCssSchema,d as registryItemCssVarsSchema,f as registryItemEnvVarsSchema,b as registryItemFileSchema,g as registryItemSchema,c as registryItemTailwindSchema,a as registryItemTypeSchema,m as registryResolvedItemsTreeSchema,h as registrySchema,s as searchResultItemSchema,t as searchResultsSchema,j as stylesSchema,r as workspaceConfigSchema}from'../chunk-OG5VNDVA.js';//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadcn",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Add components to your apps.",
5
5
  "publishConfig": {
6
6
  "access": "public"