dune-react 0.0.31 → 0.0.33
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/puck-base/article-card.d.ts +2 -2
- package/dist/components/puck-base/article-card.js +2 -2
- package/dist/components/puck-base/card.d.ts +2 -2
- package/dist/components/puck-base/card.js +2 -2
- package/dist/components/puck-base/index.d.ts +2 -1
- package/dist/components/puck-base/media.d.ts +12 -0
- package/dist/components/puck-base/media.js +576 -0
- package/dist/components/puck-base/social-links.d.ts +7 -0
- package/dist/components/puck-base/social-links.js +23 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +6 -6
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +1 -1
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +2 -2
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +42 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +10 -10
- package/dist/components/puck-block/banner-sections/dual-row-marquee/index.d.ts +2 -2
- package/dist/components/puck-block/banner-sections/dual-row-marquee/index.js +3 -3
- package/dist/components/puck-block/banner-sections/props.d.ts +9 -12
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +1 -5
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -5
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -5
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +4 -8
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +2 -2
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -5
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -8
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +2 -2
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +2 -2
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -8
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +2 -2
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +10 -14
- package/dist/components/puck-block/contact-sections/props.d.ts +5 -16
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.d.ts +7 -2
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -2
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +57 -8
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +7 -7
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +40 -47
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.d.ts +2 -2
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +2 -2
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +2 -2
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +2 -2
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.d.ts +2 -2
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +6 -6
- package/dist/components/puck-block/cta-sections/props.d.ts +3 -3
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +2 -2
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +4 -4
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +2 -2
- package/dist/components/puck-block/cta-sections/text-block-cta/index.js +3 -3
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +3 -3
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +10 -10
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.d.ts +2 -2
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +2 -2
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.js +2 -2
- package/dist/components/puck-block/faq-sections/props.d.ts +3 -3
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +6 -6
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -3
- package/dist/components/puck-block/feature-sections/feature-list-split/component.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +6 -6
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -3
- package/dist/components/puck-block/feature-sections/props.d.ts +3 -3
- package/dist/components/puck-block/feature-sections/tab-feature/component.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +12 -12
- package/dist/components/puck-block/feature-sections/tab-feature/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/tab-feature/index.js +2 -2
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -5
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +2 -2
- package/dist/components/puck-block/feature-sections/text-only-section/component.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +2 -2
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +2 -2
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +9 -9
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +11 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +3 -2
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +11 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.d.ts +7 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +9 -9
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +61 -10
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +3 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +9 -9
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +61 -10
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +3 -3
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +61 -10
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +11 -0
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +61 -10
- package/dist/components/puck-block/footer-sections/props.d.ts +17 -10
- package/dist/components/puck-block/footer-sections/props.js +8 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +7 -7
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +12 -12
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +12 -12
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +14 -14
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +7 -7
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +6 -6
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +9 -9
- package/dist/components/puck-block/gallery-sections/props.d.ts +8 -8
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +11 -11
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +5 -5
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -26
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +6 -6
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +1 -1
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +2 -2
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +7 -7
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +31 -24
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +92 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.js +9 -4
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +32 -25
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +92 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/index.js +5 -3
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +27 -22
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +91 -3
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +3 -3
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +23 -18
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +91 -3
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +3 -3
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +64 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +3 -3
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +13 -6
- package/dist/components/puck-block/header-sections/props.d.ts +17 -5
- package/dist/components/puck-block/header-sections/props.js +8 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +64 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +6 -4
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +9 -5
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +8 -8
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/carousel-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.d.ts +3 -3
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +14 -14
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.js +3 -3
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +11 -11
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +5 -5
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +1 -1
- 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 +16 -16
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +11 -11
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.d.ts +3 -3
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +6 -6
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.js +3 -3
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +7 -7
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +4 -4
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.d.ts +4 -4
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +16 -16
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +12 -12
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/props.d.ts +3 -3
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +5 -5
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +5 -5
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +1 -1
- 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 +9 -9
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +12 -12
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +13 -13
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +3 -3
- package/dist/components/puck-block/hero-sections/tab-hero/component.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +7 -6
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +4 -7
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +2 -7
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.d.ts +4 -4
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +4 -4
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +4 -4
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +11 -11
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +7 -7
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.js +2 -2
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -5
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +2 -2
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +4 -4
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +2 -2
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +2 -2
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -3
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.d.ts +2 -2
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +7 -7
- package/dist/components/puck-block/metrics-sections/props.d.ts +6 -6
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +2 -2
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +4 -4
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +2 -2
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +3 -3
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.d.ts +3 -3
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +11 -11
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +13 -0
- package/dist/components/puck-block/pricing-sections/props.d.ts +2 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.d.ts +2 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +3 -3
- package/dist/components/puck-block/pricing-sections/split-pricing/component.d.ts +2 -2
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +4 -3
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.d.ts +2 -2
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.d.ts +2 -2
- package/dist/components/puck-block/registry.generated.d.ts +796 -124
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +2 -2
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +2 -2
- package/dist/components/puck-block/showcase-sections/props.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +2 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +2 -2
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +8 -8
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +2 -2
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +2 -2
- package/dist/components/puck-block/team-sections/props.d.ts +2 -3
- package/dist/components/puck-block/team-sections/team-carousel/component.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-carousel/component.js +3 -3
- package/dist/components/puck-block/team-sections/team-grid/component.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-grid/component.js +3 -3
- package/dist/components/puck-block/team-sections/team-inline-card/component.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-inline-card/component.js +3 -3
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +3 -3
- package/dist/components/puck-block/team-sections/team-two-column/component.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-two-column/component.js +3 -3
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.d.ts +4 -4
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +8 -8
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.d.ts +3 -3
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +4 -4
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -3
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.d.ts +3 -3
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +3 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +3 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +10 -10
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +3 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.d.ts +3 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +7 -7
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -3
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.d.ts +2 -2
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.d.ts +2 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -4
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.d.ts +3 -2
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +6 -3
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.d.ts +4 -4
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +5 -5
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.d.ts +4 -4
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -6
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.d.ts +3 -3
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +3 -3
- package/dist/components/puck-block/text-sections/blog-article/component.d.ts +4 -7
- package/dist/components/puck-block/text-sections/blog-article/component.js +9 -17
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +39 -14
- package/dist/components/puck-block/text-sections/blog-article/index.js +4 -10
- package/dist/components/puck-block/text-sections/props.d.ts +3 -3
- package/dist/components/puck-block/text-sections/prose-content/component.d.ts +2 -2
- package/dist/components/puck-block/text-sections/prose-content/component.js +3 -3
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +1 -1
- package/dist/components/puck-block/text-sections/prose-content/index.js +2 -2
- package/dist/components/puck-block/text-sections/prose-sidebar/component.d.ts +2 -2
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +1 -1
- package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -5
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +1 -1
- package/dist/components/puck-block/text-sections/side-media-content/index.js +2 -2
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.d.ts +2 -2
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +4 -4
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +2 -2
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +2 -2
- package/dist/components/puck-block/text-sections/text-header/component.d.ts +2 -2
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +1 -1
- package/dist/components/puck-core/core/context/editor-context.d.ts +2 -0
- package/dist/components/puck-core/core/fields.d.ts +2 -2
- package/dist/components/puck-core/core/props/content.d.ts +3 -3
- package/dist/components/puck-core/core/props/index.d.ts +2 -2
- package/dist/components/puck-core/core/props/index.js +7 -0
- package/dist/components/puck-core/core/props/interactive.d.ts +44 -1
- package/dist/components/puck-core/core/props/interactive.js +24 -1
- package/dist/components/puck-core/core/props/media.d.ts +8 -8
- package/dist/components/puck-core/core/props/media.js +21 -21
- package/dist/components/puck-core/core/puck-fields-to-zod.d.ts +40 -0
- package/dist/components/puck-core/core/puck-fields-to-zod.js +113 -0
- package/dist/components/puck-core/core/social-icons.d.ts +5 -0
- package/dist/components/puck-core/core/social-icons.js +48 -0
- package/dist/components/puck-core/core/with-editable.js +9 -2
- package/dist/components/puck-core/fields/media-upload-field.d.ts +7 -0
- package/dist/components/puck-core/fields/{image-upload-field.js → media-upload-field.js} +71 -28
- package/dist/components/puck-core/index.d.ts +3 -2
- package/dist/components/shadcn/tabs.d.ts +2 -1
- package/dist/components/shadcn/tabs.js +21 -3
- package/dist/components/shadcn/video-iframe.d.ts +2 -1
- package/dist/components/shadcn/video-iframe.js +7 -6
- package/dist/index.js +18 -12
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js +44 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js +43 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js +29 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js +665 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js +569 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js +410 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js +74 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js +37 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js +72 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js +314 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js +95 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.js +81 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js +1345 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js +362 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js +430 -0
- package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js +8 -0
- package/package.json +3 -2
- package/dist/components/puck-base/image.d.ts +0 -6
- package/dist/components/puck-base/image.js +0 -360
- package/dist/components/puck-core/fields/image-upload-field.d.ts +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from "../../../shadcn/button.js";
|
|
3
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
const TeamInlineCard = (props) => {
|
|
@@ -27,7 +27,7 @@ const TeamInlineCard = (props) => {
|
|
|
27
27
|
{
|
|
28
28
|
className: cardLayout === "horizontal" ? "grid auto-cols-fr grid-cols-1 items-start gap-5 sm:grid-cols-[max-content_1fr] sm:gap-x-8 sm:gap-y-4" : "grid auto-cols-fr grid-cols-1 items-start gap-5 sm:grid-cols-[1fr_1fr] sm:gap-x-8 sm:gap-y-4",
|
|
29
29
|
children: [
|
|
30
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
30
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(CompoundMedia, { src: member.media.src, alt: member.media.alt, className: imageClass }) }),
|
|
31
31
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
|
|
32
32
|
/* @__PURE__ */ jsxs("div", { className: "mb-3 md:mb-4", children: [
|
|
33
33
|
/* @__PURE__ */ jsx("h5", { className: "text-md font-semibold md:text-lg", children: member.name }),
|
|
@@ -52,7 +52,7 @@ const TeamInlineCardDefaults = {
|
|
|
52
52
|
heading: "Our team",
|
|
53
53
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
54
54
|
teamMembers: Array(4).fill(null).map((_, i) => ({
|
|
55
|
-
|
|
55
|
+
media: { src: `https://picsum.photos/seed/team-inline-${i + 1}/200/200`, alt: `Team member ${i + 1}` },
|
|
56
56
|
name: "Full name",
|
|
57
57
|
jobTitle: "Job title",
|
|
58
58
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { TeamComponentProps,
|
|
2
|
+
import type { TeamComponentProps, BaseMedia } from "../props";
|
|
3
3
|
type SocialLink = {
|
|
4
4
|
href: string;
|
|
5
5
|
icon: React.ReactNode;
|
|
6
6
|
};
|
|
7
7
|
type TeamMember = {
|
|
8
|
-
|
|
8
|
+
media: BaseMedia;
|
|
9
9
|
name: string;
|
|
10
10
|
jobTitle: string;
|
|
11
11
|
description: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
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
|
-
import {
|
|
5
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
6
6
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
8
|
const TeamStickyScatter = (props) => {
|
|
@@ -32,7 +32,7 @@ const TeamStickyScatter = (props) => {
|
|
|
32
32
|
] }),
|
|
33
33
|
/* @__PURE__ */ jsx("div", { className: "relative z-10 grid auto-cols-fr grid-cols-1 items-start justify-center gap-x-8 gap-y-12 md:grid-cols-2 md:gap-y-16 lg:grid-cols-4", children: teamMembers.map((member, index) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
|
|
34
34
|
/* @__PURE__ */ jsxs("div", { className: `flex flex-col text-center ${shouldAddMarginTop(index) ? "md:mt-16" : ""}`, children: [
|
|
35
|
-
/* @__PURE__ */ jsx("div", { className: "rb-5 mb-5 flex w-full items-center justify-center md:mb-6", children: /* @__PURE__ */ jsx(
|
|
35
|
+
/* @__PURE__ */ jsx("div", { className: "rb-5 mb-5 flex w-full items-center justify-center md:mb-6", children: /* @__PURE__ */ jsx(CompoundMedia, { src: member.media.src, alt: member.media.alt, className: imageClass }) }),
|
|
36
36
|
/* @__PURE__ */ jsxs("div", { className: "mb-3 md:mb-4", children: [
|
|
37
37
|
/* @__PURE__ */ jsx("h5", { className: "text-md font-semibold md:text-lg", children: member.name }),
|
|
38
38
|
/* @__PURE__ */ jsx("h6", { className: "md:text-md", children: member.jobTitle })
|
|
@@ -52,7 +52,7 @@ const TeamStickyScatterDefaults = {
|
|
|
52
52
|
heading: "Our team",
|
|
53
53
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
54
54
|
teamMembers: Array(8).fill(null).map((_, i) => ({
|
|
55
|
-
|
|
55
|
+
media: { src: `https://picsum.photos/seed/team-scatter-${i + 1}/200/200`, alt: `Team member ${i + 1}` },
|
|
56
56
|
name: "Full name",
|
|
57
57
|
jobTitle: "Job title",
|
|
58
58
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { TeamComponentProps,
|
|
1
|
+
import type { TeamComponentProps, BaseMedia, BaseButton } from "../props";
|
|
2
2
|
type SocialLink = {
|
|
3
3
|
href: string;
|
|
4
4
|
icon: React.ReactNode;
|
|
5
5
|
};
|
|
6
6
|
type TeamMember = {
|
|
7
|
-
|
|
7
|
+
media: BaseMedia;
|
|
8
8
|
name: string;
|
|
9
9
|
jobTitle: string;
|
|
10
10
|
description: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
3
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
const TeamTwoColumn = (props) => {
|
|
@@ -30,7 +30,7 @@ const TeamTwoColumn = (props) => {
|
|
|
30
30
|
{
|
|
31
31
|
className: cardLayout === "horizontal" && memberGridColumns === "1" ? "grid auto-cols-fr grid-cols-1 items-start gap-5 sm:grid-cols-[max-content_1fr] sm:gap-x-8 sm:gap-y-4" : "flex flex-col",
|
|
32
32
|
children: [
|
|
33
|
-
/* @__PURE__ */ jsx("div", { className: cardLayout === "vertical" || memberGridColumns === "2" ? "mb-5 md:mb-6" : "", children: /* @__PURE__ */ jsx(
|
|
33
|
+
/* @__PURE__ */ jsx("div", { className: cardLayout === "vertical" || memberGridColumns === "2" ? "mb-5 md:mb-6" : "", children: /* @__PURE__ */ jsx(CompoundMedia, { src: member.media.src, alt: member.media.alt, className: imageClass }) }),
|
|
34
34
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-center", children: [
|
|
35
35
|
/* @__PURE__ */ jsxs("div", { className: "mb-3 md:mb-4", children: [
|
|
36
36
|
/* @__PURE__ */ jsx("h5", { className: "text-md font-semibold md:text-lg", children: member.name }),
|
|
@@ -51,7 +51,7 @@ const TeamTwoColumnDefaults = {
|
|
|
51
51
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
52
52
|
button: { label: "Open positions", variant: "secondary" },
|
|
53
53
|
teamMembers: Array(3).fill(null).map((_, i) => ({
|
|
54
|
-
|
|
54
|
+
media: { src: `https://picsum.photos/seed/team-twocol-${i + 1}/200/200`, alt: `Team member ${i + 1}` },
|
|
55
55
|
name: "Full name",
|
|
56
56
|
jobTitle: "Job title",
|
|
57
57
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia, BaseButton } from "../props";
|
|
2
2
|
type BackgroundImageCard = {
|
|
3
3
|
component: "background";
|
|
4
4
|
props: {
|
|
5
|
-
backgroundImage:
|
|
5
|
+
backgroundImage: BaseMedia;
|
|
6
6
|
heading: string;
|
|
7
7
|
button: BaseButton;
|
|
8
8
|
};
|
|
@@ -10,7 +10,7 @@ type BackgroundImageCard = {
|
|
|
10
10
|
type LogoCard = {
|
|
11
11
|
component: "logo";
|
|
12
12
|
props: {
|
|
13
|
-
logo:
|
|
13
|
+
logo: BaseMedia;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
type QuoteCard = {
|
|
@@ -18,7 +18,7 @@ type QuoteCard = {
|
|
|
18
18
|
props: {
|
|
19
19
|
numberOfStars: number;
|
|
20
20
|
quote: string;
|
|
21
|
-
|
|
21
|
+
media: BaseMedia;
|
|
22
22
|
name: string;
|
|
23
23
|
position: string;
|
|
24
24
|
companyName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { Button } from "../../../shadcn/button.js";
|
|
4
|
-
import {
|
|
4
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
7
7
|
const BentoTestimonial = (props) => {
|
|
@@ -57,7 +57,7 @@ const BentoTestimonial = (props) => {
|
|
|
57
57
|
] }),
|
|
58
58
|
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
59
59
|
/* @__PURE__ */ jsx(
|
|
60
|
-
|
|
60
|
+
CompoundMedia,
|
|
61
61
|
{
|
|
62
62
|
src: card.props.backgroundImage.src,
|
|
63
63
|
className: "size-full object-cover",
|
|
@@ -82,7 +82,7 @@ const BentoTestimonial = (props) => {
|
|
|
82
82
|
}
|
|
83
83
|
),
|
|
84
84
|
children: /* @__PURE__ */ jsx(
|
|
85
|
-
|
|
85
|
+
CompoundMedia,
|
|
86
86
|
{
|
|
87
87
|
src: card.props.logo.src,
|
|
88
88
|
alt: card.props.logo.alt,
|
|
@@ -102,10 +102,10 @@ const BentoTestimonial = (props) => {
|
|
|
102
102
|
/* @__PURE__ */ jsx("blockquote", { className: "md:text-md", children: card.props.quote }),
|
|
103
103
|
/* @__PURE__ */ jsxs("div", { className: "mt-5 flex w-full flex-col items-start md:mt-6 md:w-fit md:flex-row md:items-center", children: [
|
|
104
104
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
105
|
-
|
|
105
|
+
CompoundMedia,
|
|
106
106
|
{
|
|
107
|
-
src: card.props.
|
|
108
|
-
alt: card.props.
|
|
107
|
+
src: card.props.media.src,
|
|
108
|
+
alt: card.props.media.alt,
|
|
109
109
|
className: "mb-4 size-12 min-h-12 min-w-12 rounded-full object-cover md:mb-0 md:mr-4"
|
|
110
110
|
}
|
|
111
111
|
) }),
|
|
@@ -161,7 +161,7 @@ const BentoTestimonialDefaults = {
|
|
|
161
161
|
props: {
|
|
162
162
|
numberOfStars: 5,
|
|
163
163
|
quote: '"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare."',
|
|
164
|
-
|
|
164
|
+
media: {
|
|
165
165
|
src: "https://picsum.photos/seed/bento-avatar-1/100/100",
|
|
166
166
|
alt: "Testimonial image 1"
|
|
167
167
|
},
|
|
@@ -215,7 +215,7 @@ const BentoTestimonialDefaults = {
|
|
|
215
215
|
props: {
|
|
216
216
|
numberOfStars: 5,
|
|
217
217
|
quote: '"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare."',
|
|
218
|
-
|
|
218
|
+
media: {
|
|
219
219
|
src: "https://picsum.photos/seed/bento-avatar-2/100/100",
|
|
220
220
|
alt: "Testimonial image 2"
|
|
221
221
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia } from "../props";
|
|
2
2
|
type CenteredTestimonialExtra = {
|
|
3
3
|
quote: string;
|
|
4
|
-
logo:
|
|
5
|
-
avatar:
|
|
4
|
+
logo: BaseMedia;
|
|
5
|
+
avatar: BaseMedia;
|
|
6
6
|
name: string;
|
|
7
7
|
position: string;
|
|
8
8
|
companyName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
const CenteredTestimonial = (props) => {
|
|
@@ -32,7 +32,7 @@ const CenteredTestimonial = (props) => {
|
|
|
32
32
|
css,
|
|
33
33
|
children: /* @__PURE__ */ jsx("div", { className: "container w-full max-w-lg", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center", children: [
|
|
34
34
|
ratingType === "logo" && logo && /* @__PURE__ */ jsx("div", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx(
|
|
35
|
-
|
|
35
|
+
CompoundMedia,
|
|
36
36
|
{
|
|
37
37
|
src: logo.src,
|
|
38
38
|
alt: logo.alt,
|
|
@@ -51,7 +51,7 @@ const CenteredTestimonial = (props) => {
|
|
|
51
51
|
{
|
|
52
52
|
className: attributionLayout === "stacked" ? "mb-3 md:mb-4" : "",
|
|
53
53
|
children: /* @__PURE__ */ jsx(
|
|
54
|
-
|
|
54
|
+
CompoundMedia,
|
|
55
55
|
{
|
|
56
56
|
src: avatar.src,
|
|
57
57
|
alt: avatar.alt,
|
|
@@ -77,7 +77,7 @@ const CenteredTestimonial = (props) => {
|
|
|
77
77
|
attributionLayout === "inline" && ratingType === "logo" && logo && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78
78
|
/* @__PURE__ */ jsx("div", { className: "mx-4 w-px self-stretch bg-background-alternative" }),
|
|
79
79
|
/* @__PURE__ */ jsx(
|
|
80
|
-
|
|
80
|
+
CompoundMedia,
|
|
81
81
|
{
|
|
82
82
|
src: logo.src,
|
|
83
83
|
alt: logo.alt,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CenteredTestimonial, CenteredTestimonialDefaults } from "./component.js";
|
|
2
|
-
import {
|
|
2
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
4
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
const conf = {
|
|
6
6
|
fields: {
|
|
7
7
|
quote: { type: "textarea" },
|
|
8
|
-
logo:
|
|
9
|
-
avatar:
|
|
8
|
+
logo: mediaField,
|
|
9
|
+
avatar: mediaField,
|
|
10
10
|
name: { type: "text" },
|
|
11
11
|
position: { type: "text" },
|
|
12
12
|
companyName: { type: "text" },
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia, BaseButton } from "../props";
|
|
2
2
|
type Testimonial = {
|
|
3
3
|
numberOfStars: number;
|
|
4
4
|
quote: string;
|
|
5
|
-
avatar:
|
|
5
|
+
avatar: BaseMedia;
|
|
6
6
|
name: string;
|
|
7
7
|
position: string;
|
|
8
8
|
companyName: string;
|
|
9
|
-
logo?:
|
|
9
|
+
logo?: BaseMedia;
|
|
10
10
|
button?: BaseButton;
|
|
11
11
|
};
|
|
12
12
|
type HalfscreenTestimonialCarouselExtra = {
|
package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { Button } from "../../../shadcn/button.js";
|
|
5
5
|
import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext } from "../../../shadcn/carousel.js";
|
|
6
|
-
import {
|
|
6
|
+
import { CompoundMedia } from "../../../puck-base/media.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
9
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
@@ -47,11 +47,11 @@ const HalfscreenTestimonialCarousel = (props) => {
|
|
|
47
47
|
className: "basis-[95%] pl-0 pr-6 sm:basis-[80%] md:basis-[60%] md:pr-8",
|
|
48
48
|
children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-start justify-between border border-border-primary p-6 md:p-8", children: [
|
|
49
49
|
ratingType === "stars" && /* @__PURE__ */ jsx("div", { className: "mb-5 flex md:mb-6", children: Array(testimonial2.numberOfStars).fill(null).map((_, starIndex) => /* @__PURE__ */ jsx(BiSolidStar, { className: "size-6" }, starIndex)) }),
|
|
50
|
-
ratingType === "logo" && testimonial2.logo && /* @__PURE__ */ jsx("div", { className: "mb-5 md:mb-6", children: /* @__PURE__ */ jsx(
|
|
50
|
+
ratingType === "logo" && testimonial2.logo && /* @__PURE__ */ jsx("div", { className: "mb-5 md:mb-6", children: /* @__PURE__ */ jsx(CompoundMedia, { src: testimonial2.logo.src, alt: testimonial2.logo.alt, className: "max-h-12" }) }),
|
|
51
51
|
/* @__PURE__ */ jsx("blockquote", { className: "md:text-md", children: testimonial2.quote }),
|
|
52
52
|
/* @__PURE__ */ jsxs("div", { className: "mt-5 flex w-full flex-col items-start gap-4 md:mt-6 md:w-auto md:flex-row md:items-center", children: [
|
|
53
53
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
54
|
-
|
|
54
|
+
CompoundMedia,
|
|
55
55
|
{
|
|
56
56
|
src: testimonial2.avatar.src,
|
|
57
57
|
alt: testimonial2.avatar.alt,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia } from "../props";
|
|
2
2
|
type ImageTestimonialExtra = {
|
|
3
3
|
numberOfStars: number;
|
|
4
4
|
quote: string;
|
|
5
|
-
|
|
5
|
+
medias: BaseMedia[];
|
|
6
6
|
name: string;
|
|
7
7
|
position: string;
|
|
8
|
-
logo:
|
|
8
|
+
logo: BaseMedia;
|
|
9
9
|
};
|
|
10
10
|
export type ImageTestimonialProps = TestimonialComponentProps<ImageTestimonialExtra>;
|
|
11
11
|
export declare const ImageTestimonial: (props: ImageTestimonialProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
const ImageTestimonial = (props) => {
|
|
7
7
|
var _a, _b, _c, _d;
|
|
8
|
-
const { numberOfStars, quote,
|
|
8
|
+
const { numberOfStars, quote, medias, name, position, logo, styles } = {
|
|
9
9
|
...ImageTestimonialDefaults,
|
|
10
10
|
...props
|
|
11
11
|
};
|
|
@@ -23,18 +23,18 @@ const ImageTestimonial = (props) => {
|
|
|
23
23
|
css,
|
|
24
24
|
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: [
|
|
25
25
|
/* @__PURE__ */ jsx("div", { className: "order-last md:order-first", children: mediaType === "image" ? /* @__PURE__ */ jsx(
|
|
26
|
-
|
|
26
|
+
CompoundMedia,
|
|
27
27
|
{
|
|
28
|
-
src: ((_a =
|
|
29
|
-
alt: ((_b =
|
|
28
|
+
src: ((_a = medias == null ? void 0 : medias[0]) == null ? void 0 : _a.src) ?? "",
|
|
29
|
+
alt: ((_b = medias == null ? void 0 : medias[0]) == null ? void 0 : _b.alt) ?? "",
|
|
30
30
|
className: "aspect-square w-full object-cover"
|
|
31
31
|
}
|
|
32
32
|
) : /* @__PURE__ */ jsxs("div", { className: "relative aspect-square w-full", children: [
|
|
33
33
|
/* @__PURE__ */ jsx(
|
|
34
|
-
|
|
34
|
+
CompoundMedia,
|
|
35
35
|
{
|
|
36
|
-
src: ((_c =
|
|
37
|
-
alt: ((_d =
|
|
36
|
+
src: ((_c = medias == null ? void 0 : medias[0]) == null ? void 0 : _c.src) ?? "",
|
|
37
|
+
alt: ((_d = medias == null ? void 0 : medias[0]) == null ? void 0 : _d.alt) ?? "",
|
|
38
38
|
className: "size-full object-cover"
|
|
39
39
|
}
|
|
40
40
|
),
|
|
@@ -58,7 +58,7 @@ const ImageTestimonial = (props) => {
|
|
|
58
58
|
] }),
|
|
59
59
|
/* @__PURE__ */ jsx("div", { className: "mx-4 w-px self-stretch bg-background-alternative sm:mx-0" }),
|
|
60
60
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
61
|
-
|
|
61
|
+
CompoundMedia,
|
|
62
62
|
{
|
|
63
63
|
src: logo.src,
|
|
64
64
|
alt: logo.alt,
|
|
@@ -74,7 +74,7 @@ const ImageTestimonial = (props) => {
|
|
|
74
74
|
const ImageTestimonialDefaults = {
|
|
75
75
|
numberOfStars: 5,
|
|
76
76
|
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."',
|
|
77
|
-
|
|
77
|
+
medias: [
|
|
78
78
|
{
|
|
79
79
|
src: "https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=800&h=800&fit=crop",
|
|
80
80
|
alt: "Testimonial image"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ImageTestimonial, ImageTestimonialDefaults } from "./component.js";
|
|
2
|
-
import {
|
|
2
|
+
import { mediaField, mediasField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
4
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
const conf = {
|
|
6
6
|
fields: {
|
|
7
7
|
quote: { type: "textarea" },
|
|
8
|
-
|
|
9
|
-
logo:
|
|
8
|
+
medias: mediasField,
|
|
9
|
+
logo: mediaField,
|
|
10
10
|
name: { type: "text" },
|
|
11
11
|
position: { type: "text" },
|
|
12
12
|
numberOfStars: { type: "number" },
|
package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia } from "../props";
|
|
2
2
|
type Testimonial = {
|
|
3
3
|
numberOfStars: number;
|
|
4
4
|
quote: string;
|
|
5
|
-
|
|
5
|
+
media: BaseMedia;
|
|
6
6
|
name: string;
|
|
7
7
|
position: string;
|
|
8
8
|
companyName: string;
|
|
9
|
-
logo:
|
|
9
|
+
logo: BaseMedia;
|
|
10
10
|
};
|
|
11
11
|
type ImageTestimonialCarouselExtra = {
|
|
12
12
|
testimonials: Testimonial[];
|
package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext } from "../../../shadcn/carousel.js";
|
|
5
|
-
import {
|
|
5
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
6
6
|
import { cn } from "../../../../utils/css-utils.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 { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
@@ -35,14 +35,14 @@ const ImageTestimonialCarousel = (props) => {
|
|
|
35
35
|
children: /* @__PURE__ */ jsxs("div", { className: "relative pt-20 md:pb-20 md:pt-0", children: [
|
|
36
36
|
/* @__PURE__ */ jsx(CarouselContent, { className: "ml-0", children: testimonials.map((testimonial2, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "pl-0", 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: [
|
|
37
37
|
/* @__PURE__ */ jsx("div", { className: "order-last md:order-first", children: mediaType === "image" ? /* @__PURE__ */ jsx(
|
|
38
|
-
|
|
38
|
+
CompoundMedia,
|
|
39
39
|
{
|
|
40
|
-
src: testimonial2.
|
|
41
|
-
alt: testimonial2.
|
|
40
|
+
src: testimonial2.media.src,
|
|
41
|
+
alt: testimonial2.media.alt,
|
|
42
42
|
className: "aspect-square w-full object-cover"
|
|
43
43
|
}
|
|
44
44
|
) : /* @__PURE__ */ jsxs("div", { className: "relative aspect-square w-full", children: [
|
|
45
|
-
/* @__PURE__ */ jsx(
|
|
45
|
+
/* @__PURE__ */ jsx(CompoundMedia, { src: testimonial2.media.src, alt: testimonial2.media.alt, className: "size-full object-cover" }),
|
|
46
46
|
/* @__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" }) }) }) })
|
|
47
47
|
] }) }),
|
|
48
48
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start", children: [
|
|
@@ -58,7 +58,7 @@ const ImageTestimonialCarousel = (props) => {
|
|
|
58
58
|
] })
|
|
59
59
|
] }),
|
|
60
60
|
/* @__PURE__ */ jsx("div", { className: "mx-4 w-px self-stretch bg-background-alternative sm:mx-0" }),
|
|
61
|
-
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
61
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(CompoundMedia, { src: testimonial2.logo.src, alt: testimonial2.logo.alt, className: "max-h-12" }) })
|
|
62
62
|
] })
|
|
63
63
|
] })
|
|
64
64
|
] }) }, index)) }),
|
|
@@ -86,7 +86,7 @@ const ImageTestimonialCarousel = (props) => {
|
|
|
86
86
|
const testimonial = {
|
|
87
87
|
numberOfStars: 5,
|
|
88
88
|
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."',
|
|
89
|
-
|
|
89
|
+
media: { src: "https://picsum.photos/seed/img-testimonial-carousel/800/800", alt: "Testimonial image" },
|
|
90
90
|
name: "Name Surname",
|
|
91
91
|
position: "Position",
|
|
92
92
|
companyName: "Company name",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageTestimonialCarousel, ImageTestimonialCarouselDefaults } from "./component.js";
|
|
2
|
-
import {
|
|
2
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
4
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
const conf = {
|
|
@@ -9,8 +9,8 @@ const conf = {
|
|
|
9
9
|
getItemSummary: (item, index = 0) => item.name || `Testimonial ${index + 1}`,
|
|
10
10
|
arrayFields: {
|
|
11
11
|
quote: { type: "textarea" },
|
|
12
|
-
|
|
13
|
-
logo:
|
|
12
|
+
media: mediaField,
|
|
13
|
+
logo: mediaField,
|
|
14
14
|
name: { type: "text" },
|
|
15
15
|
position: { type: "text" },
|
|
16
16
|
companyName: { type: "text" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia } from "../props";
|
|
2
2
|
type Testimonial = {
|
|
3
3
|
quote: string;
|
|
4
|
-
avatar:
|
|
4
|
+
avatar: BaseMedia;
|
|
5
5
|
name: string;
|
|
6
6
|
position: string;
|
|
7
7
|
companyName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } 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
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
const MarqueeTestimonial = (props) => {
|
|
@@ -22,7 +22,7 @@ const MarqueeTestimonial = (props) => {
|
|
|
22
22
|
/* @__PURE__ */ jsx("blockquote", { className: "md:text-md", children: testimonial2.quote }),
|
|
23
23
|
/* @__PURE__ */ jsxs("div", { className: "mt-5 flex w-full flex-col items-start gap-4 md:mt-6 md:w-auto md:flex-row md:items-center", children: [
|
|
24
24
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
25
|
-
|
|
25
|
+
CompoundMedia,
|
|
26
26
|
{
|
|
27
27
|
src: testimonial2.avatar.src,
|
|
28
28
|
alt: testimonial2.avatar.alt,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia } from "../props";
|
|
2
2
|
type Testimonial = {
|
|
3
3
|
quote: string;
|
|
4
|
-
avatar:
|
|
4
|
+
avatar: BaseMedia;
|
|
5
5
|
name: string;
|
|
6
6
|
position: string;
|
|
7
7
|
companyName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
6
|
const MasonryTestimonial = (props) => {
|
|
@@ -34,7 +34,7 @@ const MasonryTestimonial = (props) => {
|
|
|
34
34
|
/* @__PURE__ */ jsx("blockquote", { className: "md:text-md", children: testimonial2.quote }),
|
|
35
35
|
/* @__PURE__ */ jsxs("div", { className: "mt-5 flex w-full flex-col items-start gap-4 md:mt-6 md:w-fit md:flex-row md:items-center", children: [
|
|
36
36
|
/* @__PURE__ */ jsx(
|
|
37
|
-
|
|
37
|
+
CompoundMedia,
|
|
38
38
|
{
|
|
39
39
|
src: testimonial2.avatar.src,
|
|
40
40
|
alt: testimonial2.avatar.alt,
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* 基础类型引用自 ../props/(全局共享)
|
|
5
5
|
* TestimonialSectionStyles 为 testimonial 特有的样式字段
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { BaseMedia } from "@/components/puck-core/core/props/media";
|
|
8
8
|
import type { BaseButton } from "@/components/puck-core/core/props/interactive";
|
|
9
|
-
export type {
|
|
9
|
+
export type { BaseMedia, BaseButton };
|
|
10
10
|
export interface TestimonialSectionStyles {
|
|
11
11
|
className?: string;
|
|
12
12
|
style?: React.CSSProperties;
|
|
@@ -31,8 +31,7 @@ export interface TestimonialSectionStyles {
|
|
|
31
31
|
export interface TestimonialSectionBaseProps {
|
|
32
32
|
heading: string;
|
|
33
33
|
description: string;
|
|
34
|
-
|
|
35
|
-
images: BaseImage[];
|
|
34
|
+
medias: BaseMedia[];
|
|
36
35
|
styles: TestimonialSectionStyles;
|
|
37
36
|
}
|
|
38
37
|
/** 各 styles 字段的 Puck field 选项 */
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type { TestimonialComponentProps,
|
|
1
|
+
import type { TestimonialComponentProps, BaseMedia, BaseButton } from "../props";
|
|
2
2
|
type Testimonial = {
|
|
3
3
|
numberOfStars: number;
|
|
4
4
|
quote: string;
|
|
5
|
-
avatar:
|
|
5
|
+
avatar: BaseMedia;
|
|
6
6
|
name: string;
|
|
7
7
|
position: string;
|
|
8
8
|
companyName: string;
|
|
9
9
|
};
|
|
10
10
|
type StickyTestimonialExtra = {
|
|
11
|
+
buttons: BaseButton[];
|
|
11
12
|
testimonials: Testimonial[];
|
|
12
13
|
};
|
|
13
14
|
export type StickyTestimonialProps = TestimonialComponentProps<StickyTestimonialExtra>;
|