@opensite/ui 0.4.5 → 0.4.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/hero-ad-campaign-expert.cjs +408 -150
- package/dist/hero-ad-campaign-expert.d.cts +20 -1
- package/dist/hero-ad-campaign-expert.d.ts +20 -1
- package/dist/hero-ad-campaign-expert.js +409 -150
- package/dist/hero-adaptable-product-grid.cjs +397 -24
- package/dist/hero-adaptable-product-grid.d.cts +20 -1
- package/dist/hero-adaptable-product-grid.d.ts +20 -1
- package/dist/hero-adaptable-product-grid.js +398 -24
- package/dist/hero-agency-animated-images.cjs +385 -8
- package/dist/hero-agency-animated-images.d.cts +20 -1
- package/dist/hero-agency-animated-images.d.ts +20 -1
- package/dist/hero-agency-animated-images.js +386 -8
- package/dist/hero-ai-powered-carousel.cjs +480 -103
- package/dist/hero-ai-powered-carousel.d.cts +20 -1
- package/dist/hero-ai-powered-carousel.d.ts +20 -1
- package/dist/hero-ai-powered-carousel.js +481 -103
- package/dist/hero-announcement-badge.cjs +393 -16
- package/dist/hero-announcement-badge.d.cts +20 -1
- package/dist/hero-announcement-badge.d.ts +20 -1
- package/dist/hero-announcement-badge.js +394 -16
- package/dist/hero-architecture-fullscreen.cjs +374 -122
- package/dist/hero-architecture-fullscreen.d.cts +20 -1
- package/dist/hero-architecture-fullscreen.d.ts +20 -1
- package/dist/hero-architecture-fullscreen.js +375 -122
- package/dist/hero-badge-image-split.cjs +397 -139
- package/dist/hero-badge-image-split.d.cts +20 -1
- package/dist/hero-badge-image-split.d.ts +20 -1
- package/dist/hero-badge-image-split.js +398 -139
- package/dist/hero-badge-shadow-overlay.cjs +402 -25
- package/dist/hero-badge-shadow-overlay.d.cts +20 -1
- package/dist/hero-badge-shadow-overlay.d.ts +20 -1
- package/dist/hero-badge-shadow-overlay.js +403 -25
- package/dist/hero-billing-platform-logos.cjs +373 -2
- package/dist/hero-billing-platform-logos.d.cts +20 -1
- package/dist/hero-billing-platform-logos.d.ts +20 -1
- package/dist/hero-billing-platform-logos.js +374 -2
- package/dist/hero-business-carousel-dots.cjs +413 -36
- package/dist/hero-business-carousel-dots.d.cts +20 -1
- package/dist/hero-business-carousel-dots.d.ts +20 -1
- package/dist/hero-business-carousel-dots.js +414 -37
- package/dist/hero-business-operations-mosaic.cjs +388 -7
- package/dist/hero-business-operations-mosaic.d.cts +20 -1
- package/dist/hero-business-operations-mosaic.d.ts +20 -1
- package/dist/hero-business-operations-mosaic.js +385 -7
- package/dist/hero-centered-gradient-cta.cjs +368 -1
- package/dist/hero-centered-gradient-cta.d.cts +20 -1
- package/dist/hero-centered-gradient-cta.d.ts +20 -1
- package/dist/hero-centered-gradient-cta.js +369 -1
- package/dist/hero-centered-image-grid.cjs +409 -32
- package/dist/hero-centered-image-grid.d.cts +20 -1
- package/dist/hero-centered-image-grid.d.ts +20 -1
- package/dist/hero-centered-image-grid.js +410 -32
- package/dist/hero-centered-screenshot.cjs +393 -135
- package/dist/hero-centered-screenshot.d.cts +20 -1
- package/dist/hero-centered-screenshot.d.ts +20 -1
- package/dist/hero-centered-screenshot.js +394 -135
- package/dist/hero-coming-soon-countdown.cjs +368 -1
- package/dist/hero-coming-soon-countdown.d.cts +20 -1
- package/dist/hero-coming-soon-countdown.d.ts +20 -1
- package/dist/hero-coming-soon-countdown.js +369 -1
- package/dist/hero-community-survey-cta.cjs +389 -12
- package/dist/hero-community-survey-cta.d.cts +20 -1
- package/dist/hero-community-survey-cta.d.ts +20 -1
- package/dist/hero-community-survey-cta.js +390 -12
- package/dist/hero-conversation-intelligence.cjs +368 -1
- package/dist/hero-conversation-intelligence.d.cts +20 -1
- package/dist/hero-conversation-intelligence.d.ts +20 -1
- package/dist/hero-conversation-intelligence.js +369 -1
- package/dist/hero-conversion-video-play.cjs +401 -24
- package/dist/hero-conversion-video-play.d.cts +20 -1
- package/dist/hero-conversion-video-play.d.ts +20 -1
- package/dist/hero-conversion-video-play.js +402 -25
- package/dist/hero-creative-studio-stacked.cjs +388 -11
- package/dist/hero-creative-studio-stacked.d.cts +20 -1
- package/dist/hero-creative-studio-stacked.d.ts +20 -1
- package/dist/hero-creative-studio-stacked.js +389 -12
- package/dist/hero-crm-streamlined.cjs +397 -20
- package/dist/hero-crm-streamlined.d.cts +20 -1
- package/dist/hero-crm-streamlined.d.ts +20 -1
- package/dist/hero-crm-streamlined.js +398 -20
- package/dist/hero-customer-support-layered.cjs +377 -5
- package/dist/hero-customer-support-layered.d.cts +20 -1
- package/dist/hero-customer-support-layered.d.ts +20 -1
- package/dist/hero-customer-support-layered.js +374 -5
- package/dist/hero-dashed-border-features.cjs +390 -132
- package/dist/hero-dashed-border-features.d.cts +20 -1
- package/dist/hero-dashed-border-features.d.ts +20 -1
- package/dist/hero-dashed-border-features.js +391 -132
- package/dist/hero-design-carousel-portfolio.cjs +393 -135
- package/dist/hero-design-carousel-portfolio.d.cts +20 -1
- package/dist/hero-design-carousel-portfolio.d.ts +20 -1
- package/dist/hero-design-carousel-portfolio.js +394 -135
- package/dist/hero-design-showcase-logos.cjs +388 -11
- package/dist/hero-design-showcase-logos.d.cts +20 -1
- package/dist/hero-design-showcase-logos.d.ts +20 -1
- package/dist/hero-design-showcase-logos.js +389 -11
- package/dist/hero-design-system-3d.cjs +386 -13
- package/dist/hero-design-system-3d.d.cts +20 -1
- package/dist/hero-design-system-3d.d.ts +20 -1
- package/dist/hero-design-system-3d.js +387 -13
- package/dist/hero-developer-tools-code.cjs +386 -9
- package/dist/hero-developer-tools-code.d.cts +20 -1
- package/dist/hero-developer-tools-code.d.ts +20 -1
- package/dist/hero-developer-tools-code.js +387 -9
- package/dist/hero-digital-agency-fullscreen.cjs +373 -121
- package/dist/hero-digital-agency-fullscreen.d.cts +20 -1
- package/dist/hero-digital-agency-fullscreen.d.ts +20 -1
- package/dist/hero-digital-agency-fullscreen.js +374 -121
- package/dist/hero-ecommerce-product-showcase.cjs +387 -10
- package/dist/hero-ecommerce-product-showcase.d.cts +20 -1
- package/dist/hero-ecommerce-product-showcase.d.ts +20 -1
- package/dist/hero-ecommerce-product-showcase.js +388 -10
- package/dist/hero-enterprise-security.cjs +387 -10
- package/dist/hero-enterprise-security.d.cts +20 -2
- package/dist/hero-enterprise-security.d.ts +20 -2
- package/dist/hero-enterprise-security.js +388 -10
- package/dist/hero-event-registration.cjs +387 -10
- package/dist/hero-event-registration.d.cts +20 -2
- package/dist/hero-event-registration.d.ts +20 -2
- package/dist/hero-event-registration.js +388 -10
- package/dist/hero-feature-cards-grid.cjs +385 -8
- package/dist/hero-feature-cards-grid.d.cts +20 -2
- package/dist/hero-feature-cards-grid.d.ts +20 -2
- package/dist/hero-feature-cards-grid.js +386 -8
- package/dist/hero-floating-images.cjs +419 -7
- package/dist/hero-floating-images.d.cts +24 -3
- package/dist/hero-floating-images.d.ts +24 -3
- package/dist/hero-floating-images.js +416 -8
- package/dist/hero-fullscreen-background-image.cjs +368 -120
- package/dist/hero-fullscreen-background-image.d.cts +20 -2
- package/dist/hero-fullscreen-background-image.d.ts +20 -2
- package/dist/hero-fullscreen-background-image.js +369 -120
- package/dist/hero-fullscreen-logo-cta.cjs +368 -120
- package/dist/hero-fullscreen-logo-cta.d.cts +20 -2
- package/dist/hero-fullscreen-logo-cta.d.ts +20 -2
- package/dist/hero-fullscreen-logo-cta.js +369 -120
- package/dist/hero-gradient-avatars-rating.cjs +401 -24
- package/dist/hero-gradient-avatars-rating.d.cts +20 -2
- package/dist/hero-gradient-avatars-rating.d.ts +20 -2
- package/dist/hero-gradient-avatars-rating.js +402 -24
- package/dist/hero-gradient-client-focused.cjs +368 -1
- package/dist/hero-gradient-client-focused.d.cts +20 -2
- package/dist/hero-gradient-client-focused.d.ts +20 -2
- package/dist/hero-gradient-client-focused.js +369 -1
- package/dist/hero-grid-pattern-efficiency.cjs +386 -9
- package/dist/hero-grid-pattern-efficiency.d.cts +20 -2
- package/dist/hero-grid-pattern-efficiency.d.ts +20 -2
- package/dist/hero-grid-pattern-efficiency.js +387 -9
- package/dist/hero-grid-pattern-solutions.cjs +388 -11
- package/dist/hero-grid-pattern-solutions.d.cts +20 -2
- package/dist/hero-grid-pattern-solutions.d.ts +20 -2
- package/dist/hero-grid-pattern-solutions.js +389 -11
- package/dist/hero-hiring-animated-text.cjs +368 -120
- package/dist/hero-hiring-animated-text.d.cts +20 -2
- package/dist/hero-hiring-animated-text.d.ts +20 -2
- package/dist/hero-hiring-animated-text.js +369 -120
- package/dist/hero-image-left-content.cjs +397 -139
- package/dist/hero-image-left-content.d.cts +20 -1
- package/dist/hero-image-left-content.d.ts +20 -1
- package/dist/hero-image-left-content.js +398 -139
- package/dist/hero-innovation-image-grid.cjs +387 -10
- package/dist/hero-innovation-image-grid.d.cts +20 -2
- package/dist/hero-innovation-image-grid.d.ts +20 -2
- package/dist/hero-innovation-image-grid.js +388 -10
- package/dist/hero-logo-centered-screenshot.cjs +388 -11
- package/dist/hero-logo-centered-screenshot.d.cts +20 -2
- package/dist/hero-logo-centered-screenshot.d.ts +20 -2
- package/dist/hero-logo-centered-screenshot.js +389 -11
- package/dist/hero-marketplace-scattered-images.cjs +387 -10
- package/dist/hero-marketplace-scattered-images.d.cts +20 -2
- package/dist/hero-marketplace-scattered-images.d.ts +20 -2
- package/dist/hero-marketplace-scattered-images.js +388 -10
- package/dist/hero-mental-health-team.cjs +373 -1
- package/dist/hero-mental-health-team.d.cts +20 -2
- package/dist/hero-mental-health-team.d.ts +20 -2
- package/dist/hero-mental-health-team.js +369 -1
- package/dist/hero-mentorship-video-split.cjs +388 -11
- package/dist/hero-mentorship-video-split.d.cts +20 -2
- package/dist/hero-mentorship-video-split.d.ts +20 -2
- package/dist/hero-mentorship-video-split.js +389 -12
- package/dist/hero-minimal-centered-dark.cjs +368 -1
- package/dist/hero-minimal-centered-dark.d.cts +20 -2
- package/dist/hero-minimal-centered-dark.d.ts +20 -2
- package/dist/hero-minimal-centered-dark.js +369 -1
- package/dist/hero-mobile-app-download.cjs +387 -10
- package/dist/hero-mobile-app-download.d.cts +20 -2
- package/dist/hero-mobile-app-download.d.ts +20 -2
- package/dist/hero-mobile-app-download.js +388 -10
- package/dist/hero-newsletter-minimal.cjs +368 -1
- package/dist/hero-newsletter-minimal.d.cts +20 -2
- package/dist/hero-newsletter-minimal.d.ts +20 -2
- package/dist/hero-newsletter-minimal.js +369 -1
- package/dist/hero-overlay-cta-grid.cjs +336 -120
- package/dist/hero-overlay-cta-grid.js +336 -120
- package/dist/hero-pattern-badge-logos.cjs +401 -24
- package/dist/hero-pattern-badge-logos.d.cts +20 -2
- package/dist/hero-pattern-badge-logos.d.ts +20 -2
- package/dist/hero-pattern-badge-logos.js +402 -24
- package/dist/hero-pattern-logo-tech-stack.cjs +401 -24
- package/dist/hero-pattern-logo-tech-stack.d.cts +20 -2
- package/dist/hero-pattern-logo-tech-stack.d.ts +20 -2
- package/dist/hero-pattern-logo-tech-stack.js +402 -24
- package/dist/hero-platform-features-grid.cjs +386 -9
- package/dist/hero-platform-features-grid.d.cts +20 -2
- package/dist/hero-platform-features-grid.d.ts +20 -2
- package/dist/hero-platform-features-grid.js +387 -9
- package/dist/hero-portfolio-creative.cjs +387 -10
- package/dist/hero-portfolio-creative.d.cts +20 -2
- package/dist/hero-portfolio-creative.d.ts +20 -2
- package/dist/hero-portfolio-creative.js +388 -10
- package/dist/hero-premium-split-avatars.cjs +389 -12
- package/dist/hero-premium-split-avatars.d.cts +20 -2
- package/dist/hero-premium-split-avatars.d.ts +20 -2
- package/dist/hero-premium-split-avatars.js +390 -12
- package/dist/hero-presentation-platform-video.cjs +368 -85
- package/dist/hero-presentation-platform-video.d.cts +20 -2
- package/dist/hero-presentation-platform-video.d.ts +20 -2
- package/dist/hero-presentation-platform-video.js +369 -85
- package/dist/hero-pricing-comparison.cjs +385 -8
- package/dist/hero-pricing-comparison.d.cts +20 -2
- package/dist/hero-pricing-comparison.d.ts +20 -2
- package/dist/hero-pricing-comparison.js +386 -8
- package/dist/hero-product-showcase-floating.cjs +386 -9
- package/dist/hero-product-showcase-floating.d.cts +20 -2
- package/dist/hero-product-showcase-floating.d.ts +20 -2
- package/dist/hero-product-showcase-floating.js +387 -9
- package/dist/hero-productivity-launcher-video.cjs +368 -85
- package/dist/hero-productivity-launcher-video.d.cts +20 -2
- package/dist/hero-productivity-launcher-video.d.ts +20 -2
- package/dist/hero-productivity-launcher-video.js +369 -85
- package/dist/hero-saas-dashboard-preview.cjs +386 -9
- package/dist/hero-saas-dashboard-preview.d.cts +20 -2
- package/dist/hero-saas-dashboard-preview.d.ts +20 -2
- package/dist/hero-saas-dashboard-preview.js +387 -9
- package/dist/hero-shared-inbox-layered.cjs +372 -1
- package/dist/hero-shared-inbox-layered.d.cts +20 -2
- package/dist/hero-shared-inbox-layered.d.ts +20 -2
- package/dist/hero-shared-inbox-layered.js +369 -1
- package/dist/hero-simple-centered-image.cjs +393 -135
- package/dist/hero-simple-centered-image.d.cts +20 -1
- package/dist/hero-simple-centered-image.d.ts +20 -1
- package/dist/hero-simple-centered-image.js +394 -135
- package/dist/hero-software-growth-video-dialog.cjs +368 -1
- package/dist/hero-software-growth-video-dialog.d.cts +20 -2
- package/dist/hero-software-growth-video-dialog.d.ts +20 -2
- package/dist/hero-software-growth-video-dialog.js +369 -2
- package/dist/hero-spiral-pattern-cards.cjs +416 -39
- package/dist/hero-spiral-pattern-cards.d.cts +20 -2
- package/dist/hero-spiral-pattern-cards.d.ts +20 -2
- package/dist/hero-spiral-pattern-cards.js +417 -39
- package/dist/hero-split-geometric-shapes.cjs +386 -9
- package/dist/hero-split-geometric-shapes.d.cts +20 -2
- package/dist/hero-split-geometric-shapes.d.ts +20 -2
- package/dist/hero-split-geometric-shapes.js +387 -9
- package/dist/hero-split-image-newsletter.cjs +368 -1
- package/dist/hero-split-image-newsletter.d.cts +20 -2
- package/dist/hero-split-image-newsletter.d.ts +20 -2
- package/dist/hero-split-image-newsletter.js +369 -1
- package/dist/hero-split-spiral-shapes.cjs +386 -9
- package/dist/hero-split-spiral-shapes.d.cts +20 -2
- package/dist/hero-split-spiral-shapes.d.ts +20 -2
- package/dist/hero-split-spiral-shapes.js +387 -9
- package/dist/hero-startup-launch-cta.cjs +404 -146
- package/dist/hero-startup-launch-cta.d.cts +20 -2
- package/dist/hero-startup-launch-cta.d.ts +20 -2
- package/dist/hero-startup-launch-cta.js +405 -146
- package/dist/hero-stats-social-proof.cjs +401 -143
- package/dist/hero-stats-social-proof.d.cts +20 -2
- package/dist/hero-stats-social-proof.d.ts +20 -2
- package/dist/hero-stats-social-proof.js +402 -143
- package/dist/hero-task-timer-animated.cjs +368 -1
- package/dist/hero-task-timer-animated.d.cts +20 -2
- package/dist/hero-task-timer-animated.d.ts +20 -2
- package/dist/hero-task-timer-animated.js +369 -1
- package/dist/hero-tech-carousel.cjs +406 -33
- package/dist/hero-tech-carousel.d.cts +20 -2
- package/dist/hero-tech-carousel.d.ts +20 -2
- package/dist/hero-tech-carousel.js +407 -34
- package/dist/hero-testimonial-image-grid.cjs +364 -1
- package/dist/hero-testimonial-image-grid.js +365 -1
- package/dist/hero-therapy-testimonial-grid.cjs +368 -1
- package/dist/hero-therapy-testimonial-grid.d.cts +20 -2
- package/dist/hero-therapy-testimonial-grid.d.ts +20 -2
- package/dist/hero-therapy-testimonial-grid.js +369 -1
- package/dist/hero-ui-library-showcase.cjs +368 -1
- package/dist/hero-ui-library-showcase.d.cts +20 -2
- package/dist/hero-ui-library-showcase.d.ts +20 -2
- package/dist/hero-ui-library-showcase.js +369 -1
- package/dist/hero-video-background-dark.cjs +386 -93
- package/dist/hero-video-background-dark.d.cts +20 -2
- package/dist/hero-video-background-dark.d.ts +20 -2
- package/dist/hero-video-background-dark.js +387 -93
- package/dist/hero-video-dialog-gradient.cjs +368 -1
- package/dist/hero-video-dialog-gradient.d.cts +20 -2
- package/dist/hero-video-dialog-gradient.d.ts +20 -2
- package/dist/hero-video-dialog-gradient.js +369 -2
- package/dist/hero-video-overlay-stars.cjs +368 -85
- package/dist/hero-video-overlay-stars.d.cts +24 -1
- package/dist/hero-video-overlay-stars.d.ts +24 -1
- package/dist/hero-video-overlay-stars.js +369 -85
- package/dist/hero-welcome-asymmetric-images.cjs +385 -8
- package/dist/hero-welcome-asymmetric-images.d.cts +20 -1
- package/dist/hero-welcome-asymmetric-images.d.ts +20 -1
- package/dist/hero-welcome-asymmetric-images.js +386 -8
- package/dist/navbar-animated-preview.cjs +87 -53
- package/dist/navbar-animated-preview.d.cts +6 -2
- package/dist/navbar-animated-preview.d.ts +6 -2
- package/dist/navbar-animated-preview.js +87 -53
- package/dist/navbar-centered-menu.cjs +89 -59
- package/dist/navbar-centered-menu.d.cts +6 -2
- package/dist/navbar-centered-menu.d.ts +6 -2
- package/dist/navbar-centered-menu.js +89 -59
- package/dist/navbar-dark-icons.cjs +50 -10
- package/dist/navbar-dark-icons.d.cts +6 -2
- package/dist/navbar-dark-icons.d.ts +6 -2
- package/dist/navbar-dark-icons.js +50 -10
- package/dist/navbar-dropdown-menu.cjs +89 -59
- package/dist/navbar-dropdown-menu.d.cts +6 -2
- package/dist/navbar-dropdown-menu.d.ts +6 -2
- package/dist/navbar-dropdown-menu.js +89 -59
- package/dist/navbar-education-platform.cjs +48 -10
- package/dist/navbar-education-platform.d.cts +6 -2
- package/dist/navbar-education-platform.d.ts +6 -2
- package/dist/navbar-education-platform.js +48 -10
- package/dist/navbar-enterprise-mega.cjs +50 -10
- package/dist/navbar-enterprise-mega.d.cts +6 -2
- package/dist/navbar-enterprise-mega.d.ts +6 -2
- package/dist/navbar-enterprise-mega.js +50 -10
- package/dist/navbar-feature-grid.cjs +47 -8
- package/dist/navbar-feature-grid.d.cts +6 -2
- package/dist/navbar-feature-grid.d.ts +6 -2
- package/dist/navbar-feature-grid.js +47 -8
- package/dist/navbar-floating-pill.cjs +50 -11
- package/dist/navbar-floating-pill.d.cts +6 -2
- package/dist/navbar-floating-pill.d.ts +6 -2
- package/dist/navbar-floating-pill.js +50 -11
- package/dist/navbar-fullscreen-menu.cjs +44 -5
- package/dist/navbar-fullscreen-menu.d.cts +6 -2
- package/dist/navbar-fullscreen-menu.d.ts +6 -2
- package/dist/navbar-fullscreen-menu.js +44 -5
- package/dist/navbar-icon-links.cjs +46 -8
- package/dist/navbar-icon-links.d.cts +6 -2
- package/dist/navbar-icon-links.d.ts +6 -2
- package/dist/navbar-icon-links.js +46 -8
- package/dist/navbar-image-preview.cjs +47 -8
- package/dist/navbar-image-preview.d.cts +6 -2
- package/dist/navbar-image-preview.d.ts +6 -2
- package/dist/navbar-image-preview.js +47 -8
- package/dist/navbar-mega-menu.cjs +56 -12
- package/dist/navbar-mega-menu.d.cts +7 -3
- package/dist/navbar-mega-menu.d.ts +7 -3
- package/dist/navbar-mega-menu.js +56 -12
- package/dist/navbar-multi-column-groups.cjs +47 -11
- package/dist/navbar-multi-column-groups.d.cts +6 -2
- package/dist/navbar-multi-column-groups.d.ts +6 -2
- package/dist/navbar-multi-column-groups.js +47 -11
- package/dist/navbar-platform-resources.cjs +184 -154
- package/dist/navbar-platform-resources.d.cts +6 -2
- package/dist/navbar-platform-resources.d.ts +6 -2
- package/dist/navbar-platform-resources.js +184 -154
- package/dist/navbar-search-focused.cjs +45 -7
- package/dist/navbar-search-focused.d.cts +6 -2
- package/dist/navbar-search-focused.d.ts +6 -2
- package/dist/navbar-search-focused.js +45 -7
- package/dist/navbar-sidebar-mobile.cjs +47 -8
- package/dist/navbar-sidebar-mobile.d.cts +6 -2
- package/dist/navbar-sidebar-mobile.d.ts +6 -2
- package/dist/navbar-sidebar-mobile.js +47 -8
- package/dist/navbar-simple-links.cjs +88 -59
- package/dist/navbar-simple-links.d.cts +6 -2
- package/dist/navbar-simple-links.d.ts +6 -2
- package/dist/navbar-simple-links.js +88 -59
- package/dist/navbar-split-cta.cjs +47 -8
- package/dist/navbar-split-cta.d.cts +6 -2
- package/dist/navbar-split-cta.d.ts +6 -2
- package/dist/navbar-split-cta.js +47 -8
- package/dist/navbar-sticky-compact.cjs +49 -10
- package/dist/navbar-sticky-compact.d.cts +6 -2
- package/dist/navbar-sticky-compact.d.ts +6 -2
- package/dist/navbar-sticky-compact.js +49 -10
- package/dist/navbar-tabbed-sections.cjs +47 -8
- package/dist/navbar-tabbed-sections.d.cts +6 -2
- package/dist/navbar-tabbed-sections.d.ts +6 -2
- package/dist/navbar-tabbed-sections.js +47 -8
- package/dist/navbar-transparent-overlay.cjs +47 -9
- package/dist/navbar-transparent-overlay.d.cts +6 -2
- package/dist/navbar-transparent-overlay.d.ts +6 -2
- package/dist/navbar-transparent-overlay.js +47 -9
- package/dist/registry.cjs +2447 -1432
- package/dist/registry.js +2447 -1432
- package/dist/{types-D2b35ylu.d.cts → types-COVDidbn.d.cts} +22 -1
- package/dist/{types-D2b35ylu.d.ts → types-COVDidbn.d.ts} +22 -1
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { clsx } from 'clsx';
|
|
3
3
|
import { twMerge } from 'tailwind-merge';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
+
import React__default from 'react';
|
|
5
6
|
import { cva } from 'class-variance-authority';
|
|
6
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
8
|
import { Img } from '@page-speed/img';
|
|
@@ -428,6 +429,369 @@ var Pressable = React.forwardRef(
|
|
|
428
429
|
}
|
|
429
430
|
);
|
|
430
431
|
Pressable.displayName = "Pressable";
|
|
432
|
+
var maxWidthStyles = {
|
|
433
|
+
sm: "max-w-screen-sm",
|
|
434
|
+
md: "max-w-screen-md",
|
|
435
|
+
lg: "max-w-screen-lg",
|
|
436
|
+
xl: "max-w-7xl",
|
|
437
|
+
"2xl": "max-w-screen-2xl",
|
|
438
|
+
"4xl": "max-w-[1536px]",
|
|
439
|
+
full: "max-w-full"
|
|
440
|
+
};
|
|
441
|
+
var Container = React__default.forwardRef(
|
|
442
|
+
({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
|
|
443
|
+
const Component = as;
|
|
444
|
+
return /* @__PURE__ */ jsx(
|
|
445
|
+
Component,
|
|
446
|
+
{
|
|
447
|
+
ref,
|
|
448
|
+
className: cn(
|
|
449
|
+
"mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
450
|
+
maxWidthStyles[maxWidth],
|
|
451
|
+
className
|
|
452
|
+
),
|
|
453
|
+
...props,
|
|
454
|
+
children
|
|
455
|
+
}
|
|
456
|
+
);
|
|
457
|
+
}
|
|
458
|
+
);
|
|
459
|
+
Container.displayName = "Container";
|
|
460
|
+
|
|
461
|
+
// lib/patternSvgs.ts
|
|
462
|
+
var patternSvgs = {
|
|
463
|
+
squareAltGrid: "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
|
|
464
|
+
grid1: "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
|
|
465
|
+
noise: "https://cdn.ing/assets/i/r/286188/zrqcp9hynh3j7p2laihwzfbujgrl/noise.png",
|
|
466
|
+
dots: "https://cdn.ing/assets/files/record/286198/yfsjx9thvtxzhl2qtshxyhkrm524",
|
|
467
|
+
dotPattern: "https://cdn.ing/assets/files/record/286192/7ig0cku8aqbboiza8nuk6hw0nnsr",
|
|
468
|
+
dotPattern2: "https://cdn.ing/assets/files/record/286189/arez6gd2s7isn9i1o6c7sexdq7bl",
|
|
469
|
+
circles: "https://cdn.ing/assets/files/record/286190/gtmia3sncjtzetdshc20zf1d3c17",
|
|
470
|
+
waves: "https://cdn.ing/assets/files/record/286191/mqlb33fzxz9cdth1bx7if0wmpkp1",
|
|
471
|
+
crossPattern: "https://cdn.ing/assets/files/record/286193/9yfqwdbnqaipbp7fsb3wbzzmq472",
|
|
472
|
+
architect: "https://cdn.ing/assets/files/record/286194/vgs88ugpvyhxu13wqgy0acvae6re",
|
|
473
|
+
tinyCheckers: "https://cdn.ing/assets/files/record/286195/65efaknsw8kcpf9o3c2gybytsl5b",
|
|
474
|
+
p6: "https://cdn.ing/assets/i/r/286196/6kl0rqnd6mjk8j7e525fo8fo0vkc/p6.webp"
|
|
475
|
+
};
|
|
476
|
+
var maskTop = "radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)";
|
|
477
|
+
var maskBottom = "radial-gradient(ellipse 100% 80% at 50% 100%, #000 50%, transparent 90%)";
|
|
478
|
+
var maskCenter = "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)";
|
|
479
|
+
var maskTopLeft = "radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)";
|
|
480
|
+
var maskTopRight = "radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)";
|
|
481
|
+
var maskBottomLeft = "radial-gradient(ellipse 80% 80% at 0% 100%, #000 50%, transparent 90%)";
|
|
482
|
+
var maskBottomRight = "radial-gradient(ellipse 80% 80% at 100% 100%, #000 50%, transparent 90%)";
|
|
483
|
+
var circuitBoardPattern = (id, mask) => /* @__PURE__ */ jsxs(
|
|
484
|
+
"svg",
|
|
485
|
+
{
|
|
486
|
+
className: "h-full w-full",
|
|
487
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
488
|
+
style: mask ? {
|
|
489
|
+
maskImage: mask,
|
|
490
|
+
WebkitMaskImage: mask
|
|
491
|
+
} : void 0,
|
|
492
|
+
children: [
|
|
493
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
494
|
+
"pattern",
|
|
495
|
+
{
|
|
496
|
+
id,
|
|
497
|
+
x: "0",
|
|
498
|
+
y: "0",
|
|
499
|
+
width: "100",
|
|
500
|
+
height: "100",
|
|
501
|
+
patternUnits: "userSpaceOnUse",
|
|
502
|
+
children: [
|
|
503
|
+
/* @__PURE__ */ jsx(
|
|
504
|
+
"path",
|
|
505
|
+
{
|
|
506
|
+
d: "M0 50h40M60 50h40M50 0v40M50 60v40",
|
|
507
|
+
stroke: "hsl(var(--muted))",
|
|
508
|
+
strokeWidth: "1",
|
|
509
|
+
fill: "none"
|
|
510
|
+
}
|
|
511
|
+
),
|
|
512
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "3", fill: "hsl(var(--muted))" }),
|
|
513
|
+
/* @__PURE__ */ jsx("circle", { cx: "0", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
|
|
514
|
+
/* @__PURE__ */ jsx("circle", { cx: "100", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
|
|
515
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "0", r: "2", fill: "hsl(var(--muted))" }),
|
|
516
|
+
/* @__PURE__ */ jsx("circle", { cx: "50", cy: "100", r: "2", fill: "hsl(var(--muted))" })
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
) }),
|
|
520
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
|
|
521
|
+
]
|
|
522
|
+
}
|
|
523
|
+
);
|
|
524
|
+
var gridDotsPattern = (id, mask) => /* @__PURE__ */ jsxs(
|
|
525
|
+
"svg",
|
|
526
|
+
{
|
|
527
|
+
className: "h-full w-full",
|
|
528
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
529
|
+
style: mask ? {
|
|
530
|
+
maskImage: mask,
|
|
531
|
+
WebkitMaskImage: mask
|
|
532
|
+
} : void 0,
|
|
533
|
+
children: [
|
|
534
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
535
|
+
"pattern",
|
|
536
|
+
{
|
|
537
|
+
id,
|
|
538
|
+
x: "0",
|
|
539
|
+
y: "0",
|
|
540
|
+
width: "40",
|
|
541
|
+
height: "40",
|
|
542
|
+
patternUnits: "userSpaceOnUse",
|
|
543
|
+
children: [
|
|
544
|
+
/* @__PURE__ */ jsx(
|
|
545
|
+
"path",
|
|
546
|
+
{
|
|
547
|
+
d: "M0 20h40M20 0v40",
|
|
548
|
+
stroke: "hsl(var(--muted))",
|
|
549
|
+
strokeWidth: "0.5",
|
|
550
|
+
fill: "none"
|
|
551
|
+
}
|
|
552
|
+
),
|
|
553
|
+
/* @__PURE__ */ jsx("circle", { cx: "20", cy: "20", r: "2", fill: "hsl(var(--muted))" })
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
) }),
|
|
557
|
+
/* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
|
|
558
|
+
]
|
|
559
|
+
}
|
|
560
|
+
);
|
|
561
|
+
var gridPattern = (size, mask) => /* @__PURE__ */ jsx(
|
|
562
|
+
"div",
|
|
563
|
+
{
|
|
564
|
+
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)]",
|
|
565
|
+
style: {
|
|
566
|
+
backgroundSize: `${size}px ${size}px`,
|
|
567
|
+
...mask ? {
|
|
568
|
+
maskImage: mask,
|
|
569
|
+
WebkitMaskImage: mask
|
|
570
|
+
} : {}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
);
|
|
574
|
+
var diagonalCrossPattern = (mask) => /* @__PURE__ */ jsx(
|
|
575
|
+
"div",
|
|
576
|
+
{
|
|
577
|
+
className: "h-full w-full",
|
|
578
|
+
style: {
|
|
579
|
+
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)",
|
|
580
|
+
...mask ? {
|
|
581
|
+
maskImage: mask,
|
|
582
|
+
WebkitMaskImage: mask
|
|
583
|
+
} : {}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
);
|
|
587
|
+
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)";
|
|
588
|
+
var dashedGridPattern = (fadeMask) => {
|
|
589
|
+
const mask = fadeMask ? `${dashedGridMaskBase}, ${fadeMask}` : dashedGridMaskBase;
|
|
590
|
+
return /* @__PURE__ */ jsx(
|
|
591
|
+
"div",
|
|
592
|
+
{
|
|
593
|
+
className: "h-full w-full",
|
|
594
|
+
style: {
|
|
595
|
+
backgroundImage: "linear-gradient(to right, hsl(var(--muted)) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--muted)) 1px, transparent 1px)",
|
|
596
|
+
backgroundSize: "20px 20px",
|
|
597
|
+
backgroundPosition: "0 0, 0 0",
|
|
598
|
+
maskImage: mask,
|
|
599
|
+
WebkitMaskImage: mask,
|
|
600
|
+
maskComposite: "intersect",
|
|
601
|
+
WebkitMaskComposite: "source-in"
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
);
|
|
605
|
+
};
|
|
606
|
+
var gradientGlow = (position) => /* @__PURE__ */ jsx(
|
|
607
|
+
"div",
|
|
608
|
+
{
|
|
609
|
+
className: cn(
|
|
610
|
+
"pointer-events-none absolute left-1/2 z-0 aspect-square w-3/4 -translate-x-1/2 rounded-full opacity-50 blur-3xl",
|
|
611
|
+
position === "top" ? "-top-1/4" : "-bottom-1/4"
|
|
612
|
+
),
|
|
613
|
+
style: {
|
|
614
|
+
background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
);
|
|
618
|
+
var spotlight = (position) => /* @__PURE__ */ jsx(
|
|
619
|
+
"div",
|
|
620
|
+
{
|
|
621
|
+
className: cn(
|
|
622
|
+
"pointer-events-none absolute top-1/2 z-0 aspect-square w-3/4 -translate-y-1/2 rounded-full opacity-40 blur-3xl",
|
|
623
|
+
position === "left" ? "-left-1/4" : "-right-1/4"
|
|
624
|
+
),
|
|
625
|
+
style: {
|
|
626
|
+
background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
);
|
|
630
|
+
var patternOverlays = {
|
|
631
|
+
circuitBoardBasic: () => circuitBoardPattern("circuit-board-basic"),
|
|
632
|
+
circuitBoardFadeTop: () => circuitBoardPattern("circuit-board-fade-top", maskTop),
|
|
633
|
+
circuitBoardFadeBottom: () => circuitBoardPattern("circuit-board-fade-bottom", maskBottom),
|
|
634
|
+
circuitBoardFadeCenter: () => circuitBoardPattern("circuit-board-fade-center", maskCenter),
|
|
635
|
+
circuitBoardFadeTopLeft: () => circuitBoardPattern("circuit-board-fade-top-left", maskTopLeft),
|
|
636
|
+
circuitBoardFadeTopRight: () => circuitBoardPattern("circuit-board-fade-top-right", maskTopRight),
|
|
637
|
+
circuitBoardFadeBottomLeft: () => circuitBoardPattern("circuit-board-fade-bottom-left", maskBottomLeft),
|
|
638
|
+
circuitBoardFadeBottomRight: () => circuitBoardPattern("circuit-board-fade-bottom-right", maskBottomRight),
|
|
639
|
+
dashedGridBasic: () => dashedGridPattern(),
|
|
640
|
+
dashedGridFadeTop: () => dashedGridPattern(maskTop),
|
|
641
|
+
dashedGridFadeBottom: () => dashedGridPattern(maskBottom),
|
|
642
|
+
dashedGridFadeCenter: () => dashedGridPattern(maskCenter),
|
|
643
|
+
dashedGridFadeTopLeft: () => dashedGridPattern(maskTopLeft),
|
|
644
|
+
dashedGridFadeTopRight: () => dashedGridPattern(maskTopRight),
|
|
645
|
+
dashedGridFadeBottomLeft: () => dashedGridPattern(maskBottomLeft),
|
|
646
|
+
dashedGridFadeBottomRight: () => dashedGridPattern(maskBottomRight),
|
|
647
|
+
diagonalCrossBasic: () => diagonalCrossPattern(),
|
|
648
|
+
diagonalCrossFadeTop: () => diagonalCrossPattern(maskTop),
|
|
649
|
+
diagonalCrossFadeBottom: () => diagonalCrossPattern(maskBottom),
|
|
650
|
+
diagonalCrossFadeCenter: () => diagonalCrossPattern(maskCenter),
|
|
651
|
+
diagonalCrossFadeTopLeft: () => diagonalCrossPattern(maskTopLeft),
|
|
652
|
+
diagonalCrossFadeTopRight: () => diagonalCrossPattern(maskTopRight),
|
|
653
|
+
diagonalCrossFadeBottomLeft: () => diagonalCrossPattern(maskBottomLeft),
|
|
654
|
+
diagonalCrossFadeBottomRight: () => diagonalCrossPattern(maskBottomRight),
|
|
655
|
+
gridBasic: () => gridPattern(40),
|
|
656
|
+
gridFadeTop: () => gridPattern(32, maskTop),
|
|
657
|
+
gridFadeBottom: () => gridPattern(32, maskBottom),
|
|
658
|
+
gridFadeCenter: () => gridPattern(40, maskCenter),
|
|
659
|
+
gridFadeTopLeft: () => gridPattern(32, maskTopLeft),
|
|
660
|
+
gridFadeTopRight: () => gridPattern(32, maskTopRight),
|
|
661
|
+
gridFadeBottomLeft: () => gridPattern(32, maskBottomLeft),
|
|
662
|
+
gridFadeBottomRight: () => gridPattern(32, maskBottomRight),
|
|
663
|
+
gridDotsBasic: () => gridDotsPattern("grid-dots-basic"),
|
|
664
|
+
gridDotsFadeCenter: () => gridDotsPattern("grid-dots-fade-center", maskCenter),
|
|
665
|
+
gradientGlowTop: () => gradientGlow("top"),
|
|
666
|
+
gradientGlowBottom: () => gradientGlow("bottom"),
|
|
667
|
+
spotlightLeft: () => spotlight("left"),
|
|
668
|
+
spotlightRight: () => spotlight("right")
|
|
669
|
+
};
|
|
670
|
+
var inlinePatternStyles = {
|
|
671
|
+
radialGradientTop: {
|
|
672
|
+
background: "radial-gradient(125% 125% at 50% 10%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
|
|
673
|
+
},
|
|
674
|
+
radialGradientBottom: {
|
|
675
|
+
background: "radial-gradient(125% 125% at 50% 90%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
|
|
676
|
+
}
|
|
677
|
+
};
|
|
678
|
+
function PatternBackground({
|
|
679
|
+
pattern,
|
|
680
|
+
opacity = 0.08,
|
|
681
|
+
className,
|
|
682
|
+
style
|
|
683
|
+
}) {
|
|
684
|
+
if (!pattern) {
|
|
685
|
+
return null;
|
|
686
|
+
}
|
|
687
|
+
if (pattern in inlinePatternStyles) {
|
|
688
|
+
const inlineStyle = inlinePatternStyles[pattern];
|
|
689
|
+
return /* @__PURE__ */ jsx(
|
|
690
|
+
"div",
|
|
691
|
+
{
|
|
692
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
693
|
+
style: { ...inlineStyle, opacity, ...style },
|
|
694
|
+
"aria-hidden": "true"
|
|
695
|
+
}
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
if (pattern in patternOverlays) {
|
|
699
|
+
const Overlay = patternOverlays[pattern];
|
|
700
|
+
return /* @__PURE__ */ jsx(
|
|
701
|
+
"div",
|
|
702
|
+
{
|
|
703
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
704
|
+
style: { opacity, ...style },
|
|
705
|
+
"aria-hidden": "true",
|
|
706
|
+
children: Overlay()
|
|
707
|
+
}
|
|
708
|
+
);
|
|
709
|
+
}
|
|
710
|
+
const patternUrl = pattern in patternSvgs ? patternSvgs[pattern] : pattern;
|
|
711
|
+
return /* @__PURE__ */ jsx(
|
|
712
|
+
"div",
|
|
713
|
+
{
|
|
714
|
+
className: cn("pointer-events-none absolute inset-0 z-0", className),
|
|
715
|
+
style: {
|
|
716
|
+
backgroundImage: `url(${patternUrl})`,
|
|
717
|
+
backgroundRepeat: "repeat",
|
|
718
|
+
backgroundSize: "auto",
|
|
719
|
+
opacity,
|
|
720
|
+
...style
|
|
721
|
+
},
|
|
722
|
+
"aria-hidden": "true"
|
|
723
|
+
}
|
|
724
|
+
);
|
|
725
|
+
}
|
|
726
|
+
var backgroundStyles = {
|
|
727
|
+
white: "bg-background text-foreground",
|
|
728
|
+
gray: "bg-muted/30 text-foreground",
|
|
729
|
+
dark: "bg-foreground text-background",
|
|
730
|
+
transparent: "bg-transparent text-foreground",
|
|
731
|
+
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
732
|
+
primary: "bg-primary text-primary-foreground",
|
|
733
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
734
|
+
muted: "bg-muted text-muted-foreground"
|
|
735
|
+
};
|
|
736
|
+
var spacingStyles = {
|
|
737
|
+
none: "py-0 md:py-0",
|
|
738
|
+
sm: "py-12 md:py-16",
|
|
739
|
+
md: "py-16 md:py-24",
|
|
740
|
+
lg: "py-20 md:py-32",
|
|
741
|
+
xl: "py-24 md:py-40"
|
|
742
|
+
};
|
|
743
|
+
var Section = React__default.forwardRef(
|
|
744
|
+
({
|
|
745
|
+
id,
|
|
746
|
+
title,
|
|
747
|
+
subtitle,
|
|
748
|
+
children,
|
|
749
|
+
className,
|
|
750
|
+
style,
|
|
751
|
+
background = "white",
|
|
752
|
+
spacing = "lg",
|
|
753
|
+
pattern,
|
|
754
|
+
patternOpacity,
|
|
755
|
+
patternClassName,
|
|
756
|
+
...props
|
|
757
|
+
}, ref) => {
|
|
758
|
+
const effectivePatternOpacity = patternOpacity !== void 0 ? patternOpacity : pattern ? 1 : 0;
|
|
759
|
+
return /* @__PURE__ */ jsxs(
|
|
760
|
+
"section",
|
|
761
|
+
{
|
|
762
|
+
ref,
|
|
763
|
+
id,
|
|
764
|
+
className: cn(
|
|
765
|
+
"relative",
|
|
766
|
+
pattern ? "overflow-hidden" : null,
|
|
767
|
+
backgroundStyles[background],
|
|
768
|
+
spacingStyles[spacing],
|
|
769
|
+
className
|
|
770
|
+
),
|
|
771
|
+
style,
|
|
772
|
+
...props,
|
|
773
|
+
children: [
|
|
774
|
+
/* @__PURE__ */ jsx(
|
|
775
|
+
PatternBackground,
|
|
776
|
+
{
|
|
777
|
+
pattern,
|
|
778
|
+
opacity: effectivePatternOpacity,
|
|
779
|
+
className: patternClassName
|
|
780
|
+
}
|
|
781
|
+
),
|
|
782
|
+
/* @__PURE__ */ jsxs(Container, { className: "relative z-10", children: [
|
|
783
|
+
(title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-12 text-center md:mb-16", children: [
|
|
784
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: "mb-2 text-sm font-semibold uppercase tracking-wider text-primary", children: subtitle }),
|
|
785
|
+
title && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
|
|
786
|
+
] }),
|
|
787
|
+
children
|
|
788
|
+
] })
|
|
789
|
+
]
|
|
790
|
+
}
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
);
|
|
794
|
+
Section.displayName = "Section";
|
|
431
795
|
function HeroWelcomeAsymmetricImages({
|
|
432
796
|
heading,
|
|
433
797
|
description,
|
|
@@ -435,6 +799,10 @@ function HeroWelcomeAsymmetricImages({
|
|
|
435
799
|
actionsSlot,
|
|
436
800
|
images,
|
|
437
801
|
imagesSlot,
|
|
802
|
+
background = "white",
|
|
803
|
+
spacing = "lg",
|
|
804
|
+
pattern,
|
|
805
|
+
patternOpacity,
|
|
438
806
|
className,
|
|
439
807
|
containerClassName,
|
|
440
808
|
headingClassName,
|
|
@@ -507,14 +875,24 @@ function HeroWelcomeAsymmetricImages({
|
|
|
507
875
|
] })
|
|
508
876
|
] });
|
|
509
877
|
};
|
|
510
|
-
return /* @__PURE__ */ jsx(
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
878
|
+
return /* @__PURE__ */ jsx(
|
|
879
|
+
Section,
|
|
880
|
+
{
|
|
881
|
+
background,
|
|
882
|
+
spacing,
|
|
883
|
+
pattern,
|
|
884
|
+
patternOpacity,
|
|
885
|
+
className: cn(className),
|
|
886
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start justify-between gap-8 md:flex-row xl:gap-20", children: [
|
|
887
|
+
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-start text-left", children: [
|
|
888
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-4xl font-normal text-pretty md:text-7xl", headingClassName), children: heading }) : /* @__PURE__ */ jsx("h1", { className: cn("mb-8 text-4xl font-normal text-pretty md:text-7xl", headingClassName), children: heading })),
|
|
889
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-12 max-w-[70%] text-xl font-normal text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("mb-12 max-w-[70%] text-xl font-normal text-muted-foreground", descriptionClassName), children: description })),
|
|
890
|
+
renderActions()
|
|
891
|
+
] }),
|
|
892
|
+
renderImages()
|
|
893
|
+
] }) })
|
|
894
|
+
}
|
|
895
|
+
);
|
|
518
896
|
}
|
|
519
897
|
|
|
520
898
|
export { HeroWelcomeAsymmetricImages };
|
|
@@ -1015,7 +1015,7 @@ function NavigationMenuList({
|
|
|
1015
1015
|
{
|
|
1016
1016
|
"data-slot": "navigation-menu-list",
|
|
1017
1017
|
className: cn(
|
|
1018
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1018
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
1019
1019
|
className
|
|
1020
1020
|
),
|
|
1021
1021
|
...props
|
|
@@ -1055,8 +1055,9 @@ function NavigationMenuTrigger({
|
|
|
1055
1055
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1056
1056
|
DynamicIcon,
|
|
1057
1057
|
{
|
|
1058
|
+
size: 18,
|
|
1058
1059
|
name: "lucide/chevron-down",
|
|
1059
|
-
className: "relative top-
|
|
1060
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1060
1061
|
"aria-hidden": "true"
|
|
1061
1062
|
}
|
|
1062
1063
|
)
|
|
@@ -1096,7 +1097,7 @@ function NavigationMenuViewport({
|
|
|
1096
1097
|
{
|
|
1097
1098
|
"data-slot": "navigation-menu-viewport",
|
|
1098
1099
|
className: cn(
|
|
1099
|
-
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-
|
|
1100
|
+
"origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
|
|
1100
1101
|
className
|
|
1101
1102
|
),
|
|
1102
1103
|
...props
|
|
@@ -1114,7 +1115,7 @@ function NavigationMenuLink({
|
|
|
1114
1115
|
{
|
|
1115
1116
|
"data-slot": "navigation-menu-link",
|
|
1116
1117
|
className: cn(
|
|
1117
|
-
"
|
|
1118
|
+
"group inline-flex w-max items-center justify-center rounded-md text-sm disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-muted data-[state=open]:focus:bg-muted focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 group h-auto bg-transparent px-3 py-2 font-normal text-foreground/80 hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground data-[state=open]:bg-muted/50 data-[state=open]:text-foreground",
|
|
1118
1119
|
className
|
|
1119
1120
|
),
|
|
1120
1121
|
...props
|
|
@@ -1373,6 +1374,36 @@ var imagePlaceholders = [
|
|
|
1373
1374
|
function getLinkUrl(item) {
|
|
1374
1375
|
return item.href || item.url || "#";
|
|
1375
1376
|
}
|
|
1377
|
+
|
|
1378
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1379
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1380
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1381
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1382
|
+
return {
|
|
1383
|
+
// Section wrapper classes
|
|
1384
|
+
sectionClasses: cn(
|
|
1385
|
+
"inset-x-0 z-20",
|
|
1386
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1387
|
+
customClasses?.className
|
|
1388
|
+
),
|
|
1389
|
+
// Outer container wrapper (only for floating bar)
|
|
1390
|
+
containerWrapperClasses: cn(
|
|
1391
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1392
|
+
),
|
|
1393
|
+
// Inner container classes
|
|
1394
|
+
innerContainerClasses: cn(
|
|
1395
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1396
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1397
|
+
customClasses?.containerClassName
|
|
1398
|
+
),
|
|
1399
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1400
|
+
navWrapperClasses: cn(
|
|
1401
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1402
|
+
),
|
|
1403
|
+
// Spacing adjustment for Section component
|
|
1404
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1376
1407
|
var MOBILE_BREAKPOINT = 1280;
|
|
1377
1408
|
var NavbarAnimatedPreview = ({
|
|
1378
1409
|
className,
|
|
@@ -1390,6 +1421,7 @@ var NavbarAnimatedPreview = ({
|
|
|
1390
1421
|
navigationSlot,
|
|
1391
1422
|
actions,
|
|
1392
1423
|
actionsSlot,
|
|
1424
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1393
1425
|
background = "white",
|
|
1394
1426
|
spacing = "none",
|
|
1395
1427
|
pattern,
|
|
@@ -1485,68 +1517,70 @@ var NavbarAnimatedPreview = ({
|
|
|
1485
1517
|
`desktop-link-${index}`
|
|
1486
1518
|
)) });
|
|
1487
1519
|
};
|
|
1488
|
-
|
|
1520
|
+
const {
|
|
1521
|
+
sectionClasses,
|
|
1522
|
+
containerWrapperClasses,
|
|
1523
|
+
innerContainerClasses,
|
|
1524
|
+
navWrapperClasses: baseNavWrapperClasses,
|
|
1525
|
+
spacingOverride
|
|
1526
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1527
|
+
const navWrapperClasses = cn(
|
|
1528
|
+
"h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
|
|
1529
|
+
baseNavWrapperClasses,
|
|
1530
|
+
navigationMenuClassName
|
|
1531
|
+
);
|
|
1532
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1489
1533
|
Section,
|
|
1490
1534
|
{
|
|
1491
1535
|
background,
|
|
1492
|
-
spacing,
|
|
1536
|
+
spacing: spacingOverride ?? spacing,
|
|
1493
1537
|
className: cn(
|
|
1494
1538
|
"pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
|
|
1495
|
-
|
|
1539
|
+
sectionClasses
|
|
1496
1540
|
),
|
|
1497
1541
|
pattern,
|
|
1498
1542
|
patternOpacity,
|
|
1499
|
-
children: [
|
|
1500
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1501
|
-
|
|
1543
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: innerContainerClasses, children: [
|
|
1544
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenu, { className: navWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1545
|
+
"div",
|
|
1502
1546
|
{
|
|
1503
1547
|
className: cn(
|
|
1504
|
-
"
|
|
1505
|
-
navigationMenuClassName
|
|
1548
|
+
"relative z-999 grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3"
|
|
1506
1549
|
),
|
|
1507
|
-
children:
|
|
1508
|
-
|
|
1509
|
-
{
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1550
|
+
children: [
|
|
1551
|
+
renderLogo(),
|
|
1552
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
|
|
1553
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
|
|
1554
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden xl:block", children: renderActions() }),
|
|
1555
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1556
|
+
Pressable,
|
|
1557
|
+
{
|
|
1558
|
+
className: "size-11",
|
|
1559
|
+
variant: "ghost",
|
|
1560
|
+
size: "icon",
|
|
1561
|
+
asButton: true,
|
|
1562
|
+
onClick: handleMobileMenu,
|
|
1563
|
+
children: open ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1564
|
+
DynamicIcon,
|
|
1521
1565
|
{
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
asButton: true,
|
|
1526
|
-
onClick: handleMobileMenu,
|
|
1527
|
-
children: open ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1528
|
-
DynamicIcon,
|
|
1529
|
-
{
|
|
1530
|
-
name: "lucide/x",
|
|
1531
|
-
size: 22,
|
|
1532
|
-
className: "stroke-foreground"
|
|
1533
|
-
}
|
|
1534
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1535
|
-
DynamicIcon,
|
|
1536
|
-
{
|
|
1537
|
-
name: "lucide/menu",
|
|
1538
|
-
size: 22,
|
|
1539
|
-
className: "stroke-foreground"
|
|
1540
|
-
}
|
|
1541
|
-
)
|
|
1566
|
+
name: "lucide/x",
|
|
1567
|
+
size: 22,
|
|
1568
|
+
className: "stroke-foreground"
|
|
1542
1569
|
}
|
|
1543
|
-
)
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1570
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1571
|
+
DynamicIcon,
|
|
1572
|
+
{
|
|
1573
|
+
name: "lucide/menu",
|
|
1574
|
+
size: 22,
|
|
1575
|
+
className: "stroke-foreground"
|
|
1576
|
+
}
|
|
1577
|
+
)
|
|
1578
|
+
}
|
|
1579
|
+
) })
|
|
1580
|
+
] })
|
|
1581
|
+
]
|
|
1548
1582
|
}
|
|
1549
|
-
),
|
|
1583
|
+
) }),
|
|
1550
1584
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1551
1585
|
MobileNavigationMenu,
|
|
1552
1586
|
{
|
|
@@ -1556,7 +1590,7 @@ var NavbarAnimatedPreview = ({
|
|
|
1556
1590
|
actionsSlot
|
|
1557
1591
|
}
|
|
1558
1592
|
)
|
|
1559
|
-
]
|
|
1593
|
+
] }) })
|
|
1560
1594
|
}
|
|
1561
1595
|
);
|
|
1562
1596
|
};
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
-
import { L as LogoConfig, b as ILinkItem, a as IMenuLinkGroup } from './types-
|
|
5
|
+
import { L as LogoConfig, b as ILinkItem, a as IMenuLinkGroup, N as NavbarLayoutVariant } from './types-COVDidbn.cjs';
|
|
6
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
7
7
|
import 'class-variance-authority';
|
|
8
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -101,6 +101,10 @@ interface NavbarAnimatedPreviewProps {
|
|
|
101
101
|
* Pattern overlay opacity (0-1)
|
|
102
102
|
*/
|
|
103
103
|
patternOpacity?: number;
|
|
104
|
+
/**
|
|
105
|
+
* Layout variant for the navbar
|
|
106
|
+
*/
|
|
107
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
104
108
|
/**
|
|
105
109
|
* OptixFlow image optimization configuration
|
|
106
110
|
*/
|
|
@@ -115,6 +119,6 @@ interface NavbarAnimatedPreviewProps {
|
|
|
115
119
|
* menu spans full width with smooth fade-in animations. Mobile view uses a full-screen sheet with
|
|
116
120
|
* accordion navigation. Ideal for complex SaaS products and developer platforms.
|
|
117
121
|
*/
|
|
118
|
-
declare const NavbarAnimatedPreview: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, menuLinks, navigationSlot, actions, actionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarAnimatedPreviewProps) => react_jsx_runtime.JSX.Element;
|
|
122
|
+
declare const NavbarAnimatedPreview: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, menuLinks, navigationSlot, actions, actionsSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarAnimatedPreviewProps) => react_jsx_runtime.JSX.Element;
|
|
119
123
|
|
|
120
124
|
export { type AnimatedPreviewLayout, type IFeaturedImageLink, ILinkItem, type IMenuLink, IMenuLinkGroup, LogoConfig, NavbarAnimatedPreview, type NavbarAnimatedPreviewProps };
|