@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,205 @@
|
|
|
1
|
+
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useMemo as m, useCallback as C } from "react";
|
|
3
|
+
import { icons as g, Search as N } from "lucide-react";
|
|
4
|
+
import r from "./IconGallery.module.css.mjs";
|
|
5
|
+
const f = {
|
|
6
|
+
Navigation: [
|
|
7
|
+
"Menu",
|
|
8
|
+
"X",
|
|
9
|
+
"ChevronDown",
|
|
10
|
+
"ChevronUp",
|
|
11
|
+
"ChevronLeft",
|
|
12
|
+
"ChevronRight",
|
|
13
|
+
"ArrowDown",
|
|
14
|
+
"ArrowUp",
|
|
15
|
+
"ArrowLeft",
|
|
16
|
+
"ArrowRight",
|
|
17
|
+
"Home",
|
|
18
|
+
"Settings",
|
|
19
|
+
"Bell",
|
|
20
|
+
"User",
|
|
21
|
+
"LogOut",
|
|
22
|
+
"LogIn",
|
|
23
|
+
"Search",
|
|
24
|
+
"MapPin",
|
|
25
|
+
"Navigation"
|
|
26
|
+
],
|
|
27
|
+
Actions: [
|
|
28
|
+
"Plus",
|
|
29
|
+
"Minus",
|
|
30
|
+
"Check",
|
|
31
|
+
"Copy",
|
|
32
|
+
"Download",
|
|
33
|
+
"Upload",
|
|
34
|
+
"Share2",
|
|
35
|
+
"Trash2",
|
|
36
|
+
"Edit",
|
|
37
|
+
"Eye",
|
|
38
|
+
"EyeOff",
|
|
39
|
+
"Lock",
|
|
40
|
+
"Unlock",
|
|
41
|
+
"Zap",
|
|
42
|
+
"Refresh",
|
|
43
|
+
"RotateCw",
|
|
44
|
+
"Save",
|
|
45
|
+
"Send",
|
|
46
|
+
"Archive",
|
|
47
|
+
"Flag"
|
|
48
|
+
],
|
|
49
|
+
Status: [
|
|
50
|
+
"AlertCircle",
|
|
51
|
+
"CheckCircle",
|
|
52
|
+
"XCircle",
|
|
53
|
+
"Info",
|
|
54
|
+
"HelpCircle",
|
|
55
|
+
"AlertTriangle",
|
|
56
|
+
"CheckCircle2",
|
|
57
|
+
"Circle",
|
|
58
|
+
"Loader",
|
|
59
|
+
"Loader2",
|
|
60
|
+
"Clock",
|
|
61
|
+
"Calendar"
|
|
62
|
+
],
|
|
63
|
+
Media: [
|
|
64
|
+
"Image",
|
|
65
|
+
"Video",
|
|
66
|
+
"Music",
|
|
67
|
+
"FileText",
|
|
68
|
+
"File",
|
|
69
|
+
"Folder",
|
|
70
|
+
"FolderOpen",
|
|
71
|
+
"Camera",
|
|
72
|
+
"Paperclip",
|
|
73
|
+
"Play",
|
|
74
|
+
"Pause",
|
|
75
|
+
"Volume2",
|
|
76
|
+
"VolumeX"
|
|
77
|
+
],
|
|
78
|
+
Communication: [
|
|
79
|
+
"Mail",
|
|
80
|
+
"MessageSquare",
|
|
81
|
+
"Heart",
|
|
82
|
+
"Star",
|
|
83
|
+
"Share",
|
|
84
|
+
"MessageCircle",
|
|
85
|
+
"Phone",
|
|
86
|
+
"Smartphone",
|
|
87
|
+
"Gift",
|
|
88
|
+
"ThumbsUp",
|
|
89
|
+
"ThumbsDown"
|
|
90
|
+
],
|
|
91
|
+
Commerce: [
|
|
92
|
+
"ShoppingCart",
|
|
93
|
+
"DollarSign",
|
|
94
|
+
"CreditCard",
|
|
95
|
+
"Tag",
|
|
96
|
+
"Briefcase",
|
|
97
|
+
"TrendingUp",
|
|
98
|
+
"TrendingDown",
|
|
99
|
+
"BarChart",
|
|
100
|
+
"PieChart",
|
|
101
|
+
"Activity"
|
|
102
|
+
]
|
|
103
|
+
}, w = ({ className: h }) => {
|
|
104
|
+
const [n, v] = d(""), [l, u] = d(null), [S, p] = d(null), c = m(() => Object.keys(g).sort(), []), s = m(() => {
|
|
105
|
+
let e = c;
|
|
106
|
+
if (l) {
|
|
107
|
+
const a = f[l];
|
|
108
|
+
a && (e = e.filter((i) => a.includes(i)));
|
|
109
|
+
}
|
|
110
|
+
if (n) {
|
|
111
|
+
const a = n.toLowerCase();
|
|
112
|
+
e = e.filter((i) => i.toLowerCase().includes(a));
|
|
113
|
+
}
|
|
114
|
+
return e.sort();
|
|
115
|
+
}, [c, n, l]), y = C((e) => {
|
|
116
|
+
const a = `import { ${e} } from 'lucide-react';`;
|
|
117
|
+
navigator.clipboard.writeText(a), p(e), setTimeout(() => p(null), 1500);
|
|
118
|
+
}, []), I = C((e) => {
|
|
119
|
+
const a = g[e];
|
|
120
|
+
return a ? /* @__PURE__ */ o(a, { size: 24 }) : null;
|
|
121
|
+
}, []);
|
|
122
|
+
return /* @__PURE__ */ t("div", { className: `${r.gallery}${h ? ` ${h}` : ""}`, children: [
|
|
123
|
+
/* @__PURE__ */ t("div", { className: r.header, children: [
|
|
124
|
+
/* @__PURE__ */ o("h1", { children: "Icon Browser" }),
|
|
125
|
+
/* @__PURE__ */ t("p", { children: [
|
|
126
|
+
c.length.toLocaleString(),
|
|
127
|
+
" icons available"
|
|
128
|
+
] })
|
|
129
|
+
] }),
|
|
130
|
+
/* @__PURE__ */ t("div", { className: r.searchContainer, children: [
|
|
131
|
+
/* @__PURE__ */ o(N, { size: 20, className: r.searchIcon }),
|
|
132
|
+
/* @__PURE__ */ o(
|
|
133
|
+
"input",
|
|
134
|
+
{
|
|
135
|
+
type: "text",
|
|
136
|
+
placeholder: "Search icons...",
|
|
137
|
+
value: n,
|
|
138
|
+
onChange: (e) => v(e.target.value),
|
|
139
|
+
className: r.searchInput
|
|
140
|
+
}
|
|
141
|
+
),
|
|
142
|
+
n && /* @__PURE__ */ t("span", { className: r.resultCount, children: [
|
|
143
|
+
s.length,
|
|
144
|
+
" results"
|
|
145
|
+
] })
|
|
146
|
+
] }),
|
|
147
|
+
/* @__PURE__ */ t("div", { className: r.categories, children: [
|
|
148
|
+
/* @__PURE__ */ o(
|
|
149
|
+
"button",
|
|
150
|
+
{
|
|
151
|
+
className: `${r.categoryBtn} ${l ? "" : r.active}`,
|
|
152
|
+
onClick: () => u(null),
|
|
153
|
+
type: "button",
|
|
154
|
+
children: "All"
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
Object.keys(f).map((e) => /* @__PURE__ */ o(
|
|
158
|
+
"button",
|
|
159
|
+
{
|
|
160
|
+
className: `${r.categoryBtn} ${l === e ? r.active : ""}`,
|
|
161
|
+
onClick: () => u(e),
|
|
162
|
+
type: "button",
|
|
163
|
+
children: e
|
|
164
|
+
},
|
|
165
|
+
e
|
|
166
|
+
))
|
|
167
|
+
] }),
|
|
168
|
+
/* @__PURE__ */ o("div", { className: r.iconGrid, children: s.map((e) => /* @__PURE__ */ t(
|
|
169
|
+
"button",
|
|
170
|
+
{
|
|
171
|
+
className: r.iconItem,
|
|
172
|
+
onClick: () => y(e),
|
|
173
|
+
title: e,
|
|
174
|
+
type: "button",
|
|
175
|
+
children: [
|
|
176
|
+
/* @__PURE__ */ o("span", { className: r.iconDisplay, children: I(e) }),
|
|
177
|
+
/* @__PURE__ */ o("span", { className: r.iconName, children: e }),
|
|
178
|
+
S === e && /* @__PURE__ */ o("span", { className: r.copiedBadge, children: "Copied!" })
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
e
|
|
182
|
+
)) }),
|
|
183
|
+
s.length === 0 && /* @__PURE__ */ o("div", { className: r.noResults, children: /* @__PURE__ */ t("p", { children: [
|
|
184
|
+
'No icons found for "',
|
|
185
|
+
n,
|
|
186
|
+
'"'
|
|
187
|
+
] }) }),
|
|
188
|
+
/* @__PURE__ */ t("div", { className: r.usageInfo, children: [
|
|
189
|
+
/* @__PURE__ */ o("h3", { children: "Usage" }),
|
|
190
|
+
/* @__PURE__ */ o(
|
|
191
|
+
"pre",
|
|
192
|
+
{
|
|
193
|
+
className: r.codeBlock,
|
|
194
|
+
children: `import { Search, Download } from 'lucide-react';
|
|
195
|
+
|
|
196
|
+
<Button icon={<Search size={20} />}>Search</Button>`
|
|
197
|
+
}
|
|
198
|
+
)
|
|
199
|
+
] })
|
|
200
|
+
] });
|
|
201
|
+
};
|
|
202
|
+
w.displayName = "IconGallery";
|
|
203
|
+
export {
|
|
204
|
+
w as IconGallery
|
|
205
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),t=require("react"),n=require("./InputOTP.module.css.cjs"),b=t.createContext(null);function M(){const e=t.useContext(b);if(!e)throw new Error("InputOTP.Slot/Group/Separator must be used within an InputOTP");return e}const k=t.forwardRef(({className:e,children:s,...r},o)=>{const l=[n.default.group,e].filter(Boolean).join(" ");return u.jsx("div",{ref:o,className:l,...r,children:s})});k.displayName="InputOTP.Group";const w=t.forwardRef(({index:e,className:s,...r},o)=>{const{value:l,activeIndex:d,size:O,disabled:c,isFocused:I,focusInput:T}=M(),p=l[e],m=I&&e===d,P=p!==void 0&&p!=="",x=[n.default.slot,m&&n.default.slotActive,P&&n.default.slotFilled,c&&n.default.slotDisabled,s].filter(Boolean).join(" ");return u.jsx("div",{ref:o,className:x,onClick:T,...r,children:P?p:m?u.jsx("span",{className:n.default.caret}):null})});w.displayName="InputOTP.Slot";const R=t.forwardRef(({className:e,children:s,...r},o)=>{const l=[n.default.separator,e].filter(Boolean).join(" ");return u.jsx("div",{ref:o,className:l,role:"separator",...r,children:s??u.jsx("span",{"aria-hidden":"true",children:"–"})})});R.displayName="InputOTP.Separator";const g=t.forwardRef(({maxLength:e,value:s,defaultValue:r="",onChange:o,onComplete:l,type:d="numeric",size:O="md",disabled:c=!1,autoFocus:I=!1,className:T,children:p,...m},P)=>{const[x,y]=t.useState(r),[D,h]=t.useState(!1),j=t.useRef(null),N=s!==void 0,f=N?s:x,B=Math.min(f.length,e-1),F=d==="numeric"?"[0-9]":"[a-zA-Z0-9]",C=d==="numeric"?/[^0-9]/g:/[^a-zA-Z0-9]/g;t.useEffect(()=>{I&&j.current?.focus()},[I]);const v=t.useCallback(a=>{const i=a.replace(C,"").slice(0,e);N||y(i),o?.(i),i.length===e&&l?.(i)},[e,C,N,o,l]),A=t.useCallback(a=>{v(a.target.value)},[v]),G=t.useCallback(a=>{a.key==="Backspace"&&f.length===0&&a.preventDefault()},[f]),V=t.useCallback(a=>{a.preventDefault();const i=a.clipboardData.getData("text/plain");v(i)},[v]),S=t.useCallback(()=>{c||j.current?.focus()},[c]),q=[n.default.root,n.default[O],T].filter(Boolean).join(" "),z={value:f,activeIndex:B,size:O,disabled:c,isFocused:D,focusInput:S};return u.jsx(b.Provider,{value:z,children:u.jsxs("div",{ref:P,className:q,onClick:S,"data-otp-container":!0,...m,children:[u.jsx("input",{ref:j,className:n.default.hiddenInput,type:"text",inputMode:d==="numeric"?"numeric":"text",pattern:`${F}*`,maxLength:e,value:f,disabled:c,autoComplete:"one-time-code","aria-label":`OTP input, ${e} digits`,onChange:A,onKeyDown:G,onPaste:V,onFocus:()=>h(!0),onBlur:()=>h(!1),tabIndex:0}),p]})})});g.displayName="InputOTP";const E=Object.assign(g,{Group:k,Slot:w,Separator:R});exports.InputOTP=E;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { jsx as c, jsxs as Z } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as O, useState as D, useRef as $, useEffect as _, useCallback as f, createContext as q, useContext as H } from "react";
|
|
3
|
+
import e from "./InputOTP.module.css.mjs";
|
|
4
|
+
const g = q(null);
|
|
5
|
+
function J() {
|
|
6
|
+
const t = H(g);
|
|
7
|
+
if (!t)
|
|
8
|
+
throw new Error(
|
|
9
|
+
"InputOTP.Slot/Group/Separator must be used within an InputOTP"
|
|
10
|
+
);
|
|
11
|
+
return t;
|
|
12
|
+
}
|
|
13
|
+
const w = O(
|
|
14
|
+
({ className: t, children: o, ...r }, s) => {
|
|
15
|
+
const a = [e.group, t].filter(Boolean).join(" ");
|
|
16
|
+
return /* @__PURE__ */ c("div", { ref: s, className: a, ...r, children: o });
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
w.displayName = "InputOTP.Group";
|
|
20
|
+
const B = O(
|
|
21
|
+
({ index: t, className: o, ...r }, s) => {
|
|
22
|
+
const {
|
|
23
|
+
value: a,
|
|
24
|
+
activeIndex: i,
|
|
25
|
+
size: N,
|
|
26
|
+
disabled: l,
|
|
27
|
+
isFocused: m,
|
|
28
|
+
focusInput: T
|
|
29
|
+
} = J(), p = a[t], I = m && t === i, v = p !== void 0 && p !== "", h = [
|
|
30
|
+
e.slot,
|
|
31
|
+
I && e.slotActive,
|
|
32
|
+
v && e.slotFilled,
|
|
33
|
+
l && e.slotDisabled,
|
|
34
|
+
o
|
|
35
|
+
].filter(Boolean).join(" ");
|
|
36
|
+
return /* @__PURE__ */ c("div", { ref: s, className: h, onClick: T, ...r, children: v ? p : I ? /* @__PURE__ */ c("span", { className: e.caret }) : null });
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
B.displayName = "InputOTP.Slot";
|
|
40
|
+
const b = O(
|
|
41
|
+
({ className: t, children: o, ...r }, s) => {
|
|
42
|
+
const a = [e.separator, t].filter(Boolean).join(" ");
|
|
43
|
+
return /* @__PURE__ */ c("div", { ref: s, className: a, role: "separator", ...r, children: o ?? /* @__PURE__ */ c("span", { "aria-hidden": "true", children: "–" }) });
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
b.displayName = "InputOTP.Separator";
|
|
47
|
+
const k = O(
|
|
48
|
+
({
|
|
49
|
+
maxLength: t,
|
|
50
|
+
value: o,
|
|
51
|
+
defaultValue: r = "",
|
|
52
|
+
onChange: s,
|
|
53
|
+
onComplete: a,
|
|
54
|
+
type: i = "numeric",
|
|
55
|
+
size: N = "md",
|
|
56
|
+
disabled: l = !1,
|
|
57
|
+
autoFocus: m = !1,
|
|
58
|
+
className: T,
|
|
59
|
+
children: p,
|
|
60
|
+
...I
|
|
61
|
+
}, v) => {
|
|
62
|
+
const [h, F] = D(r), [A, C] = D(!1), x = $(null), S = o !== void 0, d = S ? o : h, G = Math.min(d.length, t - 1), R = i === "numeric" ? "[0-9]" : "[a-zA-Z0-9]", j = i === "numeric" ? /[^0-9]/g : /[^a-zA-Z0-9]/g;
|
|
63
|
+
_(() => {
|
|
64
|
+
m && x.current?.focus();
|
|
65
|
+
}, [m]);
|
|
66
|
+
const P = f(
|
|
67
|
+
(n) => {
|
|
68
|
+
const u = n.replace(j, "").slice(0, t);
|
|
69
|
+
S || F(u), s?.(u), u.length === t && a?.(u);
|
|
70
|
+
},
|
|
71
|
+
[t, j, S, s, a]
|
|
72
|
+
), V = f(
|
|
73
|
+
(n) => {
|
|
74
|
+
P(n.target.value);
|
|
75
|
+
},
|
|
76
|
+
[P]
|
|
77
|
+
), z = f(
|
|
78
|
+
(n) => {
|
|
79
|
+
n.key === "Backspace" && d.length === 0 && n.preventDefault();
|
|
80
|
+
},
|
|
81
|
+
[d]
|
|
82
|
+
), E = f(
|
|
83
|
+
(n) => {
|
|
84
|
+
n.preventDefault();
|
|
85
|
+
const u = n.clipboardData.getData("text/plain");
|
|
86
|
+
P(u);
|
|
87
|
+
},
|
|
88
|
+
[P]
|
|
89
|
+
), y = f(() => {
|
|
90
|
+
l || x.current?.focus();
|
|
91
|
+
}, [l]), K = [e.root, e[N], T].filter(Boolean).join(" "), M = {
|
|
92
|
+
value: d,
|
|
93
|
+
activeIndex: G,
|
|
94
|
+
size: N,
|
|
95
|
+
disabled: l,
|
|
96
|
+
isFocused: A,
|
|
97
|
+
focusInput: y
|
|
98
|
+
};
|
|
99
|
+
return /* @__PURE__ */ c(g.Provider, { value: M, children: /* @__PURE__ */ Z(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
ref: v,
|
|
103
|
+
className: K,
|
|
104
|
+
onClick: y,
|
|
105
|
+
"data-otp-container": !0,
|
|
106
|
+
...I,
|
|
107
|
+
children: [
|
|
108
|
+
/* @__PURE__ */ c(
|
|
109
|
+
"input",
|
|
110
|
+
{
|
|
111
|
+
ref: x,
|
|
112
|
+
className: e.hiddenInput,
|
|
113
|
+
type: "text",
|
|
114
|
+
inputMode: i === "numeric" ? "numeric" : "text",
|
|
115
|
+
pattern: `${R}*`,
|
|
116
|
+
maxLength: t,
|
|
117
|
+
value: d,
|
|
118
|
+
disabled: l,
|
|
119
|
+
autoComplete: "one-time-code",
|
|
120
|
+
"aria-label": `OTP input, ${t} digits`,
|
|
121
|
+
onChange: V,
|
|
122
|
+
onKeyDown: z,
|
|
123
|
+
onPaste: E,
|
|
124
|
+
onFocus: () => C(!0),
|
|
125
|
+
onBlur: () => C(!1),
|
|
126
|
+
tabIndex: 0
|
|
127
|
+
}
|
|
128
|
+
),
|
|
129
|
+
p
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
) });
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
k.displayName = "InputOTP";
|
|
136
|
+
const X = Object.assign(k, {
|
|
137
|
+
Group: w,
|
|
138
|
+
Slot: B,
|
|
139
|
+
Separator: b
|
|
140
|
+
});
|
|
141
|
+
export {
|
|
142
|
+
X as InputOTP
|
|
143
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("react"),r=require("lucide-react"),a=require("./KanbanBoard.module.css.cjs"),b=({priority:s})=>!s||s==="low"?null:e.jsx("span",{className:`${a.default.priority} ${a.default[`priority-${s}`]}`,children:e.jsx(r.AlertCircle,{size:12})}),g=({card:s,compact:t,onClick:n,draggable:d})=>e.jsxs("div",{className:`${a.default.card} ${t?a.default.cardCompact:""}`,onClick:n,draggable:d,role:"button",tabIndex:0,onKeyDown:l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),n?.())},children:[s.coverImage&&!t&&e.jsx("div",{className:a.default.cardCover,children:e.jsx("img",{src:s.coverImage,alt:""})}),e.jsxs("div",{className:a.default.cardContent,children:[s.labels&&s.labels.length>0&&!t&&e.jsx("div",{className:a.default.labels,children:s.labels.map(l=>e.jsx("span",{className:`${a.default.label} ${a.default[`label-${l.color}`]}`,children:l.text},l.id))}),e.jsxs("div",{className:a.default.cardTitle,children:[e.jsx(b,{priority:s.priority}),e.jsx("span",{children:s.title})]}),s.description&&!t&&e.jsx("p",{className:a.default.cardDescription,children:s.description}),(s.dueDate||s.assignees&&s.assignees.length>0)&&e.jsxs("div",{className:a.default.cardFooter,children:[s.dueDate&&e.jsxs("span",{className:a.default.dueDate,children:[e.jsx(r.Clock,{size:12}),e.jsx("span",{children:s.dueDate})]}),s.assignees&&s.assignees.length>0&&e.jsxs("div",{className:a.default.assignees,children:[s.assignees.slice(0,3).map(l=>e.jsx("div",{className:a.default.assignee,title:l.name,children:l.avatar?e.jsx("img",{src:l.avatar,alt:l.name}):e.jsx("span",{children:l.name.charAt(0)})},l.id)),s.assignees.length>3&&e.jsxs("div",{className:a.default.assigneeMore,children:["+",s.assignees.length-3]})]})]})]})]}),C=({column:s,compact:t,showCardCount:n,draggable:d,onCardClick:l,onAddCard:i,onColumnMenu:u})=>{const m=s.limit&&s.cards.length>s.limit;return e.jsxs("div",{className:a.default.column,children:[e.jsxs("div",{className:a.default.columnHeader,children:[e.jsxs("div",{className:a.default.columnTitleWrapper,children:[s.color&&s.color!=="default"&&e.jsx("span",{className:`${a.default.columnDot} ${a.default[`dot-${s.color}`]}`}),e.jsx("h3",{className:a.default.columnTitle,children:s.title}),n&&e.jsxs("span",{className:`${a.default.columnCount} ${m?a.default.columnCountOver:""}`,children:[s.cards.length,s.limit&&`/${s.limit}`]})]}),e.jsxs("div",{className:a.default.columnActions,children:[i&&e.jsx("button",{type:"button",className:a.default.columnAction,onClick:i,"aria-label":"Add card",children:e.jsx(r.Plus,{size:16})}),u&&e.jsx("button",{type:"button",className:a.default.columnAction,onClick:u,"aria-label":"Column menu",children:e.jsx(r.MoreHorizontal,{size:16})})]})]}),e.jsxs("div",{className:a.default.columnCards,children:[s.cards.map(c=>e.jsx(g,{card:c,compact:t,draggable:d,onClick:()=>l?.(c)},c.id)),s.cards.length===0&&e.jsx("div",{className:a.default.emptyColumn,children:"No cards yet"})]}),i&&e.jsxs("button",{type:"button",className:a.default.addCardButton,onClick:i,children:[e.jsx(r.Plus,{size:16}),e.jsx("span",{children:"Add card"})]})]})},j=v.forwardRef(({columns:s,onCardMove:t,onCardClick:n,onAddCard:d,onAddColumn:l,onColumnMenu:i,compact:u=!1,showCardCount:m=!0,draggable:c=!0,className:x,...f},h)=>{const N=[a.default.kanbanBoard,x].filter(Boolean).join(" ");return e.jsx("div",{ref:h,className:N,...f,children:e.jsxs("div",{className:a.default.columns,children:[s.map(o=>e.jsx(C,{column:o,compact:u,showCardCount:m,draggable:c,onCardClick:p=>n?.(p,o.id),onAddCard:d?()=>d(o.id):void 0,onColumnMenu:i?()=>i(o.id):void 0},o.id)),l&&e.jsxs("button",{type:"button",className:a.default.addColumnButton,onClick:l,children:[e.jsx(r.Plus,{size:20}),e.jsx("span",{children:"Add column"})]})]})})});j.displayName="KanbanBoard";exports.KanbanBoard=j;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { Plus as p, MoreHorizontal as y, Clock as $, AlertCircle as f } from "lucide-react";
|
|
4
|
+
import a from "./KanbanBoard.module.css.mjs";
|
|
5
|
+
const k = ({
|
|
6
|
+
priority: e
|
|
7
|
+
}) => !e || e === "low" ? null : /* @__PURE__ */ s("span", { className: `${a.priority} ${a[`priority-${e}`]}`, children: /* @__PURE__ */ s(f, { size: 12 }) }), D = ({
|
|
8
|
+
card: e,
|
|
9
|
+
compact: n,
|
|
10
|
+
onClick: r,
|
|
11
|
+
draggable: o
|
|
12
|
+
}) => /* @__PURE__ */ l(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: `${a.card} ${n ? a.cardCompact : ""}`,
|
|
16
|
+
onClick: r,
|
|
17
|
+
draggable: o,
|
|
18
|
+
role: "button",
|
|
19
|
+
tabIndex: 0,
|
|
20
|
+
onKeyDown: (i) => {
|
|
21
|
+
(i.key === "Enter" || i.key === " ") && (i.preventDefault(), r?.());
|
|
22
|
+
},
|
|
23
|
+
children: [
|
|
24
|
+
e.coverImage && !n && /* @__PURE__ */ s("div", { className: a.cardCover, children: /* @__PURE__ */ s("img", { src: e.coverImage, alt: "" }) }),
|
|
25
|
+
/* @__PURE__ */ l("div", { className: a.cardContent, children: [
|
|
26
|
+
e.labels && e.labels.length > 0 && !n && /* @__PURE__ */ s("div", { className: a.labels, children: e.labels.map((i) => /* @__PURE__ */ s(
|
|
27
|
+
"span",
|
|
28
|
+
{
|
|
29
|
+
className: `${a.label} ${a[`label-${i.color}`]}`,
|
|
30
|
+
children: i.text
|
|
31
|
+
},
|
|
32
|
+
i.id
|
|
33
|
+
)) }),
|
|
34
|
+
/* @__PURE__ */ l("div", { className: a.cardTitle, children: [
|
|
35
|
+
/* @__PURE__ */ s(k, { priority: e.priority }),
|
|
36
|
+
/* @__PURE__ */ s("span", { children: e.title })
|
|
37
|
+
] }),
|
|
38
|
+
e.description && !n && /* @__PURE__ */ s("p", { className: a.cardDescription, children: e.description }),
|
|
39
|
+
(e.dueDate || e.assignees && e.assignees.length > 0) && /* @__PURE__ */ l("div", { className: a.cardFooter, children: [
|
|
40
|
+
e.dueDate && /* @__PURE__ */ l("span", { className: a.dueDate, children: [
|
|
41
|
+
/* @__PURE__ */ s($, { size: 12 }),
|
|
42
|
+
/* @__PURE__ */ s("span", { children: e.dueDate })
|
|
43
|
+
] }),
|
|
44
|
+
e.assignees && e.assignees.length > 0 && /* @__PURE__ */ l("div", { className: a.assignees, children: [
|
|
45
|
+
e.assignees.slice(0, 3).map((i) => /* @__PURE__ */ s(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
className: a.assignee,
|
|
49
|
+
title: i.name,
|
|
50
|
+
children: i.avatar ? /* @__PURE__ */ s("img", { src: i.avatar, alt: i.name }) : /* @__PURE__ */ s("span", { children: i.name.charAt(0) })
|
|
51
|
+
},
|
|
52
|
+
i.id
|
|
53
|
+
)),
|
|
54
|
+
e.assignees.length > 3 && /* @__PURE__ */ l("div", { className: a.assigneeMore, children: [
|
|
55
|
+
"+",
|
|
56
|
+
e.assignees.length - 3
|
|
57
|
+
] })
|
|
58
|
+
] })
|
|
59
|
+
] })
|
|
60
|
+
] })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
), z = ({
|
|
64
|
+
column: e,
|
|
65
|
+
compact: n,
|
|
66
|
+
showCardCount: r,
|
|
67
|
+
draggable: o,
|
|
68
|
+
onCardClick: i,
|
|
69
|
+
onAddCard: t,
|
|
70
|
+
onColumnMenu: m
|
|
71
|
+
}) => {
|
|
72
|
+
const h = e.limit && e.cards.length > e.limit;
|
|
73
|
+
return /* @__PURE__ */ l("div", { className: a.column, children: [
|
|
74
|
+
/* @__PURE__ */ l("div", { className: a.columnHeader, children: [
|
|
75
|
+
/* @__PURE__ */ l("div", { className: a.columnTitleWrapper, children: [
|
|
76
|
+
e.color && e.color !== "default" && /* @__PURE__ */ s(
|
|
77
|
+
"span",
|
|
78
|
+
{
|
|
79
|
+
className: `${a.columnDot} ${a[`dot-${e.color}`]}`
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ s("h3", { className: a.columnTitle, children: e.title }),
|
|
83
|
+
r && /* @__PURE__ */ l(
|
|
84
|
+
"span",
|
|
85
|
+
{
|
|
86
|
+
className: `${a.columnCount} ${h ? a.columnCountOver : ""}`,
|
|
87
|
+
children: [
|
|
88
|
+
e.cards.length,
|
|
89
|
+
e.limit && `/${e.limit}`
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
] }),
|
|
94
|
+
/* @__PURE__ */ l("div", { className: a.columnActions, children: [
|
|
95
|
+
t && /* @__PURE__ */ s(
|
|
96
|
+
"button",
|
|
97
|
+
{
|
|
98
|
+
type: "button",
|
|
99
|
+
className: a.columnAction,
|
|
100
|
+
onClick: t,
|
|
101
|
+
"aria-label": "Add card",
|
|
102
|
+
children: /* @__PURE__ */ s(p, { size: 16 })
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
m && /* @__PURE__ */ s(
|
|
106
|
+
"button",
|
|
107
|
+
{
|
|
108
|
+
type: "button",
|
|
109
|
+
className: a.columnAction,
|
|
110
|
+
onClick: m,
|
|
111
|
+
"aria-label": "Column menu",
|
|
112
|
+
children: /* @__PURE__ */ s(y, { size: 16 })
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] })
|
|
116
|
+
] }),
|
|
117
|
+
/* @__PURE__ */ l("div", { className: a.columnCards, children: [
|
|
118
|
+
e.cards.map((c) => /* @__PURE__ */ s(
|
|
119
|
+
D,
|
|
120
|
+
{
|
|
121
|
+
card: c,
|
|
122
|
+
compact: n,
|
|
123
|
+
draggable: o,
|
|
124
|
+
onClick: () => i?.(c)
|
|
125
|
+
},
|
|
126
|
+
c.id
|
|
127
|
+
)),
|
|
128
|
+
e.cards.length === 0 && /* @__PURE__ */ s("div", { className: a.emptyColumn, children: "No cards yet" })
|
|
129
|
+
] }),
|
|
130
|
+
t && /* @__PURE__ */ l(
|
|
131
|
+
"button",
|
|
132
|
+
{
|
|
133
|
+
type: "button",
|
|
134
|
+
className: a.addCardButton,
|
|
135
|
+
onClick: t,
|
|
136
|
+
children: [
|
|
137
|
+
/* @__PURE__ */ s(p, { size: 16 }),
|
|
138
|
+
/* @__PURE__ */ s("span", { children: "Add card" })
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
] });
|
|
143
|
+
}, B = g(
|
|
144
|
+
({
|
|
145
|
+
columns: e,
|
|
146
|
+
onCardMove: n,
|
|
147
|
+
onCardClick: r,
|
|
148
|
+
onAddCard: o,
|
|
149
|
+
onAddColumn: i,
|
|
150
|
+
onColumnMenu: t,
|
|
151
|
+
compact: m = !1,
|
|
152
|
+
showCardCount: h = !0,
|
|
153
|
+
draggable: c = !0,
|
|
154
|
+
className: N,
|
|
155
|
+
...v
|
|
156
|
+
}, u) => {
|
|
157
|
+
const b = [a.kanbanBoard, N].filter(Boolean).join(" ");
|
|
158
|
+
return /* @__PURE__ */ s("div", { ref: u, className: b, ...v, children: /* @__PURE__ */ l("div", { className: a.columns, children: [
|
|
159
|
+
e.map((d) => /* @__PURE__ */ s(
|
|
160
|
+
z,
|
|
161
|
+
{
|
|
162
|
+
column: d,
|
|
163
|
+
compact: m,
|
|
164
|
+
showCardCount: h,
|
|
165
|
+
draggable: c,
|
|
166
|
+
onCardClick: (C) => r?.(C, d.id),
|
|
167
|
+
onAddCard: o ? () => o(d.id) : void 0,
|
|
168
|
+
onColumnMenu: t ? () => t(d.id) : void 0
|
|
169
|
+
},
|
|
170
|
+
d.id
|
|
171
|
+
)),
|
|
172
|
+
i && /* @__PURE__ */ l(
|
|
173
|
+
"button",
|
|
174
|
+
{
|
|
175
|
+
type: "button",
|
|
176
|
+
className: a.addColumnButton,
|
|
177
|
+
onClick: i,
|
|
178
|
+
children: [
|
|
179
|
+
/* @__PURE__ */ s(p, { size: 20 }),
|
|
180
|
+
/* @__PURE__ */ s("span", { children: "Add column" })
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
)
|
|
184
|
+
] }) });
|
|
185
|
+
}
|
|
186
|
+
);
|
|
187
|
+
B.displayName = "KanbanBoard";
|
|
188
|
+
export {
|
|
189
|
+
B as KanbanBoard
|
|
190
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),w=require("react"),L=require("lucide-react"),e=require("./Link.module.css.cjs"),u=w.forwardRef(({variant:c="default",size:n="md",external:t=!1,underline:o=!0,showExternalIcon:d=!0,icon:a,iconRight:l,iconAnimation:s,className:f,children:h,...m},x)=>{const g=[e.default.link,e.default[c],e.default[n],o&&e.default.underline,f].filter(Boolean).join(" "),j=t?{target:"_blank",rel:"noopener noreferrer"}:{},p=()=>{switch(n){case"sm":return 12;case"lg":return 16;default:return 14}},i=k=>{if(!s)return k==="right"&&t?e.default.iconExternal:"";switch(s){case"arrow":return e.default.iconArrow;case"arrow-left":return e.default.iconArrowLeft;case"external":return e.default.iconExternal;default:return""}},$=()=>l?r.jsx("span",{className:`${e.default.icon} ${e.default.iconRight} ${i("right")}`,"aria-hidden":"true",children:l}):t&&d?r.jsx("span",{className:`${e.default.icon} ${e.default.iconRight} ${e.default.iconExternal}`,"aria-hidden":"true",children:r.jsx(L.ExternalLink,{size:p()})}):null;return r.jsxs("a",{ref:x,className:g,...j,...m,children:[a&&r.jsx("span",{className:`${e.default.icon} ${i("left")}`,"aria-hidden":"true",children:a}),r.jsx("span",{children:h}),$()]})});u.displayName="Link";exports.Link=u;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsxs as N, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as k } from "react";
|
|
3
|
+
import { ExternalLink as E } from "lucide-react";
|
|
4
|
+
import r from "./Link.module.css.mjs";
|
|
5
|
+
const L = k(
|
|
6
|
+
({
|
|
7
|
+
variant: c = "default",
|
|
8
|
+
size: t = "md",
|
|
9
|
+
external: n = !1,
|
|
10
|
+
underline: l = !0,
|
|
11
|
+
showExternalIcon: u = !0,
|
|
12
|
+
icon: a,
|
|
13
|
+
iconRight: i,
|
|
14
|
+
iconAnimation: s,
|
|
15
|
+
className: f,
|
|
16
|
+
children: d,
|
|
17
|
+
...m
|
|
18
|
+
}, h) => {
|
|
19
|
+
const p = [
|
|
20
|
+
r.link,
|
|
21
|
+
r[c],
|
|
22
|
+
r[t],
|
|
23
|
+
l && r.underline,
|
|
24
|
+
f
|
|
25
|
+
].filter(Boolean).join(" "), g = n ? {
|
|
26
|
+
target: "_blank",
|
|
27
|
+
rel: "noopener noreferrer"
|
|
28
|
+
} : {}, $ = () => {
|
|
29
|
+
switch (t) {
|
|
30
|
+
case "sm":
|
|
31
|
+
return 12;
|
|
32
|
+
case "lg":
|
|
33
|
+
return 16;
|
|
34
|
+
default:
|
|
35
|
+
return 14;
|
|
36
|
+
}
|
|
37
|
+
}, o = (x) => {
|
|
38
|
+
if (!s)
|
|
39
|
+
return x === "right" && n ? r.iconExternal : "";
|
|
40
|
+
switch (s) {
|
|
41
|
+
case "arrow":
|
|
42
|
+
return r.iconArrow;
|
|
43
|
+
case "arrow-left":
|
|
44
|
+
return r.iconArrowLeft;
|
|
45
|
+
case "external":
|
|
46
|
+
return r.iconExternal;
|
|
47
|
+
default:
|
|
48
|
+
return "";
|
|
49
|
+
}
|
|
50
|
+
}, w = () => i ? /* @__PURE__ */ e(
|
|
51
|
+
"span",
|
|
52
|
+
{
|
|
53
|
+
className: `${r.icon} ${r.iconRight} ${o("right")}`,
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
children: i
|
|
56
|
+
}
|
|
57
|
+
) : n && u ? /* @__PURE__ */ e(
|
|
58
|
+
"span",
|
|
59
|
+
{
|
|
60
|
+
className: `${r.icon} ${r.iconRight} ${r.iconExternal}`,
|
|
61
|
+
"aria-hidden": "true",
|
|
62
|
+
children: /* @__PURE__ */ e(E, { size: $() })
|
|
63
|
+
}
|
|
64
|
+
) : null;
|
|
65
|
+
return /* @__PURE__ */ N("a", { ref: h, className: p, ...g, ...m, children: [
|
|
66
|
+
a && /* @__PURE__ */ e(
|
|
67
|
+
"span",
|
|
68
|
+
{
|
|
69
|
+
className: `${r.icon} ${o("left")}`,
|
|
70
|
+
"aria-hidden": "true",
|
|
71
|
+
children: a
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
/* @__PURE__ */ e("span", { children: d }),
|
|
75
|
+
w()
|
|
76
|
+
] });
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
L.displayName = "Link";
|
|
80
|
+
export {
|
|
81
|
+
L as Link
|
|
82
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),h=require("react"),y=require("lucide-react"),a=require("./List.module.css.cjs"),N=({item:s,size:c,interactive:e,selectable:d,onClick:o})=>{const i=h.useCallback(()=>{!s.disabled&&(e||d)&&s.onClick&&s.onClick(),o?.()},[s,e,d,o]),t=h.useCallback(u=>{(u.key==="Enter"||u.key===" ")&&(e||d)&&(u.preventDefault(),i())},[e,d,i]),f=[a.default.item,a.default[c],e&&a.default.interactive,d&&a.default.selectable,s.selected&&a.default.selected,s.disabled&&a.default.disabled,s.className].filter(Boolean).join(" "),r=!s.disabled&&(e||d||s.onClick);return l.jsxs("li",{className:f,role:d?"option":e?"button":void 0,tabIndex:r?0:void 0,"aria-selected":d?s.selected:void 0,"aria-disabled":s.disabled,onClick:r?i:void 0,onKeyDown:r?t:void 0,children:[s.leading&&l.jsx("span",{className:a.default.leading,"aria-hidden":"true",children:s.leading}),l.jsxs("div",{className:a.default.content,children:[l.jsx("span",{className:a.default.primary,children:s.primary}),s.secondary&&l.jsx("span",{className:a.default.secondary,children:s.secondary})]}),s.trailing&&l.jsx("span",{className:a.default.trailing,children:s.trailing}),d&&s.selected&&l.jsx("span",{className:a.default.checkmark,"aria-hidden":"true",children:l.jsx(y.Check,{size:c==="sm"?14:c==="lg"?20:16})})]})},j=h.forwardRef(({items:s,size:c="md",variant:e="default",interactive:d=!1,selectable:o=!1,onSelect:i,renderItem:t,emptyContent:f,className:r,...u},k)=>{const x=h.useCallback(n=>{i&&!n.disabled&&i(n)},[i]),p=[a.default.list,a.default[e],r].filter(Boolean).join(" ");return s.length===0&&f?l.jsx("div",{className:a.default.empty,children:f}):l.jsx("ul",{ref:k,className:p,role:o?"listbox":"list",...u,children:s.map((n,C)=>t?l.jsx("li",{className:a.default.customItem,children:t(n,C)},n.id):l.jsx(N,{item:n,size:c,interactive:d,selectable:o,onClick:()=>x(n)},n.id))})});j.displayName="List";exports.List=j;
|