@opensite/ui 0.5.2 → 0.5.4
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/about-company-profile.d.cts +2 -2
- package/dist/about-company-profile.d.ts +2 -2
- package/dist/about-developer-profile.d.cts +2 -2
- package/dist/about-developer-profile.d.ts +2 -2
- package/dist/about-developer-story.d.cts +2 -2
- package/dist/about-developer-story.d.ts +2 -2
- package/dist/about-interactive-tabs.d.cts +2 -2
- package/dist/about-interactive-tabs.d.ts +2 -2
- package/dist/about-location-info-hero.d.cts +2 -2
- package/dist/about-location-info-hero.d.ts +2 -2
- package/dist/about-minimal-story.d.cts +2 -2
- package/dist/about-minimal-story.d.ts +2 -2
- package/dist/about-mission-dual-image.d.cts +2 -2
- package/dist/about-mission-dual-image.d.ts +2 -2
- package/dist/about-mission-features.d.cts +2 -2
- package/dist/about-mission-features.d.ts +2 -2
- package/dist/about-network-spotlight.d.cts +2 -2
- package/dist/about-network-spotlight.d.ts +2 -2
- package/dist/about-startup-team.d.cts +2 -2
- package/dist/about-startup-team.d.ts +2 -2
- package/dist/about-stats-showcase.d.cts +2 -2
- package/dist/about-stats-showcase.d.ts +2 -2
- package/dist/about-stats-sidebar.d.cts +2 -2
- package/dist/about-stats-sidebar.d.ts +2 -2
- package/dist/about-story-expertise.d.cts +2 -2
- package/dist/about-story-expertise.d.ts +2 -2
- package/dist/about-story-gallery.d.cts +2 -2
- package/dist/about-story-gallery.d.ts +2 -2
- package/dist/about-story-hero.d.cts +2 -2
- package/dist/about-story-hero.d.ts +2 -2
- package/dist/about-streamline-team.d.cts +2 -2
- package/dist/about-streamline-team.d.ts +2 -2
- package/dist/about-vision-gallery.d.cts +2 -2
- package/dist/about-vision-gallery.d.ts +2 -2
- package/dist/alternating-blocks.d.cts +2 -2
- package/dist/alternating-blocks.d.ts +2 -2
- package/dist/animated-dialog.d.cts +2 -2
- package/dist/animated-dialog.d.ts +2 -2
- package/dist/article-breadcrumb-social.d.cts +2 -2
- package/dist/article-breadcrumb-social.d.ts +2 -2
- package/dist/article-chapters-author.d.cts +2 -2
- package/dist/article-chapters-author.d.ts +2 -2
- package/dist/article-compact-toc.d.cts +2 -2
- package/dist/article-compact-toc.d.ts +2 -2
- package/dist/article-hero-prose.d.cts +2 -2
- package/dist/article-hero-prose.d.ts +2 -2
- package/dist/article-sidebar-sticky.d.cts +2 -2
- package/dist/article-sidebar-sticky.d.ts +2 -2
- package/dist/article-split-animated.d.cts +2 -2
- package/dist/article-split-animated.d.ts +2 -2
- package/dist/article-toc-sidebar.d.cts +2 -2
- package/dist/article-toc-sidebar.d.ts +2 -2
- package/dist/auto-scroll-carousel.d.cts +2 -2
- package/dist/auto-scroll-carousel.d.ts +2 -2
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/banner-announcement-dismissible.cjs +37 -17
- package/dist/banner-announcement-dismissible.d.cts +2 -4
- package/dist/banner-announcement-dismissible.d.ts +2 -4
- package/dist/banner-announcement-dismissible.js +38 -18
- package/dist/banner-countdown-sale.cjs +19 -11
- package/dist/banner-countdown-sale.d.cts +0 -1
- package/dist/banner-countdown-sale.d.ts +0 -1
- package/dist/banner-countdown-sale.js +21 -13
- package/dist/banner-delivery-countdown.cjs +29 -24
- package/dist/banner-delivery-countdown.d.cts +0 -2
- package/dist/banner-delivery-countdown.d.ts +0 -2
- package/dist/banner-delivery-countdown.js +30 -25
- package/dist/banner-event-promo.cjs +28 -13
- package/dist/banner-event-promo.d.cts +2 -2
- package/dist/banner-event-promo.d.ts +2 -2
- package/dist/banner-event-promo.js +29 -13
- package/dist/banner-floating-offer.cjs +42 -24
- package/dist/banner-floating-offer.d.cts +2 -5
- package/dist/banner-floating-offer.d.ts +2 -5
- package/dist/banner-floating-offer.js +43 -25
- package/dist/banner-gdpr-rights.cjs +36 -19
- package/dist/banner-gdpr-rights.d.cts +5 -7
- package/dist/banner-gdpr-rights.d.ts +5 -7
- package/dist/banner-gdpr-rights.js +37 -20
- package/dist/banner-privacy-notice.cjs +34 -17
- package/dist/banner-privacy-notice.d.cts +2 -4
- package/dist/banner-privacy-notice.d.ts +2 -4
- package/dist/banner-privacy-notice.js +35 -18
- package/dist/banner-promo-cta.cjs +27 -12
- package/dist/banner-promo-cta.d.cts +2 -2
- package/dist/banner-promo-cta.d.ts +2 -2
- package/dist/banner-promo-cta.js +28 -12
- package/dist/banner-social-follow.cjs +37 -17
- package/dist/banner-social-follow.d.cts +2 -4
- package/dist/banner-social-follow.d.ts +2 -4
- package/dist/banner-social-follow.js +38 -18
- package/dist/banner-survey-incentive.cjs +34 -17
- package/dist/banner-survey-incentive.d.cts +2 -4
- package/dist/banner-survey-incentive.d.ts +2 -4
- package/dist/banner-survey-incentive.js +35 -18
- package/dist/{blocks-Cohq4eio.d.cts → blocks-DP3Vofl4.d.cts} +1 -1
- package/dist/{blocks-k17uluAz.d.ts → blocks-XLPGq8A5.d.ts} +1 -1
- package/dist/blog-cards-read-time.d.cts +2 -2
- package/dist/blog-cards-read-time.d.ts +2 -2
- package/dist/blog-cards-tagline-cta.d.cts +2 -2
- package/dist/blog-cards-tagline-cta.d.ts +2 -2
- package/dist/blog-category-overlay.d.cts +2 -2
- package/dist/blog-category-overlay.d.ts +2 -2
- package/dist/blog-featured-popular.d.cts +2 -2
- package/dist/blog-featured-popular.d.ts +2 -2
- package/dist/blog-filtered-results.d.cts +2 -2
- package/dist/blog-filtered-results.d.ts +2 -2
- package/dist/blog-grid-author-cards.d.cts +2 -2
- package/dist/blog-grid-author-cards.d.ts +2 -2
- package/dist/blog-grid-nine-posts.d.cts +2 -2
- package/dist/blog-grid-nine-posts.d.ts +2 -2
- package/dist/blog-horizontal-cards.d.cts +2 -2
- package/dist/blog-horizontal-cards.d.ts +2 -2
- package/dist/blog-horizontal-timeline.d.cts +2 -2
- package/dist/blog-horizontal-timeline.d.ts +2 -2
- package/dist/blog-masonry-featured.d.cts +2 -2
- package/dist/blog-masonry-featured.d.ts +2 -2
- package/dist/blog-related-articles.d.cts +2 -2
- package/dist/blog-related-articles.d.ts +2 -2
- package/dist/blog-tech-insights.d.cts +2 -2
- package/dist/blog-tech-insights.d.ts +2 -2
- package/dist/blur-vignette-grid.d.cts +2 -2
- package/dist/blur-vignette-grid.d.ts +2 -2
- package/dist/{button-variants-lRElsmTc.d.cts → button-variants-CdNtNOuP.d.cts} +1 -1
- package/dist/{button-variants-lRElsmTc.d.ts → button-variants-CdNtNOuP.d.ts} +1 -1
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/carousel-badge-cards.d.cts +2 -2
- package/dist/carousel-badge-cards.d.ts +2 -2
- package/dist/carousel-demo-link.d.cts +2 -2
- package/dist/carousel-demo-link.d.ts +2 -2
- package/dist/carousel-gradient-overlay.d.cts +2 -2
- package/dist/carousel-gradient-overlay.d.ts +2 -2
- package/dist/carousel-gradient-text.d.cts +2 -2
- package/dist/carousel-gradient-text.d.ts +2 -2
- package/dist/carousel-icon-sidebar.d.cts +2 -2
- package/dist/carousel-icon-sidebar.d.ts +2 -2
- package/dist/carousel-icon-tabs.d.cts +2 -2
- package/dist/carousel-icon-tabs.d.ts +2 -2
- package/dist/carousel-scale-focus.d.cts +2 -2
- package/dist/carousel-scale-focus.d.ts +2 -2
- package/dist/carousel-sidebar-resources.d.cts +2 -2
- package/dist/carousel-sidebar-resources.d.ts +2 -2
- package/dist/carousel-tabs-content.d.cts +2 -2
- package/dist/carousel-tabs-content.d.ts +2 -2
- package/dist/case-studies-featured-border.d.cts +2 -2
- package/dist/case-studies-featured-border.d.ts +2 -2
- package/dist/case-studies-image-grid.d.cts +2 -2
- package/dist/case-studies-image-grid.d.ts +2 -2
- package/dist/case-studies-stats-card.d.cts +2 -2
- package/dist/case-studies-stats-card.d.ts +2 -2
- package/dist/case-studies-testimonial-stats.d.cts +2 -2
- package/dist/case-studies-testimonial-stats.d.ts +2 -2
- package/dist/case-study-prose-sidebar.d.cts +2 -2
- package/dist/case-study-prose-sidebar.d.ts +2 -2
- package/dist/case-study-stats-metrics.d.cts +2 -2
- package/dist/case-study-stats-metrics.d.ts +2 -2
- package/dist/case-study-toc-social-sidebar.d.cts +2 -2
- package/dist/case-study-toc-social-sidebar.d.ts +2 -2
- package/dist/comparison-ai-models.d.cts +2 -2
- package/dist/comparison-ai-models.d.ts +2 -2
- package/dist/comparison-feature-cards.d.cts +2 -2
- package/dist/comparison-feature-cards.d.ts +2 -2
- package/dist/comparison-image-cards.d.cts +2 -2
- package/dist/comparison-image-cards.d.ts +2 -2
- package/dist/comparison-metrics-rows.d.cts +2 -2
- package/dist/comparison-metrics-rows.d.ts +2 -2
- package/dist/comparison-table-two-column.d.cts +2 -2
- package/dist/comparison-table-two-column.d.ts +2 -2
- package/dist/components.d.cts +2 -2
- package/dist/components.d.ts +2 -2
- package/dist/contact-callback.d.cts +2 -2
- package/dist/contact-callback.d.ts +2 -2
- package/dist/contact-card.d.cts +2 -2
- package/dist/contact-card.d.ts +2 -2
- package/dist/contact-careers.d.cts +2 -2
- package/dist/contact-careers.d.ts +2 -2
- package/dist/contact-catering.d.cts +2 -2
- package/dist/contact-catering.d.ts +2 -2
- package/dist/contact-consultation.d.cts +2 -2
- package/dist/contact-consultation.d.ts +2 -2
- package/dist/contact-dark.d.cts +2 -2
- package/dist/contact-dark.d.ts +2 -2
- package/dist/contact-demo.d.cts +2 -2
- package/dist/contact-demo.d.ts +2 -2
- package/dist/contact-emergency.d.cts +2 -2
- package/dist/contact-emergency.d.ts +2 -2
- package/dist/contact-event.d.cts +2 -2
- package/dist/contact-event.d.ts +2 -2
- package/dist/contact-faq.d.cts +2 -2
- package/dist/contact-faq.d.ts +2 -2
- package/dist/contact-feedback.d.cts +2 -2
- package/dist/contact-feedback.d.ts +2 -2
- package/dist/contact-fitness.d.cts +2 -2
- package/dist/contact-fitness.d.ts +2 -2
- package/dist/contact-floating-banner.d.cts +2 -2
- package/dist/contact-floating-banner.d.ts +2 -2
- package/dist/contact-guest.d.cts +2 -2
- package/dist/contact-guest.d.ts +2 -2
- package/dist/contact-help-center.d.cts +2 -2
- package/dist/contact-help-center.d.ts +2 -2
- package/dist/contact-image.d.cts +2 -2
- package/dist/contact-image.d.ts +2 -2
- package/dist/contact-insurance.d.cts +2 -2
- package/dist/contact-insurance.d.ts +2 -2
- package/dist/contact-interview.d.cts +2 -2
- package/dist/contact-interview.d.ts +2 -2
- package/dist/contact-locations.d.cts +2 -2
- package/dist/contact-locations.d.ts +2 -2
- package/dist/contact-maintenance.d.cts +2 -2
- package/dist/contact-maintenance.d.ts +2 -2
- package/dist/contact-map.d.cts +2 -2
- package/dist/contact-map.d.ts +2 -2
- package/dist/contact-minimal.d.cts +2 -2
- package/dist/contact-minimal.d.ts +2 -2
- package/dist/contact-moving.d.cts +2 -2
- package/dist/contact-moving.d.ts +2 -2
- package/dist/contact-multistep.d.cts +2 -2
- package/dist/contact-multistep.d.ts +2 -2
- package/dist/contact-partnership.d.cts +2 -2
- package/dist/contact-partnership.d.ts +2 -2
- package/dist/contact-photography.d.cts +2 -2
- package/dist/contact-photography.d.ts +2 -2
- package/dist/contact-press.d.cts +2 -2
- package/dist/contact-press.d.ts +2 -2
- package/dist/contact-quote.d.cts +2 -2
- package/dist/contact-quote.d.ts +2 -2
- package/dist/contact-referral.d.cts +2 -2
- package/dist/contact-referral.d.ts +2 -2
- package/dist/contact-report.d.cts +2 -2
- package/dist/contact-report.d.ts +2 -2
- package/dist/contact-reservation.d.cts +2 -2
- package/dist/contact-reservation.d.ts +2 -2
- package/dist/contact-retreat.d.cts +2 -2
- package/dist/contact-retreat.d.ts +2 -2
- package/dist/contact-rsvp.d.cts +2 -2
- package/dist/contact-rsvp.d.ts +2 -2
- package/dist/contact-sales.d.cts +2 -2
- package/dist/contact-sales.d.ts +2 -2
- package/dist/contact-schedule.d.cts +2 -2
- package/dist/contact-schedule.d.ts +2 -2
- package/dist/contact-sponsorship.d.cts +2 -2
- package/dist/contact-sponsorship.d.ts +2 -2
- package/dist/contact-support.d.cts +2 -2
- package/dist/contact-support.d.ts +2 -2
- package/dist/contact-tenant.d.cts +2 -2
- package/dist/contact-tenant.d.ts +2 -2
- package/dist/contact-vendor.d.cts +2 -2
- package/dist/contact-vendor.d.ts +2 -2
- package/dist/contact-volunteer.d.cts +2 -2
- package/dist/contact-volunteer.d.ts +2 -2
- package/dist/contact-warranty.d.cts +2 -2
- package/dist/contact-warranty.d.ts +2 -2
- package/dist/contact-wedding.d.cts +2 -2
- package/dist/contact-wedding.d.ts +2 -2
- package/dist/container.d.cts +2 -2
- package/dist/container.d.ts +2 -2
- package/dist/cta-accent-background.d.cts +2 -2
- package/dist/cta-accent-background.d.ts +2 -2
- package/dist/cta-app-download-newsletter.d.cts +2 -2
- package/dist/cta-app-download-newsletter.d.ts +2 -2
- package/dist/cta-background-icon-badge.d.cts +2 -2
- package/dist/cta-background-icon-badge.d.ts +2 -2
- package/dist/cta-case-study-testimonial.d.cts +2 -2
- package/dist/cta-case-study-testimonial.d.ts +2 -2
- package/dist/cta-documentation-links.d.cts +2 -2
- package/dist/cta-documentation-links.d.ts +2 -2
- package/dist/cta-enterprise-dark-features.d.cts +2 -2
- package/dist/cta-enterprise-dark-features.d.ts +2 -2
- package/dist/cta-enterprise-split.d.cts +2 -2
- package/dist/cta-enterprise-split.d.ts +2 -2
- package/dist/cta-feature-cards-grid.d.cts +2 -2
- package/dist/cta-feature-cards-grid.d.ts +2 -2
- package/dist/cta-feature-checklist.d.cts +2 -2
- package/dist/cta-feature-checklist.d.ts +2 -2
- package/dist/cta-feature-list.d.cts +2 -2
- package/dist/cta-feature-list.d.ts +2 -2
- package/dist/cta-fullwidth-background.d.cts +2 -2
- package/dist/cta-fullwidth-background.d.ts +2 -2
- package/dist/cta-gradient-logos-floating.d.cts +2 -2
- package/dist/cta-gradient-logos-floating.d.ts +2 -2
- package/dist/cta-gradient-stats-hero.d.cts +2 -2
- package/dist/cta-gradient-stats-hero.d.ts +2 -2
- package/dist/cta-hero-feature-cards.d.cts +2 -2
- package/dist/cta-hero-feature-cards.d.ts +2 -2
- package/dist/cta-image-overlay-arrow.d.cts +2 -2
- package/dist/cta-image-overlay-arrow.d.ts +2 -2
- package/dist/cta-image-overlay-centered.d.cts +2 -2
- package/dist/cta-image-overlay-centered.d.ts +2 -2
- package/dist/cta-minimal-separator.d.cts +2 -2
- package/dist/cta-minimal-separator.d.ts +2 -2
- package/dist/cta-newsletter-features.d.cts +2 -2
- package/dist/cta-newsletter-features.d.ts +2 -2
- package/dist/cta-pattern-background.d.cts +2 -2
- package/dist/cta-pattern-background.d.ts +2 -2
- package/dist/cta-platform-demo.d.cts +2 -2
- package/dist/cta-platform-demo.d.ts +2 -2
- package/dist/cta-simple-centered.d.cts +2 -2
- package/dist/cta-simple-centered.d.ts +2 -2
- package/dist/cta-split-gradient-image.d.cts +2 -2
- package/dist/cta-split-gradient-image.d.ts +2 -2
- package/dist/cta-split-image-logos.d.cts +2 -2
- package/dist/cta-split-image-logos.d.ts +2 -2
- package/dist/cta-split-image.d.cts +2 -2
- package/dist/cta-split-image.d.ts +2 -2
- package/dist/cta-stacked-cards.d.cts +2 -2
- package/dist/cta-stacked-cards.d.ts +2 -2
- package/dist/cta-video-background-hero.d.cts +2 -2
- package/dist/cta-video-background-hero.d.ts +2 -2
- package/dist/cta-workflow-tabs.d.cts +2 -2
- package/dist/cta-workflow-tabs.d.ts +2 -2
- package/dist/expandable-case-study-cards.d.cts +2 -2
- package/dist/expandable-case-study-cards.d.ts +2 -2
- package/dist/faq-badge-support.d.cts +2 -2
- package/dist/faq-badge-support.d.ts +2 -2
- package/dist/faq-bordered-badge.d.cts +2 -2
- package/dist/faq-bordered-badge.d.ts +2 -2
- package/dist/faq-card-categories.d.cts +2 -2
- package/dist/faq-card-categories.d.ts +2 -2
- package/dist/faq-categorized-sections.d.cts +2 -2
- package/dist/faq-categorized-sections.d.ts +2 -2
- package/dist/faq-centered-accordion.d.cts +2 -2
- package/dist/faq-centered-accordion.d.ts +2 -2
- package/dist/faq-gradient-categories.d.cts +2 -2
- package/dist/faq-gradient-categories.d.ts +2 -2
- package/dist/faq-icon-benefits.d.cts +2 -2
- package/dist/faq-icon-benefits.d.ts +2 -2
- package/dist/faq-muted-cards.d.cts +2 -2
- package/dist/faq-muted-cards.d.ts +2 -2
- package/dist/faq-numbered-grid.d.cts +2 -2
- package/dist/faq-numbered-grid.d.ts +2 -2
- package/dist/faq-numbered-list.d.cts +2 -2
- package/dist/faq-numbered-list.d.ts +2 -2
- package/dist/faq-profile-sidebar.d.cts +2 -2
- package/dist/faq-profile-sidebar.d.ts +2 -2
- package/dist/faq-rounded-cards.d.cts +2 -2
- package/dist/faq-rounded-cards.d.ts +2 -2
- package/dist/faq-sidebar-navigation.d.cts +2 -2
- package/dist/faq-sidebar-navigation.d.ts +2 -2
- package/dist/faq-simple-accordion.d.cts +2 -2
- package/dist/faq-simple-accordion.d.ts +2 -2
- package/dist/faq-split-help.d.cts +2 -2
- package/dist/faq-split-help.d.ts +2 -2
- package/dist/faq-static-list.d.cts +2 -2
- package/dist/faq-static-list.d.ts +2 -2
- package/dist/feature-accordion-image.d.cts +2 -2
- package/dist/feature-accordion-image.d.ts +2 -2
- package/dist/feature-badge-grid-six.d.cts +2 -2
- package/dist/feature-badge-grid-six.d.ts +2 -2
- package/dist/feature-bento-image-grid.d.cts +2 -2
- package/dist/feature-bento-image-grid.d.ts +2 -2
- package/dist/feature-bento-utilities.d.cts +2 -2
- package/dist/feature-bento-utilities.d.ts +2 -2
- package/dist/feature-card-grid-linked.d.cts +2 -2
- package/dist/feature-card-grid-linked.d.ts +2 -2
- package/dist/feature-category-image-cards.d.cts +2 -2
- package/dist/feature-category-image-cards.d.ts +2 -2
- package/dist/feature-checklist-image.d.cts +2 -2
- package/dist/feature-checklist-image.d.ts +2 -2
- package/dist/feature-checklist-three-column.d.cts +2 -2
- package/dist/feature-checklist-three-column.d.ts +2 -2
- package/dist/feature-icon-grid-accent.d.cts +2 -2
- package/dist/feature-icon-grid-accent.d.ts +2 -2
- package/dist/feature-icon-tabs-content.d.cts +2 -2
- package/dist/feature-icon-tabs-content.d.ts +2 -2
- package/dist/feature-image-cards-three-column.d.cts +2 -2
- package/dist/feature-image-cards-three-column.d.ts +2 -2
- package/dist/feature-image-overlay-badge.d.cts +2 -2
- package/dist/feature-image-overlay-badge.d.ts +2 -2
- package/dist/feature-integration-cards.d.cts +2 -2
- package/dist/feature-integration-cards.d.ts +2 -2
- package/dist/feature-numbered-cards.d.cts +2 -2
- package/dist/feature-numbered-cards.d.ts +2 -2
- package/dist/feature-showcase.d.cts +2 -2
- package/dist/feature-showcase.d.ts +2 -2
- package/dist/feature-split-image-reverse.d.cts +2 -2
- package/dist/feature-split-image-reverse.d.ts +2 -2
- package/dist/feature-split-image.d.cts +2 -2
- package/dist/feature-split-image.d.ts +2 -2
- package/dist/feature-stats-highlight.d.cts +2 -2
- package/dist/feature-stats-highlight.d.ts +2 -2
- package/dist/feature-tabbed-content-image.d.cts +2 -2
- package/dist/feature-tabbed-content-image.d.ts +2 -2
- package/dist/feature-utility-cards-grid.d.cts +2 -2
- package/dist/feature-utility-cards-grid.d.ts +2 -2
- package/dist/footer-animated-social.d.cts +2 -2
- package/dist/footer-animated-social.d.ts +2 -2
- package/dist/footer-background-card.d.cts +2 -2
- package/dist/footer-background-card.d.ts +2 -2
- package/dist/footer-brand-description.d.cts +2 -2
- package/dist/footer-brand-description.d.ts +2 -2
- package/dist/footer-brand-links-contact.d.cts +2 -2
- package/dist/footer-brand-links-contact.d.ts +2 -2
- package/dist/footer-contact-card.d.cts +2 -2
- package/dist/footer-contact-card.d.ts +2 -2
- package/dist/footer-cta-banner.d.cts +2 -2
- package/dist/footer-cta-banner.d.ts +2 -2
- package/dist/footer-cta-social.d.cts +2 -2
- package/dist/footer-cta-social.d.ts +2 -2
- package/dist/footer-nav-social.d.cts +2 -2
- package/dist/footer-nav-social.d.ts +2 -2
- package/dist/footer-newsletter-minimal.d.cts +2 -2
- package/dist/footer-newsletter-minimal.d.ts +2 -2
- package/dist/footer-simple-centered.d.cts +2 -2
- package/dist/footer-simple-centered.d.ts +2 -2
- package/dist/footer-social-newsletter.d.cts +2 -2
- package/dist/footer-social-newsletter.d.ts +2 -2
- package/dist/hero-ad-campaign-expert.d.cts +2 -2
- package/dist/hero-ad-campaign-expert.d.ts +2 -2
- package/dist/hero-adaptable-product-grid.d.cts +2 -2
- package/dist/hero-adaptable-product-grid.d.ts +2 -2
- package/dist/hero-agency-animated-images.d.cts +2 -2
- package/dist/hero-agency-animated-images.d.ts +2 -2
- package/dist/hero-ai-powered-carousel.d.cts +2 -2
- package/dist/hero-ai-powered-carousel.d.ts +2 -2
- package/dist/hero-announcement-badge.d.cts +2 -2
- package/dist/hero-announcement-badge.d.ts +2 -2
- package/dist/hero-architecture-fullscreen.d.cts +2 -2
- package/dist/hero-architecture-fullscreen.d.ts +2 -2
- package/dist/hero-badge-image-split.d.cts +2 -2
- package/dist/hero-badge-image-split.d.ts +2 -2
- package/dist/hero-badge-shadow-overlay.d.cts +2 -2
- package/dist/hero-badge-shadow-overlay.d.ts +2 -2
- package/dist/hero-billing-platform-logos.d.cts +2 -2
- package/dist/hero-billing-platform-logos.d.ts +2 -2
- package/dist/hero-business-carousel-dots.d.cts +2 -2
- package/dist/hero-business-carousel-dots.d.ts +2 -2
- package/dist/hero-business-operations-mosaic.d.cts +2 -2
- package/dist/hero-business-operations-mosaic.d.ts +2 -2
- package/dist/hero-centered-gradient-cta.d.cts +2 -2
- package/dist/hero-centered-gradient-cta.d.ts +2 -2
- package/dist/hero-centered-image-grid.d.cts +2 -2
- package/dist/hero-centered-image-grid.d.ts +2 -2
- package/dist/hero-centered-screenshot.d.cts +2 -2
- package/dist/hero-centered-screenshot.d.ts +2 -2
- package/dist/hero-coming-soon-countdown.d.cts +2 -2
- package/dist/hero-coming-soon-countdown.d.ts +2 -2
- package/dist/hero-community-survey-cta.d.cts +2 -2
- package/dist/hero-community-survey-cta.d.ts +2 -2
- package/dist/hero-conversation-intelligence.d.cts +2 -2
- package/dist/hero-conversation-intelligence.d.ts +2 -2
- package/dist/hero-conversion-video-play.d.cts +2 -2
- package/dist/hero-conversion-video-play.d.ts +2 -2
- package/dist/hero-creative-studio-stacked.d.cts +2 -2
- package/dist/hero-creative-studio-stacked.d.ts +2 -2
- package/dist/hero-crm-streamlined.d.cts +2 -2
- package/dist/hero-crm-streamlined.d.ts +2 -2
- package/dist/hero-customer-support-layered.d.cts +2 -2
- package/dist/hero-customer-support-layered.d.ts +2 -2
- package/dist/hero-dashed-border-features.d.cts +2 -2
- package/dist/hero-dashed-border-features.d.ts +2 -2
- package/dist/hero-design-carousel-portfolio.d.cts +2 -2
- package/dist/hero-design-carousel-portfolio.d.ts +2 -2
- package/dist/hero-design-showcase-logos.d.cts +2 -2
- package/dist/hero-design-showcase-logos.d.ts +2 -2
- package/dist/hero-design-system-3d.d.cts +2 -2
- package/dist/hero-design-system-3d.d.ts +2 -2
- package/dist/hero-developer-tools-code.d.cts +2 -2
- package/dist/hero-developer-tools-code.d.ts +2 -2
- package/dist/hero-digital-agency-fullscreen.d.cts +2 -2
- package/dist/hero-digital-agency-fullscreen.d.ts +2 -2
- package/dist/hero-ecommerce-product-showcase.d.cts +2 -2
- package/dist/hero-ecommerce-product-showcase.d.ts +2 -2
- package/dist/hero-enterprise-security.d.cts +2 -2
- package/dist/hero-enterprise-security.d.ts +2 -2
- package/dist/hero-event-registration.d.cts +2 -2
- package/dist/hero-event-registration.d.ts +2 -2
- package/dist/hero-feature-cards-grid.d.cts +2 -2
- package/dist/hero-feature-cards-grid.d.ts +2 -2
- package/dist/hero-floating-images.d.cts +2 -2
- package/dist/hero-floating-images.d.ts +2 -2
- package/dist/hero-fullscreen-background-image.d.cts +2 -2
- package/dist/hero-fullscreen-background-image.d.ts +2 -2
- package/dist/hero-fullscreen-logo-cta.d.cts +2 -2
- package/dist/hero-fullscreen-logo-cta.d.ts +2 -2
- package/dist/hero-gradient-avatars-rating.d.cts +2 -2
- package/dist/hero-gradient-avatars-rating.d.ts +2 -2
- package/dist/hero-gradient-client-focused.d.cts +2 -2
- package/dist/hero-gradient-client-focused.d.ts +2 -2
- package/dist/hero-grid-pattern-efficiency.d.cts +2 -2
- package/dist/hero-grid-pattern-efficiency.d.ts +2 -2
- package/dist/hero-grid-pattern-solutions.d.cts +2 -2
- package/dist/hero-grid-pattern-solutions.d.ts +2 -2
- package/dist/hero-hiring-animated-text.d.cts +2 -2
- package/dist/hero-hiring-animated-text.d.ts +2 -2
- package/dist/hero-image-left-content.d.cts +2 -2
- package/dist/hero-image-left-content.d.ts +2 -2
- package/dist/hero-image-slider.d.cts +2 -2
- package/dist/hero-image-slider.d.ts +2 -2
- package/dist/hero-innovation-image-grid.d.cts +2 -2
- package/dist/hero-innovation-image-grid.d.ts +2 -2
- package/dist/hero-logo-centered-screenshot.d.cts +2 -2
- package/dist/hero-logo-centered-screenshot.d.ts +2 -2
- package/dist/hero-marketplace-scattered-images.d.cts +2 -2
- package/dist/hero-marketplace-scattered-images.d.ts +2 -2
- package/dist/hero-mental-health-team.d.cts +2 -2
- package/dist/hero-mental-health-team.d.ts +2 -2
- package/dist/hero-mentorship-video-split.d.cts +2 -2
- package/dist/hero-mentorship-video-split.d.ts +2 -2
- package/dist/hero-minimal-centered-dark.d.cts +2 -2
- package/dist/hero-minimal-centered-dark.d.ts +2 -2
- package/dist/hero-mobile-app-download.d.cts +2 -2
- package/dist/hero-mobile-app-download.d.ts +2 -2
- package/dist/hero-newsletter-minimal.d.cts +2 -2
- package/dist/hero-newsletter-minimal.d.ts +2 -2
- package/dist/hero-pattern-badge-logos.d.cts +2 -2
- package/dist/hero-pattern-badge-logos.d.ts +2 -2
- package/dist/hero-pattern-logo-tech-stack.d.cts +2 -2
- package/dist/hero-pattern-logo-tech-stack.d.ts +2 -2
- package/dist/hero-platform-features-grid.d.cts +2 -2
- package/dist/hero-platform-features-grid.d.ts +2 -2
- package/dist/hero-portfolio-creative.d.cts +2 -2
- package/dist/hero-portfolio-creative.d.ts +2 -2
- package/dist/hero-premium-split-avatars.d.cts +2 -2
- package/dist/hero-premium-split-avatars.d.ts +2 -2
- package/dist/hero-presentation-platform-video.d.cts +2 -2
- package/dist/hero-presentation-platform-video.d.ts +2 -2
- package/dist/hero-pricing-comparison.d.cts +2 -2
- package/dist/hero-pricing-comparison.d.ts +2 -2
- package/dist/hero-product-showcase-floating.d.cts +2 -2
- package/dist/hero-product-showcase-floating.d.ts +2 -2
- package/dist/hero-productivity-launcher-video.d.cts +2 -2
- package/dist/hero-productivity-launcher-video.d.ts +2 -2
- package/dist/hero-saas-dashboard-preview.d.cts +2 -2
- package/dist/hero-saas-dashboard-preview.d.ts +2 -2
- package/dist/hero-shared-inbox-layered.d.cts +2 -2
- package/dist/hero-shared-inbox-layered.d.ts +2 -2
- package/dist/hero-simple-centered-image.d.cts +2 -2
- package/dist/hero-simple-centered-image.d.ts +2 -2
- package/dist/hero-software-growth-video-dialog.d.cts +2 -2
- package/dist/hero-software-growth-video-dialog.d.ts +2 -2
- package/dist/hero-spiral-pattern-cards.d.cts +2 -2
- package/dist/hero-spiral-pattern-cards.d.ts +2 -2
- package/dist/hero-split-geometric-shapes.d.cts +2 -2
- package/dist/hero-split-geometric-shapes.d.ts +2 -2
- package/dist/hero-split-icon-cards.d.cts +2 -2
- package/dist/hero-split-icon-cards.d.ts +2 -2
- package/dist/hero-split-image-newsletter.d.cts +2 -2
- package/dist/hero-split-image-newsletter.d.ts +2 -2
- package/dist/hero-split-spiral-shapes.d.cts +2 -2
- package/dist/hero-split-spiral-shapes.d.ts +2 -2
- package/dist/hero-startup-launch-cta.d.cts +2 -2
- package/dist/hero-startup-launch-cta.d.ts +2 -2
- package/dist/hero-stats-social-proof.d.cts +2 -2
- package/dist/hero-stats-social-proof.d.ts +2 -2
- package/dist/hero-task-timer-animated.d.cts +2 -2
- package/dist/hero-task-timer-animated.d.ts +2 -2
- package/dist/hero-tech-carousel.d.cts +2 -2
- package/dist/hero-tech-carousel.d.ts +2 -2
- package/dist/hero-therapy-testimonial-grid.d.cts +2 -2
- package/dist/hero-therapy-testimonial-grid.d.ts +2 -2
- package/dist/hero-ui-library-showcase.d.cts +2 -2
- package/dist/hero-ui-library-showcase.d.ts +2 -2
- package/dist/hero-video-background-dark.d.cts +2 -2
- package/dist/hero-video-background-dark.d.ts +2 -2
- package/dist/hero-video-dialog-gradient.d.cts +2 -2
- package/dist/hero-video-dialog-gradient.d.ts +2 -2
- package/dist/hero-video-overlay-stars.d.cts +2 -2
- package/dist/hero-video-overlay-stars.d.ts +2 -2
- package/dist/hero-welcome-asymmetric-images.d.cts +2 -2
- package/dist/hero-welcome-asymmetric-images.d.ts +2 -2
- package/dist/image-slider.d.cts +2 -2
- package/dist/image-slider.d.ts +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/industries-badge-list-bordered.d.cts +2 -2
- package/dist/industries-badge-list-bordered.d.ts +2 -2
- package/dist/industries-expandable-showcase.d.cts +2 -2
- package/dist/industries-expandable-showcase.d.ts +2 -2
- package/dist/industries-hover-reveal-grid.d.cts +2 -2
- package/dist/industries-hover-reveal-grid.d.ts +2 -2
- package/dist/industries-timeline-table.d.cts +2 -2
- package/dist/industries-timeline-table.d.ts +2 -2
- package/dist/interior-carousel.d.cts +2 -2
- package/dist/interior-carousel.d.ts +2 -2
- package/dist/link-page-bento-layout.d.cts +2 -2
- package/dist/link-page-bento-layout.d.ts +2 -2
- package/dist/link-page-grid-cards.d.cts +2 -2
- package/dist/link-page-grid-cards.d.ts +2 -2
- package/dist/link-page-minimal-profile.d.cts +2 -2
- package/dist/link-page-minimal-profile.d.ts +2 -2
- package/dist/link-page-newsletter-social.d.cts +2 -2
- package/dist/link-page-newsletter-social.d.ts +2 -2
- package/dist/link-tree-block.d.cts +2 -2
- package/dist/link-tree-block.d.ts +2 -2
- package/dist/list-searchable-grid.d.cts +2 -2
- package/dist/list-searchable-grid.d.ts +2 -2
- package/dist/logos-carousel-heading.d.cts +2 -2
- package/dist/logos-carousel-heading.d.ts +2 -2
- package/dist/logos-centered-simple.d.cts +2 -2
- package/dist/logos-centered-simple.d.ts +2 -2
- package/dist/logos-certifications-grid.d.cts +2 -2
- package/dist/logos-certifications-grid.d.ts +2 -2
- package/dist/logos-double-carousel-pattern.d.cts +2 -2
- package/dist/logos-double-carousel-pattern.d.ts +2 -2
- package/dist/logos-inline-tagline.d.cts +2 -2
- package/dist/logos-inline-tagline.d.ts +2 -2
- package/dist/logos-marquee-muted.d.cts +2 -2
- package/dist/logos-marquee-muted.d.ts +2 -2
- package/dist/logos-minimal-carousel.d.cts +2 -2
- package/dist/logos-minimal-carousel.d.ts +2 -2
- package/dist/logos-numbered-carousel.d.cts +2 -2
- package/dist/logos-numbered-carousel.d.ts +2 -2
- package/dist/logos-partner-grid-sidebar.d.cts +2 -2
- package/dist/logos-partner-grid-sidebar.d.ts +2 -2
- package/dist/logos-partner-network.d.cts +2 -2
- package/dist/logos-partner-network.d.ts +2 -2
- package/dist/logos-two-row-grid.d.cts +2 -2
- package/dist/logos-two-row-grid.d.ts +2 -2
- package/dist/masonry-motion-grid.d.cts +2 -2
- package/dist/masonry-motion-grid.d.ts +2 -2
- package/dist/media-hover-ctas.d.cts +2 -2
- package/dist/media-hover-ctas.d.ts +2 -2
- package/dist/navbar-animated-preview.d.cts +2 -2
- package/dist/navbar-animated-preview.d.ts +2 -2
- package/dist/navbar-centered-menu.d.cts +2 -2
- package/dist/navbar-centered-menu.d.ts +2 -2
- package/dist/navbar-dark-icons.d.cts +2 -2
- package/dist/navbar-dark-icons.d.ts +2 -2
- package/dist/navbar-dropdown-menu.d.cts +2 -2
- package/dist/navbar-dropdown-menu.d.ts +2 -2
- package/dist/navbar-education-platform.d.cts +2 -2
- package/dist/navbar-education-platform.d.ts +2 -2
- package/dist/navbar-enterprise-mega.d.cts +2 -2
- package/dist/navbar-enterprise-mega.d.ts +2 -2
- package/dist/navbar-feature-grid.d.cts +2 -2
- package/dist/navbar-feature-grid.d.ts +2 -2
- package/dist/navbar-floating-pill.d.cts +2 -2
- package/dist/navbar-floating-pill.d.ts +2 -2
- package/dist/navbar-fullscreen-menu.d.cts +2 -2
- package/dist/navbar-fullscreen-menu.d.ts +2 -2
- package/dist/navbar-icon-links.d.cts +2 -2
- package/dist/navbar-icon-links.d.ts +2 -2
- package/dist/navbar-image-preview.d.cts +2 -2
- package/dist/navbar-image-preview.d.ts +2 -2
- package/dist/navbar-mega-menu.d.cts +2 -2
- package/dist/navbar-mega-menu.d.ts +2 -2
- package/dist/navbar-multi-column-groups.d.cts +2 -2
- package/dist/navbar-multi-column-groups.d.ts +2 -2
- package/dist/navbar-platform-resources.d.cts +2 -2
- package/dist/navbar-platform-resources.d.ts +2 -2
- package/dist/navbar-search-focused.d.cts +2 -2
- package/dist/navbar-search-focused.d.ts +2 -2
- package/dist/navbar-sidebar-mobile.d.cts +2 -2
- package/dist/navbar-sidebar-mobile.d.ts +2 -2
- package/dist/navbar-simple-links.d.cts +2 -2
- package/dist/navbar-simple-links.d.ts +2 -2
- package/dist/navbar-split-cta.d.cts +2 -2
- package/dist/navbar-split-cta.d.ts +2 -2
- package/dist/navbar-sticky-compact.d.cts +2 -2
- package/dist/navbar-sticky-compact.d.ts +2 -2
- package/dist/navbar-tabbed-sections.d.cts +2 -2
- package/dist/navbar-tabbed-sections.d.ts +2 -2
- package/dist/navbar-transparent-overlay.d.cts +2 -2
- package/dist/navbar-transparent-overlay.d.ts +2 -2
- package/dist/page-hero-banner.d.cts +2 -2
- package/dist/page-hero-banner.d.ts +2 -2
- package/dist/pressable.d.cts +1 -1
- package/dist/pressable.d.ts +1 -1
- package/dist/process-expandable-timeline.d.cts +2 -2
- package/dist/process-expandable-timeline.d.ts +2 -2
- package/dist/process-hover-cards.d.cts +2 -2
- package/dist/process-hover-cards.d.ts +2 -2
- package/dist/process-icon-timeline.d.cts +2 -2
- package/dist/process-icon-timeline.d.ts +2 -2
- package/dist/process-mission-principles.d.cts +2 -2
- package/dist/process-mission-principles.d.ts +2 -2
- package/dist/process-numbered-services.d.cts +2 -2
- package/dist/process-numbered-services.d.ts +2 -2
- package/dist/process-roadmap-timeline.d.cts +2 -2
- package/dist/process-roadmap-timeline.d.ts +2 -2
- package/dist/process-scroll-image.d.cts +2 -2
- package/dist/process-scroll-image.d.ts +2 -2
- package/dist/process-steps-grid.d.cts +2 -2
- package/dist/process-steps-grid.d.ts +2 -2
- package/dist/process-sticky-steps.d.cts +2 -2
- package/dist/process-sticky-steps.d.ts +2 -2
- package/dist/project-alternating-motion.d.cts +2 -2
- package/dist/project-alternating-motion.d.ts +2 -2
- package/dist/project-background-reveal.d.cts +2 -2
- package/dist/project-background-reveal.d.ts +2 -2
- package/dist/project-card-overlay.d.cts +2 -2
- package/dist/project-card-overlay.d.ts +2 -2
- package/dist/project-carousel-cinematic.d.cts +2 -2
- package/dist/project-carousel-cinematic.d.ts +2 -2
- package/dist/project-carousel-detail-cards.d.cts +2 -2
- package/dist/project-carousel-detail-cards.d.ts +2 -2
- package/dist/project-carousel-minimal.d.cts +2 -2
- package/dist/project-carousel-minimal.d.ts +2 -2
- package/dist/project-detail-architecture-carousel.d.cts +2 -2
- package/dist/project-detail-architecture-carousel.d.ts +2 -2
- package/dist/project-experience-quote.d.cts +2 -2
- package/dist/project-experience-quote.d.ts +2 -2
- package/dist/project-featured-carousel.d.cts +2 -2
- package/dist/project-featured-carousel.d.ts +2 -2
- package/dist/project-filterable-gallery.d.cts +2 -2
- package/dist/project-filterable-gallery.d.ts +2 -2
- package/dist/project-filterable-three-column.d.cts +2 -2
- package/dist/project-filterable-three-column.d.ts +2 -2
- package/dist/project-grid-gallery.d.cts +2 -2
- package/dist/project-grid-gallery.d.ts +2 -2
- package/dist/project-grid-motion.d.cts +2 -2
- package/dist/project-grid-motion.d.ts +2 -2
- package/dist/project-horizontal-cards.d.cts +2 -2
- package/dist/project-horizontal-cards.d.ts +2 -2
- package/dist/project-hover-reveal-grid.d.cts +2 -2
- package/dist/project-hover-reveal-grid.d.ts +2 -2
- package/dist/project-interactive-hover-reveal.d.cts +2 -2
- package/dist/project-interactive-hover-reveal.d.ts +2 -2
- package/dist/project-masonry-columns.d.cts +2 -2
- package/dist/project-masonry-columns.d.ts +2 -2
- package/dist/project-nature-mosaic.d.cts +2 -2
- package/dist/project-nature-mosaic.d.ts +2 -2
- package/dist/project-scroll-reveal.d.cts +2 -2
- package/dist/project-scroll-reveal.d.ts +2 -2
- package/dist/project-showcase-alternating.d.cts +2 -2
- package/dist/project-showcase-alternating.d.ts +2 -2
- package/dist/project-sticky-scroll.d.cts +2 -2
- package/dist/project-sticky-scroll.d.ts +2 -2
- package/dist/project-studio-hover-preview.d.cts +2 -2
- package/dist/project-studio-hover-preview.d.ts +2 -2
- package/dist/project-table-list.d.cts +2 -2
- package/dist/project-table-list.d.ts +2 -2
- package/dist/project-video-carousel.d.cts +2 -2
- package/dist/project-video-carousel.d.ts +2 -2
- package/dist/project-video-hover-bento.d.cts +2 -2
- package/dist/project-video-hover-bento.d.ts +2 -2
- package/dist/project-video-hover-grid.d.cts +2 -2
- package/dist/project-video-hover-grid.d.ts +2 -2
- package/dist/project-video-hover-rounded.d.cts +2 -2
- package/dist/project-video-hover-rounded.d.ts +2 -2
- package/dist/project-video-hover-stack.d.cts +2 -2
- package/dist/project-video-hover-stack.d.ts +2 -2
- package/dist/project-video-hover-two-by-two.d.cts +2 -2
- package/dist/project-video-hover-two-by-two.d.ts +2 -2
- package/dist/project-work-showcase.d.cts +2 -2
- package/dist/project-work-showcase.d.ts +2 -2
- package/dist/registry.cjs +1084 -447
- package/dist/registry.js +1084 -447
- package/dist/resource-detail-whitepaper-sidebar.d.cts +2 -2
- package/dist/resource-detail-whitepaper-sidebar.d.ts +2 -2
- package/dist/resource-list-course-cards.d.cts +2 -2
- package/dist/resource-list-course-cards.d.ts +2 -2
- package/dist/resource-list-featured-articles.d.cts +2 -2
- package/dist/resource-list-featured-articles.d.ts +2 -2
- package/dist/resource-list-featured-grid.d.cts +2 -2
- package/dist/resource-list-featured-grid.d.ts +2 -2
- package/dist/resource-list-hero-filter.d.cts +2 -2
- package/dist/resource-list-hero-filter.d.ts +2 -2
- package/dist/resource-list-news-updates.d.cts +2 -2
- package/dist/resource-list-news-updates.d.ts +2 -2
- package/dist/reviews-images-helpful.d.cts +2 -2
- package/dist/reviews-images-helpful.d.ts +2 -2
- package/dist/reviews-list-verified.d.cts +2 -2
- package/dist/reviews-list-verified.d.ts +2 -2
- package/dist/section.d.cts +2 -2
- package/dist/section.d.ts +2 -2
- package/dist/service-detail-centered-expertise.d.cts +2 -2
- package/dist/service-detail-centered-expertise.d.ts +2 -2
- package/dist/service-detail-compact-cards.d.cts +2 -2
- package/dist/service-detail-compact-cards.d.ts +2 -2
- package/dist/service-detail-image-hero.d.cts +2 -2
- package/dist/service-detail-image-hero.d.ts +2 -2
- package/dist/service-detail-prose-minimal.d.cts +2 -2
- package/dist/service-detail-prose-minimal.d.ts +2 -2
- package/dist/service-detail-sidebar-related.d.cts +2 -2
- package/dist/service-detail-sidebar-related.d.ts +2 -2
- package/dist/service-detail-sidebar-stats.d.cts +2 -2
- package/dist/service-detail-sidebar-stats.d.ts +2 -2
- package/dist/service-detail-stats-hero.d.cts +2 -2
- package/dist/service-detail-stats-hero.d.ts +2 -2
- package/dist/service-hover-carousel.d.cts +2 -2
- package/dist/service-hover-carousel.d.ts +2 -2
- package/dist/services-list-feature-spotlight.d.cts +2 -2
- package/dist/services-list-feature-spotlight.d.ts +2 -2
- package/dist/stats-animated-counter.cjs +83 -20
- package/dist/stats-animated-counter.d.cts +2 -2
- package/dist/stats-animated-counter.d.ts +2 -2
- package/dist/stats-animated-counter.js +83 -20
- package/dist/stats-bar-comparison.cjs +92 -32
- package/dist/stats-bar-comparison.d.cts +2 -2
- package/dist/stats-bar-comparison.d.ts +2 -2
- package/dist/stats-bar-comparison.js +92 -32
- package/dist/stats-card-group.cjs +51 -38
- package/dist/stats-card-group.d.cts +2 -2
- package/dist/stats-card-group.d.ts +2 -2
- package/dist/stats-card-group.js +51 -38
- package/dist/stats-circular-progress.cjs +110 -31
- package/dist/stats-circular-progress.d.cts +2 -2
- package/dist/stats-circular-progress.d.ts +2 -2
- package/dist/stats-circular-progress.js +110 -31
- package/dist/stats-growth-timeline.cjs +59 -23
- package/dist/stats-growth-timeline.d.cts +2 -2
- package/dist/stats-growth-timeline.d.ts +2 -2
- package/dist/stats-growth-timeline.js +59 -23
- package/dist/stats-icon-cards.cjs +73 -20
- package/dist/stats-icon-cards.d.cts +2 -2
- package/dist/stats-icon-cards.d.ts +2 -2
- package/dist/stats-icon-cards.js +73 -20
- package/dist/stats-impact-grid.d.cts +2 -2
- package/dist/stats-impact-grid.d.ts +2 -2
- package/dist/stats-milestone-sidebar.d.cts +2 -2
- package/dist/stats-milestone-sidebar.d.ts +2 -2
- package/dist/stats-number-ticker.d.cts +2 -2
- package/dist/stats-number-ticker.d.ts +2 -2
- package/dist/stats-primary-secondary.cjs +84 -18
- package/dist/stats-primary-secondary.d.cts +2 -2
- package/dist/stats-primary-secondary.d.ts +2 -2
- package/dist/stats-primary-secondary.js +84 -18
- package/dist/stats-simple-grid.cjs +80 -13
- package/dist/stats-simple-grid.d.cts +2 -2
- package/dist/stats-simple-grid.d.ts +2 -2
- package/dist/stats-simple-grid.js +80 -13
- package/dist/stats-timeline-tabs.cjs +121 -65
- package/dist/stats-timeline-tabs.d.cts +2 -2
- package/dist/stats-timeline-tabs.d.ts +2 -2
- package/dist/stats-timeline-tabs.js +121 -65
- package/dist/team-media-showcase.d.cts +2 -2
- package/dist/team-media-showcase.d.ts +2 -2
- package/dist/testimonial-carousel-cards.d.cts +2 -2
- package/dist/testimonial-carousel-cards.d.ts +2 -2
- package/dist/testimonials-animated-split.d.cts +2 -2
- package/dist/testimonials-animated-split.d.ts +2 -2
- package/dist/testimonials-bento-grid.d.cts +2 -2
- package/dist/testimonials-bento-grid.d.ts +2 -2
- package/dist/testimonials-carousel-image.d.cts +2 -2
- package/dist/testimonials-carousel-image.d.ts +2 -2
- package/dist/testimonials-centered-avatars.d.cts +2 -2
- package/dist/testimonials-centered-avatars.d.ts +2 -2
- package/dist/testimonials-company-logo.d.cts +2 -2
- package/dist/testimonials-company-logo.d.ts +2 -2
- package/dist/testimonials-grid-add-review.d.cts +2 -2
- package/dist/testimonials-grid-add-review.d.ts +2 -2
- package/dist/testimonials-large-quote.d.cts +2 -2
- package/dist/testimonials-large-quote.d.ts +2 -2
- package/dist/testimonials-logo-cards.d.cts +2 -2
- package/dist/testimonials-logo-cards.d.ts +2 -2
- package/dist/testimonials-marquee.d.cts +2 -2
- package/dist/testimonials-marquee.d.ts +2 -2
- package/dist/testimonials-masonry-grid.d.cts +2 -2
- package/dist/testimonials-masonry-grid.d.ts +2 -2
- package/dist/testimonials-mini-dividers.d.cts +2 -2
- package/dist/testimonials-mini-dividers.d.ts +2 -2
- package/dist/testimonials-minimal-numbered.d.cts +2 -2
- package/dist/testimonials-minimal-numbered.d.ts +2 -2
- package/dist/testimonials-parallax-number.d.cts +2 -2
- package/dist/testimonials-parallax-number.d.ts +2 -2
- package/dist/testimonials-quote-carousel.d.cts +2 -2
- package/dist/testimonials-quote-carousel.d.ts +2 -2
- package/dist/testimonials-scrolling-columns.d.cts +2 -2
- package/dist/testimonials-scrolling-columns.d.ts +2 -2
- package/dist/testimonials-simple-grid.d.cts +2 -2
- package/dist/testimonials-simple-grid.d.ts +2 -2
- package/dist/testimonials-slider-minimal.d.cts +2 -2
- package/dist/testimonials-slider-minimal.d.ts +2 -2
- package/dist/testimonials-split-image.d.cts +2 -2
- package/dist/testimonials-split-image.d.ts +2 -2
- package/dist/testimonials-stats-header.d.cts +2 -2
- package/dist/testimonials-stats-header.d.ts +2 -2
- package/dist/testimonials-twitter-cards.d.cts +2 -2
- package/dist/testimonials-twitter-cards.d.ts +2 -2
- package/dist/testimonials-wall-compact.d.cts +2 -2
- package/dist/testimonials-wall-compact.d.ts +2 -2
- package/dist/timeline-ai-workflow-cards.d.cts +2 -2
- package/dist/timeline-ai-workflow-cards.d.ts +2 -2
- package/dist/timeline-alternating-diagonal.d.cts +2 -2
- package/dist/timeline-alternating-diagonal.d.ts +2 -2
- package/dist/timeline-changelog-badges.d.cts +2 -2
- package/dist/timeline-changelog-badges.d.ts +2 -2
- package/dist/timeline-history-prose.d.cts +2 -2
- package/dist/timeline-history-prose.d.ts +2 -2
- package/dist/timeline-horizontal-icons.d.cts +2 -2
- package/dist/timeline-horizontal-icons.d.ts +2 -2
- package/dist/timeline-horizontal-phases.d.cts +2 -2
- package/dist/timeline-horizontal-phases.d.ts +2 -2
- package/dist/timeline-product-launch.d.cts +2 -2
- package/dist/timeline-product-launch.d.ts +2 -2
- package/dist/timeline-productivity-list.d.cts +2 -2
- package/dist/timeline-productivity-list.d.ts +2 -2
- package/dist/timeline-scroll-highlight.d.cts +2 -2
- package/dist/timeline-scroll-highlight.d.ts +2 -2
- package/dist/timeline-scroll-sticky-image.d.cts +2 -2
- package/dist/timeline-scroll-sticky-image.d.ts +2 -2
- package/dist/timeline-stepper-animated.d.cts +2 -2
- package/dist/timeline-stepper-animated.d.ts +2 -2
- package/dist/timeline-tabbed-phases.d.cts +2 -2
- package/dist/timeline-tabbed-phases.d.ts +2 -2
- package/dist/timeline-two-column-featured.d.cts +2 -2
- package/dist/timeline-two-column-featured.d.ts +2 -2
- package/dist/timeline-vertical-icon-dashed.d.cts +2 -2
- package/dist/timeline-vertical-icon-dashed.d.ts +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
3
3
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
4
|
-
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-
|
|
4
|
+
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-DP3Vofl4.cjs';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
|
-
import './button-variants-
|
|
7
|
+
import './button-variants-CdNtNOuP.cjs';
|
|
8
8
|
import 'class-variance-authority/types';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { P as PatternName } from './pattern-background-a7gKHzHy.js';
|
|
3
3
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
4
|
-
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-
|
|
4
|
+
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-XLPGq8A5.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
|
-
import './button-variants-
|
|
7
|
+
import './button-variants-CdNtNOuP.js';
|
|
8
8
|
import 'class-variance-authority/types';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/badge.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "outline" | "default" | "destructive" | "secondary" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
package/dist/badge.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "outline" | "default" | "destructive" | "secondary" | null | undefined;
|
|
8
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
9
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
10
10
|
asChild?: boolean;
|
|
@@ -556,13 +556,13 @@ function processSvgForCurrentColor(svg) {
|
|
|
556
556
|
}
|
|
557
557
|
function BannerAnnouncementDismissible({
|
|
558
558
|
icon,
|
|
559
|
-
iconName
|
|
559
|
+
iconName,
|
|
560
560
|
message,
|
|
561
561
|
actions,
|
|
562
562
|
actionsSlot,
|
|
563
563
|
onDismiss,
|
|
564
564
|
dismissIcon,
|
|
565
|
-
dismissAriaLabel
|
|
565
|
+
dismissAriaLabel,
|
|
566
566
|
className,
|
|
567
567
|
containerClassName,
|
|
568
568
|
contentClassName,
|
|
@@ -572,15 +572,23 @@ function BannerAnnouncementDismissible({
|
|
|
572
572
|
dismissButtonClassName
|
|
573
573
|
}) {
|
|
574
574
|
const [isVisible, setIsVisible] = React.useState(true);
|
|
575
|
-
const
|
|
575
|
+
const dismissLabel = dismissAriaLabel ?? "Dismiss banner";
|
|
576
|
+
const handleDismiss = React.useCallback(() => {
|
|
576
577
|
setIsVisible(false);
|
|
577
578
|
onDismiss?.();
|
|
578
|
-
};
|
|
579
|
-
const
|
|
579
|
+
}, [onDismiss]);
|
|
580
|
+
const actionsContent = React.useMemo(() => {
|
|
580
581
|
if (actionsSlot) return actionsSlot;
|
|
581
582
|
if (!actions || actions.length === 0) return null;
|
|
582
583
|
return actions.map((action, index) => {
|
|
583
|
-
const {
|
|
584
|
+
const {
|
|
585
|
+
label,
|
|
586
|
+
icon: actionIcon,
|
|
587
|
+
iconAfter,
|
|
588
|
+
children,
|
|
589
|
+
className: actionClassName,
|
|
590
|
+
...pressableProps
|
|
591
|
+
} = action;
|
|
584
592
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
585
593
|
Pressable,
|
|
586
594
|
{
|
|
@@ -596,23 +604,35 @@ function BannerAnnouncementDismissible({
|
|
|
596
604
|
index
|
|
597
605
|
);
|
|
598
606
|
});
|
|
599
|
-
};
|
|
600
|
-
const
|
|
607
|
+
}, [actions, actionsSlot]);
|
|
608
|
+
const iconContent = React.useMemo(() => {
|
|
601
609
|
if (icon) return icon;
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
610
|
+
if (!iconName) return null;
|
|
611
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
612
|
+
DynamicIcon,
|
|
613
|
+
{
|
|
614
|
+
name: iconName,
|
|
615
|
+
size: 20,
|
|
616
|
+
className: cn("shrink-0", iconClassName)
|
|
617
|
+
}
|
|
618
|
+
);
|
|
619
|
+
}, [icon, iconName, iconClassName]);
|
|
620
|
+
const dismissIconContent = React.useMemo(() => {
|
|
605
621
|
if (dismissIcon) return dismissIcon;
|
|
606
622
|
return /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "mynaui/x", size: 16 });
|
|
607
|
-
};
|
|
623
|
+
}, [dismissIcon]);
|
|
624
|
+
const messageContent = React.useMemo(() => {
|
|
625
|
+
if (!message) return null;
|
|
626
|
+
return typeof message === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("font-medium text-sm", messageClassName), children: message }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: messageClassName, children: message });
|
|
627
|
+
}, [message, messageClassName]);
|
|
608
628
|
if (!isVisible) {
|
|
609
629
|
return null;
|
|
610
630
|
}
|
|
611
631
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("bg-background border-b", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("max-w-7xl mx-auto px-4 py-3 flex items-center justify-between gap-2", containerClassName), children: [
|
|
612
632
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-4", contentClassName), children: [
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children:
|
|
633
|
+
iconContent,
|
|
634
|
+
messageContent,
|
|
635
|
+
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children: actionsContent })
|
|
616
636
|
] }),
|
|
617
637
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
618
638
|
Pressable,
|
|
@@ -623,8 +643,8 @@ function BannerAnnouncementDismissible({
|
|
|
623
643
|
asButton: true,
|
|
624
644
|
className: cn("size-8", dismissButtonClassName),
|
|
625
645
|
children: [
|
|
626
|
-
|
|
627
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children:
|
|
646
|
+
dismissIconContent,
|
|
647
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: dismissLabel })
|
|
628
648
|
]
|
|
629
649
|
}
|
|
630
650
|
)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { A as ActionConfig } from './blocks-
|
|
3
|
+
import { A as ActionConfig } from './blocks-DP3Vofl4.cjs';
|
|
4
4
|
import 'class-variance-authority';
|
|
5
|
-
import './button-variants-
|
|
5
|
+
import './button-variants-CdNtNOuP.cjs';
|
|
6
6
|
import 'class-variance-authority/types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -15,7 +15,6 @@ interface BannerAnnouncementDismissibleProps {
|
|
|
15
15
|
icon?: React.ReactNode;
|
|
16
16
|
/**
|
|
17
17
|
* Icon name for DynamicIcon (used if icon prop is not provided)
|
|
18
|
-
* @default "mynaui/boat"
|
|
19
18
|
*/
|
|
20
19
|
iconName?: string;
|
|
21
20
|
/**
|
|
@@ -40,7 +39,6 @@ interface BannerAnnouncementDismissibleProps {
|
|
|
40
39
|
dismissIcon?: React.ReactNode;
|
|
41
40
|
/**
|
|
42
41
|
* ARIA label for dismiss button
|
|
43
|
-
* @default "Dismiss banner"
|
|
44
42
|
*/
|
|
45
43
|
dismissAriaLabel?: string;
|
|
46
44
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { A as ActionConfig } from './blocks-
|
|
3
|
+
import { A as ActionConfig } from './blocks-XLPGq8A5.js';
|
|
4
4
|
import 'class-variance-authority';
|
|
5
|
-
import './button-variants-
|
|
5
|
+
import './button-variants-CdNtNOuP.js';
|
|
6
6
|
import 'class-variance-authority/types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -15,7 +15,6 @@ interface BannerAnnouncementDismissibleProps {
|
|
|
15
15
|
icon?: React.ReactNode;
|
|
16
16
|
/**
|
|
17
17
|
* Icon name for DynamicIcon (used if icon prop is not provided)
|
|
18
|
-
* @default "mynaui/boat"
|
|
19
18
|
*/
|
|
20
19
|
iconName?: string;
|
|
21
20
|
/**
|
|
@@ -40,7 +39,6 @@ interface BannerAnnouncementDismissibleProps {
|
|
|
40
39
|
dismissIcon?: React.ReactNode;
|
|
41
40
|
/**
|
|
42
41
|
* ARIA label for dismiss button
|
|
43
|
-
* @default "Dismiss banner"
|
|
44
42
|
*/
|
|
45
43
|
dismissAriaLabel?: string;
|
|
46
44
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { useState } from 'react';
|
|
3
|
+
import { useState, useCallback, useMemo } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { cva } from 'class-variance-authority';
|
|
@@ -535,13 +535,13 @@ function processSvgForCurrentColor(svg) {
|
|
|
535
535
|
}
|
|
536
536
|
function BannerAnnouncementDismissible({
|
|
537
537
|
icon,
|
|
538
|
-
iconName
|
|
538
|
+
iconName,
|
|
539
539
|
message,
|
|
540
540
|
actions,
|
|
541
541
|
actionsSlot,
|
|
542
542
|
onDismiss,
|
|
543
543
|
dismissIcon,
|
|
544
|
-
dismissAriaLabel
|
|
544
|
+
dismissAriaLabel,
|
|
545
545
|
className,
|
|
546
546
|
containerClassName,
|
|
547
547
|
contentClassName,
|
|
@@ -551,15 +551,23 @@ function BannerAnnouncementDismissible({
|
|
|
551
551
|
dismissButtonClassName
|
|
552
552
|
}) {
|
|
553
553
|
const [isVisible, setIsVisible] = useState(true);
|
|
554
|
-
const
|
|
554
|
+
const dismissLabel = dismissAriaLabel ?? "Dismiss banner";
|
|
555
|
+
const handleDismiss = useCallback(() => {
|
|
555
556
|
setIsVisible(false);
|
|
556
557
|
onDismiss?.();
|
|
557
|
-
};
|
|
558
|
-
const
|
|
558
|
+
}, [onDismiss]);
|
|
559
|
+
const actionsContent = useMemo(() => {
|
|
559
560
|
if (actionsSlot) return actionsSlot;
|
|
560
561
|
if (!actions || actions.length === 0) return null;
|
|
561
562
|
return actions.map((action, index) => {
|
|
562
|
-
const {
|
|
563
|
+
const {
|
|
564
|
+
label,
|
|
565
|
+
icon: actionIcon,
|
|
566
|
+
iconAfter,
|
|
567
|
+
children,
|
|
568
|
+
className: actionClassName,
|
|
569
|
+
...pressableProps
|
|
570
|
+
} = action;
|
|
563
571
|
return /* @__PURE__ */ jsx(
|
|
564
572
|
Pressable,
|
|
565
573
|
{
|
|
@@ -575,23 +583,35 @@ function BannerAnnouncementDismissible({
|
|
|
575
583
|
index
|
|
576
584
|
);
|
|
577
585
|
});
|
|
578
|
-
};
|
|
579
|
-
const
|
|
586
|
+
}, [actions, actionsSlot]);
|
|
587
|
+
const iconContent = useMemo(() => {
|
|
580
588
|
if (icon) return icon;
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
589
|
+
if (!iconName) return null;
|
|
590
|
+
return /* @__PURE__ */ jsx(
|
|
591
|
+
DynamicIcon,
|
|
592
|
+
{
|
|
593
|
+
name: iconName,
|
|
594
|
+
size: 20,
|
|
595
|
+
className: cn("shrink-0", iconClassName)
|
|
596
|
+
}
|
|
597
|
+
);
|
|
598
|
+
}, [icon, iconName, iconClassName]);
|
|
599
|
+
const dismissIconContent = useMemo(() => {
|
|
584
600
|
if (dismissIcon) return dismissIcon;
|
|
585
601
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "mynaui/x", size: 16 });
|
|
586
|
-
};
|
|
602
|
+
}, [dismissIcon]);
|
|
603
|
+
const messageContent = useMemo(() => {
|
|
604
|
+
if (!message) return null;
|
|
605
|
+
return typeof message === "string" ? /* @__PURE__ */ jsx("span", { className: cn("font-medium text-sm", messageClassName), children: message }) : /* @__PURE__ */ jsx("div", { className: messageClassName, children: message });
|
|
606
|
+
}, [message, messageClassName]);
|
|
587
607
|
if (!isVisible) {
|
|
588
608
|
return null;
|
|
589
609
|
}
|
|
590
610
|
return /* @__PURE__ */ jsx("div", { className: cn("bg-background border-b", className), children: /* @__PURE__ */ jsxs("div", { className: cn("max-w-7xl mx-auto px-4 py-3 flex items-center justify-between gap-2", containerClassName), children: [
|
|
591
611
|
/* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-4", contentClassName), children: [
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: actionsClassName, children:
|
|
612
|
+
iconContent,
|
|
613
|
+
messageContent,
|
|
614
|
+
(actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: actionsClassName, children: actionsContent })
|
|
595
615
|
] }),
|
|
596
616
|
/* @__PURE__ */ jsxs(
|
|
597
617
|
Pressable,
|
|
@@ -602,8 +622,8 @@ function BannerAnnouncementDismissible({
|
|
|
602
622
|
asButton: true,
|
|
603
623
|
className: cn("size-8", dismissButtonClassName),
|
|
604
624
|
children: [
|
|
605
|
-
|
|
606
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children:
|
|
625
|
+
dismissIconContent,
|
|
626
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: dismissLabel })
|
|
607
627
|
]
|
|
608
628
|
}
|
|
609
629
|
)
|
|
@@ -25,17 +25,16 @@ function BannerCountdownSale({
|
|
|
25
25
|
timeUnitClassName,
|
|
26
26
|
separatorClassName
|
|
27
27
|
}) {
|
|
28
|
-
const
|
|
29
|
-
() => new Date(Date.now() + 24 * 60 * 60 * 1e3),
|
|
30
|
-
[]
|
|
31
|
-
);
|
|
32
|
-
const targetTime = endTime ?? defaultEndTime;
|
|
28
|
+
const targetTime = endTime;
|
|
33
29
|
const [timeLeft, setTimeLeft] = react.useState({
|
|
34
30
|
hours: 0,
|
|
35
31
|
minutes: 0,
|
|
36
32
|
seconds: 0
|
|
37
33
|
});
|
|
38
34
|
react.useEffect(() => {
|
|
35
|
+
if (!targetTime) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
39
38
|
const calculateTimeLeft = () => {
|
|
40
39
|
const now = (/* @__PURE__ */ new Date()).getTime();
|
|
41
40
|
const target = targetTime.getTime();
|
|
@@ -55,10 +54,11 @@ function BannerCountdownSale({
|
|
|
55
54
|
}, 1e3);
|
|
56
55
|
return () => clearInterval(timer);
|
|
57
56
|
}, [targetTime]);
|
|
58
|
-
const pad = (n) => n.toString().padStart(2, "0");
|
|
59
|
-
const
|
|
57
|
+
const pad = react.useCallback((n) => n.toString().padStart(2, "0"), []);
|
|
58
|
+
const timerContent = react.useMemo(() => {
|
|
60
59
|
if (timerSlot) return timerSlot;
|
|
61
60
|
if (renderTimer) return renderTimer(timeLeft);
|
|
61
|
+
if (!targetTime) return null;
|
|
62
62
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-1 font-mono text-lg font-bold", timerClassName), children: [
|
|
63
63
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("rounded bg-destructive px-2 py-0.5", timeUnitClassName), children: pad(timeLeft.hours) }),
|
|
64
64
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: separatorClassName, children: ":" }),
|
|
@@ -66,11 +66,19 @@ function BannerCountdownSale({
|
|
|
66
66
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: separatorClassName, children: ":" }),
|
|
67
67
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("rounded bg-destructive px-2 py-0.5", timeUnitClassName), children: pad(timeLeft.seconds) })
|
|
68
68
|
] });
|
|
69
|
-
};
|
|
69
|
+
}, [timerSlot, renderTimer, timeLeft, timerClassName, timeUnitClassName, separatorClassName, pad, targetTime]);
|
|
70
|
+
const messageContent = react.useMemo(() => {
|
|
71
|
+
if (!message) return null;
|
|
72
|
+
return typeof message === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("font-medium", messageClassName), children: message }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: messageClassName, children: message });
|
|
73
|
+
}, [message, messageClassName]);
|
|
74
|
+
const descriptionContent = react.useMemo(() => {
|
|
75
|
+
if (!description) return null;
|
|
76
|
+
return typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-destructive-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description });
|
|
77
|
+
}, [description, descriptionClassName]);
|
|
70
78
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("w-full bg-destructive text-white", className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container py-2.5", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-sm", contentClassName), children: [
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
79
|
+
messageContent,
|
|
80
|
+
timerContent,
|
|
81
|
+
descriptionContent
|
|
74
82
|
] }) }) });
|
|
75
83
|
}
|
|
76
84
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
|
-
import {
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
// components/blocks/banner/banner-countdown-sale.tsx
|
|
8
8
|
function cn(...inputs) {
|
|
@@ -23,17 +23,16 @@ function BannerCountdownSale({
|
|
|
23
23
|
timeUnitClassName,
|
|
24
24
|
separatorClassName
|
|
25
25
|
}) {
|
|
26
|
-
const
|
|
27
|
-
() => new Date(Date.now() + 24 * 60 * 60 * 1e3),
|
|
28
|
-
[]
|
|
29
|
-
);
|
|
30
|
-
const targetTime = endTime ?? defaultEndTime;
|
|
26
|
+
const targetTime = endTime;
|
|
31
27
|
const [timeLeft, setTimeLeft] = useState({
|
|
32
28
|
hours: 0,
|
|
33
29
|
minutes: 0,
|
|
34
30
|
seconds: 0
|
|
35
31
|
});
|
|
36
32
|
useEffect(() => {
|
|
33
|
+
if (!targetTime) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
37
36
|
const calculateTimeLeft = () => {
|
|
38
37
|
const now = (/* @__PURE__ */ new Date()).getTime();
|
|
39
38
|
const target = targetTime.getTime();
|
|
@@ -53,10 +52,11 @@ function BannerCountdownSale({
|
|
|
53
52
|
}, 1e3);
|
|
54
53
|
return () => clearInterval(timer);
|
|
55
54
|
}, [targetTime]);
|
|
56
|
-
const pad = (n) => n.toString().padStart(2, "0");
|
|
57
|
-
const
|
|
55
|
+
const pad = useCallback((n) => n.toString().padStart(2, "0"), []);
|
|
56
|
+
const timerContent = useMemo(() => {
|
|
58
57
|
if (timerSlot) return timerSlot;
|
|
59
58
|
if (renderTimer) return renderTimer(timeLeft);
|
|
59
|
+
if (!targetTime) return null;
|
|
60
60
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-1 font-mono text-lg font-bold", timerClassName), children: [
|
|
61
61
|
/* @__PURE__ */ jsx("span", { className: cn("rounded bg-destructive px-2 py-0.5", timeUnitClassName), children: pad(timeLeft.hours) }),
|
|
62
62
|
/* @__PURE__ */ jsx("span", { className: separatorClassName, children: ":" }),
|
|
@@ -64,11 +64,19 @@ function BannerCountdownSale({
|
|
|
64
64
|
/* @__PURE__ */ jsx("span", { className: separatorClassName, children: ":" }),
|
|
65
65
|
/* @__PURE__ */ jsx("span", { className: cn("rounded bg-destructive px-2 py-0.5", timeUnitClassName), children: pad(timeLeft.seconds) })
|
|
66
66
|
] });
|
|
67
|
-
};
|
|
67
|
+
}, [timerSlot, renderTimer, timeLeft, timerClassName, timeUnitClassName, separatorClassName, pad, targetTime]);
|
|
68
|
+
const messageContent = useMemo(() => {
|
|
69
|
+
if (!message) return null;
|
|
70
|
+
return typeof message === "string" ? /* @__PURE__ */ jsx("span", { className: cn("font-medium", messageClassName), children: message }) : /* @__PURE__ */ jsx("div", { className: messageClassName, children: message });
|
|
71
|
+
}, [message, messageClassName]);
|
|
72
|
+
const descriptionContent = useMemo(() => {
|
|
73
|
+
if (!description) return null;
|
|
74
|
+
return typeof description === "string" ? /* @__PURE__ */ jsx("span", { className: cn("text-destructive-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
75
|
+
}, [description, descriptionClassName]);
|
|
68
76
|
return /* @__PURE__ */ jsx("div", { className: cn("w-full bg-destructive text-white", className), children: /* @__PURE__ */ jsx("div", { className: cn("container py-2.5", containerClassName), children: /* @__PURE__ */ jsxs("div", { className: cn("flex flex-wrap items-center justify-center gap-x-4 gap-y-1 text-sm", contentClassName), children: [
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
77
|
+
messageContent,
|
|
78
|
+
timerContent,
|
|
79
|
+
descriptionContent
|
|
72
80
|
] }) }) });
|
|
73
81
|
}
|
|
74
82
|
|
|
@@ -137,11 +137,11 @@ function processSvgForCurrentColor(svg) {
|
|
|
137
137
|
}
|
|
138
138
|
function BannerDeliveryCountdown({
|
|
139
139
|
icon,
|
|
140
|
-
iconName
|
|
141
|
-
deliveryDate
|
|
140
|
+
iconName,
|
|
141
|
+
deliveryDate,
|
|
142
142
|
cutoffTime,
|
|
143
|
-
prefixText
|
|
144
|
-
middleText
|
|
143
|
+
prefixText,
|
|
144
|
+
middleText,
|
|
145
145
|
timerSlot,
|
|
146
146
|
renderTimer,
|
|
147
147
|
className,
|
|
@@ -152,17 +152,16 @@ function BannerDeliveryCountdown({
|
|
|
152
152
|
timerClassName,
|
|
153
153
|
deliveryDateClassName
|
|
154
154
|
}) {
|
|
155
|
-
const
|
|
156
|
-
() => new Date(Date.now() + 4 * 60 * 60 * 1e3),
|
|
157
|
-
[]
|
|
158
|
-
);
|
|
159
|
-
const targetTime = cutoffTime ?? defaultCutoffTime;
|
|
155
|
+
const targetTime = cutoffTime;
|
|
160
156
|
const [timeLeft, setTimeLeft] = React.useState({
|
|
161
157
|
hours: 0,
|
|
162
158
|
minutes: 0,
|
|
163
159
|
seconds: 0
|
|
164
160
|
});
|
|
165
161
|
React.useEffect(() => {
|
|
162
|
+
if (!targetTime) {
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
166
165
|
const calculateTimeLeft = () => {
|
|
167
166
|
const now = (/* @__PURE__ */ new Date()).getTime();
|
|
168
167
|
const target = targetTime.getTime();
|
|
@@ -182,14 +181,16 @@ function BannerDeliveryCountdown({
|
|
|
182
181
|
}, 1e3);
|
|
183
182
|
return () => clearInterval(timer);
|
|
184
183
|
}, [targetTime]);
|
|
185
|
-
const pad = (n) => n.toString().padStart(2, "0");
|
|
186
|
-
const
|
|
184
|
+
const pad = React.useCallback((n) => n.toString().padStart(2, "0"), []);
|
|
185
|
+
const iconContent = React.useMemo(() => {
|
|
187
186
|
if (icon) return icon;
|
|
187
|
+
if (!iconName) return null;
|
|
188
188
|
return /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: iconName, size: 16, className: iconClassName });
|
|
189
|
-
};
|
|
190
|
-
const
|
|
189
|
+
}, [icon, iconName, iconClassName]);
|
|
190
|
+
const timerContent = React.useMemo(() => {
|
|
191
191
|
if (timerSlot) return timerSlot;
|
|
192
192
|
if (renderTimer) return renderTimer(timeLeft);
|
|
193
|
+
if (!targetTime) return null;
|
|
193
194
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn("font-mono font-bold", timerClassName), children: [
|
|
194
195
|
pad(timeLeft.hours),
|
|
195
196
|
":",
|
|
@@ -197,18 +198,22 @@ function BannerDeliveryCountdown({
|
|
|
197
198
|
":",
|
|
198
199
|
pad(timeLeft.seconds)
|
|
199
200
|
] });
|
|
200
|
-
};
|
|
201
|
+
}, [timerSlot, renderTimer, timeLeft, timerClassName, pad, targetTime]);
|
|
202
|
+
const deliveryDateContent = React.useMemo(() => {
|
|
203
|
+
if (!deliveryDate) return null;
|
|
204
|
+
return typeof deliveryDate === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("font-semibold", deliveryDateClassName), children: deliveryDate }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: deliveryDateClassName, children: deliveryDate });
|
|
205
|
+
}, [deliveryDate, deliveryDateClassName]);
|
|
206
|
+
const messageParts = React.useMemo(() => {
|
|
207
|
+
return [prefixText, timerContent, middleText, deliveryDateContent].filter(
|
|
208
|
+
(part) => part !== null && part !== void 0
|
|
209
|
+
);
|
|
210
|
+
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
201
211
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("w-full bg-accent text-accent-foreground", className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("container py-2.5", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-wrap items-center justify-center gap-3 text-sm", contentClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-2", messageClassName), children: [
|
|
202
|
-
|
|
203
|
-
/* @__PURE__ */ jsxRuntime.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
" ",
|
|
208
|
-
middleText,
|
|
209
|
-
" ",
|
|
210
|
-
deliveryDate && (typeof deliveryDate === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("font-semibold", deliveryDateClassName), children: deliveryDate }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: deliveryDateClassName, children: deliveryDate }))
|
|
211
|
-
] })
|
|
212
|
+
iconContent,
|
|
213
|
+
messageParts.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxRuntime.jsxs(React__namespace.Fragment, { children: [
|
|
214
|
+
index > 0 ? " " : null,
|
|
215
|
+
part
|
|
216
|
+
] }, index)) })
|
|
212
217
|
] }) }) }) });
|
|
213
218
|
}
|
|
214
219
|
|
|
@@ -19,7 +19,6 @@ interface BannerDeliveryCountdownProps {
|
|
|
19
19
|
icon?: React.ReactNode;
|
|
20
20
|
/**
|
|
21
21
|
* Icon name for DynamicIcon (used if icon prop is not provided)
|
|
22
|
-
* @default "lucide/gift"
|
|
23
22
|
*/
|
|
24
23
|
iconName?: string;
|
|
25
24
|
/**
|
|
@@ -28,7 +27,6 @@ interface BannerDeliveryCountdownProps {
|
|
|
28
27
|
deliveryDate?: React.ReactNode;
|
|
29
28
|
/**
|
|
30
29
|
* Cutoff time for orders
|
|
31
|
-
* @default 4 hours from now
|
|
32
30
|
*/
|
|
33
31
|
cutoffTime?: Date;
|
|
34
32
|
/**
|
|
@@ -19,7 +19,6 @@ interface BannerDeliveryCountdownProps {
|
|
|
19
19
|
icon?: React.ReactNode;
|
|
20
20
|
/**
|
|
21
21
|
* Icon name for DynamicIcon (used if icon prop is not provided)
|
|
22
|
-
* @default "lucide/gift"
|
|
23
22
|
*/
|
|
24
23
|
iconName?: string;
|
|
25
24
|
/**
|
|
@@ -28,7 +27,6 @@ interface BannerDeliveryCountdownProps {
|
|
|
28
27
|
deliveryDate?: React.ReactNode;
|
|
29
28
|
/**
|
|
30
29
|
* Cutoff time for orders
|
|
31
|
-
* @default 4 hours from now
|
|
32
30
|
*/
|
|
33
31
|
cutoffTime?: Date;
|
|
34
32
|
/**
|