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.
49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "icon-morph-beat",
|
|
"type": "hyperframes:component",
|
|
"title": "Icon Morph Beat",
|
|
"description": "An icon morphs between authored state silhouettes, shifts to an accent color, and marks completion with one restrained pulse.",
|
|
"tags": ["motion-primitive", "product-demo", "icon", "morph", "state-change", "completion"],
|
|
"jobs": ["demonstrate"],
|
|
"family": "product-demo",
|
|
"profile": "state-change",
|
|
"evidence": "Wave H U28 icon-morph-beat brief and Amicro morph animation research",
|
|
"syncPoints": [{ "id": "morph-complete", "phase": "in", "offset": 0.9 }],
|
|
"files": [
|
|
{
|
|
"path": "icon-morph-beat.html",
|
|
"target": "compositions/components/icon-morph-beat.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "pair",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Icon pair",
|
|
"description": "Before and after icon states used by the morph.",
|
|
"default": "mic-check",
|
|
"options": [
|
|
{ "value": "mic-check", "label": "Mic to check" },
|
|
{ "value": "play-check", "label": "Play to check" },
|
|
{ "value": "lock-unlock", "label": "Lock to unlock" }
|
|
]
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color applied as the morph completes.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
}
|
|
]
|
|
}
|