fix(registry): align timeline IDs and regenerate catalog index

- Fix timeline_id_mismatch on all 15 caption components: __timelines key
  now matches data-composition-id (e.g. "caption-clip-wipe" not "clip-wipe")
- Regenerate docs/public/catalog-index.json with 15 new caption entries
- Add "Captions" group mapping to generate-catalog-pages.ts (priority 0)
- Regenerate docs.json nav and mdx pages via the catalog script
- Upload docs preview videos to docs/images CDN path
This commit is contained in:
Miguel Ángel
2026-05-17 17:19:42 -04:00
parent 7dc795f60f
commit ae193d99b9
48 changed files with 283 additions and 60 deletions
+3 -2
View File
@@ -519,7 +519,8 @@ function main(): void {
// Items with the same first tag are grouped together. Items without tags
// go into an "Other" group. Groups are sorted with a priority order.
const GROUP_ORDER: Record<string, number> = {
"HTML-in-Canvas": 0,
Captions: 0,
"HTML-in-Canvas": 1,
"Social Overlays": 2,
"Shader Transitions": 3,
"CSS Transitions": 4,
@@ -534,7 +535,7 @@ function main(): void {
// Two-tag combos for specific grouping
if (tags.includes("transition") && tags.includes("shader")) return "Shader Transitions";
if (tags.includes("transition") && tags.includes("showcase")) return "CSS Transitions";
// HTML-in-Canvas and Captions categories
if (tags.includes("captions")) return "Captions";
if (tags.includes("html-in-canvas")) return "HTML-in-Canvas";
// Single-tag mapping
if (tags.includes("social")) return "Social Overlays";