pagepilot-visual-editor 1.0.9 → 1.0.11

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 (92) hide show
  1. package/README.md +16 -1
  2. package/dist/blocks-internal/block-button/src/index.d.ts +44 -10
  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 +6 -6
  5. package/dist/blocks-internal/block-container/src/index.d.ts +34 -8
  6. package/dist/blocks-internal/block-grid/src/index.d.ts +1 -1
  7. package/dist/blocks-internal/block-heading/src/index.d.ts +8 -7
  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 +62 -3
  11. package/dist/blocks-internal/block-list/src/index.d.ts +5 -5
  12. package/dist/blocks-internal/block-logo/src/index.d.ts +43 -2
  13. package/dist/blocks-internal/block-stepper/src/index.d.ts +4 -4
  14. package/dist/blocks-internal/block-text/src/index.d.ts +5 -4
  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/renderSections.d.ts +2 -68
  18. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +1 -1
  19. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +3 -1
  20. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MenuPickerSidebarPanel.d.ts +1 -0
  21. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/AnimationSection.d.ts +18 -0
  22. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BoxShadowControls.d.ts +19 -0
  23. package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/HoverEffectSection.d.ts +16 -0
  24. package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
  25. package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateApplyHelpers.d.ts +2 -39
  26. package/dist/editor-sample/App/TemplatePanel/minimap/MiniMapFrame.d.ts +4 -2
  27. package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
  28. package/dist/editor-sample/documents/blocks/Avatar/AvatarPropsSchema.d.ts +3 -0
  29. package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
  30. package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +6 -6
  31. package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +53 -8
  32. package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
  33. package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +3 -3
  34. package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
  35. package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +3 -3
  36. package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +2 -2
  37. package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +4 -3
  38. package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
  39. package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +2 -2
  40. package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +3 -3
  41. package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +1 -0
  42. package/dist/editor-sample/documents/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
  43. package/dist/editor-sample/documents/blocks/Timer/variants/DigitalFlipView.d.ts +2 -1
  44. package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +1 -0
  45. package/dist/editor-sample/documents/blocks/helpers/responsiveStyle.d.ts +1 -1
  46. package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +3 -3
  47. package/dist/editor-sample/documents/editor/EditorContext.d.ts +3 -3
  48. package/dist/editor-sample/documents/editor/core.d.ts +266 -94
  49. package/dist/editor-sample/documents/editor/templateVariables.d.ts +4 -75
  50. package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +3 -3
  51. package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
  52. package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +2 -2
  53. package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +6 -6
  54. package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +53 -8
  55. package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
  56. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +5 -5
  57. package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutReader.d.ts +1 -1
  58. package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +7 -0
  59. package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
  60. package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +3 -3
  61. package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +2 -2
  62. package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +6 -6
  63. package/dist/email-builder-core/blocks/MenuPicker/MenuReader.d.ts +7 -1
  64. package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +5 -5
  65. package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
  66. package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +2 -2
  67. package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +2 -2
  68. package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +2 -2
  69. package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +3 -3
  70. package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +1 -0
  71. package/dist/email-builder-core/blocks/Timer/variants/CircularProgressView.d.ts +2 -1
  72. package/dist/email-builder-core/blocks/Timer/variants/DigitalFlipView.d.ts +2 -1
  73. package/dist/email-builder-core/blocks/animationSchema.d.ts +32 -0
  74. package/dist/email-builder-core/blocks/boxShadowSchema.d.ts +23 -0
  75. package/dist/email-builder-core/blocks/hoverEffectSchema.d.ts +20 -0
  76. package/dist/email-builder-core/helpers/templateVariables.d.ts +2 -14
  77. package/dist/email-builder-core/renderers/animationCss.d.ts +18 -0
  78. package/dist/email-builder-core/renderers/pageScripts.d.ts +10 -0
  79. package/dist/host-stubs/style/menu.styled.d.ts +10 -1
  80. package/dist/index.cjs +394 -244
  81. package/dist/index.js +27144 -25729
  82. package/dist/render-core/collectSubtreeIds.d.ts +1 -0
  83. package/dist/render-core/combineSections.d.ts +37 -0
  84. package/dist/render-core/stubs/editorContext.d.ts +10 -0
  85. package/dist/render-core/stubs/usePreviewScreen.d.ts +7 -0
  86. package/dist/render-core/templateBaking.d.ts +35 -0
  87. package/dist/render-core/templateEnvelope.d.ts +11 -0
  88. package/dist/render.cjs +873 -0
  89. package/dist/render.d.ts +4 -0
  90. package/dist/render.js +15409 -0
  91. package/dist/renderToStaticHtml.d.ts +1 -1
  92. package/package.json +11 -3
package/README.md CHANGED
@@ -939,10 +939,25 @@ const html = renderToStaticMarkup(myDoc, { rootBlockId: "root" });
939
939
 
940
940
  Higher-level renderer that always runs through the **same code path** the editor uses on Save Changes / Publish: bake formFields, sanitize block types this build doesn't know about (e.g. `Mdx` → `Text`), then call `renderToStaticMarkup`. One function, three call shapes — the first is sync, the API-backed shapes return a `Promise<string>`.
941
941
 
942
+ #### Zero-dependency subpath (`pagepilot-visual-editor/render`)
943
+
944
+ If you only need HTML generation (server-side, serverless, CLI, static export) and **don't** want to install MUI / Emotion / zustand just to import a render function, use the render subpath. It ships as an editor-free bundle whose only external dependencies are `react` and `react-dom/server`:
945
+
946
+ ```ts
947
+ import { renderToStaticHtml } from "pagepilot-visual-editor/render";
948
+ ```
949
+
950
+ ```bash
951
+ # Only react + react-dom needed for the render subpath.
952
+ npm install pagepilot-visual-editor react react-dom
953
+ ```
954
+
955
+ Nothing else changes — the same three call shapes and options documented below apply to both entries. The main entry (`import from "pagepilot-visual-editor"`) still exports the same symbol for hosts that already have MUI installed for `<PagePilotEditor>`.
956
+
942
957
  **1. Sync — render a document you already have in memory**
943
958
 
944
959
  ```ts
945
- import { renderToStaticHtml } from "pagepilot-visual-editor";
960
+ import { renderToStaticHtml } from "pagepilot-visual-editor/render";
946
961
 
947
962
  const generatedHtml = renderToStaticHtml(CONFIGURATION, {
948
963
  rootBlockId: "root",
@@ -35,22 +35,22 @@ export declare const ButtonPropsSchema: z.ZodObject<{
35
35
  BEBAS_NEUE: "BEBAS_NEUE";
36
36
  }>>>;
37
37
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
38
- bold: "bold";
39
- normal: "normal";
40
38
  400: "400";
41
39
  500: "500";
42
40
  600: "600";
43
41
  700: "700";
42
+ normal: "normal";
43
+ bold: "bold";
44
44
  }>>>;
45
45
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
46
- center: "center";
47
- left: "left";
48
46
  right: "right";
47
+ left: "left";
48
+ center: "center";
49
49
  }>>>;
50
50
  buttonTextAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
51
- center: "center";
52
- left: "left";
53
51
  right: "right";
52
+ left: "left";
53
+ center: "center";
54
54
  }>>>;
55
55
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
56
56
  top: z.ZodNumber;
@@ -107,21 +107,21 @@ export declare const ButtonPropsSchema: z.ZodObject<{
107
107
  widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
108
108
  widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
109
109
  size: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
110
+ medium: "medium";
110
111
  small: "small";
111
112
  large: "large";
112
- medium: "medium";
113
113
  "x-small": "x-small";
114
114
  }>>>;
115
115
  sizeTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
116
+ medium: "medium";
116
117
  small: "small";
117
118
  large: "large";
118
- medium: "medium";
119
119
  "x-small": "x-small";
120
120
  }>>>;
121
121
  sizeMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
122
+ medium: "medium";
122
123
  small: "small";
123
124
  large: "large";
124
- medium: "medium";
125
125
  "x-small": "x-small";
126
126
  }>>>;
127
127
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -140,12 +140,45 @@ export declare const ButtonPropsSchema: z.ZodObject<{
140
140
  iconEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
141
141
  iconName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
142
142
  iconAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
143
- left: "left";
144
143
  right: "right";
144
+ left: "left";
145
145
  }>>>;
146
146
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
147
  goToStep: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
148
  postMessageEvent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
150
+ type: z.ZodEnum<{
151
+ none: "none";
152
+ "fade-in": "fade-in";
153
+ "slide-left": "slide-left";
154
+ "slide-right": "slide-right";
155
+ "slide-up": "slide-up";
156
+ "slide-down": "slide-down";
157
+ "zoom-in": "zoom-in";
158
+ bounce: "bounce";
159
+ }>;
160
+ trigger: z.ZodEnum<{
161
+ load: "load";
162
+ scroll: "scroll";
163
+ hover: "hover";
164
+ click: "click";
165
+ }>;
166
+ speed: z.ZodEnum<{
167
+ slow: "slow";
168
+ medium: "medium";
169
+ fast: "fast";
170
+ }>;
171
+ delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
172
+ disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
173
+ }, z.core.$strip>>>;
174
+ boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
175
+ color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
176
+ offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
177
+ offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
178
+ blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
179
+ spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
180
+ inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
181
+ }, z.core.$strip>>>;
149
182
  }, z.core.$strip>>>;
150
183
  }, z.core.$strip>;
151
184
  export type ButtonProps = z.infer<typeof ButtonPropsSchema>;
@@ -178,5 +211,6 @@ export declare const ButtonPropsDefaults: {
178
211
  readonly iconAlignment: "left";
179
212
  readonly goToStep: "";
180
213
  readonly postMessageEvent: "";
214
+ readonly boxShadow: any;
181
215
  };
182
216
  export declare function Button({ style, props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -12,35 +12,35 @@ 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
15
  column: "column";
16
+ row: "row";
17
17
  }>>>;
18
18
  directionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
19
- row: "row";
20
19
  column: "column";
20
+ row: "row";
21
21
  }>>>;
22
22
  directionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
23
- row: "row";
24
23
  column: "column";
24
+ row: "row";
25
25
  }>>>;
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";
29
30
  end: "end";
30
31
  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";
35
36
  end: "end";
36
37
  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";
41
42
  end: "end";
42
43
  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>>;
@@ -40,30 +40,30 @@ export declare const ColumnsContainerPropsSchema: z.ZodObject<{
40
40
  columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
41
41
  columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
42
42
  columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
43
- horizontal: "horizontal";
44
43
  vertical: "vertical";
44
+ horizontal: "horizontal";
45
45
  }>>>;
46
46
  columnsDirectionTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
47
- horizontal: "horizontal";
48
47
  vertical: "vertical";
48
+ horizontal: "horizontal";
49
49
  }>>>;
50
50
  columnsDirectionMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
51
- horizontal: "horizontal";
52
51
  vertical: "vertical";
52
+ horizontal: "horizontal";
53
53
  }>>>;
54
54
  contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
55
- bottom: "bottom";
56
55
  top: "top";
56
+ bottom: "bottom";
57
57
  middle: "middle";
58
58
  }>>>;
59
59
  contentAlignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
60
- bottom: "bottom";
61
60
  top: "top";
61
+ bottom: "bottom";
62
62
  middle: "middle";
63
63
  }>>>;
64
64
  contentAlignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
65
- bottom: "bottom";
66
65
  top: "top";
66
+ bottom: "bottom";
67
67
  middle: "middle";
68
68
  }>>>;
69
69
  }, z.core.$strip>>>;
@@ -34,6 +34,14 @@ export declare const ContainerPropsSchema: z.ZodObject<{
34
34
  right: z.ZodNumber;
35
35
  left: z.ZodNumber;
36
36
  }, z.core.$strip>>>;
37
+ boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
38
+ color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
39
+ offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
40
+ offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
41
+ blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
42
+ spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
43
+ inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
44
+ }, z.core.$strip>>>;
37
45
  }, z.core.$strip>>>;
38
46
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
39
47
  fullWidth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
@@ -64,24 +72,24 @@ export declare const ContainerPropsSchema: z.ZodObject<{
64
72
  heightMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
65
73
  overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
66
74
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
67
- center: "center";
68
- left: "left";
69
75
  right: "right";
76
+ left: "left";
77
+ center: "center";
70
78
  }>>>;
71
79
  alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
72
- center: "center";
73
- left: "left";
74
80
  right: "right";
81
+ left: "left";
82
+ center: "center";
75
83
  }>>>;
76
84
  alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
77
- center: "center";
78
- left: "left";
79
85
  right: "right";
86
+ left: "left";
87
+ center: "center";
80
88
  }>>>;
81
89
  tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
90
+ div: "div";
82
91
  article: "article";
83
92
  aside: "aside";
84
- div: "div";
85
93
  footer: "footer";
86
94
  header: "header";
87
95
  main: "main";
@@ -93,9 +101,21 @@ export declare const ContainerPropsSchema: z.ZodObject<{
93
101
  showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
94
102
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
95
103
  linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
96
- _blank: "_blank";
97
104
  _self: "_self";
105
+ _blank: "_blank";
98
106
  }>>>;
107
+ hoverEffect: z.ZodNullable<z.ZodOptional<z.ZodObject<{
108
+ enabled: z.ZodBoolean;
109
+ scale: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
110
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
111
+ easing: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
112
+ ease: "ease";
113
+ "ease-in": "ease-in";
114
+ "ease-in-out": "ease-in-out";
115
+ "ease-out": "ease-out";
116
+ linear: "linear";
117
+ }>>>;
118
+ }, z.core.$strip>>>;
99
119
  }, z.core.$strip>>>;
100
120
  }, z.core.$strip>;
101
121
  export type ContainerProps = z.infer<typeof ContainerPropsSchema> & {
@@ -107,5 +127,11 @@ export declare const ContainerPropsDefaults: {
107
127
  readonly width: 300;
108
128
  readonly widthUnit: "px";
109
129
  readonly alignment: "left";
130
+ readonly hoverEffect: {
131
+ readonly enabled: false;
132
+ readonly scale: 1.05;
133
+ readonly duration: 500;
134
+ readonly easing: "ease-in-out";
135
+ };
110
136
  };
111
137
  export declare function Container({ style, props, children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
@@ -24,8 +24,8 @@ export declare const GridPropsSchema: z.ZodObject<{
24
24
  columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
25
25
  rowsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26
26
  contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
27
- bottom: "bottom";
28
27
  top: "top";
28
+ bottom: "bottom";
29
29
  middle: "middle";
30
30
  }>>>;
31
31
  }, z.core.$strip>>>;
@@ -11,8 +11,8 @@ export declare const HeadingPropsSchema: z.ZodObject<{
11
11
  h6: "h6";
12
12
  }>>>;
13
13
  linkType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
14
- text: "text";
15
14
  link: "link";
15
+ text: "text";
16
16
  }>>>;
17
17
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
18
  openInNewTab: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
@@ -54,13 +54,14 @@ export declare const HeadingPropsSchema: z.ZodObject<{
54
54
  BEBAS_NEUE: "BEBAS_NEUE";
55
55
  }>>>;
56
56
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
57
+ lineClamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
57
58
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
58
- bold: "bold";
59
- normal: "normal";
60
59
  400: "400";
61
60
  500: "500";
62
61
  600: "600";
63
62
  700: "700";
63
+ normal: "normal";
64
+ bold: "bold";
64
65
  }>>>;
65
66
  fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
66
67
  normal: "normal";
@@ -68,14 +69,14 @@ export declare const HeadingPropsSchema: z.ZodObject<{
68
69
  }>>>;
69
70
  textDecoration: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
70
71
  none: "none";
71
- "line-through": "line-through";
72
72
  underline: "underline";
73
+ "line-through": "line-through";
73
74
  "underline line-through": "underline line-through";
74
75
  }>>>;
75
76
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
76
- center: "center";
77
- left: "left";
78
77
  right: "right";
78
+ left: "left";
79
+ center: "center";
79
80
  }>>>;
80
81
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
81
82
  top: z.ZodNumber;
@@ -102,4 +103,4 @@ export declare const HeadingPropsDefaults: {
102
103
  readonly openInNewTab: false;
103
104
  };
104
105
  export declare function Heading({ props, style }: HeadingProps): import("react/jsx-runtime").JSX.Element;
105
- export declare function getFontSize(level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'): 14 | 16 | 18 | 20 | 24 | 32;
106
+ export declare function getFontSize(level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'): 32 | 24 | 20 | 18 | 16 | 14;
@@ -36,9 +36,9 @@ export declare const HtmlPropsSchema: z.ZodObject<{
36
36
  }>>>;
37
37
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
38
38
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
39
- center: "center";
40
- left: "left";
41
39
  right: "right";
40
+ left: "left";
41
+ center: "center";
42
42
  }>>>;
43
43
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
44
44
  top: z.ZodNumber;
@@ -12,9 +12,9 @@ export declare const IframePropsSchema: z.ZodObject<{
12
12
  left: z.ZodNumber;
13
13
  }, z.core.$strip>>>;
14
14
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
15
- center: "center";
16
- left: "left";
17
15
  right: "right";
16
+ left: "left";
17
+ center: "center";
18
18
  }>>>;
19
19
  }, z.core.$strip>>>;
20
20
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -9,9 +9,9 @@ export declare const ImagePropsSchema: z.ZodObject<{
9
9
  }, z.core.$strip>>>;
10
10
  backgroundColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
11
11
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
12
- center: "center";
13
- left: "left";
14
12
  right: "right";
13
+ left: "left";
14
+ center: "center";
15
15
  }>>>;
16
16
  }, z.core.$strip>>>;
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -37,8 +37,8 @@ export declare const ImagePropsSchema: z.ZodObject<{
37
37
  decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
38
38
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
39
39
  contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
40
- bottom: "bottom";
41
40
  top: "top";
41
+ bottom: "bottom";
42
42
  middle: "middle";
43
43
  }>>>;
44
44
  borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
@@ -59,6 +59,51 @@ export declare const ImagePropsSchema: z.ZodObject<{
59
59
  rotationMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
60
60
  iconName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61
61
  iconFillColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
62
+ animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
63
+ type: z.ZodEnum<{
64
+ none: "none";
65
+ "fade-in": "fade-in";
66
+ "slide-left": "slide-left";
67
+ "slide-right": "slide-right";
68
+ "slide-up": "slide-up";
69
+ "slide-down": "slide-down";
70
+ "zoom-in": "zoom-in";
71
+ bounce: "bounce";
72
+ }>;
73
+ trigger: z.ZodEnum<{
74
+ load: "load";
75
+ scroll: "scroll";
76
+ hover: "hover";
77
+ click: "click";
78
+ }>;
79
+ speed: z.ZodEnum<{
80
+ slow: "slow";
81
+ medium: "medium";
82
+ fast: "fast";
83
+ }>;
84
+ delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
85
+ disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
86
+ }, z.core.$strip>>>;
87
+ hoverEffect: z.ZodNullable<z.ZodOptional<z.ZodObject<{
88
+ enabled: z.ZodBoolean;
89
+ scale: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
90
+ duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
91
+ easing: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
92
+ ease: "ease";
93
+ "ease-in": "ease-in";
94
+ "ease-in-out": "ease-in-out";
95
+ "ease-out": "ease-out";
96
+ linear: "linear";
97
+ }>>>;
98
+ }, z.core.$strip>>>;
99
+ boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
100
+ color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
101
+ offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
102
+ offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
103
+ blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
104
+ spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
105
+ inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
106
+ }, z.core.$strip>>>;
62
107
  }, z.core.$strip>>>;
63
108
  }, z.core.$strip>;
64
109
  export type ImageProps = z.infer<typeof ImagePropsSchema>;
@@ -82,5 +127,19 @@ export declare const ImagePropsDefaults: {
82
127
  readonly borderColor: any;
83
128
  readonly borderWidth: any;
84
129
  readonly rotation: 0;
130
+ readonly animation: {
131
+ readonly type: "none";
132
+ readonly trigger: "load";
133
+ readonly speed: "medium";
134
+ readonly delay: 0;
135
+ readonly disableOnMobile: false;
136
+ };
137
+ readonly hoverEffect: {
138
+ readonly enabled: false;
139
+ readonly scale: 1.05;
140
+ readonly duration: 500;
141
+ readonly easing: "ease-in-out";
142
+ };
143
+ readonly boxShadow: any;
85
144
  };
86
145
  export declare function Image({ style, props }: ImageProps): import("react/jsx-runtime").JSX.Element;
@@ -9,9 +9,9 @@ export declare const ListPropsSchema: z.ZodObject<{
9
9
  color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
10
10
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
11
11
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
12
- center: "center";
13
- left: "left";
14
12
  right: "right";
13
+ left: "left";
14
+ center: "center";
15
15
  }>>>;
16
16
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
17
17
  fontFamily: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -36,15 +36,15 @@ export declare const ListPropsSchema: z.ZodObject<{
36
36
  unordered: "unordered";
37
37
  }>>>;
38
38
  marker: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
39
- circle: "circle";
40
39
  none: "none";
41
- square: "square";
42
40
  check: "check";
41
+ square: "square";
42
+ circle: "circle";
43
+ decimal: "decimal";
43
44
  disc: "disc";
44
45
  dash: "dash";
45
46
  arrow: "arrow";
46
47
  cross: "cross";
47
- decimal: "decimal";
48
48
  "decimal-zero": "decimal-zero";
49
49
  "lower-alpha": "lower-alpha";
50
50
  "upper-alpha": "upper-alpha";
@@ -9,9 +9,9 @@ export declare const LogoPropsSchema: z.ZodObject<{
9
9
  }, z.core.$strip>>>;
10
10
  backgroundColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
11
11
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
12
- center: "center";
13
- left: "left";
14
12
  right: "right";
13
+ left: "left";
14
+ center: "center";
15
15
  }>>>;
16
16
  }, z.core.$strip>>>;
17
17
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -20,7 +20,12 @@ export declare const LogoPropsSchema: z.ZodObject<{
20
20
  urlMobile: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21
21
  alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
22
22
  decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
23
+ showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
23
24
  linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25
+ linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
26
+ _self: "_self";
27
+ _blank: "_blank";
28
+ }>>>;
24
29
  width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
25
30
  widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
26
31
  widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -43,6 +48,39 @@ export declare const LogoPropsSchema: z.ZodObject<{
43
48
  iconFillColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
44
49
  iconFillColorTablet: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
45
50
  iconFillColorMobile: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
51
+ animation: z.ZodNullable<z.ZodOptional<z.ZodObject<{
52
+ type: z.ZodEnum<{
53
+ none: "none";
54
+ "fade-in": "fade-in";
55
+ "slide-left": "slide-left";
56
+ "slide-right": "slide-right";
57
+ "slide-up": "slide-up";
58
+ "slide-down": "slide-down";
59
+ "zoom-in": "zoom-in";
60
+ bounce: "bounce";
61
+ }>;
62
+ trigger: z.ZodEnum<{
63
+ load: "load";
64
+ scroll: "scroll";
65
+ hover: "hover";
66
+ click: "click";
67
+ }>;
68
+ speed: z.ZodEnum<{
69
+ slow: "slow";
70
+ medium: "medium";
71
+ fast: "fast";
72
+ }>;
73
+ delay: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
74
+ disableOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
75
+ }, z.core.$strip>>>;
76
+ boxShadow: z.ZodNullable<z.ZodOptional<z.ZodObject<{
77
+ color: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
78
+ offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
79
+ offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
80
+ blur: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
81
+ spread: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
82
+ inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
83
+ }, z.core.$strip>>>;
46
84
  }, z.core.$strip>>>;
47
85
  }, z.core.$strip>;
48
86
  export type LogoProps = z.infer<typeof LogoPropsSchema>;
@@ -52,7 +90,9 @@ export declare const LogoPropsDefaults: {
52
90
  readonly urlMobile: any;
53
91
  readonly alt: "Logo";
54
92
  readonly decorative: false;
93
+ readonly showLink: true;
55
94
  readonly linkHref: "https://pagepilot.fabbuilder.com/";
95
+ readonly linkTarget: "_blank";
56
96
  readonly width: 160;
57
97
  readonly widthTablet: any;
58
98
  readonly widthMobile: any;
@@ -65,6 +105,7 @@ export declare const LogoPropsDefaults: {
65
105
  readonly iconFillColor: any;
66
106
  readonly iconFillColorTablet: any;
67
107
  readonly iconFillColorMobile: any;
108
+ readonly boxShadow: any;
68
109
  };
69
110
  /**
70
111
  * The Logo block renders an image at a fixed pixel width that the author
@@ -3,9 +3,9 @@ export declare const StepperPropsSchema: z.ZodObject<{
3
3
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
4
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
5
5
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
6
- center: "center";
7
- left: "left";
8
6
  right: "right";
7
+ left: "left";
8
+ center: "center";
9
9
  }>>>;
10
10
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11
11
  top: z.ZodNumber;
@@ -23,8 +23,8 @@ export declare const StepperPropsSchema: z.ZodObject<{
23
23
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
24
24
  stepperType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
25
25
  both: "both";
26
- dots: "dots";
27
26
  numeric: "numeric";
27
+ dots: "dots";
28
28
  }>>>;
29
29
  totalDots: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
30
30
  activeIndex: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -35,8 +35,8 @@ export declare const StepperPropsSchema: z.ZodObject<{
35
35
  numericColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
36
36
  numericFontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
37
37
  numericPosition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
38
- left: "left";
39
38
  right: "right";
39
+ left: "left";
40
40
  above: "above";
41
41
  below: "below";
42
42
  }>>>;
@@ -4,6 +4,7 @@ export declare const TextPropsSchema: z.ZodObject<{
4
4
  color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
5
5
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
6
6
  fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
7
+ lineClamp: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
7
8
  fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8
9
  MODERN_SANS: "MODERN_SANS";
9
10
  BOOK_SANS: "BOOK_SANS";
@@ -36,17 +37,17 @@ export declare const TextPropsSchema: z.ZodObject<{
36
37
  BEBAS_NEUE: "BEBAS_NEUE";
37
38
  }>>>;
38
39
  fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
39
- bold: "bold";
40
- normal: "normal";
41
40
  400: "400";
42
41
  500: "500";
43
42
  600: "600";
44
43
  700: "700";
44
+ normal: "normal";
45
+ bold: "bold";
45
46
  }>>>;
46
47
  textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
47
- center: "center";
48
- left: "left";
49
48
  right: "right";
49
+ left: "left";
50
+ center: "center";
50
51
  }>>>;
51
52
  padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
52
53
  top: z.ZodNumber;