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.
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "rubber-band-bumper",
|
|
"type": "hyperframes:component",
|
|
"title": "Rubber Band Bumper",
|
|
"description": "An outgoing panel pulls against increasing resistance, holds at tension, then snaps past an edge with overshoot as the incoming panel settles behind it.",
|
|
"tags": ["motion-primitive", "transition", "rubber-band", "resistance", "overshoot"],
|
|
"jobs": ["bridge"],
|
|
"family": "transitions",
|
|
"profile": "elastic",
|
|
"evidence": "Wave H U33 specification, inspired by the Snapchat and Claude pull-to-refresh motion pattern",
|
|
"syncPoints": [{ "id": "release", "phase": "out", "offset": 0 }],
|
|
"files": [
|
|
{
|
|
"path": "rubber-band-bumper.html",
|
|
"target": "compositions/components/rubber-band-bumper.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "direction",
|
|
"type": "enum",
|
|
"role": "content",
|
|
"label": "Direction",
|
|
"description": "Edge the outgoing panel releases through.",
|
|
"default": "up",
|
|
"options": [
|
|
{ "value": "up", "label": "Up" },
|
|
{ "value": "left", "label": "Left" }
|
|
]
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color applied to the tension bands and incoming panel.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
}
|
|
]
|
|
}
|