dune-react 0.0.40 → 0.0.42

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.
Files changed (158) hide show
  1. package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +96 -0
  2. package/dist/components/puck-block/contact-sections/centered-form/index.js +6 -1
  3. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +3 -3
  4. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +159 -0
  5. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +14 -1
  6. package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +99 -0
  7. package/dist/components/puck-block/contact-sections/contact-modal/index.js +7 -1
  8. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +87 -0
  9. package/dist/components/puck-block/contact-sections/form-with-media/index.js +4 -1
  10. package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +104 -0
  11. package/dist/components/puck-block/contact-sections/header-form-cards/index.js +13 -2
  12. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +150 -0
  13. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +12 -1
  14. package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +150 -0
  15. package/dist/components/puck-block/contact-sections/info-cards-media/index.js +12 -1
  16. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +147 -0
  17. package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +5 -1
  18. package/dist/components/puck-block/contact-sections/props.d.ts +1 -1
  19. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +96 -0
  20. package/dist/components/puck-block/contact-sections/split-info-form/index.js +6 -1
  21. package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +147 -0
  22. package/dist/components/puck-block/contact-sections/tab-locations/index.js +5 -1
  23. package/dist/components/puck-block/cta-sections/props.d.ts +1 -1
  24. package/dist/components/puck-block/cta-sections/props.js +8 -0
  25. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +75 -0
  26. package/dist/components/puck-block/cta-sections/side-media-cta/index.js +6 -6
  27. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +3 -3
  28. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +3 -3
  29. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +2 -2
  30. package/dist/components/puck-block/faq-sections/props.d.ts +2 -2
  31. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -5
  32. package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +3 -3
  33. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +6 -0
  34. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +2 -0
  35. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +2 -2
  36. package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +6 -0
  37. package/dist/components/puck-block/faq-sections/two-column-static-faq/index.js +2 -0
  38. package/dist/components/puck-block/feature-sections/props.d.ts +3 -3
  39. package/dist/components/puck-block/feature-sections/text-media-split/component.js +6 -6
  40. package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -8
  41. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +226 -2
  42. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +34 -1
  43. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +2 -2
  44. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +159 -2
  45. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +32 -2
  46. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +2 -2
  47. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +114 -2
  48. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +44 -2
  49. package/dist/components/puck-block/footer-sections/props.d.ts +2 -2
  50. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +145 -0
  51. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +6 -0
  52. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +169 -0
  53. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +11 -2
  54. package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -6
  55. package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +145 -0
  56. package/dist/components/puck-block/gallery-sections/image-carousel/index.js +6 -0
  57. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +163 -0
  58. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +9 -1
  59. package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +145 -0
  60. package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +6 -0
  61. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +104 -0
  62. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +7 -3
  63. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +3 -3
  64. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +104 -0
  65. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +7 -3
  66. package/dist/components/puck-block/gallery-sections/props.d.ts +3 -3
  67. package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +145 -0
  68. package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +7 -1
  69. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +228 -0
  70. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +13 -1
  71. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +145 -0
  72. package/dist/components/puck-block/gallery-sections/split-carousel/index.js +6 -0
  73. package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +145 -0
  74. package/dist/components/puck-block/gallery-sections/static-grid/index.js +6 -0
  75. package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +5 -2
  76. package/dist/components/puck-block/header-sections/centered-navbar/index.js +8 -1
  77. package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +5 -2
  78. package/dist/components/puck-block/header-sections/drawer-navbar/index.js +1 -1
  79. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +5 -2
  80. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +1 -1
  81. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +5 -2
  82. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +1 -1
  83. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +5 -2
  84. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +1 -1
  85. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +5 -2
  86. package/dist/components/puck-block/header-sections/standard-navbar/index.js +8 -1
  87. package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +1 -6
  88. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +24 -36
  89. package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +0 -6
  90. package/dist/components/puck-block/hero-sections/carousel-hero/index.js +1 -3
  91. package/dist/components/puck-block/hero-sections/props.d.ts +2 -2
  92. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +5 -5
  93. package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +79 -0
  94. package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +2 -0
  95. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +6 -1
  96. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +55 -0
  97. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
  98. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +7 -7
  99. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +55 -0
  100. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
  101. package/dist/components/puck-block/pricing-sections/props.d.ts +2 -2
  102. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +64 -0
  103. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +5 -1
  104. package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +70 -0
  105. package/dist/components/puck-block/pricing-sections/split-pricing/index.js +7 -2
  106. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +78 -0
  107. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +13 -1
  108. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +23 -0
  109. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +10 -1
  110. package/dist/components/puck-block/registry.generated.d.ts +5734 -2060
  111. package/dist/components/puck-block/registry.generated.js +14 -14
  112. package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +3 -3
  113. package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +3 -3
  114. package/dist/components/puck-block/showcase-sections/props.d.ts +2 -2
  115. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +6 -6
  116. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +6 -6
  117. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +6 -6
  118. package/dist/components/puck-block/team-sections/props.d.ts +1 -1
  119. package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +25 -0
  120. package/dist/components/puck-block/team-sections/team-carousel/index.js +22 -1
  121. package/dist/components/puck-block/team-sections/team-grid/component.js +3 -3
  122. package/dist/components/puck-block/team-sections/team-grid/index.d.ts +25 -0
  123. package/dist/components/puck-block/team-sections/team-grid/index.js +22 -1
  124. package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +25 -0
  125. package/dist/components/puck-block/team-sections/team-inline-card/index.js +22 -1
  126. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +25 -0
  127. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +22 -1
  128. package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +25 -0
  129. package/dist/components/puck-block/team-sections/team-two-column/index.js +22 -1
  130. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
  131. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +3 -0
  132. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +6 -1
  133. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +3 -3
  134. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +9 -0
  135. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
  136. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.d.ts +9 -0
  137. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.js +3 -1
  138. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +9 -0
  139. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
  140. package/dist/components/puck-block/testimonial-sections/props.d.ts +5 -5
  141. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +9 -0
  142. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
  143. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +7 -7
  144. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +47 -0
  145. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +5 -1
  146. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -6
  147. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +30 -0
  148. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +6 -1
  149. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +9 -9
  150. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +21 -0
  151. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +5 -1
  152. package/dist/components/puck-block/text-sections/blog-article/component.js +3 -3
  153. package/dist/components/puck-block/text-sections/props.d.ts +3 -3
  154. package/dist/components/puck-block/text-sections/prose-content/component.js +3 -3
  155. package/dist/components/puck-core/core/props/index.js +7 -0
  156. package/dist/components/puck-core/core/puck-fields-to-zod.d.ts +1 -0
  157. package/dist/components/puck-core/core/puck-fields-to-zod.js +21 -10
  158. package/package.json +1 -1
@@ -6,7 +6,14 @@ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
6
  const conf = {
7
7
  fields: {
8
8
  __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } },
9
- logo: mediaField,
9
+ logo: {
10
+ type: "object",
11
+ objectFields: {
12
+ src: mediaField.objectFields.src,
13
+ alt: { type: "text" },
14
+ url: { type: "text" }
15
+ }
16
+ },
10
17
  navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } },
11
18
  buttons: buttonsField,
12
19
  socialLinks: socialLinksField,
@@ -16,11 +16,14 @@ declare const conf: {
16
16
  };
17
17
  };
18
18
  logo: {
19
- type: "object";
19
+ type: string;
20
20
  objectFields: {
21
21
  src: import("@puckeditor/core").Field<string>;
22
22
  alt: {
23
- type: "text";
23
+ type: string;
24
+ };
25
+ url: {
26
+ type: string;
24
27
  };
25
28
  };
26
29
  };
@@ -4,7 +4,7 @@ import { socialLinksField, buttonsField } from "../../../puck-core/core/props/in
4
4
  import { headerStyleFields } from "../props.js";
5
5
  import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
6
  const conf = {
7
- fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: mediaField, navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
7
+ fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: { type: "object", objectFields: { src: mediaField.objectFields.src, alt: { type: "text" }, url: { type: "text" } } }, navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
8
8
  defaultProps: DrawerNavbarDefaults,
9
9
  render: DrawerNavbar
10
10
  };
@@ -16,11 +16,14 @@ declare const conf: {
16
16
  };
17
17
  };
18
18
  logo: {
19
- type: "object";
19
+ type: string;
20
20
  objectFields: {
21
21
  src: import("@puckeditor/core").Field<string>;
22
22
  alt: {
23
- type: "text";
23
+ type: string;
24
+ };
25
+ url: {
26
+ type: string;
24
27
  };
25
28
  };
26
29
  };
@@ -4,7 +4,7 @@ import { socialLinksField, buttonsField } from "../../../puck-core/core/props/in
4
4
  import { headerStyleFields } from "../props.js";
5
5
  import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
6
  const conf = {
7
- fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: mediaField, navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { position: headerStyleFields.position, showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
7
+ fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: { type: "object", objectFields: { src: mediaField.objectFields.src, alt: { type: "text" }, url: { type: "text" } } }, navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { position: headerStyleFields.position, showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
8
8
  defaultProps: FloatingBorderedNavbarDefaults,
9
9
  render: FloatingBorderedNavbar
10
10
  };
@@ -16,11 +16,14 @@ declare const conf: {
16
16
  };
17
17
  };
18
18
  logo: {
19
- type: "object";
19
+ type: string;
20
20
  objectFields: {
21
21
  src: import("@puckeditor/core").Field<string>;
22
22
  alt: {
23
- type: "text";
23
+ type: string;
24
+ };
25
+ url: {
26
+ type: string;
24
27
  };
25
28
  };
26
29
  };
@@ -4,7 +4,7 @@ import { socialLinksField, buttonsField } from "../../../puck-core/core/props/in
4
4
  import { headerStyleFields } from "../props.js";
5
5
  import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
6
  const conf = {
7
- fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: mediaField, navLinks: { type: "array", max: 8, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { overlayContent: headerStyleFields.overlayContent, showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
7
+ fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: { type: "object", objectFields: { src: mediaField.objectFields.src, alt: { type: "text" }, url: { type: "text" } } }, navLinks: { type: "array", max: 8, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { overlayContent: headerStyleFields.overlayContent, showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
8
8
  defaultProps: FullscreenOverlayNavbarDefaults,
9
9
  render: FullscreenOverlayNavbar
10
10
  };
@@ -16,11 +16,14 @@ declare const conf: {
16
16
  };
17
17
  };
18
18
  logo: {
19
- type: "object";
19
+ type: string;
20
20
  objectFields: {
21
21
  src: import("@puckeditor/core").Field<string>;
22
22
  alt: {
23
- type: "text";
23
+ type: string;
24
+ };
25
+ url: {
26
+ type: string;
24
27
  };
25
28
  };
26
29
  };
@@ -4,7 +4,7 @@ import { socialLinksField, buttonsField } from "../../../puck-core/core/props/in
4
4
  import { headerStyleFields } from "../props.js";
5
5
  import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
6
  const conf = {
7
- fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: mediaField, navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { megaMenuLayout: headerStyleFields.megaMenuLayout, showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
7
+ fields: { __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } }, logo: { type: "object", objectFields: { src: mediaField.objectFields.src, alt: { type: "text" }, url: { type: "text" } } }, navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } }, buttons: buttonsField, socialLinks: socialLinksField, styles: { type: "object", label: "Styles", objectFields: { megaMenuLayout: headerStyleFields.megaMenuLayout, showSocialLinks: headerStyleFields.showSocialLinks, ...sectionWrapperFields } } },
8
8
  defaultProps: MegaMenuNavbarDefaults,
9
9
  render: MegaMenuNavbar
10
10
  };
@@ -16,11 +16,14 @@ declare const conf: {
16
16
  };
17
17
  };
18
18
  logo: {
19
- type: "object";
19
+ type: string;
20
20
  objectFields: {
21
21
  src: import("@puckeditor/core").Field<string>;
22
22
  alt: {
23
- type: "text";
23
+ type: string;
24
+ };
25
+ url: {
26
+ type: string;
24
27
  };
25
28
  };
26
29
  };
@@ -6,7 +6,14 @@ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
6
  const conf = {
7
7
  fields: {
8
8
  __metadata: { type: "object", ai: { instructions: "Layout metadata identifying this component as a header section. The type field must always be 'header'." }, objectFields: { type: { type: "text" } } },
9
- logo: mediaField,
9
+ logo: {
10
+ type: "object",
11
+ objectFields: {
12
+ src: mediaField.objectFields.src,
13
+ alt: { type: "text" },
14
+ url: { type: "text" }
15
+ }
16
+ },
10
17
  navLinks: { type: "array", max: 6, getItemSummary: (item, i = 0) => item.title || `Link ${i + 1}`, arrayFields: { title: { type: "text" }, url: { type: "text" } } },
11
18
  buttons: buttonsField,
12
19
  socialLinks: socialLinksField,
@@ -1,9 +1,4 @@
1
1
  import type { HeroComponentProps } from "../props";
2
- type CarouselHeroExtra = {
3
- carouselHeading: string;
4
- carouselDescription: string;
5
- };
6
- export type CarouselHeroProps = HeroComponentProps<CarouselHeroExtra>;
2
+ export type CarouselHeroProps = HeroComponentProps;
7
3
  export declare const CarouselHero: (props: CarouselHeroProps) => import("react/jsx-runtime").JSX.Element;
8
4
  export declare const CarouselHeroDefaults: CarouselHeroProps;
9
- export {};
@@ -15,8 +15,6 @@ const CarouselHero = (props) => {
15
15
  description,
16
16
  buttons,
17
17
  medias,
18
- carouselHeading,
19
- carouselDescription,
20
18
  styles
21
19
  } = {
22
20
  ...CarouselHeroDefaults,
@@ -59,43 +57,35 @@ const CarouselHero = (props) => {
59
57
  index
60
58
  )) })
61
59
  ] }),
62
- /* @__PURE__ */ jsx("div", { className: "relative clear-both h-[300px] max-h-[60rem] min-h-screen w-full text-center", children: /* @__PURE__ */ jsxs(
60
+ /* @__PURE__ */ jsx("div", { className: "relative clear-both h-[30rem] w-full text-center md:h-[40rem] lg:h-[48rem]", children: /* @__PURE__ */ jsxs(
63
61
  Carousel,
64
62
  {
65
63
  opts: { loop: true },
66
64
  plugins: [Autoplay({ delay: 5e3 })],
67
65
  setApi,
68
- className: "relative left-0 right-0 z-10 block h-full overflow-hidden whitespace-nowrap pl-4",
66
+ className: "group relative left-0 right-0 z-10 block h-full overflow-hidden whitespace-nowrap",
69
67
  children: [
70
- /* @__PURE__ */ jsx(CarouselContent, { children: medias.map((item, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "pl-0", children: /* @__PURE__ */ jsx("div", { className: "relative inline-block size-full whitespace-normal text-left align-top", children: /* @__PURE__ */ jsxs("div", { className: "flex h-screen flex-col", children: [
71
- /* @__PURE__ */ jsx("div", { className: "relative flex-1", children: /* @__PURE__ */ jsx(
72
- CompoundMedia,
73
- {
74
- className: "absolute size-full object-cover",
75
- src: item.src,
76
- alt: item.alt
77
- }
78
- ) }),
79
- /* @__PURE__ */ jsx("div", { className: "relative bg-background-secondary px-6 pb-32 pt-6 sm:px-8 sm:pt-8", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-lg", children: [
80
- /* @__PURE__ */ jsx("h6", { className: "mb-1 text-md font-bold leading-[1.4] md:text-xl", children: carouselHeading }),
81
- /* @__PURE__ */ jsx("p", { children: carouselDescription })
82
- ] }) })
83
- ] }) }) }, index)) }),
84
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between pl-4", children: [
85
- /* @__PURE__ */ jsx("div", { className: "absolute bottom-[52px] left-8 right-auto top-auto flex w-full items-start justify-start", children: medias.map((_, index) => /* @__PURE__ */ jsx(
86
- "button",
87
- {
88
- onClick: () => api == null ? void 0 : api.scrollTo(index),
89
- className: cn("mx-[3px] inline-block size-2 rounded-full", {
90
- "bg-black": current === index + 1,
91
- "bg-neutral-light": current !== index + 1
92
- })
93
- },
94
- index
95
- )) }),
96
- /* @__PURE__ */ jsx(CarouselPrevious, { className: "bottom-2 left-auto right-[5.5rem] top-auto size-12 bg-transparent md:right-24" }),
97
- /* @__PURE__ */ jsx(CarouselNext, { className: "bottom-2 left-auto right-8 top-auto size-12 bg-transparent" })
98
- ] })
68
+ /* @__PURE__ */ jsx(CarouselContent, { children: medias.map((item, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "pl-0", children: /* @__PURE__ */ jsx("div", { className: "relative h-[30rem] w-full md:h-[40rem] lg:h-[48rem]", children: /* @__PURE__ */ jsx(
69
+ CompoundMedia,
70
+ {
71
+ className: "absolute inset-0 size-full object-cover",
72
+ src: item.src,
73
+ alt: item.alt
74
+ }
75
+ ) }) }, index)) }),
76
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 bottom-4 flex justify-center gap-1.5", children: medias.map((_, index) => /* @__PURE__ */ jsx(
77
+ "button",
78
+ {
79
+ onClick: () => api == null ? void 0 : api.scrollTo(index),
80
+ className: cn("size-2 rounded-full", {
81
+ "bg-black": current === index + 1,
82
+ "bg-neutral-light": current !== index + 1
83
+ })
84
+ },
85
+ index
86
+ )) }),
87
+ /* @__PURE__ */ jsx(CarouselPrevious, { className: "left-3 top-1/2 size-10 -translate-y-1/2 cursor-pointer opacity-0 transition-opacity group-hover:opacity-100" }),
88
+ /* @__PURE__ */ jsx(CarouselNext, { className: "right-3 top-1/2 size-10 -translate-y-1/2 cursor-pointer opacity-0 transition-opacity group-hover:opacity-100" })
99
89
  ]
100
90
  }
101
91
  ) })
@@ -120,9 +110,7 @@ const CarouselHeroDefaults = {
120
110
  src: "https://picsum.photos/seed/hero-square/1200/1200",
121
111
  alt: "Placeholder image 3"
122
112
  }
123
- ],
124
- carouselHeading: "Short heading goes here",
125
- carouselDescription: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
113
+ ]
126
114
  };
127
115
  export {
128
116
  CarouselHero,
@@ -108,12 +108,6 @@ declare const conf: {
108
108
  src: string;
109
109
  };
110
110
  };
111
- carouselHeading: {
112
- type: string;
113
- };
114
- carouselDescription: {
115
- type: string;
116
- };
117
111
  };
118
112
  defaultProps: CarouselHeroProps;
119
113
  render: (props: CarouselHeroProps) => import("react/jsx-runtime").JSX.Element;
@@ -7,9 +7,7 @@ const conf = {
7
7
  heading: headingField,
8
8
  description: descriptionField,
9
9
  buttons: buttonsField,
10
- medias: mediasField,
11
- carouselHeading: { type: "text" },
12
- carouselDescription: { type: "textarea" }
10
+ medias: mediasField
13
11
  },
14
12
  defaultProps: CarouselHeroDefaults,
15
13
  render: CarouselHero
@@ -17,12 +17,12 @@ export interface HeroSectionStyles {
17
17
  textPosition?: "left" | "top" | "top-left";
18
18
  mediaType?: "image" | "video" | "play";
19
19
  formType?: "none" | "email" | "search";
20
- bordered?: boolean;
20
+ bordered?: string;
21
21
  imageCount?: "1" | "2" | "3";
22
22
  imageGridRatio?: string;
23
23
  overlapStyle?: "default" | "square" | "side-by-side";
24
24
  variant?: "centered" | "parallax-bg";
25
- responsive?: boolean;
25
+ responsive?: string;
26
26
  gridRatio?: string;
27
27
  }
28
28
  export interface HeroSectionBaseProps {
@@ -26,7 +26,7 @@ const ThreeImageParallaxHero = (props) => {
26
26
  style: sectionStyle,
27
27
  css,
28
28
  textAlign = "left",
29
- responsive = false
29
+ responsive = "false"
30
30
  } = { ...ThreeImageParallaxHeroDefaults.styles, ...styles };
31
31
  const sectionRef = useRef(null);
32
32
  const [scrollContainerRef] = useScrollContainer(sectionRef);
@@ -59,13 +59,13 @@ const ThreeImageParallaxHero = (props) => {
59
59
  isMobile ? ["26%", "-20%"] : isTablet ? ["8%", "-20%"] : ["12%", "-20%"]
60
60
  );
61
61
  const leftImageTranslate = {
62
- y: responsive ? responsiveLeftY : fixedLeftY
62
+ y: responsive === "true" ? responsiveLeftY : fixedLeftY
63
63
  };
64
64
  const centerImageTranslate = {
65
- y: responsive ? responsiveCenterY : fixedCenterY
65
+ y: responsive === "true" ? responsiveCenterY : fixedCenterY
66
66
  };
67
67
  const rightImageTranslate = {
68
- y: responsive ? responsiveRightY : fixedRightY
68
+ y: responsive === "true" ? responsiveRightY : fixedRightY
69
69
  };
70
70
  return /* @__PURE__ */ jsx(
71
71
  SectionWrapper,
@@ -171,7 +171,7 @@ const ThreeImageParallaxHeroDefaults = {
171
171
  },
172
172
  styles: {
173
173
  textAlign: "left",
174
- responsive: false
174
+ responsive: "false"
175
175
  }
176
176
  };
177
177
  export {
@@ -31,6 +31,85 @@ declare const conf: {
31
31
  };
32
32
  };
33
33
  };
34
+ buttons: {
35
+ readonly type: "array";
36
+ readonly max: 3;
37
+ readonly getItemSummary: (item: {
38
+ label?: string;
39
+ }, index?: number) => string;
40
+ readonly arrayFields: {
41
+ readonly label: {
42
+ readonly type: "text";
43
+ };
44
+ readonly action: {
45
+ type: "custom";
46
+ label: string;
47
+ render: typeof import("../../..").ActionField;
48
+ };
49
+ readonly variant: {
50
+ readonly type: "select";
51
+ readonly options: readonly [{
52
+ readonly label: "primary";
53
+ readonly value: "default";
54
+ }, {
55
+ readonly label: "secondary";
56
+ readonly value: "secondary";
57
+ }, {
58
+ readonly label: "outline";
59
+ readonly value: "outline";
60
+ }, {
61
+ readonly label: "ghost";
62
+ readonly value: "ghost";
63
+ }, {
64
+ readonly label: "link";
65
+ readonly value: "link";
66
+ }, {
67
+ readonly label: "destructive";
68
+ readonly value: "destructive";
69
+ }];
70
+ };
71
+ readonly size: {
72
+ readonly type: "select";
73
+ readonly options: readonly [{
74
+ readonly label: "default";
75
+ readonly value: "default";
76
+ }, {
77
+ readonly label: "sm";
78
+ readonly value: "sm";
79
+ }, {
80
+ readonly label: "lg";
81
+ readonly value: "lg";
82
+ }, {
83
+ readonly label: "icon";
84
+ readonly value: "icon";
85
+ }];
86
+ };
87
+ readonly icon: {
88
+ type: "custom";
89
+ render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
90
+ };
91
+ };
92
+ readonly defaultItemProps: {
93
+ readonly label: "Button";
94
+ readonly action: {
95
+ readonly type: "page";
96
+ readonly pageUrl: "";
97
+ readonly externalUrl: "";
98
+ readonly openInNewTab: "false";
99
+ readonly email: "";
100
+ readonly subject: "";
101
+ readonly phone: "";
102
+ readonly sectionId: "";
103
+ readonly downloadUrl: "";
104
+ };
105
+ readonly variant: "default";
106
+ readonly size: "default";
107
+ readonly icon: "none";
108
+ };
109
+ readonly ai: {
110
+ readonly instructions: "Buttons must use the same size";
111
+ };
112
+ };
34
113
  media: {
35
114
  type: "object";
36
115
  objectFields: {
@@ -1,5 +1,6 @@
1
1
  import { CenterMediaStats, CenterMediaStatsDefaults } from "./center-media-stats.js";
2
2
  import { headingField, descriptionField } from "../../../puck-core/core/props/content.js";
3
+ import { buttonsField } from "../../../puck-core/core/props/interactive.js";
3
4
  import { mediaField } from "../../../puck-core/core/props/media.js";
4
5
  import { metricsStyleFields } from "../props.js";
5
6
  import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
@@ -17,6 +18,7 @@ const conf = {
17
18
  heading: headingField
18
19
  }
19
20
  },
21
+ buttons: buttonsField,
20
22
  media: mediaField,
21
23
  styles: {
22
24
  type: "object",
@@ -75,7 +75,11 @@ const HeaderStatsRow = (props) => {
75
75
  /* @__PURE__ */ jsx("h2", { className: cn("mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", textColorClass), children: heading }),
76
76
  /* @__PURE__ */ jsx("p", { className: cn("md:text-md", textColorClass), children: description })
77
77
  ] }) }),
78
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-y-8 md:grid-cols-3 md:gap-x-8 lg:gap-x-12 lg:gap-y-16", children: stats.map((stat, index) => renderStat(stat, index)) })
78
+ /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-1 gap-y-8 md:gap-x-8 lg:gap-x-12 lg:gap-y-16", {
79
+ "md:grid-cols-2 lg:grid-cols-2": stats.length === 2,
80
+ "md:grid-cols-3 lg:grid-cols-3": stats.length === 3,
81
+ "md:grid-cols-2 lg:grid-cols-4": stats.length >= 4
82
+ }), children: stats.map((stat, index) => renderStat(stat, index)) })
79
83
  ] })
80
84
  ] });
81
85
  };
@@ -88,6 +92,7 @@ const HeaderStatsRowDefaults = {
88
92
  { label: "Button", variant: "link" }
89
93
  ],
90
94
  stats: [
95
+ { percentage: "30%", heading: "Short heading goes here" },
91
96
  { percentage: "30%", heading: "Short heading goes here" },
92
97
  { percentage: "30%", heading: "Short heading goes here" },
93
98
  { percentage: "30%", heading: "Short heading goes here" }
@@ -36,6 +36,61 @@ declare const conf: {
36
36
  type: string;
37
37
  };
38
38
  };
39
+ button: {
40
+ readonly type: "object";
41
+ readonly objectFields: {
42
+ readonly label: {
43
+ readonly type: "text";
44
+ };
45
+ readonly action: {
46
+ type: "custom";
47
+ label: string;
48
+ render: typeof import("../../..").ActionField;
49
+ };
50
+ readonly variant: {
51
+ readonly type: "select";
52
+ readonly options: readonly [{
53
+ readonly label: "primary";
54
+ readonly value: "default";
55
+ }, {
56
+ readonly label: "secondary";
57
+ readonly value: "secondary";
58
+ }, {
59
+ readonly label: "outline";
60
+ readonly value: "outline";
61
+ }, {
62
+ readonly label: "ghost";
63
+ readonly value: "ghost";
64
+ }, {
65
+ readonly label: "link";
66
+ readonly value: "link";
67
+ }, {
68
+ readonly label: "destructive";
69
+ readonly value: "destructive";
70
+ }];
71
+ };
72
+ readonly size: {
73
+ readonly type: "select";
74
+ readonly options: readonly [{
75
+ readonly label: "default";
76
+ readonly value: "default";
77
+ }, {
78
+ readonly label: "sm";
79
+ readonly value: "sm";
80
+ }, {
81
+ readonly label: "lg";
82
+ readonly value: "lg";
83
+ }, {
84
+ readonly label: "icon";
85
+ readonly value: "icon";
86
+ }];
87
+ };
88
+ readonly icon: {
89
+ type: "custom";
90
+ render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
91
+ };
92
+ };
93
+ };
39
94
  };
40
95
  };
41
96
  styles: {
@@ -1,5 +1,6 @@
1
1
  import { PricingCardGrid, PricingCardGridDefaults } from "./component.js";
2
2
  import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
3
+ import { buttonField } from "../../../puck-core/core/props/interactive.js";
3
4
  import { pricingStyleFields } from "../props.js";
4
5
  import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
5
6
  const conf = {
@@ -17,7 +18,8 @@ const conf = {
17
18
  features: {
18
19
  type: "array",
19
20
  arrayFields: { type: "text" }
20
- }
21
+ },
22
+ button: buttonField
21
23
  }
22
24
  },
23
25
  styles: {
@@ -21,9 +21,9 @@ const PricingComparisonTable = (props) => {
21
21
  className: sectionClassName,
22
22
  style: sectionStyle,
23
23
  css,
24
- tabSwitching = false,
24
+ tabSwitching = "false",
25
25
  tableStyle = "border-separated",
26
- bottomButtons = false
26
+ bottomButtons = "false"
27
27
  } = styles ?? {};
28
28
  const renderHeader = (plans) => /* @__PURE__ */ jsxs("div", { className: "sticky top-0 grid grid-cols-3 border-b border-border-primary bg-background-primary md:grid-cols-[1.5fr_1fr_1fr_1fr]", children: [
29
29
  /* @__PURE__ */ jsx("div", { className: "hidden md:block" }),
@@ -131,7 +131,7 @@ const PricingComparisonTable = (props) => {
131
131
  /* @__PURE__ */ jsx("h1", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
132
132
  /* @__PURE__ */ jsx("p", { className: "md:text-md", children: description })
133
133
  ] }),
134
- tabSwitching && tabs ? /* @__PURE__ */ jsxs(Tabs, { defaultValue: defaultTabValue || "monthly", children: [
134
+ tabSwitching === "true" && tabs ? /* @__PURE__ */ jsxs(Tabs, { defaultValue: defaultTabValue || "monthly", children: [
135
135
  /* @__PURE__ */ jsx(TabsList, { className: "mx-auto mb-12 w-fit", children: tabs.map((tab, index) => /* @__PURE__ */ jsx(TabsTrigger, { value: tab.value, children: tab.tabName }, index)) }),
136
136
  tabs.map((tab, index) => /* @__PURE__ */ jsxs(
137
137
  TabsContent,
@@ -141,7 +141,7 @@ const PricingComparisonTable = (props) => {
141
141
  children: [
142
142
  renderHeader(tab.pricingPlans),
143
143
  renderFeatures(),
144
- bottomButtons && renderBottomButtons(tab.pricingPlans)
144
+ bottomButtons === "true" && renderBottomButtons(tab.pricingPlans)
145
145
  ]
146
146
  },
147
147
  index
@@ -149,7 +149,7 @@ const PricingComparisonTable = (props) => {
149
149
  ] }) : /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
150
150
  renderHeader(pricingPlans),
151
151
  renderFeatures(),
152
- bottomButtons && renderBottomButtons(pricingPlans)
152
+ bottomButtons === "true" && renderBottomButtons(pricingPlans)
153
153
  ] })
154
154
  ] })
155
155
  }
@@ -210,9 +210,9 @@ const PricingComparisonTableDefaults = {
210
210
  }
211
211
  ],
212
212
  styles: {
213
- tabSwitching: false,
213
+ tabSwitching: "false",
214
214
  tableStyle: "border-separated",
215
- bottomButtons: false
215
+ bottomButtons: "false"
216
216
  }
217
217
  };
218
218
  export {