monto-email-builder 1.1.11 → 1.2.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/README.md +10 -9
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts.map +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +1 -1
- package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts.map +1 -1
- package/dist/App/SamplesDrawer/index.d.ts.map +1 -1
- package/dist/chunks/chunk-Cc3ecmGS.js +9671 -0
- package/dist/chunks/chunk-CxhtzHBZ.js +479 -0
- package/dist/documents/blocks/Button/ButtonEditor.d.ts +1 -1
- package/dist/documents/blocks/Button/ButtonEditor.d.ts.map +1 -1
- package/dist/documents/blocks/Heading/HeadingEditor.d.ts +1 -1
- package/dist/documents/blocks/Heading/HeadingEditor.d.ts.map +1 -1
- package/dist/documents/blocks/Image/ImageEditor.d.ts +1 -1
- package/dist/documents/blocks/Image/ImageEditor.d.ts.map +1 -1
- package/dist/documents/blocks/Socials/SocialsEditor.d.ts.map +1 -1
- package/dist/documents/blocks/Text/TextEditor.d.ts +1 -1
- package/dist/documents/blocks/Text/TextEditor.d.ts.map +1 -1
- package/dist/documents/editor/core.d.ts +3 -3
- package/dist/documents/editor/core.d.ts.map +1 -1
- package/dist/getConfiguration/index.d.ts.map +1 -1
- package/dist/getConfiguration/sample/uspeedo-education.d.ts +4 -0
- package/dist/getConfiguration/sample/uspeedo-education.d.ts.map +1 -0
- package/dist/getConfiguration/sample/uspeedo-invite-to-event.d.ts +4 -0
- package/dist/getConfiguration/sample/uspeedo-invite-to-event.d.ts.map +1 -0
- package/dist/getConfiguration/sample/uspeedo-mothers-day.d.ts +4 -0
- package/dist/getConfiguration/sample/uspeedo-mothers-day.d.ts.map +1 -0
- package/dist/getConfiguration/sample/uspeedo-new-product-launch.d.ts +4 -0
- package/dist/getConfiguration/sample/uspeedo-new-product-launch.d.ts.map +1 -0
- package/dist/getConfiguration/sample/uspeedo-shopping-cart.d.ts +4 -0
- package/dist/getConfiguration/sample/uspeedo-shopping-cart.d.ts.map +1 -0
- package/dist/getConfiguration/sample/uspeedo-welcome.d.ts +4 -0
- package/dist/getConfiguration/sample/uspeedo-welcome.d.ts.map +1 -0
- package/dist/html-editor.js +313 -3
- package/dist/index.d.ts +3 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3381 -5059
- package/dist/theme.d.ts.map +1 -1
- package/package.json +12 -12
- package/dist/chunks/chunk-TAYi09Lv.js +0 -4046
- package/dist/chunks/chunk-_2A_JQPF.js +0 -892
package/README.md
CHANGED
|
@@ -52,13 +52,14 @@ npm install @mui/material @mui/icons-material
|
|
|
52
52
|
npm install @emotion/react @emotion/styled
|
|
53
53
|
npm install zustand zod react-colorful
|
|
54
54
|
|
|
55
|
-
#
|
|
56
|
-
npm install
|
|
57
|
-
monto-email-block-columns-container
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
# monto-email 系列包
|
|
56
|
+
npm install monto-email-block-button \
|
|
57
|
+
monto-email-block-columns-container monto-email-block-container \
|
|
58
|
+
monto-email-block-divider monto-email-block-heading \
|
|
59
|
+
monto-email-block-html monto-email-block-image \
|
|
60
|
+
monto-email-block-spacer monto-email-block-text \
|
|
61
|
+
monto-email-document-core monto-email-core \
|
|
62
|
+
monto-email-block-video monto-email-block-socials
|
|
62
63
|
|
|
63
64
|
# 可选依赖(用于代码高亮功能,HTML/JSON 输出预览)
|
|
64
65
|
# 如果使用代码高亮功能,需要安装 react-syntax-highlighter
|
|
@@ -70,10 +71,10 @@ npm install react-syntax-highlighter
|
|
|
70
71
|
|
|
71
72
|
```bash
|
|
72
73
|
# yarn
|
|
73
|
-
yarn add react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled zustand zod react-colorful
|
|
74
|
+
yarn add react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled zustand zod react-colorful monto-email-block-button monto-email-block-columns-container monto-email-block-container monto-email-block-divider monto-email-block-heading monto-email-block-html monto-email-block-image monto-email-block-spacer monto-email-block-text monto-email-document-core monto-email-core monto-email-block-video monto-email-block-socials
|
|
74
75
|
|
|
75
76
|
# pnpm
|
|
76
|
-
pnpm add react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled zustand zod react-colorful
|
|
77
|
+
pnpm add react react-dom @mui/material @mui/icons-material @emotion/react @emotion/styled zustand zod react-colorful monto-email-block-button monto-email-block-columns-container monto-email-block-container monto-email-block-divider monto-email-block-heading monto-email-block-html monto-email-block-image monto-email-block-spacer monto-email-block-text monto-email-document-core monto-email-core monto-email-block-video monto-email-block-socials
|
|
77
78
|
```
|
|
78
79
|
|
|
79
80
|
## 基本使用
|
package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0C,MAAM,
|
|
1
|
+
{"version":3,"file":"ButtonSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0C,MAAM,0BAA0B,CAAC;AAU/F,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;CACnC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,uBAAuB,2CAyEpF"}
|
package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DividerSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAA4C,MAAM,
|
|
1
|
+
{"version":3,"file":"DividerSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAA4C,MAAM,2BAA2B,CAAC;AASnG,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,CAAC,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACpC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,wBAAwB,2CAwCtF"}
|
package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAA4C,MAAM,
|
|
1
|
+
{"version":3,"file":"HeadingSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAA4C,MAAM,2BAA2B,CAAC;AAQnG,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,CAAC,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;CACpC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,wBAAwB,2CAmCtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAoB,MAAM,
|
|
1
|
+
{"version":3,"file":"ImageSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAoB,MAAM,yBAAyB,CAAC;AAYvE,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CAClC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,sBAAsB,2CA+JlF"}
|
package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpacerSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0C,MAAM,
|
|
1
|
+
{"version":3,"file":"SpacerSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0C,MAAM,0BAA0B,CAAC;AAO/F,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;CACnC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,uBAAuB,2CA4BpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAmB,MAAM,
|
|
1
|
+
{"version":3,"file":"TextSidebarPanel.d.ts","sourceRoot":"","sources":["../../../../../src/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAmB,MAAM,wBAAwB,CAAC;AAOpE,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CACjC,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,qBAAqB,2CA+BhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/App/SamplesDrawer/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/App/SamplesDrawer/index.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAMxC,MAAM,CAAC,OAAO,UAAU,aAAa,4CAyMpC"}
|