mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +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.
113 lines
2.7 KiB
JSON
113 lines
2.7 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "success-check",
|
|
"type": "hyperframes:component",
|
|
"title": "Success Check",
|
|
"description": "A success check primitive with ring pop, path draw, and subtle rotate blur",
|
|
"tags": ["video-primitive", "transition-primitive", "transitions-dev-port", "success", "check"],
|
|
"files": [
|
|
{
|
|
"path": "success-check.html",
|
|
"target": "compositions/components/success-check.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "tint",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tint",
|
|
"description": "Colour pair, a pale halo behind a saturated mark. green and amber are literal state colours; blue and violet ride the composition theme tokens.",
|
|
"default": "green",
|
|
"options": [
|
|
{
|
|
"value": "green",
|
|
"label": "Green"
|
|
},
|
|
{
|
|
"value": "blue",
|
|
"label": "Blue"
|
|
},
|
|
{
|
|
"value": "violet",
|
|
"label": "Violet"
|
|
},
|
|
{
|
|
"value": "amber",
|
|
"label": "Amber"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "size",
|
|
"type": "enum",
|
|
"role": "layout",
|
|
"label": "Size",
|
|
"description": "Diameter of the halo and of the mark inside it.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "small",
|
|
"label": "Small"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "large",
|
|
"label": "Large"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "ring",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Ring",
|
|
"description": "Opacity of the circle the tick sits in.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "subtle",
|
|
"label": "Subtle"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "bold",
|
|
"label": "Bold"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "spin",
|
|
"type": "enum",
|
|
"role": "motion",
|
|
"label": "Spin",
|
|
"description": "Multiplies the rotation the timeline drives, so the mark swings less or more into place.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "subtle",
|
|
"label": "Subtle"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "bold",
|
|
"label": "Bold"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/success-check.png"
|
|
}
|
|
}
|