cortex-react-components 1.60.0 → 1.61.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 (305) hide show
  1. package/dist/{chunk-V3ILGH7L.mjs → chunk-2524NXMK.mjs} +1 -1
  2. package/dist/{chunk-53NPXOEB.mjs → chunk-2F5PYZPL.mjs} +1 -1
  3. package/dist/{chunk-XQK6HIRM.mjs → chunk-2QSKWE6N.mjs} +1 -1
  4. package/dist/{chunk-5GF6OD5E.mjs → chunk-4LK3TIE3.mjs} +1 -1
  5. package/dist/{chunk-3QIXHVAJ.mjs → chunk-746DCZCS.mjs} +1 -1
  6. package/dist/{chunk-3BATRS4C.mjs → chunk-75HYIK2G.mjs} +1 -1
  7. package/dist/chunk-7PDGAGJL.mjs +4 -0
  8. package/dist/{chunk-B2A4Z54E.mjs → chunk-7UCSC6TQ.mjs} +1 -1
  9. package/dist/{chunk-XZ4GLJWK.mjs → chunk-A23PEEZV.mjs} +1 -1
  10. package/dist/{chunk-NANZQIAC.mjs → chunk-BWKSTZR3.mjs} +1 -1
  11. package/dist/{chunk-MQ4WHLB7.mjs → chunk-CF4TIOS3.mjs} +1 -1
  12. package/dist/{chunk-42QD2AUE.mjs → chunk-CPRZ5K4A.mjs} +1 -1
  13. package/dist/{chunk-PBRC3UOA.mjs → chunk-DAJNZDN6.mjs} +1 -1
  14. package/dist/{chunk-2SAEUNWP.mjs → chunk-EPIGQZB7.mjs} +1 -1
  15. package/dist/{chunk-6JKTDBRP.mjs → chunk-GR4IIL5G.mjs} +1 -1
  16. package/dist/{chunk-R7IAPAL5.mjs → chunk-I5HRFLAL.mjs} +1 -1
  17. package/dist/{chunk-SX5U74MW.mjs → chunk-KETV2XVN.mjs} +1 -1
  18. package/dist/{chunk-R6DSQJOJ.mjs → chunk-L5GEQFVY.mjs} +1 -1
  19. package/dist/{chunk-2IJK3AE7.mjs → chunk-LWTJN5ZP.mjs} +1 -1
  20. package/dist/{chunk-3FP2BFNJ.mjs → chunk-MDS2IUTY.mjs} +1 -1
  21. package/dist/{chunk-HUKIRDNO.mjs → chunk-NJ3E7JKU.mjs} +1 -1
  22. package/dist/{chunk-HXZQNXWO.mjs → chunk-NRWQ2GHW.mjs} +1 -1
  23. package/dist/{chunk-PU7YW2E5.mjs → chunk-OAKQ2LM4.mjs} +1 -1
  24. package/dist/{chunk-LYWJ6BKN.mjs → chunk-OJZSH2AS.mjs} +1 -1
  25. package/dist/{chunk-JPGNI5UZ.mjs → chunk-OXPAGNHO.mjs} +1 -1
  26. package/dist/{chunk-GYDVBUKO.mjs → chunk-PGSV4TRK.mjs} +1 -1
  27. package/dist/{chunk-5IRKQ5FF.mjs → chunk-PKGHZ2BA.mjs} +1 -1
  28. package/dist/{chunk-SUX4NQEU.mjs → chunk-PQWTGKXR.mjs} +1 -1
  29. package/dist/chunk-Q3G5UAAD.mjs +1 -0
  30. package/dist/{chunk-64DD3N4S.mjs → chunk-QLIAHL5I.mjs} +1 -1
  31. package/dist/{chunk-KSZDRBNZ.mjs → chunk-SRVJ6SQ5.mjs} +1 -1
  32. package/dist/{chunk-4SLLQ7SW.mjs → chunk-STEAJNHZ.mjs} +1 -1
  33. package/dist/{chunk-DIAK5C43.mjs → chunk-STHWCR5K.mjs} +1 -1
  34. package/dist/{chunk-YCXQJUPU.mjs → chunk-T26B7SDA.mjs} +1 -1
  35. package/dist/{chunk-WKFNZUIR.mjs → chunk-T6FBWMZR.mjs} +1 -1
  36. package/dist/{chunk-5L6MQGVE.mjs → chunk-TCBFFIEZ.mjs} +1 -1
  37. package/dist/{chunk-KJIRY2QH.mjs → chunk-TPGFNNU4.mjs} +1 -1
  38. package/dist/{chunk-IKKNYMFG.mjs → chunk-TQCKBJA2.mjs} +1 -1
  39. package/dist/{chunk-SEOL6YZD.mjs → chunk-UL3EGLKN.mjs} +1 -1
  40. package/dist/{chunk-FYEE5UWZ.mjs → chunk-UVPODMUO.mjs} +1 -1
  41. package/dist/{chunk-IC57R2EU.mjs → chunk-VXGRJCCM.mjs} +1 -1
  42. package/dist/chunk-W7KPRGG2.mjs +4 -0
  43. package/dist/{chunk-NYQNYZ4P.mjs → chunk-XCCQPZ5A.mjs} +1 -1
  44. package/dist/chunk-YMBNEJBV.mjs +1 -0
  45. package/dist/{chunk-ZY2PDUUB.mjs → chunk-Z6NED523.mjs} +1 -1
  46. package/dist/{chunk-VEWTPB7K.mjs → chunk-ZIPHGLLJ.mjs} +1 -1
  47. package/dist/{chunk-JUX72GHS.mjs → chunk-ZLMUHRDG.mjs} +1 -1
  48. package/dist/{chunk-SUO6GOJS.mjs → chunk-ZYYWN6XG.mjs} +1 -1
  49. package/dist/components/Blocks/Banner.mjs +1 -1
  50. package/dist/components/Blocks/CallToAction.mjs +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  52. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  53. package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
  54. package/dist/components/Blocks/Code.client.mjs +1 -1
  55. package/dist/components/Blocks/Code.mjs +1 -1
  56. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  57. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  58. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  59. package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
  60. package/dist/components/Blocks/Content.mjs +1 -1
  61. package/dist/components/Blocks/Content.stories.js +1 -1
  62. package/dist/components/Blocks/Content.stories.mjs +1 -1
  63. package/dist/components/Blocks/CopyButton.mjs +1 -1
  64. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  65. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  66. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  67. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  68. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  69. package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
  70. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  71. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  72. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  73. package/dist/components/Blocks/index.mjs +1 -1
  74. package/dist/components/CRM/DealCard.mjs +1 -1
  75. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  76. package/dist/components/CRM/DealDetails.mjs +1 -1
  77. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  78. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  79. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  80. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  81. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  82. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  83. package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
  84. package/dist/components/CRM/NewDealForm.mjs +1 -1
  85. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  86. package/dist/components/CRM/index.mjs +1 -1
  87. package/dist/components/Cards/ContentCard.mjs +1 -1
  88. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  89. package/dist/components/Cards/CustomerCard.mjs +1 -1
  90. package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
  91. package/dist/components/Cards/EventCard.mjs +1 -1
  92. package/dist/components/Cards/EventCard.stories.mjs +1 -1
  93. package/dist/components/Cards/FeatureCard.mjs +1 -1
  94. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  95. package/dist/components/Cards/HeroCard.mjs +1 -1
  96. package/dist/components/Cards/HeroCard.stories.mjs +1 -1
  97. package/dist/components/Cards/Image.mjs +1 -1
  98. package/dist/components/Cards/Image.stories.mjs +1 -1
  99. package/dist/components/Cards/PricingCard.mjs +1 -1
  100. package/dist/components/Cards/PricingCard.stories.mjs +1 -1
  101. package/dist/components/Cards/ServiceCard.mjs +1 -1
  102. package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
  103. package/dist/components/Cards/index.mjs +1 -1
  104. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  105. package/dist/components/Chat/ChatCardArtefact.stories.mjs +1 -1
  106. package/dist/components/Chat/ChatCardTask.js +1 -1
  107. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  108. package/dist/components/Chat/ChatCardTask.stories.js +1 -1
  109. package/dist/components/Chat/ChatCardTask.stories.mjs +1 -1
  110. package/dist/components/Chat/ChatInterfaceMessages.d.ts +1 -1
  111. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  112. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  113. package/dist/components/Chat/ChatInterfaceMessages.stories.js +14 -14
  114. package/dist/components/Chat/ChatInterfaceMessages.stories.mjs +1 -1
  115. package/dist/components/Chat/ChatMessage.d.ts +1 -1
  116. package/dist/components/Chat/ChatMessage.js +2 -2
  117. package/dist/components/Chat/ChatMessage.mjs +1 -1
  118. package/dist/components/Chat/ChatMessage.stories.js +14 -14
  119. package/dist/components/Chat/ChatMessage.stories.mjs +1 -1
  120. package/dist/components/Chat/index.js +2 -2
  121. package/dist/components/Chat/index.mjs +1 -1
  122. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  123. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  124. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  125. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  126. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  127. package/dist/components/HeaderFooter/Header.mjs +1 -1
  128. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  129. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  130. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  131. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  132. package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
  133. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  134. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  135. package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
  136. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  137. package/dist/components/HeaderFooter/index.mjs +1 -1
  138. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  139. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  140. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  141. package/dist/components/Heros/PostHero/index.mjs +1 -1
  142. package/dist/components/Heros/RenderHero.mjs +1 -1
  143. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  144. package/dist/components/Heros/index.mjs +1 -1
  145. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  146. package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
  147. package/dist/components/Holidays/CalendarView.mjs +1 -1
  148. package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
  149. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  150. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  151. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  152. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  153. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  154. package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
  155. package/dist/components/Holidays/index.mjs +1 -1
  156. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  157. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  158. package/dist/components/Layouts/Print.js +1 -1
  159. package/dist/components/Layouts/Print.mjs +1 -1
  160. package/dist/components/Layouts/Print.stories.js +1 -1
  161. package/dist/components/Layouts/Print.stories.mjs +1 -1
  162. package/dist/components/Layouts/SlideShow.mjs +1 -1
  163. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  164. package/dist/components/Layouts/index.js +1 -1
  165. package/dist/components/Layouts/index.mjs +1 -1
  166. package/dist/components/Menus/Categories.mjs +1 -1
  167. package/dist/components/Menus/Categories.stories.mjs +1 -1
  168. package/dist/components/Menus/Filter.mjs +1 -1
  169. package/dist/components/Menus/Filter.stories.mjs +1 -1
  170. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  171. package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
  172. package/dist/components/Menus/RelatedContent.mjs +1 -1
  173. package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
  174. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  175. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  176. package/dist/components/Menus/SidebarRight.mjs +1 -1
  177. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  178. package/dist/components/Menus/index.mjs +1 -1
  179. package/dist/components/Other/Container.mjs +1 -1
  180. package/dist/components/Other/index.mjs +1 -1
  181. package/dist/components/Payload/Card/index.mjs +1 -1
  182. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  183. package/dist/components/Payload/Link/index.mjs +1 -1
  184. package/dist/components/Payload/Media/index.mjs +1 -1
  185. package/dist/components/Payload/Pagination/index.mjs +1 -1
  186. package/dist/components/Payload/RichText/index.mjs +1 -1
  187. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  188. package/dist/components/Payload/RichText.stories.mjs +1 -1
  189. package/dist/components/Payload/index.mjs +1 -1
  190. package/dist/components/index.js +7 -7
  191. package/dist/components/index.mjs +1 -1
  192. package/dist/components/ui/alert.mjs +1 -1
  193. package/dist/components/ui/alert.stories.mjs +1 -1
  194. package/dist/components/ui/avatar.mjs +1 -1
  195. package/dist/components/ui/avatar.stories.mjs +1 -1
  196. package/dist/components/ui/badge.mjs +1 -1
  197. package/dist/components/ui/badge.stories.mjs +1 -1
  198. package/dist/components/ui/breadcrumb.mjs +1 -1
  199. package/dist/components/ui/breadcrumb.stories.mjs +1 -1
  200. package/dist/components/ui/button.mjs +1 -1
  201. package/dist/components/ui/button.stories.mjs +1 -1
  202. package/dist/components/ui/calendar.mjs +1 -1
  203. package/dist/components/ui/card.mjs +1 -1
  204. package/dist/components/ui/card.stories.mjs +1 -1
  205. package/dist/components/ui/checkbox.mjs +1 -1
  206. package/dist/components/ui/command.mjs +1 -1
  207. package/dist/components/ui/command.stories.mjs +1 -1
  208. package/dist/components/ui/dialog.mjs +1 -1
  209. package/dist/components/ui/dialog.stories.mjs +1 -1
  210. package/dist/components/ui/dropdown-menu.mjs +1 -1
  211. package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
  212. package/dist/components/ui/hover-card.mjs +1 -1
  213. package/dist/components/ui/hover-card.stories.mjs +1 -1
  214. package/dist/components/ui/index.mjs +1 -1
  215. package/dist/components/ui/input.mjs +1 -1
  216. package/dist/components/ui/input.stories.mjs +1 -1
  217. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  218. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  219. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  220. package/dist/components/ui/label.mjs +1 -1
  221. package/dist/components/ui/label.stories.mjs +1 -1
  222. package/dist/components/ui/pagination.mjs +1 -1
  223. package/dist/components/ui/popover.mjs +1 -1
  224. package/dist/components/ui/popover.stories.mjs +1 -1
  225. package/dist/components/ui/scroll-area.mjs +1 -1
  226. package/dist/components/ui/scroll-area.stories.mjs +1 -1
  227. package/dist/components/ui/select.mjs +1 -1
  228. package/dist/components/ui/separator.mjs +1 -1
  229. package/dist/components/ui/separator.stories.mjs +1 -1
  230. package/dist/components/ui/sheet.mjs +1 -1
  231. package/dist/components/ui/sheet.stories.mjs +1 -1
  232. package/dist/components/ui/sidebar.mjs +1 -1
  233. package/dist/components/ui/skeleton.mjs +1 -1
  234. package/dist/components/ui/skeleton.stories.mjs +1 -1
  235. package/dist/components/ui/textarea.mjs +1 -1
  236. package/dist/components/ui/toast.mjs +1 -1
  237. package/dist/components/ui/toast.stories.mjs +1 -1
  238. package/dist/components/ui/toaster.mjs +1 -1
  239. package/dist/components/ui/toggle-group.mjs +1 -1
  240. package/dist/components/ui/toggle.mjs +1 -1
  241. package/dist/components/ui/toggle.stories.mjs +1 -1
  242. package/dist/components/ui/tooltip.mjs +1 -1
  243. package/dist/components/ui/tooltip.stories.mjs +1 -1
  244. package/dist/hooks/index.mjs +1 -1
  245. package/dist/index.js +10 -10
  246. package/dist/index.mjs +1 -1
  247. package/dist/metafile-cjs.json +1 -1
  248. package/dist/metafile-esm.json +1 -1
  249. package/dist/pages/Blog.mjs +1 -1
  250. package/dist/pages/Blog.stories.mjs +1 -1
  251. package/dist/pages/Documentation.mjs +1 -1
  252. package/dist/pages/Documentation.stories.mjs +1 -1
  253. package/dist/pages/IndexPage.mjs +1 -1
  254. package/dist/pages/IndexPage.stories.mjs +1 -1
  255. package/dist/pages/Intranet.mjs +1 -1
  256. package/dist/pages/Intranet.stories.mjs +1 -1
  257. package/dist/pages/LandingPage.mjs +1 -1
  258. package/dist/pages/LandingPage.stories.mjs +1 -1
  259. package/dist/pages/Page.mjs +1 -1
  260. package/dist/pages/Page.stories.mjs +1 -1
  261. package/dist/pages/Printable.stories.js +1 -1
  262. package/dist/pages/Printable.stories.mjs +1 -1
  263. package/dist/pages/Publish.js +1 -1
  264. package/dist/pages/Publish.mjs +1 -1
  265. package/dist/pages/Publish.stories.js +1 -1
  266. package/dist/pages/Publish.stories.mjs +1 -1
  267. package/dist/pages/Website.js +1 -1
  268. package/dist/pages/Website.mjs +1 -1
  269. package/dist/pages/Website.stories.js +1 -1
  270. package/dist/pages/Website.stories.mjs +1 -1
  271. package/dist/sections/AboutSection.mjs +1 -1
  272. package/dist/sections/AboutSection.stories.mjs +1 -1
  273. package/dist/sections/BlogDetail.mjs +1 -1
  274. package/dist/sections/BlogDetail.stories.mjs +1 -1
  275. package/dist/sections/BlogList.mjs +1 -1
  276. package/dist/sections/BlogList.stories.mjs +1 -1
  277. package/dist/sections/BlogListSection.mjs +1 -1
  278. package/dist/sections/BlogListSection.stories.mjs +1 -1
  279. package/dist/sections/ContactSection.mjs +1 -1
  280. package/dist/sections/ContactSection.stories.mjs +1 -1
  281. package/dist/sections/ImageSection.mjs +1 -1
  282. package/dist/sections/ImageSection.stories.mjs +1 -1
  283. package/dist/sections/MainPageSection.mjs +1 -1
  284. package/dist/sections/PageSections.mjs +1 -1
  285. package/dist/sections/PageSections.stories.mjs +1 -1
  286. package/dist/sections/PricingSection.mjs +1 -1
  287. package/dist/sections/PricingSection.stories.mjs +1 -1
  288. package/dist/sections/ServiceDetail.mjs +1 -1
  289. package/dist/sections/ServiceDetailSection.mjs +1 -1
  290. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  291. package/dist/sections/ServiceSection.mjs +1 -1
  292. package/dist/sections/ServiceSection.stories.mjs +1 -1
  293. package/dist/sections/form/index.mjs +1 -1
  294. package/dist/sections/index.mjs +1 -1
  295. package/dist/styles/Colors.mjs +1 -1
  296. package/dist/styles/Colors.stories.mjs +1 -1
  297. package/dist/utils/getTableOfContents.js +1 -1
  298. package/dist/utils/getTableOfContents.mjs +1 -1
  299. package/dist/utils/index.js +2 -2
  300. package/dist/utils/index.mjs +1 -1
  301. package/package.json +1 -1
  302. package/dist/chunk-7LGAYY6V.mjs +0 -1
  303. package/dist/chunk-FMWUWAED.mjs +0 -4
  304. package/dist/chunk-LYI57B7F.mjs +0 -4
  305. package/dist/chunk-WCQXVVVF.mjs +0 -1
@@ -1 +1 @@
1
- import{a}from"../chunk-HTVHCBXQ.mjs";import{a as b}from"../chunk-7LGAYY6V.mjs";import{a as c}from"../chunk-ZLSF5YXT.mjs";import"../chunk-M6LJ4BNZ.mjs";export{c as AOSInit,a as cn,b as getTableOfContents};
1
+ import{a}from"../chunk-HTVHCBXQ.mjs";import{a as b}from"../chunk-Q3G5UAAD.mjs";import{a as c}from"../chunk-ZLSF5YXT.mjs";import"../chunk-M6LJ4BNZ.mjs";export{c as AOSInit,a as cn,b as getTableOfContents};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cortex-react-components",
3
3
  "author": "Cortex Reply",
4
4
  "private": false,
5
- "version": "1.60.0",
5
+ "version": "1.61.0",
6
6
  "description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
7
7
  "license": "MPL-2.0",
8
8
  "main": "./dist/index.js",
@@ -1 +0,0 @@
1
- function f(d){let n=0,r=(t,g)=>`${t.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${g}`,e=d.layout.flatMap(t=>{let g=[];return"title"in t&&t.title&&g.push({text:t.title,id:r(t.title,n++),tag:"h2"}),"columns"in t&&Array.isArray(t.columns)&&t.columns.forEach(a=>{if(a.title&&g.push({text:a.title,id:r(a.title,n++),tag:"h2"}),a.richText?.root?.children&&a.richText?.root?.children.length===1){let h=a.richText.root.children.filter(s=>s!==void 0&&s.type==="heading");for(let s of h)s.children[0]&&g.push({text:s.children[0].text??"",id:r(s.children[0].text,n++),tag:s.tag||"h2"})}}),g}),i=l(d.layout);return{tableOfContents:e,contentWithIds:i}}function l(d){let n=(e,i)=>`${e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${i}`,r=0;return d.map(e=>(e.title&&(e.id=n(e.title,r++)),e.columns&&(e.columns=e.columns.map(i=>(i.title&&(i.id=n(i.title,r++)),i.richText&&(i.richText.root.children=i.richText.root.children.filter(t=>t!==void 0).filter(t=>t.children!==void 0&&t.children.length>0).map(t=>(t.type==="heading"&&t.children[0].text&&(t.id=n(t.children[0].text,r++)),t))),i))),e))}export{f as a};
@@ -1,4 +0,0 @@
1
- import{a as g}from"./chunk-WCQXVVVF.mjs";import{a as l,b as n,c}from"./chunk-4BHOIXJM.mjs";import{jsx as a,jsxs as s}from"react/jsx-runtime";var p={task:g},f=`
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white" width="20" height="20">
3
- <path d="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"/>
4
- </svg>`,h=`data:image/svg+xml;utf8,${encodeURIComponent(f)}`,w=({id:i,message:e,currentUser:o,role:v})=>{let t=v==="user",r=t?o?.name||"You":o?.name||"AI Assistant",d=t?o?.avatar||"/placeholder-user.jpg":"/placeholder.svg?height=40&width=40";switch(e.type){case"forwarding":return s("div",{className:`flex items-start gap-3 text-primary text-xs ${t?"flex-row-reverse":""}`,children:["Forwarding to ",e?.data?.content]},i);case"text":return s("div",{className:`flex items-start gap-3 ${t?"flex-row-reverse":""}`,children:[t?s(l,{children:[a(n,{src:d,alt:r}),a(c,{children:r.substring(0,2).toUpperCase()})]}):a("img",{src:h,alt:"AI Assistant",className:"w-10 h-10"}),s("div",{className:`grid gap-1.5 ${t?"text-right":""}`,children:[a("div",{className:"flex items-center gap-2",children:a("span",{className:"font-medium",children:r})}),a("div",{className:`rounded-lg p-3 text-sm ${t?"bg-primary text-primary-foreground":"bg-muted"}`,style:{whiteSpace:"pre-line"},children:e?.data?.content})]})]},i);case"image":return s("div",{className:`flex items-start gap-3 ${t?"flex-row-reverse":""}`,children:[s(l,{className:t?"":"ai-border",children:[a(n,{src:d,alt:r}),a(c,{children:r.substring(0,2).toUpperCase()})]}),s("div",{className:`grid gap-1.5 ${t?"text-right":""}`,children:[a("div",{className:"flex items-center gap-2",children:a("span",{className:"font-medium",children:r})}),a("img",{src:e?.data?.image,alt:"User uploaded content",className:`rounded-lg p-3 text-sm ${t?"bg-primary text-primary-foreground":"bg-muted"}`,style:{maxWidth:"100%",height:"auto"}})]})]},i);case"tool-invocation":if(e.data&&e.data.tool){let m=p[e.data.tool];return m?a("div",{className:"mt-2",children:a(m,{data:e.data})}):(console.warn(`Tool ${e.data.tool} is not defined.`),a("div",{className:"mt-2",children:"......"}))}}};export{w as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as m}from"./chunk-FMWUWAED.mjs";import{a as i}from"./chunk-6T322YHB.mjs";import{a as o,b as l,c}from"./chunk-4BHOIXJM.mjs";import{useState as a,useEffect as f,useRef as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function P({messages:d,contextType:v,currentUser:b,businessFunctions:h}){let[n,x]=a(d),[y,N]=a(""),[u,A]=a(!1),r=g(null),[I,C]=a(null);return f(()=>{if(r.current){let t=r.current.querySelector("[data-radix-scroll-area-viewport]");t&&(t.scrollTop=t.scrollHeight)}},[n]),e("div",{className:"flex flex-col h-full overflow-hidden",children:e(i,{className:"container flex-1 p-4",ref:r,children:s("div",{className:"space-y-6",children:[n.length===0&&e("div",{className:"flex items-center justify-center h-full pt-60",children:s("div",{className:"text-center max-w-md",children:[e("h2",{className:"text-2xl font-bold mb-2",children:"Welcome to Dexter"}),e("p",{className:"text-zinc-400",children:"Ask me anything or direct your question to a business function directly using the toolbar below."})]})}),u&&s("div",{className:"flex items-start gap-3",children:[s(o,{className:"ai-border",children:[e(l,{src:"/placeholder.svg?height=40&width=40",alt:"AI Assistant"}),e(c,{children:"AI"})]}),s("div",{className:"grid gap-1.5",children:[e("div",{className:"flex items-center gap-2",children:e("span",{className:"font-medium",children:"AI Assistant"})}),e("div",{className:"rounded-lg p-3 text-sm bg-muted",children:s("div",{className:"flex space-x-2",children:[e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce"}),e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.2s]"}),e("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.4s]"})]})})]})]}),n.map((t,p)=>e(m,{...t},p))]})})})}export{P as a};
@@ -1 +0,0 @@
1
- import{a as x}from"./chunk-LTTO57ZK.mjs";import{b as c}from"./chunk-J2IHT57D.mjs";import{a as m,b as g,c as u,d as f,e as p,f as C}from"./chunk-4YFMDLHL.mjs";import{a as l}from"./chunk-HTVHCBXQ.mjs";import{Clock as S}from"lucide-react";import{formatDistanceToNow as v}from"date-fns";import{jsx as e,jsxs as r}from"react/jsx-runtime";var P=a=>{switch(a){case"backlog":return"bg-gray-200 text-gray-800";case"todo":return"bg-blue-200 text-blue-800";case"inProgress":return"bg-yellow-200 text-yellow-800";case"done":return"bg-green-200 text-green-800";case"cancelled":return"bg-red-200 text-red-800";default:return"bg-gray-200 text-gray-800"}},j=a=>{switch(a){case"inProgress":return"In Progress";default:return a.charAt(0).toUpperCase()+a.slice(1)}};function $({data:a}){let{id:o,system:k,fetchLatest:b,taskData:N,error:h}=a||{};if(!o)return null;let t=null,n=!0,d=h,w=b||!0;if(t=N||{id:o,name:"Loading...",description:"",status:"todo",dateLogged:new Date().toISOString(),project:void 0},w){let{task:s,loading:T,error:L}=x({taskId:o,system:k});t=s,n=T,d=L}else n=!1;let y=P(t?.status||"todo"),D=j(t?.status||"todo"),i=t?.dateLogged||new Date().toISOString();try{let s=new Date(t?.dateLogged||"");isNaN(s.getTime())||(i=v(s,{addSuffix:!0}))}catch{}return r(m,{className:l("w-full max-w-md shadow-md",d&&"border border-destructive"),children:[r(g,{className:"pb-2",children:[r("div",{className:"flex justify-between items-start",children:[e(u,{className:"text-lg font-semibold",children:n?"Loading...":t?.name||"Task"}),e(c,{className:`${y}`,children:D})]}),t?.project&&r(f,{className:"text-sm text-gray-500",children:["Project: ",t.project.name]})]}),e(p,{className:"pb-2",children:n?e("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):d?e("p",{className:"text-sm text-red-500",children:"Error loading task details"}):e("p",{className:"text-sm text-foreground",children:t?.description||"......."})}),e(C,{className:"pt-2 flex items-center justify-between",children:r("div",{className:"flex items-center text-xs text-gray-500",children:[e(S,{className:"h-3 w-3 mr-1"}),r("span",{children:["Created ",i]}),e("span",{className:"mx-2",children:"\u2022"}),r("span",{children:["Task #",o]})]})})]})}export{$ as a};