Files
hyperframes/registry/components/panel-reveal/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

66 lines
1.9 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "panel-reveal",
"type": "hyperframes:component",
"title": "Panel Reveal",
"description": "A panel reveal primitive with height expansion and content fade",
"tags": ["transition-primitive", "transitions-dev-port", "panel", "reveal"],
"files": [
{
"path": "panel-reveal.html",
"target": "compositions/components/panel-reveal.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "title",
"type": "string",
"role": "content",
"label": "Title",
"description": "The header line that sits above the folded body.",
"default": "Motion tokens"
},
{
"id": "width",
"type": "enum",
"role": "layout",
"label": "Width",
"description": "How wide the panel sits, 280, 360 or 480 px.",
"default": "standard",
"options": [
{ "value": "narrow", "label": "Narrow" },
{ "value": "standard", "label": "Standard" },
{ "value": "wide", "label": "Wide" }
]
},
{
"id": "tone",
"type": "enum",
"role": "style",
"label": "Tone",
"description": "Surface family: paper is the white card for light frames, ink inverts it for dark frames.",
"default": "paper",
"options": [
{ "value": "paper", "label": "Paper" },
{ "value": "ink", "label": "Ink" }
]
},
{
"id": "reveal",
"type": "enum",
"role": "motion",
"label": "Reveal",
"description": "Whether the body fades in with the height. fade is the shipped motion, solid opens the height only.",
"default": "fade",
"options": [
{ "value": "fade", "label": "Fade" },
{ "value": "solid", "label": "Solid" }
]
}
],
"preview": {
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/panel-reveal.png"
}
}