dune-react 0.0.20 → 0.0.21

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 (331) hide show
  1. package/dist/components/puck-base/core/with-editable.js +13 -2
  2. package/dist/components/puck-base/fields/action-field.js +1 -1
  3. package/dist/components/puck-base/fields/location-field.js +1 -1
  4. package/dist/components/puck-base/form.js +1 -1
  5. package/dist/components/puck-base/image.js +1 -1
  6. package/dist/components/puck-base/index.d.ts +2 -1
  7. package/dist/components/puck-base/inline-editable.js +1 -1
  8. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +9 -4
  9. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +22 -0
  10. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +3 -1
  11. package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +44 -0
  12. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +16 -4
  13. package/dist/components/puck-block/banner-sections/props.d.ts +3 -0
  14. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +13 -2
  15. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +15 -4
  16. package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +3 -13
  17. package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +22 -0
  18. package/dist/components/puck-block/contact-sections/centered-form/index.js +3 -1
  19. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +5 -1
  20. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +22 -0
  21. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +3 -1
  22. package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +4 -22
  23. package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +22 -0
  24. package/dist/components/puck-block/contact-sections/contact-modal/index.js +3 -1
  25. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +3 -13
  26. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +22 -0
  27. package/dist/components/puck-block/contact-sections/form-with-media/index.js +3 -1
  28. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +4 -13
  29. package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +22 -0
  30. package/dist/components/puck-block/contact-sections/header-form-cards/index.js +3 -1
  31. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -2
  32. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +22 -0
  33. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +3 -1
  34. package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +22 -0
  35. package/dist/components/puck-block/contact-sections/info-cards-media/index.js +3 -1
  36. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -2
  37. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +22 -0
  38. package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +3 -1
  39. package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +5 -1
  40. package/dist/components/puck-block/contact-sections/props.d.ts +3 -0
  41. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +22 -0
  42. package/dist/components/puck-block/contact-sections/split-info-form/index.js +3 -1
  43. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +4 -13
  44. package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +22 -0
  45. package/dist/components/puck-block/contact-sections/tab-locations/index.js +3 -1
  46. package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +4 -2
  47. package/dist/components/puck-block/contact-sections/use-contact-form.js +1 -1
  48. package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +3 -2
  49. package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +22 -0
  50. package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +3 -1
  51. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +22 -0
  52. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +3 -1
  53. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +3 -2
  54. package/dist/components/puck-block/cta-sections/props.d.ts +3 -1
  55. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +35 -5
  56. package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +22 -9
  57. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +3 -2
  58. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +22 -0
  59. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.js +3 -1
  60. package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +6 -2
  61. package/dist/components/puck-block/faq-sections/props.d.ts +3 -0
  62. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +22 -0
  63. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.js +3 -1
  64. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -1
  65. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +22 -0
  66. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.js +3 -1
  67. package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +5 -1
  68. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +22 -0
  69. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +3 -1
  70. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +3 -2
  71. package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.js +6 -2
  72. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +5 -1
  73. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +22 -0
  74. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -1
  75. package/dist/components/puck-block/feature-sections/feature-list-split/component.js +5 -1
  76. package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +22 -0
  77. package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -1
  78. package/dist/components/puck-block/feature-sections/props.d.ts +3 -0
  79. package/dist/components/puck-block/feature-sections/tab-feature/component.js +4 -2
  80. package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -1
  81. package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +22 -0
  82. package/dist/components/puck-block/feature-sections/text-media-split/index.js +3 -1
  83. package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -3
  84. package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +22 -0
  85. package/dist/components/puck-block/feature-sections/text-only-section/index.js +3 -1
  86. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +5 -2
  87. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +22 -0
  88. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +3 -2
  89. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +22 -0
  90. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +2 -1
  91. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
  92. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +22 -0
  93. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +2 -1
  94. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +22 -0
  95. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +22 -0
  96. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +22 -0
  97. package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
  98. package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +3 -2
  99. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +22 -0
  100. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +3 -1
  101. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +16 -6
  102. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +27 -2
  103. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +2 -1
  104. package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -2
  105. package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +22 -0
  106. package/dist/components/puck-block/gallery-sections/image-carousel/index.js +3 -1
  107. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +22 -0
  108. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +3 -1
  109. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +4 -3
  110. package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +22 -0
  111. package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +3 -1
  112. package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +3 -2
  113. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +22 -0
  114. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +3 -1
  115. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +5 -1
  116. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +22 -0
  117. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +3 -1
  118. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +4 -2
  119. package/dist/components/puck-block/gallery-sections/props.d.ts +3 -0
  120. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +9 -3
  121. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +27 -2
  122. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +2 -1
  123. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -10
  124. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +22 -0
  125. package/dist/components/puck-block/gallery-sections/split-carousel/index.js +3 -1
  126. package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +3 -2
  127. package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +22 -0
  128. package/dist/components/puck-block/gallery-sections/static-grid/index.js +3 -1
  129. package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +3 -2
  130. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +5 -2
  131. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +5 -2
  132. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +4 -2
  133. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +22 -0
  134. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +2 -1
  135. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +5 -2
  136. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +22 -0
  137. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +2 -1
  138. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +22 -0
  139. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +2 -1
  140. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +5 -2
  141. package/dist/components/puck-block/header-sections/props.d.ts +3 -0
  142. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +22 -0
  143. package/dist/components/puck-block/header-sections/standard-navbar/index.js +2 -1
  144. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +5 -2
  145. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +7 -4
  146. package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +22 -0
  147. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +6 -3
  148. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +5 -2
  149. package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +35 -5
  150. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +15 -5
  151. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +13 -5
  152. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +2 -2
  153. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +12 -4
  154. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +22 -0
  155. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +3 -1
  156. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +8 -4
  157. package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +22 -0
  158. package/dist/components/puck-block/hero-sections/inline-image-hero/index.js +3 -1
  159. package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.js +4 -2
  160. package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +40 -7
  161. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +9 -5
  162. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +27 -2
  163. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +2 -1
  164. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +6 -4
  165. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +22 -0
  166. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +3 -1
  167. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +6 -4
  168. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +10 -3
  169. package/dist/components/puck-block/hero-sections/props.d.ts +3 -1
  170. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +12 -4
  171. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +16 -7
  172. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +13 -5
  173. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +2 -2
  174. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +17 -8
  175. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +35 -5
  176. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +5 -3
  177. package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +35 -5
  178. package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +35 -5
  179. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +15 -5
  180. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +37 -14
  181. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +35 -5
  182. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +5 -3
  183. package/dist/components/puck-block/hero-sections/tab-hero/component.js +6 -3
  184. package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +44 -0
  185. package/dist/components/puck-block/hero-sections/tab-hero/index.js +3 -2
  186. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +11 -3
  187. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +22 -0
  188. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +3 -1
  189. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +8 -4
  190. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +12 -4
  191. package/dist/components/puck-block/location-sections/location-1/location.d.ts +3 -0
  192. package/dist/components/puck-block/location-sections/location-2/location.d.ts +3 -0
  193. package/dist/components/puck-block/location-sections/location-3/location.d.ts +3 -0
  194. package/dist/components/puck-block/location-sections/props.d.ts +3 -0
  195. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -1
  196. package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +22 -0
  197. package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +3 -1
  198. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +5 -1
  199. package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +22 -0
  200. package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +3 -1
  201. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +22 -0
  202. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -1
  203. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +5 -1
  204. package/dist/components/puck-block/metrics-sections/props.d.ts +3 -0
  205. package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +22 -0
  206. package/dist/components/puck-block/metrics-sections/split-stats/index.js +3 -1
  207. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +5 -1
  208. package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +44 -0
  209. package/dist/components/puck-block/metrics-sections/tab-stats/index.js +4 -2
  210. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +4 -2
  211. package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.js +4 -2
  212. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +22 -0
  213. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
  214. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +5 -1
  215. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +22 -0
  216. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
  217. package/dist/components/puck-block/pricing-sections/props.d.ts +3 -0
  218. package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +4 -2
  219. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +44 -0
  220. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +4 -2
  221. package/dist/components/puck-block/pricing-sections/split-pricing/component.js +5 -2
  222. package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +22 -0
  223. package/dist/components/puck-block/pricing-sections/split-pricing/index.js +2 -1
  224. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.js +4 -2
  225. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +22 -0
  226. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +3 -1
  227. package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.js +5 -2
  228. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +22 -0
  229. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +3 -1
  230. package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +5 -1
  231. package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +22 -0
  232. package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +3 -1
  233. package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +6 -1
  234. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +22 -0
  235. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +3 -1
  236. package/dist/components/puck-block/showcase-sections/props.d.ts +3 -0
  237. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +8 -1
  238. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +22 -0
  239. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +3 -1
  240. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +8 -1
  241. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +22 -0
  242. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +3 -1
  243. package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +1 -3
  244. package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +5 -1
  245. package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +45 -3
  246. package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +4 -2
  247. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +8 -1
  248. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +22 -0
  249. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +3 -1
  250. package/dist/components/puck-block/team-sections/props.d.ts +3 -0
  251. package/dist/components/puck-block/team-sections/team-carousel/component.js +8 -2
  252. package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +44 -0
  253. package/dist/components/puck-block/team-sections/team-carousel/index.js +5 -2
  254. package/dist/components/puck-block/team-sections/team-grid/component.js +6 -1
  255. package/dist/components/puck-block/team-sections/team-grid/index.d.ts +44 -0
  256. package/dist/components/puck-block/team-sections/team-grid/index.js +5 -2
  257. package/dist/components/puck-block/team-sections/team-inline-card/component.js +10 -2
  258. package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +44 -0
  259. package/dist/components/puck-block/team-sections/team-inline-card/index.js +5 -2
  260. package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +9 -2
  261. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +22 -0
  262. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +3 -1
  263. package/dist/components/puck-block/team-sections/team-two-column/component.js +6 -1
  264. package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +22 -0
  265. package/dist/components/puck-block/team-sections/team-two-column/index.js +3 -1
  266. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +5 -1
  267. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +22 -0
  268. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.js +3 -1
  269. package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +6 -1
  270. package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +22 -0
  271. package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -1
  272. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +5 -1
  273. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +22 -0
  274. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
  275. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +1 -1
  276. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +14 -6
  277. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +35 -5
  278. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +5 -3
  279. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +8 -2
  280. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +22 -0
  281. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -1
  282. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +9 -2
  283. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +9 -2
  284. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +22 -0
  285. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
  286. package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -1
  287. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +9 -2
  288. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +22 -0
  289. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
  290. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +9 -2
  291. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +22 -0
  292. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +3 -1
  293. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -1
  294. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +22 -0
  295. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +3 -1
  296. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +5 -1
  297. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +22 -0
  298. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +3 -1
  299. package/dist/components/puck-block/text-sections/aside-nav-content/component.js +5 -1
  300. package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +44 -0
  301. package/dist/components/puck-block/text-sections/aside-nav-content/index.js +4 -2
  302. package/dist/components/puck-block/text-sections/blog-article/component.js +6 -1
  303. package/dist/components/puck-block/text-sections/blog-article/index.d.ts +44 -0
  304. package/dist/components/puck-block/text-sections/blog-article/index.js +4 -2
  305. package/dist/components/puck-block/text-sections/props.d.ts +3 -0
  306. package/dist/components/puck-block/text-sections/prose-content/component.js +5 -1
  307. package/dist/components/puck-block/text-sections/prose-content/index.d.ts +22 -0
  308. package/dist/components/puck-block/text-sections/prose-content/index.js +3 -1
  309. package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +44 -0
  310. package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -1
  311. package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +22 -0
  312. package/dist/components/puck-block/text-sections/side-media-content/index.js +3 -1
  313. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +6 -1
  314. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +22 -0
  315. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +3 -1
  316. package/dist/components/puck-block/text-sections/text-header/index.d.ts +22 -0
  317. package/dist/components/puck-core/core/context/section-id-context.d.ts +6 -0
  318. package/dist/components/puck-core/core/context/section-id-context.js +12 -0
  319. package/dist/components/puck-core/core/styles.d.ts +374 -0
  320. package/dist/components/puck-core/fields/action-field.js +1 -1
  321. package/dist/components/puck-core/index.d.ts +2 -1
  322. package/dist/components/puck-core/section-wrapper.d.ts +27 -13
  323. package/dist/components/puck-core/section-wrapper.js +48 -0
  324. package/dist/hooks/use-scroll-container.d.ts +18 -0
  325. package/dist/hooks/use-scroll-container.js +25 -0
  326. package/dist/index.js +4 -1
  327. package/package.json +1 -1
  328. package/dist/components/puck-core/editor-context.d.ts +0 -25
  329. package/dist/components/puck-core/editor-context.js +0 -15
  330. /package/dist/components/{puck-base → puck-core/core/context}/editor-context.d.ts +0 -0
  331. /package/dist/components/{puck-base → puck-core/core/context}/editor-context.js +0 -0
@@ -1,5 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { CompoundImage } from "../../../puck-base/image.js";
3
+ import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
4
+ import { cn } from "../../../../utils/css-utils.js";
3
5
  const StickyTextMultiImage = (props) => {
4
6
  const {
5
7
  heading,
@@ -11,6 +13,9 @@ const StickyTextMultiImage = (props) => {
11
13
  ...props
12
14
  };
13
15
  const {
16
+ className: sectionClassName,
17
+ style: sectionStyle,
18
+ css,
14
19
  contentPosition = "left"
15
20
  } = styles ?? {};
16
21
  const textContent = /* @__PURE__ */ jsxs("div", { className: "static top-20 lg:sticky", children: [
@@ -18,7 +23,7 @@ const StickyTextMultiImage = (props) => {
18
23
  /* @__PURE__ */ jsx("div", { className: "prose", dangerouslySetInnerHTML: { __html: prose } })
19
24
  ] });
20
25
  const imagesContent = /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 md:gap-8", children: images.map((img, index) => /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(CompoundImage, { src: img.src, alt: img.alt, className: "w-full object-cover" }) }, index)) });
21
- 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 grid-cols-1 items-start gap-x-12 gap-y-16 md:gap-y-20 lg:grid-cols-[1fr_1.5fr] lg:gap-x-20", children: contentPosition === "left" ? /* @__PURE__ */ jsxs(Fragment, { children: [
26
+ 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 grid-cols-1 items-start gap-x-12 gap-y-16 md:gap-y-20 lg:grid-cols-[1fr_1.5fr] lg:gap-x-20", children: contentPosition === "left" ? /* @__PURE__ */ jsxs(Fragment, { children: [
22
27
  textContent,
23
28
  imagesContent
24
29
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -32,6 +32,28 @@ declare const conf: {
32
32
  type: string;
33
33
  label: string;
34
34
  objectFields: {
35
+ className: {
36
+ readonly type: "text";
37
+ readonly label: "Class Name";
38
+ readonly ai: {
39
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
40
+ };
41
+ };
42
+ style: {
43
+ readonly type: "object";
44
+ readonly label: "Style";
45
+ readonly objectFields: {};
46
+ readonly ai: {
47
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
48
+ };
49
+ };
50
+ css: {
51
+ readonly type: "textarea";
52
+ readonly label: "Custom CSS";
53
+ readonly ai: {
54
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
55
+ };
56
+ };
35
57
  contentPosition: {
36
58
  readonly type: "radio";
37
59
  readonly label: "Content Position";
@@ -2,6 +2,7 @@ import { StickyTextMultiImage, StickyTextMultiImageDefaults } from "./component.
2
2
  import { headingField } from "../../../puck-core/core/props/content.js";
3
3
  import { imagesField } from "../../../puck-core/core/props/media.js";
4
4
  import { textStyleFields } from "../props.js";
5
+ import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
5
6
  const conf = {
6
7
  fields: {
7
8
  heading: headingField,
@@ -11,7 +12,8 @@ const conf = {
11
12
  type: "object",
12
13
  label: "Styles",
13
14
  objectFields: {
14
- contentPosition: textStyleFields.contentPosition
15
+ contentPosition: textStyleFields.contentPosition,
16
+ ...sectionWrapperFields
15
17
  }
16
18
  }
17
19
  },
@@ -171,6 +171,28 @@ declare const conf: {
171
171
  type: string;
172
172
  label: string;
173
173
  objectFields: {
174
+ className: {
175
+ readonly type: "text";
176
+ readonly label: "Class Name";
177
+ readonly ai: {
178
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
179
+ };
180
+ };
181
+ style: {
182
+ readonly type: "object";
183
+ readonly label: "Style";
184
+ readonly objectFields: {};
185
+ readonly ai: {
186
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
187
+ };
188
+ };
189
+ css: {
190
+ readonly type: "textarea";
191
+ readonly label: "Custom CSS";
192
+ readonly ai: {
193
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
194
+ };
195
+ };
174
196
  textLayout: {
175
197
  readonly type: "select";
176
198
  readonly label: "Text Layout";
@@ -0,0 +1,6 @@
1
+ import { type ReactNode } from "react";
2
+ export declare const SectionIdProvider: ({ value, children, }: {
3
+ value: string | null;
4
+ children: ReactNode;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const useSectionId: () => string | null;
@@ -0,0 +1,12 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { useContext, createContext } from "react";
3
+ const SectionIdContext = createContext(null);
4
+ const SectionIdProvider = ({
5
+ value,
6
+ children
7
+ }) => /* @__PURE__ */ jsx(SectionIdContext.Provider, { value, children });
8
+ const useSectionId = () => useContext(SectionIdContext);
9
+ export {
10
+ SectionIdProvider,
11
+ useSectionId
12
+ };
@@ -370,6 +370,28 @@ export declare function createStylesField<T extends Record<string, unknown> = Re
370
370
  type: "object";
371
371
  label: string;
372
372
  objectFields: {
373
+ className: {
374
+ readonly type: "text";
375
+ readonly label: "Class Name";
376
+ readonly ai: {
377
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
378
+ };
379
+ };
380
+ style: {
381
+ readonly type: "object";
382
+ readonly label: "Style";
383
+ readonly objectFields: {};
384
+ readonly ai: {
385
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
386
+ };
387
+ };
388
+ css: {
389
+ readonly type: "textarea";
390
+ readonly label: "Custom CSS";
391
+ readonly ai: {
392
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
393
+ };
394
+ };
373
395
  sectionStyle: {
374
396
  readonly type: "select";
375
397
  readonly label: "Section Style";
@@ -470,6 +492,28 @@ export declare const bannerStylesField: {
470
492
  type: "object";
471
493
  label: string;
472
494
  objectFields: {
495
+ className: {
496
+ readonly type: "text";
497
+ readonly label: "Class Name";
498
+ readonly ai: {
499
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
500
+ };
501
+ };
502
+ style: {
503
+ readonly type: "object";
504
+ readonly label: "Style";
505
+ readonly objectFields: {};
506
+ readonly ai: {
507
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
508
+ };
509
+ };
510
+ css: {
511
+ readonly type: "textarea";
512
+ readonly label: "Custom CSS";
513
+ readonly ai: {
514
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
515
+ };
516
+ };
473
517
  sectionStyle: {
474
518
  readonly type: "select";
475
519
  readonly label: "Section Style";
@@ -564,6 +608,28 @@ export declare const heroStylesField: {
564
608
  type: "object";
565
609
  label: string;
566
610
  objectFields: {
611
+ className: {
612
+ readonly type: "text";
613
+ readonly label: "Class Name";
614
+ readonly ai: {
615
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
616
+ };
617
+ };
618
+ style: {
619
+ readonly type: "object";
620
+ readonly label: "Style";
621
+ readonly objectFields: {};
622
+ readonly ai: {
623
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
624
+ };
625
+ };
626
+ css: {
627
+ readonly type: "textarea";
628
+ readonly label: "Custom CSS";
629
+ readonly ai: {
630
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
631
+ };
632
+ };
567
633
  sectionStyle: {
568
634
  readonly type: "select";
569
635
  readonly label: "Section Style";
@@ -657,6 +723,28 @@ export declare const ctaStylesField: {
657
723
  type: "object";
658
724
  label: string;
659
725
  objectFields: {
726
+ className: {
727
+ readonly type: "text";
728
+ readonly label: "Class Name";
729
+ readonly ai: {
730
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
731
+ };
732
+ };
733
+ style: {
734
+ readonly type: "object";
735
+ readonly label: "Style";
736
+ readonly objectFields: {};
737
+ readonly ai: {
738
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
739
+ };
740
+ };
741
+ css: {
742
+ readonly type: "textarea";
743
+ readonly label: "Custom CSS";
744
+ readonly ai: {
745
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
746
+ };
747
+ };
660
748
  sectionStyle: {
661
749
  readonly type: "select";
662
750
  readonly label: "Section Style";
@@ -750,6 +838,28 @@ export declare const featureStylesField: {
750
838
  type: "object";
751
839
  label: string;
752
840
  objectFields: {
841
+ className: {
842
+ readonly type: "text";
843
+ readonly label: "Class Name";
844
+ readonly ai: {
845
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
846
+ };
847
+ };
848
+ style: {
849
+ readonly type: "object";
850
+ readonly label: "Style";
851
+ readonly objectFields: {};
852
+ readonly ai: {
853
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
854
+ };
855
+ };
856
+ css: {
857
+ readonly type: "textarea";
858
+ readonly label: "Custom CSS";
859
+ readonly ai: {
860
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
861
+ };
862
+ };
753
863
  sectionStyle: {
754
864
  readonly type: "select";
755
865
  readonly label: "Section Style";
@@ -843,6 +953,28 @@ export declare const faqStylesField: {
843
953
  type: "object";
844
954
  label: string;
845
955
  objectFields: {
956
+ className: {
957
+ readonly type: "text";
958
+ readonly label: "Class Name";
959
+ readonly ai: {
960
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
961
+ };
962
+ };
963
+ style: {
964
+ readonly type: "object";
965
+ readonly label: "Style";
966
+ readonly objectFields: {};
967
+ readonly ai: {
968
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
969
+ };
970
+ };
971
+ css: {
972
+ readonly type: "textarea";
973
+ readonly label: "Custom CSS";
974
+ readonly ai: {
975
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
976
+ };
977
+ };
846
978
  sectionStyle: {
847
979
  readonly type: "select";
848
980
  readonly label: "Section Style";
@@ -936,6 +1068,28 @@ export declare const galleryStylesField: {
936
1068
  type: "object";
937
1069
  label: string;
938
1070
  objectFields: {
1071
+ className: {
1072
+ readonly type: "text";
1073
+ readonly label: "Class Name";
1074
+ readonly ai: {
1075
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1076
+ };
1077
+ };
1078
+ style: {
1079
+ readonly type: "object";
1080
+ readonly label: "Style";
1081
+ readonly objectFields: {};
1082
+ readonly ai: {
1083
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1084
+ };
1085
+ };
1086
+ css: {
1087
+ readonly type: "textarea";
1088
+ readonly label: "Custom CSS";
1089
+ readonly ai: {
1090
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1091
+ };
1092
+ };
939
1093
  sectionStyle: {
940
1094
  readonly type: "select";
941
1095
  readonly label: "Section Style";
@@ -1029,6 +1183,28 @@ export declare const testimonialStylesField: {
1029
1183
  type: "object";
1030
1184
  label: string;
1031
1185
  objectFields: {
1186
+ className: {
1187
+ readonly type: "text";
1188
+ readonly label: "Class Name";
1189
+ readonly ai: {
1190
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1191
+ };
1192
+ };
1193
+ style: {
1194
+ readonly type: "object";
1195
+ readonly label: "Style";
1196
+ readonly objectFields: {};
1197
+ readonly ai: {
1198
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1199
+ };
1200
+ };
1201
+ css: {
1202
+ readonly type: "textarea";
1203
+ readonly label: "Custom CSS";
1204
+ readonly ai: {
1205
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1206
+ };
1207
+ };
1032
1208
  sectionStyle: {
1033
1209
  readonly type: "select";
1034
1210
  readonly label: "Section Style";
@@ -1122,6 +1298,28 @@ export declare const showcaseStylesField: {
1122
1298
  type: "object";
1123
1299
  label: string;
1124
1300
  objectFields: {
1301
+ className: {
1302
+ readonly type: "text";
1303
+ readonly label: "Class Name";
1304
+ readonly ai: {
1305
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1306
+ };
1307
+ };
1308
+ style: {
1309
+ readonly type: "object";
1310
+ readonly label: "Style";
1311
+ readonly objectFields: {};
1312
+ readonly ai: {
1313
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1314
+ };
1315
+ };
1316
+ css: {
1317
+ readonly type: "textarea";
1318
+ readonly label: "Custom CSS";
1319
+ readonly ai: {
1320
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1321
+ };
1322
+ };
1125
1323
  sectionStyle: {
1126
1324
  readonly type: "select";
1127
1325
  readonly label: "Section Style";
@@ -1215,6 +1413,28 @@ export declare const textStylesField: {
1215
1413
  type: "object";
1216
1414
  label: string;
1217
1415
  objectFields: {
1416
+ className: {
1417
+ readonly type: "text";
1418
+ readonly label: "Class Name";
1419
+ readonly ai: {
1420
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1421
+ };
1422
+ };
1423
+ style: {
1424
+ readonly type: "object";
1425
+ readonly label: "Style";
1426
+ readonly objectFields: {};
1427
+ readonly ai: {
1428
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1429
+ };
1430
+ };
1431
+ css: {
1432
+ readonly type: "textarea";
1433
+ readonly label: "Custom CSS";
1434
+ readonly ai: {
1435
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1436
+ };
1437
+ };
1218
1438
  sectionStyle: {
1219
1439
  readonly type: "select";
1220
1440
  readonly label: "Section Style";
@@ -1308,6 +1528,28 @@ export declare const contactStylesField: {
1308
1528
  type: "object";
1309
1529
  label: string;
1310
1530
  objectFields: {
1531
+ className: {
1532
+ readonly type: "text";
1533
+ readonly label: "Class Name";
1534
+ readonly ai: {
1535
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1536
+ };
1537
+ };
1538
+ style: {
1539
+ readonly type: "object";
1540
+ readonly label: "Style";
1541
+ readonly objectFields: {};
1542
+ readonly ai: {
1543
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1544
+ };
1545
+ };
1546
+ css: {
1547
+ readonly type: "textarea";
1548
+ readonly label: "Custom CSS";
1549
+ readonly ai: {
1550
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1551
+ };
1552
+ };
1311
1553
  sectionStyle: {
1312
1554
  readonly type: "select";
1313
1555
  readonly label: "Section Style";
@@ -1399,6 +1641,28 @@ export declare const locationStylesField: {
1399
1641
  type: "object";
1400
1642
  label: string;
1401
1643
  objectFields: {
1644
+ className: {
1645
+ readonly type: "text";
1646
+ readonly label: "Class Name";
1647
+ readonly ai: {
1648
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1649
+ };
1650
+ };
1651
+ style: {
1652
+ readonly type: "object";
1653
+ readonly label: "Style";
1654
+ readonly objectFields: {};
1655
+ readonly ai: {
1656
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1657
+ };
1658
+ };
1659
+ css: {
1660
+ readonly type: "textarea";
1661
+ readonly label: "Custom CSS";
1662
+ readonly ai: {
1663
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1664
+ };
1665
+ };
1402
1666
  sectionStyle: {
1403
1667
  readonly type: "select";
1404
1668
  readonly label: "Section Style";
@@ -1494,6 +1758,28 @@ export declare const footerStylesField: {
1494
1758
  type: "object";
1495
1759
  label: string;
1496
1760
  objectFields: {
1761
+ className: {
1762
+ readonly type: "text";
1763
+ readonly label: "Class Name";
1764
+ readonly ai: {
1765
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1766
+ };
1767
+ };
1768
+ style: {
1769
+ readonly type: "object";
1770
+ readonly label: "Style";
1771
+ readonly objectFields: {};
1772
+ readonly ai: {
1773
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1774
+ };
1775
+ };
1776
+ css: {
1777
+ readonly type: "textarea";
1778
+ readonly label: "Custom CSS";
1779
+ readonly ai: {
1780
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1781
+ };
1782
+ };
1497
1783
  sectionStyle: {
1498
1784
  readonly type: "select";
1499
1785
  readonly label: "Section Style";
@@ -1584,6 +1870,28 @@ export declare const headerStylesField: {
1584
1870
  type: "object";
1585
1871
  label: string;
1586
1872
  objectFields: {
1873
+ className: {
1874
+ readonly type: "text";
1875
+ readonly label: "Class Name";
1876
+ readonly ai: {
1877
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1878
+ };
1879
+ };
1880
+ style: {
1881
+ readonly type: "object";
1882
+ readonly label: "Style";
1883
+ readonly objectFields: {};
1884
+ readonly ai: {
1885
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1886
+ };
1887
+ };
1888
+ css: {
1889
+ readonly type: "textarea";
1890
+ readonly label: "Custom CSS";
1891
+ readonly ai: {
1892
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
1893
+ };
1894
+ };
1587
1895
  sectionStyle: {
1588
1896
  readonly type: "select";
1589
1897
  readonly label: "Section Style";
@@ -1674,6 +1982,28 @@ export declare const metricsStylesField: {
1674
1982
  type: "object";
1675
1983
  label: string;
1676
1984
  objectFields: {
1985
+ className: {
1986
+ readonly type: "text";
1987
+ readonly label: "Class Name";
1988
+ readonly ai: {
1989
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
1990
+ };
1991
+ };
1992
+ style: {
1993
+ readonly type: "object";
1994
+ readonly label: "Style";
1995
+ readonly objectFields: {};
1996
+ readonly ai: {
1997
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
1998
+ };
1999
+ };
2000
+ css: {
2001
+ readonly type: "textarea";
2002
+ readonly label: "Custom CSS";
2003
+ readonly ai: {
2004
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
2005
+ };
2006
+ };
1677
2007
  sectionStyle: {
1678
2008
  readonly type: "select";
1679
2009
  readonly label: "Section Style";
@@ -1764,6 +2094,28 @@ export declare const pricingStylesField: {
1764
2094
  type: "object";
1765
2095
  label: string;
1766
2096
  objectFields: {
2097
+ className: {
2098
+ readonly type: "text";
2099
+ readonly label: "Class Name";
2100
+ readonly ai: {
2101
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
2102
+ };
2103
+ };
2104
+ style: {
2105
+ readonly type: "object";
2106
+ readonly label: "Style";
2107
+ readonly objectFields: {};
2108
+ readonly ai: {
2109
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
2110
+ };
2111
+ };
2112
+ css: {
2113
+ readonly type: "textarea";
2114
+ readonly label: "Custom CSS";
2115
+ readonly ai: {
2116
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
2117
+ };
2118
+ };
1767
2119
  sectionStyle: {
1768
2120
  readonly type: "select";
1769
2121
  readonly label: "Section Style";
@@ -1854,6 +2206,28 @@ export declare const teamStylesField: {
1854
2206
  type: "object";
1855
2207
  label: string;
1856
2208
  objectFields: {
2209
+ className: {
2210
+ readonly type: "text";
2211
+ readonly label: "Class Name";
2212
+ readonly ai: {
2213
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
2214
+ };
2215
+ };
2216
+ style: {
2217
+ readonly type: "object";
2218
+ readonly label: "Style";
2219
+ readonly objectFields: {};
2220
+ readonly ai: {
2221
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
2222
+ };
2223
+ };
2224
+ css: {
2225
+ readonly type: "textarea";
2226
+ readonly label: "Custom CSS";
2227
+ readonly ai: {
2228
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
2229
+ };
2230
+ };
1857
2231
  sectionStyle: {
1858
2232
  readonly type: "select";
1859
2233
  readonly label: "Section Style";
@@ -5,7 +5,7 @@ import { Input } from "../../shadcn/input.js";
5
5
  import { Label } from "../../shadcn/label.js";
6
6
  import { Tabs, TabsList, TabsTrigger } from "../../shadcn/tabs.js";
7
7
  import { LinkIcon, XIcon, GlobeIcon } from "lucide-react";
8
- import { useEditorContext } from "../editor-context.js";
8
+ import { useEditorContext } from "../core/context/editor-context.js";
9
9
  const ACTION_TYPE_OPTIONS = [
10
10
  { label: "Page Link", value: "page" },
11
11
  { label: "External Link", value: "external" },
@@ -6,6 +6,7 @@ export { findComponentById, getRandomAdjective } from "./core/utils";
6
6
  export { ErrorBoundary } from "./error-boundary";
7
7
  export { InlineEditable } from "./inline-editable";
8
8
  export { usePuckDispatch, usePuckAppState, usePuckHistory, usePuckConfig, usePuckGetSelectorForId, type PuckComponentInfo, } from "./core/hooks";
9
- export { EditorContextProvider, useEditorContext } from "./editor-context";
9
+ export { SectionWrapper, type SectionWrapperProps } from "./section-wrapper";
10
+ export { EditorContextProvider, useEditorContext } from "./core/context/editor-context";
10
11
  export { default as useUpload, type UploadFileItem, type UploadStatus, type UseUploadOptions } from "./use-upload";
11
12
  export { icon, action, actionDefaults, button, buttons, badge, image, images, padding, paddingDefaults, paddingLevel, heading, description, features, contentFields, contentFieldsWithFeatures, card, cards, field, fieldDefaults, form, formDefaults, getPlaceholderImageUrl, image16x9Placeholder, image1x1Placeholder, image9x16Placeholder, sectionStyle, sectionOverlay, backgroundColor, backgroundImage, } from "./core/fields";
@@ -1,19 +1,33 @@
1
1
  import { type CSSProperties, type ReactNode } from "react";
2
- /**
3
- * SectionWrapper - 通用 Section 样式容器
4
- *
5
- * 包裹任意 section 组件,提供三层样式自定义能力:
6
- *
7
- * 1. className - Tailwind 快捷样式
8
- * 2. style - 内联样式,适用于动态值、CSS 变量、backgroundImage 等
9
- * 3. css - 原生 CSS 字符串,支持选择器、伪类、嵌套规则
10
- * 用 & 代表当前 section,会自动替换为 scoped ID,样式不会污染其他区块
11
- */
12
- interface SectionWrapperProps {
2
+ export interface SectionWrapperProps extends React.HTMLAttributes<HTMLElement> {
13
3
  className?: string;
14
4
  style?: CSSProperties;
15
5
  css?: string;
16
6
  children: ReactNode;
17
7
  }
18
- export declare function SectionWrapper({ className, style, css, children, }: SectionWrapperProps): import("react/jsx-runtime").JSX.Element;
19
- export {};
8
+ /** Puck field definitions for SectionWrapper styling props */
9
+ export declare const sectionWrapperFields: {
10
+ readonly className: {
11
+ readonly type: "text";
12
+ readonly label: "Class Name";
13
+ readonly ai: {
14
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
15
+ };
16
+ };
17
+ readonly style: {
18
+ readonly type: "object";
19
+ readonly label: "Style";
20
+ readonly objectFields: {};
21
+ readonly ai: {
22
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
23
+ };
24
+ };
25
+ readonly css: {
26
+ readonly type: "textarea";
27
+ readonly label: "Custom CSS";
28
+ readonly ai: {
29
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
30
+ };
31
+ };
32
+ };
33
+ export declare const SectionWrapper: import("react").ForwardRefExoticComponent<SectionWrapperProps & import("react").RefAttributes<HTMLElement>>;