pagepilot-visual-editor 1.0.6 → 1.0.8

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 (104) hide show
  1. package/README.md +214 -16
  2. package/dist/blocks-internal/block-button/src/index.d.ts +15 -9
  3. package/dist/blocks-internal/block-button-group/src/index.d.ts +6 -6
  4. package/dist/blocks-internal/block-columns-container/src/index.d.ts +3 -3
  5. package/dist/blocks-internal/block-container/src/index.d.ts +11 -11
  6. package/dist/blocks-internal/block-grid/src/index.d.ts +1 -1
  7. package/dist/blocks-internal/block-heading/src/index.d.ts +11 -5
  8. package/dist/blocks-internal/block-html/src/index.d.ts +2 -2
  9. package/dist/blocks-internal/block-iframe/src/index.d.ts +2 -2
  10. package/dist/blocks-internal/block-image/src/index.d.ts +5 -3
  11. package/dist/blocks-internal/block-list/src/index.d.ts +90 -0
  12. package/dist/blocks-internal/block-logo/src/index.d.ts +2 -2
  13. package/dist/blocks-internal/block-stepper/src/index.d.ts +10 -4
  14. package/dist/blocks-internal/block-text/src/index.d.ts +9 -3
  15. package/dist/blocks-internal/block-video/src/index.d.ts +3 -3
  16. package/dist/blocks-internal/block-youtube-url/src/index.d.ts +3 -3
  17. package/dist/editor/Shell.d.ts +1 -1
  18. package/dist/editor/Topbar.d.ts +5 -1
  19. package/dist/editor/blockToggles.d.ts +1 -1
  20. package/dist/editor/publish/PagePublishDialog.d.ts +7 -0
  21. package/dist/editor/types.d.ts +35 -0
  22. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveDeviceTabs.d.ts +8 -0
  23. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveEditingBanner.d.ts +13 -0
  24. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AppBannerPickerSidebarPanel.d.ts +7 -0
  25. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FaqPickerSidebarPanel.d.ts +7 -0
  26. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ListSidebarPanel.d.ts +7 -0
  27. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
  28. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatesList.d.ts +19 -4
  29. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/UpgradeDialogView.d.ts +1 -0
  30. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/upgradeDialog.d.ts +15 -0
  31. package/dist/editor-sample/App/InspectorDrawer/useLayerNode.d.ts +1 -2
  32. package/dist/editor-sample/App/TemplatePanel/minimap/MiniMap.d.ts +6 -0
  33. package/dist/editor-sample/App/TemplatePanel/minimap/MiniMapFrame.d.ts +17 -0
  34. package/dist/editor-sample/App/TemplatePanel/minimap/useMiniMapSync.d.ts +24 -0
  35. package/dist/editor-sample/App/TemplatePanel/minimap/useMiniMapThumbnail.d.ts +8 -0
  36. package/dist/editor-sample/App/hooks/useAutosave.d.ts +10 -0
  37. package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
  38. package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  39. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerEditor.d.ts +7 -0
  40. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +6 -0
  41. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
  42. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
  43. package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +11 -11
  44. package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
  45. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +3 -3
  46. package/dist/editor-sample/documents/blocks/FaqPicker/FaqEditor.d.ts +7 -0
  47. package/dist/editor-sample/documents/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +6 -0
  48. package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
  49. package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +3 -3
  50. package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +6 -1
  51. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +2 -2
  52. package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
  53. package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +8 -2
  54. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +6 -0
  55. package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +6 -0
  56. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +4 -1
  57. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +3 -2
  58. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/useCanvasDrop.d.ts +14 -8
  59. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +1 -0
  60. package/dist/editor-sample/documents/blocks/helpers/responsiveInstanceCss.d.ts +6 -0
  61. package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +2 -2
  62. package/dist/editor-sample/documents/editor/EditorBlock.d.ts +6 -2
  63. package/dist/editor-sample/documents/editor/EditorContext.d.ts +15 -1
  64. package/dist/editor-sample/documents/editor/core.d.ts +248 -85
  65. package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +21 -3
  66. package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  67. package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +6 -0
  68. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
  69. package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +8 -2
  70. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
  71. package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +11 -11
  72. package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
  73. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +5 -5
  74. package/dist/email-builder-core/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +6 -0
  75. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +5 -5
  76. package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
  77. package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +3 -3
  78. package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +6 -1
  79. package/dist/email-builder-core/blocks/Marquee/marqueeMotion.d.ts +3 -1
  80. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +4 -4
  81. package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +5 -5
  82. package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
  83. package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +8 -2
  84. package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +12 -2
  85. package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +8 -2
  86. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +6 -0
  87. package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +6 -0
  88. package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +1 -0
  89. package/dist/email-builder-core/renderers/pageScripts.d.ts +8 -0
  90. package/dist/host-stubs/i18n.d.ts +1 -1
  91. package/dist/host-stubs/style/menu.styled.d.ts +7 -1
  92. package/dist/host-stubs/view/media/IconLibrary/ChooseImageDialog.d.ts +10 -0
  93. package/dist/host-stubs/view/media/IconLibrary/IconGrid.d.ts +8 -0
  94. package/dist/host-stubs/view/media/IconLibrary/IconGridCell.d.ts +8 -0
  95. package/dist/host-stubs/view/media/IconLibrary/IconLibraryModal.d.ts +6 -0
  96. package/dist/host-stubs/view/media/IconLibrary/IconProvider.d.ts +4 -0
  97. package/dist/host-stubs/view/media/IconLibrary/IconSearch.d.ts +6 -0
  98. package/dist/host-stubs/view/media/IconLibrary/iconLoaders.d.ts +6 -0
  99. package/dist/host-stubs/view/media/IconLibrary/iconNames.d.ts +1 -0
  100. package/dist/host-stubs/view/media/IconLibrary/index.d.ts +6 -0
  101. package/dist/host-stubs/view/shared/modals/PopupConfirm.d.ts +8 -6
  102. package/dist/index.cjs +289 -288
  103. package/dist/index.js +42064 -34311
  104. package/package.json +11 -10
@@ -1,5 +1,5 @@
1
- export declare const TruncatedEditorTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "top" | "bottom" | "right" | "left" | "fontSize" | "fontFamily" | "fontWeight" | "textAlign" | "padding" | "style" | "borderRadius" | "borderColor" | "width" | "px" | "margin" | "height" | "overflow" | "marginBottom" | "color" | "position" | "gap" | "align" | "fontStyle" | "paddingX" | "paddingY" | "marginX" | "marginY" | "lineHeight" | "maxWidth" | "maxHeight" | "boxShadow" | "borderTop" | "border" | "flex" | "py" | "className" | "p" | "bgcolor" | "display" | "zIndex" | "typography" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
2
- export declare const SettingLabelTypography: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "top" | "bottom" | "right" | "left" | "fontSize" | "fontFamily" | "fontWeight" | "textAlign" | "padding" | "style" | "borderRadius" | "borderColor" | "width" | "px" | "margin" | "height" | "overflow" | "marginBottom" | "color" | "position" | "gap" | "align" | "fontStyle" | "paddingX" | "paddingY" | "marginX" | "marginY" | "lineHeight" | "maxWidth" | "maxHeight" | "boxShadow" | "borderTop" | "border" | "flex" | "py" | "className" | "p" | "bgcolor" | "display" | "zIndex" | "typography" | "classes" | "sx" | "letterSpacing" | "order" | "visibility" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "marginBlockEnd" | "marginBlockStart" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "rowGap" | "textOverflow" | "textTransform" | "whiteSpace" | "borderBottom" | "borderLeft" | "borderRight" | "gridArea" | "gridColumn" | "gridRow" | "marginBlock" | "marginInline" | "paddingBlock" | "paddingInline" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "displayPrint" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
1
+ export declare const TruncatedEditorTitle: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "className" | "style" | "classes" | "color" | "fontSize" | "sx" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
2
+ export declare const SettingLabelTypography: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "children" | "className" | "style" | "classes" | "color" | "fontSize" | "sx" | "p" | "height" | "width" | "display" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "order" | "overflow" | "visibility" | "border" | "boxShadow" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
3
3
  export declare const widthUnitSelectSx: {
4
4
  '& .MuiOutlinedInput-notchedOutline': {
5
5
  border: string;
@@ -18,4 +18,4 @@ export declare const widthUnitSelectSx: {
18
18
  paddingBottom: string;
19
19
  };
20
20
  };
21
- export declare const BorderedIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "style" | "size" | "action" | "color" | "className" | "disabled" | "tabIndex" | "loading" | "classes" | "sx" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loadingIndicator"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
21
+ export declare const BorderedIconButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "children" | "className" | "style" | "classes" | "color" | "sx" | "tabIndex" | "action" | "disabled" | "size" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "loading" | "loadingIndicator"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -30,6 +30,12 @@ declare const AccordionPropsSchema: z.ZodObject<{
30
30
  right: z.ZodNumber;
31
31
  left: z.ZodNumber;
32
32
  }, z.core.$strip>>>;
33
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
34
+ top: z.ZodNumber;
35
+ bottom: z.ZodNumber;
36
+ right: z.ZodNumber;
37
+ left: z.ZodNumber;
38
+ }, z.core.$strip>>>;
33
39
  }, z.core.$strip>>>;
34
40
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
35
41
  items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -6,12 +6,19 @@ type PaddingValue = {
6
6
  bottom: number;
7
7
  left: number;
8
8
  };
9
+ type MarginValue = {
10
+ top: number;
11
+ right: number;
12
+ bottom: number;
13
+ left: number;
14
+ };
9
15
  type Props = {
10
16
  props?: {
11
17
  bannerId?: string;
12
18
  bannerName?: string | null;
13
19
  contentDocument?: TReaderDocument | null;
14
20
  padding?: PaddingValue | null;
21
+ margin?: MarginValue | null;
15
22
  } | null;
16
23
  };
17
24
  declare const AppBannerEditor: React.FC<Props>;
@@ -9,6 +9,12 @@ declare const AppBannerPropsSchema: z.ZodObject<{
9
9
  bottom: z.ZodNumber;
10
10
  left: z.ZodNumber;
11
11
  }, z.core.$strip>>>;
12
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13
+ top: z.ZodNumber;
14
+ right: z.ZodNumber;
15
+ bottom: z.ZodNumber;
16
+ left: z.ZodNumber;
17
+ }, z.core.$strip>>>;
12
18
  }, z.core.$strip>;
13
19
  export default AppBannerPropsSchema;
14
20
  export type AppBannerPickerProps = z.infer<typeof AppBannerPropsSchema>;
@@ -26,21 +26,21 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
26
26
  gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
27
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
28
28
  center: "center";
29
- "space-between": "space-between";
30
- start: "start";
31
29
  end: "end";
30
+ start: "start";
31
+ "space-between": "space-between";
32
32
  }>>>;
33
33
  alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
34
34
  center: "center";
35
- "space-between": "space-between";
36
- start: "start";
37
35
  end: "end";
36
+ start: "start";
37
+ "space-between": "space-between";
38
38
  }>>>;
39
39
  alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
40
40
  center: "center";
41
- "space-between": "space-between";
42
- start: "start";
43
41
  end: "end";
42
+ start: "start";
43
+ "space-between": "space-between";
44
44
  }>>>;
45
45
  wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
46
46
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -67,18 +67,18 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
67
67
  vertical: "vertical";
68
68
  }>>>;
69
69
  contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
70
- top: "top";
71
70
  bottom: "bottom";
71
+ top: "top";
72
72
  middle: "middle";
73
73
  }>>>;
74
74
  contentAlignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
75
- top: "top";
76
75
  bottom: "bottom";
76
+ top: "top";
77
77
  middle: "middle";
78
78
  }>>>;
79
79
  contentAlignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
80
- top: "top";
81
80
  bottom: "bottom";
81
+ top: "top";
82
82
  middle: "middle";
83
83
  }>>>;
84
84
  }, z.core.$strip>>>;
@@ -67,37 +67,37 @@ declare const ContainerPropsSchema: z.ZodObject<{
67
67
  heightMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
68
68
  overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
69
69
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
70
- right: "right";
71
- left: "left";
72
70
  center: "center";
71
+ left: "left";
72
+ right: "right";
73
73
  }>>>;
74
74
  alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
75
- right: "right";
76
- left: "left";
77
75
  center: "center";
76
+ left: "left";
77
+ right: "right";
78
78
  }>>>;
79
79
  alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
80
- right: "right";
81
- left: "left";
82
80
  center: "center";
81
+ left: "left";
82
+ right: "right";
83
83
  }>>>;
84
84
  tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
85
- div: "div";
86
- section: "section";
87
85
  article: "article";
88
- nav: "nav";
89
86
  aside: "aside";
90
- header: "header";
87
+ div: "div";
91
88
  footer: "footer";
89
+ header: "header";
92
90
  main: "main";
91
+ nav: "nav";
92
+ section: "section";
93
93
  }>>>;
94
94
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
95
95
  elementId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
96
96
  showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
97
97
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
98
98
  linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
99
- _self: "_self";
100
99
  _blank: "_blank";
100
+ _self: "_self";
101
101
  }>>>;
102
102
  }, z.core.$strip>>>;
103
103
  }, z.core.$strip>;
@@ -18,9 +18,9 @@ declare const DemoPropsSchema: z.ZodObject<{
18
18
  left: z.ZodNumber;
19
19
  }, z.core.$strip>>>;
20
20
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
21
- right: "right";
22
- left: "left";
23
21
  center: "center";
22
+ left: "left";
23
+ right: "right";
24
24
  }>>>;
25
25
  }, z.core.$strip>>>;
26
26
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -165,11 +165,11 @@ declare const EmailLayoutPropsSchema: z.ZodObject<{
165
165
  }, z.core.$strip>>>;
166
166
  behaviour: z.ZodNullable<z.ZodOptional<z.ZodObject<{
167
167
  position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
168
- top: "top";
168
+ center: "center";
169
169
  bottom: "bottom";
170
- right: "right";
171
170
  left: "left";
172
- center: "center";
171
+ right: "right";
172
+ top: "top";
173
173
  "top-left": "top-left";
174
174
  "top-right": "top-right";
175
175
  "bottom-right": "bottom-right";
@@ -6,12 +6,19 @@ type PaddingValue = {
6
6
  bottom: number;
7
7
  left: number;
8
8
  };
9
+ type MarginValue = {
10
+ top: number;
11
+ right: number;
12
+ bottom: number;
13
+ left: number;
14
+ };
9
15
  type FaqEditorProps = {
10
16
  props?: {
11
17
  faqGroupId?: string;
12
18
  faqGroupName?: string | null;
13
19
  contentDocument?: TReaderDocument | null;
14
20
  padding?: PaddingValue | null;
21
+ margin?: MarginValue | null;
15
22
  } | null;
16
23
  };
17
24
  declare const FaqEditor: React.FC<FaqEditorProps>;
@@ -9,6 +9,12 @@ declare const FaqPickerPropsSchema: z.ZodObject<{
9
9
  bottom: z.ZodNumber;
10
10
  left: z.ZodNumber;
11
11
  }, z.core.$strip>>>;
12
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13
+ top: z.ZodNumber;
14
+ right: z.ZodNumber;
15
+ bottom: z.ZodNumber;
16
+ left: z.ZodNumber;
17
+ }, z.core.$strip>>>;
12
18
  }, z.core.$strip>;
13
19
  export default FaqPickerPropsSchema;
14
20
  export type FaqPickerProps = z.infer<typeof FaqPickerPropsSchema>;
@@ -10,9 +10,9 @@ declare const FormsPropsSchema: z.ZodObject<{
10
10
  heightTablet: z.ZodOptional<z.ZodString>;
11
11
  heightMobile: z.ZodOptional<z.ZodString>;
12
12
  alignment: z.ZodDefault<z.ZodEnum<{
13
- right: "right";
14
- left: "left";
15
13
  center: "center";
14
+ left: "left";
15
+ right: "right";
16
16
  }>>;
17
17
  }, z.core.$strip>>>;
18
18
  }, z.core.$strip>;
@@ -39,14 +39,14 @@ declare const GridPropsSchema: z.ZodObject<{
39
39
  columnsCountTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
40
40
  columnsCountMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
41
  contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
42
- top: "top";
43
42
  bottom: "bottom";
43
+ top: "top";
44
44
  middle: "middle";
45
45
  }>>>;
46
46
  horizontalAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
47
- right: "right";
48
- left: "left";
49
47
  center: "center";
48
+ left: "left";
49
+ right: "right";
50
50
  }>>>;
51
51
  repeatableEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
52
52
  columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -31,8 +31,8 @@ declare const MarqueePropsSchema: z.ZodObject<{
31
31
  }, z.core.$strip>>>;
32
32
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
33
33
  direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
34
- right: "right";
35
34
  left: "left";
35
+ right: "right";
36
36
  up: "up";
37
37
  down: "down";
38
38
  }>>>;
@@ -40,6 +40,11 @@ declare const MarqueePropsSchema: z.ZodObject<{
40
40
  pauseOnHover: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
41
41
  repeat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
42
42
  fadeEdges: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
43
+ verticalAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
44
+ bottom: "bottom";
45
+ top: "top";
46
+ middle: "middle";
47
+ }>>>;
43
48
  items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
44
49
  contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
45
50
  }, z.core.$strip>>>>;
@@ -4,9 +4,9 @@ declare const MenuPropsSchema: z.ZodObject<{
4
4
  useCustomMenu: z.ZodDefault<z.ZodBoolean>;
5
5
  stickyNav: z.ZodDefault<z.ZodBoolean>;
6
6
  position: z.ZodDefault<z.ZodEnum<{
7
- right: "right";
8
- left: "left";
9
7
  center: "center";
8
+ left: "left";
9
+ right: "right";
10
10
  }>>;
11
11
  orientation: z.ZodDefault<z.ZodEnum<{
12
12
  horizontal: "horizontal";
@@ -34,9 +34,9 @@ declare const PricingAccordionPropsSchema: z.ZodObject<{
34
34
  cardFontFamily: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
35
  cardFontWeight: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
36
  cardTextAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
37
- right: "right";
38
- left: "left";
39
37
  center: "center";
38
+ left: "left";
39
+ right: "right";
40
40
  }>>>;
41
41
  cardHoverBgColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
42
  cardHoverShadow: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -10,9 +10,9 @@ declare const RatingPropsSchema: z.ZodObject<{
10
10
  fontFamily: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
11
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
12
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
13
- right: "right";
14
- left: "left";
15
13
  center: "center";
14
+ left: "left";
15
+ right: "right";
16
16
  }>>>;
17
17
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
18
  top: z.ZodNumber;
@@ -20,6 +20,12 @@ declare const RatingPropsSchema: z.ZodObject<{
20
20
  right: z.ZodNumber;
21
21
  left: z.ZodNumber;
22
22
  }, z.core.$strip>>>;
23
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
24
+ top: z.ZodNumber;
25
+ bottom: z.ZodNumber;
26
+ right: z.ZodNumber;
27
+ left: z.ZodNumber;
28
+ }, z.core.$strip>>>;
23
29
  }, z.core.$strip>>>;
24
30
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
25
31
  value: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
@@ -23,6 +23,12 @@ declare const TabsBlockPropsSchema: z.ZodObject<{
23
23
  right: z.ZodNumber;
24
24
  left: z.ZodNumber;
25
25
  }, z.core.$strip>>>;
26
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
27
+ top: z.ZodNumber;
28
+ bottom: z.ZodNumber;
29
+ right: z.ZodNumber;
30
+ left: z.ZodNumber;
31
+ }, z.core.$strip>>>;
26
32
  tabActiveColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
33
  tabTextColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
34
  tabBgColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -17,6 +17,12 @@ declare const TimerPropsSchema: z.ZodObject<{
17
17
  bottom: z.ZodNumber;
18
18
  left: z.ZodNumber;
19
19
  }, z.core.$strip>>>;
20
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
21
+ top: z.ZodNumber;
22
+ right: z.ZodNumber;
23
+ bottom: z.ZodNumber;
24
+ left: z.ZodNumber;
25
+ }, z.core.$strip>>>;
20
26
  }, z.core.$strip>>>;
21
27
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22
28
  layout: z.ZodDefault<z.ZodEnum<{
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { TEditorBlock } from '../../../editor/core';
2
3
  export declare function autoStartInlineEditing(blockId: string, block: TEditorBlock): void;
3
4
  export type EditorChildrenChange = {
@@ -13,4 +14,6 @@ export type EditorChildrenIdsProps = {
13
14
  insertAboveCallback?: (block: TEditorBlock) => void;
14
15
  suppressAdd?: boolean;
15
16
  };
16
- export default function EditorChildrenIds({ childrenIds, onChange, maxChildren, showContainerScopePrompt, insertAboveCallback, suppressAdd, }: EditorChildrenIdsProps): import("react/jsx-runtime").JSX.Element;
17
+ declare function EditorChildrenIds({ childrenIds, onChange, maxChildren, showContainerScopePrompt, insertAboveCallback, suppressAdd, }: EditorChildrenIdsProps): import("react/jsx-runtime").JSX.Element;
18
+ declare const _default: React.MemoExoticComponent<typeof EditorChildrenIds>;
19
+ export default _default;
@@ -2,5 +2,6 @@ import { default as React } from 'react';
2
2
  type TEditorBlockWrapperProps = {
3
3
  children: React.JSX.Element;
4
4
  };
5
- export default function EditorBlockWrapper({ children }: TEditorBlockWrapperProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
5
+ declare function EditorBlockWrapperImpl({ children }: TEditorBlockWrapperProps): import("react/jsx-runtime").JSX.Element;
6
+ declare const EditorBlockWrapper: React.MemoExoticComponent<typeof EditorBlockWrapperImpl>;
7
+ export default EditorBlockWrapper;
@@ -1,14 +1,20 @@
1
1
  import { DropPosition } from '../documentUtils';
2
+ export declare function beginCanvasBlockDrag(blockId: string): void;
3
+ export declare function endCanvasBlockDrag(): void;
2
4
  /**
3
- * Canvas-side counterpart to the Layers panel's drag logic (useLayerNode). Lets
4
- * a tile dragged from the left BlocksPanel palette be DROPPED onto a specific
5
- * on-canvas block, so the new block lands exactly under the cursor (before /
6
- * after the hovered block, or inside it when it's a container) instead of always
7
- * being appended to the bottom.
5
+ * Canvas-side drop target used by every block wrapper. Accepts two drag
6
+ * flavours:
8
7
  *
9
- * Returns the current drop position (for rendering the indicator) plus the three
10
- * drag handlers to spread onto the block wrapper. Only reacts to the palette
11
- * drag MIME so it never interferes with text selection or other drags.
8
+ * PALETTE_DRAG_MIME a tile dragged from the left BlocksPanel palette.
9
+ * Inserts a brand-new block at the drop position (before / after / inside).
10
+ *
11
+ * • CANVAS_DRAG_MIME — an existing on-canvas block dragged via its TuneMenu
12
+ * drag handle. Detaches the block from its current parent and re-inserts
13
+ * at the drop position via `moveBlock` (same function the Layers panel's
14
+ * drag-drop uses).
15
+ *
16
+ * Returns the current drop position (for rendering the indicator) plus the
17
+ * drag handlers to spread onto the block wrapper.
12
18
  */
13
19
  export declare function useCanvasDrop(blockId: string): {
14
20
  dropPos: DropPosition;
@@ -125,6 +125,7 @@ export declare function reconcileRepeatFieldValues(documentTree: Record<string,
125
125
  export declare function syncCellStyles(documentTree: Record<string, any>, sourceRootId: string, targetRootIds: string[]): Record<string, any> | null;
126
126
  export type DropPosition = 'before' | 'after' | 'inside';
127
127
  export declare const PALETTE_DRAG_MIME = "application/x-ahd-palette-block";
128
+ export declare const CANVAS_DRAG_MIME = "application/x-ahd-canvas-block";
128
129
  /**
129
130
  * Move `draggedId` relative to `targetId`:
130
131
  * - 'before' / 'after' → place it as a sibling of the target in the target's
@@ -0,0 +1,6 @@
1
+ import { TResponsiveBlockData } from './responsiveStyle';
2
+ /**
3
+ * The <style>-tag body scoped to one block instance's wrapper id, or ''
4
+ * when the block has no responsive style overrides to emit.
5
+ */
6
+ export declare function buildResponsiveInstanceCss(wrapperId: string, data: TResponsiveBlockData | null | undefined): string;
@@ -36,9 +36,9 @@ export declare function zFontWeight(): z.ZodEnum<{
36
36
  normal: "normal";
37
37
  }>;
38
38
  export declare function zTextAlign(): z.ZodEnum<{
39
- right: "right";
40
- left: "left";
41
39
  center: "center";
40
+ left: "left";
41
+ right: "right";
42
42
  }>;
43
43
  export declare function zPadding(): z.ZodObject<{
44
44
  top: z.ZodNumber;
@@ -4,9 +4,13 @@ type EditorBlockProps = {
4
4
  id: string;
5
5
  };
6
6
  /**
7
+ * Loads a single block by id from the editor store and renders it. Subscribes
8
+ * only to that block, so sibling edits don't re-render this subtree — the
9
+ * per-block reference stays stable across setDocument calls that didn't
10
+ * change this block (see _shallowBlockEqual in EditorContext).
7
11
  *
8
- * @param id - Block id
9
- * @returns EditorBlock component that loads data from the EditorDocumentContext
12
+ * Memoized by id React.memo + a stable id prop skips unchanged subtrees
13
+ * entirely during diff.
10
14
  */
11
15
  declare function EditorBlock({ id }: EditorBlockProps): import("react/jsx-runtime").JSX.Element;
12
16
  declare const _default: React.MemoExoticComponent<typeof EditorBlock>;
@@ -7,6 +7,8 @@ type TValue = {
7
7
  selectedSidebarTab: 'block-configuration' | 'styles' | 'behaviour' | 'layout' | 'settings' | 'background' | 'page-pilot-ai' | 'layers' | 'brand' | 'seo' | 'variables' | 'research';
8
8
  selectedMainTab: 'editor' | 'preview' | 'json' | 'html';
9
9
  selectedScreenSize: 'desktop' | 'mobile' | 'tablet';
10
+ zoomLevel: number;
11
+ minimapVisible: boolean;
10
12
  /**
11
13
  * Which device the responsive sidebar tabs are currently authoring
12
14
  * for. Independent of `selectedScreenSize` (the top-toolbar preview
@@ -111,6 +113,17 @@ export declare function useSelectedBlockId(): string;
111
113
  */
112
114
  export declare function useIsBlockSelected(id: string): boolean;
113
115
  export declare function useSelectedScreenSize(): "tablet" | "mobile" | "desktop";
116
+ export declare function useZoomLevel(): number;
117
+ /**
118
+ * View-only state — deliberately does NOT go through pushToUndoStack, so
119
+ * zooming never shows up in Undo/Redo. Clamped to [ZOOM_MIN, ZOOM_MAX].
120
+ */
121
+ export declare function setZoomLevel(zoomLevel: number): void;
122
+ export declare function zoomIn(): void;
123
+ export declare function zoomOut(): void;
124
+ export declare function resetZoom(): void;
125
+ export declare function useMinimapVisible(): boolean;
126
+ export declare function toggleMinimapVisible(): void;
114
127
  /** Which device's properties the sidebar is currently editing (see ResponsiveDeviceTabs). */
115
128
  export declare function useSidebarEditingDevice(): "tablet" | "mobile" | "desktop";
116
129
  export declare function setSidebarEditingDevice(sidebarEditingDevice: TValue['sidebarEditingDevice']): void;
@@ -159,7 +172,7 @@ type SetActiveStepIndexOptions = {
159
172
  };
160
173
  export declare function setActiveStepIndex(activeStepIndex: number, options?: SetActiveStepIndexOptions): void;
161
174
  export declare function setSelectedMainTab(selectedMainTab: TValue['selectedMainTab']): void;
162
- export declare function useSelectedSidebarTab(): "layout" | "behaviour" | "block-configuration" | "styles" | "settings" | "background" | "page-pilot-ai" | "layers" | "brand" | "seo" | "variables" | "research";
175
+ export declare function useSelectedSidebarTab(): "background" | "layout" | "behaviour" | "block-configuration" | "styles" | "settings" | "page-pilot-ai" | "layers" | "brand" | "seo" | "variables" | "research";
163
176
  export declare function useInspectorDrawerOpen(): boolean;
164
177
  export declare function useSamplesDrawerOpen(): boolean;
165
178
  export declare function useInlineEditingEnabled(): boolean;
@@ -175,6 +188,7 @@ export declare function useHoveredBlockId(): string;
175
188
  */
176
189
  export declare function useIsBlockHovered(id: string): boolean;
177
190
  export declare function setHoveredBlockId(hoveredBlockId: string | null): void;
191
+ export declare function getHoveredBlockId(): string | null;
178
192
  export declare function useCopiedBlock(): {
179
193
  rootBlockId: string;
180
194
  blocks: Record<string, any>;