prosekit 0.0.21 → 0.0.23
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 +75 -24
- package/dist/prosekit-core.d.ts +4 -7
- package/dist/prosekit-extensions-image.d.ts +1 -0
- package/dist/prosekit-lit-popover.d.ts +5 -0
- package/dist/prosekit-lit-popover.js +2 -0
- package/dist/prosekit-preact-autocomplete-popover.d.ts +1 -1
- package/dist/prosekit-preact-popover.d.ts +2 -0
- package/dist/prosekit-preact-popover.js +2 -0
- package/dist/prosekit-react-autocomplete-popover.d.ts +1 -1
- package/dist/prosekit-react-popover.d.ts +2 -0
- package/dist/prosekit-react-popover.js +2 -0
- package/dist/prosekit-react.d.ts +4 -0
- package/dist/prosekit-solid-autocomplete-popover.d.ts +1 -1
- package/dist/prosekit-solid-popover.d.ts +2 -0
- package/dist/prosekit-solid-popover.js +2 -0
- package/dist/prosekit-svelte-popover.d.ts +2 -0
- package/dist/prosekit-svelte-popover.js +2 -0
- package/dist/prosekit-vue-autocomplete-popover.d.ts +1 -1
- package/dist/prosekit-vue-popover.d.ts +2 -0
- package/dist/prosekit-vue-popover.js +2 -0
- package/package.json +63 -15
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { addMark } from '@prosekit/core';
|
|
2
|
-
import { AddMarkOptions } from '@prosekit/core';
|
|
3
2
|
import { AddMarkStep } from '@prosekit/pm/transform';
|
|
4
3
|
import { AddNodeMarkStep } from '@prosekit/pm/transform';
|
|
5
4
|
import { AllSelection } from '@prosekit/pm/state';
|
|
@@ -56,6 +55,7 @@ import { AutocompletePopoverProps as AutocompletePopoverProps_alias_4 } from '@p
|
|
|
56
55
|
import { AutocompletePopoverProps as AutocompletePopoverProps_alias_5 } from '@prosekit/vue/autocomplete-popover';
|
|
57
56
|
import { AutocompleteRule } from '@prosekit/extensions/autocomplete';
|
|
58
57
|
import { autoJoin } from '@prosekit/pm/commands';
|
|
58
|
+
import { AutoUpdateOptions } from '@prosekit/lit/popover';
|
|
59
59
|
import { baseKeymap } from '@prosekit/pm/commands';
|
|
60
60
|
import { BasicExtension } from '@prosekit/basic';
|
|
61
61
|
import { canJoin } from '@prosekit/pm/transform';
|
|
@@ -162,6 +162,7 @@ import { defineHeadingKeymap } from '@prosekit/extensions/heading';
|
|
|
162
162
|
import { defineHeadingSpec } from '@prosekit/extensions/heading';
|
|
163
163
|
import { defineHistory } from '@prosekit/core';
|
|
164
164
|
import { defineImage } from '@prosekit/extensions/image';
|
|
165
|
+
import { defineImageCommands } from '@prosekit/extensions/image';
|
|
165
166
|
import { defineImageSpec } from '@prosekit/extensions/image';
|
|
166
167
|
import { defineInputRule } from '@prosekit/core';
|
|
167
168
|
import { defineItalic } from '@prosekit/extensions/italic';
|
|
@@ -182,9 +183,11 @@ import { defineMention } from '@prosekit/extensions/mention';
|
|
|
182
183
|
import { defineMentionSpec } from '@prosekit/extensions/mention';
|
|
183
184
|
import { defineNodeSpec } from '@prosekit/core';
|
|
184
185
|
import { defineNodeView } from '@prosekit/core';
|
|
186
|
+
import { defineNodeViewEffect } from '@prosekit/core';
|
|
185
187
|
import { defineParagraph } from '@prosekit/core';
|
|
186
188
|
import { definePlaceholder } from '@prosekit/extensions/placeholder';
|
|
187
189
|
import { definePlugin } from '@prosekit/core';
|
|
190
|
+
import { defineReactNodeView } from '@prosekit/react';
|
|
188
191
|
import { defineSuggestion } from '@prosekit/extensions/suggestion';
|
|
189
192
|
import { defineText } from '@prosekit/core';
|
|
190
193
|
import { deleteSelection } from '@prosekit/pm/commands';
|
|
@@ -223,6 +226,7 @@ import { history as history_2 } from '@prosekit/pm/history';
|
|
|
223
226
|
import { ImageAttrs } from '@prosekit/extensions/image';
|
|
224
227
|
import { InputRule } from '@prosekit/pm/inputrules';
|
|
225
228
|
import { inputRules } from '@prosekit/pm/inputrules';
|
|
229
|
+
import { insertNode } from '@prosekit/core';
|
|
226
230
|
import { insertPoint } from '@prosekit/pm/transform';
|
|
227
231
|
import { joinBackward } from '@prosekit/pm/commands';
|
|
228
232
|
import { joinDown } from '@prosekit/pm/commands';
|
|
@@ -259,6 +263,7 @@ import { NodeSpecOptions } from '@prosekit/core';
|
|
|
259
263
|
import { NodeType } from '@prosekit/pm/model';
|
|
260
264
|
import { NodeView } from '@prosekit/pm/view';
|
|
261
265
|
import { NodeViewConstructor } from '@prosekit/pm/view';
|
|
266
|
+
import { NodeViewEffectOptions } from '@prosekit/core';
|
|
262
267
|
import { NodeViewOptions } from '@prosekit/core';
|
|
263
268
|
import { openDoubleQuote } from '@prosekit/pm/inputrules';
|
|
264
269
|
import { openSingleQuote } from '@prosekit/pm/inputrules';
|
|
@@ -269,15 +274,28 @@ import { pcBaseKeymap } from '@prosekit/pm/commands';
|
|
|
269
274
|
import { PlaceholderOptions } from '@prosekit/extensions/placeholder';
|
|
270
275
|
import { Plugin as Plugin_2 } from '@prosekit/pm/state';
|
|
271
276
|
import { pluginFacet } from '@prosekit/core';
|
|
272
|
-
import { PluginFacetInput } from '@prosekit/core';
|
|
273
277
|
import { PluginKey } from '@prosekit/pm/state';
|
|
278
|
+
import { PluginPayload } from '@prosekit/core';
|
|
274
279
|
import { PluginSpec } from '@prosekit/pm/state';
|
|
275
280
|
import { PluginView } from '@prosekit/pm/state';
|
|
281
|
+
import { Popover } from '@prosekit/lit/popover';
|
|
282
|
+
import { Popover as Popover_alias_1 } from '@prosekit/preact/popover';
|
|
283
|
+
import { Popover as Popover_alias_2 } from '@prosekit/react/popover';
|
|
284
|
+
import { Popover as Popover_alias_3 } from '@prosekit/solid/popover';
|
|
285
|
+
import { Popover as Popover_alias_4 } from '@prosekit/svelte/popover';
|
|
286
|
+
import { Popover as Popover_alias_5 } from '@prosekit/vue/popover';
|
|
276
287
|
import { PopoverOptions } from '@prosekit/lit/autocomplete-popover';
|
|
277
|
-
import { PopoverOptions as PopoverOptions_alias_1 } from '@prosekit/
|
|
278
|
-
import { PopoverOptions as PopoverOptions_alias_2 } from '@prosekit/
|
|
279
|
-
import { PopoverOptions as PopoverOptions_alias_3 } from '@prosekit/
|
|
280
|
-
import { PopoverOptions as PopoverOptions_alias_4 } from '@prosekit/
|
|
288
|
+
import { PopoverOptions as PopoverOptions_alias_1 } from '@prosekit/lit/popover';
|
|
289
|
+
import { PopoverOptions as PopoverOptions_alias_2 } from '@prosekit/preact/autocomplete-popover';
|
|
290
|
+
import { PopoverOptions as PopoverOptions_alias_3 } from '@prosekit/react/autocomplete-popover';
|
|
291
|
+
import { PopoverOptions as PopoverOptions_alias_4 } from '@prosekit/solid/autocomplete-popover';
|
|
292
|
+
import { PopoverOptions as PopoverOptions_alias_5 } from '@prosekit/vue/autocomplete-popover';
|
|
293
|
+
import { PopoverProps } from '@prosekit/lit/popover';
|
|
294
|
+
import { PopoverProps as PopoverProps_alias_1 } from '@prosekit/preact/popover';
|
|
295
|
+
import { PopoverProps as PopoverProps_alias_2 } from '@prosekit/react/popover';
|
|
296
|
+
import { PopoverProps as PopoverProps_alias_3 } from '@prosekit/solid/popover';
|
|
297
|
+
import { PopoverProps as PopoverProps_alias_4 } from '@prosekit/svelte/popover';
|
|
298
|
+
import { PopoverProps as PopoverProps_alias_5 } from '@prosekit/vue/popover';
|
|
281
299
|
import { PredictionRule } from '@prosekit/extensions/suggestion';
|
|
282
300
|
import { Priority } from '@prosekit/core';
|
|
283
301
|
import { propNames } from '@prosekit/lit/autocomplete-empty';
|
|
@@ -289,6 +307,7 @@ import { propNames as propNames_alias_5 } from '@prosekit/lit/combo-box-input';
|
|
|
289
307
|
import { propNames as propNames_alias_6 } from '@prosekit/lit/combo-box-item';
|
|
290
308
|
import { propNames as propNames_alias_7 } from '@prosekit/lit/combo-box-list';
|
|
291
309
|
import { propNames as propNames_alias_8 } from '@prosekit/lit/combo-box';
|
|
310
|
+
import { propNames as propNames_alias_9 } from '@prosekit/lit/popover';
|
|
292
311
|
import { ProseKit } from '@prosekit/preact';
|
|
293
312
|
import { ProseKit as ProseKit_alias_1 } from '@prosekit/react';
|
|
294
313
|
import { ProseKit as ProseKit_alias_2 } from '@prosekit/solid';
|
|
@@ -302,6 +321,8 @@ import { ProseKitProps as ProseKitProps_alias_3 } from '@prosekit/vue';
|
|
|
302
321
|
import { ProseMirrorFragment } from '@prosekit/pm/model';
|
|
303
322
|
import { ProseMirrorNode } from '@prosekit/pm/model';
|
|
304
323
|
import { ProseMirrorPlugin } from '@prosekit/pm/state';
|
|
324
|
+
import { ReactNodeViewComponentProps } from '@prosekit/react';
|
|
325
|
+
import { ReactNodeViewOptions } from '@prosekit/react';
|
|
305
326
|
import { redo } from '@prosekit/pm/history';
|
|
306
327
|
import { redoDepth } from '@prosekit/pm/history';
|
|
307
328
|
import { RemoveMarkStep } from '@prosekit/pm/transform';
|
|
@@ -331,8 +352,6 @@ import { smartQuotes } from '@prosekit/pm/inputrules';
|
|
|
331
352
|
import { splitBlock } from '@prosekit/pm/commands';
|
|
332
353
|
import { splitBlockAs } from '@prosekit/pm/commands';
|
|
333
354
|
import { splitBlockKeepMarks } from '@prosekit/pm/commands';
|
|
334
|
-
import { StateConfigCallback } from '@prosekit/core';
|
|
335
|
-
import { StateConfigContext } from '@prosekit/core';
|
|
336
355
|
import { StateField } from '@prosekit/pm/state';
|
|
337
356
|
import { StateJson } from '@prosekit/core';
|
|
338
357
|
import { Step } from '@prosekit/pm/transform';
|
|
@@ -343,9 +362,7 @@ import { textblockTypeInputRule } from '@prosekit/pm/inputrules';
|
|
|
343
362
|
import { TextSelection } from '@prosekit/pm/state';
|
|
344
363
|
import { toggleMark } from '@prosekit/core';
|
|
345
364
|
import { toggleMark as toggleMark_alias_1 } from '@prosekit/pm/commands';
|
|
346
|
-
import { ToggleMarkOptions } from '@prosekit/core';
|
|
347
365
|
import { toggleNode } from '@prosekit/core';
|
|
348
|
-
import { ToggleNodeOptions } from '@prosekit/core';
|
|
349
366
|
import { Transaction } from '@prosekit/pm/state';
|
|
350
367
|
import { Transform } from '@prosekit/pm/transform';
|
|
351
368
|
import { undo } from '@prosekit/pm/history';
|
|
@@ -365,15 +382,13 @@ import { useKeymap } from '@prosekit/preact';
|
|
|
365
382
|
import { useKeymap as useKeymap_alias_1 } from '@prosekit/react';
|
|
366
383
|
import { useKeymap as useKeymap_alias_2 } from '@prosekit/solid';
|
|
367
384
|
import { useKeymap as useKeymap_alias_3 } from '@prosekit/vue';
|
|
368
|
-
import {
|
|
385
|
+
import { useNodeViewContext } from '@prosekit/react';
|
|
369
386
|
import { withPriority } from '@prosekit/core';
|
|
370
387
|
import { wrapIn } from '@prosekit/pm/commands';
|
|
371
388
|
import { wrappingInputRule } from '@prosekit/pm/inputrules';
|
|
372
389
|
|
|
373
390
|
export { addMark }
|
|
374
391
|
|
|
375
|
-
export { AddMarkOptions }
|
|
376
|
-
|
|
377
392
|
export { AddMarkStep }
|
|
378
393
|
|
|
379
394
|
export { AddNodeMarkStep }
|
|
@@ -486,6 +501,8 @@ export { AutocompleteRule }
|
|
|
486
501
|
|
|
487
502
|
export { autoJoin }
|
|
488
503
|
|
|
504
|
+
export { AutoUpdateOptions }
|
|
505
|
+
|
|
489
506
|
export { baseKeymap }
|
|
490
507
|
|
|
491
508
|
export { BasicExtension }
|
|
@@ -700,6 +717,8 @@ export { defineHistory }
|
|
|
700
717
|
|
|
701
718
|
export { defineImage }
|
|
702
719
|
|
|
720
|
+
export { defineImageCommands }
|
|
721
|
+
|
|
703
722
|
export { defineImageSpec }
|
|
704
723
|
|
|
705
724
|
export { defineInputRule }
|
|
@@ -740,12 +759,16 @@ export { defineNodeSpec }
|
|
|
740
759
|
|
|
741
760
|
export { defineNodeView }
|
|
742
761
|
|
|
762
|
+
export { defineNodeViewEffect }
|
|
763
|
+
|
|
743
764
|
export { defineParagraph }
|
|
744
765
|
|
|
745
766
|
export { definePlaceholder }
|
|
746
767
|
|
|
747
768
|
export { definePlugin }
|
|
748
769
|
|
|
770
|
+
export { defineReactNodeView }
|
|
771
|
+
|
|
749
772
|
export { defineSuggestion }
|
|
750
773
|
|
|
751
774
|
export { defineText }
|
|
@@ -822,6 +845,8 @@ export { InputRule }
|
|
|
822
845
|
|
|
823
846
|
export { inputRules }
|
|
824
847
|
|
|
848
|
+
export { insertNode }
|
|
849
|
+
|
|
825
850
|
export { insertPoint }
|
|
826
851
|
|
|
827
852
|
export { joinBackward }
|
|
@@ -894,6 +919,8 @@ export { NodeView }
|
|
|
894
919
|
|
|
895
920
|
export { NodeViewConstructor }
|
|
896
921
|
|
|
922
|
+
export { NodeViewEffectOptions }
|
|
923
|
+
|
|
897
924
|
export { NodeViewOptions }
|
|
898
925
|
|
|
899
926
|
export { openDoubleQuote }
|
|
@@ -912,14 +939,26 @@ export { Plugin_2 as Plugin }
|
|
|
912
939
|
|
|
913
940
|
export { pluginFacet }
|
|
914
941
|
|
|
915
|
-
export { PluginFacetInput }
|
|
916
|
-
|
|
917
942
|
export { PluginKey }
|
|
918
943
|
|
|
944
|
+
export { PluginPayload }
|
|
945
|
+
|
|
919
946
|
export { PluginSpec }
|
|
920
947
|
|
|
921
948
|
export { PluginView }
|
|
922
949
|
|
|
950
|
+
export { Popover }
|
|
951
|
+
|
|
952
|
+
export { Popover_alias_1 }
|
|
953
|
+
|
|
954
|
+
export { Popover_alias_2 }
|
|
955
|
+
|
|
956
|
+
export { Popover_alias_3 }
|
|
957
|
+
|
|
958
|
+
export { Popover_alias_4 }
|
|
959
|
+
|
|
960
|
+
export { Popover_alias_5 }
|
|
961
|
+
|
|
923
962
|
export { PopoverOptions }
|
|
924
963
|
|
|
925
964
|
export { PopoverOptions_alias_1 }
|
|
@@ -930,6 +969,20 @@ export { PopoverOptions_alias_3 }
|
|
|
930
969
|
|
|
931
970
|
export { PopoverOptions_alias_4 }
|
|
932
971
|
|
|
972
|
+
export { PopoverOptions_alias_5 }
|
|
973
|
+
|
|
974
|
+
export { PopoverProps }
|
|
975
|
+
|
|
976
|
+
export { PopoverProps_alias_1 }
|
|
977
|
+
|
|
978
|
+
export { PopoverProps_alias_2 }
|
|
979
|
+
|
|
980
|
+
export { PopoverProps_alias_3 }
|
|
981
|
+
|
|
982
|
+
export { PopoverProps_alias_4 }
|
|
983
|
+
|
|
984
|
+
export { PopoverProps_alias_5 }
|
|
985
|
+
|
|
933
986
|
export { PredictionRule }
|
|
934
987
|
|
|
935
988
|
export { Priority }
|
|
@@ -952,6 +1005,8 @@ export { propNames_alias_7 }
|
|
|
952
1005
|
|
|
953
1006
|
export { propNames_alias_8 }
|
|
954
1007
|
|
|
1008
|
+
export { propNames_alias_9 }
|
|
1009
|
+
|
|
955
1010
|
export { ProseKit }
|
|
956
1011
|
|
|
957
1012
|
export { ProseKit_alias_1 }
|
|
@@ -978,6 +1033,10 @@ export { ProseMirrorNode }
|
|
|
978
1033
|
|
|
979
1034
|
export { ProseMirrorPlugin }
|
|
980
1035
|
|
|
1036
|
+
export { ReactNodeViewComponentProps }
|
|
1037
|
+
|
|
1038
|
+
export { ReactNodeViewOptions }
|
|
1039
|
+
|
|
981
1040
|
export { redo }
|
|
982
1041
|
|
|
983
1042
|
export { redoDepth }
|
|
@@ -1036,10 +1095,6 @@ export { splitBlockAs }
|
|
|
1036
1095
|
|
|
1037
1096
|
export { splitBlockKeepMarks }
|
|
1038
1097
|
|
|
1039
|
-
export { StateConfigCallback }
|
|
1040
|
-
|
|
1041
|
-
export { StateConfigContext }
|
|
1042
|
-
|
|
1043
1098
|
export { StateField }
|
|
1044
1099
|
|
|
1045
1100
|
export { StateJson }
|
|
@@ -1060,12 +1115,8 @@ export { toggleMark }
|
|
|
1060
1115
|
|
|
1061
1116
|
export { toggleMark_alias_1 }
|
|
1062
1117
|
|
|
1063
|
-
export { ToggleMarkOptions }
|
|
1064
|
-
|
|
1065
1118
|
export { toggleNode }
|
|
1066
1119
|
|
|
1067
|
-
export { ToggleNodeOptions }
|
|
1068
|
-
|
|
1069
1120
|
export { Transaction }
|
|
1070
1121
|
|
|
1071
1122
|
export { Transform }
|
|
@@ -1104,7 +1155,7 @@ export { useKeymap_alias_2 }
|
|
|
1104
1155
|
|
|
1105
1156
|
export { useKeymap_alias_3 }
|
|
1106
1157
|
|
|
1107
|
-
export {
|
|
1158
|
+
export { useNodeViewContext }
|
|
1108
1159
|
|
|
1109
1160
|
export { withPriority }
|
|
1110
1161
|
|
package/dist/prosekit-core.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export { addMark } from './_tsup-dts-rollup';
|
|
2
|
-
export { AddMarkOptions } from './_tsup-dts-rollup';
|
|
3
2
|
export { toggleMark } from './_tsup-dts-rollup';
|
|
4
|
-
export {
|
|
3
|
+
export { insertNode } from './_tsup-dts-rollup';
|
|
5
4
|
export { toggleNode } from './_tsup-dts-rollup';
|
|
6
|
-
export { ToggleNodeOptions } from './_tsup-dts-rollup';
|
|
7
5
|
export { Editor } from './_tsup-dts-rollup';
|
|
8
6
|
export { createEditor } from './_tsup-dts-rollup';
|
|
9
7
|
export { EditorOptions } from './_tsup-dts-rollup';
|
|
@@ -30,10 +28,12 @@ export { defineNodeSpec } from './_tsup-dts-rollup';
|
|
|
30
28
|
export { NodeSpecOptions } from './_tsup-dts-rollup';
|
|
31
29
|
export { defineNodeView } from './_tsup-dts-rollup';
|
|
32
30
|
export { NodeViewOptions } from './_tsup-dts-rollup';
|
|
31
|
+
export { defineNodeViewEffect } from './_tsup-dts-rollup';
|
|
32
|
+
export { NodeViewEffectOptions } from './_tsup-dts-rollup';
|
|
33
33
|
export { defineParagraph } from './_tsup-dts-rollup';
|
|
34
34
|
export { definePlugin } from './_tsup-dts-rollup';
|
|
35
35
|
export { pluginFacet } from './_tsup-dts-rollup';
|
|
36
|
-
export {
|
|
36
|
+
export { PluginPayload } from './_tsup-dts-rollup';
|
|
37
37
|
export { defineText } from './_tsup-dts-rollup';
|
|
38
38
|
export { CommandArgs } from './_tsup-dts-rollup';
|
|
39
39
|
export { Extension } from './_tsup-dts-rollup';
|
|
@@ -50,6 +50,3 @@ export { Priority } from './_tsup-dts-rollup';
|
|
|
50
50
|
export { SimplifyUnion } from './_tsup-dts-rollup';
|
|
51
51
|
export { getMarkType } from './_tsup-dts-rollup';
|
|
52
52
|
export { getNodeType } from './_tsup-dts-rollup';
|
|
53
|
-
export { StateConfigContext } from './_tsup-dts-rollup';
|
|
54
|
-
export { StateConfigCallback } from './_tsup-dts-rollup';
|
|
55
|
-
export { ViewProps } from './_tsup-dts-rollup';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AutoUpdateOptions } from './_tsup-dts-rollup';
|
|
2
|
+
export { PopoverOptions_alias_1 as PopoverOptions } from './_tsup-dts-rollup';
|
|
3
|
+
export { propNames_alias_9 as propNames } from './_tsup-dts-rollup';
|
|
4
|
+
export { PopoverProps } from './_tsup-dts-rollup';
|
|
5
|
+
export { Popover } from './_tsup-dts-rollup';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PopoverOptions_alias_2 as PopoverOptions } from './_tsup-dts-rollup';
|
|
2
2
|
export { AutocompletePopover_alias_1 as AutocompletePopover } from './_tsup-dts-rollup';
|
|
3
3
|
export { AutocompletePopoverProps_alias_1 as AutocompletePopoverProps } from './_tsup-dts-rollup';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PopoverOptions_alias_3 as PopoverOptions } from './_tsup-dts-rollup';
|
|
2
2
|
export { AutocompletePopover_alias_2 as AutocompletePopover } from './_tsup-dts-rollup';
|
|
3
3
|
export { AutocompletePopoverProps_alias_2 as AutocompletePopoverProps } from './_tsup-dts-rollup';
|
package/dist/prosekit-react.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
export { useNodeViewContext } from './_tsup-dts-rollup';
|
|
1
2
|
export { ProseKit_alias_1 as ProseKit } from './_tsup-dts-rollup';
|
|
2
3
|
export { ProseKitProps_alias_1 as ProseKitProps } from './_tsup-dts-rollup';
|
|
4
|
+
export { defineReactNodeView } from './_tsup-dts-rollup';
|
|
5
|
+
export { ReactNodeViewComponentProps } from './_tsup-dts-rollup';
|
|
6
|
+
export { ReactNodeViewOptions } from './_tsup-dts-rollup';
|
|
3
7
|
export { useEditor_alias_1 as useEditor } from './_tsup-dts-rollup';
|
|
4
8
|
export { UseEditorOptions } from './_tsup-dts-rollup';
|
|
5
9
|
export { useExtension_alias_1 as useExtension } from './_tsup-dts-rollup';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PopoverOptions_alias_4 as PopoverOptions } from './_tsup-dts-rollup';
|
|
2
2
|
export { AutocompletePopover_alias_3 as AutocompletePopover } from './_tsup-dts-rollup';
|
|
3
3
|
export { AutocompletePopoverProps_alias_3 as AutocompletePopoverProps } from './_tsup-dts-rollup';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { PopoverOptions_alias_5 as PopoverOptions } from './_tsup-dts-rollup';
|
|
2
2
|
export { AutocompletePopover_alias_5 as AutocompletePopover } from './_tsup-dts-rollup';
|
|
3
3
|
export { AutocompletePopoverProps_alias_5 as AutocompletePopoverProps } 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.0.
|
|
4
|
+
"version": "0.0.23",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -175,6 +175,11 @@
|
|
|
175
175
|
"import": "./dist/prosekit-lit-combo-box-list.js",
|
|
176
176
|
"default": "./dist/prosekit-lit-combo-box-list.js"
|
|
177
177
|
},
|
|
178
|
+
"./lit/popover": {
|
|
179
|
+
"types": "./dist/prosekit-lit-popover.d.ts",
|
|
180
|
+
"import": "./dist/prosekit-lit-popover.js",
|
|
181
|
+
"default": "./dist/prosekit-lit-popover.js"
|
|
182
|
+
},
|
|
178
183
|
"./pm": {
|
|
179
184
|
"types": "./dist/prosekit-pm.d.ts",
|
|
180
185
|
"import": "./dist/prosekit-pm.js",
|
|
@@ -273,6 +278,11 @@
|
|
|
273
278
|
"import": "./dist/prosekit-preact-combo-box-list.js",
|
|
274
279
|
"default": "./dist/prosekit-preact-combo-box-list.js"
|
|
275
280
|
},
|
|
281
|
+
"./preact/popover": {
|
|
282
|
+
"types": "./dist/prosekit-preact-popover.d.ts",
|
|
283
|
+
"import": "./dist/prosekit-preact-popover.js",
|
|
284
|
+
"default": "./dist/prosekit-preact-popover.js"
|
|
285
|
+
},
|
|
276
286
|
"./react": {
|
|
277
287
|
"types": "./dist/prosekit-react.d.ts",
|
|
278
288
|
"import": "./dist/prosekit-react.js",
|
|
@@ -323,6 +333,11 @@
|
|
|
323
333
|
"import": "./dist/prosekit-react-combo-box-list.js",
|
|
324
334
|
"default": "./dist/prosekit-react-combo-box-list.js"
|
|
325
335
|
},
|
|
336
|
+
"./react/popover": {
|
|
337
|
+
"types": "./dist/prosekit-react-popover.d.ts",
|
|
338
|
+
"import": "./dist/prosekit-react-popover.js",
|
|
339
|
+
"default": "./dist/prosekit-react-popover.js"
|
|
340
|
+
},
|
|
326
341
|
"./solid": {
|
|
327
342
|
"types": "./dist/prosekit-solid.d.ts",
|
|
328
343
|
"import": "./dist/prosekit-solid.js",
|
|
@@ -373,6 +388,11 @@
|
|
|
373
388
|
"import": "./dist/prosekit-solid-combo-box-list.js",
|
|
374
389
|
"default": "./dist/prosekit-solid-combo-box-list.js"
|
|
375
390
|
},
|
|
391
|
+
"./solid/popover": {
|
|
392
|
+
"types": "./dist/prosekit-solid-popover.d.ts",
|
|
393
|
+
"import": "./dist/prosekit-solid-popover.js",
|
|
394
|
+
"default": "./dist/prosekit-solid-popover.js"
|
|
395
|
+
},
|
|
376
396
|
"./svelte": {
|
|
377
397
|
"types": "./dist/prosekit-svelte.d.ts",
|
|
378
398
|
"import": "./dist/prosekit-svelte.js",
|
|
@@ -423,6 +443,11 @@
|
|
|
423
443
|
"import": "./dist/prosekit-svelte-combo-box-list.js",
|
|
424
444
|
"default": "./dist/prosekit-svelte-combo-box-list.js"
|
|
425
445
|
},
|
|
446
|
+
"./svelte/popover": {
|
|
447
|
+
"types": "./dist/prosekit-svelte-popover.d.ts",
|
|
448
|
+
"import": "./dist/prosekit-svelte-popover.js",
|
|
449
|
+
"default": "./dist/prosekit-svelte-popover.js"
|
|
450
|
+
},
|
|
426
451
|
"./vue": {
|
|
427
452
|
"types": "./dist/prosekit-vue.d.ts",
|
|
428
453
|
"import": "./dist/prosekit-vue.js",
|
|
@@ -472,22 +497,27 @@
|
|
|
472
497
|
"types": "./dist/prosekit-vue-combo-box-list.d.ts",
|
|
473
498
|
"import": "./dist/prosekit-vue-combo-box-list.js",
|
|
474
499
|
"default": "./dist/prosekit-vue-combo-box-list.js"
|
|
500
|
+
},
|
|
501
|
+
"./vue/popover": {
|
|
502
|
+
"types": "./dist/prosekit-vue-popover.d.ts",
|
|
503
|
+
"import": "./dist/prosekit-vue-popover.js",
|
|
504
|
+
"default": "./dist/prosekit-vue-popover.js"
|
|
475
505
|
}
|
|
476
506
|
},
|
|
477
507
|
"files": [
|
|
478
508
|
"dist"
|
|
479
509
|
],
|
|
480
510
|
"dependencies": {
|
|
481
|
-
"@prosekit/basic": "0.0.
|
|
482
|
-
"@prosekit/core": "0.0.
|
|
483
|
-
"@prosekit/extensions": "0.0.
|
|
484
|
-
"@prosekit/lit": "0.0.
|
|
511
|
+
"@prosekit/basic": "0.0.18",
|
|
512
|
+
"@prosekit/core": "0.0.14",
|
|
513
|
+
"@prosekit/extensions": "0.0.16",
|
|
514
|
+
"@prosekit/lit": "0.0.18",
|
|
485
515
|
"@prosekit/pm": "0.0.6",
|
|
486
|
-
"@prosekit/preact": "0.0.
|
|
487
|
-
"@prosekit/react": "0.0.
|
|
488
|
-
"@prosekit/solid": "0.0.
|
|
489
|
-
"@prosekit/svelte": "0.0.
|
|
490
|
-
"@prosekit/vue": "0.0.
|
|
516
|
+
"@prosekit/preact": "0.0.15",
|
|
517
|
+
"@prosekit/react": "0.0.18",
|
|
518
|
+
"@prosekit/solid": "0.0.16",
|
|
519
|
+
"@prosekit/svelte": "0.0.16",
|
|
520
|
+
"@prosekit/vue": "0.0.19"
|
|
491
521
|
},
|
|
492
522
|
"peerDependencies": {
|
|
493
523
|
"preact": ">= 9.0.0",
|
|
@@ -519,16 +549,16 @@
|
|
|
519
549
|
},
|
|
520
550
|
"devDependencies": {
|
|
521
551
|
"@prosekit/dev": "*",
|
|
522
|
-
"@types/react": "^18.2.
|
|
523
|
-
"@types/react-dom": "^18.2.
|
|
552
|
+
"@types/react": "^18.2.31",
|
|
553
|
+
"@types/react-dom": "^18.2.14",
|
|
524
554
|
"preact": "^10.18.1",
|
|
525
555
|
"react": "^18.2.0",
|
|
526
556
|
"react-dom": "^18.2.0",
|
|
527
|
-
"solid-js": "^1.8.
|
|
528
|
-
"svelte": "^4.2.
|
|
557
|
+
"solid-js": "^1.8.3",
|
|
558
|
+
"svelte": "^4.2.2",
|
|
529
559
|
"tsup": "^7.2.0",
|
|
530
560
|
"typescript": "^5.2.2",
|
|
531
|
-
"vue": "^3.3.
|
|
561
|
+
"vue": "^3.3.6"
|
|
532
562
|
},
|
|
533
563
|
"scripts": {
|
|
534
564
|
"build:tsup": "tsup",
|
|
@@ -618,6 +648,9 @@
|
|
|
618
648
|
"lit/combo-box-list": [
|
|
619
649
|
"./dist/prosekit-lit-combo-box-list.d.ts"
|
|
620
650
|
],
|
|
651
|
+
"lit/popover": [
|
|
652
|
+
"./dist/prosekit-lit-popover.d.ts"
|
|
653
|
+
],
|
|
621
654
|
"pm": [
|
|
622
655
|
"./dist/prosekit-pm.d.ts"
|
|
623
656
|
],
|
|
@@ -675,6 +708,9 @@
|
|
|
675
708
|
"preact/combo-box-list": [
|
|
676
709
|
"./dist/prosekit-preact-combo-box-list.d.ts"
|
|
677
710
|
],
|
|
711
|
+
"preact/popover": [
|
|
712
|
+
"./dist/prosekit-preact-popover.d.ts"
|
|
713
|
+
],
|
|
678
714
|
"react": [
|
|
679
715
|
"./dist/prosekit-react.d.ts"
|
|
680
716
|
],
|
|
@@ -705,6 +741,9 @@
|
|
|
705
741
|
"react/combo-box-list": [
|
|
706
742
|
"./dist/prosekit-react-combo-box-list.d.ts"
|
|
707
743
|
],
|
|
744
|
+
"react/popover": [
|
|
745
|
+
"./dist/prosekit-react-popover.d.ts"
|
|
746
|
+
],
|
|
708
747
|
"solid": [
|
|
709
748
|
"./dist/prosekit-solid.d.ts"
|
|
710
749
|
],
|
|
@@ -735,6 +774,9 @@
|
|
|
735
774
|
"solid/combo-box-list": [
|
|
736
775
|
"./dist/prosekit-solid-combo-box-list.d.ts"
|
|
737
776
|
],
|
|
777
|
+
"solid/popover": [
|
|
778
|
+
"./dist/prosekit-solid-popover.d.ts"
|
|
779
|
+
],
|
|
738
780
|
"svelte": [
|
|
739
781
|
"./dist/prosekit-svelte.d.ts"
|
|
740
782
|
],
|
|
@@ -765,6 +807,9 @@
|
|
|
765
807
|
"svelte/combo-box-list": [
|
|
766
808
|
"./dist/prosekit-svelte-combo-box-list.d.ts"
|
|
767
809
|
],
|
|
810
|
+
"svelte/popover": [
|
|
811
|
+
"./dist/prosekit-svelte-popover.d.ts"
|
|
812
|
+
],
|
|
768
813
|
"vue": [
|
|
769
814
|
"./dist/prosekit-vue.d.ts"
|
|
770
815
|
],
|
|
@@ -794,6 +839,9 @@
|
|
|
794
839
|
],
|
|
795
840
|
"vue/combo-box-list": [
|
|
796
841
|
"./dist/prosekit-vue-combo-box-list.d.ts"
|
|
842
|
+
],
|
|
843
|
+
"vue/popover": [
|
|
844
|
+
"./dist/prosekit-vue-popover.d.ts"
|
|
797
845
|
]
|
|
798
846
|
}
|
|
799
847
|
}
|