dune-react 0.0.27 → 0.0.29

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 (450) hide show
  1. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.js +1 -1
  2. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.js +1 -1
  3. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.js +1 -1
  4. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.js +1 -1
  5. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.js +1 -1
  6. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.js +1 -1
  7. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.js +1 -1
  8. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.js +1 -1
  9. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.js +1 -1
  10. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.js +1 -1
  11. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.js +1 -1
  12. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.js +1 -1
  13. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.js +1 -1
  14. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.js +1 -1
  15. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.js +1 -1
  16. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.js +1 -1
  17. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.js +1 -1
  18. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.js +1 -1
  19. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.js +1 -1
  20. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.js +1 -1
  21. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.js +1 -1
  22. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.js +1 -1
  23. package/dist/components/puck-block/hero-sections/tab-hero/component.js +1 -1
  24. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +1 -1
  25. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.js +1 -1
  26. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +1 -1
  27. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +1 -1
  28. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +1 -1
  29. package/dist/components/shadcn/resizable-navbar.js +1 -1
  30. package/dist/components/ui-block/cover/index.js +1 -1
  31. package/dist/components/ui-block/sparkles/index.js +1 -1
  32. package/dist/components/ui-block/spotlight/index.js +1 -1
  33. package/package.json +1 -1
  34. package/dist/components/index.d.ts +0 -5
  35. package/dist/components/puck-base/article-card.d.ts +0 -10
  36. package/dist/components/puck-base/badge.d.ts +0 -10
  37. package/dist/components/puck-base/button.d.ts +0 -13
  38. package/dist/components/puck-base/card.d.ts +0 -13
  39. package/dist/components/puck-base/container.d.ts +0 -24
  40. package/dist/components/puck-base/content.d.ts +0 -14
  41. package/dist/components/puck-base/field.d.ts +0 -9
  42. package/dist/components/puck-base/form.d.ts +0 -12
  43. package/dist/components/puck-base/gradient-text.d.ts +0 -10
  44. package/dist/components/puck-base/image.d.ts +0 -6
  45. package/dist/components/puck-base/index.d.ts +0 -11
  46. package/dist/components/puck-base/navigation-menu.d.ts +0 -18
  47. package/dist/components/puck-base/safe-dynamic-icon.d.ts +0 -7
  48. package/dist/components/puck-block/banner-sections/css-marquee-banner/css-marquee-banner.d.ts +0 -4
  49. package/dist/components/puck-block/banner-sections/css-marquee-banner/index.d.ts +0 -90
  50. package/dist/components/puck-block/banner-sections/dismissible-banner/dismissible-banner.d.ts +0 -4
  51. package/dist/components/puck-block/banner-sections/dismissible-banner/index.d.ts +0 -254
  52. package/dist/components/puck-block/banner-sections/dual-row-marquee/dual-row-marquee.d.ts +0 -4
  53. package/dist/components/puck-block/banner-sections/dual-row-marquee/index.d.ts +0 -53
  54. package/dist/components/puck-block/banner-sections/index.d.ts +0 -4
  55. package/dist/components/puck-block/banner-sections/props.d.ts +0 -122
  56. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/index.d.ts +0 -19
  57. package/dist/components/puck-block/banner-sections/scroll-driven-marquee/scroll-driven-marquee.d.ts +0 -4
  58. package/dist/components/puck-block/banner-sections/scroll-parallax-text/index.d.ts +0 -19
  59. package/dist/components/puck-block/banner-sections/scroll-parallax-text/scroll-parallax-text.d.ts +0 -4
  60. package/dist/components/puck-block/contact-sections/_template/contact-us.d.ts +0 -38
  61. package/dist/components/puck-block/contact-sections/_template/index.d.ts +0 -5
  62. package/dist/components/puck-block/contact-sections/api/form-leads.d.ts +0 -16
  63. package/dist/components/puck-block/contact-sections/centered-form/centered-form.d.ts +0 -4
  64. package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +0 -127
  65. package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.d.ts +0 -4
  66. package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +0 -112
  67. package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.d.ts +0 -4
  68. package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +0 -127
  69. package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.d.ts +0 -4
  70. package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +0 -136
  71. package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.d.ts +0 -4
  72. package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +0 -134
  73. package/dist/components/puck-block/contact-sections/header-info-fullwidth/header-info-fullwidth.d.ts +0 -4
  74. package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +0 -88
  75. package/dist/components/puck-block/contact-sections/index.d.ts +0 -10
  76. package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +0 -88
  77. package/dist/components/puck-block/contact-sections/info-cards-media/info-cards-media.d.ts +0 -4
  78. package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +0 -165
  79. package/dist/components/puck-block/contact-sections/location-cards-grid/location-cards-grid.d.ts +0 -4
  80. package/dist/components/puck-block/contact-sections/props.d.ts +0 -155
  81. package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +0 -125
  82. package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.d.ts +0 -4
  83. package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +0 -97
  84. package/dist/components/puck-block/contact-sections/tab-locations/tab-locations.d.ts +0 -4
  85. package/dist/components/puck-block/contact-sections/use-contact-form.d.ts +0 -20
  86. package/dist/components/puck-block/cta-sections/feature-card-cta/feature-card-cta.d.ts +0 -13
  87. package/dist/components/puck-block/cta-sections/feature-card-cta/index.d.ts +0 -155
  88. package/dist/components/puck-block/cta-sections/index.d.ts +0 -4
  89. package/dist/components/puck-block/cta-sections/mouse-track-cta/index.d.ts +0 -83
  90. package/dist/components/puck-block/cta-sections/mouse-track-cta/mouse-track-cta.d.ts +0 -15
  91. package/dist/components/puck-block/cta-sections/props.d.ts +0 -143
  92. package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +0 -165
  93. package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.d.ts +0 -4
  94. package/dist/components/puck-block/cta-sections/text-block-cta/index.d.ts +0 -227
  95. package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.d.ts +0 -8
  96. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.d.ts +0 -4
  97. package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/index.d.ts +0 -138
  98. package/dist/components/puck-block/faq-sections/icon-card-faq/icon-card-faq.d.ts +0 -12
  99. package/dist/components/puck-block/faq-sections/icon-card-faq/index.d.ts +0 -108
  100. package/dist/components/puck-block/faq-sections/index.d.ts +0 -6
  101. package/dist/components/puck-block/faq-sections/props.d.ts +0 -87
  102. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/index.d.ts +0 -160
  103. package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.d.ts +0 -4
  104. package/dist/components/puck-block/faq-sections/stacked-static-faq/index.d.ts +0 -163
  105. package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.d.ts +0 -4
  106. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +0 -130
  107. package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.d.ts +0 -4
  108. package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +0 -91
  109. package/dist/components/puck-block/faq-sections/two-column-static-faq/two-column-static-faq.d.ts +0 -4
  110. package/dist/components/puck-block/feature-sections/feature-cards-grid/component.d.ts +0 -14
  111. package/dist/components/puck-block/feature-sections/feature-cards-grid/index.d.ts +0 -246
  112. package/dist/components/puck-block/feature-sections/feature-list-split/component.d.ts +0 -14
  113. package/dist/components/puck-block/feature-sections/feature-list-split/index.d.ts +0 -246
  114. package/dist/components/puck-block/feature-sections/index.d.ts +0 -5
  115. package/dist/components/puck-block/feature-sections/props.d.ts +0 -150
  116. package/dist/components/puck-block/feature-sections/tab-feature/component.d.ts +0 -16
  117. package/dist/components/puck-block/feature-sections/tab-feature/index.d.ts +0 -43
  118. package/dist/components/puck-block/feature-sections/text-media-split/component.d.ts +0 -4
  119. package/dist/components/puck-block/feature-sections/text-media-split/index.d.ts +0 -209
  120. package/dist/components/puck-block/feature-sections/text-only-section/component.d.ts +0 -14
  121. package/dist/components/puck-block/feature-sections/text-only-section/index.d.ts +0 -209
  122. package/dist/components/puck-block/footer-sections/centered-minimal-footer/centered-minimal-footer.d.ts +0 -4
  123. package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +0 -102
  124. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/compact-newsletter-footer.d.ts +0 -4
  125. package/dist/components/puck-block/footer-sections/compact-newsletter-footer/index.d.ts +0 -164
  126. package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.d.ts +0 -4
  127. package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +0 -159
  128. package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.d.ts +0 -4
  129. package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +0 -186
  130. package/dist/components/puck-block/footer-sections/index.d.ts +0 -3
  131. package/dist/components/puck-block/footer-sections/links-newsletter-footer/index.d.ts +0 -184
  132. package/dist/components/puck-block/footer-sections/links-newsletter-footer/links-newsletter-footer.d.ts +0 -4
  133. package/dist/components/puck-block/footer-sections/newsletter-links-footer/index.d.ts +0 -179
  134. package/dist/components/puck-block/footer-sections/newsletter-links-footer/newsletter-links-footer.d.ts +0 -4
  135. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/index.d.ts +0 -195
  136. package/dist/components/puck-block/footer-sections/newsletter-top-links-footer/newsletter-top-links-footer.d.ts +0 -4
  137. package/dist/components/puck-block/footer-sections/props.d.ts +0 -100
  138. package/dist/components/puck-block/gallery-sections/asymmetric-grid/asymmetric-grid.d.ts +0 -4
  139. package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +0 -75
  140. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/fullscreen-portfolio.d.ts +0 -4
  141. package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +0 -126
  142. package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.d.ts +0 -4
  143. package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +0 -136
  144. package/dist/components/puck-block/gallery-sections/index.d.ts +0 -11
  145. package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +0 -83
  146. package/dist/components/puck-block/gallery-sections/interactive-portfolio/interactive-portfolio.d.ts +0 -4
  147. package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +0 -84
  148. package/dist/components/puck-block/gallery-sections/masonry-grid/masonry-grid.d.ts +0 -4
  149. package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +0 -249
  150. package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.d.ts +0 -4
  151. package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +0 -198
  152. package/dist/components/puck-block/gallery-sections/portfolio-divider/portfolio-divider.d.ts +0 -4
  153. package/dist/components/puck-block/gallery-sections/props.d.ts +0 -275
  154. package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +0 -36
  155. package/dist/components/puck-block/gallery-sections/scroll-parallax/scroll-parallax.d.ts +0 -4
  156. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +0 -98
  157. package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/scroll-parallax-portfolio.d.ts +0 -4
  158. package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +0 -78
  159. package/dist/components/puck-block/gallery-sections/split-carousel/split-carousel.d.ts +0 -4
  160. package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +0 -95
  161. package/dist/components/puck-block/gallery-sections/static-grid/static-grid.d.ts +0 -4
  162. package/dist/components/puck-block/header-sections/centered-navbar/centered-navbar.d.ts +0 -4
  163. package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +0 -114
  164. package/dist/components/puck-block/header-sections/drawer-navbar/drawer-navbar.d.ts +0 -4
  165. package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +0 -114
  166. package/dist/components/puck-block/header-sections/floating-bordered-navbar/floating-bordered-navbar.d.ts +0 -4
  167. package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +0 -129
  168. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/fullscreen-overlay-navbar.d.ts +0 -4
  169. package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +0 -138
  170. package/dist/components/puck-block/header-sections/index.d.ts +0 -6
  171. package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +0 -165
  172. package/dist/components/puck-block/header-sections/mega-menu-navbar/mega-menu-navbar.d.ts +0 -4
  173. package/dist/components/puck-block/header-sections/props.d.ts +0 -107
  174. package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +0 -156
  175. package/dist/components/puck-block/header-sections/standard-navbar/standard-navbar.d.ts +0 -4
  176. package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +0 -9
  177. package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +0 -121
  178. package/dist/components/puck-block/hero-sections/centered-hero/centered-hero.d.ts +0 -4
  179. package/dist/components/puck-block/hero-sections/centered-hero/index.d.ts +0 -212
  180. package/dist/components/puck-block/hero-sections/column-scroll-hero/component.d.ts +0 -9
  181. package/dist/components/puck-block/hero-sections/column-scroll-hero/index.d.ts +0 -132
  182. package/dist/components/puck-block/hero-sections/dual-marquee-hero/component.d.ts +0 -4
  183. package/dist/components/puck-block/hero-sections/dual-marquee-hero/index.d.ts +0 -115
  184. package/dist/components/puck-block/hero-sections/fullscreen-hero/fullscreen-hero.d.ts +0 -4
  185. package/dist/components/puck-block/hero-sections/fullscreen-hero/index.d.ts +0 -269
  186. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/component.d.ts +0 -4
  187. package/dist/components/puck-block/hero-sections/fullscreen-video-hero/index.d.ts +0 -118
  188. package/dist/components/puck-block/hero-sections/grid-expand-hero/component.d.ts +0 -4
  189. package/dist/components/puck-block/hero-sections/grid-expand-hero/index.d.ts +0 -173
  190. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/component.d.ts +0 -4
  191. package/dist/components/puck-block/hero-sections/horizontal-marquee-hero/index.d.ts +0 -115
  192. package/dist/components/puck-block/hero-sections/index.d.ts +0 -20
  193. package/dist/components/puck-block/hero-sections/inline-image-hero/index.d.ts +0 -151
  194. package/dist/components/puck-block/hero-sections/inline-image-hero/inline-image-hero.d.ts +0 -12
  195. package/dist/components/puck-block/hero-sections/media-text-hero/index.d.ts +0 -243
  196. package/dist/components/puck-block/hero-sections/media-text-hero/media-text-hero.d.ts +0 -4
  197. package/dist/components/puck-block/hero-sections/mouse-track-hero/component.d.ts +0 -9
  198. package/dist/components/puck-block/hero-sections/mouse-track-hero/index.d.ts +0 -132
  199. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/index.d.ts +0 -171
  200. package/dist/components/puck-block/hero-sections/multi-image-grid-hero/multi-image-grid-hero.d.ts +0 -4
  201. package/dist/components/puck-block/hero-sections/overlapping-image-hero/index.d.ts +0 -195
  202. package/dist/components/puck-block/hero-sections/overlapping-image-hero/overlapping-image-hero.d.ts +0 -10
  203. package/dist/components/puck-block/hero-sections/parallax-images-hero/component.d.ts +0 -4
  204. package/dist/components/puck-block/hero-sections/parallax-images-hero/index.d.ts +0 -115
  205. package/dist/components/puck-block/hero-sections/props.d.ts +0 -237
  206. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/component.d.ts +0 -4
  207. package/dist/components/puck-block/hero-sections/scatter-parallax-hero/index.d.ts +0 -115
  208. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/component.d.ts +0 -4
  209. package/dist/components/puck-block/hero-sections/scroll-expand-video-hero/index.d.ts +0 -118
  210. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/component.d.ts +0 -4
  211. package/dist/components/puck-block/hero-sections/scroll-zoom-hero/index.d.ts +0 -160
  212. package/dist/components/puck-block/hero-sections/split-hero/index.d.ts +0 -263
  213. package/dist/components/puck-block/hero-sections/split-hero/split-hero.d.ts +0 -4
  214. package/dist/components/puck-block/hero-sections/stacked-hero/index.d.ts +0 -246
  215. package/dist/components/puck-block/hero-sections/stacked-hero/stacked-hero.d.ts +0 -4
  216. package/dist/components/puck-block/hero-sections/sticky-expand-hero/component.d.ts +0 -4
  217. package/dist/components/puck-block/hero-sections/sticky-expand-hero/index.d.ts +0 -115
  218. package/dist/components/puck-block/hero-sections/sticky-video-hero/component.d.ts +0 -8
  219. package/dist/components/puck-block/hero-sections/sticky-video-hero/index.d.ts +0 -166
  220. package/dist/components/puck-block/hero-sections/tab-hero/component.d.ts +0 -24
  221. package/dist/components/puck-block/hero-sections/tab-hero/index.d.ts +0 -87
  222. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.d.ts +0 -10
  223. package/dist/components/puck-block/hero-sections/three-image-parallax-hero/index.d.ts +0 -174
  224. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/component.d.ts +0 -4
  225. package/dist/components/puck-block/hero-sections/vertical-gallery-hero/index.d.ts +0 -115
  226. package/dist/components/puck-block/hero-sections/zoom-grid-hero/component.d.ts +0 -4
  227. package/dist/components/puck-block/hero-sections/zoom-grid-hero/index.d.ts +0 -115
  228. package/dist/components/puck-block/index.d.ts +0 -18
  229. package/dist/components/puck-block/location-sections/index.d.ts +0 -3
  230. package/dist/components/puck-block/location-sections/location-1/index.d.ts +0 -5
  231. package/dist/components/puck-block/location-sections/location-1/location.d.ts +0 -27
  232. package/dist/components/puck-block/location-sections/location-2/index.d.ts +0 -5
  233. package/dist/components/puck-block/location-sections/location-2/location.d.ts +0 -29
  234. package/dist/components/puck-block/location-sections/location-3/index.d.ts +0 -5
  235. package/dist/components/puck-block/location-sections/location-3/location.d.ts +0 -26
  236. package/dist/components/puck-block/location-sections/props.d.ts +0 -44
  237. package/dist/components/puck-block/metrics-sections/center-media-stats/center-media-stats.d.ts +0 -4
  238. package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +0 -111
  239. package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.d.ts +0 -4
  240. package/dist/components/puck-block/metrics-sections/header-stats-row/index.d.ts +0 -193
  241. package/dist/components/puck-block/metrics-sections/index.d.ts +0 -5
  242. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/index.d.ts +0 -184
  243. package/dist/components/puck-block/metrics-sections/mixed-grid-stats/mixed-grid-stats.d.ts +0 -13
  244. package/dist/components/puck-block/metrics-sections/props.d.ts +0 -127
  245. package/dist/components/puck-block/metrics-sections/split-stats/index.d.ts +0 -193
  246. package/dist/components/puck-block/metrics-sections/split-stats/split-stats.d.ts +0 -4
  247. package/dist/components/puck-block/metrics-sections/tab-stats/index.d.ts +0 -113
  248. package/dist/components/puck-block/metrics-sections/tab-stats/tab-stats.d.ts +0 -19
  249. package/dist/components/puck-block/pricing-sections/index.d.ts +0 -6
  250. package/dist/components/puck-block/pricing-sections/pricing-card-grid/component.d.ts +0 -15
  251. package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +0 -101
  252. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.d.ts +0 -31
  253. package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +0 -158
  254. package/dist/components/puck-block/pricing-sections/props.d.ts +0 -91
  255. package/dist/components/puck-block/pricing-sections/single-pricing-card/component.d.ts +0 -17
  256. package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +0 -88
  257. package/dist/components/puck-block/pricing-sections/split-pricing/component.d.ts +0 -21
  258. package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +0 -79
  259. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/component.d.ts +0 -24
  260. package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +0 -99
  261. package/dist/components/puck-block/pricing-sections/tab-single-pricing/component.d.ts +0 -23
  262. package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +0 -88
  263. package/dist/components/puck-block/registry.generated.d.ts +0 -13630
  264. package/dist/components/puck-block/showcase-sections/compact-timeline/component.d.ts +0 -13
  265. package/dist/components/puck-block/showcase-sections/compact-timeline/index.d.ts +0 -169
  266. package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.d.ts +0 -13
  267. package/dist/components/puck-block/showcase-sections/horizontal-timeline/index.d.ts +0 -169
  268. package/dist/components/puck-block/showcase-sections/index.d.ts +0 -6
  269. package/dist/components/puck-block/showcase-sections/props.d.ts +0 -73
  270. package/dist/components/puck-block/showcase-sections/single-column-timeline/component.d.ts +0 -15
  271. package/dist/components/puck-block/showcase-sections/single-column-timeline/index.d.ts +0 -264
  272. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.d.ts +0 -15
  273. package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/index.d.ts +0 -264
  274. package/dist/components/puck-block/showcase-sections/tab-timeline/component.d.ts +0 -22
  275. package/dist/components/puck-block/showcase-sections/tab-timeline/index.d.ts +0 -181
  276. package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.d.ts +0 -15
  277. package/dist/components/puck-block/showcase-sections/zigzag-timeline/index.d.ts +0 -264
  278. package/dist/components/puck-block/team-sections/index.d.ts +0 -5
  279. package/dist/components/puck-block/team-sections/props.d.ts +0 -101
  280. package/dist/components/puck-block/team-sections/team-carousel/component.d.ts +0 -25
  281. package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +0 -147
  282. package/dist/components/puck-block/team-sections/team-grid/component.d.ts +0 -25
  283. package/dist/components/puck-block/team-sections/team-grid/index.d.ts +0 -183
  284. package/dist/components/puck-block/team-sections/team-inline-card/component.d.ts +0 -25
  285. package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +0 -158
  286. package/dist/components/puck-block/team-sections/team-sticky-scatter/component.d.ts +0 -20
  287. package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +0 -78
  288. package/dist/components/puck-block/team-sections/team-two-column/component.d.ts +0 -20
  289. package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +0 -155
  290. package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.d.ts +0 -33
  291. package/dist/components/puck-block/testimonial-sections/bento-testimonial/index.d.ts +0 -84
  292. package/dist/components/puck-block/testimonial-sections/centered-testimonial/component.d.ts +0 -14
  293. package/dist/components/puck-block/testimonial-sections/centered-testimonial/index.d.ts +0 -94
  294. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.d.ts +0 -18
  295. package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +0 -103
  296. package/dist/components/puck-block/testimonial-sections/image-testimonial/component.d.ts +0 -13
  297. package/dist/components/puck-block/testimonial-sections/image-testimonial/index.d.ts +0 -88
  298. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/component.d.ts +0 -17
  299. package/dist/components/puck-block/testimonial-sections/image-testimonial-carousel/index.d.ts +0 -91
  300. package/dist/components/puck-block/testimonial-sections/index.d.ts +0 -11
  301. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/component.d.ts +0 -16
  302. package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.d.ts +0 -42
  303. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/component.d.ts +0 -16
  304. package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +0 -81
  305. package/dist/components/puck-block/testimonial-sections/props.d.ts +0 -210
  306. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/component.d.ts +0 -16
  307. package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +0 -160
  308. package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.d.ts +0 -22
  309. package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +0 -69
  310. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.d.ts +0 -18
  311. package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +0 -119
  312. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.d.ts +0 -17
  313. package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +0 -133
  314. package/dist/components/puck-block/text-sections/aside-nav-content/component.d.ts +0 -17
  315. package/dist/components/puck-block/text-sections/aside-nav-content/index.d.ts +0 -85
  316. package/dist/components/puck-block/text-sections/blog-article/component.d.ts +0 -30
  317. package/dist/components/puck-block/text-sections/blog-article/index.d.ts +0 -139
  318. package/dist/components/puck-block/text-sections/index.d.ts +0 -5
  319. package/dist/components/puck-block/text-sections/props.d.ts +0 -186
  320. package/dist/components/puck-block/text-sections/prose-content/component.d.ts +0 -14
  321. package/dist/components/puck-block/text-sections/prose-content/index.d.ts +0 -141
  322. package/dist/components/puck-block/text-sections/prose-sidebar/component.d.ts +0 -27
  323. package/dist/components/puck-block/text-sections/prose-sidebar/index.d.ts +0 -181
  324. package/dist/components/puck-block/text-sections/side-media-content/component.d.ts +0 -8
  325. package/dist/components/puck-block/text-sections/side-media-content/index.d.ts +0 -91
  326. package/dist/components/puck-block/text-sections/sticky-text-multi-image/component.d.ts +0 -9
  327. package/dist/components/puck-block/text-sections/sticky-text-multi-image/index.d.ts +0 -77
  328. package/dist/components/puck-block/text-sections/text-header/component.d.ts +0 -9
  329. package/dist/components/puck-block/text-sections/text-header/index.d.ts +0 -264
  330. package/dist/components/puck-block/type.d.ts +0 -5
  331. package/dist/components/puck-core/core/context/editor-context.d.ts +0 -25
  332. package/dist/components/puck-core/core/context/section-id-context.d.ts +0 -6
  333. package/dist/components/puck-core/core/fields.d.ts +0 -19
  334. package/dist/components/puck-core/core/hooks.d.ts +0 -19
  335. package/dist/components/puck-core/core/icon-catalog.d.ts +0 -14
  336. package/dist/components/puck-core/core/props/content.d.ts +0 -224
  337. package/dist/components/puck-core/core/props/form.d.ts +0 -172
  338. package/dist/components/puck-core/core/props/index.d.ts +0 -271
  339. package/dist/components/puck-core/core/props/interactive.d.ts +0 -244
  340. package/dist/components/puck-core/core/props/media.d.ts +0 -51
  341. package/dist/components/puck-core/core/props/section.d.ts +0 -21
  342. package/dist/components/puck-core/core/styles.d.ts +0 -2316
  343. package/dist/components/puck-core/core/types.d.ts +0 -8
  344. package/dist/components/puck-core/core/utils.d.ts +0 -5
  345. package/dist/components/puck-core/core/with-editable.d.ts +0 -16
  346. package/dist/components/puck-core/error-boundary.d.ts +0 -4
  347. package/dist/components/puck-core/fields/action-field.d.ts +0 -30
  348. package/dist/components/puck-core/fields/array-field.d.ts +0 -7
  349. package/dist/components/puck-core/fields/auto-field.d.ts +0 -2
  350. package/dist/components/puck-core/fields/color-field.d.ts +0 -6
  351. package/dist/components/puck-core/fields/icon-picker-field.d.ts +0 -8
  352. package/dist/components/puck-core/fields/image-upload-field.d.ts +0 -7
  353. package/dist/components/puck-core/fields/index.d.ts +0 -9
  354. package/dist/components/puck-core/fields/location-field.d.ts +0 -44
  355. package/dist/components/puck-core/fields/object-field.d.ts +0 -8
  356. package/dist/components/puck-core/fields/radio-toggle-field.d.ts +0 -10
  357. package/dist/components/puck-core/fields/types.d.ts +0 -29
  358. package/dist/components/puck-core/fields/virtualized-select-field.d.ts +0 -13
  359. package/dist/components/puck-core/index.d.ts +0 -13
  360. package/dist/components/puck-core/inline-editable.d.ts +0 -14
  361. package/dist/components/puck-core/section-wrapper.d.ts +0 -33
  362. package/dist/components/puck-core/use-upload.d.ts +0 -42
  363. package/dist/components/shadcn/accordion.d.ts +0 -9
  364. package/dist/components/shadcn/alert-dialog.d.ts +0 -20
  365. package/dist/components/shadcn/alert.d.ts +0 -10
  366. package/dist/components/shadcn/animated-theme-toggler.d.ts +0 -4
  367. package/dist/components/shadcn/aspect-ratio.d.ts +0 -4
  368. package/dist/components/shadcn/avatar.d.ts +0 -13
  369. package/dist/components/shadcn/badge-promo.d.ts +0 -4
  370. package/dist/components/shadcn/badge.d.ts +0 -7
  371. package/dist/components/shadcn/breadcrumb.d.ts +0 -12
  372. package/dist/components/shadcn/button-group.d.ts +0 -10
  373. package/dist/components/shadcn/button.d.ts +0 -15
  374. package/dist/components/shadcn/calendar.d.ts +0 -10
  375. package/dist/components/shadcn/card.d.ts +0 -11
  376. package/dist/components/shadcn/carousel.d.ts +0 -28
  377. package/dist/components/shadcn/chart.d.ts +0 -40
  378. package/dist/components/shadcn/checkbox.d.ts +0 -3
  379. package/dist/components/shadcn/collapsible.d.ts +0 -12
  380. package/dist/components/shadcn/combobox.d.ts +0 -24
  381. package/dist/components/shadcn/command.d.ts +0 -19
  382. package/dist/components/shadcn/context-menu.d.ts +0 -31
  383. package/dist/components/shadcn/dialog.d.ts +0 -25
  384. package/dist/components/shadcn/direction.d.ts +0 -1
  385. package/dist/components/shadcn/drawer.d.ts +0 -13
  386. package/dist/components/shadcn/dropdown-menu.d.ts +0 -32
  387. package/dist/components/shadcn/empty.d.ts +0 -11
  388. package/dist/components/shadcn/field.d.ts +0 -24
  389. package/dist/components/shadcn/form.d.ts +0 -17
  390. package/dist/components/shadcn/hover-card.d.ts +0 -10
  391. package/dist/components/shadcn/index.d.ts +0 -63
  392. package/dist/components/shadcn/input-group.d.ts +0 -18
  393. package/dist/components/shadcn/input-otp.d.ts +0 -11
  394. package/dist/components/shadcn/input.d.ts +0 -3
  395. package/dist/components/shadcn/item.d.ts +0 -22
  396. package/dist/components/shadcn/kbd.d.ts +0 -3
  397. package/dist/components/shadcn/label.d.ts +0 -3
  398. package/dist/components/shadcn/layout-text-flip.d.ts +0 -4
  399. package/dist/components/shadcn/menubar.d.ts +0 -29
  400. package/dist/components/shadcn/native-select.d.ts +0 -8
  401. package/dist/components/shadcn/navigation-menu.d.ts +0 -14
  402. package/dist/components/shadcn/pagination.d.ts +0 -17
  403. package/dist/components/shadcn/popover.d.ts +0 -11
  404. package/dist/components/shadcn/progress.d.ts +0 -7
  405. package/dist/components/shadcn/radio-group.d.ts +0 -5
  406. package/dist/components/shadcn/resizable-navbar.d.ts +0 -52
  407. package/dist/components/shadcn/resizable.d.ts +0 -8
  408. package/dist/components/shadcn/scroll-area.d.ts +0 -4
  409. package/dist/components/shadcn/select.d.ts +0 -18
  410. package/dist/components/shadcn/separator.d.ts +0 -3
  411. package/dist/components/shadcn/sheet.d.ts +0 -14
  412. package/dist/components/shadcn/sidebar.d.ts +0 -66
  413. package/dist/components/shadcn/skeleton.d.ts +0 -2
  414. package/dist/components/shadcn/slider.d.ts +0 -3
  415. package/dist/components/shadcn/sonner.d.ts +0 -3
  416. package/dist/components/shadcn/spinner.d.ts +0 -2
  417. package/dist/components/shadcn/switch.d.ts +0 -5
  418. package/dist/components/shadcn/table.d.ts +0 -10
  419. package/dist/components/shadcn/tabs.d.ts +0 -10
  420. package/dist/components/shadcn/textarea.d.ts +0 -3
  421. package/dist/components/shadcn/toast.d.ts +0 -11
  422. package/dist/components/shadcn/toggle-group.d.ts +0 -9
  423. package/dist/components/shadcn/toggle.d.ts +0 -8
  424. package/dist/components/shadcn/tooltip.d.ts +0 -11
  425. package/dist/components/shadcn/tweet-card-client.d.ts +0 -4
  426. package/dist/components/shadcn/tweet-card.d.ts +0 -5
  427. package/dist/components/shadcn/video-iframe.d.ts +0 -6
  428. package/dist/components/ui-block/background/index.d.ts +0 -8
  429. package/dist/components/ui-block/cover/index.d.ts +0 -17
  430. package/dist/components/ui-block/index.d.ts +0 -4
  431. package/dist/components/ui-block/sparkles/index.d.ts +0 -13
  432. package/dist/components/ui-block/spotlight/index.d.ts +0 -13
  433. package/dist/hooks/use-media-query.d.ts +0 -1
  434. package/dist/hooks/use-mobile.d.ts +0 -1
  435. package/dist/hooks/use-prefers-reduced-motion.d.ts +0 -1
  436. package/dist/hooks/use-scroll-container.d.ts +0 -18
  437. package/dist/index.d.ts +0 -2
  438. package/dist/lib/utils/index.d.ts +0 -2
  439. package/dist/lib/utils/utils-css.d.ts +0 -1
  440. package/dist/lib/utils.d.ts +0 -1
  441. package/dist/styles/relume-typography.d.ts +0 -2
  442. package/dist/utils/css-utils.d.ts +0 -10
  443. package/dist/utils/index.d.ts +0 -9
  444. package/dist/utils/storage-qetag.d.ts +0 -22
  445. package/dist/utils/utils-api.d.ts +0 -17
  446. package/dist/utils/utils-canvas.d.ts +0 -30
  447. package/dist/utils/utils-common.d.ts +0 -6
  448. package/dist/utils/utils-image.d.ts +0 -33
  449. package/dist/utils/utils-random.d.ts +0 -1
  450. package/dist/utils/utils-time.d.ts +0 -49
@@ -1,172 +0,0 @@
1
- /**
2
- * 表单与数据输入类 Props — 用户填写/结构化数据
3
- *
4
- * 包含:Form Field / Form / Location / Social
5
- * 每个 prop 按 Type → Field → Defaults 顺序排列
6
- */
7
- import { type BaseButton } from "./interactive";
8
- export declare const fieldTypes: readonly ["text", "number", "password", "date", "file"];
9
- export type FieldTypes = (typeof fieldTypes)[number];
10
- export interface CompoundFieldProps {
11
- id?: string;
12
- name: string;
13
- label: string;
14
- type: FieldTypes;
15
- }
16
- export declare const formMethods: readonly ["get", "post", "put", "patch", "delete"];
17
- export type FormMethods = (typeof formMethods)[number];
18
- export interface CompoundFormProps {
19
- title?: string;
20
- fields: CompoundFieldProps[];
21
- action: string;
22
- method: FormMethods;
23
- button: BaseButton;
24
- }
25
- export type BaseFormFieldType = "text" | "email" | "tel" | "number" | "date" | "url" | "file" | "textarea" | "select";
26
- export interface BaseFormField {
27
- label: string;
28
- name: string;
29
- type?: BaseFormFieldType;
30
- options?: string[];
31
- required?: boolean;
32
- }
33
- export declare const formFieldField: {
34
- type: string;
35
- objectFields: {
36
- label: {
37
- type: string;
38
- contentEditable: boolean;
39
- };
40
- name: {
41
- type: string;
42
- };
43
- type: {
44
- type: string;
45
- options: {
46
- label: "number" | "text" | "date" | "file" | "password";
47
- value: "number" | "text" | "date" | "file" | "password";
48
- }[];
49
- };
50
- };
51
- };
52
- export declare const formFieldDefaults: CompoundFieldProps;
53
- export declare const formField: {
54
- type: string;
55
- objectFields: {
56
- title: {
57
- type: string;
58
- contentEditable: boolean;
59
- };
60
- fields: {
61
- type: string;
62
- min: number;
63
- max: number;
64
- arrayFields: {
65
- label: {
66
- type: string;
67
- contentEditable: boolean;
68
- };
69
- name: {
70
- type: string;
71
- };
72
- type: {
73
- type: string;
74
- options: {
75
- label: "number" | "text" | "date" | "file" | "password";
76
- value: "number" | "text" | "date" | "file" | "password";
77
- }[];
78
- };
79
- };
80
- getItemSummary: (item: {
81
- label?: string;
82
- }, index?: number) => string;
83
- defaultItemProps: CompoundFieldProps;
84
- };
85
- action: {
86
- type: string;
87
- label: string;
88
- };
89
- method: {
90
- type: string;
91
- label: string;
92
- options: {
93
- label: "delete" | "get" | "post" | "put" | "patch";
94
- value: "delete" | "get" | "post" | "put" | "patch";
95
- }[];
96
- };
97
- button: {
98
- objectFields: {
99
- label: {
100
- readonly type: "text";
101
- };
102
- variant: {
103
- readonly type: "select";
104
- readonly options: readonly [{
105
- readonly label: "primary";
106
- readonly value: "default";
107
- }, {
108
- readonly label: "secondary";
109
- readonly value: "secondary";
110
- }, {
111
- readonly label: "outline";
112
- readonly value: "outline";
113
- }, {
114
- readonly label: "ghost";
115
- readonly value: "ghost";
116
- }, {
117
- readonly label: "link";
118
- readonly value: "link";
119
- }, {
120
- readonly label: "destructive";
121
- readonly value: "destructive";
122
- }];
123
- };
124
- size: {
125
- readonly type: "select";
126
- readonly options: readonly [{
127
- readonly label: "default";
128
- readonly value: "default";
129
- }, {
130
- readonly label: "sm";
131
- readonly value: "sm";
132
- }, {
133
- readonly label: "lg";
134
- readonly value: "lg";
135
- }, {
136
- readonly label: "icon";
137
- readonly value: "icon";
138
- }];
139
- };
140
- icon: {
141
- type: "custom";
142
- render: typeof import("../../fields/icon-picker-field").IconPickerField;
143
- };
144
- };
145
- type: "object";
146
- };
147
- };
148
- };
149
- export declare const formDefaults: CompoundFormProps;
150
- /** 地图定位的核心数据:地址 + 坐标 */
151
- export interface MapLocation {
152
- /** 用户可读的完整地址(显示 & 搜索用) */
153
- address: string;
154
- /** 纬度 */
155
- lat: number;
156
- /** 经度 */
157
- lng: number;
158
- /** 地图缩放级别,默认 14 */
159
- zoom?: number;
160
- /** Google Place ID(可选,便于精确定位) */
161
- placeId?: string;
162
- }
163
- /** 从 MapLocation 生成 Google Maps embed URL */
164
- export declare function getMapEmbedUrl(loc: MapLocation): string;
165
- /** 从 MapLocation 生成 Google Maps 导航 URL */
166
- export declare function getDirectionsUrl(loc: MapLocation): string;
167
- export declare const locationDefaults: MapLocation;
168
- export declare const locationField: {
169
- type: "custom";
170
- label: string;
171
- render: any;
172
- };
@@ -1,271 +0,0 @@
1
- /**
2
- * Props 统一出口
3
- *
4
- * 所有 prop 的 type / field / defaults 从这里导出。
5
- * 使用方:import { BaseButton, buttonField, ... } from "@/components/puck-core/core/props"
6
- */
7
- export { type IconName, iconField, type ActionType, type Action, resolveActionUrl, actionField, actionDefaults, type ButtonVariant, type ButtonSize, type BaseButton, buttonField, buttonDefaults, buttonsField, type BadgeVariant, type BaseBadge, badgeField, type BaseLink, type BaseSocialLink, } from "./interactive";
8
- export { headingField, descriptionField, type BaseFeatureItem, type FeatureItemWithImage, type Feature, featuresField, cardField, cardsField, } from "./content";
9
- export { type BaseImage, imageField, imagesField, getPlaceholderImageUrl, image16x9Placeholder, image1x1Placeholder, image9x16Placeholder, } from "./media";
10
- export { fieldTypes, type FieldTypes, type CompoundFieldProps, formMethods, type FormMethods, type CompoundFormProps, type BaseFormFieldType, type BaseFormField, formFieldField, formFieldDefaults, formField, formDefaults, type MapLocation, getMapEmbedUrl, getDirectionsUrl, locationDefaults, locationField, } from "./form";
11
- export { type PaddingLevel, type SectionPadding, type BaseSectionStyle, type BaseSectionStyles, } from "./section";
12
- /** heading + description + badge + buttons */
13
- export declare const contentFields: {
14
- readonly heading: {
15
- readonly type: "text";
16
- readonly contentEditable: true;
17
- };
18
- readonly description: {
19
- readonly type: "textarea";
20
- readonly contentEditable: true;
21
- };
22
- readonly badge: {
23
- readonly type: "object";
24
- readonly objectFields: {
25
- readonly label: {
26
- readonly type: "text";
27
- };
28
- readonly url: {
29
- readonly type: "text";
30
- };
31
- readonly variant: {
32
- readonly type: "select";
33
- readonly options: readonly [{
34
- readonly label: "default";
35
- readonly value: "default";
36
- }, {
37
- readonly label: "secondary";
38
- readonly value: "secondary";
39
- }, {
40
- readonly label: "destructive";
41
- readonly value: "destructive";
42
- }, {
43
- readonly label: "outline";
44
- readonly value: "outline";
45
- }];
46
- };
47
- };
48
- };
49
- readonly buttons: {
50
- readonly type: "array";
51
- readonly max: 3;
52
- readonly getItemSummary: (item: {
53
- label?: string;
54
- }, index?: number) => string;
55
- readonly arrayFields: {
56
- readonly label: {
57
- readonly type: "text";
58
- };
59
- readonly action: {
60
- type: "custom";
61
- label: string;
62
- render: typeof import("../..").ActionField;
63
- };
64
- readonly variant: {
65
- readonly type: "select";
66
- readonly options: readonly [{
67
- readonly label: "primary";
68
- readonly value: "default";
69
- }, {
70
- readonly label: "secondary";
71
- readonly value: "secondary";
72
- }, {
73
- readonly label: "outline";
74
- readonly value: "outline";
75
- }, {
76
- readonly label: "ghost";
77
- readonly value: "ghost";
78
- }, {
79
- readonly label: "link";
80
- readonly value: "link";
81
- }, {
82
- readonly label: "destructive";
83
- readonly value: "destructive";
84
- }];
85
- };
86
- readonly size: {
87
- readonly type: "select";
88
- readonly options: readonly [{
89
- readonly label: "default";
90
- readonly value: "default";
91
- }, {
92
- readonly label: "sm";
93
- readonly value: "sm";
94
- }, {
95
- readonly label: "lg";
96
- readonly value: "lg";
97
- }, {
98
- readonly label: "icon";
99
- readonly value: "icon";
100
- }];
101
- };
102
- readonly icon: {
103
- type: "custom";
104
- render: typeof import("../../fields/icon-picker-field").IconPickerField;
105
- };
106
- };
107
- readonly defaultItemProps: {
108
- readonly label: "Button";
109
- readonly action: {
110
- readonly type: "page";
111
- readonly pageUrl: "";
112
- readonly externalUrl: "";
113
- readonly openInNewTab: "false";
114
- readonly email: "";
115
- readonly subject: "";
116
- readonly phone: "";
117
- readonly sectionId: "";
118
- readonly downloadUrl: "";
119
- };
120
- readonly variant: "default";
121
- readonly size: "default";
122
- readonly icon: "none";
123
- };
124
- readonly ai: {
125
- readonly instructions: "Buttons must use the same size";
126
- };
127
- };
128
- };
129
- /** heading + description + badge + features + buttons */
130
- export declare const contentFieldsWithFeatures: {
131
- readonly heading: {
132
- readonly type: "text";
133
- readonly contentEditable: true;
134
- };
135
- readonly description: {
136
- readonly type: "textarea";
137
- readonly contentEditable: true;
138
- };
139
- readonly badge: {
140
- readonly type: "object";
141
- readonly objectFields: {
142
- readonly label: {
143
- readonly type: "text";
144
- };
145
- readonly url: {
146
- readonly type: "text";
147
- };
148
- readonly variant: {
149
- readonly type: "select";
150
- readonly options: readonly [{
151
- readonly label: "default";
152
- readonly value: "default";
153
- }, {
154
- readonly label: "secondary";
155
- readonly value: "secondary";
156
- }, {
157
- readonly label: "destructive";
158
- readonly value: "destructive";
159
- }, {
160
- readonly label: "outline";
161
- readonly value: "outline";
162
- }];
163
- };
164
- };
165
- };
166
- readonly features: {
167
- readonly type: "array";
168
- readonly max: 5;
169
- readonly getItemSummary: (item: {
170
- name?: string;
171
- }, index?: number) => string;
172
- readonly arrayFields: {
173
- readonly icon: {
174
- type: "custom";
175
- render: typeof import("../../fields/icon-picker-field").IconPickerField;
176
- };
177
- readonly name: {
178
- readonly type: "text";
179
- readonly contentEditable: true;
180
- };
181
- readonly description: {
182
- readonly type: "textarea";
183
- readonly contentEditable: true;
184
- };
185
- };
186
- readonly defaultItemProps: {
187
- readonly icon: "check";
188
- readonly name: "Feature name";
189
- readonly description: "Description of the feature";
190
- };
191
- };
192
- readonly buttons: {
193
- readonly type: "array";
194
- readonly max: 3;
195
- readonly getItemSummary: (item: {
196
- label?: string;
197
- }, index?: number) => string;
198
- readonly arrayFields: {
199
- readonly label: {
200
- readonly type: "text";
201
- };
202
- readonly action: {
203
- type: "custom";
204
- label: string;
205
- render: typeof import("../..").ActionField;
206
- };
207
- readonly variant: {
208
- readonly type: "select";
209
- readonly options: readonly [{
210
- readonly label: "primary";
211
- readonly value: "default";
212
- }, {
213
- readonly label: "secondary";
214
- readonly value: "secondary";
215
- }, {
216
- readonly label: "outline";
217
- readonly value: "outline";
218
- }, {
219
- readonly label: "ghost";
220
- readonly value: "ghost";
221
- }, {
222
- readonly label: "link";
223
- readonly value: "link";
224
- }, {
225
- readonly label: "destructive";
226
- readonly value: "destructive";
227
- }];
228
- };
229
- readonly size: {
230
- readonly type: "select";
231
- readonly options: readonly [{
232
- readonly label: "default";
233
- readonly value: "default";
234
- }, {
235
- readonly label: "sm";
236
- readonly value: "sm";
237
- }, {
238
- readonly label: "lg";
239
- readonly value: "lg";
240
- }, {
241
- readonly label: "icon";
242
- readonly value: "icon";
243
- }];
244
- };
245
- readonly icon: {
246
- type: "custom";
247
- render: typeof import("../../fields/icon-picker-field").IconPickerField;
248
- };
249
- };
250
- readonly defaultItemProps: {
251
- readonly label: "Button";
252
- readonly action: {
253
- readonly type: "page";
254
- readonly pageUrl: "";
255
- readonly externalUrl: "";
256
- readonly openInNewTab: "false";
257
- readonly email: "";
258
- readonly subject: "";
259
- readonly phone: "";
260
- readonly sectionId: "";
261
- readonly downloadUrl: "";
262
- };
263
- readonly variant: "default";
264
- readonly size: "default";
265
- readonly icon: "none";
266
- };
267
- readonly ai: {
268
- readonly instructions: "Buttons must use the same size";
269
- };
270
- };
271
- };
@@ -1,244 +0,0 @@
1
- /**
2
- * 交互类 Props — 用户可点击/触发的元素
3
- *
4
- * 包含:Action / Button / Badge / Link / Icon
5
- * 每个 prop 按 Type → Field → Defaults 顺序排列
6
- */
7
- import { iconNames } from "lucide-react/dynamic";
8
- import { ActionField } from "../../fields/action-field";
9
- import { IconPickerField } from "../../fields/icon-picker-field";
10
- export type IconName = "none" | (typeof iconNames)[number];
11
- export declare const iconField: {
12
- type: "custom";
13
- render: typeof IconPickerField;
14
- };
15
- export type ActionType = "page" | "external" | "scroll" | "email" | "phone" | "section" | "download" | "none";
16
- export type Action = {
17
- type: ActionType;
18
- pageUrl?: string;
19
- externalUrl?: string;
20
- openInNewTab?: string;
21
- email?: string;
22
- subject?: string;
23
- phone?: string;
24
- sectionId?: string;
25
- downloadUrl?: string;
26
- };
27
- export declare function resolveActionUrl(action: Action): string | undefined;
28
- export declare const actionField: {
29
- type: "custom";
30
- label: string;
31
- render: typeof ActionField;
32
- };
33
- export declare const actionDefaults: {
34
- readonly type: "page";
35
- readonly pageUrl: "";
36
- readonly externalUrl: "";
37
- readonly openInNewTab: "false";
38
- readonly email: "";
39
- readonly subject: "";
40
- readonly phone: "";
41
- readonly sectionId: "";
42
- readonly downloadUrl: "";
43
- };
44
- export type ButtonVariant = "default" | "secondary" | "outline" | "ghost" | "link" | "destructive";
45
- export type ButtonSize = "default" | "sm" | "lg" | "icon";
46
- export interface BaseButton {
47
- label: string;
48
- action?: Action;
49
- variant?: ButtonVariant;
50
- size?: ButtonSize;
51
- icon?: IconName;
52
- }
53
- export declare const buttonField: {
54
- readonly type: "object";
55
- readonly objectFields: {
56
- readonly label: {
57
- readonly type: "text";
58
- };
59
- readonly action: {
60
- type: "custom";
61
- label: string;
62
- render: typeof ActionField;
63
- };
64
- readonly variant: {
65
- readonly type: "select";
66
- readonly options: readonly [{
67
- readonly label: "primary";
68
- readonly value: "default";
69
- }, {
70
- readonly label: "secondary";
71
- readonly value: "secondary";
72
- }, {
73
- readonly label: "outline";
74
- readonly value: "outline";
75
- }, {
76
- readonly label: "ghost";
77
- readonly value: "ghost";
78
- }, {
79
- readonly label: "link";
80
- readonly value: "link";
81
- }, {
82
- readonly label: "destructive";
83
- readonly value: "destructive";
84
- }];
85
- };
86
- readonly size: {
87
- readonly type: "select";
88
- readonly options: readonly [{
89
- readonly label: "default";
90
- readonly value: "default";
91
- }, {
92
- readonly label: "sm";
93
- readonly value: "sm";
94
- }, {
95
- readonly label: "lg";
96
- readonly value: "lg";
97
- }, {
98
- readonly label: "icon";
99
- readonly value: "icon";
100
- }];
101
- };
102
- readonly icon: {
103
- type: "custom";
104
- render: typeof IconPickerField;
105
- };
106
- };
107
- };
108
- export declare const buttonDefaults: {
109
- readonly label: "Button";
110
- readonly action: {
111
- readonly type: "page";
112
- readonly pageUrl: "";
113
- readonly externalUrl: "";
114
- readonly openInNewTab: "false";
115
- readonly email: "";
116
- readonly subject: "";
117
- readonly phone: "";
118
- readonly sectionId: "";
119
- readonly downloadUrl: "";
120
- };
121
- readonly variant: "default";
122
- readonly size: "default";
123
- readonly icon: "none";
124
- };
125
- export declare const buttonsField: {
126
- readonly type: "array";
127
- readonly max: 3;
128
- readonly getItemSummary: (item: {
129
- label?: string;
130
- }, index?: number) => string;
131
- readonly arrayFields: {
132
- readonly label: {
133
- readonly type: "text";
134
- };
135
- readonly action: {
136
- type: "custom";
137
- label: string;
138
- render: typeof ActionField;
139
- };
140
- readonly variant: {
141
- readonly type: "select";
142
- readonly options: readonly [{
143
- readonly label: "primary";
144
- readonly value: "default";
145
- }, {
146
- readonly label: "secondary";
147
- readonly value: "secondary";
148
- }, {
149
- readonly label: "outline";
150
- readonly value: "outline";
151
- }, {
152
- readonly label: "ghost";
153
- readonly value: "ghost";
154
- }, {
155
- readonly label: "link";
156
- readonly value: "link";
157
- }, {
158
- readonly label: "destructive";
159
- readonly value: "destructive";
160
- }];
161
- };
162
- readonly size: {
163
- readonly type: "select";
164
- readonly options: readonly [{
165
- readonly label: "default";
166
- readonly value: "default";
167
- }, {
168
- readonly label: "sm";
169
- readonly value: "sm";
170
- }, {
171
- readonly label: "lg";
172
- readonly value: "lg";
173
- }, {
174
- readonly label: "icon";
175
- readonly value: "icon";
176
- }];
177
- };
178
- readonly icon: {
179
- type: "custom";
180
- render: typeof IconPickerField;
181
- };
182
- };
183
- readonly defaultItemProps: {
184
- readonly label: "Button";
185
- readonly action: {
186
- readonly type: "page";
187
- readonly pageUrl: "";
188
- readonly externalUrl: "";
189
- readonly openInNewTab: "false";
190
- readonly email: "";
191
- readonly subject: "";
192
- readonly phone: "";
193
- readonly sectionId: "";
194
- readonly downloadUrl: "";
195
- };
196
- readonly variant: "default";
197
- readonly size: "default";
198
- readonly icon: "none";
199
- };
200
- readonly ai: {
201
- readonly instructions: "Buttons must use the same size";
202
- };
203
- };
204
- export type BadgeVariant = "default" | "secondary" | "destructive" | "outline";
205
- export interface BaseBadge {
206
- label: string;
207
- action?: Action;
208
- variant?: BadgeVariant;
209
- }
210
- export declare const badgeField: {
211
- readonly type: "object";
212
- readonly objectFields: {
213
- readonly label: {
214
- readonly type: "text";
215
- };
216
- readonly url: {
217
- readonly type: "text";
218
- };
219
- readonly variant: {
220
- readonly type: "select";
221
- readonly options: readonly [{
222
- readonly label: "default";
223
- readonly value: "default";
224
- }, {
225
- readonly label: "secondary";
226
- readonly value: "secondary";
227
- }, {
228
- readonly label: "destructive";
229
- readonly value: "destructive";
230
- }, {
231
- readonly label: "outline";
232
- readonly value: "outline";
233
- }];
234
- };
235
- };
236
- };
237
- export interface BaseLink {
238
- label: string;
239
- action?: Action;
240
- }
241
- export interface BaseSocialLink {
242
- platform: string;
243
- url: string;
244
- }