better-react-email-editor 0.1.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/LICENSE +21 -0
- package/README.md +381 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +4190 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +1634 -0
- package/dist/types/components/BetterEmailEditor.d.ts +34 -0
- package/dist/types/components/BlockProperties.d.ts +7 -0
- package/dist/types/components/BlocksTab.d.ts +13 -0
- package/dist/types/components/BodyTab.d.ts +9 -0
- package/dist/types/components/Canvas.d.ts +15 -0
- package/dist/types/components/CanvasOverlay.d.ts +10 -0
- package/dist/types/components/ContentPanel.d.ts +19 -0
- package/dist/types/components/ContentTab.d.ts +17 -0
- package/dist/types/components/LayersPanel.d.ts +9 -0
- package/dist/types/components/PreviewDialog.d.ts +15 -0
- package/dist/types/components/PropertiesPanel.d.ts +12 -0
- package/dist/types/components/Sidebar.d.ts +14 -0
- package/dist/types/components/TextProperties.d.ts +7 -0
- package/dist/types/components/TopBar.d.ts +37 -0
- package/dist/types/components/fields.d.ts +103 -0
- package/dist/types/components/icons.d.ts +21 -0
- package/dist/types/components/inspectors/ButtonInspector.d.ts +2 -0
- package/dist/types/components/inspectors/ColumnsInspector.d.ts +3 -0
- package/dist/types/components/inspectors/DefaultInspector.d.ts +3 -0
- package/dist/types/components/inspectors/HeadingInspector.d.ts +2 -0
- package/dist/types/components/inspectors/ImageInspector.d.ts +2 -0
- package/dist/types/components/inspectors/SimpleInspectors.d.ts +6 -0
- package/dist/types/components/inspectors/SocialLinksInspector.d.ts +2 -0
- package/dist/types/components/inspectors/groups.d.ts +22 -0
- package/dist/types/components/useDraggableBlock.d.ts +17 -0
- package/dist/types/context.d.ts +115 -0
- package/dist/types/core/content.d.ts +28 -0
- package/dist/types/core/cx.d.ts +8 -0
- package/dist/types/core/dnd.d.ts +73 -0
- package/dist/types/core/layers.d.ts +27 -0
- package/dist/types/core/paste-handler.d.ts +9 -0
- package/dist/types/core/paste.d.ts +22 -0
- package/dist/types/core/stores.d.ts +19 -0
- package/dist/types/core/style-utils.d.ts +3 -0
- package/dist/types/i18n/en.d.ts +247 -0
- package/dist/types/i18n/fr.d.ts +3 -0
- package/dist/types/i18n/index.d.ts +509 -0
- package/dist/types/index.d.ts +37 -0
- package/dist/types/nodes/custom-nodes.d.ts +19 -0
- package/dist/types/registry/default-nodes.d.ts +7 -0
- package/dist/types/registry/default-palette.d.ts +7 -0
- package/dist/types/registry/default-templates.d.ts +10 -0
- package/dist/types/registry/types.d.ts +56 -0
- package/package.json +89 -0
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "better-react-email-editor",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Drag & drop email builder for React (Unlayer-style), built on @react-email/editor. Modular components, English and French included.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"email",
|
|
8
|
+
"email-editor",
|
|
9
|
+
"email-builder",
|
|
10
|
+
"drag-and-drop",
|
|
11
|
+
"react-email",
|
|
12
|
+
"tiptap",
|
|
13
|
+
"unlayer"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "Gyom03",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/Gyom03/Better-react-email-editor.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://github.com/Gyom03/Better-react-email-editor#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/Gyom03/Better-react-email-editor/issues"
|
|
24
|
+
},
|
|
25
|
+
"type": "module",
|
|
26
|
+
"main": "./dist/index.cjs",
|
|
27
|
+
"module": "./dist/index.js",
|
|
28
|
+
"types": "./dist/types/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/types/index.d.ts",
|
|
32
|
+
"import": "./dist/index.js",
|
|
33
|
+
"require": "./dist/index.cjs"
|
|
34
|
+
},
|
|
35
|
+
"./styles.css": "./dist/styles.css",
|
|
36
|
+
"./package.json": "./package.json"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist"
|
|
40
|
+
],
|
|
41
|
+
"sideEffects": [
|
|
42
|
+
"**/*.css"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"dev": "vite",
|
|
46
|
+
"build": "vite build -c vite.lib.config.ts && tsc -p tsconfig.build.json && node -e \"require('fs').copyFileSync('src/styles.css','dist/styles.css')\"",
|
|
47
|
+
"build:playground": "vite build",
|
|
48
|
+
"typecheck": "tsc -b",
|
|
49
|
+
"lint": "oxlint",
|
|
50
|
+
"preview": "vite preview",
|
|
51
|
+
"demo:record": "node scripts/demo/record.mjs",
|
|
52
|
+
"demo:compose": "node scripts/demo/compose.mjs",
|
|
53
|
+
"prepublishOnly": "npm run typecheck && npm run build"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@react-email/editor": "^1.7.11",
|
|
57
|
+
"@tiptap/core": "^3.17.1",
|
|
58
|
+
"@tiptap/extension-placeholder": "^3.17.1",
|
|
59
|
+
"@tiptap/html": "^3.17.1",
|
|
60
|
+
"@tiptap/pm": "^3.17.1",
|
|
61
|
+
"@tiptap/react": "^3.17.1",
|
|
62
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
63
|
+
"react-dom": "^18.2.0 || ^19.0.0",
|
|
64
|
+
"react-email": "^6.11.0"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@radix-ui/react-popover": "^1.1.23",
|
|
68
|
+
"react-colorful": "^5.8.1"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@react-email/editor": "^1.7.11",
|
|
72
|
+
"@tiptap/core": "^3.31.4",
|
|
73
|
+
"@tiptap/extension-placeholder": "^3.31.4",
|
|
74
|
+
"@tiptap/html": "^3.31.4",
|
|
75
|
+
"@tiptap/pm": "^3.31.4",
|
|
76
|
+
"@tiptap/react": "^3.31.4",
|
|
77
|
+
"@types/node": "^24.13.3",
|
|
78
|
+
"@types/react": "^19.2.18",
|
|
79
|
+
"@types/react-dom": "^19.2.7",
|
|
80
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
81
|
+
"oxlint": "^1.81.0",
|
|
82
|
+
"playwright-core": "^1.63.0",
|
|
83
|
+
"react": "^19.2.8",
|
|
84
|
+
"react-dom": "^19.2.8",
|
|
85
|
+
"react-email": "^6.11.0",
|
|
86
|
+
"typescript": "~6.0.2",
|
|
87
|
+
"vite": "^8.3.0"
|
|
88
|
+
}
|
|
89
|
+
}
|