@prosekit/web 0.2.1 → 0.2.3
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,6 +1,7 @@
|
|
|
1
1
|
import { BaseElement } from '@aria-ui/core';
|
|
2
2
|
import { ConnectableElement } from '@aria-ui/core';
|
|
3
3
|
import { Context } from '@aria-ui/core';
|
|
4
|
+
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
|
4
5
|
import { defaultPopoverContentProps } from '@aria-ui/popover';
|
|
5
6
|
import { defaultPopoverRootProps } from '@aria-ui/popover';
|
|
6
7
|
import { defaultPopoverTriggerProps } from '@aria-ui/popover';
|
|
@@ -233,11 +234,7 @@ export declare function calcResize(position: 'top' | 'right' | 'bottom' | 'left'
|
|
|
233
234
|
|
|
234
235
|
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
|
235
236
|
|
|
236
|
-
export
|
|
237
|
-
test: {
|
|
238
|
-
environment: "jsdom";
|
|
239
|
-
};
|
|
240
|
-
};
|
|
237
|
+
export { default_alias_1 }
|
|
241
238
|
|
|
242
239
|
declare const defaultAutocompleteEmptyProps: {};
|
|
243
240
|
export { defaultAutocompleteEmptyProps }
|
|
@@ -133,7 +133,7 @@ function useAutocompleteList(element, state) {
|
|
|
133
133
|
function useKeyboardHandler(element, open, editor) {
|
|
134
134
|
let keydownHandler = createSignal(
|
|
135
135
|
null
|
|
136
|
-
), disposeKeydownHandler
|
|
136
|
+
), disposeKeydownHandler;
|
|
137
137
|
return useEffect2(element, () => {
|
|
138
138
|
let editorValue = editor.get(), keydownHandlerValue = keydownHandler.get();
|
|
139
139
|
if (!editorValue || !keydownHandlerValue)
|
|
@@ -146,7 +146,7 @@ function useKeyboardHandler(element, open, editor) {
|
|
|
146
146
|
withPriority(extension, Priority.highest)
|
|
147
147
|
);
|
|
148
148
|
}), (keydownHandlerValue) => (keydownHandler.set(keydownHandlerValue), () => {
|
|
149
|
-
disposeKeydownHandler == null || disposeKeydownHandler(), disposeKeydownHandler =
|
|
149
|
+
disposeKeydownHandler == null || disposeKeydownHandler(), disposeKeydownHandler = void 0;
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosekit/web",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -66,22 +66,22 @@
|
|
|
66
66
|
],
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@aria-ui/collection": "^0.0.3",
|
|
69
|
-
"@aria-ui/core": "^0.0.
|
|
70
|
-
"@aria-ui/listbox": "^0.0.
|
|
71
|
-
"@aria-ui/overlay": "^0.0.
|
|
72
|
-
"@aria-ui/popover": "^0.0.
|
|
73
|
-
"@aria-ui/presence": "^0.0.
|
|
74
|
-
"@aria-ui/tooltip": "^0.0.
|
|
75
|
-
"@floating-ui/dom": "^1.6.
|
|
76
|
-
"@zag-js/dom-query": "^0.
|
|
77
|
-
"@prosekit/core": "^0.
|
|
78
|
-
"@prosekit/
|
|
79
|
-
"@prosekit/
|
|
69
|
+
"@aria-ui/core": "^0.0.17",
|
|
70
|
+
"@aria-ui/listbox": "^0.0.17",
|
|
71
|
+
"@aria-ui/overlay": "^0.0.18",
|
|
72
|
+
"@aria-ui/popover": "^0.0.19",
|
|
73
|
+
"@aria-ui/presence": "^0.0.13",
|
|
74
|
+
"@aria-ui/tooltip": "^0.0.21",
|
|
75
|
+
"@floating-ui/dom": "^1.6.7",
|
|
76
|
+
"@zag-js/dom-query": "^0.60.0",
|
|
77
|
+
"@prosekit/core": "^0.7.1",
|
|
78
|
+
"@prosekit/pm": "^0.1.5",
|
|
79
|
+
"@prosekit/extensions": "^0.7.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"tsup": "^8.1.0",
|
|
83
|
-
"typescript": "^5.5.
|
|
84
|
-
"vitest": "^
|
|
83
|
+
"typescript": "^5.5.3",
|
|
84
|
+
"vitest": "^2.0.0-beta.13",
|
|
85
85
|
"@prosekit/dev": "0.0.0"
|
|
86
86
|
},
|
|
87
87
|
"scripts": {
|