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
2.0 KiB
JSON
61 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "tracking-in",
|
|
"type": "hyperframes:component",
|
|
"title": "Tracking In",
|
|
"description": "A precise letter-spacing reveal for premium headings and interface labels",
|
|
"tags": ["motion-primitive", "text", "reveal", "typography"],
|
|
"files": [
|
|
{
|
|
"path": "tracking-in.html",
|
|
"target": "compositions/components/tracking-in.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "tracking",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tracking",
|
|
"description": "Multiplies the letter-spacing the timeline drives, so the reveal starts and settles proportionally wider or tighter.",
|
|
"default": "standard",
|
|
"options": [
|
|
{ "value": "tight", "label": "Tight" },
|
|
{ "value": "standard", "label": "Standard" },
|
|
{ "value": "wide", "label": "Wide" }
|
|
]
|
|
},
|
|
{
|
|
"id": "rise",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Rise",
|
|
"description": "Vertical offset the text starts from, which the timeline reads as the start of its travel and eases to zero.",
|
|
"default": "standard",
|
|
"options": [
|
|
{ "value": "subtle", "label": "Subtle" },
|
|
{ "value": "standard", "label": "Standard" },
|
|
{ "value": "bold", "label": "Bold" }
|
|
]
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Text colour: inherit keeps the surrounding page colour, ink suits light frames, paper 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/tracking-in.png"
|
|
}
|
|
}
|