@lit-pigeon/core 0.3.2 → 0.3.3
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/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,8 @@ export declare interface ButtonBlock {
|
|
|
180
180
|
fontWeight: string;
|
|
181
181
|
alignment: 'left' | 'center' | 'right';
|
|
182
182
|
fullWidth: boolean;
|
|
183
|
+
/** Written out as MJML `css-class`. */
|
|
184
|
+
cssClass?: string;
|
|
183
185
|
};
|
|
184
186
|
}
|
|
185
187
|
|
|
@@ -202,6 +204,8 @@ export declare interface ColumnNode {
|
|
|
202
204
|
padding: Spacing;
|
|
203
205
|
borderRadius?: number;
|
|
204
206
|
verticalAlign: 'top' | 'middle' | 'bottom';
|
|
207
|
+
/** Written out as MJML `css-class`. */
|
|
208
|
+
cssClass?: string;
|
|
205
209
|
};
|
|
206
210
|
blocks: ContentBlock[];
|
|
207
211
|
}
|
|
@@ -409,6 +413,8 @@ export declare interface ImageBlock {
|
|
|
409
413
|
padding: Spacing;
|
|
410
414
|
alignment: 'left' | 'center' | 'right';
|
|
411
415
|
borderRadius?: number;
|
|
416
|
+
/** Written out as MJML `css-class`. */
|
|
417
|
+
cssClass?: string;
|
|
412
418
|
};
|
|
413
419
|
}
|
|
414
420
|
|
|
@@ -581,6 +587,8 @@ export declare interface PigeonDocument {
|
|
|
581
587
|
backgroundColor: string;
|
|
582
588
|
fontFamily: string;
|
|
583
589
|
contentAlignment: 'center' | 'left';
|
|
590
|
+
/** Document-level CSS, written out as a non-inline `<mj-style>`. */
|
|
591
|
+
css?: string;
|
|
584
592
|
};
|
|
585
593
|
rows: RowNode[];
|
|
586
594
|
};
|
|
@@ -710,6 +718,8 @@ export declare interface RowNode {
|
|
|
710
718
|
* / Liquid-style, passed through verbatim), e.g. `condition: "user.premium"`.
|
|
711
719
|
*/
|
|
712
720
|
condition?: string;
|
|
721
|
+
/** Written out as MJML `css-class`. */
|
|
722
|
+
cssClass?: string;
|
|
713
723
|
};
|
|
714
724
|
columns: ColumnNode[];
|
|
715
725
|
columnRatios: number[];
|
|
@@ -832,6 +842,8 @@ export declare interface TextBlock {
|
|
|
832
842
|
padding: Spacing;
|
|
833
843
|
lineHeight: string;
|
|
834
844
|
textAlign: 'left' | 'center' | 'right';
|
|
845
|
+
/** Written out as MJML `css-class`. */
|
|
846
|
+
cssClass?: string;
|
|
835
847
|
};
|
|
836
848
|
}
|
|
837
849
|
|