{
  "element": "nve-dashboard",
  "entrypoint": "@nvidia-elements/core/dashboard/dashboard.examples.json",
  "items": [
    {
      "id": "dashboard",
      "name": "Default",
      "template": "<nve-dashboard\n  id=\"default-dashboard\"\n  rearrangeable\n  style=\"height: 600px; --row-size: 90px\"\n  value='{\"version\":1,\"grid\":{\"flow\":\"vertical\",\"tracks\":6},\"items\":[{\"id\":\"hero-baseline\",\"column\":0,\"row\":0,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"hero-candidate\",\"column\":3,\"row\":0,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"hero-changes\",\"column\":0,\"row\":2,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"hero-evidence\",\"column\":3,\"row\":2,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"hero-notes\",\"column\":0,\"row\":4,\"columnSpan\":6,\"rowSpan\":2}]}'\n>\n  <nve-dashboard-panel id=\"hero-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n    <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"hero-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n    <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"hero-changes\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"hero-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"hero-notes\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>\n      <nve-input>\n        <input aria-label=\"Notes\" value=\"Review findings.\" />\n      </nve-input>\n    </nve-dashboard-panel-content>\n  </nve-dashboard-panel>\n</nve-dashboard>\n",
      "summary": "Arrange panels on a grid while retaining application content.",
      "description": "",
      "composition": false,
      "tags": []
    },
    {
      "id": "dashboard-rearrangeable",
      "name": "Rearrangeable",
      "template": "<div id=\"rearrangeable-dashboard-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:wrap\">\n    <nve-button id=\"reset-rearrangeable-layout\">Reset layout</nve-button>\n    <nve-switch id=\"toggle-rearrangeable\">\n      <label>Rearrangeable</label>\n      <input type=\"checkbox\" checked />\n    </nve-switch>\n  </div>\n  <nve-dashboard id=\"rearrangeable-dashboard\" rearrangeable style=\"height: 600px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"rearrangeable-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rearrangeable-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rearrangeable-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rearrangeable-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rearrangeable-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#rearrangeable-dashboard-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const toggle = example.querySelector(\"#toggle-rearrangeable input\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"rearrangeable-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"rearrangeable-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"rearrangeable-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"rearrangeable-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"rearrangeable-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    toggle.addEventListener(\"change\", () => {\n      dashboard.rearrangeable = toggle.checked;\n    });\n    example.querySelector(\"#reset-rearrangeable-layout\").addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Rearrange and resize panels while retaining application content.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-flow",
      "name": "Flow",
      "template": "<div id=\"flow-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:vertical-center align:wrap\">\n    <nve-button id=\"reset-flow-layout\">Reset layout</nve-button>\n    <nve-select layout=\"horizontal-inline\" fit-content>\n      <label>Flow</label>\n      <select id=\"flow-mode\">\n        <option value=\"vertical\" selected>Vertical</option>\n        <option value=\"horizontal\">Horizontal</option>\n      </select>\n    </nve-select>\n  </div>\n  <nve-dashboard id=\"flow-dashboard\" rearrangeable style=\"height: 600px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"flow-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"flow-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"flow-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"flow-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"flow-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#flow-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const select = example.querySelector(\"#flow-mode\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"flow-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"flow-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"flow-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"flow-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"flow-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    // Transpose the cells, keeping application content in the same panels.\n    function transposeForFlow(layout, flow) {\n      if (layout.grid.flow === flow) return layout;\n      return {\n        ...layout,\n        grid: { ...layout.grid, flow },\n        items: layout.items.map((item) => ({\n          ...item,\n          column: item.row,\n          row: item.column,\n          columnSpan: item.rowSpan,\n          rowSpan: item.columnSpan,\n        })),\n      };\n    }\n    select.addEventListener(\"change\", () => {\n      const layout = dashboard.value;\n      dashboard.animateTo(transposeForFlow(layout, select.value));\n    });\n    example.querySelector(\"#reset-flow-layout\").addEventListener(\"click\", () => {\n      dashboard.animateTo(transposeForFlow(initialValue, select.value));\n    });\n  </script>\n</div>\n",
      "summary": "Grow vertically within bounded columns or horizontally within bounded rows.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-sizing",
      "name": "Sizing",
      "template": "<div id=\"sizing-dashboard-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:vertical-center align:wrap\">\n    <nve-button id=\"reset-sizing-layout\">Reset layout</nve-button>\n    <div nve-layout=\"row gap:md align:vertical-center align:wrap\">\n      <nve-select layout=\"horizontal-inline\" fit-content>\n        <label>Sizing</label>\n        <select id=\"sizing-mode\">\n          <option value=\"fit\" selected>Fit</option>\n          <option value=\"fixed\">Fixed</option>\n        </select>\n      </nve-select>\n      <nve-range layout=\"horizontal-inline\" fit-content style=\"width: auto\">\n        <label>Viewport width: <output for=\"sizing-width\">100</output>%</label>\n        <input id=\"sizing-width\" type=\"range\" min=\"50\" max=\"100\" value=\"100\" />\n      </nve-range>\n    </div>\n  </div>\n  <div id=\"sizing-viewport\" style=\"width: 100%\">\n    <nve-dashboard id=\"sizing-dashboard\" rearrangeable style=\"height: 600px; --row-size: 90px; --column-size: 140px\">\n      <nve-dashboard-panel id=\"sizing-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n        <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n        <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n        <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n      </nve-dashboard-panel>\n      <nve-dashboard-panel id=\"sizing-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n        <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n        <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n        <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n      </nve-dashboard-panel>\n      <nve-dashboard-panel id=\"sizing-changes\" min-column-span=\"2\" min-row-span=\"2\">\n        <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n        <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n      </nve-dashboard-panel>\n      <nve-dashboard-panel id=\"sizing-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n        <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n        <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n      </nve-dashboard-panel>\n      <nve-dashboard-panel id=\"sizing-notes\" min-column-span=\"2\" min-row-span=\"2\">\n        <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n        <nve-dashboard-panel-content>\n          <nve-input>\n            <input aria-label=\"Notes\" value=\"Review findings.\" />\n          </nve-input>\n        </nve-dashboard-panel-content>\n      </nve-dashboard-panel>\n    </nve-dashboard>\n  </div>\n  <script type=\"module\">\n    const example = document.querySelector(\"#sizing-dashboard-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const viewport = example.querySelector(\"#sizing-viewport\");\n    const select = example.querySelector(\"#sizing-mode\");\n    const range = example.querySelector(\"#sizing-width\");\n    const output = example.querySelector(\"output\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"sizing-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"sizing-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"sizing-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"sizing-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"sizing-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    select.addEventListener(\"change\", () => {\n      dashboard.sizing = select.value;\n    });\n    range.addEventListener(\"input\", () => {\n      viewport.style.width = range.value + \"%\";\n      output.value = range.value;\n    });\n    example.querySelector(\"#reset-sizing-layout\").addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Compare tracks fitted to the viewport with fixed CSS cell dimensions.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-guides",
      "name": "Guides",
      "template": "<div id=\"guides-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:vertical-center align:wrap\">\n    <nve-button id=\"reset-guides-layout\">Reset layout</nve-button>\n    <nve-select layout=\"horizontal-inline\" fit-content>\n      <label>Guides</label>\n      <select id=\"guides-mode\">\n        <option value=\"auto\">Auto</option>\n        <option value=\"visible\" selected>Visible</option>\n        <option value=\"hidden\">Hidden</option>\n      </select>\n    </nve-select>\n  </div>\n  <nve-dashboard id=\"guided-dashboard\" guides=\"visible\" rearrangeable style=\"height: 702px; --row-size: 90px; --guide-size: var(--nve-ref-size-200)\">\n    <nve-dashboard-panel id=\"guided-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"guided-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"guided-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"guided-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"guided-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#guides-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const select = example.querySelector(\"#guides-mode\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"guided-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"guided-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"guided-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"guided-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"guided-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    select.addEventListener(\"change\", () => {\n      dashboard.guides = select.value;\n    });\n    example.querySelector(\"#reset-guides-layout\").addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Choose when to show the grid guides.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-auto-settle",
      "name": "AutoSettle",
      "template": "<div id=\"auto-settle-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:vertical-center align:wrap\">\n    <nve-button id=\"reset-settle-layout\">Reset layout</nve-button>\n    <nve-switch id=\"toggle-auto-settle\">\n      <label>Auto Settle</label>\n      <input type=\"checkbox\" />\n    </nve-switch>\n  </div>\n  <nve-dashboard id=\"settle-dashboard\" guides=\"visible\" rearrangeable style=\"height: 702px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"settle-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"settle-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"settle-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"settle-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"settle-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#auto-settle-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const toggle = example.querySelector(\"#toggle-auto-settle input\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"settle-baseline\", column: 0, row: 1, columnSpan: 3, rowSpan: 2 },\n        { id: \"settle-candidate\", column: 3, row: 1, columnSpan: 3, rowSpan: 2 },\n        { id: \"settle-changes\", column: 0, row: 3, columnSpan: 3, rowSpan: 2 },\n        { id: \"settle-evidence\", column: 3, row: 3, columnSpan: 3, rowSpan: 2 },\n        { id: \"settle-notes\", column: 0, row: 5, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    toggle.addEventListener(\"change\", () => {\n      dashboard.autoSettle = toggle.checked;\n    });\n    example.querySelector(\"#reset-settle-layout\").addEventListener(\"click\", () => {\n      dashboard.autoSettle = false;\n      toggle.checked = false;\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Automatically close gaps along the growth axis.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-fullscreenable",
      "name": "Fullscreenable",
      "template": "<div id=\"fullscreen-dashboard-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:wrap\">\n    <nve-button id=\"reset-fullscreen-layout\">Reset layout</nve-button>\n    <nve-switch id=\"toggle-fullscreenable\">\n      <label>Fullscreenable</label>\n      <input type=\"checkbox\" checked />\n    </nve-switch>\n  </div>\n  <nve-dashboard id=\"fullscreen-dashboard\" fullscreenable rearrangeable style=\"height: 600px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"fullscreen-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"fullscreen-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"fullscreen-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"fullscreen-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"fullscreen-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#fullscreen-dashboard-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const toggle = example.querySelector(\"#toggle-fullscreenable input\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"fullscreen-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"fullscreen-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"fullscreen-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"fullscreen-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"fullscreen-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    toggle.addEventListener(\"change\", () => {\n      dashboard.fullscreenable = toggle.checked;\n    });\n    example.querySelector(\"#reset-fullscreen-layout\").addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Present one panel in native fullscreen without changing the saved arrangement.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-custom-panel-actions",
      "name": "CustomPanelActions",
      "template": "<nve-dashboard\n  id=\"actions-dashboard\"\n  rearrangeable\n  style=\"height: 600px; --row-size: 90px\"\n  value='{\"version\":1,\"grid\":{\"flow\":\"vertical\",\"tracks\":6},\"items\":[{\"id\":\"actions-baseline\",\"column\":0,\"row\":0,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"actions-candidate\",\"column\":3,\"row\":0,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"actions-changes\",\"column\":0,\"row\":2,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"actions-evidence\",\"column\":3,\"row\":2,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"actions-notes\",\"column\":0,\"row\":4,\"columnSpan\":6,\"rowSpan\":2}]}'\n>\n  <nve-dashboard-panel id=\"actions-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>\n      Baseline\n      <nve-icon-button slot=\"suffix\" icon-name=\"more-actions\" container=\"flat\" size=\"sm\" aria-label=\"Baseline actions\" value=\"actions-baseline\" popovertarget=\"dashboard-actions-menu\"></nve-icon-button>\n    </nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n    <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"actions-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>\n      Candidate\n      <nve-icon-button slot=\"suffix\" icon-name=\"more-actions\" container=\"flat\" size=\"sm\" aria-label=\"Candidate actions\" value=\"actions-candidate\" popovertarget=\"dashboard-actions-menu\"></nve-icon-button>\n    </nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n    <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"actions-changes\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>\n      Changes\n      <nve-icon-button slot=\"suffix\" icon-name=\"more-actions\" container=\"flat\" size=\"sm\" aria-label=\"Changes actions\" value=\"actions-changes\" popovertarget=\"dashboard-actions-menu\"></nve-icon-button>\n    </nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"actions-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>\n      Evidence\n      <nve-icon-button slot=\"suffix\" icon-name=\"more-actions\" container=\"flat\" size=\"sm\" aria-label=\"Evidence actions\" value=\"actions-evidence\" popovertarget=\"dashboard-actions-menu\"></nve-icon-button>\n    </nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n  </nve-dashboard-panel>\n  <nve-dashboard-panel id=\"actions-notes\" min-column-span=\"2\" min-row-span=\"2\">\n    <nve-dashboard-panel-header>\n      Notes\n      <nve-icon-button slot=\"suffix\" icon-name=\"more-actions\" container=\"flat\" size=\"sm\" aria-label=\"Notes actions\" value=\"actions-notes\" popovertarget=\"dashboard-actions-menu\"></nve-icon-button>\n    </nve-dashboard-panel-header>\n    <nve-dashboard-panel-content>\n      <nve-input>\n        <input aria-label=\"Notes\" value=\"Review findings.\" />\n      </nve-input>\n    </nve-dashboard-panel-content>\n  </nve-dashboard-panel>\n  <nve-dropdown-group>\n    <nve-dropdown id=\"dashboard-actions-menu\">\n      <nve-menu>\n        <nve-menu-item popovertarget=\"dashboard-move-menu\">\n          Move\n          <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon>\n        </nve-menu-item>\n        <nve-menu-item popovertarget=\"dashboard-shrink-menu\">\n          Shrink\n          <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon>\n        </nve-menu-item>\n        <nve-menu-item popovertarget=\"dashboard-grow-menu\">\n          Grow\n          <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon>\n        </nve-menu-item>\n      </nve-menu>\n    </nve-dropdown>\n    <nve-dropdown id=\"dashboard-move-menu\" position=\"right\">\n      <nve-menu>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--move-to-start\">To start</nve-menu-item>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--move-left\">Left</nve-menu-item>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--move-right\">Right</nve-menu-item>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--move-up\">Up</nve-menu-item>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--move-down\">Down</nve-menu-item>\n      </nve-menu>\n    </nve-dropdown>\n    <nve-dropdown id=\"dashboard-shrink-menu\" position=\"right\">\n      <nve-menu>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--decrease-width\">Width</nve-menu-item>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--decrease-height\">Height</nve-menu-item>\n      </nve-menu>\n    </nve-dropdown>\n    <nve-dropdown id=\"dashboard-grow-menu\" position=\"right\">\n      <nve-menu>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--increase-width\">Width</nve-menu-item>\n        <nve-menu-item commandfor=\"actions-dashboard\" command=\"--increase-height\">Height</nve-menu-item>\n      </nve-menu>\n    </nve-dropdown>\n  </nve-dropdown-group>\n  <script type=\"module\">\n    const dashboard = document.querySelector(\"#actions-dashboard\");\n    const dropdownGroup = dashboard.querySelector(\"nve-dropdown-group\");\n    let panelId = \"actions-baseline\";\n    function refresh() {\n      for (const item of dropdownGroup.querySelectorAll(\"[command]\")) {\n        item.value = panelId;\n        item.disabled = !dashboard.isCommandAvailable(item.command, { value: panelId });\n      }\n      for (const trigger of dropdownGroup.querySelectorAll(\"[popovertarget]\")) {\n        const items = trigger.popoverTargetElement.querySelectorAll(\"[command]\");\n        trigger.disabled = [...items].every((item) => item.disabled);\n      }\n    }\n    dropdownGroup.addEventListener(\n      \"beforetoggle\",\n      (event) => {\n        if (event.newState !== \"open\") return;\n        if (event.target.id === \"dashboard-actions-menu\") panelId = event.source?.value ?? panelId;\n        refresh();\n      },\n      true,\n    );\n    dashboard.addEventListener(\"commandavailabilitychange\", refresh);\n    dashboard.addEventListener(\"change\", (event) => {\n      if (event.target === dashboard) dropdownGroup.close();\n    });\n    refresh();\n  </script>\n</nve-dashboard>\n",
      "summary": "Add custom menus that use invoker commands to move and resize panels.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-dynamic-panels",
      "name": "DynamicPanels",
      "template": "<div id=\"dynamic-panels-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:wrap\">\n    <nve-button id=\"reset-dynamic-layout\">Reset layout</nve-button>\n    <div nve-layout=\"row gap:sm\">\n      <nve-button id=\"add-dynamic-notes\">Add Notes</nve-button>\n      <nve-button id=\"remove-dynamic-notes\" disabled>Remove Notes</nve-button>\n    </div>\n  </div>\n  <nve-dashboard id=\"dynamic-dashboard\" rearrangeable style=\"height: 400px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"dynamic-baseline\" min-column-span=\"3\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"dynamic-candidate\" min-column-span=\"3\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <template id=\"dynamic-notes-template\">\n        <nve-dashboard-panel id=\"dynamic-notes\" min-column-span=\"3\" min-row-span=\"2\">\n          <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n          <nve-dashboard-panel-content>\n            <nve-input>\n              <input aria-label=\"Notes\" value=\"Review findings.\" />\n            </nve-input>\n          </nve-dashboard-panel-content>\n        </nve-dashboard-panel>\n      </template>\n  <script type=\"module\">\n    const example = document.querySelector(\"#dynamic-panels-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const add = example.querySelector(\"#add-dynamic-notes\");\n    const remove = example.querySelector(\"#remove-dynamic-notes\");\n    const notes = example.querySelector(\"#dynamic-notes-template\").content.firstElementChild;\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"dynamic-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"dynamic-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n\n    add.addEventListener(\"click\", () => {\n      dashboard.append(notes);\n      add.disabled = true;\n      remove.disabled = false;\n    });\n\n    remove.addEventListener(\"click\", () => {\n      notes.remove();\n      add.disabled = false;\n      remove.disabled = true;\n    });\n\n    example.querySelector(\"#reset-dynamic-layout\").addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Add and remove panels through the DOM while preserving application content.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-save-restore",
      "name": "SaveRestore",
      "template": "<div nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:wrap\">\n    <nve-button id=\"reset-layout\">Reset layout</nve-button>\n    <div nve-layout=\"row gap:sm\">\n      <nve-button id=\"save-layout\">Save layout</nve-button>\n      <nve-button id=\"restore-layout\">Restore layout</nve-button>\n    </div>\n  </div>\n  <nve-dashboard id=\"saved-layout\" rearrangeable style=\"height: 600px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"saved-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"saved-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"saved-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"saved-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"saved-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const dashboard = document.querySelector(\"#saved-layout\");\n    const save = document.querySelector(\"#save-layout\");\n    const restore = document.querySelector(\"#restore-layout\");\n    const reset = document.querySelector(\"#reset-layout\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"saved-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"saved-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"saved-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"saved-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"saved-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    let savedValue = initialValue;\n    save.addEventListener(\"click\", () => {\n      savedValue = dashboard.value;\n    });\n    restore.addEventListener(\"click\", () => {\n      dashboard.animateTo(savedValue);\n    });\n    reset.addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Save and restore panel placement without recreating application content.",
      "description": "",
      "composition": true,
      "tags": []
    },
    {
      "id": "dashboard-container",
      "name": "Container",
      "template": "<div nve-layout=\"column gap:md\">\n  <nve-dashboard\n    container=\"inset\"\n    rearrangeable\n    style=\"height: 260px\"\n    value='{\"version\":1,\"grid\":{\"flow\":\"vertical\",\"tracks\":2},\"items\":[{\"id\":\"inset-baseline\",\"column\":0,\"row\":0,\"columnSpan\":1,\"rowSpan\":2},{\"id\":\"inset-candidate\",\"column\":1,\"row\":0,\"columnSpan\":1,\"rowSpan\":2}]}'\n  >\n    <nve-dashboard-panel id=\"inset-baseline\"\n      ><nve-dashboard-panel-header>Baseline (inset)</nve-dashboard-panel-header><nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content\n      ><nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer></nve-dashboard-panel\n    >\n    <nve-dashboard-panel id=\"inset-candidate\"\n      ><nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header><nve-dashboard-panel-content>Current run</nve-dashboard-panel-content\n      ><nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer></nve-dashboard-panel\n    >\n  </nve-dashboard>\n  <nve-dashboard\n    container=\"flat\"\n    rearrangeable\n    style=\"height: 260px\"\n    value='{\"version\":1,\"grid\":{\"flow\":\"vertical\",\"tracks\":2},\"items\":[{\"id\":\"flat-baseline\",\"column\":0,\"row\":0,\"columnSpan\":1,\"rowSpan\":2},{\"id\":\"flat-candidate\",\"column\":1,\"row\":0,\"columnSpan\":1,\"rowSpan\":2}]}'\n  >\n    <nve-dashboard-panel id=\"flat-baseline\"\n      ><nve-dashboard-panel-header>Baseline (flat)</nve-dashboard-panel-header><nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content\n      ><nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer></nve-dashboard-panel\n    >\n    <nve-dashboard-panel id=\"flat-candidate\"\n      ><nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header><nve-dashboard-panel-content>Current run</nve-dashboard-panel-content\n      ><nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer></nve-dashboard-panel\n    >\n  </nve-dashboard>\n  <nve-dashboard\n    container=\"full\"\n    rearrangeable\n    style=\"height: 260px\"\n    value='{\"version\":1,\"grid\":{\"flow\":\"vertical\",\"tracks\":2},\"items\":[{\"id\":\"full-baseline\",\"column\":0,\"row\":0,\"columnSpan\":1,\"rowSpan\":2},{\"id\":\"full-candidate\",\"column\":1,\"row\":0,\"columnSpan\":1,\"rowSpan\":2}]}'\n  >\n    <nve-dashboard-panel id=\"full-baseline\"\n      ><nve-dashboard-panel-header>Baseline (full)</nve-dashboard-panel-header><nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content\n      ><nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer></nve-dashboard-panel\n    >\n    <nve-dashboard-panel id=\"full-candidate\"\n      ><nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header><nve-dashboard-panel-content>Current run</nve-dashboard-panel-content\n      ><nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer></nve-dashboard-panel\n    >\n  </nve-dashboard>\n</div>\n",
      "summary": "Match the surrounding layout with inset, flat, or full container framing.",
      "description": "",
      "composition": false,
      "tags": [
        "test-case"
      ]
    },
    {
      "id": "dashboard-compact-styling",
      "name": "CompactStyling",
      "template": "<div id=\"compact-dashboard-example\" nve-layout=\"column gap:md\">\n  <nve-button>Reset layout</nve-button>\n  <style>\n    #condensed-dashboard > nve-dashboard-panel {\n      --box-shadow: none;\n      --border-radius: 0;\n      --control-width: var(--nve-ref-size-600);\n      --control-height: var(--nve-ref-size-800);\n    }\n    #condensed-dashboard nve-dashboard-panel-header {\n      --min-height: var(--nve-ref-size-800);\n      --suffix-padding: var(--nve-ref-size-50);\n      --padding: var(--nve-ref-size-100) var(--nve-ref-size-100) var(--nve-ref-size-100) var(--nve-ref-size-250);\n    }\n    #condensed-dashboard nve-dashboard-panel-footer {\n      --suffix-padding: var(--nve-ref-size-50);\n      --padding: var(--nve-ref-size-100) var(--nve-ref-size-250);\n    }\n  </style>\n  <nve-dashboard id=\"condensed-dashboard\" rearrangeable style=\"height: 480px; --gap: 0px; --row-size: 80px\">\n    <nve-dashboard-panel id=\"condensed-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header><span nve-text=\"label sm semibold\">Baseline</span></nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer><span nve-text=\"body sm\">Complete</span></nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"condensed-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header><span nve-text=\"label sm semibold\">Candidate</span></nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer><span nve-text=\"body sm\">Complete</span></nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"condensed-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header><span nve-text=\"label sm semibold\">Changes</span></nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"condensed-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header><span nve-text=\"label sm semibold\">Evidence</span></nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"condensed-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header><span nve-text=\"label sm semibold\">Notes</span></nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#compact-dashboard-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"condensed-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"condensed-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"condensed-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"condensed-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"condensed-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    example.querySelector(\"nve-button\").addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Customize header and footer spacing, control sizes, and panel corners for a compact dashboard.",
      "description": "",
      "composition": true,
      "tags": [
        "theme"
      ]
    },
    {
      "id": "dashboard-gap",
      "name": "Gap",
      "template": "<div id=\"dashboard-gap-example\" nve-layout=\"column gap:md\">\n  <nve-range>\n    <label>\n      Gap:\n      <output for=\"dashboard-gap-range\">0</output>\n      px\n    </label>\n    <input id=\"dashboard-gap-range\" type=\"range\" min=\"0\" max=\"24\" value=\"0\" />\n  </nve-range>\n  <nve-dashboard\n    id=\"gap-dashboard\"\n    container=\"full\"\n    rearrangeable\n    style=\"height: 600px; --row-size: 90px; --gap: 0px\"\n    value='{\"version\":1,\"grid\":{\"flow\":\"vertical\",\"tracks\":6},\"items\":[{\"id\":\"gap-baseline\",\"column\":0,\"row\":0,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"gap-candidate\",\"column\":3,\"row\":0,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"gap-changes\",\"column\":0,\"row\":2,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"gap-evidence\",\"column\":3,\"row\":2,\"columnSpan\":3,\"rowSpan\":2},{\"id\":\"gap-notes\",\"column\":0,\"row\":4,\"columnSpan\":6,\"rowSpan\":2}]}'\n  >\n    <nve-dashboard-panel id=\"gap-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"gap-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"gap-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"gap-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"gap-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#dashboard-gap-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const range = example.querySelector('input[type=\"range\"]');\n    const output = example.querySelector(\"output\");\n    range.addEventListener(\"input\", () => {\n      dashboard.style.setProperty(\"--gap\", range.value + \"px\");\n      output.value = range.value;\n    });\n  </script>\n</div>\n",
      "summary": "Adjust spacing between panels with --gap. Zero joins borders with matching widths.",
      "description": "",
      "composition": true,
      "tags": [
        "test-case"
      ]
    },
    {
      "id": "dashboard-right-to-left",
      "name": "RightToLeft",
      "template": "<div id=\"rtl-dashboard-example\" nve-layout=\"column gap:md\">\n  <div nve-layout=\"row gap:md align:space-between align:wrap\">\n    <nve-button id=\"reset-rtl-layout\">Reset layout</nve-button>\n  </div>\n  <nve-dashboard id=\"rtl-dashboard\" dir=\"rtl\" rearrangeable guides=\"visible\" style=\"height: 600px; --row-size: 90px\">\n    <nve-dashboard-panel id=\"rtl-baseline\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Baseline</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Reference run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rtl-candidate\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Candidate</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Current run</nve-dashboard-panel-content>\n      <nve-dashboard-panel-footer>Complete</nve-dashboard-panel-footer>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rtl-changes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Changes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Comparison</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rtl-evidence\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Evidence</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>Test cases</nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n    <nve-dashboard-panel id=\"rtl-notes\" min-column-span=\"2\" min-row-span=\"2\">\n      <nve-dashboard-panel-header>Notes</nve-dashboard-panel-header>\n      <nve-dashboard-panel-content>\n        <nve-input>\n          <input aria-label=\"Notes\" value=\"Review findings.\" />\n        </nve-input>\n      </nve-dashboard-panel-content>\n    </nve-dashboard-panel>\n  </nve-dashboard>\n  <script type=\"module\">\n    const example = document.querySelector(\"#rtl-dashboard-example\");\n    const dashboard = example.querySelector(\"nve-dashboard\");\n    const reset = example.querySelector(\"#reset-rtl-layout\");\n    const initialValue = {\n      version: 1,\n      grid: { flow: \"vertical\", tracks: 6 },\n      items: [\n        { id: \"rtl-baseline\", column: 0, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"rtl-candidate\", column: 3, row: 0, columnSpan: 3, rowSpan: 2 },\n        { id: \"rtl-changes\", column: 0, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"rtl-evidence\", column: 3, row: 2, columnSpan: 3, rowSpan: 2 },\n        { id: \"rtl-notes\", column: 0, row: 4, columnSpan: 6, rowSpan: 2 },\n      ],\n    };\n    dashboard.value = initialValue;\n    reset.addEventListener(\"click\", () => {\n      dashboard.animateTo(initialValue);\n    });\n  </script>\n</div>\n",
      "summary": "Mirror panel placement and controls with the reading direction.",
      "description": "",
      "composition": true,
      "tags": [
        "test-case"
      ]
    }
  ]
}