prosekit 0.9.10 → 0.9.12
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 +164 -2
- package/dist/basic/style.css +24 -0
- package/dist/extensions/gap-cursor/style.css +25 -0
- package/dist/prosekit-core.d.ts +8 -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 +3 -0
- package/dist/prosekit-extensions-gap-cursor.js +2 -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 +25 -14
|
@@ -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';
|
|
@@ -148,6 +161,7 @@ import { defineEnterRule } from '@prosekit/extensions/enter-rule';
|
|
|
148
161
|
import { defineFacet } from '@prosekit/core';
|
|
149
162
|
import { defineFacetPayload } from '@prosekit/core';
|
|
150
163
|
import { defineFocusChangeHandler } from '@prosekit/core';
|
|
164
|
+
import { defineGapCursor } from '@prosekit/extensions/gap-cursor';
|
|
151
165
|
import { defineHeading } from '@prosekit/extensions/heading';
|
|
152
166
|
import { defineHeadingCommands } from '@prosekit/extensions/heading';
|
|
153
167
|
import { defineHeadingInputRule } from '@prosekit/extensions/heading';
|
|
@@ -236,6 +250,7 @@ import { deleteSelection } from '@prosekit/pm/commands';
|
|
|
236
250
|
import { DirectEditorProps } from '@prosekit/pm/view';
|
|
237
251
|
import { DocAttrStep } from '@prosekit/pm/transform';
|
|
238
252
|
import { DocChangeHandler } from '@prosekit/core';
|
|
253
|
+
import { DocExtension } from '@prosekit/core';
|
|
239
254
|
import { DOMDocumentOptions } from '@prosekit/core';
|
|
240
255
|
import { DOMEventHandler } from '@prosekit/core';
|
|
241
256
|
import { DOMEventMap } from '@prosekit/pm/view';
|
|
@@ -246,6 +261,7 @@ import { DOMSerializer } from '@prosekit/pm/model';
|
|
|
246
261
|
import { DOMSerializerOptions } from '@prosekit/core';
|
|
247
262
|
import { DoubleClickHandler } from '@prosekit/core';
|
|
248
263
|
import { DoubleClickOnHandler } from '@prosekit/core';
|
|
264
|
+
import { DropCursorExtension } from '@prosekit/extensions/drop-cursor';
|
|
249
265
|
import { DropCursorOptions } from '@prosekit/extensions/drop-cursor';
|
|
250
266
|
import { DropHandler } from '@prosekit/core';
|
|
251
267
|
import { dropPoint } from '@prosekit/pm/transform';
|
|
@@ -278,17 +294,26 @@ import { Facet } from '@prosekit/core';
|
|
|
278
294
|
import { findWrapping } from '@prosekit/pm/transform';
|
|
279
295
|
import { FocusChangeHandler } from '@prosekit/core';
|
|
280
296
|
import { Fragment } from '@prosekit/pm/model';
|
|
297
|
+
import { GapCursor } from '@prosekit/extensions/gap-cursor';
|
|
298
|
+
import { GapCursorExtension } from '@prosekit/extensions/gap-cursor';
|
|
281
299
|
import { GenericParseRule } from '@prosekit/pm/model';
|
|
282
300
|
import { _getId } from '@prosekit/core';
|
|
283
301
|
import { getMarkType } from '@prosekit/core';
|
|
284
302
|
import { getNodeType } from '@prosekit/core';
|
|
285
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';
|
|
286
307
|
import { HighlightParser } from '@prosekit/extensions/code-block';
|
|
287
308
|
import { history as history_2 } from '@prosekit/pm/history';
|
|
309
|
+
import { HistoryExtension } from '@prosekit/core';
|
|
288
310
|
import { HistoryOptions } from '@prosekit/core';
|
|
289
311
|
import { htmlFromJSON } from '@prosekit/core';
|
|
290
312
|
import { htmlFromNode } from '@prosekit/core';
|
|
291
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';
|
|
292
317
|
import { IndentListOptions } from '@prosekit/extensions/list';
|
|
293
318
|
import { InlinePopover } from '@prosekit/lit/inline-popover';
|
|
294
319
|
import { InlinePopover as InlinePopover_alias_1 } from '@prosekit/preact/inline-popover';
|
|
@@ -313,6 +338,9 @@ import { isMarkActive } from '@prosekit/core';
|
|
|
313
338
|
import { isNodeSelection } from '@prosekit/core';
|
|
314
339
|
import { isProseMirrorNode } from '@prosekit/core';
|
|
315
340
|
import { isTextSelection } from '@prosekit/core';
|
|
341
|
+
import { ItalicCommandsExtension } from '@prosekit/extensions/italic';
|
|
342
|
+
import { ItalicExtension } from '@prosekit/extensions/italic';
|
|
343
|
+
import { ItalicSpecExtension } from '@prosekit/extensions/italic';
|
|
316
344
|
import { joinBackward } from '@prosekit/pm/commands';
|
|
317
345
|
import { joinDown } from '@prosekit/pm/commands';
|
|
318
346
|
import { joinForward } from '@prosekit/pm/commands';
|
|
@@ -335,8 +363,14 @@ import { lift } from '@prosekit/pm/commands';
|
|
|
335
363
|
import { liftEmptyBlock } from '@prosekit/pm/commands';
|
|
336
364
|
import { liftTarget } from '@prosekit/pm/transform';
|
|
337
365
|
import { LinkAttrs } from '@prosekit/extensions/link';
|
|
366
|
+
import { LinkCommandsExtension } from '@prosekit/extensions/link';
|
|
367
|
+
import { LinkExtension } from '@prosekit/extensions/link';
|
|
368
|
+
import { LinkSpecExtension } from '@prosekit/extensions/link';
|
|
338
369
|
import { ListAttrs } from '@prosekit/extensions/list';
|
|
370
|
+
import { ListCommandsExtension } from '@prosekit/extensions/list';
|
|
339
371
|
import { ListDOMSerializer } from '@prosekit/extensions/list';
|
|
372
|
+
import { ListExtension } from '@prosekit/extensions/list';
|
|
373
|
+
import { ListSpecExtension } from '@prosekit/extensions/list';
|
|
340
374
|
import { macBaseKeymap } from '@prosekit/pm/commands';
|
|
341
375
|
import { Mappable } from '@prosekit/pm/transform';
|
|
342
376
|
import { Mapping } from '@prosekit/pm/transform';
|
|
@@ -356,6 +390,7 @@ import { MatchHandler } from '@prosekit/extensions/autocomplete';
|
|
|
356
390
|
import { MaybeAccessor } from '@prosekit/solid';
|
|
357
391
|
import { maybeRun } from '@prosekit/core';
|
|
358
392
|
import { MentionAttrs } from '@prosekit/extensions/mention';
|
|
393
|
+
import { ModClickPreventionExtension } from '@prosekit/extensions/mod-click-prevention';
|
|
359
394
|
import { MountHandler } from '@prosekit/core';
|
|
360
395
|
import { newlineInCode } from '@prosekit/pm/commands';
|
|
361
396
|
import { Node as Node_2 } from '@prosekit/pm/model';
|
|
@@ -383,12 +418,14 @@ import { OBJECT_REPLACEMENT_CHARACTER } from '@prosekit/core';
|
|
|
383
418
|
import { openDoubleQuote } from '@prosekit/pm/inputrules';
|
|
384
419
|
import { openSingleQuote } from '@prosekit/pm/inputrules';
|
|
385
420
|
import { Options } from 'tsup';
|
|
421
|
+
import { ParagraphExtension } from '@prosekit/core';
|
|
386
422
|
import { ParseOptions } from '@prosekit/pm/model';
|
|
387
423
|
import { ParseRule } from '@prosekit/pm/model';
|
|
388
424
|
import { PasteHandler } from '@prosekit/core';
|
|
389
425
|
import { pcBaseKeymap } from '@prosekit/pm/commands';
|
|
390
426
|
import { PickSubType } from '@prosekit/core';
|
|
391
427
|
import { PlaceholderOptions } from '@prosekit/extensions/placeholder';
|
|
428
|
+
import { PlainExtension } from '@prosekit/core';
|
|
392
429
|
import { Plugin as Plugin_2 } from '@prosekit/pm/state';
|
|
393
430
|
import { pluginFacet } from '@prosekit/core';
|
|
394
431
|
import { PluginKey } from '@prosekit/pm/state';
|
|
@@ -513,16 +550,28 @@ import { Step } from '@prosekit/pm/transform';
|
|
|
513
550
|
import { StepJSON } from '@prosekit/core';
|
|
514
551
|
import { StepMap } from '@prosekit/pm/transform';
|
|
515
552
|
import { StepResult } from '@prosekit/pm/transform';
|
|
553
|
+
import { StrikeCommandsExtension } from '@prosekit/extensions/strike';
|
|
554
|
+
import { StrikeExtension } from '@prosekit/extensions/strike';
|
|
555
|
+
import { StrikeSpecExtension } from '@prosekit/extensions/strike';
|
|
516
556
|
import { StyleParseRule } from '@prosekit/pm/model';
|
|
517
557
|
import { SvelteNodeViewComponent } from '@prosekit/svelte';
|
|
518
558
|
import { SvelteNodeViewOptions } from '@prosekit/svelte';
|
|
519
559
|
import { SvelteNodeViewProps } from '@prosekit/svelte';
|
|
560
|
+
import { TableCellSpecExtension } from '@prosekit/extensions/table';
|
|
561
|
+
import { TableCommandsExtension } from '@prosekit/extensions/table';
|
|
562
|
+
import { TableExtension } from '@prosekit/extensions/table';
|
|
563
|
+
import { TableHeaderCellSpecExtension } from '@prosekit/extensions/table';
|
|
564
|
+
import { TableRowSpecExtension } from '@prosekit/extensions/table';
|
|
565
|
+
import { TableSpecExtension } from '@prosekit/extensions/table';
|
|
520
566
|
import { TagParseRule } from '@prosekit/pm/model';
|
|
521
567
|
import { TestEditor } from '@prosekit/core/test';
|
|
522
|
-
import {
|
|
568
|
+
import { TextAlignAttrsExtension } from '@prosekit/extensions/text-align';
|
|
569
|
+
import { TextAlignCommandsExtension } from '@prosekit/extensions/text-align';
|
|
570
|
+
import { TextAlignExtension } from '@prosekit/extensions/text-align';
|
|
523
571
|
import { TextAlignOptions } from '@prosekit/extensions/text-align';
|
|
524
572
|
import { TextBlockEnterRuleOptions } from '@prosekit/extensions/enter-rule';
|
|
525
573
|
import { textblockTypeInputRule } from '@prosekit/pm/inputrules';
|
|
574
|
+
import { TextExtension } from '@prosekit/core';
|
|
526
575
|
import { TextInputHandler } from '@prosekit/core';
|
|
527
576
|
import { TextSelection } from '@prosekit/pm/state';
|
|
528
577
|
import { ToggleCollapsedOptions } from '@prosekit/extensions/list';
|
|
@@ -561,10 +610,14 @@ import { Transaction } from '@prosekit/pm/state';
|
|
|
561
610
|
import { Transform } from '@prosekit/pm/transform';
|
|
562
611
|
import { TripleClickHandler } from '@prosekit/core';
|
|
563
612
|
import { TripleClickOnHandler } from '@prosekit/core';
|
|
613
|
+
import { UnderlineCommandsExtension } from '@prosekit/extensions/underline';
|
|
614
|
+
import { UnderlineExtension } from '@prosekit/extensions/underline';
|
|
615
|
+
import { UnderlineSpecExtension } from '@prosekit/extensions/underline';
|
|
564
616
|
import { undo } from '@prosekit/pm/history';
|
|
565
617
|
import { undoDepth } from '@prosekit/pm/history';
|
|
566
618
|
import { undoInputRule } from '@prosekit/pm/inputrules';
|
|
567
619
|
import { undoNoScroll } from '@prosekit/pm/history';
|
|
620
|
+
import { Union } from '@prosekit/core';
|
|
568
621
|
import { union } from '@prosekit/core';
|
|
569
622
|
import { UnionExtension } from '@prosekit/core';
|
|
570
623
|
import { UnmountHandler } from '@prosekit/core';
|
|
@@ -604,6 +657,7 @@ import { useStateUpdate as useStateUpdate_alias_1 } from '@prosekit/react';
|
|
|
604
657
|
import { useStateUpdate as useStateUpdate_alias_2 } from '@prosekit/solid';
|
|
605
658
|
import { useStateUpdate as useStateUpdate_alias_3 } from '@prosekit/svelte';
|
|
606
659
|
import { useStateUpdate as useStateUpdate_alias_4 } from '@prosekit/vue';
|
|
660
|
+
import { VirtualSelectionExtension } from '@prosekit/extensions/virtual-selection';
|
|
607
661
|
import { VueNodeViewComponent } from '@prosekit/vue';
|
|
608
662
|
import { VueNodeViewOptions } from '@prosekit/vue';
|
|
609
663
|
import { VueNodeViewProps } from '@prosekit/vue';
|
|
@@ -705,8 +759,12 @@ export { AutocompleteRule }
|
|
|
705
759
|
|
|
706
760
|
export { autoJoin }
|
|
707
761
|
|
|
762
|
+
export { BaseCommandsExtension }
|
|
763
|
+
|
|
708
764
|
export { baseKeymap }
|
|
709
765
|
|
|
766
|
+
export { BaseKeymapExtension }
|
|
767
|
+
|
|
710
768
|
export { BaseNodeViewOptions }
|
|
711
769
|
|
|
712
770
|
export { BasicExtension }
|
|
@@ -743,6 +801,16 @@ export { BlockPopoverElement }
|
|
|
743
801
|
|
|
744
802
|
export { BlockPopoverProps }
|
|
745
803
|
|
|
804
|
+
export { BlockquoteExtension }
|
|
805
|
+
|
|
806
|
+
export { BlockquoteSpecExtension }
|
|
807
|
+
|
|
808
|
+
export { BoldCommandsExtension }
|
|
809
|
+
|
|
810
|
+
export { BoldExtension }
|
|
811
|
+
|
|
812
|
+
export { BoldSpecExtension }
|
|
813
|
+
|
|
746
814
|
export { canJoin }
|
|
747
815
|
|
|
748
816
|
export { canSplit }
|
|
@@ -765,6 +833,18 @@ export { clsx }
|
|
|
765
833
|
|
|
766
834
|
export { CodeBlockAttrs }
|
|
767
835
|
|
|
836
|
+
export { CodeBlockCommandsExtension }
|
|
837
|
+
|
|
838
|
+
export { CodeBlockExtension }
|
|
839
|
+
|
|
840
|
+
export { CodeBlockSpecExtension }
|
|
841
|
+
|
|
842
|
+
export { CodeCommandsExtension }
|
|
843
|
+
|
|
844
|
+
export { CodeExtension }
|
|
845
|
+
|
|
846
|
+
export { CodeSpecExtension }
|
|
847
|
+
|
|
768
848
|
export { collectNodes }
|
|
769
849
|
|
|
770
850
|
export { Command }
|
|
@@ -923,6 +1003,8 @@ export { defineFacetPayload }
|
|
|
923
1003
|
|
|
924
1004
|
export { defineFocusChangeHandler }
|
|
925
1005
|
|
|
1006
|
+
export { defineGapCursor }
|
|
1007
|
+
|
|
926
1008
|
export { defineHeading }
|
|
927
1009
|
|
|
928
1010
|
export { defineHeadingCommands }
|
|
@@ -1099,6 +1181,8 @@ export { DocAttrStep }
|
|
|
1099
1181
|
|
|
1100
1182
|
export { DocChangeHandler }
|
|
1101
1183
|
|
|
1184
|
+
export { DocExtension }
|
|
1185
|
+
|
|
1102
1186
|
export { DOMDocumentOptions }
|
|
1103
1187
|
|
|
1104
1188
|
export { DOMEventHandler }
|
|
@@ -1119,6 +1203,8 @@ export { DoubleClickHandler }
|
|
|
1119
1203
|
|
|
1120
1204
|
export { DoubleClickOnHandler }
|
|
1121
1205
|
|
|
1206
|
+
export { DropCursorExtension }
|
|
1207
|
+
|
|
1122
1208
|
export { DropCursorOptions }
|
|
1123
1209
|
|
|
1124
1210
|
export { DropHandler }
|
|
@@ -1183,6 +1269,10 @@ export { FocusChangeHandler }
|
|
|
1183
1269
|
|
|
1184
1270
|
export { Fragment }
|
|
1185
1271
|
|
|
1272
|
+
export { GapCursor }
|
|
1273
|
+
|
|
1274
|
+
export { GapCursorExtension }
|
|
1275
|
+
|
|
1186
1276
|
export { GenericParseRule }
|
|
1187
1277
|
|
|
1188
1278
|
export { _getId }
|
|
@@ -1193,10 +1283,18 @@ export { getNodeType }
|
|
|
1193
1283
|
|
|
1194
1284
|
export { HeadingAttrs }
|
|
1195
1285
|
|
|
1286
|
+
export { HeadingCommandsExtension }
|
|
1287
|
+
|
|
1288
|
+
export { HeadingExtension }
|
|
1289
|
+
|
|
1290
|
+
export { HeadingSpecExtension }
|
|
1291
|
+
|
|
1196
1292
|
export { HighlightParser }
|
|
1197
1293
|
|
|
1198
1294
|
export { history_2 as history }
|
|
1199
1295
|
|
|
1296
|
+
export { HistoryExtension }
|
|
1297
|
+
|
|
1200
1298
|
export { HistoryOptions }
|
|
1201
1299
|
|
|
1202
1300
|
export { htmlFromJSON }
|
|
@@ -1205,6 +1303,12 @@ export { htmlFromNode }
|
|
|
1205
1303
|
|
|
1206
1304
|
export { ImageAttrs }
|
|
1207
1305
|
|
|
1306
|
+
export { ImageCommandsExtension }
|
|
1307
|
+
|
|
1308
|
+
export { ImageExtension }
|
|
1309
|
+
|
|
1310
|
+
export { ImageSpecExtension }
|
|
1311
|
+
|
|
1208
1312
|
export { IndentListOptions }
|
|
1209
1313
|
|
|
1210
1314
|
export { InlinePopover }
|
|
@@ -1253,6 +1357,12 @@ export { isProseMirrorNode }
|
|
|
1253
1357
|
|
|
1254
1358
|
export { isTextSelection }
|
|
1255
1359
|
|
|
1360
|
+
export { ItalicCommandsExtension }
|
|
1361
|
+
|
|
1362
|
+
export { ItalicExtension }
|
|
1363
|
+
|
|
1364
|
+
export { ItalicSpecExtension }
|
|
1365
|
+
|
|
1256
1366
|
export { joinBackward }
|
|
1257
1367
|
|
|
1258
1368
|
export { joinDown }
|
|
@@ -1297,10 +1407,22 @@ export { liftTarget }
|
|
|
1297
1407
|
|
|
1298
1408
|
export { LinkAttrs }
|
|
1299
1409
|
|
|
1410
|
+
export { LinkCommandsExtension }
|
|
1411
|
+
|
|
1412
|
+
export { LinkExtension }
|
|
1413
|
+
|
|
1414
|
+
export { LinkSpecExtension }
|
|
1415
|
+
|
|
1300
1416
|
export { ListAttrs }
|
|
1301
1417
|
|
|
1418
|
+
export { ListCommandsExtension }
|
|
1419
|
+
|
|
1302
1420
|
export { ListDOMSerializer }
|
|
1303
1421
|
|
|
1422
|
+
export { ListExtension }
|
|
1423
|
+
|
|
1424
|
+
export { ListSpecExtension }
|
|
1425
|
+
|
|
1304
1426
|
export { macBaseKeymap }
|
|
1305
1427
|
|
|
1306
1428
|
export { Mappable }
|
|
@@ -1339,6 +1461,8 @@ export { maybeRun }
|
|
|
1339
1461
|
|
|
1340
1462
|
export { MentionAttrs }
|
|
1341
1463
|
|
|
1464
|
+
export { ModClickPreventionExtension }
|
|
1465
|
+
|
|
1342
1466
|
export { MountHandler }
|
|
1343
1467
|
|
|
1344
1468
|
export { newlineInCode }
|
|
@@ -1391,6 +1515,8 @@ export { openDoubleQuote }
|
|
|
1391
1515
|
|
|
1392
1516
|
export { openSingleQuote }
|
|
1393
1517
|
|
|
1518
|
+
export { ParagraphExtension }
|
|
1519
|
+
|
|
1394
1520
|
export { ParseOptions }
|
|
1395
1521
|
|
|
1396
1522
|
export { ParseRule }
|
|
@@ -1403,6 +1529,8 @@ export { PickSubType }
|
|
|
1403
1529
|
|
|
1404
1530
|
export { PlaceholderOptions }
|
|
1405
1531
|
|
|
1532
|
+
export { PlainExtension }
|
|
1533
|
+
|
|
1406
1534
|
export { Plugin_2 as Plugin }
|
|
1407
1535
|
|
|
1408
1536
|
export { pluginFacet }
|
|
@@ -1651,6 +1779,12 @@ export { StepMap }
|
|
|
1651
1779
|
|
|
1652
1780
|
export { StepResult }
|
|
1653
1781
|
|
|
1782
|
+
export { StrikeCommandsExtension }
|
|
1783
|
+
|
|
1784
|
+
export { StrikeExtension }
|
|
1785
|
+
|
|
1786
|
+
export { StrikeSpecExtension }
|
|
1787
|
+
|
|
1654
1788
|
export { StyleParseRule }
|
|
1655
1789
|
|
|
1656
1790
|
export { SvelteNodeViewComponent }
|
|
@@ -1659,11 +1793,27 @@ export { SvelteNodeViewOptions }
|
|
|
1659
1793
|
|
|
1660
1794
|
export { SvelteNodeViewProps }
|
|
1661
1795
|
|
|
1796
|
+
export { TableCellSpecExtension }
|
|
1797
|
+
|
|
1798
|
+
export { TableCommandsExtension }
|
|
1799
|
+
|
|
1800
|
+
export { TableExtension }
|
|
1801
|
+
|
|
1802
|
+
export { TableHeaderCellSpecExtension }
|
|
1803
|
+
|
|
1804
|
+
export { TableRowSpecExtension }
|
|
1805
|
+
|
|
1806
|
+
export { TableSpecExtension }
|
|
1807
|
+
|
|
1662
1808
|
export { TagParseRule }
|
|
1663
1809
|
|
|
1664
1810
|
export { TestEditor }
|
|
1665
1811
|
|
|
1666
|
-
export {
|
|
1812
|
+
export { TextAlignAttrsExtension }
|
|
1813
|
+
|
|
1814
|
+
export { TextAlignCommandsExtension }
|
|
1815
|
+
|
|
1816
|
+
export { TextAlignExtension }
|
|
1667
1817
|
|
|
1668
1818
|
export { TextAlignOptions }
|
|
1669
1819
|
|
|
@@ -1671,6 +1821,8 @@ export { TextBlockEnterRuleOptions }
|
|
|
1671
1821
|
|
|
1672
1822
|
export { textblockTypeInputRule }
|
|
1673
1823
|
|
|
1824
|
+
export { TextExtension }
|
|
1825
|
+
|
|
1674
1826
|
export { TextInputHandler }
|
|
1675
1827
|
|
|
1676
1828
|
export { TextSelection }
|
|
@@ -1747,6 +1899,12 @@ export { TripleClickHandler }
|
|
|
1747
1899
|
|
|
1748
1900
|
export { TripleClickOnHandler }
|
|
1749
1901
|
|
|
1902
|
+
export { UnderlineCommandsExtension }
|
|
1903
|
+
|
|
1904
|
+
export { UnderlineExtension }
|
|
1905
|
+
|
|
1906
|
+
export { UnderlineSpecExtension }
|
|
1907
|
+
|
|
1750
1908
|
export { undo }
|
|
1751
1909
|
|
|
1752
1910
|
export { undoDepth }
|
|
@@ -1755,6 +1913,8 @@ export { undoInputRule }
|
|
|
1755
1913
|
|
|
1756
1914
|
export { undoNoScroll }
|
|
1757
1915
|
|
|
1916
|
+
export { Union }
|
|
1917
|
+
|
|
1758
1918
|
export { union }
|
|
1759
1919
|
|
|
1760
1920
|
export { UnionExtension }
|
|
@@ -1833,6 +1993,8 @@ export { useStateUpdate_alias_3 }
|
|
|
1833
1993
|
|
|
1834
1994
|
export { useStateUpdate_alias_4 }
|
|
1835
1995
|
|
|
1996
|
+
export { VirtualSelectionExtension }
|
|
1997
|
+
|
|
1836
1998
|
export { VueNodeViewComponent }
|
|
1837
1999
|
|
|
1838
2000
|
export { VueNodeViewOptions }
|
package/dist/basic/style.css
CHANGED
|
@@ -202,6 +202,30 @@ img.ProseMirror-separator {
|
|
|
202
202
|
background-color: #53e54b80;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
/* ../extensions/src/gap-cursor/style.css */
|
|
206
|
+
.ProseMirror-gapcursor {
|
|
207
|
+
display: none;
|
|
208
|
+
pointer-events: none;
|
|
209
|
+
position: relative;
|
|
210
|
+
}
|
|
211
|
+
.ProseMirror-gapcursor:after {
|
|
212
|
+
content: "";
|
|
213
|
+
display: block;
|
|
214
|
+
position: absolute;
|
|
215
|
+
top: -2px;
|
|
216
|
+
width: 20px;
|
|
217
|
+
border-top: 1px solid currentColor;
|
|
218
|
+
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
219
|
+
}
|
|
220
|
+
@keyframes ProseMirror-cursor-blink {
|
|
221
|
+
to {
|
|
222
|
+
visibility: hidden;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
226
|
+
display: block;
|
|
227
|
+
}
|
|
228
|
+
|
|
205
229
|
/* ../basic/src/style.css */
|
|
206
230
|
|
|
207
231
|
/* src/basic/style.css */
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* ../extensions/src/gap-cursor/style.css */
|
|
2
|
+
.ProseMirror-gapcursor {
|
|
3
|
+
display: none;
|
|
4
|
+
pointer-events: none;
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
.ProseMirror-gapcursor:after {
|
|
8
|
+
content: "";
|
|
9
|
+
display: block;
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: -2px;
|
|
12
|
+
width: 20px;
|
|
13
|
+
border-top: 1px solid currentColor;
|
|
14
|
+
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
15
|
+
}
|
|
16
|
+
@keyframes ProseMirror-cursor-blink {
|
|
17
|
+
to {
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
22
|
+
display: block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* src/extensions/gap-cursor/style.css */
|
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';
|
|
@@ -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.12",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -99,6 +99,14 @@
|
|
|
99
99
|
"import": "./dist/prosekit-extensions-enter-rule.js",
|
|
100
100
|
"default": "./dist/prosekit-extensions-enter-rule.js"
|
|
101
101
|
},
|
|
102
|
+
"./extensions/gap-cursor": {
|
|
103
|
+
"types": "./dist/prosekit-extensions-gap-cursor.d.ts",
|
|
104
|
+
"import": "./dist/prosekit-extensions-gap-cursor.js",
|
|
105
|
+
"default": "./dist/prosekit-extensions-gap-cursor.js"
|
|
106
|
+
},
|
|
107
|
+
"./extensions/gap-cursor/style.css": {
|
|
108
|
+
"default": "./dist/extensions/gap-cursor/style.css"
|
|
109
|
+
},
|
|
102
110
|
"./extensions/heading": {
|
|
103
111
|
"types": "./dist/prosekit-extensions-heading.d.ts",
|
|
104
112
|
"import": "./dist/prosekit-extensions-heading.js",
|
|
@@ -497,17 +505,17 @@
|
|
|
497
505
|
"dist"
|
|
498
506
|
],
|
|
499
507
|
"dependencies": {
|
|
500
|
-
"@prosekit/basic": "0.3.
|
|
501
|
-
"@prosekit/
|
|
502
|
-
"@prosekit/
|
|
503
|
-
"@prosekit/lit": "0.3.
|
|
508
|
+
"@prosekit/basic": "0.3.19",
|
|
509
|
+
"@prosekit/core": "0.7.6",
|
|
510
|
+
"@prosekit/extensions": "0.7.7",
|
|
511
|
+
"@prosekit/lit": "0.3.15",
|
|
504
512
|
"@prosekit/pm": "0.1.7",
|
|
505
|
-
"@prosekit/
|
|
506
|
-
"@prosekit/
|
|
507
|
-
"@prosekit/solid": "0.3.
|
|
508
|
-
"@prosekit/svelte": "0.4.
|
|
509
|
-
"@prosekit/
|
|
510
|
-
"@prosekit/
|
|
513
|
+
"@prosekit/react": "0.3.19",
|
|
514
|
+
"@prosekit/preact": "0.3.18",
|
|
515
|
+
"@prosekit/solid": "0.3.17",
|
|
516
|
+
"@prosekit/svelte": "0.4.9",
|
|
517
|
+
"@prosekit/vue": "0.3.18",
|
|
518
|
+
"@prosekit/web": "0.3.7"
|
|
511
519
|
},
|
|
512
520
|
"peerDependencies": {
|
|
513
521
|
"preact": ">= 10.11.0",
|
|
@@ -542,14 +550,14 @@
|
|
|
542
550
|
"@types/react-dom": "^18.3.0",
|
|
543
551
|
"postcss": "^8.4.39",
|
|
544
552
|
"postcss-nesting": "^12.1.5",
|
|
545
|
-
"preact": "^10.
|
|
553
|
+
"preact": "^10.23.0",
|
|
546
554
|
"react": "^18.3.1",
|
|
547
555
|
"react-dom": "^18.3.1",
|
|
548
556
|
"solid-js": "^1.8.18",
|
|
549
557
|
"svelte": "^4.2.18",
|
|
550
|
-
"tsup": "^8.
|
|
558
|
+
"tsup": "^8.2.2",
|
|
551
559
|
"typescript": "^5.5.3",
|
|
552
|
-
"vue": "^3.4.
|
|
560
|
+
"vue": "^3.4.33",
|
|
553
561
|
"@prosekit/dev": "0.0.0"
|
|
554
562
|
},
|
|
555
563
|
"scripts": {
|
|
@@ -598,6 +606,9 @@
|
|
|
598
606
|
"extensions/enter-rule": [
|
|
599
607
|
"./dist/prosekit-extensions-enter-rule.d.ts"
|
|
600
608
|
],
|
|
609
|
+
"extensions/gap-cursor": [
|
|
610
|
+
"./dist/prosekit-extensions-gap-cursor.d.ts"
|
|
611
|
+
],
|
|
601
612
|
"extensions/heading": [
|
|
602
613
|
"./dist/prosekit-extensions-heading.d.ts"
|
|
603
614
|
],
|