dune-react 0.0.31 → 0.0.33

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 (368) hide show
  1. package/dist/components/puck-base/article-card.d.ts +2 -2
  2. package/dist/components/puck-base/article-card.js +2 -2
  3. package/dist/components/puck-base/card.d.ts +2 -2
  4. package/dist/components/puck-base/card.js +2 -2
  5. package/dist/components/puck-base/index.d.ts +2 -1
  6. package/dist/components/puck-base/media.d.ts +12 -0
  7. package/dist/components/puck-base/media.js +576 -0
  8. package/dist/components/puck-base/social-links.d.ts +7 -0
  9. package/dist/components/puck-base/social-links.js +23 -0
  10. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.js +6 -6
  11. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +1 -1
  12. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.js +2 -2
  13. package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +42 -0
  14. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.js +10 -10
  15. package/dist/components/puck-block/banner-sections/dual-row-marquee/index.d.ts +2 -2
  16. package/dist/components/puck-block/banner-sections/dual-row-marquee/index.js +3 -3
  17. package/dist/components/puck-block/banner-sections/props.d.ts +9 -12
  18. package/dist/components/puck-block/contact-sections/centered-form/centered-form.js +1 -5
  19. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +1 -5
  20. package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -5
  21. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +4 -8
  22. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +1 -1
  23. package/dist/components/puck-block/contact-sections/form-with-media/index.js +2 -2
  24. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -5
  25. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.js +4 -8
  26. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +1 -1
  27. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +2 -2
  28. package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +1 -1
  29. package/dist/components/puck-block/contact-sections/info-cards-media/index.js +2 -2
  30. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.js +4 -8
  31. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +1 -1
  32. package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +2 -2
  33. package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.js +10 -14
  34. package/dist/components/puck-block/contact-sections/props.d.ts +5 -16
  35. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +1 -1
  36. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.d.ts +7 -2
  37. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +1 -2
  38. package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +57 -8
  39. package/dist/components/puck-block/contact-sections/tab-locations/index.js +7 -7
  40. package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.js +40 -47
  41. package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.d.ts +2 -2
  42. package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.js +2 -2
  43. package/dist/components/puck-block/cta-sections/feature-card-cta/index.js +2 -2
  44. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +1 -1
  45. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.js +2 -2
  46. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.d.ts +2 -2
  47. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +6 -6
  48. package/dist/components/puck-block/cta-sections/props.d.ts +3 -3
  49. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +1 -1
  50. package/dist/components/puck-block/cta-sections/side-media-cta/index.js +2 -2
  51. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +4 -4
  52. package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +2 -2
  53. package/dist/components/puck-block/cta-sections/text-block-cta/index.js +3 -3
  54. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +3 -3
  55. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +10 -10
  56. package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.d.ts +2 -2
  57. package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.js +2 -2
  58. package/dist/components/puck-block/faq-sections/icon-card-faq/index.js +2 -2
  59. package/dist/components/puck-block/faq-sections/props.d.ts +3 -3
  60. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.d.ts +2 -2
  61. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.js +6 -6
  62. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +1 -1
  63. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.js +3 -3
  64. package/dist/components/puck-block/feature-sections/feature-list-split/component.d.ts +2 -2
  65. package/dist/components/puck-block/feature-sections/feature-list-split/component.js +6 -6
  66. package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +1 -1
  67. package/dist/components/puck-block/feature-sections/feature-list-split/index.js +3 -3
  68. package/dist/components/puck-block/feature-sections/props.d.ts +3 -3
  69. package/dist/components/puck-block/feature-sections/tab-feature/component.d.ts +2 -2
  70. package/dist/components/puck-block/feature-sections/tab-feature/component.js +12 -12
  71. package/dist/components/puck-block/feature-sections/tab-feature/index.d.ts +1 -1
  72. package/dist/components/puck-block/feature-sections/tab-feature/index.js +2 -2
  73. package/dist/components/puck-block/feature-sections/text-media-split/component.js +5 -5
  74. package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +1 -1
  75. package/dist/components/puck-block/feature-sections/text-media-split/index.js +2 -2
  76. package/dist/components/puck-block/feature-sections/text-only-section/component.d.ts +2 -2
  77. package/dist/components/puck-block/feature-sections/text-only-section/component.js +2 -2
  78. package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +1 -1
  79. package/dist/components/puck-block/feature-sections/text-only-section/index.js +2 -2
  80. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.js +9 -9
  81. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +11 -0
  82. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +3 -2
  83. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +11 -0
  84. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.d.ts +7 -2
  85. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +9 -9
  86. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +61 -10
  87. package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +3 -2
  88. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +9 -9
  89. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +61 -10
  90. package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +3 -3
  91. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +61 -10
  92. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +11 -0
  93. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +61 -10
  94. package/dist/components/puck-block/footer-sections/props.d.ts +17 -10
  95. package/dist/components/puck-block/footer-sections/props.js +8 -0
  96. package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.js +7 -7
  97. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +1 -1
  98. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +2 -2
  99. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +12 -12
  100. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +1 -1
  101. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +2 -2
  102. package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +12 -12
  103. package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +1 -1
  104. package/dist/components/puck-block/gallery-sections/image-carousel/index.js +2 -2
  105. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +1 -1
  106. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +2 -2
  107. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +14 -14
  108. package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +1 -1
  109. package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +2 -2
  110. package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.js +7 -7
  111. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +1 -1
  112. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +2 -2
  113. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +6 -6
  114. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +1 -1
  115. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +2 -2
  116. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.js +9 -9
  117. package/dist/components/puck-block/gallery-sections/props.d.ts +8 -8
  118. package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +1 -1
  119. package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +2 -2
  120. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +11 -11
  121. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +1 -1
  122. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +5 -5
  123. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +26 -26
  124. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +1 -1
  125. package/dist/components/puck-block/gallery-sections/split-carousel/index.js +2 -2
  126. package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.js +6 -6
  127. package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +1 -1
  128. package/dist/components/puck-block/gallery-sections/static-grid/index.js +2 -2
  129. package/dist/components/puck-block/gallery-sections/static-grid/static-grid.js +7 -7
  130. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +31 -24
  131. package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +92 -0
  132. package/dist/components/puck-block/header-sections/centered-navbar/index.js +9 -4
  133. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +32 -25
  134. package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +92 -0
  135. package/dist/components/puck-block/header-sections/drawer-navbar/index.js +5 -3
  136. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +27 -22
  137. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +91 -3
  138. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +3 -3
  139. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +23 -18
  140. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +91 -3
  141. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +3 -3
  142. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +64 -0
  143. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +3 -3
  144. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +13 -6
  145. package/dist/components/puck-block/header-sections/props.d.ts +17 -5
  146. package/dist/components/puck-block/header-sections/props.js +8 -0
  147. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +64 -0
  148. package/dist/components/puck-block/header-sections/standard-navbar/index.js +6 -4
  149. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +9 -5
  150. package/dist/components/puck-block/hero-sections/carousel-hero/component.js +8 -8
  151. package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +1 -1
  152. package/dist/components/puck-block/hero-sections/carousel-hero/index.js +2 -2
  153. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.d.ts +3 -3
  154. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.js +14 -14
  155. package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +2 -2
  156. package/dist/components/puck-block/hero-sections/column-scroll-hero/index.js +3 -3
  157. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.js +11 -11
  158. package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +1 -1
  159. package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.js +2 -2
  160. package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +1 -1
  161. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +5 -5
  162. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +1 -1
  163. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.js +2 -2
  164. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +16 -16
  165. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +1 -1
  166. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.js +2 -2
  167. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.js +11 -11
  168. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +1 -1
  169. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.js +2 -2
  170. package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +1 -1
  171. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.d.ts +3 -3
  172. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +6 -6
  173. package/dist/components/puck-block/hero-sections/mouse-track-hero/index.js +3 -3
  174. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +1 -1
  175. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.js +2 -2
  176. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.js +7 -7
  177. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.js +4 -4
  178. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.d.ts +4 -4
  179. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.js +16 -16
  180. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +12 -12
  181. package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +1 -1
  182. package/dist/components/puck-block/hero-sections/parallax-images-hero/index.js +2 -2
  183. package/dist/components/puck-block/hero-sections/props.d.ts +3 -3
  184. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +5 -5
  185. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +1 -1
  186. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.js +2 -2
  187. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +5 -5
  188. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +1 -1
  189. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.js +2 -2
  190. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +9 -9
  191. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +1 -1
  192. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.js +2 -2
  193. package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +1 -1
  194. package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +1 -1
  195. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +12 -12
  196. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +1 -1
  197. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.js +2 -2
  198. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.d.ts +2 -2
  199. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +13 -13
  200. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +1 -1
  201. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.js +3 -3
  202. package/dist/components/puck-block/hero-sections/tab-hero/component.d.ts +2 -2
  203. package/dist/components/puck-block/hero-sections/tab-hero/component.js +7 -6
  204. package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +4 -7
  205. package/dist/components/puck-block/hero-sections/tab-hero/index.js +2 -7
  206. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.d.ts +4 -4
  207. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +4 -4
  208. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.js +4 -4
  209. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.js +11 -11
  210. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +1 -1
  211. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.js +2 -2
  212. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +7 -7
  213. package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +1 -1
  214. package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.js +2 -2
  215. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.js +5 -5
  216. package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +1 -1
  217. package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +2 -2
  218. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +4 -4
  219. package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +1 -1
  220. package/dist/components/puck-block/metrics-sections/header-stats-row/index.js +2 -2
  221. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +2 -2
  222. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.js +3 -3
  223. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.d.ts +2 -2
  224. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.js +7 -7
  225. package/dist/components/puck-block/metrics-sections/props.d.ts +6 -6
  226. package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +1 -1
  227. package/dist/components/puck-block/metrics-sections/split-stats/index.js +2 -2
  228. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.js +4 -4
  229. package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +2 -2
  230. package/dist/components/puck-block/metrics-sections/tab-stats/index.js +3 -3
  231. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.d.ts +3 -3
  232. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.js +11 -11
  233. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +13 -0
  234. package/dist/components/puck-block/pricing-sections/props.d.ts +2 -2
  235. package/dist/components/puck-block/pricing-sections/single-pricing-card/component.d.ts +2 -2
  236. package/dist/components/puck-block/pricing-sections/single-pricing-card/component.js +3 -3
  237. package/dist/components/puck-block/pricing-sections/split-pricing/component.d.ts +2 -2
  238. package/dist/components/puck-block/pricing-sections/split-pricing/component.js +4 -3
  239. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.d.ts +2 -2
  240. package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.d.ts +2 -2
  241. package/dist/components/puck-block/registry.generated.d.ts +796 -124
  242. package/dist/components/puck-block/showcase-sections/compact-timeline/component.d.ts +2 -2
  243. package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +3 -3
  244. package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +2 -2
  245. package/dist/components/puck-block/showcase-sections/compact-timeline/index.js +2 -2
  246. package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.d.ts +2 -2
  247. package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +3 -3
  248. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +2 -2
  249. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.js +2 -2
  250. package/dist/components/puck-block/showcase-sections/props.d.ts +2 -2
  251. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.d.ts +2 -2
  252. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +3 -3
  253. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +2 -2
  254. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.js +2 -2
  255. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.d.ts +2 -2
  256. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +3 -3
  257. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +2 -2
  258. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.js +2 -2
  259. package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +2 -2
  260. package/dist/components/puck-block/showcase-sections/tab-timeline/component.js +8 -8
  261. package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +2 -2
  262. package/dist/components/puck-block/showcase-sections/tab-timeline/index.js +2 -2
  263. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.d.ts +2 -2
  264. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +3 -3
  265. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +2 -2
  266. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.js +2 -2
  267. package/dist/components/puck-block/team-sections/props.d.ts +2 -3
  268. package/dist/components/puck-block/team-sections/team-carousel/component.d.ts +2 -2
  269. package/dist/components/puck-block/team-sections/team-carousel/component.js +3 -3
  270. package/dist/components/puck-block/team-sections/team-grid/component.d.ts +2 -2
  271. package/dist/components/puck-block/team-sections/team-grid/component.js +3 -3
  272. package/dist/components/puck-block/team-sections/team-inline-card/component.d.ts +2 -2
  273. package/dist/components/puck-block/team-sections/team-inline-card/component.js +3 -3
  274. package/dist/components/puck-block/team-sections/team-sticky-scatter/component.d.ts +2 -2
  275. package/dist/components/puck-block/team-sections/team-sticky-scatter/component.js +3 -3
  276. package/dist/components/puck-block/team-sections/team-two-column/component.d.ts +2 -2
  277. package/dist/components/puck-block/team-sections/team-two-column/component.js +3 -3
  278. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.d.ts +4 -4
  279. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +8 -8
  280. package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.d.ts +3 -3
  281. package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.js +4 -4
  282. package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.js +3 -3
  283. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.d.ts +3 -3
  284. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +3 -3
  285. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +3 -3
  286. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.js +10 -10
  287. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +1 -1
  288. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.js +3 -3
  289. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.d.ts +3 -3
  290. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.js +7 -7
  291. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +1 -1
  292. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.js +3 -3
  293. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.d.ts +2 -2
  294. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.js +2 -2
  295. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.d.ts +2 -2
  296. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.js +2 -2
  297. package/dist/components/puck-block/testimonial-sections/props.d.ts +3 -4
  298. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.d.ts +3 -2
  299. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.js +6 -3
  300. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.d.ts +4 -4
  301. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +5 -5
  302. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.d.ts +4 -4
  303. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -6
  304. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.d.ts +3 -3
  305. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +3 -3
  306. package/dist/components/puck-block/text-sections/blog-article/component.d.ts +4 -7
  307. package/dist/components/puck-block/text-sections/blog-article/component.js +9 -17
  308. package/dist/components/puck-block/text-sections/blog-article/index.d.ts +39 -14
  309. package/dist/components/puck-block/text-sections/blog-article/index.js +4 -10
  310. package/dist/components/puck-block/text-sections/props.d.ts +3 -3
  311. package/dist/components/puck-block/text-sections/prose-content/component.d.ts +2 -2
  312. package/dist/components/puck-block/text-sections/prose-content/component.js +3 -3
  313. package/dist/components/puck-block/text-sections/prose-content/index.d.ts +1 -1
  314. package/dist/components/puck-block/text-sections/prose-content/index.js +2 -2
  315. package/dist/components/puck-block/text-sections/prose-sidebar/component.d.ts +2 -2
  316. package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +1 -1
  317. package/dist/components/puck-block/text-sections/side-media-content/component.js +5 -5
  318. package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +1 -1
  319. package/dist/components/puck-block/text-sections/side-media-content/index.js +2 -2
  320. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.d.ts +2 -2
  321. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.js +4 -4
  322. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +2 -2
  323. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.js +2 -2
  324. package/dist/components/puck-block/text-sections/text-header/component.d.ts +2 -2
  325. package/dist/components/puck-block/text-sections/text-header/index.d.ts +1 -1
  326. package/dist/components/puck-core/core/context/editor-context.d.ts +2 -0
  327. package/dist/components/puck-core/core/fields.d.ts +2 -2
  328. package/dist/components/puck-core/core/props/content.d.ts +3 -3
  329. package/dist/components/puck-core/core/props/index.d.ts +2 -2
  330. package/dist/components/puck-core/core/props/index.js +7 -0
  331. package/dist/components/puck-core/core/props/interactive.d.ts +44 -1
  332. package/dist/components/puck-core/core/props/interactive.js +24 -1
  333. package/dist/components/puck-core/core/props/media.d.ts +8 -8
  334. package/dist/components/puck-core/core/props/media.js +21 -21
  335. package/dist/components/puck-core/core/puck-fields-to-zod.d.ts +40 -0
  336. package/dist/components/puck-core/core/puck-fields-to-zod.js +113 -0
  337. package/dist/components/puck-core/core/social-icons.d.ts +5 -0
  338. package/dist/components/puck-core/core/social-icons.js +48 -0
  339. package/dist/components/puck-core/core/with-editable.js +9 -2
  340. package/dist/components/puck-core/fields/media-upload-field.d.ts +7 -0
  341. package/dist/components/puck-core/fields/{image-upload-field.js → media-upload-field.js} +71 -28
  342. package/dist/components/puck-core/index.d.ts +3 -2
  343. package/dist/components/shadcn/tabs.d.ts +2 -1
  344. package/dist/components/shadcn/tabs.js +21 -3
  345. package/dist/components/shadcn/video-iframe.d.ts +2 -1
  346. package/dist/components/shadcn/video-iframe.js +7 -6
  347. package/dist/index.js +18 -12
  348. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js +44 -0
  349. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js +43 -0
  350. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js +29 -0
  351. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js +665 -0
  352. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js +569 -0
  353. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js +410 -0
  354. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js +74 -0
  355. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js +37 -0
  356. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js +72 -0
  357. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js +314 -0
  358. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js +95 -0
  359. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.js +81 -0
  360. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js +51 -0
  361. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js +1345 -0
  362. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js +362 -0
  363. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js +430 -0
  364. package/dist/node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js +8 -0
  365. package/package.json +3 -2
  366. package/dist/components/puck-base/image.d.ts +0 -6
  367. package/dist/components/puck-base/image.js +0 -360
  368. package/dist/components/puck-core/fields/image-upload-field.d.ts +0 -7
@@ -0,0 +1,569 @@
1
+ import { $ZodCheckGreaterThan, $ZodCheckLessThan, $ZodCheckMultipleOf, $ZodCheckMinLength, $ZodCheckMaxLength, $ZodCheckLengthEquals, $ZodCheckOverwrite, $ZodCheckRegex, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheck } from "./checks.js";
2
+ import "./registries.js";
3
+ import { normalizeParams, slugify, issue } from "./util.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function _string(Class, params) {
6
+ return new Class({
7
+ type: "string",
8
+ ...normalizeParams(params)
9
+ });
10
+ }
11
+ // @__NO_SIDE_EFFECTS__
12
+ function _email(Class, params) {
13
+ return new Class({
14
+ type: "string",
15
+ format: "email",
16
+ check: "string_format",
17
+ abort: false,
18
+ ...normalizeParams(params)
19
+ });
20
+ }
21
+ // @__NO_SIDE_EFFECTS__
22
+ function _guid(Class, params) {
23
+ return new Class({
24
+ type: "string",
25
+ format: "guid",
26
+ check: "string_format",
27
+ abort: false,
28
+ ...normalizeParams(params)
29
+ });
30
+ }
31
+ // @__NO_SIDE_EFFECTS__
32
+ function _uuid(Class, params) {
33
+ return new Class({
34
+ type: "string",
35
+ format: "uuid",
36
+ check: "string_format",
37
+ abort: false,
38
+ ...normalizeParams(params)
39
+ });
40
+ }
41
+ // @__NO_SIDE_EFFECTS__
42
+ function _uuidv4(Class, params) {
43
+ return new Class({
44
+ type: "string",
45
+ format: "uuid",
46
+ check: "string_format",
47
+ abort: false,
48
+ version: "v4",
49
+ ...normalizeParams(params)
50
+ });
51
+ }
52
+ // @__NO_SIDE_EFFECTS__
53
+ function _uuidv6(Class, params) {
54
+ return new Class({
55
+ type: "string",
56
+ format: "uuid",
57
+ check: "string_format",
58
+ abort: false,
59
+ version: "v6",
60
+ ...normalizeParams(params)
61
+ });
62
+ }
63
+ // @__NO_SIDE_EFFECTS__
64
+ function _uuidv7(Class, params) {
65
+ return new Class({
66
+ type: "string",
67
+ format: "uuid",
68
+ check: "string_format",
69
+ abort: false,
70
+ version: "v7",
71
+ ...normalizeParams(params)
72
+ });
73
+ }
74
+ // @__NO_SIDE_EFFECTS__
75
+ function _url(Class, params) {
76
+ return new Class({
77
+ type: "string",
78
+ format: "url",
79
+ check: "string_format",
80
+ abort: false,
81
+ ...normalizeParams(params)
82
+ });
83
+ }
84
+ // @__NO_SIDE_EFFECTS__
85
+ function _emoji(Class, params) {
86
+ return new Class({
87
+ type: "string",
88
+ format: "emoji",
89
+ check: "string_format",
90
+ abort: false,
91
+ ...normalizeParams(params)
92
+ });
93
+ }
94
+ // @__NO_SIDE_EFFECTS__
95
+ function _nanoid(Class, params) {
96
+ return new Class({
97
+ type: "string",
98
+ format: "nanoid",
99
+ check: "string_format",
100
+ abort: false,
101
+ ...normalizeParams(params)
102
+ });
103
+ }
104
+ // @__NO_SIDE_EFFECTS__
105
+ function _cuid(Class, params) {
106
+ return new Class({
107
+ type: "string",
108
+ format: "cuid",
109
+ check: "string_format",
110
+ abort: false,
111
+ ...normalizeParams(params)
112
+ });
113
+ }
114
+ // @__NO_SIDE_EFFECTS__
115
+ function _cuid2(Class, params) {
116
+ return new Class({
117
+ type: "string",
118
+ format: "cuid2",
119
+ check: "string_format",
120
+ abort: false,
121
+ ...normalizeParams(params)
122
+ });
123
+ }
124
+ // @__NO_SIDE_EFFECTS__
125
+ function _ulid(Class, params) {
126
+ return new Class({
127
+ type: "string",
128
+ format: "ulid",
129
+ check: "string_format",
130
+ abort: false,
131
+ ...normalizeParams(params)
132
+ });
133
+ }
134
+ // @__NO_SIDE_EFFECTS__
135
+ function _xid(Class, params) {
136
+ return new Class({
137
+ type: "string",
138
+ format: "xid",
139
+ check: "string_format",
140
+ abort: false,
141
+ ...normalizeParams(params)
142
+ });
143
+ }
144
+ // @__NO_SIDE_EFFECTS__
145
+ function _ksuid(Class, params) {
146
+ return new Class({
147
+ type: "string",
148
+ format: "ksuid",
149
+ check: "string_format",
150
+ abort: false,
151
+ ...normalizeParams(params)
152
+ });
153
+ }
154
+ // @__NO_SIDE_EFFECTS__
155
+ function _ipv4(Class, params) {
156
+ return new Class({
157
+ type: "string",
158
+ format: "ipv4",
159
+ check: "string_format",
160
+ abort: false,
161
+ ...normalizeParams(params)
162
+ });
163
+ }
164
+ // @__NO_SIDE_EFFECTS__
165
+ function _ipv6(Class, params) {
166
+ return new Class({
167
+ type: "string",
168
+ format: "ipv6",
169
+ check: "string_format",
170
+ abort: false,
171
+ ...normalizeParams(params)
172
+ });
173
+ }
174
+ // @__NO_SIDE_EFFECTS__
175
+ function _cidrv4(Class, params) {
176
+ return new Class({
177
+ type: "string",
178
+ format: "cidrv4",
179
+ check: "string_format",
180
+ abort: false,
181
+ ...normalizeParams(params)
182
+ });
183
+ }
184
+ // @__NO_SIDE_EFFECTS__
185
+ function _cidrv6(Class, params) {
186
+ return new Class({
187
+ type: "string",
188
+ format: "cidrv6",
189
+ check: "string_format",
190
+ abort: false,
191
+ ...normalizeParams(params)
192
+ });
193
+ }
194
+ // @__NO_SIDE_EFFECTS__
195
+ function _base64(Class, params) {
196
+ return new Class({
197
+ type: "string",
198
+ format: "base64",
199
+ check: "string_format",
200
+ abort: false,
201
+ ...normalizeParams(params)
202
+ });
203
+ }
204
+ // @__NO_SIDE_EFFECTS__
205
+ function _base64url(Class, params) {
206
+ return new Class({
207
+ type: "string",
208
+ format: "base64url",
209
+ check: "string_format",
210
+ abort: false,
211
+ ...normalizeParams(params)
212
+ });
213
+ }
214
+ // @__NO_SIDE_EFFECTS__
215
+ function _e164(Class, params) {
216
+ return new Class({
217
+ type: "string",
218
+ format: "e164",
219
+ check: "string_format",
220
+ abort: false,
221
+ ...normalizeParams(params)
222
+ });
223
+ }
224
+ // @__NO_SIDE_EFFECTS__
225
+ function _jwt(Class, params) {
226
+ return new Class({
227
+ type: "string",
228
+ format: "jwt",
229
+ check: "string_format",
230
+ abort: false,
231
+ ...normalizeParams(params)
232
+ });
233
+ }
234
+ // @__NO_SIDE_EFFECTS__
235
+ function _isoDateTime(Class, params) {
236
+ return new Class({
237
+ type: "string",
238
+ format: "datetime",
239
+ check: "string_format",
240
+ offset: false,
241
+ local: false,
242
+ precision: null,
243
+ ...normalizeParams(params)
244
+ });
245
+ }
246
+ // @__NO_SIDE_EFFECTS__
247
+ function _isoDate(Class, params) {
248
+ return new Class({
249
+ type: "string",
250
+ format: "date",
251
+ check: "string_format",
252
+ ...normalizeParams(params)
253
+ });
254
+ }
255
+ // @__NO_SIDE_EFFECTS__
256
+ function _isoTime(Class, params) {
257
+ return new Class({
258
+ type: "string",
259
+ format: "time",
260
+ check: "string_format",
261
+ precision: null,
262
+ ...normalizeParams(params)
263
+ });
264
+ }
265
+ // @__NO_SIDE_EFFECTS__
266
+ function _isoDuration(Class, params) {
267
+ return new Class({
268
+ type: "string",
269
+ format: "duration",
270
+ check: "string_format",
271
+ ...normalizeParams(params)
272
+ });
273
+ }
274
+ // @__NO_SIDE_EFFECTS__
275
+ function _number(Class, params) {
276
+ return new Class({
277
+ type: "number",
278
+ checks: [],
279
+ ...normalizeParams(params)
280
+ });
281
+ }
282
+ // @__NO_SIDE_EFFECTS__
283
+ function _int(Class, params) {
284
+ return new Class({
285
+ type: "number",
286
+ check: "number_format",
287
+ abort: false,
288
+ format: "safeint",
289
+ ...normalizeParams(params)
290
+ });
291
+ }
292
+ // @__NO_SIDE_EFFECTS__
293
+ function _any(Class) {
294
+ return new Class({
295
+ type: "any"
296
+ });
297
+ }
298
+ // @__NO_SIDE_EFFECTS__
299
+ function _unknown(Class) {
300
+ return new Class({
301
+ type: "unknown"
302
+ });
303
+ }
304
+ // @__NO_SIDE_EFFECTS__
305
+ function _never(Class, params) {
306
+ return new Class({
307
+ type: "never",
308
+ ...normalizeParams(params)
309
+ });
310
+ }
311
+ // @__NO_SIDE_EFFECTS__
312
+ function _lt(value, params) {
313
+ return new $ZodCheckLessThan({
314
+ check: "less_than",
315
+ ...normalizeParams(params),
316
+ value,
317
+ inclusive: false
318
+ });
319
+ }
320
+ // @__NO_SIDE_EFFECTS__
321
+ function _lte(value, params) {
322
+ return new $ZodCheckLessThan({
323
+ check: "less_than",
324
+ ...normalizeParams(params),
325
+ value,
326
+ inclusive: true
327
+ });
328
+ }
329
+ // @__NO_SIDE_EFFECTS__
330
+ function _gt(value, params) {
331
+ return new $ZodCheckGreaterThan({
332
+ check: "greater_than",
333
+ ...normalizeParams(params),
334
+ value,
335
+ inclusive: false
336
+ });
337
+ }
338
+ // @__NO_SIDE_EFFECTS__
339
+ function _gte(value, params) {
340
+ return new $ZodCheckGreaterThan({
341
+ check: "greater_than",
342
+ ...normalizeParams(params),
343
+ value,
344
+ inclusive: true
345
+ });
346
+ }
347
+ // @__NO_SIDE_EFFECTS__
348
+ function _multipleOf(value, params) {
349
+ return new $ZodCheckMultipleOf({
350
+ check: "multiple_of",
351
+ ...normalizeParams(params),
352
+ value
353
+ });
354
+ }
355
+ // @__NO_SIDE_EFFECTS__
356
+ function _maxLength(maximum, params) {
357
+ const ch = new $ZodCheckMaxLength({
358
+ check: "max_length",
359
+ ...normalizeParams(params),
360
+ maximum
361
+ });
362
+ return ch;
363
+ }
364
+ // @__NO_SIDE_EFFECTS__
365
+ function _minLength(minimum, params) {
366
+ return new $ZodCheckMinLength({
367
+ check: "min_length",
368
+ ...normalizeParams(params),
369
+ minimum
370
+ });
371
+ }
372
+ // @__NO_SIDE_EFFECTS__
373
+ function _length(length, params) {
374
+ return new $ZodCheckLengthEquals({
375
+ check: "length_equals",
376
+ ...normalizeParams(params),
377
+ length
378
+ });
379
+ }
380
+ // @__NO_SIDE_EFFECTS__
381
+ function _regex(pattern, params) {
382
+ return new $ZodCheckRegex({
383
+ check: "string_format",
384
+ format: "regex",
385
+ ...normalizeParams(params),
386
+ pattern
387
+ });
388
+ }
389
+ // @__NO_SIDE_EFFECTS__
390
+ function _lowercase(params) {
391
+ return new $ZodCheckLowerCase({
392
+ check: "string_format",
393
+ format: "lowercase",
394
+ ...normalizeParams(params)
395
+ });
396
+ }
397
+ // @__NO_SIDE_EFFECTS__
398
+ function _uppercase(params) {
399
+ return new $ZodCheckUpperCase({
400
+ check: "string_format",
401
+ format: "uppercase",
402
+ ...normalizeParams(params)
403
+ });
404
+ }
405
+ // @__NO_SIDE_EFFECTS__
406
+ function _includes(includes, params) {
407
+ return new $ZodCheckIncludes({
408
+ check: "string_format",
409
+ format: "includes",
410
+ ...normalizeParams(params),
411
+ includes
412
+ });
413
+ }
414
+ // @__NO_SIDE_EFFECTS__
415
+ function _startsWith(prefix, params) {
416
+ return new $ZodCheckStartsWith({
417
+ check: "string_format",
418
+ format: "starts_with",
419
+ ...normalizeParams(params),
420
+ prefix
421
+ });
422
+ }
423
+ // @__NO_SIDE_EFFECTS__
424
+ function _endsWith(suffix, params) {
425
+ return new $ZodCheckEndsWith({
426
+ check: "string_format",
427
+ format: "ends_with",
428
+ ...normalizeParams(params),
429
+ suffix
430
+ });
431
+ }
432
+ // @__NO_SIDE_EFFECTS__
433
+ function _overwrite(tx) {
434
+ return new $ZodCheckOverwrite({
435
+ check: "overwrite",
436
+ tx
437
+ });
438
+ }
439
+ // @__NO_SIDE_EFFECTS__
440
+ function _normalize(form) {
441
+ return /* @__PURE__ */ _overwrite((input) => input.normalize(form));
442
+ }
443
+ // @__NO_SIDE_EFFECTS__
444
+ function _trim() {
445
+ return /* @__PURE__ */ _overwrite((input) => input.trim());
446
+ }
447
+ // @__NO_SIDE_EFFECTS__
448
+ function _toLowerCase() {
449
+ return /* @__PURE__ */ _overwrite((input) => input.toLowerCase());
450
+ }
451
+ // @__NO_SIDE_EFFECTS__
452
+ function _toUpperCase() {
453
+ return /* @__PURE__ */ _overwrite((input) => input.toUpperCase());
454
+ }
455
+ // @__NO_SIDE_EFFECTS__
456
+ function _slugify() {
457
+ return /* @__PURE__ */ _overwrite((input) => slugify(input));
458
+ }
459
+ // @__NO_SIDE_EFFECTS__
460
+ function _array(Class, element, params) {
461
+ return new Class({
462
+ type: "array",
463
+ element,
464
+ // get element() {
465
+ // return element;
466
+ // },
467
+ ...normalizeParams(params)
468
+ });
469
+ }
470
+ // @__NO_SIDE_EFFECTS__
471
+ function _refine(Class, fn, _params) {
472
+ const schema = new Class({
473
+ type: "custom",
474
+ check: "custom",
475
+ fn,
476
+ ...normalizeParams(_params)
477
+ });
478
+ return schema;
479
+ }
480
+ // @__NO_SIDE_EFFECTS__
481
+ function _superRefine(fn) {
482
+ const ch = /* @__PURE__ */ _check((payload) => {
483
+ payload.addIssue = (issue$1) => {
484
+ if (typeof issue$1 === "string") {
485
+ payload.issues.push(issue(issue$1, payload.value, ch._zod.def));
486
+ } else {
487
+ const _issue = issue$1;
488
+ if (_issue.fatal)
489
+ _issue.continue = false;
490
+ _issue.code ?? (_issue.code = "custom");
491
+ _issue.input ?? (_issue.input = payload.value);
492
+ _issue.inst ?? (_issue.inst = ch);
493
+ _issue.continue ?? (_issue.continue = !ch._zod.def.abort);
494
+ payload.issues.push(issue(_issue));
495
+ }
496
+ };
497
+ return fn(payload.value, payload);
498
+ });
499
+ return ch;
500
+ }
501
+ // @__NO_SIDE_EFFECTS__
502
+ function _check(fn, params) {
503
+ const ch = new $ZodCheck({
504
+ check: "custom",
505
+ ...normalizeParams(params)
506
+ });
507
+ ch._zod.check = fn;
508
+ return ch;
509
+ }
510
+ export {
511
+ _any,
512
+ _array,
513
+ _base64,
514
+ _base64url,
515
+ _check,
516
+ _cidrv4,
517
+ _cidrv6,
518
+ _cuid,
519
+ _cuid2,
520
+ _e164,
521
+ _email,
522
+ _emoji,
523
+ _endsWith,
524
+ _gt,
525
+ _gte,
526
+ _guid,
527
+ _includes,
528
+ _int,
529
+ _ipv4,
530
+ _ipv6,
531
+ _isoDate,
532
+ _isoDateTime,
533
+ _isoDuration,
534
+ _isoTime,
535
+ _jwt,
536
+ _ksuid,
537
+ _length,
538
+ _lowercase,
539
+ _lt,
540
+ _lte,
541
+ _lte as _max,
542
+ _maxLength,
543
+ _gte as _min,
544
+ _minLength,
545
+ _multipleOf,
546
+ _nanoid,
547
+ _never,
548
+ _normalize,
549
+ _number,
550
+ _overwrite,
551
+ _refine,
552
+ _regex,
553
+ _slugify,
554
+ _startsWith,
555
+ _string,
556
+ _superRefine,
557
+ _toLowerCase,
558
+ _toUpperCase,
559
+ _trim,
560
+ _ulid,
561
+ _unknown,
562
+ _uppercase,
563
+ _url,
564
+ _uuid,
565
+ _uuidv4,
566
+ _uuidv6,
567
+ _uuidv7,
568
+ _xid
569
+ };