@maily-to/core 0.3.7 → 2.0.0-beta.10
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/dist/blocks/index.cjs +29 -305
- package/dist/blocks/index.d.cts +1 -59
- package/dist/blocks/index.d.mts +46 -0
- package/dist/blocks/index.d.mts.map +1 -0
- package/dist/blocks/index.mjs +2 -273
- package/dist/extensions/index.cjs +354 -9100
- package/dist/extensions/index.d.cts +1 -448
- package/dist/extensions/index.d.mts +282 -0
- package/dist/extensions/index.d.mts.map +1 -0
- package/dist/extensions/index.mjs +322 -9052
- package/dist/index.cjs +10225 -12221
- package/dist/index.d.cts +1 -63
- package/dist/index.d.mts +743 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +10103 -12273
- package/dist/slash-command-BrwA1bHs.d.mts +38 -0
- package/dist/slash-command-BrwA1bHs.d.mts.map +1 -0
- package/dist/theme-D1CI7_8s.d.mts +70 -0
- package/dist/theme-D1CI7_8s.d.mts.map +1 -0
- package/dist/typography-BdOKvXfQ.mjs +911 -0
- package/dist/typography-D-VnwOSw.cjs +970 -0
- package/dist/typography-DW7VApAR.cjs +1072 -0
- package/dist/use-maily-editor-Atvy2kSO.cjs +3993 -0
- package/dist/use-maily-editor-CByaDhmT.cjs +4955 -0
- package/dist/use-maily-editor-idL0RNsG.mjs +4504 -0
- package/package.json +115 -180
- package/readme.md +356 -195
- package/src/styles/index.css +2537 -0
- package/dist/blocks/index.cjs.map +0 -1
- package/dist/blocks/index.d.ts +0 -59
- package/dist/blocks/index.mjs.map +0 -1
- package/dist/extensions/index.cjs.map +0 -1
- package/dist/extensions/index.d.ts +0 -448
- package/dist/extensions/index.mjs.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.css +0 -2487
- package/dist/index.css.map +0 -1
- package/dist/index.d.ts +0 -63
- package/dist/index.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,203 +1,138 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maily-to/core",
|
|
3
|
-
"
|
|
4
|
-
"version": "0.3.7",
|
|
5
|
-
"description": "Powerful editor for creating beautiful, pre-designed, mobile-ready emails.",
|
|
3
|
+
"version": "2.0.0-beta.10",
|
|
6
4
|
"private": false,
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
5
|
+
"description": "Powerful editor for creating beautiful, pre-designed, mobile-ready emails.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"email",
|
|
8
|
+
"email-editor",
|
|
9
|
+
"maily.to",
|
|
10
|
+
"react",
|
|
11
|
+
"tiptap"
|
|
12
|
+
],
|
|
13
|
+
"author": "Arik Chakma <arikchangma@gmail.com>",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/arikchakma/maily.to.git",
|
|
17
|
+
"directory": "packages/core"
|
|
18
|
+
},
|
|
10
19
|
"files": [
|
|
11
|
-
"dist/**"
|
|
20
|
+
"dist/**",
|
|
21
|
+
"src/styles/index.css"
|
|
12
22
|
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"sideEffects": [
|
|
25
|
+
"**/*.css"
|
|
26
|
+
],
|
|
27
|
+
"main": "./dist/index.cjs",
|
|
28
|
+
"module": "./dist/index.mjs",
|
|
29
|
+
"types": "./dist/index.d.mts",
|
|
30
|
+
"imports": {
|
|
31
|
+
"#test-utils": "./tests/utils.tsx"
|
|
32
|
+
},
|
|
13
33
|
"exports": {
|
|
14
|
-
"./package.json": "./package.json",
|
|
15
34
|
".": {
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
"types": "./dist/index.d.ts",
|
|
19
|
-
"default": "./dist/index.mjs"
|
|
20
|
-
},
|
|
21
|
-
"require": {
|
|
22
|
-
"types": "./dist/index.d.ts",
|
|
23
|
-
"default": "./dist/index.cjs"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
"browser": {
|
|
27
|
-
"import": {
|
|
28
|
-
"types": "./dist/index.d.ts",
|
|
29
|
-
"default": "./dist/index.mjs"
|
|
30
|
-
},
|
|
31
|
-
"require": {
|
|
32
|
-
"types": "./dist/index.d.ts",
|
|
33
|
-
"default": "./dist/index.cjs"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"default": {
|
|
37
|
-
"import": {
|
|
38
|
-
"types": "./dist/index.d.ts",
|
|
39
|
-
"default": "./dist/index.mjs"
|
|
40
|
-
},
|
|
41
|
-
"require": {
|
|
42
|
-
"types": "./dist/index.d.ts",
|
|
43
|
-
"default": "./dist/index.cjs"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
35
|
+
"import": "./dist/index.mjs",
|
|
36
|
+
"require": "./dist/index.cjs"
|
|
46
37
|
},
|
|
47
38
|
"./blocks": {
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
"types": "./dist/blocks/index.d.ts",
|
|
51
|
-
"default": "./dist/blocks/index.mjs"
|
|
52
|
-
},
|
|
53
|
-
"require": {
|
|
54
|
-
"types": "./dist/blocks/index.d.ts",
|
|
55
|
-
"default": "./dist/blocks/index.cjs"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"browser": {
|
|
59
|
-
"import": {
|
|
60
|
-
"types": "./dist/blocks/index.d.ts",
|
|
61
|
-
"default": "./dist/blocks/index.mjs"
|
|
62
|
-
},
|
|
63
|
-
"require": {
|
|
64
|
-
"types": "./dist/blocks/index.d.ts",
|
|
65
|
-
"default": "./dist/blocks/index.cjs"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"default": {
|
|
69
|
-
"import": {
|
|
70
|
-
"types": "./dist/blocks/index.d.ts",
|
|
71
|
-
"default": "./dist/blocks/index.mjs"
|
|
72
|
-
},
|
|
73
|
-
"require": {
|
|
74
|
-
"types": "./dist/blocks/index.d.ts",
|
|
75
|
-
"default": "./dist/blocks/index.cjs"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
39
|
+
"import": "./dist/blocks/index.mjs",
|
|
40
|
+
"require": "./dist/blocks/index.cjs"
|
|
78
41
|
},
|
|
79
42
|
"./extensions": {
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
"types": "./dist/extensions/index.d.ts",
|
|
83
|
-
"default": "./dist/extensions/index.mjs"
|
|
84
|
-
},
|
|
85
|
-
"require": {
|
|
86
|
-
"types": "./dist/extensions/index.d.ts",
|
|
87
|
-
"default": "./dist/extensions/index.cjs"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"browser": {
|
|
91
|
-
"import": {
|
|
92
|
-
"types": "./dist/extensions/index.d.ts",
|
|
93
|
-
"default": "./dist/extensions/index.mjs"
|
|
94
|
-
},
|
|
95
|
-
"require": {
|
|
96
|
-
"types": "./dist/extensions/index.d.ts",
|
|
97
|
-
"default": "./dist/extensions/index.cjs"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"default": {
|
|
101
|
-
"import": {
|
|
102
|
-
"types": "./dist/extensions/index.d.ts",
|
|
103
|
-
"default": "./dist/extensions/index.mjs"
|
|
104
|
-
},
|
|
105
|
-
"require": {
|
|
106
|
-
"types": "./dist/extensions/index.d.ts",
|
|
107
|
-
"default": "./dist/extensions/index.cjs"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
43
|
+
"import": "./dist/extensions/index.mjs",
|
|
44
|
+
"require": "./dist/extensions/index.cjs"
|
|
110
45
|
},
|
|
111
|
-
"./
|
|
112
|
-
|
|
113
|
-
"typesVersions": {
|
|
114
|
-
"*": {
|
|
115
|
-
"*": [
|
|
116
|
-
"dist/index.d.ts"
|
|
117
|
-
],
|
|
118
|
-
"blocks": [
|
|
119
|
-
"dist/blocks/index.d.ts"
|
|
120
|
-
],
|
|
121
|
-
"extensions": [
|
|
122
|
-
"dist/extensions/index.d.ts"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"scripts": {
|
|
127
|
-
"dev": "tsup --watch",
|
|
128
|
-
"clean": "rm -rf dist",
|
|
129
|
-
"build": "tsup"
|
|
130
|
-
},
|
|
131
|
-
"repository": {
|
|
132
|
-
"type": "git",
|
|
133
|
-
"url": "git+https://github.com/arikchakma/maily.to.git",
|
|
134
|
-
"directory": "packages/core"
|
|
46
|
+
"./package.json": "./package.json",
|
|
47
|
+
"./style.css": "./src/styles/index.css"
|
|
135
48
|
},
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
"tiptap",
|
|
139
|
-
"wysiwyg",
|
|
140
|
-
"maily.to",
|
|
141
|
-
"editor",
|
|
142
|
-
"react",
|
|
143
|
-
"email"
|
|
144
|
-
],
|
|
145
|
-
"engines": {
|
|
146
|
-
"node": ">=18.0.0"
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
147
51
|
},
|
|
148
52
|
"dependencies": {
|
|
149
|
-
"@
|
|
150
|
-
"@
|
|
151
|
-
"@
|
|
152
|
-
"@
|
|
153
|
-
"@
|
|
154
|
-
"@tiptap/
|
|
155
|
-
"@tiptap/extension-code
|
|
156
|
-
"@tiptap/extension-
|
|
157
|
-
"@tiptap/extension-document": "^
|
|
158
|
-
"@tiptap/extension-
|
|
159
|
-
"@tiptap/extension-
|
|
160
|
-
"@tiptap/extension-
|
|
161
|
-
"@tiptap/extension-
|
|
162
|
-
"@tiptap/extension-
|
|
163
|
-
"@tiptap/extension-
|
|
164
|
-
"@tiptap/extension-
|
|
165
|
-
"@tiptap/extension-
|
|
166
|
-
"@tiptap/extension-
|
|
167
|
-
"@tiptap/extension-
|
|
168
|
-
"@tiptap/extension-
|
|
169
|
-
"@tiptap/extension-
|
|
170
|
-
"@tiptap/extension-
|
|
171
|
-
"@tiptap/
|
|
172
|
-
"@tiptap/
|
|
173
|
-
"@tiptap/
|
|
174
|
-
"@tiptap/
|
|
175
|
-
"
|
|
176
|
-
"
|
|
53
|
+
"@base-ui/react": "1.6.0",
|
|
54
|
+
"@base-ui/utils": "0.3.1",
|
|
55
|
+
"@floating-ui/react": "^0.27.20",
|
|
56
|
+
"@floating-ui/utils": "^0.2.12",
|
|
57
|
+
"@tiptap/extension-blockquote": "^3.29.2",
|
|
58
|
+
"@tiptap/extension-bold": "^3.29.2",
|
|
59
|
+
"@tiptap/extension-code": "^3.29.2",
|
|
60
|
+
"@tiptap/extension-code-block-lowlight": "^3.29.2",
|
|
61
|
+
"@tiptap/extension-document": "^3.29.2",
|
|
62
|
+
"@tiptap/extension-drag-handle": "^3.29.2",
|
|
63
|
+
"@tiptap/extension-drag-handle-react": "^3.29.2",
|
|
64
|
+
"@tiptap/extension-file-handler": "^3.29.2",
|
|
65
|
+
"@tiptap/extension-hard-break": "^3.29.2",
|
|
66
|
+
"@tiptap/extension-heading": "^3.29.2",
|
|
67
|
+
"@tiptap/extension-highlight": "^3.29.2",
|
|
68
|
+
"@tiptap/extension-horizontal-rule": "^3.29.2",
|
|
69
|
+
"@tiptap/extension-image": "^3.29.2",
|
|
70
|
+
"@tiptap/extension-italic": "^3.29.2",
|
|
71
|
+
"@tiptap/extension-link": "^3.29.2",
|
|
72
|
+
"@tiptap/extension-list": "^3.29.2",
|
|
73
|
+
"@tiptap/extension-paragraph": "^3.29.2",
|
|
74
|
+
"@tiptap/extension-strike": "^3.29.2",
|
|
75
|
+
"@tiptap/extension-table": "^3.29.2",
|
|
76
|
+
"@tiptap/extension-text": "^3.29.2",
|
|
77
|
+
"@tiptap/extension-text-style": "^3.29.2",
|
|
78
|
+
"@tiptap/extension-typography": "^3.29.2",
|
|
79
|
+
"@tiptap/extension-underline": "^3.29.2",
|
|
80
|
+
"@tiptap/extension-unique-id": "^3.29.2",
|
|
81
|
+
"@tiptap/extensions": "^3.29.2",
|
|
82
|
+
"@tiptap/suggestion": "^3.29.2",
|
|
83
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
84
|
+
"cromia": "^0.0.1",
|
|
177
85
|
"highlight.js": "^11.11.1",
|
|
178
86
|
"lowlight": "^3.3.0",
|
|
179
|
-
"lucide-react": "^
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"uuid": "^11.1.0",
|
|
184
|
-
"y-prosemirror": "^1.3.0"
|
|
87
|
+
"lucide-react": "^1.28.0",
|
|
88
|
+
"unit-field": "^0.0.3",
|
|
89
|
+
"zustand": "^5.0.14",
|
|
90
|
+
"@maily-to/shared": "2.0.0-beta.10"
|
|
185
91
|
},
|
|
186
92
|
"devDependencies": {
|
|
187
|
-
"@
|
|
188
|
-
"@
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
93
|
+
"@react-email/components": "^1.0.12",
|
|
94
|
+
"@react-email/render": "^2.1.0",
|
|
95
|
+
"@testing-library/react": "^16.3.3",
|
|
96
|
+
"@tiptap/core": "^3.29.2",
|
|
97
|
+
"@tiptap/extension-collaboration": "^3.30.5",
|
|
98
|
+
"@tiptap/pm": "^3.29.2",
|
|
99
|
+
"@tiptap/react": "^3.29.2",
|
|
100
|
+
"@tiptap/y-tiptap": "^3.0.10",
|
|
101
|
+
"@types/react": "^19.2.18",
|
|
102
|
+
"@vitest/browser-playwright": "4.1.11",
|
|
103
|
+
"bumpp": "^12.1.1",
|
|
104
|
+
"oxc-transform-react": "0.145.0",
|
|
105
|
+
"playwright": "^1.62.1",
|
|
106
|
+
"react-dom": "^19.2.8",
|
|
107
|
+
"typescript": "^7.0.2",
|
|
108
|
+
"vite-plus": "0.3.0",
|
|
109
|
+
"yjs": "^13.6.33",
|
|
110
|
+
"@maily-to/extension-inline-suggestion": "0.0.1",
|
|
111
|
+
"@maily-to/extension-ai-actions": "0.0.1",
|
|
112
|
+
"@maily-to/extension-variable": "0.0.1",
|
|
113
|
+
"@maily-to/render": "2.0.0-beta.10",
|
|
114
|
+
"@maily-to/tsconfig": "0.0.0"
|
|
196
115
|
},
|
|
197
116
|
"peerDependencies": {
|
|
198
|
-
"
|
|
117
|
+
"@tiptap/core": "^3.29.2",
|
|
118
|
+
"@tiptap/pm": "^3.29.2",
|
|
119
|
+
"@tiptap/react": "^3.29.2",
|
|
120
|
+
"react": "^19.2.8",
|
|
121
|
+
"yjs": "^13.6.0"
|
|
199
122
|
},
|
|
200
|
-
"
|
|
201
|
-
"
|
|
123
|
+
"peerDependenciesMeta": {
|
|
124
|
+
"yjs": {
|
|
125
|
+
"optional": true
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"scripts": {
|
|
129
|
+
"bench": "vp test bench --run",
|
|
130
|
+
"build": "vp run clean && vp run build:lib",
|
|
131
|
+
"build:lib": "vp pack",
|
|
132
|
+
"clean": "rm -rf dist",
|
|
133
|
+
"dev": "vp pack --watch --no-clean",
|
|
134
|
+
"release": "bumpp",
|
|
135
|
+
"test": "vp test run",
|
|
136
|
+
"test:watch": "vp test"
|
|
202
137
|
}
|
|
203
|
-
}
|
|
138
|
+
}
|