@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,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.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
-
import { L as LogoConfig } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-COVDidbn.js';
|
|
6
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
7
7
|
import 'class-variance-authority';
|
|
8
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -91,6 +91,10 @@ interface NavbarSimpleLinksProps {
|
|
|
91
91
|
* Pattern overlay opacity (0-1)
|
|
92
92
|
*/
|
|
93
93
|
patternOpacity?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Layout variant for the navbar
|
|
96
|
+
*/
|
|
97
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
94
98
|
/**
|
|
95
99
|
* OptixFlow image optimization configuration
|
|
96
100
|
*/
|
|
@@ -105,6 +109,6 @@ interface NavbarSimpleLinksProps {
|
|
|
105
109
|
* with a left border indicator for the active item. Perfect for simple marketing
|
|
106
110
|
* sites and portfolios.
|
|
107
111
|
*/
|
|
108
|
-
declare const NavbarSimpleLinks: ({ className, containerClassName, navClassName, navigationMenuClassName, menuListClassName, actionsClassName, logo, logoSlot, logoClassName, navItems, navItemsSlot, defaultActiveItem, actions, actionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSimpleLinksProps) => react_jsx_runtime.JSX.Element;
|
|
112
|
+
declare const NavbarSimpleLinks: ({ className, containerClassName, navClassName, navigationMenuClassName, menuListClassName, actionsClassName, logo, logoSlot, logoClassName, navItems, navItemsSlot, defaultActiveItem, actions, actionsSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSimpleLinksProps) => react_jsx_runtime.JSX.Element;
|
|
109
113
|
|
|
110
114
|
export { NavbarSimpleLinks, type NavbarSimpleLinksProps };
|
|
@@ -931,7 +931,7 @@ function NavigationMenuList({
|
|
|
931
931
|
{
|
|
932
932
|
"data-slot": "navigation-menu-list",
|
|
933
933
|
className: cn(
|
|
934
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -969,7 +969,7 @@ function NavigationMenuViewport({
|
|
|
969
969
|
{
|
|
970
970
|
"data-slot": "navigation-menu-viewport",
|
|
971
971
|
className: cn(
|
|
972
|
-
"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-
|
|
972
|
+
"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)",
|
|
973
973
|
className
|
|
974
974
|
),
|
|
975
975
|
...props
|
|
@@ -987,7 +987,7 @@ function NavigationMenuLink({
|
|
|
987
987
|
{
|
|
988
988
|
"data-slot": "navigation-menu-link",
|
|
989
989
|
className: cn(
|
|
990
|
-
"
|
|
990
|
+
"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",
|
|
991
991
|
className
|
|
992
992
|
),
|
|
993
993
|
...props
|
|
@@ -1028,6 +1028,36 @@ function PopoverContent({
|
|
|
1028
1028
|
// lib/mediaPlaceholders.ts
|
|
1029
1029
|
var logoPlaceholders = {
|
|
1030
1030
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1031
|
+
|
|
1032
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1033
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1034
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1035
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1036
|
+
return {
|
|
1037
|
+
// Section wrapper classes
|
|
1038
|
+
sectionClasses: cn(
|
|
1039
|
+
"inset-x-0 z-20",
|
|
1040
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1041
|
+
customClasses?.className
|
|
1042
|
+
),
|
|
1043
|
+
// Outer container wrapper (only for floating bar)
|
|
1044
|
+
containerWrapperClasses: cn(
|
|
1045
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1046
|
+
),
|
|
1047
|
+
// Inner container classes
|
|
1048
|
+
innerContainerClasses: cn(
|
|
1049
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1050
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1051
|
+
customClasses?.containerClassName
|
|
1052
|
+
),
|
|
1053
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1054
|
+
navWrapperClasses: cn(
|
|
1055
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1056
|
+
),
|
|
1057
|
+
// Spacing adjustment for Section component
|
|
1058
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1031
1061
|
var AnimatedHamburger = ({ isOpen }) => {
|
|
1032
1062
|
return /* @__PURE__ */ jsx("div", { className: "group relative size-full", children: /* @__PURE__ */ jsxs("div", { className: "absolute flex size-full items-center justify-center", children: [
|
|
1033
1063
|
/* @__PURE__ */ jsx(
|
|
@@ -1126,6 +1156,7 @@ var NavbarSimpleLinks = ({
|
|
|
1126
1156
|
defaultActiveItem,
|
|
1127
1157
|
actions,
|
|
1128
1158
|
actionsSlot,
|
|
1159
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1129
1160
|
background = "white",
|
|
1130
1161
|
spacing = "sm",
|
|
1131
1162
|
pattern,
|
|
@@ -1217,73 +1248,71 @@ var NavbarSimpleLinks = ({
|
|
|
1217
1248
|
);
|
|
1218
1249
|
});
|
|
1219
1250
|
};
|
|
1251
|
+
const {
|
|
1252
|
+
sectionClasses,
|
|
1253
|
+
containerWrapperClasses,
|
|
1254
|
+
innerContainerClasses,
|
|
1255
|
+
navWrapperClasses,
|
|
1256
|
+
spacingOverride
|
|
1257
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1220
1258
|
return /* @__PURE__ */ jsx(
|
|
1221
1259
|
Section,
|
|
1222
1260
|
{
|
|
1223
1261
|
background,
|
|
1224
|
-
spacing,
|
|
1225
|
-
className:
|
|
1262
|
+
spacing: spacingOverride ?? spacing,
|
|
1263
|
+
className: sectionClasses,
|
|
1226
1264
|
pattern,
|
|
1227
1265
|
patternOpacity,
|
|
1228
|
-
children: /* @__PURE__ */ jsx(
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
renderLogo(),
|
|
1237
|
-
/* @__PURE__ */ jsx(
|
|
1238
|
-
NavigationMenu,
|
|
1239
|
-
{
|
|
1240
|
-
className: cn("hidden lg:block", navigationMenuClassName),
|
|
1241
|
-
children: /* @__PURE__ */ jsxs(
|
|
1242
|
-
NavigationMenuList,
|
|
1243
|
-
{
|
|
1244
|
-
ref: menuRef,
|
|
1245
|
-
className: cn(
|
|
1246
|
-
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
1247
|
-
menuListClassName
|
|
1248
|
-
),
|
|
1249
|
-
children: [
|
|
1250
|
-
renderNavItems(),
|
|
1251
|
-
/* @__PURE__ */ jsx(
|
|
1252
|
-
"div",
|
|
1253
|
-
{
|
|
1254
|
-
ref: indicatorRef,
|
|
1255
|
-
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
1256
|
-
children: /* @__PURE__ */ jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
1257
|
-
}
|
|
1258
|
-
)
|
|
1259
|
-
]
|
|
1260
|
-
}
|
|
1261
|
-
)
|
|
1262
|
-
}
|
|
1263
|
-
),
|
|
1264
|
-
/* @__PURE__ */ jsx(
|
|
1265
|
-
MobileNav,
|
|
1266
|
-
{
|
|
1267
|
-
navItems: navItems ?? [],
|
|
1268
|
-
activeItem,
|
|
1269
|
-
setActiveItem,
|
|
1270
|
-
actions,
|
|
1271
|
-
actionsSlot
|
|
1272
|
-
}
|
|
1273
|
-
),
|
|
1274
|
-
/* @__PURE__ */ jsx(
|
|
1275
|
-
"div",
|
|
1266
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs("nav", { className: cn("flex items-center justify-between", navWrapperClasses, navClassName), children: [
|
|
1267
|
+
renderLogo(),
|
|
1268
|
+
/* @__PURE__ */ jsx(
|
|
1269
|
+
NavigationMenu,
|
|
1270
|
+
{
|
|
1271
|
+
className: cn("hidden lg:block", navigationMenuClassName),
|
|
1272
|
+
children: /* @__PURE__ */ jsxs(
|
|
1273
|
+
NavigationMenuList,
|
|
1276
1274
|
{
|
|
1275
|
+
ref: menuRef,
|
|
1277
1276
|
className: cn(
|
|
1278
|
-
"
|
|
1279
|
-
|
|
1277
|
+
"flex items-center gap-6 rounded-4xl px-8 py-3",
|
|
1278
|
+
menuListClassName
|
|
1280
1279
|
),
|
|
1281
|
-
children:
|
|
1280
|
+
children: [
|
|
1281
|
+
renderNavItems(),
|
|
1282
|
+
/* @__PURE__ */ jsx(
|
|
1283
|
+
"div",
|
|
1284
|
+
{
|
|
1285
|
+
ref: indicatorRef,
|
|
1286
|
+
className: "absolute bottom-2 flex h-1 items-center justify-center px-2 transition-all duration-300",
|
|
1287
|
+
children: /* @__PURE__ */ jsx("div", { className: "h-0.5 w-full rounded-t-none bg-foreground transition-all duration-300" })
|
|
1288
|
+
}
|
|
1289
|
+
)
|
|
1290
|
+
]
|
|
1282
1291
|
}
|
|
1283
1292
|
)
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1293
|
+
}
|
|
1294
|
+
),
|
|
1295
|
+
/* @__PURE__ */ jsx(
|
|
1296
|
+
MobileNav,
|
|
1297
|
+
{
|
|
1298
|
+
navItems: navItems ?? [],
|
|
1299
|
+
activeItem,
|
|
1300
|
+
setActiveItem,
|
|
1301
|
+
actions,
|
|
1302
|
+
actionsSlot
|
|
1303
|
+
}
|
|
1304
|
+
),
|
|
1305
|
+
/* @__PURE__ */ jsx(
|
|
1306
|
+
"div",
|
|
1307
|
+
{
|
|
1308
|
+
className: cn(
|
|
1309
|
+
"hidden items-center gap-2 lg:flex",
|
|
1310
|
+
actionsClassName
|
|
1311
|
+
),
|
|
1312
|
+
children: renderActions()
|
|
1313
|
+
}
|
|
1314
|
+
)
|
|
1315
|
+
] }) }) })
|
|
1287
1316
|
}
|
|
1288
1317
|
);
|
|
1289
1318
|
};
|
|
@@ -954,7 +954,7 @@ function NavigationMenuList({
|
|
|
954
954
|
{
|
|
955
955
|
"data-slot": "navigation-menu-list",
|
|
956
956
|
className: cn(
|
|
957
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -994,8 +994,9 @@ function NavigationMenuTrigger({
|
|
|
994
994
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
|
+
size: 18,
|
|
997
998
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-
|
|
999
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
1000
|
"aria-hidden": "true"
|
|
1000
1001
|
}
|
|
1001
1002
|
)
|
|
@@ -1035,7 +1036,7 @@ function NavigationMenuViewport({
|
|
|
1035
1036
|
{
|
|
1036
1037
|
"data-slot": "navigation-menu-viewport",
|
|
1037
1038
|
className: cn(
|
|
1038
|
-
"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-
|
|
1039
|
+
"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)",
|
|
1039
1040
|
className
|
|
1040
1041
|
),
|
|
1041
1042
|
...props
|
|
@@ -1053,7 +1054,7 @@ function NavigationMenuLink({
|
|
|
1053
1054
|
{
|
|
1054
1055
|
"data-slot": "navigation-menu-link",
|
|
1055
1056
|
className: cn(
|
|
1056
|
-
"
|
|
1057
|
+
"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",
|
|
1057
1058
|
className
|
|
1058
1059
|
),
|
|
1059
1060
|
...props
|
|
@@ -1138,6 +1139,36 @@ function SheetTitle({
|
|
|
1138
1139
|
// lib/mediaPlaceholders.ts
|
|
1139
1140
|
var logoPlaceholders = {
|
|
1140
1141
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1142
|
+
|
|
1143
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1144
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1145
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1146
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1147
|
+
return {
|
|
1148
|
+
// Section wrapper classes
|
|
1149
|
+
sectionClasses: cn(
|
|
1150
|
+
"inset-x-0 z-20",
|
|
1151
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1152
|
+
customClasses?.className
|
|
1153
|
+
),
|
|
1154
|
+
// Outer container wrapper (only for floating bar)
|
|
1155
|
+
containerWrapperClasses: cn(
|
|
1156
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1157
|
+
),
|
|
1158
|
+
// Inner container classes
|
|
1159
|
+
innerContainerClasses: cn(
|
|
1160
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1161
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1162
|
+
customClasses?.containerClassName
|
|
1163
|
+
),
|
|
1164
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1165
|
+
navWrapperClasses: cn(
|
|
1166
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1167
|
+
),
|
|
1168
|
+
// Spacing adjustment for Section component
|
|
1169
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1141
1172
|
var NavbarSplitCta = ({
|
|
1142
1173
|
logo = {
|
|
1143
1174
|
url: "/",
|
|
@@ -1156,6 +1187,7 @@ var NavbarSplitCta = ({
|
|
|
1156
1187
|
navClassName,
|
|
1157
1188
|
navigationMenuClassName,
|
|
1158
1189
|
actionsClassName,
|
|
1190
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1159
1191
|
background = "white",
|
|
1160
1192
|
spacing = "none",
|
|
1161
1193
|
pattern,
|
|
@@ -1245,15 +1277,22 @@ var NavbarSplitCta = ({
|
|
|
1245
1277
|
if (!menu || menu.length === 0) return null;
|
|
1246
1278
|
return menu;
|
|
1247
1279
|
};
|
|
1280
|
+
const {
|
|
1281
|
+
sectionClasses,
|
|
1282
|
+
containerWrapperClasses,
|
|
1283
|
+
innerContainerClasses,
|
|
1284
|
+
navWrapperClasses,
|
|
1285
|
+
spacingOverride
|
|
1286
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1248
1287
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1249
1288
|
Section,
|
|
1250
1289
|
{
|
|
1251
1290
|
background,
|
|
1252
|
-
spacing,
|
|
1253
|
-
className:
|
|
1291
|
+
spacing: spacingOverride ?? spacing,
|
|
1292
|
+
className: sectionClasses,
|
|
1254
1293
|
pattern,
|
|
1255
1294
|
patternOpacity,
|
|
1256
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1295
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1257
1296
|
"nav",
|
|
1258
1297
|
{
|
|
1259
1298
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -1366,7 +1405,7 @@ var NavbarSplitCta = ({
|
|
|
1366
1405
|
] })
|
|
1367
1406
|
]
|
|
1368
1407
|
}
|
|
1369
|
-
) })
|
|
1408
|
+
) }) })
|
|
1370
1409
|
}
|
|
1371
1410
|
);
|
|
1372
1411
|
};
|
|
@@ -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 } from './types-
|
|
5
|
+
import { L as LogoConfig, 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';
|
|
@@ -107,6 +107,10 @@ interface NavbarSplitCtaProps {
|
|
|
107
107
|
* OptixFlow image optimization configuration
|
|
108
108
|
*/
|
|
109
109
|
optixFlowConfig?: OptixFlowConfig;
|
|
110
|
+
/**
|
|
111
|
+
* Layout variant for the navbar
|
|
112
|
+
*/
|
|
113
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
110
114
|
}
|
|
111
115
|
/**
|
|
112
116
|
* NavbarSplitCta - A navigation bar with split primary and secondary call-to-action buttons.
|
|
@@ -117,6 +121,6 @@ interface NavbarSplitCtaProps {
|
|
|
117
121
|
* slide-out sheet with the CTAs prominently displayed at the top. Ideal for SaaS products
|
|
118
122
|
* and services that want to emphasize both login/signup or demo/trial actions.
|
|
119
123
|
*/
|
|
120
|
-
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
121
125
|
|
|
122
126
|
export { NavbarSplitCta, type NavbarSplitCtaProps };
|
|
@@ -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.js';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.js';
|
|
5
|
-
import { L as LogoConfig } from './types-
|
|
5
|
+
import { L as LogoConfig, N as NavbarLayoutVariant } from './types-COVDidbn.js';
|
|
6
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
7
7
|
import 'class-variance-authority';
|
|
8
8
|
import './button-variants-lRElsmTc.js';
|
|
@@ -107,6 +107,10 @@ interface NavbarSplitCtaProps {
|
|
|
107
107
|
* OptixFlow image optimization configuration
|
|
108
108
|
*/
|
|
109
109
|
optixFlowConfig?: OptixFlowConfig;
|
|
110
|
+
/**
|
|
111
|
+
* Layout variant for the navbar
|
|
112
|
+
*/
|
|
113
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
110
114
|
}
|
|
111
115
|
/**
|
|
112
116
|
* NavbarSplitCta - A navigation bar with split primary and secondary call-to-action buttons.
|
|
@@ -117,6 +121,6 @@ interface NavbarSplitCtaProps {
|
|
|
117
121
|
* slide-out sheet with the CTAs prominently displayed at the top. Ideal for SaaS products
|
|
118
122
|
* and services that want to emphasize both login/signup or demo/trial actions.
|
|
119
123
|
*/
|
|
120
|
-
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
124
|
+
declare const NavbarSplitCta: ({ logo, logoSlot, logoClassName, menu, menuSlot, primaryCta, secondaryCta, authActions, authActionsSlot, className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarSplitCtaProps) => react_jsx_runtime.JSX.Element;
|
|
121
125
|
|
|
122
126
|
export { NavbarSplitCta, type NavbarSplitCtaProps };
|
package/dist/navbar-split-cta.js
CHANGED
|
@@ -931,7 +931,7 @@ function NavigationMenuList({
|
|
|
931
931
|
{
|
|
932
932
|
"data-slot": "navigation-menu-list",
|
|
933
933
|
className: cn(
|
|
934
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
934
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
935
935
|
className
|
|
936
936
|
),
|
|
937
937
|
...props
|
|
@@ -971,8 +971,9 @@ function NavigationMenuTrigger({
|
|
|
971
971
|
/* @__PURE__ */ jsx(
|
|
972
972
|
DynamicIcon,
|
|
973
973
|
{
|
|
974
|
+
size: 18,
|
|
974
975
|
name: "lucide/chevron-down",
|
|
975
|
-
className: "relative top-
|
|
976
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
976
977
|
"aria-hidden": "true"
|
|
977
978
|
}
|
|
978
979
|
)
|
|
@@ -1012,7 +1013,7 @@ function NavigationMenuViewport({
|
|
|
1012
1013
|
{
|
|
1013
1014
|
"data-slot": "navigation-menu-viewport",
|
|
1014
1015
|
className: cn(
|
|
1015
|
-
"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-
|
|
1016
|
+
"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)",
|
|
1016
1017
|
className
|
|
1017
1018
|
),
|
|
1018
1019
|
...props
|
|
@@ -1030,7 +1031,7 @@ function NavigationMenuLink({
|
|
|
1030
1031
|
{
|
|
1031
1032
|
"data-slot": "navigation-menu-link",
|
|
1032
1033
|
className: cn(
|
|
1033
|
-
"
|
|
1034
|
+
"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",
|
|
1034
1035
|
className
|
|
1035
1036
|
),
|
|
1036
1037
|
...props
|
|
@@ -1115,6 +1116,36 @@ function SheetTitle({
|
|
|
1115
1116
|
// lib/mediaPlaceholders.ts
|
|
1116
1117
|
var logoPlaceholders = {
|
|
1117
1118
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1119
|
+
|
|
1120
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1121
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1122
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1123
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1124
|
+
return {
|
|
1125
|
+
// Section wrapper classes
|
|
1126
|
+
sectionClasses: cn(
|
|
1127
|
+
"inset-x-0 z-20",
|
|
1128
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1129
|
+
customClasses?.className
|
|
1130
|
+
),
|
|
1131
|
+
// Outer container wrapper (only for floating bar)
|
|
1132
|
+
containerWrapperClasses: cn(
|
|
1133
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1134
|
+
),
|
|
1135
|
+
// Inner container classes
|
|
1136
|
+
innerContainerClasses: cn(
|
|
1137
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1138
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1139
|
+
customClasses?.containerClassName
|
|
1140
|
+
),
|
|
1141
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1142
|
+
navWrapperClasses: cn(
|
|
1143
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1144
|
+
),
|
|
1145
|
+
// Spacing adjustment for Section component
|
|
1146
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1118
1149
|
var NavbarSplitCta = ({
|
|
1119
1150
|
logo = {
|
|
1120
1151
|
url: "/",
|
|
@@ -1133,6 +1164,7 @@ var NavbarSplitCta = ({
|
|
|
1133
1164
|
navClassName,
|
|
1134
1165
|
navigationMenuClassName,
|
|
1135
1166
|
actionsClassName,
|
|
1167
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1136
1168
|
background = "white",
|
|
1137
1169
|
spacing = "none",
|
|
1138
1170
|
pattern,
|
|
@@ -1222,15 +1254,22 @@ var NavbarSplitCta = ({
|
|
|
1222
1254
|
if (!menu || menu.length === 0) return null;
|
|
1223
1255
|
return menu;
|
|
1224
1256
|
};
|
|
1257
|
+
const {
|
|
1258
|
+
sectionClasses,
|
|
1259
|
+
containerWrapperClasses,
|
|
1260
|
+
innerContainerClasses,
|
|
1261
|
+
navWrapperClasses,
|
|
1262
|
+
spacingOverride
|
|
1263
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1225
1264
|
return /* @__PURE__ */ jsx(
|
|
1226
1265
|
Section,
|
|
1227
1266
|
{
|
|
1228
1267
|
background,
|
|
1229
|
-
spacing,
|
|
1230
|
-
className:
|
|
1268
|
+
spacing: spacingOverride ?? spacing,
|
|
1269
|
+
className: sectionClasses,
|
|
1231
1270
|
pattern,
|
|
1232
1271
|
patternOpacity,
|
|
1233
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
1272
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
1234
1273
|
"nav",
|
|
1235
1274
|
{
|
|
1236
1275
|
className: cn("flex items-center justify-between py-4", navClassName),
|
|
@@ -1343,7 +1382,7 @@ var NavbarSplitCta = ({
|
|
|
1343
1382
|
] })
|
|
1344
1383
|
]
|
|
1345
1384
|
}
|
|
1346
|
-
) })
|
|
1385
|
+
) }) })
|
|
1347
1386
|
}
|
|
1348
1387
|
);
|
|
1349
1388
|
};
|
|
@@ -954,7 +954,7 @@ function NavigationMenuList({
|
|
|
954
954
|
{
|
|
955
955
|
"data-slot": "navigation-menu-list",
|
|
956
956
|
className: cn(
|
|
957
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
957
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
958
958
|
className
|
|
959
959
|
),
|
|
960
960
|
...props
|
|
@@ -994,8 +994,9 @@ function NavigationMenuTrigger({
|
|
|
994
994
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
995
995
|
DynamicIcon,
|
|
996
996
|
{
|
|
997
|
+
size: 18,
|
|
997
998
|
name: "lucide/chevron-down",
|
|
998
|
-
className: "relative top-
|
|
999
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
999
1000
|
"aria-hidden": "true"
|
|
1000
1001
|
}
|
|
1001
1002
|
)
|
|
@@ -1035,7 +1036,7 @@ function NavigationMenuViewport({
|
|
|
1035
1036
|
{
|
|
1036
1037
|
"data-slot": "navigation-menu-viewport",
|
|
1037
1038
|
className: cn(
|
|
1038
|
-
"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-
|
|
1039
|
+
"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)",
|
|
1039
1040
|
className
|
|
1040
1041
|
),
|
|
1041
1042
|
...props
|
|
@@ -1053,7 +1054,7 @@ function NavigationMenuLink({
|
|
|
1053
1054
|
{
|
|
1054
1055
|
"data-slot": "navigation-menu-link",
|
|
1055
1056
|
className: cn(
|
|
1056
|
-
"
|
|
1057
|
+
"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",
|
|
1057
1058
|
className
|
|
1058
1059
|
),
|
|
1059
1060
|
...props
|
|
@@ -1138,6 +1139,36 @@ function SheetTitle({
|
|
|
1138
1139
|
// lib/mediaPlaceholders.ts
|
|
1139
1140
|
var logoPlaceholders = {
|
|
1140
1141
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1142
|
+
|
|
1143
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1144
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1145
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1146
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1147
|
+
return {
|
|
1148
|
+
// Section wrapper classes
|
|
1149
|
+
sectionClasses: cn(
|
|
1150
|
+
"inset-x-0 z-20",
|
|
1151
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1152
|
+
customClasses?.className
|
|
1153
|
+
),
|
|
1154
|
+
// Outer container wrapper (only for floating bar)
|
|
1155
|
+
containerWrapperClasses: cn(
|
|
1156
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1157
|
+
),
|
|
1158
|
+
// Inner container classes
|
|
1159
|
+
innerContainerClasses: cn(
|
|
1160
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1161
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1162
|
+
customClasses?.containerClassName
|
|
1163
|
+
),
|
|
1164
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1165
|
+
navWrapperClasses: cn(
|
|
1166
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1167
|
+
),
|
|
1168
|
+
// Spacing adjustment for Section component
|
|
1169
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1170
|
+
};
|
|
1171
|
+
}
|
|
1141
1172
|
var NavbarStickyCompact = ({
|
|
1142
1173
|
logo = {
|
|
1143
1174
|
url: "/",
|
|
@@ -1153,6 +1184,7 @@ var NavbarStickyCompact = ({
|
|
|
1153
1184
|
containerClassName,
|
|
1154
1185
|
navClassName,
|
|
1155
1186
|
actionsClassName,
|
|
1187
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1156
1188
|
background = "white",
|
|
1157
1189
|
spacing = "none",
|
|
1158
1190
|
pattern,
|
|
@@ -1306,19 +1338,26 @@ var NavbarStickyCompact = ({
|
|
|
1306
1338
|
)
|
|
1307
1339
|
);
|
|
1308
1340
|
};
|
|
1341
|
+
const {
|
|
1342
|
+
sectionClasses,
|
|
1343
|
+
containerWrapperClasses,
|
|
1344
|
+
innerContainerClasses,
|
|
1345
|
+
navWrapperClasses,
|
|
1346
|
+
spacingOverride
|
|
1347
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1309
1348
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
1349
|
Section,
|
|
1311
1350
|
{
|
|
1312
1351
|
background,
|
|
1313
|
-
spacing,
|
|
1352
|
+
spacing: spacingOverride ?? spacing,
|
|
1314
1353
|
className: cn(
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1354
|
+
sectionClasses,
|
|
1355
|
+
"fixed top-0 left-0 z-50 w-full bg-background/95 backdrop-blur-sm transition-all duration-300",
|
|
1356
|
+
isScrolled ? "shadow-sm" : ""
|
|
1318
1357
|
),
|
|
1319
1358
|
pattern,
|
|
1320
1359
|
patternOpacity,
|
|
1321
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1360
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1322
1361
|
"nav",
|
|
1323
1362
|
{
|
|
1324
1363
|
className: cn(
|
|
@@ -1374,7 +1413,7 @@ var NavbarStickyCompact = ({
|
|
|
1374
1413
|
] })
|
|
1375
1414
|
]
|
|
1376
1415
|
}
|
|
1377
|
-
) })
|
|
1416
|
+
) }) })
|
|
1378
1417
|
}
|
|
1379
1418
|
);
|
|
1380
1419
|
};
|