@prosekit/web 0.3.7 → 0.3.8
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.
|
@@ -500,8 +500,6 @@ export { InlinePopoverProps as InlinePopoverProps_alias_1 }
|
|
|
500
500
|
|
|
501
501
|
export declare function isFinitePositiveNumber(value: unknown): value is number;
|
|
502
502
|
|
|
503
|
-
export declare function omit<T extends Record<string, unknown>, K extends keyof T>(object: T, keys: K[]): Omit<T, K>;
|
|
504
|
-
|
|
505
503
|
/**
|
|
506
504
|
* @internal
|
|
507
505
|
*/
|
|
@@ -95,15 +95,7 @@ import {
|
|
|
95
95
|
defineDOMEventHandler,
|
|
96
96
|
withPriority
|
|
97
97
|
} from "@prosekit/core";
|
|
98
|
-
|
|
99
|
-
// src/utils/omit.ts
|
|
100
|
-
function omit(object, keys) {
|
|
101
|
-
return Object.fromEntries(
|
|
102
|
-
Object.entries(object).filter(([key]) => !keys.includes(key))
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// src/components/autocomplete/autocomplete-list/state.ts
|
|
98
|
+
import omit from "just-omit";
|
|
107
99
|
function useAutocompleteList(element, state) {
|
|
108
100
|
const open = openContext.consume(element);
|
|
109
101
|
const query = queryContext.consume(element);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosekit/web",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.8",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -74,9 +74,10 @@
|
|
|
74
74
|
"@aria-ui/tooltip": "^0.0.21",
|
|
75
75
|
"@floating-ui/dom": "^1.6.8",
|
|
76
76
|
"@zag-js/dom-query": "^0.62.0",
|
|
77
|
-
"
|
|
78
|
-
"@prosekit/
|
|
79
|
-
"@prosekit/extensions": "^0.7.
|
|
77
|
+
"just-omit": "^2.2.0",
|
|
78
|
+
"@prosekit/core": "^0.7.7",
|
|
79
|
+
"@prosekit/extensions": "^0.7.8",
|
|
80
|
+
"@prosekit/pm": "^0.1.7"
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"tsup": "^8.2.2",
|