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