{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "dependencies": [
    "react-resizable-panels",
    "lucide-react"
  ],
  "files": [
    {
      "content": "export * as Resizable from \"./namespace\";\nexport * from \"./resizable\";\nexport * from \"./styles\";\n",
      "path": "src/registry/ui/resizable/index.ts",
      "type": "registry:ui"
    },
    {
      "content": "\"use client\";\n\nimport { GripVerticalIcon } from \"lucide-react\";\n\nimport { Group, Panel, Separator } from \"react-resizable-panels\";\nimport { ResizableStyles } from \"./styles\";\n\nexport interface ResizableRootProps\n  extends React.ComponentProps<typeof Group> {}\n\nexport function ResizableRoot({ className, ...props }: ResizableRootProps) {\n  return (\n    <Group\n      className={ResizableStyles.Root({ className })}\n      data-slot=\"resizable-root\"\n      {...props}\n    />\n  );\n}\n\nexport interface ResizablePanelProps\n  extends React.ComponentProps<typeof Panel> {}\n\nexport function ResizablePanel(props: ResizablePanelProps) {\n  return <Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\nexport interface ResizableSeparatorProps\n  extends React.ComponentProps<typeof Separator> {}\n\nexport function ResizableSeparator({\n  className,\n  ...props\n}: ResizableSeparatorProps) {\n  return (\n    <Separator\n      className={ResizableStyles.Separator({ className })}\n      data-slot=\"resizable-separator\"\n      {...props}\n    />\n  );\n}\n\nexport interface ResizableHandleProps extends React.ComponentProps<\"div\"> {}\n\nexport function ResizableHandle({\n  className,\n  children,\n  ...props\n}: ResizableHandleProps) {\n  return (\n    <div\n      className={ResizableStyles.Handle({ className })}\n      data-slot=\"resizable-handle\"\n      {...props}\n    >\n      {children ?? <GripVerticalIcon className=\"size-2.5\" />}\n    </div>\n  );\n}\n",
      "path": "src/registry/ui/resizable/resizable.tsx",
      "type": "registry:ui"
    },
    {
      "content": "import { cva } from \"~/registry/lib/cva\";\n\nexport const ResizableStyles = {\n  Root: cva({\n    base: [\"flex h-full w-full aria-[orientation=vertical]:flex-col\"],\n  }),\n  Separator: cva({\n    base: [\n      \"relative flex w-px items-center justify-center bg-border\",\n      \"after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2\",\n      \"focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1\",\n      \"aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full\",\n      \"aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full\",\n      \"aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2\",\n      \"[&[aria-orientation=horizontal]>div]:rotate-90\",\n    ],\n  }),\n  Handle: cva({\n    base: [\n      \"z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border\",\n    ],\n  }),\n};\n",
      "path": "src/registry/ui/resizable/styles.ts",
      "type": "registry:ui"
    },
    {
      "content": "export {\n  ResizableHandle as Handle,\n  ResizablePanel as Panel,\n  ResizableRoot as Root,\n  ResizableSeparator as Separator,\n} from \"./resizable\";\n",
      "path": "src/registry/ui/resizable/namespace.ts",
      "type": "registry:ui"
    }
  ],
  "name": "resizable",
  "registryDependencies": [
    "@kanpeki/cva",
    "@kanpeki/custom-plugin"
  ],
  "type": "registry:ui"
}