esender-email-editor 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.
- package/LICENSE +21 -0
- package/README.md +249 -0
- package/dist/index.cjs +101 -0
- package/dist/index.d.ts +74 -0
- package/dist/index.js +101 -0
- package/dist/styles.css +1 -0
- package/package.json +128 -0
package/dist/styles.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{box-sizing:border-box;margin:0;outline:none;padding:0}#root,body,html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100%;overflow:hidden;width:100%}.my-app{background-color:#fff;display:flex;flex-direction:column;font-family:Noto Sans,Source Sans Pro,Open Sans,sans-serif;height:100%}::-webkit-scrollbar{width:.1px}table,td{border-collapse:initial!important}.placeitem-placeholder{border:none!important;outline:none!important}.mj-column-per-8-33{overflow-x:hidden}.ck-focused{box-shadow:none!important}.ck-focused,.ql-container.ql-snow{border:none!important}.ql-snow *{outline:none!important}#toolbarContainer{transition:all .3s cubic-bezier(.645,.045,.355,1)}.Editor-module_layout__rUhRA{height:100%;width:100%}.Editor-module_editor__CJuIm{display:flex;flex:1;flex-direction:row;height:100%;overflow:hidden}.Editor-module_editor__CJuIm .Editor-module_attributes__gjtrM,.Editor-module_editor__CJuIm .Editor-module_bank__rWdsL{background-color:#fff;flex:1}.Editor-module_editor__CJuIm .Editor-module_attributes__gjtrM .Editor-module_components__5znCr,.Editor-module_editor__CJuIm .Editor-module_bank__rWdsL .Editor-module_components__5znCr{display:flex;flex-wrap:wrap;justify-content:center;padding:24px 0;row-gap:10px}.Editor-module_editor__CJuIm .Editor-module_attributes__gjtrM .Editor-module_columns__T1-E1,.Editor-module_editor__CJuIm .Editor-module_attributes__gjtrM .Editor-module_mods__1vyjz,.Editor-module_editor__CJuIm .Editor-module_bank__rWdsL .Editor-module_columns__T1-E1,.Editor-module_editor__CJuIm .Editor-module_bank__rWdsL .Editor-module_mods__1vyjz{display:flex;flex-direction:column;padding:24px 16px}.Editor-module_editor__CJuIm .Editor-module_attributes__gjtrM{flex:unset;width:400px}.Editor-module_editor__CJuIm .Editor-module_bank__rWdsL{flex:unset;width:150px}.Editor-module_editor__CJuIm .Editor-module_iconsContainer__iSGtJ{height:64px;width:auto}.Editor-module_editor__CJuIm .Editor-module_view__hgt0B{background-color:#f0f0f0;flex:2;position:relative}.Editor-module_viewHolder__NsSx-{margin:40px auto;min-height:100%;padding-bottom:160px}.Editor-module_title__sGgwx{font-size:14px;font-weight:600;margin:0;padding:0}.ant-collapse-item:hover{background-color:#f2f2f2}.ant-collapse-item-active:hover{background-color:initial}.inline-editor-popover-color-picker .ant-popover-inner-content{padding:0}.smartphone{background-color:#fff;border-color:#fbfbfd;border-radius:36px;border-style:solid;border-width:60px 16px;box-sizing:border-box;height:90vh;left:40%;position:fixed;top:52%;transform:translate(-50%,-50%);width:25%}.smartphone:after,.smartphone:before{box-shadow:inset 1px 3px 2px 0 #cccccd,inset -1px -1px 6px 0 #ededf8;content:"";display:block;position:absolute;transform:translate(-50%,-50%)}.smartphone:before{border-radius:10px;height:5px;left:53%;top:-30px;width:60px}.smartphone:after{border:1px solid #cecece;border-radius:50%;bottom:-76px;height:40px;left:50%;width:40px}.smartphone .buttons:after,.smartphone .buttons:before{box-shadow:inset 1px 3px 2px 0 #cccccd,inset -1px -1px 6px 0 #ededf8;content:"";display:block;height:45px;position:absolute;transform:translate(-50%,-50%);width:4px}.smartphone .buttons:before{left:-20px;top:80px}.smartphone .buttons:after{left:-20px;top:150px}.smartphone .buttons .content{height:74vh;position:relative;width:100%}
|
package/package.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "esender-email-editor",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Drag and Drop Editor designed for mails in Ant Design",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"**/*.css",
|
|
10
|
+
"**/*.scss"
|
|
11
|
+
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./styles.css": "./dist/styles.css",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=18"
|
|
23
|
+
},
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"@ant-design/icons": "^5.6.1",
|
|
32
|
+
"@ant-design/pro-components": "^2.8.7",
|
|
33
|
+
"@reduxjs/toolkit": "^2.1.0",
|
|
34
|
+
"antd": "^5.25.1",
|
|
35
|
+
"axios": "^1.9.0",
|
|
36
|
+
"framer-motion": "^12.12.1",
|
|
37
|
+
"html2canvas": "^1.4.1",
|
|
38
|
+
"lodash": "^4.17.21",
|
|
39
|
+
"mjml-browser": "^4.15.3",
|
|
40
|
+
"react": "^18.2.0",
|
|
41
|
+
"react-dom": "^18.2.0",
|
|
42
|
+
"react-redux": "^9.2.0",
|
|
43
|
+
"redux-persist": "^6.0.0",
|
|
44
|
+
"styled-components": "^6.1.18",
|
|
45
|
+
"swr": "^2.3.3",
|
|
46
|
+
"use-sync-external-store": "^1.5.0"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"i18next": "^23.15.1",
|
|
50
|
+
"react-dnd": "^16.0.1",
|
|
51
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
52
|
+
"react-giphy-searchbox": "^1.5.4",
|
|
53
|
+
"react-i18next": "^15.0.2",
|
|
54
|
+
"react-image-picker-editor": "^1.3.5",
|
|
55
|
+
"react-is": "^19.1.0",
|
|
56
|
+
"react-router-dom": "^6.30.1"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"start": "react-scripts start",
|
|
60
|
+
"build": "react-scripts build",
|
|
61
|
+
"clean": "rimraf dist",
|
|
62
|
+
"typecheck": "tsc --noEmit",
|
|
63
|
+
"check-secrets": "node scripts/check-secrets.js",
|
|
64
|
+
"rollup": "npm run clean && rollup -c && node scripts/obfuscate.js && node scripts/check-bundle.js",
|
|
65
|
+
"check-bundle": "node scripts/check-bundle.js",
|
|
66
|
+
"prepublishOnly": "npm run check-secrets && npm run typecheck && npm run rollup"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@ant-design/icons": "^5.6.1",
|
|
70
|
+
"@ant-design/pro-components": "^2.8.10",
|
|
71
|
+
"@babel/core": "^7.15.8",
|
|
72
|
+
"@babel/preset-env": "^7.15.8",
|
|
73
|
+
"@babel/preset-react": "^7.14.5",
|
|
74
|
+
"@babel/preset-typescript": "^7.15.0",
|
|
75
|
+
"@reduxjs/toolkit": "^2.12.0",
|
|
76
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
77
|
+
"@rollup/plugin-commonjs": "^28.0.6",
|
|
78
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
79
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
80
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
81
|
+
"@rollup/plugin-typescript": "^12.1.3",
|
|
82
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
83
|
+
"@types/lodash": "^4.17.18",
|
|
84
|
+
"@types/react": "^18.2.38",
|
|
85
|
+
"@types/react-dom": "^18.2.18",
|
|
86
|
+
"@types/react-router-dom": "^5.3.1",
|
|
87
|
+
"@types/styled-components": "^5.1.14",
|
|
88
|
+
"antd": "^5.29.3",
|
|
89
|
+
"axios": "^1.17.0",
|
|
90
|
+
"framer-motion": "^12.40.0",
|
|
91
|
+
"html2canvas": "^1.4.1",
|
|
92
|
+
"javascript-obfuscator": "^5.2.1",
|
|
93
|
+
"lodash": "^4.18.1",
|
|
94
|
+
"mjml-browser": "^4.18.0",
|
|
95
|
+
"postcss": "^8.5.6",
|
|
96
|
+
"react": "^18.3.1",
|
|
97
|
+
"react-dom": "^18.3.1",
|
|
98
|
+
"react-redux": "^9.3.0",
|
|
99
|
+
"react-scripts": "^5.0.1",
|
|
100
|
+
"redux-persist": "^6.0.0",
|
|
101
|
+
"rimraf": "^6.0.1",
|
|
102
|
+
"rollup": "^4.44.0",
|
|
103
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
104
|
+
"rollup-plugin-javascript-obfuscator": "^1.0.4",
|
|
105
|
+
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
106
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
107
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
108
|
+
"sass": "^1.89.2",
|
|
109
|
+
"styled-components": "^6.4.2",
|
|
110
|
+
"swr": "^2.4.1",
|
|
111
|
+
"tslib": "^2.8.1",
|
|
112
|
+
"typescript": "^5.8.3",
|
|
113
|
+
"use-sync-external-store": "^1.6.0"
|
|
114
|
+
},
|
|
115
|
+
"license": "MIT",
|
|
116
|
+
"browserslist": {
|
|
117
|
+
"production": [
|
|
118
|
+
">0.2%",
|
|
119
|
+
"not dead",
|
|
120
|
+
"not op_mini all"
|
|
121
|
+
],
|
|
122
|
+
"development": [
|
|
123
|
+
"last 1 chrome version",
|
|
124
|
+
"last 1 firefox version",
|
|
125
|
+
"last 1 safari version"
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|