{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "live-status",
  "type": "registry:ui",
  "title": "Live status",
  "description": "Always-mounted polite status region that announces changes to assistive technology.",
  "dependencies": [],
  "registryDependencies": [
    "https://control-ui.dev/r/core.json"
  ],
  "files": [
    {
      "path": "src/registry/sources/control-ui/ui/live-status.tsx",
      "target": "@components/control-ui/ui/live-status.tsx",
      "type": "registry:ui",
      "content": "import type { ComponentProps } from \"react\";\nimport { cn } from \"@/components/control-ui/lib/cn\";\n\nexport type LiveStatusProps = Omit<ComponentProps<\"span\">, \"role\" | \"children\"> & { message: string };\n\nexport function LiveStatus({ message, className, ...props }: LiveStatusProps) {\n  return (\n    <span\n      {...props}\n      role=\"status\"\n      aria-live=\"polite\"\n      aria-atomic=\"true\"\n      data-control-ui=\"live-status\"\n      data-slot=\"root\"\n      className={cn(\"sr-only\", className)}\n    >\n      {message}\n    </span>\n  );\n}\n"
    }
  ]
}
