dune-react 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +5 -0
- package/dist/components/puck-base/article-card.d.ts +10 -0
- package/dist/components/puck-base/badge.d.ts +10 -0
- package/dist/components/puck-base/button.d.ts +13 -0
- package/dist/components/puck-base/card.d.ts +13 -0
- package/dist/components/puck-base/container.d.ts +24 -0
- package/dist/components/puck-base/content.d.ts +14 -0
- package/dist/components/puck-base/field.d.ts +9 -0
- package/dist/components/puck-base/form.d.ts +12 -0
- package/dist/components/puck-base/gradient-text.d.ts +10 -0
- package/dist/components/puck-base/image.d.ts +6 -0
- package/dist/components/puck-base/index.d.ts +11 -0
- package/dist/components/puck-base/navigation-menu.d.ts +18 -0
- package/dist/components/puck-base/safe-dynamic-icon.d.ts +7 -0
- 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/index.d.ts +90 -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 +254 -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/index.d.ts +53 -0
- package/dist/components/puck-block/banner-sections/index.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/props.d.ts +122 -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/scroll-driven-marquee.d.ts +4 -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/scroll-parallax-text.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/_template/contact-us.d.ts +38 -0
- package/dist/components/puck-block/contact-sections/_template/index.d.ts +5 -0
- package/dist/components/puck-block/contact-sections/api/form-leads.d.ts +16 -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/index.d.ts +127 -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/index.d.ts +112 -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/index.d.ts +127 -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/index.d.ts +136 -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/index.d.ts +134 -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/index.d.ts +88 -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/info-cards-media.d.ts +4 -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/location-cards-grid.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/props.d.ts +155 -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/split-info-form.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +97 -0
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/use-contact-form.d.ts +20 -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/index.d.ts +155 -0
- package/dist/components/puck-block/cta-sections/index.d.ts +4 -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/mouse-track-cta.d.ts +15 -0
- package/dist/components/puck-block/cta-sections/props.d.ts +143 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +165 -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 +227 -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/index.d.ts +138 -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/index.d.ts +108 -0
- package/dist/components/puck-block/faq-sections/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/props.d.ts +87 -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/stacked-accordion-faq.d.ts +4 -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/stacked-static-faq.d.ts +4 -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/two-column-accordion-faq.d.ts +4 -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/two-column-static-faq.d.ts +4 -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/index.d.ts +246 -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/index.d.ts +246 -0
- package/dist/components/puck-block/feature-sections/index.d.ts +5 -0
- package/dist/components/puck-block/feature-sections/props.d.ts +150 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.d.ts +16 -0
- package/dist/components/puck-block/feature-sections/tab-feature/index.d.ts +43 -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/index.d.ts +209 -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/index.d.ts +209 -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/index.d.ts +102 -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 +164 -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/index.d.ts +159 -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/index.d.ts +186 -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 +184 -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 +179 -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 +195 -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 +100 -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/index.d.ts +75 -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/index.d.ts +126 -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/index.d.ts +136 -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/interactive-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +84 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +249 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +198 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/props.d.ts +275 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +36 -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-portfolio/index.d.ts +98 -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/split-carousel/index.d.ts +78 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +95 -0
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.d.ts +4 -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/index.d.ts +114 -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/index.d.ts +114 -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/index.d.ts +129 -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/index.d.ts +138 -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/mega-menu-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/props.d.ts +107 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +156 -0
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +121 -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/index.d.ts +132 -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/index.d.ts +115 -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/index.d.ts +118 -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/index.d.ts +173 -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/index.d.ts +115 -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/inline-image-hero.d.ts +12 -0
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +243 -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/index.d.ts +132 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +171 -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/overlapping-image-hero/index.d.ts +195 -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/parallax-images-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/props.d.ts +237 -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/index.d.ts +115 -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/index.d.ts +118 -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/index.d.ts +160 -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/index.d.ts +115 -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/index.d.ts +166 -0
- package/dist/components/puck-block/hero-sections/tab-hero/component.d.ts +24 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +87 -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/index.d.ts +174 -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/index.d.ts +115 -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/index.d.ts +115 -0
- package/dist/components/puck-block/index.d.ts +18 -0
- package/dist/components/puck-block/location-sections/index.d.ts +3 -0
- package/dist/components/puck-block/location-sections/location-1/index.d.ts +5 -0
- package/dist/components/puck-block/location-sections/location-1/location.d.ts +27 -0
- package/dist/components/puck-block/location-sections/location-2/index.d.ts +5 -0
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +29 -0
- package/dist/components/puck-block/location-sections/location-3/index.d.ts +5 -0
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +26 -0
- package/dist/components/puck-block/location-sections/props.d.ts +44 -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/index.d.ts +111 -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/index.d.ts +193 -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/mixed-grid-stats.d.ts +13 -0
- package/dist/components/puck-block/metrics-sections/props.d.ts +127 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +193 -0
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +113 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.d.ts +19 -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/index.d.ts +101 -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/index.d.ts +158 -0
- package/dist/components/puck-block/pricing-sections/props.d.ts +91 -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/index.d.ts +88 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/component.d.ts +21 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +79 -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/index.d.ts +99 -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/index.d.ts +88 -0
- package/dist/components/puck-block/registry.generated.d.ts +13630 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.d.ts +13 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +169 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.d.ts +13 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +169 -0
- package/dist/components/puck-block/showcase-sections/index.d.ts +6 -0
- package/dist/components/puck-block/showcase-sections/props.d.ts +73 -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/index.d.ts +264 -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/index.d.ts +264 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +22 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +181 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +264 -0
- package/dist/components/puck-block/team-sections/index.d.ts +5 -0
- package/dist/components/puck-block/team-sections/props.d.ts +101 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +147 -0
- package/dist/components/puck-block/team-sections/team-grid/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +183 -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/index.d.ts +158 -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/index.d.ts +78 -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/index.d.ts +155 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.d.ts +33 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +84 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.d.ts +14 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +94 -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/index.d.ts +103 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +13 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +88 -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/index.d.ts +91 -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/index.d.ts +42 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +81 -0
- package/dist/components/puck-block/testimonial-sections/props.d.ts +210 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +160 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +69 -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/index.d.ts +119 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.d.ts +17 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +133 -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/index.d.ts +85 -0
- package/dist/components/puck-block/text-sections/blog-article/component.d.ts +30 -0
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +139 -0
- package/dist/components/puck-block/text-sections/index.d.ts +5 -0
- package/dist/components/puck-block/text-sections/props.d.ts +186 -0
- package/dist/components/puck-block/text-sections/prose-content/component.d.ts +14 -0
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +141 -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 +181 -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/index.d.ts +91 -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/index.d.ts +77 -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-block/type.d.ts +5 -0
- package/dist/components/puck-core/core/context/editor-context.d.ts +25 -0
- package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -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/props/content.d.ts +224 -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/media.d.ts +51 -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/array-field.d.ts +7 -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/image-upload-field.d.ts +7 -0
- package/dist/components/puck-core/fields/index.d.ts +9 -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 +13 -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/use-upload.d.ts +42 -0
- package/dist/components/shadcn/accordion.d.ts +9 -0
- package/dist/components/shadcn/alert-dialog.d.ts +20 -0
- package/dist/components/shadcn/alert.d.ts +10 -0
- package/dist/components/shadcn/animated-theme-toggler.d.ts +4 -0
- package/dist/components/shadcn/aspect-ratio.d.ts +4 -0
- package/dist/components/shadcn/avatar.d.ts +13 -0
- package/dist/components/shadcn/badge-promo.d.ts +4 -0
- package/dist/components/shadcn/badge.d.ts +7 -0
- package/dist/components/shadcn/breadcrumb.d.ts +12 -0
- package/dist/components/shadcn/button-group.d.ts +10 -0
- package/dist/components/shadcn/button.d.ts +15 -0
- package/dist/components/shadcn/calendar.d.ts +10 -0
- package/dist/components/shadcn/card.d.ts +11 -0
- package/dist/components/shadcn/carousel.d.ts +28 -0
- package/dist/components/shadcn/chart.d.ts +40 -0
- package/dist/components/shadcn/checkbox.d.ts +3 -0
- package/dist/components/shadcn/collapsible.d.ts +12 -0
- package/dist/components/shadcn/combobox.d.ts +24 -0
- package/dist/components/shadcn/command.d.ts +19 -0
- package/dist/components/shadcn/context-menu.d.ts +31 -0
- package/dist/components/shadcn/dialog.d.ts +25 -0
- package/dist/components/shadcn/direction.d.ts +1 -0
- package/dist/components/shadcn/drawer.d.ts +13 -0
- package/dist/components/shadcn/dropdown-menu.d.ts +32 -0
- package/dist/components/shadcn/empty.d.ts +11 -0
- package/dist/components/shadcn/field.d.ts +24 -0
- package/dist/components/shadcn/form.d.ts +17 -0
- package/dist/components/shadcn/hover-card.d.ts +10 -0
- package/dist/components/shadcn/index.d.ts +63 -0
- package/dist/components/shadcn/input-group.d.ts +18 -0
- package/dist/components/shadcn/input-otp.d.ts +11 -0
- package/dist/components/shadcn/input.d.ts +3 -0
- package/dist/components/shadcn/item.d.ts +22 -0
- package/dist/components/shadcn/kbd.d.ts +3 -0
- package/dist/components/shadcn/label.d.ts +3 -0
- package/dist/components/shadcn/layout-text-flip.d.ts +4 -0
- package/dist/components/shadcn/menubar.d.ts +29 -0
- package/dist/components/shadcn/native-select.d.ts +8 -0
- package/dist/components/shadcn/navigation-menu.d.ts +14 -0
- package/dist/components/shadcn/pagination.d.ts +17 -0
- package/dist/components/shadcn/popover.d.ts +11 -0
- package/dist/components/shadcn/progress.d.ts +7 -0
- package/dist/components/shadcn/radio-group.d.ts +5 -0
- package/dist/components/shadcn/resizable-navbar.d.ts +52 -0
- package/dist/components/shadcn/resizable.d.ts +8 -0
- package/dist/components/shadcn/scroll-area.d.ts +4 -0
- package/dist/components/shadcn/select.d.ts +18 -0
- package/dist/components/shadcn/separator.d.ts +3 -0
- package/dist/components/shadcn/sheet.d.ts +14 -0
- package/dist/components/shadcn/sidebar.d.ts +66 -0
- package/dist/components/shadcn/skeleton.d.ts +2 -0
- package/dist/components/shadcn/slider.d.ts +3 -0
- package/dist/components/shadcn/sonner.d.ts +3 -0
- package/dist/components/shadcn/spinner.d.ts +2 -0
- package/dist/components/shadcn/switch.d.ts +5 -0
- package/dist/components/shadcn/table.d.ts +10 -0
- package/dist/components/shadcn/tabs.d.ts +10 -0
- package/dist/components/shadcn/textarea.d.ts +3 -0
- package/dist/components/shadcn/toast.d.ts +11 -0
- package/dist/components/shadcn/toggle-group.d.ts +9 -0
- package/dist/components/shadcn/toggle.d.ts +8 -0
- package/dist/components/shadcn/tooltip.d.ts +11 -0
- package/dist/components/shadcn/tweet-card-client.d.ts +4 -0
- package/dist/components/shadcn/tweet-card.d.ts +5 -0
- package/dist/components/shadcn/video-iframe.d.ts +6 -0
- package/dist/components/ui-block/background/index.d.ts +8 -0
- package/dist/components/ui-block/cover/index.d.ts +17 -0
- package/dist/components/ui-block/index.d.ts +4 -0
- package/dist/components/ui-block/sparkles/index.d.ts +13 -0
- package/dist/components/ui-block/spotlight/index.d.ts +13 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts +1 -0
- package/dist/hooks/use-scroll-container.d.ts +18 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/utils/index.d.ts +2 -0
- package/dist/lib/utils/utils-css.d.ts +1 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/styles/relume-typography.d.ts +2 -0
- package/dist/utils/css-utils.d.ts +10 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/storage-qetag.d.ts +22 -0
- package/dist/utils/utils-api.d.ts +17 -0
- package/dist/utils/utils-canvas.d.ts +30 -0
- package/dist/utils/utils-common.d.ts +6 -0
- package/dist/utils/utils-image.d.ts +33 -0
- package/dist/utils/utils-random.d.ts +1 -0
- package/dist/utils/utils-time.d.ts +49 -0
- package/package.json +2 -2
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contact Section 共享 Props
|
|
3
|
+
*
|
|
4
|
+
* 基础类型引用自 ../props/(全局共享)
|
|
5
|
+
* ContactSectionStyles 为 contact 特有的样式字段
|
|
6
|
+
*/
|
|
7
|
+
import type { BaseImage } from "@/components/puck-core/core/props/media";
|
|
8
|
+
import type { BaseButton, Action } from "@/components/puck-core/core/props/interactive";
|
|
9
|
+
export type { BaseImage, BaseButton, Action };
|
|
10
|
+
export interface ContactSectionStyles {
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
css?: string;
|
|
14
|
+
formType?: "simple" | "advanced";
|
|
15
|
+
textAlign?: "left" | "center";
|
|
16
|
+
mediaPosition?: "left" | "right";
|
|
17
|
+
mediaType?: "image" | "map";
|
|
18
|
+
columns?: 3 | 4;
|
|
19
|
+
hasHeader?: boolean;
|
|
20
|
+
headerAlign?: "left" | "center";
|
|
21
|
+
modalType?: "dialog" | "sheet-right" | "sheet-bottom";
|
|
22
|
+
}
|
|
23
|
+
export interface ContactSectionBaseProps {
|
|
24
|
+
tagline: string;
|
|
25
|
+
heading: string;
|
|
26
|
+
description: string;
|
|
27
|
+
button: BaseButton;
|
|
28
|
+
buttons: BaseButton[];
|
|
29
|
+
image: BaseImage;
|
|
30
|
+
email: string;
|
|
31
|
+
phone: string;
|
|
32
|
+
address: string;
|
|
33
|
+
contacts: {
|
|
34
|
+
icon: string;
|
|
35
|
+
title: string;
|
|
36
|
+
description: string;
|
|
37
|
+
link?: {
|
|
38
|
+
label: string;
|
|
39
|
+
action?: Action;
|
|
40
|
+
};
|
|
41
|
+
button?: BaseButton;
|
|
42
|
+
}[];
|
|
43
|
+
locations: {
|
|
44
|
+
image: BaseImage;
|
|
45
|
+
mapUrl: string;
|
|
46
|
+
title: string;
|
|
47
|
+
address: string;
|
|
48
|
+
button: BaseButton;
|
|
49
|
+
}[];
|
|
50
|
+
tabs: {
|
|
51
|
+
value: string;
|
|
52
|
+
title: string;
|
|
53
|
+
addressLine1: string;
|
|
54
|
+
addressLine2: string;
|
|
55
|
+
image: BaseImage;
|
|
56
|
+
mapUrl: string;
|
|
57
|
+
buttonLabel: string;
|
|
58
|
+
}[];
|
|
59
|
+
styles: ContactSectionStyles;
|
|
60
|
+
}
|
|
61
|
+
export declare const contactStyleFields: {
|
|
62
|
+
readonly formType: {
|
|
63
|
+
readonly type: "radio";
|
|
64
|
+
readonly label: "Form Type";
|
|
65
|
+
readonly options: readonly [{
|
|
66
|
+
readonly label: "Simple";
|
|
67
|
+
readonly value: "simple";
|
|
68
|
+
}, {
|
|
69
|
+
readonly label: "Advanced";
|
|
70
|
+
readonly value: "advanced";
|
|
71
|
+
}];
|
|
72
|
+
};
|
|
73
|
+
readonly textAlign: {
|
|
74
|
+
readonly type: "radio";
|
|
75
|
+
readonly label: "Text Align";
|
|
76
|
+
readonly options: readonly [{
|
|
77
|
+
readonly label: "Left";
|
|
78
|
+
readonly value: "left";
|
|
79
|
+
}, {
|
|
80
|
+
readonly label: "Center";
|
|
81
|
+
readonly value: "center";
|
|
82
|
+
}];
|
|
83
|
+
};
|
|
84
|
+
readonly mediaPosition: {
|
|
85
|
+
readonly type: "radio";
|
|
86
|
+
readonly label: "Media Position";
|
|
87
|
+
readonly options: readonly [{
|
|
88
|
+
readonly label: "Left";
|
|
89
|
+
readonly value: "left";
|
|
90
|
+
}, {
|
|
91
|
+
readonly label: "Right";
|
|
92
|
+
readonly value: "right";
|
|
93
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
readonly mediaType: {
|
|
96
|
+
readonly type: "radio";
|
|
97
|
+
readonly label: "Media Type";
|
|
98
|
+
readonly options: readonly [{
|
|
99
|
+
readonly label: "Image";
|
|
100
|
+
readonly value: "image";
|
|
101
|
+
}, {
|
|
102
|
+
readonly label: "Map";
|
|
103
|
+
readonly value: "map";
|
|
104
|
+
}];
|
|
105
|
+
};
|
|
106
|
+
readonly columns: {
|
|
107
|
+
readonly type: "radio";
|
|
108
|
+
readonly label: "Columns";
|
|
109
|
+
readonly options: readonly [{
|
|
110
|
+
readonly label: "3";
|
|
111
|
+
readonly value: "3";
|
|
112
|
+
}, {
|
|
113
|
+
readonly label: "4";
|
|
114
|
+
readonly value: "4";
|
|
115
|
+
}];
|
|
116
|
+
};
|
|
117
|
+
readonly hasHeader: {
|
|
118
|
+
readonly type: "radio";
|
|
119
|
+
readonly label: "Show Header";
|
|
120
|
+
readonly options: readonly [{
|
|
121
|
+
readonly label: "Yes";
|
|
122
|
+
readonly value: "true";
|
|
123
|
+
}, {
|
|
124
|
+
readonly label: "No";
|
|
125
|
+
readonly value: "false";
|
|
126
|
+
}];
|
|
127
|
+
};
|
|
128
|
+
readonly headerAlign: {
|
|
129
|
+
readonly type: "radio";
|
|
130
|
+
readonly label: "Header Align";
|
|
131
|
+
readonly options: readonly [{
|
|
132
|
+
readonly label: "Left";
|
|
133
|
+
readonly value: "left";
|
|
134
|
+
}, {
|
|
135
|
+
readonly label: "Center";
|
|
136
|
+
readonly value: "center";
|
|
137
|
+
}];
|
|
138
|
+
};
|
|
139
|
+
readonly modalType: {
|
|
140
|
+
readonly type: "select";
|
|
141
|
+
readonly label: "Modal Type";
|
|
142
|
+
readonly options: readonly [{
|
|
143
|
+
readonly label: "Dialog";
|
|
144
|
+
readonly value: "dialog";
|
|
145
|
+
}, {
|
|
146
|
+
readonly label: "Sheet Right";
|
|
147
|
+
readonly value: "sheet-right";
|
|
148
|
+
}, {
|
|
149
|
+
readonly label: "Sheet Bottom";
|
|
150
|
+
readonly value: "sheet-bottom";
|
|
151
|
+
}];
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
/** 将 ContactSectionBaseProps 与组件特有字段合并,生成最终 Props */
|
|
155
|
+
export type ContactComponentProps<T extends object = object> = React.ComponentPropsWithoutRef<"section"> & Partial<ContactSectionBaseProps> & Partial<T>;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { SplitInfoForm, SplitInfoFormDefaults } from "./split-info-form";
|
|
2
|
+
import type { SplitInfoFormProps } from "./split-info-form";
|
|
3
|
+
export { SplitInfoForm, SplitInfoFormDefaults };
|
|
4
|
+
export type { SplitInfoFormProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
tagline: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
heading: {
|
|
11
|
+
readonly type: "text";
|
|
12
|
+
readonly contentEditable: true;
|
|
13
|
+
};
|
|
14
|
+
description: {
|
|
15
|
+
readonly type: "textarea";
|
|
16
|
+
readonly contentEditable: true;
|
|
17
|
+
};
|
|
18
|
+
email: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
phone: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
address: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
button: {
|
|
28
|
+
readonly type: "object";
|
|
29
|
+
readonly objectFields: {
|
|
30
|
+
readonly label: {
|
|
31
|
+
readonly type: "text";
|
|
32
|
+
};
|
|
33
|
+
readonly action: {
|
|
34
|
+
type: "custom";
|
|
35
|
+
label: string;
|
|
36
|
+
render: typeof import("../../..").ActionField;
|
|
37
|
+
};
|
|
38
|
+
readonly variant: {
|
|
39
|
+
readonly type: "select";
|
|
40
|
+
readonly options: readonly [{
|
|
41
|
+
readonly label: "primary";
|
|
42
|
+
readonly value: "default";
|
|
43
|
+
}, {
|
|
44
|
+
readonly label: "secondary";
|
|
45
|
+
readonly value: "secondary";
|
|
46
|
+
}, {
|
|
47
|
+
readonly label: "outline";
|
|
48
|
+
readonly value: "outline";
|
|
49
|
+
}, {
|
|
50
|
+
readonly label: "ghost";
|
|
51
|
+
readonly value: "ghost";
|
|
52
|
+
}, {
|
|
53
|
+
readonly label: "link";
|
|
54
|
+
readonly value: "link";
|
|
55
|
+
}, {
|
|
56
|
+
readonly label: "destructive";
|
|
57
|
+
readonly value: "destructive";
|
|
58
|
+
}];
|
|
59
|
+
};
|
|
60
|
+
readonly size: {
|
|
61
|
+
readonly type: "select";
|
|
62
|
+
readonly options: readonly [{
|
|
63
|
+
readonly label: "default";
|
|
64
|
+
readonly value: "default";
|
|
65
|
+
}, {
|
|
66
|
+
readonly label: "sm";
|
|
67
|
+
readonly value: "sm";
|
|
68
|
+
}, {
|
|
69
|
+
readonly label: "lg";
|
|
70
|
+
readonly value: "lg";
|
|
71
|
+
}, {
|
|
72
|
+
readonly label: "icon";
|
|
73
|
+
readonly value: "icon";
|
|
74
|
+
}];
|
|
75
|
+
};
|
|
76
|
+
readonly icon: {
|
|
77
|
+
type: "custom";
|
|
78
|
+
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
styles: {
|
|
83
|
+
type: string;
|
|
84
|
+
label: string;
|
|
85
|
+
objectFields: {
|
|
86
|
+
className: {
|
|
87
|
+
readonly type: "text";
|
|
88
|
+
readonly label: "Class Name";
|
|
89
|
+
readonly ai: {
|
|
90
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
style: {
|
|
94
|
+
readonly type: "object";
|
|
95
|
+
readonly label: "Style";
|
|
96
|
+
readonly objectFields: {};
|
|
97
|
+
readonly ai: {
|
|
98
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
css: {
|
|
102
|
+
readonly type: "textarea";
|
|
103
|
+
readonly label: "Custom CSS";
|
|
104
|
+
readonly ai: {
|
|
105
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
formType: {
|
|
109
|
+
readonly type: "radio";
|
|
110
|
+
readonly label: "Form Type";
|
|
111
|
+
readonly options: readonly [{
|
|
112
|
+
readonly label: "Simple";
|
|
113
|
+
readonly value: "simple";
|
|
114
|
+
}, {
|
|
115
|
+
readonly label: "Advanced";
|
|
116
|
+
readonly value: "advanced";
|
|
117
|
+
}];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
defaultProps: import("../props").ContactSectionBaseProps;
|
|
123
|
+
render: (props: SplitInfoFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
};
|
|
125
|
+
export default conf;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ContactComponentProps, ContactSectionBaseProps } from "../props";
|
|
2
|
+
export type SplitInfoFormProps = ContactComponentProps;
|
|
3
|
+
export declare const SplitInfoForm: (props: SplitInfoFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const SplitInfoFormDefaults: ContactSectionBaseProps;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { TabLocations, TabLocationsDefaults } from "./tab-locations";
|
|
2
|
+
import type { TabLocationsProps } from "./tab-locations";
|
|
3
|
+
export { TabLocations, TabLocationsDefaults };
|
|
4
|
+
export type { TabLocationsProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
tagline: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
heading: {
|
|
11
|
+
readonly type: "text";
|
|
12
|
+
readonly contentEditable: true;
|
|
13
|
+
};
|
|
14
|
+
description: {
|
|
15
|
+
readonly type: "textarea";
|
|
16
|
+
readonly contentEditable: true;
|
|
17
|
+
};
|
|
18
|
+
tabs: {
|
|
19
|
+
type: string;
|
|
20
|
+
max: number;
|
|
21
|
+
getItemSummary: (item: {
|
|
22
|
+
title?: string;
|
|
23
|
+
}, index?: number) => string;
|
|
24
|
+
arrayFields: {
|
|
25
|
+
value: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
title: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
addressLine1: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
addressLine2: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
image: {
|
|
38
|
+
type: "object";
|
|
39
|
+
objectFields: {
|
|
40
|
+
src: import("@puckeditor/core").Field<string>;
|
|
41
|
+
alt: {
|
|
42
|
+
type: "text";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
mapUrl: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
buttonLabel: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
styles: {
|
|
55
|
+
type: string;
|
|
56
|
+
label: string;
|
|
57
|
+
objectFields: {
|
|
58
|
+
className: {
|
|
59
|
+
readonly type: "text";
|
|
60
|
+
readonly label: "Class Name";
|
|
61
|
+
readonly ai: {
|
|
62
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
style: {
|
|
66
|
+
readonly type: "object";
|
|
67
|
+
readonly label: "Style";
|
|
68
|
+
readonly objectFields: {};
|
|
69
|
+
readonly ai: {
|
|
70
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
css: {
|
|
74
|
+
readonly type: "textarea";
|
|
75
|
+
readonly label: "Custom CSS";
|
|
76
|
+
readonly ai: {
|
|
77
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
mediaType: {
|
|
81
|
+
readonly type: "radio";
|
|
82
|
+
readonly label: "Media Type";
|
|
83
|
+
readonly options: readonly [{
|
|
84
|
+
readonly label: "Image";
|
|
85
|
+
readonly value: "image";
|
|
86
|
+
}, {
|
|
87
|
+
readonly label: "Map";
|
|
88
|
+
readonly value: "map";
|
|
89
|
+
}];
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
defaultProps: import("../props").ContactSectionBaseProps;
|
|
95
|
+
render: (props: TabLocationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
};
|
|
97
|
+
export default conf;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ContactComponentProps, ContactSectionBaseProps } from "../props";
|
|
2
|
+
export type TabLocationsProps = ContactComponentProps;
|
|
3
|
+
export declare const TabLocations: (props: TabLocationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const TabLocationsDefaults: ContactSectionBaseProps;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormEvent } from "react";
|
|
2
|
+
export interface ContactFormValues {
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
message: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* 联系表单共享逻辑。
|
|
10
|
+
*
|
|
11
|
+
* 封装:editorContext 获取、submitting 状态、submitFormLead 调用、toast 反馈。
|
|
12
|
+
* 各 contact-us 变体只需关注表单 UI 渲染。
|
|
13
|
+
*/
|
|
14
|
+
export declare function useContactForm(): {
|
|
15
|
+
submit: (values: ContactFormValues) => Promise<boolean>;
|
|
16
|
+
createSubmitHandler: (getValues: () => ContactFormValues, onSuccess?: () => void) => (e: FormEvent<HTMLFormElement>) => Promise<void>;
|
|
17
|
+
submitting: boolean;
|
|
18
|
+
isEditor: boolean;
|
|
19
|
+
EMPTY: ContactFormValues;
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CtaComponentProps, BaseButton, BaseImage } from "../props";
|
|
2
|
+
type FeatureCard = {
|
|
3
|
+
icon: BaseImage;
|
|
4
|
+
heading: string;
|
|
5
|
+
description: string;
|
|
6
|
+
buttons: BaseButton[];
|
|
7
|
+
};
|
|
8
|
+
export type FeatureCardCtaProps = CtaComponentProps<{
|
|
9
|
+
featureSections: FeatureCard[];
|
|
10
|
+
}>;
|
|
11
|
+
export declare const FeatureCardCta: (props: FeatureCardCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const FeatureCardCtaDefaults: FeatureCardCtaProps;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { FeatureCardCta, FeatureCardCtaDefaults } from "./feature-card-cta";
|
|
2
|
+
import type { FeatureCardCtaProps } from "./feature-card-cta";
|
|
3
|
+
export { FeatureCardCta, FeatureCardCtaDefaults };
|
|
4
|
+
export type { FeatureCardCtaProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
featureSections: {
|
|
8
|
+
type: string;
|
|
9
|
+
max: number;
|
|
10
|
+
getItemSummary: (item: {
|
|
11
|
+
heading?: string;
|
|
12
|
+
}, index?: number) => string;
|
|
13
|
+
arrayFields: {
|
|
14
|
+
icon: {
|
|
15
|
+
type: "object";
|
|
16
|
+
objectFields: {
|
|
17
|
+
src: import("@puckeditor/core").Field<string>;
|
|
18
|
+
alt: {
|
|
19
|
+
type: "text";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
heading: {
|
|
24
|
+
readonly type: "text";
|
|
25
|
+
readonly contentEditable: true;
|
|
26
|
+
};
|
|
27
|
+
description: {
|
|
28
|
+
readonly type: "textarea";
|
|
29
|
+
readonly contentEditable: true;
|
|
30
|
+
};
|
|
31
|
+
buttons: {
|
|
32
|
+
readonly type: "array";
|
|
33
|
+
readonly max: 3;
|
|
34
|
+
readonly getItemSummary: (item: {
|
|
35
|
+
label?: string;
|
|
36
|
+
}, index?: number) => string;
|
|
37
|
+
readonly arrayFields: {
|
|
38
|
+
readonly label: {
|
|
39
|
+
readonly type: "text";
|
|
40
|
+
};
|
|
41
|
+
readonly action: {
|
|
42
|
+
type: "custom";
|
|
43
|
+
label: string;
|
|
44
|
+
render: typeof import("../../..").ActionField;
|
|
45
|
+
};
|
|
46
|
+
readonly variant: {
|
|
47
|
+
readonly type: "select";
|
|
48
|
+
readonly options: readonly [{
|
|
49
|
+
readonly label: "primary";
|
|
50
|
+
readonly value: "default";
|
|
51
|
+
}, {
|
|
52
|
+
readonly label: "secondary";
|
|
53
|
+
readonly value: "secondary";
|
|
54
|
+
}, {
|
|
55
|
+
readonly label: "outline";
|
|
56
|
+
readonly value: "outline";
|
|
57
|
+
}, {
|
|
58
|
+
readonly label: "ghost";
|
|
59
|
+
readonly value: "ghost";
|
|
60
|
+
}, {
|
|
61
|
+
readonly label: "link";
|
|
62
|
+
readonly value: "link";
|
|
63
|
+
}, {
|
|
64
|
+
readonly label: "destructive";
|
|
65
|
+
readonly value: "destructive";
|
|
66
|
+
}];
|
|
67
|
+
};
|
|
68
|
+
readonly size: {
|
|
69
|
+
readonly type: "select";
|
|
70
|
+
readonly options: readonly [{
|
|
71
|
+
readonly label: "default";
|
|
72
|
+
readonly value: "default";
|
|
73
|
+
}, {
|
|
74
|
+
readonly label: "sm";
|
|
75
|
+
readonly value: "sm";
|
|
76
|
+
}, {
|
|
77
|
+
readonly label: "lg";
|
|
78
|
+
readonly value: "lg";
|
|
79
|
+
}, {
|
|
80
|
+
readonly label: "icon";
|
|
81
|
+
readonly value: "icon";
|
|
82
|
+
}];
|
|
83
|
+
};
|
|
84
|
+
readonly icon: {
|
|
85
|
+
type: "custom";
|
|
86
|
+
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly defaultItemProps: {
|
|
90
|
+
readonly label: "Button";
|
|
91
|
+
readonly action: {
|
|
92
|
+
readonly type: "page";
|
|
93
|
+
readonly pageUrl: "";
|
|
94
|
+
readonly externalUrl: "";
|
|
95
|
+
readonly openInNewTab: "false";
|
|
96
|
+
readonly email: "";
|
|
97
|
+
readonly subject: "";
|
|
98
|
+
readonly phone: "";
|
|
99
|
+
readonly sectionId: "";
|
|
100
|
+
readonly downloadUrl: "";
|
|
101
|
+
};
|
|
102
|
+
readonly variant: "default";
|
|
103
|
+
readonly size: "default";
|
|
104
|
+
readonly icon: "none";
|
|
105
|
+
};
|
|
106
|
+
readonly ai: {
|
|
107
|
+
readonly instructions: "Buttons must use the same size";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
styles: {
|
|
113
|
+
type: string;
|
|
114
|
+
label: string;
|
|
115
|
+
objectFields: {
|
|
116
|
+
className: {
|
|
117
|
+
readonly type: "text";
|
|
118
|
+
readonly label: "Class Name";
|
|
119
|
+
readonly ai: {
|
|
120
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
style: {
|
|
124
|
+
readonly type: "object";
|
|
125
|
+
readonly label: "Style";
|
|
126
|
+
readonly objectFields: {};
|
|
127
|
+
readonly ai: {
|
|
128
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
css: {
|
|
132
|
+
readonly type: "textarea";
|
|
133
|
+
readonly label: "Custom CSS";
|
|
134
|
+
readonly ai: {
|
|
135
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
textAlign: {
|
|
139
|
+
readonly type: "radio";
|
|
140
|
+
readonly label: "Text Align";
|
|
141
|
+
readonly options: readonly [{
|
|
142
|
+
readonly label: "Left";
|
|
143
|
+
readonly value: "left";
|
|
144
|
+
}, {
|
|
145
|
+
readonly label: "Center";
|
|
146
|
+
readonly value: "center";
|
|
147
|
+
}];
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
defaultProps: FeatureCardCtaProps;
|
|
153
|
+
render: (props: FeatureCardCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
154
|
+
};
|
|
155
|
+
export default conf;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { MouseTrackCta, MouseTrackCtaDefaults } from "./mouse-track-cta";
|
|
2
|
+
import type { MouseTrackCtaProps } from "./mouse-track-cta";
|
|
3
|
+
export { MouseTrackCta, MouseTrackCtaDefaults };
|
|
4
|
+
export type { MouseTrackCtaProps };
|
|
5
|
+
declare const conf: {
|
|
6
|
+
fields: {
|
|
7
|
+
tagline: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
hoverLinks: {
|
|
11
|
+
type: string;
|
|
12
|
+
max: number;
|
|
13
|
+
getItemSummary: (item: {
|
|
14
|
+
heading?: string;
|
|
15
|
+
}, index?: number) => string;
|
|
16
|
+
arrayFields: {
|
|
17
|
+
action: {
|
|
18
|
+
type: "custom";
|
|
19
|
+
label: string;
|
|
20
|
+
render: typeof import("../../..").ActionField;
|
|
21
|
+
};
|
|
22
|
+
heading: {
|
|
23
|
+
readonly type: "text";
|
|
24
|
+
readonly contentEditable: true;
|
|
25
|
+
};
|
|
26
|
+
listNumber: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
image: {
|
|
30
|
+
type: "object";
|
|
31
|
+
objectFields: {
|
|
32
|
+
src: import("@puckeditor/core").Field<string>;
|
|
33
|
+
alt: {
|
|
34
|
+
type: "text";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
styles: {
|
|
41
|
+
type: string;
|
|
42
|
+
label: string;
|
|
43
|
+
objectFields: {
|
|
44
|
+
className: {
|
|
45
|
+
readonly type: "text";
|
|
46
|
+
readonly label: "Class Name";
|
|
47
|
+
readonly ai: {
|
|
48
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
style: {
|
|
52
|
+
readonly type: "object";
|
|
53
|
+
readonly label: "Style";
|
|
54
|
+
readonly objectFields: {};
|
|
55
|
+
readonly ai: {
|
|
56
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
css: {
|
|
60
|
+
readonly type: "textarea";
|
|
61
|
+
readonly label: "Custom CSS";
|
|
62
|
+
readonly ai: {
|
|
63
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
listStyle: {
|
|
67
|
+
readonly type: "radio";
|
|
68
|
+
readonly label: "List Style";
|
|
69
|
+
readonly options: readonly [{
|
|
70
|
+
readonly label: "Center";
|
|
71
|
+
readonly value: "center";
|
|
72
|
+
}, {
|
|
73
|
+
readonly label: "Numbered";
|
|
74
|
+
readonly value: "numbered";
|
|
75
|
+
}];
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
defaultProps: MouseTrackCtaProps;
|
|
81
|
+
render: (props: MouseTrackCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
};
|
|
83
|
+
export default conf;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CtaComponentProps, BaseImage } from "../props";
|
|
2
|
+
import type { Action } from "@/components/puck-core/core/props/interactive";
|
|
3
|
+
type HoverLink = {
|
|
4
|
+
action?: Action;
|
|
5
|
+
heading: string;
|
|
6
|
+
listNumber?: string;
|
|
7
|
+
image: BaseImage;
|
|
8
|
+
};
|
|
9
|
+
export type MouseTrackCtaProps = CtaComponentProps<{
|
|
10
|
+
tagline: string;
|
|
11
|
+
hoverLinks: HoverLink[];
|
|
12
|
+
}>;
|
|
13
|
+
export declare const MouseTrackCta: (props: MouseTrackCtaProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const MouseTrackCtaDefaults: MouseTrackCtaProps;
|
|
15
|
+
export {};
|