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,51 @@
{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "gesture-tap",
"type": "hyperframes:component",
"title": "Gesture Tap",
"description": "A contact circle taps a mobile pill button, releases it into a new labeled accent state, and lifts away.",
"tags": ["motion-primitive", "gesture", "tap", "interaction", "ui-props"],
"jobs": ["demonstrate"],
"family": "ui-props",
"profile": "interaction",
"evidence": "Video Primitives v1 Wave F U1 gesture-tap contract",
"syncPoints": [{ "id": "tap-response", "phase": "in", "offset": 0.72 }],
"files": [
{
"path": "gesture-tap.html",
"target": "compositions/components/gesture-tap.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "tap_label",
"type": "string",
"role": "content",
"label": "Tap label",
"description": "Button label shown before the tap response.",
"default": "Follow"
},
{
"id": "response_label",
"type": "string",
"role": "content",
"label": "Response label",
"description": "Button label shown when the tap releases.",
"default": "Following"
},
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Color used for the completed button state and response pulse.",
"default": "green",
"options": [
{ "value": "green", "label": "Green" },
{ "value": "blue", "label": "Blue" },
{ "value": "violet", "label": "Violet" }
]
}
]
}