mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +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.
81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "zoom-through-transition",
|
|
"type": "hyperframes:component",
|
|
"title": "Zoom Through Transition",
|
|
"description": "A transition that zooms through a focal card into the next scene.",
|
|
"tags": ["transition-primitive", "remocn-port"],
|
|
"variables": [
|
|
{
|
|
"id": "from-label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Outgoing label",
|
|
"description": "Caption on the outgoing scene, the one on screen when the transition starts.",
|
|
"default": "Before"
|
|
},
|
|
{
|
|
"id": "to-label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Incoming label",
|
|
"description": "Caption on the incoming scene, the one the timeline wipes into frame.",
|
|
"default": "Zoom Through Transition"
|
|
},
|
|
{
|
|
"id": "depth",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Depth",
|
|
"description": "Multiplies how far both scenes travel and how hard the outgoing one blurs, so the push covers a shorter or longer run in the same time.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "close",
|
|
"label": "Close"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "far",
|
|
"label": "Far"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Theme token for the ring marking the incoming scene. Blue rides --accent, green --brand, violet --accent-2; each falls back to a neutral hairline.",
|
|
"default": "blue",
|
|
"options": [
|
|
{
|
|
"value": "blue",
|
|
"label": "Blue"
|
|
},
|
|
{
|
|
"value": "green",
|
|
"label": "Green"
|
|
},
|
|
{
|
|
"value": "violet",
|
|
"label": "Violet"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"files": [
|
|
{
|
|
"path": "zoom-through-transition.html",
|
|
"target": "compositions/components/zoom-through-transition.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/zoom-through-transition.png"
|
|
}
|
|
}
|