{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "merge-box",
  "type": "registry:ui",
  "title": "Merge box",
  "description": "A React pull request merge panel with a success or warning callout for check status and a full width Merge button that stays disabled until checks pass.",
  "dependencies": [],
  "registryDependencies": [
    "https://ui.minidev.pro/r/button.json",
    "https://ui.minidev.pro/r/callout.json",
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/merge-box.tsx",
      "type": "registry:ui",
      "target": "components/ui/merge-box.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { Callout } from \"@/components/ui/callout\"\n\nfunction MergeBox({\n  canMerge = true,\n  className,\n}: {\n  canMerge?: boolean\n  className?: string\n}) {\n  return (\n    <div data-slot=\"merge-box\" className={cn(\"space-y-3 rounded-xl border border-border bg-surface p-4\", className)}>\n      <Callout tone={canMerge ? \"success\" : \"warning\"} title={canMerge ? \"Ready to merge\" : \"Checks pending\"}>\n        {canMerge ? \"All required checks passed.\" : \"Wait for audit + typecheck.\"}\n      </Callout>\n      <Button type=\"button\" className=\"w-full\" disabled={!canMerge}>Merge pull request</Button>\n    </div>\n  )\n}\nexport { MergeBox }\n"
    }
  ]
}
