Files
hyperframes/registry/components/spring-pop/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

53 lines
1.5 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "spring-pop",
"type": "hyperframes:component",
"title": "Spring Pop",
"description": "A badge pops in from a visible near-rest scale, overshoots full size once, and settles cleanly.",
"tags": ["motion-primitive", "effects", "spring", "overshoot", "pop", "reveal"],
"jobs": ["reveal"],
"family": "effects",
"profile": "burst",
"evidence": "Video Primitives v1 Easing section (--ease-overshoot: back.out(1.7), taste rules 4-5) + hyperframes-animation rules/spring-pop-entrance.md playful overshoot variation",
"syncPoints": [{ "id": "pop-settle", "phase": "in", "offset": 0.6 }],
"files": [
{
"path": "spring-pop.html",
"target": "compositions/components/spring-pop.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "overshoot",
"type": "number",
"role": "timing",
"label": "Overshoot",
"description": "Strength passed to the back.out entrance curve.",
"default": 1.7,
"min": 1.1,
"max": 2,
"step": 0.1
},
{
"id": "fromScale",
"type": "number",
"role": "timing",
"label": "Starting scale",
"description": "Scale at the start of the entrance.",
"default": 0.9,
"min": 0.8,
"max": 0.97,
"step": 0.01
},
{
"id": "text",
"type": "string",
"role": "content",
"label": "Label",
"description": "Text displayed inside the badge.",
"default": "New"
}
]
}