@orion-ds/react 4.6.5 → 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.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,151 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as F, useState as G, useCallback as p } from "react";
|
|
4
|
-
import "lucide-react";
|
|
5
|
-
import { Button as h } from "../../../../dist/components/Button/Button.mjs";
|
|
6
|
-
import { Card as m } from "../../../../dist/components/Card/Card.mjs";
|
|
7
|
-
import { Field as n } from "../../../../dist/components/Field/Field.mjs";
|
|
8
|
-
import r from "./AgentEditor.module.css.mjs";
|
|
9
|
-
const A = F(
|
|
10
|
-
({
|
|
11
|
-
title: u = "Edit Agent",
|
|
12
|
-
agent: v,
|
|
13
|
-
availableModels: i = ["gpt-4", "gpt-3.5-turbo", "claude-3-opus"],
|
|
14
|
-
onSave: d,
|
|
15
|
-
onCancel: f,
|
|
16
|
-
isLoading: l = !1,
|
|
17
|
-
error: c,
|
|
18
|
-
className: b,
|
|
19
|
-
...g
|
|
20
|
-
}, N) => {
|
|
21
|
-
const [t, y] = G(
|
|
22
|
-
v || {
|
|
23
|
-
id: "",
|
|
24
|
-
name: "",
|
|
25
|
-
description: "",
|
|
26
|
-
model: i[0] || "gpt-4",
|
|
27
|
-
systemPrompt: "",
|
|
28
|
-
temperature: 0.7,
|
|
29
|
-
maxTokens: 2e3
|
|
30
|
-
}
|
|
31
|
-
), o = p(
|
|
32
|
-
(a, C) => {
|
|
33
|
-
y((k) => ({
|
|
34
|
-
...k,
|
|
35
|
-
[a]: C
|
|
36
|
-
}));
|
|
37
|
-
},
|
|
38
|
-
[]
|
|
39
|
-
), x = p(() => {
|
|
40
|
-
t.name.trim() && d?.(t);
|
|
41
|
-
}, [t, d]);
|
|
42
|
-
return /* @__PURE__ */ e(
|
|
43
|
-
"div",
|
|
44
|
-
{
|
|
45
|
-
ref: N,
|
|
46
|
-
className: [r.root, b].filter(Boolean).join(" "),
|
|
47
|
-
...g,
|
|
48
|
-
children: /* @__PURE__ */ s(m, { children: [
|
|
49
|
-
/* @__PURE__ */ e(m.Header, { children: /* @__PURE__ */ e("h2", { className: r.title, children: u }) }),
|
|
50
|
-
/* @__PURE__ */ s(m.Body, { className: r.body, children: [
|
|
51
|
-
c && /* @__PURE__ */ e("div", { className: r.error, children: c }),
|
|
52
|
-
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
53
|
-
n,
|
|
54
|
-
{
|
|
55
|
-
label: "Agent Name",
|
|
56
|
-
type: "text",
|
|
57
|
-
placeholder: "e.g., Customer Support Bot",
|
|
58
|
-
value: t.name,
|
|
59
|
-
onChange: (a) => o("name", a.target.value),
|
|
60
|
-
disabled: l
|
|
61
|
-
}
|
|
62
|
-
) }),
|
|
63
|
-
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
64
|
-
n,
|
|
65
|
-
{
|
|
66
|
-
label: "Description",
|
|
67
|
-
placeholder: "Brief description of the agent's purpose",
|
|
68
|
-
value: t.description,
|
|
69
|
-
onChange: (a) => o("description", a.target.value),
|
|
70
|
-
disabled: l
|
|
71
|
-
}
|
|
72
|
-
) }),
|
|
73
|
-
/* @__PURE__ */ s("div", { className: r.formRow, children: [
|
|
74
|
-
/* @__PURE__ */ s("div", { className: r.formGroup, children: [
|
|
75
|
-
/* @__PURE__ */ e("label", { htmlFor: "model", className: r.label, children: "Model" }),
|
|
76
|
-
/* @__PURE__ */ e(
|
|
77
|
-
"select",
|
|
78
|
-
{
|
|
79
|
-
id: "model",
|
|
80
|
-
className: r.select,
|
|
81
|
-
value: t.model,
|
|
82
|
-
onChange: (a) => o("model", a.target.value),
|
|
83
|
-
disabled: l,
|
|
84
|
-
children: i.map((a) => /* @__PURE__ */ e("option", { value: a, children: a }, a))
|
|
85
|
-
}
|
|
86
|
-
)
|
|
87
|
-
] }),
|
|
88
|
-
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
89
|
-
n,
|
|
90
|
-
{
|
|
91
|
-
label: "Temperature",
|
|
92
|
-
type: "number",
|
|
93
|
-
min: "0",
|
|
94
|
-
max: "2",
|
|
95
|
-
step: "0.1",
|
|
96
|
-
value: t.temperature,
|
|
97
|
-
onChange: (a) => o("temperature", parseFloat(a.target.value)),
|
|
98
|
-
disabled: l
|
|
99
|
-
}
|
|
100
|
-
) })
|
|
101
|
-
] }),
|
|
102
|
-
/* @__PURE__ */ e("div", { className: r.formGroup, children: /* @__PURE__ */ e(
|
|
103
|
-
n,
|
|
104
|
-
{
|
|
105
|
-
label: "Max Tokens",
|
|
106
|
-
type: "number",
|
|
107
|
-
min: "1",
|
|
108
|
-
max: "32000",
|
|
109
|
-
value: t.maxTokens,
|
|
110
|
-
onChange: (a) => o("maxTokens", parseInt(a.target.value, 10)),
|
|
111
|
-
disabled: l
|
|
112
|
-
}
|
|
113
|
-
) }),
|
|
114
|
-
/* @__PURE__ */ s("div", { className: r.formGroup, children: [
|
|
115
|
-
/* @__PURE__ */ e("label", { htmlFor: "system-prompt", className: r.label, children: "System Prompt" }),
|
|
116
|
-
/* @__PURE__ */ e(
|
|
117
|
-
"textarea",
|
|
118
|
-
{
|
|
119
|
-
id: "system-prompt",
|
|
120
|
-
className: r.textarea,
|
|
121
|
-
placeholder: "Define the agent's behavior and instructions",
|
|
122
|
-
value: t.systemPrompt,
|
|
123
|
-
onChange: (a) => o("systemPrompt", a.target.value),
|
|
124
|
-
disabled: l,
|
|
125
|
-
rows: 6
|
|
126
|
-
}
|
|
127
|
-
)
|
|
128
|
-
] })
|
|
129
|
-
] }),
|
|
130
|
-
/* @__PURE__ */ s(m.Footer, { className: r.footer, children: [
|
|
131
|
-
/* @__PURE__ */ e(h, { variant: "ghost", onClick: f, disabled: l, children: "Cancel" }),
|
|
132
|
-
/* @__PURE__ */ e(
|
|
133
|
-
h,
|
|
134
|
-
{
|
|
135
|
-
variant: "primary",
|
|
136
|
-
onClick: x,
|
|
137
|
-
isLoading: l,
|
|
138
|
-
disabled: !t.name.trim(),
|
|
139
|
-
children: "Save Agent"
|
|
140
|
-
}
|
|
141
|
-
)
|
|
142
|
-
] })
|
|
143
|
-
] })
|
|
144
|
-
}
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
);
|
|
148
|
-
A.displayName = "AgentEditor";
|
|
149
|
-
export {
|
|
150
|
-
A as AgentEditor
|
|
151
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),d=require("lucide-react"),b=require("../../../../dist/components/Badge/Badge.cjs"),j=require("../../../../dist/components/Button/Button.cjs"),i=require("../../../../dist/components/Card/Card.cjs"),a=require("./AgentWorkspace.module.css.cjs");function k(l){switch(l){case"active":return"success";case"inactive":return"info";case"error":return"error";default:return"info"}}function S(l){return l.charAt(0).toUpperCase()+l.slice(1)}const x=r.forwardRef(({title:l="Agent Workspace",agents:n=[],selectedAgentId:p,onSelectAgent:N,onCreateAgent:c,onDeleteAgent:o,onEditAgent:u,isLoading:m=!1,error:f,subtitle:h,className:g,...C},v)=>{const y=r.useCallback((t,s)=>{s.stopPropagation(),window.confirm("Are you sure you want to delete this agent?")&&o?.(t)},[o]),B=r.useCallback((t,s)=>{s.stopPropagation(),u?.(t)},[u]);return e.jsxs("div",{ref:v,className:[a.default.root,g].filter(Boolean).join(" "),...C,children:[e.jsxs("div",{className:a.default.header,children:[e.jsxs("div",{className:a.default.headerContent,children:[e.jsx("h1",{className:a.default.title,children:l}),h&&e.jsx("p",{className:a.default.subtitle,children:h})]}),e.jsx(j.Button,{variant:"primary",icon:e.jsx(d.Plus,{size:20}),onClick:c,disabled:m,children:"New Agent"})]}),f&&e.jsx("div",{className:a.default.error,children:f}),e.jsx("div",{className:a.default.grid,children:n.length===0?e.jsx(i.Card,{className:a.default.emptyState,children:e.jsxs(i.Card.Body,{className:a.default.emptyStateBody,children:[e.jsx("div",{className:a.default.emptyStateIcon,children:"📋"}),e.jsx("h3",{className:a.default.emptyStateTitle,children:"No agents yet"}),e.jsx("p",{className:a.default.emptyStateText,children:"Create your first agent to get started"}),e.jsx(j.Button,{variant:"primary",onClick:c,disabled:m,children:"Create Agent"})]})}):n.map(t=>e.jsx(i.Card,{className:[a.default.agentCard,p===t.id&&a.default.agentCardSelected].filter(Boolean).join(" "),onClick:()=>N?.(t.id),children:e.jsxs(i.Card.Body,{className:a.default.agentCardBody,children:[e.jsxs("div",{className:a.default.agentHeader,children:[e.jsxs("div",{className:a.default.agentInfo,children:[e.jsx("h3",{className:a.default.agentName,children:t.name}),e.jsx(b.Badge,{variant:k(t.status),size:"sm",children:S(t.status)})]}),e.jsxs("div",{className:a.default.agentActions,children:[e.jsx("button",{className:a.default.actionButton,onClick:s=>B(t.id,s),"aria-label":"Edit agent",title:"Edit agent",children:e.jsx(d.Edit2,{size:18})}),e.jsx("button",{className:[a.default.actionButton,a.default.actionButtonDanger].join(" "),onClick:s=>y(t.id,s),"aria-label":"Delete agent",title:"Delete agent",children:e.jsx(d.Trash2,{size:18})})]})]}),e.jsx("p",{className:a.default.agentDescription,children:t.description}),e.jsxs("div",{className:a.default.agentMeta,children:[e.jsxs("div",{className:a.default.metaItem,children:[e.jsx(d.Clock,{size:14}),e.jsxs("span",{className:a.default.metaLabel,children:["Updated"," ",new Date(t.lastUpdated).toLocaleDateString()]})]}),t.usageCount!==void 0&&e.jsx("div",{className:a.default.metaItem,children:e.jsxs("span",{className:a.default.metaLabel,children:[t.usageCount," uses"]})})]})]})},t.id))})]})});x.displayName="AgentWorkspace";exports.AgentWorkspace=x;
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as k, useCallback as u } from "react";
|
|
4
|
-
import { Plus as S, Edit2 as w, Trash2 as D, Clock as j } from "lucide-react";
|
|
5
|
-
import { Badge as x } from "../../../../dist/components/Badge/Badge.mjs";
|
|
6
|
-
import { Button as N } from "../../../../dist/components/Button/Button.mjs";
|
|
7
|
-
import { Card as l } from "../../../../dist/components/Card/Card.mjs";
|
|
8
|
-
import e from "./AgentWorkspace.module.css.mjs";
|
|
9
|
-
function z(r) {
|
|
10
|
-
switch (r) {
|
|
11
|
-
case "active":
|
|
12
|
-
return "success";
|
|
13
|
-
case "inactive":
|
|
14
|
-
return "info";
|
|
15
|
-
case "error":
|
|
16
|
-
return "error";
|
|
17
|
-
default:
|
|
18
|
-
return "info";
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function A(r) {
|
|
22
|
-
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
23
|
-
}
|
|
24
|
-
const I = k(
|
|
25
|
-
({
|
|
26
|
-
title: r = "Agent Workspace",
|
|
27
|
-
agents: n = [],
|
|
28
|
-
selectedAgentId: f,
|
|
29
|
-
onSelectAgent: v,
|
|
30
|
-
onCreateAgent: c,
|
|
31
|
-
onDeleteAgent: d,
|
|
32
|
-
onEditAgent: o,
|
|
33
|
-
isLoading: m = !1,
|
|
34
|
-
error: h,
|
|
35
|
-
subtitle: p,
|
|
36
|
-
className: g,
|
|
37
|
-
...y
|
|
38
|
-
}, C) => {
|
|
39
|
-
const B = u(
|
|
40
|
-
(t, s) => {
|
|
41
|
-
s.stopPropagation(), window.confirm("Are you sure you want to delete this agent?") && d?.(t);
|
|
42
|
-
},
|
|
43
|
-
[d]
|
|
44
|
-
), b = u(
|
|
45
|
-
(t, s) => {
|
|
46
|
-
s.stopPropagation(), o?.(t);
|
|
47
|
-
},
|
|
48
|
-
[o]
|
|
49
|
-
);
|
|
50
|
-
return /* @__PURE__ */ i(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
ref: C,
|
|
54
|
-
className: [e.root, g].filter(Boolean).join(" "),
|
|
55
|
-
...y,
|
|
56
|
-
children: [
|
|
57
|
-
/* @__PURE__ */ i("div", { className: e.header, children: [
|
|
58
|
-
/* @__PURE__ */ i("div", { className: e.headerContent, children: [
|
|
59
|
-
/* @__PURE__ */ a("h1", { className: e.title, children: r }),
|
|
60
|
-
p && /* @__PURE__ */ a("p", { className: e.subtitle, children: p })
|
|
61
|
-
] }),
|
|
62
|
-
/* @__PURE__ */ a(
|
|
63
|
-
N,
|
|
64
|
-
{
|
|
65
|
-
variant: "primary",
|
|
66
|
-
icon: /* @__PURE__ */ a(S, { size: 20 }),
|
|
67
|
-
onClick: c,
|
|
68
|
-
disabled: m,
|
|
69
|
-
children: "New Agent"
|
|
70
|
-
}
|
|
71
|
-
)
|
|
72
|
-
] }),
|
|
73
|
-
h && /* @__PURE__ */ a("div", { className: e.error, children: h }),
|
|
74
|
-
/* @__PURE__ */ a("div", { className: e.grid, children: n.length === 0 ? /* @__PURE__ */ a(l, { className: e.emptyState, children: /* @__PURE__ */ i(l.Body, { className: e.emptyStateBody, children: [
|
|
75
|
-
/* @__PURE__ */ a("div", { className: e.emptyStateIcon, children: "📋" }),
|
|
76
|
-
/* @__PURE__ */ a("h3", { className: e.emptyStateTitle, children: "No agents yet" }),
|
|
77
|
-
/* @__PURE__ */ a("p", { className: e.emptyStateText, children: "Create your first agent to get started" }),
|
|
78
|
-
/* @__PURE__ */ a(
|
|
79
|
-
N,
|
|
80
|
-
{
|
|
81
|
-
variant: "primary",
|
|
82
|
-
onClick: c,
|
|
83
|
-
disabled: m,
|
|
84
|
-
children: "Create Agent"
|
|
85
|
-
}
|
|
86
|
-
)
|
|
87
|
-
] }) }) : n.map((t) => /* @__PURE__ */ a(
|
|
88
|
-
l,
|
|
89
|
-
{
|
|
90
|
-
className: [
|
|
91
|
-
e.agentCard,
|
|
92
|
-
f === t.id && e.agentCardSelected
|
|
93
|
-
].filter(Boolean).join(" "),
|
|
94
|
-
onClick: () => v?.(t.id),
|
|
95
|
-
children: /* @__PURE__ */ i(l.Body, { className: e.agentCardBody, children: [
|
|
96
|
-
/* @__PURE__ */ i("div", { className: e.agentHeader, children: [
|
|
97
|
-
/* @__PURE__ */ i("div", { className: e.agentInfo, children: [
|
|
98
|
-
/* @__PURE__ */ a("h3", { className: e.agentName, children: t.name }),
|
|
99
|
-
/* @__PURE__ */ a(x, { variant: z(t.status), size: "sm", children: A(t.status) })
|
|
100
|
-
] }),
|
|
101
|
-
/* @__PURE__ */ i("div", { className: e.agentActions, children: [
|
|
102
|
-
/* @__PURE__ */ a(
|
|
103
|
-
"button",
|
|
104
|
-
{
|
|
105
|
-
className: e.actionButton,
|
|
106
|
-
onClick: (s) => b(t.id, s),
|
|
107
|
-
"aria-label": "Edit agent",
|
|
108
|
-
title: "Edit agent",
|
|
109
|
-
children: /* @__PURE__ */ a(w, { size: 18 })
|
|
110
|
-
}
|
|
111
|
-
),
|
|
112
|
-
/* @__PURE__ */ a(
|
|
113
|
-
"button",
|
|
114
|
-
{
|
|
115
|
-
className: [
|
|
116
|
-
e.actionButton,
|
|
117
|
-
e.actionButtonDanger
|
|
118
|
-
].join(" "),
|
|
119
|
-
onClick: (s) => B(t.id, s),
|
|
120
|
-
"aria-label": "Delete agent",
|
|
121
|
-
title: "Delete agent",
|
|
122
|
-
children: /* @__PURE__ */ a(D, { size: 18 })
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
] })
|
|
126
|
-
] }),
|
|
127
|
-
/* @__PURE__ */ a("p", { className: e.agentDescription, children: t.description }),
|
|
128
|
-
/* @__PURE__ */ i("div", { className: e.agentMeta, children: [
|
|
129
|
-
/* @__PURE__ */ i("div", { className: e.metaItem, children: [
|
|
130
|
-
/* @__PURE__ */ a(j, { size: 14 }),
|
|
131
|
-
/* @__PURE__ */ i("span", { className: e.metaLabel, children: [
|
|
132
|
-
"Updated",
|
|
133
|
-
" ",
|
|
134
|
-
new Date(t.lastUpdated).toLocaleDateString()
|
|
135
|
-
] })
|
|
136
|
-
] }),
|
|
137
|
-
t.usageCount !== void 0 && /* @__PURE__ */ a("div", { className: e.metaItem, children: /* @__PURE__ */ i("span", { className: e.metaLabel, children: [
|
|
138
|
-
t.usageCount,
|
|
139
|
-
" uses"
|
|
140
|
-
] }) })
|
|
141
|
-
] })
|
|
142
|
-
] })
|
|
143
|
-
},
|
|
144
|
-
t.id
|
|
145
|
-
)) })
|
|
146
|
-
]
|
|
147
|
-
}
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
);
|
|
151
|
-
I.displayName = "AgentWorkspace";
|
|
152
|
-
export {
|
|
153
|
-
I as AgentWorkspace
|
|
154
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_root_g6y6k_3",e="_header_g6y6k_12",a="_headerContent_g6y6k_19",n="_title_g6y6k_23",o="_subtitle_g6y6k_30",_="_error_g6y6k_36",g="_grid_g6y6k_45",r="_emptyState_g6y6k_67",y="_emptyStateBody_g6y6k_71",c="_emptyStateIcon_g6y6k_81",d="_emptyStateTitle_g6y6k_85",s="_emptyStateText_g6y6k_92",i="_agentCard_g6y6k_98",m="_agentCardSelected_g6y6k_110",l="_agentCardBody_g6y6k_115",S="_agentHeader_g6y6k_122",k="_agentInfo_g6y6k_129",p="_agentName_g6y6k_136",u="_agentActions_g6y6k_143",B="_actionButton_g6y6k_149",C="_actionButtonDanger_g6y6k_169",I="_agentDescription_g6y6k_174",b="_agentMeta_g6y6k_181",T="_metaItem_g6y6k_188",h="_metaLabel_g6y6k_196",D={root:t,header:e,headerContent:a,title:n,subtitle:o,error:_,grid:g,emptyState:r,emptyStateBody:y,emptyStateIcon:c,emptyStateTitle:d,emptyStateText:s,agentCard:i,agentCardSelected:m,agentCardBody:l,agentHeader:S,agentInfo:k,agentName:p,agentActions:u,actionButton:B,actionButtonDanger:C,agentDescription:I,agentMeta:b,metaItem:T,metaLabel:h};exports.actionButton=B;exports.actionButtonDanger=C;exports.agentActions=u;exports.agentCard=i;exports.agentCardBody=l;exports.agentCardSelected=m;exports.agentDescription=I;exports.agentHeader=S;exports.agentInfo=k;exports.agentMeta=b;exports.agentName=p;exports.default=D;exports.emptyState=r;exports.emptyStateBody=y;exports.emptyStateIcon=c;exports.emptyStateText=s;exports.emptyStateTitle=d;exports.error=_;exports.grid=g;exports.header=e;exports.headerContent=a;exports.metaItem=T;exports.metaLabel=h;exports.root=t;exports.subtitle=o;exports.title=n;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
const t = "_root_g6y6k_3", e = "_header_g6y6k_12", a = "_headerContent_g6y6k_19", n = "_title_g6y6k_23", _ = "_subtitle_g6y6k_30", o = "_error_g6y6k_36", g = "_grid_g6y6k_45", y = "_emptyState_g6y6k_67", c = "_emptyStateBody_g6y6k_71", r = "_emptyStateIcon_g6y6k_81", s = "_emptyStateTitle_g6y6k_85", d = "_emptyStateText_g6y6k_92", i = "_agentCard_g6y6k_98", m = "_agentCardSelected_g6y6k_110", k = "_agentCardBody_g6y6k_115", p = "_agentHeader_g6y6k_122", S = "_agentInfo_g6y6k_129", l = "_agentName_g6y6k_136", B = "_agentActions_g6y6k_143", C = "_actionButton_g6y6k_149", u = "_actionButtonDanger_g6y6k_169", I = "_agentDescription_g6y6k_174", b = "_agentMeta_g6y6k_181", h = "_metaItem_g6y6k_188", D = "_metaLabel_g6y6k_196", T = {
|
|
2
|
-
root: t,
|
|
3
|
-
header: e,
|
|
4
|
-
headerContent: a,
|
|
5
|
-
title: n,
|
|
6
|
-
subtitle: _,
|
|
7
|
-
error: o,
|
|
8
|
-
grid: g,
|
|
9
|
-
emptyState: y,
|
|
10
|
-
emptyStateBody: c,
|
|
11
|
-
emptyStateIcon: r,
|
|
12
|
-
emptyStateTitle: s,
|
|
13
|
-
emptyStateText: d,
|
|
14
|
-
agentCard: i,
|
|
15
|
-
agentCardSelected: m,
|
|
16
|
-
agentCardBody: k,
|
|
17
|
-
agentHeader: p,
|
|
18
|
-
agentInfo: S,
|
|
19
|
-
agentName: l,
|
|
20
|
-
agentActions: B,
|
|
21
|
-
actionButton: C,
|
|
22
|
-
actionButtonDanger: u,
|
|
23
|
-
agentDescription: I,
|
|
24
|
-
agentMeta: b,
|
|
25
|
-
metaItem: h,
|
|
26
|
-
metaLabel: D
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
C as actionButton,
|
|
30
|
-
u as actionButtonDanger,
|
|
31
|
-
B as agentActions,
|
|
32
|
-
i as agentCard,
|
|
33
|
-
k as agentCardBody,
|
|
34
|
-
m as agentCardSelected,
|
|
35
|
-
I as agentDescription,
|
|
36
|
-
p as agentHeader,
|
|
37
|
-
S as agentInfo,
|
|
38
|
-
b as agentMeta,
|
|
39
|
-
l as agentName,
|
|
40
|
-
T as default,
|
|
41
|
-
y as emptyState,
|
|
42
|
-
c as emptyStateBody,
|
|
43
|
-
r as emptyStateIcon,
|
|
44
|
-
d as emptyStateText,
|
|
45
|
-
s as emptyStateTitle,
|
|
46
|
-
o as error,
|
|
47
|
-
g as grid,
|
|
48
|
-
e as header,
|
|
49
|
-
a as headerContent,
|
|
50
|
-
h as metaItem,
|
|
51
|
-
D as metaLabel,
|
|
52
|
-
t as root,
|
|
53
|
-
_ as subtitle,
|
|
54
|
-
n as title
|
|
55
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),r=require("lucide-react"),B=require("../../../../dist/components/Button/Button.cjs"),a=require("./ChatPageTemplate.module.css.cjs"),h=t.forwardRef(({title:j="Chat",messages:d=[],inputPlaceholder:x="Type a message...",onSendMessage:c,participants:u=[],selectedParticipantId:N,onSelectParticipant:p,isTyping:v=!1,isLoading:l=!1,error:m,className:b,...g},y)=>{const[i,o]=t.useState(""),f=t.useRef(null);t.useEffect(()=>{f.current?.scrollIntoView({behavior:"smooth"})},[d]);const n=t.useCallback(()=>{i.trim()&&(c?.(i.trim()),o(""))},[i,c]),S=t.useCallback(s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),n())},[n]);return e.jsxs("div",{ref:y,className:[a.default.root,b].filter(Boolean).join(" "),...g,children:[u.length>0&&e.jsxs("div",{className:a.default.sidebar,children:[e.jsx("h3",{className:a.default.sidebarTitle,children:"Participants"}),e.jsx("div",{className:a.default.participantsList,children:u.map(s=>e.jsxs("div",{className:[a.default.participant,N===s.id&&a.default.participantActive].filter(Boolean).join(" "),onClick:()=>p?.(s.id),children:[s.avatar&&e.jsx("img",{src:s.avatar,alt:s.name,className:a.default.participantAvatar}),e.jsxs("div",{className:a.default.participantInfo,children:[e.jsx("div",{className:a.default.participantName,children:s.name}),s.status&&e.jsx("div",{className:[a.default.participantStatus,a.default[`status${s.status}`]].filter(Boolean).join(" "),children:s.status})]})]},s.id))})]}),e.jsxs("div",{className:a.default.mainArea,children:[e.jsxs("div",{className:a.default.header,children:[e.jsx("h2",{className:a.default.title,children:j}),m&&e.jsx("div",{className:a.default.errorBadge,children:m})]}),e.jsxs("div",{className:a.default.messagesContainer,children:[d.length===0?e.jsxs("div",{className:a.default.emptyState,children:[e.jsx("div",{className:a.default.emptyStateIcon,children:"💬"}),e.jsx("h3",{className:a.default.emptyStateTitle,children:"No messages yet"}),e.jsx("p",{className:a.default.emptyStateText,children:"Start the conversation by sending a message"})]}):e.jsxs(e.Fragment,{children:[d.map(s=>e.jsxs("div",{className:[a.default.messageWrapper,a.default[`message${s.role}`]].filter(Boolean).join(" "),children:[e.jsxs("div",{className:a.default.messageBubble,children:[e.jsx("p",{className:a.default.messageContent,children:s.content}),s.timestamp&&e.jsx("span",{className:a.default.messageTime,children:new Date(s.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]}),s.status&&e.jsxs("span",{className:[a.default.messageStatus,a.default[`status${s.status}`]].filter(Boolean).join(" "),title:s.status,children:[s.status==="sending"&&"⏱",s.status==="sent"&&"✓",s.status==="error"&&"✗"]})]},s.id)),v&&e.jsx("div",{className:[a.default.messageWrapper,a.default.messageAssistant].join(" "),children:e.jsx("div",{className:a.default.messageBubble,children:e.jsxs("div",{className:a.default.typingIndicator,children:[e.jsx("span",{}),e.jsx("span",{}),e.jsx("span",{})]})})})]}),e.jsx("div",{ref:f})]}),e.jsx("div",{className:a.default.inputArea,children:e.jsxs("div",{className:a.default.inputGroup,children:[e.jsx("button",{className:a.default.actionButton,"aria-label":"Attach file",disabled:l,children:e.jsx(r.Paperclip,{size:20})}),e.jsx("textarea",{className:a.default.input,placeholder:x,value:i,onChange:s=>o(s.target.value),onKeyDown:S,disabled:l,rows:1}),e.jsx("button",{className:a.default.actionButton,"aria-label":"Add emoji",disabled:l,children:e.jsx(r.Smile,{size:20})}),e.jsx(B.Button,{variant:"primary",iconOnly:!0,icon:e.jsx(r.Send,{size:20}),onClick:n,disabled:!i.trim()||l,isLoading:l,"aria-label":"Send message"})]})})]})]})});h.displayName="ChatPageTemplate";exports.ChatPageTemplate=h;
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as s, jsx as t, Fragment as j } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as C, useState as T, useRef as A, useEffect as w, useCallback as u } from "react";
|
|
4
|
-
import { Paperclip as x, Smile as I, Send as k } from "lucide-react";
|
|
5
|
-
import { Button as D } from "../../../../dist/components/Button/Button.mjs";
|
|
6
|
-
import e from "./ChatPageTemplate.module.css.mjs";
|
|
7
|
-
const P = C(
|
|
8
|
-
({
|
|
9
|
-
title: p = "Chat",
|
|
10
|
-
messages: n = [],
|
|
11
|
-
inputPlaceholder: N = "Type a message...",
|
|
12
|
-
onSendMessage: c,
|
|
13
|
-
participants: d = [],
|
|
14
|
-
selectedParticipantId: v,
|
|
15
|
-
onSelectParticipant: f,
|
|
16
|
-
isTyping: b = !1,
|
|
17
|
-
isLoading: i = !1,
|
|
18
|
-
error: m,
|
|
19
|
-
className: y,
|
|
20
|
-
...g
|
|
21
|
-
}, S) => {
|
|
22
|
-
const [l, o] = T(""), h = A(null);
|
|
23
|
-
w(() => {
|
|
24
|
-
h.current?.scrollIntoView({ behavior: "smooth" });
|
|
25
|
-
}, [n]);
|
|
26
|
-
const r = u(() => {
|
|
27
|
-
l.trim() && (c?.(l.trim()), o(""));
|
|
28
|
-
}, [l, c]), B = u(
|
|
29
|
-
(a) => {
|
|
30
|
-
a.key === "Enter" && !a.shiftKey && (a.preventDefault(), r());
|
|
31
|
-
},
|
|
32
|
-
[r]
|
|
33
|
-
);
|
|
34
|
-
return /* @__PURE__ */ s(
|
|
35
|
-
"div",
|
|
36
|
-
{
|
|
37
|
-
ref: S,
|
|
38
|
-
className: [e.root, y].filter(Boolean).join(" "),
|
|
39
|
-
...g,
|
|
40
|
-
children: [
|
|
41
|
-
d.length > 0 && /* @__PURE__ */ s("div", { className: e.sidebar, children: [
|
|
42
|
-
/* @__PURE__ */ t("h3", { className: e.sidebarTitle, children: "Participants" }),
|
|
43
|
-
/* @__PURE__ */ t("div", { className: e.participantsList, children: d.map((a) => /* @__PURE__ */ s(
|
|
44
|
-
"div",
|
|
45
|
-
{
|
|
46
|
-
className: [
|
|
47
|
-
e.participant,
|
|
48
|
-
v === a.id && e.participantActive
|
|
49
|
-
].filter(Boolean).join(" "),
|
|
50
|
-
onClick: () => f?.(a.id),
|
|
51
|
-
children: [
|
|
52
|
-
a.avatar && /* @__PURE__ */ t(
|
|
53
|
-
"img",
|
|
54
|
-
{
|
|
55
|
-
src: a.avatar,
|
|
56
|
-
alt: a.name,
|
|
57
|
-
className: e.participantAvatar
|
|
58
|
-
}
|
|
59
|
-
),
|
|
60
|
-
/* @__PURE__ */ s("div", { className: e.participantInfo, children: [
|
|
61
|
-
/* @__PURE__ */ t("div", { className: e.participantName, children: a.name }),
|
|
62
|
-
a.status && /* @__PURE__ */ t(
|
|
63
|
-
"div",
|
|
64
|
-
{
|
|
65
|
-
className: [
|
|
66
|
-
e.participantStatus,
|
|
67
|
-
e[`status${a.status}`]
|
|
68
|
-
].filter(Boolean).join(" "),
|
|
69
|
-
children: a.status
|
|
70
|
-
}
|
|
71
|
-
)
|
|
72
|
-
] })
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
a.id
|
|
76
|
-
)) })
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ s("div", { className: e.mainArea, children: [
|
|
79
|
-
/* @__PURE__ */ s("div", { className: e.header, children: [
|
|
80
|
-
/* @__PURE__ */ t("h2", { className: e.title, children: p }),
|
|
81
|
-
m && /* @__PURE__ */ t("div", { className: e.errorBadge, children: m })
|
|
82
|
-
] }),
|
|
83
|
-
/* @__PURE__ */ s("div", { className: e.messagesContainer, children: [
|
|
84
|
-
n.length === 0 ? /* @__PURE__ */ s("div", { className: e.emptyState, children: [
|
|
85
|
-
/* @__PURE__ */ t("div", { className: e.emptyStateIcon, children: "💬" }),
|
|
86
|
-
/* @__PURE__ */ t("h3", { className: e.emptyStateTitle, children: "No messages yet" }),
|
|
87
|
-
/* @__PURE__ */ t("p", { className: e.emptyStateText, children: "Start the conversation by sending a message" })
|
|
88
|
-
] }) : /* @__PURE__ */ s(j, { children: [
|
|
89
|
-
n.map((a) => /* @__PURE__ */ s(
|
|
90
|
-
"div",
|
|
91
|
-
{
|
|
92
|
-
className: [
|
|
93
|
-
e.messageWrapper,
|
|
94
|
-
e[`message${a.role}`]
|
|
95
|
-
].filter(Boolean).join(" "),
|
|
96
|
-
children: [
|
|
97
|
-
/* @__PURE__ */ s("div", { className: e.messageBubble, children: [
|
|
98
|
-
/* @__PURE__ */ t("p", { className: e.messageContent, children: a.content }),
|
|
99
|
-
a.timestamp && /* @__PURE__ */ t("span", { className: e.messageTime, children: new Date(a.timestamp).toLocaleTimeString([], {
|
|
100
|
-
hour: "2-digit",
|
|
101
|
-
minute: "2-digit"
|
|
102
|
-
}) })
|
|
103
|
-
] }),
|
|
104
|
-
a.status && /* @__PURE__ */ s(
|
|
105
|
-
"span",
|
|
106
|
-
{
|
|
107
|
-
className: [
|
|
108
|
-
e.messageStatus,
|
|
109
|
-
e[`status${a.status}`]
|
|
110
|
-
].filter(Boolean).join(" "),
|
|
111
|
-
title: a.status,
|
|
112
|
-
children: [
|
|
113
|
-
a.status === "sending" && "⏱",
|
|
114
|
-
a.status === "sent" && "✓",
|
|
115
|
-
a.status === "error" && "✗"
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
)
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
a.id
|
|
122
|
-
)),
|
|
123
|
-
b && /* @__PURE__ */ t(
|
|
124
|
-
"div",
|
|
125
|
-
{
|
|
126
|
-
className: [
|
|
127
|
-
e.messageWrapper,
|
|
128
|
-
e.messageAssistant
|
|
129
|
-
].join(" "),
|
|
130
|
-
children: /* @__PURE__ */ t("div", { className: e.messageBubble, children: /* @__PURE__ */ s("div", { className: e.typingIndicator, children: [
|
|
131
|
-
/* @__PURE__ */ t("span", {}),
|
|
132
|
-
/* @__PURE__ */ t("span", {}),
|
|
133
|
-
/* @__PURE__ */ t("span", {})
|
|
134
|
-
] }) })
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] }),
|
|
138
|
-
/* @__PURE__ */ t("div", { ref: h })
|
|
139
|
-
] }),
|
|
140
|
-
/* @__PURE__ */ t("div", { className: e.inputArea, children: /* @__PURE__ */ s("div", { className: e.inputGroup, children: [
|
|
141
|
-
/* @__PURE__ */ t(
|
|
142
|
-
"button",
|
|
143
|
-
{
|
|
144
|
-
className: e.actionButton,
|
|
145
|
-
"aria-label": "Attach file",
|
|
146
|
-
disabled: i,
|
|
147
|
-
children: /* @__PURE__ */ t(x, { size: 20 })
|
|
148
|
-
}
|
|
149
|
-
),
|
|
150
|
-
/* @__PURE__ */ t(
|
|
151
|
-
"textarea",
|
|
152
|
-
{
|
|
153
|
-
className: e.input,
|
|
154
|
-
placeholder: N,
|
|
155
|
-
value: l,
|
|
156
|
-
onChange: (a) => o(a.target.value),
|
|
157
|
-
onKeyDown: B,
|
|
158
|
-
disabled: i,
|
|
159
|
-
rows: 1
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
/* @__PURE__ */ t(
|
|
163
|
-
"button",
|
|
164
|
-
{
|
|
165
|
-
className: e.actionButton,
|
|
166
|
-
"aria-label": "Add emoji",
|
|
167
|
-
disabled: i,
|
|
168
|
-
children: /* @__PURE__ */ t(I, { size: 20 })
|
|
169
|
-
}
|
|
170
|
-
),
|
|
171
|
-
/* @__PURE__ */ t(
|
|
172
|
-
D,
|
|
173
|
-
{
|
|
174
|
-
variant: "primary",
|
|
175
|
-
iconOnly: !0,
|
|
176
|
-
icon: /* @__PURE__ */ t(k, { size: 20 }),
|
|
177
|
-
onClick: r,
|
|
178
|
-
disabled: !l.trim() || i,
|
|
179
|
-
isLoading: i,
|
|
180
|
-
"aria-label": "Send message"
|
|
181
|
-
}
|
|
182
|
-
)
|
|
183
|
-
] }) })
|
|
184
|
-
] })
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
);
|
|
188
|
-
}
|
|
189
|
-
);
|
|
190
|
-
P.displayName = "ChatPageTemplate";
|
|
191
|
-
export {
|
|
192
|
-
P as ChatPageTemplate
|
|
193
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_root_z5x1z_3",a="_sidebar_z5x1z_11",e="_sidebarTitle_z5x1z_26",s="_participantsList_z5x1z_35",n="_participant_z5x1z_35",i="_participantActive_z5x1z_54",_="_participantAvatar_z5x1z_59",r="_participantInfo_z5x1z_66",p="_participantName_z5x1z_71",o="_participantStatus_z5x1z_80",c="_statusonline_z5x1z_86",z="_statusaway_z5x1z_90",u="_statusoffline_z5x1z_94",m="_mainArea_z5x1z_98",g="_header_z5x1z_105",x="_title_z5x1z_114",l="_errorBadge_z5x1z_121",y="_messagesContainer_z5x1z_130",d="_emptyState_z5x1z_139",S="_emptyStateIcon_z5x1z_149",b="_emptyStateTitle_z5x1z_153",T="_emptyStateText_z5x1z_160",A="_messageWrapper_z5x1z_166",f="_messageuser_z5x1z_172",B="_messageassistant_z5x1z_176",I="_messageBubble_z5x1z_180",v="_messageContent_z5x1z_199",C="_messageTime_z5x1z_205",h="_messageStatus_z5x1z_212",w="_statussending_z5x1z_217",G="_statussent_z5x1z_221",L="_statuserror_z5x1z_225",N="_typingIndicator_z5x1z_229",W="_typing_z5x1z_229",M="_inputArea_z5x1z_265",j="_inputGroup_z5x1z_271",O="_input_z5x1z_265",P="_actionButton_z5x1z_306",k={root:t,sidebar:a,sidebarTitle:e,participantsList:s,participant:n,participantActive:i,participantAvatar:_,participantInfo:r,participantName:p,participantStatus:o,statusonline:c,statusaway:z,statusoffline:u,mainArea:m,header:g,title:x,errorBadge:l,messagesContainer:y,emptyState:d,emptyStateIcon:S,emptyStateTitle:b,emptyStateText:T,messageWrapper:A,messageuser:f,messageassistant:B,messageBubble:I,messageContent:v,messageTime:C,messageStatus:h,statussending:w,statussent:G,statuserror:L,typingIndicator:N,typing:W,inputArea:M,inputGroup:j,input:O,actionButton:P};exports.actionButton=P;exports.default=k;exports.emptyState=d;exports.emptyStateIcon=S;exports.emptyStateText=T;exports.emptyStateTitle=b;exports.errorBadge=l;exports.header=g;exports.input=O;exports.inputArea=M;exports.inputGroup=j;exports.mainArea=m;exports.messageBubble=I;exports.messageContent=v;exports.messageStatus=h;exports.messageTime=C;exports.messageWrapper=A;exports.messageassistant=B;exports.messagesContainer=y;exports.messageuser=f;exports.participant=n;exports.participantActive=i;exports.participantAvatar=_;exports.participantInfo=r;exports.participantName=p;exports.participantStatus=o;exports.participantsList=s;exports.root=t;exports.sidebar=a;exports.sidebarTitle=e;exports.statusaway=z;exports.statuserror=L;exports.statusoffline=u;exports.statusonline=c;exports.statussending=w;exports.statussent=G;exports.title=x;exports.typing=W;exports.typingIndicator=N;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
const t = "_root_z5x1z_3", s = "_sidebar_z5x1z_11", a = "_sidebarTitle_z5x1z_26", e = "_participantsList_z5x1z_35", n = "_participant_z5x1z_35", _ = "_participantActive_z5x1z_54", i = "_participantAvatar_z5x1z_59", o = "_participantInfo_z5x1z_66", p = "_participantName_z5x1z_71", r = "_participantStatus_z5x1z_80", z = "_statusonline_z5x1z_86", c = "_statusaway_z5x1z_90", u = "_statusoffline_z5x1z_94", m = "_mainArea_z5x1z_98", x = "_header_z5x1z_105", g = "_title_z5x1z_114", y = "_errorBadge_z5x1z_121", l = "_messagesContainer_z5x1z_130", d = "_emptyState_z5x1z_139", S = "_emptyStateIcon_z5x1z_149", b = "_emptyStateTitle_z5x1z_153", A = "_emptyStateText_z5x1z_160", T = "_messageWrapper_z5x1z_166", f = "_messageuser_z5x1z_172", B = "_messageassistant_z5x1z_176", I = "_messageBubble_z5x1z_180", v = "_messageContent_z5x1z_199", C = "_messageTime_z5x1z_205", h = "_messageStatus_z5x1z_212", w = "_statussending_z5x1z_217", G = "_statussent_z5x1z_221", L = "_statuserror_z5x1z_225", N = "_typingIndicator_z5x1z_229", W = "_typing_z5x1z_229", j = "_inputArea_z5x1z_265", k = "_inputGroup_z5x1z_271", q = "_input_z5x1z_265", D = "_actionButton_z5x1z_306", E = {
|
|
2
|
-
root: t,
|
|
3
|
-
sidebar: s,
|
|
4
|
-
sidebarTitle: a,
|
|
5
|
-
participantsList: e,
|
|
6
|
-
participant: n,
|
|
7
|
-
participantActive: _,
|
|
8
|
-
participantAvatar: i,
|
|
9
|
-
participantInfo: o,
|
|
10
|
-
participantName: p,
|
|
11
|
-
participantStatus: r,
|
|
12
|
-
statusonline: z,
|
|
13
|
-
statusaway: c,
|
|
14
|
-
statusoffline: u,
|
|
15
|
-
mainArea: m,
|
|
16
|
-
header: x,
|
|
17
|
-
title: g,
|
|
18
|
-
errorBadge: y,
|
|
19
|
-
messagesContainer: l,
|
|
20
|
-
emptyState: d,
|
|
21
|
-
emptyStateIcon: S,
|
|
22
|
-
emptyStateTitle: b,
|
|
23
|
-
emptyStateText: A,
|
|
24
|
-
messageWrapper: T,
|
|
25
|
-
messageuser: f,
|
|
26
|
-
messageassistant: B,
|
|
27
|
-
messageBubble: I,
|
|
28
|
-
messageContent: v,
|
|
29
|
-
messageTime: C,
|
|
30
|
-
messageStatus: h,
|
|
31
|
-
statussending: w,
|
|
32
|
-
statussent: G,
|
|
33
|
-
statuserror: L,
|
|
34
|
-
typingIndicator: N,
|
|
35
|
-
typing: W,
|
|
36
|
-
inputArea: j,
|
|
37
|
-
inputGroup: k,
|
|
38
|
-
input: q,
|
|
39
|
-
actionButton: D
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
D as actionButton,
|
|
43
|
-
E as default,
|
|
44
|
-
d as emptyState,
|
|
45
|
-
S as emptyStateIcon,
|
|
46
|
-
A as emptyStateText,
|
|
47
|
-
b as emptyStateTitle,
|
|
48
|
-
y as errorBadge,
|
|
49
|
-
x as header,
|
|
50
|
-
q as input,
|
|
51
|
-
j as inputArea,
|
|
52
|
-
k as inputGroup,
|
|
53
|
-
m as mainArea,
|
|
54
|
-
I as messageBubble,
|
|
55
|
-
v as messageContent,
|
|
56
|
-
h as messageStatus,
|
|
57
|
-
C as messageTime,
|
|
58
|
-
T as messageWrapper,
|
|
59
|
-
B as messageassistant,
|
|
60
|
-
l as messagesContainer,
|
|
61
|
-
f as messageuser,
|
|
62
|
-
n as participant,
|
|
63
|
-
_ as participantActive,
|
|
64
|
-
i as participantAvatar,
|
|
65
|
-
o as participantInfo,
|
|
66
|
-
p as participantName,
|
|
67
|
-
r as participantStatus,
|
|
68
|
-
e as participantsList,
|
|
69
|
-
t as root,
|
|
70
|
-
s as sidebar,
|
|
71
|
-
a as sidebarTitle,
|
|
72
|
-
c as statusaway,
|
|
73
|
-
L as statuserror,
|
|
74
|
-
u as statusoffline,
|
|
75
|
-
z as statusonline,
|
|
76
|
-
w as statussending,
|
|
77
|
-
G as statussent,
|
|
78
|
-
g as title,
|
|
79
|
-
W as typing,
|
|
80
|
-
N as typingIndicator
|
|
81
|
-
};
|