cortex-react-components 2.27.0 → 2.28.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 (380) hide show
  1. package/dist/{chunk-LJXTXROJ.mjs → chunk-24R7CI5Q.mjs} +1 -1
  2. package/dist/{chunk-FZX3ZPEU.mjs → chunk-27XIU7FW.mjs} +1 -1
  3. package/dist/{chunk-RR4QSUV2.mjs → chunk-2IMY4VWR.mjs} +1 -1
  4. package/dist/{chunk-WIRQ5IRT.mjs → chunk-2R3ECSWF.mjs} +1 -1
  5. package/dist/{chunk-RJGYVDOU.mjs → chunk-43YJ2VYN.mjs} +1 -1
  6. package/dist/{chunk-2BRDNDUB.mjs → chunk-4ITG3T35.mjs} +1 -1
  7. package/dist/{chunk-LHO4WFYP.mjs → chunk-5FWH5YVM.mjs} +1 -1
  8. package/dist/{chunk-NBJLXJQ3.mjs → chunk-633ESSXN.mjs} +1 -1
  9. package/dist/{chunk-3NRXQBBS.mjs → chunk-6L7VJ7IH.mjs} +1 -1
  10. package/dist/chunk-6UULUGR2.mjs +1 -0
  11. package/dist/{chunk-JCWFPKF3.mjs → chunk-6VRPQKAK.mjs} +1 -1
  12. package/dist/{chunk-TYARLEAC.mjs → chunk-75HU5Q6A.mjs} +1 -1
  13. package/dist/{chunk-KEK763EH.mjs → chunk-AMAB4E2X.mjs} +1 -1
  14. package/dist/{chunk-7R47MHQE.mjs → chunk-B63FA7LF.mjs} +1 -1
  15. package/dist/{chunk-LAQ3QAUW.mjs → chunk-CLGBBNRB.mjs} +1 -1
  16. package/dist/{chunk-F6DMXMR4.mjs → chunk-CXHPLJDO.mjs} +1 -1
  17. package/dist/{chunk-CDVRH3MC.mjs → chunk-D44OXIPN.mjs} +1 -1
  18. package/dist/{chunk-GTZJWMZR.mjs → chunk-D76LTQRD.mjs} +1 -1
  19. package/dist/chunk-DNMM3Q72.mjs +9 -0
  20. package/dist/{chunk-GHOL5L32.mjs → chunk-DTKZ3I6Z.mjs} +1 -1
  21. package/dist/{chunk-FE7ZGUPU.mjs → chunk-FRYADWTQ.mjs} +1 -1
  22. package/dist/chunk-G3BOVXUM.mjs +4 -0
  23. package/dist/{chunk-3HNU2NYP.mjs → chunk-GRNOF6LY.mjs} +1 -1
  24. package/dist/{chunk-AJQHGVZ5.mjs → chunk-GXVC6ETI.mjs} +1 -1
  25. package/dist/{chunk-IQQ7ZWCP.mjs → chunk-I6D5JCNY.mjs} +1 -1
  26. package/dist/{chunk-5MWZTJYP.mjs → chunk-IBC5Z55T.mjs} +1 -1
  27. package/dist/{chunk-TVTTUSWM.mjs → chunk-IFUIQ57U.mjs} +1 -1
  28. package/dist/chunk-IMRGPVFS.mjs +1 -0
  29. package/dist/{chunk-EM3T2XYC.mjs → chunk-KAAHIHZK.mjs} +1 -1
  30. package/dist/{chunk-5NIEZE7A.mjs → chunk-KBEXWUKI.mjs} +1 -1
  31. package/dist/{chunk-EHSOO47V.mjs → chunk-KEOMDWUC.mjs} +1 -1
  32. package/dist/{chunk-LAP57E2L.mjs → chunk-LBVWIF2J.mjs} +1 -1
  33. package/dist/chunk-LEZ6G4X7.mjs +4 -0
  34. package/dist/{chunk-75F3LJMX.mjs → chunk-LKUK55GC.mjs} +1 -1
  35. package/dist/{chunk-WLI2YTOQ.mjs → chunk-MDIJOHFV.mjs} +1 -1
  36. package/dist/{chunk-P7S6XFU4.mjs → chunk-MX3JKY3V.mjs} +1 -1
  37. package/dist/{chunk-C4RWEPVF.mjs → chunk-MX6GXHJJ.mjs} +1 -1
  38. package/dist/{chunk-3Y7QG6VP.mjs → chunk-NJ7PW5T7.mjs} +1 -1
  39. package/dist/{chunk-7NWIK57W.mjs → chunk-O3BCESMN.mjs} +1 -1
  40. package/dist/{chunk-ZFUP5NVF.mjs → chunk-O5P35LEY.mjs} +1 -1
  41. package/dist/{chunk-X2JWNPWT.mjs → chunk-O5QXPC23.mjs} +1 -1
  42. package/dist/{chunk-RGOKBIQ5.mjs → chunk-ORODSHZN.mjs} +1 -1
  43. package/dist/{chunk-HD6E7KI2.mjs → chunk-RCI3L3M5.mjs} +1 -1
  44. package/dist/{chunk-5EKGFFJD.mjs → chunk-SADWUWLZ.mjs} +1 -1
  45. package/dist/{chunk-TXVA6XJT.mjs → chunk-SRUG246N.mjs} +1 -1
  46. package/dist/{chunk-BDDEMCAH.mjs → chunk-SZXMQMZ6.mjs} +1 -1
  47. package/dist/{chunk-7TSR2LQB.mjs → chunk-TIAA3ZN3.mjs} +1 -1
  48. package/dist/{chunk-RS4WAAGI.mjs → chunk-UBZYXZ7B.mjs} +1 -1
  49. package/dist/{chunk-6PS55VJZ.mjs → chunk-VDFRWGXR.mjs} +1 -1
  50. package/dist/chunk-VFIMFZX5.mjs +1 -0
  51. package/dist/{chunk-M527EJIX.mjs → chunk-WBDSOPDY.mjs} +1 -1
  52. package/dist/{chunk-CXOVEABI.mjs → chunk-WDRL3N5V.mjs} +1 -1
  53. package/dist/{chunk-L3BLBPSR.mjs → chunk-WUA65ZZB.mjs} +1 -1
  54. package/dist/{chunk-RS4VD3ML.mjs → chunk-XQ3XV5DH.mjs} +1 -1
  55. package/dist/{chunk-ZEALRBXW.mjs → chunk-XSCZQEYP.mjs} +1 -1
  56. package/dist/{chunk-AQQCH7Z2.mjs → chunk-XX4GSGRP.mjs} +1 -1
  57. package/dist/{chunk-NINFDOV5.mjs → chunk-YG7SLO6G.mjs} +1 -1
  58. package/dist/chunk-YI6EQRWN.mjs +1 -0
  59. package/dist/{chunk-LLED3RQS.mjs → chunk-YPQUYIGO.mjs} +1 -1
  60. package/dist/{chunk-TJZVV3XH.mjs → chunk-YVXFRQPA.mjs} +1 -1
  61. package/dist/{chunk-TTWEHUP5.mjs → chunk-ZA6MGTGM.mjs} +1 -1
  62. package/dist/chunk-ZLFZBT3K.mjs +1 -0
  63. package/dist/{chunk-HSQAHQNP.mjs → chunk-ZZFYIP6H.mjs} +1 -1
  64. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  65. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  66. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  67. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  68. package/dist/components/AdvancedComponents/index.js +8 -8
  69. package/dist/components/AdvancedComponents/index.mjs +1 -1
  70. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  71. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  72. package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.d.ts +7 -0
  73. package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.js +1 -0
  74. package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.mjs +1 -0
  75. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.d.ts +2 -0
  76. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.js +8 -8
  77. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +1 -1
  78. package/dist/components/AdvancedComponents/org-chart-component/OrgNode.js +5 -5
  79. package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +1 -1
  80. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.d.ts +11 -2
  81. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.js +8 -8
  82. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +1 -1
  83. package/dist/components/AdvancedComponents/org-chart-component/index.d.ts +2 -0
  84. package/dist/components/AdvancedComponents/org-chart-component/index.js +8 -8
  85. package/dist/components/AdvancedComponents/org-chart-component/index.mjs +1 -1
  86. package/dist/components/AdvancedComponents/org-chart-component/mockData.d.ts +9 -7
  87. package/dist/components/AdvancedComponents/org-chart-component/mockData.js +1 -1
  88. package/dist/components/AdvancedComponents/org-chart-component/mockData.mjs +1 -1
  89. package/dist/components/AdvancedComponents/org-chart-component/types/index.mjs +1 -1
  90. package/dist/components/AdvancedComponents/org-chart-component/types.d.ts +42 -0
  91. package/dist/components/AdvancedComponents/org-chart-component/types.js +1 -0
  92. package/dist/components/AdvancedComponents/org-chart-component/types.mjs +1 -0
  93. package/dist/components/AdvancedComponents/org-chart-component/utils.d.ts +2 -2
  94. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  95. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  96. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  97. package/dist/components/Blocks/Banner.mjs +1 -1
  98. package/dist/components/Blocks/CallToAction.mjs +1 -1
  99. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  100. package/dist/components/Blocks/Code.client.mjs +1 -1
  101. package/dist/components/Blocks/Code.mjs +1 -1
  102. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  103. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  104. package/dist/components/Blocks/Content.mjs +1 -1
  105. package/dist/components/Blocks/CopyButton.mjs +1 -1
  106. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  107. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  108. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  109. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  110. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  111. package/dist/components/Blocks/index.mjs +1 -1
  112. package/dist/components/CRM/CogeBoard.mjs +1 -1
  113. package/dist/components/CRM/DealCard.mjs +1 -1
  114. package/dist/components/CRM/DealDetails.mjs +1 -1
  115. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  116. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  117. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  118. package/dist/components/CRM/NewDealForm.mjs +1 -1
  119. package/dist/components/CRM/index.mjs +1 -1
  120. package/dist/components/Cards/ContentCard.mjs +1 -1
  121. package/dist/components/Cards/CustomerCard.mjs +1 -1
  122. package/dist/components/Cards/EventCard.mjs +1 -1
  123. package/dist/components/Cards/FeatureCard.mjs +1 -1
  124. package/dist/components/Cards/HeroCard.mjs +1 -1
  125. package/dist/components/Cards/Image.mjs +1 -1
  126. package/dist/components/Cards/PricingCard.mjs +1 -1
  127. package/dist/components/Cards/ServiceCard.mjs +1 -1
  128. package/dist/components/Cards/index.mjs +1 -1
  129. package/dist/components/Chat/ChatInterface.js +10 -10
  130. package/dist/components/Chat/ChatInterface.mjs +1 -1
  131. package/dist/components/Chat/Components/ChatCardArtefact.mjs +1 -1
  132. package/dist/components/Chat/Components/ChatCardTask.mjs +1 -1
  133. package/dist/components/Chat/Components/Conversation.mjs +1 -1
  134. package/dist/components/Chat/Components/Message.js +1 -1
  135. package/dist/components/Chat/Components/Message.mjs +1 -1
  136. package/dist/components/Chat/CopilotInterface.js +6 -6
  137. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  138. package/dist/components/Chat/PartTypes/CodeBlock.mjs +1 -1
  139. package/dist/components/Chat/PartTypes/ColleagueHandoff.d.ts +18 -0
  140. package/dist/components/Chat/PartTypes/ColleagueHandoff.js +5 -0
  141. package/dist/components/Chat/PartTypes/ColleagueHandoff.mjs +2 -0
  142. package/dist/components/Chat/PartTypes/MessageHandler.js +6 -6
  143. package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
  144. package/dist/components/Chat/PartTypes/Reasoning.mjs +1 -1
  145. package/dist/components/Chat/PartTypes/Response.mjs +1 -1
  146. package/dist/components/Chat/PartTypes/Tool.mjs +1 -1
  147. package/dist/components/Chat/PartTypes/index.d.ts +1 -0
  148. package/dist/components/Chat/PartTypes/index.js +8 -8
  149. package/dist/components/Chat/PartTypes/index.mjs +1 -1
  150. package/dist/components/Chat/capability-menu.mjs +1 -1
  151. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  152. package/dist/components/Chat/demo-long-messages.js +14 -14
  153. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  154. package/dist/components/Chat/demo-tests.js +42 -42
  155. package/dist/components/Chat/demo-tests.mjs +1 -1
  156. package/dist/components/Chat/demo.js +6 -6
  157. package/dist/components/Chat/demo.mjs +1 -1
  158. package/dist/components/Chat/example-usage.js +7 -7
  159. package/dist/components/Chat/example-usage.mjs +1 -1
  160. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  161. package/dist/components/Chat/example-with-vercel-ai.js +6 -6
  162. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  163. package/dist/components/Chat/index.d.ts +0 -2
  164. package/dist/components/Chat/index.js +11 -14
  165. package/dist/components/Chat/index.mjs +1 -1
  166. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  167. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  168. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  169. package/dist/components/DeliveryLead/index.mjs +1 -1
  170. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  171. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  172. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  173. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  174. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  175. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  176. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  177. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  178. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  179. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  180. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  181. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  182. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  183. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  184. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  185. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  186. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  187. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  188. package/dist/components/DigitalColleagues/index.mjs +1 -1
  189. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  190. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  191. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  192. package/dist/components/Foundary/AppSidebarLeft.mjs +1 -1
  193. package/dist/components/Foundary/DashboardHeader.mjs +1 -1
  194. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
  195. package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
  196. package/dist/components/Foundary/Knowledge/manage-team-context.mjs +1 -1
  197. package/dist/components/Foundary/LandingMenu.mjs +1 -1
  198. package/dist/components/Foundary/Login.mjs +1 -1
  199. package/dist/components/Foundary/MainPage.mjs +1 -1
  200. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  201. package/dist/components/Foundary/RichText/components/RawUploadComponent/index.mjs +1 -1
  202. package/dist/components/Foundary/RichText/index.mjs +1 -1
  203. package/dist/components/Foundary/RichText/nodes/image-node.mjs +1 -1
  204. package/dist/components/Foundary/RichText/plugins/image-plugin.mjs +1 -1
  205. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
  206. package/dist/components/Foundary/SearchableSelect.mjs +1 -1
  207. package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
  208. package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
  209. package/dist/components/Foundary/Views/TeamsIndexView.mjs +1 -1
  210. package/dist/components/Foundary/Views/index.mjs +1 -1
  211. package/dist/components/Foundary/colleague-card.mjs +1 -1
  212. package/dist/components/Foundary/colleague-form.mjs +1 -1
  213. package/dist/components/Foundary/colleague-type-selection.mjs +1 -1
  214. package/dist/components/Foundary/document-edit.mjs +1 -1
  215. package/dist/components/Foundary/document-preview-examples.mjs +1 -1
  216. package/dist/components/Foundary/document-preview.mjs +1 -1
  217. package/dist/components/Foundary/file-edit.mjs +1 -1
  218. package/dist/components/Foundary/foundary-clone.mjs +1 -1
  219. package/dist/components/Foundary/foundary-layout.mjs +1 -1
  220. package/dist/components/Foundary/foundary-options.mjs +1 -1
  221. package/dist/components/Foundary/index.mjs +1 -1
  222. package/dist/components/Foundary/knowledge-browser.mjs +1 -1
  223. package/dist/components/Foundary/knowledge-search.mjs +1 -1
  224. package/dist/components/Foundary/team-form.mjs +1 -1
  225. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  226. package/dist/components/HeaderFooter/Header.mjs +1 -1
  227. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  228. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  229. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  230. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  231. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  232. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  233. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  234. package/dist/components/HeaderFooter/index.mjs +1 -1
  235. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  236. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  237. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  238. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  239. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  240. package/dist/components/Heros/PostHero/index.mjs +1 -1
  241. package/dist/components/Heros/RenderHero.mjs +1 -1
  242. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  243. package/dist/components/Heros/index.mjs +1 -1
  244. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  245. package/dist/components/Holidays/CalendarView.mjs +1 -1
  246. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  247. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  248. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  249. package/dist/components/Holidays/index.mjs +1 -1
  250. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  251. package/dist/components/Layouts/Print.mjs +1 -1
  252. package/dist/components/Layouts/SlideShow.mjs +1 -1
  253. package/dist/components/Layouts/index.mjs +1 -1
  254. package/dist/components/Menus/Categories.mjs +1 -1
  255. package/dist/components/Menus/Filter.mjs +1 -1
  256. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  257. package/dist/components/Menus/RelatedContent.mjs +1 -1
  258. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  259. package/dist/components/Menus/SidebarRight.mjs +1 -1
  260. package/dist/components/Menus/index.mjs +1 -1
  261. package/dist/components/Other/Container.mjs +1 -1
  262. package/dist/components/Other/index.mjs +1 -1
  263. package/dist/components/Payload/Link/index.mjs +1 -1
  264. package/dist/components/Payload/Pagination/index.mjs +1 -1
  265. package/dist/components/Payload/RichText/index.mjs +1 -1
  266. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  267. package/dist/components/Payload/index.mjs +1 -1
  268. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  269. package/dist/components/Projects/AddFileModal.mjs +1 -1
  270. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  271. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  272. package/dist/components/Projects/EpicFilter.mjs +1 -1
  273. package/dist/components/Projects/EpicsView.mjs +1 -1
  274. package/dist/components/Projects/FileView.mjs +1 -1
  275. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  276. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  277. package/dist/components/Projects/PlanningView.mjs +1 -1
  278. package/dist/components/Projects/ProjectPage.mjs +1 -1
  279. package/dist/components/Projects/ProjectView.mjs +1 -1
  280. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  281. package/dist/components/Projects/TaskCard.mjs +1 -1
  282. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  283. package/dist/components/Projects/TaskSelect.mjs +1 -1
  284. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  285. package/dist/components/Projects/TasksView.mjs +1 -1
  286. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  287. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  288. package/dist/components/Projects/file-list.mjs +1 -1
  289. package/dist/components/Projects/index.mjs +1 -1
  290. package/dist/components/Projects/project-card.mjs +1 -1
  291. package/dist/components/Projects/project-form.mjs +1 -1
  292. package/dist/components/Projects/team-card.mjs +1 -1
  293. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  294. package/dist/components/dc-temp/creative.mjs +1 -1
  295. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  296. package/dist/components/dc-temp/index.mjs +1 -1
  297. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  298. package/dist/components/index.js +34 -37
  299. package/dist/components/index.mjs +1 -1
  300. package/dist/components/ui/alert.mjs +1 -1
  301. package/dist/components/ui/avatar.mjs +1 -1
  302. package/dist/components/ui/badge.mjs +1 -1
  303. package/dist/components/ui/breadcrumb.mjs +1 -1
  304. package/dist/components/ui/button.mjs +1 -1
  305. package/dist/components/ui/calendar.mjs +1 -1
  306. package/dist/components/ui/card.mjs +1 -1
  307. package/dist/components/ui/checkbox.mjs +1 -1
  308. package/dist/components/ui/command.mjs +1 -1
  309. package/dist/components/ui/dialog.mjs +1 -1
  310. package/dist/components/ui/dropdown-menu.mjs +1 -1
  311. package/dist/components/ui/hover-card.mjs +1 -1
  312. package/dist/components/ui/index.mjs +1 -1
  313. package/dist/components/ui/input.mjs +1 -1
  314. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  315. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  316. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  317. package/dist/components/ui/label.mjs +1 -1
  318. package/dist/components/ui/pagination.mjs +1 -1
  319. package/dist/components/ui/popover.mjs +1 -1
  320. package/dist/components/ui/progress.mjs +1 -1
  321. package/dist/components/ui/scroll-area.mjs +1 -1
  322. package/dist/components/ui/select.mjs +1 -1
  323. package/dist/components/ui/separator.mjs +1 -1
  324. package/dist/components/ui/sheet.mjs +1 -1
  325. package/dist/components/ui/sidebar.mjs +1 -1
  326. package/dist/components/ui/skeleton.mjs +1 -1
  327. package/dist/components/ui/switch.mjs +1 -1
  328. package/dist/components/ui/tabs.mjs +1 -1
  329. package/dist/components/ui/textarea.mjs +1 -1
  330. package/dist/components/ui/toast.mjs +1 -1
  331. package/dist/components/ui/toaster.mjs +1 -1
  332. package/dist/components/ui/toggle-group.mjs +1 -1
  333. package/dist/components/ui/toggle.mjs +1 -1
  334. package/dist/components/ui/tooltip.mjs +1 -1
  335. package/dist/globals.css +1 -1
  336. package/dist/index.js +32 -35
  337. package/dist/index.mjs +1 -1
  338. package/dist/metafile-cjs.json +1 -1
  339. package/dist/metafile-esm.json +1 -1
  340. package/dist/pages/Blog.mjs +1 -1
  341. package/dist/pages/Documentation.mjs +1 -1
  342. package/dist/pages/IndexPage.mjs +1 -1
  343. package/dist/pages/Intranet.mjs +1 -1
  344. package/dist/pages/LandingPage.mjs +1 -1
  345. package/dist/pages/Page.mjs +1 -1
  346. package/dist/pages/Publish.mjs +1 -1
  347. package/dist/pages/Website.mjs +1 -1
  348. package/dist/sections/AboutSection.mjs +1 -1
  349. package/dist/sections/BlogDetail.mjs +1 -1
  350. package/dist/sections/BlogList.mjs +1 -1
  351. package/dist/sections/BlogListSection.mjs +1 -1
  352. package/dist/sections/ContactSection.mjs +1 -1
  353. package/dist/sections/ImageSection.mjs +1 -1
  354. package/dist/sections/MainPageSection.mjs +1 -1
  355. package/dist/sections/PageSections.mjs +1 -1
  356. package/dist/sections/PricingSection.mjs +1 -1
  357. package/dist/sections/ServiceDetail.mjs +1 -1
  358. package/dist/sections/ServiceDetailSection.mjs +1 -1
  359. package/dist/sections/ServiceSection.mjs +1 -1
  360. package/dist/sections/form/index.mjs +1 -1
  361. package/dist/sections/index.mjs +1 -1
  362. package/dist/styles/Colors.mjs +1 -1
  363. package/dist/utils/index.mjs +1 -1
  364. package/package.json +1 -1
  365. package/dist/chunk-B7RZ4K6Y.mjs +0 -1
  366. package/dist/chunk-BAB3ATRB.mjs +0 -4
  367. package/dist/chunk-EPJJKGCG.mjs +0 -1
  368. package/dist/chunk-G6OGEIN4.mjs +0 -4
  369. package/dist/chunk-KQRQXBJ3.mjs +0 -9
  370. package/dist/chunk-N7M6FTIO.mjs +0 -4
  371. package/dist/chunk-SOTCQX2G.mjs +0 -1
  372. package/dist/chunk-UJITFLIZ.mjs +0 -1
  373. package/dist/components/Chat/ChatInterfaceMessages.d.ts +0 -24
  374. package/dist/components/Chat/ChatInterfaceMessages.js +0 -7
  375. package/dist/components/Chat/ChatInterfaceMessages.mjs +0 -2
  376. package/dist/components/Chat/ChatMessage.css +0 -1
  377. package/dist/components/Chat/ChatMessage.d.ts +0 -19
  378. package/dist/components/Chat/ChatMessage.js +0 -7
  379. package/dist/components/Chat/ChatMessage.mjs +0 -1
  380. /package/dist/components/Chat/{ChatInterfaceMessages.css → PartTypes/ColleagueHandoff.css} +0 -0
@@ -1 +1 @@
1
- import"../../chunk-LUPNE23E.mjs";import"../../chunk-N7M6FTIO.mjs";import"../../chunk-BAB3ATRB.mjs";import{a as t}from"../../chunk-NBJLXJQ3.mjs";import"../../chunk-RS4WAAGI.mjs";import"../../chunk-56X4PU43.mjs";import"../../chunk-UJITFLIZ.mjs";import"../../chunk-EPJJKGCG.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-7JDMW5R3.mjs";import"../../chunk-UA2E23AS.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-7TSR2LQB.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-2LINLX4S.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-6YHCNPFB.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-F6DMXMR4.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-MU5WPW4N.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{jsx as i}from"react/jsx-runtime";var a=[{id:"1",role:"user",parts:[{type:"text",text:"Hello, can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you create and manage tasks."}]},{id:"3",role:"user",parts:[{type:"text",text:"Here is a file with project requirements"},{type:"file",mimeType:"application/pdf",url:"/path/to/file.pdf"}]},{id:"4",role:"assistant",parts:[{type:"text",text:"I'll create a task based on your requirements."},{type:"tool-task",toolCallId:"call-123",state:"output-available",input:{title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document"},output:{id:"task-123",title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document",status:"created",assignee:"AI Assistant",priority:"high"}}]},{id:"5",role:"assistant",parts:[{type:"text",text:"Here are some relevant resources for your project:"},{type:"data-reference",data:{references:[{id:"ref-1",title:"Project Management Best Practices",url:"https://example.com/pm-best-practices",description:"Comprehensive guide to project management",type:"document"},{id:"ref-2",title:"Requirements Gathering Template",url:"https://example.com/requirements-template",description:"Template for gathering project requirements",type:"link"}]}}]},{id:"6",role:"assistant",parts:[{type:"text",text:"What would you like to do next?"},{type:"data-menu",data:{title:"Available Actions",items:[{id:"action-1",label:"Create another task",description:"Set up a new task for the project",action:()=>console.log("Create task clicked")},{id:"action-2",label:"View project timeline",description:"See the project schedule and milestones",action:()=>console.log("View timeline clicked")},{id:"action-3",label:"Assign team members",description:"Add team members to the project",action:()=>console.log("Assign team clicked")}]}}]}];function o(){return i(t,{messages:a,businessUnits:[{id:"engineering",name:"Engineering",description:"Software development team",icon:"\u2699\uFE0F",color:"bg-blue-500",accentColor:"bg-blue-600"}],capabilities:[],sessions:[],onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),enableFileUpload:!0,title:"AI Assistant"})}export{o as ExampleChatInterface};
1
+ import"../../chunk-LUPNE23E.mjs";import{a as t}from"../../chunk-633ESSXN.mjs";import"../../chunk-UBZYXZ7B.mjs";import"../../chunk-56X4PU43.mjs";import"../../chunk-IMRGPVFS.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-YI6EQRWN.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-7JDMW5R3.mjs";import"../../chunk-UA2E23AS.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-QM5FOQHG.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-2LINLX4S.mjs";import"../../chunk-CXHPLJDO.mjs";import"../../chunk-AZKOVKSK.mjs";import"../../chunk-GLZEHRPY.mjs";import"../../chunk-MU5WPW4N.mjs";import"../../chunk-6YHCNPFB.mjs";import"../../chunk-NPVUICIF.mjs";import"../../chunk-Q2DPE66H.mjs";import"../../chunk-RLVKIMGU.mjs";import"../../chunk-OCPX4QPC.mjs";import"../../chunk-INCYANPB.mjs";import"../../chunk-FT3AE7L2.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-L5JPAKPM.mjs";import"../../chunk-KY7WQYN4.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-FLHDNCNY.mjs";import"../../chunk-YEKQJ4YC.mjs";import{jsx as i}from"react/jsx-runtime";var a=[{id:"1",role:"user",parts:[{type:"text",text:"Hello, can you help me with a task?"}]},{id:"2",role:"assistant",parts:[{type:"text",text:"Of course! I can help you create and manage tasks."}]},{id:"3",role:"user",parts:[{type:"text",text:"Here is a file with project requirements"},{type:"file",mimeType:"application/pdf",url:"/path/to/file.pdf"}]},{id:"4",role:"assistant",parts:[{type:"text",text:"I'll create a task based on your requirements."},{type:"tool-task",toolCallId:"call-123",state:"output-available",input:{title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document"},output:{id:"task-123",title:"Project Requirements Review",description:"Review and analyze the uploaded requirements document",status:"created",assignee:"AI Assistant",priority:"high"}}]},{id:"5",role:"assistant",parts:[{type:"text",text:"Here are some relevant resources for your project:"},{type:"data-reference",data:{references:[{id:"ref-1",title:"Project Management Best Practices",url:"https://example.com/pm-best-practices",description:"Comprehensive guide to project management",type:"document"},{id:"ref-2",title:"Requirements Gathering Template",url:"https://example.com/requirements-template",description:"Template for gathering project requirements",type:"link"}]}}]},{id:"6",role:"assistant",parts:[{type:"text",text:"What would you like to do next?"},{type:"data-menu",data:{title:"Available Actions",items:[{id:"action-1",label:"Create another task",description:"Set up a new task for the project",action:()=>console.log("Create task clicked")},{id:"action-2",label:"View project timeline",description:"See the project schedule and milestones",action:()=>console.log("View timeline clicked")},{id:"action-3",label:"Assign team members",description:"Add team members to the project",action:()=>console.log("Assign team clicked")}]}}]}];function o(){return i(t,{messages:a,businessUnits:[{id:"engineering",name:"Engineering",description:"Software development team",icon:"\u2699\uFE0F",color:"bg-blue-500",accentColor:"bg-blue-600"}],capabilities:[],sessions:[],onNewChat:()=>console.log("New chat started"),onSessionSelect:e=>console.log("Session selected:",e),onSessionDelete:e=>console.log("Session deleted:",e),enableFileUpload:!0,title:"AI Assistant"})}export{o as ExampleChatInterface};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a as g}from"../../chunk-L5JPAKPM.mjs";import{b as m}from"../../chunk-ZUA4KNIR.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useState as h}from"react";import{useChat as b}from"@ai-sdk/react";import{Paperclip as F}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function N({apiEndpoint:k="/api/chat",maxFileSize:c=10,allowedFileTypes:d=["image/*","text/*","application/pdf"]}){let n=b({onError:e=>{console.error("Chat error:",e)},onFinish:e=>{console.log("Message finished:",e)}}),[o,u]=h(""),[r,p]=h([]),y=e=>{let t=new DataTransfer;return e.forEach(a=>t.items.add(a)),t.files},f=()=>{if(!o.trim()&&r.length===0)return;let e=r.length>0?y(r):void 0;n.sendMessage({text:o,files:e},{body:{timestamp:Date.now(),fileCount:r.length}}),u(""),p([])},v=e=>{if(!e)return;let t=[];Array.from(e).forEach(a=>{if(a.size>c*1024*1024){alert(`File ${a.name} is too large. Maximum size is ${c}MB.`);return}if(d.length>0&&!d.some(i=>a.type.match(i))){alert(`File type ${a.type} is not allowed.`);return}t.push(a)}),p(a=>[...a,...t])},x=e=>{p(t=>t.filter((a,i)=>i!==e))};return l("div",{className:"max-w-2xl mx-auto p-4",children:[s("h1",{className:"text-2xl font-bold mb-4",children:"AI Chat with File Uploads"}),s("div",{className:"space-y-4 mb-4 max-h-96 overflow-y-auto",children:n.messages.map(e=>s("div",{className:`flex ${e.role==="user"?"justify-end":"justify-start"}`,children:s("div",{className:`max-w-xs lg:max-w-md px-4 py-2 rounded-lg ${e.role==="user"?"bg-blue-500 text-white":"bg-gray-200 text-black"}`,children:e.parts.map((t,a)=>{if(t.type==="text")return s("p",{children:t.text},a);if(t.type==="file"){let i=t;return l("div",{className:"mb-2",children:[l("p",{className:"text-sm font-semibold",children:["\u{1F4CE} ",i.filename||i.name]}),i.mediaType?.startsWith("image/")&&s("img",{src:i.url,alt:i.filename,className:"max-w-full h-auto rounded"})]},a)}return null})})},e.id))}),r.length>0&&l("div",{className:"mb-4 p-3 bg-gray-100 rounded-lg",children:[s("p",{className:"text-sm font-semibold mb-2",children:"Selected Files:"}),r.map((e,t)=>l("div",{className:"flex items-center justify-between",children:[l("span",{className:"text-sm",children:[e.name," (",(e.size/1024).toFixed(1)," KB)"]}),s(m,{variant:"ghost",size:"sm",onClick:()=>x(t),children:"Remove"})]},t))]}),l("div",{className:"flex gap-2",children:[s(g,{value:o,onChange:e=>u(e.target.value),onKeyPress:e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),f())},placeholder:"Type your message...",className:"flex-1",disabled:n.status==="streaming"}),s(m,{variant:"outline",size:"icon",onClick:()=>{let e=document.createElement("input");e.type="file",e.multiple=!0,e.accept=d.join(","),e.onchange=t=>{let a=t.target.files;v(a)},e.click()},children:s(F,{className:"h-4 w-4"})}),s(m,{onClick:f,disabled:!o.trim()&&r.length===0||n.status==="streaming",children:n.status==="streaming"?"Sending...":"Send"})]}),n.error&&l("div",{className:"mt-4 p-3 bg-red-100 text-red-800 rounded-lg",children:["Error: ",n.error.message]})]})}var z=N;export{N as SimpleFileUploadChat,z as default};
2
+ "use strict";import{a as g}from"../../chunk-L5JPAKPM.mjs";import{b as m}from"../../chunk-ZUA4KNIR.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-QTW33JYG.mjs";import"../../chunk-YEKQJ4YC.mjs";import{useState as h}from"react";import{useChat as b}from"@ai-sdk/react";import{Paperclip as F}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function N({apiEndpoint:k="/api/chat",maxFileSize:c=10,allowedFileTypes:d=["image/*","text/*","application/pdf"]}){let n=b({onError:e=>{console.error("Chat error:",e)},onFinish:e=>{console.log("Message finished:",e)}}),[o,u]=h(""),[r,p]=h([]),y=e=>{let t=new DataTransfer;return e.forEach(a=>t.items.add(a)),t.files},f=()=>{if(!o.trim()&&r.length===0)return;let e=r.length>0?y(r):void 0;n.sendMessage({text:o,files:e},{body:{timestamp:Date.now(),fileCount:r.length}}),u(""),p([])},v=e=>{if(!e)return;let t=[];Array.from(e).forEach(a=>{if(a.size>c*1024*1024){alert(`File ${a.name} is too large. Maximum size is ${c}MB.`);return}if(d.length>0&&!d.some(i=>a.type.match(i))){alert(`File type ${a.type} is not allowed.`);return}t.push(a)}),p(a=>[...a,...t])},x=e=>{p(t=>t.filter((a,i)=>i!==e))};return l("div",{className:"max-w-2xl mx-auto p-4",children:[s("h1",{className:"text-2xl font-bold mb-4",children:"AI Chat with File Uploads"}),s("div",{className:"space-y-4 mb-4 max-h-96 overflow-y-auto",children:n.messages.map(e=>s("div",{className:`flex ${e.role==="user"?"justify-end":"justify-start"}`,children:s("div",{className:`max-w-xs lg:max-w-md px-4 py-2 rounded-lg ${e.role==="user"?"bg-blue-500 text-white":"bg-gray-200 text-black"}`,children:e.parts.map((t,a)=>{if(t.type==="text")return s("p",{children:t.text},a);if(t.type==="file"){let i=t;return l("div",{className:"mb-2",children:[l("p",{className:"text-sm font-semibold",children:["\u{1F4CE} ",i.filename||i.name]}),i.mediaType?.startsWith("image/")&&s("img",{src:i.url,alt:i.filename,className:"max-w-full h-auto rounded"})]},a)}return null})})},e.id))}),r.length>0&&l("div",{className:"mb-4 p-3 bg-gray-100 rounded-lg",children:[s("p",{className:"text-sm font-semibold mb-2",children:"Selected Files:"}),r.map((e,t)=>l("div",{className:"flex items-center justify-between",children:[l("span",{className:"text-sm",children:[e.name," (",(e.size/1024).toFixed(1)," KB)"]}),s(m,{variant:"ghost",size:"sm",onClick:()=>x(t),children:"Remove"})]},t))]}),l("div",{className:"flex gap-2",children:[s(g,{value:o,onChange:e=>u(e.target.value),onKeyPress:e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),f())},placeholder:"Type your message...",className:"flex-1",disabled:n.status==="streaming"}),s(m,{variant:"outline",size:"icon",onClick:()=>{let e=document.createElement("input");e.type="file",e.multiple=!0,e.accept=d.join(","),e.onchange=t=>{let a=t.target.files;v(a)},e.click()},children:s(F,{className:"h-4 w-4"})}),s(m,{onClick:f,disabled:!o.trim()&&r.length===0||n.status==="streaming",children:n.status==="streaming"?"Sending...":"Send"})]}),n.error&&l("div",{className:"mt-4 p-3 bg-red-100 text-red-800 rounded-lg",children:["Error: ",n.error.message]})]})}var z=N;export{N as SimpleFileUploadChat,z as default};