@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 react = require('motion/react');
|
|
@@ -28,16 +28,20 @@ function _interopNamespace(e) {
|
|
|
28
28
|
return Object.freeze(n);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
|
|
32
32
|
|
|
33
33
|
// components/blocks/blog/blog-carousel-apple.tsx
|
|
34
34
|
function cn(...inputs) {
|
|
35
35
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
36
36
|
}
|
|
37
37
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
38
|
-
|
|
38
|
+
var DynamicIcon = React2__namespace.memo(function DynamicIcon2({
|
|
39
|
+
apiKey,
|
|
40
|
+
...props
|
|
41
|
+
}) {
|
|
39
42
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
40
|
-
}
|
|
43
|
+
});
|
|
44
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
41
45
|
function normalizePhoneNumber(input) {
|
|
42
46
|
const trimmed = input.trim();
|
|
43
47
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -113,7 +117,7 @@ function useNavigation({
|
|
|
113
117
|
href,
|
|
114
118
|
onClick
|
|
115
119
|
} = {}) {
|
|
116
|
-
const linkType =
|
|
120
|
+
const linkType = React2__namespace.useMemo(() => {
|
|
117
121
|
if (!href || href.trim() === "") {
|
|
118
122
|
return onClick ? "none" : "none";
|
|
119
123
|
}
|
|
@@ -134,7 +138,7 @@ function useNavigation({
|
|
|
134
138
|
return "internal";
|
|
135
139
|
}
|
|
136
140
|
}, [href, onClick]);
|
|
137
|
-
const normalizedHref =
|
|
141
|
+
const normalizedHref = React2__namespace.useMemo(() => {
|
|
138
142
|
if (!href || href.trim() === "") {
|
|
139
143
|
return void 0;
|
|
140
144
|
}
|
|
@@ -152,7 +156,7 @@ function useNavigation({
|
|
|
152
156
|
return trimmed;
|
|
153
157
|
}
|
|
154
158
|
}, [href, linkType]);
|
|
155
|
-
const target =
|
|
159
|
+
const target = React2__namespace.useMemo(() => {
|
|
156
160
|
switch (linkType) {
|
|
157
161
|
case "external":
|
|
158
162
|
return "_blank";
|
|
@@ -165,7 +169,7 @@ function useNavigation({
|
|
|
165
169
|
return void 0;
|
|
166
170
|
}
|
|
167
171
|
}, [linkType]);
|
|
168
|
-
const rel =
|
|
172
|
+
const rel = React2__namespace.useMemo(() => {
|
|
169
173
|
if (linkType === "external") {
|
|
170
174
|
return "noopener noreferrer";
|
|
171
175
|
}
|
|
@@ -174,7 +178,7 @@ function useNavigation({
|
|
|
174
178
|
const isExternal = linkType === "external";
|
|
175
179
|
const isInternal = linkType === "internal";
|
|
176
180
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
177
|
-
const handleClick =
|
|
181
|
+
const handleClick = React2__namespace.useCallback(
|
|
178
182
|
(event) => {
|
|
179
183
|
if (onClick) {
|
|
180
184
|
try {
|
|
@@ -358,7 +362,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
358
362
|
size: "default"
|
|
359
363
|
}
|
|
360
364
|
});
|
|
361
|
-
var Pressable =
|
|
365
|
+
var Pressable = React2__namespace.forwardRef(
|
|
362
366
|
({
|
|
363
367
|
children,
|
|
364
368
|
className,
|
|
@@ -456,7 +460,7 @@ var Pressable = React__namespace.forwardRef(
|
|
|
456
460
|
}
|
|
457
461
|
);
|
|
458
462
|
Pressable.displayName = "Pressable";
|
|
459
|
-
var AppleCarouselContext =
|
|
463
|
+
var AppleCarouselContext = React2.createContext({
|
|
460
464
|
onCardAction: () => {
|
|
461
465
|
},
|
|
462
466
|
currentIndex: 0
|
|
@@ -467,11 +471,11 @@ var AppleCarousel = ({
|
|
|
467
471
|
className,
|
|
468
472
|
containerClassName
|
|
469
473
|
}) => {
|
|
470
|
-
const carouselRef =
|
|
471
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
472
|
-
const [canScrollRight, setCanScrollRight] =
|
|
473
|
-
const [currentIndex, setCurrentIndex] =
|
|
474
|
-
|
|
474
|
+
const carouselRef = React2__namespace.default.useRef(null);
|
|
475
|
+
const [canScrollLeft, setCanScrollLeft] = React2__namespace.default.useState(false);
|
|
476
|
+
const [canScrollRight, setCanScrollRight] = React2__namespace.default.useState(true);
|
|
477
|
+
const [currentIndex, setCurrentIndex] = React2.useState(0);
|
|
478
|
+
React2.useEffect(() => {
|
|
475
479
|
if (carouselRef.current) {
|
|
476
480
|
carouselRef.current.scrollLeft = initialScroll;
|
|
477
481
|
checkScrollability();
|
|
@@ -599,7 +603,7 @@ var AppleCarouselCard = ({
|
|
|
599
603
|
imageClassName,
|
|
600
604
|
contentClassName
|
|
601
605
|
}) => {
|
|
602
|
-
const { onCardAction } =
|
|
606
|
+
const { onCardAction } = React2.useContext(AppleCarouselContext);
|
|
603
607
|
const handleClick = () => {
|
|
604
608
|
onCardAction(index);
|
|
605
609
|
if (action.onClick) {
|
|
@@ -701,7 +705,7 @@ var maxWidthStyles = {
|
|
|
701
705
|
"4xl": "max-w-[1536px]",
|
|
702
706
|
full: "max-w-full"
|
|
703
707
|
};
|
|
704
|
-
var Container =
|
|
708
|
+
var Container = React2__namespace.default.forwardRef(
|
|
705
709
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
706
710
|
const Component = as;
|
|
707
711
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1007,7 +1011,7 @@ var spacingStyles = {
|
|
|
1007
1011
|
};
|
|
1008
1012
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
1009
1013
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
1010
|
-
var Section =
|
|
1014
|
+
var Section = React2__namespace.default.forwardRef(
|
|
1011
1015
|
({
|
|
1012
1016
|
id,
|
|
1013
1017
|
title,
|
|
@@ -1085,7 +1089,7 @@ function BlogCarouselAppleComponent({
|
|
|
1085
1089
|
containerClassName,
|
|
1086
1090
|
cardClassName
|
|
1087
1091
|
}) {
|
|
1088
|
-
const carouselCards =
|
|
1092
|
+
const carouselCards = React2__namespace.useMemo(() => {
|
|
1089
1093
|
if (!posts || posts.length === 0) return [];
|
|
1090
1094
|
return posts.map(
|
|
1091
1095
|
(post, idx) => ({
|
|
@@ -1097,7 +1101,7 @@ function BlogCarouselAppleComponent({
|
|
|
1097
1101
|
})
|
|
1098
1102
|
);
|
|
1099
1103
|
}, [posts]);
|
|
1100
|
-
const cardElements =
|
|
1104
|
+
const cardElements = React2__namespace.useMemo(() => {
|
|
1101
1105
|
if (!posts || posts.length === 0) return [];
|
|
1102
1106
|
return carouselCards.map((card, index) => {
|
|
1103
1107
|
const post = posts[index];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React2 from 'react';
|
|
3
|
+
import React2__default, { createContext, useContext, useState, useEffect } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { motion } from 'motion/react';
|
|
@@ -14,9 +14,13 @@ function cn(...inputs) {
|
|
|
14
14
|
return twMerge(clsx(inputs));
|
|
15
15
|
}
|
|
16
16
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
17
|
-
|
|
17
|
+
var DynamicIcon = React2.memo(function DynamicIcon2({
|
|
18
|
+
apiKey,
|
|
19
|
+
...props
|
|
20
|
+
}) {
|
|
18
21
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
19
|
-
}
|
|
22
|
+
});
|
|
23
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
20
24
|
function normalizePhoneNumber(input) {
|
|
21
25
|
const trimmed = input.trim();
|
|
22
26
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -92,7 +96,7 @@ function useNavigation({
|
|
|
92
96
|
href,
|
|
93
97
|
onClick
|
|
94
98
|
} = {}) {
|
|
95
|
-
const linkType =
|
|
99
|
+
const linkType = React2.useMemo(() => {
|
|
96
100
|
if (!href || href.trim() === "") {
|
|
97
101
|
return onClick ? "none" : "none";
|
|
98
102
|
}
|
|
@@ -113,7 +117,7 @@ function useNavigation({
|
|
|
113
117
|
return "internal";
|
|
114
118
|
}
|
|
115
119
|
}, [href, onClick]);
|
|
116
|
-
const normalizedHref =
|
|
120
|
+
const normalizedHref = React2.useMemo(() => {
|
|
117
121
|
if (!href || href.trim() === "") {
|
|
118
122
|
return void 0;
|
|
119
123
|
}
|
|
@@ -131,7 +135,7 @@ function useNavigation({
|
|
|
131
135
|
return trimmed;
|
|
132
136
|
}
|
|
133
137
|
}, [href, linkType]);
|
|
134
|
-
const target =
|
|
138
|
+
const target = React2.useMemo(() => {
|
|
135
139
|
switch (linkType) {
|
|
136
140
|
case "external":
|
|
137
141
|
return "_blank";
|
|
@@ -144,7 +148,7 @@ function useNavigation({
|
|
|
144
148
|
return void 0;
|
|
145
149
|
}
|
|
146
150
|
}, [linkType]);
|
|
147
|
-
const rel =
|
|
151
|
+
const rel = React2.useMemo(() => {
|
|
148
152
|
if (linkType === "external") {
|
|
149
153
|
return "noopener noreferrer";
|
|
150
154
|
}
|
|
@@ -153,7 +157,7 @@ function useNavigation({
|
|
|
153
157
|
const isExternal = linkType === "external";
|
|
154
158
|
const isInternal = linkType === "internal";
|
|
155
159
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
156
|
-
const handleClick =
|
|
160
|
+
const handleClick = React2.useCallback(
|
|
157
161
|
(event) => {
|
|
158
162
|
if (onClick) {
|
|
159
163
|
try {
|
|
@@ -337,7 +341,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
337
341
|
size: "default"
|
|
338
342
|
}
|
|
339
343
|
});
|
|
340
|
-
var Pressable =
|
|
344
|
+
var Pressable = React2.forwardRef(
|
|
341
345
|
({
|
|
342
346
|
children,
|
|
343
347
|
className,
|
|
@@ -446,9 +450,9 @@ var AppleCarousel = ({
|
|
|
446
450
|
className,
|
|
447
451
|
containerClassName
|
|
448
452
|
}) => {
|
|
449
|
-
const carouselRef =
|
|
450
|
-
const [canScrollLeft, setCanScrollLeft] =
|
|
451
|
-
const [canScrollRight, setCanScrollRight] =
|
|
453
|
+
const carouselRef = React2__default.useRef(null);
|
|
454
|
+
const [canScrollLeft, setCanScrollLeft] = React2__default.useState(false);
|
|
455
|
+
const [canScrollRight, setCanScrollRight] = React2__default.useState(true);
|
|
452
456
|
const [currentIndex, setCurrentIndex] = useState(0);
|
|
453
457
|
useEffect(() => {
|
|
454
458
|
if (carouselRef.current) {
|
|
@@ -680,7 +684,7 @@ var maxWidthStyles = {
|
|
|
680
684
|
"4xl": "max-w-[1536px]",
|
|
681
685
|
full: "max-w-full"
|
|
682
686
|
};
|
|
683
|
-
var Container =
|
|
687
|
+
var Container = React2__default.forwardRef(
|
|
684
688
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
685
689
|
const Component = as;
|
|
686
690
|
return /* @__PURE__ */ jsx(
|
|
@@ -986,7 +990,7 @@ var spacingStyles = {
|
|
|
986
990
|
};
|
|
987
991
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
988
992
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
989
|
-
var Section =
|
|
993
|
+
var Section = React2__default.forwardRef(
|
|
990
994
|
({
|
|
991
995
|
id,
|
|
992
996
|
title,
|
|
@@ -1064,7 +1068,7 @@ function BlogCarouselAppleComponent({
|
|
|
1064
1068
|
containerClassName,
|
|
1065
1069
|
cardClassName
|
|
1066
1070
|
}) {
|
|
1067
|
-
const carouselCards =
|
|
1071
|
+
const carouselCards = React2.useMemo(() => {
|
|
1068
1072
|
if (!posts || posts.length === 0) return [];
|
|
1069
1073
|
return posts.map(
|
|
1070
1074
|
(post, idx) => ({
|
|
@@ -1076,7 +1080,7 @@ function BlogCarouselAppleComponent({
|
|
|
1076
1080
|
})
|
|
1077
1081
|
);
|
|
1078
1082
|
}, [posts]);
|
|
1079
|
-
const cardElements =
|
|
1083
|
+
const cardElements = React2.useMemo(() => {
|
|
1080
1084
|
if (!posts || posts.length === 0) return [];
|
|
1081
1085
|
return carouselCards.map((card, index) => {
|
|
1082
1086
|
const post = posts[index];
|
|
@@ -485,9 +485,13 @@ function Badge({
|
|
|
485
485
|
);
|
|
486
486
|
}
|
|
487
487
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
488
|
-
|
|
488
|
+
var DynamicIcon = React__namespace.memo(function DynamicIcon2({
|
|
489
|
+
apiKey,
|
|
490
|
+
...props
|
|
491
|
+
}) {
|
|
489
492
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
490
|
-
}
|
|
493
|
+
});
|
|
494
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
491
495
|
var maxWidthStyles = {
|
|
492
496
|
sm: "max-w-screen-sm",
|
|
493
497
|
md: "max-w-screen-md",
|
|
@@ -464,9 +464,13 @@ function Badge({
|
|
|
464
464
|
);
|
|
465
465
|
}
|
|
466
466
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
467
|
-
|
|
467
|
+
var DynamicIcon = React.memo(function DynamicIcon2({
|
|
468
|
+
apiKey,
|
|
469
|
+
...props
|
|
470
|
+
}) {
|
|
468
471
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
469
|
-
}
|
|
472
|
+
});
|
|
473
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
470
474
|
var maxWidthStyles = {
|
|
471
475
|
sm: "max-w-screen-sm",
|
|
472
476
|
md: "max-w-screen-md",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var React6 = require('react');
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var img = require('@page-speed/img');
|
|
@@ -31,7 +31,7 @@ function _interopNamespace(e) {
|
|
|
31
31
|
return Object.freeze(n);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var React6__namespace = /*#__PURE__*/_interopNamespace(React6);
|
|
35
35
|
var AspectRatioPrimitive__namespace = /*#__PURE__*/_interopNamespace(AspectRatioPrimitive);
|
|
36
36
|
var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimitive);
|
|
37
37
|
var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
|
|
@@ -145,7 +145,7 @@ function useNavigation({
|
|
|
145
145
|
href,
|
|
146
146
|
onClick
|
|
147
147
|
} = {}) {
|
|
148
|
-
const linkType =
|
|
148
|
+
const linkType = React6__namespace.useMemo(() => {
|
|
149
149
|
if (!href || href.trim() === "") {
|
|
150
150
|
return onClick ? "none" : "none";
|
|
151
151
|
}
|
|
@@ -166,7 +166,7 @@ function useNavigation({
|
|
|
166
166
|
return "internal";
|
|
167
167
|
}
|
|
168
168
|
}, [href, onClick]);
|
|
169
|
-
const normalizedHref =
|
|
169
|
+
const normalizedHref = React6__namespace.useMemo(() => {
|
|
170
170
|
if (!href || href.trim() === "") {
|
|
171
171
|
return void 0;
|
|
172
172
|
}
|
|
@@ -184,7 +184,7 @@ function useNavigation({
|
|
|
184
184
|
return trimmed;
|
|
185
185
|
}
|
|
186
186
|
}, [href, linkType]);
|
|
187
|
-
const target =
|
|
187
|
+
const target = React6__namespace.useMemo(() => {
|
|
188
188
|
switch (linkType) {
|
|
189
189
|
case "external":
|
|
190
190
|
return "_blank";
|
|
@@ -197,7 +197,7 @@ function useNavigation({
|
|
|
197
197
|
return void 0;
|
|
198
198
|
}
|
|
199
199
|
}, [linkType]);
|
|
200
|
-
const rel =
|
|
200
|
+
const rel = React6__namespace.useMemo(() => {
|
|
201
201
|
if (linkType === "external") {
|
|
202
202
|
return "noopener noreferrer";
|
|
203
203
|
}
|
|
@@ -206,7 +206,7 @@ function useNavigation({
|
|
|
206
206
|
const isExternal = linkType === "external";
|
|
207
207
|
const isInternal = linkType === "internal";
|
|
208
208
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
209
|
-
const handleClick =
|
|
209
|
+
const handleClick = React6__namespace.useCallback(
|
|
210
210
|
(event) => {
|
|
211
211
|
if (onClick) {
|
|
212
212
|
try {
|
|
@@ -390,7 +390,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
390
390
|
size: "default"
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
|
-
var Pressable =
|
|
393
|
+
var Pressable = React6__namespace.forwardRef(
|
|
394
394
|
({
|
|
395
395
|
children,
|
|
396
396
|
className,
|
|
@@ -494,9 +494,13 @@ function AspectRatio({
|
|
|
494
494
|
return /* @__PURE__ */ jsxRuntime.jsx(AspectRatioPrimitive__namespace.Root, { "data-slot": "aspect-ratio", ...props });
|
|
495
495
|
}
|
|
496
496
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
497
|
-
|
|
497
|
+
var DynamicIcon = React6__namespace.memo(function DynamicIcon2({
|
|
498
|
+
apiKey,
|
|
499
|
+
...props
|
|
500
|
+
}) {
|
|
498
501
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
499
|
-
}
|
|
502
|
+
});
|
|
503
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
500
504
|
function Breadcrumb({ ...props }) {
|
|
501
505
|
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
502
506
|
}
|
|
@@ -627,7 +631,7 @@ var maxWidthStyles = {
|
|
|
627
631
|
"4xl": "max-w-[1536px]",
|
|
628
632
|
full: "max-w-full"
|
|
629
633
|
};
|
|
630
|
-
var Container =
|
|
634
|
+
var Container = React6__namespace.default.forwardRef(
|
|
631
635
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
632
636
|
const Component = as;
|
|
633
637
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -933,7 +937,7 @@ var spacingStyles = {
|
|
|
933
937
|
};
|
|
934
938
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
935
939
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
936
|
-
var Section =
|
|
940
|
+
var Section = React6__namespace.default.forwardRef(
|
|
937
941
|
({
|
|
938
942
|
id,
|
|
939
943
|
title,
|
|
@@ -995,7 +999,7 @@ var Section = React5__namespace.default.forwardRef(
|
|
|
995
999
|
);
|
|
996
1000
|
Section.displayName = "Section";
|
|
997
1001
|
var POSTS_PER_PAGE = 6;
|
|
998
|
-
var BlogCard =
|
|
1002
|
+
var BlogCard = React6__namespace.memo(function BlogCard2({
|
|
999
1003
|
post,
|
|
1000
1004
|
optixFlowConfig,
|
|
1001
1005
|
className
|
|
@@ -1034,7 +1038,7 @@ var BlogCard = React5__namespace.memo(function BlogCard2({
|
|
|
1034
1038
|
] })
|
|
1035
1039
|
] }) });
|
|
1036
1040
|
});
|
|
1037
|
-
var FilterForm =
|
|
1041
|
+
var FilterForm = React6__namespace.memo(function FilterForm2({
|
|
1038
1042
|
categories,
|
|
1039
1043
|
selectedCategories,
|
|
1040
1044
|
onCategoryChange,
|
|
@@ -1067,12 +1071,12 @@ var FilterForm = React5__namespace.memo(function FilterForm2({
|
|
|
1067
1071
|
}
|
|
1068
1072
|
);
|
|
1069
1073
|
});
|
|
1070
|
-
var BreadcrumbBlog =
|
|
1074
|
+
var BreadcrumbBlog = React6__namespace.memo(function BreadcrumbBlog2({
|
|
1071
1075
|
breadcrumb
|
|
1072
1076
|
}) {
|
|
1073
1077
|
return /* @__PURE__ */ jsxRuntime.jsx(Breadcrumb, { children: /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
1074
1078
|
const labelKey = typeof item.label === "string" ? item.label : `breadcrumb-${i}`;
|
|
1075
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1079
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(React6.Fragment, { children: [
|
|
1076
1080
|
/* @__PURE__ */ jsxRuntime.jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbLink, { href: item.link, children: item.label }) }),
|
|
1077
1081
|
i < breadcrumb.length - 1 && /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbSeparator, { children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/slash", size: 14 }) })
|
|
1078
1082
|
] }, labelKey);
|
|
@@ -1111,11 +1115,11 @@ function BlogFilteredResultsComponent({
|
|
|
1111
1115
|
patternOpacity
|
|
1112
1116
|
}) {
|
|
1113
1117
|
const effectivePostsPerPage = postsPerPage || POSTS_PER_PAGE;
|
|
1114
|
-
const [visibleCount, setVisibleCount] =
|
|
1115
|
-
const [selectedCategories, setSelectedCategories] =
|
|
1118
|
+
const [visibleCount, setVisibleCount] = React6.useState(effectivePostsPerPage);
|
|
1119
|
+
const [selectedCategories, setSelectedCategories] = React6.useState([
|
|
1116
1120
|
"all"
|
|
1117
1121
|
]);
|
|
1118
|
-
const handleCategoryChange =
|
|
1122
|
+
const handleCategoryChange = React6.useCallback(
|
|
1119
1123
|
(categoryValue, checked) => {
|
|
1120
1124
|
setSelectedCategories((prev) => {
|
|
1121
1125
|
let updated;
|
|
@@ -1137,10 +1141,10 @@ function BlogFilteredResultsComponent({
|
|
|
1137
1141
|
},
|
|
1138
1142
|
[effectivePostsPerPage]
|
|
1139
1143
|
);
|
|
1140
|
-
const handleLoadMore =
|
|
1144
|
+
const handleLoadMore = React6.useCallback(() => {
|
|
1141
1145
|
setVisibleCount((prev) => prev + effectivePostsPerPage);
|
|
1142
1146
|
}, [effectivePostsPerPage]);
|
|
1143
|
-
const filteredPosts =
|
|
1147
|
+
const filteredPosts = React6.useMemo(() => {
|
|
1144
1148
|
if (!posts) return [];
|
|
1145
1149
|
return posts.filter((post) => {
|
|
1146
1150
|
const postCategory = typeof post.category === "string" ? post.category.toLowerCase() : "";
|
|
@@ -1149,12 +1153,12 @@ function BlogFilteredResultsComponent({
|
|
|
1149
1153
|
}, [posts, selectedCategories]);
|
|
1150
1154
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
1151
1155
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
1152
|
-
const breadcrumbContent =
|
|
1156
|
+
const breadcrumbContent = React6__namespace.useMemo(() => {
|
|
1153
1157
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
1154
1158
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
1155
1159
|
return /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbBlog, { breadcrumb });
|
|
1156
1160
|
}, [breadcrumbSlot, breadcrumb]);
|
|
1157
|
-
const primaryPostContent =
|
|
1161
|
+
const primaryPostContent = React6__namespace.useMemo(() => {
|
|
1158
1162
|
if (primaryPostSlot) return primaryPostSlot;
|
|
1159
1163
|
if (!primaryPost) return null;
|
|
1160
1164
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1166,7 +1170,7 @@ function BlogFilteredResultsComponent({
|
|
|
1166
1170
|
}
|
|
1167
1171
|
);
|
|
1168
1172
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
1169
|
-
const categoriesContent =
|
|
1173
|
+
const categoriesContent = React6__namespace.useMemo(() => {
|
|
1170
1174
|
if (categoriesSlot) return categoriesSlot;
|
|
1171
1175
|
if (!categories || categories.length === 0) return null;
|
|
1172
1176
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1185,7 +1189,7 @@ function BlogFilteredResultsComponent({
|
|
|
1185
1189
|
handleCategoryChange,
|
|
1186
1190
|
categoriesClassName
|
|
1187
1191
|
]);
|
|
1188
|
-
const postsContent =
|
|
1192
|
+
const postsContent = React6__namespace.useMemo(() => {
|
|
1189
1193
|
if (postsSlot) return postsSlot;
|
|
1190
1194
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
1191
1195
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -1206,7 +1210,7 @@ function BlogFilteredResultsComponent({
|
|
|
1206
1210
|
optixFlowConfig,
|
|
1207
1211
|
postCardClassName
|
|
1208
1212
|
]);
|
|
1209
|
-
const loadMoreContent =
|
|
1213
|
+
const loadMoreContent = React6__namespace.useMemo(() => {
|
|
1210
1214
|
if (loadMoreSlot) return loadMoreSlot;
|
|
1211
1215
|
if (!loadMoreAction || !hasMore) return null;
|
|
1212
1216
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React6 from 'react';
|
|
3
|
+
import React6__default, { Fragment, useState, useCallback, useMemo } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
@@ -121,7 +121,7 @@ function useNavigation({
|
|
|
121
121
|
href,
|
|
122
122
|
onClick
|
|
123
123
|
} = {}) {
|
|
124
|
-
const linkType =
|
|
124
|
+
const linkType = React6.useMemo(() => {
|
|
125
125
|
if (!href || href.trim() === "") {
|
|
126
126
|
return onClick ? "none" : "none";
|
|
127
127
|
}
|
|
@@ -142,7 +142,7 @@ function useNavigation({
|
|
|
142
142
|
return "internal";
|
|
143
143
|
}
|
|
144
144
|
}, [href, onClick]);
|
|
145
|
-
const normalizedHref =
|
|
145
|
+
const normalizedHref = React6.useMemo(() => {
|
|
146
146
|
if (!href || href.trim() === "") {
|
|
147
147
|
return void 0;
|
|
148
148
|
}
|
|
@@ -160,7 +160,7 @@ function useNavigation({
|
|
|
160
160
|
return trimmed;
|
|
161
161
|
}
|
|
162
162
|
}, [href, linkType]);
|
|
163
|
-
const target =
|
|
163
|
+
const target = React6.useMemo(() => {
|
|
164
164
|
switch (linkType) {
|
|
165
165
|
case "external":
|
|
166
166
|
return "_blank";
|
|
@@ -173,7 +173,7 @@ function useNavigation({
|
|
|
173
173
|
return void 0;
|
|
174
174
|
}
|
|
175
175
|
}, [linkType]);
|
|
176
|
-
const rel =
|
|
176
|
+
const rel = React6.useMemo(() => {
|
|
177
177
|
if (linkType === "external") {
|
|
178
178
|
return "noopener noreferrer";
|
|
179
179
|
}
|
|
@@ -182,7 +182,7 @@ function useNavigation({
|
|
|
182
182
|
const isExternal = linkType === "external";
|
|
183
183
|
const isInternal = linkType === "internal";
|
|
184
184
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
185
|
-
const handleClick =
|
|
185
|
+
const handleClick = React6.useCallback(
|
|
186
186
|
(event) => {
|
|
187
187
|
if (onClick) {
|
|
188
188
|
try {
|
|
@@ -366,7 +366,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
366
366
|
size: "default"
|
|
367
367
|
}
|
|
368
368
|
});
|
|
369
|
-
var Pressable =
|
|
369
|
+
var Pressable = React6.forwardRef(
|
|
370
370
|
({
|
|
371
371
|
children,
|
|
372
372
|
className,
|
|
@@ -470,9 +470,13 @@ function AspectRatio({
|
|
|
470
470
|
return /* @__PURE__ */ jsx(AspectRatioPrimitive.Root, { "data-slot": "aspect-ratio", ...props });
|
|
471
471
|
}
|
|
472
472
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
473
|
-
|
|
473
|
+
var DynamicIcon = React6.memo(function DynamicIcon2({
|
|
474
|
+
apiKey,
|
|
475
|
+
...props
|
|
476
|
+
}) {
|
|
474
477
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
475
|
-
}
|
|
478
|
+
});
|
|
479
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
476
480
|
function Breadcrumb({ ...props }) {
|
|
477
481
|
return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
478
482
|
}
|
|
@@ -603,7 +607,7 @@ var maxWidthStyles = {
|
|
|
603
607
|
"4xl": "max-w-[1536px]",
|
|
604
608
|
full: "max-w-full"
|
|
605
609
|
};
|
|
606
|
-
var Container =
|
|
610
|
+
var Container = React6__default.forwardRef(
|
|
607
611
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
608
612
|
const Component = as;
|
|
609
613
|
return /* @__PURE__ */ jsx(
|
|
@@ -909,7 +913,7 @@ var spacingStyles = {
|
|
|
909
913
|
};
|
|
910
914
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
911
915
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
912
|
-
var Section =
|
|
916
|
+
var Section = React6__default.forwardRef(
|
|
913
917
|
({
|
|
914
918
|
id,
|
|
915
919
|
title,
|
|
@@ -971,7 +975,7 @@ var Section = React5__default.forwardRef(
|
|
|
971
975
|
);
|
|
972
976
|
Section.displayName = "Section";
|
|
973
977
|
var POSTS_PER_PAGE = 6;
|
|
974
|
-
var BlogCard =
|
|
978
|
+
var BlogCard = React6.memo(function BlogCard2({
|
|
975
979
|
post,
|
|
976
980
|
optixFlowConfig,
|
|
977
981
|
className
|
|
@@ -1010,7 +1014,7 @@ var BlogCard = React5.memo(function BlogCard2({
|
|
|
1010
1014
|
] })
|
|
1011
1015
|
] }) });
|
|
1012
1016
|
});
|
|
1013
|
-
var FilterForm =
|
|
1017
|
+
var FilterForm = React6.memo(function FilterForm2({
|
|
1014
1018
|
categories,
|
|
1015
1019
|
selectedCategories,
|
|
1016
1020
|
onCategoryChange,
|
|
@@ -1043,7 +1047,7 @@ var FilterForm = React5.memo(function FilterForm2({
|
|
|
1043
1047
|
}
|
|
1044
1048
|
);
|
|
1045
1049
|
});
|
|
1046
|
-
var BreadcrumbBlog =
|
|
1050
|
+
var BreadcrumbBlog = React6.memo(function BreadcrumbBlog2({
|
|
1047
1051
|
breadcrumb
|
|
1048
1052
|
}) {
|
|
1049
1053
|
return /* @__PURE__ */ jsx(Breadcrumb, { children: /* @__PURE__ */ jsx(BreadcrumbList, { children: breadcrumb.map((item, i) => {
|
|
@@ -1125,12 +1129,12 @@ function BlogFilteredResultsComponent({
|
|
|
1125
1129
|
}, [posts, selectedCategories]);
|
|
1126
1130
|
const postsToDisplay = filteredPosts.length > 0 ? filteredPosts : posts || [];
|
|
1127
1131
|
const hasMore = visibleCount < postsToDisplay.length;
|
|
1128
|
-
const breadcrumbContent =
|
|
1132
|
+
const breadcrumbContent = React6.useMemo(() => {
|
|
1129
1133
|
if (breadcrumbSlot) return breadcrumbSlot;
|
|
1130
1134
|
if (!breadcrumb || breadcrumb.length === 0) return null;
|
|
1131
1135
|
return /* @__PURE__ */ jsx(BreadcrumbBlog, { breadcrumb });
|
|
1132
1136
|
}, [breadcrumbSlot, breadcrumb]);
|
|
1133
|
-
const primaryPostContent =
|
|
1137
|
+
const primaryPostContent = React6.useMemo(() => {
|
|
1134
1138
|
if (primaryPostSlot) return primaryPostSlot;
|
|
1135
1139
|
if (!primaryPost) return null;
|
|
1136
1140
|
return /* @__PURE__ */ jsx(
|
|
@@ -1142,7 +1146,7 @@ function BlogFilteredResultsComponent({
|
|
|
1142
1146
|
}
|
|
1143
1147
|
);
|
|
1144
1148
|
}, [primaryPostSlot, primaryPost, optixFlowConfig, postCardClassName]);
|
|
1145
|
-
const categoriesContent =
|
|
1149
|
+
const categoriesContent = React6.useMemo(() => {
|
|
1146
1150
|
if (categoriesSlot) return categoriesSlot;
|
|
1147
1151
|
if (!categories || categories.length === 0) return null;
|
|
1148
1152
|
return /* @__PURE__ */ jsx(
|
|
@@ -1161,7 +1165,7 @@ function BlogFilteredResultsComponent({
|
|
|
1161
1165
|
handleCategoryChange,
|
|
1162
1166
|
categoriesClassName
|
|
1163
1167
|
]);
|
|
1164
|
-
const postsContent =
|
|
1168
|
+
const postsContent = React6.useMemo(() => {
|
|
1165
1169
|
if (postsSlot) return postsSlot;
|
|
1166
1170
|
return postsToDisplay.slice(0, visibleCount).map((post) => {
|
|
1167
1171
|
const postKey = post.id || String(post.title) || Math.random().toString();
|
|
@@ -1182,7 +1186,7 @@ function BlogFilteredResultsComponent({
|
|
|
1182
1186
|
optixFlowConfig,
|
|
1183
1187
|
postCardClassName
|
|
1184
1188
|
]);
|
|
1185
|
-
const loadMoreContent =
|
|
1189
|
+
const loadMoreContent = React6.useMemo(() => {
|
|
1186
1190
|
if (loadMoreSlot) return loadMoreSlot;
|
|
1187
1191
|
if (!loadMoreAction || !hasMore) return null;
|
|
1188
1192
|
const {
|