dune-react 0.0.20 → 0.0.22
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/components/index.d.ts +1 -0
- package/dist/components/puck-base/button.d.ts +1 -1
- package/dist/components/puck-base/button.js +5 -6
- package/dist/components/puck-base/card.d.ts +1 -1
- package/dist/components/puck-base/container.js +1 -1
- package/dist/components/puck-base/content.d.ts +1 -1
- package/dist/components/puck-base/form.js +1 -1
- package/dist/components/puck-base/image.js +17 -17
- package/dist/components/puck-base/index.d.ts +1 -12
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +9 -4
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +22 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +3 -1
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +25 -3
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +16 -4
- package/dist/components/puck-block/banner-sections/props.d.ts +3 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +13 -2
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +15 -4
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +3 -13
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/centered-form/index.js +3 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +5 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +3 -1
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +5 -23
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +3 -1
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +3 -13
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +3 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +4 -13
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +3 -1
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -2
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +3 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +3 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -2
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +3 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +5 -1
- package/dist/components/puck-block/contact-sections/props.d.ts +3 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +3 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +4 -13
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +3 -1
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +4 -2
- package/dist/components/puck-block/contact-sections/use-contact-form.js +1 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +3 -2
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +23 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +3 -1
- package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +23 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +3 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +89 -59
- package/dist/components/puck-block/cta-sections/props.d.ts +3 -1
- package/dist/components/puck-block/cta-sections/props.js +46 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +35 -77
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +24 -83
- package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +3 -2
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +6 -2
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/props.d.ts +3 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +5 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +3 -2
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +6 -2
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +5 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +24 -2
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +5 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +24 -2
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -1
- package/dist/components/puck-block/feature-sections/props.d.ts +3 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +78 -60
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +23 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +3 -1
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -3
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +23 -1
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +3 -1
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +5 -2
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +2 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +2 -1
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +3 -2
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +16 -6
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +23 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +4 -3
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +3 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +24 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +5 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +24 -2
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +71 -66
- package/dist/components/puck-block/gallery-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +9 -3
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -10
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +3 -2
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +3 -2
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +120 -16
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +163 -22
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +144 -18
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/props.d.ts +3 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +5 -2
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +54 -10
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +24 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +5 -2
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +19 -7
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +14 -6
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +8 -4
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +4 -2
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +9 -5
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +6 -4
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +6 -4
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +10 -3
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/props.d.ts +3 -1
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +16 -7
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +14 -6
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +98 -42
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +36 -6
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +5 -3
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +15 -5
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +37 -14
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +36 -6
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +5 -3
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +6 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +102 -44
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +32 -5
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
- package/dist/components/puck-block/index.d.ts +2 -0
- package/dist/components/puck-block/location-sections/location-1/location.d.ts +4 -1
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +4 -1
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +5 -2
- package/dist/components/puck-block/location-sections/props.d.ts +4 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +5 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +23 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +23 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/props.d.ts +3 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +23 -1
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +38 -23
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +5 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/props.d.ts +3 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +5 -2
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +5 -2
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +3 -1
- package/dist/components/puck-block/registry.generated.d.ts +13141 -0
- package/dist/components/puck-block/registry.generated.js +558 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +5 -1
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +23 -1
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +6 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +23 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/props.d.ts +3 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +24 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +24 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +1 -3
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +5 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +24 -4
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +24 -2
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +3 -1
- package/dist/components/puck-block/team-sections/props.d.ts +3 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.js +8 -2
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-carousel/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-grid/component.js +6 -1
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-grid/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-inline-card/component.js +10 -2
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +9 -2
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +22 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-two-column/component.js +6 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +6 -1
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +14 -6
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +35 -5
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +5 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +8 -2
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -1
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +23 -1
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/text-sections/aside-nav-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/blog-article/component.js +6 -1
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +3 -1
- package/dist/components/puck-block/text-sections/props.d.ts +3 -0
- package/dist/components/puck-block/text-sections/prose-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/prose-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +23 -1
- package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +6 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +3 -1
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +24 -2
- package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -0
- package/dist/components/puck-core/core/context/section-id-context.js +12 -0
- package/dist/components/puck-core/core/props/content.js +41 -1
- package/dist/components/puck-core/core/props/form.js +76 -0
- package/dist/components/puck-core/core/props/index.js +34 -0
- package/dist/components/puck-core/core/props/interactive.js +17 -0
- package/dist/components/puck-core/core/props/media.js +8 -4
- package/dist/components/puck-core/core/styles.d.ts +375 -1
- package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
- package/dist/components/{puck-base → puck-core}/core/with-editable.js +13 -2
- package/dist/components/puck-core/fields/action-field.js +2 -2
- package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +4 -4
- package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
- package/dist/components/puck-core/index.d.ts +3 -1
- package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
- package/dist/components/puck-core/section-wrapper.d.ts +27 -13
- package/dist/components/puck-core/section-wrapper.js +48 -0
- package/dist/hooks/use-scroll-container.d.ts +18 -0
- package/dist/hooks/use-scroll-container.js +25 -0
- package/dist/index.js +125 -105
- package/package.json +1 -1
- package/dist/components/puck-base/core/fields.d.ts +0 -827
- package/dist/components/puck-base/core/fields.js +0 -267
- package/dist/components/puck-base/core/hooks.d.ts +0 -19
- package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
- package/dist/components/puck-base/core/icon-catalog.js +0 -193
- package/dist/components/puck-base/core/styles.d.ts +0 -1942
- package/dist/components/puck-base/core/types.d.ts +0 -20
- package/dist/components/puck-base/core/types.js +0 -26
- package/dist/components/puck-base/core/utils.d.ts +0 -5
- package/dist/components/puck-base/core/with-editable.d.ts +0 -16
- package/dist/components/puck-base/error-boundary.d.ts +0 -4
- package/dist/components/puck-base/fields/action-field.d.ts +0 -30
- package/dist/components/puck-base/fields/action-field.js +0 -265
- package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
- package/dist/components/puck-base/fields/color-field.d.ts +0 -6
- package/dist/components/puck-base/fields/index.d.ts +0 -8
- package/dist/components/puck-base/fields/location-field.d.ts +0 -44
- package/dist/components/puck-base/fields/object-field.d.ts +0 -8
- package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
- package/dist/components/puck-base/fields/types.d.ts +0 -29
- package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
- package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
- package/dist/components/puck-base/icon-picker-field.js +0 -153
- package/dist/components/puck-base/image-upload-field.d.ts +0 -7
- package/dist/components/puck-base/inline-editable.d.ts +0 -14
- package/dist/components/puck-base/use-upload.d.ts +0 -42
- package/dist/components/puck-core/editor-context.d.ts +0 -25
- package/dist/components/puck-core/editor-context.js +0 -15
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.d.ts +0 -0
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.js +0 -0
- /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
- /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
- /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/auto-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/object-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/use-upload.js +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
3
|
+
import { useState, useRef } from "react";
|
|
4
4
|
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
7
|
import { useScroll, useTransform, motion } from "framer-motion";
|
|
8
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
|
+
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
8
10
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
11
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
10
12
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
@@ -14,14 +16,15 @@ const StickyVideoHero = (props) => {
|
|
|
14
16
|
description = "",
|
|
15
17
|
buttons = [],
|
|
16
18
|
video = "",
|
|
17
|
-
|
|
19
|
+
images = [{ src: "", alt: "" }],
|
|
18
20
|
videoImage = { src: "", alt: "" },
|
|
19
21
|
styles
|
|
20
22
|
} = {
|
|
21
23
|
...StickyVideoHeroDefaults,
|
|
22
24
|
...props
|
|
23
25
|
};
|
|
24
|
-
const
|
|
26
|
+
const image = images == null ? void 0 : images[0];
|
|
27
|
+
const { className: sectionClassName, style: sectionStyle, css, variant = "centered" } = styles ?? {};
|
|
25
28
|
if (variant === "parallax-bg") {
|
|
26
29
|
return /* @__PURE__ */ jsx(
|
|
27
30
|
ParallaxBgVariant,
|
|
@@ -31,7 +34,10 @@ const StickyVideoHero = (props) => {
|
|
|
31
34
|
buttons,
|
|
32
35
|
video,
|
|
33
36
|
image,
|
|
34
|
-
videoImage
|
|
37
|
+
videoImage,
|
|
38
|
+
sectionClassName,
|
|
39
|
+
sectionStyle,
|
|
40
|
+
css
|
|
35
41
|
}
|
|
36
42
|
);
|
|
37
43
|
}
|
|
@@ -42,7 +48,10 @@ const StickyVideoHero = (props) => {
|
|
|
42
48
|
description,
|
|
43
49
|
buttons,
|
|
44
50
|
video,
|
|
45
|
-
image
|
|
51
|
+
image,
|
|
52
|
+
sectionClassName,
|
|
53
|
+
sectionStyle,
|
|
54
|
+
css
|
|
46
55
|
}
|
|
47
56
|
);
|
|
48
57
|
};
|
|
@@ -51,16 +60,23 @@ const CenteredVariant = ({
|
|
|
51
60
|
description,
|
|
52
61
|
buttons,
|
|
53
62
|
video,
|
|
54
|
-
image
|
|
63
|
+
image,
|
|
64
|
+
sectionClassName,
|
|
65
|
+
sectionStyle,
|
|
66
|
+
css
|
|
55
67
|
}) => {
|
|
56
68
|
const [isIframeLoaded, setIsIframeLoaded] = useState(false);
|
|
69
|
+
const sectionRef = useRef(null);
|
|
70
|
+
const [scrollContainerRef] = useScrollContainer(sectionRef);
|
|
57
71
|
const halfViewportHeight = typeof window !== "undefined" ? window.innerHeight * 0.5 : 100;
|
|
58
|
-
const { scrollY } = useScroll(
|
|
72
|
+
const { scrollY } = useScroll(
|
|
73
|
+
scrollContainerRef.current ? { container: scrollContainerRef } : void 0
|
|
74
|
+
);
|
|
59
75
|
const contentMotion = {
|
|
60
76
|
scale: useTransform(scrollY, [0, halfViewportHeight], [1, 0.95]),
|
|
61
77
|
opacity: useTransform(scrollY, [0, halfViewportHeight], [1, 0])
|
|
62
78
|
};
|
|
63
|
-
return /* @__PURE__ */ jsx(
|
|
79
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { ref: sectionRef, className: cn("px-[5%]", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "relative flex h-[300vh] flex-col", children: [
|
|
64
80
|
/* @__PURE__ */ jsx(
|
|
65
81
|
motion.div,
|
|
66
82
|
{
|
|
@@ -112,10 +128,17 @@ const ParallaxBgVariant = ({
|
|
|
112
128
|
buttons,
|
|
113
129
|
video,
|
|
114
130
|
image,
|
|
115
|
-
videoImage
|
|
131
|
+
videoImage,
|
|
132
|
+
sectionClassName,
|
|
133
|
+
sectionStyle,
|
|
134
|
+
css
|
|
116
135
|
}) => {
|
|
117
136
|
const [isIframeLoaded, setIsIframeLoaded] = useState(false);
|
|
118
|
-
const
|
|
137
|
+
const sectionRef = useRef(null);
|
|
138
|
+
const [scrollContainerRef] = useScrollContainer(sectionRef);
|
|
139
|
+
const { scrollYProgress } = useScroll(
|
|
140
|
+
scrollContainerRef.current ? { container: scrollContainerRef } : void 0
|
|
141
|
+
);
|
|
119
142
|
const containerMotion = {
|
|
120
143
|
y: useTransform(scrollYProgress, [0, 0.4], ["0vh", "-5vh"]),
|
|
121
144
|
width: useTransform(scrollYProgress, [0, 0.4], ["90%", "100%"]),
|
|
@@ -127,14 +150,14 @@ const ParallaxBgVariant = ({
|
|
|
127
150
|
const videoDialogTranslate = {
|
|
128
151
|
y: useTransform(scrollYProgress, [0.3, 0.4], ["0%", "200%"])
|
|
129
152
|
};
|
|
130
|
-
return /* @__PURE__ */ jsxs(
|
|
153
|
+
return /* @__PURE__ */ jsxs(SectionWrapper, { ref: sectionRef, className: cn("relative flex h-[150vh] flex-col items-center", sectionClassName), style: sectionStyle, css, children: [
|
|
131
154
|
/* @__PURE__ */ jsxs(
|
|
132
155
|
motion.div,
|
|
133
156
|
{
|
|
134
157
|
className: "sticky top-[5vh] z-10 mb-[-5vh] mt-[5vh] flex h-[90vh] w-[90%] flex-col items-start justify-center overflow-hidden",
|
|
135
158
|
style: containerMotion,
|
|
136
159
|
children: [
|
|
137
|
-
/* @__PURE__ */ jsx("div", { className: "px-[5%] py-
|
|
160
|
+
/* @__PURE__ */ jsx("div", { className: "px-[5%] py-8 md:py-12 lg:py-14", children: /* @__PURE__ */ jsxs("div", { className: "container relative z-10 max-w-md", children: [
|
|
138
161
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold text-text-alternative md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
|
|
139
162
|
/* @__PURE__ */ jsx("p", { className: "text-text-alternative md:text-md", children: description }),
|
|
140
163
|
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
@@ -183,10 +206,10 @@ const StickyVideoHeroDefaults = {
|
|
|
183
206
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.",
|
|
184
207
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
185
208
|
video: "https://www.youtube.com/embed/8DKLYsikxTs?si=Ch9W0KrDWWUiCMMW",
|
|
186
|
-
|
|
209
|
+
images: [{
|
|
187
210
|
src: "https://picsum.photos/seed/hero-video/1200/800",
|
|
188
211
|
alt: "Relume placeholder image"
|
|
189
|
-
},
|
|
212
|
+
}],
|
|
190
213
|
videoImage: {
|
|
191
214
|
src: "https://picsum.photos/seed/hero-video/1200/800",
|
|
192
215
|
alt: "Relume placeholder image"
|
|
@@ -25,7 +25,7 @@ declare const conf: {
|
|
|
25
25
|
readonly action: {
|
|
26
26
|
type: "custom";
|
|
27
27
|
label: string;
|
|
28
|
-
render: typeof import("
|
|
28
|
+
render: typeof import("../../..").ActionField;
|
|
29
29
|
};
|
|
30
30
|
readonly variant: {
|
|
31
31
|
readonly type: "select";
|
|
@@ -94,14 +94,22 @@ declare const conf: {
|
|
|
94
94
|
video: {
|
|
95
95
|
type: string;
|
|
96
96
|
};
|
|
97
|
-
|
|
98
|
-
type: "
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
alt
|
|
97
|
+
images: {
|
|
98
|
+
readonly type: "array";
|
|
99
|
+
readonly max: 10;
|
|
100
|
+
readonly getItemSummary: (item: {
|
|
101
|
+
alt?: string;
|
|
102
|
+
}, index?: number) => string;
|
|
103
|
+
readonly arrayFields: {
|
|
104
|
+
readonly src: import("@puckeditor/core").Field<string>;
|
|
105
|
+
readonly alt: {
|
|
102
106
|
type: "text";
|
|
103
107
|
};
|
|
104
108
|
};
|
|
109
|
+
readonly defaultItemProps: {
|
|
110
|
+
alt: string;
|
|
111
|
+
src: string;
|
|
112
|
+
};
|
|
105
113
|
};
|
|
106
114
|
videoImage: {
|
|
107
115
|
type: "object";
|
|
@@ -116,6 +124,28 @@ declare const conf: {
|
|
|
116
124
|
type: string;
|
|
117
125
|
label: string;
|
|
118
126
|
objectFields: {
|
|
127
|
+
className: {
|
|
128
|
+
readonly type: "text";
|
|
129
|
+
readonly label: "Class Name";
|
|
130
|
+
readonly ai: {
|
|
131
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
style: {
|
|
135
|
+
readonly type: "object";
|
|
136
|
+
readonly label: "Style";
|
|
137
|
+
readonly objectFields: {};
|
|
138
|
+
readonly ai: {
|
|
139
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
css: {
|
|
143
|
+
readonly type: "textarea";
|
|
144
|
+
readonly label: "Custom CSS";
|
|
145
|
+
readonly ai: {
|
|
146
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
147
|
+
};
|
|
148
|
+
};
|
|
119
149
|
variant: {
|
|
120
150
|
readonly type: "radio";
|
|
121
151
|
readonly label: "Variant";
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { StickyVideoHero, StickyVideoHeroDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
-
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
|
+
import { imageField, imagesField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { heroStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
heading: headingField,
|
|
9
10
|
description: descriptionField,
|
|
10
11
|
buttons: buttonsField,
|
|
11
12
|
video: { type: "text" },
|
|
12
|
-
|
|
13
|
+
images: imagesField,
|
|
13
14
|
videoImage: imageField,
|
|
14
15
|
styles: {
|
|
15
16
|
type: "object",
|
|
16
17
|
label: "Styles",
|
|
17
18
|
objectFields: {
|
|
18
|
-
variant: heroStyleFields.variant
|
|
19
|
+
variant: heroStyleFields.variant,
|
|
20
|
+
...sectionWrapperFields
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
},
|
|
@@ -5,13 +5,16 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../../shadcn/tabs.j
|
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
7
|
import { AnimatePresence, motion } from "framer-motion";
|
|
8
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
8
10
|
const TabHero = (props) => {
|
|
9
|
-
const { defaultTabValue, tabs } = {
|
|
11
|
+
const { defaultTabValue, tabs, styles } = {
|
|
10
12
|
...TabHeroDefaults,
|
|
11
13
|
...props
|
|
12
14
|
};
|
|
15
|
+
const { className: sectionClassName, style: sectionStyle, css } = styles ?? {};
|
|
13
16
|
const [activeTab, setActiveTab] = useState(defaultTabValue);
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
17
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("relative min-h-screen", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs(Tabs, { value: activeTab, onValueChange: setActiveTab, children: [
|
|
15
18
|
/* @__PURE__ */ jsx(AnimatePresence, { initial: false, children: tabs.content.map(
|
|
16
19
|
(content, index) => content.value === activeTab && /* @__PURE__ */ jsx(
|
|
17
20
|
TabsContent,
|
|
@@ -55,7 +58,7 @@ const TabHero = (props) => {
|
|
|
55
58
|
};
|
|
56
59
|
const TabContentBlock = ({ ...content }) => {
|
|
57
60
|
return /* @__PURE__ */ jsxs("div", { className: "flex h-screen flex-col items-center justify-center", children: [
|
|
58
|
-
/* @__PURE__ */ jsx("div", { className: "px-[5%] py-
|
|
61
|
+
/* @__PURE__ */ jsx("div", { className: "px-[5%] py-8 md:py-12 lg:py-14", children: /* @__PURE__ */ jsxs(
|
|
59
62
|
motion.div,
|
|
60
63
|
{
|
|
61
64
|
className: "relative z-10 mx-auto max-w-lg text-center",
|
|
@@ -52,6 +52,34 @@ declare const conf: {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
+
styles: {
|
|
56
|
+
type: string;
|
|
57
|
+
label: string;
|
|
58
|
+
objectFields: {
|
|
59
|
+
className: {
|
|
60
|
+
readonly type: "text";
|
|
61
|
+
readonly label: "Class Name";
|
|
62
|
+
readonly ai: {
|
|
63
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
style: {
|
|
67
|
+
readonly type: "object";
|
|
68
|
+
readonly label: "Style";
|
|
69
|
+
readonly objectFields: {};
|
|
70
|
+
readonly ai: {
|
|
71
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
css: {
|
|
75
|
+
readonly type: "textarea";
|
|
76
|
+
readonly label: "Custom CSS";
|
|
77
|
+
readonly ai: {
|
|
78
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
55
83
|
};
|
|
56
84
|
defaultProps: TabHeroProps;
|
|
57
85
|
render: (props: TabHeroProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TabHero, TabHeroDefaults } from "./component.js";
|
|
2
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
2
3
|
const conf = {
|
|
3
4
|
fields: {
|
|
4
5
|
defaultTabValue: { type: "text" },
|
|
@@ -31,6 +32,11 @@ const conf = {
|
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
}
|
|
35
|
+
},
|
|
36
|
+
styles: {
|
|
37
|
+
type: "object",
|
|
38
|
+
label: "Styles",
|
|
39
|
+
objectFields: { ...sectionWrapperFields }
|
|
34
40
|
}
|
|
35
41
|
},
|
|
36
42
|
defaultProps: TabHeroDefaults,
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useRef } from "react";
|
|
3
4
|
import { useScroll, useTransform, motion } from "framer-motion";
|
|
4
5
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
6
|
+
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
5
7
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
8
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
7
11
|
const ThreeImageParallaxHero = (props) => {
|
|
8
12
|
const {
|
|
9
13
|
heading,
|
|
@@ -17,14 +21,28 @@ const ThreeImageParallaxHero = (props) => {
|
|
|
17
21
|
...ThreeImageParallaxHeroDefaults,
|
|
18
22
|
...props
|
|
19
23
|
};
|
|
20
|
-
const {
|
|
21
|
-
|
|
24
|
+
const {
|
|
25
|
+
className: sectionClassName,
|
|
26
|
+
style: sectionStyle,
|
|
27
|
+
css,
|
|
28
|
+
textAlign = "left",
|
|
29
|
+
responsive = false
|
|
30
|
+
} = { ...ThreeImageParallaxHeroDefaults.styles, ...styles };
|
|
31
|
+
const sectionRef = useRef(null);
|
|
32
|
+
const [scrollContainerRef] = useScrollContainer(sectionRef);
|
|
33
|
+
const { scrollYProgress } = useScroll(
|
|
34
|
+
scrollContainerRef.current ? { container: scrollContainerRef } : void 0
|
|
35
|
+
);
|
|
22
36
|
const isMobile = useMediaQuery("(max-width: 767px)");
|
|
23
37
|
const isTablet = useMediaQuery("(max-width: 991px)");
|
|
24
38
|
const isCenter = textAlign === "center";
|
|
25
39
|
const fixedLeftY = useTransform(scrollYProgress, [0, 1], ["-15.444%", "0%"]);
|
|
26
40
|
const fixedCenterY = useTransform(scrollYProgress, [0, 1], ["15.333%", "0%"]);
|
|
27
|
-
const fixedRightY = useTransform(
|
|
41
|
+
const fixedRightY = useTransform(
|
|
42
|
+
scrollYProgress,
|
|
43
|
+
[0, 0.5],
|
|
44
|
+
["11.333%", "-20%"]
|
|
45
|
+
);
|
|
28
46
|
const responsiveLeftY = useTransform(
|
|
29
47
|
scrollYProgress,
|
|
30
48
|
[0, 1],
|
|
@@ -49,51 +67,91 @@ const ThreeImageParallaxHero = (props) => {
|
|
|
49
67
|
const rightImageTranslate = {
|
|
50
68
|
y: responsive ? responsiveRightY : fixedRightY
|
|
51
69
|
};
|
|
52
|
-
return /* @__PURE__ */ jsx(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
70
|
+
return /* @__PURE__ */ jsx(
|
|
71
|
+
SectionWrapper,
|
|
72
|
+
{
|
|
73
|
+
ref: sectionRef,
|
|
74
|
+
className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName),
|
|
75
|
+
style: sectionStyle,
|
|
76
|
+
css,
|
|
77
|
+
children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
78
|
+
/* @__PURE__ */ jsx("div", { className: "rb-12 mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
className: isCenter ? "mx-auto w-full max-w-lg text-center" : "w-full max-w-lg",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
|
|
84
|
+
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
|
|
85
|
+
/* @__PURE__ */ jsx(
|
|
86
|
+
"div",
|
|
87
|
+
{
|
|
88
|
+
className: isCenter ? "mt-6 flex items-center justify-center gap-4 md:mt-8" : "mt-6 flex flex-wrap gap-4 md:mt-8",
|
|
89
|
+
children: buttons.map((button, index) => /* @__PURE__ */ jsx(
|
|
90
|
+
CompoundButton,
|
|
91
|
+
{
|
|
92
|
+
label: button.label,
|
|
93
|
+
variant: button.variant,
|
|
94
|
+
size: button.size,
|
|
95
|
+
action: button.action,
|
|
96
|
+
icon: button.icon
|
|
97
|
+
},
|
|
98
|
+
index
|
|
99
|
+
))
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
) }),
|
|
105
|
+
/* @__PURE__ */ jsxs("div", { className: "relative flex justify-center gap-6 sm:gap-8 md:gap-0", children: [
|
|
106
|
+
/* @__PURE__ */ jsx(
|
|
107
|
+
motion.div,
|
|
108
|
+
{
|
|
109
|
+
className: "absolute bottom-0 left-0 z-10 w-2/5 overflow-hidden rounded-lg shadow-xl",
|
|
110
|
+
style: leftImageTranslate,
|
|
111
|
+
children: /* @__PURE__ */ jsx(
|
|
112
|
+
CompoundImage,
|
|
113
|
+
{
|
|
114
|
+
src: imageLeft.src,
|
|
115
|
+
alt: imageLeft.alt,
|
|
116
|
+
className: "aspect-square size-full object-cover"
|
|
117
|
+
}
|
|
118
|
+
)
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
/* @__PURE__ */ jsx(
|
|
122
|
+
motion.div,
|
|
123
|
+
{
|
|
124
|
+
className: "mx-[10%] mb-[10%] w-1/2 overflow-hidden rounded-lg shadow-xl",
|
|
125
|
+
style: centerImageTranslate,
|
|
126
|
+
children: /* @__PURE__ */ jsx(
|
|
127
|
+
CompoundImage,
|
|
128
|
+
{
|
|
129
|
+
src: imageCenter.src,
|
|
130
|
+
alt: imageCenter.alt,
|
|
131
|
+
className: "aspect-square size-full object-cover"
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
}
|
|
135
|
+
),
|
|
60
136
|
/* @__PURE__ */ jsx(
|
|
61
|
-
|
|
137
|
+
motion.div,
|
|
62
138
|
{
|
|
63
|
-
className:
|
|
64
|
-
|
|
139
|
+
className: "absolute right-0 top-[10%] w-2/5 overflow-hidden rounded-lg shadow-xl",
|
|
140
|
+
style: rightImageTranslate,
|
|
141
|
+
children: /* @__PURE__ */ jsx(
|
|
142
|
+
CompoundImage,
|
|
143
|
+
{
|
|
144
|
+
src: imageRight.src,
|
|
145
|
+
alt: imageRight.alt,
|
|
146
|
+
className: "aspect-[4/3] size-full object-cover"
|
|
147
|
+
}
|
|
148
|
+
)
|
|
65
149
|
}
|
|
66
150
|
)
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/* @__PURE__ */ jsx(motion.div, { className: "absolute bottom-0 left-0 z-10 w-2/5", style: leftImageTranslate, children: /* @__PURE__ */ jsx(
|
|
72
|
-
CompoundImage,
|
|
73
|
-
{
|
|
74
|
-
src: imageLeft.src,
|
|
75
|
-
alt: imageLeft.alt,
|
|
76
|
-
className: "aspect-square size-full object-cover"
|
|
77
|
-
}
|
|
78
|
-
) }),
|
|
79
|
-
/* @__PURE__ */ jsx(motion.div, { className: "mx-[10%] mb-[10%] w-1/2", style: centerImageTranslate, children: /* @__PURE__ */ jsx(
|
|
80
|
-
CompoundImage,
|
|
81
|
-
{
|
|
82
|
-
src: imageCenter.src,
|
|
83
|
-
alt: imageCenter.alt,
|
|
84
|
-
className: "aspect-square size-full object-cover"
|
|
85
|
-
}
|
|
86
|
-
) }),
|
|
87
|
-
/* @__PURE__ */ jsx(motion.div, { className: "absolute right-0 top-[10%] w-2/5", style: rightImageTranslate, children: /* @__PURE__ */ jsx(
|
|
88
|
-
CompoundImage,
|
|
89
|
-
{
|
|
90
|
-
src: imageRight.src,
|
|
91
|
-
alt: imageRight.alt,
|
|
92
|
-
className: "aspect-[4/3] size-full object-cover"
|
|
93
|
-
}
|
|
94
|
-
) })
|
|
95
|
-
] })
|
|
96
|
-
] }) });
|
|
151
|
+
] })
|
|
152
|
+
] })
|
|
153
|
+
}
|
|
154
|
+
);
|
|
97
155
|
};
|
|
98
156
|
const ThreeImageParallaxHeroDefaults = {
|
|
99
157
|
heading: "Long heading is what you see here in this header section",
|
|
@@ -25,7 +25,7 @@ declare const conf: {
|
|
|
25
25
|
readonly action: {
|
|
26
26
|
type: "custom";
|
|
27
27
|
label: string;
|
|
28
|
-
render: typeof import("
|
|
28
|
+
render: typeof import("../../..").ActionField;
|
|
29
29
|
};
|
|
30
30
|
readonly variant: {
|
|
31
31
|
readonly type: "select";
|
|
@@ -121,6 +121,28 @@ declare const conf: {
|
|
|
121
121
|
styles: {
|
|
122
122
|
type: "object";
|
|
123
123
|
objectFields: {
|
|
124
|
+
className: {
|
|
125
|
+
readonly type: "text";
|
|
126
|
+
readonly label: "Class Name";
|
|
127
|
+
readonly ai: {
|
|
128
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
style: {
|
|
132
|
+
readonly type: "object";
|
|
133
|
+
readonly label: "Style";
|
|
134
|
+
readonly objectFields: {};
|
|
135
|
+
readonly ai: {
|
|
136
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
css: {
|
|
140
|
+
readonly type: "textarea";
|
|
141
|
+
readonly label: "Custom CSS";
|
|
142
|
+
readonly ai: {
|
|
143
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
124
146
|
textAlign: {
|
|
125
147
|
readonly type: "radio";
|
|
126
148
|
readonly label: "Text Align";
|
|
@@ -3,6 +3,7 @@ import { descriptionField, headingField } from "../../../puck-core/core/props/co
|
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { heroStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
heading: headingField,
|
|
@@ -15,7 +16,8 @@ const conf = {
|
|
|
15
16
|
type: "object",
|
|
16
17
|
objectFields: {
|
|
17
18
|
textAlign: heroStyleFields.textAlign,
|
|
18
|
-
responsive: heroStyleFields.responsive
|
|
19
|
+
responsive: heroStyleFields.responsive,
|
|
20
|
+
...sectionWrapperFields
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
},
|
|
@@ -2,21 +2,48 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
4
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
6
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
5
7
|
const VerticalGalleryHero = (props) => {
|
|
6
|
-
const {
|
|
8
|
+
const {
|
|
9
|
+
heading,
|
|
10
|
+
description,
|
|
11
|
+
buttons = [],
|
|
12
|
+
images = [],
|
|
13
|
+
styles
|
|
14
|
+
} = {
|
|
7
15
|
...VerticalGalleryHeroDefaults,
|
|
8
16
|
...props
|
|
9
17
|
};
|
|
18
|
+
const {
|
|
19
|
+
className: sectionClassName,
|
|
20
|
+
style: sectionStyle,
|
|
21
|
+
css
|
|
22
|
+
} = styles ?? {};
|
|
10
23
|
return /* @__PURE__ */ jsxs(
|
|
11
|
-
|
|
24
|
+
SectionWrapper,
|
|
12
25
|
{
|
|
13
|
-
|
|
14
|
-
|
|
26
|
+
className: cn(
|
|
27
|
+
"grid grid-cols-1 gap-y-16 pt-16 md:grid-flow-row md:pt-24 lg:grid-flow-col lg:grid-cols-2 lg:items-center lg:pt-0",
|
|
28
|
+
sectionClassName
|
|
29
|
+
),
|
|
30
|
+
style: sectionStyle,
|
|
31
|
+
css,
|
|
15
32
|
children: [
|
|
16
33
|
/* @__PURE__ */ jsxs("div", { className: "mx-[5%] max-w-[40rem] justify-self-start lg:ml-[5vw] lg:mr-20 lg:justify-self-end", children: [
|
|
17
34
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
|
|
18
35
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
|
|
19
|
-
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(
|
|
36
|
+
/* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(
|
|
37
|
+
CompoundButton,
|
|
38
|
+
{
|
|
39
|
+
label: button.label,
|
|
40
|
+
variant: button.variant,
|
|
41
|
+
size: button.size,
|
|
42
|
+
action: button.action,
|
|
43
|
+
icon: button.icon
|
|
44
|
+
},
|
|
45
|
+
index
|
|
46
|
+
)) })
|
|
20
47
|
] }),
|
|
21
48
|
/* @__PURE__ */ jsx("div", { className: "h-[30rem] overflow-hidden pl-[5vw] pr-[5vw] md:h-[40rem] lg:h-screen lg:pl-0", children: /* @__PURE__ */ jsxs("div", { className: "grid w-full grid-cols-2 gap-x-4", children: [
|
|
22
49
|
/* @__PURE__ */ jsx("div", { className: "-mt-[120%] grid size-full animate-loop-vertically columns-2 grid-cols-1 gap-4 self-center", children: images.map((image, index) => /* @__PURE__ */ jsx("div", { className: "grid size-full grid-cols-1 gap-4", children: /* @__PURE__ */ jsx("div", { className: "relative w-full pt-[120%]", children: /* @__PURE__ */ jsx(
|
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useRef } from "react";
|
|
3
4
|
import { cn } from "../../../../utils/css-utils.js";
|
|
4
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
|
+
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
6
9
|
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
10
|
const ZoomGridHero = (props) => {
|
|
8
|
-
const { heading, description, buttons = [], images = [] } = {
|
|
11
|
+
const { heading, description, buttons = [], images = [], styles } = {
|
|
9
12
|
...ZoomGridHeroDefaults,
|
|
10
13
|
...props
|
|
11
14
|
};
|
|
12
|
-
const {
|
|
15
|
+
const { className: sectionClassName, style: sectionStyle, css } = styles ?? {};
|
|
16
|
+
const sectionRef = useRef(null);
|
|
17
|
+
const [scrollContainerRef] = useScrollContainer(sectionRef);
|
|
18
|
+
const { scrollYProgress } = useScroll(
|
|
19
|
+
scrollContainerRef.current ? { container: scrollContainerRef } : void 0
|
|
20
|
+
);
|
|
13
21
|
const opacityContent = useTransform(scrollYProgress, [0, 0.5], [1, 0]);
|
|
14
22
|
const opacityOverlay = useTransform(scrollYProgress, [0, 1], [1, 0]);
|
|
15
23
|
const scale = useTransform(scrollYProgress, [0, 1], [3.2, 1]);
|
|
16
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { ref: sectionRef, className: cn("relative h-[300vh]", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "sticky top-0 h-screen overflow-hidden", children: [
|
|
17
25
|
/* @__PURE__ */ jsx(
|
|
18
26
|
motion.div,
|
|
19
27
|
{
|
|
20
28
|
className: "flex h-full items-center justify-center",
|
|
21
29
|
style: { opacity: opacityContent },
|
|
22
|
-
children: /* @__PURE__ */ jsx("div", { className: "px-[5%] py-
|
|
30
|
+
children: /* @__PURE__ */ jsx("div", { className: "px-[5%] py-8 md:py-12 lg:py-14", children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 mx-auto max-w-lg text-center", children: [
|
|
23
31
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold text-text-alternative md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
|
|
24
32
|
/* @__PURE__ */ jsx("p", { className: "text-text-alternative md:text-md", children: description }),
|
|
25
33
|
/* @__PURE__ */ jsx("div", { className: "mt-6 flex items-center justify-center gap-x-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|