@prosekit/vue 0.3.8 → 0.3.9

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.
@@ -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';
@@ -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 declare const default_alias_1: {
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,7 +105,7 @@ 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
111
  class?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/vue",
3
3
  "type": "module",
4
- "version": "0.3.8",
4
+ "version": "0.3.9",
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/core": "^0.6.1",
69
+ "@prosekit/core": "^0.7.0",
70
70
  "@prosekit/pm": "^0.1.5",
71
- "@prosekit/web": "^0.2.1"
71
+ "@prosekit/web": "^0.2.2"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "vue": ">= 3.0.0"
@@ -81,9 +81,9 @@
81
81
  "devDependencies": {
82
82
  "@vue/test-utils": "^2.4.6",
83
83
  "tsup": "^8.1.0",
84
- "typescript": "^5.5.2",
85
- "vitest": "^1.6.0",
86
- "vue": "^3.4.29",
84
+ "typescript": "^5.5.3",
85
+ "vitest": "^2.0.0-beta.13",
86
+ "vue": "^3.4.31",
87
87
  "@prosekit/dev": "0.0.0"
88
88
  },
89
89
  "scripts": {