Skip to content

Write HTML. Render video. Built for agents.

fix(catalog): render the Matrix Decode docs preview; remove Checkout Flow (#3396)

Miguel Ángeld4765512df8b
diff --git a/docs/catalog/components/caption-matrix-decode.mdx b/docs/catalog/components/caption-matrix-decode.mdx
index 7bb1aaa649..e3d24e9f7d 100644
--- a/docs/catalog/components/caption-matrix-decode.mdx
+++ b/docs/catalog/components/caption-matrix-decode.mdx
@@ -96,13 +96,17 @@ That writes one file: `compositions/components/caption-matrix-decode.html`.
position: relative;
}
.sc-real {
- display: none;
- }
- .sc-scr0 {
- display: none;
+ opacity: 0;
+ visibility: hidden;
}
+ .sc-scr0,
.sc-scr1 {
- display: none;
+ position: absolute;
+ left: 0;
+ top: 0;
+ white-space: nowrap;
+ opacity: 0;
+ visibility: hidden;
}
</style>
</head>
@@ -150,10 +154,10 @@ That writes one file: `compositions/components/caption-matrix-decode.html`.
var ALPHANUM = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
- function scrambleChars(seed) {
+ function scrambleChars(seed, length) {
var rng = mulberry32(seed);
var result = "";
- for (var i = 0; i < 4; i++) {
+ for (var i = 0; i < length; i++) {
result += ALPHANUM[Math.floor(rng() * ALPHANUM.length)];
}
return result;
@@ -234,13 +238,13 @@ That writes one file: `compositions/components/caption-matrix-decode.html`.
var scr0 = document.createElement("span");
scr0.className = "sc-scr0";
scr0.id = "sc-scr0-" + wi;
- scr0.textContent = scrambleChars(wi * 1000 + 0);
+ scr0.textContent = scrambleChars(wi * 1000 + 0, w.text.length);
wordWrap.appendChild(scr0);
var scr1 = document.createElement("span");
scr1.className = "sc-scr1";
scr1.id = "sc-scr1-" + wi;
- scr1.textContent = scrambleChars(wi * 1000 + 1);
+ scr1.textContent = scrambleChars(wi * 1000 + 1, w.text.length);
wordWrap.appendChild(scr1);
grp.appendChild(wordWrap);
@@ -257,11 +261,11 @@ That writes one file: `compositions/components/caption-matrix-decode.html`.
var scr0El = document.getElementById("sc-scr0-" + wi);
var scr1El = document.getElementById("sc-scr1-" + wi);
- tl.set(scr0El, { display: "inline" }, w.start);
- tl.set(scr1El, { display: "inline" }, w.start + 0.1);
- tl.set(scr0El, { display: "none" }, w.start + 0.1);
- tl.set(realEl, { display: "inline" }, w.start + 0.2);
- tl.set(scr1El, { display: "none" }, w.start + 0.2);
+ tl.set(scr0El, { autoAlpha: 1 }, w.start);
+ tl.set(scr1El, { autoAlpha: 1 }, w.start + 0.1);
+ tl.set(scr0El, { autoAlpha: 0 }, w.start + 0.1);
+ tl.set(realEl, { autoAlpha: 1 }, w.start + 0.2);
+ tl.set(scr1El, { autoAlpha: 0 }, w.start + 0.2);
});
tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);
diff --git a/docs/catalog/components/checkout-flow.mdx b/docs/catalog/components/checkout-flow.mdx
deleted file mode 100644
index f60457a879..0000000000
--- a/docs/catalog/components/checkout-flow.mdx
+++ /dev/null
@@ -1,131 +0,0 @@
----
-title: "Checkout Flow"
-description: "A composed checkout flow with plan summary, payment field rows, total, and purchase action"
----
-
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<iframe
- className="w-full aspect-video rounded-xl border-0 bg-zinc-100 dark:bg-zinc-800"
- title="checkout-flow preview"
- loading="lazy"
- srcDoc={`<!doctype html><html><head><meta charset="utf-8"><style>html,body{margin:0;height:100%;overflow:hidden;background:transparent}hyperframes-player{display:block;width:100%;height:100%}</style><script src="https://cdn.jsdelivr.net/npm/@hyperframes/player@latest/dist/hyperframes-player.global.js"><\/script></head><body><script>fetch("/public/catalog/components/checkout-flow.json").then(function(r){return r.json()}).then(function(d){var p=document.createElement("hyperframes-player");p.setAttribute("srcdoc",d.html);p.setAttribute("controls","");p.setAttribute("autoplay","");p.setAttribute("loop","");p.setAttribute("muted","");p.setAttribute("poster","https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/checkout-flow.png");document.body.appendChild(p)});<\/script></body></html>`}
-/>
-
-## Install
-
-<InstallCommand command="npx hyperframes add checkout-flow" item="checkout-flow" />
-
-That writes one file: `compositions/components/checkout-flow.html`.
-
-## Source
-
-<Accordion title={`checkout-flow.html`}>
-
-```html
-<!--
- Checkout Flow - Composed UI flow for HyperFrames.
-
- Paste the markup and CSS into a composition. Use the timeline integration
- note at the bottom as the starting point for deterministic GSAP animation.
--->
-
-<div class="hf-ui-checkout-flow">
- <div class="hf-ui-checkout-plan"><span>Pro plan</span><strong>$29/mo</strong></div>
- <div class="hf-ui-checkout-fields">
- <div>Card number <strong>4242 4242 4242 4242</strong></div>
- <div>Expiry <strong>12/30</strong></div>
- </div>
- <div class="hf-ui-checkout-total"><span>Total today</span><strong>$29.00</strong></div>
- <button type="button">Complete purchase</button>
-</div>
-
-<style>
- .hf-ui-checkout-flow {
- display: grid;
- gap: 16px;
- width: 440px;
- padding: 26px;
- border: 1px solid #e4e4e7;
- border-radius: 28px;
- background: #ffffff;
- color: #18181b;
- font-family: Inter, system-ui, sans-serif;
- box-shadow: 0 28px 84px rgba(0, 0, 0, 0.12);
- }
- .hf-ui-checkout-plan,
- .hf-ui-checkout-total {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .hf-ui-checkout-plan {
- padding: 18px;
- border-radius: 18px;
- background: #18181b;
- color: #ffffff;
- }
- .hf-ui-checkout-plan span,
- .hf-ui-checkout-total span {
- color: inherit;
- opacity: 0.72;
- font-size: 14px;
- font-weight: 850;
- }
- .hf-ui-checkout-plan strong,
- .hf-ui-checkout-total strong {
- font-size: 22px;
- }
- .hf-ui-checkout-fields {
- display: grid;
- gap: 10px;
- }
- .hf-ui-checkout-fields div {
- display: grid;
- gap: 5px;
- padding: 14px 16px;
- border: 1px solid #e4e4e7;
- border-radius: 15px;
- color: #71717a;
- font-size: 13px;
- font-weight: 800;
- }
- .hf-ui-checkout-fields strong {
- color: #18181b;
- font-size: 16px;
- }
- .hf-ui-checkout-flow button {
- height: 50px;
- border: 0;
- border-radius: 15px;
- /* The primary action is the one accent-carrying element here. */
- background: var(--accent, #18181b);
- color: #ffffff;
- font-weight: 900;
- }
-</style>
-
-<!--
- Timeline integration:
- tl.fromTo('.hf-ui-checkout-flow', { opacity: 0, y: 28 }, { opacity: 1, y: 0, duration: 0.36, ease: 'power2.out' }, 0.25);
- tl.fromTo('.hf-ui-checkout-fields div', { x: -16, opacity: 0 }, { x: 0, opacity: 1, duration: 0.26, stagger: 0.08, ease: 'power2.out' }, 0.62);
- tl.fromTo('.hf-ui-checkout-total', { opacity: 0 }, { opacity: 1, duration: 0.24, ease: 'power2.out' }, 0.92);
- tl.to('.hf-ui-checkout-flow button', { scale: 0.96, duration: 0.12, yoyo: true, repeat: 1, ease: 'power1.inOut' }, 1.18);
--->
-```
-
-</Accordion>
-
-## Usage
-
-Open `compositions/components/checkout-flow.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
-
-{/* hf:generated-footer */}
-
-Tagged `ui-flow` `checkout` `commerce`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
diff --git a/docs/docs.json b/docs/docs.json
index 724d375c87..9d6e64aee3 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -625,7 +625,6 @@
"catalog/components/beat-timeline",
"catalog/components/before-after-wipe",
"catalog/components/camera-rig-depth-stack",
- "catalog/components/checkout-flow",
"catalog/components/comparison-split",
"catalog/components/confetti",
"catalog/components/cut-the-curve",
diff --git a/docs/public/catalog-index.json b/docs/public/catalog-index.json
index a0ee02fc63..ee61e68d39 100644
--- a/docs/public/catalog-index.json
+++ b/docs/public/catalog-index.json
@@ -746,19 +746,6 @@
"href": "/catalog/blocks/chatgpt-exchange",
"preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/chatgpt-exchange.png"
},
- {
- "name": "checkout-flow",
- "type": "component",
- "title": "Checkout Flow",
- "description": "A composed checkout flow with plan summary, payment field rows, total, and purchase action",
- "tags": [
- "ui-flow",
- "checkout",
- "commerce"
- ],
- "href": "/catalog/components/checkout-flow",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/checkout-flow.png"
- },
{
"name": "chromatic-aberration-wipe",
"type": "component",
diff --git a/docs/public/catalog/components/caption-matrix-decode.json b/docs/public/catalog/components/caption-matrix-decode.json
index cb3c300e96..e87bd1c767 100644
--- a/docs/public/catalog/components/caption-matrix-decode.json
+++ b/docs/public/catalog/components/caption-matrix-decode.json
@@ -1 +1 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Matrix Decode</title>\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\" />\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin />\n <link\n href=\"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap\"\n rel=\"stylesheet\"\n />\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <style>\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n html,\n body {\n width: 1920px;\n height: 1080px;\n margin: 0;\n overflow: hidden;\n background: #000;\n }\n #matrix-decode {\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000;\n }\n .sc-overlay {\n position: absolute;\n inset: 0;\n background: rgba(0, 0, 0, 0.85);\n z-index: 1;\n pointer-events: none;\n }\n #sc-container {\n position: absolute;\n inset: 0;\n z-index: 10;\n pointer-events: none;\n }\n .sc-group {\n position: absolute;\n bottom: 120px;\n left: 0;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n gap: 24px;\n padding: 0 80px;\n opacity: 0;\n visibility: hidden;\n }\n .sc-word-wrap {\n font-family: \"Space Grotesk\", sans-serif;\n font-weight: 700;\n font-size: 96px;\n color: #00ff41;\n display: inline-block;\n letter-spacing: 0.04em;\n line-height: 1;\n position: relative;\n }\n .sc-real {\n display: none;\n }\n .sc-scr0 {\n display: none;\n }\n .sc-scr1 {\n display: none;\n }\n </style>\n </head>\n <body>\n <div\n id=\"matrix-decode\"\n data-composition-id=\"caption-matrix-decode\"\n data-start=\"0\"\n data-duration=\"8\"\n data-fps=\"30\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"sc-overlay\"></div>\n <div id=\"sc-container\"></div>\n </div>\n\n <script>\n (function () {\n window.__timelines = window.__timelines || {};\n\n var _fitCanvas = document.createElement(\"canvas\");\n var _fitCtx = _fitCanvas.getContext(\"2d\");\n function fitFontSize(text, baseFontSize, fontWeight, fontFamily, maxWidth) {\n var size = baseFontSize;\n var minSize = Math.floor(baseFontSize * 0.45);\n while (size > minSize) {\n _fitCtx.font = fontWeight + \" \" + size + \"px \" + fontFamily;\n if (_fitCtx.measureText(text).width <= maxWidth) return size;\n size -= 2;\n }\n return minSize;\n }\n\n function mulberry32(seed) {\n return function () {\n seed |= 0;\n seed = (seed + 0x6d2b79f5) | 0;\n var t = Math.imul(seed ^ (seed >>> 15), 1 | seed);\n t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;\n return ((t ^ (t >>> 14)) >>> 0) / 4294967296;\n };\n }\n\n var ALPHANUM = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n\n function scrambleChars(seed) {\n var rng = mulberry32(seed);\n var result = \"\";\n for (var i = 0; i < 4; i++) {\n result += ALPHANUM[Math.floor(rng() * ALPHANUM.length)];\n }\n return result;\n }\n\n var WORDS = [\n { text: \"Every\", start: 0.0, end: 0.3 },\n { text: \"great\", start: 0.3, end: 0.55 },\n { text: \"video\", start: 0.55, end: 0.85 },\n { text: \"starts\", start: 0.85, end: 1.1 },\n { text: \"with\", start: 1.1, end: 1.25 },\n { text: \"a\", start: 1.25, end: 1.35 },\n { text: \"single\", start: 1.35, end: 1.65 },\n { text: \"frame.\", start: 1.65, end: 2.0 },\n { text: \"HyperFrames\", start: 2.1, end: 2.65 },\n { text: \"lets\", start: 2.65, end: 2.85 },\n { text: \"you\", start: 2.85, end: 2.95 },\n { text: \"write\", start: 2.95, end: 3.15 },\n { text: \"HTML\", start: 3.15, end: 3.55 },\n { text: \"and\", start: 3.55, end: 3.65 },\n { text: \"render\", start: 3.65, end: 3.95 },\n { text: \"professional\", start: 3.95, end: 4.45 },\n { text: \"video.\", start: 4.45, end: 4.8 },\n { text: \"No\", start: 4.9, end: 5.05 },\n { text: \"timeline.\", start: 5.05, end: 5.45 },\n { text: \"No\", start: 5.5, end: 5.65 },\n { text: \"drag\", start: 5.65, end: 5.85 },\n { text: \"and\", start: 5.85, end: 5.95 },\n { text: \"drop.\", start: 5.95, end: 6.25 },\n { text: \"Just\", start: 6.35, end: 6.55 },\n { text: \"code\", start: 6.55, end: 6.8 },\n { text: \"that\", start: 6.8, end: 6.95 },\n { text: \"becomes\", start: 6.95, end: 7.3 },\n { text: \"cinema.\", start: 7.3, end: 7.7 },\n ];\n\n var GROUPS = [\n { wordStart: 0, wordEnd: 3, start: 0.0, end: 1.35 },\n { wordStart: 4, wordEnd: 7, start: 1.1, end: 2.35 },\n { wordStart: 8, wordEnd: 8, start: 2.1, end: 2.9 },\n { wordStart: 9, wordEnd: 12, start: 2.65, end: 3.8 },\n { wordStart: 13, wordEnd: 15, start: 3.55, end: 4.7 },\n { wordStart: 16, wordEnd: 16, start: 3.95, end: 5.0 },\n { wordStart: 17, wordEnd: 19, start: 4.9, end: 5.7 },\n { wordStart: 20, wordEnd: 22, start: 5.65, end: 6.5 },\n { wordStart: 23, wordEnd: 24, start: 6.35, end: 7.05 },\n { wordStart: 25, wordEnd: 27, start: 6.8, end: 7.9 },\n ];\n\n var container = document.getElementById(\"sc-container\");\n var tl = gsap.timeline({ paused: true });\n\n GROUPS.forEach(function (g, gi) {\n var groupWords = WORDS.slice(g.wordStart, g.wordEnd + 1);\n var groupText = groupWords\n .map(function (w) {\n return w.text;\n })\n .join(\" \");\n var fontSize = fitFontSize(groupText, 96, \"700\", \"'Space Grotesk', sans-serif\", 1760);\n var grp = document.createElement(\"div\");\n grp.className = \"sc-group\";\n grp.id = \"sc-grp-\" + gi;\n\n groupWords.forEach(function (w, i) {\n var wi = g.wordStart + i;\n var wordWrap = document.createElement(\"span\");\n wordWrap.className = \"sc-word-wrap\";\n wordWrap.id = \"sc-ww-\" + wi;\n wordWrap.style.fontSize = fontSize + \"px\";\n\n var real = document.createElement(\"span\");\n real.className = \"sc-real\";\n real.id = \"sc-real-\" + wi;\n real.textContent = w.text;\n wordWrap.appendChild(real);\n\n var scr0 = document.createElement(\"span\");\n scr0.className = \"sc-scr0\";\n scr0.id = \"sc-scr0-\" + wi;\n scr0.textContent = scrambleChars(wi * 1000 + 0);\n wordWrap.appendChild(scr0);\n\n var scr1 = document.createElement(\"span\");\n scr1.className = \"sc-scr1\";\n scr1.id = \"sc-scr1-\" + wi;\n scr1.textContent = scrambleChars(wi * 1000 + 1);\n wordWrap.appendChild(scr1);\n\n grp.appendChild(wordWrap);\n });\n\n container.appendChild(grp);\n\n tl.set(grp, { visibility: \"visible\", opacity: 0 }, g.start);\n tl.fromTo(grp, { opacity: 0 }, { opacity: 1, duration: 0.1 }, g.start);\n\n groupWords.forEach(function (w, i) {\n var wi = g.wordStart + i;\n var realEl = document.getElementById(\"sc-real-\" + wi);\n var scr0El = document.getElementById(\"sc-scr0-\" + wi);\n var scr1El = document.getElementById(\"sc-scr1-\" + wi);\n\n tl.set(scr0El, { display: \"inline\" }, w.start);\n tl.set(scr1El, { display: \"inline\" }, w.start + 0.1);\n tl.set(scr0El, { display: \"none\" }, w.start + 0.1);\n tl.set(realEl, { display: \"inline\" }, w.start + 0.2);\n tl.set(scr1El, { display: \"none\" }, w.start + 0.2);\n });\n\n tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);\n tl.set(grp, { opacity: 0, visibility: \"hidden\" }, g.end);\n });\n\n window.__timelines[\"caption-matrix-decode\"] = tl;\n })();\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
+{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Matrix Decode</title>\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\" />\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin />\n <link\n href=\"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap\"\n rel=\"stylesheet\"\n />\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <style>\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n html,\n body {\n width: 1920px;\n height: 1080px;\n margin: 0;\n overflow: hidden;\n background: #000;\n }\n #matrix-decode {\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000;\n }\n .sc-overlay {\n position: absolute;\n inset: 0;\n background: rgba(0, 0, 0, 0.85);\n z-index: 1;\n pointer-events: none;\n }\n #sc-container {\n position: absolute;\n inset: 0;\n z-index: 10;\n pointer-events: none;\n }\n .sc-group {\n position: absolute;\n bottom: 120px;\n left: 0;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n gap: 24px;\n padding: 0 80px;\n opacity: 0;\n visibility: hidden;\n }\n .sc-word-wrap {\n font-family: \"Space Grotesk\", sans-serif;\n font-weight: 700;\n font-size: 96px;\n color: #00ff41;\n display: inline-block;\n letter-spacing: 0.04em;\n line-height: 1;\n position: relative;\n }\n .sc-real {\n opacity: 0;\n visibility: hidden;\n }\n .sc-scr0,\n .sc-scr1 {\n position: absolute;\n left: 0;\n top: 0;\n white-space: nowrap;\n opacity: 0;\n visibility: hidden;\n }\n </style>\n </head>\n <body>\n <div\n id=\"matrix-decode\"\n data-composition-id=\"caption-matrix-decode\"\n data-start=\"0\"\n data-duration=\"8\"\n data-fps=\"30\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"sc-overlay\"></div>\n <div id=\"sc-container\"></div>\n </div>\n\n <script>\n (function () {\n window.__timelines = window.__timelines || {};\n\n var _fitCanvas = document.createElement(\"canvas\");\n var _fitCtx = _fitCanvas.getContext(\"2d\");\n function fitFontSize(text, baseFontSize, fontWeight, fontFamily, maxWidth) {\n var size = baseFontSize;\n var minSize = Math.floor(baseFontSize * 0.45);\n while (size > minSize) {\n _fitCtx.font = fontWeight + \" \" + size + \"px \" + fontFamily;\n if (_fitCtx.measureText(text).width <= maxWidth) return size;\n size -= 2;\n }\n return minSize;\n }\n\n function mulberry32(seed) {\n return function () {\n seed |= 0;\n seed = (seed + 0x6d2b79f5) | 0;\n var t = Math.imul(seed ^ (seed >>> 15), 1 | seed);\n t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;\n return ((t ^ (t >>> 14)) >>> 0) / 4294967296;\n };\n }\n\n var ALPHANUM = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n\n function scrambleChars(seed, length) {\n var rng = mulberry32(seed);\n var result = \"\";\n for (var i = 0; i < length; i++) {\n result += ALPHANUM[Math.floor(rng() * ALPHANUM.length)];\n }\n return result;\n }\n\n var WORDS = [\n { text: \"Every\", start: 0.0, end: 0.3 },\n { text: \"great\", start: 0.3, end: 0.55 },\n { text: \"video\", start: 0.55, end: 0.85 },\n { text: \"starts\", start: 0.85, end: 1.1 },\n { text: \"with\", start: 1.1, end: 1.25 },\n { text: \"a\", start: 1.25, end: 1.35 },\n { text: \"single\", start: 1.35, end: 1.65 },\n { text: \"frame.\", start: 1.65, end: 2.0 },\n { text: \"HyperFrames\", start: 2.1, end: 2.65 },\n { text: \"lets\", start: 2.65, end: 2.85 },\n { text: \"you\", start: 2.85, end: 2.95 },\n { text: \"write\", start: 2.95, end: 3.15 },\n { text: \"HTML\", start: 3.15, end: 3.55 },\n { text: \"and\", start: 3.55, end: 3.65 },\n { text: \"render\", start: 3.65, end: 3.95 },\n { text: \"professional\", start: 3.95, end: 4.45 },\n { text: \"video.\", start: 4.45, end: 4.8 },\n { text: \"No\", start: 4.9, end: 5.05 },\n { text: \"timeline.\", start: 5.05, end: 5.45 },\n { text: \"No\", start: 5.5, end: 5.65 },\n { text: \"drag\", start: 5.65, end: 5.85 },\n { text: \"and\", start: 5.85, end: 5.95 },\n { text: \"drop.\", start: 5.95, end: 6.25 },\n { text: \"Just\", start: 6.35, end: 6.55 },\n { text: \"code\", start: 6.55, end: 6.8 },\n { text: \"that\", start: 6.8, end: 6.95 },\n { text: \"becomes\", start: 6.95, end: 7.3 },\n { text: \"cinema.\", start: 7.3, end: 7.7 },\n ];\n\n var GROUPS = [\n { wordStart: 0, wordEnd: 3, start: 0.0, end: 1.35 },\n { wordStart: 4, wordEnd: 7, start: 1.1, end: 2.35 },\n { wordStart: 8, wordEnd: 8, start: 2.1, end: 2.9 },\n { wordStart: 9, wordEnd: 12, start: 2.65, end: 3.8 },\n { wordStart: 13, wordEnd: 15, start: 3.55, end: 4.7 },\n { wordStart: 16, wordEnd: 16, start: 3.95, end: 5.0 },\n { wordStart: 17, wordEnd: 19, start: 4.9, end: 5.7 },\n { wordStart: 20, wordEnd: 22, start: 5.65, end: 6.5 },\n { wordStart: 23, wordEnd: 24, start: 6.35, end: 7.05 },\n { wordStart: 25, wordEnd: 27, start: 6.8, end: 7.9 },\n ];\n\n var container = document.getElementById(\"sc-container\");\n var tl = gsap.timeline({ paused: true });\n\n GROUPS.forEach(function (g, gi) {\n var groupWords = WORDS.slice(g.wordStart, g.wordEnd + 1);\n var groupText = groupWords\n .map(function (w) {\n return w.text;\n })\n .join(\" \");\n var fontSize = fitFontSize(groupText, 96, \"700\", \"'Space Grotesk', sans-serif\", 1760);\n var grp = document.createElement(\"div\");\n grp.className = \"sc-group\";\n grp.id = \"sc-grp-\" + gi;\n\n groupWords.forEach(function (w, i) {\n var wi = g.wordStart + i;\n var wordWrap = document.createElement(\"span\");\n wordWrap.className = \"sc-word-wrap\";\n wordWrap.id = \"sc-ww-\" + wi;\n wordWrap.style.fontSize = fontSize + \"px\";\n\n var real = document.createElement(\"span\");\n real.className = \"sc-real\";\n real.id = \"sc-real-\" + wi;\n real.textContent = w.text;\n wordWrap.appendChild(real);\n\n var scr0 = document.createElement(\"span\");\n scr0.className = \"sc-scr0\";\n scr0.id = \"sc-scr0-\" + wi;\n scr0.textContent = scrambleChars(wi * 1000 + 0, w.text.length);\n wordWrap.appendChild(scr0);\n\n var scr1 = document.createElement(\"span\");\n scr1.className = \"sc-scr1\";\n scr1.id = \"sc-scr1-\" + wi;\n scr1.textContent = scrambleChars(wi * 1000 + 1, w.text.length);\n wordWrap.appendChild(scr1);\n\n grp.appendChild(wordWrap);\n });\n\n container.appendChild(grp);\n\n tl.set(grp, { visibility: \"visible\", opacity: 0 }, g.start);\n tl.fromTo(grp, { opacity: 0 }, { opacity: 1, duration: 0.1 }, g.start);\n\n groupWords.forEach(function (w, i) {\n var wi = g.wordStart + i;\n var realEl = document.getElementById(\"sc-real-\" + wi);\n var scr0El = document.getElementById(\"sc-scr0-\" + wi);\n var scr1El = document.getElementById(\"sc-scr1-\" + wi);\n\n tl.set(scr0El, { autoAlpha: 1 }, w.start);\n tl.set(scr1El, { autoAlpha: 1 }, w.start + 0.1);\n tl.set(scr0El, { autoAlpha: 0 }, w.start + 0.1);\n tl.set(realEl, { autoAlpha: 1 }, w.start + 0.2);\n tl.set(scr1El, { autoAlpha: 0 }, w.start + 0.2);\n });\n\n tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);\n tl.set(grp, { opacity: 0, visibility: \"hidden\" }, g.end);\n });\n\n window.__timelines[\"caption-matrix-decode\"] = tl;\n })();\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/components/checkout-flow.json b/docs/public/catalog/components/checkout-flow.json
deleted file mode 100644
index 73a37a547e..0000000000
--- a/docs/public/catalog/components/checkout-flow.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Checkout Flow - Demo</title>\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <style>\n * {\n box-sizing: border-box;\n }\n html,\n body {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n }\n #demo {\n width: 1920px;\n height: 1080px;\n display: grid;\n place-items: center;\n background: #f5f5f4;\n font-family: Inter, system-ui, sans-serif;\n }\n .demo-frame {\n display: grid;\n place-items: center;\n min-width: 760px;\n min-height: 520px;\n padding: 56px;\n /* ponytail: scale wrapper (not a GSAP target) to fill ~55% of frame */\n transform: scale(1.12);\n transform-origin: center center;\n }\n .hf-ui-checkout-flow {\n display: grid;\n gap: 16px;\n width: 440px;\n padding: 26px;\n border: 1px solid #e4e4e7;\n border-radius: 28px;\n background: #ffffff;\n color: #18181b;\n font-family: Inter, system-ui, sans-serif;\n box-shadow: 0 28px 84px rgba(0, 0, 0, 0.12);\n }\n .hf-ui-checkout-plan,\n .hf-ui-checkout-total {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n .hf-ui-checkout-plan {\n padding: 18px;\n border-radius: 18px;\n background: #18181b;\n color: #ffffff;\n }\n .hf-ui-checkout-plan span,\n .hf-ui-checkout-total span {\n color: inherit;\n opacity: 0.72;\n font-size: 14px;\n font-weight: 850;\n }\n .hf-ui-checkout-plan strong,\n .hf-ui-checkout-total strong {\n font-size: 22px;\n }\n .hf-ui-checkout-fields {\n display: grid;\n gap: 10px;\n }\n .hf-ui-checkout-fields div {\n display: grid;\n gap: 5px;\n padding: 14px 16px;\n border: 1px solid #e4e4e7;\n border-radius: 15px;\n color: #71717a;\n font-size: 13px;\n font-weight: 800;\n }\n .hf-ui-checkout-fields strong {\n color: #18181b;\n font-size: 16px;\n }\n .hf-ui-checkout-flow button {\n width: 100%;\n height: 50px;\n border: 0;\n border-radius: 15px;\n /* The primary action is the one accent-carrying element here. */\n background: var(--accent, #18181b);\n color: #ffffff;\n font-size: 15px;\n font-weight: 700;\n cursor: default;\n }\n </style>\n </head>\n <body>\n <div\n id=\"demo\"\n data-composition-id=\"checkout-flow-demo\"\n data-start=\"0\"\n data-width=\"1920\"\n data-height=\"1080\"\n data-duration=\"5\"\n >\n <div class=\"demo-frame\">\n <div class=\"hf-ui-checkout-flow\">\n <div class=\"hf-ui-checkout-plan\"><span>Pro plan</span><strong>$29/mo</strong></div>\n <div class=\"hf-ui-checkout-fields\">\n <div>Card number <strong>4242 4242 4242 4242</strong></div>\n <div>Expiry <strong>12/30</strong></div>\n </div>\n <div class=\"hf-ui-checkout-total\"><span>Total today</span><strong>$29.00</strong></div>\n <button type=\"button\">Complete purchase</button>\n </div>\n </div>\n <script>\n const tl = gsap.timeline({ paused: true });\n tl.fromTo(\n \".hf-ui-checkout-flow\",\n { opacity: 0, y: 28 },\n { opacity: 1, y: 0, duration: 0.36, ease: \"power2.out\" },\n 0.25,\n );\n tl.fromTo(\n \".hf-ui-checkout-fields div\",\n { x: -16, opacity: 0 },\n { x: 0, opacity: 1, duration: 0.26, stagger: 0.08, ease: \"power2.out\" },\n 0.62,\n );\n tl.fromTo(\n \".hf-ui-checkout-total\",\n { opacity: 0 },\n { opacity: 1, duration: 0.24, ease: \"power2.out\" },\n 0.92,\n );\n tl.to(\n \".hf-ui-checkout-flow button\",\n { scale: 0.96, duration: 0.12, yoyo: true, repeat: 1, ease: \"power1.inOut\" },\n 1.18,\n );\n tl.set({}, {}, 5);\n window.__timelines = window.__timelines || {};\n window.__timelines[\"checkout-flow-demo\"] = tl;\n </script>\n </div>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/registry/catalog-artifact/local-vectors.bin b/registry/catalog-artifact/local-vectors.bin
index d1a77a5e8e..f05c23614a 100644
Binary files a/registry/catalog-artifact/local-vectors.bin and b/registry/catalog-artifact/local-vectors.bin differ
diff --git a/registry/catalog-artifact/local-vectors.json b/registry/catalog-artifact/local-vectors.json
index c4ffd065c5..2ed864b966 100644
--- a/registry/catalog-artifact/local-vectors.json
+++ b/registry/catalog-artifact/local-vectors.json
@@ -2,7 +2,7 @@
"model": "bge-small-en-v1.5",
"modelRevision": "ea104dacec62c0de699686887e3f920caeb4f3e3",
"dimensions": 384,
- "revision": "032078c10ac211b74a29a4826f113876ee4ef14c3e4cf9f935b0ec763cdca97f",
+ "revision": "fbf1facc93a2cd1dc4507407f21fe4f6097da56670aaab4a0689b12dc0c43d09",
"names": [
"ai-chat-reveal",
"animated-bar-chart",
@@ -54,7 +54,6 @@
"chat-message",
"chat-thread",
"chatgpt-exchange",
- "checkout-flow",
"chromatic-aberration-wipe",
"chromatic-radial-split",
"cinematic-zoom",
diff --git a/registry/components/caption-matrix-decode/caption-matrix-decode.html b/registry/components/caption-matrix-decode/caption-matrix-decode.html
index e43f0f69db..077f266b53 100644
--- a/registry/components/caption-matrix-decode/caption-matrix-decode.html
+++ b/registry/components/caption-matrix-decode/caption-matrix-decode.html
@@ -71,13 +71,17 @@
position: relative;
}
.sc-real {
- display: none;
- }
- .sc-scr0 {
- display: none;
+ opacity: 0;
+ visibility: hidden;
}
+ .sc-scr0,
.sc-scr1 {
- display: none;
+ position: absolute;
+ left: 0;
+ top: 0;
+ white-space: nowrap;
+ opacity: 0;
+ visibility: hidden;
}
</style>
</head>
@@ -125,10 +129,10 @@
var ALPHANUM = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
- function scrambleChars(seed) {
+ function scrambleChars(seed, length) {
var rng = mulberry32(seed);
var result = "";
- for (var i = 0; i < 4; i++) {
+ for (var i = 0; i < length; i++) {
result += ALPHANUM[Math.floor(rng() * ALPHANUM.length)];
}
return result;
@@ -209,13 +213,13 @@
var scr0 = document.createElement("span");
scr0.className = "sc-scr0";
scr0.id = "sc-scr0-" + wi;
- scr0.textContent = scrambleChars(wi * 1000 + 0);
+ scr0.textContent = scrambleChars(wi * 1000 + 0, w.text.length);
wordWrap.appendChild(scr0);
var scr1 = document.createElement("span");
scr1.className = "sc-scr1";
scr1.id = "sc-scr1-" + wi;
- scr1.textContent = scrambleChars(wi * 1000 + 1);
+ scr1.textContent = scrambleChars(wi * 1000 + 1, w.text.length);
wordWrap.appendChild(scr1);
grp.appendChild(wordWrap);
@@ -232,11 +236,11 @@
var scr0El = document.getElementById("sc-scr0-" + wi);
var scr1El = document.getElementById("sc-scr1-" + wi);
- tl.set(scr0El, { display: "inline" }, w.start);
- tl.set(scr1El, { display: "inline" }, w.start + 0.1);
- tl.set(scr0El, { display: "none" }, w.start + 0.1);
- tl.set(realEl, { display: "inline" }, w.start + 0.2);
- tl.set(scr1El, { display: "none" }, w.start + 0.2);
+ tl.set(scr0El, { autoAlpha: 1 }, w.start);
+ tl.set(scr1El, { autoAlpha: 1 }, w.start + 0.1);
+ tl.set(scr0El, { autoAlpha: 0 }, w.start + 0.1);
+ tl.set(realEl, { autoAlpha: 1 }, w.start + 0.2);
+ tl.set(scr1El, { autoAlpha: 0 }, w.start + 0.2);
});
tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);
diff --git a/registry/components/caption-matrix-decode/demo.html b/registry/components/caption-matrix-decode/demo.html
index 35968c32c6..6b9268df11 100644
--- a/registry/components/caption-matrix-decode/demo.html
+++ b/registry/components/caption-matrix-decode/demo.html
@@ -70,13 +70,17 @@
position: relative;
}
.sc-real {
- display: none;
- }
- .sc-scr0 {
- display: none;
+ opacity: 0;
+ visibility: hidden;
}
+ .sc-scr0,
.sc-scr1 {
- display: none;
+ position: absolute;
+ left: 0;
+ top: 0;
+ white-space: nowrap;
+ opacity: 0;
+ visibility: hidden;
}
</style>
</head>
@@ -123,10 +127,10 @@
var ALPHANUM = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
- function scrambleChars(seed) {
+ function scrambleChars(seed, length) {
var rng = mulberry32(seed);
var result = "";
- for (var i = 0; i < 4; i++) {
+ for (var i = 0; i < length; i++) {
result += ALPHANUM[Math.floor(rng() * ALPHANUM.length)];
}
return result;
@@ -207,13 +211,13 @@
var scr0 = document.createElement("span");
scr0.className = "sc-scr0";
scr0.id = "sc-scr0-" + wi;
- scr0.textContent = scrambleChars(wi * 1000 + 0);
+ scr0.textContent = scrambleChars(wi * 1000 + 0, w.text.length);
wordWrap.appendChild(scr0);
var scr1 = document.createElement("span");
scr1.className = "sc-scr1";
scr1.id = "sc-scr1-" + wi;
- scr1.textContent = scrambleChars(wi * 1000 + 1);
+ scr1.textContent = scrambleChars(wi * 1000 + 1, w.text.length);
wordWrap.appendChild(scr1);
grp.appendChild(wordWrap);
@@ -230,11 +234,11 @@
var scr0El = document.getElementById("sc-scr0-" + wi);
var scr1El = document.getElementById("sc-scr1-" + wi);
- tl.set(scr0El, { display: "inline" }, w.start);
- tl.set(scr1El, { display: "inline" }, w.start + 0.1);
- tl.set(scr0El, { display: "none" }, w.start + 0.1);
- tl.set(realEl, { display: "inline" }, w.start + 0.2);
- tl.set(scr1El, { display: "none" }, w.start + 0.2);
+ tl.set(scr0El, { autoAlpha: 1 }, w.start);
+ tl.set(scr1El, { autoAlpha: 1 }, w.start + 0.1);
+ tl.set(scr0El, { autoAlpha: 0 }, w.start + 0.1);
+ tl.set(realEl, { autoAlpha: 1 }, w.start + 0.2);
+ tl.set(scr1El, { autoAlpha: 0 }, w.start + 0.2);
});
tl.to(grp, { opacity: 0, duration: 0.12 }, g.end - 0.12);
diff --git a/registry/components/checkout-flow/checkout-flow.html b/registry/components/checkout-flow/checkout-flow.html
deleted file mode 100644
index 40be67b609..0000000000
--- a/registry/components/checkout-flow/checkout-flow.html
+++ /dev/null
@@ -1,89 +0,0 @@
-<!--
- Checkout Flow - Composed UI flow for HyperFrames.
-
- Paste the markup and CSS into a composition. Use the timeline integration
- note at the bottom as the starting point for deterministic GSAP animation.
--->
-
-<div class="hf-ui-checkout-flow">
- <div class="hf-ui-checkout-plan"><span>Pro plan</span><strong>$29/mo</strong></div>
- <div class="hf-ui-checkout-fields">
- <div>Card number <strong>4242 4242 4242 4242</strong></div>
- <div>Expiry <strong>12/30</strong></div>
- </div>
- <div class="hf-ui-checkout-total"><span>Total today</span><strong>$29.00</strong></div>
- <button type="button">Complete purchase</button>
-</div>
-
-<style>
- .hf-ui-checkout-flow {
- display: grid;
- gap: 16px;
- width: 440px;
- padding: 26px;
- border: 1px solid #e4e4e7;
- border-radius: 28px;
- background: #ffffff;
- color: #18181b;
- font-family: Inter, system-ui, sans-serif;
- box-shadow: 0 28px 84px rgba(0, 0, 0, 0.12);
- }
- .hf-ui-checkout-plan,
- .hf-ui-checkout-total {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .hf-ui-checkout-plan {
- padding: 18px;
- border-radius: 18px;
- background: #18181b;
- color: #ffffff;
- }
- .hf-ui-checkout-plan span,
- .hf-ui-checkout-total span {
- color: inherit;
- opacity: 0.72;
- font-size: 14px;
- font-weight: 850;
- }
- .hf-ui-checkout-plan strong,
- .hf-ui-checkout-total strong {
- font-size: 22px;
- }
- .hf-ui-checkout-fields {
- display: grid;
- gap: 10px;
- }
- .hf-ui-checkout-fields div {
- display: grid;
- gap: 5px;
- padding: 14px 16px;
- border: 1px solid #e4e4e7;
- border-radius: 15px;
- color: #71717a;
- font-size: 13px;
- font-weight: 800;
- }
- .hf-ui-checkout-fields strong {
- color: #18181b;
- font-size: 16px;
- }
- .hf-ui-checkout-flow button {
- height: 50px;
- border: 0;
- border-radius: 15px;
- /* The primary action is the one accent-carrying element here. */
- background: var(--accent, #18181b);
- color: #ffffff;
- font-weight: 900;
- }
-</style>
-
-<!--
- Timeline integration:
- tl.fromTo('.hf-ui-checkout-flow', { opacity: 0, y: 28 }, { opacity: 1, y: 0, duration: 0.36, ease: 'power2.out' }, 0.25);
- tl.fromTo('.hf-ui-checkout-fields div', { x: -16, opacity: 0 }, { x: 0, opacity: 1, duration: 0.26, stagger: 0.08, ease: 'power2.out' }, 0.62);
- tl.fromTo('.hf-ui-checkout-total', { opacity: 0 }, { opacity: 1, duration: 0.24, ease: 'power2.out' }, 0.92);
- tl.to('.hf-ui-checkout-flow button', { scale: 0.96, duration: 0.12, yoyo: true, repeat: 1, ease: 'power1.inOut' }, 1.18);
--->
diff --git a/registry/components/checkout-flow/demo.html b/registry/components/checkout-flow/demo.html
deleted file mode 100644
index df0872ffa7..0000000000
--- a/registry/components/checkout-flow/demo.html
+++ /dev/null
@@ -1,155 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Checkout Flow - Demo</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- * {
- box-sizing: border-box;
- }
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- }
- #demo {
- width: 1920px;
- height: 1080px;
- display: grid;
- place-items: center;
- background: #f5f5f4;
- font-family: Inter, system-ui, sans-serif;
- }
- .demo-frame {
- display: grid;
- place-items: center;
- min-width: 760px;
- min-height: 520px;
- padding: 56px;
- /* ponytail: scale wrapper (not a GSAP target) to fill ~55% of frame */
- transform: scale(1.12);
- transform-origin: center center;
- }
- .hf-ui-checkout-flow {
- display: grid;
- gap: 16px;
- width: 440px;
- padding: 26px;
- border: 1px solid #e4e4e7;
- border-radius: 28px;
- background: #ffffff;
- color: #18181b;
- font-family: Inter, system-ui, sans-serif;
- box-shadow: 0 28px 84px rgba(0, 0, 0, 0.12);
- }
- .hf-ui-checkout-plan,
- .hf-ui-checkout-total {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .hf-ui-checkout-plan {
- padding: 18px;
- border-radius: 18px;
- background: #18181b;
- color: #ffffff;
- }
- .hf-ui-checkout-plan span,
- .hf-ui-checkout-total span {
- color: inherit;
- opacity: 0.72;
- font-size: 14px;
- font-weight: 850;
- }
- .hf-ui-checkout-plan strong,
- .hf-ui-checkout-total strong {
- font-size: 22px;
- }
- .hf-ui-checkout-fields {
- display: grid;
- gap: 10px;
- }
- .hf-ui-checkout-fields div {
- display: grid;
- gap: 5px;
- padding: 14px 16px;
- border: 1px solid #e4e4e7;
- border-radius: 15px;
- color: #71717a;
- font-size: 13px;
- font-weight: 800;
- }
- .hf-ui-checkout-fields strong {
- color: #18181b;
- font-size: 16px;
- }
- .hf-ui-checkout-flow button {
- width: 100%;
- height: 50px;
- border: 0;
- border-radius: 15px;
- /* The primary action is the one accent-carrying element here. */
- background: var(--accent, #18181b);
- color: #ffffff;
- font-size: 15px;
- font-weight: 700;
- cursor: default;
- }
- </style>
- </head>
- <body>
- <div
- id="demo"
- data-composition-id="checkout-flow-demo"
- data-start="0"
- data-width="1920"
- data-height="1080"
- data-duration="5"
- >
- <div class="demo-frame">
- <div class="hf-ui-checkout-flow">
- <div class="hf-ui-checkout-plan"><span>Pro plan</span><strong>$29/mo</strong></div>
- <div class="hf-ui-checkout-fields">
- <div>Card number <strong>4242 4242 4242 4242</strong></div>
- <div>Expiry <strong>12/30</strong></div>
- </div>
- <div class="hf-ui-checkout-total"><span>Total today</span><strong>$29.00</strong></div>
- <button type="button">Complete purchase</button>
- </div>
- </div>
- <script>
- const tl = gsap.timeline({ paused: true });
- tl.fromTo(
- ".hf-ui-checkout-flow",
- { opacity: 0, y: 28 },
- { opacity: 1, y: 0, duration: 0.36, ease: "power2.out" },
- 0.25,
- );
- tl.fromTo(
- ".hf-ui-checkout-fields div",
- { x: -16, opacity: 0 },
- { x: 0, opacity: 1, duration: 0.26, stagger: 0.08, ease: "power2.out" },
- 0.62,
- );
- tl.fromTo(
- ".hf-ui-checkout-total",
- { opacity: 0 },
- { opacity: 1, duration: 0.24, ease: "power2.out" },
- 0.92,
- );
- tl.to(
- ".hf-ui-checkout-flow button",
- { scale: 0.96, duration: 0.12, yoyo: true, repeat: 1, ease: "power1.inOut" },
- 1.18,
- );
- tl.set({}, {}, 5);
- window.__timelines = window.__timelines || {};
- window.__timelines["checkout-flow-demo"] = tl;
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/components/checkout-flow/registry-item.json b/registry/components/checkout-flow/registry-item.json
deleted file mode 100644
index 095ebd2828..0000000000
--- a/registry/components/checkout-flow/registry-item.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "checkout-flow",
- "type": "hyperframes:component",
- "title": "Checkout Flow",
- "description": "A composed checkout flow with plan summary, payment field rows, total, and purchase action",
- "tags": ["ui-flow", "checkout", "commerce"],
- "files": [
- {
- "path": "checkout-flow.html",
- "target": "compositions/components/checkout-flow.html",
- "type": "hyperframes:snippet"
- }
- ],
- "preview": {
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/checkout-flow.png"
- }
-}
diff --git a/registry/registry.json b/registry/registry.json
index 083e3d0265..808c4d6de7 100644
--- a/registry/registry.json
+++ b/registry/registry.json
@@ -819,10 +819,6 @@
"name": "chat-thread",
"type": "hyperframes:component"
},
- {
- "name": "checkout-flow",
- "type": "hyperframes:component"
- },
{
"name": "chromatic-aberration-wipe",
"type": "hyperframes:component"
@@ -1533,6 +1529,6 @@
}
],
"catalogArtifact": {
- "revision": "032078c10ac211b74a29a4826f113876ee4ef14c3e4cf9f935b0ec763cdca97f"
+ "revision": "fbf1facc93a2cd1dc4507407f21fe4f6097da56670aaab4a0689b12dc0c43d09"
}
}
diff --git a/scripts/check-no-main-deletions.mjs b/scripts/check-no-main-deletions.mjs
index b3fb5209da..d5ac91d14c 100644
--- a/scripts/check-no-main-deletions.mjs
+++ b/scripts/check-no-main-deletions.mjs
@@ -45,6 +45,10 @@ export const ALLOWED_DELETIONS = new Map([
"docs/catalog/components/ai-prompt-flow.mdx",
"owner-directed removal of the AI Prompt Flow catalog item and its generated documentation",
],
+ [
+ "docs/catalog/components/checkout-flow.mdx",
+ "owner-directed removal of the Checkout Flow catalog item and its generated documentation",
+ ],
[
"docs/public/catalog/components/ai-generation-canvas.json",
"owner-directed removal of the AI Generation Canvas catalog item and its generated public payload",
@@ -53,6 +57,10 @@ export const ALLOWED_DELETIONS = new Map([
"docs/public/catalog/components/ai-prompt-flow.json",
"owner-directed removal of the AI Prompt Flow catalog item and its generated public payload",
],
+ [
+ "docs/public/catalog/components/checkout-flow.json",
+ "owner-directed removal of the Checkout Flow catalog item and its generated public payload",
+ ],
[
"registry/components/ai-generation-canvas/ai-generation-canvas.html",
"owner-directed removal of the AI Generation Canvas catalog source component",
@@ -77,6 +85,18 @@ export const ALLOWED_DELETIONS = new Map([
"registry/components/ai-prompt-flow/registry-item.json",
"owner-directed removal of the AI Prompt Flow catalog registry entry",
],
+ [
+ "registry/components/checkout-flow/checkout-flow.html",
+ "owner-directed removal of the Checkout Flow catalog source component",
+ ],
+ [
+ "registry/components/checkout-flow/demo.html",
+ "owner-directed removal of the Checkout Flow catalog preview source",
+ ],
+ [
+ "registry/components/checkout-flow/registry-item.json",
+ "owner-directed removal of the Checkout Flow catalog registry entry",
+ ],
[
"packages/studio/src/components/StudioFeedbackBar.tsx",
"replaced by components/feedback/StudioFeedbackCard.tsx; too little shared content for git to pair as a rename",