@opensite/ui 0.8.5 → 0.8.7
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-developer-profile.cjs +1 -1
- package/dist/about-developer-profile.js +1 -1
- package/dist/about-interactive-tabs.cjs +1 -1
- package/dist/about-interactive-tabs.js +1 -1
- package/dist/about-location-info-hero.cjs +5 -5
- package/dist/about-location-info-hero.js +5 -5
- package/dist/about-mission-features.cjs +3 -3
- package/dist/about-mission-features.js +3 -3
- package/dist/about-mission-principles.cjs +1 -1
- package/dist/about-mission-principles.js +1 -1
- package/dist/about-network-spotlight.cjs +6 -6
- package/dist/about-network-spotlight.js +6 -6
- package/dist/about-split-hero.cjs +4 -4
- package/dist/about-split-hero.js +4 -4
- package/dist/about-startup-team.cjs +3 -3
- package/dist/about-startup-team.js +3 -3
- package/dist/about-story-expertise.cjs +4 -4
- package/dist/about-story-expertise.js +4 -4
- package/dist/article-breadcrumb-social.cjs +1 -1
- package/dist/article-breadcrumb-social.js +1 -1
- package/dist/article-chapters-author.cjs +1 -1
- package/dist/article-chapters-author.js +1 -1
- package/dist/article-compact-toc.cjs +1 -1
- package/dist/article-compact-toc.js +1 -1
- package/dist/article-split-animated.cjs +1 -1
- package/dist/article-split-animated.js +1 -1
- package/dist/article-toc-sidebar.cjs +1 -1
- package/dist/article-toc-sidebar.js +1 -1
- package/dist/banner-countdown-sale.cjs +1 -1
- package/dist/banner-countdown-sale.js +1 -1
- package/dist/banner-social-follow.cjs +1 -1
- package/dist/banner-social-follow.js +1 -1
- package/dist/blog-cards-tagline-cta.cjs +1 -1
- package/dist/blog-cards-tagline-cta.js +1 -1
- package/dist/blog-horizontal-timeline.cjs +2 -2
- package/dist/blog-horizontal-timeline.js +2 -2
- package/dist/blog-tech-insights.cjs +6 -6
- package/dist/blog-tech-insights.js +6 -6
- package/dist/carousel-animated-sections.cjs +7 -8
- package/dist/carousel-animated-sections.js +7 -8
- package/dist/carousel-auto-progress-slides.cjs +7 -7
- package/dist/carousel-auto-progress-slides.js +7 -7
- package/dist/carousel-autoplay-progress.cjs +3 -3
- package/dist/carousel-autoplay-progress.js +3 -3
- package/dist/carousel-fullscreen-scroll-fx.cjs +7 -7
- package/dist/carousel-fullscreen-scroll-fx.js +7 -7
- package/dist/carousel-horizontal-cards.cjs +1 -1
- package/dist/carousel-horizontal-cards.js +1 -1
- package/dist/carousel-icon-sidebar.cjs +3 -3
- package/dist/carousel-icon-sidebar.js +3 -3
- package/dist/carousel-image-hero.cjs +2 -2
- package/dist/carousel-image-hero.js +2 -2
- package/dist/carousel-multi-step-showcase.cjs +1 -1
- package/dist/carousel-multi-step-showcase.js +1 -1
- package/dist/carousel-portfolio-hero.cjs +5 -5
- package/dist/carousel-portfolio-hero.js +5 -5
- package/dist/carousel-progress-slider.cjs +1 -1
- package/dist/carousel-progress-slider.js +1 -1
- package/dist/case-studies-image-grid.cjs +2 -2
- package/dist/case-studies-image-grid.js +2 -2
- package/dist/case-studies-stats-card.cjs +1 -1
- package/dist/case-studies-stats-card.js +1 -1
- package/dist/case-study-prose-sidebar.cjs +1 -1
- package/dist/case-study-prose-sidebar.js +1 -1
- package/dist/case-study-toc-social-sidebar.cjs +1 -1
- package/dist/case-study-toc-social-sidebar.js +1 -1
- package/dist/comparison-ai-models.cjs +15 -15
- package/dist/comparison-ai-models.js +15 -15
- package/dist/comparison-feature-cards.cjs +1 -1
- package/dist/comparison-feature-cards.js +1 -1
- package/dist/comparison-feature-grid.cjs +1 -1
- package/dist/comparison-feature-grid.js +1 -1
- package/dist/comparison-metrics-rows.cjs +6 -6
- package/dist/comparison-metrics-rows.js +6 -6
- package/dist/comparison-table-tabs.cjs +5 -5
- package/dist/comparison-table-tabs.js +5 -5
- package/dist/comparison-table-tooltips.cjs +1 -1
- package/dist/comparison-table-tooltips.js +1 -1
- package/dist/comparison-table-two-column.cjs +2 -2
- package/dist/comparison-table-two-column.js +2 -2
- package/dist/components.cjs +22 -23
- package/dist/components.js +22 -23
- package/dist/contact-emergency.cjs +1 -1
- package/dist/contact-emergency.js +1 -1
- package/dist/contact-help-center.cjs +3 -3
- package/dist/contact-help-center.js +3 -3
- package/dist/cta-background-icon-badge.cjs +1 -1
- package/dist/cta-background-icon-badge.js +1 -1
- package/dist/cta-enterprise-dark-features.cjs +5 -5
- package/dist/cta-enterprise-dark-features.js +5 -5
- package/dist/cta-fullwidth-background.cjs +1 -1
- package/dist/cta-fullwidth-background.js +1 -1
- package/dist/cta-hero-feature-cards.cjs +3 -3
- package/dist/cta-hero-feature-cards.js +3 -3
- package/dist/cta-image-overlay-arrow.cjs +1 -1
- package/dist/cta-image-overlay-arrow.js +1 -1
- package/dist/cta-image-overlay-centered.cjs +2 -2
- package/dist/cta-image-overlay-centered.js +2 -2
- package/dist/cta-split-gradient-image.cjs +1 -1
- package/dist/cta-split-gradient-image.js +1 -1
- package/dist/cta-video-background-hero.cjs +3 -3
- package/dist/cta-video-background-hero.js +3 -3
- package/dist/cta-workflow-tabs.cjs +1 -1
- package/dist/cta-workflow-tabs.js +1 -1
- package/dist/faq-badge-support.cjs +26 -8
- package/dist/faq-badge-support.js +26 -8
- package/dist/faq-bordered-badge.cjs +26 -10
- package/dist/faq-bordered-badge.js +26 -10
- package/dist/faq-card-categories.cjs +21 -5
- package/dist/faq-card-categories.js +21 -5
- package/dist/faq-categorized-sections.cjs +20 -5
- package/dist/faq-categorized-sections.js +20 -5
- package/dist/faq-centered-accordion.cjs +19 -6
- package/dist/faq-centered-accordion.js +19 -6
- package/dist/faq-gradient-categories.cjs +20 -5
- package/dist/faq-gradient-categories.js +20 -5
- package/dist/faq-icon-benefits.cjs +11 -2
- package/dist/faq-icon-benefits.js +11 -2
- package/dist/faq-muted-cards.cjs +20 -7
- package/dist/faq-muted-cards.js +20 -7
- package/dist/faq-numbered-grid.cjs +11 -3
- package/dist/faq-numbered-grid.js +11 -3
- package/dist/faq-numbered-list.cjs +11 -3
- package/dist/faq-numbered-list.js +11 -3
- package/dist/faq-profile-sidebar.cjs +60 -23
- package/dist/faq-profile-sidebar.js +60 -23
- package/dist/faq-rounded-cards.cjs +24 -29
- package/dist/faq-rounded-cards.js +24 -29
- package/dist/faq-sidebar-navigation.cjs +49 -29
- package/dist/faq-sidebar-navigation.js +49 -29
- package/dist/faq-simple-accordion.cjs +18 -5
- package/dist/faq-simple-accordion.js +18 -5
- package/dist/faq-split-help.cjs +36 -21
- package/dist/faq-split-help.js +36 -21
- package/dist/faq-split-hero.cjs +86 -186
- package/dist/faq-split-hero.d.cts +16 -18
- package/dist/faq-split-hero.d.ts +16 -18
- package/dist/faq-split-hero.js +87 -187
- package/dist/faq-static-list.cjs +10 -3
- package/dist/faq-static-list.js +10 -3
- package/dist/feature-accordion-image.cjs +9 -3
- package/dist/feature-accordion-image.js +9 -3
- package/dist/feature-bento-utilities.cjs +1 -1
- package/dist/feature-bento-utilities.js +1 -1
- package/dist/feature-capabilities-grid.cjs +13 -13
- package/dist/feature-capabilities-grid.js +13 -13
- package/dist/feature-icon-grid-muted.cjs +2 -2
- package/dist/feature-icon-grid-muted.js +2 -2
- package/dist/feature-icon-tabs-content.cjs +3 -3
- package/dist/feature-icon-tabs-content.js +3 -3
- package/dist/feature-image-cards-three-column.cjs +2 -2
- package/dist/feature-image-cards-three-column.js +2 -2
- package/dist/feature-image-overlay-badge.cjs +2 -2
- package/dist/feature-image-overlay-badge.js +2 -2
- package/dist/feature-integration-cards.cjs +2 -2
- package/dist/feature-integration-cards.js +2 -2
- package/dist/feature-numbered-cards.cjs +1 -1
- package/dist/feature-numbered-cards.js +1 -1
- package/dist/feature-pattern-grid-links.cjs +1 -1
- package/dist/feature-pattern-grid-links.js +1 -1
- package/dist/feature-showcase.cjs +1 -2
- package/dist/feature-showcase.js +1 -2
- package/dist/feature-split-image-reverse.cjs +2 -8
- package/dist/feature-split-image-reverse.js +2 -8
- package/dist/feature-split-image.cjs +2 -2
- package/dist/feature-split-image.js +2 -2
- package/dist/feature-stats-highlight.cjs +50 -13
- package/dist/feature-stats-highlight.js +50 -13
- package/dist/feature-tabbed-content-image.cjs +5 -14
- package/dist/feature-tabbed-content-image.js +5 -14
- package/dist/feature-three-column-values.cjs +4 -44
- package/dist/feature-three-column-values.js +4 -44
- package/dist/feature-utility-cards-grid.cjs +83 -36
- package/dist/feature-utility-cards-grid.js +83 -36
- package/dist/footer-animated-social.cjs +3 -3
- package/dist/footer-animated-social.js +3 -3
- package/dist/footer-brand-links-contact.cjs +10 -10
- package/dist/footer-brand-links-contact.js +10 -10
- package/dist/footer-comprehensive-links.cjs +20 -20
- package/dist/footer-comprehensive-links.js +20 -20
- package/dist/footer-cta-banner.cjs +4 -4
- package/dist/footer-cta-banner.js +4 -4
- package/dist/footer-cta-social.cjs +2 -2
- package/dist/footer-cta-social.js +2 -2
- package/dist/footer-newsletter-minimal.cjs +5 -5
- package/dist/footer-newsletter-minimal.js +5 -5
- package/dist/footer-simple-centered.cjs +2 -2
- package/dist/footer-simple-centered.js +2 -2
- package/dist/hero-ad-campaign-expert.cjs +2 -2
- package/dist/hero-ad-campaign-expert.js +2 -2
- package/dist/hero-agency-animated-images.cjs +2 -2
- package/dist/hero-agency-animated-images.js +2 -2
- package/dist/hero-architecture-fullscreen.cjs +2 -2
- package/dist/hero-architecture-fullscreen.js +2 -2
- package/dist/hero-billing-platform-logos.cjs +4 -4
- package/dist/hero-billing-platform-logos.js +4 -4
- package/dist/hero-business-operations-mosaic.cjs +2 -2
- package/dist/hero-business-operations-mosaic.js +2 -2
- package/dist/hero-centered-gradient-cta.cjs +1 -1
- package/dist/hero-centered-gradient-cta.js +1 -1
- package/dist/hero-coming-soon-countdown.cjs +3 -3
- package/dist/hero-coming-soon-countdown.js +3 -3
- package/dist/hero-conversation-intelligence.cjs +1 -1
- package/dist/hero-conversation-intelligence.js +1 -1
- package/dist/hero-conversion-video-play.cjs +1 -1
- package/dist/hero-conversion-video-play.js +1 -1
- package/dist/hero-crm-streamlined.cjs +2 -2
- package/dist/hero-crm-streamlined.js +2 -2
- package/dist/hero-customer-support-layered.cjs +1 -1
- package/dist/hero-customer-support-layered.js +1 -1
- package/dist/hero-design-carousel-portfolio.cjs +3 -3
- package/dist/hero-design-carousel-portfolio.js +3 -3
- package/dist/hero-design-showcase-logos.cjs +1 -1
- package/dist/hero-design-showcase-logos.js +1 -1
- package/dist/hero-developer-tools-code.cjs +1 -1
- package/dist/hero-developer-tools-code.js +1 -1
- package/dist/hero-digital-agency-fullscreen.cjs +3 -3
- package/dist/hero-digital-agency-fullscreen.js +3 -3
- package/dist/hero-ecommerce-product-showcase.cjs +2 -2
- package/dist/hero-ecommerce-product-showcase.js +2 -2
- package/dist/hero-enterprise-security.cjs +2 -2
- package/dist/hero-enterprise-security.js +2 -2
- package/dist/hero-event-registration.cjs +3 -3
- package/dist/hero-event-registration.js +3 -3
- package/dist/hero-feature-cards-grid.cjs +2 -2
- package/dist/hero-feature-cards-grid.js +2 -2
- package/dist/hero-floating-images.cjs +6 -8
- package/dist/hero-floating-images.js +6 -8
- package/dist/hero-fullscreen-background-image.cjs +3 -3
- package/dist/hero-fullscreen-background-image.js +3 -3
- package/dist/hero-fullscreen-logo-cta.cjs +2 -2
- package/dist/hero-fullscreen-logo-cta.js +2 -2
- package/dist/hero-gradient-client-focused.cjs +1 -1
- package/dist/hero-gradient-client-focused.js +1 -1
- package/dist/hero-hiring-animated-text.cjs +2 -2
- package/dist/hero-hiring-animated-text.js +2 -2
- package/dist/hero-image-slider.cjs +1 -2
- package/dist/hero-image-slider.js +1 -2
- package/dist/hero-innovation-image-grid.cjs +3 -3
- package/dist/hero-innovation-image-grid.js +3 -3
- package/dist/hero-mental-health-team.cjs +4 -4
- package/dist/hero-mental-health-team.js +4 -4
- package/dist/hero-minimal-centered-dark.cjs +1 -1
- package/dist/hero-minimal-centered-dark.js +1 -1
- package/dist/hero-mobile-app-download.cjs +2 -2
- package/dist/hero-mobile-app-download.js +2 -2
- package/dist/hero-newsletter-minimal.cjs +1 -1
- package/dist/hero-newsletter-minimal.js +1 -1
- package/dist/hero-overlay-cta-grid.cjs +5 -5
- package/dist/hero-overlay-cta-grid.js +5 -5
- package/dist/hero-portfolio-creative.cjs +3 -3
- package/dist/hero-portfolio-creative.js +3 -3
- package/dist/hero-premium-split-avatars.cjs +4 -4
- package/dist/hero-premium-split-avatars.js +4 -4
- package/dist/hero-presentation-platform-video.cjs +4 -4
- package/dist/hero-presentation-platform-video.js +4 -4
- package/dist/hero-pricing-comparison.cjs +3 -3
- package/dist/hero-pricing-comparison.js +3 -3
- package/dist/hero-product-showcase-floating.cjs +3 -3
- package/dist/hero-product-showcase-floating.js +3 -3
- package/dist/hero-productivity-launcher-video.cjs +2 -2
- package/dist/hero-productivity-launcher-video.js +2 -2
- package/dist/hero-saas-dashboard-preview.cjs +1 -1
- package/dist/hero-saas-dashboard-preview.js +1 -1
- package/dist/hero-shared-inbox-layered.cjs +1 -1
- package/dist/hero-shared-inbox-layered.js +1 -1
- package/dist/hero-software-growth-video-dialog.cjs +2 -2
- package/dist/hero-software-growth-video-dialog.js +2 -2
- package/dist/hero-split-geometric-shapes.cjs +177 -23
- package/dist/hero-split-geometric-shapes.d.cts +38 -5
- package/dist/hero-split-geometric-shapes.d.ts +38 -5
- package/dist/hero-split-geometric-shapes.js +178 -24
- package/dist/hero-split-icon-cards.cjs +2 -2
- package/dist/hero-split-icon-cards.js +2 -2
- package/dist/hero-split-image-newsletter.cjs +1 -1
- package/dist/hero-split-image-newsletter.js +1 -1
- package/dist/hero-startup-launch-cta.cjs +2 -2
- package/dist/hero-startup-launch-cta.js +2 -2
- package/dist/hero-stats-social-proof.cjs +3 -3
- package/dist/hero-stats-social-proof.js +3 -3
- package/dist/hero-task-timer-animated.cjs +2 -2
- package/dist/hero-task-timer-animated.js +2 -2
- package/dist/hero-testimonial-image-grid.cjs +1 -1
- package/dist/hero-testimonial-image-grid.js +1 -1
- package/dist/hero-therapy-testimonial-grid.cjs +3 -3
- package/dist/hero-therapy-testimonial-grid.js +3 -3
- package/dist/hero-ui-library-showcase.cjs +1 -1
- package/dist/hero-ui-library-showcase.js +1 -1
- package/dist/hero-video-background-dark.cjs +1 -1
- package/dist/hero-video-background-dark.js +1 -1
- package/dist/hero-video-dialog-gradient.cjs +1 -1
- package/dist/hero-video-dialog-gradient.js +1 -1
- package/dist/hero-welcome-asymmetric-images.cjs +38 -2
- package/dist/hero-welcome-asymmetric-images.js +38 -2
- package/dist/image-slider.cjs +1 -2
- package/dist/image-slider.d.cts +0 -4
- package/dist/image-slider.d.ts +0 -4
- package/dist/image-slider.js +1 -2
- package/dist/index.cjs +22 -23
- package/dist/index.js +22 -23
- package/dist/industries-badge-list-bordered.cjs +12 -6
- package/dist/industries-badge-list-bordered.js +12 -6
- package/dist/industries-expandable-showcase.cjs +15 -7
- package/dist/industries-expandable-showcase.js +15 -7
- package/dist/industries-hover-reveal-grid.cjs +13 -6
- package/dist/industries-hover-reveal-grid.js +13 -6
- package/dist/industries-timeline-table.cjs +11 -5
- package/dist/industries-timeline-table.js +11 -5
- package/dist/interior-carousel.cjs +2 -2
- package/dist/interior-carousel.js +2 -2
- package/dist/link-page-bento-layout.cjs +11 -14
- package/dist/link-page-bento-layout.js +11 -14
- package/dist/link-page-grid-cards.cjs +8 -12
- package/dist/link-page-grid-cards.js +8 -12
- package/dist/link-page-minimal-profile.cjs +6 -8
- package/dist/link-page-minimal-profile.js +6 -8
- package/dist/link-page-newsletter-social.cjs +10 -14
- package/dist/link-page-newsletter-social.js +10 -14
- package/dist/link-tree-block.cjs +10 -13
- package/dist/link-tree-block.js +10 -13
- package/dist/list-searchable-grid.cjs +3 -3
- package/dist/list-searchable-grid.js +3 -3
- package/dist/navbar-animated-preview.cjs +13 -7
- package/dist/navbar-animated-preview.js +13 -7
- package/dist/navbar-centered-menu.cjs +9 -3
- package/dist/navbar-centered-menu.js +9 -3
- package/dist/navbar-dark-icons.cjs +14 -8
- package/dist/navbar-dark-icons.js +14 -8
- package/dist/navbar-dropdown-menu.cjs +11 -5
- package/dist/navbar-dropdown-menu.js +11 -5
- package/dist/navbar-education-platform.cjs +9 -3
- package/dist/navbar-education-platform.js +9 -3
- package/dist/navbar-enterprise-mega.cjs +20 -14
- package/dist/navbar-enterprise-mega.js +20 -14
- package/dist/navbar-feature-grid.cjs +11 -5
- package/dist/navbar-feature-grid.js +11 -5
- package/dist/navbar-image-preview.cjs +4 -4
- package/dist/navbar-image-preview.js +4 -4
- package/dist/navbar-mega-menu.cjs +3 -3
- package/dist/navbar-mega-menu.js +3 -3
- package/dist/navbar-multi-column-groups.cjs +9 -3
- package/dist/navbar-multi-column-groups.js +9 -3
- package/dist/navbar-platform-resources.cjs +10 -4
- package/dist/navbar-platform-resources.js +10 -4
- package/dist/navbar-sidebar-mobile.cjs +9 -3
- package/dist/navbar-sidebar-mobile.js +9 -3
- package/dist/navbar-transparent-overlay.cjs +3 -3
- package/dist/navbar-transparent-overlay.js +3 -3
- package/dist/process-expandable-timeline.cjs +3 -3
- package/dist/process-expandable-timeline.js +3 -3
- package/dist/process-hover-cards.cjs +2 -2
- package/dist/process-hover-cards.js +2 -2
- package/dist/process-icon-timeline.cjs +3 -3
- package/dist/process-icon-timeline.js +3 -3
- package/dist/process-mission-principles.cjs +2 -2
- package/dist/process-mission-principles.js +2 -2
- package/dist/process-numbered-services.cjs +2 -2
- package/dist/process-numbered-services.js +2 -2
- package/dist/process-roadmap-timeline.cjs +6 -6
- package/dist/process-roadmap-timeline.js +6 -6
- package/dist/process-scroll-image.cjs +2 -2
- package/dist/process-scroll-image.js +2 -2
- package/dist/process-steps-grid.cjs +2 -2
- package/dist/process-steps-grid.js +2 -2
- package/dist/process-sticky-steps.cjs +2 -2
- package/dist/process-sticky-steps.js +2 -2
- package/dist/project-alternating-motion.cjs +1 -1
- package/dist/project-alternating-motion.js +1 -1
- package/dist/project-background-reveal.cjs +2 -2
- package/dist/project-background-reveal.js +2 -2
- package/dist/project-card-overlay.cjs +7 -7
- package/dist/project-card-overlay.js +7 -7
- package/dist/project-carousel-cinematic.cjs +2 -2
- package/dist/project-carousel-cinematic.js +2 -2
- package/dist/project-carousel-detail-cards.cjs +2 -2
- package/dist/project-carousel-detail-cards.js +2 -2
- package/dist/project-carousel-minimal.cjs +2 -2
- package/dist/project-carousel-minimal.js +2 -2
- package/dist/project-detail-architecture-carousel.cjs +4 -4
- package/dist/project-detail-architecture-carousel.js +4 -4
- package/dist/project-featured-carousel.cjs +1 -1
- package/dist/project-featured-carousel.js +1 -1
- package/dist/project-filterable-gallery.cjs +5 -5
- package/dist/project-filterable-gallery.js +5 -5
- package/dist/project-filterable-three-column.cjs +5 -5
- package/dist/project-filterable-three-column.js +5 -5
- package/dist/project-interactive-hover-reveal.cjs +7 -7
- package/dist/project-interactive-hover-reveal.js +7 -7
- package/dist/project-masonry-columns.cjs +1 -1
- package/dist/project-masonry-columns.js +1 -1
- package/dist/project-scroll-reveal.cjs +4 -4
- package/dist/project-scroll-reveal.js +4 -4
- package/dist/project-showcase-alternating.cjs +1 -1
- package/dist/project-showcase-alternating.js +1 -1
- package/dist/project-sticky-scroll.cjs +3 -3
- package/dist/project-sticky-scroll.js +3 -3
- package/dist/project-studio-hover-preview.cjs +7 -7
- package/dist/project-studio-hover-preview.js +7 -7
- package/dist/project-video-carousel.cjs +2 -2
- package/dist/project-video-carousel.js +2 -2
- package/dist/project-video-hover-bento.cjs +2 -2
- package/dist/project-video-hover-bento.js +2 -2
- package/dist/project-video-hover-grid.cjs +2 -2
- package/dist/project-video-hover-grid.js +2 -2
- package/dist/project-video-hover-rounded.cjs +3 -3
- package/dist/project-video-hover-rounded.js +3 -3
- package/dist/project-video-hover-stack.cjs +3 -3
- package/dist/project-video-hover-stack.js +3 -3
- package/dist/project-video-hover-two-by-two.cjs +3 -3
- package/dist/project-video-hover-two-by-two.js +3 -3
- package/dist/project-zigzag-layout.cjs +1 -1
- package/dist/project-zigzag-layout.js +1 -1
- package/dist/registry.cjs +1825 -2131
- package/dist/registry.js +1825 -2131
- package/dist/resource-detail-whitepaper-sidebar.cjs +6 -4
- package/dist/resource-detail-whitepaper-sidebar.js +6 -4
- package/dist/resource-list-course-cards.cjs +1 -1
- package/dist/resource-list-course-cards.js +1 -1
- package/dist/resource-list-featured-articles.cjs +6 -6
- package/dist/resource-list-featured-articles.js +6 -6
- package/dist/resource-list-hero-filter.cjs +2 -2
- package/dist/resource-list-hero-filter.js +2 -2
- package/dist/resource-list-news-updates.cjs +1 -1
- package/dist/resource-list-news-updates.js +1 -1
- package/dist/reviews-images-helpful.cjs +27 -197
- package/dist/reviews-images-helpful.js +28 -198
- package/dist/reviews-list-verified.cjs +11 -62
- package/dist/reviews-list-verified.js +12 -63
- package/dist/service-detail-image-hero.cjs +2 -2
- package/dist/service-detail-image-hero.js +2 -2
- package/dist/service-detail-stats-hero.cjs +2 -2
- package/dist/service-detail-stats-hero.js +2 -2
- package/dist/service-hover-carousel.cjs +2 -2
- package/dist/service-hover-carousel.js +2 -2
- package/dist/services-list-feature-spotlight.cjs +3 -3
- package/dist/services-list-feature-spotlight.js +3 -3
- package/dist/stats-circular-progress.cjs +1 -1
- package/dist/stats-circular-progress.js +1 -1
- package/dist/stats-icon-cards.cjs +1 -1
- package/dist/stats-icon-cards.js +1 -1
- package/dist/stats-timeline-tabs.cjs +1 -1
- package/dist/stats-timeline-tabs.js +1 -1
- package/dist/team-media-showcase.cjs +4 -4
- package/dist/team-media-showcase.js +4 -4
- package/dist/testimonial-carousel-cards.cjs +2 -2
- package/dist/testimonial-carousel-cards.js +2 -2
- package/dist/testimonials-animated-split.cjs +19 -166
- package/dist/testimonials-animated-split.js +19 -166
- package/dist/testimonials-bento-grid.cjs +11 -56
- package/dist/testimonials-bento-grid.js +12 -57
- package/dist/testimonials-carousel-image.cjs +15 -153
- package/dist/testimonials-carousel-image.js +15 -153
- package/dist/testimonials-centered-avatars.cjs +9 -37
- package/dist/testimonials-centered-avatars.js +10 -38
- package/dist/testimonials-company-logo.cjs +4 -8
- package/dist/testimonials-company-logo.js +4 -8
- package/dist/testimonials-grid-add-review.cjs +7 -47
- package/dist/testimonials-grid-add-review.js +8 -48
- package/dist/testimonials-large-quote.cjs +11 -21
- package/dist/testimonials-large-quote.js +12 -22
- package/dist/testimonials-logo-cards.cjs +9 -53
- package/dist/testimonials-logo-cards.js +10 -54
- package/dist/testimonials-marquee.cjs +15 -60
- package/dist/testimonials-marquee.js +16 -61
- package/dist/testimonials-masonry-grid.cjs +11 -71
- package/dist/testimonials-masonry-grid.js +12 -72
- package/dist/testimonials-mini-dividers.cjs +9 -61
- package/dist/testimonials-mini-dividers.js +10 -62
- package/dist/testimonials-minimal-numbered.cjs +48 -57
- package/dist/testimonials-minimal-numbered.js +48 -57
- package/dist/testimonials-parallax-number.cjs +29 -44
- package/dist/testimonials-parallax-number.js +29 -44
- package/dist/testimonials-quote-carousel.cjs +9 -48
- package/dist/testimonials-quote-carousel.js +10 -49
- package/dist/testimonials-scrolling-columns.cjs +9 -165
- package/dist/testimonials-scrolling-columns.js +10 -166
- package/dist/testimonials-simple-grid.cjs +12 -63
- package/dist/testimonials-simple-grid.js +13 -64
- package/dist/testimonials-slider-minimal.cjs +18 -41
- package/dist/testimonials-slider-minimal.js +18 -41
- package/dist/testimonials-split-image.cjs +15 -24
- package/dist/testimonials-split-image.js +16 -25
- package/dist/testimonials-stats-header.cjs +10 -35
- package/dist/testimonials-stats-header.js +11 -36
- package/dist/testimonials-twitter-cards.cjs +7 -59
- package/dist/testimonials-twitter-cards.js +8 -60
- package/dist/testimonials-wall-compact.cjs +9 -94
- package/dist/testimonials-wall-compact.js +10 -95
- package/dist/timeline-changelog-badges.cjs +4 -4
- package/dist/timeline-changelog-badges.js +4 -4
- package/dist/timeline-history-prose.cjs +4 -4
- package/dist/timeline-history-prose.js +4 -4
- package/dist/timeline-horizontal-icons.cjs +3 -3
- package/dist/timeline-horizontal-icons.js +3 -3
- package/dist/timeline-horizontal-phases.cjs +3 -3
- package/dist/timeline-horizontal-phases.js +3 -3
- package/dist/timeline-stepper-animated.cjs +3 -3
- package/dist/timeline-stepper-animated.js +3 -3
- package/dist/timeline-tabbed-phases.cjs +4 -4
- package/dist/timeline-tabbed-phases.js +4 -4
- package/package.json +1 -1
|
@@ -1004,7 +1004,7 @@ function ResourceDetailWhitepaperSidebar({
|
|
|
1004
1004
|
sidebar?.resourceType && (typeof sidebar.resourceType === "string" ? sidebar.resourceType : sidebar.resourceType)
|
|
1005
1005
|
] }) }),
|
|
1006
1006
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-5", children: [
|
|
1007
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "gap-4 text-lg
|
|
1007
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "gap-4 text-lg font-semibold leading-snug", children: sidebar?.resourceTitle && (typeof sidebar.resourceTitle === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: sidebar.resourceTitle }) : sidebar.resourceTitle) }),
|
|
1008
1008
|
showPdfPreview && sidebar?.pdfUrl && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-4 overflow-hidden rounded-lg border border-border bg-muted/30", children: [
|
|
1009
1009
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1010
1010
|
pdfViewer.PDFViewer,
|
|
@@ -1023,11 +1023,13 @@ function ResourceDetailWhitepaperSidebar({
|
|
|
1023
1023
|
}
|
|
1024
1024
|
),
|
|
1025
1025
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-border p-3", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1026
|
-
|
|
1026
|
+
Pressable,
|
|
1027
1027
|
{
|
|
1028
|
-
|
|
1028
|
+
asButton: true,
|
|
1029
1029
|
onClick: handleOpenFullViewer,
|
|
1030
|
-
|
|
1030
|
+
variant: "default",
|
|
1031
|
+
size: "sm",
|
|
1032
|
+
className: "w-full",
|
|
1031
1033
|
children: [
|
|
1032
1034
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/maximize-2", size: 16 }),
|
|
1033
1035
|
viewFullDocumentLabel ?? "View Full Document"
|
|
@@ -983,7 +983,7 @@ function ResourceDetailWhitepaperSidebar({
|
|
|
983
983
|
sidebar?.resourceType && (typeof sidebar.resourceType === "string" ? sidebar.resourceType : sidebar.resourceType)
|
|
984
984
|
] }) }),
|
|
985
985
|
/* @__PURE__ */ jsxs("div", { className: "p-5", children: [
|
|
986
|
-
/* @__PURE__ */ jsx("div", { className: "gap-4 text-lg
|
|
986
|
+
/* @__PURE__ */ jsx("div", { className: "gap-4 text-lg font-semibold leading-snug", children: sidebar?.resourceTitle && (typeof sidebar.resourceTitle === "string" ? /* @__PURE__ */ jsx("p", { children: sidebar.resourceTitle }) : sidebar.resourceTitle) }),
|
|
987
987
|
showPdfPreview && sidebar?.pdfUrl && /* @__PURE__ */ jsxs("div", { className: "mt-4 overflow-hidden rounded-lg border border-border bg-muted/30", children: [
|
|
988
988
|
/* @__PURE__ */ jsx(
|
|
989
989
|
PDFViewer,
|
|
@@ -1002,11 +1002,13 @@ function ResourceDetailWhitepaperSidebar({
|
|
|
1002
1002
|
}
|
|
1003
1003
|
),
|
|
1004
1004
|
/* @__PURE__ */ jsx("div", { className: "border-t border-border p-3", children: /* @__PURE__ */ jsxs(
|
|
1005
|
-
|
|
1005
|
+
Pressable,
|
|
1006
1006
|
{
|
|
1007
|
-
|
|
1007
|
+
asButton: true,
|
|
1008
1008
|
onClick: handleOpenFullViewer,
|
|
1009
|
-
|
|
1009
|
+
variant: "default",
|
|
1010
|
+
size: "sm",
|
|
1011
|
+
className: "w-full",
|
|
1010
1012
|
children: [
|
|
1011
1013
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/maximize-2", size: 16 }),
|
|
1012
1014
|
viewFullDocumentLabel ?? "View Full Document"
|
|
@@ -1052,7 +1052,7 @@ function ResourceListCourseCards({
|
|
|
1052
1052
|
}
|
|
1053
1053
|
) }),
|
|
1054
1054
|
typeof course.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-bold", children: course.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-bold", children: course.title }),
|
|
1055
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2 text-sm text-foreground
|
|
1055
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2 text-sm text-muted-foreground", children: [
|
|
1056
1056
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1057
1057
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/users", size: 16 }),
|
|
1058
1058
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: course.audience.map((item, i) => /* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
@@ -1030,7 +1030,7 @@ function ResourceListCourseCards({
|
|
|
1030
1030
|
}
|
|
1031
1031
|
) }),
|
|
1032
1032
|
typeof course.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-bold", children: course.title }) : /* @__PURE__ */ jsx("div", { className: "text-2xl font-bold", children: course.title }),
|
|
1033
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-2 text-sm text-foreground
|
|
1033
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-2 text-sm text-muted-foreground", children: [
|
|
1034
1034
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1035
1035
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/users", size: 16 }),
|
|
1036
1036
|
/* @__PURE__ */ jsx("span", { children: course.audience.map((item, i) => /* @__PURE__ */ jsxs("span", { children: [
|
|
@@ -991,7 +991,7 @@ var FeaturedPostComponent = ({
|
|
|
991
991
|
children: badgeText
|
|
992
992
|
}
|
|
993
993
|
),
|
|
994
|
-
typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl leading-[1.2] font-normal
|
|
994
|
+
typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl leading-[1.2] font-normal md:text-[2.5rem] xl:text-[3.125rem]", children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl leading-[1.2] font-normal md:text-[2.5rem] xl:text-[3.125rem]", children: title }),
|
|
995
995
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
996
996
|
Pressable,
|
|
997
997
|
{
|
|
@@ -1073,13 +1073,13 @@ function ResourceListFeaturedArticles({
|
|
|
1073
1073
|
{
|
|
1074
1074
|
href: article.link,
|
|
1075
1075
|
className: cn(
|
|
1076
|
-
"block w-full hover:bg-
|
|
1076
|
+
"block w-full hover:bg-muted/50",
|
|
1077
1077
|
article.className
|
|
1078
1078
|
),
|
|
1079
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-baseline justify-between gap-2 border-t py-6
|
|
1080
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "basis-1/4 font-medium", children: typeof article.date === "string" ? article.date : article.date }),
|
|
1081
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "basis-1/4", children: typeof article.category === "string" ? article.category : article.category }),
|
|
1082
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "basis-1/2
|
|
1079
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-baseline justify-between gap-2 border-t py-6 md:flex-row", children: [
|
|
1080
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "basis-1/4 font-medium text-muted-foreground", children: typeof article.date === "string" ? article.date : article.date }),
|
|
1081
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "basis-1/4 text-muted-foreground", children: typeof article.category === "string" ? article.category : article.category }),
|
|
1082
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "basis-1/2", children: typeof article.title === "string" ? article.title : article.title })
|
|
1083
1083
|
] })
|
|
1084
1084
|
},
|
|
1085
1085
|
index
|
|
@@ -970,7 +970,7 @@ var FeaturedPostComponent = ({
|
|
|
970
970
|
children: badgeText
|
|
971
971
|
}
|
|
972
972
|
),
|
|
973
|
-
typeof title === "string" ? /* @__PURE__ */ jsx("h2", { className: "text-2xl leading-[1.2] font-normal
|
|
973
|
+
typeof title === "string" ? /* @__PURE__ */ jsx("h2", { className: "text-2xl leading-[1.2] font-normal md:text-[2.5rem] xl:text-[3.125rem]", children: title }) : /* @__PURE__ */ jsx("div", { className: "text-2xl leading-[1.2] font-normal md:text-[2.5rem] xl:text-[3.125rem]", children: title }),
|
|
974
974
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
|
|
975
975
|
Pressable,
|
|
976
976
|
{
|
|
@@ -1052,13 +1052,13 @@ function ResourceListFeaturedArticles({
|
|
|
1052
1052
|
{
|
|
1053
1053
|
href: article.link,
|
|
1054
1054
|
className: cn(
|
|
1055
|
-
"block w-full hover:bg-
|
|
1055
|
+
"block w-full hover:bg-muted/50",
|
|
1056
1056
|
article.className
|
|
1057
1057
|
),
|
|
1058
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-baseline justify-between gap-2 border-t py-6
|
|
1059
|
-
/* @__PURE__ */ jsx("div", { className: "basis-1/4 font-medium", children: typeof article.date === "string" ? article.date : article.date }),
|
|
1060
|
-
/* @__PURE__ */ jsx("div", { className: "basis-1/4", children: typeof article.category === "string" ? article.category : article.category }),
|
|
1061
|
-
/* @__PURE__ */ jsx("div", { className: "basis-1/2
|
|
1058
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-baseline justify-between gap-2 border-t py-6 md:flex-row", children: [
|
|
1059
|
+
/* @__PURE__ */ jsx("div", { className: "basis-1/4 font-medium text-muted-foreground", children: typeof article.date === "string" ? article.date : article.date }),
|
|
1060
|
+
/* @__PURE__ */ jsx("div", { className: "basis-1/4 text-muted-foreground", children: typeof article.category === "string" ? article.category : article.category }),
|
|
1061
|
+
/* @__PURE__ */ jsx("div", { className: "basis-1/2", children: typeof article.title === "string" ? article.title : article.title })
|
|
1062
1062
|
] })
|
|
1063
1063
|
},
|
|
1064
1064
|
index
|
|
@@ -1060,7 +1060,7 @@ var ResourceCard = ({
|
|
|
1060
1060
|
) }),
|
|
1061
1061
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col gap-5 p-5", children: [
|
|
1062
1062
|
typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg leading-none font-bold md:text-2xl", children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg leading-none font-bold md:text-2xl", children: title }),
|
|
1063
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-[20rem]", children: typeof summary === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-[1.4] font-medium
|
|
1063
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full max-w-[20rem]", children: typeof summary === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm leading-[1.4] font-medium", children: summary }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm leading-[1.4] font-medium", children: summary }) }),
|
|
1064
1064
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(Badge, { className: "rounded-full", children: [
|
|
1065
1065
|
cta,
|
|
1066
1066
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-right", size: 14, className: "ml-1" })
|
|
@@ -1141,7 +1141,7 @@ function ResourceListHeroFilter({
|
|
|
1141
1141
|
renderedBreadcrumb,
|
|
1142
1142
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col gap-5", children: [
|
|
1143
1143
|
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn("text-[2.5rem] leading-[1.2] font-semibold md:text-5xl lg:text-6xl", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: titleClassName, children: title })),
|
|
1144
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-xl leading-[1.4] font-semibold
|
|
1144
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-xl leading-[1.4] font-semibold", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
1145
1145
|
] }),
|
|
1146
1146
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-120", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1147
1147
|
EmailForm,
|
|
@@ -1036,7 +1036,7 @@ var ResourceCard = ({
|
|
|
1036
1036
|
) }),
|
|
1037
1037
|
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col gap-5 p-5", children: [
|
|
1038
1038
|
typeof title === "string" ? /* @__PURE__ */ jsx("h2", { className: "text-lg leading-none font-bold md:text-2xl", children: title }) : /* @__PURE__ */ jsx("div", { className: "text-lg leading-none font-bold md:text-2xl", children: title }),
|
|
1039
|
-
/* @__PURE__ */ jsx("div", { className: "w-full max-w-[20rem]", children: typeof summary === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm leading-[1.4] font-medium
|
|
1039
|
+
/* @__PURE__ */ jsx("div", { className: "w-full max-w-[20rem]", children: typeof summary === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm leading-[1.4] font-medium", children: summary }) : /* @__PURE__ */ jsx("div", { className: "text-sm leading-[1.4] font-medium", children: summary }) }),
|
|
1040
1040
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(Badge, { className: "rounded-full", children: [
|
|
1041
1041
|
cta,
|
|
1042
1042
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 14, className: "ml-1" })
|
|
@@ -1117,7 +1117,7 @@ function ResourceListHeroFilter({
|
|
|
1117
1117
|
renderedBreadcrumb,
|
|
1118
1118
|
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col gap-5", children: [
|
|
1119
1119
|
title && (typeof title === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("text-[2.5rem] leading-[1.2] font-semibold md:text-5xl lg:text-6xl", titleClassName), children: title }) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
|
|
1120
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-xl leading-[1.4] font-semibold
|
|
1120
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-xl leading-[1.4] font-semibold", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
|
|
1121
1121
|
] }),
|
|
1122
1122
|
/* @__PURE__ */ jsx("div", { className: "max-w-120", children: /* @__PURE__ */ jsx(
|
|
1123
1123
|
EmailForm,
|
|
@@ -1073,7 +1073,7 @@ function ResourceListNewsUpdates({
|
|
|
1073
1073
|
typeof title === "string" ? title : /* @__PURE__ */ jsxRuntime.jsx("span", { children: title }),
|
|
1074
1074
|
subtitle && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1075
1075
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
1076
|
-
typeof subtitle === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-
|
|
1076
|
+
typeof subtitle === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-muted-foreground", subtitleClassName), children: subtitle }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: subtitleClassName, children: subtitle })
|
|
1077
1077
|
] })
|
|
1078
1078
|
] }),
|
|
1079
1079
|
renderedNews
|
|
@@ -1050,7 +1050,7 @@ function ResourceListNewsUpdates({
|
|
|
1050
1050
|
typeof title === "string" ? title : /* @__PURE__ */ jsx("span", { children: title }),
|
|
1051
1051
|
subtitle && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1052
1052
|
/* @__PURE__ */ jsx("br", {}),
|
|
1053
|
-
typeof subtitle === "string" ? /* @__PURE__ */ jsx("span", { className: cn("text-
|
|
1053
|
+
typeof subtitle === "string" ? /* @__PURE__ */ jsx("span", { className: cn("text-muted-foreground", subtitleClassName), children: subtitle }) : /* @__PURE__ */ jsx("span", { className: subtitleClassName, children: subtitle })
|
|
1054
1054
|
] })
|
|
1055
1055
|
] }),
|
|
1056
1056
|
renderedNews
|
|
@@ -1029,190 +1029,6 @@ var Section = React__namespace.default.forwardRef(
|
|
|
1029
1029
|
}
|
|
1030
1030
|
);
|
|
1031
1031
|
Section.displayName = "Section";
|
|
1032
|
-
|
|
1033
|
-
// lib/blockBrandedIconsAndPlaceholders.ts
|
|
1034
|
-
var blockBrandedIconsAndPlaceholders = {
|
|
1035
|
-
avatar1: "https://cdn.ing/assets/i/r/286239/ebm7o3j2kx48vw98emnwjaf5qvl6/avatar-1.webp",
|
|
1036
|
-
avatar2: "https://cdn.ing/assets/i/r/286240/vgf3rrkwn0769pfdtpal60uo5vpw/avatar-2.webp",
|
|
1037
|
-
avatar3: "https://cdn.ing/assets/i/r/286241/05vbqt3lls0q974r8fv4zn0njllq/avatar-3.webp",
|
|
1038
|
-
avatar5: "https://cdn.ing/assets/i/r/286243/alziyfoo570m3vade3usufzlzj6x/avatar-5.webp"};
|
|
1039
|
-
|
|
1040
|
-
// lib/mediaPlaceholders.ts
|
|
1041
|
-
var imagePlaceholders = [
|
|
1042
|
-
"https://toastability-production.s3.amazonaws.com/xlp46pzk3a4d73jgjx4s7xdafwpn",
|
|
1043
|
-
"https://toastability-production.s3.amazonaws.com/g1iuifb3yzoofo9c7a00koyn6q1t",
|
|
1044
|
-
"https://toastability-production.s3.amazonaws.com/z9u4sdrj2oq3eds0qyui0nxsus3j",
|
|
1045
|
-
"https://toastability-production.s3.amazonaws.com/63aotyt2pb4gqpccej2kkw8reson",
|
|
1046
|
-
"https://toastability-production.s3.amazonaws.com/pjgb223h1bjywdk15i3zi7pjhutg",
|
|
1047
|
-
"https://toastability-production.s3.amazonaws.com/we9r4e711an6d0bd3dwbl9tb9z7q",
|
|
1048
|
-
"https://toastability-production.s3.amazonaws.com/f8rfrurzo743ym1s7m5xtbombunz",
|
|
1049
|
-
"https://toastability-production.s3.amazonaws.com/oe0y4bgiylx81fbfvsw31mhdgjzs",
|
|
1050
|
-
"https://toastability-production.s3.amazonaws.com/sr370c2cnf7uk5k4f6znyshualv0",
|
|
1051
|
-
"https://toastability-production.s3.amazonaws.com/cen5x90p3kbdafb80liq1a5j222x",
|
|
1052
|
-
"https://toastability-production.s3.amazonaws.com/ygob90kp07hxmi5jj4sned76dnmc",
|
|
1053
|
-
"https://toastability-production.s3.amazonaws.com/qhz2kawawq3bbh7nusz3bvahln3v",
|
|
1054
|
-
"https://toastability-production.s3.amazonaws.com/zykfhuapdqzu94ee1535gsgnvyac",
|
|
1055
|
-
"https://toastability-production.s3.amazonaws.com/kh1p8y15v55ctp5ulobm4pd77etm",
|
|
1056
|
-
"https://toastability-production.s3.amazonaws.com/8x62o6350p1ejm3pjrp1jwvcbh4v",
|
|
1057
|
-
"https://toastability-production.s3.amazonaws.com/vvixyoo7ybq3h04q2q0kact0s5wc",
|
|
1058
|
-
"https://toastability-production.s3.amazonaws.com/t502cfynqso7ntkdvmcmfc87yjkt",
|
|
1059
|
-
"https://toastability-production.s3.amazonaws.com/ihgx63s5nfzp2e93e3ccljjnnrov",
|
|
1060
|
-
"https://toastability-production.s3.amazonaws.com/b555hwjt7ltr81et05v5254q1ak6",
|
|
1061
|
-
"https://toastability-production.s3.amazonaws.com/c4sgsy0g7o2rrjmvm9x7evxems82",
|
|
1062
|
-
"https://toastability-production.s3.amazonaws.com/a3m42usevv0iet0fpfwa1fsytxmv",
|
|
1063
|
-
"https://toastability-production.s3.amazonaws.com/qghzqu1i99vaubyew9s5dxcbel9l",
|
|
1064
|
-
"https://toastability-production.s3.amazonaws.com/9covpitzpuuobkg1m4mfokpi0enw",
|
|
1065
|
-
"https://toastability-production.s3.amazonaws.com/2d4k8d5shwg82276hzj2ztbj7mxq",
|
|
1066
|
-
"https://toastability-production.s3.amazonaws.com/op92dycs7w856e2jsvx20st0nyz9",
|
|
1067
|
-
"https://toastability-production.s3.amazonaws.com/f921uoblxbv8f9bmr4s2ik7xxugl",
|
|
1068
|
-
"https://toastability-production.s3.amazonaws.com/gl7n7p6atndufbsm6q2ac5jeqttp",
|
|
1069
|
-
"https://toastability-production.s3.amazonaws.com/sj8cs2gpbanaowqwxar1uhhwd23z",
|
|
1070
|
-
"https://toastability-production.s3.amazonaws.com/hu4gmd93sp95wdyr9qijze0rgim9",
|
|
1071
|
-
"https://toastability-production.s3.amazonaws.com/uh2vd59np82h8sevbmfnsha89sf1",
|
|
1072
|
-
"https://toastability-production.s3.amazonaws.com/gxs6zevccphti0hdq5l9fwytprpr",
|
|
1073
|
-
"https://toastability-production.s3.amazonaws.com/s4vho0wfbjhf758oife8qfuekou8",
|
|
1074
|
-
"https://toastability-production.s3.amazonaws.com/1b0gd8ul22q799d62dvm3sgyll85",
|
|
1075
|
-
"https://toastability-production.s3.amazonaws.com/102grjqg8aigxkj585s9x3xbxfv7",
|
|
1076
|
-
"https://toastability-production.s3.amazonaws.com/dvz0441h9fxjhh88lzqbwdoyxv52",
|
|
1077
|
-
"https://toastability-production.s3.amazonaws.com/50y066ms7rb5sw62u9u08jzkk8rj",
|
|
1078
|
-
"https://toastability-production.s3.amazonaws.com/9uxe0jw1zl1tujy0m5yalo7m2ht8",
|
|
1079
|
-
"https://toastability-production.s3.amazonaws.com/cyhcpla6me8vs936i3fw6wbhypi2",
|
|
1080
|
-
"https://toastability-production.s3.amazonaws.com/6ntdz6xwid3fswjz8y0otdxmzs40",
|
|
1081
|
-
"https://toastability-production.s3.amazonaws.com/y1aezpa78m2fhfvj8whcx337y9cb",
|
|
1082
|
-
"https://toastability-production.s3.amazonaws.com/eoa76d31ynbg34urr6e4619la1f7",
|
|
1083
|
-
"https://toastability-production.s3.amazonaws.com/0mh8a1dg7ftcqnyzgv303u501c8y",
|
|
1084
|
-
"https://toastability-production.s3.amazonaws.com/vvucxqs128w2d0z3n4s2z131rq7p",
|
|
1085
|
-
"https://toastability-production.s3.amazonaws.com/2rbqbw9778770i8izdeabx8v2w2k",
|
|
1086
|
-
"https://toastability-production.s3.amazonaws.com/90rcw2mljzpeuxlac8q77mor15xz",
|
|
1087
|
-
"https://toastability-production.s3.amazonaws.com/vh1aowwr93yz4qrzct2s4je0cxdo",
|
|
1088
|
-
"https://toastability-production.s3.amazonaws.com/ssgb7unxdwdqokfvhkp7cok2v79s",
|
|
1089
|
-
"https://toastability-production.s3.amazonaws.com/vvkma6b8whdkiq5nq8z4eyfe00vo",
|
|
1090
|
-
"https://toastability-production.s3.amazonaws.com/9797jh6slgbf9oq6lzlimcdiuziv",
|
|
1091
|
-
"https://toastability-production.s3.amazonaws.com/betxbx61fkijt0aygineplf489ze",
|
|
1092
|
-
"https://toastability-production.s3.amazonaws.com/0o6d7z4mm9nzeufhv9kefrhihbip",
|
|
1093
|
-
"https://toastability-production.s3.amazonaws.com/1xdx70c7gp9l883soyh5d3exesvt",
|
|
1094
|
-
"https://toastability-production.s3.amazonaws.com/jhjfvkmdzktacyijd9fh6acc7o2c",
|
|
1095
|
-
"https://toastability-production.s3.amazonaws.com/n001o4pfpszmyw03ubctig7kvf0e",
|
|
1096
|
-
"https://toastability-production.s3.amazonaws.com/l080sx0lcx51x44dqrb8006nqf08",
|
|
1097
|
-
"https://toastability-production.s3.amazonaws.com/2t36c7l0ywchaz4nys8yj2l5amae",
|
|
1098
|
-
"https://toastability-production.s3.amazonaws.com/gg5qnvb4nsl2k3g4dw4ls8bsllwh",
|
|
1099
|
-
"https://toastability-production.s3.amazonaws.com/3nqc7xvjy3e8d7jo1gdvbzty0oqg",
|
|
1100
|
-
"https://toastability-production.s3.amazonaws.com/0kx9umbfmv881wt9dfqnohv8efgi",
|
|
1101
|
-
"https://toastability-production.s3.amazonaws.com/9z0sbfnskx70vse99e3dfhper7i1",
|
|
1102
|
-
"https://toastability-production.s3.amazonaws.com/9keidwrag6g7jtqr7rdwb1ryt6ht",
|
|
1103
|
-
"https://toastability-production.s3.amazonaws.com/zm88vf14geh1gh0frd3yrdlb6pl8",
|
|
1104
|
-
"https://toastability-production.s3.amazonaws.com/0x7ktdk01jfaoysst0emzvqevu19",
|
|
1105
|
-
"https://toastability-production.s3.amazonaws.com/e83zsyvl0an0owzdmpwjnnty641x",
|
|
1106
|
-
"https://toastability-production.s3.amazonaws.com/t3k42fbzq7r7j93feldqm5cj1o1n",
|
|
1107
|
-
"https://toastability-production.s3.amazonaws.com/5sm6wc4no8fyzxfki5njmnv6gql5",
|
|
1108
|
-
"https://toastability-production.s3.amazonaws.com/w41h7890eivogu3sr78vlwkpzz8g",
|
|
1109
|
-
"https://toastability-production.s3.amazonaws.com/vrezhtksoqbw1nyo4hwnoqizrus5",
|
|
1110
|
-
"https://toastability-production.s3.amazonaws.com/8qkikcd43paeqgvw9gc1032j3yup",
|
|
1111
|
-
"https://toastability-production.s3.amazonaws.com/ihhq8unynafk4aikmys3rhbfibaz",
|
|
1112
|
-
"https://toastability-production.s3.amazonaws.com/rews5enr9ynu6izioj66s8ec90nc",
|
|
1113
|
-
"https://toastability-production.s3.amazonaws.com/6ku135fhv528eei3agnoc3zd7y75",
|
|
1114
|
-
"https://toastability-production.s3.amazonaws.com/x4scuzhsozrwrg703df5wbhygkgo",
|
|
1115
|
-
"https://toastability-production.s3.amazonaws.com/73e0s79u4crdu7cmjfp99j1l2v55",
|
|
1116
|
-
"https://toastability-production.s3.amazonaws.com/rddfyzvfpdlbzwhgep2myppwxn05",
|
|
1117
|
-
"https://toastability-production.s3.amazonaws.com/mat88x8zzdek7wpgtocjrehfivsh",
|
|
1118
|
-
"https://toastability-production.s3.amazonaws.com/3vwfdbekbkskxj2mvlvu85fz787u",
|
|
1119
|
-
"https://toastability-production.s3.amazonaws.com/ms4s4zyqpmboh0slez1cwat9qhw4",
|
|
1120
|
-
"https://toastability-production.s3.amazonaws.com/5jsc0b4e3gxnjs81iotw2c3e6da3",
|
|
1121
|
-
"https://toastability-production.s3.amazonaws.com/0g6t701zqr2r7najmdgftpeqnxmz",
|
|
1122
|
-
"https://toastability-production.s3.amazonaws.com/u3p1hlbm2c1vvkwlm8h668pe132z",
|
|
1123
|
-
"https://toastability-production.s3.amazonaws.com/ehgbcugs782765ke1l2dtbtzd918",
|
|
1124
|
-
"https://toastability-production.s3.amazonaws.com/kka8f550on7acx1lf82xleu6zhzo",
|
|
1125
|
-
"https://toastability-production.s3.amazonaws.com/67fnapqepn7f8vwt0x4nqho70hbz",
|
|
1126
|
-
"https://toastability-production.s3.amazonaws.com/t4cidbsfz3z468bn45yqdrkbx7ou",
|
|
1127
|
-
"https://toastability-production.s3.amazonaws.com/gq3c9qalkiomu0rzdzxymkdaazdu",
|
|
1128
|
-
"https://toastability-production.s3.amazonaws.com/9ujya2tfhxja7y5s9wb7d2u8crhd",
|
|
1129
|
-
"https://toastability-production.s3.amazonaws.com/hotlo54tsvl2k3eht9gg0460l9zw",
|
|
1130
|
-
"https://toastability-production.s3.amazonaws.com/ytbyjrcvrghc7wl6w1g7g8fwka22",
|
|
1131
|
-
"https://toastability-production.s3.amazonaws.com/uv0g605yf5mz106nrm1uspt9l0rr",
|
|
1132
|
-
"https://toastability-production.s3.amazonaws.com/yrp5k5xszwpe26fquupey6a6g0uu",
|
|
1133
|
-
"https://toastability-production.s3.amazonaws.com/97gctpna2hdozl1f8u5xq4ew8h0o",
|
|
1134
|
-
"https://toastability-production.s3.amazonaws.com/xjtepune0scj9yjkkqgaiwlq9hls",
|
|
1135
|
-
"https://toastability-production.s3.amazonaws.com/g607vblaarqctl1cvgxffhx4pw6g",
|
|
1136
|
-
"https://toastability-production.s3.amazonaws.com/4xpu1ljr9c8g6qzmfum5ygjzbzpb",
|
|
1137
|
-
"https://toastability-production.s3.amazonaws.com/yw5f7iwyypf4kctpr5ye5e495swt",
|
|
1138
|
-
"https://toastability-production.s3.amazonaws.com/z37cidvud212bzqhhalrhvk7ipaa",
|
|
1139
|
-
"https://toastability-production.s3.amazonaws.com/pfllskt7q7144l288lrnpc6gx606",
|
|
1140
|
-
"https://toastability-production.s3.amazonaws.com/fokd3hxzvdtsomagbfhqooyvndyv",
|
|
1141
|
-
"https://toastability-production.s3.amazonaws.com/6fffnb4phovtqkjhtzifs4rhb84u",
|
|
1142
|
-
"https://toastability-production.s3.amazonaws.com/mt87xjr79wxdhjy7496v3r6m2m9t",
|
|
1143
|
-
"https://toastability-production.s3.amazonaws.com/3dy9ge962uarlaf2xl7imdcviqgx",
|
|
1144
|
-
"https://toastability-production.s3.amazonaws.com/okf6fg4n9yv59up8ivgcdjy3w030",
|
|
1145
|
-
"https://toastability-production.s3.amazonaws.com/t7iteqw4xhtppkiws88bsoia25hv",
|
|
1146
|
-
"https://toastability-production.s3.amazonaws.com/klr5tuvulkyqfb721txtu4hgzxdm",
|
|
1147
|
-
"https://toastability-production.s3.amazonaws.com/9eddibiq5ovc9cvs3ekijkrjpahg",
|
|
1148
|
-
"https://toastability-production.s3.amazonaws.com/3ghn8dz3g9qtt4pf4nwbriaydvzb",
|
|
1149
|
-
"https://toastability-production.s3.amazonaws.com/82ykd8s8boiqaxypkulb0v0s2qiw",
|
|
1150
|
-
"https://toastability-production.s3.amazonaws.com/4eqmdeanxfk6jzvigo42y5ryv2c8",
|
|
1151
|
-
"https://toastability-production.s3.amazonaws.com/9ughnl9wnko2vdboib8n3wl3cxsy",
|
|
1152
|
-
"https://toastability-production.s3.amazonaws.com/4xjcgtlwseruezhoh3o1ga4umhj4",
|
|
1153
|
-
"https://toastability-production.s3.amazonaws.com/xwh1zzxgyd887thfm1j9lu9qnd6c",
|
|
1154
|
-
"https://toastability-production.s3.amazonaws.com/ri0dqx79spe6771np76mkmno5xfd",
|
|
1155
|
-
"https://toastability-production.s3.amazonaws.com/e13qu3083lkhdg7th64vb628172a",
|
|
1156
|
-
"https://toastability-production.s3.amazonaws.com/w87w0fyjdol9yzwo7yywkgxidvzo"
|
|
1157
|
-
];
|
|
1158
|
-
var DEFAULT_REVIEWS = [
|
|
1159
|
-
{
|
|
1160
|
-
rating: 5,
|
|
1161
|
-
title: "Absolutely stunning quality",
|
|
1162
|
-
content: "The craftsmanship on this is incredible. Photos don't do it justice - it looks even better in person. The material feels premium and the fit is perfect. I've already gotten so many compliments!",
|
|
1163
|
-
author: "Sarah M.",
|
|
1164
|
-
avatarSrc: blockBrandedIconsAndPlaceholders.avatar1,
|
|
1165
|
-
date: "Dec 10, 2024",
|
|
1166
|
-
verified: true,
|
|
1167
|
-
images: [imagePlaceholders[0], imagePlaceholders[1]],
|
|
1168
|
-
helpful: 24,
|
|
1169
|
-
variant: "Size M, Navy Blue"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
rating: 4,
|
|
1173
|
-
title: "Great product, minor sizing issue",
|
|
1174
|
-
content: "Love the quality and design. Runs slightly small so I'd recommend sizing up. Other than that, it's exactly what I was looking for. Fast shipping too!",
|
|
1175
|
-
author: "James R.",
|
|
1176
|
-
avatarSrc: blockBrandedIconsAndPlaceholders.avatar2,
|
|
1177
|
-
date: "Dec 8, 2024",
|
|
1178
|
-
verified: true,
|
|
1179
|
-
helpful: 18,
|
|
1180
|
-
variant: "Size L, Black"
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
rating: 5,
|
|
1184
|
-
title: "My new favorite!",
|
|
1185
|
-
content: "I've been searching for something like this for months. The attention to detail is amazing - from the stitching to the hardware, everything is top notch. Worth every penny.",
|
|
1186
|
-
author: "Emily K.",
|
|
1187
|
-
avatarSrc: blockBrandedIconsAndPlaceholders.avatar3,
|
|
1188
|
-
date: "Dec 5, 2024",
|
|
1189
|
-
verified: true,
|
|
1190
|
-
images: [imagePlaceholders[2]],
|
|
1191
|
-
helpful: 31,
|
|
1192
|
-
variant: "One Size, Cream"
|
|
1193
|
-
},
|
|
1194
|
-
{
|
|
1195
|
-
rating: 5,
|
|
1196
|
-
title: "Exceeded expectations",
|
|
1197
|
-
content: "Was hesitant to order online but so glad I did. The color is exactly as shown and the quality is exceptional. Customer service was also very responsive when I had questions about care instructions.",
|
|
1198
|
-
author: "Michael T.",
|
|
1199
|
-
date: "Dec 2, 2024",
|
|
1200
|
-
verified: false,
|
|
1201
|
-
helpful: 12
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
rating: 4,
|
|
1205
|
-
title: "Beautiful but pricey",
|
|
1206
|
-
content: "The product is gorgeous and well-made. I debated for a while because of the price, but ultimately happy with my purchase. Would love to see more color options in the future.",
|
|
1207
|
-
author: "Lisa P.",
|
|
1208
|
-
avatarSrc: blockBrandedIconsAndPlaceholders.avatar5,
|
|
1209
|
-
date: "Nov 28, 2024",
|
|
1210
|
-
verified: true,
|
|
1211
|
-
images: [imagePlaceholders[3]],
|
|
1212
|
-
helpful: 8,
|
|
1213
|
-
variant: "Gold"
|
|
1214
|
-
}
|
|
1215
|
-
];
|
|
1216
1032
|
function StarRating({ rating, size = 16 }) {
|
|
1217
1033
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-0.5", children: [1, 2, 3, 4, 5].map((star) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1218
1034
|
DynamicIcon,
|
|
@@ -1227,7 +1043,7 @@ function StarRating({ rating, size = 16 }) {
|
|
|
1227
1043
|
)) });
|
|
1228
1044
|
}
|
|
1229
1045
|
function ReviewsImagesHelpful({
|
|
1230
|
-
reviews
|
|
1046
|
+
reviews,
|
|
1231
1047
|
reviewsSlot,
|
|
1232
1048
|
heading,
|
|
1233
1049
|
writeReviewLabel,
|
|
@@ -1241,15 +1057,15 @@ function ReviewsImagesHelpful({
|
|
|
1241
1057
|
imagesClassName,
|
|
1242
1058
|
onWriteReview,
|
|
1243
1059
|
background,
|
|
1244
|
-
spacing,
|
|
1060
|
+
spacing = "py-6 md:py-32",
|
|
1245
1061
|
pattern,
|
|
1246
1062
|
patternOpacity,
|
|
1247
1063
|
optixFlowConfig
|
|
1248
1064
|
}) {
|
|
1249
1065
|
const [helpfulClicked, setHelpfulClicked] = React.useState(/* @__PURE__ */ new Set());
|
|
1250
|
-
const totalReviews = reviews
|
|
1251
|
-
const averageRating = reviews
|
|
1252
|
-
const handleHelpful = (reviewIndex) => {
|
|
1066
|
+
const totalReviews = reviews?.length ?? 0;
|
|
1067
|
+
const averageRating = totalReviews > 0 ? (reviews?.reduce((sum, review) => sum + review.rating, 0) ?? 0) / totalReviews : 0;
|
|
1068
|
+
const handleHelpful = React.useCallback((reviewIndex) => {
|
|
1253
1069
|
setHelpfulClicked((prev) => {
|
|
1254
1070
|
const newSet = new Set(prev);
|
|
1255
1071
|
if (newSet.has(reviewIndex)) {
|
|
@@ -1259,16 +1075,17 @@ function ReviewsImagesHelpful({
|
|
|
1259
1075
|
}
|
|
1260
1076
|
return newSet;
|
|
1261
1077
|
});
|
|
1262
|
-
};
|
|
1263
|
-
const getAuthorName = (review) => {
|
|
1078
|
+
}, []);
|
|
1079
|
+
const getAuthorName = React.useCallback((review) => {
|
|
1264
1080
|
if (typeof review.author === "string") return review.author;
|
|
1265
1081
|
return "";
|
|
1266
|
-
};
|
|
1267
|
-
const getInitials = (name) => {
|
|
1082
|
+
}, []);
|
|
1083
|
+
const getInitials = React.useCallback((name) => {
|
|
1268
1084
|
return name.split(" ").map((n) => n[0]).join("");
|
|
1269
|
-
};
|
|
1085
|
+
}, []);
|
|
1270
1086
|
const renderedReviews = React.useMemo(() => {
|
|
1271
1087
|
if (reviewsSlot) return reviewsSlot;
|
|
1088
|
+
if (!reviews || reviews.length === 0) return null;
|
|
1272
1089
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-0", children: reviews.map((review, index) => {
|
|
1273
1090
|
const authorName = getAuthorName(review);
|
|
1274
1091
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: reviewClassName, children: [
|
|
@@ -1377,7 +1194,20 @@ function ReviewsImagesHelpful({
|
|
|
1377
1194
|
] }) })
|
|
1378
1195
|
] }, index);
|
|
1379
1196
|
}) });
|
|
1380
|
-
}, [
|
|
1197
|
+
}, [
|
|
1198
|
+
reviewsSlot,
|
|
1199
|
+
reviews,
|
|
1200
|
+
reviewClassName,
|
|
1201
|
+
contentClassName,
|
|
1202
|
+
authorClassName,
|
|
1203
|
+
imagesClassName,
|
|
1204
|
+
helpfulClicked,
|
|
1205
|
+
optixFlowConfig,
|
|
1206
|
+
reportButtonLabel,
|
|
1207
|
+
getAuthorName,
|
|
1208
|
+
getInitials,
|
|
1209
|
+
handleHelpful
|
|
1210
|
+
]);
|
|
1381
1211
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1382
1212
|
Section,
|
|
1383
1213
|
{
|
|
@@ -1406,7 +1236,7 @@ function ReviewsImagesHelpful({
|
|
|
1406
1236
|
children: heading
|
|
1407
1237
|
}
|
|
1408
1238
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
1409
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center gap-2", children: [
|
|
1239
|
+
totalReviews > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-2 flex items-center gap-2", children: [
|
|
1410
1240
|
/* @__PURE__ */ jsxRuntime.jsx(StarRating, { rating: Math.round(averageRating), size: 20 }),
|
|
1411
1241
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold", children: averageRating.toFixed(1) }),
|
|
1412
1242
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm text-muted-foreground", children: [
|
|
@@ -1416,7 +1246,7 @@ function ReviewsImagesHelpful({
|
|
|
1416
1246
|
] })
|
|
1417
1247
|
] })
|
|
1418
1248
|
] }),
|
|
1419
|
-
/* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, variant: "outline", onClick: onWriteReview, children: writeReviewLabel })
|
|
1249
|
+
(writeReviewLabel || onWriteReview) && /* @__PURE__ */ jsxRuntime.jsx(Pressable, { asButton: true, variant: "outline", onClick: onWriteReview, children: writeReviewLabel })
|
|
1420
1250
|
]
|
|
1421
1251
|
}
|
|
1422
1252
|
),
|