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,53 @@
|
|
|
1
|
+
import { DualRowMarquee, DualRowMarqueeDefaults } from "./dual-row-marquee";
|
|
2
|
+
import type { DualRowMarqueeProps } from "./dual-row-marquee";
|
|
3
|
+
export { DualRowMarquee, DualRowMarqueeDefaults };
|
|
4
|
+
export type { DualRowMarqueeProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
headingsTop: {
|
|
8
|
+
type: string;
|
|
9
|
+
max: number;
|
|
10
|
+
getItemSummary: (item: {
|
|
11
|
+
title?: string;
|
|
12
|
+
}, index?: number) => string;
|
|
13
|
+
arrayFields: {
|
|
14
|
+
title: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
image: {
|
|
18
|
+
type: "object";
|
|
19
|
+
objectFields: {
|
|
20
|
+
src: import("@puckeditor/core").Field<string>;
|
|
21
|
+
alt: {
|
|
22
|
+
type: "text";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
headingsBottom: {
|
|
29
|
+
type: string;
|
|
30
|
+
max: number;
|
|
31
|
+
getItemSummary: (item: {
|
|
32
|
+
title?: string;
|
|
33
|
+
}, index?: number) => string;
|
|
34
|
+
arrayFields: {
|
|
35
|
+
title: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
image: {
|
|
39
|
+
type: "object";
|
|
40
|
+
objectFields: {
|
|
41
|
+
src: import("@puckeditor/core").Field<string>;
|
|
42
|
+
alt: {
|
|
43
|
+
type: "text";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
defaultProps: Partial<import("../props").BannerSectionBaseProps>;
|
|
51
|
+
render: (props: DualRowMarqueeProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
};
|
|
53
|
+
export default conf;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { DualRowMarquee, DualRowMarqueeDefaults } from "./dual-row-marquee.js";
|
|
2
|
+
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
3
|
+
const conf = {
|
|
4
|
+
fields: {
|
|
5
|
+
headingsTop: {
|
|
6
|
+
type: "array",
|
|
7
|
+
max: 6,
|
|
8
|
+
getItemSummary: (item, index = 0) => item.title || `Item ${index + 1}`,
|
|
9
|
+
arrayFields: {
|
|
10
|
+
title: { type: "text" },
|
|
11
|
+
image: imageField
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
headingsBottom: {
|
|
15
|
+
type: "array",
|
|
16
|
+
max: 6,
|
|
17
|
+
getItemSummary: (item, index = 0) => item.title || `Item ${index + 1}`,
|
|
18
|
+
arrayFields: {
|
|
19
|
+
title: { type: "text" },
|
|
20
|
+
image: imageField
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
defaultProps: DualRowMarqueeDefaults,
|
|
25
|
+
render: DualRowMarquee
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
DualRowMarquee,
|
|
29
|
+
DualRowMarqueeDefaults,
|
|
30
|
+
conf as default
|
|
31
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as CssMarqueeBannerConf } from "./css-marquee-banner";
|
|
2
|
+
export { default as DualRowMarqueeConf } from "./dual-row-marquee";
|
|
3
|
+
export { default as ScrollDrivenMarqueeConf } from "./scroll-driven-marquee";
|
|
4
|
+
export { default as ScrollParallaxTextConf } from "./scroll-parallax-text";
|
|
@@ -1,22 +1,119 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Banner Section 共享 Props
|
|
3
|
+
*
|
|
4
|
+
* 基础类型引用自 ../props/(全局共享)
|
|
5
|
+
* BannerSectionStyles 为 banner 特有的样式字段
|
|
6
|
+
*/
|
|
7
|
+
import type { BaseImage } from "@/components/puck-core/core/props/media";
|
|
8
|
+
import type { BaseButton, Action } from "@/components/puck-core/core/props/interactive";
|
|
9
|
+
export type { BaseImage, BaseButton, Action };
|
|
10
|
+
export interface BannerSectionStyles {
|
|
11
|
+
containerStyle?: "boxed" | "fullWidth";
|
|
12
|
+
textLayout?: "default" | "centered" | "inlineLink";
|
|
13
|
+
ctaType?: "email" | "button" | "buttons" | "socialLinks";
|
|
14
|
+
direction?: "left" | "right";
|
|
15
|
+
contentType?: "text" | "textWithImage";
|
|
16
|
+
}
|
|
17
|
+
export interface BannerSectionBaseProps {
|
|
18
|
+
heading: string;
|
|
19
|
+
description: string;
|
|
20
|
+
headings: string[];
|
|
21
|
+
buttons: BaseButton[];
|
|
22
|
+
logo: BaseImage & {
|
|
23
|
+
url?: string;
|
|
24
|
+
};
|
|
25
|
+
inputPlaceholder: string;
|
|
26
|
+
formButton: BaseButton;
|
|
27
|
+
headingStart: string;
|
|
28
|
+
headingEnd: string;
|
|
29
|
+
link: {
|
|
30
|
+
action?: Action;
|
|
31
|
+
title: string;
|
|
32
|
+
};
|
|
33
|
+
socialMediaLinks: {
|
|
34
|
+
platform: string;
|
|
35
|
+
url: string;
|
|
36
|
+
}[];
|
|
37
|
+
sections: {
|
|
38
|
+
title: string;
|
|
39
|
+
image: BaseImage;
|
|
40
|
+
}[];
|
|
41
|
+
headingsTop: {
|
|
42
|
+
title: string;
|
|
43
|
+
image: BaseImage;
|
|
44
|
+
}[];
|
|
45
|
+
headingsBottom: {
|
|
46
|
+
title: string;
|
|
47
|
+
image: BaseImage;
|
|
48
|
+
}[];
|
|
49
|
+
images: BaseImage[];
|
|
50
|
+
styles: BannerSectionStyles;
|
|
51
|
+
}
|
|
52
|
+
export declare const bannerStyleFields: {
|
|
53
|
+
readonly containerStyle: {
|
|
54
|
+
readonly type: "radio";
|
|
55
|
+
readonly label: "Container Style";
|
|
56
|
+
readonly options: readonly [{
|
|
57
|
+
readonly label: "Boxed";
|
|
58
|
+
readonly value: "boxed";
|
|
59
|
+
}, {
|
|
60
|
+
readonly label: "Full Width";
|
|
61
|
+
readonly value: "fullWidth";
|
|
62
|
+
}];
|
|
63
|
+
};
|
|
64
|
+
readonly textLayout: {
|
|
65
|
+
readonly type: "radio";
|
|
66
|
+
readonly label: "Text Layout";
|
|
67
|
+
readonly options: readonly [{
|
|
68
|
+
readonly label: "Default";
|
|
69
|
+
readonly value: "default";
|
|
70
|
+
}, {
|
|
71
|
+
readonly label: "Centered";
|
|
72
|
+
readonly value: "centered";
|
|
73
|
+
}, {
|
|
74
|
+
readonly label: "Inline Link";
|
|
75
|
+
readonly value: "inlineLink";
|
|
76
|
+
}];
|
|
77
|
+
};
|
|
78
|
+
readonly ctaType: {
|
|
79
|
+
readonly type: "select";
|
|
80
|
+
readonly label: "CTA Type";
|
|
81
|
+
readonly options: readonly [{
|
|
82
|
+
readonly label: "Email Form";
|
|
83
|
+
readonly value: "email";
|
|
84
|
+
}, {
|
|
85
|
+
readonly label: "Single Button";
|
|
86
|
+
readonly value: "button";
|
|
87
|
+
}, {
|
|
88
|
+
readonly label: "Multiple Buttons";
|
|
89
|
+
readonly value: "buttons";
|
|
90
|
+
}, {
|
|
91
|
+
readonly label: "Social Links";
|
|
92
|
+
readonly value: "socialLinks";
|
|
93
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
readonly direction: {
|
|
96
|
+
readonly type: "radio";
|
|
97
|
+
readonly label: "Direction";
|
|
98
|
+
readonly options: readonly [{
|
|
99
|
+
readonly label: "Left";
|
|
100
|
+
readonly value: "left";
|
|
101
|
+
}, {
|
|
102
|
+
readonly label: "Right";
|
|
103
|
+
readonly value: "right";
|
|
104
|
+
}];
|
|
105
|
+
};
|
|
106
|
+
readonly contentType: {
|
|
107
|
+
readonly type: "radio";
|
|
108
|
+
readonly label: "Content Type";
|
|
109
|
+
readonly options: readonly [{
|
|
110
|
+
readonly label: "Text Only";
|
|
111
|
+
readonly value: "text";
|
|
112
|
+
}, {
|
|
113
|
+
readonly label: "Text + Image";
|
|
114
|
+
readonly value: "textWithImage";
|
|
115
|
+
}];
|
|
21
116
|
};
|
|
22
117
|
};
|
|
118
|
+
/** 将 BannerSectionBaseProps 与组件特有字段合并,生成最终 Props */
|
|
119
|
+
export type BannerComponentProps<T extends object = object> = React.ComponentPropsWithoutRef<"section"> & Partial<BannerSectionBaseProps> & Partial<T>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const bannerStyleFields = {
|
|
2
|
+
direction: {
|
|
3
|
+
type: "radio",
|
|
4
|
+
label: "Direction",
|
|
5
|
+
options: [
|
|
6
|
+
{ label: "Left", value: "left" },
|
|
7
|
+
{ label: "Right", value: "right" }
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
contentType: {
|
|
11
|
+
type: "radio",
|
|
12
|
+
label: "Content Type",
|
|
13
|
+
options: [
|
|
14
|
+
{ label: "Text Only", value: "text" },
|
|
15
|
+
{ label: "Text + Image", value: "textWithImage" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
bannerStyleFields
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ScrollDrivenMarquee, ScrollDrivenMarqueeDefaults } from "./scroll-driven-marquee";
|
|
2
|
+
import type { ScrollDrivenMarqueeProps } from "./scroll-driven-marquee";
|
|
3
|
+
export { ScrollDrivenMarquee, ScrollDrivenMarqueeDefaults };
|
|
4
|
+
export type { ScrollDrivenMarqueeProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
headings: {
|
|
8
|
+
type: string;
|
|
9
|
+
max: number;
|
|
10
|
+
getItemSummary: (item: string, index?: number) => string;
|
|
11
|
+
arrayFields: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
defaultProps: Partial<import("../props").BannerSectionBaseProps>;
|
|
17
|
+
render: (props: ScrollDrivenMarqueeProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export default conf;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ScrollDrivenMarquee, ScrollDrivenMarqueeDefaults } from "./scroll-driven-marquee.js";
|
|
2
|
+
const conf = {
|
|
3
|
+
fields: {
|
|
4
|
+
headings: {
|
|
5
|
+
type: "array",
|
|
6
|
+
max: 8,
|
|
7
|
+
getItemSummary: (item, index = 0) => item || `Heading ${index + 1}`,
|
|
8
|
+
arrayFields: {
|
|
9
|
+
type: "text"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
defaultProps: ScrollDrivenMarqueeDefaults,
|
|
14
|
+
render: ScrollDrivenMarquee
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
ScrollDrivenMarquee,
|
|
18
|
+
ScrollDrivenMarqueeDefaults,
|
|
19
|
+
conf as default
|
|
20
|
+
};
|
package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BannerComponentProps, BannerSectionBaseProps } from "../props";
|
|
2
|
+
export type ScrollDrivenMarqueeProps = BannerComponentProps;
|
|
3
|
+
export declare const ScrollDrivenMarquee: (props: ScrollDrivenMarqueeProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const ScrollDrivenMarqueeDefaults: Partial<BannerSectionBaseProps>;
|
package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
4
|
+
import { useRef } from "react";
|
|
5
|
+
const ScrollDrivenMarquee = (props) => {
|
|
6
|
+
const {
|
|
7
|
+
headings = []
|
|
8
|
+
} = {
|
|
9
|
+
...ScrollDrivenMarqueeDefaults,
|
|
10
|
+
...props
|
|
11
|
+
};
|
|
12
|
+
const sectionRef = useRef(null);
|
|
13
|
+
const { scrollYProgress } = useScroll({
|
|
14
|
+
target: sectionRef,
|
|
15
|
+
offset: ["start end", "end start"]
|
|
16
|
+
});
|
|
17
|
+
const headingTranslate = useTransform(scrollYProgress, [0, 1], ["-50%", "0%"]);
|
|
18
|
+
return /* @__PURE__ */ jsx("section", { id: "relume", ref: sectionRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "flex whitespace-nowrap border-b border-t border-border-primary", children: /* @__PURE__ */ jsx("div", { className: "flex w-full items-center overflow-hidden whitespace-nowrap py-4", children: Array(2).fill(0).map((_, index) => /* @__PURE__ */ jsx(
|
|
19
|
+
motion.div,
|
|
20
|
+
{
|
|
21
|
+
className: "ml-12 grid auto-cols-max grid-flow-col grid-cols-[max-content] gap-12",
|
|
22
|
+
style: { x: headingTranslate },
|
|
23
|
+
children: headings.map((heading, headingIndex) => /* @__PURE__ */ jsx("h1", { className: "text-md font-bold md:text-lg", children: heading }, headingIndex))
|
|
24
|
+
},
|
|
25
|
+
index
|
|
26
|
+
)) }) }) });
|
|
27
|
+
};
|
|
28
|
+
const ScrollDrivenMarqueeDefaults = {
|
|
29
|
+
headings: [
|
|
30
|
+
"Relume Library",
|
|
31
|
+
"Relume Library",
|
|
32
|
+
"Relume Library",
|
|
33
|
+
"Relume Library",
|
|
34
|
+
"Relume Library"
|
|
35
|
+
]
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
ScrollDrivenMarquee,
|
|
39
|
+
ScrollDrivenMarqueeDefaults
|
|
40
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ScrollParallaxText, ScrollParallaxTextDefaults } from "./scroll-parallax-text";
|
|
2
|
+
import type { ScrollParallaxTextProps } from "./scroll-parallax-text";
|
|
3
|
+
export { ScrollParallaxText, ScrollParallaxTextDefaults };
|
|
4
|
+
export type { ScrollParallaxTextProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
headings: {
|
|
8
|
+
type: string;
|
|
9
|
+
max: number;
|
|
10
|
+
getItemSummary: (item: string, index?: number) => string;
|
|
11
|
+
arrayFields: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
defaultProps: Partial<import("../props").BannerSectionBaseProps>;
|
|
17
|
+
render: (props: ScrollParallaxTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export default conf;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ScrollParallaxText, ScrollParallaxTextDefaults } from "./scroll-parallax-text.js";
|
|
2
|
+
const conf = {
|
|
3
|
+
fields: {
|
|
4
|
+
headings: {
|
|
5
|
+
type: "array",
|
|
6
|
+
max: 6,
|
|
7
|
+
getItemSummary: (item, index = 0) => item || `Heading ${index + 1}`,
|
|
8
|
+
arrayFields: {
|
|
9
|
+
type: "text"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
defaultProps: ScrollParallaxTextDefaults,
|
|
14
|
+
render: ScrollParallaxText
|
|
15
|
+
};
|
|
16
|
+
export {
|
|
17
|
+
ScrollParallaxText,
|
|
18
|
+
ScrollParallaxTextDefaults,
|
|
19
|
+
conf as default
|
|
20
|
+
};
|
package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BannerComponentProps, BannerSectionBaseProps } from "../props";
|
|
2
|
+
export type ScrollParallaxTextProps = BannerComponentProps;
|
|
3
|
+
export declare const ScrollParallaxText: (props: ScrollParallaxTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const ScrollParallaxTextDefaults: Partial<BannerSectionBaseProps>;
|
package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useRef } from "react";
|
|
4
|
+
import { useScroll, useTransform, motion } from "framer-motion";
|
|
5
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
6
|
+
const ScrollParallaxText = (props) => {
|
|
7
|
+
const {
|
|
8
|
+
headings = []
|
|
9
|
+
} = {
|
|
10
|
+
...ScrollParallaxTextDefaults,
|
|
11
|
+
...props
|
|
12
|
+
};
|
|
13
|
+
const sectionRef = useRef(null);
|
|
14
|
+
const { scrollYProgress } = useScroll({
|
|
15
|
+
target: sectionRef,
|
|
16
|
+
offset: ["start start", "end start"]
|
|
17
|
+
});
|
|
18
|
+
const xPartOne = useTransform(scrollYProgress, [0, 1], ["-10%", "0%"]);
|
|
19
|
+
const xPartTwo = useTransform(scrollYProgress, [0, 1], ["10%", "0%"]);
|
|
20
|
+
return /* @__PURE__ */ jsx(
|
|
21
|
+
"section",
|
|
22
|
+
{
|
|
23
|
+
id: "relume",
|
|
24
|
+
ref: sectionRef,
|
|
25
|
+
className: "overflow-hidden px-[5%] py-16 md:py-24 lg:py-28",
|
|
26
|
+
children: /* @__PURE__ */ jsx("div", { className: "flex flex-col whitespace-nowrap", children: headings.map((heading, index) => /* @__PURE__ */ jsx(
|
|
27
|
+
motion.h1,
|
|
28
|
+
{
|
|
29
|
+
style: index % 2 === 0 ? { x: xPartOne } : { x: xPartTwo },
|
|
30
|
+
className: cn("text-[6rem] font-bold leading-[1.2]", {
|
|
31
|
+
"self-end": index % 2 !== 0
|
|
32
|
+
}),
|
|
33
|
+
children: heading
|
|
34
|
+
},
|
|
35
|
+
index
|
|
36
|
+
)) })
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
const ScrollParallaxTextDefaults = {
|
|
41
|
+
headings: [
|
|
42
|
+
"Medium length banner heading goes here",
|
|
43
|
+
"Medium length banner heading goes here"
|
|
44
|
+
]
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
ScrollParallaxText,
|
|
48
|
+
ScrollParallaxTextDefaults
|
|
49
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ContactComponentProps, ContactSectionBaseProps } from "../props";
|
|
2
|
+
export type CenteredFormProps = ContactComponentProps;
|
|
3
|
+
export declare const CenteredForm: (props: CenteredFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const CenteredFormDefaults: ContactSectionBaseProps;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from "../../../shadcn/select.js";
|
|
5
|
+
import { Input } from "../../../shadcn/input.js";
|
|
6
|
+
import { Checkbox } from "../../../shadcn/checkbox.js";
|
|
7
|
+
import { Label } from "../../../shadcn/label.js";
|
|
8
|
+
import { Textarea } from "../../../shadcn/textarea.js";
|
|
9
|
+
import { CompoundButton } from "../../../puck-base/button.js";
|
|
10
|
+
import { useContactForm } from "../use-contact-form.js";
|
|
11
|
+
import { cn } from "../../../../utils/css-utils.js";
|
|
12
|
+
const CenteredForm = (props) => {
|
|
13
|
+
const { tagline, heading, description, button, styles } = {
|
|
14
|
+
...CenteredFormDefaults,
|
|
15
|
+
...props
|
|
16
|
+
};
|
|
17
|
+
const { formType = "simple", textAlign = "center" } = styles ?? {};
|
|
18
|
+
const { createSubmitHandler, submitting } = useContactForm();
|
|
19
|
+
const [name, setName] = useState("");
|
|
20
|
+
const [firstName, setFirstName] = useState("");
|
|
21
|
+
const [lastName, setLastName] = useState("");
|
|
22
|
+
const [email, setEmail] = useState("");
|
|
23
|
+
const [phone, setPhone] = useState("");
|
|
24
|
+
const [message, setMessage] = useState("");
|
|
25
|
+
const [topic, setTopic] = useState("");
|
|
26
|
+
const [acceptTerms, setAcceptTerms] = useState(false);
|
|
27
|
+
const handleSubmit = createSubmitHandler(
|
|
28
|
+
() => ({
|
|
29
|
+
name: name || `${firstName} ${lastName}`.trim() || "",
|
|
30
|
+
email: email || "",
|
|
31
|
+
phone: phone || "",
|
|
32
|
+
message: [topic, message].filter(Boolean).join("\n\n") || ""
|
|
33
|
+
}),
|
|
34
|
+
() => {
|
|
35
|
+
setName("");
|
|
36
|
+
setFirstName("");
|
|
37
|
+
setLastName("");
|
|
38
|
+
setEmail("");
|
|
39
|
+
setPhone("");
|
|
40
|
+
setMessage("");
|
|
41
|
+
setTopic("");
|
|
42
|
+
setAcceptTerms(false);
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
const isCenter = textAlign === "center";
|
|
46
|
+
const renderSimpleForm = () => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
47
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
48
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "name", className: "mb-2", children: "Name" }),
|
|
49
|
+
/* @__PURE__ */ jsx(Input, { type: "text", id: "name", value: name, onChange: (e) => setName(e.target.value) })
|
|
50
|
+
] }),
|
|
51
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
52
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", className: "mb-2", children: "Email" }),
|
|
53
|
+
/* @__PURE__ */ jsx(Input, { type: "email", id: "email", value: email, onChange: (e) => setEmail(e.target.value) })
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
56
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", className: "mb-2", children: "Phone" }),
|
|
57
|
+
/* @__PURE__ */ jsx(Input, { type: "tel", id: "phone", value: phone, onChange: (e) => setPhone(e.target.value) })
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
60
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", className: "mb-2", children: "Message" }),
|
|
61
|
+
/* @__PURE__ */ jsx(
|
|
62
|
+
Textarea,
|
|
63
|
+
{
|
|
64
|
+
id: "message",
|
|
65
|
+
placeholder: "Type your message...",
|
|
66
|
+
className: "min-h-[11.25rem] overflow-auto",
|
|
67
|
+
value: message,
|
|
68
|
+
onChange: (e) => setMessage(e.target.value)
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
] })
|
|
72
|
+
] });
|
|
73
|
+
const renderAdvancedForm = () => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
74
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-6", children: [
|
|
75
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
76
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "firstName", className: "mb-2", children: "First name" }),
|
|
77
|
+
/* @__PURE__ */ jsx(Input, { type: "text", id: "firstName", value: firstName, onChange: (e) => setFirstName(e.target.value) })
|
|
78
|
+
] }),
|
|
79
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
80
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "lastName", className: "mb-2", children: "Last name" }),
|
|
81
|
+
/* @__PURE__ */ jsx(Input, { type: "text", id: "lastName", value: lastName, onChange: (e) => setLastName(e.target.value) })
|
|
82
|
+
] })
|
|
83
|
+
] }),
|
|
84
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
85
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "email", className: "mb-2", children: "Email" }),
|
|
86
|
+
/* @__PURE__ */ jsx(Input, { type: "email", id: "email", value: email, onChange: (e) => setEmail(e.target.value) })
|
|
87
|
+
] }),
|
|
88
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
89
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "phone", className: "mb-2", children: "Phone number" }),
|
|
90
|
+
/* @__PURE__ */ jsx(Input, { type: "tel", id: "phone", value: phone, onChange: (e) => setPhone(e.target.value) })
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
93
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "topic", className: "mb-2", children: "Choose a topic" }),
|
|
94
|
+
/* @__PURE__ */ jsxs(Select, { value: topic, onValueChange: setTopic, children: [
|
|
95
|
+
/* @__PURE__ */ jsx(SelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select one..." }) }),
|
|
96
|
+
/* @__PURE__ */ jsxs(SelectContent, { children: [
|
|
97
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "topic-1", children: "Topic one" }),
|
|
98
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "topic-2", children: "Topic two" }),
|
|
99
|
+
/* @__PURE__ */ jsx(SelectItem, { value: "topic-3", children: "Topic three" })
|
|
100
|
+
] })
|
|
101
|
+
] })
|
|
102
|
+
] }),
|
|
103
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full items-center", children: [
|
|
104
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "message", className: "mb-2", children: "Message" }),
|
|
105
|
+
/* @__PURE__ */ jsx(
|
|
106
|
+
Textarea,
|
|
107
|
+
{
|
|
108
|
+
id: "message",
|
|
109
|
+
placeholder: "Type your message...",
|
|
110
|
+
className: "min-h-[11.25rem] overflow-auto",
|
|
111
|
+
value: message,
|
|
112
|
+
onChange: (e) => setMessage(e.target.value)
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
] })
|
|
116
|
+
] });
|
|
117
|
+
return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", children: /* @__PURE__ */ jsxs("div", { className: "container max-w-lg", children: [
|
|
118
|
+
/* @__PURE__ */ jsxs(
|
|
119
|
+
"div",
|
|
120
|
+
{
|
|
121
|
+
className: cn("mx-auto mb-8 w-full max-w-lg md:mb-10 lg:mb-12", {
|
|
122
|
+
"text-center": isCenter
|
|
123
|
+
}),
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
126
|
+
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
127
|
+
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
),
|
|
131
|
+
/* @__PURE__ */ jsxs(
|
|
132
|
+
"form",
|
|
133
|
+
{
|
|
134
|
+
className: "mx-auto grid w-full max-w-md grid-cols-1 gap-6",
|
|
135
|
+
onSubmit: handleSubmit,
|
|
136
|
+
children: [
|
|
137
|
+
formType === "advanced" ? renderAdvancedForm() : renderSimpleForm(),
|
|
138
|
+
/* @__PURE__ */ jsxs("div", { className: "mb-3 flex items-center space-x-2 text-sm md:mb-4", children: [
|
|
139
|
+
/* @__PURE__ */ jsx(Checkbox, { id: "terms", checked: acceptTerms, onCheckedChange: setAcceptTerms }),
|
|
140
|
+
/* @__PURE__ */ jsxs(Label, { htmlFor: "terms", className: "cursor-pointer", children: [
|
|
141
|
+
"I accept the",
|
|
142
|
+
" ",
|
|
143
|
+
/* @__PURE__ */ jsx("a", { className: "text-link-primary underline", href: "#", children: "Terms" })
|
|
144
|
+
] })
|
|
145
|
+
] }),
|
|
146
|
+
/* @__PURE__ */ jsx("div", { className: cn({ "text-center": isCenter }), children: /* @__PURE__ */ jsx(CompoundButton, { label: submitting ? "Submitting..." : button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon, disabled: submitting }) })
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
] }) });
|
|
151
|
+
};
|
|
152
|
+
const CenteredFormDefaults = {
|
|
153
|
+
tagline: "Tagline",
|
|
154
|
+
heading: "Contact us",
|
|
155
|
+
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
156
|
+
button: { label: "Submit" },
|
|
157
|
+
buttons: [],
|
|
158
|
+
image: { src: "https://picsum.photos/seed/contact-form/800/600", alt: "Placeholder" },
|
|
159
|
+
email: "",
|
|
160
|
+
phone: "",
|
|
161
|
+
address: "",
|
|
162
|
+
contacts: [],
|
|
163
|
+
locations: [],
|
|
164
|
+
tabs: [],
|
|
165
|
+
styles: {
|
|
166
|
+
formType: "simple",
|
|
167
|
+
textAlign: "center"
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
export {
|
|
171
|
+
CenteredForm,
|
|
172
|
+
CenteredFormDefaults
|
|
173
|
+
};
|