@delmaredigital/payload-puck 0.3.1 → 0.6.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 (467) hide show
  1. package/README.md +396 -19
  2. package/dist/admin/EditWithPuckButton.d.ts +1 -1
  3. package/dist/admin/EditWithPuckButton.d.ts.map +1 -1
  4. package/dist/admin/EditWithPuckButton.js +2 -2
  5. package/dist/admin/EditWithPuckButton.js.map +1 -1
  6. package/dist/admin/EditWithPuckCell.js +1 -1
  7. package/dist/admin/EditWithPuckCell.js.map +1 -1
  8. package/dist/admin/PuckEditorView.d.ts +1 -1
  9. package/dist/admin/PuckEditorView.d.ts.map +1 -1
  10. package/dist/admin/PuckEditorView.js +1 -1
  11. package/dist/admin/PuckEditorView.js.map +1 -1
  12. package/dist/admin/generateAdminComponents.d.ts +1 -1
  13. package/dist/admin/generateAdminComponents.js +1 -1
  14. package/dist/admin/generateAdminComponents.js.map +1 -1
  15. package/dist/ai/collections/AiContext.d.ts +16 -0
  16. package/dist/ai/collections/AiContext.d.ts.map +1 -0
  17. package/dist/ai/collections/AiContext.js +87 -0
  18. package/dist/ai/collections/AiContext.js.map +1 -0
  19. package/dist/ai/collections/AiPrompts.d.ts +10 -0
  20. package/dist/ai/collections/AiPrompts.d.ts.map +1 -0
  21. package/dist/ai/collections/AiPrompts.js +63 -0
  22. package/dist/ai/collections/AiPrompts.js.map +1 -0
  23. package/dist/ai/createAiApiRoutes.d.ts +40 -0
  24. package/dist/ai/createAiApiRoutes.d.ts.map +1 -0
  25. package/dist/ai/createAiApiRoutes.js +106 -0
  26. package/dist/ai/createAiApiRoutes.js.map +1 -0
  27. package/dist/ai/createAiGenerate.d.ts +65 -0
  28. package/dist/ai/createAiGenerate.d.ts.map +1 -0
  29. package/dist/ai/createAiGenerate.js +106 -0
  30. package/dist/ai/createAiGenerate.js.map +1 -0
  31. package/dist/ai/createAiPlugin.d.ts +39 -0
  32. package/dist/ai/createAiPlugin.d.ts.map +1 -0
  33. package/dist/ai/createAiPlugin.js +61 -0
  34. package/dist/ai/createAiPlugin.js.map +1 -0
  35. package/dist/ai/hooks/useAiContext.d.ts +63 -0
  36. package/dist/ai/hooks/useAiContext.d.ts.map +1 -0
  37. package/dist/ai/hooks/useAiContext.js +146 -0
  38. package/dist/ai/hooks/useAiContext.js.map +1 -0
  39. package/dist/ai/hooks/useAiPrompts.d.ts +25 -0
  40. package/dist/ai/hooks/useAiPrompts.d.ts.map +1 -0
  41. package/dist/ai/hooks/useAiPrompts.js +74 -0
  42. package/dist/ai/hooks/useAiPrompts.js.map +1 -0
  43. package/dist/ai/index.d.ts +51 -0
  44. package/dist/ai/index.d.ts.map +1 -0
  45. package/dist/ai/index.js +69 -0
  46. package/dist/ai/index.js.map +1 -0
  47. package/dist/ai/plugins/ContextEditorPanel.d.ts +9 -0
  48. package/dist/ai/plugins/ContextEditorPanel.d.ts.map +1 -0
  49. package/dist/ai/plugins/ContextEditorPanel.js +399 -0
  50. package/dist/ai/plugins/ContextEditorPanel.js.map +1 -0
  51. package/dist/ai/plugins/PromptEditorPanel.d.ts +9 -0
  52. package/dist/ai/plugins/PromptEditorPanel.d.ts.map +1 -0
  53. package/dist/ai/plugins/PromptEditorPanel.js +270 -0
  54. package/dist/ai/plugins/PromptEditorPanel.js.map +1 -0
  55. package/dist/ai/plugins/contextEditorPlugin.d.ts +30 -0
  56. package/dist/ai/plugins/contextEditorPlugin.d.ts.map +1 -0
  57. package/dist/ai/plugins/contextEditorPlugin.js +40 -0
  58. package/dist/ai/plugins/contextEditorPlugin.js.map +1 -0
  59. package/dist/ai/plugins/promptApiRoutes.d.ts +68 -0
  60. package/dist/ai/plugins/promptApiRoutes.d.ts.map +1 -0
  61. package/dist/ai/plugins/promptApiRoutes.js +181 -0
  62. package/dist/ai/plugins/promptApiRoutes.js.map +1 -0
  63. package/dist/ai/plugins/promptEditorPlugin.d.ts +29 -0
  64. package/dist/ai/plugins/promptEditorPlugin.d.ts.map +1 -0
  65. package/dist/ai/plugins/promptEditorPlugin.js +39 -0
  66. package/dist/ai/plugins/promptEditorPlugin.js.map +1 -0
  67. package/dist/ai/presets/componentAiDefaults.d.ts +40 -0
  68. package/dist/ai/presets/componentAiDefaults.d.ts.map +1 -0
  69. package/dist/ai/presets/componentAiDefaults.js +239 -0
  70. package/dist/ai/presets/componentAiDefaults.js.map +1 -0
  71. package/dist/ai/presets/index.d.ts +94 -0
  72. package/dist/ai/presets/index.d.ts.map +1 -0
  73. package/dist/ai/presets/index.js +110 -0
  74. package/dist/ai/presets/index.js.map +1 -0
  75. package/dist/ai/presets/instructions/interactive.d.ts +15 -0
  76. package/dist/ai/presets/instructions/interactive.d.ts.map +1 -0
  77. package/dist/ai/presets/instructions/interactive.js +334 -0
  78. package/dist/ai/presets/instructions/interactive.js.map +1 -0
  79. package/dist/ai/presets/instructions/layout.d.ts +16 -0
  80. package/dist/ai/presets/instructions/layout.d.ts.map +1 -0
  81. package/dist/ai/presets/instructions/layout.js +486 -0
  82. package/dist/ai/presets/instructions/layout.js.map +1 -0
  83. package/dist/ai/presets/instructions/media.d.ts +15 -0
  84. package/dist/ai/presets/instructions/media.d.ts.map +1 -0
  85. package/dist/ai/presets/instructions/media.js +136 -0
  86. package/dist/ai/presets/instructions/media.js.map +1 -0
  87. package/dist/ai/presets/instructions/pagePatterns.d.ts +20 -0
  88. package/dist/ai/presets/instructions/pagePatterns.d.ts.map +1 -0
  89. package/dist/ai/presets/instructions/pagePatterns.js +290 -0
  90. package/dist/ai/presets/instructions/pagePatterns.js.map +1 -0
  91. package/dist/ai/presets/instructions/schemas.d.ts +1247 -0
  92. package/dist/ai/presets/instructions/schemas.d.ts.map +1 -0
  93. package/dist/ai/presets/instructions/schemas.js +240 -0
  94. package/dist/ai/presets/instructions/schemas.js.map +1 -0
  95. package/dist/ai/presets/instructions/typography.d.ts +16 -0
  96. package/dist/ai/presets/instructions/typography.d.ts.map +1 -0
  97. package/dist/ai/presets/instructions/typography.js +192 -0
  98. package/dist/ai/presets/instructions/typography.js.map +1 -0
  99. package/dist/ai/tools/index.d.ts +116 -0
  100. package/dist/ai/tools/index.d.ts.map +1 -0
  101. package/dist/ai/tools/index.js +214 -0
  102. package/dist/ai/tools/index.js.map +1 -0
  103. package/dist/ai/types.d.ts +507 -0
  104. package/dist/ai/types.d.ts.map +1 -0
  105. package/dist/ai/types.js +2 -0
  106. package/dist/ai/types.js.map +1 -0
  107. package/dist/ai/utils/injectAiConfig.d.ts +67 -0
  108. package/dist/ai/utils/injectAiConfig.d.ts.map +1 -0
  109. package/dist/ai/utils/injectAiConfig.js +216 -0
  110. package/dist/ai/utils/injectAiConfig.js.map +1 -0
  111. package/dist/api/createPuckApiRoutesWithId.d.ts.map +1 -1
  112. package/dist/api/createPuckApiRoutesWithId.js +12 -5
  113. package/dist/api/createPuckApiRoutesWithId.js.map +1 -1
  114. package/dist/api/types.d.ts +1 -1
  115. package/dist/api/types.d.ts.map +1 -1
  116. package/dist/components/exports.d.ts +1 -1
  117. package/dist/components/exports.d.ts.map +1 -1
  118. package/dist/components/exports.js +1 -1
  119. package/dist/components/exports.js.map +1 -1
  120. package/dist/components/interactive/Accordion.d.ts +1 -1
  121. package/dist/components/interactive/Accordion.d.ts.map +1 -1
  122. package/dist/components/interactive/Accordion.js +4 -4
  123. package/dist/components/interactive/Accordion.js.map +1 -1
  124. package/dist/components/interactive/Accordion.server.d.ts +1 -1
  125. package/dist/components/interactive/Accordion.server.d.ts.map +1 -1
  126. package/dist/components/interactive/Button.d.ts +1 -1
  127. package/dist/components/interactive/Button.d.ts.map +1 -1
  128. package/dist/components/interactive/Button.server.d.ts +2 -3
  129. package/dist/components/interactive/Button.server.d.ts.map +1 -1
  130. package/dist/components/interactive/Button.server.js +1 -2
  131. package/dist/components/interactive/Button.server.js.map +1 -1
  132. package/dist/components/interactive/Card.d.ts +1 -1
  133. package/dist/components/interactive/Card.d.ts.map +1 -1
  134. package/dist/components/interactive/Card.server.d.ts +1 -1
  135. package/dist/components/interactive/Card.server.d.ts.map +1 -1
  136. package/dist/components/interactive/Divider.d.ts +1 -1
  137. package/dist/components/interactive/Divider.d.ts.map +1 -1
  138. package/dist/components/interactive/Divider.server.d.ts +1 -1
  139. package/dist/components/interactive/Divider.server.d.ts.map +1 -1
  140. package/dist/components/layout/Container.d.ts +3 -1
  141. package/dist/components/layout/Container.d.ts.map +1 -1
  142. package/dist/components/layout/Container.js +16 -2
  143. package/dist/components/layout/Container.js.map +1 -1
  144. package/dist/components/layout/Container.server.d.ts +3 -1
  145. package/dist/components/layout/Container.server.d.ts.map +1 -1
  146. package/dist/components/layout/Container.server.js +5 -2
  147. package/dist/components/layout/Container.server.js.map +1 -1
  148. package/dist/components/layout/Flex.d.ts +3 -1
  149. package/dist/components/layout/Flex.d.ts.map +1 -1
  150. package/dist/components/layout/Flex.js +18 -2
  151. package/dist/components/layout/Flex.js.map +1 -1
  152. package/dist/components/layout/Flex.server.d.ts +3 -1
  153. package/dist/components/layout/Flex.server.d.ts.map +1 -1
  154. package/dist/components/layout/Flex.server.js +5 -2
  155. package/dist/components/layout/Flex.server.js.map +1 -1
  156. package/dist/components/layout/Grid.d.ts +3 -1
  157. package/dist/components/layout/Grid.d.ts.map +1 -1
  158. package/dist/components/layout/Grid.js +15 -2
  159. package/dist/components/layout/Grid.js.map +1 -1
  160. package/dist/components/layout/Grid.server.d.ts +3 -1
  161. package/dist/components/layout/Grid.server.d.ts.map +1 -1
  162. package/dist/components/layout/Grid.server.js +5 -2
  163. package/dist/components/layout/Grid.server.js.map +1 -1
  164. package/dist/components/layout/Section.d.ts +3 -1
  165. package/dist/components/layout/Section.d.ts.map +1 -1
  166. package/dist/components/layout/Section.js +32 -5
  167. package/dist/components/layout/Section.js.map +1 -1
  168. package/dist/components/layout/Section.server.d.ts +3 -1
  169. package/dist/components/layout/Section.server.d.ts.map +1 -1
  170. package/dist/components/layout/Section.server.js +16 -4
  171. package/dist/components/layout/Section.server.js.map +1 -1
  172. package/dist/components/layout/Spacer.d.ts +1 -1
  173. package/dist/components/layout/Spacer.d.ts.map +1 -1
  174. package/dist/components/layout/Spacer.server.d.ts +1 -1
  175. package/dist/components/layout/Spacer.server.d.ts.map +1 -1
  176. package/dist/components/layout/Template.d.ts +1 -1
  177. package/dist/components/layout/Template.d.ts.map +1 -1
  178. package/dist/components/layout/Template.server.d.ts +1 -1
  179. package/dist/components/layout/Template.server.d.ts.map +1 -1
  180. package/dist/components/media/Image.d.ts +1 -1
  181. package/dist/components/media/Image.d.ts.map +1 -1
  182. package/dist/components/media/Image.server.d.ts +1 -1
  183. package/dist/components/media/Image.server.d.ts.map +1 -1
  184. package/dist/components/typography/Heading.d.ts +1 -1
  185. package/dist/components/typography/Heading.d.ts.map +1 -1
  186. package/dist/components/typography/Heading.server.d.ts +1 -1
  187. package/dist/components/typography/Heading.server.d.ts.map +1 -1
  188. package/dist/components/typography/RichText.editor.d.ts +15 -2
  189. package/dist/components/typography/RichText.editor.d.ts.map +1 -1
  190. package/dist/components/typography/RichText.editor.js +18 -11
  191. package/dist/components/typography/RichText.editor.js.map +1 -1
  192. package/dist/components/typography/RichText.server.d.ts +3 -2
  193. package/dist/components/typography/RichText.server.d.ts.map +1 -1
  194. package/dist/components/typography/RichText.server.js +10 -5
  195. package/dist/components/typography/RichText.server.js.map +1 -1
  196. package/dist/components/typography/Text.d.ts +1 -1
  197. package/dist/components/typography/Text.d.ts.map +1 -1
  198. package/dist/components/typography/Text.server.d.ts +1 -1
  199. package/dist/components/typography/Text.server.d.ts.map +1 -1
  200. package/dist/components/typography/index.d.ts +1 -1
  201. package/dist/components/typography/index.d.ts.map +1 -1
  202. package/dist/components/typography/index.js +1 -1
  203. package/dist/components/typography/index.js.map +1 -1
  204. package/dist/config/config.editor.d.ts +4 -4
  205. package/dist/config/config.editor.d.ts.map +1 -1
  206. package/dist/config/index.d.ts +1 -1
  207. package/dist/config/index.d.ts.map +1 -1
  208. package/dist/config/merge.d.ts +4 -4
  209. package/dist/config/merge.d.ts.map +1 -1
  210. package/dist/config/merge.js +3 -3
  211. package/dist/config/presets.d.ts +15 -15
  212. package/dist/config/presets.d.ts.map +1 -1
  213. package/dist/editor/PuckEditor.d.ts +255 -0
  214. package/dist/editor/PuckEditor.d.ts.map +1 -0
  215. package/dist/editor/PuckEditor.js +205 -0
  216. package/dist/editor/PuckEditor.js.map +1 -0
  217. package/dist/editor/{PuckEditorCore.client.d.ts → PuckEditorImpl.client.d.ts} +53 -30
  218. package/dist/editor/PuckEditorImpl.client.d.ts.map +1 -0
  219. package/dist/editor/{PuckEditorCore.client.js → PuckEditorImpl.client.js} +194 -39
  220. package/dist/editor/PuckEditorImpl.client.js.map +1 -0
  221. package/dist/editor/ai-plugin-overrides.css +20 -0
  222. package/dist/editor/components/HeaderActions.d.ts +7 -2
  223. package/dist/editor/components/HeaderActions.d.ts.map +1 -1
  224. package/dist/editor/components/HeaderActions.js +18 -4
  225. package/dist/editor/components/HeaderActions.js.map +1 -1
  226. package/dist/editor/components/IframeWrapper.d.ts +13 -0
  227. package/dist/editor/components/IframeWrapper.d.ts.map +1 -1
  228. package/dist/editor/components/IframeWrapper.js +60 -4
  229. package/dist/editor/components/IframeWrapper.js.map +1 -1
  230. package/dist/editor/components/PreviewModal.d.ts +9 -1
  231. package/dist/editor/components/PreviewModal.d.ts.map +1 -1
  232. package/dist/editor/components/PreviewModal.js +36 -1
  233. package/dist/editor/components/PreviewModal.js.map +1 -1
  234. package/dist/editor/index.d.ts +34 -19
  235. package/dist/editor/index.d.ts.map +1 -1
  236. package/dist/editor/index.js +37 -21
  237. package/dist/editor/index.js.map +1 -1
  238. package/dist/editor/plugins/VersionHistoryPanel.d.ts +43 -0
  239. package/dist/editor/plugins/VersionHistoryPanel.d.ts.map +1 -0
  240. package/dist/editor/plugins/VersionHistoryPanel.js +303 -0
  241. package/dist/editor/plugins/VersionHistoryPanel.js.map +1 -0
  242. package/dist/editor/plugins/index.d.ts +6 -3
  243. package/dist/editor/plugins/index.d.ts.map +1 -1
  244. package/dist/editor/plugins/index.js +7 -3
  245. package/dist/editor/plugins/index.js.map +1 -1
  246. package/dist/editor/plugins/versionHistoryPlugin.d.ts +37 -0
  247. package/dist/editor/plugins/versionHistoryPlugin.d.ts.map +1 -0
  248. package/dist/editor/plugins/versionHistoryPlugin.js +36 -0
  249. package/dist/editor/plugins/versionHistoryPlugin.js.map +1 -0
  250. package/dist/editor/utils/detectPageTree.d.ts +22 -0
  251. package/dist/editor/utils/detectPageTree.d.ts.map +1 -0
  252. package/dist/editor/utils/detectPageTree.js +36 -0
  253. package/dist/editor/utils/detectPageTree.js.map +1 -0
  254. package/dist/editor/utils/index.d.ts +3 -0
  255. package/dist/editor/utils/index.d.ts.map +1 -0
  256. package/dist/editor/utils/index.js +3 -0
  257. package/dist/editor/utils/index.js.map +1 -0
  258. package/dist/editor/utils/injectPageTreeFields.d.ts +10 -0
  259. package/dist/editor/utils/injectPageTreeFields.d.ts.map +1 -0
  260. package/dist/editor/utils/injectPageTreeFields.js +35 -0
  261. package/dist/editor/utils/injectPageTreeFields.js.map +1 -0
  262. package/dist/endpoints/ai.d.ts +36 -0
  263. package/dist/endpoints/ai.d.ts.map +1 -0
  264. package/dist/endpoints/ai.js +315 -0
  265. package/dist/endpoints/ai.js.map +1 -0
  266. package/dist/endpoints/context.d.ts +30 -0
  267. package/dist/endpoints/context.d.ts.map +1 -0
  268. package/dist/endpoints/context.js +123 -0
  269. package/dist/endpoints/context.js.map +1 -0
  270. package/dist/endpoints/prompts.d.ts +28 -0
  271. package/dist/endpoints/prompts.d.ts.map +1 -0
  272. package/dist/endpoints/prompts.js +118 -0
  273. package/dist/endpoints/prompts.js.map +1 -0
  274. package/dist/endpoints/styles.d.ts +19 -0
  275. package/dist/endpoints/styles.d.ts.map +1 -0
  276. package/dist/endpoints/styles.js +116 -0
  277. package/dist/endpoints/styles.js.map +1 -0
  278. package/dist/exports/client.d.ts +7 -6
  279. package/dist/exports/client.d.ts.map +1 -1
  280. package/dist/exports/client.js +9 -8
  281. package/dist/exports/client.js.map +1 -1
  282. package/dist/fields/AlignmentField.d.ts +1 -1
  283. package/dist/fields/AlignmentField.d.ts.map +1 -1
  284. package/dist/fields/AlignmentField.js +1 -0
  285. package/dist/fields/AlignmentField.js.map +1 -1
  286. package/dist/fields/AnimationField.d.ts +1 -1
  287. package/dist/fields/AnimationField.d.ts.map +1 -1
  288. package/dist/fields/BackgroundField.d.ts +1 -1
  289. package/dist/fields/BackgroundField.d.ts.map +1 -1
  290. package/dist/fields/BackgroundField.js +9 -4
  291. package/dist/fields/BackgroundField.js.map +1 -1
  292. package/dist/fields/BorderField.d.ts +1 -1
  293. package/dist/fields/BorderField.d.ts.map +1 -1
  294. package/dist/fields/BorderField.js +1 -0
  295. package/dist/fields/BorderField.js.map +1 -1
  296. package/dist/fields/ColorPickerField.d.ts +1 -1
  297. package/dist/fields/ColorPickerField.d.ts.map +1 -1
  298. package/dist/fields/ColorPickerField.js +4 -2
  299. package/dist/fields/ColorPickerField.js.map +1 -1
  300. package/dist/fields/ContentAlignmentField.d.ts +66 -0
  301. package/dist/fields/ContentAlignmentField.d.ts.map +1 -0
  302. package/dist/fields/ContentAlignmentField.js +255 -0
  303. package/dist/fields/ContentAlignmentField.js.map +1 -0
  304. package/dist/fields/DimensionsField.d.ts +1 -1
  305. package/dist/fields/DimensionsField.d.ts.map +1 -1
  306. package/dist/fields/DimensionsField.js +8 -2
  307. package/dist/fields/DimensionsField.js.map +1 -1
  308. package/dist/fields/FlexAlignmentField.d.ts +1 -1
  309. package/dist/fields/FlexAlignmentField.d.ts.map +1 -1
  310. package/dist/fields/FolderPickerField.d.ts +1 -1
  311. package/dist/fields/FolderPickerField.d.ts.map +1 -1
  312. package/dist/fields/GradientEditor.d.ts.map +1 -1
  313. package/dist/fields/GradientEditor.js +3 -0
  314. package/dist/fields/GradientEditor.js.map +1 -1
  315. package/dist/fields/LockedField.d.ts +1 -1
  316. package/dist/fields/LockedField.d.ts.map +1 -1
  317. package/dist/fields/MarginField.d.ts +1 -1
  318. package/dist/fields/MarginField.d.ts.map +1 -1
  319. package/dist/fields/MediaField.d.ts +1 -1
  320. package/dist/fields/MediaField.d.ts.map +1 -1
  321. package/dist/fields/MediaField.js +3 -2
  322. package/dist/fields/MediaField.js.map +1 -1
  323. package/dist/fields/PaddingField.d.ts +1 -1
  324. package/dist/fields/PaddingField.d.ts.map +1 -1
  325. package/dist/fields/PageSegmentField.d.ts +1 -1
  326. package/dist/fields/PageSegmentField.d.ts.map +1 -1
  327. package/dist/fields/ResetField.d.ts +1 -1
  328. package/dist/fields/ResetField.d.ts.map +1 -1
  329. package/dist/fields/ResetField.js +1 -1
  330. package/dist/fields/ResetField.js.map +1 -1
  331. package/dist/fields/ResponsiveField.d.ts +1 -1
  332. package/dist/fields/ResponsiveField.d.ts.map +1 -1
  333. package/dist/fields/ResponsiveField.js +5 -2
  334. package/dist/fields/ResponsiveField.js.map +1 -1
  335. package/dist/fields/ResponsiveVisibilityField.d.ts +1 -1
  336. package/dist/fields/ResponsiveVisibilityField.d.ts.map +1 -1
  337. package/dist/fields/ResponsiveVisibilityField.js +4 -3
  338. package/dist/fields/ResponsiveVisibilityField.js.map +1 -1
  339. package/dist/fields/SizeField.d.ts +3 -25
  340. package/dist/fields/SizeField.d.ts.map +1 -1
  341. package/dist/fields/SizeField.js +8 -34
  342. package/dist/fields/SizeField.js.map +1 -1
  343. package/dist/fields/SlugPreviewField.d.ts +1 -1
  344. package/dist/fields/SlugPreviewField.d.ts.map +1 -1
  345. package/dist/fields/TemplateField.d.ts +1 -1
  346. package/dist/fields/TemplateField.d.ts.map +1 -1
  347. package/dist/fields/TemplateField.js +1 -1
  348. package/dist/fields/TemplateField.js.map +1 -1
  349. package/dist/fields/TransformField.d.ts +1 -1
  350. package/dist/fields/TransformField.d.ts.map +1 -1
  351. package/dist/fields/TransformField.js +2 -0
  352. package/dist/fields/TransformField.js.map +1 -1
  353. package/dist/fields/VerticalAlignmentField.d.ts +1 -1
  354. package/dist/fields/VerticalAlignmentField.d.ts.map +1 -1
  355. package/dist/fields/WidthField.d.ts +1 -1
  356. package/dist/fields/WidthField.d.ts.map +1 -1
  357. package/dist/fields/index.d.ts +8 -36
  358. package/dist/fields/index.d.ts.map +1 -1
  359. package/dist/fields/index.js +20 -78
  360. package/dist/fields/index.js.map +1 -1
  361. package/dist/fields/richtext/controls/ColorPickerControl.d.ts +16 -0
  362. package/dist/fields/richtext/controls/ColorPickerControl.d.ts.map +1 -0
  363. package/dist/fields/richtext/controls/ColorPickerControl.js +116 -0
  364. package/dist/fields/richtext/controls/ColorPickerControl.js.map +1 -0
  365. package/dist/fields/richtext/controls/DropdownPortal.d.ts +17 -0
  366. package/dist/fields/richtext/controls/DropdownPortal.d.ts.map +1 -0
  367. package/dist/fields/richtext/controls/DropdownPortal.js +90 -0
  368. package/dist/fields/richtext/controls/DropdownPortal.js.map +1 -0
  369. package/dist/fields/richtext/controls/FontSizeControl.d.ts +8 -0
  370. package/dist/fields/richtext/controls/FontSizeControl.d.ts.map +1 -0
  371. package/dist/fields/richtext/controls/FontSizeControl.js +62 -0
  372. package/dist/fields/richtext/controls/FontSizeControl.js.map +1 -0
  373. package/dist/fields/richtext/controls/HighlightControl.d.ts +9 -0
  374. package/dist/fields/richtext/controls/HighlightControl.d.ts.map +1 -0
  375. package/dist/fields/richtext/controls/HighlightControl.js +44 -0
  376. package/dist/fields/richtext/controls/HighlightControl.js.map +1 -0
  377. package/dist/fields/richtext/controls/index.d.ts +11 -0
  378. package/dist/fields/richtext/controls/index.d.ts.map +1 -0
  379. package/dist/fields/richtext/controls/index.js +16 -0
  380. package/dist/fields/richtext/controls/index.js.map +1 -0
  381. package/dist/fields/richtext/controls/shared.d.ts +97 -0
  382. package/dist/fields/richtext/controls/shared.d.ts.map +1 -0
  383. package/dist/fields/richtext/controls/shared.js +344 -0
  384. package/dist/fields/richtext/controls/shared.js.map +1 -0
  385. package/dist/fields/richtext/createRichTextField.d.ts +165 -0
  386. package/dist/fields/richtext/createRichTextField.d.ts.map +1 -0
  387. package/dist/fields/richtext/createRichTextField.js +139 -0
  388. package/dist/fields/richtext/createRichTextField.js.map +1 -0
  389. package/dist/fields/richtext/extensions/FontSize.d.ts +23 -0
  390. package/dist/fields/richtext/extensions/FontSize.d.ts.map +1 -0
  391. package/dist/fields/richtext/extensions/FontSize.js +47 -0
  392. package/dist/fields/richtext/extensions/FontSize.js.map +1 -0
  393. package/dist/fields/richtext/extensions/index.d.ts +5 -0
  394. package/dist/fields/richtext/extensions/index.d.ts.map +1 -0
  395. package/dist/fields/richtext/extensions/index.js +5 -0
  396. package/dist/fields/richtext/extensions/index.js.map +1 -0
  397. package/dist/fields/richtext/index.d.ts +14 -0
  398. package/dist/fields/richtext/index.d.ts.map +1 -0
  399. package/dist/fields/richtext/index.js +19 -0
  400. package/dist/fields/richtext/index.js.map +1 -0
  401. package/dist/fields/richtext/richtext-menu.css +50 -0
  402. package/dist/fields/shared.d.ts +27 -1
  403. package/dist/fields/shared.d.ts.map +1 -1
  404. package/dist/fields/shared.js +34 -0
  405. package/dist/fields/shared.js.map +1 -1
  406. package/dist/layouts/types.d.ts +30 -0
  407. package/dist/layouts/types.d.ts.map +1 -1
  408. package/dist/plugin/index.d.ts +1 -0
  409. package/dist/plugin/index.d.ts.map +1 -1
  410. package/dist/plugin/index.js +112 -2
  411. package/dist/plugin/index.js.map +1 -1
  412. package/dist/render/HybridPageRenderer.d.ts +1 -1
  413. package/dist/render/HybridPageRenderer.d.ts.map +1 -1
  414. package/dist/render/PageRenderer.d.ts +1 -1
  415. package/dist/render/PageRenderer.d.ts.map +1 -1
  416. package/dist/render/PageRenderer.js +1 -1
  417. package/dist/render/PageRenderer.js.map +1 -1
  418. package/dist/render/PuckEditor.client.d.ts +2 -2
  419. package/dist/render/PuckEditor.client.d.ts.map +1 -1
  420. package/dist/render/PuckEditor.client.js +2 -2
  421. package/dist/render/PuckEditor.client.js.map +1 -1
  422. package/dist/types/index.d.ts +37 -12
  423. package/dist/types/index.d.ts.map +1 -1
  424. package/dist/version.d.ts +2 -0
  425. package/dist/version.d.ts.map +1 -0
  426. package/dist/version.js +3 -0
  427. package/dist/version.js.map +1 -0
  428. package/dist/views/PuckConfigContext.d.ts +56 -2
  429. package/dist/views/PuckConfigContext.d.ts.map +1 -1
  430. package/dist/views/PuckConfigContext.js +6 -3
  431. package/dist/views/PuckConfigContext.js.map +1 -1
  432. package/dist/views/PuckEditorView.d.ts.map +1 -1
  433. package/dist/views/PuckEditorView.js +29 -2
  434. package/dist/views/PuckEditorView.js.map +1 -1
  435. package/dist/views/index.d.ts +0 -2
  436. package/dist/views/index.d.ts.map +1 -1
  437. package/dist/views/index.js +0 -2
  438. package/dist/views/index.js.map +1 -1
  439. package/package.json +42 -12
  440. package/dist/components/typography/RichText.d.ts +0 -20
  441. package/dist/components/typography/RichText.d.ts.map +0 -1
  442. package/dist/components/typography/RichText.js +0 -73
  443. package/dist/components/typography/RichText.js.map +0 -1
  444. package/dist/editor/PuckEditor.client.d.ts +0 -131
  445. package/dist/editor/PuckEditor.client.d.ts.map +0 -1
  446. package/dist/editor/PuckEditor.client.js +0 -42
  447. package/dist/editor/PuckEditor.client.js.map +0 -1
  448. package/dist/editor/PuckEditorCore.client.d.ts.map +0 -1
  449. package/dist/editor/PuckEditorCore.client.js.map +0 -1
  450. package/dist/fields/TiptapField.d.ts +0 -40
  451. package/dist/fields/TiptapField.d.ts.map +0 -1
  452. package/dist/fields/TiptapField.js +0 -857
  453. package/dist/fields/TiptapField.js.map +0 -1
  454. package/dist/fields/TiptapModal.d.ts +0 -10
  455. package/dist/fields/TiptapModal.d.ts.map +0 -1
  456. package/dist/fields/TiptapModal.js +0 -114
  457. package/dist/fields/TiptapModal.js.map +0 -1
  458. package/dist/fields/TiptapModalField.d.ts +0 -23
  459. package/dist/fields/TiptapModalField.d.ts.map +0 -1
  460. package/dist/fields/TiptapModalField.js +0 -55
  461. package/dist/fields/TiptapModalField.js.map +0 -1
  462. package/dist/fields/richtext-output.css +0 -219
  463. package/dist/fields/tiptap-styles.css +0 -248
  464. package/dist/views/PuckEditorClient.d.ts +0 -73
  465. package/dist/views/PuckEditorClient.d.ts.map +0 -1
  466. package/dist/views/PuckEditorClient.js +0 -130
  467. package/dist/views/PuckEditorClient.js.map +0 -1
@@ -0,0 +1,1247 @@
1
+ /**
2
+ * Shared JSON Schemas for AI Field Generation
3
+ *
4
+ * Puck Cloud requires JSON schemas for custom fields to know what format to generate.
5
+ * These schemas are used across all component instruction files.
6
+ */
7
+ /** JSON Schema for ColorValue */
8
+ export declare const colorSchema: {
9
+ type: string;
10
+ properties: {
11
+ hex: {
12
+ type: string;
13
+ description: string;
14
+ };
15
+ opacity: {
16
+ type: string;
17
+ minimum: number;
18
+ maximum: number;
19
+ description: string;
20
+ };
21
+ };
22
+ required: string[];
23
+ };
24
+ /** JSON Schema for Alignment (text alignment) */
25
+ export declare const alignmentSchema: {
26
+ type: string;
27
+ enum: string[];
28
+ description: string;
29
+ };
30
+ /** JSON Schema for JustifyContent (flex) */
31
+ export declare const justifyContentSchema: {
32
+ type: string;
33
+ enum: string[];
34
+ description: string;
35
+ };
36
+ /** JSON Schema for AlignItems (flex) */
37
+ export declare const alignItemsSchema: {
38
+ type: string;
39
+ enum: string[];
40
+ description: string;
41
+ };
42
+ /** JSON Schema for PaddingValue (also used for margin) */
43
+ export declare const paddingSchema: {
44
+ type: string;
45
+ properties: {
46
+ top: {
47
+ type: string;
48
+ description: string;
49
+ };
50
+ right: {
51
+ type: string;
52
+ description: string;
53
+ };
54
+ bottom: {
55
+ type: string;
56
+ description: string;
57
+ };
58
+ left: {
59
+ type: string;
60
+ description: string;
61
+ };
62
+ unit: {
63
+ type: string;
64
+ enum: string[];
65
+ description: string;
66
+ };
67
+ linked: {
68
+ type: string;
69
+ description: string;
70
+ };
71
+ };
72
+ required: string[];
73
+ };
74
+ /** JSON Schema for ResponsiveValue<PaddingValue> */
75
+ export declare const responsivePaddingSchema: {
76
+ type: string;
77
+ properties: {
78
+ xs: {
79
+ description: string;
80
+ type: string;
81
+ properties: {
82
+ top: {
83
+ type: string;
84
+ description: string;
85
+ };
86
+ right: {
87
+ type: string;
88
+ description: string;
89
+ };
90
+ bottom: {
91
+ type: string;
92
+ description: string;
93
+ };
94
+ left: {
95
+ type: string;
96
+ description: string;
97
+ };
98
+ unit: {
99
+ type: string;
100
+ enum: string[];
101
+ description: string;
102
+ };
103
+ linked: {
104
+ type: string;
105
+ description: string;
106
+ };
107
+ };
108
+ required: string[];
109
+ };
110
+ sm: {
111
+ description: string;
112
+ type: string;
113
+ properties: {
114
+ top: {
115
+ type: string;
116
+ description: string;
117
+ };
118
+ right: {
119
+ type: string;
120
+ description: string;
121
+ };
122
+ bottom: {
123
+ type: string;
124
+ description: string;
125
+ };
126
+ left: {
127
+ type: string;
128
+ description: string;
129
+ };
130
+ unit: {
131
+ type: string;
132
+ enum: string[];
133
+ description: string;
134
+ };
135
+ linked: {
136
+ type: string;
137
+ description: string;
138
+ };
139
+ };
140
+ required: string[];
141
+ };
142
+ md: {
143
+ description: string;
144
+ type: string;
145
+ properties: {
146
+ top: {
147
+ type: string;
148
+ description: string;
149
+ };
150
+ right: {
151
+ type: string;
152
+ description: string;
153
+ };
154
+ bottom: {
155
+ type: string;
156
+ description: string;
157
+ };
158
+ left: {
159
+ type: string;
160
+ description: string;
161
+ };
162
+ unit: {
163
+ type: string;
164
+ enum: string[];
165
+ description: string;
166
+ };
167
+ linked: {
168
+ type: string;
169
+ description: string;
170
+ };
171
+ };
172
+ required: string[];
173
+ };
174
+ lg: {
175
+ description: string;
176
+ type: string;
177
+ properties: {
178
+ top: {
179
+ type: string;
180
+ description: string;
181
+ };
182
+ right: {
183
+ type: string;
184
+ description: string;
185
+ };
186
+ bottom: {
187
+ type: string;
188
+ description: string;
189
+ };
190
+ left: {
191
+ type: string;
192
+ description: string;
193
+ };
194
+ unit: {
195
+ type: string;
196
+ enum: string[];
197
+ description: string;
198
+ };
199
+ linked: {
200
+ type: string;
201
+ description: string;
202
+ };
203
+ };
204
+ required: string[];
205
+ };
206
+ xl: {
207
+ description: string;
208
+ type: string;
209
+ properties: {
210
+ top: {
211
+ type: string;
212
+ description: string;
213
+ };
214
+ right: {
215
+ type: string;
216
+ description: string;
217
+ };
218
+ bottom: {
219
+ type: string;
220
+ description: string;
221
+ };
222
+ left: {
223
+ type: string;
224
+ description: string;
225
+ };
226
+ unit: {
227
+ type: string;
228
+ enum: string[];
229
+ description: string;
230
+ };
231
+ linked: {
232
+ type: string;
233
+ description: string;
234
+ };
235
+ };
236
+ required: string[];
237
+ };
238
+ };
239
+ required: string[];
240
+ };
241
+ /** JSON Schema for DimensionConstraint */
242
+ export declare const dimensionConstraintSchema: {
243
+ type: string;
244
+ properties: {
245
+ value: {
246
+ type: string;
247
+ description: string;
248
+ };
249
+ unit: {
250
+ type: string;
251
+ enum: string[];
252
+ description: string;
253
+ };
254
+ enabled: {
255
+ type: string;
256
+ description: string;
257
+ };
258
+ };
259
+ required: string[];
260
+ };
261
+ /** JSON Schema for DimensionsValue */
262
+ export declare const dimensionsSchema: {
263
+ type: string;
264
+ properties: {
265
+ mode: {
266
+ type: string;
267
+ enum: string[];
268
+ description: string;
269
+ };
270
+ alignment: {
271
+ type: string;
272
+ enum: string[];
273
+ description: string;
274
+ };
275
+ maxWidth: {
276
+ description: string;
277
+ type: string;
278
+ properties: {
279
+ value: {
280
+ type: string;
281
+ description: string;
282
+ };
283
+ unit: {
284
+ type: string;
285
+ enum: string[];
286
+ description: string;
287
+ };
288
+ enabled: {
289
+ type: string;
290
+ description: string;
291
+ };
292
+ };
293
+ required: string[];
294
+ };
295
+ minWidth: {
296
+ description: string;
297
+ type: string;
298
+ properties: {
299
+ value: {
300
+ type: string;
301
+ description: string;
302
+ };
303
+ unit: {
304
+ type: string;
305
+ enum: string[];
306
+ description: string;
307
+ };
308
+ enabled: {
309
+ type: string;
310
+ description: string;
311
+ };
312
+ };
313
+ required: string[];
314
+ };
315
+ minHeight: {
316
+ description: string;
317
+ type: string;
318
+ properties: {
319
+ value: {
320
+ type: string;
321
+ description: string;
322
+ };
323
+ unit: {
324
+ type: string;
325
+ enum: string[];
326
+ description: string;
327
+ };
328
+ enabled: {
329
+ type: string;
330
+ description: string;
331
+ };
332
+ };
333
+ required: string[];
334
+ };
335
+ maxHeight: {
336
+ description: string;
337
+ type: string;
338
+ properties: {
339
+ value: {
340
+ type: string;
341
+ description: string;
342
+ };
343
+ unit: {
344
+ type: string;
345
+ enum: string[];
346
+ description: string;
347
+ };
348
+ enabled: {
349
+ type: string;
350
+ description: string;
351
+ };
352
+ };
353
+ required: string[];
354
+ };
355
+ };
356
+ required: string[];
357
+ };
358
+ /** JSON Schema for ResponsiveValue<DimensionsValue> */
359
+ export declare const responsiveDimensionsSchema: {
360
+ type: string;
361
+ properties: {
362
+ xs: {
363
+ description: string;
364
+ type: string;
365
+ properties: {
366
+ mode: {
367
+ type: string;
368
+ enum: string[];
369
+ description: string;
370
+ };
371
+ alignment: {
372
+ type: string;
373
+ enum: string[];
374
+ description: string;
375
+ };
376
+ maxWidth: {
377
+ description: string;
378
+ type: string;
379
+ properties: {
380
+ value: {
381
+ type: string;
382
+ description: string;
383
+ };
384
+ unit: {
385
+ type: string;
386
+ enum: string[];
387
+ description: string;
388
+ };
389
+ enabled: {
390
+ type: string;
391
+ description: string;
392
+ };
393
+ };
394
+ required: string[];
395
+ };
396
+ minWidth: {
397
+ description: string;
398
+ type: string;
399
+ properties: {
400
+ value: {
401
+ type: string;
402
+ description: string;
403
+ };
404
+ unit: {
405
+ type: string;
406
+ enum: string[];
407
+ description: string;
408
+ };
409
+ enabled: {
410
+ type: string;
411
+ description: string;
412
+ };
413
+ };
414
+ required: string[];
415
+ };
416
+ minHeight: {
417
+ description: string;
418
+ type: string;
419
+ properties: {
420
+ value: {
421
+ type: string;
422
+ description: string;
423
+ };
424
+ unit: {
425
+ type: string;
426
+ enum: string[];
427
+ description: string;
428
+ };
429
+ enabled: {
430
+ type: string;
431
+ description: string;
432
+ };
433
+ };
434
+ required: string[];
435
+ };
436
+ maxHeight: {
437
+ description: string;
438
+ type: string;
439
+ properties: {
440
+ value: {
441
+ type: string;
442
+ description: string;
443
+ };
444
+ unit: {
445
+ type: string;
446
+ enum: string[];
447
+ description: string;
448
+ };
449
+ enabled: {
450
+ type: string;
451
+ description: string;
452
+ };
453
+ };
454
+ required: string[];
455
+ };
456
+ };
457
+ required: string[];
458
+ };
459
+ sm: {
460
+ description: string;
461
+ type: string;
462
+ properties: {
463
+ mode: {
464
+ type: string;
465
+ enum: string[];
466
+ description: string;
467
+ };
468
+ alignment: {
469
+ type: string;
470
+ enum: string[];
471
+ description: string;
472
+ };
473
+ maxWidth: {
474
+ description: string;
475
+ type: string;
476
+ properties: {
477
+ value: {
478
+ type: string;
479
+ description: string;
480
+ };
481
+ unit: {
482
+ type: string;
483
+ enum: string[];
484
+ description: string;
485
+ };
486
+ enabled: {
487
+ type: string;
488
+ description: string;
489
+ };
490
+ };
491
+ required: string[];
492
+ };
493
+ minWidth: {
494
+ description: string;
495
+ type: string;
496
+ properties: {
497
+ value: {
498
+ type: string;
499
+ description: string;
500
+ };
501
+ unit: {
502
+ type: string;
503
+ enum: string[];
504
+ description: string;
505
+ };
506
+ enabled: {
507
+ type: string;
508
+ description: string;
509
+ };
510
+ };
511
+ required: string[];
512
+ };
513
+ minHeight: {
514
+ description: string;
515
+ type: string;
516
+ properties: {
517
+ value: {
518
+ type: string;
519
+ description: string;
520
+ };
521
+ unit: {
522
+ type: string;
523
+ enum: string[];
524
+ description: string;
525
+ };
526
+ enabled: {
527
+ type: string;
528
+ description: string;
529
+ };
530
+ };
531
+ required: string[];
532
+ };
533
+ maxHeight: {
534
+ description: string;
535
+ type: string;
536
+ properties: {
537
+ value: {
538
+ type: string;
539
+ description: string;
540
+ };
541
+ unit: {
542
+ type: string;
543
+ enum: string[];
544
+ description: string;
545
+ };
546
+ enabled: {
547
+ type: string;
548
+ description: string;
549
+ };
550
+ };
551
+ required: string[];
552
+ };
553
+ };
554
+ required: string[];
555
+ };
556
+ md: {
557
+ description: string;
558
+ type: string;
559
+ properties: {
560
+ mode: {
561
+ type: string;
562
+ enum: string[];
563
+ description: string;
564
+ };
565
+ alignment: {
566
+ type: string;
567
+ enum: string[];
568
+ description: string;
569
+ };
570
+ maxWidth: {
571
+ description: string;
572
+ type: string;
573
+ properties: {
574
+ value: {
575
+ type: string;
576
+ description: string;
577
+ };
578
+ unit: {
579
+ type: string;
580
+ enum: string[];
581
+ description: string;
582
+ };
583
+ enabled: {
584
+ type: string;
585
+ description: string;
586
+ };
587
+ };
588
+ required: string[];
589
+ };
590
+ minWidth: {
591
+ description: string;
592
+ type: string;
593
+ properties: {
594
+ value: {
595
+ type: string;
596
+ description: string;
597
+ };
598
+ unit: {
599
+ type: string;
600
+ enum: string[];
601
+ description: string;
602
+ };
603
+ enabled: {
604
+ type: string;
605
+ description: string;
606
+ };
607
+ };
608
+ required: string[];
609
+ };
610
+ minHeight: {
611
+ description: string;
612
+ type: string;
613
+ properties: {
614
+ value: {
615
+ type: string;
616
+ description: string;
617
+ };
618
+ unit: {
619
+ type: string;
620
+ enum: string[];
621
+ description: string;
622
+ };
623
+ enabled: {
624
+ type: string;
625
+ description: string;
626
+ };
627
+ };
628
+ required: string[];
629
+ };
630
+ maxHeight: {
631
+ description: string;
632
+ type: string;
633
+ properties: {
634
+ value: {
635
+ type: string;
636
+ description: string;
637
+ };
638
+ unit: {
639
+ type: string;
640
+ enum: string[];
641
+ description: string;
642
+ };
643
+ enabled: {
644
+ type: string;
645
+ description: string;
646
+ };
647
+ };
648
+ required: string[];
649
+ };
650
+ };
651
+ required: string[];
652
+ };
653
+ lg: {
654
+ description: string;
655
+ type: string;
656
+ properties: {
657
+ mode: {
658
+ type: string;
659
+ enum: string[];
660
+ description: string;
661
+ };
662
+ alignment: {
663
+ type: string;
664
+ enum: string[];
665
+ description: string;
666
+ };
667
+ maxWidth: {
668
+ description: string;
669
+ type: string;
670
+ properties: {
671
+ value: {
672
+ type: string;
673
+ description: string;
674
+ };
675
+ unit: {
676
+ type: string;
677
+ enum: string[];
678
+ description: string;
679
+ };
680
+ enabled: {
681
+ type: string;
682
+ description: string;
683
+ };
684
+ };
685
+ required: string[];
686
+ };
687
+ minWidth: {
688
+ description: string;
689
+ type: string;
690
+ properties: {
691
+ value: {
692
+ type: string;
693
+ description: string;
694
+ };
695
+ unit: {
696
+ type: string;
697
+ enum: string[];
698
+ description: string;
699
+ };
700
+ enabled: {
701
+ type: string;
702
+ description: string;
703
+ };
704
+ };
705
+ required: string[];
706
+ };
707
+ minHeight: {
708
+ description: string;
709
+ type: string;
710
+ properties: {
711
+ value: {
712
+ type: string;
713
+ description: string;
714
+ };
715
+ unit: {
716
+ type: string;
717
+ enum: string[];
718
+ description: string;
719
+ };
720
+ enabled: {
721
+ type: string;
722
+ description: string;
723
+ };
724
+ };
725
+ required: string[];
726
+ };
727
+ maxHeight: {
728
+ description: string;
729
+ type: string;
730
+ properties: {
731
+ value: {
732
+ type: string;
733
+ description: string;
734
+ };
735
+ unit: {
736
+ type: string;
737
+ enum: string[];
738
+ description: string;
739
+ };
740
+ enabled: {
741
+ type: string;
742
+ description: string;
743
+ };
744
+ };
745
+ required: string[];
746
+ };
747
+ };
748
+ required: string[];
749
+ };
750
+ xl: {
751
+ description: string;
752
+ type: string;
753
+ properties: {
754
+ mode: {
755
+ type: string;
756
+ enum: string[];
757
+ description: string;
758
+ };
759
+ alignment: {
760
+ type: string;
761
+ enum: string[];
762
+ description: string;
763
+ };
764
+ maxWidth: {
765
+ description: string;
766
+ type: string;
767
+ properties: {
768
+ value: {
769
+ type: string;
770
+ description: string;
771
+ };
772
+ unit: {
773
+ type: string;
774
+ enum: string[];
775
+ description: string;
776
+ };
777
+ enabled: {
778
+ type: string;
779
+ description: string;
780
+ };
781
+ };
782
+ required: string[];
783
+ };
784
+ minWidth: {
785
+ description: string;
786
+ type: string;
787
+ properties: {
788
+ value: {
789
+ type: string;
790
+ description: string;
791
+ };
792
+ unit: {
793
+ type: string;
794
+ enum: string[];
795
+ description: string;
796
+ };
797
+ enabled: {
798
+ type: string;
799
+ description: string;
800
+ };
801
+ };
802
+ required: string[];
803
+ };
804
+ minHeight: {
805
+ description: string;
806
+ type: string;
807
+ properties: {
808
+ value: {
809
+ type: string;
810
+ description: string;
811
+ };
812
+ unit: {
813
+ type: string;
814
+ enum: string[];
815
+ description: string;
816
+ };
817
+ enabled: {
818
+ type: string;
819
+ description: string;
820
+ };
821
+ };
822
+ required: string[];
823
+ };
824
+ maxHeight: {
825
+ description: string;
826
+ type: string;
827
+ properties: {
828
+ value: {
829
+ type: string;
830
+ description: string;
831
+ };
832
+ unit: {
833
+ type: string;
834
+ enum: string[];
835
+ description: string;
836
+ };
837
+ enabled: {
838
+ type: string;
839
+ description: string;
840
+ };
841
+ };
842
+ required: string[];
843
+ };
844
+ };
845
+ required: string[];
846
+ };
847
+ };
848
+ required: string[];
849
+ };
850
+ /** JSON Schema for GradientStop */
851
+ export declare const gradientStopSchema: {
852
+ type: string;
853
+ properties: {
854
+ color: {
855
+ type: string;
856
+ properties: {
857
+ hex: {
858
+ type: string;
859
+ description: string;
860
+ };
861
+ opacity: {
862
+ type: string;
863
+ minimum: number;
864
+ maximum: number;
865
+ description: string;
866
+ };
867
+ };
868
+ required: string[];
869
+ };
870
+ position: {
871
+ type: string;
872
+ minimum: number;
873
+ maximum: number;
874
+ description: string;
875
+ };
876
+ };
877
+ required: string[];
878
+ };
879
+ /** JSON Schema for GradientValue */
880
+ export declare const gradientSchema: {
881
+ type: string;
882
+ properties: {
883
+ type: {
884
+ type: string;
885
+ enum: string[];
886
+ description: string;
887
+ };
888
+ angle: {
889
+ type: string;
890
+ minimum: number;
891
+ maximum: number;
892
+ description: string;
893
+ };
894
+ stops: {
895
+ type: string;
896
+ items: {
897
+ type: string;
898
+ properties: {
899
+ color: {
900
+ type: string;
901
+ properties: {
902
+ hex: {
903
+ type: string;
904
+ description: string;
905
+ };
906
+ opacity: {
907
+ type: string;
908
+ minimum: number;
909
+ maximum: number;
910
+ description: string;
911
+ };
912
+ };
913
+ required: string[];
914
+ };
915
+ position: {
916
+ type: string;
917
+ minimum: number;
918
+ maximum: number;
919
+ description: string;
920
+ };
921
+ };
922
+ required: string[];
923
+ };
924
+ description: string;
925
+ };
926
+ radialShape: {
927
+ type: string;
928
+ enum: string[];
929
+ description: string;
930
+ };
931
+ radialPosition: {
932
+ type: string;
933
+ enum: string[];
934
+ };
935
+ };
936
+ required: string[];
937
+ };
938
+ /** JSON Schema for BackgroundValue */
939
+ export declare const backgroundSchema: {
940
+ type: string;
941
+ properties: {
942
+ type: {
943
+ type: string;
944
+ enum: string[];
945
+ description: string;
946
+ };
947
+ solid: {
948
+ description: string;
949
+ type: string;
950
+ properties: {
951
+ hex: {
952
+ type: string;
953
+ description: string;
954
+ };
955
+ opacity: {
956
+ type: string;
957
+ minimum: number;
958
+ maximum: number;
959
+ description: string;
960
+ };
961
+ };
962
+ required: string[];
963
+ };
964
+ gradient: {
965
+ description: string;
966
+ type: string;
967
+ properties: {
968
+ type: {
969
+ type: string;
970
+ enum: string[];
971
+ description: string;
972
+ };
973
+ angle: {
974
+ type: string;
975
+ minimum: number;
976
+ maximum: number;
977
+ description: string;
978
+ };
979
+ stops: {
980
+ type: string;
981
+ items: {
982
+ type: string;
983
+ properties: {
984
+ color: {
985
+ type: string;
986
+ properties: {
987
+ hex: {
988
+ type: string;
989
+ description: string;
990
+ };
991
+ opacity: {
992
+ type: string;
993
+ minimum: number;
994
+ maximum: number;
995
+ description: string;
996
+ };
997
+ };
998
+ required: string[];
999
+ };
1000
+ position: {
1001
+ type: string;
1002
+ minimum: number;
1003
+ maximum: number;
1004
+ description: string;
1005
+ };
1006
+ };
1007
+ required: string[];
1008
+ };
1009
+ description: string;
1010
+ };
1011
+ radialShape: {
1012
+ type: string;
1013
+ enum: string[];
1014
+ description: string;
1015
+ };
1016
+ radialPosition: {
1017
+ type: string;
1018
+ enum: string[];
1019
+ };
1020
+ };
1021
+ required: string[];
1022
+ };
1023
+ };
1024
+ required: string[];
1025
+ };
1026
+ /** JSON Schema for BorderValue */
1027
+ export declare const borderSchema: {
1028
+ type: string;
1029
+ properties: {
1030
+ style: {
1031
+ type: string;
1032
+ enum: string[];
1033
+ description: string;
1034
+ };
1035
+ width: {
1036
+ type: string;
1037
+ description: string;
1038
+ };
1039
+ color: {
1040
+ description: string;
1041
+ type: string;
1042
+ properties: {
1043
+ hex: {
1044
+ type: string;
1045
+ description: string;
1046
+ };
1047
+ opacity: {
1048
+ type: string;
1049
+ minimum: number;
1050
+ maximum: number;
1051
+ description: string;
1052
+ };
1053
+ };
1054
+ required: string[];
1055
+ };
1056
+ radius: {
1057
+ type: string;
1058
+ description: string;
1059
+ };
1060
+ sides: {
1061
+ type: string;
1062
+ properties: {
1063
+ top: {
1064
+ type: string;
1065
+ };
1066
+ right: {
1067
+ type: string;
1068
+ };
1069
+ bottom: {
1070
+ type: string;
1071
+ };
1072
+ left: {
1073
+ type: string;
1074
+ };
1075
+ };
1076
+ description: string;
1077
+ };
1078
+ };
1079
+ required: string[];
1080
+ };
1081
+ /** JSON Schema for AnimationValue (simplified for AI) */
1082
+ export declare const animationSchema: {
1083
+ type: string;
1084
+ properties: {
1085
+ mode: {
1086
+ type: string;
1087
+ enum: string[];
1088
+ description: string;
1089
+ };
1090
+ entrance: {
1091
+ type: string;
1092
+ enum: string[];
1093
+ description: string;
1094
+ };
1095
+ entranceDuration: {
1096
+ type: string;
1097
+ description: string;
1098
+ };
1099
+ entranceDelay: {
1100
+ type: string;
1101
+ description: string;
1102
+ };
1103
+ triggerOnScroll: {
1104
+ type: string;
1105
+ description: string;
1106
+ };
1107
+ triggerOnce: {
1108
+ type: string;
1109
+ description: string;
1110
+ };
1111
+ };
1112
+ };
1113
+ /** JSON Schema for VisibilityValue */
1114
+ export declare const visibilitySchema: {
1115
+ type: string;
1116
+ properties: {
1117
+ xs: {
1118
+ type: string;
1119
+ description: string;
1120
+ };
1121
+ sm: {
1122
+ type: string;
1123
+ description: string;
1124
+ };
1125
+ md: {
1126
+ type: string;
1127
+ description: string;
1128
+ };
1129
+ lg: {
1130
+ type: string;
1131
+ description: string;
1132
+ };
1133
+ xl: {
1134
+ type: string;
1135
+ description: string;
1136
+ };
1137
+ };
1138
+ required: string[];
1139
+ };
1140
+ /** JSON Schema for SizeValue */
1141
+ export declare const sizeSchema: {
1142
+ type: string;
1143
+ properties: {
1144
+ mode: {
1145
+ type: string;
1146
+ enum: string[];
1147
+ description: string;
1148
+ };
1149
+ height: {
1150
+ type: string;
1151
+ description: string;
1152
+ };
1153
+ paddingX: {
1154
+ type: string;
1155
+ description: string;
1156
+ };
1157
+ paddingY: {
1158
+ type: string;
1159
+ description: string;
1160
+ };
1161
+ fontSize: {
1162
+ type: string;
1163
+ description: string;
1164
+ };
1165
+ unit: {
1166
+ type: string;
1167
+ enum: string[];
1168
+ description: string;
1169
+ };
1170
+ };
1171
+ required: string[];
1172
+ };
1173
+ /** JSON Schema for TransformValue */
1174
+ export declare const transformSchema: {
1175
+ type: string;
1176
+ properties: {
1177
+ rotate: {
1178
+ type: string;
1179
+ minimum: number;
1180
+ maximum: number;
1181
+ description: string;
1182
+ };
1183
+ scaleX: {
1184
+ type: string;
1185
+ minimum: number;
1186
+ maximum: number;
1187
+ description: string;
1188
+ };
1189
+ scaleY: {
1190
+ type: string;
1191
+ minimum: number;
1192
+ maximum: number;
1193
+ description: string;
1194
+ };
1195
+ scaleLocked: {
1196
+ type: string;
1197
+ description: string;
1198
+ };
1199
+ skewX: {
1200
+ type: string;
1201
+ minimum: number;
1202
+ maximum: number;
1203
+ description: string;
1204
+ };
1205
+ skewY: {
1206
+ type: string;
1207
+ minimum: number;
1208
+ maximum: number;
1209
+ description: string;
1210
+ };
1211
+ translateX: {
1212
+ type: string;
1213
+ description: string;
1214
+ };
1215
+ translateY: {
1216
+ type: string;
1217
+ description: string;
1218
+ };
1219
+ translateUnit: {
1220
+ type: string;
1221
+ enum: string[];
1222
+ description: string;
1223
+ };
1224
+ origin: {
1225
+ type: string;
1226
+ enum: string[];
1227
+ description: string;
1228
+ };
1229
+ enable3D: {
1230
+ type: string;
1231
+ description: string;
1232
+ };
1233
+ perspective: {
1234
+ type: string;
1235
+ description: string;
1236
+ };
1237
+ rotateX: {
1238
+ type: string;
1239
+ description: string;
1240
+ };
1241
+ rotateY: {
1242
+ type: string;
1243
+ description: string;
1244
+ };
1245
+ };
1246
+ };
1247
+ //# sourceMappingURL=schemas.d.ts.map