pagepilot-visual-editor 1.0.14 → 1.0.16

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.
@@ -180,6 +180,10 @@ export declare const ButtonPropsSchema: z.ZodObject<{
180
180
  inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
181
181
  }, z.core.$strip>>>;
182
182
  }, z.core.$strip>>>;
183
+ responsive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
184
+ tablet: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
185
+ mobile: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
186
+ }, z.core.$strip>>>;
183
187
  }, z.core.$strip>;
184
188
  export type ButtonProps = z.infer<typeof ButtonPropsSchema>;
185
189
  export declare const isValidButtonColor: (c: unknown) => c is string;
@@ -24,6 +24,8 @@ export declare const ButtonGroupPropsSchema: z.ZodObject<{
24
24
  row: "row";
25
25
  }>>>;
26
26
  gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
+ gapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
28
+ gapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
29
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
28
30
  center: "center";
29
31
  "space-between": "space-between";
@@ -45,6 +47,10 @@ export declare const ButtonGroupPropsSchema: z.ZodObject<{
45
47
  wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
46
48
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
49
  }, z.core.$strip>>>;
50
+ responsive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
51
+ tablet: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
52
+ mobile: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
53
+ }, z.core.$strip>>>;
48
54
  }, z.core.$strip>;
49
55
  type TButton = React.JSX.Element | React.JSX.Element[] | null;
50
56
  export type ButtonGroupProps = z.infer<typeof ButtonGroupPropsSchema> & {
@@ -24,6 +24,8 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
24
24
  row: "row";
25
25
  }>>>;
26
26
  gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
+ gapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
28
+ gapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
29
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
28
30
  center: "center";
29
31
  "space-between": "space-between";
@@ -44,7 +44,7 @@ export declare const RESPONSIVE_PROP_KEYS: readonly ["contentAlignment", "horizo
44
44
  * {@link nativeKeysForBlock} to get the right set for a block type — never test
45
45
  * against this flat list directly.
46
46
  */
47
- export declare const NATIVE_DEVICE_PROP_KEYS: readonly ["columnsCount", "columnsCountTablet", "columnsCountMobile", "rowsCount", "rowsCountTablet", "rowsCountMobile", "columnsGap", "columnsGapTablet", "columnsGapMobile", "rowsGap", "desktopLayout", "tabletLayout", "mobileLayout", "columnShrink", "columnShrinkTablet", "columnShrinkMobile", "columnsDirection", "columnsDirectionTablet", "columnsDirectionMobile", "widthType", "widthTypeTablet", "widthTypeMobile", "size", "sizeTablet", "sizeMobile", "fixedWidths", "fixedWidthsTablet", "fixedWidthsMobile", "contentAlignmentTablet", "contentAlignmentMobile", "slidesPerView", "slidesPerViewTablet", "slidesPerViewMobile", "width", "widthTablet", "widthMobile", "height", "heightTablet", "heightMobile", "url", "urlTablet", "urlMobile", "iconName", "iconNameTablet", "iconNameMobile", "iconFillColor", "iconFillColorTablet", "iconFillColorMobile", "orientation", "orientationTablet", "orientationMobile", "direction", "directionTablet", "directionMobile", "alignmentTablet", "alignmentMobile", "rotation", "rotationTablet", "rotationMobile", "burgerDropdownBackgroundColor", "stickyNavTablet", "stickyNavMobile"];
47
+ export declare const NATIVE_DEVICE_PROP_KEYS: readonly ["columnsCount", "columnsCountTablet", "columnsCountMobile", "rowsCount", "rowsCountTablet", "rowsCountMobile", "columnsGap", "columnsGapTablet", "columnsGapMobile", "rowsGap", "desktopLayout", "tabletLayout", "mobileLayout", "columnShrink", "columnShrinkTablet", "columnShrinkMobile", "columnsDirection", "columnsDirectionTablet", "columnsDirectionMobile", "widthType", "widthTypeTablet", "widthTypeMobile", "size", "sizeTablet", "sizeMobile", "fixedWidths", "fixedWidthsTablet", "fixedWidthsMobile", "contentAlignmentTablet", "contentAlignmentMobile", "slidesPerView", "slidesPerViewTablet", "slidesPerViewMobile", "width", "widthTablet", "widthMobile", "height", "heightTablet", "heightMobile", "url", "urlTablet", "urlMobile", "iconName", "iconNameTablet", "iconNameMobile", "iconFillColor", "iconFillColorTablet", "iconFillColorMobile", "orientation", "orientationTablet", "orientationMobile", "direction", "directionTablet", "directionMobile", "gapTablet", "gapMobile", "alignmentTablet", "alignmentMobile", "rotation", "rotationTablet", "rotationMobile", "burgerDropdownBackgroundColor", "stickyNavTablet", "stickyNavMobile"];
48
48
  /**
49
49
  * The native per-device prop keys that apply to `blockType`. Unambiguous keys
50
50
  * are always native; ambiguous ones only for the block types that actually
@@ -183,6 +183,10 @@ export declare const EditorBlock: ({ type, data }: import('@usewaypoint/document
183
183
  inset: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
184
184
  }, z.core.$strip>>>;
185
185
  }, z.core.$strip>>>;
186
+ responsive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
187
+ tablet: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
188
+ mobile: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
189
+ }, z.core.$strip>>>;
186
190
  }, z.core.$strip>;
187
191
  Container: z.ZodObject<{
188
192
  style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -1049,6 +1053,8 @@ export declare const EditorBlock: ({ type, data }: import('@usewaypoint/document
1049
1053
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1050
1054
  columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1051
1055
  columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1056
+ columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1057
+ columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1052
1058
  wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1053
1059
  desktopLayout: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1054
1060
  row: "row";
@@ -1167,6 +1173,8 @@ export declare const EditorBlock: ({ type, data }: import('@usewaypoint/document
1167
1173
  row: "row";
1168
1174
  }>>>;
1169
1175
  gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1176
+ gapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1177
+ gapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1170
1178
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
1171
1179
  center: "center";
1172
1180
  "space-between": "space-between";
@@ -24,6 +24,8 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
24
24
  row: "row";
25
25
  }>>>;
26
26
  gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
+ gapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
28
+ gapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
27
29
  alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
28
30
  center: "center";
29
31
  "space-between": "space-between";
@@ -45,6 +47,10 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
45
47
  wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
46
48
  ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
49
  }, z.core.$strip>>>;
50
+ responsive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
51
+ tablet: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
52
+ mobile: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
53
+ }, z.core.$strip>>>;
48
54
  }, z.core.$strip>;
49
55
  export default ButtonGroupPropsSchema;
50
56
  export type ButtonGroupReaderProps = z.infer<typeof ButtonGroupPropsSchema>;
@@ -31,6 +31,8 @@ declare const FlexColumnsPropsSchema: z.ZodObject<{
31
31
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
32
32
  columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
33
33
  columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
34
+ columnsGapTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
35
+ columnsGapMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
34
36
  wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
35
37
  desktopLayout: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
36
38
  row: "row";
@@ -43,6 +43,7 @@ export type DeviceLayout = {
43
43
  /** All non-shrink columns share the row width equally. */
44
44
  equalColumns: boolean;
45
45
  reverseColumns: boolean;
46
+ gap: number;
46
47
  };
47
48
  type FlexProps = FlexColumnsProps['props'];
48
49
  /**
@@ -1,3 +1,4 @@
1
1
  import { FormsPickerProps } from './FormsPropsSchema';
2
+ export declare const instanceIdFor: (seed: string) => string;
2
3
  declare const FormsReader: ({ props, style }: FormsPickerProps) => import("react/jsx-runtime").JSX.Element;
3
4
  export default FormsReader;