{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "empty", "type": "registry:ui", "title": "Empty", "files": [ { "path": "ui/empty.tsrx", "type": "registry:ui", "target": "components/ui/empty.tsrx", "content": "// Base UI base empty — presentational, no headless primitive in any base.\n//\n// UNVERIFIED PROVENANCE: derived from this package's React Aria base rather than transcribed\n// from upstream's `bases/base-ui/ui/empty.tsx`, which was not available at port time.\n// Diff the class strings against the upstream source before treating this as ported.\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\nimport type { DivProps, HostProps } from '@/lib/types';\n\nexport function Empty({ className, ...props }: DivProps) @{\n\t
\n}\n\nexport function EmptyHeader({ className, ...props }: DivProps) @{\n\t\n}\n\nexport const emptyMediaVariants = cva(\n\t'mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0',\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-transparent',\n\t\t\t\ticon: 'flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*=\\'size-\\'])]:size-4',\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: 'default',\n\t\t},\n\t},\n);\n\nexport interface EmptyMediaProps extends DivProps {\n\tvariant?: VariantProps` while rendering a `