@prosekit/react 0.0.0-next-20240621205958 → 0.0.0-next-20240626133927
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.
@@ -1,5 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
|
3
1
|
import type { Attrs } from '@prosekit/pm/model';
|
4
2
|
import { AutocompleteEmptyElement } from '@prosekit/web/autocomplete';
|
5
3
|
import { AutocompleteEmptyProps } from '@prosekit/web/autocomplete';
|
@@ -21,10 +19,12 @@ import type { CoreNodeViewSpec } from '@prosemirror-adapter/core';
|
|
21
19
|
import type { CoreNodeViewUserOptions } from '@prosemirror-adapter/core';
|
22
20
|
import type { Decoration } from '@prosekit/pm/view';
|
23
21
|
import type { DecorationSource } from '@prosekit/pm/view';
|
22
|
+
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
24
23
|
import { Editor } from '@prosekit/core';
|
25
24
|
import type { EditorState } from '@prosekit/pm/state';
|
26
25
|
import type { EditorView } from '@prosekit/pm/view';
|
27
26
|
import { Extension } from '@prosekit/core';
|
27
|
+
import { ExtensionTyping } from '@prosekit/core';
|
28
28
|
import { FC } from 'react';
|
29
29
|
import { ForwardRefExoticComponent } from 'react';
|
30
30
|
import { HTMLAttributes } from 'react';
|
@@ -91,11 +91,7 @@ export { CreateReactNodeView as CreateReactNodeView_alias_1 }
|
|
91
91
|
|
92
92
|
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
93
93
|
|
94
|
-
export
|
95
|
-
test: {
|
96
|
-
environment: "jsdom";
|
97
|
-
};
|
98
|
-
};
|
94
|
+
export { default_alias_1 }
|
99
95
|
|
100
96
|
/**
|
101
97
|
* Defines a node view using a React component.
|
@@ -109,7 +105,7 @@ export { defineReactNodeView as defineReactNodeView_alias_1 }
|
|
109
105
|
/**
|
110
106
|
* @internal
|
111
107
|
*/
|
112
|
-
export declare function defineReactNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<any
|
108
|
+
export declare function defineReactNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<ExtensionTyping<any, any, any>>;
|
113
109
|
|
114
110
|
/**
|
115
111
|
* @internal
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/react",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.0-next-
|
4
|
+
"version": "0.0.0-next-20240626133927",
|
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.0.0-next-
|
71
|
-
"@prosekit/pm": "^0.0.0-next-
|
72
|
-
"@prosekit/web": "^0.0.0-next-
|
70
|
+
"@prosekit/core": "^0.0.0-next-20240626133927",
|
71
|
+
"@prosekit/pm": "^0.0.0-next-20240626133927",
|
72
|
+
"@prosekit/web": "^0.0.0-next-20240626133927"
|
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.
|
93
|
-
"vitest": "^
|
92
|
+
"typescript": "^5.5.2",
|
93
|
+
"vitest": "^2.0.0-beta.12",
|
94
94
|
"@prosekit/dev": "0.0.0"
|
95
95
|
},
|
96
96
|
"scripts": {
|