dune-react 0.0.18 → 0.0.20
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/fields.js +1 -25
- package/dist/components/puck-base/core/styles.js +3 -6
- package/dist/components/puck-base/core/with-editable.js +2 -2
- package/dist/components/puck-base/fields/location-field.js +1 -4
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +111 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +68 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +39 -0
- package/dist/components/puck-block/banner-sections/dismissible-banner/dismissible-banner.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +232 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +78 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/index.d.ts +53 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/index.js +31 -0
- package/dist/components/puck-block/banner-sections/index.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/props.d.ts +117 -20
- package/dist/components/puck-block/banner-sections/props.js +21 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/index.d.ts +19 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/index.js +20 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +40 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/index.d.ts +19 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/index.js +20 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +49 -0
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +173 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +105 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.js +27 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +106 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +90 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +37 -0
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +196 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +105 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +26 -0
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +123 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +114 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +29 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +190 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +112 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +36 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +78 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +66 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +36 -0
- package/dist/components/puck-block/contact-sections/index.d.ts +10 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +66 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +36 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +77 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +143 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +40 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +108 -0
- package/dist/components/puck-block/contact-sections/props.d.ts +150 -63
- package/dist/components/puck-block/contact-sections/props.js +70 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +103 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +29 -0
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +171 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +75 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +39 -0
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +125 -0
- package/dist/components/puck-block/contact-sections/use-contact-form.d.ts +20 -0
- package/dist/components/puck-block/contact-sections/use-contact-form.js +41 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.d.ts +13 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +54 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +133 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +34 -0
- 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 +61 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +35 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.d.ts +15 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +172 -0
- package/dist/components/puck-block/cta-sections/props.d.ts +139 -45
- package/dist/components/puck-block/cta-sections/props.js +21 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +207 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.d.ts +4 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +286 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +8 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +80 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +116 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +36 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.d.ts +12 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +76 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +108 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.js +30 -0
- package/dist/components/puck-block/faq-sections/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/props.d.ts +80 -26
- package/dist/components/puck-block/faq-sections/props.js +38 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +138 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +38 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +80 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +141 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +38 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +68 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +108 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +34 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +59 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +91 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.js +26 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +43 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.d.ts +14 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +106 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +224 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +35 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/component.d.ts +14 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +103 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +224 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +35 -0
- package/dist/components/puck-block/feature-sections/index.d.ts +5 -0
- package/dist/components/puck-block/feature-sections/props.d.ts +145 -46
- package/dist/components/puck-block/feature-sections/props.js +62 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.d.ts +16 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +121 -0
- package/dist/components/puck-block/feature-sections/tab-feature/index.d.ts +43 -0
- package/dist/components/puck-block/feature-sections/tab-feature/index.js +25 -0
- package/dist/components/puck-block/feature-sections/text-media-split/component.d.ts +4 -0
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +90 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +187 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +32 -0
- package/dist/components/puck-block/feature-sections/text-only-section/component.d.ts +14 -0
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +90 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +187 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +40 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +40 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +23 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +8 -0
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/compact-newsletter-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +101 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +60 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +51 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +9 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +51 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +127 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +11 -0
- package/dist/components/puck-block/footer-sections/index.d.ts +3 -0
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +108 -0
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/links-newsletter-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +116 -0
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/newsletter-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +119 -0
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/newsletter-top-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/props.d.ts +89 -26
- package/dist/components/puck-block/footer-sections/props.js +21 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +75 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +53 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +25 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +130 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +104 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +39 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +173 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +101 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +30 -0
- package/dist/components/puck-block/gallery-sections/index.d.ts +11 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +61 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +33 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +187 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +46 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +25 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +65 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +211 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +42 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +156 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +176 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +39 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +120 -0
- package/dist/components/puck-block/gallery-sections/props.d.ts +231 -24
- package/dist/components/puck-block/gallery-sections/props.js +117 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +36 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +17 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +56 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +76 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +40 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +240 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +46 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +25 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +98 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +57 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +26 -0
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +65 -0
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +32 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +114 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.js +17 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +34 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +114 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/index.js +13 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +46 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +107 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +14 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +36 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +116 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +14 -0
- package/dist/components/puck-block/header-sections/index.d.ts +6 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +143 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +14 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +35 -0
- package/dist/components/puck-block/header-sections/props.d.ts +98 -38
- package/dist/components/puck-block/header-sections/props.js +45 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +134 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +19 -0
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +59 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +86 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +121 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/index.js +21 -0
- package/dist/components/puck-block/hero-sections/centered-hero/centered-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +190 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +98 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +132 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +84 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/fullscreen-hero/fullscreen-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +239 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +77 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +110 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +193 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +135 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +27 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +79 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/index.d.ts +20 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +129 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +36 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.d.ts +12 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +71 -0
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +213 -0
- package/dist/components/puck-block/hero-sections/media-text-hero/media-text-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +144 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +132 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +133 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +36 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +84 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +173 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +31 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.d.ts +10 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +219 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +116 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/props.d.ts +201 -58
- package/dist/components/puck-block/hero-sections/props.js +73 -0
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +100 -0
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +88 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +110 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +71 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +130 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +28 -0
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +233 -0
- package/dist/components/puck-block/hero-sections/split-hero/split-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +216 -0
- package/dist/components/puck-block/hero-sections/stacked-hero/stacked-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +58 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +107 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.d.ts +8 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +199 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +136 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +29 -0
- package/dist/components/puck-block/hero-sections/tab-hero/component.d.ts +24 -0
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +147 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +59 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +43 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.d.ts +10 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +122 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +152 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +29 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +77 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +111 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.js +19 -0
- package/dist/components/puck-block/index.d.ts +15 -57
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +115 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +89 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +37 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +104 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +171 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +39 -0
- package/dist/components/puck-block/metrics-sections/index.d.ts +5 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +162 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +39 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.d.ts +13 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +113 -0
- package/dist/components/puck-block/metrics-sections/props.d.ts +119 -38
- package/dist/components/puck-block/metrics-sections/props.js +55 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +171 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +39 -0
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +98 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +91 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +45 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.d.ts +19 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +137 -0
- package/dist/components/puck-block/pricing-sections/index.d.ts +6 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.d.ts +15 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +69 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +79 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +38 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.d.ts +31 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +127 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +89 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +42 -0
- package/dist/components/puck-block/pricing-sections/props.d.ts +86 -44
- package/dist/components/puck-block/pricing-sections/props.js +47 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.d.ts +17 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +142 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +66 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +37 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/component.d.ts +21 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +79 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +51 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +33 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.d.ts +24 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +89 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +77 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +40 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.d.ts +23 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +81 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +66 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +39 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.d.ts +13 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +97 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +147 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +36 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.d.ts +13 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +80 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +147 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +36 -0
- package/dist/components/puck-block/showcase-sections/index.d.ts +6 -0
- package/dist/components/puck-block/showcase-sections/props.d.ts +68 -46
- package/dist/components/puck-block/showcase-sections/props.js +29 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +98 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +242 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +39 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +96 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +242 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +39 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +24 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +138 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +161 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +41 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +117 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +242 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +39 -0
- package/dist/components/puck-block/team-sections/index.d.ts +5 -0
- package/dist/components/puck-block/team-sections/props.d.ts +96 -37
- package/dist/components/puck-block/team-sections/props.js +54 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.js +102 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +125 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.js +43 -0
- package/dist/components/puck-block/team-sections/team-grid/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-grid/component.js +65 -0
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +161 -0
- package/dist/components/puck-block/team-sections/team-grid/index.js +46 -0
- package/dist/components/puck-block/team-sections/team-inline-card/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-inline-card/component.js +66 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +136 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +44 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.d.ts +20 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +61 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +56 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +33 -0
- package/dist/components/puck-block/team-sections/team-two-column/component.d.ts +20 -0
- package/dist/components/puck-block/team-sections/team-two-column/component.js +64 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +133 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.js +37 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.d.ts +33 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +178 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +62 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +38 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.d.ts +14 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +69 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +72 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +29 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.d.ts +18 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +114 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +81 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +13 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +51 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +58 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +27 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.d.ts +17 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +98 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +69 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +34 -0
- package/dist/components/puck-block/testimonial-sections/index.d.ts +11 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +65 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.d.ts +42 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.js +26 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +71 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +59 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +34 -0
- package/dist/components/puck-block/testimonial-sections/props.d.ts +206 -32
- package/dist/components/puck-block/testimonial-sections/props.js +126 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +86 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +138 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +100 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +47 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +30 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.d.ts +18 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +90 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +97 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.d.ts +17 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +118 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +111 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +37 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/component.d.ts +17 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/component.js +61 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +63 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +36 -0
- package/dist/components/puck-block/text-sections/blog-article/component.d.ts +30 -0
- package/dist/components/puck-block/text-sections/blog-article/component.js +91 -0
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +117 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +56 -0
- package/dist/components/puck-block/text-sections/index.d.ts +5 -0
- package/dist/components/puck-block/text-sections/props.d.ts +180 -55
- package/dist/components/puck-block/text-sections/props.js +67 -0
- package/dist/components/puck-block/text-sections/prose-content/component.d.ts +14 -0
- package/dist/components/puck-block/text-sections/prose-content/component.js +93 -0
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +119 -0
- package/dist/components/puck-block/text-sections/prose-content/index.js +37 -0
- package/dist/components/puck-block/text-sections/prose-sidebar/component.d.ts +27 -0
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +159 -0
- package/dist/components/puck-block/text-sections/side-media-content/component.d.ts +8 -0
- package/dist/components/puck-block/text-sections/side-media-content/component.js +81 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +69 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.js +27 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.d.ts +9 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +44 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +55 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +25 -0
- package/dist/components/puck-block/text-sections/text-header/component.d.ts +9 -0
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +242 -0
- package/dist/components/puck-core/core/fields.d.ts +19 -0
- package/dist/components/puck-core/core/hooks.d.ts +19 -0
- package/dist/components/puck-core/core/icon-catalog.d.ts +14 -0
- package/dist/components/puck-core/core/icon-catalog.js +193 -0
- package/dist/components/puck-core/core/props/content.d.ts +224 -0
- package/dist/components/puck-core/core/props/content.js +13 -0
- package/dist/components/puck-core/core/props/form.d.ts +172 -0
- package/dist/components/puck-core/core/props/index.d.ts +271 -0
- package/dist/components/puck-core/core/props/interactive.d.ts +244 -0
- package/dist/components/puck-core/core/props/interactive.js +101 -0
- package/dist/components/puck-core/core/props/media.d.ts +51 -0
- package/dist/components/puck-core/core/props/media.js +41 -0
- package/dist/components/puck-core/core/props/section.d.ts +21 -0
- package/dist/components/puck-core/core/styles.d.ts +1942 -0
- package/dist/components/puck-core/core/types.d.ts +8 -0
- package/dist/components/puck-core/core/utils.d.ts +5 -0
- package/dist/components/puck-core/core/with-editable.d.ts +16 -0
- package/dist/components/puck-core/editor-context.d.ts +25 -0
- package/dist/components/puck-core/editor-context.js +15 -0
- package/dist/components/puck-core/error-boundary.d.ts +4 -0
- package/dist/components/puck-core/fields/action-field.d.ts +30 -0
- package/dist/components/puck-core/fields/action-field.js +265 -0
- package/dist/components/puck-core/fields/auto-field.d.ts +2 -0
- package/dist/components/puck-core/fields/color-field.d.ts +6 -0
- package/dist/components/puck-core/fields/icon-picker-field.d.ts +8 -0
- package/dist/components/puck-core/fields/icon-picker-field.js +153 -0
- package/dist/components/puck-core/fields/image-upload-field.d.ts +7 -0
- package/dist/components/puck-core/fields/index.d.ts +8 -0
- package/dist/components/puck-core/fields/location-field.d.ts +44 -0
- package/dist/components/puck-core/fields/object-field.d.ts +8 -0
- package/dist/components/puck-core/fields/radio-toggle-field.d.ts +10 -0
- package/dist/components/puck-core/fields/types.d.ts +29 -0
- package/dist/components/puck-core/fields/virtualized-select-field.d.ts +13 -0
- package/dist/components/puck-core/index.d.ts +11 -0
- package/dist/components/puck-core/inline-editable.d.ts +14 -0
- package/dist/components/puck-core/section-wrapper.d.ts +19 -0
- package/dist/components/puck-core/use-upload.d.ts +42 -0
- package/dist/components/shadcn/video-iframe.d.ts +6 -0
- package/dist/components/shadcn/video-iframe.js +33 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-media-query.js +15 -0
- package/dist/index.js +216 -118
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.js +24 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js +8 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js +8 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/lib/iconBase.js +109 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/lib/iconContext.js +13 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/rx/index.js +8 -0
- package/dist/styles/relume-typography.d.ts +2 -0
- package/package.json +6 -2
- package/dist/components/puck-base/navigation-menu.js +0 -202
- package/dist/components/puck-block/banner-sections/announcement-banner-1/announcement-banner.d.ts +0 -12
- package/dist/components/puck-block/banner-sections/announcement-banner-1/announcement-banner.js +0 -57
- package/dist/components/puck-block/banner-sections/announcement-banner-1/index.d.ts +0 -5
- package/dist/components/puck-block/banner-sections/announcement-banner-1/index.js +0 -32
- package/dist/components/puck-block/banner-sections/marquee-1/index.d.ts +0 -5
- package/dist/components/puck-block/banner-sections/marquee-1/index.js +0 -51
- package/dist/components/puck-block/banner-sections/marquee-1/marquee.d.ts +0 -12
- package/dist/components/puck-block/banner-sections/marquee-1/marquee.js +0 -45
- package/dist/components/puck-block/contact-sections/contact-us-1/contact-us.js +0 -169
- package/dist/components/puck-block/contact-sections/contact-us-1/index.js +0 -124
- package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.d.ts +0 -30
- package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.js +0 -234
- package/dist/components/puck-block/contact-sections/contact-us-2/index.d.ts +0 -5
- package/dist/components/puck-block/contact-sections/contact-us-2/index.js +0 -74
- package/dist/components/puck-block/contact-sections/contact-us-3/contact-us-3.d.ts +0 -32
- package/dist/components/puck-block/contact-sections/contact-us-3/contact-us-3.js +0 -250
- package/dist/components/puck-block/contact-sections/contact-us-3/index.d.ts +0 -5
- package/dist/components/puck-block/contact-sections/contact-us-3/index.js +0 -114
- package/dist/components/puck-block/cta-sections/banner-cta-1/banner-cta.d.ts +0 -18
- package/dist/components/puck-block/cta-sections/banner-cta-1/banner-cta.js +0 -42
- package/dist/components/puck-block/cta-sections/banner-cta-1/index.d.ts +0 -5
- package/dist/components/puck-block/cta-sections/banner-cta-1/index.js +0 -36
- package/dist/components/puck-block/cta-sections/cta-1/cta.d.ts +0 -12
- package/dist/components/puck-block/cta-sections/cta-1/cta.js +0 -38
- package/dist/components/puck-block/cta-sections/cta-1/index.d.ts +0 -5
- package/dist/components/puck-block/cta-sections/cta-1/index.js +0 -44
- package/dist/components/puck-block/cta-sections/gradient-cta-1/gradient-cta.d.ts +0 -14
- package/dist/components/puck-block/cta-sections/gradient-cta-1/gradient-cta.js +0 -65
- package/dist/components/puck-block/cta-sections/gradient-cta-1/index.d.ts +0 -5
- package/dist/components/puck-block/cta-sections/gradient-cta-1/index.js +0 -53
- package/dist/components/puck-block/cta-sections/newsletter-signup-1/index.d.ts +0 -5
- package/dist/components/puck-block/cta-sections/newsletter-signup-1/index.js +0 -30
- package/dist/components/puck-block/cta-sections/newsletter-signup-1/newsletter-signup.d.ts +0 -13
- package/dist/components/puck-block/cta-sections/newsletter-signup-1/newsletter-signup.js +0 -44
- package/dist/components/puck-block/cta-sections/promo-section-1/index.d.ts +0 -5
- package/dist/components/puck-block/cta-sections/promo-section-1/index.js +0 -44
- package/dist/components/puck-block/cta-sections/promo-section-1/promo-section.d.ts +0 -20
- package/dist/components/puck-block/cta-sections/promo-section-1/promo-section.js +0 -117
- package/dist/components/puck-block/faq-sections/accordion-1/accordion.d.ts +0 -15
- package/dist/components/puck-block/faq-sections/accordion-1/accordion.js +0 -58
- package/dist/components/puck-block/faq-sections/accordion-1/index.d.ts +0 -5
- package/dist/components/puck-block/faq-sections/accordion-1/index.js +0 -43
- package/dist/components/puck-block/faq-sections/faq-1/faq.d.ts +0 -17
- package/dist/components/puck-block/faq-sections/faq-1/faq.js +0 -68
- package/dist/components/puck-block/faq-sections/faq-1/index.d.ts +0 -5
- package/dist/components/puck-block/faq-sections/faq-1/index.js +0 -99
- package/dist/components/puck-block/faq-sections/faq-2/faq-2.d.ts +0 -18
- package/dist/components/puck-block/faq-sections/faq-2/faq-2.js +0 -54
- package/dist/components/puck-block/faq-sections/faq-2/index.d.ts +0 -5
- package/dist/components/puck-block/faq-sections/faq-2/index.js +0 -61
- package/dist/components/puck-block/feature-sections/bento-1/bento.d.ts +0 -12
- package/dist/components/puck-block/feature-sections/bento-1/bento.js +0 -56
- package/dist/components/puck-block/feature-sections/bento-1/index.d.ts +0 -5
- package/dist/components/puck-block/feature-sections/bento-1/index.js +0 -46
- package/dist/components/puck-block/feature-sections/feature-cards-1/feature-cards.d.ts +0 -13
- package/dist/components/puck-block/feature-sections/feature-cards-1/feature-cards.js +0 -46
- package/dist/components/puck-block/feature-sections/feature-cards-1/index.d.ts +0 -5
- package/dist/components/puck-block/feature-sections/feature-cards-1/index.js +0 -78
- package/dist/components/puck-block/feature-sections/feature-showcase-1/feature-showcase.d.ts +0 -21
- package/dist/components/puck-block/feature-sections/feature-showcase-1/feature-showcase.js +0 -36
- package/dist/components/puck-block/feature-sections/feature-showcase-1/index.d.ts +0 -5
- package/dist/components/puck-block/feature-sections/feature-showcase-1/index.js +0 -56
- package/dist/components/puck-block/feature-sections/icon-grid-1/icon-grid.d.ts +0 -19
- package/dist/components/puck-block/feature-sections/icon-grid-1/icon-grid.js +0 -86
- package/dist/components/puck-block/feature-sections/icon-grid-1/index.d.ts +0 -5
- package/dist/components/puck-block/feature-sections/icon-grid-1/index.js +0 -64
- package/dist/components/puck-block/feature-sections/product-features-1/index.d.ts +0 -5
- package/dist/components/puck-block/feature-sections/product-features-1/index.js +0 -86
- package/dist/components/puck-block/feature-sections/product-features-1/product-features.d.ts +0 -27
- package/dist/components/puck-block/feature-sections/product-features-1/product-features.js +0 -118
- package/dist/components/puck-block/footer-sections/footer-1/footer.d.ts +0 -24
- package/dist/components/puck-block/footer-sections/footer-1/footer.js +0 -58
- package/dist/components/puck-block/footer-sections/footer-1/index.d.ts +0 -5
- package/dist/components/puck-block/footer-sections/footer-1/index.js +0 -130
- package/dist/components/puck-block/gallery-sections/gallery-1/gallery.d.ts +0 -20
- package/dist/components/puck-block/gallery-sections/gallery-1/gallery.js +0 -77
- package/dist/components/puck-block/gallery-sections/gallery-1/index.d.ts +0 -5
- package/dist/components/puck-block/gallery-sections/gallery-1/index.js +0 -71
- package/dist/components/puck-block/gallery-sections/gallery-2/gallery-2.d.ts +0 -16
- package/dist/components/puck-block/gallery-sections/gallery-2/gallery-2.js +0 -94
- package/dist/components/puck-block/gallery-sections/gallery-2/index.d.ts +0 -5
- package/dist/components/puck-block/gallery-sections/gallery-2/index.js +0 -43
- package/dist/components/puck-block/gallery-sections/gallery-3/gallery-3.d.ts +0 -19
- package/dist/components/puck-block/gallery-sections/gallery-3/gallery-3.js +0 -119
- package/dist/components/puck-block/gallery-sections/gallery-3/index.d.ts +0 -5
- package/dist/components/puck-block/gallery-sections/gallery-3/index.js +0 -62
- package/dist/components/puck-block/header-sections/header-1/header.d.ts +0 -38
- package/dist/components/puck-block/header-sections/header-1/header.js +0 -168
- package/dist/components/puck-block/header-sections/header-1/index.d.ts +0 -33
- package/dist/components/puck-block/header-sections/header-1/index.js +0 -210
- package/dist/components/puck-block/header-sections/sticky-nav-1/index.d.ts +0 -5
- package/dist/components/puck-block/header-sections/sticky-nav-1/index.js +0 -30
- package/dist/components/puck-block/header-sections/sticky-nav-1/sticky-nav.d.ts +0 -14
- package/dist/components/puck-block/header-sections/sticky-nav-1/sticky-nav.js +0 -49
- package/dist/components/puck-block/hero-sections/fullscreen-hero-1/fullscreen-hero.d.ts +0 -23
- package/dist/components/puck-block/hero-sections/fullscreen-hero-1/fullscreen-hero.js +0 -82
- package/dist/components/puck-block/hero-sections/fullscreen-hero-1/index.d.ts +0 -5
- package/dist/components/puck-block/hero-sections/fullscreen-hero-1/index.js +0 -50
- package/dist/components/puck-block/hero-sections/gradient-hero-1/gradient-hero.d.ts +0 -12
- package/dist/components/puck-block/hero-sections/gradient-hero-1/gradient-hero.js +0 -50
- package/dist/components/puck-block/hero-sections/gradient-hero-1/index.d.ts +0 -5
- package/dist/components/puck-block/hero-sections/gradient-hero-1/index.js +0 -37
- package/dist/components/puck-block/hero-sections/hero-1/hero.d.ts +0 -23
- package/dist/components/puck-block/hero-sections/hero-1/hero.js +0 -222
- package/dist/components/puck-block/hero-sections/hero-1/index.d.ts +0 -12
- package/dist/components/puck-block/hero-sections/hero-1/index.js +0 -79
- package/dist/components/puck-block/hero-sections/image-hero-1/image-hero.d.ts +0 -22
- package/dist/components/puck-block/hero-sections/image-hero-1/image-hero.js +0 -96
- package/dist/components/puck-block/hero-sections/image-hero-1/index.d.ts +0 -5
- package/dist/components/puck-block/hero-sections/image-hero-1/index.js +0 -68
- package/dist/components/puck-block/hero-sections/split-hero-1/index.d.ts +0 -5
- package/dist/components/puck-block/hero-sections/split-hero-1/index.js +0 -34
- package/dist/components/puck-block/hero-sections/split-hero-1/split-hero.d.ts +0 -14
- package/dist/components/puck-block/hero-sections/split-hero-1/split-hero.js +0 -62
- package/dist/components/puck-block/hero-sections/video-hero-1/index.d.ts +0 -5
- package/dist/components/puck-block/hero-sections/video-hero-1/index.js +0 -26
- package/dist/components/puck-block/hero-sections/video-hero-1/video-hero.d.ts +0 -15
- package/dist/components/puck-block/hero-sections/video-hero-1/video-hero.js +0 -42
- package/dist/components/puck-block/location-sections/location-1/index.js +0 -100
- package/dist/components/puck-block/location-sections/location-1/location.js +0 -139
- package/dist/components/puck-block/location-sections/location-2/index.js +0 -124
- package/dist/components/puck-block/location-sections/location-2/location.js +0 -133
- package/dist/components/puck-block/location-sections/location-3/index.js +0 -108
- package/dist/components/puck-block/location-sections/location-3/location.js +0 -140
- package/dist/components/puck-block/metrics-sections/stats-1/index.d.ts +0 -5
- package/dist/components/puck-block/metrics-sections/stats-1/index.js +0 -129
- package/dist/components/puck-block/metrics-sections/stats-1/stats.d.ts +0 -18
- package/dist/components/puck-block/metrics-sections/stats-1/stats.js +0 -103
- package/dist/components/puck-block/metrics-sections/stats-2/index.d.ts +0 -5
- package/dist/components/puck-block/metrics-sections/stats-2/index.js +0 -74
- package/dist/components/puck-block/metrics-sections/stats-2/stats-2.d.ts +0 -18
- package/dist/components/puck-block/metrics-sections/stats-2/stats-2.js +0 -56
- package/dist/components/puck-block/metrics-sections/stats-3/index.d.ts +0 -5
- package/dist/components/puck-block/metrics-sections/stats-3/index.js +0 -84
- package/dist/components/puck-block/metrics-sections/stats-3/stats-3.d.ts +0 -18
- package/dist/components/puck-block/metrics-sections/stats-3/stats-3.js +0 -69
- package/dist/components/puck-block/pricing-sections/comparison-1/comparison.d.ts +0 -16
- package/dist/components/puck-block/pricing-sections/comparison-1/comparison.js +0 -58
- package/dist/components/puck-block/pricing-sections/comparison-1/index.d.ts +0 -5
- package/dist/components/puck-block/pricing-sections/comparison-1/index.js +0 -67
- package/dist/components/puck-block/pricing-sections/pricing-1/index.d.ts +0 -5
- package/dist/components/puck-block/pricing-sections/pricing-1/index.js +0 -88
- package/dist/components/puck-block/pricing-sections/pricing-1/pricing.d.ts +0 -21
- package/dist/components/puck-block/pricing-sections/pricing-1/pricing.js +0 -58
- package/dist/components/puck-block/pricing-sections/pricing-2/index.d.ts +0 -5
- package/dist/components/puck-block/pricing-sections/pricing-2/index.js +0 -147
- package/dist/components/puck-block/pricing-sections/pricing-2/pricing-2.d.ts +0 -26
- package/dist/components/puck-block/pricing-sections/pricing-2/pricing-2.js +0 -71
- package/dist/components/puck-block/showcase-sections/before-after-1/before-after.d.ts +0 -22
- package/dist/components/puck-block/showcase-sections/before-after-1/before-after.js +0 -71
- package/dist/components/puck-block/showcase-sections/before-after-1/index.d.ts +0 -5
- package/dist/components/puck-block/showcase-sections/before-after-1/index.js +0 -72
- package/dist/components/puck-block/showcase-sections/case-study-1/case-study.d.ts +0 -21
- package/dist/components/puck-block/showcase-sections/case-study-1/case-study.js +0 -42
- package/dist/components/puck-block/showcase-sections/case-study-1/index.d.ts +0 -5
- package/dist/components/puck-block/showcase-sections/case-study-1/index.js +0 -36
- package/dist/components/puck-block/showcase-sections/step-by-step-1/index.d.ts +0 -5
- package/dist/components/puck-block/showcase-sections/step-by-step-1/index.js +0 -60
- package/dist/components/puck-block/showcase-sections/step-by-step-1/step-by-step.d.ts +0 -19
- package/dist/components/puck-block/showcase-sections/step-by-step-1/step-by-step.js +0 -50
- package/dist/components/puck-block/team-sections/team-grid-1/index.d.ts +0 -5
- package/dist/components/puck-block/team-sections/team-grid-1/index.js +0 -65
- package/dist/components/puck-block/team-sections/team-grid-1/team-grid.d.ts +0 -23
- package/dist/components/puck-block/team-sections/team-grid-1/team-grid.js +0 -74
- package/dist/components/puck-block/team-sections/team-grid-2/index.d.ts +0 -5
- package/dist/components/puck-block/team-sections/team-grid-2/index.js +0 -60
- package/dist/components/puck-block/team-sections/team-grid-2/team-grid-2.d.ts +0 -23
- package/dist/components/puck-block/team-sections/team-grid-2/team-grid-2.js +0 -44
- package/dist/components/puck-block/team-sections/team-profiles-1/index.d.ts +0 -5
- package/dist/components/puck-block/team-sections/team-profiles-1/index.js +0 -55
- package/dist/components/puck-block/team-sections/team-profiles-1/team-profiles.d.ts +0 -23
- package/dist/components/puck-block/team-sections/team-profiles-1/team-profiles.js +0 -105
- package/dist/components/puck-block/testimonial-sections/customers-1/customers.d.ts +0 -17
- package/dist/components/puck-block/testimonial-sections/customers-1/customers.js +0 -103
- package/dist/components/puck-block/testimonial-sections/customers-1/index.d.ts +0 -5
- package/dist/components/puck-block/testimonial-sections/customers-1/index.js +0 -58
- package/dist/components/puck-block/testimonial-sections/logo-marquee-1/index.d.ts +0 -5
- package/dist/components/puck-block/testimonial-sections/logo-marquee-1/index.js +0 -49
- package/dist/components/puck-block/testimonial-sections/logo-marquee-1/logo-marquee.d.ts +0 -15
- package/dist/components/puck-block/testimonial-sections/logo-marquee-1/logo-marquee.js +0 -50
- package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.d.ts +0 -5
- package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.js +0 -51
- package/dist/components/puck-block/testimonial-sections/logo-wall-1/logo-wall.d.ts +0 -17
- package/dist/components/puck-block/testimonial-sections/logo-wall-1/logo-wall.js +0 -55
- package/dist/components/puck-block/testimonial-sections/review-section-1/index.d.ts +0 -5
- package/dist/components/puck-block/testimonial-sections/review-section-1/index.js +0 -87
- package/dist/components/puck-block/testimonial-sections/review-section-1/review-section.d.ts +0 -23
- package/dist/components/puck-block/testimonial-sections/review-section-1/review-section.js +0 -63
- package/dist/components/puck-block/testimonial-sections/testimonials-1/index.d.ts +0 -5
- package/dist/components/puck-block/testimonial-sections/testimonials-1/index.js +0 -72
- package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.d.ts +0 -20
- package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.js +0 -148
- package/dist/components/puck-block/text-sections/articles-1/articles.d.ts +0 -17
- package/dist/components/puck-block/text-sections/articles-1/articles.js +0 -55
- package/dist/components/puck-block/text-sections/articles-1/index.d.ts +0 -5
- package/dist/components/puck-block/text-sections/articles-1/index.js +0 -83
- package/dist/components/puck-block/text-sections/content-section-1/content-section.d.ts +0 -22
- package/dist/components/puck-block/text-sections/content-section-1/content-section.js +0 -119
- package/dist/components/puck-block/text-sections/content-section-1/index.d.ts +0 -5
- package/dist/components/puck-block/text-sections/content-section-1/index.js +0 -69
- package/dist/components/puck-block/text-sections/rich-text-1/index.d.ts +0 -5
- package/dist/components/puck-block/text-sections/rich-text-1/index.js +0 -32
- package/dist/components/puck-block/text-sections/rich-text-1/rich-text.d.ts +0 -11
- package/dist/components/puck-block/text-sections/rich-text-1/rich-text.js +0 -30
- package/dist/components/puck-block/text-sections/tab-section-1/index.d.ts +0 -5
- package/dist/components/puck-block/text-sections/tab-section-1/index.js +0 -51
- package/dist/components/puck-block/text-sections/tab-section-1/tab-section.d.ts +0 -19
- package/dist/components/puck-block/text-sections/tab-section-1/tab-section.js +0 -53
- package/dist/components/puck-block/text-sections/timeline-1/index.d.ts +0 -5
- package/dist/components/puck-block/text-sections/timeline-1/index.js +0 -60
- package/dist/components/puck-block/text-sections/timeline-1/timeline.d.ts +0 -16
- package/dist/components/puck-block/text-sections/timeline-1/timeline.js +0 -34
- package/dist/components/puck-block/text-sections/two-column-1/index.d.ts +0 -5
- package/dist/components/puck-block/text-sections/two-column-1/index.js +0 -88
- package/dist/components/puck-block/text-sections/two-column-1/two-column.d.ts +0 -18
- package/dist/components/puck-block/text-sections/two-column-1/two-column.js +0 -95
- package/dist/hooks/use-prefers-reduced-motion.js +0 -23
- /package/dist/components/puck-block/contact-sections/{contact-us-1 → _template}/contact-us.d.ts +0 -0
- /package/dist/components/puck-block/contact-sections/{contact-us-1 → _template}/index.d.ts +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { ProseContent, ProseContentDefaults } from "./component";
|
|
2
|
+
import type { ProseContentProps } from "./component";
|
|
3
|
+
export { ProseContent, ProseContentDefaults };
|
|
4
|
+
export type { ProseContentProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
heading: {
|
|
8
|
+
readonly type: "text";
|
|
9
|
+
readonly contentEditable: true;
|
|
10
|
+
};
|
|
11
|
+
prose: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
metatags: {
|
|
15
|
+
type: string;
|
|
16
|
+
getItemSummary: (item: {
|
|
17
|
+
label?: string;
|
|
18
|
+
}, index?: number) => string;
|
|
19
|
+
arrayFields: {
|
|
20
|
+
label: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
value: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
mediaImage: {
|
|
29
|
+
type: "object";
|
|
30
|
+
objectFields: {
|
|
31
|
+
src: import("@puckeditor/core").Field<string>;
|
|
32
|
+
alt: {
|
|
33
|
+
type: "text";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
video: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
styles: {
|
|
41
|
+
type: string;
|
|
42
|
+
label: string;
|
|
43
|
+
objectFields: {
|
|
44
|
+
textLayout: {
|
|
45
|
+
readonly type: "select";
|
|
46
|
+
readonly label: "Text Layout";
|
|
47
|
+
readonly options: readonly [{
|
|
48
|
+
readonly label: "Single Left";
|
|
49
|
+
readonly value: "singleLeft";
|
|
50
|
+
}, {
|
|
51
|
+
readonly label: "Single Center";
|
|
52
|
+
readonly value: "singleCenter";
|
|
53
|
+
}, {
|
|
54
|
+
readonly label: "Two Column";
|
|
55
|
+
readonly value: "twoColumn";
|
|
56
|
+
}, {
|
|
57
|
+
readonly label: "Single Prose";
|
|
58
|
+
readonly value: "single";
|
|
59
|
+
}, {
|
|
60
|
+
readonly label: "Two Column Prose";
|
|
61
|
+
readonly value: "twoColumnProse";
|
|
62
|
+
}];
|
|
63
|
+
};
|
|
64
|
+
mediaType: {
|
|
65
|
+
readonly type: "radio";
|
|
66
|
+
readonly label: "Media Type";
|
|
67
|
+
readonly options: readonly [{
|
|
68
|
+
readonly label: "None";
|
|
69
|
+
readonly value: "none";
|
|
70
|
+
}, {
|
|
71
|
+
readonly label: "Image";
|
|
72
|
+
readonly value: "image";
|
|
73
|
+
}, {
|
|
74
|
+
readonly label: "Video";
|
|
75
|
+
readonly value: "video";
|
|
76
|
+
}];
|
|
77
|
+
};
|
|
78
|
+
mediaPosition: {
|
|
79
|
+
readonly type: "radio";
|
|
80
|
+
readonly label: "Media Position";
|
|
81
|
+
readonly options: readonly [{
|
|
82
|
+
readonly label: "Left";
|
|
83
|
+
readonly value: "left";
|
|
84
|
+
}, {
|
|
85
|
+
readonly label: "Right";
|
|
86
|
+
readonly value: "right";
|
|
87
|
+
}, {
|
|
88
|
+
readonly label: "Top";
|
|
89
|
+
readonly value: "top";
|
|
90
|
+
}, {
|
|
91
|
+
readonly label: "Bottom";
|
|
92
|
+
readonly value: "bottom";
|
|
93
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
hasMetatags: {
|
|
96
|
+
readonly type: "radio";
|
|
97
|
+
readonly label: "Show Metatags";
|
|
98
|
+
readonly options: readonly [{
|
|
99
|
+
readonly label: "Yes";
|
|
100
|
+
readonly value: "true";
|
|
101
|
+
}, {
|
|
102
|
+
readonly label: "No";
|
|
103
|
+
readonly value: "false";
|
|
104
|
+
}];
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
defaultProps: Partial<import("../props").TextSectionBaseProps> & {
|
|
110
|
+
prose: string;
|
|
111
|
+
metatags?: {
|
|
112
|
+
label: string;
|
|
113
|
+
value: string;
|
|
114
|
+
}[];
|
|
115
|
+
mediaImage?: import("@/components/puck-core/core/props/media").BaseImage;
|
|
116
|
+
};
|
|
117
|
+
render: (props: ProseContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
118
|
+
};
|
|
119
|
+
export default conf;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ProseContent, ProseContentDefaults } from "./component.js";
|
|
2
|
+
import { headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
|
+
import { textStyleFields } from "../props.js";
|
|
5
|
+
const conf = {
|
|
6
|
+
fields: {
|
|
7
|
+
heading: headingField,
|
|
8
|
+
prose: { type: "textarea" },
|
|
9
|
+
metatags: {
|
|
10
|
+
type: "array",
|
|
11
|
+
getItemSummary: (item, index = 0) => item.label || `Metatag ${index + 1}`,
|
|
12
|
+
arrayFields: {
|
|
13
|
+
label: { type: "text" },
|
|
14
|
+
value: { type: "text" }
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
mediaImage: imageField,
|
|
18
|
+
video: { type: "text" },
|
|
19
|
+
styles: {
|
|
20
|
+
type: "object",
|
|
21
|
+
label: "Styles",
|
|
22
|
+
objectFields: {
|
|
23
|
+
textLayout: textStyleFields.textLayout,
|
|
24
|
+
mediaType: textStyleFields.mediaType,
|
|
25
|
+
mediaPosition: textStyleFields.mediaPosition,
|
|
26
|
+
hasMetatags: textStyleFields.hasMetatags
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
defaultProps: ProseContentDefaults,
|
|
31
|
+
render: ProseContent
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
ProseContent,
|
|
35
|
+
ProseContentDefaults,
|
|
36
|
+
conf as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { TextComponentProps, TextSectionBaseProps, BaseButton, BaseImage } from "../props";
|
|
2
|
+
type SubscribeBlock = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
inputPlaceholder?: string;
|
|
6
|
+
button: BaseButton;
|
|
7
|
+
termsAndConditions: string;
|
|
8
|
+
};
|
|
9
|
+
type Contributor = {
|
|
10
|
+
name: string;
|
|
11
|
+
role: string;
|
|
12
|
+
avatar: BaseImage;
|
|
13
|
+
};
|
|
14
|
+
type SocialLink = {
|
|
15
|
+
platform: string;
|
|
16
|
+
url: string;
|
|
17
|
+
};
|
|
18
|
+
type ProseSidebarExtra = {
|
|
19
|
+
prose: string;
|
|
20
|
+
subscribe: SubscribeBlock;
|
|
21
|
+
contributors?: Contributor[];
|
|
22
|
+
socialLinks?: SocialLink[];
|
|
23
|
+
};
|
|
24
|
+
export type ProseSidebarProps = TextComponentProps<ProseSidebarExtra>;
|
|
25
|
+
export declare const ProseSidebar: (props: ProseSidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const ProseSidebarDefaults: Partial<TextSectionBaseProps> & ProseSidebarExtra;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { ProseSidebar, ProseSidebarDefaults } from "./component";
|
|
2
|
+
import type { ProseSidebarProps } from "./component";
|
|
3
|
+
export { ProseSidebar, ProseSidebarDefaults };
|
|
4
|
+
export type { ProseSidebarProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
prose: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
subscribe: {
|
|
11
|
+
type: string;
|
|
12
|
+
label: string;
|
|
13
|
+
objectFields: {
|
|
14
|
+
title: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
description: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
inputPlaceholder: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
button: {
|
|
24
|
+
readonly type: "object";
|
|
25
|
+
readonly objectFields: {
|
|
26
|
+
readonly label: {
|
|
27
|
+
readonly type: "text";
|
|
28
|
+
};
|
|
29
|
+
readonly action: {
|
|
30
|
+
type: "custom";
|
|
31
|
+
label: string;
|
|
32
|
+
render: typeof import("../../../puck-core").ActionField;
|
|
33
|
+
};
|
|
34
|
+
readonly variant: {
|
|
35
|
+
readonly type: "select";
|
|
36
|
+
readonly options: readonly [{
|
|
37
|
+
readonly label: "primary";
|
|
38
|
+
readonly value: "default";
|
|
39
|
+
}, {
|
|
40
|
+
readonly label: "secondary";
|
|
41
|
+
readonly value: "secondary";
|
|
42
|
+
}, {
|
|
43
|
+
readonly label: "outline";
|
|
44
|
+
readonly value: "outline";
|
|
45
|
+
}, {
|
|
46
|
+
readonly label: "ghost";
|
|
47
|
+
readonly value: "ghost";
|
|
48
|
+
}, {
|
|
49
|
+
readonly label: "link";
|
|
50
|
+
readonly value: "link";
|
|
51
|
+
}, {
|
|
52
|
+
readonly label: "destructive";
|
|
53
|
+
readonly value: "destructive";
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
56
|
+
readonly size: {
|
|
57
|
+
readonly type: "select";
|
|
58
|
+
readonly options: readonly [{
|
|
59
|
+
readonly label: "default";
|
|
60
|
+
readonly value: "default";
|
|
61
|
+
}, {
|
|
62
|
+
readonly label: "sm";
|
|
63
|
+
readonly value: "sm";
|
|
64
|
+
}, {
|
|
65
|
+
readonly label: "lg";
|
|
66
|
+
readonly value: "lg";
|
|
67
|
+
}, {
|
|
68
|
+
readonly label: "icon";
|
|
69
|
+
readonly value: "icon";
|
|
70
|
+
}];
|
|
71
|
+
};
|
|
72
|
+
readonly icon: {
|
|
73
|
+
type: "custom";
|
|
74
|
+
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
termsAndConditions: {
|
|
79
|
+
type: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
contributors: {
|
|
84
|
+
type: string;
|
|
85
|
+
getItemSummary: (item: {
|
|
86
|
+
name?: string;
|
|
87
|
+
}, index?: number) => string;
|
|
88
|
+
arrayFields: {
|
|
89
|
+
name: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
role: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
avatar: {
|
|
96
|
+
type: "object";
|
|
97
|
+
objectFields: {
|
|
98
|
+
src: import("@puckeditor/core").Field<string>;
|
|
99
|
+
alt: {
|
|
100
|
+
type: "text";
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
socialLinks: {
|
|
107
|
+
type: string;
|
|
108
|
+
getItemSummary: (item: {
|
|
109
|
+
platform?: string;
|
|
110
|
+
}, index?: number) => string;
|
|
111
|
+
arrayFields: {
|
|
112
|
+
platform: {
|
|
113
|
+
type: string;
|
|
114
|
+
};
|
|
115
|
+
url: {
|
|
116
|
+
type: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
styles: {
|
|
121
|
+
type: string;
|
|
122
|
+
label: string;
|
|
123
|
+
objectFields: {
|
|
124
|
+
sidebarType: {
|
|
125
|
+
readonly type: "radio";
|
|
126
|
+
readonly label: "Sidebar Type";
|
|
127
|
+
readonly options: readonly [{
|
|
128
|
+
readonly label: "Subscribe";
|
|
129
|
+
readonly value: "subscribe";
|
|
130
|
+
}, {
|
|
131
|
+
readonly label: "Full";
|
|
132
|
+
readonly value: "full";
|
|
133
|
+
}];
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
defaultProps: Partial<import("../props").TextSectionBaseProps> & {
|
|
139
|
+
prose: string;
|
|
140
|
+
subscribe: {
|
|
141
|
+
title: string;
|
|
142
|
+
description: string;
|
|
143
|
+
inputPlaceholder?: string;
|
|
144
|
+
button: import("@/components/puck-core/core/props/interactive").BaseButton;
|
|
145
|
+
termsAndConditions: string;
|
|
146
|
+
};
|
|
147
|
+
contributors?: {
|
|
148
|
+
name: string;
|
|
149
|
+
role: string;
|
|
150
|
+
avatar: import("@/components/puck-core/core/props/media").BaseImage;
|
|
151
|
+
}[];
|
|
152
|
+
socialLinks?: {
|
|
153
|
+
platform: string;
|
|
154
|
+
url: string;
|
|
155
|
+
}[];
|
|
156
|
+
};
|
|
157
|
+
render: (props: ProseSidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
158
|
+
};
|
|
159
|
+
export default conf;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TextComponentProps, TextSectionBaseProps } from "../props";
|
|
2
|
+
type SideMediaContentExtra = {
|
|
3
|
+
prose: string;
|
|
4
|
+
};
|
|
5
|
+
export type SideMediaContentProps = TextComponentProps<SideMediaContentExtra>;
|
|
6
|
+
export declare const SideMediaContent: (props: SideMediaContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SideMediaContentDefaults: Partial<TextSectionBaseProps> & SideMediaContentExtra;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { Dialog, DialogTrigger, DialogContent } from "../../../shadcn/dialog.js";
|
|
5
|
+
import { CompoundImage } from "../../../puck-base/image.js";
|
|
6
|
+
import { FaCirclePlay } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js";
|
|
7
|
+
import { CgSpinner } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js";
|
|
8
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
9
|
+
const SideMediaContent = (props) => {
|
|
10
|
+
const {
|
|
11
|
+
heading,
|
|
12
|
+
prose,
|
|
13
|
+
image = { src: "", alt: "" },
|
|
14
|
+
video,
|
|
15
|
+
styles
|
|
16
|
+
} = {
|
|
17
|
+
...SideMediaContentDefaults,
|
|
18
|
+
...props
|
|
19
|
+
};
|
|
20
|
+
const {
|
|
21
|
+
mediaType = "image",
|
|
22
|
+
mediaPosition = "right"
|
|
23
|
+
} = styles ?? {};
|
|
24
|
+
const [isIframeLoaded, setIsIframeLoaded] = useState(false);
|
|
25
|
+
const renderMedia = () => {
|
|
26
|
+
if (mediaType === "video") {
|
|
27
|
+
return /* @__PURE__ */ jsxs(Dialog, { children: [
|
|
28
|
+
/* @__PURE__ */ jsx(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxs("button", { className: "relative flex w-full items-center justify-center", children: [
|
|
29
|
+
/* @__PURE__ */ jsx(CompoundImage, { src: image.src, alt: image.alt, className: "size-full object-cover" }),
|
|
30
|
+
/* @__PURE__ */ jsx("span", { className: "absolute inset-0 z-10 bg-black/50" }),
|
|
31
|
+
/* @__PURE__ */ jsx(FaCirclePlay, { className: "absolute z-20 size-16 text-white" })
|
|
32
|
+
] }) }),
|
|
33
|
+
/* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
34
|
+
!isIframeLoaded && /* @__PURE__ */ jsx(CgSpinner, { className: "mx-auto size-16 animate-spin text-white" }),
|
|
35
|
+
/* @__PURE__ */ jsx(
|
|
36
|
+
"iframe",
|
|
37
|
+
{
|
|
38
|
+
className: cn("z-0 mx-auto aspect-video size-full md:w-[738px] lg:w-[940px]", {
|
|
39
|
+
visible: isIframeLoaded,
|
|
40
|
+
hidden: !isIframeLoaded
|
|
41
|
+
}),
|
|
42
|
+
src: video,
|
|
43
|
+
allow: "autoplay; encrypted-media; picture-in-picture",
|
|
44
|
+
allowFullScreen: true,
|
|
45
|
+
onLoad: () => setIsIframeLoaded(true)
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
] })
|
|
49
|
+
] });
|
|
50
|
+
}
|
|
51
|
+
return /* @__PURE__ */ jsx(CompoundImage, { src: image.src, className: "w-full object-cover", alt: image.alt });
|
|
52
|
+
};
|
|
53
|
+
const textContent = /* @__PURE__ */ jsxs("div", { children: [
|
|
54
|
+
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
55
|
+
/* @__PURE__ */ jsx("div", { className: "prose", dangerouslySetInnerHTML: { __html: prose } })
|
|
56
|
+
] });
|
|
57
|
+
const mediaContent = /* @__PURE__ */ jsx("div", { children: renderMedia() });
|
|
58
|
+
const textOrder = mediaPosition === "left" ? "order-2" : "";
|
|
59
|
+
const mediaOrder = mediaPosition === "left" ? "order-1" : "";
|
|
60
|
+
return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-start gap-y-12 md:grid-cols-2 md:gap-x-12 lg:gap-x-20", children: [
|
|
61
|
+
/* @__PURE__ */ jsx("div", { className: textOrder, children: textContent }),
|
|
62
|
+
/* @__PURE__ */ jsx("div", { className: mediaOrder, children: mediaContent })
|
|
63
|
+
] }) }) });
|
|
64
|
+
};
|
|
65
|
+
const SideMediaContentDefaults = {
|
|
66
|
+
heading: "Short heading goes here",
|
|
67
|
+
prose: `<p>Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse.</p><p>Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus. Etiam egestas in nec sed et. Quis lobortis at sit dictum eget nibh tortor commodo cursus.</p>`,
|
|
68
|
+
image: {
|
|
69
|
+
src: "https://picsum.photos/seed/side-media/800/600",
|
|
70
|
+
alt: "Relume placeholder image"
|
|
71
|
+
},
|
|
72
|
+
video: "https://www.youtube.com/embed/8DKLYsikxTs?si=Ch9W0KrDWWUiCMMW",
|
|
73
|
+
styles: {
|
|
74
|
+
mediaType: "image",
|
|
75
|
+
mediaPosition: "right"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
export {
|
|
79
|
+
SideMediaContent,
|
|
80
|
+
SideMediaContentDefaults
|
|
81
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { SideMediaContent, SideMediaContentDefaults } from "./component";
|
|
2
|
+
import type { SideMediaContentProps } from "./component";
|
|
3
|
+
export { SideMediaContent, SideMediaContentDefaults };
|
|
4
|
+
export type { SideMediaContentProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
heading: {
|
|
8
|
+
readonly type: "text";
|
|
9
|
+
readonly contentEditable: true;
|
|
10
|
+
};
|
|
11
|
+
prose: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
image: {
|
|
15
|
+
type: "object";
|
|
16
|
+
objectFields: {
|
|
17
|
+
src: import("@puckeditor/core").Field<string>;
|
|
18
|
+
alt: {
|
|
19
|
+
type: "text";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
video: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
styles: {
|
|
27
|
+
type: string;
|
|
28
|
+
label: string;
|
|
29
|
+
objectFields: {
|
|
30
|
+
mediaType: {
|
|
31
|
+
readonly type: "radio";
|
|
32
|
+
readonly label: "Media Type";
|
|
33
|
+
readonly options: readonly [{
|
|
34
|
+
readonly label: "None";
|
|
35
|
+
readonly value: "none";
|
|
36
|
+
}, {
|
|
37
|
+
readonly label: "Image";
|
|
38
|
+
readonly value: "image";
|
|
39
|
+
}, {
|
|
40
|
+
readonly label: "Video";
|
|
41
|
+
readonly value: "video";
|
|
42
|
+
}];
|
|
43
|
+
};
|
|
44
|
+
mediaPosition: {
|
|
45
|
+
readonly type: "radio";
|
|
46
|
+
readonly label: "Media Position";
|
|
47
|
+
readonly options: readonly [{
|
|
48
|
+
readonly label: "Left";
|
|
49
|
+
readonly value: "left";
|
|
50
|
+
}, {
|
|
51
|
+
readonly label: "Right";
|
|
52
|
+
readonly value: "right";
|
|
53
|
+
}, {
|
|
54
|
+
readonly label: "Top";
|
|
55
|
+
readonly value: "top";
|
|
56
|
+
}, {
|
|
57
|
+
readonly label: "Bottom";
|
|
58
|
+
readonly value: "bottom";
|
|
59
|
+
}];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
defaultProps: Partial<import("../props").TextSectionBaseProps> & {
|
|
65
|
+
prose: string;
|
|
66
|
+
};
|
|
67
|
+
render: (props: SideMediaContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
};
|
|
69
|
+
export default conf;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SideMediaContent, SideMediaContentDefaults } from "./component.js";
|
|
2
|
+
import { headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
4
|
+
import { textStyleFields } from "../props.js";
|
|
5
|
+
const conf = {
|
|
6
|
+
fields: {
|
|
7
|
+
heading: headingField,
|
|
8
|
+
prose: { type: "textarea" },
|
|
9
|
+
image: imageField,
|
|
10
|
+
video: { type: "text" },
|
|
11
|
+
styles: {
|
|
12
|
+
type: "object",
|
|
13
|
+
label: "Styles",
|
|
14
|
+
objectFields: {
|
|
15
|
+
mediaType: textStyleFields.mediaType,
|
|
16
|
+
mediaPosition: textStyleFields.mediaPosition
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultProps: SideMediaContentDefaults,
|
|
21
|
+
render: SideMediaContent
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
SideMediaContent,
|
|
25
|
+
SideMediaContentDefaults,
|
|
26
|
+
conf as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TextComponentProps, TextSectionBaseProps, BaseImage } from "../props";
|
|
2
|
+
type StickyTextMultiImageExtra = {
|
|
3
|
+
prose: string;
|
|
4
|
+
images: BaseImage[];
|
|
5
|
+
};
|
|
6
|
+
export type StickyTextMultiImageProps = TextComponentProps<StickyTextMultiImageExtra>;
|
|
7
|
+
export declare const StickyTextMultiImage: (props: StickyTextMultiImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const StickyTextMultiImageDefaults: Partial<TextSectionBaseProps> & StickyTextMultiImageExtra;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { CompoundImage } from "../../../puck-base/image.js";
|
|
3
|
+
const StickyTextMultiImage = (props) => {
|
|
4
|
+
const {
|
|
5
|
+
heading,
|
|
6
|
+
prose,
|
|
7
|
+
images = [],
|
|
8
|
+
styles
|
|
9
|
+
} = {
|
|
10
|
+
...StickyTextMultiImageDefaults,
|
|
11
|
+
...props
|
|
12
|
+
};
|
|
13
|
+
const {
|
|
14
|
+
contentPosition = "left"
|
|
15
|
+
} = styles ?? {};
|
|
16
|
+
const textContent = /* @__PURE__ */ jsxs("div", { className: "static top-20 lg:sticky", children: [
|
|
17
|
+
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
18
|
+
/* @__PURE__ */ jsx("div", { className: "prose", dangerouslySetInnerHTML: { __html: prose } })
|
|
19
|
+
] });
|
|
20
|
+
const imagesContent = /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 md:gap-8", children: images.map((img, index) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(CompoundImage, { src: img.src, alt: img.alt, className: "w-full object-cover" }) }, index)) });
|
|
21
|
+
return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 items-start gap-x-12 gap-y-16 md:gap-y-20 lg:grid-cols-[1fr_1.5fr] lg:gap-x-20", children: contentPosition === "left" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
22
|
+
textContent,
|
|
23
|
+
imagesContent
|
|
24
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
25
|
+
imagesContent,
|
|
26
|
+
textContent
|
|
27
|
+
] }) }) }) });
|
|
28
|
+
};
|
|
29
|
+
const StickyTextMultiImageDefaults = {
|
|
30
|
+
heading: "Short heading goes here",
|
|
31
|
+
prose: `<p>Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse.</p><p>Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus.</p>`,
|
|
32
|
+
images: [
|
|
33
|
+
{ src: "https://picsum.photos/seed/sticky-img1/800/600", alt: "Relume placeholder image 1" },
|
|
34
|
+
{ src: "https://picsum.photos/seed/sticky-img2/800/600", alt: "Relume placeholder image 2" },
|
|
35
|
+
{ src: "https://picsum.photos/seed/sticky-img3/800/600", alt: "Relume placeholder image 3" }
|
|
36
|
+
],
|
|
37
|
+
styles: {
|
|
38
|
+
contentPosition: "left"
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
StickyTextMultiImage,
|
|
43
|
+
StickyTextMultiImageDefaults
|
|
44
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { StickyTextMultiImage, StickyTextMultiImageDefaults } from "./component";
|
|
2
|
+
import type { StickyTextMultiImageProps } from "./component";
|
|
3
|
+
export { StickyTextMultiImage, StickyTextMultiImageDefaults };
|
|
4
|
+
export type { StickyTextMultiImageProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
heading: {
|
|
8
|
+
readonly type: "text";
|
|
9
|
+
readonly contentEditable: true;
|
|
10
|
+
};
|
|
11
|
+
prose: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
images: {
|
|
15
|
+
readonly type: "array";
|
|
16
|
+
readonly max: 10;
|
|
17
|
+
readonly getItemSummary: (item: {
|
|
18
|
+
alt?: string;
|
|
19
|
+
}, index?: number) => string;
|
|
20
|
+
readonly arrayFields: {
|
|
21
|
+
readonly src: import("@puckeditor/core").Field<string>;
|
|
22
|
+
readonly alt: {
|
|
23
|
+
type: "text";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
readonly defaultItemProps: {
|
|
27
|
+
alt: string;
|
|
28
|
+
src: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
styles: {
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
objectFields: {
|
|
35
|
+
contentPosition: {
|
|
36
|
+
readonly type: "radio";
|
|
37
|
+
readonly label: "Content Position";
|
|
38
|
+
readonly options: readonly [{
|
|
39
|
+
readonly label: "Left";
|
|
40
|
+
readonly value: "left";
|
|
41
|
+
}, {
|
|
42
|
+
readonly label: "Right";
|
|
43
|
+
readonly value: "right";
|
|
44
|
+
}];
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
defaultProps: Partial<import("../props").TextSectionBaseProps> & {
|
|
50
|
+
prose: string;
|
|
51
|
+
images: import("@/components/puck-core/core/props/media").BaseImage[];
|
|
52
|
+
};
|
|
53
|
+
render: (props: StickyTextMultiImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
};
|
|
55
|
+
export default conf;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StickyTextMultiImage, StickyTextMultiImageDefaults } from "./component.js";
|
|
2
|
+
import { headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { imagesField } from "../../../puck-core/core/props/media.js";
|
|
4
|
+
import { textStyleFields } from "../props.js";
|
|
5
|
+
const conf = {
|
|
6
|
+
fields: {
|
|
7
|
+
heading: headingField,
|
|
8
|
+
prose: { type: "textarea" },
|
|
9
|
+
images: imagesField,
|
|
10
|
+
styles: {
|
|
11
|
+
type: "object",
|
|
12
|
+
label: "Styles",
|
|
13
|
+
objectFields: {
|
|
14
|
+
contentPosition: textStyleFields.contentPosition
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultProps: StickyTextMultiImageDefaults,
|
|
19
|
+
render: StickyTextMultiImage
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
StickyTextMultiImage,
|
|
23
|
+
StickyTextMultiImageDefaults,
|
|
24
|
+
conf as default
|
|
25
|
+
};
|