@tiptap/pm 3.0.0-next.3 → 3.0.0-next.5

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.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025, Tiptap GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,8 +1,8 @@
1
1
  export * from 'prosemirror-changeset';
2
- import 'prosemirror-commands';
3
2
  import 'prosemirror-collab';
4
- import 'prosemirror-gapcursor';
3
+ import 'prosemirror-commands';
5
4
  import 'prosemirror-dropcursor';
5
+ import 'prosemirror-gapcursor';
6
6
  import 'prosemirror-history';
7
7
  import 'prosemirror-inputrules';
8
8
  import 'prosemirror-keymap';
@@ -1,8 +1,8 @@
1
1
  export * from 'prosemirror-changeset';
2
- import 'prosemirror-commands';
3
2
  import 'prosemirror-collab';
4
- import 'prosemirror-gapcursor';
3
+ import 'prosemirror-commands';
5
4
  import 'prosemirror-dropcursor';
5
+ import 'prosemirror-gapcursor';
6
6
  import 'prosemirror-history';
7
7
  import 'prosemirror-inputrules';
8
8
  import 'prosemirror-keymap';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/pm",
3
3
  "description": "prosemirror wrapper package for tiptap",
4
- "version": "3.0.0-next.3",
4
+ "version": "3.0.0-next.5",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -15,92 +15,146 @@
15
15
  "type": "module",
16
16
  "exports": {
17
17
  "./changeset": {
18
- "types": "./dist/changeset/index.d.ts",
18
+ "types": {
19
+ "import": "./dist/changeset/index.d.ts",
20
+ "require": "./dist/changeset/index.d.cts"
21
+ },
19
22
  "import": "./dist/changeset/index.js",
20
23
  "require": "./dist/changeset/index.cjs"
21
24
  },
22
25
  "./collab": {
23
- "types": "./dist/collab/index.d.ts",
26
+ "types": {
27
+ "import": "./dist/collab/index.d.ts",
28
+ "require": "./dist/collab/index.d.cts"
29
+ },
24
30
  "import": "./dist/collab/index.js",
25
31
  "require": "./dist/collab/index.cjs"
26
32
  },
27
33
  "./commands": {
28
- "types": "./dist/commands/index.d.ts",
34
+ "types": {
35
+ "import": "./dist/commands/index.d.ts",
36
+ "require": "./dist/commands/index.d.cts"
37
+ },
29
38
  "import": "./dist/commands/index.js",
30
39
  "require": "./dist/commands/index.cjs"
31
40
  },
32
41
  "./dropcursor": {
33
- "types": "./dist/dropcursor/index.d.ts",
42
+ "types": {
43
+ "import": "./dist/dropcursor/index.d.ts",
44
+ "require": "./dist/dropcursor/index.d.cts"
45
+ },
34
46
  "import": "./dist/dropcursor/index.js",
35
47
  "require": "./dist/dropcursor/index.cjs"
36
48
  },
37
49
  "./gapcursor": {
38
- "types": "./dist/gapcursor/index.d.ts",
50
+ "types": {
51
+ "import": "./dist/gapcursor/index.d.ts",
52
+ "require": "./dist/gapcursor/index.d.cts"
53
+ },
39
54
  "import": "./dist/gapcursor/index.js",
40
55
  "require": "./dist/gapcursor/index.cjs"
41
56
  },
42
57
  "./history": {
43
- "types": "./dist/history/index.d.ts",
58
+ "types": {
59
+ "import": "./dist/history/index.d.ts",
60
+ "require": "./dist/history/index.d.cts"
61
+ },
44
62
  "import": "./dist/history/index.js",
45
63
  "require": "./dist/history/index.cjs"
46
64
  },
47
65
  "./inputrules": {
48
- "types": "./dist/inputrules/index.d.ts",
66
+ "types": {
67
+ "import": "./dist/inputrules/index.d.ts",
68
+ "require": "./dist/inputrules/index.d.cts"
69
+ },
49
70
  "import": "./dist/inputrules/index.js",
50
71
  "require": "./dist/inputrules/index.cjs"
51
72
  },
52
73
  "./keymap": {
53
- "types": "./dist/keymap/index.d.ts",
74
+ "types": {
75
+ "import": "./dist/keymap/index.d.ts",
76
+ "require": "./dist/keymap/index.d.cts"
77
+ },
54
78
  "import": "./dist/keymap/index.js",
55
79
  "require": "./dist/keymap/index.cjs"
56
80
  },
57
81
  "./markdown": {
58
- "types": "./dist/markdown/index.d.ts",
82
+ "types": {
83
+ "import": "./dist/markdown/index.d.ts",
84
+ "require": "./dist/markdown/index.d.cts"
85
+ },
59
86
  "import": "./dist/markdown/index.js",
60
87
  "require": "./dist/markdown/index.cjs"
61
88
  },
62
89
  "./menu": {
63
- "types": "./dist/menu/index.d.ts",
90
+ "types": {
91
+ "import": "./dist/menu/index.d.ts",
92
+ "require": "./dist/menu/index.d.cts"
93
+ },
64
94
  "import": "./dist/menu/index.js",
65
95
  "require": "./dist/menu/index.cjs"
66
96
  },
67
97
  "./model": {
68
- "types": "./dist/model/index.d.ts",
98
+ "types": {
99
+ "import": "./dist/model/index.d.ts",
100
+ "require": "./dist/model/index.d.cts"
101
+ },
69
102
  "import": "./dist/model/index.js",
70
103
  "require": "./dist/model/index.cjs"
71
104
  },
72
105
  "./schema-basic": {
73
- "types": "./dist/schema-basic/index.d.ts",
106
+ "types": {
107
+ "import": "./dist/schema/index.d.ts",
108
+ "require": "./dist/schema/index.d.cts"
109
+ },
74
110
  "import": "./dist/schema-basic/index.js",
75
111
  "require": "./dist/schema-basic/index.cjs"
76
112
  },
77
113
  "./schema-list": {
78
- "types": "./dist/schema-list/index.d.ts",
114
+ "types": {
115
+ "import": "./dist/schema/index.d.ts",
116
+ "require": "./dist/schema/index.d.cts"
117
+ },
79
118
  "import": "./dist/schema-list/index.js",
80
119
  "require": "./dist/schema-list/index.cjs"
81
120
  },
82
121
  "./state": {
83
- "types": "./dist/state/index.d.ts",
122
+ "types": {
123
+ "import": "./dist/state/index.d.ts",
124
+ "require": "./dist/state/index.d.cts"
125
+ },
84
126
  "import": "./dist/state/index.js",
85
127
  "require": "./dist/state/index.cjs"
86
128
  },
87
129
  "./tables": {
88
- "types": "./dist/tables/index.d.ts",
130
+ "types": {
131
+ "import": "./dist/tables/index.d.ts",
132
+ "require": "./dist/tables/index.d.cts"
133
+ },
89
134
  "import": "./dist/tables/index.js",
90
135
  "require": "./dist/tables/index.cjs"
91
136
  },
92
137
  "./trailing-node": {
93
- "types": "./dist/trailing-node/index.d.ts",
138
+ "types": {
139
+ "import": "./dist/trailing/index.d.ts",
140
+ "require": "./dist/trailing/index.d.cts"
141
+ },
94
142
  "import": "./dist/trailing-node/index.js",
95
143
  "require": "./dist/trailing-node/index.cjs"
96
144
  },
97
145
  "./transform": {
98
- "types": "./dist/transform/index.d.ts",
146
+ "types": {
147
+ "import": "./dist/transform/index.d.ts",
148
+ "require": "./dist/transform/index.d.cts"
149
+ },
99
150
  "import": "./dist/transform/index.js",
100
151
  "require": "./dist/transform/index.cjs"
101
152
  },
102
153
  "./view": {
103
- "types": "./dist/view/index.d.ts",
154
+ "types": {
155
+ "import": "./dist/view/index.d.ts",
156
+ "require": "./dist/view/index.d.cts"
157
+ },
104
158
  "import": "./dist/view/index.js",
105
159
  "require": "./dist/view/index.cjs"
106
160
  }
@@ -137,14 +191,14 @@
137
191
  "prosemirror-keymap": "^1.2.2",
138
192
  "prosemirror-markdown": "^1.13.1",
139
193
  "prosemirror-menu": "^1.2.4",
140
- "prosemirror-model": "^1.23.0",
194
+ "prosemirror-model": "^1.24.1",
141
195
  "prosemirror-schema-basic": "^1.2.3",
142
- "prosemirror-schema-list": "^1.4.1",
196
+ "prosemirror-schema-list": "^1.5.0",
143
197
  "prosemirror-state": "^1.4.3",
144
- "prosemirror-tables": "^1.6.1",
198
+ "prosemirror-tables": "^1.6.2",
145
199
  "prosemirror-trailing-node": "^3.0.0",
146
200
  "prosemirror-transform": "^1.10.2",
147
- "prosemirror-view": "^1.37.0"
201
+ "prosemirror-view": "^1.37.1"
148
202
  },
149
203
  "repository": {
150
204
  "type": "git",
@@ -154,4 +208,4 @@
154
208
  "scripts": {
155
209
  "build": "tsup"
156
210
  }
157
- }
211
+ }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
package/menu/package.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }
package/view/package.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "type": "module",
3
- "exports": {
4
- ".": {
5
- "types": "./dist/index.d.ts",
6
- "import": "./dist/index.js",
7
- "require": "./dist/index.cjs"
8
- },
9
- "./package.json": "./package.json"
10
- },
11
- "main": "./dist/index.cjs",
12
- "module": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
14
- }