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
|
@@ -2,6 +2,7 @@ import { TeamGrid, TeamGridDefaults } from "./component.js";
|
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { teamStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
tagline: { type: "text" },
|
|
@@ -32,7 +33,8 @@ const conf = {
|
|
|
32
33
|
textAlign: teamStyleFields.textAlign,
|
|
33
34
|
imageShape: teamStyleFields.imageShape,
|
|
34
35
|
gridColumns: teamStyleFields.gridColumns,
|
|
35
|
-
hasFooter: teamStyleFields.hasFooter
|
|
36
|
+
hasFooter: teamStyleFields.hasFooter,
|
|
37
|
+
...sectionWrapperFields
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
},
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from "../../../shadcn/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 TeamInlineCard = (props) => {
|
|
5
7
|
const { tagline, heading, description, teamMembers, footer, styles } = {
|
|
6
8
|
...TeamInlineCardDefaults,
|
|
7
9
|
...props
|
|
8
10
|
};
|
|
9
|
-
const {
|
|
11
|
+
const {
|
|
12
|
+
className: sectionClassName,
|
|
13
|
+
style: sectionStyle,
|
|
14
|
+
css,
|
|
15
|
+
imageShape = "circle",
|
|
16
|
+
cardLayout = "horizontal"
|
|
17
|
+
} = styles ?? {};
|
|
10
18
|
const imageClass = imageShape === "circle" ? "size-20 min-h-20 min-w-20 rounded-full object-cover" : "aspect-[3/2] w-full object-cover";
|
|
11
|
-
return /* @__PURE__ */ jsx(
|
|
19
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container grid grid-cols-1 items-start md:grid-flow-row md:gap-x-12 lg:gap-x-20", children: [
|
|
12
20
|
/* @__PURE__ */ jsxs("div", { className: "rb-12 mb-12 max-w-lg md:mb-18 lg:mb-20", children: [
|
|
13
21
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
14
22
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -53,7 +53,7 @@ declare const conf: {
|
|
|
53
53
|
readonly action: {
|
|
54
54
|
type: "custom";
|
|
55
55
|
label: string;
|
|
56
|
-
render: typeof import("
|
|
56
|
+
render: typeof import("../../..").ActionField;
|
|
57
57
|
};
|
|
58
58
|
readonly variant: {
|
|
59
59
|
readonly type: "select";
|
|
@@ -105,6 +105,28 @@ declare const conf: {
|
|
|
105
105
|
type: string;
|
|
106
106
|
label: string;
|
|
107
107
|
objectFields: {
|
|
108
|
+
className: {
|
|
109
|
+
readonly type: "text";
|
|
110
|
+
readonly label: "Class Name";
|
|
111
|
+
readonly ai: {
|
|
112
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
style: {
|
|
116
|
+
readonly type: "object";
|
|
117
|
+
readonly label: "Style";
|
|
118
|
+
readonly objectFields: {};
|
|
119
|
+
readonly ai: {
|
|
120
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
css: {
|
|
124
|
+
readonly type: "textarea";
|
|
125
|
+
readonly label: "Custom CSS";
|
|
126
|
+
readonly ai: {
|
|
127
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
108
130
|
imageShape: {
|
|
109
131
|
readonly type: "radio";
|
|
110
132
|
readonly label: "Image Shape";
|
|
@@ -2,6 +2,7 @@ import { TeamInlineCard, TeamInlineCardDefaults } from "./component.js";
|
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { teamStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
tagline: { type: "text" },
|
|
@@ -30,7 +31,8 @@ const conf = {
|
|
|
30
31
|
label: "Styles",
|
|
31
32
|
objectFields: {
|
|
32
33
|
imageShape: teamStyleFields.imageShape,
|
|
33
|
-
cardLayout: teamStyleFields.cardLayout
|
|
34
|
+
cardLayout: teamStyleFields.cardLayout,
|
|
35
|
+
...sectionWrapperFields
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
},
|
|
@@ -3,12 +3,19 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import React__default from "react";
|
|
4
4
|
import { useMediaQuery } from "../../../../hooks/use-media-query.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
6
8
|
const TeamStickyScatter = (props) => {
|
|
7
9
|
const { tagline, heading, description, teamMembers, styles } = {
|
|
8
10
|
...TeamStickyScatterDefaults,
|
|
9
11
|
...props
|
|
10
12
|
};
|
|
11
|
-
const {
|
|
13
|
+
const {
|
|
14
|
+
className: sectionClassName,
|
|
15
|
+
style: sectionStyle,
|
|
16
|
+
css,
|
|
17
|
+
imageShape = "circle"
|
|
18
|
+
} = styles ?? {};
|
|
12
19
|
const isMobile = useMediaQuery("(max-width: 767px)");
|
|
13
20
|
const shouldAddMarginTop = (index) => {
|
|
14
21
|
return index === 1 || index === 3 || index === 7;
|
|
@@ -17,7 +24,7 @@ const TeamStickyScatter = (props) => {
|
|
|
17
24
|
return [0, 2, 3, 4, 6].indexOf(index) !== -1;
|
|
18
25
|
};
|
|
19
26
|
const imageClass = imageShape === "circle" ? "size-20 min-h-20 min-w-20 rounded-full object-cover" : "aspect-square w-full object-cover";
|
|
20
|
-
return /* @__PURE__ */ jsx(
|
|
27
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container relative", children: [
|
|
21
28
|
/* @__PURE__ */ jsxs("div", { className: "static top-[50vh] mx-auto mt-20 max-w-lg translate-y-[-50%] text-center md:sticky", children: [
|
|
22
29
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
23
30
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -36,6 +36,28 @@ declare const conf: {
|
|
|
36
36
|
type: string;
|
|
37
37
|
label: string;
|
|
38
38
|
objectFields: {
|
|
39
|
+
className: {
|
|
40
|
+
readonly type: "text";
|
|
41
|
+
readonly label: "Class Name";
|
|
42
|
+
readonly ai: {
|
|
43
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
style: {
|
|
47
|
+
readonly type: "object";
|
|
48
|
+
readonly label: "Style";
|
|
49
|
+
readonly objectFields: {};
|
|
50
|
+
readonly ai: {
|
|
51
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
css: {
|
|
55
|
+
readonly type: "textarea";
|
|
56
|
+
readonly label: "Custom CSS";
|
|
57
|
+
readonly ai: {
|
|
58
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
39
61
|
imageShape: {
|
|
40
62
|
readonly type: "radio";
|
|
41
63
|
readonly label: "Image Shape";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TeamStickyScatter, TeamStickyScatterDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { teamStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
tagline: { type: "text" },
|
|
@@ -19,7 +20,8 @@ const conf = {
|
|
|
19
20
|
type: "object",
|
|
20
21
|
label: "Styles",
|
|
21
22
|
objectFields: {
|
|
22
|
-
imageShape: teamStyleFields.imageShape
|
|
23
|
+
imageShape: teamStyleFields.imageShape,
|
|
24
|
+
...sectionWrapperFields
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
},
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { jsx, jsxs } 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 TeamTwoColumn = (props) => {
|
|
5
7
|
const { tagline, heading, description, button, teamMembers, styles } = {
|
|
6
8
|
...TeamTwoColumnDefaults,
|
|
7
9
|
...props
|
|
8
10
|
};
|
|
9
11
|
const {
|
|
12
|
+
className: sectionClassName,
|
|
13
|
+
style: sectionStyle,
|
|
14
|
+
css,
|
|
10
15
|
imageShape = "circle",
|
|
11
16
|
cardLayout = "horizontal",
|
|
12
17
|
memberGridColumns = 1
|
|
13
18
|
} = styles ?? {};
|
|
14
19
|
const imageClass = imageShape === "circle" ? "size-20 min-h-20 min-w-20 rounded-full object-cover" : "aspect-[3/2] w-full object-cover";
|
|
15
20
|
const memberGridClass = memberGridColumns === 2 ? "grid grid-cols-1 gap-y-12 md:grid-cols-2 md:gap-x-8 md:gap-y-16 lg:gap-x-12" : "grid grid-cols-1 gap-y-12 md:gap-x-8 md:gap-y-16 lg:gap-x-12";
|
|
16
|
-
return /* @__PURE__ */ jsx(
|
|
21
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container grid grid-cols-1 items-start md:grid-flow-row md:grid-cols-2 md:gap-x-12 lg:gap-x-20", children: [
|
|
17
22
|
/* @__PURE__ */ jsxs("div", { className: "rb-12 mb-12 max-w-lg md:mb-18 lg:mb-20", children: [
|
|
18
23
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
19
24
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -24,7 +24,7 @@ declare const conf: {
|
|
|
24
24
|
readonly action: {
|
|
25
25
|
type: "custom";
|
|
26
26
|
label: string;
|
|
27
|
-
render: typeof import("
|
|
27
|
+
render: typeof import("../../..").ActionField;
|
|
28
28
|
};
|
|
29
29
|
readonly variant: {
|
|
30
30
|
readonly type: "select";
|
|
@@ -91,6 +91,28 @@ declare const conf: {
|
|
|
91
91
|
type: string;
|
|
92
92
|
label: string;
|
|
93
93
|
objectFields: {
|
|
94
|
+
className: {
|
|
95
|
+
readonly type: "text";
|
|
96
|
+
readonly label: "Class Name";
|
|
97
|
+
readonly ai: {
|
|
98
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
style: {
|
|
102
|
+
readonly type: "object";
|
|
103
|
+
readonly label: "Style";
|
|
104
|
+
readonly objectFields: {};
|
|
105
|
+
readonly ai: {
|
|
106
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
css: {
|
|
110
|
+
readonly type: "textarea";
|
|
111
|
+
readonly label: "Custom CSS";
|
|
112
|
+
readonly ai: {
|
|
113
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
114
|
+
};
|
|
115
|
+
};
|
|
94
116
|
imageShape: {
|
|
95
117
|
readonly type: "radio";
|
|
96
118
|
readonly label: "Image Shape";
|
|
@@ -2,6 +2,7 @@ import { TeamTwoColumn, TeamTwoColumnDefaults } from "./component.js";
|
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { teamStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
tagline: { type: "text" },
|
|
@@ -23,7 +24,8 @@ const conf = {
|
|
|
23
24
|
objectFields: {
|
|
24
25
|
imageShape: teamStyleFields.imageShape,
|
|
25
26
|
cardLayout: teamStyleFields.cardLayout,
|
|
26
|
-
memberGridColumns: teamStyleFields.memberGridColumns
|
|
27
|
+
memberGridColumns: teamStyleFields.memberGridColumns,
|
|
28
|
+
...sectionWrapperFields
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
},
|
|
@@ -3,19 +3,23 @@ import { BiSolidStar } from "../../../../node_modules/.pnpm/react-icons@5.6.0_re
|
|
|
3
3
|
import { Button } from "../../../shadcn/button.js";
|
|
4
4
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const BentoTestimonial = (props) => {
|
|
7
8
|
const { heading, description, testimonialCards, styles } = {
|
|
8
9
|
...BentoTestimonialDefaults,
|
|
9
10
|
...props
|
|
10
11
|
};
|
|
11
12
|
const {
|
|
13
|
+
className: sectionClassName,
|
|
14
|
+
style: sectionStyle,
|
|
15
|
+
css,
|
|
12
16
|
hasBackgroundCards = true,
|
|
13
17
|
gridLayout = "4x2"
|
|
14
18
|
} = styles ?? {};
|
|
15
19
|
let logoCardCount = 0;
|
|
16
20
|
let backgroundImageCardCount = 0;
|
|
17
21
|
const gridRowsClass = gridLayout === "4x3" ? "lg:grid-rows-3" : "lg:grid-rows-2";
|
|
18
|
-
return /* @__PURE__ */ jsx(
|
|
22
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
19
23
|
/* @__PURE__ */ jsx("div", { className: "mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-lg text-center", children: [
|
|
20
24
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
21
25
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
|
|
@@ -31,6 +31,28 @@ declare const conf: {
|
|
|
31
31
|
type: string;
|
|
32
32
|
label: string;
|
|
33
33
|
objectFields: {
|
|
34
|
+
className: {
|
|
35
|
+
readonly type: "text";
|
|
36
|
+
readonly label: "Class Name";
|
|
37
|
+
readonly ai: {
|
|
38
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
style: {
|
|
42
|
+
readonly type: "object";
|
|
43
|
+
readonly label: "Style";
|
|
44
|
+
readonly objectFields: {};
|
|
45
|
+
readonly ai: {
|
|
46
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
css: {
|
|
50
|
+
readonly type: "textarea";
|
|
51
|
+
readonly label: "Custom CSS";
|
|
52
|
+
readonly ai: {
|
|
53
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
34
56
|
hasBackgroundCards: {
|
|
35
57
|
readonly type: "radio";
|
|
36
58
|
readonly label: "Has Background Cards";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BentoTestimonial, BentoTestimonialDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
heading: headingField,
|
|
@@ -24,7 +25,8 @@ const conf = {
|
|
|
24
25
|
label: "Styles",
|
|
25
26
|
objectFields: {
|
|
26
27
|
hasBackgroundCards: testimonialStyleFields.hasBackgroundCards,
|
|
27
|
-
gridLayout: testimonialStyleFields.gridLayout
|
|
28
|
+
gridLayout: testimonialStyleFields.gridLayout,
|
|
29
|
+
...sectionWrapperFields
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
},
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { BiSolidStar } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.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 CenteredTestimonial = (props) => {
|
|
5
7
|
const {
|
|
6
8
|
quote,
|
|
@@ -16,10 +18,13 @@ const CenteredTestimonial = (props) => {
|
|
|
16
18
|
...props
|
|
17
19
|
};
|
|
18
20
|
const {
|
|
21
|
+
className: sectionClassName,
|
|
22
|
+
style: sectionStyle,
|
|
23
|
+
css,
|
|
19
24
|
ratingType = "logo",
|
|
20
25
|
attributionLayout = "stacked"
|
|
21
26
|
} = styles ?? {};
|
|
22
|
-
return /* @__PURE__ */ jsx(
|
|
27
|
+
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 w-full max-w-lg", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center", children: [
|
|
23
28
|
ratingType === "logo" && logo && /* @__PURE__ */ jsx("div", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx(CompoundImage, { src: logo.src, alt: logo.alt, className: "max-h-14" }) }),
|
|
24
29
|
ratingType === "stars" && /* @__PURE__ */ jsx("div", { className: "mb-6 flex md:mb-8", children: Array(numberOfStars).fill(null).map((_, starIndex) => /* @__PURE__ */ jsx(BiSolidStar, { className: "mr-1 size-6" }, starIndex)) }),
|
|
25
30
|
/* @__PURE__ */ jsx("blockquote", { className: "text-xl font-bold md:text-2xl", children: quote }),
|
|
@@ -41,6 +41,28 @@ declare const conf: {
|
|
|
41
41
|
type: string;
|
|
42
42
|
label: string;
|
|
43
43
|
objectFields: {
|
|
44
|
+
className: {
|
|
45
|
+
readonly type: "text";
|
|
46
|
+
readonly label: "Class Name";
|
|
47
|
+
readonly ai: {
|
|
48
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
style: {
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly label: "Style";
|
|
54
|
+
readonly objectFields: {};
|
|
55
|
+
readonly ai: {
|
|
56
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
css: {
|
|
60
|
+
readonly type: "textarea";
|
|
61
|
+
readonly label: "Custom CSS";
|
|
62
|
+
readonly ai: {
|
|
63
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
44
66
|
ratingType: {
|
|
45
67
|
readonly type: "radio";
|
|
46
68
|
readonly label: "Rating Type";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CenteredTestimonial, CenteredTestimonialDefaults } from "./component.js";
|
|
2
2
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
quote: { type: "textarea" },
|
|
@@ -15,7 +16,8 @@ const conf = {
|
|
|
15
16
|
label: "Styles",
|
|
16
17
|
objectFields: {
|
|
17
18
|
ratingType: testimonialStyleFields.ratingType,
|
|
18
|
-
attributionLayout: testimonialStyleFields.attributionLayout
|
|
19
|
+
attributionLayout: testimonialStyleFields.attributionLayout,
|
|
20
|
+
...sectionWrapperFields
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
},
|
package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js
CHANGED
|
@@ -6,12 +6,16 @@ import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext
|
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
7
|
import { BiSolidStar } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.js";
|
|
8
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
10
|
const HalfscreenTestimonialCarousel = (props) => {
|
|
10
11
|
const { heading, description, testimonials, styles } = {
|
|
11
12
|
...HalfscreenTestimonialCarouselDefaults,
|
|
12
13
|
...props
|
|
13
14
|
};
|
|
14
15
|
const {
|
|
16
|
+
className: sectionClassName,
|
|
17
|
+
style: sectionStyle,
|
|
18
|
+
css,
|
|
15
19
|
ratingType = "stars",
|
|
16
20
|
hasButton = false,
|
|
17
21
|
overflow = "halfscreen"
|
|
@@ -25,7 +29,7 @@ const HalfscreenTestimonialCarousel = (props) => {
|
|
|
25
29
|
setCurrent(api.selectedScrollSnap() + 1);
|
|
26
30
|
});
|
|
27
31
|
}, [api]);
|
|
28
|
-
return /* @__PURE__ */ jsx(
|
|
32
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn(`overflow-hidden py-8 md:py-12 lg:py-14 ${overflow === "contained" ? "px-[5%]" : ""}`, sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: `grid auto-cols-fr grid-cols-1 items-center gap-12 md:gap-16 lg:grid-cols-2 lg:gap-0 ${overflow === "contained" ? "container" : ""}`, children: [
|
|
29
33
|
/* @__PURE__ */ jsx("div", { className: "flex lg:justify-self-end", children: /* @__PURE__ */ jsxs("div", { className: `w-full max-w-md ${overflow === "halfscreen" ? "mx-[5%] lg:mb-24 lg:ml-[5vw] lg:mr-20" : ""}`, children: [
|
|
30
34
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
31
35
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
|
package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts
CHANGED
|
@@ -39,6 +39,28 @@ declare const conf: {
|
|
|
39
39
|
type: string;
|
|
40
40
|
label: string;
|
|
41
41
|
objectFields: {
|
|
42
|
+
className: {
|
|
43
|
+
readonly type: "text";
|
|
44
|
+
readonly label: "Class Name";
|
|
45
|
+
readonly ai: {
|
|
46
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
style: {
|
|
50
|
+
readonly type: "object";
|
|
51
|
+
readonly label: "Style";
|
|
52
|
+
readonly objectFields: {};
|
|
53
|
+
readonly ai: {
|
|
54
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
css: {
|
|
58
|
+
readonly type: "textarea";
|
|
59
|
+
readonly label: "Custom CSS";
|
|
60
|
+
readonly ai: {
|
|
61
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
42
64
|
ratingType: {
|
|
43
65
|
readonly type: "radio";
|
|
44
66
|
readonly label: "Rating Type";
|
package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HalfscreenTestimonialCarousel, HalfscreenTestimonialCarouselDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
heading: headingField,
|
|
@@ -22,7 +23,8 @@ const conf = {
|
|
|
22
23
|
objectFields: {
|
|
23
24
|
ratingType: testimonialStyleFields.ratingType,
|
|
24
25
|
hasButton: testimonialStyleFields.hasButton,
|
|
25
|
-
overflow: testimonialStyleFields.overflow
|
|
26
|
+
overflow: testimonialStyleFields.overflow,
|
|
27
|
+
...sectionWrapperFields
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { BiSolidStar } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.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 ImageTestimonial = (props) => {
|
|
7
|
+
var _a, _b, _c, _d;
|
|
5
8
|
const {
|
|
6
9
|
numberOfStars,
|
|
7
10
|
quote,
|
|
8
|
-
|
|
11
|
+
images,
|
|
9
12
|
name,
|
|
10
13
|
position,
|
|
11
14
|
logo,
|
|
@@ -14,10 +17,15 @@ const ImageTestimonial = (props) => {
|
|
|
14
17
|
...ImageTestimonialDefaults,
|
|
15
18
|
...props
|
|
16
19
|
};
|
|
17
|
-
const {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
const {
|
|
21
|
+
className: sectionClassName,
|
|
22
|
+
style: sectionStyle,
|
|
23
|
+
css,
|
|
24
|
+
mediaType = "image"
|
|
25
|
+
} = styles ?? {};
|
|
26
|
+
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 w-full auto-cols-fr grid-cols-1 items-center justify-center gap-12 md:grid-cols-2 md:gap-10 lg:gap-x-20", children: [
|
|
27
|
+
/* @__PURE__ */ jsx("div", { className: "order-last md:order-first", children: mediaType === "image" ? /* @__PURE__ */ jsx(CompoundImage, { src: ((_a = images == null ? void 0 : images[0]) == null ? void 0 : _a.src) ?? "", alt: ((_b = images == null ? void 0 : images[0]) == null ? void 0 : _b.alt) ?? "", className: "aspect-square w-full object-cover" }) : /* @__PURE__ */ jsxs("div", { className: "relative aspect-square w-full", children: [
|
|
28
|
+
/* @__PURE__ */ jsx(CompoundImage, { src: ((_c = images == null ? void 0 : images[0]) == null ? void 0 : _c.src) ?? "", alt: ((_d = images == null ? void 0 : images[0]) == null ? void 0 : _d.alt) ?? "", className: "size-full object-cover" }),
|
|
21
29
|
/* @__PURE__ */ jsx("button", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx("div", { className: "flex size-16 items-center justify-center rounded-full bg-white", children: /* @__PURE__ */ jsx("svg", { className: "size-6 text-black", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("polygon", { points: "5,3 19,12 5,21" }) }) }) })
|
|
22
30
|
] }) }),
|
|
23
31
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start", children: [
|
|
@@ -37,7 +45,7 @@ const ImageTestimonial = (props) => {
|
|
|
37
45
|
const ImageTestimonialDefaults = {
|
|
38
46
|
numberOfStars: 5,
|
|
39
47
|
quote: '"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."',
|
|
40
|
-
|
|
48
|
+
images: [{ src: "https://picsum.photos/seed/image-testimonial/800/800", alt: "Testimonial image" }],
|
|
41
49
|
name: "Name Surname",
|
|
42
50
|
position: "Position, Company name",
|
|
43
51
|
logo: { src: "https://d22po4pjz3o32e.cloudfront.net/webflow-logo.svg", alt: "Webflow logo" },
|
|
@@ -7,14 +7,22 @@ declare const conf: {
|
|
|
7
7
|
quote: {
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
type: "
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
alt
|
|
10
|
+
images: {
|
|
11
|
+
readonly type: "array";
|
|
12
|
+
readonly max: 10;
|
|
13
|
+
readonly getItemSummary: (item: {
|
|
14
|
+
alt?: string;
|
|
15
|
+
}, index?: number) => string;
|
|
16
|
+
readonly arrayFields: {
|
|
17
|
+
readonly src: import("@puckeditor/core").Field<string>;
|
|
18
|
+
readonly alt: {
|
|
15
19
|
type: "text";
|
|
16
20
|
};
|
|
17
21
|
};
|
|
22
|
+
readonly defaultItemProps: {
|
|
23
|
+
alt: string;
|
|
24
|
+
src: string;
|
|
25
|
+
};
|
|
18
26
|
};
|
|
19
27
|
logo: {
|
|
20
28
|
type: "object";
|
|
@@ -38,6 +46,28 @@ declare const conf: {
|
|
|
38
46
|
type: string;
|
|
39
47
|
label: string;
|
|
40
48
|
objectFields: {
|
|
49
|
+
className: {
|
|
50
|
+
readonly type: "text";
|
|
51
|
+
readonly label: "Class Name";
|
|
52
|
+
readonly ai: {
|
|
53
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
style: {
|
|
57
|
+
readonly type: "object";
|
|
58
|
+
readonly label: "Style";
|
|
59
|
+
readonly objectFields: {};
|
|
60
|
+
readonly ai: {
|
|
61
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
css: {
|
|
65
|
+
readonly type: "textarea";
|
|
66
|
+
readonly label: "Custom CSS";
|
|
67
|
+
readonly ai: {
|
|
68
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
41
71
|
mediaType: {
|
|
42
72
|
readonly type: "radio";
|
|
43
73
|
readonly label: "Media Type";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ImageTestimonial, ImageTestimonialDefaults } from "./component.js";
|
|
2
|
-
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
2
|
+
import { imageField, imagesField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
quote: { type: "textarea" },
|
|
7
|
-
|
|
8
|
+
images: imagesField,
|
|
8
9
|
logo: imageField,
|
|
9
10
|
name: { type: "text" },
|
|
10
11
|
position: { type: "text" },
|
|
@@ -13,7 +14,8 @@ const conf = {
|
|
|
13
14
|
type: "object",
|
|
14
15
|
label: "Styles",
|
|
15
16
|
objectFields: {
|
|
16
|
-
mediaType: testimonialStyleFields.mediaType
|
|
17
|
+
mediaType: testimonialStyleFields.mediaType,
|
|
18
|
+
...sectionWrapperFields
|
|
17
19
|
}
|
|
18
20
|
}
|
|
19
21
|
},
|