Files
hyperframes/registry/components/micro-transitions/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

88 lines
2.1 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "micro-transitions",
"type": "hyperframes:component",
"title": "Micro Transitions",
"description": "A transitions.dev-inspired pack of badge, dropdown, modal, tabs, tooltip, and success-check micro transitions",
"tags": [
"transition-primitive",
"motion-primitive",
"transitions-dev-port",
"ui",
"transition",
"microinteraction"
],
"files": [
{
"path": "micro-transitions.html",
"target": "compositions/components/micro-transitions.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "badge",
"type": "string",
"role": "content",
"label": "Badge",
"description": "Count inside the notification badge on the bell.",
"default": "3"
},
{
"id": "tooltip",
"type": "string",
"role": "content",
"label": "Tooltip",
"description": "Wording inside the small dark tooltip.",
"default": "Copied"
},
{
"id": "tone",
"type": "enum",
"role": "style",
"label": "Badge tone",
"description": "Colour of the notification badge chip.",
"default": "red",
"options": [
{
"value": "red",
"label": "Red"
},
{
"value": "amber",
"label": "Amber"
},
{
"value": "violet",
"label": "Violet"
}
]
},
{
"id": "travel",
"type": "enum",
"role": "motion",
"label": "Travel",
"description": "Scales how far every panel starts from its resting place before it settles.",
"default": "standard",
"options": [
{
"value": "close",
"label": "Close"
},
{
"value": "standard",
"label": "Standard"
},
{
"value": "far",
"label": "Far"
}
]
}
],
"preview": {
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/micro-transitions.png"
}
}