@prosekit/react 0.3.8 → 0.3.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.
@@ -19,10 +19,12 @@ import type { CoreNodeViewSpec } from '@prosemirror-adapter/core';
|
|
19
19
|
import type { CoreNodeViewUserOptions } from '@prosemirror-adapter/core';
|
20
20
|
import type { Decoration } from '@prosekit/pm/view';
|
21
21
|
import type { DecorationSource } from '@prosekit/pm/view';
|
22
|
+
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
22
23
|
import { Editor } from '@prosekit/core';
|
23
24
|
import type { EditorState } from '@prosekit/pm/state';
|
24
25
|
import type { EditorView } from '@prosekit/pm/view';
|
25
26
|
import { Extension } from '@prosekit/core';
|
27
|
+
import { ExtensionTyping } from '@prosekit/core';
|
26
28
|
import { FC } from 'react';
|
27
29
|
import { ForwardRefExoticComponent } from 'react';
|
28
30
|
import { HTMLAttributes } from 'react';
|
@@ -89,11 +91,7 @@ export { CreateReactNodeView as CreateReactNodeView_alias_1 }
|
|
89
91
|
|
90
92
|
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
91
93
|
|
92
|
-
export
|
93
|
-
test: {
|
94
|
-
environment: "jsdom";
|
95
|
-
};
|
96
|
-
};
|
94
|
+
export { default_alias_1 }
|
97
95
|
|
98
96
|
/**
|
99
97
|
* Defines a node view using a React component.
|
@@ -107,7 +105,7 @@ export { defineReactNodeView as defineReactNodeView_alias_1 }
|
|
107
105
|
/**
|
108
106
|
* @internal
|
109
107
|
*/
|
110
|
-
export declare function defineReactNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<any
|
108
|
+
export declare function defineReactNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<ExtensionTyping<any, any, any>>;
|
111
109
|
|
112
110
|
/**
|
113
111
|
* @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.10",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -67,9 +67,9 @@
|
|
67
67
|
"dependencies": {
|
68
68
|
"@prosemirror-adapter/core": "^0.2.6",
|
69
69
|
"react-merge-refs": "^2.1.1",
|
70
|
-
"@prosekit/core": "^0.
|
70
|
+
"@prosekit/core": "^0.7.0",
|
71
71
|
"@prosekit/pm": "^0.1.5",
|
72
|
-
"@prosekit/web": "^0.2.
|
72
|
+
"@prosekit/web": "^0.2.2"
|
73
73
|
},
|
74
74
|
"peerDependencies": {
|
75
75
|
"react": ">= 18.2.0",
|
@@ -89,8 +89,8 @@
|
|
89
89
|
"react": "^18.3.1",
|
90
90
|
"react-dom": "^18.3.1",
|
91
91
|
"tsup": "^8.1.0",
|
92
|
-
"typescript": "^5.5.
|
93
|
-
"vitest": "^
|
92
|
+
"typescript": "^5.5.3",
|
93
|
+
"vitest": "^2.0.0-beta.13",
|
94
94
|
"@prosekit/dev": "0.0.0"
|
95
95
|
},
|
96
96
|
"scripts": {
|