pagepilot-visual-editor 1.0.5 → 1.0.7

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 (205) hide show
  1. package/README.md +276 -30
  2. package/dist/api/ApiClientContext.d.ts +17 -0
  3. package/dist/api/PagepilotApiClient.d.ts +63 -0
  4. package/dist/api/useTenantPlan.d.ts +25 -0
  5. package/dist/blocks-internal/block-button/src/index.d.ts +32 -1
  6. package/dist/blocks-internal/block-button-group/src/index.d.ts +20 -1
  7. package/dist/blocks-internal/block-columns-container/src/index.d.ts +38 -0
  8. package/dist/blocks-internal/block-container/src/index.d.ts +44 -5
  9. package/dist/blocks-internal/block-divider/src/index.d.ts +6 -0
  10. package/dist/blocks-internal/block-grid/src/index.d.ts +6 -0
  11. package/dist/blocks-internal/block-heading/src/index.d.ts +3 -2
  12. package/dist/blocks-internal/block-html/src/index.d.ts +6 -0
  13. package/dist/blocks-internal/block-iframe/src/index.d.ts +4 -0
  14. package/dist/blocks-internal/block-image/src/index.d.ts +19 -0
  15. package/dist/blocks-internal/block-logo/src/index.d.ts +20 -7
  16. package/dist/blocks-internal/block-stepper/src/index.d.ts +2 -2
  17. package/dist/blocks-internal/block-text/src/index.d.ts +1 -1
  18. package/dist/blocks-internal/block-video/src/index.d.ts +4 -0
  19. package/dist/blocks-internal/block-youtube-url/src/index.d.ts +4 -0
  20. package/dist/editor/Shell.d.ts +1 -1
  21. package/dist/editor/blockToggles.d.ts +1 -1
  22. package/dist/editor/publish/PagePublishDialog.d.ts +21 -0
  23. package/dist/editor/types.d.ts +70 -0
  24. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveDeviceTabs.d.ts +8 -0
  25. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveEditingBanner.d.ts +13 -0
  26. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveModeContext.d.ts +12 -0
  27. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/blockStyleClipboard.d.ts +4 -4
  28. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AppBannerPickerSidebarPanel.d.ts +19 -0
  29. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/DemoPickerSidebarPanel.d.ts +31 -0
  30. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +26 -0
  31. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FaqPickerSidebarPanel.d.ts +18 -0
  32. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FormsPickerSidebarPanel.d.ts +18 -0
  33. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MenuPickerSidebarPanel.d.ts +34 -0
  34. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PaginationSidebarPanel.d.ts +7 -0
  35. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TableSidebarPanel.d.ts +9 -0
  36. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TimerSidebarPanel.d.ts +7 -0
  37. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/CollapsibleSection.d.ts +8 -2
  38. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/MediaLibraryButton.d.ts +1 -1
  39. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/SectionWrapper.d.ts +2 -1
  40. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/deviceProp.d.ts +14 -0
  41. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +4 -2
  42. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +7 -1
  43. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +3 -0
  44. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +4 -1
  45. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadiusInput.d.ts +13 -11
  46. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SelectInput.d.ts +15 -0
  47. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/StepperInput.d.ts +19 -0
  48. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInputWithSelect.d.ts +4 -1
  49. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/sanitizeAgainstSchema.d.ts +11 -0
  50. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +2 -1
  51. package/dist/editor-sample/App/InspectorDrawer/EditorBehavior.d.ts +16 -0
  52. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
  53. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/SectionsModal.d.ts +15 -0
  54. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatePreviewDialog.d.ts +14 -0
  55. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatesList.d.ts +45 -0
  56. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/icons/index.d.ts +37 -1
  57. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers.d.ts +101 -0
  58. package/dist/editor-sample/App/InspectorDrawer/PagePilotAiPanel.d.ts +1 -0
  59. package/dist/editor-sample/App/InspectorDrawer/SeoPanel/SeoFieldLabel.d.ts +7 -0
  60. package/dist/editor-sample/App/InspectorDrawer/SeoPanel/SeoPanel.styled.d.ts +12 -0
  61. package/dist/editor-sample/App/InspectorDrawer/SeoPanel/index.d.ts +6 -0
  62. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ApiResponseDialog.d.ts +10 -0
  63. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ArrayFieldEditor.d.ts +14 -0
  64. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/ContainerRepeatSection.d.ts +9 -0
  65. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/DataReferenceDialog.d.ts +15 -0
  66. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/DataReferencePanel.d.ts +20 -0
  67. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/GrowDirectionDialog.d.ts +13 -0
  68. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/RowCard.d.ts +23 -0
  69. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/SectionHeader.d.ts +13 -0
  70. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/VariablesPaywall.d.ts +1 -0
  71. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/constants.d.ts +2 -0
  72. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/dataReferenceUtils.d.ts +34 -0
  73. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/index.d.ts +1 -0
  74. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/repeatRowActions.d.ts +31 -0
  75. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/styles.d.ts +53 -0
  76. package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/upgradeDialog.d.ts +4 -0
  77. package/dist/editor-sample/App/InspectorDrawer/components/MiniRichTextInput.d.ts +7 -0
  78. package/dist/editor-sample/App/InspectorDrawer/components/ScalarFieldInput.d.ts +10 -0
  79. package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
  80. package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  81. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerEditor.d.ts +18 -0
  82. package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +14 -0
  83. package/dist/editor-sample/documents/blocks/AppBannerPicker/appBanner.styled.d.ts +2 -0
  84. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +20 -1
  85. package/dist/editor-sample/documents/blocks/Carousel/CarouselPropsSchema.d.ts +7 -0
  86. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +38 -0
  87. package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +56 -3
  88. package/dist/editor-sample/documents/blocks/DemoPicker/DemoEditor.d.ts +3 -0
  89. package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +37 -0
  90. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts +2 -0
  91. package/dist/editor-sample/documents/blocks/{PagePilotLayout/PagePilotLayoutPropsSchema.d.ts → EmailLayout/EmailLayoutPropsSchema.d.ts} +51 -4
  92. package/dist/editor-sample/documents/blocks/FaqPicker/FaqEditor.d.ts +18 -0
  93. package/dist/editor-sample/documents/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +14 -0
  94. package/dist/editor-sample/documents/blocks/FaqPicker/faqPicker.styled.d.ts +3 -0
  95. package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsEditor.d.ts +6 -0
  96. package/dist/editor-sample/documents/blocks/FormsPicker/FormsEditor.d.ts +3 -0
  97. package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +33 -0
  98. package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +13 -2
  99. package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +12 -0
  100. package/dist/editor-sample/documents/blocks/MenuPicker/MenuEditor.d.ts +7 -0
  101. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +45 -0
  102. package/dist/editor-sample/documents/blocks/MenuPicker/mergeMenuItems.d.ts +13 -0
  103. package/dist/editor-sample/documents/blocks/Pagination/PaginationEditor.d.ts +2 -0
  104. package/dist/editor-sample/documents/blocks/Pagination/PaginationPropsSchema.d.ts +4 -0
  105. package/dist/editor-sample/documents/blocks/Table/TableCellEditor.d.ts +11 -0
  106. package/dist/editor-sample/documents/blocks/Table/TableEditor.d.ts +2 -0
  107. package/dist/editor-sample/documents/blocks/Table/TablePropsSchema.d.ts +1 -0
  108. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +12 -0
  109. package/dist/editor-sample/documents/blocks/Timer/TimerEditor.d.ts +2 -0
  110. package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +38 -0
  111. package/dist/editor-sample/documents/blocks/Timer/timerMath.d.ts +9 -0
  112. package/dist/editor-sample/documents/blocks/Timer/variants/CircularProgressView.d.ts +9 -0
  113. package/dist/editor-sample/documents/blocks/Timer/variants/DigitalFlipView.d.ts +9 -0
  114. package/dist/editor-sample/documents/blocks/Timer/variants/TextInlineView.d.ts +9 -0
  115. package/dist/editor-sample/documents/blocks/helpers/BlockCategories.d.ts +1 -0
  116. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +1 -1
  117. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +1 -1
  118. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +2 -1
  119. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +2 -1
  120. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/blockMenuStyles.d.ts +11 -0
  121. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/brandButtonDefaults.d.ts +4 -2
  122. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +8 -0
  123. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/gridPresets.d.ts +17 -0
  124. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +3 -2
  125. package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +2 -1
  126. package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +2 -0
  127. package/dist/editor-sample/documents/blocks/helpers/block-wrappers/saveAsTemplateUtils.d.ts +97 -0
  128. package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +96 -17
  129. package/dist/editor-sample/documents/blocks/helpers/responsiveInstanceCss.d.ts +6 -0
  130. package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +106 -0
  131. package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +1 -1
  132. package/dist/editor-sample/documents/editor/EditorContext.d.ts +11 -2
  133. package/dist/editor-sample/documents/editor/core.d.ts +577 -16
  134. package/dist/editor-sample/documents/editor/templateVariables.d.ts +73 -0
  135. package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
  136. package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +16 -0
  137. package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerReader.d.ts +3 -0
  138. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +20 -1
  139. package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +4 -0
  140. package/dist/email-builder-core/blocks/Carousel/CarouselPropsSchema.d.ts +6 -0
  141. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +38 -0
  142. package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +56 -3
  143. package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +36 -0
  144. package/dist/email-builder-core/blocks/DemoPicker/DemoReader.d.ts +3 -0
  145. package/dist/email-builder-core/blocks/{PagePilotLayout/PagePilotLayoutPropsSchema.d.ts → EmailLayout/EmailLayoutPropsSchema.d.ts} +41 -2
  146. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutReader.d.ts +3 -0
  147. package/dist/email-builder-core/blocks/EmailLayout/emailLayoutResponsive.d.ts +46 -0
  148. package/dist/email-builder-core/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +16 -0
  149. package/dist/email-builder-core/blocks/FaqPicker/FaqReader.d.ts +3 -0
  150. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +23 -2
  151. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsReader.d.ts +6 -0
  152. package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +71 -1
  153. package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +19 -0
  154. package/dist/email-builder-core/blocks/FormsPicker/FormsReader.d.ts +3 -0
  155. package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +12 -2
  156. package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +16 -0
  157. package/dist/email-builder-core/blocks/Marquee/MarqueeReader.d.ts +1 -1
  158. package/dist/email-builder-core/blocks/Marquee/marqueeMotion.d.ts +40 -0
  159. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +87 -0
  160. package/dist/email-builder-core/blocks/MenuPicker/MenuReader.d.ts +3 -0
  161. package/dist/email-builder-core/blocks/MenuPicker/menuResponsiveCss.d.ts +27 -0
  162. package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +119 -0
  163. package/dist/email-builder-core/blocks/Pagination/PaginationReader.d.ts +2 -0
  164. package/dist/email-builder-core/blocks/Pagination/paginationShared.d.ts +74 -0
  165. package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +48 -0
  166. package/dist/email-builder-core/blocks/Table/TableReader.d.ts +13 -0
  167. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +12 -0
  168. package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +38 -0
  169. package/dist/email-builder-core/blocks/Timer/TimerReader.d.ts +2 -0
  170. package/dist/email-builder-core/blocks/Timer/variants/CircularProgressView.d.ts +11 -0
  171. package/dist/email-builder-core/blocks/Timer/variants/DigitalFlipView.d.ts +11 -0
  172. package/dist/email-builder-core/blocks/Timer/variants/TextInlineView.d.ts +11 -0
  173. package/dist/email-builder-core/blocks/responsiveBreakpoints.d.ts +32 -0
  174. package/dist/host-stubs/modules/_hostListShim.d.ts +18 -0
  175. package/dist/host-stubs/modules/appBannerV2/list/appBannerListActions.d.ts +1 -0
  176. package/dist/host-stubs/modules/appBannerV2/list/appBannerListSelectors.d.ts +1 -0
  177. package/dist/host-stubs/modules/demo/list/demoListActions.d.ts +1 -0
  178. package/dist/host-stubs/modules/demo/list/demoListSelectors.d.ts +1 -0
  179. package/dist/host-stubs/modules/faqGroup/list/faqGroupListActions.d.ts +1 -0
  180. package/dist/host-stubs/modules/faqGroup/list/faqGroupListSelectors.d.ts +1 -0
  181. package/dist/host-stubs/modules/forms/formsService.d.ts +9 -0
  182. package/dist/host-stubs/modules/menu/list/menuListActions.d.ts +1 -0
  183. package/dist/host-stubs/modules/menu/list/menuListSelectors.d.ts +1 -0
  184. package/dist/host-stubs/modules/store.d.ts +3 -0
  185. package/dist/host-stubs/react-redux.d.ts +3 -0
  186. package/dist/host-stubs/style/menu.styled.d.ts +73 -15
  187. package/dist/host-stubs/tanstack-react-query.d.ts +9 -0
  188. package/dist/host-stubs/view/media/IconLibrary/ChooseImageDialog.d.ts +10 -0
  189. package/dist/host-stubs/view/media/IconLibrary/IconGrid.d.ts +8 -0
  190. package/dist/host-stubs/view/media/IconLibrary/IconGridCell.d.ts +8 -0
  191. package/dist/host-stubs/view/media/IconLibrary/IconLibraryModal.d.ts +6 -0
  192. package/dist/host-stubs/view/media/IconLibrary/IconProvider.d.ts +4 -0
  193. package/dist/host-stubs/view/media/IconLibrary/IconSearch.d.ts +6 -0
  194. package/dist/host-stubs/view/media/IconLibrary/iconLoaders.d.ts +6 -0
  195. package/dist/host-stubs/view/media/IconLibrary/iconNames.d.ts +1 -0
  196. package/dist/host-stubs/view/media/IconLibrary/index.d.ts +6 -0
  197. package/dist/host-stubs/view/shared/htmlSanitize.d.ts +15 -0
  198. package/dist/index.cjs +375 -346
  199. package/dist/index.d.ts +2 -0
  200. package/dist/index.js +56722 -40238
  201. package/dist/style.css +1 -1
  202. package/package.json +1 -1
  203. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PagePilotLayoutSidebarPanel.d.ts +0 -24
  204. package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutEditor.d.ts +0 -2
  205. package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutReader.d.ts +0 -3
@@ -12,18 +12,37 @@ export declare const ButtonGroupPropsSchema: z.ZodObject<{
12
12
  }, z.core.$strip>>>;
13
13
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14
14
  direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
15
+ row: "row";
16
+ column: "column";
17
+ }>>>;
18
+ directionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
19
+ row: "row";
15
20
  column: "column";
21
+ }>>>;
22
+ directionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
16
23
  row: "row";
24
+ column: "column";
17
25
  }>>>;
18
26
  gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
27
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
20
28
  center: "center";
29
+ "space-between": "space-between";
30
+ start: "start";
21
31
  end: "end";
32
+ }>>>;
33
+ alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
34
+ center: "center";
35
+ "space-between": "space-between";
22
36
  start: "start";
37
+ end: "end";
38
+ }>>>;
39
+ alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
40
+ center: "center";
23
41
  "space-between": "space-between";
42
+ start: "start";
43
+ end: "end";
24
44
  }>>>;
25
45
  wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
26
- fullWidthOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
27
46
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
47
  }, z.core.$strip>>>;
29
48
  }, z.core.$strip>;
@@ -9,6 +9,12 @@ export declare const ColumnsContainerPropsSchema: z.ZodObject<{
9
9
  right: 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
+ bottom: z.ZodNumber;
15
+ right: z.ZodNumber;
16
+ left: z.ZodNumber;
17
+ }, z.core.$strip>>>;
12
18
  }, z.core.$strip>>>;
13
19
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14
20
  widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
@@ -16,18 +22,50 @@ export declare const ColumnsContainerPropsSchema: z.ZodObject<{
16
22
  fixed: "fixed";
17
23
  fit: "fit";
18
24
  }>>>;
25
+ widthTypeTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
26
+ fill: "fill";
27
+ fixed: "fixed";
28
+ fit: "fit";
29
+ }>>>;
30
+ widthTypeMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
31
+ fill: "fill";
32
+ fixed: "fixed";
33
+ fit: "fit";
34
+ }>>>;
19
35
  fixedWidths: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>], null>>>;
36
+ fixedWidthsTablet: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>], null>>>;
37
+ fixedWidthsMobile: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>], null>>>;
20
38
  columnsCount: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
21
39
  columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
40
+ columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
+ columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
42
  columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
23
43
  horizontal: "horizontal";
24
44
  vertical: "vertical";
25
45
  }>>>;
46
+ columnsDirectionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
47
+ horizontal: "horizontal";
48
+ vertical: "vertical";
49
+ }>>>;
50
+ columnsDirectionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
51
+ horizontal: "horizontal";
52
+ vertical: "vertical";
53
+ }>>>;
26
54
  contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
27
55
  top: "top";
28
56
  bottom: "bottom";
29
57
  middle: "middle";
30
58
  }>>>;
59
+ contentAlignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
60
+ top: "top";
61
+ bottom: "bottom";
62
+ middle: "middle";
63
+ }>>>;
64
+ contentAlignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
65
+ top: "top";
66
+ bottom: "bottom";
67
+ middle: "middle";
68
+ }>>>;
31
69
  }, z.core.$strip>>>;
32
70
  }, z.core.$strip>;
33
71
  type TColumn = React.JSX.Element | React.JSX.Element[] | null;
@@ -1,10 +1,14 @@
1
- import { default as React } from 'react';
1
+ import * as React from 'react';
2
2
  import * as z from 'zod';
3
3
  export declare const ContainerPropsSchema: z.ZodObject<{
4
4
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5
5
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
6
6
  backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
7
  backgroundSize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ backgroundRepeat: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
9
+ repeat: "repeat";
10
+ "no-repeat": "no-repeat";
11
+ }>>>;
8
12
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
9
13
  borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
10
14
  topLeft: z.ZodNumber;
@@ -18,6 +22,12 @@ export declare const ContainerPropsSchema: z.ZodObject<{
18
22
  right: z.ZodNumber;
19
23
  left: z.ZodNumber;
20
24
  }, z.core.$strip>>>;
25
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
26
+ top: z.ZodNumber;
27
+ bottom: z.ZodNumber;
28
+ right: z.ZodNumber;
29
+ left: z.ZodNumber;
30
+ }, z.core.$strip>>>;
21
31
  borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
22
32
  top: z.ZodNumber;
23
33
  bottom: z.ZodNumber;
@@ -32,31 +42,59 @@ export declare const ContainerPropsSchema: z.ZodObject<{
32
42
  fixed: "fixed";
33
43
  fit: "fit";
34
44
  }>>>;
45
+ widthTypeTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
46
+ fill: "fill";
47
+ fixed: "fixed";
48
+ fit: "fit";
49
+ }>>>;
50
+ widthTypeMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
51
+ fill: "fill";
52
+ fixed: "fixed";
53
+ fit: "fit";
54
+ }>>>;
35
55
  width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
56
+ widthUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
57
+ px: "px";
58
+ "%": "%";
59
+ }>>>;
60
+ widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
61
+ widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
62
  height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
63
+ heightTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
64
+ heightMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
65
  overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
38
66
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
39
67
  right: "right";
40
68
  left: "left";
41
69
  center: "center";
42
70
  }>>>;
71
+ alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
72
+ right: "right";
73
+ left: "left";
74
+ center: "center";
75
+ }>>>;
76
+ alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
77
+ right: "right";
78
+ left: "left";
79
+ center: "center";
80
+ }>>>;
43
81
  tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
44
82
  div: "div";
83
+ section: "section";
45
84
  article: "article";
85
+ nav: "nav";
46
86
  aside: "aside";
47
- footer: "footer";
48
87
  header: "header";
88
+ footer: "footer";
49
89
  main: "main";
50
- nav: "nav";
51
- section: "section";
52
90
  }>>>;
53
91
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
54
92
  elementId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
55
93
  showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
56
94
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
57
95
  linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
58
- _blank: "_blank";
59
96
  _self: "_self";
97
+ _blank: "_blank";
60
98
  }>>>;
61
99
  }, z.core.$strip>>>;
62
100
  }, z.core.$strip>;
@@ -67,6 +105,7 @@ export declare const ContainerPropsDefaults: {
67
105
  readonly fullWidth: false;
68
106
  readonly widthType: "fit";
69
107
  readonly width: 300;
108
+ readonly widthUnit: "px";
70
109
  readonly alignment: "left";
71
110
  };
72
111
  export declare function Container({ style, props, children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
@@ -8,6 +8,12 @@ export declare const DividerPropsSchema: z.ZodObject<{
8
8
  right: z.ZodNumber;
9
9
  left: z.ZodNumber;
10
10
  }, z.core.$strip>>>;
11
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12
+ top: z.ZodNumber;
13
+ bottom: z.ZodNumber;
14
+ right: z.ZodNumber;
15
+ left: z.ZodNumber;
16
+ }, z.core.$strip>>>;
11
17
  }, z.core.$strip>>>;
12
18
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13
19
  lineColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
@@ -9,6 +9,12 @@ export declare const GridPropsSchema: z.ZodObject<{
9
9
  right: 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
+ bottom: z.ZodNumber;
15
+ right: z.ZodNumber;
16
+ left: z.ZodNumber;
17
+ }, z.core.$strip>>>;
12
18
  }, z.core.$strip>>>;
13
19
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
14
20
  columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -55,12 +55,12 @@ export declare const HeadingPropsSchema: z.ZodObject<{
55
55
  }>>>;
56
56
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
57
57
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
58
+ bold: "bold";
58
59
  400: "400";
59
60
  500: "500";
60
61
  600: "600";
61
62
  700: "700";
62
63
  normal: "normal";
63
- bold: "bold";
64
64
  }>>>;
65
65
  fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
66
66
  normal: "normal";
@@ -68,8 +68,8 @@ export declare const HeadingPropsSchema: z.ZodObject<{
68
68
  }>>>;
69
69
  textDecoration: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
70
70
  none: "none";
71
- "line-through": "line-through";
72
71
  underline: "underline";
72
+ "line-through": "line-through";
73
73
  "underline line-through": "underline line-through";
74
74
  }>>>;
75
75
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
@@ -96,3 +96,4 @@ export declare const HeadingPropsDefaults: {
96
96
  readonly openInNewTab: false;
97
97
  };
98
98
  export declare function Heading({ props, style }: HeadingProps): import("react/jsx-runtime").JSX.Element;
99
+ export declare function getFontSize(level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'): 16 | 32 | 20 | 24 | 18 | 14;
@@ -46,6 +46,12 @@ export declare const HtmlPropsSchema: z.ZodObject<{
46
46
  right: z.ZodNumber;
47
47
  left: z.ZodNumber;
48
48
  }, z.core.$strip>>>;
49
+ margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
50
+ top: z.ZodNumber;
51
+ bottom: z.ZodNumber;
52
+ right: z.ZodNumber;
53
+ left: z.ZodNumber;
54
+ }, z.core.$strip>>>;
49
55
  }, z.core.$strip>>>;
50
56
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
51
57
  contents: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1,5 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const IframePropsSchema: z.ZodObject<{
3
+ responsive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
+ tablet: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5
+ mobile: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
6
+ }, z.core.$strip>>>;
3
7
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
8
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5
9
  top: z.ZodNumber;
@@ -16,15 +16,23 @@ export declare const ImagePropsSchema: z.ZodObject<{
16
16
  }, z.core.$strip>>>;
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
18
  width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
+ widthUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
20
+ px: "px";
21
+ "%": "%";
22
+ }>>>;
19
23
  widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
24
  widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21
25
  height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26
+ heightTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
+ heightMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
28
  widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
23
29
  fill: "fill";
24
30
  fixed: "fixed";
25
31
  fit: "fit";
26
32
  }>>>;
27
33
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
34
+ urlTablet: z.ZodNullable<z.ZodOptional<z.ZodString>>;
35
+ urlMobile: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
36
  alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
29
37
  decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
30
38
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -46,16 +54,26 @@ export declare const ImagePropsSchema: z.ZodObject<{
46
54
  right: z.ZodNumber;
47
55
  left: z.ZodNumber;
48
56
  }, z.core.$strip>>>;
57
+ rotation: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
58
+ rotationTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
+ rotationMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
60
+ iconName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61
+ iconFillColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
49
62
  }, z.core.$strip>>>;
50
63
  }, z.core.$strip>;
51
64
  export type ImageProps = z.infer<typeof ImagePropsSchema>;
52
65
  export declare const ImagePropsDefaults: {
53
66
  readonly widthType: "fit";
54
67
  readonly width: 300;
68
+ readonly widthUnit: "px";
55
69
  readonly widthTablet: any;
56
70
  readonly widthMobile: any;
57
71
  readonly height: any;
72
+ readonly heightTablet: any;
73
+ readonly heightMobile: any;
58
74
  readonly url: "";
75
+ readonly urlTablet: any;
76
+ readonly urlMobile: any;
59
77
  readonly alt: "";
60
78
  readonly decorative: false;
61
79
  readonly linkHref: any;
@@ -63,5 +81,6 @@ export declare const ImagePropsDefaults: {
63
81
  readonly borderRadius: 0;
64
82
  readonly borderColor: any;
65
83
  readonly borderWidth: any;
84
+ readonly rotation: 0;
66
85
  };
67
86
  export declare function Image({ style, props }: ImageProps): import("react/jsx-runtime").JSX.Element;
@@ -16,6 +16,8 @@ export declare const LogoPropsSchema: z.ZodObject<{
16
16
  }, z.core.$strip>>>;
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
18
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19
+ urlTablet: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
+ urlMobile: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19
21
  alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
22
  decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
21
23
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -35,11 +37,19 @@ export declare const LogoPropsSchema: z.ZodObject<{
35
37
  right: z.ZodNumber;
36
38
  left: z.ZodNumber;
37
39
  }, z.core.$strip>>>;
40
+ iconName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
41
+ iconNameTablet: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ iconNameMobile: z.ZodNullable<z.ZodOptional<z.ZodString>>;
43
+ iconFillColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
44
+ iconFillColorTablet: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
45
+ iconFillColorMobile: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
38
46
  }, z.core.$strip>>>;
39
47
  }, z.core.$strip>;
40
48
  export type LogoProps = z.infer<typeof LogoPropsSchema>;
41
49
  export declare const LogoPropsDefaults: {
42
50
  readonly url: "";
51
+ readonly urlTablet: any;
52
+ readonly urlMobile: any;
43
53
  readonly alt: "Logo";
44
54
  readonly decorative: false;
45
55
  readonly linkHref: "https://pagepilot.fabbuilder.com/";
@@ -49,15 +59,18 @@ export declare const LogoPropsDefaults: {
49
59
  readonly borderRadius: 0;
50
60
  readonly borderColor: any;
51
61
  readonly borderWidth: any;
62
+ readonly iconName: any;
63
+ readonly iconNameTablet: any;
64
+ readonly iconNameMobile: any;
65
+ readonly iconFillColor: any;
66
+ readonly iconFillColorTablet: any;
67
+ readonly iconFillColorMobile: any;
52
68
  };
53
69
  /**
54
70
  * The Logo block renders an image at a fixed pixel width that the author
55
- * controls per breakpoint. Unlike the Image block, the page CSS does NOT
56
- * force `width: 100%` on logos at any breakpoint instead, per-breakpoint
57
- * widths are set via CSS custom properties on the wrapper:
58
- * --ahd-logo-w desktop width
59
- * --ahd-logo-w-tablet tablet width (≤1024px)
60
- * --ahd-logo-w-mobile mobile width (≤600px)
61
- * The logo CSS in renderDynamicCss reads these and applies them per breakpoint.
71
+ * controls per breakpoint. Like the Image block, it emits its OWN scoped
72
+ * `@media` CSS (keyed off a per-instance class) for the tablet/mobile widths —
73
+ * the global page CSS carries only overflow guards and must not set a width,
74
+ * or the two would fight at different breakpoints.
62
75
  */
63
76
  export declare function Logo({ style, props }: LogoProps): import("react/jsx-runtime").JSX.Element;
@@ -16,9 +16,9 @@ export declare const StepperPropsSchema: z.ZodObject<{
16
16
  }, z.core.$strip>>>;
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
18
  stepperType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
19
- both: "both";
20
- numeric: "numeric";
21
19
  dots: "dots";
20
+ numeric: "numeric";
21
+ both: "both";
22
22
  }>>>;
23
23
  totalDots: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
24
24
  activeIndex: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -36,12 +36,12 @@ export declare const TextPropsSchema: z.ZodObject<{
36
36
  BEBAS_NEUE: "BEBAS_NEUE";
37
37
  }>>>;
38
38
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
39
+ bold: "bold";
39
40
  400: "400";
40
41
  500: "500";
41
42
  600: "600";
42
43
  700: "700";
43
44
  normal: "normal";
44
- bold: "bold";
45
45
  }>>>;
46
46
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
47
47
  right: "right";
@@ -17,6 +17,10 @@ export declare const VideoPropsSchema: z.ZodObject<{
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
18
  width: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
19
19
  height: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
20
+ widthTablet: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
21
+ widthMobile: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
22
+ heightTablet: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
23
+ heightMobile: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
20
24
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
25
  alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22
26
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -17,6 +17,10 @@ export declare const YouTubeUrlPropsSchema: z.ZodObject<{
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
18
18
  width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
19
  height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
+ widthTablet: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
21
+ widthMobile: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
22
+ heightTablet: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
23
+ heightMobile: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
20
24
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
25
  alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22
26
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1,5 +1,5 @@
1
1
  import { PagePilotEditorProps } from './types';
2
- export default function Shell({ record, contentMetadata, behaviour, steps, sections, activeStepIndex, panels, title, recordTitle, recordStatus, headerExtra, children, onUpdateRecord, onChange, onSaveChanges, onPublish, onPublishMenu, renderPublish, onBack, onTogglePreview, onBackgroundChange, onNavigateBranding, onAddSection, topbar, mode, onToggleMode, }: PagePilotEditorProps & {
2
+ export default function Shell({ record, contentMetadata, behaviour, steps, sections, activeStepIndex, panels, title, recordTitle, recordStatus, headerExtra, children, onUpdateRecord, onChange, onSaveChanges, onPublish, onPublishMenu, renderPublish, onBack, onTogglePreview, onBackgroundChange, onNavigateBranding, onAddSection, onApiError, topbar, mode, onToggleMode, }: PagePilotEditorProps & {
3
3
  mode?: "light" | "dark";
4
4
  onToggleMode?: () => void;
5
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /** All block tile keys exposed in the Add-Block menu. */
2
- export type BlockKey = "heading" | "text" | "button" | "image" | "logo" | "video" | "avatar" | "divider" | "spacer" | "html" | "columns" | "flexColumns" | "grid" | "buttonGroup" | "container" | "stepper" | "accordion" | "pricingAccordion" | "tabs" | "carousel" | "rating" | "marquee" | "iframe" | "skipToMain" | "accessibilityTools";
2
+ export type BlockKey = "heading" | "text" | "button" | "image" | "logo" | "video" | "avatar" | "divider" | "spacer" | "html" | "columns" | "flexColumns" | "grid" | "buttonGroup" | "container" | "stepper" | "accordion" | "pricingAccordion" | "tabs" | "carousel" | "rating" | "marquee" | "iframe" | "skipToMain" | "accessibilityTools" | "timer" | "pagination" | "table" | "demoPicker" | "menuPicker" | "formsPicker" | "appBannerPicker" | "faqPicker";
3
3
  export type BlockToggles = Partial<Record<BlockKey, boolean>>;
4
4
  /** Maps a block's `type` string to the BlockKey that controls its tile. */
5
5
  export declare const BLOCK_TYPE_TO_KEY: Record<string, BlockKey>;
@@ -0,0 +1,21 @@
1
+ import { PagepilotApiClient } from '../../api/PagepilotApiClient';
2
+ import { PageRecord } from '../types';
3
+ interface PagePublishDialogProps {
4
+ open: boolean;
5
+ onClose: () => void;
6
+ record: PageRecord;
7
+ apiClient: PagepilotApiClient | null;
8
+ /**
9
+ * Called when the user hits Save Draft or Publish. Should trigger the
10
+ * matching Shell action (`runPublishAction`) — the dialog awaits it and
11
+ * only closes on `true`.
12
+ */
13
+ onSubmit: (action: "save" | "publish", opts: {
14
+ schedule: {
15
+ startDate: Date | null;
16
+ endDate: Date | null;
17
+ };
18
+ }) => Promise<boolean>;
19
+ }
20
+ export default function PagePublishDialog({ open, onClose, record, apiClient, onSubmit, }: PagePublishDialogProps): import("react/jsx-runtime").JSX.Element;
21
+ export {};
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { Theme } from '@mui/material';
3
3
  import { EditorPanelToggles } from '../editor-sample/App/InspectorDrawer/EditorBehavior';
4
4
  import { BlockToggles } from './blockToggles';
5
+ import { PagepilotApiConfig } from '../api/PagepilotApiClient';
5
6
  export interface PageRecord {
6
7
  /** Stable record id. */
7
8
  id?: string;
@@ -75,7 +76,20 @@ export interface TopbarToggles {
75
76
  sectionsDropdown?: boolean;
76
77
  undo?: boolean;
77
78
  redo?: boolean;
79
+ /**
80
+ * "Deselect block" button — auto-hides when nothing is selected on the
81
+ * canvas. Clicking clears `selectedBlockId`, collapsing the block's
82
+ * TuneMenu / handles. Matches ahd-fe's `TabUnselectedOutlined` button.
83
+ */
84
+ unselect?: boolean;
78
85
  save?: boolean;
86
+ /**
87
+ * Desktop / Tablet / Mobile icon toggle that constrains the canvas
88
+ * preview width and keeps the sidebar's per-device tabs in sync. Same
89
+ * three-way icon strip you see in most modern page editors. Defaults
90
+ * to `true`.
91
+ */
92
+ screenSize?: boolean;
79
93
  /** Sun/moon button that flips between the built-in light + dark themes
80
94
  * at runtime. Defaults to `true`. Hidden automatically when the host
81
95
  * passes a custom `theme` prop, since flipping `mode` won't affect it. */
@@ -108,6 +122,62 @@ export interface PagePilotEditorProps {
108
122
  translations?: Record<string, string>;
109
123
  topbar?: TopbarToggles;
110
124
  blocks?: BlockToggles;
125
+ /**
126
+ * Service-account API config. Follows the same auth pattern as
127
+ * ahd-fe's `CreateMenuAndPageModal` — pass a base URL, tenant id, and
128
+ * pre-issued bearer token, and every save / publish call is sent as:
129
+ *
130
+ * ```ts
131
+ * fetch(`${baseUrl}/tenant/${tenantId}/page/${record.id}`, {
132
+ * method: "PUT",
133
+ * headers: {
134
+ * "Content-Type": "application/json",
135
+ * Authorization: `Bearer ${authToken}`,
136
+ * },
137
+ * body: JSON.stringify({ id: record.id, data: record }),
138
+ * });
139
+ * ```
140
+ *
141
+ * When set, the editor:
142
+ * - saves via `PUT /tenant/:tenantId/page/:id` on the pagepilot API
143
+ * (matches `PageService.update`).
144
+ * - publishes with the same PUT plus `status: "live"` (matches
145
+ * ahd-fe's publish dialog).
146
+ * - shows the Layout panel's Templates + Saved tabs, backed by
147
+ * `/global-template` and `/tenant/:tenantId/mytemplate`.
148
+ *
149
+ * `onSaveChanges` / `onPublish` still fire *after* a successful API
150
+ * write, so hosts can react to the persisted state (e.g. clear a redux
151
+ * dirty flag, refresh a listing). `record.id` must be a real backend
152
+ * id — the built-in `"doc-1"` seed is skipped to keep the demo record
153
+ * from hitting the API.
154
+ */
155
+ apiConfig?: PagepilotApiConfig;
156
+ /**
157
+ * Base URL used for the Templates tab's public `/global-template` fetch.
158
+ * The endpoint is unauthenticated — no tenant id or bearer token — so the
159
+ * tab works even when `apiConfig` isn't wired. Defaults to
160
+ * `DEFAULT_GLOBAL_TEMPLATES_BASE_URL` (`https://pagepilot.fabbuilder.com/api`);
161
+ * when `apiConfig.baseUrl` is present it wins so the authed and public
162
+ * calls hit the same origin.
163
+ */
164
+ globalTemplatesBaseUrl?: string;
165
+ /**
166
+ * Fired when a save or publish through `apiConfig` fails (network
167
+ * error, non-2xx response, invalid credentials, missing page id, etc.).
168
+ * Without this callback, failures are only surfaced via `console.error`
169
+ * and the Save button stays "dirty" — the host has no other signal.
170
+ * Use it to show a toast, redirect to a login screen, or re-issue the
171
+ * service-account token.
172
+ */
173
+ onApiError?: (error: Error, action: "save" | "publish") => void;
174
+ /**
175
+ * Fired when the user clicks "Upgrade" on the Variables-panel paywall
176
+ * (Variables tab is gated behind `tenant.plan === proCombo | enterprise`).
177
+ * Use it to open your billing / upgrade UI. Without this callback the
178
+ * button is a no-op and a message is logged to the console.
179
+ */
180
+ onUpgrade?: () => void;
111
181
  onUpdateRecord?: (record: PageRecord) => void;
112
182
  onChange?: (document: any) => void;
113
183
  onSaveChanges?: (payload: SaveChangesPayload) => Promise<boolean | void> | boolean | void;
@@ -0,0 +1,8 @@
1
+ type Props = {
2
+ /** Whether the active (non-desktop) device carries any overrides. */
3
+ hasOverride?: boolean;
4
+ /** Clears every override on the active device. */
5
+ onResetDevice?: () => void;
6
+ };
7
+ export default function ResponsiveDeviceTabs({ hasOverride, onResetDevice }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ import { TResponsiveDevice } from '../../../documents/blocks/helpers/responsiveStyle';
2
+ type Props = {
3
+ device: TResponsiveDevice;
4
+ };
5
+ /**
6
+ * The "Editing Tablet / Mobile" context banner shown above a block's panel when
7
+ * a non-desktop device tab is active. Makes it unmistakable that the controls
8
+ * below now edit THIS breakpoint only and inherit Desktop otherwise. Shows the
9
+ * actual `@media (max-width: …)` breakpoint (see DEVICE_VIEWPORT_WIDTH) so the
10
+ * user knows exactly which screen widths this applies to.
11
+ */
12
+ export default function ResponsiveEditingBanner({ device }: Props): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * True while the sidebar is editing a non-desktop device (Tablet / Mobile).
3
+ * Shared controls read this to hide themselves on those tabs, so a block's
4
+ * Tablet/Mobile panel shows ONLY the responsive-relevant controls (typography,
5
+ * spacing, size, layout) — not content, colours, or other props that are the
6
+ * same on every device and edited on Desktop.
7
+ *
8
+ * ConfigurationPanel provides it; `SettingRow`, `CollapsibleSection` and the
9
+ * colour inputs consume it. Desktop = false, so nothing is hidden there.
10
+ */
11
+ export declare const ResponsiveModeContext: import('react').Context<boolean>;
12
+ export declare function useIsResponsiveMode(): boolean;