@atlaskit/editor-core 193.27.14 → 193.27.19

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.
@@ -677,7 +677,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
677
677
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
678
678
  ];
679
679
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
680
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
680
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
681
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
682
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
683
+ dependencies: [
684
+ ];
685
+ pluginConfiguration?: {
686
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
687
+ } | undefined;
688
+ commands: {
689
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
690
+ };
691
+ }, {
692
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
693
+ } | undefined>>
681
694
  ];
682
695
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
683
696
  actions: {
@@ -832,7 +845,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
832
845
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
833
846
  ];
834
847
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
835
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
848
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
849
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
850
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
851
+ dependencies: [
852
+ ];
853
+ pluginConfiguration?: {
854
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
855
+ } | undefined;
856
+ commands: {
857
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
858
+ };
859
+ }, {
860
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
861
+ } | undefined>>
836
862
  ];
837
863
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
838
864
  actions: {
@@ -967,7 +993,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
967
993
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
968
994
  ];
969
995
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
970
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
996
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
997
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
998
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
999
+ dependencies: [
1000
+ ];
1001
+ pluginConfiguration?: {
1002
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1003
+ } | undefined;
1004
+ commands: {
1005
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1006
+ };
1007
+ }, {
1008
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1009
+ } | undefined>>
971
1010
  ];
972
1011
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
973
1012
  actions: {
@@ -1113,9 +1152,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1113
1152
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
1114
1153
  insert: (props: {
1115
1154
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1116
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
1155
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
1117
1156
  query: string;
1118
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
1157
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
1119
1158
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
1120
1159
  }) => boolean;
1121
1160
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -1537,9 +1576,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1537
1576
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
1538
1577
  insert: (props: {
1539
1578
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
1540
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
1579
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
1541
1580
  query: string;
1542
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
1581
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
1543
1582
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
1544
1583
  }) => boolean;
1545
1584
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -1636,7 +1675,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1636
1675
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
1637
1676
  ];
1638
1677
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1639
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1678
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1679
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
1680
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1681
+ dependencies: [
1682
+ ];
1683
+ pluginConfiguration?: {
1684
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1685
+ } | undefined;
1686
+ commands: {
1687
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1688
+ };
1689
+ }, {
1690
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1691
+ } | undefined>>
1640
1692
  ];
1641
1693
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
1642
1694
  actions: {
@@ -1803,7 +1855,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1803
1855
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
1804
1856
  ];
1805
1857
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1806
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1858
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
1859
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
1860
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
1861
+ dependencies: [
1862
+ ];
1863
+ pluginConfiguration?: {
1864
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1865
+ } | undefined;
1866
+ commands: {
1867
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
1868
+ };
1869
+ }, {
1870
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
1871
+ } | undefined>>
1807
1872
  ];
1808
1873
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
1809
1874
  actions: {
@@ -2114,7 +2179,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2114
2179
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
2115
2180
  ];
2116
2181
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2117
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2182
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
2183
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
2184
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
2185
+ dependencies: [
2186
+ ];
2187
+ pluginConfiguration?: {
2188
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2189
+ } | undefined;
2190
+ commands: {
2191
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
2192
+ };
2193
+ }, {
2194
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
2195
+ } | undefined>>
2118
2196
  ];
2119
2197
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
2120
2198
  actions: {
@@ -2227,9 +2305,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2227
2305
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2228
2306
  insert: (props: {
2229
2307
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2230
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2308
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
2231
2309
  query: string;
2232
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2310
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
2233
2311
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2234
2312
  }) => boolean;
2235
2313
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -2316,9 +2394,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2316
2394
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2317
2395
  insert: (props: {
2318
2396
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2319
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2397
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
2320
2398
  query: string;
2321
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2399
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
2322
2400
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2323
2401
  }) => boolean;
2324
2402
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -2510,9 +2588,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2510
2588
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2511
2589
  insert: (props: {
2512
2590
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2513
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2591
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
2514
2592
  query: string;
2515
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2593
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
2516
2594
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2517
2595
  }) => boolean;
2518
2596
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -2584,9 +2662,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2584
2662
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
2585
2663
  insert: (props: {
2586
2664
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
2587
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
2665
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
2588
2666
  query: string;
2589
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
2667
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
2590
2668
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
2591
2669
  }) => boolean;
2592
2670
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -2932,7 +3010,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2932
3010
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
2933
3011
  ];
2934
3012
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
2935
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3013
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
3014
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
3015
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3016
+ dependencies: [
3017
+ ];
3018
+ pluginConfiguration?: {
3019
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3020
+ } | undefined;
3021
+ commands: {
3022
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
3023
+ };
3024
+ }, {
3025
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3026
+ } | undefined>>
2936
3027
  ];
2937
3028
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
2938
3029
  actions: {
@@ -3029,7 +3120,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3029
3120
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
3030
3121
  ];
3031
3122
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3032
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3123
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
3124
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
3125
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3126
+ dependencies: [
3127
+ ];
3128
+ pluginConfiguration?: {
3129
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3130
+ } | undefined;
3131
+ commands: {
3132
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
3133
+ };
3134
+ }, {
3135
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3136
+ } | undefined>>
3033
3137
  ];
3034
3138
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
3035
3139
  actions: {
@@ -3170,9 +3274,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3170
3274
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
3171
3275
  insert: (props: {
3172
3276
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
3173
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
3277
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
3174
3278
  query: string;
3175
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
3279
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
3176
3280
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
3177
3281
  }) => boolean;
3178
3282
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -3884,7 +3988,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3884
3988
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
3885
3989
  ];
3886
3990
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
3887
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3991
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
3992
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
3993
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
3994
+ dependencies: [
3995
+ ];
3996
+ pluginConfiguration?: {
3997
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
3998
+ } | undefined;
3999
+ commands: {
4000
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
4001
+ };
4002
+ }, {
4003
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
4004
+ } | undefined>>
3888
4005
  ];
3889
4006
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
3890
4007
  actions: {
@@ -3981,9 +4098,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3981
4098
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
3982
4099
  insert: (props: {
3983
4100
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
3984
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
4101
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
3985
4102
  query: string;
3986
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
4103
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
3987
4104
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
3988
4105
  }) => boolean;
3989
4106
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -4033,9 +4150,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4033
4150
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
4034
4151
  insert: (props: {
4035
4152
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
4036
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
4153
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
4037
4154
  query: string;
4038
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
4155
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
4039
4156
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
4040
4157
  }) => boolean;
4041
4158
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -4446,9 +4563,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4446
4563
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
4447
4564
  insert: (props: {
4448
4565
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
4449
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
4566
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
4450
4567
  query: string;
4451
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
4568
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
4452
4569
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
4453
4570
  }) => boolean;
4454
4571
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -4519,9 +4636,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4519
4636
  isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
4520
4637
  insert: (props: {
4521
4638
  triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
4522
- contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
4639
+ contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
4523
4640
  query: string;
4524
- sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
4641
+ sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
4525
4642
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
4526
4643
  }) => boolean;
4527
4644
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
@@ -5157,7 +5274,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
5157
5274
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
5158
5275
  ];
5159
5276
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5160
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5277
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
5278
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
5279
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5280
+ dependencies: [
5281
+ ];
5282
+ pluginConfiguration?: {
5283
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5284
+ } | undefined;
5285
+ commands: {
5286
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
5287
+ };
5288
+ }, {
5289
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5290
+ } | undefined>>
5161
5291
  ];
5162
5292
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
5163
5293
  actions: {
@@ -5312,7 +5442,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
5312
5442
  }, import("@atlaskit/editor-common/types").FeatureFlags>>
5313
5443
  ];
5314
5444
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
5315
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5445
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
5446
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorViewMode", {
5447
+ sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
5448
+ dependencies: [
5449
+ ];
5450
+ pluginConfiguration?: {
5451
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5452
+ } | undefined;
5453
+ commands: {
5454
+ updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
5455
+ };
5456
+ }, {
5457
+ mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
5458
+ } | undefined>>
5316
5459
  ];
5317
5460
  sharedState: import("@atlaskit/editor-plugin-collab-edit").CollabEditPluginSharedState;
5318
5461
  actions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.27.14",
3
+ "version": "193.27.19",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,8 +44,8 @@
44
44
  "@atlaskit/analytics-namespaced-context": "^6.10.0",
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
- "@atlaskit/button": "^17.22.0",
48
- "@atlaskit/editor-common": "^82.9.0",
47
+ "@atlaskit/button": "^18.0.0",
48
+ "@atlaskit/editor-common": "^82.11.0",
49
49
  "@atlaskit/editor-json-transformer": "^8.13.0",
50
50
  "@atlaskit/editor-plugins": "^3.3.0",
51
51
  "@atlaskit/editor-prosemirror": "4.0.1",
@@ -57,8 +57,8 @@
57
57
  "@atlaskit/platform-feature-flags": "^0.2.0",
58
58
  "@atlaskit/spinner": "^16.2.0",
59
59
  "@atlaskit/task-decision": "^17.10.0",
60
- "@atlaskit/theme": "^12.10.0",
61
- "@atlaskit/tokens": "^1.51.0",
60
+ "@atlaskit/theme": "^12.11.0",
61
+ "@atlaskit/tokens": "^1.52.0",
62
62
  "@atlaskit/tooltip": "^18.5.0",
63
63
  "@atlaskit/width-detector": "^4.2.0",
64
64
  "@babel/runtime": "^7.0.0",
@@ -81,13 +81,13 @@
81
81
  "react-intl-next": "npm:react-intl@^5.18.1"
82
82
  },
83
83
  "devDependencies": {
84
- "@af/editor-examples-helpers": "0.0.4",
84
+ "@af/editor-examples-helpers": "0.0.6",
85
85
  "@af/editor-libra": "*",
86
86
  "@af/visual-regression": "*",
87
87
  "@atlaskit/adf-utils": "^19.2.0",
88
88
  "@atlaskit/analytics-listeners": "^8.10.0",
89
89
  "@atlaskit/collab-provider": "9.29.3",
90
- "@atlaskit/editor-plugin-annotation": "1.10.4",
90
+ "@atlaskit/editor-plugin-annotation": "1.11.0",
91
91
  "@atlaskit/editor-plugin-card": "^2.0.0",
92
92
  "@atlaskit/editor-plugin-editor-viewmode": "^2.0.0",
93
93
  "@atlaskit/editor-plugin-list": "^3.3.0",
@@ -100,14 +100,14 @@
100
100
  "@atlaskit/media-test-helpers": "^33.0.27",
101
101
  "@atlaskit/modal-dialog": "^12.14.0",
102
102
  "@atlaskit/primitives": "^8.0.0",
103
- "@atlaskit/renderer": "^109.32.0",
103
+ "@atlaskit/renderer": "^109.33.0",
104
104
  "@atlaskit/smart-card": "^27.6.0",
105
105
  "@atlaskit/synchrony-test-helpers": "^2.4.0",
106
106
  "@atlaskit/toggle": "^13.2.0",
107
107
  "@atlaskit/util-data-test": "^17.9.0",
108
108
  "@atlaskit/visual-regression": "*",
109
109
  "@atlassian/adf-schema-json": "^1.14.0",
110
- "@atlassian/search-provider": "2.4.83",
110
+ "@atlassian/search-provider": "2.4.84",
111
111
  "@emotion/jest": "^11.8.0",
112
112
  "@storybook/addon-knobs": "^5.3.18",
113
113
  "@testing-library/react": "^12.1.5",
@@ -357,6 +357,10 @@
357
357
  "platform.editor.refactor-highlight-toolbar_mo0pj": {
358
358
  "type": "boolean",
359
359
  "referenceOnly": "true"
360
+ },
361
+ "platform.editor.no-telecursors-for-viewmode-users_hok8o": {
362
+ "type": "boolean",
363
+ "referenceOnly": "true"
360
364
  }
361
365
  },
362
366
  "stricter": {