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.
91 lines
2.2 KiB
JSON
91 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "number-wheel",
|
|
"type": "hyperframes:component",
|
|
"title": "Number Wheel",
|
|
"description": "A rolling digit counter primitive for metrics, prices, counts, and scoreboards",
|
|
"tags": ["video-primitive", "motion-primitive", "number", "counter", "data"],
|
|
"files": [
|
|
{
|
|
"path": "number-wheel.html",
|
|
"target": "compositions/components/number-wheel.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "spin",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Spin",
|
|
"description": "How many full 0 to 9 revolutions each column adds before it lands, which is how far the reel travels in the same time.",
|
|
"default": "single",
|
|
"options": [
|
|
{
|
|
"value": "single",
|
|
"label": "Single"
|
|
},
|
|
{
|
|
"value": "double",
|
|
"label": "Double"
|
|
},
|
|
{
|
|
"value": "triple",
|
|
"label": "Triple"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "spacing",
|
|
"type": "enum",
|
|
"role": "layout",
|
|
"label": "Spacing",
|
|
"description": "Gap between the digit columns.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "tight",
|
|
"label": "Tight"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "wide",
|
|
"label": "Wide"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Digit colour: inherit keeps the surrounding text colour, ink suits light frames, paper suits dark ones, accent rides --brand.",
|
|
"default": "inherit",
|
|
"options": [
|
|
{
|
|
"value": "inherit",
|
|
"label": "Inherit"
|
|
},
|
|
{
|
|
"value": "ink",
|
|
"label": "Ink"
|
|
},
|
|
{
|
|
"value": "paper",
|
|
"label": "Paper"
|
|
},
|
|
{
|
|
"value": "accent",
|
|
"label": "Accent"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/number-wheel.png"
|
|
}
|
|
}
|