{
  "id": "alert",
  "name": "Alert",
  "level": "molecule",
  "status": "stable",
  "purpose": "A message about the page or a section of it, in the tone of what it says.",
  "description": "Persistent inline feedback for a section, form, page area or system state. Use Alert when the message must remain visible until dismissed; use Toast for ephemeral results. Patterns consulted: Patterns/Feedback · SuccessWarningError + LocalVsGlobalFeedback + BlockingVsNonBlocking, Patterns/Visual Priority · StatusHierarchy, Patterns/Decision Matrix · FeedbackChoice.",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/alert",
  "exports": [
    "Alert",
    "ALERT_EMPHASIS",
    "ALERT_SIZES",
    "ALERT_TONES",
    "alertIconVariants",
    "alertVariants"
  ],
  "source": "packages/ui/src/molecules/alert",
  "axes": [
    {
      "axis": "tone",
      "part": null,
      "values": [
        "neutral",
        "info",
        "success",
        "warning",
        "danger"
      ],
      "default": "info",
      "meaning": "Which semantic colour family the element speaks in."
    },
    {
      "axis": "emphasis",
      "part": null,
      "values": [
        "soft",
        "outline",
        "solid"
      ],
      "default": "soft",
      "meaning": "How strongly a control or chip asserts itself, quiet to loud."
    },
    {
      "axis": "size",
      "part": null,
      "values": [
        "sm",
        "md"
      ],
      "default": "md",
      "meaning": "Ergonomic scale, in three families (control, text, container)."
    }
  ],
  "needs": [
    {
      "need": "Alert / banner",
      "answer": "`Alert tone=\"info|success|warning|danger|neutral\"`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-003",
      "title": "Storybook editorial convention and pattern↔component bidirectionality"
    },
    {
      "id": "ADR-005",
      "title": "Visual operational rules: surfaces, interaction, motion"
    },
    {
      "id": "ADR-030",
      "title": "Axis vocabulary: one name, one meaning"
    },
    {
      "id": "ADR-034",
      "title": "Accessible names come from a labels provider"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-alert--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--playground",
      "frame": "/iframe.html?id=components-molecules-alert--playground&viewMode=story"
    },
    {
      "name": "Tones",
      "id": "components-molecules-alert--tones",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--tones",
      "frame": "/iframe.html?id=components-molecules-alert--tones&viewMode=story"
    },
    {
      "name": "Emphases",
      "id": "components-molecules-alert--emphases",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--emphases",
      "frame": "/iframe.html?id=components-molecules-alert--emphases&viewMode=story"
    },
    {
      "name": "With Action",
      "id": "components-molecules-alert--with-action",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--with-action",
      "frame": "/iframe.html?id=components-molecules-alert--with-action&viewMode=story"
    },
    {
      "name": "Dismissible",
      "id": "components-molecules-alert--dismissible",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--dismissible",
      "frame": "/iframe.html?id=components-molecules-alert--dismissible&viewMode=story"
    },
    {
      "name": "Accessibility",
      "id": "components-molecules-alert--accessibility",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--accessibility",
      "frame": "/iframe.html?id=components-molecules-alert--accessibility&viewMode=story"
    },
    {
      "name": "In context",
      "id": "components-molecules-alert--in-context",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-alert--in-context",
      "frame": "/iframe.html?id=components-molecules-alert--in-context&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/alert.stories.tsx"
}
