cortex-react-components 2.27.0 → 2.28.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 (219) hide show
  1. package/dist/chunk-2TUBS2HM.mjs +4 -0
  2. package/dist/{chunk-JDIPWJBD.mjs → chunk-46N4YPMB.mjs} +1 -1
  3. package/dist/{chunk-FZX3ZPEU.mjs → chunk-4LUF5GZ6.mjs} +1 -1
  4. package/dist/chunk-6UULUGR2.mjs +1 -0
  5. package/dist/chunk-6ZMZX5TB.mjs +1 -0
  6. package/dist/{chunk-GHOL5L32.mjs → chunk-7BYNW77I.mjs} +1 -1
  7. package/dist/{chunk-ZEALRBXW.mjs → chunk-7DDFZ2M3.mjs} +1 -1
  8. package/dist/{chunk-C4RWEPVF.mjs → chunk-7MPZOMXK.mjs} +1 -1
  9. package/dist/{chunk-75F3LJMX.mjs → chunk-AABB4TFO.mjs} +1 -1
  10. package/dist/{chunk-GTZJWMZR.mjs → chunk-ALEPCEWP.mjs} +1 -1
  11. package/dist/{chunk-TJZVV3XH.mjs → chunk-ATPB5HSG.mjs} +1 -1
  12. package/dist/{chunk-RGOKBIQ5.mjs → chunk-CC57QZMB.mjs} +1 -1
  13. package/dist/{chunk-OQBCIB4L.mjs → chunk-CK2TD4BY.mjs} +1 -1
  14. package/dist/{chunk-NBJLXJQ3.mjs → chunk-COBOHCBL.mjs} +1 -1
  15. package/dist/chunk-DNMM3Q72.mjs +9 -0
  16. package/dist/{chunk-LJXTXROJ.mjs → chunk-EM4CGGGV.mjs} +1 -1
  17. package/dist/{chunk-AJQHGVZ5.mjs → chunk-FB5PBKLV.mjs} +1 -1
  18. package/dist/{chunk-TVTTUSWM.mjs → chunk-FBEHQRZ4.mjs} +1 -1
  19. package/dist/{chunk-VKCDLKYH.mjs → chunk-FJ2HHNPX.mjs} +1 -1
  20. package/dist/{chunk-TYARLEAC.mjs → chunk-G2DQLEAJ.mjs} +1 -1
  21. package/dist/chunk-G3BOVXUM.mjs +4 -0
  22. package/dist/{chunk-3Y7QG6VP.mjs → chunk-IISYRLNU.mjs} +1 -1
  23. package/dist/{chunk-NINFDOV5.mjs → chunk-ITNR7N47.mjs} +1 -1
  24. package/dist/chunk-IUVPH5LV.mjs +4 -0
  25. package/dist/chunk-JQL4XGAF.mjs +4 -0
  26. package/dist/{chunk-EM3T2XYC.mjs → chunk-L2OBO2VZ.mjs} +1 -1
  27. package/dist/chunk-LEZ6G4X7.mjs +4 -0
  28. package/dist/{chunk-2O54GV6Q.mjs → chunk-LJFBHY4P.mjs} +1 -1
  29. package/dist/chunk-MCOHKE2T.mjs +1 -0
  30. package/dist/{chunk-SWE754OC.mjs → chunk-MH4YPGH4.mjs} +1 -1
  31. package/dist/{chunk-RJGYVDOU.mjs → chunk-MU47F4UR.mjs} +1 -1
  32. package/dist/{chunk-4FEVXBNU.mjs → chunk-NCJAMNMQ.mjs} +1 -1
  33. package/dist/{chunk-WIRQ5IRT.mjs → chunk-NDBSSX6Q.mjs} +1 -1
  34. package/dist/{chunk-7NWIK57W.mjs → chunk-NXAXOI33.mjs} +1 -1
  35. package/dist/{chunk-3HNU2NYP.mjs → chunk-QDP657UR.mjs} +1 -1
  36. package/dist/{chunk-KEK763EH.mjs → chunk-QKDYTCZC.mjs} +1 -1
  37. package/dist/{chunk-FE7ZGUPU.mjs → chunk-RV4XL2CG.mjs} +1 -1
  38. package/dist/{chunk-2BRDNDUB.mjs → chunk-SME3D72Q.mjs} +1 -1
  39. package/dist/{chunk-LEF6M5ZD.mjs → chunk-SNFBF6KT.mjs} +1 -1
  40. package/dist/{chunk-7TSR2LQB.mjs → chunk-TIAA3ZN3.mjs} +1 -1
  41. package/dist/{chunk-3NRXQBBS.mjs → chunk-TIIYFAV6.mjs} +1 -1
  42. package/dist/{chunk-HSQAHQNP.mjs → chunk-TKCFCYEQ.mjs} +1 -1
  43. package/dist/{chunk-OWL3KUE3.mjs → chunk-TKY52BNP.mjs} +1 -1
  44. package/dist/{chunk-7R47MHQE.mjs → chunk-TQKXHMD7.mjs} +1 -1
  45. package/dist/chunk-VFIMFZX5.mjs +1 -0
  46. package/dist/{chunk-CXOVEABI.mjs → chunk-VNKGAW4K.mjs} +1 -1
  47. package/dist/{chunk-I75OOO4H.mjs → chunk-VRHJOUL3.mjs} +1 -1
  48. package/dist/{chunk-TTWEHUP5.mjs → chunk-WRCRZUGO.mjs} +1 -1
  49. package/dist/{chunk-XMYXQR5W.mjs → chunk-X3YJJBFJ.mjs} +1 -1
  50. package/dist/{chunk-LAP57E2L.mjs → chunk-XJKNH5LL.mjs} +1 -1
  51. package/dist/{chunk-5MWZTJYP.mjs → chunk-YH72WKGC.mjs} +1 -1
  52. package/dist/chunk-YRDJBAYA.mjs +4 -0
  53. package/dist/chunk-ZLFZBT3K.mjs +1 -0
  54. package/dist/components/AdvancedComponents/index.js +8 -8
  55. package/dist/components/AdvancedComponents/index.mjs +1 -1
  56. package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.d.ts +7 -0
  57. package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.js +1 -0
  58. package/dist/components/AdvancedComponents/org-chart-component/CompanyNode.mjs +1 -0
  59. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.d.ts +2 -0
  60. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.js +8 -8
  61. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +1 -1
  62. package/dist/components/AdvancedComponents/org-chart-component/OrgNode.js +5 -5
  63. package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +1 -1
  64. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.d.ts +11 -2
  65. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.js +8 -8
  66. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +1 -1
  67. package/dist/components/AdvancedComponents/org-chart-component/index.d.ts +2 -0
  68. package/dist/components/AdvancedComponents/org-chart-component/index.js +8 -8
  69. package/dist/components/AdvancedComponents/org-chart-component/index.mjs +1 -1
  70. package/dist/components/AdvancedComponents/org-chart-component/mockData.d.ts +9 -7
  71. package/dist/components/AdvancedComponents/org-chart-component/mockData.js +1 -1
  72. package/dist/components/AdvancedComponents/org-chart-component/mockData.mjs +1 -1
  73. package/dist/components/AdvancedComponents/org-chart-component/types/index.mjs +1 -1
  74. package/dist/components/AdvancedComponents/org-chart-component/types.d.ts +42 -0
  75. package/dist/components/AdvancedComponents/org-chart-component/types.js +1 -0
  76. package/dist/components/AdvancedComponents/org-chart-component/types.mjs +1 -0
  77. package/dist/components/AdvancedComponents/org-chart-component/utils.d.ts +2 -2
  78. package/dist/components/Blocks/Banner.mjs +1 -1
  79. package/dist/components/Blocks/CallToAction.mjs +1 -1
  80. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  81. package/dist/components/Blocks/Content.mjs +1 -1
  82. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  83. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  84. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  85. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  86. package/dist/components/Blocks/index.mjs +1 -1
  87. package/dist/components/Cards/ContentCard.mjs +1 -1
  88. package/dist/components/Cards/FeatureCard.mjs +1 -1
  89. package/dist/components/Cards/index.mjs +1 -1
  90. package/dist/components/Chat/ChatInterface.js +11 -11
  91. package/dist/components/Chat/ChatInterface.mjs +1 -1
  92. package/dist/components/Chat/Components/Message.js +1 -1
  93. package/dist/components/Chat/Components/Message.mjs +1 -1
  94. package/dist/components/Chat/CopilotInterface.js +11 -10
  95. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  96. package/dist/components/Chat/PartTypes/CodeBlock.d.ts +7 -5
  97. package/dist/components/Chat/PartTypes/CodeBlock.js +1 -1
  98. package/dist/components/Chat/PartTypes/CodeBlock.mjs +1 -1
  99. package/dist/components/Chat/PartTypes/ColleagueHandoff.d.ts +18 -0
  100. package/dist/components/Chat/PartTypes/ColleagueHandoff.js +5 -0
  101. package/dist/components/Chat/PartTypes/ColleagueHandoff.mjs +2 -0
  102. package/dist/components/Chat/PartTypes/Confirmation.d.ts +49 -0
  103. package/dist/components/Chat/PartTypes/Confirmation.js +4 -0
  104. package/dist/components/Chat/PartTypes/Confirmation.mjs +2 -0
  105. package/dist/components/Chat/PartTypes/Conversation.css +1 -0
  106. package/dist/components/Chat/PartTypes/Conversation.d.ts +15 -0
  107. package/dist/components/Chat/PartTypes/Conversation.js +4 -0
  108. package/dist/components/Chat/PartTypes/Conversation.mjs +2 -0
  109. package/dist/components/Chat/PartTypes/MessageHandler.js +8 -7
  110. package/dist/components/Chat/PartTypes/MessageHandler.mjs +1 -1
  111. package/dist/components/Chat/PartTypes/Tool.d.ts +12 -11
  112. package/dist/components/Chat/PartTypes/Tool.js +1 -1
  113. package/dist/components/Chat/PartTypes/Tool.mjs +1 -1
  114. package/dist/components/Chat/PartTypes/index.d.ts +3 -0
  115. package/dist/components/Chat/PartTypes/index.js +7 -6
  116. package/dist/components/Chat/PartTypes/index.mjs +1 -1
  117. package/dist/components/Chat/demo-long-messages.js +18 -17
  118. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  119. package/dist/components/Chat/demo-tests.js +80 -79
  120. package/dist/components/Chat/demo-tests.mjs +1 -1
  121. package/dist/components/Chat/demo.js +11 -10
  122. package/dist/components/Chat/demo.mjs +1 -1
  123. package/dist/components/Chat/example-usage.js +12 -11
  124. package/dist/components/Chat/example-usage.mjs +1 -1
  125. package/dist/components/Chat/example-with-vercel-ai.js +11 -10
  126. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  127. package/dist/components/Chat/index.d.ts +0 -2
  128. package/dist/components/Chat/index.js +12 -14
  129. package/dist/components/Chat/index.mjs +1 -1
  130. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  131. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  132. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  133. package/dist/components/DigitalColleagues/index.mjs +1 -1
  134. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
  135. package/dist/components/Foundary/Knowledge/add-team-context.mjs +1 -1
  136. package/dist/components/Foundary/MainPage.mjs +1 -1
  137. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  138. package/dist/components/Foundary/RichText/index.mjs +1 -1
  139. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
  140. package/dist/components/Foundary/Views/ColleaguesView.mjs +1 -1
  141. package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
  142. package/dist/components/Foundary/Views/index.mjs +1 -1
  143. package/dist/components/Foundary/document-edit.mjs +1 -1
  144. package/dist/components/Foundary/document-preview-examples.mjs +1 -1
  145. package/dist/components/Foundary/document-preview.mjs +1 -1
  146. package/dist/components/Foundary/file-edit.mjs +1 -1
  147. package/dist/components/Foundary/index.mjs +1 -1
  148. package/dist/components/Foundary/knowledge-browser.mjs +1 -1
  149. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  150. package/dist/components/HeaderFooter/index.mjs +1 -1
  151. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  152. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  153. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  154. package/dist/components/Heros/PostHero/index.mjs +1 -1
  155. package/dist/components/Heros/RenderHero.mjs +1 -1
  156. package/dist/components/Heros/index.mjs +1 -1
  157. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  158. package/dist/components/Layouts/Print.mjs +1 -1
  159. package/dist/components/Layouts/SlideShow.mjs +1 -1
  160. package/dist/components/Layouts/index.mjs +1 -1
  161. package/dist/components/Menus/index.mjs +1 -1
  162. package/dist/components/Payload/RichText/index.mjs +1 -1
  163. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  164. package/dist/components/Payload/index.mjs +1 -1
  165. package/dist/components/Projects/FileView.mjs +1 -1
  166. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  167. package/dist/components/Projects/ProjectPage.mjs +1 -1
  168. package/dist/components/Projects/ProjectView.mjs +1 -1
  169. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  170. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  171. package/dist/components/Projects/file-list.mjs +1 -1
  172. package/dist/components/Projects/index.mjs +1 -1
  173. package/dist/components/dc-temp/index.mjs +1 -1
  174. package/dist/components/index.js +35 -37
  175. package/dist/components/index.mjs +1 -1
  176. package/dist/components/ui/index.mjs +1 -1
  177. package/dist/globals.css +1 -1
  178. package/dist/index.js +36 -38
  179. package/dist/index.mjs +1 -1
  180. package/dist/metafile-cjs.json +1 -1
  181. package/dist/metafile-esm.json +1 -1
  182. package/dist/pages/Blog.mjs +1 -1
  183. package/dist/pages/Documentation.mjs +1 -1
  184. package/dist/pages/IndexPage.mjs +1 -1
  185. package/dist/pages/Intranet.mjs +1 -1
  186. package/dist/pages/LandingPage.mjs +1 -1
  187. package/dist/pages/Page.mjs +1 -1
  188. package/dist/pages/Publish.mjs +1 -1
  189. package/dist/pages/Website.mjs +1 -1
  190. package/dist/sections/AboutSection.mjs +1 -1
  191. package/dist/sections/BlogDetail.mjs +1 -1
  192. package/dist/sections/BlogList.mjs +1 -1
  193. package/dist/sections/BlogListSection.mjs +1 -1
  194. package/dist/sections/ContactSection.mjs +1 -1
  195. package/dist/sections/PageSections.mjs +1 -1
  196. package/dist/sections/PricingSection.mjs +1 -1
  197. package/dist/sections/ServiceDetail.mjs +1 -1
  198. package/dist/sections/ServiceDetailSection.mjs +1 -1
  199. package/dist/sections/ServiceSection.mjs +1 -1
  200. package/dist/sections/index.mjs +1 -1
  201. package/package.json +3 -2
  202. package/dist/chunk-7JDMW5R3.mjs +0 -4
  203. package/dist/chunk-B7RZ4K6Y.mjs +0 -1
  204. package/dist/chunk-BAB3ATRB.mjs +0 -4
  205. package/dist/chunk-EPJJKGCG.mjs +0 -1
  206. package/dist/chunk-G6OGEIN4.mjs +0 -4
  207. package/dist/chunk-KQRQXBJ3.mjs +0 -9
  208. package/dist/chunk-N7M6FTIO.mjs +0 -4
  209. package/dist/chunk-SOTCQX2G.mjs +0 -1
  210. package/dist/chunk-UA2E23AS.mjs +0 -4
  211. package/dist/chunk-UJITFLIZ.mjs +0 -1
  212. package/dist/components/Chat/ChatInterfaceMessages.d.ts +0 -24
  213. package/dist/components/Chat/ChatInterfaceMessages.js +0 -7
  214. package/dist/components/Chat/ChatInterfaceMessages.mjs +0 -2
  215. package/dist/components/Chat/ChatMessage.d.ts +0 -19
  216. package/dist/components/Chat/ChatMessage.js +0 -7
  217. package/dist/components/Chat/ChatMessage.mjs +0 -1
  218. /package/dist/components/Chat/{ChatInterfaceMessages.css → PartTypes/ColleagueHandoff.css} +0 -0
  219. /package/dist/components/Chat/{ChatMessage.css → PartTypes/Confirmation.css} +0 -0
@@ -1 +1 @@
1
- import{a as s}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{b as e}from"../../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{useState as o}from"react";import{jsx as t}from"react/jsx-runtime";var l=[{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 with various tasks. Try uploading a file or use the capabilities menu at the bottom to see what I can do."}]}];function u(){let[a,i]=o(l);return t("div",{className:"h-screen w-full",children:t(s,{messages:a,capabilities:e,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["*"],businessUnits:[],sessions:[],notifications:[],onNewChat:()=>i([]),onSessionSelect:()=>{},onSessionDelete:()=>{},showCapabilities:!0})})}export{u as ChatDemo};
1
+ import{a as s}from"../../chunk-COBOHCBL.mjs";import"../../chunk-RS4WAAGI.mjs";import"../../chunk-56X4PU43.mjs";import"../../chunk-MCOHKE2T.mjs";import"../../chunk-6ZMZX5TB.mjs";import"../../chunk-6OCLRAHU.mjs";import"../../chunk-5Y6FKL5W.mjs";import"../../chunk-2TUBS2HM.mjs";import"../../chunk-JQL4XGAF.mjs";import"../../chunk-G3BOVXUM.mjs";import"../../chunk-EW6KWAHS.mjs";import"../../chunk-IUVPH5LV.mjs";import"../../chunk-YRDJBAYA.mjs";import"../../chunk-MTA6RFZ7.mjs";import"../../chunk-SH5SK6V2.mjs";import"../../chunk-6OT5PQXV.mjs";import"../../chunk-YPZAYXNQ.mjs";import"../../chunk-RL6365DN.mjs";import"../../chunk-LTTO57ZK.mjs";import"../../chunk-TIAA3ZN3.mjs";import"../../chunk-QM5FOQHG.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{b as e}from"../../chunk-Q2DPE66H.mjs";import"../../chunk-4QRKVSTE.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{useState as o}from"react";import{jsx as t}from"react/jsx-runtime";var l=[{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 with various tasks. Try uploading a file or use the capabilities menu at the bottom to see what I can do."}]}];function u(){let[a,i]=o(l);return t("div",{className:"h-screen w-full",children:t(s,{messages:a,capabilities:e,enableFileUpload:!0,maxFileSize:10,allowedFileTypes:["*"],businessUnits:[],sessions:[],notifications:[],onNewChat:()=>i([]),onSessionSelect:()=>{},onSessionDelete:()=>{},showCapabilities:!0})})}export{u as ChatDemo};