mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 01:56:04 +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.
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "skeleton-reveal",
|
|
"type": "hyperframes:component",
|
|
"title": "Skeleton Reveal",
|
|
"description": "A skeleton loader transition that pulses, then cross-fades into content",
|
|
"tags": ["video-primitive", "transition-primitive", "transitions-dev-port", "skeleton", "reveal"],
|
|
"files": [
|
|
{
|
|
"path": "skeleton-reveal.html",
|
|
"target": "compositions/components/skeleton-reveal.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "name",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Name",
|
|
"description": "Primary line revealed once the skeleton fades out.",
|
|
"default": "Jane Cooper"
|
|
},
|
|
{
|
|
"id": "detail",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Detail",
|
|
"description": "Secondary line under the name, such as an email or a role.",
|
|
"default": "jane@example.com"
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Card palette. Light is the paper card, dark is a near-black card with the matching skeleton bars and text.",
|
|
"default": "light",
|
|
"options": [
|
|
{
|
|
"value": "light",
|
|
"label": "Light"
|
|
},
|
|
{
|
|
"value": "dark",
|
|
"label": "Dark"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/skeleton-reveal.png"
|
|
}
|
|
}
|