{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "dialog-5",
  "type": "registry:component",
  "title": "Dialog 5",
  "description": "Dialog 5. A dialog component for displaying important information or prompts.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "dialog",
    "scroll-area"
  ],
  "files": [
    {
      "path": "components/watermelon/dialog-5.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 Dialog5 = () => {\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          Sticky Header 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=\"border-border/30 dark:border-border/60 border-b px-6 py-4 text-left\">\n          <DialogTitle className=\"text-lg font-semibold text-neutral-900 dark:text-neutral-100\">\n            Terms of Service Update\n          </DialogTitle>\n        </DialogHeader>\n\n        <ScrollArea className=\"flex-1 overflow-y-auto\">\n          <div className=\"p-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>Effective Date:</strong> October 1, 2026\n                  </p>\n                  <p>\n                    We have updated our Terms of Service to provide clarity on\n                    our data retention policies and to introduce new guidelines\n                    for API usage.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>1. Privacy Policy Adjustments</strong>\n                  </p>\n                  <p>\n                    To comply with new global privacy regulations, we have\n                    detailed our data collection methods, offering users more\n                    granular control over what information is shared.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>2. API Rate Limits</strong>\n                  </p>\n                  <p>\n                    We are introducing new rate limits for standard tier users\n                    to ensure platform stability. The new limit is 1,000\n                    requests per minute.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>3. Acceptable Use Policy</strong>\n                  </p>\n                  <p>\n                    Our acceptable use guidelines have been expanded to\n                    explicitly prohibit automated scraping of user profiles\n                    without prior consent.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>4. Subscription Renewals</strong>\n                  </p>\n                  <p>\n                    Auto-renewal terms have been simplified. You will now\n                    receive a notification 7 days before any automatic charges\n                    are applied to your account.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>5. Dispute Resolution</strong>\n                  </p>\n                  <p>\n                    The governing law for arbitration has been updated to the\n                    state of Delaware. All informal dispute resolution steps\n                    must be exhausted before arbitration can commence.\n                  </p>\n                </div>\n                <div className=\"space-y-1\">\n                  <p>\n                    <strong>Agreement:</strong>\n                  </p>\n                  <p>\n                    By continuing to access or use our services after the\n                    effective date, you agree to be bound by the revised Terms.\n                    If you do not agree, you must stop using the services.\n                  </p>\n                </div>\n              </div>\n            </DialogDescription>\n          </div>\n\n          <DialogFooter className=\"border-border/30 dark:border-border/60 z-10 m-0 flex flex-col-reverse items-stretch gap-2 border-t bg-neutral-50/50 p-4 sm:flex-row sm:items-center sm:justify-end sm:px-6 sm:pb-6 dark:bg-neutral-900/50\">\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                Decline\n              </Button>\n            </DialogClose>\n            <Button\n              type=\"button\"\n              className=\"w-full rounded-lg 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              I Agree\n            </Button>\n          </DialogFooter>\n        </ScrollArea>\n      </DialogContent>\n    </Dialog>\n  );\n};\n\nexport default Dialog5;\n"
    }
  ]
}
