dune-react 0.0.20 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +1 -0
- package/dist/components/puck-base/button.d.ts +1 -1
- package/dist/components/puck-base/button.js +5 -6
- package/dist/components/puck-base/card.d.ts +1 -1
- package/dist/components/puck-base/container.js +1 -1
- package/dist/components/puck-base/content.d.ts +1 -1
- package/dist/components/puck-base/form.js +1 -1
- package/dist/components/puck-base/image.js +17 -17
- package/dist/components/puck-base/index.d.ts +1 -12
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +9 -4
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +22 -0
- package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +3 -1
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +25 -3
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +16 -4
- package/dist/components/puck-block/banner-sections/props.d.ts +3 -0
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +13 -2
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +15 -4
- package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +3 -13
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/centered-form/index.js +3 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +5 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +3 -1
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +5 -23
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +3 -1
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +3 -13
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +3 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +4 -13
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +3 -1
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -2
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +3 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +3 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -2
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +3 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +5 -1
- package/dist/components/puck-block/contact-sections/props.d.ts +3 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +23 -1
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +3 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +4 -13
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +22 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +3 -1
- package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +4 -2
- package/dist/components/puck-block/contact-sections/use-contact-form.js +1 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +3 -2
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +23 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +3 -1
- 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 +23 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +3 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +89 -59
- package/dist/components/puck-block/cta-sections/props.d.ts +3 -1
- package/dist/components/puck-block/cta-sections/props.js +46 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +35 -77
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +24 -83
- package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +3 -2
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +6 -2
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/props.d.ts +3 -0
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +5 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +23 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +3 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +3 -2
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +6 -2
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +5 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +24 -2
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +5 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +24 -2
- package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -1
- package/dist/components/puck-block/feature-sections/props.d.ts +3 -0
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +78 -60
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +23 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.js +3 -1
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -3
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +23 -1
- package/dist/components/puck-block/feature-sections/text-only-section/index.js +3 -1
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +5 -2
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +22 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +2 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +2 -1
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +23 -1
- package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +3 -2
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +16 -6
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +23 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +4 -3
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +3 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +24 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +5 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +24 -2
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +71 -66
- package/dist/components/puck-block/gallery-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +9 -3
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -10
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +3 -2
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +22 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +3 -1
- package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +3 -2
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +120 -16
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +163 -22
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +144 -18
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +5 -2
- package/dist/components/puck-block/header-sections/props.d.ts +3 -0
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +23 -1
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +2 -1
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +5 -2
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +54 -10
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +24 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +5 -2
- package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +19 -7
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +14 -6
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +8 -4
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +4 -2
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +9 -5
- package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +6 -4
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +6 -4
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +10 -3
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/props.d.ts +3 -1
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +16 -7
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +14 -6
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +98 -42
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +36 -6
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +5 -3
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +37 -7
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +15 -5
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +37 -14
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +36 -6
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +5 -3
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +6 -3
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -0
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +6 -0
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +102 -44
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +23 -1
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +3 -1
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +32 -5
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +12 -4
- package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
- package/dist/components/puck-block/index.d.ts +2 -0
- package/dist/components/puck-block/location-sections/location-1/location.d.ts +4 -1
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +4 -1
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +5 -2
- package/dist/components/puck-block/location-sections/props.d.ts +4 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +5 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +23 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +23 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/props.d.ts +3 -0
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +23 -1
- package/dist/components/puck-block/metrics-sections/split-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +5 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +22 -0
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +3 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +38 -23
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +5 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/props.d.ts +3 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +5 -2
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +4 -2
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +5 -2
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +22 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +3 -1
- package/dist/components/puck-block/registry.generated.d.ts +13141 -0
- package/dist/components/puck-block/registry.generated.js +558 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +5 -1
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +23 -1
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +6 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +23 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/props.d.ts +3 -0
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +24 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +24 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +1 -3
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +5 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +24 -4
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +3 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +8 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +24 -2
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +3 -1
- package/dist/components/puck-block/team-sections/props.d.ts +3 -0
- package/dist/components/puck-block/team-sections/team-carousel/component.js +8 -2
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-carousel/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-grid/component.js +6 -1
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-grid/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-inline-card/component.js +10 -2
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +9 -2
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +22 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +3 -1
- package/dist/components/puck-block/team-sections/team-two-column/component.js +6 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +23 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +6 -1
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +14 -6
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +35 -5
- package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +5 -3
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +8 -2
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -1
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +23 -1
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +9 -2
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +5 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +22 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/text-sections/aside-nav-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/blog-article/component.js +6 -1
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/blog-article/index.js +3 -1
- package/dist/components/puck-block/text-sections/props.d.ts +3 -0
- package/dist/components/puck-block/text-sections/prose-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/prose-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/prose-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +23 -1
- package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -1
- package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/side-media-content/index.js +3 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +6 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +22 -0
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +3 -1
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +24 -2
- package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -0
- package/dist/components/puck-core/core/context/section-id-context.js +12 -0
- package/dist/components/puck-core/core/props/content.js +41 -1
- package/dist/components/puck-core/core/props/form.js +76 -0
- package/dist/components/puck-core/core/props/index.js +34 -0
- package/dist/components/puck-core/core/props/interactive.js +17 -0
- package/dist/components/puck-core/core/props/media.js +8 -4
- package/dist/components/puck-core/core/styles.d.ts +375 -1
- package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
- package/dist/components/{puck-base → puck-core}/core/with-editable.js +13 -2
- package/dist/components/puck-core/fields/action-field.js +2 -2
- package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +4 -4
- package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
- package/dist/components/puck-core/index.d.ts +3 -1
- package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
- package/dist/components/puck-core/section-wrapper.d.ts +27 -13
- package/dist/components/puck-core/section-wrapper.js +48 -0
- package/dist/hooks/use-scroll-container.d.ts +18 -0
- package/dist/hooks/use-scroll-container.js +25 -0
- package/dist/index.js +125 -105
- package/package.json +1 -1
- package/dist/components/puck-base/core/fields.d.ts +0 -827
- package/dist/components/puck-base/core/fields.js +0 -267
- package/dist/components/puck-base/core/hooks.d.ts +0 -19
- package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
- package/dist/components/puck-base/core/icon-catalog.js +0 -193
- package/dist/components/puck-base/core/styles.d.ts +0 -1942
- package/dist/components/puck-base/core/types.d.ts +0 -20
- package/dist/components/puck-base/core/types.js +0 -26
- package/dist/components/puck-base/core/utils.d.ts +0 -5
- package/dist/components/puck-base/core/with-editable.d.ts +0 -16
- package/dist/components/puck-base/error-boundary.d.ts +0 -4
- package/dist/components/puck-base/fields/action-field.d.ts +0 -30
- package/dist/components/puck-base/fields/action-field.js +0 -265
- package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
- package/dist/components/puck-base/fields/color-field.d.ts +0 -6
- package/dist/components/puck-base/fields/index.d.ts +0 -8
- package/dist/components/puck-base/fields/location-field.d.ts +0 -44
- package/dist/components/puck-base/fields/object-field.d.ts +0 -8
- package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
- package/dist/components/puck-base/fields/types.d.ts +0 -29
- package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
- package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
- package/dist/components/puck-base/icon-picker-field.js +0 -153
- package/dist/components/puck-base/image-upload-field.d.ts +0 -7
- package/dist/components/puck-base/inline-editable.d.ts +0 -14
- package/dist/components/puck-base/use-upload.d.ts +0 -42
- package/dist/components/puck-core/editor-context.d.ts +0 -25
- package/dist/components/puck-core/editor-context.js +0 -15
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.d.ts +0 -0
- /package/dist/components/{puck-base → puck-core/core/context}/editor-context.js +0 -0
- /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
- /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
- /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/auto-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/object-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
- /package/dist/components/{puck-base → puck-core}/use-upload.js +0 -0
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import { fieldTypes } from "../field.js";
|
|
2
|
-
import { ActionField } from "../fields/action-field.js";
|
|
3
|
-
import { IconPickerField } from "../icon-picker-field.js";
|
|
4
|
-
const formMethods = ["get", "post", "put", "patch", "delete"];
|
|
5
|
-
const icon = {
|
|
6
|
-
type: "custom",
|
|
7
|
-
render: IconPickerField
|
|
8
|
-
};
|
|
9
|
-
const action = {
|
|
10
|
-
type: "custom",
|
|
11
|
-
label: "action",
|
|
12
|
-
render: ActionField
|
|
13
|
-
};
|
|
14
|
-
const actionDefaults = {
|
|
15
|
-
type: "page",
|
|
16
|
-
pageUrl: "",
|
|
17
|
-
externalUrl: "",
|
|
18
|
-
openInNewTab: "false",
|
|
19
|
-
email: "",
|
|
20
|
-
subject: "",
|
|
21
|
-
phone: "",
|
|
22
|
-
sectionId: "",
|
|
23
|
-
downloadUrl: ""
|
|
24
|
-
};
|
|
25
|
-
const button = {
|
|
26
|
-
type: "object",
|
|
27
|
-
objectFields: {
|
|
28
|
-
label: { type: "text" },
|
|
29
|
-
action,
|
|
30
|
-
variant: {
|
|
31
|
-
type: "select",
|
|
32
|
-
options: [
|
|
33
|
-
{ label: "primary", value: "default" },
|
|
34
|
-
{ label: "secondary", value: "secondary" },
|
|
35
|
-
{ label: "outline", value: "outline" },
|
|
36
|
-
{ label: "ghost", value: "ghost" },
|
|
37
|
-
{ label: "link", value: "link" },
|
|
38
|
-
{ label: "destructive", value: "destructive" }
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
size: {
|
|
42
|
-
type: "select",
|
|
43
|
-
options: [
|
|
44
|
-
{ label: "default", value: "default" },
|
|
45
|
-
{ label: "sm", value: "sm" },
|
|
46
|
-
{ label: "lg", value: "lg" },
|
|
47
|
-
{ label: "icon", value: "icon" }
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
icon
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const buttonDefaults = {
|
|
54
|
-
label: "Button",
|
|
55
|
-
action: actionDefaults,
|
|
56
|
-
variant: "default",
|
|
57
|
-
size: "default",
|
|
58
|
-
icon: "none"
|
|
59
|
-
};
|
|
60
|
-
const buttons = {
|
|
61
|
-
type: "array",
|
|
62
|
-
max: 3,
|
|
63
|
-
getItemSummary: (item, index = 0) => item.label || `Button ${index + 1}`,
|
|
64
|
-
arrayFields: {
|
|
65
|
-
...button.objectFields
|
|
66
|
-
},
|
|
67
|
-
defaultItemProps: buttonDefaults,
|
|
68
|
-
ai: {
|
|
69
|
-
instructions: "Buttons must use the same size"
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
const badge = {
|
|
73
|
-
type: "object",
|
|
74
|
-
objectFields: {
|
|
75
|
-
label: { type: "text" },
|
|
76
|
-
url: { type: "text" },
|
|
77
|
-
variant: {
|
|
78
|
-
type: "select",
|
|
79
|
-
options: [
|
|
80
|
-
{ label: "default", value: "default" },
|
|
81
|
-
{ label: "secondary", value: "secondary" },
|
|
82
|
-
{ label: "destructive", value: "destructive" },
|
|
83
|
-
{ label: "outline", value: "outline" }
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
const image = {
|
|
89
|
-
type: "object",
|
|
90
|
-
objectFields: {
|
|
91
|
-
// "image" is a custom field type registered via Puck overrides (fieldTypes.image)
|
|
92
|
-
src: { type: "image", label: "Image" },
|
|
93
|
-
alt: { type: "text" }
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
const getPlaceholderImageUrl = (size, text = "Placeholder Image") => {
|
|
97
|
-
const [w, h] = size.split("x");
|
|
98
|
-
return `https://picsum.photos/seed/${encodeURIComponent(text)}/${w}/${h}`;
|
|
99
|
-
};
|
|
100
|
-
const image16x9Placeholder = {
|
|
101
|
-
alt: "16/9 aspect ratio accessible description of the image",
|
|
102
|
-
src: getPlaceholderImageUrl("1920x1080")
|
|
103
|
-
};
|
|
104
|
-
const image1x1Placeholder = {
|
|
105
|
-
alt: "1/1 aspect ratio An accessible description of the image",
|
|
106
|
-
src: getPlaceholderImageUrl("1000x1000")
|
|
107
|
-
};
|
|
108
|
-
const image9x16Placeholder = {
|
|
109
|
-
alt: "9/16 accessible description of the image",
|
|
110
|
-
src: getPlaceholderImageUrl("1080x1920")
|
|
111
|
-
};
|
|
112
|
-
const images = {
|
|
113
|
-
type: "array",
|
|
114
|
-
max: 10,
|
|
115
|
-
getItemSummary: (item, index = 0) => {
|
|
116
|
-
if (item.alt) {
|
|
117
|
-
return `${item.alt.slice(0, 12)}${item.alt.length > 12 ? "..." : ""}`;
|
|
118
|
-
}
|
|
119
|
-
return `Image ${index + 1}`;
|
|
120
|
-
},
|
|
121
|
-
arrayFields: {
|
|
122
|
-
...image.objectFields
|
|
123
|
-
},
|
|
124
|
-
defaultItemProps: image16x9Placeholder
|
|
125
|
-
};
|
|
126
|
-
const heading = {
|
|
127
|
-
type: "text",
|
|
128
|
-
contentEditable: true
|
|
129
|
-
};
|
|
130
|
-
const description = {
|
|
131
|
-
type: "textarea",
|
|
132
|
-
contentEditable: true
|
|
133
|
-
};
|
|
134
|
-
const features = {
|
|
135
|
-
type: "array",
|
|
136
|
-
max: 5,
|
|
137
|
-
getItemSummary: (item, index = 0) => item.name || `Feature ${index + 1}`,
|
|
138
|
-
arrayFields: {
|
|
139
|
-
icon,
|
|
140
|
-
name: { type: "text", contentEditable: true },
|
|
141
|
-
description: { type: "textarea", contentEditable: true }
|
|
142
|
-
},
|
|
143
|
-
defaultItemProps: {
|
|
144
|
-
icon: "check",
|
|
145
|
-
name: "Feature name",
|
|
146
|
-
description: "Description of the feature"
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
const contentFields = {
|
|
150
|
-
heading,
|
|
151
|
-
description,
|
|
152
|
-
badge,
|
|
153
|
-
buttons
|
|
154
|
-
};
|
|
155
|
-
const contentFieldsWithFeatures = {
|
|
156
|
-
heading,
|
|
157
|
-
description,
|
|
158
|
-
badge,
|
|
159
|
-
features,
|
|
160
|
-
buttons
|
|
161
|
-
};
|
|
162
|
-
const card = {
|
|
163
|
-
type: "object",
|
|
164
|
-
objectFields: {
|
|
165
|
-
icon,
|
|
166
|
-
heading,
|
|
167
|
-
description,
|
|
168
|
-
button
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
const cards = {
|
|
172
|
-
type: "array",
|
|
173
|
-
getItemSummary: (item, index = 0) => item.heading || `Card ${index + 1}`,
|
|
174
|
-
arrayFields: {
|
|
175
|
-
...card.objectFields
|
|
176
|
-
},
|
|
177
|
-
defaultItemProps: {
|
|
178
|
-
icon: "activity",
|
|
179
|
-
heading: "Heading",
|
|
180
|
-
description: "Description",
|
|
181
|
-
button: buttonDefaults
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
const field = {
|
|
185
|
-
type: "object",
|
|
186
|
-
objectFields: {
|
|
187
|
-
label: { type: "text", contentEditable: true },
|
|
188
|
-
name: { type: "text" },
|
|
189
|
-
type: {
|
|
190
|
-
type: "select",
|
|
191
|
-
options: fieldTypes.map((f) => ({ label: f, value: f }))
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
|
-
const fieldDefaults = {
|
|
196
|
-
label: "Field Label",
|
|
197
|
-
type: "text",
|
|
198
|
-
name: "field_name"
|
|
199
|
-
};
|
|
200
|
-
const { action: _buttonAction, ...formButtonConfig } = button.objectFields;
|
|
201
|
-
const form = {
|
|
202
|
-
type: "object",
|
|
203
|
-
objectFields: {
|
|
204
|
-
title: { type: "text", contentEditable: true },
|
|
205
|
-
fields: {
|
|
206
|
-
type: "array",
|
|
207
|
-
min: 1,
|
|
208
|
-
max: 10,
|
|
209
|
-
arrayFields: { ...field.objectFields },
|
|
210
|
-
getItemSummary: (item, index = 0) => item.label || `Field ${index + 1}`,
|
|
211
|
-
defaultItemProps: fieldDefaults
|
|
212
|
-
},
|
|
213
|
-
action: { type: "text", label: "submit url" },
|
|
214
|
-
method: {
|
|
215
|
-
type: "select",
|
|
216
|
-
label: "submit method",
|
|
217
|
-
options: formMethods.map((method) => ({ label: method, value: method }))
|
|
218
|
-
},
|
|
219
|
-
button: {
|
|
220
|
-
...button,
|
|
221
|
-
objectFields: {
|
|
222
|
-
...formButtonConfig
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
const formDefaults = {
|
|
228
|
-
title: "Book a meeting",
|
|
229
|
-
fields: [
|
|
230
|
-
{ label: "First name", type: "text", name: "first_name" },
|
|
231
|
-
{ label: "Last name", type: "text", name: "last_name" },
|
|
232
|
-
{ label: "Resume", type: "file", name: "resume" }
|
|
233
|
-
],
|
|
234
|
-
action: "/submit-form",
|
|
235
|
-
method: "post",
|
|
236
|
-
button: {
|
|
237
|
-
label: "Book the meeting",
|
|
238
|
-
variant: "default",
|
|
239
|
-
size: "default",
|
|
240
|
-
icon: "move-right"
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
export {
|
|
244
|
-
action,
|
|
245
|
-
actionDefaults,
|
|
246
|
-
badge,
|
|
247
|
-
button,
|
|
248
|
-
buttons,
|
|
249
|
-
card,
|
|
250
|
-
cards,
|
|
251
|
-
contentFields,
|
|
252
|
-
contentFieldsWithFeatures,
|
|
253
|
-
description,
|
|
254
|
-
features,
|
|
255
|
-
field,
|
|
256
|
-
fieldDefaults,
|
|
257
|
-
form,
|
|
258
|
-
formDefaults,
|
|
259
|
-
getPlaceholderImageUrl,
|
|
260
|
-
heading,
|
|
261
|
-
icon,
|
|
262
|
-
image,
|
|
263
|
-
image16x9Placeholder,
|
|
264
|
-
image1x1Placeholder,
|
|
265
|
-
image9x16Placeholder,
|
|
266
|
-
images
|
|
267
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const usePuckDispatch: () => (action: import("@puckeditor/core").PuckAction) => void;
|
|
2
|
-
export declare const usePuckAppState: () => import("@puckeditor/core").AppState<import("@puckeditor/core").Data<import("@puckeditor/core").DefaultComponents, any>>;
|
|
3
|
-
export declare const usePuckHistory: () => {
|
|
4
|
-
back: import("node_modules/@puckeditor/core/dist/index-lt1zf5WR").H["back"];
|
|
5
|
-
forward: import("node_modules/@puckeditor/core/dist/index-lt1zf5WR").H["forward"];
|
|
6
|
-
setHistories: import("node_modules/@puckeditor/core/dist/index-lt1zf5WR").H["setHistories"];
|
|
7
|
-
setHistoryIndex: import("node_modules/@puckeditor/core/dist/index-lt1zf5WR").H["setHistoryIndex"];
|
|
8
|
-
histories: import("node_modules/@puckeditor/core/dist/index-lt1zf5WR").H["histories"];
|
|
9
|
-
index: import("node_modules/@puckeditor/core/dist/index-lt1zf5WR").H["index"];
|
|
10
|
-
hasPast: boolean;
|
|
11
|
-
hasFuture: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const usePuckConfig: () => import("@puckeditor/core").Config;
|
|
14
|
-
export declare const usePuckGetSelectorForId: () => (id: string) => Required<import("node_modules/@puckeditor/core/dist/actions-BkBoKAc5").t> | undefined;
|
|
15
|
-
export interface PuckComponentInfo {
|
|
16
|
-
component: Record<string, any>;
|
|
17
|
-
index: number;
|
|
18
|
-
resolvedZone: string;
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { LucideIcon } from "lucide-react";
|
|
2
|
-
export interface IconEntry {
|
|
3
|
-
name: string;
|
|
4
|
-
component: LucideIcon;
|
|
5
|
-
}
|
|
6
|
-
export interface IconCategory {
|
|
7
|
-
label: string;
|
|
8
|
-
icons: IconEntry[];
|
|
9
|
-
}
|
|
10
|
-
export declare const ICON_CATALOG: IconCategory[];
|
|
11
|
-
/** Flat map of icon name → LucideIcon component */
|
|
12
|
-
export declare const ICON_MAP: Map<string, LucideIcon>;
|
|
13
|
-
/** Set of all curated icon names, for membership checks */
|
|
14
|
-
export declare const CURATED_ICON_SET: Set<string>;
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import { ArrowRight, ArrowLeft, ArrowUp, ArrowDown, ArrowUpRight, ChevronRight, ChevronLeft, ChevronDown, ChevronUp, ChevronsRight, MoveRight, ExternalLink, CornerDownRight, Undo2, Redo2, Mail, Phone, MessageCircle, MessageSquare, Send, AtSign, Inbox, Bell, BellRing, Megaphone, PhoneCall, Voicemail, Globe, Share2, Link, ThumbsUp, Heart, Star, Users, User, UserPlus, UserCheck, HandHeart, Handshake, Briefcase, Building2, CreditCard, DollarSign, Wallet, Receipt, BarChart3, TrendingUp, PiggyBank, BadgeDollarSign, ChartPie, Landmark, Image, Video, Camera, Play, Music, FileText, BookOpen, PenTool, Newspaper, Mic, Headphones, Film, Code, Terminal, Cpu, Database, Server, Cloud, Wifi, Smartphone, Monitor, Laptop, HardDrive, GitBranch, Check, CheckCircle, CircleCheck, X, XCircle, AlertTriangle, AlertCircle, Info, Ban, Loader, CircleAlert, ShieldCheck, Search, Settings, Menu, Plus, Minus, Pencil, Trash2, Copy, Download, Upload, Filter, Eye, EyeOff, Lock, Unlock, MoreHorizontal, Grip, Sun, Moon, Zap, Flame, Droplets, Leaf, Mountain, Compass, MapPin, Clock, Calendar, Gift, TreePine, Snowflake, CloudRain, ShoppingCart, ShoppingBag, Tag, Percent, Store, Package, Truck, Box, BadgePercent, Ticket } from "lucide-react";
|
|
2
|
-
function entry(name, component) {
|
|
3
|
-
return { name, component };
|
|
4
|
-
}
|
|
5
|
-
const ICON_CATALOG = [
|
|
6
|
-
{
|
|
7
|
-
label: "Navigation",
|
|
8
|
-
icons: [
|
|
9
|
-
entry("arrow-right", ArrowRight),
|
|
10
|
-
entry("arrow-left", ArrowLeft),
|
|
11
|
-
entry("arrow-up", ArrowUp),
|
|
12
|
-
entry("arrow-down", ArrowDown),
|
|
13
|
-
entry("arrow-up-right", ArrowUpRight),
|
|
14
|
-
entry("chevron-right", ChevronRight),
|
|
15
|
-
entry("chevron-left", ChevronLeft),
|
|
16
|
-
entry("chevron-down", ChevronDown),
|
|
17
|
-
entry("chevron-up", ChevronUp),
|
|
18
|
-
entry("chevrons-right", ChevronsRight),
|
|
19
|
-
entry("move-right", MoveRight),
|
|
20
|
-
entry("external-link", ExternalLink),
|
|
21
|
-
entry("corner-down-right", CornerDownRight),
|
|
22
|
-
entry("undo-2", Undo2),
|
|
23
|
-
entry("redo-2", Redo2)
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: "Communication",
|
|
28
|
-
icons: [
|
|
29
|
-
entry("mail", Mail),
|
|
30
|
-
entry("phone", Phone),
|
|
31
|
-
entry("message-circle", MessageCircle),
|
|
32
|
-
entry("message-square", MessageSquare),
|
|
33
|
-
entry("send", Send),
|
|
34
|
-
entry("at-sign", AtSign),
|
|
35
|
-
entry("inbox", Inbox),
|
|
36
|
-
entry("bell", Bell),
|
|
37
|
-
entry("bell-ring", BellRing),
|
|
38
|
-
entry("megaphone", Megaphone),
|
|
39
|
-
entry("phone-call", PhoneCall),
|
|
40
|
-
entry("voicemail", Voicemail)
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
label: "Social",
|
|
45
|
-
icons: [
|
|
46
|
-
entry("globe", Globe),
|
|
47
|
-
entry("share-2", Share2),
|
|
48
|
-
entry("link", Link),
|
|
49
|
-
entry("thumbs-up", ThumbsUp),
|
|
50
|
-
entry("heart", Heart),
|
|
51
|
-
entry("star", Star),
|
|
52
|
-
entry("users", Users),
|
|
53
|
-
entry("user", User),
|
|
54
|
-
entry("user-plus", UserPlus),
|
|
55
|
-
entry("user-check", UserCheck),
|
|
56
|
-
entry("hand-heart", HandHeart),
|
|
57
|
-
entry("handshake", Handshake)
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
label: "Business",
|
|
62
|
-
icons: [
|
|
63
|
-
entry("briefcase", Briefcase),
|
|
64
|
-
entry("building-2", Building2),
|
|
65
|
-
entry("credit-card", CreditCard),
|
|
66
|
-
entry("dollar-sign", DollarSign),
|
|
67
|
-
entry("wallet", Wallet),
|
|
68
|
-
entry("receipt", Receipt),
|
|
69
|
-
entry("bar-chart-3", BarChart3),
|
|
70
|
-
entry("trending-up", TrendingUp),
|
|
71
|
-
entry("piggy-bank", PiggyBank),
|
|
72
|
-
entry("badge-dollar-sign", BadgeDollarSign),
|
|
73
|
-
entry("chart-pie", ChartPie),
|
|
74
|
-
entry("landmark", Landmark)
|
|
75
|
-
]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
label: "Media",
|
|
79
|
-
icons: [
|
|
80
|
-
entry("image", Image),
|
|
81
|
-
entry("video", Video),
|
|
82
|
-
entry("camera", Camera),
|
|
83
|
-
entry("play", Play),
|
|
84
|
-
entry("music", Music),
|
|
85
|
-
entry("file-text", FileText),
|
|
86
|
-
entry("book-open", BookOpen),
|
|
87
|
-
entry("pen-tool", PenTool),
|
|
88
|
-
entry("newspaper", Newspaper),
|
|
89
|
-
entry("mic", Mic),
|
|
90
|
-
entry("headphones", Headphones),
|
|
91
|
-
entry("film", Film)
|
|
92
|
-
]
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: "Tech",
|
|
96
|
-
icons: [
|
|
97
|
-
entry("code", Code),
|
|
98
|
-
entry("terminal", Terminal),
|
|
99
|
-
entry("cpu", Cpu),
|
|
100
|
-
entry("database", Database),
|
|
101
|
-
entry("server", Server),
|
|
102
|
-
entry("cloud", Cloud),
|
|
103
|
-
entry("wifi", Wifi),
|
|
104
|
-
entry("smartphone", Smartphone),
|
|
105
|
-
entry("monitor", Monitor),
|
|
106
|
-
entry("laptop", Laptop),
|
|
107
|
-
entry("hard-drive", HardDrive),
|
|
108
|
-
entry("git-branch", GitBranch)
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
label: "Status",
|
|
113
|
-
icons: [
|
|
114
|
-
entry("check", Check),
|
|
115
|
-
entry("check-circle", CheckCircle),
|
|
116
|
-
entry("circle-check", CircleCheck),
|
|
117
|
-
entry("x", X),
|
|
118
|
-
entry("x-circle", XCircle),
|
|
119
|
-
entry("alert-triangle", AlertTriangle),
|
|
120
|
-
entry("alert-circle", AlertCircle),
|
|
121
|
-
entry("info", Info),
|
|
122
|
-
entry("ban", Ban),
|
|
123
|
-
entry("loader", Loader),
|
|
124
|
-
entry("circle-alert", CircleAlert),
|
|
125
|
-
entry("shield-check", ShieldCheck)
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
label: "UI",
|
|
130
|
-
icons: [
|
|
131
|
-
entry("search", Search),
|
|
132
|
-
entry("settings", Settings),
|
|
133
|
-
entry("menu", Menu),
|
|
134
|
-
entry("plus", Plus),
|
|
135
|
-
entry("minus", Minus),
|
|
136
|
-
entry("pencil", Pencil),
|
|
137
|
-
entry("trash-2", Trash2),
|
|
138
|
-
entry("copy", Copy),
|
|
139
|
-
entry("download", Download),
|
|
140
|
-
entry("upload", Upload),
|
|
141
|
-
entry("filter", Filter),
|
|
142
|
-
entry("eye", Eye),
|
|
143
|
-
entry("eye-off", EyeOff),
|
|
144
|
-
entry("lock", Lock),
|
|
145
|
-
entry("unlock", Unlock),
|
|
146
|
-
entry("more-horizontal", MoreHorizontal),
|
|
147
|
-
entry("grip", Grip)
|
|
148
|
-
]
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
label: "Nature",
|
|
152
|
-
icons: [
|
|
153
|
-
entry("sun", Sun),
|
|
154
|
-
entry("moon", Moon),
|
|
155
|
-
entry("zap", Zap),
|
|
156
|
-
entry("flame", Flame),
|
|
157
|
-
entry("droplets", Droplets),
|
|
158
|
-
entry("leaf", Leaf),
|
|
159
|
-
entry("mountain", Mountain),
|
|
160
|
-
entry("compass", Compass),
|
|
161
|
-
entry("map-pin", MapPin),
|
|
162
|
-
entry("clock", Clock),
|
|
163
|
-
entry("calendar", Calendar),
|
|
164
|
-
entry("gift", Gift),
|
|
165
|
-
entry("tree-pine", TreePine),
|
|
166
|
-
entry("snowflake", Snowflake),
|
|
167
|
-
entry("cloud-rain", CloudRain)
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
label: "Commerce",
|
|
172
|
-
icons: [
|
|
173
|
-
entry("shopping-cart", ShoppingCart),
|
|
174
|
-
entry("shopping-bag", ShoppingBag),
|
|
175
|
-
entry("tag", Tag),
|
|
176
|
-
entry("percent", Percent),
|
|
177
|
-
entry("store", Store),
|
|
178
|
-
entry("package", Package),
|
|
179
|
-
entry("truck", Truck),
|
|
180
|
-
entry("box", Box),
|
|
181
|
-
entry("badge-percent", BadgePercent),
|
|
182
|
-
entry("ticket", Ticket)
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
];
|
|
186
|
-
const ICON_MAP = new Map(
|
|
187
|
-
ICON_CATALOG.flatMap((cat) => cat.icons.map((e) => [e.name, e.component]))
|
|
188
|
-
);
|
|
189
|
-
new Set(ICON_MAP.keys());
|
|
190
|
-
export {
|
|
191
|
-
ICON_CATALOG,
|
|
192
|
-
ICON_MAP
|
|
193
|
-
};
|