@orion-ds/react 4.2.13 → 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/index116.cjs +0 -1
- package/dist/index116.mjs +0 -36
- package/dist/index117.cjs +0 -1
- package/dist/index117.mjs +0 -46
- package/dist/index118.cjs +0 -1
- package/dist/index118.mjs +0 -173
- package/dist/index119.cjs +0 -1
- package/dist/index119.mjs +0 -188
- package/dist/index12.cjs +0 -1
- package/dist/index12.mjs +0 -107
- package/dist/index120.cjs +0 -1
- package/dist/index120.mjs +0 -31
- package/dist/index121.cjs +0 -1
- package/dist/index121.mjs +0 -93
- package/dist/index122.cjs +0 -1
- package/dist/index122.mjs +0 -55
- package/dist/index123.cjs +0 -1
- package/dist/index123.mjs +0 -69
- package/dist/index124.cjs +0 -1
- package/dist/index124.mjs +0 -127
- package/dist/index125.cjs +0 -1
- package/dist/index125.mjs +0 -111
- package/dist/index126.cjs +0 -1
- package/dist/index126.mjs +0 -114
- package/dist/index127.cjs +0 -1
- package/dist/index127.mjs +0 -125
- package/dist/index128.cjs +0 -1
- package/dist/index128.mjs +0 -217
- 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/index16.cjs +0 -1
- package/dist/index16.mjs +0 -106
- package/dist/index17.cjs +0 -1
- package/dist/index17.mjs +0 -178
- 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/{index112.cjs → components/Accordion/Accordion.module.css.cjs} +0 -0
- /package/dist/{index112.mjs → components/Accordion/Accordion.module.css.mjs} +0 -0
- /package/dist/{index130.cjs → components/ActivityFeed/ActivityFeed.module.css.cjs} +0 -0
- /package/dist/{index130.mjs → components/ActivityFeed/ActivityFeed.module.css.mjs} +0 -0
- /package/dist/{index105.cjs → components/AgentCard/AgentCard.module.css.cjs} +0 -0
- /package/dist/{index105.mjs → components/AgentCard/AgentCard.module.css.mjs} +0 -0
- /package/dist/{index140.cjs → components/Alert/Alert.module.css.cjs} +0 -0
- /package/dist/{index140.mjs → components/Alert/Alert.module.css.mjs} +0 -0
- /package/dist/{index100.cjs → components/AlertDialog/AlertDialog.module.css.cjs} +0 -0
- /package/dist/{index100.mjs → components/AlertDialog/AlertDialog.module.css.mjs} +0 -0
- /package/dist/{index131.cjs → components/Avatar/Avatar.module.css.cjs} +0 -0
- /package/dist/{index131.mjs → components/Avatar/Avatar.module.css.mjs} +0 -0
- /package/dist/{index144.cjs → components/Badge/Badge.module.css.cjs} +0 -0
- /package/dist/{index144.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/{index173.cjs → components/Breadcrumb/Breadcrumb.module.css.cjs} +0 -0
- /package/dist/{index173.mjs → components/Breadcrumb/Breadcrumb.module.css.mjs} +0 -0
- /package/dist/{index158.cjs → components/Button/Button.module.css.cjs} +0 -0
- /package/dist/{index158.mjs → components/Button/Button.module.css.mjs} +0 -0
- /package/dist/{index164.cjs → components/Calendar/Calendar.module.css.cjs} +0 -0
- /package/dist/{index164.mjs → components/Calendar/Calendar.module.css.mjs} +0 -0
- /package/dist/{index113.cjs → components/Card/Card.module.css.cjs} +0 -0
- /package/dist/{index113.mjs → components/Card/Card.module.css.mjs} +0 -0
- /package/dist/{index161.cjs → components/Carousel/Carousel.module.css.cjs} +0 -0
- /package/dist/{index161.mjs → components/Carousel/Carousel.module.css.mjs} +0 -0
- /package/dist/{index110.cjs → components/Chart/Chart.module.css.cjs} +0 -0
- /package/dist/{index110.mjs → components/Chart/Chart.module.css.mjs} +0 -0
- /package/dist/{index109.cjs → components/Chart/useResolvedChartColors.cjs} +0 -0
- /package/dist/{index109.mjs → components/Chart/useResolvedChartColors.mjs} +0 -0
- /package/dist/{index115.cjs → components/Chat/Chat.module.css.cjs} +0 -0
- /package/dist/{index115.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/{index178.cjs → components/Checkbox/Checkbox.module.css.cjs} +0 -0
- /package/dist/{index178.mjs → components/Checkbox/Checkbox.module.css.mjs} +0 -0
- /package/dist/{index156.cjs → components/Chip/Chip.module.css.cjs} +0 -0
- /package/dist/{index156.mjs → components/Chip/Chip.module.css.mjs} +0 -0
- /package/dist/{index138.cjs → components/CodeEditor/CodeEditor.module.css.cjs} +0 -0
- /package/dist/{index138.mjs → components/CodeEditor/CodeEditor.module.css.mjs} +0 -0
- /package/dist/{index160.cjs → components/Collapsible/Collapsible.module.css.cjs} +0 -0
- /package/dist/{index160.mjs → components/Collapsible/Collapsible.module.css.mjs} +0 -0
- /package/dist/{index177.cjs → components/CollapsibleFolder/CollapsibleFolder.module.css.cjs} +0 -0
- /package/dist/{index177.mjs → components/CollapsibleFolder/CollapsibleFolder.module.css.mjs} +0 -0
- /package/dist/{index104.cjs → components/Combobox/Combobox.module.css.cjs} +0 -0
- /package/dist/{index104.mjs → components/Combobox/Combobox.module.css.mjs} +0 -0
- /package/dist/{index172.cjs → components/Command/Command.module.css.cjs} +0 -0
- /package/dist/{index172.mjs → components/Command/Command.module.css.mjs} +0 -0
- /package/dist/{index102.cjs → components/CommandBar/CommandBar.module.css.cjs} +0 -0
- /package/dist/{index102.mjs → components/CommandBar/CommandBar.module.css.mjs} +0 -0
- /package/dist/{index129.cjs → components/DataTable/DataTable.module.css.cjs} +0 -0
- /package/dist/{index129.mjs → components/DataTable/DataTable.module.css.mjs} +0 -0
- /package/dist/{index107.cjs → components/DatePicker/DatePicker.module.css.cjs} +0 -0
- /package/dist/{index107.mjs → components/DatePicker/DatePicker.module.css.mjs} +0 -0
- /package/dist/{index154.cjs → components/DetailPanel/DetailPanel.module.css.cjs} +0 -0
- /package/dist/{index154.mjs → components/DetailPanel/DetailPanel.module.css.mjs} +0 -0
- /package/dist/{index114.cjs → components/Divider/Divider.module.css.cjs} +0 -0
- /package/dist/{index114.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/{index101.cjs → components/Dropdown/Dropdown.module.css.cjs} +0 -0
- /package/dist/{index101.mjs → components/Dropdown/Dropdown.module.css.mjs} +0 -0
- /package/dist/{index99.cjs → components/EmptyState/EmptyState.module.css.cjs} +0 -0
- /package/dist/{index99.mjs → components/EmptyState/EmptyState.module.css.mjs} +0 -0
- /package/dist/{index135.cjs → components/ErrorBoundary/ErrorBoundary.module.css.cjs} +0 -0
- /package/dist/{index135.mjs → components/ErrorBoundary/ErrorBoundary.module.css.mjs} +0 -0
- /package/dist/{index134.cjs → components/Field/Field.module.css.cjs} +0 -0
- /package/dist/{index134.mjs → components/Field/Field.module.css.mjs} +0 -0
- /package/dist/{index103.cjs → components/FileUploader/FileUploader.module.css.cjs} +0 -0
- /package/dist/{index103.mjs → components/FileUploader/FileUploader.module.css.mjs} +0 -0
- /package/dist/{index149.cjs → components/FilterBar/FilterBar.module.css.cjs} +0 -0
- /package/dist/{index149.mjs → components/FilterBar/FilterBar.module.css.mjs} +0 -0
- /package/dist/{index142.cjs → components/FormSection/FormSection.module.css.cjs} +0 -0
- /package/dist/{index142.mjs → components/FormSection/FormSection.module.css.mjs} +0 -0
- /package/dist/{index106.cjs → components/Icon/Icon.module.css.cjs} +0 -0
- /package/dist/{index106.mjs → components/Icon/Icon.module.css.mjs} +0 -0
- /package/dist/{index169.cjs → components/IconGallery/IconGallery.module.css.cjs} +0 -0
- /package/dist/{index169.mjs → components/IconGallery/IconGallery.module.css.mjs} +0 -0
- /package/dist/{index171.cjs → components/InputOTP/InputOTP.module.css.cjs} +0 -0
- /package/dist/{index171.mjs → components/InputOTP/InputOTP.module.css.mjs} +0 -0
- /package/dist/{index152.cjs → components/KanbanBoard/KanbanBoard.module.css.cjs} +0 -0
- /package/dist/{index152.mjs → components/KanbanBoard/KanbanBoard.module.css.mjs} +0 -0
- /package/dist/{index176.cjs → components/Link/Link.module.css.cjs} +0 -0
- /package/dist/{index176.mjs → components/Link/Link.module.css.mjs} +0 -0
- /package/dist/{index155.cjs → components/List/List.module.css.cjs} +0 -0
- /package/dist/{index155.mjs → components/List/List.module.css.mjs} +0 -0
- /package/dist/{index136.cjs → components/MetricCards/MetricCards.module.css.cjs} +0 -0
- /package/dist/{index136.mjs → components/MetricCards/MetricCards.module.css.mjs} +0 -0
- /package/dist/{index132.cjs → components/Modal/Modal.module.css.cjs} +0 -0
- /package/dist/{index132.mjs → components/Modal/Modal.module.css.mjs} +0 -0
- /package/dist/{index168.cjs → components/NavTree/NavTree.module.css.cjs} +0 -0
- /package/dist/{index168.mjs → components/NavTree/NavTree.module.css.mjs} +0 -0
- /package/dist/{index180.cjs → components/Navbar/Navbar.module.css.cjs} +0 -0
- /package/dist/{index180.mjs → components/Navbar/Navbar.module.css.mjs} +0 -0
- /package/dist/{index145.cjs → components/NotificationCenter/NotificationCenter.module.css.cjs} +0 -0
- /package/dist/{index145.mjs → components/NotificationCenter/NotificationCenter.module.css.mjs} +0 -0
- /package/dist/{index137.cjs → components/PageHeader/PageHeader.module.css.cjs} +0 -0
- /package/dist/{index137.mjs → components/PageHeader/PageHeader.module.css.mjs} +0 -0
- /package/dist/{index148.cjs → components/Pagination/Pagination.module.css.cjs} +0 -0
- /package/dist/{index148.mjs → components/Pagination/Pagination.module.css.mjs} +0 -0
- /package/dist/{index165.cjs → components/Popover/Popover.module.css.cjs} +0 -0
- /package/dist/{index165.mjs → components/Popover/Popover.module.css.mjs} +0 -0
- /package/dist/{index170.cjs → components/ProgressBar/ProgressBar.module.css.cjs} +0 -0
- /package/dist/{index170.mjs → components/ProgressBar/ProgressBar.module.css.mjs} +0 -0
- /package/dist/{index181.cjs → components/QuickActions/QuickActions.module.css.cjs} +0 -0
- /package/dist/{index181.mjs → components/QuickActions/QuickActions.module.css.mjs} +0 -0
- /package/dist/{index179.cjs → components/Radio/Radio.module.css.cjs} +0 -0
- /package/dist/{index179.mjs → components/Radio/Radio.module.css.mjs} +0 -0
- /package/dist/{index150.cjs → components/SearchInput/SearchInput.module.css.cjs} +0 -0
- /package/dist/{index150.mjs → components/SearchInput/SearchInput.module.css.mjs} +0 -0
- /package/dist/{index133.cjs → components/Select/Select.module.css.cjs} +0 -0
- /package/dist/{index133.mjs → components/Select/Select.module.css.mjs} +0 -0
- /package/dist/{index166.cjs → components/Sidebar/Sidebar.module.css.cjs} +0 -0
- /package/dist/{index166.mjs → components/Sidebar/Sidebar.module.css.mjs} +0 -0
- /package/dist/{index147.cjs → components/Skeleton/Skeleton.module.css.cjs} +0 -0
- /package/dist/{index147.mjs → components/Skeleton/Skeleton.module.css.mjs} +0 -0
- /package/dist/{index108.cjs → components/Slider/Slider.module.css.cjs} +0 -0
- /package/dist/{index108.mjs → components/Slider/Slider.module.css.mjs} +0 -0
- /package/dist/{index157.cjs → components/Spinner/Spinner.module.css.cjs} +0 -0
- /package/dist/{index157.mjs → components/Spinner/Spinner.module.css.mjs} +0 -0
- /package/dist/{index167.cjs → components/Stepper/Stepper.module.css.cjs} +0 -0
- /package/dist/{index167.mjs → components/Stepper/Stepper.module.css.mjs} +0 -0
- /package/dist/{index174.cjs → components/Switch/Switch.module.css.cjs} +0 -0
- /package/dist/{index174.mjs → components/Switch/Switch.module.css.mjs} +0 -0
- /package/dist/{index111.cjs → components/Table/Table.module.css.cjs} +0 -0
- /package/dist/{index111.mjs → components/Table/Table.module.css.mjs} +0 -0
- /package/dist/{index159.cjs → components/Tabs/Tabs.module.css.cjs} +0 -0
- /package/dist/{index159.mjs → components/Tabs/Tabs.module.css.mjs} +0 -0
- /package/dist/{index143.cjs → components/Textarea/Textarea.module.css.cjs} +0 -0
- /package/dist/{index143.mjs → components/Textarea/Textarea.module.css.mjs} +0 -0
- /package/dist/{index151.cjs → components/Toast/Toast.module.css.cjs} +0 -0
- /package/dist/{index151.mjs → components/Toast/Toast.module.css.mjs} +0 -0
- /package/dist/{index153.cjs → components/Toggle/Toggle.module.css.cjs} +0 -0
- /package/dist/{index153.mjs → components/Toggle/Toggle.module.css.mjs} +0 -0
- /package/dist/{index163.cjs → components/ToggleGroup/ToggleGroup.module.css.cjs} +0 -0
- /package/dist/{index163.mjs → components/ToggleGroup/ToggleGroup.module.css.mjs} +0 -0
- /package/dist/{index139.cjs → components/Tooltip/Tooltip.module.css.cjs} +0 -0
- /package/dist/{index139.mjs → components/Tooltip/Tooltip.module.css.mjs} +0 -0
- /package/dist/{index175.cjs → components/UserMenu/UserMenu.module.css.cjs} +0 -0
- /package/dist/{index175.mjs → components/UserMenu/UserMenu.module.css.mjs} +0 -0
- /package/dist/{index162.cjs → components/WorkspaceSwitcher/WorkspaceSwitcher.module.css.cjs} +0 -0
- /package/dist/{index162.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
package/dist/index127.mjs
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
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 "./index123.mjs";
|
|
4
|
-
import { ChatAudioPlayer as N } from "./index124.mjs";
|
|
5
|
-
import { ChatCodeBlock as I } from "./index121.mjs";
|
|
6
|
-
import { formatFileSize as k } from "./index184.mjs";
|
|
7
|
-
import t from "./index115.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
|
-
};
|
package/dist/index128.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("lucide-react"),t=require("./index115.cjs"),O={today:"Today",yesterday:"Yesterday",previous7:"Previous 7 days",previous30:"Previous 30 days",older:"Older"},y=["today","yesterday","previous7","previous30","older"],C=a=>{const r=new Date,u=(new Date(r.getFullYear(),r.getMonth(),r.getDate()).getTime()-new Date(a.getFullYear(),a.getMonth(),a.getDate()).getTime())/(1e3*60*60*24);return u<1?"today":u<2?"yesterday":u<7?"previous7":u<30?"previous30":"older"},P=a=>{const r=C(a);return r==="today"?new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit"}).format(a):r==="yesterday"?"Yesterday":r==="previous7"?new Intl.DateTimeFormat("en-US",{weekday:"short"}).format(a):new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(a)},z=a=>{const r=new Map;return y.forEach(n=>r.set(n,[])),a.forEach(n=>{const b=C(n.updatedAt);r.get(b)?.push(n)}),r},S=({conversations:a=[],activeConversationId:r,onSelectConversation:n,onNewConversation:b,onDeleteConversation:u,onSearch:x,header:w,footer:N,collapsed:m=!1,onCollapsedChange:f,className:I,...D})=>{const[h,T]=d.useState(""),[p,j]=d.useState(null),o=d.useRef(void 0);d.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);const g=d.useMemo(()=>{if(!h.trim())return a;const s=h.toLowerCase();return a.filter(l=>l.title.toLowerCase().includes(s)||l.preview?.toLowerCase().includes(s))},[a,h]),v=d.useMemo(()=>z(g),[g]),B=d.useCallback(s=>{const l=s.target.value;T(l),x?.(l)},[x]),k=d.useCallback(s=>{n?.(s),m&&f&&f(!0)},[n,m,f]),F=d.useCallback((s,l)=>{s.stopPropagation(),p===l?(u?.(l),j(null),o.current&&clearTimeout(o.current)):(j(l),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{j(null)},3e3))},[p,u]),M=y.some(s=>(v.get(s)?.length??0)>0);return e.jsxs(e.Fragment,{children:[!m&&e.jsx("div",{className:t.default.sidebarOverlay,onClick:()=>f?.(!0),"aria-hidden":"true"}),e.jsxs("aside",{className:[t.default.sidebar,m&&t.default.sidebarCollapsed,!m&&t.default.sidebarOpen,I].filter(Boolean).join(" "),...D,children:[e.jsx("div",{className:t.default.sidebarHeader,children:w||e.jsxs(e.Fragment,{children:[e.jsx("button",{className:[t.default.inputButton,t.default.inputButtonPrimary,t.default.sidebarNewButton].filter(Boolean).join(" "),onClick:b,"aria-label":"New conversation",children:e.jsxs("span",{className:t.default.sidebarNewButtonInner,children:[e.jsx(c.Plus,{size:18}),e.jsx("span",{children:"New Chat"})]})}),e.jsx("button",{className:[t.default.inputButton,t.default.sidebarCloseButton].join(" "),onClick:()=>f?.(!0),"aria-label":"Close sidebar",children:e.jsx(c.X,{size:20})})]})}),e.jsx("div",{className:t.default.sidebarSearch,children:e.jsxs("div",{className:t.default.sidebarSearchWrapper,children:[e.jsx(c.Search,{size:16,className:t.default.sidebarSearchIcon}),e.jsx("input",{type:"search",className:[t.default.sidebarSearchInput,t.default.sidebarSearchInputWithIcon].join(" "),placeholder:"Search conversations...",value:h,onChange:B,"aria-label":"Search conversations"})]})}),e.jsx("div",{className:t.default.sidebarList,role:"list","aria-label":"Conversations",children:M?y.map(s=>{const l=v.get(s)??[];return l.length===0?null:e.jsxs("div",{children:[e.jsx("div",{className:t.default.sidebarGroupHeader,children:O[s]}),l.map(i=>e.jsxs("button",{className:[t.default.sidebarItem,i.id===r&&t.default.sidebarItemActive].filter(Boolean).join(" "),onClick:()=>k(i.id),role:"listitem","aria-selected":i.id===r,"aria-label":`Conversation: ${i.title}`,children:[e.jsx(c.MessageSquare,{size:18,className:t.default.sidebarItemIcon}),e.jsxs("div",{className:t.default.sidebarItemContent,children:[e.jsx("span",{className:t.default.sidebarItemTitle,children:i.title}),i.preview&&e.jsx("span",{className:t.default.sidebarItemPreview,children:i.preview})]}),e.jsx("span",{className:t.default.sidebarItemDate,children:P(i.updatedAt)}),u&&e.jsx("button",{className:t.default.sidebarItemDelete,onClick:q=>F(q,i.id),"aria-label":p===i.id?`Confirm delete ${i.title}`:`Delete ${i.title}`,children:p===i.id?e.jsx("span",{className:t.default.sidebarItemDeleteConfirm,children:"Delete?"}):e.jsx(c.Trash2,{size:16})})]},i.id))]},s)}):e.jsxs("div",{className:t.default.sidebarEmpty,children:[e.jsx(c.MessageSquare,{size:32,className:t.default.sidebarEmptyIcon}),e.jsx("p",{children:h?"No conversations found":"No conversations yet"})]})}),N&&e.jsx("div",{className:t.default.sidebarFooter,children:N})]})]})};S.displayName="ChatSidebar";exports.ChatSidebar=S;
|
package/dist/index128.mjs
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { jsxs as l, Fragment as C, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as D, useRef as Y, useEffect as x, useMemo as S, useCallback as y } from "react";
|
|
3
|
-
import { Plus as A, X as U, Search as $, MessageSquare as T, Trash2 as q } from "lucide-react";
|
|
4
|
-
import e from "./index115.mjs";
|
|
5
|
-
const G = {
|
|
6
|
-
today: "Today",
|
|
7
|
-
yesterday: "Yesterday",
|
|
8
|
-
previous7: "Previous 7 days",
|
|
9
|
-
previous30: "Previous 30 days",
|
|
10
|
-
older: "Older"
|
|
11
|
-
}, N = [
|
|
12
|
-
"today",
|
|
13
|
-
"yesterday",
|
|
14
|
-
"previous7",
|
|
15
|
-
"previous30",
|
|
16
|
-
"older"
|
|
17
|
-
], B = (t) => {
|
|
18
|
-
const a = /* @__PURE__ */ new Date(), d = (new Date(
|
|
19
|
-
a.getFullYear(),
|
|
20
|
-
a.getMonth(),
|
|
21
|
-
a.getDate()
|
|
22
|
-
).getTime() - new Date(t.getFullYear(), t.getMonth(), t.getDate()).getTime()) / (1e3 * 60 * 60 * 24);
|
|
23
|
-
return d < 1 ? "today" : d < 2 ? "yesterday" : d < 7 ? "previous7" : d < 30 ? "previous30" : "older";
|
|
24
|
-
}, H = (t) => {
|
|
25
|
-
const a = B(t);
|
|
26
|
-
return a === "today" ? new Intl.DateTimeFormat("en-US", {
|
|
27
|
-
hour: "numeric",
|
|
28
|
-
minute: "2-digit"
|
|
29
|
-
}).format(t) : a === "yesterday" ? "Yesterday" : a === "previous7" ? new Intl.DateTimeFormat("en-US", {
|
|
30
|
-
weekday: "short"
|
|
31
|
-
}).format(t) : new Intl.DateTimeFormat("en-US", {
|
|
32
|
-
month: "short",
|
|
33
|
-
day: "numeric"
|
|
34
|
-
}).format(t);
|
|
35
|
-
}, Q = (t) => {
|
|
36
|
-
const a = /* @__PURE__ */ new Map();
|
|
37
|
-
return N.forEach((o) => a.set(o, [])), t.forEach((o) => {
|
|
38
|
-
const f = B(o.updatedAt);
|
|
39
|
-
a.get(f)?.push(o);
|
|
40
|
-
}), a;
|
|
41
|
-
}, R = ({
|
|
42
|
-
conversations: t = [],
|
|
43
|
-
activeConversationId: a,
|
|
44
|
-
onSelectConversation: o,
|
|
45
|
-
onNewConversation: f,
|
|
46
|
-
onDeleteConversation: d,
|
|
47
|
-
onSearch: g,
|
|
48
|
-
header: j,
|
|
49
|
-
footer: v,
|
|
50
|
-
collapsed: u = !1,
|
|
51
|
-
onCollapsedChange: m,
|
|
52
|
-
className: k,
|
|
53
|
-
...F
|
|
54
|
-
}) => {
|
|
55
|
-
const [h, z] = D(""), [p, b] = D(null), c = Y(
|
|
56
|
-
void 0
|
|
57
|
-
);
|
|
58
|
-
x(() => () => {
|
|
59
|
-
c.current && clearTimeout(c.current);
|
|
60
|
-
}, []);
|
|
61
|
-
const w = S(() => {
|
|
62
|
-
if (!h.trim()) return t;
|
|
63
|
-
const s = h.toLowerCase();
|
|
64
|
-
return t.filter(
|
|
65
|
-
(n) => n.title.toLowerCase().includes(s) || n.preview?.toLowerCase().includes(s)
|
|
66
|
-
);
|
|
67
|
-
}, [t, h]), I = S(() => Q(w), [w]), O = y(
|
|
68
|
-
(s) => {
|
|
69
|
-
const n = s.target.value;
|
|
70
|
-
z(n), g?.(n);
|
|
71
|
-
},
|
|
72
|
-
[g]
|
|
73
|
-
), P = y(
|
|
74
|
-
(s) => {
|
|
75
|
-
o?.(s), u && m && m(!0);
|
|
76
|
-
},
|
|
77
|
-
[o, u, m]
|
|
78
|
-
), E = y(
|
|
79
|
-
(s, n) => {
|
|
80
|
-
s.stopPropagation(), p === n ? (d?.(n), b(null), c.current && clearTimeout(c.current)) : (b(n), c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
81
|
-
b(null);
|
|
82
|
-
}, 3e3));
|
|
83
|
-
},
|
|
84
|
-
[p, d]
|
|
85
|
-
), L = N.some(
|
|
86
|
-
(s) => (I.get(s)?.length ?? 0) > 0
|
|
87
|
-
);
|
|
88
|
-
return /* @__PURE__ */ l(C, { children: [
|
|
89
|
-
!u && /* @__PURE__ */ r(
|
|
90
|
-
"div",
|
|
91
|
-
{
|
|
92
|
-
className: e.sidebarOverlay,
|
|
93
|
-
onClick: () => m?.(!0),
|
|
94
|
-
"aria-hidden": "true"
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
/* @__PURE__ */ l(
|
|
98
|
-
"aside",
|
|
99
|
-
{
|
|
100
|
-
className: [
|
|
101
|
-
e.sidebar,
|
|
102
|
-
u && e.sidebarCollapsed,
|
|
103
|
-
!u && e.sidebarOpen,
|
|
104
|
-
k
|
|
105
|
-
].filter(Boolean).join(" "),
|
|
106
|
-
...F,
|
|
107
|
-
children: [
|
|
108
|
-
/* @__PURE__ */ r("div", { className: e.sidebarHeader, children: j || /* @__PURE__ */ l(C, { children: [
|
|
109
|
-
/* @__PURE__ */ r(
|
|
110
|
-
"button",
|
|
111
|
-
{
|
|
112
|
-
className: [
|
|
113
|
-
e.inputButton,
|
|
114
|
-
e.inputButtonPrimary,
|
|
115
|
-
e.sidebarNewButton
|
|
116
|
-
].filter(Boolean).join(" "),
|
|
117
|
-
onClick: f,
|
|
118
|
-
"aria-label": "New conversation",
|
|
119
|
-
children: /* @__PURE__ */ l("span", { className: e.sidebarNewButtonInner, children: [
|
|
120
|
-
/* @__PURE__ */ r(A, { size: 18 }),
|
|
121
|
-
/* @__PURE__ */ r("span", { children: "New Chat" })
|
|
122
|
-
] })
|
|
123
|
-
}
|
|
124
|
-
),
|
|
125
|
-
/* @__PURE__ */ r(
|
|
126
|
-
"button",
|
|
127
|
-
{
|
|
128
|
-
className: [e.inputButton, e.sidebarCloseButton].join(
|
|
129
|
-
" "
|
|
130
|
-
),
|
|
131
|
-
onClick: () => m?.(!0),
|
|
132
|
-
"aria-label": "Close sidebar",
|
|
133
|
-
children: /* @__PURE__ */ r(U, { size: 20 })
|
|
134
|
-
}
|
|
135
|
-
)
|
|
136
|
-
] }) }),
|
|
137
|
-
/* @__PURE__ */ r("div", { className: e.sidebarSearch, children: /* @__PURE__ */ l("div", { className: e.sidebarSearchWrapper, children: [
|
|
138
|
-
/* @__PURE__ */ r($, { size: 16, className: e.sidebarSearchIcon }),
|
|
139
|
-
/* @__PURE__ */ r(
|
|
140
|
-
"input",
|
|
141
|
-
{
|
|
142
|
-
type: "search",
|
|
143
|
-
className: [
|
|
144
|
-
e.sidebarSearchInput,
|
|
145
|
-
e.sidebarSearchInputWithIcon
|
|
146
|
-
].join(" "),
|
|
147
|
-
placeholder: "Search conversations...",
|
|
148
|
-
value: h,
|
|
149
|
-
onChange: O,
|
|
150
|
-
"aria-label": "Search conversations"
|
|
151
|
-
}
|
|
152
|
-
)
|
|
153
|
-
] }) }),
|
|
154
|
-
/* @__PURE__ */ r(
|
|
155
|
-
"div",
|
|
156
|
-
{
|
|
157
|
-
className: e.sidebarList,
|
|
158
|
-
role: "list",
|
|
159
|
-
"aria-label": "Conversations",
|
|
160
|
-
children: L ? N.map((s) => {
|
|
161
|
-
const n = I.get(s) ?? [];
|
|
162
|
-
return n.length === 0 ? null : /* @__PURE__ */ l("div", { children: [
|
|
163
|
-
/* @__PURE__ */ r("div", { className: e.sidebarGroupHeader, children: G[s] }),
|
|
164
|
-
n.map((i) => /* @__PURE__ */ l(
|
|
165
|
-
"button",
|
|
166
|
-
{
|
|
167
|
-
className: [
|
|
168
|
-
e.sidebarItem,
|
|
169
|
-
i.id === a && e.sidebarItemActive
|
|
170
|
-
].filter(Boolean).join(" "),
|
|
171
|
-
onClick: () => P(i.id),
|
|
172
|
-
role: "listitem",
|
|
173
|
-
"aria-selected": i.id === a,
|
|
174
|
-
"aria-label": `Conversation: ${i.title}`,
|
|
175
|
-
children: [
|
|
176
|
-
/* @__PURE__ */ r(
|
|
177
|
-
T,
|
|
178
|
-
{
|
|
179
|
-
size: 18,
|
|
180
|
-
className: e.sidebarItemIcon
|
|
181
|
-
}
|
|
182
|
-
),
|
|
183
|
-
/* @__PURE__ */ l("div", { className: e.sidebarItemContent, children: [
|
|
184
|
-
/* @__PURE__ */ r("span", { className: e.sidebarItemTitle, children: i.title }),
|
|
185
|
-
i.preview && /* @__PURE__ */ r("span", { className: e.sidebarItemPreview, children: i.preview })
|
|
186
|
-
] }),
|
|
187
|
-
/* @__PURE__ */ r("span", { className: e.sidebarItemDate, children: H(i.updatedAt) }),
|
|
188
|
-
d && /* @__PURE__ */ r(
|
|
189
|
-
"button",
|
|
190
|
-
{
|
|
191
|
-
className: e.sidebarItemDelete,
|
|
192
|
-
onClick: (M) => E(M, i.id),
|
|
193
|
-
"aria-label": p === i.id ? `Confirm delete ${i.title}` : `Delete ${i.title}`,
|
|
194
|
-
children: p === i.id ? /* @__PURE__ */ r("span", { className: e.sidebarItemDeleteConfirm, children: "Delete?" }) : /* @__PURE__ */ r(q, { size: 16 })
|
|
195
|
-
}
|
|
196
|
-
)
|
|
197
|
-
]
|
|
198
|
-
},
|
|
199
|
-
i.id
|
|
200
|
-
))
|
|
201
|
-
] }, s);
|
|
202
|
-
}) : /* @__PURE__ */ l("div", { className: e.sidebarEmpty, children: [
|
|
203
|
-
/* @__PURE__ */ r(T, { size: 32, className: e.sidebarEmptyIcon }),
|
|
204
|
-
/* @__PURE__ */ r("p", { children: h ? "No conversations found" : "No conversations yet" })
|
|
205
|
-
] })
|
|
206
|
-
}
|
|
207
|
-
),
|
|
208
|
-
v && /* @__PURE__ */ r("div", { className: e.sidebarFooter, children: v })
|
|
209
|
-
]
|
|
210
|
-
}
|
|
211
|
-
)
|
|
212
|
-
] });
|
|
213
|
-
};
|
|
214
|
-
R.displayName = "ChatSidebar";
|
|
215
|
-
export {
|
|
216
|
-
R as ChatSidebar
|
|
217
|
-
};
|
package/dist/index13.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),f=require("react"),B=require("lucide-react"),a=require("./index173.cjs"),h=({items:l,separator:c="chevron",customSeparator:u,showHomeIcon:m=!1,maxItems:n,size:i="md",className:j,linkProps:p})=>{const t=f.useMemo(()=>{if(!n||l.length<=n)return l;const e=l[0],s=l.slice(-(n-1));return[...e?[e]:[],{label:"...",href:void 0},...s]},[l,n]),b=e=>{const s=[a.default.separator,c==="chevron"&&a.default.chevron,c==="slash"&&a.default.slash].filter(Boolean).join(" ");return c==="custom"&&u?r.jsx("span",{className:a.default.separator,"aria-hidden":"true",children:u},`sep-${e}`):r.jsx("span",{className:s,"aria-hidden":"true"},`sep-${e}`)},N=()=>{switch(i){case"sm":return 14;case"lg":return 18;default:return 16}},o=()=>m?r.jsx("span",{className:a.default.homeIcon,"aria-label":"Home",children:r.jsx(B.Home,{size:N()})}):null,g=(e,s)=>{const d=s===t.length-1;return e.label==="..."?r.jsx("li",{className:a.default.item,children:r.jsx("span",{className:a.default.ellipsis,"aria-label":"More items",children:"…"})},`ellipsis-${s}`):d||!e.href?r.jsx("li",{className:a.default.item,"aria-current":d?"page":void 0,children:r.jsxs("span",{className:a.default.current,children:[s===0&&o(),e.icon&&r.jsx("span",{className:a.default.icon,children:e.icon}),e.label]})},s):r.jsx("li",{className:a.default.item,children:r.jsxs("a",{href:e.href,className:a.default.link,...p,children:[s===0&&o(),e.icon&&r.jsx("span",{className:a.default.icon,children:e.icon}),e.label]})},s)},v=[a.default.breadcrumb,a.default[i],j].filter(Boolean).join(" ");return r.jsx("nav",{"aria-label":"Breadcrumb",children:r.jsx("ol",{className:v,children:t.map((e,s)=>r.jsxs(f.Fragment,{children:[g(e,s),s<t.length-1&&b(s)]},s))})})};h.displayName="Breadcrumb";exports.Breadcrumb=h;
|
package/dist/index13.mjs
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import p from "react";
|
|
3
|
-
import { Home as j } from "lucide-react";
|
|
4
|
-
import s from "./index173.mjs";
|
|
5
|
-
const I = ({
|
|
6
|
-
items: l,
|
|
7
|
-
separator: c = "chevron",
|
|
8
|
-
customSeparator: t,
|
|
9
|
-
showHomeIcon: d = !1,
|
|
10
|
-
maxItems: n,
|
|
11
|
-
size: h = "md",
|
|
12
|
-
className: f,
|
|
13
|
-
linkProps: b
|
|
14
|
-
}) => {
|
|
15
|
-
const o = p.useMemo(() => {
|
|
16
|
-
if (!n || l.length <= n)
|
|
17
|
-
return l;
|
|
18
|
-
const r = l[0], e = l.slice(-(n - 1));
|
|
19
|
-
return [
|
|
20
|
-
...r ? [r] : [],
|
|
21
|
-
{ label: "...", href: void 0 },
|
|
22
|
-
// Ellipsis
|
|
23
|
-
...e
|
|
24
|
-
];
|
|
25
|
-
}, [l, n]), N = (r) => {
|
|
26
|
-
const e = [
|
|
27
|
-
s.separator,
|
|
28
|
-
c === "chevron" && s.chevron,
|
|
29
|
-
c === "slash" && s.slash
|
|
30
|
-
].filter(Boolean).join(" ");
|
|
31
|
-
return c === "custom" && t ? /* @__PURE__ */ a(
|
|
32
|
-
"span",
|
|
33
|
-
{
|
|
34
|
-
className: s.separator,
|
|
35
|
-
"aria-hidden": "true",
|
|
36
|
-
children: t
|
|
37
|
-
},
|
|
38
|
-
`sep-${r}`
|
|
39
|
-
) : /* @__PURE__ */ a(
|
|
40
|
-
"span",
|
|
41
|
-
{
|
|
42
|
-
className: e,
|
|
43
|
-
"aria-hidden": "true"
|
|
44
|
-
},
|
|
45
|
-
`sep-${r}`
|
|
46
|
-
);
|
|
47
|
-
}, g = () => {
|
|
48
|
-
switch (h) {
|
|
49
|
-
case "sm":
|
|
50
|
-
return 14;
|
|
51
|
-
case "lg":
|
|
52
|
-
return 18;
|
|
53
|
-
default:
|
|
54
|
-
return 16;
|
|
55
|
-
}
|
|
56
|
-
}, m = () => d ? /* @__PURE__ */ a("span", { className: s.homeIcon, "aria-label": "Home", children: /* @__PURE__ */ a(j, { size: g() }) }) : null, v = (r, e) => {
|
|
57
|
-
const u = e === o.length - 1;
|
|
58
|
-
return r.label === "..." ? /* @__PURE__ */ a("li", { className: s.item, children: /* @__PURE__ */ a("span", { className: s.ellipsis, "aria-label": "More items", children: "…" }) }, `ellipsis-${e}`) : u || !r.href ? /* @__PURE__ */ a(
|
|
59
|
-
"li",
|
|
60
|
-
{
|
|
61
|
-
className: s.item,
|
|
62
|
-
"aria-current": u ? "page" : void 0,
|
|
63
|
-
children: /* @__PURE__ */ i("span", { className: s.current, children: [
|
|
64
|
-
e === 0 && m(),
|
|
65
|
-
r.icon && /* @__PURE__ */ a("span", { className: s.icon, children: r.icon }),
|
|
66
|
-
r.label
|
|
67
|
-
] })
|
|
68
|
-
},
|
|
69
|
-
e
|
|
70
|
-
) : /* @__PURE__ */ a("li", { className: s.item, children: /* @__PURE__ */ i("a", { href: r.href, className: s.link, ...b, children: [
|
|
71
|
-
e === 0 && m(),
|
|
72
|
-
r.icon && /* @__PURE__ */ a("span", { className: s.icon, children: r.icon }),
|
|
73
|
-
r.label
|
|
74
|
-
] }) }, e);
|
|
75
|
-
}, B = [s.breadcrumb, s[h], f].filter(Boolean).join(" ");
|
|
76
|
-
return /* @__PURE__ */ a("nav", { "aria-label": "Breadcrumb", children: /* @__PURE__ */ a("ol", { className: B, children: o.map((r, e) => /* @__PURE__ */ i(p.Fragment, { children: [
|
|
77
|
-
v(r, e),
|
|
78
|
-
e < o.length - 1 && N(e)
|
|
79
|
-
] }, e)) }) });
|
|
80
|
-
};
|
|
81
|
-
I.displayName = "Breadcrumb";
|
|
82
|
-
export {
|
|
83
|
-
I as Breadcrumb
|
|
84
|
-
};
|
package/dist/index14.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),C=require("react"),e=require("./index158.cjs"),B=r=>r.replace(/-([a-z])/g,d=>d[1]?.toUpperCase()||""),c=C.forwardRef(({variant:r="primary",size:d="md",isLoading:t=!1,loadingText:u,fullWidth:i=!1,icon:s,iconRight:o,iconOnly:l=!1,className:f,children:m,disabled:p,type:h="button",...j},N)=>{const b=e.default[B(r)],$=[e.default.button,b,e.default[d],i&&e.default.fullWidth,l&&e.default.iconOnly,t&&e.default.loading,f].filter(Boolean).join(" "),x=p||t,n=t?e.default.loadingContent:void 0;return a.jsxs("button",{ref:N,type:h,className:$,disabled:x,...j,children:[t&&a.jsx("span",{className:e.default.spinner,"aria-hidden":"true"}),s&&!l&&a.jsx("span",{className:`${e.default.icon} ${n||""}`,"aria-hidden":"true",children:s}),l&&s?a.jsx("span",{className:`${e.default.icon} ${n||""}`,"aria-hidden":"true",children:s}):a.jsx("span",{className:n,children:t&&u?u:m}),o&&!l&&a.jsx("span",{className:`${e.default.icon} ${e.default.iconRight} ${n||""}`,"aria-hidden":"true",children:o})]})});c.displayName="Button";exports.Button=c;
|
package/dist/index14.mjs
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsxs as j, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as B } from "react";
|
|
3
|
-
import a from "./index158.mjs";
|
|
4
|
-
const v = (l) => l.replace(/-([a-z])/g, (o) => o[1]?.toUpperCase() || ""), x = B(
|
|
5
|
-
({
|
|
6
|
-
variant: l = "primary",
|
|
7
|
-
size: o = "md",
|
|
8
|
-
isLoading: s = !1,
|
|
9
|
-
loadingText: c,
|
|
10
|
-
fullWidth: i = !1,
|
|
11
|
-
icon: t,
|
|
12
|
-
iconRight: d,
|
|
13
|
-
iconOnly: r = !1,
|
|
14
|
-
className: m,
|
|
15
|
-
children: p,
|
|
16
|
-
disabled: u,
|
|
17
|
-
type: f = "button",
|
|
18
|
-
...h
|
|
19
|
-
}, N) => {
|
|
20
|
-
const $ = a[v(l)], C = [
|
|
21
|
-
a.button,
|
|
22
|
-
$,
|
|
23
|
-
a[o],
|
|
24
|
-
i && a.fullWidth,
|
|
25
|
-
r && a.iconOnly,
|
|
26
|
-
s && a.loading,
|
|
27
|
-
m
|
|
28
|
-
].filter(Boolean).join(" "), b = u || s, n = s ? a.loadingContent : void 0;
|
|
29
|
-
return /* @__PURE__ */ j(
|
|
30
|
-
"button",
|
|
31
|
-
{
|
|
32
|
-
ref: N,
|
|
33
|
-
type: f,
|
|
34
|
-
className: C,
|
|
35
|
-
disabled: b,
|
|
36
|
-
...h,
|
|
37
|
-
children: [
|
|
38
|
-
s && /* @__PURE__ */ e("span", { className: a.spinner, "aria-hidden": "true" }),
|
|
39
|
-
t && !r && /* @__PURE__ */ e(
|
|
40
|
-
"span",
|
|
41
|
-
{
|
|
42
|
-
className: `${a.icon} ${n || ""}`,
|
|
43
|
-
"aria-hidden": "true",
|
|
44
|
-
children: t
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
r && t ? /* @__PURE__ */ e(
|
|
48
|
-
"span",
|
|
49
|
-
{
|
|
50
|
-
className: `${a.icon} ${n || ""}`,
|
|
51
|
-
"aria-hidden": "true",
|
|
52
|
-
children: t
|
|
53
|
-
}
|
|
54
|
-
) : /* @__PURE__ */ e("span", { className: n, children: s && c ? c : p }),
|
|
55
|
-
d && !r && /* @__PURE__ */ e(
|
|
56
|
-
"span",
|
|
57
|
-
{
|
|
58
|
-
className: `${a.icon} ${a.iconRight} ${n || ""}`,
|
|
59
|
-
"aria-hidden": "true",
|
|
60
|
-
children: d
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
);
|
|
68
|
-
x.displayName = "Button";
|
|
69
|
-
export {
|
|
70
|
-
x as Button
|
|
71
|
-
};
|
package/dist/index15.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),u=require("react"),n=require("date-fns"),x=require("lucide-react"),a=require("./index164.cjs"),O=require("./index14.cjs"),R=["Su","Mo","Tu","We","Th","Fr","Sa"];function _(t,r){const c=t.length,d=(r%c+c)%c;return[...t.slice(d),...t.slice(0,d)]}const C=t=>{const{mode:r="single",min:c,max:d,disabled:m,weekStartsOn:h=0,showOutsideDays:j=!0,className:v,...k}=t,{selected:W,onSelect:F,...E}=k,[f,S]=u.useState(()=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"&&t.selected?n.startOfMonth(t.selected):r==="range"&&t.mode==="range"&&t.selected?.from?n.startOfMonth(t.selected.from):n.startOfMonth(new Date)),N=u.useMemo(()=>{const e=n.startOfMonth(f),s=n.endOfMonth(f),l=n.startOfWeek(e,{weekStartsOn:h}),o=n.endOfWeek(s,{weekStartsOn:h});return n.eachDayOfInterval({start:l,end:o})},[f,h]),B=u.useMemo(()=>_(R,h),[h]),g=u.useCallback(e=>c&&n.isBefore(e,z(c))||d&&n.isAfter(e,P(d))?!0:m?Array.isArray(m)?m.some(s=>n.isSameDay(s,e)):m(e):!1,[c,d,m]),y=u.useCallback(e=>r==="single"&&t.mode!=="range"&&t.mode!=="multiple"?t.selected?n.isSameDay(t.selected,e):!1:r==="multiple"&&t.mode==="multiple"?t.selected?.some(s=>n.isSameDay(s,e))??!1:!1,[r,t]),M=u.useCallback(e=>{if(r!=="range"||t.mode!=="range"||!t.selected)return null;const{from:s,to:l}=t.selected;return s?l?n.isSameDay(e,s)&&n.isSameDay(e,l)||n.isSameDay(e,s)?"start":n.isSameDay(e,l)?"end":n.isAfter(e,s)&&n.isBefore(e,l)?"middle":null:n.isSameDay(e,s)?"start":null:null},[r,t]),w=u.useCallback(e=>{if(!g(e)){if(r==="single"&&t.mode!=="range"&&t.mode!=="multiple"){const s=t.onSelect;s?.(e)}else if(r==="range"&&t.mode==="range"){const s=t.onSelect,l=t.selected;!l?.from||l.from&&l.to?s?.({from:e,to:void 0}):n.isBefore(e,l.from)?s?.({from:e,to:l.from}):s?.({from:l.from,to:e})}else if(r==="multiple"&&t.mode==="multiple"){const s=t.onSelect,l=t.selected??[],o=l.findIndex(D=>n.isSameDay(D,e));o>=0?s?.(l.filter((D,L)=>L!==o)):s?.([...l,e])}}},[r,t,g]),A=()=>S(e=>n.subMonths(e,1)),I=()=>S(e=>n.addMonths(e,1)),T=e=>{const s=[a.default.day];if(!n.isSameMonth(e,f)&&s.push(a.default.outside),n.isToday(e)&&s.push(a.default.today),g(e)&&s.push(a.default.disabled),r==="range"){const o=M(e);o==="start"&&(s.push(a.default.rangeStart),t.mode==="range"&&t.selected?.from&&t.selected?.to&&n.isSameDay(t.selected.from,t.selected.to)&&s.push(a.default.rangeEnd)),o==="middle"&&s.push(a.default.rangeMiddle),o==="end"&&s.push(a.default.rangeEnd)}else y(e)&&s.push(a.default.selected);return s.join(" ")},q=[a.default.calendar,v].filter(Boolean).join(" "),b=u.useId();return i.jsxs("div",{className:q,...E,children:[i.jsxs("div",{className:a.default.header,children:[i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronLeft,{size:16}),onClick:A,"aria-label":"Previous month"}),i.jsx("span",{id:b,className:a.default.monthLabel,children:n.format(f,"MMMM yyyy")}),i.jsx(O.Button,{variant:"ghost",iconOnly:!0,size:"sm",icon:i.jsx(x.ChevronRight,{size:16}),onClick:I,"aria-label":"Next month"})]}),i.jsxs("div",{className:a.default.grid,role:"grid","aria-labelledby":b,children:[B.map(e=>i.jsx("div",{className:a.default.weekday,role:"columnheader","aria-label":e,children:e},e)),N.map(e=>!n.isSameMonth(e,f)&&!j?i.jsx("div",{},e.toISOString()):i.jsx("button",{type:"button",className:T(e),onClick:()=>w(e),disabled:g(e),tabIndex:n.isToday(e)?0:-1,"aria-label":n.format(e,"EEEE, MMMM d, yyyy"),"aria-selected":y(e)||M(e)!==null,children:n.format(e,"d")},e.toISOString()))]})]})};C.displayName="Calendar";function z(t){const r=new Date(t);return r.setHours(0,0,0,0),r}function P(t){const r=new Date(t);return r.setHours(23,59,59,999),r}exports.Calendar=C;
|
package/dist/index15.mjs
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { jsxs as M, jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { useState as K, useMemo as N, useCallback as g, useId as Y } from "react";
|
|
3
|
-
import { startOfMonth as S, endOfMonth as q, startOfWeek as G, endOfWeek as J, eachDayOfInterval as Q, isBefore as y, isAfter as k, isSameDay as i, format as b, isSameMonth as x, isToday as w, subMonths as U, addMonths as V } from "date-fns";
|
|
4
|
-
import { ChevronLeft as X, ChevronRight as Z } from "lucide-react";
|
|
5
|
-
import o from "./index164.mjs";
|
|
6
|
-
import { Button as I } from "./index14.mjs";
|
|
7
|
-
const $ = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
|
|
8
|
-
function p(t, r) {
|
|
9
|
-
const a = t.length, u = (r % a + a) % a;
|
|
10
|
-
return [...t.slice(u), ...t.slice(0, u)];
|
|
11
|
-
}
|
|
12
|
-
const ee = (t) => {
|
|
13
|
-
const {
|
|
14
|
-
mode: r = "single",
|
|
15
|
-
min: a,
|
|
16
|
-
max: u,
|
|
17
|
-
disabled: d,
|
|
18
|
-
weekStartsOn: f = 0,
|
|
19
|
-
showOutsideDays: A = !0,
|
|
20
|
-
className: L,
|
|
21
|
-
...T
|
|
22
|
-
} = t, {
|
|
23
|
-
selected: re,
|
|
24
|
-
onSelect: se,
|
|
25
|
-
...j
|
|
26
|
-
} = T, [m, v] = K(() => r === "single" && t.mode !== "range" && t.mode !== "multiple" && t.selected ? S(t.selected) : r === "range" && t.mode === "range" && t.selected?.from ? S(t.selected.from) : S(/* @__PURE__ */ new Date())), z = N(() => {
|
|
27
|
-
const e = S(m), n = q(m), s = G(e, { weekStartsOn: f }), l = J(n, { weekStartsOn: f });
|
|
28
|
-
return Q({ start: s, end: l });
|
|
29
|
-
}, [m, f]), B = N(
|
|
30
|
-
() => p($, f),
|
|
31
|
-
[f]
|
|
32
|
-
), h = g(
|
|
33
|
-
(e) => a && y(e, te(a)) || u && k(e, ne(u)) ? !0 : d ? Array.isArray(d) ? d.some((n) => i(n, e)) : d(e) : !1,
|
|
34
|
-
[a, u, d]
|
|
35
|
-
), O = g(
|
|
36
|
-
(e) => r === "single" && t.mode !== "range" && t.mode !== "multiple" ? t.selected ? i(t.selected, e) : !1 : r === "multiple" && t.mode === "multiple" ? t.selected?.some((n) => i(n, e)) ?? !1 : !1,
|
|
37
|
-
[r, t]
|
|
38
|
-
), C = g(
|
|
39
|
-
(e) => {
|
|
40
|
-
if (r !== "range" || t.mode !== "range" || !t.selected)
|
|
41
|
-
return null;
|
|
42
|
-
const { from: n, to: s } = t.selected;
|
|
43
|
-
return n ? s ? i(e, n) && i(e, s) || i(e, n) ? "start" : i(e, s) ? "end" : k(e, n) && y(e, s) ? "middle" : null : i(e, n) ? "start" : null : null;
|
|
44
|
-
},
|
|
45
|
-
[r, t]
|
|
46
|
-
), W = g(
|
|
47
|
-
(e) => {
|
|
48
|
-
if (!h(e)) {
|
|
49
|
-
if (r === "single" && t.mode !== "range" && t.mode !== "multiple") {
|
|
50
|
-
const n = t.onSelect;
|
|
51
|
-
n?.(e);
|
|
52
|
-
} else if (r === "range" && t.mode === "range") {
|
|
53
|
-
const n = t.onSelect, s = t.selected;
|
|
54
|
-
!s?.from || s.from && s.to ? n?.({ from: e, to: void 0 }) : y(e, s.from) ? n?.({ from: e, to: s.from }) : n?.({ from: s.from, to: e });
|
|
55
|
-
} else if (r === "multiple" && t.mode === "multiple") {
|
|
56
|
-
const n = t.onSelect, s = t.selected ?? [], l = s.findIndex((E) => i(E, e));
|
|
57
|
-
l >= 0 ? n?.(s.filter((E, F) => F !== l)) : n?.([...s, e]);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
[r, t, h]
|
|
62
|
-
), _ = () => v((e) => U(e, 1)), P = () => v((e) => V(e, 1)), H = (e) => {
|
|
63
|
-
const n = [o.day];
|
|
64
|
-
if (!x(e, m) && n.push(o.outside), w(e) && n.push(o.today), h(e) && n.push(o.disabled), r === "range") {
|
|
65
|
-
const l = C(e);
|
|
66
|
-
l === "start" && (n.push(o.rangeStart), t.mode === "range" && t.selected?.from && t.selected?.to && i(t.selected.from, t.selected.to) && n.push(o.rangeEnd)), l === "middle" && n.push(o.rangeMiddle), l === "end" && n.push(o.rangeEnd);
|
|
67
|
-
} else O(e) && n.push(o.selected);
|
|
68
|
-
return n.join(" ");
|
|
69
|
-
}, R = [o.calendar, L].filter(Boolean).join(" "), D = Y();
|
|
70
|
-
return /* @__PURE__ */ M("div", { className: R, ...j, children: [
|
|
71
|
-
/* @__PURE__ */ M("div", { className: o.header, children: [
|
|
72
|
-
/* @__PURE__ */ c(
|
|
73
|
-
I,
|
|
74
|
-
{
|
|
75
|
-
variant: "ghost",
|
|
76
|
-
iconOnly: !0,
|
|
77
|
-
size: "sm",
|
|
78
|
-
icon: /* @__PURE__ */ c(X, { size: 16 }),
|
|
79
|
-
onClick: _,
|
|
80
|
-
"aria-label": "Previous month"
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
/* @__PURE__ */ c("span", { id: D, className: o.monthLabel, children: b(m, "MMMM yyyy") }),
|
|
84
|
-
/* @__PURE__ */ c(
|
|
85
|
-
I,
|
|
86
|
-
{
|
|
87
|
-
variant: "ghost",
|
|
88
|
-
iconOnly: !0,
|
|
89
|
-
size: "sm",
|
|
90
|
-
icon: /* @__PURE__ */ c(Z, { size: 16 }),
|
|
91
|
-
onClick: P,
|
|
92
|
-
"aria-label": "Next month"
|
|
93
|
-
}
|
|
94
|
-
)
|
|
95
|
-
] }),
|
|
96
|
-
/* @__PURE__ */ M("div", { className: o.grid, role: "grid", "aria-labelledby": D, children: [
|
|
97
|
-
B.map((e) => /* @__PURE__ */ c(
|
|
98
|
-
"div",
|
|
99
|
-
{
|
|
100
|
-
className: o.weekday,
|
|
101
|
-
role: "columnheader",
|
|
102
|
-
"aria-label": e,
|
|
103
|
-
children: e
|
|
104
|
-
},
|
|
105
|
-
e
|
|
106
|
-
)),
|
|
107
|
-
z.map((e) => !x(e, m) && !A ? /* @__PURE__ */ c("div", {}, e.toISOString()) : /* @__PURE__ */ c(
|
|
108
|
-
"button",
|
|
109
|
-
{
|
|
110
|
-
type: "button",
|
|
111
|
-
className: H(e),
|
|
112
|
-
onClick: () => W(e),
|
|
113
|
-
disabled: h(e),
|
|
114
|
-
tabIndex: w(e) ? 0 : -1,
|
|
115
|
-
"aria-label": b(e, "EEEE, MMMM d, yyyy"),
|
|
116
|
-
"aria-selected": O(e) || C(e) !== null,
|
|
117
|
-
children: b(e, "d")
|
|
118
|
-
},
|
|
119
|
-
e.toISOString()
|
|
120
|
-
))
|
|
121
|
-
] })
|
|
122
|
-
] });
|
|
123
|
-
};
|
|
124
|
-
ee.displayName = "Calendar";
|
|
125
|
-
function te(t) {
|
|
126
|
-
const r = new Date(t);
|
|
127
|
-
return r.setHours(0, 0, 0, 0), r;
|
|
128
|
-
}
|
|
129
|
-
function ne(t) {
|
|
130
|
-
const r = new Date(t);
|
|
131
|
-
return r.setHours(23, 59, 59, 999), r;
|
|
132
|
-
}
|
|
133
|
-
export {
|
|
134
|
-
ee as Calendar
|
|
135
|
-
};
|
package/dist/index16.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("./index113.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;
|