@prosekit/svelte 0.0.8 → 0.0.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.
@@ -1,3 +1,7 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import type { Editor } from '@prosekit/core';
|
2
|
+
import type { SvelteComponent } from 'svelte';
|
3
|
+
export type ProseKitProps = {
|
4
|
+
editor: Editor;
|
5
|
+
};
|
6
|
+
export declare const ProseKit: typeof SvelteComponent<ProseKitProps>;
|
3
7
|
//# sourceMappingURL=prosekit.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prosekit.d.ts","sourceRoot":"","sources":["../../../../src/components/prosekit.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"prosekit.d.ts","sourceRoot":"","sources":["../../../../src/components/prosekit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAI7C,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,QAAQ,EACiC,uBAAuB,aAAa,CAAC,CAAA"}
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export { ProseKit };
|
1
|
+
import ProseKitComponent from './prosekit.svelte';
|
2
|
+
export const ProseKit = ProseKitComponent;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/svelte",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.9",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -95,8 +95,8 @@
|
|
95
95
|
"dist"
|
96
96
|
],
|
97
97
|
"dependencies": {
|
98
|
-
"@prosekit/core": "^0.0.
|
99
|
-
"@prosekit/lit": "^0.0.
|
98
|
+
"@prosekit/core": "^0.0.8",
|
99
|
+
"@prosekit/lit": "^0.0.11"
|
100
100
|
},
|
101
101
|
"peerDependencies": {
|
102
102
|
"svelte": ">= 3.0.0"
|
@@ -109,11 +109,11 @@
|
|
109
109
|
"devDependencies": {
|
110
110
|
"@prosekit/dev": "*",
|
111
111
|
"@sveltejs/package": "^2.2.2",
|
112
|
-
"@types/node": "^18.17.
|
112
|
+
"@types/node": "^18.17.14",
|
113
113
|
"read-pkg": "^8.1.0",
|
114
114
|
"svelte": "^4.2.0",
|
115
|
-
"svelte-check": "^3.5.
|
116
|
-
"tsx": "^3.12.
|
115
|
+
"svelte-check": "^3.5.1",
|
116
|
+
"tsx": "^3.12.8",
|
117
117
|
"typescript": "^5.2.2",
|
118
118
|
"vitest": "^0.34.3"
|
119
119
|
},
|