@atlaskit/editor-core 194.3.0 → 194.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 194.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 194.3.0
4
10
 
5
11
  ### Minor Changes
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "194.3.0";
8
+ var version = exports.version = "194.3.3";
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "194.3.0";
2
+ export const version = "194.3.3";
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "194.3.0";
2
+ export var version = "194.3.3";
@@ -216,7 +216,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
216
216
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
217
217
  commands: {
218
218
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
219
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
219
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
220
220
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
221
221
  };
222
222
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -420,7 +420,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
420
420
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
421
421
  commands: {
422
422
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
423
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
423
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
424
424
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
425
425
  };
426
426
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -695,7 +695,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
695
695
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
696
696
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
697
697
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
698
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
698
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
699
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
700
+ commands: {
701
+ registerComponent: ({ name, component, }: {
702
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
703
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
704
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
705
+ };
706
+ }, undefined>>];
699
707
  actions: {
700
708
  getToolbarButton: (params: import("@atlaskit/editor-plugin-find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
701
709
  };
@@ -769,7 +777,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
769
777
  }) => boolean;
770
778
  isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
771
779
  };
772
- }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>];
780
+ }, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
781
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
782
+ commands: {
783
+ registerComponent: ({ name, component, }: {
784
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
785
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
786
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
787
+ };
788
+ }, undefined>>];
773
789
  actions: {
774
790
  getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
775
791
  editorView: import("prosemirror-view").EditorView;
@@ -783,6 +799,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
783
799
  pluginConfiguration: {
784
800
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
785
801
  };
802
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
803
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
804
+ commands: {
805
+ registerComponent: ({ name, component, }: {
806
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
807
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
808
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
809
+ };
810
+ }, undefined>>];
786
811
  }, {
787
812
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
788
813
  }> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
@@ -931,7 +956,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
931
956
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
932
957
  }, import("@atlaskit/editor-common/types").FeatureFlags>>];
933
958
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
934
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
959
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
960
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
961
+ commands: {
962
+ registerComponent: ({ name, component, }: {
963
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
964
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
965
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
966
+ };
967
+ }, undefined>>];
935
968
  }, {
936
969
  showIndentationButtons: boolean;
937
970
  allowHeadingAndParagraphIndentation: boolean;
@@ -1144,7 +1177,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1144
1177
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1145
1178
  commands: {
1146
1179
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1147
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1180
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1148
1181
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1149
1182
  };
1150
1183
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1654,7 +1687,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1654
1687
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1655
1688
  commands: {
1656
1689
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1657
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1690
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1658
1691
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1659
1692
  };
1660
1693
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2339,7 +2372,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2339
2372
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2340
2373
  commands: {
2341
2374
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2342
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2375
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2343
2376
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2344
2377
  };
2345
2378
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2923,7 +2956,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2923
2956
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2924
2957
  commands: {
2925
2958
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2926
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2959
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2927
2960
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2928
2961
  };
2929
2962
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3129,7 +3162,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3129
3162
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3130
3163
  commands: {
3131
3164
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3132
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3165
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3133
3166
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3134
3167
  };
3135
3168
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3566,7 +3599,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3566
3599
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3567
3600
  commands: {
3568
3601
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3569
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3602
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3570
3603
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3571
3604
  };
3572
3605
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3980,7 +4013,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3980
4013
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3981
4014
  commands: {
3982
4015
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3983
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4016
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3984
4017
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3985
4018
  };
3986
4019
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4184,7 +4217,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4184
4217
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4185
4218
  commands: {
4186
4219
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4187
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4220
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4188
4221
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4189
4222
  };
4190
4223
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -192,7 +192,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
192
192
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
193
193
  commands: {
194
194
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
195
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
195
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
196
196
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
197
197
  };
198
198
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -398,7 +398,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
398
398
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
399
399
  commands: {
400
400
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
401
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
401
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
402
402
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
403
403
  };
404
404
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -835,7 +835,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
835
835
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
836
836
  commands: {
837
837
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
838
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
838
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
839
839
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
840
840
  };
841
841
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1249,7 +1249,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1249
1249
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1250
1250
  commands: {
1251
1251
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1252
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1252
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1253
1253
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1254
1254
  };
1255
1255
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1453,7 +1453,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1453
1453
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1454
1454
  commands: {
1455
1455
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1456
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1456
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1457
1457
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1458
1458
  };
1459
1459
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1875,7 +1875,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
1875
1875
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1876
1876
  commands: {
1877
1877
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1878
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1878
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1879
1879
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1880
1880
  };
1881
1881
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2081,7 +2081,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2081
2081
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2082
2082
  commands: {
2083
2083
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2084
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2084
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2085
2085
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2086
2086
  };
2087
2087
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2518,7 +2518,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2518
2518
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2519
2519
  commands: {
2520
2520
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2521
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2521
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2522
2522
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2523
2523
  };
2524
2524
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2932,7 +2932,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2932
2932
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2933
2933
  commands: {
2934
2934
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2935
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2935
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2936
2936
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2937
2937
  };
2938
2938
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3136,7 +3136,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3136
3136
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3137
3137
  commands: {
3138
3138
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3139
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3139
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3140
3140
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3141
3141
  };
3142
3142
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -233,7 +233,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
233
233
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
234
234
  commands: {
235
235
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
236
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
236
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
237
237
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
238
238
  };
239
239
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -437,7 +437,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
437
437
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
438
438
  commands: {
439
439
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
440
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
440
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
441
441
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
442
442
  };
443
443
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -712,7 +712,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
712
712
  sharedState: FeatureFlags;
713
713
  }, FeatureFlags>>];
714
714
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
715
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
715
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
716
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
717
+ commands: {
718
+ registerComponent: ({ name, component, }: {
719
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
720
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
721
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
722
+ };
723
+ }, undefined>>];
716
724
  actions: {
717
725
  getToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
718
726
  };
@@ -786,7 +794,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
786
794
  }) => boolean;
787
795
  isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
788
796
  };
789
- }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>];
797
+ }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
798
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
799
+ commands: {
800
+ registerComponent: ({ name, component, }: {
801
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
802
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
803
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
804
+ };
805
+ }, undefined>>];
790
806
  actions: {
791
807
  getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
792
808
  editorView: import("prosemirror-view").EditorView;
@@ -800,6 +816,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
800
816
  pluginConfiguration: {
801
817
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents | undefined;
802
818
  };
819
+ dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
820
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
821
+ commands: {
822
+ registerComponent: ({ name, component, }: {
823
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
824
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
825
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
826
+ };
827
+ }, undefined>>];
803
828
  }, {
804
829
  beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents | undefined;
805
830
  }> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
@@ -948,7 +973,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
948
973
  sharedState: FeatureFlags;
949
974
  }, FeatureFlags>>];
950
975
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
951
- }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
976
+ }, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
977
+ sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
978
+ commands: {
979
+ registerComponent: ({ name, component, }: {
980
+ name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
981
+ component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
982
+ }) => import("@atlaskit/editor-common/types").EditorCommand;
983
+ };
984
+ }, undefined>>];
952
985
  }, {
953
986
  showIndentationButtons: boolean;
954
987
  allowHeadingAndParagraphIndentation: boolean;
@@ -1161,7 +1194,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1161
1194
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1162
1195
  commands: {
1163
1196
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1164
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1197
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1165
1198
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1166
1199
  };
1167
1200
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -1671,7 +1704,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1671
1704
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
1672
1705
  commands: {
1673
1706
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1674
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1707
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
1675
1708
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1676
1709
  };
1677
1710
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2356,7 +2389,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2356
2389
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2357
2390
  commands: {
2358
2391
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2359
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2392
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2360
2393
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2361
2394
  };
2362
2395
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -2940,7 +2973,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2940
2973
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
2941
2974
  commands: {
2942
2975
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2943
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2976
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
2944
2977
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2945
2978
  };
2946
2979
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3146,7 +3179,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3146
3179
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3147
3180
  commands: {
3148
3181
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3149
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3182
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3150
3183
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3151
3184
  };
3152
3185
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3583,7 +3616,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3583
3616
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3584
3617
  commands: {
3585
3618
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3586
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3619
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
3587
3620
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3588
3621
  };
3589
3622
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -3997,7 +4030,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3997
4030
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
3998
4031
  commands: {
3999
4032
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4000
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4033
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4001
4034
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4002
4035
  };
4003
4036
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
@@ -4201,7 +4234,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4201
4234
  sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
4202
4235
  commands: {
4203
4236
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4204
- showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4237
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
4205
4238
  setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4206
4239
  };
4207
4240
  }, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {