dune-react 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/puck-base/core/fields.js +1 -25
- package/dist/components/puck-base/core/styles.js +3 -6
- package/dist/components/puck-base/fields/location-field.js +1 -4
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +111 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +68 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +39 -0
- package/dist/components/puck-block/banner-sections/dismissible-banner/dismissible-banner.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +232 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +78 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/index.d.ts +53 -0
- package/dist/components/puck-block/banner-sections/dual-row-marquee/index.js +31 -0
- package/dist/components/puck-block/banner-sections/index.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/props.d.ts +117 -20
- package/dist/components/puck-block/banner-sections/props.js +21 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/index.d.ts +19 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/index.js +20 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +40 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/index.d.ts +19 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/index.js +20 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.d.ts +4 -0
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +49 -0
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +173 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +105 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.js +27 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +106 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +90 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +37 -0
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +196 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +105 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +26 -0
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +123 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +114 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +29 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +190 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +112 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +36 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +78 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +66 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +36 -0
- package/dist/components/puck-block/contact-sections/index.d.ts +10 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +66 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +36 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +77 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +143 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +40 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +108 -0
- package/dist/components/puck-block/contact-sections/props.d.ts +150 -63
- package/dist/components/puck-block/contact-sections/props.js +70 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +103 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +29 -0
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +171 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +75 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +39 -0
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.d.ts +4 -0
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +125 -0
- package/dist/components/puck-block/contact-sections/use-contact-form.d.ts +20 -0
- package/dist/components/puck-block/contact-sections/use-contact-form.js +41 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.d.ts +13 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +54 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +133 -0
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +34 -0
- package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +61 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +35 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.d.ts +15 -0
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +172 -0
- package/dist/components/puck-block/cta-sections/props.d.ts +139 -45
- package/dist/components/puck-block/cta-sections/props.js +21 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +207 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.d.ts +4 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +286 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +8 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +80 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +116 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +36 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.d.ts +12 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +76 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +108 -0
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.js +30 -0
- package/dist/components/puck-block/faq-sections/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/props.d.ts +80 -26
- package/dist/components/puck-block/faq-sections/props.js +38 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +138 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +38 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +80 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +141 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +38 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +68 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +108 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +34 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +59 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +91 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.js +26 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.d.ts +4 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +43 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.d.ts +14 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +106 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +224 -0
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +35 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/component.d.ts +14 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +103 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +224 -0
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +35 -0
- package/dist/components/puck-block/feature-sections/index.d.ts +5 -0
- package/dist/components/puck-block/feature-sections/props.d.ts +145 -46
- package/dist/components/puck-block/feature-sections/props.js +62 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.d.ts +16 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +121 -0
- package/dist/components/puck-block/feature-sections/tab-feature/index.d.ts +43 -0
- package/dist/components/puck-block/feature-sections/tab-feature/index.js +25 -0
- package/dist/components/puck-block/feature-sections/text-media-split/component.d.ts +4 -0
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +90 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +187 -0
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +32 -0
- package/dist/components/puck-block/feature-sections/text-only-section/component.d.ts +14 -0
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +90 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +187 -0
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +40 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +40 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +23 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +8 -0
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/compact-newsletter-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +101 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +60 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +51 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +9 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +51 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +127 -0
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +11 -0
- package/dist/components/puck-block/footer-sections/index.d.ts +3 -0
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +108 -0
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/links-newsletter-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +116 -0
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/newsletter-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +119 -0
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/newsletter-top-links-footer.d.ts +4 -0
- package/dist/components/puck-block/footer-sections/props.d.ts +89 -26
- package/dist/components/puck-block/footer-sections/props.js +21 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +75 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +53 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +25 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +130 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +104 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +39 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +173 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +101 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +30 -0
- package/dist/components/puck-block/gallery-sections/index.d.ts +11 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +61 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +33 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +187 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +46 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +25 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +65 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +211 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +42 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +156 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +176 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +39 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +120 -0
- package/dist/components/puck-block/gallery-sections/props.d.ts +231 -24
- package/dist/components/puck-block/gallery-sections/props.js +117 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +36 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +17 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +56 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +76 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +40 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +240 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +46 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +25 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +98 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +57 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +26 -0
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.d.ts +4 -0
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +65 -0
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +32 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +114 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.js +17 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +34 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +114 -0
- package/dist/components/puck-block/header-sections/drawer-navbar/index.js +13 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +46 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +107 -0
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +14 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +36 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +116 -0
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +14 -0
- package/dist/components/puck-block/header-sections/index.d.ts +6 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +143 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +14 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +35 -0
- package/dist/components/puck-block/header-sections/props.d.ts +98 -38
- package/dist/components/puck-block/header-sections/props.js +45 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +134 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +19 -0
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.d.ts +4 -0
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +59 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +86 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +121 -0
- package/dist/components/puck-block/hero-sections/carousel-hero/index.js +21 -0
- package/dist/components/puck-block/hero-sections/centered-hero/centered-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +190 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +98 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +132 -0
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +84 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/fullscreen-hero/fullscreen-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +239 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +77 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +110 -0
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +193 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +135 -0
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +27 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +79 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/index.d.ts +20 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +129 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +36 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.d.ts +12 -0
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +71 -0
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +213 -0
- package/dist/components/puck-block/hero-sections/media-text-hero/media-text-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.d.ts +9 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +144 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +132 -0
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +133 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +36 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +84 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +173 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +31 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.d.ts +10 -0
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +219 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +116 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/props.d.ts +201 -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 +100 -0
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +88 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +110 -0
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +20 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +71 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +130 -0
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +28 -0
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +233 -0
- package/dist/components/puck-block/hero-sections/split-hero/split-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +216 -0
- package/dist/components/puck-block/hero-sections/stacked-hero/stacked-hero.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +58 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +107 -0
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.d.ts +8 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +199 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +136 -0
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +29 -0
- package/dist/components/puck-block/hero-sections/tab-hero/component.d.ts +24 -0
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +147 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +59 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +43 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.d.ts +10 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +122 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +152 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +29 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +77 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.js +19 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.d.ts +4 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +111 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +115 -0
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.js +19 -0
- package/dist/components/puck-block/index.d.ts +15 -57
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +115 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +89 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +37 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +104 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +171 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +39 -0
- package/dist/components/puck-block/metrics-sections/index.d.ts +5 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +162 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +39 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.d.ts +13 -0
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +113 -0
- package/dist/components/puck-block/metrics-sections/props.d.ts +119 -38
- package/dist/components/puck-block/metrics-sections/props.js +55 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +171 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +39 -0
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.d.ts +4 -0
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +98 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +91 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +45 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.d.ts +19 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +137 -0
- package/dist/components/puck-block/pricing-sections/index.d.ts +6 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.d.ts +15 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +69 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +79 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +38 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.d.ts +31 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +127 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +89 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +42 -0
- package/dist/components/puck-block/pricing-sections/props.d.ts +86 -44
- package/dist/components/puck-block/pricing-sections/props.js +47 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.d.ts +17 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +142 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +66 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +37 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/component.d.ts +21 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +79 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +51 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +33 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.d.ts +24 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +89 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +77 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +40 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.d.ts +23 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +81 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +66 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +39 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.d.ts +13 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +97 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +147 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +36 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.d.ts +13 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +80 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +147 -0
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +36 -0
- package/dist/components/puck-block/showcase-sections/index.d.ts +6 -0
- package/dist/components/puck-block/showcase-sections/props.d.ts +68 -46
- package/dist/components/puck-block/showcase-sections/props.js +29 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +98 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +242 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +39 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +96 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +242 -0
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +39 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +24 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +138 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +161 -0
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +41 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.d.ts +15 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +117 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +242 -0
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +39 -0
- package/dist/components/puck-block/team-sections/index.d.ts +5 -0
- package/dist/components/puck-block/team-sections/props.d.ts +96 -37
- package/dist/components/puck-block/team-sections/props.js +54 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.js +102 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +125 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.js +43 -0
- package/dist/components/puck-block/team-sections/team-grid/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-grid/component.js +65 -0
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +161 -0
- package/dist/components/puck-block/team-sections/team-grid/index.js +46 -0
- package/dist/components/puck-block/team-sections/team-inline-card/component.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-inline-card/component.js +66 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +136 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +44 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.d.ts +20 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +61 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +56 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +33 -0
- package/dist/components/puck-block/team-sections/team-two-column/component.d.ts +20 -0
- package/dist/components/puck-block/team-sections/team-two-column/component.js +64 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +133 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.js +37 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.d.ts +33 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +178 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +62 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +38 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.d.ts +14 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +69 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +72 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +29 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.d.ts +18 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +114 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +81 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +13 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +51 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +58 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +27 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.d.ts +17 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +98 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +69 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +34 -0
- package/dist/components/puck-block/testimonial-sections/index.d.ts +11 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +65 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.d.ts +42 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.js +26 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +71 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +59 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +34 -0
- package/dist/components/puck-block/testimonial-sections/props.d.ts +206 -32
- package/dist/components/puck-block/testimonial-sections/props.js +126 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.d.ts +16 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +86 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +138 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +100 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +47 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +30 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.d.ts +18 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +90 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +97 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +36 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.d.ts +17 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +118 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +111 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +37 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/component.d.ts +17 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/component.js +61 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +63 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +36 -0
- package/dist/components/puck-block/text-sections/blog-article/component.d.ts +30 -0
- package/dist/components/puck-block/text-sections/blog-article/component.js +91 -0
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +117 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +56 -0
- package/dist/components/puck-block/text-sections/index.d.ts +5 -0
- package/dist/components/puck-block/text-sections/props.d.ts +180 -55
- package/dist/components/puck-block/text-sections/props.js +67 -0
- package/dist/components/puck-block/text-sections/prose-content/component.d.ts +14 -0
- package/dist/components/puck-block/text-sections/prose-content/component.js +93 -0
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +119 -0
- package/dist/components/puck-block/text-sections/prose-content/index.js +37 -0
- package/dist/components/puck-block/text-sections/prose-sidebar/component.d.ts +27 -0
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +159 -0
- package/dist/components/puck-block/text-sections/side-media-content/component.d.ts +8 -0
- package/dist/components/puck-block/text-sections/side-media-content/component.js +81 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +69 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.js +27 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.d.ts +9 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +44 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +55 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +25 -0
- package/dist/components/puck-block/text-sections/text-header/component.d.ts +9 -0
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +242 -0
- package/dist/components/puck-core/core/fields.d.ts +19 -0
- package/dist/components/puck-core/core/hooks.d.ts +19 -0
- package/dist/components/puck-core/core/icon-catalog.d.ts +14 -0
- package/dist/components/puck-core/core/icon-catalog.js +193 -0
- package/dist/components/puck-core/core/props/content.d.ts +224 -0
- package/dist/components/puck-core/core/props/content.js +13 -0
- package/dist/components/puck-core/core/props/form.d.ts +172 -0
- package/dist/components/puck-core/core/props/index.d.ts +271 -0
- package/dist/components/puck-core/core/props/interactive.d.ts +244 -0
- package/dist/components/puck-core/core/props/interactive.js +101 -0
- package/dist/components/puck-core/core/props/media.d.ts +51 -0
- package/dist/components/puck-core/core/props/media.js +41 -0
- package/dist/components/puck-core/core/props/section.d.ts +21 -0
- package/dist/components/puck-core/core/styles.d.ts +1942 -0
- package/dist/components/puck-core/core/types.d.ts +8 -0
- package/dist/components/puck-core/core/utils.d.ts +5 -0
- package/dist/components/puck-core/core/with-editable.d.ts +16 -0
- package/dist/components/puck-core/editor-context.d.ts +25 -0
- package/dist/components/puck-core/editor-context.js +15 -0
- package/dist/components/puck-core/error-boundary.d.ts +4 -0
- package/dist/components/puck-core/fields/action-field.d.ts +30 -0
- package/dist/components/puck-core/fields/action-field.js +265 -0
- package/dist/components/puck-core/fields/auto-field.d.ts +2 -0
- package/dist/components/puck-core/fields/color-field.d.ts +6 -0
- package/dist/components/puck-core/fields/icon-picker-field.d.ts +8 -0
- package/dist/components/puck-core/fields/icon-picker-field.js +153 -0
- package/dist/components/puck-core/fields/image-upload-field.d.ts +7 -0
- package/dist/components/puck-core/fields/index.d.ts +8 -0
- package/dist/components/puck-core/fields/location-field.d.ts +44 -0
- package/dist/components/puck-core/fields/object-field.d.ts +8 -0
- package/dist/components/puck-core/fields/radio-toggle-field.d.ts +10 -0
- package/dist/components/puck-core/fields/types.d.ts +29 -0
- package/dist/components/puck-core/fields/virtualized-select-field.d.ts +13 -0
- package/dist/components/puck-core/index.d.ts +11 -0
- package/dist/components/puck-core/inline-editable.d.ts +14 -0
- package/dist/components/puck-core/section-wrapper.d.ts +19 -0
- package/dist/components/puck-core/use-upload.d.ts +42 -0
- package/dist/components/shadcn/video-iframe.d.ts +6 -0
- package/dist/components/shadcn/video-iframe.js +33 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-media-query.js +15 -0
- package/dist/index.js +216 -118
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.js +24 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/cg/index.js +8 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/fa6/index.js +8 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/lib/iconBase.js +109 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/lib/iconContext.js +13 -0
- package/dist/node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/rx/index.js +8 -0
- package/dist/styles/relume-typography.d.ts +2 -0
- package/package.json +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
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { description, heading } from "../../../puck-base/core/fields.js";
|
|
2
|
-
import { Gallery } from "./gallery.js";
|
|
3
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
|
-
const defaultImage = {
|
|
5
|
-
src: "https://images.pexels.com/photos/3888151/pexels-photo-3888151.jpeg?auto=compress&cs=tinysrgb&w=1200",
|
|
6
|
-
alt: "Developer workspace with laptop showing code",
|
|
7
|
-
caption: ""
|
|
8
|
-
};
|
|
9
|
-
const conf = {
|
|
10
|
-
fields: {
|
|
11
|
-
heading,
|
|
12
|
-
description,
|
|
13
|
-
images: {
|
|
14
|
-
type: "array",
|
|
15
|
-
max: 20,
|
|
16
|
-
getItemSummary: (item, index = 0) => item.alt || item.caption || `Image ${index + 1}`,
|
|
17
|
-
arrayFields: {
|
|
18
|
-
src: { type: "image", label: "Image" },
|
|
19
|
-
alt: { type: "text", label: "Alt Text" },
|
|
20
|
-
caption: { type: "text" }
|
|
21
|
-
},
|
|
22
|
-
defaultItemProps: defaultImage
|
|
23
|
-
},
|
|
24
|
-
styles: createStylesField({
|
|
25
|
-
columns: {
|
|
26
|
-
type: "select",
|
|
27
|
-
label: "Columns",
|
|
28
|
-
options: [
|
|
29
|
-
{ label: "2 Columns", value: 2 },
|
|
30
|
-
{ label: "3 Columns", value: 3 },
|
|
31
|
-
{ label: "4 Columns", value: 4 }
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
gap: {
|
|
35
|
-
type: "select",
|
|
36
|
-
label: "Gap Size",
|
|
37
|
-
options: [
|
|
38
|
-
{ label: "Small", value: "sm" },
|
|
39
|
-
{ label: "Medium", value: "md" },
|
|
40
|
-
{ label: "Large", value: "lg" }
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
aspectRatio: {
|
|
44
|
-
type: "select",
|
|
45
|
-
label: "Aspect Ratio",
|
|
46
|
-
options: [
|
|
47
|
-
{ label: "Square", value: "square" },
|
|
48
|
-
{ label: "Landscape (16:9)", value: "landscape" },
|
|
49
|
-
{ label: "Auto (original)", value: "auto" }
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
},
|
|
54
|
-
defaultProps: {
|
|
55
|
-
heading: "Product Showcase",
|
|
56
|
-
description: "A visual tour of our platform's key features and interfaces.",
|
|
57
|
-
images: [
|
|
58
|
-
{ src: "https://images.pexels.com/photos/3888151/pexels-photo-3888151.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Developer workspace with laptop showing program code on screen", caption: "" },
|
|
59
|
-
{ src: "https://images.pexels.com/photos/546819/pexels-photo-546819.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "MacBook Pro displaying lines of code with colorful syntax highlighting", caption: "" },
|
|
60
|
-
{ src: "https://images.pexels.com/photos/574071/pexels-photo-574071.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Computer monitor showing colorful code on dark background", caption: "" },
|
|
61
|
-
{ src: "https://images.pexels.com/photos/4218883/pexels-photo-4218883.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Clean workspace with computer displaying code editor", caption: "" },
|
|
62
|
-
{ src: "https://images.pexels.com/photos/270404/pexels-photo-270404.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Source code displayed on computer screen in developer office", caption: "" },
|
|
63
|
-
{ src: "https://images.pexels.com/photos/577585/pexels-photo-577585.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Minimalist developer desk setup with laptop and coffee", caption: "" }
|
|
64
|
-
],
|
|
65
|
-
styles: createStylesDefaults({ columns: 3, gap: "md", aspectRatio: "auto" })
|
|
66
|
-
},
|
|
67
|
-
render: Gallery
|
|
68
|
-
};
|
|
69
|
-
export {
|
|
70
|
-
conf
|
|
71
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CompoundContainerProps } from "@/components/puck-base/container";
|
|
2
|
-
export interface Gallery2Image {
|
|
3
|
-
src: string;
|
|
4
|
-
alt?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface Gallery2Props {
|
|
7
|
-
heading?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
images?: Gallery2Image[];
|
|
10
|
-
styles?: {
|
|
11
|
-
padding?: CompoundContainerProps["padding"];
|
|
12
|
-
sectionStyle?: CompoundContainerProps["sectionStyle"];
|
|
13
|
-
backgroundColor?: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare const Gallery2: ({ heading, description, images, styles, }: Gallery2Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import useEmblaCarousel from "embla-carousel-react";
|
|
4
|
-
import { useState, useCallback, useEffect } from "react";
|
|
5
|
-
import { ChevronLeft, ChevronRight } from "lucide-react";
|
|
6
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
7
|
-
import { CompoundImage } from "../../../puck-base/image.js";
|
|
8
|
-
const Gallery2 = ({
|
|
9
|
-
heading,
|
|
10
|
-
description,
|
|
11
|
-
images = [],
|
|
12
|
-
styles
|
|
13
|
-
}) => {
|
|
14
|
-
const [emblaRef, emblaApi] = useEmblaCarousel({ align: "start", loop: false });
|
|
15
|
-
const [canScrollPrev, setCanScrollPrev] = useState(false);
|
|
16
|
-
const [canScrollNext, setCanScrollNext] = useState(false);
|
|
17
|
-
const onSelect = useCallback(() => {
|
|
18
|
-
if (!emblaApi) return;
|
|
19
|
-
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
20
|
-
setCanScrollNext(emblaApi.canScrollNext());
|
|
21
|
-
}, [emblaApi]);
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
if (!emblaApi) return;
|
|
24
|
-
onSelect();
|
|
25
|
-
emblaApi.on("select", onSelect);
|
|
26
|
-
emblaApi.on("reInit", onSelect);
|
|
27
|
-
return () => {
|
|
28
|
-
emblaApi.off("select", onSelect);
|
|
29
|
-
emblaApi.off("reInit", onSelect);
|
|
30
|
-
};
|
|
31
|
-
}, [emblaApi, onSelect]);
|
|
32
|
-
return /* @__PURE__ */ jsx(
|
|
33
|
-
CompoundContainer,
|
|
34
|
-
{
|
|
35
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
36
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
37
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
38
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 lg:gap-8", children: [
|
|
39
|
-
(heading || description) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between lg:gap-8", children: [
|
|
40
|
-
heading && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 lg:basis-1/2", children: /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight text-foreground lg:text-4xl", children: heading }) }),
|
|
41
|
-
description && /* @__PURE__ */ jsx("div", { className: "lg:basis-1/2 lg:pt-11", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-base leading-relaxed", children: description }) })
|
|
42
|
-
] }),
|
|
43
|
-
images.length > 0 && /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
44
|
-
/* @__PURE__ */ jsx("div", { className: "overflow-hidden", ref: emblaRef, children: /* @__PURE__ */ jsx("div", { className: "flex -ml-4 lg:-ml-6", children: images.map((image, index) => /* @__PURE__ */ jsx(
|
|
45
|
-
"div",
|
|
46
|
-
{
|
|
47
|
-
className: "min-w-0 shrink-0 grow-0 pl-4 lg:pl-6 basis-[97%] lg:basis-[92%]",
|
|
48
|
-
children: /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-hidden aspect-[2/1]", children: /* @__PURE__ */ jsx("div", { className: "rounded-3xl overflow-hidden absolute inset-0 size-full [&>span]:h-full [&>span]:w-full", children: image.src ? /* @__PURE__ */ jsx(
|
|
49
|
-
CompoundImage,
|
|
50
|
-
{
|
|
51
|
-
src: image.src,
|
|
52
|
-
alt: image.alt ?? `Gallery image ${index + 1}`,
|
|
53
|
-
className: "h-full w-full object-cover"
|
|
54
|
-
}
|
|
55
|
-
) : /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-muted flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: image.alt ?? `Image ${index + 1}` }) }) }) })
|
|
56
|
-
},
|
|
57
|
-
index
|
|
58
|
-
)) }) }),
|
|
59
|
-
/* @__PURE__ */ jsx(
|
|
60
|
-
"button",
|
|
61
|
-
{
|
|
62
|
-
onClick: (e) => {
|
|
63
|
-
e.stopPropagation();
|
|
64
|
-
emblaApi == null ? void 0 : emblaApi.scrollPrev();
|
|
65
|
-
},
|
|
66
|
-
style: { pointerEvents: "auto" },
|
|
67
|
-
disabled: !canScrollPrev,
|
|
68
|
-
className: "absolute left-4 top-1/2 -translate-y-1/2 z-10 flex h-10 w-10 items-center justify-center rounded-full bg-background/90 shadow-md transition hover:bg-background disabled:opacity-30 cursor-pointer",
|
|
69
|
-
"aria-label": "Previous image",
|
|
70
|
-
children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-5 w-5 text-foreground", style: { pointerEvents: "none" } })
|
|
71
|
-
}
|
|
72
|
-
),
|
|
73
|
-
/* @__PURE__ */ jsx(
|
|
74
|
-
"button",
|
|
75
|
-
{
|
|
76
|
-
onClick: (e) => {
|
|
77
|
-
e.stopPropagation();
|
|
78
|
-
emblaApi == null ? void 0 : emblaApi.scrollNext();
|
|
79
|
-
},
|
|
80
|
-
style: { pointerEvents: "auto" },
|
|
81
|
-
disabled: !canScrollNext,
|
|
82
|
-
className: "absolute right-4 top-1/2 -translate-y-1/2 z-10 flex h-10 w-10 items-center justify-center rounded-full bg-background/90 shadow-md transition hover:bg-background disabled:opacity-30 cursor-pointer",
|
|
83
|
-
"aria-label": "Next image",
|
|
84
|
-
children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-5 w-5 text-foreground", style: { pointerEvents: "none" } })
|
|
85
|
-
}
|
|
86
|
-
)
|
|
87
|
-
] })
|
|
88
|
-
] })
|
|
89
|
-
}
|
|
90
|
-
);
|
|
91
|
-
};
|
|
92
|
-
export {
|
|
93
|
-
Gallery2
|
|
94
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Gallery2 } from "./gallery-2.js";
|
|
2
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
3
|
-
const defaultImage = {
|
|
4
|
-
src: "https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1200",
|
|
5
|
-
alt: "Developer working at desk with multiple monitors showing code"
|
|
6
|
-
};
|
|
7
|
-
const conf = {
|
|
8
|
-
fields: {
|
|
9
|
-
heading: {
|
|
10
|
-
type: "text",
|
|
11
|
-
contentEditable: true
|
|
12
|
-
},
|
|
13
|
-
description: {
|
|
14
|
-
type: "textarea",
|
|
15
|
-
contentEditable: true
|
|
16
|
-
},
|
|
17
|
-
images: {
|
|
18
|
-
type: "array",
|
|
19
|
-
max: 10,
|
|
20
|
-
getItemSummary: (item, index = 0) => item.alt || `Image ${index + 1}`,
|
|
21
|
-
arrayFields: {
|
|
22
|
-
src: { type: "image", label: "Image" },
|
|
23
|
-
alt: { type: "text", label: "Alt Text" }
|
|
24
|
-
},
|
|
25
|
-
defaultItemProps: defaultImage
|
|
26
|
-
},
|
|
27
|
-
styles: createStylesField()
|
|
28
|
-
},
|
|
29
|
-
defaultProps: {
|
|
30
|
-
heading: "Built by developers, for developers",
|
|
31
|
-
description: "Explore how teams use our tools to design, build, and ship products that make an impact.",
|
|
32
|
-
images: [
|
|
33
|
-
{ src: "https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Developer working at desk with multiple monitors showing code" },
|
|
34
|
-
{ src: "https://images.pexels.com/photos/1181677/pexels-photo-1181677.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Two developers collaborating on code at a shared workspace" },
|
|
35
|
-
{ src: "https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Tech team collaborating around laptops at a modern office table" }
|
|
36
|
-
],
|
|
37
|
-
styles: createStylesDefaults()
|
|
38
|
-
},
|
|
39
|
-
render: Gallery2
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
conf
|
|
43
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CompoundContainerProps } from "@/components/puck-base/container";
|
|
2
|
-
export interface Gallery3Image {
|
|
3
|
-
src: string;
|
|
4
|
-
alt?: string;
|
|
5
|
-
caption?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface Gallery3Props {
|
|
8
|
-
heading?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
images?: Gallery3Image[];
|
|
11
|
-
showCaptions?: boolean;
|
|
12
|
-
styles?: {
|
|
13
|
-
padding?: CompoundContainerProps["padding"];
|
|
14
|
-
sectionStyle?: CompoundContainerProps["sectionStyle"];
|
|
15
|
-
backgroundColor?: string;
|
|
16
|
-
gap?: "sm" | "md" | "lg";
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export declare const Gallery3: ({ heading, description, images, showCaptions, styles, }: Gallery3Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { CompoundContainer } from "../../../puck-base/container.js";
|
|
3
|
-
import { CompoundImage } from "../../../puck-base/image.js";
|
|
4
|
-
import { cn } from "../../../../utils/css-utils.js";
|
|
5
|
-
const gapClasses = {
|
|
6
|
-
sm: "gap-2",
|
|
7
|
-
md: "gap-3",
|
|
8
|
-
lg: "gap-5"
|
|
9
|
-
};
|
|
10
|
-
function ImageCard({
|
|
11
|
-
image,
|
|
12
|
-
index,
|
|
13
|
-
showCaption,
|
|
14
|
-
className
|
|
15
|
-
}) {
|
|
16
|
-
return /* @__PURE__ */ jsxs(
|
|
17
|
-
"div",
|
|
18
|
-
{
|
|
19
|
-
className: cn(
|
|
20
|
-
// [&>span] targets the span wrapper that withEditable inserts in editor mode
|
|
21
|
-
"group relative overflow-hidden rounded-2xl bg-muted [&>span]:h-full [&>span]:w-full",
|
|
22
|
-
className
|
|
23
|
-
),
|
|
24
|
-
children: [
|
|
25
|
-
!image.src && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: image.alt ?? `Image ${index + 1}` }) }),
|
|
26
|
-
/* @__PURE__ */ jsx(
|
|
27
|
-
CompoundImage,
|
|
28
|
-
{
|
|
29
|
-
src: image.src || "",
|
|
30
|
-
alt: image.alt ?? `Gallery image ${index + 1}`,
|
|
31
|
-
className: "h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-105"
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
showCaption && image.caption && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 flex items-end bg-gradient-to-t from-black/65 via-black/10 to-transparent p-5 opacity-0 transition-all duration-300 group-hover:opacity-100", children: /* @__PURE__ */ jsx("p", { className: "translate-y-2 text-sm font-medium text-white transition-transform duration-300 group-hover:translate-y-0", children: image.caption }) })
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
const Gallery3 = ({
|
|
40
|
-
heading,
|
|
41
|
-
description,
|
|
42
|
-
images = [],
|
|
43
|
-
showCaptions = true,
|
|
44
|
-
styles
|
|
45
|
-
}) => {
|
|
46
|
-
const gap = (styles == null ? void 0 : styles.gap) ?? "md";
|
|
47
|
-
const gc = gapClasses[gap] ?? gapClasses.md;
|
|
48
|
-
const [img1, img2, img3, ...rest] = images;
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
CompoundContainer,
|
|
51
|
-
{
|
|
52
|
-
padding: styles == null ? void 0 : styles.padding,
|
|
53
|
-
sectionStyle: styles == null ? void 0 : styles.sectionStyle,
|
|
54
|
-
backgroundColor: styles == null ? void 0 : styles.backgroundColor,
|
|
55
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 lg:gap-12", children: [
|
|
56
|
-
(heading || description) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between", children: [
|
|
57
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3", children: heading && /* @__PURE__ */ jsx("h2", { className: "text-4xl font-bold tracking-tight text-foreground lg:text-5xl", children: heading }) }),
|
|
58
|
-
description && /* @__PURE__ */ jsx("p", { className: "max-w-sm text-base leading-relaxed text-muted-foreground lg:text-right", children: description })
|
|
59
|
-
] }),
|
|
60
|
-
images.length > 0 && /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col", gc), children: [
|
|
61
|
-
img1 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
62
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col lg:hidden", gc), children: [img1, img2, img3].filter(Boolean).map((img, i) => /* @__PURE__ */ jsx("div", { className: "aspect-[4/3]", children: /* @__PURE__ */ jsx(
|
|
63
|
-
ImageCard,
|
|
64
|
-
{
|
|
65
|
-
image: img,
|
|
66
|
-
index: i,
|
|
67
|
-
showCaption: showCaptions,
|
|
68
|
-
className: "h-full"
|
|
69
|
-
}
|
|
70
|
-
) }, i)) }),
|
|
71
|
-
/* @__PURE__ */ jsxs("div", { className: cn("hidden h-[520px] lg:flex", gc), children: [
|
|
72
|
-
/* @__PURE__ */ jsx(
|
|
73
|
-
ImageCard,
|
|
74
|
-
{
|
|
75
|
-
image: img1,
|
|
76
|
-
index: 0,
|
|
77
|
-
showCaption: showCaptions,
|
|
78
|
-
className: "basis-[58%] shrink-0"
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
(img2 || img3) && /* @__PURE__ */ jsxs("div", { className: cn("flex flex-1 flex-col", gc), children: [
|
|
82
|
-
img2 && /* @__PURE__ */ jsx(
|
|
83
|
-
ImageCard,
|
|
84
|
-
{
|
|
85
|
-
image: img2,
|
|
86
|
-
index: 1,
|
|
87
|
-
showCaption: showCaptions,
|
|
88
|
-
className: "flex-1"
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
img3 && /* @__PURE__ */ jsx(
|
|
92
|
-
ImageCard,
|
|
93
|
-
{
|
|
94
|
-
image: img3,
|
|
95
|
-
index: 2,
|
|
96
|
-
showCaption: showCaptions,
|
|
97
|
-
className: "flex-1"
|
|
98
|
-
}
|
|
99
|
-
)
|
|
100
|
-
] })
|
|
101
|
-
] })
|
|
102
|
-
] }),
|
|
103
|
-
rest.length > 0 && /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-2 lg:grid-cols-3", gc), children: rest.map((img, idx) => /* @__PURE__ */ jsx("div", { className: "aspect-[4/3]", children: /* @__PURE__ */ jsx(
|
|
104
|
-
ImageCard,
|
|
105
|
-
{
|
|
106
|
-
image: img,
|
|
107
|
-
index: idx + 3,
|
|
108
|
-
showCaption: showCaptions,
|
|
109
|
-
className: "h-full"
|
|
110
|
-
}
|
|
111
|
-
) }, idx + 3)) })
|
|
112
|
-
] })
|
|
113
|
-
] })
|
|
114
|
-
}
|
|
115
|
-
);
|
|
116
|
-
};
|
|
117
|
-
export {
|
|
118
|
-
Gallery3
|
|
119
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Gallery3 } from "./gallery-3.js";
|
|
2
|
-
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
3
|
-
const pexelsImages = [
|
|
4
|
-
{ src: "https://images.pexels.com/photos/113850/pexels-photo-113850.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Technology desktop showing colorful source code on screen", caption: "" },
|
|
5
|
-
{ src: "https://images.pexels.com/photos/196644/pexels-photo-196644.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Top-down view of laptop displaying code in a modern workspace", caption: "" },
|
|
6
|
-
{ src: "https://images.pexels.com/photos/6424590/pexels-photo-6424590.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Close-up of laptop screen showing programming code", caption: "" },
|
|
7
|
-
{ src: "https://images.pexels.com/photos/1181671/pexels-photo-1181671.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Developer focused on coding at laptop in a bright workspace", caption: "" },
|
|
8
|
-
{ src: "https://images.pexels.com/photos/3888151/pexels-photo-3888151.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Modern laptop with program code on screen at workplace", caption: "" },
|
|
9
|
-
{ src: "https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1200", alt: "Tech team working together at a collaborative desk setup", caption: "" }
|
|
10
|
-
];
|
|
11
|
-
const makeDefaultImage = (i) => pexelsImages[i % pexelsImages.length];
|
|
12
|
-
const conf = {
|
|
13
|
-
fields: {
|
|
14
|
-
heading: {
|
|
15
|
-
type: "text",
|
|
16
|
-
contentEditable: true
|
|
17
|
-
},
|
|
18
|
-
description: {
|
|
19
|
-
type: "textarea",
|
|
20
|
-
contentEditable: true
|
|
21
|
-
},
|
|
22
|
-
images: {
|
|
23
|
-
type: "array",
|
|
24
|
-
max: 9,
|
|
25
|
-
getItemSummary: (item, index = 0) => item.alt || `Image ${index + 1}`,
|
|
26
|
-
arrayFields: {
|
|
27
|
-
src: { type: "image", label: "Image" },
|
|
28
|
-
alt: { type: "text", label: "Alt Text" },
|
|
29
|
-
caption: { type: "text", label: "Caption" }
|
|
30
|
-
},
|
|
31
|
-
defaultItemProps: makeDefaultImage(0)
|
|
32
|
-
},
|
|
33
|
-
showCaptions: {
|
|
34
|
-
type: "radio",
|
|
35
|
-
options: [
|
|
36
|
-
{ label: "Show", value: true },
|
|
37
|
-
{ label: "Hide", value: false }
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
styles: createStylesField({
|
|
41
|
-
gap: {
|
|
42
|
-
type: "radio",
|
|
43
|
-
options: [
|
|
44
|
-
{ label: "Compact", value: "sm" },
|
|
45
|
-
{ label: "Default", value: "md" },
|
|
46
|
-
{ label: "Spacious", value: "lg" }
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
})
|
|
50
|
-
},
|
|
51
|
-
defaultProps: {
|
|
52
|
-
heading: "Design that speaks for itself",
|
|
53
|
-
description: "A curated look at the interfaces and experiences our platform helps bring to life.",
|
|
54
|
-
images: Array.from({ length: 6 }, (_, i) => makeDefaultImage(i)),
|
|
55
|
-
showCaptions: true,
|
|
56
|
-
styles: createStylesDefaults({ gap: "md" })
|
|
57
|
-
},
|
|
58
|
-
render: Gallery3
|
|
59
|
-
};
|
|
60
|
-
export {
|
|
61
|
-
conf
|
|
62
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CompoundButtonProps } from "@/components/puck-base/button";
|
|
2
|
-
import { Action } from "@/components/puck-base/core/types";
|
|
3
|
-
import { ILayoutProps } from "../../type";
|
|
4
|
-
type NavigationLink = {
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
type SubmenuLink = NavigationLink & {
|
|
8
|
-
url: string;
|
|
9
|
-
};
|
|
10
|
-
type SecondaryNavigationItem = NavigationLink & {
|
|
11
|
-
url: string;
|
|
12
|
-
action?: Action;
|
|
13
|
-
variant?: CompoundButtonProps["variant"];
|
|
14
|
-
size?: CompoundButtonProps["size"];
|
|
15
|
-
icon?: CompoundButtonProps["icon"];
|
|
16
|
-
divider?: "true" | "false";
|
|
17
|
-
isHiddenOnMobile?: "true" | "false";
|
|
18
|
-
};
|
|
19
|
-
type NavigationItem = NavigationLink & {
|
|
20
|
-
url?: string;
|
|
21
|
-
action?: Action;
|
|
22
|
-
description?: string;
|
|
23
|
-
cta?: CompoundButtonProps & {
|
|
24
|
-
url?: string;
|
|
25
|
-
};
|
|
26
|
-
items?: SubmenuLink[];
|
|
27
|
-
};
|
|
28
|
-
export interface HeaderProps extends ILayoutProps {
|
|
29
|
-
companyName: string;
|
|
30
|
-
navigation?: NavigationItem[];
|
|
31
|
-
actions?: SecondaryNavigationItem[];
|
|
32
|
-
styles?: {
|
|
33
|
-
sectionStyle?: "default" | "dark" | "muted" | "inverted";
|
|
34
|
-
backgroundColor?: string;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export declare const Header: ({ companyName, navigation, actions, styles, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export {};
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { useState, Fragment as Fragment$1 } from "react";
|
|
4
|
-
import { cn } from "../../../../utils/css-utils.js";
|
|
5
|
-
import { Button } from "../../../shadcn/button.js";
|
|
6
|
-
import { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuLink, NavigationMenuTrigger, NavigationMenuContent } from "../../../puck-base/navigation-menu.js";
|
|
7
|
-
import { MoveRight, X, Menu } from "lucide-react";
|
|
8
|
-
import { registerOverlayPortal } from "@puckeditor/core";
|
|
9
|
-
import { CompoundButton } from "../../../puck-base/button.js";
|
|
10
|
-
import { ErrorBoundary } from "../../../puck-base/error-boundary.js";
|
|
11
|
-
import { resolveActionUrl } from "../../../puck-base/core/types.js";
|
|
12
|
-
function coerceAction(action, legacyUrl) {
|
|
13
|
-
return action ?? (legacyUrl ? /^https?:\/\//i.test(legacyUrl) ? { type: "external", externalUrl: legacyUrl } : { type: "page", pageUrl: legacyUrl } : void 0);
|
|
14
|
-
}
|
|
15
|
-
const HEADER_SECTION_VARS = {
|
|
16
|
-
dark: {
|
|
17
|
-
"--background": "oklch(0.145 0 0)",
|
|
18
|
-
"--foreground": "oklch(0.985 0 0)",
|
|
19
|
-
"--muted-foreground": "oklch(0.708 0 0)"
|
|
20
|
-
},
|
|
21
|
-
inverted: {
|
|
22
|
-
"--background": "oklch(0.205 0 0)",
|
|
23
|
-
"--foreground": "oklch(0.985 0 0)",
|
|
24
|
-
"--primary": "oklch(0.922 0 0)",
|
|
25
|
-
"--primary-foreground": "oklch(0.205 0 0)",
|
|
26
|
-
"--muted-foreground": "oklch(0.708 0 0)"
|
|
27
|
-
},
|
|
28
|
-
muted: {
|
|
29
|
-
"--background": "oklch(0.97 0 0)",
|
|
30
|
-
"--foreground": "oklch(0.205 0 0)",
|
|
31
|
-
"--muted-foreground": "oklch(0.556 0 0)"
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const Header = ({
|
|
35
|
-
companyName,
|
|
36
|
-
navigation,
|
|
37
|
-
actions,
|
|
38
|
-
styles
|
|
39
|
-
}) => {
|
|
40
|
-
const [isOpen, setOpen] = useState(false);
|
|
41
|
-
const sectionVars = (styles == null ? void 0 : styles.sectionStyle) && styles.sectionStyle !== "default" ? HEADER_SECTION_VARS[styles.sectionStyle] ?? {} : {};
|
|
42
|
-
return /* @__PURE__ */ jsx(ErrorBoundary, { children: /* @__PURE__ */ jsx(
|
|
43
|
-
"header",
|
|
44
|
-
{
|
|
45
|
-
className: cn(
|
|
46
|
-
"bg-background text-foreground sticky top-0 left-0 z-40 w-full"
|
|
47
|
-
),
|
|
48
|
-
style: {
|
|
49
|
-
...(styles == null ? void 0 : styles.backgroundColor) ? { backgroundColor: styles.backgroundColor } : {},
|
|
50
|
-
...sectionVars
|
|
51
|
-
},
|
|
52
|
-
children: /* @__PURE__ */ jsxs("div", { className: "relative container mx-auto flex min-h-20 flex-row items-center gap-4 lg:grid lg:grid-cols-[auto_1fr_auto]", children: [
|
|
53
|
-
/* @__PURE__ */ jsx("div", { className: "flex lg:justify-start", children: /* @__PURE__ */ jsx("p", { className: "font-semibold whitespace-nowrap", children: companyName }) }),
|
|
54
|
-
/* @__PURE__ */ jsx("div", { className: "hidden flex-row items-center justify-center gap-4 lg:flex", children: Array.isArray(navigation) && navigation.length > 0 ? /* @__PURE__ */ jsx(NavigationMenu, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(NavigationMenuList, { className: "flex flex-row justify-center gap-4", children: navigation.map((item, index) => {
|
|
55
|
-
var _a;
|
|
56
|
-
return /* @__PURE__ */ jsx(NavigationMenuItem, { children: item.url ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(NavigationMenuLink, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
57
|
-
CompoundButton,
|
|
58
|
-
{
|
|
59
|
-
action: coerceAction(item.action, item.url),
|
|
60
|
-
label: item.label,
|
|
61
|
-
variant: "ghost"
|
|
62
|
-
}
|
|
63
|
-
) }) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
64
|
-
/* @__PURE__ */ jsx(
|
|
65
|
-
NavigationMenuTrigger,
|
|
66
|
-
{
|
|
67
|
-
className: "text-sm font-medium",
|
|
68
|
-
ref: registerOverlayPortal,
|
|
69
|
-
children: item.label
|
|
70
|
-
}
|
|
71
|
-
),
|
|
72
|
-
/* @__PURE__ */ jsx(NavigationMenuContent, { className: "!w-[450px] p-4", children: /* @__PURE__ */ jsxs("div", { className: "flex grid-cols-2 flex-col gap-4 lg:grid", children: [
|
|
73
|
-
/* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between", children: [
|
|
74
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
75
|
-
/* @__PURE__ */ jsx("p", { className: "text-base", children: item.label }),
|
|
76
|
-
item.description ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: item.description }) : null
|
|
77
|
-
] }),
|
|
78
|
-
(() => {
|
|
79
|
-
const ctaAction = item.cta && coerceAction(item.cta.action, item.cta.url);
|
|
80
|
-
return ctaAction && resolveActionUrl(ctaAction) ? /* @__PURE__ */ jsx(
|
|
81
|
-
CompoundButton,
|
|
82
|
-
{
|
|
83
|
-
label: item.cta.label,
|
|
84
|
-
action: ctaAction,
|
|
85
|
-
variant: item.cta.variant,
|
|
86
|
-
size: item.cta.size,
|
|
87
|
-
icon: item.cta.icon,
|
|
88
|
-
className: "mt-10"
|
|
89
|
-
}
|
|
90
|
-
) : null;
|
|
91
|
-
})()
|
|
92
|
-
] }),
|
|
93
|
-
/* @__PURE__ */ jsx("div", { className: "flex h-full flex-col justify-end text-sm", children: (_a = item.items) == null ? void 0 : _a.map((subItem, index2) => /* @__PURE__ */ jsxs(
|
|
94
|
-
NavigationMenuLink,
|
|
95
|
-
{
|
|
96
|
-
href: subItem.url,
|
|
97
|
-
className: "hover:bg-muted flex flex-row items-center justify-between rounded px-4 py-2",
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ jsx("span", { children: subItem.label }),
|
|
100
|
-
/* @__PURE__ */ jsx(MoveRight, { className: "text-muted-foreground h-4 w-4" })
|
|
101
|
-
]
|
|
102
|
-
},
|
|
103
|
-
index2
|
|
104
|
-
)) })
|
|
105
|
-
] }) })
|
|
106
|
-
] }) }, index);
|
|
107
|
-
}) }) }) : null }),
|
|
108
|
-
/* @__PURE__ */ jsx("div", { className: "flex w-full justify-end gap-4", children: actions == null ? void 0 : actions.map((item, index) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
109
|
-
/* @__PURE__ */ jsx(
|
|
110
|
-
CompoundButton,
|
|
111
|
-
{
|
|
112
|
-
label: item.label,
|
|
113
|
-
variant: item.variant,
|
|
114
|
-
size: item.size,
|
|
115
|
-
icon: item.icon,
|
|
116
|
-
action: coerceAction(item.action, item.url),
|
|
117
|
-
className: cn({
|
|
118
|
-
"hidden md:inline": item.isHiddenOnMobile === "true"
|
|
119
|
-
})
|
|
120
|
-
}
|
|
121
|
-
),
|
|
122
|
-
item.divider === "true" ? /* @__PURE__ */ jsx("div", { className: "hidden border-e-1 md:inline" }) : null
|
|
123
|
-
] }, index)) }),
|
|
124
|
-
/* @__PURE__ */ jsxs("div", { className: "flex w-12 shrink items-end justify-end lg:hidden", children: [
|
|
125
|
-
/* @__PURE__ */ jsx(
|
|
126
|
-
Button,
|
|
127
|
-
{
|
|
128
|
-
variant: "ghost",
|
|
129
|
-
onClick: () => setOpen(!isOpen),
|
|
130
|
-
ref: registerOverlayPortal,
|
|
131
|
-
children: isOpen ? /* @__PURE__ */ jsx(X, { className: "h-5 w-5" }) : /* @__PURE__ */ jsx(Menu, { className: "h-5 w-5" })
|
|
132
|
-
}
|
|
133
|
-
),
|
|
134
|
-
isOpen && /* @__PURE__ */ jsx("div", { className: "bg-background absolute top-20 right-0 container flex w-full flex-col gap-8 border-t py-4 shadow-lg", children: navigation == null ? void 0 : navigation.map((item, index) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
135
|
-
item.url ? /* @__PURE__ */ jsxs(
|
|
136
|
-
"a",
|
|
137
|
-
{
|
|
138
|
-
href: item.url,
|
|
139
|
-
className: "flex items-center justify-between",
|
|
140
|
-
onClick: () => setOpen(false),
|
|
141
|
-
children: [
|
|
142
|
-
/* @__PURE__ */ jsx("span", { className: "text-lg", children: item.label }),
|
|
143
|
-
/* @__PURE__ */ jsx(MoveRight, { className: "text-muted-foreground h-4 w-4 stroke-1" })
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
) : /* @__PURE__ */ jsx("p", { className: "text-lg", children: item.label }),
|
|
147
|
-
item.items && item.items.map((subItem, index2) => /* @__PURE__ */ jsxs(
|
|
148
|
-
"a",
|
|
149
|
-
{
|
|
150
|
-
href: subItem.url,
|
|
151
|
-
className: "flex items-center justify-between",
|
|
152
|
-
onClick: () => setOpen(false),
|
|
153
|
-
children: [
|
|
154
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: subItem.label }),
|
|
155
|
-
/* @__PURE__ */ jsx(MoveRight, { className: "h-4 w-4 stroke-1" })
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
index2
|
|
159
|
-
))
|
|
160
|
-
] }) }, index)) })
|
|
161
|
-
] })
|
|
162
|
-
] })
|
|
163
|
-
}
|
|
164
|
-
) });
|
|
165
|
-
};
|
|
166
|
-
export {
|
|
167
|
-
Header
|
|
168
|
-
};
|