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.
Files changed (249) hide show
  1. package/dist/components/index.d.ts +1 -0
  2. package/dist/components/puck-base/button.d.ts +1 -1
  3. package/dist/components/puck-base/button.js +5 -6
  4. package/dist/components/puck-base/card.d.ts +1 -1
  5. package/dist/components/puck-base/container.js +1 -1
  6. package/dist/components/puck-base/content.d.ts +1 -1
  7. package/dist/components/puck-base/image.js +16 -16
  8. package/dist/components/puck-base/index.d.ts +1 -13
  9. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +13 -13
  10. package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +3 -25
  11. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +8 -8
  12. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +8 -6
  13. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +3 -1
  14. package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +1 -1
  15. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -1
  16. package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -1
  17. package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +1 -1
  18. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +1 -1
  19. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +1 -1
  20. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -1
  21. package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +1 -1
  22. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +2 -2
  23. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +2 -2
  24. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +1 -1
  25. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +1 -1
  26. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -1
  27. package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +1 -1
  28. package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
  29. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +1 -1
  30. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +92 -63
  31. package/dist/components/puck-block/cta-sections/props.js +46 -0
  32. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +1 -73
  33. package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
  34. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
  35. package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +2 -74
  36. package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
  37. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
  38. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
  39. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +1 -1
  40. package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
  41. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +1 -1
  42. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +1 -1
  43. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +1 -1
  44. package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
  45. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +1 -1
  46. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +2 -2
  47. package/dist/components/puck-block/feature-sections/feature-list-split/component.js +1 -1
  48. package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +2 -2
  49. package/dist/components/puck-block/feature-sections/tab-feature/component.js +80 -64
  50. package/dist/components/puck-block/feature-sections/text-media-split/component.js +1 -1
  51. package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +1 -1
  52. package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +1 -1
  53. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +72 -18
  54. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +79 -0
  55. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +43 -1
  56. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +42 -1
  57. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +4 -3
  58. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +86 -0
  59. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +1 -1
  60. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
  61. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +38 -1
  62. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +1 -1
  63. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +55 -1
  64. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +42 -1
  65. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +55 -1
  66. package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
  67. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
  68. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +25 -28
  69. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -2
  70. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
  71. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +2 -2
  72. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +1 -1
  73. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +2 -2
  74. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +68 -65
  75. package/dist/components/puck-block/gallery-sections/props.d.ts +11 -1
  76. package/dist/components/puck-block/gallery-sections/props.js +7 -2
  77. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +18 -0
  78. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +24 -27
  79. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -2
  80. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +25 -22
  81. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +11 -1
  82. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +3 -2
  83. package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +1 -1
  84. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +119 -17
  85. package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
  86. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +162 -22
  87. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +1 -1
  88. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +143 -19
  89. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +1 -1
  90. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +1 -1
  91. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +3 -2
  92. package/dist/components/puck-block/header-sections/props.d.ts +3 -0
  93. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +1 -1
  94. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +3 -2
  95. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +50 -9
  96. package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
  97. package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +2 -2
  98. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +8 -8
  99. package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
  100. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +6 -6
  101. package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
  102. package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +2 -2
  103. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +5 -3
  104. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +1 -1
  105. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +26 -17
  106. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +1 -1
  107. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +3 -3
  108. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
  109. package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +1 -1
  110. package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +26 -29
  111. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +60 -19
  112. package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
  113. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +25 -28
  114. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -2
  115. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +2 -2
  116. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +1 -1
  117. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +3 -3
  118. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +18 -6
  119. package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
  120. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +9 -7
  121. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
  122. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +7 -5
  123. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +1 -1
  124. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +93 -44
  125. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +1 -1
  126. package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +2 -2
  127. package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +2 -2
  128. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
  129. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +14 -6
  130. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
  131. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +2 -2
  132. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +1 -1
  133. package/dist/components/puck-block/hero-sections/tab-hero/component.js +4 -4
  134. package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -44
  135. package/dist/components/puck-block/hero-sections/tab-hero/index.js +7 -2
  136. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +96 -46
  137. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +1 -1
  138. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +33 -10
  139. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
  140. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +14 -12
  141. package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
  142. package/dist/components/puck-block/index.d.ts +2 -0
  143. package/dist/components/puck-block/location-sections/location-1/location.d.ts +1 -1
  144. package/dist/components/puck-block/location-sections/location-2/location.d.ts +1 -1
  145. package/dist/components/puck-block/location-sections/location-3/location.d.ts +2 -2
  146. package/dist/components/puck-block/location-sections/props.d.ts +1 -1
  147. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +1 -1
  148. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +1 -1
  149. package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +1 -1
  150. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +1 -1
  151. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +2 -2
  152. package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +1 -1
  153. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +1 -1
  154. package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +0 -22
  155. package/dist/components/puck-block/metrics-sections/tab-stats/index.js +1 -1
  156. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +39 -26
  157. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +47 -0
  158. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +34 -0
  159. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +0 -22
  160. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +1 -1
  161. package/dist/components/puck-block/pricing-sections/split-pricing/component.js +3 -3
  162. package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -22
  163. package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -1
  164. package/dist/components/puck-block/registry.generated.d.ts +13408 -0
  165. package/dist/components/puck-block/registry.generated.js +558 -0
  166. package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +1 -1
  167. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +1 -1
  168. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +2 -2
  169. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +2 -2
  170. package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +1 -1
  171. package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +1 -23
  172. package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +1 -1
  173. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +2 -2
  174. package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +1 -23
  175. package/dist/components/puck-block/team-sections/team-carousel/index.js +1 -2
  176. package/dist/components/puck-block/team-sections/team-grid/index.d.ts +1 -23
  177. package/dist/components/puck-block/team-sections/team-grid/index.js +1 -2
  178. package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +1 -23
  179. package/dist/components/puck-block/team-sections/team-inline-card/index.js +1 -2
  180. package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +1 -1
  181. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
  182. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +1 -1
  183. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +2 -2
  184. package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +0 -22
  185. package/dist/components/puck-block/text-sections/aside-nav-content/index.js +1 -1
  186. package/dist/components/puck-block/text-sections/blog-article/index.d.ts +0 -22
  187. package/dist/components/puck-block/text-sections/blog-article/index.js +1 -1
  188. package/dist/components/puck-block/text-sections/prose-content/component.js +1 -1
  189. package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +1 -23
  190. package/dist/components/puck-block/text-sections/side-media-content/component.js +1 -1
  191. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +3 -3
  192. package/dist/components/puck-block/text-sections/text-header/index.d.ts +2 -2
  193. package/dist/components/puck-core/core/props/content.js +41 -1
  194. package/dist/components/puck-core/core/props/form.js +76 -0
  195. package/dist/components/puck-core/core/props/index.js +34 -0
  196. package/dist/components/puck-core/core/props/interactive.js +17 -0
  197. package/dist/components/puck-core/core/props/media.js +14 -5
  198. package/dist/components/puck-core/core/styles.d.ts +1 -1
  199. package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
  200. package/dist/components/{puck-base → puck-core}/core/with-editable.js +1 -1
  201. package/dist/components/puck-core/fields/action-field.js +1 -1
  202. package/dist/components/puck-core/fields/array-field.d.ts +7 -0
  203. package/dist/components/puck-core/fields/array-field.js +229 -0
  204. package/dist/components/{puck-base → puck-core}/fields/auto-field.js +11 -0
  205. package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +5 -5
  206. package/dist/components/puck-core/fields/index.d.ts +1 -0
  207. package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
  208. package/dist/components/{puck-base → puck-core}/fields/object-field.js +1 -1
  209. package/dist/components/puck-core/index.d.ts +1 -0
  210. package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
  211. package/dist/index.js +121 -104
  212. 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
  213. 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
  214. 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
  215. 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
  216. package/package.json +4 -1
  217. package/dist/components/puck-base/core/fields.d.ts +0 -827
  218. package/dist/components/puck-base/core/fields.js +0 -267
  219. package/dist/components/puck-base/core/hooks.d.ts +0 -19
  220. package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
  221. package/dist/components/puck-base/core/icon-catalog.js +0 -193
  222. package/dist/components/puck-base/core/styles.d.ts +0 -1942
  223. package/dist/components/puck-base/core/types.d.ts +0 -20
  224. package/dist/components/puck-base/core/types.js +0 -26
  225. package/dist/components/puck-base/core/utils.d.ts +0 -5
  226. package/dist/components/puck-base/core/with-editable.d.ts +0 -16
  227. package/dist/components/puck-base/error-boundary.d.ts +0 -4
  228. package/dist/components/puck-base/fields/action-field.d.ts +0 -30
  229. package/dist/components/puck-base/fields/action-field.js +0 -265
  230. package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
  231. package/dist/components/puck-base/fields/color-field.d.ts +0 -6
  232. package/dist/components/puck-base/fields/index.d.ts +0 -8
  233. package/dist/components/puck-base/fields/location-field.d.ts +0 -44
  234. package/dist/components/puck-base/fields/object-field.d.ts +0 -8
  235. package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
  236. package/dist/components/puck-base/fields/types.d.ts +0 -29
  237. package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
  238. package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
  239. package/dist/components/puck-base/icon-picker-field.js +0 -153
  240. package/dist/components/puck-base/image-upload-field.d.ts +0 -7
  241. package/dist/components/puck-base/inline-editable.d.ts +0 -14
  242. package/dist/components/puck-base/use-upload.d.ts +0 -42
  243. /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
  244. /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
  245. /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
  246. /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
  247. /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
  248. /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
  249. /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
- const conf = { fields: { logo: imageField, footerText: { type: "text" } }, defaultProps: CenteredMinimalFooterDefaults, render: CenteredMinimalFooter };
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("../../../puck-core").ActionField;
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
  };
@@ -34,7 +34,8 @@ const ContactLinksFooter = (props) => {
34
34
  ] }) });
35
35
  };
36
36
  const ContactLinksFooterDefaults = {
37
- logo: { url: "#", src: "https://d22po4pjz3o32e.cloudfront.net/logo-image.svg", alt: "Logo image" },
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@relume.io" },
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 Relume. All rights reserved.",
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
- logo: { url: "#", src: "https://d22po4pjz3o32e.cloudfront.net/logo-image.svg", alt: "Logo image" },
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 Relume. All rights reserved.",
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("../../../puck-core").ActionField;
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("../../../puck-core").ActionField;
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("../../../puck-core").ActionField;
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("../../../puck-core").ActionField;
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
  };
@@ -57,6 +57,9 @@ export interface FooterSectionBaseProps {
57
57
  contact: FooterContact;
58
58
  companyImages: BaseImage[];
59
59
  styles: FooterSectionStyles;
60
+ __metadata?: {
61
+ type: "footer";
62
+ };
60
63
  }
61
64
  export declare const footerStyleFields: {
62
65
  readonly bordered: {
@@ -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: "Relume placeholder image"
115
+ alt: "Placeholder image"
116
116
  },
117
117
  url: "#",
118
118
  button: { label: "View project", variant: "secondary" }