mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +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.5 KiB
JSON
91 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "count-up",
|
|
"type": "hyperframes:component",
|
|
"title": "Count Up",
|
|
"description": "A token-native stat counter that eases between values and lands with a restrained scale pulse.",
|
|
"tags": ["motion-primitive", "proof", "stats", "counter", "number", "deterministic"],
|
|
"jobs": ["prove"],
|
|
"family": "proof-stats",
|
|
"profile": "count",
|
|
"evidence": "Wave I I4 approved spec with the apple-money-count interpolation mechanic extracted and de-styled",
|
|
"syncPoints": [{ "id": "count-land", "phase": "in", "offset": 1.72 }],
|
|
"files": [
|
|
{
|
|
"path": "count-up.html",
|
|
"target": "compositions/components/count-up.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "start",
|
|
"type": "number",
|
|
"role": "content",
|
|
"label": "Start value",
|
|
"description": "First value shown by the count.",
|
|
"default": 0,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "end",
|
|
"type": "number",
|
|
"role": "content",
|
|
"label": "End value",
|
|
"description": "Final value where the count lands.",
|
|
"default": 100,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "prefix",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Prefix",
|
|
"description": "Optional text shown before the value.",
|
|
"default": ""
|
|
},
|
|
{
|
|
"id": "suffix",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Suffix",
|
|
"description": "Optional text shown after the value.",
|
|
"default": "%"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color used by the count.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
},
|
|
{
|
|
"id": "glow",
|
|
"type": "boolean",
|
|
"role": "style",
|
|
"label": "Glow",
|
|
"description": "Optional soft accent glow under the count. Off by default.",
|
|
"default": false
|
|
},
|
|
{
|
|
"id": "exit",
|
|
"type": "enum",
|
|
"role": "timing",
|
|
"label": "Exit",
|
|
"description": "Optional departure. Default none: the landed value holds until the frame cuts.",
|
|
"default": "none",
|
|
"options": [
|
|
{ "value": "none", "label": "None" },
|
|
{ "value": "fade", "label": "Fade" },
|
|
{ "value": "up", "label": "Up" }
|
|
]
|
|
}
|
|
]
|
|
}
|