@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,153 @@
|
|
|
1
|
+
import { jsxs as b, jsx as i, Fragment as C } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h, useState as j } from "react";
|
|
3
|
+
import { ChevronRight as k, ChevronLeft as B, ChevronDown as T } from "lucide-react";
|
|
4
|
+
import a from "./Sidebar.module.css.mjs";
|
|
5
|
+
const $ = h(
|
|
6
|
+
({ className: e, ...r }, s) => /* @__PURE__ */ i(
|
|
7
|
+
"hr",
|
|
8
|
+
{
|
|
9
|
+
ref: s,
|
|
10
|
+
className: `${a.divider} ${e || ""}`,
|
|
11
|
+
...r
|
|
12
|
+
}
|
|
13
|
+
)
|
|
14
|
+
);
|
|
15
|
+
$.displayName = "Sidebar.Divider";
|
|
16
|
+
const f = h(
|
|
17
|
+
({ item: e, active: r = !1, collapsed: s = !1, depth: n = 0, className: d, ...c }, t) => {
|
|
18
|
+
const [m, v] = j(!1), l = e.children && e.children.length > 0, N = [
|
|
19
|
+
a.item,
|
|
20
|
+
r && a.itemActive,
|
|
21
|
+
e.disabled && a.itemDisabled,
|
|
22
|
+
n > 0 && a.itemNested,
|
|
23
|
+
d
|
|
24
|
+
].filter(Boolean).join(" "), p = (o) => {
|
|
25
|
+
l && (o.preventDefault(), v(!m)), e.onClick && !e.disabled && e.onClick();
|
|
26
|
+
}, g = /* @__PURE__ */ b(C, { children: [
|
|
27
|
+
e.icon && /* @__PURE__ */ i("span", { className: a.itemIcon, children: e.icon }),
|
|
28
|
+
!s && /* @__PURE__ */ b(C, { children: [
|
|
29
|
+
/* @__PURE__ */ i("span", { className: a.itemLabel, children: e.label }),
|
|
30
|
+
e.badge && /* @__PURE__ */ i("span", { className: a.itemBadge, children: e.badge }),
|
|
31
|
+
l && /* @__PURE__ */ i(
|
|
32
|
+
T,
|
|
33
|
+
{
|
|
34
|
+
size: 16,
|
|
35
|
+
className: `${a.itemChevron} ${m ? a.chevronExpanded : ""}`
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
] })
|
|
39
|
+
] }), u = e.href && !l ? "a" : "button", S = e.href && !l ? { href: e.href } : { type: "button", onClick: p };
|
|
40
|
+
return /* @__PURE__ */ b("li", { className: a.itemWrapper, children: [
|
|
41
|
+
/* @__PURE__ */ i(
|
|
42
|
+
u,
|
|
43
|
+
{
|
|
44
|
+
ref: t,
|
|
45
|
+
className: N,
|
|
46
|
+
"aria-current": r ? "page" : void 0,
|
|
47
|
+
"aria-disabled": e.disabled,
|
|
48
|
+
title: s ? e.label : void 0,
|
|
49
|
+
style: {
|
|
50
|
+
paddingLeft: !s && n > 0 ? `calc(var(--spacing-3) + ${n * 12}px)` : void 0
|
|
51
|
+
},
|
|
52
|
+
...S,
|
|
53
|
+
...c,
|
|
54
|
+
children: g
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
l && m && !s && /* @__PURE__ */ i("ul", { className: a.subItems, children: e.children.map((o) => /* @__PURE__ */ i(
|
|
58
|
+
f,
|
|
59
|
+
{
|
|
60
|
+
item: o,
|
|
61
|
+
active: !1,
|
|
62
|
+
collapsed: s,
|
|
63
|
+
depth: n + 1
|
|
64
|
+
},
|
|
65
|
+
o.id
|
|
66
|
+
)) })
|
|
67
|
+
] });
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
f.displayName = "Sidebar.Item";
|
|
71
|
+
const y = h(
|
|
72
|
+
({ section: e, activeItem: r, collapsed: s = !1, className: n, ...d }, c) => /* @__PURE__ */ b(
|
|
73
|
+
"div",
|
|
74
|
+
{
|
|
75
|
+
ref: c,
|
|
76
|
+
className: `${a.section} ${n || ""}`,
|
|
77
|
+
...d,
|
|
78
|
+
children: [
|
|
79
|
+
e.title && !s && /* @__PURE__ */ i("div", { className: a.sectionTitle, children: e.title }),
|
|
80
|
+
/* @__PURE__ */ i("ul", { className: a.sectionItems, children: e.items.map((t) => /* @__PURE__ */ i(
|
|
81
|
+
f,
|
|
82
|
+
{
|
|
83
|
+
item: t,
|
|
84
|
+
active: r === t.id,
|
|
85
|
+
collapsed: s
|
|
86
|
+
},
|
|
87
|
+
t.id
|
|
88
|
+
)) })
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
);
|
|
93
|
+
y.displayName = "Sidebar.Section";
|
|
94
|
+
const D = h(
|
|
95
|
+
({
|
|
96
|
+
sections: e,
|
|
97
|
+
activeItem: r,
|
|
98
|
+
collapsed: s = !1,
|
|
99
|
+
onCollapsedChange: n,
|
|
100
|
+
header: d,
|
|
101
|
+
footer: c,
|
|
102
|
+
variant: t = "default",
|
|
103
|
+
width: m = 240,
|
|
104
|
+
collapsedWidth: v = 64,
|
|
105
|
+
className: l,
|
|
106
|
+
style: N,
|
|
107
|
+
...p
|
|
108
|
+
}, g) => {
|
|
109
|
+
const u = [
|
|
110
|
+
a.sidebar,
|
|
111
|
+
a[`variant-${t}`],
|
|
112
|
+
s && a.collapsed,
|
|
113
|
+
l
|
|
114
|
+
].filter(Boolean).join(" "), S = {
|
|
115
|
+
...N,
|
|
116
|
+
"--sidebar-width": `${s ? v : m}px`
|
|
117
|
+
}, o = () => {
|
|
118
|
+
n && n(!s);
|
|
119
|
+
};
|
|
120
|
+
return /* @__PURE__ */ b("nav", { ref: g, className: u, style: S, ...p, children: [
|
|
121
|
+
d && /* @__PURE__ */ i("div", { className: a.header, children: d }),
|
|
122
|
+
/* @__PURE__ */ i("div", { className: a.content, children: e.map((x, I) => /* @__PURE__ */ i(
|
|
123
|
+
y,
|
|
124
|
+
{
|
|
125
|
+
section: x,
|
|
126
|
+
activeItem: r,
|
|
127
|
+
collapsed: s
|
|
128
|
+
},
|
|
129
|
+
x.title || I
|
|
130
|
+
)) }),
|
|
131
|
+
c && /* @__PURE__ */ i("div", { className: a.footer, children: c }),
|
|
132
|
+
n && /* @__PURE__ */ i(
|
|
133
|
+
"button",
|
|
134
|
+
{
|
|
135
|
+
type: "button",
|
|
136
|
+
className: a.collapseToggle,
|
|
137
|
+
onClick: o,
|
|
138
|
+
"aria-label": s ? "Expand sidebar" : "Collapse sidebar",
|
|
139
|
+
children: s ? /* @__PURE__ */ i(k, { size: 16 }) : /* @__PURE__ */ i(B, { size: 16 })
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
] });
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
D.displayName = "Sidebar";
|
|
146
|
+
const R = Object.assign(D, {
|
|
147
|
+
Item: f,
|
|
148
|
+
Section: y,
|
|
149
|
+
Divider: $
|
|
150
|
+
});
|
|
151
|
+
export {
|
|
152
|
+
R as Sidebar
|
|
153
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),x=require("react"),e=require("./Skeleton.module.css.cjs"),m=x.forwardRef(({variant:a="text",animation:f="pulse",width:t,height:l,lines:n=1,borderRadius:o,className:p,style:y,...u},i)=>{const d=[e.default.skeleton,e.default[a],e.default[f],p].filter(Boolean).join(" "),r={width:typeof t=="number"?`${t}px`:t,height:typeof l=="number"?`${l}px`:l,borderRadius:typeof o=="number"?`${o}px`:o,...y};return a==="text"&&n>1?s.jsx("div",{ref:i,className:e.default.lines,...u,children:Array.from({length:n}).map((S,c)=>s.jsx("div",{className:d,style:{...r,width:c===n-1?"80%":r.width},"aria-hidden":"true"},c))}):s.jsx("div",{ref:i,className:d,style:r,"aria-hidden":"true",...u})});m.displayName="Skeleton";exports.Skeleton=m;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as u } from "react";
|
|
3
|
+
import e from "./Skeleton.module.css.mjs";
|
|
4
|
+
const x = u(
|
|
5
|
+
({
|
|
6
|
+
variant: n = "text",
|
|
7
|
+
animation: y = "pulse",
|
|
8
|
+
width: t,
|
|
9
|
+
height: o,
|
|
10
|
+
lines: r = 1,
|
|
11
|
+
borderRadius: l,
|
|
12
|
+
className: c,
|
|
13
|
+
style: d,
|
|
14
|
+
...a
|
|
15
|
+
}, i) => {
|
|
16
|
+
const p = [
|
|
17
|
+
e.skeleton,
|
|
18
|
+
e[n],
|
|
19
|
+
e[y],
|
|
20
|
+
c
|
|
21
|
+
].filter(Boolean).join(" "), s = {
|
|
22
|
+
width: typeof t == "number" ? `${t}px` : t,
|
|
23
|
+
height: typeof o == "number" ? `${o}px` : o,
|
|
24
|
+
borderRadius: typeof l == "number" ? `${l}px` : l,
|
|
25
|
+
...d
|
|
26
|
+
};
|
|
27
|
+
return n === "text" && r > 1 ? /* @__PURE__ */ m("div", { ref: i, className: e.lines, ...a, children: Array.from({ length: r }).map((N, f) => /* @__PURE__ */ m(
|
|
28
|
+
"div",
|
|
29
|
+
{
|
|
30
|
+
className: p,
|
|
31
|
+
style: {
|
|
32
|
+
...s,
|
|
33
|
+
// Last line is shorter for visual variety
|
|
34
|
+
width: f === r - 1 ? "80%" : s.width
|
|
35
|
+
},
|
|
36
|
+
"aria-hidden": "true"
|
|
37
|
+
},
|
|
38
|
+
f
|
|
39
|
+
)) }) : /* @__PURE__ */ m(
|
|
40
|
+
"div",
|
|
41
|
+
{
|
|
42
|
+
ref: i,
|
|
43
|
+
className: p,
|
|
44
|
+
style: s,
|
|
45
|
+
"aria-hidden": "true",
|
|
46
|
+
...a
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
x.displayName = "Skeleton";
|
|
52
|
+
export {
|
|
53
|
+
x as Skeleton
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("react"),e=require("./Slider.module.css.cjs"),v=n.forwardRef(({value:l,onChange:o,min:s=0,max:t=100,step:M=1,size:S="md",disabled:f=!1,showValue:k=!1,formatValue:d,showLabels:x=!1,showTicks:w=!1,tickValues:h,label:D,id:R,onChangeStart:p,onChangeEnd:j,className:T,...q},C)=>{const I=n.useId(),$=R||I,i=n.useRef(!1),N=(l-s)/(t-s)*100,g=d?d(l):l.toString(),U=n.useCallback(r=>{const c=parseFloat(r.target.value);o(c)},[o]),b=n.useCallback(()=>{i.current=!0,p?.()},[p]),y=n.useCallback(()=>{i.current&&(i.current=!1,j?.(l))},[j,l]),B=()=>{if(h)return h;const r=[],c=(t-s)/4;for(let u=s;u<=t;u+=c)r.push(Math.round(u*100)/100);return r},F=[e.default.container,e.default[S],f&&e.default.disabled,T].filter(Boolean).join(" ");return a.jsxs("div",{ref:C,className:F,...q,children:[k&&a.jsx("div",{className:e.default.valueDisplay,style:{left:`${N}%`},"aria-hidden":"true",children:g}),a.jsxs("div",{className:e.default.track,children:[a.jsx("div",{className:e.default.fill,style:{width:`${N}%`},"aria-hidden":"true"}),a.jsx("input",{id:$,type:"range",className:e.default.input,value:l,onChange:U,onMouseDown:b,onMouseUp:y,onTouchStart:b,onTouchEnd:y,min:s,max:t,step:M,disabled:f,"aria-label":D,"aria-valuemin":s,"aria-valuemax":t,"aria-valuenow":l,"aria-valuetext":g})]}),w&&a.jsx("div",{className:e.default.ticks,"aria-hidden":"true",children:B().map(r=>a.jsx("div",{className:e.default.tick,style:{left:`${(r-s)/(t-s)*100}%`}},r))}),x&&a.jsxs("div",{className:e.default.labels,"aria-hidden":"true",children:[a.jsx("span",{className:e.default.labelMin,children:d?d(s):s}),a.jsx("span",{className:e.default.labelMax,children:d?d(t):t})]})]})});v.displayName="Slider";exports.Slider=v;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as z, useId as A, useRef as E, useCallback as u } from "react";
|
|
3
|
+
import e from "./Slider.module.css.mjs";
|
|
4
|
+
const G = z(
|
|
5
|
+
({
|
|
6
|
+
value: t,
|
|
7
|
+
onChange: p,
|
|
8
|
+
min: s = 0,
|
|
9
|
+
max: a = 100,
|
|
10
|
+
step: b = 1,
|
|
11
|
+
size: k = "md",
|
|
12
|
+
disabled: h = !1,
|
|
13
|
+
showValue: D = !1,
|
|
14
|
+
formatValue: n,
|
|
15
|
+
showLabels: S = !1,
|
|
16
|
+
showTicks: j = !1,
|
|
17
|
+
tickValues: f,
|
|
18
|
+
label: I,
|
|
19
|
+
id: T,
|
|
20
|
+
onChangeStart: N,
|
|
21
|
+
onChangeEnd: g,
|
|
22
|
+
className: $,
|
|
23
|
+
...R
|
|
24
|
+
}, U) => {
|
|
25
|
+
const B = A(), C = T || B, i = E(!1), y = (t - s) / (a - s) * 100, v = n ? n(t) : t.toString(), F = u(
|
|
26
|
+
(r) => {
|
|
27
|
+
const c = parseFloat(r.target.value);
|
|
28
|
+
p(c);
|
|
29
|
+
},
|
|
30
|
+
[p]
|
|
31
|
+
), M = u(() => {
|
|
32
|
+
i.current = !0, N?.();
|
|
33
|
+
}, [N]), w = u(() => {
|
|
34
|
+
i.current && (i.current = !1, g?.(t));
|
|
35
|
+
}, [g, t]), m = () => {
|
|
36
|
+
if (f)
|
|
37
|
+
return f;
|
|
38
|
+
const r = [], c = (a - s) / 4;
|
|
39
|
+
for (let d = s; d <= a; d += c)
|
|
40
|
+
r.push(Math.round(d * 100) / 100);
|
|
41
|
+
return r;
|
|
42
|
+
}, q = [
|
|
43
|
+
e.container,
|
|
44
|
+
e[k],
|
|
45
|
+
h && e.disabled,
|
|
46
|
+
$
|
|
47
|
+
].filter(Boolean).join(" ");
|
|
48
|
+
return /* @__PURE__ */ o("div", { ref: U, className: q, ...R, children: [
|
|
49
|
+
D && /* @__PURE__ */ l(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: e.valueDisplay,
|
|
53
|
+
style: { left: `${y}%` },
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
children: v
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ o("div", { className: e.track, children: [
|
|
59
|
+
/* @__PURE__ */ l(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
className: e.fill,
|
|
63
|
+
style: { width: `${y}%` },
|
|
64
|
+
"aria-hidden": "true"
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ l(
|
|
68
|
+
"input",
|
|
69
|
+
{
|
|
70
|
+
id: C,
|
|
71
|
+
type: "range",
|
|
72
|
+
className: e.input,
|
|
73
|
+
value: t,
|
|
74
|
+
onChange: F,
|
|
75
|
+
onMouseDown: M,
|
|
76
|
+
onMouseUp: w,
|
|
77
|
+
onTouchStart: M,
|
|
78
|
+
onTouchEnd: w,
|
|
79
|
+
min: s,
|
|
80
|
+
max: a,
|
|
81
|
+
step: b,
|
|
82
|
+
disabled: h,
|
|
83
|
+
"aria-label": I,
|
|
84
|
+
"aria-valuemin": s,
|
|
85
|
+
"aria-valuemax": a,
|
|
86
|
+
"aria-valuenow": t,
|
|
87
|
+
"aria-valuetext": v
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] }),
|
|
91
|
+
j && /* @__PURE__ */ l("div", { className: e.ticks, "aria-hidden": "true", children: m().map((r) => /* @__PURE__ */ l(
|
|
92
|
+
"div",
|
|
93
|
+
{
|
|
94
|
+
className: e.tick,
|
|
95
|
+
style: { left: `${(r - s) / (a - s) * 100}%` }
|
|
96
|
+
},
|
|
97
|
+
r
|
|
98
|
+
)) }),
|
|
99
|
+
S && /* @__PURE__ */ o("div", { className: e.labels, "aria-hidden": "true", children: [
|
|
100
|
+
/* @__PURE__ */ l("span", { className: e.labelMin, children: n ? n(s) : s }),
|
|
101
|
+
/* @__PURE__ */ l("span", { className: e.labelMax, children: n ? n(a) : a })
|
|
102
|
+
] })
|
|
103
|
+
] });
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
G.displayName = "Slider";
|
|
107
|
+
export {
|
|
108
|
+
G as Slider
|
|
109
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),e=require("./Spinner.module.css.cjs"),s=({size:i="md",variant:l="primary",label:a="Loading...",showLabel:r=!1,className:t,...o})=>{const d=[e.default.container,t].filter(Boolean).join(" "),c=[e.default.spinner,e.default[i],e.default[l]].filter(Boolean).join(" ");return n.jsxs("div",{className:d,...o,children:[n.jsx("div",{className:c,role:"status","aria-label":a,"aria-live":"polite"}),r&&n.jsx("span",{className:e.default.label,children:a})]})};s.displayName="Spinner";exports.Spinner=s;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import s from "./Spinner.module.css.mjs";
|
|
3
|
+
const m = ({
|
|
4
|
+
size: n = "md",
|
|
5
|
+
variant: i = "primary",
|
|
6
|
+
label: e = "Loading...",
|
|
7
|
+
showLabel: r = !1,
|
|
8
|
+
className: l,
|
|
9
|
+
...o
|
|
10
|
+
}) => {
|
|
11
|
+
const t = [s.container, l].filter(Boolean).join(" "), p = [s.spinner, s[n], s[i]].filter(Boolean).join(" ");
|
|
12
|
+
return /* @__PURE__ */ c("div", { className: t, ...o, children: [
|
|
13
|
+
/* @__PURE__ */ a(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: p,
|
|
17
|
+
role: "status",
|
|
18
|
+
"aria-label": e,
|
|
19
|
+
"aria-live": "polite"
|
|
20
|
+
}
|
|
21
|
+
),
|
|
22
|
+
r && /* @__PURE__ */ a("span", { className: s.label, children: e })
|
|
23
|
+
] });
|
|
24
|
+
};
|
|
25
|
+
m.displayName = "Spinner";
|
|
26
|
+
export {
|
|
27
|
+
m as Spinner
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),c=require("react"),x=require("lucide-react"),r=require("./Stepper.module.css.cjs"),R=({step:e,index:o,status:n,size:u,showNumber:b,showCheckmark:m,clickable:s,onClick:i,labelPosition:j})=>{const N=c.useCallback(()=>{s&&!e.disabled&&i&&i()},[s,e.disabled,i]),f=c.useCallback(d=>{(d.key==="Enter"||d.key===" ")&&s&&!e.disabled&&(d.preventDefault(),i?.())},[s,e.disabled,i]),v=[r.default.step,r.default[n],r.default[u],r.default[`label-${j}`],s&&!e.disabled&&r.default.clickable,e.disabled&&r.default.disabled].filter(Boolean).join(" "),h=u==="sm"?14:u==="lg"?20:16,g=()=>n==="error"||e.error?a.jsx(x.AlertCircle,{size:h}):e.icon?e.icon:n==="complete"&&m?a.jsx(x.Check,{size:h}):b?a.jsx("span",{className:r.default.number,children:o+1}):null;return a.jsxs("div",{className:v,role:s?"button":void 0,tabIndex:s&&!e.disabled?0:void 0,"aria-current":n==="current"?"step":void 0,"aria-disabled":e.disabled,onClick:N,onKeyDown:f,children:[a.jsx("div",{className:r.default.indicator,children:g()}),a.jsxs("div",{className:r.default.content,children:[a.jsxs("span",{className:r.default.title,children:[e.title,e.optional&&a.jsx("span",{className:r.default.optional,children:"(Optional)"})]}),e.description&&a.jsx("span",{className:r.default.description,children:e.description}),(e.error||n==="error")&&e.errorMessage&&a.jsx("span",{className:r.default.errorMessage,children:e.errorMessage})]})]})},p=c.forwardRef(({steps:e,currentStep:o=0,onStepClick:n,clickable:u=!1,orientation:b="horizontal",size:m="md",showNumbers:s=!0,showConnectors:i=!0,showCheckmarks:j=!0,labelPosition:N="bottom",scrollable:f=!1,className:v,...h},g)=>{const d=c.useRef(null);c.useEffect(()=>{if(f&&d.current){const l=d.current.children[o];l&&l.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[o,f]);const y=t=>e[t]?.error?"error":t<o?"complete":t===o?"current":"upcoming",w=c.useCallback(t=>{const l=e[t];n&&l&&!l.disabled&&n(t,l)},[n,e]),C=[r.default.stepper,r.default[b],r.default[m],i&&r.default.withConnectors,f&&r.default.scrollable,v].filter(Boolean).join(" ");return a.jsx("div",{ref:g,className:C,role:"navigation","aria-label":"Progress",...h,children:a.jsx("ol",{ref:d,className:r.default.list,children:e.map((t,l)=>a.jsxs("li",{className:r.default.item,children:[a.jsx(R,{step:t,index:l,status:y(l),size:m,showNumber:s,showCheckmark:j,clickable:u,onClick:()=>w(l),labelPosition:N}),i&&l<e.length-1&&a.jsx("div",{className:`${r.default.connector} ${l<o?r.default.complete:""}`,"aria-hidden":"true"})]},t.id))})})});p.displayName="Stepper";exports.Stepper=p;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { jsx as i, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as I, useRef as D, useEffect as M, useCallback as w } from "react";
|
|
3
|
+
import { AlertCircle as R, Check as $ } from "lucide-react";
|
|
4
|
+
import e from "./Stepper.module.css.mjs";
|
|
5
|
+
const B = ({
|
|
6
|
+
step: r,
|
|
7
|
+
index: t,
|
|
8
|
+
status: a,
|
|
9
|
+
size: d,
|
|
10
|
+
showNumber: b,
|
|
11
|
+
showCheckmark: f,
|
|
12
|
+
clickable: l,
|
|
13
|
+
onClick: s,
|
|
14
|
+
labelPosition: N
|
|
15
|
+
}) => {
|
|
16
|
+
const v = w(() => {
|
|
17
|
+
l && !r.disabled && s && s();
|
|
18
|
+
}, [l, r.disabled, s]), m = w(
|
|
19
|
+
(c) => {
|
|
20
|
+
(c.key === "Enter" || c.key === " ") && l && !r.disabled && (c.preventDefault(), s?.());
|
|
21
|
+
},
|
|
22
|
+
[l, r.disabled, s]
|
|
23
|
+
), g = [
|
|
24
|
+
e.step,
|
|
25
|
+
e[a],
|
|
26
|
+
e[d],
|
|
27
|
+
e[`label-${N}`],
|
|
28
|
+
l && !r.disabled && e.clickable,
|
|
29
|
+
r.disabled && e.disabled
|
|
30
|
+
].filter(Boolean).join(" "), u = d === "sm" ? 14 : d === "lg" ? 20 : 16, p = () => a === "error" || r.error ? /* @__PURE__ */ i(R, { size: u }) : r.icon ? r.icon : a === "complete" && f ? /* @__PURE__ */ i($, { size: u }) : b ? /* @__PURE__ */ i("span", { className: e.number, children: t + 1 }) : null;
|
|
31
|
+
return /* @__PURE__ */ h(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: g,
|
|
35
|
+
role: l ? "button" : void 0,
|
|
36
|
+
tabIndex: l && !r.disabled ? 0 : void 0,
|
|
37
|
+
"aria-current": a === "current" ? "step" : void 0,
|
|
38
|
+
"aria-disabled": r.disabled,
|
|
39
|
+
onClick: v,
|
|
40
|
+
onKeyDown: m,
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ i("div", { className: e.indicator, children: p() }),
|
|
43
|
+
/* @__PURE__ */ h("div", { className: e.content, children: [
|
|
44
|
+
/* @__PURE__ */ h("span", { className: e.title, children: [
|
|
45
|
+
r.title,
|
|
46
|
+
r.optional && /* @__PURE__ */ i("span", { className: e.optional, children: "(Optional)" })
|
|
47
|
+
] }),
|
|
48
|
+
r.description && /* @__PURE__ */ i("span", { className: e.description, children: r.description }),
|
|
49
|
+
(r.error || a === "error") && r.errorMessage && /* @__PURE__ */ i("span", { className: e.errorMessage, children: r.errorMessage })
|
|
50
|
+
] })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
}, E = I(
|
|
55
|
+
({
|
|
56
|
+
steps: r,
|
|
57
|
+
currentStep: t = 0,
|
|
58
|
+
onStepClick: a,
|
|
59
|
+
clickable: d = !1,
|
|
60
|
+
orientation: b = "horizontal",
|
|
61
|
+
size: f = "md",
|
|
62
|
+
showNumbers: l = !0,
|
|
63
|
+
showConnectors: s = !0,
|
|
64
|
+
showCheckmarks: N = !0,
|
|
65
|
+
labelPosition: v = "bottom",
|
|
66
|
+
scrollable: m = !1,
|
|
67
|
+
className: g,
|
|
68
|
+
...u
|
|
69
|
+
}, p) => {
|
|
70
|
+
const c = D(null);
|
|
71
|
+
M(() => {
|
|
72
|
+
if (m && c.current) {
|
|
73
|
+
const n = c.current.children[t];
|
|
74
|
+
n && n.scrollIntoView({
|
|
75
|
+
behavior: "smooth",
|
|
76
|
+
block: "nearest",
|
|
77
|
+
inline: "center"
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}, [t, m]);
|
|
81
|
+
const y = (o) => r[o]?.error ? "error" : o < t ? "complete" : o === t ? "current" : "upcoming", j = w(
|
|
82
|
+
(o) => {
|
|
83
|
+
const n = r[o];
|
|
84
|
+
a && n && !n.disabled && a(o, n);
|
|
85
|
+
},
|
|
86
|
+
[a, r]
|
|
87
|
+
), C = [
|
|
88
|
+
e.stepper,
|
|
89
|
+
e[b],
|
|
90
|
+
e[f],
|
|
91
|
+
s && e.withConnectors,
|
|
92
|
+
m && e.scrollable,
|
|
93
|
+
g
|
|
94
|
+
].filter(Boolean).join(" ");
|
|
95
|
+
return /* @__PURE__ */ i(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
ref: p,
|
|
99
|
+
className: C,
|
|
100
|
+
role: "navigation",
|
|
101
|
+
"aria-label": "Progress",
|
|
102
|
+
...u,
|
|
103
|
+
children: /* @__PURE__ */ i("ol", { ref: c, className: e.list, children: r.map((o, n) => /* @__PURE__ */ h("li", { className: e.item, children: [
|
|
104
|
+
/* @__PURE__ */ i(
|
|
105
|
+
B,
|
|
106
|
+
{
|
|
107
|
+
step: o,
|
|
108
|
+
index: n,
|
|
109
|
+
status: y(n),
|
|
110
|
+
size: f,
|
|
111
|
+
showNumber: l,
|
|
112
|
+
showCheckmark: N,
|
|
113
|
+
clickable: d,
|
|
114
|
+
onClick: () => j(n),
|
|
115
|
+
labelPosition: v
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
s && n < r.length - 1 && /* @__PURE__ */ i(
|
|
119
|
+
"div",
|
|
120
|
+
{
|
|
121
|
+
className: `${e.connector} ${n < t ? e.complete : ""}`,
|
|
122
|
+
"aria-hidden": "true"
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
] }, o.id)) })
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
E.displayName = "Stepper";
|
|
131
|
+
export {
|
|
132
|
+
E as Stepper
|
|
133
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),f=require("react"),g=require("lucide-react"),e=require("./Switch.module.css.cjs"),m=f.forwardRef(({label:t,size:b="sm",helperText:l,error:a,className:j,id:N,disabled:d,required:r,checked:n,"aria-label":o,"aria-describedby":u,...v},x)=>{const w=f.useId(),c=N||`switch-${w}`,h=`${c}-error`,p=`${c}-helper`,i=[];a&&i.push(h),l&&!a&&i.push(p),u&&i.push(u);const y=i.length>0?i.join(" "):void 0;!(t||o)&&process.env.NODE_ENV==="development"&&console.warn("Switch: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users.");const S=[e.default.container,e.default[b],a&&e.default.error,d&&e.default.disabled,j].filter(Boolean).join(" ");return s.jsxs("div",{className:S,children:[s.jsx("input",{ref:x,type:"checkbox",role:"switch",id:c,className:e.default.input,disabled:d,required:r,checked:n,"aria-checked":n,"aria-required":r||void 0,"aria-invalid":a?"true":void 0,"aria-describedby":y,"aria-label":t?void 0:o,...v}),s.jsxs("label",{htmlFor:c,className:e.default.labelWrapper,children:[s.jsx("span",{className:e.default.track,"aria-hidden":"true",children:s.jsx("span",{className:e.default.thumb})}),t&&s.jsxs("span",{className:e.default.label,children:[t,r&&s.jsx("span",{className:e.default.required,"aria-hidden":"true",children:"*"})]})]}),l&&!a&&s.jsx("p",{id:p,className:e.default.helperText,children:l}),a&&s.jsxs("p",{id:h,className:e.default.errorMessage,role:"alert","aria-live":"assertive",children:[s.jsx(g.AlertCircle,{size:14,"aria-hidden":"true"}),s.jsx("span",{children:a})]})]})});m.displayName="Switch";exports.Switch=m;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as j, useId as x } from "react";
|
|
3
|
+
import { AlertCircle as A } from "lucide-react";
|
|
4
|
+
import e from "./Switch.module.css.mjs";
|
|
5
|
+
const B = j(
|
|
6
|
+
({
|
|
7
|
+
label: r,
|
|
8
|
+
size: N = "sm",
|
|
9
|
+
helperText: l,
|
|
10
|
+
error: s,
|
|
11
|
+
className: b,
|
|
12
|
+
id: f,
|
|
13
|
+
disabled: o,
|
|
14
|
+
required: d,
|
|
15
|
+
checked: t,
|
|
16
|
+
"aria-label": h,
|
|
17
|
+
"aria-describedby": p,
|
|
18
|
+
...v
|
|
19
|
+
}, w) => {
|
|
20
|
+
const y = x(), c = f || `switch-${y}`, m = `${c}-error`, u = `${c}-helper`, i = [];
|
|
21
|
+
s && i.push(m), l && !s && i.push(u), p && i.push(p);
|
|
22
|
+
const I = i.length > 0 ? i.join(" ") : void 0;
|
|
23
|
+
!(r || h) && process.env.NODE_ENV === "development" && console.warn(
|
|
24
|
+
"Switch: Missing accessible name. Provide either a `label` prop or `aria-label` for screen reader users."
|
|
25
|
+
);
|
|
26
|
+
const g = [
|
|
27
|
+
e.container,
|
|
28
|
+
e[N],
|
|
29
|
+
s && e.error,
|
|
30
|
+
o && e.disabled,
|
|
31
|
+
b
|
|
32
|
+
].filter(Boolean).join(" ");
|
|
33
|
+
return /* @__PURE__ */ n("div", { className: g, children: [
|
|
34
|
+
/* @__PURE__ */ a(
|
|
35
|
+
"input",
|
|
36
|
+
{
|
|
37
|
+
ref: w,
|
|
38
|
+
type: "checkbox",
|
|
39
|
+
role: "switch",
|
|
40
|
+
id: c,
|
|
41
|
+
className: e.input,
|
|
42
|
+
disabled: o,
|
|
43
|
+
required: d,
|
|
44
|
+
checked: t,
|
|
45
|
+
"aria-checked": t,
|
|
46
|
+
"aria-required": d || void 0,
|
|
47
|
+
"aria-invalid": s ? "true" : void 0,
|
|
48
|
+
"aria-describedby": I,
|
|
49
|
+
"aria-label": r ? void 0 : h,
|
|
50
|
+
...v
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ n("label", { htmlFor: c, className: e.labelWrapper, children: [
|
|
54
|
+
/* @__PURE__ */ a("span", { className: e.track, "aria-hidden": "true", children: /* @__PURE__ */ a("span", { className: e.thumb }) }),
|
|
55
|
+
r && /* @__PURE__ */ n("span", { className: e.label, children: [
|
|
56
|
+
r,
|
|
57
|
+
d && /* @__PURE__ */ a("span", { className: e.required, "aria-hidden": "true", children: "*" })
|
|
58
|
+
] })
|
|
59
|
+
] }),
|
|
60
|
+
l && !s && /* @__PURE__ */ a("p", { id: u, className: e.helperText, children: l }),
|
|
61
|
+
s && /* @__PURE__ */ n(
|
|
62
|
+
"p",
|
|
63
|
+
{
|
|
64
|
+
id: m,
|
|
65
|
+
className: e.errorMessage,
|
|
66
|
+
role: "alert",
|
|
67
|
+
"aria-live": "assertive",
|
|
68
|
+
children: [
|
|
69
|
+
/* @__PURE__ */ a(A, { size: 14, "aria-hidden": "true" }),
|
|
70
|
+
/* @__PURE__ */ a("span", { children: s })
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] });
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
B.displayName = "Switch";
|
|
78
|
+
export {
|
|
79
|
+
B as Switch
|
|
80
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),j=require("react"),t=require("./Table.module.css.cjs"),y=({columns:n,data:f,size:p="md",striped:x=!1,hoverable:N=!0,bordered:g=!1,borderless:v=!1,caption:h,emptyMessage:k="No data available",onRowClick:d,onSortChange:u,sortState:c,getRowKey:C=(b,o)=>o,className:S})=>{const[b,o]=j.useState(null),i=c||b,B=j.useCallback(e=>{if(!e.sortable)return;const s=e.key;let l="asc";i?.columnKey===s&&(i.direction==="asc"?l="desc":i.direction==="desc"&&(l=null)),c||o(l?{columnKey:s,direction:l}:null),u?.(s,l)},[i,c,u]),K=e=>{if(!e.sortable)return null;const s=i?.columnKey===e.key,l=s?i?.direction:null,r=[t.default.sortIndicator,s&&t.default.active].filter(Boolean).join(" ");return l==="asc"?a.jsx("span",{className:r,children:"▲"}):l==="desc"?a.jsx("span",{className:r,children:"▼"}):a.jsx("span",{className:r,children:"⇅"})},T=()=>a.jsx("thead",{className:t.default.thead,children:a.jsx("tr",{children:n.map(e=>{const s=[t.default.th,e.align&&t.default[`align${e.align.charAt(0).toUpperCase()}${e.align.slice(1)}`],e.sortable&&t.default.sortable].filter(Boolean).join(" "),l=e.sortable?()=>B(e):void 0;return a.jsxs("th",{className:s,style:{width:e.width},onClick:l,tabIndex:e.sortable?0:void 0,role:e.sortable?"button":void 0,"aria-sort":i?.columnKey===e.key?i.direction==="asc"?"ascending":"descending":void 0,...e.headerProps,children:[e.header,K(e)]},e.key)})})}),$=()=>f.length===0?a.jsx("tbody",{children:a.jsx("tr",{children:a.jsx("td",{colSpan:n.length,className:t.default.empty,children:k})})}):a.jsx("tbody",{className:t.default.tbody,children:f.map((e,s)=>{const l=C(e,s);return a.jsx("tr",{className:t.default.tr,onClick:d?()=>d(e,s):void 0,children:n.map(r=>{const A=[t.default.td,r.align&&t.default[`align${r.align.charAt(0).toUpperCase()}${r.align.slice(1)}`]].filter(Boolean).join(" "),P=r.cell?r.cell(e,s):e[r.key];return a.jsx("td",{className:A,...r.cellProps,children:P},r.key)})},l)})}),q=[t.default.container,t.default[p],x&&t.default.striped,N&&t.default.hoverable,d&&t.default.clickable,g&&t.default.bordered,v&&t.default.borderless,S].filter(Boolean).join(" ");return a.jsx("div",{className:q,children:a.jsxs("table",{className:t.default.table,children:[h&&a.jsx("caption",{className:t.default.caption,children:h}),T(),$()]})})};y.displayName="Table";exports.Table=y;
|