{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "admin-layout", "title": "Admin Layout", "description": "Complete AdminLTE layout wrapper with sidebar, header, content area, footer, and React context provider for layout state management.", "dependencies": [ "lucide-react" ], "registryDependencies": [ "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/adminlte-theme.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/main-header.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/main-sidebar.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/content-wrapper.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/content-header.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/main-footer.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/control-sidebar.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/use-layout.json", "https://raw.githubusercontent.com/dnachavez/adminlte-next/master/public/r/use-push-menu.json" ], "files": [ { "path": "registry/new-york/admin-layout/blocks/admin-layout.tsx", "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/registry/new-york/adminlte-theme/lib/cn\"\nimport {\n AdminLTELayoutProvider,\n useAdminLTELayout,\n} from \"@/registry/new-york/admin-layout/blocks/admin-layout-provider\"\nimport type { Skin } from \"@/registry/new-york/admin-layout/blocks/admin-layout-provider\"\n\ninterface AdminLayoutProps {\n children: React.ReactNode\n defaultSkin?: Skin\n defaultCollapsed?: boolean\n defaultFixed?: boolean\n defaultBoxed?: boolean\n sidebarMini?: boolean\n className?: string\n}\n\nfunction AdminLayoutInner({\n children,\n className,\n}: {\n children: React.ReactNode\n className?: string\n}) {\n const {\n skin,\n sidebarCollapsed,\n sidebarMobileOpen,\n isFixed,\n isBoxed,\n sidebarMini,\n } = useAdminLTELayout()\n\n return (\n