@uibot/mcp-server 0.18.1 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/http.js +95 -95
  2. package/dist/resources/bundle.json +1 -1
  3. package/dist/resources/design-md/frontend-principles.design.md +12 -0
  4. package/dist/resources/shells/shadcn-admin-shell.yaml +5 -4
  5. package/dist/resources/templates/auth.yaml +84 -67
  6. package/dist/resources/templates/shadcn-admin.yaml +12210 -122
  7. package/dist/server.js +101 -101
  8. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/licenses/UIBot-LICENSE +21 -0
  9. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/licenses/blocks-icons-LICENSE +46 -0
  10. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/licenses/shadcn-THIRD_PARTY_LICENSE +21 -0
  11. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-apps.json +61 -0
  12. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-chats.json +54 -0
  13. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-dashboard.json +70 -0
  14. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-401.json +54 -0
  15. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-403.json +54 -0
  16. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-404.json +54 -0
  17. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-500.json +54 -0
  18. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-error-503.json +54 -0
  19. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-forgot-password.json +59 -0
  20. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-help.json +53 -0
  21. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-otp.json +59 -0
  22. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-overview.json +62 -0
  23. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-account.json +61 -0
  24. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-appearance.json +61 -0
  25. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-display.json +61 -0
  26. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-notifications.json +61 -0
  27. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings-profile.json +61 -0
  28. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-settings.json +65 -0
  29. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-shell.json +160 -0
  30. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-sign-in-2.json +67 -0
  31. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-sign-in.json +59 -0
  32. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-sign-up.json +59 -0
  33. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-tasks.json +66 -0
  34. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/admin-users.json +66 -0
  35. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/ai-chat.json +74 -0
  36. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/analytics-dashboard.json +65 -0
  37. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-floating.json +54 -0
  38. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-icon-rail.json +54 -0
  39. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-inset.json +54 -0
  40. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-settings.json +54 -0
  41. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-sidebar.json +54 -0
  42. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/app-shell-workspace.json +54 -0
  43. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-centered.json +61 -0
  44. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-enterprise.json +61 -0
  45. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-recovery.json +64 -0
  46. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-registration.json +63 -0
  47. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth-split.json +67 -0
  48. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/auth.json +61 -0
  49. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/blog.json +64 -0
  50. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/charts.json +211 -0
  51. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-artifact.json +49 -0
  52. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-focused.json +49 -0
  53. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-history.json +49 -0
  54. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-knowledge.json +49 -0
  55. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-support.json +49 -0
  56. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/chat-workspace.json +136 -0
  57. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/collection-shared.json +23 -0
  58. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/commerce-workspace.json +69 -0
  59. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/console-billing.json +68 -0
  60. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/console-page.json +289 -0
  61. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/console-shell.json +29 -0
  62. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/content.json +444 -0
  63. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/creation-shared.json +24 -0
  64. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/crm-workspace.json +73 -0
  65. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/crm.json +67 -0
  66. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/dashboard.json +147 -0
  67. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/data-studio.json +368 -0
  68. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/data-table.json +242 -0
  69. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/data.json +398 -0
  70. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-assistant.json +54 -0
  71. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-library.json +49 -0
  72. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-reading.json +49 -0
  73. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-workspace.json +164 -0
  74. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/document-writing.json +49 -0
  75. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/drilldown-menu.json +233 -0
  76. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/ecommerce.json +65 -0
  77. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/education-workspace.json +82 -0
  78. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/feedback.json +331 -0
  79. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/field.json +164 -0
  80. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/form.json +429 -0
  81. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/grid.json +188 -0
  82. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/interactive.json +355 -0
  83. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/item-grid.json +219 -0
  84. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/kanban.json +154 -0
  85. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/layout.json +771 -0
  86. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/lms.json +74 -0
  87. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/marketing.json +402 -0
  88. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/nav.json +257 -0
  89. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/portfolio.json +62 -0
  90. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/presentation.json +454 -0
  91. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/pricing.json +63 -0
  92. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/primitives.json +360 -0
  93. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/saas-landing.json +60 -0
  94. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sections.json +734 -0
  95. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/settings.json +72 -0
  96. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/shadcn-admin-shell.json +49 -0
  97. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/shadcn-admin.json +77 -0
  98. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-01.json +42 -0
  99. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-02.json +42 -0
  100. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-03.json +30 -0
  101. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-04.json +30 -0
  102. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-05.json +36 -0
  103. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-06.json +42 -0
  104. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-07.json +54 -0
  105. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-08.json +54 -0
  106. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-09.json +36 -0
  107. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-10.json +66 -0
  108. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-11.json +30 -0
  109. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-12.json +48 -0
  110. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-13.json +30 -0
  111. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-14.json +30 -0
  112. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-15.json +84 -0
  113. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-16.json +66 -0
  114. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-drilldown.json +29 -0
  115. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/sidebar-primitives.json +155 -0
  116. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/store.json +75 -0
  117. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/support-inbox.json +63 -0
  118. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/team-directory.json +59 -0
  119. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/uibot-base.json +30 -0
  120. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/r/workspace.json +174 -0
  121. package/dist/snapshots/b21e710e6bf4850f18adb9af1b9d48aa59852516ad54fa63926aed9b07943545/snapshot.json +1 -0
  122. package/package.json +9 -9
@@ -0,0 +1,734 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "sections",
4
+ "type": "registry:ui",
5
+ "description": "Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '×'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.",
6
+ "dependencies": [
7
+ "react@19.3.0"
8
+ ],
9
+ "registryDependencies": [
10
+ "@uibot/uibot-base"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "components/uibot/sections.tsx",
15
+ "target": "components/uibot/sections.tsx",
16
+ "content": "import type { ReactElement, ReactNode } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport type { RendererComponent } from \"@/lib/uibot-renderer\";\n\n/**\n * \"Schematic Editorial\" section / layout blocks — tranche 3.\n *\n * A breadth-expanding batch of **original** marketing & layout primitives that\n * widen UIBot's catalog toward the category coverage of large design-system kits\n * (announcement banners, alternating feature splits, comparison tables, roadmap\n * timelines, metric spotlights, benefit lists, footers, content accordions,\n * sparkline metric cards, caption galleries) while staying first-party\n * implementations.\n *\n * Design rules these follow (identical to presentation/content/marketing.tsx):\n * ① Work in any context off the core theme tokens (foreground / muted /\n * border / primary / card); under a `.marketing` scope they pick up the\n * brand serif (`--font-display`), mono (`--font-marketing-mono`) and warm\n * amber / teal / rose / indigo accents (`--marketing-accent`,\n * `--mk-accent-2..4`) plus the hairline `.mkt-card` material with hover lift.\n * ② Light + dark via tokens / `color-mix` — no hard-coded colours.\n * ③ Pure SVG / CSS — zero new npm dependencies (icons map to a small inline\n * SVG set, mirroring the sibling block files so specs share icon names).\n * ④ Each ships a full CatalogEntry (see ../catalog.ts).\n *\n * CTA props ({label, href}) render as accessible anchors, matching the sibling\n * blocks' convention.\n */\n\nfunction str(v: unknown): string | undefined {\n return typeof v === \"string\" && v.length > 0 ? v : undefined;\n}\n\nfunction strArr(raw: unknown): string[] {\n if (!Array.isArray(raw)) return [];\n return raw.map((v) => str(v)).filter((v): v is string => Boolean(v));\n}\n\nfunction records(raw: unknown): Record<string, unknown>[] {\n if (!Array.isArray(raw)) return [];\n return raw.filter((it): it is Record<string, unknown> => Boolean(it) && typeof it === \"object\");\n}\n\nfunction num(v: unknown): number | undefined {\n const n = Number(v);\n return Number.isFinite(n) ? n : undefined;\n}\n\n/** Clamp a 0-based accent index into the four-hue tint palette (0..3). */\nfunction tintIndex(raw: unknown, fallback = 0): number {\n const n = Number(raw);\n return Number.isFinite(n) ? ((Math.trunc(n) % 4) + 4) % 4 : fallback;\n}\n\ninterface Cta {\n label: string;\n href: string;\n}\n\nfunction parseCta(raw: unknown): Cta | undefined {\n if (!raw || typeof raw !== \"object\") return undefined;\n const rec = raw as Record<string, unknown>;\n const label = str(rec[\"label\"]);\n const href = str(rec[\"href\"]);\n if (!label) return undefined;\n return { label, href: href ?? \"#\" };\n}\n\n// ── Inline icon set (lucide-compatible names, no runtime dep) ──────────────────\n// Mirrors the sibling block files so specs reuse the same icon vocabulary;\n// unknown names fall back to a dot so a block never throws on an unmapped icon.\n\nconst ICON_PATHS: Record<string, ReactNode> = {\n sparkles: <path d=\"M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z\" />,\n zap: <path d=\"M13 2 4 14h7l-1 8 9-12h-7z\" />,\n layers: (\n <>\n <path d=\"m12 3 9 5-9 5-9-5 9-5z\" />\n <path d=\"m3 12 9 5 9-5\" />\n </>\n ),\n boxes: (\n <>\n <rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\" />\n <rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\" />\n <rect x=\"8.5\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\" />\n </>\n ),\n code: <path d=\"m8 6-6 6 6 6M16 6l6 6-6 6\" />,\n cpu: (\n <>\n <rect x=\"6\" y=\"6\" width=\"12\" height=\"12\" rx=\"2\" />\n <path d=\"M9 1v3M15 1v3M9 20v3M15 20v3M1 9h3M1 15h3M20 9h3M20 15h3\" />\n </>\n ),\n workflow: (\n <>\n <rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\" />\n <rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\" />\n <path d=\"M10 6.5h6a2 2 0 0 1 2 2V14\" />\n </>\n ),\n gauge: (\n <>\n <path d=\"M3 14a9 9 0 1 1 18 0\" />\n <path d=\"m13 12-3 3\" />\n </>\n ),\n shield: <path d=\"M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z\" />,\n wand: <path d=\"m15 4 5 5M4 20 14 10M9 4l1 2 2 1-2 1-1 2-1-2-2-1 2-1z\" />,\n info: (\n <>\n <circle cx=\"12\" cy=\"12\" r=\"9\" />\n <path d=\"M12 11v5M12 7.5h.01\" />\n </>\n ),\n check: <path d=\"m20 6-11 11-5-5\" />,\n alert: (\n <>\n <path d=\"M12 3 2 20h20L12 3z\" />\n <path d=\"M12 10v4M12 17.5h.01\" />\n </>\n ),\n rocket: (\n <>\n <path d=\"M5 16c-1.5 1.5-2 5-2 5s3.5-.5 5-2a3 3 0 0 0-3-3z\" />\n <path d=\"M9 14c-1-2 0-6 3.5-9.5C15 2 19 2 21 3c1 2 1 6-1.5 8.5C16 15 12 16 10 15z\" />\n <circle cx=\"15\" cy=\"9\" r=\"1.4\" />\n </>\n ),\n flag: (\n <>\n <path d=\"M4 22V4\" />\n <path d=\"M4 4h13l-2 4 2 4H4\" />\n </>\n ),\n star: <path d=\"m12 3 2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.6 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z\" />,\n heart: (\n <path d=\"M12 20s-7-4.5-9.3-9C1.2 8 2.8 4.6 6.2 4.6c2 0 3.2 1.2 3.8 2.2.6-1 1.8-2.2 3.8-2.2 3.4 0 5 3.4 3.5 6.4C19 15.5 12 20 12 20z\" />\n ),\n globe: (\n <>\n <circle cx=\"12\" cy=\"12\" r=\"9\" />\n <path d=\"M3 12h18M12 3c2.5 2.6 2.5 15.4 0 18M12 3c-2.5 2.6-2.5 15.4 0 18\" />\n </>\n ),\n lock: (\n <>\n <rect x=\"5\" y=\"11\" width=\"14\" height=\"9\" rx=\"2\" />\n <path d=\"M8 11V8a4 4 0 0 1 8 0v3\" />\n </>\n ),\n clock: (\n <>\n <circle cx=\"12\" cy=\"12\" r=\"9\" />\n <path d=\"M12 7v5l3 2\" />\n </>\n ),\n x: <path d=\"M6 6l12 12M18 6 6 18\" />,\n};\n\nfunction Icon({\n name,\n className = \"size-5\",\n}: {\n name?: string | undefined;\n className?: string;\n}): ReactElement {\n const path = (name && ICON_PATHS[name.toLowerCase()]) || <circle cx=\"12\" cy=\"12\" r=\"3\" />;\n return (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.6}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n aria-hidden=\"true\"\n >\n {path}\n </svg>\n );\n}\n\n// ── Shared CTA anchor ────────────────────────────────────────────────────────────\n\nfunction CtaLink({\n cta,\n variant,\n size = \"md\",\n}: {\n cta: Cta;\n variant: \"primary\" | \"outline\" | \"inverse\" | \"ghost\";\n size?: \"sm\" | \"md\";\n}): ReactElement {\n const sizes: Record<string, string> = {\n sm: \"px-3.5 py-1.5 text-xs\",\n md: \"px-5 py-2.5 text-sm\",\n };\n const base = cn(\n \"inline-flex items-center justify-center gap-2 rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2\",\n sizes[size],\n );\n const variants: Record<typeof variant, string> = {\n primary:\n \"bg-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)] hover:bg-[var(--marketing-accent-strong)] focus-visible:ring-[var(--marketing-accent)]\",\n outline:\n \"border border-border bg-transparent text-foreground hover:border-[var(--marketing-accent)] hover:text-[var(--marketing-accent)] focus-visible:ring-border\",\n inverse:\n \"bg-gradient-to-r from-[var(--marketing-accent)] to-[var(--mk-accent-3)] text-[var(--marketing-accent-foreground)] hover:opacity-90 focus-visible:ring-[var(--marketing-accent)]\",\n ghost:\n \"text-[var(--marketing-accent)] underline-offset-4 hover:underline focus-visible:ring-[var(--marketing-accent)]\",\n };\n return (\n <a href={cta.href} className={cn(base, variants[variant])}>\n {cta.label}\n </a>\n );\n}\n\n// ── Banner ──────────────────────────────────────────────────────────────────────\n\n/**\n * Top-of-page announcement bar. A slim full-width strip with an optional icon,\n * a message, an optional inline CTA link and a decorative dismiss \"×\". `tone`\n * switches the wash between the four brand accents; `solid` fills the strip with\n * the accent instead of a soft tint.\n */\nexport const Banner: RendererComponent = (props) => {\n const tone = tintIndex(props[\"tone\"], 0);\n const solid = Boolean(props[\"solid\"]);\n const icon = str(props[\"icon\"]) ?? \"sparkles\";\n const message = str(props[\"message\"]) ?? \"\";\n const cta = parseCta(props[\"cta\"]);\n const dismissible = props[\"dismissible\"] !== false;\n\n return (\n <div\n className={cn(\n \"marketing relative w-full px-4 py-2.5 text-center text-sm\",\n solid\n ? \"text-[var(--marketing-accent-foreground)]\"\n : \"border-b border-border text-foreground mkt-tint\",\n !solid && `mkt-tint-${tone}`,\n )}\n data-uibot-type=\"Banner\"\n style={\n solid\n ? {\n background: `var(${[\"--marketing-accent\", \"--mk-accent-2\", \"--mk-accent-3\", \"--mk-accent-4\"][tone]})`,\n }\n : undefined\n }\n role=\"region\"\n aria-label=\"Announcement\"\n >\n <div className=\"mx-auto flex max-w-6xl flex-wrap items-center justify-center gap-x-3 gap-y-1\">\n <span className=\"inline-flex items-center gap-2\">\n <Icon name={icon} className=\"size-4 shrink-0\" />\n <span className=\"font-medium\">{message}</span>\n </span>\n {cta && (\n <a\n href={cta.href}\n className={cn(\n \"inline-flex items-center gap-1 font-[family-name:var(--font-marketing-mono)] text-xs font-semibold uppercase tracking-[0.12em] underline-offset-4 hover:underline\",\n solid ? \"\" : \"text-[var(--marketing-accent)]\",\n )}\n >\n {cta.label}\n <Icon name=\"code\" className=\"size-3.5 rotate-180 [transform:rotateY(180deg)]\" />\n </a>\n )}\n </div>\n {dismissible && (\n <span\n aria-hidden=\"true\"\n className=\"absolute right-3 top-1/2 inline-flex size-6 -translate-y-1/2 items-center justify-center rounded-md opacity-60 hover:opacity-100\"\n >\n <Icon name=\"x\" className=\"size-4\" />\n </span>\n )}\n </div>\n );\n};\n\n// ── FeatureSplit ──────────────────────────────────────────────────────────────────\n\ninterface SplitBullet {\n icon?: string | undefined;\n text: string;\n}\n\nfunction parseBullets(raw: unknown): SplitBullet[] {\n if (!Array.isArray(raw)) return [];\n return raw\n .map((b): SplitBullet | undefined => {\n if (typeof b === \"string\") return b.length > 0 ? { text: b } : undefined;\n if (b && typeof b === \"object\") {\n const rec = b as Record<string, unknown>;\n const text = str(rec[\"text\"]) ?? \"\";\n return text.length > 0 ? { icon: str(rec[\"icon\"]), text } : undefined;\n }\n return undefined;\n })\n .filter((b): b is SplitBullet => Boolean(b));\n}\n\n/**\n * Alternating two-column feature section: an editorial text column (eyebrow,\n * serif title, body, bullet list, optional CTA) beside a visual column. The\n * visual renders the `visual` slot (or children) — typically a BrowserFrame or a\n * rendered preview — falling back to a tinted blueprint placeholder. `reverse`\n * flips the column order for an alternating rhythm down a page.\n */\nexport const FeatureSplit: RendererComponent = (props, ctx) => {\n const eyebrow = str(props[\"eyebrow\"]);\n const title = str(props[\"title\"]) ?? \"\";\n const body = str(props[\"body\"]);\n const bullets = parseBullets(props[\"bullets\"]);\n const cta = parseCta(props[\"cta\"]);\n const reverse = Boolean(props[\"reverse\"]);\n const tone = tintIndex(props[\"tone\"], 0);\n const visual = (ctx.slots[\"visual\"] as ReactNode[] | undefined) ?? (ctx.children as ReactNode[]);\n const hasVisual = visual && visual.length > 0;\n\n return (\n <section className=\"marketing mx-auto max-w-6xl px-6 md:px-0\" data-uibot-type=\"FeatureSplit\">\n <div\n className={cn(\n \"grid items-center gap-10 md:grid-cols-2 md:gap-14\",\n reverse && \"md:[direction:rtl]\",\n )}\n >\n <div className={cn(\"max-w-xl md:[direction:ltr]\")}>\n {eyebrow && <p className=\"mkt-eyebrow\">{eyebrow}</p>}\n <h2 className=\"mt-4 text-3xl md:text-4xl\">{title}</h2>\n {body && <p className=\"mt-4 text-base leading-relaxed text-muted-foreground\">{body}</p>}\n {bullets.length > 0 && (\n <ul className=\"mt-6 flex flex-col gap-3\">\n {bullets.map((b, i) => (\n <li key={i} className=\"flex items-start gap-3 text-sm text-foreground/90\">\n <span\n className={cn(\n \"mt-0.5 inline-flex size-6 shrink-0 items-center justify-center rounded-md border mkt-tint\",\n `mkt-tint-${tone}`,\n )}\n >\n <Icon name={b.icon ?? \"check\"} className=\"size-3.5\" />\n </span>\n <span className=\"leading-relaxed\">{b.text}</span>\n </li>\n ))}\n </ul>\n )}\n {cta && (\n <div className=\"mt-8\">\n <CtaLink cta={cta} variant=\"primary\" />\n </div>\n )}\n </div>\n <div className=\"md:[direction:ltr]\">\n {hasVisual ? (\n visual\n ) : (\n <div\n className={cn(\n \"mkt-card flex aspect-[4/3] items-center justify-center [background-image:radial-gradient(color-mix(in_oklch,var(--border)_80%,transparent)_1px,transparent_1px)] [background-size:18px_18px]\",\n )}\n >\n <span\n className={cn(\n \"inline-flex size-14 items-center justify-center rounded-xl border mkt-tint\",\n `mkt-tint-${tone}`,\n )}\n >\n <Icon name=\"layers\" className=\"size-7\" />\n </span>\n </div>\n )}\n </div>\n </div>\n </section>\n );\n};\n\n// ── ComparisonTable ────────────────────────────────────────────────────────────\n\ninterface CompareColumn {\n name: string;\n highlighted?: boolean | undefined;\n}\n\ninterface CompareRow {\n feature: string;\n values: unknown[];\n}\n\nfunction parseColumns(raw: unknown): CompareColumn[] {\n if (Array.isArray(raw) && raw.every((v) => typeof v === \"string\")) {\n return strArr(raw).map((name) => ({ name }));\n }\n return records(raw)\n .map((c) => ({ name: str(c[\"name\"]) ?? \"\", highlighted: Boolean(c[\"highlighted\"]) }))\n .filter((c) => c.name.length > 0);\n}\n\nfunction parseRows(raw: unknown): CompareRow[] {\n return records(raw)\n .map((r) => ({\n feature: str(r[\"feature\"]) ?? \"\",\n values: Array.isArray(r[\"values\"]) ? (r[\"values\"] as unknown[]) : [],\n }))\n .filter((r) => r.feature.length > 0);\n}\n\n/** Render one comparison cell: ✓ / ✗ for booleans, else the verbatim string. */\nfunction CompareCell({ value }: { value: unknown }): ReactElement {\n if (value === true || value === \"true\" || value === \"yes\") {\n return (\n <span className=\"inline-flex text-[var(--marketing-accent)]\" aria-label=\"Yes\">\n <Icon name=\"check\" className=\"size-4\" />\n </span>\n );\n }\n if (value === false || value === \"false\" || value === \"no\" || value === \"\" || value == null) {\n return (\n <span className=\"inline-flex text-muted-foreground/40\" aria-label=\"No\">\n <Icon name=\"x\" className=\"size-4\" />\n </span>\n );\n }\n return <span className=\"text-sm text-foreground/90\">{String(value)}</span>;\n}\n\n/**\n * Feature comparison table across products/plans. The header row lists columns\n * (a `highlighted` column gets an amber-washed spine); each body row pairs a\n * feature label with one value per column — booleans render as amber check /\n * muted cross glyphs, strings render verbatim. Horizontally scrollable on small\n * screens.\n */\nexport const ComparisonTable: RendererComponent = (props) => {\n const columns = parseColumns(props[\"columns\"]);\n const rows = parseRows(props[\"rows\"]);\n const featureLabel = str(props[\"featureLabel\"]) ?? \"\";\n\n return (\n <section className=\"marketing mx-auto max-w-6xl px-6 md:px-0\" data-uibot-type=\"ComparisonTable\">\n <div className=\"overflow-x-auto rounded-xl border border-border bg-card\">\n <table className=\"w-full border-collapse text-left\">\n <thead>\n <tr className=\"border-b border-border\">\n <th className=\"px-5 py-4 font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-muted-foreground\">\n {featureLabel}\n </th>\n {columns.map((c, i) => (\n <th\n key={i}\n className={cn(\n \"px-5 py-4 text-center text-sm font-semibold text-foreground\",\n c.highlighted &&\n \"bg-[color-mix(in_oklch,var(--marketing-accent)_8%,transparent)] text-[var(--marketing-accent)]\",\n )}\n >\n {c.name}\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {rows.map((r, ri) => (\n <tr key={ri} className=\"border-b border-border last:border-0\">\n <th\n scope=\"row\"\n className=\"px-5 py-3.5 text-left text-sm font-medium text-foreground\"\n >\n {r.feature}\n </th>\n {columns.map((c, ci) => (\n <td\n key={ci}\n className={cn(\n \"px-5 py-3.5 text-center\",\n c.highlighted &&\n \"bg-[color-mix(in_oklch,var(--marketing-accent)_6%,transparent)]\",\n )}\n >\n <CompareCell value={r.values[ci]} />\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n </section>\n );\n};\n\n// ── Roadmap ──────────────────────────────────────────────────────────────────────\n\ntype MilestoneState = \"done\" | \"active\" | \"planned\";\n\ninterface Milestone {\n date?: string | undefined;\n title: string;\n desc?: string | undefined;\n state: MilestoneState;\n}\n\nfunction parseMilestones(raw: unknown): Milestone[] {\n return records(raw)\n .map((m) => {\n const s = str(m[\"state\"]);\n const state: MilestoneState =\n s === \"done\" || s === \"active\" || s === \"planned\" ? s : \"planned\";\n return {\n date: str(m[\"date\"]),\n title: str(m[\"title\"]) ?? \"\",\n desc: str(m[\"desc\"]),\n state,\n };\n })\n .filter((m) => m.title.length > 0);\n}\n\nconst MILESTONE_DOT: Record<MilestoneState, string> = {\n done: \"bg-[var(--marketing-accent)] border-[var(--marketing-accent)] text-[var(--marketing-accent-foreground)]\",\n active:\n \"border-[var(--marketing-accent)] text-[var(--marketing-accent)] bg-card ring-4 ring-[color-mix(in_oklch,var(--marketing-accent)_20%,transparent)]\",\n planned: \"border-border text-muted-foreground bg-card\",\n};\n\nconst MILESTONE_GLYPH: Record<MilestoneState, string> = {\n done: \"check\",\n active: \"rocket\",\n planned: \"flag\",\n};\n\n/**\n * Product roadmap / milestone timeline. A vertical rail with one node per\n * milestone; node state (`done` / `active` / `planned`) drives the dot styling\n * — a filled amber check for shipped, an amber ring + rocket for in-progress, an\n * outline flag for planned. Distinct from the data-studio TimelineList (which is\n * an operational activity log); this is a marketing roadmap presentation.\n */\nexport const Roadmap: RendererComponent = (props) => {\n const milestones = parseMilestones(props[\"milestones\"]);\n\n return (\n <ol className=\"marketing mx-auto max-w-3xl px-6 md:px-0\" data-uibot-type=\"Roadmap\">\n {milestones.map((m, i) => (\n <li key={i} className=\"relative flex gap-5 pb-8 last:pb-0\">\n {i < milestones.length - 1 && (\n <span\n aria-hidden=\"true\"\n className=\"absolute left-[1.375rem] top-12 bottom-0 w-px bg-border\"\n />\n )}\n <span\n className={cn(\n \"relative z-10 inline-flex size-11 shrink-0 items-center justify-center rounded-full border\",\n MILESTONE_DOT[m.state],\n )}\n >\n <Icon name={MILESTONE_GLYPH[m.state]} className=\"size-5\" />\n </span>\n <div className=\"pt-1\">\n {m.date && (\n <p className=\"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-[var(--marketing-accent)]\">\n {m.date}\n </p>\n )}\n <h3 className=\"mt-1 text-xl\">{m.title}</h3>\n {m.desc && (\n <p className=\"mt-1.5 text-sm leading-relaxed text-muted-foreground\">{m.desc}</p>\n )}\n </div>\n </li>\n ))}\n </ol>\n );\n};\n\n// ── StatHighlight ──────────────────────────────────────────────────────────────\n\n/**\n * Single big-number spotlight. An oversized serif value with an optional trend\n * delta (up = amber, down = rose), a mono label and supporting copy. Use to draw\n * the eye to one headline metric between sections — distinct from StatBand\n * (a multi-stat row).\n */\nexport const StatHighlight: RendererComponent = (props) => {\n const value = str(props[\"value\"]) ?? \"\";\n const label = str(props[\"label\"]);\n const body = str(props[\"body\"]);\n const delta = str(props[\"delta\"]);\n const trend = str(props[\"trend\"]); // \"up\" | \"down\"\n const down = trend === \"down\";\n\n return (\n <section\n className=\"marketing mx-auto max-w-3xl px-6 text-center md:px-0\"\n data-uibot-type=\"StatHighlight\"\n >\n <div className=\"flex items-end justify-center gap-3\">\n <span className=\"mkt-display text-6xl leading-none md:text-8xl\">{value}</span>\n {delta && (\n <span\n className={cn(\n \"mb-2 inline-flex items-center gap-1 rounded-full px-2.5 py-1 font-[family-name:var(--font-marketing-mono)] text-xs font-semibold\",\n down\n ? \"bg-[color-mix(in_oklch,var(--mk-accent-3)_16%,transparent)] text-[var(--mk-accent-3)]\"\n : \"bg-[color-mix(in_oklch,var(--marketing-accent)_18%,transparent)] text-[var(--marketing-accent)]\",\n )}\n >\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2.2}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={cn(\"size-3.5\", down && \"rotate-180\")}\n aria-hidden=\"true\"\n >\n <path d=\"M12 19V5M6 11l6-6 6 6\" />\n </svg>\n {delta}\n </span>\n )}\n </div>\n {label && (\n <p className=\"mt-4 font-[family-name:var(--font-marketing-mono)] text-sm uppercase tracking-[0.2em] text-muted-foreground\">\n {label}\n </p>\n )}\n {body && (\n <p className=\"mx-auto mt-3 max-w-xl text-base leading-relaxed text-muted-foreground\">\n {body}\n </p>\n )}\n </section>\n );\n};\n\n// ── IconList ──────────────────────────────────────────────────────────────────────\n\ninterface BenefitItem {\n icon?: string | undefined;\n title: string;\n desc?: string | undefined;\n}\n\nfunction parseBenefits(raw: unknown): BenefitItem[] {\n if (!Array.isArray(raw)) return [];\n return raw\n .map((b): BenefitItem | undefined => {\n if (typeof b === \"string\") return b.length > 0 ? { title: b } : undefined;\n if (b && typeof b === \"object\") {\n const rec = b as Record<string, unknown>;\n const title = str(rec[\"title\"]) ?? \"\";\n return title.length > 0\n ? { icon: str(rec[\"icon\"]), title, desc: str(rec[\"desc\"]) }\n : undefined;\n }\n return undefined;\n })\n .filter((b): b is BenefitItem => Boolean(b));\n}\n\nconst ICONLIST_COLS: Record<string, string> = {\n \"1\": \"\",\n \"2\": \"sm:grid-cols-2\",\n \"3\": \"sm:grid-cols-2 lg:grid-cols-3\",\n};\n\n/**\n * Benefit / checklist list with icons. Each item shows a tinted icon chip, a\n * title and optional supporting line. `columns` (1–3) lays the items into a\n * grid; tints cycle the four accents. Lighter-weight than FeatureGrid (no card\n * material) — for inline benefit/checklist runs.\n */\nexport const IconList: RendererComponent = (props) => {\n const items = parseBenefits(props[\"items\"]);\n const cols = String(props[\"columns\"] ?? \"2\");\n const colsCls = ICONLIST_COLS[cols] ?? ICONLIST_COLS[\"2\"];\n const defaultIcon = str(props[\"icon\"]) ?? \"check\";\n\n return (\n <section className=\"marketing mx-auto max-w-5xl px-6 md:px-0\" data-uibot-type=\"IconList\">\n <ul className={cn(\"grid grid-cols-1 gap-x-8 gap-y-6\", colsCls)}>\n {items.map((b, i) => (\n <li key={i} className=\"flex items-start gap-3.5\">\n <span\n className={cn(\n \"mt-0.5 inline-flex size-9 shrink-0 items-center justify-center rounded-lg border mkt-tint\",\n `mkt-tint-${i % 4}`,\n )}\n >\n <Icon name={b.icon ?? defaultIcon} className=\"size-4\" />\n </span>\n <div className=\"min-w-0\">\n <p className=\"font-medium text-foreground\">{b.title}</p>\n {b.desc && (\n <p className=\"mt-1 text-sm leading-relaxed text-muted-foreground\">{b.desc}</p>\n )}\n </div>\n </li>\n ))}\n </ul>\n </section>\n );\n};\n\n// ── Footer ──────────────────────────────────────────────────────────────────────\n\ninterface FooterLink {\n label: string;\n href: string;\n}\n\ninterface FooterGroup {\n title: string;\n links: FooterLink[];\n}\n\nfunction parseFooterGroups(raw: unknown): FooterGroup[] {\n return records(raw)\n .map((g) => ({\n title: str(g[\"title\"]) ?? \"\",\n links: records(g[\"links\"])\n .map((l) => ({ label: str(l[\"label\"]) ?? \"\", href: str(l[\"href\"]) ?? \"#\" }))\n .filter((l) => l.label.length > 0),\n }))\n .filter((g) => g.title.length > 0 || g.links.length > 0);\n}\n\n/**\n * Multi-column marketing footer. A brand block (mono wordmark + tagline) sits\n * beside grouped link columns; a bottom rule carries an optional copyright line\n * and small print. Pure layout off theme tokens; under `.marketing` the brand\n * wordmark uses the serif display face.\n */\nexport const Footer: RendererComponent = (props) => {\n const brand = str(props[\"brand\"]) ?? \"\";\n const tagline = str(props[\"tagline\"]);\n const groups = parseFooterGroups(props[\"groups\"]);\n const copyright = str(props[\"copyright\"]);\n const note = str(props[\"note\"]);\n\n return (\n <footer\n className=\"marketing border-t border-border bg-card/40 px-6 py-14 md:px-10\"\n data-uibot-type=\"Footer\"\n >\n <div className=\"mx-auto grid max-w-6xl gap-10 md:grid-cols-[1.4fr_2.6fr]\">\n <div className=\"max-w-sm\">\n {brand && <p className=\"mkt-display text-2xl\">{brand}</p>}\n {tagline && (\n <p className=\"mt-3 text-sm leading-relaxed text-muted-foreground\">{tagline}</p>\n )}\n </div>\n {groups.length > 0 && (\n <div className=\"grid grid-cols-2 gap-8 sm:grid-cols-3\">\n {groups.map((g, i) => (\n <div key={i}>\n <p className=\"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.16em] text-muted-foreground\">\n {g.title}\n </p>\n <ul className=\"mt-4 flex flex-col gap-2.5\">\n {g.links.map((l, li) => (\n <li key={li}>\n <a\n href={l.href}\n className=\"text-sm text-foreground/80 underline-offset-4 transition-colors hover:text-[var(--marketing-accent)] hover:underline\"\n >\n {l.label}\n </a>\n </li>\n ))}\n </ul>\n </div>\n ))}\n </div>\n )}\n </div>\n {(copyright || note) && (\n <div className=\"mx-auto mt-12 flex max-w-6xl flex-col items-start justify-between gap-2 border-t border-border pt-6 text-xs text-muted-foreground sm:flex-row sm:items-center\">\n {copyright && <span>{copyright}</span>}\n {note && (\n <span className=\"font-[family-name:var(--font-marketing-mono)] uppercase tracking-[0.14em]\">\n {note}\n </span>\n )}\n </div>\n )}\n </footer>\n );\n};\n\n// ── AccordionList ────────────────────────────────────────────────────────────────\n\ninterface AccordionItem {\n icon?: string | undefined;\n title: string;\n body: string;\n}\n\nfunction parseAccordionItems(raw: unknown): AccordionItem[] {\n return records(raw)\n .map((it) => ({\n icon: str(it[\"icon\"]),\n title: str(it[\"title\"]) ?? \"\",\n body: str(it[\"body\"]) ?? \"\",\n }))\n .filter((it) => it.title.length > 0);\n}\n\n/**\n * General-purpose content accordion built on native <details>/<summary> — fully\n * functional with zero JS / state wiring. Each row carries an optional leading\n * icon chip, a title and a body, separated as standalone hairline cards (vs. the\n * Faq block's single divided card). `defaultOpenFirst` opens the first row.\n */\nexport const AccordionList: RendererComponent = (props) => {\n const title = str(props[\"title\"]);\n const items = parseAccordionItems(props[\"items\"]);\n const openFirst = Boolean(props[\"defaultOpenFirst\"]);\n\n return (\n <section className=\"marketing mx-auto max-w-3xl px-6 md:px-0\" data-uibot-type=\"AccordionList\">\n {title && <h2 className=\"mb-6 text-3xl md:text-4xl\">{title}</h2>}\n <div className=\"flex flex-col gap-3\">\n {items.map((it, i) => (\n <details\n key={i}\n open={openFirst && i === 0}\n className=\"group mkt-card overflow-hidden p-0 [&_summary::-webkit-details-marker]:hidden\"\n >\n <summary className=\"flex cursor-pointer list-none items-center gap-3.5 px-5 py-4 text-base font-medium text-foreground\">\n {it.icon && (\n <span\n className={cn(\n \"inline-flex size-8 shrink-0 items-center justify-center rounded-lg border mkt-tint\",\n `mkt-tint-${i % 4}`,\n )}\n >\n <Icon name={it.icon} className=\"size-4\" />\n </span>\n )}\n <span className=\"flex-1\">{it.title}</span>\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={1.8}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"size-4 shrink-0 text-muted-foreground transition-transform duration-200 group-open:rotate-180\"\n aria-hidden=\"true\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </summary>\n {it.body && (\n <p className=\"px-5 pb-5 text-sm leading-relaxed text-muted-foreground\">{it.body}</p>\n )}\n </details>\n ))}\n </div>\n </section>\n );\n};\n\n// ── MetricCard ──────────────────────────────────────────────────────────────────\n\n/** Build an SVG sparkline polyline + area path from a numeric series. */\nfunction sparkline(\n points: number[],\n w: number,\n h: number,\n pad = 2,\n): { line: string; area: string } {\n if (points.length === 0) return { line: \"\", area: \"\" };\n const min = Math.min(...points);\n const max = Math.max(...points);\n const span = max - min || 1;\n const stepX = points.length > 1 ? (w - pad * 2) / (points.length - 1) : 0;\n const coords = points.map((p, i) => {\n const x = pad + i * stepX;\n const y = pad + (h - pad * 2) * (1 - (p - min) / span);\n return [x, y] as const;\n });\n const line = coords.map(([x, y]) => `${x.toFixed(1)},${y.toFixed(1)}`).join(\" \");\n const first = coords[0]!;\n const last = coords[coords.length - 1]!;\n const baseline = (h - pad).toFixed(1);\n const through = coords.map(([x, y]) => `L${x.toFixed(1)},${y.toFixed(1)}`).join(\" \");\n const area = `M${first[0].toFixed(1)},${baseline} ${through} L${last[0].toFixed(1)},${baseline} Z`;\n return { line, area };\n}\n\n/**\n * KPI metric card with an inline SVG sparkline. Shows a label, a big value, a\n * trend delta (up = amber, down = rose) and a pure-SVG sparkline drawn from a\n * `points` series — no chart dependency. A `.mkt-card` with hover lift; tint\n * selects the accent hue. Designed to sit in a Grid/StatGrid for a metrics row.\n */\nexport const MetricCard: RendererComponent = (props) => {\n const label = str(props[\"label\"]);\n const value = str(props[\"value\"]) ?? \"\";\n const delta = str(props[\"delta\"]);\n const trend = str(props[\"trend\"]); // \"up\" | \"down\"\n const down = trend === \"down\";\n const tone = tintIndex(props[\"tone\"], 0);\n const points = Array.isArray(props[\"points\"])\n ? (props[\"points\"] as unknown[]).map((p) => num(p)).filter((n): n is number => n != null)\n : [];\n const W = 120;\n const H = 36;\n const { line, area } = sparkline(points, W, H);\n const stroke = [\n \"var(--marketing-accent)\",\n \"var(--mk-accent-2)\",\n \"var(--mk-accent-3)\",\n \"var(--mk-accent-4)\",\n ][tone]!;\n\n return (\n <article className=\"mkt-card marketing flex flex-col p-5\" data-uibot-type=\"MetricCard\">\n <div className=\"flex items-start justify-between gap-3\">\n {label && (\n <span className=\"font-[family-name:var(--font-marketing-mono)] text-xs uppercase tracking-[0.14em] text-muted-foreground\">\n {label}\n </span>\n )}\n {delta && (\n <span\n className={cn(\n \"inline-flex items-center gap-0.5 rounded-full px-2 py-0.5 text-xs font-semibold\",\n down\n ? \"bg-[color-mix(in_oklch,var(--mk-accent-3)_16%,transparent)] text-[var(--mk-accent-3)]\"\n : \"bg-[color-mix(in_oklch,var(--marketing-accent)_18%,transparent)] text-[var(--marketing-accent)]\",\n )}\n >\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth={2.4}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={cn(\"size-3\", down && \"rotate-180\")}\n aria-hidden=\"true\"\n >\n <path d=\"M12 19V5M6 11l6-6 6 6\" />\n </svg>\n {delta}\n </span>\n )}\n </div>\n <span className=\"mt-3 mkt-display text-3xl md:text-4xl\">{value}</span>\n {line && (\n <svg\n viewBox={`0 0 ${W} ${H}`}\n className=\"mt-4 h-9 w-full\"\n preserveAspectRatio=\"none\"\n aria-hidden=\"true\"\n >\n <path d={area} fill={stroke} opacity={0.12} />\n <polyline\n points={line}\n fill=\"none\"\n stroke={stroke}\n strokeWidth={1.6}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n vectorEffect=\"non-scaling-stroke\"\n />\n </svg>\n )}\n </article>\n );\n};\n\n// ── GalleryGrid ──────────────────────────────────────────────────────────────────\n\ninterface GalleryItem {\n src?: string | undefined;\n caption?: string | undefined;\n tone?: unknown;\n wide?: boolean | undefined;\n}\n\nfunction parseGalleryItems(raw: unknown): GalleryItem[] {\n return records(raw).map((g) => ({\n src: str(g[\"src\"]),\n caption: str(g[\"caption\"]),\n tone: g[\"tone\"],\n wide: Boolean(g[\"wide\"]),\n }));\n}\n\nconst GALLERY_COLS: Record<string, string> = {\n \"2\": \"sm:grid-cols-2\",\n \"3\": \"sm:grid-cols-2 lg:grid-cols-3\",\n \"4\": \"sm:grid-cols-2 lg:grid-cols-4\",\n};\n\n/**\n * Caption gallery grid. Lays image tiles (or, with no `src`, a tinted blueprint\n * placeholder) onto a responsive grid; an item may opt into `wide` to span two\n * columns for a mixed-rhythm mosaic. Captions sit on a gradient scrim over each\n * tile. Hairline framing, hover lift. No external images required.\n */\nexport const GalleryGrid: RendererComponent = (props) => {\n const items = parseGalleryItems(props[\"items\"]);\n const cols = String(props[\"columns\"] ?? \"3\");\n const colsCls = GALLERY_COLS[cols] ?? GALLERY_COLS[\"3\"];\n\n return (\n <section className=\"marketing mx-auto max-w-6xl px-6 md:px-0\" data-uibot-type=\"GalleryGrid\">\n <div className={cn(\"grid grid-cols-1 gap-4 [grid-auto-rows:minmax(11rem,1fr)]\", colsCls)}>\n {items.map((g, i) => {\n const tone = tintIndex(g.tone, i % 4);\n const isUrl = g.src && /^(https?:|data:|\\/)/.test(g.src);\n return (\n <figure\n key={i}\n className={cn(\n \"mkt-card group/g relative overflow-hidden p-0\",\n g.wide && \"sm:col-span-2\",\n )}\n >\n {isUrl ? (\n // eslint-disable-next-line @next/next/no-img-element\n <img\n src={g.src}\n alt={g.caption ?? \"\"}\n className=\"h-full w-full object-cover transition-transform duration-300 group-hover/g:scale-[1.03]\"\n />\n ) : (\n <div\n className={cn(\n \"flex h-full w-full items-center justify-center mkt-tint [background-image:radial-gradient(color-mix(in_oklch,var(--border)_75%,transparent)_1px,transparent_1px)] [background-size:16px_16px]\",\n `mkt-tint-${tone}`,\n )}\n >\n <Icon name=\"boxes\" className=\"size-8 opacity-60\" />\n </div>\n )}\n {g.caption && (\n <figcaption className=\"absolute inset-x-0 bottom-0 bg-gradient-to-t from-[color-mix(in_oklch,var(--foreground)_55%,transparent)] to-transparent px-4 pb-3 pt-10 text-sm font-medium text-background\">\n {g.caption}\n </figcaption>\n )}\n </figure>\n );\n })}\n </div>\n </section>\n );\n};\n",
17
+ "type": "registry:ui"
18
+ },
19
+ {
20
+ "path": "components/uibot/sections.uibot.json",
21
+ "target": "components/uibot/sections.uibot.json",
22
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"sections\",\n \"channel\": \"public\",\n \"components\": [\n {\n \"name\": \"AccordionList\",\n \"export\": \"AccordionList\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"AccordionList\",\n \"description\": \"General-purpose content accordion on native <details>/<summary> — fully functional with zero JS. Each row is a standalone hairline card with an optional leading icon chip, a title and a body. `defaultOpenFirst` opens the first row. (Faq is the divided-single-card Q&A variant.)\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"accordion\",\n \"details\",\n \"content\",\n \"marketing\"\n ],\n \"props\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Optional serif heading above the list\"\n },\n \"defaultOpenFirst\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Open the first row by default\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"Optional lucide icon for the row chip\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"body\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"[{icon?, title, body}] — rows with an empty title are dropped\"\n }\n },\n \"usageScenarios\": [\n \"Expandable feature explainers (icon + title + body) on a landing page\",\n \"Docs 'details' sections with one card per topic\"\n ],\n \"constraints\": [\n \"Uses native <details> so multiple rows can be open at once (no single-open behaviour)\",\n \"Bodies render as plain text; pass pre-formatted strings\"\n ]\n }\n },\n {\n \"name\": \"Banner\",\n \"export\": \"Banner\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"Banner\",\n \"description\": \"Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '×'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.\",\n \"category\": \"presentation\",\n \"level\": \"L1\",\n \"tags\": [\n \"banner\",\n \"announcement\",\n \"marketing\",\n \"notice\"\n ],\n \"props\": {\n \"message\": {\n \"type\": \"string\",\n \"description\": \"Announcement text\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"lucide icon name (defaults to 'sparkles')\"\n },\n \"tone\": {\n \"type\": \"string\",\n \"enum\": [\n \"0\",\n \"1\",\n \"2\",\n \"3\"\n ],\n \"default\": \"0\",\n \"description\": \"Accent-hue index (0 amber · 1 teal · 2 rose · 3 indigo)\"\n },\n \"solid\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Fill the strip with the accent colour\"\n },\n \"cta\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n },\n \"description\": \"{label, href} — inline mono link on the right\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"default\": true,\n \"description\": \"Show the decorative × (presentational only)\"\n }\n },\n \"usageScenarios\": [\n \"Top-of-page launch/announcement strip above the hero\",\n \"Soft-tint 'new docs available' notice between sections\"\n ],\n \"constraints\": [\n \"The dismiss × is decorative — wire real dismissal at the host\",\n \"tone is 0–3; CTA href defaults to '#'\"\n ]\n }\n },\n {\n \"name\": \"ComparisonTable\",\n \"export\": \"ComparisonTable\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"ComparisonTable\",\n \"description\": \"Feature comparison table across products/plans. The header lists columns (a `highlighted` column gets an amber-washed spine); each row pairs a feature label with one value per column — booleans render as amber check / muted cross glyphs, strings render verbatim. Horizontally scrollable on small screens.\",\n \"category\": \"presentation\",\n \"level\": \"L3\",\n \"tags\": [\n \"comparison\",\n \"table\",\n \"pricing\",\n \"marketing\"\n ],\n \"props\": {\n \"featureLabel\": {\n \"type\": \"string\",\n \"description\": \"Header label for the feature column (often blank)\"\n },\n \"columns\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"highlighted\": {\n \"type\": \"boolean\"\n }\n }\n },\n \"description\": \"Array of strings or [{name, highlighted?}] — column headers\"\n },\n \"rows\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"feature\": {\n \"type\": \"string\"\n },\n \"values\": {\n \"type\": \"array\",\n \"items\": {},\n \"description\": \"One value per column (boolean → ✓/✗, string → verbatim)\"\n }\n }\n },\n \"description\": \"[{feature, values[]}] — values align positionally with columns\"\n }\n },\n \"usageScenarios\": [\n \"Plan feature comparison (Free / Pro / Enterprise) with a highlighted column\",\n \"Product-vs-competitor capability matrix\"\n ],\n \"constraints\": [\n \"values align by index with columns; missing/falsey values render as a muted cross\",\n \"Booleans (or 'yes'/'no'/'true'/'false') become glyphs; other strings render verbatim\"\n ]\n }\n },\n {\n \"name\": \"FeatureSplit\",\n \"export\": \"FeatureSplit\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"FeatureSplit\",\n \"description\": \"Alternating two-column feature section: an editorial text column (eyebrow, serif title, body, bulleted benefits, optional CTA) beside a visual column. The visual renders the `visual` slot (or children) — e.g. a BrowserFrame — falling back to a tinted blueprint placeholder. `reverse` flips the column order for an alternating page rhythm.\",\n \"category\": \"presentation\",\n \"level\": \"L3\",\n \"tags\": [\n \"feature\",\n \"split\",\n \"two-column\",\n \"marketing\"\n ],\n \"props\": {\n \"eyebrow\": {\n \"type\": \"string\",\n \"description\": \"Mono uppercase kicker\"\n },\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Serif feature title\"\n },\n \"body\": {\n \"type\": \"string\",\n \"description\": \"Supporting paragraph\"\n },\n \"bullets\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"icon\": {\n \"type\": \"string\"\n },\n \"text\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Array of strings or [{icon?, text}] benefit rows\"\n },\n \"cta\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n },\n \"description\": \"{label, href} — solid amber button\"\n },\n \"reverse\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"Place the visual on the left\"\n },\n \"tone\": {\n \"type\": \"string\",\n \"enum\": [\n \"0\",\n \"1\",\n \"2\",\n \"3\"\n ],\n \"default\": \"0\",\n \"description\": \"Accent-hue index for the bullet chips / placeholder\"\n }\n },\n \"slots\": {\n \"visual\": {\n \"description\": \"Right-pane visual (BrowserFrame, rendered preview, image); falls back to children then a placeholder\"\n }\n },\n \"usageScenarios\": [\n \"Alternating feature rows down a landing page (reverse every other)\",\n \"Text + live BrowserFrame preview feature block\"\n ],\n \"constraints\": [\n \"Provide a visual slot/children for the right pane; otherwise a tinted placeholder renders\",\n \"bullets accept strings or {icon?, text}; CTA href defaults to '#'\"\n ]\n }\n },\n {\n \"name\": \"Footer\",\n \"export\": \"Footer\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"Footer\",\n \"description\": \"Multi-column marketing footer: a brand block (serif wordmark + tagline) beside grouped link columns, with a bottom rule carrying a copyright line and small print. Pure layout off theme tokens.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"footer\",\n \"navigation\",\n \"marketing\",\n \"layout\"\n ],\n \"props\": {\n \"brand\": {\n \"type\": \"string\",\n \"description\": \"Brand wordmark (serif display under .marketing)\"\n },\n \"tagline\": {\n \"type\": \"string\",\n \"description\": \"Short brand tagline under the wordmark\"\n },\n \"groups\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"links\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n }\n }\n }\n }\n },\n \"description\": \"[{title, links:[{label, href}]}] link columns\"\n },\n \"copyright\": {\n \"type\": \"string\",\n \"description\": \"Bottom-left copyright line\"\n },\n \"note\": {\n \"type\": \"string\",\n \"description\": \"Bottom-right mono small print\"\n }\n },\n \"usageScenarios\": [\n \"Site-wide marketing footer with Product / Company / Legal columns\",\n \"Compact footer with brand + a single link group\"\n ],\n \"constraints\": [\n \"link href defaults to '#' when omitted; empty groups/links are dropped\",\n \"The bottom rule only renders when copyright or note is provided\"\n ]\n }\n },\n {\n \"name\": \"GalleryGrid\",\n \"export\": \"GalleryGrid\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"GalleryGrid\",\n \"description\": \"Caption gallery grid. Lays image tiles (or, with no `src`, a tinted blueprint placeholder) onto a 2–4 column responsive grid; a tile may opt into `wide` to span two columns for a mixed-rhythm mosaic. Captions sit on a gradient scrim over each tile. Hairline framing, hover lift — no external images required.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"gallery\",\n \"images\",\n \"grid\",\n \"marketing\"\n ],\n \"props\": {\n \"columns\": {\n \"type\": \"string\",\n \"enum\": [\n \"2\",\n \"3\",\n \"4\"\n ],\n \"default\": \"3\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"src\": {\n \"type\": \"string\",\n \"description\": \"Image URL; omit for a tinted placeholder\"\n },\n \"caption\": {\n \"type\": \"string\",\n \"description\": \"Caption shown over a gradient scrim\"\n },\n \"tone\": {\n \"type\": \"integer\",\n \"description\": \"Accent-hue index 0–3 for the placeholder\"\n },\n \"wide\": {\n \"type\": \"boolean\",\n \"description\": \"Span two columns\"\n }\n }\n },\n \"description\": \"[{src?, caption?, tone?, wide?}] gallery tiles\"\n }\n },\n \"usageScenarios\": [\n \"Screenshot gallery with a wide hero tile and smaller supporting tiles\",\n \"Placeholder-driven layout mock before real imagery exists\"\n ],\n \"constraints\": [\n \"src is treated as an image when it looks like a URL (http(s):/data:/leading slash); otherwise a placeholder renders\",\n \"wide spans two columns from the sm breakpoint up\"\n ]\n }\n },\n {\n \"name\": \"IconList\",\n \"export\": \"IconList\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"IconList\",\n \"description\": \"Benefit / checklist list with icons. Each item shows a tinted icon chip, a title and optional supporting line, laid into a 1–3 column grid; tints cycle the four accents. Lighter-weight than FeatureGrid (no card material) — for inline benefit/checklist runs.\",\n \"category\": \"presentation\",\n \"level\": \"L1\",\n \"tags\": [\n \"benefits\",\n \"checklist\",\n \"list\",\n \"marketing\"\n ],\n \"props\": {\n \"columns\": {\n \"type\": \"string\",\n \"enum\": [\n \"1\",\n \"2\",\n \"3\"\n ],\n \"default\": \"2\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"Default lucide icon for items without their own (defaults to 'check')\"\n },\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"icon\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"desc\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Array of strings or [{icon?, title, desc?}]\"\n }\n },\n \"usageScenarios\": [\n \"Two-column 'what's included' benefit list\",\n \"Checklist of capabilities under a SectionHeader\"\n ],\n \"constraints\": [\n \"items accept plain strings (→ title only) or {icon?, title, desc?}\",\n \"icon falls back to the block-level `icon` (default 'check'); unknown names → dot\"\n ]\n }\n },\n {\n \"name\": \"MetricCard\",\n \"export\": \"MetricCard\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"MetricCard\",\n \"description\": \"KPI metric card with an inline pure-SVG sparkline: a mono label, a big value, a trend delta pill (up = amber, down = rose) and a sparkline drawn from a `points` series — no chart dependency. A `.mkt-card` with hover lift; `tone` selects the accent. Designed to sit in a Grid/StatGrid for a metrics row.\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"metric\",\n \"kpi\",\n \"sparkline\",\n \"card\",\n \"dashboard\"\n ],\n \"props\": {\n \"label\": {\n \"type\": \"string\",\n \"description\": \"Mono uppercase metric label\"\n },\n \"value\": {\n \"type\": \"string\",\n \"description\": \"Big display value\"\n },\n \"delta\": {\n \"type\": \"string\",\n \"description\": \"Trend delta pill, e.g. '+8.2%'\"\n },\n \"trend\": {\n \"type\": \"string\",\n \"enum\": [\n \"up\",\n \"down\"\n ],\n \"default\": \"up\",\n \"description\": \"Delta direction: up (amber) or down (rose)\"\n },\n \"tone\": {\n \"type\": \"string\",\n \"enum\": [\n \"0\",\n \"1\",\n \"2\",\n \"3\"\n ],\n \"default\": \"0\",\n \"description\": \"Accent-hue index for the sparkline stroke/fill\"\n },\n \"points\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"number\"\n },\n \"description\": \"Numeric series for the inline sparkline (auto-scaled)\"\n }\n },\n \"usageScenarios\": [\n \"Four-up KPI metrics row inside a Grid (revenue / users / latency / churn)\",\n \"Single highlighted metric with a trend sparkline\"\n ],\n \"constraints\": [\n \"points are auto-scaled to the card's min/max; keep series small (~<60 points)\",\n \"value/delta are display strings; the sparkline is hidden when points is empty\"\n ]\n }\n },\n {\n \"name\": \"Roadmap\",\n \"export\": \"Roadmap\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"Roadmap\",\n \"description\": \"Product roadmap / milestone timeline. A vertical rail with one node per milestone; node state drives the dot — a filled amber check for 'done', an amber ring + rocket for 'active', an outline flag for 'planned'. A marketing roadmap (distinct from the operational TimelineList activity log).\",\n \"category\": \"presentation\",\n \"level\": \"L2\",\n \"tags\": [\n \"roadmap\",\n \"milestones\",\n \"timeline\",\n \"marketing\"\n ],\n \"props\": {\n \"milestones\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"date\": {\n \"type\": \"string\",\n \"description\": \"Quarter/date label, e.g. 'Q3 2026'\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"desc\": {\n \"type\": \"string\"\n },\n \"state\": {\n \"type\": \"string\",\n \"enum\": [\n \"done\",\n \"active\",\n \"planned\"\n ]\n }\n }\n },\n \"description\": \"[{date?, title, desc?, state?}] in sequence order\"\n }\n },\n \"usageScenarios\": [\n \"Public product roadmap section (shipped / in progress / planned)\",\n \"Launch sequence with dated milestones\"\n ],\n \"constraints\": [\n \"state defaults to 'planned' when omitted or unrecognised\",\n \"milestones with an empty title are dropped\"\n ]\n }\n },\n {\n \"name\": \"StatHighlight\",\n \"export\": \"StatHighlight\",\n \"module\": \"sections.tsx\",\n \"catalog\": {\n \"name\": \"StatHighlight\",\n \"description\": \"Single big-number spotlight: an oversized serif value with an optional trend delta (up = amber, down = rose), a mono label and supporting copy. Draws the eye to one headline metric (distinct from StatBand's multi-stat row).\",\n \"category\": \"presentation\",\n \"level\": \"L1\",\n \"tags\": [\n \"stat\",\n \"metric\",\n \"highlight\",\n \"marketing\"\n ],\n \"props\": {\n \"value\": {\n \"type\": \"string\",\n \"description\": \"Big display value, e.g. '99.9%' or '12k+'\"\n },\n \"label\": {\n \"type\": \"string\",\n \"description\": \"Mono uppercase label under the value\"\n },\n \"body\": {\n \"type\": \"string\",\n \"description\": \"Supporting paragraph\"\n },\n \"delta\": {\n \"type\": \"string\",\n \"description\": \"Trend delta pill text, e.g. '+12%'\"\n },\n \"trend\": {\n \"type\": \"string\",\n \"enum\": [\n \"up\",\n \"down\"\n ],\n \"default\": \"up\",\n \"description\": \"Delta direction: up (amber, arrow up) or down (rose, arrow down)\"\n }\n },\n \"usageScenarios\": [\n \"Centered headline metric between two content sections\",\n \"Single KPI spotlight with a growth delta\"\n ],\n \"constraints\": [\n \"Values/deltas are display strings; pre-format numbers/units yourself\",\n \"trend only affects the delta pill colour/arrow; omit delta to hide the pill\"\n ]\n }\n }\n ]\n}\n",
23
+ "type": "registry:ui"
24
+ }
25
+ ],
26
+ "meta": {
27
+ "category": "presentation",
28
+ "level": "L1",
29
+ "props": {
30
+ "message": {
31
+ "type": "string",
32
+ "description": "Announcement text"
33
+ },
34
+ "icon": {
35
+ "type": "string",
36
+ "description": "lucide icon name (defaults to 'sparkles')"
37
+ },
38
+ "tone": {
39
+ "type": "string",
40
+ "enum": [
41
+ "0",
42
+ "1",
43
+ "2",
44
+ "3"
45
+ ],
46
+ "default": "0",
47
+ "description": "Accent-hue index (0 amber · 1 teal · 2 rose · 3 indigo)"
48
+ },
49
+ "solid": {
50
+ "type": "boolean",
51
+ "default": false,
52
+ "description": "Fill the strip with the accent colour"
53
+ },
54
+ "cta": {
55
+ "type": "object",
56
+ "properties": {
57
+ "label": {
58
+ "type": "string"
59
+ },
60
+ "href": {
61
+ "type": "string"
62
+ }
63
+ },
64
+ "description": "{label, href} — inline mono link on the right"
65
+ },
66
+ "dismissible": {
67
+ "type": "boolean",
68
+ "default": true,
69
+ "description": "Show the decorative × (presentational only)"
70
+ }
71
+ },
72
+ "scenarios": [
73
+ "Top-of-page launch/announcement strip above the hero",
74
+ "Soft-tint 'new docs available' notice between sections"
75
+ ],
76
+ "constraints": [
77
+ "The dismiss × is decorative — wire real dismissal at the host",
78
+ "tone is 0–3; CTA href defaults to '#'"
79
+ ],
80
+ "provides": [
81
+ "Banner",
82
+ "FeatureSplit",
83
+ "ComparisonTable",
84
+ "Roadmap",
85
+ "StatHighlight",
86
+ "IconList",
87
+ "Footer",
88
+ "AccordionList",
89
+ "MetricCard",
90
+ "GalleryGrid"
91
+ ],
92
+ "uibot": {
93
+ "schema": "uibot.registry.item.v1",
94
+ "item": "sections",
95
+ "channel": "public",
96
+ "components": [
97
+ {
98
+ "name": "AccordionList",
99
+ "export": "AccordionList",
100
+ "module": "sections.tsx",
101
+ "catalog": {
102
+ "name": "AccordionList",
103
+ "description": "General-purpose content accordion on native <details>/<summary> — fully functional with zero JS. Each row is a standalone hairline card with an optional leading icon chip, a title and a body. `defaultOpenFirst` opens the first row. (Faq is the divided-single-card Q&A variant.)",
104
+ "category": "presentation",
105
+ "level": "L2",
106
+ "tags": [
107
+ "accordion",
108
+ "details",
109
+ "content",
110
+ "marketing"
111
+ ],
112
+ "props": {
113
+ "title": {
114
+ "type": "string",
115
+ "description": "Optional serif heading above the list"
116
+ },
117
+ "defaultOpenFirst": {
118
+ "type": "boolean",
119
+ "default": false,
120
+ "description": "Open the first row by default"
121
+ },
122
+ "items": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "object",
126
+ "properties": {
127
+ "icon": {
128
+ "type": "string",
129
+ "description": "Optional lucide icon for the row chip"
130
+ },
131
+ "title": {
132
+ "type": "string"
133
+ },
134
+ "body": {
135
+ "type": "string"
136
+ }
137
+ }
138
+ },
139
+ "description": "[{icon?, title, body}] — rows with an empty title are dropped"
140
+ }
141
+ },
142
+ "usageScenarios": [
143
+ "Expandable feature explainers (icon + title + body) on a landing page",
144
+ "Docs 'details' sections with one card per topic"
145
+ ],
146
+ "constraints": [
147
+ "Uses native <details> so multiple rows can be open at once (no single-open behaviour)",
148
+ "Bodies render as plain text; pass pre-formatted strings"
149
+ ]
150
+ }
151
+ },
152
+ {
153
+ "name": "Banner",
154
+ "export": "Banner",
155
+ "module": "sections.tsx",
156
+ "catalog": {
157
+ "name": "Banner",
158
+ "description": "Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '×'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.",
159
+ "category": "presentation",
160
+ "level": "L1",
161
+ "tags": [
162
+ "banner",
163
+ "announcement",
164
+ "marketing",
165
+ "notice"
166
+ ],
167
+ "props": {
168
+ "message": {
169
+ "type": "string",
170
+ "description": "Announcement text"
171
+ },
172
+ "icon": {
173
+ "type": "string",
174
+ "description": "lucide icon name (defaults to 'sparkles')"
175
+ },
176
+ "tone": {
177
+ "type": "string",
178
+ "enum": [
179
+ "0",
180
+ "1",
181
+ "2",
182
+ "3"
183
+ ],
184
+ "default": "0",
185
+ "description": "Accent-hue index (0 amber · 1 teal · 2 rose · 3 indigo)"
186
+ },
187
+ "solid": {
188
+ "type": "boolean",
189
+ "default": false,
190
+ "description": "Fill the strip with the accent colour"
191
+ },
192
+ "cta": {
193
+ "type": "object",
194
+ "properties": {
195
+ "label": {
196
+ "type": "string"
197
+ },
198
+ "href": {
199
+ "type": "string"
200
+ }
201
+ },
202
+ "description": "{label, href} — inline mono link on the right"
203
+ },
204
+ "dismissible": {
205
+ "type": "boolean",
206
+ "default": true,
207
+ "description": "Show the decorative × (presentational only)"
208
+ }
209
+ },
210
+ "usageScenarios": [
211
+ "Top-of-page launch/announcement strip above the hero",
212
+ "Soft-tint 'new docs available' notice between sections"
213
+ ],
214
+ "constraints": [
215
+ "The dismiss × is decorative — wire real dismissal at the host",
216
+ "tone is 0–3; CTA href defaults to '#'"
217
+ ]
218
+ }
219
+ },
220
+ {
221
+ "name": "ComparisonTable",
222
+ "export": "ComparisonTable",
223
+ "module": "sections.tsx",
224
+ "catalog": {
225
+ "name": "ComparisonTable",
226
+ "description": "Feature comparison table across products/plans. The header lists columns (a `highlighted` column gets an amber-washed spine); each row pairs a feature label with one value per column — booleans render as amber check / muted cross glyphs, strings render verbatim. Horizontally scrollable on small screens.",
227
+ "category": "presentation",
228
+ "level": "L3",
229
+ "tags": [
230
+ "comparison",
231
+ "table",
232
+ "pricing",
233
+ "marketing"
234
+ ],
235
+ "props": {
236
+ "featureLabel": {
237
+ "type": "string",
238
+ "description": "Header label for the feature column (often blank)"
239
+ },
240
+ "columns": {
241
+ "type": "array",
242
+ "items": {
243
+ "type": "object",
244
+ "properties": {
245
+ "name": {
246
+ "type": "string"
247
+ },
248
+ "highlighted": {
249
+ "type": "boolean"
250
+ }
251
+ }
252
+ },
253
+ "description": "Array of strings or [{name, highlighted?}] — column headers"
254
+ },
255
+ "rows": {
256
+ "type": "array",
257
+ "items": {
258
+ "type": "object",
259
+ "properties": {
260
+ "feature": {
261
+ "type": "string"
262
+ },
263
+ "values": {
264
+ "type": "array",
265
+ "items": {},
266
+ "description": "One value per column (boolean → ✓/✗, string → verbatim)"
267
+ }
268
+ }
269
+ },
270
+ "description": "[{feature, values[]}] — values align positionally with columns"
271
+ }
272
+ },
273
+ "usageScenarios": [
274
+ "Plan feature comparison (Free / Pro / Enterprise) with a highlighted column",
275
+ "Product-vs-competitor capability matrix"
276
+ ],
277
+ "constraints": [
278
+ "values align by index with columns; missing/falsey values render as a muted cross",
279
+ "Booleans (or 'yes'/'no'/'true'/'false') become glyphs; other strings render verbatim"
280
+ ]
281
+ }
282
+ },
283
+ {
284
+ "name": "FeatureSplit",
285
+ "export": "FeatureSplit",
286
+ "module": "sections.tsx",
287
+ "catalog": {
288
+ "name": "FeatureSplit",
289
+ "description": "Alternating two-column feature section: an editorial text column (eyebrow, serif title, body, bulleted benefits, optional CTA) beside a visual column. The visual renders the `visual` slot (or children) — e.g. a BrowserFrame — falling back to a tinted blueprint placeholder. `reverse` flips the column order for an alternating page rhythm.",
290
+ "category": "presentation",
291
+ "level": "L3",
292
+ "tags": [
293
+ "feature",
294
+ "split",
295
+ "two-column",
296
+ "marketing"
297
+ ],
298
+ "props": {
299
+ "eyebrow": {
300
+ "type": "string",
301
+ "description": "Mono uppercase kicker"
302
+ },
303
+ "title": {
304
+ "type": "string",
305
+ "description": "Serif feature title"
306
+ },
307
+ "body": {
308
+ "type": "string",
309
+ "description": "Supporting paragraph"
310
+ },
311
+ "bullets": {
312
+ "type": "array",
313
+ "items": {
314
+ "type": "object",
315
+ "properties": {
316
+ "icon": {
317
+ "type": "string"
318
+ },
319
+ "text": {
320
+ "type": "string"
321
+ }
322
+ }
323
+ },
324
+ "description": "Array of strings or [{icon?, text}] benefit rows"
325
+ },
326
+ "cta": {
327
+ "type": "object",
328
+ "properties": {
329
+ "label": {
330
+ "type": "string"
331
+ },
332
+ "href": {
333
+ "type": "string"
334
+ }
335
+ },
336
+ "description": "{label, href} — solid amber button"
337
+ },
338
+ "reverse": {
339
+ "type": "boolean",
340
+ "default": false,
341
+ "description": "Place the visual on the left"
342
+ },
343
+ "tone": {
344
+ "type": "string",
345
+ "enum": [
346
+ "0",
347
+ "1",
348
+ "2",
349
+ "3"
350
+ ],
351
+ "default": "0",
352
+ "description": "Accent-hue index for the bullet chips / placeholder"
353
+ }
354
+ },
355
+ "slots": {
356
+ "visual": {
357
+ "description": "Right-pane visual (BrowserFrame, rendered preview, image); falls back to children then a placeholder"
358
+ }
359
+ },
360
+ "usageScenarios": [
361
+ "Alternating feature rows down a landing page (reverse every other)",
362
+ "Text + live BrowserFrame preview feature block"
363
+ ],
364
+ "constraints": [
365
+ "Provide a visual slot/children for the right pane; otherwise a tinted placeholder renders",
366
+ "bullets accept strings or {icon?, text}; CTA href defaults to '#'"
367
+ ]
368
+ }
369
+ },
370
+ {
371
+ "name": "Footer",
372
+ "export": "Footer",
373
+ "module": "sections.tsx",
374
+ "catalog": {
375
+ "name": "Footer",
376
+ "description": "Multi-column marketing footer: a brand block (serif wordmark + tagline) beside grouped link columns, with a bottom rule carrying a copyright line and small print. Pure layout off theme tokens.",
377
+ "category": "presentation",
378
+ "level": "L2",
379
+ "tags": [
380
+ "footer",
381
+ "navigation",
382
+ "marketing",
383
+ "layout"
384
+ ],
385
+ "props": {
386
+ "brand": {
387
+ "type": "string",
388
+ "description": "Brand wordmark (serif display under .marketing)"
389
+ },
390
+ "tagline": {
391
+ "type": "string",
392
+ "description": "Short brand tagline under the wordmark"
393
+ },
394
+ "groups": {
395
+ "type": "array",
396
+ "items": {
397
+ "type": "object",
398
+ "properties": {
399
+ "title": {
400
+ "type": "string"
401
+ },
402
+ "links": {
403
+ "type": "array",
404
+ "items": {
405
+ "type": "object",
406
+ "properties": {
407
+ "label": {
408
+ "type": "string"
409
+ },
410
+ "href": {
411
+ "type": "string"
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ },
418
+ "description": "[{title, links:[{label, href}]}] link columns"
419
+ },
420
+ "copyright": {
421
+ "type": "string",
422
+ "description": "Bottom-left copyright line"
423
+ },
424
+ "note": {
425
+ "type": "string",
426
+ "description": "Bottom-right mono small print"
427
+ }
428
+ },
429
+ "usageScenarios": [
430
+ "Site-wide marketing footer with Product / Company / Legal columns",
431
+ "Compact footer with brand + a single link group"
432
+ ],
433
+ "constraints": [
434
+ "link href defaults to '#' when omitted; empty groups/links are dropped",
435
+ "The bottom rule only renders when copyright or note is provided"
436
+ ]
437
+ }
438
+ },
439
+ {
440
+ "name": "GalleryGrid",
441
+ "export": "GalleryGrid",
442
+ "module": "sections.tsx",
443
+ "catalog": {
444
+ "name": "GalleryGrid",
445
+ "description": "Caption gallery grid. Lays image tiles (or, with no `src`, a tinted blueprint placeholder) onto a 2–4 column responsive grid; a tile may opt into `wide` to span two columns for a mixed-rhythm mosaic. Captions sit on a gradient scrim over each tile. Hairline framing, hover lift — no external images required.",
446
+ "category": "presentation",
447
+ "level": "L2",
448
+ "tags": [
449
+ "gallery",
450
+ "images",
451
+ "grid",
452
+ "marketing"
453
+ ],
454
+ "props": {
455
+ "columns": {
456
+ "type": "string",
457
+ "enum": [
458
+ "2",
459
+ "3",
460
+ "4"
461
+ ],
462
+ "default": "3"
463
+ },
464
+ "items": {
465
+ "type": "array",
466
+ "items": {
467
+ "type": "object",
468
+ "properties": {
469
+ "src": {
470
+ "type": "string",
471
+ "description": "Image URL; omit for a tinted placeholder"
472
+ },
473
+ "caption": {
474
+ "type": "string",
475
+ "description": "Caption shown over a gradient scrim"
476
+ },
477
+ "tone": {
478
+ "type": "integer",
479
+ "description": "Accent-hue index 0–3 for the placeholder"
480
+ },
481
+ "wide": {
482
+ "type": "boolean",
483
+ "description": "Span two columns"
484
+ }
485
+ }
486
+ },
487
+ "description": "[{src?, caption?, tone?, wide?}] gallery tiles"
488
+ }
489
+ },
490
+ "usageScenarios": [
491
+ "Screenshot gallery with a wide hero tile and smaller supporting tiles",
492
+ "Placeholder-driven layout mock before real imagery exists"
493
+ ],
494
+ "constraints": [
495
+ "src is treated as an image when it looks like a URL (http(s):/data:/leading slash); otherwise a placeholder renders",
496
+ "wide spans two columns from the sm breakpoint up"
497
+ ]
498
+ }
499
+ },
500
+ {
501
+ "name": "IconList",
502
+ "export": "IconList",
503
+ "module": "sections.tsx",
504
+ "catalog": {
505
+ "name": "IconList",
506
+ "description": "Benefit / checklist list with icons. Each item shows a tinted icon chip, a title and optional supporting line, laid into a 1–3 column grid; tints cycle the four accents. Lighter-weight than FeatureGrid (no card material) — for inline benefit/checklist runs.",
507
+ "category": "presentation",
508
+ "level": "L1",
509
+ "tags": [
510
+ "benefits",
511
+ "checklist",
512
+ "list",
513
+ "marketing"
514
+ ],
515
+ "props": {
516
+ "columns": {
517
+ "type": "string",
518
+ "enum": [
519
+ "1",
520
+ "2",
521
+ "3"
522
+ ],
523
+ "default": "2"
524
+ },
525
+ "icon": {
526
+ "type": "string",
527
+ "description": "Default lucide icon for items without their own (defaults to 'check')"
528
+ },
529
+ "items": {
530
+ "type": "array",
531
+ "items": {
532
+ "type": "object",
533
+ "properties": {
534
+ "icon": {
535
+ "type": "string"
536
+ },
537
+ "title": {
538
+ "type": "string"
539
+ },
540
+ "desc": {
541
+ "type": "string"
542
+ }
543
+ }
544
+ },
545
+ "description": "Array of strings or [{icon?, title, desc?}]"
546
+ }
547
+ },
548
+ "usageScenarios": [
549
+ "Two-column 'what's included' benefit list",
550
+ "Checklist of capabilities under a SectionHeader"
551
+ ],
552
+ "constraints": [
553
+ "items accept plain strings (→ title only) or {icon?, title, desc?}",
554
+ "icon falls back to the block-level `icon` (default 'check'); unknown names → dot"
555
+ ]
556
+ }
557
+ },
558
+ {
559
+ "name": "MetricCard",
560
+ "export": "MetricCard",
561
+ "module": "sections.tsx",
562
+ "catalog": {
563
+ "name": "MetricCard",
564
+ "description": "KPI metric card with an inline pure-SVG sparkline: a mono label, a big value, a trend delta pill (up = amber, down = rose) and a sparkline drawn from a `points` series — no chart dependency. A `.mkt-card` with hover lift; `tone` selects the accent. Designed to sit in a Grid/StatGrid for a metrics row.",
565
+ "category": "presentation",
566
+ "level": "L2",
567
+ "tags": [
568
+ "metric",
569
+ "kpi",
570
+ "sparkline",
571
+ "card",
572
+ "dashboard"
573
+ ],
574
+ "props": {
575
+ "label": {
576
+ "type": "string",
577
+ "description": "Mono uppercase metric label"
578
+ },
579
+ "value": {
580
+ "type": "string",
581
+ "description": "Big display value"
582
+ },
583
+ "delta": {
584
+ "type": "string",
585
+ "description": "Trend delta pill, e.g. '+8.2%'"
586
+ },
587
+ "trend": {
588
+ "type": "string",
589
+ "enum": [
590
+ "up",
591
+ "down"
592
+ ],
593
+ "default": "up",
594
+ "description": "Delta direction: up (amber) or down (rose)"
595
+ },
596
+ "tone": {
597
+ "type": "string",
598
+ "enum": [
599
+ "0",
600
+ "1",
601
+ "2",
602
+ "3"
603
+ ],
604
+ "default": "0",
605
+ "description": "Accent-hue index for the sparkline stroke/fill"
606
+ },
607
+ "points": {
608
+ "type": "array",
609
+ "items": {
610
+ "type": "number"
611
+ },
612
+ "description": "Numeric series for the inline sparkline (auto-scaled)"
613
+ }
614
+ },
615
+ "usageScenarios": [
616
+ "Four-up KPI metrics row inside a Grid (revenue / users / latency / churn)",
617
+ "Single highlighted metric with a trend sparkline"
618
+ ],
619
+ "constraints": [
620
+ "points are auto-scaled to the card's min/max; keep series small (~<60 points)",
621
+ "value/delta are display strings; the sparkline is hidden when points is empty"
622
+ ]
623
+ }
624
+ },
625
+ {
626
+ "name": "Roadmap",
627
+ "export": "Roadmap",
628
+ "module": "sections.tsx",
629
+ "catalog": {
630
+ "name": "Roadmap",
631
+ "description": "Product roadmap / milestone timeline. A vertical rail with one node per milestone; node state drives the dot — a filled amber check for 'done', an amber ring + rocket for 'active', an outline flag for 'planned'. A marketing roadmap (distinct from the operational TimelineList activity log).",
632
+ "category": "presentation",
633
+ "level": "L2",
634
+ "tags": [
635
+ "roadmap",
636
+ "milestones",
637
+ "timeline",
638
+ "marketing"
639
+ ],
640
+ "props": {
641
+ "milestones": {
642
+ "type": "array",
643
+ "items": {
644
+ "type": "object",
645
+ "properties": {
646
+ "date": {
647
+ "type": "string",
648
+ "description": "Quarter/date label, e.g. 'Q3 2026'"
649
+ },
650
+ "title": {
651
+ "type": "string"
652
+ },
653
+ "desc": {
654
+ "type": "string"
655
+ },
656
+ "state": {
657
+ "type": "string",
658
+ "enum": [
659
+ "done",
660
+ "active",
661
+ "planned"
662
+ ]
663
+ }
664
+ }
665
+ },
666
+ "description": "[{date?, title, desc?, state?}] in sequence order"
667
+ }
668
+ },
669
+ "usageScenarios": [
670
+ "Public product roadmap section (shipped / in progress / planned)",
671
+ "Launch sequence with dated milestones"
672
+ ],
673
+ "constraints": [
674
+ "state defaults to 'planned' when omitted or unrecognised",
675
+ "milestones with an empty title are dropped"
676
+ ]
677
+ }
678
+ },
679
+ {
680
+ "name": "StatHighlight",
681
+ "export": "StatHighlight",
682
+ "module": "sections.tsx",
683
+ "catalog": {
684
+ "name": "StatHighlight",
685
+ "description": "Single big-number spotlight: an oversized serif value with an optional trend delta (up = amber, down = rose), a mono label and supporting copy. Draws the eye to one headline metric (distinct from StatBand's multi-stat row).",
686
+ "category": "presentation",
687
+ "level": "L1",
688
+ "tags": [
689
+ "stat",
690
+ "metric",
691
+ "highlight",
692
+ "marketing"
693
+ ],
694
+ "props": {
695
+ "value": {
696
+ "type": "string",
697
+ "description": "Big display value, e.g. '99.9%' or '12k+'"
698
+ },
699
+ "label": {
700
+ "type": "string",
701
+ "description": "Mono uppercase label under the value"
702
+ },
703
+ "body": {
704
+ "type": "string",
705
+ "description": "Supporting paragraph"
706
+ },
707
+ "delta": {
708
+ "type": "string",
709
+ "description": "Trend delta pill text, e.g. '+12%'"
710
+ },
711
+ "trend": {
712
+ "type": "string",
713
+ "enum": [
714
+ "up",
715
+ "down"
716
+ ],
717
+ "default": "up",
718
+ "description": "Delta direction: up (amber, arrow up) or down (rose, arrow down)"
719
+ }
720
+ },
721
+ "usageScenarios": [
722
+ "Centered headline metric between two content sections",
723
+ "Single KPI spotlight with a growth delta"
724
+ ],
725
+ "constraints": [
726
+ "Values/deltas are display strings; pre-format numbers/units yourself",
727
+ "trend only affects the delta pill colour/arrow; omit delta to hide the pill"
728
+ ]
729
+ }
730
+ }
731
+ ]
732
+ }
733
+ }
734
+ }