prosekit 0.9.11 → 0.9.13
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.
- package/dist/_tsup-dts-rollup.d.ts +161 -2
- package/dist/prosekit-core.d.ts +9 -0
- package/dist/prosekit-extensions-blockquote.d.ts +2 -0
- package/dist/prosekit-extensions-bold.d.ts +3 -0
- package/dist/prosekit-extensions-code-block.d.ts +3 -0
- package/dist/prosekit-extensions-code.d.ts +3 -0
- package/dist/prosekit-extensions-drop-cursor.d.ts +1 -0
- package/dist/prosekit-extensions-gap-cursor.d.ts +1 -0
- package/dist/prosekit-extensions-heading.d.ts +3 -0
- package/dist/prosekit-extensions-image.d.ts +3 -0
- package/dist/prosekit-extensions-italic.d.ts +3 -0
- package/dist/prosekit-extensions-link.d.ts +3 -0
- package/dist/prosekit-extensions-list.d.ts +3 -0
- package/dist/prosekit-extensions-mod-click-prevention.d.ts +1 -0
- package/dist/prosekit-extensions-strike.d.ts +3 -0
- package/dist/prosekit-extensions-table.d.ts +6 -0
- package/dist/prosekit-extensions-text-align.d.ts +3 -1
- package/dist/prosekit-extensions-underline.d.ts +3 -0
- package/dist/prosekit-extensions-virtual-selection.d.ts +1 -0
- package/package.json +11 -11
|
@@ -43,7 +43,9 @@ import { AutocompletePopoverElement } from '@prosekit/web/autocomplete';
|
|
|
43
43
|
import { AutocompletePopoverProps } from '@prosekit/web/autocomplete';
|
|
44
44
|
import { AutocompleteRule } from '@prosekit/extensions/autocomplete';
|
|
45
45
|
import { autoJoin } from '@prosekit/pm/commands';
|
|
46
|
+
import { BaseCommandsExtension } from '@prosekit/core';
|
|
46
47
|
import { baseKeymap } from '@prosekit/pm/commands';
|
|
48
|
+
import { BaseKeymapExtension } from '@prosekit/core';
|
|
47
49
|
import { BaseNodeViewOptions } from '@prosekit/core';
|
|
48
50
|
import { BasicExtension } from '@prosekit/basic';
|
|
49
51
|
import { BlockDragHandle } from '@prosekit/lit/block-handle';
|
|
@@ -62,6 +64,11 @@ import { BlockPopover as BlockPopover_alias_4 } from '@prosekit/svelte/block-han
|
|
|
62
64
|
import { BlockPopover as BlockPopover_alias_5 } from '@prosekit/vue/block-handle';
|
|
63
65
|
import { BlockPopoverElement } from '@prosekit/web/block-handle';
|
|
64
66
|
import { BlockPopoverProps } from '@prosekit/web/block-handle';
|
|
67
|
+
import { BlockquoteExtension } from '@prosekit/extensions/blockquote';
|
|
68
|
+
import { BlockquoteSpecExtension } from '@prosekit/extensions/blockquote';
|
|
69
|
+
import { BoldCommandsExtension } from '@prosekit/extensions/bold';
|
|
70
|
+
import { BoldExtension } from '@prosekit/extensions/bold';
|
|
71
|
+
import { BoldSpecExtension } from '@prosekit/extensions/bold';
|
|
65
72
|
import { canJoin } from '@prosekit/pm/transform';
|
|
66
73
|
import { canSplit } from '@prosekit/pm/transform';
|
|
67
74
|
import { canUseRegexLookbehind } from '@prosekit/core';
|
|
@@ -73,6 +80,12 @@ import { closeHistory } from '@prosekit/pm/history';
|
|
|
73
80
|
import { closeSingleQuote } from '@prosekit/pm/inputrules';
|
|
74
81
|
import { clsx } from '@prosekit/core';
|
|
75
82
|
import { CodeBlockAttrs } from '@prosekit/extensions/code-block';
|
|
83
|
+
import { CodeBlockCommandsExtension } from '@prosekit/extensions/code-block';
|
|
84
|
+
import { CodeBlockExtension } from '@prosekit/extensions/code-block';
|
|
85
|
+
import { CodeBlockSpecExtension } from '@prosekit/extensions/code-block';
|
|
86
|
+
import { CodeCommandsExtension } from '@prosekit/extensions/code';
|
|
87
|
+
import { CodeExtension } from '@prosekit/extensions/code';
|
|
88
|
+
import { CodeSpecExtension } from '@prosekit/extensions/code';
|
|
76
89
|
import { collectNodes } from '@prosekit/core';
|
|
77
90
|
import { Command } from '@prosekit/pm/state';
|
|
78
91
|
import { CommandAction } from '@prosekit/core';
|
|
@@ -237,6 +250,7 @@ import { deleteSelection } from '@prosekit/pm/commands';
|
|
|
237
250
|
import { DirectEditorProps } from '@prosekit/pm/view';
|
|
238
251
|
import { DocAttrStep } from '@prosekit/pm/transform';
|
|
239
252
|
import { DocChangeHandler } from '@prosekit/core';
|
|
253
|
+
import { DocExtension } from '@prosekit/core';
|
|
240
254
|
import { DOMDocumentOptions } from '@prosekit/core';
|
|
241
255
|
import { DOMEventHandler } from '@prosekit/core';
|
|
242
256
|
import { DOMEventMap } from '@prosekit/pm/view';
|
|
@@ -247,6 +261,7 @@ import { DOMSerializer } from '@prosekit/pm/model';
|
|
|
247
261
|
import { DOMSerializerOptions } from '@prosekit/core';
|
|
248
262
|
import { DoubleClickHandler } from '@prosekit/core';
|
|
249
263
|
import { DoubleClickOnHandler } from '@prosekit/core';
|
|
264
|
+
import { DropCursorExtension } from '@prosekit/extensions/drop-cursor';
|
|
250
265
|
import { DropCursorOptions } from '@prosekit/extensions/drop-cursor';
|
|
251
266
|
import { DropHandler } from '@prosekit/core';
|
|
252
267
|
import { dropPoint } from '@prosekit/pm/transform';
|
|
@@ -280,17 +295,25 @@ import { findWrapping } from '@prosekit/pm/transform';
|
|
|
280
295
|
import { FocusChangeHandler } from '@prosekit/core';
|
|
281
296
|
import { Fragment } from '@prosekit/pm/model';
|
|
282
297
|
import { GapCursor } from '@prosekit/extensions/gap-cursor';
|
|
298
|
+
import { GapCursorExtension } from '@prosekit/extensions/gap-cursor';
|
|
283
299
|
import { GenericParseRule } from '@prosekit/pm/model';
|
|
284
300
|
import { _getId } from '@prosekit/core';
|
|
285
301
|
import { getMarkType } from '@prosekit/core';
|
|
286
302
|
import { getNodeType } from '@prosekit/core';
|
|
287
303
|
import { HeadingAttrs } from '@prosekit/extensions/heading';
|
|
304
|
+
import { HeadingCommandsExtension } from '@prosekit/extensions/heading';
|
|
305
|
+
import { HeadingExtension } from '@prosekit/extensions/heading';
|
|
306
|
+
import { HeadingSpecExtension } from '@prosekit/extensions/heading';
|
|
288
307
|
import { HighlightParser } from '@prosekit/extensions/code-block';
|
|
289
308
|
import { history as history_2 } from '@prosekit/pm/history';
|
|
309
|
+
import { HistoryExtension } from '@prosekit/core';
|
|
290
310
|
import { HistoryOptions } from '@prosekit/core';
|
|
291
311
|
import { htmlFromJSON } from '@prosekit/core';
|
|
292
312
|
import { htmlFromNode } from '@prosekit/core';
|
|
293
313
|
import { ImageAttrs } from '@prosekit/extensions/image';
|
|
314
|
+
import { ImageCommandsExtension } from '@prosekit/extensions/image';
|
|
315
|
+
import { ImageExtension } from '@prosekit/extensions/image';
|
|
316
|
+
import { ImageSpecExtension } from '@prosekit/extensions/image';
|
|
294
317
|
import { IndentListOptions } from '@prosekit/extensions/list';
|
|
295
318
|
import { InlinePopover } from '@prosekit/lit/inline-popover';
|
|
296
319
|
import { InlinePopover as InlinePopover_alias_1 } from '@prosekit/preact/inline-popover';
|
|
@@ -314,7 +337,11 @@ import { isMarkAbsent } from '@prosekit/core';
|
|
|
314
337
|
import { isMarkActive } from '@prosekit/core';
|
|
315
338
|
import { isNodeSelection } from '@prosekit/core';
|
|
316
339
|
import { isProseMirrorNode } from '@prosekit/core';
|
|
340
|
+
import { isSelection } from '@prosekit/core';
|
|
317
341
|
import { isTextSelection } from '@prosekit/core';
|
|
342
|
+
import { ItalicCommandsExtension } from '@prosekit/extensions/italic';
|
|
343
|
+
import { ItalicExtension } from '@prosekit/extensions/italic';
|
|
344
|
+
import { ItalicSpecExtension } from '@prosekit/extensions/italic';
|
|
318
345
|
import { joinBackward } from '@prosekit/pm/commands';
|
|
319
346
|
import { joinDown } from '@prosekit/pm/commands';
|
|
320
347
|
import { joinForward } from '@prosekit/pm/commands';
|
|
@@ -337,8 +364,14 @@ import { lift } from '@prosekit/pm/commands';
|
|
|
337
364
|
import { liftEmptyBlock } from '@prosekit/pm/commands';
|
|
338
365
|
import { liftTarget } from '@prosekit/pm/transform';
|
|
339
366
|
import { LinkAttrs } from '@prosekit/extensions/link';
|
|
367
|
+
import { LinkCommandsExtension } from '@prosekit/extensions/link';
|
|
368
|
+
import { LinkExtension } from '@prosekit/extensions/link';
|
|
369
|
+
import { LinkSpecExtension } from '@prosekit/extensions/link';
|
|
340
370
|
import { ListAttrs } from '@prosekit/extensions/list';
|
|
371
|
+
import { ListCommandsExtension } from '@prosekit/extensions/list';
|
|
341
372
|
import { ListDOMSerializer } from '@prosekit/extensions/list';
|
|
373
|
+
import { ListExtension } from '@prosekit/extensions/list';
|
|
374
|
+
import { ListSpecExtension } from '@prosekit/extensions/list';
|
|
342
375
|
import { macBaseKeymap } from '@prosekit/pm/commands';
|
|
343
376
|
import { Mappable } from '@prosekit/pm/transform';
|
|
344
377
|
import { Mapping } from '@prosekit/pm/transform';
|
|
@@ -358,6 +391,7 @@ import { MatchHandler } from '@prosekit/extensions/autocomplete';
|
|
|
358
391
|
import { MaybeAccessor } from '@prosekit/solid';
|
|
359
392
|
import { maybeRun } from '@prosekit/core';
|
|
360
393
|
import { MentionAttrs } from '@prosekit/extensions/mention';
|
|
394
|
+
import { ModClickPreventionExtension } from '@prosekit/extensions/mod-click-prevention';
|
|
361
395
|
import { MountHandler } from '@prosekit/core';
|
|
362
396
|
import { newlineInCode } from '@prosekit/pm/commands';
|
|
363
397
|
import { Node as Node_2 } from '@prosekit/pm/model';
|
|
@@ -385,12 +419,14 @@ import { OBJECT_REPLACEMENT_CHARACTER } from '@prosekit/core';
|
|
|
385
419
|
import { openDoubleQuote } from '@prosekit/pm/inputrules';
|
|
386
420
|
import { openSingleQuote } from '@prosekit/pm/inputrules';
|
|
387
421
|
import { Options } from 'tsup';
|
|
422
|
+
import { ParagraphExtension } from '@prosekit/core';
|
|
388
423
|
import { ParseOptions } from '@prosekit/pm/model';
|
|
389
424
|
import { ParseRule } from '@prosekit/pm/model';
|
|
390
425
|
import { PasteHandler } from '@prosekit/core';
|
|
391
426
|
import { pcBaseKeymap } from '@prosekit/pm/commands';
|
|
392
427
|
import { PickSubType } from '@prosekit/core';
|
|
393
428
|
import { PlaceholderOptions } from '@prosekit/extensions/placeholder';
|
|
429
|
+
import { PlainExtension } from '@prosekit/core';
|
|
394
430
|
import { Plugin as Plugin_2 } from '@prosekit/pm/state';
|
|
395
431
|
import { pluginFacet } from '@prosekit/core';
|
|
396
432
|
import { PluginKey } from '@prosekit/pm/state';
|
|
@@ -515,16 +551,28 @@ import { Step } from '@prosekit/pm/transform';
|
|
|
515
551
|
import { StepJSON } from '@prosekit/core';
|
|
516
552
|
import { StepMap } from '@prosekit/pm/transform';
|
|
517
553
|
import { StepResult } from '@prosekit/pm/transform';
|
|
554
|
+
import { StrikeCommandsExtension } from '@prosekit/extensions/strike';
|
|
555
|
+
import { StrikeExtension } from '@prosekit/extensions/strike';
|
|
556
|
+
import { StrikeSpecExtension } from '@prosekit/extensions/strike';
|
|
518
557
|
import { StyleParseRule } from '@prosekit/pm/model';
|
|
519
558
|
import { SvelteNodeViewComponent } from '@prosekit/svelte';
|
|
520
559
|
import { SvelteNodeViewOptions } from '@prosekit/svelte';
|
|
521
560
|
import { SvelteNodeViewProps } from '@prosekit/svelte';
|
|
561
|
+
import { TableCellSpecExtension } from '@prosekit/extensions/table';
|
|
562
|
+
import { TableCommandsExtension } from '@prosekit/extensions/table';
|
|
563
|
+
import { TableExtension } from '@prosekit/extensions/table';
|
|
564
|
+
import { TableHeaderCellSpecExtension } from '@prosekit/extensions/table';
|
|
565
|
+
import { TableRowSpecExtension } from '@prosekit/extensions/table';
|
|
566
|
+
import { TableSpecExtension } from '@prosekit/extensions/table';
|
|
522
567
|
import { TagParseRule } from '@prosekit/pm/model';
|
|
523
568
|
import { TestEditor } from '@prosekit/core/test';
|
|
524
|
-
import {
|
|
569
|
+
import { TextAlignAttrsExtension } from '@prosekit/extensions/text-align';
|
|
570
|
+
import { TextAlignCommandsExtension } from '@prosekit/extensions/text-align';
|
|
571
|
+
import { TextAlignExtension } from '@prosekit/extensions/text-align';
|
|
525
572
|
import { TextAlignOptions } from '@prosekit/extensions/text-align';
|
|
526
573
|
import { TextBlockEnterRuleOptions } from '@prosekit/extensions/enter-rule';
|
|
527
574
|
import { textblockTypeInputRule } from '@prosekit/pm/inputrules';
|
|
575
|
+
import { TextExtension } from '@prosekit/core';
|
|
528
576
|
import { TextInputHandler } from '@prosekit/core';
|
|
529
577
|
import { TextSelection } from '@prosekit/pm/state';
|
|
530
578
|
import { ToggleCollapsedOptions } from '@prosekit/extensions/list';
|
|
@@ -563,10 +611,14 @@ import { Transaction } from '@prosekit/pm/state';
|
|
|
563
611
|
import { Transform } from '@prosekit/pm/transform';
|
|
564
612
|
import { TripleClickHandler } from '@prosekit/core';
|
|
565
613
|
import { TripleClickOnHandler } from '@prosekit/core';
|
|
614
|
+
import { UnderlineCommandsExtension } from '@prosekit/extensions/underline';
|
|
615
|
+
import { UnderlineExtension } from '@prosekit/extensions/underline';
|
|
616
|
+
import { UnderlineSpecExtension } from '@prosekit/extensions/underline';
|
|
566
617
|
import { undo } from '@prosekit/pm/history';
|
|
567
618
|
import { undoDepth } from '@prosekit/pm/history';
|
|
568
619
|
import { undoInputRule } from '@prosekit/pm/inputrules';
|
|
569
620
|
import { undoNoScroll } from '@prosekit/pm/history';
|
|
621
|
+
import { Union } from '@prosekit/core';
|
|
570
622
|
import { union } from '@prosekit/core';
|
|
571
623
|
import { UnionExtension } from '@prosekit/core';
|
|
572
624
|
import { UnmountHandler } from '@prosekit/core';
|
|
@@ -606,6 +658,7 @@ import { useStateUpdate as useStateUpdate_alias_1 } from '@prosekit/react';
|
|
|
606
658
|
import { useStateUpdate as useStateUpdate_alias_2 } from '@prosekit/solid';
|
|
607
659
|
import { useStateUpdate as useStateUpdate_alias_3 } from '@prosekit/svelte';
|
|
608
660
|
import { useStateUpdate as useStateUpdate_alias_4 } from '@prosekit/vue';
|
|
661
|
+
import { VirtualSelectionExtension } from '@prosekit/extensions/virtual-selection';
|
|
609
662
|
import { VueNodeViewComponent } from '@prosekit/vue';
|
|
610
663
|
import { VueNodeViewOptions } from '@prosekit/vue';
|
|
611
664
|
import { VueNodeViewProps } from '@prosekit/vue';
|
|
@@ -707,8 +760,12 @@ export { AutocompleteRule }
|
|
|
707
760
|
|
|
708
761
|
export { autoJoin }
|
|
709
762
|
|
|
763
|
+
export { BaseCommandsExtension }
|
|
764
|
+
|
|
710
765
|
export { baseKeymap }
|
|
711
766
|
|
|
767
|
+
export { BaseKeymapExtension }
|
|
768
|
+
|
|
712
769
|
export { BaseNodeViewOptions }
|
|
713
770
|
|
|
714
771
|
export { BasicExtension }
|
|
@@ -745,6 +802,16 @@ export { BlockPopoverElement }
|
|
|
745
802
|
|
|
746
803
|
export { BlockPopoverProps }
|
|
747
804
|
|
|
805
|
+
export { BlockquoteExtension }
|
|
806
|
+
|
|
807
|
+
export { BlockquoteSpecExtension }
|
|
808
|
+
|
|
809
|
+
export { BoldCommandsExtension }
|
|
810
|
+
|
|
811
|
+
export { BoldExtension }
|
|
812
|
+
|
|
813
|
+
export { BoldSpecExtension }
|
|
814
|
+
|
|
748
815
|
export { canJoin }
|
|
749
816
|
|
|
750
817
|
export { canSplit }
|
|
@@ -767,6 +834,18 @@ export { clsx }
|
|
|
767
834
|
|
|
768
835
|
export { CodeBlockAttrs }
|
|
769
836
|
|
|
837
|
+
export { CodeBlockCommandsExtension }
|
|
838
|
+
|
|
839
|
+
export { CodeBlockExtension }
|
|
840
|
+
|
|
841
|
+
export { CodeBlockSpecExtension }
|
|
842
|
+
|
|
843
|
+
export { CodeCommandsExtension }
|
|
844
|
+
|
|
845
|
+
export { CodeExtension }
|
|
846
|
+
|
|
847
|
+
export { CodeSpecExtension }
|
|
848
|
+
|
|
770
849
|
export { collectNodes }
|
|
771
850
|
|
|
772
851
|
export { Command }
|
|
@@ -1103,6 +1182,8 @@ export { DocAttrStep }
|
|
|
1103
1182
|
|
|
1104
1183
|
export { DocChangeHandler }
|
|
1105
1184
|
|
|
1185
|
+
export { DocExtension }
|
|
1186
|
+
|
|
1106
1187
|
export { DOMDocumentOptions }
|
|
1107
1188
|
|
|
1108
1189
|
export { DOMEventHandler }
|
|
@@ -1123,6 +1204,8 @@ export { DoubleClickHandler }
|
|
|
1123
1204
|
|
|
1124
1205
|
export { DoubleClickOnHandler }
|
|
1125
1206
|
|
|
1207
|
+
export { DropCursorExtension }
|
|
1208
|
+
|
|
1126
1209
|
export { DropCursorOptions }
|
|
1127
1210
|
|
|
1128
1211
|
export { DropHandler }
|
|
@@ -1189,6 +1272,8 @@ export { Fragment }
|
|
|
1189
1272
|
|
|
1190
1273
|
export { GapCursor }
|
|
1191
1274
|
|
|
1275
|
+
export { GapCursorExtension }
|
|
1276
|
+
|
|
1192
1277
|
export { GenericParseRule }
|
|
1193
1278
|
|
|
1194
1279
|
export { _getId }
|
|
@@ -1199,10 +1284,18 @@ export { getNodeType }
|
|
|
1199
1284
|
|
|
1200
1285
|
export { HeadingAttrs }
|
|
1201
1286
|
|
|
1287
|
+
export { HeadingCommandsExtension }
|
|
1288
|
+
|
|
1289
|
+
export { HeadingExtension }
|
|
1290
|
+
|
|
1291
|
+
export { HeadingSpecExtension }
|
|
1292
|
+
|
|
1202
1293
|
export { HighlightParser }
|
|
1203
1294
|
|
|
1204
1295
|
export { history_2 as history }
|
|
1205
1296
|
|
|
1297
|
+
export { HistoryExtension }
|
|
1298
|
+
|
|
1206
1299
|
export { HistoryOptions }
|
|
1207
1300
|
|
|
1208
1301
|
export { htmlFromJSON }
|
|
@@ -1211,6 +1304,12 @@ export { htmlFromNode }
|
|
|
1211
1304
|
|
|
1212
1305
|
export { ImageAttrs }
|
|
1213
1306
|
|
|
1307
|
+
export { ImageCommandsExtension }
|
|
1308
|
+
|
|
1309
|
+
export { ImageExtension }
|
|
1310
|
+
|
|
1311
|
+
export { ImageSpecExtension }
|
|
1312
|
+
|
|
1214
1313
|
export { IndentListOptions }
|
|
1215
1314
|
|
|
1216
1315
|
export { InlinePopover }
|
|
@@ -1257,8 +1356,16 @@ export { isNodeSelection }
|
|
|
1257
1356
|
|
|
1258
1357
|
export { isProseMirrorNode }
|
|
1259
1358
|
|
|
1359
|
+
export { isSelection }
|
|
1360
|
+
|
|
1260
1361
|
export { isTextSelection }
|
|
1261
1362
|
|
|
1363
|
+
export { ItalicCommandsExtension }
|
|
1364
|
+
|
|
1365
|
+
export { ItalicExtension }
|
|
1366
|
+
|
|
1367
|
+
export { ItalicSpecExtension }
|
|
1368
|
+
|
|
1262
1369
|
export { joinBackward }
|
|
1263
1370
|
|
|
1264
1371
|
export { joinDown }
|
|
@@ -1303,10 +1410,22 @@ export { liftTarget }
|
|
|
1303
1410
|
|
|
1304
1411
|
export { LinkAttrs }
|
|
1305
1412
|
|
|
1413
|
+
export { LinkCommandsExtension }
|
|
1414
|
+
|
|
1415
|
+
export { LinkExtension }
|
|
1416
|
+
|
|
1417
|
+
export { LinkSpecExtension }
|
|
1418
|
+
|
|
1306
1419
|
export { ListAttrs }
|
|
1307
1420
|
|
|
1421
|
+
export { ListCommandsExtension }
|
|
1422
|
+
|
|
1308
1423
|
export { ListDOMSerializer }
|
|
1309
1424
|
|
|
1425
|
+
export { ListExtension }
|
|
1426
|
+
|
|
1427
|
+
export { ListSpecExtension }
|
|
1428
|
+
|
|
1310
1429
|
export { macBaseKeymap }
|
|
1311
1430
|
|
|
1312
1431
|
export { Mappable }
|
|
@@ -1345,6 +1464,8 @@ export { maybeRun }
|
|
|
1345
1464
|
|
|
1346
1465
|
export { MentionAttrs }
|
|
1347
1466
|
|
|
1467
|
+
export { ModClickPreventionExtension }
|
|
1468
|
+
|
|
1348
1469
|
export { MountHandler }
|
|
1349
1470
|
|
|
1350
1471
|
export { newlineInCode }
|
|
@@ -1397,6 +1518,8 @@ export { openDoubleQuote }
|
|
|
1397
1518
|
|
|
1398
1519
|
export { openSingleQuote }
|
|
1399
1520
|
|
|
1521
|
+
export { ParagraphExtension }
|
|
1522
|
+
|
|
1400
1523
|
export { ParseOptions }
|
|
1401
1524
|
|
|
1402
1525
|
export { ParseRule }
|
|
@@ -1409,6 +1532,8 @@ export { PickSubType }
|
|
|
1409
1532
|
|
|
1410
1533
|
export { PlaceholderOptions }
|
|
1411
1534
|
|
|
1535
|
+
export { PlainExtension }
|
|
1536
|
+
|
|
1412
1537
|
export { Plugin_2 as Plugin }
|
|
1413
1538
|
|
|
1414
1539
|
export { pluginFacet }
|
|
@@ -1657,6 +1782,12 @@ export { StepMap }
|
|
|
1657
1782
|
|
|
1658
1783
|
export { StepResult }
|
|
1659
1784
|
|
|
1785
|
+
export { StrikeCommandsExtension }
|
|
1786
|
+
|
|
1787
|
+
export { StrikeExtension }
|
|
1788
|
+
|
|
1789
|
+
export { StrikeSpecExtension }
|
|
1790
|
+
|
|
1660
1791
|
export { StyleParseRule }
|
|
1661
1792
|
|
|
1662
1793
|
export { SvelteNodeViewComponent }
|
|
@@ -1665,11 +1796,27 @@ export { SvelteNodeViewOptions }
|
|
|
1665
1796
|
|
|
1666
1797
|
export { SvelteNodeViewProps }
|
|
1667
1798
|
|
|
1799
|
+
export { TableCellSpecExtension }
|
|
1800
|
+
|
|
1801
|
+
export { TableCommandsExtension }
|
|
1802
|
+
|
|
1803
|
+
export { TableExtension }
|
|
1804
|
+
|
|
1805
|
+
export { TableHeaderCellSpecExtension }
|
|
1806
|
+
|
|
1807
|
+
export { TableRowSpecExtension }
|
|
1808
|
+
|
|
1809
|
+
export { TableSpecExtension }
|
|
1810
|
+
|
|
1668
1811
|
export { TagParseRule }
|
|
1669
1812
|
|
|
1670
1813
|
export { TestEditor }
|
|
1671
1814
|
|
|
1672
|
-
export {
|
|
1815
|
+
export { TextAlignAttrsExtension }
|
|
1816
|
+
|
|
1817
|
+
export { TextAlignCommandsExtension }
|
|
1818
|
+
|
|
1819
|
+
export { TextAlignExtension }
|
|
1673
1820
|
|
|
1674
1821
|
export { TextAlignOptions }
|
|
1675
1822
|
|
|
@@ -1677,6 +1824,8 @@ export { TextBlockEnterRuleOptions }
|
|
|
1677
1824
|
|
|
1678
1825
|
export { textblockTypeInputRule }
|
|
1679
1826
|
|
|
1827
|
+
export { TextExtension }
|
|
1828
|
+
|
|
1680
1829
|
export { TextInputHandler }
|
|
1681
1830
|
|
|
1682
1831
|
export { TextSelection }
|
|
@@ -1753,6 +1902,12 @@ export { TripleClickHandler }
|
|
|
1753
1902
|
|
|
1754
1903
|
export { TripleClickOnHandler }
|
|
1755
1904
|
|
|
1905
|
+
export { UnderlineCommandsExtension }
|
|
1906
|
+
|
|
1907
|
+
export { UnderlineExtension }
|
|
1908
|
+
|
|
1909
|
+
export { UnderlineSpecExtension }
|
|
1910
|
+
|
|
1756
1911
|
export { undo }
|
|
1757
1912
|
|
|
1758
1913
|
export { undoDepth }
|
|
@@ -1761,6 +1916,8 @@ export { undoInputRule }
|
|
|
1761
1916
|
|
|
1762
1917
|
export { undoNoScroll }
|
|
1763
1918
|
|
|
1919
|
+
export { Union }
|
|
1920
|
+
|
|
1764
1921
|
export { union }
|
|
1765
1922
|
|
|
1766
1923
|
export { UnionExtension }
|
|
@@ -1839,6 +1996,8 @@ export { useStateUpdate_alias_3 }
|
|
|
1839
1996
|
|
|
1840
1997
|
export { useStateUpdate_alias_4 }
|
|
1841
1998
|
|
|
1999
|
+
export { VirtualSelectionExtension }
|
|
2000
|
+
|
|
1842
2001
|
export { VueNodeViewComponent }
|
|
1843
2002
|
|
|
1844
2003
|
export { VueNodeViewOptions }
|
package/dist/prosekit-core.d.ts
CHANGED
|
@@ -36,9 +36,11 @@ export { EditorNotFoundError } from './_tsup-dts-rollup';
|
|
|
36
36
|
export { ProseKitError } from './_tsup-dts-rollup';
|
|
37
37
|
export { defineBaseCommands } from './_tsup-dts-rollup';
|
|
38
38
|
export { defineCommands } from './_tsup-dts-rollup';
|
|
39
|
+
export { BaseCommandsExtension } from './_tsup-dts-rollup';
|
|
39
40
|
export { defineDefaultState } from './_tsup-dts-rollup';
|
|
40
41
|
export { DefaultStateOptions } from './_tsup-dts-rollup';
|
|
41
42
|
export { defineDoc } from './_tsup-dts-rollup';
|
|
43
|
+
export { DocExtension } from './_tsup-dts-rollup';
|
|
42
44
|
export { defineDocChangeHandler } from './_tsup-dts-rollup';
|
|
43
45
|
export { DocChangeHandler } from './_tsup-dts-rollup';
|
|
44
46
|
export { defineDOMEventHandler } from './_tsup-dts-rollup';
|
|
@@ -76,12 +78,14 @@ export { MountHandler } from './_tsup-dts-rollup';
|
|
|
76
78
|
export { UnmountHandler } from './_tsup-dts-rollup';
|
|
77
79
|
export { UpdateHandler } from './_tsup-dts-rollup';
|
|
78
80
|
export { defineHistory } from './_tsup-dts-rollup';
|
|
81
|
+
export { HistoryExtension } from './_tsup-dts-rollup';
|
|
79
82
|
export { HistoryOptions } from './_tsup-dts-rollup';
|
|
80
83
|
export { defineKeymap } from './_tsup-dts-rollup';
|
|
81
84
|
export { keymapFacet } from './_tsup-dts-rollup';
|
|
82
85
|
export { Keymap } from './_tsup-dts-rollup';
|
|
83
86
|
export { KeymapPayload } from './_tsup-dts-rollup';
|
|
84
87
|
export { defineBaseKeymap } from './_tsup-dts-rollup';
|
|
88
|
+
export { BaseKeymapExtension } from './_tsup-dts-rollup';
|
|
85
89
|
export { defineMarkAttr } from './_tsup-dts-rollup';
|
|
86
90
|
export { defineMarkSpec } from './_tsup-dts-rollup';
|
|
87
91
|
export { MarkAttrOptions } from './_tsup-dts-rollup';
|
|
@@ -97,10 +101,12 @@ export { defineNodeViewFactory } from './_tsup-dts-rollup';
|
|
|
97
101
|
export { NodeViewComponentOptions } from './_tsup-dts-rollup';
|
|
98
102
|
export { NodeViewFactoryOptions } from './_tsup-dts-rollup';
|
|
99
103
|
export { defineParagraph } from './_tsup-dts-rollup';
|
|
104
|
+
export { ParagraphExtension } from './_tsup-dts-rollup';
|
|
100
105
|
export { definePlugin } from './_tsup-dts-rollup';
|
|
101
106
|
export { pluginFacet } from './_tsup-dts-rollup';
|
|
102
107
|
export { PluginPayload } from './_tsup-dts-rollup';
|
|
103
108
|
export { defineText } from './_tsup-dts-rollup';
|
|
109
|
+
export { TextExtension } from './_tsup-dts-rollup';
|
|
104
110
|
export { defineFacet } from './_tsup-dts-rollup';
|
|
105
111
|
export { Facet } from './_tsup-dts-rollup';
|
|
106
112
|
export { defineFacetPayload } from './_tsup-dts-rollup';
|
|
@@ -116,6 +122,8 @@ export { ExtractMarkActions } from './_tsup-dts-rollup';
|
|
|
116
122
|
export { ExtractMarks } from './_tsup-dts-rollup';
|
|
117
123
|
export { ExtractNodeActions } from './_tsup-dts-rollup';
|
|
118
124
|
export { ExtractNodes } from './_tsup-dts-rollup';
|
|
125
|
+
export { PlainExtension } from './_tsup-dts-rollup';
|
|
126
|
+
export { Union } from './_tsup-dts-rollup';
|
|
119
127
|
export { UnionExtension } from './_tsup-dts-rollup';
|
|
120
128
|
export { CommandAction } from './_tsup-dts-rollup';
|
|
121
129
|
export { CommandTyping } from './_tsup-dts-rollup';
|
|
@@ -166,6 +174,7 @@ export { isAllSelection } from './_tsup-dts-rollup';
|
|
|
166
174
|
export { isMark } from './_tsup-dts-rollup';
|
|
167
175
|
export { isNodeSelection } from './_tsup-dts-rollup';
|
|
168
176
|
export { isProseMirrorNode } from './_tsup-dts-rollup';
|
|
177
|
+
export { isSelection } from './_tsup-dts-rollup';
|
|
169
178
|
export { isTextSelection } from './_tsup-dts-rollup';
|
|
170
179
|
export { withSkipCodeBlock } from './_tsup-dts-rollup';
|
|
171
180
|
export { OBJECT_REPLACEMENT_CHARACTER } from './_tsup-dts-rollup';
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { defineBlockquoteSpec } from './_tsup-dts-rollup';
|
|
2
2
|
export { defineBlockquoteInputRule } from './_tsup-dts-rollup';
|
|
3
3
|
export { defineBlockquote } from './_tsup-dts-rollup';
|
|
4
|
+
export { BlockquoteSpecExtension } from './_tsup-dts-rollup';
|
|
5
|
+
export { BlockquoteExtension } from './_tsup-dts-rollup';
|
|
@@ -3,3 +3,6 @@ export { defineBoldCommands } from './_tsup-dts-rollup';
|
|
|
3
3
|
export { defineBoldKeymap } from './_tsup-dts-rollup';
|
|
4
4
|
export { defineBoldInputRule } from './_tsup-dts-rollup';
|
|
5
5
|
export { defineBold } from './_tsup-dts-rollup';
|
|
6
|
+
export { BoldSpecExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { BoldCommandsExtension } from './_tsup-dts-rollup';
|
|
8
|
+
export { BoldExtension } from './_tsup-dts-rollup';
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
export { defineCodeBlock } from './_tsup-dts-rollup';
|
|
2
|
+
export { CodeBlockExtension } from './_tsup-dts-rollup';
|
|
2
3
|
export { defineCodeBlockCommands } from './_tsup-dts-rollup';
|
|
4
|
+
export { CodeBlockCommandsExtension } from './_tsup-dts-rollup';
|
|
3
5
|
export { defineCodeBlockHighlight } from './_tsup-dts-rollup';
|
|
4
6
|
export { HighlightParser } from './_tsup-dts-rollup';
|
|
5
7
|
export { defineCodeBlockEnterRule } from './_tsup-dts-rollup';
|
|
6
8
|
export { defineCodeBlockInputRule } from './_tsup-dts-rollup';
|
|
7
9
|
export { defineCodeBlockShiki } from './_tsup-dts-rollup';
|
|
8
10
|
export { defineCodeBlockSpec } from './_tsup-dts-rollup';
|
|
11
|
+
export { CodeBlockSpecExtension } from './_tsup-dts-rollup';
|
|
9
12
|
export { CodeBlockAttrs } from './_tsup-dts-rollup';
|
|
10
13
|
export { shikiBundledLanguagesInfo } from './_tsup-dts-rollup';
|
|
11
14
|
export { shikiBundledThemesInfo } from './_tsup-dts-rollup';
|
|
@@ -3,3 +3,6 @@ export { defineCodeCommands } from './_tsup-dts-rollup';
|
|
|
3
3
|
export { defineCodeKeymap } from './_tsup-dts-rollup';
|
|
4
4
|
export { defineCodeInputRule } from './_tsup-dts-rollup';
|
|
5
5
|
export { defineCode } from './_tsup-dts-rollup';
|
|
6
|
+
export { CodeSpecExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { CodeCommandsExtension } from './_tsup-dts-rollup';
|
|
8
|
+
export { CodeExtension } from './_tsup-dts-rollup';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { defineHeading } from './_tsup-dts-rollup';
|
|
2
|
+
export { HeadingExtension } from './_tsup-dts-rollup';
|
|
2
3
|
export { defineHeadingCommands } from './_tsup-dts-rollup';
|
|
3
4
|
export { defineHeadingInputRule } from './_tsup-dts-rollup';
|
|
4
5
|
export { defineHeadingKeymap } from './_tsup-dts-rollup';
|
|
5
6
|
export { defineHeadingSpec } from './_tsup-dts-rollup';
|
|
7
|
+
export { HeadingCommandsExtension } from './_tsup-dts-rollup';
|
|
8
|
+
export { HeadingSpecExtension } from './_tsup-dts-rollup';
|
|
6
9
|
export { HeadingAttrs } from './_tsup-dts-rollup';
|
|
@@ -2,3 +2,6 @@ export { defineImageSpec } from './_tsup-dts-rollup';
|
|
|
2
2
|
export { defineImageCommands } from './_tsup-dts-rollup';
|
|
3
3
|
export { defineImage } from './_tsup-dts-rollup';
|
|
4
4
|
export { ImageAttrs } from './_tsup-dts-rollup';
|
|
5
|
+
export { ImageSpecExtension } from './_tsup-dts-rollup';
|
|
6
|
+
export { ImageCommandsExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { ImageExtension } from './_tsup-dts-rollup';
|
|
@@ -3,3 +3,6 @@ export { defineItalicCommands } from './_tsup-dts-rollup';
|
|
|
3
3
|
export { defineItalicKeymap } from './_tsup-dts-rollup';
|
|
4
4
|
export { defineItalicInputRule } from './_tsup-dts-rollup';
|
|
5
5
|
export { defineItalic } from './_tsup-dts-rollup';
|
|
6
|
+
export { ItalicSpecExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { ItalicCommandsExtension } from './_tsup-dts-rollup';
|
|
8
|
+
export { ItalicExtension } from './_tsup-dts-rollup';
|
|
@@ -5,3 +5,6 @@ export { defineLinkEnterRule } from './_tsup-dts-rollup';
|
|
|
5
5
|
export { defineLinkMarkRule } from './_tsup-dts-rollup';
|
|
6
6
|
export { defineLink } from './_tsup-dts-rollup';
|
|
7
7
|
export { LinkAttrs } from './_tsup-dts-rollup';
|
|
8
|
+
export { LinkSpecExtension } from './_tsup-dts-rollup';
|
|
9
|
+
export { LinkCommandsExtension } from './_tsup-dts-rollup';
|
|
10
|
+
export { LinkExtension } from './_tsup-dts-rollup';
|
|
@@ -5,9 +5,12 @@ export { IndentListOptions } from './_tsup-dts-rollup';
|
|
|
5
5
|
export { ToggleCollapsedOptions } from './_tsup-dts-rollup';
|
|
6
6
|
export { UnwrapListOptions } from './_tsup-dts-rollup';
|
|
7
7
|
export { WrapInListGetAttrs } from './_tsup-dts-rollup';
|
|
8
|
+
export { ListExtension } from './_tsup-dts-rollup';
|
|
8
9
|
export { defineListCommands } from './_tsup-dts-rollup';
|
|
9
10
|
export { defineListInputRules } from './_tsup-dts-rollup';
|
|
10
11
|
export { defineListKeymap } from './_tsup-dts-rollup';
|
|
11
12
|
export { defineListPlugins } from './_tsup-dts-rollup';
|
|
12
13
|
export { defineListSpec } from './_tsup-dts-rollup';
|
|
13
14
|
export { ListAttrs } from './_tsup-dts-rollup';
|
|
15
|
+
export { ListCommandsExtension } from './_tsup-dts-rollup';
|
|
16
|
+
export { ListSpecExtension } from './_tsup-dts-rollup';
|
|
@@ -3,3 +3,6 @@ export { defineStrikeCommands } from './_tsup-dts-rollup';
|
|
|
3
3
|
export { defineStrikeKeymap } from './_tsup-dts-rollup';
|
|
4
4
|
export { defineStrikeInputRule } from './_tsup-dts-rollup';
|
|
5
5
|
export { defineStrike } from './_tsup-dts-rollup';
|
|
6
|
+
export { StrikeSpecExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { StrikeCommandsExtension } from './_tsup-dts-rollup';
|
|
8
|
+
export { StrikeExtension } from './_tsup-dts-rollup';
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export { defineTable } from './_tsup-dts-rollup';
|
|
2
|
+
export { TableExtension } from './_tsup-dts-rollup';
|
|
2
3
|
export { defineTableCellSpec } from './_tsup-dts-rollup';
|
|
3
4
|
export { defineTableCommands } from './_tsup-dts-rollup';
|
|
4
5
|
export { defineTableHeaderCellSpec } from './_tsup-dts-rollup';
|
|
5
6
|
export { defineTablePlugins } from './_tsup-dts-rollup';
|
|
6
7
|
export { defineTableRowSpec } from './_tsup-dts-rollup';
|
|
7
8
|
export { defineTableSpec } from './_tsup-dts-rollup';
|
|
9
|
+
export { TableCellSpecExtension } from './_tsup-dts-rollup';
|
|
10
|
+
export { TableCommandsExtension } from './_tsup-dts-rollup';
|
|
11
|
+
export { TableHeaderCellSpecExtension } from './_tsup-dts-rollup';
|
|
12
|
+
export { TableRowSpecExtension } from './_tsup-dts-rollup';
|
|
13
|
+
export { TableSpecExtension } from './_tsup-dts-rollup';
|
|
@@ -3,4 +3,6 @@ export { defineTextAlignCommands } from './_tsup-dts-rollup';
|
|
|
3
3
|
export { defineTextAlignKeymap } from './_tsup-dts-rollup';
|
|
4
4
|
export { defineTextAlign } from './_tsup-dts-rollup';
|
|
5
5
|
export { TextAlignOptions } from './_tsup-dts-rollup';
|
|
6
|
-
export {
|
|
6
|
+
export { TextAlignAttrsExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { TextAlignCommandsExtension } from './_tsup-dts-rollup';
|
|
8
|
+
export { TextAlignExtension } from './_tsup-dts-rollup';
|
|
@@ -2,3 +2,6 @@ export { defineUnderlineSpec } from './_tsup-dts-rollup';
|
|
|
2
2
|
export { defineUnderlineCommands } from './_tsup-dts-rollup';
|
|
3
3
|
export { defineUnderlineKeymap } from './_tsup-dts-rollup';
|
|
4
4
|
export { defineUnderline } from './_tsup-dts-rollup';
|
|
5
|
+
export { UnderlineSpecExtension } from './_tsup-dts-rollup';
|
|
6
|
+
export { UnderlineCommandsExtension } from './_tsup-dts-rollup';
|
|
7
|
+
export { UnderlineExtension } 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.13",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -505,17 +505,17 @@
|
|
|
505
505
|
"dist"
|
|
506
506
|
],
|
|
507
507
|
"dependencies": {
|
|
508
|
-
"@prosekit/basic": "0.3.
|
|
509
|
-
"@prosekit/
|
|
510
|
-
"@prosekit/
|
|
511
|
-
"@prosekit/extensions": "0.7.
|
|
508
|
+
"@prosekit/basic": "0.3.20",
|
|
509
|
+
"@prosekit/core": "0.7.7",
|
|
510
|
+
"@prosekit/lit": "0.3.16",
|
|
511
|
+
"@prosekit/extensions": "0.7.8",
|
|
512
512
|
"@prosekit/pm": "0.1.7",
|
|
513
|
-
"@prosekit/
|
|
514
|
-
"@prosekit/
|
|
515
|
-
"@prosekit/
|
|
516
|
-
"@prosekit/
|
|
517
|
-
"@prosekit/vue": "0.3.
|
|
518
|
-
"@prosekit/web": "0.3.
|
|
513
|
+
"@prosekit/preact": "0.3.19",
|
|
514
|
+
"@prosekit/react": "0.3.20",
|
|
515
|
+
"@prosekit/svelte": "0.4.10",
|
|
516
|
+
"@prosekit/solid": "0.3.18",
|
|
517
|
+
"@prosekit/vue": "0.3.19",
|
|
518
|
+
"@prosekit/web": "0.3.8"
|
|
519
519
|
},
|
|
520
520
|
"peerDependencies": {
|
|
521
521
|
"preact": ">= 10.11.0",
|