{
  "name": "drawer-delete-workspace",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/saas/app/settings-page/settings-page.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-delete-workspace\" side=\"right\" size=\"md\">\n  <header>\n    <span slot=\"icon\">\n      <avatar-ui icon=\"warning-octagon\"></avatar-ui>\n    </span>\n    <span slot=\"heading\">\n      <text-ui strong>Delete workspace</text-ui>\n      <badge-ui text=\"adia-ui\" variant=\"accent\"></badge-ui>\n    </span>\n    <span slot=\"action\"></span>\n  </header>\n  <section>\n    <text-ui color=\"subtle\" size=\"sm\">Permanently removes the workspace and all member access. Data is purged after 30 days.</text-ui>\n  </section>\n  <section>\n    <col-ui gap=\"4\">\n      <alert-ui variant=\"danger\" icon=\"warning\" text=\"This cannot be undone. All 14 members will lose access immediately.\"></alert-ui>\n      <divider-ui></divider-ui>\n      <grid-ui columns=\"1 2@sm\" gap=\"3\">\n        <card-ui\n          ><section><stat-ui label=\"Members\" value=\"14\"></stat-ui></section\n        ></card-ui>\n        <card-ui\n          ><section><stat-ui label=\"Conversations\" value=\"8,420\"></stat-ui></section\n        ></card-ui>\n        <card-ui\n          ><section><stat-ui label=\"API keys\" value=\"6\"></stat-ui></section\n        ></card-ui>\n        <card-ui\n          ><section><stat-ui label=\"Storage\" value=\"42 GB\"></stat-ui></section\n        ></card-ui>\n      </grid-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"2\">\n        <text-ui strong>Before you delete</text-ui>\n        <button-ui text=\"Export workspace data\" variant=\"outline\" icon=\"download-simple\" stretch></button-ui>\n        <button-ui text=\"Transfer ownership\" variant=\"outline\" icon=\"user-switch\" stretch></button-ui>\n      </col-ui>\n      <divider-ui></divider-ui>\n      <col-ui gap=\"3\">\n        <text-ui strong>Confirm</text-ui>\n        <field-ui label=\"Type the workspace name to confirm\">\n          <input-ui placeholder=\"adia-ui\"></input-ui>\n        </field-ui>\n        <check-ui label=\"I understand this deletes all members, data, and integrations\"></check-ui>\n      </col-ui>\n    </col-ui>\n  </section>\n  <footer slot=\"footer\">\n    <grid-ui>\n      <button-ui text=\"Cancel\" variant=\"ghost\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n      <button-ui text=\"Delete workspace\" icon=\"trash\" color=\"danger\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n    </grid-ui>\n  </footer>\n</drawer-ui>",
  "source": "apps/saas/app/settings-page/settings-page.contents.html",
  "metadata": {
    "domain": "settings",
    "description": "Delete workspace confirmation drawer — type workspace name to confirm deletion.",
    "keywords": [
      "drawer",
      "delete",
      "workspace",
      "confirm",
      "type",
      "name",
      "permanent"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "warning-octagon"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "Delete workspace"
    },
    {
      "id": "badge",
      "component": "Badge",
      "text": "adia-ui",
      "variant": "accent"
    },
    {
      "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": "Permanently removes the workspace and all member access. Data is purged after 30 days."
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "alert",
      "component": "Alert",
      "icon": "warning",
      "text": "This cannot be undone. All 14 members will lose access immediately.",
      "variant": "danger"
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "stat",
      "component": "Stat",
      "label": "Members",
      "value": "14"
    },
    {
      "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": "Conversations",
      "value": "8,420"
    },
    {
      "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": "stat-3",
      "component": "Stat",
      "label": "API keys",
      "value": "6"
    },
    {
      "id": "section-5",
      "component": "Section",
      "children": [
        "column-4"
      ]
    },
    {
      "id": "column-4",
      "component": "Column",
      "children": [
        "stat-3"
      ]
    },
    {
      "id": "card-3",
      "component": "Card",
      "children": [
        "section-5"
      ]
    },
    {
      "id": "stat-4",
      "component": "Stat",
      "label": "Storage",
      "value": "42 GB"
    },
    {
      "id": "section-6",
      "component": "Section",
      "children": [
        "column-5"
      ]
    },
    {
      "id": "column-5",
      "component": "Column",
      "children": [
        "stat-4"
      ]
    },
    {
      "id": "card-4",
      "component": "Card",
      "children": [
        "section-6"
      ]
    },
    {
      "id": "grid",
      "component": "Grid",
      "columns": "1 2@sm",
      "gap": "3",
      "children": [
        "card",
        "card-2",
        "card-3",
        "card-4"
      ]
    },
    {
      "id": "divider-2",
      "component": "Divider"
    },
    {
      "id": "text-6",
      "component": "Text",
      "strong": true,
      "textContent": "Before you delete"
    },
    {
      "id": "button",
      "component": "Button",
      "icon": "download-simple",
      "stretch": true,
      "text": "Export workspace data",
      "variant": "outline"
    },
    {
      "id": "button-2",
      "component": "Button",
      "icon": "user-switch",
      "stretch": true,
      "text": "Transfer ownership",
      "variant": "outline"
    },
    {
      "id": "column-6",
      "component": "Column",
      "gap": "2",
      "children": [
        "text-6",
        "button",
        "button-2"
      ]
    },
    {
      "id": "divider-3",
      "component": "Divider"
    },
    {
      "id": "text-7",
      "component": "Text",
      "strong": true,
      "textContent": "Confirm"
    },
    {
      "id": "input",
      "component": "Input",
      "placeholder": "adia-ui"
    },
    {
      "id": "field",
      "component": "Field",
      "label": "Type the workspace name to confirm",
      "children": [
        "input"
      ]
    },
    {
      "id": "check-box",
      "component": "CheckBox",
      "label": "I understand this deletes all members, data, and integrations"
    },
    {
      "id": "column-7",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-7",
        "field",
        "check-box"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "alert",
        "divider",
        "grid",
        "divider-2",
        "column-6",
        "divider-3",
        "column-7"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button-3",
      "component": "Button",
      "text": "Cancel",
      "variant": "ghost"
    },
    {
      "id": "button-4",
      "component": "Button",
      "color": "danger",
      "icon": "trash",
      "text": "Delete workspace"
    },
    {
      "id": "grid-2",
      "component": "Grid",
      "children": [
        "button-3",
        "button-4"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "slot": "footer",
      "children": [
        "grid-2"
      ]
    },
    {
      "id": "root",
      "component": "Drawer",
      "side": "right",
      "size": "md",
      "children": [
        "header",
        "section",
        "section-2",
        "footer"
      ]
    }
  ]
}
