@prosekit/react 0.3.4 → 0.3.6
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.
@@ -14,7 +14,6 @@ import { BlockDragHandleElement } from '@prosekit/web/block-handle';
|
|
14
14
|
import { BlockDragHandleProps } from '@prosekit/web/block-handle';
|
15
15
|
import { BlockPopoverElement } from '@prosekit/web/block-handle';
|
16
16
|
import { BlockPopoverProps } from '@prosekit/web/block-handle';
|
17
|
-
import { CommandArgs } from '@prosekit/core';
|
18
17
|
import { ComponentType } from 'react';
|
19
18
|
import { Context } from 'react';
|
20
19
|
import { CoreNodeView } from '@prosemirror-adapter/core';
|
@@ -26,7 +25,6 @@ import { Editor } from '@prosekit/core';
|
|
26
25
|
import type { EditorState } from '@prosekit/pm/state';
|
27
26
|
import type { EditorView } from '@prosekit/pm/view';
|
28
27
|
import { Extension } from '@prosekit/core';
|
29
|
-
import { ExtensionTyping } from '@prosekit/core';
|
30
28
|
import { FC } from 'react';
|
31
29
|
import { ForwardRefExoticComponent } from 'react';
|
32
30
|
import { HTMLAttributes } from 'react';
|
@@ -111,7 +109,7 @@ export { defineReactNodeView as defineReactNodeView_alias_1 }
|
|
111
109
|
/**
|
112
110
|
* @internal
|
113
111
|
*/
|
114
|
-
export declare function defineReactNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<
|
112
|
+
export declare function defineReactNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<any>;
|
115
113
|
|
116
114
|
/**
|
117
115
|
* @internal
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/react",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.3.
|
4
|
+
"version": "0.3.6",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -65,9 +65,9 @@
|
|
65
65
|
"dist"
|
66
66
|
],
|
67
67
|
"dependencies": {
|
68
|
-
"@prosekit/core": "^0.4
|
69
|
-
"@prosekit/pm": "^0.1.
|
70
|
-
"@prosekit/web": "^0.1.
|
68
|
+
"@prosekit/core": "^0.5.4",
|
69
|
+
"@prosekit/pm": "^0.1.4",
|
70
|
+
"@prosekit/web": "^0.1.9",
|
71
71
|
"@prosemirror-adapter/core": "^0.2.6",
|
72
72
|
"react-merge-refs": "^2.1.1"
|
73
73
|
},
|
@@ -84,14 +84,14 @@
|
|
84
84
|
}
|
85
85
|
},
|
86
86
|
"devDependencies": {
|
87
|
-
"@
|
88
|
-
"@types/react": "^18.3.1",
|
87
|
+
"@types/react": "^18.3.3",
|
89
88
|
"@types/react-dom": "^18.3.0",
|
90
89
|
"react": "^18.3.1",
|
91
90
|
"react-dom": "^18.3.1",
|
92
91
|
"tsup": "^8.0.2",
|
93
92
|
"typescript": "^5.4.5",
|
94
|
-
"vitest": "^1.
|
93
|
+
"vitest": "^1.6.0",
|
94
|
+
"@prosekit/dev": "0.0.0"
|
95
95
|
},
|
96
96
|
"scripts": {
|
97
97
|
"build:tsup": "tsup",
|