mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-04 16:42:27 +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.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "gesture-tap",
|
|
"type": "hyperframes:component",
|
|
"title": "Gesture Tap",
|
|
"description": "A contact circle taps a mobile pill button, releases it into a new labeled accent state, and lifts away.",
|
|
"tags": ["motion-primitive", "gesture", "tap", "interaction", "ui-props"],
|
|
"jobs": ["demonstrate"],
|
|
"family": "ui-props",
|
|
"profile": "interaction",
|
|
"evidence": "Video Primitives v1 Wave F U1 gesture-tap contract",
|
|
"syncPoints": [{ "id": "tap-response", "phase": "in", "offset": 0.72 }],
|
|
"files": [
|
|
{
|
|
"path": "gesture-tap.html",
|
|
"target": "compositions/components/gesture-tap.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "tap_label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Tap label",
|
|
"description": "Button label shown before the tap response.",
|
|
"default": "Follow"
|
|
},
|
|
{
|
|
"id": "response_label",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Response label",
|
|
"description": "Button label shown when the tap releases.",
|
|
"default": "Following"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Color used for the completed button state and response pulse.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
}
|
|
]
|
|
}
|