Files
hyperframes/registry/components/svg-stroke-trace/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

68 lines
2.1 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "svg-stroke-trace",
"type": "hyperframes:component",
"title": "SVG Stroke Trace",
"description": "An authored SVG path draws from its measured length, holds with subtle drift, and optionally fills when the path is closed.",
"tags": ["motion-primitive", "intro", "reveal", "svg", "stroke", "line-draw"],
"jobs": ["reveal"],
"family": "intros-and-reveals",
"profile": "trace",
"evidence": "Video Primitives Wave I I5 svg-stroke-trace contract",
"syncPoints": [{ "id": "trace-complete", "phase": "in", "offset": 1.55 }],
"files": [
{
"path": "svg-stroke-trace.html",
"target": "compositions/components/svg-stroke-trace.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "path",
"type": "string",
"role": "content",
"label": "Path",
"description": "SVG path data for the authored mark.",
"default": "M 92 328 C 178 142 292 138 366 276 C 430 396 500 414 558 262 C 622 94 724 112 786 274 C 836 406 894 376 930 194"
},
{
"id": "stroke_width",
"type": "number",
"role": "style",
"label": "Stroke width",
"description": "Width of the traced stroke in SVG viewBox units.",
"default": 12,
"min": 2,
"max": 32,
"step": 1
},
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Color used by the trace and optional fill.",
"default": "green",
"options": [
{ "value": "green", "label": "Green" },
{ "value": "blue", "label": "Blue" },
{ "value": "violet", "label": "Violet" }
]
},
{
"id": "exit",
"type": "enum",
"role": "timing",
"label": "Exit",
"description": "Optional departure. Default none: the finished mark holds until the frame cuts.",
"default": "none",
"options": [
{ "value": "none", "label": "None" },
{ "value": "fade", "label": "Fade" },
{ "value": "up", "label": "Up" }
]
}
]
}