{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "separator",
  "title": "Separator",
  "description": "구분선 — orientation 가로/세로, decorative(장식·aria-hidden)와 의미(role=separator) 구분(radix 계약 준수).",
  "dependencies": [
    "@unikit-bridge/ui",
    "class-variance-authority",
    "clsx",
    "tailwind-merge",
    "tailwindcss"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/separator.tsx",
      "content": "// Separator — shadcn/ui new-york-v4 separator 포팅（shadcn-ref/ui/separator.tsx）.\n// 포팅 판단:\n// - radix-ui Separator 엔진 제거 — 상호작용이 없는 장식선이므로 Pressable이 아니라\n//   View로 이식하고, 원본의 data-orientation 셀렉터（가로 h-px w-full /\n//   세로 h-full w-px）를 orientation prop 조건부 클래스로 전개한다（토큰 유지）.\n// - 접근성: BridgeRole \"separator\" 계약 사용. radix의 decorative 기본값（true）을\n//   따라 장식용이면 role 없이 aria-hidden으로 은닉하고, decorative={false}일 때만\n//   role=\"separator\"를 노출한다（원본과 같은 의미 구분）.\nimport { forwardRef } from \"react\";\nimport {\n  View,\n  type BridgeViewRef,\n  type ViewProps,\n} from \"@unikit-bridge/ui/primitives\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst separatorVariants = cva(\"shrink-0 bg-border\", {\n  variants: {\n    orientation: {\n      horizontal: \"h-px w-full\",\n      vertical: \"h-full w-px\",\n    },\n  },\n  defaultVariants: {\n    orientation: \"horizontal\",\n  },\n});\n\nexport type SeparatorProps = ViewProps &\n  VariantProps<typeof separatorVariants> & {\n    /** 장식 구분선（기본값）이면 스크린리더에서 은닉, false면 role 노출 */\n    decorative?: boolean;\n  };\n\nconst Separator = forwardRef<BridgeViewRef, SeparatorProps>(\n  ({ className, orientation, decorative = true, ...props }, ref) => (\n    <View\n      ref={ref}\n      accessibilityRole={decorative ? undefined : \"separator\"}\n      aria-hidden={decorative ? true : undefined}\n      className={cn(separatorVariants({ orientation }), className)}\n      {...props}\n    />\n  ),\n);\nSeparator.displayName = \"Separator\";\n\nexport { Separator, separatorVariants };\n",
      "type": "registry:ui",
      "target": "components/unikit/separator.tsx"
    }
  ],
  "type": "registry:ui"
}
