@opensite/ui 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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-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 +1737 -1717
- package/dist/registry.js +507 -487
- 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/components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React6 from 'react';
|
|
3
|
+
import React6__default, { useId, useRef, useEffect, useMemo, useCallback, useState } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -60,7 +60,7 @@ var maxWidthStyles = {
|
|
|
60
60
|
"4xl": "max-w-[1536px]",
|
|
61
61
|
full: "max-w-full"
|
|
62
62
|
};
|
|
63
|
-
var Container =
|
|
63
|
+
var Container = React6__default.forwardRef(
|
|
64
64
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
65
65
|
const Component = as;
|
|
66
66
|
return /* @__PURE__ */ jsx(
|
|
@@ -366,7 +366,7 @@ var spacingStyles = {
|
|
|
366
366
|
};
|
|
367
367
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
368
368
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
369
|
-
var Section =
|
|
369
|
+
var Section = React6__default.forwardRef(
|
|
370
370
|
({
|
|
371
371
|
id,
|
|
372
372
|
title,
|
|
@@ -502,7 +502,7 @@ function useNavigation({
|
|
|
502
502
|
href,
|
|
503
503
|
onClick
|
|
504
504
|
} = {}) {
|
|
505
|
-
const linkType =
|
|
505
|
+
const linkType = React6.useMemo(() => {
|
|
506
506
|
if (!href || href.trim() === "") {
|
|
507
507
|
return onClick ? "none" : "none";
|
|
508
508
|
}
|
|
@@ -523,7 +523,7 @@ function useNavigation({
|
|
|
523
523
|
return "internal";
|
|
524
524
|
}
|
|
525
525
|
}, [href, onClick]);
|
|
526
|
-
const normalizedHref =
|
|
526
|
+
const normalizedHref = React6.useMemo(() => {
|
|
527
527
|
if (!href || href.trim() === "") {
|
|
528
528
|
return void 0;
|
|
529
529
|
}
|
|
@@ -541,7 +541,7 @@ function useNavigation({
|
|
|
541
541
|
return trimmed;
|
|
542
542
|
}
|
|
543
543
|
}, [href, linkType]);
|
|
544
|
-
const target =
|
|
544
|
+
const target = React6.useMemo(() => {
|
|
545
545
|
switch (linkType) {
|
|
546
546
|
case "external":
|
|
547
547
|
return "_blank";
|
|
@@ -554,7 +554,7 @@ function useNavigation({
|
|
|
554
554
|
return void 0;
|
|
555
555
|
}
|
|
556
556
|
}, [linkType]);
|
|
557
|
-
const rel =
|
|
557
|
+
const rel = React6.useMemo(() => {
|
|
558
558
|
if (linkType === "external") {
|
|
559
559
|
return "noopener noreferrer";
|
|
560
560
|
}
|
|
@@ -563,7 +563,7 @@ function useNavigation({
|
|
|
563
563
|
const isExternal = linkType === "external";
|
|
564
564
|
const isInternal = linkType === "internal";
|
|
565
565
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
566
|
-
const handleClick =
|
|
566
|
+
const handleClick = React6.useCallback(
|
|
567
567
|
(event) => {
|
|
568
568
|
if (onClick) {
|
|
569
569
|
try {
|
|
@@ -747,7 +747,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
747
747
|
size: "default"
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
|
-
var Pressable =
|
|
750
|
+
var Pressable = React6.forwardRef(
|
|
751
751
|
({
|
|
752
752
|
children,
|
|
753
753
|
className,
|
|
@@ -846,9 +846,13 @@ var Pressable = React5.forwardRef(
|
|
|
846
846
|
);
|
|
847
847
|
Pressable.displayName = "Pressable";
|
|
848
848
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
849
|
-
|
|
849
|
+
var DynamicIcon = React6.memo(function DynamicIcon2({
|
|
850
|
+
apiKey,
|
|
851
|
+
...props
|
|
852
|
+
}) {
|
|
850
853
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
851
|
-
}
|
|
854
|
+
});
|
|
855
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
852
856
|
var PANEL_POSITION_CLASS = {
|
|
853
857
|
"top-left": "left-4 top-4",
|
|
854
858
|
"top-right": "right-4 top-4",
|
|
@@ -940,12 +944,20 @@ function MarkerMediaCarousel({
|
|
|
940
944
|
mediaItems,
|
|
941
945
|
optixFlowConfig
|
|
942
946
|
}) {
|
|
943
|
-
const [activeIndex, setActiveIndex] =
|
|
947
|
+
const [activeIndex, setActiveIndex] = React6.useState(0);
|
|
944
948
|
const totalItems = mediaItems.length;
|
|
945
|
-
|
|
949
|
+
const mediaResetKey = React6.useMemo(
|
|
950
|
+
() => mediaItems.map((item, index) => {
|
|
951
|
+
const itemId = normalizeId(item.id, `media-${index}`);
|
|
952
|
+
return `${itemId}:${item.src}:${item.type ?? ""}:${item.poster ?? ""}`;
|
|
953
|
+
}).join("|"),
|
|
954
|
+
[mediaItems]
|
|
955
|
+
);
|
|
956
|
+
const activeItemIndex = Math.min(activeIndex, Math.max(0, totalItems - 1));
|
|
957
|
+
React6.useEffect(() => {
|
|
946
958
|
setActiveIndex(0);
|
|
947
|
-
}, [
|
|
948
|
-
const activeMediaItem = mediaItems[
|
|
959
|
+
}, [mediaResetKey]);
|
|
960
|
+
const activeMediaItem = mediaItems[activeItemIndex];
|
|
949
961
|
const mediaType = resolveMediaType(activeMediaItem);
|
|
950
962
|
return /* @__PURE__ */ jsxs("div", { className: "relative border-b border-border/60 bg-muted/40", children: [
|
|
951
963
|
/* @__PURE__ */ jsx("div", { className: "relative h-44 w-full overflow-hidden", children: mediaType === "video" ? /* @__PURE__ */ jsx(
|
|
@@ -979,7 +991,7 @@ function MarkerMediaCarousel({
|
|
|
979
991
|
(current) => (current - 1 + totalItems) % totalItems
|
|
980
992
|
);
|
|
981
993
|
},
|
|
982
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-left" })
|
|
994
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-left", size: 16 })
|
|
983
995
|
}
|
|
984
996
|
),
|
|
985
997
|
/* @__PURE__ */ jsx(
|
|
@@ -991,7 +1003,7 @@ function MarkerMediaCarousel({
|
|
|
991
1003
|
onClick: () => {
|
|
992
1004
|
setActiveIndex((current) => (current + 1) % totalItems);
|
|
993
1005
|
},
|
|
994
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right" })
|
|
1006
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
|
|
995
1007
|
}
|
|
996
1008
|
),
|
|
997
1009
|
/* @__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(
|
|
@@ -1001,7 +1013,7 @@ function MarkerMediaCarousel({
|
|
|
1001
1013
|
"aria-label": `Show media item ${index + 1}`,
|
|
1002
1014
|
className: cn(
|
|
1003
1015
|
"h-2 rounded-full transition-all",
|
|
1004
|
-
index ===
|
|
1016
|
+
index === activeItemIndex ? "w-6 bg-card" : "w-2 bg-card opacity-50 hover:opacity-100"
|
|
1005
1017
|
),
|
|
1006
1018
|
onClick: () => setActiveIndex(index)
|
|
1007
1019
|
},
|
|
@@ -1050,14 +1062,14 @@ function GeoMap({
|
|
|
1050
1062
|
mapChildren,
|
|
1051
1063
|
optixFlowConfig
|
|
1052
1064
|
}) {
|
|
1053
|
-
const normalizedStandaloneMarkers =
|
|
1065
|
+
const normalizedStandaloneMarkers = React6.useMemo(
|
|
1054
1066
|
() => markers.map((marker, index) => ({
|
|
1055
1067
|
...marker,
|
|
1056
1068
|
id: normalizeId(marker.id, `marker-${index}`)
|
|
1057
1069
|
})),
|
|
1058
1070
|
[markers]
|
|
1059
1071
|
);
|
|
1060
|
-
const normalizedClusters =
|
|
1072
|
+
const normalizedClusters = React6.useMemo(() => {
|
|
1061
1073
|
const results = [];
|
|
1062
1074
|
clusters.forEach((cluster, clusterIndex) => {
|
|
1063
1075
|
const clusterId = normalizeId(cluster.id, `cluster-${clusterIndex}`);
|
|
@@ -1082,7 +1094,7 @@ function GeoMap({
|
|
|
1082
1094
|
});
|
|
1083
1095
|
return results;
|
|
1084
1096
|
}, [clusters]);
|
|
1085
|
-
const markerLookup =
|
|
1097
|
+
const markerLookup = React6.useMemo(() => {
|
|
1086
1098
|
const lookup = /* @__PURE__ */ new Map();
|
|
1087
1099
|
normalizedStandaloneMarkers.forEach((marker) => {
|
|
1088
1100
|
lookup.set(marker.id, marker);
|
|
@@ -1094,14 +1106,14 @@ function GeoMap({
|
|
|
1094
1106
|
});
|
|
1095
1107
|
return lookup;
|
|
1096
1108
|
}, [normalizedClusters, normalizedStandaloneMarkers]);
|
|
1097
|
-
const clusterLookup =
|
|
1109
|
+
const clusterLookup = React6.useMemo(() => {
|
|
1098
1110
|
const lookup = /* @__PURE__ */ new Map();
|
|
1099
1111
|
normalizedClusters.forEach((cluster) => {
|
|
1100
1112
|
lookup.set(cluster.id, cluster);
|
|
1101
1113
|
});
|
|
1102
1114
|
return lookup;
|
|
1103
1115
|
}, [normalizedClusters]);
|
|
1104
|
-
const firstCoordinate =
|
|
1116
|
+
const firstCoordinate = React6.useMemo(() => {
|
|
1105
1117
|
if (normalizedStandaloneMarkers.length > 0) {
|
|
1106
1118
|
const firstStandaloneMarker = normalizedStandaloneMarkers[0];
|
|
1107
1119
|
return {
|
|
@@ -1121,23 +1133,27 @@ function GeoMap({
|
|
|
1121
1133
|
longitude: DEFAULT_VIEW_STATE.longitude
|
|
1122
1134
|
};
|
|
1123
1135
|
}, [normalizedClusters, normalizedStandaloneMarkers]);
|
|
1124
|
-
const [uncontrolledViewState, setUncontrolledViewState] =
|
|
1136
|
+
const [uncontrolledViewState, setUncontrolledViewState] = React6.useState({
|
|
1125
1137
|
latitude: defaultViewState?.latitude ?? firstCoordinate.latitude,
|
|
1126
1138
|
longitude: defaultViewState?.longitude ?? firstCoordinate.longitude,
|
|
1127
1139
|
zoom: defaultViewState?.zoom ?? DEFAULT_VIEW_STATE.zoom
|
|
1128
1140
|
});
|
|
1129
1141
|
const isControlledViewState = viewState !== void 0;
|
|
1130
1142
|
const resolvedViewState = isControlledViewState ? viewState : uncontrolledViewState;
|
|
1131
|
-
const applyViewState =
|
|
1143
|
+
const applyViewState = React6.useCallback(
|
|
1132
1144
|
(nextState) => {
|
|
1133
1145
|
if (!isControlledViewState) {
|
|
1134
|
-
setUncontrolledViewState((current) =>
|
|
1146
|
+
setUncontrolledViewState((current) => {
|
|
1147
|
+
const next = { ...current, ...nextState };
|
|
1148
|
+
const hasChanged = current.latitude !== next.latitude || current.longitude !== next.longitude || current.zoom !== next.zoom;
|
|
1149
|
+
return hasChanged ? next : current;
|
|
1150
|
+
});
|
|
1135
1151
|
}
|
|
1136
1152
|
onViewStateChange?.(nextState);
|
|
1137
1153
|
},
|
|
1138
1154
|
[isControlledViewState, onViewStateChange]
|
|
1139
1155
|
);
|
|
1140
|
-
const [selection, setSelection] =
|
|
1156
|
+
const [selection, setSelection] = React6.useState(() => {
|
|
1141
1157
|
if (initialSelectedMarkerId !== void 0 && initialSelectedMarkerId !== null) {
|
|
1142
1158
|
return {
|
|
1143
1159
|
type: "marker",
|
|
@@ -1146,7 +1162,7 @@ function GeoMap({
|
|
|
1146
1162
|
}
|
|
1147
1163
|
return { type: "none" };
|
|
1148
1164
|
});
|
|
1149
|
-
|
|
1165
|
+
React6.useEffect(() => {
|
|
1150
1166
|
if (selectedMarkerId === void 0 || selectedMarkerId === null) {
|
|
1151
1167
|
return;
|
|
1152
1168
|
}
|
|
@@ -1157,13 +1173,13 @@ function GeoMap({
|
|
|
1157
1173
|
}, [selectedMarkerId]);
|
|
1158
1174
|
const selectedMarker = selection.markerId ? markerLookup.get(selection.markerId) : void 0;
|
|
1159
1175
|
const selectedCluster = selection.clusterId ? clusterLookup.get(selection.clusterId) : void 0;
|
|
1160
|
-
|
|
1176
|
+
React6.useEffect(() => {
|
|
1161
1177
|
if (selection.type === "marker" && selection.markerId && !selectedMarker) {
|
|
1162
1178
|
setSelection({ type: "none" });
|
|
1163
1179
|
onSelectionChange?.({ type: "none" });
|
|
1164
1180
|
}
|
|
1165
1181
|
}, [onSelectionChange, selectedMarker, selection]);
|
|
1166
|
-
const emitSelectionChange =
|
|
1182
|
+
const emitSelectionChange = React6.useCallback(
|
|
1167
1183
|
(nextSelection) => {
|
|
1168
1184
|
if (nextSelection.type === "none") {
|
|
1169
1185
|
onSelectionChange?.({ type: "none" });
|
|
@@ -1185,7 +1201,7 @@ function GeoMap({
|
|
|
1185
1201
|
},
|
|
1186
1202
|
[clusterLookup, onSelectionChange]
|
|
1187
1203
|
);
|
|
1188
|
-
const selectMarker =
|
|
1204
|
+
const selectMarker = React6.useCallback(
|
|
1189
1205
|
(marker) => {
|
|
1190
1206
|
setSelection({
|
|
1191
1207
|
type: "marker",
|
|
@@ -1201,7 +1217,7 @@ function GeoMap({
|
|
|
1201
1217
|
},
|
|
1202
1218
|
[applyViewState, emitSelectionChange, markerFocusZoom]
|
|
1203
1219
|
);
|
|
1204
|
-
const selectCluster =
|
|
1220
|
+
const selectCluster = React6.useCallback(
|
|
1205
1221
|
(cluster) => {
|
|
1206
1222
|
setSelection({
|
|
1207
1223
|
type: "cluster",
|
|
@@ -1216,11 +1232,11 @@ function GeoMap({
|
|
|
1216
1232
|
},
|
|
1217
1233
|
[applyViewState, clusterFocusZoom, emitSelectionChange]
|
|
1218
1234
|
);
|
|
1219
|
-
const clearSelection =
|
|
1235
|
+
const clearSelection = React6.useCallback(() => {
|
|
1220
1236
|
setSelection({ type: "none" });
|
|
1221
1237
|
emitSelectionChange({ type: "none" });
|
|
1222
1238
|
}, [emitSelectionChange]);
|
|
1223
|
-
const mapMarkers =
|
|
1239
|
+
const mapMarkers = React6.useMemo(() => {
|
|
1224
1240
|
const resolvedMarkers = [];
|
|
1225
1241
|
normalizedClusters.forEach((cluster) => {
|
|
1226
1242
|
const isSelected = selection.type === "cluster" && selection.clusterId === cluster.id;
|
|
@@ -1329,7 +1345,7 @@ function GeoMap({
|
|
|
1329
1345
|
"aria-label": "Close marker details",
|
|
1330
1346
|
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",
|
|
1331
1347
|
onClick: clearSelection,
|
|
1332
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x" })
|
|
1348
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
1333
1349
|
}
|
|
1334
1350
|
),
|
|
1335
1351
|
markerMediaItems.length > 0 ? /* @__PURE__ */ jsx(
|
|
@@ -1345,36 +1361,40 @@ function GeoMap({
|
|
|
1345
1361
|
/* @__PURE__ */ jsx("div", { className: "text-base font-semibold leading-tight", children: selectedMarker.title ?? selectedMarker.label ?? "Location" })
|
|
1346
1362
|
] }) }),
|
|
1347
1363
|
selectedMarker.summary ? /* @__PURE__ */ jsx("div", { className: "text-sm leading-relaxed", children: selectedMarker.summary }) : null,
|
|
1348
|
-
selectedMarker.locationLine ? /* @__PURE__ */ jsxs(
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1364
|
+
selectedMarker.locationLine ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-start text-sm gap-2", children: [
|
|
1365
|
+
/* @__PURE__ */ jsx(
|
|
1366
|
+
DynamicIcon,
|
|
1367
|
+
{
|
|
1368
|
+
name: "lucide:map-pin",
|
|
1369
|
+
className: "opacity-50",
|
|
1370
|
+
size: 14
|
|
1371
|
+
}
|
|
1372
|
+
),
|
|
1373
|
+
typeof selectedMarker.locationLine === "string" ? /* @__PURE__ */ jsx(
|
|
1374
|
+
Pressable,
|
|
1375
|
+
{
|
|
1376
|
+
href: selectedMarker.locationUrl,
|
|
1377
|
+
className: cn(
|
|
1378
|
+
"transition-all duration-500",
|
|
1379
|
+
"font-medium opacity-75 hover:opacity-100",
|
|
1380
|
+
selectedMarker.locationUrl ? "underline underline-offset-4" : ""
|
|
1361
1381
|
),
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
) : null,
|
|
1382
|
+
children: selectedMarker.locationLine
|
|
1383
|
+
}
|
|
1384
|
+
) : selectedMarker.locationLine
|
|
1385
|
+
] }) : null,
|
|
1366
1386
|
selectedMarker.hoursLine ? /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center justify-start text-sm gap-2", children: [
|
|
1367
1387
|
/* @__PURE__ */ jsx(
|
|
1368
1388
|
DynamicIcon,
|
|
1369
1389
|
{
|
|
1370
1390
|
name: "lucide:clock",
|
|
1371
1391
|
className: "opacity-50",
|
|
1372
|
-
size:
|
|
1392
|
+
size: 14
|
|
1373
1393
|
}
|
|
1374
1394
|
),
|
|
1375
1395
|
typeof selectedMarker.hoursLine === "string" ? /* @__PURE__ */ jsx("div", { className: "font-medium", children: selectedMarker.hoursLine }) : selectedMarker.hoursLine
|
|
1376
1396
|
] }) : null,
|
|
1377
|
-
selectedMarker.markerContentComponent ? /* @__PURE__ */ jsx("div", { className: "
|
|
1397
|
+
selectedMarker.markerContentComponent ? /* @__PURE__ */ jsx("div", { className: "relative", children: selectedMarker.markerContentComponent }) : null,
|
|
1378
1398
|
/* @__PURE__ */ jsx(MarkerActions, { actions: selectedMarker.actions })
|
|
1379
1399
|
] })
|
|
1380
1400
|
]
|
|
@@ -1397,7 +1417,7 @@ function GeoMap({
|
|
|
1397
1417
|
"aria-label": "Close cluster details",
|
|
1398
1418
|
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",
|
|
1399
1419
|
onClick: clearSelection,
|
|
1400
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x" })
|
|
1420
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
1401
1421
|
}
|
|
1402
1422
|
),
|
|
1403
1423
|
/* @__PURE__ */ jsx("div", { className: "mb-3 flex items-start justify-between gap-3", children: /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
@@ -1829,10 +1849,10 @@ var ImageSlider = ({
|
|
|
1829
1849
|
optixFlowConfig
|
|
1830
1850
|
}) => {
|
|
1831
1851
|
const hasImages = images.length > 0;
|
|
1832
|
-
const [currentIndex, setCurrentIndex] =
|
|
1852
|
+
const [currentIndex, setCurrentIndex] = React6.useState(
|
|
1833
1853
|
() => normalizeIndex(startIndex, images.length)
|
|
1834
1854
|
);
|
|
1835
|
-
const handleNext =
|
|
1855
|
+
const handleNext = React6.useCallback(() => {
|
|
1836
1856
|
if (!hasImages) return;
|
|
1837
1857
|
setCurrentIndex((prevIndex) => {
|
|
1838
1858
|
const nextIndex = prevIndex + 1 >= images.length ? 0 : prevIndex + 1;
|
|
@@ -1840,7 +1860,7 @@ var ImageSlider = ({
|
|
|
1840
1860
|
return nextIndex;
|
|
1841
1861
|
});
|
|
1842
1862
|
}, [hasImages, images.length, onSlideChange]);
|
|
1843
|
-
const handlePrevious =
|
|
1863
|
+
const handlePrevious = React6.useCallback(() => {
|
|
1844
1864
|
if (!hasImages) return;
|
|
1845
1865
|
setCurrentIndex((prevIndex) => {
|
|
1846
1866
|
const nextIndex = prevIndex - 1 < 0 ? images.length - 1 : prevIndex - 1;
|
|
@@ -1848,11 +1868,11 @@ var ImageSlider = ({
|
|
|
1848
1868
|
return nextIndex;
|
|
1849
1869
|
});
|
|
1850
1870
|
}, [hasImages, images.length, onSlideChange]);
|
|
1851
|
-
|
|
1871
|
+
React6.useEffect(() => {
|
|
1852
1872
|
if (!hasImages) return;
|
|
1853
1873
|
setCurrentIndex(normalizeIndex(startIndex, images.length));
|
|
1854
1874
|
}, [startIndex, images.length, hasImages]);
|
|
1855
|
-
|
|
1875
|
+
React6.useEffect(() => {
|
|
1856
1876
|
if (!enableKeyboard || !hasImages) return;
|
|
1857
1877
|
const handleKeyDown = (event) => {
|
|
1858
1878
|
if (event.key === "ArrowRight") {
|
|
@@ -1866,7 +1886,7 @@ var ImageSlider = ({
|
|
|
1866
1886
|
window.removeEventListener("keydown", handleKeyDown);
|
|
1867
1887
|
};
|
|
1868
1888
|
}, [enableKeyboard, handleNext, handlePrevious, hasImages]);
|
|
1869
|
-
|
|
1889
|
+
React6.useEffect(() => {
|
|
1870
1890
|
if (!autoplay || images.length < 2) return;
|
|
1871
1891
|
const interval = window.setInterval(handleNext, autoplayIntervalMs);
|
|
1872
1892
|
return () => window.clearInterval(interval);
|
|
@@ -2177,7 +2197,7 @@ var platformIconMap = {
|
|
|
2177
2197
|
dribbble: "cib/dribbble",
|
|
2178
2198
|
unknown: "icon-park-solid/circular-connection"
|
|
2179
2199
|
};
|
|
2180
|
-
var SocialLinkIcon =
|
|
2200
|
+
var SocialLinkIcon = React6.forwardRef(
|
|
2181
2201
|
({
|
|
2182
2202
|
platformName,
|
|
2183
2203
|
label,
|
|
@@ -2190,13 +2210,13 @@ var SocialLinkIcon = React5.forwardRef(
|
|
|
2190
2210
|
...pressableProps
|
|
2191
2211
|
}, ref) => {
|
|
2192
2212
|
const platform = usePlatformFromUrl(href);
|
|
2193
|
-
const smartPlatformName =
|
|
2213
|
+
const smartPlatformName = React6.useMemo(() => {
|
|
2194
2214
|
return platform || platformName;
|
|
2195
2215
|
}, [platform, platformName]);
|
|
2196
|
-
const iconName =
|
|
2216
|
+
const iconName = React6.useMemo(() => {
|
|
2197
2217
|
return iconNameOverride || platformIconMap[smartPlatformName];
|
|
2198
2218
|
}, [iconNameOverride, smartPlatformName]);
|
|
2199
|
-
const accessibleLabel =
|
|
2219
|
+
const accessibleLabel = React6.useMemo(() => {
|
|
2200
2220
|
return label || platformName;
|
|
2201
2221
|
}, [label, platformName]);
|
|
2202
2222
|
return /* @__PURE__ */ jsx(
|
|
@@ -2273,12 +2293,12 @@ function TextInner({ as, className, children, ...props }, ref) {
|
|
|
2273
2293
|
const Component = as || "span";
|
|
2274
2294
|
return /* @__PURE__ */ jsx(Component, { ref, className: cn(className), ...props, children });
|
|
2275
2295
|
}
|
|
2276
|
-
var Text =
|
|
2296
|
+
var Text = React6.forwardRef(TextInner);
|
|
2277
2297
|
Text.displayName = "Text";
|
|
2278
2298
|
function isContentTextItem(item) {
|
|
2279
|
-
return item !== null && typeof item === "object" && !
|
|
2299
|
+
return item !== null && typeof item === "object" && !React6.isValidElement(item) && "_type" in item && item._type === "text";
|
|
2280
2300
|
}
|
|
2281
|
-
var ContentGroup =
|
|
2301
|
+
var ContentGroup = React6.forwardRef(
|
|
2282
2302
|
({ items, className, children, ...props }, ref) => {
|
|
2283
2303
|
const hasContent = items && items.length > 0;
|
|
2284
2304
|
if (!hasContent) {
|
|
@@ -2291,10 +2311,10 @@ var ContentGroup = React5.forwardRef(
|
|
|
2291
2311
|
return /* @__PURE__ */ jsx(Text, { ...textProps }, idx);
|
|
2292
2312
|
}
|
|
2293
2313
|
const reactNode = item;
|
|
2294
|
-
if (
|
|
2295
|
-
return
|
|
2314
|
+
if (React6.isValidElement(reactNode)) {
|
|
2315
|
+
return React6.cloneElement(reactNode, { key: reactNode.key ?? idx });
|
|
2296
2316
|
}
|
|
2297
|
-
return /* @__PURE__ */ jsx(
|
|
2317
|
+
return /* @__PURE__ */ jsx(React6.Fragment, { children: reactNode }, idx);
|
|
2298
2318
|
}),
|
|
2299
2319
|
children
|
|
2300
2320
|
] });
|
|
@@ -2819,7 +2839,7 @@ function AboutExpandableValues({
|
|
|
2819
2839
|
pattern,
|
|
2820
2840
|
patternOpacity
|
|
2821
2841
|
}) {
|
|
2822
|
-
const [expandedValue, setExpandedValue] =
|
|
2842
|
+
const [expandedValue, setExpandedValue] = React6.useState(null);
|
|
2823
2843
|
const toggleExpand = useCallback((id) => {
|
|
2824
2844
|
setExpandedValue((prev) => prev === id ? null : id);
|
|
2825
2845
|
}, []);
|
|
@@ -3055,7 +3075,7 @@ function CommunityInitiatives({
|
|
|
3055
3075
|
pattern,
|
|
3056
3076
|
patternOpacity
|
|
3057
3077
|
}) {
|
|
3058
|
-
const [activeCategory, setActiveCategory] =
|
|
3078
|
+
const [activeCategory, setActiveCategory] = React6.useState(
|
|
3059
3079
|
categories?.[0]?.id || ""
|
|
3060
3080
|
);
|
|
3061
3081
|
const currentCategory = categories?.find((category) => category.id === activeCategory) || categories?.[0];
|
|
@@ -3319,7 +3339,7 @@ function AboutCultureTabs({
|
|
|
3319
3339
|
patternOpacity
|
|
3320
3340
|
}) {
|
|
3321
3341
|
const resolvedAspects = aspects ?? [];
|
|
3322
|
-
const [activeTab, setActiveTab] =
|
|
3342
|
+
const [activeTab, setActiveTab] = React6.useState(
|
|
3323
3343
|
resolvedAspects[0]?.id || ""
|
|
3324
3344
|
);
|
|
3325
3345
|
const headerItems = useMemo(() => {
|
|
@@ -3852,7 +3872,7 @@ function BannerDeliveryCountdown({
|
|
|
3852
3872
|
}, [prefixText, timerContent, middleText, deliveryDateContent]);
|
|
3853
3873
|
return /* @__PURE__ */ jsx(Section, { background, spacing: "none", className: cn("bg-accent text-accent-foreground", className), children: /* @__PURE__ */ jsx("div", { className: cn("container py-2.5", containerClassName), children: /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap items-center justify-center gap-3 text-sm", contentClassName), children: /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", messageClassName), children: [
|
|
3854
3874
|
iconContent,
|
|
3855
|
-
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(
|
|
3875
|
+
messageParts.length > 0 && /* @__PURE__ */ jsx("span", { children: messageParts.map((part, index) => /* @__PURE__ */ jsxs(React6.Fragment, { children: [
|
|
3856
3876
|
index > 0 ? " " : null,
|
|
3857
3877
|
part
|
|
3858
3878
|
] }, index)) })
|
|
@@ -5123,8 +5143,8 @@ var BrandAttribution = ({
|
|
|
5123
5143
|
}
|
|
5124
5144
|
const { prefix = "", anchorText, href, suffix = "" } = options[optionIndex];
|
|
5125
5145
|
const ContainerEl = variant;
|
|
5126
|
-
const [trackedHref, setTrackedHref] =
|
|
5127
|
-
|
|
5146
|
+
const [trackedHref, setTrackedHref] = React6.useState(href);
|
|
5147
|
+
React6.useEffect(() => {
|
|
5128
5148
|
setTrackedHref(buildTrackedHref(href));
|
|
5129
5149
|
}, [href]);
|
|
5130
5150
|
return /* @__PURE__ */ jsxs(ContainerEl, { className: containerClassName, children: [
|
|
@@ -5244,7 +5264,7 @@ function FooterSocialNewsletter({
|
|
|
5244
5264
|
patternOpacity,
|
|
5245
5265
|
optixFlowConfig
|
|
5246
5266
|
}) {
|
|
5247
|
-
const renderForm =
|
|
5267
|
+
const renderForm = React6.useMemo(() => {
|
|
5248
5268
|
if (!formEngineSetup) return null;
|
|
5249
5269
|
const action = {
|
|
5250
5270
|
variant: "default",
|
|
@@ -5533,7 +5553,7 @@ function FooterSimpleCentered({
|
|
|
5533
5553
|
]);
|
|
5534
5554
|
const bottomLinksContent = useMemo(() => {
|
|
5535
5555
|
if (!bottomLinks || bottomLinks.length === 0) return null;
|
|
5536
|
-
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(
|
|
5556
|
+
return bottomLinks.map((link, idx) => /* @__PURE__ */ jsx(React6.Fragment, { children: /* @__PURE__ */ jsx(
|
|
5537
5557
|
Pressable,
|
|
5538
5558
|
{
|
|
5539
5559
|
href: link.href,
|
|
@@ -6880,7 +6900,7 @@ function FooterNewsletterMinimal({
|
|
|
6880
6900
|
buttonAction,
|
|
6881
6901
|
formSlot
|
|
6882
6902
|
}) {
|
|
6883
|
-
const navLinksContent =
|
|
6903
|
+
const navLinksContent = React6.useMemo(() => {
|
|
6884
6904
|
if (!navLinks || navLinks.length === 0) return null;
|
|
6885
6905
|
return navLinks.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
6886
6906
|
Pressable,
|
|
@@ -6891,7 +6911,7 @@ function FooterNewsletterMinimal({
|
|
|
6891
6911
|
}
|
|
6892
6912
|
) }, idx));
|
|
6893
6913
|
}, [navLinks, navLinkClassName]);
|
|
6894
|
-
const socialLinksContent =
|
|
6914
|
+
const socialLinksContent = React6.useMemo(() => {
|
|
6895
6915
|
if (!socialLinks || socialLinks.length === 0) return null;
|
|
6896
6916
|
return socialLinks.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
6897
6917
|
SocialLinkIcon,
|
|
@@ -6907,7 +6927,7 @@ function FooterNewsletterMinimal({
|
|
|
6907
6927
|
}
|
|
6908
6928
|
) }, idx));
|
|
6909
6929
|
}, [socialLinks, socialLinkClassName]);
|
|
6910
|
-
const footerLinksContent =
|
|
6930
|
+
const footerLinksContent = React6.useMemo(() => {
|
|
6911
6931
|
if (!footerLinks || footerLinks.length === 0) return null;
|
|
6912
6932
|
return footerLinks.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
6913
6933
|
Pressable,
|
|
@@ -6921,7 +6941,7 @@ function FooterNewsletterMinimal({
|
|
|
6921
6941
|
}
|
|
6922
6942
|
) }, item.label));
|
|
6923
6943
|
}, [footerLinks, footerLinkClassName]);
|
|
6924
|
-
const renderForm =
|
|
6944
|
+
const renderForm = React6.useMemo(() => {
|
|
6925
6945
|
if (formSlot) return formSlot;
|
|
6926
6946
|
if (!formEngineSetup) return null;
|
|
6927
6947
|
const defaultButtonAction = {
|
|
@@ -4,22 +4,42 @@
|
|
|
4
4
|
var integration = require('@page-speed/forms/integration');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
|
+
var React = require('react');
|
|
7
8
|
var icon = require('@page-speed/icon');
|
|
8
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
9
|
-
var React = require('react');
|
|
10
10
|
|
|
11
|
-
function
|
|
11
|
+
function _interopNamespace(e) {
|
|
12
|
+
if (e && e.__esModule) return e;
|
|
13
|
+
var n = Object.create(null);
|
|
14
|
+
if (e) {
|
|
15
|
+
Object.keys(e).forEach(function (k) {
|
|
16
|
+
if (k !== 'default') {
|
|
17
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return e[k]; }
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
n.default = e;
|
|
26
|
+
return Object.freeze(n);
|
|
27
|
+
}
|
|
12
28
|
|
|
13
|
-
var
|
|
29
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
14
30
|
|
|
15
31
|
// components/blocks/contact/contact-callback.tsx
|
|
16
32
|
function cn(...inputs) {
|
|
17
33
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
18
34
|
}
|
|
19
35
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
20
|
-
|
|
36
|
+
var DynamicIcon = React__namespace.memo(function DynamicIcon2({
|
|
37
|
+
apiKey,
|
|
38
|
+
...props
|
|
39
|
+
}) {
|
|
21
40
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
22
|
-
}
|
|
41
|
+
});
|
|
42
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
23
43
|
function Card({ className, ...props }) {
|
|
24
44
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25
45
|
"div",
|
|
@@ -52,7 +72,7 @@ var maxWidthStyles = {
|
|
|
52
72
|
"4xl": "max-w-[1536px]",
|
|
53
73
|
full: "max-w-full"
|
|
54
74
|
};
|
|
55
|
-
var Container =
|
|
75
|
+
var Container = React__namespace.default.forwardRef(
|
|
56
76
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
57
77
|
const Component = as;
|
|
58
78
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -358,7 +378,7 @@ var spacingStyles = {
|
|
|
358
378
|
};
|
|
359
379
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
360
380
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
361
|
-
var Section =
|
|
381
|
+
var Section = React__namespace.default.forwardRef(
|
|
362
382
|
({
|
|
363
383
|
id,
|
|
364
384
|
title,
|
package/dist/contact-callback.js
CHANGED
|
@@ -2,18 +2,23 @@
|
|
|
2
2
|
import { FormEngine } from '@page-speed/forms/integration';
|
|
3
3
|
import { clsx } from 'clsx';
|
|
4
4
|
import { twMerge } from 'tailwind-merge';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import React__default from 'react';
|
|
5
7
|
import { Icon } from '@page-speed/icon';
|
|
6
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
-
import React from 'react';
|
|
8
9
|
|
|
9
10
|
// components/blocks/contact/contact-callback.tsx
|
|
10
11
|
function cn(...inputs) {
|
|
11
12
|
return twMerge(clsx(inputs));
|
|
12
13
|
}
|
|
13
14
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
14
|
-
|
|
15
|
+
var DynamicIcon = React.memo(function DynamicIcon2({
|
|
16
|
+
apiKey,
|
|
17
|
+
...props
|
|
18
|
+
}) {
|
|
15
19
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
16
|
-
}
|
|
20
|
+
});
|
|
21
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
17
22
|
function Card({ className, ...props }) {
|
|
18
23
|
return /* @__PURE__ */ jsx(
|
|
19
24
|
"div",
|
|
@@ -46,7 +51,7 @@ var maxWidthStyles = {
|
|
|
46
51
|
"4xl": "max-w-[1536px]",
|
|
47
52
|
full: "max-w-full"
|
|
48
53
|
};
|
|
49
|
-
var Container =
|
|
54
|
+
var Container = React__default.forwardRef(
|
|
50
55
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
51
56
|
const Component = as;
|
|
52
57
|
return /* @__PURE__ */ jsx(
|
|
@@ -352,7 +357,7 @@ var spacingStyles = {
|
|
|
352
357
|
};
|
|
353
358
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
354
359
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
355
|
-
var Section =
|
|
360
|
+
var Section = React__default.forwardRef(
|
|
356
361
|
({
|
|
357
362
|
id,
|
|
358
363
|
title,
|
package/dist/contact-card.cjs
CHANGED
|
@@ -452,9 +452,13 @@ var Pressable = React__namespace.forwardRef(
|
|
|
452
452
|
);
|
|
453
453
|
Pressable.displayName = "Pressable";
|
|
454
454
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
455
|
-
|
|
455
|
+
var DynamicIcon = React__namespace.memo(function DynamicIcon2({
|
|
456
|
+
apiKey,
|
|
457
|
+
...props
|
|
458
|
+
}) {
|
|
456
459
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
457
|
-
}
|
|
460
|
+
});
|
|
461
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
458
462
|
function Card({ className, ...props }) {
|
|
459
463
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
460
464
|
"div",
|