@opensite/ui 0.3.2 → 0.3.4
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/README.md +16 -0
- package/dist/about-network-spotlight.cjs +1 -0
- package/dist/about-network-spotlight.js +1 -0
- package/dist/about-story-expertise.cjs +1 -0
- package/dist/about-story-expertise.js +1 -0
- package/dist/alternating-blocks.cjs +1 -0
- package/dist/alternating-blocks.js +1 -0
- package/dist/auto-scroll-carousel.cjs +1 -0
- package/dist/auto-scroll-carousel.js +1 -0
- package/dist/blur-vignette-grid.cjs +1 -0
- package/dist/blur-vignette-grid.js +1 -0
- package/dist/carousel-badge-cards.cjs +1 -0
- package/dist/carousel-badge-cards.js +1 -0
- package/dist/carousel-demo-link.cjs +1 -0
- package/dist/carousel-demo-link.js +1 -0
- package/dist/carousel-gradient-overlay.cjs +1 -0
- package/dist/carousel-gradient-overlay.js +1 -0
- package/dist/carousel-gradient-text.cjs +1 -0
- package/dist/carousel-gradient-text.js +1 -0
- package/dist/carousel-icon-sidebar.cjs +1 -0
- package/dist/carousel-icon-sidebar.js +1 -0
- package/dist/carousel-icon-tabs.cjs +1 -0
- package/dist/carousel-icon-tabs.js +1 -0
- package/dist/carousel-scale-focus.cjs +1 -0
- package/dist/carousel-scale-focus.js +1 -0
- package/dist/carousel-sidebar-resources.cjs +1 -0
- package/dist/carousel-sidebar-resources.js +1 -0
- package/dist/carousel-tabs-content.cjs +1 -0
- package/dist/carousel-tabs-content.js +1 -0
- package/dist/components.cjs +1 -0
- package/dist/components.js +1 -0
- package/dist/contact-help-center.cjs +1 -0
- package/dist/contact-help-center.js +1 -0
- package/dist/cta-accent-background.cjs +1 -0
- package/dist/cta-accent-background.js +1 -0
- package/dist/cta-app-download-newsletter.cjs +1 -0
- package/dist/cta-app-download-newsletter.js +1 -0
- package/dist/cta-background-icon-badge.cjs +1 -0
- package/dist/cta-background-icon-badge.js +1 -0
- package/dist/cta-case-study-testimonial.cjs +1 -0
- package/dist/cta-case-study-testimonial.js +1 -0
- package/dist/cta-documentation-links.cjs +1 -0
- package/dist/cta-documentation-links.js +1 -0
- package/dist/cta-enterprise-dark-features.cjs +1 -0
- package/dist/cta-enterprise-dark-features.js +1 -0
- package/dist/cta-enterprise-split.cjs +1 -0
- package/dist/cta-enterprise-split.js +1 -0
- package/dist/cta-feature-cards-grid.cjs +1 -0
- package/dist/cta-feature-cards-grid.js +1 -0
- package/dist/cta-feature-checklist.cjs +1 -0
- package/dist/cta-feature-checklist.js +1 -0
- package/dist/cta-feature-list.cjs +1 -0
- package/dist/cta-feature-list.js +1 -0
- package/dist/cta-fullwidth-background.cjs +1 -0
- package/dist/cta-fullwidth-background.js +1 -0
- package/dist/cta-gradient-logos-floating.cjs +1 -0
- package/dist/cta-gradient-logos-floating.js +1 -0
- package/dist/cta-gradient-stats-hero.cjs +1 -0
- package/dist/cta-gradient-stats-hero.js +1 -0
- package/dist/cta-hero-feature-cards.cjs +1 -0
- package/dist/cta-hero-feature-cards.js +1 -0
- package/dist/cta-image-overlay-arrow.cjs +1 -0
- package/dist/cta-image-overlay-arrow.js +1 -0
- package/dist/cta-image-overlay-centered.cjs +1 -0
- package/dist/cta-image-overlay-centered.js +1 -0
- package/dist/cta-minimal-separator.cjs +1 -0
- package/dist/cta-minimal-separator.js +1 -0
- package/dist/cta-newsletter-features.cjs +1 -0
- package/dist/cta-newsletter-features.js +1 -0
- package/dist/cta-pattern-background.cjs +1 -0
- package/dist/cta-pattern-background.js +1 -0
- package/dist/cta-platform-demo.cjs +1 -0
- package/dist/cta-platform-demo.js +1 -0
- package/dist/cta-simple-centered.cjs +1 -0
- package/dist/cta-simple-centered.js +1 -0
- package/dist/cta-split-gradient-image.cjs +1 -0
- package/dist/cta-split-gradient-image.js +1 -0
- package/dist/cta-split-image-logos.cjs +1 -0
- package/dist/cta-split-image-logos.js +1 -0
- package/dist/cta-split-image.cjs +1 -0
- package/dist/cta-split-image.js +1 -0
- package/dist/cta-stacked-cards.cjs +1 -0
- package/dist/cta-stacked-cards.js +1 -0
- package/dist/cta-video-background-hero.cjs +1 -0
- package/dist/cta-video-background-hero.js +1 -0
- package/dist/cta-workflow-tabs.cjs +1 -0
- package/dist/cta-workflow-tabs.js +1 -0
- package/dist/expandable-case-study-cards.cjs +1 -0
- package/dist/expandable-case-study-cards.js +1 -0
- package/dist/faq-badge-support.cjs +1 -0
- package/dist/faq-badge-support.js +1 -0
- package/dist/faq-bordered-badge.cjs +1 -0
- package/dist/faq-bordered-badge.js +1 -0
- package/dist/faq-card-categories.cjs +1 -0
- package/dist/faq-card-categories.js +1 -0
- package/dist/faq-categorized-sections.cjs +1 -0
- package/dist/faq-categorized-sections.js +1 -0
- package/dist/faq-centered-accordion.cjs +1 -0
- package/dist/faq-centered-accordion.js +1 -0
- package/dist/faq-gradient-categories.cjs +1 -0
- package/dist/faq-gradient-categories.js +1 -0
- package/dist/faq-icon-benefits.cjs +1 -0
- package/dist/faq-icon-benefits.js +1 -0
- package/dist/faq-muted-cards.cjs +1 -0
- package/dist/faq-muted-cards.js +1 -0
- package/dist/faq-numbered-grid.cjs +1 -0
- package/dist/faq-numbered-grid.js +1 -0
- package/dist/faq-numbered-list.cjs +1 -0
- package/dist/faq-numbered-list.js +1 -0
- package/dist/faq-profile-sidebar.cjs +1 -0
- package/dist/faq-profile-sidebar.js +1 -0
- package/dist/faq-rounded-cards.cjs +1 -0
- package/dist/faq-rounded-cards.js +1 -0
- package/dist/faq-sidebar-navigation.cjs +1 -0
- package/dist/faq-sidebar-navigation.js +1 -0
- package/dist/faq-simple-accordion.cjs +1 -0
- package/dist/faq-simple-accordion.js +1 -0
- package/dist/faq-split-help.cjs +1 -0
- package/dist/faq-split-help.js +1 -0
- package/dist/faq-static-list.cjs +1 -0
- package/dist/faq-static-list.js +1 -0
- package/dist/footer-animated-social.cjs +1 -0
- package/dist/footer-animated-social.js +1 -0
- package/dist/footer-background-card.cjs +1 -0
- package/dist/footer-background-card.js +1 -0
- package/dist/footer-brand-description.cjs +1 -0
- package/dist/footer-brand-description.js +1 -0
- package/dist/footer-brand-links-contact.cjs +1 -0
- package/dist/footer-brand-links-contact.js +1 -0
- package/dist/footer-contact-card.cjs +1 -0
- package/dist/footer-contact-card.js +1 -0
- package/dist/footer-cta-banner.cjs +1 -0
- package/dist/footer-cta-banner.js +1 -0
- package/dist/footer-cta-social.cjs +1 -0
- package/dist/footer-cta-social.js +1 -0
- package/dist/footer-nav-social.cjs +1 -0
- package/dist/footer-nav-social.js +1 -0
- package/dist/footer-newsletter-minimal.cjs +1 -0
- package/dist/footer-newsletter-minimal.js +1 -0
- package/dist/footer-simple-centered.cjs +1 -0
- package/dist/footer-simple-centered.js +1 -0
- package/dist/footer-social-newsletter.cjs +1 -0
- package/dist/footer-social-newsletter.js +1 -0
- package/dist/hero-image-slider.cjs +1 -0
- package/dist/hero-image-slider.js +1 -0
- package/dist/hero-split-icon-cards.cjs +1 -0
- package/dist/hero-split-icon-cards.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/dist/industries-badge-list-bordered.cjs +1 -0
- package/dist/industries-badge-list-bordered.js +1 -0
- package/dist/industries-expandable-showcase.cjs +1 -0
- package/dist/industries-expandable-showcase.js +1 -0
- package/dist/industries-hover-reveal-grid.cjs +1 -0
- package/dist/industries-hover-reveal-grid.js +1 -0
- package/dist/industries-timeline-table.cjs +1 -0
- package/dist/industries-timeline-table.js +1 -0
- package/dist/interior-carousel.cjs +42 -5
- package/dist/interior-carousel.js +43 -6
- package/dist/link-page-bento-layout.cjs +1 -0
- package/dist/link-page-bento-layout.js +1 -0
- package/dist/link-page-grid-cards.cjs +1 -0
- package/dist/link-page-grid-cards.js +1 -0
- package/dist/link-page-minimal-profile.cjs +1 -0
- package/dist/link-page-minimal-profile.js +1 -0
- package/dist/link-page-newsletter-social.cjs +1 -0
- package/dist/link-page-newsletter-social.js +1 -0
- package/dist/link-tree-block.cjs +1 -0
- package/dist/link-tree-block.js +1 -0
- package/dist/list-searchable-grid.cjs +1 -0
- package/dist/list-searchable-grid.js +1 -0
- package/dist/logos-carousel-heading.cjs +1 -0
- package/dist/logos-carousel-heading.js +1 -0
- package/dist/logos-centered-simple.cjs +1 -0
- package/dist/logos-centered-simple.js +1 -0
- package/dist/logos-certifications-grid.cjs +1 -0
- package/dist/logos-certifications-grid.js +1 -0
- package/dist/logos-double-carousel-pattern.cjs +1 -0
- package/dist/logos-double-carousel-pattern.js +1 -0
- package/dist/logos-inline-tagline.cjs +1 -0
- package/dist/logos-inline-tagline.js +1 -0
- package/dist/logos-marquee-muted.cjs +1 -0
- package/dist/logos-marquee-muted.js +1 -0
- package/dist/logos-minimal-carousel.cjs +1 -0
- package/dist/logos-minimal-carousel.js +1 -0
- package/dist/logos-numbered-carousel.cjs +1 -0
- package/dist/logos-numbered-carousel.js +1 -0
- package/dist/logos-partner-grid-sidebar.cjs +1 -0
- package/dist/logos-partner-grid-sidebar.js +1 -0
- package/dist/logos-partner-network.cjs +1 -0
- package/dist/logos-partner-network.js +1 -0
- package/dist/logos-two-row-grid.cjs +1 -0
- package/dist/logos-two-row-grid.js +1 -0
- package/dist/masonry-motion-grid.cjs +1 -0
- package/dist/masonry-motion-grid.js +1 -0
- package/dist/media-hover-ctas.cjs +1 -0
- package/dist/media-hover-ctas.js +1 -0
- package/dist/navbar-animated-preview.cjs +1 -0
- package/dist/navbar-animated-preview.js +1 -0
- package/dist/navbar-centered-menu.cjs +1 -0
- package/dist/navbar-centered-menu.js +1 -0
- package/dist/navbar-dark-icons.cjs +1 -0
- package/dist/navbar-dark-icons.js +1 -0
- package/dist/navbar-dropdown-menu.cjs +1 -0
- package/dist/navbar-dropdown-menu.js +1 -0
- package/dist/navbar-education-platform.cjs +1 -0
- package/dist/navbar-education-platform.js +1 -0
- package/dist/navbar-enterprise-mega.cjs +1 -0
- package/dist/navbar-enterprise-mega.js +1 -0
- package/dist/navbar-feature-grid.cjs +1 -0
- package/dist/navbar-feature-grid.js +1 -0
- package/dist/navbar-floating-pill.cjs +1 -0
- package/dist/navbar-floating-pill.js +1 -0
- package/dist/navbar-fullscreen-menu.cjs +1 -0
- package/dist/navbar-fullscreen-menu.js +1 -0
- package/dist/navbar-icon-links.cjs +1 -0
- package/dist/navbar-icon-links.js +1 -0
- package/dist/navbar-image-preview.cjs +1 -0
- package/dist/navbar-image-preview.js +1 -0
- package/dist/navbar-mega-menu.cjs +1 -0
- package/dist/navbar-mega-menu.js +1 -0
- package/dist/navbar-multi-column-groups.cjs +1 -0
- package/dist/navbar-multi-column-groups.js +1 -0
- package/dist/navbar-platform-resources.cjs +1 -0
- package/dist/navbar-platform-resources.js +1 -0
- package/dist/navbar-search-focused.cjs +1 -0
- package/dist/navbar-search-focused.js +1 -0
- package/dist/navbar-sidebar-mobile.cjs +1 -0
- package/dist/navbar-sidebar-mobile.js +1 -0
- package/dist/navbar-simple-links.cjs +1 -0
- package/dist/navbar-simple-links.js +1 -0
- package/dist/navbar-split-cta.cjs +1 -0
- package/dist/navbar-split-cta.js +1 -0
- package/dist/navbar-sticky-compact.cjs +1 -0
- package/dist/navbar-sticky-compact.js +1 -0
- package/dist/navbar-tabbed-sections.cjs +1 -0
- package/dist/navbar-tabbed-sections.js +1 -0
- package/dist/navbar-transparent-overlay.cjs +1 -0
- package/dist/navbar-transparent-overlay.js +1 -0
- package/dist/process-expandable-timeline.cjs +1 -0
- package/dist/process-expandable-timeline.js +1 -0
- package/dist/process-hover-cards.cjs +1 -0
- package/dist/process-hover-cards.js +1 -0
- package/dist/process-icon-timeline.cjs +1 -0
- package/dist/process-icon-timeline.js +1 -0
- package/dist/process-mission-principles.cjs +1 -0
- package/dist/process-mission-principles.js +1 -0
- package/dist/process-numbered-services.cjs +1 -0
- package/dist/process-numbered-services.js +1 -0
- package/dist/process-roadmap-timeline.cjs +1 -0
- package/dist/process-roadmap-timeline.js +1 -0
- package/dist/process-scroll-image.cjs +1 -0
- package/dist/process-scroll-image.js +1 -0
- package/dist/process-steps-grid.cjs +1 -0
- package/dist/process-steps-grid.js +1 -0
- package/dist/process-sticky-steps.cjs +1 -0
- package/dist/process-sticky-steps.js +1 -0
- package/dist/project-alternating-motion.cjs +1 -0
- package/dist/project-alternating-motion.js +1 -0
- package/dist/project-background-reveal.cjs +1 -0
- package/dist/project-background-reveal.js +1 -0
- package/dist/project-card-overlay.cjs +1 -0
- package/dist/project-card-overlay.js +1 -0
- package/dist/project-carousel-cinematic.cjs +1 -0
- package/dist/project-carousel-cinematic.js +1 -0
- package/dist/project-carousel-detail-cards.cjs +1 -0
- package/dist/project-carousel-detail-cards.js +1 -0
- package/dist/project-carousel-minimal.cjs +1 -0
- package/dist/project-carousel-minimal.js +1 -0
- package/dist/project-detail-architecture-carousel.cjs +1 -0
- package/dist/project-detail-architecture-carousel.js +1 -0
- package/dist/project-experience-quote.cjs +1 -0
- package/dist/project-experience-quote.js +1 -0
- package/dist/project-featured-carousel.cjs +1 -0
- package/dist/project-featured-carousel.js +1 -0
- package/dist/project-filterable-gallery.cjs +1 -0
- package/dist/project-filterable-gallery.js +1 -0
- package/dist/project-filterable-three-column.cjs +1 -0
- package/dist/project-filterable-three-column.js +1 -0
- package/dist/project-grid-gallery.cjs +1 -0
- package/dist/project-grid-gallery.js +1 -0
- package/dist/project-grid-motion.cjs +1 -0
- package/dist/project-grid-motion.js +1 -0
- package/dist/project-horizontal-cards.cjs +1 -0
- package/dist/project-horizontal-cards.js +1 -0
- package/dist/project-hover-reveal-grid.cjs +1 -0
- package/dist/project-hover-reveal-grid.js +1 -0
- package/dist/project-interactive-hover-reveal.cjs +1 -0
- package/dist/project-interactive-hover-reveal.js +1 -0
- package/dist/project-masonry-columns.cjs +1 -0
- package/dist/project-masonry-columns.js +1 -0
- package/dist/project-nature-mosaic.cjs +1 -0
- package/dist/project-nature-mosaic.js +1 -0
- package/dist/project-scroll-reveal.cjs +1 -0
- package/dist/project-scroll-reveal.js +1 -0
- package/dist/project-showcase-alternating.cjs +1 -0
- package/dist/project-showcase-alternating.js +1 -0
- package/dist/project-sticky-scroll.cjs +1 -0
- package/dist/project-sticky-scroll.js +1 -0
- package/dist/project-studio-hover-preview.cjs +1 -0
- package/dist/project-studio-hover-preview.js +1 -0
- package/dist/project-table-list.cjs +1 -0
- package/dist/project-table-list.js +1 -0
- package/dist/project-video-carousel.cjs +1 -0
- package/dist/project-video-carousel.js +1 -0
- package/dist/project-video-hover-bento.cjs +1 -0
- package/dist/project-video-hover-bento.js +1 -0
- package/dist/project-video-hover-grid.cjs +1 -0
- package/dist/project-video-hover-grid.js +1 -0
- package/dist/project-video-hover-rounded.cjs +1 -0
- package/dist/project-video-hover-rounded.js +1 -0
- package/dist/project-video-hover-stack.cjs +1 -0
- package/dist/project-video-hover-stack.js +1 -0
- package/dist/project-video-hover-two-by-two.cjs +1 -0
- package/dist/project-video-hover-two-by-two.js +1 -0
- package/dist/project-work-showcase.cjs +1 -0
- package/dist/project-work-showcase.js +1 -0
- package/dist/registry.cjs +39 -3
- package/dist/registry.js +39 -3
- package/dist/resource-detail-whitepaper-sidebar.cjs +1 -0
- package/dist/resource-detail-whitepaper-sidebar.js +1 -0
- package/dist/resource-list-course-cards.cjs +1 -0
- package/dist/resource-list-course-cards.js +1 -0
- package/dist/resource-list-featured-articles.cjs +1 -0
- package/dist/resource-list-featured-articles.js +1 -0
- package/dist/resource-list-featured-grid.cjs +1 -0
- package/dist/resource-list-featured-grid.js +1 -0
- package/dist/resource-list-news-updates.cjs +1 -0
- package/dist/resource-list-news-updates.js +1 -0
- package/dist/reviews-images-helpful.cjs +1 -0
- package/dist/reviews-images-helpful.js +1 -0
- package/dist/reviews-list-verified.cjs +1 -0
- package/dist/reviews-list-verified.js +1 -0
- package/dist/section.cjs +1 -0
- package/dist/section.js +1 -0
- package/dist/service-detail-centered-expertise.cjs +1 -0
- package/dist/service-detail-centered-expertise.js +1 -0
- package/dist/service-detail-compact-cards.cjs +1 -0
- package/dist/service-detail-compact-cards.js +1 -0
- package/dist/service-detail-image-hero.cjs +1 -0
- package/dist/service-detail-image-hero.js +1 -0
- package/dist/service-detail-prose-minimal.cjs +1 -0
- package/dist/service-detail-prose-minimal.js +1 -0
- package/dist/service-detail-sidebar-related.cjs +1 -0
- package/dist/service-detail-sidebar-related.js +1 -0
- package/dist/service-detail-sidebar-stats.cjs +1 -0
- package/dist/service-detail-sidebar-stats.js +1 -0
- package/dist/service-detail-stats-hero.cjs +1 -0
- package/dist/service-detail-stats-hero.js +1 -0
- package/dist/service-hover-carousel.cjs +1 -0
- package/dist/service-hover-carousel.js +1 -0
- package/dist/services-list-feature-spotlight.cjs +1 -0
- package/dist/services-list-feature-spotlight.js +1 -0
- package/dist/stats-animated-counter.cjs +1 -0
- package/dist/stats-animated-counter.js +1 -0
- package/dist/stats-bar-comparison.cjs +1 -0
- package/dist/stats-bar-comparison.js +1 -0
- package/dist/stats-card-group.cjs +1 -0
- package/dist/stats-card-group.js +1 -0
- package/dist/stats-circular-progress.cjs +1 -0
- package/dist/stats-circular-progress.js +1 -0
- package/dist/stats-growth-timeline.cjs +1 -0
- package/dist/stats-growth-timeline.js +1 -0
- package/dist/stats-icon-cards.cjs +1 -0
- package/dist/stats-icon-cards.js +1 -0
- package/dist/stats-impact-grid.cjs +1 -0
- package/dist/stats-impact-grid.js +1 -0
- package/dist/stats-milestone-sidebar.cjs +1 -0
- package/dist/stats-milestone-sidebar.js +1 -0
- package/dist/stats-number-ticker.cjs +1 -0
- package/dist/stats-number-ticker.js +1 -0
- package/dist/stats-primary-secondary.cjs +1 -0
- package/dist/stats-primary-secondary.js +1 -0
- package/dist/stats-simple-grid.cjs +1 -0
- package/dist/stats-simple-grid.js +1 -0
- package/dist/stats-timeline-tabs.cjs +1 -0
- package/dist/stats-timeline-tabs.js +1 -0
- package/dist/team-media-showcase.cjs +1 -0
- package/dist/team-media-showcase.js +1 -0
- package/dist/testimonial-carousel-cards.cjs +1 -0
- package/dist/testimonial-carousel-cards.js +1 -0
- package/dist/testimonials-animated-split.cjs +1 -0
- package/dist/testimonials-animated-split.js +1 -0
- package/dist/testimonials-bento-grid.cjs +1 -0
- package/dist/testimonials-bento-grid.js +1 -0
- package/dist/testimonials-centered-avatars.cjs +1 -0
- package/dist/testimonials-centered-avatars.js +1 -0
- package/dist/testimonials-company-logo.cjs +1 -0
- package/dist/testimonials-company-logo.js +1 -0
- package/dist/testimonials-grid-add-review.cjs +1 -0
- package/dist/testimonials-grid-add-review.js +1 -0
- package/dist/testimonials-large-quote.cjs +1 -0
- package/dist/testimonials-large-quote.js +1 -0
- package/dist/testimonials-logo-cards.cjs +1 -0
- package/dist/testimonials-logo-cards.js +1 -0
- package/dist/testimonials-marquee.cjs +1 -0
- package/dist/testimonials-marquee.js +1 -0
- package/dist/testimonials-masonry-grid.cjs +1 -0
- package/dist/testimonials-masonry-grid.js +1 -0
- package/dist/testimonials-mini-dividers.cjs +1 -0
- package/dist/testimonials-mini-dividers.js +1 -0
- package/dist/testimonials-minimal-numbered.cjs +1 -0
- package/dist/testimonials-minimal-numbered.js +1 -0
- package/dist/testimonials-parallax-number.cjs +1 -0
- package/dist/testimonials-parallax-number.js +1 -0
- package/dist/testimonials-quote-carousel.cjs +1 -0
- package/dist/testimonials-quote-carousel.js +1 -0
- package/dist/testimonials-scrolling-columns.cjs +1 -0
- package/dist/testimonials-scrolling-columns.js +1 -0
- package/dist/testimonials-simple-grid.cjs +1 -0
- package/dist/testimonials-simple-grid.js +1 -0
- package/dist/testimonials-slider-minimal.cjs +1 -0
- package/dist/testimonials-slider-minimal.js +1 -0
- package/dist/testimonials-split-image.cjs +1 -0
- package/dist/testimonials-split-image.js +1 -0
- package/dist/testimonials-stats-header.cjs +1 -0
- package/dist/testimonials-stats-header.js +1 -0
- package/dist/testimonials-twitter-cards.cjs +1 -0
- package/dist/testimonials-twitter-cards.js +1 -0
- package/dist/testimonials-wall-compact.cjs +1 -0
- package/dist/testimonials-wall-compact.js +1 -0
- package/dist/timeline-ai-workflow-cards.cjs +1 -0
- package/dist/timeline-ai-workflow-cards.js +1 -0
- package/dist/timeline-alternating-diagonal.cjs +1 -0
- package/dist/timeline-alternating-diagonal.js +1 -0
- package/dist/timeline-changelog-badges.cjs +1 -0
- package/dist/timeline-changelog-badges.js +1 -0
- package/dist/timeline-history-prose.cjs +1 -0
- package/dist/timeline-history-prose.js +1 -0
- package/dist/timeline-horizontal-icons.cjs +1 -0
- package/dist/timeline-horizontal-icons.js +1 -0
- package/dist/timeline-horizontal-phases.cjs +1 -0
- package/dist/timeline-horizontal-phases.js +1 -0
- package/dist/timeline-product-launch.cjs +1 -0
- package/dist/timeline-product-launch.js +1 -0
- package/dist/timeline-productivity-list.cjs +1 -0
- package/dist/timeline-productivity-list.js +1 -0
- package/dist/timeline-scroll-highlight.cjs +1 -0
- package/dist/timeline-scroll-highlight.js +1 -0
- package/dist/timeline-scroll-sticky-image.cjs +1 -0
- package/dist/timeline-scroll-sticky-image.js +1 -0
- package/dist/timeline-stepper-animated.cjs +1 -0
- package/dist/timeline-stepper-animated.js +1 -0
- package/dist/timeline-tabbed-phases.cjs +1 -0
- package/dist/timeline-tabbed-phases.js +1 -0
- package/dist/timeline-two-column-featured.cjs +1 -0
- package/dist/timeline-two-column-featured.js +1 -0
- package/dist/timeline-vertical-icon-dashed.cjs +1 -0
- package/dist/timeline-vertical-icon-dashed.js +1 -0
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -853,6 +853,7 @@ var backgroundStyles = {
|
|
|
853
853
|
white: "bg-background text-foreground",
|
|
854
854
|
gray: "bg-muted/30 text-foreground",
|
|
855
855
|
dark: "bg-foreground text-background",
|
|
856
|
+
transparent: "bg-transparent text-foreground",
|
|
856
857
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
857
858
|
primary: "bg-primary text-primary-foreground",
|
|
858
859
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -832,6 +832,7 @@ var backgroundStyles = {
|
|
|
832
832
|
white: "bg-background text-foreground",
|
|
833
833
|
gray: "bg-muted/30 text-foreground",
|
|
834
834
|
dark: "bg-foreground text-background",
|
|
835
|
+
transparent: "bg-transparent text-foreground",
|
|
835
836
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
836
837
|
primary: "bg-primary text-primary-foreground",
|
|
837
838
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -853,6 +853,7 @@ var backgroundStyles = {
|
|
|
853
853
|
white: "bg-background text-foreground",
|
|
854
854
|
gray: "bg-muted/30 text-foreground",
|
|
855
855
|
dark: "bg-foreground text-background",
|
|
856
|
+
transparent: "bg-transparent text-foreground",
|
|
856
857
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
857
858
|
primary: "bg-primary text-primary-foreground",
|
|
858
859
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -832,6 +832,7 @@ var backgroundStyles = {
|
|
|
832
832
|
white: "bg-background text-foreground",
|
|
833
833
|
gray: "bg-muted/30 text-foreground",
|
|
834
834
|
dark: "bg-foreground text-background",
|
|
835
|
+
transparent: "bg-transparent text-foreground",
|
|
835
836
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
836
837
|
primary: "bg-primary text-primary-foreground",
|
|
837
838
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -852,6 +852,7 @@ var backgroundStyles = {
|
|
|
852
852
|
white: "bg-background text-foreground",
|
|
853
853
|
gray: "bg-muted/30 text-foreground",
|
|
854
854
|
dark: "bg-foreground text-background",
|
|
855
|
+
transparent: "bg-transparent text-foreground",
|
|
855
856
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
856
857
|
primary: "bg-primary text-primary-foreground",
|
|
857
858
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -831,6 +831,7 @@ var backgroundStyles = {
|
|
|
831
831
|
white: "bg-background text-foreground",
|
|
832
832
|
gray: "bg-muted/30 text-foreground",
|
|
833
833
|
dark: "bg-foreground text-background",
|
|
834
|
+
transparent: "bg-transparent text-foreground",
|
|
834
835
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
835
836
|
primary: "bg-primary text-primary-foreground",
|
|
836
837
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -853,6 +853,7 @@ var backgroundStyles = {
|
|
|
853
853
|
white: "bg-background text-foreground",
|
|
854
854
|
gray: "bg-muted/30 text-foreground",
|
|
855
855
|
dark: "bg-foreground text-background",
|
|
856
|
+
transparent: "bg-transparent text-foreground",
|
|
856
857
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
857
858
|
primary: "bg-primary text-primary-foreground",
|
|
858
859
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -832,6 +832,7 @@ var backgroundStyles = {
|
|
|
832
832
|
white: "bg-background text-foreground",
|
|
833
833
|
gray: "bg-muted/30 text-foreground",
|
|
834
834
|
dark: "bg-foreground text-background",
|
|
835
|
+
transparent: "bg-transparent text-foreground",
|
|
835
836
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
836
837
|
primary: "bg-primary text-primary-foreground",
|
|
837
838
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -976,6 +976,7 @@ var backgroundStyles = {
|
|
|
976
976
|
white: "bg-background text-foreground",
|
|
977
977
|
gray: "bg-muted/30 text-foreground",
|
|
978
978
|
dark: "bg-foreground text-background",
|
|
979
|
+
transparent: "bg-transparent text-foreground",
|
|
979
980
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
980
981
|
primary: "bg-primary text-primary-foreground",
|
|
981
982
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -955,6 +955,7 @@ var backgroundStyles = {
|
|
|
955
955
|
white: "bg-background text-foreground",
|
|
956
956
|
gray: "bg-muted/30 text-foreground",
|
|
957
957
|
dark: "bg-foreground text-background",
|
|
958
|
+
transparent: "bg-transparent text-foreground",
|
|
958
959
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
959
960
|
primary: "bg-primary text-primary-foreground",
|
|
960
961
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -748,6 +748,7 @@ var backgroundStyles = {
|
|
|
748
748
|
white: "bg-background text-foreground",
|
|
749
749
|
gray: "bg-muted/30 text-foreground",
|
|
750
750
|
dark: "bg-foreground text-background",
|
|
751
|
+
transparent: "bg-transparent text-foreground",
|
|
751
752
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
752
753
|
primary: "bg-primary text-primary-foreground",
|
|
753
754
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -727,6 +727,7 @@ var backgroundStyles = {
|
|
|
727
727
|
white: "bg-background text-foreground",
|
|
728
728
|
gray: "bg-muted/30 text-foreground",
|
|
729
729
|
dark: "bg-foreground text-background",
|
|
730
|
+
transparent: "bg-transparent text-foreground",
|
|
730
731
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
731
732
|
primary: "bg-primary text-primary-foreground",
|
|
732
733
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -853,6 +853,7 @@ var backgroundStyles = {
|
|
|
853
853
|
white: "bg-background text-foreground",
|
|
854
854
|
gray: "bg-muted/30 text-foreground",
|
|
855
855
|
dark: "bg-foreground text-background",
|
|
856
|
+
transparent: "bg-transparent text-foreground",
|
|
856
857
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
857
858
|
primary: "bg-primary text-primary-foreground",
|
|
858
859
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -832,6 +832,7 @@ var backgroundStyles = {
|
|
|
832
832
|
white: "bg-background text-foreground",
|
|
833
833
|
gray: "bg-muted/30 text-foreground",
|
|
834
834
|
dark: "bg-foreground text-background",
|
|
835
|
+
transparent: "bg-transparent text-foreground",
|
|
835
836
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
836
837
|
primary: "bg-primary text-primary-foreground",
|
|
837
838
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -331,6 +331,7 @@ var backgroundStyles = {
|
|
|
331
331
|
white: "bg-background text-foreground",
|
|
332
332
|
gray: "bg-muted/30 text-foreground",
|
|
333
333
|
dark: "bg-foreground text-background",
|
|
334
|
+
transparent: "bg-transparent text-foreground",
|
|
334
335
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
335
336
|
primary: "bg-primary text-primary-foreground",
|
|
336
337
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -310,6 +310,7 @@ var backgroundStyles = {
|
|
|
310
310
|
white: "bg-background text-foreground",
|
|
311
311
|
gray: "bg-muted/30 text-foreground",
|
|
312
312
|
dark: "bg-foreground text-background",
|
|
313
|
+
transparent: "bg-transparent text-foreground",
|
|
313
314
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
314
315
|
primary: "bg-primary text-primary-foreground",
|
|
315
316
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -865,6 +865,7 @@ var backgroundStyles = {
|
|
|
865
865
|
white: "bg-background text-foreground",
|
|
866
866
|
gray: "bg-muted/30 text-foreground",
|
|
867
867
|
dark: "bg-foreground text-background",
|
|
868
|
+
transparent: "bg-transparent text-foreground",
|
|
868
869
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
869
870
|
primary: "bg-primary text-primary-foreground",
|
|
870
871
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -844,6 +844,7 @@ var backgroundStyles = {
|
|
|
844
844
|
white: "bg-background text-foreground",
|
|
845
845
|
gray: "bg-muted/30 text-foreground",
|
|
846
846
|
dark: "bg-foreground text-background",
|
|
847
|
+
transparent: "bg-transparent text-foreground",
|
|
847
848
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
848
849
|
primary: "bg-primary text-primary-foreground",
|
|
849
850
|
secondary: "bg-secondary text-secondary-foreground",
|
package/dist/index.cjs
CHANGED
|
@@ -339,6 +339,7 @@ var backgroundStyles = {
|
|
|
339
339
|
white: "bg-background text-foreground",
|
|
340
340
|
gray: "bg-muted/30 text-foreground",
|
|
341
341
|
dark: "bg-foreground text-background",
|
|
342
|
+
transparent: "bg-transparent text-foreground",
|
|
342
343
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
343
344
|
primary: "bg-primary text-primary-foreground",
|
|
344
345
|
secondary: "bg-secondary text-secondary-foreground",
|
package/dist/index.js
CHANGED
|
@@ -317,6 +317,7 @@ var backgroundStyles = {
|
|
|
317
317
|
white: "bg-background text-foreground",
|
|
318
318
|
gray: "bg-muted/30 text-foreground",
|
|
319
319
|
dark: "bg-foreground text-background",
|
|
320
|
+
transparent: "bg-transparent text-foreground",
|
|
320
321
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
321
322
|
primary: "bg-primary text-primary-foreground",
|
|
322
323
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -466,6 +466,7 @@ var backgroundStyles = {
|
|
|
466
466
|
white: "bg-background text-foreground",
|
|
467
467
|
gray: "bg-muted/30 text-foreground",
|
|
468
468
|
dark: "bg-foreground text-background",
|
|
469
|
+
transparent: "bg-transparent text-foreground",
|
|
469
470
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
470
471
|
primary: "bg-primary text-primary-foreground",
|
|
471
472
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -460,6 +460,7 @@ var backgroundStyles = {
|
|
|
460
460
|
white: "bg-background text-foreground",
|
|
461
461
|
gray: "bg-muted/30 text-foreground",
|
|
462
462
|
dark: "bg-foreground text-background",
|
|
463
|
+
transparent: "bg-transparent text-foreground",
|
|
463
464
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
464
465
|
primary: "bg-primary text-primary-foreground",
|
|
465
466
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -973,6 +973,7 @@ var backgroundStyles = {
|
|
|
973
973
|
white: "bg-background text-foreground",
|
|
974
974
|
gray: "bg-muted/30 text-foreground",
|
|
975
975
|
dark: "bg-foreground text-background",
|
|
976
|
+
transparent: "bg-transparent text-foreground",
|
|
976
977
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
977
978
|
primary: "bg-primary text-primary-foreground",
|
|
978
979
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -952,6 +952,7 @@ var backgroundStyles = {
|
|
|
952
952
|
white: "bg-background text-foreground",
|
|
953
953
|
gray: "bg-muted/30 text-foreground",
|
|
954
954
|
dark: "bg-foreground text-background",
|
|
955
|
+
transparent: "bg-transparent text-foreground",
|
|
955
956
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
956
957
|
primary: "bg-primary text-primary-foreground",
|
|
957
958
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -973,6 +973,7 @@ var backgroundStyles = {
|
|
|
973
973
|
white: "bg-background text-foreground",
|
|
974
974
|
gray: "bg-muted/30 text-foreground",
|
|
975
975
|
dark: "bg-foreground text-background",
|
|
976
|
+
transparent: "bg-transparent text-foreground",
|
|
976
977
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
977
978
|
primary: "bg-primary text-primary-foreground",
|
|
978
979
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -952,6 +952,7 @@ var backgroundStyles = {
|
|
|
952
952
|
white: "bg-background text-foreground",
|
|
953
953
|
gray: "bg-muted/30 text-foreground",
|
|
954
954
|
dark: "bg-foreground text-background",
|
|
955
|
+
transparent: "bg-transparent text-foreground",
|
|
955
956
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
956
957
|
primary: "bg-primary text-primary-foreground",
|
|
957
958
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -972,6 +972,7 @@ var backgroundStyles = {
|
|
|
972
972
|
white: "bg-background text-foreground",
|
|
973
973
|
gray: "bg-muted/30 text-foreground",
|
|
974
974
|
dark: "bg-foreground text-background",
|
|
975
|
+
transparent: "bg-transparent text-foreground",
|
|
975
976
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
976
977
|
primary: "bg-primary text-primary-foreground",
|
|
977
978
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -951,6 +951,7 @@ var backgroundStyles = {
|
|
|
951
951
|
white: "bg-background text-foreground",
|
|
952
952
|
gray: "bg-muted/30 text-foreground",
|
|
953
953
|
dark: "bg-foreground text-background",
|
|
954
|
+
transparent: "bg-transparent text-foreground",
|
|
954
955
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
955
956
|
primary: "bg-primary text-primary-foreground",
|
|
956
957
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var React4 = require('react');
|
|
4
5
|
var clsx = require('clsx');
|
|
5
6
|
var tailwindMerge = require('tailwind-merge');
|
|
6
7
|
var img = require('@page-speed/img');
|
|
7
|
-
var
|
|
8
|
+
var lightbox = require('@page-speed/lightbox');
|
|
8
9
|
var useEmblaCarousel = require('embla-carousel-react');
|
|
9
10
|
var classVarianceAuthority = require('class-variance-authority');
|
|
10
11
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -32,7 +33,7 @@ function _interopNamespace(e) {
|
|
|
32
33
|
var React4__namespace = /*#__PURE__*/_interopNamespace(React4);
|
|
33
34
|
var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
|
|
34
35
|
|
|
35
|
-
//
|
|
36
|
+
// components/blocks/gallery/interior-carousel.tsx
|
|
36
37
|
function cn(...inputs) {
|
|
37
38
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
38
39
|
}
|
|
@@ -1044,6 +1045,7 @@ var backgroundStyles = {
|
|
|
1044
1045
|
white: "bg-background text-foreground",
|
|
1045
1046
|
gray: "bg-muted/30 text-foreground",
|
|
1046
1047
|
dark: "bg-foreground text-background",
|
|
1048
|
+
transparent: "bg-transparent text-foreground",
|
|
1047
1049
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
1048
1050
|
primary: "bg-primary text-primary-foreground",
|
|
1049
1051
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -1137,6 +1139,25 @@ function InteriorCarousel({
|
|
|
1137
1139
|
patternClassName,
|
|
1138
1140
|
optixFlowConfig
|
|
1139
1141
|
}) {
|
|
1142
|
+
const [lightboxOpen, setLightboxOpen] = React4__namespace.useState(false);
|
|
1143
|
+
const [lightboxIndex, setLightboxIndex] = React4__namespace.useState(0);
|
|
1144
|
+
const lightboxItems = React4__namespace.useMemo(() => {
|
|
1145
|
+
if (!images || images.length === 0) return [];
|
|
1146
|
+
return images.map((image, index) => {
|
|
1147
|
+
const src = typeof image === "string" ? image : image.src;
|
|
1148
|
+
const alt = typeof image === "string" ? "Interior design" : image.alt || "Interior design";
|
|
1149
|
+
return {
|
|
1150
|
+
id: `interior-carousel-${index}-${src.slice(-8)}`,
|
|
1151
|
+
src,
|
|
1152
|
+
alt,
|
|
1153
|
+
type: "image"
|
|
1154
|
+
};
|
|
1155
|
+
});
|
|
1156
|
+
}, [images]);
|
|
1157
|
+
const handleImageClick = (index) => {
|
|
1158
|
+
setLightboxIndex(index);
|
|
1159
|
+
setLightboxOpen(true);
|
|
1160
|
+
};
|
|
1140
1161
|
const renderDescription = () => {
|
|
1141
1162
|
if (typeof description === "string") {
|
|
1142
1163
|
const descriptionLines = description.split("\n");
|
|
@@ -1159,9 +1180,10 @@ function InteriorCarousel({
|
|
|
1159
1180
|
{
|
|
1160
1181
|
src,
|
|
1161
1182
|
alt,
|
|
1162
|
-
className: cn("aspect-[3.8/5] w-full rounded-xl object-cover", imageClassName, itemClass),
|
|
1183
|
+
className: cn("aspect-[3.8/5] w-full rounded-xl object-cover cursor-pointer transition-opacity hover:opacity-90", imageClassName, itemClass),
|
|
1163
1184
|
loading: "lazy",
|
|
1164
|
-
optixFlowConfig
|
|
1185
|
+
optixFlowConfig,
|
|
1186
|
+
onClick: () => handleImageClick(index)
|
|
1165
1187
|
}
|
|
1166
1188
|
) }, index);
|
|
1167
1189
|
});
|
|
@@ -1201,7 +1223,22 @@ function InteriorCarousel({
|
|
|
1201
1223
|
/* @__PURE__ */ jsxRuntime.jsx(CarouselNext, { className: cn("right-5 scale-120 border-none bg-black/30 text-white hover:bg-black/50 hover:text-white dark:bg-black/30 dark:hover:bg-black/50", controlsClassName) })
|
|
1202
1224
|
]
|
|
1203
1225
|
}
|
|
1204
|
-
) })
|
|
1226
|
+
) }),
|
|
1227
|
+
lightboxOpen && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1228
|
+
lightbox.Lightbox,
|
|
1229
|
+
{
|
|
1230
|
+
items: lightboxItems,
|
|
1231
|
+
initialIndex: lightboxIndex,
|
|
1232
|
+
onClose: () => setLightboxOpen(false),
|
|
1233
|
+
layout: "horizontal",
|
|
1234
|
+
controls: {
|
|
1235
|
+
navigation: true,
|
|
1236
|
+
counter: true,
|
|
1237
|
+
closeButton: true,
|
|
1238
|
+
captions: true
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
)
|
|
1205
1242
|
]
|
|
1206
1243
|
}
|
|
1207
1244
|
);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import * as React4 from 'react';
|
|
3
|
+
import React4__default from 'react';
|
|
2
4
|
import { clsx } from 'clsx';
|
|
3
5
|
import { twMerge } from 'tailwind-merge';
|
|
4
6
|
import { Img } from '@page-speed/img';
|
|
5
|
-
import
|
|
6
|
-
import React4__default from 'react';
|
|
7
|
+
import { Lightbox } from '@page-speed/lightbox';
|
|
7
8
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
8
9
|
import { cva } from 'class-variance-authority';
|
|
9
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
11
|
|
|
11
|
-
//
|
|
12
|
+
// components/blocks/gallery/interior-carousel.tsx
|
|
12
13
|
function cn(...inputs) {
|
|
13
14
|
return twMerge(clsx(inputs));
|
|
14
15
|
}
|
|
@@ -1020,6 +1021,7 @@ var backgroundStyles = {
|
|
|
1020
1021
|
white: "bg-background text-foreground",
|
|
1021
1022
|
gray: "bg-muted/30 text-foreground",
|
|
1022
1023
|
dark: "bg-foreground text-background",
|
|
1024
|
+
transparent: "bg-transparent text-foreground",
|
|
1023
1025
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
1024
1026
|
primary: "bg-primary text-primary-foreground",
|
|
1025
1027
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -1113,6 +1115,25 @@ function InteriorCarousel({
|
|
|
1113
1115
|
patternClassName,
|
|
1114
1116
|
optixFlowConfig
|
|
1115
1117
|
}) {
|
|
1118
|
+
const [lightboxOpen, setLightboxOpen] = React4.useState(false);
|
|
1119
|
+
const [lightboxIndex, setLightboxIndex] = React4.useState(0);
|
|
1120
|
+
const lightboxItems = React4.useMemo(() => {
|
|
1121
|
+
if (!images || images.length === 0) return [];
|
|
1122
|
+
return images.map((image, index) => {
|
|
1123
|
+
const src = typeof image === "string" ? image : image.src;
|
|
1124
|
+
const alt = typeof image === "string" ? "Interior design" : image.alt || "Interior design";
|
|
1125
|
+
return {
|
|
1126
|
+
id: `interior-carousel-${index}-${src.slice(-8)}`,
|
|
1127
|
+
src,
|
|
1128
|
+
alt,
|
|
1129
|
+
type: "image"
|
|
1130
|
+
};
|
|
1131
|
+
});
|
|
1132
|
+
}, [images]);
|
|
1133
|
+
const handleImageClick = (index) => {
|
|
1134
|
+
setLightboxIndex(index);
|
|
1135
|
+
setLightboxOpen(true);
|
|
1136
|
+
};
|
|
1116
1137
|
const renderDescription = () => {
|
|
1117
1138
|
if (typeof description === "string") {
|
|
1118
1139
|
const descriptionLines = description.split("\n");
|
|
@@ -1135,9 +1156,10 @@ function InteriorCarousel({
|
|
|
1135
1156
|
{
|
|
1136
1157
|
src,
|
|
1137
1158
|
alt,
|
|
1138
|
-
className: cn("aspect-[3.8/5] w-full rounded-xl object-cover", imageClassName, itemClass),
|
|
1159
|
+
className: cn("aspect-[3.8/5] w-full rounded-xl object-cover cursor-pointer transition-opacity hover:opacity-90", imageClassName, itemClass),
|
|
1139
1160
|
loading: "lazy",
|
|
1140
|
-
optixFlowConfig
|
|
1161
|
+
optixFlowConfig,
|
|
1162
|
+
onClick: () => handleImageClick(index)
|
|
1141
1163
|
}
|
|
1142
1164
|
) }, index);
|
|
1143
1165
|
});
|
|
@@ -1177,7 +1199,22 @@ function InteriorCarousel({
|
|
|
1177
1199
|
/* @__PURE__ */ jsx(CarouselNext, { className: cn("right-5 scale-120 border-none bg-black/30 text-white hover:bg-black/50 hover:text-white dark:bg-black/30 dark:hover:bg-black/50", controlsClassName) })
|
|
1178
1200
|
]
|
|
1179
1201
|
}
|
|
1180
|
-
) })
|
|
1202
|
+
) }),
|
|
1203
|
+
lightboxOpen && /* @__PURE__ */ jsx(
|
|
1204
|
+
Lightbox,
|
|
1205
|
+
{
|
|
1206
|
+
items: lightboxItems,
|
|
1207
|
+
initialIndex: lightboxIndex,
|
|
1208
|
+
onClose: () => setLightboxOpen(false),
|
|
1209
|
+
layout: "horizontal",
|
|
1210
|
+
controls: {
|
|
1211
|
+
navigation: true,
|
|
1212
|
+
counter: true,
|
|
1213
|
+
closeButton: true,
|
|
1214
|
+
captions: true
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
)
|
|
1181
1218
|
]
|
|
1182
1219
|
}
|
|
1183
1220
|
);
|
|
@@ -976,6 +976,7 @@ var backgroundStyles = {
|
|
|
976
976
|
white: "bg-background text-foreground",
|
|
977
977
|
gray: "bg-muted/30 text-foreground",
|
|
978
978
|
dark: "bg-foreground text-background",
|
|
979
|
+
transparent: "bg-transparent text-foreground",
|
|
979
980
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
980
981
|
primary: "bg-primary text-primary-foreground",
|
|
981
982
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -955,6 +955,7 @@ var backgroundStyles = {
|
|
|
955
955
|
white: "bg-background text-foreground",
|
|
956
956
|
gray: "bg-muted/30 text-foreground",
|
|
957
957
|
dark: "bg-foreground text-background",
|
|
958
|
+
transparent: "bg-transparent text-foreground",
|
|
958
959
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
959
960
|
primary: "bg-primary text-primary-foreground",
|
|
960
961
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -857,6 +857,7 @@ var backgroundStyles = {
|
|
|
857
857
|
white: "bg-background text-foreground",
|
|
858
858
|
gray: "bg-muted/30 text-foreground",
|
|
859
859
|
dark: "bg-foreground text-background",
|
|
860
|
+
transparent: "bg-transparent text-foreground",
|
|
860
861
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
861
862
|
primary: "bg-primary text-primary-foreground",
|
|
862
863
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -836,6 +836,7 @@ var backgroundStyles = {
|
|
|
836
836
|
white: "bg-background text-foreground",
|
|
837
837
|
gray: "bg-muted/30 text-foreground",
|
|
838
838
|
dark: "bg-foreground text-background",
|
|
839
|
+
transparent: "bg-transparent text-foreground",
|
|
839
840
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
840
841
|
primary: "bg-primary text-primary-foreground",
|
|
841
842
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -857,6 +857,7 @@ var backgroundStyles = {
|
|
|
857
857
|
white: "bg-background text-foreground",
|
|
858
858
|
gray: "bg-muted/30 text-foreground",
|
|
859
859
|
dark: "bg-foreground text-background",
|
|
860
|
+
transparent: "bg-transparent text-foreground",
|
|
860
861
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
861
862
|
primary: "bg-primary text-primary-foreground",
|
|
862
863
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -836,6 +836,7 @@ var backgroundStyles = {
|
|
|
836
836
|
white: "bg-background text-foreground",
|
|
837
837
|
gray: "bg-muted/30 text-foreground",
|
|
838
838
|
dark: "bg-foreground text-background",
|
|
839
|
+
transparent: "bg-transparent text-foreground",
|
|
839
840
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
840
841
|
primary: "bg-primary text-primary-foreground",
|
|
841
842
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -980,6 +980,7 @@ var backgroundStyles = {
|
|
|
980
980
|
white: "bg-background text-foreground",
|
|
981
981
|
gray: "bg-muted/30 text-foreground",
|
|
982
982
|
dark: "bg-foreground text-background",
|
|
983
|
+
transparent: "bg-transparent text-foreground",
|
|
983
984
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
984
985
|
primary: "bg-primary text-primary-foreground",
|
|
985
986
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -959,6 +959,7 @@ var backgroundStyles = {
|
|
|
959
959
|
white: "bg-background text-foreground",
|
|
960
960
|
gray: "bg-muted/30 text-foreground",
|
|
961
961
|
dark: "bg-foreground text-background",
|
|
962
|
+
transparent: "bg-transparent text-foreground",
|
|
962
963
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
963
964
|
primary: "bg-primary text-primary-foreground",
|
|
964
965
|
secondary: "bg-secondary text-secondary-foreground",
|
package/dist/link-tree-block.cjs
CHANGED
|
@@ -1092,6 +1092,7 @@ var backgroundStyles = {
|
|
|
1092
1092
|
white: "bg-background text-foreground",
|
|
1093
1093
|
gray: "bg-muted/30 text-foreground",
|
|
1094
1094
|
dark: "bg-foreground text-background",
|
|
1095
|
+
transparent: "bg-transparent text-foreground",
|
|
1095
1096
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
1096
1097
|
primary: "bg-primary text-primary-foreground",
|
|
1097
1098
|
secondary: "bg-secondary text-secondary-foreground",
|
package/dist/link-tree-block.js
CHANGED
|
@@ -1071,6 +1071,7 @@ var backgroundStyles = {
|
|
|
1071
1071
|
white: "bg-background text-foreground",
|
|
1072
1072
|
gray: "bg-muted/30 text-foreground",
|
|
1073
1073
|
dark: "bg-foreground text-background",
|
|
1074
|
+
transparent: "bg-transparent text-foreground",
|
|
1074
1075
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
1075
1076
|
primary: "bg-primary text-primary-foreground",
|
|
1076
1077
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -882,6 +882,7 @@ var backgroundStyles = {
|
|
|
882
882
|
white: "bg-background text-foreground",
|
|
883
883
|
gray: "bg-muted/30 text-foreground",
|
|
884
884
|
dark: "bg-foreground text-background",
|
|
885
|
+
transparent: "bg-transparent text-foreground",
|
|
885
886
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
886
887
|
primary: "bg-primary text-primary-foreground",
|
|
887
888
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -861,6 +861,7 @@ var backgroundStyles = {
|
|
|
861
861
|
white: "bg-background text-foreground",
|
|
862
862
|
gray: "bg-muted/30 text-foreground",
|
|
863
863
|
dark: "bg-foreground text-background",
|
|
864
|
+
transparent: "bg-transparent text-foreground",
|
|
864
865
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
865
866
|
primary: "bg-primary text-primary-foreground",
|
|
866
867
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -335,6 +335,7 @@ var backgroundStyles = {
|
|
|
335
335
|
white: "bg-background text-foreground",
|
|
336
336
|
gray: "bg-muted/30 text-foreground",
|
|
337
337
|
dark: "bg-foreground text-background",
|
|
338
|
+
transparent: "bg-transparent text-foreground",
|
|
338
339
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
339
340
|
primary: "bg-primary text-primary-foreground",
|
|
340
341
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -310,6 +310,7 @@ var backgroundStyles = {
|
|
|
310
310
|
white: "bg-background text-foreground",
|
|
311
311
|
gray: "bg-muted/30 text-foreground",
|
|
312
312
|
dark: "bg-foreground text-background",
|
|
313
|
+
transparent: "bg-transparent text-foreground",
|
|
313
314
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
314
315
|
primary: "bg-primary text-primary-foreground",
|
|
315
316
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -313,6 +313,7 @@ var backgroundStyles = {
|
|
|
313
313
|
white: "bg-background text-foreground",
|
|
314
314
|
gray: "bg-muted/30 text-foreground",
|
|
315
315
|
dark: "bg-foreground text-background",
|
|
316
|
+
transparent: "bg-transparent text-foreground",
|
|
316
317
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
317
318
|
primary: "bg-primary text-primary-foreground",
|
|
318
319
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -307,6 +307,7 @@ var backgroundStyles = {
|
|
|
307
307
|
white: "bg-background text-foreground",
|
|
308
308
|
gray: "bg-muted/30 text-foreground",
|
|
309
309
|
dark: "bg-foreground text-background",
|
|
310
|
+
transparent: "bg-transparent text-foreground",
|
|
310
311
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
311
312
|
primary: "bg-primary text-primary-foreground",
|
|
312
313
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -853,6 +853,7 @@ var backgroundStyles = {
|
|
|
853
853
|
white: "bg-background text-foreground",
|
|
854
854
|
gray: "bg-muted/30 text-foreground",
|
|
855
855
|
dark: "bg-foreground text-background",
|
|
856
|
+
transparent: "bg-transparent text-foreground",
|
|
856
857
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
857
858
|
primary: "bg-primary text-primary-foreground",
|
|
858
859
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -832,6 +832,7 @@ var backgroundStyles = {
|
|
|
832
832
|
white: "bg-background text-foreground",
|
|
833
833
|
gray: "bg-muted/30 text-foreground",
|
|
834
834
|
dark: "bg-foreground text-background",
|
|
835
|
+
transparent: "bg-transparent text-foreground",
|
|
835
836
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
836
837
|
primary: "bg-primary text-primary-foreground",
|
|
837
838
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -754,6 +754,7 @@ var backgroundStyles = {
|
|
|
754
754
|
white: "bg-background text-foreground",
|
|
755
755
|
gray: "bg-muted/30 text-foreground",
|
|
756
756
|
dark: "bg-foreground text-background",
|
|
757
|
+
transparent: "bg-transparent text-foreground",
|
|
757
758
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
758
759
|
primary: "bg-primary text-primary-foreground",
|
|
759
760
|
secondary: "bg-secondary text-secondary-foreground",
|
|
@@ -729,6 +729,7 @@ var backgroundStyles = {
|
|
|
729
729
|
white: "bg-background text-foreground",
|
|
730
730
|
gray: "bg-muted/30 text-foreground",
|
|
731
731
|
dark: "bg-foreground text-background",
|
|
732
|
+
transparent: "bg-transparent text-foreground",
|
|
732
733
|
gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
|
|
733
734
|
primary: "bg-primary text-primary-foreground",
|
|
734
735
|
secondary: "bg-secondary text-secondary-foreground",
|