prosekit 0.7.3 → 0.7.5
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.
|
@@ -71,7 +71,7 @@ import { closeSingleQuote } from '@prosekit/pm/inputrules';
|
|
|
71
71
|
import { clsx } from '@prosekit/core';
|
|
72
72
|
import { CodeBlockAttrs } from '@prosekit/extensions/code-block';
|
|
73
73
|
import { Command } from '@prosekit/pm/state';
|
|
74
|
-
import {
|
|
74
|
+
import { CommandTyping } from '@prosekit/core';
|
|
75
75
|
import { ContentMatch } from '@prosekit/pm/model';
|
|
76
76
|
import { createEditor } from '@prosekit/core';
|
|
77
77
|
import { createMarkInputRule } from '@prosekit/extensions/input-rule';
|
|
@@ -457,7 +457,6 @@ import { shikiBundledLanguagesInfo } from '@prosekit/extensions/code-block';
|
|
|
457
457
|
import { ShikiBundledTheme } from '@prosekit/extensions/code-block';
|
|
458
458
|
import { ShikiBundledThemeInfo } from '@prosekit/extensions/code-block';
|
|
459
459
|
import { shikiBundledThemesInfo } from '@prosekit/extensions/code-block';
|
|
460
|
-
import { SimplifyExtension } from '@prosekit/core';
|
|
461
460
|
import { SimplifyUnion } from '@prosekit/core';
|
|
462
461
|
import { Slice } from '@prosekit/pm/model';
|
|
463
462
|
import { smartQuotes } from '@prosekit/pm/inputrules';
|
|
@@ -513,6 +512,7 @@ import { undoDepth } from '@prosekit/pm/history';
|
|
|
513
512
|
import { undoInputRule } from '@prosekit/pm/inputrules';
|
|
514
513
|
import { undoNoScroll } from '@prosekit/pm/history';
|
|
515
514
|
import { union } from '@prosekit/core';
|
|
515
|
+
import { UnionExtension } from '@prosekit/core';
|
|
516
516
|
import { UnmountHandler } from '@prosekit/core';
|
|
517
517
|
import { UpdateHandler } from '@prosekit/core';
|
|
518
518
|
import { useDocChange } from '@prosekit/preact';
|
|
@@ -699,7 +699,7 @@ export { CodeBlockAttrs }
|
|
|
699
699
|
|
|
700
700
|
export { Command }
|
|
701
701
|
|
|
702
|
-
export {
|
|
702
|
+
export { CommandTyping }
|
|
703
703
|
|
|
704
704
|
export { ContentMatch }
|
|
705
705
|
|
|
@@ -1477,8 +1477,6 @@ export { ShikiBundledThemeInfo }
|
|
|
1477
1477
|
|
|
1478
1478
|
export { shikiBundledThemesInfo }
|
|
1479
1479
|
|
|
1480
|
-
export { SimplifyExtension }
|
|
1481
|
-
|
|
1482
1480
|
export { SimplifyUnion }
|
|
1483
1481
|
|
|
1484
1482
|
export { Slice }
|
|
@@ -1589,6 +1587,8 @@ export { undoNoScroll }
|
|
|
1589
1587
|
|
|
1590
1588
|
export { union }
|
|
1591
1589
|
|
|
1590
|
+
export { UnionExtension }
|
|
1591
|
+
|
|
1592
1592
|
export { UnmountHandler }
|
|
1593
1593
|
|
|
1594
1594
|
export { UpdateHandler }
|
package/dist/basic/style.css
CHANGED
|
@@ -188,8 +188,8 @@ img.ProseMirror-separator {
|
|
|
188
188
|
|
|
189
189
|
/* ../extensions/src/virtual-selection/style.css */
|
|
190
190
|
.prosekit-virtual-selection {
|
|
191
|
-
background-color:
|
|
192
|
-
box-shadow: 0 0 0
|
|
191
|
+
background-color: #8888884d;
|
|
192
|
+
box-shadow: 0 0 0 2px #8888884d;
|
|
193
193
|
border-radius: 2px;
|
|
194
194
|
}
|
|
195
195
|
|
package/dist/prosekit-core.d.ts
CHANGED
|
@@ -81,14 +81,14 @@ export { defineFacet } from './_tsup-dts-rollup';
|
|
|
81
81
|
export { Facet } from './_tsup-dts-rollup';
|
|
82
82
|
export { defineFacetPayload } from './_tsup-dts-rollup';
|
|
83
83
|
export { BaseNodeViewOptions } from './_tsup-dts-rollup';
|
|
84
|
-
export {
|
|
84
|
+
export { CommandTyping } from './_tsup-dts-rollup';
|
|
85
85
|
export { Extension } from './_tsup-dts-rollup';
|
|
86
|
+
export { ExtensionTyping } from './_tsup-dts-rollup';
|
|
86
87
|
export { ExtractCommandAppliers } from './_tsup-dts-rollup';
|
|
87
88
|
export { ExtractCommandCreators } from './_tsup-dts-rollup';
|
|
88
89
|
export { ExtractMarks } from './_tsup-dts-rollup';
|
|
89
90
|
export { ExtractNodes } from './_tsup-dts-rollup';
|
|
90
|
-
export {
|
|
91
|
-
export { ExtensionTyping } from './_tsup-dts-rollup';
|
|
91
|
+
export { UnionExtension } from './_tsup-dts-rollup';
|
|
92
92
|
export { NodeJSON } from './_tsup-dts-rollup';
|
|
93
93
|
export { SelectionJSON } from './_tsup-dts-rollup';
|
|
94
94
|
export { StateJSON } 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.7.
|
|
4
|
+
"version": "0.7.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -477,8 +477,8 @@
|
|
|
477
477
|
],
|
|
478
478
|
"dependencies": {
|
|
479
479
|
"@prosekit/basic": "0.3.6",
|
|
480
|
-
"@prosekit/core": "0.5.
|
|
481
|
-
"@prosekit/extensions": "0.5.
|
|
480
|
+
"@prosekit/core": "0.5.3",
|
|
481
|
+
"@prosekit/extensions": "0.5.1",
|
|
482
482
|
"@prosekit/lit": "0.3.1",
|
|
483
483
|
"@prosekit/pm": "0.1.4",
|
|
484
484
|
"@prosekit/preact": "0.3.4",
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
"@prosekit/solid": "0.3.3",
|
|
487
487
|
"@prosekit/svelte": "0.3.3",
|
|
488
488
|
"@prosekit/vue": "0.3.3",
|
|
489
|
-
"@prosekit/web": "0.1.
|
|
489
|
+
"@prosekit/web": "0.1.8"
|
|
490
490
|
},
|
|
491
491
|
"peerDependencies": {
|
|
492
492
|
"preact": ">= 10.11.0",
|
|
@@ -517,10 +517,10 @@
|
|
|
517
517
|
}
|
|
518
518
|
},
|
|
519
519
|
"devDependencies": {
|
|
520
|
-
"@types/react": "^18.3.
|
|
520
|
+
"@types/react": "^18.3.3",
|
|
521
521
|
"@types/react-dom": "^18.3.0",
|
|
522
522
|
"postcss": "^8.4.38",
|
|
523
|
-
"postcss-nesting": "^12.1.
|
|
523
|
+
"postcss-nesting": "^12.1.5",
|
|
524
524
|
"preact": "^10.22.0",
|
|
525
525
|
"react": "^18.3.1",
|
|
526
526
|
"react-dom": "^18.3.1",
|