{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "resizable",
  "type": "registry:ui",
  "title": "Resizable",
  "dependencies": [
    "@base-ui-next/react"
  ],
  "registryDependencies": [
    "https://hamur.dev/r/react/utils.json"
  ],
  "files": [
    {
      "path": "react/resizable.tsx",
      "content": "'use client'\n\nimport { Splitter as SplitterPrimitive } from '@base-ui-next/react/splitter' // base-ui-next/ui resizable@0.1.1\nimport { cn } from '@/lib/utils'\n\nconst resizablePanelGroupClassName =\n  'flex h-full w-full data-[orientation=vertical]:flex-col'\n\nconst resizableHandleClassName =\n  'relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 pointer-coarse:after:w-6 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 aria-[orientation=horizontal]:pointer-coarse:after:h-6 [&[aria-orientation=horizontal]>div]:rotate-90'\n\nconst resizableHandleGripClassName = 'z-10 flex h-6 w-1 shrink-0 rounded-lg bg-border'\n\nfunction ResizablePanelGroup({ className, ...props }: SplitterPrimitive.Root.Props) {\n  return (\n    <SplitterPrimitive.Root\n      data-slot=\"resizable-panel-group\"\n      className={cn(resizablePanelGroupClassName, className)}\n      {...props}\n    />\n  )\n}\n\nfunction ResizablePanel({ ...props }: SplitterPrimitive.Panel.Props) {\n  return <SplitterPrimitive.Panel data-slot=\"resizable-panel\" {...props} />\n}\n\nfunction ResizableHandle({\n  withHandle,\n  className,\n  ...props\n}: SplitterPrimitive.Separator.Props & {\n  withHandle?: boolean\n}) {\n  return (\n    <SplitterPrimitive.Separator\n      data-slot=\"resizable-handle\"\n      className={cn(resizableHandleClassName, className)}\n      {...props}\n    >\n      {withHandle && <div className={resizableHandleGripClassName} />}\n    </SplitterPrimitive.Separator>\n  )\n}\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup }\n",
      "type": "registry:ui",
      "target": "@ui/resizable.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.1",
      "hash": "84bb43385de6d7054c93244ddff612d1a0a7c48a7810b2e301f706112ea053ae",
      "files": {
        "@ui/resizable.tsx": "2e727760da484633810a5812146e0c9ac72e2b9f93539252be0a12e452cd0556"
      }
    }
  }
}
