@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var React2 = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var icon = require('@page-speed/icon');
|
|
@@ -26,7 +26,7 @@ function _interopNamespace(e) {
|
|
|
26
26
|
return Object.freeze(n);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
|
|
30
30
|
|
|
31
31
|
// components/blocks/hero/hero-split-icon-cards.tsx
|
|
32
32
|
function cn(...inputs) {
|
|
@@ -63,9 +63,13 @@ function getAccentColor(parentBg, options) {
|
|
|
63
63
|
return isDark ? "text-accent-foreground" : "text-primary";
|
|
64
64
|
}
|
|
65
65
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
66
|
-
|
|
66
|
+
var DynamicIcon = React2__namespace.memo(function DynamicIcon2({
|
|
67
|
+
apiKey,
|
|
68
|
+
...props
|
|
69
|
+
}) {
|
|
67
70
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
68
|
-
}
|
|
71
|
+
});
|
|
72
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
69
73
|
function normalizePhoneNumber(input) {
|
|
70
74
|
const trimmed = input.trim();
|
|
71
75
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -141,7 +145,7 @@ function useNavigation({
|
|
|
141
145
|
href,
|
|
142
146
|
onClick
|
|
143
147
|
} = {}) {
|
|
144
|
-
const linkType =
|
|
148
|
+
const linkType = React2__namespace.useMemo(() => {
|
|
145
149
|
if (!href || href.trim() === "") {
|
|
146
150
|
return onClick ? "none" : "none";
|
|
147
151
|
}
|
|
@@ -162,7 +166,7 @@ function useNavigation({
|
|
|
162
166
|
return "internal";
|
|
163
167
|
}
|
|
164
168
|
}, [href, onClick]);
|
|
165
|
-
const normalizedHref =
|
|
169
|
+
const normalizedHref = React2__namespace.useMemo(() => {
|
|
166
170
|
if (!href || href.trim() === "") {
|
|
167
171
|
return void 0;
|
|
168
172
|
}
|
|
@@ -180,7 +184,7 @@ function useNavigation({
|
|
|
180
184
|
return trimmed;
|
|
181
185
|
}
|
|
182
186
|
}, [href, linkType]);
|
|
183
|
-
const target =
|
|
187
|
+
const target = React2__namespace.useMemo(() => {
|
|
184
188
|
switch (linkType) {
|
|
185
189
|
case "external":
|
|
186
190
|
return "_blank";
|
|
@@ -193,7 +197,7 @@ function useNavigation({
|
|
|
193
197
|
return void 0;
|
|
194
198
|
}
|
|
195
199
|
}, [linkType]);
|
|
196
|
-
const rel =
|
|
200
|
+
const rel = React2__namespace.useMemo(() => {
|
|
197
201
|
if (linkType === "external") {
|
|
198
202
|
return "noopener noreferrer";
|
|
199
203
|
}
|
|
@@ -202,7 +206,7 @@ function useNavigation({
|
|
|
202
206
|
const isExternal = linkType === "external";
|
|
203
207
|
const isInternal = linkType === "internal";
|
|
204
208
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
205
|
-
const handleClick =
|
|
209
|
+
const handleClick = React2__namespace.useCallback(
|
|
206
210
|
(event) => {
|
|
207
211
|
if (onClick) {
|
|
208
212
|
try {
|
|
@@ -386,7 +390,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
386
390
|
size: "default"
|
|
387
391
|
}
|
|
388
392
|
});
|
|
389
|
-
var Pressable =
|
|
393
|
+
var Pressable = React2__namespace.forwardRef(
|
|
390
394
|
({
|
|
391
395
|
children,
|
|
392
396
|
className,
|
|
@@ -506,7 +510,7 @@ var maxWidthStyles = {
|
|
|
506
510
|
"4xl": "max-w-[1536px]",
|
|
507
511
|
full: "max-w-full"
|
|
508
512
|
};
|
|
509
|
-
var Container =
|
|
513
|
+
var Container = React2__namespace.default.forwardRef(
|
|
510
514
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
511
515
|
const Component = as;
|
|
512
516
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -812,7 +816,7 @@ var spacingStyles = {
|
|
|
812
816
|
};
|
|
813
817
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
814
818
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
815
|
-
var Section =
|
|
819
|
+
var Section = React2__namespace.default.forwardRef(
|
|
816
820
|
({
|
|
817
821
|
id,
|
|
818
822
|
title,
|
|
@@ -894,7 +898,7 @@ function HeroSplitIconCards({
|
|
|
894
898
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
895
899
|
spacing = "pt-32 pb-8 md:pt-32 md:pb-32"
|
|
896
900
|
}) {
|
|
897
|
-
const renderActions =
|
|
901
|
+
const renderActions = React2.useMemo(() => {
|
|
898
902
|
if (actionsSlot) return actionsSlot;
|
|
899
903
|
if (!primaryCta && !secondaryCta) return null;
|
|
900
904
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-4", children: [
|
|
@@ -902,7 +906,7 @@ function HeroSplitIconCards({
|
|
|
902
906
|
secondaryCta && /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: secondaryCta.href, size: "lg", variant: "outline", children: secondaryCta.label })
|
|
903
907
|
] });
|
|
904
908
|
}, [actionsSlot, primaryCta, secondaryCta]);
|
|
905
|
-
const renderCards =
|
|
909
|
+
const renderCards = React2.useMemo(() => {
|
|
906
910
|
if (cardsSlot) return cardsSlot;
|
|
907
911
|
if (!cardItems || cardItems.length === 0) return null;
|
|
908
912
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 gap-4", children: cardItems.map((item, idx) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React2 from 'react';
|
|
3
|
+
import React2__default, { useMemo } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Icon } from '@page-speed/icon';
|
|
@@ -42,9 +42,13 @@ function getAccentColor(parentBg, options) {
|
|
|
42
42
|
return isDark ? "text-accent-foreground" : "text-primary";
|
|
43
43
|
}
|
|
44
44
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
45
|
-
|
|
45
|
+
var DynamicIcon = React2.memo(function DynamicIcon2({
|
|
46
|
+
apiKey,
|
|
47
|
+
...props
|
|
48
|
+
}) {
|
|
46
49
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
47
|
-
}
|
|
50
|
+
});
|
|
51
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
48
52
|
function normalizePhoneNumber(input) {
|
|
49
53
|
const trimmed = input.trim();
|
|
50
54
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -120,7 +124,7 @@ function useNavigation({
|
|
|
120
124
|
href,
|
|
121
125
|
onClick
|
|
122
126
|
} = {}) {
|
|
123
|
-
const linkType =
|
|
127
|
+
const linkType = React2.useMemo(() => {
|
|
124
128
|
if (!href || href.trim() === "") {
|
|
125
129
|
return onClick ? "none" : "none";
|
|
126
130
|
}
|
|
@@ -141,7 +145,7 @@ function useNavigation({
|
|
|
141
145
|
return "internal";
|
|
142
146
|
}
|
|
143
147
|
}, [href, onClick]);
|
|
144
|
-
const normalizedHref =
|
|
148
|
+
const normalizedHref = React2.useMemo(() => {
|
|
145
149
|
if (!href || href.trim() === "") {
|
|
146
150
|
return void 0;
|
|
147
151
|
}
|
|
@@ -159,7 +163,7 @@ function useNavigation({
|
|
|
159
163
|
return trimmed;
|
|
160
164
|
}
|
|
161
165
|
}, [href, linkType]);
|
|
162
|
-
const target =
|
|
166
|
+
const target = React2.useMemo(() => {
|
|
163
167
|
switch (linkType) {
|
|
164
168
|
case "external":
|
|
165
169
|
return "_blank";
|
|
@@ -172,7 +176,7 @@ function useNavigation({
|
|
|
172
176
|
return void 0;
|
|
173
177
|
}
|
|
174
178
|
}, [linkType]);
|
|
175
|
-
const rel =
|
|
179
|
+
const rel = React2.useMemo(() => {
|
|
176
180
|
if (linkType === "external") {
|
|
177
181
|
return "noopener noreferrer";
|
|
178
182
|
}
|
|
@@ -181,7 +185,7 @@ function useNavigation({
|
|
|
181
185
|
const isExternal = linkType === "external";
|
|
182
186
|
const isInternal = linkType === "internal";
|
|
183
187
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
184
|
-
const handleClick =
|
|
188
|
+
const handleClick = React2.useCallback(
|
|
185
189
|
(event) => {
|
|
186
190
|
if (onClick) {
|
|
187
191
|
try {
|
|
@@ -365,7 +369,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
365
369
|
size: "default"
|
|
366
370
|
}
|
|
367
371
|
});
|
|
368
|
-
var Pressable =
|
|
372
|
+
var Pressable = React2.forwardRef(
|
|
369
373
|
({
|
|
370
374
|
children,
|
|
371
375
|
className,
|
|
@@ -485,7 +489,7 @@ var maxWidthStyles = {
|
|
|
485
489
|
"4xl": "max-w-[1536px]",
|
|
486
490
|
full: "max-w-full"
|
|
487
491
|
};
|
|
488
|
-
var Container =
|
|
492
|
+
var Container = React2__default.forwardRef(
|
|
489
493
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
490
494
|
const Component = as;
|
|
491
495
|
return /* @__PURE__ */ jsx(
|
|
@@ -791,7 +795,7 @@ var spacingStyles = {
|
|
|
791
795
|
};
|
|
792
796
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
793
797
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
794
|
-
var Section =
|
|
798
|
+
var Section = React2__default.forwardRef(
|
|
795
799
|
({
|
|
796
800
|
id,
|
|
797
801
|
title,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var React4 = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var img = require('@page-speed/img');
|
|
@@ -29,7 +29,7 @@ function _interopNamespace(e) {
|
|
|
29
29
|
return Object.freeze(n);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var React4__namespace = /*#__PURE__*/_interopNamespace(React4);
|
|
33
33
|
var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
|
|
34
34
|
var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
|
|
35
35
|
|
|
@@ -43,9 +43,13 @@ function AspectRatio({
|
|
|
43
43
|
return /* @__PURE__ */ jsxRuntime.jsx(AspectRatioPrimitive__namespace.Root, { "data-slot": "aspect-ratio", ...props });
|
|
44
44
|
}
|
|
45
45
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
46
|
-
|
|
46
|
+
var DynamicIcon = React4__namespace.memo(function DynamicIcon2({
|
|
47
|
+
apiKey,
|
|
48
|
+
...props
|
|
49
|
+
}) {
|
|
47
50
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
48
|
-
}
|
|
51
|
+
});
|
|
52
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
49
53
|
function Dialog({
|
|
50
54
|
...props
|
|
51
55
|
}) {
|
|
@@ -139,7 +143,7 @@ var maxWidthStyles = {
|
|
|
139
143
|
"4xl": "max-w-[1536px]",
|
|
140
144
|
full: "max-w-full"
|
|
141
145
|
};
|
|
142
|
-
var Container =
|
|
146
|
+
var Container = React4__namespace.default.forwardRef(
|
|
143
147
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
144
148
|
const Component = as;
|
|
145
149
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -445,7 +449,7 @@ var spacingStyles = {
|
|
|
445
449
|
};
|
|
446
450
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
447
451
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
448
|
-
var Section =
|
|
452
|
+
var Section = React4__namespace.default.forwardRef(
|
|
449
453
|
({
|
|
450
454
|
id,
|
|
451
455
|
title,
|
|
@@ -581,7 +585,7 @@ function useNavigation({
|
|
|
581
585
|
href,
|
|
582
586
|
onClick
|
|
583
587
|
} = {}) {
|
|
584
|
-
const linkType =
|
|
588
|
+
const linkType = React4__namespace.useMemo(() => {
|
|
585
589
|
if (!href || href.trim() === "") {
|
|
586
590
|
return onClick ? "none" : "none";
|
|
587
591
|
}
|
|
@@ -602,7 +606,7 @@ function useNavigation({
|
|
|
602
606
|
return "internal";
|
|
603
607
|
}
|
|
604
608
|
}, [href, onClick]);
|
|
605
|
-
const normalizedHref =
|
|
609
|
+
const normalizedHref = React4__namespace.useMemo(() => {
|
|
606
610
|
if (!href || href.trim() === "") {
|
|
607
611
|
return void 0;
|
|
608
612
|
}
|
|
@@ -620,7 +624,7 @@ function useNavigation({
|
|
|
620
624
|
return trimmed;
|
|
621
625
|
}
|
|
622
626
|
}, [href, linkType]);
|
|
623
|
-
const target =
|
|
627
|
+
const target = React4__namespace.useMemo(() => {
|
|
624
628
|
switch (linkType) {
|
|
625
629
|
case "external":
|
|
626
630
|
return "_blank";
|
|
@@ -633,7 +637,7 @@ function useNavigation({
|
|
|
633
637
|
return void 0;
|
|
634
638
|
}
|
|
635
639
|
}, [linkType]);
|
|
636
|
-
const rel =
|
|
640
|
+
const rel = React4__namespace.useMemo(() => {
|
|
637
641
|
if (linkType === "external") {
|
|
638
642
|
return "noopener noreferrer";
|
|
639
643
|
}
|
|
@@ -642,7 +646,7 @@ function useNavigation({
|
|
|
642
646
|
const isExternal = linkType === "external";
|
|
643
647
|
const isInternal = linkType === "internal";
|
|
644
648
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
645
|
-
const handleClick =
|
|
649
|
+
const handleClick = React4__namespace.useCallback(
|
|
646
650
|
(event) => {
|
|
647
651
|
if (onClick) {
|
|
648
652
|
try {
|
|
@@ -826,7 +830,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
826
830
|
size: "default"
|
|
827
831
|
}
|
|
828
832
|
});
|
|
829
|
-
var Pressable =
|
|
833
|
+
var Pressable = React4__namespace.forwardRef(
|
|
830
834
|
({
|
|
831
835
|
children,
|
|
832
836
|
className,
|
|
@@ -973,7 +977,7 @@ function HeroVideoDialogGradient({
|
|
|
973
977
|
imageClassName,
|
|
974
978
|
optixFlowConfig
|
|
975
979
|
}) {
|
|
976
|
-
const [isVideoOpen, setIsVideoOpen] =
|
|
980
|
+
const [isVideoOpen, setIsVideoOpen] = React4.useState(false);
|
|
977
981
|
const handleVideoClick = () => {
|
|
978
982
|
if (onVideoClick) {
|
|
979
983
|
onVideoClick();
|
|
@@ -981,7 +985,7 @@ function HeroVideoDialogGradient({
|
|
|
981
985
|
setIsVideoOpen(true);
|
|
982
986
|
}
|
|
983
987
|
};
|
|
984
|
-
const renderImage =
|
|
988
|
+
const renderImage = React4.useMemo(() => {
|
|
985
989
|
if (imageSlot) return imageSlot;
|
|
986
990
|
if (!image) return null;
|
|
987
991
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto mt-16 w-full max-w-[1000px] overflow-hidden rounded-xl shadow-[4px_2px_3.123rem_rgba(0,0,0,.15)]", children: /* @__PURE__ */ jsxRuntime.jsx(AspectRatio, { ratio: 1.406469761 / 1, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -998,7 +1002,7 @@ function HeroVideoDialogGradient({
|
|
|
998
1002
|
}
|
|
999
1003
|
) }) });
|
|
1000
1004
|
}, [imageSlot, image, imageClassName, optixFlowConfig]);
|
|
1001
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1005
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React4.Fragment, { children: [
|
|
1002
1006
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1003
1007
|
Section,
|
|
1004
1008
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React4 from 'react';
|
|
3
|
+
import React4__default, { useState, useMemo, Fragment } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
@@ -20,9 +20,13 @@ function AspectRatio({
|
|
|
20
20
|
return /* @__PURE__ */ jsx(AspectRatioPrimitive.Root, { "data-slot": "aspect-ratio", ...props });
|
|
21
21
|
}
|
|
22
22
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
23
|
-
|
|
23
|
+
var DynamicIcon = React4.memo(function DynamicIcon2({
|
|
24
|
+
apiKey,
|
|
25
|
+
...props
|
|
26
|
+
}) {
|
|
24
27
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
25
|
-
}
|
|
28
|
+
});
|
|
29
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
26
30
|
function Dialog({
|
|
27
31
|
...props
|
|
28
32
|
}) {
|
|
@@ -116,7 +120,7 @@ var maxWidthStyles = {
|
|
|
116
120
|
"4xl": "max-w-[1536px]",
|
|
117
121
|
full: "max-w-full"
|
|
118
122
|
};
|
|
119
|
-
var Container =
|
|
123
|
+
var Container = React4__default.forwardRef(
|
|
120
124
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
121
125
|
const Component = as;
|
|
122
126
|
return /* @__PURE__ */ jsx(
|
|
@@ -422,7 +426,7 @@ var spacingStyles = {
|
|
|
422
426
|
};
|
|
423
427
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
424
428
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
425
|
-
var Section =
|
|
429
|
+
var Section = React4__default.forwardRef(
|
|
426
430
|
({
|
|
427
431
|
id,
|
|
428
432
|
title,
|
|
@@ -558,7 +562,7 @@ function useNavigation({
|
|
|
558
562
|
href,
|
|
559
563
|
onClick
|
|
560
564
|
} = {}) {
|
|
561
|
-
const linkType =
|
|
565
|
+
const linkType = React4.useMemo(() => {
|
|
562
566
|
if (!href || href.trim() === "") {
|
|
563
567
|
return onClick ? "none" : "none";
|
|
564
568
|
}
|
|
@@ -579,7 +583,7 @@ function useNavigation({
|
|
|
579
583
|
return "internal";
|
|
580
584
|
}
|
|
581
585
|
}, [href, onClick]);
|
|
582
|
-
const normalizedHref =
|
|
586
|
+
const normalizedHref = React4.useMemo(() => {
|
|
583
587
|
if (!href || href.trim() === "") {
|
|
584
588
|
return void 0;
|
|
585
589
|
}
|
|
@@ -597,7 +601,7 @@ function useNavigation({
|
|
|
597
601
|
return trimmed;
|
|
598
602
|
}
|
|
599
603
|
}, [href, linkType]);
|
|
600
|
-
const target =
|
|
604
|
+
const target = React4.useMemo(() => {
|
|
601
605
|
switch (linkType) {
|
|
602
606
|
case "external":
|
|
603
607
|
return "_blank";
|
|
@@ -610,7 +614,7 @@ function useNavigation({
|
|
|
610
614
|
return void 0;
|
|
611
615
|
}
|
|
612
616
|
}, [linkType]);
|
|
613
|
-
const rel =
|
|
617
|
+
const rel = React4.useMemo(() => {
|
|
614
618
|
if (linkType === "external") {
|
|
615
619
|
return "noopener noreferrer";
|
|
616
620
|
}
|
|
@@ -619,7 +623,7 @@ function useNavigation({
|
|
|
619
623
|
const isExternal = linkType === "external";
|
|
620
624
|
const isInternal = linkType === "internal";
|
|
621
625
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
622
|
-
const handleClick =
|
|
626
|
+
const handleClick = React4.useCallback(
|
|
623
627
|
(event) => {
|
|
624
628
|
if (onClick) {
|
|
625
629
|
try {
|
|
@@ -803,7 +807,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
803
807
|
size: "default"
|
|
804
808
|
}
|
|
805
809
|
});
|
|
806
|
-
var Pressable =
|
|
810
|
+
var Pressable = React4.forwardRef(
|
|
807
811
|
({
|
|
808
812
|
children,
|
|
809
813
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var React4 = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var icon = require('@page-speed/icon');
|
|
@@ -26,16 +26,20 @@ function _interopNamespace(e) {
|
|
|
26
26
|
return Object.freeze(n);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var React4__namespace = /*#__PURE__*/_interopNamespace(React4);
|
|
30
30
|
|
|
31
31
|
// components/blocks/hero/hero-video-overlay-stars.tsx
|
|
32
32
|
function cn(...inputs) {
|
|
33
33
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
34
34
|
}
|
|
35
35
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
36
|
-
|
|
36
|
+
var DynamicIcon = React4__namespace.memo(function DynamicIcon2({
|
|
37
|
+
apiKey,
|
|
38
|
+
...props
|
|
39
|
+
}) {
|
|
37
40
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
38
|
-
}
|
|
41
|
+
});
|
|
42
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
39
43
|
var maxWidthStyles = {
|
|
40
44
|
sm: "max-w-screen-sm",
|
|
41
45
|
md: "max-w-screen-md",
|
|
@@ -45,7 +49,7 @@ var maxWidthStyles = {
|
|
|
45
49
|
"4xl": "max-w-[1536px]",
|
|
46
50
|
full: "max-w-full"
|
|
47
51
|
};
|
|
48
|
-
var Container =
|
|
52
|
+
var Container = React4__namespace.default.forwardRef(
|
|
49
53
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
50
54
|
const Component = as;
|
|
51
55
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -351,7 +355,7 @@ var spacingStyles = {
|
|
|
351
355
|
};
|
|
352
356
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
353
357
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
354
|
-
var Section =
|
|
358
|
+
var Section = React4__namespace.default.forwardRef(
|
|
355
359
|
({
|
|
356
360
|
id,
|
|
357
361
|
title,
|
|
@@ -487,7 +491,7 @@ function useNavigation({
|
|
|
487
491
|
href,
|
|
488
492
|
onClick
|
|
489
493
|
} = {}) {
|
|
490
|
-
const linkType =
|
|
494
|
+
const linkType = React4__namespace.useMemo(() => {
|
|
491
495
|
if (!href || href.trim() === "") {
|
|
492
496
|
return onClick ? "none" : "none";
|
|
493
497
|
}
|
|
@@ -508,7 +512,7 @@ function useNavigation({
|
|
|
508
512
|
return "internal";
|
|
509
513
|
}
|
|
510
514
|
}, [href, onClick]);
|
|
511
|
-
const normalizedHref =
|
|
515
|
+
const normalizedHref = React4__namespace.useMemo(() => {
|
|
512
516
|
if (!href || href.trim() === "") {
|
|
513
517
|
return void 0;
|
|
514
518
|
}
|
|
@@ -526,7 +530,7 @@ function useNavigation({
|
|
|
526
530
|
return trimmed;
|
|
527
531
|
}
|
|
528
532
|
}, [href, linkType]);
|
|
529
|
-
const target =
|
|
533
|
+
const target = React4__namespace.useMemo(() => {
|
|
530
534
|
switch (linkType) {
|
|
531
535
|
case "external":
|
|
532
536
|
return "_blank";
|
|
@@ -539,7 +543,7 @@ function useNavigation({
|
|
|
539
543
|
return void 0;
|
|
540
544
|
}
|
|
541
545
|
}, [linkType]);
|
|
542
|
-
const rel =
|
|
546
|
+
const rel = React4__namespace.useMemo(() => {
|
|
543
547
|
if (linkType === "external") {
|
|
544
548
|
return "noopener noreferrer";
|
|
545
549
|
}
|
|
@@ -548,7 +552,7 @@ function useNavigation({
|
|
|
548
552
|
const isExternal = linkType === "external";
|
|
549
553
|
const isInternal = linkType === "internal";
|
|
550
554
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
551
|
-
const handleClick =
|
|
555
|
+
const handleClick = React4__namespace.useCallback(
|
|
552
556
|
(event) => {
|
|
553
557
|
if (onClick) {
|
|
554
558
|
try {
|
|
@@ -732,7 +736,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
732
736
|
size: "default"
|
|
733
737
|
}
|
|
734
738
|
});
|
|
735
|
-
var Pressable =
|
|
739
|
+
var Pressable = React4__namespace.forwardRef(
|
|
736
740
|
({
|
|
737
741
|
children,
|
|
738
742
|
className,
|
|
@@ -914,7 +918,7 @@ function HeroVideoOverlayStars({
|
|
|
914
918
|
videoSrc,
|
|
915
919
|
videoSlot
|
|
916
920
|
}) {
|
|
917
|
-
const renderTrust =
|
|
921
|
+
const renderTrust = React4.useMemo(() => {
|
|
918
922
|
if (trustSlot) return trustSlot;
|
|
919
923
|
if (!trust) return null;
|
|
920
924
|
const starCount = trust.starCount ?? 5;
|
|
@@ -923,7 +927,7 @@ function HeroVideoOverlayStars({
|
|
|
923
927
|
trust.message && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1.5 max-w-40 text-center text-xs leading-snug font-medium text-white text-shadow-lg", children: trust.message })
|
|
924
928
|
] });
|
|
925
929
|
}, [trustSlot, trust]);
|
|
926
|
-
const renderVideo =
|
|
930
|
+
const renderVideo = React4.useMemo(() => {
|
|
927
931
|
if (videoSlot) return videoSlot;
|
|
928
932
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 size-full before:absolute brightness-50", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
929
933
|
"video",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React4 from 'react';
|
|
3
|
+
import React4__default, { useMemo } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Icon } from '@page-speed/icon';
|
|
@@ -12,9 +12,13 @@ function cn(...inputs) {
|
|
|
12
12
|
return twMerge(clsx(inputs));
|
|
13
13
|
}
|
|
14
14
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
15
|
-
|
|
15
|
+
var DynamicIcon = React4.memo(function DynamicIcon2({
|
|
16
|
+
apiKey,
|
|
17
|
+
...props
|
|
18
|
+
}) {
|
|
16
19
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
17
|
-
}
|
|
20
|
+
});
|
|
21
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
18
22
|
var maxWidthStyles = {
|
|
19
23
|
sm: "max-w-screen-sm",
|
|
20
24
|
md: "max-w-screen-md",
|
|
@@ -24,7 +28,7 @@ var maxWidthStyles = {
|
|
|
24
28
|
"4xl": "max-w-[1536px]",
|
|
25
29
|
full: "max-w-full"
|
|
26
30
|
};
|
|
27
|
-
var Container =
|
|
31
|
+
var Container = React4__default.forwardRef(
|
|
28
32
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
29
33
|
const Component = as;
|
|
30
34
|
return /* @__PURE__ */ jsx(
|
|
@@ -330,7 +334,7 @@ var spacingStyles = {
|
|
|
330
334
|
};
|
|
331
335
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
332
336
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
333
|
-
var Section =
|
|
337
|
+
var Section = React4__default.forwardRef(
|
|
334
338
|
({
|
|
335
339
|
id,
|
|
336
340
|
title,
|
|
@@ -466,7 +470,7 @@ function useNavigation({
|
|
|
466
470
|
href,
|
|
467
471
|
onClick
|
|
468
472
|
} = {}) {
|
|
469
|
-
const linkType =
|
|
473
|
+
const linkType = React4.useMemo(() => {
|
|
470
474
|
if (!href || href.trim() === "") {
|
|
471
475
|
return onClick ? "none" : "none";
|
|
472
476
|
}
|
|
@@ -487,7 +491,7 @@ function useNavigation({
|
|
|
487
491
|
return "internal";
|
|
488
492
|
}
|
|
489
493
|
}, [href, onClick]);
|
|
490
|
-
const normalizedHref =
|
|
494
|
+
const normalizedHref = React4.useMemo(() => {
|
|
491
495
|
if (!href || href.trim() === "") {
|
|
492
496
|
return void 0;
|
|
493
497
|
}
|
|
@@ -505,7 +509,7 @@ function useNavigation({
|
|
|
505
509
|
return trimmed;
|
|
506
510
|
}
|
|
507
511
|
}, [href, linkType]);
|
|
508
|
-
const target =
|
|
512
|
+
const target = React4.useMemo(() => {
|
|
509
513
|
switch (linkType) {
|
|
510
514
|
case "external":
|
|
511
515
|
return "_blank";
|
|
@@ -518,7 +522,7 @@ function useNavigation({
|
|
|
518
522
|
return void 0;
|
|
519
523
|
}
|
|
520
524
|
}, [linkType]);
|
|
521
|
-
const rel =
|
|
525
|
+
const rel = React4.useMemo(() => {
|
|
522
526
|
if (linkType === "external") {
|
|
523
527
|
return "noopener noreferrer";
|
|
524
528
|
}
|
|
@@ -527,7 +531,7 @@ function useNavigation({
|
|
|
527
531
|
const isExternal = linkType === "external";
|
|
528
532
|
const isInternal = linkType === "internal";
|
|
529
533
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
530
|
-
const handleClick =
|
|
534
|
+
const handleClick = React4.useCallback(
|
|
531
535
|
(event) => {
|
|
532
536
|
if (onClick) {
|
|
533
537
|
try {
|
|
@@ -711,7 +715,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
711
715
|
size: "default"
|
|
712
716
|
}
|
|
713
717
|
});
|
|
714
|
-
var Pressable =
|
|
718
|
+
var Pressable = React4.forwardRef(
|
|
715
719
|
({
|
|
716
720
|
children,
|
|
717
721
|
className,
|