@copilotkit/react-textarea 0.21.0-alpha.0 → 0.21.0-alpha.1

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 (290) hide show
  1. package/.turbo/turbo-build.log +279 -249
  2. package/CHANGELOG.md +11 -0
  3. package/dist/chunk-2NURR2DX.mjs +16 -8
  4. package/dist/chunk-2NURR2DX.mjs.map +1 -1
  5. package/dist/{chunk-YXA3UPMI.mjs → chunk-34D4UIYX.mjs} +59 -23
  6. package/dist/chunk-34D4UIYX.mjs.map +1 -0
  7. package/dist/chunk-463BFNUP.mjs +16 -5
  8. package/dist/chunk-463BFNUP.mjs.map +1 -1
  9. package/dist/chunk-4S5ZJH3I.mjs +3 -2
  10. package/dist/chunk-4S5ZJH3I.mjs.map +1 -1
  11. package/dist/chunk-5EJ5XOGP.mjs +16 -8
  12. package/dist/chunk-5EJ5XOGP.mjs.map +1 -1
  13. package/dist/chunk-5FO6ISW4.mjs +0 -2
  14. package/dist/chunk-5FO6ISW4.mjs.map +1 -1
  15. package/dist/{chunk-5DU2QDHZ.mjs → chunk-7JO276KU.mjs} +9 -5
  16. package/dist/chunk-7JO276KU.mjs.map +1 -0
  17. package/dist/chunk-AXN37AHC.mjs +5 -2
  18. package/dist/chunk-AXN37AHC.mjs.map +1 -1
  19. package/dist/chunk-CSGFJU3L.mjs +11 -6
  20. package/dist/chunk-CSGFJU3L.mjs.map +1 -1
  21. package/dist/chunk-DE5K76I2.mjs +0 -2
  22. package/dist/chunk-DE5K76I2.mjs.map +1 -1
  23. package/dist/chunk-DYGPLRY3.mjs +15 -7
  24. package/dist/chunk-DYGPLRY3.mjs.map +1 -1
  25. package/dist/chunk-F2TIBXML.mjs +19 -7
  26. package/dist/chunk-F2TIBXML.mjs.map +1 -1
  27. package/dist/chunk-F3MHL6ZY.mjs +4 -4
  28. package/dist/chunk-F3MHL6ZY.mjs.map +1 -1
  29. package/dist/{chunk-O7G7E3E3.mjs → chunk-F4WZCQG6.mjs} +35 -13
  30. package/dist/chunk-F4WZCQG6.mjs.map +1 -0
  31. package/dist/chunk-GCMQHIRF.mjs +6 -3
  32. package/dist/chunk-GCMQHIRF.mjs.map +1 -1
  33. package/dist/chunk-H4VKQGVU.mjs +0 -2
  34. package/dist/chunk-H4VKQGVU.mjs.map +1 -1
  35. package/dist/{chunk-24SYR4JB.mjs → chunk-IPM5WWPW.mjs} +25 -11
  36. package/dist/chunk-IPM5WWPW.mjs.map +1 -0
  37. package/dist/chunk-IU3WTXLQ.mjs +0 -2
  38. package/dist/chunk-IU3WTXLQ.mjs.map +1 -1
  39. package/dist/chunk-IXJ2HCOA.mjs +14 -4
  40. package/dist/chunk-IXJ2HCOA.mjs.map +1 -1
  41. package/dist/chunk-JAFCXEPU.mjs +6 -3
  42. package/dist/chunk-JAFCXEPU.mjs.map +1 -1
  43. package/dist/chunk-JHTAOLEW.mjs +5 -2
  44. package/dist/chunk-JHTAOLEW.mjs.map +1 -1
  45. package/dist/chunk-KCHYD3EB.mjs +6 -5
  46. package/dist/chunk-KCHYD3EB.mjs.map +1 -1
  47. package/dist/chunk-KGKLUWKW.mjs +15 -6
  48. package/dist/chunk-KGKLUWKW.mjs.map +1 -1
  49. package/dist/chunk-L7VVZH4Q.mjs +0 -2
  50. package/dist/chunk-L7VVZH4Q.mjs.map +1 -1
  51. package/dist/chunk-LNAIMEB2.mjs +9 -4
  52. package/dist/chunk-LNAIMEB2.mjs.map +1 -1
  53. package/dist/{chunk-KLROO6ID.mjs → chunk-LRXRD5KU.mjs} +24 -12
  54. package/dist/chunk-LRXRD5KU.mjs.map +1 -0
  55. package/dist/chunk-MMVDU6DF.mjs +0 -2
  56. package/dist/chunk-MMVDU6DF.mjs.map +1 -1
  57. package/dist/chunk-MPME5BW2.mjs +4 -4
  58. package/dist/chunk-MPME5BW2.mjs.map +1 -1
  59. package/dist/chunk-MRXNTQOX.mjs +6 -2
  60. package/dist/chunk-MRXNTQOX.mjs.map +1 -1
  61. package/dist/chunk-ND5PXTAW.mjs +4 -4
  62. package/dist/chunk-ND5PXTAW.mjs.map +1 -1
  63. package/dist/chunk-NKW5OU2S.mjs +6 -3
  64. package/dist/chunk-NKW5OU2S.mjs.map +1 -1
  65. package/dist/chunk-O5OWT5GE.mjs +23 -8
  66. package/dist/chunk-O5OWT5GE.mjs.map +1 -1
  67. package/dist/chunk-OD7ZMOVE.mjs +11 -7
  68. package/dist/chunk-OD7ZMOVE.mjs.map +1 -1
  69. package/dist/chunk-OELUUJZY.mjs +10 -4
  70. package/dist/chunk-OELUUJZY.mjs.map +1 -1
  71. package/dist/chunk-QJDMIGLU.mjs +12 -4
  72. package/dist/chunk-QJDMIGLU.mjs.map +1 -1
  73. package/dist/chunk-RQHOUUXQ.mjs +4 -4
  74. package/dist/chunk-RQHOUUXQ.mjs.map +1 -1
  75. package/dist/chunk-RR6OQGTI.mjs +5 -2
  76. package/dist/chunk-RR6OQGTI.mjs.map +1 -1
  77. package/dist/chunk-S6JUGJK2.mjs +3 -2
  78. package/dist/chunk-S6JUGJK2.mjs.map +1 -1
  79. package/dist/{chunk-63FSISXT.mjs → chunk-TIBMW3DC.mjs} +12 -7
  80. package/dist/chunk-TIBMW3DC.mjs.map +1 -0
  81. package/dist/chunk-UHD44NC5.mjs +17 -7
  82. package/dist/chunk-UHD44NC5.mjs.map +1 -1
  83. package/dist/chunk-WADHCMPK.mjs +0 -2
  84. package/dist/chunk-WADHCMPK.mjs.map +1 -1
  85. package/dist/chunk-WJHSY5T6.mjs +0 -2
  86. package/dist/chunk-WJHSY5T6.mjs.map +1 -1
  87. package/dist/chunk-WJYQWL4I.mjs +4 -4
  88. package/dist/chunk-WJYQWL4I.mjs.map +1 -1
  89. package/dist/chunk-WLPYYGES.mjs +42 -22
  90. package/dist/chunk-WLPYYGES.mjs.map +1 -1
  91. package/dist/chunk-WPIA53HF.mjs +15 -7
  92. package/dist/chunk-WPIA53HF.mjs.map +1 -1
  93. package/dist/chunk-XHUMROEY.mjs +17 -7
  94. package/dist/chunk-XHUMROEY.mjs.map +1 -1
  95. package/dist/chunk-YQU7WG7T.mjs +12 -6
  96. package/dist/chunk-YQU7WG7T.mjs.map +1 -1
  97. package/dist/chunk-YTOPHPSG.mjs +4 -4
  98. package/dist/chunk-YTOPHPSG.mjs.map +1 -1
  99. package/dist/chunk-YW3REYX6.mjs +6 -5
  100. package/dist/chunk-YW3REYX6.mjs.map +1 -1
  101. package/dist/components/base-copilot-textarea/base-copilot-textarea.d.ts +14 -0
  102. package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs +39 -35
  103. package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map +1 -1
  104. package/dist/components/base-copilot-textarea/render-element.d.ts +6 -0
  105. package/dist/components/base-copilot-textarea/render-element.mjs +7 -3
  106. package/dist/components/base-copilot-textarea/render-element.mjs.map +1 -1
  107. package/dist/components/base-copilot-textarea/render-placeholder.d.ts +6 -0
  108. package/dist/components/base-copilot-textarea/render-placeholder.mjs +7 -3
  109. package/dist/components/base-copilot-textarea/render-placeholder.mjs.map +1 -1
  110. package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.d.ts +6 -0
  111. package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs +8 -4
  112. package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map +1 -1
  113. package/dist/components/base-copilot-textarea/use-add-branding-css.d.ts +3 -0
  114. package/dist/components/base-copilot-textarea/use-add-branding-css.mjs +7 -3
  115. package/dist/components/base-copilot-textarea/use-add-branding-css.mjs.map +1 -1
  116. package/dist/components/copilot-textarea/copilot-textarea.d.ts +20 -0
  117. package/dist/components/copilot-textarea/copilot-textarea.mjs +51 -47
  118. package/dist/components/copilot-textarea/copilot-textarea.mjs.map +1 -1
  119. package/dist/components/hovering-toolbar/hovering-editor-provider.d.ts +13 -0
  120. package/dist/components/hovering-toolbar/hovering-editor-provider.mjs +9 -3
  121. package/dist/components/hovering-toolbar/hovering-editor-provider.mjs.map +1 -1
  122. package/dist/components/hovering-toolbar/hovering-toolbar-components.d.ts +18 -0
  123. package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs +15 -3
  124. package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map +1 -1
  125. package/dist/components/hovering-toolbar/hovering-toolbar.d.ts +10 -0
  126. package/dist/components/hovering-toolbar/hovering-toolbar.mjs +22 -18
  127. package/dist/components/hovering-toolbar/hovering-toolbar.mjs.map +1 -1
  128. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.d.ts +16 -0
  129. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs +16 -12
  130. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs.map +1 -1
  131. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.d.ts +14 -0
  132. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs +17 -13
  133. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs.map +1 -1
  134. package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.d.ts +15 -0
  135. package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs +11 -5
  136. package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map +1 -1
  137. package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.d.ts +4 -0
  138. package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs +18 -14
  139. package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map +1 -1
  140. package/dist/components/index.d.ts +15 -0
  141. package/dist/components/index.mjs +55 -48
  142. package/dist/components/index.mjs.map +1 -1
  143. package/dist/components/manual-ui/chip-with-icon.d.ts +10 -0
  144. package/dist/components/manual-ui/chip-with-icon.mjs +6 -5
  145. package/dist/components/manual-ui/chip-with-icon.mjs.map +1 -1
  146. package/dist/components/source-search-box/source-search-box.d.ts +15 -0
  147. package/dist/components/source-search-box/source-search-box.mjs +12 -6
  148. package/dist/components/source-search-box/source-search-box.mjs.map +1 -1
  149. package/dist/components/ui/button.d.ts +14 -0
  150. package/dist/components/ui/button.mjs +10 -4
  151. package/dist/components/ui/button.mjs.map +1 -1
  152. package/dist/components/ui/card.d.ts +10 -0
  153. package/dist/components/ui/card.mjs +18 -7
  154. package/dist/components/ui/card.mjs.map +1 -1
  155. package/dist/components/ui/command.d.ts +48 -0
  156. package/dist/components/ui/command.mjs +25 -5
  157. package/dist/components/ui/command.mjs.map +1 -1
  158. package/dist/components/ui/dialog.d.ts +18 -0
  159. package/dist/components/ui/dialog.mjs +20 -4
  160. package/dist/components/ui/dialog.mjs.map +1 -1
  161. package/dist/components/ui/label.d.ts +8 -0
  162. package/dist/components/ui/label.mjs +8 -4
  163. package/dist/components/ui/label.mjs.map +1 -1
  164. package/dist/components/ui/separator.d.ts +6 -0
  165. package/dist/components/ui/separator.mjs +15 -8
  166. package/dist/components/ui/separator.mjs.map +1 -1
  167. package/dist/components/ui/textarea.d.ts +7 -0
  168. package/dist/components/ui/textarea.mjs +13 -7
  169. package/dist/components/ui/textarea.mjs.map +1 -1
  170. package/dist/context/index.d.ts +1 -0
  171. package/dist/context/index.mjs +1 -2
  172. package/dist/context/index.mjs.map +1 -1
  173. package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.d.ts +14 -0
  174. package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs +10 -6
  175. package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map +1 -1
  176. package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.d.ts +8 -0
  177. package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs +8 -4
  178. package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map +1 -1
  179. package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.d.ts +7 -0
  180. package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs +9 -5
  181. package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map +1 -1
  182. package/dist/hooks/index.d.ts +1 -0
  183. package/dist/hooks/index.mjs +1 -2
  184. package/dist/hooks/index.mjs.map +1 -1
  185. package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.d.ts +22 -0
  186. package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs +18 -14
  187. package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map +1 -1
  188. package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.d.ts +23 -0
  189. package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs +18 -14
  190. package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map +1 -1
  191. package/dist/hooks/misc/use-autosize-textarea.d.ts +5 -0
  192. package/dist/hooks/misc/use-autosize-textarea.mjs +7 -3
  193. package/dist/hooks/misc/use-autosize-textarea.mjs.map +1 -1
  194. package/dist/index.d.ts +16 -0
  195. package/dist/index.mjs +66 -50
  196. package/dist/index.mjs.map +1 -1
  197. package/dist/lib/debouncer.d.ts +11 -0
  198. package/dist/lib/debouncer.mjs +7 -3
  199. package/dist/lib/debouncer.mjs.map +1 -1
  200. package/dist/lib/editor-to-text.d.ts +7 -0
  201. package/dist/lib/editor-to-text.mjs +7 -3
  202. package/dist/lib/editor-to-text.mjs.map +1 -1
  203. package/dist/lib/get-text-around-cursor.d.ts +15 -0
  204. package/dist/lib/get-text-around-cursor.mjs +13 -3
  205. package/dist/lib/get-text-around-cursor.mjs.map +1 -1
  206. package/dist/lib/retry.d.ts +3 -0
  207. package/dist/lib/retry.mjs +7 -3
  208. package/dist/lib/retry.mjs.map +1 -1
  209. package/dist/lib/slatejs-edits/add-autocompletions.d.ts +8 -0
  210. package/dist/lib/slatejs-edits/add-autocompletions.mjs +7 -3
  211. package/dist/lib/slatejs-edits/add-autocompletions.mjs.map +1 -1
  212. package/dist/lib/slatejs-edits/clear-autocompletions.d.ts +8 -0
  213. package/dist/lib/slatejs-edits/clear-autocompletions.mjs +7 -3
  214. package/dist/lib/slatejs-edits/clear-autocompletions.mjs.map +1 -1
  215. package/dist/lib/slatejs-edits/replace-text.d.ts +5 -0
  216. package/dist/lib/slatejs-edits/replace-text.mjs +7 -3
  217. package/dist/lib/slatejs-edits/replace-text.mjs.map +1 -1
  218. package/dist/lib/slatejs-edits/with-partial-history.d.ts +10 -0
  219. package/dist/lib/slatejs-edits/with-partial-history.mjs +9 -3
  220. package/dist/lib/slatejs-edits/with-partial-history.mjs.map +1 -1
  221. package/dist/lib/stream-promise-flatten.d.ts +12 -0
  222. package/dist/lib/stream-promise-flatten.mjs +7 -3
  223. package/dist/lib/stream-promise-flatten.mjs.map +1 -1
  224. package/dist/lib/utils.d.ts +10 -0
  225. package/dist/lib/utils.mjs +17 -3
  226. package/dist/lib/utils.mjs.map +1 -1
  227. package/dist/lib/utils.test.d.ts +1 -0
  228. package/dist/lib/utils.test.mjs +0 -1
  229. package/dist/lib/utils.test.mjs.map +1 -1
  230. package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.d.ts +23 -0
  231. package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs +0 -2
  232. package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map +1 -1
  233. package/dist/types/autosuggestions-config/autosuggestions-config.d.ts +20 -0
  234. package/dist/types/autosuggestions-config/autosuggestions-config.mjs +12 -8
  235. package/dist/types/autosuggestions-config/autosuggestions-config.mjs.map +1 -1
  236. package/dist/types/autosuggestions-config/editing-api-config.d.ts +15 -0
  237. package/dist/types/autosuggestions-config/editing-api-config.mjs +11 -3
  238. package/dist/types/autosuggestions-config/editing-api-config.mjs.map +1 -1
  239. package/dist/types/autosuggestions-config/index.d.ts +11 -0
  240. package/dist/types/autosuggestions-config/index.mjs +17 -10
  241. package/dist/types/autosuggestions-config/index.mjs.map +1 -1
  242. package/dist/types/autosuggestions-config/insertions-api-config.d.ts +15 -0
  243. package/dist/types/autosuggestions-config/insertions-api-config.mjs +11 -3
  244. package/dist/types/autosuggestions-config/insertions-api-config.mjs.map +1 -1
  245. package/dist/types/autosuggestions-config/subtypes/chatlike-api-endpoint.d.ts +27 -0
  246. package/dist/types/autosuggestions-config/subtypes/chatlike-api-endpoint.mjs +7 -3
  247. package/dist/types/autosuggestions-config/subtypes/chatlike-api-endpoint.mjs.map +1 -1
  248. package/dist/types/autosuggestions-config/subtypes/make-system-prompt.d.ts +3 -0
  249. package/dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs +0 -2
  250. package/dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map +1 -1
  251. package/dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.d.ts +7 -0
  252. package/dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs +0 -2
  253. package/dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs.map +1 -1
  254. package/dist/types/autosuggestions-config/suggestions-api-config.d.ts +15 -0
  255. package/dist/types/autosuggestions-config/suggestions-api-config.mjs +11 -3
  256. package/dist/types/autosuggestions-config/suggestions-api-config.mjs.map +1 -1
  257. package/dist/types/base/autosuggestion-state.d.ts +8 -0
  258. package/dist/types/base/autosuggestion-state.mjs +0 -2
  259. package/dist/types/base/autosuggestion-state.mjs.map +1 -1
  260. package/dist/types/base/autosuggestions-bare-function.d.ts +19 -0
  261. package/dist/types/base/autosuggestions-bare-function.mjs +0 -2
  262. package/dist/types/base/autosuggestions-bare-function.mjs.map +1 -1
  263. package/dist/types/base/base-autosuggestions-config.d.ts +16 -0
  264. package/dist/types/base/base-autosuggestions-config.mjs +7 -3
  265. package/dist/types/base/base-autosuggestions-config.mjs.map +1 -1
  266. package/dist/types/base/base-copilot-textarea-props.d.ts +41 -0
  267. package/dist/types/base/base-copilot-textarea-props.mjs +0 -2
  268. package/dist/types/base/base-copilot-textarea-props.mjs.map +1 -1
  269. package/dist/types/base/custom-editor.d.ts +29 -0
  270. package/dist/types/base/custom-editor.mjs +0 -2
  271. package/dist/types/base/custom-editor.mjs.map +1 -1
  272. package/dist/types/base/editor-autocomplete-state.d.ts +10 -0
  273. package/dist/types/base/editor-autocomplete-state.mjs +8 -4
  274. package/dist/types/base/editor-autocomplete-state.mjs.map +1 -1
  275. package/dist/types/base/index.d.ts +5 -0
  276. package/dist/types/base/index.mjs +8 -4
  277. package/dist/types/base/index.mjs.map +1 -1
  278. package/dist/types/html-copilot-textarea-element.d.ts +7 -0
  279. package/dist/types/html-copilot-textarea-element.mjs +1 -2
  280. package/dist/types/html-copilot-textarea-element.mjs.map +1 -1
  281. package/dist/types/index.d.ts +14 -0
  282. package/dist/types/index.mjs +22 -12
  283. package/dist/types/index.mjs.map +1 -1
  284. package/package.json +5 -5
  285. package/dist/chunk-24SYR4JB.mjs.map +0 -1
  286. package/dist/chunk-5DU2QDHZ.mjs.map +0 -1
  287. package/dist/chunk-63FSISXT.mjs.map +0 -1
  288. package/dist/chunk-KLROO6ID.mjs.map +0 -1
  289. package/dist/chunk-O7G7E3E3.mjs.map +0 -1
  290. package/dist/chunk-YXA3UPMI.mjs.map +0 -1
@@ -0,0 +1,15 @@
1
+ import { DocumentPointer } from '@copilotkit/react-core';
2
+
3
+ interface SourceSearchBoxProps {
4
+ searchTerm: string;
5
+ suggestedFiles: DocumentPointer[];
6
+ onSelectedFile: (filePointer: DocumentPointer) => void;
7
+ }
8
+ declare function SourceSearchBox(props: SourceSearchBoxProps): JSX.Element;
9
+ declare function Logo({ children, width, height, }: {
10
+ children: React.ReactNode;
11
+ width: string;
12
+ height: string;
13
+ }): JSX.Element;
14
+
15
+ export { Logo, SourceSearchBox, SourceSearchBoxProps };
@@ -1,7 +1,13 @@
1
- export { Logo, SourceSearchBox } from '../../chunk-463BFNUP.mjs';
2
- import '../../chunk-WLPYYGES.mjs';
3
- import '../../chunk-O5OWT5GE.mjs';
4
- import '../../chunk-KGKLUWKW.mjs';
5
- import '../../chunk-MRXNTQOX.mjs';
6
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ Logo,
3
+ SourceSearchBox
4
+ } from "../../chunk-463BFNUP.mjs";
5
+ import "../../chunk-WLPYYGES.mjs";
6
+ import "../../chunk-O5OWT5GE.mjs";
7
+ import "../../chunk-KGKLUWKW.mjs";
8
+ import "../../chunk-MRXNTQOX.mjs";
9
+ export {
10
+ Logo,
11
+ SourceSearchBox
12
+ };
7
13
  //# sourceMappingURL=source-search-box.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,14 @@
1
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
+ import * as React from 'react';
3
+ import { VariantProps } from 'class-variance-authority';
4
+
5
+ declare const buttonVariants: (props?: ({
6
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
9
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
10
+ asChild?: boolean;
11
+ }
12
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
13
+
14
+ export { Button, ButtonProps, buttonVariants };
@@ -1,5 +1,11 @@
1
- export { Button, buttonVariants } from '../../chunk-2NURR2DX.mjs';
2
- import '../../chunk-KGKLUWKW.mjs';
3
- import '../../chunk-MRXNTQOX.mjs';
4
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ Button,
3
+ buttonVariants
4
+ } from "../../chunk-2NURR2DX.mjs";
5
+ import "../../chunk-KGKLUWKW.mjs";
6
+ import "../../chunk-MRXNTQOX.mjs";
7
+ export {
8
+ Button,
9
+ buttonVariants
10
+ };
5
11
  //# sourceMappingURL=button.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+
3
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
6
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
7
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
+
10
+ export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -1,8 +1,14 @@
1
- import { cn } from '../../chunk-KGKLUWKW.mjs';
2
- import { __objRest, __spreadValues } from '../../chunk-MRXNTQOX.mjs';
3
- import * as React from 'react';
4
- import { jsx } from 'react/jsx-runtime';
1
+ import {
2
+ cn
3
+ } from "../../chunk-KGKLUWKW.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "../../chunk-MRXNTQOX.mjs";
5
8
 
9
+ // src/components/ui/card.tsx
10
+ import * as React from "react";
11
+ import { jsx } from "react/jsx-runtime";
6
12
  var Card = React.forwardRef((_a, ref) => {
7
13
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
8
14
  return /* @__PURE__ */ jsx("div", __spreadValues({
@@ -57,7 +63,12 @@ var CardFooter = React.forwardRef((_a, ref) => {
57
63
  }, props));
58
64
  });
59
65
  CardFooter.displayName = "CardFooter";
60
-
61
- export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
62
- //# sourceMappingURL=out.js.map
66
+ export {
67
+ Card,
68
+ CardContent,
69
+ CardDescription,
70
+ CardFooter,
71
+ CardHeader,
72
+ CardTitle
73
+ };
63
74
  //# sourceMappingURL=card.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAQrB;AAJF,IAAM,OAAa,iBAGjB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAPL,IAOG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,MACN;AAAA,CACD;AACD,KAAK,cAAc;AAEnB,IAAM,aAAmB,iBAGvB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAtBL,IAsBG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,KACpD,MACN;AAAA,CACD;AACD,WAAW,cAAc;AAEzB,IAAM,YAAkB,iBAGtB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAlCL,IAkCG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,MACN;AAAA,CACD;AACD,UAAU,cAAc;AAExB,IAAM,kBAAwB,iBAG5B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAjDL,IAiDG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,KACpD,MACN;AAAA,CACD;AACD,gBAAgB,cAAc;AAE9B,IAAM,cAAoB,iBAGxB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA7DL,IA6DG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IAAI;AAAA,IAAU,WAAW,GAAG,YAAY,SAAS;AAAA,KAAO,MAAO;AAAA,CACjE;AACD,YAAY,cAAc;AAE1B,IAAM,aAAmB,iBAGvB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YArEL,IAqEG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW,GAAG,8BAA8B,SAAS;AAAA,KACjD,MACN;AAAA,CACD;AACD,WAAW,cAAc","sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-lg border bg-card text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n));\nCard.displayName = \"Card\";\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6\", className)}\n {...props}\n />\n));\nCardHeader.displayName = \"CardHeader\";\n\nconst CardTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n));\nCardTitle.displayName = \"CardTitle\";\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nCardDescription.displayName = \"CardDescription\";\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n));\nCardContent.displayName = \"CardContent\";\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n));\nCardFooter.displayName = \"CardFooter\";\n\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardDescription,\n CardContent,\n};\n"]}
1
+ {"version":3,"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Card = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-lg border bg-card text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n));\nCard.displayName = \"Card\";\n\nconst CardHeader = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6\", className)}\n {...props}\n />\n));\nCardHeader.displayName = \"CardHeader\";\n\nconst CardTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\n \"text-2xl font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n));\nCardTitle.displayName = \"CardTitle\";\n\nconst CardDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nCardDescription.displayName = \"CardDescription\";\n\nconst CardContent = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6 pt-0\", className)} {...props} />\n));\nCardContent.displayName = \"CardContent\";\n\nconst CardFooter = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n));\nCardFooter.displayName = \"CardFooter\";\n\nexport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardDescription,\n CardContent,\n};\n"],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAQrB;AAJF,IAAM,OAAa,iBAGjB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAPL,IAOG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,MACN;AAAA,CACD;AACD,KAAK,cAAc;AAEnB,IAAM,aAAmB,iBAGvB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAtBL,IAsBG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,KACpD,MACN;AAAA,CACD;AACD,WAAW,cAAc;AAEzB,IAAM,YAAkB,iBAGtB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAlCL,IAkCG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,KACI,MACN;AAAA,CACD;AACD,UAAU,cAAc;AAExB,IAAM,kBAAwB,iBAG5B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAjDL,IAiDG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,KACpD,MACN;AAAA,CACD;AACD,gBAAgB,cAAc;AAE9B,IAAM,cAAoB,iBAGxB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA7DL,IA6DG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IAAI;AAAA,IAAU,WAAW,GAAG,YAAY,SAAS;AAAA,KAAO,MAAO;AAAA,CACjE;AACD,YAAY,cAAc;AAE1B,IAAM,aAAmB,iBAGvB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YArEL,IAqEG,IAAgB,kBAAhB,IAAgB,CAAd;AACH,6BAAC;AAAA,IACC;AAAA,IACA,WAAW,GAAG,8BAA8B,SAAS;AAAA,KACjD,MACN;AAAA,CACD;AACD,WAAW,cAAc;","names":[]}
@@ -0,0 +1,48 @@
1
+ import * as React from 'react';
2
+ import { DialogProps } from '@radix-ui/react-dialog';
3
+
4
+ declare const Command: React.ForwardRefExoticComponent<Omit<{
5
+ children?: React.ReactNode;
6
+ } & React.HTMLAttributes<HTMLDivElement> & {
7
+ label?: string | undefined;
8
+ shouldFilter?: boolean | undefined;
9
+ filter?: ((value: string, search: string) => number) | undefined;
10
+ value?: string | undefined;
11
+ onValueChange?: ((value: string) => void) | undefined;
12
+ loop?: boolean | undefined;
13
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
+ interface CommandDialogProps extends DialogProps {
15
+ }
16
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => JSX.Element;
17
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type"> & {
18
+ value?: string | undefined;
19
+ onValueChange?: ((search: string) => void) | undefined;
20
+ } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
21
+ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
22
+ children?: React.ReactNode;
23
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
+ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
25
+ children?: React.ReactNode;
26
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
27
+ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
28
+ children?: React.ReactNode;
29
+ } & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
30
+ heading?: React.ReactNode;
31
+ value?: string | undefined;
32
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
33
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
34
+ alwaysRender?: boolean | undefined;
35
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
36
+ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
37
+ children?: React.ReactNode;
38
+ } & Omit<React.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
39
+ disabled?: boolean | undefined;
40
+ onSelect?: ((value: string) => void) | undefined;
41
+ value?: string | undefined;
42
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
43
+ declare const CommandShortcut: {
44
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): JSX.Element;
45
+ displayName: string;
46
+ };
47
+
48
+ export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
@@ -1,6 +1,26 @@
1
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from '../../chunk-WLPYYGES.mjs';
2
- import '../../chunk-O5OWT5GE.mjs';
3
- import '../../chunk-KGKLUWKW.mjs';
4
- import '../../chunk-MRXNTQOX.mjs';
5
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ Command,
3
+ CommandDialog,
4
+ CommandEmpty,
5
+ CommandGroup,
6
+ CommandInput,
7
+ CommandItem,
8
+ CommandList,
9
+ CommandSeparator,
10
+ CommandShortcut
11
+ } from "../../chunk-WLPYYGES.mjs";
12
+ import "../../chunk-O5OWT5GE.mjs";
13
+ import "../../chunk-KGKLUWKW.mjs";
14
+ import "../../chunk-MRXNTQOX.mjs";
15
+ export {
16
+ Command,
17
+ CommandDialog,
18
+ CommandEmpty,
19
+ CommandGroup,
20
+ CommandInput,
21
+ CommandItem,
22
+ CommandList,
23
+ CommandSeparator,
24
+ CommandShortcut
25
+ };
6
26
  //# sourceMappingURL=command.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+
4
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
5
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const DialogHeader: {
8
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
9
+ displayName: string;
10
+ };
11
+ declare const DialogFooter: {
12
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
13
+ displayName: string;
14
+ };
15
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
16
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
17
+
18
+ export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };
@@ -1,5 +1,21 @@
1
- export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from '../../chunk-O5OWT5GE.mjs';
2
- import '../../chunk-KGKLUWKW.mjs';
3
- import '../../chunk-MRXNTQOX.mjs';
4
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ Dialog,
3
+ DialogContent,
4
+ DialogDescription,
5
+ DialogFooter,
6
+ DialogHeader,
7
+ DialogTitle,
8
+ DialogTrigger
9
+ } from "../../chunk-O5OWT5GE.mjs";
10
+ import "../../chunk-KGKLUWKW.mjs";
11
+ import "../../chunk-MRXNTQOX.mjs";
12
+ export {
13
+ Dialog,
14
+ DialogContent,
15
+ DialogDescription,
16
+ DialogFooter,
17
+ DialogHeader,
18
+ DialogTitle,
19
+ DialogTrigger
20
+ };
5
21
  //# sourceMappingURL=dialog.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
2
+ import * as React from 'react';
3
+ import * as LabelPrimitive from '@radix-ui/react-label';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
7
+
8
+ export { Label };
@@ -1,5 +1,9 @@
1
- export { Label } from '../../chunk-5EJ5XOGP.mjs';
2
- import '../../chunk-KGKLUWKW.mjs';
3
- import '../../chunk-MRXNTQOX.mjs';
4
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ Label
3
+ } from "../../chunk-5EJ5XOGP.mjs";
4
+ import "../../chunk-KGKLUWKW.mjs";
5
+ import "../../chunk-MRXNTQOX.mjs";
6
+ export {
7
+ Label
8
+ };
5
9
  //# sourceMappingURL=label.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
+
4
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+
6
+ export { Separator };
@@ -1,9 +1,16 @@
1
- import { cn } from '../../chunk-KGKLUWKW.mjs';
2
- import { __objRest, __spreadValues } from '../../chunk-MRXNTQOX.mjs';
3
- import * as React from 'react';
4
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
5
- import { jsx } from 'react/jsx-runtime';
1
+ import {
2
+ cn
3
+ } from "../../chunk-KGKLUWKW.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "../../chunk-MRXNTQOX.mjs";
6
8
 
9
+ // src/components/ui/separator.tsx
10
+ import * as React from "react";
11
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
12
+ import { jsx } from "react/jsx-runtime";
13
+ "use client";
7
14
  var Separator = React.forwardRef(
8
15
  (_a, ref) => {
9
16
  var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
@@ -20,7 +27,7 @@ var Separator = React.forwardRef(
20
27
  }
21
28
  );
22
29
  Separator.displayName = SeparatorPrimitive.Root.displayName;
23
-
24
- export { Separator };
25
- //# sourceMappingURL=out.js.map
30
+ export {
31
+ Separator
32
+ };
26
33
  //# sourceMappingURL=separator.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":";;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,wBAAwB;AAYhC;AAfJ;AAOA,IAAM,YAAkB;AAAA,EAItB,CACE,IACA,QACA;AAFA,iBAAE,aAAW,cAAc,cAAc,aAAa,KAZ1D,IAYI,IAA+D,kBAA/D,IAA+D,CAA7D,aAAW,eAA4B;AAGzC,+BAAoB,yBAAnB;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA,gBAAgB,eAAe,mBAAmB;AAAA,QAClD;AAAA,MACF;AAAA,OACI,MACN;AAAA;AAEJ;AACA,UAAU,cAAiC,wBAAK","sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(\n (\n { className, orientation = \"horizontal\", decorative = true, ...props },\n ref\n ) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n \"shrink-0 bg-border\",\n orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\n className\n )}\n {...props}\n />\n )\n);\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\nexport { Separator };\n"]}
1
+ {"version":3,"sources":["../../../src/components/ui/separator.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(\n (\n { className, orientation = \"horizontal\", decorative = true, ...props },\n ref\n ) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n \"shrink-0 bg-border\",\n orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\n className\n )}\n {...props}\n />\n )\n);\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\nexport { Separator };\n"],"mappings":";;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,wBAAwB;AAYhC;AAfJ;AAOA,IAAM,YAAkB;AAAA,EAItB,CACE,IACA,QACA;AAFA,iBAAE,aAAW,cAAc,cAAc,aAAa,KAZ1D,IAYI,IAA+D,kBAA/D,IAA+D,CAA7D,aAAW,eAA4B;AAGzC,+BAAoB,yBAAnB;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA,gBAAgB,eAAe,mBAAmB;AAAA,QAClD;AAAA,MACF;AAAA,OACI,MACN;AAAA;AAEJ;AACA,UAAU,cAAiC,wBAAK;","names":[]}
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+
3
+ interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
4
+ }
5
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
6
+
7
+ export { Textarea, TextareaProps };
@@ -1,8 +1,14 @@
1
- import { cn } from '../../chunk-KGKLUWKW.mjs';
2
- import { __objRest, __spreadValues } from '../../chunk-MRXNTQOX.mjs';
3
- import * as React from 'react';
4
- import { jsx } from 'react/jsx-runtime';
1
+ import {
2
+ cn
3
+ } from "../../chunk-KGKLUWKW.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "../../chunk-MRXNTQOX.mjs";
5
8
 
9
+ // src/components/ui/textarea.tsx
10
+ import * as React from "react";
11
+ import { jsx } from "react/jsx-runtime";
6
12
  var Textarea = React.forwardRef(
7
13
  (_a, ref) => {
8
14
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
@@ -16,7 +22,7 @@ var Textarea = React.forwardRef(
16
22
  }
17
23
  );
18
24
  Textarea.displayName = "Textarea";
19
-
20
- export { Textarea };
21
- //# sourceMappingURL=out.js.map
25
+ export {
26
+ Textarea
27
+ };
22
28
  //# sourceMappingURL=textarea.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ui/textarea.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAUjB;AAHN,IAAM,WAAiB;AAAA,EACrB,CAAC,IAAyB,QAAQ;AAAjC,iBAAE,YARL,IAQG,IAAgB,kBAAhB,IAAgB,CAAd;AACD,WACE,oBAAC;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACA;AAAA,OACI,MACN;AAAA,EAEJ;AACF;AACA,SAAS,cAAc","sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nexport interface TextareaProps\n extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n ref={ref}\n {...props}\n />\n );\n }\n);\nTextarea.displayName = \"Textarea\";\n\nexport { Textarea };\n"]}
1
+ {"version":3,"sources":["../../../src/components/ui/textarea.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nexport interface TextareaProps\n extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n ref={ref}\n {...props}\n />\n );\n }\n);\nTextarea.displayName = \"Textarea\";\n\nexport { Textarea };\n"],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAUjB;AAHN,IAAM,WAAiB;AAAA,EACrB,CAAC,IAAyB,QAAQ;AAAjC,iBAAE,YARL,IAQG,IAAgB,kBAAhB,IAAgB,CAAd;AACD,WACE,oBAAC;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACA;AAAA,OACI,MACN;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;","names":[]}
@@ -0,0 +1 @@
1
+
@@ -1,3 +1,2 @@
1
- import '../chunk-IU3WTXLQ.mjs';
2
- //# sourceMappingURL=out.js.map
1
+ import "../chunk-IU3WTXLQ.mjs";
3
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,14 @@
1
+ import { AutosuggestionsBareFunction } from '../../types/base/autosuggestions-bare-function.js';
2
+ import { AutosuggestionState } from '../../types/base/autosuggestion-state.js';
3
+ import { EditorAutocompleteState } from '../../types/base/editor-autocomplete-state.js';
4
+ import '@copilotkit/react-core';
5
+ import 'slate';
6
+
7
+ interface UseAutosuggestionsResult {
8
+ currentAutocompleteSuggestion: AutosuggestionState | null;
9
+ onChangeHandler: (newEditorState: EditorAutocompleteState | null) => void;
10
+ onKeyDownHandler: (event: React.KeyboardEvent<HTMLDivElement>) => void;
11
+ }
12
+ declare function useAutosuggestions(debounceTime: number, acceptAutosuggestionKey: string, autosuggestionFunction: AutosuggestionsBareFunction, insertAutocompleteSuggestion: (suggestion: AutosuggestionState) => void, disableWhenEmpty: boolean, disabled: boolean): UseAutosuggestionsResult;
13
+
14
+ export { UseAutosuggestionsResult, useAutosuggestions };
@@ -1,7 +1,11 @@
1
- export { useAutosuggestions } from '../../chunk-UHD44NC5.mjs';
2
- import '../../chunk-JAFCXEPU.mjs';
3
- import '../../chunk-KGKLUWKW.mjs';
4
- import '../../chunk-NKW5OU2S.mjs';
5
- import '../../chunk-MRXNTQOX.mjs';
6
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ useAutosuggestions
3
+ } from "../../chunk-UHD44NC5.mjs";
4
+ import "../../chunk-JAFCXEPU.mjs";
5
+ import "../../chunk-KGKLUWKW.mjs";
6
+ import "../../chunk-NKW5OU2S.mjs";
7
+ import "../../chunk-MRXNTQOX.mjs";
8
+ export {
9
+ useAutosuggestions
10
+ };
7
11
  //# sourceMappingURL=use-autosuggestions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,8 @@
1
+ import { CustomEditor } from '../../types/base/custom-editor.js';
2
+ import 'slate';
3
+ import 'slate-react';
4
+ import 'slate-history';
5
+
6
+ declare function useCopilotTextareaEditor(): CustomEditor;
7
+
8
+ export { useCopilotTextareaEditor };
@@ -1,5 +1,9 @@
1
- export { useCopilotTextareaEditor } from '../../chunk-CSGFJU3L.mjs';
2
- import '../../chunk-KCHYD3EB.mjs';
3
- import '../../chunk-MRXNTQOX.mjs';
4
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ useCopilotTextareaEditor
3
+ } from "../../chunk-CSGFJU3L.mjs";
4
+ import "../../chunk-KCHYD3EB.mjs";
5
+ import "../../chunk-MRXNTQOX.mjs";
6
+ export {
7
+ useCopilotTextareaEditor
8
+ };
5
9
  //# sourceMappingURL=use-copilot-textarea-editor.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,7 @@
1
+ import React__default from 'react';
2
+ import { Editor } from 'slate';
3
+ import { HTMLCopilotTextAreaElement } from '../../types/html-copilot-textarea-element.js';
4
+
5
+ declare function usePopulateCopilotTextareaRef(editor: Editor, ref: React__default.Ref<HTMLCopilotTextAreaElement>): void;
6
+
7
+ export { usePopulateCopilotTextareaRef };
@@ -1,6 +1,10 @@
1
- export { usePopulateCopilotTextareaRef } from '../../chunk-YQU7WG7T.mjs';
2
- import '../../chunk-RQHOUUXQ.mjs';
3
- import '../../chunk-IXJ2HCOA.mjs';
4
- import '../../chunk-MRXNTQOX.mjs';
5
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ usePopulateCopilotTextareaRef
3
+ } from "../../chunk-YQU7WG7T.mjs";
4
+ import "../../chunk-RQHOUUXQ.mjs";
5
+ import "../../chunk-IXJ2HCOA.mjs";
6
+ import "../../chunk-MRXNTQOX.mjs";
7
+ export {
8
+ usePopulateCopilotTextareaRef
9
+ };
6
10
  //# sourceMappingURL=use-populate-copilot-textarea-ref.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1 @@
1
+
@@ -1,3 +1,2 @@
1
- import '../chunk-H4VKQGVU.mjs';
2
- //# sourceMappingURL=out.js.map
1
+ import "../chunk-H4VKQGVU.mjs";
3
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,22 @@
1
+ import { AutosuggestionsBareFunction } from '../../types/base/autosuggestions-bare-function.js';
2
+ import { SuggestionsApiConfig } from '../../types/autosuggestions-config/suggestions-api-config.js';
3
+ import '@copilotkit/react-core';
4
+ import '../../types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js';
5
+ import '../../types/autosuggestions-config/subtypes/make-system-prompt.js';
6
+
7
+ /**
8
+ * Returns a memoized function that sends a request to the specified API endpoint to get an autosuggestion for the user's input.
9
+ * The function takes in the text before and after the cursor, and an abort signal.
10
+ * It sends a POST request to the API endpoint with the messages array containing the system message, few shot messages, and user messages.
11
+ * The function returns the suggestion from the API response.
12
+ *
13
+ * @param textareaPurpose - The purpose of the textarea. This is included in the system message.
14
+ * @param apiEndpoint - The API endpoint to send the autosuggestion request to.
15
+ * @param makeSystemMessage - A function that takes in a context string and returns a system message to include in the autosuggestion request.
16
+ * @param fewShotMessages - An array of few shot messages to include in the autosuggestion request.
17
+ * @param contextCategories - The categories of context strings we want to include. By default, we include the (default) "global" context category.
18
+ * @returns A memoized function that sends a request to the specified API endpoint to get an autosuggestion for the user's input.
19
+ */
20
+ declare function useMakeStandardAutosuggestionFunction(textareaPurpose: string, contextCategories: string[] | undefined, apiConfig: SuggestionsApiConfig): AutosuggestionsBareFunction;
21
+
22
+ export { useMakeStandardAutosuggestionFunction };
@@ -1,15 +1,19 @@
1
- export { useMakeStandardAutosuggestionFunction } from '../../chunk-DYGPLRY3.mjs';
2
- import '../../chunk-DE5K76I2.mjs';
3
- import '../../chunk-5FO6ISW4.mjs';
4
- import '../../chunk-QJDMIGLU.mjs';
5
- import '../../chunk-F2TIBXML.mjs';
6
- import '../../chunk-AXN37AHC.mjs';
7
- import '../../chunk-RR6OQGTI.mjs';
8
- import '../../chunk-JHTAOLEW.mjs';
9
- import '../../chunk-WADHCMPK.mjs';
10
- import '../../chunk-WJHSY5T6.mjs';
11
- import '../../chunk-S6JUGJK2.mjs';
12
- import '../../chunk-4S5ZJH3I.mjs';
13
- import '../../chunk-MRXNTQOX.mjs';
14
- //# sourceMappingURL=out.js.map
1
+ import {
2
+ useMakeStandardAutosuggestionFunction
3
+ } from "../../chunk-DYGPLRY3.mjs";
4
+ import "../../chunk-DE5K76I2.mjs";
5
+ import "../../chunk-5FO6ISW4.mjs";
6
+ import "../../chunk-QJDMIGLU.mjs";
7
+ import "../../chunk-F2TIBXML.mjs";
8
+ import "../../chunk-AXN37AHC.mjs";
9
+ import "../../chunk-RR6OQGTI.mjs";
10
+ import "../../chunk-JHTAOLEW.mjs";
11
+ import "../../chunk-WADHCMPK.mjs";
12
+ import "../../chunk-WJHSY5T6.mjs";
13
+ import "../../chunk-S6JUGJK2.mjs";
14
+ import "../../chunk-4S5ZJH3I.mjs";
15
+ import "../../chunk-MRXNTQOX.mjs";
16
+ export {
17
+ useMakeStandardAutosuggestionFunction
18
+ };
15
19
  //# sourceMappingURL=use-make-standard-autosuggestions-function.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}