@atlaskit/editor-core 203.2.10 → 203.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1230,7 +1230,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1230
1230
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1231
1231
  ];
1232
1232
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1233
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
1233
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
1234
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1235
+ sharedState: {
1236
+ mode: "offline" | "online";
1237
+ };
1238
+ }, undefined>>
1234
1239
  ];
1235
1240
  actions: {
1236
1241
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -1241,7 +1246,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1241
1246
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1242
1247
  pluginConfiguration: FeatureFlags;
1243
1248
  sharedState: FeatureFlags;
1244
- }, FeatureFlags>>
1249
+ }, FeatureFlags>>,
1250
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1251
+ sharedState: {
1252
+ mode: "offline" | "online";
1253
+ };
1254
+ }, undefined>>
1245
1255
  ];
1246
1256
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
1247
1257
  actions: {
@@ -1454,7 +1464,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1454
1464
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1455
1465
  ];
1456
1466
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1457
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
1467
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
1468
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1469
+ sharedState: {
1470
+ mode: "offline" | "online";
1471
+ };
1472
+ }, undefined>>
1458
1473
  ];
1459
1474
  actions: {
1460
1475
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -2741,7 +2756,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2741
2756
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2742
2757
  ];
2743
2758
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2744
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
2759
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
2760
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
2761
+ sharedState: {
2762
+ mode: "offline" | "online";
2763
+ };
2764
+ }, undefined>>
2745
2765
  ];
2746
2766
  actions: {
2747
2767
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -2909,7 +2929,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
2909
2929
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2910
2930
  ];
2911
2931
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2912
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
2932
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
2933
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
2934
+ sharedState: {
2935
+ mode: "offline" | "online";
2936
+ };
2937
+ }, undefined>>
2913
2938
  ];
2914
2939
  actions: {
2915
2940
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -3759,7 +3784,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3759
3784
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3760
3785
  ];
3761
3786
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
3762
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
3787
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
3788
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
3789
+ sharedState: {
3790
+ mode: "offline" | "online";
3791
+ };
3792
+ }, undefined>>
3763
3793
  ];
3764
3794
  actions: {
3765
3795
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -3770,7 +3800,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
3770
3800
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3771
3801
  pluginConfiguration: FeatureFlags;
3772
3802
  sharedState: FeatureFlags;
3773
- }, FeatureFlags>>
3803
+ }, FeatureFlags>>,
3804
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
3805
+ sharedState: {
3806
+ mode: "offline" | "online";
3807
+ };
3808
+ }, undefined>>
3774
3809
  ];
3775
3810
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
3776
3811
  actions: {
@@ -4942,7 +4977,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4942
4977
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
4943
4978
  ];
4944
4979
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4945
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
4980
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
4981
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
4982
+ sharedState: {
4983
+ mode: "offline" | "online";
4984
+ };
4985
+ }, undefined>>
4946
4986
  ];
4947
4987
  actions: {
4948
4988
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -4953,7 +4993,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
4953
4993
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4954
4994
  pluginConfiguration: FeatureFlags;
4955
4995
  sharedState: FeatureFlags;
4956
- }, FeatureFlags>>
4996
+ }, FeatureFlags>>,
4997
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
4998
+ sharedState: {
4999
+ mode: "offline" | "online";
5000
+ };
5001
+ }, undefined>>
4957
5002
  ];
4958
5003
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
4959
5004
  actions: {
@@ -5557,7 +5602,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5557
5602
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5558
5603
  ];
5559
5604
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
5560
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
5605
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
5606
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
5607
+ sharedState: {
5608
+ mode: "offline" | "online";
5609
+ };
5610
+ }, undefined>>
5561
5611
  ];
5562
5612
  actions: {
5563
5613
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -5568,7 +5618,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5568
5618
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5569
5619
  pluginConfiguration: FeatureFlags;
5570
5620
  sharedState: FeatureFlags;
5571
- }, FeatureFlags>>
5621
+ }, FeatureFlags>>,
5622
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
5623
+ sharedState: {
5624
+ mode: "offline" | "online";
5625
+ };
5626
+ }, undefined>>
5572
5627
  ];
5573
5628
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
5574
5629
  actions: {
@@ -5720,7 +5775,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
5720
5775
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5721
5776
  ];
5722
5777
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
5723
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
5778
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
5779
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
5780
+ sharedState: {
5781
+ mode: "offline" | "online";
5782
+ };
5783
+ }, undefined>>
5724
5784
  ];
5725
5785
  actions: {
5726
5786
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -7162,7 +7222,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7162
7222
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
7163
7223
  ];
7164
7224
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
7165
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
7225
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
7226
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
7227
+ sharedState: {
7228
+ mode: "offline" | "online";
7229
+ };
7230
+ }, undefined>>
7166
7231
  ];
7167
7232
  actions: {
7168
7233
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -7173,7 +7238,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
7173
7238
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7174
7239
  pluginConfiguration: FeatureFlags;
7175
7240
  sharedState: FeatureFlags;
7176
- }, FeatureFlags>>
7241
+ }, FeatureFlags>>,
7242
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
7243
+ sharedState: {
7244
+ mode: "offline" | "online";
7245
+ };
7246
+ }, undefined>>
7177
7247
  ];
7178
7248
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
7179
7249
  actions: {
@@ -9166,7 +9236,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
9166
9236
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
9167
9237
  ];
9168
9238
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
9169
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
9239
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
9240
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
9241
+ sharedState: {
9242
+ mode: "offline" | "online";
9243
+ };
9244
+ }, undefined>>
9170
9245
  ];
9171
9246
  actions: {
9172
9247
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -9177,7 +9252,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
9177
9252
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
9178
9253
  pluginConfiguration: FeatureFlags;
9179
9254
  sharedState: FeatureFlags;
9180
- }, FeatureFlags>>
9255
+ }, FeatureFlags>>,
9256
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
9257
+ sharedState: {
9258
+ mode: "offline" | "online";
9259
+ };
9260
+ }, undefined>>
9181
9261
  ];
9182
9262
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
9183
9263
  actions: {
@@ -9390,7 +9470,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
9390
9470
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
9391
9471
  ];
9392
9472
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
9393
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
9473
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
9474
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
9475
+ sharedState: {
9476
+ mode: "offline" | "online";
9477
+ };
9478
+ }, undefined>>
9394
9479
  ];
9395
9480
  actions: {
9396
9481
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -1178,7 +1178,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1178
1178
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1179
1179
  ];
1180
1180
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1181
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
1181
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
1182
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1183
+ sharedState: {
1184
+ mode: "offline" | "online";
1185
+ };
1186
+ }, undefined>>
1182
1187
  ];
1183
1188
  actions: {
1184
1189
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -1189,7 +1194,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1189
1194
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1190
1195
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
1191
1196
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1192
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
1197
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>,
1198
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1199
+ sharedState: {
1200
+ mode: "offline" | "online";
1201
+ };
1202
+ }, undefined>>
1193
1203
  ];
1194
1204
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
1195
1205
  actions: {
@@ -1402,7 +1412,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1402
1412
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
1403
1413
  ];
1404
1414
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
1405
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
1415
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
1416
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1417
+ sharedState: {
1418
+ mode: "offline" | "online";
1419
+ };
1420
+ }, undefined>>
1406
1421
  ];
1407
1422
  actions: {
1408
1423
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -1648,7 +1663,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1648
1663
  }, undefined>>
1649
1664
  ];
1650
1665
  actions: {
1651
- getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-plugin-collab-edit").CollabInviteToEditProps) => JSX.Element | null;
1666
+ getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
1652
1667
  };
1653
1668
  }, {
1654
1669
  collabEdit?: import("@atlaskit/editor-common/collab").CollabEditOptions | undefined;
@@ -2689,7 +2704,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2689
2704
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2690
2705
  ];
2691
2706
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2692
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
2707
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
2708
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
2709
+ sharedState: {
2710
+ mode: "offline" | "online";
2711
+ };
2712
+ }, undefined>>
2693
2713
  ];
2694
2714
  actions: {
2695
2715
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -2857,7 +2877,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
2857
2877
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
2858
2878
  ];
2859
2879
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
2860
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
2880
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
2881
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
2882
+ sharedState: {
2883
+ mode: "offline" | "online";
2884
+ };
2885
+ }, undefined>>
2861
2886
  ];
2862
2887
  actions: {
2863
2888
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -3707,7 +3732,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3707
3732
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
3708
3733
  ];
3709
3734
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
3710
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
3735
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
3736
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
3737
+ sharedState: {
3738
+ mode: "offline" | "online";
3739
+ };
3740
+ }, undefined>>
3711
3741
  ];
3712
3742
  actions: {
3713
3743
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -3718,7 +3748,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
3718
3748
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
3719
3749
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
3720
3750
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
3721
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
3751
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>,
3752
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
3753
+ sharedState: {
3754
+ mode: "offline" | "online";
3755
+ };
3756
+ }, undefined>>
3722
3757
  ];
3723
3758
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
3724
3759
  actions: {
@@ -4890,7 +4925,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4890
4925
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
4891
4926
  ];
4892
4927
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
4893
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
4928
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
4929
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
4930
+ sharedState: {
4931
+ mode: "offline" | "online";
4932
+ };
4933
+ }, undefined>>
4894
4934
  ];
4895
4935
  actions: {
4896
4936
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -4901,7 +4941,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
4901
4941
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
4902
4942
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
4903
4943
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
4904
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
4944
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>,
4945
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
4946
+ sharedState: {
4947
+ mode: "offline" | "online";
4948
+ };
4949
+ }, undefined>>
4905
4950
  ];
4906
4951
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
4907
4952
  actions: {
@@ -5505,7 +5550,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5505
5550
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5506
5551
  ];
5507
5552
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
5508
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
5553
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
5554
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
5555
+ sharedState: {
5556
+ mode: "offline" | "online";
5557
+ };
5558
+ }, undefined>>
5509
5559
  ];
5510
5560
  actions: {
5511
5561
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -5516,7 +5566,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5516
5566
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
5517
5567
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
5518
5568
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
5519
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
5569
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>,
5570
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
5571
+ sharedState: {
5572
+ mode: "offline" | "online";
5573
+ };
5574
+ }, undefined>>
5520
5575
  ];
5521
5576
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
5522
5577
  actions: {
@@ -5668,7 +5723,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
5668
5723
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
5669
5724
  ];
5670
5725
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
5671
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
5726
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
5727
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
5728
+ sharedState: {
5729
+ mode: "offline" | "online";
5730
+ };
5731
+ }, undefined>>
5672
5732
  ];
5673
5733
  actions: {
5674
5734
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -7110,7 +7170,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7110
7170
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
7111
7171
  ];
7112
7172
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
7113
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
7173
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
7174
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
7175
+ sharedState: {
7176
+ mode: "offline" | "online";
7177
+ };
7178
+ }, undefined>>
7114
7179
  ];
7115
7180
  actions: {
7116
7181
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -7121,7 +7186,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
7121
7186
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
7122
7187
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
7123
7188
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
7124
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
7189
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>,
7190
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
7191
+ sharedState: {
7192
+ mode: "offline" | "online";
7193
+ };
7194
+ }, undefined>>
7125
7195
  ];
7126
7196
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
7127
7197
  actions: {
@@ -9114,7 +9184,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
9114
9184
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
9115
9185
  ];
9116
9186
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
9117
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
9187
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
9188
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
9189
+ sharedState: {
9190
+ mode: "offline" | "online";
9191
+ };
9192
+ }, undefined>>
9118
9193
  ];
9119
9194
  actions: {
9120
9195
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -9125,7 +9200,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
9125
9200
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
9126
9201
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
9127
9202
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
9128
- }, import("@atlaskit/editor-common/types").FeatureFlags>>
9203
+ }, import("@atlaskit/editor-common/types").FeatureFlags>>,
9204
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
9205
+ sharedState: {
9206
+ mode: "offline" | "online";
9207
+ };
9208
+ }, undefined>>
9129
9209
  ];
9130
9210
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
9131
9211
  actions: {
@@ -9338,7 +9418,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
9338
9418
  }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
9339
9419
  ];
9340
9420
  sharedState: import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginState;
9341
- }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>
9421
+ }, import("@atlaskit/editor-plugin-engagement-platform").EngagementPlatformPluginConfig>>,
9422
+ import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
9423
+ sharedState: {
9424
+ mode: "offline" | "online";
9425
+ };
9426
+ }, undefined>>
9342
9427
  ];
9343
9428
  actions: {
9344
9429
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
2
- import type { ToolbarUIComponentFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
2
+ import type { ToolbarUIComponentFactory, UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
3
3
  import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
4
4
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
5
5
  import type { OnEditorViewStateUpdated } from '../create-editor/get-plugins';
@@ -7,6 +7,7 @@ export interface EditorInstance {
7
7
  editorView: EditorView;
8
8
  eventDispatcher: EventDispatcher;
9
9
  contentComponents: UIComponentFactory[];
10
+ pluginHooks: ReactHookFactory[];
10
11
  primaryToolbarComponents: ToolbarUIComponentFactory[];
11
12
  secondaryToolbarComponents: UIComponentFactory[];
12
13
  onEditorViewStateUpdatedCallbacks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "203.2.10",
3
+ "version": "203.3.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/analytics-next": "^10.2.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
45
  "@atlaskit/button": "^20.3.0",
46
- "@atlaskit/editor-common": "^96.4.0",
46
+ "@atlaskit/editor-common": "^96.5.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",
@@ -84,7 +84,7 @@
84
84
  "@atlaskit/adf-utils": "^19.14.0",
85
85
  "@atlaskit/analytics-listeners": "^8.13.0",
86
86
  "@atlaskit/collab-provider": "10.2.2",
87
- "@atlaskit/editor-plugin-annotation": "1.26.3",
87
+ "@atlaskit/editor-plugin-annotation": "1.26.4",
88
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",
@@ -103,7 +103,7 @@
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.7",
106
+ "@atlassian/search-provider": "3.0.8",
107
107
  "@emotion/jest": "^11.8.0",
108
108
  "@storybook/addon-knobs": "^6.4.0",
109
109
  "@testing-library/react": "^12.1.5",
@@ -310,10 +310,6 @@
310
310
  "type": "boolean",
311
311
  "referenceOnly": true
312
312
  },
313
- "platform_editor_expand_auto_scroll": {
314
- "type": "boolean",
315
- "referenceOnly": true
316
- },
317
313
  "platform-component-visual-refresh": {
318
314
  "type": "boolean",
319
315
  "referenceOnly": true