@orion-ds/react 4.2.14 → 4.3.1
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/dist/ComponentShowcase.cjs +1 -0
- package/dist/ComponentShowcase.mjs +600 -0
- package/dist/blocks/index.cjs +1 -0
- package/dist/blocks/index.d.ts +9 -0
- package/dist/blocks/index.d.ts.map +1 -0
- package/dist/blocks/index.mjs +56 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.d.ts +5 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.d.ts.map +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.mjs +97 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.module.css +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.module.css.cjs +1 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.module.css.mjs +47 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.types.d.ts +34 -0
- package/dist/blocks/sections/ActivityFeed/ActivityFeed.types.d.ts.map +1 -0
- package/dist/blocks/sections/ActivityFeed/index.d.ts +3 -0
- package/dist/blocks/sections/ActivityFeed/index.d.ts.map +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.cjs +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.d.ts +8 -0
- package/dist/blocks/sections/AppDownload/AppDownload.d.ts.map +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.mjs +159 -0
- package/dist/blocks/sections/AppDownload/AppDownload.module.css +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.module.css.cjs +1 -0
- package/dist/blocks/sections/AppDownload/AppDownload.module.css.mjs +55 -0
- package/dist/blocks/sections/AppDownload/AppDownload.types.d.ts +114 -0
- package/dist/blocks/sections/AppDownload/AppDownload.types.d.ts.map +1 -0
- package/dist/blocks/sections/AppDownload/index.d.ts +3 -0
- package/dist/blocks/sections/AppDownload/index.d.ts.map +1 -0
- package/dist/blocks/sections/Blog/Blog.cjs +1 -0
- package/dist/blocks/sections/Blog/Blog.d.ts +8 -0
- package/dist/blocks/sections/Blog/Blog.d.ts.map +1 -0
- package/dist/blocks/sections/Blog/Blog.mjs +141 -0
- package/dist/blocks/sections/Blog/Blog.module.css +1 -0
- package/dist/blocks/sections/Blog/Blog.module.css.cjs +1 -0
- package/dist/blocks/sections/Blog/Blog.module.css.mjs +55 -0
- package/dist/blocks/sections/Blog/Blog.types.d.ts +139 -0
- package/dist/blocks/sections/Blog/Blog.types.d.ts.map +1 -0
- package/dist/blocks/sections/Blog/index.d.ts +3 -0
- package/dist/blocks/sections/Blog/index.d.ts.map +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.mjs +80 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.module.css +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.module.css.cjs +1 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.module.css.mjs +29 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.types.d.ts +78 -0
- package/dist/blocks/sections/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -0
- package/dist/blocks/sections/Breadcrumbs/index.d.ts +3 -0
- package/dist/blocks/sections/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/blocks/sections/CTA/CTA.cjs +1 -0
- package/dist/blocks/sections/CTA/CTA.d.ts +4 -0
- package/dist/blocks/sections/CTA/CTA.d.ts.map +1 -0
- package/dist/blocks/sections/CTA/CTA.mjs +45 -0
- package/dist/blocks/sections/CTA/CTA.module.css +1 -0
- package/dist/blocks/sections/CTA/CTA.module.css.cjs +1 -0
- package/dist/blocks/sections/CTA/CTA.module.css.mjs +30 -0
- package/dist/blocks/sections/CTA/CTA.types.d.ts +74 -0
- package/dist/blocks/sections/CTA/CTA.types.d.ts.map +1 -0
- package/dist/blocks/sections/CTA/index.d.ts +6 -0
- package/dist/blocks/sections/CTA/index.d.ts.map +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.d.ts +4 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.d.ts.map +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.mjs +165 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.module.css +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.module.css.cjs +1 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.module.css.mjs +27 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.types.d.ts +114 -0
- package/dist/blocks/sections/CarouselSection/CarouselSection.types.d.ts.map +1 -0
- package/dist/blocks/sections/CarouselSection/index.d.ts +11 -0
- package/dist/blocks/sections/CarouselSection/index.d.ts.map +1 -0
- package/dist/blocks/sections/Chat/Chat.cjs +1 -0
- package/dist/blocks/sections/Chat/Chat.d.ts +4 -0
- package/dist/blocks/sections/Chat/Chat.d.ts.map +1 -0
- package/dist/blocks/sections/Chat/Chat.mjs +129 -0
- package/dist/blocks/sections/Chat/Chat.module.css +1 -0
- package/dist/blocks/sections/Chat/Chat.module.css.cjs +1 -0
- package/dist/blocks/sections/Chat/Chat.module.css.mjs +21 -0
- package/dist/blocks/sections/Chat/Chat.types 2.d.ts +8 -0
- package/dist/blocks/sections/Chat/Chat.types 2.d.ts.map +1 -0
- package/dist/blocks/sections/Chat/Chat.types.d.ts +8 -0
- package/dist/blocks/sections/Chat/Chat.types.d.ts.map +1 -0
- package/dist/blocks/sections/Chat/index.d.ts +19 -0
- package/dist/blocks/sections/Chat/index.d.ts.map +1 -0
- package/dist/blocks/sections/Comparison/Comparison.cjs +1 -0
- package/dist/blocks/sections/Comparison/Comparison.d.ts +8 -0
- package/dist/blocks/sections/Comparison/Comparison.d.ts.map +1 -0
- package/dist/blocks/sections/Comparison/Comparison.mjs +110 -0
- package/dist/blocks/sections/Comparison/Comparison.module.css +1 -0
- package/dist/blocks/sections/Comparison/Comparison.module.css.cjs +1 -0
- package/dist/blocks/sections/Comparison/Comparison.module.css.mjs +51 -0
- package/dist/blocks/sections/Comparison/Comparison.types.d.ts +120 -0
- package/dist/blocks/sections/Comparison/Comparison.types.d.ts.map +1 -0
- package/dist/blocks/sections/Comparison/index.d.ts +3 -0
- package/dist/blocks/sections/Comparison/index.d.ts.map +1 -0
- package/dist/blocks/sections/Contact/Contact.cjs +1 -0
- package/dist/blocks/sections/Contact/Contact.d.ts +4 -0
- package/dist/blocks/sections/Contact/Contact.d.ts.map +1 -0
- package/dist/blocks/sections/Contact/Contact.mjs +120 -0
- package/dist/blocks/sections/Contact/Contact.module.css +1 -0
- package/dist/blocks/sections/Contact/Contact.module.css.cjs +1 -0
- package/dist/blocks/sections/Contact/Contact.module.css.mjs +42 -0
- package/dist/blocks/sections/Contact/Contact.types.d.ts +133 -0
- package/dist/blocks/sections/Contact/Contact.types.d.ts.map +1 -0
- package/dist/blocks/sections/Contact/index.d.ts +6 -0
- package/dist/blocks/sections/Contact/index.d.ts.map +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.cjs +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.d.ts +4 -0
- package/dist/blocks/sections/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.mjs +40 -0
- package/dist/blocks/sections/EmptyState/EmptyState.module.css +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.module.css.cjs +1 -0
- package/dist/blocks/sections/EmptyState/EmptyState.module.css.mjs +25 -0
- package/dist/blocks/sections/EmptyState/EmptyState.types.d.ts +65 -0
- package/dist/blocks/sections/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/blocks/sections/EmptyState/index.d.ts +3 -0
- package/dist/blocks/sections/EmptyState/index.d.ts.map +1 -0
- package/dist/blocks/sections/FAQ/FAQ.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQ.d.ts +4 -0
- package/dist/blocks/sections/FAQ/FAQ.d.ts.map +1 -0
- package/dist/blocks/sections/FAQ/FAQ.mjs +73 -0
- package/dist/blocks/sections/FAQ/FAQ.module.css +1 -0
- package/dist/blocks/sections/FAQ/FAQ.module.css.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQ.module.css.mjs +36 -0
- package/dist/blocks/sections/FAQ/FAQ.types.d.ts +117 -0
- package/dist/blocks/sections/FAQ/FAQ.types.d.ts.map +1 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.cjs +1 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.d.ts +7 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.d.ts.map +1 -0
- package/dist/blocks/sections/FAQ/FAQItemCard.mjs +43 -0
- package/dist/blocks/sections/FAQ/index.d.ts +7 -0
- package/dist/blocks/sections/FAQ/index.d.ts.map +1 -0
- package/dist/blocks/sections/Features/FeatureCard.cjs +1 -0
- package/dist/blocks/sections/Features/FeatureCard.d.ts +7 -0
- package/dist/blocks/sections/Features/FeatureCard.d.ts.map +1 -0
- package/dist/blocks/sections/Features/FeatureCard.mjs +27 -0
- package/dist/blocks/sections/Features/Features.cjs +1 -0
- package/dist/blocks/sections/Features/Features.d.ts +4 -0
- package/dist/blocks/sections/Features/Features.d.ts.map +1 -0
- package/dist/blocks/sections/Features/Features.mjs +51 -0
- package/dist/blocks/sections/Features/Features.module.css +1 -0
- package/dist/blocks/sections/Features/Features.module.css.cjs +1 -0
- package/dist/blocks/sections/Features/Features.module.css.mjs +36 -0
- package/dist/blocks/sections/Features/Features.types.d.ts +100 -0
- package/dist/blocks/sections/Features/Features.types.d.ts.map +1 -0
- package/dist/blocks/sections/Features/index.d.ts +7 -0
- package/dist/blocks/sections/Features/index.d.ts.map +1 -0
- package/dist/blocks/sections/Footer/Footer.cjs +1 -0
- package/dist/blocks/sections/Footer/Footer.d.ts +4 -0
- package/dist/blocks/sections/Footer/Footer.d.ts.map +1 -0
- package/dist/blocks/sections/Footer/Footer.mjs +102 -0
- package/dist/blocks/sections/Footer/Footer.module.css +1 -0
- package/dist/blocks/sections/Footer/Footer.module.css.cjs +1 -0
- package/dist/blocks/sections/Footer/Footer.module.css.mjs +50 -0
- package/dist/blocks/sections/Footer/Footer.types.d.ts +129 -0
- package/dist/blocks/sections/Footer/Footer.types.d.ts.map +1 -0
- package/dist/blocks/sections/Footer/index.d.ts +6 -0
- package/dist/blocks/sections/Footer/index.d.ts.map +1 -0
- package/dist/blocks/sections/Gallery/Gallery.cjs +1 -0
- package/dist/blocks/sections/Gallery/Gallery.d.ts +8 -0
- package/dist/blocks/sections/Gallery/Gallery.d.ts.map +1 -0
- package/dist/blocks/sections/Gallery/Gallery.mjs +191 -0
- package/dist/blocks/sections/Gallery/Gallery.module.css +1 -0
- package/dist/blocks/sections/Gallery/Gallery.module.css.cjs +1 -0
- package/dist/blocks/sections/Gallery/Gallery.module.css.mjs +51 -0
- package/dist/blocks/sections/Gallery/Gallery.types.d.ts +114 -0
- package/dist/blocks/sections/Gallery/Gallery.types.d.ts.map +1 -0
- package/dist/blocks/sections/Gallery/index.d.ts +3 -0
- package/dist/blocks/sections/Gallery/index.d.ts.map +1 -0
- package/dist/blocks/sections/Hero/Hero.cjs +1 -0
- package/dist/blocks/sections/Hero/Hero.d.ts +10 -0
- package/dist/blocks/sections/Hero/Hero.d.ts.map +1 -0
- package/dist/blocks/sections/Hero/Hero.mjs +128 -0
- package/dist/blocks/sections/Hero/Hero.module.css +1 -0
- package/dist/blocks/sections/Hero/Hero.module.css.cjs +1 -0
- package/dist/blocks/sections/Hero/Hero.module.css.mjs +51 -0
- package/dist/blocks/sections/Hero/Hero.types.d.ts +167 -0
- package/dist/blocks/sections/Hero/Hero.types.d.ts.map +1 -0
- package/dist/blocks/sections/Hero/HeroHighlight.cjs +1 -0
- package/dist/blocks/sections/Hero/HeroHighlight.d.ts +7 -0
- package/dist/blocks/sections/Hero/HeroHighlight.d.ts.map +1 -0
- package/dist/blocks/sections/Hero/HeroHighlight.mjs +7 -0
- package/dist/blocks/sections/Hero/index.d.ts +7 -0
- package/dist/blocks/sections/Hero/index.d.ts.map +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.cjs +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.d.ts +4 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.mjs +87 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.module.css +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.module.css.cjs +1 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.module.css.mjs +41 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.types.d.ts +101 -0
- package/dist/blocks/sections/LogoCloud/LogoCloud.types.d.ts.map +1 -0
- package/dist/blocks/sections/LogoCloud/index.d.ts +6 -0
- package/dist/blocks/sections/LogoCloud/index.d.ts.map +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.cjs +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.d.ts +4 -0
- package/dist/blocks/sections/Newsletter/Newsletter.d.ts.map +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.mjs +97 -0
- package/dist/blocks/sections/Newsletter/Newsletter.module.css +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.module.css.cjs +1 -0
- package/dist/blocks/sections/Newsletter/Newsletter.module.css.mjs +42 -0
- package/dist/blocks/sections/Newsletter/Newsletter.types.d.ts +97 -0
- package/dist/blocks/sections/Newsletter/Newsletter.types.d.ts.map +1 -0
- package/dist/blocks/sections/Newsletter/index.d.ts +6 -0
- package/dist/blocks/sections/Newsletter/index.d.ts.map +1 -0
- package/dist/blocks/sections/Pricing/Pricing.cjs +1 -0
- package/dist/blocks/sections/Pricing/Pricing.d.ts +4 -0
- package/dist/blocks/sections/Pricing/Pricing.d.ts.map +1 -0
- package/dist/blocks/sections/Pricing/Pricing.mjs +43 -0
- package/dist/blocks/sections/Pricing/Pricing.module.css +1 -0
- package/dist/blocks/sections/Pricing/Pricing.module.css.cjs +1 -0
- package/dist/blocks/sections/Pricing/Pricing.module.css.mjs +54 -0
- package/dist/blocks/sections/Pricing/Pricing.types.d.ts +129 -0
- package/dist/blocks/sections/Pricing/Pricing.types.d.ts.map +1 -0
- package/dist/blocks/sections/Pricing/PricingCard.cjs +1 -0
- package/dist/blocks/sections/Pricing/PricingCard.d.ts +7 -0
- package/dist/blocks/sections/Pricing/PricingCard.d.ts.map +1 -0
- package/dist/blocks/sections/Pricing/PricingCard.mjs +40 -0
- package/dist/blocks/sections/Pricing/index.d.ts +7 -0
- package/dist/blocks/sections/Pricing/index.d.ts.map +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.cjs +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.d.ts +4 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.mjs +90 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.module.css +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.module.css.cjs +1 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.module.css.mjs +55 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.types.d.ts +112 -0
- package/dist/blocks/sections/SettingsLayout/SettingsLayout.types.d.ts.map +1 -0
- package/dist/blocks/sections/SettingsLayout/index.d.ts +3 -0
- package/dist/blocks/sections/SettingsLayout/index.d.ts.map +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.cjs +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.d.ts +8 -0
- package/dist/blocks/sections/SocialProof/SocialProof.d.ts.map +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.mjs +107 -0
- package/dist/blocks/sections/SocialProof/SocialProof.module.css +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.module.css.cjs +1 -0
- package/dist/blocks/sections/SocialProof/SocialProof.module.css.mjs +63 -0
- package/dist/blocks/sections/SocialProof/SocialProof.types.d.ts +138 -0
- package/dist/blocks/sections/SocialProof/SocialProof.types.d.ts.map +1 -0
- package/dist/blocks/sections/SocialProof/index.d.ts +3 -0
- package/dist/blocks/sections/SocialProof/index.d.ts.map +1 -0
- package/dist/blocks/sections/Stats/StatItemCard.cjs +1 -0
- package/dist/blocks/sections/Stats/StatItemCard.d.ts +7 -0
- package/dist/blocks/sections/Stats/StatItemCard.d.ts.map +1 -0
- package/dist/blocks/sections/Stats/StatItemCard.mjs +40 -0
- package/dist/blocks/sections/Stats/Stats.cjs +1 -0
- package/dist/blocks/sections/Stats/Stats.d.ts +4 -0
- package/dist/blocks/sections/Stats/Stats.d.ts.map +1 -0
- package/dist/blocks/sections/Stats/Stats.mjs +59 -0
- package/dist/blocks/sections/Stats/Stats.module.css +1 -0
- package/dist/blocks/sections/Stats/Stats.module.css.cjs +1 -0
- package/dist/blocks/sections/Stats/Stats.module.css.mjs +47 -0
- package/dist/blocks/sections/Stats/Stats.types.d.ts +131 -0
- package/dist/blocks/sections/Stats/Stats.types.d.ts.map +1 -0
- package/dist/blocks/sections/Stats/index.d.ts +7 -0
- package/dist/blocks/sections/Stats/index.d.ts.map +1 -0
- package/dist/blocks/sections/Stepper/Stepper.cjs +1 -0
- package/dist/blocks/sections/Stepper/Stepper.d.ts +4 -0
- package/dist/blocks/sections/Stepper/Stepper.d.ts.map +1 -0
- package/dist/blocks/sections/Stepper/Stepper.mjs +91 -0
- package/dist/blocks/sections/Stepper/Stepper.module.css +1 -0
- package/dist/blocks/sections/Stepper/Stepper.module.css.cjs +1 -0
- package/dist/blocks/sections/Stepper/Stepper.module.css.mjs +53 -0
- package/dist/blocks/sections/Stepper/Stepper.types.d.ts +101 -0
- package/dist/blocks/sections/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/blocks/sections/Stepper/index.d.ts +3 -0
- package/dist/blocks/sections/Stepper/index.d.ts.map +1 -0
- package/dist/blocks/sections/Team/Team.cjs +1 -0
- package/dist/blocks/sections/Team/Team.d.ts +4 -0
- package/dist/blocks/sections/Team/Team.d.ts.map +1 -0
- package/dist/blocks/sections/Team/Team.mjs +51 -0
- package/dist/blocks/sections/Team/Team.module.css +1 -0
- package/dist/blocks/sections/Team/Team.module.css.cjs +1 -0
- package/dist/blocks/sections/Team/Team.module.css.mjs +45 -0
- package/dist/blocks/sections/Team/Team.types.d.ts +139 -0
- package/dist/blocks/sections/Team/Team.types.d.ts.map +1 -0
- package/dist/blocks/sections/Team/TeamMemberCard.cjs +1 -0
- package/dist/blocks/sections/Team/TeamMemberCard.d.ts +7 -0
- package/dist/blocks/sections/Team/TeamMemberCard.d.ts.map +1 -0
- package/dist/blocks/sections/Team/TeamMemberCard.mjs +47 -0
- package/dist/blocks/sections/Team/index.d.ts +7 -0
- package/dist/blocks/sections/Team/index.d.ts.map +1 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.cjs +1 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.d.ts +7 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
- package/dist/blocks/sections/Testimonials/TestimonialCard.mjs +53 -0
- package/dist/blocks/sections/Testimonials/Testimonials.cjs +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.d.ts +4 -0
- package/dist/blocks/sections/Testimonials/Testimonials.d.ts.map +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.mjs +55 -0
- package/dist/blocks/sections/Testimonials/Testimonials.module.css +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.module.css.cjs +1 -0
- package/dist/blocks/sections/Testimonials/Testimonials.module.css.mjs +45 -0
- package/dist/blocks/sections/Testimonials/Testimonials.types.d.ts +126 -0
- package/dist/blocks/sections/Testimonials/Testimonials.types.d.ts.map +1 -0
- package/dist/blocks/sections/Testimonials/index.d.ts +7 -0
- package/dist/blocks/sections/Testimonials/index.d.ts.map +1 -0
- package/dist/blocks/sections/Timeline/Timeline.cjs +1 -0
- package/dist/blocks/sections/Timeline/Timeline.d.ts +8 -0
- package/dist/blocks/sections/Timeline/Timeline.d.ts.map +1 -0
- package/dist/blocks/sections/Timeline/Timeline.mjs +84 -0
- package/dist/blocks/sections/Timeline/Timeline.module.css +1 -0
- package/dist/blocks/sections/Timeline/Timeline.module.css.cjs +1 -0
- package/dist/blocks/sections/Timeline/Timeline.module.css.mjs +37 -0
- package/dist/blocks/sections/Timeline/Timeline.types.d.ts +104 -0
- package/dist/blocks/sections/Timeline/Timeline.types.d.ts.map +1 -0
- package/dist/blocks/sections/Timeline/index.d.ts +3 -0
- package/dist/blocks/sections/Timeline/index.d.ts.map +1 -0
- package/dist/blocks/sections/index.d.ts +53 -0
- package/dist/blocks/sections/index.d.ts.map +1 -0
- package/dist/blocks/templates/index.d.ts +8 -0
- package/dist/blocks/templates/index.d.ts.map +1 -0
- package/dist/blocks.css +60 -0
- package/dist/components/Accordion/Accordion.cjs +1 -0
- package/dist/components/Accordion/Accordion.mjs +94 -0
- package/dist/components/ActivityFeed/ActivityFeed.cjs +1 -0
- package/dist/components/ActivityFeed/ActivityFeed.mjs +128 -0
- package/dist/components/AgentCard/AgentCard.cjs +1 -0
- package/dist/components/AgentCard/AgentCard.mjs +120 -0
- package/dist/components/Alert/Alert.cjs +1 -0
- package/dist/components/Alert/Alert.mjs +51 -0
- package/dist/components/AlertDialog/AlertDialog.cjs +1 -0
- package/dist/components/AlertDialog/AlertDialog.mjs +91 -0
- package/dist/components/Avatar/Avatar.cjs +1 -0
- package/dist/components/Avatar/Avatar.mjs +58 -0
- package/dist/components/Badge/Badge.cjs +1 -0
- package/dist/components/Badge/Badge.mjs +20 -0
- package/dist/components/Banner/Banner.cjs +1 -0
- package/dist/components/Banner/Banner.mjs +107 -0
- package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.mjs +84 -0
- package/dist/components/Button/Button.cjs +1 -0
- package/dist/components/Button/Button.mjs +71 -0
- package/dist/components/Calendar/Calendar.cjs +1 -0
- package/dist/components/Calendar/Calendar.mjs +135 -0
- package/dist/components/Card/Card.cjs +1 -0
- package/dist/components/Card/Card.mjs +106 -0
- package/dist/components/Carousel/Carousel.cjs +1 -0
- package/dist/components/Carousel/Carousel.mjs +178 -0
- package/dist/components/Carousel/CarouselCard.cjs +1 -0
- package/dist/components/Carousel/CarouselCard.mjs +38 -0
- package/dist/components/Chart/Chart.cjs +1 -0
- package/dist/components/Chart/Chart.mjs +103 -0
- package/dist/components/Chat/Chat.cjs +1 -0
- package/dist/components/Chat/Chat.mjs +56 -0
- package/dist/components/Chat/components/ChatAttachment.cjs +1 -0
- package/dist/components/Chat/components/ChatAttachment.mjs +125 -0
- package/dist/components/Chat/components/ChatAudioPlayer.cjs +1 -0
- package/dist/components/Chat/components/ChatAudioPlayer.mjs +127 -0
- package/dist/components/Chat/components/ChatCodeBlock.cjs +1 -0
- package/dist/components/Chat/components/ChatCodeBlock.mjs +93 -0
- package/dist/components/Chat/components/ChatFileUpload.cjs +1 -0
- package/dist/components/Chat/components/ChatFileUpload.mjs +114 -0
- package/dist/components/Chat/components/ChatHeader.cjs +1 -0
- package/dist/components/Chat/components/ChatHeader.mjs +36 -0
- package/dist/components/Chat/components/ChatImagePreview.cjs +1 -0
- package/dist/components/Chat/components/ChatImagePreview.mjs +69 -0
- package/dist/components/Chat/components/ChatInput.cjs +1 -0
- package/dist/components/Chat/components/ChatInput.mjs +188 -0
- package/dist/components/Chat/components/ChatLightbox.cjs +1 -0
- package/dist/components/Chat/components/ChatLightbox.mjs +57 -0
- package/dist/components/Chat/components/ChatMarkdown.cjs +1 -0
- package/dist/components/Chat/components/ChatMarkdown.mjs +55 -0
- package/dist/components/Chat/components/ChatMessage.cjs +1 -0
- package/dist/components/Chat/components/ChatMessage.mjs +173 -0
- package/dist/components/Chat/components/ChatMessages.cjs +1 -0
- package/dist/components/Chat/components/ChatMessages.mjs +46 -0
- package/dist/components/Chat/components/ChatSidebar.cjs +1 -0
- package/dist/components/Chat/components/ChatSidebar.mjs +217 -0
- package/dist/components/Chat/components/ChatTypingIndicator.cjs +1 -0
- package/dist/components/Chat/components/ChatTypingIndicator.mjs +31 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.cjs +1 -0
- package/dist/components/Chat/components/ChatVoiceRecorder.mjs +111 -0
- package/dist/components/Checkbox/Checkbox.cjs +1 -0
- package/dist/components/Checkbox/Checkbox.mjs +84 -0
- package/dist/components/Chip/Chip.cjs +1 -0
- package/dist/components/Chip/Chip.mjs +86 -0
- package/dist/components/CodeEditor/CodeEditor.cjs +6 -0
- package/dist/components/CodeEditor/CodeEditor.mjs +255 -0
- package/dist/components/Collapsible/Collapsible.cjs +1 -0
- package/dist/components/Collapsible/Collapsible.mjs +114 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.cjs +1 -0
- package/dist/components/CollapsibleFolder/CollapsibleFolder.mjs +196 -0
- package/dist/components/Combobox/Combobox.cjs +1 -0
- package/dist/components/Combobox/Combobox.mjs +271 -0
- package/dist/components/Command/Command.cjs +1 -0
- package/dist/components/Command/Command.mjs +248 -0
- package/dist/components/CommandBar/CommandBar.cjs +1 -0
- package/dist/components/CommandBar/CommandBar.mjs +193 -0
- package/dist/components/DataTable/DataTable.cjs +1 -0
- package/dist/components/DataTable/DataTable.mjs +339 -0
- package/dist/components/DatePicker/DatePicker.cjs +1 -0
- package/dist/components/DatePicker/DatePicker.mjs +104 -0
- package/dist/components/DetailPanel/DetailPanel.cjs +1 -0
- package/dist/components/DetailPanel/DetailPanel.mjs +103 -0
- package/dist/components/Divider/Divider.cjs +1 -0
- package/dist/components/Divider/Divider.mjs +48 -0
- package/dist/components/Drawer/Drawer.cjs +1 -0
- package/dist/components/Drawer/Drawer.mjs +132 -0
- package/dist/components/Dropdown/Dropdown.cjs +1 -0
- package/dist/components/Dropdown/Dropdown.mjs +176 -0
- package/dist/components/EmptyState/EmptyState.cjs +1 -0
- package/dist/components/EmptyState/EmptyState.mjs +30 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.mjs +43 -0
- package/dist/components/Field/Field.cjs +1 -0
- package/dist/components/Field/Field.mjs +107 -0
- package/dist/components/FileUploader/FileUploader.cjs +1 -0
- package/dist/components/FileUploader/FileUploader.mjs +202 -0
- package/dist/components/FilterBar/FilterBar.cjs +1 -0
- package/dist/components/FilterBar/FilterBar.mjs +164 -0
- package/dist/components/FontLoader/FontLoader.cjs +1 -0
- package/dist/components/FontLoader/FontLoader.mjs +47 -0
- package/dist/components/FormSection/FormSection.cjs +1 -0
- package/dist/components/FormSection/FormSection.mjs +84 -0
- package/dist/components/Icon/Icon.cjs +1 -0
- package/dist/components/Icon/Icon.mjs +54 -0
- package/dist/components/IconGallery/IconGallery.cjs +3 -0
- package/dist/components/IconGallery/IconGallery.mjs +205 -0
- package/dist/components/InputOTP/InputOTP.cjs +1 -0
- package/dist/components/InputOTP/InputOTP.mjs +143 -0
- package/dist/components/KanbanBoard/KanbanBoard.cjs +1 -0
- package/dist/components/KanbanBoard/KanbanBoard.mjs +190 -0
- package/dist/components/Link/Link.cjs +1 -0
- package/dist/components/Link/Link.mjs +82 -0
- package/dist/components/List/List.cjs +1 -0
- package/dist/components/List/List.mjs +95 -0
- package/dist/components/MetricCards/MetricCards.cjs +1 -0
- package/dist/components/MetricCards/MetricCards.mjs +125 -0
- package/dist/components/Modal/Modal.cjs +1 -0
- package/dist/components/Modal/Modal.mjs +72 -0
- package/dist/components/NavTree/NavTree.cjs +1 -0
- package/dist/components/NavTree/NavTree.mjs +273 -0
- package/dist/components/Navbar/Navbar.cjs +1 -0
- package/dist/components/Navbar/Navbar.mjs +129 -0
- package/dist/components/NotificationCenter/NotificationCenter.cjs +1 -0
- package/dist/components/NotificationCenter/NotificationCenter.mjs +172 -0
- package/dist/components/PageHeader/PageHeader.cjs +1 -0
- package/dist/components/PageHeader/PageHeader.mjs +105 -0
- package/dist/components/Pagination/Pagination.cjs +1 -0
- package/dist/components/Pagination/Pagination.mjs +136 -0
- package/dist/components/Popover/Popover.cjs +1 -0
- package/dist/components/Popover/Popover.mjs +191 -0
- package/dist/components/ProgressBar/ProgressBar.cjs +1 -0
- package/dist/components/ProgressBar/ProgressBar.mjs +54 -0
- package/dist/components/QuickActions/QuickActions.cjs +1 -0
- package/dist/components/QuickActions/QuickActions.mjs +148 -0
- package/dist/components/Radio/Radio.cjs +1 -0
- package/dist/components/Radio/Radio.mjs +76 -0
- package/dist/components/SearchInput/SearchInput.cjs +1 -0
- package/dist/components/SearchInput/SearchInput.mjs +87 -0
- package/dist/components/Select/Select.cjs +1 -0
- package/dist/components/Select/Select.mjs +78 -0
- package/dist/components/Sidebar/Sidebar.cjs +1 -0
- package/dist/components/Sidebar/Sidebar.mjs +153 -0
- package/dist/components/Skeleton/Skeleton.cjs +1 -0
- package/dist/components/Skeleton/Skeleton.mjs +54 -0
- package/dist/components/Slider/Slider.cjs +1 -0
- package/dist/components/Slider/Slider.mjs +109 -0
- package/dist/components/Spinner/Spinner.cjs +1 -0
- package/dist/components/Spinner/Spinner.mjs +28 -0
- package/dist/components/Stepper/Stepper.cjs +1 -0
- package/dist/components/Stepper/Stepper.mjs +133 -0
- package/dist/components/Switch/Switch.cjs +1 -0
- package/dist/components/Switch/Switch.mjs +80 -0
- package/dist/components/Table/Table.cjs +1 -0
- package/dist/components/Table/Table.mjs +101 -0
- package/dist/components/Tabs/Tabs.cjs +1 -0
- package/dist/components/Tabs/Tabs.mjs +97 -0
- package/dist/components/Textarea/Textarea.cjs +1 -0
- package/dist/components/Textarea/Textarea.mjs +118 -0
- package/dist/components/ThemeController/ThemeController.cjs +1 -0
- package/dist/components/ThemeController/ThemeController.mjs +389 -0
- package/dist/components/Toast/Toast.cjs +1 -0
- package/dist/components/Toast/Toast.mjs +225 -0
- package/dist/components/Toggle/Toggle.cjs +1 -0
- package/dist/components/Toggle/Toggle.mjs +48 -0
- package/dist/components/ToggleGroup/ToggleGroup.cjs +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.mjs +101 -0
- package/dist/components/Tooltip/Tooltip.cjs +1 -0
- package/dist/components/Tooltip/Tooltip.mjs +39 -0
- package/dist/components/UserMenu/UserMenu.cjs +1 -0
- package/dist/components/UserMenu/UserMenu.mjs +161 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.cjs +1 -0
- package/dist/components/WorkspaceSwitcher/WorkspaceSwitcher.mjs +119 -0
- package/dist/contexts/ThemeContext.cjs +38 -0
- package/dist/contexts/ThemeContext.mjs +98 -0
- package/dist/dist/components/Carousel/Carousel.module.css.cjs +1 -0
- package/dist/dist/components/Carousel/Carousel.module.css.mjs +60 -0
- package/dist/dist/components/Carousel/CarouselCard.cjs +1 -0
- package/dist/dist/components/Carousel/CarouselCard.mjs +38 -0
- package/dist/examples/LandingPage.example.cjs +1 -0
- package/dist/examples/LandingPage.example.mjs +106 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +95 -95
- package/dist/sections/Container/Container.cjs +1 -0
- package/dist/sections/Container/Container.mjs +26 -0
- package/dist/sections/Section/Section.cjs +1 -0
- package/dist/sections/Section/Section.mjs +36 -0
- package/dist/templates/index.cjs +1 -0
- package/dist/templates/index.d.ts +1 -0
- package/dist/templates/index.mjs +1 -0
- package/dist/tokens/utils.cjs +1 -0
- package/dist/tokens/utils.mjs +33 -0
- package/package.json +13 -2
- package/dist/index10.cjs +0 -1
- package/dist/index10.mjs +0 -58
- package/dist/index11.cjs +0 -1
- package/dist/index11.mjs +0 -20
- package/dist/index12.cjs +0 -1
- package/dist/index12.mjs +0 -107
- package/dist/index13.cjs +0 -1
- package/dist/index13.mjs +0 -84
- package/dist/index14.cjs +0 -1
- package/dist/index14.mjs +0 -71
- package/dist/index15.cjs +0 -1
- package/dist/index15.mjs +0 -135
- package/dist/index159.cjs +0 -1
- package/dist/index159.mjs +0 -36
- package/dist/index16.cjs +0 -1
- package/dist/index16.mjs +0 -106
- package/dist/index160.cjs +0 -1
- package/dist/index160.mjs +0 -46
- package/dist/index161.cjs +0 -1
- package/dist/index161.mjs +0 -173
- package/dist/index162.cjs +0 -1
- package/dist/index162.mjs +0 -188
- package/dist/index163.cjs +0 -1
- package/dist/index163.mjs +0 -31
- package/dist/index164.cjs +0 -1
- package/dist/index164.mjs +0 -93
- package/dist/index165.cjs +0 -1
- package/dist/index165.mjs +0 -55
- package/dist/index166.cjs +0 -1
- package/dist/index166.mjs +0 -69
- package/dist/index167.cjs +0 -1
- package/dist/index167.mjs +0 -127
- package/dist/index168.cjs +0 -1
- package/dist/index168.mjs +0 -111
- package/dist/index169.cjs +0 -1
- package/dist/index169.mjs +0 -114
- package/dist/index17.cjs +0 -1
- package/dist/index17.mjs +0 -178
- package/dist/index170.cjs +0 -1
- package/dist/index170.mjs +0 -125
- package/dist/index171.cjs +0 -1
- package/dist/index171.mjs +0 -217
- package/dist/index18.cjs +0 -1
- package/dist/index18.mjs +0 -38
- package/dist/index185.cjs +0 -1
- package/dist/index185.mjs +0 -57
- package/dist/index19.cjs +0 -1
- package/dist/index19.mjs +0 -103
- package/dist/index20.cjs +0 -1
- package/dist/index20.mjs +0 -56
- package/dist/index21.cjs +0 -1
- package/dist/index21.mjs +0 -84
- package/dist/index22.cjs +0 -1
- package/dist/index22.mjs +0 -86
- package/dist/index23.cjs +0 -6
- package/dist/index23.mjs +0 -255
- package/dist/index24.cjs +0 -1
- package/dist/index24.mjs +0 -114
- package/dist/index25.cjs +0 -1
- package/dist/index25.mjs +0 -196
- package/dist/index26.cjs +0 -1
- package/dist/index26.mjs +0 -271
- package/dist/index27.cjs +0 -1
- package/dist/index27.mjs +0 -248
- package/dist/index28.cjs +0 -1
- package/dist/index28.mjs +0 -193
- package/dist/index29.cjs +0 -1
- package/dist/index29.mjs +0 -26
- package/dist/index3.cjs +0 -1
- package/dist/index3.mjs +0 -600
- package/dist/index30.cjs +0 -1
- package/dist/index30.mjs +0 -339
- package/dist/index31.cjs +0 -1
- package/dist/index31.mjs +0 -104
- package/dist/index32.cjs +0 -1
- package/dist/index32.mjs +0 -103
- package/dist/index33.cjs +0 -1
- package/dist/index33.mjs +0 -48
- package/dist/index34.cjs +0 -1
- package/dist/index34.mjs +0 -132
- package/dist/index35.cjs +0 -1
- package/dist/index35.mjs +0 -176
- package/dist/index36.cjs +0 -1
- package/dist/index36.mjs +0 -30
- package/dist/index37.cjs +0 -1
- package/dist/index37.mjs +0 -43
- package/dist/index38.cjs +0 -1
- package/dist/index38.mjs +0 -107
- package/dist/index39.cjs +0 -1
- package/dist/index39.mjs +0 -202
- package/dist/index40.cjs +0 -1
- package/dist/index40.mjs +0 -164
- package/dist/index41.cjs +0 -1
- package/dist/index41.mjs +0 -47
- package/dist/index42.cjs +0 -1
- package/dist/index42.mjs +0 -84
- package/dist/index43.cjs +0 -1
- package/dist/index43.mjs +0 -54
- package/dist/index44.cjs +0 -3
- package/dist/index44.mjs +0 -205
- package/dist/index46.cjs +0 -1
- package/dist/index46.mjs +0 -143
- package/dist/index47.cjs +0 -1
- package/dist/index47.mjs +0 -190
- package/dist/index48.cjs +0 -1
- package/dist/index48.mjs +0 -106
- package/dist/index49.cjs +0 -1
- package/dist/index49.mjs +0 -82
- package/dist/index5.cjs +0 -1
- package/dist/index5.mjs +0 -94
- package/dist/index50.cjs +0 -1
- package/dist/index50.mjs +0 -95
- package/dist/index51.cjs +0 -1
- package/dist/index51.mjs +0 -125
- package/dist/index52.cjs +0 -1
- package/dist/index52.mjs +0 -72
- package/dist/index53.cjs +0 -1
- package/dist/index53.mjs +0 -273
- package/dist/index54.cjs +0 -1
- package/dist/index54.mjs +0 -129
- package/dist/index55.cjs +0 -1
- package/dist/index55.mjs +0 -172
- package/dist/index56.cjs +0 -1
- package/dist/index56.mjs +0 -105
- package/dist/index57.cjs +0 -1
- package/dist/index57.mjs +0 -136
- package/dist/index58.cjs +0 -1
- package/dist/index58.mjs +0 -191
- package/dist/index59.cjs +0 -1
- package/dist/index59.mjs +0 -54
- package/dist/index6.cjs +0 -1
- package/dist/index6.mjs +0 -128
- package/dist/index60.cjs +0 -1
- package/dist/index60.mjs +0 -148
- package/dist/index61.cjs +0 -1
- package/dist/index61.mjs +0 -76
- package/dist/index62.cjs +0 -1
- package/dist/index62.mjs +0 -87
- package/dist/index63.cjs +0 -1
- package/dist/index63.mjs +0 -36
- package/dist/index64.cjs +0 -1
- package/dist/index64.mjs +0 -78
- package/dist/index65.cjs +0 -1
- package/dist/index65.mjs +0 -153
- package/dist/index66.cjs +0 -1
- package/dist/index66.mjs +0 -54
- package/dist/index67.cjs +0 -1
- package/dist/index67.mjs +0 -109
- package/dist/index68.cjs +0 -1
- package/dist/index68.mjs +0 -28
- package/dist/index69.cjs +0 -1
- package/dist/index69.mjs +0 -133
- package/dist/index7.cjs +0 -1
- package/dist/index7.mjs +0 -120
- package/dist/index70.cjs +0 -1
- package/dist/index70.mjs +0 -80
- package/dist/index71.cjs +0 -1
- package/dist/index71.mjs +0 -101
- package/dist/index72.cjs +0 -1
- package/dist/index72.mjs +0 -97
- package/dist/index73.cjs +0 -1
- package/dist/index73.mjs +0 -118
- package/dist/index74.cjs +0 -1
- package/dist/index74.mjs +0 -389
- package/dist/index75.cjs +0 -38
- package/dist/index75.mjs +0 -98
- package/dist/index76.cjs +0 -1
- package/dist/index76.mjs +0 -225
- package/dist/index77.cjs +0 -1
- package/dist/index77.mjs +0 -48
- package/dist/index78.cjs +0 -1
- package/dist/index78.mjs +0 -101
- package/dist/index79.cjs +0 -1
- package/dist/index79.mjs +0 -39
- package/dist/index8.cjs +0 -1
- package/dist/index8.mjs +0 -51
- package/dist/index80.cjs +0 -1
- package/dist/index80.mjs +0 -161
- package/dist/index81.cjs +0 -1
- package/dist/index81.mjs +0 -119
- package/dist/index82.cjs +0 -1
- package/dist/index82.mjs +0 -33
- package/dist/index9.cjs +0 -1
- package/dist/index9.mjs +0 -91
- /package/dist/{index181.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index136.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index136.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index147.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index139.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index139.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index111.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index111.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index106.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index106.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index179.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index179.mjs → components/Badge/Badge.module.css.mjs} +0 -0
- /package/dist/{index141.cjs → components/Banner/Banner.module.css.cjs} +0 -0
- /package/dist/{index141.mjs → components/Banner/Banner.module.css.mjs} +0 -0
- /package/dist/{index178.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index178.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index119.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index119.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index102.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index102.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index123.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index123.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index129.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index129.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index128.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index128.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index127.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index127.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index158.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index158.mjs → components/Chat/Chat.module.css.mjs} +0 -0
- /package/dist/{index84.cjs → components/Chat/hooks/useAutoScroll.cjs} +0 -0
- /package/dist/{index84.mjs → components/Chat/hooks/useAutoScroll.mjs} +0 -0
- /package/dist/{index85.cjs → components/Chat/hooks/useChatInput.cjs} +0 -0
- /package/dist/{index85.mjs → components/Chat/hooks/useChatInput.mjs} +0 -0
- /package/dist/{index93.cjs → components/Chat/hooks/useStreamingText.cjs} +0 -0
- /package/dist/{index93.mjs → components/Chat/hooks/useStreamingText.mjs} +0 -0
- /package/dist/{index95.cjs → components/Chat/hooks/useVoiceRecorder.cjs} +0 -0
- /package/dist/{index95.mjs → components/Chat/hooks/useVoiceRecorder.mjs} +0 -0
- /package/dist/{index184.cjs → components/Chat/utils.cjs} +0 -0
- /package/dist/{index184.mjs → components/Chat/utils.mjs} +0 -0
- /package/dist/{index153.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index153.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index117.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index117.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index145.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index145.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index122.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index122.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index157.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index157.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index124.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index124.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index120.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index120.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index152.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index152.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index133.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index133.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index113.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index113.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index125.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index125.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index150.mjs → components/Divider/Divider.module.css.mjs} +0 -0
- /package/dist/{index146.cjs → components/Drawer/Drawer.module.css.cjs} +0 -0
- /package/dist/{index146.mjs → components/Drawer/Drawer.module.css.mjs} +0 -0
- /package/dist/{index131.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index131.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index140.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index140.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index116.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index116.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index149.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index137.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index137.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index132.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index132.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index155.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index155.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index110.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index110.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index112.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index112.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index156.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index156.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index121.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index121.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index142.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index142.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index138.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index138.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index114.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index114.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index108.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index108.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index134.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index134.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index143.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index143.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index135.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index135.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index103.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index103.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index105.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index105.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index173.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index130.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index130.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index99.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index99.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index115.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index115.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index118.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index118.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index126.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index126.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index144.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index144.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index109.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index109.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index104.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index104.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index100.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index100.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index101.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index101.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index107.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index107.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index154.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index154.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.mjs} +0 -0
- /package/dist/{index86.cjs → hooks/useClickOutside.cjs} +0 -0
- /package/dist/{index86.mjs → hooks/useClickOutside.mjs} +0 -0
- /package/dist/{index87.cjs → hooks/useCopyToClipboard.cjs} +0 -0
- /package/dist/{index87.mjs → hooks/useCopyToClipboard.mjs} +0 -0
- /package/dist/{index88.cjs → hooks/useDebounce.cjs} +0 -0
- /package/dist/{index88.mjs → hooks/useDebounce.mjs} +0 -0
- /package/dist/{index89.cjs → hooks/useDisclosure.cjs} +0 -0
- /package/dist/{index89.mjs → hooks/useDisclosure.mjs} +0 -0
- /package/dist/{index91.cjs → hooks/useKeyboard.cjs} +0 -0
- /package/dist/{index91.mjs → hooks/useKeyboard.mjs} +0 -0
- /package/dist/{index92.cjs → hooks/useLocalStorage.cjs} +0 -0
- /package/dist/{index92.mjs → hooks/useLocalStorage.mjs} +0 -0
- /package/dist/{index90.cjs → hooks/useMediaQuery.cjs} +0 -0
- /package/dist/{index90.mjs → hooks/useMediaQuery.mjs} +0 -0
- /package/dist/{index94.cjs → hooks/useTheme.cjs} +0 -0
- /package/dist/{index94.mjs → hooks/useTheme.mjs} +0 -0
- /package/dist/{index182.cjs → sections/Container/Container.module.css.cjs} +0 -0
- /package/dist/{index182.mjs → sections/Container/Container.module.css.mjs} +0 -0
- /package/dist/{index183.cjs → sections/Section/Section.module.css.cjs} +0 -0
- /package/dist/{index183.mjs → sections/Section/Section.module.css.mjs} +0 -0
- /package/dist/{index98.cjs → tokens/brands.cjs} +0 -0
- /package/dist/{index98.mjs → tokens/brands.mjs} +0 -0
- /package/dist/{index83.cjs → tokens/primitives.cjs} +0 -0
- /package/dist/{index83.mjs → tokens/primitives.mjs} +0 -0
- /package/dist/{index97.cjs → tokens/themes.cjs} +0 -0
- /package/dist/{index97.mjs → tokens/themes.mjs} +0 -0
- /package/dist/{index4.cjs → utils/fonts.cjs} +0 -0
- /package/dist/{index4.mjs → utils/fonts.mjs} +0 -0
- /package/dist/{index45.cjs → utils/icons.cjs} +0 -0
- /package/dist/{index45.mjs → utils/icons.mjs} +0 -0
- /package/dist/{index96.cjs → utils/validation.cjs} +0 -0
- /package/dist/{index96.mjs → utils/validation.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("./Card.module.css.cjs"),x=e=>({top:o.default.gradientTop,center:o.default.gradientCenter,bottom:o.default.gradientBottom})[e]||o.default.gradientBottom,r=({variant:e="base",interactive:a=!1,imageUrl:t,imagePosition:s="bottom",aspectRatio:y="16/9",className:I,children:l,style:i,...d})=>{const c=e==="outlined"?"base":e;process.env.NODE_ENV!=="production"&&e==="outlined"&&console.warn('[Orion] Card variant="outlined" is deprecated. Use variant="base" instead. It will be removed in the next major version.');const m=c==="image",u=[o.default.card,o.default[c],a&&o.default.interactive,I].filter(Boolean).join(" "),B=m?{...i,backgroundImage:t?`url(${t})`:void 0,aspectRatio:y}:i;return m?n.jsx("div",{className:u,style:B,...d,children:n.jsx("div",{className:`${o.default.imageOverlay} ${x(s)}`,children:l})}):n.jsx("div",{className:u,style:i,...d,children:l})},f=({className:e,children:a,...t})=>{const s=[o.default.header,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},N=({className:e,children:a,...t})=>{const s=[o.default.body,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},g=({className:e,children:a,...t})=>{const s=[o.default.footer,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},p=({className:e,children:a,...t})=>{const s=[o.default.imageContent,e].filter(Boolean).join(" ");return n.jsx("div",{className:s,...t,children:a})},j=({className:e,children:a,...t})=>{const s=[o.default.imageTitle,e].filter(Boolean).join(" ");return n.jsx("h3",{className:s,...t,children:a})},C=({className:e,children:a,...t})=>{const s=[o.default.imageDescription,e].filter(Boolean).join(" ");return n.jsx("p",{className:s,...t,children:a})},v=({className:e,children:a,...t})=>{const s=[o.default.imageMeta,e].filter(Boolean).join(" ");return n.jsx("span",{className:s,...t,children:a})};r.Header=f;r.Body=N;r.Footer=g;r.ImageContent=p;r.ImageTitle=j;r.ImageDescription=C;r.ImageMeta=v;r.displayName="Card";f.displayName="Card.Header";N.displayName="Card.Body";g.displayName="Card.Footer";p.displayName="Card.ImageContent";j.displayName="Card.ImageTitle";C.displayName="Card.ImageDescription";v.displayName="Card.ImageMeta";exports.Card=r;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import s from "./Card.module.css.mjs";
|
|
3
|
+
const b = (e) => ({
|
|
4
|
+
top: s.gradientTop,
|
|
5
|
+
center: s.gradientCenter,
|
|
6
|
+
bottom: s.gradientBottom
|
|
7
|
+
})[e] || s.gradientBottom, r = ({
|
|
8
|
+
variant: e = "base",
|
|
9
|
+
interactive: a = !1,
|
|
10
|
+
imageUrl: t,
|
|
11
|
+
imagePosition: o = "bottom",
|
|
12
|
+
aspectRatio: y = "16/9",
|
|
13
|
+
className: B,
|
|
14
|
+
children: l,
|
|
15
|
+
style: i,
|
|
16
|
+
...m
|
|
17
|
+
}) => {
|
|
18
|
+
const d = e === "outlined" ? "base" : e;
|
|
19
|
+
process.env.NODE_ENV !== "production" && e === "outlined" && console.warn(
|
|
20
|
+
'[Orion] Card variant="outlined" is deprecated. Use variant="base" instead. It will be removed in the next major version.'
|
|
21
|
+
);
|
|
22
|
+
const c = d === "image", N = [
|
|
23
|
+
s.card,
|
|
24
|
+
s[d],
|
|
25
|
+
a && s.interactive,
|
|
26
|
+
B
|
|
27
|
+
].filter(Boolean).join(" "), j = c ? {
|
|
28
|
+
...i,
|
|
29
|
+
backgroundImage: t ? `url(${t})` : void 0,
|
|
30
|
+
aspectRatio: y
|
|
31
|
+
} : i;
|
|
32
|
+
return c ? /* @__PURE__ */ n("div", { className: N, style: j, ...m, children: /* @__PURE__ */ n(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: `${s.imageOverlay} ${b(o)}`,
|
|
36
|
+
children: l
|
|
37
|
+
}
|
|
38
|
+
) }) : /* @__PURE__ */ n("div", { className: N, style: i, ...m, children: l });
|
|
39
|
+
}, g = ({
|
|
40
|
+
className: e,
|
|
41
|
+
children: a,
|
|
42
|
+
...t
|
|
43
|
+
}) => {
|
|
44
|
+
const o = [s.header, e].filter(Boolean).join(" ");
|
|
45
|
+
return /* @__PURE__ */ n("div", { className: o, ...t, children: a });
|
|
46
|
+
}, p = ({
|
|
47
|
+
className: e,
|
|
48
|
+
children: a,
|
|
49
|
+
...t
|
|
50
|
+
}) => {
|
|
51
|
+
const o = [s.body, e].filter(Boolean).join(" ");
|
|
52
|
+
return /* @__PURE__ */ n("div", { className: o, ...t, children: a });
|
|
53
|
+
}, C = ({
|
|
54
|
+
className: e,
|
|
55
|
+
children: a,
|
|
56
|
+
...t
|
|
57
|
+
}) => {
|
|
58
|
+
const o = [s.footer, e].filter(Boolean).join(" ");
|
|
59
|
+
return /* @__PURE__ */ n("div", { className: o, ...t, children: a });
|
|
60
|
+
}, u = ({
|
|
61
|
+
className: e,
|
|
62
|
+
children: a,
|
|
63
|
+
...t
|
|
64
|
+
}) => {
|
|
65
|
+
const o = [s.imageContent, e].filter(Boolean).join(" ");
|
|
66
|
+
return /* @__PURE__ */ n("div", { className: o, ...t, children: a });
|
|
67
|
+
}, I = ({
|
|
68
|
+
className: e,
|
|
69
|
+
children: a,
|
|
70
|
+
...t
|
|
71
|
+
}) => {
|
|
72
|
+
const o = [s.imageTitle, e].filter(Boolean).join(" ");
|
|
73
|
+
return /* @__PURE__ */ n("h3", { className: o, ...t, children: a });
|
|
74
|
+
}, f = ({
|
|
75
|
+
className: e,
|
|
76
|
+
children: a,
|
|
77
|
+
...t
|
|
78
|
+
}) => {
|
|
79
|
+
const o = [s.imageDescription, e].filter(Boolean).join(" ");
|
|
80
|
+
return /* @__PURE__ */ n("p", { className: o, ...t, children: a });
|
|
81
|
+
}, v = ({
|
|
82
|
+
className: e,
|
|
83
|
+
children: a,
|
|
84
|
+
...t
|
|
85
|
+
}) => {
|
|
86
|
+
const o = [s.imageMeta, e].filter(Boolean).join(" ");
|
|
87
|
+
return /* @__PURE__ */ n("span", { className: o, ...t, children: a });
|
|
88
|
+
};
|
|
89
|
+
r.Header = g;
|
|
90
|
+
r.Body = p;
|
|
91
|
+
r.Footer = C;
|
|
92
|
+
r.ImageContent = u;
|
|
93
|
+
r.ImageTitle = I;
|
|
94
|
+
r.ImageDescription = f;
|
|
95
|
+
r.ImageMeta = v;
|
|
96
|
+
r.displayName = "Card";
|
|
97
|
+
g.displayName = "Card.Header";
|
|
98
|
+
p.displayName = "Card.Body";
|
|
99
|
+
C.displayName = "Card.Footer";
|
|
100
|
+
u.displayName = "Card.ImageContent";
|
|
101
|
+
I.displayName = "Card.ImageTitle";
|
|
102
|
+
f.displayName = "Card.ImageDescription";
|
|
103
|
+
v.displayName = "Card.ImageMeta";
|
|
104
|
+
export {
|
|
105
|
+
r as Card
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("react"),tt=require("./CarouselCard.cjs"),q=require("lucide-react"),p=require("../../tokens/primitives.cjs"),r=require("./Carousel.module.css.cjs"),et=parseInt(p.spacing[6],10),rt=parseInt(p.spacing[4],10),st=parseInt(p.spacing[6],10),lt=parseInt(p.spacing[8],10),T=l.forwardRef(({items:n,variant:_="editorial",aspectRatio:B="16/9",peek:D=!0,autoScroll:R=!1,autoScrollInterval:j=5e3,gap:i="md",align:I="edge",alignOffset:S,showNavigation:$=!0,showPagination:w=!1,onSlideChange:W,renderNavigation:N,highlightActive:y=!1,loop:x=!1,className:z,...H},F)=>{const s=l.useRef(null),[K,J]=l.useState(!1),[Q,U]=l.useState(!0),[f,V]=l.useState(0),M=l.useRef(0),u=l.useCallback(()=>i==="sm"?rt:i==="lg"?lt:st,[i]),d=l.useCallback(t=>{const e=t.children[0];return e?e.offsetWidth:0},[]),v=l.useCallback(()=>{if(!s.current)return;const{scrollLeft:t,scrollWidth:e,clientWidth:c}=s.current,h=d(s.current),g=u(),b=t>=e-c-1,m=t<=1;J(!m),U(!b);let o;if(b)o=n.length-1;else{const L=Math.round(t/(h+g));o=Math.min(Math.max(0,L),n.length-1)}o!==M.current&&(M.current=o,V(o),W?.(o))},[i,n.length,W,u,d]),C=l.useCallback(t=>{if(!s.current)return;const{scrollLeft:e,scrollWidth:c,clientWidth:h}=s.current,g=d(s.current),b=u(),m=g+b,o=e<=1,L=e>=c-h-1;if(x){if(t==="right"&&L){s.current.scrollTo({left:0,behavior:"smooth"});return}if(t==="left"&&o){s.current.scrollTo({left:c-h,behavior:"smooth"});return}}s.current.scrollBy({left:t==="left"?-m:m,behavior:"smooth"})},[i,x,u,d]),k=l.useCallback(t=>{if(!s.current)return;const e=d(s.current),c=u();s.current.scrollTo({left:t*(e+c),behavior:"smooth"})},[u,d]);l.useEffect(()=>{const t=s.current;if(t)return v(),t.addEventListener("scroll",v),()=>{t.removeEventListener("scroll",v)}},[v]),l.useEffect(()=>{if(!R||n.length<=1)return;const t=setInterval(()=>{const e=(f+1)%n.length;k(e)},j);return()=>clearInterval(t)},[R,j,f,n.length,k]);const P=I==="container"&&S!==void 0,E=P?Math.max(0,S-et):0,X=i==="sm"?r.default.gapSm:i==="lg"?r.default.gapLg:r.default.gapMd,Y=I==="container"?r.default.trackContainer:r.default.trackEdge,Z=[r.default.carousel,D&&r.default.peek,y&&r.default.highlightActive,X,z].filter(Boolean).join(" "),O=[r.default.track,Y].filter(Boolean).join(" "),G=x&&n.length>1,A={canScrollLeft:G||K,canScrollRight:G||Q,scrollLeft:()=>C("left"),scrollRight:()=>C("right"),activeIndex:f,totalItems:n.length};return a.jsxs("div",{ref:F,className:Z,...H,children:[a.jsx("div",{ref:s,className:O,style:P?{scrollPaddingInlineStart:S}:void 0,role:"region","aria-label":"Carousel",children:n.map((t,e)=>{const c=e===0,g=e===f&&y;return a.jsx(tt.CarouselCard,{item:t,aspectRatio:B,variant:_,className:g?r.default.cardHighlighted:void 0,style:c&&E>0?{marginLeft:E}:void 0},t.title||e)})}),$&&n.length>1&&(N?N(A):a.jsxs("div",{className:r.default.navigation,children:[a.jsx("button",{type:"button",className:r.default.navButton,onClick:()=>C("left"),disabled:!A.canScrollLeft,"aria-label":"Previous",children:a.jsx(q.ChevronLeft,{size:24})}),a.jsx("button",{type:"button",className:r.default.navButton,onClick:()=>C("right"),disabled:!A.canScrollRight,"aria-label":"Next",children:a.jsx(q.ChevronRight,{size:24})})]})),w&&n.length>1&&a.jsx("div",{className:r.default.pagination,children:n.map((t,e)=>a.jsx("button",{type:"button",className:`${r.default.dot} ${e===f?r.default.dotActive:""}`,onClick:()=>k(e),"aria-label":`Go to slide ${e+1}`},e))})]})});T.displayName="Carousel";exports.Carousel=T;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { jsxs as _, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as et, useRef as j, useState as k, useCallback as f, useEffect as D } from "react";
|
|
3
|
+
import { CarouselCard as nt } from "./CarouselCard.mjs";
|
|
4
|
+
import { ChevronLeft as ot, ChevronRight as st } from "lucide-react";
|
|
5
|
+
import { spacing as b } from "../../tokens/primitives.mjs";
|
|
6
|
+
import e from "./Carousel.module.css.mjs";
|
|
7
|
+
const lt = parseInt(b[6], 10), ct = parseInt(b[4], 10), at = parseInt(b[6], 10), it = parseInt(b[8], 10), dt = et(
|
|
8
|
+
({
|
|
9
|
+
items: o,
|
|
10
|
+
variant: H = "editorial",
|
|
11
|
+
aspectRatio: $ = "16/9",
|
|
12
|
+
peek: w = !0,
|
|
13
|
+
autoScroll: N = !1,
|
|
14
|
+
autoScrollInterval: R = 5e3,
|
|
15
|
+
gap: a = "md",
|
|
16
|
+
align: x = "edge",
|
|
17
|
+
alignOffset: A,
|
|
18
|
+
showNavigation: z = !0,
|
|
19
|
+
showPagination: F = !1,
|
|
20
|
+
onSlideChange: y,
|
|
21
|
+
renderNavigation: M,
|
|
22
|
+
highlightActive: G = !1,
|
|
23
|
+
loop: L = !1,
|
|
24
|
+
className: K,
|
|
25
|
+
...q
|
|
26
|
+
}, J) => {
|
|
27
|
+
const n = j(null), [Q, U] = k(!1), [V, X] = k(!0), [h, Y] = k(0), P = j(0), i = f(() => a === "sm" ? ct : a === "lg" ? it : at, [a]), d = f((t) => {
|
|
28
|
+
const r = t.children[0];
|
|
29
|
+
return r ? r.offsetWidth : 0;
|
|
30
|
+
}, []), g = f(() => {
|
|
31
|
+
if (!n.current) return;
|
|
32
|
+
const { scrollLeft: t, scrollWidth: r, clientWidth: s } = n.current, u = d(n.current), v = i(), p = t >= r - s - 1, C = t <= 1;
|
|
33
|
+
U(!C), X(!p);
|
|
34
|
+
let l;
|
|
35
|
+
if (p)
|
|
36
|
+
l = o.length - 1;
|
|
37
|
+
else {
|
|
38
|
+
const W = Math.round(t / (u + v));
|
|
39
|
+
l = Math.min(Math.max(0, W), o.length - 1);
|
|
40
|
+
}
|
|
41
|
+
l !== P.current && (P.current = l, Y(l), y?.(l));
|
|
42
|
+
}, [a, o.length, y, i, d]), m = f(
|
|
43
|
+
(t) => {
|
|
44
|
+
if (!n.current) return;
|
|
45
|
+
const { scrollLeft: r, scrollWidth: s, clientWidth: u } = n.current, v = d(n.current), p = i(), C = v + p, l = r <= 1, W = r >= s - u - 1;
|
|
46
|
+
if (L) {
|
|
47
|
+
if (t === "right" && W) {
|
|
48
|
+
n.current.scrollTo({ left: 0, behavior: "smooth" });
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
if (t === "left" && l) {
|
|
52
|
+
n.current.scrollTo({
|
|
53
|
+
left: s - u,
|
|
54
|
+
behavior: "smooth"
|
|
55
|
+
});
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
n.current.scrollBy({
|
|
60
|
+
left: t === "left" ? -C : C,
|
|
61
|
+
behavior: "smooth"
|
|
62
|
+
});
|
|
63
|
+
},
|
|
64
|
+
[a, L, i, d]
|
|
65
|
+
), I = f(
|
|
66
|
+
(t) => {
|
|
67
|
+
if (!n.current) return;
|
|
68
|
+
const r = d(n.current), s = i();
|
|
69
|
+
n.current.scrollTo({
|
|
70
|
+
left: t * (r + s),
|
|
71
|
+
behavior: "smooth"
|
|
72
|
+
});
|
|
73
|
+
},
|
|
74
|
+
[i, d]
|
|
75
|
+
);
|
|
76
|
+
D(() => {
|
|
77
|
+
const t = n.current;
|
|
78
|
+
if (t)
|
|
79
|
+
return g(), t.addEventListener("scroll", g), () => {
|
|
80
|
+
t.removeEventListener("scroll", g);
|
|
81
|
+
};
|
|
82
|
+
}, [g]), D(() => {
|
|
83
|
+
if (!N || o.length <= 1) return;
|
|
84
|
+
const t = setInterval(() => {
|
|
85
|
+
const r = (h + 1) % o.length;
|
|
86
|
+
I(r);
|
|
87
|
+
}, R);
|
|
88
|
+
return () => clearInterval(t);
|
|
89
|
+
}, [
|
|
90
|
+
N,
|
|
91
|
+
R,
|
|
92
|
+
h,
|
|
93
|
+
o.length,
|
|
94
|
+
I
|
|
95
|
+
]);
|
|
96
|
+
const E = x === "container" && A !== void 0, B = E ? Math.max(0, A - lt) : 0, Z = a === "sm" ? e.gapSm : a === "lg" ? e.gapLg : e.gapMd, O = x === "container" ? e.trackContainer : e.trackEdge, tt = [
|
|
97
|
+
e.carousel,
|
|
98
|
+
w && e.peek,
|
|
99
|
+
G && e.highlightActive,
|
|
100
|
+
Z,
|
|
101
|
+
K
|
|
102
|
+
].filter(Boolean).join(" "), rt = [e.track, O].filter(Boolean).join(" "), T = L && o.length > 1, S = {
|
|
103
|
+
canScrollLeft: T || Q,
|
|
104
|
+
canScrollRight: T || V,
|
|
105
|
+
scrollLeft: () => m("left"),
|
|
106
|
+
scrollRight: () => m("right"),
|
|
107
|
+
activeIndex: h,
|
|
108
|
+
totalItems: o.length
|
|
109
|
+
};
|
|
110
|
+
return /* @__PURE__ */ _("div", { ref: J, className: tt, ...q, children: [
|
|
111
|
+
/* @__PURE__ */ c(
|
|
112
|
+
"div",
|
|
113
|
+
{
|
|
114
|
+
ref: n,
|
|
115
|
+
className: rt,
|
|
116
|
+
style: E ? { scrollPaddingInlineStart: A } : void 0,
|
|
117
|
+
role: "region",
|
|
118
|
+
"aria-label": "Carousel",
|
|
119
|
+
children: o.map((t, r) => {
|
|
120
|
+
const s = r === 0;
|
|
121
|
+
return /* @__PURE__ */ c(
|
|
122
|
+
nt,
|
|
123
|
+
{
|
|
124
|
+
item: t,
|
|
125
|
+
aspectRatio: $,
|
|
126
|
+
variant: H,
|
|
127
|
+
className: r === h && G ? e.cardHighlighted : void 0,
|
|
128
|
+
style: (
|
|
129
|
+
// First card gets extra margin for container alignment
|
|
130
|
+
s && B > 0 ? { marginLeft: B } : void 0
|
|
131
|
+
)
|
|
132
|
+
},
|
|
133
|
+
t.title || r
|
|
134
|
+
);
|
|
135
|
+
})
|
|
136
|
+
}
|
|
137
|
+
),
|
|
138
|
+
z && o.length > 1 && (M ? M(S) : /* @__PURE__ */ _("div", { className: e.navigation, children: [
|
|
139
|
+
/* @__PURE__ */ c(
|
|
140
|
+
"button",
|
|
141
|
+
{
|
|
142
|
+
type: "button",
|
|
143
|
+
className: e.navButton,
|
|
144
|
+
onClick: () => m("left"),
|
|
145
|
+
disabled: !S.canScrollLeft,
|
|
146
|
+
"aria-label": "Previous",
|
|
147
|
+
children: /* @__PURE__ */ c(ot, { size: 24 })
|
|
148
|
+
}
|
|
149
|
+
),
|
|
150
|
+
/* @__PURE__ */ c(
|
|
151
|
+
"button",
|
|
152
|
+
{
|
|
153
|
+
type: "button",
|
|
154
|
+
className: e.navButton,
|
|
155
|
+
onClick: () => m("right"),
|
|
156
|
+
disabled: !S.canScrollRight,
|
|
157
|
+
"aria-label": "Next",
|
|
158
|
+
children: /* @__PURE__ */ c(st, { size: 24 })
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
] })),
|
|
162
|
+
F && o.length > 1 && /* @__PURE__ */ c("div", { className: e.pagination, children: o.map((t, r) => /* @__PURE__ */ c(
|
|
163
|
+
"button",
|
|
164
|
+
{
|
|
165
|
+
type: "button",
|
|
166
|
+
className: `${e.dot} ${r === h ? e.dotActive : ""}`,
|
|
167
|
+
onClick: () => I(r),
|
|
168
|
+
"aria-label": `Go to slide ${r + 1}`
|
|
169
|
+
},
|
|
170
|
+
r
|
|
171
|
+
)) })
|
|
172
|
+
] });
|
|
173
|
+
}
|
|
174
|
+
);
|
|
175
|
+
dt.displayName = "Carousel";
|
|
176
|
+
export {
|
|
177
|
+
dt as Carousel
|
|
178
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),e=require("./Carousel.module.css.cjs"),d=({item:i,aspectRatio:c="16/9",variant:n="editorial",className:o,style:u,...m})=>{const{image:f,eyebrow:l,title:j,description:s,action:r,overlay:t="gradient"}=i,p=[e.default.card,e.default[`variant-${n}`],e.default[`aspect-${c.replace("/","-")}`],o].filter(Boolean).join(" ");return a.jsxs("article",{className:p,style:u,...m,children:[a.jsx("div",{className:e.default.imageWrapper,children:f}),t!=="none"&&a.jsx("div",{className:`${e.default.overlay} ${e.default[`overlay-${t}`]}`}),a.jsxs("div",{className:e.default.content,children:[l&&a.jsx("span",{className:e.default.eyebrow,children:l}),a.jsx("h3",{className:e.default.cardTitle,children:j}),s&&a.jsx("p",{className:e.default.cardDescription,children:s}),r&&a.jsx("div",{className:e.default.action,children:r})]})]})};d.displayName="CarouselCard";exports.CarouselCard=d;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import e from "./Carousel.module.css.mjs";
|
|
3
|
+
const y = ({
|
|
4
|
+
item: o,
|
|
5
|
+
aspectRatio: n = "16/9",
|
|
6
|
+
variant: t = "editorial",
|
|
7
|
+
className: d,
|
|
8
|
+
style: m,
|
|
9
|
+
...p
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
image: N,
|
|
13
|
+
eyebrow: r,
|
|
14
|
+
title: h,
|
|
15
|
+
description: s,
|
|
16
|
+
action: i,
|
|
17
|
+
overlay: c = "gradient"
|
|
18
|
+
} = o, v = [
|
|
19
|
+
e.card,
|
|
20
|
+
e[`variant-${t}`],
|
|
21
|
+
e[`aspect-${n.replace("/", "-")}`],
|
|
22
|
+
d
|
|
23
|
+
].filter(Boolean).join(" ");
|
|
24
|
+
return /* @__PURE__ */ l("article", { className: v, style: m, ...p, children: [
|
|
25
|
+
/* @__PURE__ */ a("div", { className: e.imageWrapper, children: N }),
|
|
26
|
+
c !== "none" && /* @__PURE__ */ a("div", { className: `${e.overlay} ${e[`overlay-${c}`]}` }),
|
|
27
|
+
/* @__PURE__ */ l("div", { className: e.content, children: [
|
|
28
|
+
r && /* @__PURE__ */ a("span", { className: e.eyebrow, children: r }),
|
|
29
|
+
/* @__PURE__ */ a("h3", { className: e.cardTitle, children: h }),
|
|
30
|
+
s && /* @__PURE__ */ a("p", { className: e.cardDescription, children: s }),
|
|
31
|
+
i && /* @__PURE__ */ a("div", { className: e.action, children: i })
|
|
32
|
+
] })
|
|
33
|
+
] });
|
|
34
|
+
};
|
|
35
|
+
y.displayName = "CarouselCard";
|
|
36
|
+
export {
|
|
37
|
+
y as CarouselCard
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("react"),p=require("recharts"),R=require("./useResolvedChartColors.cjs"),t=require("./Chart.module.css.cjs"),f=h.createContext({}),j=({config:s,children:o,className:a,style:n,...l})=>{const{resolvedConfig:r,resolvedColorVars:i}=R.useResolvedChartColors(s),d=[t.default.container,a].filter(Boolean).join(" ");return e.jsx(f.Provider,{value:r,children:e.jsx("div",{role:"figure",className:d,style:{...i,...n},...l,children:e.jsx(p.ResponsiveContainer,{width:"100%",height:"100%",children:o})})})};j.displayName="ChartContainer";const v=({active:s,payload:o,label:a,indicator:n="dot",hideLabel:l=!1,hideIndicator:r=!1,labelFormatter:i,formatter:d,className:u})=>{const L=h.useContext(f);if(!s||!o?.length)return null;const b=[t.default.tooltip,u].filter(Boolean).join(" "),g=i?i(String(a)):a,T={dot:t.default.tooltipDot,line:t.default.tooltipLine,dashed:t.default.tooltipDashed}[n];return e.jsxs("div",{className:b,children:[!l&&g&&e.jsx("div",{className:t.default.tooltipLabel,children:g}),e.jsx("div",{className:t.default.tooltipItems,children:o.map(c=>{const C=String(c.dataKey||c.name),m=L[C],q=m?.label||C,I=d?d(c.value,C):String(c.value),x=c.color||m?.color;return e.jsxs("div",{className:t.default.tooltipItem,children:[!r&&e.jsx("span",{className:T,style:{backgroundColor:x,borderColor:x}}),e.jsx("span",{className:t.default.tooltipName,children:q}),e.jsx("span",{className:t.default.tooltipValue,children:I})]},C)})})]})};v.displayName="ChartTooltipContent";const N=({payload:s,className:o})=>{const a=h.useContext(f);if(!s?.length)return null;const n=[t.default.legend,o].filter(Boolean).join(" ");return e.jsx("div",{className:n,children:s.map(l=>{const r=l.dataKey||l.value,i=a[r],d=i?.label||r,u=l.color||i?.color;return e.jsxs("div",{className:t.default.legendItem,children:[e.jsx("span",{className:t.default.legendDot,style:{backgroundColor:u}}),e.jsx("span",{children:d})]},r)})})};N.displayName="ChartLegendContent";const y=({id:s,color:o,startOpacity:a=.4,endOpacity:n=.05})=>e.jsxs("linearGradient",{id:s,x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"5%",stopColor:o,stopOpacity:a}),e.jsx("stop",{offset:"95%",stopColor:o,stopOpacity:n})]});y.displayName="ChartGradient";const S=p.Tooltip,G=p.Legend;exports.ChartContainer=j;exports.ChartGradient=y;exports.ChartLegend=G;exports.ChartLegendContent=N;exports.ChartTooltip=S;exports.ChartTooltipContent=v;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import { useContext as v, createContext as j } from "react";
|
|
3
|
+
import { Legend as I, Tooltip as K, ResponsiveContainer as T } from "recharts";
|
|
4
|
+
import { useResolvedChartColors as B } from "./useResolvedChartColors.mjs";
|
|
5
|
+
import o from "./Chart.module.css.mjs";
|
|
6
|
+
const h = j({}), D = ({
|
|
7
|
+
config: n,
|
|
8
|
+
children: e,
|
|
9
|
+
className: s,
|
|
10
|
+
style: l,
|
|
11
|
+
...a
|
|
12
|
+
}) => {
|
|
13
|
+
const { resolvedConfig: i, resolvedColorVars: r } = B(n), c = [o.container, s].filter(Boolean).join(" ");
|
|
14
|
+
return /* @__PURE__ */ t(h.Provider, { value: i, children: /* @__PURE__ */ t(
|
|
15
|
+
"div",
|
|
16
|
+
{
|
|
17
|
+
role: "figure",
|
|
18
|
+
className: c,
|
|
19
|
+
style: { ...r, ...l },
|
|
20
|
+
...a,
|
|
21
|
+
children: /* @__PURE__ */ t(T, { width: "100%", height: "100%", children: e })
|
|
22
|
+
}
|
|
23
|
+
) });
|
|
24
|
+
};
|
|
25
|
+
D.displayName = "ChartContainer";
|
|
26
|
+
const G = ({
|
|
27
|
+
active: n,
|
|
28
|
+
payload: e,
|
|
29
|
+
label: s,
|
|
30
|
+
indicator: l = "dot",
|
|
31
|
+
hideLabel: a = !1,
|
|
32
|
+
hideIndicator: i = !1,
|
|
33
|
+
labelFormatter: r,
|
|
34
|
+
formatter: c,
|
|
35
|
+
className: m
|
|
36
|
+
}) => {
|
|
37
|
+
const N = v(h);
|
|
38
|
+
if (!n || !e?.length) return null;
|
|
39
|
+
const y = [o.tooltip, m].filter(Boolean).join(" "), f = r ? r(String(s)) : s, L = {
|
|
40
|
+
dot: o.tooltipDot,
|
|
41
|
+
line: o.tooltipLine,
|
|
42
|
+
dashed: o.tooltipDashed
|
|
43
|
+
}[l];
|
|
44
|
+
return /* @__PURE__ */ C("div", { className: y, children: [
|
|
45
|
+
!a && f && /* @__PURE__ */ t("div", { className: o.tooltipLabel, children: f }),
|
|
46
|
+
/* @__PURE__ */ t("div", { className: o.tooltipItems, children: e.map((d) => {
|
|
47
|
+
const p = String(d.dataKey || d.name), g = N[p], x = g?.label || p, b = c ? c(d.value, p) : String(d.value), u = d.color || g?.color;
|
|
48
|
+
return /* @__PURE__ */ C("div", { className: o.tooltipItem, children: [
|
|
49
|
+
!i && /* @__PURE__ */ t(
|
|
50
|
+
"span",
|
|
51
|
+
{
|
|
52
|
+
className: L,
|
|
53
|
+
style: { backgroundColor: u, borderColor: u }
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ t("span", { className: o.tooltipName, children: x }),
|
|
57
|
+
/* @__PURE__ */ t("span", { className: o.tooltipValue, children: b })
|
|
58
|
+
] }, p);
|
|
59
|
+
}) })
|
|
60
|
+
] });
|
|
61
|
+
};
|
|
62
|
+
G.displayName = "ChartTooltipContent";
|
|
63
|
+
const S = ({
|
|
64
|
+
payload: n,
|
|
65
|
+
className: e
|
|
66
|
+
}) => {
|
|
67
|
+
const s = v(h);
|
|
68
|
+
if (!n?.length) return null;
|
|
69
|
+
const l = [o.legend, e].filter(Boolean).join(" ");
|
|
70
|
+
return /* @__PURE__ */ t("div", { className: l, children: n.map((a) => {
|
|
71
|
+
const i = a.dataKey || a.value, r = s[i], c = r?.label || i, m = a.color || r?.color;
|
|
72
|
+
return /* @__PURE__ */ C("div", { className: o.legendItem, children: [
|
|
73
|
+
/* @__PURE__ */ t(
|
|
74
|
+
"span",
|
|
75
|
+
{
|
|
76
|
+
className: o.legendDot,
|
|
77
|
+
style: { backgroundColor: m }
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
/* @__PURE__ */ t("span", { children: c })
|
|
81
|
+
] }, i);
|
|
82
|
+
}) });
|
|
83
|
+
};
|
|
84
|
+
S.displayName = "ChartLegendContent";
|
|
85
|
+
const V = ({
|
|
86
|
+
id: n,
|
|
87
|
+
color: e,
|
|
88
|
+
startOpacity: s = 0.4,
|
|
89
|
+
endOpacity: l = 0.05
|
|
90
|
+
}) => /* @__PURE__ */ C("linearGradient", { id: n, x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
91
|
+
/* @__PURE__ */ t("stop", { offset: "5%", stopColor: e, stopOpacity: s }),
|
|
92
|
+
/* @__PURE__ */ t("stop", { offset: "95%", stopColor: e, stopOpacity: l })
|
|
93
|
+
] });
|
|
94
|
+
V.displayName = "ChartGradient";
|
|
95
|
+
const q = K, z = I;
|
|
96
|
+
export {
|
|
97
|
+
D as ChartContainer,
|
|
98
|
+
V as ChartGradient,
|
|
99
|
+
z as ChartLegend,
|
|
100
|
+
S as ChartLegendContent,
|
|
101
|
+
q as ChartTooltip,
|
|
102
|
+
G as ChartTooltipContent
|
|
103
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),s=require("./Chat.module.css.cjs"),d=require("./components/ChatHeader.cjs"),h=require("./components/ChatMessages.cjs"),n=require("./components/ChatMessage.cjs"),C=require("./components/ChatInput.cjs"),c=require("./components/ChatTypingIndicator.cjs"),l=require("./components/ChatCodeBlock.cjs"),u=require("./components/ChatMarkdown.cjs"),p=require("./components/ChatImagePreview.cjs"),m=require("./components/ChatAudioPlayer.cjs"),y=require("./components/ChatVoiceRecorder.cjs"),g=require("./components/ChatFileUpload.cjs"),M=require("./components/ChatAttachment.cjs"),q=require("./components/ChatSidebar.cjs"),a=({children:t,className:r,...i})=>o.jsx("div",{className:[s.default.chat,r].filter(Boolean).join(" "),role:"region","aria-label":"Chat interface",...i,children:t});a.displayName="Chat";const e=a;e.Header=d.ChatHeader;e.Messages=h.ChatMessages;e.Message=n.ChatMessage;e.Input=C.ChatInput;e.TypingIndicator=c.ChatTypingIndicator;e.CodeBlock=l.ChatCodeBlock;e.Markdown=u.ChatMarkdown;e.ImagePreview=p.ChatImagePreview;e.AudioPlayer=m.ChatAudioPlayer;e.VoiceRecorder=y.ChatVoiceRecorder;e.FileUpload=g.ChatFileUpload;e.Attachment=M.ChatAttachment;e.Sidebar=q.ChatSidebar;e.Header.displayName="Chat.Header";e.Messages.displayName="Chat.Messages";e.Message.displayName="Chat.Message";e.Input.displayName="Chat.Input";e.TypingIndicator.displayName="Chat.TypingIndicator";e.CodeBlock.displayName="Chat.CodeBlock";e.Markdown.displayName="Chat.Markdown";e.ImagePreview.displayName="Chat.ImagePreview";e.AudioPlayer.displayName="Chat.AudioPlayer";e.VoiceRecorder.displayName="Chat.VoiceRecorder";e.FileUpload.displayName="Chat.FileUpload";e.Attachment.displayName="Chat.Attachment";e.Sidebar.displayName="Chat.Sidebar";exports.Chat=e;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import m from "./Chat.module.css.mjs";
|
|
3
|
+
import { ChatHeader as d } from "./components/ChatHeader.mjs";
|
|
4
|
+
import { ChatMessages as p } from "./components/ChatMessages.mjs";
|
|
5
|
+
import { ChatMessage as s } from "./components/ChatMessage.mjs";
|
|
6
|
+
import { ChatInput as l } from "./components/ChatInput.mjs";
|
|
7
|
+
import { ChatTypingIndicator as h } from "./components/ChatTypingIndicator.mjs";
|
|
8
|
+
import { ChatCodeBlock as C } from "./components/ChatCodeBlock.mjs";
|
|
9
|
+
import { ChatMarkdown as n } from "./components/ChatMarkdown.mjs";
|
|
10
|
+
import { ChatImagePreview as c } from "./components/ChatImagePreview.mjs";
|
|
11
|
+
import { ChatAudioPlayer as y } from "./components/ChatAudioPlayer.mjs";
|
|
12
|
+
import { ChatVoiceRecorder as f } from "./components/ChatVoiceRecorder.mjs";
|
|
13
|
+
import { ChatFileUpload as g } from "./components/ChatFileUpload.mjs";
|
|
14
|
+
import { ChatAttachment as N } from "./components/ChatAttachment.mjs";
|
|
15
|
+
import { ChatSidebar as I } from "./components/ChatSidebar.mjs";
|
|
16
|
+
const e = ({ children: t, className: o, ...r }) => /* @__PURE__ */ i(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: [m.chat, o].filter(Boolean).join(" "),
|
|
20
|
+
role: "region",
|
|
21
|
+
"aria-label": "Chat interface",
|
|
22
|
+
...r,
|
|
23
|
+
children: t
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
e.displayName = "Chat";
|
|
27
|
+
const a = e;
|
|
28
|
+
a.Header = d;
|
|
29
|
+
a.Messages = p;
|
|
30
|
+
a.Message = s;
|
|
31
|
+
a.Input = l;
|
|
32
|
+
a.TypingIndicator = h;
|
|
33
|
+
a.CodeBlock = C;
|
|
34
|
+
a.Markdown = n;
|
|
35
|
+
a.ImagePreview = c;
|
|
36
|
+
a.AudioPlayer = y;
|
|
37
|
+
a.VoiceRecorder = f;
|
|
38
|
+
a.FileUpload = g;
|
|
39
|
+
a.Attachment = N;
|
|
40
|
+
a.Sidebar = I;
|
|
41
|
+
a.Header.displayName = "Chat.Header";
|
|
42
|
+
a.Messages.displayName = "Chat.Messages";
|
|
43
|
+
a.Message.displayName = "Chat.Message";
|
|
44
|
+
a.Input.displayName = "Chat.Input";
|
|
45
|
+
a.TypingIndicator.displayName = "Chat.TypingIndicator";
|
|
46
|
+
a.CodeBlock.displayName = "Chat.CodeBlock";
|
|
47
|
+
a.Markdown.displayName = "Chat.Markdown";
|
|
48
|
+
a.ImagePreview.displayName = "Chat.ImagePreview";
|
|
49
|
+
a.AudioPlayer.displayName = "Chat.AudioPlayer";
|
|
50
|
+
a.VoiceRecorder.displayName = "Chat.VoiceRecorder";
|
|
51
|
+
a.FileUpload.displayName = "Chat.FileUpload";
|
|
52
|
+
a.Attachment.displayName = "Chat.Attachment";
|
|
53
|
+
a.Sidebar.displayName = "Chat.Sidebar";
|
|
54
|
+
export {
|
|
55
|
+
a as Chat
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("lucide-react"),p=require("./ChatImagePreview.cjs"),P=require("./ChatAudioPlayer.cjs"),b=require("./ChatCodeBlock.cjs"),C=require("../utils.cjs"),t=require("../Chat.module.css.cjs"),w=d=>{switch(d){case"image":return e.jsx(a.Image,{size:18});case"audio":return e.jsx(a.Music,{size:18});case"code":return e.jsx(a.Code,{size:18});default:return e.jsx(a.FileText,{size:18})}},v=({attachment:d,removable:h=!1,onRemove:i,onClick:n,className:c,...o})=>{const{type:m,name:s,url:l,content:j,language:f,size:x,duration:u,thumbnail:g}=d;switch(m){case"image":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(p.ChatImagePreview,{src:l,alt:s,thumbnail:g,onClick:n}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,style:{position:"absolute",top:4,right:4,background:"var(--surface-base)"},children:e.jsx(a.X,{size:14})})]});break;case"audio":if(l)return e.jsxs("div",{className:c,style:{position:"relative"},...o,children:[e.jsx(P.ChatAudioPlayer,{src:l,duration:u,title:s}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]});break;case"code":if(j)return e.jsx(b.ChatCodeBlock,{code:j,language:f,className:c,...o});break}return e.jsxs("div",{className:[t.default.attachmentPreview,c].filter(Boolean).join(" "),onClick:n,role:n?"button":void 0,tabIndex:n?0:void 0,...o,children:[e.jsx("div",{className:t.default.attachmentPreviewIcon,children:w(m)}),e.jsxs("div",{className:t.default.attachmentPreviewInfo,children:[e.jsx("span",{className:t.default.attachmentPreviewName,children:s}),x&&e.jsxs("span",{className:t.default.attachmentPreviewMeta,children:[C.formatFileSize(x),u&&` · ${Math.floor(u/60)}:${(u%60).toString().padStart(2,"0")}`]})]}),h&&i&&e.jsx("button",{className:t.default.attachmentPreviewRemove,onClick:r=>{r.stopPropagation(),i()},"aria-label":`Remove ${s}`,children:e.jsx(a.X,{size:14})})]})};v.displayName="ChatAttachment";exports.ChatAttachment=v;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { X as u, FileText as P, Code as w, Music as z, Image as y } from "lucide-react";
|
|
3
|
+
import { ChatImagePreview as C } from "./ChatImagePreview.mjs";
|
|
4
|
+
import { ChatAudioPlayer as N } from "./ChatAudioPlayer.mjs";
|
|
5
|
+
import { ChatCodeBlock as I } from "./ChatCodeBlock.mjs";
|
|
6
|
+
import { formatFileSize as k } from "../utils.mjs";
|
|
7
|
+
import t from "../Chat.module.css.mjs";
|
|
8
|
+
const x = (d) => {
|
|
9
|
+
switch (d) {
|
|
10
|
+
case "image":
|
|
11
|
+
return /* @__PURE__ */ e(y, { size: 18 });
|
|
12
|
+
case "audio":
|
|
13
|
+
return /* @__PURE__ */ e(z, { size: 18 });
|
|
14
|
+
case "code":
|
|
15
|
+
return /* @__PURE__ */ e(w, { size: 18 });
|
|
16
|
+
default:
|
|
17
|
+
return /* @__PURE__ */ e(P, { size: 18 });
|
|
18
|
+
}
|
|
19
|
+
}, $ = ({
|
|
20
|
+
attachment: d,
|
|
21
|
+
removable: h = !1,
|
|
22
|
+
onRemove: a,
|
|
23
|
+
onClick: n,
|
|
24
|
+
className: s,
|
|
25
|
+
...c
|
|
26
|
+
}) => {
|
|
27
|
+
const { type: p, name: i, url: l, content: v, language: b, size: f, duration: m, thumbnail: g } = d;
|
|
28
|
+
switch (p) {
|
|
29
|
+
case "image":
|
|
30
|
+
if (l)
|
|
31
|
+
return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
|
|
32
|
+
/* @__PURE__ */ e(
|
|
33
|
+
C,
|
|
34
|
+
{
|
|
35
|
+
src: l,
|
|
36
|
+
alt: i,
|
|
37
|
+
thumbnail: g,
|
|
38
|
+
onClick: n
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
h && a && /* @__PURE__ */ e(
|
|
42
|
+
"button",
|
|
43
|
+
{
|
|
44
|
+
className: t.attachmentPreviewRemove,
|
|
45
|
+
onClick: (r) => {
|
|
46
|
+
r.stopPropagation(), a();
|
|
47
|
+
},
|
|
48
|
+
"aria-label": `Remove ${i}`,
|
|
49
|
+
style: {
|
|
50
|
+
position: "absolute",
|
|
51
|
+
top: 4,
|
|
52
|
+
right: 4,
|
|
53
|
+
background: "var(--surface-base)"
|
|
54
|
+
},
|
|
55
|
+
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
] });
|
|
59
|
+
break;
|
|
60
|
+
case "audio":
|
|
61
|
+
if (l)
|
|
62
|
+
return /* @__PURE__ */ o("div", { className: s, style: { position: "relative" }, ...c, children: [
|
|
63
|
+
/* @__PURE__ */ e(N, { src: l, duration: m, title: i }),
|
|
64
|
+
h && a && /* @__PURE__ */ e(
|
|
65
|
+
"button",
|
|
66
|
+
{
|
|
67
|
+
className: t.attachmentPreviewRemove,
|
|
68
|
+
onClick: (r) => {
|
|
69
|
+
r.stopPropagation(), a();
|
|
70
|
+
},
|
|
71
|
+
"aria-label": `Remove ${i}`,
|
|
72
|
+
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
] });
|
|
76
|
+
break;
|
|
77
|
+
case "code":
|
|
78
|
+
if (v)
|
|
79
|
+
return /* @__PURE__ */ e(
|
|
80
|
+
I,
|
|
81
|
+
{
|
|
82
|
+
code: v,
|
|
83
|
+
language: b,
|
|
84
|
+
className: s,
|
|
85
|
+
...c
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
return /* @__PURE__ */ o(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
className: [t.attachmentPreview, s].filter(Boolean).join(" "),
|
|
94
|
+
onClick: n,
|
|
95
|
+
role: n ? "button" : void 0,
|
|
96
|
+
tabIndex: n ? 0 : void 0,
|
|
97
|
+
...c,
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ e("div", { className: t.attachmentPreviewIcon, children: x(p) }),
|
|
100
|
+
/* @__PURE__ */ o("div", { className: t.attachmentPreviewInfo, children: [
|
|
101
|
+
/* @__PURE__ */ e("span", { className: t.attachmentPreviewName, children: i }),
|
|
102
|
+
f && /* @__PURE__ */ o("span", { className: t.attachmentPreviewMeta, children: [
|
|
103
|
+
k(f),
|
|
104
|
+
m && ` · ${Math.floor(m / 60)}:${(m % 60).toString().padStart(2, "0")}`
|
|
105
|
+
] })
|
|
106
|
+
] }),
|
|
107
|
+
h && a && /* @__PURE__ */ e(
|
|
108
|
+
"button",
|
|
109
|
+
{
|
|
110
|
+
className: t.attachmentPreviewRemove,
|
|
111
|
+
onClick: (r) => {
|
|
112
|
+
r.stopPropagation(), a();
|
|
113
|
+
},
|
|
114
|
+
"aria-label": `Remove ${i}`,
|
|
115
|
+
children: /* @__PURE__ */ e(u, { size: 14 })
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
);
|
|
121
|
+
};
|
|
122
|
+
$.displayName = "ChatAttachment";
|
|
123
|
+
export {
|
|
124
|
+
$ as ChatAttachment
|
|
125
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("react"),P=require("lucide-react"),m=require("../utils.cjs"),l=require("../Chat.module.css.cjs"),p=({src:k,duration:T,title:h,className:b,...x})=>{const[o,f]=r.useState(!1),[s,d]=r.useState(0),[a,g]=r.useState(T||0),n=r.useRef(null),j=r.useCallback(()=>{const e=n.current;e&&!isNaN(e.duration)&&isFinite(e.duration)&&g(e.duration)},[]),v=r.useCallback(()=>{const e=n.current;e&&d(e.currentTime)},[]),C=r.useCallback(()=>{f(!1),d(0)},[]),w=r.useCallback(()=>{const e=n.current;e&&(o?e.pause():e.play().catch(()=>{f(!1)}),f(!o))},[o]),N=r.useCallback(e=>{const c=n.current;if(!c||!a)return;const u=e.currentTarget.getBoundingClientRect(),y=(e.clientX-u.left)/u.width*a;c.currentTime=y,d(y)},[a]),A=r.useCallback(e=>{const c=n.current;if(!c||!a)return;const u=5;let i=s;switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),i=Math.min(s+u,a);break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),i=Math.max(s-u,0);break;case"Home":e.preventDefault(),i=0;break;case"End":e.preventDefault(),i=a;break;default:return}c.currentTime=i,d(i)},[s,a]),D=a>0?s/a*100:0;return r.useEffect(()=>()=>{const e=n.current;e&&e.pause()},[]),t.jsxs("div",{className:[l.default.audioPlayer,b].filter(Boolean).join(" "),...x,children:[t.jsx("audio",{ref:n,src:k,onLoadedMetadata:j,onTimeUpdate:v,onEnded:C,preload:"metadata"}),t.jsx("button",{className:l.default.audioPlayerButton,onClick:w,"aria-label":o?"Pause":"Play",children:o?t.jsx(P.Pause,{size:16}):t.jsx(P.Play,{size:16})}),t.jsxs("div",{className:l.default.audioPlayerProgress,children:[h&&t.jsx("span",{className:l.default.attachmentPreviewName,children:h}),t.jsx("div",{className:l.default.audioPlayerTrack,onClick:N,onKeyDown:A,role:"slider","aria-label":"Audio progress","aria-valuemin":0,"aria-valuemax":a,"aria-valuenow":s,"aria-valuetext":`${m.formatTime(s)} of ${m.formatTime(a)}`,tabIndex:0,children:t.jsx("div",{className:l.default.audioPlayerFill,style:{width:`${D}%`}})}),t.jsxs("div",{className:l.default.audioPlayerTime,children:[t.jsx("span",{children:m.formatTime(s)}),t.jsx("span",{children:m.formatTime(a)})]})]})]})};p.displayName="ChatAudioPlayer";exports.ChatAudioPlayer=p;
|