mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +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.
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "physical-exit",
|
|
"type": "hyperframes:component",
|
|
"title": "Physical Exit",
|
|
"description": "A card exits with physical momentum in toss, drop, or slide mode, carrying acceleration and rotation through the final offscreen pose without fading.",
|
|
"tags": ["motion-primitive", "exit", "momentum", "toss", "drop", "slide"],
|
|
"jobs": ["exit"],
|
|
"family": "motion",
|
|
"profile": "physical",
|
|
"evidence": "Video Primitives Wave F U13 physical-exit specification",
|
|
"files": [
|
|
{
|
|
"path": "physical-exit.html",
|
|
"target": "compositions/components/physical-exit.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "mode",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Exit mode",
|
|
"description": "Physical behavior used to carry the card offscreen.",
|
|
"default": "toss",
|
|
"options": [
|
|
{ "value": "toss", "label": "Toss" },
|
|
{ "value": "drop", "label": "Drop" },
|
|
{ "value": "slide", "label": "Slide" }
|
|
]
|
|
},
|
|
{
|
|
"id": "text",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Card text",
|
|
"description": "Word displayed on the exiting card.",
|
|
"default": "Later"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color applied to the card edge.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
}
|
|
]
|
|
}
|