monto-email-builder 1.0.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 (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +169 -0
  3. package/dist/App/InspectorDrawer/ConfigurationPanel/index.d.ts +3 -0
  4. package/dist/App/InspectorDrawer/ConfigurationPanel/index.d.ts.map +1 -0
  5. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +9 -0
  6. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts.map +1 -0
  7. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +9 -0
  8. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts.map +1 -0
  9. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts +9 -0
  10. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts.map +1 -0
  11. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts +9 -0
  12. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts.map +1 -0
  13. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +9 -0
  14. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts.map +1 -0
  15. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts +9 -0
  16. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/EmailLayoutSidebarPanel.d.ts.map +1 -0
  17. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +9 -0
  18. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts.map +1 -0
  19. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts +9 -0
  20. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts.map +1 -0
  21. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +9 -0
  22. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts.map +1 -0
  23. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +9 -0
  24. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts.map +1 -0
  25. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +9 -0
  26. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts.map +1 -0
  27. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts +8 -0
  28. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts.map +1 -0
  29. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts +9 -0
  30. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts.map +1 -0
  31. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +15 -0
  32. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts.map +1 -0
  33. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +8 -0
  34. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts.map +1 -0
  35. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts +9 -0
  36. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts.map +1 -0
  37. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +15 -0
  38. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts.map +1 -0
  39. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts +15 -0
  40. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts.map +1 -0
  41. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts +9 -0
  42. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts.map +1 -0
  43. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts +9 -0
  44. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts.map +1 -0
  45. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts +9 -0
  46. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts.map +1 -0
  47. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +15 -0
  48. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts.map +1 -0
  49. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts +10 -0
  50. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts.map +1 -0
  51. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts +15 -0
  52. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts.map +1 -0
  53. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts +9 -0
  54. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts.map +1 -0
  55. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts +9 -0
  56. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts.map +1 -0
  57. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts +14 -0
  58. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts.map +1 -0
  59. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts +14 -0
  60. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts.map +1 -0
  61. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +10 -0
  62. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts.map +1 -0
  63. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts +10 -0
  64. package/dist/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts.map +1 -0
  65. package/dist/App/InspectorDrawer/StylesPanel.d.ts +3 -0
  66. package/dist/App/InspectorDrawer/StylesPanel.d.ts.map +1 -0
  67. package/dist/App/InspectorDrawer/ToggleInspectorPanelButton.d.ts +3 -0
  68. package/dist/App/InspectorDrawer/ToggleInspectorPanelButton.d.ts.map +1 -0
  69. package/dist/App/InspectorDrawer/index.d.ts +4 -0
  70. package/dist/App/InspectorDrawer/index.d.ts.map +1 -0
  71. package/dist/App/LanguageSwitcher/index.d.ts +3 -0
  72. package/dist/App/LanguageSwitcher/index.d.ts.map +1 -0
  73. package/dist/App/SamplesDrawer/SidebarButton.d.ts +6 -0
  74. package/dist/App/SamplesDrawer/SidebarButton.d.ts.map +1 -0
  75. package/dist/App/SamplesDrawer/ToggleSamplesPanelButton.d.ts +3 -0
  76. package/dist/App/SamplesDrawer/ToggleSamplesPanelButton.d.ts.map +1 -0
  77. package/dist/App/SamplesDrawer/index.d.ts +4 -0
  78. package/dist/App/SamplesDrawer/index.d.ts.map +1 -0
  79. package/dist/App/TemplatePanel/DownloadJson/index.d.ts +3 -0
  80. package/dist/App/TemplatePanel/DownloadJson/index.d.ts.map +1 -0
  81. package/dist/App/TemplatePanel/HtmlPanel.d.ts +3 -0
  82. package/dist/App/TemplatePanel/HtmlPanel.d.ts.map +1 -0
  83. package/dist/App/TemplatePanel/ImportJson/ImportJsonDialog.d.ts +7 -0
  84. package/dist/App/TemplatePanel/ImportJson/ImportJsonDialog.d.ts.map +1 -0
  85. package/dist/App/TemplatePanel/ImportJson/index.d.ts +3 -0
  86. package/dist/App/TemplatePanel/ImportJson/index.d.ts.map +1 -0
  87. package/dist/App/TemplatePanel/ImportJson/validateJsonStringValue.d.ts +11 -0
  88. package/dist/App/TemplatePanel/ImportJson/validateJsonStringValue.d.ts.map +1 -0
  89. package/dist/App/TemplatePanel/JsonPanel.d.ts +3 -0
  90. package/dist/App/TemplatePanel/JsonPanel.d.ts.map +1 -0
  91. package/dist/App/TemplatePanel/MainTabsGroup.d.ts +3 -0
  92. package/dist/App/TemplatePanel/MainTabsGroup.d.ts.map +1 -0
  93. package/dist/App/TemplatePanel/ShareButton.d.ts +3 -0
  94. package/dist/App/TemplatePanel/ShareButton.d.ts.map +1 -0
  95. package/dist/App/TemplatePanel/helper/HighlightedCodePanel.d.ts +8 -0
  96. package/dist/App/TemplatePanel/helper/HighlightedCodePanel.d.ts.map +1 -0
  97. package/dist/App/TemplatePanel/helper/highlighters.d.ts +3 -0
  98. package/dist/App/TemplatePanel/helper/highlighters.d.ts.map +1 -0
  99. package/dist/App/TemplatePanel/index.d.ts +3 -0
  100. package/dist/App/TemplatePanel/index.d.ts.map +1 -0
  101. package/dist/App/index.d.ts +3 -0
  102. package/dist/App/index.d.ts.map +1 -0
  103. package/dist/EmailBuilder/index.d.ts +68 -0
  104. package/dist/EmailBuilder/index.d.ts.map +1 -0
  105. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts +4 -0
  106. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts.map +1 -0
  107. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +136 -0
  108. package/dist/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts.map +1 -0
  109. package/dist/documents/blocks/Container/ContainerEditor.d.ts +4 -0
  110. package/dist/documents/blocks/Container/ContainerEditor.d.ts.map +1 -0
  111. package/dist/documents/blocks/Container/ContainerPropsSchema.d.ts +84 -0
  112. package/dist/documents/blocks/Container/ContainerPropsSchema.d.ts.map +1 -0
  113. package/dist/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts +4 -0
  114. package/dist/documents/blocks/EmailLayout/EmailLayoutEditor.d.ts.map +1 -0
  115. package/dist/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +32 -0
  116. package/dist/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts.map +1 -0
  117. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +9 -0
  118. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts.map +1 -0
  119. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +10 -0
  120. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts.map +1 -0
  121. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +8 -0
  122. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts.map +1 -0
  123. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +7 -0
  124. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts.map +1 -0
  125. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +10 -0
  126. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts.map +1 -0
  127. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +9 -0
  128. package/dist/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts.map +1 -0
  129. package/dist/documents/blocks/helpers/EditorChildrenIds/index.d.ts +13 -0
  130. package/dist/documents/blocks/helpers/EditorChildrenIds/index.d.ts.map +1 -0
  131. package/dist/documents/blocks/helpers/TStyle.d.ts +12 -0
  132. package/dist/documents/blocks/helpers/TStyle.d.ts.map +1 -0
  133. package/dist/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +7 -0
  134. package/dist/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts.map +1 -0
  135. package/dist/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts +9 -0
  136. package/dist/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts.map +1 -0
  137. package/dist/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts +7 -0
  138. package/dist/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts.map +1 -0
  139. package/dist/documents/blocks/helpers/fontFamily.d.ts +7 -0
  140. package/dist/documents/blocks/helpers/fontFamily.d.ts.map +1 -0
  141. package/dist/documents/blocks/helpers/zod.d.ts +22 -0
  142. package/dist/documents/blocks/helpers/zod.d.ts.map +1 -0
  143. package/dist/documents/editor/EditorBlock.d.ts +13 -0
  144. package/dist/documents/editor/EditorBlock.d.ts.map +1 -0
  145. package/dist/documents/editor/EditorContext.d.ts +40 -0
  146. package/dist/documents/editor/EditorContext.d.ts.map +1 -0
  147. package/dist/documents/editor/core.d.ts +2777 -0
  148. package/dist/documents/editor/core.d.ts.map +1 -0
  149. package/dist/getConfiguration/index.d.ts +3 -0
  150. package/dist/getConfiguration/index.d.ts.map +1 -0
  151. package/dist/getConfiguration/sample/empty-email-message.d.ts +4 -0
  152. package/dist/getConfiguration/sample/empty-email-message.d.ts.map +1 -0
  153. package/dist/getConfiguration/sample/one-time-passcode.d.ts +4 -0
  154. package/dist/getConfiguration/sample/one-time-passcode.d.ts.map +1 -0
  155. package/dist/getConfiguration/sample/order-ecommerce.d.ts +4 -0
  156. package/dist/getConfiguration/sample/order-ecommerce.d.ts.map +1 -0
  157. package/dist/getConfiguration/sample/post-metrics-report.d.ts +4 -0
  158. package/dist/getConfiguration/sample/post-metrics-report.d.ts.map +1 -0
  159. package/dist/getConfiguration/sample/reservation-reminder.d.ts +4 -0
  160. package/dist/getConfiguration/sample/reservation-reminder.d.ts.map +1 -0
  161. package/dist/getConfiguration/sample/reset-password.d.ts +4 -0
  162. package/dist/getConfiguration/sample/reset-password.d.ts.map +1 -0
  163. package/dist/getConfiguration/sample/respond-to-message.d.ts +4 -0
  164. package/dist/getConfiguration/sample/respond-to-message.d.ts.map +1 -0
  165. package/dist/getConfiguration/sample/subscription-receipt.d.ts +4 -0
  166. package/dist/getConfiguration/sample/subscription-receipt.d.ts.map +1 -0
  167. package/dist/getConfiguration/sample/welcome.d.ts +4 -0
  168. package/dist/getConfiguration/sample/welcome.d.ts.map +1 -0
  169. package/dist/i18n/index.d.ts +18 -0
  170. package/dist/i18n/index.d.ts.map +1 -0
  171. package/dist/i18n/useTranslation.d.ts +9 -0
  172. package/dist/i18n/useTranslation.d.ts.map +1 -0
  173. package/dist/index.d.ts +11 -0
  174. package/dist/index.d.ts.map +1 -0
  175. package/dist/index.js +3534 -0
  176. package/dist/main.d.ts +2 -0
  177. package/dist/main.d.ts.map +1 -0
  178. package/dist/samples-SfLrANbd.js +6038 -0
  179. package/dist/theme.d.ts +3 -0
  180. package/dist/theme.d.ts.map +1 -0
  181. package/package.json +102 -0
@@ -0,0 +1,3 @@
1
+ declare const THEME: import("@mui/material/styles").Theme;
2
+ export default THEME;
3
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AA6BA,QAAA,MAAM,KAAK,sCAweT,CAAC;AAEH,eAAe,KAAK,CAAC"}
package/package.json ADDED
@@ -0,0 +1,102 @@
1
+ {
2
+ "name": "monto-email-builder",
3
+ "version": "1.0.0",
4
+ "description": "A powerful and customizable email template builder React component library with visual editing, internationalization, and image upload support",
5
+ "keywords": [
6
+ "email",
7
+ "email-builder",
8
+ "email-template",
9
+ "react",
10
+ "react-component",
11
+ "visual-editor",
12
+ "wysiwyg",
13
+ "template-editor"
14
+ ],
15
+ "author": "uSpeedo",
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/usewaypoint/email-builder-js.git",
20
+ "directory": "packages/editor-sample"
21
+ },
22
+ "homepage": "https://github.com/usewaypoint/email-builder-js#readme",
23
+ "bugs": {
24
+ "url": "https://github.com/usewaypoint/email-builder-js/issues"
25
+ },
26
+ "type": "module",
27
+ "main": "./dist/index.js",
28
+ "module": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "import": "./dist/index.js",
33
+ "types": "./dist/index.d.ts"
34
+ }
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "README.md",
39
+ "LICENSE"
40
+ ],
41
+ "peerDependencies": {
42
+ "@emotion/react": "^11.11.0",
43
+ "@emotion/styled": "^11.11.0",
44
+ "@mui/icons-material": "^5.15.0",
45
+ "@mui/material": "^5.15.0",
46
+ "react": "^18.0.0",
47
+ "react-dom": "^18.0.0"
48
+ },
49
+ "peerDependenciesMeta": {
50
+ "highlight.js": {
51
+ "optional": true
52
+ },
53
+ "prettier": {
54
+ "optional": true
55
+ }
56
+ },
57
+ "scripts": {
58
+ "dev": "vite",
59
+ "build": "tsc && vite build",
60
+ "build:lib": "vite build --mode library && tsc --emitDeclarationOnly",
61
+ "preview": "vite preview"
62
+ },
63
+ "devDependencies": {
64
+ "@emotion/react": "^11.11.3",
65
+ "@emotion/styled": "^11.11.0",
66
+ "@mui/icons-material": "^5.15.10",
67
+ "@mui/material": "^5.15.10",
68
+ "@types/react": "^18.2.55",
69
+ "@types/react-dom": "^18.2.19",
70
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
71
+ "@typescript-eslint/parser": "^6.21.0",
72
+ "@usewaypoint/block-avatar": "^0.0.3",
73
+ "@usewaypoint/block-button": "^0.0.3",
74
+ "@usewaypoint/block-columns-container": "^0.0.3",
75
+ "@usewaypoint/block-container": "^0.0.2",
76
+ "@usewaypoint/block-divider": "^0.0.4",
77
+ "@usewaypoint/block-heading": "^0.0.3",
78
+ "@usewaypoint/block-html": "^0.0.3",
79
+ "@usewaypoint/block-image": "^0.0.5",
80
+ "@usewaypoint/block-spacer": "^0.0.3",
81
+ "@usewaypoint/block-text": "^0.0.6",
82
+ "@usewaypoint/document-core": "^0.0.6",
83
+ "@usewaypoint/email-builder": "^0.0.8",
84
+ "@vitejs/plugin-react-swc": "^3.5.0",
85
+ "eslint": "^8.56.0",
86
+ "eslint-plugin-react-hooks": "^4.6.0",
87
+ "eslint-plugin-react-refresh": "^0.4.5",
88
+ "eslint-plugin-simple-import-sort": "^12.0.0",
89
+ "highlight.js": "^11.9.0",
90
+ "prettier": "^3.2.5",
91
+ "react": "^18.2.0",
92
+ "react-colorful": "^5.6.1",
93
+ "react-dom": "^18.2.0",
94
+ "typescript": "^5.2.2",
95
+ "vite": "^5.1.0",
96
+ "zod": "^3.22.4",
97
+ "zustand": "^4.5.1"
98
+ },
99
+ "dependencies": {
100
+ "monto-email-builder": "file:monto-email-builder-1.0.0.tgz"
101
+ }
102
+ }