feat(registry): bring back the video-primitive moves (#3169)

Restores the 208 catalog items reverted after their previews 404'd in
production, this time on the payload mechanism rather than the .html files
that caused the outage.

The generator no longer writes a preview document to docs/public. That writer,
and the machinery under it, existed only to produce files the docs host
discards, so it is gone rather than bypassed. Items now embed the composition
itself via a payload, which is what the previous change already does for the
items that were already in the catalog.

The variables explorer is parked, not restored: it drove its preview through
the same unpublished .html path, so it would have shown an empty frame. Items
that declare variables get the live player plus the static variables table, and
reconnecting the explorer to payloads is a follow-up.
This commit is contained in:
Miguel Ángel
2026-08-10 18:46:03 -04:00
committed by GitHub
parent 0f76305191
commit 9734578e60
1383 changed files with 255573 additions and 5760 deletions
@@ -0,0 +1,64 @@
{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "cta-close",
"type": "hyperframes:component",
"title": "CTA Close",
"description": "A display-scale action line lands per word and fills the frame with air, one generous CTA capsule pops beneath it with a single overshoot, and the finished close holds completely still.",
"tags": ["motion-primitive", "ui-props", "cta", "end-card", "close", "ask"],
"jobs": ["ask"],
"family": "ui-props",
"profile": "holdable",
"evidence": "Wave I I7 cta-close specification",
"syncPoints": [{ "id": "close-settled", "phase": "in", "offset": 1.32 }],
"files": [
{
"path": "cta-close.html",
"target": "compositions/components/cta-close.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "action_line",
"type": "string",
"role": "content",
"label": "Action line",
"description": "Two to four word action that closes the film.",
"default": "Make it happen"
},
{
"id": "button_label",
"type": "string",
"role": "content",
"label": "Button label",
"description": "Text displayed inside the single CTA capsule.",
"default": "Start now"
},
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Contract color used by the CTA capsule.",
"default": "green",
"options": [
{ "value": "green", "label": "Green" },
{ "value": "blue", "label": "Blue" },
{ "value": "violet", "label": "Violet" }
]
},
{
"id": "exit",
"type": "enum",
"role": "timing",
"label": "Exit",
"description": "Optional departure. Default none: the lockup holds until the frame cuts (this primitive closes films).",
"default": "none",
"options": [
{ "value": "none", "label": "None" },
{ "value": "fade", "label": "Fade" },
{ "value": "up", "label": "Up" }
]
}
]
}