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.
83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "card-resize",
|
|
"type": "hyperframes:component",
|
|
"title": "Card Resize",
|
|
"description": "A transitions.dev-inspired card resize primitive that expands a compact card into a detail panel",
|
|
"tags": ["video-primitive", "transition-primitive", "transitions-dev-port", "card", "layout"],
|
|
"files": [
|
|
{
|
|
"path": "card-resize.html",
|
|
"target": "compositions/components/card-resize.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "surface",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Surface",
|
|
"description": "Card colour scheme: paper is the original white card, ink is a dark card for dark frames.",
|
|
"default": "paper",
|
|
"options": [
|
|
{
|
|
"value": "paper",
|
|
"label": "Paper"
|
|
},
|
|
{
|
|
"value": "ink",
|
|
"label": "Ink"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Treatment of the media thumbnail: a plain plate, a hatched surface, or an image plate with a horizon-and-disc glyph.",
|
|
"default": "ocean",
|
|
"options": [
|
|
{
|
|
"value": "ocean",
|
|
"label": "Ocean"
|
|
},
|
|
{
|
|
"value": "forest",
|
|
"label": "Forest"
|
|
},
|
|
{
|
|
"value": "ember",
|
|
"label": "Ember"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "elevation",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Elevation",
|
|
"description": "How far the card lifts off the frame, from a contact shadow to a deep drop.",
|
|
"default": "raised",
|
|
"options": [
|
|
{
|
|
"value": "flat",
|
|
"label": "Flat"
|
|
},
|
|
{
|
|
"value": "raised",
|
|
"label": "Raised"
|
|
},
|
|
{
|
|
"value": "floating",
|
|
"label": "Floating"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preview": {
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/card-resize.png"
|
|
}
|
|
}
|