dune-react 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/dist/components/index.d.ts +1 -0
  2. package/dist/components/puck-base/button.d.ts +1 -1
  3. package/dist/components/puck-base/button.js +5 -6
  4. package/dist/components/puck-base/card.d.ts +1 -1
  5. package/dist/components/puck-base/container.js +1 -1
  6. package/dist/components/puck-base/content.d.ts +1 -1
  7. package/dist/components/puck-base/image.js +16 -16
  8. package/dist/components/puck-base/index.d.ts +1 -13
  9. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +13 -13
  10. package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +3 -25
  11. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +8 -8
  12. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +8 -6
  13. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +3 -1
  14. package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +1 -1
  15. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -1
  16. package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -1
  17. package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +1 -1
  18. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +1 -1
  19. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +1 -1
  20. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -1
  21. package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +1 -1
  22. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +2 -2
  23. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +2 -2
  24. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +1 -1
  25. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +1 -1
  26. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -1
  27. package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +1 -1
  28. package/dist/components/puck-block/cta-sections/index.d.ts +2 -0
  29. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +1 -1
  30. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +92 -63
  31. package/dist/components/puck-block/cta-sections/props.js +46 -0
  32. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +1 -73
  33. package/dist/components/puck-block/cta-sections/side-media-cta/index.js +35 -0
  34. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +84 -0
  35. package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +2 -74
  36. package/dist/components/puck-block/cta-sections/text-block-cta/index.js +38 -0
  37. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +1 -1
  38. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +165 -0
  39. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +1 -1
  40. package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +1 -1
  41. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +1 -1
  42. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +1 -1
  43. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +1 -1
  44. package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +1 -1
  45. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +1 -1
  46. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +2 -2
  47. package/dist/components/puck-block/feature-sections/feature-list-split/component.js +1 -1
  48. package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +2 -2
  49. package/dist/components/puck-block/feature-sections/tab-feature/component.js +80 -64
  50. package/dist/components/puck-block/feature-sections/text-media-split/component.js +1 -1
  51. package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +1 -1
  52. package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +1 -1
  53. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +72 -18
  54. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +79 -0
  55. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +43 -1
  56. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +42 -1
  57. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +4 -3
  58. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +86 -0
  59. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +1 -1
  60. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +3 -2
  61. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +38 -1
  62. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +1 -1
  63. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +55 -1
  64. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +42 -1
  65. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +55 -1
  66. package/dist/components/puck-block/footer-sections/props.d.ts +3 -0
  67. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
  68. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +25 -28
  69. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +3 -2
  70. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
  71. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +2 -2
  72. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +1 -1
  73. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +2 -2
  74. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +68 -65
  75. package/dist/components/puck-block/gallery-sections/props.d.ts +11 -1
  76. package/dist/components/puck-block/gallery-sections/props.js +7 -2
  77. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +18 -0
  78. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +24 -27
  79. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +3 -2
  80. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +25 -22
  81. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +11 -1
  82. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +3 -2
  83. package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +1 -1
  84. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +119 -17
  85. package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +1 -1
  86. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +162 -22
  87. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +1 -1
  88. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +143 -19
  89. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +1 -1
  90. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +1 -1
  91. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +3 -2
  92. package/dist/components/puck-block/header-sections/props.d.ts +3 -0
  93. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +1 -1
  94. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +3 -2
  95. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +50 -9
  96. package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
  97. package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +2 -2
  98. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +8 -8
  99. package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +1 -1
  100. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +6 -6
  101. package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
  102. package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +2 -2
  103. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +5 -3
  104. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +1 -1
  105. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +26 -17
  106. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +1 -1
  107. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +3 -3
  108. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
  109. package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +1 -1
  110. package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +26 -29
  111. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +60 -19
  112. package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +1 -1
  113. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +25 -28
  114. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +3 -2
  115. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +2 -2
  116. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +1 -1
  117. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +3 -3
  118. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +18 -6
  119. package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
  120. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +9 -7
  121. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
  122. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +7 -5
  123. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +1 -1
  124. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +93 -44
  125. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +1 -1
  126. package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +2 -2
  127. package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +2 -2
  128. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
  129. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +14 -6
  130. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
  131. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +2 -2
  132. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +1 -1
  133. package/dist/components/puck-block/hero-sections/tab-hero/component.js +4 -4
  134. package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +28 -44
  135. package/dist/components/puck-block/hero-sections/tab-hero/index.js +7 -2
  136. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +96 -46
  137. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +1 -1
  138. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +33 -10
  139. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
  140. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +14 -12
  141. package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
  142. package/dist/components/puck-block/index.d.ts +2 -0
  143. package/dist/components/puck-block/location-sections/location-1/location.d.ts +1 -1
  144. package/dist/components/puck-block/location-sections/location-2/location.d.ts +1 -1
  145. package/dist/components/puck-block/location-sections/location-3/location.d.ts +2 -2
  146. package/dist/components/puck-block/location-sections/props.d.ts +1 -1
  147. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +1 -1
  148. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +1 -1
  149. package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +1 -1
  150. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +1 -1
  151. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +2 -2
  152. package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +1 -1
  153. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +1 -1
  154. package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +0 -22
  155. package/dist/components/puck-block/metrics-sections/tab-stats/index.js +1 -1
  156. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +39 -26
  157. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +47 -0
  158. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +34 -0
  159. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +0 -22
  160. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +1 -1
  161. package/dist/components/puck-block/pricing-sections/split-pricing/component.js +3 -3
  162. package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +28 -22
  163. package/dist/components/puck-block/pricing-sections/split-pricing/index.js +8 -1
  164. package/dist/components/puck-block/registry.generated.d.ts +13408 -0
  165. package/dist/components/puck-block/registry.generated.js +558 -0
  166. package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +1 -1
  167. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +1 -1
  168. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +2 -2
  169. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +2 -2
  170. package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +1 -1
  171. package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +1 -23
  172. package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +1 -1
  173. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +2 -2
  174. package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +1 -23
  175. package/dist/components/puck-block/team-sections/team-carousel/index.js +1 -2
  176. package/dist/components/puck-block/team-sections/team-grid/index.d.ts +1 -23
  177. package/dist/components/puck-block/team-sections/team-grid/index.js +1 -2
  178. package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +1 -23
  179. package/dist/components/puck-block/team-sections/team-inline-card/index.js +1 -2
  180. package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +1 -1
  181. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
  182. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +1 -1
  183. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +2 -2
  184. package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +0 -22
  185. package/dist/components/puck-block/text-sections/aside-nav-content/index.js +1 -1
  186. package/dist/components/puck-block/text-sections/blog-article/index.d.ts +0 -22
  187. package/dist/components/puck-block/text-sections/blog-article/index.js +1 -1
  188. package/dist/components/puck-block/text-sections/prose-content/component.js +1 -1
  189. package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +1 -23
  190. package/dist/components/puck-block/text-sections/side-media-content/component.js +1 -1
  191. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +3 -3
  192. package/dist/components/puck-block/text-sections/text-header/index.d.ts +2 -2
  193. package/dist/components/puck-core/core/props/content.js +41 -1
  194. package/dist/components/puck-core/core/props/form.js +76 -0
  195. package/dist/components/puck-core/core/props/index.js +34 -0
  196. package/dist/components/puck-core/core/props/interactive.js +17 -0
  197. package/dist/components/puck-core/core/props/media.js +14 -5
  198. package/dist/components/puck-core/core/styles.d.ts +1 -1
  199. package/dist/components/{puck-base → puck-core}/core/styles.js +3 -1
  200. package/dist/components/{puck-base → puck-core}/core/with-editable.js +1 -1
  201. package/dist/components/puck-core/fields/action-field.js +1 -1
  202. package/dist/components/puck-core/fields/array-field.d.ts +7 -0
  203. package/dist/components/puck-core/fields/array-field.js +229 -0
  204. package/dist/components/{puck-base → puck-core}/fields/auto-field.js +11 -0
  205. package/dist/components/{puck-base → puck-core/fields}/image-upload-field.js +5 -5
  206. package/dist/components/puck-core/fields/index.d.ts +1 -0
  207. package/dist/components/{puck-base → puck-core}/fields/location-field.js +1 -1
  208. package/dist/components/{puck-base → puck-core}/fields/object-field.js +1 -1
  209. package/dist/components/puck-core/index.d.ts +1 -0
  210. package/dist/components/{puck-base → puck-core}/inline-editable.js +1 -1
  211. package/dist/index.js +121 -104
  212. package/dist/node_modules/.pnpm/@dnd-kit_accessibility@3.1.1_react@19.2.4/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +59 -0
  213. package/dist/node_modules/.pnpm/@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@dnd-kit/core/dist/core.esm.js +3093 -0
  214. package/dist/node_modules/.pnpm/@dnd-kit_sortable@10.0.0_@dnd-kit_core@6.3.1_react-dom@19.2.4_react@19.2.4__react@19.2.4__react@19.2.4/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +592 -0
  215. package/dist/node_modules/.pnpm/@dnd-kit_utilities@3.2.2_react@19.2.4/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +301 -0
  216. package/package.json +4 -1
  217. package/dist/components/puck-base/core/fields.d.ts +0 -827
  218. package/dist/components/puck-base/core/fields.js +0 -267
  219. package/dist/components/puck-base/core/hooks.d.ts +0 -19
  220. package/dist/components/puck-base/core/icon-catalog.d.ts +0 -14
  221. package/dist/components/puck-base/core/icon-catalog.js +0 -193
  222. package/dist/components/puck-base/core/styles.d.ts +0 -1942
  223. package/dist/components/puck-base/core/types.d.ts +0 -20
  224. package/dist/components/puck-base/core/types.js +0 -26
  225. package/dist/components/puck-base/core/utils.d.ts +0 -5
  226. package/dist/components/puck-base/core/with-editable.d.ts +0 -16
  227. package/dist/components/puck-base/error-boundary.d.ts +0 -4
  228. package/dist/components/puck-base/fields/action-field.d.ts +0 -30
  229. package/dist/components/puck-base/fields/action-field.js +0 -265
  230. package/dist/components/puck-base/fields/auto-field.d.ts +0 -2
  231. package/dist/components/puck-base/fields/color-field.d.ts +0 -6
  232. package/dist/components/puck-base/fields/index.d.ts +0 -8
  233. package/dist/components/puck-base/fields/location-field.d.ts +0 -44
  234. package/dist/components/puck-base/fields/object-field.d.ts +0 -8
  235. package/dist/components/puck-base/fields/radio-toggle-field.d.ts +0 -10
  236. package/dist/components/puck-base/fields/types.d.ts +0 -29
  237. package/dist/components/puck-base/fields/virtualized-select-field.d.ts +0 -13
  238. package/dist/components/puck-base/icon-picker-field.d.ts +0 -8
  239. package/dist/components/puck-base/icon-picker-field.js +0 -153
  240. package/dist/components/puck-base/image-upload-field.d.ts +0 -7
  241. package/dist/components/puck-base/inline-editable.d.ts +0 -14
  242. package/dist/components/puck-base/use-upload.d.ts +0 -42
  243. /package/dist/components/{puck-base → puck-core}/core/hooks.js +0 -0
  244. /package/dist/components/{puck-base → puck-core}/core/utils.js +0 -0
  245. /package/dist/components/{puck-base → puck-core}/error-boundary.js +0 -0
  246. /package/dist/components/{puck-base → puck-core}/fields/color-field.js +0 -0
  247. /package/dist/components/{puck-base → puck-core}/fields/radio-toggle-field.js +0 -0
  248. /package/dist/components/{puck-base → puck-core}/fields/virtualized-select-field.js +0 -0
  249. /package/dist/components/{puck-base → puck-core}/use-upload.js +0 -0
@@ -41,7 +41,7 @@ declare const conf: {
41
41
  readonly action: {
42
42
  type: "custom";
43
43
  label: string;
44
- render: typeof import("../../../puck-core").ActionField;
44
+ render: typeof import("../../..").ActionField;
45
45
  };
46
46
  readonly variant: {
47
47
  readonly type: "select";
@@ -15,7 +15,7 @@ const StandardNavbar = (props) => {
15
15
  const isMobile = useMediaQuery("(max-width: 991px)");
16
16
  return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("z-[999] flex w-full items-center border-b border-border-primary bg-background-primary lg:min-h-18 lg:px-[5%]", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "size-full lg:flex lg:items-center lg:justify-between", children: [
17
17
  /* @__PURE__ */ jsxs("div", { className: "flex min-h-16 items-center justify-between px-[5%] md:min-h-18 lg:min-h-full lg:px-0", children: [
18
- /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(CompoundImage, { src: logo == null ? void 0 : logo.src, alt: logo == null ? void 0 : logo.alt }) }),
18
+ /* @__PURE__ */ jsx("a", { href: logo == null ? void 0 : logo.url, children: /* @__PURE__ */ jsx(CompoundImage, { src: logo == null ? void 0 : logo.src, alt: logo == null ? void 0 : logo.alt, className: "h-9 w-auto" }) }),
19
19
  /* @__PURE__ */ jsxs("button", { className: "-mr-2 flex size-12 flex-col items-center justify-center lg:hidden", onClick: () => setIsMobileMenuOpen((prev) => !prev), children: [
20
20
  /* @__PURE__ */ jsx(motion.span, { className: "my-[3px] h-0.5 w-6 bg-black", animate: isMobileMenuOpen ? ["open", "rotatePhase"] : "closed", variants: topLineVariants }),
21
21
  /* @__PURE__ */ jsx(motion.span, { className: "my-[3px] h-0.5 w-6 bg-black", animate: isMobileMenuOpen ? "open" : "closed", variants: middleLineVariants }),
@@ -45,7 +45,8 @@ const topLineVariants = { open: { translateY: 8, transition: { delay: 0.1 } }, r
45
45
  const middleLineVariants = { open: { width: 0, transition: { duration: 0.1 } }, closed: { width: "1.5rem", transition: { delay: 0.3, duration: 0.2 } } };
46
46
  const bottomLineVariants = { open: { translateY: -8, transition: { delay: 0.1 } }, rotatePhase: { rotate: 45, transition: { delay: 0.2 } }, closed: { translateY: 0, rotate: 0, transition: { duration: 0.2 } } };
47
47
  const StandardNavbarDefaults = {
48
- logo: { url: "#", src: "https://d22po4pjz3o32e.cloudfront.net/logo-image.svg", alt: "Logo image" },
48
+ __metadata: { type: "header" },
49
+ logo: { url: "#", src: "https://file.springbrand.ai/web_assets/template-logo.svg", alt: "Logo image" },
49
50
  navLinks: [
50
51
  { title: "Link One", url: "#" },
51
52
  { title: "Link Two", url: "#" },
@@ -10,11 +10,23 @@ import Autoplay from "embla-carousel-autoplay";
10
10
  const CarouselHero = (props) => {
11
11
  const [api, setApi] = useState();
12
12
  const [current, setCurrent] = useState(0);
13
- const { heading, description, buttons, images, carouselHeading, carouselDescription, styles } = {
13
+ const {
14
+ heading,
15
+ description,
16
+ buttons,
17
+ images,
18
+ carouselHeading,
19
+ carouselDescription,
20
+ styles
21
+ } = {
14
22
  ...CarouselHeroDefaults,
15
23
  ...props
16
24
  };
17
- const { className: sectionClassName, style: sectionStyle, css } = styles ?? {};
25
+ const {
26
+ className: sectionClassName,
27
+ style: sectionStyle,
28
+ css
29
+ } = styles ?? {};
18
30
  useEffect(() => {
19
31
  if (!api) return;
20
32
  setCurrent(api.selectedScrollSnap() + 1);
@@ -25,16 +37,29 @@ const CarouselHero = (props) => {
25
37
  return /* @__PURE__ */ jsxs(
26
38
  SectionWrapper,
27
39
  {
28
- className: cn("grid grid-cols-1 items-center gap-y-16 overflow-hidden pt-16 sm:overflow-auto md:pt-24 lg:grid-cols-[50%_50%] lg:gap-y-0 lg:pt-0", sectionClassName),
40
+ className: cn(
41
+ "grid grid-cols-1 items-center gap-y-16 overflow-hidden pt-16 sm:overflow-auto md:pt-24 lg:grid-cols-[50%_50%] lg:gap-y-0 lg:pt-0",
42
+ sectionClassName
43
+ ),
29
44
  style: sectionStyle,
30
45
  css,
31
46
  children: [
32
47
  /* @__PURE__ */ jsxs("div", { className: "mx-[5%] max-w-md justify-self-start lg:ml-[5vw] lg:mr-20 lg:justify-self-end", children: [
33
48
  /* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
34
49
  /* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
35
- /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
50
+ /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(
51
+ CompoundButton,
52
+ {
53
+ label: button.label,
54
+ variant: button.variant,
55
+ size: button.size,
56
+ action: button.action,
57
+ icon: button.icon
58
+ },
59
+ index
60
+ )) })
36
61
  ] }),
37
- /* @__PURE__ */ jsx("div", { className: "relative clear-both h-[300px] max-h-[60rem] min-h-screen w-full bg-[#ddd] text-center", children: /* @__PURE__ */ jsxs(
62
+ /* @__PURE__ */ jsx("div", { className: "relative clear-both h-[300px] max-h-[60rem] min-h-screen w-full text-center", children: /* @__PURE__ */ jsxs(
38
63
  Carousel,
39
64
  {
40
65
  opts: { loop: true },
@@ -43,7 +68,14 @@ const CarouselHero = (props) => {
43
68
  className: "relative left-0 right-0 z-10 block h-full overflow-hidden whitespace-nowrap pl-4",
44
69
  children: [
45
70
  /* @__PURE__ */ jsx(CarouselContent, { children: images.map((image, index) => /* @__PURE__ */ jsx(CarouselItem, { className: "pl-0", children: /* @__PURE__ */ jsx("div", { className: "relative inline-block size-full whitespace-normal text-left align-top", children: /* @__PURE__ */ jsxs("div", { className: "flex h-screen flex-col", children: [
46
- /* @__PURE__ */ jsx("div", { className: "relative flex-1", children: /* @__PURE__ */ jsx(CompoundImage, { className: "absolute size-full object-cover", src: image.src, alt: image.alt }) }),
71
+ /* @__PURE__ */ jsx("div", { className: "relative flex-1", children: /* @__PURE__ */ jsx(
72
+ CompoundImage,
73
+ {
74
+ className: "absolute size-full object-cover",
75
+ src: image.src,
76
+ alt: image.alt
77
+ }
78
+ ) }),
47
79
  /* @__PURE__ */ jsx("div", { className: "relative bg-background-secondary px-6 pb-32 pt-6 sm:px-8 sm:pt-8", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-lg", children: [
48
80
  /* @__PURE__ */ jsx("h6", { className: "mb-1 text-md font-bold leading-[1.4] md:text-xl", children: carouselHeading }),
49
81
  /* @__PURE__ */ jsx("p", { children: carouselDescription })
@@ -76,9 +108,18 @@ const CarouselHeroDefaults = {
76
108
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.",
77
109
  buttons: [{ label: "Button" }, { label: "Button", variant: "secondary" }],
78
110
  images: [
79
- { src: "https://picsum.photos/seed/hero-square/1200/1200", alt: "Relume placeholder image 1" },
80
- { src: "https://picsum.photos/seed/hero-square/1200/1200", alt: "Relume placeholder image 2" },
81
- { src: "https://picsum.photos/seed/hero-square/1200/1200", alt: "Relume placeholder image 3" }
111
+ {
112
+ src: "https://picsum.photos/seed/hero-square/1200/1200",
113
+ alt: "Placeholder image 1"
114
+ },
115
+ {
116
+ src: "https://picsum.photos/seed/hero-square/1200/1200",
117
+ alt: "Placeholder image 2"
118
+ },
119
+ {
120
+ src: "https://picsum.photos/seed/hero-square/1200/1200",
121
+ alt: "Placeholder image 3"
122
+ }
82
123
  ],
83
124
  carouselHeading: "Short heading goes here",
84
125
  carouselDescription: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -103,7 +103,7 @@ declare const conf: {
103
103
  readonly action: {
104
104
  type: "custom";
105
105
  label: string;
106
- render: typeof import("../../../puck-core").ActionField;
106
+ render: typeof import("../../..").ActionField;
107
107
  };
108
108
  readonly variant: {
109
109
  readonly type: "select";
@@ -61,37 +61,37 @@ const ColumnScrollHeroDefaults = {
61
61
  imagesPartOne: [
62
62
  {
63
63
  src: "https://picsum.photos/seed/hero-square/1200/1200",
64
- alt: "Relume placeholder image 1"
64
+ alt: "Placeholder image 1"
65
65
  },
66
66
  {
67
67
  src: "https://picsum.photos/seed/hero-square/1200/1200",
68
- alt: "Relume placeholder image 2"
68
+ alt: "Placeholder image 2"
69
69
  },
70
70
  {
71
71
  src: "https://picsum.photos/seed/hero-square/1200/1200",
72
- alt: "Relume placeholder image 3"
72
+ alt: "Placeholder image 3"
73
73
  },
74
74
  {
75
75
  src: "https://picsum.photos/seed/hero-square/1200/1200",
76
- alt: "Relume placeholder image 4"
76
+ alt: "Placeholder image 4"
77
77
  }
78
78
  ],
79
79
  imagesPartTwo: [
80
80
  {
81
81
  src: "https://picsum.photos/seed/hero-square/1200/1200",
82
- alt: "Relume placeholder image 5"
82
+ alt: "Placeholder image 5"
83
83
  },
84
84
  {
85
85
  src: "https://picsum.photos/seed/hero-square/1200/1200",
86
- alt: "Relume placeholder image 6"
86
+ alt: "Placeholder image 6"
87
87
  },
88
88
  {
89
89
  src: "https://picsum.photos/seed/hero-square/1200/1200",
90
- alt: "Relume placeholder image 7"
90
+ alt: "Placeholder image 7"
91
91
  },
92
92
  {
93
93
  src: "https://picsum.photos/seed/hero-square/1200/1200",
94
- alt: "Relume placeholder image 8"
94
+ alt: "Placeholder image 8"
95
95
  }
96
96
  ]
97
97
  };
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -57,27 +57,27 @@ const DualMarqueeHeroDefaults = {
57
57
  images: [
58
58
  {
59
59
  src: "https://picsum.photos/seed/hero-square/1200/1200",
60
- alt: "Relume placeholder image 1"
60
+ alt: "Placeholder image 1"
61
61
  },
62
62
  {
63
63
  src: "https://picsum.photos/seed/hero-square/1200/1200",
64
- alt: "Relume placeholder image 2"
64
+ alt: "Placeholder image 2"
65
65
  },
66
66
  {
67
67
  src: "https://picsum.photos/seed/hero-square/1200/1200",
68
- alt: "Relume placeholder image 3"
68
+ alt: "Placeholder image 3"
69
69
  },
70
70
  {
71
71
  src: "https://picsum.photos/seed/hero-square/1200/1200",
72
- alt: "Relume placeholder image 4"
72
+ alt: "Placeholder image 4"
73
73
  },
74
74
  {
75
75
  src: "https://picsum.photos/seed/hero-square/1200/1200",
76
- alt: "Relume placeholder image 5"
76
+ alt: "Placeholder image 5"
77
77
  },
78
78
  {
79
79
  src: "https://picsum.photos/seed/hero-square/1200/1200",
80
- alt: "Relume placeholder image 6"
80
+ alt: "Placeholder image 6"
81
81
  }
82
82
  ]
83
83
  };
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -123,7 +123,7 @@ declare const conf: {
123
123
  readonly action: {
124
124
  type: "custom";
125
125
  label: string;
126
- render: typeof import("../../../puck-core").ActionField;
126
+ render: typeof import("../../..").ActionField;
127
127
  };
128
128
  readonly variant: {
129
129
  readonly type: "select";
@@ -41,10 +41,12 @@ const FullscreenVideoHero = (props) => {
41
41
  /* @__PURE__ */ jsxs("div", { className: "sticky top-0 flex w-full flex-col items-center justify-center", children: [
42
42
  /* @__PURE__ */ jsx("div", { className: "relative z-10 flex h-screen w-full items-center justify-center", children: /* @__PURE__ */ jsxs(Dialog, { children: [
43
43
  /* @__PURE__ */ jsx(DialogTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
44
- motion.button,
44
+ motion.div,
45
45
  {
46
+ role: "button",
47
+ tabIndex: 0,
46
48
  style: videoDialogMotion,
47
- className: "absolute flex items-center justify-center",
49
+ className: "absolute flex cursor-pointer items-center justify-center",
48
50
  children: [
49
51
  /* @__PURE__ */ jsx(CompoundImage, { src: image.src, alt: image.alt, className: "size-full object-cover" }),
50
52
  /* @__PURE__ */ jsx(FaCirclePlay, { className: "absolute z-20 size-16 text-white" }),
@@ -78,7 +80,7 @@ const FullscreenVideoHeroDefaults = {
78
80
  video: "https://www.youtube.com/embed/8DKLYsikxTs?si=Ch9W0KrDWWUiCMMW",
79
81
  images: [{
80
82
  src: "https://picsum.photos/seed/hero-video/1200/800",
81
- alt: "Relume placeholder image"
83
+ alt: "Placeholder image"
82
84
  }]
83
85
  };
84
86
  export {
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -8,6 +8,7 @@ import { CompoundButton } from "../../../puck-base/button.js";
8
8
  import { CompoundImage } from "../../../puck-base/image.js";
9
9
  import { SectionWrapper } from "../../../puck-core/section-wrapper.js";
10
10
  import { cn } from "../../../../utils/css-utils.js";
11
+ import { useEditorContext } from "../../../puck-core/core/context/editor-context.js";
11
12
  const GridExpandHero = (props) => {
12
13
  const {
13
14
  heading,
@@ -20,6 +21,7 @@ const GridExpandHero = (props) => {
20
21
  ...props
21
22
  };
22
23
  const { className: sectionClassName, style: sectionStyle, css, textAlign = "left", gridRatio } = { ...GridExpandHeroDefaults.styles, ...styles };
24
+ const { isEditor } = useEditorContext();
23
25
  const isMobile = useMediaQuery("(max-width: 767px)");
24
26
  const sectionRef = useRef(null);
25
27
  const [scrollContainerRef] = useScrollContainer(sectionRef);
@@ -56,14 +58,21 @@ const GridExpandHero = (props) => {
56
58
  const centerRightImageGroup = {
57
59
  x: createTransform(["0vw", "25vw"], ["0vw", "32vw"])
58
60
  };
61
+ const editorLeftContainerHeight = { height: "100vh" };
62
+ const editorLeftLeftImageGroup = { x: isMobile ? "-25vw" : "-50vw" };
63
+ const editorLeftCenterImageContainer = { x: isMobile ? "-25vw" : "-50vw", width: "100vw", height: "100vh" };
64
+ const editorLeftRightImage = { x: isMobile ? "25vw" : "20vw" };
65
+ const editorCenterLeftImageGroup = { x: isMobile ? "-25vw" : "-32vw" };
66
+ const editorCenterCenterImageContainer = { x: isMobile ? "-25vw" : "-32vw", width: "100vw", height: "100vh" };
67
+ const editorCenterRightImageGroup = { x: isMobile ? "25vw" : "32vw" };
59
68
  if (isCenter) {
60
- return /* @__PURE__ */ jsxs(SectionWrapper, { ref: sectionRef, className: cn("relative h-[250vh]", sectionClassName), style: sectionStyle, css, children: [
69
+ return /* @__PURE__ */ jsxs(SectionWrapper, { ref: sectionRef, className: cn("relative", isEditor ? "h-auto" : "h-[250vh]", sectionClassName), style: sectionStyle, css, children: [
61
70
  /* @__PURE__ */ jsx("div", { className: "px-[5%] pt-16 md:pt-24 lg:pt-28", children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto w-full max-w-lg text-center", children: [
62
71
  /* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
63
72
  /* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
64
73
  /* @__PURE__ */ jsx("div", { className: "mt-6 flex items-center justify-center gap-x-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
65
74
  ] }) }) }),
66
- /* @__PURE__ */ jsx("div", { className: "sticky top-0 flex h-screen w-full items-center overflow-hidden", children: /* @__PURE__ */ jsxs(
75
+ /* @__PURE__ */ jsx("div", { className: cn("flex h-screen w-full items-center overflow-hidden", !isEditor && "sticky top-0"), children: /* @__PURE__ */ jsxs(
67
76
  "div",
68
77
  {
69
78
  className: "z-10 grid w-full grid-flow-col content-center items-center justify-center",
@@ -76,7 +85,7 @@ const GridExpandHero = (props) => {
76
85
  motion.div,
77
86
  {
78
87
  className: "grid grid-flow-col grid-cols-1 items-center justify-items-end gap-4 justify-self-end px-4",
79
- style: centerLeftImageGroup,
88
+ style: isEditor ? editorCenterLeftImageGroup : centerLeftImageGroup,
80
89
  children: [
81
90
  /* @__PURE__ */ jsx("div", { className: "relative hidden md:block md:w-[25vw] lg:w-[20vw]", children: /* @__PURE__ */ jsx(CompoundImage, { className: "aspect-[2/3] w-full object-cover", ...images[0] }) }),
82
91
  /* @__PURE__ */ jsxs("div", { className: "relative grid w-[40vw] grid-cols-1 grid-rows-[auto_auto] gap-4 self-center md:w-[18vw]", children: [
@@ -86,12 +95,12 @@ const GridExpandHero = (props) => {
86
95
  ]
87
96
  }
88
97
  ),
89
- /* @__PURE__ */ jsx(motion.div, { className: "relative", style: centerCenterImageContainer, children: /* @__PURE__ */ jsx(CompoundImage, { className: "size-full object-cover", ...images[3] }) }),
98
+ /* @__PURE__ */ jsx(motion.div, { className: "relative", style: isEditor ? editorCenterCenterImageContainer : centerCenterImageContainer, children: /* @__PURE__ */ jsx(CompoundImage, { className: "size-full object-cover", ...images[3] }) }),
90
99
  /* @__PURE__ */ jsxs(
91
100
  motion.div,
92
101
  {
93
102
  className: "grid grid-flow-col items-center justify-items-start gap-4 justify-self-start px-4",
94
- style: centerRightImageGroup,
103
+ style: isEditor ? editorCenterRightImageGroup : centerRightImageGroup,
95
104
  children: [
96
105
  /* @__PURE__ */ jsxs("div", { className: "relative grid w-[40vw] grid-cols-1 grid-rows-[auto_auto] gap-4 self-center md:w-[18vw]", children: [
97
106
  /* @__PURE__ */ jsx("div", { className: "relative w-[40vw] sm:w-auto", children: /* @__PURE__ */ jsx(CompoundImage, { className: "aspect-[3/4] w-full object-cover", ...images[4] }) }),
@@ -107,26 +116,26 @@ const GridExpandHero = (props) => {
107
116
  /* @__PURE__ */ jsx("div", { className: "absolute inset-0 -z-10 mt-[100vh]" })
108
117
  ] });
109
118
  }
110
- return /* @__PURE__ */ jsxs(SectionWrapper, { ref: sectionRef, className: cn("relative h-[250vh]", sectionClassName), style: sectionStyle, css, children: [
119
+ return /* @__PURE__ */ jsxs(SectionWrapper, { ref: sectionRef, className: cn("relative", isEditor ? "h-auto" : "h-[250vh]", sectionClassName), style: sectionStyle, css, children: [
111
120
  /* @__PURE__ */ jsx("div", { className: "px-[5%] pt-16 md:pt-24 lg:pt-28", children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-lg", children: [
112
121
  /* @__PURE__ */ jsx("h1", { className: "mb-5 text-6xl font-bold md:mb-6 md:text-9xl lg:text-10xl", children: heading }),
113
122
  /* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
114
123
  /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
115
124
  ] }) }) }),
116
- /* @__PURE__ */ jsx("div", { className: "sticky top-0 flex h-screen w-full items-center overflow-hidden", children: /* @__PURE__ */ jsxs(
125
+ /* @__PURE__ */ jsx("div", { className: cn("flex h-screen w-full items-center overflow-hidden", !isEditor && "sticky top-0"), children: /* @__PURE__ */ jsxs(
117
126
  motion.div,
118
127
  {
119
128
  className: "z-10 grid w-full grid-flow-col justify-center",
120
129
  style: {
121
130
  gridTemplateColumns: gridColsStyle,
122
- ...leftContainerHeight
131
+ ...isEditor ? editorLeftContainerHeight : leftContainerHeight
123
132
  },
124
133
  children: [
125
134
  /* @__PURE__ */ jsxs(
126
135
  motion.div,
127
136
  {
128
137
  className: "grid grid-flow-col grid-cols-1 justify-items-end gap-4 justify-self-end px-4",
129
- style: leftLeftImageGroup,
138
+ style: isEditor ? editorLeftLeftImageGroup : leftLeftImageGroup,
130
139
  children: [
131
140
  /* @__PURE__ */ jsx("div", { className: "relative top-[5%] hidden w-[40vw] sm:w-[25vw] md:block lg:w-[22vw]", children: /* @__PURE__ */ jsx(CompoundImage, { className: "aspect-[2/3] w-full object-cover", ...images[0] }) }),
132
141
  /* @__PURE__ */ jsxs("div", { className: "relative top-[-5%] flex flex-col gap-4 self-center", children: [
@@ -137,12 +146,12 @@ const GridExpandHero = (props) => {
137
146
  ]
138
147
  }
139
148
  ),
140
- /* @__PURE__ */ jsx(motion.div, { className: "relative", style: leftCenterImageContainer, children: /* @__PURE__ */ jsx(CompoundImage, { className: "size-full object-cover", ...images[4] }) }),
149
+ /* @__PURE__ */ jsx(motion.div, { className: "relative", style: isEditor ? editorLeftCenterImageContainer : leftCenterImageContainer, children: /* @__PURE__ */ jsx(CompoundImage, { className: "size-full object-cover", ...images[4] }) }),
141
150
  /* @__PURE__ */ jsx(
142
151
  motion.div,
143
152
  {
144
153
  className: "grid grid-flow-col grid-cols-1 gap-4 justify-self-start px-4",
145
- style: leftRightImage,
154
+ style: isEditor ? editorLeftRightImage : leftRightImage,
146
155
  children: /* @__PURE__ */ jsx("div", { className: "relative top-[5%] w-[40vw] md:w-[25vw] lg:w-[22vw]", children: /* @__PURE__ */ jsx(CompoundImage, { className: "aspect-[3/4] w-full object-cover", ...images[5] }) })
147
156
  }
148
157
  )
@@ -171,27 +180,27 @@ const GridExpandHeroDefaults = {
171
180
  images: [
172
181
  {
173
182
  src: "https://picsum.photos/seed/hero-square/1200/1200",
174
- alt: "Relume placeholder image 1"
183
+ alt: "Placeholder image 1"
175
184
  },
176
185
  {
177
186
  src: "https://picsum.photos/seed/hero-square/1200/1200",
178
- alt: "Relume placeholder image 2"
187
+ alt: "Placeholder image 2"
179
188
  },
180
189
  {
181
190
  src: "https://picsum.photos/seed/hero-square/1200/1200",
182
- alt: "Relume placeholder image 3"
191
+ alt: "Placeholder image 3"
183
192
  },
184
193
  {
185
194
  src: "https://picsum.photos/seed/hero-square/1200/1200",
186
- alt: "Relume placeholder image 4"
195
+ alt: "Placeholder image 4"
187
196
  },
188
197
  {
189
198
  src: "https://picsum.photos/seed/hero-square/1200/1200",
190
- alt: "Relume placeholder image 5"
199
+ alt: "Placeholder image 5"
191
200
  },
192
201
  {
193
202
  src: "https://picsum.photos/seed/hero-square/1200/1200",
194
- alt: "Relume placeholder image 6"
203
+ alt: "Placeholder image 6"
195
204
  }
196
205
  ]
197
206
  };
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -65,15 +65,15 @@ const HorizontalMarqueeHeroDefaults = {
65
65
  images: [
66
66
  {
67
67
  src: "https://picsum.photos/seed/hero-square/1200/1200",
68
- alt: "Relume placeholder image 1"
68
+ alt: "Placeholder image 1"
69
69
  },
70
70
  {
71
71
  src: "https://picsum.photos/seed/hero-square/1200/1200",
72
- alt: "Relume placeholder image 2"
72
+ alt: "Placeholder image 2"
73
73
  },
74
74
  {
75
75
  src: "https://picsum.photos/seed/hero-square/1200/1200",
76
- alt: "Relume placeholder image 3"
76
+ alt: "Placeholder image 3"
77
77
  }
78
78
  ]
79
79
  };
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -39,7 +39,7 @@ declare const conf: {
39
39
  readonly action: {
40
40
  type: "custom";
41
41
  label: string;
42
- render: typeof import("../../../puck-core").ActionField;
42
+ render: typeof import("../../..").ActionField;
43
43
  };
44
44
  readonly variant: {
45
45
  readonly type: "select";
@@ -25,7 +25,7 @@ declare const conf: {
25
25
  readonly action: {
26
26
  type: "custom";
27
27
  label: string;
28
- render: typeof import("../../../puck-core").ActionField;
28
+ render: typeof import("../../..").ActionField;
29
29
  };
30
30
  readonly variant: {
31
31
  readonly type: "select";
@@ -123,7 +123,7 @@ declare const conf: {
123
123
  readonly action: {
124
124
  type: "custom";
125
125
  label: string;
126
- render: typeof import("../../../puck-core").ActionField;
126
+ render: typeof import("../../..").ActionField;
127
127
  };
128
128
  readonly variant: {
129
129
  readonly type: "select";
@@ -176,38 +176,35 @@ declare const conf: {
176
176
  type: string;
177
177
  label: string;
178
178
  objectFields: {
179
+ className: {
180
+ readonly type: "text";
181
+ readonly label: "Class Name";
182
+ readonly ai: {
183
+ readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
184
+ };
185
+ };
186
+ style: {
187
+ readonly type: "object";
188
+ readonly label: "Style";
189
+ readonly objectFields: {};
190
+ readonly ai: {
191
+ readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
192
+ };
193
+ };
194
+ css: {
195
+ readonly type: "textarea";
196
+ readonly label: "Custom CSS";
197
+ readonly ai: {
198
+ readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
199
+ };
200
+ };
179
201
  mediaPosition: {
180
202
  type: "radio";
181
203
  label: string;
182
- options: ({
183
- className: {
184
- readonly type: "text";
185
- readonly label: "Class Name";
186
- readonly ai: {
187
- readonly instructions: "Additional Tailwind CSS classes to apply to the section wrapper.";
188
- };
189
- };
190
- style: {
191
- readonly type: "object";
192
- readonly label: "Style";
193
- readonly objectFields: {};
194
- readonly ai: {
195
- readonly instructions: "Inline CSSProperties object for the section wrapper, e.g. { backgroundColor: 'red', minHeight: '100vh' }.";
196
- };
197
- };
198
- css: {
199
- readonly type: "textarea";
200
- readonly label: "Custom CSS";
201
- readonly ai: {
202
- readonly instructions: "Custom CSS rules. Use & as a placeholder for the section selector.";
203
- };
204
- };
205
- label: string;
206
- value: string;
207
- } | {
204
+ options: {
208
205
  label: string;
209
206
  value: string;
210
- })[];
207
+ }[];
211
208
  };
212
209
  mediaType: {
213
210
  readonly type: "radio";