{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "lead-dashboard",
  "dependencies": [
    "@dnd-kit/core",
    "@dnd-kit/sortable",
    "@dnd-kit/utilities",
    "@radix-ui/react-avatar",
    "@radix-ui/react-collapsible",
    "@radix-ui/react-dialog",
    "@radix-ui/react-dropdown-menu",
    "@radix-ui/react-label",
    "@radix-ui/react-popover",
    "@radix-ui/react-select",
    "@radix-ui/react-separator",
    "@radix-ui/react-slot",
    "@radix-ui/react-tabs",
    "@radix-ui/react-tooltip",
    "@tabler/icons-react",
    "class-variance-authority",
    "lucide-react"
  ],
  "registryDependencies": [
    "avatar",
    "breadcrumb",
    "button",
    "card",
    "collapsible",
    "dialog",
    "dropdown-menu",
    "input",
    "label",
    "popover",
    "select",
    "separator",
    "sheet",
    "sidebar",
    "skeleton",
    "tabs",
    "tooltip"
  ],
  "files": [
    {
      "path": "src/components/dashboards/lead-dashboard/components/app-sidebar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n  IconChevronRight,\n  IconRosetteDiscountCheck,\n} from \"@tabler/icons-react\"\n\nimport {\n  Sidebar,\n  SidebarContent,\n  SidebarFooter,\n  SidebarHeader,\n  SidebarTrigger,\n} from \"@/components/ui/sidebar\"\nimport {\n  Collapsible,\n  CollapsibleContent,\n  CollapsibleTrigger,\n} from \"@/components/ui/collapsible\"\nimport {\n  SidebarGroup,\n  SidebarGroupLabel,\n  SidebarMenu,\n  SidebarMenuButton,\n  SidebarMenuItem,\n  SidebarMenuSub,\n  SidebarMenuSubButton,\n  SidebarMenuSubItem,\n} from \"@/components/ui/sidebar\"\n\nimport { data } from \"./data\"\n\nexport function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {\n  return (\n    <Sidebar {...props}>\n      <SidebarHeader className=\"h-14 border-b p-2\">\n        <SidebarMenu>\n          <SidebarMenuItem className=\"flex items-center gap-2\">\n            <div className=\"flex flex-1 items-center gap-2 overflow-hidden px-2 py-1\">\n              <div className=\"size-7 rounded-md bg-linear-to-br from-purple-500 via-pink-500 to-orange-400 shrink-0 shadow-sm\" />\n              <div className=\"flex items-center justify-center gap-1.5 overflow-hidden\">\n                <span className=\"font-semibold text-foreground truncate\">OceanLabs</span>\n                <IconRosetteDiscountCheck className=\"size-4 shrink-0 text-primary\" />\n              </div>\n            </div>\n            <SidebarTrigger className=\"h-8 w-8\" />\n          </SidebarMenuItem>\n        </SidebarMenu>\n      </SidebarHeader>\n      <SidebarContent>\n        {/* Workspace Section */}\n        <SidebarGroup>\n          <SidebarGroupLabel>Workspace</SidebarGroupLabel>\n          <SidebarMenu>\n            {data.workspace.map((item) => {\n              const hasItems = item.items && item.items.length > 0\n\n              if (!hasItems) {\n                return (\n                  <SidebarMenuItem key={item.title}>\n                    <SidebarMenuButton tooltip={item.title} className=\"font-semibold tracking-tight transition-colors duration-200\">\n                      {item.icon && <item.icon strokeWidth={2.5} />}\n                      <span>{item.title}</span>\n                    </SidebarMenuButton>\n                  </SidebarMenuItem>\n                )\n              }\n\n              return (\n                <Collapsible\n                  key={item.title}\n                  asChild\n                  defaultOpen={item.isActive}\n                  className=\"group/collapsible\"\n                >\n                  <SidebarMenuItem>\n                    <CollapsibleTrigger asChild>\n                      <SidebarMenuButton tooltip={item.title} className=\"font-semibold tracking-tight transition-colors duration-200\">\n                        {item.icon && <item.icon strokeWidth={2.5} />}\n                        <span>{item.title}</span>\n                        <IconChevronRight className=\"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90 h-4 w-4\" />\n                      </SidebarMenuButton>\n                    </CollapsibleTrigger>\n                    <CollapsibleContent>\n                      <SidebarMenuSub>\n                        {item.items?.map((subItem) => (\n                          <SidebarMenuSubItem key={subItem.title}>\n                            <SidebarMenuSubButton asChild isActive={subItem.isActive} className=\"font-semibold tracking-tight hover:text-zinc-900 dark:hover:text-white transition-colors duration-200\">\n                              <a href={subItem.url}>\n                                <span>{subItem.title}</span>\n                              </a>\n                            </SidebarMenuSubButton>\n                          </SidebarMenuSubItem>\n                        ))}\n                      </SidebarMenuSub>\n                    </CollapsibleContent>\n                  </SidebarMenuItem>\n                </Collapsible>\n              )\n            })}\n          </SidebarMenu>\n        </SidebarGroup>\n\n        {/* Favorites Section */}\n        <Collapsible defaultOpen className=\"group/favorites\">\n          <SidebarGroup>\n            <div className=\"flex items-center justify-between\">\n              <SidebarGroupLabel asChild>\n                <CollapsibleTrigger className=\"flex w-full items-center justify-between hover:text-foreground\">\n                  Favorites\n                  <IconChevronRight className=\"ml-auto h-4 w-4 transition-transform duration-200 group-data-[state=open]/favorites:rotate-90\" />\n                </CollapsibleTrigger>\n              </SidebarGroupLabel>\n            </div>\n            <CollapsibleContent>\n              <SidebarMenu>\n                {data.favorites.map((item) => (\n                  <SidebarMenuItem key={item.title}>\n                    <SidebarMenuButton tooltip={item.title} className=\"tracking-tight transition-colors duration-200\">\n                      {item.icon && <item.icon />}\n                      <span>{item.title}</span>\n                    </SidebarMenuButton>\n                  </SidebarMenuItem>\n                ))}\n              </SidebarMenu>\n            </CollapsibleContent>\n          </SidebarGroup>\n        </Collapsible>\n      </SidebarContent>\n\n      {/* Footer Section */}\n      <SidebarFooter className=\"border-t\">\n        <SidebarMenu>\n          {data.footer.map((item) => (\n            <SidebarMenuItem key={item.title} className=\"font-semibold tracking-tight\">\n              <SidebarMenuButton tooltip={item.title} className=\"transition-colors duration-200\">\n                {item.icon && <item.icon strokeWidth={2.5} />}\n                <span>{item.title}</span>\n              </SidebarMenuButton>\n            </SidebarMenuItem>\n          ))}\n        </SidebarMenu>\n      </SidebarFooter>\n    </Sidebar>\n  )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/components/app-sidebar.tsx"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/components/data.ts",
      "content": "import {\n    IconChartBar,\n    IconCalendar,\n    IconFileText,\n    IconFolder,\n    IconHome,\n    IconLogout,\n    IconPhone,\n    IconSearch,\n    IconSettings,\n    IconUser,\n    IconUserPlus,\n} from \"@tabler/icons-react\"\nimport type * as React from \"react\"\n\nexport interface NavItem {\n    title: string\n    url: string\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    icon?: React.ComponentType<any>\n    isActive?: boolean\n    items?: NavItem[]\n}\n\nexport interface SidebarData {\n    workspace: NavItem[]\n    favorites: NavItem[]\n    footer: NavItem[]\n}\n\nexport const data: SidebarData = {\n    workspace: [\n        {\n            title: \"Home\",\n            url: \"#\",\n            icon: IconHome,\n        },\n        {\n            title: \"Analytics\",\n            url: \"#\",\n            icon: IconChartBar,\n            items: [\n                {\n                    title: \"Overview\",\n                    url: \"#\",\n                },\n            ],\n        },\n        {\n            title: \"Projects\",\n            url: \"#\",\n            icon: IconFolder,\n            items: [\n                {\n                    title: \"All Projects\",\n                    url: \"#\",\n                },\n            ],\n        },\n        {\n            title: \"Leads\",\n            url: \"#\",\n            icon: IconSearch,\n            isActive: true,\n            items: [\n                {\n                    title: \"Table\",\n                    url: \"#\",\n                },\n                {\n                    title: \"Kanban\",\n                    url: \"/dashboard/kanban-board\",\n                    isActive: true,\n                },\n            ],\n        },\n        {\n            title: \"Schedule\",\n            url: \"#\",\n            icon: IconCalendar,\n        },\n        {\n            title: \"Admin\",\n            url: \"#\",\n            icon: IconUser,\n        },\n    ],\n    favorites: [\n        {\n            title: \"File #1\",\n            url: \"#\",\n            icon: IconFileText,\n        },\n        {\n            title: \"File #2\",\n            url: \"#\",\n            icon: IconFileText,\n        },\n        {\n            title: \"Project #1\",\n            url: \"#\",\n            icon: IconFolder,\n        },\n        {\n            title: \"Project #2\",\n            url: \"#\",\n            icon: IconFolder,\n        },\n        {\n            title: \"Lead #44\",\n            url: \"#\",\n            icon: IconSearch,\n        },\n        {\n            title: \"Call #1\",\n            url: \"#\",\n            icon: IconPhone,\n        },\n        {\n            title: \"D Call #2\",\n            url: \"#\",\n            icon: IconPhone,\n        },\n    ],\n    footer: [\n        {\n            title: \"Settings\",\n            url: \"#\",\n            icon: IconSettings,\n        },\n        {\n            title: \"Invite users\",\n            url: \"#\",\n            icon: IconUserPlus,\n        },\n        {\n            title: \"Log out\",\n            url: \"#\",\n            icon: IconLogout,\n        },\n    ],\n}\n\nexport interface KanbanCard {\n    id: number\n    title: string\n    description: string\n    user: string\n    date: string\n    comments: number\n    type: string\n    avatarColor: string\n}\n\nexport interface KanbanColumn {\n    id: string\n    title: string\n    leads?: number\n    deals?: number\n    total: string\n    cards: KanbanCard[]\n}\n\nexport const boardData: KanbanColumn[] = [\n    {\n        id: \"contacted\",\n        title: \"Contacted\",\n        leads: 3,\n        total: \"$993,000\",\n        cards: [\n            { id: 1, title: \"E-commerce Platform\", description: \"Development of a responsive online shopping...\", user: \"Sara Thompson\", date: \"June 15\", comments: 8, type: \"urgent\", avatarColor: \"bg-gradient-to-br from-orange-400 to-rose-500\" },\n            { id: 2, title: \"Social Media Dashboard\", description: \"Creating an analytics dashboard for social eng...\", user: \"Mark Chen\", date: \"July 10\", comments: 10, type: \"mail\", avatarColor: \"bg-gradient-to-br from-purple-500 to-indigo-600\" },\n            { id: 3, title: \"Customer Support Chatbot\", description: \"Developing an AI-powered chatbot for custom...\", user: \"Noah Hall\", date: \"October 3\", comments: 19, type: \"mail\", avatarColor: \"bg-gradient-to-br from-blue-400 to-cyan-500\" },\n        ]\n    },\n    {\n        id: \"drafting\",\n        title: \"Drafting\",\n        leads: 4,\n        total: \"$121,000\",\n        cards: [\n            { id: 4, title: \"Landing Page\", description: \"Designing a high-conversion landing page for...\", user: \"Elena Garcia\", date: \"August 1\", comments: 5, type: \"mail\", avatarColor: \"bg-gradient-to-br from-pink-500 to-rose-600\" },\n            { id: 5, title: \"Content Management System\", description: \"Revamping an existing CMS for better user ex...\", user: \"James Patel\", date: \"September 12\", comments: 20, type: \"file\", avatarColor: \"bg-gradient-to-br from-yellow-400 to-orange-500\" },\n            { id: 6, title: \"Fitness App\", description: \"Designing a user-friendly app for tracking wor...\", user: \"Nina Kim\", date: \"October 22\", comments: 15, type: \"mail\", avatarColor: \"bg-gradient-to-br from-red-400 to-pink-500\" },\n            { id: 7, title: \"Fitness Tracker\", description: \"Designing an app that monitors health and fitn...\", user: \"Mia Turner\", date: \"September 18\", comments: 13, type: \"mail\", avatarColor: \"bg-gradient-to-br from-cyan-400 to-blue-500\" },\n        ]\n    },\n    {\n        id: \"proposal\",\n        title: \"Proposal\",\n        leads: 6,\n        total: \"$938,000\",\n        cards: [\n            { id: 8, title: \"Travel Booking Site\", description: \"Developing a streamlined booking interface fo...\", user: \"Oliver Smith\", date: \"November 8\", comments: 18, type: \"urgent\", avatarColor: \"bg-gradient-to-br from-blue-500 to-indigo-600\" },\n            { id: 9, title: \"Online Learning Portal\", description: \"Creating an interactive platform for online cou...\", user: \"Zoe Martinez\", date: \"June 30\", comments: 25, type: \"phone\", avatarColor: \"bg-gradient-to-br from-red-500 to-rose-600\" },\n            { id: 10, title: \"Corporate Intranet\", description: \"Designing a user-friendly interface for compa...\", user: \"Brian Johnson\", date: \"January 15\", comments: 9, type: \"file\", avatarColor: \"bg-gradient-to-br from-indigo-500 to-blue-600\" },\n            { id: 11, title: \"Recipe Sharing App\", description: \"Building a platform for users to share and disc...\", user: \"Emma Wilson\", date: \"February 28\", comments: 11, type: \"chat\", avatarColor: \"bg-gradient-to-br from-green-400 to-emerald-600\" },\n            { id: 12, title: \"News Aggregator\", description: \"Creating an app that curates news from vario...\", user: \"Ethan Clark\", date: \"August 30\", comments: 17, type: \"chat\", avatarColor: \"bg-gradient-to-br from-amber-400 to-orange-500\" },\n            { id: 13, title: \"Event Management System\", description: \"Creating a streamlined system for organizing...\", user: \"David Brown\", date: \"March 14\", comments: 14, type: \"file\", avatarColor: \"bg-gradient-to-br from-sky-400 to-blue-500\" },\n        ]\n    },\n    {\n        id: \"closed\",\n        title: \"Closed\",\n        deals: 8,\n        total: \"$382,000\",\n        cards: [\n            { id: 14, title: \"Virtual Reality Experience\", description: \"Designing an immersive virtual reality applicati...\", user: \"Liam Davis\", date: \"April 5\", comments: 30, type: \"done\", avatarColor: \"bg-gradient-to-br from-purple-500 to-pink-600\" },\n            { id: 15, title: \"Blog Platform\", description: \"Developing a robust platform for blogging and...\", user: \"Sophia Lee\", date: \"May 19\", comments: 7, type: \"done\", avatarColor: \"bg-gradient-to-br from-emerald-400 to-teal-500\" },\n            { id: 16, title: \"Real Estate App\", description: \"Creating a mobile app for real estate listings a...\", user: \"Lucas White\", date: \"June 16\", comments: 12, type: \"done\", avatarColor: \"bg-gradient-to-br from-teal-400 to-cyan-500\" },\n            { id: 17, title: \"Job Portal\", description: \"Developing a platform for job seekers and em...\", user: \"Chloe Martinez\", date: \"July 25\", comments: 22, type: \"done\", avatarColor: \"bg-gradient-to-br from-fuchsia-500 to-purple-600\" },\n        ]\n    }\n]\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/components/data.ts"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/components/kanban/KanbanCard.tsx",
      "content": "import { useSortable } from \"@dnd-kit/sortable\"\nimport { CSS } from \"@dnd-kit/utilities\"\nimport { IconAlertCircle, IconCircleCheck, IconMail, IconFileText, IconCalendarPlus, IconMessageCircle } from '@tabler/icons-react'\nimport { Card, CardContent } from \"@/components/ui/card\"\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n} from \"@/components/ui/popover\"\nimport { IconUser, IconMailForward } from '@tabler/icons-react'\n\nexport const StatusMarker = ({ type }: { type: string }) => {\n    switch (type) {\n        case \"urgent\":\n            return (\n                <div className=\"bg-red-100/50 dark:bg-red-500/10 border-[1.5px] border-red-200/60 dark:border-red-500/20 p-1 rounded-full shrink-0 transition-colors duration-200 hover:bg-red-200/50 dark:hover:bg-red-500/20 cursor-default\">\n                    <IconAlertCircle className=\"size-3.5 text-red-700 dark:text-red-400\" strokeWidth={1.7} />\n                </div>\n            )\n        case \"done\":\n            return (\n                <div className=\"bg-emerald-100/50 dark:bg-emerald-500/10 border-[1.5px] border-emerald-200/60 dark:border-emerald-500/20 p-1 rounded-full shrink-0 transition-colors duration-200 hover:bg-emerald-200/50 dark:hover:bg-emerald-500/20 cursor-default\">\n                    <IconCircleCheck className=\"size-3.5 text-emerald-700 dark:text-emerald-400\" strokeWidth={2.5} />\n                </div>\n            )\n        default:\n            return (\n                <div className=\"bg-zinc-100/50 dark:bg-zinc-500/10 border-[1.5px] border-zinc-200/60 dark:border-zinc-500/20 p-1 rounded-full shrink-0 transition-colors duration-200 hover:bg-zinc-200/50 dark:hover:bg-zinc-500/20 cursor-default\">\n                    {type === \"mail\" ? <IconMail className=\"size-3.5 text-zinc-500 dark:text-zinc-400\" /> : <IconFileText className=\"size-3.5 text-zinc-500 dark:text-zinc-400\" />}\n                </div>\n            )\n    }\n}\n\nexport const getStatusStyles = (type: string) => {\n    switch (type) {\n        case \"urgent\":\n            return {\n                footerBg: \"bg-red-700/5 dark:bg-red-500/10\",\n                textColor: \"text-red-700 dark:text-red-400\",\n                iconColor: \"text-red-700 dark:text-red-400\"\n            }\n        case \"done\":\n            return {\n                footerBg: \"bg-emerald-700/5 dark:bg-emerald-500/10\",\n                textColor: \"text-zinc-500 dark:text-zinc-400\",\n                iconColor: \"text-zinc-500 dark:text-zinc-400\"\n            }\n        default:\n            return {\n                footerBg: \"bg-zinc-700/5 dark:bg-zinc-500/10\",\n                textColor: \"text-zinc-500 dark:text-zinc-400\",\n                iconColor: \"text-zinc-500 dark:text-zinc-400\"\n            }\n    }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const KanbanCard = ({ card, columnId }: { card: any, columnId: string }) => {\n    const {\n        attributes,\n        listeners,\n        setNodeRef,\n        transform,\n        transition,\n        isDragging,\n    } = useSortable({\n        id: card.id,\n        data: {\n            type: \"Card\",\n            card,\n            columnId\n        }\n    });\n\n    const style = {\n        transform: CSS.Transform.toString(transform),\n        transition,\n        opacity: isDragging ? 0.4 : 1,\n    };\n\n    const StatusStyles = getStatusStyles(card.type);\n\n    return (\n        <div ref={setNodeRef} style={style} {...attributes} {...listeners}>\n            <Card className=\"touch-none overflow-hidden border-[1.5px] border-neutral-200 dark:border-zinc-800 shadow-xs hover:shadow-sm hover:-translate-y-0.5 transition-colors duration-200 cursor-grab active:cursor-grabbing bg-white dark:bg-zinc-900 group p-0 shrink-0\">\n                <CardContent className=\"p-0 flex flex-col pointer-events-none select-none\">\n                    <div className=\"p-4 flex flex-col gap-2.5\">\n                        <div className=\"flex items-start justify-between gap-2\">\n                            <h4 className=\"leading-tight font-semibold tracking-tight text-zinc-900 dark:text-zinc-100 group-hover:text-zinc-950 dark:group-hover:text-white transition-colors text-sm\">{card.title}</h4>\n                            <StatusMarker type={card.type} />\n                        </div>\n                        <p className=\"text-xs text-muted-foreground line-clamp-2\">\n                            {card.description}\n                        </p>\n                    </div>\n\n                    <div className={`px-4 py-2.5 flex items-center justify-between gap-3 border-t border-neutral-200 dark:border-zinc-800 ${StatusStyles.footerBg}`}>\n                        <Popover>\n                            <PopoverTrigger asChild>\n                                <div className=\"flex items-center gap-2 min-w-0 pointer-events-auto cursor-pointer hover:z-10 group/avatar\">\n                                    <Avatar className=\"size-4.5 shadow-xs shrink-0 transition-transform duration-200\">\n                                        <AvatarFallback className={`${card.avatarColor} text-[6px] text-white font-bold`}>\n                                            {card.user.split(' ').map((n: string) => n[0]).join('')}\n                                        </AvatarFallback>\n                                    </Avatar>\n                                    <span className=\"text-xs font-semibold text-zinc-600 dark:text-zinc-400 group-hover/avatar:text-zinc-900 dark:group-hover/avatar:text-white truncate transition-colors\">{card.user}</span>\n                                </div>\n                            </PopoverTrigger>\n                            <PopoverContent align=\"start\" className=\"w-56 p-1.5 shadow-lg border-neutral-200 dark:border-zinc-800 pointer-events-auto\">\n                                <div className=\"flex items-center gap-2.5 px-2 py-2 mb-1 border-b border-neutral-100 dark:border-zinc-800/50 pb-3\">\n                                    <Avatar className=\"size-9 rounded-full\">\n                                        <AvatarImage src=\"\" />\n                                        <AvatarFallback className={`${card.avatarColor} text-white font-medium text-xs rounded-full`}>\n                                            {card.user.split(' ').map((n: string) => n[0]).join('')}\n                                        </AvatarFallback>\n                                    </Avatar>\n                                    <div className=\"flex flex-col\">\n                                        <span className=\"text-sm font-semibold\">{card.user}</span>\n                                        <span className=\"text-[11px] text-muted-foreground\">Sales Representative</span>\n                                    </div>\n                                </div>\n                                <div className=\"flex flex-col gap-0.5 mt-1.5\">\n                                    <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white hover:bg-zinc-100 dark:hover:bg-zinc-800/80 rounded-md outline-none transition-colors text-left focus-visible:bg-zinc-100 dark:focus-visible:bg-zinc-800/80\">\n                                        <IconUser className=\"size-4\" />\n                                        View Profile\n                                    </button>\n                                    <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white hover:bg-zinc-100 dark:hover:bg-zinc-800/80 rounded-md outline-none transition-colors text-left focus-visible:bg-zinc-100 dark:focus-visible:bg-zinc-800/80\">\n                                        <IconMailForward className=\"size-4\" />\n                                        Send Message\n                                    </button>\n                                </div>\n                            </PopoverContent>\n                        </Popover>\n\n                        <div className=\"flex items-center gap-3 text-xs font-medium tracking-tight shrink-0\">\n                            <div className={`flex items-center gap-1 shrink-0 ${StatusStyles.textColor}`}>\n                                <IconCalendarPlus strokeWidth={1.7} className={`size-4 shrink-0 ${StatusStyles.iconColor}`} />\n                                <span className=\"whitespace-nowrap\">{card.date}</span>\n                            </div>\n                            <div className=\"flex items-center gap-1 shrink-0 text-zinc-500 dark:text-zinc-400\">\n                                <IconMessageCircle className=\"size-4 shrink-0\" strokeWidth={2} />\n                                <span>{card.comments}</span>\n                            </div>\n                        </div>\n                    </div>\n                </CardContent>\n            </Card>\n        </div>\n    );\n};\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/components/kanban/KanbanCard.tsx"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/components/kanban/KanbanColumn.tsx",
      "content": "import { IconDots, IconEdit, IconTrash, IconSettings } from '@tabler/icons-react'\nimport { Button } from \"@/components/ui/button\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n} from \"@/components/ui/popover\"\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const BoardColumn = ({ column, children }: { column: any, children: React.ReactNode }) => {\n    return (\n        <div className=\"flex flex-col gap-4.5 w-[85vw] sm:w-[320px] lg:w-auto shrink-0 snap-center lg:snap-align-none h-full min-h-0\">\n            <div className=\"flex justify-between items-center px-2.5 pointer-events-none select-none\">\n                <div className=\"flex flex-col gap-0.5 min-w-0\">\n                    <h3 className=\"font-semibold tracking-tight text-[15px] text-zinc-900 dark:text-zinc-50 truncate\">{column.title}</h3>\n                    <div className=\"flex flex-wrap items-center gap-x-1.5 gap-y-0.5 text-[12px] text-muted-foreground font-medium\">\n                        <span className=\"whitespace-nowrap\">{column.cards.length} {column.id === 'closed' ? 'Deals' : 'Leads'}</span>\n                        <span className=\"hidden sm:inline-block\">•</span>\n                        <span className=\"whitespace-nowrap\">{column.total} <span className=\"text-neutral-300 dark:text-neutral-600 font-normal\">Total</span></span>\n                    </div>\n                </div>\n                <Popover>\n                    <PopoverTrigger asChild>\n                        <Button variant=\"ghost\" size=\"icon\" className=\"size-8 text-muted-foreground hover:text-foreground dark:hover:text-zinc-100 dark:hover:bg-zinc-800 transition-colors duration-200 pointer-events-auto outline-none focus-visible:ring-0\">\n                            <IconDots className=\"size-4\" />\n                        </Button>\n                    </PopoverTrigger>\n                    <PopoverContent align=\"end\" className=\"w-48 p-1.5 shadow-lg border-neutral-200 dark:border-zinc-800 pointer-events-auto\">\n                        <div className=\"flex flex-col gap-0.5\">\n                            <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white hover:bg-zinc-100 dark:hover:bg-zinc-800/80 rounded-md outline-none focus-visible:bg-zinc-100 dark:focus-visible:bg-zinc-800/80 transition-colors text-left\">\n                                <IconEdit className=\"size-4\" />\n                                Rename column\n                            </button>\n                            <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white hover:bg-zinc-100 dark:hover:bg-zinc-800/80 rounded-md outline-none focus-visible:bg-zinc-100 dark:focus-visible:bg-zinc-800/80 transition-colors text-left\">\n                                <IconSettings className=\"size-4\" />\n                                Column settings\n                            </button>\n                            <div className=\"h-px bg-border my-1\" />\n                            <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-red-600 dark:text-red-400 hover:bg-red-50 dark:hover:bg-red-500/10 rounded-md outline-none focus-visible:bg-red-50 dark:focus-visible:bg-red-500/10 transition-colors text-left font-medium\">\n                                <IconTrash className=\"size-4\" />\n                                Delete column\n                            </button>\n                        </div>\n                    </PopoverContent>\n                </Popover>\n            </div>\n\n            <div className=\"flex flex-col gap-3 flex-1 overflow-y-auto no-scrollbar pb-4 px-2 -mx-2 pt-2 -mt-2 min-h-0\">\n                {children}\n            </div>\n\n        </div>\n    );\n};\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/components/kanban/KanbanColumn.tsx"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/components/site-header.tsx",
      "content": "import {\n    SidebarTrigger,\n    useSidebar,\n} from \"@/components/ui/sidebar\"\nimport {\n    Breadcrumb,\n    BreadcrumbItem,\n    BreadcrumbLink,\n    BreadcrumbList,\n    BreadcrumbPage,\n    BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\nimport { Separator } from \"@/components/ui/separator\"\nimport { Input } from \"@/components/ui/input\"\nimport {\n    Avatar,\n    AvatarFallback,\n    AvatarImage,\n} from \"@/components/ui/avatar\"\nimport {\n    IconSearch,\n    IconBell,\n    IconSettings,\n    IconUser,\n    IconLogout\n} from \"@tabler/icons-react\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n} from \"@/components/ui/popover\"\n\nexport function SiteHeader() {\n    const { isMobile, state } = useSidebar()\n    const isCollapsed = state === \"collapsed\"\n    const showTrigger = isMobile || isCollapsed\n\n    return (\n        <header className=\"flex h-14 shrink-0 items-center justify-between border-b px-4 md:px-8\">\n            <div className=\"flex items-center gap-2\">\n                {showTrigger && (\n                    <>\n                        <SidebarTrigger className=\"-ml-1\" />\n                        <Separator\n                            orientation=\"vertical\"\n                            className=\"mr-2 data-[orientation=vertical]:h-4\"\n                        />\n                    </>\n                )}\n                <Breadcrumb>\n                    <BreadcrumbList>\n                        <BreadcrumbItem className=\"hidden md:block\">\n                            <BreadcrumbLink href=\"#\" className=\"flex items-center gap-1 text-muted-foreground\">\n                                Lead\n                            </BreadcrumbLink>\n                        </BreadcrumbItem>\n                        <BreadcrumbSeparator className=\"hidden md:block\" />\n                        <BreadcrumbItem>\n                            <BreadcrumbPage className=\"font-medium\">Kanban Board</BreadcrumbPage>\n                        </BreadcrumbItem>\n                    </BreadcrumbList>\n                </Breadcrumb>\n            </div>\n\n            <div className=\"flex items-center gap-4\">\n                {/* Search Bar */}\n                <div className=\"relative hidden lg:block\">\n                    <IconSearch className=\"absolute left-3 top-1/2 size-4 -translate-y-1/2 text-muted-foreground\" strokeWidth={2.5} />\n                    <Input\n                        placeholder=\"Search or ⌘K...\"\n                        className=\"h-8 w-52 rounded-md bg-muted/40 pl-9 pr-12 text-sm transition-colors focus-visible:ring-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none\"\n                    />\n                </div>\n\n                {/* Notifications */}\n                <Popover>\n                    <PopoverTrigger asChild>\n                        <button className=\"flex h-8 items-center gap-1.5 rounded-full border bg-background px-2 hover:bg-muted/50 transition-colors shadow cursor-pointer group\">\n                            <IconBell className=\"ml-1 size-4 text-muted-foreground group-hover:text-foreground transition-colors\" />\n                            <div className=\"flex h-5 min-w-[26px] items-center justify-center rounded-full bg-zinc-800 dark:bg-zinc-200 px-1.5 text-[10px] font-medium text-white dark:text-zinc-900 leading-none\">\n                                12\n                            </div>\n                        </button>\n                    </PopoverTrigger>\n                    <PopoverContent align=\"end\" className=\"w-80 p-0 overflow-hidden shadow-lg border-neutral-200 dark:border-zinc-800\">\n                        <div className=\"flex items-center justify-between px-4 py-3 border-b border-neutral-100 dark:border-zinc-800 bg-zinc-50/50 dark:bg-zinc-900/50\">\n                            <h4 className=\"font-semibold text-sm\">Notifications</h4>\n                            <span className=\"text-xs text-muted-foreground cursor-pointer hover:text-foreground\">Mark all read</span>\n                        </div>\n                        <div className=\"flex flex-col max-h-[300px] overflow-y-auto\">\n                            <div className=\"p-4 flex gap-3 hover:bg-muted/50 transition-colors cursor-pointer border-b border-neutral-100 dark:border-zinc-800\">\n                                <div className=\"size-8 rounded-full bg-blue-100/50 dark:bg-blue-500/10 flex items-center justify-center shrink-0\">\n                                    <IconUser className=\"size-4 text-blue-600 dark:text-blue-400\" />\n                                </div>\n                                <div className=\"flex flex-col gap-1\">\n                                    <p className=\"text-sm font-medium leading-none\">New Lead Assigned</p>\n                                    <p className=\"text-xs text-muted-foreground\">Sarah assigned the 'TechCorp' lead to you.</p>\n                                    <p className=\"text-[10px] text-muted-foreground mt-0.5\">2 hours ago</p>\n                                </div>\n                            </div>\n                            <div className=\"p-4 flex gap-3 hover:bg-muted/50 transition-colors cursor-pointer border-b border-neutral-100 dark:border-zinc-800\">\n                                <div className=\"size-8 rounded-full bg-emerald-100/50 dark:bg-emerald-500/10 flex items-center justify-center shrink-0\">\n                                    <IconBell className=\"size-4 text-emerald-600 dark:text-emerald-400\" />\n                                </div>\n                                <div className=\"flex flex-col gap-1\">\n                                    <p className=\"text-sm font-medium leading-none\">Deal Closed!</p>\n                                    <p className=\"text-xs text-muted-foreground\">The 'OceanLabs' deal was marked as closed won.</p>\n                                    <p className=\"text-[10px] text-muted-foreground mt-0.5\">5 hours ago</p>\n                                </div>\n                            </div>\n                            <div className=\"p-4 text-center\">\n                                <span className=\"text-xs text-blue-600 dark:text-blue-400 hover:underline cursor-pointer font-medium\">View all notifications</span>\n                            </div>\n                        </div>\n                    </PopoverContent>\n                </Popover>\n\n                {/* User Profile */}\n                <Popover>\n                    <PopoverTrigger asChild>\n                        <Avatar className=\"size-8 rounded-full shadow-sm cursor-pointer hover:opacity-90 transition-opacity\">\n                            <AvatarImage src=\"\" />\n                            <AvatarFallback className=\"bg-linear-to-br from-blue-400 via-purple-500 to-pink-500 text-white rounded-full\">AJ</AvatarFallback>\n                        </Avatar>\n                    </PopoverTrigger>\n                    <PopoverContent align=\"end\" className=\"w-56 p-1.5 shadow-lg border-neutral-200 dark:border-zinc-800\">\n                        <div className=\"flex items-center gap-2.5 px-2 py-2 mb-1 border-b border-neutral-100 dark:border-zinc-800/50 pb-3\">\n                            <Avatar className=\"size-9 rounded-full\">\n                                <AvatarImage src=\"\" />\n                                <AvatarFallback className=\"bg-linear-to-br from-blue-400 via-purple-500 to-pink-500 text-white font-medium text-xs rounded-full\">AJ</AvatarFallback>\n                            </Avatar>\n                            <div className=\"flex flex-col\">\n                                <span className=\"text-sm font-semibold\">Alex Johnson</span>\n                                <span className=\"text-[11px] text-muted-foreground\">alex@oceanlabs.co</span>\n                            </div>\n                        </div>\n                        <div className=\"flex flex-col gap-0.5 mt-1.5\">\n                            <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white hover:bg-zinc-100 dark:hover:bg-zinc-800/80 rounded-md outline-none focus-visible:bg-zinc-100 dark:focus-visible:bg-zinc-800/80 transition-colors text-left\">\n                                <IconUser className=\"size-4\" />\n                                Profile Profile\n                            </button>\n                            <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white hover:bg-zinc-100 dark:hover:bg-zinc-800/80 rounded-md outline-none focus-visible:bg-zinc-100 dark:focus-visible:bg-zinc-800/80 transition-colors text-left\">\n                                <IconSettings className=\"size-4\" />\n                                Account Settings\n                            </button>\n                            <div className=\"h-px bg-border my-1\" />\n                            <button className=\"w-full flex items-center gap-2 px-2 py-1.5 text-sm text-red-600 dark:text-red-400 hover:bg-red-50 dark:hover:bg-red-500/10 rounded-md outline-none focus-visible:bg-red-50 dark:focus-visible:bg-red-500/10 transition-colors text-left font-medium\">\n                                <IconLogout className=\"size-4\" />\n                                Sign out\n                            </button>\n                        </div>\n                    </PopoverContent>\n                </Popover>\n            </div>\n        </header>\n    )\n}",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/components/site-header.tsx"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/dashboardLayout.tsx",
      "content": "\"use client\"\n\nimport { AppSidebar } from \"./components/app-sidebar\"\nimport {\n    SidebarInset,\n    SidebarProvider,\n} from \"@/components/ui/sidebar\"\nimport { SiteHeader } from \"./components/site-header\"\n\nexport const DashboardLayout = ({ children }: { children: React.ReactNode }) => {\n    return (\n        <SidebarProvider>\n            <AppSidebar />\n            <SidebarInset className=\"h-svh overflow-hidden\">\n                <SiteHeader />\n                <main className=\"flex-1 overflow-hidden h-full\">\n                    {children}\n                </main>\n            </SidebarInset>\n        </SidebarProvider>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/dashboardLayout.tsx"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/demo.tsx",
      "content": "\"use client\";\n\nimport { DashboardLayout } from \"./dashboardLayout\";\nimport { KanbanBoardView } from \"./kanbanBoardView\";\n\nexport default function LeadDashboardDemo() {\n    return (\n        <DashboardLayout>\n            <KanbanBoardView />\n        </DashboardLayout>\n    );\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/demo.tsx"
    },
    {
      "path": "src/components/dashboards/lead-dashboard/kanbanBoardView.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n    IconLayoutColumns,\n    IconLayoutList,\n    IconAdjustmentsHorizontal,\n    IconCirclePlus,\n    IconPlus\n} from '@tabler/icons-react'\nimport {\n    DndContext,\n    closestCorners,\n    KeyboardSensor,\n    PointerSensor,\n    useSensor,\n    useSensors,\n    type DragEndEvent,\n    type DragOverEvent\n} from \"@dnd-kit/core\"\nimport {\n    arrayMove,\n    SortableContext,\n    sortableKeyboardCoordinates,\n    verticalListSortingStrategy,\n} from \"@dnd-kit/sortable\"\nimport { Button } from \"@/components/ui/button\"\nimport { Input } from \"@/components/ui/input\"\nimport { Label } from \"@/components/ui/label\"\nimport {\n    Popover,\n    PopoverContent,\n    PopoverTrigger,\n} from \"@/components/ui/popover\"\nimport {\n    Dialog,\n    DialogContent,\n    DialogDescription,\n    DialogHeader,\n    DialogTitle,\n    DialogTrigger,\n    DialogFooter\n} from \"@/components/ui/dialog\"\nimport {\n    Select,\n    SelectContent,\n    SelectItem,\n    SelectTrigger,\n    SelectValue,\n} from \"@/components/ui/select\"\nimport {\n    Tabs,\n    TabsList,\n    TabsTrigger,\n} from \"@/components/ui/tabs\"\nimport { boardData as initialBoardData } from \"./components/data\"\nimport { KanbanCard } from \"./components/kanban/KanbanCard\"\nimport { BoardColumn } from \"./components/kanban/KanbanColumn\"\n\nexport const KanbanBoardView = () => {\n    const [board, setBoard] = useState(initialBoardData);\n\n    const sensors = useSensors(\n        useSensor(PointerSensor, {\n            activationConstraint: {\n                distance: 5,\n            },\n        }),\n        useSensor(KeyboardSensor, {\n            coordinateGetter: sortableKeyboardCoordinates,\n        })\n    );\n\n    const handleDragOver = (event: DragOverEvent) => {\n        const { active, over } = event;\n        if (!over) return;\n\n        const activeId = active.id;\n        const overId = over.id;\n\n        if (activeId === overId) return;\n\n        const isActiveACard = active.data.current?.type === \"Card\";\n        const isOverACard = over.data.current?.type === \"Card\";\n        const isOverAColumn = over.data.current?.type === \"Column\";\n\n        if (!isActiveACard) return;\n\n        setBoard((columns) => {\n            const activeColumn = columns.find(col => col.cards.some(c => c.id === activeId));\n            const activeCard = activeColumn?.cards.find(c => c.id === activeId);\n\n            if (!activeColumn || !activeCard) return columns;\n\n            if (isOverACard) {\n                const overColumn = columns.find(col => col.cards.some(c => c.id === overId));\n                if (!overColumn) return columns;\n\n                if (activeColumn.id === overColumn.id) return columns;\n\n                const overCardIndex = overColumn.cards.findIndex(c => c.id === overId);\n                return columns.map(col => {\n                    if (col.id === activeColumn.id) {\n                        return { ...col, cards: col.cards.filter(c => c.id !== activeId) };\n                    }\n                    if (col.id === overColumn.id) {\n                        const newCards = [...col.cards];\n                        newCards.splice(overCardIndex, 0, activeCard);\n                        return { ...col, cards: newCards };\n                    }\n                    return col;\n                });\n            }\n\n            if (isOverAColumn) {\n                if (activeColumn.id === overId) return columns;\n\n                return columns.map(col => {\n                    if (col.id === activeColumn.id) {\n                        return { ...col, cards: col.cards.filter(c => c.id !== activeId) };\n                    }\n                    if (col.id === overId) {\n                        return { ...col, cards: [...col.cards, activeCard] };\n                    }\n                    return col;\n                });\n            }\n\n            return columns;\n        });\n    };\n\n    const handleDragEnd = (event: DragEndEvent) => {\n        const { active, over } = event;\n        if (!over) return;\n\n        const activeId = active.id;\n        const overId = over.id;\n\n        if (activeId === overId) return;\n\n        setBoard((columns) => {\n            const activeColumn = columns.find(col => col.cards.some(c => c.id === activeId));\n            const overColumn = columns.find(col => col.cards.some(c => c.id === overId));\n\n            if (!activeColumn || !overColumn) return columns;\n\n            if (activeColumn.id === overColumn.id) {\n                const activeIndex = activeColumn.cards.findIndex(c => c.id === activeId);\n                const overIndex = overColumn.cards.findIndex(c => c.id === overId);\n\n                return columns.map(col => {\n                    if (col.id === activeColumn.id) {\n                        return { ...col, cards: arrayMove(col.cards, activeIndex, overIndex) };\n                    }\n                    return col;\n                });\n            }\n\n            return columns;\n        });\n    };\n\n    return (\n        <DndContext\n            id=\"kanban-dnd-context\"\n            sensors={sensors}\n            collisionDetection={closestCorners}\n            onDragOver={handleDragOver}\n            onDragEnd={handleDragEnd}\n        >\n            <div className=\"flex flex-col h-full bg-zinc-50/50 dark:bg-zinc-950/50 overflow-hidden\">\n                <div className=\"flex flex-col md:flex-row md:items-center justify-between gap-3 md:gap-4 min-h-14 border-b dark:border-zinc-800 bg-white dark:bg-zinc-900/50 px-4 md:px-8 py-3 md:py-0 shrink-0\">\n                    <div className=\"flex items-center gap-2 text-[13px] shrink-0\">\n                        <span className=\"text-muted-foreground\">Total: <span className=\"font-semibold text-foreground\">17 Leads</span></span>\n                        <span className=\"text-muted-foreground\">•</span>\n                        <span className=\"text-muted-foreground\">Closed: <span className=\"font-semibold text-foreground\">8 Deals</span></span>\n                    </div>\n\n                    <div className=\"flex items-center gap-2 md:gap-3 overflow-x-auto overflow-y-hidden no-scrollbar w-full md:w-auto md:pb-0 shrink-0\">\n                        <Tabs defaultValue=\"kanban\" className=\"w-auto shrink-0\">\n                            <TabsList className=\"h-8! rounded-lg bg-muted/50 border p-0\">\n                                <TabsTrigger value=\"kanban\" className=\"h-full w-9 p-0 rounded-lg data-[state=active]:bg-background data-[state=active]:shadow-xs hover:bg-muted/80 transition-colors duration-200 outline-none focus-visible:ring-0\">\n                                    <IconLayoutColumns className=\"size-4\" strokeWidth={2} />\n                                </TabsTrigger>\n                                <TabsTrigger value=\"list\" className=\"h-full w-9 p-0 rounded-lg data-[state=active]:bg-background data-[state=active]:shadow-xs hover:bg-muted/80 transition-colors duration-200 outline-none focus-visible:ring-0\">\n                                    <IconLayoutList className=\"size-4\" strokeWidth={2} />\n                                </TabsTrigger>\n                            </TabsList>\n                        </Tabs>\n\n                        <Select defaultValue=\"all\">\n                            <SelectTrigger className=\"h-8! w-fit gap-1 rounded-lg border bg-background px-2.5 hover:bg-muted/50 transition-colors duration-200 font-medium text-[13px] shrink-0 outline-none focus:ring-0 focus-visible:ring-0 focus-visible:ring-offset-0\">\n                                <SelectValue placeholder=\"All leads\" />\n                            </SelectTrigger>\n                            <SelectContent>\n                                <SelectItem value=\"all\">All leads</SelectItem>\n                                <SelectItem value=\"active\">Active leads</SelectItem>\n                                <SelectItem value=\"lost\">Lost leads</SelectItem>\n                            </SelectContent>\n                        </Select>\n\n                        <Popover>\n                            <PopoverTrigger asChild>\n                                <Button variant=\"outline\" className=\"h-8 px-2.5 rounded-lg gap-1.5 font-medium text-[13px] hover:bg-muted/50 transition-colors duration-200 shrink-0 outline-none focus-visible:ring-0\">\n                                    <IconAdjustmentsHorizontal className=\"size-4\" strokeWidth={2} />\n                                    Filter\n                                </Button>\n                            </PopoverTrigger>\n                            <PopoverContent align=\"end\" className=\"w-64 p-3 shadow-lg border-neutral-200 dark:border-zinc-800\">\n                                <h4 className=\"font-semibold text-sm mb-3\">Filter Leads</h4>\n                                <div className=\"flex flex-col gap-3\">\n                                    <div className=\"flex flex-col gap-1.5\">\n                                        <Label className=\"text-xs\">Assigned to</Label>\n                                        <Select defaultValue=\"any\">\n                                            <SelectTrigger className=\"h-8 text-xs outline-none focus:ring-0 focus-visible:ring-0 focus-visible:ring-offset-0\">\n                                                <SelectValue placeholder=\"Select user\" />\n                                            </SelectTrigger>\n                                            <SelectContent>\n                                                <SelectItem value=\"any\">Any user</SelectItem>\n                                                <SelectItem value=\"me\">Assigned to me</SelectItem>\n                                            </SelectContent>\n                                        </Select>\n                                    </div>\n                                    <div className=\"flex flex-col gap-1.5\">\n                                        <Label className=\"text-xs\">Date matched</Label>\n                                        <Select defaultValue=\"any\">\n                                            <SelectTrigger className=\"h-8 text-xs outline-none focus:ring-0 focus-visible:ring-0 focus-visible:ring-offset-0\">\n                                                <SelectValue placeholder=\"Select date range\" />\n                                            </SelectTrigger>\n                                            <SelectContent>\n                                                <SelectItem value=\"any\">Any time</SelectItem>\n                                                <SelectItem value=\"today\">Today</SelectItem>\n                                                <SelectItem value=\"week\">This week</SelectItem>\n                                            </SelectContent>\n                                        </Select>\n                                    </div>\n                                </div>\n                            </PopoverContent>\n                        </Popover>\n\n                        <Dialog>\n                            <DialogTrigger asChild>\n                                <Button className=\"h-8 px-2.5 rounded-lg gap-1.5 text-[13px] font-semibold bg-zinc-950 text-white hover:bg-zinc-800 hover:shadow-md transition-colors duration-200 shrink-0 outline-none focus-visible:ring-0\">\n                                    <IconCirclePlus className=\"size-4\" strokeWidth={2.5} />\n                                    Add lead\n                                </Button>\n                            </DialogTrigger>\n                            <DialogContent className=\"sm:max-w-[425px]\">\n                                <DialogHeader>\n                                    <DialogTitle>Create New Lead</DialogTitle>\n                                    <DialogDescription>\n                                        Add a new lead to the Kanban board.\n                                    </DialogDescription>\n                                </DialogHeader>\n                                <div className=\"grid gap-4 py-4\">\n                                    <div className=\"grid gap-2\">\n                                        <Label htmlFor=\"company\">Company / Title</Label>\n                                        <Input id=\"company\" placeholder=\"e.g. Acme Corp Web Redesign\" className=\"focus-visible:ring-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none transition-colors\" />\n                                    </div>\n                                    <div className=\"grid gap-2\">\n                                        <Label htmlFor=\"contact\">Primary Contact</Label>\n                                        <Input id=\"contact\" placeholder=\"e.g. John Doe\" className=\"focus-visible:ring-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none transition-colors\" />\n                                    </div>\n                                    <div className=\"grid gap-2\">\n                                        <Label htmlFor=\"status\">Initial Status</Label>\n                                        <Select defaultValue=\"contacted\">\n                                            <SelectTrigger className=\"outline-none focus:ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus:border-neutral-400 dark:focus:border-neutral-600 shadow-none transition-colors\">\n                                                <SelectValue />\n                                            </SelectTrigger>\n                                            <SelectContent>\n                                                <SelectItem value=\"contacted\">Contacted</SelectItem>\n                                                <SelectItem value=\"negotiation\">Negotiation</SelectItem>\n                                                <SelectItem value=\"won\">Closed Won</SelectItem>\n                                            </SelectContent>\n                                        </Select>\n                                    </div>\n                                </div>\n                                <DialogFooter>\n                                    <Button type=\"submit\">Create Lead</Button>\n                                </DialogFooter>\n                            </DialogContent>\n                        </Dialog>\n                    </div>\n                </div>\n\n                <div className=\"flex-1 overflow-hidden px-4 md:px-8 py-4 md:py-6 min-h-0 flex flex-col\">\n                    <div className=\"flex lg:grid lg:grid-cols-4 overflow-x-auto lg:overflow-visible snap-x snap-mandatory lg:snap-none gap-4 md:gap-6 w-full max-w-(--breakpoint-2xl) mx-auto flex-1 min-h-0 pb-4 no-scrollbar items-start\">\n                        {board.map((column) => (\n                            <BoardColumn key={column.id} column={column}>\n                                <SortableContext\n                                    items={column.cards.map(c => c.id)}\n                                    strategy={verticalListSortingStrategy}\n                                >\n                                    {column.cards.map((card) => (\n                                        <KanbanCard key={card.id} card={card} columnId={column.id} />\n                                    ))}\n                                </SortableContext>\n\n                                <Dialog>\n                                    <DialogTrigger asChild>\n                                        <Button variant=\"outline\" className=\"h-10 w-full rounded-lg border-neutral-200 dark:border-zinc-800 bg-white/50 dark:bg-zinc-900/50 hover:bg-white dark:hover:bg-zinc-800 hover:border-neutral-300 dark:hover:border-zinc-700 gap-1.5 text-muted-foreground font-semibold text-sm shadow-xs hover:shadow-sm transition-colors duration-200 shrink-0 outline-none focus-visible:ring-0\">\n                                            <IconPlus className=\"size-4\" />\n                                            Add\n                                        </Button>\n                                    </DialogTrigger>\n                                    <DialogContent className=\"sm:max-w-[425px]\">\n                                        <DialogHeader>\n                                            <DialogTitle>Add card to {column.title}</DialogTitle>\n                                            <DialogDescription>\n                                                Create a new lead card in this column.\n                                            </DialogDescription>\n                                        </DialogHeader>\n                                        <div className=\"grid gap-4 py-4\">\n                                            <div className=\"grid gap-2\">\n                                                <Label htmlFor=\"title\">Lead Title</Label>\n                                                <Input id=\"title\" placeholder=\"e.g. Acme Corp Redesign\" className=\"focus-visible:ring-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none transition-colors\" />\n                                            </div>\n                                            <div className=\"grid gap-2\">\n                                                <Label htmlFor=\"desc\">Description</Label>\n                                                <Input id=\"desc\" placeholder=\"Brief details about the lead...\" className=\"focus-visible:ring-0 focus-visible:border-neutral-400 dark:focus-visible:border-neutral-600 outline-none shadow-none transition-colors\" />\n                                            </div>\n                                        </div>\n                                        <DialogFooter>\n                                            <Button type=\"submit\">Create Card</Button>\n                                        </DialogFooter>\n                                    </DialogContent>\n                                </Dialog>\n                            </BoardColumn>\n                        ))}\n                    </div>\n                </div>\n            </div>\n        </DndContext>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/watermelon/lead-dashboard/kanbanBoardView.tsx"
    }
  ],
  "type": "registry:block"
}
