@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
|
@@ -952,7 +952,7 @@ function NavigationMenuList({
|
|
|
952
952
|
{
|
|
953
953
|
"data-slot": "navigation-menu-list",
|
|
954
954
|
className: cn(
|
|
955
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
955
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
956
956
|
className
|
|
957
957
|
),
|
|
958
958
|
...props
|
|
@@ -992,8 +992,9 @@ function NavigationMenuTrigger({
|
|
|
992
992
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
993
993
|
DynamicIcon,
|
|
994
994
|
{
|
|
995
|
+
size: 18,
|
|
995
996
|
name: "lucide/chevron-down",
|
|
996
|
-
className: "relative top-
|
|
997
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
997
998
|
"aria-hidden": "true"
|
|
998
999
|
}
|
|
999
1000
|
)
|
|
@@ -1033,7 +1034,7 @@ function NavigationMenuViewport({
|
|
|
1033
1034
|
{
|
|
1034
1035
|
"data-slot": "navigation-menu-viewport",
|
|
1035
1036
|
className: cn(
|
|
1036
|
-
"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-
|
|
1037
|
+
"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)",
|
|
1037
1038
|
className
|
|
1038
1039
|
),
|
|
1039
1040
|
...props
|
|
@@ -1051,7 +1052,7 @@ function NavigationMenuLink({
|
|
|
1051
1052
|
{
|
|
1052
1053
|
"data-slot": "navigation-menu-link",
|
|
1053
1054
|
className: cn(
|
|
1054
|
-
"
|
|
1055
|
+
"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",
|
|
1055
1056
|
className
|
|
1056
1057
|
),
|
|
1057
1058
|
...props
|
|
@@ -1063,6 +1064,36 @@ function NavigationMenuLink({
|
|
|
1063
1064
|
function getLinkUrl(item) {
|
|
1064
1065
|
return item.href || item.url || "#";
|
|
1065
1066
|
}
|
|
1067
|
+
|
|
1068
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1069
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1070
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1071
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1072
|
+
return {
|
|
1073
|
+
// Section wrapper classes
|
|
1074
|
+
sectionClasses: cn(
|
|
1075
|
+
"inset-x-0 z-20",
|
|
1076
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1077
|
+
customClasses?.className
|
|
1078
|
+
),
|
|
1079
|
+
// Outer container wrapper (only for floating bar)
|
|
1080
|
+
containerWrapperClasses: cn(
|
|
1081
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1082
|
+
),
|
|
1083
|
+
// Inner container classes
|
|
1084
|
+
innerContainerClasses: cn(
|
|
1085
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1086
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1087
|
+
customClasses?.containerClassName
|
|
1088
|
+
),
|
|
1089
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1090
|
+
navWrapperClasses: cn(
|
|
1091
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1092
|
+
),
|
|
1093
|
+
// Spacing adjustment for Section component
|
|
1094
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1066
1097
|
var DesktopMenuItem = ({
|
|
1067
1098
|
link,
|
|
1068
1099
|
index,
|
|
@@ -1091,8 +1122,8 @@ var DesktopMenuItem = ({
|
|
|
1091
1122
|
if (layout === "animated-image-preview" && link.links) {
|
|
1092
1123
|
return /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenuItem, { children: [
|
|
1093
1124
|
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "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", children: link.label }),
|
|
1094
|
-
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "
|
|
1095
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1125
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
1126
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl shadow-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1096
1127
|
img.Img,
|
|
1097
1128
|
{
|
|
1098
1129
|
ref: (el) => {
|
|
@@ -1121,7 +1152,7 @@ var DesktopMenuItem = ({
|
|
|
1121
1152
|
onMouseEnter: handleMouseEnter,
|
|
1122
1153
|
onMouseLeave: handleMouseLeave,
|
|
1123
1154
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1124
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
1155
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
1125
1156
|
item.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
|
|
1126
1157
|
] })
|
|
1127
1158
|
}
|
|
@@ -1249,6 +1280,7 @@ var NavbarMegaMenu = ({
|
|
|
1249
1280
|
logoSlot,
|
|
1250
1281
|
menuLinks,
|
|
1251
1282
|
actions,
|
|
1283
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1252
1284
|
background = "white",
|
|
1253
1285
|
spacing = "none",
|
|
1254
1286
|
pattern,
|
|
@@ -1308,15 +1340,27 @@ var NavbarMegaMenu = ({
|
|
|
1308
1340
|
] }) }, index);
|
|
1309
1341
|
});
|
|
1310
1342
|
};
|
|
1343
|
+
const {
|
|
1344
|
+
sectionClasses,
|
|
1345
|
+
containerWrapperClasses,
|
|
1346
|
+
innerContainerClasses,
|
|
1347
|
+
navWrapperClasses: baseNavWrapperClasses,
|
|
1348
|
+
spacingOverride
|
|
1349
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1350
|
+
const navWrapperClasses = cn(
|
|
1351
|
+
"flex w-full items-center justify-between gap-12 py-4",
|
|
1352
|
+
baseNavWrapperClasses,
|
|
1353
|
+
layoutVariant === "floatingBar" && "pr-4 pl-8"
|
|
1354
|
+
);
|
|
1311
1355
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1312
1356
|
Section,
|
|
1313
1357
|
{
|
|
1314
1358
|
background,
|
|
1315
|
-
spacing,
|
|
1316
|
-
className:
|
|
1359
|
+
spacing: spacingOverride ?? spacing,
|
|
1360
|
+
className: sectionClasses,
|
|
1317
1361
|
pattern,
|
|
1318
1362
|
patternOpacity,
|
|
1319
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1363
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1320
1364
|
NavigationMenu,
|
|
1321
1365
|
{
|
|
1322
1366
|
className: cn(
|
|
@@ -1324,7 +1368,7 @@ var NavbarMegaMenu = ({
|
|
|
1324
1368
|
navClassName
|
|
1325
1369
|
),
|
|
1326
1370
|
children: [
|
|
1327
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1371
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: navWrapperClasses, children: [
|
|
1328
1372
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1329
1373
|
(!open || submenuIndex === null) && renderLogo(),
|
|
1330
1374
|
open && submenuIndex !== null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1469,7 +1513,7 @@ var NavbarMegaMenu = ({
|
|
|
1469
1513
|
)
|
|
1470
1514
|
]
|
|
1471
1515
|
}
|
|
1472
|
-
) })
|
|
1516
|
+
) }) })
|
|
1473
1517
|
}
|
|
1474
1518
|
);
|
|
1475
1519
|
};
|
|
@@ -2,8 +2,8 @@ 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, I as IMenuLink } from './types-
|
|
6
|
-
export { b as ILinkItem, a as IMenuLinkGroup, M as MegaMenuLayout } from './types-
|
|
5
|
+
import { L as LogoConfig, I as IMenuLink, N as NavbarLayoutVariant } from './types-COVDidbn.cjs';
|
|
6
|
+
export { b as ILinkItem, a as IMenuLinkGroup, M as MegaMenuLayout } from './types-COVDidbn.cjs';
|
|
7
7
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
8
8
|
import 'class-variance-authority';
|
|
9
9
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -57,6 +57,10 @@ interface NavbarMegaMenuProps {
|
|
|
57
57
|
* Actions rendered on the right side (desktop) and bottom (mobile)
|
|
58
58
|
*/
|
|
59
59
|
actions?: ActionConfig[];
|
|
60
|
+
/**
|
|
61
|
+
* Layout variant for the navbar
|
|
62
|
+
*/
|
|
63
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
60
64
|
/**
|
|
61
65
|
* Background style for the section
|
|
62
66
|
*/
|
|
@@ -86,6 +90,6 @@ interface NavbarMegaMenuProps {
|
|
|
86
90
|
* Includes a full-screen mobile menu with slide-in submenus for each category.
|
|
87
91
|
* Ideal for enterprise applications and complex product offerings.
|
|
88
92
|
*/
|
|
89
|
-
declare const NavbarMegaMenu: ({ className, containerClassName, navClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMegaMenuProps) => react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare const NavbarMegaMenu: ({ className, containerClassName, navClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMegaMenuProps) => react_jsx_runtime.JSX.Element;
|
|
90
94
|
|
|
91
95
|
export { IMenuLink, LogoConfig, NavbarMegaMenu, type NavbarMegaMenuProps };
|
|
@@ -2,8 +2,8 @@ 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, I as IMenuLink } from './types-
|
|
6
|
-
export { b as ILinkItem, a as IMenuLinkGroup, M as MegaMenuLayout } from './types-
|
|
5
|
+
import { L as LogoConfig, I as IMenuLink, N as NavbarLayoutVariant } from './types-COVDidbn.js';
|
|
6
|
+
export { b as ILinkItem, a as IMenuLinkGroup, M as MegaMenuLayout } from './types-COVDidbn.js';
|
|
7
7
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
8
8
|
import 'class-variance-authority';
|
|
9
9
|
import './button-variants-lRElsmTc.js';
|
|
@@ -57,6 +57,10 @@ interface NavbarMegaMenuProps {
|
|
|
57
57
|
* Actions rendered on the right side (desktop) and bottom (mobile)
|
|
58
58
|
*/
|
|
59
59
|
actions?: ActionConfig[];
|
|
60
|
+
/**
|
|
61
|
+
* Layout variant for the navbar
|
|
62
|
+
*/
|
|
63
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
60
64
|
/**
|
|
61
65
|
* Background style for the section
|
|
62
66
|
*/
|
|
@@ -86,6 +90,6 @@ interface NavbarMegaMenuProps {
|
|
|
86
90
|
* Includes a full-screen mobile menu with slide-in submenus for each category.
|
|
87
91
|
* Ideal for enterprise applications and complex product offerings.
|
|
88
92
|
*/
|
|
89
|
-
declare const NavbarMegaMenu: ({ className, containerClassName, navClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMegaMenuProps) => react_jsx_runtime.JSX.Element;
|
|
93
|
+
declare const NavbarMegaMenu: ({ className, containerClassName, navClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMegaMenuProps) => react_jsx_runtime.JSX.Element;
|
|
90
94
|
|
|
91
95
|
export { IMenuLink, LogoConfig, NavbarMegaMenu, type NavbarMegaMenuProps };
|
package/dist/navbar-mega-menu.js
CHANGED
|
@@ -930,7 +930,7 @@ function NavigationMenuList({
|
|
|
930
930
|
{
|
|
931
931
|
"data-slot": "navigation-menu-list",
|
|
932
932
|
className: cn(
|
|
933
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
933
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
934
934
|
className
|
|
935
935
|
),
|
|
936
936
|
...props
|
|
@@ -970,8 +970,9 @@ function NavigationMenuTrigger({
|
|
|
970
970
|
/* @__PURE__ */ jsx(
|
|
971
971
|
DynamicIcon,
|
|
972
972
|
{
|
|
973
|
+
size: 18,
|
|
973
974
|
name: "lucide/chevron-down",
|
|
974
|
-
className: "relative top-
|
|
975
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
975
976
|
"aria-hidden": "true"
|
|
976
977
|
}
|
|
977
978
|
)
|
|
@@ -1011,7 +1012,7 @@ function NavigationMenuViewport({
|
|
|
1011
1012
|
{
|
|
1012
1013
|
"data-slot": "navigation-menu-viewport",
|
|
1013
1014
|
className: cn(
|
|
1014
|
-
"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-
|
|
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-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-md border border-border/50 shadow-sm md:w-(--radix-navigation-menu-viewport-width)",
|
|
1015
1016
|
className
|
|
1016
1017
|
),
|
|
1017
1018
|
...props
|
|
@@ -1029,7 +1030,7 @@ function NavigationMenuLink({
|
|
|
1029
1030
|
{
|
|
1030
1031
|
"data-slot": "navigation-menu-link",
|
|
1031
1032
|
className: cn(
|
|
1032
|
-
"
|
|
1033
|
+
"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",
|
|
1033
1034
|
className
|
|
1034
1035
|
),
|
|
1035
1036
|
...props
|
|
@@ -1041,6 +1042,36 @@ function NavigationMenuLink({
|
|
|
1041
1042
|
function getLinkUrl(item) {
|
|
1042
1043
|
return item.href || item.url || "#";
|
|
1043
1044
|
}
|
|
1045
|
+
|
|
1046
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1047
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1048
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1049
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1050
|
+
return {
|
|
1051
|
+
// Section wrapper classes
|
|
1052
|
+
sectionClasses: cn(
|
|
1053
|
+
"inset-x-0 z-20",
|
|
1054
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1055
|
+
customClasses?.className
|
|
1056
|
+
),
|
|
1057
|
+
// Outer container wrapper (only for floating bar)
|
|
1058
|
+
containerWrapperClasses: cn(
|
|
1059
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1060
|
+
),
|
|
1061
|
+
// Inner container classes
|
|
1062
|
+
innerContainerClasses: cn(
|
|
1063
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1064
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1065
|
+
customClasses?.containerClassName
|
|
1066
|
+
),
|
|
1067
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1068
|
+
navWrapperClasses: cn(
|
|
1069
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1070
|
+
),
|
|
1071
|
+
// Spacing adjustment for Section component
|
|
1072
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1044
1075
|
var DesktopMenuItem = ({
|
|
1045
1076
|
link,
|
|
1046
1077
|
index,
|
|
@@ -1069,8 +1100,8 @@ var DesktopMenuItem = ({
|
|
|
1069
1100
|
if (layout === "animated-image-preview" && link.links) {
|
|
1070
1101
|
return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
|
|
1071
1102
|
/* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "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", children: link.label }),
|
|
1072
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "
|
|
1073
|
-
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsx(
|
|
1103
|
+
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-2xl! p-0!", children: /* @__PURE__ */ jsxs("div", { className: "grid min-h-75 w-181 grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
|
|
1104
|
+
/* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl shadow-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsx(
|
|
1074
1105
|
Img,
|
|
1075
1106
|
{
|
|
1076
1107
|
ref: (el) => {
|
|
@@ -1099,7 +1130,7 @@ var DesktopMenuItem = ({
|
|
|
1099
1130
|
onMouseEnter: handleMouseEnter,
|
|
1100
1131
|
onMouseLeave: handleMouseLeave,
|
|
1101
1132
|
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
1102
|
-
/* @__PURE__ */ jsx("
|
|
1133
|
+
/* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.label }),
|
|
1103
1134
|
item.description && /* @__PURE__ */ jsx("p", { className: "text-xs leading-normal text-muted-foreground", children: item.description })
|
|
1104
1135
|
] })
|
|
1105
1136
|
}
|
|
@@ -1227,6 +1258,7 @@ var NavbarMegaMenu = ({
|
|
|
1227
1258
|
logoSlot,
|
|
1228
1259
|
menuLinks,
|
|
1229
1260
|
actions,
|
|
1261
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1230
1262
|
background = "white",
|
|
1231
1263
|
spacing = "none",
|
|
1232
1264
|
pattern,
|
|
@@ -1286,15 +1318,27 @@ var NavbarMegaMenu = ({
|
|
|
1286
1318
|
] }) }, index);
|
|
1287
1319
|
});
|
|
1288
1320
|
};
|
|
1321
|
+
const {
|
|
1322
|
+
sectionClasses,
|
|
1323
|
+
containerWrapperClasses,
|
|
1324
|
+
innerContainerClasses,
|
|
1325
|
+
navWrapperClasses: baseNavWrapperClasses,
|
|
1326
|
+
spacingOverride
|
|
1327
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1328
|
+
const navWrapperClasses = cn(
|
|
1329
|
+
"flex w-full items-center justify-between gap-12 py-4",
|
|
1330
|
+
baseNavWrapperClasses,
|
|
1331
|
+
layoutVariant === "floatingBar" && "pr-4 pl-8"
|
|
1332
|
+
);
|
|
1289
1333
|
return /* @__PURE__ */ jsx(
|
|
1290
1334
|
Section,
|
|
1291
1335
|
{
|
|
1292
1336
|
background,
|
|
1293
|
-
spacing,
|
|
1294
|
-
className:
|
|
1337
|
+
spacing: spacingOverride ?? spacing,
|
|
1338
|
+
className: sectionClasses,
|
|
1295
1339
|
pattern,
|
|
1296
1340
|
patternOpacity,
|
|
1297
|
-
children: /* @__PURE__ */ jsx("div", { className:
|
|
1341
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
1298
1342
|
NavigationMenu,
|
|
1299
1343
|
{
|
|
1300
1344
|
className: cn(
|
|
@@ -1302,7 +1346,7 @@ var NavbarMegaMenu = ({
|
|
|
1302
1346
|
navClassName
|
|
1303
1347
|
),
|
|
1304
1348
|
children: [
|
|
1305
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
1349
|
+
/* @__PURE__ */ jsxs("div", { className: navWrapperClasses, children: [
|
|
1306
1350
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
1307
1351
|
(!open || submenuIndex === null) && renderLogo(),
|
|
1308
1352
|
open && submenuIndex !== null && /* @__PURE__ */ jsxs(
|
|
@@ -1447,7 +1491,7 @@ var NavbarMegaMenu = ({
|
|
|
1447
1491
|
)
|
|
1448
1492
|
]
|
|
1449
1493
|
}
|
|
1450
|
-
) })
|
|
1494
|
+
) }) })
|
|
1451
1495
|
}
|
|
1452
1496
|
);
|
|
1453
1497
|
};
|
|
@@ -1010,7 +1010,7 @@ function NavigationMenuList({
|
|
|
1010
1010
|
{
|
|
1011
1011
|
"data-slot": "navigation-menu-list",
|
|
1012
1012
|
className: cn(
|
|
1013
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1013
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
1014
1014
|
className
|
|
1015
1015
|
),
|
|
1016
1016
|
...props
|
|
@@ -1050,8 +1050,9 @@ function NavigationMenuTrigger({
|
|
|
1050
1050
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1051
1051
|
DynamicIcon,
|
|
1052
1052
|
{
|
|
1053
|
+
size: 18,
|
|
1053
1054
|
name: "lucide/chevron-down",
|
|
1054
|
-
className: "relative top-
|
|
1055
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1055
1056
|
"aria-hidden": "true"
|
|
1056
1057
|
}
|
|
1057
1058
|
)
|
|
@@ -1091,7 +1092,7 @@ function NavigationMenuViewport({
|
|
|
1091
1092
|
{
|
|
1092
1093
|
"data-slot": "navigation-menu-viewport",
|
|
1093
1094
|
className: cn(
|
|
1094
|
-
"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-
|
|
1095
|
+
"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)",
|
|
1095
1096
|
className
|
|
1096
1097
|
),
|
|
1097
1098
|
...props
|
|
@@ -1109,7 +1110,7 @@ function NavigationMenuLink({
|
|
|
1109
1110
|
{
|
|
1110
1111
|
"data-slot": "navigation-menu-link",
|
|
1111
1112
|
className: cn(
|
|
1112
|
-
"
|
|
1113
|
+
"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",
|
|
1113
1114
|
className
|
|
1114
1115
|
),
|
|
1115
1116
|
...props
|
|
@@ -1189,6 +1190,36 @@ function SheetTitle({
|
|
|
1189
1190
|
// lib/mediaPlaceholders.ts
|
|
1190
1191
|
var logoPlaceholders = {
|
|
1191
1192
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1193
|
+
|
|
1194
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1195
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1196
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1197
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1198
|
+
return {
|
|
1199
|
+
// Section wrapper classes
|
|
1200
|
+
sectionClasses: cn(
|
|
1201
|
+
"inset-x-0 z-20",
|
|
1202
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1203
|
+
customClasses?.className
|
|
1204
|
+
),
|
|
1205
|
+
// Outer container wrapper (only for floating bar)
|
|
1206
|
+
containerWrapperClasses: cn(
|
|
1207
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1208
|
+
),
|
|
1209
|
+
// Inner container classes
|
|
1210
|
+
innerContainerClasses: cn(
|
|
1211
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1212
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1213
|
+
customClasses?.containerClassName
|
|
1214
|
+
),
|
|
1215
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1216
|
+
navWrapperClasses: cn(
|
|
1217
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1218
|
+
),
|
|
1219
|
+
// Spacing adjustment for Section component
|
|
1220
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1221
|
+
};
|
|
1222
|
+
}
|
|
1192
1223
|
var MOBILE_BREAKPOINT = 1024;
|
|
1193
1224
|
var NavbarMultiColumnGroups = ({
|
|
1194
1225
|
className,
|
|
@@ -1208,6 +1239,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
1208
1239
|
authActionsSlot,
|
|
1209
1240
|
mobileAuthActions,
|
|
1210
1241
|
mobileAuthActionsSlot,
|
|
1242
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1211
1243
|
background = "white",
|
|
1212
1244
|
spacing = "none",
|
|
1213
1245
|
pattern,
|
|
@@ -1302,19 +1334,23 @@ var NavbarMultiColumnGroups = ({
|
|
|
1302
1334
|
);
|
|
1303
1335
|
});
|
|
1304
1336
|
};
|
|
1337
|
+
const {
|
|
1338
|
+
sectionClasses,
|
|
1339
|
+
containerWrapperClasses,
|
|
1340
|
+
innerContainerClasses,
|
|
1341
|
+
navWrapperClasses,
|
|
1342
|
+
spacingOverride
|
|
1343
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1305
1344
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1306
1345
|
Section,
|
|
1307
1346
|
{
|
|
1308
1347
|
background,
|
|
1309
|
-
spacing,
|
|
1310
|
-
className:
|
|
1311
|
-
"pointer-events-auto fixed top-0 z-999 flex h-16 w-full items-center justify-center",
|
|
1312
|
-
className
|
|
1313
|
-
),
|
|
1348
|
+
spacing: spacingOverride ?? spacing,
|
|
1349
|
+
className: sectionClasses,
|
|
1314
1350
|
pattern,
|
|
1315
1351
|
patternOpacity,
|
|
1316
1352
|
children: [
|
|
1317
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1353
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1318
1354
|
"div",
|
|
1319
1355
|
{
|
|
1320
1356
|
className: cn(
|
|
@@ -1369,7 +1405,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
1369
1405
|
) })
|
|
1370
1406
|
]
|
|
1371
1407
|
}
|
|
1372
|
-
) }),
|
|
1408
|
+
) }) }),
|
|
1373
1409
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1374
1410
|
MobileNavigationMenu,
|
|
1375
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';
|
|
@@ -104,6 +104,10 @@ interface NavbarMultiColumnGroupsProps {
|
|
|
104
104
|
* OptixFlow image optimization configuration
|
|
105
105
|
*/
|
|
106
106
|
optixFlowConfig?: OptixFlowConfig;
|
|
107
|
+
/**
|
|
108
|
+
* Layout variant for the navbar
|
|
109
|
+
*/
|
|
110
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
107
111
|
}
|
|
108
112
|
/**
|
|
109
113
|
* NavbarMultiColumnGroups - A navigation bar with multi-column grouped dropdown menus.
|
|
@@ -114,6 +118,6 @@ interface NavbarMultiColumnGroupsProps {
|
|
|
114
118
|
* full-screen sheet with accordion navigation and CTA buttons at the top. Ideal for SaaS
|
|
115
119
|
* platforms, enterprise software, and products with many features to showcase.
|
|
116
120
|
*/
|
|
117
|
-
declare const NavbarMultiColumnGroups: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, mobileAuthActions, mobileAuthActionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMultiColumnGroupsProps) => react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare const NavbarMultiColumnGroups: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, mobileAuthActions, mobileAuthActionsSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMultiColumnGroupsProps) => react_jsx_runtime.JSX.Element;
|
|
118
122
|
|
|
119
123
|
export { NavbarMultiColumnGroups, type NavbarMultiColumnGroupsProps };
|
|
@@ -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';
|
|
@@ -104,6 +104,10 @@ interface NavbarMultiColumnGroupsProps {
|
|
|
104
104
|
* OptixFlow image optimization configuration
|
|
105
105
|
*/
|
|
106
106
|
optixFlowConfig?: OptixFlowConfig;
|
|
107
|
+
/**
|
|
108
|
+
* Layout variant for the navbar
|
|
109
|
+
*/
|
|
110
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
107
111
|
}
|
|
108
112
|
/**
|
|
109
113
|
* NavbarMultiColumnGroups - A navigation bar with multi-column grouped dropdown menus.
|
|
@@ -114,6 +118,6 @@ interface NavbarMultiColumnGroupsProps {
|
|
|
114
118
|
* full-screen sheet with accordion navigation and CTA buttons at the top. Ideal for SaaS
|
|
115
119
|
* platforms, enterprise software, and products with many features to showcase.
|
|
116
120
|
*/
|
|
117
|
-
declare const NavbarMultiColumnGroups: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, mobileAuthActions, mobileAuthActionsSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMultiColumnGroupsProps) => react_jsx_runtime.JSX.Element;
|
|
121
|
+
declare const NavbarMultiColumnGroups: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, mobileAuthActions, mobileAuthActionsSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarMultiColumnGroupsProps) => react_jsx_runtime.JSX.Element;
|
|
118
122
|
|
|
119
123
|
export { NavbarMultiColumnGroups, type NavbarMultiColumnGroupsProps };
|