@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
|
@@ -986,7 +986,7 @@ function NavigationMenuList({
|
|
|
986
986
|
{
|
|
987
987
|
"data-slot": "navigation-menu-list",
|
|
988
988
|
className: cn(
|
|
989
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
989
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
990
990
|
className
|
|
991
991
|
),
|
|
992
992
|
...props
|
|
@@ -1026,8 +1026,9 @@ function NavigationMenuTrigger({
|
|
|
1026
1026
|
/* @__PURE__ */ jsx(
|
|
1027
1027
|
DynamicIcon,
|
|
1028
1028
|
{
|
|
1029
|
+
size: 18,
|
|
1029
1030
|
name: "lucide/chevron-down",
|
|
1030
|
-
className: "relative top-
|
|
1031
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1031
1032
|
"aria-hidden": "true"
|
|
1032
1033
|
}
|
|
1033
1034
|
)
|
|
@@ -1067,7 +1068,7 @@ function NavigationMenuViewport({
|
|
|
1067
1068
|
{
|
|
1068
1069
|
"data-slot": "navigation-menu-viewport",
|
|
1069
1070
|
className: cn(
|
|
1070
|
-
"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-
|
|
1071
|
+
"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)",
|
|
1071
1072
|
className
|
|
1072
1073
|
),
|
|
1073
1074
|
...props
|
|
@@ -1085,7 +1086,7 @@ function NavigationMenuLink({
|
|
|
1085
1086
|
{
|
|
1086
1087
|
"data-slot": "navigation-menu-link",
|
|
1087
1088
|
className: cn(
|
|
1088
|
-
"
|
|
1089
|
+
"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",
|
|
1089
1090
|
className
|
|
1090
1091
|
),
|
|
1091
1092
|
...props
|
|
@@ -1165,6 +1166,36 @@ function SheetTitle({
|
|
|
1165
1166
|
// lib/mediaPlaceholders.ts
|
|
1166
1167
|
var logoPlaceholders = {
|
|
1167
1168
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1169
|
+
|
|
1170
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1171
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1172
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1173
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1174
|
+
return {
|
|
1175
|
+
// Section wrapper classes
|
|
1176
|
+
sectionClasses: cn(
|
|
1177
|
+
"inset-x-0 z-20",
|
|
1178
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1179
|
+
customClasses?.className
|
|
1180
|
+
),
|
|
1181
|
+
// Outer container wrapper (only for floating bar)
|
|
1182
|
+
containerWrapperClasses: cn(
|
|
1183
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1184
|
+
),
|
|
1185
|
+
// Inner container classes
|
|
1186
|
+
innerContainerClasses: cn(
|
|
1187
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1188
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1189
|
+
customClasses?.containerClassName
|
|
1190
|
+
),
|
|
1191
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1192
|
+
navWrapperClasses: cn(
|
|
1193
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1194
|
+
),
|
|
1195
|
+
// Spacing adjustment for Section component
|
|
1196
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1197
|
+
};
|
|
1198
|
+
}
|
|
1168
1199
|
var MOBILE_BREAKPOINT = 1024;
|
|
1169
1200
|
var NavbarMultiColumnGroups = ({
|
|
1170
1201
|
className,
|
|
@@ -1184,6 +1215,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
1184
1215
|
authActionsSlot,
|
|
1185
1216
|
mobileAuthActions,
|
|
1186
1217
|
mobileAuthActionsSlot,
|
|
1218
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1187
1219
|
background = "white",
|
|
1188
1220
|
spacing = "none",
|
|
1189
1221
|
pattern,
|
|
@@ -1278,19 +1310,23 @@ var NavbarMultiColumnGroups = ({
|
|
|
1278
1310
|
);
|
|
1279
1311
|
});
|
|
1280
1312
|
};
|
|
1313
|
+
const {
|
|
1314
|
+
sectionClasses,
|
|
1315
|
+
containerWrapperClasses,
|
|
1316
|
+
innerContainerClasses,
|
|
1317
|
+
navWrapperClasses,
|
|
1318
|
+
spacingOverride
|
|
1319
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1281
1320
|
return /* @__PURE__ */ jsxs(
|
|
1282
1321
|
Section,
|
|
1283
1322
|
{
|
|
1284
1323
|
background,
|
|
1285
|
-
spacing,
|
|
1286
|
-
className:
|
|
1287
|
-
"pointer-events-auto fixed top-0 z-999 flex h-16 w-full items-center justify-center",
|
|
1288
|
-
className
|
|
1289
|
-
),
|
|
1324
|
+
spacing: spacingOverride ?? spacing,
|
|
1325
|
+
className: sectionClasses,
|
|
1290
1326
|
pattern,
|
|
1291
1327
|
patternOpacity,
|
|
1292
1328
|
children: [
|
|
1293
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
1329
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxs(
|
|
1294
1330
|
"div",
|
|
1295
1331
|
{
|
|
1296
1332
|
className: cn(
|
|
@@ -1345,7 +1381,7 @@ var NavbarMultiColumnGroups = ({
|
|
|
1345
1381
|
) })
|
|
1346
1382
|
]
|
|
1347
1383
|
}
|
|
1348
|
-
) }),
|
|
1384
|
+
) }) }),
|
|
1349
1385
|
/* @__PURE__ */ jsx(
|
|
1350
1386
|
MobileNavigationMenu,
|
|
1351
1387
|
{
|
|
@@ -1008,7 +1008,7 @@ function NavigationMenuList({
|
|
|
1008
1008
|
{
|
|
1009
1009
|
"data-slot": "navigation-menu-list",
|
|
1010
1010
|
className: cn(
|
|
1011
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
1011
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
1012
1012
|
className
|
|
1013
1013
|
),
|
|
1014
1014
|
...props
|
|
@@ -1048,8 +1048,9 @@ function NavigationMenuTrigger({
|
|
|
1048
1048
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1049
1049
|
DynamicIcon,
|
|
1050
1050
|
{
|
|
1051
|
+
size: 18,
|
|
1051
1052
|
name: "lucide/chevron-down",
|
|
1052
|
-
className: "relative top-
|
|
1053
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1053
1054
|
"aria-hidden": "true"
|
|
1054
1055
|
}
|
|
1055
1056
|
)
|
|
@@ -1089,7 +1090,7 @@ function NavigationMenuViewport({
|
|
|
1089
1090
|
{
|
|
1090
1091
|
"data-slot": "navigation-menu-viewport",
|
|
1091
1092
|
className: cn(
|
|
1092
|
-
"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-
|
|
1093
|
+
"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)",
|
|
1093
1094
|
className
|
|
1094
1095
|
),
|
|
1095
1096
|
...props
|
|
@@ -1107,7 +1108,7 @@ function NavigationMenuLink({
|
|
|
1107
1108
|
{
|
|
1108
1109
|
"data-slot": "navigation-menu-link",
|
|
1109
1110
|
className: cn(
|
|
1110
|
-
"
|
|
1111
|
+
"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",
|
|
1111
1112
|
className
|
|
1112
1113
|
),
|
|
1113
1114
|
...props
|
|
@@ -1123,6 +1124,36 @@ var logoPlaceholders = {
|
|
|
1123
1124
|
function getLinkUrl(item) {
|
|
1124
1125
|
return item.href || item.url || "#";
|
|
1125
1126
|
}
|
|
1127
|
+
|
|
1128
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1129
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1130
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1131
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1132
|
+
return {
|
|
1133
|
+
// Section wrapper classes
|
|
1134
|
+
sectionClasses: cn(
|
|
1135
|
+
"inset-x-0 z-20",
|
|
1136
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1137
|
+
customClasses?.className
|
|
1138
|
+
),
|
|
1139
|
+
// Outer container wrapper (only for floating bar)
|
|
1140
|
+
containerWrapperClasses: cn(
|
|
1141
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1142
|
+
),
|
|
1143
|
+
// Inner container classes
|
|
1144
|
+
innerContainerClasses: cn(
|
|
1145
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1146
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1147
|
+
customClasses?.containerClassName
|
|
1148
|
+
),
|
|
1149
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1150
|
+
navWrapperClasses: cn(
|
|
1151
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1152
|
+
),
|
|
1153
|
+
// Spacing adjustment for Section component
|
|
1154
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1126
1157
|
var NavbarPlatformResources = ({
|
|
1127
1158
|
className,
|
|
1128
1159
|
containerClassName,
|
|
@@ -1138,6 +1169,7 @@ var NavbarPlatformResources = ({
|
|
|
1138
1169
|
logoSlot,
|
|
1139
1170
|
menuLinks,
|
|
1140
1171
|
actions,
|
|
1172
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1141
1173
|
background = "white",
|
|
1142
1174
|
spacing = "none",
|
|
1143
1175
|
pattern,
|
|
@@ -1429,173 +1461,171 @@ var NavbarPlatformResources = ({
|
|
|
1429
1461
|
] }) }, index);
|
|
1430
1462
|
});
|
|
1431
1463
|
};
|
|
1464
|
+
const {
|
|
1465
|
+
sectionClasses,
|
|
1466
|
+
containerWrapperClasses,
|
|
1467
|
+
innerContainerClasses,
|
|
1468
|
+
navWrapperClasses,
|
|
1469
|
+
spacingOverride
|
|
1470
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1432
1471
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1433
1472
|
Section,
|
|
1434
1473
|
{
|
|
1435
1474
|
background,
|
|
1436
|
-
spacing,
|
|
1437
|
-
className:
|
|
1475
|
+
spacing: spacingOverride ?? spacing,
|
|
1476
|
+
className: sectionClasses,
|
|
1438
1477
|
pattern,
|
|
1439
1478
|
patternOpacity,
|
|
1440
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1441
|
-
"div",
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
return null;
|
|
1469
|
-
}
|
|
1470
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1471
|
-
NavigationMenuItem,
|
|
1479
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(innerContainerClasses, navWrapperClasses), children: /* @__PURE__ */ jsxRuntime.jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
|
|
1480
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
|
|
1481
|
+
renderLogo(),
|
|
1482
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1483
|
+
NavigationMenuList,
|
|
1484
|
+
{
|
|
1485
|
+
className: cn("hidden lg:flex", navigationMenuListClassName),
|
|
1486
|
+
children: menuLinks?.map((link, index) => {
|
|
1487
|
+
if (hasDropdownItems(link)) {
|
|
1488
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1489
|
+
NavigationMenuItem,
|
|
1490
|
+
{
|
|
1491
|
+
children: [
|
|
1492
|
+
/* @__PURE__ */ jsxRuntime.jsx(NavigationMenuTrigger, { className: "h-auto bg-transparent px-0 py-0 font-normal text-foreground/60 hover:bg-transparent hover:text-foreground focus:bg-transparent focus:text-foreground data-[state=open]:bg-transparent data-[state=open]:text-foreground", children: link.label }),
|
|
1493
|
+
renderDropdownContent(link)
|
|
1494
|
+
]
|
|
1495
|
+
},
|
|
1496
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
1497
|
+
);
|
|
1498
|
+
}
|
|
1499
|
+
if (!link.href) {
|
|
1500
|
+
return null;
|
|
1501
|
+
}
|
|
1502
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1503
|
+
NavigationMenuItem,
|
|
1504
|
+
{
|
|
1505
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1506
|
+
NavigationMenuLink,
|
|
1472
1507
|
{
|
|
1473
|
-
|
|
1474
|
-
|
|
1508
|
+
href: link.href,
|
|
1509
|
+
className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
|
|
1510
|
+
children: link.label
|
|
1511
|
+
}
|
|
1512
|
+
)
|
|
1513
|
+
},
|
|
1514
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
1515
|
+
);
|
|
1516
|
+
})
|
|
1517
|
+
}
|
|
1518
|
+
),
|
|
1519
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1520
|
+
"div",
|
|
1521
|
+
{
|
|
1522
|
+
className: cn(
|
|
1523
|
+
"hidden items-center gap-4 lg:flex",
|
|
1524
|
+
actionsClassName
|
|
1525
|
+
),
|
|
1526
|
+
children: renderActions()
|
|
1527
|
+
}
|
|
1528
|
+
),
|
|
1529
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1530
|
+
Pressable,
|
|
1531
|
+
{
|
|
1532
|
+
variant: "outline",
|
|
1533
|
+
size: "icon",
|
|
1534
|
+
asButton: true,
|
|
1535
|
+
"aria-label": "Main Menu",
|
|
1536
|
+
onClick: () => setOpen(!open),
|
|
1537
|
+
children: [
|
|
1538
|
+
!open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
1539
|
+
open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
1540
|
+
]
|
|
1541
|
+
}
|
|
1542
|
+
) })
|
|
1543
|
+
] }),
|
|
1544
|
+
open && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1545
|
+
"div",
|
|
1546
|
+
{
|
|
1547
|
+
className: cn(
|
|
1548
|
+
"absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
1549
|
+
mobileMenuClassName
|
|
1550
|
+
),
|
|
1551
|
+
children: [
|
|
1552
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
|
|
1553
|
+
if (hasDropdownItems(link)) {
|
|
1554
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1555
|
+
AccordionItem,
|
|
1556
|
+
{
|
|
1557
|
+
value: `menu-${index}`,
|
|
1558
|
+
className: "border-b-2 border-dashed",
|
|
1559
|
+
children: [
|
|
1560
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
|
|
1561
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1562
|
+
Pressable,
|
|
1475
1563
|
{
|
|
1476
|
-
href:
|
|
1477
|
-
className: "group
|
|
1478
|
-
children:
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1564
|
+
href: getLinkUrl(item),
|
|
1565
|
+
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
1566
|
+
children: [
|
|
1567
|
+
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1568
|
+
img.Img,
|
|
1569
|
+
{
|
|
1570
|
+
src: item.image,
|
|
1571
|
+
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
1572
|
+
className: "h-full w-full object-cover object-center",
|
|
1573
|
+
optixFlowConfig
|
|
1574
|
+
}
|
|
1575
|
+
) }),
|
|
1576
|
+
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1577
|
+
DynamicIcon,
|
|
1578
|
+
{
|
|
1579
|
+
name: item.iconName,
|
|
1580
|
+
size: 16
|
|
1581
|
+
}
|
|
1582
|
+
) : null }),
|
|
1583
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
1584
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
1585
|
+
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
1586
|
+
] })
|
|
1587
|
+
]
|
|
1588
|
+
},
|
|
1589
|
+
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
1590
|
+
)) }) })
|
|
1591
|
+
]
|
|
1592
|
+
},
|
|
1593
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
1594
|
+
);
|
|
1485
1595
|
}
|
|
1486
|
-
|
|
1596
|
+
if (!link.href) {
|
|
1597
|
+
return null;
|
|
1598
|
+
}
|
|
1599
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1600
|
+
"div",
|
|
1601
|
+
{
|
|
1602
|
+
className: "border-b-2 border-dashed",
|
|
1603
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1604
|
+
Pressable,
|
|
1605
|
+
{
|
|
1606
|
+
href: link.href,
|
|
1607
|
+
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
1608
|
+
children: link.label
|
|
1609
|
+
}
|
|
1610
|
+
)
|
|
1611
|
+
},
|
|
1612
|
+
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
1613
|
+
);
|
|
1614
|
+
}) }),
|
|
1487
1615
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1488
1616
|
"div",
|
|
1489
1617
|
{
|
|
1490
1618
|
className: cn(
|
|
1491
|
-
"
|
|
1619
|
+
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
1492
1620
|
actionsClassName
|
|
1493
1621
|
),
|
|
1494
1622
|
children: renderActions()
|
|
1495
1623
|
}
|
|
1496
|
-
)
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
size: "icon",
|
|
1502
|
-
asButton: true,
|
|
1503
|
-
"aria-label": "Main Menu",
|
|
1504
|
-
onClick: () => setOpen(!open),
|
|
1505
|
-
children: [
|
|
1506
|
-
!open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
|
|
1507
|
-
open && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 16 })
|
|
1508
|
-
]
|
|
1509
|
-
}
|
|
1510
|
-
) })
|
|
1511
|
-
] }),
|
|
1512
|
-
open && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1513
|
-
"div",
|
|
1514
|
-
{
|
|
1515
|
-
className: cn(
|
|
1516
|
-
"absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
|
|
1517
|
-
mobileMenuClassName
|
|
1518
|
-
),
|
|
1519
|
-
children: [
|
|
1520
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
|
|
1521
|
-
if (hasDropdownItems(link)) {
|
|
1522
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1523
|
-
AccordionItem,
|
|
1524
|
-
{
|
|
1525
|
-
value: `menu-${index}`,
|
|
1526
|
-
className: "border-b-2 border-dashed",
|
|
1527
|
-
children: [
|
|
1528
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.label }),
|
|
1529
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: link.links?.map((item, itemIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1530
|
-
Pressable,
|
|
1531
|
-
{
|
|
1532
|
-
href: getLinkUrl(item),
|
|
1533
|
-
className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
|
|
1534
|
-
children: [
|
|
1535
|
-
item.image && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1536
|
-
img.Img,
|
|
1537
|
-
{
|
|
1538
|
-
src: item.image,
|
|
1539
|
-
alt: typeof item.label === "string" ? item.label : "Menu item",
|
|
1540
|
-
className: "h-full w-full object-cover object-center",
|
|
1541
|
-
optixFlowConfig
|
|
1542
|
-
}
|
|
1543
|
-
) }),
|
|
1544
|
-
!item.image && (item.icon || item.iconName) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: item.icon ? item.icon : item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1545
|
-
DynamicIcon,
|
|
1546
|
-
{
|
|
1547
|
-
name: item.iconName,
|
|
1548
|
-
size: 16
|
|
1549
|
-
}
|
|
1550
|
-
) : null }),
|
|
1551
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1", children: [
|
|
1552
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm font-medium text-foreground", children: item.label }),
|
|
1553
|
-
item.description && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
|
|
1554
|
-
] })
|
|
1555
|
-
]
|
|
1556
|
-
},
|
|
1557
|
-
`${typeof item.label === "string" ? item.label : "item"}-${itemIndex}`
|
|
1558
|
-
)) }) })
|
|
1559
|
-
]
|
|
1560
|
-
},
|
|
1561
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
1562
|
-
);
|
|
1563
|
-
}
|
|
1564
|
-
if (!link.href) {
|
|
1565
|
-
return null;
|
|
1566
|
-
}
|
|
1567
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1568
|
-
"div",
|
|
1569
|
-
{
|
|
1570
|
-
className: "border-b-2 border-dashed",
|
|
1571
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1572
|
-
Pressable,
|
|
1573
|
-
{
|
|
1574
|
-
href: link.href,
|
|
1575
|
-
className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
|
|
1576
|
-
children: link.label
|
|
1577
|
-
}
|
|
1578
|
-
)
|
|
1579
|
-
},
|
|
1580
|
-
`${typeof link.label === "string" ? link.label : "menu"}-${index}`
|
|
1581
|
-
);
|
|
1582
|
-
}) }),
|
|
1583
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1584
|
-
"div",
|
|
1585
|
-
{
|
|
1586
|
-
className: cn(
|
|
1587
|
-
"mx-8 mt-auto flex flex-col gap-4 py-12",
|
|
1588
|
-
actionsClassName
|
|
1589
|
-
),
|
|
1590
|
-
children: renderActions()
|
|
1591
|
-
}
|
|
1592
|
-
)
|
|
1593
|
-
]
|
|
1594
|
-
}
|
|
1595
|
-
)
|
|
1596
|
-
] })
|
|
1597
|
-
}
|
|
1598
|
-
)
|
|
1624
|
+
)
|
|
1625
|
+
]
|
|
1626
|
+
}
|
|
1627
|
+
)
|
|
1628
|
+
] }) }) })
|
|
1599
1629
|
}
|
|
1600
1630
|
);
|
|
1601
1631
|
};
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { P as PatternName } from './pattern-background-a7gKHzHy.cjs';
|
|
4
4
|
import { SectionBackground, SectionSpacing } from './types.cjs';
|
|
5
|
-
import { L as LogoConfig, b as ILinkItem, a as IMenuLinkGroup } from './types-
|
|
5
|
+
import { L as LogoConfig, b as ILinkItem, a as IMenuLinkGroup, N as NavbarLayoutVariant } from './types-COVDidbn.cjs';
|
|
6
6
|
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
7
7
|
import 'class-variance-authority';
|
|
8
8
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -131,6 +131,10 @@ interface NavbarPlatformResourcesProps {
|
|
|
131
131
|
* OptixFlow image optimization configuration
|
|
132
132
|
*/
|
|
133
133
|
optixFlowConfig?: OptixFlowConfig;
|
|
134
|
+
/**
|
|
135
|
+
* Layout variant for the navbar
|
|
136
|
+
*/
|
|
137
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
134
138
|
}
|
|
135
139
|
/**
|
|
136
140
|
* NavbarPlatformResources - A navigation bar with flexible dropdown menus and action buttons.
|
|
@@ -139,6 +143,6 @@ interface NavbarPlatformResourcesProps {
|
|
|
139
143
|
* display icons or images. Mobile view uses a full-screen overlay with accordion navigation.
|
|
140
144
|
* Ideal for platforms that need configurable navigation and supporting resources.
|
|
141
145
|
*/
|
|
142
|
-
declare const NavbarPlatformResources: ({ className, containerClassName, navigationMenuClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarPlatformResourcesProps) => react_jsx_runtime.JSX.Element;
|
|
146
|
+
declare const NavbarPlatformResources: ({ className, containerClassName, navigationMenuClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarPlatformResourcesProps) => react_jsx_runtime.JSX.Element;
|
|
143
147
|
|
|
144
148
|
export { type DropdownLayout, ILinkItem, type IMenuLink, IMenuLinkGroup, LogoConfig, NavbarPlatformResources, type NavbarPlatformResourcesProps };
|
|
@@ -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, b as ILinkItem, a as IMenuLinkGroup } from './types-
|
|
5
|
+
import { L as LogoConfig, b as ILinkItem, a as IMenuLinkGroup, N as NavbarLayoutVariant } from './types-COVDidbn.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';
|
|
@@ -131,6 +131,10 @@ interface NavbarPlatformResourcesProps {
|
|
|
131
131
|
* OptixFlow image optimization configuration
|
|
132
132
|
*/
|
|
133
133
|
optixFlowConfig?: OptixFlowConfig;
|
|
134
|
+
/**
|
|
135
|
+
* Layout variant for the navbar
|
|
136
|
+
*/
|
|
137
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
134
138
|
}
|
|
135
139
|
/**
|
|
136
140
|
* NavbarPlatformResources - A navigation bar with flexible dropdown menus and action buttons.
|
|
@@ -139,6 +143,6 @@ interface NavbarPlatformResourcesProps {
|
|
|
139
143
|
* display icons or images. Mobile view uses a full-screen overlay with accordion navigation.
|
|
140
144
|
* Ideal for platforms that need configurable navigation and supporting resources.
|
|
141
145
|
*/
|
|
142
|
-
declare const NavbarPlatformResources: ({ className, containerClassName, navigationMenuClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarPlatformResourcesProps) => react_jsx_runtime.JSX.Element;
|
|
146
|
+
declare const NavbarPlatformResources: ({ className, containerClassName, navigationMenuClassName, navigationMenuListClassName, actionsClassName, logoClassName, mobileMenuClassName, logo, logoSlot, menuLinks, actions, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarPlatformResourcesProps) => react_jsx_runtime.JSX.Element;
|
|
143
147
|
|
|
144
148
|
export { type DropdownLayout, ILinkItem, type IMenuLink, IMenuLinkGroup, LogoConfig, NavbarPlatformResources, type NavbarPlatformResourcesProps };
|