{
  "$schema": "https://next.0build.dev/schema/component.v1.json",
  "accessibility": {
    "aria": [],
    "notes": []
  },
  "attributes": [],
  "category": "data",
  "children": [],
  "cssClasses": [
    {
      "appliesTo": ".z-table",
      "class": ".z-table",
      "description": "Full-width collapsed table with padded cells.",
      "role": "root"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-divider",
      "description": "Top border on every row except the first.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-expand",
      "description": "Cell utility: minimum width so the column claims free space.",
      "role": "utility"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-hover",
      "description": "Tinted background on row hover with a short transition.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-justify",
      "description": "Removes outer cell padding so the table aligns with surrounding content.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-large",
      "description": "Larger cell padding.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-link",
      "description": "Cell utility: moves padding onto a block-level link filling the cell.",
      "role": "utility"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-middle",
      "description": "Vertically centers cell content.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-responsive",
      "description": "Below 48rem, rows stack into blocks and `td[data-label]` cells show their label inline.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-responsive-compact",
      "description": "Narrower label column and tighter row padding in the responsive layout.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-responsive-stack",
      "description": "Responsive variant that places each label above its value instead of beside it.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-shrink",
      "description": "Cell utility: collapses the column to its content width.",
      "role": "utility"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-small",
      "description": "Smaller cell padding.",
      "role": "modifier"
    },
    {
      "appliesTo": ".z-table",
      "class": ".z-table-striped",
      "description": "Tinted background and borders on odd rows.",
      "role": "modifier"
    }
  ],
  "cssVars": [
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-info)",
      "description": "Background of rows marked with `z-active`.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-active-bg",
      "scope": ".z-table > tr.z-active, .z-table tbody tr.z-active",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "8%",
      "description": "Opacity applied to the active row background.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-active-bg-o",
      "scope": ".z-table > tr.z-active, .z-table tbody tr.z-active",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Caption text color.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-caption-color",
      "scope": ".z-table caption",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the caption color.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-caption-color-o",
      "scope": ".z-table caption",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "0.875rem",
      "description": "Caption font size.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-caption-font-size",
      "scope": ".z-table caption",
      "syntax": "<length>"
    },
    {
      "affects": [
        "left",
        "padding",
        "padding-left",
        "top"
      ],
      "default": "1rem 0.75rem",
      "description": "Padding of header and body cells.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-cell-padding",
      "scope": ".z-table",
      "syntax": "<length>"
    },
    {
      "affects": [
        "min-width"
      ],
      "default": "10rem",
      "description": "Minimum width of `z-table-expand` cells.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-expand-min-width",
      "scope": ".z-table-expand",
      "syntax": "<length>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "0.875rem",
      "description": "Font size of the footer (`tfoot`).",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-footer-font-size",
      "scope": ".z-table tfoot",
      "syntax": "<length>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Header text color.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-header-color",
      "scope": ".z-table th",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the header text color.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-header-color-o",
      "scope": ".z-table th",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "0.875rem",
      "description": "Header font size.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-header-font-size",
      "scope": ".z-table th",
      "syntax": "<length>"
    },
    {
      "affects": [
        "font-weight"
      ],
      "default": "normal",
      "description": "Header font weight.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-header-font-weight",
      "scope": ".z-table th",
      "syntax": "<number>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-muted)",
      "description": "Row background on hover.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-hover-bg",
      "scope": ".z-table-hover > tr:hover, .z-table-hover tbody tr:hover",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-muted-o)",
      "description": "Opacity applied to the hover background.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-hover-bg-o",
      "scope": ".z-table-hover > tr:hover, .z-table-hover tbody tr:hover",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "transition"
      ],
      "default": "background-color 150ms ease-in-out",
      "description": "Transition applied to the hover background.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-hover-transition",
      "scope": ".z-table-hover > tr:hover, .z-table-hover tbody tr:hover",
      "syntax": ""
    },
    {
      "affects": [
        "color"
      ],
      "default": "var(--z-muted-f)",
      "description": "Label text color in the responsive layout.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-label-color",
      "scope": ".z-table-responsive",
      "syntax": "<color>"
    },
    {
      "affects": [
        "color"
      ],
      "default": "100%",
      "description": "Opacity applied to the responsive label color.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-label-color-o",
      "scope": ".z-table-responsive",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "font-size"
      ],
      "default": "0.875rem",
      "description": "Label font size in the responsive layout.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-label-size",
      "scope": ".z-table-responsive",
      "syntax": "<length>"
    },
    {
      "affects": [
        "font-weight"
      ],
      "default": "500",
      "description": "Label font weight in the responsive layout.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-label-weight",
      "scope": ".z-table-responsive",
      "syntax": "<number>"
    },
    {
      "affects": [
        "padding-left",
        "width"
      ],
      "default": "50%",
      "description": "Width of the label column in the responsive layout.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-label-width",
      "scope": ".z-table-responsive",
      "syntax": "<percentage>"
    },
    {
      "affects": [
        "padding-bottom",
        "padding-top"
      ],
      "default": "0.5rem",
      "description": "Vertical cell padding in the responsive layout.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-padding-y",
      "scope": ".z-table-responsive",
      "syntax": "<length>"
    },
    {
      "affects": [
        "margin-bottom"
      ],
      "default": "0.25rem",
      "description": "Gap between label and value in the stacked responsive variant.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-responsive-stack-gap",
      "scope": ".z-table-responsive.z-table-responsive-stack td[data-label]::before",
      "syntax": "<length>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-muted)",
      "description": "Background of odd striped rows.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-striped-bg",
      "scope": ".z-table-striped > tr:nth-of-type(odd), .z-table-striped tbody tr:nth-of-type(odd)",
      "syntax": "<color>"
    },
    {
      "affects": [
        "background-color"
      ],
      "default": "var(--z-muted-o)",
      "description": "Opacity applied to the striped background.",
      "file": "src/css/kit-components/table.css",
      "kind": "base",
      "name": "--z-table-striped-bg-o",
      "scope": ".z-table-striped > tr:nth-of-type(odd), .z-table-striped tbody tr:nth-of-type(odd)",
      "syntax": "<percentage>"
    }
  ],
  "dataHooks": [],
  "events": [],
  "i18n": [],
  "icons": [],
  "id": "table",
  "inherits": [],
  "keyboard": [],
  "kind": "css",
  "methods": [],
  "notes": [
    "In the responsive layout, give each body cell a `data-label` attribute with its column header text; it renders via `::before`.",
    "Mark a selected row with `z-active` for the info-tinted highlight."
  ],
  "parts": {
    "defaultClsTarget": null,
    "defaultStlTarget": null,
    "items": []
  },
  "recipes": [],
  "related": [],
  "schemaVersion": 1,
  "sources": {
    "css": [
      "src/css/kit-components/table.css"
    ],
    "cssSelectors": [
      ".z-table",
      ".z-table-*"
    ],
    "ts": null
  },
  "summary": "Table styling with divider, striped, hover, and size variants plus a responsive label layout.",
  "tag": null,
  "title": "Table"
}
