@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,191 @@
|
|
|
1
|
+
import { jsxs as x, jsx as B, Fragment as Q } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as U, useState as F, useRef as g, useImperativeHandle as Z, useCallback as X, useEffect as L, isValidElement as _, cloneElement as D } from "react";
|
|
3
|
+
import { createPortal as R } from "react-dom";
|
|
4
|
+
import f from "./Popover.module.css.mjs";
|
|
5
|
+
const tt = (e, a, c, l) => {
|
|
6
|
+
const u = window.scrollX, d = window.scrollY;
|
|
7
|
+
let r = 0, o = 0;
|
|
8
|
+
const t = {
|
|
9
|
+
top: e.top + d - a.height - l,
|
|
10
|
+
bottom: e.bottom + d + l,
|
|
11
|
+
left: e.left + u - a.width - l,
|
|
12
|
+
right: e.right + u + l,
|
|
13
|
+
centerX: e.left + u + (e.width - a.width) / 2,
|
|
14
|
+
centerY: e.top + d + (e.height - a.height) / 2,
|
|
15
|
+
startX: e.left + u,
|
|
16
|
+
endX: e.right + u - a.width,
|
|
17
|
+
startY: e.top + d,
|
|
18
|
+
endY: e.bottom + d - a.height
|
|
19
|
+
};
|
|
20
|
+
switch (c) {
|
|
21
|
+
case "top":
|
|
22
|
+
r = t.top, o = t.centerX;
|
|
23
|
+
break;
|
|
24
|
+
case "top-start":
|
|
25
|
+
r = t.top, o = t.startX;
|
|
26
|
+
break;
|
|
27
|
+
case "top-end":
|
|
28
|
+
r = t.top, o = t.endX;
|
|
29
|
+
break;
|
|
30
|
+
case "bottom":
|
|
31
|
+
r = t.bottom, o = t.centerX;
|
|
32
|
+
break;
|
|
33
|
+
case "bottom-start":
|
|
34
|
+
r = t.bottom, o = t.startX;
|
|
35
|
+
break;
|
|
36
|
+
case "bottom-end":
|
|
37
|
+
r = t.bottom, o = t.endX;
|
|
38
|
+
break;
|
|
39
|
+
case "left":
|
|
40
|
+
r = t.centerY, o = t.left;
|
|
41
|
+
break;
|
|
42
|
+
case "left-start":
|
|
43
|
+
r = t.startY, o = t.left;
|
|
44
|
+
break;
|
|
45
|
+
case "left-end":
|
|
46
|
+
r = t.endY, o = t.left;
|
|
47
|
+
break;
|
|
48
|
+
case "right":
|
|
49
|
+
r = t.centerY, o = t.right;
|
|
50
|
+
break;
|
|
51
|
+
case "right-start":
|
|
52
|
+
r = t.startY, o = t.right;
|
|
53
|
+
break;
|
|
54
|
+
case "right-end":
|
|
55
|
+
r = t.endY, o = t.right;
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
return { top: r, left: o };
|
|
59
|
+
}, et = U(
|
|
60
|
+
({
|
|
61
|
+
trigger: e,
|
|
62
|
+
content: a,
|
|
63
|
+
placement: c = "bottom",
|
|
64
|
+
triggerType: l = "click",
|
|
65
|
+
open: u,
|
|
66
|
+
defaultOpen: d = !1,
|
|
67
|
+
onOpenChange: r,
|
|
68
|
+
showArrow: o = !0,
|
|
69
|
+
offset: t = 8,
|
|
70
|
+
closeOnClickOutside: N = !0,
|
|
71
|
+
closeOnEscape: W = !0,
|
|
72
|
+
openDelay: P = 0,
|
|
73
|
+
closeDelay: T = 150,
|
|
74
|
+
fullWidth: M = !1,
|
|
75
|
+
className: I,
|
|
76
|
+
...$
|
|
77
|
+
}, z) => {
|
|
78
|
+
const [A, q] = F(d), [j, y] = F({ top: 0, left: 0 }), m = g(null), p = g(null), b = g(null), v = g(null);
|
|
79
|
+
Z(z, () => m.current);
|
|
80
|
+
const C = u !== void 0, s = C ? u : A, i = X(
|
|
81
|
+
(n) => {
|
|
82
|
+
C || q(n), r?.(n);
|
|
83
|
+
},
|
|
84
|
+
[C, r]
|
|
85
|
+
), h = X(() => {
|
|
86
|
+
if (!m.current || !p.current) return;
|
|
87
|
+
const n = m.current.getBoundingClientRect(), E = p.current.getBoundingClientRect(), Y = tt(
|
|
88
|
+
n,
|
|
89
|
+
E,
|
|
90
|
+
c,
|
|
91
|
+
t
|
|
92
|
+
);
|
|
93
|
+
y(Y);
|
|
94
|
+
}, [c, t]);
|
|
95
|
+
L(() => {
|
|
96
|
+
if (s)
|
|
97
|
+
return requestAnimationFrame(h), window.addEventListener("resize", h), window.addEventListener("scroll", h, !0), () => {
|
|
98
|
+
window.removeEventListener("resize", h), window.removeEventListener("scroll", h, !0);
|
|
99
|
+
};
|
|
100
|
+
}, [s, h]), L(() => {
|
|
101
|
+
if (!s || !N) return;
|
|
102
|
+
const n = (E) => {
|
|
103
|
+
const Y = E.target;
|
|
104
|
+
m.current && !m.current.contains(Y) && p.current && !p.current.contains(Y) && i(!1);
|
|
105
|
+
};
|
|
106
|
+
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
107
|
+
}, [s, N, i]), L(() => {
|
|
108
|
+
if (!s || !W) return;
|
|
109
|
+
const n = (E) => {
|
|
110
|
+
E.key === "Escape" && i(!1);
|
|
111
|
+
};
|
|
112
|
+
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
113
|
+
}, [s, W, i]), L(() => () => {
|
|
114
|
+
b.current && clearTimeout(b.current), v.current && clearTimeout(v.current);
|
|
115
|
+
}, []);
|
|
116
|
+
const w = X(() => {
|
|
117
|
+
v.current && clearTimeout(v.current), P > 0 ? b.current = setTimeout(() => i(!0), P) : i(!0);
|
|
118
|
+
}, [P, i]), k = X(() => {
|
|
119
|
+
b.current && clearTimeout(b.current), T > 0 ? v.current = setTimeout(
|
|
120
|
+
() => i(!1),
|
|
121
|
+
T
|
|
122
|
+
) : i(!1);
|
|
123
|
+
}, [T, i]), H = X(() => {
|
|
124
|
+
s ? k() : w();
|
|
125
|
+
}, [s, w, k]), S = () => {
|
|
126
|
+
const n = {
|
|
127
|
+
"aria-expanded": s,
|
|
128
|
+
"aria-haspopup": !0
|
|
129
|
+
};
|
|
130
|
+
switch (l) {
|
|
131
|
+
case "click":
|
|
132
|
+
return { ...n, onClick: H };
|
|
133
|
+
case "hover":
|
|
134
|
+
return {
|
|
135
|
+
...n,
|
|
136
|
+
onMouseEnter: w,
|
|
137
|
+
onMouseLeave: k
|
|
138
|
+
};
|
|
139
|
+
case "focus":
|
|
140
|
+
return {
|
|
141
|
+
...n,
|
|
142
|
+
onFocus: w,
|
|
143
|
+
onBlur: k
|
|
144
|
+
};
|
|
145
|
+
case "manual":
|
|
146
|
+
return n;
|
|
147
|
+
default:
|
|
148
|
+
return n;
|
|
149
|
+
}
|
|
150
|
+
}, V = _(e) ? D(
|
|
151
|
+
e,
|
|
152
|
+
S()
|
|
153
|
+
) : e, G = () => c.startsWith("top") ? "bottom" : c.startsWith("bottom") ? "top" : c.startsWith("left") ? "right" : c.startsWith("right") ? "left" : "top", J = [f.popover, s && f.visible, I].filter(Boolean).join(" "), K = /* @__PURE__ */ x(
|
|
154
|
+
"div",
|
|
155
|
+
{
|
|
156
|
+
ref: p,
|
|
157
|
+
className: J,
|
|
158
|
+
style: {
|
|
159
|
+
top: j.top,
|
|
160
|
+
left: j.left
|
|
161
|
+
},
|
|
162
|
+
role: "dialog",
|
|
163
|
+
"aria-modal": "false",
|
|
164
|
+
onMouseEnter: l === "hover" ? w : void 0,
|
|
165
|
+
onMouseLeave: l === "hover" ? k : void 0,
|
|
166
|
+
...$,
|
|
167
|
+
children: [
|
|
168
|
+
o && /* @__PURE__ */ B(
|
|
169
|
+
"div",
|
|
170
|
+
{
|
|
171
|
+
className: `${f.arrow} ${f[`arrow-${G()}`]}`,
|
|
172
|
+
"aria-hidden": "true"
|
|
173
|
+
}
|
|
174
|
+
),
|
|
175
|
+
/* @__PURE__ */ B("div", { className: f.content, children: a })
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
), O = [
|
|
179
|
+
f.trigger,
|
|
180
|
+
M && f.triggerFullWidth
|
|
181
|
+
].filter(Boolean).join(" ");
|
|
182
|
+
return /* @__PURE__ */ x(Q, { children: [
|
|
183
|
+
/* @__PURE__ */ B("div", { ref: m, className: O, children: V }),
|
|
184
|
+
s && R(K, document.body)
|
|
185
|
+
] });
|
|
186
|
+
}
|
|
187
|
+
);
|
|
188
|
+
et.displayName = "Popover";
|
|
189
|
+
export {
|
|
190
|
+
et as Popover
|
|
191
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./ProgressBar.module.css.cjs"),d=({value:t,max:i=100,variant:n="primary",size:c="md",showLabel:o=!1,label:r,indeterminate:s=!1,className:u,...f})=>{const l=t!==void 0?Math.min(Math.max(t/i*100,0),100):0,m=[a.default.container,a.default[c],a.default[n],s&&a.default.indeterminate,u].filter(Boolean).join(" ");return e.jsxs("div",{className:m,...f,children:[(o||r)&&e.jsxs("div",{className:a.default.labelWrapper,children:[r&&e.jsx("span",{children:r}),o&&!s&&e.jsxs("span",{className:a.default.percentage,children:[Math.round(l),"%"]})]}),e.jsx("div",{className:a.default.track,role:"progressbar","aria-valuenow":s?void 0:t,"aria-valuemin":0,"aria-valuemax":i,"aria-label":r||`Progress: ${Math.round(l)}%`,children:e.jsx("div",{className:a.default.bar,style:{width:s?void 0:`${l}%`}})})]})};d.displayName="ProgressBar";exports.ProgressBar=d;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsxs as o, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import a from "./ProgressBar.module.css.mjs";
|
|
3
|
+
const v = ({
|
|
4
|
+
value: e,
|
|
5
|
+
max: c = 100,
|
|
6
|
+
variant: t = "primary",
|
|
7
|
+
size: d = "md",
|
|
8
|
+
showLabel: l = !1,
|
|
9
|
+
label: r,
|
|
10
|
+
indeterminate: s = !1,
|
|
11
|
+
className: m,
|
|
12
|
+
...p
|
|
13
|
+
}) => {
|
|
14
|
+
const i = e !== void 0 ? Math.min(Math.max(e / c * 100, 0), 100) : 0, h = [
|
|
15
|
+
a.container,
|
|
16
|
+
a[d],
|
|
17
|
+
a[t],
|
|
18
|
+
s && a.indeterminate,
|
|
19
|
+
m
|
|
20
|
+
].filter(Boolean).join(" ");
|
|
21
|
+
return /* @__PURE__ */ o("div", { className: h, ...p, children: [
|
|
22
|
+
(l || r) && /* @__PURE__ */ o("div", { className: a.labelWrapper, children: [
|
|
23
|
+
r && /* @__PURE__ */ n("span", { children: r }),
|
|
24
|
+
l && !s && /* @__PURE__ */ o("span", { className: a.percentage, children: [
|
|
25
|
+
Math.round(i),
|
|
26
|
+
"%"
|
|
27
|
+
] })
|
|
28
|
+
] }),
|
|
29
|
+
/* @__PURE__ */ n(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
className: a.track,
|
|
33
|
+
role: "progressbar",
|
|
34
|
+
"aria-valuenow": s ? void 0 : e,
|
|
35
|
+
"aria-valuemin": 0,
|
|
36
|
+
"aria-valuemax": c,
|
|
37
|
+
"aria-label": r || `Progress: ${Math.round(i)}%`,
|
|
38
|
+
children: /* @__PURE__ */ n(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
className: a.bar,
|
|
42
|
+
style: {
|
|
43
|
+
width: s ? void 0 : `${i}%`
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] });
|
|
50
|
+
};
|
|
51
|
+
v.displayName = "ProgressBar";
|
|
52
|
+
export {
|
|
53
|
+
v as ProgressBar
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),i=require("react"),r=require("lucide-react"),s=require("./QuickActions.module.css.cjs"),p=i.forwardRef(({actions:o,variant:t="fab",position:N="bottom-right",primaryAction:h,triggerIcon:x,showLabels:k,fixed:$=!0,offset:y=24,className:v,style:A,...f},g)=>{const[a,n]=i.useState(!1),u=i.useRef(null),j=k??t==="bar";i.useEffect(()=>{if(!a)return;const e=d=>{u.current&&!u.current.contains(d.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[a]),i.useEffect(()=>{if(!a)return;const e=d=>{d.key==="Escape"&&n(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]);const c=e=>{e.disabled||(e.onClick(),(t==="fab"||t==="menu")&&n(!1))},b=[s.default.quickActions,s.default[`variant-${t}`],s.default[`position-${N}`],$&&s.default.fixed,a&&s.default.open,v].filter(Boolean).join(" "),m={...A,"--offset":`${y}px`};return t==="fab"?l.jsxs("div",{ref:u,className:b,style:m,...f,children:[l.jsx("div",{className:s.default.fabActions,children:o.map((e,d)=>l.jsxs("button",{type:"button",className:`${s.default.fabAction} ${e.variant?s.default[`action-${e.variant}`]:""} ${e.disabled?s.default.actionDisabled:""}`,onClick:()=>c(e),disabled:e.disabled,style:{transitionDelay:a?`${d*50}ms`:"0ms"},title:e.label,children:[l.jsx("span",{className:s.default.fabActionIcon,children:e.icon}),j&&l.jsx("span",{className:s.default.fabActionLabel,children:e.label})]},e.id))}),l.jsx("button",{type:"button",className:s.default.fabTrigger,onClick:()=>{h&&!a?c(h):n(!a)},"aria-expanded":a,"aria-label":a?"Close actions":"Open actions",children:l.jsx("span",{className:`${s.default.fabTriggerIcon} ${a?s.default.fabTriggerIconRotate:""}`,children:a?l.jsx(r.X,{size:24}):x||l.jsx(r.Plus,{size:24})})})]}):t==="bar"?l.jsx("div",{ref:g,className:b,style:m,...f,children:l.jsx("div",{className:s.default.bar,children:o.map(e=>l.jsxs("button",{type:"button",className:`${s.default.barAction} ${e.variant?s.default[`action-${e.variant}`]:""} ${e.disabled?s.default.actionDisabled:""}`,onClick:()=>c(e),disabled:e.disabled,title:e.label,children:[l.jsx("span",{className:s.default.barActionIcon,children:e.icon}),j&&l.jsx("span",{className:s.default.barActionLabel,children:e.label}),e.shortcut&&l.jsx("kbd",{className:s.default.shortcut,children:e.shortcut})]},e.id))})}):l.jsxs("div",{ref:u,className:b,style:m,...f,children:[a&&l.jsx("div",{className:s.default.menu,children:o.map(e=>l.jsxs("button",{type:"button",className:`${s.default.menuAction} ${e.variant?s.default[`action-${e.variant}`]:""} ${e.disabled?s.default.actionDisabled:""}`,onClick:()=>c(e),disabled:e.disabled,children:[l.jsx("span",{className:s.default.menuActionIcon,children:e.icon}),l.jsx("span",{className:s.default.menuActionLabel,children:e.label}),e.shortcut&&l.jsx("kbd",{className:s.default.shortcut,children:e.shortcut})]},e.id))}),l.jsx("button",{type:"button",className:s.default.menuTrigger,onClick:()=>n(!a),"aria-expanded":a,"aria-label":a?"Close menu":"Open menu",children:a?l.jsx(r.X,{size:20}):x||l.jsx(r.Plus,{size:20})})]})});p.displayName="QuickActions";exports.QuickActions=p;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as x, useState as E, useRef as D, useEffect as N } from "react";
|
|
3
|
+
import { X as $, Plus as k } from "lucide-react";
|
|
4
|
+
import s from "./QuickActions.module.css.mjs";
|
|
5
|
+
const I = x(
|
|
6
|
+
({
|
|
7
|
+
actions: o,
|
|
8
|
+
variant: a = "fab",
|
|
9
|
+
position: y = "bottom-right",
|
|
10
|
+
primaryAction: f,
|
|
11
|
+
triggerIcon: h,
|
|
12
|
+
showLabels: v,
|
|
13
|
+
fixed: A = !0,
|
|
14
|
+
offset: C = 24,
|
|
15
|
+
className: g,
|
|
16
|
+
style: L,
|
|
17
|
+
...b
|
|
18
|
+
}, w) => {
|
|
19
|
+
const [l, t] = E(!1), d = D(null), p = v ?? a === "bar";
|
|
20
|
+
N(() => {
|
|
21
|
+
if (!l) return;
|
|
22
|
+
const e = (i) => {
|
|
23
|
+
d.current && !d.current.contains(i.target) && t(!1);
|
|
24
|
+
};
|
|
25
|
+
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
|
|
26
|
+
}, [l]), N(() => {
|
|
27
|
+
if (!l) return;
|
|
28
|
+
const e = (i) => {
|
|
29
|
+
i.key === "Escape" && t(!1);
|
|
30
|
+
};
|
|
31
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
32
|
+
}, [l]);
|
|
33
|
+
const c = (e) => {
|
|
34
|
+
e.disabled || (e.onClick(), (a === "fab" || a === "menu") && t(!1));
|
|
35
|
+
}, m = [
|
|
36
|
+
s.quickActions,
|
|
37
|
+
s[`variant-${a}`],
|
|
38
|
+
s[`position-${y}`],
|
|
39
|
+
A && s.fixed,
|
|
40
|
+
l && s.open,
|
|
41
|
+
g
|
|
42
|
+
].filter(Boolean).join(" "), u = {
|
|
43
|
+
...L,
|
|
44
|
+
"--offset": `${C}px`
|
|
45
|
+
};
|
|
46
|
+
return a === "fab" ? /* @__PURE__ */ r(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
ref: d,
|
|
50
|
+
className: m,
|
|
51
|
+
style: u,
|
|
52
|
+
...b,
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ n("div", { className: s.fabActions, children: o.map((e, i) => /* @__PURE__ */ r(
|
|
55
|
+
"button",
|
|
56
|
+
{
|
|
57
|
+
type: "button",
|
|
58
|
+
className: `${s.fabAction} ${e.variant ? s[`action-${e.variant}`] : ""} ${e.disabled ? s.actionDisabled : ""}`,
|
|
59
|
+
onClick: () => c(e),
|
|
60
|
+
disabled: e.disabled,
|
|
61
|
+
style: { transitionDelay: l ? `${i * 50}ms` : "0ms" },
|
|
62
|
+
title: e.label,
|
|
63
|
+
children: [
|
|
64
|
+
/* @__PURE__ */ n("span", { className: s.fabActionIcon, children: e.icon }),
|
|
65
|
+
p && /* @__PURE__ */ n("span", { className: s.fabActionLabel, children: e.label })
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
e.id
|
|
69
|
+
)) }),
|
|
70
|
+
/* @__PURE__ */ n(
|
|
71
|
+
"button",
|
|
72
|
+
{
|
|
73
|
+
type: "button",
|
|
74
|
+
className: s.fabTrigger,
|
|
75
|
+
onClick: () => {
|
|
76
|
+
f && !l ? c(f) : t(!l);
|
|
77
|
+
},
|
|
78
|
+
"aria-expanded": l,
|
|
79
|
+
"aria-label": l ? "Close actions" : "Open actions",
|
|
80
|
+
children: /* @__PURE__ */ n(
|
|
81
|
+
"span",
|
|
82
|
+
{
|
|
83
|
+
className: `${s.fabTriggerIcon} ${l ? s.fabTriggerIconRotate : ""}`,
|
|
84
|
+
children: l ? /* @__PURE__ */ n($, { size: 24 }) : h || /* @__PURE__ */ n(k, { size: 24 })
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
) : a === "bar" ? /* @__PURE__ */ n("div", { ref: w, className: m, style: u, ...b, children: /* @__PURE__ */ n("div", { className: s.bar, children: o.map((e) => /* @__PURE__ */ r(
|
|
92
|
+
"button",
|
|
93
|
+
{
|
|
94
|
+
type: "button",
|
|
95
|
+
className: `${s.barAction} ${e.variant ? s[`action-${e.variant}`] : ""} ${e.disabled ? s.actionDisabled : ""}`,
|
|
96
|
+
onClick: () => c(e),
|
|
97
|
+
disabled: e.disabled,
|
|
98
|
+
title: e.label,
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ n("span", { className: s.barActionIcon, children: e.icon }),
|
|
101
|
+
p && /* @__PURE__ */ n("span", { className: s.barActionLabel, children: e.label }),
|
|
102
|
+
e.shortcut && /* @__PURE__ */ n("kbd", { className: s.shortcut, children: e.shortcut })
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
e.id
|
|
106
|
+
)) }) }) : /* @__PURE__ */ r(
|
|
107
|
+
"div",
|
|
108
|
+
{
|
|
109
|
+
ref: d,
|
|
110
|
+
className: m,
|
|
111
|
+
style: u,
|
|
112
|
+
...b,
|
|
113
|
+
children: [
|
|
114
|
+
l && /* @__PURE__ */ n("div", { className: s.menu, children: o.map((e) => /* @__PURE__ */ r(
|
|
115
|
+
"button",
|
|
116
|
+
{
|
|
117
|
+
type: "button",
|
|
118
|
+
className: `${s.menuAction} ${e.variant ? s[`action-${e.variant}`] : ""} ${e.disabled ? s.actionDisabled : ""}`,
|
|
119
|
+
onClick: () => c(e),
|
|
120
|
+
disabled: e.disabled,
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ n("span", { className: s.menuActionIcon, children: e.icon }),
|
|
123
|
+
/* @__PURE__ */ n("span", { className: s.menuActionLabel, children: e.label }),
|
|
124
|
+
e.shortcut && /* @__PURE__ */ n("kbd", { className: s.shortcut, children: e.shortcut })
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
e.id
|
|
128
|
+
)) }),
|
|
129
|
+
/* @__PURE__ */ n(
|
|
130
|
+
"button",
|
|
131
|
+
{
|
|
132
|
+
type: "button",
|
|
133
|
+
className: s.menuTrigger,
|
|
134
|
+
onClick: () => t(!l),
|
|
135
|
+
"aria-expanded": l,
|
|
136
|
+
"aria-label": l ? "Close menu" : "Open menu",
|
|
137
|
+
children: l ? /* @__PURE__ */ n($, { size: 20 }) : h || /* @__PURE__ */ n(k, { size: 20 })
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
I.displayName = "QuickActions";
|
|
146
|
+
export {
|
|
147
|
+
I as QuickActions
|
|
148
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),f=require("react"),g=require("lucide-react"),e=require("./Radio.module.css.cjs"),h=f.forwardRef(({label:d,helperText:l,error:s,size:m="md",className:j,id:N,disabled:n,required:t,"aria-label":c,"aria-describedby":o,...b},v)=>{const x=f.useId(),r=N||`radio-${x}`,u=`${r}-error`,p=`${r}-helper`,i=[];s&&i.push(u),l&&!s&&i.push(p),o&&i.push(o);const R=i.length>0?i.join(" "):void 0;!(d||c)&&process.env.NODE_ENV==="development"&&console.warn("Radio: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const y=[e.default.container,e.default[m],s&&e.default.error,n&&e.default.disabled,j].filter(Boolean).join(" ");return a.jsxs("div",{className:y,children:[a.jsx("input",{ref:v,type:"radio",id:r,className:e.default.input,disabled:n,required:t,"aria-required":t||void 0,"aria-invalid":s?"true":"false","aria-describedby":R,"aria-label":d?void 0:c,...b}),a.jsxs("label",{htmlFor:r,className:e.default.labelWrapper,children:[a.jsx("span",{className:e.default.radio,"aria-hidden":"true",children:a.jsx("span",{className:e.default.dot})}),d&&a.jsxs("span",{className:e.default.label,children:[d,t&&a.jsx("span",{className:e.default.required,"aria-hidden":"true",children:"*"})]})]}),l&&!s&&a.jsx("p",{id:p,className:e.default.helperText,children:l}),s&&a.jsxs("p",{id:u,className:e.default.errorMessage,role:"alert","aria-live":"assertive",children:[a.jsx(g.AlertCircle,{size:14,"aria-hidden":"true"}),a.jsx("span",{children:s})]})]})});h.displayName="Radio";exports.Radio=h;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsxs as o, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as j, useId as R } from "react";
|
|
3
|
+
import { AlertCircle as A } from "lucide-react";
|
|
4
|
+
import e from "./Radio.module.css.mjs";
|
|
5
|
+
const B = j(
|
|
6
|
+
({
|
|
7
|
+
label: r,
|
|
8
|
+
helperText: n,
|
|
9
|
+
error: a,
|
|
10
|
+
size: N = "md",
|
|
11
|
+
className: f,
|
|
12
|
+
id: u,
|
|
13
|
+
disabled: c,
|
|
14
|
+
required: l,
|
|
15
|
+
"aria-label": t,
|
|
16
|
+
"aria-describedby": p,
|
|
17
|
+
...b
|
|
18
|
+
}, v) => {
|
|
19
|
+
const y = R(), d = u || `radio-${y}`, m = `${d}-error`, h = `${d}-helper`, i = [];
|
|
20
|
+
a && i.push(m), n && !a && i.push(h), p && i.push(p);
|
|
21
|
+
const I = i.length > 0 ? i.join(" ") : void 0;
|
|
22
|
+
!(r || t) && process.env.NODE_ENV === "development" && console.warn(
|
|
23
|
+
"Radio: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users."
|
|
24
|
+
);
|
|
25
|
+
const g = [
|
|
26
|
+
e.container,
|
|
27
|
+
e[N],
|
|
28
|
+
a && e.error,
|
|
29
|
+
c && e.disabled,
|
|
30
|
+
f
|
|
31
|
+
].filter(Boolean).join(" ");
|
|
32
|
+
return /* @__PURE__ */ o("div", { className: g, children: [
|
|
33
|
+
/* @__PURE__ */ s(
|
|
34
|
+
"input",
|
|
35
|
+
{
|
|
36
|
+
ref: v,
|
|
37
|
+
type: "radio",
|
|
38
|
+
id: d,
|
|
39
|
+
className: e.input,
|
|
40
|
+
disabled: c,
|
|
41
|
+
required: l,
|
|
42
|
+
"aria-required": l || void 0,
|
|
43
|
+
"aria-invalid": a ? "true" : "false",
|
|
44
|
+
"aria-describedby": I,
|
|
45
|
+
"aria-label": r ? void 0 : t,
|
|
46
|
+
...b
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ o("label", { htmlFor: d, className: e.labelWrapper, children: [
|
|
50
|
+
/* @__PURE__ */ s("span", { className: e.radio, "aria-hidden": "true", children: /* @__PURE__ */ s("span", { className: e.dot }) }),
|
|
51
|
+
r && /* @__PURE__ */ o("span", { className: e.label, children: [
|
|
52
|
+
r,
|
|
53
|
+
l && /* @__PURE__ */ s("span", { className: e.required, "aria-hidden": "true", children: "*" })
|
|
54
|
+
] })
|
|
55
|
+
] }),
|
|
56
|
+
n && !a && /* @__PURE__ */ s("p", { id: h, className: e.helperText, children: n }),
|
|
57
|
+
a && /* @__PURE__ */ o(
|
|
58
|
+
"p",
|
|
59
|
+
{
|
|
60
|
+
id: m,
|
|
61
|
+
className: e.errorMessage,
|
|
62
|
+
role: "alert",
|
|
63
|
+
"aria-live": "assertive",
|
|
64
|
+
children: [
|
|
65
|
+
/* @__PURE__ */ s(A, { size: 14, "aria-hidden": "true" }),
|
|
66
|
+
/* @__PURE__ */ s("span", { children: a })
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
] });
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
B.displayName = "Radio";
|
|
74
|
+
export {
|
|
75
|
+
B as Radio
|
|
76
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),u=require("lucide-react"),e=require("./SearchInput.module.css.cjs"),p=r.forwardRef(({size:l="md",value:a,onClear:d,onSearch:t,showClear:j=!0,showSearchButton:m=!1,searchIcon:C,clearLabel:b="Clear search",searchLabel:x="Search",loading:n=!1,fullWidth:y=!1,disabled:f=!1,className:k,onKeyDown:h,...I},N)=>{const S=a!==void 0&&a!=="",g=r.useCallback(o=>{o.key==="Enter"&&t&&t(o.currentTarget.value),h?.(o)},[t,h]),B=r.useCallback(()=>{d?.()},[d]),q=r.useCallback(()=>{t&&typeof a=="string"&&t(a)},[t,a]),z=[e.default.container,e.default[l],y&&e.default.fullWidth,n&&e.default.loading,f&&e.default.disabled,k].filter(Boolean).join(" "),i={sm:"Sm",md:"Md",lg:"Lg",xl:"Xl"}[l],M=[e.default.input,e.default[`input${i}`]].join(" "),R=[e.default.searchIcon,e.default[`searchIcon${i}`]].join(" "),$=[e.default.clearButton,e.default[`clearButton${i}`]].join(" "),c=l==="sm"?16:l==="lg"?22:l==="xl"?26:18;return s.jsxs("div",{className:z,children:[s.jsx("span",{className:R,"aria-hidden":"true",children:n?s.jsx(u.Loader2,{size:c,className:e.default.spinner}):C||s.jsx(u.Search,{size:c})}),s.jsx("input",{ref:N,type:"search",className:M,value:a,disabled:f,onKeyDown:g,...I}),j&&S&&!n&&s.jsx("button",{type:"button",className:$,onClick:B,"aria-label":b,children:s.jsx(u.X,{size:c-2})}),m&&s.jsx("button",{type:"button",className:e.default.searchButton,onClick:q,"aria-label":x,disabled:n,children:s.jsx(u.Search,{size:c})})]})});p.displayName="SearchInput";exports.SearchInput=p;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { jsxs as L, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as S, useCallback as i } from "react";
|
|
3
|
+
import { Loader2 as X, Search as u, X as D } from "lucide-react";
|
|
4
|
+
import s from "./SearchInput.module.css.mjs";
|
|
5
|
+
const E = S(
|
|
6
|
+
({
|
|
7
|
+
size: n = "md",
|
|
8
|
+
value: t,
|
|
9
|
+
onClear: m,
|
|
10
|
+
onSearch: a,
|
|
11
|
+
showClear: h = !0,
|
|
12
|
+
showSearchButton: f = !1,
|
|
13
|
+
searchIcon: C,
|
|
14
|
+
clearLabel: y = "Clear search",
|
|
15
|
+
searchLabel: b = "Search",
|
|
16
|
+
loading: l = !1,
|
|
17
|
+
fullWidth: N = !1,
|
|
18
|
+
disabled: p = !1,
|
|
19
|
+
className: j,
|
|
20
|
+
onKeyDown: d,
|
|
21
|
+
...k
|
|
22
|
+
}, x) => {
|
|
23
|
+
const B = t !== void 0 && t !== "", I = i(
|
|
24
|
+
(o) => {
|
|
25
|
+
o.key === "Enter" && a && a(o.currentTarget.value), d?.(o);
|
|
26
|
+
},
|
|
27
|
+
[a, d]
|
|
28
|
+
), z = i(() => {
|
|
29
|
+
m?.();
|
|
30
|
+
}, [m]), g = i(() => {
|
|
31
|
+
a && typeof t == "string" && a(t);
|
|
32
|
+
}, [a, t]), M = [
|
|
33
|
+
s.container,
|
|
34
|
+
s[n],
|
|
35
|
+
N && s.fullWidth,
|
|
36
|
+
l && s.loading,
|
|
37
|
+
p && s.disabled,
|
|
38
|
+
j
|
|
39
|
+
].filter(Boolean).join(" "), r = { sm: "Sm", md: "Md", lg: "Lg", xl: "Xl" }[n], $ = [s.input, s[`input${r}`]].join(" "), w = [
|
|
40
|
+
s.searchIcon,
|
|
41
|
+
s[`searchIcon${r}`]
|
|
42
|
+
].join(" "), K = [
|
|
43
|
+
s.clearButton,
|
|
44
|
+
s[`clearButton${r}`]
|
|
45
|
+
].join(" "), c = n === "sm" ? 16 : n === "lg" ? 22 : n === "xl" ? 26 : 18;
|
|
46
|
+
return /* @__PURE__ */ L("div", { className: M, children: [
|
|
47
|
+
/* @__PURE__ */ e("span", { className: w, "aria-hidden": "true", children: l ? /* @__PURE__ */ e(X, { size: c, className: s.spinner }) : C || /* @__PURE__ */ e(u, { size: c }) }),
|
|
48
|
+
/* @__PURE__ */ e(
|
|
49
|
+
"input",
|
|
50
|
+
{
|
|
51
|
+
ref: x,
|
|
52
|
+
type: "search",
|
|
53
|
+
className: $,
|
|
54
|
+
value: t,
|
|
55
|
+
disabled: p,
|
|
56
|
+
onKeyDown: I,
|
|
57
|
+
...k
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
h && B && !l && /* @__PURE__ */ e(
|
|
61
|
+
"button",
|
|
62
|
+
{
|
|
63
|
+
type: "button",
|
|
64
|
+
className: K,
|
|
65
|
+
onClick: z,
|
|
66
|
+
"aria-label": y,
|
|
67
|
+
children: /* @__PURE__ */ e(D, { size: c - 2 })
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
f && /* @__PURE__ */ e(
|
|
71
|
+
"button",
|
|
72
|
+
{
|
|
73
|
+
type: "button",
|
|
74
|
+
className: s.searchButton,
|
|
75
|
+
onClick: g,
|
|
76
|
+
"aria-label": b,
|
|
77
|
+
disabled: l,
|
|
78
|
+
children: /* @__PURE__ */ e(u, { size: c })
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
] });
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
E.displayName = "SearchInput";
|
|
85
|
+
export {
|
|
86
|
+
E as SearchInput
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),$=require("react"),e=require("./Select.module.css.cjs"),n=$.forwardRef(({label:i,error:a,helperText:d,options:o,placeholder:r="Select an option...",fullWidth:u=!1,size:f="md",optional:m=!1,className:h,id:j,disabled:p,required:c,children:b,...x},N)=>{const s=j||`select-${Math.random().toString(36).substr(2,9)}`,v=[e.default.selectContainer,u&&e.default.fullWidth,a&&e.default.error,h].filter(Boolean).join(" "),S=[e.default.select,e.default[f]].filter(Boolean).join(" ");return l.jsxs("div",{className:v,children:[i&&l.jsxs("label",{htmlFor:s,className:e.default.label,children:[i,m&&l.jsx("span",{className:e.default.optional,children:"(optional)"}),c&&l.jsx("span",{"aria-label":"required",children:"*"})]}),l.jsx("div",{className:e.default.selectWrapper,children:l.jsxs("select",{ref:N,id:s,className:S,disabled:p,required:c,"aria-invalid":a?"true":"false","aria-describedby":a?`${s}-error`:d?`${s}-helper`:void 0,...x,children:[r&&l.jsx("option",{value:"",disabled:!0,className:e.default.placeholder,children:r}),o?.map(t=>l.jsx("option",{value:t.value,disabled:t.disabled,children:t.label},t.value)),b]})}),d&&!a&&l.jsx("span",{id:`${s}-helper`,className:e.default.helperText,children:d}),a&&l.jsxs("span",{id:`${s}-error`,className:e.default.errorMessage,role:"alert",children:[l.jsx("span",{className:e.default.errorIcon,"aria-hidden":"true",children:"⚠"}),a]})]})});n.displayName="Select";exports.Select=n;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as y } from "react";
|
|
3
|
+
import e from "./Select.module.css.mjs";
|
|
4
|
+
const C = y(
|
|
5
|
+
({
|
|
6
|
+
label: n,
|
|
7
|
+
error: l,
|
|
8
|
+
helperText: c,
|
|
9
|
+
options: o,
|
|
10
|
+
placeholder: t = "Select an option...",
|
|
11
|
+
fullWidth: m = !1,
|
|
12
|
+
size: h = "md",
|
|
13
|
+
optional: p = !1,
|
|
14
|
+
className: f,
|
|
15
|
+
id: u,
|
|
16
|
+
disabled: N,
|
|
17
|
+
required: d,
|
|
18
|
+
children: b,
|
|
19
|
+
...v
|
|
20
|
+
}, $) => {
|
|
21
|
+
const s = u || `select-${Math.random().toString(36).substr(2, 9)}`, j = [
|
|
22
|
+
e.selectContainer,
|
|
23
|
+
m && e.fullWidth,
|
|
24
|
+
l && e.error,
|
|
25
|
+
f
|
|
26
|
+
].filter(Boolean).join(" "), S = [e.select, e[h]].filter(Boolean).join(" ");
|
|
27
|
+
return /* @__PURE__ */ i("div", { className: j, children: [
|
|
28
|
+
n && /* @__PURE__ */ i("label", { htmlFor: s, className: e.label, children: [
|
|
29
|
+
n,
|
|
30
|
+
p && /* @__PURE__ */ a("span", { className: e.optional, children: "(optional)" }),
|
|
31
|
+
d && /* @__PURE__ */ a("span", { "aria-label": "required", children: "*" })
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ a("div", { className: e.selectWrapper, children: /* @__PURE__ */ i(
|
|
34
|
+
"select",
|
|
35
|
+
{
|
|
36
|
+
ref: $,
|
|
37
|
+
id: s,
|
|
38
|
+
className: S,
|
|
39
|
+
disabled: N,
|
|
40
|
+
required: d,
|
|
41
|
+
"aria-invalid": l ? "true" : "false",
|
|
42
|
+
"aria-describedby": l ? `${s}-error` : c ? `${s}-helper` : void 0,
|
|
43
|
+
...v,
|
|
44
|
+
children: [
|
|
45
|
+
t && /* @__PURE__ */ a("option", { value: "", disabled: !0, className: e.placeholder, children: t }),
|
|
46
|
+
o?.map((r) => /* @__PURE__ */ a(
|
|
47
|
+
"option",
|
|
48
|
+
{
|
|
49
|
+
value: r.value,
|
|
50
|
+
disabled: r.disabled,
|
|
51
|
+
children: r.label
|
|
52
|
+
},
|
|
53
|
+
r.value
|
|
54
|
+
)),
|
|
55
|
+
b
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
) }),
|
|
59
|
+
c && !l && /* @__PURE__ */ a("span", { id: `${s}-helper`, className: e.helperText, children: c }),
|
|
60
|
+
l && /* @__PURE__ */ i(
|
|
61
|
+
"span",
|
|
62
|
+
{
|
|
63
|
+
id: `${s}-error`,
|
|
64
|
+
className: e.errorMessage,
|
|
65
|
+
role: "alert",
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ a("span", { className: e.errorIcon, "aria-hidden": "true", children: "⚠" }),
|
|
68
|
+
l
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
] });
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
C.displayName = "Select";
|
|
76
|
+
export {
|
|
77
|
+
C as Select
|
|
78
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),u=require("react"),S=require("lucide-react"),s=require("./Sidebar.module.css.cjs"),y=u.forwardRef(({className:e,...d},i)=>a.jsx("hr",{ref:i,className:`${s.default.divider} ${e||""}`,...d}));y.displayName="Sidebar.Divider";const b=u.forwardRef(({item:e,active:d=!1,collapsed:i=!1,depth:t=0,className:r,...c},l)=>{const[f,h]=u.useState(!1),n=e.children&&e.children.length>0,m=[s.default.item,d&&s.default.itemActive,e.disabled&&s.default.itemDisabled,t>0&&s.default.itemNested,r].filter(Boolean).join(" "),x=o=>{n&&(o.preventDefault(),h(!f)),e.onClick&&!e.disabled&&e.onClick()},j=a.jsxs(a.Fragment,{children:[e.icon&&a.jsx("span",{className:s.default.itemIcon,children:e.icon}),!i&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:s.default.itemLabel,children:e.label}),e.badge&&a.jsx("span",{className:s.default.itemBadge,children:e.badge}),n&&a.jsx(S.ChevronDown,{size:16,className:`${s.default.itemChevron} ${f?s.default.chevronExpanded:""}`})]})]}),v=e.href&&!n?"a":"button",N=e.href&&!n?{href:e.href}:{type:"button",onClick:x};return a.jsxs("li",{className:s.default.itemWrapper,children:[a.jsx(v,{ref:l,className:m,"aria-current":d?"page":void 0,"aria-disabled":e.disabled,title:i?e.label:void 0,style:{paddingLeft:!i&&t>0?`calc(var(--spacing-3) + ${t*12}px)`:void 0},...N,...c,children:j}),n&&f&&!i&&a.jsx("ul",{className:s.default.subItems,children:e.children.map(o=>a.jsx(b,{item:o,active:!1,collapsed:i,depth:t+1},o.id))})]})});b.displayName="Sidebar.Item";const g=u.forwardRef(({section:e,activeItem:d,collapsed:i=!1,className:t,...r},c)=>a.jsxs("div",{ref:c,className:`${s.default.section} ${t||""}`,...r,children:[e.title&&!i&&a.jsx("div",{className:s.default.sectionTitle,children:e.title}),a.jsx("ul",{className:s.default.sectionItems,children:e.items.map(l=>a.jsx(b,{item:l,active:d===l.id,collapsed:i},l.id))})]}));g.displayName="Sidebar.Section";const C=u.forwardRef(({sections:e,activeItem:d,collapsed:i=!1,onCollapsedChange:t,header:r,footer:c,variant:l="default",width:f=240,collapsedWidth:h=64,className:n,style:m,...x},j)=>{const v=[s.default.sidebar,s.default[`variant-${l}`],i&&s.default.collapsed,n].filter(Boolean).join(" "),N={...m,"--sidebar-width":`${i?h:f}px`},o=()=>{t&&t(!i)};return a.jsxs("nav",{ref:j,className:v,style:N,...x,children:[r&&a.jsx("div",{className:s.default.header,children:r}),a.jsx("div",{className:s.default.content,children:e.map((p,$)=>a.jsx(g,{section:p,activeItem:d,collapsed:i},p.title||$))}),c&&a.jsx("div",{className:s.default.footer,children:c}),t&&a.jsx("button",{type:"button",className:s.default.collapseToggle,onClick:o,"aria-label":i?"Expand sidebar":"Collapse sidebar",children:i?a.jsx(S.ChevronRight,{size:16}):a.jsx(S.ChevronLeft,{size:16})})]})});C.displayName="Sidebar";const R=Object.assign(C,{Item:b,Section:g,Divider:y});exports.Sidebar=R;
|