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
@@ -0,0 +1,48 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { cn } from "../../utils/css-utils.js";
4
+ import { useSectionId } from "./core/context/section-id-context.js";
5
+ const sectionWrapperFields = {
6
+ className: {
7
+ type: "text",
8
+ label: "Class Name",
9
+ ai: {
10
+ instructions: "Additional Tailwind CSS classes to apply to the section wrapper."
11
+ }
12
+ },
13
+ style: {
14
+ type: "object",
15
+ label: "Style",
16
+ objectFields: {},
17
+ ai: {
18
+ instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }."
19
+ }
20
+ },
21
+ css: {
22
+ type: "textarea",
23
+ label: "Custom CSS",
24
+ ai: {
25
+ instructions: "Custom CSS rules. Use & as a placeholder for the section selector."
26
+ }
27
+ }
28
+ };
29
+ const SectionWrapper = forwardRef(
30
+ function SectionWrapper2({ className, style, css, children, ...rest }, ref) {
31
+ const sectionId = useSectionId();
32
+ return /* @__PURE__ */ jsxs("section", { ref, id: sectionId ?? void 0, className: cn("relative", className), style, ...rest, children: [
33
+ css && sectionId && /* @__PURE__ */ jsx(
34
+ "style",
35
+ {
36
+ dangerouslySetInnerHTML: {
37
+ __html: css.replaceAll("&", `#${sectionId}`)
38
+ }
39
+ }
40
+ ),
41
+ children
42
+ ] });
43
+ }
44
+ );
45
+ export {
46
+ SectionWrapper,
47
+ sectionWrapperFields
48
+ };
@@ -0,0 +1,18 @@
1
+ import { type RefObject } from "react";
2
+ /**
3
+ * 自动查找目标元素最近的可滚动祖先,返回一个 ref 供 framer-motion useScroll 的 container 使用。
4
+ *
5
+ * 解决:在 Puck 编辑器 iframe 中,滚动发生在 iframe 内部容器(而非 window),
6
+ * useScroll({ target }) 默认找不到正确的滚动容器。
7
+ *
8
+ * @returns [containerRef, ready] — ready 为 true 时 containerRef 已就绪
9
+ *
10
+ * @example
11
+ * const targetRef = useRef(null);
12
+ * const [containerRef, ready] = useScrollContainer(targetRef);
13
+ * const { scrollYProgress } = useScroll({
14
+ * target: targetRef,
15
+ * container: containerRef,
16
+ * });
17
+ */
18
+ export declare function useScrollContainer<T extends HTMLElement>(targetRef: RefObject<T | null>): [RefObject<HTMLElement | null>, boolean];
@@ -0,0 +1,25 @@
1
+ import { useRef, useState, useLayoutEffect } from "react";
2
+ function useScrollContainer(targetRef) {
3
+ const containerRef = useRef(null);
4
+ const [ready, setReady] = useState(false);
5
+ useLayoutEffect(() => {
6
+ const el = targetRef.current;
7
+ if (!el) return;
8
+ let ancestor = el.parentElement;
9
+ while (ancestor && ancestor !== document.documentElement) {
10
+ const { overflowY } = getComputedStyle(ancestor);
11
+ if (overflowY === "auto" || overflowY === "scroll") {
12
+ containerRef.current = ancestor;
13
+ setReady(true);
14
+ return;
15
+ }
16
+ ancestor = ancestor.parentElement;
17
+ }
18
+ containerRef.current = null;
19
+ setReady(true);
20
+ }, [targetRef]);
21
+ return [containerRef, ready];
22
+ }
23
+ export {
24
+ useScrollContainer
25
+ };
package/dist/index.js CHANGED
@@ -67,52 +67,54 @@ import { default as default67 } from "./components/puck-block/banner-sections/sc
67
67
  import { default as default68 } from "./components/puck-block/hero-sections/scroll-zoom-hero/index.js";
68
68
  import { default as default69 } from "./components/shadcn/badge-promo.js";
69
69
  import { default as default70 } from "./components/puck-block/text-sections/side-media-content/index.js";
70
- import { default as default71 } from "./components/puck-block/showcase-sections/single-column-timeline/index.js";
71
- import { default as default72 } from "./components/puck-block/pricing-sections/single-pricing-card/index.js";
72
- import { default as default73 } from "./components/puck-block/gallery-sections/split-carousel/index.js";
73
- import { default as default74 } from "./components/puck-block/contact-sections/split-info-form/index.js";
74
- import { default as default75 } from "./components/puck-block/pricing-sections/split-pricing/index.js";
75
- import { default as default76 } from "./components/puck-block/metrics-sections/split-stats/index.js";
76
- import { default as default77 } from "./components/puck-block/faq-sections/stacked-accordion-faq/index.js";
77
- import { default as default78 } from "./components/puck-block/faq-sections/stacked-static-faq/index.js";
78
- import { default as default79 } from "./components/puck-block/header-sections/standard-navbar/index.js";
79
- import { default as default80 } from "./components/puck-block/gallery-sections/static-grid/index.js";
80
- import { default as default81 } from "./components/puck-block/hero-sections/sticky-expand-hero/index.js";
81
- import { default as default82 } from "./components/puck-block/showcase-sections/sticky-scroll-timeline/index.js";
82
- import { default as default83 } from "./components/puck-block/testimonial-sections/sticky-testimonial/index.js";
83
- import { default as default84 } from "./components/puck-block/text-sections/sticky-text-multi-image/index.js";
84
- import { default as default85 } from "./components/puck-block/hero-sections/sticky-video-hero/index.js";
85
- import { default as default86 } from "./components/puck-block/feature-sections/tab-feature/index.js";
86
- import { default as default87 } from "./components/puck-block/hero-sections/tab-hero/index.js";
87
- import { default as default88 } from "./components/puck-block/contact-sections/tab-locations/index.js";
88
- import { default as default89 } from "./components/puck-block/pricing-sections/tab-pricing-grid/index.js";
89
- import { default as default90 } from "./components/puck-block/pricing-sections/tab-single-pricing/index.js";
90
- import { default as default91 } from "./components/puck-block/metrics-sections/tab-stats/index.js";
91
- import { default as default92 } from "./components/puck-block/testimonial-sections/tab-testimonial/index.js";
92
- import { default as default93 } from "./components/puck-block/showcase-sections/tab-timeline/index.js";
93
- import { default as default94 } from "./components/puck-block/team-sections/team-carousel/index.js";
94
- import { default as default95 } from "./components/puck-block/team-sections/team-grid/index.js";
95
- import { default as default96 } from "./components/puck-block/team-sections/team-inline-card/index.js";
96
- import { default as default97 } from "./components/puck-block/team-sections/team-sticky-scatter/index.js";
97
- import { default as default98 } from "./components/puck-block/team-sections/team-two-column/index.js";
98
- import { default as default99 } from "./components/puck-block/testimonial-sections/testimonial-card-grid/index.js";
99
- import { default as default100 } from "./components/puck-block/testimonial-sections/testimonial-carousel/index.js";
100
- import { default as default101 } from "./components/puck-block/feature-sections/text-media-split/index.js";
101
- import { default as default102 } from "./components/puck-block/feature-sections/text-only-section/index.js";
102
- import { default as default103 } from "./components/puck-block/hero-sections/three-image-parallax-hero/index.js";
103
- import { default as default104 } from "./components/puck-block/faq-sections/two-column-accordion-faq/index.js";
104
- import { default as default105 } from "./components/puck-block/faq-sections/two-column-static-faq/index.js";
105
- import { default as default106 } from "./components/puck-block/hero-sections/vertical-gallery-hero/index.js";
106
- import { default as default107 } from "./components/puck-block/showcase-sections/zigzag-timeline/index.js";
107
- import { default as default108 } from "./components/puck-block/hero-sections/zoom-grid-hero/index.js";
108
- import { default as default109 } from "./components/puck-base/use-upload.js";
109
- import { ACTION_TYPE_FIELD_MAP, ACTION_TYPE_OPTIONS, ActionField, DownloadActionFields, EmailActionFields, ExternalActionFields, PageActionFields, PhoneActionFields, SectionActionFields } from "./components/puck-base/fields/action-field.js";
70
+ import { default as default71 } from "./components/puck-block/cta-sections/side-media-cta/index.js";
71
+ import { default as default72 } from "./components/puck-block/showcase-sections/single-column-timeline/index.js";
72
+ import { default as default73 } from "./components/puck-block/pricing-sections/single-pricing-card/index.js";
73
+ import { default as default74 } from "./components/puck-block/gallery-sections/split-carousel/index.js";
74
+ import { default as default75 } from "./components/puck-block/contact-sections/split-info-form/index.js";
75
+ import { default as default76 } from "./components/puck-block/pricing-sections/split-pricing/index.js";
76
+ import { default as default77 } from "./components/puck-block/metrics-sections/split-stats/index.js";
77
+ import { default as default78 } from "./components/puck-block/faq-sections/stacked-accordion-faq/index.js";
78
+ import { default as default79 } from "./components/puck-block/faq-sections/stacked-static-faq/index.js";
79
+ import { default as default80 } from "./components/puck-block/header-sections/standard-navbar/index.js";
80
+ import { default as default81 } from "./components/puck-block/gallery-sections/static-grid/index.js";
81
+ import { default as default82 } from "./components/puck-block/hero-sections/sticky-expand-hero/index.js";
82
+ import { default as default83 } from "./components/puck-block/showcase-sections/sticky-scroll-timeline/index.js";
83
+ import { default as default84 } from "./components/puck-block/testimonial-sections/sticky-testimonial/index.js";
84
+ import { default as default85 } from "./components/puck-block/text-sections/sticky-text-multi-image/index.js";
85
+ import { default as default86 } from "./components/puck-block/hero-sections/sticky-video-hero/index.js";
86
+ import { default as default87 } from "./components/puck-block/feature-sections/tab-feature/index.js";
87
+ import { default as default88 } from "./components/puck-block/hero-sections/tab-hero/index.js";
88
+ import { default as default89 } from "./components/puck-block/contact-sections/tab-locations/index.js";
89
+ import { default as default90 } from "./components/puck-block/pricing-sections/tab-pricing-grid/index.js";
90
+ import { default as default91 } from "./components/puck-block/pricing-sections/tab-single-pricing/index.js";
91
+ import { default as default92 } from "./components/puck-block/metrics-sections/tab-stats/index.js";
92
+ import { default as default93 } from "./components/puck-block/testimonial-sections/tab-testimonial/index.js";
93
+ import { default as default94 } from "./components/puck-block/showcase-sections/tab-timeline/index.js";
94
+ import { default as default95 } from "./components/puck-block/team-sections/team-carousel/index.js";
95
+ import { default as default96 } from "./components/puck-block/team-sections/team-grid/index.js";
96
+ import { default as default97 } from "./components/puck-block/team-sections/team-inline-card/index.js";
97
+ import { default as default98 } from "./components/puck-block/team-sections/team-sticky-scatter/index.js";
98
+ import { default as default99 } from "./components/puck-block/team-sections/team-two-column/index.js";
99
+ import { default as default100 } from "./components/puck-block/testimonial-sections/testimonial-card-grid/index.js";
100
+ import { default as default101 } from "./components/puck-block/testimonial-sections/testimonial-carousel/index.js";
101
+ import { default as default102 } from "./components/puck-block/cta-sections/text-block-cta/index.js";
102
+ import { default as default103 } from "./components/puck-block/feature-sections/text-media-split/index.js";
103
+ import { default as default104 } from "./components/puck-block/feature-sections/text-only-section/index.js";
104
+ import { default as default105 } from "./components/puck-block/hero-sections/three-image-parallax-hero/index.js";
105
+ import { default as default106 } from "./components/puck-block/faq-sections/two-column-accordion-faq/index.js";
106
+ import { default as default107 } from "./components/puck-block/faq-sections/two-column-static-faq/index.js";
107
+ import { default as default108 } from "./components/puck-block/hero-sections/vertical-gallery-hero/index.js";
108
+ import { default as default109 } from "./components/puck-block/showcase-sections/zigzag-timeline/index.js";
109
+ import { default as default110 } from "./components/puck-block/hero-sections/zoom-grid-hero/index.js";
110
+ import { default as default111 } from "./components/puck-core/use-upload.js";
111
+ import { ACTION_TYPE_FIELD_MAP, ACTION_TYPE_OPTIONS, ActionField, DownloadActionFields, EmailActionFields, ExternalActionFields, PageActionFields, PhoneActionFields, SectionActionFields } from "./components/puck-core/fields/action-field.js";
110
112
  import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/shadcn/accordion.js";
111
113
  import { Alert, AlertAction, AlertDescription, AlertTitle } from "./components/shadcn/alert.js";
112
114
  import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/shadcn/alert-dialog.js";
113
115
  import { AnimatedThemeToggler } from "./components/shadcn/animated-theme-toggler.js";
114
116
  import { AspectRatio } from "./components/shadcn/aspect-ratio.js";
115
- import { AutoField } from "./components/puck-base/fields/auto-field.js";
117
+ import { AutoField } from "./components/puck-core/fields/auto-field.js";
116
118
  import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from "./components/shadcn/avatar.js";
117
119
  import { Badge, badgeVariants } from "./components/shadcn/badge.js";
118
120
  import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/shadcn/breadcrumb.js";
@@ -141,15 +143,15 @@ import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, Di
141
143
  import { DirectionProvider, useDirection } from "@base-ui/react/direction-provider";
142
144
  import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./components/shadcn/drawer.js";
143
145
  import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/shadcn/dropdown-menu.js";
144
- import { EditorContextProvider, useEditorContext } from "./components/puck-base/editor-context.js";
146
+ import { EditorContextProvider, useEditorContext } from "./components/puck-core/core/context/editor-context.js";
145
147
  import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from "./components/shadcn/empty.js";
146
- import { ErrorBoundary } from "./components/puck-base/error-boundary.js";
148
+ import { ErrorBoundary } from "./components/puck-core/error-boundary.js";
147
149
  import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from "./components/shadcn/field.js";
148
150
  import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from "./components/shadcn/form.js";
149
151
  import { GradientText } from "./components/puck-base/gradient-text.js";
150
152
  import { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/shadcn/hover-card.js";
151
- import { ImageUploadField } from "./components/puck-base/image-upload-field.js";
152
- import { InlineEditable } from "./components/puck-base/inline-editable.js";
153
+ import { ImageUploadField } from "./components/puck-core/fields/image-upload-field.js";
154
+ import { InlineEditable } from "./components/puck-core/inline-editable.js";
153
155
  import { Input } from "./components/shadcn/input.js";
154
156
  import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./components/shadcn/input-group.js";
155
157
  import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "./components/shadcn/input-otp.js";
@@ -166,7 +168,10 @@ import { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitl
166
168
  import { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue } from "./components/shadcn/progress.js";
167
169
  import { RadioGroup, RadioGroupItem } from "./components/shadcn/radio-group.js";
168
170
  import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/shadcn/resizable.js";
171
+ import { SafeDynamicIcon } from "./components/puck-base/safe-dynamic-icon.js";
169
172
  import { ScrollArea, ScrollBar } from "./components/shadcn/scroll-area.js";
173
+ import { SectionIdProvider, useSectionId } from "./components/puck-core/core/context/section-id-context.js";
174
+ import { SectionWrapper } from "./components/puck-core/section-wrapper.js";
170
175
  import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/shadcn/select.js";
171
176
  import { Separator } from "./components/shadcn/separator.js";
172
177
  import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./components/shadcn/sheet.js";
@@ -186,19 +191,23 @@ import { ToggleGroup, ToggleGroupItem } from "./components/shadcn/toggle-group.j
186
191
  import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/shadcn/tooltip.js";
187
192
  import { TweetCard, truncate } from "./components/shadcn/tweet-card.js";
188
193
  import { TweetCardClient } from "./components/shadcn/tweet-card-client.js";
189
- import { action, actionDefaults, badge, button, buttons, card, cards, contentFields, contentFieldsWithFeatures, description, features, field, fieldDefaults, form, formDefaults, getPlaceholderImageUrl, heading, icon, image, image16x9Placeholder, image1x1Placeholder, image9x16Placeholder, images } from "./components/puck-base/core/fields.js";
190
- import { backgroundColor, backgroundImage, padding, paddingDefaults, paddingLevel, sectionOverlay, sectionStyle } from "./components/puck-base/core/styles.js";
194
+ import { actionField, actionDefaults, badgeField, buttonField, buttonsField, iconField, resolveActionUrl } from "./components/puck-core/core/props/interactive.js";
195
+ import { backgroundColor, backgroundImage, padding, paddingDefaults, paddingLevel, sectionOverlay, sectionStyle } from "./components/puck-core/core/styles.js";
191
196
  import { base64ToFile, base64ToUrl, blobToBase64, blobToUrl, convertBase64ToBlob, structureFile } from "./utils/utils-canvas.js";
197
+ import { buildComponents, categories, confMap, getComponentDefaultProps, sectionsMap } from "./components/puck-block/registry.generated.js";
198
+ import { cardField, cardsField, descriptionField, featuresField, headingField } from "./components/puck-core/core/props/content.js";
192
199
  import { cn, liquidGlass } from "./utils/css-utils.js";
200
+ import { contentFields, contentFieldsWithFeatures } from "./components/puck-core/core/props/index.js";
193
201
  import { downloadImage, downloadImageClient, fetchHasOnlineFile, getBase64Client, isValidFileSize, isValidFileType } from "./utils/utils-image.js";
202
+ import { formFieldField, formFieldDefaults, formField, formDefaults } from "./components/puck-core/core/props/form.js";
194
203
  import { filterEmptyValues } from "./utils/utils-common.js";
195
- import { findComponentById, getRandomAdjective } from "./components/puck-base/core/utils.js";
204
+ import { findComponentById, getRandomAdjective } from "./components/puck-core/core/utils.js";
196
205
  import { formatLargeNumber, getUrlWithParams } from "./utils/utils-api.js";
197
206
  import { formatTimeAgo, formatTimeString, getTimeDetails, getTimestamp, sleep, timeAgo } from "./utils/utils-time.js";
207
+ import { getPlaceholderImageUrl, imageField, image16x9Placeholder, image1x1Placeholder, image9x16Placeholder, imagesField } from "./components/puck-core/core/props/media.js";
198
208
  import { nanoid } from "./utils/utils-random.js";
199
- import { resolveActionUrl } from "./components/puck-base/core/types.js";
200
- import { usePuckAppState, usePuckConfig, usePuckDispatch, usePuckGetSelectorForId, usePuckHistory } from "./components/puck-base/core/hooks.js";
201
- import { withEditable } from "./components/puck-base/core/with-editable.js";
209
+ import { usePuckAppState, usePuckConfig, usePuckDispatch, usePuckGetSelectorForId, usePuckHistory } from "./components/puck-core/core/hooks.js";
210
+ import { withEditable } from "./components/puck-core/core/with-editable.js";
202
211
  export {
203
212
  ACTION_TYPE_FIELD_MAP,
204
213
  ACTION_TYPE_OPTIONS,
@@ -533,6 +542,7 @@ export {
533
542
  ResizableHandle,
534
543
  ResizablePanel,
535
544
  ResizablePanelGroup,
545
+ SafeDynamicIcon,
536
546
  default62 as ScatterParallaxHeroConf,
537
547
  ScrollArea,
538
548
  ScrollBar,
@@ -543,6 +553,8 @@ export {
543
553
  default67 as ScrollParallaxTextConf,
544
554
  default68 as ScrollZoomHeroConf,
545
555
  SectionActionFields,
556
+ SectionIdProvider,
557
+ SectionWrapper,
546
558
  Select,
547
559
  SelectContent,
548
560
  SelectGroup,
@@ -564,6 +576,7 @@ export {
564
576
  SheetTrigger,
565
577
  default69 as ShinyPromoBadge,
566
578
  default70 as SideMediaContentConf,
579
+ default71 as SideMediaCtaConf,
567
580
  Sidebar,
568
581
  SidebarContent,
569
582
  SidebarFooter,
@@ -587,35 +600,35 @@ export {
587
600
  SidebarRail,
588
601
  SidebarSeparator,
589
602
  SidebarTrigger,
590
- default71 as SingleColumnTimelineConf,
591
- default72 as SinglePricingCardConf,
603
+ default72 as SingleColumnTimelineConf,
604
+ default73 as SinglePricingCardConf,
592
605
  Skeleton,
593
606
  Slider,
594
607
  SparklesCore,
595
608
  Spinner,
596
- default73 as SplitCarouselConf,
597
- default74 as SplitInfoFormConf,
598
- default75 as SplitPricingConf,
599
- default76 as SplitStatsConf,
609
+ default74 as SplitCarouselConf,
610
+ default75 as SplitInfoFormConf,
611
+ default76 as SplitPricingConf,
612
+ default77 as SplitStatsConf,
600
613
  Spotlight,
601
- default77 as StackedAccordionFaqConf,
602
- default78 as StackedStaticFaqConf,
603
- default79 as StandardNavbarConf,
604
- default80 as StaticGridConf,
605
- default81 as StickyExpandHeroConf,
606
- default82 as StickyScrollTimelineConf,
607
- default83 as StickyTestimonialConf,
608
- default84 as StickyTextMultiImageConf,
609
- default85 as StickyVideoHeroConf,
614
+ default78 as StackedAccordionFaqConf,
615
+ default79 as StackedStaticFaqConf,
616
+ default80 as StandardNavbarConf,
617
+ default81 as StaticGridConf,
618
+ default82 as StickyExpandHeroConf,
619
+ default83 as StickyScrollTimelineConf,
620
+ default84 as StickyTestimonialConf,
621
+ default85 as StickyTextMultiImageConf,
622
+ default86 as StickyVideoHeroConf,
610
623
  Switch,
611
- default86 as TabFeatureConf,
612
- default87 as TabHeroConf,
613
- default88 as TabLocationsConf,
614
- default89 as TabPricingGridConf,
615
- default90 as TabSinglePricingConf,
616
- default91 as TabStatsConf,
617
- default92 as TabTestimonialConf,
618
- default93 as TabTimelineConf,
624
+ default87 as TabFeatureConf,
625
+ default88 as TabHeroConf,
626
+ default89 as TabLocationsConf,
627
+ default90 as TabPricingGridConf,
628
+ default91 as TabSinglePricingConf,
629
+ default92 as TabStatsConf,
630
+ default93 as TabTestimonialConf,
631
+ default94 as TabTimelineConf,
619
632
  Table,
620
633
  TableBody,
621
634
  TableCaption,
@@ -628,17 +641,18 @@ export {
628
641
  TabsContent,
629
642
  TabsList,
630
643
  TabsTrigger,
631
- default94 as TeamCarouselConf,
632
- default95 as TeamGridConf,
633
- default96 as TeamInlineCardConf,
634
- default97 as TeamStickyScatterConf,
635
- default98 as TeamTwoColumnConf,
636
- default99 as TestimonialCardGridConf,
637
- default100 as TestimonialCarouselConf,
638
- default101 as TextMediaSplitConf,
639
- default102 as TextOnlySectionConf,
644
+ default95 as TeamCarouselConf,
645
+ default96 as TeamGridConf,
646
+ default97 as TeamInlineCardConf,
647
+ default98 as TeamStickyScatterConf,
648
+ default99 as TeamTwoColumnConf,
649
+ default100 as TestimonialCardGridConf,
650
+ default101 as TestimonialCarouselConf,
651
+ default102 as TextBlockCtaConf,
652
+ default103 as TextMediaSplitConf,
653
+ default104 as TextOnlySectionConf,
640
654
  Textarea,
641
- default103 as ThreeImageParallaxHeroConf,
655
+ default105 as ThreeImageParallaxHeroConf,
642
656
  Toaster,
643
657
  Toggle,
644
658
  ToggleGroup,
@@ -649,60 +663,64 @@ export {
649
663
  TooltipTrigger,
650
664
  TweetCard,
651
665
  TweetCardClient,
652
- default104 as TwoColumnAccordionFaqConf,
653
- default105 as TwoColumnStaticFaqConf,
654
- default106 as VerticalGalleryHeroConf,
655
- default107 as ZigzagTimelineConf,
656
- default108 as ZoomGridHeroConf,
657
- action,
666
+ default106 as TwoColumnAccordionFaqConf,
667
+ default107 as TwoColumnStaticFaqConf,
668
+ default108 as VerticalGalleryHeroConf,
669
+ default109 as ZigzagTimelineConf,
670
+ default110 as ZoomGridHeroConf,
671
+ actionField as action,
658
672
  actionDefaults,
659
673
  backgroundColor,
660
674
  backgroundImage,
661
- badge,
675
+ badgeField as badge,
662
676
  badgeVariants,
663
677
  base64ToFile,
664
678
  base64ToUrl,
665
679
  blobToBase64,
666
680
  blobToUrl,
667
- button,
681
+ buildComponents,
682
+ buttonField as button,
668
683
  buttonGroupVariants,
669
684
  buttonVariants,
670
- buttons,
671
- card,
672
- cards,
685
+ buttonsField as buttons,
686
+ cardField as card,
687
+ cardsField as cards,
688
+ categories,
673
689
  cn,
690
+ confMap,
674
691
  contentFields,
675
692
  contentFieldsWithFeatures,
676
693
  convertBase64ToBlob,
677
- description,
694
+ descriptionField as description,
678
695
  downloadImage,
679
696
  downloadImageClient,
680
- features,
697
+ featuresField as features,
681
698
  fetchHasOnlineFile,
682
- field,
683
- fieldDefaults,
699
+ formFieldField as field,
700
+ formFieldDefaults as fieldDefaults,
684
701
  fieldTypes,
685
702
  filterEmptyValues,
686
703
  findComponentById,
687
- form,
704
+ formField as form,
688
705
  formDefaults,
689
706
  formMethods,
690
707
  formatLargeNumber,
691
708
  formatTimeAgo,
692
709
  formatTimeString,
693
710
  getBase64Client,
711
+ getComponentDefaultProps,
694
712
  getPlaceholderImageUrl,
695
713
  getRandomAdjective,
696
714
  getTimeDetails,
697
715
  getTimestamp,
698
716
  getUrlWithParams,
699
- heading,
700
- icon,
701
- image,
717
+ headingField as heading,
718
+ iconField as icon,
719
+ imageField as image,
702
720
  image16x9Placeholder,
703
721
  image1x1Placeholder,
704
722
  image9x16Placeholder,
705
- images,
723
+ imagesField as images,
706
724
  isValidFileSize,
707
725
  isValidFileType,
708
726
  liquidGlass,
@@ -714,6 +732,7 @@ export {
714
732
  resolveActionUrl,
715
733
  sectionOverlay,
716
734
  sectionStyle,
735
+ sectionsMap,
717
736
  sleep,
718
737
  structureFile,
719
738
  tabsListVariants,
@@ -729,7 +748,8 @@ export {
729
748
  usePuckDispatch,
730
749
  usePuckGetSelectorForId,
731
750
  usePuckHistory,
751
+ useSectionId,
732
752
  useSidebar,
733
- default109 as useUpload,
753
+ default111 as useUpload,
734
754
  withEditable
735
755
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dune-react",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {