@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
package/dist/index86.mjs
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as O, useId as P, useState as R, useEffect as U, useCallback as W } from "react";
|
|
3
|
+
import { AlertCircle as _ } from "lucide-react";
|
|
4
|
+
import e from "./index161.mjs";
|
|
5
|
+
const q = O(
|
|
6
|
+
({
|
|
7
|
+
label: l,
|
|
8
|
+
helperText: d,
|
|
9
|
+
error: r,
|
|
10
|
+
size: x = "md",
|
|
11
|
+
resize: f = "vertical",
|
|
12
|
+
showCounter: p = !1,
|
|
13
|
+
maxLength: s,
|
|
14
|
+
className: A,
|
|
15
|
+
id: B,
|
|
16
|
+
value: t,
|
|
17
|
+
defaultValue: u,
|
|
18
|
+
onChange: m,
|
|
19
|
+
disabled: N,
|
|
20
|
+
required: h,
|
|
21
|
+
optional: g = !1,
|
|
22
|
+
"aria-label": b,
|
|
23
|
+
"aria-describedby": v,
|
|
24
|
+
...E
|
|
25
|
+
}, w) => {
|
|
26
|
+
const F = P(), n = B || `textarea-${F}`, C = `${n}-error`, I = `${n}-helper`, S = `${n}-counter`, [$, j] = R(() => t !== void 0 ? String(t).length : u !== void 0 ? String(u).length : 0);
|
|
27
|
+
U(() => {
|
|
28
|
+
t !== void 0 && j(String(t).length);
|
|
29
|
+
}, [t]);
|
|
30
|
+
const M = W(
|
|
31
|
+
(o) => {
|
|
32
|
+
j(o.target.value.length), m?.(o);
|
|
33
|
+
},
|
|
34
|
+
[m]
|
|
35
|
+
), i = [];
|
|
36
|
+
r && i.push(C), d && !r && i.push(I), p && s && i.push(S), v && i.push(v);
|
|
37
|
+
const T = i.length > 0 ? i.join(" ") : void 0;
|
|
38
|
+
!(l || b) && process.env.NODE_ENV === "development" && console.warn(
|
|
39
|
+
"Textarea: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users."
|
|
40
|
+
);
|
|
41
|
+
const y = (() => {
|
|
42
|
+
if (!s) return "normal";
|
|
43
|
+
const o = $ / s * 100;
|
|
44
|
+
return o >= 100 ? "error" : o >= 90 ? "warning" : "normal";
|
|
45
|
+
})(), k = [
|
|
46
|
+
e.counter,
|
|
47
|
+
y === "warning" && e.counterWarning,
|
|
48
|
+
y === "error" && e.counterError
|
|
49
|
+
].filter(Boolean).join(" "), z = [
|
|
50
|
+
e.container,
|
|
51
|
+
e[x],
|
|
52
|
+
e[`resize${f.charAt(0).toUpperCase()}${f.slice(1)}`],
|
|
53
|
+
r && e.error,
|
|
54
|
+
N && e.disabled,
|
|
55
|
+
A
|
|
56
|
+
].filter(Boolean).join(" "), D = p || d && !r;
|
|
57
|
+
return /* @__PURE__ */ c("div", { className: z, children: [
|
|
58
|
+
l && /* @__PURE__ */ c("label", { htmlFor: n, className: e.label, children: [
|
|
59
|
+
/* @__PURE__ */ a("span", { className: e.labelText, children: l }),
|
|
60
|
+
g && /* @__PURE__ */ a("span", { className: e.optional, "aria-hidden": "true", children: "(optional)" }),
|
|
61
|
+
h && !g && /* @__PURE__ */ a("span", { className: e.required, "aria-hidden": "true", children: "*" })
|
|
62
|
+
] }),
|
|
63
|
+
/* @__PURE__ */ a(
|
|
64
|
+
"textarea",
|
|
65
|
+
{
|
|
66
|
+
ref: w,
|
|
67
|
+
id: n,
|
|
68
|
+
className: e.textarea,
|
|
69
|
+
value: t,
|
|
70
|
+
defaultValue: u,
|
|
71
|
+
maxLength: s,
|
|
72
|
+
onChange: M,
|
|
73
|
+
disabled: N,
|
|
74
|
+
required: h,
|
|
75
|
+
"aria-required": h || void 0,
|
|
76
|
+
"aria-invalid": r ? "true" : "false",
|
|
77
|
+
"aria-describedby": T,
|
|
78
|
+
"aria-label": l ? void 0 : b,
|
|
79
|
+
...E
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
D && /* @__PURE__ */ c("div", { className: e.footer, children: [
|
|
83
|
+
d && !r && /* @__PURE__ */ a("p", { id: I, className: e.helperText, children: d }),
|
|
84
|
+
p && s && /* @__PURE__ */ c(
|
|
85
|
+
"span",
|
|
86
|
+
{
|
|
87
|
+
id: S,
|
|
88
|
+
className: k,
|
|
89
|
+
"aria-live": "polite",
|
|
90
|
+
"aria-atomic": "true",
|
|
91
|
+
children: [
|
|
92
|
+
$,
|
|
93
|
+
"/",
|
|
94
|
+
s
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
] }),
|
|
99
|
+
r && /* @__PURE__ */ c(
|
|
100
|
+
"p",
|
|
101
|
+
{
|
|
102
|
+
id: C,
|
|
103
|
+
className: e.errorMessage,
|
|
104
|
+
role: "alert",
|
|
105
|
+
"aria-live": "assertive",
|
|
106
|
+
children: [
|
|
107
|
+
/* @__PURE__ */ a(_, { size: 14, "aria-hidden": "true" }),
|
|
108
|
+
/* @__PURE__ */ a("span", { children: r })
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
] });
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
q.displayName = "Textarea";
|
|
116
|
+
export {
|
|
117
|
+
q as Textarea
|
|
118
|
+
};
|
package/dist/index87.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),b=require("./index88.cjs"),S=require("./index105.cjs"),h=require("./index83.cjs"),l=require("./index26.cjs"),d=require("./index28.cjs"),i=require("./index23.cjs"),z=require("./index73.cjs"),T=require("./index20.cjs"),n={orion:{accent:"#1B5BFF",radius:"12px",description:"Blue accent • 12px radius"},red:{accent:"#D7282F",radius:"9999px",description:"Red accent • Pill buttons"},deepblue:{accent:"#006FBA",radius:"12px",description:"Deep Blue accent • 12px radius"},orange:{accent:"#F15D22",radius:"9999px",description:"Red-Orange accent • Pill buttons"},ember:{accent:"#F15D22",radius:"12px",description:"Orange accent • Black buttons • 12px radius"},lemon:{accent:"#72FF43",radius:"9999px",description:"Lime green accent • Highly rounded"}},v=({showBrandSelector:o=!0,showThemeToggle:p=!0,showSummary:y=!0,compact:m=!1,className:x,style:u,onThemeChange:j,onBrandChange:f})=>{const k=S.useTheme();let g=null;try{g=b.useThemeContext()}catch{}const{theme:t,brand:a,setTheme:B,setBrand:C}=g??k,s=r=>{B(r),j?.(r)},c=r=>{C(r),f?.(r)};return m?e.jsxs("div",{className:x,style:{display:"flex",gap:"var(--spacing-3)",alignItems:"center",flexWrap:"wrap"},children:[p&&e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-2)"},children:[e.jsx("span",{style:{fontSize:"20px"},children:"☀️"}),e.jsx(h.Switch,{checked:t==="dark",onChange:r=>s(r.target.checked?"dark":"light")}),e.jsx("span",{style:{fontSize:"20px"},children:"🌙"})]}),o&&e.jsx("div",{style:{display:"flex",gap:"var(--spacing-2)"},children:Object.keys(n).map(r=>e.jsx(l.Button,{variant:a===r?"primary":"secondary",size:"sm",onClick:()=>c(r),children:r.charAt(0).toUpperCase()+r.slice(1)},r))})]}):e.jsxs(d.Card,{variant:"elevated",className:x,style:{background:"var(--interactive-primary)",color:"var(--interactive-primary-text)",...u},children:[e.jsx(d.Card.Header,{children:e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-2)"},children:[e.jsx("span",{style:{fontSize:"24px"},children:"🎨"}),e.jsxs("div",{children:[e.jsx("h3",{style:{margin:0,color:"var(--interactive-primary-text)"},children:"Theme & Brand Settings"}),e.jsx("p",{style:{margin:0,fontSize:"var(--text-sm)",opacity:.9,color:"var(--interactive-primary-text)"},children:"Customize the appearance in real-time"})]})]})}),e.jsx(d.Card.Body,{style:{background:"var(--surface-base)",color:"var(--text-primary)"},children:e.jsxs("div",{style:{display:"grid",gap:"var(--spacing-6)"},children:[p&&e.jsxs("div",{children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"var(--spacing-3)"},children:[e.jsxs("div",{children:[e.jsx("label",{style:{display:"block",fontSize:"var(--text-lg)",fontWeight:"var(--font-weight-bold)",color:"var(--text-primary)",marginBottom:"var(--spacing-1)"},children:"Color Mode"}),e.jsx("p",{style:{fontSize:"var(--text-sm)",color:"var(--text-secondary)",margin:0},children:"Switch between light and dark themes"})]}),e.jsx(i.Badge,{variant:t==="light"?"warning":"primary",size:"lg",children:t==="light"?"☀️ Light":"🌙 Dark"})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"var(--spacing-3)",padding:"var(--spacing-4)",background:"var(--surface-subtle)",borderRadius:"var(--radius-control)",border:"2px solid var(--border-subtle)"},children:[e.jsx("span",{style:{fontSize:"32px"},children:"☀️"}),e.jsx(h.Switch,{checked:t==="dark",onChange:r=>s(r.target.checked?"dark":"light"),size:"lg"}),e.jsx("span",{style:{fontSize:"32px"},children:"🌙"}),e.jsxs("div",{style:{marginLeft:"auto",display:"flex",gap:"var(--spacing-2)"},children:[e.jsx(l.Button,{variant:t==="light"?"primary":"ghost",size:"sm",onClick:()=>s("light"),children:"Light"}),e.jsx(l.Button,{variant:t==="dark"?"primary":"ghost",size:"sm",onClick:()=>s("dark"),children:"Dark"})]})]})]}),o&&e.jsxs("div",{children:[e.jsxs("div",{style:{marginBottom:"var(--spacing-3)"},children:[e.jsx("label",{style:{display:"block",fontSize:"var(--text-lg)",fontWeight:"var(--font-weight-bold)",color:"var(--text-primary)",marginBottom:"var(--spacing-1)"},children:"Brand Identity"}),e.jsx("p",{style:{fontSize:"var(--text-sm)",color:"var(--text-secondary)",margin:0},children:"Select a brand to see different accent colors and styling"})]}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(250px, 1fr))",gap:"var(--spacing-3)"},children:Object.keys(n).map(r=>e.jsxs("div",{onClick:()=>c(r),style:{padding:"var(--spacing-4)",background:a===r?"var(--interactive-primary)":"var(--surface-subtle)",color:a===r?"white":"var(--text-primary)",borderRadius:"var(--radius-control)",border:`2px solid ${a===r?"var(--interactive-primary)":"var(--border-subtle)"}`,cursor:"pointer",transition:"all 150ms ease"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"var(--spacing-2)"},children:[e.jsx(z.Radio,{name:"brand",value:r,checked:a===r,onChange:()=>c(r),label:r.charAt(0).toUpperCase()+r.slice(1),size:"lg"}),a===r&&e.jsx(i.Badge,{variant:"success",children:"Active"})]}),e.jsx("p",{style:{fontSize:"var(--text-sm)",margin:0,opacity:.8},children:n[r].description})]},r))})]}),y&&e.jsx(T.Alert,{variant:"info",title:"Current Settings",children:e.jsxs("div",{style:{display:"flex",gap:"var(--spacing-2)",flexWrap:"wrap"},children:[e.jsxs(i.Badge,{variant:"primary",children:["Theme: ",t]}),e.jsxs(i.Badge,{variant:"secondary",children:["Brand: ",a]}),e.jsxs(i.Badge,{variant:"secondary",children:["Accent: ",n[a].accent]}),e.jsxs(i.Badge,{variant:"secondary",children:["Radius:"," ",n[a].radius==="9999px"?"9999px (pills)":n[a].radius]})]})})]})})]})};v.displayName="ThemeController";exports.ThemeController=v;
|
package/dist/index87.mjs
ADDED
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useThemeContext as B } from "./index88.mjs";
|
|
3
|
+
import { useTheme as S } from "./index105.mjs";
|
|
4
|
+
import { Switch as v } from "./index83.mjs";
|
|
5
|
+
import { Button as d } from "./index26.mjs";
|
|
6
|
+
import { Card as o } from "./index28.mjs";
|
|
7
|
+
import { Badge as n } from "./index23.mjs";
|
|
8
|
+
import { Radio as F } from "./index73.mjs";
|
|
9
|
+
import { Alert as I } from "./index20.mjs";
|
|
10
|
+
const l = {
|
|
11
|
+
orion: {
|
|
12
|
+
accent: "#1B5BFF",
|
|
13
|
+
radius: "12px",
|
|
14
|
+
description: "Blue accent • 12px radius"
|
|
15
|
+
},
|
|
16
|
+
red: {
|
|
17
|
+
accent: "#D7282F",
|
|
18
|
+
radius: "9999px",
|
|
19
|
+
description: "Red accent • Pill buttons"
|
|
20
|
+
},
|
|
21
|
+
deepblue: {
|
|
22
|
+
accent: "#006FBA",
|
|
23
|
+
radius: "12px",
|
|
24
|
+
description: "Deep Blue accent • 12px radius"
|
|
25
|
+
},
|
|
26
|
+
orange: {
|
|
27
|
+
accent: "#F15D22",
|
|
28
|
+
radius: "9999px",
|
|
29
|
+
description: "Red-Orange accent • Pill buttons"
|
|
30
|
+
},
|
|
31
|
+
ember: {
|
|
32
|
+
accent: "#F15D22",
|
|
33
|
+
radius: "12px",
|
|
34
|
+
description: "Orange accent • Black buttons • 12px radius"
|
|
35
|
+
},
|
|
36
|
+
lemon: {
|
|
37
|
+
accent: "#72FF43",
|
|
38
|
+
radius: "9999px",
|
|
39
|
+
description: "Lime green accent • Highly rounded"
|
|
40
|
+
}
|
|
41
|
+
}, T = ({
|
|
42
|
+
showBrandSelector: p = !0,
|
|
43
|
+
showThemeToggle: g = !0,
|
|
44
|
+
showSummary: y = !0,
|
|
45
|
+
compact: u = !1,
|
|
46
|
+
className: h,
|
|
47
|
+
style: x,
|
|
48
|
+
onThemeChange: f,
|
|
49
|
+
onBrandChange: k
|
|
50
|
+
}) => {
|
|
51
|
+
const C = S();
|
|
52
|
+
let m = null;
|
|
53
|
+
try {
|
|
54
|
+
m = B();
|
|
55
|
+
} catch {
|
|
56
|
+
}
|
|
57
|
+
const { theme: t, brand: i, setTheme: b, setBrand: z } = m ?? C, c = (e) => {
|
|
58
|
+
b(e), f?.(e);
|
|
59
|
+
}, s = (e) => {
|
|
60
|
+
z(e), k?.(e);
|
|
61
|
+
};
|
|
62
|
+
return u ? /* @__PURE__ */ a(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
className: h,
|
|
66
|
+
style: {
|
|
67
|
+
display: "flex",
|
|
68
|
+
gap: "var(--spacing-3)",
|
|
69
|
+
alignItems: "center",
|
|
70
|
+
flexWrap: "wrap"
|
|
71
|
+
},
|
|
72
|
+
children: [
|
|
73
|
+
g && /* @__PURE__ */ a(
|
|
74
|
+
"div",
|
|
75
|
+
{
|
|
76
|
+
style: {
|
|
77
|
+
display: "flex",
|
|
78
|
+
alignItems: "center",
|
|
79
|
+
gap: "var(--spacing-2)"
|
|
80
|
+
},
|
|
81
|
+
children: [
|
|
82
|
+
/* @__PURE__ */ r("span", { style: { fontSize: "20px" }, children: "☀️" }),
|
|
83
|
+
/* @__PURE__ */ r(
|
|
84
|
+
v,
|
|
85
|
+
{
|
|
86
|
+
checked: t === "dark",
|
|
87
|
+
onChange: (e) => c(e.target.checked ? "dark" : "light")
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
/* @__PURE__ */ r("span", { style: { fontSize: "20px" }, children: "🌙" })
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
p && /* @__PURE__ */ r("div", { style: { display: "flex", gap: "var(--spacing-2)" }, children: Object.keys(l).map((e) => /* @__PURE__ */ r(
|
|
95
|
+
d,
|
|
96
|
+
{
|
|
97
|
+
variant: i === e ? "primary" : "secondary",
|
|
98
|
+
size: "sm",
|
|
99
|
+
onClick: () => s(e),
|
|
100
|
+
children: e.charAt(0).toUpperCase() + e.slice(1)
|
|
101
|
+
},
|
|
102
|
+
e
|
|
103
|
+
)) })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
) : /* @__PURE__ */ a(
|
|
107
|
+
o,
|
|
108
|
+
{
|
|
109
|
+
variant: "elevated",
|
|
110
|
+
className: h,
|
|
111
|
+
style: {
|
|
112
|
+
background: "var(--interactive-primary)",
|
|
113
|
+
color: "var(--interactive-primary-text)",
|
|
114
|
+
...x
|
|
115
|
+
},
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ r(o.Header, { children: /* @__PURE__ */ a(
|
|
118
|
+
"div",
|
|
119
|
+
{
|
|
120
|
+
style: {
|
|
121
|
+
display: "flex",
|
|
122
|
+
alignItems: "center",
|
|
123
|
+
gap: "var(--spacing-2)"
|
|
124
|
+
},
|
|
125
|
+
children: [
|
|
126
|
+
/* @__PURE__ */ r("span", { style: { fontSize: "24px" }, children: "🎨" }),
|
|
127
|
+
/* @__PURE__ */ a("div", { children: [
|
|
128
|
+
/* @__PURE__ */ r("h3", { style: { margin: 0, color: "var(--interactive-primary-text)" }, children: "Theme & Brand Settings" }),
|
|
129
|
+
/* @__PURE__ */ r(
|
|
130
|
+
"p",
|
|
131
|
+
{
|
|
132
|
+
style: {
|
|
133
|
+
margin: 0,
|
|
134
|
+
fontSize: "var(--text-sm)",
|
|
135
|
+
opacity: 0.9,
|
|
136
|
+
color: "var(--interactive-primary-text)"
|
|
137
|
+
},
|
|
138
|
+
children: "Customize the appearance in real-time"
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
] })
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
) }),
|
|
145
|
+
/* @__PURE__ */ r(
|
|
146
|
+
o.Body,
|
|
147
|
+
{
|
|
148
|
+
style: {
|
|
149
|
+
background: "var(--surface-base)",
|
|
150
|
+
color: "var(--text-primary)"
|
|
151
|
+
},
|
|
152
|
+
children: /* @__PURE__ */ a("div", { style: { display: "grid", gap: "var(--spacing-6)" }, children: [
|
|
153
|
+
g && /* @__PURE__ */ a("div", { children: [
|
|
154
|
+
/* @__PURE__ */ a(
|
|
155
|
+
"div",
|
|
156
|
+
{
|
|
157
|
+
style: {
|
|
158
|
+
display: "flex",
|
|
159
|
+
alignItems: "center",
|
|
160
|
+
justifyContent: "space-between",
|
|
161
|
+
marginBottom: "var(--spacing-3)"
|
|
162
|
+
},
|
|
163
|
+
children: [
|
|
164
|
+
/* @__PURE__ */ a("div", { children: [
|
|
165
|
+
/* @__PURE__ */ r(
|
|
166
|
+
"label",
|
|
167
|
+
{
|
|
168
|
+
style: {
|
|
169
|
+
display: "block",
|
|
170
|
+
fontSize: "var(--text-lg)",
|
|
171
|
+
fontWeight: "var(--font-weight-bold)",
|
|
172
|
+
color: "var(--text-primary)",
|
|
173
|
+
marginBottom: "var(--spacing-1)"
|
|
174
|
+
},
|
|
175
|
+
children: "Color Mode"
|
|
176
|
+
}
|
|
177
|
+
),
|
|
178
|
+
/* @__PURE__ */ r(
|
|
179
|
+
"p",
|
|
180
|
+
{
|
|
181
|
+
style: {
|
|
182
|
+
fontSize: "var(--text-sm)",
|
|
183
|
+
color: "var(--text-secondary)",
|
|
184
|
+
margin: 0
|
|
185
|
+
},
|
|
186
|
+
children: "Switch between light and dark themes"
|
|
187
|
+
}
|
|
188
|
+
)
|
|
189
|
+
] }),
|
|
190
|
+
/* @__PURE__ */ r(
|
|
191
|
+
n,
|
|
192
|
+
{
|
|
193
|
+
variant: t === "light" ? "warning" : "primary",
|
|
194
|
+
size: "lg",
|
|
195
|
+
children: t === "light" ? "☀️ Light" : "🌙 Dark"
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
),
|
|
201
|
+
/* @__PURE__ */ a(
|
|
202
|
+
"div",
|
|
203
|
+
{
|
|
204
|
+
style: {
|
|
205
|
+
display: "flex",
|
|
206
|
+
alignItems: "center",
|
|
207
|
+
gap: "var(--spacing-3)",
|
|
208
|
+
padding: "var(--spacing-4)",
|
|
209
|
+
background: "var(--surface-subtle)",
|
|
210
|
+
borderRadius: "var(--radius-control)",
|
|
211
|
+
border: "2px solid var(--border-subtle)"
|
|
212
|
+
},
|
|
213
|
+
children: [
|
|
214
|
+
/* @__PURE__ */ r("span", { style: { fontSize: "32px" }, children: "☀️" }),
|
|
215
|
+
/* @__PURE__ */ r(
|
|
216
|
+
v,
|
|
217
|
+
{
|
|
218
|
+
checked: t === "dark",
|
|
219
|
+
onChange: (e) => c(e.target.checked ? "dark" : "light"),
|
|
220
|
+
size: "lg"
|
|
221
|
+
}
|
|
222
|
+
),
|
|
223
|
+
/* @__PURE__ */ r("span", { style: { fontSize: "32px" }, children: "🌙" }),
|
|
224
|
+
/* @__PURE__ */ a(
|
|
225
|
+
"div",
|
|
226
|
+
{
|
|
227
|
+
style: {
|
|
228
|
+
marginLeft: "auto",
|
|
229
|
+
display: "flex",
|
|
230
|
+
gap: "var(--spacing-2)"
|
|
231
|
+
},
|
|
232
|
+
children: [
|
|
233
|
+
/* @__PURE__ */ r(
|
|
234
|
+
d,
|
|
235
|
+
{
|
|
236
|
+
variant: t === "light" ? "primary" : "ghost",
|
|
237
|
+
size: "sm",
|
|
238
|
+
onClick: () => c("light"),
|
|
239
|
+
children: "Light"
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
/* @__PURE__ */ r(
|
|
243
|
+
d,
|
|
244
|
+
{
|
|
245
|
+
variant: t === "dark" ? "primary" : "ghost",
|
|
246
|
+
size: "sm",
|
|
247
|
+
onClick: () => c("dark"),
|
|
248
|
+
children: "Dark"
|
|
249
|
+
}
|
|
250
|
+
)
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
)
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
)
|
|
257
|
+
] }),
|
|
258
|
+
p && /* @__PURE__ */ a("div", { children: [
|
|
259
|
+
/* @__PURE__ */ a("div", { style: { marginBottom: "var(--spacing-3)" }, children: [
|
|
260
|
+
/* @__PURE__ */ r(
|
|
261
|
+
"label",
|
|
262
|
+
{
|
|
263
|
+
style: {
|
|
264
|
+
display: "block",
|
|
265
|
+
fontSize: "var(--text-lg)",
|
|
266
|
+
fontWeight: "var(--font-weight-bold)",
|
|
267
|
+
color: "var(--text-primary)",
|
|
268
|
+
marginBottom: "var(--spacing-1)"
|
|
269
|
+
},
|
|
270
|
+
children: "Brand Identity"
|
|
271
|
+
}
|
|
272
|
+
),
|
|
273
|
+
/* @__PURE__ */ r(
|
|
274
|
+
"p",
|
|
275
|
+
{
|
|
276
|
+
style: {
|
|
277
|
+
fontSize: "var(--text-sm)",
|
|
278
|
+
color: "var(--text-secondary)",
|
|
279
|
+
margin: 0
|
|
280
|
+
},
|
|
281
|
+
children: "Select a brand to see different accent colors and styling"
|
|
282
|
+
}
|
|
283
|
+
)
|
|
284
|
+
] }),
|
|
285
|
+
/* @__PURE__ */ r(
|
|
286
|
+
"div",
|
|
287
|
+
{
|
|
288
|
+
style: {
|
|
289
|
+
display: "grid",
|
|
290
|
+
gridTemplateColumns: "repeat(auto-fit, minmax(250px, 1fr))",
|
|
291
|
+
gap: "var(--spacing-3)"
|
|
292
|
+
},
|
|
293
|
+
children: Object.keys(l).map((e) => /* @__PURE__ */ a(
|
|
294
|
+
"div",
|
|
295
|
+
{
|
|
296
|
+
onClick: () => s(e),
|
|
297
|
+
style: {
|
|
298
|
+
padding: "var(--spacing-4)",
|
|
299
|
+
background: i === e ? "var(--interactive-primary)" : "var(--surface-subtle)",
|
|
300
|
+
color: i === e ? "white" : "var(--text-primary)",
|
|
301
|
+
borderRadius: "var(--radius-control)",
|
|
302
|
+
border: `2px solid ${i === e ? "var(--interactive-primary)" : "var(--border-subtle)"}`,
|
|
303
|
+
cursor: "pointer",
|
|
304
|
+
transition: "all 150ms ease"
|
|
305
|
+
},
|
|
306
|
+
children: [
|
|
307
|
+
/* @__PURE__ */ a(
|
|
308
|
+
"div",
|
|
309
|
+
{
|
|
310
|
+
style: {
|
|
311
|
+
display: "flex",
|
|
312
|
+
alignItems: "center",
|
|
313
|
+
justifyContent: "space-between",
|
|
314
|
+
marginBottom: "var(--spacing-2)"
|
|
315
|
+
},
|
|
316
|
+
children: [
|
|
317
|
+
/* @__PURE__ */ r(
|
|
318
|
+
F,
|
|
319
|
+
{
|
|
320
|
+
name: "brand",
|
|
321
|
+
value: e,
|
|
322
|
+
checked: i === e,
|
|
323
|
+
onChange: () => s(e),
|
|
324
|
+
label: e.charAt(0).toUpperCase() + e.slice(1),
|
|
325
|
+
size: "lg"
|
|
326
|
+
}
|
|
327
|
+
),
|
|
328
|
+
i === e && /* @__PURE__ */ r(n, { variant: "success", children: "Active" })
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
),
|
|
332
|
+
/* @__PURE__ */ r(
|
|
333
|
+
"p",
|
|
334
|
+
{
|
|
335
|
+
style: {
|
|
336
|
+
fontSize: "var(--text-sm)",
|
|
337
|
+
margin: 0,
|
|
338
|
+
opacity: 0.8
|
|
339
|
+
},
|
|
340
|
+
children: l[e].description
|
|
341
|
+
}
|
|
342
|
+
)
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
e
|
|
346
|
+
))
|
|
347
|
+
}
|
|
348
|
+
)
|
|
349
|
+
] }),
|
|
350
|
+
y && /* @__PURE__ */ r(I, { variant: "info", title: "Current Settings", children: /* @__PURE__ */ a(
|
|
351
|
+
"div",
|
|
352
|
+
{
|
|
353
|
+
style: {
|
|
354
|
+
display: "flex",
|
|
355
|
+
gap: "var(--spacing-2)",
|
|
356
|
+
flexWrap: "wrap"
|
|
357
|
+
},
|
|
358
|
+
children: [
|
|
359
|
+
/* @__PURE__ */ a(n, { variant: "primary", children: [
|
|
360
|
+
"Theme: ",
|
|
361
|
+
t
|
|
362
|
+
] }),
|
|
363
|
+
/* @__PURE__ */ a(n, { variant: "secondary", children: [
|
|
364
|
+
"Brand: ",
|
|
365
|
+
i
|
|
366
|
+
] }),
|
|
367
|
+
/* @__PURE__ */ a(n, { variant: "secondary", children: [
|
|
368
|
+
"Accent: ",
|
|
369
|
+
l[i].accent
|
|
370
|
+
] }),
|
|
371
|
+
/* @__PURE__ */ a(n, { variant: "secondary", children: [
|
|
372
|
+
"Radius:",
|
|
373
|
+
" ",
|
|
374
|
+
l[i].radius === "9999px" ? "9999px (pills)" : l[i].radius
|
|
375
|
+
] })
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
) })
|
|
379
|
+
] })
|
|
380
|
+
}
|
|
381
|
+
)
|
|
382
|
+
]
|
|
383
|
+
}
|
|
384
|
+
);
|
|
385
|
+
};
|
|
386
|
+
T.displayName = "ThemeController";
|
|
387
|
+
export {
|
|
388
|
+
T as ThemeController
|
|
389
|
+
};
|
package/dist/index88.cjs
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react/jsx-runtime"),o=require("react"),g=require("./index105.cjs"),i=require("./index16.cjs"),S=require("./index53.cjs"),h=o.createContext(void 0);function P(){return typeof window>"u"?!0:getComputedStyle(document.documentElement).getPropertyValue("--orion-react-styles-loaded").trim()==="1"}function O({children:t,defaultTheme:r,defaultBrand:d,options:p,disableFontWarnings:c=!1,disableAutoFontLoading:T=!1,disableCSSWarnings:u=!1}){const v={...p,...r!==void 0&&{defaultTheme:r},...d!==void 0&&{defaultBrand:d}},n=g.useTheme(v),a=o.useRef(new Set),m=o.useRef(!1);return o.useEffect(()=>{if(u||typeof window>"u"||!(process.env.NODE_ENV==="development"||window.location.hostname==="localhost"))return;const s=setTimeout(()=>{!m.current&&!P()&&(m.current=!0,console.warn(`[Orion] Component styles not detected!
|
|
2
|
+
|
|
3
|
+
You must import the component CSS file:
|
|
4
|
+
|
|
5
|
+
import '@orion-ds/react/styles.css'; // Single import includes all styles
|
|
6
|
+
|
|
7
|
+
Add this import in your app entry file. It includes both design tokens and component styles.
|
|
8
|
+
|
|
9
|
+
To disable this warning, set disableCSSWarnings={true} on ThemeProvider.`))},100);return()=>clearTimeout(s)},[u]),o.useEffect(()=>{if(c||typeof window>"u"||!(process.env.NODE_ENV==="development"||typeof window<"u"&&window.location.hostname==="localhost"))return;const s=setTimeout(()=>{const{brand:e}=n,l=i.getMissingFonts(e);if(l.length>0&&!a.current.has(e)){a.current.add(e);const w=i.BRAND_FONTS[e].join(", ");console.warn(`[Orion] Missing fonts for "${e}" brand: ${l.join(", ")}
|
|
10
|
+
|
|
11
|
+
The "${e}" brand requires these fonts: ${w}
|
|
12
|
+
|
|
13
|
+
To fix this, add one of the following to your app:
|
|
14
|
+
|
|
15
|
+
Option 1: Use <FontLoader /> component (recommended)
|
|
16
|
+
import { FontLoader } from '@orion-ds/react';
|
|
17
|
+
<ThemeProvider>
|
|
18
|
+
<FontLoader />
|
|
19
|
+
<App />
|
|
20
|
+
</ThemeProvider>
|
|
21
|
+
|
|
22
|
+
Option 2: Add Google Fonts to your HTML <head>
|
|
23
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
24
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
25
|
+
<link href="${i.GOOGLE_FONTS_URL}" rel="stylesheet">
|
|
26
|
+
|
|
27
|
+
To disable this warning, set disableFontWarnings={true} on ThemeProvider.`)}},1e3);return()=>clearTimeout(s)},[n.brand,c,n]),f.jsxs(h.Provider,{value:n,children:[!T&&f.jsx(S.FontLoader,{}),t]})}function x(){const t=o.useContext(h);if(t===void 0)throw new Error(`❌ useTheme() must be used inside <ThemeProvider>
|
|
28
|
+
|
|
29
|
+
Solution:
|
|
30
|
+
Wrap your app with ThemeProvider:
|
|
31
|
+
|
|
32
|
+
export default function App() {
|
|
33
|
+
return (
|
|
34
|
+
<ThemeProvider>
|
|
35
|
+
<YourComponents />
|
|
36
|
+
</ThemeProvider>
|
|
37
|
+
);
|
|
38
|
+
}`);return t}exports.ThemeProvider=O;exports.useThemeContext=x;
|
package/dist/index88.mjs
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { jsxs as y, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as a, useEffect as l, useContext as S, createContext as O } from "react";
|
|
3
|
+
import { useTheme as P } from "./index105.mjs";
|
|
4
|
+
import { getMissingFonts as x, BRAND_FONTS as C, GOOGLE_FONTS_URL as F } from "./index16.mjs";
|
|
5
|
+
import { FontLoader as b } from "./index53.mjs";
|
|
6
|
+
const f = O(void 0);
|
|
7
|
+
function E() {
|
|
8
|
+
return typeof window > "u" ? !0 : getComputedStyle(document.documentElement).getPropertyValue("--orion-react-styles-loaded").trim() === "1";
|
|
9
|
+
}
|
|
10
|
+
function R({
|
|
11
|
+
children: o,
|
|
12
|
+
defaultTheme: n,
|
|
13
|
+
defaultBrand: s,
|
|
14
|
+
options: p,
|
|
15
|
+
disableFontWarnings: i = !1,
|
|
16
|
+
disableAutoFontLoading: h = !1,
|
|
17
|
+
disableCSSWarnings: d = !1
|
|
18
|
+
}) {
|
|
19
|
+
const v = {
|
|
20
|
+
...p,
|
|
21
|
+
...n !== void 0 && { defaultTheme: n },
|
|
22
|
+
...s !== void 0 && { defaultBrand: s }
|
|
23
|
+
}, t = P(v), c = a(/* @__PURE__ */ new Set()), m = a(!1);
|
|
24
|
+
return l(() => {
|
|
25
|
+
if (d || typeof window > "u" || !(process.env.NODE_ENV === "development" || window.location.hostname === "localhost")) return;
|
|
26
|
+
const r = setTimeout(() => {
|
|
27
|
+
!m.current && !E() && (m.current = !0, console.warn(
|
|
28
|
+
`[Orion] Component styles not detected!
|
|
29
|
+
|
|
30
|
+
You must import the component CSS file:
|
|
31
|
+
|
|
32
|
+
import '@orion-ds/react/styles.css'; // Single import includes all styles
|
|
33
|
+
|
|
34
|
+
Add this import in your app entry file. It includes both design tokens and component styles.
|
|
35
|
+
|
|
36
|
+
To disable this warning, set disableCSSWarnings={true} on ThemeProvider.`
|
|
37
|
+
));
|
|
38
|
+
}, 100);
|
|
39
|
+
return () => clearTimeout(r);
|
|
40
|
+
}, [d]), l(() => {
|
|
41
|
+
if (i || typeof window > "u" || !(process.env.NODE_ENV === "development" || typeof window < "u" && window.location.hostname === "localhost")) return;
|
|
42
|
+
const r = setTimeout(() => {
|
|
43
|
+
const { brand: e } = t, u = x(e);
|
|
44
|
+
if (u.length > 0 && !c.current.has(e)) {
|
|
45
|
+
c.current.add(e);
|
|
46
|
+
const w = C[e].join(", ");
|
|
47
|
+
console.warn(
|
|
48
|
+
`[Orion] Missing fonts for "${e}" brand: ${u.join(", ")}
|
|
49
|
+
|
|
50
|
+
The "${e}" brand requires these fonts: ${w}
|
|
51
|
+
|
|
52
|
+
To fix this, add one of the following to your app:
|
|
53
|
+
|
|
54
|
+
Option 1: Use <FontLoader /> component (recommended)
|
|
55
|
+
import { FontLoader } from '@orion-ds/react';
|
|
56
|
+
<ThemeProvider>
|
|
57
|
+
<FontLoader />
|
|
58
|
+
<App />
|
|
59
|
+
</ThemeProvider>
|
|
60
|
+
|
|
61
|
+
Option 2: Add Google Fonts to your HTML <head>
|
|
62
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
63
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
64
|
+
<link href="${F}" rel="stylesheet">
|
|
65
|
+
|
|
66
|
+
To disable this warning, set disableFontWarnings={true} on ThemeProvider.`
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
}, 1e3);
|
|
70
|
+
return () => clearTimeout(r);
|
|
71
|
+
}, [t.brand, i, t]), /* @__PURE__ */ y(f.Provider, { value: t, children: [
|
|
72
|
+
!h && /* @__PURE__ */ g(b, {}),
|
|
73
|
+
o
|
|
74
|
+
] });
|
|
75
|
+
}
|
|
76
|
+
function _() {
|
|
77
|
+
const o = S(f);
|
|
78
|
+
if (o === void 0)
|
|
79
|
+
throw new Error(
|
|
80
|
+
`❌ useTheme() must be used inside <ThemeProvider>
|
|
81
|
+
|
|
82
|
+
Solution:
|
|
83
|
+
Wrap your app with ThemeProvider:
|
|
84
|
+
|
|
85
|
+
export default function App() {
|
|
86
|
+
return (
|
|
87
|
+
<ThemeProvider>
|
|
88
|
+
<YourComponents />
|
|
89
|
+
</ThemeProvider>
|
|
90
|
+
);
|
|
91
|
+
}`
|
|
92
|
+
);
|
|
93
|
+
return o;
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
R as ThemeProvider,
|
|
97
|
+
_ as useThemeContext
|
|
98
|
+
};
|
package/dist/index89.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),N=require("react-dom"),i=require("./index176.cjs");let W=0;const B=()=>`toast-${++W}`,j=r.createContext(null),P=()=>{const e=r.useContext(j);if(!e)throw new Error("useToast must be used within a ToastProvider");return e},E=({toast:e,onDismiss:u})=>{const[l,d]=r.useState(!1),a=r.useRef(null),c=r.useCallback(()=>{d(!0),setTimeout(()=>{u(e.id),e.onDismiss?.()},200)},[e,u]);r.useEffect(()=>{if(e.duration&&e.duration>0)return a.current=setTimeout(c,e.duration),()=>{a.current&&clearTimeout(a.current)}},[e.duration,c]);const o=()=>{a.current&&clearTimeout(a.current)},h=()=>{e.duration&&e.duration>0&&(a.current=setTimeout(c,e.duration))},v=[i.default.toast,i.default[e.variant||"info"],l&&i.default.exiting].filter(Boolean).join(" "),f=()=>{switch(e.variant){case"success":return t.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:t.jsx("path",{d:"M16.667 5L7.5 14.167 3.333 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})});case"error":return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.5"}),t.jsx("path",{d:"M10 6v5M10 13.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});case"warning":return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("path",{d:"M8.57 3.216L1.538 15.143a1.667 1.667 0 001.429 2.524h14.066a1.667 1.667 0 001.429-2.524L11.43 3.216a1.667 1.667 0 00-2.858 0z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M10 7.5v3.333M10 14.167h.008",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});default:return t.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("circle",{cx:"10",cy:"10",r:"7.5",stroke:"currentColor",strokeWidth:"1.5"}),t.jsx("path",{d:"M10 9v4.5M10 6.5v.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}};return t.jsxs("div",{className:v,role:"alert","aria-live":"polite",onMouseEnter:o,onMouseLeave:h,children:[t.jsx("span",{className:i.default.icon,"aria-hidden":"true",children:f()}),t.jsxs("div",{className:i.default.content,children:[e.title&&t.jsx("div",{className:i.default.title,children:e.title}),t.jsx("div",{className:i.default.message,children:e.message})]}),e.action&&t.jsx("button",{type:"button",className:i.default.action,onClick:()=>{e.action?.onClick(),c()},children:e.action.label}),e.dismissible!==!1&&t.jsx("button",{type:"button",className:i.default.closeButton,onClick:c,"aria-label":"Dismiss",children:t.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:t.jsx("path",{d:"M12 4L4 12M4 4l8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})},g=({children:e,position:u="bottom-right",maxToasts:l=5,defaultDuration:d=5e3})=>{const[a,c]=r.useState([]),o=r.useCallback(s=>{const n=B(),{type:k,...m}=s,L=m.variant||k||"info",M={id:n,duration:d,dismissible:!0,variant:L,...m};return c(y=>{const x=[...y,M];return x.length>l?x.slice(-l):x}),n},[d,l]),h=r.useCallback(s=>{c(n=>n.filter(k=>k.id!==s))},[]),v=r.useCallback(()=>{c([])},[]),f=r.useCallback((s,n)=>o({message:s,variant:"info",...n}),[o]),C=r.useCallback((s,n)=>o({message:s,variant:"success",...n}),[o]),p=r.useCallback((s,n)=>o({message:s,variant:"warning",...n}),[o]),b=r.useCallback((s,n)=>o({message:s,variant:"error",...n}),[o]),T={toast:o,info:f,success:C,warning:p,error:b,dismiss:h,dismissAll:v},w=[i.default.container,i.default[u]].filter(Boolean).join(" ");return t.jsxs(j.Provider,{value:T,children:[e,a.length>0&&N.createPortal(t.jsx("div",{className:w,"aria-label":"Notifications",children:a.map(s=>t.jsx(E,{toast:s,onDismiss:h},s.id))}),document.body)]})};g.displayName="ToastProvider";exports.ToastProvider=g;exports.useToast=P;
|