@rudyzeinoun/email-builder 0.0.39 → 0.0.41
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.mts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -573,6 +573,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
573
573
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
574
574
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
575
575
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
576
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
576
577
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
577
578
|
top: z.ZodNumber;
|
|
578
579
|
bottom: z.ZodNumber;
|
|
@@ -595,6 +596,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
595
596
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
596
597
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
597
598
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
599
|
+
lineHeight?: number | null | undefined;
|
|
598
600
|
padding?: {
|
|
599
601
|
top: number;
|
|
600
602
|
bottom: number;
|
|
@@ -607,6 +609,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
607
609
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
608
610
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
609
611
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
612
|
+
lineHeight?: number | null | undefined;
|
|
610
613
|
padding?: {
|
|
611
614
|
top: number;
|
|
612
615
|
bottom: number;
|
|
@@ -625,6 +628,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
625
628
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
626
629
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
627
630
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
631
|
+
lineHeight?: number | null | undefined;
|
|
628
632
|
padding?: {
|
|
629
633
|
top: number;
|
|
630
634
|
bottom: number;
|
|
@@ -643,6 +647,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
643
647
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
644
648
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
645
649
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
650
|
+
lineHeight?: number | null | undefined;
|
|
646
651
|
padding?: {
|
|
647
652
|
top: number;
|
|
648
653
|
bottom: number;
|
|
@@ -866,6 +871,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
866
871
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
867
872
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
868
873
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
874
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
869
875
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
870
876
|
top: z.ZodNumber;
|
|
871
877
|
bottom: z.ZodNumber;
|
|
@@ -889,6 +895,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
889
895
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
890
896
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
891
897
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
898
|
+
lineHeight?: number | null | undefined;
|
|
892
899
|
padding?: {
|
|
893
900
|
top: number;
|
|
894
901
|
bottom: number;
|
|
@@ -902,6 +909,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
902
909
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
903
910
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
904
911
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
912
|
+
lineHeight?: number | null | undefined;
|
|
905
913
|
padding?: {
|
|
906
914
|
top: number;
|
|
907
915
|
bottom: number;
|
|
@@ -927,6 +935,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
927
935
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
928
936
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
929
937
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
938
|
+
lineHeight?: number | null | undefined;
|
|
930
939
|
padding?: {
|
|
931
940
|
top: number;
|
|
932
941
|
bottom: number;
|
|
@@ -946,6 +955,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
946
955
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
947
956
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
948
957
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
958
|
+
lineHeight?: number | null | undefined;
|
|
949
959
|
padding?: {
|
|
950
960
|
top: number;
|
|
951
961
|
bottom: number;
|
|
@@ -1531,6 +1541,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1531
1541
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1532
1542
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
1533
1543
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
1544
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1534
1545
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1535
1546
|
top: z.ZodNumber;
|
|
1536
1547
|
bottom: z.ZodNumber;
|
|
@@ -1553,6 +1564,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1553
1564
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1554
1565
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1555
1566
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1567
|
+
lineHeight?: number | null | undefined;
|
|
1556
1568
|
padding?: {
|
|
1557
1569
|
top: number;
|
|
1558
1570
|
bottom: number;
|
|
@@ -1565,6 +1577,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1565
1577
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1566
1578
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1567
1579
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1580
|
+
lineHeight?: number | null | undefined;
|
|
1568
1581
|
padding?: {
|
|
1569
1582
|
top: number;
|
|
1570
1583
|
bottom: number;
|
|
@@ -1583,6 +1596,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1583
1596
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1584
1597
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1585
1598
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1599
|
+
lineHeight?: number | null | undefined;
|
|
1586
1600
|
padding?: {
|
|
1587
1601
|
top: number;
|
|
1588
1602
|
bottom: number;
|
|
@@ -1601,6 +1615,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1601
1615
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1602
1616
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1603
1617
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1618
|
+
lineHeight?: number | null | undefined;
|
|
1604
1619
|
padding?: {
|
|
1605
1620
|
top: number;
|
|
1606
1621
|
bottom: number;
|
|
@@ -1824,6 +1839,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1824
1839
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1825
1840
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
1826
1841
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
1842
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1827
1843
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1828
1844
|
top: z.ZodNumber;
|
|
1829
1845
|
bottom: z.ZodNumber;
|
|
@@ -1847,6 +1863,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1847
1863
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1848
1864
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1849
1865
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1866
|
+
lineHeight?: number | null | undefined;
|
|
1850
1867
|
padding?: {
|
|
1851
1868
|
top: number;
|
|
1852
1869
|
bottom: number;
|
|
@@ -1860,6 +1877,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1860
1877
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1861
1878
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1862
1879
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1880
|
+
lineHeight?: number | null | undefined;
|
|
1863
1881
|
padding?: {
|
|
1864
1882
|
top: number;
|
|
1865
1883
|
bottom: number;
|
|
@@ -1885,6 +1903,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1885
1903
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1886
1904
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1887
1905
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1906
|
+
lineHeight?: number | null | undefined;
|
|
1888
1907
|
padding?: {
|
|
1889
1908
|
top: number;
|
|
1890
1909
|
bottom: number;
|
|
@@ -1904,6 +1923,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1904
1923
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1905
1924
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1906
1925
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1926
|
+
lineHeight?: number | null | undefined;
|
|
1907
1927
|
padding?: {
|
|
1908
1928
|
top: number;
|
|
1909
1929
|
bottom: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -573,6 +573,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
573
573
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
574
574
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
575
575
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
576
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
576
577
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
577
578
|
top: z.ZodNumber;
|
|
578
579
|
bottom: z.ZodNumber;
|
|
@@ -595,6 +596,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
595
596
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
596
597
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
597
598
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
599
|
+
lineHeight?: number | null | undefined;
|
|
598
600
|
padding?: {
|
|
599
601
|
top: number;
|
|
600
602
|
bottom: number;
|
|
@@ -607,6 +609,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
607
609
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
608
610
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
609
611
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
612
|
+
lineHeight?: number | null | undefined;
|
|
610
613
|
padding?: {
|
|
611
614
|
top: number;
|
|
612
615
|
bottom: number;
|
|
@@ -625,6 +628,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
625
628
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
626
629
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
627
630
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
631
|
+
lineHeight?: number | null | undefined;
|
|
628
632
|
padding?: {
|
|
629
633
|
top: number;
|
|
630
634
|
bottom: number;
|
|
@@ -643,6 +647,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
643
647
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
644
648
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
645
649
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
650
|
+
lineHeight?: number | null | undefined;
|
|
646
651
|
padding?: {
|
|
647
652
|
top: number;
|
|
648
653
|
bottom: number;
|
|
@@ -866,6 +871,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
866
871
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
867
872
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
868
873
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
874
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
869
875
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
870
876
|
top: z.ZodNumber;
|
|
871
877
|
bottom: z.ZodNumber;
|
|
@@ -889,6 +895,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
889
895
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
890
896
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
891
897
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
898
|
+
lineHeight?: number | null | undefined;
|
|
892
899
|
padding?: {
|
|
893
900
|
top: number;
|
|
894
901
|
bottom: number;
|
|
@@ -902,6 +909,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
902
909
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
903
910
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
904
911
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
912
|
+
lineHeight?: number | null | undefined;
|
|
905
913
|
padding?: {
|
|
906
914
|
top: number;
|
|
907
915
|
bottom: number;
|
|
@@ -927,6 +935,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
927
935
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
928
936
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
929
937
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
938
|
+
lineHeight?: number | null | undefined;
|
|
930
939
|
padding?: {
|
|
931
940
|
top: number;
|
|
932
941
|
bottom: number;
|
|
@@ -946,6 +955,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
|
|
|
946
955
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
947
956
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
948
957
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
958
|
+
lineHeight?: number | null | undefined;
|
|
949
959
|
padding?: {
|
|
950
960
|
top: number;
|
|
951
961
|
bottom: number;
|
|
@@ -1531,6 +1541,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1531
1541
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1532
1542
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
1533
1543
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
1544
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1534
1545
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1535
1546
|
top: z.ZodNumber;
|
|
1536
1547
|
bottom: z.ZodNumber;
|
|
@@ -1553,6 +1564,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1553
1564
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1554
1565
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1555
1566
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1567
|
+
lineHeight?: number | null | undefined;
|
|
1556
1568
|
padding?: {
|
|
1557
1569
|
top: number;
|
|
1558
1570
|
bottom: number;
|
|
@@ -1565,6 +1577,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1565
1577
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1566
1578
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1567
1579
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1580
|
+
lineHeight?: number | null | undefined;
|
|
1568
1581
|
padding?: {
|
|
1569
1582
|
top: number;
|
|
1570
1583
|
bottom: number;
|
|
@@ -1583,6 +1596,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1583
1596
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1584
1597
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1585
1598
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1599
|
+
lineHeight?: number | null | undefined;
|
|
1586
1600
|
padding?: {
|
|
1587
1601
|
top: number;
|
|
1588
1602
|
bottom: number;
|
|
@@ -1601,6 +1615,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1601
1615
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1602
1616
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1603
1617
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1618
|
+
lineHeight?: number | null | undefined;
|
|
1604
1619
|
padding?: {
|
|
1605
1620
|
top: number;
|
|
1606
1621
|
bottom: number;
|
|
@@ -1824,6 +1839,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1824
1839
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["HELVETICA", "GEORGIA", "MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1825
1840
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<["bold", "normal"]>>>;
|
|
1826
1841
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>>;
|
|
1842
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1827
1843
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1828
1844
|
top: z.ZodNumber;
|
|
1829
1845
|
bottom: z.ZodNumber;
|
|
@@ -1847,6 +1863,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1847
1863
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1848
1864
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1849
1865
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1866
|
+
lineHeight?: number | null | undefined;
|
|
1850
1867
|
padding?: {
|
|
1851
1868
|
top: number;
|
|
1852
1869
|
bottom: number;
|
|
@@ -1860,6 +1877,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1860
1877
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1861
1878
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1862
1879
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1880
|
+
lineHeight?: number | null | undefined;
|
|
1863
1881
|
padding?: {
|
|
1864
1882
|
top: number;
|
|
1865
1883
|
bottom: number;
|
|
@@ -1885,6 +1903,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1885
1903
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1886
1904
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1887
1905
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1906
|
+
lineHeight?: number | null | undefined;
|
|
1888
1907
|
padding?: {
|
|
1889
1908
|
top: number;
|
|
1890
1909
|
bottom: number;
|
|
@@ -1904,6 +1923,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
|
|
|
1904
1923
|
fontFamily?: "HELVETICA" | "GEORGIA" | "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1905
1924
|
fontWeight?: "bold" | "normal" | null | undefined;
|
|
1906
1925
|
textAlign?: "center" | "left" | "right" | null | undefined;
|
|
1926
|
+
lineHeight?: number | null | undefined;
|
|
1907
1927
|
padding?: {
|
|
1908
1928
|
top: number;
|
|
1909
1929
|
bottom: number;
|
package/dist/index.js
CHANGED
|
@@ -314,6 +314,7 @@ function Reader({ document, rootBlockId }) {
|
|
|
314
314
|
function renderToStaticMarkup(document, { rootBlockId }) {
|
|
315
315
|
return "<!DOCTYPE html>" + (0, import_server.renderToStaticMarkup)(
|
|
316
316
|
/* @__PURE__ */ import_react5.default.createElement("html", null, /* @__PURE__ */ import_react5.default.createElement("head", null, /* @__PURE__ */ import_react5.default.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }), /* @__PURE__ */ import_react5.default.createElement("style", { type: "text/css" }, `
|
|
317
|
+
p { margin: 0 }
|
|
317
318
|
.responsive-mobile { display: none !important; }
|
|
318
319
|
.responsive-desktop { display: block !important; }
|
|
319
320
|
@media (max-width: 450px) {
|
package/dist/index.mjs
CHANGED
|
@@ -281,6 +281,7 @@ function Reader({ document, rootBlockId }) {
|
|
|
281
281
|
function renderToStaticMarkup(document, { rootBlockId }) {
|
|
282
282
|
return "<!DOCTYPE html>" + baseRenderToStaticMarkup(
|
|
283
283
|
/* @__PURE__ */ React5.createElement("html", null, /* @__PURE__ */ React5.createElement("head", null, /* @__PURE__ */ React5.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0" }), /* @__PURE__ */ React5.createElement("style", { type: "text/css" }, `
|
|
284
|
+
p { margin: 0 }
|
|
284
285
|
.responsive-mobile { display: none !important; }
|
|
285
286
|
.responsive-desktop { display: block !important; }
|
|
286
287
|
@media (max-width: 450px) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudyzeinoun/email-builder",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"description": "React component to render email messages",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@rudyzeinoun/block-button": "^0.0.5",
|
|
33
33
|
"@rudyzeinoun/block-columns-container": "^0.0.10",
|
|
34
34
|
"@usewaypoint/block-divider": "^0.0.4",
|
|
35
|
-
"@rudyzeinoun/block-heading": "^0.0.
|
|
35
|
+
"@rudyzeinoun/block-heading": "^0.0.6",
|
|
36
36
|
"@rudyzeinoun/block-html": "^0.0.5",
|
|
37
37
|
"@usewaypoint/block-image": "^0.0.5",
|
|
38
38
|
"@usewaypoint/block-spacer": "^0.0.3",
|
|
39
|
-
"@rudyzeinoun/block-text": "^0.0.
|
|
39
|
+
"@rudyzeinoun/block-text": "^0.0.9",
|
|
40
40
|
"@usewaypoint/document-core": "^0.0.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|