From 9216d187f9b1d871ccea1edbda5bc7ed6634000c Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 11 May 2026 09:27:11 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20add=20embed.html=20=E2=80=94=20single-f?= =?UTF-8?q?ile=20srcdoc=20demo=20with=20Vega-Lite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Standalone demo with no separate child file. Child iframe HTML is injected inline via srcdoc. Both parent and child import iframe-flight from the GitHub Pages CDN — zero install, copy-paste ready. https://claude.ai/code/session_014XkyCi4sXUHdDjMstV2Pbt --- .github/workflows/build.yml | 1 + docs/embed.html | 136 ++++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 docs/embed.html diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7f70df..7e5710d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,7 @@ jobs: cp docs/child.html _site/child.html cp docs/child-simple.html _site/child-simple.html cp docs/child-chart.html _site/child-chart.html + cp docs/embed.html _site/embed.html cp dist/index.iife.js _site/iframe-flight.iife.js cp dist/index.js _site/iframe-flight.esm.js diff --git a/docs/embed.html b/docs/embed.html new file mode 100644 index 0000000..033b303 --- /dev/null +++ b/docs/embed.html @@ -0,0 +1,136 @@ + + + + + + iframe-flight × Vega-Lite + + + + + +

iframe-flight × Vega-Lite — single file, no install

+ +
+ + Connecting… +
+ + + + + + +