// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`registryResolveItemTree > should resolve index 1`] = ` { "cssVars": { "dark": {}, "light": { "radius": "0.5rem", }, }, "dependencies": [ "tailwindcss-animate", "class-variance-authority", "lucide-vue-next", "clsx", "tailwind-merge", ], "devDependencies": [], "docs": "", "files": [ { "content": "import type { Updater } from '@tanstack/vue-table' import type { Ref } from 'vue' import { type ClassValue, clsx } from 'clsx' import { twMerge } from 'tailwind-merge' export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) } export function valueUpdater>(updaterOrValue: T, ref: Ref) { ref.value = typeof updaterOrValue === 'function' ? updaterOrValue(ref.value) : updaterOrValue } ", "path": "lib/utils.ts", "target": "", "type": "registry:lib", }, { "content": " ", "path": "ui/label/Label.vue", "target": "label/Label.vue", "type": "registry:ui", }, { "content": "export { default as Label } from './Label.vue' ", "path": "ui/label/index.ts", "target": "label/index.ts", "type": "registry:ui", }, ], "tailwind": { "config": { "plugins": [ "require("tailwindcss-animate")", ], "theme": { "extend": { "borderRadius": { "lg": "var(--radius)", "md": "calc(var(--radius) - 2px)", "sm": "calc(var(--radius) - 4px)", }, "colors": {}, }, }, }, }, } `; exports[`registryResolveItemTree > should resolve items tree 1`] = ` { "cssVars": {}, "dependencies": [ "clsx", "tailwind-merge", ], "devDependencies": [], "docs": "", "files": [ { "content": " ", "path": "ui/button/Button.vue", "target": "button/Button.vue", "type": "registry:ui", }, { "content": "import { cva, type VariantProps } from 'class-variance-authority' export { default as Button } from './Button.vue' export const buttonVariants = cva( 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: { default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90', destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90', outline: 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground', secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground', link: 'text-primary underline-offset-4 hover:underline', }, size: { default: 'h-9 px-4 py-2', xs: 'h-7 rounded px-2', sm: 'h-8 rounded-md px-3 text-xs', lg: 'h-10 rounded-md px-8', icon: 'h-9 w-9', }, }, defaultVariants: { variant: 'default', size: 'default', }, }, ) export type ButtonVariants = VariantProps ", "path": "ui/button/index.ts", "target": "button/index.ts", "type": "registry:ui", }, { "content": "import type { Updater } from '@tanstack/vue-table' import type { Ref } from 'vue' import { type ClassValue, clsx } from 'clsx' import { twMerge } from 'tailwind-merge' export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) } export function valueUpdater>(updaterOrValue: T, ref: Ref) { ref.value = typeof updaterOrValue === 'function' ? updaterOrValue(ref.value) : updaterOrValue } ", "path": "lib/utils.ts", "target": "", "type": "registry:lib", }, ], "tailwind": {}, } `; exports[`registryResolveItemTree > should resolve multiple items tree 1`] = ` { "cssVars": {}, "dependencies": [ "clsx", "tailwind-merge", "@vueuse/core", ], "devDependencies": [], "docs": "", "files": [ { "content": " ", "path": "ui/button/Button.vue", "target": "button/Button.vue", "type": "registry:ui", }, { "content": "import { cva, type VariantProps } from 'class-variance-authority' export { default as Button } from './Button.vue' export const buttonVariants = cva( 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: { default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90', destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90', outline: 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground', secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground', link: 'text-primary underline-offset-4 hover:underline', }, size: { default: 'h-9 px-4 py-2', sm: 'h-8 rounded-md px-3 text-xs', lg: 'h-10 rounded-md px-8', icon: 'h-9 w-9', }, }, defaultVariants: { variant: 'default', size: 'default', }, }, ) export type ButtonVariants = VariantProps ", "path": "ui/button/index.ts", "target": "button/index.ts", "type": "registry:ui", }, { "content": "import type { Updater } from '@tanstack/vue-table' import type { Ref } from 'vue' import { type ClassValue, clsx } from 'clsx' import { twMerge } from 'tailwind-merge' export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) } export function valueUpdater>(updaterOrValue: T, ref: Ref) { ref.value = typeof updaterOrValue === 'function' ? updaterOrValue(ref.value) : updaterOrValue } ", "path": "lib/utils.ts", "target": "", "type": "registry:lib", }, { "content": " ", "path": "ui/input/Input.vue", "target": "input/Input.vue", "type": "registry:ui", }, { "content": "export { default as Input } from './Input.vue' ", "path": "ui/input/index.ts", "target": "input/index.ts", "type": "registry:ui", }, { "content": " ", "path": "ui/command/Command.vue", "target": "command/Command.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandDialog.vue", "target": "command/CommandDialog.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandEmpty.vue", "target": "command/CommandEmpty.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandGroup.vue", "target": "command/CommandGroup.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandInput.vue", "target": "command/CommandInput.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandItem.vue", "target": "command/CommandItem.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandList.vue", "target": "command/CommandList.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandSeparator.vue", "target": "command/CommandSeparator.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/command/CommandShortcut.vue", "target": "command/CommandShortcut.vue", "type": "registry:ui", }, { "content": "export { default as Command } from './Command.vue' export { default as CommandDialog } from './CommandDialog.vue' export { default as CommandEmpty } from './CommandEmpty.vue' export { default as CommandGroup } from './CommandGroup.vue' export { default as CommandInput } from './CommandInput.vue' export { default as CommandItem } from './CommandItem.vue' export { default as CommandList } from './CommandList.vue' export { default as CommandSeparator } from './CommandSeparator.vue' export { default as CommandShortcut } from './CommandShortcut.vue' ", "path": "ui/command/index.ts", "target": "command/index.ts", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/Dialog.vue", "target": "dialog/Dialog.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogClose.vue", "target": "dialog/DialogClose.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogContent.vue", "target": "dialog/DialogContent.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogDescription.vue", "target": "dialog/DialogDescription.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogFooter.vue", "target": "dialog/DialogFooter.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogHeader.vue", "target": "dialog/DialogHeader.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogScrollContent.vue", "target": "dialog/DialogScrollContent.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogTitle.vue", "target": "dialog/DialogTitle.vue", "type": "registry:ui", }, { "content": " ", "path": "ui/dialog/DialogTrigger.vue", "target": "dialog/DialogTrigger.vue", "type": "registry:ui", }, { "content": "export { default as Dialog } from './Dialog.vue' export { default as DialogClose } from './DialogClose.vue' export { default as DialogContent } from './DialogContent.vue' export { default as DialogDescription } from './DialogDescription.vue' export { default as DialogFooter } from './DialogFooter.vue' export { default as DialogHeader } from './DialogHeader.vue' export { default as DialogScrollContent } from './DialogScrollContent.vue' export { default as DialogTitle } from './DialogTitle.vue' export { default as DialogTrigger } from './DialogTrigger.vue' ", "path": "ui/dialog/index.ts", "target": "dialog/index.ts", "type": "registry:ui", }, ], "tailwind": {}, } `;