@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
@@ -527,7 +527,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
527
527
  query?: string | undefined;
528
528
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
529
529
  };
530
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
530
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
531
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
532
+ sharedState: {
533
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
534
+ isVisible: boolean;
535
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
536
+ mouseData: {
537
+ isSelecting: boolean;
538
+ };
539
+ };
540
+ actions: {
541
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
542
+ };
543
+ }, undefined>>,
544
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
545
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
546
+ }, undefined>>
531
547
  ];
532
548
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
533
549
  commands: {
@@ -557,7 +573,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
557
573
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
558
574
  };
559
575
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
560
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
576
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
577
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
578
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
579
+ actions: {
580
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
581
+ };
582
+ }, undefined>>
561
583
  ];
562
584
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
563
585
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -966,7 +988,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
966
988
  query?: string | undefined;
967
989
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
968
990
  };
969
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
991
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
992
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
993
+ sharedState: {
994
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
995
+ isVisible: boolean;
996
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
997
+ mouseData: {
998
+ isSelecting: boolean;
999
+ };
1000
+ };
1001
+ actions: {
1002
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
1003
+ };
1004
+ }, undefined>>,
1005
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1006
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
1007
+ }, undefined>>
970
1008
  ];
971
1009
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
972
1010
  commands: {
@@ -1870,7 +1908,25 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1870
1908
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
1871
1909
  ];
1872
1910
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1873
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1911
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1912
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
1913
+ actions: {
1914
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
1915
+ };
1916
+ sharedState: {
1917
+ annotations: Record<string, boolean>;
1918
+ isVisible: boolean;
1919
+ bookmark: boolean;
1920
+ mouseData: {
1921
+ isSelecting: boolean;
1922
+ };
1923
+ };
1924
+ }, undefined>>,
1925
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
1926
+ sharedState: {
1927
+ mode: "edit" | "view";
1928
+ };
1929
+ }, undefined>>
1874
1930
  ];
1875
1931
  pluginConfiguration: import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined;
1876
1932
  actions: {
@@ -2265,7 +2321,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2265
2321
  query?: string | undefined;
2266
2322
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2267
2323
  };
2268
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
2324
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
2325
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2326
+ sharedState: {
2327
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2328
+ isVisible: boolean;
2329
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2330
+ mouseData: {
2331
+ isSelecting: boolean;
2332
+ };
2333
+ };
2334
+ actions: {
2335
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2336
+ };
2337
+ }, undefined>>,
2338
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2339
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2340
+ }, undefined>>
2269
2341
  ];
2270
2342
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2271
2343
  commands: {
@@ -2295,7 +2367,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2295
2367
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
2296
2368
  };
2297
2369
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
2298
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
2370
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
2371
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2372
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
2373
+ actions: {
2374
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
2375
+ };
2376
+ }, undefined>>
2299
2377
  ];
2300
2378
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
2301
2379
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -2894,7 +2972,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2894
2972
  query?: string | undefined;
2895
2973
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
2896
2974
  };
2897
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
2975
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
2976
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
2977
+ sharedState: {
2978
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
2979
+ isVisible: boolean;
2980
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
2981
+ mouseData: {
2982
+ isSelecting: boolean;
2983
+ };
2984
+ };
2985
+ actions: {
2986
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
2987
+ };
2988
+ }, undefined>>,
2989
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
2990
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
2991
+ }, undefined>>
2898
2992
  ];
2899
2993
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
2900
2994
  commands: {
@@ -3363,7 +3457,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3363
3457
  query?: string | undefined;
3364
3458
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3365
3459
  };
3366
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
3460
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
3461
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
3462
+ sharedState: {
3463
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
3464
+ isVisible: boolean;
3465
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
3466
+ mouseData: {
3467
+ isSelecting: boolean;
3468
+ };
3469
+ };
3470
+ actions: {
3471
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
3472
+ };
3473
+ }, undefined>>,
3474
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
3475
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
3476
+ }, undefined>>
3367
3477
  ];
3368
3478
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3369
3479
  commands: {
@@ -3969,7 +4079,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3969
4079
  query?: string | undefined;
3970
4080
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
3971
4081
  };
3972
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
4082
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
4083
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4084
+ sharedState: {
4085
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4086
+ isVisible: boolean;
4087
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4088
+ mouseData: {
4089
+ isSelecting: boolean;
4090
+ };
4091
+ };
4092
+ actions: {
4093
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4094
+ };
4095
+ }, undefined>>,
4096
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4097
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4098
+ }, undefined>>
3973
4099
  ];
3974
4100
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
3975
4101
  commands: {
@@ -4501,7 +4627,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4501
4627
  query?: string | undefined;
4502
4628
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
4503
4629
  };
4504
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
4630
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
4631
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
4632
+ sharedState: {
4633
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
4634
+ isVisible: boolean;
4635
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
4636
+ mouseData: {
4637
+ isSelecting: boolean;
4638
+ };
4639
+ };
4640
+ actions: {
4641
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
4642
+ };
4643
+ }, undefined>>,
4644
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
4645
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
4646
+ }, undefined>>
4505
4647
  ];
4506
4648
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
4507
4649
  commands: {
@@ -5087,7 +5229,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5087
5229
  query?: string | undefined;
5088
5230
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
5089
5231
  };
5090
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
5232
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
5233
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
5234
+ sharedState: {
5235
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
5236
+ isVisible: boolean;
5237
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
5238
+ mouseData: {
5239
+ isSelecting: boolean;
5240
+ };
5241
+ };
5242
+ actions: {
5243
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
5244
+ };
5245
+ }, undefined>>,
5246
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
5247
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
5248
+ }, undefined>>
5091
5249
  ];
5092
5250
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
5093
5251
  commands: {
@@ -6200,7 +6358,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6200
6358
  query?: string | undefined;
6201
6359
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6202
6360
  };
6203
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
6361
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
6362
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6363
+ sharedState: {
6364
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
6365
+ isVisible: boolean;
6366
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6367
+ mouseData: {
6368
+ isSelecting: boolean;
6369
+ };
6370
+ };
6371
+ actions: {
6372
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6373
+ };
6374
+ }, undefined>>,
6375
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6376
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6377
+ }, undefined>>
6204
6378
  ];
6205
6379
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
6206
6380
  commands: {
@@ -6634,7 +6808,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
6634
6808
  query?: string | undefined;
6635
6809
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
6636
6810
  };
6637
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
6811
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
6812
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
6813
+ sharedState: {
6814
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
6815
+ isVisible: boolean;
6816
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
6817
+ mouseData: {
6818
+ isSelecting: boolean;
6819
+ };
6820
+ };
6821
+ actions: {
6822
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
6823
+ };
6824
+ }, undefined>>,
6825
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
6826
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
6827
+ }, undefined>>
6638
6828
  ];
6639
6829
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
6640
6830
  commands: {
@@ -7402,7 +7592,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7402
7592
  query?: string | undefined;
7403
7593
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
7404
7594
  };
7405
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
7595
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
7596
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7597
+ sharedState: {
7598
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
7599
+ isVisible: boolean;
7600
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
7601
+ mouseData: {
7602
+ isSelecting: boolean;
7603
+ };
7604
+ };
7605
+ actions: {
7606
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
7607
+ };
7608
+ }, undefined>>,
7609
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
7610
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
7611
+ }, undefined>>
7406
7612
  ];
7407
7613
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
7408
7614
  commands: {
@@ -7432,7 +7638,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7432
7638
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
7433
7639
  };
7434
7640
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
7435
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
7641
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
7642
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
7643
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
7644
+ actions: {
7645
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
7646
+ };
7647
+ }, undefined>>
7436
7648
  ];
7437
7649
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
7438
7650
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -8126,7 +8338,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
8126
8338
  query?: string | undefined;
8127
8339
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
8128
8340
  };
8129
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
8341
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
8342
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8343
+ sharedState: {
8344
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
8345
+ isVisible: boolean;
8346
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
8347
+ mouseData: {
8348
+ isSelecting: boolean;
8349
+ };
8350
+ };
8351
+ actions: {
8352
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
8353
+ };
8354
+ }, undefined>>,
8355
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
8356
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
8357
+ }, undefined>>
8130
8358
  ];
8131
8359
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
8132
8360
  commands: {
@@ -8156,7 +8384,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
8156
8384
  displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
8157
8385
  };
8158
8386
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
8159
- }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>
8387
+ }, import("@atlaskit/editor-plugin-selection").SelectionPluginOptions | undefined>>,
8388
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8389
+ sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState;
8390
+ actions: {
8391
+ setInlineCommentDraftState: (isDraft: boolean, inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
8392
+ };
8393
+ }, undefined>>
8160
8394
  ];
8161
8395
  sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
8162
8396
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
@@ -8565,7 +8799,23 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
8565
8799
  query?: string | undefined;
8566
8800
  }) => (tr: import("prosemirror-state").Transaction) => boolean;
8567
8801
  };
8568
- }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
8802
+ }, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>,
8803
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
8804
+ sharedState: {
8805
+ annotations: import("@atlaskit/editor-plugin-annotation").InlineCommentMap;
8806
+ isVisible: boolean;
8807
+ bookmark?: import("prosemirror-state").SelectionBookmark | undefined;
8808
+ mouseData: {
8809
+ isSelecting: boolean;
8810
+ };
8811
+ };
8812
+ actions: {
8813
+ setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod) => import("@atlaskit/editor-common/types").Command;
8814
+ };
8815
+ }, undefined>>,
8816
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
8817
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState;
8818
+ }, undefined>>
8569
8819
  ];
8570
8820
  sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
8571
8821
  commands: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "203.2.1",
3
+ "version": "203.2.2",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,14 +43,14 @@
43
43
  "@atlaskit/analytics-next": "^10.1.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
45
  "@atlaskit/button": "^20.3.0",
46
- "@atlaskit/editor-common": "^96.2.0",
46
+ "@atlaskit/editor-common": "^96.3.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.21.0",
48
48
  "@atlaskit/editor-plugin-quick-insert": "1.8.0",
49
49
  "@atlaskit/editor-plugins": "^5.8.0",
50
50
  "@atlaskit/editor-prosemirror": "6.2.1",
51
51
  "@atlaskit/editor-shared-styles": "^3.2.0",
52
52
  "@atlaskit/emoji": "^67.11.0",
53
- "@atlaskit/icon": "^23.0.0",
53
+ "@atlaskit/icon": "^23.1.0",
54
54
  "@atlaskit/media-card": "^78.15.0",
55
55
  "@atlaskit/mention": "^23.4.0",
56
56
  "@atlaskit/platform-feature-flags": "^0.3.0",
@@ -84,26 +84,26 @@
84
84
  "@atlaskit/adf-utils": "^19.14.0",
85
85
  "@atlaskit/analytics-listeners": "^8.13.0",
86
86
  "@atlaskit/collab-provider": "10.2.1",
87
- "@atlaskit/editor-plugin-annotation": "1.26.0",
88
- "@atlaskit/editor-plugin-card": "^4.4.0",
87
+ "@atlaskit/editor-plugin-annotation": "1.26.1",
88
+ "@atlaskit/editor-plugin-card": "^4.5.0",
89
89
  "@atlaskit/editor-plugin-list": "^3.9.0",
90
90
  "@atlaskit/editor-plugin-paste": "^2.0.0",
91
91
  "@atlaskit/link-provider": "^1.17.0",
92
- "@atlaskit/logo": "^15.0.0",
92
+ "@atlaskit/logo": "^15.1.0",
93
93
  "@atlaskit/media-core": "^34.3.0",
94
94
  "@atlaskit/media-integration-test-helpers": "^3.1.0",
95
95
  "@atlaskit/media-test-helpers": "^34.7.0",
96
96
  "@atlaskit/modal-dialog": "^12.18.0",
97
97
  "@atlaskit/primitives": "^13.3.0",
98
98
  "@atlaskit/renderer": "^112.6.0",
99
- "@atlaskit/smart-card": "^32.5.0",
99
+ "@atlaskit/smart-card": "^32.6.0",
100
100
  "@atlaskit/synchrony-test-helpers": "^3.0.0",
101
101
  "@atlaskit/toggle": "^13.4.0",
102
102
  "@atlaskit/util-data-test": "^17.13.0",
103
103
  "@atlaskit/visual-regression": "*",
104
104
  "@atlassian/adf-schema-json": "^1.22.0",
105
105
  "@atlassian/feature-flags-test-utils": "*",
106
- "@atlassian/search-provider": "3.0.3",
106
+ "@atlassian/search-provider": "3.0.4",
107
107
  "@emotion/jest": "^11.8.0",
108
108
  "@storybook/addon-knobs": "^6.4.0",
109
109
  "@testing-library/react": "^12.1.5",
@@ -175,6 +175,9 @@
175
175
  "type": "boolean",
176
176
  "referenceOnly": "true"
177
177
  },
178
+ "platform_editor_track_dangerous_append_plugins": {
179
+ "type": "boolean"
180
+ },
178
181
  "platform_editor_core_increase_full_page_guttering": {
179
182
  "type": "boolean"
180
183
  },
@@ -357,6 +360,14 @@
357
360
  "platform_editor_advanced_layouts_post_fix_patch_1": {
358
361
  "type": "boolean",
359
362
  "referenceOnly": true
363
+ },
364
+ "platform_editor_fix_drag_and_drop_lists": {
365
+ "type": "boolean",
366
+ "referenceOnly": true
367
+ },
368
+ "platform_editor_nested_tables_renderer_styles": {
369
+ "type": "boolean",
370
+ "referenceOnly": true
360
371
  }
361
372
  },
362
373
  "stricter": {