MCPcopy Index your code

hub / github.com/adrian-ub/shadcn-ng / functions

Functions148 in github.com/adrian-ub/shadcn-ng

↓ 63 callersFunctioncn
(...inputs: ClassValue[])
apps/www/src/registry/default/lib/utils.ts:5
↓ 63 callersFunctioncn
(...inputs: ClassValue[])
apps/www/src/registry/new-york/lib/utils.ts:5
↓ 62 callersFunctioncn
(...inputs: ClassValue[])
apps/v4/src/registry/new-york-v4/lib/utils.ts:5
↓ 16 callersFunctionhandleError
(error: unknown)
src/utils/handle-error.ts:5
↓ 8 callersFunctionfetchRegistry
(urlRegistry: string, paths: string[])
src/registry/api.ts:43
↓ 8 callersFunctionresolveImport
( importPath: string, config: Pick<ConfigLoaderSuccessResult, 'absoluteBaseUrl' | 'paths'>, )
src/cli/stages/resolve-import.ts:4
↓ 5 callersFunctioncancelProcess
(exitCode: number = 0)
src/cli/utils/cancel-process.ts:11
↓ 5 callersFunctioncolorsData
()
apps/www/src/registry/registry-colors.ts:1812
↓ 5 callersFunctiongetConfig
(cwd: string)
src/cli/stages/get-config.ts:22
↓ 5 callersFunctiongetProjectInfo
(cwd: string)
src/cli/stages/get-project-info.ts:32
↓ 5 callersFunctionheader
()
src/cli/utils/header.ts:6
↓ 5 callersFunctionverifyIsCancelPrompt
(value: unknown, exitCode = 0)
src/cli/utils/cancel-process.ts:5
↓ 4 callersFunctionbuildTailwindThemeColorsFromCssVars
( cssVars: Record<string, string>, )
src/utils/updaters/update-tailwind-config.ts:1
↓ 4 callersFunctiongetNodeAttributeByName
(node: UnistNode, name: string)
apps/www/src/plugins/rehype-component.ts:179
↓ 4 callersFunctiongetRegistryBaseColor
(urlRegistry: string, baseColor: string)
src/registry/api.ts:163
↓ 4 callersFunctiongetRegistryIndex
(urlRegistry: string)
src/registry/api.ts:116
↓ 3 callersFunctiongetProjectTailwindVersionFromConfig
( config: Config, )
src/cli/stages/get-project-info.ts:211
↓ 3 callersFunctiongetRegistryBaseColors
()
src/registry/api.ts:189
↓ 3 callersFunctiongetRegistryStyles
(urlRegistry: string)
src/registry/api.ts:127
↓ 3 callersMethodisBrowser
()
apps/v4/src/components/mode-switcher.ts:74
↓ 3 callersFunctionisUrl
(path: string)
src/registry/api.ts:23
↓ 3 callersFunctionparseObjectLiteralExpression
(node: ObjectLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:379
↓ 3 callersFunctionresolveConfigPaths
(cwd: string, config: RawConfig)
src/cli/stages/get-config.ts:63
↓ 3 callersFunctionresolveFilePath
( file: v.InferOutput<typeof RegistryItemFileSchema>, config: Config, )
src/cli/stages/updaters/update-files.ts:165
↓ 3 callersFunctionrunInit
(options: InitOptions)
src/cli/stages/run-init.ts:22
↓ 3 callersFunctiontoLinear
(number: number)
apps/www/src/lib/colors.ts:71
↓ 3 callersFunctionupsertThemeNode
(root: Root)
src/cli/stages/updaters/update-css-vars.ts:370
↓ 2 callersFunction_createSourceFile
(input: string, config: Config | null)
src/cli/stages/updaters/update-tailwind-config.ts:71
↓ 2 callersFunctionaddComponents
( components: string[], config: Config, options: { overwrite?: boolean }, )
src/cli/stages/add-components.ts:13
↓ 2 callersFunctioncn
(...inputs: ClassValue[])
apps/www/src/lib/utils.ts:5
↓ 2 callersFunctioncreateProject
(options: Pick<InitOptions, 'cwd' | 'force' | 'components'>)
src/cli/stages/create-project.ts:19
↓ 2 callersFunctiondiffComponent
( component: v.InferOutput<typeof RegistryIndexSchema>[number], config: Config, )
src/cli/stages/run-diff.ts:116
↓ 2 callersFunctionfetchTree
( urlRegistry: string, style: string, tree: v.InferOutput<typeof RegistryIndexSchema>, )
src/registry/api.ts:174
↓ 2 callersFunctionflattenNode
(node)
apps/www/src/lib/toc.ts:10
↓ 2 callersFunctiongetNormalizedFileContent
(content: string)
src/cli/stages/updaters/update-files.ts:161
↓ 2 callersFunctiongetRegistryUrl
(urlRegistry: string, path: string)
src/registry/api.ts:34
↓ 2 callersFunctionisLocalHSLValue
(value: string)
src/cli/stages/updaters/update-css-vars.ts:255
↓ 2 callersFunctionnestSpreadProperties
(obj: ObjectLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:290
↓ 2 callersFunctionparseValue
(node: any)
src/cli/stages/updaters/update-tailwind-config.ts:406
↓ 2 callersFunctionregistryResolveItemsTree
( urlRegistry: string, names: v.InferOutput<typeof RegistryItemSchema>['name'][], config: Config, )
src/registry/api.ts:265
↓ 2 callersFunctiontransform
(opts: TransformOpts, transformers: Transformer[] = [ transformImport, transformCssVars, ])
src/cli/stages/transformers/index.ts:36
↓ 2 callersFunctionunnestSpreadProperties
(obj: ObjectLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:451
↓ 1 callersFunction_getQuoteChar
(configObject: ObjectLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:88
↓ 1 callersFunctionaddCustomVariant
({ params }: { params: string })
src/cli/stages/updaters/update-css-vars.ts:180
↓ 1 callersFunctionaddOrUpdateVars
( baseLayer: AtRule, selector: string, vars: Record<string, string>, )
src/cli/stages/updaters/update-css-vars.ts:139
↓ 1 callersFunctionaddProjectComponents
( components: string[], config: Config, options: { overwrite?: boolean }, )
src/cli/stages/add-components.ts:28
↓ 1 callersFunctionaddTailwindConfigPlugin
( configObject: ObjectLiteralExpression, plugin: string, )
src/cli/stages/updaters/update-tailwind-config.ts:209
↓ 1 callersFunctionaddTailwindConfigProperty
( configObject: ObjectLiteralExpression, property: { name: string value: string }, { quote
src/cli/stages/updaters/update-tailwind-config.ts:147
↓ 1 callersFunctionaddTailwindConfigTheme
( configObject: ObjectLiteralExpression, theme: UpdaterTailwindConfig['theme'], )
src/cli/stages/updaters/update-tailwind-config.ts:247
↓ 1 callersFunctionapplyColorMapping
( input: string, mapping: v.InferOutput<typeof RegistryBaseColorSchema>['inlineColors'], )
src/cli/stages/transformers/transform-css-vars.ts:62
↓ 1 callersFunctionbuildRegistry
(registry: Registry)
apps/www/src/__registry__/index.ts:18
↓ 1 callersFunctionbuildRegistry
(url: string = 'https://ui.adrianub.dev/r')
src/registry/api.ts:493
↓ 1 callersFunctioncn
(...inputs: ClassValue[])
apps/v4/src/lib/utils.ts:5
↓ 1 callersFunctioncreateTempSourceFile
(filename: string)
apps/www/src/pages/r/styles/[style]/[name].json.ts:41
↓ 1 callersFunctioncreateTempSourceFile
(filename: string)
src/cli/stages/transformers/index.ts:31
↓ 1 callersFunctiongetForegroundFromBackground
(rgb: string)
apps/www/src/lib/colors.ts:78
↓ 1 callersMethodgetInitialTheme
()
apps/v4/src/components/mode-switcher.ts:61
↓ 1 callersFunctiongetItemTargetPath
( config: Config, item: Pick<v.InferOutput<typeof RegistryItemSchema>, 'type'>, override?: string, )
src/registry/api.ts:241
↓ 1 callersFunctiongetItems
(node, current)
apps/www/src/lib/toc.ts:30
↓ 1 callersFunctiongetProjectConfig
( cwd: string, defaultProjectInfo: ProjectInfo | null = null, )
src/cli/stages/get-project-info.ts:165
↓ 1 callersFunctiongetQuoteType
(root: Root)
src/cli/stages/updaters/update-css-vars.ts:444
↓ 1 callersFunctiongetRawConfig
(cwd: string)
src/cli/stages/get-config.ts:37
↓ 1 callersFunctiongetRegistryIcons
(urlRegistry: string)
src/registry/api.ts:138
↓ 1 callersFunctiongetRegistryItem
(urlRegistry: string, name: string, style: string)
src/registry/api.ts:149
↓ 1 callersFunctiongetRegistryParentMap
( registryItems: v.InferOutput<typeof RegistryItemSchema>[], )
src/registry/api.ts:467
↓ 1 callersFunctiongetRegistryTypeAliasMap
()
src/registry/api.ts:483
↓ 1 callersFunctiongetTailwindConfigFile
(cwd: string)
src/cli/stages/get-project-info.ts:127
↓ 1 callersFunctiongetTailwindCssFile
(cwd: string)
src/cli/stages/get-project-info.ts:77
↓ 1 callersFunctiongetTailwindVersion
( cwd: string, )
src/cli/stages/get-project-info.ts:106
↓ 1 callersFunctiongetTargetStyleFromConfig
(cwd: string, fallback: string)
src/cli/stages/get-config.ts:111
↓ 1 callersFunctiongetTsConfigAliasPrefix
(cwd: string)
src/cli/stages/get-project-info.ts:140
↓ 1 callersFunctionisColorValue
(value: string)
src/cli/stages/updaters/update-css-vars.ts:392
↓ 1 callersFunctionmain
()
src/cli/index.ts:10
↓ 1 callersFunctionnestSpreadElements
(arr: ArrayLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:334
↓ 1 callersFunctionparseArrayLiteralExpression
(node: ArrayLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:427
↓ 1 callersFunctionparseObjectLiteral
(objectLiteralString: string)
src/cli/stages/updaters/update-tailwind-config.ts:359
↓ 1 callersFunctionpreFlightAdd
(options: AddOptions)
src/cli/stages/preflight-add.ts:14
↓ 1 callersFunctionpreFlightBuild
( options: BuildOptions, )
src/cli/stages/preflight-build.ts:12
↓ 1 callersFunctionpreFlightInit
(options: InitOptions)
src/cli/stages/preflight-init.ts:19
↓ 1 callersFunctionprintDiff
(diff: Change[])
src/cli/stages/run-diff.ts:163
↓ 1 callersFunctionpromptForConfig
(defaultConfig: Config | null = null, projectInfo: ProjectInfo | null = null)
src/cli/stages/run-init.ts:133
↓ 1 callersFunctionpromptForMinimalConfig
( defaultConfig: Config, opts: InitOptions, )
src/cli/stages/run-init.ts:68
↓ 1 callersFunctionpromptForRegistryComponents
( options: v.InferOutput<typeof AddOptionsSchema>, )
src/cli/stages/prompt-for-registry-components.ts:10
↓ 1 callersFunctionregistryGetTheme
(urlRegistry: string, name: string, config: Config)
src/registry/api.ts:385
↓ 1 callersFunctionresolveDependencies
(itemUrl: string)
src/registry/api.ts:350
↓ 1 callersFunctionresolveFileTargetDirectory
( file: v.InferOutput<typeof RegistryItemFileSchema>, config: Config, )
src/cli/stages/updaters/update-files.ts:194
↓ 1 callersFunctionresolveNestedFilePath
( filePath: string, targetDir: string, )
src/cli/stages/updaters/update-files.ts:217
↓ 1 callersFunctionresolveRegistryDependencies
( urlRegistry: string, url: string, config: Config, )
src/registry/api.ts:338
↓ 1 callersFunctionresolveRegistryItems
(urlRegistry: string, names: string[], config: Config)
src/registry/api.ts:453
↓ 1 callersFunctionresolveTree
( index: v.InferOutput<typeof RegistryIndexSchema>, names: string[], )
src/registry/api.ts:214
↓ 1 callersFunctionrunAdd
(options: AddOptions)
src/cli/stages/run-add.ts:16
↓ 1 callersFunctionrunBuild
(options: BuildOptions)
src/cli/stages/run-build.ts:14
↓ 1 callersFunctionrunDiff
(options: DiffOptions)
src/cli/stages/run-diff.ts:20
↓ 1 callersFunctionsplitClassName
(className: string)
src/cli/stages/transformers/transform-css-vars.ts:31
↓ 1 callersFunctiontoCamelCase
(str: string)
apps/www/src/plugins/rehype-component.ts:12
↓ 1 callersFunctiontransformCssVars
( input: string, cssVars: v.InferOutput<typeof RegistryItemCssVarsSchema>, config: Config, options: {
src/cli/stages/updaters/update-css-vars.ts:48
↓ 1 callersFunctiontransformTailwindConfig
( input: string, tailwindConfig: UpdaterTailwindConfig, config: Config, )
src/cli/stages/updaters/update-tailwind-config.ts:96
↓ 1 callersFunctionunnsetSpreadElements
(arr: ArrayLiteralExpression)
src/cli/stages/updaters/update-tailwind-config.ts:484
↓ 1 callersFunctionupdateBaseLayerPlugin
()
src/cli/stages/updaters/update-css-vars.ts:574
↓ 1 callersFunctionupdateCssVars
( cssVars: v.InferOutput<typeof RegistryItemCssVarsSchema> | undefined, config: Config, options: { t
src/cli/stages/updaters/update-css-vars.ts:15
next →1–100 of 148, ranked by callers