@elabs-ai/components-ai 4.2.0 → 5.0.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 (462) hide show
  1. package/README.md +1 -1
  2. package/dist/{_audio-player-media-chrome-T3XVXWRZ.js → _audio-player-media-chrome.js} +1 -1
  3. package/dist/_code-block-theme.js +12 -0
  4. package/dist/_code-block-theme.js.map +1 -0
  5. package/dist/{_flow-boundary-SHNWLQG5.js → _flow-boundary.js} +1 -1
  6. package/dist/_flow-boundary.js.map +1 -0
  7. package/dist/_flow-lazy.js +8 -0
  8. package/dist/_flow-lazy.js.map +1 -0
  9. package/dist/_lazy-boundary-conformance.js +2 -0
  10. package/dist/_lazy-boundary-conformance.js.map +1 -0
  11. package/dist/_lazy-cjk.js +13 -0
  12. package/dist/_lazy-cjk.js.map +1 -0
  13. package/dist/_lazy-engine-boundary.js +9 -0
  14. package/dist/_lazy-engine-boundary.js.map +1 -0
  15. package/dist/_lazy-math.js +13 -0
  16. package/dist/_lazy-math.js.map +1 -0
  17. package/dist/_lazy-mermaid.js +12 -0
  18. package/dist/_lazy-mermaid.js.map +1 -0
  19. package/dist/_mermaid-error-panel.js +9 -0
  20. package/dist/_mermaid-error-panel.js.map +1 -0
  21. package/dist/{_persona-rive-JEG44YHX.js → _persona-rive.js} +19 -24
  22. package/dist/_persona-rive.js.map +1 -0
  23. package/dist/_streamdown-i18n.js +21 -0
  24. package/dist/_streamdown-i18n.js.map +1 -0
  25. package/dist/_streamdown-safety.js +10 -0
  26. package/dist/_streamdown-safety.js.map +1 -0
  27. package/dist/_theme-scope-store.js +13 -0
  28. package/dist/_theme-scope-store.js.map +1 -0
  29. package/dist/a2ui/a2ui-surface.js +17 -0
  30. package/dist/a2ui/a2ui-surface.js.map +1 -0
  31. package/dist/a2ui/core/catalog.generated.js +10 -0
  32. package/dist/a2ui/core/catalog.generated.js.map +1 -0
  33. package/dist/a2ui/core/complete-json.js +10 -0
  34. package/dist/a2ui/core/complete-json.js.map +1 -0
  35. package/dist/a2ui/core/index.js +37 -0
  36. package/dist/a2ui/core/index.js.map +1 -0
  37. package/dist/a2ui/core/schema.js +11 -0
  38. package/dist/a2ui/core/schema.js.map +1 -0
  39. package/dist/a2ui/core/spec.js +10 -0
  40. package/dist/a2ui/core/spec.js.map +1 -0
  41. package/dist/a2ui/core/validate.js +16 -0
  42. package/dist/a2ui/core/validate.js.map +1 -0
  43. package/dist/a2ui/index.js +54 -0
  44. package/dist/a2ui/index.js.map +1 -0
  45. package/dist/a2ui/ui-catalog.js +18 -0
  46. package/dist/a2ui/ui-catalog.js.map +1 -0
  47. package/dist/agent-event.js +10 -0
  48. package/dist/agent-event.js.map +1 -0
  49. package/dist/agent-timeline.js +11 -0
  50. package/dist/agent-timeline.js.map +1 -0
  51. package/dist/agent.js +25 -0
  52. package/dist/agent.js.map +1 -0
  53. package/dist/artifact.js +23 -0
  54. package/dist/artifact.js.map +1 -0
  55. package/dist/asset-preview.js +22 -0
  56. package/dist/asset-preview.js.map +1 -0
  57. package/dist/attachments.js +33 -0
  58. package/dist/attachments.js.map +1 -0
  59. package/dist/audio-player.js +30 -0
  60. package/dist/audio-player.js.map +1 -0
  61. package/dist/audio-visualizer.js +9 -0
  62. package/dist/audio-visualizer.js.map +1 -0
  63. package/dist/canvas.js +10 -0
  64. package/dist/canvas.js.map +1 -0
  65. package/dist/chain-of-thought.js +22 -0
  66. package/dist/chain-of-thought.js.map +1 -0
  67. package/dist/chat-greeting.js +8 -0
  68. package/dist/chat-greeting.js.map +1 -0
  69. package/dist/chat-shell.js +9 -0
  70. package/dist/chat-shell.js.map +1 -0
  71. package/dist/checkpoint.js +13 -0
  72. package/dist/checkpoint.js.map +1 -0
  73. package/dist/chunk-2XOIG5TG.js +72 -0
  74. package/dist/chunk-2XOIG5TG.js.map +1 -0
  75. package/dist/chunk-34CQ2VHM.js +172 -0
  76. package/dist/chunk-34CQ2VHM.js.map +1 -0
  77. package/dist/chunk-3TDHPXZZ.js +60 -0
  78. package/dist/chunk-3TDHPXZZ.js.map +1 -0
  79. package/dist/chunk-3XNPMDZY.js +478 -0
  80. package/dist/chunk-3XNPMDZY.js.map +1 -0
  81. package/dist/chunk-3YPT3V7L.js +56 -0
  82. package/dist/chunk-3YPT3V7L.js.map +1 -0
  83. package/dist/chunk-475UEU2Q.js +87 -0
  84. package/dist/chunk-475UEU2Q.js.map +1 -0
  85. package/dist/chunk-4CBTII2I.js +95 -0
  86. package/dist/chunk-4CBTII2I.js.map +1 -0
  87. package/dist/chunk-4XRNIZMG.js +22 -0
  88. package/dist/chunk-4XRNIZMG.js.map +1 -0
  89. package/dist/chunk-5NNWUKK5.js +2 -0
  90. package/dist/chunk-5NNWUKK5.js.map +1 -0
  91. package/dist/chunk-5UOMU27Z.js +164 -0
  92. package/dist/chunk-5UOMU27Z.js.map +1 -0
  93. package/dist/chunk-5VGYZ62I.js +264 -0
  94. package/dist/chunk-5VGYZ62I.js.map +1 -0
  95. package/dist/chunk-6IQPH2OS.js +21 -0
  96. package/dist/chunk-6IQPH2OS.js.map +1 -0
  97. package/dist/chunk-6PB2MXCI.js +482 -0
  98. package/dist/chunk-6PB2MXCI.js.map +1 -0
  99. package/dist/chunk-7FD5CZEU.js +215 -0
  100. package/dist/chunk-7FD5CZEU.js.map +1 -0
  101. package/dist/chunk-7RL6KZDF.js +266 -0
  102. package/dist/chunk-7RL6KZDF.js.map +1 -0
  103. package/dist/chunk-ADOYAGGK.js +482 -0
  104. package/dist/chunk-ADOYAGGK.js.map +1 -0
  105. package/dist/chunk-AXMNJMMH.js +984 -0
  106. package/dist/chunk-AXMNJMMH.js.map +1 -0
  107. package/dist/chunk-BA3AEMOU.js +21 -0
  108. package/dist/chunk-BA3AEMOU.js.map +1 -0
  109. package/dist/chunk-BBHFOYML.js +336 -0
  110. package/dist/chunk-BBHFOYML.js.map +1 -0
  111. package/dist/chunk-BHUVISIY.js +221 -0
  112. package/dist/chunk-BHUVISIY.js.map +1 -0
  113. package/dist/chunk-BM2LWERA.js +100 -0
  114. package/dist/chunk-BM2LWERA.js.map +1 -0
  115. package/dist/chunk-CMOYXNPJ.js +211 -0
  116. package/dist/chunk-CMOYXNPJ.js.map +1 -0
  117. package/dist/chunk-CZP3RHC4.js +74 -0
  118. package/dist/chunk-CZP3RHC4.js.map +1 -0
  119. package/dist/chunk-DDG5JHQT.js +112 -0
  120. package/dist/chunk-DDG5JHQT.js.map +1 -0
  121. package/dist/chunk-DJODXO7I.js +38 -0
  122. package/dist/chunk-DJODXO7I.js.map +1 -0
  123. package/dist/chunk-DWJDJLPU.js +192 -0
  124. package/dist/chunk-DWJDJLPU.js.map +1 -0
  125. package/dist/chunk-DZW6LM22.js +45 -0
  126. package/dist/chunk-DZW6LM22.js.map +1 -0
  127. package/dist/chunk-ELGCZLZF.js +305 -0
  128. package/dist/chunk-ELGCZLZF.js.map +1 -0
  129. package/dist/chunk-EV3U6ZZB.js +209 -0
  130. package/dist/chunk-EV3U6ZZB.js.map +1 -0
  131. package/dist/chunk-EY7LVUKQ.js +87 -0
  132. package/dist/chunk-EY7LVUKQ.js.map +1 -0
  133. package/dist/chunk-F4C74F7M.js +230 -0
  134. package/dist/chunk-F4C74F7M.js.map +1 -0
  135. package/dist/chunk-FERYDFZA.js +108 -0
  136. package/dist/chunk-FERYDFZA.js.map +1 -0
  137. package/dist/chunk-FUIYG2DS.js +166 -0
  138. package/dist/chunk-FUIYG2DS.js.map +1 -0
  139. package/dist/chunk-GKYZT3LA.js +136 -0
  140. package/dist/chunk-GKYZT3LA.js.map +1 -0
  141. package/dist/chunk-H42LRUQ4.js +102 -0
  142. package/dist/chunk-H42LRUQ4.js.map +1 -0
  143. package/dist/chunk-HVXM2G5F.js +222 -0
  144. package/dist/chunk-HVXM2G5F.js.map +1 -0
  145. package/dist/chunk-I4RDAGVY.js +53 -0
  146. package/dist/chunk-I4RDAGVY.js.map +1 -0
  147. package/dist/chunk-IQJG4IDX.js +208 -0
  148. package/dist/chunk-IQJG4IDX.js.map +1 -0
  149. package/dist/chunk-IX2PXG4Y.js +144 -0
  150. package/dist/chunk-IX2PXG4Y.js.map +1 -0
  151. package/dist/chunk-IXICSOOP.js +287 -0
  152. package/dist/chunk-IXICSOOP.js.map +1 -0
  153. package/dist/chunk-JY5HSN4D.js +84 -0
  154. package/dist/chunk-JY5HSN4D.js.map +1 -0
  155. package/dist/chunk-LMNSBOBG.js +19 -0
  156. package/dist/chunk-LMNSBOBG.js.map +1 -0
  157. package/dist/chunk-MBI7D6IL.js +42 -0
  158. package/dist/chunk-MBI7D6IL.js.map +1 -0
  159. package/dist/chunk-MLFMYCPH.js +192 -0
  160. package/dist/chunk-MLFMYCPH.js.map +1 -0
  161. package/dist/chunk-MOK66734.js +33 -0
  162. package/dist/chunk-MOK66734.js.map +1 -0
  163. package/dist/chunk-MXTAWPYM.js +196 -0
  164. package/dist/chunk-MXTAWPYM.js.map +1 -0
  165. package/dist/chunk-NCL2UZKI.js +96 -0
  166. package/dist/chunk-NCL2UZKI.js.map +1 -0
  167. package/dist/chunk-NET4YLRY.js +107 -0
  168. package/dist/chunk-NET4YLRY.js.map +1 -0
  169. package/dist/chunk-NIG67CFM.js +329 -0
  170. package/dist/chunk-NIG67CFM.js.map +1 -0
  171. package/dist/chunk-NMVNNO3L.js +10 -0
  172. package/dist/chunk-NMVNNO3L.js.map +1 -0
  173. package/dist/chunk-NP7VID4K.js +2 -0
  174. package/dist/chunk-NP7VID4K.js.map +1 -0
  175. package/dist/chunk-NPUCMAG2.js +382 -0
  176. package/dist/chunk-NPUCMAG2.js.map +1 -0
  177. package/dist/chunk-NSCLRHES.js +102 -0
  178. package/dist/chunk-NSCLRHES.js.map +1 -0
  179. package/dist/chunk-OEUXHVFW.js +86 -0
  180. package/dist/chunk-OEUXHVFW.js.map +1 -0
  181. package/dist/chunk-ONBHFIMZ.js +137 -0
  182. package/dist/chunk-ONBHFIMZ.js.map +1 -0
  183. package/dist/chunk-OPH2HHL2.js +228 -0
  184. package/dist/chunk-OPH2HHL2.js.map +1 -0
  185. package/dist/chunk-OQERHIQP.js +287 -0
  186. package/dist/chunk-OQERHIQP.js.map +1 -0
  187. package/dist/chunk-P6YJAZFG.js +103 -0
  188. package/dist/chunk-P6YJAZFG.js.map +1 -0
  189. package/dist/chunk-PG7ERDOD.js +65 -0
  190. package/dist/chunk-PG7ERDOD.js.map +1 -0
  191. package/dist/chunk-PIB5JBMA.js +90 -0
  192. package/dist/chunk-PIB5JBMA.js.map +1 -0
  193. package/dist/chunk-PQ5BPIWQ.js +22 -0
  194. package/dist/chunk-PQ5BPIWQ.js.map +1 -0
  195. package/dist/chunk-PQBF6ZIQ.js +55 -0
  196. package/dist/chunk-PQBF6ZIQ.js.map +1 -0
  197. package/dist/chunk-PTWCTSZL.js +173 -0
  198. package/dist/chunk-PTWCTSZL.js.map +1 -0
  199. package/dist/chunk-QJUNPVOS.js +101 -0
  200. package/dist/chunk-QJUNPVOS.js.map +1 -0
  201. package/dist/chunk-QUDZOTRV.js +43 -0
  202. package/dist/chunk-QUDZOTRV.js.map +1 -0
  203. package/dist/chunk-RB7G65JC.js +213 -0
  204. package/dist/chunk-RB7G65JC.js.map +1 -0
  205. package/dist/chunk-RPHAOR7P.js +45 -0
  206. package/dist/chunk-RPHAOR7P.js.map +1 -0
  207. package/dist/chunk-RTCSH2AN.js +331 -0
  208. package/dist/chunk-RTCSH2AN.js.map +1 -0
  209. package/dist/chunk-S3ISPW3A.js +28 -0
  210. package/dist/chunk-S3ISPW3A.js.map +1 -0
  211. package/dist/chunk-SEVN656N.js +36 -0
  212. package/dist/chunk-SEVN656N.js.map +1 -0
  213. package/dist/chunk-SKVG672B.js +64 -0
  214. package/dist/chunk-SKVG672B.js.map +1 -0
  215. package/dist/chunk-SPQIU7GA.js +236 -0
  216. package/dist/chunk-SPQIU7GA.js.map +1 -0
  217. package/dist/chunk-SSGJ6MEM.js +1076 -0
  218. package/dist/chunk-SSGJ6MEM.js.map +1 -0
  219. package/dist/chunk-SSKZ2AED.js +118 -0
  220. package/dist/chunk-SSKZ2AED.js.map +1 -0
  221. package/dist/chunk-T56JFGXI.js +561 -0
  222. package/dist/chunk-T56JFGXI.js.map +1 -0
  223. package/dist/chunk-TCB6O74A.js +137 -0
  224. package/dist/chunk-TCB6O74A.js.map +1 -0
  225. package/dist/chunk-TTEYPO6X.js +57 -0
  226. package/dist/chunk-TTEYPO6X.js.map +1 -0
  227. package/dist/chunk-TWPHAJNM.js +462 -0
  228. package/dist/chunk-TWPHAJNM.js.map +1 -0
  229. package/dist/chunk-TXJJLP4O.js +336 -0
  230. package/dist/chunk-TXJJLP4O.js.map +1 -0
  231. package/dist/chunk-TZ6TB7VM.js +245 -0
  232. package/dist/chunk-TZ6TB7VM.js.map +1 -0
  233. package/dist/chunk-UBLKJJ7K.js +278 -0
  234. package/dist/chunk-UBLKJJ7K.js.map +1 -0
  235. package/dist/chunk-UCJ6IUFS.js +52 -0
  236. package/dist/chunk-UCJ6IUFS.js.map +1 -0
  237. package/dist/chunk-UCKFJ3QF.js +197 -0
  238. package/dist/chunk-UCKFJ3QF.js.map +1 -0
  239. package/dist/chunk-UPXSLILN.js +20 -0
  240. package/dist/chunk-UPXSLILN.js.map +1 -0
  241. package/dist/chunk-V4DORGWJ.js +92 -0
  242. package/dist/chunk-V4DORGWJ.js.map +1 -0
  243. package/dist/chunk-V6E5DYZD.js +80 -0
  244. package/dist/chunk-V6E5DYZD.js.map +1 -0
  245. package/dist/chunk-VLLYKF3P.js +96 -0
  246. package/dist/chunk-VLLYKF3P.js.map +1 -0
  247. package/dist/chunk-VLNBTOH6.js +43 -0
  248. package/dist/chunk-VLNBTOH6.js.map +1 -0
  249. package/dist/chunk-WMDSMSPL.js +303 -0
  250. package/dist/chunk-WMDSMSPL.js.map +1 -0
  251. package/dist/chunk-WU5BLGTF.js +149 -0
  252. package/dist/chunk-WU5BLGTF.js.map +1 -0
  253. package/dist/chunk-WYTZVSGK.js +245 -0
  254. package/dist/chunk-WYTZVSGK.js.map +1 -0
  255. package/dist/chunk-X47QMM6K.js +187 -0
  256. package/dist/chunk-X47QMM6K.js.map +1 -0
  257. package/dist/chunk-XNBKO32Y.js +174 -0
  258. package/dist/chunk-XNBKO32Y.js.map +1 -0
  259. package/dist/chunk-YHUSW7D2.js +40 -0
  260. package/dist/chunk-YHUSW7D2.js.map +1 -0
  261. package/dist/chunk-YSKD7UXX.js +126 -0
  262. package/dist/chunk-YSKD7UXX.js.map +1 -0
  263. package/dist/chunk-YYRDGWOU.js +72 -0
  264. package/dist/chunk-YYRDGWOU.js.map +1 -0
  265. package/dist/chunk-ZIGZMWM7.js +19 -0
  266. package/dist/chunk-ZIGZMWM7.js.map +1 -0
  267. package/dist/chunk-ZKRTUKNP.js +40 -0
  268. package/dist/chunk-ZKRTUKNP.js.map +1 -0
  269. package/dist/code-block.js +38 -0
  270. package/dist/code-block.js.map +1 -0
  271. package/dist/commit.js +51 -0
  272. package/dist/commit.js.map +1 -0
  273. package/dist/composer.js +15 -0
  274. package/dist/composer.js.map +1 -0
  275. package/dist/confirmation.js +53 -0
  276. package/dist/confirmation.js.map +1 -0
  277. package/dist/connection.js +8 -0
  278. package/dist/connection.js.map +1 -0
  279. package/dist/context-panel.js +25 -0
  280. package/dist/context-panel.js.map +1 -0
  281. package/dist/controls.js +10 -0
  282. package/dist/controls.js.map +1 -0
  283. package/dist/conversation.js +19 -0
  284. package/dist/conversation.js.map +1 -0
  285. package/dist/diff-view.js +15 -0
  286. package/dist/diff-view.js.map +1 -0
  287. package/dist/edge.js +10 -0
  288. package/dist/edge.js.map +1 -0
  289. package/dist/environment-variables.js +29 -0
  290. package/dist/environment-variables.js.map +1 -0
  291. package/dist/file-tree.js +23 -0
  292. package/dist/file-tree.js.map +1 -0
  293. package/dist/gallery.js +9 -0
  294. package/dist/gallery.js.map +1 -0
  295. package/dist/grouped-parts.js +21 -0
  296. package/dist/grouped-parts.js.map +1 -0
  297. package/dist/image.js +9 -0
  298. package/dist/image.js.map +1 -0
  299. package/dist/index.d.ts +366 -98
  300. package/dist/index.js +672 -13577
  301. package/dist/index.js.map +1 -1
  302. package/dist/inline-citation.js +39 -0
  303. package/dist/inline-citation.js.map +1 -0
  304. package/dist/jsx-preview.js +17 -0
  305. package/dist/jsx-preview.js.map +1 -0
  306. package/dist/markdown-view.js +17 -0
  307. package/dist/markdown-view.js.map +1 -0
  308. package/dist/message-compare.js +12 -0
  309. package/dist/message-compare.js.map +1 -0
  310. package/dist/message-edit.js +19 -0
  311. package/dist/message-edit.js.map +1 -0
  312. package/dist/message-feedback.js +11 -0
  313. package/dist/message-feedback.js.map +1 -0
  314. package/dist/message-form-spec.js +38 -0
  315. package/dist/message-form-spec.js.map +1 -0
  316. package/dist/message-form.js +26 -0
  317. package/dist/message-form.js.map +1 -0
  318. package/dist/message-table-spec.js +26 -0
  319. package/dist/message-table-spec.js.map +1 -0
  320. package/dist/message-table.js +12 -0
  321. package/dist/message-table.js.map +1 -0
  322. package/dist/message.js +51 -0
  323. package/dist/message.js.map +1 -0
  324. package/dist/mic-selector.js +27 -0
  325. package/dist/mic-selector.js.map +1 -0
  326. package/dist/model-provider-logo.js +13 -0
  327. package/dist/model-provider-logo.js.map +1 -0
  328. package/dist/motion-config.js +9 -0
  329. package/dist/motion-config.js.map +1 -0
  330. package/dist/node.js +22 -0
  331. package/dist/node.js.map +1 -0
  332. package/dist/open-in-chat.js +31 -0
  333. package/dist/open-in-chat.js.map +1 -0
  334. package/dist/package-info.js +25 -0
  335. package/dist/package-info.js.map +1 -0
  336. package/dist/panel.js +10 -0
  337. package/dist/panel.js.map +1 -0
  338. package/dist/part-groups.js +18 -0
  339. package/dist/part-groups.js.map +1 -0
  340. package/dist/permission-mode-select.js +9 -0
  341. package/dist/permission-mode-select.js.map +1 -0
  342. package/dist/persona-sources.js +8 -0
  343. package/dist/persona-sources.js.map +1 -0
  344. package/dist/persona.js +14 -0
  345. package/dist/persona.js.map +1 -0
  346. package/dist/plan.js +32 -0
  347. package/dist/plan.js.map +1 -0
  348. package/dist/prompt-input-effort.js +9 -0
  349. package/dist/prompt-input-effort.js.map +1 -0
  350. package/dist/prompt-input-mode.js +10 -0
  351. package/dist/prompt-input-mode.js.map +1 -0
  352. package/dist/prompt-input-slash.js +12 -0
  353. package/dist/prompt-input-slash.js.map +1 -0
  354. package/dist/prompt-input.js +89 -0
  355. package/dist/prompt-input.js.map +1 -0
  356. package/dist/queue.js +37 -0
  357. package/dist/queue.js.map +1 -0
  358. package/dist/reasoning.js +23 -0
  359. package/dist/reasoning.js.map +1 -0
  360. package/dist/sandbox.js +28 -0
  361. package/dist/sandbox.js.map +1 -0
  362. package/dist/schema-display.js +33 -0
  363. package/dist/schema-display.js.map +1 -0
  364. package/dist/selection-toolbar.js +11 -0
  365. package/dist/selection-toolbar.js.map +1 -0
  366. package/dist/session-header.js +9 -0
  367. package/dist/session-header.js.map +1 -0
  368. package/dist/session-status-bar.js +9 -0
  369. package/dist/session-status-bar.js.map +1 -0
  370. package/dist/shimmer.js +9 -0
  371. package/dist/shimmer.js.map +1 -0
  372. package/dist/snippet.js +17 -0
  373. package/dist/snippet.js.map +1 -0
  374. package/dist/sources.js +17 -0
  375. package/dist/sources.js.map +1 -0
  376. package/dist/speech-input.js +9 -0
  377. package/dist/speech-input.js.map +1 -0
  378. package/dist/stack-trace.js +27 -0
  379. package/dist/stack-trace.js.map +1 -0
  380. package/dist/suggestion.js +16 -0
  381. package/dist/suggestion.js.map +1 -0
  382. package/dist/task.js +18 -0
  383. package/dist/task.js.map +1 -0
  384. package/dist/test-results.js +43 -0
  385. package/dist/test-results.js.map +1 -0
  386. package/dist/token-usage.js +27 -0
  387. package/dist/token-usage.js.map +1 -0
  388. package/dist/tool-result-card.js +9 -0
  389. package/dist/tool-result-card.js.map +1 -0
  390. package/dist/tool.js +27 -0
  391. package/dist/tool.js.map +1 -0
  392. package/dist/toolbar.js +10 -0
  393. package/dist/toolbar.js.map +1 -0
  394. package/dist/transcription.js +11 -0
  395. package/dist/transcription.js.map +1 -0
  396. package/dist/turn-status.js +9 -0
  397. package/dist/turn-status.js.map +1 -0
  398. package/dist/use-audio-level.js +9 -0
  399. package/dist/use-audio-level.js.map +1 -0
  400. package/dist/voice-selector.js +47 -0
  401. package/dist/voice-selector.js.map +1 -0
  402. package/dist/web-preview.js +19 -0
  403. package/dist/web-preview.js.map +1 -0
  404. package/package.json +11 -9
  405. package/schemas/a2ui-surface.v1.schema.json +5425 -0
  406. package/src/_chat-shell-rail.tsx +3 -1
  407. package/src/_flow-boundary.tsx +2 -2
  408. package/src/_persona-rive.tsx +27 -41
  409. package/src/a2ui/a2ui-surface.stories.tsx +662 -0
  410. package/src/a2ui/a2ui-surface.test.tsx +201 -0
  411. package/src/a2ui/a2ui-surface.tsx +354 -0
  412. package/src/a2ui/catalog.source.json +772 -0
  413. package/src/a2ui/core/a2ui-core.test.ts +178 -0
  414. package/src/a2ui/core/catalog.generated.ts +1006 -0
  415. package/src/a2ui/core/complete-json.ts +81 -0
  416. package/src/a2ui/core/index.ts +10 -0
  417. package/src/a2ui/core/schema.ts +111 -0
  418. package/src/a2ui/core/spec.ts +148 -0
  419. package/src/a2ui/core/validate.ts +266 -0
  420. package/src/a2ui/index.ts +7 -0
  421. package/src/a2ui/ui-catalog.tsx +225 -0
  422. package/src/a2ui/wave1-chart-spec.test.ts +87 -0
  423. package/src/a2ui/wave2-chart-spec.test.ts +108 -0
  424. package/src/agentic-workspace.stories.tsx +6 -45
  425. package/src/chat-shell.test.tsx +40 -10
  426. package/src/chat-shell.tsx +90 -44
  427. package/src/chat.stories.tsx +47 -42
  428. package/src/composer.stories.tsx +4 -5
  429. package/src/composer.test.tsx +45 -0
  430. package/src/composer.tsx +104 -21
  431. package/src/context-panel.stories.tsx +1 -1
  432. package/src/context-panel.tsx +1 -1
  433. package/src/conversation.stories.tsx +1 -0
  434. package/src/conversation.test.tsx +16 -0
  435. package/src/conversation.tsx +16 -2
  436. package/src/diff-view.stories.tsx +79 -0
  437. package/src/diff-view.tsx +3 -2
  438. package/src/file-tree.tsx +24 -17
  439. package/src/gallery.stories.tsx +42 -0
  440. package/src/gallery.tsx +2 -2
  441. package/src/grouped-parts.stories.tsx +23 -0
  442. package/src/grouped-parts.tsx +1 -1
  443. package/src/index.ts +1 -0
  444. package/src/message-compare.stories.tsx +40 -0
  445. package/src/message-compare.tsx +2 -1
  446. package/src/message-form.tsx +1 -1
  447. package/src/message-table.stories.tsx +24 -0
  448. package/src/message-table.tsx +1 -1
  449. package/src/package-info.tsx +12 -9
  450. package/src/reasoning.stories.tsx +27 -0
  451. package/src/reasoning.tsx +1 -1
  452. package/src/session-header.stories.tsx +35 -1
  453. package/src/session-header.tsx +1 -1
  454. package/src/sources.stories.tsx +30 -0
  455. package/src/sources.tsx +4 -1
  456. package/src/templates-ai-assistant.stories.tsx +151 -87
  457. package/src/tool.stories.tsx +39 -0
  458. package/src/tool.tsx +3 -3
  459. package/src/toolbar.tsx +0 -10
  460. package/dist/_flow-boundary-SHNWLQG5.js.map +0 -1
  461. package/dist/_persona-rive-JEG44YHX.js.map +0 -1
  462. /package/dist/{_audio-player-media-chrome-T3XVXWRZ.js.map → _audio-player-media-chrome.js.map} +0 -0
@@ -0,0 +1,1006 @@
1
+ // GENERATED by packages/cli/scripts/gen-a2ui-catalog.mjs from
2
+ // packages/ai/src/a2ui/catalog.source.json + brand-ui.manifest.json — do not edit;
3
+ // edit the source file (or the component) and run `pnpm gen`.
4
+ import type { A2uiCatalogSchema } from "./spec";
5
+
6
+ export const A2UI_CATALOG_VERSION = "1";
7
+
8
+ export const A2UI_CATALOG_SCHEMA: A2uiCatalogSchema = {
9
+ Accordion: {
10
+ children: true,
11
+ props: {
12
+ collapsible: {
13
+ type: "boolean",
14
+ },
15
+ defaultValue: {
16
+ type: "string",
17
+ },
18
+ type: {
19
+ enum: ["single", "multiple"],
20
+ required: true,
21
+ type: "string",
22
+ },
23
+ },
24
+ events: {
25
+ change: "onValueChange",
26
+ },
27
+ source: "@elabs-ai/components-ui",
28
+ },
29
+ AccordionContent: {
30
+ children: true,
31
+ props: {},
32
+ events: {},
33
+ source: "@elabs-ai/components-ui",
34
+ },
35
+ AccordionItem: {
36
+ children: true,
37
+ props: {
38
+ value: {
39
+ type: "string",
40
+ required: true,
41
+ },
42
+ },
43
+ events: {},
44
+ source: "@elabs-ai/components-ui",
45
+ },
46
+ AccordionTrigger: {
47
+ children: true,
48
+ props: {
49
+ headingLevel: {
50
+ type: "number",
51
+ enum: [2, 3, 4, 5, 6],
52
+ description:
53
+ "The heading level Radix's `Accordion.Header` renders. Radix hardcodes `h3`, which skips a level whenever the accordion sits directly under the page `h1` — so…",
54
+ },
55
+ },
56
+ events: {},
57
+ source: "@elabs-ai/components-ui",
58
+ },
59
+ Alert: {
60
+ children: true,
61
+ props: {
62
+ variant: {
63
+ enum: ["default", "destructive", "success", "warning", "info"],
64
+ type: "string",
65
+ },
66
+ },
67
+ events: {},
68
+ source: "@elabs-ai/components-ui",
69
+ summary: "Compose AlertTitle + AlertDescription inside.",
70
+ },
71
+ AlertDescription: {
72
+ children: true,
73
+ props: {
74
+ measure: {
75
+ type: "boolean",
76
+ description:
77
+ "Cap the line length to a readable prose measure (`max-w-prose`, ~65ch) for genuine paragraph content (#339). Off by default — short, label-style descriptions…",
78
+ },
79
+ },
80
+ events: {},
81
+ source: "@elabs-ai/components-ui",
82
+ },
83
+ AlertTitle: {
84
+ children: true,
85
+ props: {},
86
+ events: {},
87
+ source: "@elabs-ai/components-ui",
88
+ },
89
+ Avatar: {
90
+ children: true,
91
+ props: {},
92
+ events: {},
93
+ source: "@elabs-ai/components-ui",
94
+ summary: "Compose AvatarFallback (initials) inside.",
95
+ },
96
+ AvatarFallback: {
97
+ children: true,
98
+ props: {},
99
+ events: {},
100
+ source: "@elabs-ai/components-ui",
101
+ },
102
+ Badge: {
103
+ children: true,
104
+ props: {
105
+ variant: {
106
+ type: "string",
107
+ enum: ["default", "secondary", "outline", "success", "warning", "destructive", "info"],
108
+ default: "default",
109
+ },
110
+ },
111
+ events: {},
112
+ source: "@elabs-ai/components-ui",
113
+ summary: "Compact status/label chip (status, count, category).",
114
+ },
115
+ BentoGrid: {
116
+ children: true,
117
+ props: {
118
+ spotlight: {
119
+ type: "boolean",
120
+ description:
121
+ "Enable the cursor-following spotlight on every tile in this grid. Individual tiles can still opt out (or in) with their own `spotlight` prop. Disabled entire…",
122
+ },
123
+ },
124
+ events: {},
125
+ source: "@elabs-ai/components-ui",
126
+ summary: "Feature/bento grid; children are BentoGridItem.",
127
+ },
128
+ BentoGridItem: {
129
+ children: true,
130
+ props: {
131
+ size: {
132
+ type: "string",
133
+ description:
134
+ 'Size preset. Resolves to a col + row span. Overridden by explicit `span`. @default "sm"',
135
+ enum: ["sm", "md", "lg", "hero"],
136
+ },
137
+ span: {
138
+ type: "object",
139
+ description:
140
+ "Explicit grid span. Wins over `size`. Spans clamp gracefully on narrow layouts — a `col: 4` on a 2-col grid becomes `span min(4, 2)`.",
141
+ },
142
+ spotlight: {
143
+ type: "boolean",
144
+ description:
145
+ "Enable the cursor-following spotlight gradient on this tile. Omit to inherit the parent `BentoGrid`'s `spotlight` (itself `false` by default) — so the effect…",
146
+ },
147
+ },
148
+ events: {},
149
+ source: "@elabs-ai/components-ui",
150
+ },
151
+ Button: {
152
+ children: true,
153
+ props: {
154
+ disabled: {
155
+ type: "boolean",
156
+ },
157
+ size: {
158
+ type: "string",
159
+ enum: ["sm", "default", "lg", "icon", "icon-sm", "icon-lg"],
160
+ default: "default",
161
+ },
162
+ type: {
163
+ enum: ["button", "submit"],
164
+ default: "button",
165
+ type: "string",
166
+ },
167
+ variant: {
168
+ type: "string",
169
+ enum: ["default", "secondary", "destructive", "outline", "outline-subtle", "ghost", "link"],
170
+ default: "default",
171
+ },
172
+ },
173
+ events: {
174
+ click: "onClick",
175
+ },
176
+ source: "@elabs-ai/components-ui",
177
+ summary: 'An action. Bind `on.click`; one `variant: "default"` per group.',
178
+ },
179
+ ButtonGroup: {
180
+ children: true,
181
+ props: {},
182
+ events: {},
183
+ source: "@elabs-ai/components-ui",
184
+ },
185
+ Card: {
186
+ children: true,
187
+ props: {
188
+ detail: {
189
+ type: "node",
190
+ description:
191
+ "Optional detail-panel content. **Undefined → a plain card** (today's single `<div>` — no grid, no panel, zero behaviour change).",
192
+ },
193
+ detailLabel: {
194
+ type: "string",
195
+ description: 'Accessible label for the detail region. @default "Details"',
196
+ },
197
+ detailPlacement: {
198
+ type: "string",
199
+ enum: ["side", "bottom"],
200
+ description: 'Which edge the detail panel sits on. @default "side"',
201
+ },
202
+ interactive: {
203
+ type: "string",
204
+ enum: ["true", "false"],
205
+ default: "false",
206
+ },
207
+ stacked: {
208
+ type: "boolean",
209
+ description:
210
+ "Opt-in hairline gesture: the edges of two sheets stacked behind the card's top edge (the `hairline-stack` utility). It draws OUTSIDE the card, so it needs ~1…",
211
+ },
212
+ },
213
+ events: {},
214
+ source: "@elabs-ai/components-ui",
215
+ summary: "The one generic surface — compose CardHeader / CardContent / CardFooter inside.",
216
+ },
217
+ CardAction: {
218
+ children: true,
219
+ props: {},
220
+ events: {},
221
+ source: "@elabs-ai/components-ui",
222
+ summary: "The header's trailing action slot (a Button, a Badge).",
223
+ },
224
+ CardContent: {
225
+ children: true,
226
+ props: {},
227
+ events: {},
228
+ source: "@elabs-ai/components-ui",
229
+ },
230
+ CardDescription: {
231
+ children: true,
232
+ props: {
233
+ measure: {
234
+ type: "boolean",
235
+ description:
236
+ "Cap the line length to a readable prose measure (`max-w-prose`, ~65ch) for genuine paragraph content (#339). Off by default — short, subtitle-style descripti…",
237
+ },
238
+ },
239
+ events: {},
240
+ source: "@elabs-ai/components-ui",
241
+ },
242
+ CardFooter: {
243
+ children: true,
244
+ props: {},
245
+ events: {},
246
+ source: "@elabs-ai/components-ui",
247
+ },
248
+ CardHeader: {
249
+ children: true,
250
+ props: {},
251
+ events: {},
252
+ source: "@elabs-ai/components-ui",
253
+ },
254
+ CardTitle: {
255
+ children: true,
256
+ props: {},
257
+ events: {},
258
+ source: "@elabs-ai/components-ui",
259
+ },
260
+ Checkbox: {
261
+ children: false,
262
+ props: {
263
+ "aria-label": {
264
+ type: "string",
265
+ },
266
+ defaultChecked: {
267
+ type: "boolean",
268
+ },
269
+ disabled: {
270
+ type: "boolean",
271
+ },
272
+ id: {
273
+ type: "string",
274
+ },
275
+ },
276
+ events: {
277
+ change: "onCheckedChange",
278
+ },
279
+ source: "@elabs-ai/components-ui",
280
+ summary: "Binary on/off toggle within a form (multi-select within a group).",
281
+ },
282
+ Collapsible: {
283
+ children: true,
284
+ props: {
285
+ defaultOpen: {
286
+ type: "boolean",
287
+ },
288
+ },
289
+ events: {
290
+ change: "onOpenChange",
291
+ },
292
+ source: "@elabs-ai/components-ui",
293
+ },
294
+ CollapsibleContent: {
295
+ children: true,
296
+ props: {},
297
+ events: {},
298
+ source: "@elabs-ai/components-ui",
299
+ },
300
+ CollapsibleTrigger: {
301
+ children: true,
302
+ props: {
303
+ asChild: {
304
+ type: "boolean",
305
+ },
306
+ },
307
+ events: {},
308
+ source: "@elabs-ai/components-ui",
309
+ },
310
+ Descriptions: {
311
+ children: true,
312
+ props: {
313
+ columns: {
314
+ type: "number",
315
+ enum: [1, 2, 3],
316
+ description:
317
+ "Number of columns at the widest breakpoint. Collapses to a single column on small screens. Default 1.",
318
+ },
319
+ layout: {
320
+ type: "string",
321
+ description:
322
+ "`horizontal` places the label beside the value; `vertical` stacks the label above the value. Default `horizontal`.",
323
+ enum: ["horizontal", "vertical"],
324
+ },
325
+ },
326
+ events: {},
327
+ source: "@elabs-ai/components-ui",
328
+ summary: "Key–value list; children are DescriptionsItem.",
329
+ },
330
+ DescriptionsItem: {
331
+ children: true,
332
+ props: {
333
+ label: {
334
+ type: "node",
335
+ required: true,
336
+ description: "The term / label for this entry.",
337
+ },
338
+ numeric: {
339
+ type: "boolean",
340
+ description:
341
+ "When the value is numeric, set this so the value uses `tabular-nums` for aligned digits.",
342
+ },
343
+ },
344
+ events: {},
345
+ source: "@elabs-ai/components-ui",
346
+ },
347
+ EmptyState: {
348
+ children: false,
349
+ props: {
350
+ actions: {
351
+ type: "node",
352
+ description: "Primary/secondary actions.",
353
+ },
354
+ description: {
355
+ type: "node",
356
+ },
357
+ icon: {
358
+ type: "node",
359
+ description:
360
+ "Optional icon shown above the title, clamped to a fixed 40×40 (this wrapper only ever forwards `icon` to `StatePanel`, never `illustration` — for a larger, u…",
361
+ },
362
+ title: {
363
+ type: "node",
364
+ required: true,
365
+ },
366
+ },
367
+ events: {},
368
+ source: "@elabs-ai/components-ui",
369
+ summary: "Nothing here yet — title, description, optional actions.",
370
+ },
371
+ Grid: {
372
+ builtin: true,
373
+ children: true,
374
+ props: {
375
+ columns: {
376
+ enum: [1, 2, 3, 4],
377
+ default: 2,
378
+ type: "number",
379
+ },
380
+ gap: {
381
+ enum: ["none", "xs", "sm", "md", "lg"],
382
+ default: "md",
383
+ type: "string",
384
+ },
385
+ },
386
+ events: {},
387
+ source: "builtin",
388
+ summary: "Responsive CSS grid, 1–4 equal columns (collapses to one column on narrow screens).",
389
+ },
390
+ Heading: {
391
+ children: true,
392
+ props: {
393
+ level: {
394
+ type: "number",
395
+ description: "Semantic heading level — drives the rendered tag AND the default size.",
396
+ enum: [1, 2, 3, 4, 5, 6],
397
+ default: 2,
398
+ },
399
+ size: {
400
+ type: "string",
401
+ enum: ["display-lg", "display", "title", "subtitle"],
402
+ default: "title",
403
+ },
404
+ },
405
+ events: {},
406
+ source: "@elabs-ai/components-ui",
407
+ summary: "Section heading; `level` sets the HTML rank (1–6), `size` the type role.",
408
+ },
409
+ Input: {
410
+ children: false,
411
+ props: {
412
+ "aria-label": {
413
+ type: "string",
414
+ },
415
+ defaultValue: {
416
+ type: "string",
417
+ },
418
+ disabled: {
419
+ type: "boolean",
420
+ },
421
+ id: {
422
+ type: "string",
423
+ },
424
+ placeholder: {
425
+ type: "string",
426
+ },
427
+ required: {
428
+ type: "boolean",
429
+ },
430
+ type: {
431
+ enum: ["text", "email", "number", "password", "search", "tel", "url", "date"],
432
+ type: "string",
433
+ },
434
+ },
435
+ events: {
436
+ change: "onChange",
437
+ },
438
+ source: "@elabs-ai/components-ui",
439
+ summary: "Single-line text field — the base form input.",
440
+ },
441
+ Kbd: {
442
+ children: true,
443
+ props: {},
444
+ events: {},
445
+ source: "@elabs-ai/components-ui",
446
+ },
447
+ Label: {
448
+ children: true,
449
+ props: {
450
+ htmlFor: {
451
+ type: "string",
452
+ },
453
+ },
454
+ events: {},
455
+ source: "@elabs-ai/components-ui",
456
+ },
457
+ MetricCard: {
458
+ children: false,
459
+ props: {
460
+ currency: {
461
+ type: "string",
462
+ description: 'ISO 4217 code for `valueFormat: "currency"`. Default: `"USD"`.',
463
+ },
464
+ delta: {
465
+ type: "string",
466
+ description: 'Signed change, e.g. "+12.4%". Direction colors it.',
467
+ },
468
+ deltaDirection: {
469
+ type: "string",
470
+ enum: ["up", "down", "neutral"],
471
+ },
472
+ description: {
473
+ type: "node",
474
+ description: "Secondary line under the value — sublabel / context.",
475
+ },
476
+ evidence: {
477
+ type: "node",
478
+ description:
479
+ "Optional grounding footer (research 11 §B.5 KPI-3) — connects a cited figure to its source (e.g. an `EvidenceChip` from `@elabs-ai/components-ai`). Rendered …",
480
+ },
481
+ label: {
482
+ type: "node",
483
+ required: true,
484
+ },
485
+ loading: {
486
+ type: "boolean",
487
+ description:
488
+ "Loading vs ready — renders a layout-shaped skeleton (matching the real box height) instead of the value/label/delta text. Default: `false`.",
489
+ },
490
+ positiveIsGood: {
491
+ type: "boolean",
492
+ description: 'Whether "up" is good (green) — flip for metrics where down is good.',
493
+ },
494
+ sparkline: {
495
+ type: "node",
496
+ description:
497
+ 'Trend slot rendered directly under the value (RM-072) — pass a `<Sparkline …/>` from `@elabs-ai/components-charts`. Hidden at `size="sm"`.',
498
+ },
499
+ value: {
500
+ type: "node",
501
+ required: true,
502
+ },
503
+ valueFormat: {
504
+ type: "string",
505
+ description:
506
+ 'How to render a NUMERIC `value`. Default: `"compact"`. Ignored for every other `ReactNode` — a string you already formatted is rendered verbatim.',
507
+ enum: ["number", "compact", "currency", "percent"],
508
+ },
509
+ },
510
+ events: {},
511
+ source: "@elabs-ai/components-ui",
512
+ summary: "One KPI: label, value, optional delta. Put several in a Grid.",
513
+ },
514
+ Progress: {
515
+ children: false,
516
+ props: {
517
+ "aria-label": {
518
+ type: "string",
519
+ },
520
+ marker: {
521
+ type: "number",
522
+ description:
523
+ 'Reference point (0–100, same scale as `value`) — e.g. an "expected by today" pace or a target — rendered as a thin vertical tick on the track. Unset (default…',
524
+ },
525
+ markerLabel: {
526
+ type: "string",
527
+ description:
528
+ 'What `marker` represents (already localized by the caller — e.g. `"expected 70% by today"`). When set, it is appended to the progress bar\'s accessible value …',
529
+ },
530
+ max: {
531
+ type: "number",
532
+ },
533
+ value: {
534
+ type: "number",
535
+ required: true,
536
+ },
537
+ variant: {
538
+ type: "string",
539
+ enum: ["default", "success", "warning", "destructive"],
540
+ default: "default",
541
+ },
542
+ },
543
+ events: {},
544
+ source: "@elabs-ai/components-ui",
545
+ },
546
+ RadioGroup: {
547
+ children: true,
548
+ props: {
549
+ "aria-label": {
550
+ type: "string",
551
+ },
552
+ defaultValue: {
553
+ type: "string",
554
+ },
555
+ },
556
+ events: {
557
+ change: "onValueChange",
558
+ },
559
+ source: "@elabs-ai/components-ui",
560
+ summary: "Mutually-exclusive single choice from a small visible set.",
561
+ },
562
+ RadioGroupItem: {
563
+ children: false,
564
+ props: {
565
+ "aria-label": {
566
+ type: "string",
567
+ },
568
+ disabled: {
569
+ type: "boolean",
570
+ },
571
+ id: {
572
+ type: "string",
573
+ },
574
+ value: {
575
+ type: "string",
576
+ required: true,
577
+ },
578
+ },
579
+ events: {},
580
+ source: "@elabs-ai/components-ui",
581
+ },
582
+ SectionHeader: {
583
+ children: false,
584
+ props: {
585
+ actions: {
586
+ type: "node",
587
+ description: "Right-aligned actions (buttons, menus).",
588
+ },
589
+ description: {
590
+ type: "node",
591
+ },
592
+ eyebrow: {
593
+ type: "node",
594
+ description: "Optional element rendered above the title (eyebrow / breadcrumbs).",
595
+ },
596
+ title: {
597
+ type: "node",
598
+ required: true,
599
+ },
600
+ },
601
+ events: {},
602
+ source: "@elabs-ai/components-ui",
603
+ summary: "Title + description + optional actions above a region.",
604
+ },
605
+ Select: {
606
+ children: true,
607
+ props: {
608
+ defaultValue: {
609
+ type: "string",
610
+ },
611
+ disabled: {
612
+ type: "boolean",
613
+ },
614
+ },
615
+ events: {
616
+ change: "onValueChange",
617
+ },
618
+ source: "@elabs-ai/components-ui",
619
+ summary: "Compose SelectTrigger (SelectValue) + SelectContent (SelectItem…).",
620
+ },
621
+ SelectContent: {
622
+ children: true,
623
+ props: {},
624
+ events: {},
625
+ source: "@elabs-ai/components-ui",
626
+ },
627
+ SelectItem: {
628
+ children: true,
629
+ props: {
630
+ disabled: {
631
+ type: "boolean",
632
+ },
633
+ value: {
634
+ type: "string",
635
+ required: true,
636
+ },
637
+ },
638
+ events: {},
639
+ source: "@elabs-ai/components-ui",
640
+ },
641
+ SelectTrigger: {
642
+ children: true,
643
+ props: {
644
+ "aria-label": {
645
+ type: "string",
646
+ },
647
+ autoTitle: {
648
+ type: "boolean",
649
+ description:
650
+ "Auto-set a native `title` from the trigger's rendered text — but ONLY while that text is actually clipped (default `true`). Set `false` when the trigger is a…",
651
+ },
652
+ size: {
653
+ type: "string",
654
+ enum: ["sm", "default"],
655
+ },
656
+ },
657
+ events: {},
658
+ source: "@elabs-ai/components-ui",
659
+ },
660
+ SelectValue: {
661
+ children: false,
662
+ props: {
663
+ placeholder: {
664
+ type: "string",
665
+ },
666
+ },
667
+ events: {},
668
+ source: "@elabs-ai/components-ui",
669
+ },
670
+ Separator: {
671
+ children: false,
672
+ props: {
673
+ orientation: {
674
+ enum: ["horizontal", "vertical"],
675
+ default: "horizontal",
676
+ type: "string",
677
+ },
678
+ },
679
+ events: {},
680
+ source: "@elabs-ai/components-ui",
681
+ },
682
+ Slider: {
683
+ children: false,
684
+ props: {
685
+ "aria-label": {
686
+ type: "string",
687
+ },
688
+ defaultValue: {
689
+ type: "array",
690
+ },
691
+ max: {
692
+ type: "number",
693
+ },
694
+ min: {
695
+ type: "number",
696
+ },
697
+ step: {
698
+ type: "number",
699
+ },
700
+ thumbProps: {
701
+ type: "array",
702
+ description:
703
+ "Escape hatch spread onto the thumb LAST — for `data-*`/`style`/etc, or to deliberately override `aria-label`/`aria-labelledby`/`aria-valuetext` (an explicit …",
704
+ },
705
+ },
706
+ events: {
707
+ change: "onValueChange",
708
+ },
709
+ source: "@elabs-ai/components-ui",
710
+ },
711
+ Stack: {
712
+ builtin: true,
713
+ children: true,
714
+ props: {
715
+ align: {
716
+ enum: ["start", "center", "end", "stretch"],
717
+ default: "stretch",
718
+ type: "string",
719
+ },
720
+ direction: {
721
+ enum: ["column", "row"],
722
+ default: "column",
723
+ type: "string",
724
+ },
725
+ gap: {
726
+ enum: ["none", "xs", "sm", "md", "lg"],
727
+ default: "md",
728
+ type: "string",
729
+ },
730
+ justify: {
731
+ enum: ["start", "center", "end", "between"],
732
+ default: "start",
733
+ type: "string",
734
+ },
735
+ wrap: {
736
+ type: "boolean",
737
+ default: false,
738
+ },
739
+ },
740
+ events: {},
741
+ source: "builtin",
742
+ summary:
743
+ "Vertical or horizontal flex group. The default container — put siblings in a Stack, never bare.",
744
+ },
745
+ StatePanel: {
746
+ children: false,
747
+ props: {
748
+ actions: {
749
+ type: "node",
750
+ description: "Primary / secondary action buttons.",
751
+ },
752
+ description: {
753
+ type: "node",
754
+ description: "Supporting description below the title.",
755
+ },
756
+ icon: {
757
+ type: "node",
758
+ description:
759
+ 'Icon shown above the title, clamped to a uniform 40×40 so mismatched glyphs stay tidy. For `"error"` defaults to a built-in warning triangle. For `"loading"`…',
760
+ },
761
+ illustration: {
762
+ type: "node",
763
+ description:
764
+ "A larger illustration (one of `@elabs-ai/components-ui`'s shipped `*Illustration` components, or a consumer's own `ReactNode`) shown above the title instead …",
765
+ },
766
+ kind: {
767
+ type: "string",
768
+ enum: ["empty", "error", "loading"],
769
+ default: "empty",
770
+ },
771
+ loadingLabel: {
772
+ type: "string",
773
+ description: 'Accessible label for the spinner in loading state. @default "Loading…"',
774
+ },
775
+ size: {
776
+ type: "string",
777
+ enum: ["sm", "md", "lg"],
778
+ description: 'Spinner size (loading kind only). @default "md"',
779
+ },
780
+ title: {
781
+ type: "node",
782
+ description: "Heading text.",
783
+ },
784
+ titleAs: {
785
+ type: "string",
786
+ enum: ["div", "h1", "h2", "h3", "h4", "h5", "h6"],
787
+ description:
788
+ "Heading level for the panel's title (#328 convention). Set this to the level that correctly follows whatever heading precedes this panel in the document outl…",
789
+ },
790
+ },
791
+ events: {},
792
+ source: "@elabs-ai/components-ui",
793
+ summary: "An empty / error / loading message panel.",
794
+ },
795
+ StatusBadge: {
796
+ children: false,
797
+ props: {
798
+ hideIcon: {
799
+ type: "boolean",
800
+ description: "Render label-only (no status icon).",
801
+ },
802
+ size: {
803
+ type: "string",
804
+ enum: ["sm", "md"],
805
+ default: "md",
806
+ },
807
+ status: {
808
+ type: "string",
809
+ required: true,
810
+ description: "The canonical execution status, or a mapped out-of-vocabulary one (#363).",
811
+ enum: [
812
+ "pending",
813
+ "running",
814
+ "complete",
815
+ "awaiting-approval",
816
+ "denied",
817
+ "failed",
818
+ "skipped",
819
+ ],
820
+ },
821
+ },
822
+ events: {},
823
+ source: "@elabs-ai/components-ui",
824
+ summary: "A closed status vocabulary with icon + text (never colour alone).",
825
+ },
826
+ Switch: {
827
+ children: false,
828
+ props: {
829
+ "aria-label": {
830
+ type: "string",
831
+ },
832
+ defaultChecked: {
833
+ type: "boolean",
834
+ },
835
+ disabled: {
836
+ type: "boolean",
837
+ },
838
+ id: {
839
+ type: "string",
840
+ },
841
+ },
842
+ events: {
843
+ change: "onCheckedChange",
844
+ },
845
+ source: "@elabs-ai/components-ui",
846
+ summary: "Immediate on/off setting toggle (applies on change, not on submit).",
847
+ },
848
+ Table: {
849
+ children: true,
850
+ props: {},
851
+ events: {},
852
+ source: "@elabs-ai/components-ui",
853
+ summary: "Compose TableHeader/TableBody → TableRow → TableHead/TableCell.",
854
+ },
855
+ TableBody: {
856
+ children: true,
857
+ props: {},
858
+ events: {},
859
+ source: "@elabs-ai/components-ui",
860
+ },
861
+ TableCaption: {
862
+ children: true,
863
+ props: {},
864
+ events: {},
865
+ source: "@elabs-ai/components-ui",
866
+ },
867
+ TableCell: {
868
+ children: true,
869
+ props: {},
870
+ events: {},
871
+ source: "@elabs-ai/components-ui",
872
+ },
873
+ TableFooter: {
874
+ children: true,
875
+ props: {},
876
+ events: {},
877
+ source: "@elabs-ai/components-ui",
878
+ },
879
+ TableHead: {
880
+ children: true,
881
+ props: {},
882
+ events: {},
883
+ source: "@elabs-ai/components-ui",
884
+ },
885
+ TableHeader: {
886
+ children: true,
887
+ props: {},
888
+ events: {},
889
+ source: "@elabs-ai/components-ui",
890
+ },
891
+ TableRow: {
892
+ children: true,
893
+ props: {},
894
+ events: {},
895
+ source: "@elabs-ai/components-ui",
896
+ },
897
+ Tabs: {
898
+ children: true,
899
+ props: {
900
+ defaultValue: {
901
+ type: "string",
902
+ required: true,
903
+ },
904
+ },
905
+ events: {
906
+ change: "onValueChange",
907
+ },
908
+ source: "@elabs-ai/components-ui",
909
+ summary: "Compose TabsList (TabsTrigger…) + TabsContent per value.",
910
+ },
911
+ TabsContent: {
912
+ children: true,
913
+ props: {
914
+ value: {
915
+ type: "string",
916
+ required: true,
917
+ },
918
+ },
919
+ events: {},
920
+ source: "@elabs-ai/components-ui",
921
+ },
922
+ TabsList: {
923
+ children: true,
924
+ props: {
925
+ variant: {
926
+ type: "string",
927
+ enum: ["segmented", "underline"],
928
+ default: "segmented",
929
+ },
930
+ },
931
+ events: {},
932
+ source: "@elabs-ai/components-ui",
933
+ },
934
+ TabsTrigger: {
935
+ children: true,
936
+ props: {
937
+ disabled: {
938
+ type: "boolean",
939
+ },
940
+ value: {
941
+ type: "string",
942
+ required: true,
943
+ },
944
+ },
945
+ events: {},
946
+ source: "@elabs-ai/components-ui",
947
+ },
948
+ Text: {
949
+ children: true,
950
+ props: {
951
+ tone: {
952
+ type: "string",
953
+ enum: ["default", "muted", "primary"],
954
+ default: "default",
955
+ },
956
+ variant: {
957
+ type: "string",
958
+ enum: ["lead", "body", "caption", "meta", "kpi", "kpi-sm", "eyebrow", "code"],
959
+ default: "body",
960
+ },
961
+ },
962
+ events: {},
963
+ source: "@elabs-ai/components-ui",
964
+ summary: "A paragraph or inline run of text with a type role and tone.",
965
+ },
966
+ Textarea: {
967
+ children: false,
968
+ props: {
969
+ "aria-label": {
970
+ type: "string",
971
+ },
972
+ defaultValue: {
973
+ type: "string",
974
+ },
975
+ disabled: {
976
+ type: "boolean",
977
+ },
978
+ id: {
979
+ type: "string",
980
+ },
981
+ placeholder: {
982
+ type: "string",
983
+ },
984
+ rows: {
985
+ type: "number",
986
+ },
987
+ },
988
+ events: {
989
+ change: "onChange",
990
+ },
991
+ source: "@elabs-ai/components-ui",
992
+ },
993
+ Timeline: {
994
+ children: false,
995
+ props: {
996
+ items: {
997
+ type: "array",
998
+ required: true,
999
+ description: '[{ title, description?, status?: "done"|"active"|"pending", timestamp? }]',
1000
+ },
1001
+ },
1002
+ events: {},
1003
+ source: "@elabs-ai/components-ui",
1004
+ summary: "Ordered status timeline from `items` (title, status, timestamp, description).",
1005
+ },
1006
+ };