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.
79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "bottom-up-letters",
|
|
"type": "hyperframes:component",
|
|
"title": "Bottom Up Letters",
|
|
"description": "Splits text into letters and reveals each glyph from below with deterministic staggered timing",
|
|
"tags": ["motion-primitive", "text", "letters", "reveal"],
|
|
"files": [
|
|
{
|
|
"path": "bottom-up-letters.html",
|
|
"target": "compositions/components/bottom-up-letters.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "unit",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Split unit",
|
|
"description": "What each animated span holds. Letter staggers glyph by glyph, word keeps whole words intact.",
|
|
"default": "letter",
|
|
"options": [
|
|
{
|
|
"value": "letter",
|
|
"label": "Letter"
|
|
},
|
|
{
|
|
"value": "word",
|
|
"label": "Word"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "direction",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Direction",
|
|
"description": "Where each span starts. Up starts below the baseline and rises, down starts above and drops.",
|
|
"default": "up",
|
|
"options": [
|
|
{
|
|
"value": "up",
|
|
"label": "Up"
|
|
},
|
|
{
|
|
"value": "down",
|
|
"label": "Down"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "travel",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Travel",
|
|
"description": "How far each span starts from its resting position, from 0.45em to 1.5em.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "close",
|
|
"label": "Close"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "far",
|
|
"label": "Far"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/bottom-up-letters.png"
|
|
}
|
|
}
|