SYMBOL INDEX (884 symbols across 245 files) FILE: apps/v4/components/Icons.ts type IconProps (line 5) | interface IconProps { function createIcon (line 11) | function createIcon(svgContent: (props: IconProps) => VNode) { function getIconForLanguageExtension (line 310) | function getIconForLanguageExtension(language: string) { FILE: apps/v4/components/examples/playground/data/models.ts type ModelType (line 3) | type ModelType = (typeof types)[number] type Model (line 5) | interface Model { FILE: apps/v4/components/examples/playground/data/presets.ts type Preset (line 1) | interface Preset { FILE: apps/v4/components/examples/tasks/data/schema.ts type Task (line 13) | type Task = z.infer FILE: apps/v4/composables/useColor.ts constant COOKIE_NAME (line 4) | const COOKIE_NAME = 'color_config' type Config (line 5) | interface Config { function useColors (line 10) | function useColors() { FILE: apps/v4/composables/useDesignSystemProvider.ts function useDesignSystemProvider (line 5) | function useDesignSystemProvider() { FILE: apps/v4/composables/useDesignSystemSearchParams.ts function useDesignSystemSearchParams (line 5) | function useDesignSystemSearchParams(mode: 'push' | 'replace' = 'push') { type DesignSystemSearchParams (line 66) | type DesignSystemSearchParams = Record function getColorFormat (line 25) | function getColorFormat(color: Color) { type ColorFormat (line 36) | type ColorFormat = keyof ReturnType function getColors (line 38) | function getColors() { type Color (line 80) | type Color = ReturnType[number]['colors'][number] function getForegroundFromBackground (line 82) | function getForegroundFromBackground(rgb: string) { FILE: apps/v4/lib/config.ts constant META_THEME_COLORS (line 39) | const META_THEME_COLORS = { FILE: apps/v4/lib/constants.ts constant ALLOWED_ITEM_TYPES (line 1) | const ALLOWED_ITEM_TYPES = ['registry:block', 'registry:example'] FILE: apps/v4/lib/create.ts function groupItemsByType (line 26) | function groupItemsByType( FILE: apps/v4/lib/fonts.ts constant FONTS (line 1) | const FONTS = [ type Font (line 81) | type Font = (typeof FONTS)[number] FILE: apps/v4/lib/registry-utils.ts function fixImport (line 1) | function fixImport(content: string) { FILE: apps/v4/lib/registry.ts function getRegistryComponent (line 14) | function getRegistryComponent(name: string) { function getRegistryItem (line 18) | async function getRegistryItem(name: string) { function getFileContent (line 65) | async function getFileContent(file: z.infer) { function createTempSourceFile (line 119) | async function createTempSourceFile(filename: string) { function fixFilePaths (line 124) | function fixFilePaths(files: z.infer['files']) { type FileTree (line 142) | interface FileTree { function createFileTreeForRegistryItemFiles (line 148) | function createFileTreeForRegistryItemFiles( FILE: apps/v4/lib/themes.ts constant THEMES (line 1) | const THEMES = [ type Theme (line 31) | type Theme = (typeof THEMES)[number] FILE: apps/v4/lib/utils.ts function cn (line 6) | function cn(...inputs: ClassValue[]) { function valueUpdater (line 10) | function valueUpdater>(updaterOrValue: T, ref: Re... FILE: apps/v4/registry/_legacy-base-colors.ts type BaseColor (line 756) | type BaseColor = (typeof baseColors)[number] FILE: apps/v4/registry/base-colors.ts constant BASE_COLORS (line 3) | const BASE_COLORS = THEMES.filter(theme => type BaseColor (line 7) | type BaseColor = (typeof BASE_COLORS)[number] FILE: apps/v4/registry/bases.ts constant BASES (line 4) | const BASES: z.infer[] = [ type Base (line 51) | type Base = (typeof BASES)[number] FILE: apps/v4/registry/bases/reka/lib/utils.ts function cn (line 5) | function cn(...inputs: ClassValue[]) { FILE: apps/v4/registry/bases/reka/ui/alert/index.ts type AlertVariants (line 21) | type AlertVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/avatar/index.ts type AvatarVariants (line 27) | type AvatarVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/badge/index.ts type BadgeVariants (line 24) | type BadgeVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/button-group/index.ts type ButtonGroupVariants (line 25) | type ButtonGroupVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/button/index.ts type ButtonVariants (line 35) | type ButtonVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/calendar/index.ts type LayoutTypes (line 14) | type LayoutTypes = "month-and-year" | "month-only" | "year-only" | undef... FILE: apps/v4/registry/bases/reka/ui/carousel/interface.ts type CarouselApi (line 7) | type CarouselApi = EmblaCarouselVueType[1] type UseCarouselParameters (line 8) | type UseCarouselParameters = Parameters type CarouselOptions (line 9) | type CarouselOptions = UseCarouselParameters[0] type CarouselPlugin (line 10) | type CarouselPlugin = UseCarouselParameters[1] type UnwrapRefCarouselApi (line 12) | type UnwrapRefCarouselApi = UnwrapRef type CarouselProps (line 14) | interface CarouselProps { type CarouselEmits (line 20) | interface CarouselEmits { type WithClassAsProps (line 24) | interface WithClassAsProps { FILE: apps/v4/registry/bases/reka/ui/carousel/useCarousel.ts function scrollPrev (line 17) | function scrollPrev() { function scrollNext (line 20) | function scrollNext() { function onSelect (line 27) | function onSelect(api: CarouselApi) { function useCarousel (line 47) | function useCarousel() { FILE: apps/v4/registry/bases/reka/ui/chart/index.ts constant THEMES (line 10) | const THEMES = { light: "", dark: ".dark" } as const type ChartConfig (line 12) | type ChartConfig = { type ChartContextProps (line 22) | interface ChartContextProps { FILE: apps/v4/registry/bases/reka/ui/chart/utils.ts function serializeKey (line 10) | function serializeKey(key: Record): string { type Constructor (line 14) | interface Constructor

{ function componentToString (line 23) | function componentToString

(config: ChartConfig, component: Constructo... FILE: apps/v4/registry/bases/reka/ui/empty/index.ts type EmptyMediaVariants (line 26) | type EmptyMediaVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/field/index.ts type FieldVariants (line 28) | type FieldVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/form/injectionKeys.ts constant FORM_ITEM_INJECTION_KEY (line 3) | const FORM_ITEM_INJECTION_KEY FILE: apps/v4/registry/bases/reka/ui/form/useFormField.ts function useFormField (line 5) | function useFormField() { FILE: apps/v4/registry/bases/reka/ui/input-group/index.ts type InputGroupVariants (line 34) | type InputGroupVariants = VariantProps type InputGroupButtonVariants (line 53) | type InputGroupButtonVariants = VariantProps type ItemMediaVariants (line 55) | type ItemMediaVariants = VariantProps FILE: apps/v4/registry/bases/reka/ui/sidebar/index.ts type SidebarProps (line 5) | interface SidebarProps { type SidebarMenuButtonVariants (line 59) | type SidebarMenuButtonVariants = VariantProps(updaterOrValue: Updater, ref: Ref) { FILE: apps/v4/registry/bases/reka/ui/toggle/index.ts type ToggleVariants (line 27) | type ToggleVariants = VariantProps FILE: apps/v4/registry/config.ts constant SHADCN_VERSION (line 15) | const SHADCN_VERSION = "latest" type BaseName (line 24) | type BaseName = Base["name"] type StyleName (line 25) | type StyleName = Style["name"] type ThemeName (line 26) | type ThemeName = Theme["name"] type BaseColorName (line 27) | type BaseColorName = BaseColor["name"] type FontValue (line 35) | type FontValue = (typeof fontValues)[number] constant MENU_ACCENTS (line 37) | const MENU_ACCENTS = [ type MenuAccent (line 42) | type MenuAccent = (typeof MENU_ACCENTS)[number] type MenuAccentValue (line 43) | type MenuAccentValue = MenuAccent["value"] constant MENU_COLORS (line 45) | const MENU_COLORS = [ type MenuColor (line 50) | type MenuColor = (typeof MENU_COLORS)[number] type MenuColorValue (line 52) | type MenuColorValue = MenuColor["value"] constant RADII (line 54) | const RADII = [ type Radius (line 62) | type Radius = (typeof RADII)[number] type RadiusValue (line 64) | type RadiusValue = Radius["name"] type DesignSystemConfig (line 110) | type DesignSystemConfig = z.infer constant DEFAULT_CONFIG (line 112) | const DEFAULT_CONFIG: DesignSystemConfig = { type Preset (line 126) | type Preset = { constant PRESETS (line 132) | const PRESETS: Preset[] = [ function getThemesForBaseColor (line 210) | function getThemesForBaseColor(baseColorName: string) { function getBase (line 221) | function getBase(name: BaseName) { function getStyle (line 225) | function getStyle(name: StyleName) { function getTheme (line 229) | function getTheme(name: ThemeName) { function getBaseColor (line 233) | function getBaseColor(name: BaseColorName) { function getIconLibrary (line 237) | function getIconLibrary(name: IconLibraryName) { function buildRegistryTheme (line 242) | function buildRegistryTheme(config: DesignSystemConfig) { function buildRegistryBase (line 295) | function buildRegistryBase(config: DesignSystemConfig) { FILE: apps/v4/registry/icons/create-icon-loader.ts function getCache (line 16) | function getCache(libraryName: string) { function isIconData (line 23) | function isIconData(data: any): data is unknown[] { function createIconLoader (line 27) | function createIconLoader(libraryName: IconLibraryName) { FILE: apps/v4/registry/index.ts constant DEPRECATED_ITEMS (line 12) | const DEPRECATED_ITEMS = [ constant NEW_YORK_V4_STYLE (line 22) | const NEW_YORK_V4_STYLE = { FILE: apps/v4/registry/new-york-v4/blocks/_meta.ts type BlockMeta (line 1) | interface BlockMeta { FILE: apps/v4/registry/new-york-v4/lib/utils.ts function cn (line 5) | function cn(...inputs: ClassValue[]) { FILE: apps/v4/registry/new-york-v4/ui/alert/index.ts type AlertVariants (line 24) | type AlertVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/badge/index.ts type BadgeVariants (line 26) | type BadgeVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/button-group/index.ts type ButtonGroupVariants (line 25) | type ButtonGroupVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/button/index.ts type ButtonVariants (line 38) | type ButtonVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/calendar/index.ts type LayoutTypes (line 14) | type LayoutTypes = "month-and-year" | "month-only" | "year-only" | undef... FILE: apps/v4/registry/new-york-v4/ui/carousel/interface.ts type CarouselApi (line 7) | type CarouselApi = EmblaCarouselVueType[1] type UseCarouselParameters (line 8) | type UseCarouselParameters = Parameters type CarouselOptions (line 9) | type CarouselOptions = UseCarouselParameters[0] type CarouselPlugin (line 10) | type CarouselPlugin = UseCarouselParameters[1] type UnwrapRefCarouselApi (line 12) | type UnwrapRefCarouselApi = UnwrapRef type CarouselProps (line 14) | interface CarouselProps { type CarouselEmits (line 20) | interface CarouselEmits { type WithClassAsProps (line 24) | interface WithClassAsProps { FILE: apps/v4/registry/new-york-v4/ui/carousel/useCarousel.ts function scrollPrev (line 17) | function scrollPrev() { function scrollNext (line 20) | function scrollNext() { function onSelect (line 27) | function onSelect(api: CarouselApi) { function useCarousel (line 47) | function useCarousel() { FILE: apps/v4/registry/new-york-v4/ui/chart/index.ts constant THEMES (line 10) | const THEMES = { light: "", dark: ".dark" } as const type ChartConfig (line 12) | type ChartConfig = { type ChartContextProps (line 22) | interface ChartContextProps { FILE: apps/v4/registry/new-york-v4/ui/chart/utils.ts function serializeKey (line 10) | function serializeKey(key: Record): string { type Constructor (line 14) | interface Constructor

{ function componentToString (line 23) | function componentToString

(config: ChartConfig, component: Constructo... FILE: apps/v4/registry/new-york-v4/ui/empty/index.ts type EmptyMediaVariants (line 26) | type EmptyMediaVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/field/index.ts type FieldVariants (line 28) | type FieldVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/form/injectionKeys.ts constant FORM_ITEM_INJECTION_KEY (line 3) | const FORM_ITEM_INJECTION_KEY FILE: apps/v4/registry/new-york-v4/ui/form/useFormField.ts function useFormField (line 5) | function useFormField() { FILE: apps/v4/registry/new-york-v4/ui/input-group/index.ts type InputGroupVariants (line 32) | type InputGroupVariants = VariantProps type InputGroupButtonVariants (line 51) | type InputGroupButtonVariants = VariantProps type ItemMediaVariants (line 54) | type ItemMediaVariants = VariantProps FILE: apps/v4/registry/new-york-v4/ui/sidebar/index.ts type SidebarProps (line 5) | interface SidebarProps { type SidebarMenuButtonVariants (line 60) | type SidebarMenuButtonVariants = VariantProps(updaterOrValue: Updater, ref: Ref) { FILE: apps/v4/registry/new-york-v4/ui/toggle/index.ts type ToggleVariants (line 28) | type ToggleVariants = VariantProps FILE: apps/v4/registry/styles.ts constant STYLES (line 1) | const STYLES = [ type Style (line 119) | type Style = (typeof STYLES)[number] FILE: apps/v4/registry/themes.ts constant THEMES (line 3) | const THEMES: RegistryItem[] = [ type Theme (line 864) | type Theme = (typeof THEMES)[number] FILE: apps/v4/scripts/build-registry.ts function writeFile (line 13) | async function writeFile(path: string, payload: any) { function getCrawlFunction (line 24) | function getCrawlFunction(crawlType: RegistryContentType['crawlType']) { function buildRegistryContentType (line 38) | async function buildRegistryContentType( function buildBaseRegistry (line 75) | async function buildBaseRegistry(base: RegistryBase) { function buildRegistryIndex (line 94) | async function buildRegistryIndex() { function buildRegistryJsonFile (line 151) | async function buildRegistryJsonFile(base: RegistryBase) { function buildRegistry (line 205) | async function buildRegistry(base: RegistryBase, tempRegistryPath: strin... function buildPublicIndex (line 271) | async function buildPublicIndex() { function buildBlocksIndex (line 284) | async function buildBlocksIndex() { function buildBasesIndex (line 305) | async function buildBasesIndex() { function main (line 403) | async function main() { FILE: apps/v4/scripts/crawl-content.ts type RegistryFile (line 3) | type RegistryFile = NonNullable[number] constant BLOCK_TITLE_MAP (line 11) | const BLOCK_TITLE_MAP: Record = { constant DEPENDENCIES (line 19) | const DEPENDENCIES = new Map([ constant REGISTRY_DEPENDENCY (line 32) | const REGISTRY_DEPENDENCY = '@/' function sanitizeString (line 34) | function sanitizeString(input: string): string { function getChartCategories (line 46) | function getChartCategories(componentName: string): string[] { function crawlUI (line 63) | async function crawlUI(rootPath: string) { function crawlExample (line 80) | async function crawlExample(rootPath: string) { function crawlBlock (line 141) | async function crawlBlock(rootPath: string) { function crawlChart (line 194) | async function crawlChart(rootPath: string) { function crawlComposables (line 240) | async function crawlComposables(rootPath: string) { function buildUIRegistry (line 275) | async function buildUIRegistry(componentPath: string, componentName: str... function buildBlockRegistry (line 316) | async function buildBlockRegistry(blockPath: string, blockName: string) { function getFileDependencies (line 358) | async function getFileDependencies(filename: string, sourceCode: string) { function getBlockMetadata (line 404) | async function getBlockMetadata(filename: string, sourceCode: string) { FILE: apps/v4/scripts/generate-base-registry.ts function generateBaseRegistryFile (line 10) | async function generateBaseRegistryFile(base: RegistryBase) { function generateSubdirectoryRegistry (line 84) | async function generateSubdirectoryRegistry( function main (line 156) | async function main() { FILE: apps/v4/scripts/registry.config.ts type RegistryContentType (line 3) | interface RegistryContentType { type RegistryBase (line 16) | interface RegistryBase { FILE: apps/v4/scripts/seed-d1.ts constant OUTPUT_DIR (line 17) | const OUTPUT_DIR = resolve(import.meta.dirname, '../.output') constant DUMP_FILE (line 18) | const DUMP_FILE = resolve(OUTPUT_DIR, 'public/dump.content.sql') constant SEED_SQL_FILE (line 19) | const SEED_SQL_FILE = resolve(OUTPUT_DIR, 'seed.sql') constant WRANGLER_SERVER_DIR (line 22) | const WRANGLER_SERVER_DIR = resolve(OUTPUT_DIR, 'server') function stripRawbody (line 41) | function stripRawbody(stmt: string): string { constant D1_STMT_LIMIT (line 90) | const D1_STMT_LIMIT = 95_000 // bytes, conservative below D1's 100KB limit FILE: apps/v4/server/api/block/[name].ts function getFileTree (line 27) | async function getFileTree(files: Array<{ path: string, target?: string ... function getHighlightedFiles (line 35) | async function getHighlightedFiles(files: z.infer v... FILE: deprecated/www/.vitepress/theme/components/theming/utils/data.ts type Color (line 5) | type Color type TeamMember (line 41) | interface TeamMember { type Role (line 49) | interface Role { type Payments (line 119) | interface Payments { FILE: deprecated/www/.vitepress/theme/config/docs.ts type NavItem (line 3) | interface NavItem { type SidebarNavItem (line 12) | type SidebarNavItem = NavItem & { type NavItemWithChildren (line 16) | type NavItemWithChildren = NavItem & { type DocsConfig (line 20) | interface DocsConfig { function transformSidebarNavItemToVitePressSidebarItem (line 31) | function transformSidebarNavItemToVitePressSidebarItem(item: SidebarNavI... function transformSidebarNavToVitePressSidebar (line 46) | function transformSidebarNavToVitePressSidebar(items: SidebarNavItem[]):... type Example (line 473) | interface Example { FILE: deprecated/www/.vitepress/theme/config/shiki.ts function highlight (line 22) | function highlight(code: string, lang: string) { FILE: deprecated/www/.vitepress/theme/index.ts method enhanceApp (line 14) | enhanceApp({ app }) { FILE: deprecated/www/.vitepress/theme/plugins/previewer.ts function addRenderRule (line 5) | function addRenderRule(type: string) { FILE: deprecated/www/.vitepress/theme/plugins/utils.ts type GenerateOptions (line 6) | interface GenerateOptions { function isUndefined (line 13) | function isUndefined(v: any): v is undefined { function getPropsMap (line 17) | function getPropsMap(attrs: any[]) { function parseProps (line 35) | function parseProps(content: string) { FILE: deprecated/www/.vitepress/theme/types/colors.ts type Color (line 1) | type Color FILE: deprecated/www/.vitepress/theme/types/docs.ts type TableOfContentsItem (line 1) | interface TableOfContentsItem { type TableOfContents (line 8) | interface TableOfContents { FILE: deprecated/www/.vitepress/theme/utils/codeeditor.ts function makeCodeSandboxParams (line 8) | function makeCodeSandboxParams(componentName: string, style: RegistrySty... function makeStackblitzParams (line 21) | function makeStackblitzParams(componentName: string, style: RegistryStyl... function constructFiles (line 72) | function constructFiles(componentName: string, style: RegistryStyle, sou... FILE: deprecated/www/scripts/autogen.ts constant ROOTPATH (line 14) | const ROOTPATH = '../' constant OUTPUTPATH (line 15) | const OUTPUTPATH = '../src/content/meta' function parseTypeFromSchema (line 64) | function parseTypeFromSchema(schema: PropertyMetaSchema): string { function parseMeta (line 88) | function parseMeta(meta: ComponentMeta) { FILE: deprecated/www/scripts/build-registry.ts type RegistryEntry (line 24) | type RegistryEntry = z.infer constant METADATA_NAME (line 26) | const METADATA_NAME = 'metadata.json' constant REGISTRY_PATH (line 27) | const REGISTRY_PATH = path.join(process.cwd(), 'src/public/r') constant REGISTRY_INDEX_WHITELIST (line 29) | const REGISTRY_INDEX_WHITELIST: z.infer[]... function syncStyles (line 43) | async function syncStyles() { function buildRegistry (line 98) | async function buildRegistry(registry: Registry) { function buildStyles (line 309) | async function buildStyles(registry: Registry) { function buildStylesIndex (line 436) | async function buildStylesIndex() { function buildThemes (line 468) | async function buildThemes() { function buildIcons (line 767) | async function buildIcons() { function buildRegistryIcons (line 785) | async function buildRegistryIcons() { function generateRegistryFiles (line 825) | async function generateRegistryFiles(allItems: RegistryItem[]) { function generateRegistryFile (line 866) | async function generateRegistryFile(filename: string, exportName: string... function writeFile (line 878) | async function writeFile(path: string, payload: any) { function syncRegistry (line 886) | async function syncRegistry() { FILE: deprecated/www/scripts/fix-import.ts function fixImport (line 1) | function fixImport(content: string) { FILE: deprecated/www/src/components.d.ts type GlobalComponents (line 7) | interface GlobalComponents { FILE: deprecated/www/src/content/blocks/[categories].paths.ts method paths (line 7) | paths() { FILE: deprecated/www/src/examples/mail/data/mails.ts type Mail (line 174) | type Mail = (typeof mails)[number] type Account (line 194) | type Account = (typeof accounts)[number] type Contact (line 279) | type Contact = (typeof contacts)[number] FILE: deprecated/www/src/examples/music/data/albums.ts type Album (line 1) | interface Album { FILE: deprecated/www/src/examples/music/data/playlists.ts type Playlist (line 1) | type Playlist = (typeof playlists)[number] FILE: deprecated/www/src/examples/playground/data/models.ts type ModelType (line 3) | type ModelType = (typeof types)[number] type Model (line 5) | interface Model { FILE: deprecated/www/src/examples/playground/data/presets.ts type Preset (line 1) | interface Preset { FILE: deprecated/www/src/examples/tasks/data/schema.ts type Task (line 13) | type Task = z.infer FILE: deprecated/www/src/lib/utils.ts function cn (line 7) | function cn(...inputs: ClassValue[]) { function valueUpdater (line 11) | function valueUpdater>(updaterOrValue: T, ref: Re... FILE: deprecated/www/src/registry/crawl-content.ts type RegistryFile (line 3) | type RegistryFile = NonNullable[number] constant DEPENDENCIES (line 13) | const DEPENDENCIES = new Map([ constant REGISTRY_DEPENDENCY (line 24) | const REGISTRY_DEPENDENCY = "@/" function getCategories (line 26) | function getCategories(text: string): string[] { function buildRegistry (line 41) | async function buildRegistry() { function sanitizeString (line 64) | function sanitizeString(input: string): string { function crawlUI (line 71) | async function crawlUI(rootPath: string) { function crawlExample (line 88) | async function crawlExample(rootPath: string) { function crawlBlock (line 128) | async function crawlBlock(rootPath: string) { function crawlChart (line 180) | async function crawlChart(rootPath: string) { function crawlComposables (line 230) | async function crawlComposables(rootPath: string) { function buildUIRegistry (line 266) | async function buildUIRegistry(componentPath: string, componentName: str... function buildBlockRegistry (line 308) | async function buildBlockRegistry(blockPath: string, blockName: string) { function getFileDependencies (line 347) | async function getFileDependencies(filename: string, sourceCode: string) { function getBlockMetadata (line 393) | async function getBlockMetadata(filename: string, sourceCode: string) { FILE: deprecated/www/src/registry/default/lib/utils.ts function cn (line 7) | function cn(...inputs: ClassValue[]) { function valueUpdater (line 11) | function valueUpdater>(updaterOrValue: T, ref: Re... FILE: deprecated/www/src/registry/default/ui/alert/index.ts type AlertVariants (line 24) | type AlertVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/auto-form/constant.ts constant INPUT_COMPONENTS (line 11) | const INPUT_COMPONENTS: InputComponents = { constant DEFAULT_ZOD_HANDLERS (line 29) | const DEFAULT_ZOD_HANDLERS: { FILE: deprecated/www/src/registry/default/ui/auto-form/dependencies.ts function useDependencies (line 12) | function useDependencies( FILE: deprecated/www/src/registry/default/ui/auto-form/interface.ts type FieldProps (line 5) | interface FieldProps { type Shape (line 13) | interface Shape { type InputComponents (line 21) | interface InputComponents { type ConfigItem (line 35) | interface ConfigItem { type UnwrapArray (line 48) | type UnwrapArray = T extends (infer U)[] ? U : never type Config (line 50) | type Config = { type DependencyType (line 60) | enum DependencyType { type BaseDependency (line 67) | interface BaseDependency>> type EnumValues (line 82) | type EnumValues = readonly [string, ...string[]] type OptionsDependency (line 84) | type OptionsDependency< type Dependency (line 93) | type Dependency>> FILE: deprecated/www/src/registry/default/ui/auto-form/utils.ts type ZodObjectOrWrapped (line 4) | type ZodObjectOrWrapped function beautifyObjectName (line 12) | function beautifyObjectName(string: string) { function getIndexIfArray (line 25) | function getIndexIfArray(string: string) { function getBaseSchema (line 38) | function getBaseSchema< function getBaseType (line 56) | function getBaseType(schema: z.ZodAny) { function getDefaultValueInZodStack (line 64) | function getDefaultValueInZodStack(schema: z.ZodAny): any { function getObjectFormSchema (line 86) | function getObjectFormSchema( function isIndex (line 96) | function isIndex(value: unknown): value is number { function normalizeFormPath (line 102) | function normalizeFormPath(path: string): string { type NestedRecord (line 120) | type NestedRecord = Record | { [k: string]: NestedRecord } function isNotNestedPath (line 124) | function isNotNestedPath(path: string) { function isObject (line 127) | function isObject(obj: unknown): obj is Record { function isContainerValue (line 130) | function isContainerValue(value: unknown): value is Record( type Booleanish (line 173) | type Booleanish = boolean | "true" | "false" function booleanishToBoolean (line 175) | function booleanishToBoolean(value: Booleanish) { function maybeBooleanishToBoolean (line 186) | function maybeBooleanishToBoolean(value?: Booleanish) { FILE: deprecated/www/src/registry/default/ui/avatar/index.ts type AvatarVariants (line 25) | type AvatarVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/badge/index.ts type BadgeVariants (line 26) | type BadgeVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/button-group/index.ts type ButtonGroupVariants (line 25) | type ButtonGroupVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/button/index.ts type ButtonVariants (line 37) | type ButtonVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/carousel/interface.ts type CarouselApi (line 7) | type CarouselApi = EmblaCarouselVueType[1] type UseCarouselParameters (line 8) | type UseCarouselParameters = Parameters type CarouselOptions (line 9) | type CarouselOptions = UseCarouselParameters[0] type CarouselPlugin (line 10) | type CarouselPlugin = UseCarouselParameters[1] type UnwrapRefCarouselApi (line 12) | type UnwrapRefCarouselApi = UnwrapRef type CarouselProps (line 14) | interface CarouselProps { type CarouselEmits (line 20) | interface CarouselEmits { type WithClassAsProps (line 24) | interface WithClassAsProps { FILE: deprecated/www/src/registry/default/ui/carousel/useCarousel.ts function scrollPrev (line 17) | function scrollPrev() { function scrollNext (line 20) | function scrollNext() { function onSelect (line 27) | function onSelect(api: CarouselApi) { function useCarousel (line 47) | function useCarousel() { FILE: deprecated/www/src/registry/default/ui/chart-area/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/default/ui/chart-bar/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/default/ui/chart-donut/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/default/ui/chart-line/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/default/ui/chart/index.ts function defaultColors (line 6) | function defaultColors(count: number = 3) { FILE: deprecated/www/src/registry/default/ui/chart/interface.ts type KeyOf (line 3) | type KeyOf> = Extract type BaseChartProps (line 5) | interface BaseChartProps> { FILE: deprecated/www/src/registry/default/ui/empty/index.ts type EmptyMediaVariants (line 26) | type EmptyMediaVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/field/index.ts type FieldVariants (line 28) | type FieldVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/form/injectionKeys.ts constant FORM_ITEM_INJECTION_KEY (line 3) | const FORM_ITEM_INJECTION_KEY FILE: deprecated/www/src/registry/default/ui/form/useFormField.ts function useFormField (line 5) | function useFormField() { FILE: deprecated/www/src/registry/default/ui/input-group/index.ts type InputGroupVariants (line 34) | type InputGroupVariants = VariantProps type InputGroupButtonVariants (line 53) | type InputGroupButtonVariants = VariantProps type ItemMediaVariants (line 54) | type ItemMediaVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/sheet/index.ts type SheetVariants (line 32) | type SheetVariants = VariantProps FILE: deprecated/www/src/registry/default/ui/sidebar/index.ts type SidebarProps (line 5) | interface SidebarProps { type SidebarMenuButtonVariants (line 60) | type SidebarMenuButtonVariants = VariantProps type ToastProps (line 35) | interface ToastProps extends ToastRootProps { FILE: deprecated/www/src/registry/default/ui/toast/use-toast.ts constant TOAST_LIMIT (line 5) | const TOAST_LIMIT = 1 constant TOAST_REMOVE_DELAY (line 6) | const TOAST_REMOVE_DELAY = 1000000 type StringOrVNode (line 8) | type StringOrVNode type ToasterToast (line 13) | type ToasterToast = ToastProps & { function genId (line 29) | function genId() { type ActionType (line 34) | type ActionType = typeof actionTypes type Action (line 36) | type Action type State (line 54) | interface State { function addToRemoveQueue (line 60) | function addToRemoveQueue(toastId: string) { function dispatch (line 79) | function dispatch(action: Action) { function useToast (line 124) | function useToast() { type Toast (line 132) | type Toast = Omit function toast (line 134) | function toast(props: Toast) { FILE: deprecated/www/src/registry/default/ui/toggle/index.ts type ToggleVariants (line 28) | type ToggleVariants = VariantProps FILE: deprecated/www/src/registry/new-york/lib/utils.ts function cn (line 7) | function cn(...inputs: ClassValue[]) { function valueUpdater (line 11) | function valueUpdater>(updaterOrValue: T, ref: Re... FILE: deprecated/www/src/registry/new-york/ui/alert/index.ts type AlertVariants (line 24) | type AlertVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/auto-form/constant.ts constant INPUT_COMPONENTS (line 11) | const INPUT_COMPONENTS: InputComponents = { constant DEFAULT_ZOD_HANDLERS (line 29) | const DEFAULT_ZOD_HANDLERS: { FILE: deprecated/www/src/registry/new-york/ui/auto-form/dependencies.ts function useDependencies (line 12) | function useDependencies( FILE: deprecated/www/src/registry/new-york/ui/auto-form/interface.ts type FieldProps (line 5) | interface FieldProps { type Shape (line 13) | interface Shape { type InputComponents (line 21) | interface InputComponents { type ConfigItem (line 35) | interface ConfigItem { type UnwrapArray (line 48) | type UnwrapArray = T extends (infer U)[] ? U : never type Config (line 50) | type Config = { type DependencyType (line 60) | enum DependencyType { type BaseDependency (line 67) | interface BaseDependency>> type EnumValues (line 82) | type EnumValues = readonly [string, ...string[]] type OptionsDependency (line 84) | type OptionsDependency< type Dependency (line 93) | type Dependency>> FILE: deprecated/www/src/registry/new-york/ui/auto-form/utils.ts type ZodObjectOrWrapped (line 4) | type ZodObjectOrWrapped function beautifyObjectName (line 12) | function beautifyObjectName(string: string) { function getIndexIfArray (line 25) | function getIndexIfArray(string: string) { function getBaseSchema (line 38) | function getBaseSchema< function getBaseType (line 56) | function getBaseType(schema: z.ZodAny) { function getDefaultValueInZodStack (line 64) | function getDefaultValueInZodStack(schema: z.ZodAny): any { function getObjectFormSchema (line 86) | function getObjectFormSchema( function isIndex (line 96) | function isIndex(value: unknown): value is number { function normalizeFormPath (line 102) | function normalizeFormPath(path: string): string { type NestedRecord (line 120) | type NestedRecord = Record | { [k: string]: NestedRecord } function isNotNestedPath (line 124) | function isNotNestedPath(path: string) { function isObject (line 127) | function isObject(obj: unknown): obj is Record { function isContainerValue (line 130) | function isContainerValue(value: unknown): value is Record( type Booleanish (line 173) | type Booleanish = boolean | "true" | "false" function booleanishToBoolean (line 175) | function booleanishToBoolean(value: Booleanish) { function maybeBooleanishToBoolean (line 186) | function maybeBooleanishToBoolean(value?: Booleanish) { FILE: deprecated/www/src/registry/new-york/ui/avatar/index.ts type AvatarVariants (line 25) | type AvatarVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/badge/index.ts type BadgeVariants (line 26) | type BadgeVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/button-group/index.ts type ButtonGroupVariants (line 25) | type ButtonGroupVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/button/index.ts type ButtonVariants (line 38) | type ButtonVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/carousel/interface.ts type CarouselApi (line 7) | type CarouselApi = EmblaCarouselVueType[1] type UseCarouselParameters (line 8) | type UseCarouselParameters = Parameters type CarouselOptions (line 9) | type CarouselOptions = UseCarouselParameters[0] type CarouselPlugin (line 10) | type CarouselPlugin = UseCarouselParameters[1] type UnwrapRefCarouselApi (line 12) | type UnwrapRefCarouselApi = UnwrapRef type CarouselProps (line 14) | interface CarouselProps { type CarouselEmits (line 20) | interface CarouselEmits { type WithClassAsProps (line 24) | interface WithClassAsProps { FILE: deprecated/www/src/registry/new-york/ui/carousel/useCarousel.ts function scrollPrev (line 17) | function scrollPrev() { function scrollNext (line 20) | function scrollNext() { function onSelect (line 27) | function onSelect(api: CarouselApi) { function useCarousel (line 47) | function useCarousel() { FILE: deprecated/www/src/registry/new-york/ui/chart-area/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/new-york/ui/chart-bar/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/new-york/ui/chart-donut/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/new-york/ui/chart-line/index.ts type KeyOf (line 5) | type KeyOf> = Extract type BaseChartProps (line 7) | interface BaseChartProps> { FILE: deprecated/www/src/registry/new-york/ui/chart/index.ts function defaultColors (line 6) | function defaultColors(count: number = 3) { FILE: deprecated/www/src/registry/new-york/ui/chart/interface.ts type KeyOf (line 3) | type KeyOf> = Extract type BaseChartProps (line 5) | interface BaseChartProps> { FILE: deprecated/www/src/registry/new-york/ui/empty/index.ts type EmptyMediaVariants (line 26) | type EmptyMediaVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/field/index.ts type FieldVariants (line 28) | type FieldVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/form/injectionKeys.ts constant FORM_ITEM_INJECTION_KEY (line 3) | const FORM_ITEM_INJECTION_KEY FILE: deprecated/www/src/registry/new-york/ui/form/useFormField.ts function useFormField (line 5) | function useFormField() { FILE: deprecated/www/src/registry/new-york/ui/input-group/index.ts type InputGroupVariants (line 34) | type InputGroupVariants = VariantProps type InputGroupButtonVariants (line 53) | type InputGroupButtonVariants = VariantProps type ItemMediaVariants (line 54) | type ItemMediaVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/sheet/index.ts type SheetVariants (line 32) | type SheetVariants = VariantProps FILE: deprecated/www/src/registry/new-york/ui/sidebar/index.ts type SidebarProps (line 5) | interface SidebarProps { type SidebarMenuButtonVariants (line 60) | type SidebarMenuButtonVariants = VariantProps type ToastProps (line 35) | interface ToastProps extends ToastRootProps { FILE: deprecated/www/src/registry/new-york/ui/toast/use-toast.ts constant TOAST_LIMIT (line 5) | const TOAST_LIMIT = 1 constant TOAST_REMOVE_DELAY (line 6) | const TOAST_REMOVE_DELAY = 1000000 type StringOrVNode (line 8) | type StringOrVNode type ToasterToast (line 13) | type ToasterToast = ToastProps & { function genId (line 29) | function genId() { type ActionType (line 34) | type ActionType = typeof actionTypes type Action (line 36) | type Action type State (line 54) | interface State { function addToRemoveQueue (line 60) | function addToRemoveQueue(toastId: string) { function dispatch (line 79) | function dispatch(action: Action) { function useToast (line 124) | function useToast() { type Toast (line 132) | type Toast = Omit function toast (line 134) | function toast(props: Toast) { FILE: deprecated/www/src/registry/new-york/ui/toggle/index.ts type ToggleVariants (line 28) | type ToggleVariants = VariantProps FILE: deprecated/www/src/registry/registry-base-colors.ts type BaseColor (line 756) | type BaseColor = (typeof baseColors)[number] FILE: deprecated/www/src/registry/registry-styles.ts type Style (line 12) | type Style = (typeof styles)[number] type RegistryStyle (line 13) | type RegistryStyle = Style["name"] FILE: deprecated/www/src/stores/config.ts type PackageManager (line 9) | type PackageManager = 'pnpm' | 'npm' | 'yarn' | 'bun' type Config (line 11) | interface Config { type CodeConfig (line 18) | interface CodeConfig { constant RADII (line 24) | const RADII = [0, 0.25, 0.5, 0.75, 1] function useConfigStore (line 26) | function useConfigStore() { FILE: packages/cli/scripts/rimraf.js function rmdir (line 3) | function rmdir(dirs) { FILE: packages/cli/src/commands/add.ts function promptForRegistryComponents (line 267) | async function promptForRegistryComponents( FILE: packages/cli/src/commands/create.ts constant SHADCN_VUE_URL (line 25) | const SHADCN_VUE_URL = 'https://shadcn-vue.com' function resolvePreset (line 125) | async function resolvePreset(value: string) { function validateName (line 143) | function validateName(name: string): string | true { function getShadcnCreateUrl (line 155) | function getShadcnCreateUrl(params?: Record) { function getTemplateFiles (line 169) | function getTemplateFiles(template: string): Array<{ target: string, con... FILE: packages/cli/src/commands/diff.ts function diffComponent (line 150) | async function diffComponent( function printDiff (line 206) | async function printDiff(diff: Change[]) { FILE: packages/cli/src/commands/init.ts function runInit (line 340) | async function runInit( function promptForConfig (line 460) | async function promptForConfig(defaultConfig: Config | null = null) { function promptForMinimalConfig (line 609) | async function promptForMinimalConfig( FILE: packages/cli/src/commands/mcp.ts constant SHADCN_MCP_VERSION (line 20) | const SHADCN_MCP_VERSION = 'latest' constant CLIENTS (line 22) | const CLIENTS = [ constant DEPENDENCIES (line 88) | const DEPENDENCIES = [`shadcn-vue@${SHADCN_MCP_VERSION}`] function runMcpInit (line 237) | async function runMcpInit(options: z.infer) { FILE: packages/cli/src/commands/registry/build.ts function buildRegistry (line 48) | async function buildRegistry(opts: z.infer) { function resolveRegistryItems (line 190) | async function resolveRegistryItems( FILE: packages/cli/src/icons/libraries.ts type IconLibraries (line 45) | type IconLibraries = typeof iconLibraries type IconLibrary (line 47) | type IconLibrary = IconLibraries[keyof IconLibraries] type IconLibraryName (line 49) | type IconLibraryName = keyof IconLibraries FILE: packages/cli/src/index.ts function main (line 17) | async function main() { FILE: packages/cli/src/mcp/utils.ts constant SHADCN_CLI_COMMAND (line 6) | const SHADCN_CLI_COMMAND = 'shadcn-vue' function npxShadcnVue (line 8) | async function npxShadcnVue(command: string) { function getMcpConfig (line 14) | async function getMcpConfig(cwd = process.cwd()) { function formatSearchResultsWithPagination (line 22) | function formatSearchResultsWithPagination( function formatRegistryItems (line 80) | function formatRegistryItems( function formatItemExamples (line 102) | function formatItemExamples( FILE: packages/cli/src/migrations/migrate-icons.ts function migrateIcons (line 18) | async function migrateIcons(config: Config) { function migrateIconsFile (line 129) | async function migrateIconsFile( FILE: packages/cli/src/preflights/preflight-add.ts function preFlightAdd (line 10) | async function preFlightAdd(options: z.infer) { FILE: packages/cli/src/preflights/preflight-build.ts function preFlightBuild (line 9) | async function preFlightBuild( FILE: packages/cli/src/preflights/preflight-init.ts function preFlightInit (line 11) | async function preFlightInit( FILE: packages/cli/src/preflights/preflight-migrate.ts function preFlightMigrate (line 11) | async function preFlightMigrate( FILE: packages/cli/src/preflights/preflight-registry.ts function preFlightRegistryBuild (line 10) | async function preFlightRegistryBuild( FILE: packages/cli/src/registry/api.ts function getRegistry (line 47) | async function getRegistry( function getRegistryItems (line 100) | async function getRegistryItems( function resolveRegistryItems (line 114) | async function resolveRegistryItems( function getRegistriesConfig (line 127) | async function getRegistriesConfig( function getShadcnRegistryIndex (line 160) | async function getShadcnRegistryIndex() { function getRegistryStyles (line 172) | async function getRegistryStyles() { function getRegistryIcons (line 185) | async function getRegistryIcons() { function getRegistryBaseColors (line 196) | async function getRegistryBaseColors() { function getRegistryBases (line 203) | function getRegistryBases() { function getRegistryVisualStyles (line 210) | function getRegistryVisualStyles() { function getRegistryIconLibraries (line 217) | function getRegistryIconLibraries() { function getRegistryFonts (line 224) | function getRegistryFonts() { function getRegistryBase (line 231) | function getRegistryBase(name: string) { function getRegistryVisualStyle (line 238) | function getRegistryVisualStyle(name: string) { function getRegistryIconLibrary (line 245) | function getRegistryIconLibrary(name: string) { function getRegistryFont (line 252) | function getRegistryFont(name: string) { function getRegistryPresets (line 259) | function getRegistryPresets() { function getRegistryPreset (line 266) | function getRegistryPreset(name: string) { function getRegistryBaseColor (line 270) | async function getRegistryBaseColor(baseColor: string) { function resolveTree (line 284) | async function resolveTree( function fetchTree (line 314) | async function fetchTree( function getItemTargetPath (line 332) | async function getItemTargetPath( function getRegistriesIndex (line 356) | async function getRegistriesIndex(options?: { useCache?: boolean }) { FILE: packages/cli/src/registry/builder.ts constant NAME_PLACEHOLDER (line 12) | const NAME_PLACEHOLDER = "{name}" constant STYLE_PLACEHOLDER (line 13) | const STYLE_PLACEHOLDER = "{style}" constant ENV_VAR_PATTERN (line 14) | const ENV_VAR_PATTERN = /\$\{(\w+)\}/g constant QUERY_PARAM_SEPARATOR (line 15) | const QUERY_PARAM_SEPARATOR = "?" constant QUERY_PARAM_DELIMITER (line 16) | const QUERY_PARAM_DELIMITER = "&" function buildUrlAndHeadersForRegistryItem (line 18) | function buildUrlAndHeadersForRegistryItem( function buildUrlFromRegistryConfig (line 44) | function buildUrlFromRegistryConfig( function buildHeadersFromRegistryConfig (line 73) | function buildHeadersFromRegistryConfig( function appendQueryParams (line 93) | function appendQueryParams(baseUrl: string, params: Record | Config) { function resolveBaseFromConfig (line 49) | function resolveBaseFromConfig(config: Partial | Config) { function configWithDefaults (line 57) | function configWithDefaults(config?: Partial | Config) { FILE: packages/cli/src/registry/constants.ts constant REGISTRY_URL (line 4) | const REGISTRY_URL constant FALLBACK_STYLE (line 7) | const FALLBACK_STYLE = "new-york-v4" constant BASES (line 10) | const BASES = [ constant STYLES (line 20) | const STYLES = [ constant FONTS (line 49) | const FONTS = [ constant ICON_LIBRARIES (line 98) | const ICON_LIBRARIES = [ constant PRESETS (line 127) | const PRESETS = [ constant BASE_COLORS (line 200) | const BASE_COLORS = [ constant BUILTIN_REGISTRIES (line 224) | const BUILTIN_REGISTRIES: z.infer = { constant BUILTIN_MODULES (line 228) | const BUILTIN_MODULES = new Set([ constant DEPRECATED_COMPONENTS (line 352) | const DEPRECATED_COMPONENTS = [ FILE: packages/cli/src/registry/context.ts type RegistryContext (line 1) | interface RegistryContext { function setRegistryHeaders (line 9) | function setRegistryHeaders( function getRegistryHeadersFromContext (line 16) | function getRegistryHeadersFromContext( function clearRegistryContext (line 22) | function clearRegistryContext() { FILE: packages/cli/src/registry/env.ts function expandEnvVars (line 1) | function expandEnvVars(value: string) { function extractEnvVars (line 5) | function extractEnvVars(value: string) { FILE: packages/cli/src/registry/errors.ts type RegistryErrorCode (line 30) | type RegistryErrorCode class RegistryError (line 33) | class RegistryError extends Error { method constructor (line 41) | constructor( method toJSON (line 65) | toJSON() { class RegistryNotFoundError (line 79) | class RegistryNotFoundError extends RegistryError { method constructor (line 80) | constructor(public readonly url: string, cause?: unknown) { class RegistryUnauthorizedError (line 95) | class RegistryUnauthorizedError extends RegistryError { method constructor (line 96) | constructor(public readonly url: string, cause?: unknown) { class RegistryForbiddenError (line 111) | class RegistryForbiddenError extends RegistryError { method constructor (line 112) | constructor(public readonly url: string, cause?: unknown) { class RegistryFetchError (line 127) | class RegistryFetchError extends RegistryError { method constructor (line 128) | constructor( class RegistryNotConfiguredError (line 167) | class RegistryNotConfiguredError extends RegistryError { method constructor (line 168) | constructor(public readonly registryName: string | null) { class RegistryLocalFileError (line 188) | class RegistryLocalFileError extends RegistryError { method constructor (line 189) | constructor(public readonly filePath: string, cause?: unknown) { class RegistryParseError (line 200) | class RegistryParseError extends RegistryError { method constructor (line 203) | constructor(public readonly item: string, parseError: unknown) { class RegistryMissingEnvironmentVariablesError (line 225) | class RegistryMissingEnvironmentVariablesError extends RegistryError { method constructor (line 226) | constructor( class RegistryInvalidNamespaceError (line 244) | class RegistryInvalidNamespaceError extends RegistryError { method constructor (line 245) | constructor(public readonly name: string) { class ConfigMissingError (line 258) | class ConfigMissingError extends RegistryError { method constructor (line 259) | constructor(public readonly cwd: string) { class ConfigParseError (line 272) | class ConfigParseError extends RegistryError { method constructor (line 273) | constructor(public readonly cwd: string, parseError: unknown) { class RegistriesIndexParseError (line 301) | class RegistriesIndexParseError extends RegistryError { method constructor (line 304) | constructor(parseError: unknown) { FILE: packages/cli/src/registry/fetcher.ts function clearRegistryCache (line 26) | function clearRegistryCache() { function fetchRegistry (line 30) | async function fetchRegistry( function fetchRegistryLocal (line 131) | async function fetchRegistryLocal(filePath: string) { FILE: packages/cli/src/registry/namespaces.ts function resolveRegistryNamespaces (line 8) | async function resolveRegistryNamespaces( FILE: packages/cli/src/registry/parser.ts constant REGISTRY_PATTERN (line 2) | const REGISTRY_PATTERN = /^(@[a-z0-9](?:[\w-]*[a-z0-9])?)\/(.+)$/i function parseRegistryAndItemFromString (line 4) | function parseRegistryAndItemFromString(name: string) { FILE: packages/cli/src/registry/resolver.ts function resolveRegistryItemsFromRegistries (line 35) | function resolveRegistryItemsFromRegistries( function fetchRegistryItems (line 66) | async function fetchRegistryItems( function resolveRegistryTree (line 121) | async function resolveRegistryTree( function resolveDependenciesRecursively (line 363) | async function resolveDependenciesRecursively( function resolveRegistryDependencies (line 473) | async function resolveRegistryDependencies( function registryGetTheme (line 500) | async function registryGetTheme(name: string, config: Config) { function computeItemHash (line 576) | function computeItemHash( function extractItemIdentifierFromDependency (line 590) | function extractItemIdentifierFromDependency(dependency: string) { function topologicalSortRegistryItems (line 620) | function topologicalSortRegistryItems( FILE: packages/cli/src/registry/schema.ts type RegistryItem (line 186) | type RegistryItem = z.infer type RegistryBaseItem (line 189) | type RegistryBaseItem = Extract type RegistryFontItem (line 192) | type RegistryFontItem = Extract type Registry (line 200) | type Registry = z.infer type Preset (line 287) | type Preset = z.infer type ConfigJson (line 293) | type ConfigJson = z.infer FILE: packages/cli/src/registry/search.ts function searchRegistries (line 9) | async function searchRegistries( type SearchableItem (line 75) | type SearchableItem = z.infer function searchItems (line 77) | function searchItems< function isUrl (line 108) | function isUrl(string: string): boolean { function buildRegistryItemNameFromRegistry (line 122) | function buildRegistryItemNameFromRegistry( FILE: packages/cli/src/registry/utils.ts constant FILE_EXTENSIONS_FOR_LOOKUP (line 23) | const FILE_EXTENSIONS_FOR_LOOKUP = [".tsx", ".ts", ".jsx", ".js", ".css"] constant FILE_PATH_SKIP_LIST (line 24) | const FILE_PATH_SKIP_LIST = ["lib/utils.ts"] constant DEPENDENCY_SKIP_LIST (line 25) | const DEPENDENCY_SKIP_LIST = [ function getDependencyFromModuleSpecifier (line 36) | function getDependencyFromModuleSpecifier( function recursivelyResolveFileImports (line 62) | async function recursivelyResolveFileImports( function createTempSourceFile (line 229) | async function createTempSourceFile(filename: string) { function determineFileType (line 236) | function determineFileType( function isUrl (line 259) | function isUrl(path: string) { function isLocalFile (line 270) | function isLocalFile(path: string) { function isUniversalRegistryItem (line 281) | function isUniversalRegistryItem( function deduplicateFilesByTarget (line 310) | async function deduplicateFilesByTarget( function canDeduplicateFiles (line 348) | function canDeduplicateFiles(config: Config) { FILE: packages/cli/src/registry/validator.ts function extractEnvVarsFromRegistryConfig (line 10) | function extractEnvVarsFromRegistryConfig( function validateRegistryConfig (line 37) | function validateRegistryConfig( function validateRegistryConfigForItems (line 49) | function validateRegistryConfigForItems( FILE: packages/cli/src/styles/create-style-map.ts constant CN_PREFIX (line 6) | const CN_PREFIX = 'cn-' type StyleMap (line 13) | type StyleMap = z.infer function createStyleMap (line 15) | function createStyleMap(input: string) { function normalizeSelector (line 61) | function normalizeSelector(selector: string) { function extractTailwindClasses (line 65) | function extractTailwindClasses(rule: postcss.Rule) { function findSubjectClass (line 84) | function findSubjectClass(selector: SelectorNodeRoot) { FILE: packages/cli/src/styles/transform-style-map.test.ts function applyTransform (line 11) | async function applyTransform(source: string, styleMap: StyleMap) { FILE: packages/cli/src/styles/transform-style-map.ts constant ALLOWLIST (line 11) | const ALLOWLIST = new Set(['cn-menu-target']) function isStringLiteralLike (line 13) | function isStringLiteralLike( function applyStyleToCvaString (line 34) | function applyStyleToCvaString( function applyToCvaCalls (line 75) | function applyToCvaCalls( function applyToClassNameAttributes (line 142) | function applyToClassNameAttributes( function extractCnClassesFromAttribute (line 199) | function extractCnClassesFromAttribute(initializer: Node) { function cleanCnClassesFromAttribute (line 230) | function cleanCnClassesFromAttribute(initializer: Node) { function extractCnClasses (line 264) | function extractCnClasses(str: string) { function extractCnClass (line 269) | function extractCnClass(str: string) { function removeCnClasses (line 274) | function removeCnClasses(str: string) { function removeEmptyArgumentsFromCnCall (line 287) | function removeEmptyArgumentsFromCnCall(callExpression: CallExpression) { function applyClassesToElement (line 313) | function applyClassesToElement(element: Node, tailwindClasses: string) { function mergeClasses (line 413) | function mergeClasses(newClasses: string, existing: string) { function isCnCall (line 420) | function isCnCall(call: CallExpression) { function applyToMergePropsCalls (line 425) | function applyToMergePropsCalls( function extractCnClassesFromCnCall (line 510) | function extractCnClassesFromCnCall(cnCall: CallExpression): string[] { function cleanCnClassesFromCnCall (line 522) | function cleanCnClassesFromCnCall(cnCall: CallExpression) { function applyClassesToCnCall (line 533) | function applyClassesToCnCall( FILE: packages/cli/src/styles/transform.ts type TransformerStyle (line 7) | type TransformerStyle = (opts: { function transformStyle (line 12) | async function transformStyle( FILE: packages/cli/src/utils/add-components.ts function addComponents (line 33) | async function addComponents( function addProjectComponents (line 69) | async function addProjectComponents( function addWorkspaceComponents (line 146) | async function addWorkspaceComponents( function shouldOverwriteCssVars (line 374) | async function shouldOverwriteCssVars( function validateFilesTarget (line 387) | function validateFilesTarget( FILE: packages/cli/src/utils/compare.ts function isContentSame (line 1) | function isContentSame( FILE: packages/cli/src/utils/create-project.ts constant TEMPLATES (line 13) | const TEMPLATES = { type TemplateType (line 19) | type TemplateType = keyof typeof TEMPLATES function createProject (line 21) | async function createProject( function createNuxtProject (line 123) | async function createNuxtProject( function createViteProject (line 166) | async function createViteProject( function createViteRouterProject (line 209) | async function createViteRouterProject( FILE: packages/cli/src/utils/env-helpers.ts function isEnvFile (line 4) | function isEnvFile(filePath: string) { function findExistingEnvFile (line 13) | function findExistingEnvFile(targetDir: string) { function parseEnvContent (line 34) | function parseEnvContent(content: string) { function getNewEnvKeys (line 65) | function getNewEnvKeys(existingContent: string, newContent: string) { function mergeEnvContent (line 83) | function mergeEnvContent(existingContent: string, newContent: string) { FILE: packages/cli/src/utils/env-loader.ts function loadEnvFiles (line 5) | async function loadEnvFiles(cwd: string = process.cwd()): Promise { FILE: packages/cli/src/utils/errors.ts constant MISSING_DIR_OR_EMPTY_PROJECT (line 1) | const MISSING_DIR_OR_EMPTY_PROJECT = '1' constant EXISTING_CONFIG (line 2) | const EXISTING_CONFIG = '2' constant MISSING_CONFIG (line 3) | const MISSING_CONFIG = '3' constant FAILED_CONFIG_READ (line 4) | const FAILED_CONFIG_READ = '4' constant TAILWIND_NOT_CONFIGURED (line 5) | const TAILWIND_NOT_CONFIGURED = '5' constant IMPORT_ALIAS_MISSING (line 6) | const IMPORT_ALIAS_MISSING = '6' constant UNSUPPORTED_FRAMEWORK (line 7) | const UNSUPPORTED_FRAMEWORK = '7' constant COMPONENT_URL_NOT_FOUND (line 8) | const COMPONENT_URL_NOT_FOUND = '8' constant COMPONENT_URL_UNAUTHORIZED (line 9) | const COMPONENT_URL_UNAUTHORIZED = '9' constant COMPONENT_URL_FORBIDDEN (line 10) | const COMPONENT_URL_FORBIDDEN = '10' constant COMPONENT_URL_BAD_REQUEST (line 11) | const COMPONENT_URL_BAD_REQUEST = '11' constant COMPONENT_URL_INTERNAL_SERVER_ERROR (line 12) | const COMPONENT_URL_INTERNAL_SERVER_ERROR = '12' constant BUILD_MISSING_REGISTRY_FILE (line 13) | const BUILD_MISSING_REGISTRY_FILE = '13' FILE: packages/cli/src/utils/file-helper.ts constant FILE_BACKUP_SUFFIX (line 3) | const FILE_BACKUP_SUFFIX = '.bak' function createFileBackup (line 5) | function createFileBackup(filePath: string): string | null { function restoreFileBackup (line 21) | function restoreFileBackup(filePath: string): boolean { function deleteFileBackup (line 40) | function deleteFileBackup(filePath: string): boolean { FILE: packages/cli/src/utils/fonts.ts type FontConfig (line 3) | type FontConfig = (typeof FONTS)[number] function getFont (line 8) | function getFont(name: string): FontConfig | undefined { function getFontImport (line 15) | function getFontImport(name: string): string { function getFontFamily (line 23) | function getFontFamily(name: string): string { function getFontVariable (line 38) | function getFontVariable(name: string): string { function generateFontCss (line 47) | function generateFontCss(fontName: string): { FILE: packages/cli/src/utils/frameworks.ts constant FRAMEWORKS (line 1) | const FRAMEWORKS = { type Framework (line 60) | type Framework = (typeof FRAMEWORKS)[keyof typeof FRAMEWORKS] FILE: packages/cli/src/utils/get-config.ts constant DEFAULT_STYLE (line 16) | const DEFAULT_STYLE = 'default' constant DEFAULT_COMPONENTS (line 17) | const DEFAULT_COMPONENTS = '@/components' constant DEFAULT_UTILS (line 18) | const DEFAULT_UTILS = '@/lib/utils' constant DEFAULT_TAILWIND_CSS (line 19) | const DEFAULT_TAILWIND_CSS = 'assets/css/tailwind.css' // decide to go w... constant DEFAULT_TAILWIND_CONFIG (line 20) | const DEFAULT_TAILWIND_CONFIG = 'tailwind.config.js' constant DEFAULT_TAILWIND_BASE_COLOR (line 21) | const DEFAULT_TAILWIND_BASE_COLOR = 'slate' constant DEFAULT_TYPESCRIPT_CONFIG (line 22) | const DEFAULT_TYPESCRIPT_CONFIG = './tsconfig.json' type Config (line 24) | type Config = z.infer function getConfig (line 26) | async function getConfig(cwd: string) { function resolveConfigPaths (line 41) | async function resolveConfigPaths( function getRawConfig (line 121) | async function getRawConfig( function getWorkspaceConfig (line 165) | async function getWorkspaceConfig(config: Config) { function findPackageRoot (line 196) | async function findPackageRoot(cwd: string, resolvedPath: string) { function isAliasKey (line 213) | function isAliasKey( function findCommonRoot (line 222) | function findCommonRoot(cwd: string, resolvedPath: string) { function getTargetStyleFromConfig (line 238) | async function getTargetStyleFromConfig(cwd: string, fallback: string) { type DeepPartial (line 243) | type DeepPartial = { function createConfig (line 254) | function createConfig(partial?: DeepPartial): Config { FILE: packages/cli/src/utils/get-package-info.ts function getPackageInfo (line 5) | function getPackageInfo( FILE: packages/cli/src/utils/get-project-info.ts type TailwindVersion (line 14) | type TailwindVersion = 'v3' | 'v4' | null type ProjectInfo (line 16) | interface ProjectInfo { constant PROJECT_SHARED_IGNORE (line 28) | const PROJECT_SHARED_IGNORE = [ constant TS_CONFIG_SCHEMA (line 36) | const TS_CONFIG_SCHEMA = z.object({ function detectFrameworkConfigFiles (line 42) | async function detectFrameworkConfigFiles(cwd: string): Promise { function getTailwindVersion (line 138) | async function getTailwindVersion( function getTailwindCssFile (line 178) | async function getTailwindCssFile(cwd: string) { function getTailwindConfigFile (line 208) | async function getTailwindConfigFile(cwd: string) { function getTsConfigAliasPrefix (line 222) | async function getTsConfigAliasPrefix(cwd: string) { function getTsConfig (line 262) | async function getTsConfig(cwd: string) { function getProjectConfig (line 288) | async function getProjectConfig( function getProjectTailwindVersionFromConfig (line 338) | async function getProjectTailwindVersionFromConfig(config: { FILE: packages/cli/src/utils/handle-error.ts function handleError (line 6) | function handleError(error: unknown) { FILE: packages/cli/src/utils/icon-libraries.ts function getIconLibrary (line 10) | function getIconLibrary(name: string) { function getIconLibraryPackages (line 17) | function getIconLibraryPackages(name: string): string[] { function getIconImportStatement (line 25) | function getIconImportStatement(libraryName: string, iconName: string): ... function getIconUsageExample (line 37) | function getIconUsageExample(libraryName: string, iconName: string): str... constant ICON_LIBRARIES (line 46) | const ICON_LIBRARIES = { FILE: packages/cli/src/utils/is-safe-target.ts function isSafeTarget (line 8) | function isSafeTarget(targetPath: string, cwd: string): boolean { FILE: packages/cli/src/utils/logger.ts method error (line 5) | error(...args: unknown[]) { method warn (line 8) | warn(...args: unknown[]) { method info (line 11) | info(...args: unknown[]) { method success (line 14) | success(...args: unknown[]) { method log (line 17) | log(...args: unknown[]) { method break (line 20) | break() { FILE: packages/cli/src/utils/registries.ts function ensureRegistriesInConfig (line 10) | async function ensureRegistriesInConfig( FILE: packages/cli/src/utils/resolve-import.ts function resolveImport (line 4) | function resolveImport(importPath: string, config: TsConfigResult) { FILE: packages/cli/src/utils/spinner.ts function spinner (line 4) | function spinner( FILE: packages/cli/src/utils/templates.ts constant UTILS (line 1) | const UTILS = `import { type ClassValue, clsx } from 'clsx' constant TAILWIND_CONFIG (line 9) | const TAILWIND_CONFIG = `const animate = require("tailwindcss-animate") constant TAILWIND_CONFIG_WITH_VARIABLES (line 49) | const TAILWIND_CONFIG_WITH_VARIABLES = `const animate = require("tailwin... FILE: packages/cli/src/utils/transformers/index.ts type TransformOpts (line 14) | interface TransformOpts { function transform (line 22) | async function transform(opts: TransformOpts) { FILE: packages/cli/src/utils/transformers/transform-css-vars.ts function transformCssVars (line 6) | function transformCssVars(opts: TransformOpts): CodemodPlugin { function splitClassName (line 74) | function splitClassName(className: string): (string | null)[] { constant PREFIXES (line 101) | const PREFIXES = ['bg-', 'text-', 'border-', 'ring-offset-', 'ring-'] function applyColorMapping (line 103) | function applyColorMapping( FILE: packages/cli/src/utils/transformers/transform-icons.ts constant SOURCE_LIBRARY (line 6) | const SOURCE_LIBRARY = 'lucide' constant ICON_LIBRARY_IMPORTS (line 9) | const ICON_LIBRARY_IMPORTS = new Set( function transformIcons (line 15) | function transformIcons(opts: TransformOpts, registryIcons: Record> = { function transformStyle (line 75) | function transformStyle(opts: TransformOpts): CodemodPlugin { FILE: packages/cli/src/utils/transformers/transform-tw-prefix.ts function transformTwPrefix (line 7) | async function transformTwPrefix(opts: TransformOpts): Promise) { function processAtRule (line 389) | function processAtRule( function processRule (line 464) | function processRule(parent: Root | AtRule, selector: string, properties... FILE: packages/cli/src/utils/updaters/update-dependencies.ts function updateDependencies (line 6) | async function updateDependencies( FILE: packages/cli/src/utils/updaters/update-env-vars.ts function updateEnvVars (line 15) | async function updateEnvVars( FILE: packages/cli/src/utils/updaters/update-files.ts function updateFiles (line 27) | async function updateFiles( function resolveFilePath (line 303) | function resolveFilePath( function resolveFileTargetDirectory (line 364) | function resolveFileTargetDirectory( function findCommonRoot (line 387) | function findCommonRoot(paths: string[], needle: string): string { function resolveNestedFilePath (line 419) | function resolveNestedFilePath( function resolvePageTarget (line 457) | function resolvePageTarget( function resolveImports (line 494) | async function resolveImports(filePaths: string[], config: Config) { function resolveModuleByProbablePath (line 595) | function resolveModuleByProbablePath( function toAliasedImport (line 669) | function toAliasedImport( FILE: packages/cli/src/utils/updaters/update-tailwind-config.ts type UpdaterTailwindConfig (line 29) | type UpdaterTailwindConfig = Omit & { function updateTailwindConfig (line 34) | async function updateTailwindConfig( function transformTailwindConfig (line 75) | async function transformTailwindConfig( function addTailwindConfigProperty (line 126) | function addTailwindConfigProperty( function addTailwindConfigTheme (line 188) | async function addTailwindConfigTheme( function addTailwindConfigPlugin (line 232) | function addTailwindConfigPlugin( function _createSourceFile (line 270) | async function _createSourceFile(input: string, config: Config | null) { function _getQuoteChar (line 289) | function _getQuoteChar(configObject: ObjectLiteralExpression) { function nestSpreadProperties (line 297) | function nestSpreadProperties(obj: ObjectLiteralExpression) { function nestSpreadElements (line 341) | function nestSpreadElements(arr: ArrayLiteralExpression) { function unnestSpreadProperties (line 366) | function unnestSpreadProperties(obj: ObjectLiteralExpression) { function unsetSpreadElements (line 399) | function unsetSpreadElements(arr: ArrayLiteralExpression) { function parseObjectLiteral (line 427) | async function parseObjectLiteral(objectLiteralString: string): Promise<... function parseObjectLiteralExpression (line 447) | function parseObjectLiteralExpression(node: ObjectLiteralExpression): any { function parseArrayLiteralExpression (line 474) | function parseArrayLiteralExpression(node: ArrayLiteralExpression): any[] { function parseValue (line 498) | function parseValue(node: any): any { function buildTailwindThemeColorsFromCssVars (line 519) | function buildTailwindThemeColorsFromCssVars( FILE: packages/cli/src/utils/updaters/update-tailwind-content.ts function updateTailwindContent (line 13) | async function updateTailwindContent( function transformTailwindContent (line 45) | async function transformTailwindContent( function addTailwindConfigContent (line 76) | async function addTailwindConfigContent( FILE: packages/cli/test/fixtures/frameworks/nuxt/lib/utils.ts function cn (line 5) | function cn(...inputs: ClassValue[]) { FILE: packages/cli/test/utils/__fixtures__/props.ts type Props (line 1) | interface Props { FILE: packages/cli/test/utils/transform-style.test.ts function createTestConfig (line 6) | function createTestConfig(style: string): Config { FILE: packages/cli/test/utils/updaters/update-tailwind-config.test.ts constant SHARED_CONFIG (line 13) | const SHARED_CONFIG = { function testTransformation (line 946) | function testTransformation(input: string, expected: string) { function testTransformation (line 1021) | function testTransformation(input: string, expected: string) { function testTransformation (line 1109) | function testTransformation(input: string, expected: string) { function testTransformation (line 1184) | function testTransformation(input: string, expected: string) { FILE: packages/cli/test/utils/updaters/update-tailwind-content.test.ts constant SHARED_CONFIG (line 5) | const SHARED_CONFIG = { FILE: packages/module/playground/components/ui/button/index.ts type ButtonVariants (line 36) | type ButtonVariants = VariantProps FILE: packages/module/playground/components/ui/carousel/interface.ts type CarouselProps (line 8) | interface CarouselProps { type CarouselEmits (line 14) | interface CarouselEmits { type WithClassAsProps (line 18) | interface WithClassAsProps { FILE: packages/module/playground/components/ui/carousel/useCarousel.ts function scrollPrev (line 20) | function scrollPrev() { function scrollNext (line 23) | function scrollNext() { function onSelect (line 30) | function onSelect(api: CarouselApi) { function useCarousel (line 50) | function useCarousel() { FILE: packages/module/playground/lib/utils.ts function cn (line 5) | function cn(...inputs: ClassValue[]) { FILE: packages/module/src/module.ts type ComponentDirConfig (line 6) | interface ComponentDirConfig { type ComponentDirInput (line 11) | type ComponentDirInput = string | ComponentDirConfig type ComponentDirOption (line 13) | type ComponentDirOption = ComponentDirInput | ComponentDirInput[] type NormalizedComponentDir (line 15) | interface NormalizedComponentDir { function isComponentDirConfig (line 20) | function isComponentDirConfig(value: unknown): value is ComponentDirConf... function normalizeComponentDirs (line 24) | function normalizeComponentDirs(componentDir: ComponentDirOption, fallba... type ModuleOptions (line 42) | interface ModuleOptions { method setup (line 66) | async setup({ prefix, componentDir }, nuxt) {