{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "adminlte-callout", "title": "AdminLTE Callout", "description": "Callout box with colored left border, title, and content for highlighting important information.", "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json" ], "files": [ { "path": "registry/new-york/adminlte-callout/ui/adminlte-callout.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\n\ntype CalloutVariant = \"default\" | \"success\" | \"info\" | \"warning\" | \"danger\"\n\nconst calloutStyles: Record = {\n default: \"border-l-[#d2d6de]\",\n success: \"border-l-[#00a65a]\",\n info: \"border-l-[#00c0ef]\",\n warning: \"border-l-[#f39c12]\",\n danger: \"border-l-[#dd4b39]\",\n}\n\nconst calloutTitleStyles: Record = {\n default: \"text-[#444]\",\n success: \"text-[#00a65a]\",\n info: \"text-[#00c0ef]\",\n warning: \"text-[#f39c12]\",\n danger: \"text-[#dd4b39]\",\n}\n\ninterface AdminLTECalloutProps extends React.HTMLAttributes {\n variant?: CalloutVariant\n title?: string\n}\n\nconst AdminLTECallout = React.forwardRef(\n ({ className, variant = \"default\", title, children, ...props }, ref) => {\n return (\n \n {title && (\n \n {title}\n \n )}\n {children}\n \n )\n }\n)\nAdminLTECallout.displayName = \"AdminLTECallout\"\n\nexport { AdminLTECallout }\nexport type { AdminLTECalloutProps, CalloutVariant }\n", "type": "registry:ui" } ], "type": "registry:ui" }