@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
|
@@ -963,7 +963,7 @@ function NavigationMenuList({
|
|
|
963
963
|
{
|
|
964
964
|
"data-slot": "navigation-menu-list",
|
|
965
965
|
className: cn(
|
|
966
|
-
"group flex flex-1 list-none items-center justify-center gap-6",
|
|
966
|
+
"group flex flex-1 list-none items-center justify-center gap-2 lg:gap-4 xl:gap-6",
|
|
967
967
|
className
|
|
968
968
|
),
|
|
969
969
|
...props
|
|
@@ -1003,8 +1003,9 @@ function NavigationMenuTrigger({
|
|
|
1003
1003
|
/* @__PURE__ */ jsx(
|
|
1004
1004
|
DynamicIcon,
|
|
1005
1005
|
{
|
|
1006
|
+
size: 18,
|
|
1006
1007
|
name: "lucide/chevron-down",
|
|
1007
|
-
className: "relative top-
|
|
1008
|
+
className: "relative top-px opacity-50 transition duration-300 group-data-[state=open]:rotate-180",
|
|
1008
1009
|
"aria-hidden": "true"
|
|
1009
1010
|
}
|
|
1010
1011
|
)
|
|
@@ -1038,7 +1039,7 @@ function NavigationMenuLink({
|
|
|
1038
1039
|
{
|
|
1039
1040
|
"data-slot": "navigation-menu-link",
|
|
1040
1041
|
className: cn(
|
|
1041
|
-
"
|
|
1042
|
+
"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",
|
|
1042
1043
|
className
|
|
1043
1044
|
),
|
|
1044
1045
|
...props
|
|
@@ -1133,6 +1134,36 @@ function SheetTitle({
|
|
|
1133
1134
|
// lib/mediaPlaceholders.ts
|
|
1134
1135
|
var logoPlaceholders = {
|
|
1135
1136
|
logoMark: "https://cdn.ing/assets/i/r/285975/eud79qeya11q5w6ueyhklueardyx/monochrome-rounded-square-app-icon-circular-emblem.png"};
|
|
1137
|
+
|
|
1138
|
+
// components/blocks/navbars/layout-variant-utils.ts
|
|
1139
|
+
function getNavbarLayoutClasses(layoutVariant = "fullScreenContainerizedLinks", customClasses) {
|
|
1140
|
+
const isFloatingBar = layoutVariant === "floatingBar";
|
|
1141
|
+
const isFullWidthLinks = layoutVariant === "fullScreenFullWidthLinks";
|
|
1142
|
+
return {
|
|
1143
|
+
// Section wrapper classes
|
|
1144
|
+
sectionClasses: cn(
|
|
1145
|
+
"inset-x-0 z-20",
|
|
1146
|
+
isFloatingBar ? "sticky top-4" : "top-0",
|
|
1147
|
+
customClasses?.className
|
|
1148
|
+
),
|
|
1149
|
+
// Outer container wrapper (only for floating bar)
|
|
1150
|
+
containerWrapperClasses: cn(
|
|
1151
|
+
isFloatingBar && "mx-auto w-full px-2 sm:px-4 lg:px-8 max-w-7xl relative z-10"
|
|
1152
|
+
),
|
|
1153
|
+
// Inner container classes
|
|
1154
|
+
innerContainerClasses: cn(
|
|
1155
|
+
!isFloatingBar && !isFullWidthLinks && "container",
|
|
1156
|
+
isFullWidthLinks && "mx-auto w-full px-2 sm:px-4 lg:px-8",
|
|
1157
|
+
customClasses?.containerClassName
|
|
1158
|
+
),
|
|
1159
|
+
// Navigation wrapper classes (for border and shadow)
|
|
1160
|
+
navWrapperClasses: cn(
|
|
1161
|
+
isFloatingBar ? "border border-border/50 shadow-sm rounded-full" : "border-b border-border/50 shadow-sm"
|
|
1162
|
+
),
|
|
1163
|
+
// Spacing adjustment for Section component
|
|
1164
|
+
spacingOverride: isFloatingBar ? "none" : void 0
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1136
1167
|
var NavigationMenuWithoutViewport = ({
|
|
1137
1168
|
className,
|
|
1138
1169
|
children,
|
|
@@ -1217,6 +1248,7 @@ var NavbarCenteredMenu = ({
|
|
|
1217
1248
|
mobileNavClassName,
|
|
1218
1249
|
navigationMenuClassName,
|
|
1219
1250
|
actionsClassName,
|
|
1251
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1220
1252
|
background = "white",
|
|
1221
1253
|
spacing = "sm",
|
|
1222
1254
|
pattern,
|
|
@@ -1284,73 +1316,71 @@ var NavbarCenteredMenu = ({
|
|
|
1284
1316
|
if (!menu || menu.length === 0) return null;
|
|
1285
1317
|
return menu.map((item) => renderMobileMenuItem(item));
|
|
1286
1318
|
};
|
|
1319
|
+
const {
|
|
1320
|
+
sectionClasses,
|
|
1321
|
+
containerWrapperClasses,
|
|
1322
|
+
innerContainerClasses,
|
|
1323
|
+
navWrapperClasses,
|
|
1324
|
+
spacingOverride
|
|
1325
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1287
1326
|
return /* @__PURE__ */ jsx(
|
|
1288
1327
|
Section,
|
|
1289
1328
|
{
|
|
1290
1329
|
background,
|
|
1291
|
-
spacing,
|
|
1292
|
-
className:
|
|
1330
|
+
spacing: spacingOverride ?? spacing,
|
|
1331
|
+
className: sectionClasses,
|
|
1293
1332
|
pattern,
|
|
1294
1333
|
patternOpacity,
|
|
1295
|
-
children: /* @__PURE__ */ jsxs(
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
"
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1334
|
+
children: /* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxs("div", { className: cn(innerContainerClasses, navWrapperClasses), children: [
|
|
1335
|
+
/* @__PURE__ */ jsxs(
|
|
1336
|
+
"nav",
|
|
1337
|
+
{
|
|
1338
|
+
className: cn("hidden justify-between lg:flex", desktopNavClassName),
|
|
1339
|
+
children: [
|
|
1340
|
+
renderLogo(),
|
|
1341
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-6", children: /* @__PURE__ */ jsx("div", { className: "flex items-center", children: /* @__PURE__ */ jsx(
|
|
1342
|
+
NavigationMenuWithoutViewport,
|
|
1343
|
+
{
|
|
1344
|
+
className: navigationMenuClassName,
|
|
1345
|
+
children: /* @__PURE__ */ jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
|
|
1346
|
+
}
|
|
1347
|
+
) }) }),
|
|
1348
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
1349
|
+
]
|
|
1350
|
+
}
|
|
1351
|
+
),
|
|
1352
|
+
/* @__PURE__ */ jsx("div", { className: cn("block lg:hidden", mobileNavClassName), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1353
|
+
renderLogo(),
|
|
1354
|
+
/* @__PURE__ */ jsxs(Sheet, { children: [
|
|
1355
|
+
/* @__PURE__ */ jsx(SheetTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
1356
|
+
Pressable,
|
|
1305
1357
|
{
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
className: navigationMenuClassName,
|
|
1313
|
-
children: /* @__PURE__ */ jsx(NavigationMenuList, { className: "relative", children: renderMenu() })
|
|
1314
|
-
}
|
|
1315
|
-
) }) }),
|
|
1316
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex gap-2", actionsClassName), children: renderAuthActions() })
|
|
1317
|
-
]
|
|
1358
|
+
variant: "outline",
|
|
1359
|
+
size: "icon",
|
|
1360
|
+
asButton: true,
|
|
1361
|
+
onClick: () => {
|
|
1362
|
+
},
|
|
1363
|
+
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
1318
1364
|
}
|
|
1319
|
-
),
|
|
1320
|
-
/* @__PURE__ */
|
|
1321
|
-
renderLogo(),
|
|
1322
|
-
/* @__PURE__ */ jsxs(
|
|
1323
|
-
/* @__PURE__ */ jsx(
|
|
1324
|
-
|
|
1365
|
+
) }),
|
|
1366
|
+
/* @__PURE__ */ jsxs(SheetContent, { className: "overflow-y-auto", children: [
|
|
1367
|
+
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
1368
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
1369
|
+
/* @__PURE__ */ jsx(
|
|
1370
|
+
Accordion,
|
|
1325
1371
|
{
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
},
|
|
1331
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 })
|
|
1372
|
+
type: "single",
|
|
1373
|
+
collapsible: true,
|
|
1374
|
+
className: "flex w-full flex-col gap-4",
|
|
1375
|
+
children: renderMobileMenu()
|
|
1332
1376
|
}
|
|
1333
|
-
)
|
|
1334
|
-
/* @__PURE__ */
|
|
1335
|
-
/* @__PURE__ */ jsx(SheetHeader, { children: /* @__PURE__ */ jsx(SheetTitle, { children: renderLogo() }) }),
|
|
1336
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-6 p-4", children: [
|
|
1337
|
-
/* @__PURE__ */ jsx(
|
|
1338
|
-
Accordion,
|
|
1339
|
-
{
|
|
1340
|
-
type: "single",
|
|
1341
|
-
collapsible: true,
|
|
1342
|
-
className: "flex w-full flex-col gap-4",
|
|
1343
|
-
children: renderMobileMenu()
|
|
1344
|
-
}
|
|
1345
|
-
),
|
|
1346
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
1347
|
-
] })
|
|
1348
|
-
] })
|
|
1377
|
+
),
|
|
1378
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-3", actionsClassName), children: renderAuthActions() })
|
|
1349
1379
|
] })
|
|
1350
|
-
] })
|
|
1351
|
-
]
|
|
1352
|
-
}
|
|
1353
|
-
)
|
|
1380
|
+
] })
|
|
1381
|
+
] })
|
|
1382
|
+
] }) })
|
|
1383
|
+
] }) })
|
|
1354
1384
|
}
|
|
1355
1385
|
);
|
|
1356
1386
|
};
|
|
@@ -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 NavbarDarkIcons = ({
|
|
1194
1225
|
className,
|
|
@@ -1208,6 +1239,7 @@ var NavbarDarkIcons = ({
|
|
|
1208
1239
|
authActionsSlot,
|
|
1209
1240
|
githubUrl = "https://github.com/opensite-ai/opensite-ui",
|
|
1210
1241
|
githubSlot,
|
|
1242
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1211
1243
|
background = "white",
|
|
1212
1244
|
spacing = "none",
|
|
1213
1245
|
pattern,
|
|
@@ -1307,20 +1339,28 @@ var NavbarDarkIcons = ({
|
|
|
1307
1339
|
if (!githubUrl) return null;
|
|
1308
1340
|
return /* @__PURE__ */ jsxRuntime.jsx(GithubStars, { repoUrl: githubUrl });
|
|
1309
1341
|
};
|
|
1342
|
+
const {
|
|
1343
|
+
sectionClasses,
|
|
1344
|
+
containerWrapperClasses,
|
|
1345
|
+
innerContainerClasses,
|
|
1346
|
+
navWrapperClasses,
|
|
1347
|
+
spacingOverride
|
|
1348
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1310
1349
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1311
1350
|
Section,
|
|
1312
1351
|
{
|
|
1313
1352
|
background,
|
|
1314
|
-
spacing,
|
|
1315
|
-
className: cn("dark pointer-events-auto relative z-999",
|
|
1353
|
+
spacing: spacingOverride ?? spacing,
|
|
1354
|
+
className: cn("dark pointer-events-auto relative z-999", sectionClasses),
|
|
1316
1355
|
pattern,
|
|
1317
1356
|
patternOpacity,
|
|
1318
1357
|
children: [
|
|
1319
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
1320
|
-
"
|
|
1358
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1359
|
+
"nav",
|
|
1321
1360
|
{
|
|
1322
1361
|
className: cn(
|
|
1323
|
-
"flex h-
|
|
1362
|
+
"flex h-16 items-center justify-between",
|
|
1363
|
+
navWrapperClasses,
|
|
1324
1364
|
navClassName
|
|
1325
1365
|
),
|
|
1326
1366
|
children: [
|
|
@@ -1363,7 +1403,7 @@ var NavbarDarkIcons = ({
|
|
|
1363
1403
|
] })
|
|
1364
1404
|
]
|
|
1365
1405
|
}
|
|
1366
|
-
) }),
|
|
1406
|
+
) }) }),
|
|
1367
1407
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1368
1408
|
MobileNavigationMenu,
|
|
1369
1409
|
{
|
|
@@ -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';
|
|
@@ -97,6 +97,10 @@ interface NavbarDarkIconsProps {
|
|
|
97
97
|
* Pattern overlay opacity (0-1)
|
|
98
98
|
*/
|
|
99
99
|
patternOpacity?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Layout variant for the navbar
|
|
102
|
+
*/
|
|
103
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
100
104
|
/**
|
|
101
105
|
* OptixFlow image optimization configuration
|
|
102
106
|
*/
|
|
@@ -110,6 +114,6 @@ interface NavbarDarkIconsProps {
|
|
|
110
114
|
* view uses a full-screen dark sheet with accordion navigation. Ideal for developer
|
|
111
115
|
* tools, open-source projects, and tech-focused applications.
|
|
112
116
|
*/
|
|
113
|
-
declare const NavbarDarkIcons: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, githubUrl, githubSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarDarkIconsProps) => react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare const NavbarDarkIcons: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, githubUrl, githubSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarDarkIconsProps) => react_jsx_runtime.JSX.Element;
|
|
114
118
|
|
|
115
119
|
export { NavbarDarkIcons, type NavbarDarkIconsProps };
|
|
@@ -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';
|
|
@@ -97,6 +97,10 @@ interface NavbarDarkIconsProps {
|
|
|
97
97
|
* Pattern overlay opacity (0-1)
|
|
98
98
|
*/
|
|
99
99
|
patternOpacity?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Layout variant for the navbar
|
|
102
|
+
*/
|
|
103
|
+
layoutVariant?: NavbarLayoutVariant;
|
|
100
104
|
/**
|
|
101
105
|
* OptixFlow image optimization configuration
|
|
102
106
|
*/
|
|
@@ -110,6 +114,6 @@ interface NavbarDarkIconsProps {
|
|
|
110
114
|
* view uses a full-screen dark sheet with accordion navigation. Ideal for developer
|
|
111
115
|
* tools, open-source projects, and tech-focused applications.
|
|
112
116
|
*/
|
|
113
|
-
declare const NavbarDarkIcons: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, githubUrl, githubSlot, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarDarkIconsProps) => react_jsx_runtime.JSX.Element;
|
|
117
|
+
declare const NavbarDarkIcons: ({ className, containerClassName, navClassName, navigationMenuClassName, actionsClassName, logo, logoSlot, logoClassName, navigation, navigationSlot, authActions, authActionsSlot, githubUrl, githubSlot, layoutVariant, background, spacing, pattern, patternOpacity, optixFlowConfig, }: NavbarDarkIconsProps) => react_jsx_runtime.JSX.Element;
|
|
114
118
|
|
|
115
119
|
export { NavbarDarkIcons, type NavbarDarkIconsProps };
|
|
@@ -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 NavbarDarkIcons = ({
|
|
1170
1201
|
className,
|
|
@@ -1184,6 +1215,7 @@ var NavbarDarkIcons = ({
|
|
|
1184
1215
|
authActionsSlot,
|
|
1185
1216
|
githubUrl = "https://github.com/opensite-ai/opensite-ui",
|
|
1186
1217
|
githubSlot,
|
|
1218
|
+
layoutVariant = "fullScreenContainerizedLinks",
|
|
1187
1219
|
background = "white",
|
|
1188
1220
|
spacing = "none",
|
|
1189
1221
|
pattern,
|
|
@@ -1283,20 +1315,28 @@ var NavbarDarkIcons = ({
|
|
|
1283
1315
|
if (!githubUrl) return null;
|
|
1284
1316
|
return /* @__PURE__ */ jsx(GithubStars, { repoUrl: githubUrl });
|
|
1285
1317
|
};
|
|
1318
|
+
const {
|
|
1319
|
+
sectionClasses,
|
|
1320
|
+
containerWrapperClasses,
|
|
1321
|
+
innerContainerClasses,
|
|
1322
|
+
navWrapperClasses,
|
|
1323
|
+
spacingOverride
|
|
1324
|
+
} = getNavbarLayoutClasses(layoutVariant, { className, containerClassName });
|
|
1286
1325
|
return /* @__PURE__ */ jsxs(
|
|
1287
1326
|
Section,
|
|
1288
1327
|
{
|
|
1289
1328
|
background,
|
|
1290
|
-
spacing,
|
|
1291
|
-
className: cn("dark pointer-events-auto relative z-999",
|
|
1329
|
+
spacing: spacingOverride ?? spacing,
|
|
1330
|
+
className: cn("dark pointer-events-auto relative z-999", sectionClasses),
|
|
1292
1331
|
pattern,
|
|
1293
1332
|
patternOpacity,
|
|
1294
1333
|
children: [
|
|
1295
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
1296
|
-
"
|
|
1334
|
+
/* @__PURE__ */ jsx("div", { className: containerWrapperClasses, children: /* @__PURE__ */ jsx("div", { className: innerContainerClasses, children: /* @__PURE__ */ jsxs(
|
|
1335
|
+
"nav",
|
|
1297
1336
|
{
|
|
1298
1337
|
className: cn(
|
|
1299
|
-
"flex h-
|
|
1338
|
+
"flex h-16 items-center justify-between",
|
|
1339
|
+
navWrapperClasses,
|
|
1300
1340
|
navClassName
|
|
1301
1341
|
),
|
|
1302
1342
|
children: [
|
|
@@ -1339,7 +1379,7 @@ var NavbarDarkIcons = ({
|
|
|
1339
1379
|
] })
|
|
1340
1380
|
]
|
|
1341
1381
|
}
|
|
1342
|
-
) }),
|
|
1382
|
+
) }) }),
|
|
1343
1383
|
/* @__PURE__ */ jsx(
|
|
1344
1384
|
MobileNavigationMenu,
|
|
1345
1385
|
{
|