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.
61 lines
1.8 KiB
JSON
61 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "headline-slam",
|
|
"type": "hyperframes:component",
|
|
"title": "Headline Slam",
|
|
"description": "A heavyweight headline scales down into frame, lands with a deterministic three-frame shake, holds with subtle drift, and whips upward on exit.",
|
|
"tags": ["motion-primitive", "typography", "headline", "slam", "impact", "exit"],
|
|
"jobs": ["emphasize"],
|
|
"family": "typography",
|
|
"profile": "impact",
|
|
"evidence": "Wave F U3 headline-slam specification",
|
|
"syncPoints": [{ "id": "impact", "phase": "in", "offset": 0.58 }],
|
|
"files": [
|
|
{
|
|
"path": "headline-slam.html",
|
|
"target": "compositions/components/headline-slam.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "text",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Headline",
|
|
"description": "Text displayed as the headline.",
|
|
"default": "Ship it today"
|
|
},
|
|
{
|
|
"id": "accent_word_index",
|
|
"type": "number",
|
|
"role": "content",
|
|
"label": "Accent word index",
|
|
"description": "Zero-based word index to color. Out of range leaves the headline unaccented.",
|
|
"default": 1,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color applied to the selected word.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
},
|
|
{
|
|
"id": "shadow",
|
|
"type": "boolean",
|
|
"role": "style",
|
|
"label": "Shadow",
|
|
"description": "Drop shadow cast under the headline. On by default; set false for a flat matte look.",
|
|
"default": true
|
|
}
|
|
]
|
|
}
|