@chatsdk-dev/ui 0.1.2 → 0.2.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 (562) hide show
  1. package/dist/atoms/accordion.d.ts +4 -4
  2. package/dist/atoms/accordion.d.ts.map +1 -1
  3. package/dist/atoms/alert-dialog.d.ts +22 -14
  4. package/dist/atoms/alert-dialog.d.ts.map +1 -1
  5. package/dist/atoms/alert-dialog.js +13 -8
  6. package/dist/atoms/alert.d.ts +4 -4
  7. package/dist/atoms/alert.d.ts.map +1 -1
  8. package/dist/atoms/attachment.d.ts +24 -0
  9. package/dist/atoms/attachment.d.ts.map +1 -0
  10. package/dist/atoms/attachment.js +76 -0
  11. package/dist/atoms/avatar.d.ts +6 -6
  12. package/dist/atoms/avatar.d.ts.map +1 -1
  13. package/dist/atoms/badge.d.ts +1 -1
  14. package/dist/atoms/bubble.d.ts +17 -0
  15. package/dist/atoms/bubble.d.ts.map +1 -0
  16. package/dist/atoms/bubble.js +59 -0
  17. package/dist/atoms/button-group.d.ts +2 -2
  18. package/dist/atoms/button-group.d.ts.map +1 -1
  19. package/dist/atoms/button-loader.d.ts +2 -2
  20. package/dist/atoms/button-loader.d.ts.map +1 -1
  21. package/dist/atoms/button.d.ts +2 -2
  22. package/dist/atoms/button.d.ts.map +1 -1
  23. package/dist/atoms/button.js +2 -1
  24. package/dist/atoms/card.d.ts +7 -7
  25. package/dist/atoms/card.d.ts.map +1 -1
  26. package/dist/atoms/carousel.d.ts +5 -5
  27. package/dist/atoms/carousel.d.ts.map +1 -1
  28. package/dist/atoms/carousel.js +1 -0
  29. package/dist/atoms/collapsible.d.ts +3 -3
  30. package/dist/atoms/collapsible.d.ts.map +1 -1
  31. package/dist/atoms/command.d.ts +9 -9
  32. package/dist/atoms/command.d.ts.map +1 -1
  33. package/dist/atoms/container.d.ts +1 -1
  34. package/dist/atoms/container.d.ts.map +1 -1
  35. package/dist/atoms/dialog.d.ts +10 -10
  36. package/dist/atoms/dialog.d.ts.map +1 -1
  37. package/dist/atoms/dialog.js +4 -2
  38. package/dist/atoms/dots-loader.d.ts +1 -1
  39. package/dist/atoms/dots-loader.d.ts.map +1 -1
  40. package/dist/atoms/drawer.d.ts +10 -10
  41. package/dist/atoms/drawer.d.ts.map +1 -1
  42. package/dist/atoms/drawer.js +6 -4
  43. package/dist/atoms/dropdown-menu.d.ts +15 -15
  44. package/dist/atoms/dropdown-menu.d.ts.map +1 -1
  45. package/dist/atoms/dropdown-menu.js +8 -5
  46. package/dist/atoms/empty.d.ts +6 -6
  47. package/dist/atoms/empty.d.ts.map +1 -1
  48. package/dist/atoms/field.d.ts +10 -10
  49. package/dist/atoms/field.d.ts.map +1 -1
  50. package/dist/atoms/form.d.ts +6 -6
  51. package/dist/atoms/form.d.ts.map +1 -1
  52. package/dist/atoms/form.js +4 -2
  53. package/dist/atoms/header.d.ts +1 -1
  54. package/dist/atoms/header.d.ts.map +1 -1
  55. package/dist/atoms/hover-card.d.ts +3 -3
  56. package/dist/atoms/hover-card.d.ts.map +1 -1
  57. package/dist/atoms/hover-card.js +3 -1
  58. package/dist/atoms/input-group.d.ts +7 -7
  59. package/dist/atoms/input-group.d.ts.map +1 -1
  60. package/dist/atoms/input.d.ts +1 -1
  61. package/dist/atoms/input.d.ts.map +1 -1
  62. package/dist/atoms/input.js +1 -1
  63. package/dist/atoms/label.d.ts +1 -1
  64. package/dist/atoms/label.d.ts.map +1 -1
  65. package/dist/atoms/logo.d.ts +1 -1
  66. package/dist/atoms/logo.d.ts.map +1 -1
  67. package/dist/atoms/marker.d.ts +11 -0
  68. package/dist/atoms/marker.d.ts.map +1 -0
  69. package/dist/atoms/marker.js +34 -0
  70. package/dist/atoms/message-scroller.d.ts +11 -0
  71. package/dist/atoms/message-scroller.d.ts.map +1 -0
  72. package/dist/atoms/message-scroller.js +25 -0
  73. package/dist/atoms/message.d.ts +11 -0
  74. package/dist/atoms/message.d.ts.map +1 -0
  75. package/dist/atoms/message.js +21 -0
  76. package/dist/atoms/number-flow.d.ts +1 -1
  77. package/dist/atoms/number-flow.d.ts.map +1 -1
  78. package/dist/atoms/popover.d.ts +6 -6
  79. package/dist/atoms/popover.d.ts.map +1 -1
  80. package/dist/atoms/popover.js +3 -1
  81. package/dist/atoms/progress.d.ts +5 -5
  82. package/dist/atoms/progress.d.ts.map +1 -1
  83. package/dist/atoms/radio-group.d.ts +2 -2
  84. package/dist/atoms/radio-group.d.ts.map +1 -1
  85. package/dist/atoms/scroll-area.d.ts +2 -2
  86. package/dist/atoms/scroll-area.d.ts.map +1 -1
  87. package/dist/atoms/select.d.ts +9 -9
  88. package/dist/atoms/select.d.ts.map +1 -1
  89. package/dist/atoms/select.js +5 -3
  90. package/dist/atoms/separator.d.ts +1 -1
  91. package/dist/atoms/separator.d.ts.map +1 -1
  92. package/dist/atoms/sheet.d.ts +8 -8
  93. package/dist/atoms/sheet.d.ts.map +1 -1
  94. package/dist/atoms/sheet.js +5 -3
  95. package/dist/atoms/sidebar.d.ts +19 -19
  96. package/dist/atoms/sidebar.d.ts.map +1 -1
  97. package/dist/atoms/sidebar.js +1 -1
  98. package/dist/atoms/skeleton.d.ts +1 -1
  99. package/dist/atoms/skeleton.d.ts.map +1 -1
  100. package/dist/atoms/spinner.d.ts +1 -1
  101. package/dist/atoms/spinner.d.ts.map +1 -1
  102. package/dist/atoms/switch.d.ts +1 -1
  103. package/dist/atoms/switch.d.ts.map +1 -1
  104. package/dist/atoms/table.d.ts +8 -8
  105. package/dist/atoms/table.d.ts.map +1 -1
  106. package/dist/atoms/table.js +1 -1
  107. package/dist/atoms/tabs.d.ts +8 -5
  108. package/dist/atoms/tabs.d.ts.map +1 -1
  109. package/dist/atoms/tabs.js +10 -6
  110. package/dist/atoms/textarea.d.ts +1 -1
  111. package/dist/atoms/textarea.d.ts.map +1 -1
  112. package/dist/atoms/toggle.d.ts +2 -2
  113. package/dist/atoms/toggle.d.ts.map +1 -1
  114. package/dist/atoms/toggle.js +1 -0
  115. package/dist/atoms/tooltip.d.ts +7 -5
  116. package/dist/atoms/tooltip.d.ts.map +1 -1
  117. package/dist/atoms/tooltip.js +6 -4
  118. package/dist/atoms/typography/h1.d.ts +1 -1
  119. package/dist/atoms/typography/h1.d.ts.map +1 -1
  120. package/dist/atoms/typography/paragraph.d.ts +1 -1
  121. package/dist/atoms/typography/paragraph.d.ts.map +1 -1
  122. package/dist/hooks/use-breakpoint.d.ts.map +1 -1
  123. package/dist/hooks/use-breakpoint.js +1 -0
  124. package/dist/hooks/use-controllable-state.js +1 -1
  125. package/dist/hooks/use-copy-to-clipboard.d.ts +9 -1
  126. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -1
  127. package/dist/hooks/use-copy-to-clipboard.js +9 -6
  128. package/dist/index.css +1693 -996
  129. package/dist/lib/portal-container.d.ts +12 -0
  130. package/dist/lib/portal-container.d.ts.map +1 -0
  131. package/dist/lib/portal-container.js +15 -0
  132. package/dist/lib/utils.d.ts +8 -0
  133. package/dist/lib/utils.d.ts.map +1 -1
  134. package/dist/lib/utils.js +27 -0
  135. package/dist/molecules/ai/action.d.ts +7 -0
  136. package/dist/molecules/ai/action.d.ts.map +1 -0
  137. package/dist/molecules/ai/action.js +13 -0
  138. package/dist/molecules/ai/agent.d.ts +7 -7
  139. package/dist/molecules/ai/agent.d.ts.map +1 -1
  140. package/dist/molecules/ai/artifact.d.ts +8 -8
  141. package/dist/molecules/ai/artifact.d.ts.map +1 -1
  142. package/dist/molecules/ai/artifact.js +2 -2
  143. package/dist/molecules/ai/audio-player.d.ts +11 -11
  144. package/dist/molecules/ai/audio-player.d.ts.map +1 -1
  145. package/dist/molecules/ai/audio-player.js +1 -3
  146. package/dist/molecules/ai/canvas.d.ts +1 -2
  147. package/dist/molecules/ai/canvas.d.ts.map +1 -1
  148. package/dist/molecules/ai/canvas.js +0 -1
  149. package/dist/molecules/ai/chain-of-thought.d.ts +7 -7
  150. package/dist/molecules/ai/chain-of-thought.d.ts.map +1 -1
  151. package/dist/molecules/ai/checkpoint.d.ts +3 -3
  152. package/dist/molecules/ai/checkpoint.d.ts.map +1 -1
  153. package/dist/molecules/ai/code-block.d.ts +13 -13
  154. package/dist/molecules/ai/code-block.d.ts.map +1 -1
  155. package/dist/molecules/ai/commit.d.ts +22 -22
  156. package/dist/molecules/ai/commit.d.ts.map +1 -1
  157. package/dist/molecules/ai/confirmation.d.ts +4 -12
  158. package/dist/molecules/ai/confirmation.d.ts.map +1 -1
  159. package/dist/molecules/ai/context.d.ts +10 -10
  160. package/dist/molecules/ai/context.d.ts.map +1 -1
  161. package/dist/molecules/ai/controls.d.ts +1 -1
  162. package/dist/molecules/ai/controls.d.ts.map +1 -1
  163. package/dist/molecules/ai/edge.d.ts +2 -2
  164. package/dist/molecules/ai/environment-variables.d.ts +11 -11
  165. package/dist/molecules/ai/environment-variables.d.ts.map +1 -1
  166. package/dist/molecules/ai/file-tree.d.ts +6 -6
  167. package/dist/molecules/ai/file-tree.d.ts.map +1 -1
  168. package/dist/molecules/ai/image.d.ts +1 -1
  169. package/dist/molecules/ai/image.d.ts.map +1 -1
  170. package/dist/molecules/ai/inline-citation.d.ts +14 -14
  171. package/dist/molecules/ai/inline-citation.d.ts.map +1 -1
  172. package/dist/molecules/ai/jsx-preview.d.ts +3 -3
  173. package/dist/molecules/ai/jsx-preview.d.ts.map +1 -1
  174. package/dist/molecules/ai/loader.d.ts +1 -1
  175. package/dist/molecules/ai/loader.d.ts.map +1 -1
  176. package/dist/molecules/ai/mic-selector.d.ts +9 -9
  177. package/dist/molecules/ai/mic-selector.d.ts.map +1 -1
  178. package/dist/molecules/ai/model-selector.d.ts +14 -14
  179. package/dist/molecules/ai/model-selector.d.ts.map +1 -1
  180. package/dist/molecules/ai/node.d.ts +7 -7
  181. package/dist/molecules/ai/node.d.ts.map +1 -1
  182. package/dist/molecules/ai/open-in-chat.d.ts +12 -12
  183. package/dist/molecules/ai/open-in-chat.d.ts.map +1 -1
  184. package/dist/molecules/ai/package-info.d.ts +9 -9
  185. package/dist/molecules/ai/package-info.d.ts.map +1 -1
  186. package/dist/molecules/ai/panel.d.ts +1 -1
  187. package/dist/molecules/ai/panel.d.ts.map +1 -1
  188. package/dist/molecules/ai/persona.d.ts.map +1 -1
  189. package/dist/molecules/ai/plan.d.ts +8 -8
  190. package/dist/molecules/ai/plan.d.ts.map +1 -1
  191. package/dist/molecules/ai/plan.js +3 -4
  192. package/dist/molecules/ai/prompt-input.d.ts +35 -35
  193. package/dist/molecules/ai/prompt-input.d.ts.map +1 -1
  194. package/dist/molecules/ai/prompt-input.js +5 -15
  195. package/dist/molecules/ai/queue.d.ts +15 -15
  196. package/dist/molecules/ai/queue.d.ts.map +1 -1
  197. package/dist/molecules/ai/reasoning.d.ts +3 -3
  198. package/dist/molecules/ai/reasoning.d.ts.map +1 -1
  199. package/dist/molecules/ai/reasoning.js +7 -34
  200. package/dist/molecules/ai/response.d.ts +3 -4
  201. package/dist/molecules/ai/response.d.ts.map +1 -1
  202. package/dist/molecules/ai/response.js +10 -14
  203. package/dist/molecules/ai/sandbox.d.ts +8 -8
  204. package/dist/molecules/ai/sandbox.d.ts.map +1 -1
  205. package/dist/molecules/ai/sandbox.js +1 -1
  206. package/dist/molecules/ai/schema-display.d.ts +13 -13
  207. package/dist/molecules/ai/schema-display.d.ts.map +1 -1
  208. package/dist/molecules/ai/snippet.d.ts +5 -5
  209. package/dist/molecules/ai/snippet.d.ts.map +1 -1
  210. package/dist/molecules/ai/sources.d.ts +6 -5
  211. package/dist/molecules/ai/sources.d.ts.map +1 -1
  212. package/dist/molecules/ai/sources.js +2 -2
  213. package/dist/molecules/ai/speech-input.d.ts +1 -1
  214. package/dist/molecules/ai/speech-input.d.ts.map +1 -1
  215. package/dist/molecules/ai/stack-trace.d.ts +10 -10
  216. package/dist/molecules/ai/stack-trace.d.ts.map +1 -1
  217. package/dist/molecules/ai/stack-trace.js +1 -1
  218. package/dist/molecules/ai/suggestion.d.ts +2 -2
  219. package/dist/molecules/ai/suggestion.d.ts.map +1 -1
  220. package/dist/molecules/ai/task.d.ts +5 -5
  221. package/dist/molecules/ai/task.d.ts.map +1 -1
  222. package/dist/molecules/ai/terminal.d.ts +8 -8
  223. package/dist/molecules/ai/terminal.d.ts.map +1 -1
  224. package/dist/molecules/ai/test-results.d.ts +17 -17
  225. package/dist/molecules/ai/test-results.d.ts.map +1 -1
  226. package/dist/molecules/ai/tool.d.ts +21 -8
  227. package/dist/molecules/ai/tool.d.ts.map +1 -1
  228. package/dist/molecules/ai/tool.js +15 -11
  229. package/dist/molecules/ai/toolbar.d.ts +1 -1
  230. package/dist/molecules/ai/toolbar.d.ts.map +1 -1
  231. package/dist/molecules/ai/transcription.d.ts +2 -2
  232. package/dist/molecules/ai/transcription.d.ts.map +1 -1
  233. package/dist/molecules/ai/voice-selector.d.ts +19 -19
  234. package/dist/molecules/ai/voice-selector.d.ts.map +1 -1
  235. package/dist/molecules/ai/web-preview.d.ts +6 -6
  236. package/dist/molecules/ai/web-preview.d.ts.map +1 -1
  237. package/dist/molecules/ai/web-preview.js +2 -2
  238. package/package.json +27 -27
  239. package/dist/components/accordion.d.ts +0 -7
  240. package/dist/components/accordion.d.ts.map +0 -1
  241. package/dist/components/accordion.js +0 -18
  242. package/dist/components/alert-dialog.d.ts +0 -19
  243. package/dist/components/alert-dialog.d.ts.map +0 -1
  244. package/dist/components/alert-dialog.js +0 -42
  245. package/dist/components/alert.d.ts +0 -11
  246. package/dist/components/alert.d.ts.map +0 -1
  247. package/dist/components/alert.js +0 -27
  248. package/dist/components/avatar.d.ts +0 -12
  249. package/dist/components/avatar.d.ts.map +0 -1
  250. package/dist/components/avatar.js +0 -23
  251. package/dist/components/badge.d.ts +0 -8
  252. package/dist/components/badge.d.ts.map +0 -1
  253. package/dist/components/badge.js +0 -44
  254. package/dist/components/button-group.d.ts +0 -11
  255. package/dist/components/button-group.d.ts.map +0 -1
  256. package/dist/components/button-group.js +0 -36
  257. package/dist/components/button-loader.d.ts +0 -9
  258. package/dist/components/button-loader.d.ts.map +0 -1
  259. package/dist/components/button-loader.js +0 -10
  260. package/dist/components/button.d.ts +0 -9
  261. package/dist/components/button.d.ts.map +0 -1
  262. package/dist/components/button.js +0 -32
  263. package/dist/components/card.d.ts +0 -12
  264. package/dist/components/card.d.ts.map +0 -1
  265. package/dist/components/card.js +0 -25
  266. package/dist/components/carousel.d.ts +0 -29
  267. package/dist/components/carousel.d.ts.map +0 -1
  268. package/dist/components/carousel.js +0 -91
  269. package/dist/components/collapsible.d.ts +0 -6
  270. package/dist/components/collapsible.d.ts.map +0 -1
  271. package/dist/components/collapsible.js +0 -13
  272. package/dist/components/command.d.ts +0 -20
  273. package/dist/components/command.d.ts.map +0 -1
  274. package/dist/components/command.js +0 -35
  275. package/dist/components/container.d.ts +0 -8
  276. package/dist/components/container.d.ts.map +0 -1
  277. package/dist/components/container.js +0 -5
  278. package/dist/components/dialog.d.ts +0 -19
  279. package/dist/components/dialog.d.ts.map +0 -1
  280. package/dist/components/dialog.js +0 -38
  281. package/dist/components/dots-loader.d.ts +0 -15
  282. package/dist/components/dots-loader.d.ts.map +0 -1
  283. package/dist/components/dots-loader.js +0 -21
  284. package/dist/components/drawer.d.ts +0 -14
  285. package/dist/components/drawer.d.ts.map +0 -1
  286. package/dist/components/drawer.js +0 -35
  287. package/dist/components/dropdown-menu.d.ts +0 -26
  288. package/dist/components/dropdown-menu.d.ts.map +0 -1
  289. package/dist/components/dropdown-menu.js +0 -51
  290. package/dist/components/empty.d.ts +0 -12
  291. package/dist/components/empty.d.ts.map +0 -1
  292. package/dist/components/empty.js +0 -33
  293. package/dist/components/field.d.ts +0 -25
  294. package/dist/components/field.d.ts.map +0 -1
  295. package/dist/components/field.js +0 -68
  296. package/dist/components/form.d.ts +0 -23
  297. package/dist/components/form.d.ts.map +0 -1
  298. package/dist/components/form.js +0 -68
  299. package/dist/components/header.d.ts +0 -6
  300. package/dist/components/header.d.ts.map +0 -1
  301. package/dist/components/header.js +0 -6
  302. package/dist/components/hover-card.d.ts +0 -6
  303. package/dist/components/hover-card.d.ts.map +0 -1
  304. package/dist/components/hover-card.js +0 -14
  305. package/dist/components/index.d.ts +0 -5
  306. package/dist/components/index.d.ts.map +0 -1
  307. package/dist/components/index.js +0 -5
  308. package/dist/components/input-group.d.ts +0 -19
  309. package/dist/components/input-group.d.ts.map +0 -1
  310. package/dist/components/input-group.js +0 -57
  311. package/dist/components/input.d.ts +0 -7
  312. package/dist/components/input.d.ts.map +0 -1
  313. package/dist/components/input.js +0 -6
  314. package/dist/components/label.d.ts +0 -3
  315. package/dist/components/label.d.ts.map +0 -1
  316. package/dist/components/label.js +0 -7
  317. package/dist/components/logo.d.ts +0 -7
  318. package/dist/components/logo.d.ts.map +0 -1
  319. package/dist/components/logo.js +0 -6
  320. package/dist/components/number-flow.d.ts +0 -3
  321. package/dist/components/number-flow.d.ts.map +0 -1
  322. package/dist/components/number-flow.js +0 -6
  323. package/dist/components/popover.d.ts +0 -10
  324. package/dist/components/popover.d.ts.map +0 -1
  325. package/dist/components/popover.js +0 -23
  326. package/dist/components/progress.d.ts +0 -8
  327. package/dist/components/progress.d.ts.map +0 -1
  328. package/dist/components/progress.js +0 -20
  329. package/dist/components/radio-group.d.ts +0 -6
  330. package/dist/components/radio-group.d.ts.map +0 -1
  331. package/dist/components/radio-group.js +0 -13
  332. package/dist/components/responsive-alert-dialog.d.ts +0 -16
  333. package/dist/components/responsive-alert-dialog.d.ts.map +0 -1
  334. package/dist/components/responsive-alert-dialog.js +0 -20
  335. package/dist/components/responsive-dialog.d.ts +0 -11
  336. package/dist/components/responsive-dialog.d.ts.map +0 -1
  337. package/dist/components/responsive-dialog.js +0 -21
  338. package/dist/components/scroll-area.d.ts +0 -5
  339. package/dist/components/scroll-area.d.ts.map +0 -1
  340. package/dist/components/scroll-area.js +0 -11
  341. package/dist/components/select.d.ts +0 -17
  342. package/dist/components/select.d.ts.map +0 -1
  343. package/dist/components/select.js +0 -34
  344. package/dist/components/separator.d.ts +0 -3
  345. package/dist/components/separator.d.ts.map +0 -1
  346. package/dist/components/separator.js +0 -7
  347. package/dist/components/sheet.d.ts +0 -15
  348. package/dist/components/sheet.d.ts.map +0 -1
  349. package/dist/components/sheet.js +0 -37
  350. package/dist/components/sidebar.d.ts +0 -65
  351. package/dist/components/sidebar.d.ts.map +0 -1
  352. package/dist/components/sidebar.js +0 -258
  353. package/dist/components/skeleton.d.ts +0 -2
  354. package/dist/components/skeleton.d.ts.map +0 -1
  355. package/dist/components/skeleton.js +0 -5
  356. package/dist/components/spinner.d.ts +0 -3
  357. package/dist/components/spinner.d.ts.map +0 -1
  358. package/dist/components/spinner.js +0 -7
  359. package/dist/components/switch.d.ts +0 -5
  360. package/dist/components/switch.d.ts.map +0 -1
  361. package/dist/components/switch.js +0 -7
  362. package/dist/components/table.d.ts +0 -13
  363. package/dist/components/table.d.ts.map +0 -1
  364. package/dist/components/table.js +0 -28
  365. package/dist/components/tabs.d.ts +0 -12
  366. package/dist/components/tabs.d.ts.map +0 -1
  367. package/dist/components/tabs.js +0 -32
  368. package/dist/components/textarea.d.ts +0 -3
  369. package/dist/components/textarea.d.ts.map +0 -1
  370. package/dist/components/textarea.js +0 -5
  371. package/dist/components/toggle.d.ts +0 -9
  372. package/dist/components/toggle.d.ts.map +0 -1
  373. package/dist/components/toggle.js +0 -26
  374. package/dist/components/tooltip.d.ts +0 -7
  375. package/dist/components/tooltip.d.ts.map +0 -1
  376. package/dist/components/tooltip.js +0 -17
  377. package/dist/components/typography/h1.d.ts +0 -10
  378. package/dist/components/typography/h1.d.ts.map +0 -1
  379. package/dist/components/typography/h1.js +0 -6
  380. package/dist/components/typography/paragraph.d.ts +0 -6
  381. package/dist/components/typography/paragraph.d.ts.map +0 -1
  382. package/dist/components/typography/paragraph.js +0 -6
  383. package/dist/components/typography/text.d.ts +0 -14
  384. package/dist/components/typography/text.d.ts.map +0 -1
  385. package/dist/components/typography/text.js +0 -41
  386. package/dist/molecules/actions.d.ts +0 -10
  387. package/dist/molecules/actions.d.ts.map +0 -1
  388. package/dist/molecules/actions.js +0 -13
  389. package/dist/molecules/agent.d.ts +0 -27
  390. package/dist/molecules/agent.d.ts.map +0 -1
  391. package/dist/molecules/agent.js +0 -27
  392. package/dist/molecules/ai/actions.d.ts +0 -10
  393. package/dist/molecules/ai/actions.d.ts.map +0 -1
  394. package/dist/molecules/ai/actions.js +0 -13
  395. package/dist/molecules/ai/attachments.d.ts +0 -55
  396. package/dist/molecules/ai/attachments.d.ts.map +0 -1
  397. package/dist/molecules/ai/attachments.js +0 -125
  398. package/dist/molecules/ai/conversation.d.ts +0 -24
  399. package/dist/molecules/ai/conversation.d.ts.map +0 -1
  400. package/dist/molecules/ai/conversation.js +0 -41
  401. package/dist/molecules/ai/message.d.ts +0 -38
  402. package/dist/molecules/ai/message.d.ts.map +0 -1
  403. package/dist/molecules/ai/message.js +0 -92
  404. package/dist/molecules/ai/shimmer.d.ts +0 -10
  405. package/dist/molecules/ai/shimmer.d.ts.map +0 -1
  406. package/dist/molecules/ai/shimmer.js +0 -28
  407. package/dist/molecules/artifact.d.ts +0 -24
  408. package/dist/molecules/artifact.d.ts.map +0 -1
  409. package/dist/molecules/artifact.js +0 -20
  410. package/dist/molecules/attachments.d.ts +0 -55
  411. package/dist/molecules/attachments.d.ts.map +0 -1
  412. package/dist/molecules/attachments.js +0 -125
  413. package/dist/molecules/audio-player.d.ts +0 -30
  414. package/dist/molecules/audio-player.d.ts.map +0 -1
  415. package/dist/molecules/audio-player.js +0 -43
  416. package/dist/molecules/canvas.d.ts +0 -9
  417. package/dist/molecules/canvas.d.ts.map +0 -1
  418. package/dist/molecules/canvas.js +0 -5
  419. package/dist/molecules/chain-of-thought.d.ts +0 -30
  420. package/dist/molecules/chain-of-thought.d.ts.map +0 -1
  421. package/dist/molecules/chain-of-thought.js +0 -49
  422. package/dist/molecules/chat-message.d.ts +0 -10
  423. package/dist/molecules/chat-message.d.ts.map +0 -1
  424. package/dist/molecules/chat-message.js +0 -53
  425. package/dist/molecules/checkpoint.d.ts +0 -12
  426. package/dist/molecules/checkpoint.d.ts.map +0 -1
  427. package/dist/molecules/checkpoint.js +0 -10
  428. package/dist/molecules/code-block.d.ts +0 -46
  429. package/dist/molecules/code-block.d.ts.map +0 -1
  430. package/dist/molecules/code-block.js +0 -216
  431. package/dist/molecules/commit.d.ts +0 -65
  432. package/dist/molecules/commit.d.ts.map +0 -1
  433. package/dist/molecules/commit.js +0 -95
  434. package/dist/molecules/confirmation.d.ts +0 -50
  435. package/dist/molecules/confirmation.d.ts.map +0 -1
  436. package/dist/molecules/confirmation.js +0 -61
  437. package/dist/molecules/connection.d.ts +0 -3
  438. package/dist/molecules/connection.d.ts.map +0 -1
  439. package/dist/molecules/connection.js +0 -3
  440. package/dist/molecules/context.d.ts +0 -33
  441. package/dist/molecules/context.d.ts.map +0 -1
  442. package/dist/molecules/context.js +0 -164
  443. package/dist/molecules/controls.d.ts +0 -5
  444. package/dist/molecules/controls.d.ts.map +0 -1
  445. package/dist/molecules/controls.js +0 -5
  446. package/dist/molecules/conversation.d.ts +0 -24
  447. package/dist/molecules/conversation.d.ts.map +0 -1
  448. package/dist/molecules/conversation.js +0 -41
  449. package/dist/molecules/edge.d.ts +0 -6
  450. package/dist/molecules/edge.d.ts.map +0 -1
  451. package/dist/molecules/edge.js +0 -87
  452. package/dist/molecules/environment-variables.d.ts +0 -39
  453. package/dist/molecules/environment-variables.d.ts.map +0 -1
  454. package/dist/molecules/environment-variables.js +0 -87
  455. package/dist/molecules/file-tree.d.ts +0 -27
  456. package/dist/molecules/file-tree.d.ts.map +0 -1
  457. package/dist/molecules/file-tree.js +0 -71
  458. package/dist/molecules/image.d.ts +0 -7
  459. package/dist/molecules/image.d.ts.map +0 -1
  460. package/dist/molecules/image.js +0 -3
  461. package/dist/molecules/inline-citation.d.ts +0 -39
  462. package/dist/molecules/inline-citation.d.ts.map +0 -1
  463. package/dist/molecules/inline-citation.js +0 -68
  464. package/dist/molecules/jsx-preview.d.ts +0 -30
  465. package/dist/molecules/jsx-preview.d.ts.map +0 -1
  466. package/dist/molecules/jsx-preview.js +0 -167
  467. package/dist/molecules/loader.d.ts +0 -6
  468. package/dist/molecules/loader.d.ts.map +0 -1
  469. package/dist/molecules/loader.js +0 -4
  470. package/dist/molecules/message.d.ts +0 -38
  471. package/dist/molecules/message.d.ts.map +0 -1
  472. package/dist/molecules/message.js +0 -92
  473. package/dist/molecules/mic-selector.d.ts +0 -46
  474. package/dist/molecules/mic-selector.d.ts.map +0 -1
  475. package/dist/molecules/mic-selector.js +0 -184
  476. package/dist/molecules/model-selector.d.ts +0 -36
  477. package/dist/molecules/model-selector.d.ts.map +0 -1
  478. package/dist/molecules/model-selector.js +0 -18
  479. package/dist/molecules/node.d.ts +0 -22
  480. package/dist/molecules/node.d.ts.map +0 -1
  481. package/dist/molecules/node.js +0 -11
  482. package/dist/molecules/open-in-chat.d.ts +0 -29
  483. package/dist/molecules/open-in-chat.d.ts.map +0 -1
  484. package/dist/molecules/open-in-chat.js +0 -100
  485. package/dist/molecules/package-info.d.ts +0 -30
  486. package/dist/molecules/package-info.d.ts.map +0 -1
  487. package/dist/molecules/package-info.js +0 -50
  488. package/dist/molecules/panel.d.ts +0 -6
  489. package/dist/molecules/panel.d.ts.map +0 -1
  490. package/dist/molecules/panel.js +0 -4
  491. package/dist/molecules/persona.d.ts +0 -49
  492. package/dist/molecules/persona.d.ts.map +0 -1
  493. package/dist/molecules/persona.js +0 -189
  494. package/dist/molecules/plan.d.ts +0 -26
  495. package/dist/molecules/plan.d.ts.map +0 -1
  496. package/dist/molecules/plan.js +0 -34
  497. package/dist/molecules/prompt-input.d.ts +0 -149
  498. package/dist/molecules/prompt-input.d.ts.map +0 -1
  499. package/dist/molecules/prompt-input.js +0 -702
  500. package/dist/molecules/queue.d.ts +0 -62
  501. package/dist/molecules/queue.d.ts.map +0 -1
  502. package/dist/molecules/queue.js +0 -28
  503. package/dist/molecules/reasoning.d.ts +0 -27
  504. package/dist/molecules/reasoning.d.ts.map +0 -1
  505. package/dist/molecules/reasoning.js +0 -95
  506. package/dist/molecules/response.d.ts +0 -6
  507. package/dist/molecules/response.d.ts.map +0 -1
  508. package/dist/molecules/response.js +0 -18
  509. package/dist/molecules/responsive-alert-dialog.d.ts +0 -16
  510. package/dist/molecules/responsive-alert-dialog.d.ts.map +0 -1
  511. package/dist/molecules/responsive-alert-dialog.js +0 -20
  512. package/dist/molecules/responsive-dialog.d.ts +0 -11
  513. package/dist/molecules/responsive-dialog.d.ts.map +0 -1
  514. package/dist/molecules/responsive-dialog.js +0 -21
  515. package/dist/molecules/sandbox.d.ts +0 -25
  516. package/dist/molecules/sandbox.d.ts.map +0 -1
  517. package/dist/molecules/sandbox.js +0 -15
  518. package/dist/molecules/schema-display.d.ts +0 -56
  519. package/dist/molecules/schema-display.d.ts.map +0 -1
  520. package/dist/molecules/schema-display.js +0 -73
  521. package/dist/molecules/shimmer.d.ts +0 -10
  522. package/dist/molecules/shimmer.d.ts.map +0 -1
  523. package/dist/molecules/shimmer.js +0 -28
  524. package/dist/molecules/snippet.d.ts +0 -19
  525. package/dist/molecules/snippet.d.ts.map +0 -1
  526. package/dist/molecules/snippet.js +0 -46
  527. package/dist/molecules/sources.d.ts +0 -13
  528. package/dist/molecules/sources.d.ts.map +0 -1
  529. package/dist/molecules/sources.js +0 -9
  530. package/dist/molecules/speech-input.d.ts +0 -55
  531. package/dist/molecules/speech-input.d.ts.map +0 -1
  532. package/dist/molecules/speech-input.js +0 -187
  533. package/dist/molecules/stack-trace.d.ts +0 -38
  534. package/dist/molecules/stack-trace.d.ts.map +0 -1
  535. package/dist/molecules/stack-trace.js +0 -194
  536. package/dist/molecules/suggestion.d.ts +0 -11
  537. package/dist/molecules/suggestion.d.ts.map +0 -1
  538. package/dist/molecules/suggestion.js +0 -13
  539. package/dist/molecules/task.d.ts +0 -15
  540. package/dist/molecules/task.d.ts.map +0 -1
  541. package/dist/molecules/task.js +0 -10
  542. package/dist/molecules/terminal.d.ts +0 -28
  543. package/dist/molecules/terminal.d.ts.map +0 -1
  544. package/dist/molecules/terminal.js +0 -68
  545. package/dist/molecules/test-results.d.ts +0 -59
  546. package/dist/molecules/test-results.d.ts.map +0 -1
  547. package/dist/molecules/test-results.js +0 -97
  548. package/dist/molecules/tool.d.ts +0 -32
  549. package/dist/molecules/tool.d.ts.map +0 -1
  550. package/dist/molecules/tool.js +0 -49
  551. package/dist/molecules/toolbar.d.ts +0 -6
  552. package/dist/molecules/toolbar.d.ts.map +0 -1
  553. package/dist/molecules/toolbar.js +0 -4
  554. package/dist/molecules/transcription.d.ts +0 -17
  555. package/dist/molecules/transcription.d.ts.map +0 -1
  556. package/dist/molecules/transcription.js +0 -36
  557. package/dist/molecules/voice-selector.d.ts +0 -64
  558. package/dist/molecules/voice-selector.d.ts.map +0 -1
  559. package/dist/molecules/voice-selector.js +0 -224
  560. package/dist/molecules/web-preview.d.ts +0 -35
  561. package/dist/molecules/web-preview.d.ts.map +0 -1
  562. package/dist/molecules/web-preview.js +0 -65
@@ -1,3 +0,0 @@
1
- import { NumberFlowProps } from "@number-flow/react";
2
- export declare function NumberFlow(props: NumberFlowProps): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=number-flow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"number-flow.d.ts","sourceRoot":"","sources":["../../src/components/number-flow.tsx"],"names":[],"mappings":"AAEA,OAA4B,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1E,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAEhD"}
@@ -1,6 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import NumberFlowPrimitive from "@number-flow/react";
4
- export function NumberFlow(props) {
5
- return _jsx(NumberFlowPrimitive, { ...props });
6
- }
@@ -1,10 +0,0 @@
1
- import * as React from "react";
2
- import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
3
- declare function Popover({ ...props }: PopoverPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
4
- declare function PopoverTrigger({ ...props }: PopoverPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
5
- declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: PopoverPrimitive.Popup.Props & Pick<PopoverPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react/jsx-runtime").JSX.Element;
6
- declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
- declare function PopoverTitle({ className, ...props }: PopoverPrimitive.Title.Props): import("react/jsx-runtime").JSX.Element;
8
- declare function PopoverDescription({ className, ...props }: PopoverPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
9
- export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, };
10
- //# sourceMappingURL=popover.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/components/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAIrE,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,IAAI,CAAC,KAAK,2CAEzD;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,2CAEnE;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,WAAe,EACf,IAAe,EACf,UAAc,EACd,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,KAAK,CAAC,KAAK,GAC7B,IAAI,CACF,gBAAgB,CAAC,UAAU,CAAC,KAAK,EACjC,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,YAAY,CAChD,2CAqBF;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQ1E;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,KAAK,CAAC,KAAK,2CAQ1E;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,WAAW,CAAC,KAAK,2CAQpC;AAED,OAAO,EACL,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,cAAc,GACf,CAAC"}
@@ -1,23 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
4
- import { cn } from "@chatsdk-dev/ui/lib/utils";
5
- function Popover({ ...props }) {
6
- return _jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
7
- }
8
- function PopoverTrigger({ ...props }) {
9
- return _jsx(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
10
- }
11
- function PopoverContent({ className, align = "center", alignOffset = 0, side = "bottom", sideOffset = 4, ...props }) {
12
- return (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Positioner, { align: align, alignOffset: alignOffset, side: side, sideOffset: sideOffset, className: "isolate z-50", children: _jsx(PopoverPrimitive.Popup, { "data-slot": "popover-content", className: cn("z-50 flex w-72 origin-(--transform-origin) flex-col gap-4 rounded-md bg-popover p-4 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className), ...props }) }) }));
13
- }
14
- function PopoverHeader({ className, ...props }) {
15
- return (_jsx("div", { "data-slot": "popover-header", className: cn("flex flex-col gap-1 text-sm", className), ...props }));
16
- }
17
- function PopoverTitle({ className, ...props }) {
18
- return (_jsx(PopoverPrimitive.Title, { "data-slot": "popover-title", className: cn("font-medium", className), ...props }));
19
- }
20
- function PopoverDescription({ className, ...props }) {
21
- return (_jsx(PopoverPrimitive.Description, { "data-slot": "popover-description", className: cn("text-muted-foreground", className), ...props }));
22
- }
23
- export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, };
@@ -1,8 +0,0 @@
1
- import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
2
- declare function Progress({ className, children, value, ...props }: ProgressPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
- declare function ProgressTrack({ className, ...props }: ProgressPrimitive.Track.Props): import("react/jsx-runtime").JSX.Element;
4
- declare function ProgressIndicator({ className, ...props }: ProgressPrimitive.Indicator.Props): import("react/jsx-runtime").JSX.Element;
5
- declare function ProgressLabel({ className, ...props }: ProgressPrimitive.Label.Props): import("react/jsx-runtime").JSX.Element;
6
- declare function ProgressValue({ className, ...props }: ProgressPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
7
- export { Progress, ProgressTrack, ProgressIndicator, ProgressLabel, ProgressValue, };
8
- //# sourceMappingURL=progress.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/components/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAIxE,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,IAAI,CAAC,KAAK,2CAW9B;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAW5E;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,SAAS,CAAC,KAAK,2CAQnC;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAQ5E;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,CAAC,KAAK,CAAC,KAAK,2CAW5E;AAED,OAAO,EACL,QAAQ,EACR,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,aAAa,GACd,CAAC"}
@@ -1,20 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Progress as ProgressPrimitive } from "@base-ui/react/progress";
4
- import { cn } from "@chatsdk-dev/ui/lib/utils";
5
- function Progress({ className, children, value, ...props }) {
6
- return (_jsx(ProgressPrimitive.Root, { value: value, "data-slot": "progress", className: cn("flex flex-wrap gap-3", className), ...props, children: children }));
7
- }
8
- function ProgressTrack({ className, ...props }) {
9
- return (_jsx(ProgressPrimitive.Track, { className: cn("bg-muted h-1.5 rounded-full relative flex w-full items-center overflow-x-hidden", className), "data-slot": "progress-track", ...props }));
10
- }
11
- function ProgressIndicator({ className, ...props }) {
12
- return (_jsx(ProgressPrimitive.Indicator, { "data-slot": "progress-indicator", className: cn("bg-primary h-full transition-all", className), ...props }));
13
- }
14
- function ProgressLabel({ className, ...props }) {
15
- return (_jsx(ProgressPrimitive.Label, { className: cn("text-sm font-medium", className), "data-slot": "progress-label", ...props }));
16
- }
17
- function ProgressValue({ className, ...props }) {
18
- return (_jsx(ProgressPrimitive.Value, { className: cn("text-muted-foreground ml-auto text-sm tabular-nums", className), "data-slot": "progress-value", ...props }));
19
- }
20
- export { Progress, ProgressTrack, ProgressIndicator, ProgressLabel, ProgressValue, };
@@ -1,6 +0,0 @@
1
- import { Radio as RadioPrimitive } from "@base-ui/react/radio";
2
- import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
3
- declare function RadioGroup({ className, ...props }: RadioGroupPrimitive.Props): import("react/jsx-runtime").JSX.Element;
4
- declare function RadioGroupItem({ className, ...props }: RadioPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
5
- export { RadioGroup, RadioGroupItem };
6
- //# sourceMappingURL=radio-group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../src/components/radio-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAK/E,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,CAAC,KAAK,2CAQrE;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,KAAK,2CAkBzE;AAED,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
@@ -1,13 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Radio as RadioPrimitive } from "@base-ui/react/radio";
4
- import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
5
- import { cn } from "@chatsdk-dev/ui/lib/utils";
6
- import { CircleIcon } from "lucide-react";
7
- function RadioGroup({ className, ...props }) {
8
- return (_jsx(RadioGroupPrimitive, { "data-slot": "radio-group", className: cn("grid gap-3 w-full", className), ...props }));
9
- }
10
- function RadioGroupItem({ className, ...props }) {
11
- return (_jsx(RadioPrimitive.Root, { "data-slot": "radio-group-item", className: cn("border-input text-primary dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 flex size-4 rounded-full shadow-xs focus-visible:ring-3 aria-invalid:ring-3 group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50", className), ...props, children: _jsx(RadioPrimitive.Indicator, { "data-slot": "radio-group-indicator", className: "pointer-events-none group-aria-invalid/radio-group-item:text-destructive text-primary flex size-4 items-center justify-center", children: _jsx(CircleIcon, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-current" }) }) }));
12
- }
13
- export { RadioGroup, RadioGroupItem };
@@ -1,16 +0,0 @@
1
- export interface ResponsiveAlertDialogProps {
2
- open?: boolean;
3
- onOpenChange?: (open: boolean) => void;
4
- children?: React.ReactNode;
5
- trigger?: React.ReactElement;
6
- title?: React.ReactNode;
7
- titleIcon?: React.ReactNode;
8
- description?: React.ReactNode;
9
- isPending?: boolean;
10
- action?: React.ReactNode;
11
- onAction?: (e: React.MouseEvent<HTMLButtonElement>) => void;
12
- cancelLabel?: React.ReactNode;
13
- onCancel?: (e: React.MouseEvent<HTMLButtonElement>) => void;
14
- }
15
- export declare function ResponsiveAlertDialog({ open, onOpenChange, children, trigger, title, titleIcon, description, isPending, action, onAction, cancelLabel, onCancel, }: ResponsiveAlertDialogProps): import("react/jsx-runtime").JSX.Element;
16
- //# sourceMappingURL=responsive-alert-dialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responsive-alert-dialog.d.ts","sourceRoot":"","sources":["../../src/components/responsive-alert-dialog.tsx"],"names":[],"mappings":"AA4BA,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC5D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,YAAY,EACZ,QAAQ,EAER,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,EACR,WAAW,EACX,QAAQ,GACT,EAAE,0BAA0B,2CAgF5B"}
@@ -1,20 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cloneElement } from "react";
3
- import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "@chatsdk-dev/ui/components/alert-dialog";
4
- import { Button } from "@chatsdk-dev/ui/components/button";
5
- import { ButtonLoaderIcon } from "@chatsdk-dev/ui/components/button-loader";
6
- import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from "@chatsdk-dev/ui/components/drawer";
7
- import { useBreakpoint } from "@chatsdk-dev/ui/hooks/use-breakpoint";
8
- import { useControllableState } from "@chatsdk-dev/ui/hooks/use-controllable-state";
9
- export function ResponsiveAlertDialog({ open, onOpenChange, children, trigger, title, titleIcon, description, isPending, action, onAction, cancelLabel, onCancel, }) {
10
- const [openState, setOpenState] = useControllableState({
11
- value: open,
12
- defaultValue: false,
13
- onChange: onOpenChange,
14
- });
15
- const sm = useBreakpoint("sm");
16
- if (sm) {
17
- return (_jsxs(AlertDialog, { open: openState, onOpenChange: setOpenState, children: [trigger && (_jsx(AlertDialogTrigger, { render: (props) => cloneElement(trigger, props) })), _jsxs(AlertDialogContent, { className: "sm:max-w-106", children: [_jsx(AlertDialogHeader, { children: _jsxs("div", { className: "flex items-center gap-3", children: [titleIcon, _jsxs("div", { children: [_jsx(AlertDialogTitle, { children: title }), _jsx(AlertDialogDescription, { children: description })] })] }) }), children, _jsxs(AlertDialogFooter, { children: [cancelLabel && (_jsx(AlertDialogCancel, { onClick: onCancel, children: cancelLabel })), typeof action === "string" ? (_jsx(AlertDialogAction, { onClick: onAction, disabled: isPending, variant: "destructive", className: "relative inline-flex px-7", children: _jsxs("div", { className: "relative flex items-center justify-center", children: [isPending && _jsx(ButtonLoaderIcon, {}), action] }) })) : (action)] })] })] }));
18
- }
19
- return (_jsxs(Drawer, { open: openState, onOpenChange: setOpenState, children: [_jsx(DrawerTrigger, { asChild: true, children: trigger }), _jsxs(DrawerContent, { children: [_jsxs(DrawerHeader, { className: "text-left", children: [_jsx(DrawerTitle, { children: title }), _jsx(DrawerDescription, { children: description })] }), children, _jsxs(DrawerFooter, { className: "pt-2", children: [cancelLabel && (_jsx(DrawerClose, { asChild: true, children: _jsx(Button, { variant: "outline", children: cancelLabel }) })), typeof action === "string" ? (_jsx(Button, { variant: "destructive", onClick: onAction, children: action })) : (action)] })] })] }));
20
- }
@@ -1,11 +0,0 @@
1
- export interface ResponsiveDialogProps {
2
- open?: boolean;
3
- onOpenChange?: (open: boolean) => void;
4
- trigger?: React.ReactElement;
5
- title?: string;
6
- description?: string;
7
- children: React.ReactNode;
8
- footer?: React.ReactNode;
9
- }
10
- export declare function ResponsiveDialog({ open, onOpenChange, trigger, children, title, description, footer, }: ResponsiveDialogProps): import("react/jsx-runtime").JSX.Element;
11
- //# sourceMappingURL=responsive-dialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"responsive-dialog.d.ts","sourceRoot":"","sources":["../../src/components/responsive-dialog.tsx"],"names":[],"mappings":"AAwBA,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvC,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,YAAY,EAEZ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,WAAW,EACX,MAAM,GACP,EAAE,qBAAqB,2CA2CvB"}
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cloneElement } from "react";
3
- import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@chatsdk-dev/ui/components/dialog";
4
- import { Drawer, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from "@chatsdk-dev/ui/components/drawer";
5
- import { useBreakpoint } from "@chatsdk-dev/ui/hooks/use-breakpoint";
6
- import { useControllableState } from "@chatsdk-dev/ui/hooks/use-controllable-state";
7
- export function ResponsiveDialog({ open, onOpenChange, trigger, children, title, description, footer, }) {
8
- const [openState, setOpenState] = useControllableState({
9
- value: open,
10
- defaultValue: false,
11
- onChange: onOpenChange,
12
- });
13
- const sm = useBreakpoint("sm");
14
- if (sm) {
15
- const renderTrigger = trigger
16
- ? (triggerProps) => cloneElement(trigger, triggerProps)
17
- : undefined;
18
- return (_jsxs(Dialog, { open: openState, onOpenChange: setOpenState, children: [trigger && _jsx(DialogTrigger, { render: renderTrigger }), _jsxs(DialogContent, { className: "sm:max-w-106 px-6", children: [_jsxs(DialogHeader, { children: [_jsx(DialogTitle, { children: title }), _jsx(DialogDescription, { children: description })] }), _jsx("div", { className: "flex-1 overflow-y-auto min-h-0 -mx-6 px-6 pb-1", children: children }), footer && _jsx(DialogFooter, { children: footer })] })] }));
19
- }
20
- return (_jsxs(Drawer, { open: openState, onOpenChange: setOpenState, children: [_jsx(DrawerTrigger, { asChild: true, children: trigger }), _jsxs(DrawerContent, { className: "p-6", children: [_jsxs(DrawerHeader, { className: "text-left", children: [_jsx(DrawerTitle, { children: title }), _jsx(DrawerDescription, { children: description })] }), _jsx("div", { className: "overflow-y-auto -mx-6 px-6 pb-1", children: children }), footer && _jsx(DrawerFooter, { children: footer })] })] }));
21
- }
@@ -1,5 +0,0 @@
1
- import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
2
- declare function ScrollArea({ className, children, ...props }: ScrollAreaPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
- declare function ScrollBar({ className, orientation, ...props }: ScrollAreaPrimitive.Scrollbar.Props): import("react/jsx-runtime").JSX.Element;
4
- export { ScrollArea, ScrollBar };
5
- //# sourceMappingURL=scroll-area.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../src/components/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI/E,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,2CAiBhC;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,SAAS,CAAC,KAAK,2CAkBrC;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -1,11 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
4
- import { cn } from "@chatsdk-dev/ui/lib/utils";
5
- function ScrollArea({ className, children, ...props }) {
6
- return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn("relative", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { "data-slot": "scroll-area-viewport", className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1", children: children }), _jsx(ScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] }));
7
- }
8
- function ScrollBar({ className, orientation = "vertical", ...props }) {
9
- return (_jsx(ScrollAreaPrimitive.Scrollbar, { "data-slot": "scroll-area-scrollbar", "data-orientation": orientation, orientation: orientation, className: cn("data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none", className), ...props, children: _jsx(ScrollAreaPrimitive.Thumb, { "data-slot": "scroll-area-thumb", className: "rounded-full bg-border relative flex-1" }) }));
10
- }
11
- export { ScrollArea, ScrollBar };
@@ -1,17 +0,0 @@
1
- import { Select as SelectPrimitive } from "@base-ui/react/select";
2
- import * as React from "react";
3
- declare const Select: typeof SelectPrimitive.Root;
4
- declare function SelectGroup({ className, ...props }: SelectPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
5
- declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
6
- declare function SelectTrigger({ className, size, children, icon, ...props }: SelectPrimitive.Trigger.Props & {
7
- size?: "sm" | "default";
8
- icon?: React.ReactElement;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: SelectPrimitive.Popup.Props & Pick<SelectPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): import("react/jsx-runtime").JSX.Element;
11
- declare function SelectLabel({ className, ...props }: SelectPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
12
- declare function SelectItem({ className, children, ...props }: SelectPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
13
- declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
14
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>): import("react/jsx-runtime").JSX.Element;
15
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>): import("react/jsx-runtime").JSX.Element;
16
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
17
- //# sourceMappingURL=select.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../src/components/select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,MAAM,6BAAuB,CAAC;AAEpC,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,CAAC,KAAK,CAAC,KAAK,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,CAAC,KAAK,CAAC,KAAK,2CAQxE;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,IAAgB,EAChB,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACT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jsx-runtime";
3
- import { Select as SelectPrimitive } from "@base-ui/react/select";
4
- import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
5
- import { cn } from "@chatsdk-dev/ui/lib/utils";
6
- const Select = SelectPrimitive.Root;
7
- function SelectGroup({ className, ...props }) {
8
- return (_jsx(SelectPrimitive.Group, { "data-slot": "select-group", className: cn("scroll-my-1 p-1", className), ...props }));
9
- }
10
- function SelectValue({ className, ...props }) {
11
- return (_jsx(SelectPrimitive.Value, { "data-slot": "select-value", className: cn("flex flex-1 text-left", className), ...props }));
12
- }
13
- function SelectTrigger({ className, size = "default", children, icon, ...props }) {
14
- return (_jsxs(SelectPrimitive.Trigger, { "data-slot": "select-trigger", "data-size": size, className: cn("border-input data-[placeholder]:text-muted-foreground dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-sm border bg-transparent py-2 pr-2 pl-2.5 text-sm shadow-xs transition-[color,box-shadow] focus-visible:ring-[3px] aria-invalid:ring-[3px] data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-4 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0", className), ...props, children: [children, icon ? (_jsx(SelectPrimitive.Icon, { render: icon })) : (_jsx(SelectPrimitive.Icon, { render: _jsx(ChevronDownIcon, { className: "text-muted-foreground size-4 pointer-events-none" }) }))] }));
15
- }
16
- function SelectContent({ className, children, side = "bottom", sideOffset = 2, align = "center", alignOffset = 0, alignItemWithTrigger = false, ...props }) {
17
- return (_jsx(SelectPrimitive.Portal, { children: _jsx(SelectPrimitive.Positioner, { side: side, sideOffset: sideOffset, align: align, alignOffset: alignOffset, alignItemWithTrigger: alignItemWithTrigger, className: "isolate z-50", children: _jsxs(SelectPrimitive.Popup, { "data-slot": "select-content", className: cn("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-36 rounded-sm shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", className), ...props, children: [_jsx(SelectScrollUpButton, {}), _jsx(SelectPrimitive.List, { className: "p-1", children: children }), _jsx(SelectScrollDownButton, {})] }) }) }));
18
- }
19
- function SelectLabel({ className, ...props }) {
20
- return (_jsx(SelectPrimitive.GroupLabel, { "data-slot": "select-label", className: cn("text-muted-foreground px-2 py-1.5 text-xs", className), ...props }));
21
- }
22
- function SelectItem({ className, children, ...props }) {
23
- return (_jsxs(SelectPrimitive.Item, { "data-slot": "select-item", className: cn("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-sm py-1.5 pr-6.5 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", className), ...props, children: [_jsx(SelectPrimitive.ItemText, { className: "flex flex-1 gap-2 min-w-0 overflow-hidden text-ellipsis whitespace-nowrap", children: children }), _jsx(SelectPrimitive.ItemIndicator, { render: _jsx("span", { className: "pointer-events-none absolute right-2 flex items-center justify-center" }), children: _jsx(CheckIcon, { className: "pointer-events-none size-3.5" }) })] }));
24
- }
25
- function SelectSeparator({ className, ...props }) {
26
- return (_jsx(SelectPrimitive.Separator, { "data-slot": "select-separator", className: cn("bg-border -mx-1 my-1 h-px pointer-events-none", className), ...props }));
27
- }
28
- function SelectScrollUpButton({ className, ...props }) {
29
- return (_jsx(SelectPrimitive.ScrollUpArrow, { "data-slot": "select-scroll-up-button", className: cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4 top-0 w-full", className), ...props, children: _jsx(ChevronUpIcon, {}) }));
30
- }
31
- function SelectScrollDownButton({ className, ...props }) {
32
- return (_jsx(SelectPrimitive.ScrollDownArrow, { "data-slot": "select-scroll-down-button", className: cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4 bottom-0 w-full", className), ...props, children: _jsx(ChevronDownIcon, {}) }));
33
- }
34
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
@@ -1,3 +0,0 @@
1
- import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
2
- export declare function Separator({ className, orientation, ...props }: SeparatorPrimitive.Props): import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=separator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../src/components/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAI3E,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,WAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,KAAK,2CAY1B"}
@@ -1,7 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { Separator as SeparatorPrimitive } from "@base-ui/react/separator";
4
- import { cn } from "@chatsdk-dev/ui/lib/utils";
5
- export function Separator({ className, orientation = "horizontal", ...props }) {
6
- return (_jsx(SeparatorPrimitive, { "data-slot": "separator", orientation: orientation, className: cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className), ...props }));
7
- }
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
3
- declare function Sheet({ ...props }: SheetPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
4
- declare function SheetTrigger({ ...props }: SheetPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
5
- declare function SheetClose({ ...props }: SheetPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
6
- declare function SheetContent({ className, children, side, showCloseButton, ...props }: SheetPrimitive.Popup.Props & {
7
- side?: "top" | "right" | "bottom" | "left";
8
- showCloseButton?: boolean;
9
- }): import("react/jsx-runtime").JSX.Element;
10
- declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
- declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
- declare function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props): import("react/jsx-runtime").JSX.Element;
13
- declare function SheetDescription({ className, ...props }: SheetPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
14
- export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
15
- //# sourceMappingURL=sheet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/components/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMjE,iBAAS,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,KAAK,2CAErD;AAED,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,CAAC,KAAK,2CAE/D;AAED,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,KAAK,2CAE3D;AAmBD,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,IAAc,EACd,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,KAAK,CAAC,KAAK,GAAG;IAC9B,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,2CAgCA;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQxE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQxE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,KAAK,CAAC,KAAK,2CAQtE;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,WAAW,CAAC,KAAK,2CAQlC;AAED,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAC"}
@@ -1,37 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
4
- import { cn } from "@chatsdk-dev/ui/lib/utils";
5
- import { Button } from "@chatsdk-dev/ui/components/button";
6
- import { XIcon } from "lucide-react";
7
- function Sheet({ ...props }) {
8
- return _jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
9
- }
10
- function SheetTrigger({ ...props }) {
11
- return _jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
12
- }
13
- function SheetClose({ ...props }) {
14
- return _jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
15
- }
16
- function SheetPortal({ ...props }) {
17
- return _jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
18
- }
19
- function SheetOverlay({ className, ...props }) {
20
- return (_jsx(SheetPrimitive.Backdrop, { "data-slot": "sheet-overlay", className: cn("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className), ...props }));
21
- }
22
- function SheetContent({ className, children, side = "right", showCloseButton = true, ...props }) {
23
- return (_jsxs(SheetPortal, { children: [_jsx(SheetOverlay, {}), _jsxs(SheetPrimitive.Popup, { "data-slot": "sheet-content", "data-side": side, className: cn("bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-[clamp(240px,1200px-92vw,40vw)] data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className), ...props, children: [children, showCloseButton && (_jsxs(SheetPrimitive.Close, { "data-slot": "sheet-close", render: _jsx(Button, { variant: "ghost", className: "absolute top-4 right-4", size: "icon" }), children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Close" })] }))] })] }));
24
- }
25
- function SheetHeader({ className, ...props }) {
26
- return (_jsx("div", { "data-slot": "sheet-header", className: cn("gap-1.5 p-4 flex flex-col", className), ...props }));
27
- }
28
- function SheetFooter({ className, ...props }) {
29
- return (_jsx("div", { "data-slot": "sheet-footer", className: cn("gap-2 p-4 mt-auto flex flex-col", className), ...props }));
30
- }
31
- function SheetTitle({ className, ...props }) {
32
- return (_jsx(SheetPrimitive.Title, { "data-slot": "sheet-title", className: cn("text-foreground font-medium", className), ...props }));
33
- }
34
- function SheetDescription({ className, ...props }) {
35
- return (_jsx(SheetPrimitive.Description, { "data-slot": "sheet-description", className: cn("text-muted-foreground text-sm", className), ...props }));
36
- }
37
- export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
@@ -1,65 +0,0 @@
1
- import { useRender } from "@base-ui/react/use-render";
2
- import { type VariantProps } from "class-variance-authority";
3
- import * as React from "react";
4
- import { Button } from "@chatsdk-dev/ui/components/button";
5
- import { Input } from "@chatsdk-dev/ui/components/input";
6
- import { Separator } from "@chatsdk-dev/ui/components/separator";
7
- import { TooltipContent } from "@chatsdk-dev/ui/components/tooltip";
8
- type SidebarContextProps = {
9
- state: "expanded" | "collapsed";
10
- open: boolean;
11
- setOpen: (open: boolean) => void;
12
- openMobile: boolean;
13
- setOpenMobile: (open: boolean) => void;
14
- isMobile: boolean;
15
- toggleSidebar: () => void;
16
- };
17
- declare function useSidebar(): SidebarContextProps;
18
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, cookiePrefix, ...props }: React.ComponentProps<"div"> & {
19
- defaultOpen?: boolean;
20
- open?: boolean;
21
- cookiePrefix?: string;
22
- onOpenChange?: (open: boolean) => void;
23
- }): import("react/jsx-runtime").JSX.Element;
24
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
25
- side?: "left" | "right";
26
- variant?: "sidebar" | "floating" | "inset";
27
- collapsible?: "offExamples" | "icon" | "none";
28
- }): import("react/jsx-runtime").JSX.Element;
29
- declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
30
- declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
31
- declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): import("react/jsx-runtime").JSX.Element;
32
- declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
33
- declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
34
- declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
35
- declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
36
- declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
37
- declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
38
- declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<"div"> & React.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
39
- declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button"> & React.ComponentProps<"button">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
40
- declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
41
- declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
42
- declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
43
- declare const sidebarMenuButtonVariants: (props?: ({
44
- variant?: "outline" | "default" | null | undefined;
45
- size?: "default" | "sm" | "lg" | null | undefined;
46
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
47
- declare function SidebarMenuButton({ render, isActive, variant, size, tooltip, className, ...props }: useRender.ComponentProps<"button"> & React.ComponentProps<"button"> & {
48
- isActive?: boolean;
49
- tooltip?: string | React.ComponentProps<typeof TooltipContent>;
50
- } & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
51
- declare function SidebarMenuAction({ className, render, showOnHover, ...props }: useRender.ComponentProps<"button"> & React.ComponentProps<"button"> & {
52
- showOnHover?: boolean;
53
- }): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
54
- declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
55
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
56
- showIcon?: boolean;
57
- }): import("react/jsx-runtime").JSX.Element;
58
- declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
59
- declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
60
- declare function SidebarMenuSubButton({ render, size, isActive, className, ...props }: useRender.ComponentProps<"a"> & React.ComponentProps<"a"> & {
61
- size?: "sm" | "md";
62
- isActive?: boolean;
63
- }): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
64
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
65
- //# sourceMappingURL=sidebar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/components/sidebar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AASjE,OAAO,EAEL,cAAc,EAEf,MAAM,oCAAoC,CAAC;AAW5C,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAIF,iBAAS,UAAU,wBAOlB;AAED,iBAAS,eAAe,CAAC,EACvB,WAAkB,EAClB,IAAI,EAAE,QAAQ,EACd,YAAY,EAAE,WAAW,EACzB,SAAS,EACT,KAAK,EACL,QAAQ,EACR,YAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE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