mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 01:56:04 +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.
88 lines
2.8 KiB
JSON
88 lines
2.8 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "grid-card-assemble",
|
|
"type": "hyperframes:component",
|
|
"title": "Grid Card Assemble",
|
|
"description": "N capability cards (thin-line icon that draws on, mono label, optional muted body) stagger-assemble into a grid or vertical list with a fade plus short slide into slot, then hold perfectly still.",
|
|
"tags": ["motion-primitive", "layout", "grid", "list", "stagger", "assemble", "feature-tour"],
|
|
"jobs": ["reveal", "tour"],
|
|
"family": "layout",
|
|
"profile": "assemble",
|
|
"evidence": "Wave J J1-6: hero-shelf layout / feature-tour unit per the adversarial panel recompose",
|
|
"syncPoints": [{ "id": "grid-assembled", "phase": "in", "offset": 1.0 }],
|
|
"files": [
|
|
{
|
|
"path": "grid-card-assemble.html",
|
|
"target": "compositions/components/grid-card-assemble.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "items",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Items",
|
|
"description": "Comma-separated cards (3 to 12). \"Label: body\" adds a one-line muted body under the label.",
|
|
"default": "Capture,Compose,Render,Publish"
|
|
},
|
|
{
|
|
"id": "layout",
|
|
"type": "enum",
|
|
"role": "layout",
|
|
"label": "Layout",
|
|
"description": "Grid wraps by columns; list stacks vertically.",
|
|
"default": "grid",
|
|
"options": [
|
|
{ "value": "grid", "label": "Grid" },
|
|
{ "value": "list", "label": "List" }
|
|
]
|
|
},
|
|
{
|
|
"id": "columns",
|
|
"type": "number",
|
|
"role": "layout",
|
|
"label": "Columns",
|
|
"description": "Grid column count (grid layout only). 0 picks automatically: one row up to 3 items, then ceil(sqrt(N)).",
|
|
"default": 0,
|
|
"min": 0,
|
|
"max": 4,
|
|
"step": 1
|
|
},
|
|
{
|
|
"id": "cues",
|
|
"type": "string",
|
|
"role": "timing",
|
|
"label": "Cues",
|
|
"description": "Comma-separated per-item entrance times in seconds. Blank entries use the default cascade.",
|
|
"default": ""
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Accent token family used by the card icons.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
},
|
|
{
|
|
"id": "exit",
|
|
"type": "enum",
|
|
"role": "timing",
|
|
"label": "Exit",
|
|
"description": "How the assembled layout leaves the frame. Default none: the hold ends the film.",
|
|
"default": "none",
|
|
"options": [
|
|
{ "value": "none", "label": "None" },
|
|
{ "value": "fade", "label": "Fade" },
|
|
{ "value": "up", "label": "Up" }
|
|
]
|
|
}
|
|
]
|
|
}
|