@orion-ds/react 4.9.0 → 4.9.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 (887) hide show
  1. package/dist/ComponentShowcase.cjs +1 -0
  2. package/dist/ComponentShowcase.mjs +600 -0
  3. package/dist/blocks/index.cjs +1 -0
  4. package/dist/blocks/index.mjs +74 -0
  5. package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +1 -0
  6. package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +77 -0
  7. package/dist/blocks/sections/AgentFolder/AgentFolder.cjs +1 -0
  8. package/dist/blocks/sections/AgentFolder/AgentFolder.mjs +25 -0
  9. package/dist/blocks/sections/AppDownload/AppDownload.cjs +1 -0
  10. package/dist/blocks/sections/AppDownload/AppDownload.mjs +108 -0
  11. package/dist/blocks/sections/Blog/Blog.cjs +1 -0
  12. package/dist/blocks/sections/Blog/Blog.mjs +85 -0
  13. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +1 -0
  14. package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +35 -0
  15. package/dist/blocks/sections/CTA/CTA.cjs +1 -0
  16. package/dist/blocks/sections/CTA/CTA.mjs +27 -0
  17. package/dist/blocks/sections/CarouselSection/CarouselCard.cjs +1 -0
  18. package/dist/blocks/sections/CarouselSection/CarouselCard.mjs +18 -0
  19. package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +1 -0
  20. package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +104 -0
  21. package/dist/blocks/sections/Chat/Chat.cjs +1 -0
  22. package/dist/blocks/sections/Chat/Chat.mjs +93 -0
  23. package/dist/blocks/sections/Comparison/Comparison.cjs +1 -0
  24. package/dist/blocks/sections/Comparison/Comparison.mjs +47 -0
  25. package/dist/blocks/sections/Contact/Contact.cjs +1 -0
  26. package/dist/blocks/sections/Contact/Contact.mjs +27 -0
  27. package/dist/blocks/sections/EmptyState/EmptyState.cjs +1 -0
  28. package/dist/blocks/sections/EmptyState/EmptyState.mjs +21 -0
  29. package/dist/blocks/sections/FAQ/FAQ.cjs +1 -0
  30. package/dist/blocks/sections/FAQ/FAQ.mjs +37 -0
  31. package/dist/blocks/sections/FAQ/FAQItemCard.cjs +1 -0
  32. package/dist/blocks/sections/FAQ/FAQItemCard.mjs +58 -0
  33. package/dist/blocks/sections/Features/FeatureCard.cjs +1 -0
  34. package/dist/blocks/sections/Features/FeatureCard.mjs +16 -0
  35. package/dist/blocks/sections/Features/Features.cjs +1 -0
  36. package/dist/blocks/sections/Features/Features.mjs +28 -0
  37. package/dist/blocks/sections/Footer/Footer.cjs +1 -0
  38. package/dist/blocks/sections/Footer/Footer.mjs +98 -0
  39. package/dist/blocks/sections/Gallery/Gallery.cjs +1 -0
  40. package/dist/blocks/sections/Gallery/Gallery.mjs +34 -0
  41. package/dist/blocks/sections/Hero/Hero.cjs +1 -0
  42. package/dist/blocks/sections/Hero/Hero.mjs +37 -0
  43. package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -0
  44. package/dist/blocks/sections/Hero/HeroHighlight.mjs +10 -0
  45. package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +1 -0
  46. package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +31 -0
  47. package/dist/blocks/sections/Newsletter/Newsletter.cjs +1 -0
  48. package/dist/blocks/sections/Newsletter/Newsletter.mjs +50 -0
  49. package/dist/blocks/sections/Pricing/Pricing.cjs +1 -0
  50. package/dist/blocks/sections/Pricing/Pricing.mjs +18 -0
  51. package/dist/blocks/sections/Pricing/PricingCard.cjs +1 -0
  52. package/dist/blocks/sections/Pricing/PricingCard.mjs +49 -0
  53. package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +1 -0
  54. package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +54 -0
  55. package/dist/blocks/sections/SocialProof/SocialProof.cjs +1 -0
  56. package/dist/blocks/sections/SocialProof/SocialProof.mjs +40 -0
  57. package/dist/blocks/sections/Stats/StatItemCard.cjs +1 -0
  58. package/dist/blocks/sections/Stats/StatItemCard.mjs +18 -0
  59. package/dist/blocks/sections/Stats/Stats.cjs +1 -0
  60. package/dist/blocks/sections/Stats/Stats.mjs +25 -0
  61. package/dist/blocks/sections/Stepper/Stepper.cjs +1 -0
  62. package/dist/blocks/sections/Stepper/Stepper.mjs +87 -0
  63. package/dist/blocks/sections/Team/Team.cjs +1 -0
  64. package/dist/blocks/sections/Team/Team.mjs +21 -0
  65. package/dist/blocks/sections/Team/TeamMemberCard.cjs +1 -0
  66. package/dist/blocks/sections/Team/TeamMemberCard.mjs +19 -0
  67. package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +1 -0
  68. package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +47 -0
  69. package/dist/blocks/sections/Testimonials/Testimonials.cjs +1 -0
  70. package/dist/blocks/sections/Testimonials/Testimonials.mjs +28 -0
  71. package/dist/blocks/sections/Timeline/Timeline.cjs +1 -0
  72. package/dist/blocks/sections/Timeline/Timeline.mjs +53 -0
  73. package/dist/blocks/templates/app/AgentEditor/AgentEditor.cjs +1 -0
  74. package/dist/blocks/templates/app/AgentEditor/AgentEditor.mjs +158 -0
  75. package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.cjs +1 -0
  76. package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.mjs +153 -0
  77. package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.cjs +1 -0
  78. package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.mjs +192 -0
  79. package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.cjs +1 -0
  80. package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.mjs +102 -0
  81. package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.cjs +1 -0
  82. package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.mjs +142 -0
  83. package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.cjs +1 -0
  84. package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.mjs +143 -0
  85. package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.cjs +1 -0
  86. package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.mjs +194 -0
  87. package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.cjs +1 -0
  88. package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.mjs +105 -0
  89. package/dist/calendar.cjs +1 -0
  90. package/dist/calendar.mjs +6 -0
  91. package/dist/chart.cjs +1 -0
  92. package/dist/chart.mjs +9 -0
  93. package/dist/client.cjs +1 -0
  94. package/dist/client.mjs +247 -0
  95. package/dist/components/Accordion/Accordion.cjs +1 -0
  96. package/dist/components/Accordion/Accordion.mjs +94 -0
  97. package/dist/components/ActivityFeed/ActivityFeed.cjs +1 -0
  98. package/dist/components/ActivityFeed/ActivityFeed.mjs +128 -0
  99. package/dist/components/AgentCard/AgentCard.cjs +1 -0
  100. package/dist/components/AgentCard/AgentCard.mjs +120 -0
  101. package/dist/components/Alert/Alert.cjs +1 -0
  102. package/dist/components/Alert/Alert.mjs +51 -0
  103. package/dist/components/AlertDialog/AlertDialog.cjs +1 -0
  104. package/dist/components/AlertDialog/AlertDialog.mjs +91 -0
  105. package/dist/components/Avatar/Avatar.cjs +1 -0
  106. package/dist/components/Avatar/Avatar.mjs +77 -0
  107. package/dist/components/Badge/Badge.cjs +1 -0
  108. package/dist/components/Badge/Badge.mjs +20 -0
  109. package/dist/components/Banner/Banner.cjs +1 -0
  110. package/dist/components/Banner/Banner.mjs +107 -0
  111. package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -0
  112. package/dist/components/Breadcrumb/Breadcrumb.mjs +84 -0
  113. package/dist/components/Button/Button.cjs +1 -0
  114. package/dist/components/Button/Button.mjs +71 -0
  115. package/dist/components/Calendar/Calendar.cjs +1 -0
  116. package/dist/components/Calendar/Calendar.mjs +135 -0
  117. package/dist/components/Card/Card.cjs +1 -0
  118. package/dist/components/Card/Card.mjs +106 -0
  119. package/dist/components/Carousel/Carousel.cjs +1 -0
  120. package/dist/components/Carousel/Carousel.mjs +178 -0
  121. package/dist/components/Carousel/CarouselCard.cjs +1 -0
  122. package/dist/components/Carousel/CarouselCard.mjs +38 -0
  123. package/dist/components/Chart/Chart.cjs +1 -0
  124. package/dist/components/Chart/Chart.mjs +103 -0
  125. package/dist/components/Chat/Chat.cjs +1 -0
  126. package/dist/components/Chat/Chat.mjs +56 -0
  127. package/dist/components/Chat/components/ChatAttachment.cjs +1 -0
  128. package/dist/components/Chat/components/ChatAttachment.mjs +125 -0
  129. package/dist/components/Chat/components/ChatAudioPlayer.cjs +1 -0
  130. package/dist/components/Chat/components/ChatAudioPlayer.mjs +127 -0
  131. package/dist/components/Chat/components/ChatCodeBlock.cjs +1 -0
  132. package/dist/components/Chat/components/ChatCodeBlock.mjs +93 -0
  133. package/dist/components/Chat/components/ChatFileUpload.cjs +1 -0
  134. package/dist/components/Chat/components/ChatFileUpload.mjs +114 -0
  135. package/dist/components/Chat/components/ChatHeader.cjs +1 -0
  136. package/dist/components/Chat/components/ChatHeader.mjs +36 -0
  137. package/dist/components/Chat/components/ChatImagePreview.cjs +1 -0
  138. package/dist/components/Chat/components/ChatImagePreview.mjs +69 -0
  139. package/dist/components/Chat/components/ChatInput.cjs +1 -0
  140. package/dist/components/Chat/components/ChatInput.mjs +188 -0
  141. package/dist/components/Chat/components/ChatLightbox.cjs +1 -0
  142. package/dist/components/Chat/components/ChatLightbox.mjs +57 -0
  143. package/dist/components/Chat/components/ChatMarkdown.cjs +1 -0
  144. package/dist/components/Chat/components/ChatMarkdown.mjs +55 -0
  145. package/dist/components/Chat/components/ChatMessage.cjs +1 -0
  146. package/dist/components/Chat/components/ChatMessage.mjs +173 -0
  147. package/dist/components/Chat/components/ChatMessages.cjs +1 -0
  148. package/dist/components/Chat/components/ChatMessages.mjs +46 -0
  149. package/dist/components/Chat/components/ChatSidebar.cjs +1 -0
  150. package/dist/components/Chat/components/ChatSidebar.mjs +217 -0
  151. package/dist/components/Chat/components/ChatTypingIndicator.cjs +1 -0
  152. package/dist/components/Chat/components/ChatTypingIndicator.mjs +31 -0
  153. package/dist/components/Chat/components/ChatVoiceRecorder.cjs +1 -0
  154. package/dist/components/Chat/components/ChatVoiceRecorder.mjs +111 -0
  155. package/dist/components/Checkbox/Checkbox.cjs +1 -0
  156. package/dist/components/Checkbox/Checkbox.mjs +84 -0
  157. package/dist/components/Chip/Chip.cjs +1 -0
  158. package/dist/components/Chip/Chip.mjs +86 -0
  159. package/dist/components/CodeEditor/CodeEditor.cjs +6 -0
  160. package/dist/components/CodeEditor/CodeEditor.mjs +255 -0
  161. package/dist/components/Collapsible/Collapsible.cjs +1 -0
  162. package/dist/components/Collapsible/Collapsible.mjs +114 -0
  163. package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +1 -0
  164. package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +196 -0
  165. package/dist/components/Combobox/Combobox.cjs +1 -0
  166. package/dist/components/Combobox/Combobox.mjs +271 -0
  167. package/dist/components/Command/Command.cjs +1 -0
  168. package/dist/components/Command/Command.mjs +248 -0
  169. package/dist/components/CommandBar/CommandBar.cjs +1 -0
  170. package/dist/components/CommandBar/CommandBar.mjs +193 -0
  171. package/dist/components/DataTable/DataTable.cjs +1 -0
  172. package/dist/components/DataTable/DataTable.mjs +339 -0
  173. package/dist/components/DatePicker/DatePicker.cjs +1 -0
  174. package/dist/components/DatePicker/DatePicker.mjs +104 -0
  175. package/dist/components/DetailPanel/DetailPanel.cjs +1 -0
  176. package/dist/components/DetailPanel/DetailPanel.mjs +103 -0
  177. package/dist/components/Divider/Divider.cjs +1 -0
  178. package/dist/components/Divider/Divider.mjs +48 -0
  179. package/dist/components/Drawer/Drawer.cjs +1 -0
  180. package/dist/components/Drawer/Drawer.mjs +132 -0
  181. package/dist/components/Dropdown/Dropdown.cjs +1 -0
  182. package/dist/components/Dropdown/Dropdown.mjs +176 -0
  183. package/dist/components/EmptyState/EmptyState.cjs +1 -0
  184. package/dist/components/EmptyState/EmptyState.mjs +30 -0
  185. package/dist/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
  186. package/dist/components/ErrorBoundary/ErrorBoundary.mjs +43 -0
  187. package/dist/components/Field/Field.cjs +1 -0
  188. package/dist/components/Field/Field.mjs +107 -0
  189. package/dist/components/FileUploader/FileUploader.cjs +1 -0
  190. package/dist/components/FileUploader/FileUploader.mjs +202 -0
  191. package/dist/components/FilterBar/FilterBar.cjs +1 -0
  192. package/dist/components/FilterBar/FilterBar.mjs +164 -0
  193. package/dist/components/FontLoader/FontLoader.cjs +1 -0
  194. package/dist/components/FontLoader/FontLoader.mjs +47 -0
  195. package/dist/components/FormSection/FormSection.cjs +1 -0
  196. package/dist/components/FormSection/FormSection.mjs +84 -0
  197. package/dist/components/Icon/Icon.cjs +1 -0
  198. package/dist/components/Icon/Icon.mjs +54 -0
  199. package/dist/components/IconGallery/IconGallery.cjs +3 -0
  200. package/dist/components/IconGallery/IconGallery.mjs +205 -0
  201. package/dist/components/InputOTP/InputOTP.cjs +1 -0
  202. package/dist/components/InputOTP/InputOTP.mjs +143 -0
  203. package/dist/components/KanbanBoard/KanbanBoard.cjs +1 -0
  204. package/dist/components/KanbanBoard/KanbanBoard.mjs +190 -0
  205. package/dist/components/Link/Link.cjs +1 -0
  206. package/dist/components/Link/Link.mjs +82 -0
  207. package/dist/components/List/List.cjs +1 -0
  208. package/dist/components/List/List.mjs +95 -0
  209. package/dist/components/MetricCards/MetricCards.cjs +1 -0
  210. package/dist/components/MetricCards/MetricCards.mjs +125 -0
  211. package/dist/components/Modal/Modal.cjs +1 -0
  212. package/dist/components/Modal/Modal.mjs +72 -0
  213. package/dist/components/NavTree/NavTree.cjs +1 -0
  214. package/dist/components/NavTree/NavTree.mjs +273 -0
  215. package/dist/components/Navbar/Navbar.cjs +1 -0
  216. package/dist/components/Navbar/Navbar.mjs +129 -0
  217. package/dist/components/NotificationCenter/NotificationCenter.cjs +1 -0
  218. package/dist/components/NotificationCenter/NotificationCenter.mjs +172 -0
  219. package/dist/components/PageHeader/PageHeader.cjs +1 -0
  220. package/dist/components/PageHeader/PageHeader.mjs +105 -0
  221. package/dist/components/Pagination/Pagination.cjs +1 -0
  222. package/dist/components/Pagination/Pagination.mjs +136 -0
  223. package/dist/components/Popover/Popover.cjs +1 -0
  224. package/dist/components/Popover/Popover.mjs +191 -0
  225. package/dist/components/ProgressBar/ProgressBar.cjs +1 -0
  226. package/dist/components/ProgressBar/ProgressBar.mjs +54 -0
  227. package/dist/components/QuickActions/QuickActions.cjs +1 -0
  228. package/dist/components/QuickActions/QuickActions.mjs +148 -0
  229. package/dist/components/Radio/Radio.cjs +1 -0
  230. package/dist/components/Radio/Radio.mjs +76 -0
  231. package/dist/components/SearchInput/SearchInput.cjs +1 -0
  232. package/dist/components/SearchInput/SearchInput.mjs +87 -0
  233. package/dist/components/Select/Select.cjs +1 -0
  234. package/dist/components/Select/Select.mjs +84 -0
  235. package/dist/components/Sidebar/Sidebar.cjs +1 -0
  236. package/dist/components/Sidebar/Sidebar.mjs +153 -0
  237. package/dist/components/Skeleton/Skeleton.cjs +1 -0
  238. package/dist/components/Skeleton/Skeleton.mjs +54 -0
  239. package/dist/components/Slider/Slider.cjs +1 -0
  240. package/dist/components/Slider/Slider.mjs +109 -0
  241. package/dist/components/Spinner/Spinner.cjs +1 -0
  242. package/dist/components/Spinner/Spinner.mjs +28 -0
  243. package/dist/components/Stack/Stack.cjs +1 -0
  244. package/dist/components/Stack/Stack.mjs +31 -0
  245. package/dist/components/Stepper/Stepper.cjs +1 -0
  246. package/dist/components/Stepper/Stepper.mjs +133 -0
  247. package/dist/components/Switch/Switch.cjs +1 -0
  248. package/dist/components/Switch/Switch.mjs +80 -0
  249. package/dist/components/Table/Table.cjs +1 -0
  250. package/dist/components/Table/Table.mjs +101 -0
  251. package/dist/components/Tabs/Tabs.cjs +1 -0
  252. package/dist/components/Tabs/Tabs.mjs +97 -0
  253. package/dist/components/Textarea/Textarea.cjs +1 -0
  254. package/dist/components/Textarea/Textarea.mjs +118 -0
  255. package/dist/components/ThemeController/ThemeController.cjs +1 -0
  256. package/dist/components/ThemeController/ThemeController.mjs +389 -0
  257. package/dist/components/Toast/Toast.cjs +1 -0
  258. package/dist/components/Toast/Toast.mjs +225 -0
  259. package/dist/components/Toggle/Toggle.cjs +1 -0
  260. package/dist/components/Toggle/Toggle.mjs +48 -0
  261. package/dist/components/ToggleGroup/ToggleGroup.cjs +1 -0
  262. package/dist/components/ToggleGroup/ToggleGroup.mjs +101 -0
  263. package/dist/components/Tooltip/Tooltip.cjs +1 -0
  264. package/dist/components/Tooltip/Tooltip.mjs +39 -0
  265. package/dist/components/UserMenu/UserMenu.cjs +1 -0
  266. package/dist/components/UserMenu/UserMenu.mjs +161 -0
  267. package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +1 -0
  268. package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +119 -0
  269. package/dist/contexts/ThemeContext.cjs +38 -0
  270. package/dist/contexts/ThemeContext.mjs +98 -0
  271. package/dist/dist/index19.cjs +1 -0
  272. package/dist/dist/index19.mjs +120 -0
  273. package/dist/dist/index22.cjs +1 -0
  274. package/dist/dist/index22.mjs +77 -0
  275. package/dist/dist/index23.cjs +1 -0
  276. package/dist/dist/index23.mjs +20 -0
  277. package/dist/dist/index26.cjs +1 -0
  278. package/dist/dist/index26.mjs +71 -0
  279. package/dist/dist/index28.cjs +1 -0
  280. package/dist/dist/index28.mjs +106 -0
  281. package/dist/dist/index36.cjs +1 -0
  282. package/dist/dist/index36.mjs +114 -0
  283. package/dist/dist/index37.cjs +1 -0
  284. package/dist/dist/index37.mjs +196 -0
  285. package/dist/dist/index47.cjs +1 -0
  286. package/dist/dist/index47.mjs +176 -0
  287. package/dist/dist/index50.cjs +1 -0
  288. package/dist/dist/index50.mjs +107 -0
  289. package/dist/dnd.cjs +1 -0
  290. package/dist/dnd.mjs +4 -0
  291. package/dist/editor.cjs +1 -0
  292. package/dist/editor.mjs +4 -0
  293. package/dist/examples/LandingPage.example.cjs +1 -0
  294. package/dist/examples/LandingPage.example.mjs +106 -0
  295. package/dist/index.cjs +1 -1
  296. package/dist/index.mjs +96 -96
  297. package/dist/rich.cjs +1 -0
  298. package/dist/rich.mjs +4 -0
  299. package/dist/sections/Container/Container.cjs +1 -0
  300. package/dist/sections/Container/Container.mjs +26 -0
  301. package/dist/sections/Section/Section.cjs +1 -0
  302. package/dist/sections/Section/Section.mjs +36 -0
  303. package/dist/sections/index.cjs +1 -0
  304. package/dist/sections/index.mjs +43 -0
  305. package/dist/templates/index.cjs +1 -0
  306. package/dist/templates/index.mjs +18 -0
  307. package/dist/tokens/index.cjs +1 -0
  308. package/dist/tokens/index.mjs +24 -0
  309. package/dist/tokens/utils.cjs +1 -0
  310. package/dist/tokens/utils.mjs +45 -0
  311. package/package.json +1 -1
  312. package/dist/index10.cjs +0 -1
  313. package/dist/index10.mjs +0 -4
  314. package/dist/index11.cjs +0 -1
  315. package/dist/index11.mjs +0 -4
  316. package/dist/index110.cjs +0 -1
  317. package/dist/index110.mjs +0 -77
  318. package/dist/index111.cjs +0 -1
  319. package/dist/index111.mjs +0 -158
  320. package/dist/index112.cjs +0 -1
  321. package/dist/index112.mjs +0 -25
  322. package/dist/index113.cjs +0 -1
  323. package/dist/index113.mjs +0 -153
  324. package/dist/index114.cjs +0 -1
  325. package/dist/index114.mjs +0 -108
  326. package/dist/index115.cjs +0 -1
  327. package/dist/index115.mjs +0 -85
  328. package/dist/index116.cjs +0 -1
  329. package/dist/index116.mjs +0 -35
  330. package/dist/index117.cjs +0 -1
  331. package/dist/index117.mjs +0 -27
  332. package/dist/index118.cjs +0 -1
  333. package/dist/index118.mjs +0 -18
  334. package/dist/index119.cjs +0 -1
  335. package/dist/index119.mjs +0 -104
  336. package/dist/index120.cjs +0 -1
  337. package/dist/index120.mjs +0 -192
  338. package/dist/index121.cjs +0 -1
  339. package/dist/index121.mjs +0 -93
  340. package/dist/index122.cjs +0 -1
  341. package/dist/index122.mjs +0 -47
  342. package/dist/index123.cjs +0 -1
  343. package/dist/index123.mjs +0 -27
  344. package/dist/index124.cjs +0 -1
  345. package/dist/index124.mjs +0 -102
  346. package/dist/index125.cjs +0 -1
  347. package/dist/index125.mjs +0 -21
  348. package/dist/index126.cjs +0 -1
  349. package/dist/index126.mjs +0 -37
  350. package/dist/index127.cjs +0 -1
  351. package/dist/index127.mjs +0 -28
  352. package/dist/index128.cjs +0 -1
  353. package/dist/index128.mjs +0 -98
  354. package/dist/index129.cjs +0 -1
  355. package/dist/index129.mjs +0 -34
  356. package/dist/index130.cjs +0 -1
  357. package/dist/index130.mjs +0 -37
  358. package/dist/index131.cjs +0 -1
  359. package/dist/index131.mjs +0 -10
  360. package/dist/index132.cjs +0 -1
  361. package/dist/index132.mjs +0 -142
  362. package/dist/index133.cjs +0 -1
  363. package/dist/index133.mjs +0 -143
  364. package/dist/index134.cjs +0 -1
  365. package/dist/index134.mjs +0 -31
  366. package/dist/index135.cjs +0 -1
  367. package/dist/index135.mjs +0 -50
  368. package/dist/index136.cjs +0 -1
  369. package/dist/index136.mjs +0 -18
  370. package/dist/index137.cjs +0 -1
  371. package/dist/index137.mjs +0 -194
  372. package/dist/index138.cjs +0 -1
  373. package/dist/index138.mjs +0 -54
  374. package/dist/index139.cjs +0 -1
  375. package/dist/index139.mjs +0 -105
  376. package/dist/index14.cjs +0 -1
  377. package/dist/index14.mjs +0 -45
  378. package/dist/index140.cjs +0 -1
  379. package/dist/index140.mjs +0 -40
  380. package/dist/index141.cjs +0 -1
  381. package/dist/index141.mjs +0 -25
  382. package/dist/index142.cjs +0 -1
  383. package/dist/index142.mjs +0 -87
  384. package/dist/index143.cjs +0 -1
  385. package/dist/index143.mjs +0 -21
  386. package/dist/index144.cjs +0 -1
  387. package/dist/index144.mjs +0 -28
  388. package/dist/index145.cjs +0 -1
  389. package/dist/index145.mjs +0 -53
  390. package/dist/index15.cjs +0 -1
  391. package/dist/index15.mjs +0 -600
  392. package/dist/index17.cjs +0 -1
  393. package/dist/index17.mjs +0 -94
  394. package/dist/index178.cjs +0 -1
  395. package/dist/index178.mjs +0 -20
  396. package/dist/index179.cjs +0 -1
  397. package/dist/index179.mjs +0 -106
  398. package/dist/index18.cjs +0 -1
  399. package/dist/index18.mjs +0 -128
  400. package/dist/index187.cjs +0 -1
  401. package/dist/index187.mjs +0 -71
  402. package/dist/index189.cjs +0 -1
  403. package/dist/index189.mjs +0 -107
  404. package/dist/index19.cjs +0 -1
  405. package/dist/index19.mjs +0 -120
  406. package/dist/index2.cjs +0 -1
  407. package/dist/index2.mjs +0 -247
  408. package/dist/index20.cjs +0 -1
  409. package/dist/index20.mjs +0 -51
  410. package/dist/index21.cjs +0 -1
  411. package/dist/index21.mjs +0 -91
  412. package/dist/index22.cjs +0 -1
  413. package/dist/index22.mjs +0 -77
  414. package/dist/index221.cjs +0 -1
  415. package/dist/index221.mjs +0 -36
  416. package/dist/index222.cjs +0 -1
  417. package/dist/index222.mjs +0 -46
  418. package/dist/index223.cjs +0 -1
  419. package/dist/index223.mjs +0 -173
  420. package/dist/index224.cjs +0 -1
  421. package/dist/index224.mjs +0 -188
  422. package/dist/index225.cjs +0 -1
  423. package/dist/index225.mjs +0 -31
  424. package/dist/index226.cjs +0 -1
  425. package/dist/index226.mjs +0 -93
  426. package/dist/index227.cjs +0 -1
  427. package/dist/index227.mjs +0 -55
  428. package/dist/index228.cjs +0 -1
  429. package/dist/index228.mjs +0 -69
  430. package/dist/index229.cjs +0 -1
  431. package/dist/index229.mjs +0 -127
  432. package/dist/index23.cjs +0 -1
  433. package/dist/index23.mjs +0 -20
  434. package/dist/index230.cjs +0 -1
  435. package/dist/index230.mjs +0 -111
  436. package/dist/index231.cjs +0 -1
  437. package/dist/index231.mjs +0 -114
  438. package/dist/index232.cjs +0 -1
  439. package/dist/index232.mjs +0 -125
  440. package/dist/index233.cjs +0 -1
  441. package/dist/index233.mjs +0 -217
  442. package/dist/index24.cjs +0 -1
  443. package/dist/index24.mjs +0 -107
  444. package/dist/index244.cjs +0 -1
  445. package/dist/index244.mjs +0 -16
  446. package/dist/index25.cjs +0 -1
  447. package/dist/index25.mjs +0 -84
  448. package/dist/index256.cjs +0 -1
  449. package/dist/index256.mjs +0 -47
  450. package/dist/index258.cjs +0 -1
  451. package/dist/index258.mjs +0 -120
  452. package/dist/index259.cjs +0 -1
  453. package/dist/index259.mjs +0 -196
  454. package/dist/index26.cjs +0 -1
  455. package/dist/index26.mjs +0 -71
  456. package/dist/index262.cjs +0 -1
  457. package/dist/index262.mjs +0 -18
  458. package/dist/index264.cjs +0 -1
  459. package/dist/index264.mjs +0 -58
  460. package/dist/index27.cjs +0 -1
  461. package/dist/index27.mjs +0 -135
  462. package/dist/index272.cjs +0 -1
  463. package/dist/index272.mjs +0 -49
  464. package/dist/index275.cjs +0 -1
  465. package/dist/index275.mjs +0 -19
  466. package/dist/index278.cjs +0 -1
  467. package/dist/index278.mjs +0 -77
  468. package/dist/index279.cjs +0 -1
  469. package/dist/index279.mjs +0 -176
  470. package/dist/index28.cjs +0 -1
  471. package/dist/index28.mjs +0 -106
  472. package/dist/index284.cjs +0 -1
  473. package/dist/index284.mjs +0 -114
  474. package/dist/index29.cjs +0 -1
  475. package/dist/index29.mjs +0 -178
  476. package/dist/index290.cjs +0 -1
  477. package/dist/index290.mjs +0 -57
  478. package/dist/index3.cjs +0 -1
  479. package/dist/index3.mjs +0 -24
  480. package/dist/index30.cjs +0 -1
  481. package/dist/index30.mjs +0 -38
  482. package/dist/index31.cjs +0 -1
  483. package/dist/index31.mjs +0 -103
  484. package/dist/index32.cjs +0 -1
  485. package/dist/index32.mjs +0 -56
  486. package/dist/index33.cjs +0 -1
  487. package/dist/index33.mjs +0 -84
  488. package/dist/index34.cjs +0 -1
  489. package/dist/index34.mjs +0 -86
  490. package/dist/index35.cjs +0 -6
  491. package/dist/index35.mjs +0 -255
  492. package/dist/index36.cjs +0 -1
  493. package/dist/index36.mjs +0 -114
  494. package/dist/index37.cjs +0 -1
  495. package/dist/index37.mjs +0 -196
  496. package/dist/index38.cjs +0 -1
  497. package/dist/index38.mjs +0 -271
  498. package/dist/index39.cjs +0 -1
  499. package/dist/index39.mjs +0 -248
  500. package/dist/index4.cjs +0 -1
  501. package/dist/index4.mjs +0 -43
  502. package/dist/index40.cjs +0 -1
  503. package/dist/index40.mjs +0 -193
  504. package/dist/index41.cjs +0 -1
  505. package/dist/index41.mjs +0 -26
  506. package/dist/index42.cjs +0 -1
  507. package/dist/index42.mjs +0 -339
  508. package/dist/index43.cjs +0 -1
  509. package/dist/index43.mjs +0 -104
  510. package/dist/index44.cjs +0 -1
  511. package/dist/index44.mjs +0 -103
  512. package/dist/index45.cjs +0 -1
  513. package/dist/index45.mjs +0 -48
  514. package/dist/index46.cjs +0 -1
  515. package/dist/index46.mjs +0 -132
  516. package/dist/index47.cjs +0 -1
  517. package/dist/index47.mjs +0 -176
  518. package/dist/index48.cjs +0 -1
  519. package/dist/index48.mjs +0 -30
  520. package/dist/index49.cjs +0 -1
  521. package/dist/index49.mjs +0 -43
  522. package/dist/index5.cjs +0 -1
  523. package/dist/index5.mjs +0 -74
  524. package/dist/index50.cjs +0 -1
  525. package/dist/index50.mjs +0 -107
  526. package/dist/index51.cjs +0 -1
  527. package/dist/index51.mjs +0 -202
  528. package/dist/index52.cjs +0 -1
  529. package/dist/index52.mjs +0 -164
  530. package/dist/index53.cjs +0 -1
  531. package/dist/index53.mjs +0 -47
  532. package/dist/index54.cjs +0 -1
  533. package/dist/index54.mjs +0 -84
  534. package/dist/index55.cjs +0 -1
  535. package/dist/index55.mjs +0 -54
  536. package/dist/index56.cjs +0 -3
  537. package/dist/index56.mjs +0 -205
  538. package/dist/index58.cjs +0 -1
  539. package/dist/index58.mjs +0 -143
  540. package/dist/index59.cjs +0 -1
  541. package/dist/index59.mjs +0 -190
  542. package/dist/index6.cjs +0 -1
  543. package/dist/index6.mjs +0 -18
  544. package/dist/index60.cjs +0 -1
  545. package/dist/index60.mjs +0 -106
  546. package/dist/index61.cjs +0 -1
  547. package/dist/index61.mjs +0 -82
  548. package/dist/index62.cjs +0 -1
  549. package/dist/index62.mjs +0 -95
  550. package/dist/index63.cjs +0 -1
  551. package/dist/index63.mjs +0 -125
  552. package/dist/index64.cjs +0 -1
  553. package/dist/index64.mjs +0 -72
  554. package/dist/index65.cjs +0 -1
  555. package/dist/index65.mjs +0 -273
  556. package/dist/index66.cjs +0 -1
  557. package/dist/index66.mjs +0 -129
  558. package/dist/index67.cjs +0 -1
  559. package/dist/index67.mjs +0 -172
  560. package/dist/index68.cjs +0 -1
  561. package/dist/index68.mjs +0 -105
  562. package/dist/index69.cjs +0 -1
  563. package/dist/index69.mjs +0 -136
  564. package/dist/index7.cjs +0 -1
  565. package/dist/index7.mjs +0 -9
  566. package/dist/index70.cjs +0 -1
  567. package/dist/index70.mjs +0 -191
  568. package/dist/index71.cjs +0 -1
  569. package/dist/index71.mjs +0 -54
  570. package/dist/index72.cjs +0 -1
  571. package/dist/index72.mjs +0 -148
  572. package/dist/index73.cjs +0 -1
  573. package/dist/index73.mjs +0 -76
  574. package/dist/index74.cjs +0 -1
  575. package/dist/index74.mjs +0 -87
  576. package/dist/index75.cjs +0 -1
  577. package/dist/index75.mjs +0 -36
  578. package/dist/index76.cjs +0 -1
  579. package/dist/index76.mjs +0 -84
  580. package/dist/index77.cjs +0 -1
  581. package/dist/index77.mjs +0 -153
  582. package/dist/index78.cjs +0 -1
  583. package/dist/index78.mjs +0 -54
  584. package/dist/index79.cjs +0 -1
  585. package/dist/index79.mjs +0 -109
  586. package/dist/index8.cjs +0 -1
  587. package/dist/index8.mjs +0 -6
  588. package/dist/index80.cjs +0 -1
  589. package/dist/index80.mjs +0 -28
  590. package/dist/index81.cjs +0 -1
  591. package/dist/index81.mjs +0 -31
  592. package/dist/index82.cjs +0 -1
  593. package/dist/index82.mjs +0 -133
  594. package/dist/index83.cjs +0 -1
  595. package/dist/index83.mjs +0 -80
  596. package/dist/index84.cjs +0 -1
  597. package/dist/index84.mjs +0 -101
  598. package/dist/index85.cjs +0 -1
  599. package/dist/index85.mjs +0 -97
  600. package/dist/index86.cjs +0 -1
  601. package/dist/index86.mjs +0 -118
  602. package/dist/index87.cjs +0 -1
  603. package/dist/index87.mjs +0 -389
  604. package/dist/index88.cjs +0 -38
  605. package/dist/index88.mjs +0 -98
  606. package/dist/index89.cjs +0 -1
  607. package/dist/index89.mjs +0 -225
  608. package/dist/index9.cjs +0 -1
  609. package/dist/index9.mjs +0 -4
  610. package/dist/index90.cjs +0 -1
  611. package/dist/index90.mjs +0 -48
  612. package/dist/index91.cjs +0 -1
  613. package/dist/index91.mjs +0 -101
  614. package/dist/index92.cjs +0 -1
  615. package/dist/index92.mjs +0 -39
  616. package/dist/index93.cjs +0 -1
  617. package/dist/index93.mjs +0 -161
  618. package/dist/index94.cjs +0 -1
  619. package/dist/index94.mjs +0 -119
  620. /package/dist/{index248.cjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
  621. /package/dist/{index248.mjs → blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
  622. /package/dist/{index255.cjs → blocks/sections/AppDownload/AppDownload.module.css.cjs} +0 -0
  623. /package/dist/{index255.mjs → blocks/sections/AppDownload/AppDownload.module.css.mjs} +0 -0
  624. /package/dist/{index250.cjs → blocks/sections/Blog/Blog.module.css.cjs} +0 -0
  625. /package/dist/{index250.mjs → blocks/sections/Blog/Blog.module.css.mjs} +0 -0
  626. /package/dist/{index251.cjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs} +0 -0
  627. /package/dist/{index251.mjs → blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs} +0 -0
  628. /package/dist/{index274.cjs → blocks/sections/CTA/CTA.module.css.cjs} +0 -0
  629. /package/dist/{index274.mjs → blocks/sections/CTA/CTA.module.css.mjs} +0 -0
  630. /package/dist/{index268.cjs → blocks/sections/CarouselSection/CarouselSection.module.css.cjs} +0 -0
  631. /package/dist/{index268.mjs → blocks/sections/CarouselSection/CarouselSection.module.css.mjs} +0 -0
  632. /package/dist/{index266.cjs → blocks/sections/Chat/Chat.module.css.cjs} +0 -0
  633. /package/dist/{index266.mjs → blocks/sections/Chat/Chat.module.css.mjs} +0 -0
  634. /package/dist/{index271.cjs → blocks/sections/Comparison/Comparison.module.css.cjs} +0 -0
  635. /package/dist/{index271.mjs → blocks/sections/Comparison/Comparison.module.css.mjs} +0 -0
  636. /package/dist/{index253.cjs → blocks/sections/Contact/Contact.module.css.cjs} +0 -0
  637. /package/dist/{index253.mjs → blocks/sections/Contact/Contact.module.css.mjs} +0 -0
  638. /package/dist/{index246.cjs → blocks/sections/EmptyState/EmptyState.module.css.cjs} +0 -0
  639. /package/dist/{index246.mjs → blocks/sections/EmptyState/EmptyState.module.css.mjs} +0 -0
  640. /package/dist/{index265.cjs → blocks/sections/FAQ/FAQ.module.css.cjs} +0 -0
  641. /package/dist/{index265.mjs → blocks/sections/FAQ/FAQ.module.css.mjs} +0 -0
  642. /package/dist/{index245.cjs → blocks/sections/Features/Features.module.css.cjs} +0 -0
  643. /package/dist/{index245.mjs → blocks/sections/Features/Features.module.css.mjs} +0 -0
  644. /package/dist/{index269.cjs → blocks/sections/Footer/Footer.module.css.cjs} +0 -0
  645. /package/dist/{index269.mjs → blocks/sections/Footer/Footer.module.css.mjs} +0 -0
  646. /package/dist/{index247.cjs → blocks/sections/Gallery/Gallery.module.css.cjs} +0 -0
  647. /package/dist/{index247.mjs → blocks/sections/Gallery/Gallery.module.css.mjs} +0 -0
  648. /package/dist/{index249.cjs → blocks/sections/Hero/Hero.module.css.cjs} +0 -0
  649. /package/dist/{index249.mjs → blocks/sections/Hero/Hero.module.css.mjs} +0 -0
  650. /package/dist/{index261.cjs → blocks/sections/LogoCloud/LogoCloud.module.css.cjs} +0 -0
  651. /package/dist/{index261.mjs → blocks/sections/LogoCloud/LogoCloud.module.css.mjs} +0 -0
  652. /package/dist/{index270.cjs → blocks/sections/Newsletter/Newsletter.module.css.cjs} +0 -0
  653. /package/dist/{index270.mjs → blocks/sections/Newsletter/Newsletter.module.css.mjs} +0 -0
  654. /package/dist/{index273.cjs → blocks/sections/Pricing/Pricing.module.css.cjs} +0 -0
  655. /package/dist/{index273.mjs → blocks/sections/Pricing/Pricing.module.css.mjs} +0 -0
  656. /package/dist/{index267.cjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs} +0 -0
  657. /package/dist/{index267.mjs → blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs} +0 -0
  658. /package/dist/{index254.cjs → blocks/sections/SocialProof/SocialProof.module.css.cjs} +0 -0
  659. /package/dist/{index254.mjs → blocks/sections/SocialProof/SocialProof.module.css.mjs} +0 -0
  660. /package/dist/{index263.cjs → blocks/sections/Stats/Stats.module.css.cjs} +0 -0
  661. /package/dist/{index263.mjs → blocks/sections/Stats/Stats.module.css.mjs} +0 -0
  662. /package/dist/{index260.cjs → blocks/sections/Stepper/Stepper.module.css.cjs} +0 -0
  663. /package/dist/{index260.mjs → blocks/sections/Stepper/Stepper.module.css.mjs} +0 -0
  664. /package/dist/{index276.cjs → blocks/sections/Team/Team.module.css.cjs} +0 -0
  665. /package/dist/{index276.mjs → blocks/sections/Team/Team.module.css.mjs} +0 -0
  666. /package/dist/{index257.cjs → blocks/sections/Testimonials/Testimonials.module.css.cjs} +0 -0
  667. /package/dist/{index257.mjs → blocks/sections/Testimonials/Testimonials.module.css.mjs} +0 -0
  668. /package/dist/{index252.cjs → blocks/sections/Timeline/Timeline.module.css.cjs} +0 -0
  669. /package/dist/{index252.mjs → blocks/sections/Timeline/Timeline.module.css.mjs} +0 -0
  670. /package/dist/{index203.cjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs} +0 -0
  671. /package/dist/{index203.mjs → blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs} +0 -0
  672. /package/dist/{index206.cjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs} +0 -0
  673. /package/dist/{index206.mjs → blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs} +0 -0
  674. /package/dist/{index213.cjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs} +0 -0
  675. /package/dist/{index213.mjs → blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs} +0 -0
  676. /package/dist/{index180.cjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs} +0 -0
  677. /package/dist/{index180.mjs → blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs} +0 -0
  678. /package/dist/{index211.cjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs} +0 -0
  679. /package/dist/{index211.mjs → blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs} +0 -0
  680. /package/dist/{index190.cjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs} +0 -0
  681. /package/dist/{index190.mjs → blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs} +0 -0
  682. /package/dist/{index208.cjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs} +0 -0
  683. /package/dist/{index208.mjs → blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs} +0 -0
  684. /package/dist/{index188.cjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs} +0 -0
  685. /package/dist/{index188.mjs → blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs} +0 -0
  686. /package/dist/{index195.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
  687. /package/dist/{index195.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
  688. /package/dist/{index239.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
  689. /package/dist/{index239.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
  690. /package/dist/{index152.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
  691. /package/dist/{index152.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
  692. /package/dist/{index200.cjs → components/Alert/Alert.module.css.cjs} +0 -0
  693. /package/dist/{index200.mjs → components/Alert/Alert.module.css.mjs} +0 -0
  694. /package/dist/{index212.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
  695. /package/dist/{index212.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
  696. /package/dist/{index184.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
  697. /package/dist/{index184.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
  698. /package/dist/{index194.cjs → components/Badge/Badge.module.css.cjs} +0 -0
  699. /package/dist/{index194.mjs → components/Badge/Badge.module.css.mjs} +0 -0
  700. /package/dist/{index207.cjs → components/Banner/Banner.module.css.cjs} +0 -0
  701. /package/dist/{index207.mjs → components/Banner/Banner.module.css.mjs} +0 -0
  702. /package/dist/{index201.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
  703. /package/dist/{index201.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
  704. /package/dist/{index156.cjs → components/Button/Button.module.css.cjs} +0 -0
  705. /package/dist/{index156.mjs → components/Button/Button.module.css.mjs} +0 -0
  706. /package/dist/{index209.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
  707. /package/dist/{index209.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
  708. /package/dist/{index175.cjs → components/Card/Card.module.css.cjs} +0 -0
  709. /package/dist/{index175.mjs → components/Card/Card.module.css.mjs} +0 -0
  710. /package/dist/{index171.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
  711. /package/dist/{index171.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
  712. /package/dist/{index155.cjs → components/Chart/Chart.module.css.cjs} +0 -0
  713. /package/dist/{index155.mjs → components/Chart/Chart.module.css.mjs} +0 -0
  714. /package/dist/{index154.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
  715. /package/dist/{index154.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
  716. /package/dist/{index220.cjs → components/Chat/Chat.module.css.cjs} +0 -0
  717. /package/dist/{index220.mjs → components/Chat/Chat.module.css.mjs} +0 -0
  718. /package/dist/{index95.cjs → components/Chat/hooks/useAutoScroll.cjs} +0 -0
  719. /package/dist/{index95.mjs → components/Chat/hooks/useAutoScroll.mjs} +0 -0
  720. /package/dist/{index96.cjs → components/Chat/hooks/useChatInput.cjs} +0 -0
  721. /package/dist/{index96.mjs → components/Chat/hooks/useChatInput.mjs} +0 -0
  722. /package/dist/{index104.cjs → components/Chat/hooks/useStreamingText.cjs} +0 -0
  723. /package/dist/{index104.mjs → components/Chat/hooks/useStreamingText.mjs} +0 -0
  724. /package/dist/{index106.cjs → components/Chat/hooks/useVoiceRecorder.cjs} +0 -0
  725. /package/dist/{index106.mjs → components/Chat/hooks/useVoiceRecorder.mjs} +0 -0
  726. /package/dist/{index289.cjs → components/Chat/utils.cjs} +0 -0
  727. /package/dist/{index289.mjs → components/Chat/utils.mjs} +0 -0
  728. /package/dist/{index170.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
  729. /package/dist/{index170.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
  730. /package/dist/{index153.cjs → components/Chip/Chip.module.css.cjs} +0 -0
  731. /package/dist/{index153.mjs → components/Chip/Chip.module.css.mjs} +0 -0
  732. /package/dist/{index147.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
  733. /package/dist/{index147.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
  734. /package/dist/{index148.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
  735. /package/dist/{index148.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
  736. /package/dist/{index151.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
  737. /package/dist/{index151.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
  738. /package/dist/{index172.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
  739. /package/dist/{index172.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
  740. /package/dist/{index199.cjs → components/Command/Command.module.css.cjs} +0 -0
  741. /package/dist/{index199.mjs → components/Command/Command.module.css.mjs} +0 -0
  742. /package/dist/{index238.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
  743. /package/dist/{index238.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
  744. /package/dist/{index215.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
  745. /package/dist/{index215.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
  746. /package/dist/{index157.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
  747. /package/dist/{index157.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
  748. /package/dist/{index236.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
  749. /package/dist/{index236.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
  750. /package/dist/{index192.cjs → components/Divider/Divider.module.css.cjs} +0 -0
  751. /package/dist/{index192.mjs → components/Divider/Divider.module.css.mjs} +0 -0
  752. /package/dist/{index241.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
  753. /package/dist/{index241.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
  754. /package/dist/{index167.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
  755. /package/dist/{index167.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
  756. /package/dist/{index168.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
  757. /package/dist/{index168.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
  758. /package/dist/{index202.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
  759. /package/dist/{index202.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
  760. /package/dist/{index191.cjs → components/Field/Field.module.css.cjs} +0 -0
  761. /package/dist/{index191.mjs → components/Field/Field.module.css.mjs} +0 -0
  762. /package/dist/{index216.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
  763. /package/dist/{index216.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
  764. /package/dist/{index163.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
  765. /package/dist/{index163.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
  766. /package/dist/{index242.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
  767. /package/dist/{index242.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
  768. /package/dist/{index146.cjs → components/Icon/Icon.module.css.cjs} +0 -0
  769. /package/dist/{index146.mjs → components/Icon/Icon.module.css.mjs} +0 -0
  770. /package/dist/{index218.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
  771. /package/dist/{index218.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
  772. /package/dist/{index197.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
  773. /package/dist/{index197.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
  774. /package/dist/{index243.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
  775. /package/dist/{index243.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
  776. /package/dist/{index205.cjs → components/Link/Link.module.css.cjs} +0 -0
  777. /package/dist/{index205.mjs → components/Link/Link.module.css.mjs} +0 -0
  778. /package/dist/{index169.cjs → components/List/List.module.css.cjs} +0 -0
  779. /package/dist/{index169.mjs → components/List/List.module.css.mjs} +0 -0
  780. /package/dist/{index196.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
  781. /package/dist/{index196.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
  782. /package/dist/{index186.cjs → components/Modal/Modal.module.css.cjs} +0 -0
  783. /package/dist/{index186.mjs → components/Modal/Modal.module.css.mjs} +0 -0
  784. /package/dist/{index177.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
  785. /package/dist/{index177.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
  786. /package/dist/{index166.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
  787. /package/dist/{index166.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
  788. /package/dist/{index204.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
  789. /package/dist/{index204.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
  790. /package/dist/{index235.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
  791. /package/dist/{index235.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
  792. /package/dist/{index183.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
  793. /package/dist/{index183.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
  794. /package/dist/{index240.cjs → components/Popover/Popover.module.css.cjs} +0 -0
  795. /package/dist/{index240.mjs → components/Popover/Popover.module.css.mjs} +0 -0
  796. /package/dist/{index237.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
  797. /package/dist/{index237.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
  798. /package/dist/{index219.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
  799. /package/dist/{index219.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
  800. /package/dist/{index198.cjs → components/Radio/Radio.module.css.cjs} +0 -0
  801. /package/dist/{index198.mjs → components/Radio/Radio.module.css.mjs} +0 -0
  802. /package/dist/{index185.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
  803. /package/dist/{index185.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
  804. /package/dist/{index159.cjs → components/Select/Select.module.css.cjs} +0 -0
  805. /package/dist/{index159.mjs → components/Select/Select.module.css.mjs} +0 -0
  806. /package/dist/{index214.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
  807. /package/dist/{index214.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
  808. /package/dist/{index173.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
  809. /package/dist/{index173.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
  810. /package/dist/{index161.cjs → components/Slider/Slider.module.css.cjs} +0 -0
  811. /package/dist/{index161.mjs → components/Slider/Slider.module.css.mjs} +0 -0
  812. /package/dist/{index164.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
  813. /package/dist/{index164.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
  814. /package/dist/{index193.cjs → components/Stack/Stack.module.css.cjs} +0 -0
  815. /package/dist/{index193.mjs → components/Stack/Stack.module.css.mjs} +0 -0
  816. /package/dist/{index162.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
  817. /package/dist/{index162.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
  818. /package/dist/{index150.cjs → components/Switch/Switch.module.css.cjs} +0 -0
  819. /package/dist/{index150.mjs → components/Switch/Switch.module.css.mjs} +0 -0
  820. /package/dist/{index165.cjs → components/Table/Table.module.css.cjs} +0 -0
  821. /package/dist/{index165.mjs → components/Table/Table.module.css.mjs} +0 -0
  822. /package/dist/{index181.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
  823. /package/dist/{index181.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
  824. /package/dist/{index182.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
  825. /package/dist/{index182.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
  826. /package/dist/{index234.cjs → components/Toast/Toast.module.css.cjs} +0 -0
  827. /package/dist/{index234.mjs → components/Toast/Toast.module.css.mjs} +0 -0
  828. /package/dist/{index158.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
  829. /package/dist/{index158.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
  830. /package/dist/{index174.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
  831. /package/dist/{index174.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
  832. /package/dist/{index176.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
  833. /package/dist/{index176.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
  834. /package/dist/{index210.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
  835. /package/dist/{index210.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
  836. /package/dist/{index217.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
  837. /package/dist/{index217.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
  838. /package/dist/{index286.cjs → dist/index146.cjs} +0 -0
  839. /package/dist/{index286.mjs → dist/index146.mjs} +0 -0
  840. /package/dist/{index283.cjs → dist/index149.cjs} +0 -0
  841. /package/dist/{index283.mjs → dist/index149.mjs} +0 -0
  842. /package/dist/{index277.cjs → dist/index172.cjs} +0 -0
  843. /package/dist/{index277.mjs → dist/index172.mjs} +0 -0
  844. /package/dist/{index280.cjs → dist/index175.cjs} +0 -0
  845. /package/dist/{index280.mjs → dist/index175.mjs} +0 -0
  846. /package/dist/{index287.cjs → dist/index180.cjs} +0 -0
  847. /package/dist/{index287.mjs → dist/index180.mjs} +0 -0
  848. /package/dist/{index288.cjs → dist/index189.cjs} +0 -0
  849. /package/dist/{index288.mjs → dist/index189.mjs} +0 -0
  850. /package/dist/{index282.cjs → dist/index225.cjs} +0 -0
  851. /package/dist/{index282.mjs → dist/index225.mjs} +0 -0
  852. /package/dist/{index281.cjs → dist/index232.cjs} +0 -0
  853. /package/dist/{index281.mjs → dist/index232.mjs} +0 -0
  854. /package/dist/{index285.cjs → dist/index240.cjs} +0 -0
  855. /package/dist/{index285.mjs → dist/index240.mjs} +0 -0
  856. /package/dist/{index97.cjs → hooks/useClickOutside.cjs} +0 -0
  857. /package/dist/{index97.mjs → hooks/useClickOutside.mjs} +0 -0
  858. /package/dist/{index98.cjs → hooks/useCopyToClipboard.cjs} +0 -0
  859. /package/dist/{index98.mjs → hooks/useCopyToClipboard.mjs} +0 -0
  860. /package/dist/{index99.cjs → hooks/useDebounce.cjs} +0 -0
  861. /package/dist/{index99.mjs → hooks/useDebounce.mjs} +0 -0
  862. /package/dist/{index100.cjs → hooks/useDisclosure.cjs} +0 -0
  863. /package/dist/{index100.mjs → hooks/useDisclosure.mjs} +0 -0
  864. /package/dist/{index102.cjs → hooks/useKeyboard.cjs} +0 -0
  865. /package/dist/{index102.mjs → hooks/useKeyboard.mjs} +0 -0
  866. /package/dist/{index103.cjs → hooks/useLocalStorage.cjs} +0 -0
  867. /package/dist/{index103.mjs → hooks/useLocalStorage.mjs} +0 -0
  868. /package/dist/{index101.cjs → hooks/useMediaQuery.cjs} +0 -0
  869. /package/dist/{index101.mjs → hooks/useMediaQuery.mjs} +0 -0
  870. /package/dist/{index105.cjs → hooks/useTheme.cjs} +0 -0
  871. /package/dist/{index105.mjs → hooks/useTheme.mjs} +0 -0
  872. /package/dist/{index149.cjs → sections/Container/Container.module.css.cjs} +0 -0
  873. /package/dist/{index149.mjs → sections/Container/Container.module.css.mjs} +0 -0
  874. /package/dist/{index160.cjs → sections/Section/Section.module.css.cjs} +0 -0
  875. /package/dist/{index160.mjs → sections/Section/Section.module.css.mjs} +0 -0
  876. /package/dist/{index109.cjs → tokens/brands.cjs} +0 -0
  877. /package/dist/{index109.mjs → tokens/brands.mjs} +0 -0
  878. /package/dist/{index13.cjs → tokens/primitives.cjs} +0 -0
  879. /package/dist/{index13.mjs → tokens/primitives.mjs} +0 -0
  880. /package/dist/{index108.cjs → tokens/themes.cjs} +0 -0
  881. /package/dist/{index108.mjs → tokens/themes.mjs} +0 -0
  882. /package/dist/{index16.cjs → utils/fonts.cjs} +0 -0
  883. /package/dist/{index16.mjs → utils/fonts.mjs} +0 -0
  884. /package/dist/{index57.cjs → utils/icons.cjs} +0 -0
  885. /package/dist/{index57.mjs → utils/icons.mjs} +0 -0
  886. /package/dist/{index107.cjs → utils/validation.cjs} +0 -0
  887. /package/dist/{index107.mjs → utils/validation.mjs} +0 -0
@@ -0,0 +1,217 @@
1
+ import { jsxs as l, Fragment as C, jsx as r } from "react/jsx-runtime";
2
+ import { useState as D, useRef as Y, useEffect as x, useMemo as S, useCallback as y } from "react";
3
+ import { Plus as A, X as U, Search as $, MessageSquare as T, Trash2 as q } from "lucide-react";
4
+ import e from "../Chat.module.css.mjs";
5
+ const G = {
6
+ today: "Today",
7
+ yesterday: "Yesterday",
8
+ previous7: "Previous 7 days",
9
+ previous30: "Previous 30 days",
10
+ older: "Older"
11
+ }, N = [
12
+ "today",
13
+ "yesterday",
14
+ "previous7",
15
+ "previous30",
16
+ "older"
17
+ ], B = (t) => {
18
+ const a = /* @__PURE__ */ new Date(), d = (new Date(
19
+ a.getFullYear(),
20
+ a.getMonth(),
21
+ a.getDate()
22
+ ).getTime() - new Date(t.getFullYear(), t.getMonth(), t.getDate()).getTime()) / (1e3 * 60 * 60 * 24);
23
+ return d < 1 ? "today" : d < 2 ? "yesterday" : d < 7 ? "previous7" : d < 30 ? "previous30" : "older";
24
+ }, H = (t) => {
25
+ const a = B(t);
26
+ return a === "today" ? new Intl.DateTimeFormat("en-US", {
27
+ hour: "numeric",
28
+ minute: "2-digit"
29
+ }).format(t) : a === "yesterday" ? "Yesterday" : a === "previous7" ? new Intl.DateTimeFormat("en-US", {
30
+ weekday: "short"
31
+ }).format(t) : new Intl.DateTimeFormat("en-US", {
32
+ month: "short",
33
+ day: "numeric"
34
+ }).format(t);
35
+ }, Q = (t) => {
36
+ const a = /* @__PURE__ */ new Map();
37
+ return N.forEach((o) => a.set(o, [])), t.forEach((o) => {
38
+ const f = B(o.updatedAt);
39
+ a.get(f)?.push(o);
40
+ }), a;
41
+ }, R = ({
42
+ conversations: t = [],
43
+ activeConversationId: a,
44
+ onSelectConversation: o,
45
+ onNewConversation: f,
46
+ onDeleteConversation: d,
47
+ onSearch: g,
48
+ header: j,
49
+ footer: v,
50
+ collapsed: u = !1,
51
+ onCollapsedChange: m,
52
+ className: k,
53
+ ...F
54
+ }) => {
55
+ const [h, z] = D(""), [p, b] = D(null), c = Y(
56
+ void 0
57
+ );
58
+ x(() => () => {
59
+ c.current && clearTimeout(c.current);
60
+ }, []);
61
+ const w = S(() => {
62
+ if (!h.trim()) return t;
63
+ const s = h.toLowerCase();
64
+ return t.filter(
65
+ (n) => n.title.toLowerCase().includes(s) || n.preview?.toLowerCase().includes(s)
66
+ );
67
+ }, [t, h]), I = S(() => Q(w), [w]), O = y(
68
+ (s) => {
69
+ const n = s.target.value;
70
+ z(n), g?.(n);
71
+ },
72
+ [g]
73
+ ), P = y(
74
+ (s) => {
75
+ o?.(s), u && m && m(!0);
76
+ },
77
+ [o, u, m]
78
+ ), E = y(
79
+ (s, n) => {
80
+ s.stopPropagation(), p === n ? (d?.(n), b(null), c.current && clearTimeout(c.current)) : (b(n), c.current && clearTimeout(c.current), c.current = setTimeout(() => {
81
+ b(null);
82
+ }, 3e3));
83
+ },
84
+ [p, d]
85
+ ), L = N.some(
86
+ (s) => (I.get(s)?.length ?? 0) > 0
87
+ );
88
+ return /* @__PURE__ */ l(C, { children: [
89
+ !u && /* @__PURE__ */ r(
90
+ "div",
91
+ {
92
+ className: e.sidebarOverlay,
93
+ onClick: () => m?.(!0),
94
+ "aria-hidden": "true"
95
+ }
96
+ ),
97
+ /* @__PURE__ */ l(
98
+ "aside",
99
+ {
100
+ className: [
101
+ e.sidebar,
102
+ u && e.sidebarCollapsed,
103
+ !u && e.sidebarOpen,
104
+ k
105
+ ].filter(Boolean).join(" "),
106
+ ...F,
107
+ children: [
108
+ /* @__PURE__ */ r("div", { className: e.sidebarHeader, children: j || /* @__PURE__ */ l(C, { children: [
109
+ /* @__PURE__ */ r(
110
+ "button",
111
+ {
112
+ className: [
113
+ e.inputButton,
114
+ e.inputButtonPrimary,
115
+ e.sidebarNewButton
116
+ ].filter(Boolean).join(" "),
117
+ onClick: f,
118
+ "aria-label": "New conversation",
119
+ children: /* @__PURE__ */ l("span", { className: e.sidebarNewButtonInner, children: [
120
+ /* @__PURE__ */ r(A, { size: 18 }),
121
+ /* @__PURE__ */ r("span", { children: "New Chat" })
122
+ ] })
123
+ }
124
+ ),
125
+ /* @__PURE__ */ r(
126
+ "button",
127
+ {
128
+ className: [e.inputButton, e.sidebarCloseButton].join(
129
+ " "
130
+ ),
131
+ onClick: () => m?.(!0),
132
+ "aria-label": "Close sidebar",
133
+ children: /* @__PURE__ */ r(U, { size: 20 })
134
+ }
135
+ )
136
+ ] }) }),
137
+ /* @__PURE__ */ r("div", { className: e.sidebarSearch, children: /* @__PURE__ */ l("div", { className: e.sidebarSearchWrapper, children: [
138
+ /* @__PURE__ */ r($, { size: 16, className: e.sidebarSearchIcon }),
139
+ /* @__PURE__ */ r(
140
+ "input",
141
+ {
142
+ type: "search",
143
+ className: [
144
+ e.sidebarSearchInput,
145
+ e.sidebarSearchInputWithIcon
146
+ ].join(" "),
147
+ placeholder: "Search conversations...",
148
+ value: h,
149
+ onChange: O,
150
+ "aria-label": "Search conversations"
151
+ }
152
+ )
153
+ ] }) }),
154
+ /* @__PURE__ */ r(
155
+ "div",
156
+ {
157
+ className: e.sidebarList,
158
+ role: "list",
159
+ "aria-label": "Conversations",
160
+ children: L ? N.map((s) => {
161
+ const n = I.get(s) ?? [];
162
+ return n.length === 0 ? null : /* @__PURE__ */ l("div", { children: [
163
+ /* @__PURE__ */ r("div", { className: e.sidebarGroupHeader, children: G[s] }),
164
+ n.map((i) => /* @__PURE__ */ l(
165
+ "button",
166
+ {
167
+ className: [
168
+ e.sidebarItem,
169
+ i.id === a && e.sidebarItemActive
170
+ ].filter(Boolean).join(" "),
171
+ onClick: () => P(i.id),
172
+ role: "listitem",
173
+ "aria-selected": i.id === a,
174
+ "aria-label": `Conversation: ${i.title}`,
175
+ children: [
176
+ /* @__PURE__ */ r(
177
+ T,
178
+ {
179
+ size: 18,
180
+ className: e.sidebarItemIcon
181
+ }
182
+ ),
183
+ /* @__PURE__ */ l("div", { className: e.sidebarItemContent, children: [
184
+ /* @__PURE__ */ r("span", { className: e.sidebarItemTitle, children: i.title }),
185
+ i.preview && /* @__PURE__ */ r("span", { className: e.sidebarItemPreview, children: i.preview })
186
+ ] }),
187
+ /* @__PURE__ */ r("span", { className: e.sidebarItemDate, children: H(i.updatedAt) }),
188
+ d && /* @__PURE__ */ r(
189
+ "button",
190
+ {
191
+ className: e.sidebarItemDelete,
192
+ onClick: (M) => E(M, i.id),
193
+ "aria-label": p === i.id ? `Confirm delete ${i.title}` : `Delete ${i.title}`,
194
+ children: p === i.id ? /* @__PURE__ */ r("span", { className: e.sidebarItemDeleteConfirm, children: "Delete?" }) : /* @__PURE__ */ r(q, { size: 16 })
195
+ }
196
+ )
197
+ ]
198
+ },
199
+ i.id
200
+ ))
201
+ ] }, s);
202
+ }) : /* @__PURE__ */ l("div", { className: e.sidebarEmpty, children: [
203
+ /* @__PURE__ */ r(T, { size: 32, className: e.sidebarEmptyIcon }),
204
+ /* @__PURE__ */ r("p", { children: h ? "No conversations found" : "No conversations yet" })
205
+ ] })
206
+ }
207
+ ),
208
+ v && /* @__PURE__ */ r("div", { className: e.sidebarFooter, children: v })
209
+ ]
210
+ }
211
+ )
212
+ ] });
213
+ };
214
+ R.displayName = "ChatSidebar";
215
+ export {
216
+ R as ChatSidebar
217
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("../Chat.module.css.cjs"),s=({label:t="Generating response",className:i,...n})=>a.jsx("div",{className:[e.default.message,e.default.messageAssistant,i].filter(Boolean).join(" "),role:"status","aria-live":"polite","aria-label":t,...n,children:a.jsx("div",{className:e.default.messageContent,children:a.jsx("div",{className:[e.default.messageBubble,e.default.messageBubbleAssistant,e.default.thinkingBubble].join(" "),children:a.jsx("span",{className:e.default.thinkingSpinner})})})});s.displayName="ChatTypingIndicator";exports.ChatTypingIndicator=s;
@@ -0,0 +1,31 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import e from "../Chat.module.css.mjs";
3
+ const t = ({
4
+ label: a = "Generating response",
5
+ className: i,
6
+ ...n
7
+ }) => /* @__PURE__ */ s(
8
+ "div",
9
+ {
10
+ className: [e.message, e.messageAssistant, i].filter(Boolean).join(" "),
11
+ role: "status",
12
+ "aria-live": "polite",
13
+ "aria-label": a,
14
+ ...n,
15
+ children: /* @__PURE__ */ s("div", { className: e.messageContent, children: /* @__PURE__ */ s(
16
+ "div",
17
+ {
18
+ className: [
19
+ e.messageBubble,
20
+ e.messageBubbleAssistant,
21
+ e.thinkingBubble
22
+ ].join(" "),
23
+ children: /* @__PURE__ */ s("span", { className: e.thinkingSpinner })
24
+ }
25
+ ) })
26
+ }
27
+ );
28
+ t.displayName = "ChatTypingIndicator";
29
+ export {
30
+ t as ChatTypingIndicator
31
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("lucide-react"),g=require("../hooks/useVoiceRecorder.cjs"),b=require("../utils.cjs"),r=require("../Chat.module.css.cjs"),t=({onRecordingComplete:s,onCancel:u,maxDuration:f=300,className:a,...d})=>{const{isRecording:o,duration:v,audioBlob:c,error:l,startRecording:R,stopRecording:j,cancelRecording:x,reset:n,isSupported:m}=g.useVoiceRecorder({maxDuration:f,onRecordingComplete:s,onError:B=>console.error("Recording error:",B)}),h=()=>{o?j():c?(s?.(c),n()):R()},N=()=>{x(),u?.()};return m?l?e.jsxs("div",{className:[r.default.voiceRecorder,a].filter(Boolean).join(" "),...d,children:[e.jsx("div",{className:r.default.voiceRecorderInfo,children:e.jsx("span",{className:[r.default.voiceRecorderLabel,r.default.voiceRecorderError].join(" "),children:l})}),e.jsx("button",{className:r.default.inputButton,onClick:n,"aria-label":"Try again",children:e.jsx(i.X,{size:20})})]}):e.jsxs("div",{className:[r.default.voiceRecorder,a].filter(Boolean).join(" "),...d,children:[e.jsx("button",{className:[r.default.voiceRecorderButton,!o&&!c&&r.default.voiceRecorderButtonIdle].filter(Boolean).join(" "),onClick:h,"aria-label":o?"Stop recording":c?"Send recording":"Start recording",children:o?e.jsx(i.Square,{size:20}):c?e.jsx(i.Send,{size:20}):e.jsx(i.Mic,{size:20})}),e.jsxs("div",{className:r.default.voiceRecorderInfo,children:[e.jsx("span",{className:r.default.voiceRecorderDuration,children:b.formatTime(v)}),e.jsx("span",{className:r.default.voiceRecorderLabel,children:o?"Recording...":c?"Recording ready":"Click to record"})]}),o&&e.jsxs("div",{className:r.default.voiceRecorderWaveform,children:[e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar}),e.jsx("div",{className:r.default.voiceRecorderBar})]}),(o||c)&&e.jsx("div",{className:r.default.voiceRecorderActions,children:e.jsx("button",{className:r.default.inputButton,onClick:N,"aria-label":"Cancel recording",children:e.jsx(i.X,{size:20})})})]}):e.jsx("div",{className:[r.default.voiceRecorder,a].filter(Boolean).join(" "),...d,children:e.jsx("div",{className:r.default.voiceRecorderInfo,children:e.jsx("span",{className:r.default.voiceRecorderLabel,children:"Voice recording is not supported in this browser"})})})};t.displayName="ChatVoiceRecorder";exports.ChatVoiceRecorder=t;
@@ -0,0 +1,111 @@
1
+ import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
+ import { X as t, Square as b, Send as C, Mic as j } from "lucide-react";
3
+ import { useVoiceRecorder as S } from "../hooks/useVoiceRecorder.mjs";
4
+ import { formatTime as k } from "../utils.mjs";
5
+ import e from "../Chat.module.css.mjs";
6
+ const z = ({
7
+ onRecordingComplete: d,
8
+ onCancel: v,
9
+ maxDuration: m = 300,
10
+ className: a,
11
+ ...n
12
+ }) => {
13
+ const {
14
+ isRecording: o,
15
+ duration: R,
16
+ audioBlob: i,
17
+ error: s,
18
+ startRecording: h,
19
+ stopRecording: u,
20
+ cancelRecording: N,
21
+ reset: l,
22
+ isSupported: f
23
+ } = S({
24
+ maxDuration: m,
25
+ onRecordingComplete: d,
26
+ onError: (g) => console.error("Recording error:", g)
27
+ }), p = () => {
28
+ o ? u() : i ? (d?.(i), l()) : h();
29
+ }, B = () => {
30
+ N(), v?.();
31
+ };
32
+ return f ? s ? /* @__PURE__ */ c(
33
+ "div",
34
+ {
35
+ className: [e.voiceRecorder, a].filter(Boolean).join(" "),
36
+ ...n,
37
+ children: [
38
+ /* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r(
39
+ "span",
40
+ {
41
+ className: [
42
+ e.voiceRecorderLabel,
43
+ e.voiceRecorderError
44
+ ].join(" "),
45
+ children: s
46
+ }
47
+ ) }),
48
+ /* @__PURE__ */ r(
49
+ "button",
50
+ {
51
+ className: e.inputButton,
52
+ onClick: l,
53
+ "aria-label": "Try again",
54
+ children: /* @__PURE__ */ r(t, { size: 20 })
55
+ }
56
+ )
57
+ ]
58
+ }
59
+ ) : /* @__PURE__ */ c(
60
+ "div",
61
+ {
62
+ className: [e.voiceRecorder, a].filter(Boolean).join(" "),
63
+ ...n,
64
+ children: [
65
+ /* @__PURE__ */ r(
66
+ "button",
67
+ {
68
+ className: [
69
+ e.voiceRecorderButton,
70
+ !o && !i && e.voiceRecorderButtonIdle
71
+ ].filter(Boolean).join(" "),
72
+ onClick: p,
73
+ "aria-label": o ? "Stop recording" : i ? "Send recording" : "Start recording",
74
+ children: o ? /* @__PURE__ */ r(b, { size: 20 }) : i ? /* @__PURE__ */ r(C, { size: 20 }) : /* @__PURE__ */ r(j, { size: 20 })
75
+ }
76
+ ),
77
+ /* @__PURE__ */ c("div", { className: e.voiceRecorderInfo, children: [
78
+ /* @__PURE__ */ r("span", { className: e.voiceRecorderDuration, children: k(R) }),
79
+ /* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: o ? "Recording..." : i ? "Recording ready" : "Click to record" })
80
+ ] }),
81
+ o && /* @__PURE__ */ c("div", { className: e.voiceRecorderWaveform, children: [
82
+ /* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
83
+ /* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
84
+ /* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
85
+ /* @__PURE__ */ r("div", { className: e.voiceRecorderBar }),
86
+ /* @__PURE__ */ r("div", { className: e.voiceRecorderBar })
87
+ ] }),
88
+ (o || i) && /* @__PURE__ */ r("div", { className: e.voiceRecorderActions, children: /* @__PURE__ */ r(
89
+ "button",
90
+ {
91
+ className: e.inputButton,
92
+ onClick: B,
93
+ "aria-label": "Cancel recording",
94
+ children: /* @__PURE__ */ r(t, { size: 20 })
95
+ }
96
+ ) })
97
+ ]
98
+ }
99
+ ) : /* @__PURE__ */ r(
100
+ "div",
101
+ {
102
+ className: [e.voiceRecorder, a].filter(Boolean).join(" "),
103
+ ...n,
104
+ children: /* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: "Voice recording is not supported in this browser" }) })
105
+ }
106
+ );
107
+ };
108
+ z.displayName = "ChatVoiceRecorder";
109
+ export {
110
+ z as ChatVoiceRecorder
111
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),u=require("lucide-react"),s=require("./Checkbox.module.css.cjs"),m=t.forwardRef(({label:i,helperText:n,error:a,size:j="md",indeterminate:r=!1,className:k,id:N,disabled:h,required:o,checked:v,"aria-label":f,"aria-describedby":p,...C},y)=>{const R=t.useId(),l=N||`checkbox-${R}`,x=`${l}-error`,b=`${l}-helper`,g=t.useRef(null),d=y||g;t.useEffect(()=>{d.current&&(d.current.indeterminate=r)},[r,d]);const c=[];a&&c.push(x),n&&!a&&c.push(b),p&&c.push(p);const I=c.length>0?c.join(" "):void 0;!(i||f)&&process.env.NODE_ENV==="development"&&console.warn("Checkbox: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const q=r?"mixed":void 0,M=[s.default.container,s.default[j],a&&s.default.error,h&&s.default.disabled,k].filter(Boolean).join(" ");return e.jsxs("div",{className:M,children:[e.jsx("input",{ref:d,type:"checkbox",id:l,className:s.default.input,disabled:h,required:o,checked:v,"aria-required":o||void 0,"aria-invalid":a?"true":"false","aria-checked":q,"aria-describedby":I,"aria-label":i?void 0:f,...C}),e.jsxs("label",{htmlFor:l,className:s.default.labelWrapper,children:[e.jsx("span",{className:s.default.checkbox,"aria-hidden":"true",children:e.jsx("span",{className:s.default.checkmark,children:r?e.jsx(u.Minus,{strokeWidth:3}):e.jsx(u.Check,{strokeWidth:3})})}),i&&e.jsxs("span",{className:s.default.label,children:[i,o&&e.jsx("span",{className:s.default.required,"aria-hidden":"true",children:"*"})]})]}),n&&!a&&e.jsx("p",{id:b,className:s.default.helperText,children:n}),a&&e.jsxs("p",{id:x,className:s.default.errorMessage,role:"alert","aria-live":"assertive",children:[e.jsx(u.AlertCircle,{size:14,"aria-hidden":"true"}),e.jsx("span",{children:a})]})]})});m.displayName="Checkbox";exports.Checkbox=m;
@@ -0,0 +1,84 @@
1
+ import { jsxs as l, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as A, useId as B, useRef as E, useEffect as M } from "react";
3
+ import { Minus as W, Check as $, AlertCircle as w } from "lucide-react";
4
+ import e from "./Checkbox.module.css.mjs";
5
+ const z = A(
6
+ ({
7
+ label: i,
8
+ helperText: d,
9
+ error: a,
10
+ size: b = "md",
11
+ indeterminate: r = !1,
12
+ className: k,
13
+ id: N,
14
+ disabled: h,
15
+ required: t,
16
+ checked: v,
17
+ "aria-label": p,
18
+ "aria-describedby": m,
19
+ ...x
20
+ }, C) => {
21
+ const y = B(), n = N || `checkbox-${y}`, f = `${n}-error`, u = `${n}-helper`, I = E(null), o = C || I;
22
+ M(() => {
23
+ o.current && (o.current.indeterminate = r);
24
+ }, [r, o]);
25
+ const c = [];
26
+ a && c.push(f), d && !a && c.push(u), m && c.push(m);
27
+ const g = c.length > 0 ? c.join(" ") : void 0;
28
+ !(i || p) && process.env.NODE_ENV === "development" && console.warn(
29
+ "Checkbox: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users."
30
+ );
31
+ const j = r ? "mixed" : void 0, R = [
32
+ e.container,
33
+ e[b],
34
+ a && e.error,
35
+ h && e.disabled,
36
+ k
37
+ ].filter(Boolean).join(" ");
38
+ return /* @__PURE__ */ l("div", { className: R, children: [
39
+ /* @__PURE__ */ s(
40
+ "input",
41
+ {
42
+ ref: o,
43
+ type: "checkbox",
44
+ id: n,
45
+ className: e.input,
46
+ disabled: h,
47
+ required: t,
48
+ checked: v,
49
+ "aria-required": t || void 0,
50
+ "aria-invalid": a ? "true" : "false",
51
+ "aria-checked": j,
52
+ "aria-describedby": g,
53
+ "aria-label": i ? void 0 : p,
54
+ ...x
55
+ }
56
+ ),
57
+ /* @__PURE__ */ l("label", { htmlFor: n, className: e.labelWrapper, children: [
58
+ /* @__PURE__ */ s("span", { className: e.checkbox, "aria-hidden": "true", children: /* @__PURE__ */ s("span", { className: e.checkmark, children: r ? /* @__PURE__ */ s(W, { strokeWidth: 3 }) : /* @__PURE__ */ s($, { strokeWidth: 3 }) }) }),
59
+ i && /* @__PURE__ */ l("span", { className: e.label, children: [
60
+ i,
61
+ t && /* @__PURE__ */ s("span", { className: e.required, "aria-hidden": "true", children: "*" })
62
+ ] })
63
+ ] }),
64
+ d && !a && /* @__PURE__ */ s("p", { id: u, className: e.helperText, children: d }),
65
+ a && /* @__PURE__ */ l(
66
+ "p",
67
+ {
68
+ id: f,
69
+ className: e.errorMessage,
70
+ role: "alert",
71
+ "aria-live": "assertive",
72
+ children: [
73
+ /* @__PURE__ */ s(w, { size: 14, "aria-hidden": "true" }),
74
+ /* @__PURE__ */ s("span", { children: a })
75
+ ]
76
+ }
77
+ )
78
+ ] });
79
+ }
80
+ );
81
+ z.displayName = "Checkbox";
82
+ export {
83
+ z as Checkbox
84
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),w=require("react"),e=require("./Chip.module.css.cjs"),u=w.forwardRef(({variant:c="default",size:d="md",icon:i,clickable:f=!1,onClick:s,onRemove:l,disabled:a=!1,selected:o=!1,children:h,className:p,...v},m)=>{const r=f||!!s,j=[e.default.chip,e.default[c],e.default[d],r&&e.default.clickable,o&&e.default.selected,a&&e.default.disabled,p].filter(Boolean).join(" "),k=()=>{!a&&s&&s()},x=t=>{t.stopPropagation(),!a&&l&&l()},y=t=>{a||((t.key==="Enter"||t.key===" ")&&(t.preventDefault(),s?.()),(t.key==="Backspace"||t.key==="Delete")&&(t.preventDefault(),l?.()))};return n.jsxs("div",{ref:m,className:j,role:r?"button":void 0,tabIndex:r&&!a?0:void 0,"aria-disabled":a,"aria-pressed":o,onClick:r?k:void 0,onKeyDown:r?y:void 0,...v,children:[i&&n.jsx("span",{className:e.default.icon,"aria-hidden":"true",children:i}),n.jsx("span",{className:e.default.label,children:h}),l&&n.jsx("button",{type:"button",className:e.default.removeButton,onClick:x,disabled:a,"aria-label":"Remove",children:n.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M10.5 3.5L3.5 10.5M3.5 3.5l7 7",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})});u.displayName="Chip";exports.Chip=u;
@@ -0,0 +1,86 @@
1
+ import { jsxs as y, jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as x } from "react";
3
+ import e from "./Chip.module.css.mjs";
4
+ const D = x(
5
+ ({
6
+ variant: c = "default",
7
+ size: p = "md",
8
+ icon: s,
9
+ clickable: d = !1,
10
+ onClick: n,
11
+ onRemove: i,
12
+ disabled: a = !1,
13
+ selected: l = !1,
14
+ children: f,
15
+ className: h,
16
+ ...m
17
+ }, u) => {
18
+ const o = d || !!n, v = [
19
+ e.chip,
20
+ e[c],
21
+ e[p],
22
+ o && e.clickable,
23
+ l && e.selected,
24
+ a && e.disabled,
25
+ h
26
+ ].filter(Boolean).join(" "), k = () => {
27
+ !a && n && n();
28
+ }, w = (t) => {
29
+ t.stopPropagation(), !a && i && i();
30
+ };
31
+ return /* @__PURE__ */ y(
32
+ "div",
33
+ {
34
+ ref: u,
35
+ className: v,
36
+ role: o ? "button" : void 0,
37
+ tabIndex: o && !a ? 0 : void 0,
38
+ "aria-disabled": a,
39
+ "aria-pressed": l,
40
+ onClick: o ? k : void 0,
41
+ onKeyDown: o ? (t) => {
42
+ a || ((t.key === "Enter" || t.key === " ") && (t.preventDefault(), n?.()), (t.key === "Backspace" || t.key === "Delete") && (t.preventDefault(), i?.()));
43
+ } : void 0,
44
+ ...m,
45
+ children: [
46
+ s && /* @__PURE__ */ r("span", { className: e.icon, "aria-hidden": "true", children: s }),
47
+ /* @__PURE__ */ r("span", { className: e.label, children: f }),
48
+ i && /* @__PURE__ */ r(
49
+ "button",
50
+ {
51
+ type: "button",
52
+ className: e.removeButton,
53
+ onClick: w,
54
+ disabled: a,
55
+ "aria-label": "Remove",
56
+ children: /* @__PURE__ */ r(
57
+ "svg",
58
+ {
59
+ width: "14",
60
+ height: "14",
61
+ viewBox: "0 0 14 14",
62
+ fill: "none",
63
+ xmlns: "http://www.w3.org/2000/svg",
64
+ children: /* @__PURE__ */ r(
65
+ "path",
66
+ {
67
+ d: "M10.5 3.5L3.5 10.5M3.5 3.5l7 7",
68
+ stroke: "currentColor",
69
+ strokeWidth: "1.5",
70
+ strokeLinecap: "round",
71
+ strokeLinejoin: "round"
72
+ }
73
+ )
74
+ }
75
+ )
76
+ }
77
+ )
78
+ ]
79
+ }
80
+ );
81
+ }
82
+ );
83
+ D.displayName = "Chip";
84
+ export {
85
+ D as Chip
86
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("react"),_=require("react-syntax-highlighter"),$=require("react-syntax-highlighter/dist/esm/styles/prism"),l=require("./CodeEditor.module.css.cjs"),z=require("../../contexts/ThemeContext.cjs");try{const r=require("refractor/all");r.default&&r.default.registered&&r.default.registered("markdown")&&!r.default.languages.markdown?.["quoted-string"]&&r.default.languages.insertBefore("markdown","bold",{"quoted-string":{pattern:/"(?:\\.|[^"\\])*"/,greedy:!0,alias:"string"}})}catch{}const A=i.forwardRef(({value:r="",onChange:g,language:j,readOnly:T=!1,showLineNumbers:k=!0,placeholder:C,minRows:m=10,className:B,"aria-label":S,...R},D)=>{const p=i.useRef(null),x=i.useRef(null),v=i.useRef(null),E=i.useRef(null),K=i.useRef(null),u=i.useRef(null),h=D||K,[y,F]=i.useState(0),[d,O]=i.useState([]);let q="dark";try{q=z.useThemeContext().theme}catch{}const P=q==="light"?$.oneLight:$.oneDark,L=Math.max(r.split(`
2
+ `).length,m);i.useEffect(()=>{if(u.current&&h.current){const{start:e,end:t}=u.current;h.current.setSelectionRange(e,t),u.current=null}}),i.useEffect(()=>{const e=v.current,t=E.current;if(!e||!t)return;const n=()=>{const o=t.clientWidth;if(o<=0)return;e.style.width=`${o}px`;const a=r.split(`
3
+ `),f=Math.max(a.length,m),b=[];for(let N=0;N<f;N++){const V=a[N]??"";e.textContent=V||" ",b.push(e.scrollHeight)}O(b)};n();const c=new ResizeObserver(n);return c.observe(t),()=>c.disconnect()},[r,m]),i.useEffect(()=>{const e=n=>{const c=n.target;p.current&&(p.current.scrollTop=c.scrollTop),x.current&&(x.current.scrollTop=c.scrollTop,x.current.scrollLeft=c.scrollLeft)},t=h?.current;if(t)return t.addEventListener("scroll",e),()=>{t.removeEventListener("scroll",e)}},[h]);const w=e=>{const t=e.value.substring(0,e.selectionStart);F(t.split(`
4
+ `).length-1)},H=e=>{if(e.key==="Tab"){e.preventDefault();const t=e.currentTarget,n=t.selectionStart,c=t.selectionEnd,o=" ";if(n===c){const a=r.substring(0,n)+o+r.substring(c);u.current={start:n+o.length,end:n+o.length},g?.(a)}else if(e.shiftKey){const a=r.lastIndexOf(`
5
+ `,n-1)+1,f=r.substring(a).match(/^ {1,2}/)?.[0]??"";if(f.length>0){const b=r.substring(0,a)+r.substring(a+f.length);u.current={start:Math.max(a,n-f.length),end:Math.max(a,c-f.length)},g?.(b)}}else{const a=r.substring(0,n)+o+r.substring(c);u.current={start:n+o.length,end:n+o.length},g?.(a)}}},M=[l.default.wrapper,B].filter(Boolean).join(" ");return j?s.jsxs("div",{className:M,style:{minHeight:`calc(${m} * 1.6em + 2 * var(--spacing-4))`},children:[s.jsx("div",{ref:v,className:l.default.lineMirror,"aria-hidden":"true"}),k&&s.jsx("div",{ref:p,className:l.default.lineNumbers,"aria-hidden":"true",children:Array.from({length:L}).map((e,t)=>s.jsx("div",{className:l.default.lineNumber,style:d[t]!==void 0?{height:`${d[t]}px`}:void 0,children:t+1},t))}),s.jsxs("div",{ref:E,className:l.default.editorArea,children:[s.jsx("div",{className:l.default.lineHighlight,style:{top:d.length>0?`calc(var(--spacing-4) + ${d.slice(0,y).reduce((e,t)=>e+t,0)}px)`:`calc(var(--spacing-4) + ${(y*1.6).toFixed(2)}em)`,...d[y]!==void 0?{height:`${d[y]}px`}:{}},"aria-hidden":"true"}),s.jsx("div",{ref:x,className:l.default.highlightLayer,"aria-hidden":"true",children:s.jsx(_.Prism,{language:j,style:P,customStyle:{margin:0,padding:0,background:"transparent",fontSize:"inherit",lineHeight:"inherit",fontFamily:"inherit",whiteSpace:"pre-wrap",wordBreak:"break-word",overflow:"visible"},codeTagProps:{style:{fontFamily:"inherit",background:"transparent",color:"var(--text-primary)",whiteSpace:"pre-wrap",wordBreak:"break-word"}},children:r+`
6
+ `})}),s.jsx("textarea",{ref:h,className:l.default.textareaOverlay,value:r,onChange:e=>g?.(e.target.value),onKeyDown:H,onKeyUp:e=>w(e.currentTarget),onMouseUp:e=>w(e.currentTarget),onClick:e=>w(e.currentTarget),placeholder:C,readOnly:T,"aria-label":S||"Code editor",spellCheck:"false",...R})]})]}):s.jsxs("div",{className:M,style:{minHeight:`calc(${m} * 1.6em + 2 * var(--spacing-4))`},children:[s.jsx("div",{ref:v,className:l.default.lineMirror,"aria-hidden":"true"}),k&&s.jsx("div",{ref:p,className:l.default.lineNumbers,"aria-hidden":"true",children:Array.from({length:L}).map((e,t)=>s.jsx("div",{className:l.default.lineNumber,style:d[t]!==void 0?{height:`${d[t]}px`}:void 0,children:t+1},t))}),s.jsx("textarea",{ref:h,className:l.default.textarea,value:r,onChange:e=>g?.(e.target.value),onKeyDown:H,placeholder:C,readOnly:T,"aria-label":S||"Code editor",spellCheck:"false",...R})]})});A.displayName="CodeEditor";exports.CodeEditor=A;