@prosekit/vue 0.0.0-next-20240715062625 → 0.0.0-next-20240724155246

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.
@@ -35,8 +35,8 @@ function createComponent(tagName, displayName, defaultProps) {
35
35
  };
36
36
  },
37
37
  {
38
- props: propertyNames,
39
- name: displayName
38
+ name: displayName,
39
+ props: propertyNames
40
40
  }
41
41
  );
42
42
  return Component;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createComponent
3
- } from "./chunk-7DYF3H5Q.js";
3
+ } from "./chunk-Z6VOMUSC.js";
4
4
  import "./chunk-KCTUNTM2.js";
5
5
 
6
6
  // src/components/autocomplete/autocomplete-empty.gen.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createComponent
3
- } from "./chunk-7DYF3H5Q.js";
3
+ } from "./chunk-Z6VOMUSC.js";
4
4
  import "./chunk-KCTUNTM2.js";
5
5
 
6
6
  // src/components/block-handle/block-drag-handle.gen.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createComponent
3
- } from "./chunk-7DYF3H5Q.js";
3
+ } from "./chunk-Z6VOMUSC.js";
4
4
  import "./chunk-KCTUNTM2.js";
5
5
 
6
6
  // src/components/inline-popover/inline-popover.gen.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createComponent
3
- } from "./chunk-7DYF3H5Q.js";
3
+ } from "./chunk-Z6VOMUSC.js";
4
4
  import "./chunk-KCTUNTM2.js";
5
5
 
6
6
  // src/components/popover/popover-content.gen.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createComponent
3
- } from "./chunk-7DYF3H5Q.js";
3
+ } from "./chunk-Z6VOMUSC.js";
4
4
  import "./chunk-KCTUNTM2.js";
5
5
 
6
6
  // src/components/resizable/resizable-handle.gen.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createComponent
3
- } from "./chunk-7DYF3H5Q.js";
3
+ } from "./chunk-Z6VOMUSC.js";
4
4
  import "./chunk-KCTUNTM2.js";
5
5
 
6
6
  // src/components/tooltip/tooltip-content.gen.ts
@@ -25,7 +25,6 @@ import {
25
25
 
26
26
  // src/hooks/use-extension.ts
27
27
  import "@prosekit/core";
28
- import "vue";
29
28
 
30
29
  // src/hooks/use-editor-extension.ts
31
30
  import { EditorNotFoundError } from "@prosekit/core";
@@ -116,7 +115,7 @@ var ProseKit = defineComponent2(
116
115
  });
117
116
  };
118
117
  },
119
- { props: ["editor"] }
118
+ { props: { editor: { type: Object, required: true } } }
120
119
  );
121
120
 
122
121
  // src/hooks/use-doc-change.ts
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-20240715062625",
4
+ "version": "0.0.0-next-20240724155246",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -66,9 +66,9 @@
66
66
  ],
67
67
  "dependencies": {
68
68
  "@prosemirror-adapter/vue": "^0.2.6",
69
- "@prosekit/core": "^0.0.0-next-20240715062625",
70
- "@prosekit/pm": "^0.0.0-next-20240715062625",
71
- "@prosekit/web": "^0.0.0-next-20240715062625"
69
+ "@prosekit/pm": "^0.0.0-next-20240724155246",
70
+ "@prosekit/core": "^0.0.0-next-20240724155246",
71
+ "@prosekit/web": "^0.0.0-next-20240724155246"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "vue": ">= 3.0.0"
@@ -80,10 +80,10 @@
80
80
  },
81
81
  "devDependencies": {
82
82
  "@vue/test-utils": "^2.4.6",
83
- "tsup": "^8.1.0",
83
+ "tsup": "^8.2.2",
84
84
  "typescript": "^5.5.3",
85
- "vitest": "^2.0.2",
86
- "vue": "^3.4.31",
85
+ "vitest": "^2.0.4",
86
+ "vue": "^3.4.33",
87
87
  "@prosekit/dev": "0.0.0"
88
88
  },
89
89
  "scripts": {