{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "separator",
  "title": "Separator",
  "description": "A 1px line between groups of content, across or down. The menus, the Select and the Toolbar draw their lines with it.",
  "dependencies": [
    "@ui-sdk/react",
    "@ui-sdk/core",
    "class-variance-authority"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/components/kino/separator.tsx",
      "content": "'use client'\n\nimport { Separator as SeparatorPrimitive } from '@ui-sdk/react/separator'\nimport { cva } from 'class-variance-authority'\nimport type { ComponentProps } from 'react'\n\nimport { cn } from '@/lib/utils'\n\n/*\n * A 1px line in the border colour, between groups of content. The menus,\n * the Select, the Toolbar and the code field draw their own separator\n * parts with these classes, so every line in Kino is the same.\n */\nconst separatorVariants = cva('bg-border forced-colors:bg-[CanvasText] shrink-0', {\n  variants: {\n    orientation: {\n      horizontal: 'h-px w-full',\n      // Fills the row's height; give it a height to draw a shorter line.\n      vertical: 'w-px self-stretch',\n    },\n  },\n  defaultVariants: {\n    orientation: 'horizontal',\n  },\n})\n\nfunction Separator({\n  className,\n  orientation = 'horizontal',\n  ...props\n}: Omit<ComponentProps<typeof SeparatorPrimitive>, 'className'> & {\n  className?: string\n}) {\n  return (\n    <SeparatorPrimitive\n      orientation={orientation}\n      className={cn(separatorVariants({ orientation }), className)}\n      {...props}\n    />\n  )\n}\n\nexport { Separator, separatorVariants }\n",
      "type": "registry:component",
      "target": "@components/kino/separator.tsx"
    }
  ],
  "type": "registry:component"
}