dune-react 0.0.20 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) 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/form.js +1 -1
  8. package/dist/components/puck-base/image.js +17 -17
  9. package/dist/components/puck-base/index.d.ts +1 -12
  10. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +9 -4
  11. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +22 -0
  12. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +3 -1
  13. package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +25 -3
  14. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +16 -4
  15. package/dist/components/puck-block/banner-sections/props.d.ts +3 -0
  16. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +13 -2
  17. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +15 -4
  18. package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +3 -13
  19. package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +23 -1
  20. package/dist/components/puck-block/contact-sections/centered-form/index.js +3 -1
  21. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +5 -1
  22. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +22 -0
  23. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +3 -1
  24. package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +5 -23
  25. package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +23 -1
  26. package/dist/components/puck-block/contact-sections/contact-modal/index.js +3 -1
  27. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +3 -13
  28. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +23 -1
  29. package/dist/components/puck-block/contact-sections/form-with-media/index.js +3 -1
  30. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +4 -13
  31. package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +23 -1
  32. package/dist/components/puck-block/contact-sections/header-form-cards/index.js +3 -1
  33. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -2
  34. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +22 -0
  35. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +3 -1
  36. package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +22 -0
  37. package/dist/components/puck-block/contact-sections/info-cards-media/index.js +3 -1
  38. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -2
  39. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +23 -1
  40. package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +3 -1
  41. package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +5 -1
  42. package/dist/components/puck-block/contact-sections/props.d.ts +3 -0
  43. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +23 -1
  44. package/dist/components/puck-block/contact-sections/split-info-form/index.js +3 -1
  45. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +4 -13
  46. package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +22 -0
  47. package/dist/components/puck-block/contact-sections/tab-locations/index.js +3 -1
  48. package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +4 -2
  49. package/dist/components/puck-block/contact-sections/use-contact-form.js +1 -1
  50. package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +3 -2
  51. package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +23 -1
  52. package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +3 -1
  53. package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
  54. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +23 -1
  55. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +3 -1
  56. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +89 -59
  57. package/dist/components/puck-block/cta-sections/props.d.ts +3 -1
  58. package/dist/components/puck-block/cta-sections/props.js +46 -0
  59. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +35 -77
  60. package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
  61. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
  62. package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +24 -83
  63. package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
  64. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
  65. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
  66. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +3 -2
  67. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +23 -1
  68. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +3 -1
  69. package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +6 -2
  70. package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
  71. package/dist/components/puck-block/faq-sections/props.d.ts +3 -0
  72. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +23 -1
  73. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +3 -1
  74. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -1
  75. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +23 -1
  76. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +3 -1
  77. package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +5 -1
  78. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +23 -1
  79. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +3 -1
  80. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +3 -2
  81. package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
  82. package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +6 -2
  83. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +5 -1
  84. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +24 -2
  85. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -1
  86. package/dist/components/puck-block/feature-sections/feature-list-split/component.js +5 -1
  87. package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +24 -2
  88. package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -1
  89. package/dist/components/puck-block/feature-sections/props.d.ts +3 -0
  90. package/dist/components/puck-block/feature-sections/tab-feature/component.js +78 -60
  91. package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -1
  92. package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +23 -1
  93. package/dist/components/puck-block/feature-sections/text-media-split/index.js +3 -1
  94. package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -3
  95. package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +23 -1
  96. package/dist/components/puck-block/feature-sections/text-only-section/index.js +3 -1
  97. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +5 -2
  98. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +23 -1
  99. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +3 -2
  100. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +22 -0
  101. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +2 -1
  102. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
  103. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +23 -1
  104. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +2 -1
  105. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +23 -1
  106. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +23 -1
  107. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +23 -1
  108. package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
  109. package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +3 -2
  110. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +22 -0
  111. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +3 -1
  112. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +16 -6
  113. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +23 -1
  114. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -1
  115. package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -2
  116. package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +22 -0
  117. package/dist/components/puck-block/gallery-sections/image-carousel/index.js +3 -1
  118. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +22 -0
  119. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +3 -1
  120. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +4 -3
  121. package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +22 -0
  122. package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +3 -1
  123. package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +3 -2
  124. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +24 -2
  125. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +3 -1
  126. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +5 -1
  127. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +24 -2
  128. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +3 -1
  129. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +71 -66
  130. package/dist/components/puck-block/gallery-sections/props.d.ts +3 -0
  131. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +9 -3
  132. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +22 -0
  133. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -1
  134. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -10
  135. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +22 -0
  136. package/dist/components/puck-block/gallery-sections/split-carousel/index.js +3 -1
  137. package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +3 -2
  138. package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +22 -0
  139. package/dist/components/puck-block/gallery-sections/static-grid/index.js +3 -1
  140. package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +3 -2
  141. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +5 -2
  142. package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +1 -1
  143. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +120 -16
  144. package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
  145. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +163 -22
  146. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +23 -1
  147. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +2 -1
  148. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +144 -18
  149. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +23 -1
  150. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +2 -1
  151. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +23 -1
  152. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +2 -1
  153. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +5 -2
  154. package/dist/components/puck-block/header-sections/props.d.ts +3 -0
  155. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +23 -1
  156. package/dist/components/puck-block/header-sections/standard-navbar/index.js +2 -1
  157. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +5 -2
  158. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +54 -10
  159. package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
  160. package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +24 -2
  161. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +6 -3
  162. package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
  163. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +5 -2
  164. package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
  165. package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +37 -7
  166. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +19 -7
  167. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +14 -6
  168. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +2 -2
  169. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +12 -4
  170. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +23 -1
  171. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +3 -1
  172. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +8 -4
  173. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
  174. package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +23 -1
  175. package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +3 -1
  176. package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +4 -2
  177. package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +37 -7
  178. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +9 -5
  179. package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
  180. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +23 -1
  181. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -1
  182. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +6 -4
  183. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +23 -1
  184. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +3 -1
  185. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +6 -4
  186. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +10 -3
  187. package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
  188. package/dist/components/puck-block/hero-sections/props.d.ts +3 -1
  189. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +12 -4
  190. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
  191. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +16 -7
  192. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +14 -6
  193. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +2 -2
  194. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +98 -42
  195. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +36 -6
  196. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +5 -3
  197. package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +37 -7
  198. package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +37 -7
  199. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +15 -5
  200. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +1 -1
  201. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +37 -14
  202. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +36 -6
  203. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +5 -3
  204. package/dist/components/puck-block/hero-sections/tab-hero/component.js +6 -3
  205. package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -0
  206. package/dist/components/puck-block/hero-sections/tab-hero/index.js +6 -0
  207. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +102 -44
  208. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +23 -1
  209. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +3 -1
  210. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +32 -5
  211. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
  212. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +12 -4
  213. package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
  214. package/dist/components/puck-block/index.d.ts +2 -0
  215. package/dist/components/puck-block/location-sections/location-1/location.d.ts +4 -1
  216. package/dist/components/puck-block/location-sections/location-2/location.d.ts +4 -1
  217. package/dist/components/puck-block/location-sections/location-3/location.d.ts +5 -2
  218. package/dist/components/puck-block/location-sections/props.d.ts +4 -1
  219. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -1
  220. package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +22 -0
  221. package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +3 -1
  222. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +5 -1
  223. package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +23 -1
  224. package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +3 -1
  225. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +23 -1
  226. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -1
  227. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +5 -1
  228. package/dist/components/puck-block/metrics-sections/props.d.ts +3 -0
  229. package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +23 -1
  230. package/dist/components/puck-block/metrics-sections/split-stats/index.js +3 -1
  231. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +5 -1
  232. package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +22 -0
  233. package/dist/components/puck-block/metrics-sections/tab-stats/index.js +3 -1
  234. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +38 -23
  235. package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +4 -2
  236. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +22 -0
  237. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
  238. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +5 -1
  239. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +22 -0
  240. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
  241. package/dist/components/puck-block/pricing-sections/props.d.ts +3 -0
  242. package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +4 -2
  243. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +22 -0
  244. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +3 -1
  245. package/dist/components/puck-block/pricing-sections/split-pricing/component.js +5 -2
  246. package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -0
  247. package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -0
  248. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +4 -2
  249. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +22 -0
  250. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +3 -1
  251. package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +5 -2
  252. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +22 -0
  253. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +3 -1
  254. package/dist/components/puck-block/registry.generated.d.ts +13141 -0
  255. package/dist/components/puck-block/registry.generated.js +558 -0
  256. package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +5 -1
  257. package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +23 -1
  258. package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +3 -1
  259. package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +6 -1
  260. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +23 -1
  261. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +3 -1
  262. package/dist/components/puck-block/showcase-sections/props.d.ts +3 -0
  263. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +8 -1
  264. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +24 -2
  265. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +3 -1
  266. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +8 -1
  267. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +24 -2
  268. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +3 -1
  269. package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +1 -3
  270. package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +5 -1
  271. package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +24 -4
  272. package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +3 -1
  273. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +8 -1
  274. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +24 -2
  275. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +3 -1
  276. package/dist/components/puck-block/team-sections/props.d.ts +3 -0
  277. package/dist/components/puck-block/team-sections/team-carousel/component.js +8 -2
  278. package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +23 -1
  279. package/dist/components/puck-block/team-sections/team-carousel/index.js +3 -1
  280. package/dist/components/puck-block/team-sections/team-grid/component.js +6 -1
  281. package/dist/components/puck-block/team-sections/team-grid/index.d.ts +23 -1
  282. package/dist/components/puck-block/team-sections/team-grid/index.js +3 -1
  283. package/dist/components/puck-block/team-sections/team-inline-card/component.js +10 -2
  284. package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +23 -1
  285. package/dist/components/puck-block/team-sections/team-inline-card/index.js +3 -1
  286. package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +9 -2
  287. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +22 -0
  288. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +3 -1
  289. package/dist/components/puck-block/team-sections/team-two-column/component.js +6 -1
  290. package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +23 -1
  291. package/dist/components/puck-block/team-sections/team-two-column/index.js +3 -1
  292. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +5 -1
  293. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +22 -0
  294. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +3 -1
  295. package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +6 -1
  296. package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +22 -0
  297. package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -1
  298. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +5 -1
  299. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +22 -0
  300. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
  301. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +1 -1
  302. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +14 -6
  303. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +35 -5
  304. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +5 -3
  305. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +8 -2
  306. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +22 -0
  307. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -1
  308. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +9 -2
  309. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +9 -2
  310. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +22 -0
  311. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
  312. package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -1
  313. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +9 -2
  314. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +23 -1
  315. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
  316. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +9 -2
  317. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +22 -0
  318. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +3 -1
  319. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -1
  320. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +22 -0
  321. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +3 -1
  322. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +5 -1
  323. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +22 -0
  324. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +3 -1
  325. package/dist/components/puck-block/text-sections/aside-nav-content/component.js +5 -1
  326. package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +22 -0
  327. package/dist/components/puck-block/text-sections/aside-nav-content/index.js +3 -1
  328. package/dist/components/puck-block/text-sections/blog-article/component.js +6 -1
  329. package/dist/components/puck-block/text-sections/blog-article/index.d.ts +22 -0
  330. package/dist/components/puck-block/text-sections/blog-article/index.js +3 -1
  331. package/dist/components/puck-block/text-sections/props.d.ts +3 -0
  332. package/dist/components/puck-block/text-sections/prose-content/component.js +5 -1
  333. package/dist/components/puck-block/text-sections/prose-content/index.d.ts +22 -0
  334. package/dist/components/puck-block/text-sections/prose-content/index.js +3 -1
  335. package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +23 -1
  336. package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -1
  337. package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +22 -0
  338. package/dist/components/puck-block/text-sections/side-media-content/index.js +3 -1
  339. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +6 -1
  340. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +22 -0
  341. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +3 -1
  342. package/dist/components/puck-block/text-sections/text-header/index.d.ts +24 -2
  343. package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -0
  344. package/dist/components/puck-core/core/context/section-id-context.js +12 -0
  345. package/dist/components/puck-core/core/props/content.js +41 -1
  346. package/dist/components/puck-core/core/props/form.js +76 -0
  347. package/dist/components/puck-core/core/props/index.js +34 -0
  348. package/dist/components/puck-core/core/props/interactive.js +17 -0
  349. package/dist/components/puck-core/core/props/media.js +8 -4
  350. package/dist/components/puck-core/core/styles.d.ts +375 -1
  351. package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
  352. package/dist/components/{puck-base → puck-core}/core/with-editable.js +13 -2
  353. package/dist/components/puck-core/fields/action-field.js +2 -2
  354. package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +4 -4
  355. package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
  356. package/dist/components/puck-core/index.d.ts +3 -1
  357. package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
  358. package/dist/components/puck-core/section-wrapper.d.ts +27 -13
  359. package/dist/components/puck-core/section-wrapper.js +48 -0
  360. package/dist/hooks/use-scroll-container.d.ts +18 -0
  361. package/dist/hooks/use-scroll-container.js +25 -0
  362. package/dist/index.js +125 -105
  363. package/package.json +1 -1
  364. package/dist/components/puck-base/core/fields.d.ts +0 -827
  365. package/dist/components/puck-base/core/fields.js +0 -267
  366. package/dist/components/puck-base/core/hooks.d.ts +0 -19
  367. package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
  368. package/dist/components/puck-base/core/icon-catalog.js +0 -193
  369. package/dist/components/puck-base/core/styles.d.ts +0 -1942
  370. package/dist/components/puck-base/core/types.d.ts +0 -20
  371. package/dist/components/puck-base/core/types.js +0 -26
  372. package/dist/components/puck-base/core/utils.d.ts +0 -5
  373. package/dist/components/puck-base/core/with-editable.d.ts +0 -16
  374. package/dist/components/puck-base/error-boundary.d.ts +0 -4
  375. package/dist/components/puck-base/fields/action-field.d.ts +0 -30
  376. package/dist/components/puck-base/fields/action-field.js +0 -265
  377. package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
  378. package/dist/components/puck-base/fields/color-field.d.ts +0 -6
  379. package/dist/components/puck-base/fields/index.d.ts +0 -8
  380. package/dist/components/puck-base/fields/location-field.d.ts +0 -44
  381. package/dist/components/puck-base/fields/object-field.d.ts +0 -8
  382. package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
  383. package/dist/components/puck-base/fields/types.d.ts +0 -29
  384. package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
  385. package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
  386. package/dist/components/puck-base/icon-picker-field.js +0 -153
  387. package/dist/components/puck-base/image-upload-field.d.ts +0 -7
  388. package/dist/components/puck-base/inline-editable.d.ts +0 -14
  389. package/dist/components/puck-base/use-upload.d.ts +0 -42
  390. package/dist/components/puck-core/editor-context.d.ts +0 -25
  391. package/dist/components/puck-core/editor-context.js +0 -15
  392. /package/dist/components/{puck-base → puck-core/core/context}/editor-context.d.ts +0 -0
  393. /package/dist/components/{puck-base → puck-core/core/context}/editor-context.js +0 -0
  394. /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
  395. /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
  396. /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
  397. /package/dist/components/{puck-base → puck-core}/fields/auto-field.js +0 -0
  398. /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
  399. /package/dist/components/{puck-base → puck-core}/fields/object-field.js +0 -0
  400. /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
  401. /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
  402. /package/dist/components/{puck-base → puck-core}/use-upload.js +0 -0
@@ -2,6 +2,7 @@ import { SplitInfoForm, SplitInfoFormDefaults } from "./split-info-form.js";
2
2
  import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
3
3
  import { buttonField } from "../../../puck-core/core/props/interactive.js";
4
4
  import { contactStyleFields } from "../props.js";
5
+ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
5
6
  const conf = {
6
7
  fields: {
7
8
  tagline: { type: "text" },
@@ -15,7 +16,8 @@ const conf = {
15
16
  type: "object",
16
17
  label: "Styles",
17
18
  objectFields: {
18
- formType: contactStyleFields.formType
19
+ formType: contactStyleFields.formType,
20
+ ...sectionWrapperFields
19
21
  }
20
22
  }
21
23
  },
@@ -3,18 +3,19 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from "../../../shadcn/select.js";
5
5
  import { Input } from "../../../shadcn/input.js";
6
- import { Checkbox } from "../../../shadcn/checkbox.js";
7
6
  import { Label } from "../../../shadcn/label.js";
8
7
  import { Textarea } from "../../../shadcn/textarea.js";
9
8
  import { CompoundButton } from "../../../puck-base/button.js";
10
9
  import { useContactForm } from "../use-contact-form.js";
11
10
  import { BiEnvelope, BiPhone, BiMap } from "../../../../node_modules/.pnpm/react-icons@5.6.0_react@19.2.4/node_modules/react-icons/bi/index.js";
11
+ import { cn } from "../../../../utils/css-utils.js";
12
+ import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
12
13
  const SplitInfoForm = (props) => {
13
14
  const { tagline, heading, description, email, phone, address, button, styles } = {
14
15
  ...SplitInfoFormDefaults,
15
16
  ...props
16
17
  };
17
- const { formType = "simple" } = styles ?? {};
18
+ const { className: sectionClassName, style: sectionStyle, css, formType = "simple" } = styles ?? {};
18
19
  const { createSubmitHandler, submitting } = useContactForm();
19
20
  const [nameInput, setNameInput] = useState("");
20
21
  const [firstName, setFirstName] = useState("");
@@ -23,7 +24,6 @@ const SplitInfoForm = (props) => {
23
24
  const [phoneInput, setPhoneInput] = useState("");
24
25
  const [messageInput, setMessageInput] = useState("");
25
26
  const [topic, setTopic] = useState("");
26
- const [acceptTerms, setAcceptTerms] = useState(false);
27
27
  const handleSubmit = createSubmitHandler(
28
28
  () => ({
29
29
  name: nameInput || `${firstName} ${lastName}`.trim() || "",
@@ -39,7 +39,6 @@ const SplitInfoForm = (props) => {
39
39
  setPhoneInput("");
40
40
  setMessageInput("");
41
41
  setTopic("");
42
- setAcceptTerms(false);
43
42
  }
44
43
  );
45
44
  const renderSimpleFields = () => /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -112,7 +111,7 @@ const SplitInfoForm = (props) => {
112
111
  )
113
112
  ] })
114
113
  ] });
115
- return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-start gap-y-12 md:grid-flow-row md:grid-cols-2 md:gap-x-12 lg:grid-flow-col lg:gap-x-20 lg:gap-y-16", children: [
114
+ return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 items-start gap-y-12 md:grid-flow-row md:grid-cols-2 md:gap-x-12 lg:grid-flow-col lg:gap-x-20 lg:gap-y-16", children: [
116
115
  /* @__PURE__ */ jsxs("div", { children: [
117
116
  /* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
118
117
  /* @__PURE__ */ jsxs("div", { className: "mb-6 md:mb-8", children: [
@@ -136,14 +135,6 @@ const SplitInfoForm = (props) => {
136
135
  ] }),
137
136
  /* @__PURE__ */ jsxs("form", { className: "grid grid-cols-1 grid-rows-[auto_auto] gap-6", onSubmit: handleSubmit, children: [
138
137
  formType === "advanced" ? renderAdvancedFields() : renderSimpleFields(),
139
- /* @__PURE__ */ jsxs("div", { className: "mb-3 flex items-center space-x-2 text-sm md:mb-4", children: [
140
- /* @__PURE__ */ jsx(Checkbox, { id: "terms", checked: acceptTerms, onCheckedChange: setAcceptTerms }),
141
- /* @__PURE__ */ jsxs(Label, { htmlFor: "terms", className: "cursor-pointer", children: [
142
- "I accept the",
143
- " ",
144
- /* @__PURE__ */ jsx("a", { className: "text-link-primary underline", href: "#", children: "Terms" })
145
- ] })
146
- ] }),
147
138
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(CompoundButton, { label: submitting ? "Submitting..." : button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon, disabled: submitting }) })
148
139
  ] })
149
140
  ] }) }) });
@@ -55,6 +55,28 @@ declare const conf: {
55
55
  type: string;
56
56
  label: string;
57
57
  objectFields: {
58
+ className: {
59
+ readonly type: "text";
60
+ readonly label: "Class Name";
61
+ readonly ai: {
62
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
63
+ };
64
+ };
65
+ style: {
66
+ readonly type: "object";
67
+ readonly label: "Style";
68
+ readonly objectFields: {};
69
+ readonly ai: {
70
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
71
+ };
72
+ };
73
+ css: {
74
+ readonly type: "textarea";
75
+ readonly label: "Custom CSS";
76
+ readonly ai: {
77
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
78
+ };
79
+ };
58
80
  mediaType: {
59
81
  readonly type: "radio";
60
82
  readonly label: "Media Type";
@@ -2,6 +2,7 @@ import { TabLocations, TabLocationsDefaults } from "./tab-locations.js";
2
2
  import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
3
3
  import { imageField } from "../../../puck-core/core/props/media.js";
4
4
  import { contactStyleFields } from "../props.js";
5
+ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
5
6
  const conf = {
6
7
  fields: {
7
8
  tagline: { type: "text" },
@@ -25,7 +26,8 @@ const conf = {
25
26
  type: "object",
26
27
  label: "Styles",
27
28
  objectFields: {
28
- mediaType: contactStyleFields.mediaType
29
+ mediaType: contactStyleFields.mediaType,
30
+ ...sectionWrapperFields
29
31
  }
30
32
  }
31
33
  },
@@ -2,14 +2,16 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Tabs, TabsList, TabsTrigger, TabsContent } from "../../../shadcn/tabs.js";
4
4
  import { CompoundImage } from "../../../puck-base/image.js";
5
+ import { cn } from "../../../../utils/css-utils.js";
6
+ import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
5
7
  const TabLocations = (props) => {
6
8
  var _a;
7
9
  const { tagline, heading, description, tabs, styles } = {
8
10
  ...TabLocationsDefaults,
9
11
  ...props
10
12
  };
11
- const { mediaType = "map" } = styles ?? {};
12
- return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
13
+ const { className: sectionClassName, style: sectionStyle, css, mediaType = "map" } = styles ?? {};
14
+ return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
13
15
  /* @__PURE__ */ jsxs("div", { className: "mb-12 flex max-w-lg flex-col justify-start md:mb-18 lg:mb-20", children: [
14
16
  /* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
15
17
  /* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { useState } from "react";
3
3
  import { toast } from "sonner";
4
- import { useEditorContext } from "../../puck-core/editor-context.js";
4
+ import { useEditorContext } from "../../puck-core/core/context/editor-context.js";
5
5
  import { submitFormLead } from "./api/form-leads.js";
6
6
  const EMPTY = { name: "", email: "", phone: "", message: "" };
7
7
  function useContactForm() {
@@ -2,14 +2,15 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { cn } from "../../../../utils/css-utils.js";
3
3
  import { CompoundButton } from "../../../puck-base/button.js";
4
4
  import { CompoundImage } from "../../../puck-base/image.js";
5
+ import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
5
6
  const FeatureCardCta = (props) => {
6
7
  const { featureSections = [], styles } = {
7
8
  ...FeatureCardCtaDefaults,
8
9
  ...props
9
10
  };
10
- const { textAlign = "left" } = styles ?? {};
11
+ const { className: sectionClassName, style: sectionStyle, css, textAlign = "left" } = styles ?? {};
11
12
  const isCenter = textAlign === "center";
12
- return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsx("div", { className: "grid auto-cols-fr grid-cols-1 gap-x-8 gap-y-12 md:grid-cols-2 lg:gap-x-16", children: featureSections.map((feature, index) => /* @__PURE__ */ jsxs("div", { className: cn({ "text-center": isCenter }), children: [
13
+ return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsx("div", { className: "grid auto-cols-fr grid-cols-1 gap-x-8 gap-y-12 md:grid-cols-2 lg:gap-x-16", children: featureSections.map((feature, index) => /* @__PURE__ */ jsxs("div", { className: cn({ "text-center": isCenter }), children: [
13
14
  /* @__PURE__ */ jsx(
14
15
  CompoundImage,
15
16
  {
@@ -41,7 +41,7 @@ declare const conf: {
41
41
  readonly action: {
42
42
  type: "custom";
43
43
  label: string;
44
- render: typeof import("../../../puck-core").ActionField;
44
+ render: typeof import("../../..").ActionField;
45
45
  };
46
46
  readonly variant: {
47
47
  readonly type: "select";
@@ -113,6 +113,28 @@ declare const conf: {
113
113
  type: string;
114
114
  label: string;
115
115
  objectFields: {
116
+ className: {
117
+ readonly type: "text";
118
+ readonly label: "Class Name";
119
+ readonly ai: {
120
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
121
+ };
122
+ };
123
+ style: {
124
+ readonly type: "object";
125
+ readonly label: "Style";
126
+ readonly objectFields: {};
127
+ readonly ai: {
128
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
129
+ };
130
+ };
131
+ css: {
132
+ readonly type: "textarea";
133
+ readonly label: "Custom CSS";
134
+ readonly ai: {
135
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
136
+ };
137
+ };
116
138
  textAlign: {
117
139
  readonly type: "radio";
118
140
  readonly label: "Text Align";
@@ -3,6 +3,7 @@ import { descriptionField, headingField } from "../../../puck-core/core/props/co
3
3
  import { buttonsField } from "../../../puck-core/core/props/interactive.js";
4
4
  import { imageField } from "../../../puck-core/core/props/media.js";
5
5
  import { ctaStyleFields } from "../props.js";
6
+ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
7
  const conf = {
7
8
  fields: {
8
9
  featureSections: {
@@ -20,7 +21,8 @@ const conf = {
20
21
  type: "object",
21
22
  label: "Styles",
22
23
  objectFields: {
23
- textAlign: ctaStyleFields.textAlign
24
+ textAlign: ctaStyleFields.textAlign,
25
+ ...sectionWrapperFields
24
26
  }
25
27
  }
26
28
  },
@@ -1,2 +1,4 @@
1
1
  export { default as FeatureCardCtaConf } from "./feature-card-cta";
2
2
  export { default as MouseTrackCtaConf } from "./mouse-track-cta";
3
+ export { default as SideMediaCtaConf } from "./side-media-cta";
4
+ export { default as TextBlockCtaConf } from "./text-block-cta";
@@ -17,7 +17,7 @@ declare const conf: {
17
17
  action: {
18
18
  type: "custom";
19
19
  label: string;
20
- render: typeof import("../../../puck-core").ActionField;
20
+ render: typeof import("../../..").ActionField;
21
21
  };
22
22
  heading: {
23
23
  readonly type: "text";
@@ -41,6 +41,28 @@ declare const conf: {
41
41
  type: string;
42
42
  label: string;
43
43
  objectFields: {
44
+ className: {
45
+ readonly type: "text";
46
+ readonly label: "Class Name";
47
+ readonly ai: {
48
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
49
+ };
50
+ };
51
+ style: {
52
+ readonly type: "object";
53
+ readonly label: "Style";
54
+ readonly objectFields: {};
55
+ readonly ai: {
56
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
57
+ };
58
+ };
59
+ css: {
60
+ readonly type: "textarea";
61
+ readonly label: "Custom CSS";
62
+ readonly ai: {
63
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
64
+ };
65
+ };
44
66
  listStyle: {
45
67
  readonly type: "radio";
46
68
  readonly label: "List Style";
@@ -3,6 +3,7 @@ import { headingField } from "../../../puck-core/core/props/content.js";
3
3
  import { imageField } from "../../../puck-core/core/props/media.js";
4
4
  import { actionField } from "../../../puck-core/core/props/interactive.js";
5
5
  import { ctaStyleFields } from "../props.js";
6
+ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
6
7
  const conf = {
7
8
  fields: {
8
9
  tagline: { type: "text" },
@@ -21,7 +22,8 @@ const conf = {
21
22
  type: "object",
22
23
  label: "Styles",
23
24
  objectFields: {
24
- listStyle: ctaStyleFields.listStyle
25
+ listStyle: ctaStyleFields.listStyle,
26
+ ...sectionWrapperFields
25
27
  }
26
28
  }
27
29
  },
@@ -3,6 +3,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useState } from "react";
4
4
  import { motion } from "framer-motion";
5
5
  import { cn } from "../../../../utils/css-utils.js";
6
+ import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
6
7
  import { resolveActionUrl } from "../../../puck-core/core/props/interactive.js";
7
8
  const getDirection = (ev, obj) => {
8
9
  const { width: w, height: h, left, top } = obj.getBoundingClientRect();
@@ -25,11 +26,20 @@ const imageVariants = {
25
26
  right: { x: -50, transition: { type: "spring", duration: 1, bounce: 0 } }
26
27
  };
27
28
  const MouseTrackCta = (props) => {
28
- const { tagline, hoverLinks = [], styles } = {
29
+ const {
30
+ tagline,
31
+ hoverLinks = [],
32
+ styles
33
+ } = {
29
34
  ...MouseTrackCtaDefaults,
30
35
  ...props
31
36
  };
32
- const { listStyle = "center" } = styles ?? {};
37
+ const {
38
+ className: sectionClassName,
39
+ style: sectionStyle,
40
+ css,
41
+ listStyle = "center"
42
+ } = styles ?? {};
33
43
  const isNumbered = listStyle === "numbered";
34
44
  const [cursorPosition, setCursorPosition] = useState({ x: 0, y: 0 });
35
45
  const [hoveredIndex, setHoveredIndex] = useState(null);
@@ -46,7 +56,10 @@ const MouseTrackCta = (props) => {
46
56
  const containerRect = container.getBoundingClientRect();
47
57
  const leftBoundary = containerRect.left + containerRect.width / 2 - 100;
48
58
  const rightBoundary = containerRect.right / 2 + 100;
49
- const clampedX = Math.max(leftBoundary, Math.min(rightBoundary, e.clientX));
59
+ const clampedX = Math.max(
60
+ leftBoundary,
61
+ Math.min(rightBoundary, e.clientX)
62
+ );
50
63
  const smoothFactor = 0.1;
51
64
  setCursorPosition((prev) => ({
52
65
  x: prev.x + (clampedX - prev.x) * smoothFactor,
@@ -63,64 +76,81 @@ const MouseTrackCta = (props) => {
63
76
  const translateBottomInverse = direction === "bottom" ? isNumbered ? 25 : 50 : 0;
64
77
  const translateLeftInverse = direction === "left" ? isNumbered ? -25 : -50 : 0;
65
78
  const translateRightInverse = direction === "right" ? isNumbered ? 25 : 50 : 0;
66
- return /* @__PURE__ */ jsx("section", { id: "relume", className: "px-[5%] py-16 md:py-24 lg:py-28", onMouseMove: !isNumbered ? handleMouseMove : void 0, children: /* @__PURE__ */ jsxs("div", { className: cn("container", { "max-w-xl text-center": !isNumbered }), onMouseMove: isNumbered ? handleMouseMove : void 0, children: [
67
- /* @__PURE__ */ jsx("p", { className: "mb-6 font-semibold md:mb-8", children: tagline }),
68
- /* @__PURE__ */ jsx(
69
- motion.div,
70
- {
71
- initial: "initial",
72
- whileHover: direction,
73
- onMouseEnter: handleMouseEnter,
74
- onMouseLeave: handleMouseLeave,
75
- children: hoverLinks.map((link, index) => /* @__PURE__ */ jsxs(
76
- "a",
77
- {
78
- href: resolveActionUrl(link.action ?? { type: "none" }) ?? "#",
79
- onMouseEnter: () => setHoveredIndex(index),
80
- className: cn(
81
- "flex items-center p-4 transition-colors duration-300",
82
- isNumbered ? "relative justify-start border-b border-border-primary py-5 md:py-6" : "justify-center",
79
+ return /* @__PURE__ */ jsx(
80
+ SectionWrapper,
81
+ {
82
+ className: cn("isolate px-[5%] py-8 md:py-12 lg:py-14", sectionClassName),
83
+ style: sectionStyle,
84
+ css,
85
+ onMouseMove: !isNumbered ? handleMouseMove : void 0,
86
+ children: /* @__PURE__ */ jsxs(
87
+ "div",
88
+ {
89
+ className: cn("container", { "max-w-xl text-center": !isNumbered }),
90
+ onMouseMove: isNumbered ? handleMouseMove : void 0,
91
+ children: [
92
+ /* @__PURE__ */ jsx("p", { className: "mb-6 font-semibold md:mb-8", children: tagline }),
93
+ /* @__PURE__ */ jsx(
94
+ motion.div,
83
95
  {
84
- "lg:text-black/20": hoveredIndex !== index && hoveredIndex !== null,
85
- "lg:text-black": hoveredIndex === index || hoveredIndex === null
86
- }
87
- ),
88
- children: [
89
- isNumbered && link.listNumber && /* @__PURE__ */ jsx("p", { className: "mr-6 whitespace-nowrap text-xl font-bold md:mr-8 md:text-2xl", children: link.listNumber }),
90
- /* @__PURE__ */ jsx("h3", { className: "text-5xl font-bold md:text-9xl lg:text-10xl", children: link.heading }),
91
- /* @__PURE__ */ jsx(
92
- motion.div,
93
- {
94
- className: cn(
95
- "pointer-events-none fixed inset-0 hidden size-[600px] lg:block",
96
- isNumbered ? "-z-10 ml-[300px]" : "-z-10",
97
- {
98
- "opacity-100": hoveredIndex === index,
99
- "opacity-0": hoveredIndex !== index
100
- }
101
- ),
102
- style: {
103
- translateX: cursorPosition.x - 300 + translateLeftInverse + translateRightInverse,
104
- translateY: cursorPosition.y - 300 + translateTopInverse + translateBottomInverse
96
+ initial: "initial",
97
+ whileHover: direction,
98
+ onMouseEnter: handleMouseEnter,
99
+ onMouseLeave: handleMouseLeave,
100
+ children: hoverLinks.map((link, index) => /* @__PURE__ */ jsxs(
101
+ "a",
102
+ {
103
+ href: resolveActionUrl(link.action ?? { type: "none" }) ?? "#",
104
+ onMouseEnter: () => setHoveredIndex(index),
105
+ className: cn(
106
+ "flex items-center p-4 transition-colors duration-300",
107
+ isNumbered ? "relative justify-start border-b border-border-primary py-5 md:py-6" : "justify-center",
108
+ {
109
+ "lg:text-black/20": hoveredIndex !== index && hoveredIndex !== null,
110
+ "lg:text-black": hoveredIndex === index || hoveredIndex === null
111
+ }
112
+ ),
113
+ children: [
114
+ isNumbered && link.listNumber && /* @__PURE__ */ jsx("p", { className: "mr-6 whitespace-nowrap text-xl font-bold md:mr-8 md:text-2xl", children: link.listNumber }),
115
+ /* @__PURE__ */ jsx("h3", { className: "text-5xl font-bold md:text-9xl lg:text-10xl", children: link.heading }),
116
+ /* @__PURE__ */ jsx(
117
+ motion.div,
118
+ {
119
+ className: cn(
120
+ "pointer-events-none fixed inset-0 hidden size-[600px] transition-opacity duration-300 lg:block",
121
+ isNumbered ? "-z-10 ml-[300px]" : "-z-10",
122
+ {
123
+ "opacity-70": hoveredIndex === index,
124
+ "opacity-0": hoveredIndex !== index
125
+ }
126
+ ),
127
+ animate: {
128
+ x: cursorPosition.x - 300 + translateLeftInverse + translateRightInverse,
129
+ y: cursorPosition.y - 300 + translateTopInverse + translateBottomInverse
130
+ },
131
+ transition: { type: "spring", damping: 20, stiffness: 150, mass: 0.5 },
132
+ children: /* @__PURE__ */ jsx(
133
+ motion.img,
134
+ {
135
+ className: "size-full max-w-md",
136
+ variants: imageVariants,
137
+ src: link.image.src,
138
+ alt: link.image.alt
139
+ }
140
+ )
141
+ }
142
+ )
143
+ ]
105
144
  },
106
- children: /* @__PURE__ */ jsx(
107
- motion.img,
108
- {
109
- className: "size-full max-w-md",
110
- variants: imageVariants,
111
- src: link.image.src,
112
- alt: link.image.alt
113
- }
114
- )
115
- }
116
- )
117
- ]
118
- },
119
- index
120
- ))
121
- }
122
- )
123
- ] }) });
145
+ index
146
+ ))
147
+ }
148
+ )
149
+ ]
150
+ }
151
+ )
152
+ }
153
+ );
124
154
  };
125
155
  const MouseTrackCtaDefaults = {
126
156
  tagline: "Tagline",
@@ -8,6 +8,9 @@ import type { BaseImage } from "@/components/puck-core/core/props/media";
8
8
  import type { BaseButton } from "@/components/puck-core/core/props/interactive";
9
9
  export type { BaseImage, BaseButton };
10
10
  export interface CtaSectionStyles {
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+ css?: string;
11
14
  textLayout?: "left" | "center" | "twoColumn" | "inlineRow";
12
15
  textAlign?: "left" | "center";
13
16
  mediaPosition?: "left" | "right";
@@ -21,7 +24,6 @@ export interface CtaSectionBaseProps {
21
24
  heading: string;
22
25
  description: string;
23
26
  buttons: BaseButton[];
24
- image: BaseImage;
25
27
  images: BaseImage[];
26
28
  video: string;
27
29
  inputPlaceholder: string;
@@ -1,4 +1,14 @@
1
1
  const ctaStyleFields = {
2
+ textLayout: {
3
+ type: "select",
4
+ label: "Text Layout",
5
+ options: [
6
+ { label: "Left", value: "left" },
7
+ { label: "Center", value: "center" },
8
+ { label: "Two Column", value: "twoColumn" },
9
+ { label: "Inline Row", value: "inlineRow" }
10
+ ]
11
+ },
2
12
  textAlign: {
3
13
  type: "radio",
4
14
  label: "Text Align",
@@ -7,6 +17,42 @@ const ctaStyleFields = {
7
17
  { label: "Center", value: "center" }
8
18
  ]
9
19
  },
20
+ mediaPosition: {
21
+ type: "radio",
22
+ label: "Media Position",
23
+ options: [
24
+ { label: "Left", value: "left" },
25
+ { label: "Right", value: "right" }
26
+ ]
27
+ },
28
+ bgMedia: {
29
+ type: "select",
30
+ label: "Background Media",
31
+ options: [
32
+ { label: "None", value: "none" },
33
+ { label: "Fullscreen Image", value: "fullscreenImage" },
34
+ { label: "Fullscreen Video", value: "fullscreenVideo" },
35
+ { label: "Container Image", value: "containerImage" },
36
+ { label: "Container Video", value: "containerVideo" }
37
+ ]
38
+ },
39
+ bordered: {
40
+ type: "radio",
41
+ label: "Bordered",
42
+ options: [
43
+ { label: "Yes", value: "true" },
44
+ { label: "No", value: "false" }
45
+ ]
46
+ },
47
+ bottomContent: {
48
+ type: "select",
49
+ label: "Bottom Content",
50
+ options: [
51
+ { label: "None", value: "none" },
52
+ { label: "Image", value: "image" },
53
+ { label: "Logos", value: "logos" }
54
+ ]
55
+ },
10
56
  listStyle: {
11
57
  type: "radio",
12
58
  label: "List Style",