{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "accessible-name",
  "title": "Accessible name",
  "description": "The aria-label or deprecated ariaLabel prop type that the chart components share.",
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/ikada/lib/ikada/accessible-name.ts",
      "content": "/**\n * The accessible name for a component that has no visible label: `aria-label`, the standard\n * spelling (like Select and SegmentedControl). `ariaLabel` is the 0.1 spelling, deprecated and\n * removed in 0.3.0. One of the two is required.\n */\nexport type AccessibleName =\n  | { \"aria-label\": string; /** @deprecated Use `aria-label`. */ ariaLabel?: undefined }\n  | { /** @deprecated Use `aria-label`. */ ariaLabel: string; \"aria-label\"?: undefined };\n\n/** Reads either spelling. */\nexport const accessibleName = (props: { \"aria-label\"?: string; ariaLabel?: string }): string =>\n  props[\"aria-label\"] ?? props.ariaLabel ?? \"\";\n",
      "type": "registry:lib",
      "target": "@components/ikada/lib/accessible-name.ts"
    }
  ],
  "categories": [
    "utilities"
  ],
  "type": "registry:lib"
}