prosekit 0.9.2 → 0.9.3
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.
|
@@ -200,6 +200,7 @@ import { defineStrikeCommands } from '@prosekit/extensions/strike';
|
|
|
200
200
|
import { defineStrikeInputRule } from '@prosekit/extensions/strike';
|
|
201
201
|
import { defineStrikeKeymap } from '@prosekit/extensions/strike';
|
|
202
202
|
import { defineStrikeSpec } from '@prosekit/extensions/strike';
|
|
203
|
+
import { defineSvelteNodeView } from '@prosekit/svelte';
|
|
203
204
|
import { defineTable } from '@prosekit/extensions/table';
|
|
204
205
|
import { defineTableCellSpec } from '@prosekit/extensions/table';
|
|
205
206
|
import { defineTableCommands } from '@prosekit/extensions/table';
|
|
@@ -413,7 +414,8 @@ import { ProseKitError } from '@prosekit/core';
|
|
|
413
414
|
import { ProseKitProps } from '@prosekit/preact';
|
|
414
415
|
import { ProseKitProps as ProseKitProps_alias_1 } from '@prosekit/react';
|
|
415
416
|
import { ProseKitProps as ProseKitProps_alias_2 } from '@prosekit/solid';
|
|
416
|
-
import { ProseKitProps as ProseKitProps_alias_3 } from '@prosekit/
|
|
417
|
+
import { ProseKitProps as ProseKitProps_alias_3 } from '@prosekit/svelte';
|
|
418
|
+
import { ProseKitProps as ProseKitProps_alias_4 } from '@prosekit/vue';
|
|
417
419
|
import { ProseMirrorFragment } from '@prosekit/pm/model';
|
|
418
420
|
import { ProseMirrorNode } from '@prosekit/pm/model';
|
|
419
421
|
import { ProseMirrorPlugin } from '@prosekit/pm/state';
|
|
@@ -486,6 +488,9 @@ import { StepJSON } from '@prosekit/core';
|
|
|
486
488
|
import { StepMap } from '@prosekit/pm/transform';
|
|
487
489
|
import { StepResult } from '@prosekit/pm/transform';
|
|
488
490
|
import { StyleParseRule } from '@prosekit/pm/model';
|
|
491
|
+
import { SvelteNodeViewComponent } from '@prosekit/svelte';
|
|
492
|
+
import { SvelteNodeViewOptions } from '@prosekit/svelte';
|
|
493
|
+
import { SvelteNodeViewProps } from '@prosekit/svelte';
|
|
489
494
|
import { TagParseRule } from '@prosekit/pm/model';
|
|
490
495
|
import { TestEditor } from '@prosekit/core/test';
|
|
491
496
|
import { TextAlignOptions } from '@prosekit/extensions/text-align';
|
|
@@ -982,6 +987,8 @@ export { defineStrikeKeymap }
|
|
|
982
987
|
|
|
983
988
|
export { defineStrikeSpec }
|
|
984
989
|
|
|
990
|
+
export { defineSvelteNodeView }
|
|
991
|
+
|
|
985
992
|
export { defineTable }
|
|
986
993
|
|
|
987
994
|
export { defineTableCellSpec }
|
|
@@ -1408,6 +1415,8 @@ export { ProseKitProps_alias_2 }
|
|
|
1408
1415
|
|
|
1409
1416
|
export { ProseKitProps_alias_3 }
|
|
1410
1417
|
|
|
1418
|
+
export { ProseKitProps_alias_4 }
|
|
1419
|
+
|
|
1411
1420
|
export { ProseMirrorFragment }
|
|
1412
1421
|
|
|
1413
1422
|
export { ProseMirrorNode }
|
|
@@ -1552,6 +1561,12 @@ export { StepResult }
|
|
|
1552
1561
|
|
|
1553
1562
|
export { StyleParseRule }
|
|
1554
1563
|
|
|
1564
|
+
export { SvelteNodeViewComponent }
|
|
1565
|
+
|
|
1566
|
+
export { SvelteNodeViewOptions }
|
|
1567
|
+
|
|
1568
|
+
export { SvelteNodeViewProps }
|
|
1569
|
+
|
|
1555
1570
|
export { TagParseRule }
|
|
1556
1571
|
|
|
1557
1572
|
export { TestEditor }
|
|
@@ -136,5 +136,8 @@ div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h6) > .list-mark
|
|
|
136
136
|
div.ProseMirror .ProseMirror-selectednode {
|
|
137
137
|
z-index: calc(infinity);
|
|
138
138
|
}
|
|
139
|
+
div.ProseMirror div[data-node-view-root=true] {
|
|
140
|
+
display: contents;
|
|
141
|
+
}
|
|
139
142
|
|
|
140
143
|
/* src/basic/typography.css */
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
export { ProseKit_alias_3 as ProseKit } from './_tsup-dts-rollup';
|
|
2
|
+
export { ProseKitProps_alias_3 as ProseKitProps } from './_tsup-dts-rollup';
|
|
3
|
+
export { useDocChange_alias_3 as useDocChange } from './_tsup-dts-rollup';
|
|
2
4
|
export { useEditor_alias_3 as useEditor } from './_tsup-dts-rollup';
|
|
3
5
|
export { useExtension_alias_3 as useExtension } from './_tsup-dts-rollup';
|
|
4
6
|
export { UseExtensionOptions_alias_3 as UseExtensionOptions } from './_tsup-dts-rollup';
|
|
5
7
|
export { useKeymap_alias_3 as useKeymap } from './_tsup-dts-rollup';
|
|
6
8
|
export { useStateUpdate_alias_3 as useStateUpdate } from './_tsup-dts-rollup';
|
|
7
|
-
export {
|
|
9
|
+
export { defineSvelteNodeView } from './_tsup-dts-rollup';
|
|
10
|
+
export { SvelteNodeViewComponent } from './_tsup-dts-rollup';
|
|
11
|
+
export { SvelteNodeViewOptions } from './_tsup-dts-rollup';
|
|
12
|
+
export { SvelteNodeViewProps } from './_tsup-dts-rollup';
|
|
8
13
|
export { PropsWithClass_alias_2 as PropsWithClass } from './_tsup-dts-rollup';
|
package/dist/prosekit-vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ProseKit_alias_4 as ProseKit } from './_tsup-dts-rollup';
|
|
2
|
-
export {
|
|
2
|
+
export { ProseKitProps_alias_4 as ProseKitProps } from './_tsup-dts-rollup';
|
|
3
3
|
export { defineVueNodeView } from './_tsup-dts-rollup';
|
|
4
4
|
export { VueNodeViewComponent } from './_tsup-dts-rollup';
|
|
5
5
|
export { VueNodeViewOptions } from './_tsup-dts-rollup';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prosekit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.3",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -497,17 +497,17 @@
|
|
|
497
497
|
"dist"
|
|
498
498
|
],
|
|
499
499
|
"dependencies": {
|
|
500
|
-
"@prosekit/basic": "0.3.
|
|
501
|
-
"@prosekit/core": "0.7.1",
|
|
500
|
+
"@prosekit/basic": "0.3.13",
|
|
502
501
|
"@prosekit/extensions": "0.7.1",
|
|
503
|
-
"@prosekit/pm": "0.1.5",
|
|
504
502
|
"@prosekit/lit": "0.3.7",
|
|
505
|
-
"@prosekit/
|
|
503
|
+
"@prosekit/core": "0.7.1",
|
|
504
|
+
"@prosekit/pm": "0.1.5",
|
|
506
505
|
"@prosekit/preact": "0.3.10",
|
|
507
506
|
"@prosekit/solid": "0.3.9",
|
|
508
|
-
"@prosekit/
|
|
509
|
-
"@prosekit/
|
|
510
|
-
"@prosekit/
|
|
507
|
+
"@prosekit/react": "0.3.11",
|
|
508
|
+
"@prosekit/web": "0.2.3",
|
|
509
|
+
"@prosekit/svelte": "0.4.0",
|
|
510
|
+
"@prosekit/vue": "0.3.10"
|
|
511
511
|
},
|
|
512
512
|
"peerDependencies": {
|
|
513
513
|
"preact": ">= 10.11.0",
|