{
  "name": "cai-ui-sdk-command",
  "type": "registry:ui",
  "description": "Canadian AI inline command palette with UI SDK list navigation and accessible filtering",
  "dependencies": [
    "@ui-sdk/core@0.1.0-beta.1",
    "@ui-sdk/react@0.1.0-beta.1"
  ],
  "files": [
    {
      "path": "components/ui/cai-ui-sdk-command.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n  Combobox as PrimitiveCommand,\n  ComboboxInput as PrimitiveInput,\n  ComboboxContent as PrimitiveContent,\n  ComboboxList as PrimitiveList,\n  ComboboxItem as PrimitiveItem,\n  ComboboxEmpty as PrimitiveEmpty,\n} from \"@ui-sdk/react/combobox\"\nimport { cn } from \"@/lib/utils\"\n\n// Inline command palette. UI SDK provides accessible list navigation,\n// filtering, selection and focus behavior. Consumers decide whether to put\n// this composition inside an application dialog and own its shortcut.\nconst CaiCommand = PrimitiveCommand\n\nfunction CaiCommandInput({ className, ...props }: React.ComponentProps<typeof PrimitiveInput>) {\n  return <PrimitiveInput data-slot=\"cai-command-input\" aria-label=\"Search commands\" className={cn(\"border-input bg-background text-foreground placeholder:text-muted-foreground focus-visible:ring-ring/50 h-11 w-full border-b px-3 text-sm outline-none focus-visible:ring-[3px]\", className)} {...props} />\n}\n\nfunction CaiCommandContent({ className, ...props }: React.ComponentProps<typeof PrimitiveContent>) {\n  return <PrimitiveContent data-slot=\"cai-command-content\" className={cn(\"border-border bg-popover text-popover-foreground z-50 min-w-56 border p-1 shadow-md\", className)} {...props} />\n}\n\nfunction CaiCommandList({ className, ...props }: React.ComponentProps<typeof PrimitiveList>) {\n  return <PrimitiveList data-slot=\"cai-command-list\" className={cn(\"max-h-80 overflow-auto p-1\", className)} {...props} />\n}\n\nfunction CaiCommandItem({ className, ...props }: React.ComponentProps<typeof PrimitiveItem>) {\n  return <PrimitiveItem data-slot=\"cai-command-item\" className={cn(\"data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:opacity-50 flex min-h-9 cursor-default items-center gap-2 px-2 py-1.5 text-sm outline-none\", className)} {...props} />\n}\n\nfunction CaiCommandEmpty({ className, ...props }: React.ComponentProps<typeof PrimitiveEmpty>) {\n  return <PrimitiveEmpty data-slot=\"cai-command-empty\" className={cn(\"text-muted-foreground px-3 py-4 text-center text-sm\", className)} {...props} />\n}\n\nexport { CaiCommand, CaiCommandInput, CaiCommandContent, CaiCommandList, CaiCommandItem, CaiCommandEmpty }\n",
      "type": "registry:ui"
    }
  ]
}