{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "consent-manager", "title": "Consent Manager", "author": "ramanak ", "description": "A React component for managing user consent for cookies and tracking in Next.js applications.", "dependencies": [ "@c15t/nextjs" ], "registryDependencies": [ "@ramanak/utils", "button" ], "files": [ { "path": "src/components/consent-manager.tsx", "content": "import {\r\n ConsentManagerDialog,\r\n ConsentManagerProvider,\r\n CookieBanner,\r\n} from \"@c15t/nextjs\"\r\n\r\nimport { buttonVariants } from \"@/components/ui/button\"\r\nimport { cn } from \"@/lib/utils\"\r\n\r\nimport { ConsentManagerClient } from \"./consent-manager-client\"\r\n\r\nexport function ConsentManager({ children }: { children: React.ReactNode }) {\r\n return (\r\n \r\n \r\n\r\n \r\n\r\n {children}\r\n \r\n )\r\n}\r\n", "type": "registry:component" }, { "path": "src/registry/consent-manager/consent-manager-client.tsx", "content": "\"use client\"\r\n\r\nimport { ClientSideOptionsProvider } from \"@c15t/nextjs/client\"\r\n\r\nexport function ConsentManagerClient({\r\n children,\r\n}: {\r\n children: React.ReactNode\r\n}) {\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n", "type": "registry:component" } ], "cssVars": { "theme": { "color-popover-border": "var(--popover-border)", "shadow-popover": "var(--shadow-popover)" }, "light": { "popover-border": "color-mix(in oklab, var(--color-black) 15%, transparent)", "shadow-popover": "0 6px 24px rgba(0, 0, 0, 0.25)" }, "dark": { "popover-border": "oklch(0.37 0.013 285.805)", "shadow-popover": "0 0 24px rgba(0, 0, 0, 0.5)" } }, "type": "registry:component" }