@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"),h=require("react"),p=require("recharts"),R=require("./useResolvedChartColors.cjs"),t=require("./Chart.module.css.cjs"),f=h.createContext({}),j=({config:s,children:o,className:a,style:n,...l})=>{const{resolvedConfig:r,resolvedColorVars:i}=R.useResolvedChartColors(s),d=[t.default.container,a].filter(Boolean).join(" ");return e.jsx(f.Provider,{value:r,children:e.jsx("div",{role:"figure",className:d,style:{...i,...n},...l,children:e.jsx(p.ResponsiveContainer,{width:"100%",height:"100%",children:o})})})};j.displayName="ChartContainer";const v=({active:s,payload:o,label:a,indicator:n="dot",hideLabel:l=!1,hideIndicator:r=!1,labelFormatter:i,formatter:d,className:u})=>{const L=h.useContext(f);if(!s||!o?.length)return null;const b=[t.default.tooltip,u].filter(Boolean).join(" "),g=i?i(String(a)):a,T={dot:t.default.tooltipDot,line:t.default.tooltipLine,dashed:t.default.tooltipDashed}[n];return e.jsxs("div",{className:b,children:[!l&&g&&e.jsx("div",{className:t.default.tooltipLabel,children:g}),e.jsx("div",{className:t.default.tooltipItems,children:o.map(c=>{const C=String(c.dataKey||c.name),m=L[C],q=m?.label||C,I=d?d(c.value,C):String(c.value),x=c.color||m?.color;return e.jsxs("div",{className:t.default.tooltipItem,children:[!r&&e.jsx("span",{className:T,style:{backgroundColor:x,borderColor:x}}),e.jsx("span",{className:t.default.tooltipName,children:q}),e.jsx("span",{className:t.default.tooltipValue,children:I})]},C)})})]})};v.displayName="ChartTooltipContent";const N=({payload:s,className:o})=>{const a=h.useContext(f);if(!s?.length)return null;const n=[t.default.legend,o].filter(Boolean).join(" ");return e.jsx("div",{className:n,children:s.map(l=>{const r=l.dataKey||l.value,i=a[r],d=i?.label||r,u=l.color||i?.color;return e.jsxs("div",{className:t.default.legendItem,children:[e.jsx("span",{className:t.default.legendDot,style:{backgroundColor:u}}),e.jsx("span",{children:d})]},r)})})};N.displayName="ChartLegendContent";const y=({id:s,color:o,startOpacity:a=.4,endOpacity:n=.05})=>e.jsxs("linearGradient",{id:s,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"5%",stopColor:o,stopOpacity:a}),e.jsx("stop",{offset:"95%",stopColor:o,stopOpacity:n})]});y.displayName="ChartGradient";const S=p.Tooltip,G=p.Legend;exports.ChartContainer=j;exports.ChartGradient=y;exports.ChartLegend=G;exports.ChartLegendContent=N;exports.ChartTooltip=S;exports.ChartTooltipContent=v;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
3
|
-
import { useContext as v, createContext as j } from "react";
|
|
4
|
-
import { Legend as I, Tooltip as K, ResponsiveContainer as T } from "recharts";
|
|
5
|
-
import { useResolvedChartColors as B } from "./useResolvedChartColors.mjs";
|
|
6
|
-
import o from "./Chart.module.css.mjs";
|
|
7
|
-
const h = j({}), D = ({
|
|
8
|
-
config: n,
|
|
9
|
-
children: e,
|
|
10
|
-
className: s,
|
|
11
|
-
style: l,
|
|
12
|
-
...a
|
|
13
|
-
}) => {
|
|
14
|
-
const { resolvedConfig: i, resolvedColorVars: r } = B(n), c = [o.container, s].filter(Boolean).join(" ");
|
|
15
|
-
return /* @__PURE__ */ t(h.Provider, { value: i, children: /* @__PURE__ */ t(
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
role: "figure",
|
|
19
|
-
className: c,
|
|
20
|
-
style: { ...r, ...l },
|
|
21
|
-
...a,
|
|
22
|
-
children: /* @__PURE__ */ t(T, { width: "100%", height: "100%", children: e })
|
|
23
|
-
}
|
|
24
|
-
) });
|
|
25
|
-
};
|
|
26
|
-
D.displayName = "ChartContainer";
|
|
27
|
-
const G = ({
|
|
28
|
-
active: n,
|
|
29
|
-
payload: e,
|
|
30
|
-
label: s,
|
|
31
|
-
indicator: l = "dot",
|
|
32
|
-
hideLabel: a = !1,
|
|
33
|
-
hideIndicator: i = !1,
|
|
34
|
-
labelFormatter: r,
|
|
35
|
-
formatter: c,
|
|
36
|
-
className: m
|
|
37
|
-
}) => {
|
|
38
|
-
const N = v(h);
|
|
39
|
-
if (!n || !e?.length) return null;
|
|
40
|
-
const y = [o.tooltip, m].filter(Boolean).join(" "), f = r ? r(String(s)) : s, L = {
|
|
41
|
-
dot: o.tooltipDot,
|
|
42
|
-
line: o.tooltipLine,
|
|
43
|
-
dashed: o.tooltipDashed
|
|
44
|
-
}[l];
|
|
45
|
-
return /* @__PURE__ */ C("div", { className: y, children: [
|
|
46
|
-
!a && f && /* @__PURE__ */ t("div", { className: o.tooltipLabel, children: f }),
|
|
47
|
-
/* @__PURE__ */ t("div", { className: o.tooltipItems, children: e.map((d) => {
|
|
48
|
-
const p = String(d.dataKey || d.name), g = N[p], x = g?.label || p, b = c ? c(d.value, p) : String(d.value), u = d.color || g?.color;
|
|
49
|
-
return /* @__PURE__ */ C("div", { className: o.tooltipItem, children: [
|
|
50
|
-
!i && /* @__PURE__ */ t(
|
|
51
|
-
"span",
|
|
52
|
-
{
|
|
53
|
-
className: L,
|
|
54
|
-
style: { backgroundColor: u, borderColor: u }
|
|
55
|
-
}
|
|
56
|
-
),
|
|
57
|
-
/* @__PURE__ */ t("span", { className: o.tooltipName, children: x }),
|
|
58
|
-
/* @__PURE__ */ t("span", { className: o.tooltipValue, children: b })
|
|
59
|
-
] }, p);
|
|
60
|
-
}) })
|
|
61
|
-
] });
|
|
62
|
-
};
|
|
63
|
-
G.displayName = "ChartTooltipContent";
|
|
64
|
-
const S = ({
|
|
65
|
-
payload: n,
|
|
66
|
-
className: e
|
|
67
|
-
}) => {
|
|
68
|
-
const s = v(h);
|
|
69
|
-
if (!n?.length) return null;
|
|
70
|
-
const l = [o.legend, e].filter(Boolean).join(" ");
|
|
71
|
-
return /* @__PURE__ */ t("div", { className: l, children: n.map((a) => {
|
|
72
|
-
const i = a.dataKey || a.value, r = s[i], c = r?.label || i, m = a.color || r?.color;
|
|
73
|
-
return /* @__PURE__ */ C("div", { className: o.legendItem, children: [
|
|
74
|
-
/* @__PURE__ */ t(
|
|
75
|
-
"span",
|
|
76
|
-
{
|
|
77
|
-
className: o.legendDot,
|
|
78
|
-
style: { backgroundColor: m }
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ t("span", { children: c })
|
|
82
|
-
] }, i);
|
|
83
|
-
}) });
|
|
84
|
-
};
|
|
85
|
-
S.displayName = "ChartLegendContent";
|
|
86
|
-
const V = ({
|
|
87
|
-
id: n,
|
|
88
|
-
color: e,
|
|
89
|
-
startOpacity: s = 0.4,
|
|
90
|
-
endOpacity: l = 0.05
|
|
91
|
-
}) => /* @__PURE__ */ C("linearGradient", { id: n, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
92
|
-
/* @__PURE__ */ t("stop", { offset: "5%", stopColor: e, stopOpacity: s }),
|
|
93
|
-
/* @__PURE__ */ t("stop", { offset: "95%", stopColor: e, stopOpacity: l })
|
|
94
|
-
] });
|
|
95
|
-
V.displayName = "ChartGradient";
|
|
96
|
-
const q = K, z = I;
|
|
97
|
-
export {
|
|
98
|
-
D as ChartContainer,
|
|
99
|
-
V as ChartGradient,
|
|
100
|
-
z as ChartLegend,
|
|
101
|
-
S as ChartLegendContent,
|
|
102
|
-
q as ChartTooltip,
|
|
103
|
-
G as ChartTooltipContent
|
|
104
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("./Chat.module.css.cjs"),d=require("./components/ChatHeader.cjs"),h=require("./components/ChatMessages.cjs"),n=require("./components/ChatMessage.cjs"),C=require("./components/ChatInput.cjs"),c=require("./components/ChatTypingIndicator.cjs"),l=require("./components/ChatCodeBlock.cjs"),u=require("./components/ChatMarkdown.cjs"),p=require("./components/ChatImagePreview.cjs"),m=require("./components/ChatAudioPlayer.cjs"),y=require("./components/ChatVoiceRecorder.cjs"),g=require("./components/ChatFileUpload.cjs"),M=require("./components/ChatAttachment.cjs"),q=require("./components/ChatSidebar.cjs"),a=({children:t,className:r,...i})=>o.jsx("div",{className:[s.default.chat,r].filter(Boolean).join(" "),role:"region","aria-label":"Chat interface",...i,children:t});a.displayName="Chat";const e=a;e.Header=d.ChatHeader;e.Messages=h.ChatMessages;e.Message=n.ChatMessage;e.Input=C.ChatInput;e.TypingIndicator=c.ChatTypingIndicator;e.CodeBlock=l.ChatCodeBlock;e.Markdown=u.ChatMarkdown;e.ImagePreview=p.ChatImagePreview;e.AudioPlayer=m.ChatAudioPlayer;e.VoiceRecorder=y.ChatVoiceRecorder;e.FileUpload=g.ChatFileUpload;e.Attachment=M.ChatAttachment;e.Sidebar=q.ChatSidebar;e.Header.displayName="Chat.Header";e.Messages.displayName="Chat.Messages";e.Message.displayName="Chat.Message";e.Input.displayName="Chat.Input";e.TypingIndicator.displayName="Chat.TypingIndicator";e.CodeBlock.displayName="Chat.CodeBlock";e.Markdown.displayName="Chat.Markdown";e.ImagePreview.displayName="Chat.ImagePreview";e.AudioPlayer.displayName="Chat.AudioPlayer";e.VoiceRecorder.displayName="Chat.VoiceRecorder";e.FileUpload.displayName="Chat.FileUpload";e.Attachment.displayName="Chat.Attachment";e.Sidebar.displayName="Chat.Sidebar";exports.Chat=e;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
3
|
-
import m from "./Chat.module.css.mjs";
|
|
4
|
-
import { ChatHeader as d } from "./components/ChatHeader.mjs";
|
|
5
|
-
import { ChatMessages as p } from "./components/ChatMessages.mjs";
|
|
6
|
-
import { ChatMessage as s } from "./components/ChatMessage.mjs";
|
|
7
|
-
import { ChatInput as l } from "./components/ChatInput.mjs";
|
|
8
|
-
import { ChatTypingIndicator as h } from "./components/ChatTypingIndicator.mjs";
|
|
9
|
-
import { ChatCodeBlock as C } from "./components/ChatCodeBlock.mjs";
|
|
10
|
-
import { ChatMarkdown as n } from "./components/ChatMarkdown.mjs";
|
|
11
|
-
import { ChatImagePreview as c } from "./components/ChatImagePreview.mjs";
|
|
12
|
-
import { ChatAudioPlayer as y } from "./components/ChatAudioPlayer.mjs";
|
|
13
|
-
import { ChatVoiceRecorder as f } from "./components/ChatVoiceRecorder.mjs";
|
|
14
|
-
import { ChatFileUpload as g } from "./components/ChatFileUpload.mjs";
|
|
15
|
-
import { ChatAttachment as N } from "./components/ChatAttachment.mjs";
|
|
16
|
-
import { ChatSidebar as I } from "./components/ChatSidebar.mjs";
|
|
17
|
-
const e = ({ children: t, className: o, ...r }) => /* @__PURE__ */ i(
|
|
18
|
-
"div",
|
|
19
|
-
{
|
|
20
|
-
className: [m.chat, o].filter(Boolean).join(" "),
|
|
21
|
-
role: "region",
|
|
22
|
-
"aria-label": "Chat interface",
|
|
23
|
-
...r,
|
|
24
|
-
children: t
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
e.displayName = "Chat";
|
|
28
|
-
const a = e;
|
|
29
|
-
a.Header = d;
|
|
30
|
-
a.Messages = p;
|
|
31
|
-
a.Message = s;
|
|
32
|
-
a.Input = l;
|
|
33
|
-
a.TypingIndicator = h;
|
|
34
|
-
a.CodeBlock = C;
|
|
35
|
-
a.Markdown = n;
|
|
36
|
-
a.ImagePreview = c;
|
|
37
|
-
a.AudioPlayer = y;
|
|
38
|
-
a.VoiceRecorder = f;
|
|
39
|
-
a.FileUpload = g;
|
|
40
|
-
a.Attachment = N;
|
|
41
|
-
a.Sidebar = I;
|
|
42
|
-
a.Header.displayName = "Chat.Header";
|
|
43
|
-
a.Messages.displayName = "Chat.Messages";
|
|
44
|
-
a.Message.displayName = "Chat.Message";
|
|
45
|
-
a.Input.displayName = "Chat.Input";
|
|
46
|
-
a.TypingIndicator.displayName = "Chat.TypingIndicator";
|
|
47
|
-
a.CodeBlock.displayName = "Chat.CodeBlock";
|
|
48
|
-
a.Markdown.displayName = "Chat.Markdown";
|
|
49
|
-
a.ImagePreview.displayName = "Chat.ImagePreview";
|
|
50
|
-
a.AudioPlayer.displayName = "Chat.AudioPlayer";
|
|
51
|
-
a.VoiceRecorder.displayName = "Chat.VoiceRecorder";
|
|
52
|
-
a.FileUpload.displayName = "Chat.FileUpload";
|
|
53
|
-
a.Attachment.displayName = "Chat.Attachment";
|
|
54
|
-
a.Sidebar.displayName = "Chat.Sidebar";
|
|
55
|
-
export {
|
|
56
|
-
a as Chat
|
|
57
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("lucide-react"),p=require("./ChatImagePreview.cjs"),P=require("./ChatAudioPlayer.cjs"),b=require("./ChatCodeBlock.cjs"),C=require("../utils.cjs"),t=require("../Chat.module.css.cjs"),w=d=>{switch(d){case"image":return e.jsx(a.Image,{size:18});case"audio":return e.jsx(a.Music,{size:18});case"code":return e.jsx(a.Code,{size:18});default:return e.jsx(a.FileText,{size:18})}},v=({attachment:d,removable:h=!1,onRemove:i,onClick:n,className:c,...o})=>{const{type:m,name:s,url:l,content:j,language:f,size:x,duration:u,thumbnail:g}=d;switch(m){case"image":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(p.ChatImagePreview,{src:l,alt:s,thumbnail:g,onClick:n}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,style:{position:"absolute",top:4,right:4,background:"var(--surface-base)"},children:e.jsx(a.X,{size:14})})]});break;case"audio":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(P.ChatAudioPlayer,{src:l,duration:u,title:s}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]});break;case"code":if(j)return e.jsx(b.ChatCodeBlock,{code:j,language:f,className:c,...o});break}return e.jsxs("div",{className:[t.default.attachmentPreview,c].filter(Boolean).join(" "),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,...o,children:[e.jsx("div",{className:t.default.attachmentPreviewIcon,children:w(m)}),e.jsxs("div",{className:t.default.attachmentPreviewInfo,children:[e.jsx("span",{className:t.default.attachmentPreviewName,children:s}),x&&e.jsxs("span",{className:t.default.attachmentPreviewMeta,children:[C.formatFileSize(x),u&&` · ${Math.floor(u/60)}:${(u%60).toString().padStart(2,"0")}`]})]}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]})};v.displayName="ChatAttachment";exports.ChatAttachment=v;
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
3
|
-
import { X as u, FileText as P, Code as w, Music as z, Image as y } from "lucide-react";
|
|
4
|
-
import { ChatImagePreview as C } from "./ChatImagePreview.mjs";
|
|
5
|
-
import { ChatAudioPlayer as N } from "./ChatAudioPlayer.mjs";
|
|
6
|
-
import { ChatCodeBlock as I } from "./ChatCodeBlock.mjs";
|
|
7
|
-
import { formatFileSize as k } from "../utils.mjs";
|
|
8
|
-
import t from "../Chat.module.css.mjs";
|
|
9
|
-
const x = (d) => {
|
|
10
|
-
switch (d) {
|
|
11
|
-
case "image":
|
|
12
|
-
return /* @__PURE__ */ e(y, { size: 18 });
|
|
13
|
-
case "audio":
|
|
14
|
-
return /* @__PURE__ */ e(z, { size: 18 });
|
|
15
|
-
case "code":
|
|
16
|
-
return /* @__PURE__ */ e(w, { size: 18 });
|
|
17
|
-
default:
|
|
18
|
-
return /* @__PURE__ */ e(P, { size: 18 });
|
|
19
|
-
}
|
|
20
|
-
}, $ = ({
|
|
21
|
-
attachment: d,
|
|
22
|
-
removable: h = !1,
|
|
23
|
-
onRemove: a,
|
|
24
|
-
onClick: n,
|
|
25
|
-
className: s,
|
|
26
|
-
...c
|
|
27
|
-
}) => {
|
|
28
|
-
const { type: p, name: i, url: l, content: v, language: b, size: f, duration: m, thumbnail: g } = d;
|
|
29
|
-
switch (p) {
|
|
30
|
-
case "image":
|
|
31
|
-
if (l)
|
|
32
|
-
return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
|
|
33
|
-
/* @__PURE__ */ e(
|
|
34
|
-
C,
|
|
35
|
-
{
|
|
36
|
-
src: l,
|
|
37
|
-
alt: i,
|
|
38
|
-
thumbnail: g,
|
|
39
|
-
onClick: n
|
|
40
|
-
}
|
|
41
|
-
),
|
|
42
|
-
h && a && /* @__PURE__ */ e(
|
|
43
|
-
"button",
|
|
44
|
-
{
|
|
45
|
-
className: t.attachmentPreviewRemove,
|
|
46
|
-
onClick: (r) => {
|
|
47
|
-
r.stopPropagation(), a();
|
|
48
|
-
},
|
|
49
|
-
"aria-label": `Remove ${i}`,
|
|
50
|
-
style: {
|
|
51
|
-
position: "absolute",
|
|
52
|
-
top: 4,
|
|
53
|
-
right: 4,
|
|
54
|
-
background: "var(--surface-base)"
|
|
55
|
-
},
|
|
56
|
-
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
] });
|
|
60
|
-
break;
|
|
61
|
-
case "audio":
|
|
62
|
-
if (l)
|
|
63
|
-
return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
|
|
64
|
-
/* @__PURE__ */ e(N, { src: l, duration: m, title: i }),
|
|
65
|
-
h && a && /* @__PURE__ */ e(
|
|
66
|
-
"button",
|
|
67
|
-
{
|
|
68
|
-
className: t.attachmentPreviewRemove,
|
|
69
|
-
onClick: (r) => {
|
|
70
|
-
r.stopPropagation(), a();
|
|
71
|
-
},
|
|
72
|
-
"aria-label": `Remove ${i}`,
|
|
73
|
-
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
] });
|
|
77
|
-
break;
|
|
78
|
-
case "code":
|
|
79
|
-
if (v)
|
|
80
|
-
return /* @__PURE__ */ e(
|
|
81
|
-
I,
|
|
82
|
-
{
|
|
83
|
-
code: v,
|
|
84
|
-
language: b,
|
|
85
|
-
className: s,
|
|
86
|
-
...c
|
|
87
|
-
}
|
|
88
|
-
);
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
return /* @__PURE__ */ o(
|
|
92
|
-
"div",
|
|
93
|
-
{
|
|
94
|
-
className: [t.attachmentPreview, s].filter(Boolean).join(" "),
|
|
95
|
-
onClick: n,
|
|
96
|
-
role: n ? "button" : void 0,
|
|
97
|
-
tabIndex: n ? 0 : void 0,
|
|
98
|
-
...c,
|
|
99
|
-
children: [
|
|
100
|
-
/* @__PURE__ */ e("div", { className: t.attachmentPreviewIcon, children: x(p) }),
|
|
101
|
-
/* @__PURE__ */ o("div", { className: t.attachmentPreviewInfo, children: [
|
|
102
|
-
/* @__PURE__ */ e("span", { className: t.attachmentPreviewName, children: i }),
|
|
103
|
-
f && /* @__PURE__ */ o("span", { className: t.attachmentPreviewMeta, children: [
|
|
104
|
-
k(f),
|
|
105
|
-
m && ` · ${Math.floor(m / 60)}:${(m % 60).toString().padStart(2, "0")}`
|
|
106
|
-
] })
|
|
107
|
-
] }),
|
|
108
|
-
h && a && /* @__PURE__ */ e(
|
|
109
|
-
"button",
|
|
110
|
-
{
|
|
111
|
-
className: t.attachmentPreviewRemove,
|
|
112
|
-
onClick: (r) => {
|
|
113
|
-
r.stopPropagation(), a();
|
|
114
|
-
},
|
|
115
|
-
"aria-label": `Remove ${i}`,
|
|
116
|
-
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
117
|
-
}
|
|
118
|
-
)
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
);
|
|
122
|
-
};
|
|
123
|
-
$.displayName = "ChatAttachment";
|
|
124
|
-
export {
|
|
125
|
-
$ as ChatAttachment
|
|
126
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),P=require("lucide-react"),m=require("../utils.cjs"),l=require("../Chat.module.css.cjs"),p=({src:k,duration:T,title:h,className:b,...x})=>{const[o,f]=r.useState(!1),[s,d]=r.useState(0),[a,g]=r.useState(T||0),n=r.useRef(null),j=r.useCallback(()=>{const e=n.current;e&&!isNaN(e.duration)&&isFinite(e.duration)&&g(e.duration)},[]),v=r.useCallback(()=>{const e=n.current;e&&d(e.currentTime)},[]),C=r.useCallback(()=>{f(!1),d(0)},[]),w=r.useCallback(()=>{const e=n.current;e&&(o?e.pause():e.play().catch(()=>{f(!1)}),f(!o))},[o]),N=r.useCallback(e=>{const c=n.current;if(!c||!a)return;const u=e.currentTarget.getBoundingClientRect(),y=(e.clientX-u.left)/u.width*a;c.currentTime=y,d(y)},[a]),A=r.useCallback(e=>{const c=n.current;if(!c||!a)return;const u=5;let i=s;switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),i=Math.min(s+u,a);break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),i=Math.max(s-u,0);break;case"Home":e.preventDefault(),i=0;break;case"End":e.preventDefault(),i=a;break;default:return}c.currentTime=i,d(i)},[s,a]),D=a>0?s/a*100:0;return r.useEffect(()=>()=>{const e=n.current;e&&e.pause()},[]),t.jsxs("div",{className:[l.default.audioPlayer,b].filter(Boolean).join(" "),...x,children:[t.jsx("audio",{ref:n,src:k,onLoadedMetadata:j,onTimeUpdate:v,onEnded:C,preload:"metadata"}),t.jsx("button",{className:l.default.audioPlayerButton,onClick:w,"aria-label":o?"Pause":"Play",children:o?t.jsx(P.Pause,{size:16}):t.jsx(P.Play,{size:16})}),t.jsxs("div",{className:l.default.audioPlayerProgress,children:[h&&t.jsx("span",{className:l.default.attachmentPreviewName,children:h}),t.jsx("div",{className:l.default.audioPlayerTrack,onClick:N,onKeyDown:A,role:"slider","aria-label":"Audio progress","aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":s,"aria-valuetext":`${m.formatTime(s)} of ${m.formatTime(a)}`,tabIndex:0,children:t.jsx("div",{className:l.default.audioPlayerFill,style:{width:`${D}%`}})}),t.jsxs("div",{className:l.default.audioPlayerTime,children:[t.jsx("span",{children:m.formatTime(s)}),t.jsx("span",{children:m.formatTime(a)})]})]})]})};p.displayName="ChatAudioPlayer";exports.ChatAudioPlayer=p;
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { useState as h, useRef as M, useCallback as s, useEffect as R } from "react";
|
|
4
|
-
import { Pause as j, Play as B } from "lucide-react";
|
|
5
|
-
import { formatTime as m } from "../utils.mjs";
|
|
6
|
-
import o from "../Chat.module.css.mjs";
|
|
7
|
-
const L = ({
|
|
8
|
-
src: g,
|
|
9
|
-
duration: v,
|
|
10
|
-
title: y,
|
|
11
|
-
className: w,
|
|
12
|
-
...T
|
|
13
|
-
}) => {
|
|
14
|
-
const [c, f] = h(!1), [t, u] = h(0), [a, k] = h(v || 0), n = M(null), N = s(() => {
|
|
15
|
-
const e = n.current;
|
|
16
|
-
e && !isNaN(e.duration) && isFinite(e.duration) && k(e.duration);
|
|
17
|
-
}, []), b = s(() => {
|
|
18
|
-
const e = n.current;
|
|
19
|
-
e && u(e.currentTime);
|
|
20
|
-
}, []), C = s(() => {
|
|
21
|
-
f(!1), u(0);
|
|
22
|
-
}, []), D = s(() => {
|
|
23
|
-
const e = n.current;
|
|
24
|
-
e && (c ? e.pause() : e.play().catch(() => {
|
|
25
|
-
f(!1);
|
|
26
|
-
}), f(!c));
|
|
27
|
-
}, [c]), x = s(
|
|
28
|
-
(e) => {
|
|
29
|
-
const l = n.current;
|
|
30
|
-
if (!l || !a) return;
|
|
31
|
-
const d = e.currentTarget.getBoundingClientRect(), P = (e.clientX - d.left) / d.width * a;
|
|
32
|
-
l.currentTime = P, u(P);
|
|
33
|
-
},
|
|
34
|
-
[a]
|
|
35
|
-
), A = s(
|
|
36
|
-
(e) => {
|
|
37
|
-
const l = n.current;
|
|
38
|
-
if (!l || !a) return;
|
|
39
|
-
const d = 5;
|
|
40
|
-
let i = t;
|
|
41
|
-
switch (e.key) {
|
|
42
|
-
case "ArrowRight":
|
|
43
|
-
case "ArrowUp":
|
|
44
|
-
e.preventDefault(), i = Math.min(t + d, a);
|
|
45
|
-
break;
|
|
46
|
-
case "ArrowLeft":
|
|
47
|
-
case "ArrowDown":
|
|
48
|
-
e.preventDefault(), i = Math.max(t - d, 0);
|
|
49
|
-
break;
|
|
50
|
-
case "Home":
|
|
51
|
-
e.preventDefault(), i = 0;
|
|
52
|
-
break;
|
|
53
|
-
case "End":
|
|
54
|
-
e.preventDefault(), i = a;
|
|
55
|
-
break;
|
|
56
|
-
default:
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
l.currentTime = i, u(i);
|
|
60
|
-
},
|
|
61
|
-
[t, a]
|
|
62
|
-
), E = a > 0 ? t / a * 100 : 0;
|
|
63
|
-
return R(() => () => {
|
|
64
|
-
const e = n.current;
|
|
65
|
-
e && e.pause();
|
|
66
|
-
}, []), /* @__PURE__ */ p(
|
|
67
|
-
"div",
|
|
68
|
-
{
|
|
69
|
-
className: [o.audioPlayer, w].filter(Boolean).join(" "),
|
|
70
|
-
...T,
|
|
71
|
-
children: [
|
|
72
|
-
/* @__PURE__ */ r(
|
|
73
|
-
"audio",
|
|
74
|
-
{
|
|
75
|
-
ref: n,
|
|
76
|
-
src: g,
|
|
77
|
-
onLoadedMetadata: N,
|
|
78
|
-
onTimeUpdate: b,
|
|
79
|
-
onEnded: C,
|
|
80
|
-
preload: "metadata"
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ r(
|
|
84
|
-
"button",
|
|
85
|
-
{
|
|
86
|
-
className: o.audioPlayerButton,
|
|
87
|
-
onClick: D,
|
|
88
|
-
"aria-label": c ? "Pause" : "Play",
|
|
89
|
-
children: c ? /* @__PURE__ */ r(j, { size: 16 }) : /* @__PURE__ */ r(B, { size: 16 })
|
|
90
|
-
}
|
|
91
|
-
),
|
|
92
|
-
/* @__PURE__ */ p("div", { className: o.audioPlayerProgress, children: [
|
|
93
|
-
y && /* @__PURE__ */ r("span", { className: o.attachmentPreviewName, children: y }),
|
|
94
|
-
/* @__PURE__ */ r(
|
|
95
|
-
"div",
|
|
96
|
-
{
|
|
97
|
-
className: o.audioPlayerTrack,
|
|
98
|
-
onClick: x,
|
|
99
|
-
onKeyDown: A,
|
|
100
|
-
role: "slider",
|
|
101
|
-
"aria-label": "Audio progress",
|
|
102
|
-
"aria-valuemin": 0,
|
|
103
|
-
"aria-valuemax": a,
|
|
104
|
-
"aria-valuenow": t,
|
|
105
|
-
"aria-valuetext": `${m(t)} of ${m(a)}`,
|
|
106
|
-
tabIndex: 0,
|
|
107
|
-
children: /* @__PURE__ */ r(
|
|
108
|
-
"div",
|
|
109
|
-
{
|
|
110
|
-
className: o.audioPlayerFill,
|
|
111
|
-
style: { width: `${E}%` }
|
|
112
|
-
}
|
|
113
|
-
)
|
|
114
|
-
}
|
|
115
|
-
),
|
|
116
|
-
/* @__PURE__ */ p("div", { className: o.audioPlayerTime, children: [
|
|
117
|
-
/* @__PURE__ */ r("span", { children: m(t) }),
|
|
118
|
-
/* @__PURE__ */ r("span", { children: m(a) })
|
|
119
|
-
] })
|
|
120
|
-
] })
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
-
};
|
|
125
|
-
L.displayName = "ChatAudioPlayer";
|
|
126
|
-
export {
|
|
127
|
-
L as ChatAudioPlayer
|
|
128
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),f=require("react-syntax-highlighter"),d=require("react-syntax-highlighter/dist/esm/styles/prism"),u=require("lucide-react"),o=require("../Chat.module.css.cjs"),k=require("../../../contexts/ThemeContext.cjs"),b=t=>t?{js:"javascript",ts:"typescript",jsx:"jsx",tsx:"tsx",py:"python",rb:"ruby",sh:"bash",shell:"bash",yml:"yaml",md:"markdown"}[t.toLowerCase()]||t.toLowerCase():"text",h=({code:t,language:s,showLineNumbers:m=!1,showCopyButton:p=!0,maxHeight:y="400px",className:C,...x})=>{const[a,r]=n.useState(!1);let c="dark";try{c=k.useThemeContext().theme}catch{}const g=n.useCallback(async()=>{try{await navigator.clipboard.writeText(t),r(!0),setTimeout(()=>r(!1),2e3)}catch(l){console.error("Failed to copy code:",l)}},[t]),i=b(s),j=c==="light"?d.oneLight:d.oneDark;return e.jsxs("div",{className:[o.default.codeBlock,C].filter(Boolean).join(" "),...x,children:[e.jsxs("div",{className:o.default.codeBlockHeader,children:[e.jsx("span",{className:o.default.codeBlockLanguage,children:i}),p&&e.jsx("button",{className:[o.default.codeBlockCopy,a&&o.default.codeBlockCopied].filter(Boolean).join(" "),onClick:g,"aria-label":a?"Copied!":"Copy code",children:a?e.jsxs(e.Fragment,{children:[e.jsx(u.Check,{size:14}),"Copied!"]}):e.jsxs(e.Fragment,{children:[e.jsx(u.Copy,{size:14}),"Copy"]})})]}),e.jsx("div",{className:o.default.codeBlockContent,style:{maxHeight:y},children:e.jsx(f.Prism,{language:i,style:j,showLineNumbers:m,customStyle:{margin:0,padding:0,background:"transparent",fontSize:"inherit",lineHeight:"inherit"},codeTagProps:{style:{fontFamily:"var(--font-mono)"}},children:t})})]})};h.displayName="ChatCodeBlock";exports.ChatCodeBlock=h;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as r, jsx as o, Fragment as d } from "react/jsx-runtime";
|
|
3
|
-
import { useState as g, useCallback as k } from "react";
|
|
4
|
-
import { Prism as x } from "react-syntax-highlighter";
|
|
5
|
-
import { oneLight as B, oneDark as b } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
6
|
-
import { Check as j, Copy as v } from "lucide-react";
|
|
7
|
-
import t from "../Chat.module.css.mjs";
|
|
8
|
-
import { useThemeContext as L } from "../../../contexts/ThemeContext.mjs";
|
|
9
|
-
const N = (e) => e ? {
|
|
10
|
-
js: "javascript",
|
|
11
|
-
ts: "typescript",
|
|
12
|
-
jsx: "jsx",
|
|
13
|
-
tsx: "tsx",
|
|
14
|
-
py: "python",
|
|
15
|
-
rb: "ruby",
|
|
16
|
-
sh: "bash",
|
|
17
|
-
shell: "bash",
|
|
18
|
-
yml: "yaml",
|
|
19
|
-
md: "markdown"
|
|
20
|
-
}[e.toLowerCase()] || e.toLowerCase() : "text", w = ({
|
|
21
|
-
code: e,
|
|
22
|
-
language: s,
|
|
23
|
-
showLineNumbers: m = !1,
|
|
24
|
-
showCopyButton: p = !0,
|
|
25
|
-
maxHeight: h = "400px",
|
|
26
|
-
className: y,
|
|
27
|
-
...C
|
|
28
|
-
}) => {
|
|
29
|
-
const [a, i] = g(!1);
|
|
30
|
-
let l = "dark";
|
|
31
|
-
try {
|
|
32
|
-
l = L().theme;
|
|
33
|
-
} catch {
|
|
34
|
-
}
|
|
35
|
-
const u = k(async () => {
|
|
36
|
-
try {
|
|
37
|
-
await navigator.clipboard.writeText(e), i(!0), setTimeout(() => i(!1), 2e3);
|
|
38
|
-
} catch (n) {
|
|
39
|
-
console.error("Failed to copy code:", n);
|
|
40
|
-
}
|
|
41
|
-
}, [e]), c = N(s), f = l === "light" ? B : b;
|
|
42
|
-
return /* @__PURE__ */ r(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
className: [t.codeBlock, y].filter(Boolean).join(" "),
|
|
46
|
-
...C,
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ r("div", { className: t.codeBlockHeader, children: [
|
|
49
|
-
/* @__PURE__ */ o("span", { className: t.codeBlockLanguage, children: c }),
|
|
50
|
-
p && /* @__PURE__ */ o(
|
|
51
|
-
"button",
|
|
52
|
-
{
|
|
53
|
-
className: [t.codeBlockCopy, a && t.codeBlockCopied].filter(Boolean).join(" "),
|
|
54
|
-
onClick: u,
|
|
55
|
-
"aria-label": a ? "Copied!" : "Copy code",
|
|
56
|
-
children: a ? /* @__PURE__ */ r(d, { children: [
|
|
57
|
-
/* @__PURE__ */ o(j, { size: 14 }),
|
|
58
|
-
"Copied!"
|
|
59
|
-
] }) : /* @__PURE__ */ r(d, { children: [
|
|
60
|
-
/* @__PURE__ */ o(v, { size: 14 }),
|
|
61
|
-
"Copy"
|
|
62
|
-
] })
|
|
63
|
-
}
|
|
64
|
-
)
|
|
65
|
-
] }),
|
|
66
|
-
/* @__PURE__ */ o("div", { className: t.codeBlockContent, style: { maxHeight: h }, children: /* @__PURE__ */ o(
|
|
67
|
-
x,
|
|
68
|
-
{
|
|
69
|
-
language: c,
|
|
70
|
-
style: f,
|
|
71
|
-
showLineNumbers: m,
|
|
72
|
-
customStyle: {
|
|
73
|
-
margin: 0,
|
|
74
|
-
padding: 0,
|
|
75
|
-
background: "transparent",
|
|
76
|
-
fontSize: "inherit",
|
|
77
|
-
lineHeight: "inherit"
|
|
78
|
-
},
|
|
79
|
-
codeTagProps: {
|
|
80
|
-
style: {
|
|
81
|
-
fontFamily: "var(--font-mono)"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
children: e
|
|
85
|
-
}
|
|
86
|
-
) })
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
};
|
|
91
|
-
w.displayName = "ChatCodeBlock";
|
|
92
|
-
export {
|
|
93
|
-
w as ChatCodeBlock
|
|
94
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("react"),R=require("lucide-react"),h=require("../utils.cjs"),o=require("../Chat.module.css.cjs"),g=({onFilesSelected:f,accept:i=["*/*"],multiple:C=!0,maxSize:s=10*1024*1024,children:v,className:D,...k})=>{const[m,u]=t.useState(!1),c=t.useRef(null),d=t.useCallback(e=>{if(!e||e.length===0)return;const r=[];Array.from(e).forEach(l=>{if(s&&l.size>s){console.warn(`File ${l.name} exceeds max size of ${h.formatFileSize(s)}`);return}const F=i.includes("*/*"),q=i.flatMap(n=>(n.endsWith("/*"),n));if(!(F||q.some(n=>{if(n.endsWith("/*")){const N=n.split("/")[0];return l.type.startsWith(`${N}/`)}return l.type===n||l.name.endsWith(n)}))){console.warn(`File ${l.name} type not accepted`);return}r.push(l)}),r.length>0&&f?.(r)},[i,s,f]),b=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),u(!0)},[]),j=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),u(!1)},[]),y=t.useCallback(e=>{e.preventDefault(),e.stopPropagation(),u(!1);const{files:r}=e.dataTransfer;d(r)},[d]),x=t.useCallback(e=>{d(e.target.files),c.current&&(c.current.value="")},[d]),p=t.useCallback(()=>{c.current?.click()},[]),U=t.useCallback(e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),p())},[p]);return a.jsxs("div",{className:[o.default.fileUpload,m&&o.default.fileUploadDragging,D].filter(Boolean).join(" "),onDragOver:b,onDragLeave:j,onDrop:y,onClick:p,onKeyDown:U,role:"button",tabIndex:0,"aria-label":"Upload files",...k,children:[a.jsx("input",{ref:c,type:"file",accept:i.join(","),multiple:C,onChange:x,style:{display:"none"},"aria-hidden":"true"}),v||a.jsxs(a.Fragment,{children:[a.jsx("div",{className:o.default.fileUploadIcon,children:a.jsx(R.Upload,{size:32})}),a.jsxs("div",{className:o.default.fileUploadText,children:[a.jsx("strong",{children:"Click to upload"})," or drag and drop"]}),a.jsxs("div",{className:o.default.fileUploadHint,children:["Max file size: ",h.formatFileSize(s)]})]})]})};g.displayName="ChatFileUpload";exports.ChatFileUpload=g;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as d, jsx as p, Fragment as A } from "react/jsx-runtime";
|
|
3
|
-
import { useState as I, useRef as W, useCallback as a } from "react";
|
|
4
|
-
import { Upload as $ } from "lucide-react";
|
|
5
|
-
import { formatFileSize as g } from "../utils.mjs";
|
|
6
|
-
import l from "../Chat.module.css.mjs";
|
|
7
|
-
const P = ({
|
|
8
|
-
onFilesSelected: h,
|
|
9
|
-
accept: s = ["*/*"],
|
|
10
|
-
multiple: m = !0,
|
|
11
|
-
maxSize: r = 10 * 1024 * 1024,
|
|
12
|
-
// 10MB default
|
|
13
|
-
children: D,
|
|
14
|
-
className: v,
|
|
15
|
-
...y
|
|
16
|
-
}) => {
|
|
17
|
-
const [U, f] = I(!1), i = W(null), c = a(
|
|
18
|
-
(e) => {
|
|
19
|
-
if (!e || e.length === 0) return;
|
|
20
|
-
const o = [];
|
|
21
|
-
Array.from(e).forEach((t) => {
|
|
22
|
-
if (r && t.size > r) {
|
|
23
|
-
console.warn(
|
|
24
|
-
`File ${t.name} exceeds max size of ${g(r)}`
|
|
25
|
-
);
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
const j = s.includes("*/*"), w = s.flatMap((n) => (n.endsWith("/*"), n));
|
|
29
|
-
if (!(j || w.some((n) => {
|
|
30
|
-
if (n.endsWith("/*")) {
|
|
31
|
-
const x = n.split("/")[0];
|
|
32
|
-
return t.type.startsWith(`${x}/`);
|
|
33
|
-
}
|
|
34
|
-
return t.type === n || t.name.endsWith(n);
|
|
35
|
-
}))) {
|
|
36
|
-
console.warn(`File ${t.name} type not accepted`);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
o.push(t);
|
|
40
|
-
}), o.length > 0 && h?.(o);
|
|
41
|
-
},
|
|
42
|
-
[s, r, h]
|
|
43
|
-
), C = a((e) => {
|
|
44
|
-
e.preventDefault(), e.stopPropagation(), f(!0);
|
|
45
|
-
}, []), k = a((e) => {
|
|
46
|
-
e.preventDefault(), e.stopPropagation(), f(!1);
|
|
47
|
-
}, []), F = a(
|
|
48
|
-
(e) => {
|
|
49
|
-
e.preventDefault(), e.stopPropagation(), f(!1);
|
|
50
|
-
const { files: o } = e.dataTransfer;
|
|
51
|
-
c(o);
|
|
52
|
-
},
|
|
53
|
-
[c]
|
|
54
|
-
), N = a(
|
|
55
|
-
(e) => {
|
|
56
|
-
c(e.target.files), i.current && (i.current.value = "");
|
|
57
|
-
},
|
|
58
|
-
[c]
|
|
59
|
-
), u = a(() => {
|
|
60
|
-
i.current?.click();
|
|
61
|
-
}, []), b = a(
|
|
62
|
-
(e) => {
|
|
63
|
-
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), u());
|
|
64
|
-
},
|
|
65
|
-
[u]
|
|
66
|
-
);
|
|
67
|
-
return /* @__PURE__ */ d(
|
|
68
|
-
"div",
|
|
69
|
-
{
|
|
70
|
-
className: [
|
|
71
|
-
l.fileUpload,
|
|
72
|
-
U && l.fileUploadDragging,
|
|
73
|
-
v
|
|
74
|
-
].filter(Boolean).join(" "),
|
|
75
|
-
onDragOver: C,
|
|
76
|
-
onDragLeave: k,
|
|
77
|
-
onDrop: F,
|
|
78
|
-
onClick: u,
|
|
79
|
-
onKeyDown: b,
|
|
80
|
-
role: "button",
|
|
81
|
-
tabIndex: 0,
|
|
82
|
-
"aria-label": "Upload files",
|
|
83
|
-
...y,
|
|
84
|
-
children: [
|
|
85
|
-
/* @__PURE__ */ p(
|
|
86
|
-
"input",
|
|
87
|
-
{
|
|
88
|
-
ref: i,
|
|
89
|
-
type: "file",
|
|
90
|
-
accept: s.join(","),
|
|
91
|
-
multiple: m,
|
|
92
|
-
onChange: N,
|
|
93
|
-
style: { display: "none" },
|
|
94
|
-
"aria-hidden": "true"
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
D || /* @__PURE__ */ d(A, { children: [
|
|
98
|
-
/* @__PURE__ */ p("div", { className: l.fileUploadIcon, children: /* @__PURE__ */ p($, { size: 32 }) }),
|
|
99
|
-
/* @__PURE__ */ d("div", { className: l.fileUploadText, children: [
|
|
100
|
-
/* @__PURE__ */ p("strong", { children: "Click to upload" }),
|
|
101
|
-
" or drag and drop"
|
|
102
|
-
] }),
|
|
103
|
-
/* @__PURE__ */ d("div", { className: l.fileUploadHint, children: [
|
|
104
|
-
"Max file size: ",
|
|
105
|
-
g(r)
|
|
106
|
-
] })
|
|
107
|
-
] })
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
);
|
|
111
|
-
};
|
|
112
|
-
P.displayName = "ChatFileUpload";
|
|
113
|
-
export {
|
|
114
|
-
P as ChatFileUpload
|
|
115
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("lucide-react"),a=require("../Chat.module.css.cjs"),d=({title:r="AI Assistant",subtitle:s,avatar:l,actions:t,children:i,className:n,...c})=>e.jsxs("div",{className:[a.default.header,n].filter(Boolean).join(" "),...c,children:[e.jsx("div",{className:a.default.headerAvatar,children:l||e.jsx("div",{className:[a.default.messageAvatar,a.default.headerAvatarDefault].filter(Boolean).join(" "),children:e.jsx(h.Bot,{size:20})})}),e.jsx("div",{className:a.default.headerContent,children:i||e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:a.default.headerTitle,children:r}),s&&e.jsx("p",{className:a.default.headerSubtitle,children:s})]})}),t&&e.jsx("div",{className:a.default.headerActions,children:t})]});d.displayName="ChatHeader";exports.ChatHeader=d;
|