SYMBOL INDEX (554 symbols across 125 files) FILE: docs/mdsx.config.js function createHighlighter (line 42) | async function createHighlighter() { method onVisitLine (line 82) | onVisitLine(node) { method onVisitHighlightedLine (line 89) | onVisitHighlightedLine(node) { method onVisitHighlightedChars (line 92) | onVisitHighlightedChars(node) { function remarkRemovePrettierIgnore (line 130) | function remarkRemovePrettierIgnore() { function rehypePreData (line 143) | function rehypePreData() { function rehypeComponentExample (line 182) | function rehypeComponentExample() { function rehypeHandleMetadata (line 263) | function rehypeHandleMetadata() { function getComponentSourceFileContent (line 290) | function getComponentSourceFileContent(src = "") { FILE: docs/scripts/build-icons.ts constant SEARCH_BASE (line 7) | const SEARCH_BASE = "src/"; constant REGISTRY_BASE (line 8) | const REGISTRY_BASE = "src/lib/registry"; type IconUsage (line 10) | type IconUsage = Record>; function findSvelteFiles (line 12) | async function findSvelteFiles(dir: string) { function scanIconUsage (line 28) | async function scanIconUsage() { function generateIconFiles (line 51) | async function generateIconFiles(iconUsage: IconUsage) { function main (line 115) | async function main() { FILE: docs/scripts/build-llm-placeholders.ts function main (line 14) | async function main() { FILE: docs/scripts/build-llms.ts type FileMap (line 70) | type FileMap = Record; function collectFiles (line 72) | async function collectFiles(currentDir: string, baseDir: string): Promis... type LinkData (line 103) | type LinkData = { type VeliteData (line 110) | type VeliteData = type CategorizedLinks (line 118) | type CategorizedLinks = { constant REGEX_PATTERNS (line 135) | const REGEX_PATTERNS = { function toMarkdown (line 151) | async function toMarkdown(rawHtml: string) { function findVeliteData (line 213) | function findVeliteData(veliteData: Record, path: ... function createLLMsIndex (line 222) | async function createLLMsIndex(files: FileMap) { function formatName (line 478) | function formatName(name: string): string { function main (line 485) | async function main() { FILE: docs/scripts/build-registry.ts type BuildRegistryItem (line 16) | interface BuildRegistryItem { constant INTERNAL_REGISTRY_PATH (line 31) | const INTERNAL_REGISTRY_PATH = path.resolve("src", "lib", "registry"); constant REGISTRY_PATH (line 32) | const REGISTRY_PATH = path.resolve("static", "registry"); constant STYLE_TEMP_BASE (line 33) | const STYLE_TEMP_BASE = path.join(REGISTRY_PATH, "temp", "style"); function writeFileWithDirs (line 35) | function writeFileWithDirs( function log (line 48) | function log(message: string) { function build (line 52) | async function build(): Promise { constant CN_CLASS_SELECTOR (line 198) | const CN_CLASS_SELECTOR = /^\.(cn-[\w-]+)$/; function parseStyleCss (line 204) | function parseStyleCss(css: string): Record { function transformContentWithStyle (line 229) | function transformContentWithStyle(content: string, styleMap: Record { function crawlUI (line 42) | async function crawlUI(rootPath: string): Promise { function buildUIRegistry (line 57) | async function buildUIRegistry( function crawlExamples (line 98) | async function crawlExamples(rootPath: string): Promise { function buildBlockRegistry (line 124) | async function buildBlockRegistry( function crawlBlocks (line 166) | async function crawlBlocks(rootPath: string): Promise { function crawlLib (line 197) | async function crawlLib(rootPath: string): Promise { function assembleFonts (line 222) | async function assembleFonts(): Promise { function crawlHooks (line 238) | async function crawlHooks(rootPath: string): Promise { function getFileDependencies (line 264) | async function getFileDependencies( FILE: docs/scripts/velite/velite-utils.ts function updateJsonImport (line 8) | async function updateJsonImport(onUpdatingChange?: (isUpdating: boolean)... FILE: docs/src/lib/blocks.ts type BlockName (line 4) | type BlockName = (typeof blocks)[number]; function isBlock (line 6) | function isBlock(name: unknown): name is BlockName { type Block (line 21) | type Block = z.infer; FILE: docs/src/lib/colors.ts type ColorPalette (line 23) | type ColorPalette = z.infer; type ColorFormat (line 25) | type ColorFormat = { function getColorFormat (line 34) | function getColorFormat(color: Color): ColorFormat { function getColors (line 45) | function getColors(): ColorPalette[] { type Color (line 84) | type Color = ReturnType[number]["colors"][number]; function getForegroundFromBackground (line 86) | function getForegroundFromBackground(rgb: string): string { FILE: docs/src/lib/components/colors/colors.ts type ColorPalette (line 26) | type ColorPalette = z.infer; function getColorFormat (line 28) | function getColorFormat(color: Color) { type ColorFormat (line 38) | type ColorFormat = keyof ReturnType; function getColors (line 40) | function getColors() { type Color (line 78) | type Color = ReturnType[number]["colors"][number]; function getForegroundFromBackground (line 80) | function getForegroundFromBackground(rgb: string) { function generateBaseColorTemplate (line 93) | function generateBaseColorTemplate(baseColor: BaseColor) { function getColorsData (line 129) | function getColorsData() { FILE: docs/src/lib/components/icon-placeholder/icon-loader.ts function createIconLoader (line 10) | function createIconLoader(iconLibrary: IconLibraryName) { FILE: docs/src/lib/components/icons/icons.ts function getIconForLanguageExtension (line 7) | function getIconForLanguageExtension(language: string) { FILE: docs/src/lib/constants.ts constant FALLBACK_STAR_COUNT (line 1) | const FALLBACK_STAR_COUNT = 8000; FILE: docs/src/lib/docs.ts type DocResolver (line 21) | type DocResolver = () => Promise<{ default: Component; metadata: compone... type DocMetadata (line 22) | type DocMetadata = (typeof allDocs)[number]; function transformPath (line 24) | function transformPath(path: string): string { function getDocMetadata (line 28) | function getDocMetadata(slug: string): DocMetadata | undefined { function getDoc (line 32) | async function getDoc( FILE: docs/src/lib/features/design-system/components/design-system-provider-state.svelte.ts type IDesignSystemState (line 29) | interface IDesignSystemState extends PresetConfig { type Lockable (line 43) | type Lockable = { class DesignSystemState (line 56) | class DesignSystemState implements IDesignSystemState { method constructor (line 60) | constructor() { method system (line 89) | private get system(): PresetConfig { method system (line 95) | private set system(value: PresetConfig) { method undo (line 106) | undo() { method redo (line 110) | redo() { method canUndo (line 114) | get canUndo() { method canRedo (line 118) | get canRedo() { method preset (line 122) | get preset() { method lock (line 128) | lock(key: keyof Lockable): void { method unlock (line 132) | unlock(key: keyof Lockable): void { method locks (line 136) | get locks(): Lockable { method #getSearchParam (line 143) | #getSearchParam(key: string): string | null { method #update (line 152) | #update(system: Partial) { method baseColor (line 159) | get baseColor() { method baseColor (line 163) | set baseColor(value: PresetConfig["baseColor"]) { method font (line 173) | get font() { method font (line 177) | set font(value: PresetConfig["font"]) { method iconLibrary (line 181) | get iconLibrary() { method iconLibrary (line 185) | set iconLibrary(value: PresetConfig["iconLibrary"]) { method menuAccent (line 189) | get menuAccent() { method menuAccent (line 193) | set menuAccent(value: PresetConfig["menuAccent"]) { method menuColor (line 197) | get menuColor() { method menuColor (line 201) | set menuColor(value: PresetConfig["menuColor"]) { method radius (line 205) | get radius() { method radius (line 209) | set radius(value: PresetConfig["radius"]) { method style (line 213) | get style() { method style (line 217) | set style(value: PresetConfig["style"]) { method theme (line 221) | get theme() { method theme (line 225) | set theme(value: PresetConfig["theme"]) { method reset (line 229) | reset() { method randomize (line 233) | randomize() { method shareUrl (line 285) | get shareUrl() { function randomItem (line 290) | function randomItem(array: readonly T[]): T { function useDesignSystem (line 296) | function useDesignSystem(): IDesignSystemState { function setupDesignSystem (line 300) | function setupDesignSystem(): IDesignSystemState { FILE: docs/src/lib/highlight-code.ts function highlightCode (line 12) | async function highlightCode(code: string, language: string = "svelte"):... function formatCode (line 45) | function formatCode(code: string): string { FILE: docs/src/lib/hooks/use-clipboard.svelte.ts type Options (line 1) | type Options = { class UseClipboard (line 30) | class UseClipboard { method constructor (line 36) | constructor({ delay = 2000, reset = true }: Partial = {}) { method copy (line 51) | async copy(text: string | number): Promise<"success" | "failure"> { method copied (line 67) | get copied(): boolean { method status (line 73) | get status(): "success" | "failure" | undefined { method lastCopied (line 80) | get lastCopied(): string | undefined { function copyText (line 85) | async function copyText(text: string): Promise<"success" | "failure"> { FILE: docs/src/lib/hooks/use-is-mac.svelte.ts function useIsMac (line 3) | function useIsMac(): { FILE: docs/src/lib/hooks/use-mutation-observer.svelte.ts function useMutationObserver (line 1) | function useMutationObserver( FILE: docs/src/lib/navigation.ts constant NEW_COMPONENTS (line 5) | const NEW_COMPONENTS = new Set([ type NavItem (line 16) | type NavItem = { type SidebarNavItem (line 26) | type SidebarNavItem = NavItem & { type NavItemWithChildren (line 30) | type NavItemWithChildren = NavItem & { function generateSectionsNav (line 34) | function generateSectionsNav(): SidebarNavItem[] { function generateGetStartedNav (line 71) | function generateGetStartedNav(): SidebarNavItem[] { constant INSTALL_ORDER (line 128) | const INSTALL_ORDER = ["SvelteKit", "Vite", "Astro", "Manual Installatio... function generateInstallationNav (line 130) | function generateInstallationNav(): SidebarNavItem[] { function generateComponentsNav (line 157) | function generateComponentsNav(): SidebarNavItem[] { function generateDarkModeNav (line 181) | function generateDarkModeNav(): SidebarNavItem[] { function generateRegistryNav (line 198) | function generateRegistryNav(): SidebarNavItem[] { function generateMigrationNav (line 235) | function generateMigrationNav(): SidebarNavItem[] { function getFullNavItems (line 328) | function getFullNavItems(): Array { function findNeighbors (line 344) | function findNeighbors(pathName: string): { FILE: docs/src/lib/package-manager.ts constant PACKAGE_MANAGERS (line 4) | const PACKAGE_MANAGERS: Agent[] = ["pnpm", "npm", "yarn", "bun"] as const; type PackageManager (line 5) | type PackageManager = (typeof PACKAGE_MANAGERS)[number]; type PackageManagerCommand (line 7) | type PackageManagerCommand = Command | "create"; function getCommand (line 9) | function getCommand( FILE: docs/src/lib/registry/blocks/dashboard-01/components/schemas.ts type Schema (line 13) | type Schema = z.infer; FILE: docs/src/lib/registry/colors.ts type CompleteColorFormat (line 1) | type CompleteColorFormat = { type ColorScale (line 8) | type ColorScale = { type Colors (line 16) | type Colors = { type BaseColor (line 71) | type BaseColor = (typeof baseColors)[number]; FILE: docs/src/lib/registry/config.ts type StyleName (line 17) | type StyleName = Style["name"]; type ThemeName (line 18) | type ThemeName = Theme["name"]; type BaseColorName (line 19) | type BaseColorName = BaseTheme["name"]; type FontValue (line 21) | type FontValue = (typeof PRESET_FONTS)[number]; constant MENU_ACCENTS (line 23) | const MENU_ACCENTS = [ type MenuAccent (line 28) | type MenuAccent = (typeof MENU_ACCENTS)[number]; type MenuAccentValue (line 29) | type MenuAccentValue = MenuAccent["value"]; constant MENU_COLORS (line 31) | const MENU_COLORS = [ type MenuColor (line 38) | type MenuColor = (typeof MENU_COLORS)[number]; type MenuColorValue (line 40) | type MenuColorValue = MenuColor["value"]; constant RADII (line 42) | const RADII = [ type Radius (line 50) | type Radius = (typeof RADII)[number]; type RadiusValue (line 52) | type RadiusValue = Radius["name"]; type DesignSystemConfig (line 82) | type DesignSystemConfig = z.infer; constant DEFAULT_CONFIG (line 84) | const DEFAULT_CONFIG: DesignSystemConfig = { type Preset (line 95) | type Preset = { constant PRESETS (line 101) | const PRESETS: Preset[] = [ function getThemesForBaseColor (line 156) | function getThemesForBaseColor(baseColorName: string) { function getFont (line 167) | function getFont(name: FontValue) { function getStyle (line 171) | function getStyle(name: StyleName) { function getTheme (line 175) | function getTheme(name: ThemeName) { function getBaseColor (line 179) | function getBaseColor(name: BaseColorName) { function getIconLibrary (line 183) | function getIconLibrary(name: IconLibraryName) { function buildRegistryTheme (line 188) | function buildRegistryTheme(config: DesignSystemConfig) { function buildRegistryBase (line 239) | function buildRegistryBase(config: PresetConfig) { FILE: docs/src/lib/registry/examples/create/index.ts type Example (line 3) | type Example = { FILE: docs/src/lib/registry/hooks/is-mobile.svelte.ts constant DEFAULT_MOBILE_BREAKPOINT (line 3) | const DEFAULT_MOBILE_BREAKPOINT = 768; class IsMobile (line 5) | class IsMobile extends MediaQuery { method constructor (line 6) | constructor(breakpoint: number = DEFAULT_MOBILE_BREAKPOINT) { FILE: docs/src/lib/registry/icons/__hugeicons__/index.ts type HugeIconsIconName (line 2) | type HugeIconsIconName = "ActivityIcon" | "Add01Icon" | "AddToListIcon" ... FILE: docs/src/lib/registry/icons/__lucide__/index.ts type LucideIconName (line 2) | type LucideIconName = "ActivityIcon" | "AlertTriangleIcon" | "AppWindowI... FILE: docs/src/lib/registry/icons/__phosphor__/index.ts type PhosphorIconName (line 2) | type PhosphorIconName = "AppWindowIcon" | "ArchiveIcon" | "ArrowCircleLe... FILE: docs/src/lib/registry/icons/__remixicon__/index.ts type RemixIconIconName (line 2) | type RemixIconIconName = "RiAddBoxLine" | "RiAddLine" | "RiAlertLine" | ... FILE: docs/src/lib/registry/icons/__tabler__/index.ts type TablerIconName (line 2) | type TablerIconName = "IconActivity" | "IconAdjustmentsHorizontal" | "Ic... FILE: docs/src/lib/registry/lib/casing.ts function pascalToKebab (line 1) | function pascalToKebab(str: string): string { FILE: docs/src/lib/registry/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { type WithoutChild (line 9) | type WithoutChild = T extends { child?: any } ? Omit : T; type WithoutChildren (line 11) | type WithoutChildren = T extends { children?: any } ? Omit = WithoutChildren>; type WithElementRef (line 13) | type WithElementRef = T & { ref?... FILE: docs/src/lib/registry/registry-base-colors.ts type BaseColor (line 756) | type BaseColor = (typeof baseColors)[number]; FILE: docs/src/lib/registry/registry-block-meta.ts type BlockMeta (line 3) | type BlockMeta = { FILE: docs/src/lib/registry/registry-colors.ts type BaseColor (line 26) | type BaseColor = (typeof baseColors)[number]; FILE: docs/src/lib/registry/registry-utils.ts type FileTree (line 7) | type FileTree = { function transformBlockPath (line 13) | function transformBlockPath(target: string, type: RegistryItemFile["type... function createFileTreeForRegistryItemFiles (line 31) | function createFileTreeForRegistryItemFiles( function transformImportPaths (line 73) | function transformImportPaths(content: string): string { type DesignSystemConfig (line 87) | type DesignSystemConfig = { function transformDesignSystem (line 95) | async function transformDesignSystem( type TransformConfig (line 126) | type TransformConfig = { type TransformOptions (line 132) | type TransformOptions = { type TransformerResult (line 138) | type TransformerResult = { type Transformer (line 143) | type Transformer = (opts: TransformOptions) => Promise): Tr... function parseStyleCss (line 182) | function parseStyleCss(css: string): Record { FILE: docs/src/lib/registry/schema.ts type BlockName (line 33) | type BlockName = (typeof blockNames)[number]; function isBlockName (line 34) | function isBlockName(str: string): str is BlockName { FILE: docs/src/lib/registry/styles/index.ts constant STYLES (line 7) | const STYLES = [ type Style (line 40) | type Style = (typeof STYLES)[number]; FILE: docs/src/lib/registry/templates.ts constant BASE_STYLES (line 1) | const BASE_STYLES = `@import "tailwindcss"; constant BASE_STYLES_WITH_VARIABLES (line 8) | const BASE_STYLES_WITH_VARIABLES = `@import "tailwindcss"; constant THEME_STYLES_WITH_VARIABLES (line 130) | const THEME_STYLES_WITH_VARIABLES = `.theme-<%- theme %> { FILE: docs/src/lib/registry/themes.ts constant BASE_THEMES (line 3) | const BASE_THEMES = [ constant THEMES (line 524) | const THEMES = [ type Theme (line 1090) | type Theme = (typeof THEMES)[number]; type BaseTheme (line 1091) | type BaseTheme = (typeof BASE_THEMES)[number]; FILE: docs/src/lib/registry/ui/carousel/context.ts type CarouselAPI (line 9) | type CarouselAPI = type EmblaCarouselConfig (line 16) | type EmblaCarouselConfig = NonNullable = T extends Snippet<[infer P]> ? P : never; type TooltipPayload (line 18) | type TooltipPayload = ExtractSnippetParams< function getPayloadConfigFromPayload (line 23) | function getPayloadConfigFromPayload( type ChartContextValue (line 54) | type ChartContextValue = { function setChartContext (line 60) | function setChartContext(value: ChartContextValue) { function useChart (line 64) | function useChart() { FILE: docs/src/lib/registry/ui/data-table/data-table.svelte.ts function createSvelteTable (line 36) | function createSvelteTable(options: TableOptions<... type MaybeThunk (line 79) | type MaybeThunk = T | (() => T | null | undefined); type Intersection (line 80) | type Intersection = (T extends [infer H, .... function mergeObjects (line 91) | function mergeObjects[]>( FILE: docs/src/lib/registry/ui/data-table/render-helpers.ts class RenderComponentConfig (line 19) | class RenderComponentConfig { method constructor (line 22) | constructor( class RenderSnippetConfig (line 46) | class RenderSnippetConfig { method constructor (line 49) | constructor(snippet: Snippet<[TProps]>, params: TProps) { function renderComponent (line 77) | function renderComponent< function renderSnippet (line 109) | function renderSnippet(snippet: Snippet<[TProps]>, params: TProp... FILE: docs/src/lib/registry/ui/sidebar/constants.ts constant SIDEBAR_COOKIE_NAME (line 1) | const SIDEBAR_COOKIE_NAME = "sidebar:state"; constant SIDEBAR_COOKIE_MAX_AGE (line 2) | const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7; constant SIDEBAR_WIDTH (line 3) | const SIDEBAR_WIDTH = "16rem"; constant SIDEBAR_WIDTH_MOBILE (line 4) | const SIDEBAR_WIDTH_MOBILE = "18rem"; constant SIDEBAR_WIDTH_ICON (line 5) | const SIDEBAR_WIDTH_ICON = "3rem"; constant SIDEBAR_KEYBOARD_SHORTCUT (line 6) | const SIDEBAR_KEYBOARD_SHORTCUT = "b"; FILE: docs/src/lib/registry/ui/sidebar/context.svelte.ts type Getter (line 5) | type Getter = () => T; type SidebarStateProps (line 7) | type SidebarStateProps = { class SidebarState (line 23) | class SidebarState { method constructor (line 31) | constructor(props: SidebarStateProps) { method isMobile (line 39) | get isMobile() { constant SYMBOL_KEY (line 62) | const SYMBOL_KEY = "scn-sidebar"; function setSidebar (line 70) | function setSidebar(props: SidebarStateProps): SidebarState { function useSidebar (line 79) | function useSidebar(): SidebarState { FILE: docs/src/lib/themes.ts constant THEMES (line 1) | const THEMES = [ type Theme (line 31) | type Theme = (typeof THEMES)[number]; FILE: docs/src/lib/user-config.svelte.ts constant USER_CONFIG_COOKIE_NAME (line 4) | const USER_CONFIG_COOKIE_NAME = "scn_user_config"; type Layout (line 29) | type Layout = z.infer; type InstallationType (line 30) | type InstallationType = z.infer; type PackageManager (line 31) | type PackageManager = z.infer; type ColorFormat (line 32) | type ColorFormat = z.infer; type ActiveTheme (line 33) | type ActiveTheme = z.infer; type UserConfigType (line 51) | type UserConfigType = z.infer; function parseCookie (line 53) | function parseCookie(cookie: string): Record { function parseUserConfig (line 63) | function parseUserConfig(cookie: string): UserConfigType { class UserConfig (line 70) | class UserConfig { method constructor (line 73) | constructor(config: UserConfigType) { method current (line 77) | get current(): UserConfigType { method setConfig (line 81) | setConfig(config: Partial): void { function updateLayoutClass (line 89) | function updateLayoutClass(newLayout: Layout): void { FILE: docs/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]): string { function getComponentName (line 8) | function getComponentName(name: string): string { type WithoutChild (line 14) | type WithoutChild = T extends { child?: any } ? Omit : T; type WithoutChildrenOrChild (line 15) | type WithoutChildrenOrChild = WithoutChildren>; type WithoutChildren (line 17) | type WithoutChildren = T extends { children?: any } ? Omit = T & { ref?... FILE: docs/src/routes/(app)/(layout)/(create)/create/+page.server.ts function load (line 3) | function load({ url }) { FILE: docs/src/routes/(app)/(layout)/(create)/create/[item]/+page.ts function load (line 1) | function load({ params }) { FILE: docs/src/routes/(app)/(layout)/(create)/lib/randomize-biases.ts type RandomizeContext (line 3) | type RandomizeContext = { type BiasFilter (line 14) | type BiasFilter = (items: readonly T[], context: RandomizeContext) =>... type RandomizeBiases (line 16) | type RandomizeBiases = { constant RANDOMIZE_BIASES (line 30) | const RANDOMIZE_BIASES: RandomizeBiases = { function applyBias (line 60) | function applyBias( FILE: docs/src/routes/(app)/(layout)/(create)/lib/utils.ts function groupItemsByType (line 8) | function groupItemsByType(items: Pick) { FILE: docs/src/routes/(app)/(layout)/blocks/[category]/+page.ts type Item (line 12) | type Item = HighlightedBlock & { FILE: docs/src/routes/(app)/(layout)/charts/+page.ts function load (line 3) | function load() { FILE: docs/src/routes/(app)/(layout)/charts/[t]/+page.server.ts function getChartNames (line 19) | function getChartNames(glob: Record) { FILE: docs/src/routes/(app)/(layout)/charts/[t]/+page.ts type ChartType (line 5) | type ChartType = (typeof chartTypes)[number]; FILE: docs/src/routes/(app)/(layout)/charts/charts.ts type ChartItem (line 73) | interface ChartItem { type ChartGroups (line 79) | interface ChartGroups { FILE: docs/src/routes/(app)/(layout)/docs/[...slug]/+page.ts constant ITEMS_TO_IGNORE (line 23) | const ITEMS_TO_IGNORE = ["combobox", "date-picker", "typography"]; FILE: docs/src/routes/(app)/(layout)/examples/dashboard/components/schemas.ts type Schema (line 13) | type Schema = z.infer; FILE: docs/src/routes/(app)/(layout)/examples/playground/(data)/models.ts type ModelType (line 3) | type ModelType = (typeof types)[number]; type Model (line 5) | type Model = { FILE: docs/src/routes/(app)/(layout)/examples/playground/(data)/presets.ts type Preset (line 1) | type Preset = { FILE: docs/src/routes/(app)/(layout)/examples/tasks/data/schemas.ts type Task (line 13) | type Task = z.output; FILE: docs/src/routes/(app)/preview/[item]/+page.ts function load (line 4) | function load({ params }) { FILE: docs/src/routes/(view)/view/[view=view]/+page.ts function load (line 11) | async function load({ params }) { FILE: docs/src/routes/api/block/[block]/+server.ts type HighlightedBlock (line 23) | interface HighlightedBlock { type HighlightedFile (line 31) | interface HighlightedFile { function loadItem (line 68) | async function loadItem( FILE: docs/src/routes/init/+server.ts function GET (line 5) | async function GET({ request }) { FILE: docs/src/routes/og/+server.ts function GET (line 4) | function GET({ url }) { FILE: docs/src/routes/og/create/+server.ts function GET (line 4) | function GET({ url }) { FILE: docs/src/routes/og/og.ts constant OG_IMAGE_BASE_URL (line 1) | const OG_IMAGE_BASE_URL = "https://og.shadcn-svelte.com"; FILE: docs/src/routes/registry/+server.ts function GET (line 3) | function GET() { FILE: docs/src/routes/repro/+server.ts function GET (line 3) | function GET() { FILE: docs/svelte.config.js function componentPreviews (line 38) | function componentPreviews() { FILE: docs/vite.config.ts function buildRegistry (line 80) | async function buildRegistry() { FILE: packages/cli/src/commands/add/index.ts type AddOptions (line 29) | type AddOptions = z.infer; function runAdd (line 74) | async function runAdd(cwd: string, config: cliConfig.ResolvedConfig, opt... FILE: packages/cli/src/commands/init/index.ts type InitOptions (line 43) | type InitOptions = z.infer; function validateOptions (line 111) | function validateOptions(cwd: string, options: InitOptions, tsconfig: Ts... function promptForConfig (line 130) | async function promptForConfig({ function runInit (line 247) | async function runInit({ FILE: packages/cli/src/commands/init/preflight.ts function preflightInit (line 20) | function preflightInit(cwd: string, options: { skipPreflight: boolean }) { type CheckInitDependenciesResult (line 40) | type CheckInitDependenciesResult = function checkInitDependencies (line 50) | function checkInitDependencies( FILE: packages/cli/src/commands/registry/build.ts constant SPACER (line 17) | const SPACER = "\t"; type BuildOptions (line 25) | type BuildOptions = z.infer; function runBuild (line 58) | async function runBuild(options: BuildOptions) { function transformLocal (line 209) | function transformLocal(registryDep: string) { function transformAliases (line 228) | function transformAliases( FILE: packages/cli/src/commands/registry/deps-resolver.ts type ResolvedDependencies (line 10) | type ResolvedDependencies = { type ProjectDependencies (line 17) | type ProjectDependencies = { function resolveProjectDeps (line 24) | function resolveProjectDeps(cwd: string): ProjectDependencies { function resolveTypeDeps (line 40) | function resolveTypeDeps(projectDeps: ProjectDependencies) { function resolvePeerVersions (line 65) | function resolvePeerVersions(projectDeps: ProjectDependencies): ProjectD... constant IGNORE_DEPS (line 81) | const IGNORE_DEPS = ["svelte", "@sveltejs/kit", "tailwindcss", "vite"]; function resolvePeerDeps (line 88) | function resolvePeerDeps( type GetFileDepOpts (line 115) | type GetFileDepOpts = { function getFileDependencies (line 121) | async function getFileDependencies(opts: GetFileDepOpts) { function resolveDepsFromImport (line 173) | function resolveDepsFromImport(source: string, dependencies: ResolvedDep... FILE: packages/cli/src/commands/update/index.ts type UpdateOptions (line 38) | type UpdateOptions = z.infer; function runUpdate (line 85) | async function runUpdate(cwd: string, config: cliConfig.ResolvedConfig, ... FILE: packages/cli/src/constants.ts constant SITE_BASE_URL (line 3) | const SITE_BASE_URL = "https://shadcn-svelte.com"; constant TW3_SITE_BASE_URL (line 4) | const TW3_SITE_BASE_URL = "https://tw3.shadcn-svelte.com"; constant OFFICIAL_REGISTRY_URL (line 5) | const OFFICIAL_REGISTRY_URL = `${SITE_BASE_URL}/registry`; constant ALIASES (line 7) | const ALIASES = ["components", "ui", "hooks", "utils", "lib"] as const; constant ALIAS_DEFAULTS (line 9) | const ALIAS_DEFAULTS = ALIASES.reduce( FILE: packages/cli/src/icons/libraries.ts type IconLibraryName (line 5) | type IconLibraryName = keyof typeof iconLibraries; type IconLibrary (line 7) | type IconLibrary = { function toLucideKebab (line 68) | function toLucideKebab(name: string): string { function toPhosphorName (line 72) | function toPhosphorName(name: string): string { function toRemixKebab (line 76) | function toRemixKebab(name: string): string { FILE: packages/cli/src/index.ts constant MINIMUM_MAJOR (line 10) | const MINIMUM_MAJOR = 20; function main (line 21) | async function main() { FILE: packages/cli/src/preset/preset.ts constant PRESET_STYLES (line 17) | const PRESET_STYLES = ["nova", "vega", "maia", "lyra", "mira"] as const; constant PRESET_BASE_COLORS (line 19) | const PRESET_BASE_COLORS = { constant PRESET_BASE_COLOR_KEYS (line 29) | const PRESET_BASE_COLOR_KEYS = keys(PRESET_BASE_COLORS); constant PRESET_THEMES (line 31) | const PRESET_THEMES = { constant PRESET_THEME_KEYS (line 58) | const PRESET_THEME_KEYS = keys(PRESET_THEMES); constant PRESET_ICON_LIBRARIES (line 60) | const PRESET_ICON_LIBRARIES = keys(iconLibraries); constant PRESET_FONTS (line 62) | const PRESET_FONTS = [ constant PRESET_RADII (line 82) | const PRESET_RADII = { constant PRESET_RADII_KEYS (line 90) | const PRESET_RADII_KEYS = keys(PRESET_RADII); constant PRESET_MENU_ACCENTS (line 92) | const PRESET_MENU_ACCENTS = ["subtle", "bold"] as const; constant PRESET_MENU_COLORS (line 93) | const PRESET_MENU_COLORS = [ constant PRESET_FIELDS (line 103) | const PRESET_FIELDS = [ type PresetConfig (line 114) | type PresetConfig = { constant DEFAULT_PRESET_CONFIG (line 125) | const DEFAULT_PRESET_CONFIG: PresetConfig = Object.fromEntries( constant BASE62 (line 130) | const BASE62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst... constant VERSION_CHAR (line 133) | const VERSION_CHAR = "a"; function toBase62 (line 135) | function toBase62(num: number) { function fromBase62 (line 146) | function fromBase62(str: string) { function encodePreset (line 157) | function encodePreset(config: Partial) { function decodePreset (line 175) | function decodePreset(code: string): PresetConfig | null { function isPresetCode (line 199) | function isPresetCode(value: string) { function isValidPreset (line 218) | function isValidPreset(code: string) { function generateRandomConfig (line 223) | function generateRandomConfig(): PresetConfig { function generateRandomPreset (line 230) | function generateRandomPreset() { FILE: packages/cli/src/preset/presets.ts constant DEFAULT_PRESETS (line 20) | const DEFAULT_PRESETS = { function promptForPreset (line 101) | async function promptForPreset( type ContinuationOption (line 121) | type ContinuationOption = { constant CONTINUATION_OPTIONS (line 126) | const CONTINUATION_OPTIONS = { function customize (line 141) | async function customize(existingConfig: cliConfig.RawConfig | undefined... function presets (line 182) | async function presets(existingConfig: cliConfig.RawConfig | undefined) { function prompt (line 198) | async function prompt(existingConfig: cliConfig.RawConfig | undefined): ... FILE: packages/cli/src/utils/add-registry-items.ts constant STYLE_TYPES (line 20) | const STYLE_TYPES = ["registry:style", "registry:theme"]; type AddRegistryItemsProps (line 22) | type AddRegistryItemsProps = { function addRegistryItems (line 30) | async function addRegistryItems(opts: AddRegistryItemsProps) { FILE: packages/cli/src/utils/auto-detect.ts constant STYLESHEETS (line 9) | const STYLESHEETS = ["app.css", "main.css", "globals.css", "global.css",... constant IGNORE (line 12) | const IGNORE = ["node_modules", ".git", ".svelte-kit"]; function detectConfigs (line 17) | function detectConfigs(cwd: string, config?: { relative: boolean }) { function findFiles (line 41) | function findFiles(dirPath: string) { function walkDir (line 45) | function walkDir(dirPath: string, ignores: { dirPath: string; ig: Ignore... function findTSConfig (line 80) | function findTSConfig(cwd: string): string | undefined { constant AGENT_NAMES (line 87) | const AGENT_NAMES = AGENTS.filter((agent) => !agent.includes("@")) as Ag... type Options (line 88) | type Options = Array<{ value: Agent | undefined; label: Agent | "None" }>; function detectPM (line 89) | async function detectPM(cwd: string, prompt: boolean): Promise; type ResolvedConfig (line 110) | type ResolvedConfig = z.infer; FILE: packages/cli/src/utils/config/utils.ts function getConfig (line 23) | async function getConfig(cwd: string): Promise... type PromptForAliasesOptions (line 109) | type PromptForAliasesOptions = { function promptForAliases (line 119) | async function promptForAliases(options: PromptForAliasesOptions) { function promptAlias (line 135) | async function promptAlias( function writeConfig (line 161) | function writeConfig(cwd: string, config: RawConfig): void { type TSConfigName (line 167) | type TSConfigName = "tsconfig.json" | "jsconfig.json" | (string & {}); function resolveTSConfig (line 168) | function resolveTSConfig(cwd: string, config: RawConfig) { FILE: packages/cli/src/utils/css.ts function createGlobalCssFile (line 1) | function createGlobalCssFile(): string { FILE: packages/cli/src/utils/errors.ts function error (line 3) | function error(msg: string, cause?: unknown) { class CLIError (line 7) | class CLIError extends Error { class ConfigError (line 11) | class ConfigError extends Error { FILE: packages/cli/src/utils/fonts.ts type Font (line 3) | type Font = RegistryFont & { name: string }; function setupFonts (line 5) | function setupFonts(fonts: Font[]): { FILE: packages/cli/src/utils/get-env-proxy.ts function getEnvProxy (line 3) | function getEnvProxy(): string | undefined { FILE: packages/cli/src/utils/get-package-info.ts function getCLIPackageInfo (line 7) | function getCLIPackageInfo(): PackageJson { function getPackageFilePath (line 12) | function getPackageFilePath(filePath: string) { function readJSONSync (line 18) | function readJSONSync(path: string): unknown { function getDependencyPackageInfo (line 23) | function getDependencyPackageInfo(cwd: string, depName: string) { FILE: packages/cli/src/utils/install-deps.ts type InstallOptions (line 9) | type InstallOptions = { function installDependencies (line 15) | async function installDependencies({ function parseDependency (line 80) | function parseDependency(dep: string) { FILE: packages/cli/src/utils/preconditions.ts type PreconditionOptions (line 12) | type PreconditionOptions = { function checkPreconditions (line 19) | function checkPreconditions({ type CheckDependenciesResult (line 46) | type CheckDependenciesResult = function checkDependencies (line 59) | function checkDependencies( FILE: packages/cli/src/utils/project.ts function getComponents (line 11) | async function getComponents({ function syncSvelteKit (line 48) | async function syncSvelteKit(cwd: string) { function isUsingSvelteKit (line 75) | function isUsingSvelteKit(cwd: string): boolean { function getPackageInfo (line 81) | function getPackageInfo(cwd: string) { FILE: packages/cli/src/utils/prompt-helpers.ts function intro (line 8) | function intro() { function cancel (line 22) | function cancel(msg = "Operation cancelled."): never { function prettifyList (line 31) | function prettifyList(arr: string[], max: number = 9): string { function getPadding (line 38) | function getPadding(lines: string[]) { function handleError (line 43) | function handleError(error: unknown) { function printError (line 67) | function printError(error: Error): string { FILE: packages/cli/src/utils/registry/index.ts function getRegistryUrl (line 12) | function getRegistryUrl(config: { registry: string; style?: string }) { function getSiteUrl (line 22) | function getSiteUrl(config: { registry: string }) { function getRegistryIndex (line 27) | async function getRegistryIndex(registryUrl: string) { function getBaseColors (line 38) | function getBaseColors() { function getRegistryTheme (line 45) | async function getRegistryTheme(baseUrl: string, theme: string) { function parseStyleCss (line 57) | function parseStyleCss(css: string): Record { type ResolveRegistryItemsProps (line 85) | type ResolveRegistryItemsProps = { type ResolvedRegistryItem (line 92) | type ResolvedRegistryItem = schemas.RegistryItem | schemas.RegistryIndex... function resolveRegistryItems (line 93) | async function resolveRegistryItems({ type FetchTreeProps (line 153) | type FetchTreeProps = { baseUrl: string; items: ResolvedRegistryItem[] }; function fetchRegistryItems (line 154) | async function fetchRegistryItems({ function fetchRegistry (line 172) | async function fetchRegistry(urls: Array): Promise; type RegistryItemFileType (line 33) | type RegistryItemFileType = z.infer; type RegistryItemFile (line 38) | type RegistryItemFile = z.infer; type RegistryIndexItem (line 99) | type RegistryIndexItem = z.infer; type RegistryIndex (line 105) | type RegistryIndex = z.infer; type CssVars (line 115) | type CssVars = z.infer; type CssSchema (line 130) | type CssSchema = { [x: string]: string | CssSchema }; type RegistryFont (line 181) | type RegistryFont = z.infer; type RegistryItem (line 183) | type RegistryItem = z.infer; type Registry (line 200) | type Registry = z.infer; function naiveDeepPartialify (line 323) | function naiveDeepPartialify(schema: z.ZodObject): z.ZodObject { FILE: packages/cli/src/utils/resolve-imports.ts constant NOOP (line 9) | const NOOP = "/noop.js"; type ResolveImportOpts (line 11) | type ResolveImportOpts = { function resolveImportAlias (line 20) | function resolveImportAlias(opts: ResolveImportOpts): string | undefined { function resolveAlias (line 48) | function resolveAlias(pkg: PackageJson, pkgPath: string, aliasedPath: st... FILE: packages/cli/src/utils/transform-css.ts type TransformCssOptions (line 5) | type TransformCssOptions = { function transformCss (line 14) | function transformCss(source: string, options?: TransformCssOptions): st... FILE: packages/cli/src/utils/transformers/index.ts type TransformOptions (line 3) | type TransformOptions = { type TransformerResult (line 9) | type TransformerResult = { type Transformer (line 16) | type Transformer = (opts: TransformOptions) => Promise, overwr... function updateThemePlugin (line 158) | function updateThemePlugin(ast: Root, cssVars: CssVars): void { function upsertThemeNode (line 240) | function upsertThemeNode(ast: Root): AtRule { function isLocalHSLValue (line 261) | function isLocalHSLValue(value: string): boolean { function isColorValue (line 275) | function isColorValue(value: string): boolean { function updateTailwindPlugins (line 285) | function updateTailwindPlugins(ast: Root, plugins: string[]): void { FILE: packages/cli/src/utils/updaters/update-css.ts constant TAB (line 5) | const TAB = "\t"; function inferBefore (line 12) | function inferBefore(parentBefore: string | undefined): string { function updateCss (line 16) | function updateCss(root: Root, css: CssSchema): void { function processAtRule (line 344) | function processAtRule( function processRule (line 425) | function processRule(parent: Root | AtRule, selector: string, properties... FILE: packages/cli/src/utils/utils.ts function isUrl (line 5) | function isUrl(path: string) { function normalizeURL (line 11) | function normalizeURL(url: URL | string): URL { function resolveURL (line 23) | function resolveURL(base: URL | string, path: string): URL { function toArray (line 29) | function toArray(set: Set): Array | undefined { function pascalToKebab (line 36) | function pascalToKebab(str: string): string { function kebabToPascal (line 45) | function kebabToPascal(str: string): string { function entries (line 55) | function entries>(obj: T): [keyof T, T... function keys (line 65) | function keys>(obj: T): (keyof T)[] { FILE: packages/cli/test/registry-template.test.ts function getFile (line 22) | function getFile(name: string) { FILE: packages/cli/test/utils/add-registry-items.test.ts type ResolvedRegistryItem (line 45) | type ResolvedRegistryItem = Awaited): ResolvedDependenci... function mkOpts (line 213) | function mkOpts( FILE: packages/cli/test/utils/project.test.ts function createConfig (line 24) | function createConfig(resolvedPaths: { FILE: packages/cli/test/utils/test-helpers.ts function toPosixPath (line 4) | function toPosixPath(p: string) { function getConf (line 10) | async function getConf(fixtureDir: string) { FILE: packages/cli/test/utils/utils.test.ts type Aliases (line 124) | type Aliases = NonNullable[0]>; FILE: packages/registry/src/schemas.ts type RegistryItemType (line 19) | type RegistryItemType = z.infer; type RegistryItemFileType (line 26) | type RegistryItemFileType = z.infer; type RegistryItemFile (line 31) | type RegistryItemFile = z.infer; type RegistryIndexItem (line 92) | type RegistryIndexItem = z.infer; type RegistryIndex (line 98) | type RegistryIndex = z.infer; type CssVars (line 111) | type CssVars = z.infer; type CssSchema (line 126) | type CssSchema = { [x: string]: string | CssSchema }; type RegistryItem (line 147) | type RegistryItem = z.infer; type Registry (line 167) | type Registry = z.infer; FILE: registry-template/src/lib/registry/blocks/complex-component/hooks/use-pokemon.svelte.ts function usePokemonImage (line 3) | function usePokemonImage(number: number) { FILE: registry-template/src/lib/registry/blocks/complex-component/lib/pokemon.ts function getPokemonList (line 3) | async function getPokemonList({ limit = 10 }: { limit?: number }) { function getPokemon (line 17) | async function getPokemon(name: string) { FILE: registry-template/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: repro/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { type WithoutChild (line 9) | type WithoutChild = T extends { child?: any } ? Omit : T; type WithoutChildren (line 11) | type WithoutChildren = T extends { children?: any } ? Omit = WithoutChildren>; type WithElementRef (line 13) | type WithElementRef = T & { ref?...