mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-05 00:56:23 +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.
77 lines
1.8 KiB
JSON
77 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "blur-in",
|
|
"type": "hyperframes:component",
|
|
"title": "Blur In",
|
|
"description": "An Operator Black word-level content reveal that resolves its own text from controlled blur",
|
|
"tags": ["video-primitive", "remocn-port", "blur-in", "text-effect"],
|
|
"files": [
|
|
{
|
|
"path": "blur-in.html",
|
|
"target": "compositions/components/blur-in.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "size",
|
|
"type": "number",
|
|
"role": "style",
|
|
"label": "Size",
|
|
"description": "Type size of the revealed words in pixels; the gap between words scales with it.",
|
|
"default": 52,
|
|
"min": 24,
|
|
"max": 120,
|
|
"step": 2,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Word colour: strong for headlines, muted for supporting lines, accent for the brand green.",
|
|
"default": "strong",
|
|
"options": [
|
|
{
|
|
"value": "strong",
|
|
"label": "Strong"
|
|
},
|
|
{
|
|
"value": "muted",
|
|
"label": "Muted"
|
|
},
|
|
{
|
|
"value": "accent",
|
|
"label": "Accent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "align",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Align",
|
|
"description": "Horizontal alignment of the words in the frame.",
|
|
"default": "left",
|
|
"options": [
|
|
{
|
|
"value": "left",
|
|
"label": "Left"
|
|
},
|
|
{
|
|
"value": "center",
|
|
"label": "Center"
|
|
},
|
|
{
|
|
"value": "right",
|
|
"label": "Right"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/blur-in.png"
|
|
}
|
|
}
|