prosekit 0.0.28 → 0.1.0
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 +44 -71
- package/dist/basic/style.css +1 -1
- package/dist/core/style.css +1 -1
- package/dist/pm/view/style/prosemirror.css +1 -1
- package/dist/prosekit-core.d.ts +10 -8
- 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-inline-popover.d.ts +1 -1
- package/dist/prosekit-lit-popover.d.ts +1 -1
- package/dist/prosekit-svelte.d.ts +3 -1
- package/dist/prosekit-vue.d.ts +2 -2
- package/package.json +15 -63
- package/dist/prosekit-lit-code-block-popover.d.ts +0 -3
- package/dist/prosekit-lit-code-block-popover.js +0 -2
- package/dist/prosekit-preact-code-block-popover.d.ts +0 -2
- package/dist/prosekit-preact-code-block-popover.js +0 -2
- package/dist/prosekit-react-code-block-popover.d.ts +0 -2
- package/dist/prosekit-react-code-block-popover.js +0 -2
- package/dist/prosekit-solid-code-block-popover.d.ts +0 -2
- package/dist/prosekit-solid-code-block-popover.js +0 -2
- package/dist/prosekit-svelte-code-block-popover.d.ts +0 -2
- package/dist/prosekit-svelte-code-block-popover.js +0 -2
- package/dist/prosekit-vue-code-block-popover.d.ts +0 -2
- package/dist/prosekit-vue-code-block-popover.js +0 -2
|
@@ -65,18 +65,6 @@ import { closeDoubleQuote } from '@prosekit/pm/inputrules';
|
|
|
65
65
|
import { closeHistory } from '@prosekit/pm/history';
|
|
66
66
|
import { closeSingleQuote } from '@prosekit/pm/inputrules';
|
|
67
67
|
import { CodeBlockAttrs } from '@prosekit/extensions/code-block';
|
|
68
|
-
import { CodeBlockPopover } from '@prosekit/lit/code-block-popover';
|
|
69
|
-
import { CodeBlockPopover as CodeBlockPopover_alias_1 } from '@prosekit/preact/code-block-popover';
|
|
70
|
-
import { CodeBlockPopover as CodeBlockPopover_alias_2 } from '@prosekit/react/code-block-popover';
|
|
71
|
-
import { CodeBlockPopover as CodeBlockPopover_alias_3 } from '@prosekit/solid/code-block-popover';
|
|
72
|
-
import { CodeBlockPopover as CodeBlockPopover_alias_4 } from '@prosekit/svelte/code-block-popover';
|
|
73
|
-
import { CodeBlockPopover as CodeBlockPopover_alias_5 } from '@prosekit/vue/code-block-popover';
|
|
74
|
-
import { CodeBlockPopoverProps } from '@prosekit/lit/code-block-popover';
|
|
75
|
-
import { CodeBlockPopoverProps as CodeBlockPopoverProps_alias_1 } from '@prosekit/preact/code-block-popover';
|
|
76
|
-
import { CodeBlockPopoverProps as CodeBlockPopoverProps_alias_2 } from '@prosekit/react/code-block-popover';
|
|
77
|
-
import { CodeBlockPopoverProps as CodeBlockPopoverProps_alias_3 } from '@prosekit/solid/code-block-popover';
|
|
78
|
-
import { CodeBlockPopoverProps as CodeBlockPopoverProps_alias_4 } from '@prosekit/svelte/code-block-popover';
|
|
79
|
-
import { CodeBlockPopoverProps as CodeBlockPopoverProps_alias_5 } from '@prosekit/vue/code-block-popover';
|
|
80
68
|
import { ComboBox } from '@prosekit/lit/combo-box';
|
|
81
69
|
import { ComboBox as ComboBox_alias_1 } from '@prosekit/preact/combo-box';
|
|
82
70
|
import { ComboBox as ComboBox_alias_2 } from '@prosekit/react/combo-box';
|
|
@@ -155,7 +143,6 @@ import { defineCodeSpec } from '@prosekit/extensions/code';
|
|
|
155
143
|
import { defineCommands } from '@prosekit/core';
|
|
156
144
|
import { defineDefaultState } from '@prosekit/core';
|
|
157
145
|
import { defineDoc } from '@prosekit/core';
|
|
158
|
-
import { defineEventHandler } from '@prosekit/core';
|
|
159
146
|
import { defineHeading } from '@prosekit/extensions/heading';
|
|
160
147
|
import { defineHeadingCommands } from '@prosekit/extensions/heading';
|
|
161
148
|
import { defineHeadingInputRule } from '@prosekit/extensions/heading';
|
|
@@ -201,6 +188,7 @@ import { defineUnderline } from '@prosekit/extensions/underline';
|
|
|
201
188
|
import { defineUnderlineCommands } from '@prosekit/extensions/underline';
|
|
202
189
|
import { defineUnderlineKeymap } from '@prosekit/extensions/underline';
|
|
203
190
|
import { defineUnderlineSpec } from '@prosekit/extensions/underline';
|
|
191
|
+
import { defineUpdateHandler } from '@prosekit/core';
|
|
204
192
|
import { deleteSelection } from '@prosekit/pm/commands';
|
|
205
193
|
import { DirectEditorProps } from '@prosekit/pm/view';
|
|
206
194
|
import { DocAttrStep } from '@prosekit/pm/transform';
|
|
@@ -215,8 +203,6 @@ import { EditorProps } from '@prosekit/pm/view';
|
|
|
215
203
|
import { EditorState } from '@prosekit/pm/state';
|
|
216
204
|
import { EditorStateConfig } from '@prosekit/pm/state';
|
|
217
205
|
import { EditorView } from '@prosekit/pm/view';
|
|
218
|
-
import { elementToJSON } from '@prosekit/core';
|
|
219
|
-
import { elementToNode } from '@prosekit/core';
|
|
220
206
|
import { ellipsis } from '@prosekit/pm/inputrules';
|
|
221
207
|
import { emDash } from '@prosekit/pm/inputrules';
|
|
222
208
|
import { exitCode } from '@prosekit/pm/commands';
|
|
@@ -230,13 +216,10 @@ import { Facet } from '@prosekit/core';
|
|
|
230
216
|
import { FacetOptions } from '@prosekit/core';
|
|
231
217
|
import { findWrapping } from '@prosekit/pm/transform';
|
|
232
218
|
import { Fragment } from '@prosekit/pm/model';
|
|
233
|
-
import { getEditor } from '@prosekit/svelte';
|
|
234
219
|
import { getMarkType } from '@prosekit/core';
|
|
235
220
|
import { getNodeType } from '@prosekit/core';
|
|
236
221
|
import { HeadingAttrs } from '@prosekit/extensions/heading';
|
|
237
222
|
import { history as history_2 } from '@prosekit/pm/history';
|
|
238
|
-
import { htmlToJSON } from '@prosekit/core';
|
|
239
|
-
import { htmlToNode } from '@prosekit/core';
|
|
240
223
|
import { ImageAttrs } from '@prosekit/extensions/image';
|
|
241
224
|
import { InlinePopover } from '@prosekit/lit/inline-popover';
|
|
242
225
|
import { InlinePopover as InlinePopover_alias_1 } from '@prosekit/preact/inline-popover';
|
|
@@ -266,6 +249,10 @@ import { joinPoint } from '@prosekit/pm/transform';
|
|
|
266
249
|
import { joinTextblockBackward } from '@prosekit/pm/commands';
|
|
267
250
|
import { joinTextblockForward } from '@prosekit/pm/commands';
|
|
268
251
|
import { joinUp } from '@prosekit/pm/commands';
|
|
252
|
+
import { jsonFromElement } from '@prosekit/core';
|
|
253
|
+
import { jsonFromHTML } from '@prosekit/core';
|
|
254
|
+
import { jsonFromNode } from '@prosekit/core';
|
|
255
|
+
import { jsonFromState } from '@prosekit/core';
|
|
269
256
|
import { keydownHandler } from '@prosekit/pm/keymap';
|
|
270
257
|
import { Keymap } from '@prosekit/core';
|
|
271
258
|
import { keymap } from '@prosekit/pm/keymap';
|
|
@@ -286,7 +273,9 @@ import { MatchHandler } from '@prosekit/extensions/autocomplete';
|
|
|
286
273
|
import { MentionAttrs } from '@prosekit/extensions/mention';
|
|
287
274
|
import { newlineInCode } from '@prosekit/pm/commands';
|
|
288
275
|
import { Node as Node_2 } from '@prosekit/pm/model';
|
|
289
|
-
import {
|
|
276
|
+
import { nodeFromElement } from '@prosekit/core';
|
|
277
|
+
import { nodeFromHTML } from '@prosekit/core';
|
|
278
|
+
import { NodeJSON } from '@prosekit/core';
|
|
290
279
|
import { NodeRange } from '@prosekit/pm/model';
|
|
291
280
|
import { NodeSelection } from '@prosekit/pm/state';
|
|
292
281
|
import { NodeSpec } from '@prosekit/pm/model';
|
|
@@ -333,15 +322,14 @@ import { PredictionRule } from '@prosekit/extensions/suggestion';
|
|
|
333
322
|
import { Priority } from '@prosekit/core';
|
|
334
323
|
import { propNames } from '@prosekit/lit/autocomplete-empty';
|
|
335
324
|
import { propNames as propNames_alias_1 } from '@prosekit/lit/autocomplete-item';
|
|
336
|
-
import { propNames as propNames_alias_10 } from '@prosekit/lit/popover';
|
|
337
325
|
import { propNames as propNames_alias_2 } from '@prosekit/lit/autocomplete-list';
|
|
338
326
|
import { propNames as propNames_alias_3 } from '@prosekit/lit/autocomplete-popover';
|
|
339
|
-
import { propNames as propNames_alias_4 } from '@prosekit/lit/
|
|
340
|
-
import { propNames as propNames_alias_5 } from '@prosekit/lit/combo-box-
|
|
341
|
-
import { propNames as propNames_alias_6 } from '@prosekit/lit/combo-box-
|
|
342
|
-
import { propNames as propNames_alias_7 } from '@prosekit/lit/combo-box
|
|
343
|
-
import { propNames as propNames_alias_8 } from '@prosekit/lit/
|
|
344
|
-
import { propNames as propNames_alias_9 } from '@prosekit/lit/
|
|
327
|
+
import { propNames as propNames_alias_4 } from '@prosekit/lit/combo-box-input';
|
|
328
|
+
import { propNames as propNames_alias_5 } from '@prosekit/lit/combo-box-item';
|
|
329
|
+
import { propNames as propNames_alias_6 } from '@prosekit/lit/combo-box-list';
|
|
330
|
+
import { propNames as propNames_alias_7 } from '@prosekit/lit/combo-box';
|
|
331
|
+
import { propNames as propNames_alias_8 } from '@prosekit/lit/inline-popover';
|
|
332
|
+
import { propNames as propNames_alias_9 } from '@prosekit/lit/popover';
|
|
345
333
|
import { ProseKit } from '@prosekit/preact';
|
|
346
334
|
import { ProseKit as ProseKit_alias_1 } from '@prosekit/react';
|
|
347
335
|
import { ProseKit as ProseKit_alias_2 } from '@prosekit/solid';
|
|
@@ -372,7 +360,7 @@ import { SchemaSpec } from '@prosekit/pm/model';
|
|
|
372
360
|
import { selectAll } from '@prosekit/pm/commands';
|
|
373
361
|
import { Selection as Selection_2 } from '@prosekit/pm/state';
|
|
374
362
|
import { SelectionBookmark } from '@prosekit/pm/state';
|
|
375
|
-
import {
|
|
363
|
+
import { SelectionJSON } from '@prosekit/core';
|
|
376
364
|
import { SelectionRange } from '@prosekit/pm/state';
|
|
377
365
|
import { selectNodeBackward } from '@prosekit/pm/commands';
|
|
378
366
|
import { selectNodeForward } from '@prosekit/pm/commands';
|
|
@@ -389,7 +377,7 @@ import { splitBlock } from '@prosekit/pm/commands';
|
|
|
389
377
|
import { splitBlockAs } from '@prosekit/pm/commands';
|
|
390
378
|
import { splitBlockKeepMarks } from '@prosekit/pm/commands';
|
|
391
379
|
import { StateField } from '@prosekit/pm/state';
|
|
392
|
-
import {
|
|
380
|
+
import { StateJSON } from '@prosekit/core';
|
|
393
381
|
import { Step } from '@prosekit/pm/transform';
|
|
394
382
|
import { StepMap } from '@prosekit/pm/transform';
|
|
395
383
|
import { StepResult } from '@prosekit/pm/transform';
|
|
@@ -408,15 +396,18 @@ import { union } from '@prosekit/core';
|
|
|
408
396
|
import { useEditor } from '@prosekit/preact';
|
|
409
397
|
import { useEditor as useEditor_alias_1 } from '@prosekit/react';
|
|
410
398
|
import { useEditor as useEditor_alias_2 } from '@prosekit/solid';
|
|
411
|
-
import { useEditor as useEditor_alias_3 } from '@prosekit/
|
|
399
|
+
import { useEditor as useEditor_alias_3 } from '@prosekit/svelte';
|
|
400
|
+
import { useEditor as useEditor_alias_4 } from '@prosekit/vue';
|
|
412
401
|
import { UseEditorOptions } from '@prosekit/react';
|
|
413
402
|
import { useExtension } from '@prosekit/preact';
|
|
414
403
|
import { useExtension as useExtension_alias_1 } from '@prosekit/react';
|
|
415
404
|
import { useExtension as useExtension_alias_2 } from '@prosekit/solid';
|
|
405
|
+
import { useExtension as useExtension_alias_3 } from '@prosekit/svelte';
|
|
416
406
|
import { useKeymap } from '@prosekit/preact';
|
|
417
407
|
import { useKeymap as useKeymap_alias_1 } from '@prosekit/react';
|
|
418
408
|
import { useKeymap as useKeymap_alias_2 } from '@prosekit/solid';
|
|
419
|
-
import { useKeymap as useKeymap_alias_3 } from '@prosekit/
|
|
409
|
+
import { useKeymap as useKeymap_alias_3 } from '@prosekit/svelte';
|
|
410
|
+
import { useKeymap as useKeymap_alias_4 } from '@prosekit/vue';
|
|
420
411
|
import { useNodeViewContext } from '@prosekit/react';
|
|
421
412
|
import { withPriority } from '@prosekit/core';
|
|
422
413
|
import { wrapIn } from '@prosekit/pm/commands';
|
|
@@ -556,30 +547,6 @@ export { closeSingleQuote }
|
|
|
556
547
|
|
|
557
548
|
export { CodeBlockAttrs }
|
|
558
549
|
|
|
559
|
-
export { CodeBlockPopover }
|
|
560
|
-
|
|
561
|
-
export { CodeBlockPopover_alias_1 }
|
|
562
|
-
|
|
563
|
-
export { CodeBlockPopover_alias_2 }
|
|
564
|
-
|
|
565
|
-
export { CodeBlockPopover_alias_3 }
|
|
566
|
-
|
|
567
|
-
export { CodeBlockPopover_alias_4 }
|
|
568
|
-
|
|
569
|
-
export { CodeBlockPopover_alias_5 }
|
|
570
|
-
|
|
571
|
-
export { CodeBlockPopoverProps }
|
|
572
|
-
|
|
573
|
-
export { CodeBlockPopoverProps_alias_1 }
|
|
574
|
-
|
|
575
|
-
export { CodeBlockPopoverProps_alias_2 }
|
|
576
|
-
|
|
577
|
-
export { CodeBlockPopoverProps_alias_3 }
|
|
578
|
-
|
|
579
|
-
export { CodeBlockPopoverProps_alias_4 }
|
|
580
|
-
|
|
581
|
-
export { CodeBlockPopoverProps_alias_5 }
|
|
582
|
-
|
|
583
550
|
export { ComboBox }
|
|
584
551
|
|
|
585
552
|
export { ComboBox_alias_1 }
|
|
@@ -738,8 +705,6 @@ export { defineDefaultState }
|
|
|
738
705
|
|
|
739
706
|
export { defineDoc }
|
|
740
707
|
|
|
741
|
-
export { defineEventHandler }
|
|
742
|
-
|
|
743
708
|
export { defineHeading }
|
|
744
709
|
|
|
745
710
|
export { defineHeadingCommands }
|
|
@@ -830,6 +795,8 @@ export { defineUnderlineKeymap }
|
|
|
830
795
|
|
|
831
796
|
export { defineUnderlineSpec }
|
|
832
797
|
|
|
798
|
+
export { defineUpdateHandler }
|
|
799
|
+
|
|
833
800
|
export { deleteSelection }
|
|
834
801
|
|
|
835
802
|
export { DirectEditorProps }
|
|
@@ -858,10 +825,6 @@ export { EditorStateConfig }
|
|
|
858
825
|
|
|
859
826
|
export { EditorView }
|
|
860
827
|
|
|
861
|
-
export { elementToJSON }
|
|
862
|
-
|
|
863
|
-
export { elementToNode }
|
|
864
|
-
|
|
865
828
|
export { ellipsis }
|
|
866
829
|
|
|
867
830
|
export { emDash }
|
|
@@ -888,8 +851,6 @@ export { findWrapping }
|
|
|
888
851
|
|
|
889
852
|
export { Fragment }
|
|
890
853
|
|
|
891
|
-
export { getEditor }
|
|
892
|
-
|
|
893
854
|
export { getMarkType }
|
|
894
855
|
|
|
895
856
|
export { getNodeType }
|
|
@@ -898,10 +859,6 @@ export { HeadingAttrs }
|
|
|
898
859
|
|
|
899
860
|
export { history_2 as history }
|
|
900
861
|
|
|
901
|
-
export { htmlToJSON }
|
|
902
|
-
|
|
903
|
-
export { htmlToNode }
|
|
904
|
-
|
|
905
862
|
export { ImageAttrs }
|
|
906
863
|
|
|
907
864
|
export { InlinePopover }
|
|
@@ -960,6 +917,14 @@ export { joinTextblockForward }
|
|
|
960
917
|
|
|
961
918
|
export { joinUp }
|
|
962
919
|
|
|
920
|
+
export { jsonFromElement }
|
|
921
|
+
|
|
922
|
+
export { jsonFromHTML }
|
|
923
|
+
|
|
924
|
+
export { jsonFromNode }
|
|
925
|
+
|
|
926
|
+
export { jsonFromState }
|
|
927
|
+
|
|
963
928
|
export { keydownHandler }
|
|
964
929
|
|
|
965
930
|
export { Keymap }
|
|
@@ -1000,7 +965,11 @@ export { newlineInCode }
|
|
|
1000
965
|
|
|
1001
966
|
export { Node_2 as Node }
|
|
1002
967
|
|
|
1003
|
-
export {
|
|
968
|
+
export { nodeFromElement }
|
|
969
|
+
|
|
970
|
+
export { nodeFromHTML }
|
|
971
|
+
|
|
972
|
+
export { NodeJSON }
|
|
1004
973
|
|
|
1005
974
|
export { NodeRange }
|
|
1006
975
|
|
|
@@ -1092,8 +1061,6 @@ export { propNames }
|
|
|
1092
1061
|
|
|
1093
1062
|
export { propNames_alias_1 }
|
|
1094
1063
|
|
|
1095
|
-
export { propNames_alias_10 }
|
|
1096
|
-
|
|
1097
1064
|
export { propNames_alias_2 }
|
|
1098
1065
|
|
|
1099
1066
|
export { propNames_alias_3 }
|
|
@@ -1170,7 +1137,7 @@ export { Selection_2 as Selection }
|
|
|
1170
1137
|
|
|
1171
1138
|
export { SelectionBookmark }
|
|
1172
1139
|
|
|
1173
|
-
export {
|
|
1140
|
+
export { SelectionJSON }
|
|
1174
1141
|
|
|
1175
1142
|
export { SelectionRange }
|
|
1176
1143
|
|
|
@@ -1204,7 +1171,7 @@ export { splitBlockKeepMarks }
|
|
|
1204
1171
|
|
|
1205
1172
|
export { StateField }
|
|
1206
1173
|
|
|
1207
|
-
export {
|
|
1174
|
+
export { StateJSON }
|
|
1208
1175
|
|
|
1209
1176
|
export { Step }
|
|
1210
1177
|
|
|
@@ -1244,6 +1211,8 @@ export { useEditor_alias_2 }
|
|
|
1244
1211
|
|
|
1245
1212
|
export { useEditor_alias_3 }
|
|
1246
1213
|
|
|
1214
|
+
export { useEditor_alias_4 }
|
|
1215
|
+
|
|
1247
1216
|
export { UseEditorOptions }
|
|
1248
1217
|
|
|
1249
1218
|
export { useExtension }
|
|
@@ -1252,6 +1221,8 @@ export { useExtension_alias_1 }
|
|
|
1252
1221
|
|
|
1253
1222
|
export { useExtension_alias_2 }
|
|
1254
1223
|
|
|
1224
|
+
export { useExtension_alias_3 }
|
|
1225
|
+
|
|
1255
1226
|
export { useKeymap }
|
|
1256
1227
|
|
|
1257
1228
|
export { useKeymap_alias_1 }
|
|
@@ -1260,6 +1231,8 @@ export { useKeymap_alias_2 }
|
|
|
1260
1231
|
|
|
1261
1232
|
export { useKeymap_alias_3 }
|
|
1262
1233
|
|
|
1234
|
+
export { useKeymap_alias_4 }
|
|
1235
|
+
|
|
1263
1236
|
export { useNodeViewContext }
|
|
1264
1237
|
|
|
1265
1238
|
export { withPriority }
|
package/dist/basic/style.css
CHANGED
package/dist/core/style.css
CHANGED
package/dist/prosekit-core.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export { defineCommands } from './_tsup-dts-rollup';
|
|
|
15
15
|
export { defineDefaultState } from './_tsup-dts-rollup';
|
|
16
16
|
export { DefaultStateOptions } from './_tsup-dts-rollup';
|
|
17
17
|
export { defineDoc } from './_tsup-dts-rollup';
|
|
18
|
-
export { defineEventHandler } from './_tsup-dts-rollup';
|
|
19
18
|
export { defineHistory } from './_tsup-dts-rollup';
|
|
20
19
|
export { defineInputRule } from './_tsup-dts-rollup';
|
|
21
20
|
export { defineBaseKeymap } from './_tsup-dts-rollup';
|
|
@@ -34,6 +33,7 @@ export { definePlugin } from './_tsup-dts-rollup';
|
|
|
34
33
|
export { pluginFacet } from './_tsup-dts-rollup';
|
|
35
34
|
export { PluginPayload } from './_tsup-dts-rollup';
|
|
36
35
|
export { defineText } from './_tsup-dts-rollup';
|
|
36
|
+
export { defineUpdateHandler } from './_tsup-dts-rollup';
|
|
37
37
|
export { Facet } from './_tsup-dts-rollup';
|
|
38
38
|
export { FacetOptions } from './_tsup-dts-rollup';
|
|
39
39
|
export { CommandArgs } from './_tsup-dts-rollup';
|
|
@@ -44,17 +44,19 @@ export { ExtractMarks } from './_tsup-dts-rollup';
|
|
|
44
44
|
export { ExtractNodes } from './_tsup-dts-rollup';
|
|
45
45
|
export { SimplifyExtension } from './_tsup-dts-rollup';
|
|
46
46
|
export { ExtensionTyping } from './_tsup-dts-rollup';
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
47
|
+
export { NodeJSON } from './_tsup-dts-rollup';
|
|
48
|
+
export { SelectionJSON } from './_tsup-dts-rollup';
|
|
49
|
+
export { StateJSON } from './_tsup-dts-rollup';
|
|
50
50
|
export { Priority } from './_tsup-dts-rollup';
|
|
51
51
|
export { SimplifyUnion } from './_tsup-dts-rollup';
|
|
52
52
|
export { getMarkType } from './_tsup-dts-rollup';
|
|
53
53
|
export { getNodeType } from './_tsup-dts-rollup';
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
54
|
+
export { jsonFromElement } from './_tsup-dts-rollup';
|
|
55
|
+
export { jsonFromHTML } from './_tsup-dts-rollup';
|
|
56
|
+
export { jsonFromNode } from './_tsup-dts-rollup';
|
|
57
|
+
export { jsonFromState } from './_tsup-dts-rollup';
|
|
58
|
+
export { nodeFromElement } from './_tsup-dts-rollup';
|
|
59
|
+
export { nodeFromHTML } from './_tsup-dts-rollup';
|
|
58
60
|
export { isAllSelection } from './_tsup-dts-rollup';
|
|
59
61
|
export { isMark } from './_tsup-dts-rollup';
|
|
60
62
|
export { isNodeSelection } from './_tsup-dts-rollup';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PopoverOptions_alias_1 as PopoverOptions } from './_tsup-dts-rollup';
|
|
2
|
-
export {
|
|
2
|
+
export { propNames_alias_8 as propNames } from './_tsup-dts-rollup';
|
|
3
3
|
export { InlinePopoverProps } from './_tsup-dts-rollup';
|
|
4
4
|
export { InlinePopover } from './_tsup-dts-rollup';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AutoUpdateOptions } from './_tsup-dts-rollup';
|
|
2
2
|
export { PopoverOptions_alias_2 as PopoverOptions } from './_tsup-dts-rollup';
|
|
3
|
-
export {
|
|
3
|
+
export { propNames_alias_9 as propNames } from './_tsup-dts-rollup';
|
|
4
4
|
export { PopoverProps } from './_tsup-dts-rollup';
|
|
5
5
|
export { Popover } from './_tsup-dts-rollup';
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useEditor_alias_3 as useEditor } from './_tsup-dts-rollup';
|
|
2
|
+
export { useExtension_alias_3 as useExtension } from './_tsup-dts-rollup';
|
|
3
|
+
export { useKeymap_alias_3 as useKeymap } from './_tsup-dts-rollup';
|
|
2
4
|
export { ProseKit_alias_3 as ProseKit } from './_tsup-dts-rollup';
|
package/dist/prosekit-vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { ProseKit_alias_4 as ProseKit } from './_tsup-dts-rollup';
|
|
2
2
|
export { ProseKitProps_alias_3 as ProseKitProps } from './_tsup-dts-rollup';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { useKeymap_alias_4 as useKeymap } from './_tsup-dts-rollup';
|
|
4
|
+
export { useEditor_alias_4 as useEditor } 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.1.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "ocavue",
|
|
@@ -160,11 +160,6 @@
|
|
|
160
160
|
"import": "./dist/prosekit-lit-autocomplete-popover.js",
|
|
161
161
|
"default": "./dist/prosekit-lit-autocomplete-popover.js"
|
|
162
162
|
},
|
|
163
|
-
"./lit/code-block-popover": {
|
|
164
|
-
"types": "./dist/prosekit-lit-code-block-popover.d.ts",
|
|
165
|
-
"import": "./dist/prosekit-lit-code-block-popover.js",
|
|
166
|
-
"default": "./dist/prosekit-lit-code-block-popover.js"
|
|
167
|
-
},
|
|
168
163
|
"./lit/combo-box": {
|
|
169
164
|
"types": "./dist/prosekit-lit-combo-box.d.ts",
|
|
170
165
|
"import": "./dist/prosekit-lit-combo-box.js",
|
|
@@ -268,11 +263,6 @@
|
|
|
268
263
|
"import": "./dist/prosekit-preact-autocomplete-popover.js",
|
|
269
264
|
"default": "./dist/prosekit-preact-autocomplete-popover.js"
|
|
270
265
|
},
|
|
271
|
-
"./preact/code-block-popover": {
|
|
272
|
-
"types": "./dist/prosekit-preact-code-block-popover.d.ts",
|
|
273
|
-
"import": "./dist/prosekit-preact-code-block-popover.js",
|
|
274
|
-
"default": "./dist/prosekit-preact-code-block-popover.js"
|
|
275
|
-
},
|
|
276
266
|
"./preact/combo-box": {
|
|
277
267
|
"types": "./dist/prosekit-preact-combo-box.d.ts",
|
|
278
268
|
"import": "./dist/prosekit-preact-combo-box.js",
|
|
@@ -328,11 +318,6 @@
|
|
|
328
318
|
"import": "./dist/prosekit-react-autocomplete-popover.js",
|
|
329
319
|
"default": "./dist/prosekit-react-autocomplete-popover.js"
|
|
330
320
|
},
|
|
331
|
-
"./react/code-block-popover": {
|
|
332
|
-
"types": "./dist/prosekit-react-code-block-popover.d.ts",
|
|
333
|
-
"import": "./dist/prosekit-react-code-block-popover.js",
|
|
334
|
-
"default": "./dist/prosekit-react-code-block-popover.js"
|
|
335
|
-
},
|
|
336
321
|
"./react/combo-box": {
|
|
337
322
|
"types": "./dist/prosekit-react-combo-box.d.ts",
|
|
338
323
|
"import": "./dist/prosekit-react-combo-box.js",
|
|
@@ -388,11 +373,6 @@
|
|
|
388
373
|
"import": "./dist/prosekit-solid-autocomplete-popover.js",
|
|
389
374
|
"default": "./dist/prosekit-solid-autocomplete-popover.js"
|
|
390
375
|
},
|
|
391
|
-
"./solid/code-block-popover": {
|
|
392
|
-
"types": "./dist/prosekit-solid-code-block-popover.d.ts",
|
|
393
|
-
"import": "./dist/prosekit-solid-code-block-popover.js",
|
|
394
|
-
"default": "./dist/prosekit-solid-code-block-popover.js"
|
|
395
|
-
},
|
|
396
376
|
"./solid/combo-box": {
|
|
397
377
|
"types": "./dist/prosekit-solid-combo-box.d.ts",
|
|
398
378
|
"import": "./dist/prosekit-solid-combo-box.js",
|
|
@@ -448,11 +428,6 @@
|
|
|
448
428
|
"import": "./dist/prosekit-svelte-autocomplete-popover.js",
|
|
449
429
|
"default": "./dist/prosekit-svelte-autocomplete-popover.js"
|
|
450
430
|
},
|
|
451
|
-
"./svelte/code-block-popover": {
|
|
452
|
-
"types": "./dist/prosekit-svelte-code-block-popover.d.ts",
|
|
453
|
-
"import": "./dist/prosekit-svelte-code-block-popover.js",
|
|
454
|
-
"default": "./dist/prosekit-svelte-code-block-popover.js"
|
|
455
|
-
},
|
|
456
431
|
"./svelte/combo-box": {
|
|
457
432
|
"types": "./dist/prosekit-svelte-combo-box.d.ts",
|
|
458
433
|
"import": "./dist/prosekit-svelte-combo-box.js",
|
|
@@ -508,11 +483,6 @@
|
|
|
508
483
|
"import": "./dist/prosekit-vue-autocomplete-popover.js",
|
|
509
484
|
"default": "./dist/prosekit-vue-autocomplete-popover.js"
|
|
510
485
|
},
|
|
511
|
-
"./vue/code-block-popover": {
|
|
512
|
-
"types": "./dist/prosekit-vue-code-block-popover.d.ts",
|
|
513
|
-
"import": "./dist/prosekit-vue-code-block-popover.js",
|
|
514
|
-
"default": "./dist/prosekit-vue-code-block-popover.js"
|
|
515
|
-
},
|
|
516
486
|
"./vue/combo-box": {
|
|
517
487
|
"types": "./dist/prosekit-vue-combo-box.d.ts",
|
|
518
488
|
"import": "./dist/prosekit-vue-combo-box.js",
|
|
@@ -548,16 +518,16 @@
|
|
|
548
518
|
"dist"
|
|
549
519
|
],
|
|
550
520
|
"dependencies": {
|
|
551
|
-
"@prosekit/basic": "0.0
|
|
552
|
-
"@prosekit/core": "0.0
|
|
553
|
-
"@prosekit/extensions": "0.0
|
|
554
|
-
"@prosekit/lit": "0.0
|
|
555
|
-
"@prosekit/pm": "0.0
|
|
556
|
-
"@prosekit/preact": "0.0
|
|
557
|
-
"@prosekit/react": "0.0
|
|
558
|
-
"@prosekit/solid": "0.0
|
|
559
|
-
"@prosekit/svelte": "0.0
|
|
560
|
-
"@prosekit/vue": "0.0
|
|
521
|
+
"@prosekit/basic": "0.1.0",
|
|
522
|
+
"@prosekit/core": "0.1.0",
|
|
523
|
+
"@prosekit/extensions": "0.1.0",
|
|
524
|
+
"@prosekit/lit": "0.1.0",
|
|
525
|
+
"@prosekit/pm": "0.1.0",
|
|
526
|
+
"@prosekit/preact": "0.1.0",
|
|
527
|
+
"@prosekit/react": "0.1.0",
|
|
528
|
+
"@prosekit/solid": "0.1.0",
|
|
529
|
+
"@prosekit/svelte": "0.1.0",
|
|
530
|
+
"@prosekit/vue": "0.1.0"
|
|
561
531
|
},
|
|
562
532
|
"peerDependencies": {
|
|
563
533
|
"preact": ">= 9.0.0",
|
|
@@ -589,16 +559,16 @@
|
|
|
589
559
|
},
|
|
590
560
|
"devDependencies": {
|
|
591
561
|
"@prosekit/dev": "*",
|
|
592
|
-
"@types/react": "^18.2.
|
|
593
|
-
"@types/react-dom": "^18.2.
|
|
562
|
+
"@types/react": "^18.2.37",
|
|
563
|
+
"@types/react-dom": "^18.2.15",
|
|
594
564
|
"preact": "^10.18.2",
|
|
595
565
|
"react": "^18.2.0",
|
|
596
566
|
"react-dom": "^18.2.0",
|
|
597
567
|
"solid-js": "^1.8.5",
|
|
598
|
-
"svelte": "^4.2.
|
|
568
|
+
"svelte": "^4.2.3",
|
|
599
569
|
"tsup": "^7.2.0",
|
|
600
570
|
"typescript": "^5.2.2",
|
|
601
|
-
"vue": "^3.3.
|
|
571
|
+
"vue": "^3.3.8"
|
|
602
572
|
},
|
|
603
573
|
"scripts": {
|
|
604
574
|
"build:tsup": "tsup",
|
|
@@ -679,9 +649,6 @@
|
|
|
679
649
|
"lit/autocomplete-popover": [
|
|
680
650
|
"./dist/prosekit-lit-autocomplete-popover.d.ts"
|
|
681
651
|
],
|
|
682
|
-
"lit/code-block-popover": [
|
|
683
|
-
"./dist/prosekit-lit-code-block-popover.d.ts"
|
|
684
|
-
],
|
|
685
652
|
"lit/combo-box": [
|
|
686
653
|
"./dist/prosekit-lit-combo-box.d.ts"
|
|
687
654
|
],
|
|
@@ -742,9 +709,6 @@
|
|
|
742
709
|
"preact/autocomplete-popover": [
|
|
743
710
|
"./dist/prosekit-preact-autocomplete-popover.d.ts"
|
|
744
711
|
],
|
|
745
|
-
"preact/code-block-popover": [
|
|
746
|
-
"./dist/prosekit-preact-code-block-popover.d.ts"
|
|
747
|
-
],
|
|
748
712
|
"preact/combo-box": [
|
|
749
713
|
"./dist/prosekit-preact-combo-box.d.ts"
|
|
750
714
|
],
|
|
@@ -778,9 +742,6 @@
|
|
|
778
742
|
"react/autocomplete-popover": [
|
|
779
743
|
"./dist/prosekit-react-autocomplete-popover.d.ts"
|
|
780
744
|
],
|
|
781
|
-
"react/code-block-popover": [
|
|
782
|
-
"./dist/prosekit-react-code-block-popover.d.ts"
|
|
783
|
-
],
|
|
784
745
|
"react/combo-box": [
|
|
785
746
|
"./dist/prosekit-react-combo-box.d.ts"
|
|
786
747
|
],
|
|
@@ -814,9 +775,6 @@
|
|
|
814
775
|
"solid/autocomplete-popover": [
|
|
815
776
|
"./dist/prosekit-solid-autocomplete-popover.d.ts"
|
|
816
777
|
],
|
|
817
|
-
"solid/code-block-popover": [
|
|
818
|
-
"./dist/prosekit-solid-code-block-popover.d.ts"
|
|
819
|
-
],
|
|
820
778
|
"solid/combo-box": [
|
|
821
779
|
"./dist/prosekit-solid-combo-box.d.ts"
|
|
822
780
|
],
|
|
@@ -850,9 +808,6 @@
|
|
|
850
808
|
"svelte/autocomplete-popover": [
|
|
851
809
|
"./dist/prosekit-svelte-autocomplete-popover.d.ts"
|
|
852
810
|
],
|
|
853
|
-
"svelte/code-block-popover": [
|
|
854
|
-
"./dist/prosekit-svelte-code-block-popover.d.ts"
|
|
855
|
-
],
|
|
856
811
|
"svelte/combo-box": [
|
|
857
812
|
"./dist/prosekit-svelte-combo-box.d.ts"
|
|
858
813
|
],
|
|
@@ -886,9 +841,6 @@
|
|
|
886
841
|
"vue/autocomplete-popover": [
|
|
887
842
|
"./dist/prosekit-vue-autocomplete-popover.d.ts"
|
|
888
843
|
],
|
|
889
|
-
"vue/code-block-popover": [
|
|
890
|
-
"./dist/prosekit-vue-code-block-popover.d.ts"
|
|
891
|
-
],
|
|
892
844
|
"vue/combo-box": [
|
|
893
845
|
"./dist/prosekit-vue-combo-box.d.ts"
|
|
894
846
|
],
|