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,7 +1,7 @@
|
|
|
1
1
|
import { TextMediaSplit, TextMediaSplitDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
-
import {
|
|
4
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { featureStyleFields } from "../props.js";
|
|
6
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
7
|
const conf = {
|
|
@@ -10,7 +10,7 @@ const conf = {
|
|
|
10
10
|
heading: headingField,
|
|
11
11
|
description: descriptionField,
|
|
12
12
|
buttons: buttonsField,
|
|
13
|
-
|
|
13
|
+
media: mediaField,
|
|
14
14
|
video: { type: "text" },
|
|
15
15
|
styles: {
|
|
16
16
|
type: "object",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { FeatureComponentProps, FeatureSectionBaseProps,
|
|
1
|
+
import type { FeatureComponentProps, FeatureSectionBaseProps, BaseMedia } from "../props";
|
|
2
2
|
type SubHeading = {
|
|
3
3
|
title: string;
|
|
4
4
|
description: string;
|
|
5
5
|
};
|
|
6
6
|
type TextOnlySectionExtra = {
|
|
7
7
|
subHeadings?: SubHeading[];
|
|
8
|
-
bgImage?:
|
|
8
|
+
bgImage?: BaseMedia;
|
|
9
9
|
bgVideo?: string;
|
|
10
10
|
};
|
|
11
11
|
export type TextOnlySectionProps = FeatureComponentProps<TextOnlySectionExtra>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } 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 TextOnlySection = (props) => {
|
|
@@ -55,7 +55,7 @@ const TextOnlySection = (props) => {
|
|
|
55
55
|
return /* @__PURE__ */ jsxs(SectionWrapper, { className: cn("relative px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: [
|
|
56
56
|
/* @__PURE__ */ jsx("div", { className: "container relative z-10", children: renderContent() }),
|
|
57
57
|
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
58
|
-
/* @__PURE__ */ jsx(
|
|
58
|
+
/* @__PURE__ */ jsx(CompoundMedia, { src: bgImage.src, className: "size-full object-cover", alt: bgImage.alt }),
|
|
59
59
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-black/50" })
|
|
60
60
|
] })
|
|
61
61
|
] });
|
|
@@ -201,7 +201,7 @@ declare const conf: {
|
|
|
201
201
|
title: string;
|
|
202
202
|
description: string;
|
|
203
203
|
}[];
|
|
204
|
-
bgImage?: import("@/components/puck-core/core/props/media").
|
|
204
|
+
bgImage?: import("@/components/puck-core/core/props/media").BaseMedia;
|
|
205
205
|
bgVideo?: string;
|
|
206
206
|
};
|
|
207
207
|
render: (props: TextOnlySectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TextOnlySection, TextOnlySectionDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
-
import {
|
|
4
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { featureStyleFields } from "../props.js";
|
|
6
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
7
|
const conf = {
|
|
@@ -10,7 +10,7 @@ const conf = {
|
|
|
10
10
|
heading: headingField,
|
|
11
11
|
description: descriptionField,
|
|
12
12
|
buttons: buttonsField,
|
|
13
|
-
bgImage:
|
|
13
|
+
bgImage: mediaField,
|
|
14
14
|
bgVideo: { type: "text" },
|
|
15
15
|
subHeadings: {
|
|
16
16
|
type: "array",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
3
3
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
4
|
+
import { CompoundSocialLinks } from "../../../puck-base/social-links.js";
|
|
4
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
5
6
|
const CenteredMinimalFooter = (props) => {
|
|
6
7
|
const {
|
|
7
8
|
logo,
|
|
8
9
|
columnLinks,
|
|
9
|
-
|
|
10
|
+
socialLinks,
|
|
10
11
|
footerText,
|
|
11
12
|
footerLinks,
|
|
12
13
|
styles
|
|
@@ -25,7 +26,7 @@ const CenteredMinimalFooter = (props) => {
|
|
|
25
26
|
children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
26
27
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center justify-center justify-items-center gap-x-[4vw] gap-y-12 pb-12 md:pb-18 lg:grid-cols-[0.25fr_1fr_0.25fr] lg:justify-between lg:gap-y-4 lg:pb-20", children: [
|
|
27
28
|
/* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, className: "lg:justify-self-start", children: /* @__PURE__ */ jsx(
|
|
28
|
-
|
|
29
|
+
CompoundMedia,
|
|
29
30
|
{
|
|
30
31
|
src: logo == null ? void 0 : logo.src,
|
|
31
32
|
alt: logo == null ? void 0 : logo.alt,
|
|
@@ -43,7 +44,7 @@ const CenteredMinimalFooter = (props) => {
|
|
|
43
44
|
i
|
|
44
45
|
);
|
|
45
46
|
}),
|
|
46
|
-
/* @__PURE__ */ jsx(
|
|
47
|
+
(styles == null ? void 0 : styles.showSocialLinks) !== "false" && /* @__PURE__ */ jsx(CompoundSocialLinks, { links: socialLinks ?? [], className: "flex items-start justify-start justify-items-center gap-x-3 lg:justify-self-end" })
|
|
47
48
|
] }),
|
|
48
49
|
/* @__PURE__ */ jsx("div", { className: "h-px w-full bg-black" }),
|
|
49
50
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col-reverse items-center justify-center pb-4 pt-6 text-sm md:flex-row md:gap-x-6 md:pb-0 md:pt-8", children: [
|
|
@@ -63,12 +64,14 @@ const CenteredMinimalFooterDefaults = {
|
|
|
63
64
|
},
|
|
64
65
|
heading: "",
|
|
65
66
|
description: "",
|
|
66
|
-
buttons: [],
|
|
67
67
|
newsletterHeading: "",
|
|
68
68
|
newsletterDescription: "",
|
|
69
69
|
inputPlaceholder: "",
|
|
70
70
|
button: { label: "" },
|
|
71
|
+
buttons: [],
|
|
71
72
|
termsAndConditions: "",
|
|
73
|
+
address: { label: "", value: "" },
|
|
74
|
+
contact: { label: "", phone: "", email: "" },
|
|
72
75
|
columnLinks: [
|
|
73
76
|
{
|
|
74
77
|
links: [
|
|
@@ -85,10 +88,7 @@ const CenteredMinimalFooterDefaults = {
|
|
|
85
88
|
{ title: "Privacy Policy", url: "#" },
|
|
86
89
|
{ title: "Terms of Service", url: "#" }
|
|
87
90
|
],
|
|
88
|
-
|
|
89
|
-
address: { label: "", value: "" },
|
|
90
|
-
contact: { label: "", phone: "", email: "" },
|
|
91
|
-
companyImages: [],
|
|
91
|
+
socialLinks: [],
|
|
92
92
|
styles: {}
|
|
93
93
|
};
|
|
94
94
|
export {
|
|
@@ -4,6 +4,17 @@ export { CenteredMinimalFooter, CenteredMinimalFooterDefaults };
|
|
|
4
4
|
export type { CenteredMinimalFooterProps };
|
|
5
5
|
declare const conf: {
|
|
6
6
|
fields: {
|
|
7
|
+
__metadata: {
|
|
8
|
+
type: string;
|
|
9
|
+
ai: {
|
|
10
|
+
instructions: string;
|
|
11
|
+
};
|
|
12
|
+
objectFields: {
|
|
13
|
+
type: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
7
18
|
logo: {
|
|
8
19
|
type: "object";
|
|
9
20
|
objectFields: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { CenteredMinimalFooter, CenteredMinimalFooterDefaults } from "./centered-minimal-footer.js";
|
|
2
|
-
import {
|
|
2
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
4
|
const conf = {
|
|
5
5
|
fields: {
|
|
6
|
-
|
|
6
|
+
__metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a footer section. The type field must always be 'footer'." }, objectFields: { type: { type: "text" } } },
|
|
7
|
+
logo: mediaField,
|
|
7
8
|
columnLinks: {
|
|
8
9
|
type: "array",
|
|
9
10
|
label: "Link Columns",
|
|
@@ -4,6 +4,17 @@ export { CompactNewsletterFooter, CompactNewsletterFooterDefaults };
|
|
|
4
4
|
export type { CompactNewsletterFooterProps };
|
|
5
5
|
declare const conf: {
|
|
6
6
|
fields: {
|
|
7
|
+
__metadata: {
|
|
8
|
+
type: string;
|
|
9
|
+
ai: {
|
|
10
|
+
instructions: string;
|
|
11
|
+
};
|
|
12
|
+
objectFields: {
|
|
13
|
+
type: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
7
18
|
logo: {
|
|
8
19
|
type: "object";
|
|
9
20
|
objectFields: {
|
package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import type { FooterComponentProps, FooterSectionBaseProps } from "../props";
|
|
2
|
-
|
|
1
|
+
import type { FooterComponentProps, FooterSectionBaseProps, FooterAddress, FooterContact } from "../props";
|
|
2
|
+
type ContactLinksFooterExtra = {
|
|
3
|
+
address: FooterAddress;
|
|
4
|
+
contact: FooterContact;
|
|
5
|
+
};
|
|
6
|
+
export type ContactLinksFooterProps = FooterComponentProps<ContactLinksFooterExtra>;
|
|
3
7
|
export declare const ContactLinksFooter: (props: ContactLinksFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
8
|
export declare const ContactLinksFooterDefaults: FooterSectionBaseProps;
|
|
9
|
+
export {};
|
package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
|
-
import {
|
|
3
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
4
4
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
|
+
import { CompoundSocialLinks } from "../../../puck-base/social-links.js";
|
|
5
6
|
const ContactLinksFooter = (props) => {
|
|
6
|
-
const { logo, address, contact, columnLinks,
|
|
7
|
+
const { logo, address, contact, columnLinks, socialLinks, footerText, footerLinks, styles } = { ...ContactLinksFooterDefaults, ...props };
|
|
7
8
|
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
8
9
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-9 lg:py-10", { "border border-border-primary mx-[5%]": bordered }, sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
9
10
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-x-[4vw] gap-y-12 pb-12 md:gap-y-16 md:pb-18 lg:grid-cols-[1fr_0.5fr] lg:gap-y-4 lg:pb-20", children: [
|
|
10
11
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
11
|
-
/* @__PURE__ */ jsx("div", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(
|
|
12
|
+
/* @__PURE__ */ jsx("div", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(CompoundMedia, { src: logo == null ? void 0 : logo.src, alt: logo == null ? void 0 : logo.alt, className: "inline-block" }) }) }),
|
|
12
13
|
/* @__PURE__ */ jsxs("div", { className: "mb-6 md:mb-8", children: [
|
|
13
14
|
address && /* @__PURE__ */ jsxs("div", { children: [
|
|
14
15
|
/* @__PURE__ */ jsx("p", { className: "mb-1 text-sm font-semibold", children: address.label }),
|
|
@@ -22,7 +23,7 @@ const ContactLinksFooter = (props) => {
|
|
|
22
23
|
] })
|
|
23
24
|
] })
|
|
24
25
|
] }),
|
|
25
|
-
/* @__PURE__ */ jsx(
|
|
26
|
+
(styles == null ? void 0 : styles.showSocialLinks) !== "false" && /* @__PURE__ */ jsx(CompoundSocialLinks, { links: socialLinks ?? [], className: "grid grid-flow-col grid-cols-[max-content] items-start justify-start gap-x-3" })
|
|
26
27
|
] }),
|
|
27
28
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 items-start gap-x-6 gap-y-10 md:grid-cols-2 md:gap-x-8 md:gap-y-4", children: columnLinks == null ? void 0 : columnLinks.map((col, i) => /* @__PURE__ */ jsx("ul", { children: col.links.map((l, li) => /* @__PURE__ */ jsx("li", { className: "py-2 text-sm font-semibold", children: /* @__PURE__ */ jsx("a", { href: l.url, children: l.title }) }, li)) }, i)) })
|
|
28
29
|
] }),
|
|
@@ -38,22 +39,21 @@ const ContactLinksFooterDefaults = {
|
|
|
38
39
|
logo: { url: "#", src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo image" },
|
|
39
40
|
heading: "",
|
|
40
41
|
description: "",
|
|
41
|
-
buttons: [],
|
|
42
42
|
newsletterHeading: "",
|
|
43
43
|
newsletterDescription: "",
|
|
44
44
|
inputPlaceholder: "",
|
|
45
45
|
button: { label: "" },
|
|
46
|
+
buttons: [],
|
|
46
47
|
termsAndConditions: "",
|
|
47
|
-
address: { label: "
|
|
48
|
-
contact: { label: "
|
|
48
|
+
address: { label: "", value: "" },
|
|
49
|
+
contact: { label: "", phone: "", email: "" },
|
|
49
50
|
columnLinks: [
|
|
50
51
|
{ links: [{ title: "Link One", url: "#" }, { title: "Link Two", url: "#" }, { title: "Link Three", url: "#" }] },
|
|
51
52
|
{ links: [{ title: "Link Four", url: "#" }, { title: "Link Five", url: "#" }, { title: "Link Six", url: "#" }] }
|
|
52
53
|
],
|
|
53
54
|
footerText: "© 2024 Company. All rights reserved.",
|
|
54
55
|
footerLinks: [{ title: "Privacy Policy", url: "#" }, { title: "Terms of Service", url: "#" }],
|
|
55
|
-
|
|
56
|
-
companyImages: [],
|
|
56
|
+
socialLinks: [],
|
|
57
57
|
styles: { bordered: false, hasCompanyImage: false }
|
|
58
58
|
};
|
|
59
59
|
export {
|
|
@@ -4,6 +4,17 @@ export { ContactLinksFooter, ContactLinksFooterDefaults };
|
|
|
4
4
|
export type { ContactLinksFooterProps };
|
|
5
5
|
declare const conf: {
|
|
6
6
|
fields: {
|
|
7
|
+
__metadata: {
|
|
8
|
+
type: string;
|
|
9
|
+
ai: {
|
|
10
|
+
instructions: string;
|
|
11
|
+
};
|
|
12
|
+
objectFields: {
|
|
13
|
+
type: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
7
18
|
logo: {
|
|
8
19
|
type: "object";
|
|
9
20
|
objectFields: {
|
|
@@ -86,16 +97,45 @@ declare const conf: {
|
|
|
86
97
|
};
|
|
87
98
|
};
|
|
88
99
|
};
|
|
89
|
-
|
|
90
|
-
type:
|
|
91
|
-
label:
|
|
92
|
-
getItemSummary: (item: {
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
arrayFields: {
|
|
96
|
-
|
|
97
|
-
type:
|
|
98
|
-
label:
|
|
100
|
+
socialLinks: {
|
|
101
|
+
readonly type: "array";
|
|
102
|
+
readonly label: "Social Links";
|
|
103
|
+
readonly getItemSummary: (item: {
|
|
104
|
+
platform?: string;
|
|
105
|
+
}, i?: number) => string;
|
|
106
|
+
readonly arrayFields: {
|
|
107
|
+
readonly platform: {
|
|
108
|
+
readonly type: "select";
|
|
109
|
+
readonly label: "Platform";
|
|
110
|
+
readonly options: readonly [{
|
|
111
|
+
readonly label: "Twitter / X";
|
|
112
|
+
readonly value: "twitter";
|
|
113
|
+
}, {
|
|
114
|
+
readonly label: "Facebook";
|
|
115
|
+
readonly value: "facebook";
|
|
116
|
+
}, {
|
|
117
|
+
readonly label: "Instagram";
|
|
118
|
+
readonly value: "instagram";
|
|
119
|
+
}, {
|
|
120
|
+
readonly label: "LinkedIn";
|
|
121
|
+
readonly value: "linkedin";
|
|
122
|
+
}, {
|
|
123
|
+
readonly label: "YouTube";
|
|
124
|
+
readonly value: "youtube";
|
|
125
|
+
}, {
|
|
126
|
+
readonly label: "GitHub";
|
|
127
|
+
readonly value: "github";
|
|
128
|
+
}, {
|
|
129
|
+
readonly label: "TikTok";
|
|
130
|
+
readonly value: "tiktok";
|
|
131
|
+
}, {
|
|
132
|
+
readonly label: "Discord";
|
|
133
|
+
readonly value: "discord";
|
|
134
|
+
}];
|
|
135
|
+
};
|
|
136
|
+
readonly url: {
|
|
137
|
+
readonly type: "text";
|
|
138
|
+
readonly label: "URL";
|
|
99
139
|
};
|
|
100
140
|
};
|
|
101
141
|
};
|
|
@@ -150,6 +190,17 @@ declare const conf: {
|
|
|
150
190
|
readonly value: "false";
|
|
151
191
|
}];
|
|
152
192
|
};
|
|
193
|
+
showSocialLinks: {
|
|
194
|
+
readonly type: "radio";
|
|
195
|
+
readonly label: "Display Social Links";
|
|
196
|
+
readonly options: readonly [{
|
|
197
|
+
readonly label: "Yes";
|
|
198
|
+
readonly value: "true";
|
|
199
|
+
}, {
|
|
200
|
+
readonly label: "No";
|
|
201
|
+
readonly value: "false";
|
|
202
|
+
}];
|
|
203
|
+
};
|
|
153
204
|
};
|
|
154
205
|
};
|
|
155
206
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ContactLinksFooter, ContactLinksFooterDefaults } from "./contact-links-footer.js";
|
|
2
|
-
import {
|
|
2
|
+
import { socialLinksField } from "../../../puck-core/core/props/interactive.js";
|
|
3
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
3
4
|
import { footerStyleFields } from "../props.js";
|
|
4
5
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
|
-
const conf = { fields: { logo:
|
|
6
|
+
const conf = { fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a footer section. The type field must always be 'footer'." }, objectFields: { type: { type: "text" } } }, logo: mediaField, address: { type: "object", label: "Address", objectFields: { label: { type: "text", label: "Label" }, value: { type: "text", label: "Value" } } }, columnLinks: { type: "array", label: "Link Columns", getItemSummary: (_item, index = 0) => `Column ${index + 1}`, arrayFields: { links: { type: "array", label: "Links", getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`, arrayFields: { title: { type: "text", label: "Title" }, url: { type: "text", label: "URL" } } } } }, contact: { type: "object", label: "Contact", objectFields: { label: { type: "text", label: "Label" }, phone: { type: "text", label: "Phone" }, email: { type: "text", label: "Email" } } }, footerLinks: { type: "array", label: "Footer Links", getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`, arrayFields: { title: { type: "text", label: "Title" }, url: { type: "text", label: "URL" } } }, socialLinks: socialLinksField, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, hasCompanyImage: footerStyleFields.hasCompanyImage, showSocialLinks: footerStyleFields.showSocialLinks, ...sectionWrapperFields } } }, defaultProps: ContactLinksFooterDefaults, render: ContactLinksFooter };
|
|
6
7
|
export {
|
|
7
8
|
ContactLinksFooter,
|
|
8
9
|
ContactLinksFooterDefaults,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
3
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
|
-
import {
|
|
4
|
+
import { CompoundMedia } from "../../../puck-base/media.js";
|
|
5
5
|
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
6
|
+
import { CompoundSocialLinks } from "../../../puck-base/social-links.js";
|
|
6
7
|
const CtaLinksFooter = (props) => {
|
|
7
|
-
const { logo, heading, description, buttons, columnLinks,
|
|
8
|
+
const { logo, heading, description, buttons, columnLinks, socialLinks, footerText, styles } = { ...CtaLinksFooterDefaults, ...props };
|
|
8
9
|
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
9
10
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-9 lg:py-10", { "border border-border-primary mx-[5%]": bordered }, sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
10
11
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-border-primary", children: [
|
|
@@ -16,11 +17,11 @@ const CtaLinksFooter = (props) => {
|
|
|
16
17
|
] }),
|
|
17
18
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 items-start gap-x-6 gap-y-5 sm:grid-cols-2 md:gap-x-8 md:gap-y-4", children: columnLinks == null ? void 0 : columnLinks.map((col, i) => /* @__PURE__ */ jsx("ul", { children: col.links.map((l, li) => /* @__PURE__ */ jsx("li", { className: "py-2 text-sm font-semibold", children: /* @__PURE__ */ jsx("a", { href: l.url, children: l.title }) }, li)) }, i)) })
|
|
18
19
|
] }),
|
|
19
|
-
/* @__PURE__ */ jsx("div", { className: "col-span-1 flex flex-col items-start justify-between pb-6 sm:flex-row sm:items-center md:pb-8 lg:col-span-2", children: /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(
|
|
20
|
+
/* @__PURE__ */ jsx("div", { className: "col-span-1 flex flex-col items-start justify-between pb-6 sm:flex-row sm:items-center md:pb-8 lg:col-span-2", children: /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(CompoundMedia, { src: logo == null ? void 0 : logo.src, alt: logo == null ? void 0 : logo.alt, className: "mb-6 inline-block sm:mb-0" }) }) })
|
|
20
21
|
] }),
|
|
21
22
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col-reverse items-start justify-between pb-4 pt-6 text-sm md:flex-row md:items-center md:pb-0 md:pt-8", children: [
|
|
22
23
|
/* @__PURE__ */ jsx("p", { className: "mt-5 md:mt-0", children: footerText }),
|
|
23
|
-
/* @__PURE__ */ jsx(
|
|
24
|
+
(styles == null ? void 0 : styles.showSocialLinks) !== "false" && /* @__PURE__ */ jsx(CompoundSocialLinks, { links: socialLinks ?? [], className: "grid grid-flow-col grid-cols-[max-content] items-start justify-start gap-x-3" })
|
|
24
25
|
] })
|
|
25
26
|
] }) });
|
|
26
27
|
};
|
|
@@ -29,22 +30,21 @@ const CtaLinksFooterDefaults = {
|
|
|
29
30
|
logo: { url: "#", src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo image" },
|
|
30
31
|
heading: "Medium length footer heading goes here",
|
|
31
32
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
32
|
-
buttons: [{ label: "Button" }, { label: "Button"
|
|
33
|
+
buttons: [{ label: "Button", variant: "secondary" }, { label: "Button" }],
|
|
33
34
|
newsletterHeading: "",
|
|
34
35
|
newsletterDescription: "",
|
|
35
36
|
inputPlaceholder: "",
|
|
36
37
|
button: { label: "" },
|
|
37
38
|
termsAndConditions: "",
|
|
39
|
+
address: { label: "", value: "" },
|
|
40
|
+
contact: { label: "", phone: "", email: "" },
|
|
38
41
|
columnLinks: [
|
|
39
42
|
{ links: [{ title: "Link One", url: "#" }, { title: "Link Two", url: "#" }, { title: "Link Three", url: "#" }] },
|
|
40
43
|
{ links: [{ title: "Link Four", url: "#" }, { title: "Link Five", url: "#" }, { title: "Link Six", url: "#" }] }
|
|
41
44
|
],
|
|
42
45
|
footerText: "© 2024 Company. All rights reserved.",
|
|
43
46
|
footerLinks: [],
|
|
44
|
-
|
|
45
|
-
address: { label: "", value: "" },
|
|
46
|
-
contact: { label: "", phone: "", email: "" },
|
|
47
|
-
companyImages: [],
|
|
47
|
+
socialLinks: [],
|
|
48
48
|
styles: { bordered: false }
|
|
49
49
|
};
|
|
50
50
|
export {
|
|
@@ -4,6 +4,17 @@ export { CtaLinksFooter, CtaLinksFooterDefaults };
|
|
|
4
4
|
export type { CtaLinksFooterProps };
|
|
5
5
|
declare const conf: {
|
|
6
6
|
fields: {
|
|
7
|
+
__metadata: {
|
|
8
|
+
type: string;
|
|
9
|
+
ai: {
|
|
10
|
+
instructions: string;
|
|
11
|
+
};
|
|
12
|
+
objectFields: {
|
|
13
|
+
type: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
7
18
|
logo: {
|
|
8
19
|
type: "object";
|
|
9
20
|
objectFields: {
|
|
@@ -124,16 +135,45 @@ declare const conf: {
|
|
|
124
135
|
};
|
|
125
136
|
};
|
|
126
137
|
};
|
|
127
|
-
|
|
128
|
-
type:
|
|
129
|
-
label:
|
|
130
|
-
getItemSummary: (item: {
|
|
131
|
-
|
|
132
|
-
},
|
|
133
|
-
arrayFields: {
|
|
134
|
-
|
|
135
|
-
type:
|
|
136
|
-
label:
|
|
138
|
+
socialLinks: {
|
|
139
|
+
readonly type: "array";
|
|
140
|
+
readonly label: "Social Links";
|
|
141
|
+
readonly getItemSummary: (item: {
|
|
142
|
+
platform?: string;
|
|
143
|
+
}, i?: number) => string;
|
|
144
|
+
readonly arrayFields: {
|
|
145
|
+
readonly platform: {
|
|
146
|
+
readonly type: "select";
|
|
147
|
+
readonly label: "Platform";
|
|
148
|
+
readonly options: readonly [{
|
|
149
|
+
readonly label: "Twitter / X";
|
|
150
|
+
readonly value: "twitter";
|
|
151
|
+
}, {
|
|
152
|
+
readonly label: "Facebook";
|
|
153
|
+
readonly value: "facebook";
|
|
154
|
+
}, {
|
|
155
|
+
readonly label: "Instagram";
|
|
156
|
+
readonly value: "instagram";
|
|
157
|
+
}, {
|
|
158
|
+
readonly label: "LinkedIn";
|
|
159
|
+
readonly value: "linkedin";
|
|
160
|
+
}, {
|
|
161
|
+
readonly label: "YouTube";
|
|
162
|
+
readonly value: "youtube";
|
|
163
|
+
}, {
|
|
164
|
+
readonly label: "GitHub";
|
|
165
|
+
readonly value: "github";
|
|
166
|
+
}, {
|
|
167
|
+
readonly label: "TikTok";
|
|
168
|
+
readonly value: "tiktok";
|
|
169
|
+
}, {
|
|
170
|
+
readonly label: "Discord";
|
|
171
|
+
readonly value: "discord";
|
|
172
|
+
}];
|
|
173
|
+
};
|
|
174
|
+
readonly url: {
|
|
175
|
+
readonly type: "text";
|
|
176
|
+
readonly label: "URL";
|
|
137
177
|
};
|
|
138
178
|
};
|
|
139
179
|
};
|
|
@@ -177,6 +217,17 @@ declare const conf: {
|
|
|
177
217
|
readonly value: "false";
|
|
178
218
|
}];
|
|
179
219
|
};
|
|
220
|
+
showSocialLinks: {
|
|
221
|
+
readonly type: "radio";
|
|
222
|
+
readonly label: "Display Social Links";
|
|
223
|
+
readonly options: readonly [{
|
|
224
|
+
readonly label: "Yes";
|
|
225
|
+
readonly value: "true";
|
|
226
|
+
}, {
|
|
227
|
+
readonly label: "No";
|
|
228
|
+
readonly value: "false";
|
|
229
|
+
}];
|
|
230
|
+
};
|
|
180
231
|
};
|
|
181
232
|
};
|
|
182
233
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CtaLinksFooter, CtaLinksFooterDefaults } from "./cta-links-footer.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
-
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
-
import {
|
|
3
|
+
import { socialLinksField, buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
+
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { footerStyleFields } from "../props.js";
|
|
6
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
|
-
const conf = { fields: { logo:
|
|
7
|
+
const conf = { fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a footer section. The type field must always be 'footer'." }, objectFields: { type: { type: "text" } } }, logo: mediaField, heading: headingField, description: descriptionField, buttons: buttonsField, columnLinks: { type: "array", label: "Link Columns", getItemSummary: (_item, index = 0) => `Column ${index + 1}`, arrayFields: { links: { type: "array", label: "Links", getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`, arrayFields: { title: { type: "text", label: "Title" }, url: { type: "text", label: "URL" } } } } }, socialLinks: socialLinksField, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, showSocialLinks: footerStyleFields.showSocialLinks, ...sectionWrapperFields } } }, defaultProps: CtaLinksFooterDefaults, render: CtaLinksFooter };
|
|
8
8
|
export {
|
|
9
9
|
CtaLinksFooter,
|
|
10
10
|
CtaLinksFooterDefaults,
|
|
@@ -4,6 +4,17 @@ export { LinksNewsletterFooter, LinksNewsletterFooterDefaults };
|
|
|
4
4
|
export type { LinksNewsletterFooterProps };
|
|
5
5
|
declare const conf: {
|
|
6
6
|
fields: {
|
|
7
|
+
__metadata: {
|
|
8
|
+
type: string;
|
|
9
|
+
ai: {
|
|
10
|
+
instructions: string;
|
|
11
|
+
};
|
|
12
|
+
objectFields: {
|
|
13
|
+
type: {
|
|
14
|
+
type: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
7
18
|
logo: {
|
|
8
19
|
type: "object";
|
|
9
20
|
objectFields: {
|
|
@@ -122,16 +133,45 @@ declare const conf: {
|
|
|
122
133
|
};
|
|
123
134
|
};
|
|
124
135
|
};
|
|
125
|
-
|
|
126
|
-
type:
|
|
127
|
-
label:
|
|
128
|
-
getItemSummary: (item: {
|
|
129
|
-
|
|
130
|
-
},
|
|
131
|
-
arrayFields: {
|
|
132
|
-
|
|
133
|
-
type:
|
|
134
|
-
label:
|
|
136
|
+
socialLinks: {
|
|
137
|
+
readonly type: "array";
|
|
138
|
+
readonly label: "Social Links";
|
|
139
|
+
readonly getItemSummary: (item: {
|
|
140
|
+
platform?: string;
|
|
141
|
+
}, i?: number) => string;
|
|
142
|
+
readonly arrayFields: {
|
|
143
|
+
readonly platform: {
|
|
144
|
+
readonly type: "select";
|
|
145
|
+
readonly label: "Platform";
|
|
146
|
+
readonly options: readonly [{
|
|
147
|
+
readonly label: "Twitter / X";
|
|
148
|
+
readonly value: "twitter";
|
|
149
|
+
}, {
|
|
150
|
+
readonly label: "Facebook";
|
|
151
|
+
readonly value: "facebook";
|
|
152
|
+
}, {
|
|
153
|
+
readonly label: "Instagram";
|
|
154
|
+
readonly value: "instagram";
|
|
155
|
+
}, {
|
|
156
|
+
readonly label: "LinkedIn";
|
|
157
|
+
readonly value: "linkedin";
|
|
158
|
+
}, {
|
|
159
|
+
readonly label: "YouTube";
|
|
160
|
+
readonly value: "youtube";
|
|
161
|
+
}, {
|
|
162
|
+
readonly label: "GitHub";
|
|
163
|
+
readonly value: "github";
|
|
164
|
+
}, {
|
|
165
|
+
readonly label: "TikTok";
|
|
166
|
+
readonly value: "tiktok";
|
|
167
|
+
}, {
|
|
168
|
+
readonly label: "Discord";
|
|
169
|
+
readonly value: "discord";
|
|
170
|
+
}];
|
|
171
|
+
};
|
|
172
|
+
readonly url: {
|
|
173
|
+
readonly type: "text";
|
|
174
|
+
readonly label: "URL";
|
|
135
175
|
};
|
|
136
176
|
};
|
|
137
177
|
};
|
|
@@ -175,6 +215,17 @@ declare const conf: {
|
|
|
175
215
|
readonly value: "false";
|
|
176
216
|
}];
|
|
177
217
|
};
|
|
218
|
+
showSocialLinks: {
|
|
219
|
+
readonly type: "radio";
|
|
220
|
+
readonly label: "Display Social Links";
|
|
221
|
+
readonly options: readonly [{
|
|
222
|
+
readonly label: "Yes";
|
|
223
|
+
readonly value: "true";
|
|
224
|
+
}, {
|
|
225
|
+
readonly label: "No";
|
|
226
|
+
readonly value: "false";
|
|
227
|
+
}];
|
|
228
|
+
};
|
|
178
229
|
};
|
|
179
230
|
};
|
|
180
231
|
};
|