{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dialog",
  "type": "registry:ui",
  "title": "Dialog",
  "description": "A native modal dialog from one config: centred, full screen, or a sheet or drawer from any edge; an alert dialog with one option. Free content, header and footer, the body scrolls inside or with the page and its edges show what is hidden. Focus trap, Escape and focus return come from the browser.",
  "dependencies": [
    "@pinfold/react@^1.1.0",
    "@pinfold/css@^1.1.0"
  ],
  "files": [
    {
      "path": "components/ui/dialog.tsx",
      "type": "registry:ui",
      "target": "components/ui/dialog.tsx",
      "content": "import '@pinfold/css/core.css';\nimport '@pinfold/css/dialog.css';\nimport '@pinfold/css/button.css';\n\n/**\n * Pinfold dialog. This file is yours: import from here across the app,\n * and change shared defaults in one place.\n * Docs: https://pinfold.indranildev.in/docs/dialog\n */\nexport { useDialog, defineDialog, Dialog } from '@pinfold/react/dialog';\nexport type { DialogConfig, DialogApi } from '@pinfold/react/dialog';\n"
    }
  ],
  "docs": "https://pinfold.indranildev.in/docs/dialog"
}
