{
  "id": "notification-item",
  "name": "NotificationItem",
  "level": "molecule",
  "status": "stable",
  "purpose": "One notification: who, what happened and when.",
  "description": "Notification feed row with leading slot, title, description, timestamp, badge and trailing action. Tone reinforces meaning without carrying it alone (R14). unread bolds the title and adds a coloured dot — the colour is reinforcement, not the message.",
  "role": "feedback",
  "import": "@rrios-forge/ui/molecules/notification-item",
  "exports": [
    "NotificationItem",
    "NOTIFICATION_ITEM_DENSITIES",
    "NOTIFICATION_ITEM_TONES",
    "notificationItemVariants"
  ],
  "source": "packages/ui/src/molecules/notification-item",
  "axes": [
    {
      "axis": "tone",
      "part": null,
      "values": [
        "neutral",
        "info",
        "success",
        "warning",
        "danger"
      ],
      "default": "neutral",
      "meaning": "Which semantic colour family the element speaks in."
    },
    {
      "axis": "unread",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Not yet seen: a dot and stronger weight until opened."
    },
    {
      "axis": "selected",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Chosen in a set: the selected wash plus a non-colour cue (weight, check)."
    }
  ],
  "needs": [
    {
      "need": "Notification / timeline / activity item",
      "answer": "`NotificationItem` / `TimelineItem` / `ActivityItem`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [
    {
      "id": "ADR-016",
      "title": "NotificationCenter v2: Popover → Drawer + Provider/Hooks"
    },
    {
      "id": "ADR-030",
      "title": "Axis vocabulary: one name, one meaning"
    }
  ],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-notificationitem--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-notificationitem--playground",
      "frame": "/iframe.html?id=components-molecules-notificationitem--playground&viewMode=story"
    },
    {
      "name": "Tones",
      "id": "components-molecules-notificationitem--tones",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-notificationitem--tones",
      "frame": "/iframe.html?id=components-molecules-notificationitem--tones&viewMode=story"
    },
    {
      "name": "Densities",
      "id": "components-molecules-notificationitem--densities",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-notificationitem--densities",
      "frame": "/iframe.html?id=components-molecules-notificationitem--densities&viewMode=story"
    },
    {
      "name": "Unread",
      "id": "components-molecules-notificationitem--unread",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-notificationitem--unread",
      "frame": "/iframe.html?id=components-molecules-notificationitem--unread&viewMode=story"
    },
    {
      "name": "With action",
      "id": "components-molecules-notificationitem--with-action",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-notificationitem--with-action",
      "frame": "/iframe.html?id=components-molecules-notificationitem--with-action&viewMode=story"
    },
    {
      "name": "Notification feed",
      "id": "components-molecules-notificationitem--notification-feed",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-notificationitem--notification-feed",
      "frame": "/iframe.html?id=components-molecules-notificationitem--notification-feed&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/notification-item.stories.tsx"
}
