@opensite/ui 0.5.3 → 0.5.5
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-company-profile.cjs +11 -11
- package/dist/about-company-profile.js +12 -11
- package/dist/about-developer-profile.cjs +11 -11
- package/dist/about-developer-profile.js +12 -11
- package/dist/about-developer-story.cjs +11 -11
- package/dist/about-developer-story.js +12 -11
- package/dist/about-interactive-tabs.cjs +10 -5
- package/dist/about-interactive-tabs.js +12 -6
- package/dist/about-location-info-hero.cjs +14 -14
- package/dist/about-location-info-hero.js +15 -15
- package/dist/about-minimal-story.cjs +5 -4
- package/dist/about-minimal-story.js +6 -5
- package/dist/about-mission-dual-image.cjs +5 -5
- package/dist/about-mission-dual-image.js +6 -5
- package/dist/about-mission-features.cjs +5 -4
- package/dist/about-mission-features.js +6 -5
- package/dist/about-network-spotlight.cjs +12 -134
- package/dist/about-network-spotlight.js +13 -135
- package/dist/about-startup-team.cjs +10 -12
- package/dist/about-startup-team.js +11 -12
- package/dist/about-stats-showcase.cjs +17 -16
- package/dist/about-stats-showcase.js +17 -16
- package/dist/about-stats-sidebar.cjs +8 -7
- package/dist/about-stats-sidebar.js +8 -7
- package/dist/about-story-expertise.cjs +17 -139
- package/dist/about-story-expertise.js +18 -140
- package/dist/about-story-gallery.cjs +6 -9
- package/dist/about-story-gallery.js +6 -9
- package/dist/about-story-hero.cjs +6 -9
- package/dist/about-story-hero.js +7 -10
- package/dist/about-streamline-team.cjs +10 -10
- package/dist/about-streamline-team.js +11 -10
- package/dist/about-vision-gallery.cjs +33 -40
- package/dist/about-vision-gallery.d.cts +44 -24
- package/dist/about-vision-gallery.d.ts +44 -24
- package/dist/about-vision-gallery.js +34 -40
- package/dist/alternating-blocks.cjs +5 -5
- package/dist/alternating-blocks.js +5 -5
- package/dist/article-breadcrumb-social.cjs +35 -41
- package/dist/article-breadcrumb-social.d.cts +0 -2
- package/dist/article-breadcrumb-social.d.ts +0 -2
- package/dist/article-breadcrumb-social.js +35 -41
- package/dist/article-chapters-author.cjs +80 -80
- package/dist/article-chapters-author.js +79 -79
- package/dist/article-compact-toc.cjs +31 -30
- package/dist/article-compact-toc.js +30 -29
- package/dist/article-hero-prose.cjs +9 -9
- package/dist/article-hero-prose.d.cts +5 -5
- package/dist/article-hero-prose.d.ts +5 -5
- package/dist/article-hero-prose.js +9 -9
- package/dist/article-sidebar-sticky.cjs +12 -11
- package/dist/article-sidebar-sticky.js +12 -11
- package/dist/article-split-animated.cjs +23 -142
- package/dist/article-split-animated.js +23 -142
- package/dist/article-toc-sidebar.cjs +31 -31
- package/dist/article-toc-sidebar.js +30 -30
- package/dist/banner-announcement-dismissible.cjs +37 -17
- package/dist/banner-announcement-dismissible.d.cts +0 -2
- package/dist/banner-announcement-dismissible.d.ts +0 -2
- package/dist/banner-announcement-dismissible.js +38 -18
- package/dist/banner-countdown-sale.cjs +19 -11
- package/dist/banner-countdown-sale.d.cts +0 -1
- package/dist/banner-countdown-sale.d.ts +0 -1
- package/dist/banner-countdown-sale.js +21 -13
- package/dist/banner-delivery-countdown.cjs +29 -24
- package/dist/banner-delivery-countdown.d.cts +0 -2
- package/dist/banner-delivery-countdown.d.ts +0 -2
- package/dist/banner-delivery-countdown.js +30 -25
- package/dist/banner-event-promo.cjs +28 -13
- package/dist/banner-event-promo.js +29 -13
- package/dist/banner-floating-offer.cjs +42 -24
- package/dist/banner-floating-offer.d.cts +0 -3
- package/dist/banner-floating-offer.d.ts +0 -3
- package/dist/banner-floating-offer.js +43 -25
- package/dist/banner-gdpr-rights.cjs +36 -19
- package/dist/banner-gdpr-rights.d.cts +3 -5
- package/dist/banner-gdpr-rights.d.ts +3 -5
- package/dist/banner-gdpr-rights.js +37 -20
- package/dist/banner-privacy-notice.cjs +34 -17
- package/dist/banner-privacy-notice.d.cts +0 -2
- package/dist/banner-privacy-notice.d.ts +0 -2
- package/dist/banner-privacy-notice.js +35 -18
- package/dist/banner-promo-cta.cjs +27 -12
- package/dist/banner-promo-cta.js +28 -12
- package/dist/banner-social-follow.cjs +37 -17
- package/dist/banner-social-follow.d.cts +0 -2
- package/dist/banner-social-follow.d.ts +0 -2
- package/dist/banner-social-follow.js +38 -18
- package/dist/banner-survey-incentive.cjs +34 -17
- package/dist/banner-survey-incentive.d.cts +0 -2
- package/dist/banner-survey-incentive.d.ts +0 -2
- package/dist/banner-survey-incentive.js +35 -18
- package/dist/blog-cards-read-time.cjs +408 -24
- package/dist/blog-cards-read-time.d.cts +20 -1
- package/dist/blog-cards-read-time.d.ts +20 -1
- package/dist/blog-cards-read-time.js +409 -24
- package/dist/blog-cards-tagline-cta.cjs +406 -19
- package/dist/blog-cards-tagline-cta.d.cts +20 -1
- package/dist/blog-cards-tagline-cta.d.ts +20 -1
- package/dist/blog-cards-tagline-cta.js +407 -19
- package/dist/blog-category-overlay.cjs +407 -20
- package/dist/blog-category-overlay.d.cts +27 -8
- package/dist/blog-category-overlay.d.ts +27 -8
- package/dist/blog-category-overlay.js +408 -20
- package/dist/blog-featured-popular.cjs +406 -19
- package/dist/blog-featured-popular.d.cts +20 -1
- package/dist/blog-featured-popular.d.ts +20 -1
- package/dist/blog-featured-popular.js +407 -19
- package/dist/blog-filtered-results.cjs +457 -71
- package/dist/blog-filtered-results.d.cts +38 -19
- package/dist/blog-filtered-results.d.ts +38 -19
- package/dist/blog-filtered-results.js +455 -69
- package/dist/blog-grid-author-cards.cjs +408 -20
- package/dist/blog-grid-author-cards.d.cts +28 -9
- package/dist/blog-grid-author-cards.d.ts +28 -9
- package/dist/blog-grid-author-cards.js +409 -20
- package/dist/blog-grid-nine-posts.cjs +403 -16
- package/dist/blog-grid-nine-posts.d.cts +24 -5
- package/dist/blog-grid-nine-posts.d.ts +24 -5
- package/dist/blog-grid-nine-posts.js +404 -16
- package/dist/blog-horizontal-cards.cjs +407 -20
- package/dist/blog-horizontal-cards.d.cts +21 -2
- package/dist/blog-horizontal-cards.d.ts +21 -2
- package/dist/blog-horizontal-cards.js +408 -20
- package/dist/blog-horizontal-timeline.cjs +401 -14
- package/dist/blog-horizontal-timeline.d.cts +28 -9
- package/dist/blog-horizontal-timeline.d.ts +28 -9
- package/dist/blog-horizontal-timeline.js +402 -14
- package/dist/blog-masonry-featured.cjs +405 -18
- package/dist/blog-masonry-featured.d.cts +28 -9
- package/dist/blog-masonry-featured.d.ts +28 -9
- package/dist/blog-masonry-featured.js +406 -18
- package/dist/blog-related-articles.cjs +401 -14
- package/dist/blog-related-articles.d.cts +20 -1
- package/dist/blog-related-articles.d.ts +20 -1
- package/dist/blog-related-articles.js +402 -14
- package/dist/blog-tech-insights.cjs +410 -23
- package/dist/blog-tech-insights.d.cts +31 -12
- package/dist/blog-tech-insights.d.ts +31 -12
- package/dist/blog-tech-insights.js +411 -23
- package/dist/case-studies-featured-border.cjs +423 -14
- package/dist/case-studies-featured-border.d.cts +20 -1
- package/dist/case-studies-featured-border.d.ts +20 -1
- package/dist/case-studies-featured-border.js +424 -14
- package/dist/case-studies-image-grid.cjs +404 -7
- package/dist/case-studies-image-grid.d.cts +20 -1
- package/dist/case-studies-image-grid.d.ts +20 -1
- package/dist/case-studies-image-grid.js +405 -7
- package/dist/case-studies-stats-card.cjs +416 -29
- package/dist/case-studies-stats-card.d.cts +20 -1
- package/dist/case-studies-stats-card.d.ts +20 -1
- package/dist/case-studies-stats-card.js +417 -29
- package/dist/case-studies-testimonial-stats.cjs +409 -10
- package/dist/case-studies-testimonial-stats.d.cts +20 -1
- package/dist/case-studies-testimonial-stats.d.ts +20 -1
- package/dist/case-studies-testimonial-stats.js +409 -10
- package/dist/case-study-prose-sidebar.cjs +414 -23
- package/dist/case-study-prose-sidebar.d.cts +34 -15
- package/dist/case-study-prose-sidebar.d.ts +34 -15
- package/dist/case-study-prose-sidebar.js +415 -23
- package/dist/case-study-stats-metrics.cjs +443 -43
- package/dist/case-study-stats-metrics.d.cts +39 -20
- package/dist/case-study-stats-metrics.d.ts +39 -20
- package/dist/case-study-stats-metrics.js +444 -43
- package/dist/case-study-toc-social-sidebar.cjs +436 -46
- package/dist/case-study-toc-social-sidebar.d.cts +36 -17
- package/dist/case-study-toc-social-sidebar.d.ts +36 -17
- package/dist/case-study-toc-social-sidebar.js +437 -47
- package/dist/comparison-ai-models.cjs +498 -77
- package/dist/comparison-ai-models.d.cts +25 -7
- package/dist/comparison-ai-models.d.ts +25 -7
- package/dist/comparison-ai-models.js +497 -76
- package/dist/comparison-feature-cards.cjs +492 -80
- package/dist/comparison-feature-cards.d.cts +25 -6
- package/dist/comparison-feature-cards.d.ts +25 -6
- package/dist/comparison-feature-cards.js +492 -79
- package/dist/comparison-feature-grid.cjs +475 -47
- package/dist/comparison-feature-grid.d.cts +24 -1
- package/dist/comparison-feature-grid.d.ts +24 -1
- package/dist/comparison-feature-grid.js +476 -47
- package/dist/comparison-grid-badges.cjs +422 -25
- package/dist/comparison-grid-badges.d.cts +26 -3
- package/dist/comparison-grid-badges.d.ts +26 -3
- package/dist/comparison-grid-badges.js +423 -25
- package/dist/comparison-image-cards.cjs +450 -36
- package/dist/comparison-image-cards.d.cts +23 -4
- package/dist/comparison-image-cards.d.ts +23 -4
- package/dist/comparison-image-cards.js +451 -36
- package/dist/comparison-legacy-modern.cjs +442 -41
- package/dist/comparison-legacy-modern.d.cts +29 -6
- package/dist/comparison-legacy-modern.d.ts +29 -6
- package/dist/comparison-legacy-modern.js +443 -41
- package/dist/comparison-metrics-rows.cjs +478 -47
- package/dist/comparison-metrics-rows.d.cts +20 -1
- package/dist/comparison-metrics-rows.d.ts +20 -1
- package/dist/comparison-metrics-rows.js +479 -47
- package/dist/comparison-table-tabs.cjs +423 -13
- package/dist/comparison-table-tabs.d.cts +25 -2
- package/dist/comparison-table-tabs.d.ts +25 -2
- package/dist/comparison-table-tabs.js +424 -14
- package/dist/comparison-table-tooltips.cjs +443 -37
- package/dist/comparison-table-tooltips.d.cts +24 -1
- package/dist/comparison-table-tooltips.d.ts +24 -1
- package/dist/comparison-table-tooltips.js +443 -37
- package/dist/comparison-table-two-column.cjs +463 -53
- package/dist/comparison-table-two-column.d.cts +24 -6
- package/dist/comparison-table-two-column.d.ts +24 -6
- package/dist/comparison-table-two-column.js +464 -53
- package/dist/components.cjs +8 -8
- package/dist/components.js +9 -9
- package/dist/contact-callback.cjs +577 -190
- package/dist/contact-callback.d.cts +35 -1
- package/dist/contact-callback.d.ts +35 -1
- package/dist/contact-callback.js +578 -190
- package/dist/contact-card.cjs +502 -115
- package/dist/contact-card.d.cts +20 -1
- package/dist/contact-card.d.ts +20 -1
- package/dist/contact-card.js +503 -115
- package/dist/contact-careers.cjs +628 -241
- package/dist/contact-careers.d.cts +20 -2
- package/dist/contact-careers.d.ts +20 -2
- package/dist/contact-careers.js +629 -242
- package/dist/contact-catering.cjs +664 -277
- package/dist/contact-catering.d.cts +20 -1
- package/dist/contact-catering.d.ts +20 -1
- package/dist/contact-catering.js +665 -277
- package/dist/contact-consultation.cjs +567 -180
- package/dist/contact-consultation.d.cts +20 -2
- package/dist/contact-consultation.d.ts +20 -2
- package/dist/contact-consultation.js +568 -180
- package/dist/contact-dark.cjs +486 -99
- package/dist/contact-dark.d.cts +20 -2
- package/dist/contact-dark.d.ts +20 -2
- package/dist/contact-dark.js +487 -99
- package/dist/contact-demo.cjs +558 -171
- package/dist/contact-demo.d.cts +20 -2
- package/dist/contact-demo.d.ts +20 -2
- package/dist/contact-demo.js +559 -171
- package/dist/contact-emergency.cjs +571 -184
- package/dist/contact-emergency.d.cts +20 -2
- package/dist/contact-emergency.d.ts +20 -2
- package/dist/contact-emergency.js +572 -184
- package/dist/contact-event.cjs +489 -102
- package/dist/contact-event.d.cts +20 -2
- package/dist/contact-event.d.ts +20 -2
- package/dist/contact-event.js +490 -102
- package/dist/contact-faq.cjs +478 -91
- package/dist/contact-faq.d.cts +20 -2
- package/dist/contact-faq.d.ts +20 -2
- package/dist/contact-faq.js +479 -91
- package/dist/contact-feedback.cjs +450 -63
- package/dist/contact-feedback.d.cts +20 -2
- package/dist/contact-feedback.d.ts +20 -2
- package/dist/contact-feedback.js +451 -63
- package/dist/contact-fitness.cjs +489 -102
- package/dist/contact-fitness.d.cts +20 -2
- package/dist/contact-fitness.d.ts +20 -2
- package/dist/contact-fitness.js +490 -102
- package/dist/contact-floating-banner.cjs +5 -5
- package/dist/contact-floating-banner.js +5 -5
- package/dist/contact-guest.cjs +489 -102
- package/dist/contact-guest.d.cts +20 -2
- package/dist/contact-guest.d.ts +20 -2
- package/dist/contact-guest.js +490 -102
- package/dist/contact-image.cjs +489 -102
- package/dist/contact-image.d.cts +20 -2
- package/dist/contact-image.d.ts +20 -2
- package/dist/contact-image.js +490 -102
- package/dist/contact-insurance.cjs +489 -102
- package/dist/contact-insurance.d.cts +20 -2
- package/dist/contact-insurance.d.ts +20 -2
- package/dist/contact-insurance.js +490 -102
- package/dist/contact-interview.cjs +489 -102
- package/dist/contact-interview.d.cts +20 -2
- package/dist/contact-interview.d.ts +20 -2
- package/dist/contact-interview.js +490 -102
- package/dist/contact-locations.cjs +489 -102
- package/dist/contact-locations.d.cts +20 -2
- package/dist/contact-locations.d.ts +20 -2
- package/dist/contact-locations.js +490 -102
- package/dist/contact-maintenance.cjs +489 -102
- package/dist/contact-maintenance.d.cts +20 -2
- package/dist/contact-maintenance.d.ts +20 -2
- package/dist/contact-maintenance.js +490 -102
- package/dist/contact-map.cjs +489 -102
- package/dist/contact-map.d.cts +20 -2
- package/dist/contact-map.d.ts +20 -2
- package/dist/contact-map.js +490 -102
- package/dist/contact-minimal.cjs +466 -79
- package/dist/contact-minimal.d.cts +32 -1
- package/dist/contact-minimal.d.ts +32 -1
- package/dist/contact-minimal.js +467 -79
- package/dist/contact-moving.cjs +489 -102
- package/dist/contact-moving.d.cts +20 -2
- package/dist/contact-moving.d.ts +20 -2
- package/dist/contact-moving.js +490 -102
- package/dist/contact-multistep.cjs +489 -102
- package/dist/contact-multistep.d.cts +20 -2
- package/dist/contact-multistep.d.ts +20 -2
- package/dist/contact-multistep.js +490 -102
- package/dist/contact-partnership.cjs +489 -102
- package/dist/contact-partnership.d.cts +20 -2
- package/dist/contact-partnership.d.ts +20 -2
- package/dist/contact-partnership.js +490 -102
- package/dist/contact-photography.cjs +489 -102
- package/dist/contact-photography.d.cts +20 -2
- package/dist/contact-photography.d.ts +20 -2
- package/dist/contact-photography.js +490 -102
- package/dist/contact-press.cjs +489 -102
- package/dist/contact-press.d.cts +20 -2
- package/dist/contact-press.d.ts +20 -2
- package/dist/contact-press.js +490 -102
- package/dist/contact-quote.cjs +489 -102
- package/dist/contact-quote.d.cts +20 -2
- package/dist/contact-quote.d.ts +20 -2
- package/dist/contact-quote.js +490 -102
- package/dist/contact-referral.cjs +489 -102
- package/dist/contact-referral.d.cts +20 -2
- package/dist/contact-referral.d.ts +20 -2
- package/dist/contact-referral.js +490 -102
- package/dist/contact-report.cjs +489 -102
- package/dist/contact-report.d.cts +20 -2
- package/dist/contact-report.d.ts +20 -2
- package/dist/contact-report.js +490 -102
- package/dist/contact-reservation.cjs +489 -102
- package/dist/contact-reservation.d.cts +20 -2
- package/dist/contact-reservation.d.ts +20 -2
- package/dist/contact-reservation.js +490 -102
- package/dist/contact-retreat.cjs +489 -102
- package/dist/contact-retreat.d.cts +20 -2
- package/dist/contact-retreat.d.ts +20 -2
- package/dist/contact-retreat.js +490 -102
- package/dist/contact-rsvp.cjs +489 -102
- package/dist/contact-rsvp.d.cts +20 -2
- package/dist/contact-rsvp.d.ts +20 -2
- package/dist/contact-rsvp.js +490 -102
- package/dist/contact-sales.cjs +489 -102
- package/dist/contact-sales.d.cts +20 -1
- package/dist/contact-sales.d.ts +20 -1
- package/dist/contact-sales.js +490 -102
- package/dist/contact-schedule.cjs +489 -102
- package/dist/contact-schedule.d.cts +20 -2
- package/dist/contact-schedule.d.ts +20 -2
- package/dist/contact-schedule.js +490 -102
- package/dist/contact-sponsorship.cjs +489 -102
- package/dist/contact-sponsorship.d.cts +20 -2
- package/dist/contact-sponsorship.d.ts +20 -2
- package/dist/contact-sponsorship.js +490 -102
- package/dist/contact-support.cjs +463 -76
- package/dist/contact-support.d.cts +20 -2
- package/dist/contact-support.d.ts +20 -2
- package/dist/contact-support.js +464 -76
- package/dist/contact-tenant.cjs +489 -102
- package/dist/contact-tenant.d.cts +20 -2
- package/dist/contact-tenant.d.ts +20 -2
- package/dist/contact-tenant.js +490 -102
- package/dist/contact-vendor.cjs +489 -102
- package/dist/contact-vendor.d.cts +20 -2
- package/dist/contact-vendor.d.ts +20 -2
- package/dist/contact-vendor.js +490 -102
- package/dist/contact-volunteer.cjs +489 -102
- package/dist/contact-volunteer.d.cts +20 -2
- package/dist/contact-volunteer.d.ts +20 -2
- package/dist/contact-volunteer.js +490 -102
- package/dist/contact-warranty.cjs +489 -102
- package/dist/contact-warranty.d.cts +20 -2
- package/dist/contact-warranty.d.ts +20 -2
- package/dist/contact-warranty.js +490 -102
- package/dist/contact-wedding.cjs +489 -102
- package/dist/contact-wedding.d.cts +20 -2
- package/dist/contact-wedding.d.ts +20 -2
- package/dist/contact-wedding.js +490 -102
- package/dist/cta-accent-background.cjs +11 -11
- package/dist/cta-accent-background.js +12 -12
- package/dist/cta-app-download-newsletter.cjs +16 -135
- package/dist/cta-app-download-newsletter.js +17 -136
- package/dist/cta-background-icon-badge.cjs +12 -131
- package/dist/cta-background-icon-badge.js +13 -132
- package/dist/cta-case-study-testimonial.cjs +31 -154
- package/dist/cta-case-study-testimonial.js +32 -155
- package/dist/cta-documentation-links.cjs +15 -15
- package/dist/cta-documentation-links.js +16 -16
- package/dist/cta-enterprise-dark-features.cjs +21 -21
- package/dist/cta-enterprise-dark-features.js +22 -22
- package/dist/cta-enterprise-split.cjs +14 -14
- package/dist/cta-enterprise-split.js +15 -15
- package/dist/cta-feature-cards-grid.cjs +16 -16
- package/dist/cta-feature-cards-grid.js +17 -17
- package/dist/cta-feature-checklist.cjs +14 -14
- package/dist/cta-feature-checklist.js +15 -15
- package/dist/cta-feature-list.cjs +16 -135
- package/dist/cta-feature-list.js +17 -136
- package/dist/cta-fullwidth-background.cjs +14 -133
- package/dist/cta-fullwidth-background.js +15 -134
- package/dist/cta-gradient-logos-floating.cjs +17 -17
- package/dist/cta-gradient-logos-floating.js +18 -18
- package/dist/cta-gradient-stats-hero.cjs +16 -16
- package/dist/cta-gradient-stats-hero.js +17 -17
- package/dist/cta-hero-feature-cards.cjs +36 -136
- package/dist/cta-hero-feature-cards.js +37 -137
- package/dist/cta-image-overlay-arrow.cjs +12 -131
- package/dist/cta-image-overlay-arrow.js +13 -132
- package/dist/cta-image-overlay-centered.cjs +12 -131
- package/dist/cta-image-overlay-centered.js +13 -132
- package/dist/cta-minimal-separator.cjs +8 -8
- package/dist/cta-minimal-separator.js +9 -9
- package/dist/cta-newsletter-features.cjs +14 -14
- package/dist/cta-newsletter-features.js +15 -15
- package/dist/cta-pattern-background.cjs +11 -11
- package/dist/cta-pattern-background.js +12 -12
- package/dist/cta-platform-demo.cjs +16 -139
- package/dist/cta-platform-demo.js +17 -140
- package/dist/cta-simple-centered.cjs +11 -11
- package/dist/cta-simple-centered.js +12 -12
- package/dist/cta-split-gradient-image.cjs +14 -133
- package/dist/cta-split-gradient-image.js +15 -134
- package/dist/cta-split-image-logos.cjs +17 -136
- package/dist/cta-split-image-logos.js +18 -137
- package/dist/cta-split-image.cjs +60 -174
- package/dist/cta-split-image.js +61 -175
- package/dist/cta-stacked-cards.cjs +11 -11
- package/dist/cta-stacked-cards.js +12 -12
- package/dist/cta-video-background-hero.cjs +16 -100
- package/dist/cta-video-background-hero.js +17 -101
- package/dist/cta-workflow-tabs.cjs +18 -137
- package/dist/cta-workflow-tabs.js +19 -138
- package/dist/hero-ad-campaign-expert.cjs +2 -2
- package/dist/hero-ad-campaign-expert.js +2 -2
- package/dist/hero-adaptable-product-grid.cjs +2 -2
- package/dist/hero-adaptable-product-grid.js +2 -2
- package/dist/hero-agency-animated-images.cjs +2 -2
- package/dist/hero-agency-animated-images.js +2 -2
- package/dist/hero-ai-powered-carousel.cjs +2 -2
- package/dist/hero-ai-powered-carousel.js +2 -2
- package/dist/hero-announcement-badge.cjs +2 -2
- package/dist/hero-announcement-badge.js +2 -2
- package/dist/hero-architecture-fullscreen.cjs +2 -2
- package/dist/hero-architecture-fullscreen.js +2 -2
- package/dist/hero-badge-image-split.cjs +2 -2
- package/dist/hero-badge-image-split.js +2 -2
- package/dist/hero-badge-shadow-overlay.cjs +2 -2
- package/dist/hero-badge-shadow-overlay.js +2 -2
- package/dist/hero-billing-platform-logos.cjs +2 -2
- package/dist/hero-billing-platform-logos.js +2 -2
- package/dist/hero-business-carousel-dots.cjs +2 -2
- package/dist/hero-business-carousel-dots.js +2 -2
- 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 +2 -2
- package/dist/hero-centered-gradient-cta.js +2 -2
- package/dist/hero-centered-image-grid.cjs +2 -2
- package/dist/hero-centered-image-grid.js +2 -2
- package/dist/hero-centered-screenshot.cjs +2 -2
- package/dist/hero-centered-screenshot.js +2 -2
- package/dist/hero-coming-soon-countdown.cjs +2 -2
- package/dist/hero-coming-soon-countdown.js +2 -2
- package/dist/hero-community-survey-cta.cjs +2 -2
- package/dist/hero-community-survey-cta.js +2 -2
- package/dist/hero-conversation-intelligence.cjs +2 -2
- package/dist/hero-conversation-intelligence.js +2 -2
- package/dist/hero-conversion-video-play.cjs +2 -2
- package/dist/hero-conversion-video-play.js +2 -2
- package/dist/hero-creative-studio-stacked.cjs +2 -2
- package/dist/hero-creative-studio-stacked.js +2 -2
- package/dist/hero-crm-streamlined.cjs +2 -2
- package/dist/hero-crm-streamlined.js +2 -2
- package/dist/hero-customer-support-layered.cjs +2 -2
- package/dist/hero-customer-support-layered.js +2 -2
- package/dist/hero-dashed-border-features.cjs +2 -2
- package/dist/hero-dashed-border-features.js +2 -2
- package/dist/hero-design-carousel-portfolio.cjs +2 -2
- package/dist/hero-design-carousel-portfolio.js +2 -2
- package/dist/hero-design-showcase-logos.cjs +2 -2
- package/dist/hero-design-showcase-logos.js +2 -2
- package/dist/hero-design-system-3d.cjs +2 -2
- package/dist/hero-design-system-3d.js +2 -2
- package/dist/hero-developer-tools-code.cjs +2 -2
- package/dist/hero-developer-tools-code.js +2 -2
- package/dist/hero-digital-agency-fullscreen.cjs +2 -2
- package/dist/hero-digital-agency-fullscreen.js +2 -2
- 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 +2 -2
- package/dist/hero-event-registration.js +2 -2
- package/dist/hero-feature-cards-grid.cjs +2 -2
- package/dist/hero-feature-cards-grid.js +2 -2
- package/dist/hero-fullscreen-background-image.cjs +2 -2
- package/dist/hero-fullscreen-background-image.js +2 -2
- package/dist/hero-fullscreen-logo-cta.cjs +2 -2
- package/dist/hero-fullscreen-logo-cta.js +2 -2
- package/dist/hero-gradient-avatars-rating.cjs +2 -2
- package/dist/hero-gradient-avatars-rating.js +2 -2
- package/dist/hero-gradient-client-focused.cjs +2 -2
- package/dist/hero-gradient-client-focused.js +2 -2
- package/dist/hero-grid-pattern-efficiency.cjs +2 -2
- package/dist/hero-grid-pattern-efficiency.js +2 -2
- package/dist/hero-grid-pattern-solutions.cjs +2 -2
- package/dist/hero-grid-pattern-solutions.js +2 -2
- package/dist/hero-hiring-animated-text.cjs +2 -2
- package/dist/hero-hiring-animated-text.js +2 -2
- package/dist/hero-image-left-content.cjs +2 -2
- package/dist/hero-image-left-content.js +2 -2
- package/dist/hero-image-slider.cjs +2 -2
- package/dist/hero-image-slider.js +2 -2
- package/dist/hero-innovation-image-grid.cjs +2 -2
- package/dist/hero-innovation-image-grid.js +2 -2
- package/dist/hero-logo-centered-screenshot.cjs +2 -2
- package/dist/hero-logo-centered-screenshot.js +2 -2
- package/dist/hero-marketplace-scattered-images.cjs +2 -2
- package/dist/hero-marketplace-scattered-images.js +2 -2
- package/dist/hero-mental-health-team.cjs +2 -2
- package/dist/hero-mental-health-team.js +2 -2
- package/dist/hero-mentorship-video-split.cjs +2 -2
- package/dist/hero-mentorship-video-split.js +2 -2
- package/dist/hero-minimal-centered-dark.cjs +2 -2
- package/dist/hero-minimal-centered-dark.js +2 -2
- package/dist/hero-mobile-app-download.cjs +2 -2
- package/dist/hero-mobile-app-download.js +2 -2
- package/dist/hero-newsletter-minimal.cjs +2 -2
- package/dist/hero-newsletter-minimal.js +2 -2
- package/dist/hero-pattern-badge-logos.cjs +2 -2
- package/dist/hero-pattern-badge-logos.js +2 -2
- package/dist/hero-pattern-logo-tech-stack.cjs +2 -2
- package/dist/hero-pattern-logo-tech-stack.js +2 -2
- package/dist/hero-platform-features-grid.cjs +2 -2
- package/dist/hero-platform-features-grid.js +2 -2
- package/dist/hero-portfolio-creative.cjs +2 -2
- package/dist/hero-portfolio-creative.js +2 -2
- package/dist/hero-premium-split-avatars.cjs +2 -2
- package/dist/hero-premium-split-avatars.js +2 -2
- package/dist/hero-presentation-platform-video.cjs +2 -2
- package/dist/hero-presentation-platform-video.js +2 -2
- package/dist/hero-pricing-comparison.cjs +2 -2
- package/dist/hero-pricing-comparison.js +2 -2
- package/dist/hero-product-showcase-floating.cjs +2 -2
- package/dist/hero-product-showcase-floating.js +2 -2
- 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 +2 -2
- package/dist/hero-saas-dashboard-preview.js +2 -2
- package/dist/hero-shared-inbox-layered.cjs +2 -2
- package/dist/hero-shared-inbox-layered.js +2 -2
- package/dist/hero-simple-centered-image.cjs +2 -2
- package/dist/hero-simple-centered-image.js +2 -2
- package/dist/hero-software-growth-video-dialog.cjs +2 -2
- package/dist/hero-software-growth-video-dialog.js +2 -2
- package/dist/hero-spiral-pattern-cards.cjs +2 -2
- package/dist/hero-spiral-pattern-cards.js +2 -2
- package/dist/hero-split-geometric-shapes.cjs +2 -2
- package/dist/hero-split-geometric-shapes.js +2 -2
- package/dist/hero-split-icon-cards.cjs +1 -1
- package/dist/hero-split-icon-cards.js +1 -1
- package/dist/hero-split-image-newsletter.cjs +2 -2
- package/dist/hero-split-image-newsletter.js +2 -2
- package/dist/hero-split-spiral-shapes.cjs +2 -2
- package/dist/hero-split-spiral-shapes.js +2 -2
- 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 +2 -2
- package/dist/hero-stats-social-proof.js +2 -2
- package/dist/hero-task-timer-animated.cjs +2 -2
- package/dist/hero-task-timer-animated.js +2 -2
- package/dist/hero-tech-carousel.cjs +2 -2
- package/dist/hero-tech-carousel.js +2 -2
- package/dist/hero-therapy-testimonial-grid.cjs +2 -2
- package/dist/hero-therapy-testimonial-grid.js +2 -2
- package/dist/hero-ui-library-showcase.cjs +2 -2
- package/dist/hero-ui-library-showcase.js +2 -2
- package/dist/hero-video-background-dark.cjs +2 -2
- package/dist/hero-video-background-dark.js +2 -2
- package/dist/hero-video-dialog-gradient.cjs +2 -2
- package/dist/hero-video-dialog-gradient.js +2 -2
- package/dist/hero-video-overlay-stars.cjs +2 -2
- package/dist/hero-video-overlay-stars.js +2 -2
- package/dist/hero-welcome-asymmetric-images.cjs +2 -2
- package/dist/hero-welcome-asymmetric-images.js +2 -2
- package/dist/index.cjs +8 -8
- package/dist/index.js +9 -9
- package/dist/media-hover-ctas.cjs +7 -7
- package/dist/media-hover-ctas.js +7 -7
- package/dist/registry.cjs +10071 -8111
- package/dist/registry.js +10033 -8073
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
3
|
-
import { useState } from 'react';
|
|
2
|
+
import * as React4 from 'react';
|
|
3
|
+
import React4__default, { useState } from 'react';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -18,10 +18,10 @@ function DynamicIcon({
|
|
|
18
18
|
className,
|
|
19
19
|
alt
|
|
20
20
|
}) {
|
|
21
|
-
const [svgContent, setSvgContent] =
|
|
22
|
-
const [isLoading, setIsLoading] =
|
|
23
|
-
const [error, setError] =
|
|
24
|
-
const { url, iconName } =
|
|
21
|
+
const [svgContent, setSvgContent] = React4.useState(null);
|
|
22
|
+
const [isLoading, setIsLoading] = React4.useState(true);
|
|
23
|
+
const [error, setError] = React4.useState(null);
|
|
24
|
+
const { url, iconName } = React4.useMemo(() => {
|
|
25
25
|
const separator = name.includes("/") ? "/" : ":";
|
|
26
26
|
const [prefix, iconName2] = name.split(separator);
|
|
27
27
|
const baseUrl = `https://icons.opensite.ai/api/icon/${prefix}/${iconName2}?format=svg&width=${size}&height=${size}`;
|
|
@@ -30,7 +30,7 @@ function DynamicIcon({
|
|
|
30
30
|
iconName: iconName2
|
|
31
31
|
};
|
|
32
32
|
}, [name, size]);
|
|
33
|
-
|
|
33
|
+
React4.useEffect(() => {
|
|
34
34
|
let isMounted = true;
|
|
35
35
|
const fetchSvg = async () => {
|
|
36
36
|
const cached = svgCache.get(url);
|
|
@@ -191,6 +191,379 @@ function TableCell({ className, ...props }) {
|
|
|
191
191
|
}
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
|
+
var maxWidthStyles = {
|
|
195
|
+
sm: "max-w-screen-sm",
|
|
196
|
+
md: "max-w-screen-md",
|
|
197
|
+
lg: "max-w-screen-lg",
|
|
198
|
+
xl: "max-w-7xl",
|
|
199
|
+
"2xl": "max-w-screen-2xl",
|
|
200
|
+
"4xl": "max-w-[1536px]",
|
|
201
|
+
full: "max-w-full"
|
|
202
|
+
};
|
|
203
|
+
var Container = React4__default.forwardRef(
|
|
204
|
+
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
205
|
+
const Component = as;
|
|
206
|
+
return /* @__PURE__ */ jsx(
|
|
207
|
+
Component,
|
|
208
|
+
{
|
|
209
|
+
ref,
|
|
210
|
+
className: cn(
|
|
211
|
+
"mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
212
|
+
maxWidthStyles[maxWidth],
|
|
213
|
+
className
|
|
214
|
+
),
|
|
215
|
+
...props,
|
|
216
|
+
children
|
|
217
|
+
}
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
);
|
|
221
|
+
Container.displayName = "Container";
|
|
222
|
+
|
|
223
|
+
// lib/patternSvgs.ts
|
|
224
|
+
var patternSvgs = {
|
|
225
|
+
squareAltGrid: "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
|
|
226
|
+
grid1: "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
|
|
227
|
+
noise: "https://cdn.ing/assets/i/r/286188/zrqcp9hynh3j7p2laihwzfbujgrl/noise.png",
|
|
228
|
+
dots: "https://cdn.ing/assets/files/record/286198/yfsjx9thvtxzhl2qtshxyhkrm524",
|
|
229
|
+
dotPattern: "https://cdn.ing/assets/files/record/286192/7ig0cku8aqbboiza8nuk6hw0nnsr",
|
|
230
|
+
dotPattern2: "https://cdn.ing/assets/files/record/286189/arez6gd2s7isn9i1o6c7sexdq7bl",
|
|
231
|
+
circles: "https://cdn.ing/assets/files/record/286190/gtmia3sncjtzetdshc20zf1d3c17",
|
|
232
|
+
waves: "https://cdn.ing/assets/files/record/286191/mqlb33fzxz9cdth1bx7if0wmpkp1",
|
|
233
|
+
crossPattern: "https://cdn.ing/assets/files/record/286193/9yfqwdbnqaipbp7fsb3wbzzmq472",
|
|
234
|
+
architect: "https://cdn.ing/assets/files/record/286194/vgs88ugpvyhxu13wqgy0acvae6re",
|
|
235
|
+
tinyCheckers: "https://cdn.ing/assets/files/record/286195/65efaknsw8kcpf9o3c2gybytsl5b",
|
|
236
|
+
p6: "https://cdn.ing/assets/i/r/286196/6kl0rqnd6mjk8j7e525fo8fo0vkc/p6.webp"
|
|
237
|
+
};
|
|
238
|
+
var maskTop = "radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)";
|
|
239
|
+
var maskBottom = "radial-gradient(ellipse 100% 80% at 50% 100%, #000 50%, transparent 90%)";
|
|
240
|
+
var maskCenter = "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)";
|
|
241
|
+
var maskTopLeft = "radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)";
|
|
242
|
+
var maskTopRight = "radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)";
|
|
243
|
+
var maskBottomLeft = "radial-gradient(ellipse 80% 80% at 0% 100%, #000 50%, transparent 90%)";
|
|
244
|
+
var maskBottomRight = "radial-gradient(ellipse 80% 80% at 100% 100%, #000 50%, transparent 90%)";
|
|
245
|
+
var circuitBoardPattern = (id, mask) => /* @__PURE__ */ jsxs(
|
|
246
|
+
"svg",
|
|
247
|
+
{
|
|
248
|
+
className: "h-full w-full",
|
|
249
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
250
|
+
style: mask ? {
|
|
251
|
+
maskImage: mask,
|
|
252
|
+
WebkitMaskImage: mask
|
|
253
|
+
} : void 0,
|
|
254
|
+
children: [
|
|
255
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
256
|
+
"pattern",
|
|
257
|
+
{
|
|
258
|
+
id,
|
|
259
|
+
x: "0",
|
|
260
|
+
y: "0",
|
|
261
|
+
width: "100",
|
|
262
|
+
height: "100",
|
|
263
|
+
patternUnits: "userSpaceOnUse",
|
|
264
|
+
children: [
|
|
265
|
+
/* @__PURE__ */ jsx(
|
|
266
|
+
"path",
|
|
267
|
+
{
|
|
268
|
+
d: "M0 50h40M60 50h40M50 0v40M50 60v40",
|
|
269
|
+
stroke: "hsl(var(--muted))",
|
|
270
|
+
strokeWidth: "1",
|
|
271
|
+
fill: "none"
|
|
272
|
+
}
|
|
273
|
+
),
|
|
274
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "3", fill: "hsl(var(--muted))" }),
|
|
275
|
+
/* @__PURE__ */ jsx("circle", { cx: "0", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
|
|
276
|
+
/* @__PURE__ */ jsx("circle", { cx: "100", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
|
|
277
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "0", r: "2", fill: "hsl(var(--muted))" }),
|
|
278
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "100", r: "2", fill: "hsl(var(--muted))" })
|
|
279
|
+
]
|
|
280
|
+
}
|
|
281
|
+
) }),
|
|
282
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
);
|
|
286
|
+
var gridDotsPattern = (id, mask) => /* @__PURE__ */ jsxs(
|
|
287
|
+
"svg",
|
|
288
|
+
{
|
|
289
|
+
className: "h-full w-full",
|
|
290
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
291
|
+
style: mask ? {
|
|
292
|
+
maskImage: mask,
|
|
293
|
+
WebkitMaskImage: mask
|
|
294
|
+
} : void 0,
|
|
295
|
+
children: [
|
|
296
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
297
|
+
"pattern",
|
|
298
|
+
{
|
|
299
|
+
id,
|
|
300
|
+
x: "0",
|
|
301
|
+
y: "0",
|
|
302
|
+
width: "40",
|
|
303
|
+
height: "40",
|
|
304
|
+
patternUnits: "userSpaceOnUse",
|
|
305
|
+
children: [
|
|
306
|
+
/* @__PURE__ */ jsx(
|
|
307
|
+
"path",
|
|
308
|
+
{
|
|
309
|
+
d: "M0 20h40M20 0v40",
|
|
310
|
+
stroke: "hsl(var(--muted))",
|
|
311
|
+
strokeWidth: "0.5",
|
|
312
|
+
fill: "none"
|
|
313
|
+
}
|
|
314
|
+
),
|
|
315
|
+
/* @__PURE__ */ jsx("circle", { cx: "20", cy: "20", r: "2", fill: "hsl(var(--muted))" })
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
) }),
|
|
319
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
|
|
320
|
+
]
|
|
321
|
+
}
|
|
322
|
+
);
|
|
323
|
+
var gridPattern = (size, mask) => /* @__PURE__ */ jsx(
|
|
324
|
+
"div",
|
|
325
|
+
{
|
|
326
|
+
className: "h-full w-full bg-[linear-gradient(to_right,_hsl(var(--muted))_1px,_transparent_1px),linear-gradient(to_bottom,_hsl(var(--muted))_1px,_transparent_1px)]",
|
|
327
|
+
style: {
|
|
328
|
+
backgroundSize: `${size}px ${size}px`,
|
|
329
|
+
...mask ? {
|
|
330
|
+
maskImage: mask,
|
|
331
|
+
WebkitMaskImage: mask
|
|
332
|
+
} : {}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
);
|
|
336
|
+
var diagonalCrossPattern = (mask) => /* @__PURE__ */ jsx(
|
|
337
|
+
"div",
|
|
338
|
+
{
|
|
339
|
+
className: "h-full w-full",
|
|
340
|
+
style: {
|
|
341
|
+
backgroundImage: "repeating-linear-gradient(45deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px), repeating-linear-gradient(135deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px)",
|
|
342
|
+
...mask ? {
|
|
343
|
+
maskImage: mask,
|
|
344
|
+
WebkitMaskImage: mask
|
|
345
|
+
} : {}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
);
|
|
349
|
+
var dashedGridMaskBase = "repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px), repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px)";
|
|
350
|
+
var dashedGridPattern = (fadeMask) => {
|
|
351
|
+
const mask = fadeMask ? `${dashedGridMaskBase}, ${fadeMask}` : dashedGridMaskBase;
|
|
352
|
+
return /* @__PURE__ */ jsx(
|
|
353
|
+
"div",
|
|
354
|
+
{
|
|
355
|
+
className: "h-full w-full",
|
|
356
|
+
style: {
|
|
357
|
+
backgroundImage: "linear-gradient(to right, hsl(var(--muted)) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--muted)) 1px, transparent 1px)",
|
|
358
|
+
backgroundSize: "20px 20px",
|
|
359
|
+
backgroundPosition: "0 0, 0 0",
|
|
360
|
+
maskImage: mask,
|
|
361
|
+
WebkitMaskImage: mask,
|
|
362
|
+
maskComposite: "intersect",
|
|
363
|
+
WebkitMaskComposite: "source-in"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
);
|
|
367
|
+
};
|
|
368
|
+
var gradientGlow = (position) => /* @__PURE__ */ jsx(
|
|
369
|
+
"div",
|
|
370
|
+
{
|
|
371
|
+
className: cn(
|
|
372
|
+
"pointer-events-none absolute left-1/2 z-0 aspect-square w-3/4 -translate-x-1/2 rounded-full opacity-50 blur-3xl",
|
|
373
|
+
position === "top" ? "-top-1/4" : "-bottom-1/4"
|
|
374
|
+
),
|
|
375
|
+
style: {
|
|
376
|
+
background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
);
|
|
380
|
+
var spotlight = (position) => /* @__PURE__ */ jsx(
|
|
381
|
+
"div",
|
|
382
|
+
{
|
|
383
|
+
className: cn(
|
|
384
|
+
"pointer-events-none absolute top-1/2 z-0 aspect-square w-3/4 -translate-y-1/2 rounded-full opacity-40 blur-3xl",
|
|
385
|
+
position === "left" ? "-left-1/4" : "-right-1/4"
|
|
386
|
+
),
|
|
387
|
+
style: {
|
|
388
|
+
background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
);
|
|
392
|
+
var patternOverlays = {
|
|
393
|
+
circuitBoardBasic: () => circuitBoardPattern("circuit-board-basic"),
|
|
394
|
+
circuitBoardFadeTop: () => circuitBoardPattern("circuit-board-fade-top", maskTop),
|
|
395
|
+
circuitBoardFadeBottom: () => circuitBoardPattern("circuit-board-fade-bottom", maskBottom),
|
|
396
|
+
circuitBoardFadeCenter: () => circuitBoardPattern("circuit-board-fade-center", maskCenter),
|
|
397
|
+
circuitBoardFadeTopLeft: () => circuitBoardPattern("circuit-board-fade-top-left", maskTopLeft),
|
|
398
|
+
circuitBoardFadeTopRight: () => circuitBoardPattern("circuit-board-fade-top-right", maskTopRight),
|
|
399
|
+
circuitBoardFadeBottomLeft: () => circuitBoardPattern("circuit-board-fade-bottom-left", maskBottomLeft),
|
|
400
|
+
circuitBoardFadeBottomRight: () => circuitBoardPattern("circuit-board-fade-bottom-right", maskBottomRight),
|
|
401
|
+
dashedGridBasic: () => dashedGridPattern(),
|
|
402
|
+
dashedGridFadeTop: () => dashedGridPattern(maskTop),
|
|
403
|
+
dashedGridFadeBottom: () => dashedGridPattern(maskBottom),
|
|
404
|
+
dashedGridFadeCenter: () => dashedGridPattern(maskCenter),
|
|
405
|
+
dashedGridFadeTopLeft: () => dashedGridPattern(maskTopLeft),
|
|
406
|
+
dashedGridFadeTopRight: () => dashedGridPattern(maskTopRight),
|
|
407
|
+
dashedGridFadeBottomLeft: () => dashedGridPattern(maskBottomLeft),
|
|
408
|
+
dashedGridFadeBottomRight: () => dashedGridPattern(maskBottomRight),
|
|
409
|
+
diagonalCrossBasic: () => diagonalCrossPattern(),
|
|
410
|
+
diagonalCrossFadeTop: () => diagonalCrossPattern(maskTop),
|
|
411
|
+
diagonalCrossFadeBottom: () => diagonalCrossPattern(maskBottom),
|
|
412
|
+
diagonalCrossFadeCenter: () => diagonalCrossPattern(maskCenter),
|
|
413
|
+
diagonalCrossFadeTopLeft: () => diagonalCrossPattern(maskTopLeft),
|
|
414
|
+
diagonalCrossFadeTopRight: () => diagonalCrossPattern(maskTopRight),
|
|
415
|
+
diagonalCrossFadeBottomLeft: () => diagonalCrossPattern(maskBottomLeft),
|
|
416
|
+
diagonalCrossFadeBottomRight: () => diagonalCrossPattern(maskBottomRight),
|
|
417
|
+
gridBasic: () => gridPattern(40),
|
|
418
|
+
gridFadeTop: () => gridPattern(32, maskTop),
|
|
419
|
+
gridFadeBottom: () => gridPattern(32, maskBottom),
|
|
420
|
+
gridFadeCenter: () => gridPattern(40, maskCenter),
|
|
421
|
+
gridFadeTopLeft: () => gridPattern(32, maskTopLeft),
|
|
422
|
+
gridFadeTopRight: () => gridPattern(32, maskTopRight),
|
|
423
|
+
gridFadeBottomLeft: () => gridPattern(32, maskBottomLeft),
|
|
424
|
+
gridFadeBottomRight: () => gridPattern(32, maskBottomRight),
|
|
425
|
+
gridDotsBasic: () => gridDotsPattern("grid-dots-basic"),
|
|
426
|
+
gridDotsFadeCenter: () => gridDotsPattern("grid-dots-fade-center", maskCenter),
|
|
427
|
+
gradientGlowTop: () => gradientGlow("top"),
|
|
428
|
+
gradientGlowBottom: () => gradientGlow("bottom"),
|
|
429
|
+
spotlightLeft: () => spotlight("left"),
|
|
430
|
+
spotlightRight: () => spotlight("right")
|
|
431
|
+
};
|
|
432
|
+
var inlinePatternStyles = {
|
|
433
|
+
radialGradientTop: {
|
|
434
|
+
background: "radial-gradient(125% 125% at 50% 10%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
|
|
435
|
+
},
|
|
436
|
+
radialGradientBottom: {
|
|
437
|
+
background: "radial-gradient(125% 125% at 50% 90%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
function PatternBackground({
|
|
441
|
+
pattern,
|
|
442
|
+
opacity = 0.08,
|
|
443
|
+
className,
|
|
444
|
+
style
|
|
445
|
+
}) {
|
|
446
|
+
if (!pattern) {
|
|
447
|
+
return null;
|
|
448
|
+
}
|
|
449
|
+
if (pattern in inlinePatternStyles) {
|
|
450
|
+
const inlineStyle = inlinePatternStyles[pattern];
|
|
451
|
+
return /* @__PURE__ */ jsx(
|
|
452
|
+
"div",
|
|
453
|
+
{
|
|
454
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
455
|
+
style: { ...inlineStyle, opacity, ...style },
|
|
456
|
+
"aria-hidden": "true"
|
|
457
|
+
}
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
if (pattern in patternOverlays) {
|
|
461
|
+
const Overlay = patternOverlays[pattern];
|
|
462
|
+
return /* @__PURE__ */ jsx(
|
|
463
|
+
"div",
|
|
464
|
+
{
|
|
465
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
466
|
+
style: { opacity, ...style },
|
|
467
|
+
"aria-hidden": "true",
|
|
468
|
+
children: Overlay()
|
|
469
|
+
}
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
const patternUrl = pattern in patternSvgs ? patternSvgs[pattern] : pattern;
|
|
473
|
+
return /* @__PURE__ */ jsx(
|
|
474
|
+
"div",
|
|
475
|
+
{
|
|
476
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
477
|
+
style: {
|
|
478
|
+
backgroundImage: `url(${patternUrl})`,
|
|
479
|
+
backgroundRepeat: "repeat",
|
|
480
|
+
backgroundSize: "auto",
|
|
481
|
+
opacity,
|
|
482
|
+
...style
|
|
483
|
+
},
|
|
484
|
+
"aria-hidden": "true"
|
|
485
|
+
}
|
|
486
|
+
);
|
|
487
|
+
}
|
|
488
|
+
var backgroundStyles = {
|
|
489
|
+
default: "bg-background text-foreground",
|
|
490
|
+
white: "bg-white text-dark",
|
|
491
|
+
gray: "bg-muted/30 text-foreground",
|
|
492
|
+
dark: "bg-foreground text-background",
|
|
493
|
+
transparent: "bg-transparent text-foreground",
|
|
494
|
+
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
495
|
+
primary: "bg-primary text-primary-foreground",
|
|
496
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
497
|
+
muted: "bg-muted text-muted-foreground"
|
|
498
|
+
};
|
|
499
|
+
var spacingStyles = {
|
|
500
|
+
none: "py-0 md:py-0",
|
|
501
|
+
sm: "py-12 md:py-16",
|
|
502
|
+
md: "py-16 md:py-24",
|
|
503
|
+
lg: "py-20 md:py-32",
|
|
504
|
+
xl: "py-24 md:py-40"
|
|
505
|
+
};
|
|
506
|
+
var Section = React4__default.forwardRef(
|
|
507
|
+
({
|
|
508
|
+
id,
|
|
509
|
+
title,
|
|
510
|
+
subtitle,
|
|
511
|
+
children,
|
|
512
|
+
className,
|
|
513
|
+
style,
|
|
514
|
+
background = "default",
|
|
515
|
+
spacing = "lg",
|
|
516
|
+
pattern,
|
|
517
|
+
patternOpacity,
|
|
518
|
+
patternClassName,
|
|
519
|
+
containerClassName,
|
|
520
|
+
containerMaxWidth = "xl",
|
|
521
|
+
...props
|
|
522
|
+
}, ref) => {
|
|
523
|
+
const effectivePatternOpacity = patternOpacity !== void 0 ? patternOpacity : pattern ? 1 : 0;
|
|
524
|
+
return /* @__PURE__ */ jsxs(
|
|
525
|
+
"section",
|
|
526
|
+
{
|
|
527
|
+
ref,
|
|
528
|
+
id,
|
|
529
|
+
className: cn(
|
|
530
|
+
"relative",
|
|
531
|
+
pattern ? "overflow-hidden" : null,
|
|
532
|
+
backgroundStyles[background],
|
|
533
|
+
spacingStyles[spacing],
|
|
534
|
+
className
|
|
535
|
+
),
|
|
536
|
+
style,
|
|
537
|
+
...props,
|
|
538
|
+
children: [
|
|
539
|
+
/* @__PURE__ */ jsx(
|
|
540
|
+
PatternBackground,
|
|
541
|
+
{
|
|
542
|
+
pattern,
|
|
543
|
+
opacity: effectivePatternOpacity,
|
|
544
|
+
className: patternClassName
|
|
545
|
+
}
|
|
546
|
+
),
|
|
547
|
+
/* @__PURE__ */ jsxs(
|
|
548
|
+
Container,
|
|
549
|
+
{
|
|
550
|
+
maxWidth: containerMaxWidth,
|
|
551
|
+
className: cn("relative z-10", containerClassName),
|
|
552
|
+
children: [
|
|
553
|
+
(title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
|
|
554
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
|
|
555
|
+
title && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
|
|
556
|
+
] }),
|
|
557
|
+
children
|
|
558
|
+
]
|
|
559
|
+
}
|
|
560
|
+
)
|
|
561
|
+
]
|
|
562
|
+
}
|
|
563
|
+
);
|
|
564
|
+
}
|
|
565
|
+
);
|
|
566
|
+
Section.displayName = "Section";
|
|
194
567
|
function ComparisonAiModels({
|
|
195
568
|
heading,
|
|
196
569
|
description,
|
|
@@ -205,10 +578,14 @@ function ComparisonAiModels({
|
|
|
205
578
|
tableWrapperClassName,
|
|
206
579
|
tableClassName,
|
|
207
580
|
analysisClassName,
|
|
581
|
+
background = "white",
|
|
582
|
+
spacing = "xl",
|
|
583
|
+
pattern,
|
|
584
|
+
patternOpacity,
|
|
208
585
|
optixFlowConfig
|
|
209
586
|
}) {
|
|
210
587
|
const [hoveredModel, setHoveredModel] = useState(null);
|
|
211
|
-
const renderStatusIcon = (status) => {
|
|
588
|
+
const renderStatusIcon = React4.useCallback((status) => {
|
|
212
589
|
if (status === "best") {
|
|
213
590
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-check", size: 16, className: "text-success" });
|
|
214
591
|
}
|
|
@@ -216,58 +593,70 @@ function ComparisonAiModels({
|
|
|
216
593
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/circle-x", size: 16, className: "text-destructive" });
|
|
217
594
|
}
|
|
218
595
|
return /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/minus", size: 16, className: "text-muted-foreground" });
|
|
219
|
-
};
|
|
220
|
-
const getCellClassName = (
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
if (
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
596
|
+
}, []);
|
|
597
|
+
const getCellClassName = React4.useCallback(
|
|
598
|
+
(status, modelKey) => {
|
|
599
|
+
const baseClass = "cursor-pointer py-4 text-center font-medium transition-all duration-300";
|
|
600
|
+
let statusClass = "";
|
|
601
|
+
if (status === "best") {
|
|
602
|
+
statusClass = "bg-green-50 text-success dark:bg-green-950/20";
|
|
603
|
+
} else if (status === "worst") {
|
|
604
|
+
statusClass = "bg-red-50 text-destructive dark:bg-red-950/20";
|
|
605
|
+
} else {
|
|
606
|
+
statusClass = "bg-muted/50 text-foreground";
|
|
607
|
+
}
|
|
608
|
+
let hoverClass = "";
|
|
609
|
+
if (hoveredModel === modelKey) {
|
|
610
|
+
if (modelKey === "modelA") hoverClass = "bg-red-50/80 dark:bg-red-950/30";
|
|
611
|
+
else if (modelKey === "modelB") hoverClass = "bg-blue-50/80 dark:bg-blue-950/30";
|
|
612
|
+
else if (modelKey === "modelC") hoverClass = "bg-green-50/80 dark:bg-green-950/30";
|
|
613
|
+
}
|
|
614
|
+
return cn(baseClass, statusClass, hoverClass);
|
|
615
|
+
},
|
|
616
|
+
[hoveredModel]
|
|
617
|
+
);
|
|
618
|
+
const getSummaryCardClassName = React4.useCallback(
|
|
619
|
+
(modelKey) => {
|
|
620
|
+
const baseClass = "rounded border border-border/30 bg-background/50 p-3 transition-all duration-300";
|
|
621
|
+
if (hoveredModel === modelKey) {
|
|
622
|
+
if (modelKey === "modelA")
|
|
623
|
+
return cn(baseClass, "bg-red-50/20 shadow-lg ring-2 ring-red-500/50 dark:bg-red-950/10");
|
|
624
|
+
if (modelKey === "modelB")
|
|
625
|
+
return cn(baseClass, "bg-blue-50/20 shadow-lg ring-2 ring-blue-500/50 dark:bg-blue-950/10");
|
|
626
|
+
if (modelKey === "modelC")
|
|
627
|
+
return cn(baseClass, "bg-green-50/20 shadow-lg ring-2 ring-green-500/50 dark:bg-green-950/10");
|
|
628
|
+
}
|
|
629
|
+
return baseClass;
|
|
630
|
+
},
|
|
631
|
+
[hoveredModel]
|
|
632
|
+
);
|
|
633
|
+
const tableContent = React4.useMemo(() => {
|
|
248
634
|
if (tableSlot) return tableSlot;
|
|
249
635
|
if (!models || !comparisonData || comparisonData.length === 0) return null;
|
|
250
|
-
return /* @__PURE__ */ jsx(
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
636
|
+
return /* @__PURE__ */ jsx(
|
|
637
|
+
"div",
|
|
638
|
+
{
|
|
639
|
+
className: cn(
|
|
640
|
+
"relative overflow-hidden border border-border/50 bg-background/50 backdrop-blur-sm",
|
|
641
|
+
tableWrapperClassName
|
|
642
|
+
),
|
|
643
|
+
children: /* @__PURE__ */ jsxs(Table, { className: tableClassName, children: [
|
|
644
|
+
/* @__PURE__ */ jsx(TableHeader, { children: /* @__PURE__ */ jsxs(TableRow, { className: "border-border/50", children: [
|
|
645
|
+
/* @__PURE__ */ jsx(TableHead, { className: "font-semibold text-foreground", children: "Metric" }),
|
|
646
|
+
Object.entries(models).map(([key, model]) => /* @__PURE__ */ jsx(TableHead, { className: "text-center font-semibold text-foreground", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-2", children: [
|
|
647
|
+
model.icon && /* @__PURE__ */ jsx(
|
|
648
|
+
Img,
|
|
649
|
+
{
|
|
650
|
+
src: model.icon,
|
|
651
|
+
alt: model.iconAlt || model.name,
|
|
652
|
+
className: "h-4 w-4",
|
|
653
|
+
optixFlowConfig
|
|
654
|
+
}
|
|
655
|
+
),
|
|
656
|
+
model.name
|
|
657
|
+
] }) }, key))
|
|
658
|
+
] }) }),
|
|
659
|
+
/* @__PURE__ */ jsx(TableBody, { children: comparisonData.map((row, index) => /* @__PURE__ */ jsxs(TableRow, { className: "border-border/30 transition-colors hover:bg-muted/30", children: [
|
|
271
660
|
/* @__PURE__ */ jsx(TableCell, { className: "py-4 font-medium text-foreground", children: row.metric }),
|
|
272
661
|
/* @__PURE__ */ jsx(
|
|
273
662
|
TableCell,
|
|
@@ -305,13 +694,21 @@ function ComparisonAiModels({
|
|
|
305
694
|
] })
|
|
306
695
|
}
|
|
307
696
|
)
|
|
308
|
-
]
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
697
|
+
] }, index)) })
|
|
698
|
+
] })
|
|
699
|
+
}
|
|
700
|
+
);
|
|
701
|
+
}, [
|
|
702
|
+
tableSlot,
|
|
703
|
+
models,
|
|
704
|
+
comparisonData,
|
|
705
|
+
tableWrapperClassName,
|
|
706
|
+
tableClassName,
|
|
707
|
+
optixFlowConfig,
|
|
708
|
+
getCellClassName,
|
|
709
|
+
renderStatusIcon
|
|
710
|
+
]);
|
|
711
|
+
const analysisContent = React4.useMemo(() => {
|
|
315
712
|
if (analysisSlot) return analysisSlot;
|
|
316
713
|
if (!models) return null;
|
|
317
714
|
return /* @__PURE__ */ jsx("div", { className: cn("relative mt-8 border border-border/50 bg-muted/20 p-6", analysisClassName), children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
@@ -346,17 +743,41 @@ function ComparisonAiModels({
|
|
|
346
743
|
] })
|
|
347
744
|
] })
|
|
348
745
|
] }) });
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
(heading
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
/* @__PURE__ */
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
746
|
+
}, [analysisSlot, models, analysisClassName, getSummaryCardClassName]);
|
|
747
|
+
const headingContent = React4.useMemo(() => {
|
|
748
|
+
if (!heading) return null;
|
|
749
|
+
if (typeof heading === "string") {
|
|
750
|
+
return /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-bold md:text-4xl lg:text-5xl", headingClassName), children: heading });
|
|
751
|
+
}
|
|
752
|
+
return /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading });
|
|
753
|
+
}, [heading, headingClassName]);
|
|
754
|
+
const descriptionContent = React4.useMemo(() => {
|
|
755
|
+
if (!description) return null;
|
|
756
|
+
if (typeof description === "string") {
|
|
757
|
+
return /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-muted-foreground md:text-lg", descriptionClassName), children: description });
|
|
758
|
+
}
|
|
759
|
+
return /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description });
|
|
760
|
+
}, [description, descriptionClassName]);
|
|
761
|
+
return /* @__PURE__ */ jsx(
|
|
762
|
+
Section,
|
|
763
|
+
{
|
|
764
|
+
background,
|
|
765
|
+
spacing,
|
|
766
|
+
className: cn(className),
|
|
767
|
+
pattern,
|
|
768
|
+
patternOpacity,
|
|
769
|
+
children: /* @__PURE__ */ jsxs("div", { className: cn("container mx-auto", containerClassName), children: [
|
|
770
|
+
(heading || description) && /* @__PURE__ */ jsxs("div", { className: "mb-8 text-center", children: [
|
|
771
|
+
headingContent,
|
|
772
|
+
descriptionContent
|
|
773
|
+
] }),
|
|
774
|
+
/* @__PURE__ */ jsxs("div", { className: "relative overflow-hidden p-8", children: [
|
|
775
|
+
tableContent,
|
|
776
|
+
analysisContent
|
|
777
|
+
] })
|
|
778
|
+
] })
|
|
779
|
+
}
|
|
780
|
+
);
|
|
360
781
|
}
|
|
361
782
|
|
|
362
783
|
export { ComparisonAiModels };
|