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.
81 lines
2.2 KiB
JSON
81 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "simulated-cursor",
|
|
"type": "hyperframes:component",
|
|
"title": "Simulated Cursor",
|
|
"description": "A lightweight cursor pointer and click pulse for product walkthroughs and agent UI demos",
|
|
"tags": ["video-primitive", "motion-primitive", "cursor", "ui", "walkthrough"],
|
|
"files": [
|
|
{
|
|
"path": "simulated-cursor.html",
|
|
"target": "compositions/components/simulated-cursor.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "size",
|
|
"type": "number",
|
|
"role": "layout",
|
|
"label": "Size",
|
|
"description": "Height and width of the pointer in pixels. The click ring scales with it. Values outside the range clamp to the nearest end and anything that is not a number falls back to 44.",
|
|
"default": 44,
|
|
"min": 20,
|
|
"max": 120,
|
|
"step": 2,
|
|
"unit": "px"
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Pointer fill and click ring colour: light reads on dark screens, dark reads on light ones, accent rides --hf-ui-accent.",
|
|
"default": "light",
|
|
"options": [
|
|
{
|
|
"value": "light",
|
|
"label": "Light"
|
|
},
|
|
{
|
|
"value": "dark",
|
|
"label": "Dark"
|
|
},
|
|
{
|
|
"value": "accent",
|
|
"label": "Accent"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "pulse",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Click ring",
|
|
"description": "Weight of the ring the click animation expands: subtle is a thin small ring, bold a thick wide one, none removes the ring entirely.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "subtle",
|
|
"label": "Subtle"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "bold",
|
|
"label": "Bold"
|
|
},
|
|
{
|
|
"value": "none",
|
|
"label": "None"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/simulated-cursor.png"
|
|
}
|
|
}
|