monto-email-builder 1.1.12 → 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.
Files changed (46) hide show
  1. package/README.md +10 -9
  2. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +1 -1
  3. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts.map +1 -1
  4. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +1 -1
  5. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts.map +1 -1
  6. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +1 -1
  7. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts.map +1 -1
  8. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +1 -1
  9. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts.map +1 -1
  10. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +1 -1
  11. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts.map +1 -1
  12. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +1 -1
  13. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts.map +1 -1
  14. package/dist/App/SamplesDrawer/index.d.ts.map +1 -1
  15. package/dist/chunks/chunk-Cc3ecmGS.js +9671 -0
  16. package/dist/chunks/chunk-CxhtzHBZ.js +479 -0
  17. package/dist/documents/blocks/Button/ButtonEditor.d.ts +1 -1
  18. package/dist/documents/blocks/Button/ButtonEditor.d.ts.map +1 -1
  19. package/dist/documents/blocks/Heading/HeadingEditor.d.ts +1 -1
  20. package/dist/documents/blocks/Heading/HeadingEditor.d.ts.map +1 -1
  21. package/dist/documents/blocks/Image/ImageEditor.d.ts +1 -1
  22. package/dist/documents/blocks/Image/ImageEditor.d.ts.map +1 -1
  23. package/dist/documents/blocks/Text/TextEditor.d.ts +1 -1
  24. package/dist/documents/blocks/Text/TextEditor.d.ts.map +1 -1
  25. package/dist/documents/editor/core.d.ts +3 -3
  26. package/dist/documents/editor/core.d.ts.map +1 -1
  27. package/dist/getConfiguration/index.d.ts.map +1 -1
  28. package/dist/getConfiguration/sample/uspeedo-education.d.ts +4 -0
  29. package/dist/getConfiguration/sample/uspeedo-education.d.ts.map +1 -0
  30. package/dist/getConfiguration/sample/uspeedo-invite-to-event.d.ts +4 -0
  31. package/dist/getConfiguration/sample/uspeedo-invite-to-event.d.ts.map +1 -0
  32. package/dist/getConfiguration/sample/uspeedo-mothers-day.d.ts +4 -0
  33. package/dist/getConfiguration/sample/uspeedo-mothers-day.d.ts.map +1 -0
  34. package/dist/getConfiguration/sample/uspeedo-new-product-launch.d.ts +4 -0
  35. package/dist/getConfiguration/sample/uspeedo-new-product-launch.d.ts.map +1 -0
  36. package/dist/getConfiguration/sample/uspeedo-shopping-cart.d.ts +4 -0
  37. package/dist/getConfiguration/sample/uspeedo-shopping-cart.d.ts.map +1 -0
  38. package/dist/getConfiguration/sample/uspeedo-welcome.d.ts +4 -0
  39. package/dist/getConfiguration/sample/uspeedo-welcome.d.ts.map +1 -0
  40. package/dist/html-editor.js +313 -3
  41. package/dist/index.d.ts +3 -5
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +3379 -5060
  44. package/package.json +10 -10
  45. package/dist/chunks/chunk-MBtaCJUV.js +0 -892
  46. package/dist/chunks/chunk-TAYi09Lv.js +0 -4046
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
- # @usewaypoint 系列包
56
- npm install @usewaypoint/block-button \
57
- monto-email-block-columns-container @usewaypoint/block-container \
58
- @usewaypoint/block-divider @usewaypoint/block-heading \
59
- @usewaypoint/block-html @usewaypoint/block-image \
60
- @usewaypoint/block-spacer @usewaypoint/block-text \
61
- @usewaypoint/document-core @usewaypoint/email-builder
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 @usewaypoint/block-avatar @usewaypoint/block-button monto-email-block-columns-container @usewaypoint/block-container @usewaypoint/block-divider @usewaypoint/block-heading @usewaypoint/block-html @usewaypoint/block-image @usewaypoint/block-spacer @usewaypoint/block-text @usewaypoint/document-core @usewaypoint/email-builder
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 @usewaypoint/block-avatar @usewaypoint/block-button monto-email-block-columns-container @usewaypoint/block-container @usewaypoint/block-divider @usewaypoint/block-heading @usewaypoint/block-html @usewaypoint/block-image @usewaypoint/block-spacer @usewaypoint/block-text @usewaypoint/document-core @usewaypoint/email-builder
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
  ## 基本使用
@@ -1,4 +1,4 @@
1
- import { ButtonProps } from '@usewaypoint/block-button';
1
+ import { ButtonProps } from 'monto-email-block-button';
2
2
  type ButtonSidebarPanelProps = {
3
3
  data: ButtonProps;
4
4
  setData: (v: ButtonProps) => void;
@@ -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,2BAA2B,CAAC;AAUhG,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"}
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"}
@@ -1,4 +1,4 @@
1
- import { DividerProps } from '@usewaypoint/block-divider';
1
+ import { DividerProps } from 'monto-email-block-divider';
2
2
  type DividerSidebarPanelProps = {
3
3
  data: DividerProps;
4
4
  setData: (v: DividerProps) => void;
@@ -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,4BAA4B,CAAC;AASpG,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"}
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"}
@@ -1,4 +1,4 @@
1
- import { HeadingProps } from '@usewaypoint/block-heading';
1
+ import { HeadingProps } from 'monto-email-block-heading';
2
2
  type HeadingSidebarPanelProps = {
3
3
  data: HeadingProps;
4
4
  setData: (v: HeadingProps) => void;
@@ -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,4BAA4B,CAAC;AAQpG,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
+ {"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,4 +1,4 @@
1
- import { ImageProps } from '@usewaypoint/block-image';
1
+ import { ImageProps } from 'monto-email-block-image';
2
2
  type ImageSidebarPanelProps = {
3
3
  data: ImageProps;
4
4
  setData: (v: ImageProps) => void;
@@ -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,0BAA0B,CAAC;AAYxE,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"}
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"}
@@ -1,4 +1,4 @@
1
- import { SpacerProps } from '@usewaypoint/block-spacer';
1
+ import { SpacerProps } from 'monto-email-block-spacer';
2
2
  type SpacerSidebarPanelProps = {
3
3
  data: SpacerProps;
4
4
  setData: (v: SpacerProps) => void;
@@ -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,2BAA2B,CAAC;AAOhG,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
+ {"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,4 +1,4 @@
1
- import { TextProps } from '@usewaypoint/block-text';
1
+ import { TextProps } from 'monto-email-block-text';
2
2
  type TextSidebarPanelProps = {
3
3
  data: TextProps;
4
4
  setData: (v: TextProps) => void;
@@ -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,yBAAyB,CAAC;AAOrE,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
+ {"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":"AAaA,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAMxC,MAAM,CAAC,OAAO,UAAU,aAAa,4CA4IpC"}
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"}