@atlaskit/editor-core 209.1.11 → 209.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/cjs/presets/universal.js +2 -3
- package/dist/cjs/ui/ContentStyles/layout.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +2 -3
- package/dist/es2019/ui/ContentStyles/layout.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +2 -3
- package/dist/esm/ui/ContentStyles/layout.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +121 -121
- package/dist/types/presets/universal.d.ts +124 -133
- package/dist/types/presets/useUniversalPreset.d.ts +121 -121
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +121 -121
- package/dist/types-ts4.5/presets/universal.d.ts +124 -133
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +121 -121
- package/package.json +9 -9
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
3
|
import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
4
|
-
import { type EmojiPluginOptions } from '@atlaskit/editor-plugins/emoji';
|
|
5
4
|
import { type ExtensionPluginOptions } from '@atlaskit/editor-plugins/extension';
|
|
6
5
|
import type { EditorProps } from '../types';
|
|
7
6
|
import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
|
|
@@ -22,9 +21,6 @@ export type InitialPluginConfiguration = {
|
|
|
22
21
|
taskLocalId?: string;
|
|
23
22
|
}[]) => void;
|
|
24
23
|
};
|
|
25
|
-
emoji?: {
|
|
26
|
-
emojiNodeDataProvider?: EmojiPluginOptions['emojiNodeDataProvider'];
|
|
27
|
-
};
|
|
28
24
|
tasksAndDecisionsPlugin?: {
|
|
29
25
|
hasEditPermission?: boolean;
|
|
30
26
|
quickInsertActionDescription?: string;
|
|
@@ -143,14 +139,14 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
143
139
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
|
|
144
140
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined>,
|
|
145
141
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
146
|
-
dependencies: import("packages/editor/editor-plugin-paste-options-toolbar/dist/types
|
|
142
|
+
dependencies: import("packages/editor/editor-plugin-paste-options-toolbar/dist/types").PasteOptionsToolbarPluginDependencies;
|
|
147
143
|
}, undefined>,
|
|
148
144
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined,
|
|
149
145
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined,
|
|
150
146
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
|
|
151
147
|
pluginConfiguration: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions;
|
|
152
148
|
sharedState: import("@atlaskit/editor-plugins/find-replace").FindReplacePluginState | undefined;
|
|
153
|
-
dependencies: import("packages/editor/editor-plugin-find-replace/dist/types
|
|
149
|
+
dependencies: import("packages/editor/editor-plugin-find-replace/dist/types").FindReplacePluginDependencies;
|
|
154
150
|
actions: {
|
|
155
151
|
registerToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
|
|
156
152
|
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;
|
|
@@ -158,7 +154,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
158
154
|
}, import("@atlaskit/editor-plugins/find-replace").FindReplacePluginOptions> | undefined,
|
|
159
155
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"avatarGroup", {
|
|
160
156
|
pluginConfiguration: import("@atlaskit/editor-plugins/avatar-group").AvatarGroupPluginOptions;
|
|
161
|
-
dependencies: import("packages/editor/editor-plugin-avatar-group/dist/types
|
|
157
|
+
dependencies: import("packages/editor/editor-plugin-avatar-group/dist/types").AvatarGroupPluginDependencies;
|
|
162
158
|
actions: {
|
|
163
159
|
getToolbarItem: ({ inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: import("@atlaskit/editor-common/collab").CollabInviteToEditProps) => JSX.Element | null;
|
|
164
160
|
};
|
|
@@ -181,12 +177,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
181
177
|
}, import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined>,
|
|
182
178
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
|
|
183
179
|
pluginConfiguration: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions;
|
|
184
|
-
dependencies: import("packages/editor/editor-plugin-toolbar-lists-indentation/dist/types
|
|
180
|
+
dependencies: import("packages/editor/editor-plugin-toolbar-lists-indentation/dist/types").ToolbarListsIndentationPluginDependencies;
|
|
185
181
|
}, import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions>,
|
|
186
182
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"scrollIntoView", {}, undefined> | undefined,
|
|
187
183
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"indentation", {
|
|
188
|
-
dependencies: import("packages/editor/editor-plugin-indentation/dist/types
|
|
189
|
-
actions: import("packages/editor/editor-plugin-indentation/dist/types
|
|
184
|
+
dependencies: import("packages/editor/editor-plugin-indentation/dist/types").IndentationPluginDependencies;
|
|
185
|
+
actions: import("packages/editor/editor-plugin-indentation/dist/types").IndentationPluginActions;
|
|
190
186
|
sharedState: {
|
|
191
187
|
isIndentationAllowed: boolean;
|
|
192
188
|
indentDisabled: boolean;
|
|
@@ -194,10 +190,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
194
190
|
} | undefined;
|
|
195
191
|
}, undefined> | undefined,
|
|
196
192
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"status", {
|
|
197
|
-
dependencies: import("packages/editor/editor-plugin-status/dist/types
|
|
193
|
+
dependencies: import("packages/editor/editor-plugin-status/dist/types").StatusPluginDependencies;
|
|
198
194
|
pluginConfiguration: import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined;
|
|
199
|
-
actions: import("packages/editor/editor-plugin-status/dist/types
|
|
200
|
-
commands: import("packages/editor/editor-plugin-status/dist/types
|
|
195
|
+
actions: import("packages/editor/editor-plugin-status/dist/types").StatusPluginActions;
|
|
196
|
+
commands: import("packages/editor/editor-plugin-status/dist/types").StatusPluginCommands;
|
|
201
197
|
sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
|
|
202
198
|
}, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined,
|
|
203
199
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
|
|
@@ -209,19 +205,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
209
205
|
}, import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions> | undefined,
|
|
210
206
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
|
|
211
207
|
pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
|
|
212
|
-
dependencies: import("packages/editor/editor-plugin-card/dist/types
|
|
208
|
+
dependencies: import("packages/editor/editor-plugin-card/dist/types").CardPluginDependencies;
|
|
213
209
|
sharedState: import("@atlaskit/editor-plugins/card").CardPluginState | null;
|
|
214
210
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
215
211
|
}, import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined> | undefined,
|
|
216
212
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"layout", {
|
|
217
213
|
pluginConfiguration: import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined;
|
|
218
|
-
dependencies: import("packages/editor/editor-plugin-layout/dist/types
|
|
214
|
+
dependencies: import("packages/editor/editor-plugin-layout/dist/types").LayoutPluginDependencies;
|
|
219
215
|
actions: {
|
|
220
216
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE) => import("@atlaskit/editor-common/types").Command;
|
|
221
217
|
};
|
|
222
218
|
}, import("@atlaskit/editor-plugins/layout").LayoutPluginOptions | undefined> | undefined,
|
|
223
219
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"placeholderText", {
|
|
224
|
-
dependencies: import("packages/editor/editor-plugin-placeholder-text/dist/types
|
|
220
|
+
dependencies: import("packages/editor/editor-plugin-placeholder-text/dist/types").PlaceholderTextPluginDependencies;
|
|
225
221
|
pluginConfiguration: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions;
|
|
226
222
|
sharedState: import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginState | undefined;
|
|
227
223
|
actions: {
|
|
@@ -230,7 +226,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
230
226
|
}, import("@atlaskit/editor-plugins/placeholder-text").PlaceholderTextPluginOptions> | undefined,
|
|
231
227
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"date", {
|
|
232
228
|
pluginConfiguration: import("@atlaskit/editor-plugins/date").DatePluginOptions | undefined;
|
|
233
|
-
dependencies: import("packages/editor/editor-plugin-date/dist/types
|
|
229
|
+
dependencies: import("packages/editor/editor-plugin-date/dist/types").DatePluginDependencies;
|
|
234
230
|
sharedState: import("@atlaskit/editor-plugins/date").DatePluginSharedState;
|
|
235
231
|
commands: {
|
|
236
232
|
insertDate: import("@atlaskit/editor-plugins/date").InsertDate;
|
|
@@ -240,7 +236,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
240
236
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
241
237
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
242
238
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
243
|
-
dependencies: import("packages/editor/editor-plugin-annotation/dist/types
|
|
239
|
+
dependencies: import("packages/editor/editor-plugin-annotation/dist/types").AnnotationPluginDependencies;
|
|
244
240
|
actions: {
|
|
245
241
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
246
242
|
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;
|
|
@@ -250,26 +246,21 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
250
246
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
|
|
251
247
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
252
248
|
pluginConfiguration: ExtensionPluginOptions | undefined;
|
|
253
|
-
dependencies: import("packages/editor/editor-plugin-extension/dist/types
|
|
249
|
+
dependencies: import("packages/editor/editor-plugin-extension/dist/types").ExtensionPluginDependencies;
|
|
254
250
|
sharedState: {
|
|
255
251
|
showContextPanel: boolean | undefined;
|
|
256
|
-
extensionProvider?: import("@atlaskit/editor-common/extensions").ExtensionProvider<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
257
|
-
* Mechanism to configuring plugins as the universal preset blocks direct access
|
|
258
|
-
* to configuring plugins.
|
|
259
|
-
*
|
|
260
|
-
* Note: not all plugins are configurable via this mechanism, and for plugins configured -- it is only doing a subset of the configuration.
|
|
261
|
-
*/
|
|
252
|
+
extensionProvider?: import("@atlaskit/editor-common/extensions").ExtensionProvider<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
262
253
|
processParametersAfter?: import("@atlaskit/editor-common/extensions").TransformAfter<import("@atlaskit/editor-common/extensions").Parameters> | undefined;
|
|
263
254
|
} | undefined;
|
|
264
|
-
actions: import("packages/editor/editor-plugin-extension/dist/types
|
|
255
|
+
actions: import("packages/editor/editor-plugin-extension/dist/types").ExtensionPluginActions;
|
|
265
256
|
}, ExtensionPluginOptions | undefined> | undefined,
|
|
266
257
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contextPanel", {
|
|
267
258
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
268
259
|
actions: {
|
|
269
260
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
270
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
271
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
272
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
261
|
+
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
|
|
262
|
+
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
|
|
263
|
+
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
|
|
273
264
|
};
|
|
274
265
|
sharedState: {
|
|
275
266
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -277,7 +268,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
277
268
|
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined> | undefined,
|
|
278
269
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"panel", {
|
|
279
270
|
pluginConfiguration: import("@atlaskit/editor-plugins/panel").PanelPluginOptions | undefined;
|
|
280
|
-
dependencies: import("packages/editor/editor-plugin-panel/dist/types
|
|
271
|
+
dependencies: import("packages/editor/editor-plugin-panel/dist/types").PanelPluginDependencies;
|
|
281
272
|
actions: {
|
|
282
273
|
insertPanel: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
283
274
|
};
|
|
@@ -288,7 +279,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
288
279
|
}, number | undefined> | undefined,
|
|
289
280
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"collabEdit", {
|
|
290
281
|
pluginConfiguration: import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions;
|
|
291
|
-
dependencies: import("packages/editor/editor-plugin-collab-edit/dist/types
|
|
282
|
+
dependencies: import("packages/editor/editor-plugin-collab-edit/dist/types").CollabEditPluginDependencies;
|
|
292
283
|
sharedState: import("@atlaskit/editor-plugins/collab-edit").CollabEditPluginSharedState;
|
|
293
284
|
actions: {
|
|
294
285
|
getAvatarColor: (str: string) => {
|
|
@@ -319,7 +310,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
319
310
|
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions> | undefined,
|
|
320
311
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
321
312
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
322
|
-
dependencies: import("packages/editor/editor-plugin-media/dist/types
|
|
313
|
+
dependencies: import("packages/editor/editor-plugin-media/dist/types").MediaPluginDependencies;
|
|
323
314
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
324
315
|
actions: {
|
|
325
316
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -345,7 +336,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
345
336
|
pluginConfiguration: import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined;
|
|
346
337
|
}, import("packages/editor/editor-plugin-save-on-enter/dist/types/saveOnEnterPluginType").Config | undefined> | undefined,
|
|
347
338
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"helpDialog", {
|
|
348
|
-
dependencies: import("packages/editor/editor-plugin-help-dialog/dist/types
|
|
339
|
+
dependencies: import("packages/editor/editor-plugin-help-dialog/dist/types").HelpDialogDependencies;
|
|
349
340
|
pluginConfiguration: import("@atlaskit/editor-plugins/help-dialog").HelpDialogPluginOptions;
|
|
350
341
|
sharedState: import("@atlaskit/editor-plugins/help-dialog").HelpDialogSharedState | null;
|
|
351
342
|
actions: {
|
|
@@ -363,7 +354,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
363
354
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"taskDecision", {
|
|
364
355
|
pluginConfiguration: import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined;
|
|
365
356
|
sharedState: import("@atlaskit/editor-plugins/tasks-and-decisions").TaskAndDecisionsSharedState | undefined;
|
|
366
|
-
dependencies: import("packages/editor/editor-plugin-tasks-and-decisions/dist/types
|
|
357
|
+
dependencies: import("packages/editor/editor-plugin-tasks-and-decisions/dist/types").TasksAndDecisionsPluginDependencies;
|
|
367
358
|
actions: {
|
|
368
359
|
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;
|
|
369
360
|
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;
|
|
@@ -377,39 +368,39 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
377
368
|
}, import("@atlaskit/editor-plugins/tasks-and-decisions").TasksAndDecisionsPluginOptions | undefined> | undefined,
|
|
378
369
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"table", {
|
|
379
370
|
pluginConfiguration: import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined;
|
|
380
|
-
actions: import("packages/editor/editor-plugin-table/dist/types
|
|
371
|
+
actions: import("packages/editor/editor-plugin-table/dist/types").TablePluginActions;
|
|
381
372
|
sharedState?: import("@atlaskit/editor-plugins/table/types").TableSharedState | undefined;
|
|
382
|
-
commands: import("packages/editor/editor-plugin-table/dist/types
|
|
383
|
-
dependencies: import("packages/editor/editor-plugin-table/dist/types
|
|
373
|
+
commands: import("packages/editor/editor-plugin-table/dist/types").TablePluginCommands;
|
|
374
|
+
dependencies: import("packages/editor/editor-plugin-table/dist/types").TablePluginDependencies;
|
|
384
375
|
}, import("@atlaskit/editor-plugins/table").TablePluginOptions | undefined> | undefined,
|
|
385
376
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
386
|
-
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
387
|
-
dependencies: import("packages/editor/editor-plugin-emoji/dist/types
|
|
377
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined;
|
|
378
|
+
dependencies: import("packages/editor/editor-plugin-emoji/dist/types").EmojiPluginDependencies;
|
|
388
379
|
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
389
|
-
commands: import("packages/editor/editor-plugin-emoji/dist/types
|
|
390
|
-
actions: import("packages/editor/editor-plugin-emoji/dist/types
|
|
391
|
-
}, EmojiPluginOptions | undefined> | undefined,
|
|
380
|
+
commands: import("packages/editor/editor-plugin-emoji/dist/types").EmojiPluginCommands;
|
|
381
|
+
actions: import("packages/editor/editor-plugin-emoji/dist/types").EmojiPluginActions;
|
|
382
|
+
}, import("@atlaskit/editor-plugins/emoji").EmojiPluginOptions | undefined> | undefined,
|
|
392
383
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mention", {
|
|
393
384
|
pluginConfiguration: import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined;
|
|
394
|
-
dependencies: import("packages/editor/editor-plugin-mentions/dist/types
|
|
385
|
+
dependencies: import("packages/editor/editor-plugin-mentions/dist/types").MentionPluginDependencies;
|
|
395
386
|
sharedState: import("@atlaskit/editor-plugins/mentions").MentionSharedState | undefined;
|
|
396
|
-
actions: import("packages/editor/editor-plugin-mentions/dist/types
|
|
387
|
+
actions: import("packages/editor/editor-plugin-mentions/dist/types").MentionActions;
|
|
397
388
|
commands: {
|
|
398
|
-
insertMention: (params: import("packages/editor/editor-plugin-mentions/dist/types
|
|
389
|
+
insertMention: (params: import("packages/editor/editor-plugin-mentions/dist/types").InsertMentionParameters) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
399
390
|
};
|
|
400
391
|
}, import("@atlaskit/editor-plugins/mentions").MentionsPluginOptions | undefined> | undefined,
|
|
401
392
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"caption", {
|
|
402
|
-
dependencies: import("packages/editor/editor-plugin-caption/dist/types
|
|
393
|
+
dependencies: import("packages/editor/editor-plugin-caption/dist/types").CaptionPluginDependencies;
|
|
403
394
|
}, undefined> | undefined,
|
|
404
395
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {
|
|
405
|
-
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types
|
|
396
|
+
dependencies: import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginDependencies;
|
|
406
397
|
sharedState: import("@atlaskit/editor-plugins/media-insert").MediaInsertPluginState;
|
|
407
|
-
commands: import("packages/editor/editor-plugin-media-insert/dist/types
|
|
408
|
-
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types
|
|
409
|
-
}, import("packages/editor/editor-plugin-media-insert/dist/types
|
|
398
|
+
commands: import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginCommands;
|
|
399
|
+
pluginConfiguration: import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginConfig | undefined;
|
|
400
|
+
}, import("packages/editor/editor-plugin-media-insert/dist/types").MediaInsertPluginConfig | undefined> | undefined,
|
|
410
401
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
411
402
|
pluginConfiguration: import("@atlaskit/editor-plugins/media").MediaPluginOptions | undefined;
|
|
412
|
-
dependencies: import("packages/editor/editor-plugin-media/dist/types
|
|
403
|
+
dependencies: import("packages/editor/editor-plugin-media/dist/types").MediaPluginDependencies;
|
|
413
404
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
414
405
|
actions: {
|
|
415
406
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -424,7 +415,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
424
415
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
425
416
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
426
417
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
427
|
-
dependencies: import("packages/editor/editor-plugin-annotation/dist/types
|
|
418
|
+
dependencies: import("packages/editor/editor-plugin-annotation/dist/types").AnnotationPluginDependencies;
|
|
428
419
|
actions: {
|
|
429
420
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
430
421
|
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;
|
|
@@ -433,11 +424,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
433
424
|
};
|
|
434
425
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined> | undefined,
|
|
435
426
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
436
|
-
pluginConfiguration: import("packages/editor/editor-plugin-grid/dist/types
|
|
437
|
-
dependencies: import("packages/editor/editor-plugin-grid/dist/types
|
|
438
|
-
sharedState: import("packages/editor/editor-plugin-grid/dist/types
|
|
439
|
-
actions: import("packages/editor/editor-plugin-grid/dist/types
|
|
440
|
-
}, import("packages/editor/editor-plugin-grid/dist/types
|
|
427
|
+
pluginConfiguration: import("packages/editor/editor-plugin-grid/dist/types").GridPluginConfiguration;
|
|
428
|
+
dependencies: import("packages/editor/editor-plugin-grid/dist/types").GridPluginDependencies;
|
|
429
|
+
sharedState: import("packages/editor/editor-plugin-grid/dist/types").GridPluginSharedState;
|
|
430
|
+
actions: import("packages/editor/editor-plugin-grid/dist/types").GridPluginActions;
|
|
431
|
+
}, import("packages/editor/editor-plugin-grid/dist/types").GridPluginConfiguration> | undefined,
|
|
441
432
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"guideline", {
|
|
442
433
|
dependencies: [
|
|
443
434
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
@@ -451,7 +442,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
451
442
|
}, undefined> | undefined,
|
|
452
443
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"expand", {
|
|
453
444
|
pluginConfiguration: import("@atlaskit/editor-plugins/expand").ExpandPluginOptions | undefined;
|
|
454
|
-
dependencies: import("packages/editor/editor-plugin-expand/dist/types
|
|
445
|
+
dependencies: import("packages/editor/editor-plugin-expand/dist/types").ExpandPluginDependencies;
|
|
455
446
|
actions: {
|
|
456
447
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
457
448
|
insertExpandWithInputMethod: (inputMethod: import("@atlaskit/editor-plugins/expand").InsertMethod) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -484,14 +475,14 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
484
475
|
};
|
|
485
476
|
}, undefined> | undefined,
|
|
486
477
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"list", {
|
|
487
|
-
dependencies: import("packages/editor/editor-plugin-list/dist/types
|
|
488
|
-
actions: import("packages/editor/editor-plugin-list/dist/types
|
|
489
|
-
commands: import("packages/editor/editor-plugin-list/dist/types
|
|
490
|
-
sharedState: import("packages/editor/editor-plugin-list/dist/types
|
|
478
|
+
dependencies: import("packages/editor/editor-plugin-list/dist/types").ListPluginDependencies;
|
|
479
|
+
actions: import("packages/editor/editor-plugin-list/dist/types").ListPluginActions;
|
|
480
|
+
commands: import("packages/editor/editor-plugin-list/dist/types").ListPluginCommands;
|
|
481
|
+
sharedState: import("packages/editor/editor-plugin-list/dist/types").ListPluginSharedState;
|
|
491
482
|
}, undefined>,
|
|
492
483
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"textColor", {
|
|
493
484
|
pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
|
|
494
|
-
dependencies: import("packages/editor/editor-plugin-text-color/dist/types
|
|
485
|
+
dependencies: import("packages/editor/editor-plugin-text-color/dist/types").Dependencies;
|
|
495
486
|
actions: {
|
|
496
487
|
changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
497
488
|
};
|
|
@@ -499,11 +490,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
499
490
|
}, import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined> | undefined,
|
|
500
491
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"alignment", {
|
|
501
492
|
sharedState: import("@atlaskit/editor-plugins/alignment").AlignmentPluginState | undefined;
|
|
502
|
-
dependencies: import("packages/editor/editor-plugin-alignment/dist/types
|
|
493
|
+
dependencies: import("packages/editor/editor-plugin-alignment/dist/types").AlignmentPluginDependencies;
|
|
503
494
|
}, undefined> | undefined,
|
|
504
495
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
|
|
505
496
|
pluginConfiguration: import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined;
|
|
506
|
-
dependencies: import("packages/editor/editor-plugin-breakout/dist/types
|
|
497
|
+
dependencies: import("packages/editor/editor-plugin-breakout/dist/types").BreakoutPluginDependencies;
|
|
507
498
|
sharedState: Partial<import("@atlaskit/editor-plugins/breakout").BreakoutPluginState>;
|
|
508
499
|
}, import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined> | undefined,
|
|
509
500
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
@@ -512,7 +503,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
512
503
|
};
|
|
513
504
|
}, undefined>,
|
|
514
505
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"contentInsertion", {
|
|
515
|
-
dependencies: import("packages/editor/editor-plugin-content-insertion/dist/types
|
|
506
|
+
dependencies: import("packages/editor/editor-plugin-content-insertion/dist/types").ContentInsertionDependencies;
|
|
516
507
|
} & import("@atlaskit/editor-plugins/content-insertion").InsertNodeAPI, undefined>,
|
|
517
508
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
518
509
|
dependencies: [
|
|
@@ -602,7 +593,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
602
593
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
603
594
|
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
604
595
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
605
|
-
dependencies: import("packages/editor/editor-plugin-floating-toolbar/dist/types
|
|
596
|
+
dependencies: import("packages/editor/editor-plugin-floating-toolbar/dist/types").FloatingToolbarPluginDependencies;
|
|
606
597
|
actions: {
|
|
607
598
|
forceFocusSelector: import("@atlaskit/editor-plugins/floating-toolbar").ForceFocusSelector;
|
|
608
599
|
};
|
|
@@ -643,7 +634,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
643
634
|
}, undefined>,
|
|
644
635
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"submitEditor", {
|
|
645
636
|
pluginConfiguration: import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined;
|
|
646
|
-
dependencies: import("packages/editor/editor-plugin-submit-editor/dist/types
|
|
637
|
+
dependencies: import("packages/editor/editor-plugin-submit-editor/dist/types").SubmitEditorPluginDependencies;
|
|
647
638
|
}, import("@atlaskit/editor-plugins/submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
648
639
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
649
640
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
@@ -685,7 +676,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
685
676
|
sharedState: FeatureFlags;
|
|
686
677
|
}, FeatureFlags>>,
|
|
687
678
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
688
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
679
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
689
680
|
commands: {
|
|
690
681
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
691
682
|
};
|
|
@@ -694,9 +685,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
694
685
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
695
686
|
actions: {
|
|
696
687
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
697
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
698
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
699
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
688
|
+
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
|
|
689
|
+
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
|
|
690
|
+
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
|
|
700
691
|
};
|
|
701
692
|
sharedState: {
|
|
702
693
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -725,7 +716,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
725
716
|
actions: {
|
|
726
717
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
727
718
|
};
|
|
728
|
-
sharedState: import("
|
|
719
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
729
720
|
dependencies: [
|
|
730
721
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
731
722
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -770,12 +761,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
770
761
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
771
762
|
}) => boolean;
|
|
772
763
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
773
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
764
|
+
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
|
|
774
765
|
close: (props: {
|
|
775
766
|
insertCurrentQueryAsRawText: boolean;
|
|
776
767
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
777
768
|
}) => boolean;
|
|
778
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
769
|
+
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
779
770
|
};
|
|
780
771
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>
|
|
781
772
|
];
|
|
@@ -806,7 +797,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
806
797
|
sharedState: FeatureFlags;
|
|
807
798
|
}, FeatureFlags>>,
|
|
808
799
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
809
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
800
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
810
801
|
commands: {
|
|
811
802
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
812
803
|
};
|
|
@@ -815,9 +806,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
815
806
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
816
807
|
actions: {
|
|
817
808
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
818
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
819
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
820
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
809
|
+
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
|
|
810
|
+
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
|
|
811
|
+
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
|
|
821
812
|
};
|
|
822
813
|
sharedState: {
|
|
823
814
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -846,7 +837,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
846
837
|
actions: {
|
|
847
838
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
848
839
|
};
|
|
849
|
-
sharedState: import("
|
|
840
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
850
841
|
dependencies: [
|
|
851
842
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
852
843
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -891,16 +882,16 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
891
882
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
892
883
|
}) => boolean;
|
|
893
884
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
894
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
885
|
+
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
|
|
895
886
|
close: (props: {
|
|
896
887
|
insertCurrentQueryAsRawText: boolean;
|
|
897
888
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
898
889
|
}) => boolean;
|
|
899
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
890
|
+
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
900
891
|
};
|
|
901
892
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
902
893
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
903
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
894
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
904
895
|
commands: {
|
|
905
896
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
906
897
|
};
|
|
@@ -928,7 +919,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
928
919
|
actions: {
|
|
929
920
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
930
921
|
};
|
|
931
|
-
sharedState: import("
|
|
922
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
932
923
|
dependencies: [
|
|
933
924
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
934
925
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1021,13 +1012,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1021
1012
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1022
1013
|
actions: {
|
|
1023
1014
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
1024
|
-
registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types
|
|
1015
|
+
registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types").Callback) => void;
|
|
1025
1016
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1026
1017
|
};
|
|
1027
1018
|
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>>,
|
|
1028
1019
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1029
1020
|
sharedState: {
|
|
1030
|
-
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1021
|
+
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking;
|
|
1031
1022
|
};
|
|
1032
1023
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1033
1024
|
dependencies: [
|
|
@@ -1066,7 +1057,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1066
1057
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1067
1058
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1068
1059
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1069
|
-
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types
|
|
1060
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types").BlockControlsPluginDependencies;
|
|
1070
1061
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1071
1062
|
commands: {
|
|
1072
1063
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1074,7 +1065,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1074
1065
|
selectMovedNode?: boolean | undefined;
|
|
1075
1066
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1076
1067
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1077
|
-
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types
|
|
1068
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types").MoveNode;
|
|
1078
1069
|
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;
|
|
1079
1070
|
toggleBlockMenu: (options?: {
|
|
1080
1071
|
closeMenu?: boolean | undefined;
|
|
@@ -1086,7 +1077,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1086
1077
|
};
|
|
1087
1078
|
}, undefined>>,
|
|
1088
1079
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1089
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
1080
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
1090
1081
|
commands: {
|
|
1091
1082
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1092
1083
|
};
|
|
@@ -1096,7 +1087,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1096
1087
|
actions: {
|
|
1097
1088
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1098
1089
|
};
|
|
1099
|
-
sharedState: import("
|
|
1090
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1100
1091
|
dependencies: [
|
|
1101
1092
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1102
1093
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1119,8 +1110,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1119
1110
|
actions?: {
|
|
1120
1111
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1121
1112
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1122
|
-
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1123
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1113
|
+
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
|
|
1114
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
|
|
1124
1115
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1125
1116
|
} | undefined;
|
|
1126
1117
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
|
|
@@ -1129,7 +1120,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1129
1120
|
actions: {
|
|
1130
1121
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1131
1122
|
};
|
|
1132
|
-
sharedState: import("
|
|
1123
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1133
1124
|
dependencies: [
|
|
1134
1125
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1135
1126
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1162,18 +1153,18 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1162
1153
|
}, import("@atlaskit/editor-common/types").TextFormattingOptions | undefined>,
|
|
1163
1154
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
1164
1155
|
pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
|
|
1165
|
-
dependencies: import("packages/editor/editor-plugin-hyperlink/dist/types
|
|
1166
|
-
actions: import("packages/editor/editor-plugin-hyperlink/dist/types
|
|
1156
|
+
dependencies: import("packages/editor/editor-plugin-hyperlink/dist/types").HyperlinkPluginDependencies;
|
|
1157
|
+
actions: import("packages/editor/editor-plugin-hyperlink/dist/types").HyperlinkPluginActions;
|
|
1167
1158
|
commands: {
|
|
1168
1159
|
showLinkToolbar: import("@atlaskit/editor-plugins/hyperlink").ShowLinkToolbar;
|
|
1169
1160
|
updateLink: (href: string, text: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1170
1161
|
removeLink: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1171
1162
|
};
|
|
1172
|
-
sharedState: import("packages/editor/editor-plugin-hyperlink/dist/types
|
|
1163
|
+
sharedState: import("packages/editor/editor-plugin-hyperlink/dist/types").HyperlinkPluginSharedState;
|
|
1173
1164
|
}, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>,
|
|
1174
1165
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1175
1166
|
sharedState: {
|
|
1176
|
-
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1167
|
+
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking;
|
|
1177
1168
|
};
|
|
1178
1169
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1179
1170
|
dependencies: [
|
|
@@ -1212,7 +1203,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1212
1203
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1213
1204
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1214
1205
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1215
|
-
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types
|
|
1206
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types").BlockControlsPluginDependencies;
|
|
1216
1207
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1217
1208
|
commands: {
|
|
1218
1209
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1220,7 +1211,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1220
1211
|
selectMovedNode?: boolean | undefined;
|
|
1221
1212
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1222
1213
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1223
|
-
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types
|
|
1214
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types").MoveNode;
|
|
1224
1215
|
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;
|
|
1225
1216
|
toggleBlockMenu: (options?: {
|
|
1226
1217
|
closeMenu?: boolean | undefined;
|
|
@@ -1232,7 +1223,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1232
1223
|
};
|
|
1233
1224
|
}, undefined>>,
|
|
1234
1225
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1235
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
1226
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
1236
1227
|
commands: {
|
|
1237
1228
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1238
1229
|
};
|
|
@@ -1242,7 +1233,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1242
1233
|
actions: {
|
|
1243
1234
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1244
1235
|
};
|
|
1245
|
-
sharedState: import("
|
|
1236
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1246
1237
|
dependencies: [
|
|
1247
1238
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1248
1239
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1265,8 +1256,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1265
1256
|
actions?: {
|
|
1266
1257
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1267
1258
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1268
|
-
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1269
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1259
|
+
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
|
|
1260
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
|
|
1270
1261
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1271
1262
|
} | undefined;
|
|
1272
1263
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>,
|
|
@@ -1301,7 +1292,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1301
1292
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1302
1293
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
|
|
1303
1294
|
sharedState: {
|
|
1304
|
-
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1295
|
+
toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking;
|
|
1305
1296
|
};
|
|
1306
1297
|
pluginConfiguration: import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions;
|
|
1307
1298
|
dependencies: [
|
|
@@ -1340,7 +1331,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1340
1331
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1341
1332
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1342
1333
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1343
|
-
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types
|
|
1334
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types").BlockControlsPluginDependencies;
|
|
1344
1335
|
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1345
1336
|
commands: {
|
|
1346
1337
|
moveToLayout: (start: number, to: number, options?: {
|
|
@@ -1348,7 +1339,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1348
1339
|
selectMovedNode?: boolean | undefined;
|
|
1349
1340
|
moveNodeAtCursorPos?: boolean | undefined;
|
|
1350
1341
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1351
|
-
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types
|
|
1342
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types").MoveNode;
|
|
1352
1343
|
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;
|
|
1353
1344
|
toggleBlockMenu: (options?: {
|
|
1354
1345
|
closeMenu?: boolean | undefined;
|
|
@@ -1360,7 +1351,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1360
1351
|
};
|
|
1361
1352
|
}, undefined>>,
|
|
1362
1353
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1363
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
1354
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
1364
1355
|
commands: {
|
|
1365
1356
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1366
1357
|
};
|
|
@@ -1370,7 +1361,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1370
1361
|
actions: {
|
|
1371
1362
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1372
1363
|
};
|
|
1373
|
-
sharedState: import("
|
|
1364
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1374
1365
|
dependencies: [
|
|
1375
1366
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1376
1367
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1393,8 +1384,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1393
1384
|
actions?: {
|
|
1394
1385
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1395
1386
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1396
|
-
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1397
|
-
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types
|
|
1387
|
+
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
|
|
1388
|
+
forceToolbarDockingWithoutAnalytics?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types").ToolbarDocking) => boolean) | undefined;
|
|
1398
1389
|
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1399
1390
|
} | undefined;
|
|
1400
1391
|
}, import("@atlaskit/editor-plugins/selection-toolbar").SelectionToolbarPluginOptions>>,
|
|
@@ -1403,7 +1394,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1403
1394
|
actions: {
|
|
1404
1395
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1405
1396
|
};
|
|
1406
|
-
sharedState: import("
|
|
1397
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1407
1398
|
dependencies: [
|
|
1408
1399
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1409
1400
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1430,7 +1421,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1430
1421
|
commands: {
|
|
1431
1422
|
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;
|
|
1432
1423
|
insertBlockQuote: (inputMethod: import("@atlaskit/editor-plugins/block-type").InputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1433
|
-
clearFormatting: (inputMethod: import("packages/editor/editor-plugin-block-type/dist/types
|
|
1424
|
+
clearFormatting: (inputMethod: import("packages/editor/editor-plugin-block-type/dist/types").ClearFormattingInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1434
1425
|
};
|
|
1435
1426
|
}, import("@atlaskit/editor-plugins/block-type").BlockTypePluginOptions | undefined>,
|
|
1436
1427
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"undoRedoPlugin", {
|
|
@@ -1458,7 +1449,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1458
1449
|
sharedState: FeatureFlags;
|
|
1459
1450
|
}, FeatureFlags>>,
|
|
1460
1451
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1461
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
1452
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
1462
1453
|
commands: {
|
|
1463
1454
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1464
1455
|
};
|
|
@@ -1467,9 +1458,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1467
1458
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1468
1459
|
actions: {
|
|
1469
1460
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1470
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
1471
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
1472
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
1461
|
+
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
|
|
1462
|
+
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
|
|
1463
|
+
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
|
|
1473
1464
|
};
|
|
1474
1465
|
sharedState: {
|
|
1475
1466
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -1498,7 +1489,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1498
1489
|
actions: {
|
|
1499
1490
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1500
1491
|
};
|
|
1501
|
-
sharedState: import("
|
|
1492
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1502
1493
|
dependencies: [
|
|
1503
1494
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1504
1495
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1543,16 +1534,16 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1543
1534
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1544
1535
|
}) => boolean;
|
|
1545
1536
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1546
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
1537
|
+
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
|
|
1547
1538
|
close: (props: {
|
|
1548
1539
|
insertCurrentQueryAsRawText: boolean;
|
|
1549
1540
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1550
1541
|
}) => boolean;
|
|
1551
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
1542
|
+
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1552
1543
|
};
|
|
1553
1544
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
1554
1545
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1555
|
-
sharedState: import("packages/editor/editor-plugin-history/dist/types
|
|
1546
|
+
sharedState: import("packages/editor/editor-plugin-history/dist/types").HistoryPluginSharedState | undefined;
|
|
1556
1547
|
commands: {
|
|
1557
1548
|
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1558
1549
|
};
|
|
@@ -1584,8 +1575,8 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1584
1575
|
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1585
1576
|
];
|
|
1586
1577
|
actions: {
|
|
1587
|
-
undo: import("packages/editor/editor-plugin-undo-redo/dist/types
|
|
1588
|
-
redo: import("packages/editor/editor-plugin-undo-redo/dist/types
|
|
1578
|
+
undo: import("packages/editor/editor-plugin-undo-redo/dist/types").UndoRedoAction;
|
|
1579
|
+
redo: import("packages/editor/editor-plugin-undo-redo/dist/types").UndoRedoAction;
|
|
1589
1580
|
};
|
|
1590
1581
|
}, undefined> | undefined,
|
|
1591
1582
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
@@ -1599,7 +1590,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1599
1590
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1600
1591
|
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>,
|
|
1601
1592
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
1602
|
-
sharedState: import("packages/editor/editor-plugin-history/dist/types
|
|
1593
|
+
sharedState: import("packages/editor/editor-plugin-history/dist/types").HistoryPluginSharedState | undefined;
|
|
1603
1594
|
commands: {
|
|
1604
1595
|
updatePluginState: import("@atlaskit/editor-common/types").EditorCommand;
|
|
1605
1596
|
};
|
|
@@ -1627,7 +1618,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1627
1618
|
sharedState: FeatureFlags;
|
|
1628
1619
|
}, FeatureFlags>>,
|
|
1629
1620
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"connectivity", {
|
|
1630
|
-
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types
|
|
1621
|
+
sharedState: import("packages/editor/editor-plugin-connectivity/dist/types").PublicPluginState;
|
|
1631
1622
|
commands: {
|
|
1632
1623
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1633
1624
|
};
|
|
@@ -1636,9 +1627,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1636
1627
|
pluginConfiguration: import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined;
|
|
1637
1628
|
actions: {
|
|
1638
1629
|
applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
|
|
1639
|
-
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
1640
|
-
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
1641
|
-
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types
|
|
1630
|
+
showPanel?: import("packages/editor/editor-plugin-context-panel/dist/types").ShowObjectSidebar | undefined;
|
|
1631
|
+
closePanel?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebar | undefined;
|
|
1632
|
+
closePanelById?: import("packages/editor/editor-plugin-context-panel/dist/types").HideObjectSidebarById | undefined;
|
|
1642
1633
|
};
|
|
1643
1634
|
sharedState: {
|
|
1644
1635
|
contents: import("react").ReactNode[] | undefined;
|
|
@@ -1667,7 +1658,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1667
1658
|
actions: {
|
|
1668
1659
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1669
1660
|
};
|
|
1670
|
-
sharedState: import("
|
|
1661
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1671
1662
|
dependencies: [
|
|
1672
1663
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1673
1664
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1712,12 +1703,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1712
1703
|
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
1713
1704
|
}) => boolean;
|
|
1714
1705
|
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
1715
|
-
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
1706
|
+
open: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => boolean;
|
|
1716
1707
|
close: (props: {
|
|
1717
1708
|
insertCurrentQueryAsRawText: boolean;
|
|
1718
1709
|
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
1719
1710
|
}) => boolean;
|
|
1720
|
-
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types
|
|
1711
|
+
openAtTransaction: (props: import("packages/editor/editor-plugin-type-ahead/dist/types").OpenTypeAheadProps) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1721
1712
|
};
|
|
1722
1713
|
}, import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginOptions | undefined>,
|
|
1723
1714
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -1745,7 +1736,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1745
1736
|
sharedState: import("@atlaskit/editor-plugins/base").BasePluginState;
|
|
1746
1737
|
actions: {
|
|
1747
1738
|
setKeyboardHeight: (keyboardHeight: number) => import("@atlaskit/editor-common/types").Command;
|
|
1748
|
-
registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types
|
|
1739
|
+
registerMarks: (callback: import("packages/editor/editor-plugin-base/dist/types").Callback) => void;
|
|
1749
1740
|
resolveMarks: (from: number, to: number, tr: import("prosemirror-state").Transaction) => void;
|
|
1750
1741
|
};
|
|
1751
1742
|
}, import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined>,
|
|
@@ -1770,7 +1761,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1770
1761
|
actions: {
|
|
1771
1762
|
updateUserPreference: (key: "toolbarDockingPosition", value: "none" | "top") => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1772
1763
|
};
|
|
1773
|
-
sharedState: import("
|
|
1764
|
+
sharedState: import("@atlaskit/editor-plugin-user-preferences").UserPreferencesSharedState;
|
|
1774
1765
|
dependencies: [
|
|
1775
1766
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1776
1767
|
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
@@ -1795,7 +1786,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1795
1786
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clipboard", {}, undefined>,
|
|
1796
1787
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"paste", {
|
|
1797
1788
|
pluginConfiguration: import("@atlaskit/editor-plugins/paste").PastePluginOptions;
|
|
1798
|
-
dependencies: import("packages/editor/editor-plugin-paste/dist/types
|
|
1789
|
+
dependencies: import("packages/editor/editor-plugin-paste/dist/types").PastePluginDependencies;
|
|
1799
1790
|
sharedState: {
|
|
1800
1791
|
lastContentPasted: import("@atlaskit/editor-plugins/paste").LastContentPasted | null;
|
|
1801
1792
|
};
|