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
|
@@ -7,47 +7,53 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
7
7
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
8
8
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
9
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
11
|
const TabFeature = (props) => {
|
|
11
|
-
const {
|
|
12
|
+
const {
|
|
13
|
+
defaultTabValue,
|
|
14
|
+
tabs = [],
|
|
15
|
+
styles
|
|
16
|
+
} = {
|
|
12
17
|
...TabFeatureDefaults,
|
|
13
18
|
...props
|
|
14
19
|
};
|
|
20
|
+
const {
|
|
21
|
+
className: sectionClassName,
|
|
22
|
+
style: sectionStyle,
|
|
23
|
+
css
|
|
24
|
+
} = styles ?? {};
|
|
15
25
|
const [isIframeLoaded, setIsIframeLoaded] = useState(false);
|
|
16
|
-
return /* @__PURE__ */ jsx(
|
|
17
|
-
|
|
26
|
+
return /* @__PURE__ */ jsx(
|
|
27
|
+
SectionWrapper,
|
|
18
28
|
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
),
|
|
48
|
-
tab.videoUrl && tab.image && /* @__PURE__ */ jsxs(Dialog, { children: [
|
|
49
|
-
/* @__PURE__ */ jsx(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxs("button", { className: "relative flex w-full items-center justify-center", children: [
|
|
50
|
-
/* @__PURE__ */ jsx(
|
|
29
|
+
className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName),
|
|
30
|
+
style: sectionStyle,
|
|
31
|
+
css,
|
|
32
|
+
children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs(
|
|
33
|
+
Tabs,
|
|
34
|
+
{
|
|
35
|
+
defaultValue: defaultTabValue,
|
|
36
|
+
className: "grid grid-cols-1 items-center gap-y-12 md:grid-cols-2 md:gap-x-12 lg:gap-x-20",
|
|
37
|
+
children: [
|
|
38
|
+
/* @__PURE__ */ jsx(TabsList, { className: "col-start-1 col-end-2 row-start-1 row-end-2 h-full! w-full! grid grid-cols-1 items-center gap-x-4 gap-y-4", children: tabs.map((tab) => /* @__PURE__ */ jsxs(
|
|
39
|
+
TabsTrigger,
|
|
40
|
+
{
|
|
41
|
+
value: tab.value,
|
|
42
|
+
className: "flex-col items-start justify-start whitespace-normal border-0 border-l-2 border-transparent py-2 px-2 pr-0 text-left data-[state=active]:border-black data-[state=active]:bg-transparent data-[state=active]:text-text-primary",
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ jsx("h3", { className: "mb-3 text-2xl font-bold md:mb-2 md:text-3xl md:leading-[1.3] lg:text-4xl", children: tab.heading }),
|
|
45
|
+
/* @__PURE__ */ jsx("p", { children: tab.description })
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
tab.value
|
|
49
|
+
)) }),
|
|
50
|
+
/* @__PURE__ */ jsx("div", { className: "size-full flex items-center justify-center overflow-hidden", children: tabs.map((tab) => /* @__PURE__ */ jsxs(
|
|
51
|
+
TabsContent,
|
|
52
|
+
{
|
|
53
|
+
value: tab.value,
|
|
54
|
+
className: "data-[state=active]:animate-tabs",
|
|
55
|
+
children: [
|
|
56
|
+
tab.image && !tab.videoUrl && /* @__PURE__ */ jsx(
|
|
51
57
|
CompoundImage,
|
|
52
58
|
{
|
|
53
59
|
src: tab.image.src,
|
|
@@ -55,33 +61,45 @@ const TabFeature = (props) => {
|
|
|
55
61
|
className: "size-full object-cover"
|
|
56
62
|
}
|
|
57
63
|
),
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"z-0 mx-auto aspect-video size-full md:w-[738px] lg:w-[940px]",
|
|
68
|
-
{ visible: isIframeLoaded, hidden: !isIframeLoaded }
|
|
64
|
+
tab.videoUrl && tab.image && /* @__PURE__ */ jsxs(Dialog, { children: [
|
|
65
|
+
/* @__PURE__ */ jsx(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxs("button", { className: "relative flex w-full items-center justify-center", children: [
|
|
66
|
+
/* @__PURE__ */ jsx(
|
|
67
|
+
CompoundImage,
|
|
68
|
+
{
|
|
69
|
+
src: tab.image.src,
|
|
70
|
+
alt: tab.image.alt,
|
|
71
|
+
className: "size-full object-cover"
|
|
72
|
+
}
|
|
69
73
|
),
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
74
|
+
/* @__PURE__ */ jsx(FaCirclePlay, { className: "absolute z-20 size-16 text-white" }),
|
|
75
|
+
/* @__PURE__ */ jsx("span", { className: "absolute inset-0 z-10 bg-black/50" })
|
|
76
|
+
] }) }),
|
|
77
|
+
/* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
78
|
+
!isIframeLoaded && /* @__PURE__ */ jsx(CgSpinner, { className: "mx-auto size-16 animate-spin text-white" }),
|
|
79
|
+
/* @__PURE__ */ jsx(
|
|
80
|
+
"iframe",
|
|
81
|
+
{
|
|
82
|
+
className: cn(
|
|
83
|
+
"z-0 mx-auto aspect-video size-full md:w-[738px] lg:w-[940px]",
|
|
84
|
+
{ visible: isIframeLoaded, hidden: !isIframeLoaded }
|
|
85
|
+
),
|
|
86
|
+
src: tab.videoUrl,
|
|
87
|
+
allow: "autoplay; encrypted-media; picture-in-picture",
|
|
88
|
+
allowFullScreen: true,
|
|
89
|
+
onLoad: () => setIsIframeLoaded(true)
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
] })
|
|
93
|
+
] })
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
tab.value
|
|
97
|
+
)) })
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
) })
|
|
83
101
|
}
|
|
84
|
-
)
|
|
102
|
+
);
|
|
85
103
|
};
|
|
86
104
|
const TabFeatureDefaults = {
|
|
87
105
|
defaultTabValue: "tab-1",
|
|
@@ -7,6 +7,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
7
7
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
8
8
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
9
9
|
import { cn } from "../../../../utils/css-utils.js";
|
|
10
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
10
11
|
const TextMediaSplit = (props) => {
|
|
11
12
|
const {
|
|
12
13
|
tagline,
|
|
@@ -21,6 +22,9 @@ const TextMediaSplit = (props) => {
|
|
|
21
22
|
...props
|
|
22
23
|
};
|
|
23
24
|
const {
|
|
25
|
+
className: sectionClassName,
|
|
26
|
+
style: sectionStyle,
|
|
27
|
+
css,
|
|
24
28
|
mediaType = "image",
|
|
25
29
|
hasTagline = true,
|
|
26
30
|
hasButtons = true
|
|
@@ -57,7 +61,7 @@ const TextMediaSplit = (props) => {
|
|
|
57
61
|
}
|
|
58
62
|
return /* @__PURE__ */ jsx(CompoundImage, { src: image.src, className: "w-full object-cover", alt: image.alt });
|
|
59
63
|
};
|
|
60
|
-
return /* @__PURE__ */ jsx(
|
|
64
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-y-12 md:grid-cols-2 md:items-center md:gap-x-12 lg:gap-x-20", children: [
|
|
61
65
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
62
66
|
hasTagline && /* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
63
67
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -28,7 +28,7 @@ declare const conf: {
|
|
|
28
28
|
readonly action: {
|
|
29
29
|
type: "custom";
|
|
30
30
|
label: string;
|
|
31
|
-
render: typeof import("
|
|
31
|
+
render: typeof import("../../..").ActionField;
|
|
32
32
|
};
|
|
33
33
|
readonly variant: {
|
|
34
34
|
readonly type: "select";
|
|
@@ -110,6 +110,28 @@ declare const conf: {
|
|
|
110
110
|
type: string;
|
|
111
111
|
label: string;
|
|
112
112
|
objectFields: {
|
|
113
|
+
className: {
|
|
114
|
+
readonly type: "text";
|
|
115
|
+
readonly label: "Class Name";
|
|
116
|
+
readonly ai: {
|
|
117
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
style: {
|
|
121
|
+
readonly type: "object";
|
|
122
|
+
readonly label: "Style";
|
|
123
|
+
readonly objectFields: {};
|
|
124
|
+
readonly ai: {
|
|
125
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
css: {
|
|
129
|
+
readonly type: "textarea";
|
|
130
|
+
readonly label: "Custom CSS";
|
|
131
|
+
readonly ai: {
|
|
132
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
113
135
|
mediaType: {
|
|
114
136
|
readonly type: "radio";
|
|
115
137
|
readonly label: "Media Type";
|
|
@@ -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 { featureStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -18,7 +19,8 @@ const conf = {
|
|
|
18
19
|
mediaType: featureStyleFields.mediaType,
|
|
19
20
|
contentSlots: featureStyleFields.contentSlots,
|
|
20
21
|
hasTagline: featureStyleFields.hasTagline,
|
|
21
|
-
hasButtons: featureStyleFields.hasButtons
|
|
22
|
+
hasButtons: featureStyleFields.hasButtons,
|
|
23
|
+
...sectionWrapperFields
|
|
22
24
|
}
|
|
23
25
|
}
|
|
24
26
|
},
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
3
3
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
4
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
4
6
|
const TextOnlySection = (props) => {
|
|
5
7
|
const {
|
|
6
8
|
tagline,
|
|
@@ -16,6 +18,9 @@ const TextOnlySection = (props) => {
|
|
|
16
18
|
...props
|
|
17
19
|
};
|
|
18
20
|
const {
|
|
21
|
+
className: sectionClassName,
|
|
22
|
+
style: sectionStyle,
|
|
23
|
+
css,
|
|
19
24
|
textLayout = "single",
|
|
20
25
|
bgMedia = "none",
|
|
21
26
|
hasTagline = true,
|
|
@@ -47,7 +52,7 @@ const TextOnlySection = (props) => {
|
|
|
47
52
|
] });
|
|
48
53
|
};
|
|
49
54
|
if (bgMedia === "image" && bgImage) {
|
|
50
|
-
return /* @__PURE__ */ jsxs(
|
|
55
|
+
return /* @__PURE__ */ jsxs(SectionWrapper, { className: cn("relative px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: [
|
|
51
56
|
/* @__PURE__ */ jsx("div", { className: "container relative z-10", children: renderContent() }),
|
|
52
57
|
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
53
58
|
/* @__PURE__ */ jsx(CompoundImage, { src: bgImage.src, className: "size-full object-cover", alt: bgImage.alt }),
|
|
@@ -56,7 +61,7 @@ const TextOnlySection = (props) => {
|
|
|
56
61
|
] });
|
|
57
62
|
}
|
|
58
63
|
if (bgMedia === "video" && bgVideo) {
|
|
59
|
-
return /* @__PURE__ */ jsxs(
|
|
64
|
+
return /* @__PURE__ */ jsxs(SectionWrapper, { className: cn("relative px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: [
|
|
60
65
|
/* @__PURE__ */ jsx("div", { className: "container relative z-10", children: renderContent() }),
|
|
61
66
|
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
62
67
|
/* @__PURE__ */ jsx("video", { className: "size-full object-cover", autoPlay: true, loop: true, muted: true, children: /* @__PURE__ */ jsx("source", { src: bgVideo, type: "video/mp4" }) }),
|
|
@@ -64,7 +69,7 @@ const TextOnlySection = (props) => {
|
|
|
64
69
|
] })
|
|
65
70
|
] });
|
|
66
71
|
}
|
|
67
|
-
return /* @__PURE__ */ jsx(
|
|
72
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: renderContent() }) });
|
|
68
73
|
};
|
|
69
74
|
const TextOnlySectionDefaults = {
|
|
70
75
|
tagline: "Tagline",
|
|
@@ -28,7 +28,7 @@ declare const conf: {
|
|
|
28
28
|
readonly action: {
|
|
29
29
|
type: "custom";
|
|
30
30
|
label: string;
|
|
31
|
-
render: typeof import("
|
|
31
|
+
render: typeof import("../../..").ActionField;
|
|
32
32
|
};
|
|
33
33
|
readonly variant: {
|
|
34
34
|
readonly type: "select";
|
|
@@ -124,6 +124,28 @@ declare const conf: {
|
|
|
124
124
|
type: string;
|
|
125
125
|
label: string;
|
|
126
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
|
+
};
|
|
127
149
|
textLayout: {
|
|
128
150
|
readonly type: "radio";
|
|
129
151
|
readonly label: "Text Layout";
|
|
@@ -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 { featureStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -26,7 +27,8 @@ const conf = {
|
|
|
26
27
|
textLayout: featureStyleFields.textLayout,
|
|
27
28
|
bgMedia: featureStyleFields.bgMedia,
|
|
28
29
|
hasTagline: featureStyleFields.hasTagline,
|
|
29
|
-
hasButtons: featureStyleFields.hasButtons
|
|
30
|
+
hasButtons: featureStyleFields.hasButtons,
|
|
31
|
+
...sectionWrapperFields
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
},
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
3
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
4
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
3
5
|
const CenteredMinimalFooter = (props) => {
|
|
4
|
-
const { logo, columnLinks, socialMediaLinks, footerText, footerLinks } = { ...CenteredMinimalFooterDefaults, ...props };
|
|
5
|
-
|
|
6
|
+
const { logo, columnLinks, socialMediaLinks, footerText, footerLinks, styles } = { ...CenteredMinimalFooterDefaults, ...props };
|
|
7
|
+
const { className: sectionClassName, style: sectionStyle, css } = styles ?? {};
|
|
8
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-9 lg:py-10", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
6
9
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center justify-center justify-items-center gap-x-[4vw] gap-y-12 pb-12 md:pb-18 lg:grid-cols-[0.25fr_1fr_0.25fr] lg:justify-between lg:gap-y-4 lg:pb-20", children: [
|
|
7
10
|
/* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, className: "lg:justify-self-start", children: /* @__PURE__ */ jsx(CompoundImage, { src: logo == null ? void 0 : logo.src, alt: logo == null ? void 0 : logo.alt, className: "inline-block" }) }),
|
|
8
11
|
columnLinks == null ? void 0 : columnLinks.map((col, i) => /* @__PURE__ */ jsx("ul", { className: "grid grid-flow-row grid-cols-1 items-start justify-center justify-items-center gap-6 md:grid-flow-col md:grid-cols-[max-content] md:justify-center md:justify-items-start", children: col.links.map((l, li) => /* @__PURE__ */ jsx("li", { className: "font-semibold", children: /* @__PURE__ */ jsx("a", { href: l.url, children: l.title }) }, li)) }, i)),
|
|
@@ -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";
|
|
@@ -81,6 +81,28 @@ declare const conf: {
|
|
|
81
81
|
type: string;
|
|
82
82
|
label: string;
|
|
83
83
|
objectFields: {
|
|
84
|
+
className: {
|
|
85
|
+
readonly type: "text";
|
|
86
|
+
readonly label: "Class Name";
|
|
87
|
+
readonly ai: {
|
|
88
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
style: {
|
|
92
|
+
readonly type: "object";
|
|
93
|
+
readonly label: "Style";
|
|
94
|
+
readonly objectFields: {};
|
|
95
|
+
readonly ai: {
|
|
96
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
css: {
|
|
100
|
+
readonly type: "textarea";
|
|
101
|
+
readonly label: "Custom CSS";
|
|
102
|
+
readonly ai: {
|
|
103
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
84
106
|
hasCompanyImage: {
|
|
85
107
|
readonly type: "radio";
|
|
86
108
|
readonly label: "Company Image";
|
package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
3
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
4
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const ContactLinksFooter = (props) => {
|
|
5
6
|
const { logo, address, contact, columnLinks, socialMediaLinks, footerText, footerLinks, styles } = { ...ContactLinksFooterDefaults, ...props };
|
|
6
|
-
const { bordered = false } = styles ?? {};
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
+
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
8
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-9 lg:py-10", { "border border-border-primary mx-[5%]": bordered }, sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
8
9
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-x-[4vw] gap-y-12 pb-12 md:gap-y-16 md:pb-18 lg:grid-cols-[1fr_0.5fr] lg:gap-y-4 lg:pb-20", children: [
|
|
9
10
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
10
11
|
/* @__PURE__ */ jsx("div", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(CompoundImage, { src: logo == null ? void 0 : logo.src, alt: logo == null ? void 0 : logo.alt, className: "inline-block" }) }) }),
|
|
@@ -20,6 +20,28 @@ declare const conf: {
|
|
|
20
20
|
type: string;
|
|
21
21
|
label: string;
|
|
22
22
|
objectFields: {
|
|
23
|
+
className: {
|
|
24
|
+
readonly type: "text";
|
|
25
|
+
readonly label: "Class Name";
|
|
26
|
+
readonly ai: {
|
|
27
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
style: {
|
|
31
|
+
readonly type: "object";
|
|
32
|
+
readonly label: "Style";
|
|
33
|
+
readonly objectFields: {};
|
|
34
|
+
readonly ai: {
|
|
35
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
css: {
|
|
39
|
+
readonly type: "textarea";
|
|
40
|
+
readonly label: "Custom CSS";
|
|
41
|
+
readonly ai: {
|
|
42
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
23
45
|
bordered: {
|
|
24
46
|
readonly type: "radio";
|
|
25
47
|
readonly label: "Bordered";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ContactLinksFooter, ContactLinksFooterDefaults } from "./contact-links-footer.js";
|
|
2
2
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { footerStyleFields } from "../props.js";
|
|
4
|
-
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
|
+
const conf = { fields: { logo: imageField, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, hasCompanyImage: footerStyleFields.hasCompanyImage, ...sectionWrapperFields } } }, defaultProps: ContactLinksFooterDefaults, render: ContactLinksFooter };
|
|
5
6
|
export {
|
|
6
7
|
ContactLinksFooter,
|
|
7
8
|
ContactLinksFooterDefaults,
|
|
@@ -2,10 +2,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
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";
|
|
5
6
|
const CtaLinksFooter = (props) => {
|
|
6
7
|
const { logo, heading, description, buttons, columnLinks, socialMediaLinks, footerText, styles } = { ...CtaLinksFooterDefaults, ...props };
|
|
7
|
-
const { bordered = false } = styles ?? {};
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
+
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
9
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-9 lg:py-10", { "border border-border-primary mx-[5%]": bordered }, sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
9
10
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-border-primary", children: [
|
|
10
11
|
/* @__PURE__ */ jsxs("div", { className: "mb-12 grid grid-cols-1 gap-x-[8vw] gap-y-12 md:mb-18 md:gap-y-16 lg:mb-20 lg:grid-cols-[1fr_0.5fr] lg:gap-y-20", children: [
|
|
11
12
|
/* @__PURE__ */ jsxs("div", { className: "max-w-md", children: [
|
|
@@ -34,7 +34,7 @@ declare const conf: {
|
|
|
34
34
|
readonly action: {
|
|
35
35
|
type: "custom";
|
|
36
36
|
label: string;
|
|
37
|
-
render: typeof import("
|
|
37
|
+
render: typeof import("../../..").ActionField;
|
|
38
38
|
};
|
|
39
39
|
readonly variant: {
|
|
40
40
|
readonly type: "select";
|
|
@@ -107,6 +107,28 @@ declare const conf: {
|
|
|
107
107
|
type: string;
|
|
108
108
|
label: string;
|
|
109
109
|
objectFields: {
|
|
110
|
+
className: {
|
|
111
|
+
readonly type: "text";
|
|
112
|
+
readonly label: "Class Name";
|
|
113
|
+
readonly ai: {
|
|
114
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
style: {
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
readonly label: "Style";
|
|
120
|
+
readonly objectFields: {};
|
|
121
|
+
readonly ai: {
|
|
122
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
css: {
|
|
126
|
+
readonly type: "textarea";
|
|
127
|
+
readonly label: "Custom CSS";
|
|
128
|
+
readonly ai: {
|
|
129
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
110
132
|
bordered: {
|
|
111
133
|
readonly type: "radio";
|
|
112
134
|
readonly label: "Bordered";
|
|
@@ -3,7 +3,8 @@ 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 { footerStyleFields } from "../props.js";
|
|
6
|
-
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
|
+
const conf = { fields: { logo: imageField, heading: headingField, description: descriptionField, buttons: buttonsField, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, ...sectionWrapperFields } } }, defaultProps: CtaLinksFooterDefaults, render: CtaLinksFooter };
|
|
7
8
|
export {
|
|
8
9
|
CtaLinksFooter,
|
|
9
10
|
CtaLinksFooterDefaults,
|
|
@@ -32,7 +32,7 @@ declare const conf: {
|
|
|
32
32
|
readonly action: {
|
|
33
33
|
type: "custom";
|
|
34
34
|
label: string;
|
|
35
|
-
render: typeof import("
|
|
35
|
+
render: typeof import("../../..").ActionField;
|
|
36
36
|
};
|
|
37
37
|
readonly variant: {
|
|
38
38
|
readonly type: "select";
|
|
@@ -88,6 +88,28 @@ declare const conf: {
|
|
|
88
88
|
type: string;
|
|
89
89
|
label: string;
|
|
90
90
|
objectFields: {
|
|
91
|
+
className: {
|
|
92
|
+
readonly type: "text";
|
|
93
|
+
readonly label: "Class Name";
|
|
94
|
+
readonly ai: {
|
|
95
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
style: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly label: "Style";
|
|
101
|
+
readonly objectFields: {};
|
|
102
|
+
readonly ai: {
|
|
103
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
css: {
|
|
107
|
+
readonly type: "textarea";
|
|
108
|
+
readonly label: "Custom CSS";
|
|
109
|
+
readonly ai: {
|
|
110
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
91
113
|
bordered: {
|
|
92
114
|
readonly type: "radio";
|
|
93
115
|
readonly label: "Bordered";
|
|
@@ -29,7 +29,7 @@ declare const conf: {
|
|
|
29
29
|
readonly action: {
|
|
30
30
|
type: "custom";
|
|
31
31
|
label: string;
|
|
32
|
-
render: typeof import("
|
|
32
|
+
render: typeof import("../../..").ActionField;
|
|
33
33
|
};
|
|
34
34
|
readonly variant: {
|
|
35
35
|
readonly type: "select";
|
|
@@ -85,6 +85,28 @@ declare const conf: {
|
|
|
85
85
|
type: string;
|
|
86
86
|
label: string;
|
|
87
87
|
objectFields: {
|
|
88
|
+
className: {
|
|
89
|
+
readonly type: "text";
|
|
90
|
+
readonly label: "Class Name";
|
|
91
|
+
readonly ai: {
|
|
92
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
style: {
|
|
96
|
+
readonly type: "object";
|
|
97
|
+
readonly label: "Style";
|
|
98
|
+
readonly objectFields: {};
|
|
99
|
+
readonly ai: {
|
|
100
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
css: {
|
|
104
|
+
readonly type: "textarea";
|
|
105
|
+
readonly label: "Custom CSS";
|
|
106
|
+
readonly ai: {
|
|
107
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
88
110
|
bordered: {
|
|
89
111
|
readonly type: "radio";
|
|
90
112
|
readonly label: "Bordered";
|