mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
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.
77 lines
2.4 KiB
JSON
77 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "per-word-rise",
|
|
"type": "hyperframes:component",
|
|
"title": "Per Word Rise",
|
|
"description": "Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit).",
|
|
"tags": ["motion-primitive", "text-effects", "typography", "stagger", "reveal"],
|
|
"jobs": ["reveal"],
|
|
"family": "text-effects",
|
|
"profile": "stagger",
|
|
"evidence": "Wave I I1 approved contract build, merging the per-word and SplitTypeReveal candidates",
|
|
"syncPoints": [{ "id": "rise-settle", "phase": "in", "offset": 1.45 }],
|
|
"files": [
|
|
{
|
|
"path": "per-word-rise.html",
|
|
"target": "compositions/components/per-word-rise.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "text",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Text",
|
|
"description": "Text whose words or characters rise into place.",
|
|
"default": "WORDS IN MOTION"
|
|
},
|
|
{
|
|
"id": "split",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Split",
|
|
"description": "Animate the text as words or individual characters.",
|
|
"default": "word",
|
|
"options": [
|
|
{ "value": "word", "label": "Word" },
|
|
{ "value": "char", "label": "Character" }
|
|
]
|
|
},
|
|
{
|
|
"id": "cues",
|
|
"type": "string",
|
|
"role": "timing",
|
|
"label": "Cues",
|
|
"description": "Comma-separated seconds (from mount start) for each unit landing. Empty keeps the authored cascade rhythm.",
|
|
"default": ""
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Contract accent token used for the text color.",
|
|
"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 line holds until the frame cuts.",
|
|
"default": "none",
|
|
"options": [
|
|
{ "value": "none", "label": "None" },
|
|
{ "value": "fade", "label": "Fade" },
|
|
{ "value": "up", "label": "Up" }
|
|
]
|
|
}
|
|
]
|
|
}
|