@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,256 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as k, jsx as l } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as U, useRef as g, useState as K, useEffect as T } from "react";
|
|
4
|
-
import { Prism as W } from "react-syntax-highlighter";
|
|
5
|
-
import { oneLight as _, oneDark as I } from "react-syntax-highlighter/dist/esm/styles/prism";
|
|
6
|
-
import i from "./CodeEditor.module.css.mjs";
|
|
7
|
-
import { useThemeContext as G } from "../../contexts/ThemeContext.mjs";
|
|
8
|
-
try {
|
|
9
|
-
const r = require("refractor/all");
|
|
10
|
-
r.default && r.default.registered && r.default.registered("markdown") && !r.default.languages.markdown?.["quoted-string"] && r.default.languages.insertBefore("markdown", "bold", {
|
|
11
|
-
"quoted-string": {
|
|
12
|
-
pattern: /"(?:\\.|[^"\\])*"/,
|
|
13
|
-
greedy: !0,
|
|
14
|
-
alias: "string"
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
} catch {
|
|
18
|
-
}
|
|
19
|
-
const J = U(
|
|
20
|
-
({
|
|
21
|
-
value: r = "",
|
|
22
|
-
onChange: f,
|
|
23
|
-
language: C,
|
|
24
|
-
readOnly: S = !1,
|
|
25
|
-
showLineNumbers: L = !0,
|
|
26
|
-
placeholder: $,
|
|
27
|
-
minRows: m = 10,
|
|
28
|
-
className: j,
|
|
29
|
-
"aria-label": H,
|
|
30
|
-
...M
|
|
31
|
-
}, q) => {
|
|
32
|
-
const p = g(null), x = g(null), v = g(null), A = g(null), F = g(null), d = g(null), h = q || F, [y, V] = K(0), [c, z] = K([]);
|
|
33
|
-
let E = "dark";
|
|
34
|
-
try {
|
|
35
|
-
E = G().theme;
|
|
36
|
-
} catch {
|
|
37
|
-
}
|
|
38
|
-
const O = E === "light" ? _ : I, R = Math.max(r.split(`
|
|
39
|
-
`).length, m);
|
|
40
|
-
T(() => {
|
|
41
|
-
if (d.current && h.current) {
|
|
42
|
-
const { start: e, end: t } = d.current;
|
|
43
|
-
h.current.setSelectionRange(e, t), d.current = null;
|
|
44
|
-
}
|
|
45
|
-
}), T(() => {
|
|
46
|
-
const e = v.current, t = A.current;
|
|
47
|
-
if (!e || !t) return;
|
|
48
|
-
const n = () => {
|
|
49
|
-
const o = t.clientWidth;
|
|
50
|
-
if (o <= 0) return;
|
|
51
|
-
e.style.width = `${o}px`;
|
|
52
|
-
const s = r.split(`
|
|
53
|
-
`), u = Math.max(s.length, m), b = [];
|
|
54
|
-
for (let N = 0; N < u; N++) {
|
|
55
|
-
const P = s[N] ?? "";
|
|
56
|
-
e.textContent = P || " ", b.push(e.scrollHeight);
|
|
57
|
-
}
|
|
58
|
-
z(b);
|
|
59
|
-
};
|
|
60
|
-
n();
|
|
61
|
-
const a = new ResizeObserver(n);
|
|
62
|
-
return a.observe(t), () => a.disconnect();
|
|
63
|
-
}, [r, m]), T(() => {
|
|
64
|
-
const e = (n) => {
|
|
65
|
-
const a = n.target;
|
|
66
|
-
p.current && (p.current.scrollTop = a.scrollTop), x.current && (x.current.scrollTop = a.scrollTop, x.current.scrollLeft = a.scrollLeft);
|
|
67
|
-
}, t = h?.current;
|
|
68
|
-
if (t)
|
|
69
|
-
return t.addEventListener("scroll", e), () => {
|
|
70
|
-
t.removeEventListener("scroll", e);
|
|
71
|
-
};
|
|
72
|
-
}, [h]);
|
|
73
|
-
const w = (e) => {
|
|
74
|
-
const t = e.value.substring(0, e.selectionStart);
|
|
75
|
-
V(t.split(`
|
|
76
|
-
`).length - 1);
|
|
77
|
-
}, B = (e) => {
|
|
78
|
-
if (e.key === "Tab") {
|
|
79
|
-
e.preventDefault();
|
|
80
|
-
const t = e.currentTarget, n = t.selectionStart, a = t.selectionEnd, o = " ";
|
|
81
|
-
if (n === a) {
|
|
82
|
-
const s = r.substring(0, n) + o + r.substring(a);
|
|
83
|
-
d.current = {
|
|
84
|
-
start: n + o.length,
|
|
85
|
-
end: n + o.length
|
|
86
|
-
}, f?.(s);
|
|
87
|
-
} else if (e.shiftKey) {
|
|
88
|
-
const s = r.lastIndexOf(`
|
|
89
|
-
`, n - 1) + 1, u = r.substring(s).match(/^ {1,2}/)?.[0] ?? "";
|
|
90
|
-
if (u.length > 0) {
|
|
91
|
-
const b = r.substring(0, s) + r.substring(s + u.length);
|
|
92
|
-
d.current = {
|
|
93
|
-
start: Math.max(s, n - u.length),
|
|
94
|
-
end: Math.max(s, a - u.length)
|
|
95
|
-
}, f?.(b);
|
|
96
|
-
}
|
|
97
|
-
} else {
|
|
98
|
-
const s = r.substring(0, n) + o + r.substring(a);
|
|
99
|
-
d.current = {
|
|
100
|
-
start: n + o.length,
|
|
101
|
-
end: n + o.length
|
|
102
|
-
}, f?.(s);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}, D = [i.wrapper, j].filter(Boolean).join(" ");
|
|
106
|
-
return C ? /* @__PURE__ */ k(
|
|
107
|
-
"div",
|
|
108
|
-
{
|
|
109
|
-
className: D,
|
|
110
|
-
style: {
|
|
111
|
-
minHeight: `calc(${m} * 1.6em + 2 * var(--spacing-4))`
|
|
112
|
-
},
|
|
113
|
-
children: [
|
|
114
|
-
/* @__PURE__ */ l(
|
|
115
|
-
"div",
|
|
116
|
-
{
|
|
117
|
-
ref: v,
|
|
118
|
-
className: i.lineMirror,
|
|
119
|
-
"aria-hidden": "true"
|
|
120
|
-
}
|
|
121
|
-
),
|
|
122
|
-
L && /* @__PURE__ */ l(
|
|
123
|
-
"div",
|
|
124
|
-
{
|
|
125
|
-
ref: p,
|
|
126
|
-
className: i.lineNumbers,
|
|
127
|
-
"aria-hidden": "true",
|
|
128
|
-
children: Array.from({ length: R }).map((e, t) => /* @__PURE__ */ l(
|
|
129
|
-
"div",
|
|
130
|
-
{
|
|
131
|
-
className: i.lineNumber,
|
|
132
|
-
style: c[t] !== void 0 ? { height: `${c[t]}px` } : void 0,
|
|
133
|
-
children: t + 1
|
|
134
|
-
},
|
|
135
|
-
t
|
|
136
|
-
))
|
|
137
|
-
}
|
|
138
|
-
),
|
|
139
|
-
/* @__PURE__ */ k("div", { ref: A, className: i.editorArea, children: [
|
|
140
|
-
/* @__PURE__ */ l(
|
|
141
|
-
"div",
|
|
142
|
-
{
|
|
143
|
-
className: i.lineHighlight,
|
|
144
|
-
style: {
|
|
145
|
-
top: c.length > 0 ? `calc(var(--spacing-4) + ${c.slice(0, y).reduce((e, t) => e + t, 0)}px)` : `calc(var(--spacing-4) + ${(y * 1.6).toFixed(2)}em)`,
|
|
146
|
-
...c[y] !== void 0 ? { height: `${c[y]}px` } : {}
|
|
147
|
-
},
|
|
148
|
-
"aria-hidden": "true"
|
|
149
|
-
}
|
|
150
|
-
),
|
|
151
|
-
/* @__PURE__ */ l(
|
|
152
|
-
"div",
|
|
153
|
-
{
|
|
154
|
-
ref: x,
|
|
155
|
-
className: i.highlightLayer,
|
|
156
|
-
"aria-hidden": "true",
|
|
157
|
-
children: /* @__PURE__ */ l(
|
|
158
|
-
W,
|
|
159
|
-
{
|
|
160
|
-
language: C,
|
|
161
|
-
style: O,
|
|
162
|
-
customStyle: {
|
|
163
|
-
margin: 0,
|
|
164
|
-
padding: 0,
|
|
165
|
-
background: "transparent",
|
|
166
|
-
fontSize: "inherit",
|
|
167
|
-
lineHeight: "inherit",
|
|
168
|
-
fontFamily: "inherit",
|
|
169
|
-
whiteSpace: "pre-wrap",
|
|
170
|
-
wordBreak: "break-word",
|
|
171
|
-
overflow: "visible"
|
|
172
|
-
},
|
|
173
|
-
codeTagProps: {
|
|
174
|
-
style: {
|
|
175
|
-
fontFamily: "inherit",
|
|
176
|
-
background: "transparent",
|
|
177
|
-
color: "var(--text-primary)",
|
|
178
|
-
whiteSpace: "pre-wrap",
|
|
179
|
-
wordBreak: "break-word"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
children: r + `
|
|
183
|
-
`
|
|
184
|
-
}
|
|
185
|
-
)
|
|
186
|
-
}
|
|
187
|
-
),
|
|
188
|
-
/* @__PURE__ */ l(
|
|
189
|
-
"textarea",
|
|
190
|
-
{
|
|
191
|
-
ref: h,
|
|
192
|
-
className: i.textareaOverlay,
|
|
193
|
-
value: r,
|
|
194
|
-
onChange: (e) => f?.(e.target.value),
|
|
195
|
-
onKeyDown: B,
|
|
196
|
-
onKeyUp: (e) => w(e.currentTarget),
|
|
197
|
-
onMouseUp: (e) => w(e.currentTarget),
|
|
198
|
-
onClick: (e) => w(e.currentTarget),
|
|
199
|
-
placeholder: $,
|
|
200
|
-
readOnly: S,
|
|
201
|
-
"aria-label": H || "Code editor",
|
|
202
|
-
spellCheck: "false",
|
|
203
|
-
...M
|
|
204
|
-
}
|
|
205
|
-
)
|
|
206
|
-
] })
|
|
207
|
-
]
|
|
208
|
-
}
|
|
209
|
-
) : /* @__PURE__ */ k(
|
|
210
|
-
"div",
|
|
211
|
-
{
|
|
212
|
-
className: D,
|
|
213
|
-
style: { minHeight: `calc(${m} * 1.6em + 2 * var(--spacing-4))` },
|
|
214
|
-
children: [
|
|
215
|
-
/* @__PURE__ */ l("div", { ref: v, className: i.lineMirror, "aria-hidden": "true" }),
|
|
216
|
-
L && /* @__PURE__ */ l(
|
|
217
|
-
"div",
|
|
218
|
-
{
|
|
219
|
-
ref: p,
|
|
220
|
-
className: i.lineNumbers,
|
|
221
|
-
"aria-hidden": "true",
|
|
222
|
-
children: Array.from({ length: R }).map((e, t) => /* @__PURE__ */ l(
|
|
223
|
-
"div",
|
|
224
|
-
{
|
|
225
|
-
className: i.lineNumber,
|
|
226
|
-
style: c[t] !== void 0 ? { height: `${c[t]}px` } : void 0,
|
|
227
|
-
children: t + 1
|
|
228
|
-
},
|
|
229
|
-
t
|
|
230
|
-
))
|
|
231
|
-
}
|
|
232
|
-
),
|
|
233
|
-
/* @__PURE__ */ l(
|
|
234
|
-
"textarea",
|
|
235
|
-
{
|
|
236
|
-
ref: h,
|
|
237
|
-
className: i.textarea,
|
|
238
|
-
value: r,
|
|
239
|
-
onChange: (e) => f?.(e.target.value),
|
|
240
|
-
onKeyDown: B,
|
|
241
|
-
placeholder: $,
|
|
242
|
-
readOnly: S,
|
|
243
|
-
"aria-label": H || "Code editor",
|
|
244
|
-
spellCheck: "false",
|
|
245
|
-
...M
|
|
246
|
-
}
|
|
247
|
-
)
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
);
|
|
251
|
-
}
|
|
252
|
-
);
|
|
253
|
-
J.displayName = "CodeEditor";
|
|
254
|
-
export {
|
|
255
|
-
J as CodeEditor
|
|
256
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime"),e=require("react"),p=require("./Collapsible.module.css.cjs"),x=e.createContext(null);function j(){const t=e.useContext(x);if(!t)throw new Error("Collapsible.Trigger/Content must be used within a Collapsible");return t}const I=e.forwardRef(({asChild:t,className:d,children:l,onClick:n,...u},s)=>{const{open:a,disabled:r,toggle:i,contentId:b,triggerId:c}=j(),o=e.useCallback(g=>{i(),n?.(g)},[i,n]);if(t&&e.isValidElement(l))return e.cloneElement(l,{id:c,"aria-expanded":a,"aria-controls":b,disabled:r,onClick:o});const f=[p.default.trigger,d].filter(Boolean).join(" ");return C.jsx("button",{ref:s,id:c,type:"button",className:f,"aria-expanded":a,"aria-controls":b,disabled:r,onClick:o,...u,children:l})});I.displayName="Collapsible.Trigger";const N=e.forwardRef(({forceMount:t,className:d,children:l,...n},u)=>{const{open:s,triggerId:a,contentId:r}=j();if(!t&&!s)return null;const i=[p.default.content,s&&p.default.contentOpen,d].filter(Boolean).join(" ");return C.jsx("div",{ref:u,id:r,role:"region","aria-labelledby":a,className:i,...n,children:C.jsx("div",{className:p.default.contentInner,children:l})})});N.displayName="Collapsible.Content";const v=e.forwardRef(({open:t,defaultOpen:d=!1,onOpenChange:l,disabled:n=!1,className:u,children:s,...a},r)=>{const[i,b]=e.useState(d),c=t!==void 0,o=c?t:i,f=e.useId(),g=e.useId(),y=e.useCallback(()=>{if(n)return;const m=!o;c||b(m),l?.(m)},[o,c,n,l]),w=[p.default.collapsible,u].filter(Boolean).join(" "),R={open:o,disabled:n,toggle:y,contentId:f,triggerId:g};return C.jsx(x.Provider,{value:R,children:C.jsx("div",{ref:r,className:w,"data-state":o?"open":"closed",...a,children:s})})});v.displayName="Collapsible";const O=Object.assign(v,{Trigger:I,Content:N});exports.Collapsible=O;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as C } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as m, useState as B, useId as x, useCallback as I, isValidElement as E, cloneElement as h, createContext as R, useContext as P } from "react";
|
|
4
|
-
import p from "./Collapsible.module.css.mjs";
|
|
5
|
-
const N = R(null);
|
|
6
|
-
function v() {
|
|
7
|
-
const e = P(N);
|
|
8
|
-
if (!e)
|
|
9
|
-
throw new Error(
|
|
10
|
-
"Collapsible.Trigger/Content must be used within a Collapsible"
|
|
11
|
-
);
|
|
12
|
-
return e;
|
|
13
|
-
}
|
|
14
|
-
const y = m(({ asChild: e, className: c, children: t, onClick: n, ...d }, l) => {
|
|
15
|
-
const { open: s, disabled: a, toggle: r, contentId: g, triggerId: i } = v(), o = I(
|
|
16
|
-
(b) => {
|
|
17
|
-
r(), n?.(b);
|
|
18
|
-
},
|
|
19
|
-
[r, n]
|
|
20
|
-
);
|
|
21
|
-
if (e && E(t))
|
|
22
|
-
return h(
|
|
23
|
-
t,
|
|
24
|
-
{
|
|
25
|
-
id: i,
|
|
26
|
-
"aria-expanded": s,
|
|
27
|
-
"aria-controls": g,
|
|
28
|
-
disabled: a,
|
|
29
|
-
onClick: o
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
const u = [p.trigger, c].filter(Boolean).join(" ");
|
|
33
|
-
return /* @__PURE__ */ C(
|
|
34
|
-
"button",
|
|
35
|
-
{
|
|
36
|
-
ref: l,
|
|
37
|
-
id: i,
|
|
38
|
-
type: "button",
|
|
39
|
-
className: u,
|
|
40
|
-
"aria-expanded": s,
|
|
41
|
-
"aria-controls": g,
|
|
42
|
-
disabled: a,
|
|
43
|
-
onClick: o,
|
|
44
|
-
...d,
|
|
45
|
-
children: t
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
});
|
|
49
|
-
y.displayName = "Collapsible.Trigger";
|
|
50
|
-
const j = m(
|
|
51
|
-
({ forceMount: e, className: c, children: t, ...n }, d) => {
|
|
52
|
-
const { open: l, triggerId: s, contentId: a } = v();
|
|
53
|
-
if (!e && !l)
|
|
54
|
-
return null;
|
|
55
|
-
const r = [
|
|
56
|
-
p.content,
|
|
57
|
-
l && p.contentOpen,
|
|
58
|
-
c
|
|
59
|
-
].filter(Boolean).join(" ");
|
|
60
|
-
return /* @__PURE__ */ C(
|
|
61
|
-
"div",
|
|
62
|
-
{
|
|
63
|
-
ref: d,
|
|
64
|
-
id: a,
|
|
65
|
-
role: "region",
|
|
66
|
-
"aria-labelledby": s,
|
|
67
|
-
className: r,
|
|
68
|
-
...n,
|
|
69
|
-
children: /* @__PURE__ */ C("div", { className: p.contentInner, children: t })
|
|
70
|
-
}
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
);
|
|
74
|
-
j.displayName = "Collapsible.Content";
|
|
75
|
-
const w = m(
|
|
76
|
-
({
|
|
77
|
-
open: e,
|
|
78
|
-
defaultOpen: c = !1,
|
|
79
|
-
onOpenChange: t,
|
|
80
|
-
disabled: n = !1,
|
|
81
|
-
className: d,
|
|
82
|
-
children: l,
|
|
83
|
-
...s
|
|
84
|
-
}, a) => {
|
|
85
|
-
const [r, g] = B(c), i = e !== void 0, o = i ? e : r, u = x(), b = x(), O = I(() => {
|
|
86
|
-
if (n) return;
|
|
87
|
-
const f = !o;
|
|
88
|
-
i || g(f), t?.(f);
|
|
89
|
-
}, [o, i, n, t]), T = [p.collapsible, d].filter(Boolean).join(" "), k = {
|
|
90
|
-
open: o,
|
|
91
|
-
disabled: n,
|
|
92
|
-
toggle: O,
|
|
93
|
-
contentId: u,
|
|
94
|
-
triggerId: b
|
|
95
|
-
};
|
|
96
|
-
return /* @__PURE__ */ C(N.Provider, { value: k, children: /* @__PURE__ */ C(
|
|
97
|
-
"div",
|
|
98
|
-
{
|
|
99
|
-
ref: a,
|
|
100
|
-
className: T,
|
|
101
|
-
"data-state": o ? "open" : "closed",
|
|
102
|
-
...s,
|
|
103
|
-
children: l
|
|
104
|
-
}
|
|
105
|
-
) });
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
w.displayName = "Collapsible";
|
|
109
|
-
const z = Object.assign(w, {
|
|
110
|
-
Trigger: y,
|
|
111
|
-
Content: j
|
|
112
|
-
});
|
|
113
|
-
export {
|
|
114
|
-
z as Collapsible
|
|
115
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),le=require("@dnd-kit/core"),g=require("lucide-react"),a=require("./CollapsibleFolder.module.css.cjs"),h=require("../Collapsible/Collapsible.cjs"),ne=require("../Badge/Badge.cjs"),F=require("../Dropdown/Dropdown.cjs"),R=require("../Button/Button.cjs");function w(E){const{id:u,title:B,itemCount:x,items:r,renderItem:z,itemLabel:O="Item",itemLabelPlural:k="Items",emptyText:A="No items in this folder",sortLabel:v="Sort",defaultExpanded:$=!0,sortOptions:i,selectedSort:M,onSortChange:P,onDrop:D,onFolderEdit:b,onFolderDelete:j,onFolderInvite:N,isDropTarget:Y=!1,isDropCompleted:H=!1,onDragEnter:Z,onDragLeaveFolder:C,className:_,...G}=E,[f,J]=o.useState($),[m,d]=o.useState(null),[T,p]=o.useState(!1),I=o.useRef(null),{setNodeRef:K}=le.useDroppable({id:u}),Q=t=>{if(t.preventDefault(),t.dataTransfer.dropEffect="move",T||(p(!0),Z?.()),!f||r.length===0){d(0);return}const l=I.current;if(!l)return;const n=Array.from(l.querySelectorAll("[data-item-id]")),ae=t.clientY;let L=n.length;for(let c=0;c<n.length;c++){const S=n[c];if(!S)continue;const q=S.getBoundingClientRect();if(ae<q.top+q.height/2){L=c;break}}d(L)},U=t=>{t.currentTarget.contains(t.relatedTarget)||(p(!1),d(null),C?.())},V=t=>{t.preventDefault();const l=t.dataTransfer.getData("text/plain")||t.dataTransfer.getData("itemId");if(l&&D){const n=m??r.length;D(l,u,n)}p(!1),d(null),C?.()},W=(t,l)=>{t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",l)},X=i?.map(t=>({id:t.value,label:t.label,onClick:()=>P?.(t.value)})),y=[...b?[{id:"rename",label:"Rename",onClick:b}]:[],...N?[{id:"invite",label:"Invite participants",onClick:N}]:[],...j?[{id:"delete",label:"Delete folder",danger:!0,onClick:j}]:[]],s=Y||T,ee=[a.default.folder,s&&a.default.dropTarget,H&&a.default.dropCompleted,_].filter(Boolean).join(" "),te=x===1?O:k;return e.jsx("div",{ref:K,className:ee,"data-folder-id":u,"data-drop-active":s,onDragOver:Q,onDragLeave:U,onDrop:V,...G,children:e.jsxs(h.Collapsible,{open:f,onOpenChange:J,children:[e.jsxs("div",{className:a.default.header,children:[e.jsxs(h.Collapsible.Trigger,{className:a.default.trigger,children:[e.jsx(g.ChevronDown,{size:20,className:`${a.default.chevron} ${f?a.default.expanded:""}`}),e.jsx("h2",{className:a.default.title,children:B}),e.jsxs(ne.Badge,{variant:"secondary",className:a.default.badge,children:[x,e.jsxs("span",{className:a.default.badgeLabel,children:[" ",te]})]})]}),e.jsxs("div",{className:a.default.actions,children:[i&&i.length>0&&e.jsx("div",{className:a.default.sortDropdown,children:e.jsx(F.Dropdown,{trigger:e.jsx(R.Button,{variant:"ghost",size:"sm",iconRight:e.jsx(g.ChevronDown,{size:16}),"aria-label":`Sort by ${v}`,children:i.find(t=>t.value===M)?.label||v}),items:X,placement:"bottom-end"})}),y.length>0&&e.jsx(F.Dropdown,{trigger:e.jsx(R.Button,{variant:"ghost",size:"sm",iconOnly:!0,icon:e.jsx(g.MoreHorizontal,{size:20}),"aria-label":"Folder actions"}),items:y,placement:"bottom-end"})]})]}),e.jsx(h.Collapsible.Content,{children:e.jsx("div",{className:a.default.content,children:r.length===0?s?e.jsx("div",{className:a.default.emptyDropZone,children:e.jsx("div",{className:a.default.insertionLine,role:"presentation"})}):e.jsx("div",{className:a.default.emptyState,children:e.jsx("p",{className:a.default.emptyText,children:A})}):e.jsxs("div",{className:a.default.grid,ref:I,children:[r.map((t,l)=>e.jsxs(o.Fragment,{children:[s&&m===l&&e.jsx("div",{className:a.default.insertionLine,role:"presentation"}),e.jsx("div",{"data-item-id":t.id,draggable:t.draggable,onDragStart:n=>W(n,t.id),children:z(t,l)})]},t.id)),s&&m===r.length&&e.jsx("div",{className:a.default.insertionLine,role:"presentation"})]})})})]})})}w.displayName="CollapsibleFolder";exports.CollapsibleFolder=w;
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import re, { useState as h, useRef as ne } from "react";
|
|
4
|
-
import { useDroppable as le } from "@dnd-kit/core";
|
|
5
|
-
import { ChevronDown as R, MoreHorizontal as oe } from "lucide-react";
|
|
6
|
-
import t from "./CollapsibleFolder.module.css.mjs";
|
|
7
|
-
import { Collapsible as v } from "../Collapsible/Collapsible.mjs";
|
|
8
|
-
import { Badge as ie } from "../Badge/Badge.mjs";
|
|
9
|
-
import { Dropdown as z } from "../Dropdown/Dropdown.mjs";
|
|
10
|
-
import { Button as k } from "../Button/Button.mjs";
|
|
11
|
-
function se(w) {
|
|
12
|
-
const {
|
|
13
|
-
id: m,
|
|
14
|
-
title: A,
|
|
15
|
-
itemCount: u,
|
|
16
|
-
items: o,
|
|
17
|
-
renderItem: O,
|
|
18
|
-
itemLabel: B = "Item",
|
|
19
|
-
itemLabelPlural: j = "Items",
|
|
20
|
-
emptyText: $ = "No items in this folder",
|
|
21
|
-
sortLabel: D = "Sort",
|
|
22
|
-
defaultExpanded: Y = !0,
|
|
23
|
-
sortOptions: s,
|
|
24
|
-
selectedSort: q,
|
|
25
|
-
onSortChange: H,
|
|
26
|
-
onDrop: b,
|
|
27
|
-
onFolderEdit: N,
|
|
28
|
-
onFolderDelete: C,
|
|
29
|
-
onFolderInvite: T,
|
|
30
|
-
isDropTarget: M = !1,
|
|
31
|
-
isDropCompleted: P = !1,
|
|
32
|
-
onDragEnter: Z,
|
|
33
|
-
onDragLeaveFolder: x,
|
|
34
|
-
className: G,
|
|
35
|
-
...J
|
|
36
|
-
} = w, [p, K] = h(Y), [g, d] = h(null), [I, f] = h(!1), L = ne(null), { setNodeRef: Q } = le({ id: m }), U = (e) => {
|
|
37
|
-
if (e.preventDefault(), e.dataTransfer.dropEffect = "move", I || (f(!0), Z?.()), !p || o.length === 0) {
|
|
38
|
-
d(0);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
const r = L.current;
|
|
42
|
-
if (!r) return;
|
|
43
|
-
const l = Array.from(
|
|
44
|
-
r.querySelectorAll("[data-item-id]")
|
|
45
|
-
), ae = e.clientY;
|
|
46
|
-
let S = l.length;
|
|
47
|
-
for (let c = 0; c < l.length; c++) {
|
|
48
|
-
const E = l[c];
|
|
49
|
-
if (!E) continue;
|
|
50
|
-
const F = E.getBoundingClientRect();
|
|
51
|
-
if (ae < F.top + F.height / 2) {
|
|
52
|
-
S = c;
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
d(S);
|
|
57
|
-
}, V = (e) => {
|
|
58
|
-
e.currentTarget.contains(e.relatedTarget) || (f(!1), d(null), x?.());
|
|
59
|
-
}, W = (e) => {
|
|
60
|
-
e.preventDefault();
|
|
61
|
-
const r = e.dataTransfer.getData("text/plain") || e.dataTransfer.getData("itemId");
|
|
62
|
-
if (r && b) {
|
|
63
|
-
const l = g ?? o.length;
|
|
64
|
-
b(r, m, l);
|
|
65
|
-
}
|
|
66
|
-
f(!1), d(null), x?.();
|
|
67
|
-
}, X = (e, r) => {
|
|
68
|
-
e.dataTransfer.effectAllowed = "move", e.dataTransfer.setData("text/plain", r);
|
|
69
|
-
}, _ = s?.map((e) => ({
|
|
70
|
-
id: e.value,
|
|
71
|
-
label: e.label,
|
|
72
|
-
onClick: () => H?.(e.value)
|
|
73
|
-
})), y = [
|
|
74
|
-
...N ? [
|
|
75
|
-
{
|
|
76
|
-
id: "rename",
|
|
77
|
-
label: "Rename",
|
|
78
|
-
onClick: N
|
|
79
|
-
}
|
|
80
|
-
] : [],
|
|
81
|
-
...T ? [
|
|
82
|
-
{
|
|
83
|
-
id: "invite",
|
|
84
|
-
label: "Invite participants",
|
|
85
|
-
onClick: T
|
|
86
|
-
}
|
|
87
|
-
] : [],
|
|
88
|
-
...C ? [
|
|
89
|
-
{
|
|
90
|
-
id: "delete",
|
|
91
|
-
label: "Delete folder",
|
|
92
|
-
danger: !0,
|
|
93
|
-
onClick: C
|
|
94
|
-
}
|
|
95
|
-
] : []
|
|
96
|
-
], i = M || I, ee = [
|
|
97
|
-
t.folder,
|
|
98
|
-
i && t.dropTarget,
|
|
99
|
-
P && t.dropCompleted,
|
|
100
|
-
G
|
|
101
|
-
].filter(Boolean).join(" "), te = u === 1 ? B : j;
|
|
102
|
-
return /* @__PURE__ */ a(
|
|
103
|
-
"div",
|
|
104
|
-
{
|
|
105
|
-
ref: Q,
|
|
106
|
-
className: ee,
|
|
107
|
-
"data-folder-id": m,
|
|
108
|
-
"data-drop-active": i,
|
|
109
|
-
onDragOver: U,
|
|
110
|
-
onDragLeave: V,
|
|
111
|
-
onDrop: W,
|
|
112
|
-
...J,
|
|
113
|
-
children: /* @__PURE__ */ n(v, { open: p, onOpenChange: K, children: [
|
|
114
|
-
/* @__PURE__ */ n("div", { className: t.header, children: [
|
|
115
|
-
/* @__PURE__ */ n(v.Trigger, { className: t.trigger, children: [
|
|
116
|
-
/* @__PURE__ */ a(
|
|
117
|
-
R,
|
|
118
|
-
{
|
|
119
|
-
size: 20,
|
|
120
|
-
className: `${t.chevron} ${p ? t.expanded : ""}`
|
|
121
|
-
}
|
|
122
|
-
),
|
|
123
|
-
/* @__PURE__ */ a("h2", { className: t.title, children: A }),
|
|
124
|
-
/* @__PURE__ */ n(ie, { variant: "secondary", className: t.badge, children: [
|
|
125
|
-
u,
|
|
126
|
-
/* @__PURE__ */ n("span", { className: t.badgeLabel, children: [
|
|
127
|
-
" ",
|
|
128
|
-
te
|
|
129
|
-
] })
|
|
130
|
-
] })
|
|
131
|
-
] }),
|
|
132
|
-
/* @__PURE__ */ n("div", { className: t.actions, children: [
|
|
133
|
-
s && s.length > 0 && /* @__PURE__ */ a("div", { className: t.sortDropdown, children: /* @__PURE__ */ a(
|
|
134
|
-
z,
|
|
135
|
-
{
|
|
136
|
-
trigger: /* @__PURE__ */ a(
|
|
137
|
-
k,
|
|
138
|
-
{
|
|
139
|
-
variant: "ghost",
|
|
140
|
-
size: "sm",
|
|
141
|
-
iconRight: /* @__PURE__ */ a(R, { size: 16 }),
|
|
142
|
-
"aria-label": `Sort by ${D}`,
|
|
143
|
-
children: s.find((e) => e.value === q)?.label || D
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
items: _,
|
|
147
|
-
placement: "bottom-end"
|
|
148
|
-
}
|
|
149
|
-
) }),
|
|
150
|
-
y.length > 0 && /* @__PURE__ */ a(
|
|
151
|
-
z,
|
|
152
|
-
{
|
|
153
|
-
trigger: /* @__PURE__ */ a(
|
|
154
|
-
k,
|
|
155
|
-
{
|
|
156
|
-
variant: "ghost",
|
|
157
|
-
size: "sm",
|
|
158
|
-
iconOnly: !0,
|
|
159
|
-
icon: /* @__PURE__ */ a(oe, { size: 20 }),
|
|
160
|
-
"aria-label": "Folder actions"
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
items: y,
|
|
164
|
-
placement: "bottom-end"
|
|
165
|
-
}
|
|
166
|
-
)
|
|
167
|
-
] })
|
|
168
|
-
] }),
|
|
169
|
-
/* @__PURE__ */ a(v.Content, { children: /* @__PURE__ */ a("div", { className: t.content, children: o.length === 0 ? i ? /* @__PURE__ */ a("div", { className: t.emptyDropZone, children: /* @__PURE__ */ a("div", { className: t.insertionLine, role: "presentation" }) }) : /* @__PURE__ */ a("div", { className: t.emptyState, children: /* @__PURE__ */ a("p", { className: t.emptyText, children: $ }) }) : /* @__PURE__ */ n("div", { className: t.grid, ref: L, children: [
|
|
170
|
-
o.map((e, r) => /* @__PURE__ */ n(re.Fragment, { children: [
|
|
171
|
-
i && g === r && /* @__PURE__ */ a(
|
|
172
|
-
"div",
|
|
173
|
-
{
|
|
174
|
-
className: t.insertionLine,
|
|
175
|
-
role: "presentation"
|
|
176
|
-
}
|
|
177
|
-
),
|
|
178
|
-
/* @__PURE__ */ a(
|
|
179
|
-
"div",
|
|
180
|
-
{
|
|
181
|
-
"data-item-id": e.id,
|
|
182
|
-
draggable: e.draggable,
|
|
183
|
-
onDragStart: (l) => X(l, e.id),
|
|
184
|
-
children: O(e, r)
|
|
185
|
-
}
|
|
186
|
-
)
|
|
187
|
-
] }, e.id)),
|
|
188
|
-
i && g === o.length && /* @__PURE__ */ a("div", { className: t.insertionLine, role: "presentation" })
|
|
189
|
-
] }) }) })
|
|
190
|
-
] })
|
|
191
|
-
}
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
|
-
se.displayName = "CollapsibleFolder";
|
|
195
|
-
export {
|
|
196
|
-
se as CollapsibleFolder
|
|
197
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_folder_6iy6s_8",t="_dropTarget_6iy6s_21",o="_dropCompleted_6iy6s_30",n="_header_6iy6s_36",r="_trigger_6iy6s_44",_="_chevron_6iy6s_69",s="_expanded_6iy6s_75",i="_title_6iy6s_84",d="_badge_6iy6s_94",p="_actions_6iy6s_99",a="_content_6iy6s_106",c="_grid_6iy6s_112",y="_badgeLabel_6iy6s_131",g="_sortDropdown_6iy6s_136",l="_emptyState_6iy6s_147",m="_emptyText_6iy6s_152",b="_insertionLine_6iy6s_160",T="_emptyDropZone_6iy6s_182",h={folder:e,dropTarget:t,dropCompleted:o,header:n,trigger:r,chevron:_,expanded:s,title:i,badge:d,actions:p,content:a,grid:c,badgeLabel:y,sortDropdown:g,emptyState:l,emptyText:m,insertionLine:b,emptyDropZone:T};exports.actions=p;exports.badge=d;exports.badgeLabel=y;exports.chevron=_;exports.content=a;exports.default=h;exports.dropCompleted=o;exports.dropTarget=t;exports.emptyDropZone=T;exports.emptyState=l;exports.emptyText=m;exports.expanded=s;exports.folder=e;exports.grid=c;exports.header=n;exports.insertionLine=b;exports.sortDropdown=g;exports.title=i;exports.trigger=r;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
const e = "_folder_6iy6s_8", t = "_dropTarget_6iy6s_21", o = "_dropCompleted_6iy6s_30", _ = "_header_6iy6s_36", n = "_trigger_6iy6s_44", s = "_chevron_6iy6s_69", r = "_expanded_6iy6s_75", i = "_title_6iy6s_84", d = "_badge_6iy6s_94", c = "_actions_6iy6s_99", p = "_content_6iy6s_106", y = "_grid_6iy6s_112", a = "_badgeLabel_6iy6s_131", g = "_sortDropdown_6iy6s_136", l = "_emptyState_6iy6s_147", m = "_emptyText_6iy6s_152", b = "_insertionLine_6iy6s_160", x = "_emptyDropZone_6iy6s_182", h = {
|
|
2
|
-
folder: e,
|
|
3
|
-
dropTarget: t,
|
|
4
|
-
dropCompleted: o,
|
|
5
|
-
header: _,
|
|
6
|
-
trigger: n,
|
|
7
|
-
chevron: s,
|
|
8
|
-
expanded: r,
|
|
9
|
-
title: i,
|
|
10
|
-
badge: d,
|
|
11
|
-
actions: c,
|
|
12
|
-
content: p,
|
|
13
|
-
grid: y,
|
|
14
|
-
badgeLabel: a,
|
|
15
|
-
sortDropdown: g,
|
|
16
|
-
emptyState: l,
|
|
17
|
-
emptyText: m,
|
|
18
|
-
insertionLine: b,
|
|
19
|
-
emptyDropZone: x
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
c as actions,
|
|
23
|
-
d as badge,
|
|
24
|
-
a as badgeLabel,
|
|
25
|
-
s as chevron,
|
|
26
|
-
p as content,
|
|
27
|
-
h as default,
|
|
28
|
-
o as dropCompleted,
|
|
29
|
-
t as dropTarget,
|
|
30
|
-
x as emptyDropZone,
|
|
31
|
-
l as emptyState,
|
|
32
|
-
m as emptyText,
|
|
33
|
-
r as expanded,
|
|
34
|
-
e as folder,
|
|
35
|
-
y as grid,
|
|
36
|
-
_ as header,
|
|
37
|
-
b as insertionLine,
|
|
38
|
-
g as sortDropdown,
|
|
39
|
-
i as title,
|
|
40
|
-
n as trigger
|
|
41
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),l=require("react"),oe=require("react-dom"),R=require("lucide-react"),t=require("./Combobox.module.css.cjs"),de=(u,i)=>{const c=i.toLowerCase().trim();return c?u.label.toLowerCase().includes(c)||u.value.toLowerCase().includes(c)||(u.description?.toLowerCase().includes(c)??!1):!0},X=l.forwardRef(({options:u,value:i,onChange:c,onInputChange:P,size:D="md",label:S,helperText:z,error:g,loading:K=!1,clearable:U=!0,allowFreeInput:f=!1,filterFn:B=de,openOnFocus:I=!0,minChars:C=0,emptyText:Y="No results found",renderOption:T,maxHeight:_=300,fullWidth:G=!1,placeholder:V,disabled:w,className:J,id:Q,onFocus:A,onBlur:H,onKeyDown:W,...Z},k)=>{const F=l.useId(),$=Q||F,q=`${$}-listbox`,v=l.useRef(null),N=l.useRef(null),b=l.useRef(null),[r,h]=l.useState(!1),[E,o]=l.useState(""),[d,j]=l.useState(-1),[M,ee]=l.useState({top:0,left:0,width:0}),a=l.useMemo(()=>u.find(e=>e.value===i)??null,[u,i]);l.useEffect(()=>{a?o(a.label):f||o("")},[a,f]);const p=l.useMemo(()=>E.length<C?[]:u.filter(e=>B(e,E)),[u,E,C,B]),x=l.useCallback(()=>{if(!v.current)return;const e=v.current.getBoundingClientRect();ee({top:e.bottom+window.scrollY+4,left:e.left+window.scrollX,width:e.width})},[]);l.useEffect(()=>{if(r)return x(),window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),()=>{window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}},[r,x]),l.useEffect(()=>{if(!r)return;const e=n=>{const m=n.target;v.current&&!v.current.contains(m)&&b.current&&!b.current.contains(m)&&(h(!1),!f&&!i?o(""):a&&o(a.label))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[r,f,i,a]);const te=l.useCallback(e=>{const n=e.target.value;o(n),j(-1),P?.(n),!r&&n.length>=C&&h(!0),a&&n!==a.label&&!f&&c?.(null,null)},[r,C,P,a,f,c]),se=l.useCallback(e=>{I&&!w&&h(!0),A?.(e)},[I,w,A]),le=l.useCallback(e=>{setTimeout(()=>{b.current?.contains(document.activeElement)||(h(!1),!f&&!i?o(""):a&&o(a.label))},200),H?.(e)},[f,i,a,H]),O=l.useCallback(e=>{e.disabled||(c?.(e.value,e),o(e.label),h(!1),j(-1),N.current?.focus())},[c]),ne=l.useCallback(e=>{e.stopPropagation(),c?.(null,null),o(""),N.current?.focus()},[c]),ae=l.useCallback(e=>{switch(e.key){case"ArrowDown":e.preventDefault(),r?j(n=>Math.min(n+1,p.length-1)):h(!0);break;case"ArrowUp":e.preventDefault(),j(n=>Math.max(n-1,0));break;case"Enter":e.preventDefault(),r&&d>=0&&p[d]&&O(p[d]);break;case"Escape":e.preventDefault(),h(!1),o(a?a.label:"");break;case"Tab":h(!1);break}W?.(e)},[r,d,p,O,a,W]);l.useEffect(()=>{d>=0&&b.current&&b.current.querySelectorAll('[role="option"]')[d]?.scrollIntoView({block:"nearest"})},[d]);const re=[t.default.container,t.default[D],G&&t.default.fullWidth,w&&t.default.disabled,g&&t.default.error,J].filter(Boolean).join(" "),L=D==="sm"?14:D==="lg"?20:16,ie=(e,n)=>{const m=e.value===i,y=n===d;return T?T(e,m,y):s.jsxs(s.Fragment,{children:[e.icon&&s.jsx("span",{className:t.default.optionIcon,"aria-hidden":"true",children:e.icon}),s.jsxs("div",{className:t.default.optionContent,children:[s.jsx("span",{className:t.default.optionLabel,children:e.label}),e.description&&s.jsx("span",{className:t.default.optionDescription,children:e.description})]}),m&&s.jsx(R.Check,{size:L,className:t.default.checkIcon,"aria-hidden":"true"})]})},ce=s.jsx("div",{ref:b,className:`${t.default.dropdown} ${r&&t.default.visible}`,style:{top:M.top,left:M.left,width:M.width,maxHeight:_},role:"listbox",id:q,"aria-label":S||V,children:K?s.jsxs("div",{className:t.default.loading,children:[s.jsx(R.Loader2,{size:L,className:t.default.spinner}),s.jsx("span",{children:"Loading..."})]}):p.length===0?s.jsx("div",{className:t.default.empty,children:Y}):p.map((e,n)=>{const m=n===d,y=e.value===i;return s.jsx("div",{className:[t.default.option,m&&t.default.highlighted,y&&t.default.selected,e.disabled&&t.default.disabled].filter(Boolean).join(" "),role:"option","aria-selected":y,"aria-disabled":e.disabled,onClick:()=>O(e),onMouseEnter:()=>j(n),children:ie(e,n)},e.value)})});return s.jsxs("div",{className:re,children:[S&&s.jsx("label",{htmlFor:$,className:t.default.label,children:S}),s.jsxs("div",{ref:v,className:t.default.inputWrapper,onClick:()=>N.current?.focus(),children:[s.jsx("input",{...Z,ref:e=>{typeof k=="function"?k(e):k&&(k.current=e),N.current=e},id:$,type:"text",className:t.default.input,value:E,onChange:te,onFocus:se,onBlur:le,onKeyDown:ae,disabled:w,placeholder:V,role:"combobox","aria-expanded":r,"aria-haspopup":"listbox","aria-controls":q,"aria-autocomplete":"list","aria-activedescendant":d>=0?`${q}-option-${d}`:void 0}),s.jsxs("div",{className:t.default.actions,children:[U&&i&&!w&&s.jsx("button",{type:"button",className:t.default.clearButton,onClick:ne,"aria-label":"Clear selection",tabIndex:-1,children:s.jsx(R.X,{size:L})}),s.jsx("span",{className:`${t.default.chevron} ${r?t.default.open:""}`,"aria-hidden":"true",children:s.jsx(R.ChevronDown,{size:L})})]})]}),(z||g)&&s.jsx("span",{className:g?t.default.errorText:t.default.helperText,children:g||z}),r&&oe.createPortal(ce,document.body)]})});X.displayName="Combobox";exports.Combobox=X;
|