@prosekit/solid 0.1.3 → 0.1.4
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.
@@ -18,7 +18,6 @@ import { ParentProps } from 'solid-js';
|
|
18
18
|
import { PopoverOptions } from '@prosekit/lit/autocomplete-popover';
|
19
19
|
import type { PopoverProps as PopoverProps_2 } from '@prosekit/lit/popover';
|
20
20
|
import { Priority } from '@prosekit/core';
|
21
|
-
import { UserProjectConfigExport } from 'vitest/dist/config.js';
|
22
21
|
|
23
22
|
declare const AutocompleteEmpty: Component<AutocompleteEmptyProps>;
|
24
23
|
export { AutocompleteEmpty }
|
@@ -70,7 +69,11 @@ export declare type ComboBoxProps = PropsWithChildren<PropsWithClass<ComboBoxPro
|
|
70
69
|
|
71
70
|
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
72
71
|
|
73
|
-
export declare const default_alias_1:
|
72
|
+
export declare const default_alias_1: {
|
73
|
+
test: {
|
74
|
+
environment: "jsdom";
|
75
|
+
};
|
76
|
+
};
|
74
77
|
|
75
78
|
declare interface EditorContext {
|
76
79
|
editor: Editor;
|
@@ -118,14 +121,12 @@ declare type ProseKitProps = ParentProps<{
|
|
118
121
|
export { ProseKitProps }
|
119
122
|
export { ProseKitProps as ProseKitProps_alias_1 }
|
120
123
|
|
121
|
-
declare function useEditor<E extends Extension = any>(options?:
|
124
|
+
declare function useEditor<E extends Extension = any>(options?: {
|
125
|
+
update?: boolean;
|
126
|
+
}): () => Editor<E>;
|
122
127
|
export { useEditor }
|
123
128
|
export { useEditor as useEditor_alias_1 }
|
124
129
|
|
125
|
-
export declare interface UseEditorOptions {
|
126
|
-
update?: boolean;
|
127
|
-
}
|
128
|
-
|
129
130
|
/**
|
130
131
|
* Add an extension to the editor.
|
131
132
|
*
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/solid",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.1.
|
4
|
+
"version": "0.1.4",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -85,8 +85,8 @@
|
|
85
85
|
"dist"
|
86
86
|
],
|
87
87
|
"dependencies": {
|
88
|
-
"@prosekit/core": "^0.
|
89
|
-
"@prosekit/lit": "^0.1.
|
88
|
+
"@prosekit/core": "^0.2.0",
|
89
|
+
"@prosekit/lit": "^0.1.5"
|
90
90
|
},
|
91
91
|
"peerDependencies": {
|
92
92
|
"solid-js": ">= 1.7.0"
|
@@ -98,10 +98,10 @@
|
|
98
98
|
},
|
99
99
|
"devDependencies": {
|
100
100
|
"@prosekit/dev": "*",
|
101
|
-
"solid-js": "^1.8.
|
101
|
+
"solid-js": "^1.8.7",
|
102
102
|
"tsup": "^8.0.1",
|
103
|
-
"typescript": "^5.3.
|
104
|
-
"vitest": "^
|
103
|
+
"typescript": "^5.3.3",
|
104
|
+
"vitest": "^1.1.0"
|
105
105
|
},
|
106
106
|
"scripts": {
|
107
107
|
"build:tsup": "tsup",
|