{
  "name": "drawer-transaction",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/saas/app/admin-dashboard/admin-dashboard.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-transaction\" side=\"right\" size=\"md\">\n  <header>\n    <span slot=\"icon\">\n      <avatar-ui icon=\"receipt\"></avatar-ui>\n    </span>\n    <span slot=\"heading\">\n      <text-ui strong data-tx-customer>Transaction</text-ui>\n      <badge-ui data-tx-status text=\"Completed\" variant=\"success\"></badge-ui>\n    </span>\n    <span slot=\"action\"></span>\n  </header>\n  <section>\n    <text-ui color=\"subtle\" size=\"sm\" data-tx-meta>Details for the selected transaction.</text-ui>\n  </section>\n  <section>\n    <col-ui gap=\"4\">\n      <grid-ui columns=\"1 2@sm\" gap=\"3\">\n        <card-ui\n          ><section><stat-ui label=\"Amount\" data-tx-amount value=\"—\"></stat-ui></section\n        ></card-ui>\n        <card-ui\n          ><section><stat-ui label=\"Date\" data-tx-date value=\"—\"></stat-ui></section\n        ></card-ui>\n      </grid-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"3\">\n        <text-ui strong>Customer</text-ui>\n        <field-ui label=\"Name\">\n          <input-ui data-tx-name readonly></input-ui>\n        </field-ui>\n        <field-ui label=\"Email\">\n          <input-ui data-tx-email readonly></input-ui>\n        </field-ui>\n        <field-ui label=\"Customer ID\">\n          <input-ui value=\"cus_8420F5K9Q1PL\" readonly></input-ui>\n        </field-ui>\n      </col-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"3\">\n        <text-ui strong>Payment</text-ui>\n        <field-ui label=\"Method\">\n          <input-ui value=\"Visa ending in 4242\" readonly></input-ui>\n        </field-ui>\n        <field-ui label=\"Authorization\">\n          <input-ui value=\"auth_K8N3P2Q7R\" readonly></input-ui>\n        </field-ui>\n        <field-ui label=\"Receipt URL\">\n          <input-ui value=\"https://pay.acme.com/r/tx_H7K2\" readonly suffix=\"arrow-square-out\"></input-ui>\n        </field-ui>\n      </col-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"2\">\n        <text-ui strong>Timeline</text-ui>\n        <row-ui gap=\"2\" align=\"center\"\n          ><icon-ui name=\"check-circle\" color=\"success\"></icon-ui\n          ><col-ui gap=\"0\" grow><text-ui>Payment captured</text-ui><text-ui color=\"subtle\" size=\"sm\">Today · 14:22 UTC</text-ui></col-ui></row-ui\n        >\n        <row-ui gap=\"2\" align=\"center\"\n          ><icon-ui name=\"check-circle\" color=\"success\"></icon-ui\n          ><col-ui gap=\"0\" grow><text-ui>Risk review passed</text-ui><text-ui color=\"subtle\" size=\"sm\">Today · 14:22 UTC</text-ui></col-ui></row-ui\n        >\n        <row-ui gap=\"2\" align=\"center\"\n          ><icon-ui name=\"check-circle\" color=\"success\"></icon-ui\n          ><col-ui gap=\"0\" grow><text-ui>Card authorized</text-ui><text-ui color=\"subtle\" size=\"sm\">Today · 14:21 UTC</text-ui></col-ui></row-ui\n        >\n      </col-ui>\n    </col-ui>\n  </section>\n  <footer slot=\"footer\">\n    <grid-ui>\n      <button-ui text=\"Refund\" icon=\"arrow-u-left-up\" color=\"danger\"></button-ui>\n      <button-ui text=\"Close\" variant=\"ghost\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n      <button-ui text=\"View receipt\" icon=\"arrow-square-out\" variant=\"primary\"></button-ui>\n    </grid-ui>\n  </footer>\n</drawer-ui>",
  "source": "apps/saas/app/admin-dashboard/admin-dashboard.contents.html",
  "metadata": {
    "domain": "data",
    "description": "Transaction detail drawer — individual payment details, status, metadata.",
    "keywords": [
      "drawer",
      "transaction",
      "detail",
      "payment",
      "billing",
      "amount",
      "status"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "receipt"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "Transaction",
      "data-tx-customer": ""
    },
    {
      "id": "badge",
      "component": "Badge",
      "text": "Completed",
      "variant": "success",
      "data-tx-status": ""
    },
    {
      "id": "text-2",
      "component": "Text",
      "variant": "body",
      "slot": "heading",
      "children": [
        "text-3",
        "badge"
      ]
    },
    {
      "id": "text-4",
      "component": "Text",
      "variant": "body",
      "slot": "action"
    },
    {
      "id": "header",
      "component": "Header",
      "children": [
        "text",
        "text-2",
        "text-4"
      ]
    },
    {
      "id": "text-5",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Details for the selected transaction.",
      "data-tx-meta": ""
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "stat",
      "component": "Stat",
      "label": "Amount",
      "value": "—",
      "data-tx-amount": ""
    },
    {
      "id": "section-3",
      "component": "Section",
      "children": [
        "column-2"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "children": [
        "stat"
      ]
    },
    {
      "id": "card",
      "component": "Card",
      "children": [
        "section-3"
      ]
    },
    {
      "id": "stat-2",
      "component": "Stat",
      "label": "Date",
      "value": "—",
      "data-tx-date": ""
    },
    {
      "id": "section-4",
      "component": "Section",
      "children": [
        "column-3"
      ]
    },
    {
      "id": "column-3",
      "component": "Column",
      "children": [
        "stat-2"
      ]
    },
    {
      "id": "card-2",
      "component": "Card",
      "children": [
        "section-4"
      ]
    },
    {
      "id": "grid",
      "component": "Grid",
      "columns": "1 2@sm",
      "gap": "3",
      "children": [
        "card",
        "card-2"
      ]
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "text-6",
      "component": "Text",
      "strong": true,
      "textContent": "Customer"
    },
    {
      "id": "input",
      "component": "Input",
      "readonly": true,
      "data-tx-name": ""
    },
    {
      "id": "field",
      "component": "Field",
      "label": "Name",
      "children": [
        "input"
      ]
    },
    {
      "id": "input-2",
      "component": "Input",
      "readonly": true,
      "data-tx-email": ""
    },
    {
      "id": "field-2",
      "component": "Field",
      "label": "Email",
      "children": [
        "input-2"
      ]
    },
    {
      "id": "input-3",
      "component": "Input",
      "readonly": true,
      "value": "cus_8420F5K9Q1PL"
    },
    {
      "id": "field-3",
      "component": "Field",
      "label": "Customer ID",
      "children": [
        "input-3"
      ]
    },
    {
      "id": "column-4",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-6",
        "field",
        "field-2",
        "field-3"
      ]
    },
    {
      "id": "divider-2",
      "component": "Divider"
    },
    {
      "id": "text-7",
      "component": "Text",
      "strong": true,
      "textContent": "Payment"
    },
    {
      "id": "input-4",
      "component": "Input",
      "readonly": true,
      "value": "Visa ending in 4242"
    },
    {
      "id": "field-4",
      "component": "Field",
      "label": "Method",
      "children": [
        "input-4"
      ]
    },
    {
      "id": "input-5",
      "component": "Input",
      "readonly": true,
      "value": "auth_K8N3P2Q7R"
    },
    {
      "id": "field-5",
      "component": "Field",
      "label": "Authorization",
      "children": [
        "input-5"
      ]
    },
    {
      "id": "input-6",
      "component": "Input",
      "readonly": true,
      "suffix": "arrow-square-out",
      "value": "https://pay.acme.com/r/tx_H7K2"
    },
    {
      "id": "field-6",
      "component": "Field",
      "label": "Receipt URL",
      "children": [
        "input-6"
      ]
    },
    {
      "id": "column-5",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-7",
        "field-4",
        "field-5",
        "field-6"
      ]
    },
    {
      "id": "divider-3",
      "component": "Divider"
    },
    {
      "id": "text-8",
      "component": "Text",
      "strong": true,
      "textContent": "Timeline"
    },
    {
      "id": "check-circle",
      "component": "Icon",
      "name": "check-circle"
    },
    {
      "id": "text-9",
      "component": "Text",
      "textContent": "Payment captured"
    },
    {
      "id": "text-10",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Today · 14:22 UTC"
    },
    {
      "id": "column-7",
      "component": "Column",
      "gap": "0",
      "grow": true,
      "children": [
        "text-9",
        "text-10"
      ]
    },
    {
      "id": "row",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "check-circle",
        "column-7"
      ]
    },
    {
      "id": "icon",
      "component": "Icon",
      "name": "check-circle"
    },
    {
      "id": "text-11",
      "component": "Text",
      "textContent": "Risk review passed"
    },
    {
      "id": "text-12",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Today · 14:22 UTC"
    },
    {
      "id": "column-8",
      "component": "Column",
      "gap": "0",
      "grow": true,
      "children": [
        "text-11",
        "text-12"
      ]
    },
    {
      "id": "row-2",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon",
        "column-8"
      ]
    },
    {
      "id": "icon-2",
      "component": "Icon",
      "name": "check-circle"
    },
    {
      "id": "text-13",
      "component": "Text",
      "textContent": "Card authorized"
    },
    {
      "id": "text-14",
      "component": "Text",
      "color": "subtle",
      "size": "sm",
      "textContent": "Today · 14:21 UTC"
    },
    {
      "id": "column-9",
      "component": "Column",
      "gap": "0",
      "grow": true,
      "children": [
        "text-13",
        "text-14"
      ]
    },
    {
      "id": "row-3",
      "component": "Row",
      "align": "center",
      "gap": "2",
      "children": [
        "icon-2",
        "column-9"
      ]
    },
    {
      "id": "column-6",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-8",
        "row",
        "row-2",
        "row-3"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "grid",
        "divider",
        "column-4",
        "divider-2",
        "column-5",
        "divider-3",
        "column-6"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "color": "danger",
      "icon": "arrow-u-left-up",
      "text": "Refund"
    },
    {
      "id": "button-2",
      "component": "Button",
      "text": "Close",
      "variant": "ghost"
    },
    {
      "id": "button-3",
      "component": "Button",
      "icon": "arrow-square-out",
      "text": "View receipt",
      "variant": "primary"
    },
    {
      "id": "grid-2",
      "component": "Grid",
      "children": [
        "button",
        "button-2",
        "button-3"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "slot": "footer",
      "children": [
        "grid-2"
      ]
    },
    {
      "id": "root",
      "component": "Drawer",
      "side": "right",
      "size": "md",
      "children": [
        "header",
        "section",
        "section-2",
        "footer"
      ]
    }
  ]
}
