@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.
- package/dist/containers/body.d.ts +1 -0
- package/dist/containers/column.d.ts +1 -0
- package/dist/containers/footer.d.ts +5 -1
- package/dist/containers/header.d.ts +5 -1
- package/dist/containers/row.d.ts +6 -1
- package/dist/editor/editor.d.ts +3 -0
- package/dist/editor/intl.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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 & {
|
package/dist/containers/row.d.ts
CHANGED
|
@@ -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
|
|
package/dist/editor/editor.d.ts
CHANGED
|
@@ -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
|
package/dist/editor/intl.d.ts
CHANGED
|
@@ -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'
|