Files
hyperframes/registry/components/page-slide/registry-item.json
T
Miguel Ángel 9734578e60 feat(registry): bring back the video-primitive moves (#3169)
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.
2026-08-10 18:46:03 -04:00

81 lines
2.0 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "page-slide",
"type": "hyperframes:component",
"title": "Page Slide",
"description": "A transitions.dev-inspired page slide primitive with outgoing and incoming panels",
"tags": ["video-primitive", "transition-primitive", "transitions-dev-port", "page", "slide"],
"files": [
{
"path": "page-slide.html",
"target": "compositions/components/page-slide.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "label_a",
"type": "string",
"role": "content",
"label": "Outgoing label",
"description": "Label printed on the page that slides out.",
"default": "Dashboard"
},
{
"id": "label_b",
"type": "string",
"role": "content",
"label": "Incoming label",
"description": "Label printed on the page that slides in.",
"default": "Analytics"
},
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Gradient family painted on the incoming page. The outgoing page stays slate.",
"default": "green",
"options": [
{
"value": "green",
"label": "Green"
},
{
"value": "blue",
"label": "Blue"
},
{
"value": "violet",
"label": "Violet"
}
]
},
{
"id": "corner",
"type": "enum",
"role": "style",
"label": "Corner",
"description": "Corner radius of the frame the pages slide inside.",
"default": "round",
"options": [
{
"value": "square",
"label": "Square"
},
{
"value": "soft",
"label": "Soft"
},
{
"value": "round",
"label": "Round"
}
]
}
],
"preview": {
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/page-slide.png"
}
}