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,12 +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 SplitPricing = (props) => {
|
|
6
|
-
const { tagline, heading, description, featureSections, pricingPlan } = {
|
|
8
|
+
const { tagline, heading, description, featureSections, pricingPlan, styles } = {
|
|
7
9
|
...SplitPricingDefaults,
|
|
8
10
|
...props
|
|
9
11
|
};
|
|
10
|
-
|
|
12
|
+
const { className: sectionClassName, style: sectionStyle, css } = 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: [
|
|
11
14
|
/* @__PURE__ */ jsxs("div", { className: "mb-8 w-full max-w-lg lg:mb-20", children: [
|
|
12
15
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
13
16
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -34,6 +34,28 @@ declare const conf: {
|
|
|
34
34
|
label: string;
|
|
35
35
|
objectFields: {
|
|
36
36
|
planName: {
|
|
37
|
+
className: {
|
|
38
|
+
readonly type: "text";
|
|
39
|
+
readonly label: "Class Name";
|
|
40
|
+
readonly ai: {
|
|
41
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
style: {
|
|
45
|
+
readonly type: "object";
|
|
46
|
+
readonly label: "Style";
|
|
47
|
+
readonly objectFields: {};
|
|
48
|
+
readonly ai: {
|
|
49
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
css: {
|
|
53
|
+
readonly type: "textarea";
|
|
54
|
+
readonly label: "Custom CSS";
|
|
55
|
+
readonly ai: {
|
|
56
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
37
59
|
type: string;
|
|
38
60
|
};
|
|
39
61
|
description: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SplitPricing, SplitPricingDefaults } from "./component.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
3
4
|
const conf = {
|
|
4
5
|
fields: {
|
|
5
6
|
tagline: { type: "text" },
|
|
@@ -17,7 +18,7 @@ const conf = {
|
|
|
17
18
|
type: "object",
|
|
18
19
|
label: "Pricing Plan",
|
|
19
20
|
objectFields: {
|
|
20
|
-
planName: { type: "text" },
|
|
21
|
+
planName: { type: "text", ...sectionWrapperFields },
|
|
21
22
|
description: { type: "textarea" },
|
|
22
23
|
monthlyPrice: { type: "text" }
|
|
23
24
|
}
|
|
@@ -2,15 +2,17 @@ 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 { Tabs, TabsList, TabsTrigger, TabsContent } from "../../../shadcn/tabs.js";
|
|
5
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
6
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
7
|
const TabPricingGrid = (props) => {
|
|
6
8
|
const { tagline, heading, description, defaultTabValue, tabs, styles } = {
|
|
7
9
|
...TabPricingGridDefaults,
|
|
8
10
|
...props
|
|
9
11
|
};
|
|
10
|
-
const { columns = 2 } = styles ?? {};
|
|
12
|
+
const { className: sectionClassName, style: sectionStyle, css, columns = 2 } = styles ?? {};
|
|
11
13
|
const gridColsClass = columns === 3 ? "md:grid-cols-2 lg:grid-cols-3" : "md:grid-cols-2";
|
|
12
14
|
const containerMaxW = columns === 3 ? "" : "max-w-xl";
|
|
13
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
+
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: [
|
|
14
16
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto mb-8 max-w-lg text-center md:mb-10 lg:mb-12", children: [
|
|
15
17
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
16
18
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -40,6 +40,28 @@ declare const conf: {
|
|
|
40
40
|
type: string;
|
|
41
41
|
label: string;
|
|
42
42
|
objectFields: {
|
|
43
|
+
className: {
|
|
44
|
+
readonly type: "text";
|
|
45
|
+
readonly label: "Class Name";
|
|
46
|
+
readonly ai: {
|
|
47
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
style: {
|
|
51
|
+
readonly type: "object";
|
|
52
|
+
readonly label: "Style";
|
|
53
|
+
readonly objectFields: {};
|
|
54
|
+
readonly ai: {
|
|
55
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
css: {
|
|
59
|
+
readonly type: "textarea";
|
|
60
|
+
readonly label: "Custom CSS";
|
|
61
|
+
readonly ai: {
|
|
62
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
43
65
|
columns: {
|
|
44
66
|
readonly type: "radio";
|
|
45
67
|
readonly label: "Columns";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TabPricingGrid, TabPricingGridDefaults } 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" },
|
|
@@ -26,7 +27,8 @@ const conf = {
|
|
|
26
27
|
label: "Styles",
|
|
27
28
|
objectFields: {
|
|
28
29
|
columns: pricingStyleFields.columns,
|
|
29
|
-
cardLayout: pricingStyleFields.cardLayout
|
|
30
|
+
cardLayout: pricingStyleFields.cardLayout,
|
|
31
|
+
...sectionWrapperFields
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
},
|
|
@@ -2,12 +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 { Tabs, TabsList, TabsTrigger, TabsContent } from "../../../shadcn/tabs.js";
|
|
5
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
6
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
7
|
const TabSinglePricing = (props) => {
|
|
6
|
-
const { tagline, heading, description, defaultTabValue, tabs } = {
|
|
8
|
+
const { tagline, heading, description, defaultTabValue, tabs, styles } = {
|
|
7
9
|
...TabSinglePricingDefaults,
|
|
8
10
|
...props
|
|
9
11
|
};
|
|
10
|
-
|
|
12
|
+
const { className: sectionClassName, style: sectionStyle, css } = 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 max-w-lg", children: [
|
|
11
14
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto mb-8 max-w-lg text-center md:mb-10 lg:mb-12", children: [
|
|
12
15
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
13
16
|
/* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -40,6 +40,28 @@ declare const conf: {
|
|
|
40
40
|
type: string;
|
|
41
41
|
label: string;
|
|
42
42
|
objectFields: {
|
|
43
|
+
className: {
|
|
44
|
+
readonly type: "text";
|
|
45
|
+
readonly label: "Class Name";
|
|
46
|
+
readonly ai: {
|
|
47
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
style: {
|
|
51
|
+
readonly type: "object";
|
|
52
|
+
readonly label: "Style";
|
|
53
|
+
readonly objectFields: {};
|
|
54
|
+
readonly ai: {
|
|
55
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
css: {
|
|
59
|
+
readonly type: "textarea";
|
|
60
|
+
readonly label: "Custom CSS";
|
|
61
|
+
readonly ai: {
|
|
62
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
43
65
|
cardLayout: {
|
|
44
66
|
readonly type: "select";
|
|
45
67
|
readonly label: "Card Layout";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { TabSinglePricing, TabSinglePricingDefaults } 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" },
|
|
@@ -25,7 +26,8 @@ const conf = {
|
|
|
25
26
|
type: "object",
|
|
26
27
|
label: "Styles",
|
|
27
28
|
objectFields: {
|
|
28
|
-
cardLayout: pricingStyleFields.cardLayout
|
|
29
|
+
cardLayout: pricingStyleFields.cardLayout,
|
|
30
|
+
...sectionWrapperFields
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -2,6 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
3
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
4
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
5
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const CompactTimeline = (props) => {
|
|
6
7
|
const {
|
|
7
8
|
tagline,
|
|
@@ -15,9 +16,12 @@ const CompactTimeline = (props) => {
|
|
|
15
16
|
...props
|
|
16
17
|
};
|
|
17
18
|
const {
|
|
19
|
+
className: sectionClassName,
|
|
20
|
+
style: sectionStyle,
|
|
21
|
+
css,
|
|
18
22
|
hasImage = false
|
|
19
23
|
} = styles ?? {};
|
|
20
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
+
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: [
|
|
21
25
|
/* @__PURE__ */ jsx("div", { className: "mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-lg", children: [
|
|
22
26
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
23
27
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -121,6 +121,28 @@ declare const conf: {
|
|
|
121
121
|
type: string;
|
|
122
122
|
label: string;
|
|
123
123
|
objectFields: {
|
|
124
|
+
className: {
|
|
125
|
+
readonly type: "text";
|
|
126
|
+
readonly label: "Class Name";
|
|
127
|
+
readonly ai: {
|
|
128
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
style: {
|
|
132
|
+
readonly type: "object";
|
|
133
|
+
readonly label: "Style";
|
|
134
|
+
readonly objectFields: {};
|
|
135
|
+
readonly ai: {
|
|
136
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
css: {
|
|
140
|
+
readonly type: "textarea";
|
|
141
|
+
readonly label: "Custom CSS";
|
|
142
|
+
readonly ai: {
|
|
143
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
124
146
|
hasImage: {
|
|
125
147
|
readonly type: "radio";
|
|
126
148
|
readonly label: "Show Images";
|
|
@@ -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 { showcaseStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -22,7 +23,8 @@ const conf = {
|
|
|
22
23
|
type: "object",
|
|
23
24
|
label: "Styles",
|
|
24
25
|
objectFields: {
|
|
25
|
-
hasImage: showcaseStyleFields.hasImage
|
|
26
|
+
hasImage: showcaseStyleFields.hasImage,
|
|
27
|
+
...sectionWrapperFields
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
@@ -4,6 +4,8 @@ import { useState, useEffect } from "react";
|
|
|
4
4
|
import { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext } from "../../../shadcn/carousel.js";
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
7
9
|
const HorizontalTimeline = (props) => {
|
|
8
10
|
const {
|
|
9
11
|
tagline,
|
|
@@ -17,6 +19,9 @@ const HorizontalTimeline = (props) => {
|
|
|
17
19
|
...props
|
|
18
20
|
};
|
|
19
21
|
const {
|
|
22
|
+
className: sectionClassName,
|
|
23
|
+
style: sectionStyle,
|
|
24
|
+
css,
|
|
20
25
|
hasImage = false
|
|
21
26
|
} = styles ?? {};
|
|
22
27
|
const [api, setApi] = useState();
|
|
@@ -29,7 +34,7 @@ const HorizontalTimeline = (props) => {
|
|
|
29
34
|
api.scrollTo(0);
|
|
30
35
|
api.reInit();
|
|
31
36
|
}, [api]);
|
|
32
|
-
return /* @__PURE__ */ jsx(
|
|
37
|
+
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: [
|
|
33
38
|
/* @__PURE__ */ jsx("div", { className: "mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full max-w-lg text-center", children: [
|
|
34
39
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
35
40
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -121,6 +121,28 @@ declare const conf: {
|
|
|
121
121
|
type: string;
|
|
122
122
|
label: string;
|
|
123
123
|
objectFields: {
|
|
124
|
+
className: {
|
|
125
|
+
readonly type: "text";
|
|
126
|
+
readonly label: "Class Name";
|
|
127
|
+
readonly ai: {
|
|
128
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
style: {
|
|
132
|
+
readonly type: "object";
|
|
133
|
+
readonly label: "Style";
|
|
134
|
+
readonly objectFields: {};
|
|
135
|
+
readonly ai: {
|
|
136
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
css: {
|
|
140
|
+
readonly type: "textarea";
|
|
141
|
+
readonly label: "Custom CSS";
|
|
142
|
+
readonly ai: {
|
|
143
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
124
146
|
hasImage: {
|
|
125
147
|
readonly type: "radio";
|
|
126
148
|
readonly label: "Show Images";
|
|
@@ -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 { showcaseStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
6
7
|
const conf = {
|
|
7
8
|
fields: {
|
|
8
9
|
tagline: { type: "text" },
|
|
@@ -22,7 +23,8 @@ const conf = {
|
|
|
22
23
|
type: "object",
|
|
23
24
|
label: "Styles",
|
|
24
25
|
objectFields: {
|
|
25
|
-
hasImage: showcaseStyleFields.hasImage
|
|
26
|
+
hasImage: showcaseStyleFields.hasImage,
|
|
27
|
+
...sectionWrapperFields
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
@@ -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 ShowcaseSectionStyles {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
css?: string;
|
|
11
14
|
bordered?: boolean;
|
|
12
15
|
hasImage?: boolean;
|
|
13
16
|
contentLayout?: "image-only" | "text+image";
|
|
@@ -4,7 +4,9 @@ import { useRef } from "react";
|
|
|
4
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
6
|
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
|
+
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
7
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
10
|
const SingleColumnTimeline = (props) => {
|
|
9
11
|
const {
|
|
10
12
|
tagline,
|
|
@@ -18,10 +20,13 @@ const SingleColumnTimeline = (props) => {
|
|
|
18
20
|
...props
|
|
19
21
|
};
|
|
20
22
|
const {
|
|
23
|
+
className: sectionClassName,
|
|
24
|
+
style: sectionStyle,
|
|
25
|
+
css,
|
|
21
26
|
bordered = false,
|
|
22
27
|
hasImage = false
|
|
23
28
|
} = styles ?? {};
|
|
24
|
-
return /* @__PURE__ */ jsx(
|
|
29
|
+
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 max-w-lg", children: [
|
|
25
30
|
/* @__PURE__ */ jsx("div", { className: "mb-12 md:mb-18 lg:mb-20", children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 w-full max-w-lg", children: [
|
|
26
31
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
27
32
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -46,8 +51,10 @@ const TimelineEntry = ({
|
|
|
46
51
|
hasImage
|
|
47
52
|
}) => {
|
|
48
53
|
const circleRef = useRef(null);
|
|
54
|
+
const [scrollContainerRef] = useScrollContainer(circleRef);
|
|
49
55
|
const { scrollYProgress } = useScroll({
|
|
50
56
|
target: circleRef,
|
|
57
|
+
...scrollContainerRef.current ? { container: scrollContainerRef } : {},
|
|
51
58
|
offset: ["end end", "end center"]
|
|
52
59
|
});
|
|
53
60
|
const backgroundColor = {
|
|
@@ -203,6 +203,28 @@ declare const conf: {
|
|
|
203
203
|
type: string;
|
|
204
204
|
label: string;
|
|
205
205
|
objectFields: {
|
|
206
|
+
className: {
|
|
207
|
+
readonly type: "text";
|
|
208
|
+
readonly label: "Class Name";
|
|
209
|
+
readonly ai: {
|
|
210
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
style: {
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly label: "Style";
|
|
216
|
+
readonly objectFields: {};
|
|
217
|
+
readonly ai: {
|
|
218
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
css: {
|
|
222
|
+
readonly type: "textarea";
|
|
223
|
+
readonly label: "Custom CSS";
|
|
224
|
+
readonly ai: {
|
|
225
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
226
|
+
};
|
|
227
|
+
};
|
|
206
228
|
bordered: {
|
|
207
229
|
readonly type: "radio";
|
|
208
230
|
readonly label: "Bordered";
|
|
@@ -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 { showcaseStyleFields } 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
|
bordered: showcaseStyleFields.bordered,
|
|
28
|
-
hasImage: showcaseStyleFields.hasImage
|
|
29
|
+
hasImage: showcaseStyleFields.hasImage,
|
|
30
|
+
...sectionWrapperFields
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -4,7 +4,9 @@ import { useRef } from "react";
|
|
|
4
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
5
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
6
|
import { useScroll, useTransform, motion } from "framer-motion";
|
|
7
|
+
import { useScrollContainer } from "../../../../hooks/use-scroll-container.js";
|
|
7
8
|
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
10
|
const StickyScrollTimeline = (props) => {
|
|
9
11
|
const {
|
|
10
12
|
tagline,
|
|
@@ -18,10 +20,13 @@ const StickyScrollTimeline = (props) => {
|
|
|
18
20
|
...props
|
|
19
21
|
};
|
|
20
22
|
const {
|
|
23
|
+
className: sectionClassName,
|
|
24
|
+
style: sectionStyle,
|
|
25
|
+
css,
|
|
21
26
|
bordered = false,
|
|
22
27
|
hasImage = false
|
|
23
28
|
} = styles ?? {};
|
|
24
|
-
return /* @__PURE__ */ jsx(
|
|
29
|
+
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: "relative grid auto-cols-fr grid-cols-1 items-start justify-center gap-6 sm:gap-12 md:grid-cols-2 md:gap-24 lg:gap-32", children: [
|
|
25
30
|
/* @__PURE__ */ jsxs("div", { className: "relative top-0 z-10 md:sticky md:top-20 md:z-auto md:pr-4", children: [
|
|
26
31
|
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
27
32
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -44,8 +49,10 @@ const TimelineEntry = ({
|
|
|
44
49
|
hasImage
|
|
45
50
|
}) => {
|
|
46
51
|
const circleRef = useRef(null);
|
|
52
|
+
const [scrollContainerRef] = useScrollContainer(circleRef);
|
|
47
53
|
const { scrollYProgress } = useScroll({
|
|
48
54
|
target: circleRef,
|
|
55
|
+
...scrollContainerRef.current ? { container: scrollContainerRef } : {},
|
|
49
56
|
offset: ["end end", "end center"]
|
|
50
57
|
});
|
|
51
58
|
const backgroundColor = {
|
|
@@ -203,6 +203,28 @@ declare const conf: {
|
|
|
203
203
|
type: string;
|
|
204
204
|
label: string;
|
|
205
205
|
objectFields: {
|
|
206
|
+
className: {
|
|
207
|
+
readonly type: "text";
|
|
208
|
+
readonly label: "Class Name";
|
|
209
|
+
readonly ai: {
|
|
210
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
style: {
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly label: "Style";
|
|
216
|
+
readonly objectFields: {};
|
|
217
|
+
readonly ai: {
|
|
218
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
css: {
|
|
222
|
+
readonly type: "textarea";
|
|
223
|
+
readonly label: "Custom CSS";
|
|
224
|
+
readonly ai: {
|
|
225
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
226
|
+
};
|
|
227
|
+
};
|
|
206
228
|
bordered: {
|
|
207
229
|
readonly type: "radio";
|
|
208
230
|
readonly label: "Bordered";
|
|
@@ -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 { showcaseStyleFields } 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
|
bordered: showcaseStyleFields.bordered,
|
|
28
|
-
hasImage: showcaseStyleFields.hasImage
|
|
29
|
+
hasImage: showcaseStyleFields.hasImage,
|
|
30
|
+
...sectionWrapperFields
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
},
|
|
@@ -17,8 +17,6 @@ type TabTimelineExtra = {
|
|
|
17
17
|
export type TabTimelineProps = ShowcaseComponentProps<TabTimelineExtra>;
|
|
18
18
|
export declare const TabTimeline: (props: TabTimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export declare const TabTimelineDefaults: TabTimelineExtra & {
|
|
20
|
-
styles:
|
|
21
|
-
contentLayout: string;
|
|
22
|
-
};
|
|
20
|
+
styles: Partial<import("../props").ShowcaseSectionStyles>;
|
|
23
21
|
};
|
|
24
22
|
export {};
|
|
@@ -5,6 +5,7 @@ import { Tabs, TabsList, TabsTrigger, TabsContent } from "../../../shadcn/tabs.j
|
|
|
5
5
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
6
6
|
import { CompoundImage } from "../../../puck-base/image.js";
|
|
7
7
|
import { cn } from "../../../../utils/css-utils.js";
|
|
8
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
8
9
|
const TabTimeline = (props) => {
|
|
9
10
|
var _a, _b;
|
|
10
11
|
const { tabs = [], styles } = {
|
|
@@ -12,6 +13,9 @@ const TabTimeline = (props) => {
|
|
|
12
13
|
...props
|
|
13
14
|
};
|
|
14
15
|
const {
|
|
16
|
+
className: sectionClassName,
|
|
17
|
+
style: sectionStyle,
|
|
18
|
+
css,
|
|
15
19
|
contentLayout = "text+image"
|
|
16
20
|
} = styles ?? {};
|
|
17
21
|
const [activeTab, setActiveTab] = useState((_a = tabs[0]) == null ? void 0 : _a.value);
|
|
@@ -23,7 +27,7 @@ const TabTimeline = (props) => {
|
|
|
23
27
|
const activeIndex = tabs.findIndex((tab) => tab.value === activeTab);
|
|
24
28
|
return `${100 / (tabs.length * 2) * (activeIndex * 2 + 1)}%`;
|
|
25
29
|
};
|
|
26
|
-
return /* @__PURE__ */ jsx(
|
|
30
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container relative", children: [
|
|
27
31
|
/* @__PURE__ */ jsx(
|
|
28
32
|
"div",
|
|
29
33
|
{
|
|
@@ -21,6 +21,28 @@ declare const conf: {
|
|
|
21
21
|
label: string;
|
|
22
22
|
objectFields: {
|
|
23
23
|
date: {
|
|
24
|
+
className: {
|
|
25
|
+
readonly type: "text";
|
|
26
|
+
readonly label: "Class Name";
|
|
27
|
+
readonly ai: {
|
|
28
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
style: {
|
|
32
|
+
readonly type: "object";
|
|
33
|
+
readonly label: "Style";
|
|
34
|
+
readonly objectFields: {};
|
|
35
|
+
readonly ai: {
|
|
36
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
css: {
|
|
40
|
+
readonly type: "textarea";
|
|
41
|
+
readonly label: "Custom CSS";
|
|
42
|
+
readonly ai: {
|
|
43
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
24
46
|
type: string;
|
|
25
47
|
};
|
|
26
48
|
heading: {
|
|
@@ -125,6 +147,28 @@ declare const conf: {
|
|
|
125
147
|
type: string;
|
|
126
148
|
label: string;
|
|
127
149
|
objectFields: {
|
|
150
|
+
className: {
|
|
151
|
+
readonly type: "text";
|
|
152
|
+
readonly label: "Class Name";
|
|
153
|
+
readonly ai: {
|
|
154
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
style: {
|
|
158
|
+
readonly type: "object";
|
|
159
|
+
readonly label: "Style";
|
|
160
|
+
readonly objectFields: {};
|
|
161
|
+
readonly ai: {
|
|
162
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
css: {
|
|
166
|
+
readonly type: "textarea";
|
|
167
|
+
readonly label: "Custom CSS";
|
|
168
|
+
readonly ai: {
|
|
169
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
170
|
+
};
|
|
171
|
+
};
|
|
128
172
|
contentLayout: {
|
|
129
173
|
readonly type: "radio";
|
|
130
174
|
readonly label: "Content Layout";
|
|
@@ -152,9 +196,7 @@ declare const conf: {
|
|
|
152
196
|
};
|
|
153
197
|
}[];
|
|
154
198
|
} & {
|
|
155
|
-
styles:
|
|
156
|
-
contentLayout: string;
|
|
157
|
-
};
|
|
199
|
+
styles: Partial<import("../props").ShowcaseSectionStyles>;
|
|
158
200
|
};
|
|
159
201
|
render: (props: TabTimelineProps) => import("react/jsx-runtime").JSX.Element;
|
|
160
202
|
};
|