@atlaskit/editor-core 203.2.1 → 203.2.3

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cjs/composable-editor/core-editor.js +2 -0
  3. package/dist/cjs/composable-editor/editor-internal.js +2 -3
  4. package/dist/cjs/composable-editor/temp_useTrackDangerousPlugins.js +35 -0
  5. package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -1
  6. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  7. package/dist/cjs/version-wrapper.js +1 -1
  8. package/dist/es2019/composable-editor/core-editor.js +2 -0
  9. package/dist/es2019/composable-editor/editor-internal.js +2 -3
  10. package/dist/es2019/composable-editor/temp_useTrackDangerousPlugins.js +27 -0
  11. package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -1
  12. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  13. package/dist/es2019/version-wrapper.js +1 -1
  14. package/dist/esm/composable-editor/core-editor.js +2 -0
  15. package/dist/esm/composable-editor/editor-internal.js +2 -3
  16. package/dist/esm/composable-editor/temp_useTrackDangerousPlugins.js +29 -0
  17. package/dist/esm/create-editor/ReactEditorViewNext.js +1 -1
  18. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  19. package/dist/esm/version-wrapper.js +1 -1
  20. package/dist/types/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  21. package/dist/types/create-editor/create-universal-preset.d.ts +244 -19
  22. package/dist/types/presets/default.d.ts +174 -14
  23. package/dist/types/presets/universal.d.ts +244 -19
  24. package/dist/types/presets/useUniversalPreset.d.ts +244 -19
  25. package/dist/types-ts4.5/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  26. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +276 -18
  27. package/dist/types-ts4.5/presets/default.d.ts +198 -14
  28. package/dist/types-ts4.5/presets/universal.d.ts +276 -18
  29. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +276 -18
  30. package/package.json +20 -9
  31. package/dist/cjs/nodeviews/context-adapter.js +0 -78
  32. package/dist/es2019/nodeviews/context-adapter.js +0 -48
  33. package/dist/esm/nodeviews/context-adapter.js +0 -71
  34. package/dist/types/nodeviews/context-adapter.d.ts +0 -2
  35. package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +0 -2
@@ -370,7 +370,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
370
370
  query?: string | undefined;
371
371
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
372
372
  };
373
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
373
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
374
+ sharedState: {
375
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
376
+ isVisible: boolean;
377
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
378
+ mouseData: {
379
+ isSelecting: boolean;
380
+ };
381
+ };
382
+ actions: {
383
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
384
+ };
385
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
386
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
387
+ }, undefined>>];
374
388
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
375
389
  commands: {
376
390
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -396,7 +410,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
396
410
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
397
411
  };
398
412
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
399
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
413
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
414
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
415
+ actions: {
416
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
417
+ };
418
+ }, undefined>>];
400
419
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
401
420
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
402
421
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
@@ -733,7 +752,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
733
752
  query?: string | undefined;
734
753
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
735
754
  };
736
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
755
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
756
+ sharedState: {
757
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
758
+ isVisible: boolean;
759
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
760
+ mouseData: {
761
+ isSelecting: boolean;
762
+ };
763
+ };
764
+ actions: {
765
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
766
+ };
767
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
768
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
769
+ }, undefined>>];
737
770
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
738
771
  commands: {
739
772
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1489,7 +1522,23 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1489
1522
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1490
1523
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
1491
1524
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1492
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1525
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1526
+ actions: {
1527
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1528
+ };
1529
+ sharedState: {
1530
+ annotations: Record<string, boolean>;
1531
+ isVisible: boolean;
1532
+ bookmark: boolean;
1533
+ mouseData: {
1534
+ isSelecting: boolean;
1535
+ };
1536
+ };
1537
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1538
+ sharedState: {
1539
+ mode: "edit" | "view";
1540
+ };
1541
+ }, undefined>>];
1493
1542
  pluginConfiguration: import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined;
1494
1543
  actions: {
1495
1544
  commitStatusPicker: (closingPayload?: import("@atlaskit/editor-plugin-status").ClosingPayload | undefined) => (editorView: import("prosemirror-view").EditorView) => void;
@@ -1817,7 +1866,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1817
1866
  query?: string | undefined;
1818
1867
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1819
1868
  };
1820
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
1869
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1870
+ sharedState: {
1871
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
1872
+ isVisible: boolean;
1873
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
1874
+ mouseData: {
1875
+ isSelecting: boolean;
1876
+ };
1877
+ };
1878
+ actions: {
1879
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
1880
+ };
1881
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1882
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
1883
+ }, undefined>>];
1821
1884
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
1822
1885
  commands: {
1823
1886
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -1843,7 +1906,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1843
1906
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
1844
1907
  };
1845
1908
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
1846
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
1909
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1910
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
1911
+ actions: {
1912
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1913
+ };
1914
+ }, undefined>>];
1847
1915
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
1848
1916
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1849
1917
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
@@ -1854,7 +1922,14 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1854
1922
  hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
1855
1923
  removeDecoration: import("@atlaskit/editor-common/types").Command;
1856
1924
  };
1857
- }, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1925
+ }, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
1926
+ pluginConfiguration: import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined;
1927
+ actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
1928
+ commands: {
1929
+ displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
1930
+ };
1931
+ sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
1932
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
1858
1933
  pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
1859
1934
  sharedState: {
1860
1935
  createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
@@ -2340,7 +2415,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2340
2415
  query?: string | undefined;
2341
2416
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2342
2417
  };
2343
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
2418
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2419
+ sharedState: {
2420
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2421
+ isVisible: boolean;
2422
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2423
+ mouseData: {
2424
+ isSelecting: boolean;
2425
+ };
2426
+ };
2427
+ actions: {
2428
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2429
+ };
2430
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2431
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2432
+ }, undefined>>];
2344
2433
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2345
2434
  commands: {
2346
2435
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -2730,7 +2819,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
2730
2819
  query?: string | undefined;
2731
2820
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2732
2821
  };
2733
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
2822
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2823
+ sharedState: {
2824
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2825
+ isVisible: boolean;
2826
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2827
+ mouseData: {
2828
+ isSelecting: boolean;
2829
+ };
2830
+ };
2831
+ actions: {
2832
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2833
+ };
2834
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2835
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2836
+ }, undefined>>];
2734
2837
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2735
2838
  commands: {
2736
2839
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3236,7 +3339,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3236
3339
  query?: string | undefined;
3237
3340
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3238
3341
  };
3239
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
3342
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3343
+ sharedState: {
3344
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
3345
+ isVisible: boolean;
3346
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3347
+ mouseData: {
3348
+ isSelecting: boolean;
3349
+ };
3350
+ };
3351
+ actions: {
3352
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3353
+ };
3354
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3355
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3356
+ }, undefined>>];
3240
3357
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3241
3358
  commands: {
3242
3359
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -3676,7 +3793,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
3676
3793
  query?: string | undefined;
3677
3794
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3678
3795
  };
3679
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
3796
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3797
+ sharedState: {
3798
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
3799
+ isVisible: boolean;
3800
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3801
+ mouseData: {
3802
+ isSelecting: boolean;
3803
+ };
3804
+ };
3805
+ actions: {
3806
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3807
+ };
3808
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3809
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3810
+ }, undefined>>];
3680
3811
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3681
3812
  commands: {
3682
3813
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -4162,7 +4293,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
4162
4293
  query?: string | undefined;
4163
4294
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4164
4295
  };
4165
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
4296
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4297
+ sharedState: {
4298
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4299
+ isVisible: boolean;
4300
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4301
+ mouseData: {
4302
+ isSelecting: boolean;
4303
+ };
4304
+ };
4305
+ actions: {
4306
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4307
+ };
4308
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4309
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4310
+ }, undefined>>];
4166
4311
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
4167
4312
  commands: {
4168
4313
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -5078,7 +5223,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5078
5223
  query?: string | undefined;
5079
5224
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5080
5225
  };
5081
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
5226
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5227
+ sharedState: {
5228
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
5229
+ isVisible: boolean;
5230
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5231
+ mouseData: {
5232
+ isSelecting: boolean;
5233
+ };
5234
+ };
5235
+ actions: {
5236
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5237
+ };
5238
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5239
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5240
+ }, undefined>>];
5082
5241
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
5083
5242
  commands: {
5084
5243
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -5436,7 +5595,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
5436
5595
  query?: string | undefined;
5437
5596
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5438
5597
  };
5439
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
5598
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5599
+ sharedState: {
5600
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
5601
+ isVisible: boolean;
5602
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5603
+ mouseData: {
5604
+ isSelecting: boolean;
5605
+ };
5606
+ };
5607
+ actions: {
5608
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5609
+ };
5610
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5611
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5612
+ }, undefined>>];
5440
5613
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
5441
5614
  commands: {
5442
5615
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -6074,7 +6247,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6074
6247
  query?: string | undefined;
6075
6248
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6076
6249
  };
6077
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
6250
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6251
+ sharedState: {
6252
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
6253
+ isVisible: boolean;
6254
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6255
+ mouseData: {
6256
+ isSelecting: boolean;
6257
+ };
6258
+ };
6259
+ actions: {
6260
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6261
+ };
6262
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6263
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6264
+ }, undefined>>];
6078
6265
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
6079
6266
  commands: {
6080
6267
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -6100,7 +6287,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6100
6287
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
6101
6288
  };
6102
6289
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
6103
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
6290
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6291
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
6292
+ actions: {
6293
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
6294
+ };
6295
+ }, undefined>>];
6104
6296
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
6105
6297
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
6106
6298
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -6676,7 +6868,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6676
6868
  query?: string | undefined;
6677
6869
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6678
6870
  };
6679
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
6871
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6872
+ sharedState: {
6873
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
6874
+ isVisible: boolean;
6875
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6876
+ mouseData: {
6877
+ isSelecting: boolean;
6878
+ };
6879
+ };
6880
+ actions: {
6881
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6882
+ };
6883
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6884
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6885
+ }, undefined>>];
6680
6886
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
6681
6887
  commands: {
6682
6888
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
@@ -6702,7 +6908,12 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
6702
6908
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
6703
6909
  };
6704
6910
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
6705
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
6911
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6912
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
6913
+ actions: {
6914
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
6915
+ };
6916
+ }, undefined>>];
6706
6917
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
6707
6918
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
6708
6919
  }, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
@@ -7039,7 +7250,21 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
7039
7250
  query?: string | undefined;
7040
7251
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
7041
7252
  };
7042
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
7253
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7254
+ sharedState: {
7255
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
7256
+ isVisible: boolean;
7257
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
7258
+ mouseData: {
7259
+ isSelecting: boolean;
7260
+ };
7261
+ };
7262
+ actions: {
7263
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
7264
+ };
7265
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7266
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
7267
+ }, undefined>>];
7043
7268
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
7044
7269
  commands: {
7045
7270
  insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;