mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +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.
75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "oversized-cursor",
|
|
"type": "hyperframes:component",
|
|
"title": "Oversized Cursor",
|
|
"description": "A deliberately oversized macOS-style pointer that enters off-screen, travels to a target, clicks to ignite a visible response, then exits",
|
|
"tags": ["motion-primitive", "actor", "cursor", "pointer", "interaction"],
|
|
"files": [
|
|
{
|
|
"path": "oversized-cursor.html",
|
|
"target": "compositions/components/oversized-cursor.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"jobs": ["demonstrate"],
|
|
"family": "pointers",
|
|
"profile": "interaction",
|
|
"evidence": "spec ready (oversized-cursor SKILL.md); actor file mechanics compose",
|
|
"variables": [
|
|
{
|
|
"id": "cursor_variant",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Cursor fill",
|
|
"default": "light",
|
|
"options": [
|
|
{ "value": "light", "label": "Light (white body)" },
|
|
{ "value": "dark", "label": "Dark (near-black body)" }
|
|
]
|
|
},
|
|
{
|
|
"id": "target_x",
|
|
"type": "number",
|
|
"role": "layout",
|
|
"label": "Target X",
|
|
"default": 55,
|
|
"min": 15,
|
|
"max": 85,
|
|
"step": 1,
|
|
"unit": "%"
|
|
},
|
|
{
|
|
"id": "target_y",
|
|
"type": "number",
|
|
"role": "layout",
|
|
"label": "Target Y",
|
|
"default": 55,
|
|
"min": 15,
|
|
"max": 85,
|
|
"step": 1,
|
|
"unit": "%"
|
|
},
|
|
{
|
|
"id": "click_label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Click label",
|
|
"default": "Generate"
|
|
},
|
|
{
|
|
"id": "exit",
|
|
"type": "enum",
|
|
"role": "timing",
|
|
"label": "Exit",
|
|
"description": "Optional whole-stage departure. Default none: the ignited target stays until the frame cuts.",
|
|
"default": "none",
|
|
"options": [
|
|
{ "value": "none", "label": "None" },
|
|
{ "value": "fade", "label": "Fade" },
|
|
{ "value": "up", "label": "Up" }
|
|
]
|
|
}
|
|
]
|
|
}
|