mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
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.
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "text-shimmer",
|
|
"type": "hyperframes:component",
|
|
"title": "Text Shimmer",
|
|
"description": "A static headline receives one clean specular gradient sweep through its glyphs, then returns to its ordinary text color.",
|
|
"tags": ["motion-primitive", "text-effects", "shimmer", "specular", "emphasis"],
|
|
"jobs": ["emphasize"],
|
|
"family": "text-effects",
|
|
"profile": "drift",
|
|
"evidence": "design-inspiration/INDEX.md and viral-micro-interactions.md, animated text shimmer by jhey Tan",
|
|
"files": [
|
|
{
|
|
"path": "text-shimmer.html",
|
|
"target": "compositions/components/text-shimmer.html",
|
|
"type": "hyperframes:snippet"
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"id": "text",
|
|
"type": "string",
|
|
"role": "content",
|
|
"label": "Headline",
|
|
"description": "Text receiving the single shimmer pass.",
|
|
"default": "Effortless"
|
|
},
|
|
{
|
|
"id": "accent",
|
|
"type": "enum",
|
|
"role": "style",
|
|
"label": "Accent",
|
|
"description": "Hue of the specular shimmer band.",
|
|
"default": "green",
|
|
"options": [
|
|
{ "value": "green", "label": "Green" },
|
|
{ "value": "blue", "label": "Blue" },
|
|
{ "value": "violet", "label": "Violet" }
|
|
]
|
|
},
|
|
{
|
|
"id": "sweep_at",
|
|
"type": "number",
|
|
"role": "timing",
|
|
"label": "Sweep start",
|
|
"description": "Requested start time for the shimmer sweep.",
|
|
"default": 1.2,
|
|
"min": 0.2,
|
|
"max": 2,
|
|
"step": 0.1,
|
|
"unit": "s"
|
|
}
|
|
]
|
|
}
|