@opensite/ui 2.8.0 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/about-culture-tabs.cjs +25 -21
- package/dist/about-culture-tabs.js +23 -19
- package/dist/about-developer-profile.cjs +6 -2
- package/dist/about-developer-profile.js +6 -2
- package/dist/about-expandable-values.cjs +6 -2
- package/dist/about-expandable-values.js +6 -2
- package/dist/about-location-info-hero.cjs +6 -2
- package/dist/about-location-info-hero.js +6 -2
- package/dist/about-mission-principles.cjs +6 -2
- package/dist/about-mission-principles.js +6 -2
- package/dist/about-network-spotlight.cjs +18 -14
- package/dist/about-network-spotlight.js +16 -12
- package/dist/about-split-hero.cjs +6 -2
- package/dist/about-split-hero.js +6 -2
- package/dist/about-startup-team.cjs +6 -2
- package/dist/about-startup-team.js +6 -2
- package/dist/article-breadcrumb-social.cjs +27 -23
- package/dist/article-breadcrumb-social.js +27 -23
- package/dist/article-chapters-author.cjs +29 -25
- package/dist/article-chapters-author.js +29 -25
- package/dist/article-compact-toc.cjs +26 -22
- package/dist/article-compact-toc.js +26 -22
- package/dist/article-sidebar-sticky.cjs +6 -2
- package/dist/article-sidebar-sticky.js +6 -2
- package/dist/auto-scroll-carousel.cjs +28 -24
- package/dist/auto-scroll-carousel.js +26 -22
- package/dist/banner-announcement-dismissible.cjs +6 -2
- package/dist/banner-announcement-dismissible.js +6 -2
- package/dist/banner-delivery-countdown.cjs +6 -2
- package/dist/banner-delivery-countdown.js +6 -2
- package/dist/banner-floating-offer.cjs +6 -2
- package/dist/banner-floating-offer.js +6 -2
- package/dist/banner-gdpr-rights.cjs +6 -2
- package/dist/banner-gdpr-rights.js +6 -2
- package/dist/banner-privacy-notice.cjs +6 -2
- package/dist/banner-privacy-notice.js +6 -2
- package/dist/banner-social-follow.cjs +6 -2
- package/dist/banner-social-follow.js +6 -2
- package/dist/banner-survey-incentive.cjs +6 -2
- package/dist/banner-survey-incentive.js +6 -2
- package/dist/blog-cards-read-time.cjs +6 -2
- package/dist/blog-cards-read-time.js +6 -2
- package/dist/blog-cards-tagline-cta.cjs +6 -2
- package/dist/blog-cards-tagline-cta.js +6 -2
- package/dist/blog-carousel-apple.cjs +25 -21
- package/dist/blog-carousel-apple.js +21 -17
- package/dist/blog-category-overlay.cjs +6 -2
- package/dist/blog-category-overlay.js +6 -2
- package/dist/blog-filtered-results.cjs +30 -26
- package/dist/blog-filtered-results.js +24 -20
- package/dist/blog-horizontal-cards.cjs +6 -2
- package/dist/blog-horizontal-cards.js +6 -2
- package/dist/blog-horizontal-timeline.cjs +6 -2
- package/dist/blog-horizontal-timeline.js +6 -2
- package/dist/carousel-animated-sections.cjs +23 -19
- package/dist/carousel-animated-sections.js +23 -19
- package/dist/carousel-auto-progress-slides.cjs +6 -2
- package/dist/carousel-auto-progress-slides.js +6 -2
- package/dist/carousel-autoplay-progress.cjs +34 -30
- package/dist/carousel-autoplay-progress.js +34 -30
- package/dist/carousel-badge-cards.cjs +31 -27
- package/dist/carousel-badge-cards.js +26 -22
- package/dist/carousel-demo-link.cjs +32 -28
- package/dist/carousel-demo-link.js +26 -22
- package/dist/carousel-feature-badge.cjs +22 -18
- package/dist/carousel-feature-badge.js +22 -18
- package/dist/carousel-gallery-thumbnails.cjs +6 -2
- package/dist/carousel-gallery-thumbnails.js +6 -2
- package/dist/carousel-gradient-overlay.cjs +32 -28
- package/dist/carousel-gradient-overlay.js +26 -22
- package/dist/carousel-gradient-text.cjs +32 -28
- package/dist/carousel-gradient-text.js +26 -22
- package/dist/carousel-horizontal-cards.cjs +20 -16
- package/dist/carousel-horizontal-cards.js +20 -16
- package/dist/carousel-icon-sidebar.cjs +38 -34
- package/dist/carousel-icon-sidebar.js +26 -22
- package/dist/carousel-icon-tabs.cjs +39 -35
- package/dist/carousel-icon-tabs.js +26 -22
- package/dist/carousel-image-hero.cjs +22 -18
- package/dist/carousel-image-hero.js +22 -18
- package/dist/carousel-multi-step-showcase.cjs +6 -2
- package/dist/carousel-multi-step-showcase.js +6 -2
- package/dist/carousel-pagination.cjs +6 -2
- package/dist/carousel-pagination.js +6 -2
- package/dist/carousel-portfolio-hero.cjs +22 -18
- package/dist/carousel-portfolio-hero.js +22 -18
- package/dist/carousel-product-feature-showcase.cjs +6 -2
- package/dist/carousel-product-feature-showcase.js +6 -2
- package/dist/carousel-progress-slider.cjs +28 -24
- package/dist/carousel-progress-slider.js +28 -24
- package/dist/carousel-scale-focus.cjs +41 -37
- package/dist/carousel-scale-focus.js +26 -22
- package/dist/carousel-sidebar-resources.cjs +34 -30
- package/dist/carousel-sidebar-resources.js +26 -22
- package/dist/carousel-tabs-content.cjs +39 -35
- package/dist/carousel-tabs-content.js +26 -22
- package/dist/case-studies-featured-border.cjs +6 -2
- package/dist/case-studies-featured-border.js +6 -2
- package/dist/case-study-stats-metrics.cjs +6 -2
- package/dist/case-study-stats-metrics.js +6 -2
- package/dist/case-study-toc-social-sidebar.cjs +6 -2
- package/dist/case-study-toc-social-sidebar.js +6 -2
- package/dist/community-initiatives.cjs +19 -15
- package/dist/community-initiatives.js +17 -13
- package/dist/comparison-ai-models.cjs +18 -14
- package/dist/comparison-ai-models.js +17 -13
- package/dist/comparison-feature-cards.cjs +16 -12
- package/dist/comparison-feature-cards.js +16 -12
- package/dist/comparison-feature-grid.cjs +14 -10
- package/dist/comparison-feature-grid.js +14 -10
- package/dist/comparison-grid-badges.cjs +13 -9
- package/dist/comparison-grid-badges.js +13 -9
- package/dist/comparison-legacy-modern.cjs +15 -11
- package/dist/comparison-legacy-modern.js +15 -11
- package/dist/comparison-table-tabs.cjs +15 -11
- package/dist/comparison-table-tabs.js +14 -10
- package/dist/comparison-table-two-column.cjs +14 -10
- package/dist/comparison-table-two-column.js +14 -10
- package/dist/components.cjs +199 -179
- package/dist/components.js +104 -84
- package/dist/contact-callback.cjs +27 -7
- package/dist/contact-callback.js +10 -5
- package/dist/contact-card.cjs +6 -2
- package/dist/contact-card.js +6 -2
- package/dist/contact-careers.cjs +18 -14
- package/dist/contact-careers.js +16 -12
- package/dist/contact-dark.cjs +6 -2
- package/dist/contact-dark.js +6 -2
- package/dist/contact-emergency.cjs +6 -2
- package/dist/contact-emergency.js +6 -2
- package/dist/contact-faq.cjs +9 -7
- package/dist/contact-faq.js +10 -5
- package/dist/contact-floating-banner.cjs +6 -2
- package/dist/contact-floating-banner.js +6 -2
- package/dist/contact-help-center.cjs +16 -12
- package/dist/contact-help-center.js +16 -12
- package/dist/contact-image.cjs +18 -14
- package/dist/contact-image.js +17 -13
- package/dist/contact-map.cjs +78 -58
- package/dist/contact-map.js +78 -58
- package/dist/cta-app-download-newsletter.cjs +6 -2
- package/dist/cta-app-download-newsletter.js +6 -2
- package/dist/cta-background-icon-badge.cjs +6 -2
- package/dist/cta-background-icon-badge.js +6 -2
- package/dist/cta-case-study-testimonial.cjs +6 -2
- package/dist/cta-case-study-testimonial.js +6 -2
- package/dist/cta-documentation-links.cjs +6 -2
- package/dist/cta-documentation-links.js +6 -2
- package/dist/cta-enterprise-dark-features.cjs +6 -2
- package/dist/cta-enterprise-dark-features.js +6 -2
- package/dist/cta-enterprise-split.cjs +6 -2
- package/dist/cta-enterprise-split.js +6 -2
- package/dist/cta-feature-cards-grid.cjs +6 -2
- package/dist/cta-feature-cards-grid.js +6 -2
- package/dist/cta-feature-checklist.cjs +17 -13
- package/dist/cta-feature-checklist.js +16 -12
- package/dist/cta-feature-list.cjs +6 -2
- package/dist/cta-feature-list.js +6 -2
- package/dist/cta-gradient-logos-floating.cjs +6 -2
- package/dist/cta-gradient-logos-floating.js +6 -2
- package/dist/cta-gradient-stats-hero.cjs +6 -2
- package/dist/cta-gradient-stats-hero.js +6 -2
- package/dist/cta-hero-feature-cards.cjs +6 -2
- package/dist/cta-hero-feature-cards.js +6 -2
- package/dist/cta-image-overlay-arrow.cjs +6 -2
- package/dist/cta-image-overlay-arrow.js +6 -2
- package/dist/cta-newsletter-features.cjs +12 -8
- package/dist/cta-newsletter-features.js +12 -8
- package/dist/cta-platform-demo.cjs +6 -2
- package/dist/cta-platform-demo.js +6 -2
- package/dist/cta-simple-centered.cjs +6 -2
- package/dist/cta-simple-centered.js +6 -2
- package/dist/cta-split-image-logos.cjs +6 -2
- package/dist/cta-split-image-logos.js +6 -2
- package/dist/cta-video-background-hero.cjs +6 -2
- package/dist/cta-video-background-hero.js +6 -2
- package/dist/cta-workflow-tabs.cjs +6 -2
- package/dist/cta-workflow-tabs.js +6 -2
- package/dist/dynamic-icon.cjs +27 -2
- package/dist/dynamic-icon.d.cts +2 -2
- package/dist/dynamic-icon.d.ts +2 -2
- package/dist/dynamic-icon.js +7 -2
- package/dist/expandable-case-study-cards.cjs +26 -6
- package/dist/expandable-case-study-cards.js +10 -5
- package/dist/faq-badge-support.cjs +25 -21
- package/dist/faq-badge-support.js +22 -18
- package/dist/faq-bordered-badge.cjs +9 -7
- package/dist/faq-bordered-badge.js +10 -5
- package/dist/faq-card-categories.cjs +18 -14
- package/dist/faq-card-categories.js +16 -12
- package/dist/faq-categorized-sections.cjs +9 -7
- package/dist/faq-categorized-sections.js +10 -5
- package/dist/faq-centered-accordion.cjs +9 -7
- package/dist/faq-centered-accordion.js +10 -5
- package/dist/faq-gradient-categories.cjs +18 -14
- package/dist/faq-gradient-categories.js +16 -12
- package/dist/faq-icon-benefits.cjs +18 -14
- package/dist/faq-icon-benefits.js +16 -12
- package/dist/faq-muted-cards.cjs +18 -14
- package/dist/faq-muted-cards.js +16 -12
- package/dist/faq-profile-sidebar.cjs +25 -21
- package/dist/faq-profile-sidebar.js +22 -18
- package/dist/faq-rounded-cards.cjs +18 -14
- package/dist/faq-rounded-cards.js +16 -12
- package/dist/faq-sidebar-navigation.cjs +20 -16
- package/dist/faq-sidebar-navigation.js +17 -13
- package/dist/faq-simple-accordion.cjs +18 -14
- package/dist/faq-simple-accordion.js +16 -12
- package/dist/faq-split-help.cjs +25 -21
- package/dist/faq-split-help.js +22 -18
- package/dist/faq-split-hero.cjs +9 -7
- package/dist/faq-split-hero.js +10 -5
- package/dist/feature-accordion-image.cjs +20 -16
- package/dist/feature-accordion-image.js +17 -13
- package/dist/feature-animated-carousel.cjs +35 -31
- package/dist/feature-animated-carousel.js +28 -24
- package/dist/feature-badge-grid-six.cjs +20 -16
- package/dist/feature-badge-grid-six.js +16 -12
- package/dist/feature-bento-image-grid.cjs +21 -17
- package/dist/feature-bento-image-grid.js +20 -16
- package/dist/feature-bento-utilities.cjs +19 -15
- package/dist/feature-bento-utilities.js +18 -14
- package/dist/feature-capabilities-grid.cjs +18 -14
- package/dist/feature-capabilities-grid.js +17 -13
- package/dist/feature-carousel-progress.cjs +31 -27
- package/dist/feature-carousel-progress.js +26 -22
- package/dist/feature-checklist-image.cjs +6 -2
- package/dist/feature-checklist-image.js +6 -2
- package/dist/feature-checklist-three-column.cjs +22 -18
- package/dist/feature-checklist-three-column.js +16 -12
- package/dist/feature-icon-grid-accent.cjs +26 -6
- package/dist/feature-icon-grid-accent.js +10 -5
- package/dist/feature-icon-grid-bordered.cjs +18 -14
- package/dist/feature-icon-grid-bordered.js +16 -12
- package/dist/feature-icon-grid-muted.cjs +18 -14
- package/dist/feature-icon-grid-muted.js +16 -12
- package/dist/feature-icon-tabs-content.cjs +20 -16
- package/dist/feature-icon-tabs-content.js +16 -12
- package/dist/feature-image-cards-three-column.cjs +29 -25
- package/dist/feature-image-cards-three-column.js +22 -18
- package/dist/feature-image-overlay-badge.cjs +18 -14
- package/dist/feature-image-overlay-badge.js +16 -12
- package/dist/feature-numbered-cards.cjs +20 -16
- package/dist/feature-numbered-cards.js +16 -12
- package/dist/feature-pattern-grid-links.cjs +19 -15
- package/dist/feature-pattern-grid-links.js +16 -12
- package/dist/feature-showcase.cjs +6 -2
- package/dist/feature-showcase.js +6 -2
- package/dist/feature-tabbed-content-image.cjs +21 -17
- package/dist/feature-tabbed-content-image.js +19 -15
- package/dist/feature-three-column-values.cjs +18 -14
- package/dist/feature-three-column-values.js +17 -13
- package/dist/feature-utility-cards-grid.cjs +20 -16
- package/dist/feature-utility-cards-grid.js +17 -13
- package/dist/footer-accordion-social.cjs +6 -2
- package/dist/footer-accordion-social.js +6 -2
- package/dist/footer-animated-social.cjs +6 -2
- package/dist/footer-animated-social.js +6 -2
- package/dist/footer-background-card.cjs +6 -2
- package/dist/footer-background-card.js +6 -2
- package/dist/footer-brand-description.cjs +6 -2
- package/dist/footer-brand-description.js +6 -2
- package/dist/footer-brand-links-contact.cjs +6 -2
- package/dist/footer-brand-links-contact.js +6 -2
- package/dist/footer-comprehensive-links.cjs +6 -2
- package/dist/footer-comprehensive-links.js +6 -2
- package/dist/footer-contact-card.cjs +6 -2
- package/dist/footer-contact-card.js +6 -2
- package/dist/footer-cta-banner.cjs +6 -2
- package/dist/footer-cta-banner.js +6 -2
- package/dist/footer-cta-social.cjs +24 -20
- package/dist/footer-cta-social.js +22 -18
- package/dist/footer-info-cards-accordion.cjs +24 -20
- package/dist/footer-info-cards-accordion.js +23 -19
- package/dist/footer-nav-social.cjs +6 -2
- package/dist/footer-nav-social.js +6 -2
- package/dist/footer-newsletter-contact.cjs +6 -2
- package/dist/footer-newsletter-contact.js +6 -2
- package/dist/footer-newsletter-grid.cjs +6 -2
- package/dist/footer-newsletter-grid.js +6 -2
- package/dist/footer-newsletter-minimal.cjs +27 -23
- package/dist/footer-newsletter-minimal.js +26 -22
- package/dist/footer-social-apps.cjs +26 -22
- package/dist/footer-social-apps.js +22 -18
- package/dist/footer-social-newsletter.cjs +6 -2
- package/dist/footer-social-newsletter.js +6 -2
- package/dist/footer-split-image-accordion.cjs +24 -20
- package/dist/footer-split-image-accordion.js +23 -19
- package/dist/geo-map.cjs +74 -54
- package/dist/geo-map.js +73 -53
- package/dist/hero-badge-shadow-overlay.cjs +6 -2
- package/dist/hero-badge-shadow-overlay.js +6 -2
- package/dist/hero-coming-soon-countdown.cjs +6 -2
- package/dist/hero-coming-soon-countdown.js +6 -2
- package/dist/hero-conversion-video-play.cjs +29 -25
- package/dist/hero-conversion-video-play.js +26 -22
- package/dist/hero-creative-studio-stacked.cjs +19 -15
- package/dist/hero-creative-studio-stacked.js +16 -12
- package/dist/hero-dashed-border-features.cjs +6 -2
- package/dist/hero-dashed-border-features.js +6 -2
- package/dist/hero-design-carousel-portfolio.cjs +29 -25
- package/dist/hero-design-carousel-portfolio.js +26 -22
- package/dist/hero-design-system-3d.cjs +18 -14
- package/dist/hero-design-system-3d.js +16 -12
- package/dist/hero-developer-tools-code.cjs +18 -14
- package/dist/hero-developer-tools-code.js +16 -12
- package/dist/hero-ecommerce-product-showcase.cjs +20 -16
- package/dist/hero-ecommerce-product-showcase.js +17 -13
- package/dist/hero-enterprise-security.cjs +6 -2
- package/dist/hero-enterprise-security.js +6 -2
- package/dist/hero-event-registration.cjs +21 -17
- package/dist/hero-event-registration.js +17 -13
- package/dist/hero-feature-cards-grid.cjs +6 -2
- package/dist/hero-feature-cards-grid.js +6 -2
- package/dist/hero-floating-images.cjs +26 -6
- package/dist/hero-floating-images.js +10 -5
- package/dist/hero-gradient-avatars-rating.cjs +19 -15
- package/dist/hero-gradient-avatars-rating.js +16 -12
- package/dist/hero-grid-pattern-solutions.cjs +6 -2
- package/dist/hero-grid-pattern-solutions.js +6 -2
- package/dist/hero-marketplace-scattered-images.cjs +6 -2
- package/dist/hero-marketplace-scattered-images.js +6 -2
- package/dist/hero-mentorship-video-split.cjs +6 -2
- package/dist/hero-mentorship-video-split.js +6 -2
- package/dist/hero-mobile-app-download.cjs +6 -2
- package/dist/hero-mobile-app-download.js +6 -2
- package/dist/hero-overlay-cta-grid.cjs +20 -16
- package/dist/hero-overlay-cta-grid.js +16 -12
- package/dist/hero-platform-features-grid.cjs +6 -2
- package/dist/hero-platform-features-grid.js +6 -2
- package/dist/hero-portfolio-creative.cjs +6 -2
- package/dist/hero-portfolio-creative.js +6 -2
- package/dist/hero-pricing-comparison.cjs +6 -2
- package/dist/hero-pricing-comparison.js +6 -2
- package/dist/hero-product-showcase-floating.cjs +27 -23
- package/dist/hero-product-showcase-floating.js +22 -18
- package/dist/hero-saas-dashboard-preview.cjs +6 -2
- package/dist/hero-saas-dashboard-preview.js +6 -2
- package/dist/hero-simple-centered-image.cjs +5 -5
- package/dist/hero-simple-centered-image.js +5 -5
- package/dist/hero-software-growth-video-dialog.cjs +19 -15
- package/dist/hero-software-growth-video-dialog.js +16 -12
- package/dist/hero-split-icon-cards.cjs +18 -14
- package/dist/hero-split-icon-cards.js +16 -12
- package/dist/hero-video-dialog-gradient.cjs +19 -15
- package/dist/hero-video-dialog-gradient.js +16 -12
- package/dist/hero-video-overlay-stars.cjs +18 -14
- package/dist/hero-video-overlay-stars.js +16 -12
- package/dist/index.cjs +200 -180
- package/dist/index.js +104 -84
- package/dist/industries-expandable-showcase.cjs +6 -2
- package/dist/industries-expandable-showcase.js +6 -2
- package/dist/industries-hover-reveal-grid.cjs +6 -2
- package/dist/industries-hover-reveal-grid.js +6 -2
- package/dist/industries-timeline-table.cjs +6 -2
- package/dist/industries-timeline-table.js +6 -2
- package/dist/interior-carousel.cjs +33 -29
- package/dist/interior-carousel.js +26 -22
- package/dist/link-page-bento-layout.cjs +6 -2
- package/dist/link-page-bento-layout.js +6 -2
- package/dist/link-page-grid-cards.cjs +6 -2
- package/dist/link-page-grid-cards.js +6 -2
- package/dist/link-page-minimal-profile.cjs +6 -2
- package/dist/link-page-minimal-profile.js +6 -2
- package/dist/link-page-newsletter-social.cjs +6 -2
- package/dist/link-page-newsletter-social.js +6 -2
- package/dist/link-tree-block.cjs +30 -26
- package/dist/link-tree-block.js +30 -26
- package/dist/list-achievements-showcase.cjs +6 -2
- package/dist/list-achievements-showcase.js +6 -2
- package/dist/list-feature-comparison.cjs +6 -2
- package/dist/list-feature-comparison.js +6 -2
- package/dist/list-metrics-dashboard.cjs +6 -2
- package/dist/list-metrics-dashboard.js +6 -2
- package/dist/list-searchable-grid.cjs +19 -15
- package/dist/list-searchable-grid.js +18 -14
- package/dist/list-service-category-table.cjs +26 -6
- package/dist/list-service-category-table.js +10 -5
- package/dist/navbar-animated-preview.cjs +6 -2
- package/dist/navbar-animated-preview.js +6 -2
- package/dist/navbar-centered-menu.cjs +6 -2
- package/dist/navbar-centered-menu.js +6 -2
- package/dist/navbar-dark-icons.cjs +6 -2
- package/dist/navbar-dark-icons.js +6 -2
- package/dist/navbar-dropdown-menu.cjs +6 -2
- package/dist/navbar-dropdown-menu.js +6 -2
- package/dist/navbar-education-platform.cjs +6 -2
- package/dist/navbar-education-platform.js +6 -2
- package/dist/navbar-enterprise-mega.cjs +6 -2
- package/dist/navbar-enterprise-mega.js +6 -2
- package/dist/navbar-feature-grid.cjs +6 -2
- package/dist/navbar-feature-grid.js +6 -2
- package/dist/navbar-floating-pill.cjs +6 -2
- package/dist/navbar-floating-pill.js +6 -2
- package/dist/navbar-fullscreen-menu.cjs +6 -2
- package/dist/navbar-fullscreen-menu.js +6 -2
- package/dist/navbar-icon-links.cjs +6 -2
- package/dist/navbar-icon-links.js +6 -2
- package/dist/navbar-image-preview.cjs +6 -2
- package/dist/navbar-image-preview.js +6 -2
- package/dist/navbar-mega-menu.cjs +6 -2
- package/dist/navbar-mega-menu.js +6 -2
- package/dist/navbar-multi-column-groups.cjs +6 -2
- package/dist/navbar-multi-column-groups.js +6 -2
- package/dist/navbar-platform-resources.cjs +6 -2
- package/dist/navbar-platform-resources.js +6 -2
- package/dist/navbar-search-focused.cjs +6 -2
- package/dist/navbar-search-focused.js +6 -2
- package/dist/navbar-sidebar-mobile.cjs +6 -2
- package/dist/navbar-sidebar-mobile.js +6 -2
- package/dist/navbar-simple-links.cjs +6 -2
- package/dist/navbar-simple-links.js +6 -2
- package/dist/navbar-split-cta.cjs +6 -2
- package/dist/navbar-split-cta.js +6 -2
- package/dist/navbar-sticky-compact.cjs +6 -2
- package/dist/navbar-sticky-compact.js +6 -2
- package/dist/navbar-tabbed-sections.cjs +6 -2
- package/dist/navbar-tabbed-sections.js +6 -2
- package/dist/navbar-transparent-overlay.cjs +6 -2
- package/dist/navbar-transparent-overlay.js +6 -2
- package/dist/offer-modal-membership-image.cjs +6 -2
- package/dist/offer-modal-membership-image.js +6 -2
- package/dist/offer-modal-newsletter-discount.cjs +6 -2
- package/dist/offer-modal-newsletter-discount.js +6 -2
- package/dist/offer-modal-sheet-newsletter.cjs +6 -2
- package/dist/offer-modal-sheet-newsletter.js +6 -2
- package/dist/payment-platform-icon.cjs +27 -2
- package/dist/payment-platform-icon.js +7 -2
- package/dist/pricing-addons-cards.cjs +19 -15
- package/dist/pricing-addons-cards.js +16 -12
- package/dist/pricing-addons-featured.cjs +20 -16
- package/dist/pricing-addons-featured.js +16 -12
- package/dist/pricing-collapsible-plans.cjs +19 -15
- package/dist/pricing-collapsible-plans.js +16 -12
- package/dist/pricing-columns-toggle.cjs +20 -16
- package/dist/pricing-columns-toggle.js +16 -12
- package/dist/pricing-comparison-headers.cjs +21 -17
- package/dist/pricing-comparison-headers.js +16 -12
- package/dist/pricing-comparison-table.cjs +21 -17
- package/dist/pricing-comparison-table.js +16 -12
- package/dist/pricing-discount-card.cjs +18 -14
- package/dist/pricing-discount-card.js +16 -12
- package/dist/pricing-enterprise-contact.cjs +18 -14
- package/dist/pricing-enterprise-contact.js +16 -12
- package/dist/pricing-feature-matrix.cjs +19 -15
- package/dist/pricing-feature-matrix.js +16 -12
- package/dist/pricing-four-tier-toggle.cjs +20 -16
- package/dist/pricing-four-tier-toggle.js +16 -12
- package/dist/pricing-full-comparison.cjs +19 -15
- package/dist/pricing-full-comparison.js +17 -13
- package/dist/pricing-gradient-cards.cjs +20 -16
- package/dist/pricing-gradient-cards.js +16 -12
- package/dist/pricing-icon-headers.cjs +19 -15
- package/dist/pricing-icon-headers.js +16 -12
- package/dist/pricing-minimal-cards.cjs +19 -15
- package/dist/pricing-minimal-cards.js +16 -12
- package/dist/pricing-packages-radio.cjs +18 -14
- package/dist/pricing-packages-radio.js +16 -12
- package/dist/pricing-popular-highlight.cjs +20 -16
- package/dist/pricing-popular-highlight.js +16 -12
- package/dist/pricing-radio-toggle.cjs +20 -16
- package/dist/pricing-radio-toggle.js +16 -12
- package/dist/pricing-responsive-table.cjs +18 -14
- package/dist/pricing-responsive-table.js +16 -12
- package/dist/pricing-services-cards.cjs +19 -15
- package/dist/pricing-services-cards.js +16 -12
- package/dist/pricing-simple-card.cjs +18 -14
- package/dist/pricing-simple-card.js +16 -12
- package/dist/pricing-single-card.cjs +19 -15
- package/dist/pricing-single-card.js +16 -12
- package/dist/pricing-split-layout.cjs +16 -12
- package/dist/pricing-split-layout.js +16 -12
- package/dist/pricing-spotlight-card.cjs +18 -14
- package/dist/pricing-spotlight-card.js +16 -12
- package/dist/pricing-switch-cards.cjs +20 -16
- package/dist/pricing-switch-cards.js +16 -12
- package/dist/pricing-tabs-toggle.cjs +20 -16
- package/dist/pricing-tabs-toggle.js +16 -12
- package/dist/pricing-tier-grid.cjs +19 -15
- package/dist/pricing-tier-grid.js +16 -12
- package/dist/pricing-toggle-cards.cjs +20 -16
- package/dist/pricing-toggle-cards.js +16 -12
- package/dist/pricing-toggle-period.cjs +18 -14
- package/dist/pricing-toggle-period.js +16 -12
- package/dist/pricing-two-column-basic.cjs +20 -16
- package/dist/pricing-two-column-basic.js +16 -12
- package/dist/process-expandable-timeline.cjs +6 -2
- package/dist/process-expandable-timeline.js +6 -2
- package/dist/process-icon-timeline.cjs +26 -6
- package/dist/process-icon-timeline.js +10 -5
- package/dist/process-numbered-services.cjs +6 -2
- package/dist/process-numbered-services.js +6 -2
- package/dist/process-roadmap-timeline.cjs +26 -6
- package/dist/process-roadmap-timeline.js +10 -5
- package/dist/process-scroll-image.cjs +24 -20
- package/dist/process-scroll-image.js +22 -18
- package/dist/process-steps-grid.cjs +26 -6
- package/dist/process-steps-grid.js +10 -5
- package/dist/process-sticky-steps.cjs +6 -2
- package/dist/process-sticky-steps.js +6 -2
- package/dist/project-background-reveal.cjs +17 -13
- package/dist/project-background-reveal.js +16 -12
- package/dist/project-card-overlay.cjs +26 -6
- package/dist/project-card-overlay.js +10 -5
- package/dist/project-carousel-cinematic.cjs +31 -27
- package/dist/project-carousel-cinematic.js +26 -22
- package/dist/project-carousel-detail-cards.cjs +31 -27
- package/dist/project-carousel-detail-cards.js +26 -22
- package/dist/project-carousel-minimal.cjs +31 -27
- package/dist/project-carousel-minimal.js +26 -22
- package/dist/project-detail-architecture-carousel.cjs +6 -2
- package/dist/project-detail-architecture-carousel.js +6 -2
- package/dist/project-detail-list-related.cjs +6 -2
- package/dist/project-detail-list-related.js +6 -2
- package/dist/project-detail-photography-breadcrumb.cjs +6 -2
- package/dist/project-detail-photography-breadcrumb.js +6 -2
- package/dist/project-detail-tabbed-case-study.cjs +6 -2
- package/dist/project-detail-tabbed-case-study.js +6 -2
- package/dist/project-experience-quote.cjs +17 -13
- package/dist/project-experience-quote.js +16 -12
- package/dist/project-featured-carousel.cjs +27 -23
- package/dist/project-featured-carousel.js +26 -22
- package/dist/project-horizontal-cards.cjs +17 -13
- package/dist/project-horizontal-cards.js +16 -12
- package/dist/project-interactive-hover-reveal.cjs +18 -14
- package/dist/project-interactive-hover-reveal.js +16 -12
- package/dist/project-scroll-reveal.cjs +26 -6
- package/dist/project-scroll-reveal.js +10 -5
- package/dist/project-video-carousel.cjs +31 -27
- package/dist/project-video-carousel.js +26 -22
- package/dist/project-video-hover-bento.cjs +26 -6
- package/dist/project-video-hover-bento.js +10 -5
- package/dist/project-video-hover-grid.cjs +26 -6
- package/dist/project-video-hover-grid.js +10 -5
- package/dist/project-video-hover-rounded.cjs +26 -6
- package/dist/project-video-hover-rounded.js +10 -5
- package/dist/project-video-hover-stack.cjs +26 -6
- package/dist/project-video-hover-stack.js +10 -5
- package/dist/project-video-hover-two-by-two.cjs +26 -6
- package/dist/project-video-hover-two-by-two.js +10 -5
- package/dist/project-work-showcase.cjs +17 -13
- package/dist/project-work-showcase.js +16 -12
- package/dist/project-zigzag-layout.cjs +16 -12
- package/dist/project-zigzag-layout.js +16 -12
- package/dist/registry.cjs +1742 -1722
- package/dist/registry.js +512 -492
- package/dist/resource-detail-document-sidebar.cjs +6 -2
- package/dist/resource-detail-document-sidebar.js +6 -2
- package/dist/resource-detail-whitepaper-sidebar.cjs +6 -2
- package/dist/resource-detail-whitepaper-sidebar.js +6 -2
- package/dist/resource-list-course-cards.cjs +6 -2
- package/dist/resource-list-course-cards.js +6 -2
- package/dist/resource-list-featured-articles.cjs +6 -2
- package/dist/resource-list-featured-articles.js +6 -2
- package/dist/resource-list-featured-grid.cjs +6 -2
- package/dist/resource-list-featured-grid.js +6 -2
- package/dist/resource-list-hero-filter.cjs +6 -2
- package/dist/resource-list-hero-filter.js +6 -2
- package/dist/resource-list-news-updates.cjs +6 -2
- package/dist/resource-list-news-updates.js +6 -2
- package/dist/service-detail-centered-expertise.cjs +16 -12
- package/dist/service-detail-centered-expertise.js +16 -12
- package/dist/service-detail-compact-cards.cjs +16 -12
- package/dist/service-detail-compact-cards.js +16 -12
- package/dist/service-detail-sidebar-related.cjs +16 -12
- package/dist/service-detail-sidebar-related.js +16 -12
- package/dist/service-detail-sidebar-stats.cjs +27 -7
- package/dist/service-detail-sidebar-stats.js +10 -5
- package/dist/service-hover-carousel.cjs +38 -34
- package/dist/service-hover-carousel.js +26 -22
- package/dist/services-list-accordion-benefits.cjs +16 -12
- package/dist/services-list-accordion-benefits.js +16 -12
- package/dist/services-list-accordion.cjs +10 -8
- package/dist/services-list-accordion.js +10 -5
- package/dist/services-list-cards-hover.cjs +16 -12
- package/dist/services-list-cards-hover.js +16 -12
- package/dist/services-list-category-accordion.cjs +10 -8
- package/dist/services-list-category-accordion.js +10 -5
- package/dist/services-list-centered-icons.cjs +27 -7
- package/dist/services-list-centered-icons.js +10 -5
- package/dist/services-list-culture-tabs.cjs +16 -12
- package/dist/services-list-culture-tabs.js +16 -12
- package/dist/services-list-feature-spotlight.cjs +27 -7
- package/dist/services-list-feature-spotlight.js +10 -5
- package/dist/services-list-featured-highlight.cjs +16 -12
- package/dist/services-list-featured-highlight.js +16 -12
- package/dist/services-list-hero-cards.cjs +6 -2
- package/dist/services-list-hero-cards.js +6 -2
- package/dist/services-list-icon-grid.cjs +27 -7
- package/dist/services-list-icon-grid.js +10 -5
- package/dist/services-list-image-cards.cjs +6 -2
- package/dist/services-list-image-cards.js +6 -2
- package/dist/services-list-image-overlay-grid.cjs +6 -2
- package/dist/services-list-image-overlay-grid.js +6 -2
- package/dist/services-list-masonry.cjs +16 -12
- package/dist/services-list-masonry.js +16 -12
- package/dist/services-list-methodology-steps.cjs +16 -12
- package/dist/services-list-methodology-steps.js +16 -12
- package/dist/services-list-minimal-grid.cjs +16 -12
- package/dist/services-list-minimal-grid.js +16 -12
- package/dist/services-list-muted-cards.cjs +27 -7
- package/dist/services-list-muted-cards.js +10 -5
- package/dist/services-list-numbered-steps.cjs +16 -12
- package/dist/services-list-numbered-steps.js +16 -12
- package/dist/services-list-pricing-grid.cjs +16 -12
- package/dist/services-list-pricing-grid.js +16 -12
- package/dist/services-list-progress-sidebar.cjs +16 -12
- package/dist/services-list-progress-sidebar.js +16 -12
- package/dist/services-list-split-checklist.cjs +16 -12
- package/dist/services-list-split-checklist.js +16 -12
- package/dist/services-list-sticky-image.cjs +6 -2
- package/dist/services-list-sticky-image.js +6 -2
- package/dist/services-list-table-hover.cjs +6 -2
- package/dist/services-list-table-hover.js +6 -2
- package/dist/services-list-tabs-features.cjs +10 -8
- package/dist/services-list-tabs-features.js +10 -5
- package/dist/services-list-timeline.cjs +16 -12
- package/dist/services-list-timeline.js +16 -12
- package/dist/services-list-two-column-grid.cjs +16 -12
- package/dist/services-list-two-column-grid.js +16 -12
- package/dist/services-list-vertical-tags.cjs +27 -7
- package/dist/services-list-vertical-tags.js +10 -5
- package/dist/services-list-video-showcase.cjs +18 -14
- package/dist/services-list-video-showcase.js +18 -14
- package/dist/social-link-icon.cjs +6 -2
- package/dist/social-link-icon.js +6 -2
- package/dist/stats-animated-counter.cjs +17 -13
- package/dist/stats-animated-counter.js +15 -11
- package/dist/stats-card-group.cjs +26 -6
- package/dist/stats-card-group.js +10 -5
- package/dist/stats-growth-timeline.cjs +22 -18
- package/dist/stats-growth-timeline.js +16 -12
- package/dist/stats-icon-cards.cjs +26 -6
- package/dist/stats-icon-cards.js +10 -5
- package/dist/stats-impact-grid.cjs +23 -19
- package/dist/stats-impact-grid.js +16 -12
- package/dist/stats-primary-secondary.cjs +26 -6
- package/dist/stats-primary-secondary.js +10 -5
- package/dist/stats-timeline-tabs.cjs +9 -7
- package/dist/stats-timeline-tabs.js +10 -5
- package/dist/team-alternating-bios.cjs +17 -13
- package/dist/team-alternating-bios.js +17 -13
- package/dist/team-avatar-social.cjs +17 -13
- package/dist/team-avatar-social.js +17 -13
- package/dist/team-bio-badges.cjs +17 -13
- package/dist/team-bio-badges.js +17 -13
- package/dist/team-carousel-experience.cjs +27 -23
- package/dist/team-carousel-experience.js +27 -23
- package/dist/team-contact-cards.cjs +18 -14
- package/dist/team-contact-cards.js +18 -14
- package/dist/team-filterable-search.cjs +22 -18
- package/dist/team-filterable-search.js +22 -18
- package/dist/team-gradient-cards.cjs +17 -13
- package/dist/team-gradient-cards.js +17 -13
- package/dist/team-grid-animated.cjs +18 -14
- package/dist/team-grid-animated.js +18 -14
- package/dist/team-hover-highlight.cjs +17 -13
- package/dist/team-hover-highlight.js +17 -13
- package/dist/team-hover-overlay.cjs +17 -13
- package/dist/team-hover-overlay.js +17 -13
- package/dist/team-large-images.cjs +17 -13
- package/dist/team-large-images.js +17 -13
- package/dist/team-role-filter.cjs +20 -16
- package/dist/team-role-filter.js +20 -16
- package/dist/team-skill-badges.cjs +17 -13
- package/dist/team-skill-badges.js +17 -13
- package/dist/team-social-cards.cjs +17 -13
- package/dist/team-social-cards.js +17 -13
- package/dist/team-social-grid.cjs +17 -13
- package/dist/team-social-grid.js +17 -13
- package/dist/team-testimonial-stats.cjs +17 -13
- package/dist/team-testimonial-stats.js +17 -13
- package/dist/testimonial-carousel-cards.cjs +33 -29
- package/dist/testimonial-carousel-cards.js +26 -22
- package/dist/testimonials-animated-split.cjs +9 -7
- package/dist/testimonials-animated-split.js +10 -5
- package/dist/testimonials-bento-grid.cjs +9 -7
- package/dist/testimonials-bento-grid.js +10 -5
- package/dist/testimonials-carousel-image.cjs +18 -14
- package/dist/testimonials-carousel-image.js +13 -9
- package/dist/testimonials-company-logo.cjs +26 -6
- package/dist/testimonials-company-logo.js +10 -5
- package/dist/testimonials-grid-add-review.cjs +9 -7
- package/dist/testimonials-grid-add-review.js +10 -5
- package/dist/testimonials-images-helpful.cjs +21 -17
- package/dist/testimonials-images-helpful.js +16 -12
- package/dist/testimonials-large-quote.cjs +9 -7
- package/dist/testimonials-large-quote.js +10 -5
- package/dist/testimonials-list-verified.cjs +9 -7
- package/dist/testimonials-list-verified.js +10 -5
- package/dist/testimonials-mini-dividers.cjs +9 -7
- package/dist/testimonials-mini-dividers.js +10 -5
- package/dist/testimonials-minimal-numbered.cjs +9 -7
- package/dist/testimonials-minimal-numbered.js +10 -5
- package/dist/testimonials-quote-carousel.cjs +31 -27
- package/dist/testimonials-quote-carousel.js +26 -22
- package/dist/testimonials-scrolling-columns.cjs +26 -6
- package/dist/testimonials-scrolling-columns.js +10 -5
- package/dist/testimonials-split-image.cjs +9 -7
- package/dist/testimonials-split-image.js +10 -5
- package/dist/testimonials-stats-header.cjs +9 -7
- package/dist/testimonials-stats-header.js +10 -5
- package/dist/testimonials-twitter-cards.cjs +19 -15
- package/dist/testimonials-twitter-cards.js +16 -12
- package/dist/timeline-ai-workflow-cards.cjs +27 -7
- package/dist/timeline-ai-workflow-cards.js +10 -5
- package/dist/timeline-alternating-diagonal.cjs +12 -8
- package/dist/timeline-alternating-diagonal.js +12 -8
- package/dist/timeline-horizontal-icons.cjs +10 -8
- package/dist/timeline-horizontal-icons.js +10 -5
- package/dist/timeline-productivity-list.cjs +27 -7
- package/dist/timeline-productivity-list.js +10 -5
- package/dist/timeline-stepper-animated.cjs +22 -18
- package/dist/timeline-stepper-animated.js +21 -17
- package/dist/timeline-tabbed-phases.cjs +6 -2
- package/dist/timeline-tabbed-phases.js +6 -2
- package/dist/timeline-vertical-icon-dashed.cjs +6 -2
- package/dist/timeline-vertical-icon-dashed.js +6 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React6 from 'react';
|
|
3
|
+
import React6__default from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -53,7 +53,7 @@ var maxWidthStyles = {
|
|
|
53
53
|
"4xl": "max-w-[1536px]",
|
|
54
54
|
full: "max-w-full"
|
|
55
55
|
};
|
|
56
|
-
var Container =
|
|
56
|
+
var Container = React6__default.forwardRef(
|
|
57
57
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
58
58
|
const Component = as;
|
|
59
59
|
return /* @__PURE__ */ jsx(
|
|
@@ -359,7 +359,7 @@ var spacingStyles = {
|
|
|
359
359
|
};
|
|
360
360
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
361
361
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
362
|
-
var Section =
|
|
362
|
+
var Section = React6__default.forwardRef(
|
|
363
363
|
({
|
|
364
364
|
id,
|
|
365
365
|
title,
|
|
@@ -515,7 +515,7 @@ function useNavigation({
|
|
|
515
515
|
href,
|
|
516
516
|
onClick
|
|
517
517
|
} = {}) {
|
|
518
|
-
const linkType =
|
|
518
|
+
const linkType = React6.useMemo(() => {
|
|
519
519
|
if (!href || href.trim() === "") {
|
|
520
520
|
return onClick ? "none" : "none";
|
|
521
521
|
}
|
|
@@ -536,7 +536,7 @@ function useNavigation({
|
|
|
536
536
|
return "internal";
|
|
537
537
|
}
|
|
538
538
|
}, [href, onClick]);
|
|
539
|
-
const normalizedHref =
|
|
539
|
+
const normalizedHref = React6.useMemo(() => {
|
|
540
540
|
if (!href || href.trim() === "") {
|
|
541
541
|
return void 0;
|
|
542
542
|
}
|
|
@@ -554,7 +554,7 @@ function useNavigation({
|
|
|
554
554
|
return trimmed;
|
|
555
555
|
}
|
|
556
556
|
}, [href, linkType]);
|
|
557
|
-
const target =
|
|
557
|
+
const target = React6.useMemo(() => {
|
|
558
558
|
switch (linkType) {
|
|
559
559
|
case "external":
|
|
560
560
|
return "_blank";
|
|
@@ -567,7 +567,7 @@ function useNavigation({
|
|
|
567
567
|
return void 0;
|
|
568
568
|
}
|
|
569
569
|
}, [linkType]);
|
|
570
|
-
const rel =
|
|
570
|
+
const rel = React6.useMemo(() => {
|
|
571
571
|
if (linkType === "external") {
|
|
572
572
|
return "noopener noreferrer";
|
|
573
573
|
}
|
|
@@ -576,7 +576,7 @@ function useNavigation({
|
|
|
576
576
|
const isExternal = linkType === "external";
|
|
577
577
|
const isInternal = linkType === "internal";
|
|
578
578
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
579
|
-
const handleClick =
|
|
579
|
+
const handleClick = React6.useCallback(
|
|
580
580
|
(event) => {
|
|
581
581
|
if (onClick) {
|
|
582
582
|
try {
|
|
@@ -760,7 +760,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
760
760
|
size: "default"
|
|
761
761
|
}
|
|
762
762
|
});
|
|
763
|
-
var Pressable =
|
|
763
|
+
var Pressable = React6.forwardRef(
|
|
764
764
|
({
|
|
765
765
|
children,
|
|
766
766
|
className,
|
|
@@ -859,12 +859,16 @@ var Pressable = React5.forwardRef(
|
|
|
859
859
|
);
|
|
860
860
|
Pressable.displayName = "Pressable";
|
|
861
861
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
862
|
-
|
|
862
|
+
var DynamicIcon = React6.memo(function DynamicIcon2({
|
|
863
|
+
apiKey,
|
|
864
|
+
...props
|
|
865
|
+
}) {
|
|
863
866
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
864
|
-
}
|
|
865
|
-
|
|
867
|
+
});
|
|
868
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
869
|
+
var CarouselContext = React6.createContext(null);
|
|
866
870
|
function useCarousel() {
|
|
867
|
-
const context =
|
|
871
|
+
const context = React6.useContext(CarouselContext);
|
|
868
872
|
if (!context) {
|
|
869
873
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
870
874
|
}
|
|
@@ -886,20 +890,20 @@ function Carousel({
|
|
|
886
890
|
},
|
|
887
891
|
plugins
|
|
888
892
|
);
|
|
889
|
-
const [canScrollPrev, setCanScrollPrev] =
|
|
890
|
-
const [canScrollNext, setCanScrollNext] =
|
|
891
|
-
const onSelect =
|
|
893
|
+
const [canScrollPrev, setCanScrollPrev] = React6.useState(false);
|
|
894
|
+
const [canScrollNext, setCanScrollNext] = React6.useState(false);
|
|
895
|
+
const onSelect = React6.useCallback((api2) => {
|
|
892
896
|
if (!api2) return;
|
|
893
897
|
setCanScrollPrev(api2.canScrollPrev());
|
|
894
898
|
setCanScrollNext(api2.canScrollNext());
|
|
895
899
|
}, []);
|
|
896
|
-
const scrollPrev =
|
|
900
|
+
const scrollPrev = React6.useCallback(() => {
|
|
897
901
|
api?.scrollPrev();
|
|
898
902
|
}, [api]);
|
|
899
|
-
const scrollNext =
|
|
903
|
+
const scrollNext = React6.useCallback(() => {
|
|
900
904
|
api?.scrollNext();
|
|
901
905
|
}, [api]);
|
|
902
|
-
const handleKeyDown =
|
|
906
|
+
const handleKeyDown = React6.useCallback(
|
|
903
907
|
(event) => {
|
|
904
908
|
if (event.key === "ArrowLeft") {
|
|
905
909
|
event.preventDefault();
|
|
@@ -911,11 +915,11 @@ function Carousel({
|
|
|
911
915
|
},
|
|
912
916
|
[scrollPrev, scrollNext]
|
|
913
917
|
);
|
|
914
|
-
|
|
918
|
+
React6.useEffect(() => {
|
|
915
919
|
if (!api || !setApi) return;
|
|
916
920
|
setApi(api);
|
|
917
921
|
}, [api, setApi]);
|
|
918
|
-
|
|
922
|
+
React6.useEffect(() => {
|
|
919
923
|
if (!api) return;
|
|
920
924
|
onSelect(api);
|
|
921
925
|
api.on("reInit", onSelect);
|
|
@@ -1070,7 +1074,7 @@ function TeamCarouselExperience({
|
|
|
1070
1074
|
memberRoleClassName,
|
|
1071
1075
|
optixFlowConfig
|
|
1072
1076
|
}) {
|
|
1073
|
-
const renderMembers =
|
|
1077
|
+
const renderMembers = React6.useMemo(() => {
|
|
1074
1078
|
if (membersSlot) return membersSlot;
|
|
1075
1079
|
if (!members || members.length === 0) return null;
|
|
1076
1080
|
return members.map((member, idx) => /* @__PURE__ */ jsx(CarouselItem, { className: "max-w-72", children: /* @__PURE__ */ jsxs(
|
|
@@ -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 jsxRuntime = require('react/jsx-runtime');
|
|
@@ -27,7 +27,7 @@ function _interopNamespace(e) {
|
|
|
27
27
|
return Object.freeze(n);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var React4__namespace = /*#__PURE__*/_interopNamespace(React4);
|
|
31
31
|
|
|
32
32
|
// components/blocks/team/team-contact-cards.tsx
|
|
33
33
|
function cn(...inputs) {
|
|
@@ -72,7 +72,7 @@ var maxWidthStyles = {
|
|
|
72
72
|
"4xl": "max-w-[1536px]",
|
|
73
73
|
full: "max-w-full"
|
|
74
74
|
};
|
|
75
|
-
var Container =
|
|
75
|
+
var Container = React4__namespace.default.forwardRef(
|
|
76
76
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
77
77
|
const Component = as;
|
|
78
78
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -378,7 +378,7 @@ var spacingStyles = {
|
|
|
378
378
|
};
|
|
379
379
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
380
380
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
381
|
-
var Section =
|
|
381
|
+
var Section = React4__namespace.default.forwardRef(
|
|
382
382
|
({
|
|
383
383
|
id,
|
|
384
384
|
title,
|
|
@@ -463,9 +463,13 @@ function CardContent({ className, ...props }) {
|
|
|
463
463
|
);
|
|
464
464
|
}
|
|
465
465
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
466
|
-
|
|
466
|
+
var DynamicIcon = React4__namespace.memo(function DynamicIcon2({
|
|
467
|
+
apiKey,
|
|
468
|
+
...props
|
|
469
|
+
}) {
|
|
467
470
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
468
|
-
}
|
|
471
|
+
});
|
|
472
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
469
473
|
function normalizePhoneNumber(input) {
|
|
470
474
|
const trimmed = input.trim();
|
|
471
475
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -541,7 +545,7 @@ function useNavigation({
|
|
|
541
545
|
href,
|
|
542
546
|
onClick
|
|
543
547
|
} = {}) {
|
|
544
|
-
const linkType =
|
|
548
|
+
const linkType = React4__namespace.useMemo(() => {
|
|
545
549
|
if (!href || href.trim() === "") {
|
|
546
550
|
return onClick ? "none" : "none";
|
|
547
551
|
}
|
|
@@ -562,7 +566,7 @@ function useNavigation({
|
|
|
562
566
|
return "internal";
|
|
563
567
|
}
|
|
564
568
|
}, [href, onClick]);
|
|
565
|
-
const normalizedHref =
|
|
569
|
+
const normalizedHref = React4__namespace.useMemo(() => {
|
|
566
570
|
if (!href || href.trim() === "") {
|
|
567
571
|
return void 0;
|
|
568
572
|
}
|
|
@@ -580,7 +584,7 @@ function useNavigation({
|
|
|
580
584
|
return trimmed;
|
|
581
585
|
}
|
|
582
586
|
}, [href, linkType]);
|
|
583
|
-
const target =
|
|
587
|
+
const target = React4__namespace.useMemo(() => {
|
|
584
588
|
switch (linkType) {
|
|
585
589
|
case "external":
|
|
586
590
|
return "_blank";
|
|
@@ -593,7 +597,7 @@ function useNavigation({
|
|
|
593
597
|
return void 0;
|
|
594
598
|
}
|
|
595
599
|
}, [linkType]);
|
|
596
|
-
const rel =
|
|
600
|
+
const rel = React4__namespace.useMemo(() => {
|
|
597
601
|
if (linkType === "external") {
|
|
598
602
|
return "noopener noreferrer";
|
|
599
603
|
}
|
|
@@ -602,7 +606,7 @@ function useNavigation({
|
|
|
602
606
|
const isExternal = linkType === "external";
|
|
603
607
|
const isInternal = linkType === "internal";
|
|
604
608
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
605
|
-
const handleClick =
|
|
609
|
+
const handleClick = React4__namespace.useCallback(
|
|
606
610
|
(event) => {
|
|
607
611
|
if (onClick) {
|
|
608
612
|
try {
|
|
@@ -786,7 +790,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
786
790
|
size: "default"
|
|
787
791
|
}
|
|
788
792
|
});
|
|
789
|
-
var Pressable =
|
|
793
|
+
var Pressable = React4__namespace.forwardRef(
|
|
790
794
|
({
|
|
791
795
|
children,
|
|
792
796
|
className,
|
|
@@ -907,7 +911,7 @@ function TeamContactCards({
|
|
|
907
911
|
socialLinksClassName,
|
|
908
912
|
optixFlowConfig
|
|
909
913
|
}) {
|
|
910
|
-
const getStatusColor =
|
|
914
|
+
const getStatusColor = React4__namespace.useCallback((status) => {
|
|
911
915
|
switch (status) {
|
|
912
916
|
case "active":
|
|
913
917
|
return "bg-success";
|
|
@@ -917,7 +921,7 @@ function TeamContactCards({
|
|
|
917
921
|
return getTextColor(background, "muted");
|
|
918
922
|
}
|
|
919
923
|
}, [background]);
|
|
920
|
-
const renderMembers =
|
|
924
|
+
const renderMembers = React4__namespace.useMemo(() => {
|
|
921
925
|
if (membersSlot) return membersSlot;
|
|
922
926
|
if (!members || members.length === 0) return null;
|
|
923
927
|
return members.map((member) => /* @__PURE__ */ jsxRuntime.jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxRuntime.jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React4 from 'react';
|
|
3
|
+
import React4__default from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -51,7 +51,7 @@ var maxWidthStyles = {
|
|
|
51
51
|
"4xl": "max-w-[1536px]",
|
|
52
52
|
full: "max-w-full"
|
|
53
53
|
};
|
|
54
|
-
var Container =
|
|
54
|
+
var Container = React4__default.forwardRef(
|
|
55
55
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
56
56
|
const Component = as;
|
|
57
57
|
return /* @__PURE__ */ jsx(
|
|
@@ -357,7 +357,7 @@ var spacingStyles = {
|
|
|
357
357
|
};
|
|
358
358
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
359
359
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
360
|
-
var Section =
|
|
360
|
+
var Section = React4__default.forwardRef(
|
|
361
361
|
({
|
|
362
362
|
id,
|
|
363
363
|
title,
|
|
@@ -442,9 +442,13 @@ function CardContent({ className, ...props }) {
|
|
|
442
442
|
);
|
|
443
443
|
}
|
|
444
444
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
445
|
-
|
|
445
|
+
var DynamicIcon = React4.memo(function DynamicIcon2({
|
|
446
|
+
apiKey,
|
|
447
|
+
...props
|
|
448
|
+
}) {
|
|
446
449
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
447
|
-
}
|
|
450
|
+
});
|
|
451
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
448
452
|
function normalizePhoneNumber(input) {
|
|
449
453
|
const trimmed = input.trim();
|
|
450
454
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -520,7 +524,7 @@ function useNavigation({
|
|
|
520
524
|
href,
|
|
521
525
|
onClick
|
|
522
526
|
} = {}) {
|
|
523
|
-
const linkType =
|
|
527
|
+
const linkType = React4.useMemo(() => {
|
|
524
528
|
if (!href || href.trim() === "") {
|
|
525
529
|
return onClick ? "none" : "none";
|
|
526
530
|
}
|
|
@@ -541,7 +545,7 @@ function useNavigation({
|
|
|
541
545
|
return "internal";
|
|
542
546
|
}
|
|
543
547
|
}, [href, onClick]);
|
|
544
|
-
const normalizedHref =
|
|
548
|
+
const normalizedHref = React4.useMemo(() => {
|
|
545
549
|
if (!href || href.trim() === "") {
|
|
546
550
|
return void 0;
|
|
547
551
|
}
|
|
@@ -559,7 +563,7 @@ function useNavigation({
|
|
|
559
563
|
return trimmed;
|
|
560
564
|
}
|
|
561
565
|
}, [href, linkType]);
|
|
562
|
-
const target =
|
|
566
|
+
const target = React4.useMemo(() => {
|
|
563
567
|
switch (linkType) {
|
|
564
568
|
case "external":
|
|
565
569
|
return "_blank";
|
|
@@ -572,7 +576,7 @@ function useNavigation({
|
|
|
572
576
|
return void 0;
|
|
573
577
|
}
|
|
574
578
|
}, [linkType]);
|
|
575
|
-
const rel =
|
|
579
|
+
const rel = React4.useMemo(() => {
|
|
576
580
|
if (linkType === "external") {
|
|
577
581
|
return "noopener noreferrer";
|
|
578
582
|
}
|
|
@@ -581,7 +585,7 @@ function useNavigation({
|
|
|
581
585
|
const isExternal = linkType === "external";
|
|
582
586
|
const isInternal = linkType === "internal";
|
|
583
587
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
584
|
-
const handleClick =
|
|
588
|
+
const handleClick = React4.useCallback(
|
|
585
589
|
(event) => {
|
|
586
590
|
if (onClick) {
|
|
587
591
|
try {
|
|
@@ -765,7 +769,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
765
769
|
size: "default"
|
|
766
770
|
}
|
|
767
771
|
});
|
|
768
|
-
var Pressable =
|
|
772
|
+
var Pressable = React4.forwardRef(
|
|
769
773
|
({
|
|
770
774
|
children,
|
|
771
775
|
className,
|
|
@@ -886,7 +890,7 @@ function TeamContactCards({
|
|
|
886
890
|
socialLinksClassName,
|
|
887
891
|
optixFlowConfig
|
|
888
892
|
}) {
|
|
889
|
-
const getStatusColor =
|
|
893
|
+
const getStatusColor = React4.useCallback((status) => {
|
|
890
894
|
switch (status) {
|
|
891
895
|
case "active":
|
|
892
896
|
return "bg-success";
|
|
@@ -896,7 +900,7 @@ function TeamContactCards({
|
|
|
896
900
|
return getTextColor(background, "muted");
|
|
897
901
|
}
|
|
898
902
|
}, [background]);
|
|
899
|
-
const renderMembers =
|
|
903
|
+
const renderMembers = React4.useMemo(() => {
|
|
900
904
|
if (membersSlot) return membersSlot;
|
|
901
905
|
if (!members || members.length === 0) return null;
|
|
902
906
|
return members.map((member) => /* @__PURE__ */ jsx(Card, { className: cn("p-0", memberCardClassName), children: /* @__PURE__ */ jsxs(CardContent, { className: "p-6!", children: [
|
|
@@ -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 jsxRuntime = require('react/jsx-runtime');
|
|
@@ -28,7 +28,7 @@ function _interopNamespace(e) {
|
|
|
28
28
|
return Object.freeze(n);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var React6__namespace = /*#__PURE__*/_interopNamespace(React6);
|
|
32
32
|
var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
|
|
33
33
|
|
|
34
34
|
// components/blocks/team/team-filterable-search.tsx
|
|
@@ -104,7 +104,7 @@ var maxWidthStyles = {
|
|
|
104
104
|
"4xl": "max-w-[1536px]",
|
|
105
105
|
full: "max-w-full"
|
|
106
106
|
};
|
|
107
|
-
var Container =
|
|
107
|
+
var Container = React6__namespace.default.forwardRef(
|
|
108
108
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
109
109
|
const Component = as;
|
|
110
110
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -410,7 +410,7 @@ var spacingStyles = {
|
|
|
410
410
|
};
|
|
411
411
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
412
412
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
413
|
-
var Section =
|
|
413
|
+
var Section = React6__namespace.default.forwardRef(
|
|
414
414
|
({
|
|
415
415
|
id,
|
|
416
416
|
title,
|
|
@@ -565,9 +565,13 @@ function Input({ className, type, ...props }) {
|
|
|
565
565
|
);
|
|
566
566
|
}
|
|
567
567
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
568
|
-
|
|
568
|
+
var DynamicIcon = React6__namespace.memo(function DynamicIcon2({
|
|
569
|
+
apiKey,
|
|
570
|
+
...props
|
|
571
|
+
}) {
|
|
569
572
|
return /* @__PURE__ */ jsxRuntime.jsx(icon.Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
570
|
-
}
|
|
573
|
+
});
|
|
574
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
571
575
|
function normalizePhoneNumber(input) {
|
|
572
576
|
const trimmed = input.trim();
|
|
573
577
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -643,7 +647,7 @@ function useNavigation({
|
|
|
643
647
|
href,
|
|
644
648
|
onClick
|
|
645
649
|
} = {}) {
|
|
646
|
-
const linkType =
|
|
650
|
+
const linkType = React6__namespace.useMemo(() => {
|
|
647
651
|
if (!href || href.trim() === "") {
|
|
648
652
|
return onClick ? "none" : "none";
|
|
649
653
|
}
|
|
@@ -664,7 +668,7 @@ function useNavigation({
|
|
|
664
668
|
return "internal";
|
|
665
669
|
}
|
|
666
670
|
}, [href, onClick]);
|
|
667
|
-
const normalizedHref =
|
|
671
|
+
const normalizedHref = React6__namespace.useMemo(() => {
|
|
668
672
|
if (!href || href.trim() === "") {
|
|
669
673
|
return void 0;
|
|
670
674
|
}
|
|
@@ -682,7 +686,7 @@ function useNavigation({
|
|
|
682
686
|
return trimmed;
|
|
683
687
|
}
|
|
684
688
|
}, [href, linkType]);
|
|
685
|
-
const target =
|
|
689
|
+
const target = React6__namespace.useMemo(() => {
|
|
686
690
|
switch (linkType) {
|
|
687
691
|
case "external":
|
|
688
692
|
return "_blank";
|
|
@@ -695,7 +699,7 @@ function useNavigation({
|
|
|
695
699
|
return void 0;
|
|
696
700
|
}
|
|
697
701
|
}, [linkType]);
|
|
698
|
-
const rel =
|
|
702
|
+
const rel = React6__namespace.useMemo(() => {
|
|
699
703
|
if (linkType === "external") {
|
|
700
704
|
return "noopener noreferrer";
|
|
701
705
|
}
|
|
@@ -704,7 +708,7 @@ function useNavigation({
|
|
|
704
708
|
const isExternal = linkType === "external";
|
|
705
709
|
const isInternal = linkType === "internal";
|
|
706
710
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
707
|
-
const handleClick =
|
|
711
|
+
const handleClick = React6__namespace.useCallback(
|
|
708
712
|
(event) => {
|
|
709
713
|
if (onClick) {
|
|
710
714
|
try {
|
|
@@ -888,7 +892,7 @@ var buttonVariants = classVarianceAuthority.cva(baseStyles, {
|
|
|
888
892
|
size: "default"
|
|
889
893
|
}
|
|
890
894
|
});
|
|
891
|
-
var Pressable =
|
|
895
|
+
var Pressable = React6__namespace.forwardRef(
|
|
892
896
|
({
|
|
893
897
|
children,
|
|
894
898
|
className,
|
|
@@ -1015,20 +1019,20 @@ function TeamFilterableSearch({
|
|
|
1015
1019
|
emptyStateClassName,
|
|
1016
1020
|
emptyStateMessage
|
|
1017
1021
|
}) {
|
|
1018
|
-
const [searchQuery, setSearchQuery] =
|
|
1019
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
1020
|
-
const departments =
|
|
1022
|
+
const [searchQuery, setSearchQuery] = React6__namespace.useState("");
|
|
1023
|
+
const [selectedDepartment, setSelectedDepartment] = React6__namespace.useState("All");
|
|
1024
|
+
const departments = React6__namespace.useMemo(() => {
|
|
1021
1025
|
const depts = new Set(members.map((m) => m.department));
|
|
1022
1026
|
return ["All", ...Array.from(depts)];
|
|
1023
1027
|
}, [members]);
|
|
1024
|
-
const filteredMembers =
|
|
1028
|
+
const filteredMembers = React6__namespace.useMemo(() => {
|
|
1025
1029
|
return members.filter((member) => {
|
|
1026
1030
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
1027
1031
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
1028
1032
|
return matchesSearch && matchesDepartment;
|
|
1029
1033
|
});
|
|
1030
1034
|
}, [members, searchQuery, selectedDepartment]);
|
|
1031
|
-
const renderFilters =
|
|
1035
|
+
const renderFilters = React6__namespace.useMemo(() => {
|
|
1032
1036
|
if (filtersSlot) return filtersSlot;
|
|
1033
1037
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1034
1038
|
"div",
|
|
@@ -1083,7 +1087,7 @@ function TeamFilterableSearch({
|
|
|
1083
1087
|
selectedDepartment,
|
|
1084
1088
|
filterButtonClassName
|
|
1085
1089
|
]);
|
|
1086
|
-
const renderMembers =
|
|
1090
|
+
const renderMembers = React6__namespace.useMemo(() => {
|
|
1087
1091
|
if (membersSlot) return membersSlot;
|
|
1088
1092
|
return filteredMembers.map((member) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1089
1093
|
"div",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
2
|
+
import * as React6 from 'react';
|
|
3
|
+
import React6__default from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -82,7 +82,7 @@ var maxWidthStyles = {
|
|
|
82
82
|
"4xl": "max-w-[1536px]",
|
|
83
83
|
full: "max-w-full"
|
|
84
84
|
};
|
|
85
|
-
var Container =
|
|
85
|
+
var Container = React6__default.forwardRef(
|
|
86
86
|
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
87
87
|
const Component = as;
|
|
88
88
|
return /* @__PURE__ */ jsx(
|
|
@@ -388,7 +388,7 @@ var spacingStyles = {
|
|
|
388
388
|
};
|
|
389
389
|
var predefinedSpacings = ["none", "sm", "md", "lg", "xl", "hero"];
|
|
390
390
|
var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
|
|
391
|
-
var Section =
|
|
391
|
+
var Section = React6__default.forwardRef(
|
|
392
392
|
({
|
|
393
393
|
id,
|
|
394
394
|
title,
|
|
@@ -543,9 +543,13 @@ function Input({ className, type, ...props }) {
|
|
|
543
543
|
);
|
|
544
544
|
}
|
|
545
545
|
var DEFAULT_ICON_API_KEY = "au382bi7fsh96w9h9xlrnat2jglx";
|
|
546
|
-
|
|
546
|
+
var DynamicIcon = React6.memo(function DynamicIcon2({
|
|
547
|
+
apiKey,
|
|
548
|
+
...props
|
|
549
|
+
}) {
|
|
547
550
|
return /* @__PURE__ */ jsx(Icon, { ...props, apiKey: apiKey ?? DEFAULT_ICON_API_KEY });
|
|
548
|
-
}
|
|
551
|
+
});
|
|
552
|
+
DynamicIcon.displayName = "DynamicIcon";
|
|
549
553
|
function normalizePhoneNumber(input) {
|
|
550
554
|
const trimmed = input.trim();
|
|
551
555
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -621,7 +625,7 @@ function useNavigation({
|
|
|
621
625
|
href,
|
|
622
626
|
onClick
|
|
623
627
|
} = {}) {
|
|
624
|
-
const linkType =
|
|
628
|
+
const linkType = React6.useMemo(() => {
|
|
625
629
|
if (!href || href.trim() === "") {
|
|
626
630
|
return onClick ? "none" : "none";
|
|
627
631
|
}
|
|
@@ -642,7 +646,7 @@ function useNavigation({
|
|
|
642
646
|
return "internal";
|
|
643
647
|
}
|
|
644
648
|
}, [href, onClick]);
|
|
645
|
-
const normalizedHref =
|
|
649
|
+
const normalizedHref = React6.useMemo(() => {
|
|
646
650
|
if (!href || href.trim() === "") {
|
|
647
651
|
return void 0;
|
|
648
652
|
}
|
|
@@ -660,7 +664,7 @@ function useNavigation({
|
|
|
660
664
|
return trimmed;
|
|
661
665
|
}
|
|
662
666
|
}, [href, linkType]);
|
|
663
|
-
const target =
|
|
667
|
+
const target = React6.useMemo(() => {
|
|
664
668
|
switch (linkType) {
|
|
665
669
|
case "external":
|
|
666
670
|
return "_blank";
|
|
@@ -673,7 +677,7 @@ function useNavigation({
|
|
|
673
677
|
return void 0;
|
|
674
678
|
}
|
|
675
679
|
}, [linkType]);
|
|
676
|
-
const rel =
|
|
680
|
+
const rel = React6.useMemo(() => {
|
|
677
681
|
if (linkType === "external") {
|
|
678
682
|
return "noopener noreferrer";
|
|
679
683
|
}
|
|
@@ -682,7 +686,7 @@ function useNavigation({
|
|
|
682
686
|
const isExternal = linkType === "external";
|
|
683
687
|
const isInternal = linkType === "internal";
|
|
684
688
|
const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
|
|
685
|
-
const handleClick =
|
|
689
|
+
const handleClick = React6.useCallback(
|
|
686
690
|
(event) => {
|
|
687
691
|
if (onClick) {
|
|
688
692
|
try {
|
|
@@ -866,7 +870,7 @@ var buttonVariants = cva(baseStyles, {
|
|
|
866
870
|
size: "default"
|
|
867
871
|
}
|
|
868
872
|
});
|
|
869
|
-
var Pressable =
|
|
873
|
+
var Pressable = React6.forwardRef(
|
|
870
874
|
({
|
|
871
875
|
children,
|
|
872
876
|
className,
|
|
@@ -993,20 +997,20 @@ function TeamFilterableSearch({
|
|
|
993
997
|
emptyStateClassName,
|
|
994
998
|
emptyStateMessage
|
|
995
999
|
}) {
|
|
996
|
-
const [searchQuery, setSearchQuery] =
|
|
997
|
-
const [selectedDepartment, setSelectedDepartment] =
|
|
998
|
-
const departments =
|
|
1000
|
+
const [searchQuery, setSearchQuery] = React6.useState("");
|
|
1001
|
+
const [selectedDepartment, setSelectedDepartment] = React6.useState("All");
|
|
1002
|
+
const departments = React6.useMemo(() => {
|
|
999
1003
|
const depts = new Set(members.map((m) => m.department));
|
|
1000
1004
|
return ["All", ...Array.from(depts)];
|
|
1001
1005
|
}, [members]);
|
|
1002
|
-
const filteredMembers =
|
|
1006
|
+
const filteredMembers = React6.useMemo(() => {
|
|
1003
1007
|
return members.filter((member) => {
|
|
1004
1008
|
const matchesSearch = searchQuery === "" || member.name.toLowerCase().includes(searchQuery.toLowerCase()) || member.role.toLowerCase().includes(searchQuery.toLowerCase()) || member.description.toLowerCase().includes(searchQuery.toLowerCase());
|
|
1005
1009
|
const matchesDepartment = selectedDepartment === "All" || member.department === selectedDepartment;
|
|
1006
1010
|
return matchesSearch && matchesDepartment;
|
|
1007
1011
|
});
|
|
1008
1012
|
}, [members, searchQuery, selectedDepartment]);
|
|
1009
|
-
const renderFilters =
|
|
1013
|
+
const renderFilters = React6.useMemo(() => {
|
|
1010
1014
|
if (filtersSlot) return filtersSlot;
|
|
1011
1015
|
return /* @__PURE__ */ jsxs(
|
|
1012
1016
|
"div",
|
|
@@ -1061,7 +1065,7 @@ function TeamFilterableSearch({
|
|
|
1061
1065
|
selectedDepartment,
|
|
1062
1066
|
filterButtonClassName
|
|
1063
1067
|
]);
|
|
1064
|
-
const renderMembers =
|
|
1068
|
+
const renderMembers = React6.useMemo(() => {
|
|
1065
1069
|
if (membersSlot) return membersSlot;
|
|
1066
1070
|
return filteredMembers.map((member) => /* @__PURE__ */ jsx(
|
|
1067
1071
|
"div",
|