dune-react 0.0.20 → 0.0.22
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/index.d.ts +1 -0
- package/dist/components/puck-base/button.d.ts +1 -1
- package/dist/components/puck-base/button.js +5 -6
- package/dist/components/puck-base/card.d.ts +1 -1
- package/dist/components/puck-base/container.js +1 -1
- package/dist/components/puck-base/content.d.ts +1 -1
- package/dist/components/puck-base/form.js +1 -1
- package/dist/components/puck-base/image.js +17 -17
- package/dist/components/puck-base/index.d.ts +1 -12
- 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 +25 -3
- 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 +23 -1
- 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 +5 -23
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +3 -1
- package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +23 -1
- 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 +89 -59
- package/dist/components/puck-block/cta-sections/props.d.ts +3 -1
- package/dist/components/puck-block/cta-sections/props.js +46 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +35 -77
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +24 -83
- package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
- 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 +23 -1
- 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/icon-card-faq/index.d.ts +1 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- 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/index.d.ts +1 -1
- 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 +24 -2
- 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 +24 -2
- 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 +78 -60
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +23 -1
- 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 +23 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -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 +24 -2
- 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 +24 -2
- 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 +71 -66
- 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 +22 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -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/centered-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +120 -16
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +163 -22
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +23 -1
- 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 +144 -18
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +54 -10
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +24 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +5 -2
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +19 -7
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +14 -6
- 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 +23 -1
- 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/horizontal-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +23 -1
- 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 +37 -7
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +9 -5
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -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 +23 -1
- 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/parallax-images-hero/index.d.ts +1 -1
- 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/scatter-parallax-hero/index.d.ts +1 -1
- 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 +14 -6
- 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 +98 -42
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +36 -6
- 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 +37 -7
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +15 -5
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +1 -1
- 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 +36 -6
- 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 +28 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +6 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +102 -44
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +23 -1
- 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 +32 -5
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
- package/dist/components/puck-block/index.d.ts +2 -0
- package/dist/components/puck-block/location-sections/location-1/location.d.ts +4 -1
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +4 -1
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +5 -2
- package/dist/components/puck-block/location-sections/props.d.ts +4 -1
- 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 +23 -1
- 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 +23 -1
- 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 +23 -1
- 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 +22 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +38 -23
- 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 +22 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +3 -1
- 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 +28 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -0
- 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/registry.generated.d.ts +13141 -0
- package/dist/components/puck-block/registry.generated.js +558 -0
- 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 +23 -1
- 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 +23 -1
- 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 +24 -2
- 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 +24 -2
- 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 +24 -4
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +3 -1
- 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 +24 -2
- 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 +23 -1
- package/dist/components/puck-block/team-sections/team-carousel/index.js +3 -1
- 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 +23 -1
- package/dist/components/puck-block/team-sections/team-grid/index.js +3 -1
- 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 +23 -1
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +3 -1
- 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 +23 -1
- 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 +23 -1
- 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 +22 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +3 -1
- 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 +22 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +3 -1
- 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 +23 -1
- 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 +24 -2
- 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/props/content.js +41 -1
- package/dist/components/puck-core/core/props/form.js +76 -0
- package/dist/components/puck-core/core/props/index.js +34 -0
- package/dist/components/puck-core/core/props/interactive.js +17 -0
- package/dist/components/puck-core/core/props/media.js +8 -4
- package/dist/components/puck-core/core/styles.d.ts +375 -1
- package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
- package/dist/components/{puck-base → puck-core}/core/with-editable.js +13 -2
- package/dist/components/puck-core/fields/action-field.js +2 -2
- package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +4 -4
- package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
- package/dist/components/puck-core/index.d.ts +3 -1
- package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -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 +125 -105
- package/package.json +1 -1
- package/dist/components/puck-base/core/fields.d.ts +0 -827
- package/dist/components/puck-base/core/fields.js +0 -267
- package/dist/components/puck-base/core/hooks.d.ts +0 -19
- package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
- package/dist/components/puck-base/core/icon-catalog.js +0 -193
- package/dist/components/puck-base/core/styles.d.ts +0 -1942
- package/dist/components/puck-base/core/types.d.ts +0 -20
- package/dist/components/puck-base/core/types.js +0 -26
- package/dist/components/puck-base/core/utils.d.ts +0 -5
- package/dist/components/puck-base/core/with-editable.d.ts +0 -16
- package/dist/components/puck-base/error-boundary.d.ts +0 -4
- package/dist/components/puck-base/fields/action-field.d.ts +0 -30
- package/dist/components/puck-base/fields/action-field.js +0 -265
- package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
- package/dist/components/puck-base/fields/color-field.d.ts +0 -6
- package/dist/components/puck-base/fields/index.d.ts +0 -8
- package/dist/components/puck-base/fields/location-field.d.ts +0 -44
- package/dist/components/puck-base/fields/object-field.d.ts +0 -8
- package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
- package/dist/components/puck-base/fields/types.d.ts +0 -29
- package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
- package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
- package/dist/components/puck-base/icon-picker-field.js +0 -153
- package/dist/components/puck-base/image-upload-field.d.ts +0 -7
- package/dist/components/puck-base/inline-editable.d.ts +0 -14
- package/dist/components/puck-base/use-upload.d.ts +0 -42
- 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
- /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
- /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
- /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/auto-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/object-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/use-upload.js +0 -0
|
@@ -25,7 +25,7 @@ declare const conf: {
|
|
|
25
25
|
readonly action: {
|
|
26
26
|
type: "custom";
|
|
27
27
|
label: string;
|
|
28
|
-
render: typeof import("
|
|
28
|
+
render: typeof import("../../..").ActionField;
|
|
29
29
|
};
|
|
30
30
|
readonly variant: {
|
|
31
31
|
readonly type: "select";
|
|
@@ -91,80 +91,49 @@ declare const conf: {
|
|
|
91
91
|
readonly instructions: "Buttons must use the same size";
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
|
-
|
|
95
|
-
type: "
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
alt
|
|
94
|
+
images: {
|
|
95
|
+
readonly type: "array";
|
|
96
|
+
readonly max: 10;
|
|
97
|
+
readonly getItemSummary: (item: {
|
|
98
|
+
alt?: string;
|
|
99
|
+
}, index?: number) => string;
|
|
100
|
+
readonly arrayFields: {
|
|
101
|
+
readonly src: import("@puckeditor/core").Field<string>;
|
|
102
|
+
readonly alt: {
|
|
99
103
|
type: "text";
|
|
100
104
|
};
|
|
101
105
|
};
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
};
|
|
106
|
-
formButton: {
|
|
107
|
-
readonly type: "object";
|
|
108
|
-
readonly objectFields: {
|
|
109
|
-
readonly label: {
|
|
110
|
-
readonly type: "text";
|
|
111
|
-
};
|
|
112
|
-
readonly action: {
|
|
113
|
-
type: "custom";
|
|
114
|
-
label: string;
|
|
115
|
-
render: typeof import("../../../puck-core").ActionField;
|
|
116
|
-
};
|
|
117
|
-
readonly variant: {
|
|
118
|
-
readonly type: "select";
|
|
119
|
-
readonly options: readonly [{
|
|
120
|
-
readonly label: "primary";
|
|
121
|
-
readonly value: "default";
|
|
122
|
-
}, {
|
|
123
|
-
readonly label: "secondary";
|
|
124
|
-
readonly value: "secondary";
|
|
125
|
-
}, {
|
|
126
|
-
readonly label: "outline";
|
|
127
|
-
readonly value: "outline";
|
|
128
|
-
}, {
|
|
129
|
-
readonly label: "ghost";
|
|
130
|
-
readonly value: "ghost";
|
|
131
|
-
}, {
|
|
132
|
-
readonly label: "link";
|
|
133
|
-
readonly value: "link";
|
|
134
|
-
}, {
|
|
135
|
-
readonly label: "destructive";
|
|
136
|
-
readonly value: "destructive";
|
|
137
|
-
}];
|
|
138
|
-
};
|
|
139
|
-
readonly size: {
|
|
140
|
-
readonly type: "select";
|
|
141
|
-
readonly options: readonly [{
|
|
142
|
-
readonly label: "default";
|
|
143
|
-
readonly value: "default";
|
|
144
|
-
}, {
|
|
145
|
-
readonly label: "sm";
|
|
146
|
-
readonly value: "sm";
|
|
147
|
-
}, {
|
|
148
|
-
readonly label: "lg";
|
|
149
|
-
readonly value: "lg";
|
|
150
|
-
}, {
|
|
151
|
-
readonly label: "icon";
|
|
152
|
-
readonly value: "icon";
|
|
153
|
-
}];
|
|
154
|
-
};
|
|
155
|
-
readonly icon: {
|
|
156
|
-
type: "custom";
|
|
157
|
-
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
158
|
-
};
|
|
106
|
+
readonly defaultItemProps: {
|
|
107
|
+
alt: string;
|
|
108
|
+
src: string;
|
|
159
109
|
};
|
|
160
110
|
};
|
|
161
|
-
termsAndConditions: {
|
|
162
|
-
type: string;
|
|
163
|
-
};
|
|
164
111
|
styles: {
|
|
165
112
|
type: string;
|
|
166
113
|
label: string;
|
|
167
114
|
objectFields: {
|
|
115
|
+
className: {
|
|
116
|
+
readonly type: "text";
|
|
117
|
+
readonly label: "Class Name";
|
|
118
|
+
readonly ai: {
|
|
119
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
style: {
|
|
123
|
+
readonly type: "object";
|
|
124
|
+
readonly label: "Style";
|
|
125
|
+
readonly objectFields: {};
|
|
126
|
+
readonly ai: {
|
|
127
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
css: {
|
|
131
|
+
readonly type: "textarea";
|
|
132
|
+
readonly label: "Custom CSS";
|
|
133
|
+
readonly ai: {
|
|
134
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
135
|
+
};
|
|
136
|
+
};
|
|
168
137
|
mediaPosition: {
|
|
169
138
|
readonly type: "radio";
|
|
170
139
|
readonly label: "Media Position";
|
|
@@ -187,17 +156,6 @@ declare const conf: {
|
|
|
187
156
|
readonly value: "false";
|
|
188
157
|
}];
|
|
189
158
|
};
|
|
190
|
-
formType: {
|
|
191
|
-
readonly type: "radio";
|
|
192
|
-
readonly label: "Form Type";
|
|
193
|
-
readonly options: readonly [{
|
|
194
|
-
readonly label: "Buttons";
|
|
195
|
-
readonly value: "buttons";
|
|
196
|
-
}, {
|
|
197
|
-
readonly label: "Email";
|
|
198
|
-
readonly value: "email";
|
|
199
|
-
}];
|
|
200
|
-
};
|
|
201
159
|
};
|
|
202
160
|
};
|
|
203
161
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SideMediaCta, SideMediaCtaDefaults } from "./side-media-cta.js";
|
|
2
|
+
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
+
import { imagesField } from "../../../puck-core/core/props/media.js";
|
|
5
|
+
import { ctaStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
|
+
const conf = {
|
|
8
|
+
fields: {
|
|
9
|
+
heading: headingField,
|
|
10
|
+
description: descriptionField,
|
|
11
|
+
buttons: buttonsField,
|
|
12
|
+
images: imagesField,
|
|
13
|
+
// TODO: email form 字段待设计完成后启用
|
|
14
|
+
// inputPlaceholder: { type: "text" },
|
|
15
|
+
// formButton: buttonField,
|
|
16
|
+
// termsAndConditions: { type: "textarea" },
|
|
17
|
+
styles: {
|
|
18
|
+
type: "object",
|
|
19
|
+
label: "Styles",
|
|
20
|
+
objectFields: {
|
|
21
|
+
mediaPosition: ctaStyleFields.mediaPosition,
|
|
22
|
+
bordered: ctaStyleFields.bordered,
|
|
23
|
+
// formType: ctaStyleFields.formType,
|
|
24
|
+
...sectionWrapperFields
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultProps: SideMediaCtaDefaults,
|
|
29
|
+
render: SideMediaCta
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
SideMediaCta,
|
|
33
|
+
SideMediaCtaDefaults,
|
|
34
|
+
conf as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { CompoundButton } from "../../../puck-base/button.js";
|
|
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";
|
|
7
|
+
const SideMediaCta = (props) => {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
const {
|
|
10
|
+
heading,
|
|
11
|
+
description,
|
|
12
|
+
buttons,
|
|
13
|
+
images,
|
|
14
|
+
// inputPlaceholder,
|
|
15
|
+
// formButton,
|
|
16
|
+
// termsAndConditions,
|
|
17
|
+
styles
|
|
18
|
+
} = {
|
|
19
|
+
...SideMediaCtaDefaults,
|
|
20
|
+
...props
|
|
21
|
+
};
|
|
22
|
+
const {
|
|
23
|
+
className: sectionClassName,
|
|
24
|
+
style: sectionStyle,
|
|
25
|
+
css,
|
|
26
|
+
mediaPosition = "right",
|
|
27
|
+
bordered = false
|
|
28
|
+
// formType = "buttons",
|
|
29
|
+
} = styles ?? {};
|
|
30
|
+
const renderActions = () => {
|
|
31
|
+
return /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) });
|
|
32
|
+
};
|
|
33
|
+
const textContent = /* @__PURE__ */ jsxs("div", { className: cn({ "flex flex-col justify-center p-8 md:p-12": bordered }), children: [
|
|
34
|
+
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
35
|
+
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
|
|
36
|
+
renderActions()
|
|
37
|
+
] });
|
|
38
|
+
const mediaContent = /* @__PURE__ */ jsx("div", { className: cn({ "flex items-center justify-center": bordered }), children: /* @__PURE__ */ jsx(CompoundImage, { src: (_a = images == null ? void 0 : images[0]) == null ? void 0 : _a.src, className: "w-full object-cover", alt: (_b = images == null ? void 0 : images[0]) == null ? void 0 : _b.alt }) });
|
|
39
|
+
const isLeftMedia = mediaPosition === "left";
|
|
40
|
+
if (bordered) {
|
|
41
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-8 lg:py-10", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsx("div", { className: "grid auto-cols-fr grid-cols-1 border border-border-primary lg:grid-cols-2", children: isLeftMedia ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
42
|
+
mediaContent,
|
|
43
|
+
textContent
|
|
44
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
|
+
textContent,
|
|
46
|
+
mediaContent
|
|
47
|
+
] }) }) }) });
|
|
48
|
+
}
|
|
49
|
+
const textOrder = isLeftMedia ? "order-1 lg:order-2" : "";
|
|
50
|
+
const mediaOrder = isLeftMedia ? "order-2 lg:order-1" : "";
|
|
51
|
+
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-x-20 gap-y-12 md:gap-y-16 lg:grid-cols-2 lg:items-center", children: [
|
|
52
|
+
/* @__PURE__ */ jsx("div", { className: textOrder, children: textContent }),
|
|
53
|
+
/* @__PURE__ */ jsx("div", { className: mediaOrder, children: mediaContent })
|
|
54
|
+
] }) }) });
|
|
55
|
+
};
|
|
56
|
+
const SideMediaCtaDefaults = {
|
|
57
|
+
heading: "Medium length heading goes here",
|
|
58
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
59
|
+
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
60
|
+
images: [
|
|
61
|
+
{
|
|
62
|
+
src: "https://picsum.photos/seed/cta-side/800/600",
|
|
63
|
+
alt: "Relume placeholder image"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
video: "",
|
|
67
|
+
inputPlaceholder: "Enter your email",
|
|
68
|
+
formButton: { label: "Sign up" },
|
|
69
|
+
termsAndConditions: `
|
|
70
|
+
<p class='text-xs'>
|
|
71
|
+
By clicking Sign Up you're confirming that you agree with our
|
|
72
|
+
<a href='#' class='underline'>Terms and Conditions</a>.
|
|
73
|
+
</p>
|
|
74
|
+
`,
|
|
75
|
+
styles: {
|
|
76
|
+
mediaPosition: "right",
|
|
77
|
+
bordered: false,
|
|
78
|
+
formType: "buttons"
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export {
|
|
82
|
+
SideMediaCta,
|
|
83
|
+
SideMediaCtaDefaults
|
|
84
|
+
};
|
|
@@ -25,7 +25,7 @@ declare const conf: {
|
|
|
25
25
|
readonly action: {
|
|
26
26
|
type: "custom";
|
|
27
27
|
label: string;
|
|
28
|
-
render: typeof import("
|
|
28
|
+
render: typeof import("../../..").ActionField;
|
|
29
29
|
};
|
|
30
30
|
readonly variant: {
|
|
31
31
|
readonly type: "select";
|
|
@@ -91,15 +91,6 @@ declare const conf: {
|
|
|
91
91
|
readonly instructions: "Buttons must use the same size";
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
|
-
image: {
|
|
95
|
-
type: "object";
|
|
96
|
-
objectFields: {
|
|
97
|
-
src: import("@puckeditor/core").Field<string>;
|
|
98
|
-
alt: {
|
|
99
|
-
type: "text";
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
94
|
images: {
|
|
104
95
|
readonly type: "array";
|
|
105
96
|
readonly max: 10;
|
|
@@ -120,67 +111,6 @@ declare const conf: {
|
|
|
120
111
|
video: {
|
|
121
112
|
type: string;
|
|
122
113
|
};
|
|
123
|
-
inputPlaceholder: {
|
|
124
|
-
type: string;
|
|
125
|
-
};
|
|
126
|
-
formButton: {
|
|
127
|
-
readonly type: "object";
|
|
128
|
-
readonly objectFields: {
|
|
129
|
-
readonly label: {
|
|
130
|
-
readonly type: "text";
|
|
131
|
-
};
|
|
132
|
-
readonly action: {
|
|
133
|
-
type: "custom";
|
|
134
|
-
label: string;
|
|
135
|
-
render: typeof import("../../../puck-core").ActionField;
|
|
136
|
-
};
|
|
137
|
-
readonly variant: {
|
|
138
|
-
readonly type: "select";
|
|
139
|
-
readonly options: readonly [{
|
|
140
|
-
readonly label: "primary";
|
|
141
|
-
readonly value: "default";
|
|
142
|
-
}, {
|
|
143
|
-
readonly label: "secondary";
|
|
144
|
-
readonly value: "secondary";
|
|
145
|
-
}, {
|
|
146
|
-
readonly label: "outline";
|
|
147
|
-
readonly value: "outline";
|
|
148
|
-
}, {
|
|
149
|
-
readonly label: "ghost";
|
|
150
|
-
readonly value: "ghost";
|
|
151
|
-
}, {
|
|
152
|
-
readonly label: "link";
|
|
153
|
-
readonly value: "link";
|
|
154
|
-
}, {
|
|
155
|
-
readonly label: "destructive";
|
|
156
|
-
readonly value: "destructive";
|
|
157
|
-
}];
|
|
158
|
-
};
|
|
159
|
-
readonly size: {
|
|
160
|
-
readonly type: "select";
|
|
161
|
-
readonly options: readonly [{
|
|
162
|
-
readonly label: "default";
|
|
163
|
-
readonly value: "default";
|
|
164
|
-
}, {
|
|
165
|
-
readonly label: "sm";
|
|
166
|
-
readonly value: "sm";
|
|
167
|
-
}, {
|
|
168
|
-
readonly label: "lg";
|
|
169
|
-
readonly value: "lg";
|
|
170
|
-
}, {
|
|
171
|
-
readonly label: "icon";
|
|
172
|
-
readonly value: "icon";
|
|
173
|
-
}];
|
|
174
|
-
};
|
|
175
|
-
readonly icon: {
|
|
176
|
-
type: "custom";
|
|
177
|
-
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
termsAndConditions: {
|
|
182
|
-
type: string;
|
|
183
|
-
};
|
|
184
114
|
logos: {
|
|
185
115
|
readonly type: "array";
|
|
186
116
|
readonly max: 10;
|
|
@@ -202,6 +132,28 @@ declare const conf: {
|
|
|
202
132
|
type: string;
|
|
203
133
|
label: string;
|
|
204
134
|
objectFields: {
|
|
135
|
+
className: {
|
|
136
|
+
readonly type: "text";
|
|
137
|
+
readonly label: "Class Name";
|
|
138
|
+
readonly ai: {
|
|
139
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
style: {
|
|
143
|
+
readonly type: "object";
|
|
144
|
+
readonly label: "Style";
|
|
145
|
+
readonly objectFields: {};
|
|
146
|
+
readonly ai: {
|
|
147
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
css: {
|
|
151
|
+
readonly type: "textarea";
|
|
152
|
+
readonly label: "Custom CSS";
|
|
153
|
+
readonly ai: {
|
|
154
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
155
|
+
};
|
|
156
|
+
};
|
|
205
157
|
textLayout: {
|
|
206
158
|
readonly type: "select";
|
|
207
159
|
readonly label: "Text Layout";
|
|
@@ -250,17 +202,6 @@ declare const conf: {
|
|
|
250
202
|
readonly value: "false";
|
|
251
203
|
}];
|
|
252
204
|
};
|
|
253
|
-
formType: {
|
|
254
|
-
readonly type: "radio";
|
|
255
|
-
readonly label: "Form Type";
|
|
256
|
-
readonly options: readonly [{
|
|
257
|
-
readonly label: "Buttons";
|
|
258
|
-
readonly value: "buttons";
|
|
259
|
-
}, {
|
|
260
|
-
readonly label: "Email";
|
|
261
|
-
readonly value: "email";
|
|
262
|
-
}];
|
|
263
|
-
};
|
|
264
205
|
bottomContent: {
|
|
265
206
|
readonly type: "select";
|
|
266
207
|
readonly label: "Bottom Content";
|
|
@@ -278,7 +219,7 @@ declare const conf: {
|
|
|
278
219
|
};
|
|
279
220
|
};
|
|
280
221
|
};
|
|
281
|
-
defaultProps: import("../props").CtaSectionBaseProps & {
|
|
222
|
+
defaultProps: Omit<import("../props").CtaSectionBaseProps, "inputPlaceholder" | "formButton" | "termsAndConditions"> & {
|
|
282
223
|
logos: import("@/components/puck-core/core/props/media").BaseImage[];
|
|
283
224
|
};
|
|
284
225
|
render: (props: TextBlockCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TextBlockCta, TextBlockCtaDefaults } from "./text-block-cta.js";
|
|
2
|
+
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
|
+
import { imagesField } from "../../../puck-core/core/props/media.js";
|
|
5
|
+
import { ctaStyleFields } from "../props.js";
|
|
6
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
|
+
const conf = {
|
|
8
|
+
fields: {
|
|
9
|
+
heading: headingField,
|
|
10
|
+
description: descriptionField,
|
|
11
|
+
buttons: buttonsField,
|
|
12
|
+
images: imagesField,
|
|
13
|
+
video: { type: "text" },
|
|
14
|
+
// inputPlaceholder: { type: "text" },
|
|
15
|
+
// formButton: buttonField,
|
|
16
|
+
// termsAndConditions: { type: "textarea" },
|
|
17
|
+
logos: imagesField,
|
|
18
|
+
styles: {
|
|
19
|
+
type: "object",
|
|
20
|
+
label: "Styles",
|
|
21
|
+
objectFields: {
|
|
22
|
+
textLayout: ctaStyleFields.textLayout,
|
|
23
|
+
bgMedia: ctaStyleFields.bgMedia,
|
|
24
|
+
bordered: ctaStyleFields.bordered,
|
|
25
|
+
// formType: ctaStyleFields.formType,
|
|
26
|
+
bottomContent: ctaStyleFields.bottomContent,
|
|
27
|
+
...sectionWrapperFields
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
defaultProps: TextBlockCtaDefaults,
|
|
32
|
+
render: TextBlockCta
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
TextBlockCta,
|
|
36
|
+
TextBlockCtaDefaults,
|
|
37
|
+
conf as default
|
|
38
|
+
};
|
|
@@ -3,6 +3,6 @@ export type TextBlockCtaProps = CtaComponentProps<{
|
|
|
3
3
|
logos: BaseImage[];
|
|
4
4
|
}>;
|
|
5
5
|
export declare const TextBlockCta: (props: TextBlockCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const TextBlockCtaDefaults: CtaSectionBaseProps & {
|
|
6
|
+
export declare const TextBlockCtaDefaults: Omit<CtaSectionBaseProps, "inputPlaceholder" | "formButton" | "termsAndConditions"> & {
|
|
7
7
|
logos: BaseImage[];
|
|
8
8
|
};
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { CompoundButton } from "../../../puck-base/button.js";
|
|
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";
|
|
7
|
+
const TextBlockCta = (props) => {
|
|
8
|
+
const {
|
|
9
|
+
heading,
|
|
10
|
+
description,
|
|
11
|
+
buttons,
|
|
12
|
+
images,
|
|
13
|
+
video,
|
|
14
|
+
// inputPlaceholder,
|
|
15
|
+
// formButton,
|
|
16
|
+
// termsAndConditions,
|
|
17
|
+
styles,
|
|
18
|
+
logos
|
|
19
|
+
} = {
|
|
20
|
+
...TextBlockCtaDefaults,
|
|
21
|
+
...props
|
|
22
|
+
};
|
|
23
|
+
const {
|
|
24
|
+
className: sectionClassName,
|
|
25
|
+
style: sectionStyle,
|
|
26
|
+
css,
|
|
27
|
+
textLayout = "left",
|
|
28
|
+
bgMedia = "none",
|
|
29
|
+
bordered = false,
|
|
30
|
+
// formType = "buttons",
|
|
31
|
+
bottomContent = "none"
|
|
32
|
+
} = styles ?? {};
|
|
33
|
+
const hasBg = bgMedia !== "none";
|
|
34
|
+
const isFullscreenBg = bgMedia === "fullscreenImage" || bgMedia === "fullscreenVideo";
|
|
35
|
+
const isContainerBg = bgMedia === "containerImage" || bgMedia === "containerVideo";
|
|
36
|
+
const isBgImage = bgMedia === "fullscreenImage" || bgMedia === "containerImage";
|
|
37
|
+
const isBgVideo = bgMedia === "fullscreenVideo" || bgMedia === "containerVideo";
|
|
38
|
+
const isCenter = textLayout === "center";
|
|
39
|
+
const isTwoColumn = textLayout === "twoColumn";
|
|
40
|
+
const isInlineRow = textLayout === "inlineRow";
|
|
41
|
+
const renderActions = () => {
|
|
42
|
+
return /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) });
|
|
43
|
+
};
|
|
44
|
+
const renderBottomContent = () => {
|
|
45
|
+
if (bottomContent === "image" && images && images.length > 0) {
|
|
46
|
+
return /* @__PURE__ */ jsx("div", { className: "mt-12 md:mt-18 lg:mt-20", children: /* @__PURE__ */ jsx(
|
|
47
|
+
CompoundImage,
|
|
48
|
+
{
|
|
49
|
+
src: images[0].src,
|
|
50
|
+
alt: images[0].alt,
|
|
51
|
+
className: "w-full object-cover"
|
|
52
|
+
}
|
|
53
|
+
) });
|
|
54
|
+
}
|
|
55
|
+
if (bottomContent === "logos" && logos && logos.length > 0) {
|
|
56
|
+
return /* @__PURE__ */ jsx("div", { className: "mt-12 flex flex-wrap items-center justify-center gap-x-8 gap-y-6 md:mt-18 lg:mt-20", children: logos.map((logo, index) => /* @__PURE__ */ jsx(CompoundImage, { src: logo.src, alt: logo.alt, className: "max-h-12" }, index)) });
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
};
|
|
60
|
+
const renderBgMedia = () => {
|
|
61
|
+
var _a, _b;
|
|
62
|
+
if (!hasBg) return null;
|
|
63
|
+
if (isFullscreenBg) {
|
|
64
|
+
return /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 z-0", children: [
|
|
65
|
+
isBgImage && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66
|
+
/* @__PURE__ */ jsx(CompoundImage, { src: (_a = images == null ? void 0 : images[0]) == null ? void 0 : _a.src, className: "size-full object-cover", alt: (_b = images == null ? void 0 : images[0]) == null ? void 0 : _b.alt }),
|
|
67
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-black/50" })
|
|
68
|
+
] }),
|
|
69
|
+
isBgVideo && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
70
|
+
/* @__PURE__ */ jsx("video", { className: "size-full object-cover", autoPlay: true, loop: true, muted: true, children: /* @__PURE__ */ jsx("source", { src: video, type: "video/mp4" }) }),
|
|
71
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-black/50" })
|
|
72
|
+
] })
|
|
73
|
+
] });
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
};
|
|
77
|
+
const renderContainerMedia = () => {
|
|
78
|
+
var _a, _b;
|
|
79
|
+
if (!isContainerBg) return null;
|
|
80
|
+
return /* @__PURE__ */ jsxs("div", { className: "mt-12 md:mt-18 lg:mt-20", children: [
|
|
81
|
+
isBgImage && /* @__PURE__ */ jsx(CompoundImage, { src: (_a = images == null ? void 0 : images[0]) == null ? void 0 : _a.src, className: "w-full object-cover", alt: (_b = images == null ? void 0 : images[0]) == null ? void 0 : _b.alt }),
|
|
82
|
+
isBgVideo && /* @__PURE__ */ jsx("video", { className: "w-full object-cover", autoPlay: true, loop: true, muted: true, children: /* @__PURE__ */ jsx("source", { src: video, type: "video/mp4" }) })
|
|
83
|
+
] });
|
|
84
|
+
};
|
|
85
|
+
const textColorClass = isFullscreenBg ? "text-text-alternative" : "";
|
|
86
|
+
const renderTextContent = () => {
|
|
87
|
+
if (isTwoColumn) {
|
|
88
|
+
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-y-5 md:grid-cols-2 md:gap-x-12 lg:gap-x-20", children: [
|
|
89
|
+
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h2", { className: cn("mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", textColorClass), children: heading }) }),
|
|
90
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
91
|
+
/* @__PURE__ */ jsx("p", { className: cn("md:text-md", textColorClass), children: description }),
|
|
92
|
+
renderActions()
|
|
93
|
+
] })
|
|
94
|
+
] });
|
|
95
|
+
}
|
|
96
|
+
if (isInlineRow) {
|
|
97
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-start gap-6 md:flex-row md:items-center md:justify-between", {
|
|
98
|
+
"border border-border-primary p-8 md:p-12": bordered && !isFullscreenBg
|
|
99
|
+
}), children: [
|
|
100
|
+
/* @__PURE__ */ jsx("h2", { className: cn("text-5xl font-bold md:text-7xl lg:text-8xl", textColorClass), children: heading }),
|
|
101
|
+
renderActions()
|
|
102
|
+
] });
|
|
103
|
+
}
|
|
104
|
+
if (isCenter) {
|
|
105
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("mx-auto max-w-lg text-center", textColorClass), children: [
|
|
106
|
+
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
107
|
+
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
|
|
108
|
+
renderActions()
|
|
109
|
+
] });
|
|
110
|
+
}
|
|
111
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("w-full max-w-lg", textColorClass), children: [
|
|
112
|
+
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
113
|
+
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
|
|
114
|
+
renderActions()
|
|
115
|
+
] });
|
|
116
|
+
};
|
|
117
|
+
return /* @__PURE__ */ jsxs(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", { relative: isFullscreenBg }, sectionClassName), style: sectionStyle, css, children: [
|
|
118
|
+
renderBgMedia(),
|
|
119
|
+
/* @__PURE__ */ jsxs("div", { className: cn("container", { "relative z-10": isFullscreenBg }), children: [
|
|
120
|
+
renderTextContent(),
|
|
121
|
+
renderContainerMedia(),
|
|
122
|
+
renderBottomContent()
|
|
123
|
+
] })
|
|
124
|
+
] });
|
|
125
|
+
};
|
|
126
|
+
const TextBlockCtaDefaults = {
|
|
127
|
+
heading: "Medium length heading goes here",
|
|
128
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
129
|
+
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
130
|
+
images: [
|
|
131
|
+
{
|
|
132
|
+
src: "https://picsum.photos/seed/cta-bg/1920/1080",
|
|
133
|
+
alt: "Relume placeholder image"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
src: "https://picsum.photos/seed/cta-bottom/1200/600",
|
|
137
|
+
alt: "Relume placeholder image"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
video: "https://www.example.com/video.mp4",
|
|
141
|
+
// inputPlaceholder: "Enter your email",
|
|
142
|
+
// formButton: { label: "Sign up" },
|
|
143
|
+
// termsAndConditions: `
|
|
144
|
+
// <p class='text-xs'>
|
|
145
|
+
// By clicking Sign Up you're confirming that you agree with our
|
|
146
|
+
// <a href='#' class='underline'>Terms and Conditions</a>.
|
|
147
|
+
// </p>
|
|
148
|
+
// `,
|
|
149
|
+
logos: [
|
|
150
|
+
{ src: "https://picsum.photos/seed/logo1/120/40", alt: "Logo 1" },
|
|
151
|
+
{ src: "https://picsum.photos/seed/logo2/120/40", alt: "Logo 2" },
|
|
152
|
+
{ src: "https://picsum.photos/seed/logo3/120/40", alt: "Logo 3" }
|
|
153
|
+
],
|
|
154
|
+
styles: {
|
|
155
|
+
textLayout: "left",
|
|
156
|
+
bgMedia: "none",
|
|
157
|
+
bordered: false,
|
|
158
|
+
// formType: "buttons",
|
|
159
|
+
bottomContent: "none"
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
export {
|
|
163
|
+
TextBlockCta,
|
|
164
|
+
TextBlockCtaDefaults
|
|
165
|
+
};
|
|
@@ -2,6 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn } from "../../../../utils/css-utils.js";
|
|
3
3
|
import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "../../../shadcn/accordion.js";
|
|
4
4
|
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
|
+
import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
|
|
5
6
|
const DualColumnAccordionFaq = (props) => {
|
|
6
7
|
const {
|
|
7
8
|
heading,
|
|
@@ -15,14 +16,14 @@ const DualColumnAccordionFaq = (props) => {
|
|
|
15
16
|
...DualColumnAccordionFaqDefaults,
|
|
16
17
|
...props
|
|
17
18
|
};
|
|
18
|
-
const { bordered = false } = styles ?? {};
|
|
19
|
+
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
19
20
|
const halfLength = Math.ceil(questions.length / 2);
|
|
20
21
|
const firstColumnQuestions = questions.slice(0, halfLength);
|
|
21
22
|
const secondColumnQuestions = questions.slice(halfLength);
|
|
22
23
|
const itemClass = cn({
|
|
23
24
|
"border border-border-primary px-5 md:px-6 first:rounded-t last:rounded-b": bordered
|
|
24
25
|
});
|
|
25
|
-
return /* @__PURE__ */ jsx(
|
|
26
|
+
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: [
|
|
26
27
|
/* @__PURE__ */ jsxs("div", { className: "mx-auto mb-12 w-full max-w-lg text-center md:mb-18 lg:mb-20", children: [
|
|
27
28
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
28
29
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
|