@opensite/ui 2.8.0 → 2.8.2
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-culture-tabs.cjs +25 -21
- package/dist/about-culture-tabs.js +23 -19
- package/dist/about-developer-profile.cjs +6 -2
- package/dist/about-developer-profile.js +6 -2
- package/dist/about-expandable-values.cjs +6 -2
- package/dist/about-expandable-values.js +6 -2
- package/dist/about-location-info-hero.cjs +6 -2
- package/dist/about-location-info-hero.js +6 -2
- package/dist/about-mission-principles.cjs +6 -2
- package/dist/about-mission-principles.js +6 -2
- package/dist/about-network-spotlight.cjs +18 -14
- package/dist/about-network-spotlight.js +16 -12
- package/dist/about-split-hero.cjs +6 -2
- package/dist/about-split-hero.js +6 -2
- package/dist/about-startup-team.cjs +6 -2
- package/dist/about-startup-team.js +6 -2
- package/dist/article-breadcrumb-social.cjs +27 -23
- package/dist/article-breadcrumb-social.js +27 -23
- package/dist/article-chapters-author.cjs +29 -25
- package/dist/article-chapters-author.js +29 -25
- package/dist/article-compact-toc.cjs +26 -22
- package/dist/article-compact-toc.js +26 -22
- package/dist/article-sidebar-sticky.cjs +6 -2
- package/dist/article-sidebar-sticky.js +6 -2
- package/dist/auto-scroll-carousel.cjs +28 -24
- package/dist/auto-scroll-carousel.js +26 -22
- package/dist/banner-announcement-dismissible.cjs +6 -2
- package/dist/banner-announcement-dismissible.js +6 -2
- package/dist/banner-delivery-countdown.cjs +6 -2
- package/dist/banner-delivery-countdown.js +6 -2
- package/dist/banner-floating-offer.cjs +6 -2
- package/dist/banner-floating-offer.js +6 -2
- package/dist/banner-gdpr-rights.cjs +6 -2
- package/dist/banner-gdpr-rights.js +6 -2
- package/dist/banner-privacy-notice.cjs +6 -2
- package/dist/banner-privacy-notice.js +6 -2
- package/dist/banner-social-follow.cjs +6 -2
- package/dist/banner-social-follow.js +6 -2
- package/dist/banner-survey-incentive.cjs +6 -2
- package/dist/banner-survey-incentive.js +6 -2
- package/dist/blog-cards-read-time.cjs +6 -2
- package/dist/blog-cards-read-time.js +6 -2
- package/dist/blog-cards-tagline-cta.cjs +6 -2
- package/dist/blog-cards-tagline-cta.js +6 -2
- package/dist/blog-carousel-apple.cjs +25 -21
- package/dist/blog-carousel-apple.js +21 -17
- package/dist/blog-category-overlay.cjs +6 -2
- package/dist/blog-category-overlay.js +6 -2
- package/dist/blog-filtered-results.cjs +30 -26
- package/dist/blog-filtered-results.js +24 -20
- package/dist/blog-horizontal-cards.cjs +6 -2
- package/dist/blog-horizontal-cards.js +6 -2
- package/dist/blog-horizontal-timeline.cjs +6 -2
- package/dist/blog-horizontal-timeline.js +6 -2
- package/dist/carousel-animated-sections.cjs +23 -19
- package/dist/carousel-animated-sections.js +23 -19
- package/dist/carousel-auto-progress-slides.cjs +6 -2
- package/dist/carousel-auto-progress-slides.js +6 -2
- package/dist/carousel-autoplay-progress.cjs +34 -30
- package/dist/carousel-autoplay-progress.js +34 -30
- package/dist/carousel-badge-cards.cjs +31 -27
- package/dist/carousel-badge-cards.js +26 -22
- package/dist/carousel-demo-link.cjs +32 -28
- package/dist/carousel-demo-link.js +26 -22
- package/dist/carousel-feature-badge.cjs +22 -18
- package/dist/carousel-feature-badge.js +22 -18
- package/dist/carousel-gallery-thumbnails.cjs +6 -2
- package/dist/carousel-gallery-thumbnails.js +6 -2
- package/dist/carousel-gradient-overlay.cjs +32 -28
- package/dist/carousel-gradient-overlay.js +26 -22
- package/dist/carousel-gradient-text.cjs +32 -28
- package/dist/carousel-gradient-text.js +26 -22
- package/dist/carousel-horizontal-cards.cjs +20 -16
- package/dist/carousel-horizontal-cards.js +20 -16
- package/dist/carousel-icon-sidebar.cjs +38 -34
- package/dist/carousel-icon-sidebar.js +26 -22
- package/dist/carousel-icon-tabs.cjs +39 -35
- package/dist/carousel-icon-tabs.js +26 -22
- package/dist/carousel-image-hero.cjs +22 -18
- package/dist/carousel-image-hero.js +22 -18
- package/dist/carousel-multi-step-showcase.cjs +6 -2
- package/dist/carousel-multi-step-showcase.js +6 -2
- package/dist/carousel-pagination.cjs +6 -2
- package/dist/carousel-pagination.js +6 -2
- package/dist/carousel-portfolio-hero.cjs +22 -18
- package/dist/carousel-portfolio-hero.js +22 -18
- package/dist/carousel-product-feature-showcase.cjs +6 -2
- package/dist/carousel-product-feature-showcase.js +6 -2
- package/dist/carousel-progress-slider.cjs +28 -24
- package/dist/carousel-progress-slider.js +28 -24
- package/dist/carousel-scale-focus.cjs +41 -37
- package/dist/carousel-scale-focus.js +26 -22
- package/dist/carousel-sidebar-resources.cjs +34 -30
- package/dist/carousel-sidebar-resources.js +26 -22
- package/dist/carousel-tabs-content.cjs +39 -35
- package/dist/carousel-tabs-content.js +26 -22
- package/dist/case-studies-featured-border.cjs +6 -2
- package/dist/case-studies-featured-border.js +6 -2
- package/dist/case-study-stats-metrics.cjs +6 -2
- package/dist/case-study-stats-metrics.js +6 -2
- package/dist/case-study-toc-social-sidebar.cjs +6 -2
- package/dist/case-study-toc-social-sidebar.js +6 -2
- package/dist/community-initiatives.cjs +19 -15
- package/dist/community-initiatives.js +17 -13
- package/dist/comparison-ai-models.cjs +18 -14
- package/dist/comparison-ai-models.js +17 -13
- package/dist/comparison-feature-cards.cjs +16 -12
- package/dist/comparison-feature-cards.js +16 -12
- package/dist/comparison-feature-grid.cjs +14 -10
- package/dist/comparison-feature-grid.js +14 -10
- package/dist/comparison-grid-badges.cjs +13 -9
- package/dist/comparison-grid-badges.js +13 -9
- package/dist/comparison-legacy-modern.cjs +15 -11
- package/dist/comparison-legacy-modern.js +15 -11
- package/dist/comparison-table-tabs.cjs +15 -11
- package/dist/comparison-table-tabs.js +14 -10
- package/dist/comparison-table-two-column.cjs +14 -10
- package/dist/comparison-table-two-column.js +14 -10
- package/dist/components.cjs +199 -179
- package/dist/components.js +104 -84
- package/dist/contact-callback.cjs +27 -7
- package/dist/contact-callback.js +10 -5
- package/dist/contact-card.cjs +6 -2
- package/dist/contact-card.js +6 -2
- package/dist/contact-careers.cjs +18 -14
- package/dist/contact-careers.js +16 -12
- package/dist/contact-dark.cjs +6 -2
- package/dist/contact-dark.js +6 -2
- package/dist/contact-emergency.cjs +6 -2
- package/dist/contact-emergency.js +6 -2
- package/dist/contact-faq.cjs +9 -7
- package/dist/contact-faq.js +10 -5
- package/dist/contact-floating-banner.cjs +6 -2
- package/dist/contact-floating-banner.js +6 -2
- package/dist/contact-help-center.cjs +16 -12
- package/dist/contact-help-center.js +16 -12
- package/dist/contact-image.cjs +18 -14
- package/dist/contact-image.js +17 -13
- package/dist/contact-map.cjs +78 -58
- package/dist/contact-map.js +78 -58
- package/dist/cta-app-download-newsletter.cjs +6 -2
- package/dist/cta-app-download-newsletter.js +6 -2
- package/dist/cta-background-icon-badge.cjs +6 -2
- package/dist/cta-background-icon-badge.js +6 -2
- package/dist/cta-case-study-testimonial.cjs +6 -2
- package/dist/cta-case-study-testimonial.js +6 -2
- package/dist/cta-documentation-links.cjs +6 -2
- package/dist/cta-documentation-links.js +6 -2
- package/dist/cta-enterprise-dark-features.cjs +6 -2
- package/dist/cta-enterprise-dark-features.js +6 -2
- package/dist/cta-enterprise-split.cjs +6 -2
- package/dist/cta-enterprise-split.js +6 -2
- package/dist/cta-feature-cards-grid.cjs +6 -2
- package/dist/cta-feature-cards-grid.js +6 -2
- package/dist/cta-feature-checklist.cjs +17 -13
- package/dist/cta-feature-checklist.js +16 -12
- package/dist/cta-feature-list.cjs +6 -2
- package/dist/cta-feature-list.js +6 -2
- package/dist/cta-gradient-logos-floating.cjs +6 -2
- package/dist/cta-gradient-logos-floating.js +6 -2
- package/dist/cta-gradient-stats-hero.cjs +6 -2
- package/dist/cta-gradient-stats-hero.js +6 -2
- package/dist/cta-hero-feature-cards.cjs +6 -2
- package/dist/cta-hero-feature-cards.js +6 -2
- package/dist/cta-image-overlay-arrow.cjs +6 -2
- package/dist/cta-image-overlay-arrow.js +6 -2
- package/dist/cta-newsletter-features.cjs +12 -8
- package/dist/cta-newsletter-features.js +12 -8
- package/dist/cta-platform-demo.cjs +6 -2
- package/dist/cta-platform-demo.js +6 -2
- package/dist/cta-simple-centered.cjs +6 -2
- package/dist/cta-simple-centered.js +6 -2
- package/dist/cta-split-image-logos.cjs +6 -2
- package/dist/cta-split-image-logos.js +6 -2
- package/dist/cta-video-background-hero.cjs +6 -2
- package/dist/cta-video-background-hero.js +6 -2
- package/dist/cta-workflow-tabs.cjs +6 -2
- package/dist/cta-workflow-tabs.js +6 -2
- package/dist/dynamic-icon.cjs +27 -2
- package/dist/dynamic-icon.d.cts +2 -2
- package/dist/dynamic-icon.d.ts +2 -2
- package/dist/dynamic-icon.js +7 -2
- package/dist/expandable-case-study-cards.cjs +26 -6
- package/dist/expandable-case-study-cards.js +10 -5
- package/dist/faq-badge-support.cjs +25 -21
- package/dist/faq-badge-support.js +22 -18
- package/dist/faq-bordered-badge.cjs +9 -7
- package/dist/faq-bordered-badge.js +10 -5
- package/dist/faq-card-categories.cjs +18 -14
- package/dist/faq-card-categories.js +16 -12
- package/dist/faq-categorized-sections.cjs +9 -7
- package/dist/faq-categorized-sections.js +10 -5
- package/dist/faq-centered-accordion.cjs +9 -7
- package/dist/faq-centered-accordion.js +10 -5
- package/dist/faq-gradient-categories.cjs +18 -14
- package/dist/faq-gradient-categories.js +16 -12
- package/dist/faq-icon-benefits.cjs +18 -14
- package/dist/faq-icon-benefits.js +16 -12
- package/dist/faq-muted-cards.cjs +18 -14
- package/dist/faq-muted-cards.js +16 -12
- package/dist/faq-profile-sidebar.cjs +25 -21
- package/dist/faq-profile-sidebar.js +22 -18
- package/dist/faq-rounded-cards.cjs +18 -14
- package/dist/faq-rounded-cards.js +16 -12
- package/dist/faq-sidebar-navigation.cjs +20 -16
- package/dist/faq-sidebar-navigation.js +17 -13
- package/dist/faq-simple-accordion.cjs +18 -14
- package/dist/faq-simple-accordion.js +16 -12
- package/dist/faq-split-help.cjs +25 -21
- package/dist/faq-split-help.js +22 -18
- package/dist/faq-split-hero.cjs +9 -7
- package/dist/faq-split-hero.js +10 -5
- package/dist/feature-accordion-image.cjs +20 -16
- package/dist/feature-accordion-image.js +17 -13
- package/dist/feature-animated-carousel.cjs +35 -31
- package/dist/feature-animated-carousel.js +28 -24
- package/dist/feature-badge-grid-six.cjs +20 -16
- package/dist/feature-badge-grid-six.js +16 -12
- package/dist/feature-bento-image-grid.cjs +21 -17
- package/dist/feature-bento-image-grid.js +20 -16
- package/dist/feature-bento-utilities.cjs +19 -15
- package/dist/feature-bento-utilities.js +18 -14
- package/dist/feature-capabilities-grid.cjs +18 -14
- package/dist/feature-capabilities-grid.js +17 -13
- package/dist/feature-carousel-progress.cjs +31 -27
- package/dist/feature-carousel-progress.js +26 -22
- package/dist/feature-checklist-image.cjs +6 -2
- package/dist/feature-checklist-image.js +6 -2
- package/dist/feature-checklist-three-column.cjs +22 -18
- package/dist/feature-checklist-three-column.js +16 -12
- package/dist/feature-icon-grid-accent.cjs +26 -6
- package/dist/feature-icon-grid-accent.js +10 -5
- package/dist/feature-icon-grid-bordered.cjs +18 -14
- package/dist/feature-icon-grid-bordered.js +16 -12
- package/dist/feature-icon-grid-muted.cjs +18 -14
- package/dist/feature-icon-grid-muted.js +16 -12
- package/dist/feature-icon-tabs-content.cjs +20 -16
- package/dist/feature-icon-tabs-content.js +16 -12
- package/dist/feature-image-cards-three-column.cjs +29 -25
- package/dist/feature-image-cards-three-column.js +22 -18
- package/dist/feature-image-overlay-badge.cjs +18 -14
- package/dist/feature-image-overlay-badge.js +16 -12
- package/dist/feature-numbered-cards.cjs +20 -16
- package/dist/feature-numbered-cards.js +16 -12
- package/dist/feature-pattern-grid-links.cjs +19 -15
- package/dist/feature-pattern-grid-links.js +16 -12
- package/dist/feature-showcase.cjs +6 -2
- package/dist/feature-showcase.js +6 -2
- package/dist/feature-tabbed-content-image.cjs +21 -17
- package/dist/feature-tabbed-content-image.js +19 -15
- package/dist/feature-three-column-values.cjs +18 -14
- package/dist/feature-three-column-values.js +17 -13
- package/dist/feature-utility-cards-grid.cjs +20 -16
- package/dist/feature-utility-cards-grid.js +17 -13
- package/dist/footer-accordion-social.cjs +6 -2
- package/dist/footer-accordion-social.js +6 -2
- package/dist/footer-animated-social.cjs +6 -2
- package/dist/footer-animated-social.js +6 -2
- package/dist/footer-background-card.cjs +6 -2
- package/dist/footer-background-card.js +6 -2
- package/dist/footer-brand-description.cjs +6 -2
- package/dist/footer-brand-description.js +6 -2
- package/dist/footer-brand-links-contact.cjs +6 -2
- package/dist/footer-brand-links-contact.js +6 -2
- package/dist/footer-comprehensive-links.cjs +6 -2
- package/dist/footer-comprehensive-links.js +6 -2
- package/dist/footer-contact-card.cjs +6 -2
- package/dist/footer-contact-card.js +6 -2
- package/dist/footer-cta-banner.cjs +6 -2
- package/dist/footer-cta-banner.js +6 -2
- package/dist/footer-cta-social.cjs +24 -20
- package/dist/footer-cta-social.js +22 -18
- package/dist/footer-info-cards-accordion.cjs +24 -20
- package/dist/footer-info-cards-accordion.js +23 -19
- package/dist/footer-nav-social.cjs +6 -2
- package/dist/footer-nav-social.js +6 -2
- package/dist/footer-newsletter-contact.cjs +6 -2
- package/dist/footer-newsletter-contact.js +6 -2
- package/dist/footer-newsletter-grid.cjs +6 -2
- package/dist/footer-newsletter-grid.js +6 -2
- package/dist/footer-newsletter-minimal.cjs +27 -23
- package/dist/footer-newsletter-minimal.js +26 -22
- package/dist/footer-social-apps.cjs +26 -22
- package/dist/footer-social-apps.js +22 -18
- package/dist/footer-social-newsletter.cjs +6 -2
- package/dist/footer-social-newsletter.js +6 -2
- package/dist/footer-split-image-accordion.cjs +24 -20
- package/dist/footer-split-image-accordion.js +23 -19
- package/dist/geo-map.cjs +74 -54
- package/dist/geo-map.js +73 -53
- package/dist/hero-badge-shadow-overlay.cjs +6 -2
- package/dist/hero-badge-shadow-overlay.js +6 -2
- package/dist/hero-coming-soon-countdown.cjs +6 -2
- package/dist/hero-coming-soon-countdown.js +6 -2
- package/dist/hero-conversion-video-play.cjs +29 -25
- package/dist/hero-conversion-video-play.js +26 -22
- package/dist/hero-creative-studio-stacked.cjs +19 -15
- package/dist/hero-creative-studio-stacked.js +16 -12
- package/dist/hero-dashed-border-features.cjs +6 -2
- package/dist/hero-dashed-border-features.js +6 -2
- package/dist/hero-design-carousel-portfolio.cjs +29 -25
- package/dist/hero-design-carousel-portfolio.js +26 -22
- package/dist/hero-design-system-3d.cjs +18 -14
- package/dist/hero-design-system-3d.js +16 -12
- package/dist/hero-developer-tools-code.cjs +18 -14
- package/dist/hero-developer-tools-code.js +16 -12
- package/dist/hero-ecommerce-product-showcase.cjs +20 -16
- package/dist/hero-ecommerce-product-showcase.js +17 -13
- package/dist/hero-enterprise-security.cjs +6 -2
- package/dist/hero-enterprise-security.js +6 -2
- package/dist/hero-event-registration.cjs +21 -17
- package/dist/hero-event-registration.js +17 -13
- package/dist/hero-feature-cards-grid.cjs +6 -2
- package/dist/hero-feature-cards-grid.js +6 -2
- package/dist/hero-floating-images.cjs +26 -6
- package/dist/hero-floating-images.js +10 -5
- package/dist/hero-gradient-avatars-rating.cjs +19 -15
- package/dist/hero-gradient-avatars-rating.js +16 -12
- package/dist/hero-grid-pattern-solutions.cjs +6 -2
- package/dist/hero-grid-pattern-solutions.js +6 -2
- package/dist/hero-marketplace-scattered-images.cjs +6 -2
- package/dist/hero-marketplace-scattered-images.js +6 -2
- package/dist/hero-mentorship-video-split.cjs +6 -2
- package/dist/hero-mentorship-video-split.js +6 -2
- package/dist/hero-mobile-app-download.cjs +6 -2
- package/dist/hero-mobile-app-download.js +6 -2
- package/dist/hero-overlay-cta-grid.cjs +20 -16
- package/dist/hero-overlay-cta-grid.js +16 -12
- package/dist/hero-platform-features-grid.cjs +6 -2
- package/dist/hero-platform-features-grid.js +6 -2
- package/dist/hero-portfolio-creative.cjs +6 -2
- package/dist/hero-portfolio-creative.js +6 -2
- package/dist/hero-pricing-comparison.cjs +6 -2
- package/dist/hero-pricing-comparison.js +6 -2
- package/dist/hero-product-showcase-floating.cjs +27 -23
- package/dist/hero-product-showcase-floating.js +22 -18
- package/dist/hero-saas-dashboard-preview.cjs +6 -2
- package/dist/hero-saas-dashboard-preview.js +6 -2
- package/dist/hero-simple-centered-image.cjs +5 -5
- package/dist/hero-simple-centered-image.js +5 -5
- package/dist/hero-software-growth-video-dialog.cjs +19 -15
- package/dist/hero-software-growth-video-dialog.js +16 -12
- package/dist/hero-split-icon-cards.cjs +18 -14
- package/dist/hero-split-icon-cards.js +16 -12
- package/dist/hero-video-dialog-gradient.cjs +19 -15
- package/dist/hero-video-dialog-gradient.js +16 -12
- package/dist/hero-video-overlay-stars.cjs +18 -14
- package/dist/hero-video-overlay-stars.js +16 -12
- package/dist/index.cjs +200 -180
- package/dist/index.js +104 -84
- package/dist/industries-expandable-showcase.cjs +6 -2
- package/dist/industries-expandable-showcase.js +6 -2
- package/dist/industries-hover-reveal-grid.cjs +6 -2
- package/dist/industries-hover-reveal-grid.js +6 -2
- package/dist/industries-timeline-table.cjs +6 -2
- package/dist/industries-timeline-table.js +6 -2
- package/dist/interior-carousel.cjs +33 -29
- package/dist/interior-carousel.js +26 -22
- package/dist/link-page-bento-layout.cjs +6 -2
- package/dist/link-page-bento-layout.js +6 -2
- package/dist/link-page-grid-cards.cjs +6 -2
- package/dist/link-page-grid-cards.js +6 -2
- package/dist/link-page-minimal-profile.cjs +6 -2
- package/dist/link-page-minimal-profile.js +6 -2
- package/dist/link-page-newsletter-social.cjs +6 -2
- package/dist/link-page-newsletter-social.js +6 -2
- package/dist/link-tree-block.cjs +30 -26
- package/dist/link-tree-block.js +30 -26
- package/dist/list-achievements-showcase.cjs +6 -2
- package/dist/list-achievements-showcase.js +6 -2
- package/dist/list-feature-comparison.cjs +6 -2
- package/dist/list-feature-comparison.js +6 -2
- package/dist/list-metrics-dashboard.cjs +6 -2
- package/dist/list-metrics-dashboard.js +6 -2
- package/dist/list-searchable-grid.cjs +19 -15
- package/dist/list-searchable-grid.js +18 -14
- package/dist/list-service-category-table.cjs +26 -6
- package/dist/list-service-category-table.js +10 -5
- package/dist/navbar-animated-preview.cjs +6 -2
- package/dist/navbar-animated-preview.js +6 -2
- package/dist/navbar-centered-menu.cjs +6 -2
- package/dist/navbar-centered-menu.js +6 -2
- package/dist/navbar-dark-icons.cjs +6 -2
- package/dist/navbar-dark-icons.js +6 -2
- package/dist/navbar-dropdown-menu.cjs +6 -2
- package/dist/navbar-dropdown-menu.js +6 -2
- package/dist/navbar-education-platform.cjs +6 -2
- package/dist/navbar-education-platform.js +6 -2
- package/dist/navbar-enterprise-mega.cjs +6 -2
- package/dist/navbar-enterprise-mega.js +6 -2
- package/dist/navbar-feature-grid.cjs +6 -2
- package/dist/navbar-feature-grid.js +6 -2
- package/dist/navbar-floating-pill.cjs +6 -2
- package/dist/navbar-floating-pill.js +6 -2
- package/dist/navbar-fullscreen-menu.cjs +6 -2
- package/dist/navbar-fullscreen-menu.js +6 -2
- package/dist/navbar-icon-links.cjs +6 -2
- package/dist/navbar-icon-links.js +6 -2
- package/dist/navbar-image-preview.cjs +6 -2
- package/dist/navbar-image-preview.js +6 -2
- package/dist/navbar-mega-menu.cjs +6 -2
- package/dist/navbar-mega-menu.js +6 -2
- package/dist/navbar-multi-column-groups.cjs +6 -2
- package/dist/navbar-multi-column-groups.js +6 -2
- package/dist/navbar-platform-resources.cjs +6 -2
- package/dist/navbar-platform-resources.js +6 -2
- package/dist/navbar-search-focused.cjs +6 -2
- package/dist/navbar-search-focused.js +6 -2
- package/dist/navbar-sidebar-mobile.cjs +6 -2
- package/dist/navbar-sidebar-mobile.js +6 -2
- package/dist/navbar-simple-links.cjs +6 -2
- package/dist/navbar-simple-links.js +6 -2
- package/dist/navbar-split-cta.cjs +6 -2
- package/dist/navbar-split-cta.js +6 -2
- package/dist/navbar-sticky-compact.cjs +6 -2
- package/dist/navbar-sticky-compact.js +6 -2
- package/dist/navbar-tabbed-sections.cjs +6 -2
- package/dist/navbar-tabbed-sections.js +6 -2
- package/dist/navbar-transparent-overlay.cjs +6 -2
- package/dist/navbar-transparent-overlay.js +6 -2
- package/dist/offer-modal-membership-image.cjs +6 -2
- package/dist/offer-modal-membership-image.js +6 -2
- package/dist/offer-modal-newsletter-discount.cjs +6 -2
- package/dist/offer-modal-newsletter-discount.js +6 -2
- package/dist/offer-modal-sheet-newsletter.cjs +6 -2
- package/dist/offer-modal-sheet-newsletter.js +6 -2
- package/dist/payment-platform-icon.cjs +27 -2
- package/dist/payment-platform-icon.js +7 -2
- package/dist/pricing-addons-cards.cjs +19 -15
- package/dist/pricing-addons-cards.js +16 -12
- package/dist/pricing-addons-featured.cjs +20 -16
- package/dist/pricing-addons-featured.js +16 -12
- package/dist/pricing-collapsible-plans.cjs +19 -15
- package/dist/pricing-collapsible-plans.js +16 -12
- package/dist/pricing-columns-toggle.cjs +20 -16
- package/dist/pricing-columns-toggle.js +16 -12
- package/dist/pricing-comparison-headers.cjs +21 -17
- package/dist/pricing-comparison-headers.js +16 -12
- package/dist/pricing-comparison-table.cjs +21 -17
- package/dist/pricing-comparison-table.js +16 -12
- package/dist/pricing-discount-card.cjs +18 -14
- package/dist/pricing-discount-card.js +16 -12
- package/dist/pricing-enterprise-contact.cjs +18 -14
- package/dist/pricing-enterprise-contact.js +16 -12
- package/dist/pricing-feature-matrix.cjs +19 -15
- package/dist/pricing-feature-matrix.js +16 -12
- package/dist/pricing-four-tier-toggle.cjs +20 -16
- package/dist/pricing-four-tier-toggle.js +16 -12
- package/dist/pricing-full-comparison.cjs +19 -15
- package/dist/pricing-full-comparison.js +17 -13
- package/dist/pricing-gradient-cards.cjs +20 -16
- package/dist/pricing-gradient-cards.js +16 -12
- package/dist/pricing-icon-headers.cjs +19 -15
- package/dist/pricing-icon-headers.js +16 -12
- package/dist/pricing-minimal-cards.cjs +19 -15
- package/dist/pricing-minimal-cards.js +16 -12
- package/dist/pricing-packages-radio.cjs +18 -14
- package/dist/pricing-packages-radio.js +16 -12
- package/dist/pricing-popular-highlight.cjs +20 -16
- package/dist/pricing-popular-highlight.js +16 -12
- package/dist/pricing-radio-toggle.cjs +20 -16
- package/dist/pricing-radio-toggle.js +16 -12
- package/dist/pricing-responsive-table.cjs +18 -14
- package/dist/pricing-responsive-table.js +16 -12
- package/dist/pricing-services-cards.cjs +19 -15
- package/dist/pricing-services-cards.js +16 -12
- package/dist/pricing-simple-card.cjs +18 -14
- package/dist/pricing-simple-card.js +16 -12
- package/dist/pricing-single-card.cjs +19 -15
- package/dist/pricing-single-card.js +16 -12
- package/dist/pricing-split-layout.cjs +16 -12
- package/dist/pricing-split-layout.js +16 -12
- package/dist/pricing-spotlight-card.cjs +18 -14
- package/dist/pricing-spotlight-card.js +16 -12
- package/dist/pricing-switch-cards.cjs +20 -16
- package/dist/pricing-switch-cards.js +16 -12
- package/dist/pricing-tabs-toggle.cjs +20 -16
- package/dist/pricing-tabs-toggle.js +16 -12
- package/dist/pricing-tier-grid.cjs +19 -15
- package/dist/pricing-tier-grid.js +16 -12
- package/dist/pricing-toggle-cards.cjs +20 -16
- package/dist/pricing-toggle-cards.js +16 -12
- package/dist/pricing-toggle-period.cjs +18 -14
- package/dist/pricing-toggle-period.js +16 -12
- package/dist/pricing-two-column-basic.cjs +20 -16
- package/dist/pricing-two-column-basic.js +16 -12
- package/dist/process-expandable-timeline.cjs +6 -2
- package/dist/process-expandable-timeline.js +6 -2
- package/dist/process-icon-timeline.cjs +26 -6
- package/dist/process-icon-timeline.js +10 -5
- package/dist/process-numbered-services.cjs +6 -2
- package/dist/process-numbered-services.js +6 -2
- package/dist/process-roadmap-timeline.cjs +26 -6
- package/dist/process-roadmap-timeline.js +10 -5
- package/dist/process-scroll-image.cjs +24 -20
- package/dist/process-scroll-image.js +22 -18
- package/dist/process-steps-grid.cjs +26 -6
- package/dist/process-steps-grid.js +10 -5
- package/dist/process-sticky-steps.cjs +6 -2
- package/dist/process-sticky-steps.js +6 -2
- package/dist/project-background-reveal.cjs +17 -13
- package/dist/project-background-reveal.js +16 -12
- package/dist/project-card-overlay.cjs +26 -6
- package/dist/project-card-overlay.js +10 -5
- package/dist/project-carousel-cinematic.cjs +31 -27
- package/dist/project-carousel-cinematic.js +26 -22
- package/dist/project-carousel-detail-cards.cjs +31 -27
- package/dist/project-carousel-detail-cards.js +26 -22
- package/dist/project-carousel-minimal.cjs +31 -27
- package/dist/project-carousel-minimal.js +26 -22
- package/dist/project-detail-architecture-carousel.cjs +6 -2
- package/dist/project-detail-architecture-carousel.js +6 -2
- package/dist/project-detail-list-related.cjs +6 -2
- package/dist/project-detail-list-related.js +6 -2
- package/dist/project-detail-photography-breadcrumb.cjs +6 -2
- package/dist/project-detail-photography-breadcrumb.js +6 -2
- package/dist/project-detail-tabbed-case-study.cjs +6 -2
- package/dist/project-detail-tabbed-case-study.js +6 -2
- package/dist/project-experience-quote.cjs +17 -13
- package/dist/project-experience-quote.js +16 -12
- package/dist/project-featured-carousel.cjs +27 -23
- package/dist/project-featured-carousel.js +26 -22
- package/dist/project-horizontal-cards.cjs +17 -13
- package/dist/project-horizontal-cards.js +16 -12
- package/dist/project-interactive-hover-reveal.cjs +18 -14
- package/dist/project-interactive-hover-reveal.js +16 -12
- package/dist/project-scroll-reveal.cjs +26 -6
- package/dist/project-scroll-reveal.js +10 -5
- package/dist/project-video-carousel.cjs +31 -27
- package/dist/project-video-carousel.js +26 -22
- package/dist/project-video-hover-bento.cjs +26 -6
- package/dist/project-video-hover-bento.js +10 -5
- package/dist/project-video-hover-grid.cjs +26 -6
- package/dist/project-video-hover-grid.js +10 -5
- package/dist/project-video-hover-rounded.cjs +26 -6
- package/dist/project-video-hover-rounded.js +10 -5
- package/dist/project-video-hover-stack.cjs +26 -6
- package/dist/project-video-hover-stack.js +10 -5
- package/dist/project-video-hover-two-by-two.cjs +26 -6
- package/dist/project-video-hover-two-by-two.js +10 -5
- package/dist/project-work-showcase.cjs +17 -13
- package/dist/project-work-showcase.js +16 -12
- package/dist/project-zigzag-layout.cjs +16 -12
- package/dist/project-zigzag-layout.js +16 -12
- package/dist/registry.cjs +1742 -1722
- package/dist/registry.js +512 -492
- package/dist/resource-detail-document-sidebar.cjs +6 -2
- package/dist/resource-detail-document-sidebar.js +6 -2
- package/dist/resource-detail-whitepaper-sidebar.cjs +6 -2
- package/dist/resource-detail-whitepaper-sidebar.js +6 -2
- package/dist/resource-list-course-cards.cjs +6 -2
- package/dist/resource-list-course-cards.js +6 -2
- package/dist/resource-list-featured-articles.cjs +6 -2
- package/dist/resource-list-featured-articles.js +6 -2
- package/dist/resource-list-featured-grid.cjs +6 -2
- package/dist/resource-list-featured-grid.js +6 -2
- package/dist/resource-list-hero-filter.cjs +6 -2
- package/dist/resource-list-hero-filter.js +6 -2
- package/dist/resource-list-news-updates.cjs +6 -2
- package/dist/resource-list-news-updates.js +6 -2
- package/dist/service-detail-centered-expertise.cjs +16 -12
- package/dist/service-detail-centered-expertise.js +16 -12
- package/dist/service-detail-compact-cards.cjs +16 -12
- package/dist/service-detail-compact-cards.js +16 -12
- package/dist/service-detail-sidebar-related.cjs +16 -12
- package/dist/service-detail-sidebar-related.js +16 -12
- package/dist/service-detail-sidebar-stats.cjs +27 -7
- package/dist/service-detail-sidebar-stats.js +10 -5
- package/dist/service-hover-carousel.cjs +38 -34
- package/dist/service-hover-carousel.js +26 -22
- package/dist/services-list-accordion-benefits.cjs +16 -12
- package/dist/services-list-accordion-benefits.js +16 -12
- package/dist/services-list-accordion.cjs +10 -8
- package/dist/services-list-accordion.js +10 -5
- package/dist/services-list-cards-hover.cjs +16 -12
- package/dist/services-list-cards-hover.js +16 -12
- package/dist/services-list-category-accordion.cjs +10 -8
- package/dist/services-list-category-accordion.js +10 -5
- package/dist/services-list-centered-icons.cjs +27 -7
- package/dist/services-list-centered-icons.js +10 -5
- package/dist/services-list-culture-tabs.cjs +16 -12
- package/dist/services-list-culture-tabs.js +16 -12
- package/dist/services-list-feature-spotlight.cjs +27 -7
- package/dist/services-list-feature-spotlight.js +10 -5
- package/dist/services-list-featured-highlight.cjs +16 -12
- package/dist/services-list-featured-highlight.js +16 -12
- package/dist/services-list-hero-cards.cjs +6 -2
- package/dist/services-list-hero-cards.js +6 -2
- package/dist/services-list-icon-grid.cjs +27 -7
- package/dist/services-list-icon-grid.js +10 -5
- package/dist/services-list-image-cards.cjs +6 -2
- package/dist/services-list-image-cards.js +6 -2
- package/dist/services-list-image-overlay-grid.cjs +6 -2
- package/dist/services-list-image-overlay-grid.js +6 -2
- package/dist/services-list-masonry.cjs +16 -12
- package/dist/services-list-masonry.js +16 -12
- package/dist/services-list-methodology-steps.cjs +16 -12
- package/dist/services-list-methodology-steps.js +16 -12
- package/dist/services-list-minimal-grid.cjs +16 -12
- package/dist/services-list-minimal-grid.js +16 -12
- package/dist/services-list-muted-cards.cjs +27 -7
- package/dist/services-list-muted-cards.js +10 -5
- package/dist/services-list-numbered-steps.cjs +16 -12
- package/dist/services-list-numbered-steps.js +16 -12
- package/dist/services-list-pricing-grid.cjs +16 -12
- package/dist/services-list-pricing-grid.js +16 -12
- package/dist/services-list-progress-sidebar.cjs +16 -12
- package/dist/services-list-progress-sidebar.js +16 -12
- package/dist/services-list-split-checklist.cjs +16 -12
- package/dist/services-list-split-checklist.js +16 -12
- package/dist/services-list-sticky-image.cjs +6 -2
- package/dist/services-list-sticky-image.js +6 -2
- package/dist/services-list-table-hover.cjs +6 -2
- package/dist/services-list-table-hover.js +6 -2
- package/dist/services-list-tabs-features.cjs +10 -8
- package/dist/services-list-tabs-features.js +10 -5
- package/dist/services-list-timeline.cjs +16 -12
- package/dist/services-list-timeline.js +16 -12
- package/dist/services-list-two-column-grid.cjs +16 -12
- package/dist/services-list-two-column-grid.js +16 -12
- package/dist/services-list-vertical-tags.cjs +27 -7
- package/dist/services-list-vertical-tags.js +10 -5
- package/dist/services-list-video-showcase.cjs +18 -14
- package/dist/services-list-video-showcase.js +18 -14
- package/dist/social-link-icon.cjs +6 -2
- package/dist/social-link-icon.js +6 -2
- package/dist/stats-animated-counter.cjs +17 -13
- package/dist/stats-animated-counter.js +15 -11
- package/dist/stats-card-group.cjs +26 -6
- package/dist/stats-card-group.js +10 -5
- package/dist/stats-growth-timeline.cjs +22 -18
- package/dist/stats-growth-timeline.js +16 -12
- package/dist/stats-icon-cards.cjs +26 -6
- package/dist/stats-icon-cards.js +10 -5
- package/dist/stats-impact-grid.cjs +23 -19
- package/dist/stats-impact-grid.js +16 -12
- package/dist/stats-primary-secondary.cjs +26 -6
- package/dist/stats-primary-secondary.js +10 -5
- package/dist/stats-timeline-tabs.cjs +9 -7
- package/dist/stats-timeline-tabs.js +10 -5
- package/dist/team-alternating-bios.cjs +17 -13
- package/dist/team-alternating-bios.js +17 -13
- package/dist/team-avatar-social.cjs +17 -13
- package/dist/team-avatar-social.js +17 -13
- package/dist/team-bio-badges.cjs +17 -13
- package/dist/team-bio-badges.js +17 -13
- package/dist/team-carousel-experience.cjs +27 -23
- package/dist/team-carousel-experience.js +27 -23
- package/dist/team-contact-cards.cjs +18 -14
- package/dist/team-contact-cards.js +18 -14
- package/dist/team-filterable-search.cjs +22 -18
- package/dist/team-filterable-search.js +22 -18
- package/dist/team-gradient-cards.cjs +17 -13
- package/dist/team-gradient-cards.js +17 -13
- package/dist/team-grid-animated.cjs +18 -14
- package/dist/team-grid-animated.js +18 -14
- package/dist/team-hover-highlight.cjs +17 -13
- package/dist/team-hover-highlight.js +17 -13
- package/dist/team-hover-overlay.cjs +17 -13
- package/dist/team-hover-overlay.js +17 -13
- package/dist/team-large-images.cjs +17 -13
- package/dist/team-large-images.js +17 -13
- package/dist/team-role-filter.cjs +20 -16
- package/dist/team-role-filter.js +20 -16
- package/dist/team-skill-badges.cjs +17 -13
- package/dist/team-skill-badges.js +17 -13
- package/dist/team-social-cards.cjs +17 -13
- package/dist/team-social-cards.js +17 -13
- package/dist/team-social-grid.cjs +17 -13
- package/dist/team-social-grid.js +17 -13
- package/dist/team-testimonial-stats.cjs +17 -13
- package/dist/team-testimonial-stats.js +17 -13
- package/dist/testimonial-carousel-cards.cjs +33 -29
- package/dist/testimonial-carousel-cards.js +26 -22
- package/dist/testimonials-animated-split.cjs +9 -7
- package/dist/testimonials-animated-split.js +10 -5
- package/dist/testimonials-bento-grid.cjs +9 -7
- package/dist/testimonials-bento-grid.js +10 -5
- package/dist/testimonials-carousel-image.cjs +18 -14
- package/dist/testimonials-carousel-image.js +13 -9
- package/dist/testimonials-company-logo.cjs +26 -6
- package/dist/testimonials-company-logo.js +10 -5
- package/dist/testimonials-grid-add-review.cjs +9 -7
- package/dist/testimonials-grid-add-review.js +10 -5
- package/dist/testimonials-images-helpful.cjs +21 -17
- package/dist/testimonials-images-helpful.js +16 -12
- package/dist/testimonials-large-quote.cjs +9 -7
- package/dist/testimonials-large-quote.js +10 -5
- package/dist/testimonials-list-verified.cjs +9 -7
- package/dist/testimonials-list-verified.js +10 -5
- package/dist/testimonials-mini-dividers.cjs +9 -7
- package/dist/testimonials-mini-dividers.js +10 -5
- package/dist/testimonials-minimal-numbered.cjs +9 -7
- package/dist/testimonials-minimal-numbered.js +10 -5
- package/dist/testimonials-quote-carousel.cjs +31 -27
- package/dist/testimonials-quote-carousel.js +26 -22
- package/dist/testimonials-scrolling-columns.cjs +26 -6
- package/dist/testimonials-scrolling-columns.js +10 -5
- package/dist/testimonials-split-image.cjs +9 -7
- package/dist/testimonials-split-image.js +10 -5
- package/dist/testimonials-stats-header.cjs +9 -7
- package/dist/testimonials-stats-header.js +10 -5
- package/dist/testimonials-twitter-cards.cjs +19 -15
- package/dist/testimonials-twitter-cards.js +16 -12
- package/dist/timeline-ai-workflow-cards.cjs +27 -7
- package/dist/timeline-ai-workflow-cards.js +10 -5
- package/dist/timeline-alternating-diagonal.cjs +12 -8
- package/dist/timeline-alternating-diagonal.js +12 -8
- package/dist/timeline-horizontal-icons.cjs +10 -8
- package/dist/timeline-horizontal-icons.js +10 -5
- package/dist/timeline-productivity-list.cjs +27 -7
- package/dist/timeline-productivity-list.js +10 -5
- package/dist/timeline-stepper-animated.cjs +22 -18
- package/dist/timeline-stepper-animated.js +21 -17
- package/dist/timeline-tabbed-phases.cjs +6 -2
- package/dist/timeline-tabbed-phases.js +6 -2
- package/dist/timeline-vertical-icon-dashed.cjs +6 -2
- package/dist/timeline-vertical-icon-dashed.js +6 -2
- package/package.json +3 -3
package/dist/geo-map.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
2
|
+
import * as React4 from 'react';
|
|
3
3
|
import { MapLibre } from '@page-speed/maps';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
@@ -87,7 +87,7 @@ function useNavigation({
|
|
|
87
87
|
href,
|
|
88
88
|
onClick
|
|
89
89
|
} = {}) {
|
|
90
|
-
const linkType =
|
|
90
|
+
const linkType = React4.useMemo(() => {
|
|
91
91
|
if (!href || href.trim() === "") {
|
|
92
92
|
return onClick ? "none" : "none";
|
|
93
93
|
}
|
|
@@ -108,7 +108,7 @@ function useNavigation({
|
|
|
108
108
|
return "internal";
|
|
109
109
|
}
|
|
110
110
|
}, [href, onClick]);
|
|
111
|
-
const normalizedHref =
|
|
111
|
+
const normalizedHref = React4.useMemo(() => {
|
|
112
112
|
if (!href || href.trim() === "") {
|
|
113
113
|
return void 0;
|
|
114
114
|
}
|
|
@@ -126,7 +126,7 @@ function useNavigation({
|
|
|
126
126
|
return trimmed;
|
|
127
127
|
}
|
|
128
128
|
}, [href, linkType]);
|
|
129
|
-
const target =
|
|
129
|
+
const target = React4.useMemo(() => {
|
|
130
130
|
switch (linkType) {
|
|
131
131
|
case "external":
|
|
132
132
|
return "_blank";
|
|
@@ -139,7 +139,7 @@ function useNavigation({
|
|
|
139
139
|
return void 0;
|
|
140
140
|
}
|
|
141
141
|
}, [linkType]);
|
|
142
|
-
const rel =
|
|
142
|
+
const rel = React4.useMemo(() => {
|
|
143
143
|
if (linkType === "external") {
|
|
144
144
|
return "noopener noreferrer";
|
|
145
145
|
}
|
|
@@ -148,7 +148,7 @@ function useNavigation({
|
|
|
148
148
|
const isExternal = linkType === "external";
|
|
149
149
|
const isInternal = linkType === "internal";
|
|
150
150
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
151
|
-
const handleClick =
|
|
151
|
+
const handleClick = React4.useCallback(
|
|
152
152
|
(event) => {
|
|
153
153
|
if (onClick) {
|
|
154
154
|
try {
|
|
@@ -332,7 +332,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
332
332
|
size: "default"
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
|
-
var Pressable =
|
|
335
|
+
var Pressable = React4.forwardRef(
|
|
336
336
|
({
|
|
337
337
|
children,
|
|
338
338
|
className,
|
|
@@ -431,9 +431,13 @@ var Pressable = React3.forwardRef(
|
|
|
431
431
|
);
|
|
432
432
|
Pressable.displayName = "Pressable";
|
|
433
433
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
434
|
-
|
|
434
|
+
var DynamicIcon = React4.memo(function DynamicIcon2({
|
|
435
|
+
apiKey,
|
|
436
|
+
...props
|
|
437
|
+
}) {
|
|
435
438
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
436
|
-
}
|
|
439
|
+
});
|
|
440
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
437
441
|
var PANEL_POSITION_CLASS = {
|
|
438
442
|
"top-left": "left-4 top-4",
|
|
439
443
|
"top-right": "right-4 top-4",
|
|
@@ -525,12 +529,20 @@ function MarkerMediaCarousel({
|
|
|
525
529
|
mediaItems,
|
|
526
530
|
optixFlowConfig
|
|
527
531
|
}) {
|
|
528
|
-
const [activeIndex, setActiveIndex] =
|
|
532
|
+
const [activeIndex, setActiveIndex] = React4.useState(0);
|
|
529
533
|
const totalItems = mediaItems.length;
|
|
530
|
-
|
|
534
|
+
const mediaResetKey = React4.useMemo(
|
|
535
|
+
() => mediaItems.map((item, index) => {
|
|
536
|
+
const itemId = normalizeId(item.id, `media-${index}`);
|
|
537
|
+
return `${itemId}:${item.src}:${item.type ?? ""}:${item.poster ?? ""}`;
|
|
538
|
+
}).join("|"),
|
|
539
|
+
[mediaItems]
|
|
540
|
+
);
|
|
541
|
+
const activeItemIndex = Math.min(activeIndex, Math.max(0, totalItems - 1));
|
|
542
|
+
React4.useEffect(() => {
|
|
531
543
|
setActiveIndex(0);
|
|
532
|
-
}, [
|
|
533
|
-
const activeMediaItem = mediaItems[
|
|
544
|
+
}, [mediaResetKey]);
|
|
545
|
+
const activeMediaItem = mediaItems[activeItemIndex];
|
|
534
546
|
const mediaType = resolveMediaType(activeMediaItem);
|
|
535
547
|
return /* @__PURE__ */ jsxs("div", { className: "relative border-b border-border/60 bg-muted/40", children: [
|
|
536
548
|
/* @__PURE__ */ jsx("div", { className: "relative h-44 w-full overflow-hidden", children: mediaType === "video" ? /* @__PURE__ */ jsx(
|
|
@@ -564,7 +576,7 @@ function MarkerMediaCarousel({
|
|
|
564
576
|
(current) => (current - 1 + totalItems) % totalItems
|
|
565
577
|
);
|
|
566
578
|
},
|
|
567
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-left" })
|
|
579
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-left", size: 16 })
|
|
568
580
|
}
|
|
569
581
|
),
|
|
570
582
|
/* @__PURE__ */ jsx(
|
|
@@ -576,7 +588,7 @@ function MarkerMediaCarousel({
|
|
|
576
588
|
onClick: () => {
|
|
577
589
|
setActiveIndex((current) => (current + 1) % totalItems);
|
|
578
590
|
},
|
|
579
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right" })
|
|
591
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
|
|
580
592
|
}
|
|
581
593
|
),
|
|
582
594
|
/* @__PURE__ */ jsx("div", { className: "absolute bottom-2 left-1/2 flex -translate-x-1/2 items-center gap-1.5", children: mediaItems.map((item, index) => /* @__PURE__ */ jsx(
|
|
@@ -586,7 +598,7 @@ function MarkerMediaCarousel({
|
|
|
586
598
|
"aria-label": `Show media item ${index + 1}`,
|
|
587
599
|
className: cn(
|
|
588
600
|
"h-2 rounded-full transition-all",
|
|
589
|
-
index ===
|
|
601
|
+
index === activeItemIndex ? "w-6 bg-card" : "w-2 bg-card opacity-50 hover:opacity-100"
|
|
590
602
|
),
|
|
591
603
|
onClick: () => setActiveIndex(index)
|
|
592
604
|
},
|
|
@@ -635,14 +647,14 @@ function GeoMap({
|
|
|
635
647
|
mapChildren,
|
|
636
648
|
optixFlowConfig
|
|
637
649
|
}) {
|
|
638
|
-
const normalizedStandaloneMarkers =
|
|
650
|
+
const normalizedStandaloneMarkers = React4.useMemo(
|
|
639
651
|
() => markers.map((marker, index) => ({
|
|
640
652
|
...marker,
|
|
641
653
|
id: normalizeId(marker.id, `marker-${index}`)
|
|
642
654
|
})),
|
|
643
655
|
[markers]
|
|
644
656
|
);
|
|
645
|
-
const normalizedClusters =
|
|
657
|
+
const normalizedClusters = React4.useMemo(() => {
|
|
646
658
|
const results = [];
|
|
647
659
|
clusters.forEach((cluster, clusterIndex) => {
|
|
648
660
|
const clusterId = normalizeId(cluster.id, `cluster-${clusterIndex}`);
|
|
@@ -667,7 +679,7 @@ function GeoMap({
|
|
|
667
679
|
});
|
|
668
680
|
return results;
|
|
669
681
|
}, [clusters]);
|
|
670
|
-
const markerLookup =
|
|
682
|
+
const markerLookup = React4.useMemo(() => {
|
|
671
683
|
const lookup = /* @__PURE__ */ new Map();
|
|
672
684
|
normalizedStandaloneMarkers.forEach((marker) => {
|
|
673
685
|
lookup.set(marker.id, marker);
|
|
@@ -679,14 +691,14 @@ function GeoMap({
|
|
|
679
691
|
});
|
|
680
692
|
return lookup;
|
|
681
693
|
}, [normalizedClusters, normalizedStandaloneMarkers]);
|
|
682
|
-
const clusterLookup =
|
|
694
|
+
const clusterLookup = React4.useMemo(() => {
|
|
683
695
|
const lookup = /* @__PURE__ */ new Map();
|
|
684
696
|
normalizedClusters.forEach((cluster) => {
|
|
685
697
|
lookup.set(cluster.id, cluster);
|
|
686
698
|
});
|
|
687
699
|
return lookup;
|
|
688
700
|
}, [normalizedClusters]);
|
|
689
|
-
const firstCoordinate =
|
|
701
|
+
const firstCoordinate = React4.useMemo(() => {
|
|
690
702
|
if (normalizedStandaloneMarkers.length > 0) {
|
|
691
703
|
const firstStandaloneMarker = normalizedStandaloneMarkers[0];
|
|
692
704
|
return {
|
|
@@ -706,23 +718,27 @@ function GeoMap({
|
|
|
706
718
|
longitude: DEFAULT_VIEW_STATE.longitude
|
|
707
719
|
};
|
|
708
720
|
}, [normalizedClusters, normalizedStandaloneMarkers]);
|
|
709
|
-
const [uncontrolledViewState, setUncontrolledViewState] =
|
|
721
|
+
const [uncontrolledViewState, setUncontrolledViewState] = React4.useState({
|
|
710
722
|
latitude: defaultViewState?.latitude ?? firstCoordinate.latitude,
|
|
711
723
|
longitude: defaultViewState?.longitude ?? firstCoordinate.longitude,
|
|
712
724
|
zoom: defaultViewState?.zoom ?? DEFAULT_VIEW_STATE.zoom
|
|
713
725
|
});
|
|
714
726
|
const isControlledViewState = viewState !== void 0;
|
|
715
727
|
const resolvedViewState = isControlledViewState ? viewState : uncontrolledViewState;
|
|
716
|
-
const applyViewState =
|
|
728
|
+
const applyViewState = React4.useCallback(
|
|
717
729
|
(nextState) => {
|
|
718
730
|
if (!isControlledViewState) {
|
|
719
|
-
setUncontrolledViewState((current) =>
|
|
731
|
+
setUncontrolledViewState((current) => {
|
|
732
|
+
const next = { ...current, ...nextState };
|
|
733
|
+
const hasChanged = current.latitude !== next.latitude || current.longitude !== next.longitude || current.zoom !== next.zoom;
|
|
734
|
+
return hasChanged ? next : current;
|
|
735
|
+
});
|
|
720
736
|
}
|
|
721
737
|
onViewStateChange?.(nextState);
|
|
722
738
|
},
|
|
723
739
|
[isControlledViewState, onViewStateChange]
|
|
724
740
|
);
|
|
725
|
-
const [selection, setSelection] =
|
|
741
|
+
const [selection, setSelection] = React4.useState(() => {
|
|
726
742
|
if (initialSelectedMarkerId !== void 0 && initialSelectedMarkerId !== null) {
|
|
727
743
|
return {
|
|
728
744
|
type: "marker",
|
|
@@ -731,7 +747,7 @@ function GeoMap({
|
|
|
731
747
|
}
|
|
732
748
|
return { type: "none" };
|
|
733
749
|
});
|
|
734
|
-
|
|
750
|
+
React4.useEffect(() => {
|
|
735
751
|
if (selectedMarkerId === void 0 || selectedMarkerId === null) {
|
|
736
752
|
return;
|
|
737
753
|
}
|
|
@@ -742,13 +758,13 @@ function GeoMap({
|
|
|
742
758
|
}, [selectedMarkerId]);
|
|
743
759
|
const selectedMarker = selection.markerId ? markerLookup.get(selection.markerId) : void 0;
|
|
744
760
|
const selectedCluster = selection.clusterId ? clusterLookup.get(selection.clusterId) : void 0;
|
|
745
|
-
|
|
761
|
+
React4.useEffect(() => {
|
|
746
762
|
if (selection.type === "marker" && selection.markerId && !selectedMarker) {
|
|
747
763
|
setSelection({ type: "none" });
|
|
748
764
|
onSelectionChange?.({ type: "none" });
|
|
749
765
|
}
|
|
750
766
|
}, [onSelectionChange, selectedMarker, selection]);
|
|
751
|
-
const emitSelectionChange =
|
|
767
|
+
const emitSelectionChange = React4.useCallback(
|
|
752
768
|
(nextSelection) => {
|
|
753
769
|
if (nextSelection.type === "none") {
|
|
754
770
|
onSelectionChange?.({ type: "none" });
|
|
@@ -770,7 +786,7 @@ function GeoMap({
|
|
|
770
786
|
},
|
|
771
787
|
[clusterLookup, onSelectionChange]
|
|
772
788
|
);
|
|
773
|
-
const selectMarker =
|
|
789
|
+
const selectMarker = React4.useCallback(
|
|
774
790
|
(marker) => {
|
|
775
791
|
setSelection({
|
|
776
792
|
type: "marker",
|
|
@@ -786,7 +802,7 @@ function GeoMap({
|
|
|
786
802
|
},
|
|
787
803
|
[applyViewState, emitSelectionChange, markerFocusZoom]
|
|
788
804
|
);
|
|
789
|
-
const selectCluster =
|
|
805
|
+
const selectCluster = React4.useCallback(
|
|
790
806
|
(cluster) => {
|
|
791
807
|
setSelection({
|
|
792
808
|
type: "cluster",
|
|
@@ -801,11 +817,11 @@ function GeoMap({
|
|
|
801
817
|
},
|
|
802
818
|
[applyViewState, clusterFocusZoom, emitSelectionChange]
|
|
803
819
|
);
|
|
804
|
-
const clearSelection =
|
|
820
|
+
const clearSelection = React4.useCallback(() => {
|
|
805
821
|
setSelection({ type: "none" });
|
|
806
822
|
emitSelectionChange({ type: "none" });
|
|
807
823
|
}, [emitSelectionChange]);
|
|
808
|
-
const mapMarkers =
|
|
824
|
+
const mapMarkers = React4.useMemo(() => {
|
|
809
825
|
const resolvedMarkers = [];
|
|
810
826
|
normalizedClusters.forEach((cluster) => {
|
|
811
827
|
const isSelected = selection.type === "cluster" && selection.clusterId === cluster.id;
|
|
@@ -914,7 +930,7 @@ function GeoMap({
|
|
|
914
930
|
"aria-label": "Close marker details",
|
|
915
931
|
className: "flex size-8 items-center justify-center rounded-full border border-border bg-card text-card-foreground transition hover:bg-muted hover:text-foreground absolute top-2 right-2 z-10",
|
|
916
932
|
onClick: clearSelection,
|
|
917
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x" })
|
|
933
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
918
934
|
}
|
|
919
935
|
),
|
|
920
936
|
markerMediaItems.length > 0 ? /* @__PURE__ */ jsx(
|
|
@@ -930,36 +946,40 @@ function GeoMap({
|
|
|
930
946
|
/* @__PURE__ */ jsx("div", { className: "text-base font-semibold leading-tight", children: selectedMarker.title ?? selectedMarker.label ?? "Location" })
|
|
931
947
|
] }) }),
|
|
932
948
|
selectedMarker.summary ? /* @__PURE__ */ jsx("div", { className: "text-sm leading-relaxed", children: selectedMarker.summary }) : null,
|
|
933
|
-
selectedMarker.locationLine ? /* @__PURE__ */ jsxs(
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
949
|
+
selectedMarker.locationLine ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-start text-sm gap-2", children: [
|
|
950
|
+
/* @__PURE__ */ jsx(
|
|
951
|
+
DynamicIcon,
|
|
952
|
+
{
|
|
953
|
+
name: "lucide:map-pin",
|
|
954
|
+
className: "opacity-50",
|
|
955
|
+
size: 14
|
|
956
|
+
}
|
|
957
|
+
),
|
|
958
|
+
typeof selectedMarker.locationLine === "string" ? /* @__PURE__ */ jsx(
|
|
959
|
+
Pressable,
|
|
960
|
+
{
|
|
961
|
+
href: selectedMarker.locationUrl,
|
|
962
|
+
className: cn(
|
|
963
|
+
"transition-all duration-500",
|
|
964
|
+
"font-medium opacity-75 hover:opacity-100",
|
|
965
|
+
selectedMarker.locationUrl ? "underline underline-offset-4" : ""
|
|
946
966
|
),
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
) : null,
|
|
967
|
+
children: selectedMarker.locationLine
|
|
968
|
+
}
|
|
969
|
+
) : selectedMarker.locationLine
|
|
970
|
+
] }) : null,
|
|
951
971
|
selectedMarker.hoursLine ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-start text-sm gap-2", children: [
|
|
952
972
|
/* @__PURE__ */ jsx(
|
|
953
973
|
DynamicIcon,
|
|
954
974
|
{
|
|
955
975
|
name: "lucide:clock",
|
|
956
976
|
className: "opacity-50",
|
|
957
|
-
size:
|
|
977
|
+
size: 14
|
|
958
978
|
}
|
|
959
979
|
),
|
|
960
980
|
typeof selectedMarker.hoursLine === "string" ? /* @__PURE__ */ jsx("div", { className: "font-medium", children: selectedMarker.hoursLine }) : selectedMarker.hoursLine
|
|
961
981
|
] }) : null,
|
|
962
|
-
selectedMarker.markerContentComponent ? /* @__PURE__ */ jsx("div", { className: "
|
|
982
|
+
selectedMarker.markerContentComponent ? /* @__PURE__ */ jsx("div", { className: "relative", children: selectedMarker.markerContentComponent }) : null,
|
|
963
983
|
/* @__PURE__ */ jsx(MarkerActions, { actions: selectedMarker.actions })
|
|
964
984
|
] })
|
|
965
985
|
]
|
|
@@ -982,7 +1002,7 @@ function GeoMap({
|
|
|
982
1002
|
"aria-label": "Close cluster details",
|
|
983
1003
|
className: "flex size-8 items-center justify-center rounded-full border border-border bg-card text-card-foreground transition hover:bg-muted hover:text-foreground absolute top-2 right-2 z-10",
|
|
984
1004
|
onClick: clearSelection,
|
|
985
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x" })
|
|
1005
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
986
1006
|
}
|
|
987
1007
|
),
|
|
988
1008
|
/* @__PURE__ */ jsx("div", { className: "mb-3 flex items-start justify-between gap-3", children: /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
@@ -485,9 +485,13 @@ var Pressable = React__namespace.forwardRef(
|
|
|
485
485
|
);
|
|
486
486
|
Pressable.displayName = "Pressable";
|
|
487
487
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
488
|
-
|
|
488
|
+
var DynamicIcon = React__namespace.memo(function DynamicIcon2({
|
|
489
|
+
apiKey,
|
|
490
|
+
...props
|
|
491
|
+
}) {
|
|
489
492
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
490
|
-
}
|
|
493
|
+
});
|
|
494
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
491
495
|
var maxWidthStyles = {
|
|
492
496
|
sm: "max-w-screen-sm",
|
|
493
497
|
md: "max-w-screen-md",
|
|
@@ -464,9 +464,13 @@ var Pressable = React.forwardRef(
|
|
|
464
464
|
);
|
|
465
465
|
Pressable.displayName = "Pressable";
|
|
466
466
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
467
|
-
|
|
467
|
+
var DynamicIcon = React.memo(function DynamicIcon2({
|
|
468
|
+
apiKey,
|
|
469
|
+
...props
|
|
470
|
+
}) {
|
|
468
471
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
469
|
-
}
|
|
472
|
+
});
|
|
473
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
470
474
|
var maxWidthStyles = {
|
|
471
475
|
sm: "max-w-screen-sm",
|
|
472
476
|
md: "max-w-screen-md",
|
|
@@ -456,9 +456,13 @@ var Pressable = React__namespace.forwardRef(
|
|
|
456
456
|
);
|
|
457
457
|
Pressable.displayName = "Pressable";
|
|
458
458
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
459
|
-
|
|
459
|
+
var DynamicIcon = React__namespace.memo(function DynamicIcon2({
|
|
460
|
+
apiKey,
|
|
461
|
+
...props
|
|
462
|
+
}) {
|
|
460
463
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
461
|
-
}
|
|
464
|
+
});
|
|
465
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
462
466
|
var maxWidthStyles = {
|
|
463
467
|
sm: "max-w-screen-sm",
|
|
464
468
|
md: "max-w-screen-md",
|
|
@@ -435,9 +435,13 @@ var Pressable = React.forwardRef(
|
|
|
435
435
|
);
|
|
436
436
|
Pressable.displayName = "Pressable";
|
|
437
437
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
438
|
-
|
|
438
|
+
var DynamicIcon = React.memo(function DynamicIcon2({
|
|
439
|
+
apiKey,
|
|
440
|
+
...props
|
|
441
|
+
}) {
|
|
439
442
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
440
|
-
}
|
|
443
|
+
});
|
|
444
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
441
445
|
var maxWidthStyles = {
|
|
442
446
|
sm: "max-w-screen-sm",
|
|
443
447
|
md: "max-w-screen-md",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var React4 = require('react');
|
|
5
5
|
var AutoScroll = require('embla-carousel-auto-scroll');
|
|
6
6
|
var clsx = require('clsx');
|
|
7
7
|
var tailwindMerge = require('tailwind-merge');
|
|
@@ -33,7 +33,7 @@ function _interopNamespace(e) {
|
|
|
33
33
|
return Object.freeze(n);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var React4__namespace = /*#__PURE__*/_interopNamespace(React4);
|
|
37
37
|
var AutoScroll__default = /*#__PURE__*/_interopDefault(AutoScroll);
|
|
38
38
|
var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
|
|
39
39
|
var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
|
|
@@ -118,7 +118,7 @@ function useNavigation({
|
|
|
118
118
|
href,
|
|
119
119
|
onClick
|
|
120
120
|
} = {}) {
|
|
121
|
-
const linkType =
|
|
121
|
+
const linkType = React4__namespace.useMemo(() => {
|
|
122
122
|
if (!href || href.trim() === "") {
|
|
123
123
|
return onClick ? "none" : "none";
|
|
124
124
|
}
|
|
@@ -139,7 +139,7 @@ function useNavigation({
|
|
|
139
139
|
return "internal";
|
|
140
140
|
}
|
|
141
141
|
}, [href, onClick]);
|
|
142
|
-
const normalizedHref =
|
|
142
|
+
const normalizedHref = React4__namespace.useMemo(() => {
|
|
143
143
|
if (!href || href.trim() === "") {
|
|
144
144
|
return void 0;
|
|
145
145
|
}
|
|
@@ -157,7 +157,7 @@ function useNavigation({
|
|
|
157
157
|
return trimmed;
|
|
158
158
|
}
|
|
159
159
|
}, [href, linkType]);
|
|
160
|
-
const target =
|
|
160
|
+
const target = React4__namespace.useMemo(() => {
|
|
161
161
|
switch (linkType) {
|
|
162
162
|
case "external":
|
|
163
163
|
return "_blank";
|
|
@@ -170,7 +170,7 @@ function useNavigation({
|
|
|
170
170
|
return void 0;
|
|
171
171
|
}
|
|
172
172
|
}, [linkType]);
|
|
173
|
-
const rel =
|
|
173
|
+
const rel = React4__namespace.useMemo(() => {
|
|
174
174
|
if (linkType === "external") {
|
|
175
175
|
return "noopener noreferrer";
|
|
176
176
|
}
|
|
@@ -179,7 +179,7 @@ function useNavigation({
|
|
|
179
179
|
const isExternal = linkType === "external";
|
|
180
180
|
const isInternal = linkType === "internal";
|
|
181
181
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
182
|
-
const handleClick =
|
|
182
|
+
const handleClick = React4__namespace.useCallback(
|
|
183
183
|
(event) => {
|
|
184
184
|
if (onClick) {
|
|
185
185
|
try {
|
|
@@ -363,7 +363,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
363
363
|
size: "default"
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
|
-
var Pressable =
|
|
366
|
+
var Pressable = React4__namespace.forwardRef(
|
|
367
367
|
({
|
|
368
368
|
children,
|
|
369
369
|
className,
|
|
@@ -462,9 +462,13 @@ var Pressable = React3__namespace.forwardRef(
|
|
|
462
462
|
);
|
|
463
463
|
Pressable.displayName = "Pressable";
|
|
464
464
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
465
|
-
|
|
465
|
+
var DynamicIcon = React4__namespace.memo(function DynamicIcon2({
|
|
466
|
+
apiKey,
|
|
467
|
+
...props
|
|
468
|
+
}) {
|
|
466
469
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
467
|
-
}
|
|
470
|
+
});
|
|
471
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
468
472
|
function AspectRatio({
|
|
469
473
|
...props
|
|
470
474
|
}) {
|
|
@@ -554,9 +558,9 @@ function DialogTitle({
|
|
|
554
558
|
}
|
|
555
559
|
);
|
|
556
560
|
}
|
|
557
|
-
var CarouselContext =
|
|
561
|
+
var CarouselContext = React4__namespace.createContext(null);
|
|
558
562
|
function useCarousel() {
|
|
559
|
-
const context =
|
|
563
|
+
const context = React4__namespace.useContext(CarouselContext);
|
|
560
564
|
if (!context) {
|
|
561
565
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
562
566
|
}
|
|
@@ -578,20 +582,20 @@ function Carousel({
|
|
|
578
582
|
},
|
|
579
583
|
plugins
|
|
580
584
|
);
|
|
581
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
582
|
-
const [canScrollNext, setCanScrollNext] =
|
|
583
|
-
const onSelect =
|
|
585
|
+
const [canScrollPrev, setCanScrollPrev] = React4__namespace.useState(false);
|
|
586
|
+
const [canScrollNext, setCanScrollNext] = React4__namespace.useState(false);
|
|
587
|
+
const onSelect = React4__namespace.useCallback((api2) => {
|
|
584
588
|
if (!api2) return;
|
|
585
589
|
setCanScrollPrev(api2.canScrollPrev());
|
|
586
590
|
setCanScrollNext(api2.canScrollNext());
|
|
587
591
|
}, []);
|
|
588
|
-
const scrollPrev =
|
|
592
|
+
const scrollPrev = React4__namespace.useCallback(() => {
|
|
589
593
|
api?.scrollPrev();
|
|
590
594
|
}, [api]);
|
|
591
|
-
const scrollNext =
|
|
595
|
+
const scrollNext = React4__namespace.useCallback(() => {
|
|
592
596
|
api?.scrollNext();
|
|
593
597
|
}, [api]);
|
|
594
|
-
const handleKeyDown =
|
|
598
|
+
const handleKeyDown = React4__namespace.useCallback(
|
|
595
599
|
(event) => {
|
|
596
600
|
if (event.key === "ArrowLeft") {
|
|
597
601
|
event.preventDefault();
|
|
@@ -603,11 +607,11 @@ function Carousel({
|
|
|
603
607
|
},
|
|
604
608
|
[scrollPrev, scrollNext]
|
|
605
609
|
);
|
|
606
|
-
|
|
610
|
+
React4__namespace.useEffect(() => {
|
|
607
611
|
if (!api || !setApi) return;
|
|
608
612
|
setApi(api);
|
|
609
613
|
}, [api, setApi]);
|
|
610
|
-
|
|
614
|
+
React4__namespace.useEffect(() => {
|
|
611
615
|
if (!api) return;
|
|
612
616
|
onSelect(api);
|
|
613
617
|
api.on("reInit", onSelect);
|
|
@@ -692,7 +696,7 @@ var maxWidthStyles = {
|
|
|
692
696
|
"4xl": "max-w-[1536px]",
|
|
693
697
|
full: "max-w-full"
|
|
694
698
|
};
|
|
695
|
-
var Container =
|
|
699
|
+
var Container = React4__namespace.default.forwardRef(
|
|
696
700
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
697
701
|
const Component = as;
|
|
698
702
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -998,7 +1002,7 @@ var spacingStyles = {
|
|
|
998
1002
|
};
|
|
999
1003
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
1000
1004
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
1001
|
-
var Section =
|
|
1005
|
+
var Section = React4__namespace.default.forwardRef(
|
|
1002
1006
|
({
|
|
1003
1007
|
id,
|
|
1004
1008
|
title,
|
|
@@ -1086,8 +1090,8 @@ function HeroConversionVideoPlay({
|
|
|
1086
1090
|
logosClassName,
|
|
1087
1091
|
optixFlowConfig
|
|
1088
1092
|
}) {
|
|
1089
|
-
const [isVideoOpen, setIsVideoOpen] =
|
|
1090
|
-
const renderActions =
|
|
1093
|
+
const [isVideoOpen, setIsVideoOpen] = React4.useState(false);
|
|
1094
|
+
const renderActions = React4.useMemo(() => {
|
|
1091
1095
|
if (actionsSlot) return actionsSlot;
|
|
1092
1096
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1093
1097
|
primaryAction && (() => {
|
|
@@ -1127,7 +1131,7 @@ function HeroConversionVideoPlay({
|
|
|
1127
1131
|
)
|
|
1128
1132
|
] });
|
|
1129
1133
|
}, [actionsSlot, primaryAction, videoButtonLabel, setIsVideoOpen]);
|
|
1130
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1134
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React4.Fragment, { children: [
|
|
1131
1135
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1132
1136
|
Section,
|
|
1133
1137
|
{
|