{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "modals-08", "description": "Disable collection lock rules modal with alert and impact list", "registryDependencies": [ "dialog", "button", "card" ], "files": [ { "path": "creative-tim/blocks/modals-08/page.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { AlertTriangle, X } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { Card, CardContent, CardHeader, CardTitle } from \"@/components/ui/card\"\nimport {\n Dialog,\n DialogContent,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n} from \"@/components/ui/dialog\"\n\nexport default function ModalsBlock() {\n const [isOpen, setIsOpen] = React.useState(false)\n\n return (\n
\n \n \n \n \n \n setIsOpen(false)}\n className=\"ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none\"\n >\n \n Close\n \n \n \n Disable Collection Lock Rules\n \n \n

\n Removing edit rules will allow unrestricted changes to your seasonal\n campaign folders and product groups.\n

\n\n \n \n \n \n Access Restrictions Will Be Removed\n \n \n \n

\n Disabling these rules unlocks direct edits to sensitive assets\n and might affect internal syncs.\n

\n
\n
\n\n
\n

This will impact:

\n
    \n
  • \n •\n Designer review checkpoints\n
  • \n
  • \n •\n Version freeze policies\n
  • \n
\n
\n\n

\n Note: 0 edit lock rules currently active\n

\n\n
\n setIsOpen(false)}\n >\n Cancel\n \n \n
\n
\n
\n
\n )\n}\n", "type": "registry:page", "target": "app/modals-08/page.tsx" } ], "meta": { "iframeHeight": "750px", "container": "w-full bg-surface", "mobile": "component" }, "categories": [ "modals" ], "type": "registry:block" }