shadcn 4.0.8 → 4.1.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-BT5UJFAL.js +33 -0
- package/dist/{chunk-DIKCRF5U.js → chunk-C7EWIKNS.js} +1 -1
- package/dist/chunk-SD5CAHKQ.js +1 -0
- package/dist/chunk-WLJDV6SE.js +2 -0
- package/dist/index.d.ts +294 -294
- package/dist/index.js +74 -74
- package/dist/mcp/index.js +1 -1
- package/dist/preset/index.d.ts +7 -2
- package/dist/preset/index.js +1 -1
- package/dist/registry/index.d.ts +4 -4
- package/dist/registry/index.js +1 -1
- package/dist/schema/index.d.ts +760 -760
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2QWB2ZQC.js +0 -33
- package/dist/chunk-ISTYEIAA.js +0 -1
- package/dist/chunk-JPE2JKEP.js +0 -2
package/dist/mcp/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as server}from'../chunk-
|
|
1
|
+
export{b as server}from'../chunk-C7EWIKNS.js';import'../chunk-BT5UJFAL.js';import'../chunk-HW2MEAJZ.js';import'../chunk-WLJDV6SE.js';import'../chunk-CHWMSXYA.js';
|
package/dist/preset/index.d.ts
CHANGED
|
@@ -2,8 +2,11 @@ declare const PRESET_BASES: readonly ["radix", "base"];
|
|
|
2
2
|
declare const PRESET_STYLES: readonly ["nova", "vega", "maia", "lyra", "mira"];
|
|
3
3
|
declare const PRESET_BASE_COLORS: readonly ["neutral", "stone", "zinc", "gray", "mauve", "olive", "mist", "taupe"];
|
|
4
4
|
declare const PRESET_THEMES: readonly ["neutral", "stone", "zinc", "gray", "amber", "blue", "cyan", "emerald", "fuchsia", "green", "indigo", "lime", "orange", "pink", "purple", "red", "rose", "sky", "teal", "violet", "yellow", "mauve", "olive", "mist", "taupe"];
|
|
5
|
+
declare const PRESET_CHART_COLORS: readonly ["neutral", "stone", "zinc", "gray", "amber", "blue", "cyan", "emerald", "fuchsia", "green", "indigo", "lime", "orange", "pink", "purple", "red", "rose", "sky", "teal", "violet", "yellow", "mauve", "olive", "mist", "taupe"];
|
|
6
|
+
declare const V1_CHART_COLOR_MAP: Record<string, string>;
|
|
5
7
|
declare const PRESET_ICON_LIBRARIES: readonly ["lucide", "hugeicons", "tabler", "phosphor", "remixicon"];
|
|
6
|
-
declare const PRESET_FONTS: readonly ["inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "jetbrains-mono", "geist", "geist-mono", "lora", "merriweather", "playfair-display", "noto-serif", "roboto-slab"];
|
|
8
|
+
declare const PRESET_FONTS: readonly ["inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "jetbrains-mono", "geist", "geist-mono", "lora", "merriweather", "playfair-display", "noto-serif", "roboto-slab", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans"];
|
|
9
|
+
declare const PRESET_FONT_HEADINGS: readonly ["inherit", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "jetbrains-mono", "geist", "geist-mono", "lora", "merriweather", "playfair-display", "noto-serif", "roboto-slab", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans"];
|
|
7
10
|
declare const PRESET_RADII: readonly ["default", "none", "small", "medium", "large"];
|
|
8
11
|
declare const PRESET_MENU_ACCENTS: readonly ["subtle", "bold"];
|
|
9
12
|
declare const PRESET_MENU_COLORS: readonly ["default", "inverted", "default-translucent", "inverted-translucent"];
|
|
@@ -11,8 +14,10 @@ type PresetConfig = {
|
|
|
11
14
|
style: (typeof PRESET_STYLES)[number];
|
|
12
15
|
baseColor: (typeof PRESET_BASE_COLORS)[number];
|
|
13
16
|
theme: (typeof PRESET_THEMES)[number];
|
|
17
|
+
chartColor?: (typeof PRESET_CHART_COLORS)[number];
|
|
14
18
|
iconLibrary: (typeof PRESET_ICON_LIBRARIES)[number];
|
|
15
19
|
font: (typeof PRESET_FONTS)[number];
|
|
20
|
+
fontHeading: (typeof PRESET_FONT_HEADINGS)[number];
|
|
16
21
|
radius: (typeof PRESET_RADII)[number];
|
|
17
22
|
menuAccent: (typeof PRESET_MENU_ACCENTS)[number];
|
|
18
23
|
menuColor: (typeof PRESET_MENU_COLORS)[number];
|
|
@@ -27,4 +32,4 @@ declare function isValidPreset(code: string): boolean;
|
|
|
27
32
|
declare function generateRandomConfig(): PresetConfig;
|
|
28
33
|
declare function generateRandomPreset(): string;
|
|
29
34
|
|
|
30
|
-
export { DEFAULT_PRESET_CONFIG, PRESET_BASES, PRESET_BASE_COLORS, PRESET_FONTS, PRESET_ICON_LIBRARIES, PRESET_MENU_ACCENTS, PRESET_MENU_COLORS, PRESET_RADII, PRESET_STYLES, PRESET_THEMES, type PresetConfig, decodePreset, encodePreset, fromBase62, generateRandomConfig, generateRandomPreset, isPresetCode, isValidPreset, toBase62 };
|
|
35
|
+
export { DEFAULT_PRESET_CONFIG, PRESET_BASES, PRESET_BASE_COLORS, PRESET_CHART_COLORS, PRESET_FONTS, PRESET_FONT_HEADINGS, PRESET_ICON_LIBRARIES, PRESET_MENU_ACCENTS, PRESET_MENU_COLORS, PRESET_RADII, PRESET_STYLES, PRESET_THEMES, type PresetConfig, V1_CHART_COLOR_MAP, decodePreset, encodePreset, fromBase62, generateRandomConfig, generateRandomPreset, isPresetCode, isValidPreset, toBase62 };
|
package/dist/preset/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{m as DEFAULT_PRESET_CONFIG,a as PRESET_BASES,c as PRESET_BASE_COLORS,e as PRESET_CHART_COLORS,h as PRESET_FONTS,i as PRESET_FONT_HEADINGS,g as PRESET_ICON_LIBRARIES,k as PRESET_MENU_ACCENTS,l as PRESET_MENU_COLORS,j as PRESET_RADII,b as PRESET_STYLES,d as PRESET_THEMES,f as V1_CHART_COLOR_MAP,q as decodePreset,p as encodePreset,o as fromBase62,t as generateRandomConfig,u as generateRandomPreset,r as isPresetCode,s as isValidPreset,n as toBase62}from'../chunk-SD5CAHKQ.js';
|
package/dist/registry/index.d.ts
CHANGED
|
@@ -11,17 +11,17 @@ declare function searchRegistries(registries: string[], options?: {
|
|
|
11
11
|
useCache?: boolean;
|
|
12
12
|
}): Promise<{
|
|
13
13
|
items: {
|
|
14
|
-
name: string;
|
|
15
14
|
registry: string;
|
|
15
|
+
name: string;
|
|
16
16
|
addCommandArgument: string;
|
|
17
|
-
description?: string | undefined;
|
|
18
17
|
type?: string | undefined;
|
|
18
|
+
description?: string | undefined;
|
|
19
19
|
}[];
|
|
20
20
|
pagination: {
|
|
21
21
|
total: number;
|
|
22
|
-
hasMore: boolean;
|
|
23
|
-
limit: number;
|
|
24
22
|
offset: number;
|
|
23
|
+
limit: number;
|
|
24
|
+
hasMore: boolean;
|
|
25
25
|
};
|
|
26
26
|
}>;
|
|
27
27
|
|
package/dist/registry/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{p as RegistriesIndexParseError,f as RegistryError,j as RegistryFetchError,i as RegistryForbiddenError,o as RegistryInvalidNamespaceError,l as RegistryLocalFileError,n as RegistryMissingEnvironmentVariablesError,k as RegistryNotConfiguredError,g as RegistryNotFoundError,m as RegistryParseError,h as RegistryUnauthorizedError,ma as getRegistries,na as getRegistriesIndex,aa as getRegistry,ba as getRegistryItems,ca as resolveRegistryItems,va as searchRegistries}from'../chunk-
|
|
1
|
+
export{p as RegistriesIndexParseError,f as RegistryError,j as RegistryFetchError,i as RegistryForbiddenError,o as RegistryInvalidNamespaceError,l as RegistryLocalFileError,n as RegistryMissingEnvironmentVariablesError,k as RegistryNotConfiguredError,g as RegistryNotFoundError,m as RegistryParseError,h as RegistryUnauthorizedError,ma as getRegistries,na as getRegistriesIndex,aa as getRegistry,ba as getRegistryItems,ca as resolveRegistryItems,va as searchRegistries}from'../chunk-BT5UJFAL.js';import'../chunk-HW2MEAJZ.js';import'../chunk-WLJDV6SE.js';import'../chunk-CHWMSXYA.js';
|