@react-email/editor 0.0.0-experimental.32 → 0.0.0-experimental.34
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-BrSAA0dn.d.mts.map +1 -1
- package/dist/plugins/index.cjs +333 -0
- package/dist/plugins/index.d.cts +107 -11
- package/dist/plugins/index.d.cts.map +1 -1
- package/dist/plugins/index.d.mts +107 -11
- package/dist/plugins/index.d.mts.map +1 -1
- package/dist/plugins/index.mjs +322 -1
- package/dist/plugins/index.mjs.map +1 -1
- package/dist/ui/index.d.cts +73 -73
- package/dist/ui/index.d.cts.map +1 -1
- package/dist/ui/index.d.mts +73 -73
- package/dist/ui/index.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-BrSAA0dn.d.mts","names":[],"sources":["../src/core/event-bus.ts","../src/core/is-document-visually-empty.ts","../src/core/serializer/compose-react-email.tsx","../src/core/serializer/email-node.ts","../src/core/create-paste-handler.ts","../src/core/use-editor.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;AAcA;AAIA;AAEA;;;;AAEY,UARK,cAAA,CAQL;EAAO,sBAAA,EAAA,SAAA;AAEnB;AAIM,KAVM,eAAA,GAUQ,MAVgB,cAUhB;AAKC,KAbT,kBAaS,CAAA,UAboB,eAapB,CAAA,GAAA,CAAA,OAAA,EAZV,cAYU,CAZK,CAYL,CAAA,EAAA,GAAA,IAAA,GAXT,OAWS,CAAA,IAAA,CAAA;AACN,UAVE,uBAAA,CAUF;EACF,WAAA,EAAA,GAAA,GAAA,IAAA;;cAPP,cAAA,CAQmB;EAYV,QAAA,eAAA;EACA,QAAA,CAAA,UAhBM,eAgBN,CAAA,CAAA,SAAA,EAfA,CAeA,EAAA,OAAA,EAdF,cAcE,CAda,CAcb,CAAA,EAAA,OACF,CADE,EAAA;IACiB,MAAA,CAAA,EAdP,WAcO;EAAnB,CAAA,CAAA,EAAA,IAAA;EACC,EAAA,CAAA,UAHC,eAGD,CAAA,CAAA,SAAA,EAFC,CAED,EAAA,OAAA,EADD,kBACC,CADkB,CAClB,CAAA,EAAA,OACT,CADS,EAAA,uBAAA,GAAA;IAAqC,MAAA,CAAA,EAAA,WAAA;EAC9C,CAAA,CAAA,EAAA,uBAAA;;AAgCQ,cAAA,cAAc,EAAA,cAAuB;;;iBClFlC,uBAAA,MAA6B;;;UCWnC,uBAAA;;;;cAKG;;;AFEb;EANiB,MAAA,EEQP,MFRO;EAIL,OAAA,CAAA,EAAA,MAAA;AAEZ,CAAA,EAAA,GEII,OFJQ,CEIA,uBFJkB,CAAA;;;KGZlB,qBAAA;QACJ;SACC,KAAA,CAAM;aACF,KAAA,CAAM;aAEN;AHCb,CAAA,EAAA,GGAM,KAAA,CAAM,SHAmB;AAInB,UGFK,eHEU,
|
|
1
|
+
{"version":3,"file":"index-BrSAA0dn.d.mts","names":[],"sources":["../src/core/event-bus.ts","../src/core/is-document-visually-empty.ts","../src/core/serializer/compose-react-email.tsx","../src/core/serializer/email-node.ts","../src/core/create-paste-handler.ts","../src/core/use-editor.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;AAcA;AAIA;AAEA;;;;AAEY,UARK,cAAA,CAQL;EAAO,sBAAA,EAAA,SAAA;AAEnB;AAIM,KAVM,eAAA,GAUQ,MAVgB,cAUhB;AAKC,KAbT,kBAaS,CAAA,UAboB,eAapB,CAAA,GAAA,CAAA,OAAA,EAZV,cAYU,CAZK,CAYL,CAAA,EAAA,GAAA,IAAA,GAXT,OAWS,CAAA,IAAA,CAAA;AACN,UAVE,uBAAA,CAUF;EACF,WAAA,EAAA,GAAA,GAAA,IAAA;;cAPP,cAAA,CAQmB;EAYV,QAAA,eAAA;EACA,QAAA,CAAA,UAhBM,eAgBN,CAAA,CAAA,SAAA,EAfA,CAeA,EAAA,OAAA,EAdF,cAcE,CAda,CAcb,CAAA,EAAA,OACF,CADE,EAAA;IACiB,MAAA,CAAA,EAdP,WAc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,YAAA,sBACQ,YACZ;KAGI,kBAAA,UACJ,YACA,2CJOiC;;EANxB,MAAA,CAAA,EAAA,MAAA;EAIL,SAAA,CAAA,EAAA,MAAe;EAEf,IAAA,CAAA,EAAA,MAAA;CAA6B,EAAA,GAAA,IAAA,GIC7B,OJD6B,CAAA,IAAA,CAAA;;;KKMpC,cAAc,IAAI,KAAK,SAAS;iBAErB,WAAA;;;;;;;;;ALJC,GKad;WAEU;ELzBI,UAAA,CAAA,EK0BA,UL1Bc;EAInB,QAAA,CAAA,EAAA,CAAA,MAAe,EKwBb,MLxBsB,EAAA,WAAc,EAAA;IAEtC,OAAA,EAAA,CAAA,GAAA,EAAA,MAAkB,EAAA,GAAA,OAAA;EAAW,CAAA,EAAA,GAAA,IAAA;EAC9B,OAAA,CAAA,EKwBG,YLxBH;EAAe,aAAA,CAAA,EKyBN,kBLzBM;EACd,OAAA,CAAA,EAAA,CAAA,MAAA,EKyBW,MLzBX,GAAA,IAAA,EAAA,GAAA,IAAA;EAAO,QAAA,CAAA,EAAA,OAAA;AAEnB,CAAA,EK0BE,gBL1Be,CAAA,CAAA,EAAA;EAIX,MAAA,QAAc;EAKC,aAAA,EAAA,OAAA;EACN,UAAA,YAAA;EACF,YAAA,OAAA,GAAA,IAAA;EAAe,eAAA,EAAA,OAAA;CACH"}
|
package/dist/plugins/index.cjs
CHANGED
|
@@ -74,6 +74,33 @@ function injectGlobalPlainCss(css, options = {}) {
|
|
|
74
74
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/plugins/email-theming/themes.ts
|
|
77
|
+
/**
|
|
78
|
+
* Single source of truth for panel section display titles.
|
|
79
|
+
* Titles are resolved from here at render time via `getPanelTitle`,
|
|
80
|
+
* so they never depend on what's persisted in the DB.
|
|
81
|
+
*/
|
|
82
|
+
const PANEL_SECTION_TITLES = {
|
|
83
|
+
body: "Background",
|
|
84
|
+
container: "Body",
|
|
85
|
+
typography: "Text",
|
|
86
|
+
h1: "Title",
|
|
87
|
+
h2: "Subtitle",
|
|
88
|
+
h3: "Heading",
|
|
89
|
+
link: "Link",
|
|
90
|
+
image: "Image",
|
|
91
|
+
button: "Button",
|
|
92
|
+
"code-block": "Code Block",
|
|
93
|
+
"inline-code": "Inline Code"
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Resolves the display title for a panel group.
|
|
97
|
+
* Uses the `id` lookup when available, falls back to the
|
|
98
|
+
* DB-persisted `title` for backwards compatibility.
|
|
99
|
+
*/
|
|
100
|
+
function getPanelTitle(group) {
|
|
101
|
+
if (group.id && group.id in PANEL_SECTION_TITLES) return PANEL_SECTION_TITLES[group.id];
|
|
102
|
+
return group.title;
|
|
103
|
+
}
|
|
77
104
|
const THEME_BASIC = [
|
|
78
105
|
{
|
|
79
106
|
id: "body",
|
|
@@ -448,10 +475,25 @@ const RESET_THEMES = {
|
|
|
448
475
|
basic: RESET_BASIC,
|
|
449
476
|
minimal: RESET_MINIMAL
|
|
450
477
|
};
|
|
478
|
+
function resolveResetValue(value, targetUnit, bodyFontSizePx) {
|
|
479
|
+
if (value === void 0) return;
|
|
480
|
+
const str = String(value);
|
|
481
|
+
const num = Number.parseFloat(str);
|
|
482
|
+
if (Number.isNaN(num)) return;
|
|
483
|
+
if (str.endsWith("em")) return targetUnit === "px" ? Math.floor(num * bodyFontSizePx) : num * 100;
|
|
484
|
+
return num;
|
|
485
|
+
}
|
|
451
486
|
const EDITOR_THEMES = {
|
|
452
487
|
minimal: THEME_MINIMAL,
|
|
453
488
|
basic: THEME_BASIC
|
|
454
489
|
};
|
|
490
|
+
function getThemeBodyFontSizePx(theme) {
|
|
491
|
+
for (const group of EDITOR_THEMES[theme]) {
|
|
492
|
+
if (group.classReference !== "body") continue;
|
|
493
|
+
for (const input of group.inputs) if (input.prop === "fontSize" && typeof input.value === "number") return input.value;
|
|
494
|
+
}
|
|
495
|
+
return 14;
|
|
496
|
+
}
|
|
455
497
|
/**
|
|
456
498
|
* Use to make the preview nicer once the theme might miss some
|
|
457
499
|
* important properties to make layout accurate
|
|
@@ -466,6 +508,285 @@ const INBOX_EMAIL_DEFAULTS = {
|
|
|
466
508
|
},
|
|
467
509
|
container: { width: 600 }
|
|
468
510
|
};
|
|
511
|
+
const SUPPORTED_CSS_PROPERTIES = {
|
|
512
|
+
align: {
|
|
513
|
+
label: "Align",
|
|
514
|
+
type: "select",
|
|
515
|
+
options: {
|
|
516
|
+
left: "Left",
|
|
517
|
+
center: "Center",
|
|
518
|
+
right: "Right"
|
|
519
|
+
},
|
|
520
|
+
defaultValue: "left",
|
|
521
|
+
category: "layout"
|
|
522
|
+
},
|
|
523
|
+
backgroundColor: {
|
|
524
|
+
label: "Background",
|
|
525
|
+
type: "color",
|
|
526
|
+
excludeNodes: ["image", "youtube"],
|
|
527
|
+
defaultValue: "#ffffff",
|
|
528
|
+
category: "appearance"
|
|
529
|
+
},
|
|
530
|
+
color: {
|
|
531
|
+
label: "Text color",
|
|
532
|
+
type: "color",
|
|
533
|
+
excludeNodes: ["image", "youtube"],
|
|
534
|
+
defaultValue: "#000000",
|
|
535
|
+
category: "typography"
|
|
536
|
+
},
|
|
537
|
+
fontSize: {
|
|
538
|
+
label: "Font size",
|
|
539
|
+
type: "number",
|
|
540
|
+
unit: "px",
|
|
541
|
+
excludeNodes: ["image", "youtube"],
|
|
542
|
+
defaultValue: 14,
|
|
543
|
+
category: "typography"
|
|
544
|
+
},
|
|
545
|
+
fontWeight: {
|
|
546
|
+
label: "Font weight",
|
|
547
|
+
type: "select",
|
|
548
|
+
options: {
|
|
549
|
+
300: "Light",
|
|
550
|
+
400: "Normal",
|
|
551
|
+
600: "Semi Bold",
|
|
552
|
+
700: "Bold",
|
|
553
|
+
800: "Extra Bold"
|
|
554
|
+
},
|
|
555
|
+
excludeNodes: ["image", "youtube"],
|
|
556
|
+
defaultValue: 400,
|
|
557
|
+
category: "typography"
|
|
558
|
+
},
|
|
559
|
+
letterSpacing: {
|
|
560
|
+
label: "Letter spacing",
|
|
561
|
+
type: "number",
|
|
562
|
+
unit: "px",
|
|
563
|
+
excludeNodes: ["image", "youtube"],
|
|
564
|
+
defaultValue: 0,
|
|
565
|
+
category: "typography"
|
|
566
|
+
},
|
|
567
|
+
lineHeight: {
|
|
568
|
+
label: "Line height",
|
|
569
|
+
type: "number",
|
|
570
|
+
unit: "%",
|
|
571
|
+
defaultValue: 155,
|
|
572
|
+
category: "typography"
|
|
573
|
+
},
|
|
574
|
+
textDecoration: {
|
|
575
|
+
label: "Text decoration",
|
|
576
|
+
type: "select",
|
|
577
|
+
options: {
|
|
578
|
+
none: "None",
|
|
579
|
+
underline: "Underline",
|
|
580
|
+
"line-through": "Line-through"
|
|
581
|
+
},
|
|
582
|
+
defaultValue: "none",
|
|
583
|
+
category: "typography"
|
|
584
|
+
},
|
|
585
|
+
borderRadius: {
|
|
586
|
+
label: "Border Radius",
|
|
587
|
+
type: "number",
|
|
588
|
+
unit: "px",
|
|
589
|
+
defaultValue: 8,
|
|
590
|
+
category: "appearance"
|
|
591
|
+
},
|
|
592
|
+
borderTopLeftRadius: {
|
|
593
|
+
label: "Border Radius (Top-Left)",
|
|
594
|
+
type: "number",
|
|
595
|
+
unit: "px",
|
|
596
|
+
defaultValue: 8,
|
|
597
|
+
category: "appearance"
|
|
598
|
+
},
|
|
599
|
+
borderTopRightRadius: {
|
|
600
|
+
label: "Border Radius (Top-Right)",
|
|
601
|
+
type: "number",
|
|
602
|
+
unit: "px",
|
|
603
|
+
defaultValue: 8,
|
|
604
|
+
category: "appearance"
|
|
605
|
+
},
|
|
606
|
+
borderBottomLeftRadius: {
|
|
607
|
+
label: "Border Radius (Bottom-Left)",
|
|
608
|
+
type: "number",
|
|
609
|
+
unit: "px",
|
|
610
|
+
defaultValue: 8,
|
|
611
|
+
category: "appearance"
|
|
612
|
+
},
|
|
613
|
+
borderBottomRightRadius: {
|
|
614
|
+
label: "Border Radius (Bottom-Right)",
|
|
615
|
+
type: "number",
|
|
616
|
+
unit: "px",
|
|
617
|
+
defaultValue: 8,
|
|
618
|
+
category: "appearance"
|
|
619
|
+
},
|
|
620
|
+
borderWidth: {
|
|
621
|
+
label: "Border Width",
|
|
622
|
+
type: "number",
|
|
623
|
+
unit: "px",
|
|
624
|
+
defaultValue: 1,
|
|
625
|
+
category: "appearance"
|
|
626
|
+
},
|
|
627
|
+
borderTopWidth: {
|
|
628
|
+
label: "Border Top Width",
|
|
629
|
+
type: "number",
|
|
630
|
+
unit: "px",
|
|
631
|
+
defaultValue: 1,
|
|
632
|
+
category: "appearance"
|
|
633
|
+
},
|
|
634
|
+
borderRightWidth: {
|
|
635
|
+
label: "Border Right Width",
|
|
636
|
+
type: "number",
|
|
637
|
+
unit: "px",
|
|
638
|
+
defaultValue: 1,
|
|
639
|
+
category: "appearance"
|
|
640
|
+
},
|
|
641
|
+
borderBottomWidth: {
|
|
642
|
+
label: "Border Bottom Width",
|
|
643
|
+
type: "number",
|
|
644
|
+
unit: "px",
|
|
645
|
+
defaultValue: 1,
|
|
646
|
+
category: "appearance"
|
|
647
|
+
},
|
|
648
|
+
borderLeftWidth: {
|
|
649
|
+
label: "Border Left Width",
|
|
650
|
+
type: "number",
|
|
651
|
+
unit: "px",
|
|
652
|
+
defaultValue: 1,
|
|
653
|
+
category: "appearance"
|
|
654
|
+
},
|
|
655
|
+
borderStyle: {
|
|
656
|
+
label: "Border Style",
|
|
657
|
+
type: "select",
|
|
658
|
+
options: {
|
|
659
|
+
solid: "Solid",
|
|
660
|
+
dashed: "Dashed",
|
|
661
|
+
dotted: "Dotted"
|
|
662
|
+
},
|
|
663
|
+
defaultValue: "solid",
|
|
664
|
+
category: "appearance"
|
|
665
|
+
},
|
|
666
|
+
borderTopStyle: {
|
|
667
|
+
label: "Border Top Style",
|
|
668
|
+
type: "select",
|
|
669
|
+
options: {
|
|
670
|
+
solid: "Solid",
|
|
671
|
+
dashed: "Dashed",
|
|
672
|
+
dotted: "Dotted"
|
|
673
|
+
},
|
|
674
|
+
defaultValue: "solid",
|
|
675
|
+
category: "appearance"
|
|
676
|
+
},
|
|
677
|
+
borderRightStyle: {
|
|
678
|
+
label: "Border Right Style",
|
|
679
|
+
type: "select",
|
|
680
|
+
options: {
|
|
681
|
+
solid: "Solid",
|
|
682
|
+
dashed: "Dashed",
|
|
683
|
+
dotted: "Dotted"
|
|
684
|
+
},
|
|
685
|
+
defaultValue: "solid",
|
|
686
|
+
category: "appearance"
|
|
687
|
+
},
|
|
688
|
+
borderBottomStyle: {
|
|
689
|
+
label: "Border Bottom Style",
|
|
690
|
+
type: "select",
|
|
691
|
+
options: {
|
|
692
|
+
solid: "Solid",
|
|
693
|
+
dashed: "Dashed",
|
|
694
|
+
dotted: "Dotted"
|
|
695
|
+
},
|
|
696
|
+
defaultValue: "solid",
|
|
697
|
+
category: "appearance"
|
|
698
|
+
},
|
|
699
|
+
borderLeftStyle: {
|
|
700
|
+
label: "Border Left Style",
|
|
701
|
+
type: "select",
|
|
702
|
+
options: {
|
|
703
|
+
solid: "Solid",
|
|
704
|
+
dashed: "Dashed",
|
|
705
|
+
dotted: "Dotted"
|
|
706
|
+
},
|
|
707
|
+
defaultValue: "solid",
|
|
708
|
+
category: "appearance"
|
|
709
|
+
},
|
|
710
|
+
borderColor: {
|
|
711
|
+
label: "Border Color",
|
|
712
|
+
type: "color",
|
|
713
|
+
defaultValue: "#000000",
|
|
714
|
+
category: "appearance"
|
|
715
|
+
},
|
|
716
|
+
borderTopColor: {
|
|
717
|
+
label: "Border Top Color",
|
|
718
|
+
type: "color",
|
|
719
|
+
defaultValue: "#000000",
|
|
720
|
+
category: "appearance"
|
|
721
|
+
},
|
|
722
|
+
borderRightColor: {
|
|
723
|
+
label: "Border Right Color",
|
|
724
|
+
type: "color",
|
|
725
|
+
defaultValue: "#000000",
|
|
726
|
+
category: "appearance"
|
|
727
|
+
},
|
|
728
|
+
borderBottomColor: {
|
|
729
|
+
label: "Border Bottom Color",
|
|
730
|
+
type: "color",
|
|
731
|
+
defaultValue: "#000000",
|
|
732
|
+
category: "appearance"
|
|
733
|
+
},
|
|
734
|
+
borderLeftColor: {
|
|
735
|
+
label: "Border Left Color",
|
|
736
|
+
type: "color",
|
|
737
|
+
defaultValue: "#000000",
|
|
738
|
+
category: "appearance"
|
|
739
|
+
},
|
|
740
|
+
padding: {
|
|
741
|
+
label: "Padding",
|
|
742
|
+
type: "number",
|
|
743
|
+
unit: "px",
|
|
744
|
+
defaultValue: 8,
|
|
745
|
+
category: "layout"
|
|
746
|
+
},
|
|
747
|
+
paddingTop: {
|
|
748
|
+
label: "Padding Top",
|
|
749
|
+
type: "number",
|
|
750
|
+
unit: "px",
|
|
751
|
+
defaultValue: 8,
|
|
752
|
+
category: "layout"
|
|
753
|
+
},
|
|
754
|
+
paddingLeft: {
|
|
755
|
+
label: "Padding Left",
|
|
756
|
+
type: "number",
|
|
757
|
+
unit: "px",
|
|
758
|
+
defaultValue: 8,
|
|
759
|
+
category: "layout"
|
|
760
|
+
},
|
|
761
|
+
paddingBottom: {
|
|
762
|
+
label: "Padding Bottom",
|
|
763
|
+
type: "number",
|
|
764
|
+
unit: "px",
|
|
765
|
+
defaultValue: 8,
|
|
766
|
+
category: "layout"
|
|
767
|
+
},
|
|
768
|
+
paddingRight: {
|
|
769
|
+
label: "Padding Right",
|
|
770
|
+
type: "number",
|
|
771
|
+
unit: "px",
|
|
772
|
+
defaultValue: 8,
|
|
773
|
+
category: "layout"
|
|
774
|
+
},
|
|
775
|
+
width: {
|
|
776
|
+
label: "Width",
|
|
777
|
+
type: "number",
|
|
778
|
+
unit: "px",
|
|
779
|
+
defaultValue: 600,
|
|
780
|
+
category: "layout"
|
|
781
|
+
},
|
|
782
|
+
height: {
|
|
783
|
+
label: "Height",
|
|
784
|
+
type: "number",
|
|
785
|
+
unit: "px",
|
|
786
|
+
defaultValue: 400,
|
|
787
|
+
category: "layout"
|
|
788
|
+
}
|
|
789
|
+
};
|
|
469
790
|
|
|
470
791
|
//#endregion
|
|
471
792
|
//#region src/plugins/email-theming/normalization.ts
|
|
@@ -774,9 +1095,21 @@ const EmailTheming = _tiptap_core.Extension.create({
|
|
|
774
1095
|
});
|
|
775
1096
|
|
|
776
1097
|
//#endregion
|
|
1098
|
+
exports.DEFAULT_INBOX_FONT_SIZE_PX = DEFAULT_INBOX_FONT_SIZE_PX;
|
|
1099
|
+
exports.EDITOR_THEMES = EDITOR_THEMES;
|
|
777
1100
|
exports.EmailTheming = EmailTheming;
|
|
1101
|
+
exports.INBOX_EMAIL_DEFAULTS = INBOX_EMAIL_DEFAULTS;
|
|
1102
|
+
exports.RESET_THEMES = RESET_THEMES;
|
|
1103
|
+
exports.SUPPORTED_CSS_PROPERTIES = SUPPORTED_CSS_PROPERTIES;
|
|
778
1104
|
exports.getMergedCssJs = getMergedCssJs;
|
|
1105
|
+
exports.getPanelTitle = getPanelTitle;
|
|
779
1106
|
exports.getResolvedNodeStyles = getResolvedNodeStyles;
|
|
1107
|
+
exports.getThemeBodyFontSizePx = getThemeBodyFontSizePx;
|
|
780
1108
|
exports.getThemeComponentKey = getThemeComponentKey;
|
|
1109
|
+
exports.injectGlobalPlainCss = injectGlobalPlainCss;
|
|
1110
|
+
exports.injectThemeCss = injectThemeCss;
|
|
1111
|
+
exports.mergeCssJs = mergeCssJs;
|
|
1112
|
+
exports.resolveResetValue = resolveResetValue;
|
|
781
1113
|
exports.stylesToCss = stylesToCss;
|
|
1114
|
+
exports.transformToCssJs = transformToCssJs;
|
|
782
1115
|
exports.useEmailTheming = useEmailTheming;
|
package/dist/plugins/index.d.cts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { Editor, Extension, JSONContent } from "@tiptap/core";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/core/serializer/serializer-plugin.d.ts
|
|
5
|
-
interface SerializerPlugin {
|
|
6
|
-
getNodeStyles(node: JSONContent, depth: number, editor: Editor): React.CSSProperties;
|
|
7
|
-
BaseTemplate(props: {
|
|
8
|
-
previewText?: string;
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
editor: Editor;
|
|
11
|
-
}): React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
4
|
//#region src/plugins/email-theming/types.d.ts
|
|
15
5
|
type InputType = 'color' | 'number' | 'select' | 'text' | 'textarea';
|
|
16
6
|
type InputUnit = 'px' | '%';
|
|
@@ -19,6 +9,7 @@ type EditorTheme = 'basic' | 'minimal';
|
|
|
19
9
|
type PanelSectionId = 'body' | 'container' | 'typography' | 'h1' | 'h2' | 'h3' | 'link' | 'image' | 'button' | 'code-block' | 'inline-code';
|
|
20
10
|
type KnownThemeComponents = 'reset' | 'body' | 'container' | 'h1' | 'h2' | 'h3' | 'paragraph' | 'nestedList' | 'list' | 'listItem' | 'listParagraph' | 'blockquote' | 'codeBlock' | 'inlineCode' | 'codeTag' | 'link' | 'footer' | 'hr' | 'image' | 'button' | 'section';
|
|
21
11
|
type KnownCssProperties = 'align' | 'backgroundColor' | 'color' | 'fontSize' | 'fontWeight' | 'letterSpacing' | 'lineHeight' | 'textDecoration' | 'borderRadius' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius' | 'borderWidth' | 'borderTopWidth' | 'borderRightWidth' | 'borderBottomWidth' | 'borderLeftWidth' | 'borderStyle' | 'borderTopStyle' | 'borderRightStyle' | 'borderBottomStyle' | 'borderLeftStyle' | 'borderColor' | 'borderTopColor' | 'borderRightColor' | 'borderBottomColor' | 'borderLeftColor' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'width' | 'height';
|
|
12
|
+
type ResetTheme = Record<KnownThemeComponents, React$1.CSSProperties>;
|
|
22
13
|
type CssJs = { [K in KnownThemeComponents]: React$1.CSSProperties & {
|
|
23
14
|
align?: 'center' | 'left' | 'right';
|
|
24
15
|
} };
|
|
@@ -53,6 +44,92 @@ interface PanelGroup {
|
|
|
53
44
|
inputs: Omit<PanelInputProperty, 'category'>[];
|
|
54
45
|
}
|
|
55
46
|
//#endregion
|
|
47
|
+
//#region src/plugins/email-theming/css-transforms.d.ts
|
|
48
|
+
declare function transformToCssJs(styleArray: PanelGroup[], baseFontSize: number): CssJs;
|
|
49
|
+
declare function mergeCssJs(original: CssJs, newCssJs: CssJs): {
|
|
50
|
+
blockquote: React$1.CSSProperties & {
|
|
51
|
+
align?: "center" | "left" | "right";
|
|
52
|
+
};
|
|
53
|
+
codeBlock: React$1.CSSProperties & {
|
|
54
|
+
align?: "center" | "left" | "right";
|
|
55
|
+
};
|
|
56
|
+
listItem: React$1.CSSProperties & {
|
|
57
|
+
align?: "center" | "left" | "right";
|
|
58
|
+
};
|
|
59
|
+
link: React$1.CSSProperties & {
|
|
60
|
+
align?: "center" | "left" | "right";
|
|
61
|
+
};
|
|
62
|
+
paragraph: React$1.CSSProperties & {
|
|
63
|
+
align?: "center" | "left" | "right";
|
|
64
|
+
};
|
|
65
|
+
image: React$1.CSSProperties & {
|
|
66
|
+
align?: "center" | "left" | "right";
|
|
67
|
+
};
|
|
68
|
+
button: React$1.CSSProperties & {
|
|
69
|
+
align?: "center" | "left" | "right";
|
|
70
|
+
};
|
|
71
|
+
footer: React$1.CSSProperties & {
|
|
72
|
+
align?: "center" | "left" | "right";
|
|
73
|
+
};
|
|
74
|
+
section: React$1.CSSProperties & {
|
|
75
|
+
align?: "center" | "left" | "right";
|
|
76
|
+
};
|
|
77
|
+
body: React$1.CSSProperties & {
|
|
78
|
+
align?: "center" | "left" | "right";
|
|
79
|
+
};
|
|
80
|
+
reset: React$1.CSSProperties & {
|
|
81
|
+
align?: "center" | "left" | "right";
|
|
82
|
+
};
|
|
83
|
+
container: React$1.CSSProperties & {
|
|
84
|
+
align?: "center" | "left" | "right";
|
|
85
|
+
};
|
|
86
|
+
h1: React$1.CSSProperties & {
|
|
87
|
+
align?: "center" | "left" | "right";
|
|
88
|
+
};
|
|
89
|
+
h2: React$1.CSSProperties & {
|
|
90
|
+
align?: "center" | "left" | "right";
|
|
91
|
+
};
|
|
92
|
+
h3: React$1.CSSProperties & {
|
|
93
|
+
align?: "center" | "left" | "right";
|
|
94
|
+
};
|
|
95
|
+
nestedList: React$1.CSSProperties & {
|
|
96
|
+
align?: "center" | "left" | "right";
|
|
97
|
+
};
|
|
98
|
+
list: React$1.CSSProperties & {
|
|
99
|
+
align?: "center" | "left" | "right";
|
|
100
|
+
};
|
|
101
|
+
listParagraph: React$1.CSSProperties & {
|
|
102
|
+
align?: "center" | "left" | "right";
|
|
103
|
+
};
|
|
104
|
+
inlineCode: React$1.CSSProperties & {
|
|
105
|
+
align?: "center" | "left" | "right";
|
|
106
|
+
};
|
|
107
|
+
codeTag: React$1.CSSProperties & {
|
|
108
|
+
align?: "center" | "left" | "right";
|
|
109
|
+
};
|
|
110
|
+
hr: React$1.CSSProperties & {
|
|
111
|
+
align?: "center" | "left" | "right";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
declare function injectThemeCss(styles: CssJs, options?: {
|
|
115
|
+
styleId?: string;
|
|
116
|
+
scopeSelector?: string;
|
|
117
|
+
}): void;
|
|
118
|
+
declare function injectGlobalPlainCss(css?: string | null, options?: {
|
|
119
|
+
styleId?: string;
|
|
120
|
+
scopeSelector?: string;
|
|
121
|
+
}): void;
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/core/serializer/serializer-plugin.d.ts
|
|
124
|
+
interface SerializerPlugin {
|
|
125
|
+
getNodeStyles(node: JSONContent, depth: number, editor: Editor): React.CSSProperties;
|
|
126
|
+
BaseTemplate(props: {
|
|
127
|
+
previewText?: string;
|
|
128
|
+
children: React.ReactNode;
|
|
129
|
+
editor: Editor;
|
|
130
|
+
}): React.ReactNode;
|
|
131
|
+
}
|
|
132
|
+
//#endregion
|
|
56
133
|
//#region src/plugins/email-theming/extension.d.ts
|
|
57
134
|
/**
|
|
58
135
|
* Maps a document node (type + attrs) to the theme component key used for style lookup.
|
|
@@ -76,5 +153,24 @@ declare const EmailTheming: Extension<{
|
|
|
76
153
|
serializerPlugin: SerializerPlugin;
|
|
77
154
|
}, any>;
|
|
78
155
|
//#endregion
|
|
79
|
-
|
|
156
|
+
//#region src/plugins/email-theming/themes.d.ts
|
|
157
|
+
/**
|
|
158
|
+
* Resolves the display title for a panel group.
|
|
159
|
+
* Uses the `id` lookup when available, falls back to the
|
|
160
|
+
* DB-persisted `title` for backwards compatibility.
|
|
161
|
+
*/
|
|
162
|
+
declare function getPanelTitle(group: PanelGroup): string;
|
|
163
|
+
declare const RESET_THEMES: Record<EditorTheme, ResetTheme>;
|
|
164
|
+
declare function resolveResetValue(value: string | number | undefined, targetUnit: 'px' | '%', bodyFontSizePx: number): number | undefined;
|
|
165
|
+
declare const EDITOR_THEMES: Record<EditorTheme, PanelGroup[]>;
|
|
166
|
+
declare function getThemeBodyFontSizePx(theme: EditorTheme): number;
|
|
167
|
+
/**
|
|
168
|
+
* Use to make the preview nicer once the theme might miss some
|
|
169
|
+
* important properties to make layout accurate
|
|
170
|
+
*/
|
|
171
|
+
declare const DEFAULT_INBOX_FONT_SIZE_PX = 14;
|
|
172
|
+
declare const INBOX_EMAIL_DEFAULTS: Partial<ResetTheme>;
|
|
173
|
+
declare const SUPPORTED_CSS_PROPERTIES: SupportedCssProperties;
|
|
174
|
+
//#endregion
|
|
175
|
+
export { CssJs, DEFAULT_INBOX_FONT_SIZE_PX, EDITOR_THEMES, EditorTheme, EmailTheming, INBOX_EMAIL_DEFAULTS, KnownCssProperties, KnownThemeComponents, PanelGroup, PanelInputProperty, PanelSectionId, RESET_THEMES, ResetTheme, SUPPORTED_CSS_PROPERTIES, SupportedCssProperties, getMergedCssJs, getPanelTitle, getResolvedNodeStyles, getThemeBodyFontSizePx, getThemeComponentKey, injectGlobalPlainCss, injectThemeCss, mergeCssJs, resolveResetValue, stylesToCss, transformToCssJs, useEmailTheming };
|
|
80
176
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/core/serializer/serializer-plugin.ts","../../src/plugins/email-theming/
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/plugins/email-theming/types.ts","../../src/plugins/email-theming/css-transforms.ts","../../src/core/serializer/serializer-plugin.ts","../../src/plugins/email-theming/extension.tsx","../../src/plugins/email-theming/themes.ts"],"sourcesContent":[],"mappings":";;;;KAEK,SAAA;KACA,SAAA;KACA,OAAA,GAAU;AAFV,KAIO,WAAA,GAJE,OAAA,GAAA,SAAA;AACT,KAIO,cAAA,GAJE,MAAA,GAAA,WAAA,GAAA,YAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,GAAA,YAAA,GAAA,aAAA;AACT,KAeO,oBAAA,GAfS,OAAA,GAAA,MAAA,GAAA,WAAA,GAAA,IAAA,GAAA,IAAA,GAAA,IAAA,GAAA,WAAA,GAAA,YAAA,GAAA,MAAA,GAAA,UAAA,GAAA,eAAA,GAAA,YAAA,GAAA,WAAA,GAAA,YAAA,GAAA,SAAA,GAAA,MAAA,GAAA,QAAA,GAAA,IAAA,GAAA,OAAA,GAAA,QAAA,GAAA,SAAA;AAET,KAoCA,kBAAA,GApCW,OAAA,GAAA,iBAAA,GAAA,OAAA,GAAA,UAAA,GAAA,YAAA,GAAA,eAAA,GAAA,YAAA,GAAA,gBAAA,GAAA,cAAA,GAAA,qBAAA,GAAA,sBAAA,GAAA,wBAAA,GAAA,yBAAA,GAAA,aAAA,GAAA,gBAAA,GAAA,kBAAA,GAAA,mBAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,gBAAA,GAAA,kBAAA,GAAA,mBAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,gBAAA,GAAA,kBAAA,GAAA,mBAAA,GAAA,iBAAA,GAAA,SAAA,GAAA,YAAA,GAAA,cAAA,GAAA,eAAA,GAAA,aAAA,GAAA,OAAA,GAAA,QAAA;AACX,KAwEA,UAAA,GAAa,MAxEC,CAwEM,oBAxEN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