dune-react 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/puck-base/core/fields.js +1 -25
- package/dist/components/puck-base/core/styles.js +3 -6
- package/dist/components/puck-base/core/with-editable.js +13 -2
- package/dist/components/puck-base/fields/action-field.js +1 -1
- package/dist/components/puck-base/fields/location-field.js +2 -5
- package/dist/components/puck-base/form.js +1 -1
- package/dist/components/puck-base/image.js +1 -1
- package/dist/components/puck-base/index.d.ts +2 -1
- package/dist/components/puck-base/inline-editable.js +1 -1
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +116 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +90 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +41 -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 +276 -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 +90 -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 +120 -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 +51 -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 +60 -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 +163 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +127 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.js +29 -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 +110 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +112 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +39 -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 +178 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +127 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +28 -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 +113 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +136 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +31 -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 +181 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +134 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +38 -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 +80 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +88 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +38 -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 +88 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +38 -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 +79 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +165 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +42 -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 +112 -0
- package/dist/components/puck-block/contact-sections/props.d.ts +153 -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 +125 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +31 -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 +162 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +97 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +41 -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 +127 -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 +55 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +155 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +36 -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 +83 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +37 -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 +173 -0
- package/dist/components/puck-block/cta-sections/props.d.ts +141 -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 +237 -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 +299 -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 +81 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +138 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +38 -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 +80 -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 +83 -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 +160 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +40 -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 +84 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +163 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +40 -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 +72 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +130 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +36 -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 +60 -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 +47 -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 +110 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +246 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +37 -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 +107 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +246 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +37 -0
- package/dist/components/puck-block/feature-sections/index.d.ts +5 -0
- package/dist/components/puck-block/feature-sections/props.d.ts +148 -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 +123 -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 +94 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +209 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +34 -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 +95 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +209 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +42 -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 +43 -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 +123 -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 +61 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +73 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +10 -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 +52 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +149 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +12 -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 +130 -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 +138 -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 +141 -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 +92 -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 +76 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +75 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +27 -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 +140 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +129 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +40 -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 +177 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +123 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +32 -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 +83 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +35 -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 +188 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +68 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +27 -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 +66 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +233 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +44 -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 +160 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +198 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +41 -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 +122 -0
- package/dist/components/puck-block/gallery-sections/props.d.ts +234 -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 +62 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +101 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +41 -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 +256 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +68 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +27 -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 +99 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +79 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +28 -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 +66 -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 +35 -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 +37 -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 +48 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +129 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +15 -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 +39 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +138 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +15 -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 +165 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +15 -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 +38 -0
- package/dist/components/puck-block/header-sections/props.d.ts +101 -38
- package/dist/components/puck-block/header-sections/props.js +45 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +156 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +20 -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 +62 -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 +89 -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 +212 -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 +101 -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 +87 -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 +269 -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 +87 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +118 -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 +201 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +157 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +29 -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 +83 -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 +151 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +38 -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 +73 -0
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +246 -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 +148 -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 +158 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +37 -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 +86 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +195 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +33 -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 +221 -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 +123 -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 +203 -56
- 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 +108 -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 +97 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +118 -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 +80 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +160 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +30 -0
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +263 -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 +246 -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 +68 -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 +222 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +166 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +31 -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 +150 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +103 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +44 -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 +130 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +174 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +31 -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 +81 -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 +119 -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/location-sections/location-1/location.d.ts +3 -0
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +3 -0
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +3 -0
- package/dist/components/puck-block/location-sections/props.d.ts +3 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +119 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +111 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +39 -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 +108 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +193 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +41 -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 +184 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +41 -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 +117 -0
- package/dist/components/puck-block/metrics-sections/props.d.ts +122 -38
- package/dist/components/puck-block/metrics-sections/props.js +55 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +193 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +41 -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 +102 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +135 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +47 -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 +139 -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 +71 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +101 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +40 -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 +131 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +111 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +44 -0
- package/dist/components/puck-block/pricing-sections/props.d.ts +89 -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 +144 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +110 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +39 -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 +82 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +73 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +34 -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 +91 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +99 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +42 -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 +84 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +88 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +41 -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 +101 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +169 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +38 -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 +85 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +169 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +38 -0
- package/dist/components/puck-block/showcase-sections/index.d.ts +6 -0
- package/dist/components/puck-block/showcase-sections/props.d.ts +71 -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 +105 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +264 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +41 -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 +103 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +264 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +41 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +142 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +203 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +43 -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 +124 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +264 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +41 -0
- package/dist/components/puck-block/team-sections/index.d.ts +5 -0
- package/dist/components/puck-block/team-sections/props.d.ts +99 -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 +108 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +169 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.js +46 -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 +70 -0
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +205 -0
- package/dist/components/puck-block/team-sections/team-grid/index.js +49 -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 +74 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +180 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +47 -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 +68 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +78 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +35 -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 +69 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +155 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.js +39 -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 +182 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +84 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +40 -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 +74 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +94 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +31 -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 +118 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +103 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +38 -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 +59 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +88 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +29 -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 +104 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +91 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +36 -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 +72 -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 +78 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +81 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/props.d.ts +208 -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 +93 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +160 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +38 -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 +107 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +69 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +32 -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 +95 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +119 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +38 -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 +122 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +133 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +39 -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 +65 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +107 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +38 -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 +96 -0
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +161 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +58 -0
- package/dist/components/puck-block/text-sections/index.d.ts +5 -0
- package/dist/components/puck-block/text-sections/props.d.ts +183 -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 +97 -0
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +141 -0
- package/dist/components/puck-block/text-sections/prose-content/index.js +39 -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 +203 -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 +85 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +91 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.js +29 -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 +49 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +77 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +27 -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 +264 -0
- package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -0
- package/dist/components/puck-core/core/context/section-id-context.js +12 -0
- package/dist/components/puck-core/core/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 +2316 -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/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 +12 -0
- package/dist/components/puck-core/inline-editable.d.ts +14 -0
- package/dist/components/puck-core/section-wrapper.d.ts +33 -0
- package/dist/components/puck-core/section-wrapper.js +48 -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/hooks/use-scroll-container.d.ts +18 -0
- package/dist/hooks/use-scroll-container.js +25 -0
- package/dist/index.js +220 -119
- 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 +5 -1
- 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 -128
- 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 -97
- 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 -61
- 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 -45
- 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
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.d.ts +0 -0
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.js +0 -0
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { images, contentFields } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { VideoHero } from "./video-hero.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const conf = {
|
|
5
|
-
fields: {
|
|
6
|
-
...contentFields,
|
|
7
|
-
videoUrl: {
|
|
8
|
-
type: "text",
|
|
9
|
-
label: "Video URL",
|
|
10
|
-
ai: { instructions: "Direct URL to an MP4 video" }
|
|
11
|
-
},
|
|
12
|
-
images: { ...images, max: 1 },
|
|
13
|
-
styles: createStylesField()
|
|
14
|
-
},
|
|
15
|
-
defaultProps: {
|
|
16
|
-
heading: "See what's possible",
|
|
17
|
-
description: "Watch how leading teams use our platform to ship 10x faster.",
|
|
18
|
-
buttons: [{ label: "Try It Free", icon: "move-right", variant: "default" }],
|
|
19
|
-
images: [{ src: "https://images.pexels.com/photos/6985132/pexels-photo-6985132.jpeg?auto=compress&cs=tinysrgb&w=1920", alt: "Dark gradient background for product demo preview" }],
|
|
20
|
-
styles: createStylesDefaults()
|
|
21
|
-
},
|
|
22
|
-
render: VideoHero
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
conf
|
|
26
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CompoundContainerProps } from "@/components/puck-base/container";
|
|
2
|
-
import { CompoundContentProps } from "@/components/puck-base/content";
|
|
3
|
-
export interface VideoHeroProps extends CompoundContentProps {
|
|
4
|
-
videoUrl?: string;
|
|
5
|
-
images?: {
|
|
6
|
-
src: string;
|
|
7
|
-
alt?: string;
|
|
8
|
-
}[];
|
|
9
|
-
styles?: {
|
|
10
|
-
padding?: CompoundContainerProps["padding"];
|
|
11
|
-
sectionStyle?: CompoundContainerProps["sectionStyle"];
|
|
12
|
-
backgroundColor?: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
export declare const VideoHero: ({ badge, heading, description, buttons, videoUrl, images, styles, }: VideoHeroProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
3
|
-
import { CompoundContent } from "../../../puck-base/content.js";
|
|
4
|
-
const VideoHero = ({
|
|
5
|
-
badge,
|
|
6
|
-
heading,
|
|
7
|
-
description,
|
|
8
|
-
buttons,
|
|
9
|
-
videoUrl,
|
|
10
|
-
images,
|
|
11
|
-
styles
|
|
12
|
-
}) => {
|
|
13
|
-
var _a;
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
CompoundContainer,
|
|
16
|
-
{
|
|
17
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
18
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
19
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
20
|
-
children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-center gap-12 lg:grid-cols-2", children: [
|
|
21
|
-
/* @__PURE__ */ jsx(
|
|
22
|
-
CompoundContent,
|
|
23
|
-
{
|
|
24
|
-
badge,
|
|
25
|
-
heading,
|
|
26
|
-
description,
|
|
27
|
-
buttons
|
|
28
|
-
}
|
|
29
|
-
),
|
|
30
|
-
/* @__PURE__ */ jsx("div", { className: "border-border/20 overflow-hidden rounded-xl border bg-black/50", children: videoUrl ? /* @__PURE__ */ jsx(
|
|
31
|
-
"video",
|
|
32
|
-
{
|
|
33
|
-
src: videoUrl,
|
|
34
|
-
poster: (_a = images == null ? void 0 : images[0]) == null ? void 0 : _a.src,
|
|
35
|
-
controls: true,
|
|
36
|
-
className: "aspect-video w-full object-cover"
|
|
37
|
-
}
|
|
38
|
-
) : /* @__PURE__ */ jsx("div", { className: "flex aspect-video w-full items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "bg-primary/20 flex h-16 w-16 items-center justify-center rounded-full", children: /* @__PURE__ */ jsx("span", { className: "text-primary text-2xl", children: "▶" }) }) }) })
|
|
39
|
-
] })
|
|
40
|
-
}
|
|
41
|
-
);
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
VideoHero
|
|
45
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { locationDefaults, button, location } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { LocationSection } from "./location.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const locationButtonFields = {
|
|
5
|
-
...button.objectFields,
|
|
6
|
-
colorMode: {
|
|
7
|
-
type: "select",
|
|
8
|
-
options: [
|
|
9
|
-
{ label: "Theme", value: "theme" },
|
|
10
|
-
{ label: "Custom", value: "custom" }
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
backgroundColor: { type: "text" },
|
|
14
|
-
textColor: { type: "text" }
|
|
15
|
-
};
|
|
16
|
-
const locationButtonDefaults = {
|
|
17
|
-
label: "Button",
|
|
18
|
-
variant: "default",
|
|
19
|
-
size: "default",
|
|
20
|
-
icon: "none",
|
|
21
|
-
colorMode: "theme"
|
|
22
|
-
};
|
|
23
|
-
const conf = {
|
|
24
|
-
fields: {
|
|
25
|
-
heading: { type: "textarea", contentEditable: true },
|
|
26
|
-
description: { type: "textarea", contentEditable: true },
|
|
27
|
-
contentAlign: {
|
|
28
|
-
type: "radio",
|
|
29
|
-
label: "Text Align",
|
|
30
|
-
options: [
|
|
31
|
-
{ label: "Left", value: "left" },
|
|
32
|
-
{ label: "Right", value: "right" }
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
contentPosition: {
|
|
36
|
-
type: "radio",
|
|
37
|
-
label: "Layout",
|
|
38
|
-
options: [
|
|
39
|
-
{ label: "Text Left / Map Right", value: "left" },
|
|
40
|
-
{ label: "Map Left / Text Right", value: "right" }
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
location,
|
|
44
|
-
mapStyle: {
|
|
45
|
-
type: "radio",
|
|
46
|
-
label: "Map Style",
|
|
47
|
-
options: [
|
|
48
|
-
{ label: "Default", value: "default" },
|
|
49
|
-
{ label: "Grayscale", value: "grayscale" },
|
|
50
|
-
{ label: "Dark", value: "dark" }
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
mapTint: {
|
|
54
|
-
type: "radio",
|
|
55
|
-
label: "Map Tint",
|
|
56
|
-
options: [
|
|
57
|
-
{ label: "Theme", value: "theme" },
|
|
58
|
-
{ label: "None", value: "none" }
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
buttons: {
|
|
62
|
-
type: "array",
|
|
63
|
-
max: 3,
|
|
64
|
-
getItemSummary: (item, index = 0) => item.label || `Button ${index + 1}`,
|
|
65
|
-
arrayFields: locationButtonFields,
|
|
66
|
-
defaultItemProps: locationButtonDefaults
|
|
67
|
-
},
|
|
68
|
-
styles: createStylesField()
|
|
69
|
-
},
|
|
70
|
-
defaultProps: {
|
|
71
|
-
heading: "Our Offices",
|
|
72
|
-
description: "We have offices around the globe. Visit us or get in touch with a local team near you.",
|
|
73
|
-
contentAlign: "left",
|
|
74
|
-
contentPosition: "left",
|
|
75
|
-
location: locationDefaults,
|
|
76
|
-
mapStyle: "grayscale",
|
|
77
|
-
mapTint: "theme",
|
|
78
|
-
buttons: [
|
|
79
|
-
{
|
|
80
|
-
label: "Contact us",
|
|
81
|
-
variant: "default",
|
|
82
|
-
size: "default",
|
|
83
|
-
icon: "none",
|
|
84
|
-
colorMode: "theme"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
label: "Get directions",
|
|
88
|
-
variant: "secondary",
|
|
89
|
-
size: "default",
|
|
90
|
-
icon: "none",
|
|
91
|
-
colorMode: "theme"
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
styles: createStylesDefaults()
|
|
95
|
-
},
|
|
96
|
-
render: LocationSection
|
|
97
|
-
};
|
|
98
|
-
export {
|
|
99
|
-
conf
|
|
100
|
-
};
|
|
@@ -1,139 +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
|
-
import { cn } from "../../../../utils/css-utils.js";
|
|
5
|
-
import { getMapEmbedUrl } from "../../../puck-base/core/fields.js";
|
|
6
|
-
const LocationActionButton = ({
|
|
7
|
-
label,
|
|
8
|
-
url,
|
|
9
|
-
action,
|
|
10
|
-
variant = "default",
|
|
11
|
-
size = "default",
|
|
12
|
-
icon = "none",
|
|
13
|
-
colorMode = "theme",
|
|
14
|
-
backgroundColor,
|
|
15
|
-
textColor
|
|
16
|
-
}) => {
|
|
17
|
-
if (!label) return null;
|
|
18
|
-
const useCustomColors = colorMode === "custom";
|
|
19
|
-
const styleVars = {
|
|
20
|
-
...useCustomColors && backgroundColor ? { "--location-btn-bg": backgroundColor } : {},
|
|
21
|
-
...useCustomColors && textColor ? { "--location-btn-text": textColor } : {}
|
|
22
|
-
};
|
|
23
|
-
return /* @__PURE__ */ jsx("span", { style: Object.keys(styleVars).length ? styleVars : void 0, children: /* @__PURE__ */ jsx(
|
|
24
|
-
CompoundButton,
|
|
25
|
-
{
|
|
26
|
-
label,
|
|
27
|
-
action: action ?? (url ? /^https?:\/\//i.test(url) ? { type: "external", externalUrl: url } : { type: "page", pageUrl: url } : void 0),
|
|
28
|
-
variant,
|
|
29
|
-
size,
|
|
30
|
-
icon,
|
|
31
|
-
className: cn(
|
|
32
|
-
"rounded-3xl !h-auto !px-5 !py-2.5 !text-sm !font-medium transition-opacity hover:opacity-90",
|
|
33
|
-
useCustomColors && backgroundColor && "!border-[var(--location-btn-bg)] !bg-[var(--location-btn-bg)] hover:!bg-[var(--location-btn-bg)]",
|
|
34
|
-
useCustomColors && textColor && "!text-[var(--location-btn-text)]"
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
) });
|
|
38
|
-
};
|
|
39
|
-
const MAP_STYLE_FILTERS = {
|
|
40
|
-
default: "",
|
|
41
|
-
grayscale: "grayscale(45%) contrast(1.06) brightness(0.98) saturate(0.9)",
|
|
42
|
-
dark: "grayscale(100%) invert(1) contrast(1.1) brightness(0.8)"
|
|
43
|
-
};
|
|
44
|
-
const LocationSection = ({
|
|
45
|
-
heading,
|
|
46
|
-
description,
|
|
47
|
-
contentAlign = "left",
|
|
48
|
-
contentPosition = "left",
|
|
49
|
-
location: loc,
|
|
50
|
-
mapStyle = "default",
|
|
51
|
-
mapTint = "theme",
|
|
52
|
-
buttons = [],
|
|
53
|
-
styles
|
|
54
|
-
}) => {
|
|
55
|
-
const isTextRight = contentAlign === "right";
|
|
56
|
-
const isContentRight = contentPosition === "right";
|
|
57
|
-
const showMapTint = mapTint === "theme";
|
|
58
|
-
const mapEmbedUrl = loc && loc.lat !== 0 ? getMapEmbedUrl(loc) : void 0;
|
|
59
|
-
const mapFilter = MAP_STYLE_FILTERS[mapStyle] || "";
|
|
60
|
-
return /* @__PURE__ */ jsx(
|
|
61
|
-
CompoundContainer,
|
|
62
|
-
{
|
|
63
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
64
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
65
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
66
|
-
className: "relative overflow-hidden",
|
|
67
|
-
children: /* @__PURE__ */ jsxs(
|
|
68
|
-
"div",
|
|
69
|
-
{
|
|
70
|
-
className: cn(
|
|
71
|
-
"grid grid-cols-1 items-center gap-10 lg:grid-cols-2 lg:gap-12",
|
|
72
|
-
isContentRight && "lg:[direction:rtl] lg:[&>*]:[direction:ltr]"
|
|
73
|
-
),
|
|
74
|
-
children: [
|
|
75
|
-
/* @__PURE__ */ jsx("div", { className: "flex w-full", children: /* @__PURE__ */ jsxs(
|
|
76
|
-
"div",
|
|
77
|
-
{
|
|
78
|
-
className: cn(
|
|
79
|
-
"flex w-full min-w-0 flex-col justify-center gap-6",
|
|
80
|
-
isTextRight ? "items-end text-right" : "items-start text-left"
|
|
81
|
-
),
|
|
82
|
-
children: [
|
|
83
|
-
heading && /* @__PURE__ */ jsx("div", { className: "flex w-full flex-col gap-3", children: /* @__PURE__ */ jsx("h2", { className: "text-foreground whitespace-pre-line font-serif text-4xl leading-tight tracking-tighter md:text-6xl", children: heading }) }),
|
|
84
|
-
description ? /* @__PURE__ */ jsx(
|
|
85
|
-
"p",
|
|
86
|
-
{
|
|
87
|
-
className: cn(
|
|
88
|
-
"text-muted-foreground max-w-xl text-lg leading-relaxed tracking-tight",
|
|
89
|
-
isTextRight && "ml-auto"
|
|
90
|
-
),
|
|
91
|
-
children: description
|
|
92
|
-
}
|
|
93
|
-
) : null,
|
|
94
|
-
buttons.some((button) => button == null ? void 0 : button.label) && /* @__PURE__ */ jsx(
|
|
95
|
-
"div",
|
|
96
|
-
{
|
|
97
|
-
className: cn(
|
|
98
|
-
"grid grid-cols-1 gap-4 sm:flex sm:flex-row",
|
|
99
|
-
isTextRight ? "items-end sm:justify-end" : "items-start sm:justify-start"
|
|
100
|
-
),
|
|
101
|
-
children: buttons.map((button, index) => /* @__PURE__ */ jsx(LocationActionButton, { ...button }, index))
|
|
102
|
-
}
|
|
103
|
-
)
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
) }),
|
|
107
|
-
/* @__PURE__ */ jsx("div", { className: "h-[320px] w-full overflow-hidden md:h-[400px] lg:h-[460px]", children: /* @__PURE__ */ jsxs("div", { className: "relative h-full w-full overflow-hidden rounded-3xl", children: [
|
|
108
|
-
mapEmbedUrl ? /* @__PURE__ */ jsx(
|
|
109
|
-
"iframe",
|
|
110
|
-
{
|
|
111
|
-
src: mapEmbedUrl,
|
|
112
|
-
title: (loc == null ? void 0 : loc.address) || "Google Maps",
|
|
113
|
-
className: "h-full w-full border-0",
|
|
114
|
-
loading: "lazy",
|
|
115
|
-
referrerPolicy: "no-referrer-when-downgrade",
|
|
116
|
-
allowFullScreen: true,
|
|
117
|
-
style: mapFilter ? { filter: mapFilter } : void 0
|
|
118
|
-
}
|
|
119
|
-
) : /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center justify-center bg-muted text-muted-foreground", children: "Map address not configured" }),
|
|
120
|
-
showMapTint ? /* @__PURE__ */ jsx(
|
|
121
|
-
"div",
|
|
122
|
-
{
|
|
123
|
-
className: "bg-primary pointer-events-none absolute inset-0",
|
|
124
|
-
style: {
|
|
125
|
-
opacity: 0.2,
|
|
126
|
-
mixBlendMode: "color"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
) : null
|
|
130
|
-
] }) })
|
|
131
|
-
]
|
|
132
|
-
}
|
|
133
|
-
)
|
|
134
|
-
}
|
|
135
|
-
);
|
|
136
|
-
};
|
|
137
|
-
export {
|
|
138
|
-
LocationSection
|
|
139
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { button, location } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { Location2 } from "./location.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const locationButtonFields = {
|
|
5
|
-
...button.objectFields,
|
|
6
|
-
colorMode: {
|
|
7
|
-
type: "select",
|
|
8
|
-
options: [
|
|
9
|
-
{ label: "Theme", value: "theme" },
|
|
10
|
-
{ label: "Custom", value: "custom" }
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
backgroundColor: { type: "text" },
|
|
14
|
-
textColor: { type: "text" }
|
|
15
|
-
};
|
|
16
|
-
const locationButtonDefaults = {
|
|
17
|
-
label: "Button",
|
|
18
|
-
variant: "default",
|
|
19
|
-
size: "default",
|
|
20
|
-
icon: "none",
|
|
21
|
-
colorMode: "theme"
|
|
22
|
-
};
|
|
23
|
-
const location2ExtraStyleFields = {
|
|
24
|
-
cardStyle: {
|
|
25
|
-
type: "radio",
|
|
26
|
-
label: "Card Style",
|
|
27
|
-
options: [
|
|
28
|
-
{ label: "Solid", value: "solid" },
|
|
29
|
-
{ label: "Glass", value: "glass" }
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
sectionHeight: {
|
|
33
|
-
type: "radio",
|
|
34
|
-
label: "Section Height",
|
|
35
|
-
options: [
|
|
36
|
-
{ label: "Compact", value: "sm" },
|
|
37
|
-
{ label: "Medium", value: "md" },
|
|
38
|
-
{ label: "Tall", value: "lg" }
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
const conf = {
|
|
43
|
-
fields: {
|
|
44
|
-
heading: { type: "textarea", contentEditable: true },
|
|
45
|
-
description: { type: "textarea", contentEditable: true },
|
|
46
|
-
displayAddress: {
|
|
47
|
-
type: "textarea",
|
|
48
|
-
label: "Display Address",
|
|
49
|
-
contentEditable: true
|
|
50
|
-
},
|
|
51
|
-
contentPosition: {
|
|
52
|
-
type: "radio",
|
|
53
|
-
label: "Card Position",
|
|
54
|
-
options: [
|
|
55
|
-
{ label: "Left", value: "left" },
|
|
56
|
-
{ label: "Right", value: "right" }
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
location,
|
|
60
|
-
mapStyle: {
|
|
61
|
-
type: "radio",
|
|
62
|
-
label: "Map Style",
|
|
63
|
-
options: [
|
|
64
|
-
{ label: "Default", value: "default" },
|
|
65
|
-
{ label: "Grayscale", value: "grayscale" },
|
|
66
|
-
{ label: "Dark", value: "dark" }
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
mapTint: {
|
|
70
|
-
type: "radio",
|
|
71
|
-
label: "Map Tint",
|
|
72
|
-
options: [
|
|
73
|
-
{ label: "None", value: "none" },
|
|
74
|
-
{ label: "Theme", value: "theme" }
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
buttons: {
|
|
78
|
-
type: "array",
|
|
79
|
-
max: 3,
|
|
80
|
-
getItemSummary: (item, index = 0) => item.label || `Button ${index + 1}`,
|
|
81
|
-
arrayFields: locationButtonFields,
|
|
82
|
-
defaultItemProps: locationButtonDefaults
|
|
83
|
-
},
|
|
84
|
-
styles: createStylesField(location2ExtraStyleFields)
|
|
85
|
-
},
|
|
86
|
-
defaultProps: {
|
|
87
|
-
heading: "Our Offices",
|
|
88
|
-
description: "Visit our headquarters in London or reach out to one of our regional offices worldwide.",
|
|
89
|
-
displayAddress: "10 Finsbury Square\nLondon, UK EC2A 1AF",
|
|
90
|
-
contentPosition: "left",
|
|
91
|
-
location: {
|
|
92
|
-
address: "London, United Kingdom",
|
|
93
|
-
lat: 51.5074,
|
|
94
|
-
lng: -0.1278,
|
|
95
|
-
zoom: 13
|
|
96
|
-
},
|
|
97
|
-
mapStyle: "grayscale",
|
|
98
|
-
mapTint: "none",
|
|
99
|
-
buttons: [
|
|
100
|
-
{
|
|
101
|
-
label: "Get Directions",
|
|
102
|
-
variant: "default",
|
|
103
|
-
size: "default",
|
|
104
|
-
icon: "none",
|
|
105
|
-
colorMode: "theme"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
label: "Call Us",
|
|
109
|
-
variant: "outline",
|
|
110
|
-
size: "default",
|
|
111
|
-
icon: "none",
|
|
112
|
-
colorMode: "theme"
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
styles: createStylesDefaults({
|
|
116
|
-
cardStyle: "solid",
|
|
117
|
-
sectionHeight: "md"
|
|
118
|
-
})
|
|
119
|
-
},
|
|
120
|
-
render: Location2
|
|
121
|
-
};
|
|
122
|
-
export {
|
|
123
|
-
conf
|
|
124
|
-
};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { CompoundButton } from "../../../puck-base/button.js";
|
|
3
|
-
import { cn } from "../../../../utils/css-utils.js";
|
|
4
|
-
import { getMapEmbedUrl } from "../../../puck-base/core/fields.js";
|
|
5
|
-
const ActionButton = ({
|
|
6
|
-
label,
|
|
7
|
-
url,
|
|
8
|
-
action,
|
|
9
|
-
variant = "default",
|
|
10
|
-
size = "default",
|
|
11
|
-
icon = "none",
|
|
12
|
-
colorMode = "theme",
|
|
13
|
-
backgroundColor,
|
|
14
|
-
textColor
|
|
15
|
-
}) => {
|
|
16
|
-
if (!label) return null;
|
|
17
|
-
const useCustomColors = colorMode === "custom";
|
|
18
|
-
const styleVars = {
|
|
19
|
-
...useCustomColors && backgroundColor ? { "--loc2-btn-bg": backgroundColor } : {},
|
|
20
|
-
...useCustomColors && textColor ? { "--loc2-btn-text": textColor } : {}
|
|
21
|
-
};
|
|
22
|
-
return /* @__PURE__ */ jsx("span", { style: Object.keys(styleVars).length ? styleVars : void 0, children: /* @__PURE__ */ jsx(
|
|
23
|
-
CompoundButton,
|
|
24
|
-
{
|
|
25
|
-
label,
|
|
26
|
-
action: action ?? (url ? /^https?:\/\//i.test(url) ? { type: "external", externalUrl: url } : { type: "page", pageUrl: url } : void 0),
|
|
27
|
-
variant,
|
|
28
|
-
size,
|
|
29
|
-
icon,
|
|
30
|
-
className: cn(
|
|
31
|
-
"transition-opacity hover:opacity-90",
|
|
32
|
-
useCustomColors && backgroundColor && "!border-[var(--loc2-btn-bg)] !bg-[var(--loc2-btn-bg)] hover:!bg-[var(--loc2-btn-bg)]",
|
|
33
|
-
useCustomColors && textColor && "!text-[var(--loc2-btn-text)]"
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
) });
|
|
37
|
-
};
|
|
38
|
-
const MAP_STYLE_FILTERS = {
|
|
39
|
-
default: "",
|
|
40
|
-
grayscale: "grayscale(40%) contrast(1.05) brightness(1.0) saturate(0.85)",
|
|
41
|
-
dark: "grayscale(100%) invert(1) contrast(1.1) brightness(0.8)"
|
|
42
|
-
};
|
|
43
|
-
const Location2 = ({
|
|
44
|
-
heading,
|
|
45
|
-
description,
|
|
46
|
-
displayAddress,
|
|
47
|
-
contentPosition = "left",
|
|
48
|
-
location: loc,
|
|
49
|
-
mapStyle = "default",
|
|
50
|
-
mapTint = "none",
|
|
51
|
-
buttons = [],
|
|
52
|
-
styles
|
|
53
|
-
}) => {
|
|
54
|
-
const isRight = contentPosition === "right";
|
|
55
|
-
const isGlass = (styles == null ? void 0 : styles.cardStyle) === "glass";
|
|
56
|
-
const showMapTint = mapTint === "theme";
|
|
57
|
-
const mapEmbedUrl = loc && loc.lat !== 0 ? getMapEmbedUrl(loc) : void 0;
|
|
58
|
-
const mapFilter = MAP_STYLE_FILTERS[mapStyle] || "";
|
|
59
|
-
const heightClass = (styles == null ? void 0 : styles.sectionHeight) === "sm" ? "h-[480px]" : (styles == null ? void 0 : styles.sectionHeight) === "lg" ? "h-[75vh] min-h-[520px]" : "h-[600px]";
|
|
60
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("relative w-full overflow-hidden", heightClass), children: [
|
|
61
|
-
/* @__PURE__ */ jsxs("div", { className: "absolute inset-0", children: [
|
|
62
|
-
mapEmbedUrl ? /* @__PURE__ */ jsx(
|
|
63
|
-
"iframe",
|
|
64
|
-
{
|
|
65
|
-
src: mapEmbedUrl,
|
|
66
|
-
title: (loc == null ? void 0 : loc.address) || "Google Maps",
|
|
67
|
-
className: "h-full w-full border-0",
|
|
68
|
-
loading: "lazy",
|
|
69
|
-
referrerPolicy: "no-referrer-when-downgrade",
|
|
70
|
-
allowFullScreen: true,
|
|
71
|
-
style: mapFilter ? { filter: mapFilter } : void 0
|
|
72
|
-
}
|
|
73
|
-
) : /* @__PURE__ */ jsx("div", { className: "bg-muted text-muted-foreground flex h-full w-full items-center justify-center text-sm", children: "Map address not configured" }),
|
|
74
|
-
showMapTint && /* @__PURE__ */ jsx(
|
|
75
|
-
"div",
|
|
76
|
-
{
|
|
77
|
-
className: "bg-primary pointer-events-none absolute inset-0",
|
|
78
|
-
style: {
|
|
79
|
-
opacity: 0.15,
|
|
80
|
-
mixBlendMode: "color"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
)
|
|
84
|
-
] }),
|
|
85
|
-
/* @__PURE__ */ jsx("div", { className: "relative z-10 flex h-full w-full items-center px-6 md:px-12 lg:px-16", children: /* @__PURE__ */ jsx(
|
|
86
|
-
"div",
|
|
87
|
-
{
|
|
88
|
-
className: cn(
|
|
89
|
-
"w-full max-w-sm lg:max-w-md xl:max-w-lg",
|
|
90
|
-
isRight && "ml-auto"
|
|
91
|
-
),
|
|
92
|
-
children: /* @__PURE__ */ jsx(
|
|
93
|
-
"div",
|
|
94
|
-
{
|
|
95
|
-
className: cn(
|
|
96
|
-
"rounded-2xl p-8 shadow-xl",
|
|
97
|
-
isGlass ? "border border-white/20 bg-background/75 backdrop-blur-md backdrop-saturate-150" : "bg-background"
|
|
98
|
-
),
|
|
99
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-5", children: [
|
|
100
|
-
heading && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ jsx("h2", { className: "text-foreground whitespace-pre-line font-serif text-3xl leading-tight tracking-tighter md:text-4xl", children: heading }) }),
|
|
101
|
-
description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm leading-relaxed", children: description }),
|
|
102
|
-
displayAddress && /* @__PURE__ */ jsxs("div", { className: "text-foreground flex items-start gap-2 text-sm", children: [
|
|
103
|
-
/* @__PURE__ */ jsxs(
|
|
104
|
-
"svg",
|
|
105
|
-
{
|
|
106
|
-
className: "text-primary mt-0.5 shrink-0",
|
|
107
|
-
width: "14",
|
|
108
|
-
height: "14",
|
|
109
|
-
viewBox: "0 0 24 24",
|
|
110
|
-
fill: "none",
|
|
111
|
-
stroke: "currentColor",
|
|
112
|
-
strokeWidth: "2",
|
|
113
|
-
strokeLinecap: "round",
|
|
114
|
-
strokeLinejoin: "round",
|
|
115
|
-
children: [
|
|
116
|
-
/* @__PURE__ */ jsx("path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" }),
|
|
117
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "10", r: "3" })
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
),
|
|
121
|
-
/* @__PURE__ */ jsx("span", { className: "whitespace-pre-line", children: displayAddress })
|
|
122
|
-
] }),
|
|
123
|
-
buttons.some((button) => button == null ? void 0 : button.label) && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-3 pt-1", children: buttons.map((button, index) => /* @__PURE__ */ jsx(ActionButton, { ...button }, index)) })
|
|
124
|
-
] })
|
|
125
|
-
}
|
|
126
|
-
)
|
|
127
|
-
}
|
|
128
|
-
) })
|
|
129
|
-
] });
|
|
130
|
-
};
|
|
131
|
-
export {
|
|
132
|
-
Location2
|
|
133
|
-
};
|