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.
105 lines
2.4 KiB
JSON
105 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "line-by-line-slide",
|
|
"type": "hyperframes:component",
|
|
"title": "Line-by-Line Slide",
|
|
"description": "Each line enters from the left with staggered slide and exits to the right.",
|
|
"tags": ["motion-primitive", "remocn-port", "typography"],
|
|
"files": [
|
|
{
|
|
"path": "line-by-line-slide.html",
|
|
"target": "compositions/components/line-by-line-slide.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "size",
|
|
"type": "enum",
|
|
"role": "layout",
|
|
"label": "Size",
|
|
"description": "Type size of the whole stack.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "compact",
|
|
"label": "Compact"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "display",
|
|
"label": "Display"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Line colour: ink for light frames, paper for dark ones, accent rides the brand token.",
|
|
"default": "ink",
|
|
"options": [
|
|
{
|
|
"value": "ink",
|
|
"label": "Ink"
|
|
},
|
|
{
|
|
"value": "paper",
|
|
"label": "Paper"
|
|
},
|
|
{
|
|
"value": "accent",
|
|
"label": "Accent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "density",
|
|
"type": "enum",
|
|
"role": "layout",
|
|
"label": "Density",
|
|
"description": "The gap between lines, from a tight block to an airy stack.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "fine",
|
|
"label": "Fine"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "coarse",
|
|
"label": "Coarse"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "direction",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Direction",
|
|
"description": "Which side the lines slide in from as the timeline drives the offset.",
|
|
"default": "left",
|
|
"options": [
|
|
{
|
|
"value": "left",
|
|
"label": "Left"
|
|
},
|
|
{
|
|
"value": "right",
|
|
"label": "Right"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/line-by-line-slide.png"
|
|
}
|
|
}
|