prosekit 0.4.2 → 0.4.4
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 +176 -11
- package/dist/basic/typography.css +3 -0
- package/dist/prosekit-core.d.ts +30 -1
- package/dist/prosekit-lit-block-popover.d.ts +3 -0
- package/dist/prosekit-lit-block-popover.js +2 -0
- package/dist/prosekit-lit-combo-box-input.d.ts +1 -1
- package/dist/prosekit-lit-combo-box-item.d.ts +1 -1
- package/dist/prosekit-lit-combo-box-list.d.ts +1 -1
- package/dist/prosekit-lit-combo-box.d.ts +1 -1
- package/dist/prosekit-lit-drag-handle.d.ts +3 -0
- package/dist/prosekit-lit-drag-handle.js +2 -0
- package/dist/prosekit-lit-inline-popover.d.ts +1 -1
- package/dist/prosekit-lit-popover.d.ts +1 -1
- package/dist/prosekit-lit-resizable-handle.d.ts +1 -1
- package/dist/prosekit-lit-resizable.d.ts +1 -1
- package/dist/prosekit-preact-block-popover.d.ts +2 -0
- package/dist/prosekit-preact-block-popover.js +2 -0
- package/dist/prosekit-preact-drag-handle.d.ts +2 -0
- package/dist/prosekit-preact-drag-handle.js +2 -0
- package/dist/prosekit-react-block-popover.d.ts +2 -0
- package/dist/prosekit-react-block-popover.js +2 -0
- package/dist/prosekit-react-drag-handle.d.ts +2 -0
- package/dist/prosekit-react-drag-handle.js +2 -0
- package/dist/prosekit-solid-block-popover.d.ts +2 -0
- package/dist/prosekit-solid-block-popover.js +2 -0
- package/dist/prosekit-solid-drag-handle.d.ts +2 -0
- package/dist/prosekit-solid-drag-handle.js +2 -0
- package/dist/prosekit-svelte-block-popover.d.ts +2 -0
- package/dist/prosekit-svelte-block-popover.js +2 -0
- package/dist/prosekit-svelte-drag-handle.d.ts +2 -0
- package/dist/prosekit-svelte-drag-handle.js +2 -0
- package/dist/prosekit-vue-block-popover.d.ts +2 -0
- package/dist/prosekit-vue-block-popover.js +2 -0
- package/dist/prosekit-vue-drag-handle.d.ts +2 -0
- package/dist/prosekit-vue-drag-handle.js +2 -0
- package/package.json +111 -15
|
@@ -59,9 +59,23 @@ import { AutoUpdateOptions } from '@prosekit/lit/popover';
|
|
|
59
59
|
import { baseKeymap } from '@prosekit/pm/commands';
|
|
60
60
|
import { BaseNodeViewOptions } from '@prosekit/core';
|
|
61
61
|
import { BasicExtension } from '@prosekit/basic';
|
|
62
|
+
import { BlockPopover } from '@prosekit/lit/block-popover';
|
|
63
|
+
import { BlockPopover as BlockPopover_alias_1 } from '@prosekit/preact/block-popover';
|
|
64
|
+
import { BlockPopover as BlockPopover_alias_2 } from '@prosekit/react/block-popover';
|
|
65
|
+
import { BlockPopover as BlockPopover_alias_3 } from '@prosekit/solid/block-popover';
|
|
66
|
+
import { BlockPopover as BlockPopover_alias_4 } from '@prosekit/svelte/block-popover';
|
|
67
|
+
import { BlockPopover as BlockPopover_alias_5 } from '@prosekit/vue/block-popover';
|
|
68
|
+
import { BlockPopoverProps } from '@prosekit/lit/block-popover';
|
|
69
|
+
import { BlockPopoverProps as BlockPopoverProps_alias_1 } from '@prosekit/preact/block-popover';
|
|
70
|
+
import { BlockPopoverProps as BlockPopoverProps_alias_2 } from '@prosekit/react/block-popover';
|
|
71
|
+
import { BlockPopoverProps as BlockPopoverProps_alias_3 } from '@prosekit/solid/block-popover';
|
|
72
|
+
import { BlockPopoverProps as BlockPopoverProps_alias_4 } from '@prosekit/svelte/block-popover';
|
|
73
|
+
import { BlockPopoverProps as BlockPopoverProps_alias_5 } from '@prosekit/vue/block-popover';
|
|
62
74
|
import { canJoin } from '@prosekit/pm/transform';
|
|
63
75
|
import { canSplit } from '@prosekit/pm/transform';
|
|
64
76
|
import { chainCommands } from '@prosekit/pm/commands';
|
|
77
|
+
import { ClickHandler } from '@prosekit/core';
|
|
78
|
+
import { ClickOnHandler } from '@prosekit/core';
|
|
65
79
|
import { closeDoubleQuote } from '@prosekit/pm/inputrules';
|
|
66
80
|
import { closeHistory } from '@prosekit/pm/history';
|
|
67
81
|
import { closeSingleQuote } from '@prosekit/pm/inputrules';
|
|
@@ -137,6 +151,8 @@ import { defineBold } from '@prosekit/extensions/bold';
|
|
|
137
151
|
import { defineBoldCommands } from '@prosekit/extensions/bold';
|
|
138
152
|
import { defineBoldKeymap } from '@prosekit/extensions/bold';
|
|
139
153
|
import { defineBoldSpec } from '@prosekit/extensions/bold';
|
|
154
|
+
import { defineClickHandler } from '@prosekit/core';
|
|
155
|
+
import { defineClickOnHandler } from '@prosekit/core';
|
|
140
156
|
import { defineCode } from '@prosekit/extensions/code';
|
|
141
157
|
import { defineCodeBlock } from '@prosekit/extensions/code-block';
|
|
142
158
|
import { defineCodeBlockCommands } from '@prosekit/extensions/code-block';
|
|
@@ -151,7 +167,11 @@ import { defineCommands } from '@prosekit/core';
|
|
|
151
167
|
import { defineDefaultState } from '@prosekit/core';
|
|
152
168
|
import { defineDoc } from '@prosekit/core';
|
|
153
169
|
import { defineDocChangeHandler } from '@prosekit/core';
|
|
170
|
+
import { defineDOMEventHandler } from '@prosekit/core';
|
|
171
|
+
import { defineDoubleClickHandler } from '@prosekit/core';
|
|
172
|
+
import { defineDoubleClickOnHandler } from '@prosekit/core';
|
|
154
173
|
import { defineDropCursor } from '@prosekit/extensions/drop-cursor';
|
|
174
|
+
import { defineDropHandler } from '@prosekit/core';
|
|
155
175
|
import { defineFocusChangeHandler } from '@prosekit/core';
|
|
156
176
|
import { defineHeading } from '@prosekit/extensions/heading';
|
|
157
177
|
import { defineHeadingCommands } from '@prosekit/extensions/heading';
|
|
@@ -168,7 +188,9 @@ import { defineItalicCommands } from '@prosekit/extensions/italic';
|
|
|
168
188
|
import { defineItalicKeymap } from '@prosekit/extensions/code';
|
|
169
189
|
import { defineItalicKeymap as defineItalicKeymap_alias_1 } from '@prosekit/extensions/italic';
|
|
170
190
|
import { defineItalicSpec } from '@prosekit/extensions/italic';
|
|
191
|
+
import { defineKeyDownHandler } from '@prosekit/core';
|
|
171
192
|
import { defineKeymap } from '@prosekit/core';
|
|
193
|
+
import { defineKeyPressHandler } from '@prosekit/core';
|
|
172
194
|
import { defineLink } from '@prosekit/extensions/link';
|
|
173
195
|
import { defineLinkCommands } from '@prosekit/extensions/link';
|
|
174
196
|
import { defineLinkEnterRule } from '@prosekit/extensions/link';
|
|
@@ -191,16 +213,21 @@ import { defineNodeSpec } from '@prosekit/core';
|
|
|
191
213
|
import { defineNodeView } from '@prosekit/core';
|
|
192
214
|
import { defineNodeViewFactory } from '@prosekit/core';
|
|
193
215
|
import { defineParagraph } from '@prosekit/core';
|
|
216
|
+
import { definePasteHandler } from '@prosekit/core';
|
|
194
217
|
import { definePlaceholder } from '@prosekit/extensions/placeholder';
|
|
195
218
|
import { definePlugin } from '@prosekit/core';
|
|
196
219
|
import { defineReactNodeView } from '@prosekit/react';
|
|
197
220
|
import { defineReadonly } from '@prosekit/extensions/readonly';
|
|
221
|
+
import { defineScrollToSelectionHandler } from '@prosekit/core';
|
|
198
222
|
import { defineStrike } from '@prosekit/extensions/strike';
|
|
199
223
|
import { defineStrikeCommands } from '@prosekit/extensions/strike';
|
|
200
224
|
import { defineStrikeKeymap } from '@prosekit/extensions/strike';
|
|
201
225
|
import { defineStrikeSpec } from '@prosekit/extensions/strike';
|
|
202
226
|
import { defineText } from '@prosekit/core';
|
|
203
227
|
import { defineTextBlockInputRule } from '@prosekit/extensions/input-rule';
|
|
228
|
+
import { defineTextInputHandler } from '@prosekit/core';
|
|
229
|
+
import { defineTripleClickHandler } from '@prosekit/core';
|
|
230
|
+
import { defineTripleClickOnHandler } from '@prosekit/core';
|
|
204
231
|
import { defineUnderline } from '@prosekit/extensions/underline';
|
|
205
232
|
import { defineUnderlineCommands } from '@prosekit/extensions/underline';
|
|
206
233
|
import { defineUnderlineKeymap } from '@prosekit/extensions/underline';
|
|
@@ -214,11 +241,27 @@ import { deleteSelection } from '@prosekit/pm/commands';
|
|
|
214
241
|
import { DirectEditorProps } from '@prosekit/pm/view';
|
|
215
242
|
import { DocAttrStep } from '@prosekit/pm/transform';
|
|
216
243
|
import { DocChangeHandler } from '@prosekit/core';
|
|
244
|
+
import { DOMEventHandler } from '@prosekit/core';
|
|
217
245
|
import { DOMEventMap } from '@prosekit/pm/view';
|
|
218
246
|
import { DOMOutputSpec } from '@prosekit/pm/model';
|
|
219
247
|
import { DOMParser as DOMParser_2 } from '@prosekit/pm/model';
|
|
220
248
|
import { DOMSerializer } from '@prosekit/pm/model';
|
|
249
|
+
import { DoubleClickHandler } from '@prosekit/core';
|
|
250
|
+
import { DoubleClickOnHandler } from '@prosekit/core';
|
|
251
|
+
import { DragHandle } from '@prosekit/lit/drag-handle';
|
|
252
|
+
import { DragHandle as DragHandle_alias_1 } from '@prosekit/preact/drag-handle';
|
|
253
|
+
import { DragHandle as DragHandle_alias_2 } from '@prosekit/react/drag-handle';
|
|
254
|
+
import { DragHandle as DragHandle_alias_3 } from '@prosekit/solid/drag-handle';
|
|
255
|
+
import { DragHandle as DragHandle_alias_4 } from '@prosekit/svelte/drag-handle';
|
|
256
|
+
import { DragHandle as DragHandle_alias_5 } from '@prosekit/vue/drag-handle';
|
|
257
|
+
import { DragHandleProps } from '@prosekit/lit/drag-handle';
|
|
258
|
+
import { DragHandleProps as DragHandleProps_alias_1 } from '@prosekit/preact/drag-handle';
|
|
259
|
+
import { DragHandleProps as DragHandleProps_alias_2 } from '@prosekit/react/drag-handle';
|
|
260
|
+
import { DragHandleProps as DragHandleProps_alias_3 } from '@prosekit/solid/drag-handle';
|
|
261
|
+
import { DragHandleProps as DragHandleProps_alias_4 } from '@prosekit/svelte/drag-handle';
|
|
262
|
+
import { DragHandleProps as DragHandleProps_alias_5 } from '@prosekit/vue/drag-handle';
|
|
221
263
|
import { DropCursorOptions } from '@prosekit/extensions/drop-cursor';
|
|
264
|
+
import { DropHandler } from '@prosekit/core';
|
|
222
265
|
import { dropPoint } from '@prosekit/pm/transform';
|
|
223
266
|
import { Editor } from '@prosekit/core';
|
|
224
267
|
import { EditorNotFoundError } from '@prosekit/core';
|
|
@@ -227,6 +270,8 @@ import { EditorProps } from '@prosekit/pm/view';
|
|
|
227
270
|
import { EditorState } from '@prosekit/pm/state';
|
|
228
271
|
import { EditorStateConfig } from '@prosekit/pm/state';
|
|
229
272
|
import { EditorView } from '@prosekit/pm/view';
|
|
273
|
+
import { elementFromJSON } from '@prosekit/core';
|
|
274
|
+
import { elementFromNode } from '@prosekit/core';
|
|
230
275
|
import { ellipsis } from '@prosekit/pm/inputrules';
|
|
231
276
|
import { emDash } from '@prosekit/pm/inputrules';
|
|
232
277
|
import { exitCode } from '@prosekit/pm/commands';
|
|
@@ -248,6 +293,8 @@ import { getNodeType } from '@prosekit/core';
|
|
|
248
293
|
import { HeadingAttrs } from '@prosekit/extensions/heading';
|
|
249
294
|
import { HighlightParser } from '@prosekit/extensions/code-block';
|
|
250
295
|
import { history as history_2 } from '@prosekit/pm/history';
|
|
296
|
+
import { htmlFromJSON } from '@prosekit/core';
|
|
297
|
+
import { htmlFromNode } from '@prosekit/core';
|
|
251
298
|
import { ImageAttrs } from '@prosekit/extensions/image';
|
|
252
299
|
import { InlinePopover } from '@prosekit/lit/inline-popover';
|
|
253
300
|
import { InlinePopover as InlinePopover_alias_1 } from '@prosekit/preact/inline-popover';
|
|
@@ -278,15 +325,16 @@ import { joinPoint } from '@prosekit/pm/transform';
|
|
|
278
325
|
import { joinTextblockBackward } from '@prosekit/pm/commands';
|
|
279
326
|
import { joinTextblockForward } from '@prosekit/pm/commands';
|
|
280
327
|
import { joinUp } from '@prosekit/pm/commands';
|
|
281
|
-
import { jsonFromElement } from '@prosekit/core';
|
|
282
328
|
import { jsonFromHTML } from '@prosekit/core';
|
|
283
329
|
import { jsonFromNode } from '@prosekit/core';
|
|
284
330
|
import { jsonFromState } from '@prosekit/core';
|
|
331
|
+
import { KeyDownHandler } from '@prosekit/core';
|
|
285
332
|
import { keydownHandler } from '@prosekit/pm/keymap';
|
|
286
333
|
import { Keymap } from '@prosekit/core';
|
|
287
334
|
import { keymap } from '@prosekit/pm/keymap';
|
|
288
335
|
import { keymapFacet } from '@prosekit/core';
|
|
289
336
|
import { KeymapPayload } from '@prosekit/core';
|
|
337
|
+
import { KeyPressHandler } from '@prosekit/core';
|
|
290
338
|
import { lift } from '@prosekit/pm/commands';
|
|
291
339
|
import { liftEmptyBlock } from '@prosekit/pm/commands';
|
|
292
340
|
import { liftTarget } from '@prosekit/pm/transform';
|
|
@@ -327,6 +375,7 @@ import { openSingleQuote } from '@prosekit/pm/inputrules';
|
|
|
327
375
|
import { Options } from 'tsup';
|
|
328
376
|
import { ParseOptions } from '@prosekit/pm/model';
|
|
329
377
|
import { ParseRule } from '@prosekit/pm/model';
|
|
378
|
+
import { PasteHandler } from '@prosekit/core';
|
|
330
379
|
import { pcBaseKeymap } from '@prosekit/pm/commands';
|
|
331
380
|
import { PlaceholderOptions } from '@prosekit/extensions/placeholder';
|
|
332
381
|
import { Plugin as Plugin_2 } from '@prosekit/pm/state';
|
|
@@ -359,16 +408,18 @@ import { PositioningOptions as PositioningOptions_alias_7 } from '@prosekit/vue/
|
|
|
359
408
|
import { Priority } from '@prosekit/core';
|
|
360
409
|
import { propNames } from '@prosekit/lit/autocomplete-empty';
|
|
361
410
|
import { propNames as propNames_alias_1 } from '@prosekit/lit/autocomplete-item';
|
|
362
|
-
import { propNames as propNames_alias_10 } from '@prosekit/lit/
|
|
363
|
-
import { propNames as propNames_alias_11 } from '@prosekit/lit/
|
|
411
|
+
import { propNames as propNames_alias_10 } from '@prosekit/lit/inline-popover';
|
|
412
|
+
import { propNames as propNames_alias_11 } from '@prosekit/lit/popover';
|
|
413
|
+
import { propNames as propNames_alias_12 } from '@prosekit/lit/resizable-handle';
|
|
414
|
+
import { propNames as propNames_alias_13 } from '@prosekit/lit/resizable';
|
|
364
415
|
import { propNames as propNames_alias_2 } from '@prosekit/lit/autocomplete-list';
|
|
365
416
|
import { propNames as propNames_alias_3 } from '@prosekit/lit/autocomplete-popover';
|
|
366
|
-
import { propNames as propNames_alias_4 } from '@prosekit/lit/
|
|
367
|
-
import { propNames as propNames_alias_5 } from '@prosekit/lit/combo-box-
|
|
368
|
-
import { propNames as propNames_alias_6 } from '@prosekit/lit/combo-box-
|
|
369
|
-
import { propNames as propNames_alias_7 } from '@prosekit/lit/combo-box';
|
|
370
|
-
import { propNames as propNames_alias_8 } from '@prosekit/lit/
|
|
371
|
-
import { propNames as propNames_alias_9 } from '@prosekit/lit/
|
|
417
|
+
import { propNames as propNames_alias_4 } from '@prosekit/lit/block-popover';
|
|
418
|
+
import { propNames as propNames_alias_5 } from '@prosekit/lit/combo-box-input';
|
|
419
|
+
import { propNames as propNames_alias_6 } from '@prosekit/lit/combo-box-item';
|
|
420
|
+
import { propNames as propNames_alias_7 } from '@prosekit/lit/combo-box-list';
|
|
421
|
+
import { propNames as propNames_alias_8 } from '@prosekit/lit/combo-box';
|
|
422
|
+
import { propNames as propNames_alias_9 } from '@prosekit/lit/drag-handle';
|
|
372
423
|
import { PropsWithChildren } from '@prosekit/preact';
|
|
373
424
|
import { PropsWithChildren as PropsWithChildren_alias_1 } from '@prosekit/solid';
|
|
374
425
|
import { PropsWithClass } from '@prosekit/preact';
|
|
@@ -427,6 +478,7 @@ import { ResizableProps as ResizableProps_alias_5 } from '@prosekit/vue/resizabl
|
|
|
427
478
|
import { ResolvedPos } from '@prosekit/pm/model';
|
|
428
479
|
import { Schema } from '@prosekit/pm/model';
|
|
429
480
|
import { SchemaSpec } from '@prosekit/pm/model';
|
|
481
|
+
import { ScrollToSelectionHandler } from '@prosekit/core';
|
|
430
482
|
import { selectAll } from '@prosekit/pm/commands';
|
|
431
483
|
import { Selection as Selection_2 } from '@prosekit/pm/state';
|
|
432
484
|
import { SelectionBookmark } from '@prosekit/pm/state';
|
|
@@ -454,12 +506,15 @@ import { Step } from '@prosekit/pm/transform';
|
|
|
454
506
|
import { StepMap } from '@prosekit/pm/transform';
|
|
455
507
|
import { StepResult } from '@prosekit/pm/transform';
|
|
456
508
|
import { textblockTypeInputRule } from '@prosekit/pm/inputrules';
|
|
509
|
+
import { TextInputHandler } from '@prosekit/core';
|
|
457
510
|
import { TextSelection } from '@prosekit/pm/state';
|
|
458
511
|
import { toggleMark } from '@prosekit/core';
|
|
459
512
|
import { toggleMark as toggleMark_alias_1 } from '@prosekit/pm/commands';
|
|
460
513
|
import { toggleNode } from '@prosekit/core';
|
|
461
514
|
import { Transaction } from '@prosekit/pm/state';
|
|
462
515
|
import { Transform } from '@prosekit/pm/transform';
|
|
516
|
+
import { TripleClickHandler } from '@prosekit/core';
|
|
517
|
+
import { TripleClickOnHandler } from '@prosekit/core';
|
|
463
518
|
import { undo } from '@prosekit/pm/history';
|
|
464
519
|
import { undoDepth } from '@prosekit/pm/history';
|
|
465
520
|
import { undoInputRule } from '@prosekit/pm/inputrules';
|
|
@@ -626,12 +681,40 @@ export { BaseNodeViewOptions }
|
|
|
626
681
|
|
|
627
682
|
export { BasicExtension }
|
|
628
683
|
|
|
684
|
+
export { BlockPopover }
|
|
685
|
+
|
|
686
|
+
export { BlockPopover_alias_1 }
|
|
687
|
+
|
|
688
|
+
export { BlockPopover_alias_2 }
|
|
689
|
+
|
|
690
|
+
export { BlockPopover_alias_3 }
|
|
691
|
+
|
|
692
|
+
export { BlockPopover_alias_4 }
|
|
693
|
+
|
|
694
|
+
export { BlockPopover_alias_5 }
|
|
695
|
+
|
|
696
|
+
export { BlockPopoverProps }
|
|
697
|
+
|
|
698
|
+
export { BlockPopoverProps_alias_1 }
|
|
699
|
+
|
|
700
|
+
export { BlockPopoverProps_alias_2 }
|
|
701
|
+
|
|
702
|
+
export { BlockPopoverProps_alias_3 }
|
|
703
|
+
|
|
704
|
+
export { BlockPopoverProps_alias_4 }
|
|
705
|
+
|
|
706
|
+
export { BlockPopoverProps_alias_5 }
|
|
707
|
+
|
|
629
708
|
export { canJoin }
|
|
630
709
|
|
|
631
710
|
export { canSplit }
|
|
632
711
|
|
|
633
712
|
export { chainCommands }
|
|
634
713
|
|
|
714
|
+
export { ClickHandler }
|
|
715
|
+
|
|
716
|
+
export { ClickOnHandler }
|
|
717
|
+
|
|
635
718
|
export { closeDoubleQuote }
|
|
636
719
|
|
|
637
720
|
export { closeHistory }
|
|
@@ -790,6 +873,10 @@ export { defineBoldKeymap }
|
|
|
790
873
|
|
|
791
874
|
export { defineBoldSpec }
|
|
792
875
|
|
|
876
|
+
export { defineClickHandler }
|
|
877
|
+
|
|
878
|
+
export { defineClickOnHandler }
|
|
879
|
+
|
|
793
880
|
export { defineCode }
|
|
794
881
|
|
|
795
882
|
export { defineCodeBlock }
|
|
@@ -818,8 +905,16 @@ export { defineDoc }
|
|
|
818
905
|
|
|
819
906
|
export { defineDocChangeHandler }
|
|
820
907
|
|
|
908
|
+
export { defineDOMEventHandler }
|
|
909
|
+
|
|
910
|
+
export { defineDoubleClickHandler }
|
|
911
|
+
|
|
912
|
+
export { defineDoubleClickOnHandler }
|
|
913
|
+
|
|
821
914
|
export { defineDropCursor }
|
|
822
915
|
|
|
916
|
+
export { defineDropHandler }
|
|
917
|
+
|
|
823
918
|
export { defineFocusChangeHandler }
|
|
824
919
|
|
|
825
920
|
export { defineHeading }
|
|
@@ -852,8 +947,12 @@ export { defineItalicKeymap_alias_1 }
|
|
|
852
947
|
|
|
853
948
|
export { defineItalicSpec }
|
|
854
949
|
|
|
950
|
+
export { defineKeyDownHandler }
|
|
951
|
+
|
|
855
952
|
export { defineKeymap }
|
|
856
953
|
|
|
954
|
+
export { defineKeyPressHandler }
|
|
955
|
+
|
|
857
956
|
export { defineLink }
|
|
858
957
|
|
|
859
958
|
export { defineLinkCommands }
|
|
@@ -898,6 +997,8 @@ export { defineNodeViewFactory }
|
|
|
898
997
|
|
|
899
998
|
export { defineParagraph }
|
|
900
999
|
|
|
1000
|
+
export { definePasteHandler }
|
|
1001
|
+
|
|
901
1002
|
export { definePlaceholder }
|
|
902
1003
|
|
|
903
1004
|
export { definePlugin }
|
|
@@ -906,6 +1007,8 @@ export { defineReactNodeView }
|
|
|
906
1007
|
|
|
907
1008
|
export { defineReadonly }
|
|
908
1009
|
|
|
1010
|
+
export { defineScrollToSelectionHandler }
|
|
1011
|
+
|
|
909
1012
|
export { defineStrike }
|
|
910
1013
|
|
|
911
1014
|
export { defineStrikeCommands }
|
|
@@ -918,6 +1021,12 @@ export { defineText }
|
|
|
918
1021
|
|
|
919
1022
|
export { defineTextBlockInputRule }
|
|
920
1023
|
|
|
1024
|
+
export { defineTextInputHandler }
|
|
1025
|
+
|
|
1026
|
+
export { defineTripleClickHandler }
|
|
1027
|
+
|
|
1028
|
+
export { defineTripleClickOnHandler }
|
|
1029
|
+
|
|
921
1030
|
export { defineUnderline }
|
|
922
1031
|
|
|
923
1032
|
export { defineUnderlineCommands }
|
|
@@ -944,6 +1053,8 @@ export { DocAttrStep }
|
|
|
944
1053
|
|
|
945
1054
|
export { DocChangeHandler }
|
|
946
1055
|
|
|
1056
|
+
export { DOMEventHandler }
|
|
1057
|
+
|
|
947
1058
|
export { DOMEventMap }
|
|
948
1059
|
|
|
949
1060
|
export { DOMOutputSpec }
|
|
@@ -952,8 +1063,38 @@ export { DOMParser_2 as DOMParser }
|
|
|
952
1063
|
|
|
953
1064
|
export { DOMSerializer }
|
|
954
1065
|
|
|
1066
|
+
export { DoubleClickHandler }
|
|
1067
|
+
|
|
1068
|
+
export { DoubleClickOnHandler }
|
|
1069
|
+
|
|
1070
|
+
export { DragHandle }
|
|
1071
|
+
|
|
1072
|
+
export { DragHandle_alias_1 }
|
|
1073
|
+
|
|
1074
|
+
export { DragHandle_alias_2 }
|
|
1075
|
+
|
|
1076
|
+
export { DragHandle_alias_3 }
|
|
1077
|
+
|
|
1078
|
+
export { DragHandle_alias_4 }
|
|
1079
|
+
|
|
1080
|
+
export { DragHandle_alias_5 }
|
|
1081
|
+
|
|
1082
|
+
export { DragHandleProps }
|
|
1083
|
+
|
|
1084
|
+
export { DragHandleProps_alias_1 }
|
|
1085
|
+
|
|
1086
|
+
export { DragHandleProps_alias_2 }
|
|
1087
|
+
|
|
1088
|
+
export { DragHandleProps_alias_3 }
|
|
1089
|
+
|
|
1090
|
+
export { DragHandleProps_alias_4 }
|
|
1091
|
+
|
|
1092
|
+
export { DragHandleProps_alias_5 }
|
|
1093
|
+
|
|
955
1094
|
export { DropCursorOptions }
|
|
956
1095
|
|
|
1096
|
+
export { DropHandler }
|
|
1097
|
+
|
|
957
1098
|
export { dropPoint }
|
|
958
1099
|
|
|
959
1100
|
export { Editor }
|
|
@@ -970,6 +1111,10 @@ export { EditorStateConfig }
|
|
|
970
1111
|
|
|
971
1112
|
export { EditorView }
|
|
972
1113
|
|
|
1114
|
+
export { elementFromJSON }
|
|
1115
|
+
|
|
1116
|
+
export { elementFromNode }
|
|
1117
|
+
|
|
973
1118
|
export { ellipsis }
|
|
974
1119
|
|
|
975
1120
|
export { emDash }
|
|
@@ -1012,6 +1157,10 @@ export { HighlightParser }
|
|
|
1012
1157
|
|
|
1013
1158
|
export { history_2 as history }
|
|
1014
1159
|
|
|
1160
|
+
export { htmlFromJSON }
|
|
1161
|
+
|
|
1162
|
+
export { htmlFromNode }
|
|
1163
|
+
|
|
1015
1164
|
export { ImageAttrs }
|
|
1016
1165
|
|
|
1017
1166
|
export { InlinePopover }
|
|
@@ -1072,14 +1221,14 @@ export { joinTextblockForward }
|
|
|
1072
1221
|
|
|
1073
1222
|
export { joinUp }
|
|
1074
1223
|
|
|
1075
|
-
export { jsonFromElement }
|
|
1076
|
-
|
|
1077
1224
|
export { jsonFromHTML }
|
|
1078
1225
|
|
|
1079
1226
|
export { jsonFromNode }
|
|
1080
1227
|
|
|
1081
1228
|
export { jsonFromState }
|
|
1082
1229
|
|
|
1230
|
+
export { KeyDownHandler }
|
|
1231
|
+
|
|
1083
1232
|
export { keydownHandler }
|
|
1084
1233
|
|
|
1085
1234
|
export { Keymap }
|
|
@@ -1090,6 +1239,8 @@ export { keymapFacet }
|
|
|
1090
1239
|
|
|
1091
1240
|
export { KeymapPayload }
|
|
1092
1241
|
|
|
1242
|
+
export { KeyPressHandler }
|
|
1243
|
+
|
|
1093
1244
|
export { lift }
|
|
1094
1245
|
|
|
1095
1246
|
export { liftEmptyBlock }
|
|
@@ -1168,6 +1319,8 @@ export { ParseOptions }
|
|
|
1168
1319
|
|
|
1169
1320
|
export { ParseRule }
|
|
1170
1321
|
|
|
1322
|
+
export { PasteHandler }
|
|
1323
|
+
|
|
1171
1324
|
export { pcBaseKeymap }
|
|
1172
1325
|
|
|
1173
1326
|
export { PlaceholderOptions }
|
|
@@ -1236,6 +1389,10 @@ export { propNames_alias_10 }
|
|
|
1236
1389
|
|
|
1237
1390
|
export { propNames_alias_11 }
|
|
1238
1391
|
|
|
1392
|
+
export { propNames_alias_12 }
|
|
1393
|
+
|
|
1394
|
+
export { propNames_alias_13 }
|
|
1395
|
+
|
|
1239
1396
|
export { propNames_alias_2 }
|
|
1240
1397
|
|
|
1241
1398
|
export { propNames_alias_3 }
|
|
@@ -1368,6 +1525,8 @@ export { Schema }
|
|
|
1368
1525
|
|
|
1369
1526
|
export { SchemaSpec }
|
|
1370
1527
|
|
|
1528
|
+
export { ScrollToSelectionHandler }
|
|
1529
|
+
|
|
1371
1530
|
export { selectAll }
|
|
1372
1531
|
|
|
1373
1532
|
export { Selection_2 as Selection }
|
|
@@ -1422,6 +1581,8 @@ export { StepResult }
|
|
|
1422
1581
|
|
|
1423
1582
|
export { textblockTypeInputRule }
|
|
1424
1583
|
|
|
1584
|
+
export { TextInputHandler }
|
|
1585
|
+
|
|
1425
1586
|
export { TextSelection }
|
|
1426
1587
|
|
|
1427
1588
|
export { toggleMark }
|
|
@@ -1434,6 +1595,10 @@ export { Transaction }
|
|
|
1434
1595
|
|
|
1435
1596
|
export { Transform }
|
|
1436
1597
|
|
|
1598
|
+
export { TripleClickHandler }
|
|
1599
|
+
|
|
1600
|
+
export { TripleClickOnHandler }
|
|
1601
|
+
|
|
1437
1602
|
export { undo }
|
|
1438
1603
|
|
|
1439
1604
|
export { undoDepth }
|
|
@@ -132,5 +132,8 @@ div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h6)::before,
|
|
|
132
132
|
div.ProseMirror .prosemirror-flat-list:has(> div.list-content > h6) > .list-marker {
|
|
133
133
|
top: -0.1em;
|
|
134
134
|
}
|
|
135
|
+
div.ProseMirror .ProseMirror-selectednode {
|
|
136
|
+
z-index: calc(infinity);
|
|
137
|
+
}
|
|
135
138
|
|
|
136
139
|
/* src/basic/typography.css */
|
package/dist/prosekit-core.d.ts
CHANGED
|
@@ -20,6 +20,32 @@ export { DefaultStateOptions } from './_tsup-dts-rollup';
|
|
|
20
20
|
export { defineDoc } from './_tsup-dts-rollup';
|
|
21
21
|
export { defineDocChangeHandler } from './_tsup-dts-rollup';
|
|
22
22
|
export { DocChangeHandler } from './_tsup-dts-rollup';
|
|
23
|
+
export { defineDOMEventHandler } from './_tsup-dts-rollup';
|
|
24
|
+
export { DOMEventHandler } from './_tsup-dts-rollup';
|
|
25
|
+
export { defineClickHandler } from './_tsup-dts-rollup';
|
|
26
|
+
export { defineClickOnHandler } from './_tsup-dts-rollup';
|
|
27
|
+
export { defineDoubleClickHandler } from './_tsup-dts-rollup';
|
|
28
|
+
export { defineDoubleClickOnHandler } from './_tsup-dts-rollup';
|
|
29
|
+
export { defineDropHandler } from './_tsup-dts-rollup';
|
|
30
|
+
export { defineKeyDownHandler } from './_tsup-dts-rollup';
|
|
31
|
+
export { defineKeyPressHandler } from './_tsup-dts-rollup';
|
|
32
|
+
export { definePasteHandler } from './_tsup-dts-rollup';
|
|
33
|
+
export { defineScrollToSelectionHandler } from './_tsup-dts-rollup';
|
|
34
|
+
export { defineTextInputHandler } from './_tsup-dts-rollup';
|
|
35
|
+
export { defineTripleClickHandler } from './_tsup-dts-rollup';
|
|
36
|
+
export { defineTripleClickOnHandler } from './_tsup-dts-rollup';
|
|
37
|
+
export { ClickHandler } from './_tsup-dts-rollup';
|
|
38
|
+
export { ClickOnHandler } from './_tsup-dts-rollup';
|
|
39
|
+
export { DoubleClickHandler } from './_tsup-dts-rollup';
|
|
40
|
+
export { DoubleClickOnHandler } from './_tsup-dts-rollup';
|
|
41
|
+
export { DropHandler } from './_tsup-dts-rollup';
|
|
42
|
+
export { KeyDownHandler } from './_tsup-dts-rollup';
|
|
43
|
+
export { KeyPressHandler } from './_tsup-dts-rollup';
|
|
44
|
+
export { PasteHandler } from './_tsup-dts-rollup';
|
|
45
|
+
export { ScrollToSelectionHandler } from './_tsup-dts-rollup';
|
|
46
|
+
export { TextInputHandler } from './_tsup-dts-rollup';
|
|
47
|
+
export { TripleClickHandler } from './_tsup-dts-rollup';
|
|
48
|
+
export { TripleClickOnHandler } from './_tsup-dts-rollup';
|
|
23
49
|
export { defineFocusChangeHandler } from './_tsup-dts-rollup';
|
|
24
50
|
export { FocusChangeHandler } from './_tsup-dts-rollup';
|
|
25
51
|
export { defineMountHandler } from './_tsup-dts-rollup';
|
|
@@ -73,7 +99,10 @@ export { _getId } from './_tsup-dts-rollup';
|
|
|
73
99
|
export { getMarkType } from './_tsup-dts-rollup';
|
|
74
100
|
export { getNodeType } from './_tsup-dts-rollup';
|
|
75
101
|
export { isInCodeBlock } from './_tsup-dts-rollup';
|
|
76
|
-
export {
|
|
102
|
+
export { elementFromJSON } from './_tsup-dts-rollup';
|
|
103
|
+
export { elementFromNode } from './_tsup-dts-rollup';
|
|
104
|
+
export { htmlFromJSON } from './_tsup-dts-rollup';
|
|
105
|
+
export { htmlFromNode } from './_tsup-dts-rollup';
|
|
77
106
|
export { jsonFromHTML } from './_tsup-dts-rollup';
|
|
78
107
|
export { jsonFromNode } from './_tsup-dts-rollup';
|
|
79
108
|
export { jsonFromState } from './_tsup-dts-rollup';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PositioningOptions_alias_1 as PositioningOptions } from './_tsup-dts-rollup';
|
|
2
|
-
export {
|
|
2
|
+
export { propNames_alias_10 as propNames } from './_tsup-dts-rollup';
|
|
3
3
|
export { InlinePopoverProps } from './_tsup-dts-rollup';
|
|
4
4
|
export { InlinePopover } from './_tsup-dts-rollup';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AutoUpdateOptions } from './_tsup-dts-rollup';
|
|
2
2
|
export { PositioningOptions_alias_2 as PositioningOptions } from './_tsup-dts-rollup';
|
|
3
3
|
export { popoverPropsNames } from './_tsup-dts-rollup';
|
|
4
|
-
export {
|
|
4
|
+
export { propNames_alias_11 as propNames } from './_tsup-dts-rollup';
|
|
5
5
|
export { PopoverProps } from './_tsup-dts-rollup';
|
|
6
6
|
export { Popover } 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.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -175,6 +175,11 @@
|
|
|
175
175
|
"import": "./dist/prosekit-lit-autocomplete-popover.js",
|
|
176
176
|
"default": "./dist/prosekit-lit-autocomplete-popover.js"
|
|
177
177
|
},
|
|
178
|
+
"./lit/block-popover": {
|
|
179
|
+
"types": "./dist/prosekit-lit-block-popover.d.ts",
|
|
180
|
+
"import": "./dist/prosekit-lit-block-popover.js",
|
|
181
|
+
"default": "./dist/prosekit-lit-block-popover.js"
|
|
182
|
+
},
|
|
178
183
|
"./lit/combo-box": {
|
|
179
184
|
"types": "./dist/prosekit-lit-combo-box.d.ts",
|
|
180
185
|
"import": "./dist/prosekit-lit-combo-box.js",
|
|
@@ -195,6 +200,11 @@
|
|
|
195
200
|
"import": "./dist/prosekit-lit-combo-box-list.js",
|
|
196
201
|
"default": "./dist/prosekit-lit-combo-box-list.js"
|
|
197
202
|
},
|
|
203
|
+
"./lit/drag-handle": {
|
|
204
|
+
"types": "./dist/prosekit-lit-drag-handle.d.ts",
|
|
205
|
+
"import": "./dist/prosekit-lit-drag-handle.js",
|
|
206
|
+
"default": "./dist/prosekit-lit-drag-handle.js"
|
|
207
|
+
},
|
|
198
208
|
"./lit/inline-popover": {
|
|
199
209
|
"types": "./dist/prosekit-lit-inline-popover.d.ts",
|
|
200
210
|
"import": "./dist/prosekit-lit-inline-popover.js",
|
|
@@ -288,6 +298,11 @@
|
|
|
288
298
|
"import": "./dist/prosekit-preact-autocomplete-popover.js",
|
|
289
299
|
"default": "./dist/prosekit-preact-autocomplete-popover.js"
|
|
290
300
|
},
|
|
301
|
+
"./preact/block-popover": {
|
|
302
|
+
"types": "./dist/prosekit-preact-block-popover.d.ts",
|
|
303
|
+
"import": "./dist/prosekit-preact-block-popover.js",
|
|
304
|
+
"default": "./dist/prosekit-preact-block-popover.js"
|
|
305
|
+
},
|
|
291
306
|
"./preact/combo-box": {
|
|
292
307
|
"types": "./dist/prosekit-preact-combo-box.d.ts",
|
|
293
308
|
"import": "./dist/prosekit-preact-combo-box.js",
|
|
@@ -308,6 +323,11 @@
|
|
|
308
323
|
"import": "./dist/prosekit-preact-combo-box-list.js",
|
|
309
324
|
"default": "./dist/prosekit-preact-combo-box-list.js"
|
|
310
325
|
},
|
|
326
|
+
"./preact/drag-handle": {
|
|
327
|
+
"types": "./dist/prosekit-preact-drag-handle.d.ts",
|
|
328
|
+
"import": "./dist/prosekit-preact-drag-handle.js",
|
|
329
|
+
"default": "./dist/prosekit-preact-drag-handle.js"
|
|
330
|
+
},
|
|
311
331
|
"./preact/inline-popover": {
|
|
312
332
|
"types": "./dist/prosekit-preact-inline-popover.d.ts",
|
|
313
333
|
"import": "./dist/prosekit-preact-inline-popover.js",
|
|
@@ -353,6 +373,11 @@
|
|
|
353
373
|
"import": "./dist/prosekit-react-autocomplete-popover.js",
|
|
354
374
|
"default": "./dist/prosekit-react-autocomplete-popover.js"
|
|
355
375
|
},
|
|
376
|
+
"./react/block-popover": {
|
|
377
|
+
"types": "./dist/prosekit-react-block-popover.d.ts",
|
|
378
|
+
"import": "./dist/prosekit-react-block-popover.js",
|
|
379
|
+
"default": "./dist/prosekit-react-block-popover.js"
|
|
380
|
+
},
|
|
356
381
|
"./react/combo-box": {
|
|
357
382
|
"types": "./dist/prosekit-react-combo-box.d.ts",
|
|
358
383
|
"import": "./dist/prosekit-react-combo-box.js",
|
|
@@ -373,6 +398,11 @@
|
|
|
373
398
|
"import": "./dist/prosekit-react-combo-box-list.js",
|
|
374
399
|
"default": "./dist/prosekit-react-combo-box-list.js"
|
|
375
400
|
},
|
|
401
|
+
"./react/drag-handle": {
|
|
402
|
+
"types": "./dist/prosekit-react-drag-handle.d.ts",
|
|
403
|
+
"import": "./dist/prosekit-react-drag-handle.js",
|
|
404
|
+
"default": "./dist/prosekit-react-drag-handle.js"
|
|
405
|
+
},
|
|
376
406
|
"./react/inline-popover": {
|
|
377
407
|
"types": "./dist/prosekit-react-inline-popover.d.ts",
|
|
378
408
|
"import": "./dist/prosekit-react-inline-popover.js",
|
|
@@ -418,6 +448,11 @@
|
|
|
418
448
|
"import": "./dist/prosekit-solid-autocomplete-popover.js",
|
|
419
449
|
"default": "./dist/prosekit-solid-autocomplete-popover.js"
|
|
420
450
|
},
|
|
451
|
+
"./solid/block-popover": {
|
|
452
|
+
"types": "./dist/prosekit-solid-block-popover.d.ts",
|
|
453
|
+
"import": "./dist/prosekit-solid-block-popover.js",
|
|
454
|
+
"default": "./dist/prosekit-solid-block-popover.js"
|
|
455
|
+
},
|
|
421
456
|
"./solid/combo-box": {
|
|
422
457
|
"types": "./dist/prosekit-solid-combo-box.d.ts",
|
|
423
458
|
"import": "./dist/prosekit-solid-combo-box.js",
|
|
@@ -438,6 +473,11 @@
|
|
|
438
473
|
"import": "./dist/prosekit-solid-combo-box-list.js",
|
|
439
474
|
"default": "./dist/prosekit-solid-combo-box-list.js"
|
|
440
475
|
},
|
|
476
|
+
"./solid/drag-handle": {
|
|
477
|
+
"types": "./dist/prosekit-solid-drag-handle.d.ts",
|
|
478
|
+
"import": "./dist/prosekit-solid-drag-handle.js",
|
|
479
|
+
"default": "./dist/prosekit-solid-drag-handle.js"
|
|
480
|
+
},
|
|
441
481
|
"./solid/inline-popover": {
|
|
442
482
|
"types": "./dist/prosekit-solid-inline-popover.d.ts",
|
|
443
483
|
"import": "./dist/prosekit-solid-inline-popover.js",
|
|
@@ -483,6 +523,11 @@
|
|
|
483
523
|
"import": "./dist/prosekit-svelte-autocomplete-popover.js",
|
|
484
524
|
"default": "./dist/prosekit-svelte-autocomplete-popover.js"
|
|
485
525
|
},
|
|
526
|
+
"./svelte/block-popover": {
|
|
527
|
+
"types": "./dist/prosekit-svelte-block-popover.d.ts",
|
|
528
|
+
"import": "./dist/prosekit-svelte-block-popover.js",
|
|
529
|
+
"default": "./dist/prosekit-svelte-block-popover.js"
|
|
530
|
+
},
|
|
486
531
|
"./svelte/combo-box": {
|
|
487
532
|
"types": "./dist/prosekit-svelte-combo-box.d.ts",
|
|
488
533
|
"import": "./dist/prosekit-svelte-combo-box.js",
|
|
@@ -503,6 +548,11 @@
|
|
|
503
548
|
"import": "./dist/prosekit-svelte-combo-box-list.js",
|
|
504
549
|
"default": "./dist/prosekit-svelte-combo-box-list.js"
|
|
505
550
|
},
|
|
551
|
+
"./svelte/drag-handle": {
|
|
552
|
+
"types": "./dist/prosekit-svelte-drag-handle.d.ts",
|
|
553
|
+
"import": "./dist/prosekit-svelte-drag-handle.js",
|
|
554
|
+
"default": "./dist/prosekit-svelte-drag-handle.js"
|
|
555
|
+
},
|
|
506
556
|
"./svelte/inline-popover": {
|
|
507
557
|
"types": "./dist/prosekit-svelte-inline-popover.d.ts",
|
|
508
558
|
"import": "./dist/prosekit-svelte-inline-popover.js",
|
|
@@ -548,6 +598,11 @@
|
|
|
548
598
|
"import": "./dist/prosekit-vue-autocomplete-popover.js",
|
|
549
599
|
"default": "./dist/prosekit-vue-autocomplete-popover.js"
|
|
550
600
|
},
|
|
601
|
+
"./vue/block-popover": {
|
|
602
|
+
"types": "./dist/prosekit-vue-block-popover.d.ts",
|
|
603
|
+
"import": "./dist/prosekit-vue-block-popover.js",
|
|
604
|
+
"default": "./dist/prosekit-vue-block-popover.js"
|
|
605
|
+
},
|
|
551
606
|
"./vue/combo-box": {
|
|
552
607
|
"types": "./dist/prosekit-vue-combo-box.d.ts",
|
|
553
608
|
"import": "./dist/prosekit-vue-combo-box.js",
|
|
@@ -568,6 +623,11 @@
|
|
|
568
623
|
"import": "./dist/prosekit-vue-combo-box-list.js",
|
|
569
624
|
"default": "./dist/prosekit-vue-combo-box-list.js"
|
|
570
625
|
},
|
|
626
|
+
"./vue/drag-handle": {
|
|
627
|
+
"types": "./dist/prosekit-vue-drag-handle.d.ts",
|
|
628
|
+
"import": "./dist/prosekit-vue-drag-handle.js",
|
|
629
|
+
"default": "./dist/prosekit-vue-drag-handle.js"
|
|
630
|
+
},
|
|
571
631
|
"./vue/inline-popover": {
|
|
572
632
|
"types": "./dist/prosekit-vue-inline-popover.d.ts",
|
|
573
633
|
"import": "./dist/prosekit-vue-inline-popover.js",
|
|
@@ -593,16 +653,16 @@
|
|
|
593
653
|
"dist"
|
|
594
654
|
],
|
|
595
655
|
"dependencies": {
|
|
596
|
-
"@prosekit/basic": "0.3.
|
|
597
|
-
"@prosekit/core": "0.3.
|
|
656
|
+
"@prosekit/basic": "0.3.1",
|
|
657
|
+
"@prosekit/core": "0.3.2",
|
|
598
658
|
"@prosekit/extensions": "0.3.1",
|
|
599
|
-
"@prosekit/lit": "0.2.
|
|
659
|
+
"@prosekit/lit": "0.2.5",
|
|
600
660
|
"@prosekit/pm": "0.1.1",
|
|
601
|
-
"@prosekit/preact": "0.2.
|
|
602
|
-
"@prosekit/react": "0.2.
|
|
603
|
-
"@prosekit/solid": "0.2.
|
|
604
|
-
"@prosekit/svelte": "0.2.
|
|
605
|
-
"@prosekit/vue": "0.2.
|
|
661
|
+
"@prosekit/preact": "0.2.5",
|
|
662
|
+
"@prosekit/react": "0.2.5",
|
|
663
|
+
"@prosekit/solid": "0.2.5",
|
|
664
|
+
"@prosekit/svelte": "0.2.5",
|
|
665
|
+
"@prosekit/vue": "0.2.5"
|
|
606
666
|
},
|
|
607
667
|
"peerDependencies": {
|
|
608
668
|
"preact": ">= 9.0.0",
|
|
@@ -638,19 +698,19 @@
|
|
|
638
698
|
},
|
|
639
699
|
"devDependencies": {
|
|
640
700
|
"@prosekit/dev": "*",
|
|
641
|
-
"@types/react": "^18.2.
|
|
642
|
-
"@types/react-dom": "^18.2.
|
|
643
|
-
"postcss": "^8.4.
|
|
701
|
+
"@types/react": "^18.2.55",
|
|
702
|
+
"@types/react-dom": "^18.2.19",
|
|
703
|
+
"postcss": "^8.4.35",
|
|
644
704
|
"postcss-nesting": "^12.0.2",
|
|
645
|
-
"preact": "^10.19.
|
|
705
|
+
"preact": "^10.19.4",
|
|
646
706
|
"react": "^18.2.0",
|
|
647
707
|
"react-dom": "^18.2.0",
|
|
648
708
|
"shikiji": "^0.10.2",
|
|
649
709
|
"solid-js": "^1.8.14",
|
|
650
710
|
"svelte": "^4.2.10",
|
|
651
|
-
"tsup": "^8.0.
|
|
711
|
+
"tsup": "^8.0.2",
|
|
652
712
|
"typescript": "^5.3.3",
|
|
653
|
-
"vue": "^3.4.
|
|
713
|
+
"vue": "^3.4.18"
|
|
654
714
|
},
|
|
655
715
|
"scripts": {
|
|
656
716
|
"build:tsup": "tsup",
|
|
@@ -740,6 +800,9 @@
|
|
|
740
800
|
"lit/autocomplete-popover": [
|
|
741
801
|
"./dist/prosekit-lit-autocomplete-popover.d.ts"
|
|
742
802
|
],
|
|
803
|
+
"lit/block-popover": [
|
|
804
|
+
"./dist/prosekit-lit-block-popover.d.ts"
|
|
805
|
+
],
|
|
743
806
|
"lit/combo-box": [
|
|
744
807
|
"./dist/prosekit-lit-combo-box.d.ts"
|
|
745
808
|
],
|
|
@@ -752,6 +815,9 @@
|
|
|
752
815
|
"lit/combo-box-list": [
|
|
753
816
|
"./dist/prosekit-lit-combo-box-list.d.ts"
|
|
754
817
|
],
|
|
818
|
+
"lit/drag-handle": [
|
|
819
|
+
"./dist/prosekit-lit-drag-handle.d.ts"
|
|
820
|
+
],
|
|
755
821
|
"lit/inline-popover": [
|
|
756
822
|
"./dist/prosekit-lit-inline-popover.d.ts"
|
|
757
823
|
],
|
|
@@ -806,6 +872,9 @@
|
|
|
806
872
|
"preact/autocomplete-popover": [
|
|
807
873
|
"./dist/prosekit-preact-autocomplete-popover.d.ts"
|
|
808
874
|
],
|
|
875
|
+
"preact/block-popover": [
|
|
876
|
+
"./dist/prosekit-preact-block-popover.d.ts"
|
|
877
|
+
],
|
|
809
878
|
"preact/combo-box": [
|
|
810
879
|
"./dist/prosekit-preact-combo-box.d.ts"
|
|
811
880
|
],
|
|
@@ -818,6 +887,9 @@
|
|
|
818
887
|
"preact/combo-box-list": [
|
|
819
888
|
"./dist/prosekit-preact-combo-box-list.d.ts"
|
|
820
889
|
],
|
|
890
|
+
"preact/drag-handle": [
|
|
891
|
+
"./dist/prosekit-preact-drag-handle.d.ts"
|
|
892
|
+
],
|
|
821
893
|
"preact/inline-popover": [
|
|
822
894
|
"./dist/prosekit-preact-inline-popover.d.ts"
|
|
823
895
|
],
|
|
@@ -845,6 +917,9 @@
|
|
|
845
917
|
"react/autocomplete-popover": [
|
|
846
918
|
"./dist/prosekit-react-autocomplete-popover.d.ts"
|
|
847
919
|
],
|
|
920
|
+
"react/block-popover": [
|
|
921
|
+
"./dist/prosekit-react-block-popover.d.ts"
|
|
922
|
+
],
|
|
848
923
|
"react/combo-box": [
|
|
849
924
|
"./dist/prosekit-react-combo-box.d.ts"
|
|
850
925
|
],
|
|
@@ -857,6 +932,9 @@
|
|
|
857
932
|
"react/combo-box-list": [
|
|
858
933
|
"./dist/prosekit-react-combo-box-list.d.ts"
|
|
859
934
|
],
|
|
935
|
+
"react/drag-handle": [
|
|
936
|
+
"./dist/prosekit-react-drag-handle.d.ts"
|
|
937
|
+
],
|
|
860
938
|
"react/inline-popover": [
|
|
861
939
|
"./dist/prosekit-react-inline-popover.d.ts"
|
|
862
940
|
],
|
|
@@ -884,6 +962,9 @@
|
|
|
884
962
|
"solid/autocomplete-popover": [
|
|
885
963
|
"./dist/prosekit-solid-autocomplete-popover.d.ts"
|
|
886
964
|
],
|
|
965
|
+
"solid/block-popover": [
|
|
966
|
+
"./dist/prosekit-solid-block-popover.d.ts"
|
|
967
|
+
],
|
|
887
968
|
"solid/combo-box": [
|
|
888
969
|
"./dist/prosekit-solid-combo-box.d.ts"
|
|
889
970
|
],
|
|
@@ -896,6 +977,9 @@
|
|
|
896
977
|
"solid/combo-box-list": [
|
|
897
978
|
"./dist/prosekit-solid-combo-box-list.d.ts"
|
|
898
979
|
],
|
|
980
|
+
"solid/drag-handle": [
|
|
981
|
+
"./dist/prosekit-solid-drag-handle.d.ts"
|
|
982
|
+
],
|
|
899
983
|
"solid/inline-popover": [
|
|
900
984
|
"./dist/prosekit-solid-inline-popover.d.ts"
|
|
901
985
|
],
|
|
@@ -923,6 +1007,9 @@
|
|
|
923
1007
|
"svelte/autocomplete-popover": [
|
|
924
1008
|
"./dist/prosekit-svelte-autocomplete-popover.d.ts"
|
|
925
1009
|
],
|
|
1010
|
+
"svelte/block-popover": [
|
|
1011
|
+
"./dist/prosekit-svelte-block-popover.d.ts"
|
|
1012
|
+
],
|
|
926
1013
|
"svelte/combo-box": [
|
|
927
1014
|
"./dist/prosekit-svelte-combo-box.d.ts"
|
|
928
1015
|
],
|
|
@@ -935,6 +1022,9 @@
|
|
|
935
1022
|
"svelte/combo-box-list": [
|
|
936
1023
|
"./dist/prosekit-svelte-combo-box-list.d.ts"
|
|
937
1024
|
],
|
|
1025
|
+
"svelte/drag-handle": [
|
|
1026
|
+
"./dist/prosekit-svelte-drag-handle.d.ts"
|
|
1027
|
+
],
|
|
938
1028
|
"svelte/inline-popover": [
|
|
939
1029
|
"./dist/prosekit-svelte-inline-popover.d.ts"
|
|
940
1030
|
],
|
|
@@ -962,6 +1052,9 @@
|
|
|
962
1052
|
"vue/autocomplete-popover": [
|
|
963
1053
|
"./dist/prosekit-vue-autocomplete-popover.d.ts"
|
|
964
1054
|
],
|
|
1055
|
+
"vue/block-popover": [
|
|
1056
|
+
"./dist/prosekit-vue-block-popover.d.ts"
|
|
1057
|
+
],
|
|
965
1058
|
"vue/combo-box": [
|
|
966
1059
|
"./dist/prosekit-vue-combo-box.d.ts"
|
|
967
1060
|
],
|
|
@@ -974,6 +1067,9 @@
|
|
|
974
1067
|
"vue/combo-box-list": [
|
|
975
1068
|
"./dist/prosekit-vue-combo-box-list.d.ts"
|
|
976
1069
|
],
|
|
1070
|
+
"vue/drag-handle": [
|
|
1071
|
+
"./dist/prosekit-vue-drag-handle.d.ts"
|
|
1072
|
+
],
|
|
977
1073
|
"vue/inline-popover": [
|
|
978
1074
|
"./dist/prosekit-vue-inline-popover.d.ts"
|
|
979
1075
|
],
|