@constructive-io/ui 0.12.0 → 0.14.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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/{ai-CiaH2sfF.js → ai-4JrVVL3q.js} +1794 -250
  3. package/dist/ai-4JrVVL3q.js.map +1 -0
  4. package/dist/{ai-lAkichk8.cjs → ai-B08ufcbD.cjs} +1888 -248
  5. package/dist/ai-B08ufcbD.cjs.map +1 -0
  6. package/dist/{alert-BXuP0ayz.d.ts → alert-CJ4Qyk6W.d.cts} +4 -2
  7. package/dist/{alert-BXuP0ayz.d.cts → alert-CJ4Qyk6W.d.ts} +4 -2
  8. package/dist/components/accordion.cjs +60 -0
  9. package/dist/components/accordion.cjs.map +1 -0
  10. package/dist/components/accordion.d.cts +14 -0
  11. package/dist/components/accordion.d.ts +14 -0
  12. package/dist/components/accordion.js +54 -0
  13. package/dist/components/accordion.js.map +1 -0
  14. package/dist/components/ai/index.cjs +17 -1
  15. package/dist/components/ai/index.d.cts +2 -2
  16. package/dist/components/ai/index.d.ts +2 -2
  17. package/dist/components/ai/index.js +2 -2
  18. package/dist/components/alert-dialog.cjs +17 -8
  19. package/dist/components/alert-dialog.cjs.map +1 -1
  20. package/dist/components/alert-dialog.d.cts +1 -1
  21. package/dist/components/alert-dialog.d.ts +1 -1
  22. package/dist/components/alert-dialog.js +17 -8
  23. package/dist/components/alert-dialog.js.map +1 -1
  24. package/dist/components/alert.cjs +18 -8
  25. package/dist/components/alert.cjs.map +1 -1
  26. package/dist/components/alert.d.cts +2 -2
  27. package/dist/components/alert.d.ts +2 -2
  28. package/dist/components/alert.js +18 -9
  29. package/dist/components/alert.js.map +1 -1
  30. package/dist/components/autocomplete.cjs +9 -5
  31. package/dist/components/autocomplete.cjs.map +1 -1
  32. package/dist/components/autocomplete.js +9 -5
  33. package/dist/components/autocomplete.js.map +1 -1
  34. package/dist/components/avatar.cjs +9 -3
  35. package/dist/components/avatar.cjs.map +1 -1
  36. package/dist/components/avatar.d.cts +6 -0
  37. package/dist/components/avatar.d.ts +6 -0
  38. package/dist/components/avatar.js +9 -3
  39. package/dist/components/avatar.js.map +1 -1
  40. package/dist/components/badge.cjs +25 -18
  41. package/dist/components/badge.cjs.map +1 -1
  42. package/dist/components/badge.d.cts +2 -2
  43. package/dist/components/badge.d.ts +2 -2
  44. package/dist/components/badge.js +25 -18
  45. package/dist/components/badge.js.map +1 -1
  46. package/dist/components/breadcrumb.cjs +9 -6
  47. package/dist/components/breadcrumb.cjs.map +1 -1
  48. package/dist/components/breadcrumb.js +9 -6
  49. package/dist/components/breadcrumb.js.map +1 -1
  50. package/dist/components/button-group.cjs +57 -0
  51. package/dist/components/button-group.cjs.map +1 -0
  52. package/dist/components/button-group.d.cts +16 -0
  53. package/dist/components/button-group.d.ts +16 -0
  54. package/dist/components/button-group.js +51 -0
  55. package/dist/components/button-group.js.map +1 -0
  56. package/dist/components/button.cjs +62 -18
  57. package/dist/components/button.cjs.map +1 -1
  58. package/dist/components/button.d.cts +32 -2
  59. package/dist/components/button.d.ts +32 -2
  60. package/dist/components/button.js +62 -18
  61. package/dist/components/button.js.map +1 -1
  62. package/dist/components/calendar-rac.cjs +14 -8
  63. package/dist/components/calendar-rac.cjs.map +1 -1
  64. package/dist/components/calendar-rac.js +14 -8
  65. package/dist/components/calendar-rac.js.map +1 -1
  66. package/dist/components/card.cjs +35 -23
  67. package/dist/components/card.cjs.map +1 -1
  68. package/dist/components/card.d.cts +3 -2
  69. package/dist/components/card.d.ts +3 -2
  70. package/dist/components/card.js +35 -23
  71. package/dist/components/card.js.map +1 -1
  72. package/dist/components/checkbox.cjs +5 -5
  73. package/dist/components/checkbox.cjs.map +1 -1
  74. package/dist/components/checkbox.js +5 -5
  75. package/dist/components/checkbox.js.map +1 -1
  76. package/dist/components/collapsible.cjs +3 -3
  77. package/dist/components/collapsible.cjs.map +1 -1
  78. package/dist/components/collapsible.js +3 -3
  79. package/dist/components/collapsible.js.map +1 -1
  80. package/dist/components/combobox.cjs +24 -12
  81. package/dist/components/combobox.cjs.map +1 -1
  82. package/dist/components/combobox.d.cts +2 -1
  83. package/dist/components/combobox.d.ts +2 -1
  84. package/dist/components/combobox.js +24 -12
  85. package/dist/components/combobox.js.map +1 -1
  86. package/dist/components/command.cjs +30 -14
  87. package/dist/components/command.cjs.map +1 -1
  88. package/dist/components/command.d.cts +9 -2
  89. package/dist/components/command.d.ts +9 -2
  90. package/dist/components/command.js +30 -14
  91. package/dist/components/command.js.map +1 -1
  92. package/dist/components/dialog.cjs +22 -12
  93. package/dist/components/dialog.cjs.map +1 -1
  94. package/dist/components/dialog.d.cts +5 -2
  95. package/dist/components/dialog.d.ts +5 -2
  96. package/dist/components/dialog.js +22 -12
  97. package/dist/components/dialog.js.map +1 -1
  98. package/dist/components/dock.cjs +50 -27
  99. package/dist/components/dock.cjs.map +1 -1
  100. package/dist/components/dock.d.cts +1 -1
  101. package/dist/components/dock.d.ts +1 -1
  102. package/dist/components/dock.js +51 -28
  103. package/dist/components/dock.js.map +1 -1
  104. package/dist/components/drawer.cjs +22 -14
  105. package/dist/components/drawer.cjs.map +1 -1
  106. package/dist/components/drawer.js +22 -14
  107. package/dist/components/drawer.js.map +1 -1
  108. package/dist/components/dropdown-menu.cjs +34 -28
  109. package/dist/components/dropdown-menu.cjs.map +1 -1
  110. package/dist/components/dropdown-menu.d.cts +2 -2
  111. package/dist/components/dropdown-menu.d.ts +2 -2
  112. package/dist/components/dropdown-menu.js +52 -46
  113. package/dist/components/dropdown-menu.js.map +1 -1
  114. package/dist/components/empty.cjs +4 -4
  115. package/dist/components/empty.cjs.map +1 -1
  116. package/dist/components/empty.js +4 -4
  117. package/dist/components/empty.js.map +1 -1
  118. package/dist/components/field.cjs +33 -33
  119. package/dist/components/field.cjs.map +1 -1
  120. package/dist/components/field.js +34 -34
  121. package/dist/components/field.js.map +1 -1
  122. package/dist/components/flickering-grid.cjs +1 -1
  123. package/dist/components/flickering-grid.cjs.map +1 -1
  124. package/dist/components/flickering-grid.js +1 -1
  125. package/dist/components/flickering-grid.js.map +1 -1
  126. package/dist/components/flow-zoom-panel.cjs +10 -5
  127. package/dist/components/flow-zoom-panel.cjs.map +1 -1
  128. package/dist/components/flow-zoom-panel.d.cts +8 -1
  129. package/dist/components/flow-zoom-panel.d.ts +8 -1
  130. package/dist/components/flow-zoom-panel.js +10 -5
  131. package/dist/components/flow-zoom-panel.js.map +1 -1
  132. package/dist/components/form-control.cjs +12 -8
  133. package/dist/components/form-control.cjs.map +1 -1
  134. package/dist/components/form-control.js +12 -8
  135. package/dist/components/form-control.js.map +1 -1
  136. package/dist/components/form.cjs +5 -5
  137. package/dist/components/form.cjs.map +1 -1
  138. package/dist/components/form.js +5 -5
  139. package/dist/components/form.js.map +1 -1
  140. package/dist/components/input-group.cjs +13 -7
  141. package/dist/components/input-group.cjs.map +1 -1
  142. package/dist/components/input-group.d.cts +2 -2
  143. package/dist/components/input-group.d.ts +2 -2
  144. package/dist/components/input-group.js +11 -7
  145. package/dist/components/input-group.js.map +1 -1
  146. package/dist/components/input-otp.cjs +252 -0
  147. package/dist/components/input-otp.cjs.map +1 -0
  148. package/dist/components/input-otp.d.cts +44 -0
  149. package/dist/components/input-otp.d.ts +44 -0
  150. package/dist/components/input-otp.js +251 -0
  151. package/dist/components/input-otp.js.map +1 -0
  152. package/dist/components/input.cjs +10 -4
  153. package/dist/components/input.cjs.map +1 -1
  154. package/dist/components/input.d.cts +11 -2
  155. package/dist/components/input.d.ts +11 -2
  156. package/dist/components/input.js +10 -4
  157. package/dist/components/input.js.map +1 -1
  158. package/dist/components/item.cjs +151 -0
  159. package/dist/components/item.cjs.map +1 -0
  160. package/dist/components/item.d.cts +37 -0
  161. package/dist/components/item.d.ts +37 -0
  162. package/dist/components/item.js +137 -0
  163. package/dist/components/item.js.map +1 -0
  164. package/dist/components/json-input.cjs +4 -143
  165. package/dist/components/json-input.d.cts +6 -4
  166. package/dist/components/json-input.d.ts +6 -4
  167. package/dist/components/json-input.js +2 -140
  168. package/dist/components/kbd.cjs +35 -0
  169. package/dist/components/kbd.cjs.map +1 -0
  170. package/dist/components/kbd.d.cts +16 -0
  171. package/dist/components/kbd.d.ts +16 -0
  172. package/dist/components/kbd.js +31 -0
  173. package/dist/components/kbd.js.map +1 -0
  174. package/dist/components/label.cjs +3 -3
  175. package/dist/components/label.cjs.map +1 -1
  176. package/dist/components/label.js +3 -3
  177. package/dist/components/label.js.map +1 -1
  178. package/dist/components/motion-grid.cjs +20 -8
  179. package/dist/components/motion-grid.cjs.map +1 -1
  180. package/dist/components/motion-grid.js +20 -8
  181. package/dist/components/motion-grid.js.map +1 -1
  182. package/dist/components/multi-select.cjs +77 -67
  183. package/dist/components/multi-select.cjs.map +1 -1
  184. package/dist/components/multi-select.js +77 -67
  185. package/dist/components/multi-select.js.map +1 -1
  186. package/dist/components/page-header.cjs +12 -9
  187. package/dist/components/page-header.cjs.map +1 -1
  188. package/dist/components/page-header.js +12 -9
  189. package/dist/components/page-header.js.map +1 -1
  190. package/dist/components/pagination.cjs +10 -4
  191. package/dist/components/pagination.cjs.map +1 -1
  192. package/dist/components/pagination.d.cts +1 -1
  193. package/dist/components/pagination.d.ts +1 -1
  194. package/dist/components/pagination.js +10 -4
  195. package/dist/components/pagination.js.map +1 -1
  196. package/dist/components/phone-input.cjs +228 -0
  197. package/dist/components/phone-input.cjs.map +1 -0
  198. package/dist/components/phone-input.d.cts +42 -0
  199. package/dist/components/phone-input.d.ts +42 -0
  200. package/dist/components/phone-input.js +220 -0
  201. package/dist/components/phone-input.js.map +1 -0
  202. package/dist/components/popover.cjs +12 -4
  203. package/dist/components/popover.cjs.map +1 -1
  204. package/dist/components/popover.d.cts +7 -1
  205. package/dist/components/popover.d.ts +7 -1
  206. package/dist/components/popover.js +12 -5
  207. package/dist/components/popover.js.map +1 -1
  208. package/dist/components/progress.cjs +20 -3
  209. package/dist/components/progress.cjs.map +1 -1
  210. package/dist/components/progress.d.cts +1 -1
  211. package/dist/components/progress.d.ts +1 -1
  212. package/dist/components/progress.js +20 -3
  213. package/dist/components/progress.js.map +1 -1
  214. package/dist/components/progressive-blur-scroll-container.cjs +2 -2
  215. package/dist/components/progressive-blur-scroll-container.cjs.map +1 -1
  216. package/dist/components/progressive-blur-scroll-container.d.cts +1 -1
  217. package/dist/components/progressive-blur-scroll-container.d.ts +1 -1
  218. package/dist/components/progressive-blur-scroll-container.js +2 -2
  219. package/dist/components/progressive-blur-scroll-container.js.map +1 -1
  220. package/dist/components/progressive-blur.cjs +3 -2
  221. package/dist/components/progressive-blur.cjs.map +1 -1
  222. package/dist/components/progressive-blur.js +3 -2
  223. package/dist/components/progressive-blur.js.map +1 -1
  224. package/dist/components/radio-group.cjs +2 -2
  225. package/dist/components/radio-group.cjs.map +1 -1
  226. package/dist/components/radio-group.js +2 -2
  227. package/dist/components/radio-group.js.map +1 -1
  228. package/dist/components/record-picker.cjs +1 -1
  229. package/dist/components/record-picker.js +1 -1
  230. package/dist/components/resizable.cjs +2 -2
  231. package/dist/components/resizable.cjs.map +1 -1
  232. package/dist/components/resizable.js +2 -2
  233. package/dist/components/resizable.js.map +1 -1
  234. package/dist/components/responsive-diagram.cjs +43 -21
  235. package/dist/components/responsive-diagram.cjs.map +1 -1
  236. package/dist/components/responsive-diagram.d.cts +7 -1
  237. package/dist/components/responsive-diagram.d.ts +7 -1
  238. package/dist/components/responsive-diagram.js +43 -21
  239. package/dist/components/responsive-diagram.js.map +1 -1
  240. package/dist/components/scroll-area.cjs +2 -2
  241. package/dist/components/scroll-area.cjs.map +1 -1
  242. package/dist/components/scroll-area.js +2 -2
  243. package/dist/components/scroll-area.js.map +1 -1
  244. package/dist/components/select.cjs +84 -20
  245. package/dist/components/select.cjs.map +1 -1
  246. package/dist/components/select.d.cts +12 -7
  247. package/dist/components/select.d.ts +12 -7
  248. package/dist/components/select.js +84 -20
  249. package/dist/components/select.js.map +1 -1
  250. package/dist/components/separator.cjs +1 -1
  251. package/dist/components/separator.cjs.map +1 -1
  252. package/dist/components/separator.d.cts +11 -2
  253. package/dist/components/separator.d.ts +11 -2
  254. package/dist/components/separator.js +1 -1
  255. package/dist/components/separator.js.map +1 -1
  256. package/dist/components/sheet.cjs +1 -1
  257. package/dist/components/sheet.d.cts +11 -5
  258. package/dist/components/sheet.d.ts +12 -6
  259. package/dist/components/sheet.js +1 -1
  260. package/dist/components/sidebar.cjs +2 -1
  261. package/dist/components/sidebar.d.cts +8 -7
  262. package/dist/components/sidebar.d.ts +8 -7
  263. package/dist/components/sidebar.js +2 -1
  264. package/dist/components/slider.cjs +47 -0
  265. package/dist/components/slider.cjs.map +1 -0
  266. package/dist/components/slider.d.cts +8 -0
  267. package/dist/components/slider.d.ts +8 -0
  268. package/dist/components/slider.js +44 -0
  269. package/dist/components/slider.js.map +1 -0
  270. package/dist/components/sonner.cjs +15 -4
  271. package/dist/components/sonner.cjs.map +1 -1
  272. package/dist/components/sonner.d.cts +10 -1
  273. package/dist/components/sonner.d.ts +10 -1
  274. package/dist/components/sonner.js +16 -5
  275. package/dist/components/sonner.js.map +1 -1
  276. package/dist/components/spinner.cjs +25 -0
  277. package/dist/components/spinner.cjs.map +1 -0
  278. package/dist/components/spinner.d.cts +16 -0
  279. package/dist/components/spinner.d.ts +16 -0
  280. package/dist/components/spinner.js +22 -0
  281. package/dist/components/spinner.js.map +1 -0
  282. package/dist/components/stack/index.cjs +1 -1
  283. package/dist/components/stack/index.d.cts +1 -1
  284. package/dist/components/stack/index.d.ts +1 -1
  285. package/dist/components/stack/index.js +1 -1
  286. package/dist/components/stepper.cjs +23 -17
  287. package/dist/components/stepper.cjs.map +1 -1
  288. package/dist/components/stepper.d.cts +2 -2
  289. package/dist/components/stepper.d.ts +2 -2
  290. package/dist/components/stepper.js +23 -17
  291. package/dist/components/stepper.js.map +1 -1
  292. package/dist/components/switch.cjs +5 -5
  293. package/dist/components/switch.cjs.map +1 -1
  294. package/dist/components/switch.js +5 -5
  295. package/dist/components/switch.js.map +1 -1
  296. package/dist/components/table.cjs +26 -7
  297. package/dist/components/table.cjs.map +1 -1
  298. package/dist/components/table.d.cts +20 -2
  299. package/dist/components/table.d.ts +20 -2
  300. package/dist/components/table.js +26 -8
  301. package/dist/components/table.js.map +1 -1
  302. package/dist/components/tabs.cjs +64 -8
  303. package/dist/components/tabs.cjs.map +1 -1
  304. package/dist/components/tabs.d.cts +13 -2
  305. package/dist/components/tabs.d.ts +13 -2
  306. package/dist/components/tabs.js +66 -11
  307. package/dist/components/tabs.js.map +1 -1
  308. package/dist/components/tags.cjs +10 -5
  309. package/dist/components/tags.cjs.map +1 -1
  310. package/dist/components/tags.d.cts +1 -1
  311. package/dist/components/tags.d.ts +1 -1
  312. package/dist/components/tags.js +10 -5
  313. package/dist/components/tags.js.map +1 -1
  314. package/dist/components/textarea.cjs +5 -4
  315. package/dist/components/textarea.cjs.map +1 -1
  316. package/dist/components/textarea.js +5 -4
  317. package/dist/components/textarea.js.map +1 -1
  318. package/dist/components/toast/index.cjs +1 -1
  319. package/dist/components/toast/index.d.cts +2 -2
  320. package/dist/components/toast/index.d.ts +2 -2
  321. package/dist/components/toast/index.js +1 -1
  322. package/dist/components/toggle-group.cjs +69 -0
  323. package/dist/components/toggle-group.cjs.map +1 -0
  324. package/dist/components/toggle-group.d.cts +27 -0
  325. package/dist/components/toggle-group.d.ts +27 -0
  326. package/dist/components/toggle-group.js +65 -0
  327. package/dist/components/toggle-group.js.map +1 -0
  328. package/dist/components/toggle.cjs +54 -0
  329. package/dist/components/toggle.cjs.map +1 -0
  330. package/dist/components/toggle.d.cts +13 -0
  331. package/dist/components/toggle.d.ts +13 -0
  332. package/dist/components/toggle.js +50 -0
  333. package/dist/components/toggle.js.map +1 -0
  334. package/dist/components/tooltip.cjs +18 -6
  335. package/dist/components/tooltip.cjs.map +1 -1
  336. package/dist/components/tooltip.d.cts +1 -1
  337. package/dist/components/tooltip.d.ts +1 -1
  338. package/dist/components/tooltip.js +18 -6
  339. package/dist/components/tooltip.js.map +1 -1
  340. package/dist/components/unlink-button.cjs +2 -2
  341. package/dist/components/unlink-button.cjs.map +1 -1
  342. package/dist/components/unlink-button.d.cts +1 -0
  343. package/dist/components/unlink-button.d.ts +1 -0
  344. package/dist/components/unlink-button.js +2 -2
  345. package/dist/components/unlink-button.js.map +1 -1
  346. package/dist/components/workspace-kit/index.cjs +1507 -0
  347. package/dist/components/workspace-kit/index.cjs.map +1 -0
  348. package/dist/components/workspace-kit/index.d.cts +728 -0
  349. package/dist/components/workspace-kit/index.d.ts +728 -0
  350. package/dist/components/workspace-kit/index.js +1440 -0
  351. package/dist/components/workspace-kit/index.js.map +1 -0
  352. package/dist/compose-refs-Mbma1O3M.js +47 -0
  353. package/dist/compose-refs-Mbma1O3M.js.map +1 -0
  354. package/dist/compose-refs-uPrvNoiU.cjs +52 -0
  355. package/dist/compose-refs-uPrvNoiU.cjs.map +1 -0
  356. package/dist/fluid-highlight-CNELHV8o.js +134 -0
  357. package/dist/fluid-highlight-CNELHV8o.js.map +1 -0
  358. package/dist/fluid-highlight-YWFRZXsw.cjs +145 -0
  359. package/dist/fluid-highlight-YWFRZXsw.cjs.map +1 -0
  360. package/dist/{index-BzLmDsId.d.cts → index-B7cT7gZU.d.cts} +3 -3
  361. package/dist/{index-BzLmDsId.d.ts → index-B7cT7gZU.d.ts} +3 -3
  362. package/dist/{index-UnM04j0t.d.ts → index-BQZxmMpw.d.cts} +11 -31
  363. package/dist/{index-UnM04j0t.d.cts → index-BQZxmMpw.d.ts} +11 -31
  364. package/dist/{index-CyaFaZe2.d.cts → index-Cluc_xc5.d.ts} +345 -20
  365. package/dist/{index-B0wXxIAb.d.ts → index-DXoG0ghv.d.cts} +345 -20
  366. package/dist/index.cjs +107 -17
  367. package/dist/index.d.cts +64 -14
  368. package/dist/index.d.ts +64 -14
  369. package/dist/index.js +27 -14
  370. package/dist/initial-focus-B8RLtyOZ.cjs +67 -0
  371. package/dist/initial-focus-B8RLtyOZ.cjs.map +1 -0
  372. package/dist/initial-focus-j2E0EnIx.js +61 -0
  373. package/dist/initial-focus-j2E0EnIx.js.map +1 -0
  374. package/dist/initials-DSkWTOb0.cjs +127 -0
  375. package/dist/initials-DSkWTOb0.cjs.map +1 -0
  376. package/dist/initials-kCcHgrSy.js +97 -0
  377. package/dist/initials-kCcHgrSy.js.map +1 -0
  378. package/dist/json-input-CH5aEmoA.js +293 -0
  379. package/dist/json-input-CH5aEmoA.js.map +1 -0
  380. package/dist/json-input-D8yM578l.cjs +311 -0
  381. package/dist/json-input-D8yM578l.cjs.map +1 -0
  382. package/dist/{motion-config-COCFHq1L.cjs → motion-config-DZ7w5Uhq.cjs} +32 -2
  383. package/dist/motion-config-DZ7w5Uhq.cjs.map +1 -0
  384. package/dist/{motion-config-COsZ6azM.js → motion-config-DoFp4I8f.js} +21 -3
  385. package/dist/motion-config-DoFp4I8f.js.map +1 -0
  386. package/dist/{record-picker-Bz4FApxD.cjs → record-picker-BQ1-Vx0g.cjs} +23 -8
  387. package/dist/record-picker-BQ1-Vx0g.cjs.map +1 -0
  388. package/dist/{record-picker-BbxngCeV.js → record-picker-DSRo4RXV.js} +23 -8
  389. package/dist/record-picker-DSRo4RXV.js.map +1 -0
  390. package/dist/{sheet-BdA0rfIz.cjs → sheet-OxWlnT_G.cjs} +25 -32
  391. package/dist/sheet-OxWlnT_G.cjs.map +1 -0
  392. package/dist/{sheet-BLHnhLRH.js → sheet-wPF_l9Cn.js} +25 -32
  393. package/dist/sheet-wPF_l9Cn.js.map +1 -0
  394. package/dist/{sidebar-BavjjJp0.cjs → sidebar-BEEWmJwC.cjs} +74 -57
  395. package/dist/sidebar-BEEWmJwC.cjs.map +1 -0
  396. package/dist/{sidebar-DeoL2ttp.js → sidebar-DWl1Azyv.js} +74 -57
  397. package/dist/sidebar-DWl1Azyv.js.map +1 -0
  398. package/dist/{stack-ci2lkfkr.cjs → stack-CEvmUSwF.cjs} +12 -10
  399. package/dist/stack-CEvmUSwF.cjs.map +1 -0
  400. package/dist/{stack-C9GROTGA.js → stack-Kqu7YaR0.js} +12 -10
  401. package/dist/stack-Kqu7YaR0.js.map +1 -0
  402. package/dist/text-runs-CdmlS5C7.cjs +52 -0
  403. package/dist/text-runs-CdmlS5C7.cjs.map +1 -0
  404. package/dist/text-runs-DqcEO8L_.js +45 -0
  405. package/dist/text-runs-DqcEO8L_.js.map +1 -0
  406. package/dist/theme-CKpIa4Fj.d.cts +536 -0
  407. package/dist/theme-CKpIa4Fj.d.ts +536 -0
  408. package/dist/theme-dials-config.cjs +273 -0
  409. package/dist/theme-dials-config.cjs.map +1 -0
  410. package/dist/theme-dials-config.d.cts +95 -0
  411. package/dist/theme-dials-config.d.ts +95 -0
  412. package/dist/theme-dials-config.js +269 -0
  413. package/dist/theme-dials-config.js.map +1 -0
  414. package/dist/theme-presets.cjs +922 -0
  415. package/dist/theme-presets.cjs.map +1 -0
  416. package/dist/theme-presets.d.cts +89 -0
  417. package/dist/theme-presets.d.ts +89 -0
  418. package/dist/theme-presets.js +912 -0
  419. package/dist/theme-presets.js.map +1 -0
  420. package/dist/theme-tuning-CTOHSrsh.d.cts +158 -0
  421. package/dist/theme-tuning-DOko6Pmy.d.ts +158 -0
  422. package/dist/theme-tuning.cjs +349 -0
  423. package/dist/theme-tuning.cjs.map +1 -0
  424. package/dist/theme-tuning.d.cts +2 -0
  425. package/dist/theme-tuning.d.ts +2 -0
  426. package/dist/theme-tuning.js +333 -0
  427. package/dist/theme-tuning.js.map +1 -0
  428. package/dist/theme.cjs +438 -0
  429. package/dist/theme.cjs.map +1 -0
  430. package/dist/theme.d.cts +2 -0
  431. package/dist/theme.d.ts +2 -0
  432. package/dist/theme.js +436 -0
  433. package/dist/theme.js.map +1 -0
  434. package/dist/toast-08jF1DBQ.cjs +193 -0
  435. package/dist/toast-08jF1DBQ.cjs.map +1 -0
  436. package/dist/toast-CVW5XY4u.js +164 -0
  437. package/dist/toast-CVW5XY4u.js.map +1 -0
  438. package/dist/toast-details-BdxxSLlN.cjs +209 -0
  439. package/dist/toast-details-BdxxSLlN.cjs.map +1 -0
  440. package/dist/toast-details-CfsB1Vxb.js +198 -0
  441. package/dist/toast-details-CfsB1Vxb.js.map +1 -0
  442. package/dist/{tooltip-CTRQoN1A.d.ts → tooltip-Fqb4JK-g.d.cts} +2 -2
  443. package/dist/{tooltip-CTRQoN1A.d.cts → tooltip-Fqb4JK-g.d.ts} +2 -2
  444. package/dist/tuning-BKVFsxLr.js +48 -0
  445. package/dist/tuning-BKVFsxLr.js.map +1 -0
  446. package/dist/tuning-BRPG7U1U.cjs +71 -0
  447. package/dist/tuning-BRPG7U1U.cjs.map +1 -0
  448. package/dist/use-document-theme-BSEuNsEE.cjs +43 -0
  449. package/dist/use-document-theme-BSEuNsEE.cjs.map +1 -0
  450. package/dist/use-document-theme-Ch_PqxZz.js +38 -0
  451. package/dist/use-document-theme-Ch_PqxZz.js.map +1 -0
  452. package/dist/use-scroll-fade-CaHp52u4.cjs +79 -0
  453. package/dist/use-scroll-fade-CaHp52u4.cjs.map +1 -0
  454. package/dist/use-scroll-fade-ilq-o00-.js +72 -0
  455. package/dist/use-scroll-fade-ilq-o00-.js.map +1 -0
  456. package/package.json +166 -27
  457. package/src/styles/globals.css +194 -97
  458. package/dist/ai-CiaH2sfF.js.map +0 -1
  459. package/dist/ai-lAkichk8.cjs.map +0 -1
  460. package/dist/button-Bvh83YGs.d.cts +0 -20
  461. package/dist/button-Bvh83YGs.d.ts +0 -20
  462. package/dist/components/app-bar.cjs +0 -81
  463. package/dist/components/app-bar.cjs.map +0 -1
  464. package/dist/components/app-bar.d.cts +0 -27
  465. package/dist/components/app-bar.d.ts +0 -27
  466. package/dist/components/app-bar.js +0 -77
  467. package/dist/components/app-bar.js.map +0 -1
  468. package/dist/components/app-shell.cjs +0 -267
  469. package/dist/components/app-shell.cjs.map +0 -1
  470. package/dist/components/app-shell.d.cts +0 -98
  471. package/dist/components/app-shell.d.ts +0 -98
  472. package/dist/components/app-shell.js +0 -264
  473. package/dist/components/app-shell.js.map +0 -1
  474. package/dist/components/json-input.cjs.map +0 -1
  475. package/dist/components/json-input.js.map +0 -1
  476. package/dist/input-CBrCuMH8.d.cts +0 -11
  477. package/dist/input-CBrCuMH8.d.ts +0 -11
  478. package/dist/motion-config-COCFHq1L.cjs.map +0 -1
  479. package/dist/motion-config-COsZ6azM.js.map +0 -1
  480. package/dist/record-picker-BbxngCeV.js.map +0 -1
  481. package/dist/record-picker-Bz4FApxD.cjs.map +0 -1
  482. package/dist/separator-BQEsr0Rc.d.cts +0 -11
  483. package/dist/separator-BQEsr0Rc.d.ts +0 -11
  484. package/dist/sheet-BLHnhLRH.js.map +0 -1
  485. package/dist/sheet-BdA0rfIz.cjs.map +0 -1
  486. package/dist/sidebar-BavjjJp0.cjs.map +0 -1
  487. package/dist/sidebar-DeoL2ttp.js.map +0 -1
  488. package/dist/stack-C9GROTGA.js.map +0 -1
  489. package/dist/stack-ci2lkfkr.cjs.map +0 -1
  490. package/dist/toast-D6MqijT2.cjs +0 -316
  491. package/dist/toast-D6MqijT2.cjs.map +0 -1
  492. package/dist/toast-D_BOLzm3.js +0 -287
  493. package/dist/toast-D_BOLzm3.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { t as Tooltip } from "./tooltip-CTRQoN1A.cjs";
2
- import { t as Alert } from "./alert-BXuP0ayz.cjs";
1
+ import { t as Tooltip } from "./tooltip-Fqb4JK-g.js";
2
+ import { t as Alert } from "./alert-CJ4Qyk6W.js";
3
3
  import * as React$1 from "react";
4
4
  //#region src/components/ai/text-shimmer.d.ts
5
5
  type TextShimmerProps = React$1.ComponentProps<'span'> & {
@@ -29,8 +29,8 @@ type AgentLoaderProps = {
29
29
  text?: string;
30
30
  };
31
31
  /**
32
- * Agent loading indicator. Pixel variants (drive / dots / orbit) match the
33
- * Beautiful UI craft; simple variants cover common chat spinners.
32
+ * Agent loading indicator. Pixel variants (drive / dots / orbit) give the
33
+ * agent a distinct presence; simple variants cover common chat spinners.
34
34
  */
35
35
  declare function AgentLoader({ variant, label, showElapsed, elapsedMs, size, className, text }: AgentLoaderProps): React$1.JSX.Element;
36
36
  /** @deprecated Prefer AgentLoader — alias kept for prompt-kit familiarity. */
@@ -116,9 +116,10 @@ type MarkdownProps = React$1.ComponentProps<'div'> & {
116
116
  };
117
117
  /**
118
118
  * Lightweight markdown → HTML without hard deps.
119
- * Handles paragraphs, bold, italic, inline code, fenced code, links, lists.
120
- * Hosts that need full GFM can pass pre-rendered HTML via a future `html` prop
121
- * or wrap with their own marked+DOMPurify pipeline.
119
+ * Handles paragraphs (consecutive lines stay together, joined with line
120
+ * breaks), headings, bold, italic, inline code, fenced code, links, lists.
121
+ * Tables and footnotes are outside this subset: hosts that need full GFM wrap
122
+ * their own marked+DOMPurify pipeline.
122
123
  */
123
124
  declare function renderBasicMarkdown(source: string): string;
124
125
  /**
@@ -203,7 +204,7 @@ type ChatContainerProps = React$1.ComponentProps<'div'> & {
203
204
  * Scroll region for chat transcripts with stick-to-bottom tracking.
204
205
  * Pair with ScrollButton for jump-to-latest.
205
206
  */
206
- declare function ChatContainer({ className, children, bottomThreshold, autoScroll, ...props }: ChatContainerProps): React$1.JSX.Element;
207
+ declare function ChatContainer({ className, children, bottomThreshold, autoScroll, ref, ...props }: ChatContainerProps): React$1.JSX.Element;
207
208
  type ChatContainerContentProps = React$1.ComponentProps<'div'>;
208
209
  declare function ChatContainerContent({ className, ...props }: ChatContainerContentProps): React$1.JSX.Element;
209
210
  //#endregion
@@ -303,7 +304,7 @@ type ThinkingTraceProps = {
303
304
  visibleCount?: number;
304
305
  };
305
306
  /**
306
- * Beautiful UI–style expandable agent trace with mode variants.
307
+ * Expandable agent trace with mode variants.
307
308
  * Production hosts pass rows + streaming; demos can drive visibleCount.
308
309
  */
309
310
  declare function ThinkingTrace({ mode, activeLabel, doneLabel, durationMs, isStreaming, rows, query, open: openProp, onOpenChange, className, visibleCount }: ThinkingTraceProps): React$1.JSX.Element;
@@ -438,6 +439,8 @@ type ApprovalCardProps = {
438
439
  destructive?: boolean;
439
440
  /** Preview node under the title (tables, diffs, etc.). */
440
441
  preview?: React$1.ReactNode;
442
+ /** A small line above the title in single-confirm mode, e.g. why the run paused. */
443
+ eyebrow?: React$1.ReactNode;
441
444
  onConfirm?: (payload: {
442
445
  answers?: Record<string, string[]>;
443
446
  }) => void;
@@ -450,7 +453,7 @@ type ApprovalCardProps = {
450
453
  /**
451
454
  * Human-in-the-loop approval: simple confirm/skip or multi-question flow.
452
455
  */
453
- declare function ApprovalCard({ title, description, questions, confirmLabel, skipLabel, destructive, preview, onConfirm, onSkip, onDismiss, className, defaultSent }: ApprovalCardProps): React$1.JSX.Element;
456
+ declare function ApprovalCard({ title, description, questions, confirmLabel, skipLabel, destructive, preview, eyebrow, onConfirm, onSkip, onDismiss, className, defaultSent }: ApprovalCardProps): React$1.JSX.Element;
454
457
  //#endregion
455
458
  //#region src/components/ai/source.d.ts
456
459
  type SourceProps = {
@@ -459,9 +462,11 @@ type SourceProps = {
459
462
  description?: string;
460
463
  favicon?: string;
461
464
  domain?: string;
465
+ /** Shows the title instead of the host. `Sources` sets it when several chips share a host. */
466
+ showTitle?: boolean;
462
467
  className?: string;
463
468
  };
464
- declare function Source({ href, title, description, favicon, domain, className }: SourceProps): React$1.JSX.Element;
469
+ declare function Source({ href, title, description, favicon, domain, showTitle, className }: SourceProps): React$1.JSX.Element;
465
470
  type SourcesProps = {
466
471
  children: React$1.ReactNode;
467
472
  className?: string;
@@ -469,6 +474,12 @@ type SourcesProps = {
469
474
  };
470
475
  declare function Sources({ children, className, label }: SourcesProps): React$1.JSX.Element;
471
476
  //#endregion
477
+ //#region src/components/ai/line-diff.d.ts
478
+ type DiffLine = {
479
+ type: 'context' | 'add' | 'del';
480
+ text: string;
481
+ };
482
+ //#endregion
472
483
  //#region src/components/ai/inline-diff.d.ts
473
484
  type InlineDiffProps = {
474
485
  source: InlineDiffSource;
@@ -476,11 +487,14 @@ type InlineDiffProps = {
476
487
  /** Max lines shown before collapse. */
477
488
  maxLines?: number;
478
489
  };
479
- type DiffLine = {
480
- type: 'context' | 'add' | 'del';
481
- text: string;
482
- };
483
- /** Naive line diff for presentation (not a full Myers algorithm). */
490
+ /**
491
+ * Line diff between two texts, in order: unchanged lines as `context`, removed
492
+ * lines as `del`, new lines as `add`. A line that also appears elsewhere is
493
+ * matched by position, so a repeated line is shown as added or removed rather
494
+ * than hidden. The common head and tail are trimmed before the comparison, and
495
+ * a long file is compared by its edits rather than by a table of every pair of
496
+ * lines, so a few edits stay cheap however far apart they are.
497
+ */
484
498
  declare function lineDiff(before: string, after: string): DiffLine[];
485
499
  declare function InlineDiff({ source, className, maxLines }: InlineDiffProps): React$1.JSX.Element;
486
500
  //#endregion
@@ -585,6 +599,7 @@ type ContextRingProps = {
585
599
  stroke?: number;
586
600
  className?: string;
587
601
  };
602
+ /** `1048576` is "1M", `999500` is "999.5K" and `9960` is "10K": rounding rolls up to the next unit instead of printing "1000K" or "10.0K". */
588
603
  declare function formatCompact(n: number): string;
589
604
  /**
590
605
  * Compact context-window meter: linear segmented bar, bent into a ring.
@@ -706,8 +721,8 @@ type FileUploadProps = {
706
721
  accept?: string;
707
722
  disabled?: boolean;
708
723
  className?: string;
709
- /** Compact trigger only (no dropzone chrome). */
710
- variant?: 'dropzone' | 'button';
724
+ /** `compact` renders a single-row dropzone; `button` renders a trigger only. */
725
+ variant?: 'dropzone' | 'compact' | 'button';
711
726
  children?: React$1.ReactNode;
712
727
  };
713
728
  /**
@@ -729,9 +744,319 @@ type AiImageProps = Omit<React$1.ComponentProps<'img'>, 'src'> & {
729
744
  */
730
745
  declare function AiImage({ data, mimeType, src, bytes, alt, className, ...props }: AiImageProps): React$1.JSX.Element | null;
731
746
  //#endregion
747
+ //#region src/components/ai/mark-tile.d.ts
748
+ type MarkTileProps = React$1.ComponentProps<'span'> & {
749
+ /** 16px (trace rows), 24px (lists), or 32px (prompts and dialogs). */
750
+ size?: 'xs' | 'sm' | 'md';
751
+ };
752
+ /**
753
+ * Square tile that frames an app mark or glyph. The edge is an inset outline
754
+ * rather than a border, so pale marks keep a shape on any surface without the
755
+ * tile growing.
756
+ */
757
+ declare function MarkTile({ size, className, children, ...props }: MarkTileProps): React$1.JSX.Element;
758
+ /**
759
+ * Enter treatment for icons that appear on a state change (a check replacing a
760
+ * spinner, a settled chip). Uses `@starting-style` so it needs no keyframes.
761
+ */
762
+ declare const iconEnterClass = "transition-[opacity,scale,filter] duration-300 ease-[cubic-bezier(0.2,0,0,1)] starting:scale-25 starting:opacity-0 starting:blur-[4px] motion-reduce:transition-none";
763
+ //#endregion
764
+ //#region src/components/ai/tool-trace.d.ts
765
+ type ToolTraceStatus = 'pending' | 'running' | 'done' | 'error';
766
+ type ToolTraceStep = {
767
+ id: string;
768
+ label: React$1.ReactNode;
769
+ /** Brand or tool mark rendered inside a 16px tile. */
770
+ icon?: React$1.ReactNode;
771
+ status?: ToolTraceStatus;
772
+ };
773
+ type ToolTraceProps = React$1.ComponentProps<'ol'> & {
774
+ /** Group heading, e.g. "Read tools". */
775
+ title?: React$1.ReactNode;
776
+ /** Heading glyph; defaults to an open book. */
777
+ icon?: React$1.ReactNode;
778
+ steps: ToolTraceStep[];
779
+ };
780
+ /**
781
+ * Quiet tool-call trace: a heading row, then one row per call hung from a
782
+ * single rail under the heading glyph. Each row morphs from spinner to check
783
+ * as the call settles, or to an alert when it fails.
784
+ */
785
+ declare function ToolTrace({ title, icon, steps, className, ...props }: ToolTraceProps): React$1.JSX.Element;
786
+ //#endregion
787
+ //#region src/components/ai/thinking-status.d.ts
788
+ type ThinkingStatusProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
789
+ label?: React$1.ReactNode;
790
+ /** Seconds already elapsed when the status mounts. */
791
+ elapsedSeconds?: number;
792
+ /** Token count already spent when the status mounts. */
793
+ tokens?: number;
794
+ /**
795
+ * When true (default), the timer counts up from `elapsedSeconds` every
796
+ * second. Pass false to render exactly the host's `elapsedSeconds` / `tokens`.
797
+ */
798
+ live?: boolean;
799
+ /** Simulated token growth per tick for demos; the host normally streams real counts. */
800
+ tokensPerTick?: number;
801
+ };
802
+ declare function formatElapsed(totalSeconds: number): string;
803
+ /**
804
+ * Compact in-flight status: pulsing glyph, label, elapsed time, and token
805
+ * spend. Digits are tabular so the row never jitters while it ticks.
806
+ */
807
+ declare function ThinkingStatus({ label, elapsedSeconds, tokens, live, tokensPerTick, className, ...props }: ThinkingStatusProps): React$1.JSX.Element;
808
+ //#endregion
809
+ //#region src/components/ai/prompt-input-tray.d.ts
810
+ type PromptInputTrayTone = 'neutral' | 'info' | 'warning' | 'danger';
811
+ type PromptInputTrayProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
812
+ tone?: PromptInputTrayTone;
813
+ /** Row above the composer: usage, errors, a reply target, the active agent. */
814
+ header?: React$1.ReactNode;
815
+ /** Row below the composer: disclaimers, keyboard hints, sync status. */
816
+ footer?: React$1.ReactNode;
817
+ /** Usually a `PromptInput`. */
818
+ children: React$1.ReactNode;
819
+ };
820
+ /**
821
+ * Tinted shell that docks status rows onto a composer so the two read as one
822
+ * surface. The tray is 18px with a 4px inset, so the composer inside is
823
+ * rounded to 14px (concentric). Tone tints the tray, its edge, and the icon in
824
+ * each row; text stays at full contrast. Renders the composer alone when there
825
+ * is nothing to dock.
826
+ */
827
+ declare function PromptInputTray({ tone, header, footer, children, className, style, ...props }: PromptInputTrayProps): React$1.JSX.Element;
828
+ type PromptInputTrayRowProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
829
+ icon?: React$1.ReactNode;
830
+ children: React$1.ReactNode;
831
+ /** Trailing controls, e.g. an action link or a dismiss button. */
832
+ actions?: React$1.ReactNode;
833
+ };
834
+ /** One line inside a tray: tone-colored icon, text, and trailing actions. */
835
+ declare function PromptInputTrayRow({ icon, children, actions, className, ...props }: PromptInputTrayRowProps): React$1.JSX.Element;
836
+ //#endregion
837
+ //#region src/components/ai/usage-notice.d.ts
838
+ /** Tray tone for a budget share: calm below 75%, warning to 90%, danger beyond. */
839
+ declare function usageTone(percent: number): PromptInputTrayTone;
840
+ type UsageNoticeProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
841
+ /** Share of the plan budget already spent, 0-100. */
842
+ percent: number;
843
+ /** Overrides the default "You've used N% of your tokens." sentence. */
844
+ message?: React$1.ReactNode;
845
+ actionLabel?: React$1.ReactNode;
846
+ actionHref?: string;
847
+ onAction?: () => void;
848
+ onDismiss?: () => void;
849
+ };
850
+ /**
851
+ * Plan-budget line for the header of a `PromptInputTray`:
852
+ *
853
+ * ```tsx
854
+ * <PromptInputTray tone={usageTone(80)} header={<UsageNotice percent={80} onDismiss={dismiss} />}>
855
+ * <PromptInput … />
856
+ * </PromptInputTray>
857
+ * ```
858
+ */
859
+ declare function UsageNotice({ percent, message, actionLabel, actionHref, onAction, onDismiss, ...props }: UsageNoticeProps): React$1.JSX.Element;
860
+ //#endregion
861
+ //#region src/components/ai/model-selector.d.ts
862
+ /** Prices in currency units per one million tokens. */
863
+ type AiModelPricing = {
864
+ input: number;
865
+ output: number;
866
+ cachedInput?: number;
867
+ /** ISO 4217 code. Defaults to USD. */
868
+ currency?: string;
869
+ };
870
+ type AiModelLevel = {
871
+ id: string;
872
+ /** Short name shown beside the model, e.g. "Medium" or "High thinking". */
873
+ label: string;
874
+ description?: string;
875
+ /** Overrides the model's pricing when this level bills differently. */
876
+ pricing?: AiModelPricing;
877
+ };
878
+ type AiModelTag = 'new' | 'free' | 'beta' | 'preview' | 'deprecated';
879
+ type AiModel = {
880
+ id: string;
881
+ name: string;
882
+ /** Provider or family name; used for grouping and search. */
883
+ provider: string;
884
+ /** Provider mark or model glyph. */
885
+ icon?: React$1.ReactNode;
886
+ description?: string;
887
+ /** Reasoning or effort levels, in ascending order. */
888
+ levels?: AiModelLevel[];
889
+ defaultLevel?: string;
890
+ pricing?: AiModelPricing;
891
+ contextWindow?: number;
892
+ tags?: AiModelTag[];
893
+ disabled?: boolean;
894
+ /** Why the model can't be chosen, e.g. "Requires the Team plan". */
895
+ disabledReason?: string;
896
+ };
897
+ type ModelSelection = {
898
+ modelId: string;
899
+ levelId?: string;
900
+ };
901
+ type ModelSelectorProps = {
902
+ models: AiModel[];
903
+ value: ModelSelection;
904
+ onValueChange: (value: ModelSelection) => void;
905
+ /** Routers or defaults listed first, without a heading (e.g. "Auto"). */
906
+ pinnedIds?: string[];
907
+ recentIds?: string[];
908
+ recommendedIds?: string[];
909
+ /** How cost appears in each row. `meter` shows relative cost; `price` shows input and output per million. */
910
+ priceDisplay?: 'meter' | 'price' | 'none';
911
+ /** Lets people switch between meter and price from the search row. Defaults to true when any model has pricing. */
912
+ allowPriceToggle?: boolean;
913
+ disabled?: boolean;
914
+ align?: 'start' | 'center' | 'end';
915
+ side?: 'top' | 'bottom';
916
+ triggerClassName?: string;
917
+ /** Classes for the reasoning level beside the model name, e.g. to hide it when the trigger is narrow. */
918
+ levelClassName?: string;
919
+ contentClassName?: string;
920
+ /** Accessible label prefix for the trigger. Defaults to "Model". */
921
+ label?: string;
922
+ };
923
+ /**
924
+ * Relative cost as a row of building blocks: one to four filled, stepping up in height like a stack being built.
925
+ * Discrete tiers read faster than a continuous bar, and the muted fill keeps the list calm while scanning.
926
+ */
927
+ declare function CostBlocks({ tier }: {
928
+ tier: number;
929
+ }): React$1.JSX.Element;
930
+ /**
931
+ * Model picker for composers: searchable list with pinned routers, recent and
932
+ * recommended sections, per-provider groups, reasoning levels, relative cost
933
+ * or per-million pricing, tags, and a side card for the highlighted model
934
+ * with its reasoning levels.
935
+ * Controlled: the host owns the selection and persists recents.
936
+ */
937
+ declare function ModelSelector({ models, value, onValueChange, pinnedIds, recentIds, recommendedIds, priceDisplay: priceDisplayProp, allowPriceToggle, disabled, align, side, triggerClassName, levelClassName, contentClassName, label }: ModelSelectorProps): React$1.JSX.Element;
938
+ //#endregion
939
+ //#region src/components/ai/prompt-input-attachment.d.ts
940
+ type PromptInputAttachmentStatus = 'uploading' | 'ready' | 'error';
941
+ type PromptInputAttachmentProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
942
+ name: string;
943
+ /** Secondary line, e.g. "PDF · 2.4 MB" or an error reason. */
944
+ meta?: React$1.ReactNode;
945
+ /** Image preview URL. Falls back to `icon`, then a document glyph. */
946
+ previewUrl?: string;
947
+ icon?: React$1.ReactNode;
948
+ status?: PromptInputAttachmentStatus;
949
+ onRemove?: () => void;
950
+ };
951
+ /**
952
+ * Staged file chip shown inside a composer before sending: thumbnail or icon,
953
+ * name, meta, upload state, and remove.
954
+ */
955
+ declare function PromptInputAttachment({ name, meta, previewUrl, icon, status, onRemove, className, ...props }: PromptInputAttachmentProps): React$1.JSX.Element;
956
+ type PromptInputAttachmentsProps = React$1.ComponentProps<'div'>;
957
+ /** Wrapping row of attachment chips, placed above the textarea. */
958
+ declare function PromptInputAttachments({ className, ...props }: PromptInputAttachmentsProps): React$1.JSX.Element;
959
+ //#endregion
960
+ //#region src/components/ai/ask-card.d.ts
961
+ type AskOption = {
962
+ id: string;
963
+ label: React$1.ReactNode;
964
+ };
965
+ type AskQuestion = {
966
+ id: string;
967
+ question: React$1.ReactNode;
968
+ options: AskOption[];
969
+ /** Adds a free-text "Something else" row. Defaults to true. */
970
+ allowOther?: boolean;
971
+ };
972
+ type AskChoice = {
973
+ option: string;
974
+ } | {
975
+ other: string;
976
+ };
977
+ type AskAnswer = {
978
+ choices: Record<string, AskChoice>;
979
+ } | {
980
+ skipped: true;
981
+ };
982
+ type AskCardProps = Omit<React$1.ComponentProps<'div'>, 'onSubmit'> & {
983
+ questions: AskQuestion[];
984
+ /** Settled answer. When set, the card collapses to a read-only summary. */
985
+ answer?: AskAnswer;
986
+ onSubmit?: (choices: Record<string, AskChoice>) => void;
987
+ onSkip?: () => void;
988
+ continueLabel?: React$1.ReactNode;
989
+ skipLabel?: React$1.ReactNode;
990
+ /** Name and placeholder of the free-text row. */
991
+ otherLabel?: string;
992
+ /** A small line above the question, e.g. who is asking or why the run paused. */
993
+ eyebrow?: React$1.ReactNode;
994
+ /** Glyph beside each question. Defaults to a help circle; `null` leaves the question bare, e.g. under an eyebrow. */
995
+ icon?: React$1.ReactNode;
996
+ disabled?: boolean;
997
+ };
998
+ /**
999
+ * Inline clarifying questions from an agent, one at a time. Each question
1000
+ * offers its options as radio rows plus a free-text row; Continue moves to the
1001
+ * next question and submits after the last. The card settles into a one-line
1002
+ * summary per question once answered or skipped.
1003
+ */
1004
+ declare function AskCard({ questions, answer, onSubmit, onSkip, continueLabel, skipLabel, otherLabel, eyebrow, icon, disabled, className, ...props }: AskCardProps): React$1.JSX.Element;
1005
+ //#endregion
1006
+ //#region src/components/ai/connect-prompt.d.ts
1007
+ type ConnectPromptStatus = 'idle' | 'connecting' | 'connected' | 'skipped';
1008
+ type ConnectPromptProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
1009
+ /** App mark rendered inside a 32px tile. */
1010
+ icon?: React$1.ReactNode;
1011
+ name: React$1.ReactNode;
1012
+ description?: React$1.ReactNode;
1013
+ status?: ConnectPromptStatus;
1014
+ connectLabel?: React$1.ReactNode;
1015
+ /** Continue-without label, e.g. "Zendesk only for now". Hidden when omitted. */
1016
+ skipLabel?: React$1.ReactNode;
1017
+ onConnect?: () => void;
1018
+ onSkip?: () => void;
1019
+ };
1020
+ /**
1021
+ * Inline request from an agent to connect a missing app before it continues.
1022
+ * Settles into a quiet "Connected" or "Skipped" chip.
1023
+ */
1024
+ declare function ConnectPrompt({ icon, name, description, status, connectLabel, skipLabel, onConnect, onSkip, className, ...props }: ConnectPromptProps): React$1.JSX.Element;
1025
+ //#endregion
1026
+ //#region src/components/ai/agent-draft-card.d.ts
1027
+ type AgentDraftTool = {
1028
+ id: string;
1029
+ label: string;
1030
+ icon?: React$1.ReactNode;
1031
+ };
1032
+ type AgentDraftAction = {
1033
+ id: string;
1034
+ label: React$1.ReactNode;
1035
+ /** Label shown in the settled chip once this action is chosen. */
1036
+ chosenLabel?: React$1.ReactNode;
1037
+ variant?: 'default' | 'outline';
1038
+ };
1039
+ type AgentDraftCardProps = Omit<React$1.ComponentProps<'div'>, 'children'> & {
1040
+ name: React$1.ReactNode;
1041
+ badge?: React$1.ReactNode;
1042
+ schedule?: React$1.ReactNode;
1043
+ tools?: AgentDraftTool[];
1044
+ steps?: React$1.ReactNode[];
1045
+ actions?: AgentDraftAction[];
1046
+ /** Settled action id; replaces the action row with a summary chip. */
1047
+ chosenActionId?: string;
1048
+ onAction?: (actionId: string) => void;
1049
+ defaultOpen?: boolean;
1050
+ };
1051
+ /**
1052
+ * Proposed agent spec an assistant drafts in chat: schedule, tools, and the
1053
+ * ordered steps it will run. Nothing runs until the host handles an action.
1054
+ */
1055
+ declare function AgentDraftCard({ name, badge, schedule, tools, steps, actions, chosenActionId, onAction, defaultOpen, className, ...props }: AgentDraftCardProps): React$1.JSX.Element;
1056
+ //#endregion
732
1057
  //#region src/components/ai/format-duration.d.ts
733
1058
  /** Format elapsed ms for "Thought for …" / "Worked for …" labels. */
734
1059
  declare function formatDuration(ms: number): string;
735
1060
  //#endregion
736
- export { ToolGroup as $, MessageContent as $t, PlanTrackerProps as A, SystemMessageProps as At, InlineDiff as B, ResponseStreamProps as Bt, TaskRow as C, Reasoning as Ct, ContextRingProps as D, STREAM_THROTTLE_MS as Dt, ContextRing as E, ThinkingBarProps as Et, DiffTableRowBase as F, ChatContainerContentProps as Ft, Sources as G, renderBasicMarkdown as Gt, lineDiff as H, CodeBlockProps as Ht, StreamToken as I, ChatContainerProps as It, ApprovalCardProps as J, MessageActionProps as Jt, SourcesProps as K, Message as Kt, StreamingText as L, useChatContainer as Lt, DiffTableAddedRow as M, ScrollButtonProps as Mt, DiffTableColumn as N, ChatContainer as Nt, formatCompact as O, useThrottledText as Ot, DiffTableProps as P, ChatContainerContent as Pt, Tool as Q, MessageAvatarProps as Qt, StreamingTextProps as R, ResponseStream as Rt, TaskListProps as S, ThinkingTraceRow as St, TaskStatus as T, ThinkingBar as Tt, Source as U, Markdown as Ut, InlineDiffProps as V, CodeBlock as Vt, SourceProps as W, MarkdownProps as Wt, ApprovalQuestion as X, MessageActionsProps as Xt, ApprovalOption as Y, MessageActions as Yt, StatusIcon as Z, MessageAvatar as Zt, ContextCardProps as _, PixelVariant as _n, Steps as _t, FileUploadProps as a, PromptInputActions as an, InlineDiffSource as at, TaskDetail as b, TextShimmerProps as bn, ThinkingTraceMode as bt, PromptSuggestions as c, PromptInputBodyProps as cn, PlanStep as ct, FeedbackBarProps as d, PromptInputTextareaProps as dn, normalizeToolStatus as dt, MessageContentProps as en, ToolGroupProps as et, FeedbackValue as f, usePromptInput as fn, ChainOfThought as ft, ContextCard as g, Loader as gn, StepStatus as gt, RecommendationOption as h, AgentLoaderVariant as hn, StepProps as ht, FileUpload as i, PromptInputActionProps as in, DiffFileChip as it, DiffTable as j, ScrollButton as jt, PlanTracker as k, SystemMessage as kt, PromptSuggestionsProps as l, PromptInputProps as ln, PlanStepStatus as lt, RecommendationCardProps as m, AgentLoaderProps as mn, Step as mt, AiImage as n, PromptInput as nn, ToolVariant as nt, PromptSuggestion as o, PromptInputActionsProps as on, NormalizedToolStatus as ot, RecommendationCard as p, AgentLoader as pn, ChainOfThoughtStep as pt, ApprovalCard as q, MessageAction as qt, AiImageProps as r, PromptInputAction as rn, ContextUsage as rt, PromptSuggestionProps as s, PromptInputBody as sn, Plan as st, formatDuration as t, MessageProps as tn, ToolProps as tt, FeedbackBar as u, PromptInputTextarea as un, ToolStatus as ut, ContextCards as v, SimpleVariant as vn, StepsProps as vt, TaskRowProps as w, ReasoningProps as wt, TaskList as x, ThinkingTraceProps as xt, ContextCardsProps as y, TextShimmer as yn, ThinkingTrace as yt, StreamingTextSource as z, ResponseStreamMode as zt };
737
- //# sourceMappingURL=index-CyaFaZe2.d.cts.map
1061
+ export { PromptSuggestionsProps as $, PromptInputProps as $n, PlanStepStatus as $t, usageTone as A, ResponseStreamProps as An, InlineDiff as At, ToolTraceProps as B, MessageActionsProps as Bn, ApprovalQuestion as Bt, AiModelTag as C, ChatContainer as Cn, DiffTableColumn as Ct, ModelSelectorProps as D, useChatContainer as Dn, StreamingText as Dt, ModelSelector as E, ChatContainerProps as En, StreamToken as Et, PromptInputTrayTone as F, renderBasicMarkdown as Fn, Sources as Ft, iconEnterClass as G, MessageProps as Gn, ToolProps as Gt, ToolTraceStep as H, MessageAvatarProps as Hn, Tool as Ht, ThinkingStatus as I, Message as In, SourcesProps as It, FileUpload as J, PromptInputActionProps as Jn, DiffFileChip as Jt, AiImage as K, PromptInput as Kn, ToolVariant as Kt, ThinkingStatusProps as L, MessageAction as Ln, ApprovalCard as Lt, PromptInputTrayProps as M, CodeBlockProps as Mn, lineDiff as Mt, PromptInputTrayRow as N, Markdown as Nn, Source as Nt, UsageNotice as O, ResponseStream as On, StreamingTextProps as Ot, PromptInputTrayRowProps as P, MarkdownProps as Pn, SourceProps as Pt, PromptSuggestions as Q, PromptInputBodyProps as Qn, PlanStep as Qt, formatElapsed as R, MessageActionProps as Rn, ApprovalCardProps as Rt, AiModelPricing as S, ScrollButtonProps as Sn, DiffTableAddedRow as St, ModelSelection as T, ChatContainerContentProps as Tn, DiffTableRowBase as Tt, MarkTile as U, MessageContent as Un, ToolGroup as Ut, ToolTraceStatus as V, MessageAvatar as Vn, StatusIcon as Vt, MarkTileProps as W, MessageContentProps as Wn, ToolGroupProps as Wt, PromptSuggestion as X, PromptInputActionsProps as Xn, NormalizedToolStatus as Xt, FileUploadProps as Y, PromptInputActions as Yn, InlineDiffSource as Yt, PromptSuggestionProps as Z, PromptInputBody as Zn, Plan as Zt, PromptInputAttachmentStatus as _, STREAM_THROTTLE_MS as _n, ContextRingProps as _t, AgentDraftTool as a, StepProps as an, AgentLoaderVariant as ar, RecommendationOption as at, AiModel as b, SystemMessageProps as bn, PlanTrackerProps as bt, ConnectPromptStatus as c, StepsProps as cn, SimpleVariant as cr, ContextCards as ct, AskCardProps as d, ThinkingTraceProps as dn, TaskList as dt, ToolStatus as en, PromptInputTextarea as er, FeedbackBar as et, AskChoice as f, ThinkingTraceRow as fn, TaskListProps as ft, PromptInputAttachmentProps as g, ThinkingBarProps as gn, ContextRing as gt, PromptInputAttachment as h, ThinkingBar as hn, TaskStatus as ht, AgentDraftCardProps as i, Step as in, AgentLoaderProps as ir, RecommendationCardProps as it, PromptInputTray as j, CodeBlock as jn, InlineDiffProps as jt, UsageNoticeProps as k, ResponseStreamMode as kn, StreamingTextSource as kt, AskAnswer as l, ThinkingTrace as ln, TextShimmer as lr, ContextCardsProps as lt, AskQuestion as m, ReasoningProps as mn, TaskRowProps as mt, AgentDraftAction as n, ChainOfThought as nn, usePromptInput as nr, FeedbackValue as nt, ConnectPrompt as o, StepStatus as on, Loader as or, ContextCard as ot, AskOption as p, Reasoning as pn, TaskRow as pt, AiImageProps as q, PromptInputAction as qn, ContextUsage as qt, AgentDraftCard as r, ChainOfThoughtStep as rn, AgentLoader as rr, RecommendationCard as rt, ConnectPromptProps as s, Steps as sn, PixelVariant as sr, ContextCardProps as st, formatDuration as t, normalizeToolStatus as tn, PromptInputTextareaProps as tr, FeedbackBarProps as tt, AskCard as u, ThinkingTraceMode as un, TextShimmerProps as ur, TaskDetail as ut, PromptInputAttachments as v, useThrottledText as vn, formatCompact as vt, CostBlocks as w, ChatContainerContent as wn, DiffTableProps as wt, AiModelLevel as x, ScrollButton as xn, DiffTable as xt, PromptInputAttachmentsProps as y, SystemMessage as yn, PlanTracker as yt, ToolTrace as z, MessageActions as zn, ApprovalOption as zt };
1062
+ //# sourceMappingURL=index-Cluc_xc5.d.ts.map