@atlaskit/editor-core 203.2.1 → 203.2.2

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 (27) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/composable-editor/core-editor.js +2 -0
  3. package/dist/cjs/composable-editor/temp_useTrackDangerousPlugins.js +35 -0
  4. package/dist/cjs/create-editor/ReactEditorViewNext.js +1 -1
  5. package/dist/cjs/ui/ContentStyles/layout.js +1 -1
  6. package/dist/cjs/version-wrapper.js +1 -1
  7. package/dist/es2019/composable-editor/core-editor.js +2 -0
  8. package/dist/es2019/composable-editor/temp_useTrackDangerousPlugins.js +27 -0
  9. package/dist/es2019/create-editor/ReactEditorViewNext.js +1 -1
  10. package/dist/es2019/ui/ContentStyles/layout.js +1 -0
  11. package/dist/es2019/version-wrapper.js +1 -1
  12. package/dist/esm/composable-editor/core-editor.js +2 -0
  13. package/dist/esm/composable-editor/temp_useTrackDangerousPlugins.js +29 -0
  14. package/dist/esm/create-editor/ReactEditorViewNext.js +1 -1
  15. package/dist/esm/ui/ContentStyles/layout.js +1 -1
  16. package/dist/esm/version-wrapper.js +1 -1
  17. package/dist/types/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  18. package/dist/types/create-editor/create-universal-preset.d.ts +236 -18
  19. package/dist/types/presets/default.d.ts +174 -14
  20. package/dist/types/presets/universal.d.ts +236 -18
  21. package/dist/types/presets/useUniversalPreset.d.ts +236 -18
  22. package/dist/types-ts4.5/composable-editor/temp_useTrackDangerousPlugins.d.ts +3 -0
  23. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +268 -18
  24. package/dist/types-ts4.5/presets/default.d.ts +198 -14
  25. package/dist/types-ts4.5/presets/universal.d.ts +268 -18
  26. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +268 -18
  27. package/package.json +19 -8
@@ -422,7 +422,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
422
422
  query?: string | undefined;
423
423
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
424
424
  };
425
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
425
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
426
+ sharedState: {
427
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
428
+ isVisible: boolean;
429
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
430
+ mouseData: {
431
+ isSelecting: boolean;
432
+ };
433
+ };
434
+ actions: {
435
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
436
+ };
437
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
438
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
439
+ }, undefined>>];
426
440
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
427
441
  commands: {
428
442
  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;
@@ -448,7 +462,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
448
462
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
449
463
  };
450
464
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
451
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
465
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
466
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
467
+ actions: {
468
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
469
+ };
470
+ }, undefined>>];
452
471
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
453
472
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
454
473
  }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
@@ -785,7 +804,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
785
804
  query?: string | undefined;
786
805
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
787
806
  };
788
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
807
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
808
+ sharedState: {
809
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
810
+ isVisible: boolean;
811
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
812
+ mouseData: {
813
+ isSelecting: boolean;
814
+ };
815
+ };
816
+ actions: {
817
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
818
+ };
819
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
820
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
821
+ }, undefined>>];
789
822
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
790
823
  commands: {
791
824
  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;
@@ -1541,7 +1574,23 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1541
1574
  sharedState: FeatureFlags;
1542
1575
  }, FeatureFlags>>];
1543
1576
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1544
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
1577
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1578
+ actions: {
1579
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1580
+ };
1581
+ sharedState: {
1582
+ annotations: Record<string, boolean>;
1583
+ isVisible: boolean;
1584
+ bookmark: boolean;
1585
+ mouseData: {
1586
+ isSelecting: boolean;
1587
+ };
1588
+ };
1589
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1590
+ sharedState: {
1591
+ mode: "edit" | "view";
1592
+ };
1593
+ }, undefined>>];
1545
1594
  pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
1546
1595
  actions: {
1547
1596
  commitStatusPicker: (closingPayload?: import("@atlaskit/editor-plugins/status").ClosingPayload | undefined) => (editorView: import("prosemirror-view").EditorView) => void;
@@ -1869,7 +1918,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1869
1918
  query?: string | undefined;
1870
1919
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
1871
1920
  };
1872
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
1921
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1922
+ sharedState: {
1923
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
1924
+ isVisible: boolean;
1925
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
1926
+ mouseData: {
1927
+ isSelecting: boolean;
1928
+ };
1929
+ };
1930
+ actions: {
1931
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
1932
+ };
1933
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1934
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
1935
+ }, undefined>>];
1873
1936
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
1874
1937
  commands: {
1875
1938
  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;
@@ -1895,7 +1958,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1895
1958
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
1896
1959
  };
1897
1960
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
1898
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
1961
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1962
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
1963
+ actions: {
1964
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1965
+ };
1966
+ }, undefined>>];
1899
1967
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
1900
1968
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
1901
1969
  }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
@@ -2392,7 +2460,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2392
2460
  query?: string | undefined;
2393
2461
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2394
2462
  };
2395
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
2463
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2464
+ sharedState: {
2465
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
2466
+ isVisible: boolean;
2467
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2468
+ mouseData: {
2469
+ isSelecting: boolean;
2470
+ };
2471
+ };
2472
+ actions: {
2473
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2474
+ };
2475
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2476
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2477
+ }, undefined>>];
2396
2478
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
2397
2479
  commands: {
2398
2480
  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;
@@ -2782,7 +2864,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2782
2864
  query?: string | undefined;
2783
2865
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2784
2866
  };
2785
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
2867
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2868
+ sharedState: {
2869
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
2870
+ isVisible: boolean;
2871
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2872
+ mouseData: {
2873
+ isSelecting: boolean;
2874
+ };
2875
+ };
2876
+ actions: {
2877
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2878
+ };
2879
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2880
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2881
+ }, undefined>>];
2786
2882
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
2787
2883
  commands: {
2788
2884
  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;
@@ -3288,7 +3384,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3288
3384
  query?: string | undefined;
3289
3385
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3290
3386
  };
3291
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
3387
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3388
+ sharedState: {
3389
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
3390
+ isVisible: boolean;
3391
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3392
+ mouseData: {
3393
+ isSelecting: boolean;
3394
+ };
3395
+ };
3396
+ actions: {
3397
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3398
+ };
3399
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3400
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3401
+ }, undefined>>];
3292
3402
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
3293
3403
  commands: {
3294
3404
  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;
@@ -3728,7 +3838,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3728
3838
  query?: string | undefined;
3729
3839
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3730
3840
  };
3731
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
3841
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3842
+ sharedState: {
3843
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
3844
+ isVisible: boolean;
3845
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3846
+ mouseData: {
3847
+ isSelecting: boolean;
3848
+ };
3849
+ };
3850
+ actions: {
3851
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3852
+ };
3853
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3854
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3855
+ }, undefined>>];
3732
3856
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
3733
3857
  commands: {
3734
3858
  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;
@@ -4214,7 +4338,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4214
4338
  query?: string | undefined;
4215
4339
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4216
4340
  };
4217
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
4341
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4342
+ sharedState: {
4343
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
4344
+ isVisible: boolean;
4345
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4346
+ mouseData: {
4347
+ isSelecting: boolean;
4348
+ };
4349
+ };
4350
+ actions: {
4351
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4352
+ };
4353
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4354
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4355
+ }, undefined>>];
4218
4356
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
4219
4357
  commands: {
4220
4358
  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;
@@ -5130,7 +5268,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5130
5268
  query?: string | undefined;
5131
5269
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5132
5270
  };
5133
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
5271
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5272
+ sharedState: {
5273
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
5274
+ isVisible: boolean;
5275
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5276
+ mouseData: {
5277
+ isSelecting: boolean;
5278
+ };
5279
+ };
5280
+ actions: {
5281
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5282
+ };
5283
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5284
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5285
+ }, undefined>>];
5134
5286
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
5135
5287
  commands: {
5136
5288
  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;
@@ -5488,7 +5640,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5488
5640
  query?: string | undefined;
5489
5641
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5490
5642
  };
5491
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
5643
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5644
+ sharedState: {
5645
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
5646
+ isVisible: boolean;
5647
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5648
+ mouseData: {
5649
+ isSelecting: boolean;
5650
+ };
5651
+ };
5652
+ actions: {
5653
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5654
+ };
5655
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5656
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5657
+ }, undefined>>];
5492
5658
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
5493
5659
  commands: {
5494
5660
  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;
@@ -6126,7 +6292,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6126
6292
  query?: string | undefined;
6127
6293
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6128
6294
  };
6129
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
6295
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6296
+ sharedState: {
6297
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
6298
+ isVisible: boolean;
6299
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6300
+ mouseData: {
6301
+ isSelecting: boolean;
6302
+ };
6303
+ };
6304
+ actions: {
6305
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6306
+ };
6307
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6308
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6309
+ }, undefined>>];
6130
6310
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
6131
6311
  commands: {
6132
6312
  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;
@@ -6152,7 +6332,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6152
6332
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
6153
6333
  };
6154
6334
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
6155
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
6335
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6336
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
6337
+ actions: {
6338
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
6339
+ };
6340
+ }, undefined>>];
6156
6341
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
6157
6342
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
6158
6343
  }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -6728,7 +6913,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6728
6913
  query?: string | undefined;
6729
6914
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6730
6915
  };
6731
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
6916
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6917
+ sharedState: {
6918
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
6919
+ isVisible: boolean;
6920
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6921
+ mouseData: {
6922
+ isSelecting: boolean;
6923
+ };
6924
+ };
6925
+ actions: {
6926
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6927
+ };
6928
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6929
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6930
+ }, undefined>>];
6732
6931
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
6733
6932
  commands: {
6734
6933
  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;
@@ -6754,7 +6953,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
6754
6953
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
6755
6954
  };
6756
6955
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
6757
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>];
6956
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6957
+ sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState;
6958
+ actions: {
6959
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
6960
+ };
6961
+ }, undefined>>];
6758
6962
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
6759
6963
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
6760
6964
  }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
@@ -7091,7 +7295,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7091
7295
  query?: string | undefined;
7092
7296
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
7093
7297
  };
7094
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>];
7298
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7299
+ sharedState: {
7300
+ annotations: import("@atlaskit/editor-plugins/annotation").InlineCommentMap;
7301
+ isVisible: boolean;
7302
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
7303
+ mouseData: {
7304
+ isSelecting: boolean;
7305
+ };
7306
+ };
7307
+ actions: {
7308
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
7309
+ };
7310
+ }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7311
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
7312
+ }, undefined>>];
7095
7313
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
7096
7314
  commands: {
7097
7315
  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;