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.
91 lines
2.2 KiB
JSON
91 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "dynamic-grid",
|
|
"type": "hyperframes:component",
|
|
"title": "Dynamic Grid",
|
|
"description": "A responsive animated grid background driven by CSS variables for SaaS, code, and data scenes",
|
|
"tags": ["video-primitive", "motion-primitive", "background", "grid", "ui"],
|
|
"files": [
|
|
{
|
|
"path": "dynamic-grid.html",
|
|
"target": "compositions/components/dynamic-grid.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "density",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Density",
|
|
"description": "Cell size of the grid: fine reads as graph paper, coarse as a few large panels.",
|
|
"default": "standard",
|
|
"options": [
|
|
{
|
|
"value": "fine",
|
|
"label": "Fine"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "coarse",
|
|
"label": "Coarse"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "weight",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Weight",
|
|
"description": "Thickness of the grid lines, from a hairline rule to a bold structural grid.",
|
|
"default": "hairline",
|
|
"options": [
|
|
{
|
|
"value": "hairline",
|
|
"label": "Hairline"
|
|
},
|
|
{
|
|
"value": "standard",
|
|
"label": "Standard"
|
|
},
|
|
{
|
|
"value": "bold",
|
|
"label": "Bold"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "tone",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Tone",
|
|
"description": "Line colour: neutral is the translucent white the original ships with, and the accents ride --brand, --accent and --accent-2.",
|
|
"default": "neutral",
|
|
"options": [
|
|
{
|
|
"value": "neutral",
|
|
"label": "Neutral"
|
|
},
|
|
{
|
|
"value": "green",
|
|
"label": "Green"
|
|
},
|
|
{
|
|
"value": "blue",
|
|
"label": "Blue"
|
|
},
|
|
{
|
|
"value": "violet",
|
|
"label": "Violet"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/dynamic-grid.png"
|
|
}
|
|
}
|