{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "dialog", "title": "Dialog", "description": "A Base UI-backed modal with focus trapping and restoration.", "dependencies": [ "@base-ui/react@^1.6.0", "lucide-react@^1.28.0" ], "registryDependencies": [ "@manner/utils", "@manner/manner-theme" ], "files": [ { "path": "registry/manner/ui/dialog.tsx", "content": "\"use client\"\n\nimport { Dialog as BaseDialog } from \"@base-ui/react/dialog\"\nimport { X } from \"lucide-react\"\nimport * as React from \"react\"\n\nimport { cn } from \"@/lib/cn\"\n\nconst Dialog = BaseDialog.Root\nconst DialogTrigger = BaseDialog.Trigger\nconst DialogClose = BaseDialog.Close\n\nfunction DialogContent({ className, children, ...props }: React.ComponentProps) {\n return (\n \n \n \n \n {children}\n \n \n \n \n \n \n )\n}\n\nfunction DialogTitle({ className, ...props }: React.ComponentProps) {\n return \n}\n\nfunction DialogDescription({ className, ...props }: React.ComponentProps) {\n return \n}\n\nexport { Dialog, DialogClose, DialogContent, DialogDescription, DialogTitle, DialogTrigger }\n", "type": "registry:ui" } ], "type": "registry:ui" }