{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dialog-4",
  "type": "registry:component",
  "title": "Dialog 4",
  "description": "Dialog 4. A dialog component for displaying important information or prompts.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "dialog",
    "scroll-area"
  ],
  "files": [
    {
      "path": "components/watermelon/dialog-4.tsx",
      "type": "registry:component",
      "content": "import { ChevronLeftIcon } from 'lucide-react';\n\nimport { Button } from '@/components/base-ui/button';\nimport {\n  Dialog,\n  DialogClose,\n  DialogContent,\n  DialogDescription,\n  DialogFooter,\n  DialogHeader,\n  DialogTitle,\n  DialogTrigger,\n} from '@/components/base-ui/dialog';\nimport { ScrollArea } from '@/components/base-ui/scroll-area';\n\nconst Dialog4 = () => {\n  return (\n    <Dialog>\n      <DialogTrigger>\n        <Button\n          variant=\"outline\"\n          className=\"rounded-xl border border-zinc-200 bg-zinc-50 px-6 py-2 font-medium text-zinc-800 shadow-sm transition-all hover:bg-zinc-100 dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-100 dark:hover:bg-zinc-800\"\n        >\n          Scrollable Dialog\n        </Button>\n      </DialogTrigger>\n      <DialogContent className=\"border-border/40 dark:border-border/60 flex max-h-[min(650px,90vh)] flex-col gap-0 overflow-hidden rounded-xl border bg-white p-0 shadow-xl sm:max-w-md dark:bg-neutral-900\">\n        <DialogHeader className=\"px-6 pt-6 pb-4 text-left\">\n          <DialogTitle className=\"text-lg font-semibold text-neutral-900 dark:text-neutral-100\">\n            v2.0 Release Notes\n          </DialogTitle>\n        </DialogHeader>\n\n        <ScrollArea className=\"flex-1 overflow-y-auto\">\n          <div className=\"px-6 pb-6\">\n            <DialogDescription className=\"text-neutral-600 dark:text-neutral-400\">\n              <div className=\"space-y-4 [&_strong]:font-semibold [&_strong]:text-neutral-900 dark:[&_strong]:text-neutral-100\">\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>Overview:</strong>\n                  </p>\n                  <p>\n                    We are excited to announce the release of Version 2.0! This\n                    major update brings significant performance improvements, a\n                    redesigned user interface, and highly requested features to\n                    streamline your workflow.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>New Features:</strong>\n                  </p>\n                  <ul className=\"list-inside list-disc space-y-1\">\n                    <li>Real-time collaboration with multi-user editing</li>\n                    <li>Advanced data visualization with interactive charts</li>\n                    <li>Global search with lightning-fast indexing</li>\n                    <li>Dark mode support across the entire platform</li>\n                    <li>Customizable dashboards with drag-and-drop tiles</li>\n                  </ul>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>UI Improvements:</strong>\n                  </p>\n                  <ul className=\"list-inside list-disc space-y-1\">\n                    <li>Streamlined navigation for faster access to tools</li>\n                    <li>Enhanced accessibility with full keyboard support</li>\n                    <li>Modernized component library with Glassmorphism</li>\n                    <li>Improved mobile responsiveness for all pages</li>\n                  </ul>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>Performance:</strong>\n                  </p>\n                  <p>\n                    Load times have been reduced by up to 40% thanks to our new\n                    caching engine and optimized asset delivery pipeline.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>Bug Fixes:</strong>\n                  </p>\n                  <ul className=\"list-inside list-disc space-y-1\">\n                    <li>Fixed intermittent login failures on slow networks</li>\n                    <li>Resolved memory leaks in the analytics engine</li>\n                    <li>Corrected layout issues in the export PDF feature</li>\n                    <li>Patched security vulnerabilities in API endpoints</li>\n                  </ul>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>Known Issues:</strong>\n                  </p>\n                  <p>\n                    The legacy export format (CSV) is currently disabled for\n                    large datasets while we finish the migration to our new\n                    streaming service.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>Support:</strong>\n                  </p>\n                  <p>\n                    If you encounter any issues with this release, please reach\n                    out to our 24/7 technical support team or visit the\n                    community forums.\n                  </p>\n                </div>\n              </div>\n            </DialogDescription>\n          </div>\n        </ScrollArea>\n\n        <DialogFooter className=\"border-border/30 dark:border-border/60 m-0 flex flex-col-reverse items-stretch gap-2 border-t bg-transparent p-4 sm:flex-row sm:items-center sm:justify-end sm:px-6 sm:pb-6\">\n          <DialogClose asChild>\n            <Button\n              variant=\"ghost\"\n              className=\"flex w-full items-center justify-center gap-2 rounded-lg px-5 py-2.5 font-medium text-neutral-700 shadow-none transition hover:bg-neutral-100 sm:w-auto dark:text-neutral-200 dark:hover:bg-neutral-800\"\n            >\n              <ChevronLeftIcon className=\"size-4\" />\n              Back\n            </Button>\n          </DialogClose>\n          <Button\n            type=\"button\"\n            className=\"w-full rounded-lg border-none bg-linear-to-r from-blue-600 to-blue-400 px-7 py-2.5 font-semibold text-white shadow-md transition hover:from-blue-700 hover:to-blue-500 sm:w-auto dark:from-blue-500 dark:to-blue-400 dark:text-white dark:hover:from-blue-600 dark:hover:to-blue-500\"\n          >\n            Read More\n          </Button>\n        </DialogFooter>\n      </DialogContent>\n    </Dialog>\n  );\n};\n\nexport default Dialog4;\n"
    }
  ]
}
