@win2win/shared 1.0.42 → 1.0.44
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.
|
@@ -30,6 +30,7 @@ export declare enum TextLineType {
|
|
|
30
30
|
export interface TextLine {
|
|
31
31
|
type: TextLineType;
|
|
32
32
|
text: string;
|
|
33
|
+
align?: Align;
|
|
33
34
|
}
|
|
34
35
|
export interface TextContent {
|
|
35
36
|
lines: TextLine[];
|
|
@@ -56,7 +57,7 @@ export interface LayoutSectionCardsGrid extends LayoutSection {
|
|
|
56
57
|
export interface ImageContent {
|
|
57
58
|
src: string;
|
|
58
59
|
alt?: string;
|
|
59
|
-
align?:
|
|
60
|
+
align?: Align;
|
|
60
61
|
width?: string;
|
|
61
62
|
height?: string;
|
|
62
63
|
}
|
|
@@ -75,7 +76,7 @@ export interface TableColumn {
|
|
|
75
76
|
header: string;
|
|
76
77
|
key: string;
|
|
77
78
|
width?: string | number;
|
|
78
|
-
align?:
|
|
79
|
+
align?: Align;
|
|
79
80
|
format?: string;
|
|
80
81
|
}
|
|
81
82
|
export interface Card {
|
|
@@ -99,9 +100,11 @@ export interface LayoutStyle {
|
|
|
99
100
|
margins?: number[];
|
|
100
101
|
background?: string;
|
|
101
102
|
typography?: string;
|
|
103
|
+
cssRaw?: string;
|
|
102
104
|
[key: string]: any;
|
|
103
105
|
}
|
|
104
106
|
export interface LayoutData {
|
|
105
107
|
global: any;
|
|
106
108
|
[sectionId: Uuid]: any;
|
|
107
109
|
}
|
|
110
|
+
export type Align = 'left' | 'center' | 'right';
|