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
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import { toast } from "sonner";
|
|
5
|
-
import { cn } from "../../../../utils/css-utils.js";
|
|
6
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
7
|
-
import { CompoundButton } from "../../../puck-base/button.js";
|
|
8
|
-
import { Input } from "../../../shadcn/input.js";
|
|
9
|
-
import { Label } from "../../../shadcn/label.js";
|
|
10
|
-
import { Textarea } from "../../../shadcn/textarea.js";
|
|
11
|
-
import { useEditorContext } from "../../../puck-base/editor-context.js";
|
|
12
|
-
import { submitFormLead } from "../api/form-leads.js";
|
|
13
|
-
const ICON_PATHS = {
|
|
14
|
-
phone: "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.69 14a19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 3.62 3h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 10.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 17.92Z",
|
|
15
|
-
mail: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M22 6l-10 7L2 6",
|
|
16
|
-
"map-pin": "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0",
|
|
17
|
-
clock: "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Z M12 6v6l4 2"
|
|
18
|
-
};
|
|
19
|
-
const InfoIcon = ({ type }) => /* @__PURE__ */ jsx(
|
|
20
|
-
"svg",
|
|
21
|
-
{
|
|
22
|
-
width: "18",
|
|
23
|
-
height: "18",
|
|
24
|
-
viewBox: "0 0 24 24",
|
|
25
|
-
fill: "none",
|
|
26
|
-
stroke: "currentColor",
|
|
27
|
-
strokeWidth: "1.8",
|
|
28
|
-
strokeLinecap: "round",
|
|
29
|
-
strokeLinejoin: "round",
|
|
30
|
-
className: "shrink-0",
|
|
31
|
-
children: /* @__PURE__ */ jsx("path", { d: ICON_PATHS[type] })
|
|
32
|
-
}
|
|
33
|
-
);
|
|
34
|
-
const PANEL_VARS = {
|
|
35
|
-
dark: {
|
|
36
|
-
wrapper: "bg-foreground text-background",
|
|
37
|
-
heading: "text-background",
|
|
38
|
-
desc: "text-background/70",
|
|
39
|
-
iconBox: "bg-background/10",
|
|
40
|
-
label: "text-background/50",
|
|
41
|
-
value: "text-background"
|
|
42
|
-
},
|
|
43
|
-
primary: {
|
|
44
|
-
wrapper: "bg-primary text-primary-foreground",
|
|
45
|
-
heading: "text-primary-foreground",
|
|
46
|
-
desc: "text-primary-foreground/75",
|
|
47
|
-
iconBox: "bg-primary-foreground/15",
|
|
48
|
-
label: "text-primary-foreground/55",
|
|
49
|
-
value: "text-primary-foreground"
|
|
50
|
-
},
|
|
51
|
-
muted: {
|
|
52
|
-
wrapper: "bg-muted text-foreground",
|
|
53
|
-
heading: "text-foreground",
|
|
54
|
-
desc: "text-muted-foreground",
|
|
55
|
-
iconBox: "bg-background",
|
|
56
|
-
label: "text-muted-foreground",
|
|
57
|
-
value: "text-foreground"
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
const ContactUs3 = ({
|
|
61
|
-
heading,
|
|
62
|
-
description,
|
|
63
|
-
infoItems = [],
|
|
64
|
-
fields = [],
|
|
65
|
-
submitLabel,
|
|
66
|
-
submitVariant,
|
|
67
|
-
submitSize,
|
|
68
|
-
submitIcon,
|
|
69
|
-
styles
|
|
70
|
-
}) => {
|
|
71
|
-
var _a, _b, _c, _d, _e, _f;
|
|
72
|
-
const panelStyle = (styles == null ? void 0 : styles.panelStyle) ?? "dark";
|
|
73
|
-
const labels = {
|
|
74
|
-
name: ((_a = fields.find((field) => field.name === "name")) == null ? void 0 : _a.label) ?? "Full Name",
|
|
75
|
-
email: ((_b = fields.find((field) => field.name === "email")) == null ? void 0 : _b.label) ?? "Email Address",
|
|
76
|
-
phone: ((_c = fields.find((field) => field.name === "phone")) == null ? void 0 : _c.label) ?? "Phone",
|
|
77
|
-
company: ((_d = fields.find((field) => field.name === "company")) == null ? void 0 : _d.label) ?? "Company",
|
|
78
|
-
subject: ((_e = fields.find((field) => field.name === "subject")) == null ? void 0 : _e.label) ?? "Subject",
|
|
79
|
-
message: ((_f = fields.find((field) => field.name === "message")) == null ? void 0 : _f.label) ?? "Your Message"
|
|
80
|
-
};
|
|
81
|
-
const { isEditor: isEditorMode, siteId, domain } = useEditorContext();
|
|
82
|
-
const [values, setValues] = useState({
|
|
83
|
-
name: "",
|
|
84
|
-
email: "",
|
|
85
|
-
phone: "",
|
|
86
|
-
company: "",
|
|
87
|
-
subject: "",
|
|
88
|
-
message: ""
|
|
89
|
-
});
|
|
90
|
-
const [submitting, setSubmitting] = useState(false);
|
|
91
|
-
const vars = PANEL_VARS[panelStyle];
|
|
92
|
-
const setValue = (field) => (e) => setValues((prev) => ({ ...prev, [field]: e.target.value }));
|
|
93
|
-
const handleSubmit = async (e) => {
|
|
94
|
-
e.preventDefault();
|
|
95
|
-
if (isEditorMode) return;
|
|
96
|
-
const subjectTrim = values.subject.trim();
|
|
97
|
-
const messageForApi = subjectTrim ? `${subjectTrim}
|
|
98
|
-
|
|
99
|
-
${values.message}` : values.message;
|
|
100
|
-
setSubmitting(true);
|
|
101
|
-
try {
|
|
102
|
-
await submitFormLead(domain, {
|
|
103
|
-
site_id: siteId,
|
|
104
|
-
name: values.name || "",
|
|
105
|
-
email: values.email || "",
|
|
106
|
-
phone: values.phone || "",
|
|
107
|
-
message: messageForApi || "",
|
|
108
|
-
source_page: typeof window !== "undefined" ? window.location.pathname : ""
|
|
109
|
-
});
|
|
110
|
-
toast.success("Message sent successfully!");
|
|
111
|
-
setValues({ name: "", email: "", phone: "", company: "", subject: "", message: "" });
|
|
112
|
-
} catch (err) {
|
|
113
|
-
const msg = err instanceof Error ? err.message : "Failed to send message";
|
|
114
|
-
toast.error(msg);
|
|
115
|
-
} finally {
|
|
116
|
-
setSubmitting(false);
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
return /* @__PURE__ */ jsx(
|
|
120
|
-
CompoundContainer,
|
|
121
|
-
{
|
|
122
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
123
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
124
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
125
|
-
className: "!p-0",
|
|
126
|
-
children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 overflow-hidden rounded-2xl border border-border lg:grid-cols-5", children: [
|
|
127
|
-
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-8 p-8 lg:col-span-2 lg:p-10 xl:p-12", vars.wrapper), children: [
|
|
128
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
129
|
-
heading && /* @__PURE__ */ jsx("h2", { className: cn("font-serif text-3xl leading-tight tracking-tighter xl:text-4xl", vars.heading), children: heading }),
|
|
130
|
-
description && /* @__PURE__ */ jsx("p", { className: cn("text-sm leading-relaxed", vars.desc), children: description })
|
|
131
|
-
] }),
|
|
132
|
-
infoItems.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4", children: infoItems.map((item, i) => /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
133
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex h-9 w-9 shrink-0 items-center justify-center rounded-lg", vars.iconBox), children: /* @__PURE__ */ jsx(InfoIcon, { type: item.icon }) }),
|
|
134
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-0.5", children: [
|
|
135
|
-
/* @__PURE__ */ jsx("span", { className: cn("text-xs font-medium uppercase tracking-wide", vars.label), children: item.label }),
|
|
136
|
-
/* @__PURE__ */ jsx("span", { className: cn("whitespace-pre-line text-sm font-medium", vars.value), children: item.value })
|
|
137
|
-
] })
|
|
138
|
-
] }, i)) })
|
|
139
|
-
] }),
|
|
140
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col justify-center p-8 lg:col-span-3 lg:p-10 xl:p-12", children: /* @__PURE__ */ jsxs("form", { className: "flex flex-col gap-5", onSubmit: handleSubmit, children: [
|
|
141
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-5 sm:grid-cols-2", children: [
|
|
142
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
143
|
-
/* @__PURE__ */ jsxs(Label, { htmlFor: "cu3-name", className: "text-sm font-medium", children: [
|
|
144
|
-
labels.name,
|
|
145
|
-
" ",
|
|
146
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "*" })
|
|
147
|
-
] }),
|
|
148
|
-
/* @__PURE__ */ jsx(
|
|
149
|
-
Input,
|
|
150
|
-
{
|
|
151
|
-
id: "cu3-name",
|
|
152
|
-
type: "text",
|
|
153
|
-
required: true,
|
|
154
|
-
value: values.name,
|
|
155
|
-
onChange: setValue("name")
|
|
156
|
-
}
|
|
157
|
-
)
|
|
158
|
-
] }),
|
|
159
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
160
|
-
/* @__PURE__ */ jsxs(Label, { htmlFor: "cu3-email", className: "text-sm font-medium", children: [
|
|
161
|
-
labels.email,
|
|
162
|
-
" ",
|
|
163
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "*" })
|
|
164
|
-
] }),
|
|
165
|
-
/* @__PURE__ */ jsx(
|
|
166
|
-
Input,
|
|
167
|
-
{
|
|
168
|
-
id: "cu3-email",
|
|
169
|
-
type: "email",
|
|
170
|
-
required: true,
|
|
171
|
-
value: values.email,
|
|
172
|
-
onChange: setValue("email")
|
|
173
|
-
}
|
|
174
|
-
)
|
|
175
|
-
] })
|
|
176
|
-
] }),
|
|
177
|
-
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-5 sm:grid-cols-2", children: [
|
|
178
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
179
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "cu3-phone", className: "text-sm font-medium", children: labels.phone }),
|
|
180
|
-
/* @__PURE__ */ jsx(
|
|
181
|
-
Input,
|
|
182
|
-
{
|
|
183
|
-
id: "cu3-phone",
|
|
184
|
-
type: "tel",
|
|
185
|
-
value: values.phone,
|
|
186
|
-
onChange: setValue("phone")
|
|
187
|
-
}
|
|
188
|
-
)
|
|
189
|
-
] }),
|
|
190
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
191
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "cu3-company", className: "text-sm font-medium", children: labels.company }),
|
|
192
|
-
/* @__PURE__ */ jsx(
|
|
193
|
-
Input,
|
|
194
|
-
{
|
|
195
|
-
id: "cu3-company",
|
|
196
|
-
type: "text",
|
|
197
|
-
value: values.company,
|
|
198
|
-
onChange: setValue("company")
|
|
199
|
-
}
|
|
200
|
-
)
|
|
201
|
-
] })
|
|
202
|
-
] }),
|
|
203
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
204
|
-
/* @__PURE__ */ jsx(Label, { htmlFor: "cu3-subject", className: "text-sm font-medium", children: labels.subject }),
|
|
205
|
-
/* @__PURE__ */ jsx(
|
|
206
|
-
Input,
|
|
207
|
-
{
|
|
208
|
-
id: "cu3-subject",
|
|
209
|
-
type: "text",
|
|
210
|
-
value: values.subject,
|
|
211
|
-
onChange: setValue("subject")
|
|
212
|
-
}
|
|
213
|
-
)
|
|
214
|
-
] }),
|
|
215
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
216
|
-
/* @__PURE__ */ jsxs(Label, { htmlFor: "cu3-message", className: "text-sm font-medium", children: [
|
|
217
|
-
labels.message,
|
|
218
|
-
" ",
|
|
219
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "*" })
|
|
220
|
-
] }),
|
|
221
|
-
/* @__PURE__ */ jsx(
|
|
222
|
-
Textarea,
|
|
223
|
-
{
|
|
224
|
-
id: "cu3-message",
|
|
225
|
-
required: true,
|
|
226
|
-
className: "min-h-36 resize-y",
|
|
227
|
-
value: values.message,
|
|
228
|
-
onChange: setValue("message")
|
|
229
|
-
}
|
|
230
|
-
)
|
|
231
|
-
] }),
|
|
232
|
-
/* @__PURE__ */ jsx("div", { className: "pt-1", children: /* @__PURE__ */ jsx(
|
|
233
|
-
CompoundButton,
|
|
234
|
-
{
|
|
235
|
-
label: submitting ? "Sending..." : submitLabel ?? "Send Message",
|
|
236
|
-
variant: submitVariant ?? "default",
|
|
237
|
-
size: submitSize ?? "default",
|
|
238
|
-
icon: submitting ? "loader" : submitIcon ?? "send",
|
|
239
|
-
type: "submit",
|
|
240
|
-
disabled: submitting
|
|
241
|
-
}
|
|
242
|
-
) })
|
|
243
|
-
] }) })
|
|
244
|
-
] })
|
|
245
|
-
}
|
|
246
|
-
);
|
|
247
|
-
};
|
|
248
|
-
export {
|
|
249
|
-
ContactUs3
|
|
250
|
-
};
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { icon } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { ContactUs3 } from "./contact-us-3.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const defaultInfoItems = [
|
|
5
|
-
{ icon: "phone", label: "Phone", value: "+1 (555) 000-0000" },
|
|
6
|
-
{ icon: "mail", label: "Email", value: "hello@mybusiness.com" },
|
|
7
|
-
{
|
|
8
|
-
icon: "map-pin",
|
|
9
|
-
label: "Address",
|
|
10
|
-
value: "123 Main Street\nNew York, NY 10001"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
icon: "clock",
|
|
14
|
-
label: "Hours",
|
|
15
|
-
value: "Mon–Fri: 9am–6pm\nSat: 10am–4pm"
|
|
16
|
-
}
|
|
17
|
-
];
|
|
18
|
-
const contactUs3StylesField = createStylesField({
|
|
19
|
-
panelStyle: {
|
|
20
|
-
type: "radio",
|
|
21
|
-
label: "Panel Style",
|
|
22
|
-
options: [
|
|
23
|
-
{ label: "Dark", value: "dark" },
|
|
24
|
-
{ label: "Primary", value: "primary" },
|
|
25
|
-
{ label: "Muted", value: "muted" }
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
const conf = {
|
|
30
|
-
fields: {
|
|
31
|
-
heading: { type: "textarea", contentEditable: true },
|
|
32
|
-
description: { type: "textarea", contentEditable: true },
|
|
33
|
-
infoItems: {
|
|
34
|
-
type: "array",
|
|
35
|
-
min: 0,
|
|
36
|
-
max: 6,
|
|
37
|
-
getItemSummary: (item, index = 0) => item.label || `Info ${index + 1}`,
|
|
38
|
-
arrayFields: {
|
|
39
|
-
icon: {
|
|
40
|
-
type: "select",
|
|
41
|
-
label: "Icon",
|
|
42
|
-
options: [
|
|
43
|
-
{ label: "Phone", value: "phone" },
|
|
44
|
-
{ label: "Email", value: "mail" },
|
|
45
|
-
{ label: "Location", value: "map-pin" },
|
|
46
|
-
{ label: "Clock", value: "clock" }
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
label: { type: "text", contentEditable: true },
|
|
50
|
-
value: { type: "textarea", contentEditable: true }
|
|
51
|
-
},
|
|
52
|
-
defaultItemProps: {
|
|
53
|
-
icon: "phone",
|
|
54
|
-
label: "Phone",
|
|
55
|
-
value: "+1 (555) 000-0000"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
fields: {
|
|
59
|
-
type: "array",
|
|
60
|
-
max: 10,
|
|
61
|
-
getItemSummary: (item, i = 0) => item.label || `Field ${i + 1}`,
|
|
62
|
-
arrayFields: {
|
|
63
|
-
label: { type: "text", contentEditable: true },
|
|
64
|
-
name: { type: "text" }
|
|
65
|
-
},
|
|
66
|
-
defaultItemProps: { label: "Field", name: "field" }
|
|
67
|
-
},
|
|
68
|
-
submitLabel: { type: "text" },
|
|
69
|
-
submitVariant: {
|
|
70
|
-
type: "select",
|
|
71
|
-
options: [
|
|
72
|
-
{ label: "Primary", value: "default" },
|
|
73
|
-
{ label: "Secondary", value: "secondary" },
|
|
74
|
-
{ label: "Outline", value: "outline" },
|
|
75
|
-
{ label: "Ghost", value: "ghost" }
|
|
76
|
-
]
|
|
77
|
-
},
|
|
78
|
-
submitSize: {
|
|
79
|
-
type: "select",
|
|
80
|
-
options: [
|
|
81
|
-
{ label: "Default", value: "default" },
|
|
82
|
-
{ label: "Small", value: "sm" },
|
|
83
|
-
{ label: "Large", value: "lg" }
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
submitIcon: icon,
|
|
87
|
-
styles: contactUs3StylesField
|
|
88
|
-
},
|
|
89
|
-
defaultProps: {
|
|
90
|
-
heading: "Contact our team",
|
|
91
|
-
description: "We're here to help. Reach out and we'll respond as soon as we can.",
|
|
92
|
-
infoItems: defaultInfoItems,
|
|
93
|
-
fields: [
|
|
94
|
-
{ label: "Full Name", name: "name" },
|
|
95
|
-
{ label: "Email Address", name: "email" },
|
|
96
|
-
{ label: "Phone", name: "phone" },
|
|
97
|
-
{ label: "Company", name: "company" },
|
|
98
|
-
{ label: "Subject", name: "subject" },
|
|
99
|
-
{ label: "Your Message", name: "message" }
|
|
100
|
-
],
|
|
101
|
-
submitLabel: "Send Message",
|
|
102
|
-
submitVariant: "default",
|
|
103
|
-
submitSize: "default",
|
|
104
|
-
submitIcon: "send",
|
|
105
|
-
styles: {
|
|
106
|
-
...createStylesDefaults(),
|
|
107
|
-
panelStyle: "dark"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
render: ContactUs3
|
|
111
|
-
};
|
|
112
|
-
export {
|
|
113
|
-
conf
|
|
114
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CompoundContainerProps } from "@/components/puck-base/container";
|
|
2
|
-
import { type CompoundButtonProps } from "@/components/puck-base/button";
|
|
3
|
-
export interface BannerCtaProps {
|
|
4
|
-
heading?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
buttons?: Array<{
|
|
7
|
-
label: string;
|
|
8
|
-
action?: CompoundButtonProps["action"];
|
|
9
|
-
variant?: string;
|
|
10
|
-
}>;
|
|
11
|
-
styles?: {
|
|
12
|
-
padding?: CompoundContainerProps["padding"];
|
|
13
|
-
sectionStyle?: CompoundContainerProps["sectionStyle"];
|
|
14
|
-
backgroundColor?: string;
|
|
15
|
-
visualVariant?: "primary" | "dark" | "gradient";
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export declare const BannerCta: ({ heading, description, buttons, styles, }: BannerCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
3
|
-
import { CompoundButton } from "../../../puck-base/button.js";
|
|
4
|
-
const variantStyles = {
|
|
5
|
-
primary: "bg-primary text-primary-foreground",
|
|
6
|
-
dark: "bg-foreground text-background",
|
|
7
|
-
gradient: "bg-gradient-to-r from-primary to-primary/70 text-primary-foreground"
|
|
8
|
-
};
|
|
9
|
-
const BannerCta = ({
|
|
10
|
-
heading = "Ready to get started?",
|
|
11
|
-
description,
|
|
12
|
-
buttons = [],
|
|
13
|
-
styles
|
|
14
|
-
}) => {
|
|
15
|
-
var _a, _b, _c, _d;
|
|
16
|
-
return /* @__PURE__ */ jsx(CompoundContainer, { padding: styles == null ? void 0 : styles.padding, sectionStyle: styles == null ? void 0 : styles.sectionStyle, backgroundColor: styles == null ? void 0 : styles.backgroundColor, children: /* @__PURE__ */ jsxs("div", { className: `rounded-2xl px-8 py-14 text-center ${variantStyles[(styles == null ? void 0 : styles.visualVariant) ?? "primary"] ?? variantStyles.primary}`, children: [
|
|
17
|
-
heading && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: heading }),
|
|
18
|
-
description && /* @__PURE__ */ jsx("p", { className: "mt-4 text-lg opacity-90 max-w-2xl mx-auto", children: description }),
|
|
19
|
-
/* @__PURE__ */ jsxs("div", { className: "mt-8 flex flex-wrap items-center justify-center gap-4", children: [
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
CompoundButton,
|
|
22
|
-
{
|
|
23
|
-
label: ((_a = buttons[0]) == null ? void 0 : _a.label) ?? "Get started",
|
|
24
|
-
action: (_b = buttons[0]) == null ? void 0 : _b.action,
|
|
25
|
-
variant: ((_c = buttons[0]) == null ? void 0 : _c.variant) ?? "secondary"
|
|
26
|
-
}
|
|
27
|
-
),
|
|
28
|
-
((_d = buttons[1]) == null ? void 0 : _d.label) && /* @__PURE__ */ jsx(
|
|
29
|
-
CompoundButton,
|
|
30
|
-
{
|
|
31
|
-
label: buttons[1].label,
|
|
32
|
-
action: buttons[1].action,
|
|
33
|
-
variant: buttons[1].variant ?? "outline",
|
|
34
|
-
className: "border-current text-foreground"
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
] })
|
|
38
|
-
] }) });
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
BannerCta
|
|
42
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { contentFields } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { BannerCta } from "./banner-cta.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const bannerCtaStylesField = createStylesField({
|
|
5
|
-
visualVariant: {
|
|
6
|
-
type: "select",
|
|
7
|
-
label: "Background Variant",
|
|
8
|
-
options: [
|
|
9
|
-
{ label: "Primary Color", value: "primary" },
|
|
10
|
-
{ label: "Dark", value: "dark" },
|
|
11
|
-
{ label: "Gradient", value: "gradient" }
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
const conf = {
|
|
16
|
-
fields: {
|
|
17
|
-
...contentFields,
|
|
18
|
-
styles: bannerCtaStylesField
|
|
19
|
-
},
|
|
20
|
-
defaultProps: {
|
|
21
|
-
heading: "Start building for free today",
|
|
22
|
-
description: "No credit card required. Free plan includes unlimited projects.",
|
|
23
|
-
buttons: [
|
|
24
|
-
{ label: "Sign Up Free", variant: "secondary" },
|
|
25
|
-
{ label: "Contact Sales", variant: "outline" }
|
|
26
|
-
],
|
|
27
|
-
styles: {
|
|
28
|
-
...createStylesDefaults(),
|
|
29
|
-
visualVariant: "primary"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
render: BannerCta
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
conf
|
|
36
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CompoundContainerProps } from "@/components/puck-base/container";
|
|
2
|
-
import { CompoundContentProps } from "@/components/puck-base/content";
|
|
3
|
-
export interface CtaProps extends CompoundContentProps {
|
|
4
|
-
layout?: "contained" | "full-bleed";
|
|
5
|
-
displayText?: string;
|
|
6
|
-
styles?: {
|
|
7
|
-
padding?: CompoundContainerProps["padding"];
|
|
8
|
-
sectionStyle?: CompoundContainerProps["sectionStyle"];
|
|
9
|
-
backgroundColor?: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare const Cta: ({ layout, badge, heading, description, buttons, displayText, styles, }: CtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../../../../utils/css-utils.js";
|
|
3
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
4
|
-
import { CompoundContent } from "../../../puck-base/content.js";
|
|
5
|
-
const Cta = ({
|
|
6
|
-
layout,
|
|
7
|
-
badge,
|
|
8
|
-
heading,
|
|
9
|
-
description,
|
|
10
|
-
buttons,
|
|
11
|
-
displayText,
|
|
12
|
-
styles
|
|
13
|
-
}) => /* @__PURE__ */ jsxs(
|
|
14
|
-
CompoundContainer,
|
|
15
|
-
{
|
|
16
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
17
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
18
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
19
|
-
className: cn({ "bg-muted": layout === "full-bleed" }),
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ jsx(
|
|
22
|
-
CompoundContent,
|
|
23
|
-
{
|
|
24
|
-
badge,
|
|
25
|
-
heading,
|
|
26
|
-
description,
|
|
27
|
-
buttons,
|
|
28
|
-
alignContent: "center",
|
|
29
|
-
className: cn({ "bg-muted p-4 lg:p-14": layout === "contained" })
|
|
30
|
-
}
|
|
31
|
-
),
|
|
32
|
-
displayText && /* @__PURE__ */ jsx("p", { className: "font-serif text-center text-6xl md:text-8xl lg:text-9xl font-bold tracking-tighter mt-4", children: displayText })
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
export {
|
|
37
|
-
Cta
|
|
38
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { contentFields } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { Cta } from "./cta.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const conf = {
|
|
5
|
-
fields: {
|
|
6
|
-
...contentFields,
|
|
7
|
-
displayText: { type: "text" },
|
|
8
|
-
layout: {
|
|
9
|
-
type: "radio",
|
|
10
|
-
options: [
|
|
11
|
-
{ label: "contained", value: "contained" },
|
|
12
|
-
{ label: "full bleed", value: "full-bleed" }
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
styles: createStylesField()
|
|
16
|
-
},
|
|
17
|
-
defaultProps: {
|
|
18
|
-
heading: "Ready to build something great?",
|
|
19
|
-
description: "Join thousands of teams already shipping faster. Start free — no credit card required.",
|
|
20
|
-
badge: {
|
|
21
|
-
label: "Get Started",
|
|
22
|
-
url: "",
|
|
23
|
-
variant: "default"
|
|
24
|
-
},
|
|
25
|
-
buttons: [
|
|
26
|
-
{
|
|
27
|
-
label: "Start Free Trial",
|
|
28
|
-
icon: "move-right",
|
|
29
|
-
variant: "default"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
label: "Talk to Sales",
|
|
33
|
-
icon: "move-right",
|
|
34
|
-
variant: "outline"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
layout: "contained",
|
|
38
|
-
styles: createStylesDefaults()
|
|
39
|
-
},
|
|
40
|
-
render: Cta
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
conf
|
|
44
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CompoundContainerProps } from "@/components/puck-base/container";
|
|
2
|
-
import { CompoundContentProps } from "@/components/puck-base/content";
|
|
3
|
-
export interface GradientCtaProps extends CompoundContentProps {
|
|
4
|
-
styles?: {
|
|
5
|
-
padding?: CompoundContainerProps["padding"];
|
|
6
|
-
sectionStyle?: CompoundContainerProps["sectionStyle"];
|
|
7
|
-
backgroundColor?: string;
|
|
8
|
-
gradientFrom?: string;
|
|
9
|
-
gradientTo?: string;
|
|
10
|
-
backgroundCSS?: string;
|
|
11
|
-
textColor?: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare const GradientCta: ({ badge, heading, description, buttons, styles, }: GradientCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
3
|
-
import { CompoundBadge } from "../../../puck-base/badge.js";
|
|
4
|
-
import { CompoundButton } from "../../../puck-base/button.js";
|
|
5
|
-
const GradientCta = ({
|
|
6
|
-
badge,
|
|
7
|
-
heading,
|
|
8
|
-
description,
|
|
9
|
-
buttons,
|
|
10
|
-
styles
|
|
11
|
-
}) => {
|
|
12
|
-
const gradientFrom = (styles == null ? void 0 : styles.gradientFrom) ?? "var(--primary)";
|
|
13
|
-
const gradientTo = (styles == null ? void 0 : styles.gradientTo) ?? "var(--chart-2)";
|
|
14
|
-
const bg = (styles == null ? void 0 : styles.backgroundCSS) || `linear-gradient(135deg, ${gradientFrom}, ${gradientTo})`;
|
|
15
|
-
const color = (styles == null ? void 0 : styles.textColor) || ((styles == null ? void 0 : styles.backgroundCSS) ? void 0 : "var(--primary-foreground)");
|
|
16
|
-
return /* @__PURE__ */ jsx(
|
|
17
|
-
CompoundContainer,
|
|
18
|
-
{
|
|
19
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
20
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
21
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
22
|
-
children: /* @__PURE__ */ jsx(
|
|
23
|
-
"div",
|
|
24
|
-
{
|
|
25
|
-
className: "rounded-2xl p-8 text-center md:p-14",
|
|
26
|
-
style: { background: bg, color },
|
|
27
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center gap-8", children: [
|
|
28
|
-
(!!heading || !!description || !!badge) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center gap-4", children: [
|
|
29
|
-
(badge == null ? void 0 : badge.label) && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
|
|
30
|
-
CompoundBadge,
|
|
31
|
-
{
|
|
32
|
-
label: badge.label,
|
|
33
|
-
variant: badge.variant,
|
|
34
|
-
url: badge.url
|
|
35
|
-
}
|
|
36
|
-
) }),
|
|
37
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center text-center gap-4", children: [
|
|
38
|
-
!!heading && /* @__PURE__ */ jsx("h2", { className: "font-serif font-regular text-3xl tracking-tighter text-center md:text-5xl lg:max-w-xl", children: heading }),
|
|
39
|
-
!!description && /* @__PURE__ */ jsx("p", { className: "text text-lg leading-relaxed tracking-tight text-center lg:max-w-xl", children: description })
|
|
40
|
-
] })
|
|
41
|
-
] }),
|
|
42
|
-
Array.isArray(buttons) && buttons.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-row justify-center flex-wrap gap-4", children: buttons.filter((button) => !!button.label).map((button, index) => {
|
|
43
|
-
const needsContrast = !button.variant || button.variant === "default";
|
|
44
|
-
return /* @__PURE__ */ jsx(
|
|
45
|
-
CompoundButton,
|
|
46
|
-
{
|
|
47
|
-
label: button.label,
|
|
48
|
-
action: button.action,
|
|
49
|
-
variant: button.variant,
|
|
50
|
-
size: button.size,
|
|
51
|
-
icon: button.icon,
|
|
52
|
-
className: needsContrast ? "bg-background text-foreground hover:bg-background/90" : void 0
|
|
53
|
-
},
|
|
54
|
-
index
|
|
55
|
-
);
|
|
56
|
-
}) })
|
|
57
|
-
] })
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
export {
|
|
64
|
-
GradientCta
|
|
65
|
-
};
|