@atlaskit/editor-core 209.3.0 → 209.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,14 +91,14 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
91
91
  pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
92
92
  }, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>,
93
93
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
94
- dependencies: import("packages/editor/editor-plugin-paste-options-toolbar/dist/types").PasteOptionsToolbarPluginDependencies;
94
+ dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
95
95
  }, undefined>,
96
96
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined,
97
97
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined,
98
98
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
99
99
  pluginConfiguration: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions;
100
100
  sharedState: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginState | undefined;
101
- dependencies: import("packages/editor/editor-plugin-find-replace/dist/types").FindReplacePluginDependencies;
101
+ dependencies: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginDependencies;
102
102
  actions: {
103
103
  registerToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
104
104
  activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL | undefined) => boolean;
@@ -106,7 +106,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
106
106
  }, import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions> | undefined,
107
107
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"avatarGroup", {
108
108
  pluginConfiguration: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginOptions;
109
- dependencies: import("packages/editor/editor-plugin-avatar-group/dist/types").AvatarGroupPluginDependencies;
109
+ dependencies: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginDependencies;
110
110
  actions: {
111
111
  getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
112
112
  };
@@ -129,12 +129,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
129
129
  }, import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined>,
130
130
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
131
131
  pluginConfiguration: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions;
132
- dependencies: import("packages/editor/editor-plugin-toolbar-lists-indentation/dist/types").ToolbarListsIndentationPluginDependencies;
132
+ dependencies: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginDependencies;
133
133
  }, import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions>,
134
134
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"scrollIntoView", {}, undefined> | undefined,
135
135
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"indentation", {
136
- dependencies: import("packages/editor/editor-plugin-indentation/dist/types").IndentationPluginDependencies;
137
- actions: import("packages/editor/editor-plugin-indentation/dist/types").IndentationPluginActions;
136
+ dependencies: import("@atlaskit/editor-plugins/indentation").IndentationPluginDependencies;
137
+ actions: import("@atlaskit/editor-plugins/indentation").IndentationPluginActions;
138
138
  sharedState: {
139
139
  isIndentationAllowed: boolean;
140
140
  indentDisabled: boolean;
@@ -142,10 +142,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
142
142
  } | undefined;
143
143
  }, undefined> | undefined,
144
144
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
145
- dependencies: import("packages/editor/editor-plugin-status/dist/types").StatusPluginDependencies;
145
+ dependencies: import("@atlaskit/editor-plugins/status").StatusPluginDependencies;
146
146
  pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
147
- actions: import("packages/editor/editor-plugin-status/dist/types").StatusPluginActions;
148
- commands: import("packages/editor/editor-plugin-status/dist/types").StatusPluginCommands;
147
+ actions: import("@atlaskit/editor-plugins/status").StatusPluginActions;
148
+ commands: import("@atlaskit/editor-plugins/status").StatusPluginCommands;
149
149
  sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
150
150
  }, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined,
151
151
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
@@ -157,19 +157,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
157
157
  }, import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions> | undefined,
158
158
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
159
159
  pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
160
- dependencies: import("packages/editor/editor-plugin-card/dist/types").CardPluginDependencies;
160
+ dependencies: import("@atlaskit/editor-plugins/card").CardPluginDependencies;
161
161
  sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
162
162
  actions: import("@atlaskit/editor-common/card").CardPluginActions;
163
163
  }, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined,
164
164
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
165
165
  pluginConfiguration: import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined;
166
- dependencies: import("packages/editor/editor-plugin-layout/dist/types").LayoutPluginDependencies;
166
+ dependencies: import("@atlaskit/editor-plugins/layout").LayoutPluginDependencies;
167
167
  actions: {
168
168
  insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE) => import("@atlaskit/editor-common/types").Command;
169
169
  };
170
170
  }, import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined> | undefined,
171
171
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholderText", {
172
- dependencies: import("packages/editor/editor-plugin-placeholder-text/dist/types").PlaceholderTextPluginDependencies;
172
+ dependencies: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginDependencies;
173
173
  pluginConfiguration: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions;
174
174
  sharedState: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginState | undefined;
175
175
  actions: {
@@ -178,7 +178,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
178
178
  }, import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions> | undefined,
179
179
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"date", {
180
180
  pluginConfiguration: import("@atlaskit/editor-plugins/date").DatePluginOptions | undefined;
181
- dependencies: import("packages/editor/editor-plugin-date/dist/types").DatePluginDependencies;
181
+ dependencies: import("@atlaskit/editor-plugins/date").DatePluginDependencies;
182
182
  sharedState: import("@atlaskit/editor-plugins/date").DatePluginSharedState;
183
183
  commands: {
184
184
  insertDate: import("@atlaskit/editor-plugins/date").InsertDate;
@@ -188,7 +188,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
188
188
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
189
189
  pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
190
190
  sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
191
- dependencies: import("packages/editor/editor-plugin-annotation/dist/types").AnnotationPluginDependencies;
191
+ dependencies: import("@atlaskit/editor-plugins/annotation").AnnotationPluginDependencies;
192
192
  actions: {
193
193
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
194
194
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -198,21 +198,21 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
198
198
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
199
199
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
200
200
  pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
201
- dependencies: import("packages/editor/editor-plugin-extension/dist/types").ExtensionPluginDependencies;
201
+ dependencies: import("@atlaskit/editor-plugins/extension").ExtensionPluginDependencies;
202
202
  sharedState: {
203
203
  showContextPanel: boolean | undefined;
204
204
  extensionProvider?: import("@atlaskit/editor-common/extensions").ExtensionProvider<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
205
205
  processParametersAfter?: import("@atlaskit/editor-common/extensions").TransformAfter<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
206
206
  } | undefined;
207
- actions: import("packages/editor/editor-plugin-extension/dist/types").ExtensionPluginActions;
207
+ actions: import("@atlaskit/editor-plugins/extension").ExtensionPluginActions;
208
208
  }, import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined> | undefined,
209
209
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
210
210
  pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
211
211
  actions: {
212
212
  applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
213
- showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
214
- closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
215
- closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
213
+ showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
214
+ closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
215
+ closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
216
216
  };
217
217
  sharedState: {
218
218
  contents: import("react").ReactNode[] | undefined;
@@ -220,7 +220,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
220
220
  }, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined> | undefined,
221
221
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
222
222
  pluginConfiguration: import("@atlaskit/editor-plugins/panel").PanelPluginOptions | undefined;
223
- dependencies: import("packages/editor/editor-plugin-panel/dist/types").PanelPluginDependencies;
223
+ dependencies: import("@atlaskit/editor-plugins/panel").PanelPluginDependencies;
224
224
  actions: {
225
225
  insertPanel: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
226
226
  };
@@ -231,7 +231,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
231
231
  }, number | undefined> | undefined,
232
232
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
233
233
  pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
234
- dependencies: import("packages/editor/editor-plugin-collab-edit/dist/types").CollabEditPluginDependencies;
234
+ dependencies: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginDependencies;
235
235
  sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
236
236
  actions: {
237
237
  getAvatarColor: (str: string) => {
@@ -262,7 +262,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
262
262
  }, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions> | undefined,
263
263
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
264
264
  pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
265
- dependencies: import("packages/editor/editor-plugin-media/dist/types").MediaPluginDependencies;
265
+ dependencies: import("@atlaskit/editor-plugins/media").MediaPluginDependencies;
266
266
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
267
267
  actions: {
268
268
  insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
@@ -288,7 +288,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
288
288
  pluginConfiguration: import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined;
289
289
  }, import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined> | undefined,
290
290
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"helpDialog", {
291
- dependencies: import("packages/editor/editor-plugin-help-dialog/dist/types").HelpDialogDependencies;
291
+ dependencies: import("@atlaskit/editor-plugins/help-dialog").HelpDialogDependencies;
292
292
  pluginConfiguration: import("@atlaskit/editor-plugins/help-dialog").HelpDialogPluginOptions;
293
293
  sharedState: import("@atlaskit/editor-plugins/help-dialog").HelpDialogSharedState | null;
294
294
  actions: {
@@ -306,7 +306,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
306
306
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"taskDecision", {
307
307
  pluginConfiguration: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined;
308
308
  sharedState: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskAndDecisionsSharedState | undefined;
309
- dependencies: import("packages/editor/editor-plugin-tasks-and-decisions/dist/types").TasksAndDecisionsPluginDependencies;
309
+ dependencies: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginDependencies;
310
310
  actions: {
311
311
  insertTaskDecision: (listType: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskDecisionListType, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.FORMATTING | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE | undefined, addItem?: import("@atlaskit/editor-plugins/tasks-and-decisions").AddItemTransactionCreator | undefined, listLocalId?: string | undefined, itemLocalId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
312
312
  indentTaskList: (inputMethod?: (import("@atlaskit/editor-common/analytics").INPUT_METHOD.FLOATING_TB | import("@atlaskit/editor-common/analytics").INPUT_METHOD.KEYBOARD | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR) | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -320,39 +320,39 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
320
320
  }, import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined> | undefined,
321
321
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"table", {
322
322
  pluginConfiguration: import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined;
323
- actions: import("packages/editor/editor-plugin-table/dist/types").TablePluginActions;
323
+ actions: import("@atlaskit/editor-plugins/table").TablePluginActions;
324
324
  sharedState?: import("@atlaskit/editor-plugins/table/types").TableSharedState | undefined;
325
- commands: import("packages/editor/editor-plugin-table/dist/types").TablePluginCommands;
326
- dependencies: import("packages/editor/editor-plugin-table/dist/types").TablePluginDependencies;
325
+ commands: import("@atlaskit/editor-plugins/table").TablePluginCommands;
326
+ dependencies: import("@atlaskit/editor-plugins/table").TablePluginDependencies;
327
327
  }, import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined> | undefined,
328
328
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
329
329
  pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
330
- dependencies: import("packages/editor/editor-plugin-emoji/dist/types").EmojiPluginDependencies;
330
+ dependencies: import("@atlaskit/editor-plugins/emoji").EmojiPluginDependencies;
331
331
  sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
332
- commands: import("packages/editor/editor-plugin-emoji/dist/types").EmojiPluginCommands;
333
- actions: import("packages/editor/editor-plugin-emoji/dist/types").EmojiPluginActions;
332
+ commands: import("@atlaskit/editor-plugins/emoji").EmojiPluginCommands;
333
+ actions: import("@atlaskit/editor-plugins/emoji").EmojiPluginActions;
334
334
  }, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined> | undefined,
335
335
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
336
336
  pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined;
337
- dependencies: import("packages/editor/editor-plugin-mentions/dist/types").MentionPluginDependencies;
337
+ dependencies: import("@atlaskit/editor-plugins/mentions").MentionPluginDependencies;
338
338
  sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
339
- actions: import("packages/editor/editor-plugin-mentions/dist/types").MentionActions;
339
+ actions: import("@atlaskit/editor-plugins/mentions").MentionActions;
340
340
  commands: {
341
- insertMention: (params: import("packages/editor/editor-plugin-mentions/dist/types").InsertMentionParameters) => import("@atlaskit/editor-common/types").EditorCommand;
341
+ insertMention: (params: import("@atlaskit/editor-plugins/mentions").InsertMentionParameters) => import("@atlaskit/editor-common/types").EditorCommand;
342
342
  };
343
343
  }, import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined> | undefined,
344
344
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"caption", {
345
- dependencies: import("packages/editor/editor-plugin-caption/dist/types").CaptionPluginDependencies;
345
+ dependencies: import("@atlaskit/editor-plugins/caption").CaptionPluginDependencies;
346
346
  }, undefined> | undefined,
347
347
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {
348
- dependencies: import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginDependencies;
348
+ dependencies: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginDependencies;
349
349
  sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
350
- commands: import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginCommands;
351
- pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginConfig | undefined;
352
- }, import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginConfig | undefined> | undefined,
350
+ commands: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginCommands;
351
+ pluginConfiguration: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginConfig | undefined;
352
+ }, import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginConfig | undefined> | undefined,
353
353
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
354
354
  pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
355
- dependencies: import("packages/editor/editor-plugin-media/dist/types").MediaPluginDependencies;
355
+ dependencies: import("@atlaskit/editor-plugins/media").MediaPluginDependencies;
356
356
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
357
357
  actions: {
358
358
  insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
@@ -367,7 +367,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
367
367
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
368
368
  pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
369
369
  sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
370
- dependencies: import("packages/editor/editor-plugin-annotation/dist/types").AnnotationPluginDependencies;
370
+ dependencies: import("@atlaskit/editor-plugins/annotation").AnnotationPluginDependencies;
371
371
  actions: {
372
372
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
373
373
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, targetNodeId?: string | undefined, isOpeningMediaCommentFromToolbar?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
@@ -376,11 +376,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
376
376
  };
377
377
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
378
378
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
379
- pluginConfiguration: import("packages/editor/editor-plugin-grid/dist/types").GridPluginConfiguration;
380
- dependencies: import("packages/editor/editor-plugin-grid/dist/types").GridPluginDependencies;
381
- sharedState: import("packages/editor/editor-plugin-grid/dist/types").GridPluginSharedState;
382
- actions: import("packages/editor/editor-plugin-grid/dist/types").GridPluginActions;
383
- }, import("packages/editor/editor-plugin-grid/dist/types").GridPluginConfiguration> | undefined,
379
+ pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginConfiguration;
380
+ dependencies: import("@atlaskit/editor-plugins/grid").GridPluginDependencies;
381
+ sharedState: import("@atlaskit/editor-plugins/grid").GridPluginSharedState;
382
+ actions: import("@atlaskit/editor-plugins/grid").GridPluginActions;
383
+ }, import("@atlaskit/editor-plugins/grid").GridPluginConfiguration> | undefined,
384
384
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
385
385
  dependencies: [
386
386
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
@@ -394,7 +394,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
394
394
  }, undefined> | undefined,
395
395
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"expand", {
396
396
  pluginConfiguration: import("@atlaskit/editor-plugins/expand").ExpandPluginOptions | undefined;
397
- dependencies: import("packages/editor/editor-plugin-expand/dist/types").ExpandPluginDependencies;
397
+ dependencies: import("@atlaskit/editor-plugins/expand").ExpandPluginDependencies;
398
398
  actions: {
399
399
  insertExpand: import("@atlaskit/editor-common/types").Command;
400
400
  insertExpandWithInputMethod: (inputMethod: import("@atlaskit/editor-plugins/expand").InsertMethod) => import("@atlaskit/editor-common/types").Command;
@@ -427,14 +427,14 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
427
427
  };
428
428
  }, undefined> | undefined,
429
429
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
430
- dependencies: import("packages/editor/editor-plugin-list/dist/types").ListPluginDependencies;
431
- actions: import("packages/editor/editor-plugin-list/dist/types").ListPluginActions;
432
- commands: import("packages/editor/editor-plugin-list/dist/types").ListPluginCommands;
433
- sharedState: import("packages/editor/editor-plugin-list/dist/types").ListPluginSharedState;
430
+ dependencies: import("@atlaskit/editor-plugins/list").ListPluginDependencies;
431
+ actions: import("@atlaskit/editor-plugins/list").ListPluginActions;
432
+ commands: import("@atlaskit/editor-plugins/list").ListPluginCommands;
433
+ sharedState: import("@atlaskit/editor-plugins/list").ListPluginSharedState;
434
434
  }, undefined>,
435
435
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"textColor", {
436
436
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
437
- dependencies: import("packages/editor/editor-plugin-text-color/dist/types").Dependencies;
437
+ dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
438
438
  actions: {
439
439
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod | undefined) => import("@atlaskit/editor-common/types").Command;
440
440
  };
@@ -442,11 +442,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
442
442
  }, import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined> | undefined,
443
443
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"alignment", {
444
444
  sharedState: import("@atlaskit/editor-plugins/alignment").AlignmentPluginState | undefined;
445
- dependencies: import("packages/editor/editor-plugin-alignment/dist/types").AlignmentPluginDependencies;
445
+ dependencies: import("@atlaskit/editor-plugins/alignment").AlignmentPluginDependencies;
446
446
  }, undefined> | undefined,
447
447
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
448
448
  pluginConfiguration: import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined;
449
- dependencies: import("packages/editor/editor-plugin-breakout/dist/types").BreakoutPluginDependencies;
449
+ dependencies: import("@atlaskit/editor-plugins/breakout").BreakoutPluginDependencies;
450
450
  sharedState: Partial<import("@atlaskit/editor-plugins/breakout").BreakoutPluginState>;
451
451
  }, import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined> | undefined,
452
452
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
@@ -455,7 +455,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
455
455
  };
456
456
  }, undefined>,
457
457
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
458
- dependencies: import("packages/editor/editor-plugin-content-insertion/dist/types").ContentInsertionDependencies;
458
+ dependencies: import("@atlaskit/editor-plugins/content-insertion").ContentInsertionDependencies;
459
459
  } & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>,
460
460
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
461
461
  dependencies: [
@@ -545,7 +545,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
545
545
  sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
546
546
  }, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
547
547
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
548
- dependencies: import("packages/editor/editor-plugin-floating-toolbar/dist/types").FloatingToolbarPluginDependencies;
548
+ dependencies: import("@atlaskit/editor-plugins/floating-toolbar").FloatingToolbarPluginDependencies;
549
549
  actions: {
550
550
  forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
551
551
  };
@@ -586,7 +586,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
586
586
  }, undefined>,
587
587
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
588
588
  pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
589
- dependencies: import("packages/editor/editor-plugin-submit-editor/dist/types").SubmitEditorPluginDependencies;
589
+ dependencies: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginDependencies;
590
590
  }, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
591
591
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
592
592
  sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
@@ -628,7 +628,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
628
628
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
629
629
  }, import("@atlaskit/editor-common/types").FeatureFlags>>,
630
630
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
631
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
631
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
632
632
  commands: {
633
633
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
634
634
  };
@@ -637,9 +637,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
637
637
  pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
638
638
  actions: {
639
639
  applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
640
- showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
641
- closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
642
- closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
640
+ showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
641
+ closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
642
+ closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
643
643
  };
644
644
  sharedState: {
645
645
  contents: import("react").ReactNode[] | undefined;
@@ -713,12 +713,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
713
713
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
714
714
  }) => boolean;
715
715
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
716
- open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
716
+ open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
717
717
  close: (props: {
718
718
  insertCurrentQueryAsRawText: boolean;
719
719
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
720
720
  }) => boolean;
721
- openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
721
+ openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
722
722
  };
723
723
  }, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>
724
724
  ];
@@ -749,7 +749,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
749
749
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
750
750
  }, import("@atlaskit/editor-common/types").FeatureFlags>>,
751
751
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
752
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
752
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
753
753
  commands: {
754
754
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
755
755
  };
@@ -758,9 +758,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
758
758
  pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
759
759
  actions: {
760
760
  applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
761
- showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
762
- closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
763
- closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
761
+ showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
762
+ closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
763
+ closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
764
764
  };
765
765
  sharedState: {
766
766
  contents: import("react").ReactNode[] | undefined;
@@ -834,16 +834,16 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
834
834
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
835
835
  }) => boolean;
836
836
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
837
- open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
837
+ open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
838
838
  close: (props: {
839
839
  insertCurrentQueryAsRawText: boolean;
840
840
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
841
841
  }) => boolean;
842
- openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
842
+ openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
843
843
  };
844
844
  }, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
845
845
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
846
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
846
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
847
847
  commands: {
848
848
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
849
849
  };
@@ -964,13 +964,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
964
964
  sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
965
965
  actions: {
966
966
  setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
967
- registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types").Callback) => void;
967
+ registerMarks: (callback: import("@atlaskit/editor-plugins/base").Callback) => void;
968
968
  resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
969
969
  };
970
970
  }, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>>,
971
971
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
972
972
  sharedState: {
973
- toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking;
973
+ toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
974
974
  };
975
975
  pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
976
976
  dependencies: [
@@ -1009,7 +1009,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1009
1009
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1010
1010
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
1011
1011
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
1012
- dependencies: import("packages/editor/editor-plugin-block-controls/dist/types").BlockControlsPluginDependencies;
1012
+ dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
1013
1013
  sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
1014
1014
  commands: {
1015
1015
  moveToLayout: (start: number, to: number, options?: {
@@ -1017,7 +1017,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1017
1017
  selectMovedNode?: boolean | undefined;
1018
1018
  moveNodeAtCursorPos?: boolean | undefined;
1019
1019
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1020
- moveNode: import("packages/editor/editor-plugin-block-controls/dist/types").MoveNode;
1020
+ moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
1021
1021
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1022
1022
  toggleBlockMenu: (options?: {
1023
1023
  closeMenu?: boolean | undefined;
@@ -1029,7 +1029,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1029
1029
  };
1030
1030
  }, undefined>>,
1031
1031
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1032
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
1032
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
1033
1033
  commands: {
1034
1034
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
1035
1035
  };
@@ -1062,8 +1062,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1062
1062
  actions?: {
1063
1063
  suppressToolbar?: (() => boolean) | undefined;
1064
1064
  unsuppressToolbar?: (() => boolean) | undefined;
1065
- setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
1066
- forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
1065
+ setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
1066
+ forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
1067
1067
  refreshToolbarDocking?: (() => boolean) | undefined;
1068
1068
  } | undefined;
1069
1069
  }, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
@@ -1105,18 +1105,18 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1105
1105
  }, import("@atlaskit/editor-common/types").TextFormattingOptions | undefined>,
1106
1106
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
1107
1107
  pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
1108
- dependencies: import("packages/editor/editor-plugin-hyperlink/dist/types").HyperlinkPluginDependencies;
1109
- actions: import("packages/editor/editor-plugin-hyperlink/dist/types").HyperlinkPluginActions;
1108
+ dependencies: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginDependencies;
1109
+ actions: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginActions;
1110
1110
  commands: {
1111
1111
  showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
1112
1112
  updateLink: (href: string, text: string) => import("@atlaskit/editor-common/types").EditorCommand;
1113
1113
  removeLink: () => import("@atlaskit/editor-common/types").EditorCommand;
1114
1114
  };
1115
- sharedState: import("packages/editor/editor-plugin-hyperlink/dist/types").HyperlinkPluginSharedState;
1115
+ sharedState: import("@atlaskit/editor-plugins/hyperlink").HyperlinkPluginSharedState;
1116
1116
  }, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>,
1117
1117
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
1118
1118
  sharedState: {
1119
- toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking;
1119
+ toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
1120
1120
  };
1121
1121
  pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
1122
1122
  dependencies: [
@@ -1155,7 +1155,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1155
1155
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1156
1156
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
1157
1157
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
1158
- dependencies: import("packages/editor/editor-plugin-block-controls/dist/types").BlockControlsPluginDependencies;
1158
+ dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
1159
1159
  sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
1160
1160
  commands: {
1161
1161
  moveToLayout: (start: number, to: number, options?: {
@@ -1163,7 +1163,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1163
1163
  selectMovedNode?: boolean | undefined;
1164
1164
  moveNodeAtCursorPos?: boolean | undefined;
1165
1165
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1166
- moveNode: import("packages/editor/editor-plugin-block-controls/dist/types").MoveNode;
1166
+ moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
1167
1167
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1168
1168
  toggleBlockMenu: (options?: {
1169
1169
  closeMenu?: boolean | undefined;
@@ -1175,7 +1175,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1175
1175
  };
1176
1176
  }, undefined>>,
1177
1177
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1178
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
1178
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
1179
1179
  commands: {
1180
1180
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
1181
1181
  };
@@ -1208,8 +1208,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1208
1208
  actions?: {
1209
1209
  suppressToolbar?: (() => boolean) | undefined;
1210
1210
  unsuppressToolbar?: (() => boolean) | undefined;
1211
- setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
1212
- forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
1211
+ setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
1212
+ forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
1213
1213
  refreshToolbarDocking?: (() => boolean) | undefined;
1214
1214
  } | undefined;
1215
1215
  }, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>,
@@ -1244,7 +1244,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1244
1244
  }, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
1245
1245
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
1246
1246
  sharedState: {
1247
- toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking;
1247
+ toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking;
1248
1248
  };
1249
1249
  pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
1250
1250
  dependencies: [
@@ -1283,7 +1283,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1283
1283
  actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
1284
1284
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
1285
1285
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
1286
- dependencies: import("packages/editor/editor-plugin-block-controls/dist/types").BlockControlsPluginDependencies;
1286
+ dependencies: import("@atlaskit/editor-plugins/block-controls").BlockControlsPluginDependencies;
1287
1287
  sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
1288
1288
  commands: {
1289
1289
  moveToLayout: (start: number, to: number, options?: {
@@ -1291,7 +1291,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1291
1291
  selectMovedNode?: boolean | undefined;
1292
1292
  moveNodeAtCursorPos?: boolean | undefined;
1293
1293
  } | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1294
- moveNode: import("packages/editor/editor-plugin-block-controls/dist/types").MoveNode;
1294
+ moveNode: import("@atlaskit/editor-plugins/block-controls").MoveNode;
1295
1295
  showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1296
1296
  toggleBlockMenu: (options?: {
1297
1297
  closeMenu?: boolean | undefined;
@@ -1303,7 +1303,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1303
1303
  };
1304
1304
  }, undefined>>,
1305
1305
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1306
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
1306
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
1307
1307
  commands: {
1308
1308
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
1309
1309
  };
@@ -1336,8 +1336,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1336
1336
  actions?: {
1337
1337
  suppressToolbar?: (() => boolean) | undefined;
1338
1338
  unsuppressToolbar?: (() => boolean) | undefined;
1339
- setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
1340
- forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
1339
+ setToolbarDocking?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
1340
+ forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("@atlaskit/editor-plugins/selection-toolbar").ToolbarDocking) => boolean) | undefined;
1341
1341
  refreshToolbarDocking?: (() => boolean) | undefined;
1342
1342
  } | undefined;
1343
1343
  }, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
@@ -1373,7 +1373,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1373
1373
  commands: {
1374
1374
  setTextLevel: (level: import("@atlaskit/editor-plugins/block-type").TextBlockTypes, inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod, fromBlockQuote?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1375
1375
  insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
1376
- clearFormatting: (inputMethod: import("packages/editor/editor-plugin-block-type/dist/types").ClearFormattingInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
1376
+ clearFormatting: (inputMethod: import("@atlaskit/editor-plugins/block-type").ClearFormattingInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
1377
1377
  };
1378
1378
  }, import("@atlaskit/editor-plugins/block-type").BlockTypePluginOptions | undefined>,
1379
1379
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
@@ -1401,7 +1401,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1401
1401
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1402
1402
  }, import("@atlaskit/editor-common/types").FeatureFlags>>,
1403
1403
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1404
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
1404
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
1405
1405
  commands: {
1406
1406
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
1407
1407
  };
@@ -1410,9 +1410,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1410
1410
  pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
1411
1411
  actions: {
1412
1412
  applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
1413
- showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
1414
- closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
1415
- closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
1413
+ showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
1414
+ closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
1415
+ closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
1416
1416
  };
1417
1417
  sharedState: {
1418
1418
  contents: import("react").ReactNode[] | undefined;
@@ -1486,16 +1486,16 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1486
1486
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
1487
1487
  }) => boolean;
1488
1488
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
1489
- open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
1489
+ open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
1490
1490
  close: (props: {
1491
1491
  insertCurrentQueryAsRawText: boolean;
1492
1492
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
1493
1493
  }) => boolean;
1494
- openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
1494
+ openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
1495
1495
  };
1496
1496
  }, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
1497
1497
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
1498
- sharedState: import("packages/editor/editor-plugin-history/dist/types").HistoryPluginSharedState | undefined;
1498
+ sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginSharedState | undefined;
1499
1499
  commands: {
1500
1500
  updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
1501
1501
  };
@@ -1527,8 +1527,8 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1527
1527
  }, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
1528
1528
  ];
1529
1529
  actions: {
1530
- undo: import("packages/editor/editor-plugin-undo-redo/dist/types").UndoRedoAction;
1531
- redo: import("packages/editor/editor-plugin-undo-redo/dist/types").UndoRedoAction;
1530
+ undo: import("@atlaskit/editor-plugins/undo-redo").UndoRedoAction;
1531
+ redo: import("@atlaskit/editor-plugins/undo-redo").UndoRedoAction;
1532
1532
  };
1533
1533
  }, undefined> | undefined,
1534
1534
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
@@ -1542,7 +1542,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1542
1542
  pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
1543
1543
  }, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
1544
1544
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
1545
- sharedState: import("packages/editor/editor-plugin-history/dist/types").HistoryPluginSharedState | undefined;
1545
+ sharedState: import("@atlaskit/editor-plugins/history").HistoryPluginSharedState | undefined;
1546
1546
  commands: {
1547
1547
  updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
1548
1548
  };
@@ -1570,7 +1570,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1570
1570
  sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
1571
1571
  }, import("@atlaskit/editor-common/types").FeatureFlags>>,
1572
1572
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
1573
- sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
1573
+ sharedState: import("@atlaskit/editor-plugins/connectivity").PublicPluginState;
1574
1574
  commands: {
1575
1575
  setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
1576
1576
  };
@@ -1579,9 +1579,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1579
1579
  pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
1580
1580
  actions: {
1581
1581
  applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
1582
- showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
1583
- closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
1584
- closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
1582
+ showPanel?: import("@atlaskit/editor-plugins/context-panel").ShowObjectSidebar | undefined;
1583
+ closePanel?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebar | undefined;
1584
+ closePanelById?: import("@atlaskit/editor-plugins/context-panel").HideObjectSidebarById | undefined;
1585
1585
  };
1586
1586
  sharedState: {
1587
1587
  contents: import("react").ReactNode[] | undefined;
@@ -1655,12 +1655,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1655
1655
  mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
1656
1656
  }) => boolean;
1657
1657
  findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
1658
- open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
1658
+ open: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => boolean;
1659
1659
  close: (props: {
1660
1660
  insertCurrentQueryAsRawText: boolean;
1661
1661
  attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
1662
1662
  }) => boolean;
1663
- openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
1663
+ openAtTransaction: (props: import("@atlaskit/editor-plugins/type-ahead").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
1664
1664
  };
1665
1665
  }, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
1666
1666
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
@@ -1688,7 +1688,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1688
1688
  sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
1689
1689
  actions: {
1690
1690
  setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
1691
- registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types").Callback) => void;
1691
+ registerMarks: (callback: import("@atlaskit/editor-plugins/base").Callback) => void;
1692
1692
  resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
1693
1693
  };
1694
1694
  }, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>,
@@ -1738,7 +1738,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1738
1738
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>,
1739
1739
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
1740
1740
  pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
1741
- dependencies: import("packages/editor/editor-plugin-paste/dist/types").PastePluginDependencies;
1741
+ dependencies: import("@atlaskit/editor-plugins/paste").PastePluginDependencies;
1742
1742
  sharedState: {
1743
1743
  lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
1744
1744
  };