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.
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "gloss-sweep",
|
|
"type": "hyperframes:component",
|
|
"title": "Gloss Sweep",
|
|
"description": "A card lands with a restrained slam, catches one diagonal specular gloss, and holds perfectly still.",
|
|
"tags": ["motion-primitive", "celebration", "gloss", "card", "badge", "payoff"],
|
|
"jobs": ["celebrate"],
|
|
"family": "celebrations",
|
|
"profile": "payoff",
|
|
"evidence": "Wave H U25 gloss-sweep brief",
|
|
"syncPoints": [{ "id": "gloss-complete", "phase": "in", "offset": 1.35 }],
|
|
"files": [
|
|
{
|
|
"path": "gloss-sweep.html",
|
|
"target": "compositions/components/gloss-sweep.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "text",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Label",
|
|
"description": "Text displayed on the card.",
|
|
"default": "Pro"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color treatment for the card.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
},
|
|
{
|
|
"id": "sweep_angle",
|
|
"type": "number",
|
|
"role": "style",
|
|
"label": "Sweep angle",
|
|
"description": "Angle of the specular gloss in degrees.",
|
|
"default": 25,
|
|
"min": -60,
|
|
"max": 60,
|
|
"step": 1,
|
|
"unit": "deg"
|
|
}
|
|
]
|
|
}
|