@prosekit/vue 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.
- package/dist/_tsup-dts-rollup.d.ts +19 -21
- package/dist/{chunk-X5DTEZPX.js → chunk-KCTUNTM2.js} +1 -1
- package/dist/{chunk-2Y66HAUD.js → chunk-RHKBWCKH.js} +1 -1
- package/dist/prosekit-vue-autocomplete.js +2 -2
- package/dist/prosekit-vue-block-handle.js +2 -2
- package/dist/prosekit-vue-inline-popover.js +2 -2
- package/dist/prosekit-vue-popover.js +2 -2
- package/dist/prosekit-vue-resizable.js +2 -2
- package/dist/prosekit-vue-tooltip.js +2 -2
- package/dist/prosekit-vue.js +1 -1
- package/package.json +7 -6
@@ -13,12 +13,14 @@ import type { CoreNodeViewSpec } from '@prosemirror-adapter/core';
|
|
13
13
|
import type { CoreNodeViewUserOptions } from '@prosemirror-adapter/core';
|
14
14
|
import type { Decoration } from '@prosekit/pm/view';
|
15
15
|
import type { DecorationSource } from '@prosekit/pm/view';
|
16
|
+
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
16
17
|
import { DefineComponent } from 'vue';
|
17
18
|
import { DefineSetupFnComponent } from 'vue';
|
18
19
|
import { Editor } from '@prosekit/core';
|
19
20
|
import type { EditorState } from '@prosekit/pm/state';
|
20
21
|
import type { EditorView } from '@prosekit/pm/view';
|
21
22
|
import { Extension } from '@prosekit/core';
|
23
|
+
import { ExtensionTyping } from '@prosekit/core';
|
22
24
|
import { ExtractPropTypes } from 'vue';
|
23
25
|
import type { InjectionKey } from 'vue';
|
24
26
|
import { InlinePopoverProps } from '@prosekit/web/inline-popover';
|
@@ -46,37 +48,37 @@ import { VNode } from 'vue';
|
|
46
48
|
import type { VNodeRef } from 'vue';
|
47
49
|
|
48
50
|
declare const AutocompleteEmpty: DefineSetupFnComponent<Partial<AutocompleteEmptyProps> & {
|
49
|
-
class?: string
|
51
|
+
class?: string;
|
50
52
|
}>;
|
51
53
|
export { AutocompleteEmpty }
|
52
54
|
export { AutocompleteEmpty as AutocompleteEmpty_alias_1 }
|
53
55
|
|
54
56
|
declare const AutocompleteItem: DefineSetupFnComponent<Partial<AutocompleteItemProps> & {
|
55
|
-
class?: string
|
57
|
+
class?: string;
|
56
58
|
}>;
|
57
59
|
export { AutocompleteItem }
|
58
60
|
export { AutocompleteItem as AutocompleteItem_alias_1 }
|
59
61
|
|
60
62
|
declare const AutocompleteList: DefineSetupFnComponent<Partial<AutocompleteListProps> & {
|
61
|
-
class?: string
|
63
|
+
class?: string;
|
62
64
|
}>;
|
63
65
|
export { AutocompleteList }
|
64
66
|
export { AutocompleteList as AutocompleteList_alias_1 }
|
65
67
|
|
66
68
|
declare const AutocompletePopover: DefineSetupFnComponent<Partial<AutocompletePopoverProps> & {
|
67
|
-
class?: string
|
69
|
+
class?: string;
|
68
70
|
}>;
|
69
71
|
export { AutocompletePopover }
|
70
72
|
export { AutocompletePopover as AutocompletePopover_alias_1 }
|
71
73
|
|
72
74
|
declare const BlockDragHandle: DefineSetupFnComponent<Partial<BlockDragHandleProps> & {
|
73
|
-
class?: string
|
75
|
+
class?: string;
|
74
76
|
}>;
|
75
77
|
export { BlockDragHandle }
|
76
78
|
export { BlockDragHandle as BlockDragHandle_alias_1 }
|
77
79
|
|
78
80
|
declare const BlockPopover: DefineSetupFnComponent<Partial<BlockPopoverProps> & {
|
79
|
-
class?: string
|
81
|
+
class?: string;
|
80
82
|
}>;
|
81
83
|
export { BlockPopover }
|
82
84
|
export { BlockPopover as BlockPopover_alias_1 }
|
@@ -89,11 +91,7 @@ export declare type CreateVueNodeView = ReturnType<typeof useVueNodeViewCreator>
|
|
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 Vue component.
|
@@ -107,10 +105,10 @@ export { defineVueNodeView as defineVueNodeView_alias_1 }
|
|
107
105
|
/**
|
108
106
|
* @internal
|
109
107
|
*/
|
110
|
-
export declare function defineVueNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<any
|
108
|
+
export declare function defineVueNodeViewFactory(nodeViewFactory: NodeViewFactory): Extension<ExtensionTyping<any, any, any>>;
|
111
109
|
|
112
110
|
declare const InlinePopover: DefineSetupFnComponent<Partial<InlinePopoverProps> & {
|
113
|
-
class?: string
|
111
|
+
class?: string;
|
114
112
|
}>;
|
115
113
|
export { InlinePopover }
|
116
114
|
export { InlinePopover as InlinePopover_alias_1 }
|
@@ -120,19 +118,19 @@ export declare type NodeViewFactory = (options: VueNodeViewUserOptions) => NodeV
|
|
120
118
|
export declare const nodeViewFactoryKey: InjectionKey<NodeViewFactory>;
|
121
119
|
|
122
120
|
declare const PopoverContent: DefineSetupFnComponent<Partial<PopoverContentProps> & {
|
123
|
-
class?: string
|
121
|
+
class?: string;
|
124
122
|
}>;
|
125
123
|
export { PopoverContent }
|
126
124
|
export { PopoverContent as PopoverContent_alias_1 }
|
127
125
|
|
128
126
|
declare const PopoverRoot: DefineSetupFnComponent<Partial<PopoverRootProps> & {
|
129
|
-
class?: string
|
127
|
+
class?: string;
|
130
128
|
}>;
|
131
129
|
export { PopoverRoot }
|
132
130
|
export { PopoverRoot as PopoverRoot_alias_1 }
|
133
131
|
|
134
132
|
declare const PopoverTrigger: DefineSetupFnComponent<Partial<PopoverTriggerProps> & {
|
135
|
-
class?: string
|
133
|
+
class?: string;
|
136
134
|
}>;
|
137
135
|
export { PopoverTrigger }
|
138
136
|
export { PopoverTrigger as PopoverTrigger_alias_1 }
|
@@ -165,31 +163,31 @@ export { ProseKitProps as ProseKitProps_alias_1 }
|
|
165
163
|
export declare function provideEditor(editor: Editor): void;
|
166
164
|
|
167
165
|
declare const ResizableHandle: DefineSetupFnComponent<Partial<ResizableHandleProps> & {
|
168
|
-
class?: string
|
166
|
+
class?: string;
|
169
167
|
}>;
|
170
168
|
export { ResizableHandle }
|
171
169
|
export { ResizableHandle as ResizableHandle_alias_1 }
|
172
170
|
|
173
171
|
declare const ResizableRoot: DefineSetupFnComponent<Partial<ResizableRootProps> & {
|
174
|
-
class?: string
|
172
|
+
class?: string;
|
175
173
|
}>;
|
176
174
|
export { ResizableRoot }
|
177
175
|
export { ResizableRoot as ResizableRoot_alias_1 }
|
178
176
|
|
179
177
|
declare const TooltipContent: DefineSetupFnComponent<Partial<TooltipContentProps> & {
|
180
|
-
class?: string
|
178
|
+
class?: string;
|
181
179
|
}>;
|
182
180
|
export { TooltipContent }
|
183
181
|
export { TooltipContent as TooltipContent_alias_1 }
|
184
182
|
|
185
183
|
declare const TooltipRoot: DefineSetupFnComponent<Partial<TooltipRootProps> & {
|
186
|
-
class?: string
|
184
|
+
class?: string;
|
187
185
|
}>;
|
188
186
|
export { TooltipRoot }
|
189
187
|
export { TooltipRoot as TooltipRoot_alias_1 }
|
190
188
|
|
191
189
|
declare const TooltipTrigger: DefineSetupFnComponent<Partial<TooltipTriggerProps> & {
|
192
|
-
class?: string
|
190
|
+
class?: string;
|
193
191
|
}>;
|
194
192
|
export { TooltipTrigger }
|
195
193
|
export { TooltipTrigger as TooltipTrigger_alias_1 }
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
createComponent
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-RHKBWCKH.js";
|
4
|
+
import "./chunk-KCTUNTM2.js";
|
5
5
|
|
6
6
|
// src/components/autocomplete/autocomplete-empty.gen.ts
|
7
7
|
import { defaultAutocompleteEmptyProps } from "@prosekit/web/autocomplete";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
createComponent
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-RHKBWCKH.js";
|
4
|
+
import "./chunk-KCTUNTM2.js";
|
5
5
|
|
6
6
|
// src/components/block-handle/block-drag-handle.gen.ts
|
7
7
|
import { defaultBlockDragHandleProps } from "@prosekit/web/block-handle";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
createComponent
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-RHKBWCKH.js";
|
4
|
+
import "./chunk-KCTUNTM2.js";
|
5
5
|
|
6
6
|
// src/components/inline-popover/inline-popover.gen.ts
|
7
7
|
import { defaultInlinePopoverProps } from "@prosekit/web/inline-popover";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
createComponent
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-RHKBWCKH.js";
|
4
|
+
import "./chunk-KCTUNTM2.js";
|
5
5
|
|
6
6
|
// src/components/popover/popover-content.gen.ts
|
7
7
|
import { defaultPopoverContentProps } from "@prosekit/web/popover";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
createComponent
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-RHKBWCKH.js";
|
4
|
+
import "./chunk-KCTUNTM2.js";
|
5
5
|
|
6
6
|
// src/components/resizable/resizable-handle.gen.ts
|
7
7
|
import { defaultResizableHandleProps } from "@prosekit/web/resizable";
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import {
|
2
2
|
createComponent
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-RHKBWCKH.js";
|
4
|
+
import "./chunk-KCTUNTM2.js";
|
5
5
|
|
6
6
|
// src/components/tooltip/tooltip-content.gen.ts
|
7
7
|
import { defaultTooltipContentProps } from "@prosekit/web/tooltip";
|
package/dist/prosekit-vue.js
CHANGED
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/vue",
|
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",
|
@@ -66,9 +66,9 @@
|
|
66
66
|
],
|
67
67
|
"dependencies": {
|
68
68
|
"@prosemirror-adapter/core": "^0.2.6",
|
69
|
-
"@prosekit/
|
70
|
-
"@prosekit/pm": "^0.0.0-next-
|
71
|
-
"@prosekit/
|
69
|
+
"@prosekit/core": "^0.0.0-next-20240626133927",
|
70
|
+
"@prosekit/pm": "^0.0.0-next-20240626133927",
|
71
|
+
"@prosekit/web": "^0.0.0-next-20240626133927"
|
72
72
|
},
|
73
73
|
"peerDependencies": {
|
74
74
|
"vue": ">= 3.0.0"
|
@@ -79,9 +79,10 @@
|
|
79
79
|
}
|
80
80
|
},
|
81
81
|
"devDependencies": {
|
82
|
+
"@vue/test-utils": "^2.4.6",
|
82
83
|
"tsup": "^8.1.0",
|
83
|
-
"typescript": "^5.
|
84
|
-
"vitest": "^
|
84
|
+
"typescript": "^5.5.2",
|
85
|
+
"vitest": "^2.0.0-beta.12",
|
85
86
|
"vue": "^3.4.29",
|
86
87
|
"@prosekit/dev": "0.0.0"
|
87
88
|
},
|