{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/dialog-02","type":"registry:component","title":"Dialog 2","description":"Alert dialog with icon and detailed feature list for update notifications","dependencies":["lucide-react"],"registryDependencies":["alert-dialog","button"],"files":[{"path":"src/registry/new-york/components/dialog/dialog-02.tsx","content":"import { UploadIcon } from 'lucide-react'\n\nimport {\n  AlertDialog,\n  AlertDialogAction,\n  AlertDialogCancel,\n  AlertDialogContent,\n  AlertDialogDescription,\n  AlertDialogFooter,\n  AlertDialogHeader,\n  AlertDialogTitle,\n  AlertDialogTrigger\n} from '@/registry/new-york/ui/alert-dialog'\nimport { Button } from '@/registry/new-york/ui/button'\n\nconst AlertDialogWithIconDemo = () => {\n  return (\n    <AlertDialog>\n      <AlertDialogTrigger asChild>\n        <Button variant='outline'>Alert Dialog (With Icon)</Button>\n      </AlertDialogTrigger>\n      <AlertDialogContent>\n        <AlertDialogHeader className='place-items-unset text-left'>\n          <div className='mb-4 flex size-9 items-center justify-center rounded-full bg-sky-600/10 sm:mx-0 dark:bg-sky-400/10'>\n            <UploadIcon className='size-4.5 text-sky-600 dark:text-sky-400' />\n          </div>\n          <AlertDialogTitle>New Update is Available</AlertDialogTitle>\n          <AlertDialogDescription>\n            New update is available for your application. Please update to the latest version to enjoy new features.\n          </AlertDialogDescription>\n          <ol className='text-muted-foreground mt-4 flex list-decimal flex-col gap-2 pl-6 text-sm'>\n            <li>New analytics widgets for daily/weekly metrics</li>\n            <li>Simplified navigation menu</li>\n            <li>Dark mode support</li>\n            <li>Timeline: 6 weeks</li>\n            <li>Follow-up meeting scheduled for next Tuesday</li>\n          </ol>\n        </AlertDialogHeader>\n        <AlertDialogFooter>\n          <AlertDialogCancel>Cancel</AlertDialogCancel>\n          <AlertDialogAction className='bg-sky-600 text-white hover:bg-sky-600 focus-visible:ring-sky-600 dark:bg-sky-400 dark:hover:bg-sky-400 dark:focus-visible:ring-sky-400'>\n            Update Now\n          </AlertDialogAction>\n        </AlertDialogFooter>\n      </AlertDialogContent>\n    </AlertDialog>\n  )\n}\n\nexport default AlertDialogWithIconDemo\n","type":"registry:component","target":"components/shadcn-studio/dialog/dialog-02.tsx"}]}