dune-react 0.0.21 → 0.0.23
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/image.js +16 -16
- package/dist/components/puck-base/index.d.ts +1 -13
- package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +13 -13
- package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +3 -25
- package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +8 -8
- package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +8 -6
- package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +3 -1
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -1
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -1
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +1 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +2 -2
- package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +2 -2
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -1
- package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +1 -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 +1 -1
- package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +92 -63
- package/dist/components/puck-block/cta-sections/props.js +46 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +1 -73
- 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 +2 -74
- 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/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +1 -1
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +1 -1
- package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/feature-list-split/component.js +1 -1
- package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +2 -2
- package/dist/components/puck-block/feature-sections/tab-feature/component.js +80 -64
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +1 -1
- package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +1 -1
- package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +1 -1
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +72 -18
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +79 -0
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +43 -1
- package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +42 -1
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +4 -3
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +86 -0
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +1 -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 +38 -1
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +1 -1
- package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +55 -1
- package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +42 -1
- package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +55 -1
- package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +25 -28
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -2
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +2 -2
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +1 -1
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +2 -2
- package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +68 -65
- package/dist/components/puck-block/gallery-sections/props.d.ts +11 -1
- package/dist/components/puck-block/gallery-sections/props.js +7 -2
- package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +18 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +24 -27
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -2
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +25 -22
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +11 -1
- package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +3 -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 +119 -17
- 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 +162 -22
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +143 -19
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +3 -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 +1 -1
- package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +3 -2
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +50 -9
- 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 +2 -2
- package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +8 -8
- 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 +6 -6
- 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 +2 -2
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +5 -3
- package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +26 -17
- package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +3 -3
- 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 +1 -1
- package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +26 -29
- package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +60 -19
- 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 +25 -28
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -2
- package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +2 -2
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +3 -3
- package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +18 -6
- package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +9 -7
- 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 +7 -5
- package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +93 -44
- package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +14 -6
- package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
- package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +2 -2
- package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/tab-hero/component.js +4 -4
- package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -44
- package/dist/components/puck-block/hero-sections/tab-hero/index.js +7 -2
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +96 -46
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +1 -1
- package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +33 -10
- 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 +14 -12
- 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 +1 -1
- package/dist/components/puck-block/location-sections/location-2/location.d.ts +1 -1
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +2 -2
- package/dist/components/puck-block/location-sections/props.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +1 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +1 -1
- package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +2 -2
- package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +1 -1
- package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +1 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +0 -22
- package/dist/components/puck-block/metrics-sections/tab-stats/index.js +1 -1
- package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +39 -26
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +47 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +34 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +0 -22
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +1 -1
- package/dist/components/puck-block/pricing-sections/split-pricing/component.js +3 -3
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -22
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -1
- package/dist/components/puck-block/registry.generated.d.ts +13408 -0
- package/dist/components/puck-block/registry.generated.js +558 -0
- package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +1 -1
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +1 -1
- package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +1 -1
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +1 -23
- package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +1 -1
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +2 -2
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +1 -23
- package/dist/components/puck-block/team-sections/team-carousel/index.js +1 -2
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +1 -23
- package/dist/components/puck-block/team-sections/team-grid/index.js +1 -2
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +1 -23
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +1 -2
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +1 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +2 -2
- package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +0 -22
- package/dist/components/puck-block/text-sections/aside-nav-content/index.js +1 -1
- package/dist/components/puck-block/text-sections/blog-article/index.d.ts +0 -22
- package/dist/components/puck-block/text-sections/blog-article/index.js +1 -1
- package/dist/components/puck-block/text-sections/prose-content/component.js +1 -1
- package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +1 -23
- package/dist/components/puck-block/text-sections/side-media-content/component.js +1 -1
- package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +3 -3
- package/dist/components/puck-block/text-sections/text-header/index.d.ts +2 -2
- 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 +14 -5
- package/dist/components/puck-core/core/styles.d.ts +1 -1
- package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
- package/dist/components/{puck-base → puck-core}/core/with-editable.js +1 -1
- package/dist/components/puck-core/fields/action-field.js +1 -1
- package/dist/components/puck-core/fields/array-field.d.ts +7 -0
- package/dist/components/puck-core/fields/array-field.js +229 -0
- package/dist/components/{puck-base → puck-core}/fields/auto-field.js +11 -0
- package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +5 -5
- package/dist/components/puck-core/fields/index.d.ts +1 -0
- package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
- package/dist/components/{puck-base → puck-core}/fields/object-field.js +1 -1
- package/dist/components/puck-core/index.d.ts +1 -0
- package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
- package/dist/index.js +121 -104
- package/dist/node_modules/.pnpm/@dnd-kit_accessibility@3.1.1_react@19.2.4/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +59 -0
- package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@dnd-kit/core/dist/core.esm.js +3093 -0
- package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4__react@19.2.4/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +592 -0
- package/dist/node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.2.4/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +301 -0
- package/package.json +4 -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-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/color-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
|
@@ -13,9 +13,88 @@ declare const conf: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
columnLinks: {
|
|
17
|
+
type: string;
|
|
18
|
+
label: string;
|
|
19
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
20
|
+
defaultItemProps: {
|
|
21
|
+
links: {
|
|
22
|
+
title: string;
|
|
23
|
+
url: string;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
26
|
+
arrayFields: {
|
|
27
|
+
links: {
|
|
28
|
+
type: string;
|
|
29
|
+
label: string;
|
|
30
|
+
getItemSummary: (item: {
|
|
31
|
+
title?: string;
|
|
32
|
+
}, index?: number) => string;
|
|
33
|
+
defaultItemProps: {
|
|
34
|
+
title: string;
|
|
35
|
+
url: string;
|
|
36
|
+
};
|
|
37
|
+
arrayFields: {
|
|
38
|
+
title: {
|
|
39
|
+
type: string;
|
|
40
|
+
label: string;
|
|
41
|
+
};
|
|
42
|
+
url: {
|
|
43
|
+
type: string;
|
|
44
|
+
label: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
16
50
|
footerText: {
|
|
17
51
|
type: string;
|
|
18
52
|
};
|
|
53
|
+
footerLinks: {
|
|
54
|
+
type: string;
|
|
55
|
+
label: string;
|
|
56
|
+
getItemSummary: (item: {
|
|
57
|
+
title?: string;
|
|
58
|
+
}, index?: number) => string;
|
|
59
|
+
arrayFields: {
|
|
60
|
+
title: {
|
|
61
|
+
type: string;
|
|
62
|
+
label: string;
|
|
63
|
+
};
|
|
64
|
+
url: {
|
|
65
|
+
type: string;
|
|
66
|
+
label: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
styles: {
|
|
71
|
+
type: string;
|
|
72
|
+
label: string;
|
|
73
|
+
objectFields: {
|
|
74
|
+
className: {
|
|
75
|
+
readonly type: "text";
|
|
76
|
+
readonly label: "Class Name";
|
|
77
|
+
readonly ai: {
|
|
78
|
+
readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
style: {
|
|
82
|
+
readonly type: "object";
|
|
83
|
+
readonly label: "Style";
|
|
84
|
+
readonly objectFields: {};
|
|
85
|
+
readonly ai: {
|
|
86
|
+
readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
css: {
|
|
90
|
+
readonly type: "textarea";
|
|
91
|
+
readonly label: "Custom CSS";
|
|
92
|
+
readonly ai: {
|
|
93
|
+
readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
19
98
|
};
|
|
20
99
|
defaultProps: import("../props").FooterSectionBaseProps;
|
|
21
100
|
render: (props: CenteredMinimalFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,48 @@
|
|
|
1
1
|
import { CenteredMinimalFooter, CenteredMinimalFooterDefaults } from "./centered-minimal-footer.js";
|
|
2
2
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
3
|
-
|
|
3
|
+
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
4
|
+
const conf = {
|
|
5
|
+
fields: {
|
|
6
|
+
logo: imageField,
|
|
7
|
+
columnLinks: {
|
|
8
|
+
type: "array",
|
|
9
|
+
label: "Link Columns",
|
|
10
|
+
getItemSummary: (_item, index = 0) => `Column ${index + 1}`,
|
|
11
|
+
defaultItemProps: {
|
|
12
|
+
links: [{ title: "Link", url: "#" }]
|
|
13
|
+
},
|
|
14
|
+
arrayFields: {
|
|
15
|
+
links: {
|
|
16
|
+
type: "array",
|
|
17
|
+
label: "Links",
|
|
18
|
+
getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`,
|
|
19
|
+
defaultItemProps: { title: "Link", url: "#" },
|
|
20
|
+
arrayFields: {
|
|
21
|
+
title: { type: "text", label: "Title" },
|
|
22
|
+
url: { type: "text", label: "URL" }
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
footerText: { type: "text" },
|
|
28
|
+
footerLinks: {
|
|
29
|
+
type: "array",
|
|
30
|
+
label: "Footer Links",
|
|
31
|
+
getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`,
|
|
32
|
+
arrayFields: {
|
|
33
|
+
title: { type: "text", label: "Title" },
|
|
34
|
+
url: { type: "text", label: "URL" }
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
styles: {
|
|
38
|
+
type: "object",
|
|
39
|
+
label: "Styles",
|
|
40
|
+
objectFields: { ...sectionWrapperFields }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
defaultProps: CenteredMinimalFooterDefaults,
|
|
44
|
+
render: CenteredMinimalFooter
|
|
45
|
+
};
|
|
4
46
|
export {
|
|
5
47
|
CenteredMinimalFooter,
|
|
6
48
|
CenteredMinimalFooterDefaults,
|
|
@@ -25,7 +25,7 @@ declare const conf: {
|
|
|
25
25
|
readonly action: {
|
|
26
26
|
type: "custom";
|
|
27
27
|
label: string;
|
|
28
|
-
render: typeof import("
|
|
28
|
+
render: typeof import("../../..").ActionField;
|
|
29
29
|
};
|
|
30
30
|
readonly variant: {
|
|
31
31
|
readonly type: "select";
|
|
@@ -74,6 +74,47 @@ declare const conf: {
|
|
|
74
74
|
termsAndConditions: {
|
|
75
75
|
type: string;
|
|
76
76
|
};
|
|
77
|
+
columnLinks: {
|
|
78
|
+
type: string;
|
|
79
|
+
label: string;
|
|
80
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
81
|
+
arrayFields: {
|
|
82
|
+
links: {
|
|
83
|
+
type: string;
|
|
84
|
+
label: string;
|
|
85
|
+
getItemSummary: (item: {
|
|
86
|
+
title?: string;
|
|
87
|
+
}, index?: number) => string;
|
|
88
|
+
arrayFields: {
|
|
89
|
+
title: {
|
|
90
|
+
type: string;
|
|
91
|
+
label: string;
|
|
92
|
+
};
|
|
93
|
+
url: {
|
|
94
|
+
type: string;
|
|
95
|
+
label: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
footerLinks: {
|
|
102
|
+
type: string;
|
|
103
|
+
label: string;
|
|
104
|
+
getItemSummary: (item: {
|
|
105
|
+
title?: string;
|
|
106
|
+
}, index?: number) => string;
|
|
107
|
+
arrayFields: {
|
|
108
|
+
title: {
|
|
109
|
+
type: string;
|
|
110
|
+
label: string;
|
|
111
|
+
};
|
|
112
|
+
url: {
|
|
113
|
+
type: string;
|
|
114
|
+
label: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
77
118
|
footerText: {
|
|
78
119
|
type: string;
|
|
79
120
|
};
|
package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js
CHANGED
|
@@ -34,7 +34,8 @@ const ContactLinksFooter = (props) => {
|
|
|
34
34
|
] }) });
|
|
35
35
|
};
|
|
36
36
|
const ContactLinksFooterDefaults = {
|
|
37
|
-
|
|
37
|
+
__metadata: { type: "footer" },
|
|
38
|
+
logo: { url: "#", src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo image" },
|
|
38
39
|
heading: "",
|
|
39
40
|
description: "",
|
|
40
41
|
buttons: [],
|
|
@@ -44,12 +45,12 @@ const ContactLinksFooterDefaults = {
|
|
|
44
45
|
button: { label: "" },
|
|
45
46
|
termsAndConditions: "",
|
|
46
47
|
address: { label: "Address:", value: "Level 1, 12 Sample St, Sydney NSW 2000" },
|
|
47
|
-
contact: { label: "Contact:", phone: "1800 123 4567", email: "info@
|
|
48
|
+
contact: { label: "Contact:", phone: "1800 123 4567", email: "info@example.com" },
|
|
48
49
|
columnLinks: [
|
|
49
50
|
{ links: [{ title: "Link One", url: "#" }, { title: "Link Two", url: "#" }, { title: "Link Three", url: "#" }] },
|
|
50
51
|
{ links: [{ title: "Link Four", url: "#" }, { title: "Link Five", url: "#" }, { title: "Link Six", url: "#" }] }
|
|
51
52
|
],
|
|
52
|
-
footerText: "© 2024
|
|
53
|
+
footerText: "© 2024 Company. All rights reserved.",
|
|
53
54
|
footerLinks: [{ title: "Privacy Policy", url: "#" }, { title: "Terms of Service", url: "#" }],
|
|
54
55
|
socialMediaLinks: [],
|
|
55
56
|
companyImages: [],
|
|
@@ -13,6 +13,92 @@ declare const conf: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
+
address: {
|
|
17
|
+
type: string;
|
|
18
|
+
label: string;
|
|
19
|
+
objectFields: {
|
|
20
|
+
label: {
|
|
21
|
+
type: string;
|
|
22
|
+
label: string;
|
|
23
|
+
};
|
|
24
|
+
value: {
|
|
25
|
+
type: string;
|
|
26
|
+
label: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
columnLinks: {
|
|
31
|
+
type: string;
|
|
32
|
+
label: string;
|
|
33
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
34
|
+
arrayFields: {
|
|
35
|
+
links: {
|
|
36
|
+
type: string;
|
|
37
|
+
label: string;
|
|
38
|
+
getItemSummary: (item: {
|
|
39
|
+
title?: string;
|
|
40
|
+
}, index?: number) => string;
|
|
41
|
+
arrayFields: {
|
|
42
|
+
title: {
|
|
43
|
+
type: string;
|
|
44
|
+
label: string;
|
|
45
|
+
};
|
|
46
|
+
url: {
|
|
47
|
+
type: string;
|
|
48
|
+
label: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
contact: {
|
|
55
|
+
type: string;
|
|
56
|
+
label: string;
|
|
57
|
+
objectFields: {
|
|
58
|
+
label: {
|
|
59
|
+
type: string;
|
|
60
|
+
label: string;
|
|
61
|
+
};
|
|
62
|
+
phone: {
|
|
63
|
+
type: string;
|
|
64
|
+
label: string;
|
|
65
|
+
};
|
|
66
|
+
email: {
|
|
67
|
+
type: string;
|
|
68
|
+
label: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
footerLinks: {
|
|
73
|
+
type: string;
|
|
74
|
+
label: string;
|
|
75
|
+
getItemSummary: (item: {
|
|
76
|
+
title?: string;
|
|
77
|
+
}, index?: number) => string;
|
|
78
|
+
arrayFields: {
|
|
79
|
+
title: {
|
|
80
|
+
type: string;
|
|
81
|
+
label: string;
|
|
82
|
+
};
|
|
83
|
+
url: {
|
|
84
|
+
type: string;
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
socialMediaLinks: {
|
|
90
|
+
type: string;
|
|
91
|
+
label: string;
|
|
92
|
+
getItemSummary: (item: {
|
|
93
|
+
url?: string;
|
|
94
|
+
}, index?: number) => string;
|
|
95
|
+
arrayFields: {
|
|
96
|
+
url: {
|
|
97
|
+
type: string;
|
|
98
|
+
label: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
16
102
|
footerText: {
|
|
17
103
|
type: string;
|
|
18
104
|
};
|
|
@@ -2,7 +2,7 @@ import { ContactLinksFooter, ContactLinksFooterDefaults } from "./contact-links-
|
|
|
2
2
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
3
3
|
import { footerStyleFields } from "../props.js";
|
|
4
4
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
5
|
-
const conf = { fields: { logo: imageField, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, hasCompanyImage: footerStyleFields.hasCompanyImage, ...sectionWrapperFields } } }, defaultProps: ContactLinksFooterDefaults, render: ContactLinksFooter };
|
|
5
|
+
const conf = { fields: { logo: imageField, address: { type: "object", label: "Address", objectFields: { label: { type: "text", label: "Label" }, value: { type: "text", label: "Value" } } }, columnLinks: { type: "array", label: "Link Columns", getItemSummary: (_item, index = 0) => `Column ${index + 1}`, arrayFields: { links: { type: "array", label: "Links", getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`, arrayFields: { title: { type: "text", label: "Title" }, url: { type: "text", label: "URL" } } } } }, contact: { type: "object", label: "Contact", objectFields: { label: { type: "text", label: "Label" }, phone: { type: "text", label: "Phone" }, email: { type: "text", label: "Email" } } }, footerLinks: { type: "array", label: "Footer Links", getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`, arrayFields: { title: { type: "text", label: "Title" }, url: { type: "text", label: "URL" } } }, socialMediaLinks: { type: "array", label: "Social Links", getItemSummary: (item, index = 0) => item.url || `Social ${index + 1}`, arrayFields: { url: { type: "text", label: "URL" } } }, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, hasCompanyImage: footerStyleFields.hasCompanyImage, ...sectionWrapperFields } } }, defaultProps: ContactLinksFooterDefaults, render: ContactLinksFooter };
|
|
6
6
|
export {
|
|
7
7
|
ContactLinksFooter,
|
|
8
8
|
ContactLinksFooterDefaults,
|
|
@@ -25,7 +25,8 @@ const CtaLinksFooter = (props) => {
|
|
|
25
25
|
] }) });
|
|
26
26
|
};
|
|
27
27
|
const CtaLinksFooterDefaults = {
|
|
28
|
-
|
|
28
|
+
__metadata: { type: "footer" },
|
|
29
|
+
logo: { url: "#", src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo image" },
|
|
29
30
|
heading: "Medium length footer heading goes here",
|
|
30
31
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
31
32
|
buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
|
|
@@ -38,7 +39,7 @@ const CtaLinksFooterDefaults = {
|
|
|
38
39
|
{ links: [{ title: "Link One", url: "#" }, { title: "Link Two", url: "#" }, { title: "Link Three", url: "#" }] },
|
|
39
40
|
{ links: [{ title: "Link Four", url: "#" }, { title: "Link Five", url: "#" }, { title: "Link Six", url: "#" }] }
|
|
40
41
|
],
|
|
41
|
-
footerText: "© 2024
|
|
42
|
+
footerText: "© 2024 Company. All rights reserved.",
|
|
42
43
|
footerLinks: [],
|
|
43
44
|
socialMediaLinks: [],
|
|
44
45
|
address: { label: "", value: "" },
|
|
@@ -34,7 +34,7 @@ declare const conf: {
|
|
|
34
34
|
readonly action: {
|
|
35
35
|
type: "custom";
|
|
36
36
|
label: string;
|
|
37
|
-
render: typeof import("
|
|
37
|
+
render: typeof import("../../..").ActionField;
|
|
38
38
|
};
|
|
39
39
|
readonly variant: {
|
|
40
40
|
readonly type: "select";
|
|
@@ -100,6 +100,43 @@ declare const conf: {
|
|
|
100
100
|
readonly instructions: "Buttons must use the same size";
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
+
columnLinks: {
|
|
104
|
+
type: string;
|
|
105
|
+
label: string;
|
|
106
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
107
|
+
arrayFields: {
|
|
108
|
+
links: {
|
|
109
|
+
type: string;
|
|
110
|
+
label: string;
|
|
111
|
+
getItemSummary: (item: {
|
|
112
|
+
title?: string;
|
|
113
|
+
}, index?: number) => string;
|
|
114
|
+
arrayFields: {
|
|
115
|
+
title: {
|
|
116
|
+
type: string;
|
|
117
|
+
label: string;
|
|
118
|
+
};
|
|
119
|
+
url: {
|
|
120
|
+
type: string;
|
|
121
|
+
label: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
socialMediaLinks: {
|
|
128
|
+
type: string;
|
|
129
|
+
label: string;
|
|
130
|
+
getItemSummary: (item: {
|
|
131
|
+
url?: string;
|
|
132
|
+
}, index?: number) => string;
|
|
133
|
+
arrayFields: {
|
|
134
|
+
url: {
|
|
135
|
+
type: string;
|
|
136
|
+
label: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
103
140
|
footerText: {
|
|
104
141
|
type: string;
|
|
105
142
|
};
|
|
@@ -4,7 +4,7 @@ import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
|
4
4
|
import { imageField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { footerStyleFields } from "../props.js";
|
|
6
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
|
-
const conf = { fields: { logo: imageField, heading: headingField, description: descriptionField, buttons: buttonsField, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, ...sectionWrapperFields } } }, defaultProps: CtaLinksFooterDefaults, render: CtaLinksFooter };
|
|
7
|
+
const conf = { fields: { logo: imageField, heading: headingField, description: descriptionField, buttons: buttonsField, columnLinks: { type: "array", label: "Link Columns", getItemSummary: (_item, index = 0) => `Column ${index + 1}`, arrayFields: { links: { type: "array", label: "Links", getItemSummary: (item, index = 0) => item.title || `Link ${index + 1}`, arrayFields: { title: { type: "text", label: "Title" }, url: { type: "text", label: "URL" } } } } }, socialMediaLinks: { type: "array", label: "Social Links", getItemSummary: (item, index = 0) => item.url || `Social ${index + 1}`, arrayFields: { url: { type: "text", label: "URL" } } }, footerText: { type: "text" }, styles: { type: "object", label: "Styles", objectFields: { bordered: footerStyleFields.bordered, ...sectionWrapperFields } } }, defaultProps: CtaLinksFooterDefaults, render: CtaLinksFooter };
|
|
8
8
|
export {
|
|
9
9
|
CtaLinksFooter,
|
|
10
10
|
CtaLinksFooterDefaults,
|
|
@@ -32,7 +32,7 @@ declare const conf: {
|
|
|
32
32
|
readonly action: {
|
|
33
33
|
type: "custom";
|
|
34
34
|
label: string;
|
|
35
|
-
render: typeof import("
|
|
35
|
+
render: typeof import("../../..").ActionField;
|
|
36
36
|
};
|
|
37
37
|
readonly variant: {
|
|
38
38
|
readonly type: "select";
|
|
@@ -81,6 +81,60 @@ declare const conf: {
|
|
|
81
81
|
termsAndConditions: {
|
|
82
82
|
type: string;
|
|
83
83
|
};
|
|
84
|
+
columnLinks: {
|
|
85
|
+
type: string;
|
|
86
|
+
label: string;
|
|
87
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
88
|
+
arrayFields: {
|
|
89
|
+
links: {
|
|
90
|
+
type: string;
|
|
91
|
+
label: string;
|
|
92
|
+
getItemSummary: (item: {
|
|
93
|
+
title?: string;
|
|
94
|
+
}, index?: number) => string;
|
|
95
|
+
arrayFields: {
|
|
96
|
+
title: {
|
|
97
|
+
type: string;
|
|
98
|
+
label: string;
|
|
99
|
+
};
|
|
100
|
+
url: {
|
|
101
|
+
type: string;
|
|
102
|
+
label: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
footerLinks: {
|
|
109
|
+
type: string;
|
|
110
|
+
label: string;
|
|
111
|
+
getItemSummary: (item: {
|
|
112
|
+
title?: string;
|
|
113
|
+
}, index?: number) => string;
|
|
114
|
+
arrayFields: {
|
|
115
|
+
title: {
|
|
116
|
+
type: string;
|
|
117
|
+
label: string;
|
|
118
|
+
};
|
|
119
|
+
url: {
|
|
120
|
+
type: string;
|
|
121
|
+
label: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
socialMediaLinks: {
|
|
126
|
+
type: string;
|
|
127
|
+
label: string;
|
|
128
|
+
getItemSummary: (item: {
|
|
129
|
+
url?: string;
|
|
130
|
+
}, index?: number) => string;
|
|
131
|
+
arrayFields: {
|
|
132
|
+
url: {
|
|
133
|
+
type: string;
|
|
134
|
+
label: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
84
138
|
footerText: {
|
|
85
139
|
type: string;
|
|
86
140
|
};
|
|
@@ -29,7 +29,7 @@ declare const conf: {
|
|
|
29
29
|
readonly action: {
|
|
30
30
|
type: "custom";
|
|
31
31
|
label: string;
|
|
32
|
-
render: typeof import("
|
|
32
|
+
render: typeof import("../../..").ActionField;
|
|
33
33
|
};
|
|
34
34
|
readonly variant: {
|
|
35
35
|
readonly type: "select";
|
|
@@ -78,6 +78,47 @@ declare const conf: {
|
|
|
78
78
|
termsAndConditions: {
|
|
79
79
|
type: string;
|
|
80
80
|
};
|
|
81
|
+
columnLinks: {
|
|
82
|
+
type: string;
|
|
83
|
+
label: string;
|
|
84
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
85
|
+
arrayFields: {
|
|
86
|
+
links: {
|
|
87
|
+
type: string;
|
|
88
|
+
label: string;
|
|
89
|
+
getItemSummary: (item: {
|
|
90
|
+
title?: string;
|
|
91
|
+
}, index?: number) => string;
|
|
92
|
+
arrayFields: {
|
|
93
|
+
title: {
|
|
94
|
+
type: string;
|
|
95
|
+
label: string;
|
|
96
|
+
};
|
|
97
|
+
url: {
|
|
98
|
+
type: string;
|
|
99
|
+
label: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
footerLinks: {
|
|
106
|
+
type: string;
|
|
107
|
+
label: string;
|
|
108
|
+
getItemSummary: (item: {
|
|
109
|
+
title?: string;
|
|
110
|
+
}, index?: number) => string;
|
|
111
|
+
arrayFields: {
|
|
112
|
+
title: {
|
|
113
|
+
type: string;
|
|
114
|
+
label: string;
|
|
115
|
+
};
|
|
116
|
+
url: {
|
|
117
|
+
type: string;
|
|
118
|
+
label: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
81
122
|
footerText: {
|
|
82
123
|
type: string;
|
|
83
124
|
};
|
|
@@ -32,7 +32,7 @@ declare const conf: {
|
|
|
32
32
|
readonly action: {
|
|
33
33
|
type: "custom";
|
|
34
34
|
label: string;
|
|
35
|
-
render: typeof import("
|
|
35
|
+
render: typeof import("../../..").ActionField;
|
|
36
36
|
};
|
|
37
37
|
readonly variant: {
|
|
38
38
|
readonly type: "select";
|
|
@@ -81,6 +81,60 @@ declare const conf: {
|
|
|
81
81
|
termsAndConditions: {
|
|
82
82
|
type: string;
|
|
83
83
|
};
|
|
84
|
+
columnLinks: {
|
|
85
|
+
type: string;
|
|
86
|
+
label: string;
|
|
87
|
+
getItemSummary: (_item: unknown, index?: number) => string;
|
|
88
|
+
arrayFields: {
|
|
89
|
+
links: {
|
|
90
|
+
type: string;
|
|
91
|
+
label: string;
|
|
92
|
+
getItemSummary: (item: {
|
|
93
|
+
title?: string;
|
|
94
|
+
}, index?: number) => string;
|
|
95
|
+
arrayFields: {
|
|
96
|
+
title: {
|
|
97
|
+
type: string;
|
|
98
|
+
label: string;
|
|
99
|
+
};
|
|
100
|
+
url: {
|
|
101
|
+
type: string;
|
|
102
|
+
label: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
footerLinks: {
|
|
109
|
+
type: string;
|
|
110
|
+
label: string;
|
|
111
|
+
getItemSummary: (item: {
|
|
112
|
+
title?: string;
|
|
113
|
+
}, index?: number) => string;
|
|
114
|
+
arrayFields: {
|
|
115
|
+
title: {
|
|
116
|
+
type: string;
|
|
117
|
+
label: string;
|
|
118
|
+
};
|
|
119
|
+
url: {
|
|
120
|
+
type: string;
|
|
121
|
+
label: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
socialMediaLinks: {
|
|
126
|
+
type: string;
|
|
127
|
+
label: string;
|
|
128
|
+
getItemSummary: (item: {
|
|
129
|
+
url?: string;
|
|
130
|
+
}, index?: number) => string;
|
|
131
|
+
arrayFields: {
|
|
132
|
+
url: {
|
|
133
|
+
type: string;
|
|
134
|
+
label: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
84
138
|
footerText: {
|
|
85
139
|
type: string;
|
|
86
140
|
};
|
package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js
CHANGED
|
@@ -112,7 +112,7 @@ const defaultProject = {
|
|
|
112
112
|
description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.",
|
|
113
113
|
image: {
|
|
114
114
|
src: "https://picsum.photos/seed/fullscreen-port/1920/1080",
|
|
115
|
-
alt: "
|
|
115
|
+
alt: "Placeholder image"
|
|
116
116
|
},
|
|
117
117
|
url: "#",
|
|
118
118
|
button: { label: "View project", variant: "secondary" }
|