pagepilot-visual-editor 1.0.2

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 (292) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/LICENSE +21 -0
  3. package/README.md +553 -0
  4. package/dist/PagePilotEditor.d.ts +17 -0
  5. package/dist/blocks-internal/block-button/src/NudegeIcons.d.ts +18 -0
  6. package/dist/blocks-internal/block-button/src/icons.d.ts +5 -0
  7. package/dist/blocks-internal/block-button/src/index.d.ts +145 -0
  8. package/dist/blocks-internal/block-button-group/src/index.d.ts +35 -0
  9. package/dist/blocks-internal/block-columns-container/src/index.d.ts +38 -0
  10. package/dist/blocks-internal/block-container/src/index.d.ts +72 -0
  11. package/dist/blocks-internal/block-divider/src/index.d.ts +23 -0
  12. package/dist/blocks-internal/block-grid/src/index.d.ts +32 -0
  13. package/dist/blocks-internal/block-heading/src/index.d.ts +99 -0
  14. package/dist/blocks-internal/block-html/src/index.d.ts +56 -0
  15. package/dist/blocks-internal/block-iframe/src/index.d.ts +26 -0
  16. package/dist/blocks-internal/block-image/src/index.d.ts +68 -0
  17. package/dist/blocks-internal/block-logo/src/index.d.ts +64 -0
  18. package/dist/blocks-internal/block-stepper/src/index.d.ts +52 -0
  19. package/dist/blocks-internal/block-text/src/EmailMarkdown.d.ts +8 -0
  20. package/dist/blocks-internal/block-text/src/index.d.ts +70 -0
  21. package/dist/blocks-internal/block-video/src/index.d.ts +46 -0
  22. package/dist/blocks-internal/block-youtube-url/src/index.d.ts +32 -0
  23. package/dist/editor/Shell.d.ts +6 -0
  24. package/dist/editor/StatusPill.d.ts +3 -0
  25. package/dist/editor/Topbar.d.ts +27 -0
  26. package/dist/editor/blockToggles.d.ts +12 -0
  27. package/dist/editor/theme.d.ts +10 -0
  28. package/dist/editor/types.d.ts +128 -0
  29. package/dist/editor-sample/App/InspectorDrawer/BehaviourPanel.d.ts +1 -0
  30. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/BlockStyleClipboardBar.d.ts +16 -0
  31. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/blockStyleClipboard.d.ts +83 -0
  32. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/index.d.ts +5 -0
  33. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AccessibilityToolsSidebarPanel.d.ts +8 -0
  34. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AccordionSidebarPanel.d.ts +8 -0
  35. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +8 -0
  36. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonGroupSidebarPanel.d.ts +8 -0
  37. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +7 -0
  38. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/CalendlySidebarPanel.d.ts +8 -0
  39. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/CarouselSidebarPanel.d.ts +8 -0
  40. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts +8 -0
  41. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts +8 -0
  42. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +8 -0
  43. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FlexColumns/ColumnSection.d.ts +10 -0
  44. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FlexColumnsSidebarPanel.d.ts +8 -0
  45. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/GridSidebarPanel.d.ts +8 -0
  46. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +8 -0
  47. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts +8 -0
  48. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/IframeSidebarPanel.d.ts +8 -0
  49. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +8 -0
  50. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/LogoSidebarPanel.d.ts +8 -0
  51. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MarqueeSidebarPanel.d.ts +8 -0
  52. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PagePilotLayoutSidebarPanel.d.ts +24 -0
  53. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PricingAccordionSidebarPanel.d.ts +8 -0
  54. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PricingAccordionSidebarPanel.styled.d.ts +7 -0
  55. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/RatingSidebarPanel.d.ts +8 -0
  56. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/SkipLinkSidebarPanel.d.ts +8 -0
  57. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +8 -0
  58. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/StepperSidebarPanel.d.ts +9 -0
  59. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TabsBlockSidebarPanel.d.ts +8 -0
  60. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +8 -0
  61. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/VideoSidebarPanel.d.ts +8 -0
  62. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts +9 -0
  63. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/CollapsibleSection.d.ts +13 -0
  64. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/ContrastWarning.d.ts +9 -0
  65. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/MediaLibraryButton.d.ts +17 -0
  66. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/SectionWrapper.d.ts +8 -0
  67. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/contrast.d.ts +10 -0
  68. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts +8 -0
  69. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/CodeEditor.d.ts +7 -0
  70. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +14 -0
  71. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +28 -0
  72. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts +7 -0
  73. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +14 -0
  74. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts +10 -0
  75. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts +11 -0
  76. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts +9 -0
  77. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontStyleInput.d.ts +8 -0
  78. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts +9 -0
  79. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/NumberInput.d.ts +22 -0
  80. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +16 -0
  81. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts +9 -0
  82. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadiusInput.d.ts +20 -0
  83. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts +14 -0
  84. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SwitchInput.d.ts +9 -0
  85. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts +8 -0
  86. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDecorationInput.d.ts +8 -0
  87. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts +9 -0
  88. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts +24 -0
  89. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInputWithSelect.d.ts +12 -0
  90. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts +13 -0
  91. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +9 -0
  92. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts +9 -0
  93. package/dist/editor-sample/App/InspectorDrawer/EditorBehavior.d.ts +21 -0
  94. package/dist/editor-sample/App/InspectorDrawer/LayersPanel.d.ts +2 -0
  95. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +27 -0
  96. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/BlocksPanel.d.ts +3 -0
  97. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/icons/index.d.ts +16 -0
  98. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/index.d.ts +6 -0
  99. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers.d.ts +1 -0
  100. package/dist/editor-sample/App/InspectorDrawer/StylesPanel.d.ts +6 -0
  101. package/dist/editor-sample/App/InspectorDrawer/hooks/useScalarFieldInput.d.ts +23 -0
  102. package/dist/editor-sample/App/InspectorDrawer/icons/index.d.ts +53 -0
  103. package/dist/editor-sample/App/InspectorDrawer/index.d.ts +16 -0
  104. package/dist/editor-sample/App/InspectorDrawer/layerClipboard.d.ts +7 -0
  105. package/dist/editor-sample/App/InspectorDrawer/useLayerNode.d.ts +35 -0
  106. package/dist/editor-sample/App/SelectionOverlay/index.d.ts +0 -0
  107. package/dist/editor-sample/App/TemplatePanel/HtmlPanel.d.ts +2 -0
  108. package/dist/editor-sample/App/TemplatePanel/JsonPanel.d.ts +2 -0
  109. package/dist/editor-sample/App/TemplatePanel/helper/HighlightedCodePanel.d.ts +7 -0
  110. package/dist/editor-sample/App/TemplatePanel/helper/highlighters.d.ts +2 -0
  111. package/dist/editor-sample/App/TemplatePanel/hooks/index.d.ts +3 -0
  112. package/dist/editor-sample/App/TemplatePanel/hooks/useDragSelection.d.ts +23 -0
  113. package/dist/editor-sample/App/TemplatePanel/hooks/useMainBoxStyles.d.ts +12 -0
  114. package/dist/editor-sample/App/TemplatePanel/hooks/usePanelPositioning.d.ts +25 -0
  115. package/dist/editor-sample/App/TemplatePanel/index.d.ts +17 -0
  116. package/dist/editor-sample/App/TemplatePanel/pageGuide/AhdMarkerLayer.d.ts +19 -0
  117. package/dist/editor-sample/App/TemplatePanel/pageGuide/elementBounds.d.ts +24 -0
  118. package/dist/editor-sample/App/TemplatePanel/pageGuide/iframeSrcDoc.d.ts +6 -0
  119. package/dist/editor-sample/App/TemplatePanel/pageGuide/useAhdMarkers.d.ts +28 -0
  120. package/dist/editor-sample/App/TemplatePanel/types.d.ts +36 -0
  121. package/dist/editor-sample/App/TemplatePanel/utils/index.d.ts +1 -0
  122. package/dist/editor-sample/App/TemplatePanel/utils/positioningUtils.d.ts +16 -0
  123. package/dist/editor-sample/App/hooks/constants.d.ts +10 -0
  124. package/dist/editor-sample/App/hooks/page/menuHrefBaselines.d.ts +10 -0
  125. package/dist/editor-sample/App/hooks/page/saveMenuHrefEdits.d.ts +1 -0
  126. package/dist/editor-sample/App/hooks/page/useSaveHandler.d.ts +21 -0
  127. package/dist/editor-sample/App/hooks/useGetPageType.d.ts +3 -0
  128. package/dist/editor-sample/App/hooks/usePreviewScreen.d.ts +8 -0
  129. package/dist/editor-sample/App/shared/AddSectionDialog.d.ts +12 -0
  130. package/dist/editor-sample/App/shared/PagePreviewFrame.d.ts +16 -0
  131. package/dist/editor-sample/App/shared/PreviewDialog.d.ts +15 -0
  132. package/dist/editor-sample/App/shared/SectionsDropdown.d.ts +10 -0
  133. package/dist/editor-sample/App/shared/editor.styles.d.ts +21 -0
  134. package/dist/editor-sample/App/shared/multipleSections.styled.d.ts +18 -0
  135. package/dist/editor-sample/App/shared/pageSections.d.ts +28 -0
  136. package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsEditor.d.ts +3 -0
  137. package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +1 -0
  138. package/dist/editor-sample/documents/blocks/Accordion/AccordionEditor.d.ts +3 -0
  139. package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +41 -0
  140. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupEditor.d.ts +3 -0
  141. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +31 -0
  142. package/dist/editor-sample/documents/blocks/Carousel/CarouselEditor.d.ts +3 -0
  143. package/dist/editor-sample/documents/blocks/Carousel/CarouselPropsSchema.d.ts +47 -0
  144. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts +3 -0
  145. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +49 -0
  146. package/dist/editor-sample/documents/blocks/Container/ContainerEditor.d.ts +3 -0
  147. package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +52 -0
  148. package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsEditor.d.ts +3 -0
  149. package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +1 -0
  150. package/dist/editor-sample/documents/blocks/Grid/GridEditor.d.ts +3 -0
  151. package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +48 -0
  152. package/dist/editor-sample/documents/blocks/Marquee/MarqueeEditor.d.ts +3 -0
  153. package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +37 -0
  154. package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutEditor.d.ts +2 -0
  155. package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutPropsSchema.d.ts +151 -0
  156. package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionEditor.d.ts +3 -0
  157. package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +77 -0
  158. package/dist/editor-sample/documents/blocks/Rating/RatingEditor.d.ts +3 -0
  159. package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +31 -0
  160. package/dist/editor-sample/documents/blocks/SkipLink/SkipLinkEditor.d.ts +3 -0
  161. package/dist/editor-sample/documents/blocks/SkipLink/SkipLinkPropsSchema.d.ts +1 -0
  162. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockEditor.d.ts +3 -0
  163. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +53 -0
  164. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +9 -0
  165. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockInsertAboveContext.d.ts +2 -0
  166. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +10 -0
  167. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +7 -0
  168. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +6 -0
  169. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/ScopePickerMenu.d.ts +14 -0
  170. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/brandButtonDefaults.d.ts +14 -0
  171. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +9 -0
  172. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +16 -0
  173. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +16 -0
  174. package/dist/editor-sample/documents/blocks/helpers/InlineEditableText.d.ts +6 -0
  175. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/FullscreenOverlay.d.ts +20 -0
  176. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/constants.d.ts +22 -0
  177. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/ImageDialog.d.ts +20 -0
  178. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/LinkDialog.d.ts +23 -0
  179. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/VideoDialog.d.ts +9 -0
  180. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dom.d.ts +6 -0
  181. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/focusGuard.d.ts +7 -0
  182. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/format.d.ts +19 -0
  183. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useCodeView.d.ts +35 -0
  184. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFormatPainter.d.ts +18 -0
  185. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFormatState.d.ts +11 -0
  186. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFullscreen.d.ts +24 -0
  187. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarCommands.d.ts +66 -0
  188. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarDrag.d.ts +21 -0
  189. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarPosition.d.ts +7 -0
  190. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/index.d.ts +17 -0
  191. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/inlineEditChrome.d.ts +6 -0
  192. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/ColorSwatchPopover.d.ts +21 -0
  193. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/ImagePopover.d.ts +16 -0
  194. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/OverflowMenu.d.ts +13 -0
  195. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/TableGridPicker.d.ts +10 -0
  196. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/Divider.d.ts +8 -0
  197. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/Dropdown.d.ts +27 -0
  198. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/HoverButton.d.ts +27 -0
  199. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/IconBtn.d.ts +16 -0
  200. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/MenuItem.d.ts +32 -0
  201. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/MicIcon.d.ts +7 -0
  202. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/NoteIcon.d.ts +15 -0
  203. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/selection.d.ts +17 -0
  204. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/styles.d.ts +14 -0
  205. package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/types.d.ts +36 -0
  206. package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +17 -0
  207. package/dist/editor-sample/documents/blocks/helpers/TemplateTokenOverlay.d.ts +44 -0
  208. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +6 -0
  209. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts +8 -0
  210. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts +6 -0
  211. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/useCanvasDrop.d.ts +18 -0
  212. package/dist/editor-sample/documents/blocks/helpers/blockVisibility.d.ts +27 -0
  213. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +126 -0
  214. package/dist/editor-sample/documents/blocks/helpers/fontFamily.d.ts +33 -0
  215. package/dist/editor-sample/documents/blocks/helpers/fontWeight.d.ts +13 -0
  216. package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +48 -0
  217. package/dist/editor-sample/documents/editor/EditorBlock.d.ts +13 -0
  218. package/dist/editor-sample/documents/editor/EditorContext.d.ts +347 -0
  219. package/dist/editor-sample/documents/editor/EditorVariantContext.d.ts +4 -0
  220. package/dist/editor-sample/documents/editor/LazyEditorBlock.d.ts +26 -0
  221. package/dist/editor-sample/documents/editor/core.d.ts +1212 -0
  222. package/dist/editor-sample/documents/editor/prefillDefaultValues.d.ts +12 -0
  223. package/dist/editor-sample/documents/editor/templateVariables.d.ts +50 -0
  224. package/dist/editor-sample/getConfiguration/index.d.ts +1 -0
  225. package/dist/editor-sample/getConfiguration/sample/empty-email-message.d.ts +3 -0
  226. package/dist/editor-sample/getConfiguration/sample/one-time-passcode.d.ts +3 -0
  227. package/dist/editor-sample/getConfiguration/sample/order-ecommerce.d.ts +3 -0
  228. package/dist/editor-sample/getConfiguration/sample/post-metrics-report.d.ts +3 -0
  229. package/dist/editor-sample/getConfiguration/sample/reservation-reminder.d.ts +3 -0
  230. package/dist/editor-sample/getConfiguration/sample/reset-password.d.ts +3 -0
  231. package/dist/editor-sample/getConfiguration/sample/respond-to-message.d.ts +3 -0
  232. package/dist/editor-sample/getConfiguration/sample/subscription-receipt.d.ts +3 -0
  233. package/dist/editor-sample/getConfiguration/sample/welcome.d.ts +3 -0
  234. package/dist/editor-sample/utils/editorKvStore.d.ts +5 -0
  235. package/dist/email-builder-core/Reader/ReaderBlockShim.d.ts +10 -0
  236. package/dist/email-builder-core/Reader/core.d.ts +35 -0
  237. package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +79 -0
  238. package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsReader.d.ts +3 -0
  239. package/dist/email-builder-core/blocks/AccessibilityTools/icons.d.ts +4 -0
  240. package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +35 -0
  241. package/dist/email-builder-core/blocks/Accordion/AccordionReader.d.ts +3 -0
  242. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +31 -0
  243. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupReader.d.ts +3 -0
  244. package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +24 -0
  245. package/dist/email-builder-core/blocks/Calendly/CalendlyReader.d.ts +3 -0
  246. package/dist/email-builder-core/blocks/Carousel/CarouselPropsSchema.d.ts +47 -0
  247. package/dist/email-builder-core/blocks/Carousel/CarouselReader.d.ts +3 -0
  248. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +53 -0
  249. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerReader.d.ts +3 -0
  250. package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +52 -0
  251. package/dist/email-builder-core/blocks/Container/ContainerReader.d.ts +3 -0
  252. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +44 -0
  253. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsReader.d.ts +2 -0
  254. package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +10 -0
  255. package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +48 -0
  256. package/dist/email-builder-core/blocks/Grid/GridReader.d.ts +3 -0
  257. package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +36 -0
  258. package/dist/email-builder-core/blocks/Marquee/MarqueeReader.d.ts +3 -0
  259. package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutPropsSchema.d.ts +103 -0
  260. package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutReader.d.ts +3 -0
  261. package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +77 -0
  262. package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionReader.d.ts +3 -0
  263. package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +30 -0
  264. package/dist/email-builder-core/blocks/Rating/RatingReader.d.ts +3 -0
  265. package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +42 -0
  266. package/dist/email-builder-core/blocks/SkipLink/SkipLinkReader.d.ts +3 -0
  267. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +53 -0
  268. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockReader.d.ts +3 -0
  269. package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +15 -0
  270. package/dist/email-builder-core/helpers/fontFamily.d.ts +33 -0
  271. package/dist/email-builder-core/helpers/fontWeight.d.ts +13 -0
  272. package/dist/email-builder-core/helpers/screen.d.ts +13 -0
  273. package/dist/email-builder-core/helpers/templateVariables.d.ts +14 -0
  274. package/dist/email-builder-core/index.d.ts +3 -0
  275. package/dist/email-builder-core/renderers/accessibilityTools.d.ts +35 -0
  276. package/dist/email-builder-core/renderers/pageScripts.d.ts +7 -0
  277. package/dist/email-builder-core/renderers/renderDynamicCss.d.ts +1 -0
  278. package/dist/email-builder-core/renderers/renderToStaticMarkup.d.ts +41 -0
  279. package/dist/host-stubs/_passthrough.d.ts +2 -0
  280. package/dist/host-stubs/i18n.d.ts +8 -0
  281. package/dist/host-stubs/style/menu.styled.d.ts +15 -0
  282. package/dist/host-stubs/style/styled.d.ts +34 -0
  283. package/dist/host-stubs/theme/theme.d.ts +2 -0
  284. package/dist/host-stubs/view/images/Icons.d.ts +649 -0
  285. package/dist/host-stubs/view/media/MediaGalleryDialog.d.ts +2 -0
  286. package/dist/host-stubs/view/shared/message.d.ts +11 -0
  287. package/dist/host-stubs/view/shared/modals/PopupConfirm.d.ts +11 -0
  288. package/dist/index.cjs +1630 -0
  289. package/dist/index.d.ts +8 -0
  290. package/dist/index.js +168332 -0
  291. package/dist/style.css +1 -0
  292. package/package.json +115 -0
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { ColumnsContainerProps } from '../../../../documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema';
3
+ type ColumnsContainerPanelProps = {
4
+ data: ColumnsContainerProps;
5
+ setData: (v: ColumnsContainerProps) => void;
6
+ };
7
+ export default function ColumnsContainerPanel({ data, setData }: ColumnsContainerPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { ContainerProps } from '../../../../documents/blocks/Container/ContainerPropsSchema';
3
+ type ContainerSidebarPanelProps = {
4
+ data: ContainerProps;
5
+ setData: (v: ContainerProps) => void;
6
+ };
7
+ export default function ContainerSidebarPanel({ data, setData }: ContainerSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { DividerProps } from '../../../../../blocks-internal/block-divider/src/index.tsx';
3
+ type DividerSidebarPanelProps = {
4
+ data: DividerProps;
5
+ setData: (v: DividerProps) => void;
6
+ };
7
+ export default function DividerSidebarPanel({ data, setData }: DividerSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { FlexColumnsProps } from '../../../../../documents/blocks/FlexColumns/FlexColumnsPropsSchema';
3
+ type ColumnSectionProps = {
4
+ index: number;
5
+ columnsCount: number;
6
+ data: FlexColumnsProps;
7
+ updateData: (d: unknown) => void;
8
+ };
9
+ declare const ColumnSection: React.FC<ColumnSectionProps>;
10
+ export default ColumnSection;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { FlexColumnsProps } from '../../../../documents/blocks/FlexColumns/FlexColumnsPropsSchema';
3
+ type Props = {
4
+ data: FlexColumnsProps;
5
+ setData: (v: FlexColumnsProps) => void;
6
+ };
7
+ export default function FlexColumnsSidebarPanel({ data, setData }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { GridEditorProps } from '../../../../documents/blocks/Grid/GridPropsSchema';
3
+ type GridPanelProps = {
4
+ data: GridEditorProps;
5
+ setData: (v: GridEditorProps) => void;
6
+ };
7
+ export default function GridSidebarPanel({ data, setData }: GridPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { HeadingProps } from '../../../../../blocks-internal/block-heading/src/index.tsx';
3
+ type HeadingSidebarPanelProps = {
4
+ data: HeadingProps;
5
+ setData: (v: HeadingProps) => void;
6
+ };
7
+ export default function HeadingSidebarPanel({ data, setData }: HeadingSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { HtmlProps } from '../../../../../blocks-internal/block-html/src/index.tsx';
3
+ type HtmlSidebarPanelProps = {
4
+ data: HtmlProps;
5
+ setData: (v: HtmlProps) => void;
6
+ };
7
+ export default function HtmlSidebarPanel({ data, setData }: HtmlSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { IframeProps } from '../../../../../blocks-internal/block-iframe/src/index.tsx';
3
+ type IframeSidebarPanelProps = {
4
+ data: IframeProps;
5
+ setData: (v: IframeProps) => void;
6
+ };
7
+ export default function IframeSidebarPanel({ data, setData }: IframeSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { ImageProps } from '../../../../../blocks-internal/block-image/src/index.tsx';
3
+ type ImageSidebarPanelProps = {
4
+ data: ImageProps;
5
+ setData: (v: ImageProps) => void;
6
+ };
7
+ export default function ImageSidebarPanel({ data, setData }: ImageSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { LogoProps } from '../../../../../blocks-internal/block-logo/src/index.tsx';
3
+ type LogoSidebarPanelProps = {
4
+ data: LogoProps;
5
+ setData: (v: LogoProps) => void;
6
+ };
7
+ export default function LogoSidebarPanel({ data, setData }: LogoSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { MarqueeProps } from '../../../../documents/blocks/Marquee/MarqueePropsSchema';
3
+ type Props = {
4
+ data: MarqueeProps;
5
+ setData: (v: MarqueeProps) => void;
6
+ };
7
+ export default function MarqueeSidebarPanel({ data, setData }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,24 @@
1
+ import { ReactNode } from 'react';
2
+ import { PagePilotLayoutProps } from '../../../../documents/blocks/PagePilotLayout/PagePilotLayoutPropsSchema';
3
+ type PagePilotLayoutSidebarFieldsProps = {
4
+ record: any;
5
+ data: PagePilotLayoutProps;
6
+ setData: (v: PagePilotLayoutProps) => void;
7
+ isTypeDemo: boolean;
8
+ onBackgroundChange?: (url: string | null) => void;
9
+ };
10
+ export declare const ColorCode: ({ hex }: {
11
+ hex?: string | null;
12
+ }) => import("react").JSX.Element;
13
+ type SettingRowProps = {
14
+ label: string;
15
+ children: ReactNode;
16
+ divider?: boolean;
17
+ background?: boolean;
18
+ mt?: number;
19
+ maxHeight?: number;
20
+ tooltip?: string;
21
+ };
22
+ export declare const SettingRow: ({ label, children, divider, background, mt, maxHeight, tooltip, }: SettingRowProps) => import("react").JSX.Element;
23
+ declare function PagePilotLayoutSidebarFields({ data, setData, isTypeDemo, record, onBackgroundChange, }: PagePilotLayoutSidebarFieldsProps): import("react").JSX.Element;
24
+ export default PagePilotLayoutSidebarFields;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { PricingAccordionProps } from '../../../../documents/blocks/PricingAccordion/PricingAccordionPropsSchema';
3
+ type Props = {
4
+ data: PricingAccordionProps;
5
+ setData: (v: PricingAccordionProps) => void;
6
+ };
7
+ export default function PricingAccordionSidebarPanel({ data, setData }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ export declare const planRowSx: SxProps<Theme>;
3
+ export declare const planLabelSx: SxProps<Theme>;
4
+ export declare const planDeleteIconSx: SxProps<Theme>;
5
+ export declare const detailPositionIconSx: SxProps<Theme>;
6
+ export declare const addPlanButtonSx: SxProps<Theme>;
7
+ export declare const addPlanButtonDisabledSx: SxProps<Theme>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { RatingProps } from '../../../../documents/blocks/Rating/RatingPropsSchema';
3
+ type Props = {
4
+ data: RatingProps;
5
+ setData: (v: RatingProps) => void;
6
+ };
7
+ export default function RatingSidebarPanel({ data, setData }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { SkipLinkProps } from '../../../../../email-builder-core/blocks/SkipLink/SkipLinkPropsSchema';
3
+ type Props = {
4
+ data: SkipLinkProps;
5
+ setData: (d: SkipLinkProps) => void;
6
+ };
7
+ export default function SkipLinkSidebarPanel({ data, setData }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { SpacerProps } from '@usewaypoint/block-spacer';
3
+ type SpacerSidebarPanelProps = {
4
+ data: SpacerProps;
5
+ setData: (v: SpacerProps) => void;
6
+ };
7
+ export default function SpacerSidebarPanel({ data, setData }: SpacerSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { StepperProps } from '../../../../../blocks-internal/block-stepper/src/index.tsx';
2
+ type Props = {
3
+ data: StepperProps;
4
+ setData: (value: StepperProps) => void;
5
+ record: any;
6
+ activeStepIndex: number;
7
+ };
8
+ export default function StepperSidebarPanel({ data, setData, record, activeStepIndex }: Props): import("react").JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { TabsBlockProps } from '../../../../documents/blocks/TabsBlock/TabsBlockPropsSchema';
3
+ type Props = {
4
+ data: TabsBlockProps;
5
+ setData: (v: TabsBlockProps) => void;
6
+ };
7
+ export default function TabsBlockSidebarPanel({ data, setData }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { TextProps } from '../../../../../blocks-internal/block-text/src/index.tsx';
2
+ type TextSidebarPanelProps = {
3
+ data: TextProps;
4
+ setData: (v: TextProps) => void;
5
+ record?: any;
6
+ };
7
+ export default function TextSidebarPanel({ data, setData }: TextSidebarPanelProps): import("react").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { VideoProps } from '../../../../../blocks-internal/block-video/src/index.tsx';
3
+ type VideoSidebarPanelProps = {
4
+ data: VideoProps;
5
+ setData: (v: VideoProps) => void;
6
+ };
7
+ export default function VideoSidebarPanel({ data, setData }: VideoSidebarPanelProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ type SidebarPanelProps = {
4
+ title: string;
5
+ children: React.ReactNode;
6
+ sx?: SxProps<Theme>;
7
+ };
8
+ export default function BaseSidebarPanel({ title, children, sx }: SidebarPanelProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ type CollapsibleSectionProps = {
4
+ title: string;
5
+ open: boolean;
6
+ onToggle: () => void;
7
+ children: React.ReactNode;
8
+ collapsible?: boolean;
9
+ showBorder?: boolean;
10
+ sx?: SxProps<Theme>;
11
+ };
12
+ export default function CollapsibleSection({ title, open, onToggle, children, collapsible, showBorder, sx }: CollapsibleSectionProps): React.JSX.Element;
13
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ foreground: string | null | undefined;
4
+ background: string | null | undefined;
5
+ largeText?: boolean;
6
+ label?: string;
7
+ };
8
+ export default function ContrastWarning({ foreground, background, largeText, label }: Props): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,17 @@
1
+ import { SxProps } from '@mui/material';
2
+ type MediaLibraryButtonProps = {
3
+ label?: string;
4
+ startIcon?: React.ReactNode;
5
+ onFilesSelected: (files: any[]) => void;
6
+ variant?: 'text' | 'outlined' | 'contained';
7
+ size?: 'small' | 'medium' | 'large';
8
+ fullWidth?: boolean;
9
+ sx?: SxProps;
10
+ url?: string;
11
+ onClear?: () => void;
12
+ mediaType?: 'both' | 'image';
13
+ allowClear?: boolean;
14
+ showPreview?: boolean;
15
+ };
16
+ export default function MediaLibraryButton({ label, startIcon, onFilesSelected, variant, size, fullWidth, sx, url, onClear, mediaType, showPreview, allowClear, }: MediaLibraryButtonProps): import("react").JSX.Element;
17
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '@mui/material';
3
+ type SectionWrapperProps = Omit<BoxProps, 'borderBottom'> & {
4
+ children: React.ReactNode;
5
+ borderBottom?: boolean;
6
+ };
7
+ export default function SectionWrapper({ children, sx, borderBottom, ...props }: SectionWrapperProps): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ export declare function parseColorToRgb(value: string | null | undefined): [number, number, number] | null;
2
+ export declare function relativeLuminance([r, g, b]: [number, number, number]): number;
3
+ export declare function contrastRatio(fg: string | null | undefined, bg: string | null | undefined): number;
4
+ export type ContrastStatus = 'pass-aaa' | 'pass-aa' | 'pass-aa-large' | 'fail' | 'unknown';
5
+ export declare function contrastStatus(ratio: number | null, options?: {
6
+ largeText?: boolean;
7
+ }): ContrastStatus;
8
+ export declare function hasContrastWarning(fg: string | null | undefined, bg: string | null | undefined, options?: {
9
+ largeText?: boolean;
10
+ }): boolean;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string;
4
+ defaultValue: boolean;
5
+ onChange: (value: boolean) => void;
6
+ };
7
+ export default function BooleanInput({ label, defaultValue, onChange }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ type CodeEditorProps = {
3
+ value: string;
4
+ onChange: (code: string) => void;
5
+ };
6
+ export default function CodeEditor({ value, onChange }: CodeEditorProps): React.JSX.Element;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ nullable: true;
4
+ label: string;
5
+ onChange: (value: string | null) => void;
6
+ defaultValue: string | null;
7
+ } | {
8
+ nullable: false;
9
+ label: string;
10
+ onChange: (value: string) => void;
11
+ defaultValue: string;
12
+ };
13
+ export default function ColorInput({ label, defaultValue, onChange, nullable }: Props): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,28 @@
1
+ type Props = {
2
+ value: string;
3
+ onChange: (v: string) => void;
4
+ onApply?: (v: string) => void;
5
+ onTransparent?: () => void;
6
+ onClose?: () => void;
7
+ noneLabel?: string;
8
+ hideBrandColors?: boolean;
9
+ defaultValue?: string;
10
+ /**
11
+ * Pin the Transparent / Apply action row to the bottom of the nearest
12
+ * scrolling ancestor. Use when the picker is embedded in a popover that
13
+ * may need to scroll on short viewports — keeps the action buttons
14
+ * visible while the swatches / inputs scroll out of view.
15
+ */
16
+ stickyActions?: boolean;
17
+ /**
18
+ * Cap the scrollable body (color square / sliders / hex / swatches) at
19
+ * this height in pixels. Required for the sticky-actions popover use
20
+ * case — the picker can't infer the available room itself, so the
21
+ * caller (which knows the popover's constrained height) passes the
22
+ * usable body height directly. Bypasses the inherited `height: 100%`
23
+ * chain that proved unreliable across nested flex/grid layouts.
24
+ */
25
+ bodyMaxHeight?: number;
26
+ };
27
+ export default function Picker({ value, onChange, onApply, onTransparent, onClose, noneLabel, hideBrandColors, defaultValue, stickyActions, bodyMaxHeight }: Props): import("react").JSX.Element;
28
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ value: string;
4
+ onChange: (value: string) => void;
5
+ };
6
+ export default function Swatch({ value, onChange }: Props): React.JSX.Element;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string;
4
+ onChange: (value: string) => void;
5
+ defaultValue: string;
6
+ };
7
+ export default function ColorInput(props: Props): React.JSX.Element;
8
+ type NullableProps = {
9
+ label: string;
10
+ onChange: (value: null | string) => void;
11
+ defaultValue: null | string;
12
+ };
13
+ export declare function NullableColorInput(props: NullableProps): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ type TWidthValue = number | null | undefined;
3
+ type FixedWidths = TWidthValue[];
4
+ type ColumnsLayoutInputProps = {
5
+ columnsCount: number;
6
+ defaultValue: FixedWidths | null | undefined;
7
+ onChange: (v: FixedWidths | null | undefined) => void;
8
+ };
9
+ export default function ColumnWidthsInput({ columnsCount, defaultValue, onChange, }: ColumnsLayoutInputProps): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ type NullableProps = {
4
+ label: string;
5
+ onChange: (value: null | string) => void;
6
+ defaultValue: null | string;
7
+ globalDefault?: string | null;
8
+ sx?: SxProps<Theme>;
9
+ };
10
+ export declare function NullableFontFamily({ label, onChange, defaultValue, globalDefault, sx, }: NullableProps): React.JSX.Element;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string;
4
+ defaultValue: string;
5
+ onChange: (v: number) => void;
6
+ unit: string;
7
+ };
8
+ export default function FontSizeInput({ label, defaultValue, onChange, unit }: Props): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string;
4
+ defaultValue: string;
5
+ onChange: (value: string) => void;
6
+ };
7
+ export default function FontStyleInput({ label, defaultValue, onChange }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { FontWeight } from '../../../../../../documents/blocks/helpers/fontWeight';
3
+ type Props = {
4
+ label: string;
5
+ defaultValue: string;
6
+ onChange: (value: FontWeight) => void;
7
+ };
8
+ export default function FontWeightInput({ label, defaultValue, onChange }: Props): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ type NumberInputProps = {
3
+ label?: string;
4
+ /**
5
+ * Displayed unit label, e.g. 'PX' or '%'
6
+ */
7
+ units?: string;
8
+ /**
9
+ * Initial numeric value shown in the field
10
+ */
11
+ defaultValue: number;
12
+ /**
13
+ * Callback fired with the parsed numeric value
14
+ */
15
+ onChange: (value: number) => void;
16
+ min?: number;
17
+ max?: number;
18
+ step?: number;
19
+ sx?: any;
20
+ };
21
+ export default function NumberInput({ label, units, defaultValue, onChange, min, max, step, sx, }: NumberInputProps): React.JSX.Element;
22
+ export {};
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ type TPaddingValue = {
4
+ top: number | '';
5
+ right: number | '';
6
+ bottom: number | '';
7
+ left: number | '';
8
+ };
9
+ type Props = {
10
+ label: string;
11
+ defaultValue?: TPaddingValue | null;
12
+ onChange: (value: TPaddingValue) => void;
13
+ sx?: SxProps<Theme>;
14
+ };
15
+ export default function PaddingInput({ label, defaultValue, onChange, sx }: Props): React.JSX.Element;
16
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string | React.JSX.Element;
4
+ children: React.JSX.Element | React.JSX.Element[];
5
+ defaultValue: string;
6
+ onChange: (v: string) => void;
7
+ };
8
+ export default function RadioGroupInput({ label, children, defaultValue, onChange }: Props): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ type TRadiusValue = {
3
+ topLeft: number | '';
4
+ topRight: number | '';
5
+ bottomRight: number | '';
6
+ bottomLeft: number | '';
7
+ };
8
+ type TRadiusInputValue = {
9
+ topLeft: number | '' | Record<string, unknown>;
10
+ topRight: number | '' | Record<string, unknown>;
11
+ bottomRight: number | '' | Record<string, unknown>;
12
+ bottomLeft: number | '' | Record<string, unknown>;
13
+ };
14
+ type Props = {
15
+ label: string;
16
+ defaultValue?: TRadiusInputValue | null;
17
+ onChange: (value: TRadiusValue) => void;
18
+ };
19
+ export default function RadiusInput({ label, defaultValue, onChange }: Props): React.JSX.Element;
20
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ type SliderInputProps = {
3
+ label: string;
4
+ iconLabel: React.JSX.Element;
5
+ step?: number;
6
+ marks?: boolean;
7
+ units: string;
8
+ min?: number;
9
+ max?: number;
10
+ defaultValue: number;
11
+ onChange: (v: number) => void;
12
+ };
13
+ export default function SliderInput({ label, defaultValue, onChange, ...props }: SliderInputProps): React.JSX.Element;
14
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { SwitchProps } from '@mui/material';
3
+ type SwitchInputProps = {
4
+ checked: boolean;
5
+ onChange: (checked: boolean) => void;
6
+ disabled?: boolean;
7
+ } & Omit<SwitchProps, 'checked' | 'onChange'>;
8
+ export default function SwitchInput({ checked, onChange, disabled, ...otherProps }: SwitchInputProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string;
4
+ defaultValue: string | null;
5
+ onChange: (value: string | null) => void;
6
+ };
7
+ export default function TextAlignInput({ label, defaultValue, onChange }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ type Props = {
3
+ label: string;
4
+ defaultValue: string;
5
+ onChange: (value: string) => void;
6
+ };
7
+ export default function TextDecorationInput({ label, defaultValue, onChange }: Props): React.JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ type TextDimensionInputProps = {
3
+ label: string;
4
+ defaultValue: number | string | null | undefined;
5
+ onChange: (v: number | string | null) => void;
6
+ showPercentage?: boolean;
7
+ };
8
+ export default function TextDimensionInput({ label, defaultValue, onChange, showPercentage }: TextDimensionInputProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { InputProps } from '@mui/material';
3
+ type Props = {
4
+ label: string;
5
+ rows?: number;
6
+ placeholder?: string;
7
+ helperText?: string | React.JSX.Element;
8
+ InputProps?: InputProps;
9
+ defaultValue: string;
10
+ onChange: (v: string) => void;
11
+ onBlur?: (e: React.FocusEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
12
+ chips?: string[];
13
+ variant?: 'outlined' | 'filled' | 'standard';
14
+ sx?: any;
15
+ suffix?: any;
16
+ type?: 'text' | 'number';
17
+ inputRef?: any;
18
+ endAdornment?: any;
19
+ startAdornment?: any;
20
+ disabled?: boolean;
21
+ inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
22
+ };
23
+ export default function TextInput({ helperText, label, placeholder, rows, InputProps, defaultValue, onChange, onBlur, chips, variant, sx, suffix, type, inputRef, endAdornment, startAdornment, disabled, inputProps, }: Props): React.JSX.Element;
24
+ export {};
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ type WidthType = 'fixed' | 'fill' | 'fit';
3
+ type WidthInputWithSelectProps = {
4
+ label: string;
5
+ width: number;
6
+ widthType: WidthType;
7
+ onWidthChange: (value: number) => void;
8
+ onWidthTypeChange: (value: WidthType) => void;
9
+ minWidth?: number;
10
+ };
11
+ export default function WidthInputWithSelect({ label, width, widthType, onWidthChange, onWidthTypeChange, minWidth, }: WidthInputWithSelectProps): React.JSX.Element;
12
+ export {};