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.
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "sticky-mock-swap",
|
|
"type": "hyperframes:component",
|
|
"title": "Sticky Mock Swap",
|
|
"description": "A pinned product mock cross-fades through accent-tinted feature states while matching captions rise, hold, and exit beside it.",
|
|
"tags": ["motion-primitive", "product-demo", "sticky", "mock", "crossfade", "feature-tour"],
|
|
"jobs": ["demonstrate"],
|
|
"family": "product-demo",
|
|
"profile": "sticky-swap",
|
|
"evidence": "Vercel and Raycast launch-page motion research: pinned product mock with caption-driven threshold swaps",
|
|
"files": [
|
|
{
|
|
"path": "sticky-mock-swap.html",
|
|
"target": "compositions/components/sticky-mock-swap.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "captions",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Captions",
|
|
"description": "Comma-separated feature captions shown beside the pinned mock.",
|
|
"default": "Instant previews,Zero config,Ship on Friday"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Accent tint used across the mock states.",
|
|
"default": "violet",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
}
|
|
]
|
|
}
|