@unlayer/types 1.537.0 → 1.538.0

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.
@@ -157,6 +157,7 @@ type BodyExporter = (
157
157
  bodyValues: BodyValues;
158
158
  type: string;
159
159
  variant: Variant;
160
+ hasEmailMobileStack?: boolean;
160
161
  },
161
162
  ) => string;
162
163
 
@@ -78,6 +78,7 @@ type ColumnExporter = (
78
78
 
79
79
  variant: Variant;
80
80
  language: string;
81
+ fullWidthEmailColumn?: boolean;
81
82
  },
82
83
  ) => string;
83
84
 
@@ -50,14 +50,18 @@ type FooterValuesBase = {
50
50
  hideable: boolean;
51
51
  };
52
52
 
53
- type FooterValuesForEmail = FooterValuesBase;
53
+ type FooterValuesForEmail = FooterValuesBase & {
54
+ reverseStackMobile: boolean;
55
+ };
54
56
 
55
57
  type FooterValuesForWeb = FooterValuesBase & {
56
58
  alignItems: "center" | "flex-start" | "flex-end";
59
+ reverseStackMobile: boolean;
57
60
  };
58
61
 
59
62
  type FooterValuesForPopup = FooterValuesBase & {
60
63
  alignItems: "center" | "flex-start" | "flex-end";
64
+ reverseStackMobile: boolean;
61
65
  };
62
66
 
63
67
  type FooterValuesForDocument = FooterValuesBase & {
@@ -50,14 +50,18 @@ type HeaderValuesBase = {
50
50
  hideable: boolean;
51
51
  };
52
52
 
53
- type HeaderValuesForEmail = HeaderValuesBase;
53
+ type HeaderValuesForEmail = HeaderValuesBase & {
54
+ reverseStackMobile: boolean;
55
+ };
54
56
 
55
57
  type HeaderValuesForWeb = HeaderValuesBase & {
56
58
  alignItems: "center" | "flex-start" | "flex-end";
59
+ reverseStackMobile: boolean;
57
60
  };
58
61
 
59
62
  type HeaderValuesForPopup = HeaderValuesBase & {
60
63
  alignItems: "center" | "flex-start" | "flex-end";
64
+ reverseStackMobile: boolean;
61
65
  };
62
66
 
63
67
  type HeaderValuesForDocument = HeaderValuesBase & {
@@ -50,14 +50,18 @@ type RowValuesBase = {
50
50
  hideable: boolean;
51
51
  };
52
52
 
53
- type RowValuesForEmail = RowValuesBase;
53
+ type RowValuesForEmail = RowValuesBase & {
54
+ reverseStackMobile: boolean;
55
+ };
54
56
 
55
57
  type RowValuesForWeb = RowValuesBase & {
56
58
  alignItems: "center" | "flex-start" | "flex-end";
59
+ reverseStackMobile: boolean;
57
60
  };
58
61
 
59
62
  type RowValuesForPopup = RowValuesBase & {
60
63
  alignItems: "center" | "flex-start" | "flex-end";
64
+ reverseStackMobile: boolean;
61
65
  };
62
66
 
63
67
  type RowValuesForDocument = RowValuesBase & {
@@ -96,6 +100,7 @@ type RowExporter = (
96
100
  language: string | undefined;
97
101
  collection: Collection;
98
102
  exporterConfig: ExporterConfig;
103
+ mobileStackHtml?: string;
99
104
  },
100
105
  ) => string;
101
106
 
@@ -67,6 +67,7 @@ meta: {
67
67
  bodyValues: BodyValues;
68
68
  type: string;
69
69
  variant: Variant;
70
+ hasEmailMobileStack?: boolean;
70
71
  }) => string;
71
72
 
72
73
  export type RowContainerExporter = (innerHTML: string, rowValues: RowValues, // @deprecated use last param instead
@@ -81,6 +82,7 @@ meta: {
81
82
  language: string | undefined;
82
83
  collection: Collection;
83
84
  exporterConfig: ExporterConfig;
85
+ mobileStackHtml?: string;
84
86
  }) => string;
85
87
 
86
88
  export type ColumnContainerExporter = (innerHTML: string, columnValues: Record<string, any>, // @deprecated use last param instead
@@ -97,6 +99,7 @@ meta: {
97
99
  bodyValues: BodyValues;
98
100
  variant: Variant;
99
101
  language: string;
102
+ fullWidthEmailColumn?: boolean;
100
103
  }) => string;
101
104
 
102
105
  export type ContentContainerExporter = (innerHTML: string, contentValues: Record<string, any>, // @deprecated use last param instead
@@ -467,6 +467,7 @@ export type EditorTranslationKey =
467
467
  | 'editor.preheader_text.label'
468
468
  | 'editor.repeat_footer_on_each_page.label'
469
469
  | 'editor.repeat_header_on_each_page.label'
470
+ | 'editor.reverse_stacking_on_mobile.label'
470
471
  | 'editor.right.label'
471
472
  | 'editor.rounded_border.label'
472
473
  | 'editor.rows.label'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlayer/types",
3
- "version": "1.537.0",
3
+ "version": "1.538.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "types": "./dist/index.d.ts",