@orion-ds/react 4.6.3 → 4.6.6
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.
- package/AI_GUIDE.md +2 -5
- package/AI_QUICKREF.md +1 -5
- package/README.md +3 -3
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.types.d.ts.map +1 -1
- package/dist/blocks/sections/AgentFolder/AgentFolder.d.ts +5 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.d.ts.map +1 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.stories.d.ts +17 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.stories.d.ts.map +1 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.types.d.ts +97 -0
- package/dist/blocks/sections/AgentFolder/AgentFolder.types.d.ts.map +1 -0
- package/dist/blocks/sections/AgentFolder/index.d.ts +8 -0
- package/dist/blocks/sections/AgentFolder/index.d.ts.map +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Blog/Blog.d.ts.map +1 -1
- package/dist/blocks/sections/Blog/Blog.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- package/dist/blocks/sections/CTA/CTA.d.ts.map +1 -1
- package/dist/blocks/sections/CTA/CTA.stories.d.ts.map +1 -1
- package/dist/blocks/sections/CarouselSection/CarouselCard.d.ts.map +1 -1
- package/dist/blocks/sections/CarouselSection/CarouselSection.d.ts.map +1 -1
- package/dist/blocks/sections/CarouselSection/CarouselSection.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Chat/Chat.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Comparison/Comparison.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Contact/Contact.d.ts.map +1 -1
- package/dist/blocks/sections/Contact/Contact.stories.d.ts.map +1 -1
- package/dist/blocks/sections/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/blocks/sections/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/dist/blocks/sections/FAQ/FAQ.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Features/Features.d.ts.map +1 -1
- package/dist/blocks/sections/Features/Features.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Features/index.d.ts +1 -1
- package/dist/blocks/sections/Features/index.d.ts.map +1 -1
- package/dist/blocks/sections/Footer/Footer.d.ts.map +1 -1
- package/dist/blocks/sections/Gallery/Gallery.d.ts.map +1 -1
- package/dist/blocks/sections/Gallery/Gallery.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Hero/Hero.d.ts.map +1 -1
- package/dist/blocks/sections/Hero/Hero.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Hero/HeroHighlight.d.ts.map +1 -1
- package/dist/blocks/sections/LogoCloud/LogoCloud.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Newsletter/Newsletter.d.ts.map +1 -1
- package/dist/blocks/sections/Newsletter/Newsletter.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Pricing/Pricing.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Pricing/PricingCard.d.ts.map +1 -1
- package/dist/blocks/sections/Pricing/index.d.ts +1 -1
- package/dist/blocks/sections/Pricing/index.d.ts.map +1 -1
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -1
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.stories.d.ts.map +1 -1
- package/dist/blocks/sections/SocialProof/SocialProof.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Stats/Stats.d.ts.map +1 -1
- package/dist/blocks/sections/Stats/Stats.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Stepper/Stepper.d.ts.map +1 -1
- package/dist/blocks/sections/Stepper/Stepper.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Team/Team.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Testimonials/Testimonials.d.ts.map +1 -1
- package/dist/blocks/sections/Testimonials/Testimonials.stories.d.ts.map +1 -1
- package/dist/blocks/sections/Timeline/Timeline.d.ts.map +1 -1
- package/dist/blocks/sections/Timeline/Timeline.stories.d.ts.map +1 -1
- package/dist/blocks/sections/index.d.ts +2 -0
- package/dist/blocks/sections/index.d.ts.map +1 -1
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.d.ts.map +1 -1
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css +1 -1
- package/dist/blocks/templates/app/AgentWorkspace/index.d.ts +1 -1
- package/dist/blocks/templates/app/AgentWorkspace/index.d.ts.map +1 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css +1 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.stories.d.ts.map +1 -1
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css +1 -1
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css +1 -1
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.stories.d.ts.map +1 -1
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.d.ts.map +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/index.d.ts +1 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/index.d.ts.map +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/index.d.ts +1 -1
- package/dist/blocks/templates/app/SettingsTemplate/index.d.ts.map +1 -1
- package/dist/blocks.css +6 -6
- package/dist/components/ActivityFeed/ActivityFeed.module.css +1 -1
- package/dist/components/Alert/Alert.module.css +1 -1
- package/dist/components/Banner/Banner.module.css +1 -1
- package/dist/components/Calendar/Calendar.module.css +1 -1
- package/dist/components/Carousel/Carousel.module.css +1 -1
- package/dist/components/CollapsibleFolder/CollapsibleFolder.module.css +1 -1
- package/dist/components/FontLoader/FontLoader.stories.d.ts.map +1 -1
- package/dist/components/MetricCards/MetricCards.module.css +1 -1
- package/dist/components/Modal/Modal.module.css +1 -1
- package/dist/components/Navbar/Navbar.module.css +1 -1
- package/dist/components/PageHeader/PageHeader.module.css +1 -1
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.stories.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +96 -96
- package/dist/index10.cjs +1 -0
- package/dist/index10.mjs +4 -0
- package/dist/index11.cjs +1 -0
- package/dist/index11.mjs +4 -0
- package/dist/index110.cjs +1 -0
- package/dist/index110.mjs +77 -0
- package/dist/index111.cjs +1 -0
- package/dist/index111.mjs +158 -0
- package/dist/index112.cjs +1 -0
- package/dist/index112.mjs +25 -0
- package/dist/index113.cjs +1 -0
- package/dist/index113.mjs +153 -0
- package/dist/index114.cjs +1 -0
- package/dist/index114.mjs +108 -0
- package/dist/index115.cjs +1 -0
- package/dist/index115.mjs +85 -0
- package/dist/index116.cjs +1 -0
- package/dist/index116.mjs +35 -0
- package/dist/index117.cjs +1 -0
- package/dist/index117.mjs +27 -0
- package/dist/index118.cjs +1 -0
- package/dist/index118.mjs +18 -0
- package/dist/index119.cjs +1 -0
- package/dist/index119.mjs +104 -0
- package/dist/index120.cjs +1 -0
- package/dist/index120.mjs +192 -0
- package/dist/index121.cjs +1 -0
- package/dist/index121.mjs +93 -0
- package/dist/index122.cjs +1 -0
- package/dist/index122.mjs +47 -0
- package/dist/index123.cjs +1 -0
- package/dist/index123.mjs +27 -0
- package/dist/index124.cjs +1 -0
- package/dist/index124.mjs +102 -0
- package/dist/index125.cjs +1 -0
- package/dist/index125.mjs +21 -0
- package/dist/index126.cjs +1 -0
- package/dist/index126.mjs +37 -0
- package/dist/index127.cjs +1 -0
- package/dist/index127.mjs +28 -0
- package/dist/index128.cjs +1 -0
- package/dist/index128.mjs +98 -0
- package/dist/index129.cjs +1 -0
- package/dist/index129.mjs +34 -0
- package/dist/index130.cjs +1 -0
- package/dist/index130.mjs +37 -0
- package/dist/index131.cjs +1 -0
- package/dist/index131.mjs +10 -0
- package/dist/index132.cjs +1 -0
- package/dist/index132.mjs +142 -0
- package/dist/index133.cjs +1 -0
- package/dist/index133.mjs +143 -0
- package/dist/index134.cjs +1 -0
- package/dist/index134.mjs +31 -0
- package/dist/index135.cjs +1 -0
- package/dist/index135.mjs +50 -0
- package/dist/index136.cjs +1 -0
- package/dist/index136.mjs +18 -0
- package/dist/index137.cjs +1 -0
- package/dist/index137.mjs +194 -0
- package/dist/index138.cjs +1 -0
- package/dist/index138.mjs +54 -0
- package/dist/index139.cjs +1 -0
- package/dist/index139.mjs +105 -0
- package/dist/index14.cjs +1 -0
- package/dist/index14.mjs +45 -0
- package/dist/index140.cjs +1 -0
- package/dist/index140.mjs +40 -0
- package/dist/index141.cjs +1 -0
- package/dist/index141.mjs +25 -0
- package/dist/index142.cjs +1 -0
- package/dist/index142.mjs +87 -0
- package/dist/index143.cjs +1 -0
- package/dist/index143.mjs +21 -0
- package/dist/index144.cjs +1 -0
- package/dist/index144.mjs +28 -0
- package/dist/index145.cjs +1 -0
- package/dist/index145.mjs +53 -0
- package/dist/index15.cjs +1 -0
- package/dist/index15.mjs +600 -0
- package/dist/index150.cjs +1 -0
- package/dist/index150.mjs +41 -0
- package/dist/index159.cjs +1 -0
- package/dist/index159.mjs +68 -0
- package/dist/index166.cjs +1 -0
- package/dist/index166.mjs +60 -0
- package/dist/index169.cjs +1 -0
- package/dist/index169.mjs +53 -0
- package/dist/index17.cjs +1 -0
- package/dist/index17.mjs +94 -0
- package/dist/index174.cjs +1 -0
- package/dist/index174.mjs +27 -0
- package/dist/index18.cjs +1 -0
- package/dist/index18.mjs +128 -0
- package/dist/index187.cjs +1 -0
- package/dist/index187.mjs +58 -0
- package/dist/index19.cjs +1 -0
- package/dist/index19.mjs +120 -0
- package/dist/index190.cjs +1 -0
- package/dist/index190.mjs +20 -0
- package/dist/index191.cjs +1 -0
- package/dist/index191.mjs +71 -0
- package/dist/index192.cjs +1 -0
- package/dist/index192.mjs +61 -0
- package/dist/index196.cjs +1 -0
- package/dist/index196.mjs +106 -0
- package/dist/index197.cjs +1 -0
- package/dist/index197.mjs +61 -0
- package/dist/index2.cjs +1 -0
- package/dist/index2.mjs +247 -0
- package/dist/index20.cjs +1 -0
- package/dist/index20.mjs +51 -0
- package/dist/index208.cjs +1 -0
- package/dist/index208.mjs +31 -0
- package/dist/index21.cjs +1 -0
- package/dist/index21.mjs +91 -0
- package/dist/index210.cjs +1 -0
- package/dist/index210.mjs +27 -0
- package/dist/index213.cjs +1 -0
- package/dist/index213.mjs +47 -0
- package/dist/index214.cjs +1 -0
- package/dist/index214.mjs +73 -0
- package/dist/index215.cjs +1 -0
- package/dist/index215.mjs +81 -0
- package/dist/index219.cjs +1 -0
- package/dist/index219.mjs +55 -0
- package/dist/index22.cjs +1 -0
- package/dist/index22.mjs +77 -0
- package/dist/index222.cjs +1 -0
- package/dist/index222.mjs +45 -0
- package/dist/index223.cjs +1 -0
- package/dist/index223.mjs +107 -0
- package/dist/index225.cjs +1 -0
- package/dist/index225.mjs +31 -0
- package/dist/index227.cjs +1 -0
- package/dist/index227.mjs +36 -0
- package/dist/index228.cjs +1 -0
- package/dist/index228.mjs +46 -0
- package/dist/index229.cjs +1 -0
- package/dist/index229.mjs +173 -0
- package/dist/index23.cjs +1 -0
- package/dist/index23.mjs +20 -0
- package/dist/index230.cjs +1 -0
- package/dist/index230.mjs +188 -0
- package/dist/index231.cjs +1 -0
- package/dist/index231.mjs +31 -0
- package/dist/index232.cjs +1 -0
- package/dist/index232.mjs +93 -0
- package/dist/index233.cjs +1 -0
- package/dist/index233.mjs +55 -0
- package/dist/index234.cjs +1 -0
- package/dist/index234.mjs +69 -0
- package/dist/index235.cjs +1 -0
- package/dist/index235.mjs +127 -0
- package/dist/index236.cjs +1 -0
- package/dist/index236.mjs +111 -0
- package/dist/index237.cjs +1 -0
- package/dist/index237.mjs +114 -0
- package/dist/index238.cjs +1 -0
- package/dist/index238.mjs +125 -0
- package/dist/index239.cjs +1 -0
- package/dist/index239.mjs +217 -0
- package/dist/index24.cjs +1 -0
- package/dist/index24.mjs +107 -0
- package/dist/index244.cjs +1 -0
- package/dist/index244.mjs +120 -0
- package/dist/index245.cjs +1 -0
- package/dist/index245.mjs +196 -0
- package/dist/index249.cjs +1 -0
- package/dist/index249.mjs +19 -0
- package/dist/index25.cjs +1 -0
- package/dist/index25.mjs +84 -0
- package/dist/index255.cjs +1 -0
- package/dist/index255.mjs +49 -0
- package/dist/index257.cjs +1 -0
- package/dist/index257.mjs +16 -0
- package/dist/index26.cjs +1 -0
- package/dist/index26.mjs +71 -0
- package/dist/index266.cjs +1 -0
- package/dist/index266.mjs +18 -0
- package/dist/index269.cjs +1 -0
- package/dist/index269.mjs +47 -0
- package/dist/index27.cjs +1 -0
- package/dist/index27.mjs +135 -0
- package/dist/index273.cjs +1 -0
- package/dist/index273.mjs +58 -0
- package/dist/index277.cjs +1 -0
- package/dist/index277.mjs +27 -0
- package/dist/index278.cjs +1 -0
- package/dist/index278.mjs +77 -0
- package/dist/index279.cjs +1 -0
- package/dist/index279.mjs +176 -0
- package/dist/index28.cjs +1 -0
- package/dist/index28.mjs +106 -0
- package/dist/index280.cjs +1 -0
- package/dist/index280.mjs +59 -0
- package/dist/index284.cjs +1 -0
- package/dist/index284.mjs +114 -0
- package/dist/index285.cjs +1 -0
- package/dist/index285.mjs +15 -0
- package/dist/index286.cjs +1 -0
- package/dist/index286.mjs +41 -0
- package/dist/index287.cjs +1 -0
- package/dist/index287.mjs +29 -0
- package/dist/index29.cjs +1 -0
- package/dist/index29.mjs +178 -0
- package/dist/index290.cjs +1 -0
- package/dist/index290.mjs +57 -0
- package/dist/index3.cjs +1 -0
- package/dist/index3.mjs +24 -0
- package/dist/index30.cjs +1 -0
- package/dist/index30.mjs +38 -0
- package/dist/index31.cjs +1 -0
- package/dist/index31.mjs +103 -0
- package/dist/index32.cjs +1 -0
- package/dist/index32.mjs +56 -0
- package/dist/index33.cjs +1 -0
- package/dist/index33.mjs +84 -0
- package/dist/index34.cjs +1 -0
- package/dist/index34.mjs +86 -0
- package/dist/index35.cjs +6 -0
- package/dist/index35.mjs +255 -0
- package/dist/index36.cjs +1 -0
- package/dist/index36.mjs +114 -0
- package/dist/index37.cjs +1 -0
- package/dist/index37.mjs +196 -0
- package/dist/index38.cjs +1 -0
- package/dist/index38.mjs +271 -0
- package/dist/index39.cjs +1 -0
- package/dist/index39.mjs +248 -0
- package/dist/index4.cjs +1 -0
- package/dist/index4.mjs +43 -0
- package/dist/index40.cjs +1 -0
- package/dist/index40.mjs +193 -0
- package/dist/index41.cjs +1 -0
- package/dist/index41.mjs +26 -0
- package/dist/index42.cjs +1 -0
- package/dist/index42.mjs +339 -0
- package/dist/index43.cjs +1 -0
- package/dist/index43.mjs +104 -0
- package/dist/index44.cjs +1 -0
- package/dist/index44.mjs +103 -0
- package/dist/index45.cjs +1 -0
- package/dist/index45.mjs +48 -0
- package/dist/index46.cjs +1 -0
- package/dist/index46.mjs +132 -0
- package/dist/index47.cjs +1 -0
- package/dist/index47.mjs +176 -0
- package/dist/index48.cjs +1 -0
- package/dist/index48.mjs +30 -0
- package/dist/index49.cjs +1 -0
- package/dist/index49.mjs +43 -0
- package/dist/index5.cjs +1 -0
- package/dist/index5.mjs +74 -0
- package/dist/index50.cjs +1 -0
- package/dist/index50.mjs +107 -0
- package/dist/index51.cjs +1 -0
- package/dist/index51.mjs +202 -0
- package/dist/index52.cjs +1 -0
- package/dist/index52.mjs +164 -0
- package/dist/index53.cjs +1 -0
- package/dist/index53.mjs +47 -0
- package/dist/index54.cjs +1 -0
- package/dist/index54.mjs +84 -0
- package/dist/index55.cjs +1 -0
- package/dist/index55.mjs +54 -0
- package/dist/index56.cjs +3 -0
- package/dist/index56.mjs +205 -0
- package/dist/index58.cjs +1 -0
- package/dist/index58.mjs +143 -0
- package/dist/index59.cjs +1 -0
- package/dist/index59.mjs +190 -0
- package/dist/index6.cjs +1 -0
- package/dist/index6.mjs +18 -0
- package/dist/index60.cjs +1 -0
- package/dist/index60.mjs +106 -0
- package/dist/index61.cjs +1 -0
- package/dist/index61.mjs +82 -0
- package/dist/index62.cjs +1 -0
- package/dist/index62.mjs +95 -0
- package/dist/index63.cjs +1 -0
- package/dist/index63.mjs +125 -0
- package/dist/index64.cjs +1 -0
- package/dist/index64.mjs +72 -0
- package/dist/index65.cjs +1 -0
- package/dist/index65.mjs +273 -0
- package/dist/index66.cjs +1 -0
- package/dist/index66.mjs +129 -0
- package/dist/index67.cjs +1 -0
- package/dist/index67.mjs +172 -0
- package/dist/index68.cjs +1 -0
- package/dist/index68.mjs +105 -0
- package/dist/index69.cjs +1 -0
- package/dist/index69.mjs +136 -0
- package/dist/index7.cjs +1 -0
- package/dist/index7.mjs +9 -0
- package/dist/index70.cjs +1 -0
- package/dist/index70.mjs +191 -0
- package/dist/index71.cjs +1 -0
- package/dist/index71.mjs +54 -0
- package/dist/index72.cjs +1 -0
- package/dist/index72.mjs +148 -0
- package/dist/index73.cjs +1 -0
- package/dist/index73.mjs +76 -0
- package/dist/index74.cjs +1 -0
- package/dist/index74.mjs +87 -0
- package/dist/index75.cjs +1 -0
- package/dist/index75.mjs +36 -0
- package/dist/index76.cjs +1 -0
- package/dist/index76.mjs +84 -0
- package/dist/index77.cjs +1 -0
- package/dist/index77.mjs +153 -0
- package/dist/index78.cjs +1 -0
- package/dist/index78.mjs +54 -0
- package/dist/index79.cjs +1 -0
- package/dist/index79.mjs +109 -0
- package/dist/index8.cjs +1 -0
- package/dist/index8.mjs +6 -0
- package/dist/index80.cjs +1 -0
- package/dist/index80.mjs +28 -0
- package/dist/index81.cjs +1 -0
- package/dist/index81.mjs +31 -0
- package/dist/index82.cjs +1 -0
- package/dist/index82.mjs +133 -0
- package/dist/index83.cjs +1 -0
- package/dist/index83.mjs +80 -0
- package/dist/index84.cjs +1 -0
- package/dist/index84.mjs +101 -0
- package/dist/index85.cjs +1 -0
- package/dist/index85.mjs +97 -0
- package/dist/index86.cjs +1 -0
- package/dist/index86.mjs +118 -0
- package/dist/index87.cjs +1 -0
- package/dist/index87.mjs +389 -0
- package/dist/index88.cjs +38 -0
- package/dist/index88.mjs +98 -0
- package/dist/index89.cjs +1 -0
- package/dist/index89.mjs +225 -0
- package/dist/index9.cjs +1 -0
- package/dist/index9.mjs +4 -0
- package/dist/index90.cjs +1 -0
- package/dist/index90.mjs +48 -0
- package/dist/index91.cjs +1 -0
- package/dist/index91.mjs +101 -0
- package/dist/index92.cjs +1 -0
- package/dist/index92.mjs +39 -0
- package/dist/index93.cjs +1 -0
- package/dist/index93.mjs +161 -0
- package/dist/index94.cjs +1 -0
- package/dist/index94.mjs +119 -0
- package/dist/styles.css +56 -8634
- package/dist/theme.css +46 -8625
- package/package.json +1 -1
- package/dist/ComponentShowcase.cjs +0 -1
- package/dist/ComponentShowcase.mjs +0 -600
- package/dist/blocks/index.cjs +0 -1
- package/dist/blocks/index.mjs +0 -72
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +0 -2
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +0 -78
- package/dist/blocks/sections/AppDownload/AppDownload.cjs +0 -2
- package/dist/blocks/sections/AppDownload/AppDownload.mjs +0 -109
- package/dist/blocks/sections/Blog/Blog.cjs +0 -2
- package/dist/blocks/sections/Blog/Blog.mjs +0 -86
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +0 -2
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +0 -36
- package/dist/blocks/sections/CTA/CTA.cjs +0 -2
- package/dist/blocks/sections/CTA/CTA.mjs +0 -22
- package/dist/blocks/sections/CarouselSection/CarouselCard.cjs +0 -1
- package/dist/blocks/sections/CarouselSection/CarouselCard.mjs +0 -18
- package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +0 -2
- package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +0 -105
- package/dist/blocks/sections/Chat/Chat.cjs +0 -2
- package/dist/blocks/sections/Chat/Chat.mjs +0 -94
- package/dist/blocks/sections/Comparison/Comparison.cjs +0 -2
- package/dist/blocks/sections/Comparison/Comparison.mjs +0 -48
- package/dist/blocks/sections/Contact/Contact.cjs +0 -2
- package/dist/blocks/sections/Contact/Contact.mjs +0 -28
- package/dist/blocks/sections/EmptyState/EmptyState.cjs +0 -2
- package/dist/blocks/sections/EmptyState/EmptyState.mjs +0 -16
- package/dist/blocks/sections/FAQ/FAQ.cjs +0 -2
- package/dist/blocks/sections/FAQ/FAQ.mjs +0 -38
- package/dist/blocks/sections/FAQ/FAQItemCard.cjs +0 -1
- package/dist/blocks/sections/FAQ/FAQItemCard.mjs +0 -58
- package/dist/blocks/sections/Features/FeatureCard.cjs +0 -1
- package/dist/blocks/sections/Features/FeatureCard.mjs +0 -16
- package/dist/blocks/sections/Features/Features.cjs +0 -2
- package/dist/blocks/sections/Features/Features.mjs +0 -22
- package/dist/blocks/sections/Footer/Footer.cjs +0 -2
- package/dist/blocks/sections/Footer/Footer.mjs +0 -91
- package/dist/blocks/sections/Gallery/Gallery.cjs +0 -2
- package/dist/blocks/sections/Gallery/Gallery.mjs +0 -28
- package/dist/blocks/sections/Hero/Hero.cjs +0 -2
- package/dist/blocks/sections/Hero/Hero.mjs +0 -38
- package/dist/blocks/sections/Hero/HeroHighlight.cjs +0 -1
- package/dist/blocks/sections/Hero/HeroHighlight.mjs +0 -10
- package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +0 -2
- package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +0 -32
- package/dist/blocks/sections/Newsletter/Newsletter.cjs +0 -2
- package/dist/blocks/sections/Newsletter/Newsletter.mjs +0 -51
- package/dist/blocks/sections/Pricing/Pricing.cjs +0 -2
- package/dist/blocks/sections/Pricing/Pricing.mjs +0 -19
- package/dist/blocks/sections/Pricing/PricingCard.cjs +0 -1
- package/dist/blocks/sections/Pricing/PricingCard.mjs +0 -49
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +0 -2
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +0 -55
- package/dist/blocks/sections/SocialProof/SocialProof.cjs +0 -2
- package/dist/blocks/sections/SocialProof/SocialProof.mjs +0 -41
- package/dist/blocks/sections/Stats/StatItemCard.cjs +0 -1
- package/dist/blocks/sections/Stats/StatItemCard.mjs +0 -18
- package/dist/blocks/sections/Stats/Stats.cjs +0 -2
- package/dist/blocks/sections/Stats/Stats.mjs +0 -26
- package/dist/blocks/sections/Stepper/Stepper.cjs +0 -2
- package/dist/blocks/sections/Stepper/Stepper.mjs +0 -88
- package/dist/blocks/sections/Team/Team.cjs +0 -2
- package/dist/blocks/sections/Team/Team.mjs +0 -22
- package/dist/blocks/sections/Team/TeamMemberCard.cjs +0 -1
- package/dist/blocks/sections/Team/TeamMemberCard.mjs +0 -19
- package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +0 -1
- package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +0 -47
- package/dist/blocks/sections/Testimonials/Testimonials.cjs +0 -2
- package/dist/blocks/sections/Testimonials/Testimonials.mjs +0 -29
- package/dist/blocks/sections/Timeline/Timeline.cjs +0 -2
- package/dist/blocks/sections/Timeline/Timeline.mjs +0 -54
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.cjs +0 -2
- package/dist/blocks/templates/app/AgentEditor/AgentEditor.mjs +0 -151
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.cjs +0 -2
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.mjs +0 -154
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.cjs +0 -1
- package/dist/blocks/templates/app/AgentWorkspace/AgentWorkspace.module.css.mjs +0 -55
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.cjs +0 -2
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.mjs +0 -193
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs +0 -81
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.cjs +0 -2
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.mjs +0 -103
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.cjs +0 -1
- package/dist/blocks/templates/app/DashboardTemplate/DashboardTemplate.module.css.mjs +0 -73
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.cjs +0 -2
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.mjs +0 -143
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.cjs +0 -1
- package/dist/blocks/templates/app/KanbanPageTemplate/KanbanPageTemplate.module.css.mjs +0 -61
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.cjs +0 -2
- package/dist/blocks/templates/app/LoginTemplate/LoginTemplate.mjs +0 -144
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.cjs +0 -2
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.mjs +0 -195
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.cjs +0 -1
- package/dist/blocks/templates/app/ProfilePageTemplate/ProfilePageTemplate.module.css.mjs +0 -61
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.cjs +0 -2
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.mjs +0 -106
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.cjs +0 -1
- package/dist/blocks/templates/app/SettingsTemplate/SettingsTemplate.module.css.mjs +0 -45
- package/dist/calendar.cjs +0 -2
- package/dist/calendar.mjs +0 -7
- package/dist/chart.cjs +0 -2
- package/dist/chart.mjs +0 -10
- package/dist/client.cjs +0 -2
- package/dist/client.mjs +0 -248
- package/dist/components/Accordion/Accordion.cjs +0 -2
- package/dist/components/Accordion/Accordion.mjs +0 -95
- package/dist/components/ActivityFeed/ActivityFeed.cjs +0 -2
- package/dist/components/ActivityFeed/ActivityFeed.mjs +0 -129
- package/dist/components/ActivityFeed/ActivityFeed.module.css.cjs +0 -1
- package/dist/components/ActivityFeed/ActivityFeed.module.css.mjs +0 -68
- package/dist/components/AgentCard/AgentCard.cjs +0 -2
- package/dist/components/AgentCard/AgentCard.mjs +0 -121
- package/dist/components/Alert/Alert.cjs +0 -2
- package/dist/components/Alert/Alert.mjs +0 -52
- package/dist/components/Alert/Alert.module.css.cjs +0 -1
- package/dist/components/Alert/Alert.module.css.mjs +0 -27
- package/dist/components/AlertDialog/AlertDialog.cjs +0 -2
- package/dist/components/AlertDialog/AlertDialog.mjs +0 -92
- package/dist/components/Avatar/Avatar.cjs +0 -2
- package/dist/components/Avatar/Avatar.mjs +0 -78
- package/dist/components/Badge/Badge.cjs +0 -2
- package/dist/components/Badge/Badge.mjs +0 -21
- package/dist/components/Banner/Banner.cjs +0 -2
- package/dist/components/Banner/Banner.mjs +0 -108
- package/dist/components/Banner/Banner.module.css.cjs +0 -1
- package/dist/components/Banner/Banner.module.css.mjs +0 -27
- package/dist/components/Breadcrumb/Breadcrumb.cjs +0 -2
- package/dist/components/Breadcrumb/Breadcrumb.mjs +0 -85
- package/dist/components/Button/Button.cjs +0 -2
- package/dist/components/Button/Button.mjs +0 -72
- package/dist/components/Calendar/Calendar.cjs +0 -2
- package/dist/components/Calendar/Calendar.mjs +0 -136
- package/dist/components/Calendar/Calendar.module.css.cjs +0 -1
- package/dist/components/Calendar/Calendar.module.css.mjs +0 -31
- package/dist/components/Card/Card.cjs +0 -2
- package/dist/components/Card/Card.mjs +0 -107
- package/dist/components/Carousel/Carousel.cjs +0 -2
- package/dist/components/Carousel/Carousel.mjs +0 -179
- package/dist/components/Carousel/Carousel.module.css.cjs +0 -1
- package/dist/components/Carousel/Carousel.module.css.mjs +0 -60
- package/dist/components/Carousel/CarouselCard.cjs +0 -1
- package/dist/components/Carousel/CarouselCard.mjs +0 -38
- package/dist/components/Chart/Chart.cjs +0 -2
- package/dist/components/Chart/Chart.mjs +0 -104
- package/dist/components/Chat/Chat.cjs +0 -2
- package/dist/components/Chat/Chat.mjs +0 -57
- package/dist/components/Chat/components/ChatAttachment.cjs +0 -2
- package/dist/components/Chat/components/ChatAttachment.mjs +0 -126
- package/dist/components/Chat/components/ChatAudioPlayer.cjs +0 -2
- package/dist/components/Chat/components/ChatAudioPlayer.mjs +0 -128
- package/dist/components/Chat/components/ChatCodeBlock.cjs +0 -2
- package/dist/components/Chat/components/ChatCodeBlock.mjs +0 -94
- package/dist/components/Chat/components/ChatFileUpload.cjs +0 -2
- package/dist/components/Chat/components/ChatFileUpload.mjs +0 -115
- package/dist/components/Chat/components/ChatHeader.cjs +0 -1
- package/dist/components/Chat/components/ChatHeader.mjs +0 -36
- package/dist/components/Chat/components/ChatImagePreview.cjs +0 -2
- package/dist/components/Chat/components/ChatImagePreview.mjs +0 -70
- package/dist/components/Chat/components/ChatInput.cjs +0 -2
- package/dist/components/Chat/components/ChatInput.mjs +0 -189
- package/dist/components/Chat/components/ChatLightbox.cjs +0 -2
- package/dist/components/Chat/components/ChatLightbox.mjs +0 -58
- package/dist/components/Chat/components/ChatMarkdown.cjs +0 -2
- package/dist/components/Chat/components/ChatMarkdown.mjs +0 -56
- package/dist/components/Chat/components/ChatMessage.cjs +0 -2
- package/dist/components/Chat/components/ChatMessage.mjs +0 -174
- package/dist/components/Chat/components/ChatMessages.cjs +0 -2
- package/dist/components/Chat/components/ChatMessages.mjs +0 -47
- package/dist/components/Chat/components/ChatSidebar.cjs +0 -2
- package/dist/components/Chat/components/ChatSidebar.mjs +0 -218
- package/dist/components/Chat/components/ChatTypingIndicator.cjs +0 -1
- package/dist/components/Chat/components/ChatTypingIndicator.mjs +0 -31
- package/dist/components/Chat/components/ChatVoiceRecorder.cjs +0 -2
- package/dist/components/Chat/components/ChatVoiceRecorder.mjs +0 -112
- package/dist/components/Checkbox/Checkbox.cjs +0 -2
- package/dist/components/Checkbox/Checkbox.mjs +0 -85
- package/dist/components/Chip/Chip.cjs +0 -2
- package/dist/components/Chip/Chip.mjs +0 -87
- package/dist/components/CodeEditor/CodeEditor.cjs +0 -7
- package/dist/components/CodeEditor/CodeEditor.mjs +0 -256
- package/dist/components/Collapsible/Collapsible.cjs +0 -2
- package/dist/components/Collapsible/Collapsible.mjs +0 -115
- package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +0 -2
- package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +0 -197
- package/dist/components/CollapsibleFolder/CollapsibleFolder.module.css.cjs +0 -1
- package/dist/components/CollapsibleFolder/CollapsibleFolder.module.css.mjs +0 -41
- package/dist/components/Combobox/Combobox.cjs +0 -2
- package/dist/components/Combobox/Combobox.mjs +0 -272
- package/dist/components/Command/Command.cjs +0 -2
- package/dist/components/Command/Command.mjs +0 -249
- package/dist/components/CommandBar/CommandBar.cjs +0 -2
- package/dist/components/CommandBar/CommandBar.mjs +0 -194
- package/dist/components/DataTable/DataTable.cjs +0 -2
- package/dist/components/DataTable/DataTable.mjs +0 -340
- package/dist/components/DatePicker/DatePicker.cjs +0 -2
- package/dist/components/DatePicker/DatePicker.mjs +0 -105
- package/dist/components/DetailPanel/DetailPanel.cjs +0 -2
- package/dist/components/DetailPanel/DetailPanel.mjs +0 -104
- package/dist/components/Divider/Divider.cjs +0 -2
- package/dist/components/Divider/Divider.mjs +0 -49
- package/dist/components/Drawer/Drawer.cjs +0 -2
- package/dist/components/Drawer/Drawer.mjs +0 -133
- package/dist/components/Dropdown/Dropdown.cjs +0 -2
- package/dist/components/Dropdown/Dropdown.mjs +0 -177
- package/dist/components/EmptyState/EmptyState.cjs +0 -2
- package/dist/components/EmptyState/EmptyState.mjs +0 -31
- package/dist/components/ErrorBoundary/ErrorBoundary.cjs +0 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.mjs +0 -44
- package/dist/components/Field/Field.cjs +0 -2
- package/dist/components/Field/Field.mjs +0 -108
- package/dist/components/FileUploader/FileUploader.cjs +0 -2
- package/dist/components/FileUploader/FileUploader.mjs +0 -203
- package/dist/components/FilterBar/FilterBar.cjs +0 -2
- package/dist/components/FilterBar/FilterBar.mjs +0 -165
- package/dist/components/FontLoader/FontLoader.cjs +0 -2
- package/dist/components/FontLoader/FontLoader.mjs +0 -48
- package/dist/components/FormSection/FormSection.cjs +0 -2
- package/dist/components/FormSection/FormSection.mjs +0 -85
- package/dist/components/Icon/Icon.cjs +0 -2
- package/dist/components/Icon/Icon.mjs +0 -55
- package/dist/components/IconGallery/IconGallery.cjs +0 -4
- package/dist/components/IconGallery/IconGallery.mjs +0 -206
- package/dist/components/InputOTP/InputOTP.cjs +0 -2
- package/dist/components/InputOTP/InputOTP.mjs +0 -144
- package/dist/components/KanbanBoard/KanbanBoard.cjs +0 -2
- package/dist/components/KanbanBoard/KanbanBoard.mjs +0 -191
- package/dist/components/Link/Link.cjs +0 -2
- package/dist/components/Link/Link.mjs +0 -83
- package/dist/components/List/List.cjs +0 -2
- package/dist/components/List/List.mjs +0 -96
- package/dist/components/MetricCards/MetricCards.cjs +0 -2
- package/dist/components/MetricCards/MetricCards.mjs +0 -126
- package/dist/components/MetricCards/MetricCards.module.css.cjs +0 -1
- package/dist/components/MetricCards/MetricCards.module.css.mjs +0 -47
- package/dist/components/Modal/Modal.cjs +0 -2
- package/dist/components/Modal/Modal.mjs +0 -73
- package/dist/components/Modal/Modal.module.css.cjs +0 -1
- package/dist/components/Modal/Modal.module.css.mjs +0 -31
- package/dist/components/NavTree/NavTree.cjs +0 -2
- package/dist/components/NavTree/NavTree.mjs +0 -274
- package/dist/components/Navbar/Navbar.cjs +0 -2
- package/dist/components/Navbar/Navbar.mjs +0 -130
- package/dist/components/Navbar/Navbar.module.css.cjs +0 -1
- package/dist/components/Navbar/Navbar.module.css.mjs +0 -53
- package/dist/components/NotificationCenter/NotificationCenter.cjs +0 -2
- package/dist/components/NotificationCenter/NotificationCenter.mjs +0 -173
- package/dist/components/PageHeader/PageHeader.cjs +0 -2
- package/dist/components/PageHeader/PageHeader.mjs +0 -106
- package/dist/components/PageHeader/PageHeader.module.css.cjs +0 -1
- package/dist/components/PageHeader/PageHeader.module.css.mjs +0 -58
- package/dist/components/Pagination/Pagination.cjs +0 -2
- package/dist/components/Pagination/Pagination.mjs +0 -137
- package/dist/components/Popover/Popover.cjs +0 -2
- package/dist/components/Popover/Popover.mjs +0 -192
- package/dist/components/ProgressBar/ProgressBar.cjs +0 -2
- package/dist/components/ProgressBar/ProgressBar.mjs +0 -55
- package/dist/components/QuickActions/QuickActions.cjs +0 -2
- package/dist/components/QuickActions/QuickActions.mjs +0 -149
- package/dist/components/Radio/Radio.cjs +0 -2
- package/dist/components/Radio/Radio.mjs +0 -77
- package/dist/components/SearchInput/SearchInput.cjs +0 -2
- package/dist/components/SearchInput/SearchInput.mjs +0 -88
- package/dist/components/Select/Select.cjs +0 -2
- package/dist/components/Select/Select.mjs +0 -85
- package/dist/components/Sidebar/Sidebar.cjs +0 -2
- package/dist/components/Sidebar/Sidebar.mjs +0 -154
- package/dist/components/Skeleton/Skeleton.cjs +0 -2
- package/dist/components/Skeleton/Skeleton.mjs +0 -55
- package/dist/components/Slider/Slider.cjs +0 -2
- package/dist/components/Slider/Slider.mjs +0 -110
- package/dist/components/Spinner/Spinner.cjs +0 -2
- package/dist/components/Spinner/Spinner.mjs +0 -29
- package/dist/components/Stack/Stack.cjs +0 -2
- package/dist/components/Stack/Stack.mjs +0 -32
- package/dist/components/Stepper/Stepper.cjs +0 -2
- package/dist/components/Stepper/Stepper.mjs +0 -134
- package/dist/components/Switch/Switch.cjs +0 -2
- package/dist/components/Switch/Switch.mjs +0 -81
- package/dist/components/Table/Table.cjs +0 -2
- package/dist/components/Table/Table.mjs +0 -102
- package/dist/components/Tabs/Tabs.cjs +0 -2
- package/dist/components/Tabs/Tabs.mjs +0 -98
- package/dist/components/Textarea/Textarea.cjs +0 -2
- package/dist/components/Textarea/Textarea.mjs +0 -119
- package/dist/components/ThemeController/ThemeController.cjs +0 -2
- package/dist/components/ThemeController/ThemeController.mjs +0 -390
- package/dist/components/Toast/Toast.cjs +0 -2
- package/dist/components/Toast/Toast.mjs +0 -226
- package/dist/components/Toggle/Toggle.cjs +0 -2
- package/dist/components/Toggle/Toggle.mjs +0 -49
- package/dist/components/ToggleGroup/ToggleGroup.cjs +0 -2
- package/dist/components/ToggleGroup/ToggleGroup.mjs +0 -102
- package/dist/components/Tooltip/Tooltip.cjs +0 -2
- package/dist/components/Tooltip/Tooltip.mjs +0 -40
- package/dist/components/UserMenu/UserMenu.cjs +0 -2
- package/dist/components/UserMenu/UserMenu.mjs +0 -162
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +0 -2
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +0 -120
- package/dist/contexts/ThemeContext.cjs +0 -39
- package/dist/contexts/ThemeContext.mjs +0 -99
- package/dist/dist/components/Badge/Badge.cjs +0 -2
- package/dist/dist/components/Badge/Badge.mjs +0 -21
- package/dist/dist/components/Button/Button.cjs +0 -2
- package/dist/dist/components/Button/Button.mjs +0 -72
- package/dist/dist/components/Card/Card.cjs +0 -2
- package/dist/dist/components/Card/Card.mjs +0 -107
- package/dist/dist/components/Field/Field.cjs +0 -2
- package/dist/dist/components/Field/Field.mjs +0 -108
- package/dist/dnd.cjs +0 -2
- package/dist/dnd.mjs +0 -5
- package/dist/editor.cjs +0 -2
- package/dist/editor.mjs +0 -5
- package/dist/examples/LandingPage.example.cjs +0 -1
- package/dist/examples/LandingPage.example.mjs +0 -106
- package/dist/rich.cjs +0 -2
- package/dist/rich.mjs +0 -5
- package/dist/sections/Container/Container.cjs +0 -1
- package/dist/sections/Container/Container.mjs +0 -26
- package/dist/sections/Section/Section.cjs +0 -1
- package/dist/sections/Section/Section.mjs +0 -36
- package/dist/sections/index.cjs +0 -1
- package/dist/sections/index.mjs +0 -43
- package/dist/templates/index.cjs +0 -1
- package/dist/templates/index.mjs +0 -18
- package/dist/tokens/index.cjs +0 -1
- package/dist/tokens/index.mjs +0 -24
- package/dist/tokens/utils.cjs +0 -1
- package/dist/tokens/utils.mjs +0 -45
- /package/dist/{hooks/useDisclosure.cjs → index100.cjs} +0 -0
- /package/dist/{hooks/useDisclosure.mjs → index100.mjs} +0 -0
- /package/dist/{hooks/useMediaQuery.cjs → index101.cjs} +0 -0
- /package/dist/{hooks/useMediaQuery.mjs → index101.mjs} +0 -0
- /package/dist/{hooks/useKeyboard.cjs → index102.cjs} +0 -0
- /package/dist/{hooks/useKeyboard.mjs → index102.mjs} +0 -0
- /package/dist/{hooks/useLocalStorage.cjs → index103.cjs} +0 -0
- /package/dist/{hooks/useLocalStorage.mjs → index103.mjs} +0 -0
- /package/dist/{components/Chat/hooks/useStreamingText.cjs → index104.cjs} +0 -0
- /package/dist/{components/Chat/hooks/useStreamingText.mjs → index104.mjs} +0 -0
- /package/dist/{hooks/useTheme.cjs → index105.cjs} +0 -0
- /package/dist/{hooks/useTheme.mjs → index105.mjs} +0 -0
- /package/dist/{components/Chat/hooks/useVoiceRecorder.cjs → index106.cjs} +0 -0
- /package/dist/{components/Chat/hooks/useVoiceRecorder.mjs → index106.mjs} +0 -0
- /package/dist/{utils/validation.cjs → index107.cjs} +0 -0
- /package/dist/{utils/validation.mjs → index107.mjs} +0 -0
- /package/dist/{tokens/themes.cjs → index108.cjs} +0 -0
- /package/dist/{tokens/themes.mjs → index108.mjs} +0 -0
- /package/dist/{tokens/brands.cjs → index109.cjs} +0 -0
- /package/dist/{tokens/brands.mjs → index109.mjs} +0 -0
- /package/dist/{tokens/primitives.cjs → index13.cjs} +0 -0
- /package/dist/{tokens/primitives.mjs → index13.mjs} +0 -0
- /package/dist/{sections/Container/Container.module.css.cjs → index146.cjs} +0 -0
- /package/dist/{sections/Container/Container.module.css.mjs → index146.mjs} +0 -0
- /package/dist/{components/Button/Button.module.css.cjs → index147.cjs} +0 -0
- /package/dist/{components/Button/Button.module.css.mjs → index147.mjs} +0 -0
- /package/dist/{components/Toggle/Toggle.module.css.cjs → index148.cjs} +0 -0
- /package/dist/{components/Toggle/Toggle.module.css.mjs → index148.mjs} +0 -0
- /package/dist/{components/Combobox/Combobox.module.css.cjs → index149.cjs} +0 -0
- /package/dist/{components/Combobox/Combobox.module.css.mjs → index149.mjs} +0 -0
- /package/dist/{components/Field/Field.module.css.cjs → index151.cjs} +0 -0
- /package/dist/{components/Field/Field.module.css.mjs → index151.mjs} +0 -0
- /package/dist/{components/AgentCard/AgentCard.module.css.cjs → index152.cjs} +0 -0
- /package/dist/{components/AgentCard/AgentCard.module.css.mjs → index152.mjs} +0 -0
- /package/dist/{components/Switch/Switch.module.css.cjs → index153.cjs} +0 -0
- /package/dist/{components/Switch/Switch.module.css.mjs → index153.mjs} +0 -0
- /package/dist/{components/Icon/Icon.module.css.cjs → index154.cjs} +0 -0
- /package/dist/{components/Icon/Icon.module.css.mjs → index154.mjs} +0 -0
- /package/dist/{components/Stepper/Stepper.module.css.cjs → index155.cjs} +0 -0
- /package/dist/{components/Stepper/Stepper.module.css.mjs → index155.mjs} +0 -0
- /package/dist/{components/Collapsible/Collapsible.module.css.cjs → index156.cjs} +0 -0
- /package/dist/{components/Collapsible/Collapsible.module.css.mjs → index156.mjs} +0 -0
- /package/dist/{components/Link/Link.module.css.cjs → index157.cjs} +0 -0
- /package/dist/{components/Link/Link.module.css.mjs → index157.mjs} +0 -0
- /package/dist/{components/Checkbox/Checkbox.module.css.cjs → index158.cjs} +0 -0
- /package/dist/{components/Checkbox/Checkbox.module.css.mjs → index158.mjs} +0 -0
- /package/dist/{utils/fonts.cjs → index16.cjs} +0 -0
- /package/dist/{utils/fonts.mjs → index16.mjs} +0 -0
- /package/dist/{components/Card/Card.module.css.cjs → index160.cjs} +0 -0
- /package/dist/{components/Card/Card.module.css.mjs → index160.mjs} +0 -0
- /package/dist/{components/Textarea/Textarea.module.css.cjs → index161.cjs} +0 -0
- /package/dist/{components/Textarea/Textarea.module.css.mjs → index161.mjs} +0 -0
- /package/dist/{components/ToggleGroup/ToggleGroup.module.css.cjs → index162.cjs} +0 -0
- /package/dist/{components/ToggleGroup/ToggleGroup.module.css.mjs → index162.mjs} +0 -0
- /package/dist/{components/DetailPanel/DetailPanel.module.css.cjs → index163.cjs} +0 -0
- /package/dist/{components/DetailPanel/DetailPanel.module.css.mjs → index163.mjs} +0 -0
- /package/dist/{components/Divider/Divider.module.css.cjs → index164.cjs} +0 -0
- /package/dist/{components/Divider/Divider.module.css.mjs → index164.mjs} +0 -0
- /package/dist/{components/EmptyState/EmptyState.module.css.cjs → index165.cjs} +0 -0
- /package/dist/{components/EmptyState/EmptyState.module.css.mjs → index165.mjs} +0 -0
- /package/dist/{components/Slider/Slider.module.css.cjs → index167.cjs} +0 -0
- /package/dist/{components/Slider/Slider.module.css.mjs → index167.mjs} +0 -0
- /package/dist/{components/AlertDialog/AlertDialog.module.css.cjs → index168.cjs} +0 -0
- /package/dist/{components/AlertDialog/AlertDialog.module.css.mjs → index168.mjs} +0 -0
- /package/dist/{components/Chip/Chip.module.css.cjs → index170.cjs} +0 -0
- /package/dist/{components/Chip/Chip.module.css.mjs → index170.mjs} +0 -0
- /package/dist/{components/Tabs/Tabs.module.css.cjs → index171.cjs} +0 -0
- /package/dist/{components/Tabs/Tabs.module.css.mjs → index171.mjs} +0 -0
- /package/dist/{components/Avatar/Avatar.module.css.cjs → index172.cjs} +0 -0
- /package/dist/{components/Avatar/Avatar.module.css.mjs → index172.mjs} +0 -0
- /package/dist/{components/List/List.module.css.cjs → index173.cjs} +0 -0
- /package/dist/{components/List/List.module.css.mjs → index173.mjs} +0 -0
- /package/dist/{components/Pagination/Pagination.module.css.cjs → index175.cjs} +0 -0
- /package/dist/{components/Pagination/Pagination.module.css.mjs → index175.mjs} +0 -0
- /package/dist/{components/Toast/Toast.module.css.cjs → index176.cjs} +0 -0
- /package/dist/{components/Toast/Toast.module.css.mjs → index176.mjs} +0 -0
- /package/dist/{components/Skeleton/Skeleton.module.css.cjs → index177.cjs} +0 -0
- /package/dist/{components/Skeleton/Skeleton.module.css.mjs → index177.mjs} +0 -0
- /package/dist/{components/FileUploader/FileUploader.module.css.cjs → index178.cjs} +0 -0
- /package/dist/{components/FileUploader/FileUploader.module.css.mjs → index178.mjs} +0 -0
- /package/dist/{components/DataTable/DataTable.module.css.cjs → index179.cjs} +0 -0
- /package/dist/{components/DataTable/DataTable.module.css.mjs → index179.mjs} +0 -0
- /package/dist/{components/Tooltip/Tooltip.module.css.cjs → index180.cjs} +0 -0
- /package/dist/{components/Tooltip/Tooltip.module.css.mjs → index180.mjs} +0 -0
- /package/dist/{components/Table/Table.module.css.cjs → index181.cjs} +0 -0
- /package/dist/{components/Table/Table.module.css.mjs → index181.mjs} +0 -0
- /package/dist/{components/Breadcrumb/Breadcrumb.module.css.cjs → index182.cjs} +0 -0
- /package/dist/{components/Breadcrumb/Breadcrumb.module.css.mjs → index182.mjs} +0 -0
- /package/dist/{components/Command/Command.module.css.cjs → index183.cjs} +0 -0
- /package/dist/{components/Command/Command.module.css.mjs → index183.mjs} +0 -0
- /package/dist/{components/Dropdown/Dropdown.module.css.cjs → index184.cjs} +0 -0
- /package/dist/{components/Dropdown/Dropdown.module.css.mjs → index184.mjs} +0 -0
- /package/dist/{components/Spinner/Spinner.module.css.cjs → index185.cjs} +0 -0
- /package/dist/{components/Spinner/Spinner.module.css.mjs → index185.mjs} +0 -0
- /package/dist/{components/NotificationCenter/NotificationCenter.module.css.cjs → index186.cjs} +0 -0
- /package/dist/{components/NotificationCenter/NotificationCenter.module.css.mjs → index186.mjs} +0 -0
- /package/dist/{components/SearchInput/SearchInput.module.css.cjs → index188.cjs} +0 -0
- /package/dist/{components/SearchInput/SearchInput.module.css.mjs → index188.mjs} +0 -0
- /package/dist/{components/NavTree/NavTree.module.css.cjs → index189.cjs} +0 -0
- /package/dist/{components/NavTree/NavTree.module.css.mjs → index189.mjs} +0 -0
- /package/dist/{components/ProgressBar/ProgressBar.module.css.cjs → index193.cjs} +0 -0
- /package/dist/{components/ProgressBar/ProgressBar.module.css.mjs → index193.mjs} +0 -0
- /package/dist/{components/Accordion/Accordion.module.css.cjs → index194.cjs} +0 -0
- /package/dist/{components/Accordion/Accordion.module.css.mjs → index194.mjs} +0 -0
- /package/dist/{components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs → index195.cjs} +0 -0
- /package/dist/{components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs → index195.mjs} +0 -0
- /package/dist/{components/CommandBar/CommandBar.module.css.cjs → index198.cjs} +0 -0
- /package/dist/{components/CommandBar/CommandBar.module.css.mjs → index198.mjs} +0 -0
- /package/dist/{components/Radio/Radio.module.css.cjs → index199.cjs} +0 -0
- /package/dist/{components/Radio/Radio.module.css.mjs → index199.mjs} +0 -0
- /package/dist/{components/IconGallery/IconGallery.module.css.cjs → index200.cjs} +0 -0
- /package/dist/{components/IconGallery/IconGallery.module.css.mjs → index200.mjs} +0 -0
- /package/dist/{components/Badge/Badge.module.css.cjs → index201.cjs} +0 -0
- /package/dist/{components/Badge/Badge.module.css.mjs → index201.mjs} +0 -0
- /package/dist/{components/UserMenu/UserMenu.module.css.cjs → index202.cjs} +0 -0
- /package/dist/{components/UserMenu/UserMenu.module.css.mjs → index202.mjs} +0 -0
- /package/dist/{components/Chart/useResolvedChartColors.cjs → index203.cjs} +0 -0
- /package/dist/{components/Chart/useResolvedChartColors.mjs → index203.mjs} +0 -0
- /package/dist/{components/Chart/Chart.module.css.cjs → index204.cjs} +0 -0
- /package/dist/{components/Chart/Chart.module.css.mjs → index204.mjs} +0 -0
- /package/dist/{components/Stack/Stack.module.css.cjs → index205.cjs} +0 -0
- /package/dist/{components/Stack/Stack.module.css.mjs → index205.mjs} +0 -0
- /package/dist/{components/Popover/Popover.module.css.cjs → index206.cjs} +0 -0
- /package/dist/{components/Popover/Popover.module.css.mjs → index206.mjs} +0 -0
- /package/dist/{components/Drawer/Drawer.module.css.cjs → index207.cjs} +0 -0
- /package/dist/{components/Drawer/Drawer.module.css.mjs → index207.mjs} +0 -0
- /package/dist/{components/ErrorBoundary/ErrorBoundary.module.css.cjs → index209.cjs} +0 -0
- /package/dist/{components/ErrorBoundary/ErrorBoundary.module.css.mjs → index209.mjs} +0 -0
- /package/dist/{components/InputOTP/InputOTP.module.css.cjs → index211.cjs} +0 -0
- /package/dist/{components/InputOTP/InputOTP.module.css.mjs → index211.mjs} +0 -0
- /package/dist/{components/Select/Select.module.css.cjs → index212.cjs} +0 -0
- /package/dist/{components/Select/Select.module.css.mjs → index212.mjs} +0 -0
- /package/dist/{sections/Section/Section.module.css.cjs → index216.cjs} +0 -0
- /package/dist/{sections/Section/Section.module.css.mjs → index216.mjs} +0 -0
- /package/dist/{components/KanbanBoard/KanbanBoard.module.css.cjs → index217.cjs} +0 -0
- /package/dist/{components/KanbanBoard/KanbanBoard.module.css.mjs → index217.mjs} +0 -0
- /package/dist/{components/FormSection/FormSection.module.css.cjs → index218.cjs} +0 -0
- /package/dist/{components/FormSection/FormSection.module.css.mjs → index218.mjs} +0 -0
- /package/dist/{components/FilterBar/FilterBar.module.css.cjs → index220.cjs} +0 -0
- /package/dist/{components/FilterBar/FilterBar.module.css.mjs → index220.mjs} +0 -0
- /package/dist/{components/DatePicker/DatePicker.module.css.cjs → index221.cjs} +0 -0
- /package/dist/{components/DatePicker/DatePicker.module.css.mjs → index221.mjs} +0 -0
- /package/dist/{blocks/templates/app/LoginTemplate/LoginTemplate.module.css.cjs → index224.cjs} +0 -0
- /package/dist/{blocks/templates/app/LoginTemplate/LoginTemplate.module.css.mjs → index224.mjs} +0 -0
- /package/dist/{components/Chat/Chat.module.css.cjs → index226.cjs} +0 -0
- /package/dist/{components/Chat/Chat.module.css.mjs → index226.mjs} +0 -0
- /package/dist/{components/QuickActions/QuickActions.module.css.cjs → index240.cjs} +0 -0
- /package/dist/{components/QuickActions/QuickActions.module.css.mjs → index240.mjs} +0 -0
- /package/dist/{blocks/templates/app/AgentEditor/AgentEditor.module.css.cjs → index241.cjs} +0 -0
- /package/dist/{blocks/templates/app/AgentEditor/AgentEditor.module.css.mjs → index241.mjs} +0 -0
- /package/dist/{components/CodeEditor/CodeEditor.module.css.cjs → index242.cjs} +0 -0
- /package/dist/{components/CodeEditor/CodeEditor.module.css.mjs → index242.mjs} +0 -0
- /package/dist/{components/Sidebar/Sidebar.module.css.cjs → index243.cjs} +0 -0
- /package/dist/{components/Sidebar/Sidebar.module.css.mjs → index243.mjs} +0 -0
- /package/dist/{blocks/sections/LogoCloud/LogoCloud.module.css.cjs → index246.cjs} +0 -0
- /package/dist/{blocks/sections/LogoCloud/LogoCloud.module.css.mjs → index246.mjs} +0 -0
- /package/dist/{blocks/sections/SocialProof/SocialProof.module.css.cjs → index247.cjs} +0 -0
- /package/dist/{blocks/sections/SocialProof/SocialProof.module.css.mjs → index247.mjs} +0 -0
- /package/dist/{blocks/sections/Hero/Hero.module.css.cjs → index248.cjs} +0 -0
- /package/dist/{blocks/sections/Hero/Hero.module.css.mjs → index248.mjs} +0 -0
- /package/dist/{blocks/sections/Team/Team.module.css.cjs → index250.cjs} +0 -0
- /package/dist/{blocks/sections/Team/Team.module.css.mjs → index250.mjs} +0 -0
- /package/dist/{blocks/sections/AppDownload/AppDownload.module.css.cjs → index251.cjs} +0 -0
- /package/dist/{blocks/sections/AppDownload/AppDownload.module.css.mjs → index251.mjs} +0 -0
- /package/dist/{blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs → index252.cjs} +0 -0
- /package/dist/{blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs → index252.mjs} +0 -0
- /package/dist/{blocks/sections/Newsletter/Newsletter.module.css.cjs → index253.cjs} +0 -0
- /package/dist/{blocks/sections/Newsletter/Newsletter.module.css.mjs → index253.mjs} +0 -0
- /package/dist/{blocks/sections/CarouselSection/CarouselSection.module.css.cjs → index254.cjs} +0 -0
- /package/dist/{blocks/sections/CarouselSection/CarouselSection.module.css.mjs → index254.mjs} +0 -0
- /package/dist/{blocks/sections/Pricing/Pricing.module.css.cjs → index256.cjs} +0 -0
- /package/dist/{blocks/sections/Pricing/Pricing.module.css.mjs → index256.mjs} +0 -0
- /package/dist/{blocks/sections/Features/Features.module.css.cjs → index258.cjs} +0 -0
- /package/dist/{blocks/sections/Features/Features.module.css.mjs → index258.mjs} +0 -0
- /package/dist/{blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs → index259.cjs} +0 -0
- /package/dist/{blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs → index259.mjs} +0 -0
- /package/dist/{blocks/sections/Footer/Footer.module.css.cjs → index260.cjs} +0 -0
- /package/dist/{blocks/sections/Footer/Footer.module.css.mjs → index260.mjs} +0 -0
- /package/dist/{blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs → index261.cjs} +0 -0
- /package/dist/{blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs → index261.mjs} +0 -0
- /package/dist/{blocks/sections/Stepper/Stepper.module.css.cjs → index262.cjs} +0 -0
- /package/dist/{blocks/sections/Stepper/Stepper.module.css.mjs → index262.mjs} +0 -0
- /package/dist/{blocks/sections/Timeline/Timeline.module.css.cjs → index263.cjs} +0 -0
- /package/dist/{blocks/sections/Timeline/Timeline.module.css.mjs → index263.mjs} +0 -0
- /package/dist/{blocks/sections/Blog/Blog.module.css.cjs → index264.cjs} +0 -0
- /package/dist/{blocks/sections/Blog/Blog.module.css.mjs → index264.mjs} +0 -0
- /package/dist/{blocks/sections/Chat/Chat.module.css.cjs → index265.cjs} +0 -0
- /package/dist/{blocks/sections/Chat/Chat.module.css.mjs → index265.mjs} +0 -0
- /package/dist/{blocks/sections/Stats/Stats.module.css.cjs → index267.cjs} +0 -0
- /package/dist/{blocks/sections/Stats/Stats.module.css.mjs → index267.mjs} +0 -0
- /package/dist/{blocks/sections/Gallery/Gallery.module.css.cjs → index268.cjs} +0 -0
- /package/dist/{blocks/sections/Gallery/Gallery.module.css.mjs → index268.mjs} +0 -0
- /package/dist/{blocks/sections/Testimonials/Testimonials.module.css.cjs → index270.cjs} +0 -0
- /package/dist/{blocks/sections/Testimonials/Testimonials.module.css.mjs → index270.mjs} +0 -0
- /package/dist/{blocks/sections/EmptyState/EmptyState.module.css.cjs → index271.cjs} +0 -0
- /package/dist/{blocks/sections/EmptyState/EmptyState.module.css.mjs → index271.mjs} +0 -0
- /package/dist/{blocks/sections/Comparison/Comparison.module.css.cjs → index272.cjs} +0 -0
- /package/dist/{blocks/sections/Comparison/Comparison.module.css.mjs → index272.mjs} +0 -0
- /package/dist/{blocks/sections/FAQ/FAQ.module.css.cjs → index274.cjs} +0 -0
- /package/dist/{blocks/sections/FAQ/FAQ.module.css.mjs → index274.mjs} +0 -0
- /package/dist/{blocks/sections/CTA/CTA.module.css.cjs → index275.cjs} +0 -0
- /package/dist/{blocks/sections/CTA/CTA.module.css.mjs → index275.mjs} +0 -0
- /package/dist/{blocks/sections/Contact/Contact.module.css.cjs → index276.cjs} +0 -0
- /package/dist/{blocks/sections/Contact/Contact.module.css.mjs → index276.mjs} +0 -0
- /package/dist/{dist/components/Badge/Badge.module.css.cjs → index281.cjs} +0 -0
- /package/dist/{dist/components/Badge/Badge.module.css.mjs → index281.mjs} +0 -0
- /package/dist/{dist/components/Button/Button.module.css.cjs → index282.cjs} +0 -0
- /package/dist/{dist/components/Button/Button.module.css.mjs → index282.mjs} +0 -0
- /package/dist/{dist/components/Card/Card.module.css.cjs → index283.cjs} +0 -0
- /package/dist/{dist/components/Card/Card.module.css.mjs → index283.mjs} +0 -0
- /package/dist/{dist/components/Field/Field.module.css.cjs → index288.cjs} +0 -0
- /package/dist/{dist/components/Field/Field.module.css.mjs → index288.mjs} +0 -0
- /package/dist/{components/Chat/utils.cjs → index289.cjs} +0 -0
- /package/dist/{components/Chat/utils.mjs → index289.mjs} +0 -0
- /package/dist/{utils/icons.cjs → index57.cjs} +0 -0
- /package/dist/{utils/icons.mjs → index57.mjs} +0 -0
- /package/dist/{components/Chat/hooks/useAutoScroll.cjs → index95.cjs} +0 -0
- /package/dist/{components/Chat/hooks/useAutoScroll.mjs → index95.mjs} +0 -0
- /package/dist/{components/Chat/hooks/useChatInput.cjs → index96.cjs} +0 -0
- /package/dist/{components/Chat/hooks/useChatInput.mjs → index96.mjs} +0 -0
- /package/dist/{hooks/useClickOutside.cjs → index97.cjs} +0 -0
- /package/dist/{hooks/useClickOutside.mjs → index97.mjs} +0 -0
- /package/dist/{hooks/useCopyToClipboard.cjs → index98.cjs} +0 -0
- /package/dist/{hooks/useCopyToClipboard.mjs → index98.mjs} +0 -0
- /package/dist/{hooks/useDebounce.cjs → index99.cjs} +0 -0
- /package/dist/{hooks/useDebounce.mjs → index99.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("lucide-react"),t=require("../Chat.module.css.cjs"),O={today:"Today",yesterday:"Yesterday",previous7:"Previous 7 days",previous30:"Previous 30 days",older:"Older"},y=["today","yesterday","previous7","previous30","older"],C=a=>{const r=new Date,u=(new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime()-new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime())/(1e3*60*60*24);return u<1?"today":u<2?"yesterday":u<7?"previous7":u<30?"previous30":"older"},P=a=>{const r=C(a);return r==="today"?new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit"}).format(a):r==="yesterday"?"Yesterday":r==="previous7"?new Intl.DateTimeFormat("en-US",{weekday:"short"}).format(a):new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(a)},z=a=>{const r=new Map;return y.forEach(n=>r.set(n,[])),a.forEach(n=>{const b=C(n.updatedAt);r.get(b)?.push(n)}),r},S=({conversations:a=[],activeConversationId:r,onSelectConversation:n,onNewConversation:b,onDeleteConversation:u,onSearch:x,header:w,footer:N,collapsed:m=!1,onCollapsedChange:f,className:I,...D})=>{const[h,T]=d.useState(""),[p,j]=d.useState(null),o=d.useRef(void 0);d.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);const g=d.useMemo(()=>{if(!h.trim())return a;const s=h.toLowerCase();return a.filter(l=>l.title.toLowerCase().includes(s)||l.preview?.toLowerCase().includes(s))},[a,h]),v=d.useMemo(()=>z(g),[g]),B=d.useCallback(s=>{const l=s.target.value;T(l),x?.(l)},[x]),k=d.useCallback(s=>{n?.(s),m&&f&&f(!0)},[n,m,f]),F=d.useCallback((s,l)=>{s.stopPropagation(),p===l?(u?.(l),j(null),o.current&&clearTimeout(o.current)):(j(l),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{j(null)},3e3))},[p,u]),M=y.some(s=>(v.get(s)?.length??0)>0);return e.jsxs(e.Fragment,{children:[!m&&e.jsx("div",{className:t.default.sidebarOverlay,onClick:()=>f?.(!0),"aria-hidden":"true"}),e.jsxs("aside",{className:[t.default.sidebar,m&&t.default.sidebarCollapsed,!m&&t.default.sidebarOpen,I].filter(Boolean).join(" "),...D,children:[e.jsx("div",{className:t.default.sidebarHeader,children:w||e.jsxs(e.Fragment,{children:[e.jsx("button",{className:[t.default.inputButton,t.default.inputButtonPrimary,t.default.sidebarNewButton].filter(Boolean).join(" "),onClick:b,"aria-label":"New conversation",children:e.jsxs("span",{className:t.default.sidebarNewButtonInner,children:[e.jsx(c.Plus,{size:18}),e.jsx("span",{children:"New Chat"})]})}),e.jsx("button",{className:[t.default.inputButton,t.default.sidebarCloseButton].join(" "),onClick:()=>f?.(!0),"aria-label":"Close sidebar",children:e.jsx(c.X,{size:20})})]})}),e.jsx("div",{className:t.default.sidebarSearch,children:e.jsxs("div",{className:t.default.sidebarSearchWrapper,children:[e.jsx(c.Search,{size:16,className:t.default.sidebarSearchIcon}),e.jsx("input",{type:"search",className:[t.default.sidebarSearchInput,t.default.sidebarSearchInputWithIcon].join(" "),placeholder:"Search conversations...",value:h,onChange:B,"aria-label":"Search conversations"})]})}),e.jsx("div",{className:t.default.sidebarList,role:"list","aria-label":"Conversations",children:M?y.map(s=>{const l=v.get(s)??[];return l.length===0?null:e.jsxs("div",{children:[e.jsx("div",{className:t.default.sidebarGroupHeader,children:O[s]}),l.map(i=>e.jsxs("button",{className:[t.default.sidebarItem,i.id===r&&t.default.sidebarItemActive].filter(Boolean).join(" "),onClick:()=>k(i.id),role:"listitem","aria-selected":i.id===r,"aria-label":`Conversation: ${i.title}`,children:[e.jsx(c.MessageSquare,{size:18,className:t.default.sidebarItemIcon}),e.jsxs("div",{className:t.default.sidebarItemContent,children:[e.jsx("span",{className:t.default.sidebarItemTitle,children:i.title}),i.preview&&e.jsx("span",{className:t.default.sidebarItemPreview,children:i.preview})]}),e.jsx("span",{className:t.default.sidebarItemDate,children:P(i.updatedAt)}),u&&e.jsx("button",{className:t.default.sidebarItemDelete,onClick:q=>F(q,i.id),"aria-label":p===i.id?`Confirm delete ${i.title}`:`Delete ${i.title}`,children:p===i.id?e.jsx("span",{className:t.default.sidebarItemDeleteConfirm,children:"Delete?"}):e.jsx(c.Trash2,{size:16})})]},i.id))]},s)}):e.jsxs("div",{className:t.default.sidebarEmpty,children:[e.jsx(c.MessageSquare,{size:32,className:t.default.sidebarEmptyIcon}),e.jsx("p",{children:h?"No conversations found":"No conversations yet"})]})}),N&&e.jsx("div",{className:t.default.sidebarFooter,children:N})]})]})};S.displayName="ChatSidebar";exports.ChatSidebar=S;
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as l, Fragment as C, jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { useState as D, useRef as Y, useEffect as x, useMemo as S, useCallback as y } from "react";
|
|
4
|
-
import { Plus as A, X as U, Search as $, MessageSquare as T, Trash2 as q } from "lucide-react";
|
|
5
|
-
import e from "../Chat.module.css.mjs";
|
|
6
|
-
const G = {
|
|
7
|
-
today: "Today",
|
|
8
|
-
yesterday: "Yesterday",
|
|
9
|
-
previous7: "Previous 7 days",
|
|
10
|
-
previous30: "Previous 30 days",
|
|
11
|
-
older: "Older"
|
|
12
|
-
}, N = [
|
|
13
|
-
"today",
|
|
14
|
-
"yesterday",
|
|
15
|
-
"previous7",
|
|
16
|
-
"previous30",
|
|
17
|
-
"older"
|
|
18
|
-
], B = (t) => {
|
|
19
|
-
const a = /* @__PURE__ */ new Date(), d = (new Date(
|
|
20
|
-
a.getFullYear(),
|
|
21
|
-
a.getMonth(),
|
|
22
|
-
a.getDate()
|
|
23
|
-
).getTime() - new Date(t.getFullYear(), t.getMonth(), t.getDate()).getTime()) / (1e3 * 60 * 60 * 24);
|
|
24
|
-
return d < 1 ? "today" : d < 2 ? "yesterday" : d < 7 ? "previous7" : d < 30 ? "previous30" : "older";
|
|
25
|
-
}, H = (t) => {
|
|
26
|
-
const a = B(t);
|
|
27
|
-
return a === "today" ? new Intl.DateTimeFormat("en-US", {
|
|
28
|
-
hour: "numeric",
|
|
29
|
-
minute: "2-digit"
|
|
30
|
-
}).format(t) : a === "yesterday" ? "Yesterday" : a === "previous7" ? new Intl.DateTimeFormat("en-US", {
|
|
31
|
-
weekday: "short"
|
|
32
|
-
}).format(t) : new Intl.DateTimeFormat("en-US", {
|
|
33
|
-
month: "short",
|
|
34
|
-
day: "numeric"
|
|
35
|
-
}).format(t);
|
|
36
|
-
}, Q = (t) => {
|
|
37
|
-
const a = /* @__PURE__ */ new Map();
|
|
38
|
-
return N.forEach((o) => a.set(o, [])), t.forEach((o) => {
|
|
39
|
-
const f = B(o.updatedAt);
|
|
40
|
-
a.get(f)?.push(o);
|
|
41
|
-
}), a;
|
|
42
|
-
}, R = ({
|
|
43
|
-
conversations: t = [],
|
|
44
|
-
activeConversationId: a,
|
|
45
|
-
onSelectConversation: o,
|
|
46
|
-
onNewConversation: f,
|
|
47
|
-
onDeleteConversation: d,
|
|
48
|
-
onSearch: g,
|
|
49
|
-
header: j,
|
|
50
|
-
footer: v,
|
|
51
|
-
collapsed: u = !1,
|
|
52
|
-
onCollapsedChange: m,
|
|
53
|
-
className: k,
|
|
54
|
-
...F
|
|
55
|
-
}) => {
|
|
56
|
-
const [h, z] = D(""), [p, b] = D(null), c = Y(
|
|
57
|
-
void 0
|
|
58
|
-
);
|
|
59
|
-
x(() => () => {
|
|
60
|
-
c.current && clearTimeout(c.current);
|
|
61
|
-
}, []);
|
|
62
|
-
const w = S(() => {
|
|
63
|
-
if (!h.trim()) return t;
|
|
64
|
-
const s = h.toLowerCase();
|
|
65
|
-
return t.filter(
|
|
66
|
-
(n) => n.title.toLowerCase().includes(s) || n.preview?.toLowerCase().includes(s)
|
|
67
|
-
);
|
|
68
|
-
}, [t, h]), I = S(() => Q(w), [w]), O = y(
|
|
69
|
-
(s) => {
|
|
70
|
-
const n = s.target.value;
|
|
71
|
-
z(n), g?.(n);
|
|
72
|
-
},
|
|
73
|
-
[g]
|
|
74
|
-
), P = y(
|
|
75
|
-
(s) => {
|
|
76
|
-
o?.(s), u && m && m(!0);
|
|
77
|
-
},
|
|
78
|
-
[o, u, m]
|
|
79
|
-
), E = y(
|
|
80
|
-
(s, n) => {
|
|
81
|
-
s.stopPropagation(), p === n ? (d?.(n), b(null), c.current && clearTimeout(c.current)) : (b(n), c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
82
|
-
b(null);
|
|
83
|
-
}, 3e3));
|
|
84
|
-
},
|
|
85
|
-
[p, d]
|
|
86
|
-
), L = N.some(
|
|
87
|
-
(s) => (I.get(s)?.length ?? 0) > 0
|
|
88
|
-
);
|
|
89
|
-
return /* @__PURE__ */ l(C, { children: [
|
|
90
|
-
!u && /* @__PURE__ */ r(
|
|
91
|
-
"div",
|
|
92
|
-
{
|
|
93
|
-
className: e.sidebarOverlay,
|
|
94
|
-
onClick: () => m?.(!0),
|
|
95
|
-
"aria-hidden": "true"
|
|
96
|
-
}
|
|
97
|
-
),
|
|
98
|
-
/* @__PURE__ */ l(
|
|
99
|
-
"aside",
|
|
100
|
-
{
|
|
101
|
-
className: [
|
|
102
|
-
e.sidebar,
|
|
103
|
-
u && e.sidebarCollapsed,
|
|
104
|
-
!u && e.sidebarOpen,
|
|
105
|
-
k
|
|
106
|
-
].filter(Boolean).join(" "),
|
|
107
|
-
...F,
|
|
108
|
-
children: [
|
|
109
|
-
/* @__PURE__ */ r("div", { className: e.sidebarHeader, children: j || /* @__PURE__ */ l(C, { children: [
|
|
110
|
-
/* @__PURE__ */ r(
|
|
111
|
-
"button",
|
|
112
|
-
{
|
|
113
|
-
className: [
|
|
114
|
-
e.inputButton,
|
|
115
|
-
e.inputButtonPrimary,
|
|
116
|
-
e.sidebarNewButton
|
|
117
|
-
].filter(Boolean).join(" "),
|
|
118
|
-
onClick: f,
|
|
119
|
-
"aria-label": "New conversation",
|
|
120
|
-
children: /* @__PURE__ */ l("span", { className: e.sidebarNewButtonInner, children: [
|
|
121
|
-
/* @__PURE__ */ r(A, { size: 18 }),
|
|
122
|
-
/* @__PURE__ */ r("span", { children: "New Chat" })
|
|
123
|
-
] })
|
|
124
|
-
}
|
|
125
|
-
),
|
|
126
|
-
/* @__PURE__ */ r(
|
|
127
|
-
"button",
|
|
128
|
-
{
|
|
129
|
-
className: [e.inputButton, e.sidebarCloseButton].join(
|
|
130
|
-
" "
|
|
131
|
-
),
|
|
132
|
-
onClick: () => m?.(!0),
|
|
133
|
-
"aria-label": "Close sidebar",
|
|
134
|
-
children: /* @__PURE__ */ r(U, { size: 20 })
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] }) }),
|
|
138
|
-
/* @__PURE__ */ r("div", { className: e.sidebarSearch, children: /* @__PURE__ */ l("div", { className: e.sidebarSearchWrapper, children: [
|
|
139
|
-
/* @__PURE__ */ r($, { size: 16, className: e.sidebarSearchIcon }),
|
|
140
|
-
/* @__PURE__ */ r(
|
|
141
|
-
"input",
|
|
142
|
-
{
|
|
143
|
-
type: "search",
|
|
144
|
-
className: [
|
|
145
|
-
e.sidebarSearchInput,
|
|
146
|
-
e.sidebarSearchInputWithIcon
|
|
147
|
-
].join(" "),
|
|
148
|
-
placeholder: "Search conversations...",
|
|
149
|
-
value: h,
|
|
150
|
-
onChange: O,
|
|
151
|
-
"aria-label": "Search conversations"
|
|
152
|
-
}
|
|
153
|
-
)
|
|
154
|
-
] }) }),
|
|
155
|
-
/* @__PURE__ */ r(
|
|
156
|
-
"div",
|
|
157
|
-
{
|
|
158
|
-
className: e.sidebarList,
|
|
159
|
-
role: "list",
|
|
160
|
-
"aria-label": "Conversations",
|
|
161
|
-
children: L ? N.map((s) => {
|
|
162
|
-
const n = I.get(s) ?? [];
|
|
163
|
-
return n.length === 0 ? null : /* @__PURE__ */ l("div", { children: [
|
|
164
|
-
/* @__PURE__ */ r("div", { className: e.sidebarGroupHeader, children: G[s] }),
|
|
165
|
-
n.map((i) => /* @__PURE__ */ l(
|
|
166
|
-
"button",
|
|
167
|
-
{
|
|
168
|
-
className: [
|
|
169
|
-
e.sidebarItem,
|
|
170
|
-
i.id === a && e.sidebarItemActive
|
|
171
|
-
].filter(Boolean).join(" "),
|
|
172
|
-
onClick: () => P(i.id),
|
|
173
|
-
role: "listitem",
|
|
174
|
-
"aria-selected": i.id === a,
|
|
175
|
-
"aria-label": `Conversation: ${i.title}`,
|
|
176
|
-
children: [
|
|
177
|
-
/* @__PURE__ */ r(
|
|
178
|
-
T,
|
|
179
|
-
{
|
|
180
|
-
size: 18,
|
|
181
|
-
className: e.sidebarItemIcon
|
|
182
|
-
}
|
|
183
|
-
),
|
|
184
|
-
/* @__PURE__ */ l("div", { className: e.sidebarItemContent, children: [
|
|
185
|
-
/* @__PURE__ */ r("span", { className: e.sidebarItemTitle, children: i.title }),
|
|
186
|
-
i.preview && /* @__PURE__ */ r("span", { className: e.sidebarItemPreview, children: i.preview })
|
|
187
|
-
] }),
|
|
188
|
-
/* @__PURE__ */ r("span", { className: e.sidebarItemDate, children: H(i.updatedAt) }),
|
|
189
|
-
d && /* @__PURE__ */ r(
|
|
190
|
-
"button",
|
|
191
|
-
{
|
|
192
|
-
className: e.sidebarItemDelete,
|
|
193
|
-
onClick: (M) => E(M, i.id),
|
|
194
|
-
"aria-label": p === i.id ? `Confirm delete ${i.title}` : `Delete ${i.title}`,
|
|
195
|
-
children: p === i.id ? /* @__PURE__ */ r("span", { className: e.sidebarItemDeleteConfirm, children: "Delete?" }) : /* @__PURE__ */ r(q, { size: 16 })
|
|
196
|
-
}
|
|
197
|
-
)
|
|
198
|
-
]
|
|
199
|
-
},
|
|
200
|
-
i.id
|
|
201
|
-
))
|
|
202
|
-
] }, s);
|
|
203
|
-
}) : /* @__PURE__ */ l("div", { className: e.sidebarEmpty, children: [
|
|
204
|
-
/* @__PURE__ */ r(T, { size: 32, className: e.sidebarEmptyIcon }),
|
|
205
|
-
/* @__PURE__ */ r("p", { children: h ? "No conversations found" : "No conversations yet" })
|
|
206
|
-
] })
|
|
207
|
-
}
|
|
208
|
-
),
|
|
209
|
-
v && /* @__PURE__ */ r("div", { className: e.sidebarFooter, children: v })
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
)
|
|
213
|
-
] });
|
|
214
|
-
};
|
|
215
|
-
R.displayName = "ChatSidebar";
|
|
216
|
-
export {
|
|
217
|
-
R as ChatSidebar
|
|
218
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"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;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
3
|
-
import { X as t, Square as b, Send as C, Mic as j } from "lucide-react";
|
|
4
|
-
import { useVoiceRecorder as S } from "../hooks/useVoiceRecorder.mjs";
|
|
5
|
-
import { formatTime as k } from "../utils.mjs";
|
|
6
|
-
import e from "../Chat.module.css.mjs";
|
|
7
|
-
const z = ({
|
|
8
|
-
onRecordingComplete: d,
|
|
9
|
-
onCancel: v,
|
|
10
|
-
maxDuration: m = 300,
|
|
11
|
-
className: a,
|
|
12
|
-
...n
|
|
13
|
-
}) => {
|
|
14
|
-
const {
|
|
15
|
-
isRecording: o,
|
|
16
|
-
duration: R,
|
|
17
|
-
audioBlob: i,
|
|
18
|
-
error: s,
|
|
19
|
-
startRecording: h,
|
|
20
|
-
stopRecording: u,
|
|
21
|
-
cancelRecording: N,
|
|
22
|
-
reset: l,
|
|
23
|
-
isSupported: f
|
|
24
|
-
} = S({
|
|
25
|
-
maxDuration: m,
|
|
26
|
-
onRecordingComplete: d,
|
|
27
|
-
onError: (g) => console.error("Recording error:", g)
|
|
28
|
-
}), p = () => {
|
|
29
|
-
o ? u() : i ? (d?.(i), l()) : h();
|
|
30
|
-
}, B = () => {
|
|
31
|
-
N(), v?.();
|
|
32
|
-
};
|
|
33
|
-
return f ? s ? /* @__PURE__ */ c(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
37
|
-
...n,
|
|
38
|
-
children: [
|
|
39
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r(
|
|
40
|
-
"span",
|
|
41
|
-
{
|
|
42
|
-
className: [
|
|
43
|
-
e.voiceRecorderLabel,
|
|
44
|
-
e.voiceRecorderError
|
|
45
|
-
].join(" "),
|
|
46
|
-
children: s
|
|
47
|
-
}
|
|
48
|
-
) }),
|
|
49
|
-
/* @__PURE__ */ r(
|
|
50
|
-
"button",
|
|
51
|
-
{
|
|
52
|
-
className: e.inputButton,
|
|
53
|
-
onClick: l,
|
|
54
|
-
"aria-label": "Try again",
|
|
55
|
-
children: /* @__PURE__ */ r(t, { size: 20 })
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
) : /* @__PURE__ */ c(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
64
|
-
...n,
|
|
65
|
-
children: [
|
|
66
|
-
/* @__PURE__ */ r(
|
|
67
|
-
"button",
|
|
68
|
-
{
|
|
69
|
-
className: [
|
|
70
|
-
e.voiceRecorderButton,
|
|
71
|
-
!o && !i && e.voiceRecorderButtonIdle
|
|
72
|
-
].filter(Boolean).join(" "),
|
|
73
|
-
onClick: p,
|
|
74
|
-
"aria-label": o ? "Stop recording" : i ? "Send recording" : "Start recording",
|
|
75
|
-
children: o ? /* @__PURE__ */ r(b, { size: 20 }) : i ? /* @__PURE__ */ r(C, { size: 20 }) : /* @__PURE__ */ r(j, { size: 20 })
|
|
76
|
-
}
|
|
77
|
-
),
|
|
78
|
-
/* @__PURE__ */ c("div", { className: e.voiceRecorderInfo, children: [
|
|
79
|
-
/* @__PURE__ */ r("span", { className: e.voiceRecorderDuration, children: k(R) }),
|
|
80
|
-
/* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: o ? "Recording..." : i ? "Recording ready" : "Click to record" })
|
|
81
|
-
] }),
|
|
82
|
-
o && /* @__PURE__ */ c("div", { className: e.voiceRecorderWaveform, children: [
|
|
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
|
-
/* @__PURE__ */ r("div", { className: e.voiceRecorderBar })
|
|
88
|
-
] }),
|
|
89
|
-
(o || i) && /* @__PURE__ */ r("div", { className: e.voiceRecorderActions, children: /* @__PURE__ */ r(
|
|
90
|
-
"button",
|
|
91
|
-
{
|
|
92
|
-
className: e.inputButton,
|
|
93
|
-
onClick: B,
|
|
94
|
-
"aria-label": "Cancel recording",
|
|
95
|
-
children: /* @__PURE__ */ r(t, { size: 20 })
|
|
96
|
-
}
|
|
97
|
-
) })
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
) : /* @__PURE__ */ r(
|
|
101
|
-
"div",
|
|
102
|
-
{
|
|
103
|
-
className: [e.voiceRecorder, a].filter(Boolean).join(" "),
|
|
104
|
-
...n,
|
|
105
|
-
children: /* @__PURE__ */ r("div", { className: e.voiceRecorderInfo, children: /* @__PURE__ */ r("span", { className: e.voiceRecorderLabel, children: "Voice recording is not supported in this browser" }) })
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
};
|
|
109
|
-
z.displayName = "ChatVoiceRecorder";
|
|
110
|
-
export {
|
|
111
|
-
z as ChatVoiceRecorder
|
|
112
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"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;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as A, useId as B, useRef as E, useEffect as M } from "react";
|
|
4
|
-
import { Minus as W, Check as $, AlertCircle as w } from "lucide-react";
|
|
5
|
-
import e from "./Checkbox.module.css.mjs";
|
|
6
|
-
const z = A(
|
|
7
|
-
({
|
|
8
|
-
label: i,
|
|
9
|
-
helperText: d,
|
|
10
|
-
error: a,
|
|
11
|
-
size: b = "md",
|
|
12
|
-
indeterminate: r = !1,
|
|
13
|
-
className: k,
|
|
14
|
-
id: N,
|
|
15
|
-
disabled: h,
|
|
16
|
-
required: t,
|
|
17
|
-
checked: v,
|
|
18
|
-
"aria-label": p,
|
|
19
|
-
"aria-describedby": m,
|
|
20
|
-
...x
|
|
21
|
-
}, C) => {
|
|
22
|
-
const y = B(), n = N || `checkbox-${y}`, f = `${n}-error`, u = `${n}-helper`, I = E(null), o = C || I;
|
|
23
|
-
M(() => {
|
|
24
|
-
o.current && (o.current.indeterminate = r);
|
|
25
|
-
}, [r, o]);
|
|
26
|
-
const c = [];
|
|
27
|
-
a && c.push(f), d && !a && c.push(u), m && c.push(m);
|
|
28
|
-
const g = c.length > 0 ? c.join(" ") : void 0;
|
|
29
|
-
!(i || p) && process.env.NODE_ENV === "development" && console.warn(
|
|
30
|
-
"Checkbox: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users."
|
|
31
|
-
);
|
|
32
|
-
const j = r ? "mixed" : void 0, R = [
|
|
33
|
-
e.container,
|
|
34
|
-
e[b],
|
|
35
|
-
a && e.error,
|
|
36
|
-
h && e.disabled,
|
|
37
|
-
k
|
|
38
|
-
].filter(Boolean).join(" ");
|
|
39
|
-
return /* @__PURE__ */ l("div", { className: R, children: [
|
|
40
|
-
/* @__PURE__ */ s(
|
|
41
|
-
"input",
|
|
42
|
-
{
|
|
43
|
-
ref: o,
|
|
44
|
-
type: "checkbox",
|
|
45
|
-
id: n,
|
|
46
|
-
className: e.input,
|
|
47
|
-
disabled: h,
|
|
48
|
-
required: t,
|
|
49
|
-
checked: v,
|
|
50
|
-
"aria-required": t || void 0,
|
|
51
|
-
"aria-invalid": a ? "true" : "false",
|
|
52
|
-
"aria-checked": j,
|
|
53
|
-
"aria-describedby": g,
|
|
54
|
-
"aria-label": i ? void 0 : p,
|
|
55
|
-
...x
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
/* @__PURE__ */ l("label", { htmlFor: n, className: e.labelWrapper, children: [
|
|
59
|
-
/* @__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 }) }) }),
|
|
60
|
-
i && /* @__PURE__ */ l("span", { className: e.label, children: [
|
|
61
|
-
i,
|
|
62
|
-
t && /* @__PURE__ */ s("span", { className: e.required, "aria-hidden": "true", children: "*" })
|
|
63
|
-
] })
|
|
64
|
-
] }),
|
|
65
|
-
d && !a && /* @__PURE__ */ s("p", { id: u, className: e.helperText, children: d }),
|
|
66
|
-
a && /* @__PURE__ */ l(
|
|
67
|
-
"p",
|
|
68
|
-
{
|
|
69
|
-
id: f,
|
|
70
|
-
className: e.errorMessage,
|
|
71
|
-
role: "alert",
|
|
72
|
-
"aria-live": "assertive",
|
|
73
|
-
children: [
|
|
74
|
-
/* @__PURE__ */ s(w, { size: 14, "aria-hidden": "true" }),
|
|
75
|
-
/* @__PURE__ */ s("span", { children: a })
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
)
|
|
79
|
-
] });
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
z.displayName = "Checkbox";
|
|
83
|
-
export {
|
|
84
|
-
z as Checkbox
|
|
85
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"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;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as y, jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as x } from "react";
|
|
4
|
-
import e from "./Chip.module.css.mjs";
|
|
5
|
-
const D = x(
|
|
6
|
-
({
|
|
7
|
-
variant: c = "default",
|
|
8
|
-
size: p = "md",
|
|
9
|
-
icon: s,
|
|
10
|
-
clickable: d = !1,
|
|
11
|
-
onClick: n,
|
|
12
|
-
onRemove: i,
|
|
13
|
-
disabled: a = !1,
|
|
14
|
-
selected: l = !1,
|
|
15
|
-
children: f,
|
|
16
|
-
className: h,
|
|
17
|
-
...m
|
|
18
|
-
}, u) => {
|
|
19
|
-
const o = d || !!n, v = [
|
|
20
|
-
e.chip,
|
|
21
|
-
e[c],
|
|
22
|
-
e[p],
|
|
23
|
-
o && e.clickable,
|
|
24
|
-
l && e.selected,
|
|
25
|
-
a && e.disabled,
|
|
26
|
-
h
|
|
27
|
-
].filter(Boolean).join(" "), k = () => {
|
|
28
|
-
!a && n && n();
|
|
29
|
-
}, w = (t) => {
|
|
30
|
-
t.stopPropagation(), !a && i && i();
|
|
31
|
-
};
|
|
32
|
-
return /* @__PURE__ */ y(
|
|
33
|
-
"div",
|
|
34
|
-
{
|
|
35
|
-
ref: u,
|
|
36
|
-
className: v,
|
|
37
|
-
role: o ? "button" : void 0,
|
|
38
|
-
tabIndex: o && !a ? 0 : void 0,
|
|
39
|
-
"aria-disabled": a,
|
|
40
|
-
"aria-pressed": l,
|
|
41
|
-
onClick: o ? k : void 0,
|
|
42
|
-
onKeyDown: o ? (t) => {
|
|
43
|
-
a || ((t.key === "Enter" || t.key === " ") && (t.preventDefault(), n?.()), (t.key === "Backspace" || t.key === "Delete") && (t.preventDefault(), i?.()));
|
|
44
|
-
} : void 0,
|
|
45
|
-
...m,
|
|
46
|
-
children: [
|
|
47
|
-
s && /* @__PURE__ */ r("span", { className: e.icon, "aria-hidden": "true", children: s }),
|
|
48
|
-
/* @__PURE__ */ r("span", { className: e.label, children: f }),
|
|
49
|
-
i && /* @__PURE__ */ r(
|
|
50
|
-
"button",
|
|
51
|
-
{
|
|
52
|
-
type: "button",
|
|
53
|
-
className: e.removeButton,
|
|
54
|
-
onClick: w,
|
|
55
|
-
disabled: a,
|
|
56
|
-
"aria-label": "Remove",
|
|
57
|
-
children: /* @__PURE__ */ r(
|
|
58
|
-
"svg",
|
|
59
|
-
{
|
|
60
|
-
width: "14",
|
|
61
|
-
height: "14",
|
|
62
|
-
viewBox: "0 0 14 14",
|
|
63
|
-
fill: "none",
|
|
64
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
65
|
-
children: /* @__PURE__ */ r(
|
|
66
|
-
"path",
|
|
67
|
-
{
|
|
68
|
-
d: "M10.5 3.5L3.5 10.5M3.5 3.5l7 7",
|
|
69
|
-
stroke: "currentColor",
|
|
70
|
-
strokeWidth: "1.5",
|
|
71
|
-
strokeLinecap: "round",
|
|
72
|
-
strokeLinejoin: "round"
|
|
73
|
-
}
|
|
74
|
-
)
|
|
75
|
-
}
|
|
76
|
-
)
|
|
77
|
-
}
|
|
78
|
-
)
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
);
|
|
84
|
-
D.displayName = "Chip";
|
|
85
|
-
export {
|
|
86
|
-
D as Chip
|
|
87
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"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(`
|
|
3
|
-
`).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(`
|
|
4
|
-
`),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(`
|
|
5
|
-
`).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(`
|
|
6
|
-
`,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+`
|
|
7
|
-
`})}),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;
|