dune-react 0.0.20 → 0.0.21
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/core/with-editable.js +13 -2
- package/dist/components/puck-base/fields/action-field.js +1 -1
- package/dist/components/puck-base/fields/location-field.js +1 -1
- package/dist/components/puck-base/form.js +1 -1
- package/dist/components/puck-base/image.js +1 -1
- package/dist/components/puck-base/index.d.ts +2 -1
- package/dist/components/puck-base/inline-editable.js +1 -1
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +9 -4
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +22 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +3 -1
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +44 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +16 -4
- package/dist/components/puck-block/banner-sections/props.d.ts +3 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +13 -2
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +15 -4
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +3 -13
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.js +3 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +5 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +3 -1
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +4 -22
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +3 -1
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +3 -13
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +3 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +4 -13
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +3 -1
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -2
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +3 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +3 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -2
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +3 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +5 -1
- package/dist/components/puck-block/contact-sections/props.d.ts +3 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +3 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +4 -13
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +3 -1
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +4 -2
- package/dist/components/puck-block/contact-sections/use-contact-form.js +1 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +3 -2
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +22 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +3 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +22 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +3 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +3 -2
- package/dist/components/puck-block/cta-sections/props.d.ts +3 -1
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +35 -5
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +22 -9
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +3 -2
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +22 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +6 -2
- package/dist/components/puck-block/faq-sections/props.d.ts +3 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +22 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +22 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +5 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +22 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +3 -2
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +6 -2
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +5 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +22 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +5 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +22 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -1
- package/dist/components/puck-block/feature-sections/props.d.ts +3 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +4 -2
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +22 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +3 -1
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -3
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +22 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +3 -1
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +5 -2
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +2 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +2 -1
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +3 -2
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +16 -6
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +27 -2
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +2 -1
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +4 -3
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +3 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +5 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +4 -2
- package/dist/components/puck-block/gallery-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +9 -3
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +27 -2
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +2 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -10
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +3 -2
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +3 -2
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +4 -2
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +22 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +22 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +22 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/props.d.ts +3 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +22 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +5 -2
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +7 -4
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +22 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +5 -2
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +35 -5
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +15 -5
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +13 -5
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +22 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +8 -4
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +22 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +4 -2
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +40 -7
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +9 -5
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +27 -2
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +2 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +6 -4
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +22 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +6 -4
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +10 -3
- package/dist/components/puck-block/hero-sections/props.d.ts +3 -1
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +16 -7
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +13 -5
- 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 +17 -8
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +35 -5
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +5 -3
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +35 -5
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +35 -5
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +15 -5
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +37 -14
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +35 -5
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +5 -3
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +44 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +3 -2
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +11 -3
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +22 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +8 -4
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +12 -4
- package/dist/components/puck-block/location-sections/location-1/location.d.ts +3 -0
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +3 -0
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +3 -0
- package/dist/components/puck-block/location-sections/props.d.ts +3 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +5 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/props.d.ts +3 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +44 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +4 -2
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +4 -2
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +5 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/props.d.ts +3 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +44 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +4 -2
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +5 -2
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +2 -1
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +5 -2
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +5 -1
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +6 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/props.d.ts +3 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +1 -3
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +5 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +45 -3
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +4 -2
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +3 -1
- package/dist/components/puck-block/team-sections/props.d.ts +3 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.js +8 -2
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +44 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.js +5 -2
- package/dist/components/puck-block/team-sections/team-grid/component.js +6 -1
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +44 -0
- package/dist/components/puck-block/team-sections/team-grid/index.js +5 -2
- package/dist/components/puck-block/team-sections/team-inline-card/component.js +10 -2
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +44 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +5 -2
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +9 -2
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +22 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-two-column/component.js +6 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +22 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +6 -1
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +14 -6
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +35 -5
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +5 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +8 -2
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -1
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/text-sections/aside-nav-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +44 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +4 -2
- package/dist/components/puck-block/text-sections/blog-article/component.js +6 -1
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +44 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +4 -2
- package/dist/components/puck-block/text-sections/props.d.ts +3 -0
- package/dist/components/puck-block/text-sections/prose-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/prose-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +44 -0
- package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +6 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +3 -1
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +22 -0
- package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -0
- package/dist/components/puck-core/core/context/section-id-context.js +12 -0
- package/dist/components/puck-core/core/styles.d.ts +374 -0
- package/dist/components/puck-core/fields/action-field.js +1 -1
- package/dist/components/puck-core/index.d.ts +2 -1
- package/dist/components/puck-core/section-wrapper.d.ts +27 -13
- package/dist/components/puck-core/section-wrapper.js +48 -0
- package/dist/hooks/use-scroll-container.d.ts +18 -0
- package/dist/hooks/use-scroll-container.js +25 -0
- package/dist/index.js +4 -1
- package/package.json +1 -1
- package/dist/components/puck-core/editor-context.d.ts +0 -25
- package/dist/components/puck-core/editor-context.js +0 -15
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.d.ts +0 -0
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.js +0 -0
|
@@ -27,6 +27,28 @@ declare const conf: {
|
|
|
27
27
|
type: string;
|
|
28
28
|
label: string;
|
|
29
29
|
objectFields: {
|
|
30
|
+
className: {
|
|
31
|
+
readonly type: "text";
|
|
32
|
+
readonly label: "Class Name";
|
|
33
|
+
readonly ai: {
|
|
34
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
style: {
|
|
38
|
+
readonly type: "object";
|
|
39
|
+
readonly label: "Style";
|
|
40
|
+
readonly objectFields: {};
|
|
41
|
+
readonly ai: {
|
|
42
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
css: {
|
|
46
|
+
readonly type: "textarea";
|
|
47
|
+
readonly label: "Custom CSS";
|
|
48
|
+
readonly ai: {
|
|
49
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
30
52
|
hasImage: {
|
|
31
53
|
readonly type: "radio";
|
|
32
54
|
readonly label: "Has Image";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TabTestimonial, TabTestimonialDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
heading: headingField,
|
|
@@ -16,7 +17,8 @@ const conf = {
|
|
|
16
17
|
type: "object",
|
|
17
18
|
label: "Styles",
|
|
18
19
|
objectFields: {
|
|
19
|
-
hasImage: testimonialStyleFields.hasImage
|
|
20
|
+
hasImage: testimonialStyleFields.hasImage,
|
|
21
|
+
...sectionWrapperFields
|
|
20
22
|
}
|
|
21
23
|
}
|
|
22
24
|
},
|
|
@@ -2,6 +2,8 @@ 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
4
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
6
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
5
7
|
const TestimonialCardGrid = (props) => {
|
|
6
8
|
const {
|
|
7
9
|
heading,
|
|
@@ -13,6 +15,9 @@ const TestimonialCardGrid = (props) => {
|
|
|
13
15
|
...props
|
|
14
16
|
};
|
|
15
17
|
const {
|
|
18
|
+
className: sectionClassName,
|
|
19
|
+
style: sectionStyle,
|
|
20
|
+
css,
|
|
16
21
|
textAlign = "center",
|
|
17
22
|
gridColumns = 2,
|
|
18
23
|
ratingType = "logo",
|
|
@@ -20,7 +25,7 @@ const TestimonialCardGrid = (props) => {
|
|
|
20
25
|
hasButton = false
|
|
21
26
|
} = styles ?? {};
|
|
22
27
|
const gridColsClass = gridColumns === 3 ? "md:grid-cols-2 lg:grid-cols-3" : "md:grid-cols-2";
|
|
23
|
-
return /* @__PURE__ */ jsx(
|
|
28
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
24
29
|
/* @__PURE__ */ jsxs("div", { className: `mx-auto mb-12 w-full max-w-lg md:mb-18 lg:mb-20 ${textAlign === "center" ? "text-center" : "text-left"}`, children: [
|
|
25
30
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
26
31
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
|
|
@@ -33,6 +33,28 @@ declare const conf: {
|
|
|
33
33
|
type: string;
|
|
34
34
|
label: string;
|
|
35
35
|
objectFields: {
|
|
36
|
+
className: {
|
|
37
|
+
readonly type: "text";
|
|
38
|
+
readonly label: "Class Name";
|
|
39
|
+
readonly ai: {
|
|
40
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
style: {
|
|
44
|
+
readonly type: "object";
|
|
45
|
+
readonly label: "Style";
|
|
46
|
+
readonly objectFields: {};
|
|
47
|
+
readonly ai: {
|
|
48
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
css: {
|
|
52
|
+
readonly type: "textarea";
|
|
53
|
+
readonly label: "Custom CSS";
|
|
54
|
+
readonly ai: {
|
|
55
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
36
58
|
textAlign: {
|
|
37
59
|
readonly type: "radio";
|
|
38
60
|
readonly label: "Text Align";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TestimonialCardGrid, TestimonialCardGridDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
heading: headingField,
|
|
@@ -22,7 +23,8 @@ const conf = {
|
|
|
22
23
|
gridColumns: testimonialStyleFields.gridColumns,
|
|
23
24
|
ratingType: testimonialStyleFields.ratingType,
|
|
24
25
|
bordered: testimonialStyleFields.bordered,
|
|
25
|
-
hasButton: testimonialStyleFields.hasButton
|
|
26
|
+
hasButton: testimonialStyleFields.hasButton,
|
|
27
|
+
...sectionWrapperFields
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
@@ -6,6 +6,7 @@ import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext
|
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
8
|
import { BiSolidStar } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
10
|
const TestimonialCarousel = (props) => {
|
|
10
11
|
const {
|
|
11
12
|
heading,
|
|
@@ -17,6 +18,9 @@ const TestimonialCarousel = (props) => {
|
|
|
17
18
|
...props
|
|
18
19
|
};
|
|
19
20
|
const {
|
|
21
|
+
className: sectionClassName,
|
|
22
|
+
style: sectionStyle,
|
|
23
|
+
css,
|
|
20
24
|
ratingType = "logo",
|
|
21
25
|
hasHeading = false,
|
|
22
26
|
textAlign = "center",
|
|
@@ -34,7 +38,7 @@ const TestimonialCarousel = (props) => {
|
|
|
34
38
|
});
|
|
35
39
|
}, [api]);
|
|
36
40
|
const basisClass = carouselColumns === 3 ? "md:basis-1/2 lg:basis-1/3" : carouselColumns === 2 ? "md:basis-1/2" : "md:basis-full";
|
|
37
|
-
return /* @__PURE__ */ jsx(
|
|
41
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("overflow-hidden px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
|
|
38
42
|
hasHeading && /* @__PURE__ */ jsxs("div", { className: `mb-12 w-full max-w-lg md:mb-18 lg:mb-20 ${textAlign === "center" ? "mx-auto text-center" : ""}`, children: [
|
|
39
43
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
40
44
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
|
|
@@ -33,6 +33,28 @@ declare const conf: {
|
|
|
33
33
|
type: string;
|
|
34
34
|
label: string;
|
|
35
35
|
objectFields: {
|
|
36
|
+
className: {
|
|
37
|
+
readonly type: "text";
|
|
38
|
+
readonly label: "Class Name";
|
|
39
|
+
readonly ai: {
|
|
40
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
style: {
|
|
44
|
+
readonly type: "object";
|
|
45
|
+
readonly label: "Style";
|
|
46
|
+
readonly objectFields: {};
|
|
47
|
+
readonly ai: {
|
|
48
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
css: {
|
|
52
|
+
readonly type: "textarea";
|
|
53
|
+
readonly label: "Custom CSS";
|
|
54
|
+
readonly ai: {
|
|
55
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
36
58
|
ratingType: {
|
|
37
59
|
readonly type: "radio";
|
|
38
60
|
readonly label: "Rating Type";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TestimonialCarousel, TestimonialCarouselDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { testimonialStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
heading: headingField,
|
|
@@ -23,7 +24,8 @@ const conf = {
|
|
|
23
24
|
textAlign: testimonialStyleFields.textAlign,
|
|
24
25
|
carouselColumns: testimonialStyleFields.carouselColumns,
|
|
25
26
|
bordered: testimonialStyleFields.bordered,
|
|
26
|
-
hasButton: testimonialStyleFields.hasButton
|
|
27
|
+
hasButton: testimonialStyleFields.hasButton,
|
|
28
|
+
...sectionWrapperFields
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
},
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { cn } from "../../../../utils/css-utils.js";
|
|
4
4
|
import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../../../shadcn/accordion.js";
|
|
5
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const AsideNavContent = (props) => {
|
|
6
7
|
var _a;
|
|
7
8
|
const {
|
|
@@ -13,6 +14,9 @@ const AsideNavContent = (props) => {
|
|
|
13
14
|
...props
|
|
14
15
|
};
|
|
15
16
|
const {
|
|
17
|
+
className: sectionClassName,
|
|
18
|
+
style: sectionStyle,
|
|
19
|
+
css,
|
|
16
20
|
asidePosition = "left"
|
|
17
21
|
} = styles ?? {};
|
|
18
22
|
const currentHash = (_a = aside.links[0]) == null ? void 0 : _a.href;
|
|
@@ -31,7 +35,7 @@ const AsideNavContent = (props) => {
|
|
|
31
35
|
)) }) })
|
|
32
36
|
] }) }) }) });
|
|
33
37
|
const proseContent = /* @__PURE__ */ jsx("div", { className: "max-w-lg", children: /* @__PURE__ */ jsx("div", { className: "prose md:prose-md lg:prose-lg", dangerouslySetInnerHTML: { __html: prose } }) });
|
|
34
|
-
return /* @__PURE__ */ jsx(
|
|
38
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-y-8 lg:grid-cols-[20rem_1fr] lg:gap-x-16 xxl:gap-x-48", children: asidePosition === "left" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
35
39
|
asideContent,
|
|
36
40
|
proseContent
|
|
37
41
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -9,6 +9,28 @@ declare const conf: {
|
|
|
9
9
|
label: string;
|
|
10
10
|
objectFields: {
|
|
11
11
|
title: {
|
|
12
|
+
className: {
|
|
13
|
+
readonly type: "text";
|
|
14
|
+
readonly label: "Class Name";
|
|
15
|
+
readonly ai: {
|
|
16
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
style: {
|
|
20
|
+
readonly type: "object";
|
|
21
|
+
readonly label: "Style";
|
|
22
|
+
readonly objectFields: {};
|
|
23
|
+
readonly ai: {
|
|
24
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
css: {
|
|
28
|
+
readonly type: "textarea";
|
|
29
|
+
readonly label: "Custom CSS";
|
|
30
|
+
readonly ai: {
|
|
31
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
12
34
|
type: string;
|
|
13
35
|
};
|
|
14
36
|
links: {
|
|
@@ -34,6 +56,28 @@ declare const conf: {
|
|
|
34
56
|
type: string;
|
|
35
57
|
label: string;
|
|
36
58
|
objectFields: {
|
|
59
|
+
className: {
|
|
60
|
+
readonly type: "text";
|
|
61
|
+
readonly label: "Class Name";
|
|
62
|
+
readonly ai: {
|
|
63
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
style: {
|
|
67
|
+
readonly type: "object";
|
|
68
|
+
readonly label: "Style";
|
|
69
|
+
readonly objectFields: {};
|
|
70
|
+
readonly ai: {
|
|
71
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
css: {
|
|
75
|
+
readonly type: "textarea";
|
|
76
|
+
readonly label: "Custom CSS";
|
|
77
|
+
readonly ai: {
|
|
78
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
37
81
|
asidePosition: {
|
|
38
82
|
readonly type: "radio";
|
|
39
83
|
readonly label: "Aside Position";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AsideNavContent, AsideNavContentDefaults } from "./component.js";
|
|
2
2
|
import { textStyleFields } from "../props.js";
|
|
3
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
3
4
|
const conf = {
|
|
4
5
|
fields: {
|
|
5
6
|
aside: {
|
|
6
7
|
type: "object",
|
|
7
8
|
label: "Aside Navigation",
|
|
8
9
|
objectFields: {
|
|
9
|
-
title: { type: "text" },
|
|
10
|
+
title: { type: "text", ...sectionWrapperFields },
|
|
10
11
|
links: {
|
|
11
12
|
type: "array",
|
|
12
13
|
getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`,
|
|
@@ -22,7 +23,8 @@ const conf = {
|
|
|
22
23
|
type: "object",
|
|
23
24
|
label: "Styles",
|
|
24
25
|
objectFields: {
|
|
25
|
-
asidePosition: textStyleFields.asidePosition
|
|
26
|
+
asidePosition: textStyleFields.asidePosition,
|
|
27
|
+
...sectionWrapperFields
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
3
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
4
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
3
5
|
const BlogArticle = (props) => {
|
|
4
6
|
const {
|
|
5
7
|
prose,
|
|
@@ -14,9 +16,12 @@ const BlogArticle = (props) => {
|
|
|
14
16
|
...props
|
|
15
17
|
};
|
|
16
18
|
const {
|
|
19
|
+
className: sectionClassName,
|
|
20
|
+
style: sectionStyle,
|
|
21
|
+
css,
|
|
17
22
|
hasBreadcrumbs = false
|
|
18
23
|
} = styles ?? {};
|
|
19
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-lg", children: [
|
|
20
25
|
hasBreadcrumbs && breadcrumbs && breadcrumbs.length > 0 && /* @__PURE__ */ jsx("nav", { className: "mb-6 md:mb-8", children: /* @__PURE__ */ jsx("ol", { className: "flex flex-wrap items-center gap-2 text-sm", children: breadcrumbs.map((crumb, index) => /* @__PURE__ */ jsxs("li", { className: "flex items-center gap-2", children: [
|
|
21
26
|
index > 0 && /* @__PURE__ */ jsx("span", { children: "/" }),
|
|
22
27
|
/* @__PURE__ */ jsx("a", { href: crumb.url, className: "hover:underline", children: crumb.label })
|
|
@@ -43,6 +43,28 @@ declare const conf: {
|
|
|
43
43
|
label: string;
|
|
44
44
|
objectFields: {
|
|
45
45
|
name: {
|
|
46
|
+
className: {
|
|
47
|
+
readonly type: "text";
|
|
48
|
+
readonly label: "Class Name";
|
|
49
|
+
readonly ai: {
|
|
50
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
style: {
|
|
54
|
+
readonly type: "object";
|
|
55
|
+
readonly label: "Style";
|
|
56
|
+
readonly objectFields: {};
|
|
57
|
+
readonly ai: {
|
|
58
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
css: {
|
|
62
|
+
readonly type: "textarea";
|
|
63
|
+
readonly label: "Custom CSS";
|
|
64
|
+
readonly ai: {
|
|
65
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
46
68
|
type: string;
|
|
47
69
|
};
|
|
48
70
|
titleAndCompany: {
|
|
@@ -77,6 +99,28 @@ declare const conf: {
|
|
|
77
99
|
type: string;
|
|
78
100
|
label: string;
|
|
79
101
|
objectFields: {
|
|
102
|
+
className: {
|
|
103
|
+
readonly type: "text";
|
|
104
|
+
readonly label: "Class Name";
|
|
105
|
+
readonly ai: {
|
|
106
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
style: {
|
|
110
|
+
readonly type: "object";
|
|
111
|
+
readonly label: "Style";
|
|
112
|
+
readonly objectFields: {};
|
|
113
|
+
readonly ai: {
|
|
114
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
css: {
|
|
118
|
+
readonly type: "textarea";
|
|
119
|
+
readonly label: "Custom CSS";
|
|
120
|
+
readonly ai: {
|
|
121
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
122
|
+
};
|
|
123
|
+
};
|
|
80
124
|
hasBreadcrumbs: {
|
|
81
125
|
readonly type: "radio";
|
|
82
126
|
readonly label: "Show Breadcrumbs";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BlogArticle, BlogArticleDefaults } from "./component.js";
|
|
2
2
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { textStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
prose: { type: "textarea" },
|
|
@@ -25,7 +26,7 @@ const conf = {
|
|
|
25
26
|
type: "object",
|
|
26
27
|
label: "Author",
|
|
27
28
|
objectFields: {
|
|
28
|
-
name: { type: "text" },
|
|
29
|
+
name: { type: "text", ...sectionWrapperFields },
|
|
29
30
|
titleAndCompany: { type: "text" },
|
|
30
31
|
avatar: imageField
|
|
31
32
|
}
|
|
@@ -42,7 +43,8 @@ const conf = {
|
|
|
42
43
|
type: "object",
|
|
43
44
|
label: "Styles",
|
|
44
45
|
objectFields: {
|
|
45
|
-
hasBreadcrumbs: textStyleFields.hasBreadcrumbs
|
|
46
|
+
hasBreadcrumbs: textStyleFields.hasBreadcrumbs,
|
|
47
|
+
...sectionWrapperFields
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
},
|
|
@@ -8,6 +8,9 @@ import type { BaseImage } from "@/components/puck-core/core/props/media";
|
|
|
8
8
|
import type { BaseButton } from "@/components/puck-core/core/props/interactive";
|
|
9
9
|
export type { BaseImage, BaseButton };
|
|
10
10
|
export interface TextSectionStyles {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
css?: string;
|
|
11
14
|
textLayout?: "singleLeft" | "singleCenter" | "twoColumn" | "single" | "twoColumnProse";
|
|
12
15
|
bgMedia?: "none" | "image" | "video";
|
|
13
16
|
formType?: "buttons" | "email" | "none";
|
|
@@ -6,6 +6,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
6
6
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
7
7
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
8
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
10
|
const ProseContent = (props) => {
|
|
10
11
|
const {
|
|
11
12
|
heading,
|
|
@@ -19,6 +20,9 @@ const ProseContent = (props) => {
|
|
|
19
20
|
...props
|
|
20
21
|
};
|
|
21
22
|
const {
|
|
23
|
+
className: sectionClassName,
|
|
24
|
+
style: sectionStyle,
|
|
25
|
+
css,
|
|
22
26
|
textLayout = "single",
|
|
23
27
|
mediaType = "none",
|
|
24
28
|
mediaPosition = "bottom",
|
|
@@ -56,7 +60,7 @@ const ProseContent = (props) => {
|
|
|
56
60
|
};
|
|
57
61
|
const mediaElement = renderMedia();
|
|
58
62
|
const isTwoColumn = textLayout === "twoColumnProse";
|
|
59
|
-
return /* @__PURE__ */ jsx(
|
|
63
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: cn("mx-auto w-full", isTwoColumn ? "max-w-4xl" : "max-w-lg"), children: [
|
|
60
64
|
hasMetatags && metatags && metatags.length > 0 && /* @__PURE__ */ jsx("div", { className: "mb-8 flex flex-wrap gap-x-8 gap-y-4 md:mb-12", children: metatags.map((tag, index) => /* @__PURE__ */ jsxs("div", { children: [
|
|
61
65
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-semibold", children: tag.label }),
|
|
62
66
|
/* @__PURE__ */ jsx("p", { className: "text-sm", children: tag.value })
|
|
@@ -41,6 +41,28 @@ declare const conf: {
|
|
|
41
41
|
type: string;
|
|
42
42
|
label: string;
|
|
43
43
|
objectFields: {
|
|
44
|
+
className: {
|
|
45
|
+
readonly type: "text";
|
|
46
|
+
readonly label: "Class Name";
|
|
47
|
+
readonly ai: {
|
|
48
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
style: {
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly label: "Style";
|
|
54
|
+
readonly objectFields: {};
|
|
55
|
+
readonly ai: {
|
|
56
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
css: {
|
|
60
|
+
readonly type: "textarea";
|
|
61
|
+
readonly label: "Custom CSS";
|
|
62
|
+
readonly ai: {
|
|
63
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
44
66
|
textLayout: {
|
|
45
67
|
readonly type: "select";
|
|
46
68
|
readonly label: "Text Layout";
|
|
@@ -2,6 +2,7 @@ import { ProseContent, ProseContentDefaults } from "./component.js";
|
|
|
2
2
|
import { headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
4
|
import { textStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
heading: headingField,
|
|
@@ -23,7 +24,8 @@ const conf = {
|
|
|
23
24
|
textLayout: textStyleFields.textLayout,
|
|
24
25
|
mediaType: textStyleFields.mediaType,
|
|
25
26
|
mediaPosition: textStyleFields.mediaPosition,
|
|
26
|
-
hasMetatags: textStyleFields.hasMetatags
|
|
27
|
+
hasMetatags: textStyleFields.hasMetatags,
|
|
28
|
+
...sectionWrapperFields
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
},
|
|
@@ -12,6 +12,28 @@ declare const conf: {
|
|
|
12
12
|
label: string;
|
|
13
13
|
objectFields: {
|
|
14
14
|
title: {
|
|
15
|
+
className: {
|
|
16
|
+
readonly type: "text";
|
|
17
|
+
readonly label: "Class Name";
|
|
18
|
+
readonly ai: {
|
|
19
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
style: {
|
|
23
|
+
readonly type: "object";
|
|
24
|
+
readonly label: "Style";
|
|
25
|
+
readonly objectFields: {};
|
|
26
|
+
readonly ai: {
|
|
27
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
css: {
|
|
31
|
+
readonly type: "textarea";
|
|
32
|
+
readonly label: "Custom CSS";
|
|
33
|
+
readonly ai: {
|
|
34
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
15
37
|
type: string;
|
|
16
38
|
};
|
|
17
39
|
description: {
|
|
@@ -121,6 +143,28 @@ declare const conf: {
|
|
|
121
143
|
type: string;
|
|
122
144
|
label: string;
|
|
123
145
|
objectFields: {
|
|
146
|
+
className: {
|
|
147
|
+
readonly type: "text";
|
|
148
|
+
readonly label: "Class Name";
|
|
149
|
+
readonly ai: {
|
|
150
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
style: {
|
|
154
|
+
readonly type: "object";
|
|
155
|
+
readonly label: "Style";
|
|
156
|
+
readonly objectFields: {};
|
|
157
|
+
readonly ai: {
|
|
158
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
css: {
|
|
162
|
+
readonly type: "textarea";
|
|
163
|
+
readonly label: "Custom CSS";
|
|
164
|
+
readonly ai: {
|
|
165
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
166
|
+
};
|
|
167
|
+
};
|
|
124
168
|
sidebarType: {
|
|
125
169
|
readonly type: "radio";
|
|
126
170
|
readonly label: "Sidebar Type";
|
|
@@ -6,6 +6,7 @@ import { CompoundImage } from "../../../puck-base/image.js";
|
|
|
6
6
|
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
7
7
|
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
8
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
9
10
|
const SideMediaContent = (props) => {
|
|
10
11
|
const {
|
|
11
12
|
heading,
|
|
@@ -18,6 +19,9 @@ const SideMediaContent = (props) => {
|
|
|
18
19
|
...props
|
|
19
20
|
};
|
|
20
21
|
const {
|
|
22
|
+
className: sectionClassName,
|
|
23
|
+
style: sectionStyle,
|
|
24
|
+
css,
|
|
21
25
|
mediaType = "image",
|
|
22
26
|
mediaPosition = "right"
|
|
23
27
|
} = styles ?? {};
|
|
@@ -57,7 +61,7 @@ const SideMediaContent = (props) => {
|
|
|
57
61
|
const mediaContent = /* @__PURE__ */ jsx("div", { children: renderMedia() });
|
|
58
62
|
const textOrder = mediaPosition === "left" ? "order-2" : "";
|
|
59
63
|
const mediaOrder = mediaPosition === "left" ? "order-1" : "";
|
|
60
|
-
return /* @__PURE__ */ jsx(
|
|
64
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-start gap-y-12 md:grid-cols-2 md:gap-x-12 lg:gap-x-20", children: [
|
|
61
65
|
/* @__PURE__ */ jsx("div", { className: textOrder, children: textContent }),
|
|
62
66
|
/* @__PURE__ */ jsx("div", { className: mediaOrder, children: mediaContent })
|
|
63
67
|
] }) }) });
|
|
@@ -27,6 +27,28 @@ declare const conf: {
|
|
|
27
27
|
type: string;
|
|
28
28
|
label: string;
|
|
29
29
|
objectFields: {
|
|
30
|
+
className: {
|
|
31
|
+
readonly type: "text";
|
|
32
|
+
readonly label: "Class Name";
|
|
33
|
+
readonly ai: {
|
|
34
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
style: {
|
|
38
|
+
readonly type: "object";
|
|
39
|
+
readonly label: "Style";
|
|
40
|
+
readonly objectFields: {};
|
|
41
|
+
readonly ai: {
|
|
42
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
css: {
|
|
46
|
+
readonly type: "textarea";
|
|
47
|
+
readonly label: "Custom CSS";
|
|
48
|
+
readonly ai: {
|
|
49
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
30
52
|
mediaType: {
|
|
31
53
|
readonly type: "radio";
|
|
32
54
|
readonly label: "Media Type";
|
|
@@ -2,6 +2,7 @@ import { SideMediaContent, SideMediaContentDefaults } from "./component.js";
|
|
|
2
2
|
import { headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
4
|
import { textStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
heading: headingField,
|
|
@@ -13,7 +14,8 @@ const conf = {
|
|
|
13
14
|
label: "Styles",
|
|
14
15
|
objectFields: {
|
|
15
16
|
mediaType: textStyleFields.mediaType,
|
|
16
|
-
mediaPosition: textStyleFields.mediaPosition
|
|
17
|
+
mediaPosition: textStyleFields.mediaPosition,
|
|
18
|
+
...sectionWrapperFields
|
|
17
19
|
}
|
|
18
20
|
}
|
|
19
21
|
},
|