{
  "id": "confirm-dialog-content",
  "name": "ConfirmDialogContent",
  "level": "molecule",
  "status": "stable",
  "purpose": "Asks a reader to confirm or cancel before something that matters.",
  "description": "Drop-in content for <DialogContent>. Renders DialogHeader (Title + Description) + DialogFooter (Cancel + Confirm). Three tones (neutral primary, warning primary, danger danger) — confirm button intent follows the tone. The consumer keeps control of open / onOpenChange. Patterns consulted: Patterns/Overlays · DialogAsTask, Patterns/Feedback · BlockingVsNonBlocking.",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/confirm-dialog-content",
  "exports": [
    "ConfirmDialogContent",
    "CONFIRM_DIALOG_CONTENT_TONES",
    "confirmDialogContentVariants"
  ],
  "source": "packages/ui/src/molecules/confirm-dialog-content",
  "axes": [
    {
      "axis": "tone",
      "part": null,
      "values": [
        "neutral",
        "warning",
        "danger"
      ],
      "default": "neutral",
      "meaning": "Which semantic colour family the element speaks in."
    }
  ],
  "needs": [
    {
      "need": "Confirmation modal / generic modal",
      "answer": "`Dialog` + `ConfirmDialogContent` / `Dialog`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-030",
      "title": "Axis vocabulary: one name, one meaning"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-confirmdialogcontent--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-confirmdialogcontent--playground",
      "frame": "/iframe.html?id=components-molecules-confirmdialogcontent--playground&viewMode=story"
    },
    {
      "name": "Danger",
      "id": "components-molecules-confirmdialogcontent--danger",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-confirmdialogcontent--danger",
      "frame": "/iframe.html?id=components-molecules-confirmdialogcontent--danger&viewMode=story"
    },
    {
      "name": "Warning",
      "id": "components-molecules-confirmdialogcontent--warning",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-confirmdialogcontent--warning",
      "frame": "/iframe.html?id=components-molecules-confirmdialogcontent--warning&viewMode=story"
    },
    {
      "name": "Loading",
      "id": "components-molecules-confirmdialogcontent--loading",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-confirmdialogcontent--loading",
      "frame": "/iframe.html?id=components-molecules-confirmdialogcontent--loading&viewMode=story"
    },
    {
      "name": "In dialog",
      "id": "components-molecules-confirmdialogcontent--in-dialog",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-confirmdialogcontent--in-dialog",
      "frame": "/iframe.html?id=components-molecules-confirmdialogcontent--in-dialog&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/confirm-dialog-content.stories.tsx"
}
