Files
hyperframes/registry/components/whiteboard-ink/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

82 lines
2.6 KiB
JSON

{
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
"name": "whiteboard-ink",
"type": "hyperframes:component",
"title": "Whiteboard Ink",
"description": "A whiteboard sketch draws one measured stroke at a time while a pen nib follows the active tip. Preset sketches (bulb, flow, rocket) or your own multi-stroke SVG paths via the strokes slot; a path marked data-ink=accent rides the accent token.",
"tags": ["motion-primitive", "intro", "reveal", "svg", "whiteboard", "line-draw", "slot"],
"jobs": ["reveal"],
"family": "intros-and-reveals",
"profile": "ink-draw",
"evidence": "Video Primitives Wave I I8 whiteboard-ink contract; Wave J U-W strokes slot",
"syncPoints": [{ "id": "ink-complete", "phase": "in", "offset": 3.3 }],
"files": [
{
"path": "whiteboard-ink.html",
"target": "compositions/components/whiteboard-ink.html",
"type": "hyperframes:snippet"
}
],
"variables": [
{
"id": "sketch",
"type": "enum",
"role": "content",
"label": "Sketch",
"description": "Authored preset sketch to draw. Ignored when the strokes slot holds custom paths.",
"default": "bulb",
"options": [
{ "value": "bulb", "label": "Bulb" },
{ "value": "flow", "label": "Flow" },
{ "value": "rocket", "label": "Rocket" }
]
},
{
"id": "caption",
"type": "string",
"role": "content",
"label": "Caption",
"description": "Short line shown after the sketch completes.",
"default": "Draw the idea"
},
{
"id": "pen",
"type": "enum",
"role": "style",
"label": "Pen",
"description": "Show or hide the pen nib actor.",
"default": "show",
"options": [
{ "value": "show", "label": "Show" },
{ "value": "hide", "label": "Hide" }
]
},
{
"id": "accent",
"type": "enum",
"role": "style",
"label": "Accent",
"description": "Color used by strokes marked data-ink=accent (one highlight stroke in each preset).",
"default": "green",
"options": [
{ "value": "green", "label": "Green" },
{ "value": "blue", "label": "Blue" },
{ "value": "violet", "label": "Violet" }
]
},
{
"id": "exit",
"type": "enum",
"role": "style",
"label": "Exit",
"description": "How the completed lockup leaves. none holds the final frame.",
"default": "none",
"options": [
{ "value": "none", "label": "None" },
{ "value": "fade", "label": "Fade" },
{ "value": "up", "label": "Up" }
]
}
]
}