{
  "id": "table-row",
  "name": "TableRow",
  "level": "molecule",
  "status": "stable",
  "purpose": "One row of a table, selectable when the table is.",
  "description": "Renders <div role=\"row\">. Cells accept a node or `{ content, align }`; `align` mirrors TableHeaderColumn.align so a column lines up with its header (`end` adds tabular-nums). Selected rows wear the selected register plus weight and `aria-selected`; hover is a quiet fill. The molecule never adds tabIndex; the consumer wraps the row in a real semantic interactive element when the whole row commits an action. Patterns consulted: Patterns/Density & Growth · DensityLevels + ContentGrowth.",
  "role": "content",
  "import": "@rrios-forge/ui/molecules/table-row",
  "exports": [
    "TableRow",
    "TABLE_ROW_DENSITIES",
    "tableRowVariants"
  ],
  "source": "packages/ui/src/molecules/table-row",
  "axes": [
    {
      "axis": "selected",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Chosen in a set: the selected wash plus a non-colour cue (weight, check)."
    },
    {
      "axis": "disabled",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Not available: dimmed, skipped by the keyboard, ignores the pointer."
    },
    {
      "axis": "interactive",
      "part": null,
      "values": [
        "true",
        "false"
      ],
      "default": "false",
      "meaning": "Responds to the pointer: hover and press feedback, a pointer cursor."
    }
  ],
  "needs": [
    {
      "need": "Table",
      "answer": "`DataTable`, or `TableHeader` + `TableRow` + `TablePagination`"
    }
  ],
  "patterns": [],
  "a11yExceptions": [],
  "decisions": [],
  "stories": [
    {
      "name": "Playground",
      "id": "components-molecules-tablerow--playground",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablerow--playground",
      "frame": "/iframe.html?id=components-molecules-tablerow--playground&viewMode=story"
    },
    {
      "name": "Densities",
      "id": "components-molecules-tablerow--densities",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablerow--densities",
      "frame": "/iframe.html?id=components-molecules-tablerow--densities&viewMode=story"
    },
    {
      "name": "Selected",
      "id": "components-molecules-tablerow--selected",
      "interaction": false,
      "snapshots": [
        "dark",
        "high-contrast",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablerow--selected",
      "frame": "/iframe.html?id=components-molecules-tablerow--selected&viewMode=story"
    },
    {
      "name": "With actions",
      "id": "components-molecules-tablerow--with-actions",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablerow--with-actions",
      "frame": "/iframe.html?id=components-molecules-tablerow--with-actions&viewMode=story"
    },
    {
      "name": "In data surface",
      "id": "components-molecules-tablerow--in-data-surface",
      "interaction": false,
      "snapshots": [
        "dark",
        "light"
      ],
      "skipsSnapshot": false,
      "docs": "/?path=/story/components-molecules-tablerow--in-data-surface",
      "frame": "/iframe.html?id=components-molecules-tablerow--in-data-surface&viewMode=story"
    }
  ],
  "storyFile": "tooling/storybook/stories/components/molecules/table-row.stories.tsx"
}
