@builder.io/sdk-react 0.2.2 → 0.2.3-0

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 (308) hide show
  1. package/dist/react/blocks/BaseText.d.ts +2 -0
  2. package/dist/react/blocks/BaseText.js +1 -0
  3. package/dist/react/blocks/button/button.d.ts +2 -0
  4. package/dist/react/blocks/button/button.js +1 -0
  5. package/dist/react/blocks/button/component-info.d.ts +38 -0
  6. package/dist/react/blocks/columns/columns.d.ts +2 -0
  7. package/dist/react/blocks/columns/columns.js +1 -0
  8. package/dist/react/blocks/columns/component-info.d.ts +176 -0
  9. package/dist/react/blocks/custom-code/component-info.d.ts +31 -0
  10. package/dist/react/blocks/custom-code/custom-code.d.ts +2 -0
  11. package/dist/react/blocks/custom-code/custom-code.js +1 -0
  12. package/dist/react/blocks/embed/component-info.d.ts +22 -0
  13. package/dist/react/blocks/embed/embed.d.ts +2 -0
  14. package/dist/react/blocks/embed/embed.js +1 -0
  15. package/dist/react/blocks/embed/helpers.d.ts +1 -0
  16. package/dist/react/blocks/form/component-info.d.ts +235 -0
  17. package/dist/react/blocks/form/form.d.ts +2 -0
  18. package/dist/react/blocks/form/form.js +1 -0
  19. package/dist/react/blocks/fragment/component-info.d.ts +8 -0
  20. package/dist/react/blocks/fragment/fragment.d.ts +2 -0
  21. package/dist/react/blocks/fragment/fragment.js +1 -0
  22. package/dist/react/blocks/image/component-info.d.ts +114 -0
  23. package/dist/react/blocks/image/image.d.ts +2 -0
  24. package/dist/react/blocks/image/image.helpers.d.ts +1 -0
  25. package/dist/react/blocks/image/image.js +1 -0
  26. package/dist/react/blocks/img/component-info.d.ts +15 -0
  27. package/dist/react/blocks/img/img.d.ts +2 -0
  28. package/dist/react/blocks/img/img.js +1 -0
  29. package/dist/react/blocks/input/component-info.d.ts +66 -0
  30. package/dist/react/blocks/input/input.d.ts +2 -0
  31. package/dist/react/blocks/input/input.js +1 -0
  32. package/dist/react/blocks/raw-text/component-info.d.ts +10 -0
  33. package/dist/react/blocks/raw-text/raw-text.d.ts +2 -0
  34. package/dist/react/blocks/raw-text/raw-text.js +1 -0
  35. package/dist/react/blocks/section/component-info.d.ts +43 -0
  36. package/dist/react/blocks/section/section.d.ts +2 -0
  37. package/dist/react/blocks/section/section.js +1 -0
  38. package/dist/react/blocks/select/component-info.d.ts +61 -0
  39. package/dist/react/blocks/select/select.d.ts +2 -0
  40. package/dist/react/blocks/select/select.js +1 -0
  41. package/dist/react/blocks/submit-button/component-info.d.ts +23 -0
  42. package/dist/react/blocks/submit-button/submit-button.d.ts +2 -0
  43. package/dist/react/blocks/submit-button/submit-button.js +1 -0
  44. package/dist/react/blocks/symbol/component-info.d.ts +35 -0
  45. package/dist/react/blocks/symbol/symbol.d.ts +2 -0
  46. package/dist/react/blocks/symbol/symbol.js +1 -0
  47. package/dist/react/blocks/text/component-info.d.ts +19 -0
  48. package/dist/react/blocks/text/text.d.ts +2 -0
  49. package/dist/react/blocks/text/text.js +1 -0
  50. package/dist/react/blocks/textarea/component-info.d.ts +53 -0
  51. package/dist/react/blocks/textarea/textarea.d.ts +2 -0
  52. package/dist/react/blocks/textarea/textarea.js +1 -0
  53. package/dist/react/blocks/util.d.ts +1 -0
  54. package/dist/react/blocks/video/component-info.d.ts +80 -0
  55. package/dist/react/blocks/video/video.d.ts +2 -0
  56. package/dist/react/blocks/video/video.js +1 -0
  57. package/dist/react/components/render-block/block-styles.d.ts +2 -0
  58. package/dist/react/components/render-block/block-styles.js +1 -0
  59. package/dist/react/components/render-block/render-block.d.ts +2 -0
  60. package/dist/react/components/render-block/render-block.helpers.d.ts +13 -0
  61. package/dist/react/components/render-block/render-block.js +1 -0
  62. package/dist/react/components/render-block/render-component.d.ts +2 -0
  63. package/dist/react/components/render-block/render-component.js +1 -0
  64. package/dist/react/components/render-block/render-repeated-block.d.ts +2 -0
  65. package/dist/react/components/render-block/render-repeated-block.js +1 -0
  66. package/dist/react/components/render-block/types.d.ts +0 -0
  67. package/dist/react/components/render-blocks.d.ts +2 -0
  68. package/dist/react/components/render-blocks.js +1 -0
  69. package/dist/react/components/render-content/builder-editing.d.ts +2 -0
  70. package/dist/react/components/render-content/builder-editing.js +1 -0
  71. package/dist/react/components/render-content/components/render-styles.d.ts +2 -0
  72. package/dist/react/components/render-content/components/render-styles.helpers.d.ts +7 -0
  73. package/dist/react/components/render-content/components/render-styles.js +1 -0
  74. package/dist/react/components/render-content/index.d.ts +2 -0
  75. package/dist/react/components/render-content/render-content.d.ts +2 -0
  76. package/dist/react/components/render-content/render-content.helpers.d.ts +9 -0
  77. package/dist/react/components/render-content/render-content.js +1 -0
  78. package/dist/react/components/render-content/render-content.types.d.ts +0 -0
  79. package/dist/react/components/render-inlined-styles.d.ts +2 -0
  80. package/dist/react/components/render-inlined-styles.js +1 -0
  81. package/dist/react/constants/builder-registered-components.d.ts +1 -0
  82. package/dist/react/constants/device-sizes.d.ts +21 -0
  83. package/dist/react/constants/target.d.ts +1 -0
  84. package/dist/react/context/builder.context.d.ts +11 -0
  85. package/dist/react/context/types.d.ts +0 -0
  86. package/dist/react/functions/camel-to-kebab-case.d.ts +1 -0
  87. package/dist/react/functions/evaluate.d.ts +7 -0
  88. package/dist/react/functions/event-handler-name.d.ts +1 -0
  89. package/dist/react/functions/extract-text-styles.d.ts +1 -0
  90. package/dist/react/functions/fast-clone.d.ts +1 -0
  91. package/dist/react/functions/get-block-actions-handler.d.ts +1 -0
  92. package/dist/react/functions/get-block-actions.d.ts +1 -0
  93. package/dist/react/functions/get-block-component-options.d.ts +1 -0
  94. package/dist/react/functions/get-block-properties.d.ts +1 -0
  95. package/dist/react/functions/get-builder-search-params/fn.test.d.ts +1 -0
  96. package/dist/react/functions/get-builder-search-params/index.d.ts +4 -0
  97. package/dist/react/functions/get-content/ab-testing.d.ts +1 -0
  98. package/dist/react/functions/get-content/generate-content-url.d.ts +1 -0
  99. package/dist/react/functions/get-content/generate-content-url.test.d.ts +1 -0
  100. package/dist/react/functions/get-content/index.d.ts +2 -0
  101. package/dist/react/functions/get-content/index.js +1 -1
  102. package/dist/react/functions/get-content/types.d.ts +0 -0
  103. package/dist/react/functions/get-fetch.d.ts +1 -0
  104. package/dist/react/functions/get-global-this.d.ts +1 -0
  105. package/dist/react/functions/get-processed-block.d.ts +6 -0
  106. package/dist/react/functions/get-processed-block.test.d.ts +1 -0
  107. package/dist/react/functions/get-react-native-block-styles.d.ts +5 -0
  108. package/dist/react/functions/if-target.d.ts +5 -0
  109. package/dist/react/functions/is-browser.d.ts +1 -0
  110. package/dist/react/functions/is-editing.d.ts +1 -0
  111. package/dist/react/functions/is-iframe.d.ts +1 -0
  112. package/dist/react/functions/is-previewing.d.ts +1 -0
  113. package/dist/react/functions/on-change.d.ts +2 -0
  114. package/dist/react/functions/on-change.test.d.ts +1 -0
  115. package/dist/react/functions/register-component.d.ts +6 -0
  116. package/dist/react/functions/register.d.ts +1 -0
  117. package/dist/react/functions/sanitize-react-native-block-styles.d.ts +1 -0
  118. package/dist/react/functions/set-editor-settings.d.ts +1 -0
  119. package/dist/react/functions/set.d.ts +1 -0
  120. package/dist/react/functions/set.test.d.ts +1 -0
  121. package/dist/react/functions/track/helpers.d.ts +5 -0
  122. package/dist/react/functions/track/index.d.ts +2 -0
  123. package/dist/react/functions/track/interaction.d.ts +14 -0
  124. package/dist/react/functions/transform-block-properties.d.ts +1 -0
  125. package/dist/react/functions/transform-block.d.ts +1 -0
  126. package/dist/react/helpers/ab-tests.d.ts +9 -0
  127. package/dist/react/helpers/cookie.d.ts +2 -0
  128. package/dist/react/helpers/css.d.ts +7 -0
  129. package/dist/react/helpers/flatten.d.ts +1 -0
  130. package/dist/react/helpers/localStorage.d.ts +9 -0
  131. package/dist/react/helpers/logger.d.ts +5 -0
  132. package/dist/react/helpers/nullable.d.ts +1 -0
  133. package/dist/react/helpers/sessionId.d.ts +6 -0
  134. package/dist/react/helpers/time.d.ts +1 -0
  135. package/dist/react/helpers/url.d.ts +1 -0
  136. package/dist/react/helpers/url.test.d.ts +1 -0
  137. package/dist/react/helpers/uuid.d.ts +2 -0
  138. package/dist/react/helpers/visitorId.d.ts +8 -0
  139. package/dist/react/index-helpers/blocks-exports.d.ts +11 -0
  140. package/dist/react/index-helpers/top-of-file.d.ts +2 -0
  141. package/dist/react/index.d.ts +11 -0
  142. package/dist/react/scripts/init-editing.d.ts +2 -0
  143. package/dist/react/types/api-version.d.ts +1 -0
  144. package/dist/react/types/builder-block.d.ts +0 -0
  145. package/dist/react/types/builder-content.d.ts +0 -0
  146. package/dist/react/types/can-track.d.ts +0 -0
  147. package/dist/react/types/components.d.ts +0 -0
  148. package/dist/react/types/deep-partial.d.ts +0 -0
  149. package/dist/react/types/element.d.ts +0 -0
  150. package/dist/react/types/input.d.ts +0 -0
  151. package/dist/react/types/targets.d.ts +0 -0
  152. package/dist/react/types/typescript.d.ts +0 -0
  153. package/dist/rsc/blocks/BaseText.d.ts +2 -0
  154. package/dist/rsc/blocks/button/button.d.ts +2 -0
  155. package/dist/rsc/blocks/button/component-info.d.ts +38 -0
  156. package/dist/rsc/blocks/columns/columns.d.ts +2 -0
  157. package/dist/rsc/blocks/columns/component-info.d.ts +176 -0
  158. package/dist/rsc/blocks/custom-code/component-info.d.ts +31 -0
  159. package/dist/rsc/blocks/custom-code/custom-code.d.ts +2 -0
  160. package/dist/rsc/blocks/embed/component-info.d.ts +22 -0
  161. package/dist/rsc/blocks/embed/embed.d.ts +2 -0
  162. package/dist/rsc/blocks/embed/helpers.d.ts +1 -0
  163. package/dist/rsc/blocks/form/component-info.d.ts +235 -0
  164. package/dist/rsc/blocks/form/form.d.ts +2 -0
  165. package/dist/rsc/blocks/fragment/component-info.d.ts +8 -0
  166. package/dist/rsc/blocks/fragment/fragment.d.ts +2 -0
  167. package/dist/rsc/blocks/image/component-info.d.ts +114 -0
  168. package/dist/rsc/blocks/image/image.d.ts +2 -0
  169. package/dist/rsc/blocks/image/image.helpers.d.ts +1 -0
  170. package/dist/rsc/blocks/img/component-info.d.ts +15 -0
  171. package/dist/rsc/blocks/img/img.d.ts +2 -0
  172. package/dist/rsc/blocks/input/component-info.d.ts +66 -0
  173. package/dist/rsc/blocks/input/input.d.ts +2 -0
  174. package/dist/rsc/blocks/raw-text/component-info.d.ts +10 -0
  175. package/dist/rsc/blocks/raw-text/raw-text.d.ts +2 -0
  176. package/dist/rsc/blocks/section/component-info.d.ts +43 -0
  177. package/dist/rsc/blocks/section/section.d.ts +2 -0
  178. package/dist/rsc/blocks/select/component-info.d.ts +61 -0
  179. package/dist/rsc/blocks/select/select.d.ts +2 -0
  180. package/dist/rsc/blocks/submit-button/component-info.d.ts +23 -0
  181. package/dist/rsc/blocks/submit-button/submit-button.d.ts +2 -0
  182. package/dist/rsc/blocks/symbol/component-info.d.ts +35 -0
  183. package/dist/rsc/blocks/symbol/symbol.d.ts +2 -0
  184. package/dist/rsc/blocks/text/component-info.d.ts +19 -0
  185. package/dist/rsc/blocks/text/text.d.ts +2 -0
  186. package/dist/rsc/blocks/textarea/component-info.d.ts +53 -0
  187. package/dist/rsc/blocks/textarea/textarea.d.ts +2 -0
  188. package/dist/rsc/blocks/util.d.ts +1 -0
  189. package/dist/rsc/blocks/video/component-info.d.ts +80 -0
  190. package/dist/rsc/blocks/video/video.d.ts +2 -0
  191. package/dist/rsc/components/render-block/block-styles.d.ts +2 -0
  192. package/dist/rsc/components/render-block/render-block.d.ts +2 -0
  193. package/dist/rsc/components/render-block/render-block.helpers.d.ts +10 -0
  194. package/dist/rsc/components/render-block/render-component.d.ts +2 -0
  195. package/dist/rsc/components/render-block/render-repeated-block.d.ts +2 -0
  196. package/dist/rsc/components/render-block/types.d.ts +0 -0
  197. package/dist/rsc/components/render-blocks.d.ts +2 -0
  198. package/dist/rsc/components/render-content/builder-editing.d.ts +27 -0
  199. package/dist/rsc/components/render-content/components/render-styles.d.ts +2 -0
  200. package/dist/rsc/components/render-content/components/render-styles.helpers.d.ts +7 -0
  201. package/dist/rsc/components/render-content/index.d.ts +2 -0
  202. package/dist/rsc/components/render-content/render-content.d.ts +2 -0
  203. package/dist/rsc/components/render-content/render-content.helpers.d.ts +9 -0
  204. package/dist/rsc/components/render-content/render-content.types.d.ts +0 -0
  205. package/dist/rsc/components/render-inlined-styles.d.ts +2 -0
  206. package/dist/rsc/constants/builder-registered-components.d.ts +1 -0
  207. package/dist/rsc/constants/device-sizes.d.ts +21 -0
  208. package/dist/rsc/constants/target.d.ts +1 -0
  209. package/dist/rsc/context/builder.context.d.ts +11 -0
  210. package/dist/rsc/context/types.d.ts +0 -0
  211. package/dist/rsc/functions/camel-to-kebab-case.d.ts +1 -0
  212. package/dist/rsc/functions/evaluate.d.ts +1 -0
  213. package/dist/rsc/functions/event-handler-name.d.ts +1 -0
  214. package/dist/rsc/functions/extract-text-styles.d.ts +1 -0
  215. package/dist/rsc/functions/fast-clone.d.ts +1 -0
  216. package/dist/rsc/functions/get-block-actions-handler.d.ts +1 -0
  217. package/dist/rsc/functions/get-block-actions.d.ts +1 -0
  218. package/dist/rsc/functions/get-block-component-options.d.ts +1 -0
  219. package/dist/rsc/functions/get-block-properties.d.ts +1 -0
  220. package/dist/rsc/functions/get-builder-search-params/fn.test.d.ts +1 -0
  221. package/dist/rsc/functions/get-builder-search-params/index.d.ts +4 -0
  222. package/dist/rsc/functions/get-content/ab-testing.d.ts +1 -0
  223. package/dist/rsc/functions/get-content/generate-content-url.d.ts +1 -0
  224. package/dist/rsc/functions/get-content/generate-content-url.test.d.ts +1 -0
  225. package/dist/rsc/functions/get-content/index.d.ts +2 -0
  226. package/dist/rsc/functions/get-content/index.js +1 -1
  227. package/dist/rsc/functions/get-content/types.d.ts +0 -0
  228. package/dist/rsc/functions/get-fetch.d.ts +1 -0
  229. package/dist/rsc/functions/get-global-this.d.ts +1 -0
  230. package/dist/rsc/functions/get-processed-block.d.ts +6 -0
  231. package/dist/rsc/functions/get-processed-block.test.d.ts +1 -0
  232. package/dist/rsc/functions/get-react-native-block-styles.d.ts +5 -0
  233. package/dist/rsc/functions/if-target.d.ts +5 -0
  234. package/dist/rsc/functions/is-browser.d.ts +1 -0
  235. package/dist/rsc/functions/is-editing.d.ts +1 -0
  236. package/dist/rsc/functions/is-iframe.d.ts +1 -0
  237. package/dist/rsc/functions/is-previewing.d.ts +1 -0
  238. package/dist/rsc/functions/on-change.d.ts +2 -0
  239. package/dist/rsc/functions/on-change.test.d.ts +1 -0
  240. package/dist/rsc/functions/register-component.d.ts +6 -0
  241. package/dist/rsc/functions/register.d.ts +1 -0
  242. package/dist/rsc/functions/sanitize-react-native-block-styles.d.ts +1 -0
  243. package/dist/rsc/functions/set-editor-settings.d.ts +1 -0
  244. package/dist/rsc/functions/set.d.ts +1 -0
  245. package/dist/rsc/functions/set.test.d.ts +1 -0
  246. package/dist/rsc/functions/track/helpers.d.ts +5 -0
  247. package/dist/rsc/functions/track/index.d.ts +2 -0
  248. package/dist/rsc/functions/track/interaction.d.ts +14 -0
  249. package/dist/rsc/functions/transform-block-properties.d.ts +1 -0
  250. package/dist/rsc/functions/transform-block.d.ts +1 -0
  251. package/dist/rsc/helpers/ab-tests.d.ts +9 -0
  252. package/dist/rsc/helpers/cookie.d.ts +2 -0
  253. package/dist/rsc/helpers/css.d.ts +7 -0
  254. package/dist/rsc/helpers/flatten.d.ts +1 -0
  255. package/dist/rsc/helpers/localStorage.d.ts +9 -0
  256. package/dist/rsc/helpers/logger.d.ts +5 -0
  257. package/dist/rsc/helpers/nullable.d.ts +1 -0
  258. package/dist/rsc/helpers/sessionId.d.ts +6 -0
  259. package/dist/rsc/helpers/time.d.ts +1 -0
  260. package/dist/rsc/helpers/url.d.ts +1 -0
  261. package/dist/rsc/helpers/url.test.d.ts +1 -0
  262. package/dist/rsc/helpers/uuid.d.ts +2 -0
  263. package/dist/rsc/helpers/visitorId.d.ts +8 -0
  264. package/dist/rsc/index-helpers/blocks-exports.d.ts +11 -0
  265. package/dist/rsc/index-helpers/top-of-file.d.ts +2 -0
  266. package/dist/rsc/index.d.ts +11 -0
  267. package/dist/rsc/scripts/init-editing.d.ts +2 -0
  268. package/dist/rsc/types/api-version.d.ts +1 -0
  269. package/dist/rsc/types/builder-block.d.ts +0 -0
  270. package/dist/rsc/types/builder-content.d.ts +0 -0
  271. package/dist/rsc/types/can-track.d.ts +0 -0
  272. package/dist/rsc/types/components.d.ts +0 -0
  273. package/dist/rsc/types/deep-partial.d.ts +0 -0
  274. package/dist/rsc/types/element.d.ts +0 -0
  275. package/dist/rsc/types/input.d.ts +0 -0
  276. package/dist/rsc/types/targets.d.ts +0 -0
  277. package/dist/rsc/types/typescript.d.ts +0 -0
  278. package/package.json +4 -10
  279. package/packages/react/src/blocks/BaseText.jsx +1 -0
  280. package/packages/react/src/blocks/button/button.jsx +1 -0
  281. package/packages/react/src/blocks/columns/columns.jsx +1 -0
  282. package/packages/react/src/blocks/custom-code/custom-code.jsx +1 -0
  283. package/packages/react/src/blocks/embed/embed.jsx +1 -0
  284. package/packages/react/src/blocks/form/form.jsx +1 -0
  285. package/packages/react/src/blocks/fragment/fragment.jsx +1 -0
  286. package/packages/react/src/blocks/image/image.jsx +1 -0
  287. package/packages/react/src/blocks/img/img.jsx +1 -0
  288. package/packages/react/src/blocks/input/input.jsx +1 -0
  289. package/packages/react/src/blocks/raw-text/raw-text.jsx +1 -0
  290. package/packages/react/src/blocks/section/section.jsx +1 -0
  291. package/packages/react/src/blocks/select/select.jsx +1 -0
  292. package/packages/react/src/blocks/submit-button/submit-button.jsx +1 -0
  293. package/packages/react/src/blocks/symbol/symbol.jsx +1 -0
  294. package/packages/react/src/blocks/text/text.jsx +1 -0
  295. package/packages/react/src/blocks/textarea/textarea.jsx +1 -0
  296. package/packages/react/src/blocks/video/video.jsx +1 -0
  297. package/packages/react/src/components/render-block/block-styles.jsx +1 -0
  298. package/packages/react/src/components/render-block/render-block.jsx +1 -0
  299. package/packages/react/src/components/render-block/render-component.jsx +1 -0
  300. package/packages/react/src/components/render-block/render-repeated-block.jsx +1 -0
  301. package/packages/react/src/components/render-blocks.jsx +1 -0
  302. package/packages/react/src/components/render-content/builder-editing.jsx +1 -0
  303. package/packages/react/src/components/render-content/components/render-styles.jsx +1 -0
  304. package/packages/react/src/components/render-content/render-content.jsx +1 -0
  305. package/packages/react/src/components/render-inlined-styles.jsx +1 -0
  306. package/packages/react/src/functions/get-content/index.js +1 -1
  307. package/packages/rsc/src/functions/get-content/index.js +1 -1
  308. package/tsconfig.base.json +8 -3
@@ -0,0 +1,114 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ const _static: boolean;
4
+ export { _static as static };
5
+ export const image: string;
6
+ export namespace defaultStyles {
7
+ const position: string;
8
+ const minHeight: string;
9
+ const minWidth: string;
10
+ const overflow: string;
11
+ }
12
+ export const canHaveChildren: boolean;
13
+ export const inputs: ({
14
+ name: string;
15
+ type: string;
16
+ bubble: boolean;
17
+ allowedFileTypes: string[];
18
+ required: boolean;
19
+ defaultValue: string;
20
+ onChange: string;
21
+ enum?: undefined;
22
+ helperText?: undefined;
23
+ hideFromUI?: undefined;
24
+ advanced?: undefined;
25
+ } | {
26
+ name: string;
27
+ type: string;
28
+ defaultValue: string;
29
+ enum: {
30
+ label: string;
31
+ value: string;
32
+ helperText: string;
33
+ }[];
34
+ bubble?: undefined;
35
+ allowedFileTypes?: undefined;
36
+ required?: undefined;
37
+ onChange?: undefined;
38
+ helperText?: undefined;
39
+ hideFromUI?: undefined;
40
+ advanced?: undefined;
41
+ } | {
42
+ name: string;
43
+ type: string;
44
+ defaultValue: string;
45
+ enum: string[];
46
+ bubble?: undefined;
47
+ allowedFileTypes?: undefined;
48
+ required?: undefined;
49
+ onChange?: undefined;
50
+ helperText?: undefined;
51
+ hideFromUI?: undefined;
52
+ advanced?: undefined;
53
+ } | {
54
+ name: string;
55
+ type: string;
56
+ helperText: string;
57
+ bubble?: undefined;
58
+ allowedFileTypes?: undefined;
59
+ required?: undefined;
60
+ defaultValue?: undefined;
61
+ onChange?: undefined;
62
+ enum?: undefined;
63
+ hideFromUI?: undefined;
64
+ advanced?: undefined;
65
+ } | {
66
+ name: string;
67
+ type: string;
68
+ hideFromUI: boolean;
69
+ bubble?: undefined;
70
+ allowedFileTypes?: undefined;
71
+ required?: undefined;
72
+ defaultValue?: undefined;
73
+ onChange?: undefined;
74
+ enum?: undefined;
75
+ helperText?: undefined;
76
+ advanced?: undefined;
77
+ } | {
78
+ name: string;
79
+ type: string;
80
+ defaultValue: boolean;
81
+ hideFromUI: boolean;
82
+ bubble?: undefined;
83
+ allowedFileTypes?: undefined;
84
+ required?: undefined;
85
+ onChange?: undefined;
86
+ enum?: undefined;
87
+ helperText?: undefined;
88
+ advanced?: undefined;
89
+ } | {
90
+ name: string;
91
+ type: string;
92
+ helperText: string;
93
+ defaultValue: boolean;
94
+ bubble?: undefined;
95
+ allowedFileTypes?: undefined;
96
+ required?: undefined;
97
+ onChange?: undefined;
98
+ enum?: undefined;
99
+ hideFromUI?: undefined;
100
+ advanced?: undefined;
101
+ } | {
102
+ name: string;
103
+ type: string;
104
+ helperText: string;
105
+ advanced: boolean;
106
+ defaultValue: number;
107
+ bubble?: undefined;
108
+ allowedFileTypes?: undefined;
109
+ required?: undefined;
110
+ onChange?: undefined;
111
+ enum?: undefined;
112
+ hideFromUI?: undefined;
113
+ })[];
114
+ }
@@ -0,0 +1,2 @@
1
+ export default Image;
2
+ declare function Image(props: any): JSX.Element;
@@ -0,0 +1 @@
1
+ export function getSrcSet(url: any): any;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  import { getSrcSet } from "./image.helpers.js";
3
4
  function Image(props) {
@@ -0,0 +1,15 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ export const hideFromInsertMenu: boolean;
4
+ export const image: string;
5
+ export const inputs: {
6
+ name: string;
7
+ bubble: boolean;
8
+ type: string;
9
+ allowedFileTypes: string[];
10
+ required: boolean;
11
+ }[];
12
+ export const noWrap: boolean;
13
+ const _static: boolean;
14
+ export { _static as static };
15
+ }
@@ -0,0 +1,2 @@
1
+ export default ImgComponent;
2
+ declare function ImgComponent(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  import { isEditing } from "../../functions/is-editing.js";
3
4
  function ImgComponent(props) {
@@ -0,0 +1,66 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ export const image: string;
4
+ export const inputs: ({
5
+ name: string;
6
+ type: string;
7
+ enum: string[];
8
+ defaultValue: string;
9
+ required?: undefined;
10
+ helperText?: undefined;
11
+ advanced?: undefined;
12
+ } | {
13
+ name: string;
14
+ type: string;
15
+ required: boolean;
16
+ helperText: string;
17
+ enum?: undefined;
18
+ defaultValue?: undefined;
19
+ advanced?: undefined;
20
+ } | {
21
+ name: string;
22
+ type: string;
23
+ defaultValue: string;
24
+ helperText: string;
25
+ enum?: undefined;
26
+ required?: undefined;
27
+ advanced?: undefined;
28
+ } | {
29
+ name: string;
30
+ type: string;
31
+ enum?: undefined;
32
+ defaultValue?: undefined;
33
+ required?: undefined;
34
+ helperText?: undefined;
35
+ advanced?: undefined;
36
+ } | {
37
+ name: string;
38
+ type: string;
39
+ advanced: boolean;
40
+ enum?: undefined;
41
+ defaultValue?: undefined;
42
+ required?: undefined;
43
+ helperText?: undefined;
44
+ } | {
45
+ name: string;
46
+ type: string;
47
+ helperText: string;
48
+ defaultValue: boolean;
49
+ enum?: undefined;
50
+ required?: undefined;
51
+ advanced?: undefined;
52
+ })[];
53
+ export const noWrap: boolean;
54
+ const _static: boolean;
55
+ export { _static as static };
56
+ export namespace defaultStyles {
57
+ const paddingTop: string;
58
+ const paddingBottom: string;
59
+ const paddingLeft: string;
60
+ const paddingRight: string;
61
+ const borderRadius: string;
62
+ const borderWidth: string;
63
+ const borderStyle: string;
64
+ const borderColor: string;
65
+ }
66
+ }
@@ -0,0 +1,2 @@
1
+ export default FormInputComponent;
2
+ declare function FormInputComponent(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  import { isEditing } from "../../functions/is-editing.js";
3
4
  function FormInputComponent(props) {
@@ -0,0 +1,10 @@
1
+ export namespace componentInfo {
2
+ const name: string;
3
+ const hideFromInsertMenu: boolean;
4
+ const inputs: {
5
+ name: string;
6
+ bubble: boolean;
7
+ type: string;
8
+ required: boolean;
9
+ }[];
10
+ }
@@ -0,0 +1,2 @@
1
+ export default RawText;
2
+ declare function RawText(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  function RawText(props) {
3
4
  return (React.createElement("span", { className: props.attributes?.class || props.attributes?.className, dangerouslySetInnerHTML: { __html: props.text || "" } }));
@@ -0,0 +1,43 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ const _static: boolean;
4
+ export { _static as static };
5
+ export const image: string;
6
+ export const inputs: ({
7
+ name: string;
8
+ type: string;
9
+ defaultValue: number;
10
+ advanced?: undefined;
11
+ description?: undefined;
12
+ } | {
13
+ name: string;
14
+ type: string;
15
+ defaultValue: boolean;
16
+ advanced: boolean;
17
+ description: string;
18
+ })[];
19
+ export namespace defaultStyles {
20
+ const paddingLeft: string;
21
+ const paddingRight: string;
22
+ const paddingTop: string;
23
+ const paddingBottom: string;
24
+ const marginTop: string;
25
+ const width: string;
26
+ const marginLeft: string;
27
+ }
28
+ export const canHaveChildren: boolean;
29
+ export const defaultChildren: {
30
+ "@type": string;
31
+ responsiveStyles: {
32
+ large: {
33
+ textAlign: string;
34
+ };
35
+ };
36
+ component: {
37
+ name: string;
38
+ options: {
39
+ text: string;
40
+ };
41
+ };
42
+ }[];
43
+ }
@@ -0,0 +1,2 @@
1
+ export default SectionComponent;
2
+ declare function SectionComponent(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  function SectionComponent(props) {
3
4
  return (React.createElement("section", { ...props.attributes, style: {
@@ -0,0 +1,61 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ export const image: string;
4
+ export namespace defaultStyles {
5
+ const alignSelf: string;
6
+ }
7
+ export const inputs: ({
8
+ name: string;
9
+ type: string;
10
+ required: boolean;
11
+ subFields: ({
12
+ name: string;
13
+ type: string;
14
+ required: boolean;
15
+ } | {
16
+ name: string;
17
+ type: string;
18
+ required?: undefined;
19
+ })[];
20
+ defaultValue: {
21
+ value: string;
22
+ }[];
23
+ helperText?: undefined;
24
+ advanced?: undefined;
25
+ } | {
26
+ name: string;
27
+ type: string;
28
+ required: boolean;
29
+ helperText: string;
30
+ subFields?: undefined;
31
+ defaultValue?: undefined;
32
+ advanced?: undefined;
33
+ } | {
34
+ name: string;
35
+ type: string;
36
+ required?: undefined;
37
+ subFields?: undefined;
38
+ defaultValue?: undefined;
39
+ helperText?: undefined;
40
+ advanced?: undefined;
41
+ } | {
42
+ name: string;
43
+ type: string;
44
+ advanced: boolean;
45
+ required?: undefined;
46
+ subFields?: undefined;
47
+ defaultValue?: undefined;
48
+ helperText?: undefined;
49
+ } | {
50
+ name: string;
51
+ type: string;
52
+ defaultValue: boolean;
53
+ required?: undefined;
54
+ subFields?: undefined;
55
+ helperText?: undefined;
56
+ advanced?: undefined;
57
+ })[];
58
+ const _static: boolean;
59
+ export { _static as static };
60
+ export const noWrap: boolean;
61
+ }
@@ -0,0 +1,2 @@
1
+ export default SelectComponent;
2
+ declare function SelectComponent(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  import { isEditing } from "../../functions/is-editing.js";
3
4
  function SelectComponent(props) {
@@ -0,0 +1,23 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ export const image: string;
4
+ export namespace defaultStyles {
5
+ const appearance: string;
6
+ const paddingTop: string;
7
+ const paddingBottom: string;
8
+ const paddingLeft: string;
9
+ const paddingRight: string;
10
+ const backgroundColor: string;
11
+ const color: string;
12
+ const borderRadius: string;
13
+ const cursor: string;
14
+ }
15
+ export const inputs: {
16
+ name: string;
17
+ type: string;
18
+ defaultValue: string;
19
+ }[];
20
+ const _static: boolean;
21
+ export { _static as static };
22
+ export const noWrap: boolean;
23
+ }
@@ -0,0 +1,2 @@
1
+ export default SubmitButton;
2
+ declare function SubmitButton(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  function SubmitButton(props) {
3
4
  return (React.createElement("button", { type: "submit", ...props.attributes }, props.text));
@@ -0,0 +1,35 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ export const noWrap: boolean;
4
+ const _static: boolean;
5
+ export { _static as static };
6
+ export const inputs: ({
7
+ name: string;
8
+ type: string;
9
+ helperText?: undefined;
10
+ defaultValue?: undefined;
11
+ advanced?: undefined;
12
+ hideFromUI?: undefined;
13
+ } | {
14
+ name: string;
15
+ helperText: string;
16
+ type: string;
17
+ defaultValue: boolean;
18
+ advanced: boolean;
19
+ hideFromUI: boolean;
20
+ } | {
21
+ name: string;
22
+ helperText: string;
23
+ type: string;
24
+ defaultValue: boolean;
25
+ advanced: boolean;
26
+ hideFromUI?: undefined;
27
+ } | {
28
+ name: string;
29
+ hideFromUI: boolean;
30
+ type: string;
31
+ helperText?: undefined;
32
+ defaultValue?: undefined;
33
+ advanced?: undefined;
34
+ })[];
35
+ }
@@ -0,0 +1,2 @@
1
+ export default Symbol;
2
+ declare function Symbol(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  import { useState, useContext, useEffect } from "react";
3
4
  import RenderContent from "../../components/render-content/render-content";
@@ -0,0 +1,19 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ const _static: boolean;
4
+ export { _static as static };
5
+ export const image: string;
6
+ export const inputs: {
7
+ name: string;
8
+ type: string;
9
+ required: boolean;
10
+ autoFocus: boolean;
11
+ bubble: boolean;
12
+ defaultValue: string;
13
+ }[];
14
+ export namespace defaultStyles {
15
+ const lineHeight: string;
16
+ const height: string;
17
+ const textAlign: string;
18
+ }
19
+ }
@@ -0,0 +1,2 @@
1
+ export default Text;
2
+ declare function Text(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  function Text(props) {
3
4
  return (React.createElement("span", { className: "builder-text", dangerouslySetInnerHTML: { __html: props.text }, style: {
@@ -0,0 +1,53 @@
1
+ export namespace componentInfo {
2
+ export const name: string;
3
+ export const image: string;
4
+ export const inputs: ({
5
+ advanced: boolean;
6
+ name: string;
7
+ type: string;
8
+ required?: undefined;
9
+ helperText?: undefined;
10
+ defaultValue?: undefined;
11
+ } | {
12
+ name: string;
13
+ type: string;
14
+ required: boolean;
15
+ helperText: string;
16
+ advanced?: undefined;
17
+ defaultValue?: undefined;
18
+ } | {
19
+ name: string;
20
+ type: string;
21
+ advanced?: undefined;
22
+ required?: undefined;
23
+ helperText?: undefined;
24
+ defaultValue?: undefined;
25
+ } | {
26
+ name: string;
27
+ type: string;
28
+ defaultValue: string;
29
+ advanced?: undefined;
30
+ required?: undefined;
31
+ helperText?: undefined;
32
+ } | {
33
+ name: string;
34
+ type: string;
35
+ defaultValue: boolean;
36
+ advanced?: undefined;
37
+ required?: undefined;
38
+ helperText?: undefined;
39
+ })[];
40
+ export namespace defaultStyles {
41
+ const paddingTop: string;
42
+ const paddingBottom: string;
43
+ const paddingLeft: string;
44
+ const paddingRight: string;
45
+ const borderRadius: string;
46
+ const borderWidth: string;
47
+ const borderStyle: string;
48
+ const borderColor: string;
49
+ }
50
+ const _static: boolean;
51
+ export { _static as static };
52
+ export const noWrap: boolean;
53
+ }
@@ -0,0 +1,2 @@
1
+ export default Textarea;
2
+ declare function Textarea(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  function Textarea(props) {
3
4
  return (React.createElement("textarea", { ...props.attributes, placeholder: props.placeholder, name: props.name, value: props.value, defaultValue: props.defaultValue }));
@@ -0,0 +1 @@
1
+ export function serializeFn(fnValue: any): string;
@@ -0,0 +1,80 @@
1
+ export namespace componentInfo {
2
+ const name: string;
3
+ const canHaveChildren: boolean;
4
+ namespace defaultStyles {
5
+ const minHeight: string;
6
+ const minWidth: string;
7
+ }
8
+ const image: string;
9
+ const inputs: ({
10
+ name: string;
11
+ type: string;
12
+ allowedFileTypes: string[];
13
+ bubble: boolean;
14
+ defaultValue: string;
15
+ required: boolean;
16
+ helperText?: undefined;
17
+ enum?: undefined;
18
+ advanced?: undefined;
19
+ } | {
20
+ name: string;
21
+ type: string;
22
+ allowedFileTypes: string[];
23
+ helperText: string;
24
+ bubble?: undefined;
25
+ defaultValue?: undefined;
26
+ required?: undefined;
27
+ enum?: undefined;
28
+ advanced?: undefined;
29
+ } | {
30
+ name: string;
31
+ type: string;
32
+ defaultValue: boolean;
33
+ allowedFileTypes?: undefined;
34
+ bubble?: undefined;
35
+ required?: undefined;
36
+ helperText?: undefined;
37
+ enum?: undefined;
38
+ advanced?: undefined;
39
+ } | {
40
+ name: string;
41
+ type: string;
42
+ defaultValue: string;
43
+ enum: string[];
44
+ allowedFileTypes?: undefined;
45
+ bubble?: undefined;
46
+ required?: undefined;
47
+ helperText?: undefined;
48
+ advanced?: undefined;
49
+ } | {
50
+ name: string;
51
+ type: string;
52
+ helperText: string;
53
+ defaultValue: boolean;
54
+ advanced: boolean;
55
+ allowedFileTypes?: undefined;
56
+ bubble?: undefined;
57
+ required?: undefined;
58
+ enum?: undefined;
59
+ } | {
60
+ name: string;
61
+ type: string;
62
+ advanced: boolean;
63
+ allowedFileTypes?: undefined;
64
+ bubble?: undefined;
65
+ defaultValue?: undefined;
66
+ required?: undefined;
67
+ helperText?: undefined;
68
+ enum?: undefined;
69
+ } | {
70
+ name: string;
71
+ type: string;
72
+ advanced: boolean;
73
+ defaultValue: number;
74
+ allowedFileTypes?: undefined;
75
+ bubble?: undefined;
76
+ required?: undefined;
77
+ helperText?: undefined;
78
+ enum?: undefined;
79
+ })[];
80
+ }
@@ -0,0 +1,2 @@
1
+ export default Video;
2
+ declare function Video(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  function Video(props) {
3
4
  function videoProps() {
@@ -0,0 +1,2 @@
1
+ export default BlockStyles;
2
+ declare function BlockStyles(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from "react";
2
3
  import { getMaxWidthQueryForSize, getSizesForBreakpoints, } from "../../constants/device-sizes.js";
3
4
  import { TARGET } from "../../constants/target.js";
@@ -0,0 +1,2 @@
1
+ export default RenderBlock;
2
+ declare function RenderBlock(props: any): JSX.Element;
@@ -0,0 +1,13 @@
1
+ export function getComponent({ block, context }: {
2
+ block: any;
3
+ context: any;
4
+ }): any;
5
+ export function getProxyState(context: any): any;
6
+ export function getRepeatItemData({ block, context }: {
7
+ block: any;
8
+ context: any;
9
+ }): {
10
+ context: any;
11
+ block: {};
12
+ }[] | undefined;
13
+ export function isEmptyHtmlElement(tagName: any): boolean;