{
  "name": "drawer-source",
  "kind": "block",
  "primary": "drawer-ui",
  "page": "/apps/user-flow/app/onboarding/review/review.contents.html",
  "slots": [],
  "nested": [],
  "attrs": {
    "side": "right",
    "size": "md"
  },
  "html": "<drawer-ui id=\"drawer-source\" side=\"right\" size=\"md\">\n      <header>\n        <span slot=\"icon\">\n          <avatar-ui icon=\"github-logo\"></avatar-ui>\n        </span>\n        <span slot=\"heading\">\n          <text-ui strong>Source</text-ui>\n          <badge-ui text=\"Connected\" variant=\"success\"></badge-ui>\n        </span>\n        <span slot=\"action\"></span>\n      </header>\n      <section>\n        <text-ui color=\"subtle\" size=\"sm\">Authorized as kim@acme.com · 23 repos visible</text-ui>\n      </section>\n      <section>\n        <col-ui gap=\"4\">\n          <field-ui label=\"Provider\">\n            <select-ui value=\"github\">\n              <option value=\"github\">GitHub</option>\n              <option value=\"gitlab\">GitLab</option>\n              <option value=\"bitbucket\">Bitbucket</option>\n            </select-ui>\n          </field-ui>\n          <field-ui label=\"Authorized account\">\n            <input-ui value=\"kim@acme.com\" readonly></input-ui>\n          </field-ui>\n          <field-ui label=\"Repository scope\" hint=\"Limit which repos AdiaUI can read.\">\n            <select-ui value=\"selected\">\n              <option value=\"all\">All repositories (23)</option>\n              <option value=\"selected\">Selected repositories (23 of 23)</option>\n              <option value=\"public\">Public only</option>\n            </select-ui>\n          </field-ui>\n          <divider-ui></divider-ui>\n          <col-ui gap=\"3\">\n            <text-ui strong>Sync settings</text-ui>\n            <field-ui label=\"Pull request events\" inline>\n              <switch-ui checked></switch-ui>\n            </field-ui>\n            <field-ui label=\"Deployment events\" inline>\n              <switch-ui checked></switch-ui>\n            </field-ui>\n            <field-ui label=\"Issue events\" inline>\n              <switch-ui></switch-ui>\n            </field-ui>\n          </col-ui>\n        </col-ui>\n      </section>\n      <footer slot=\"footer\">\n        <grid-ui>\n          <button-ui text=\"Reauthorize\" icon=\"arrow-clockwise\" variant=\"ghost\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n          <button-ui text=\"Disconnect\" icon=\"plug\" color=\"danger\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n          <button-ui text=\"Save changes\" variant=\"primary\" onclick=\"this.closest('drawer-ui').open = false\"></button-ui>\n        </grid-ui>\n      </footer>\n    </drawer-ui>",
  "source": "apps/user-flow/app/onboarding/review/review.contents.html",
  "metadata": {
    "domain": "onboarding",
    "description": "Data source connection drawer — configure and authenticate a data source.",
    "keywords": [
      "drawer",
      "data",
      "source",
      "connect",
      "configure",
      "authenticate",
      "onboarding"
    ]
  },
  "captured_at": "2026-06-07T19:28:13.657Z",
  "template": [
    {
      "id": "avatar",
      "component": "Avatar",
      "icon": "github-logo"
    },
    {
      "id": "text",
      "component": "Text",
      "variant": "body",
      "slot": "icon",
      "children": [
        "avatar"
      ]
    },
    {
      "id": "text-3",
      "component": "Text",
      "strong": true,
      "textContent": "Source"
    },
    {
      "id": "badge",
      "component": "Badge",
      "text": "Connected",
      "variant": "success"
    },
    {
      "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": "Authorized as kim@acme.com · 23 repos visible"
    },
    {
      "id": "section",
      "component": "Section",
      "children": [
        "text-5"
      ]
    },
    {
      "id": "choice-picker",
      "component": "ChoicePicker",
      "value": "github",
      "options": [
        {
          "value": "github",
          "label": "GitHub"
        },
        {
          "value": "gitlab",
          "label": "GitLab"
        },
        {
          "value": "bitbucket",
          "label": "Bitbucket"
        }
      ]
    },
    {
      "id": "field",
      "component": "Field",
      "label": "Provider",
      "children": [
        "choice-picker"
      ]
    },
    {
      "id": "input",
      "component": "Input",
      "readonly": true,
      "value": "kim@acme.com"
    },
    {
      "id": "field-2",
      "component": "Field",
      "label": "Authorized account",
      "children": [
        "input"
      ]
    },
    {
      "id": "choice-picker-2",
      "component": "ChoicePicker",
      "value": "selected",
      "options": [
        {
          "value": "all",
          "label": "All repositories (23)"
        },
        {
          "value": "selected",
          "label": "Selected repositories (23 of 23)"
        },
        {
          "value": "public",
          "label": "Public only"
        }
      ]
    },
    {
      "id": "field-3",
      "component": "Field",
      "hint": "Limit which repos AdiaUI can read.",
      "label": "Repository scope",
      "children": [
        "choice-picker-2"
      ]
    },
    {
      "id": "divider",
      "component": "Divider"
    },
    {
      "id": "text-6",
      "component": "Text",
      "strong": true,
      "textContent": "Sync settings"
    },
    {
      "id": "toggle",
      "component": "Toggle",
      "checked": true
    },
    {
      "id": "field-4",
      "component": "Field",
      "inline": true,
      "label": "Pull request events",
      "children": [
        "toggle"
      ]
    },
    {
      "id": "toggle-2",
      "component": "Toggle",
      "checked": true
    },
    {
      "id": "field-5",
      "component": "Field",
      "inline": true,
      "label": "Deployment events",
      "children": [
        "toggle-2"
      ]
    },
    {
      "id": "toggle-3",
      "component": "Toggle"
    },
    {
      "id": "field-6",
      "component": "Field",
      "inline": true,
      "label": "Issue events",
      "children": [
        "toggle-3"
      ]
    },
    {
      "id": "column-2",
      "component": "Column",
      "gap": "3",
      "children": [
        "text-6",
        "field-4",
        "field-5",
        "field-6"
      ]
    },
    {
      "id": "column",
      "component": "Column",
      "gap": "4",
      "children": [
        "field",
        "field-2",
        "field-3",
        "divider",
        "column-2"
      ]
    },
    {
      "id": "section-2",
      "component": "Section",
      "children": [
        "column"
      ]
    },
    {
      "id": "button",
      "component": "Button",
      "icon": "arrow-clockwise",
      "text": "Reauthorize",
      "variant": "ghost"
    },
    {
      "id": "button-2",
      "component": "Button",
      "color": "danger",
      "icon": "plug",
      "text": "Disconnect"
    },
    {
      "id": "button-3",
      "component": "Button",
      "text": "Save changes",
      "variant": "primary"
    },
    {
      "id": "grid",
      "component": "Grid",
      "children": [
        "button",
        "button-2",
        "button-3"
      ]
    },
    {
      "id": "footer",
      "component": "Footer",
      "slot": "footer",
      "children": [
        "grid"
      ]
    },
    {
      "id": "root",
      "component": "Drawer",
      "side": "right",
      "size": "md",
      "children": [
        "header",
        "section",
        "section-2",
        "footer"
      ]
    }
  ]
}
