pagepilot-visual-editor 1.0.20 → 1.0.21

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.
@@ -103,4 +103,4 @@ export declare const HeadingPropsDefaults: {
103
103
  readonly openInNewTab: false;
104
104
  };
105
105
  export declare function Heading({ props, style }: HeadingProps): import("react/jsx-runtime").JSX.Element;
106
- export declare function getFontSize(level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'): 32 | 24 | 20 | 18 | 16 | 14;
106
+ export declare function getFontSize(level: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'): 32 | 24 | 19 | 16 | 13 | 11;
@@ -51,10 +51,10 @@ export declare const ListPropsSchema: z.ZodObject<{
51
51
  "lower-roman": "lower-roman";
52
52
  "upper-roman": "upper-roman";
53
53
  }>>>;
54
- numberSuffix: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
54
+ numberSuffix: z.ZodPreprocess<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
55
55
  ".": ".";
56
56
  ")": ")";
57
- }>>>;
57
+ }>>>>;
58
58
  startNumber: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
59
59
  markerColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
60
60
  markerSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -5,6 +5,7 @@ type Props = {
5
5
  onSelectSection: (index: number) => void;
6
6
  onDeleteSection: (index: number) => void;
7
7
  onEditSection: (index: number) => void;
8
+ onReorderSections?: (fromIndex: number, toIndex: number) => void;
8
9
  };
9
- declare const SectionsDropdown: ({ sections, activeSectionIndex, onSelectSection, onDeleteSection, onEditSection, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ declare const SectionsDropdown: ({ sections, activeSectionIndex, onSelectSection, onDeleteSection, onEditSection, onReorderSections, }: Props) => import("react/jsx-runtime").JSX.Element;
10
11
  export default SectionsDropdown;
@@ -2193,10 +2193,10 @@ export declare const EditorBlock: ({ type, data }: import('@usewaypoint/document
2193
2193
  "lower-roman": "lower-roman";
2194
2194
  "upper-roman": "upper-roman";
2195
2195
  }>>>;
2196
- numberSuffix: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2196
+ numberSuffix: z.ZodPreprocess<z.ZodNullable<z.ZodOptional<z.ZodEnum<{
2197
2197
  ".": ".";
2198
2198
  ")": ")";
2199
- }>>>;
2199
+ }>>>>;
2200
2200
  startNumber: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2201
2201
  markerColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
2202
2202
  markerSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;