Revert "feat(registry): the video-primitive moves, documented and customisable (#3090)" (#3162)

This reverts commit 3b53bfd2f7.
This commit is contained in:
Miguel Ángel
2026-08-10 14:47:47 -04:00
committed by GitHub
parent 3b53bfd2f7
commit c86d4013f5
2328 changed files with 5906 additions and 458525 deletions
-100
View File
@@ -1,100 +0,0 @@
<!doctype html>
<!--
cut-the-curve -- demo. Standalone 1920x1080 token-themed stage that mounts
cut-the-curve.html through data-composition-src. The 70% mount card makes
the outgoing throw, hard cut, and incoming settle easy to screen while
proving that the primitive fills a host-owned box without root dimensions.
-->
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1920, height=1080" />
<title>Cut the Curve - Demo</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
width: 1920px;
height: 1080px;
overflow: hidden;
background: var(--bg, #05070d);
}
#root {
--bg: #080b14;
--fg: #f8fafc;
--muted: #94a3b8;
--surface: #182033;
--border: #3b4863;
--brand: #e4e4e7;
--accent: #e4e4e7;
--transparent: transparent;
--font-display: Inter, system-ui, sans-serif;
--font-body: Inter, system-ui, sans-serif;
--radius: 26px;
--space-1: 8px;
--space-2: 16px;
--space-3: 32px;
--dur-beat: 0.4s;
--ease-standard: cubic-bezier(0.215, 0.61, 0.355, 1);
--ease-whip: cubic-bezier(0.23, 1, 0.32, 1);
position: relative;
width: 1920px;
height: 1080px;
overflow: hidden;
background: radial-gradient(
ellipse at 50% 42%,
var(--bg, #151c32) 0%,
var(--bg, #05070d) 72%
);
}
.mount-card {
width: 70%;
height: 70%;
left: 15%;
top: 15%;
overflow: hidden;
border: 1px solid color-mix(in srgb, var(--border, #94a3b8) 25%, transparent);
border-radius: 30px;
box-shadow: 0 40px 90px color-mix(in srgb, var(--bg, #000000) 45%, transparent);
}
</style>
</head>
<body>
<div
id="root"
data-composition-id="cut-the-curve-demo"
data-start="0"
data-width="1920"
data-height="1080"
data-duration="1"
data-fps="30"
>
<div
id="cut-the-curve-mount"
class="mount-card clip"
data-composition-id="cut-the-curve"
data-composition-src="./cut-the-curve.html"
data-variable-values='{"subject":"card","direction":"left","cutFraction":0.33,"blurPx":12}'
data-start="0"
data-duration="1"
data-track-index="0"
data-width="1344"
data-height="756"
></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<script>
window.__timelines = window.__timelines || {};
window.__timelines["cut-the-curve-demo"] = gsap.timeline({ paused: true });
</script>
</body>
</html>