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
|
@@ -2,6 +2,7 @@ import { CenterMediaStats, CenterMediaStatsDefaults } from "./center-media-stats
|
|
|
2
2
|
import { headingField, descriptionField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
4
|
import { metricsStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
tagline: { type: "text" },
|
|
@@ -23,7 +24,8 @@ const conf = {
|
|
|
23
24
|
objectFields: {
|
|
24
25
|
mediaPosition: metricsStyleFields.mediaPosition,
|
|
25
26
|
mediaType: metricsStyleFields.mediaType,
|
|
26
|
-
statsStyle: metricsStyleFields.statsStyle
|
|
27
|
+
statsStyle: metricsStyleFields.statsStyle,
|
|
28
|
+
...sectionWrapperFields
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
3
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
6
|
const HeaderStatsRow = (props) => {
|
|
@@ -16,6 +17,9 @@ const HeaderStatsRow = (props) => {
|
|
|
16
17
|
...props
|
|
17
18
|
};
|
|
18
19
|
const {
|
|
20
|
+
className: sectionClassName,
|
|
21
|
+
style: sectionStyle,
|
|
22
|
+
css,
|
|
19
23
|
textLayout = "twoColumn",
|
|
20
24
|
bgMedia = "none",
|
|
21
25
|
statsStyle = "line"
|
|
@@ -43,7 +47,7 @@ const HeaderStatsRow = (props) => {
|
|
|
43
47
|
/* @__PURE__ */ jsx("h3", { className: cn("text-md font-bold leading-[1.4] md:text-xl", textColorClass), children: stat.heading })
|
|
44
48
|
] }, index);
|
|
45
49
|
};
|
|
46
|
-
return /* @__PURE__ */ jsxs(
|
|
50
|
+
return /* @__PURE__ */ jsxs(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", { relative: hasBg }, sectionClassName), style: sectionStyle, css, children: [
|
|
47
51
|
hasBg && /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
48
52
|
isBgImage && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49
53
|
/* @__PURE__ */ jsx(CompoundImage, { src: image.src, className: "size-full object-cover", alt: image.alt }),
|
|
@@ -123,6 +123,28 @@ declare const conf: {
|
|
|
123
123
|
type: string;
|
|
124
124
|
label: string;
|
|
125
125
|
objectFields: {
|
|
126
|
+
className: {
|
|
127
|
+
readonly type: "text";
|
|
128
|
+
readonly label: "Class Name";
|
|
129
|
+
readonly ai: {
|
|
130
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
style: {
|
|
134
|
+
readonly type: "object";
|
|
135
|
+
readonly label: "Style";
|
|
136
|
+
readonly objectFields: {};
|
|
137
|
+
readonly ai: {
|
|
138
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
css: {
|
|
142
|
+
readonly type: "textarea";
|
|
143
|
+
readonly label: "Custom CSS";
|
|
144
|
+
readonly ai: {
|
|
145
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
126
148
|
textLayout: {
|
|
127
149
|
readonly type: "radio";
|
|
128
150
|
readonly label: "Text Layout";
|
|
@@ -3,6 +3,7 @@ import { headingField, descriptionField } from "../../../puck-core/core/props/co
|
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { metricsStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -25,7 +26,8 @@ const conf = {
|
|
|
25
26
|
objectFields: {
|
|
26
27
|
textLayout: metricsStyleFields.textLayout,
|
|
27
28
|
bgMedia: metricsStyleFields.bgMedia,
|
|
28
|
-
statsStyle: metricsStyleFields.statsStyle
|
|
29
|
+
statsStyle: metricsStyleFields.statsStyle,
|
|
30
|
+
...sectionWrapperFields
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -128,6 +128,28 @@ declare const conf: {
|
|
|
128
128
|
type: string;
|
|
129
129
|
label: string;
|
|
130
130
|
objectFields: {
|
|
131
|
+
className: {
|
|
132
|
+
readonly type: "text";
|
|
133
|
+
readonly label: "Class Name";
|
|
134
|
+
readonly ai: {
|
|
135
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
style: {
|
|
139
|
+
readonly type: "object";
|
|
140
|
+
readonly label: "Style";
|
|
141
|
+
readonly objectFields: {};
|
|
142
|
+
readonly ai: {
|
|
143
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
css: {
|
|
147
|
+
readonly type: "textarea";
|
|
148
|
+
readonly label: "Custom CSS";
|
|
149
|
+
readonly ai: {
|
|
150
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
151
|
+
};
|
|
152
|
+
};
|
|
131
153
|
textLayout: {
|
|
132
154
|
readonly type: "radio";
|
|
133
155
|
readonly label: "Text Layout";
|
|
@@ -3,6 +3,7 @@ import { descriptionField, headingField } from "../../../puck-core/core/props/co
|
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { metricsStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -25,7 +26,8 @@ const conf = {
|
|
|
25
26
|
label: "Styles",
|
|
26
27
|
objectFields: {
|
|
27
28
|
textLayout: metricsStyleFields.textLayout,
|
|
28
|
-
statsStyle: metricsStyleFields.statsStyle
|
|
29
|
+
statsStyle: metricsStyleFields.statsStyle,
|
|
30
|
+
...sectionWrapperFields
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
3
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
6
|
import React__default from "react";
|
|
@@ -16,12 +17,15 @@ const MixedGridStats = (props) => {
|
|
|
16
17
|
...props
|
|
17
18
|
};
|
|
18
19
|
const {
|
|
20
|
+
className: sectionClassName,
|
|
21
|
+
style: sectionStyle,
|
|
22
|
+
css,
|
|
19
23
|
textLayout = "twoColumn",
|
|
20
24
|
statsStyle = "cardPlain"
|
|
21
25
|
} = styles ?? {};
|
|
22
26
|
const isTwoColumn = textLayout === "twoColumn";
|
|
23
27
|
const isReversed = statsStyle === "cardReversed";
|
|
24
|
-
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: [
|
|
25
29
|
/* @__PURE__ */ jsx("div", { className: cn("mb-12 md:mb-18 lg:mb-20", {
|
|
26
30
|
"grid grid-cols-1 gap-y-5 md:grid-cols-2 md:gap-x-12 lg:gap-x-20": isTwoColumn
|
|
27
31
|
}), children: isTwoColumn ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -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 MetricsSectionStyles {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
css?: string;
|
|
11
14
|
textLayout?: "twoColumn" | "stacked";
|
|
12
15
|
statsLayout?: "2x2" | "single-column";
|
|
13
16
|
mediaPosition?: "left" | "right";
|
|
@@ -123,6 +123,28 @@ declare const conf: {
|
|
|
123
123
|
type: string;
|
|
124
124
|
label: string;
|
|
125
125
|
objectFields: {
|
|
126
|
+
className: {
|
|
127
|
+
readonly type: "text";
|
|
128
|
+
readonly label: "Class Name";
|
|
129
|
+
readonly ai: {
|
|
130
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
style: {
|
|
134
|
+
readonly type: "object";
|
|
135
|
+
readonly label: "Style";
|
|
136
|
+
readonly objectFields: {};
|
|
137
|
+
readonly ai: {
|
|
138
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
css: {
|
|
142
|
+
readonly type: "textarea";
|
|
143
|
+
readonly label: "Custom CSS";
|
|
144
|
+
readonly ai: {
|
|
145
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
126
148
|
statsLayout: {
|
|
127
149
|
readonly type: "radio";
|
|
128
150
|
readonly label: "Stats Layout";
|
|
@@ -3,6 +3,7 @@ import { headingField, descriptionField } from "../../../puck-core/core/props/co
|
|
|
3
3
|
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { metricsStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -25,7 +26,8 @@ const conf = {
|
|
|
25
26
|
objectFields: {
|
|
26
27
|
statsLayout: metricsStyleFields.statsLayout,
|
|
27
28
|
bgMedia: metricsStyleFields.bgMedia,
|
|
28
|
-
statsStyle: metricsStyleFields.statsStyle
|
|
29
|
+
statsStyle: metricsStyleFields.statsStyle,
|
|
30
|
+
...sectionWrapperFields
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
3
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
6
|
const SplitStats = (props) => {
|
|
@@ -16,6 +17,9 @@ const SplitStats = (props) => {
|
|
|
16
17
|
...props
|
|
17
18
|
};
|
|
18
19
|
const {
|
|
20
|
+
className: sectionClassName,
|
|
21
|
+
style: sectionStyle,
|
|
22
|
+
css,
|
|
19
23
|
statsLayout = "2x2",
|
|
20
24
|
bgMedia = "none",
|
|
21
25
|
statsStyle = "line"
|
|
@@ -43,7 +47,7 @@ const SplitStats = (props) => {
|
|
|
43
47
|
/* @__PURE__ */ jsx("h3", { className: cn("text-md font-bold leading-[1.4] md:text-xl", textColorClass), children: stat.heading })
|
|
44
48
|
] }, index);
|
|
45
49
|
};
|
|
46
|
-
return /* @__PURE__ */ jsxs(
|
|
50
|
+
return /* @__PURE__ */ jsxs(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", { relative: hasBg }, sectionClassName), style: sectionStyle, css, children: [
|
|
47
51
|
hasBg && /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
48
52
|
isBgImage && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
49
53
|
/* @__PURE__ */ jsx(CompoundImage, { src: image.src, className: "size-full object-cover", alt: image.alt }),
|
|
@@ -61,6 +61,28 @@ declare const conf: {
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
url: {
|
|
64
|
+
className: {
|
|
65
|
+
readonly type: "text";
|
|
66
|
+
readonly label: "Class Name";
|
|
67
|
+
readonly ai: {
|
|
68
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
style: {
|
|
72
|
+
readonly type: "object";
|
|
73
|
+
readonly label: "Style";
|
|
74
|
+
readonly objectFields: {};
|
|
75
|
+
readonly ai: {
|
|
76
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
css: {
|
|
80
|
+
readonly type: "textarea";
|
|
81
|
+
readonly label: "Custom CSS";
|
|
82
|
+
readonly ai: {
|
|
83
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
64
86
|
type: string;
|
|
65
87
|
};
|
|
66
88
|
};
|
|
@@ -71,6 +93,28 @@ declare const conf: {
|
|
|
71
93
|
type: string;
|
|
72
94
|
label: string;
|
|
73
95
|
objectFields: {
|
|
96
|
+
className: {
|
|
97
|
+
readonly type: "text";
|
|
98
|
+
readonly label: "Class Name";
|
|
99
|
+
readonly ai: {
|
|
100
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
style: {
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
readonly label: "Style";
|
|
106
|
+
readonly objectFields: {};
|
|
107
|
+
readonly ai: {
|
|
108
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
css: {
|
|
112
|
+
readonly type: "textarea";
|
|
113
|
+
readonly label: "Custom CSS";
|
|
114
|
+
readonly ai: {
|
|
115
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
116
|
+
};
|
|
117
|
+
};
|
|
74
118
|
mediaPosition: {
|
|
75
119
|
readonly type: "radio";
|
|
76
120
|
readonly label: "Media Position";
|
|
@@ -2,6 +2,7 @@ import { TabStats, TabStatsDefaults } from "./tab-stats.js";
|
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
4
|
import { metricsStyleFields } from "../props.js";
|
|
5
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const conf = {
|
|
6
7
|
fields: {
|
|
7
8
|
tagline: { type: "text" },
|
|
@@ -22,7 +23,7 @@ const conf = {
|
|
|
22
23
|
type: "object",
|
|
23
24
|
objectFields: {
|
|
24
25
|
image: imageField,
|
|
25
|
-
url: { type: "text" }
|
|
26
|
+
url: { type: "text", ...sectionWrapperFields }
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -31,7 +32,8 @@ const conf = {
|
|
|
31
32
|
type: "object",
|
|
32
33
|
label: "Styles",
|
|
33
34
|
objectFields: {
|
|
34
|
-
mediaPosition: metricsStyleFields.mediaPosition
|
|
35
|
+
mediaPosition: metricsStyleFields.mediaPosition,
|
|
36
|
+
...sectionWrapperFields
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
},
|
|
@@ -5,6 +5,8 @@ import { VideoIframe } from "../../../shadcn/video-iframe.js";
|
|
|
5
5
|
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
6
6
|
import { TabsContent, TabsList, TabsTrigger, Tabs } from "../../../shadcn/tabs.js";
|
|
7
7
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
8
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
10
|
const TabStats = (props) => {
|
|
9
11
|
const {
|
|
10
12
|
tagline,
|
|
@@ -17,7 +19,7 @@ const TabStats = (props) => {
|
|
|
17
19
|
...TabStatsDefaults,
|
|
18
20
|
...props
|
|
19
21
|
};
|
|
20
|
-
const { mediaPosition = "left" } = styles ?? {};
|
|
22
|
+
const { className: sectionClassName, style: sectionStyle, css, mediaPosition = "left" } = styles ?? {};
|
|
21
23
|
const isMediaLeft = mediaPosition === "left";
|
|
22
24
|
const mediaPanel = /* @__PURE__ */ jsx("div", { className: "max-size-full flex items-center justify-center overflow-hidden", children: tabs.map((tab) => /* @__PURE__ */ jsx(
|
|
23
25
|
TabsContent,
|
|
@@ -65,7 +67,7 @@ const TabStats = (props) => {
|
|
|
65
67
|
},
|
|
66
68
|
index
|
|
67
69
|
)) });
|
|
68
|
-
return /* @__PURE__ */ jsx(
|
|
70
|
+
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 flex flex-col items-start", children: [
|
|
69
71
|
/* @__PURE__ */ jsxs("div", { className: "rb-12 mb-12 w-full max-w-lg md:mb-18 lg:mb-20", children: [
|
|
70
72
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
71
73
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { BiCheck } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.js";
|
|
3
3
|
import { Button } from "../../../shadcn/button.js";
|
|
4
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
5
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
4
6
|
const PricingCardGrid = (props) => {
|
|
5
7
|
const { tagline, heading, description, pricingPlans, styles } = {
|
|
6
8
|
...PricingCardGridDefaults,
|
|
7
9
|
...props
|
|
8
10
|
};
|
|
9
|
-
const { columns = 2 } = styles ?? {};
|
|
11
|
+
const { className: sectionClassName, style: sectionStyle, css, columns = 2 } = styles ?? {};
|
|
10
12
|
const gridColsClass = columns === 3 ? "md:grid-cols-2 lg:grid-cols-3" : "md:grid-cols-2";
|
|
11
13
|
const containerMaxW = columns === 3 ? "" : "max-w-xl";
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
14
|
+
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 ${containerMaxW}`, children: [
|
|
13
15
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto mb-12 max-w-lg text-center md:mb-18 lg:mb-20", children: [
|
|
14
16
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
15
17
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -42,6 +42,28 @@ declare const conf: {
|
|
|
42
42
|
type: string;
|
|
43
43
|
label: string;
|
|
44
44
|
objectFields: {
|
|
45
|
+
className: {
|
|
46
|
+
readonly type: "text";
|
|
47
|
+
readonly label: "Class Name";
|
|
48
|
+
readonly ai: {
|
|
49
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
style: {
|
|
53
|
+
readonly type: "object";
|
|
54
|
+
readonly label: "Style";
|
|
55
|
+
readonly objectFields: {};
|
|
56
|
+
readonly ai: {
|
|
57
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
css: {
|
|
61
|
+
readonly type: "textarea";
|
|
62
|
+
readonly label: "Custom CSS";
|
|
63
|
+
readonly ai: {
|
|
64
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
65
|
+
};
|
|
66
|
+
};
|
|
45
67
|
columns: {
|
|
46
68
|
readonly type: "radio";
|
|
47
69
|
readonly label: "Columns";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PricingCardGrid, PricingCardGridDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { pricingStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
tagline: { type: "text" },
|
|
@@ -24,7 +25,8 @@ const conf = {
|
|
|
24
25
|
label: "Styles",
|
|
25
26
|
objectFields: {
|
|
26
27
|
columns: pricingStyleFields.columns,
|
|
27
|
-
cardLayout: pricingStyleFields.cardLayout
|
|
28
|
+
cardLayout: pricingStyleFields.cardLayout,
|
|
29
|
+
...sectionWrapperFields
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
},
|
|
@@ -3,12 +3,16 @@ import { BiCheck } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@
|
|
|
3
3
|
import { Button } from "../../../shadcn/button.js";
|
|
4
4
|
import { Tabs, TabsList, TabsTrigger, TabsContent } from "../../../shadcn/tabs.js";
|
|
5
5
|
import { cn } from "../../../../utils/css-utils.js";
|
|
6
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const PricingComparisonTable = (props) => {
|
|
7
8
|
const { tagline, heading, description, pricingPlans, featureCategories, tabs, defaultTabValue, styles } = {
|
|
8
9
|
...PricingComparisonTableDefaults,
|
|
9
10
|
...props
|
|
10
11
|
};
|
|
11
12
|
const {
|
|
13
|
+
className: sectionClassName,
|
|
14
|
+
style: sectionStyle,
|
|
15
|
+
css,
|
|
12
16
|
tabSwitching = false,
|
|
13
17
|
tableStyle = "border-separated",
|
|
14
18
|
bottomButtons = false
|
|
@@ -74,7 +78,7 @@ const PricingComparisonTable = (props) => {
|
|
|
74
78
|
/* @__PURE__ */ jsx("div", { className: "hidden md:block" }),
|
|
75
79
|
plans.map((plan, index) => /* @__PURE__ */ jsx("div", { className: cn("px-2 sm:px-4 lg:px-6", { "border-l border-border-primary": index > 0 }), children: /* @__PURE__ */ jsx(Button, { variant: plan.button.variant, size: plan.button.size, className: "w-full whitespace-normal px-3 py-1 sm:px-4 sm:py-3", children: plan.button.label }) }, index))
|
|
76
80
|
] });
|
|
77
|
-
return /* @__PURE__ */ jsx(
|
|
81
|
+
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: [
|
|
78
82
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto mb-12 max-w-lg text-center md:mb-18 lg:mb-20", children: [
|
|
79
83
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
80
84
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -47,6 +47,28 @@ declare const conf: {
|
|
|
47
47
|
type: string;
|
|
48
48
|
label: string;
|
|
49
49
|
objectFields: {
|
|
50
|
+
className: {
|
|
51
|
+
readonly type: "text";
|
|
52
|
+
readonly label: "Class Name";
|
|
53
|
+
readonly ai: {
|
|
54
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
style: {
|
|
58
|
+
readonly type: "object";
|
|
59
|
+
readonly label: "Style";
|
|
60
|
+
readonly objectFields: {};
|
|
61
|
+
readonly ai: {
|
|
62
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
css: {
|
|
66
|
+
readonly type: "textarea";
|
|
67
|
+
readonly label: "Custom CSS";
|
|
68
|
+
readonly ai: {
|
|
69
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
50
72
|
tabSwitching: {
|
|
51
73
|
readonly type: "radio";
|
|
52
74
|
readonly label: "Tab Switching";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PricingComparisonTable, PricingComparisonTableDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { pricingStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
tagline: { type: "text" },
|
|
@@ -28,7 +29,8 @@ const conf = {
|
|
|
28
29
|
objectFields: {
|
|
29
30
|
tabSwitching: pricingStyleFields.tabSwitching,
|
|
30
31
|
tableStyle: pricingStyleFields.tableStyle,
|
|
31
|
-
bottomButtons: pricingStyleFields.bottomButtons
|
|
32
|
+
bottomButtons: pricingStyleFields.bottomButtons,
|
|
33
|
+
...sectionWrapperFields
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
},
|
|
@@ -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 PricingSectionStyles {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
css?: string;
|
|
11
14
|
cardLayout?: "center-price" | "icon-corner" | "name-desc-divider" | "icon-name-inline";
|
|
12
15
|
columns?: 2 | 3;
|
|
13
16
|
tabSwitching?: boolean;
|
|
@@ -2,13 +2,15 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { BiCheck } 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 { cn } from "../../../../utils/css-utils.js";
|
|
6
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
7
|
const SinglePricingCard = (props) => {
|
|
6
8
|
const { tagline, heading, description, pricingPlan, styles } = {
|
|
7
9
|
...SinglePricingCardDefaults,
|
|
8
10
|
...props
|
|
9
11
|
};
|
|
10
|
-
const { cardLayout = "center-price" } = styles ?? {};
|
|
11
|
-
return /* @__PURE__ */ jsx(
|
|
12
|
+
const { className: sectionClassName, style: sectionStyle, css, cardLayout = "center-price" } = styles ?? {};
|
|
13
|
+
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: [
|
|
12
14
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto mb-12 max-w-lg text-center md:mb-18 lg:mb-20", children: [
|
|
13
15
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
14
16
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -20,6 +20,28 @@ declare const conf: {
|
|
|
20
20
|
label: string;
|
|
21
21
|
objectFields: {
|
|
22
22
|
planName: {
|
|
23
|
+
className: {
|
|
24
|
+
readonly type: "text";
|
|
25
|
+
readonly label: "Class Name";
|
|
26
|
+
readonly ai: {
|
|
27
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
style: {
|
|
31
|
+
readonly type: "object";
|
|
32
|
+
readonly label: "Style";
|
|
33
|
+
readonly objectFields: {};
|
|
34
|
+
readonly ai: {
|
|
35
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
css: {
|
|
39
|
+
readonly type: "textarea";
|
|
40
|
+
readonly label: "Custom CSS";
|
|
41
|
+
readonly ai: {
|
|
42
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
23
45
|
type: string;
|
|
24
46
|
};
|
|
25
47
|
monthlyPrice: {
|
|
@@ -40,6 +62,28 @@ declare const conf: {
|
|
|
40
62
|
type: string;
|
|
41
63
|
label: string;
|
|
42
64
|
objectFields: {
|
|
65
|
+
className: {
|
|
66
|
+
readonly type: "text";
|
|
67
|
+
readonly label: "Class Name";
|
|
68
|
+
readonly ai: {
|
|
69
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
style: {
|
|
73
|
+
readonly type: "object";
|
|
74
|
+
readonly label: "Style";
|
|
75
|
+
readonly objectFields: {};
|
|
76
|
+
readonly ai: {
|
|
77
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
css: {
|
|
81
|
+
readonly type: "textarea";
|
|
82
|
+
readonly label: "Custom CSS";
|
|
83
|
+
readonly ai: {
|
|
84
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
85
|
+
};
|
|
86
|
+
};
|
|
43
87
|
cardLayout: {
|
|
44
88
|
readonly type: "select";
|
|
45
89
|
readonly label: "Card Layout";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SinglePricingCard, SinglePricingCardDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
3
|
import { pricingStyleFields } from "../props.js";
|
|
4
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
5
|
const conf = {
|
|
5
6
|
fields: {
|
|
6
7
|
tagline: { type: "text" },
|
|
@@ -10,7 +11,7 @@ const conf = {
|
|
|
10
11
|
type: "object",
|
|
11
12
|
label: "Pricing Plan",
|
|
12
13
|
objectFields: {
|
|
13
|
-
planName: { type: "text" },
|
|
14
|
+
planName: { type: "text", ...sectionWrapperFields },
|
|
14
15
|
monthlyPrice: { type: "text" },
|
|
15
16
|
yearlyPrice: { type: "text" },
|
|
16
17
|
features: {
|
|
@@ -23,7 +24,8 @@ const conf = {
|
|
|
23
24
|
type: "object",
|
|
24
25
|
label: "Styles",
|
|
25
26
|
objectFields: {
|
|
26
|
-
cardLayout: pricingStyleFields.cardLayout
|
|
27
|
+
cardLayout: pricingStyleFields.cardLayout,
|
|
28
|
+
...sectionWrapperFields
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
},
|