@atlaskit/editor-core 195.0.9 → 195.1.6
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 +17 -0
- package/dist/cjs/presets/universal.js +2 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +2 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +2 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +132 -42
- package/dist/types/presets/default.d.ts +127 -36
- package/dist/types/presets/universal.d.ts +132 -42
- package/dist/types/presets/useUniversalPreset.d.ts +132 -42
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +152 -40
- package/dist/types-ts4.5/presets/default.d.ts +147 -36
- package/dist/types-ts4.5/presets/universal.d.ts +152 -40
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +152 -40
- package/package.json +13 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 195.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#126974](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126974)
|
|
8
|
+
[`8730c454c41f7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8730c454c41f7) -
|
|
9
|
+
[ux] [ED-24386] Clean up FF platform.editor.review-text-highlighting-styling
|
|
10
|
+
|
|
11
|
+
## 195.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#126478](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126478)
|
|
16
|
+
[`d4759f0dd6f74`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d4759f0dd6f74) -
|
|
17
|
+
[ED-24247] Added 'mediaInsertPlugin' to the universal preset behind a fg
|
|
18
|
+
"platform_editor_insert_media_plugin_phase_one" and also only if the mediaPlugin is added
|
|
19
|
+
|
|
3
20
|
## 195.0.9
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -41,6 +41,7 @@ var _layout = require("@atlaskit/editor-plugins/layout");
|
|
|
41
41
|
var _list = require("@atlaskit/editor-plugins/list");
|
|
42
42
|
var _maxContentSize = require("@atlaskit/editor-plugins/max-content-size");
|
|
43
43
|
var _media = require("@atlaskit/editor-plugins/media");
|
|
44
|
+
var _mediaInsert = require("@atlaskit/editor-plugins/media-insert");
|
|
44
45
|
var _mentions = require("@atlaskit/editor-plugins/mentions");
|
|
45
46
|
var _panel = require("@atlaskit/editor-plugins/panel");
|
|
46
47
|
var _pasteOptionsToolbar = require("@atlaskit/editor-plugins/paste-options-toolbar");
|
|
@@ -121,7 +122,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
121
122
|
isCopyPasteEnabled: !isMobile,
|
|
122
123
|
alignLeftOnInsert: typeof ((_props$media3 = props.media) === null || _props$media3 === void 0 ? void 0 : _props$media3.alignLeftOnInsert) !== 'undefined' ? (_props$media4 = props.media) === null || _props$media4 === void 0 ? void 0 : _props$media4.alignLeftOnInsert : isComment,
|
|
123
124
|
getEditorFeatureFlags: getEditorFeatureFlags
|
|
124
|
-
})], Boolean(props.media)).maybeAdd(_caption.captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([_mentions.mentionsPlugin, {
|
|
125
|
+
})], Boolean(props.media)).maybeAdd(_mediaInsert.mediaInsertPlugin, Boolean(props.media && (0, _platformFeatureFlags.fg)('platform_editor_insert_media_plugin_phase_one'))).maybeAdd(_caption.captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([_mentions.mentionsPlugin, {
|
|
125
126
|
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
126
127
|
insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
|
|
127
128
|
allowZeroWidthSpaceAfter: !isMobile,
|
|
@@ -31,6 +31,7 @@ import { layoutPlugin } from '@atlaskit/editor-plugins/layout';
|
|
|
31
31
|
import { listPlugin } from '@atlaskit/editor-plugins/list';
|
|
32
32
|
import { maxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
33
33
|
import { mediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
34
|
+
import { mediaInsertPlugin } from '@atlaskit/editor-plugins/media-insert';
|
|
34
35
|
import { mentionsPlugin } from '@atlaskit/editor-plugins/mentions';
|
|
35
36
|
import { panelPlugin } from '@atlaskit/editor-plugins/panel';
|
|
36
37
|
import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugins/paste-options-toolbar';
|
|
@@ -110,7 +111,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
110
111
|
isCopyPasteEnabled: !isMobile,
|
|
111
112
|
alignLeftOnInsert: typeof ((_props$media3 = props.media) === null || _props$media3 === void 0 ? void 0 : _props$media3.alignLeftOnInsert) !== 'undefined' ? (_props$media4 = props.media) === null || _props$media4 === void 0 ? void 0 : _props$media4.alignLeftOnInsert : isComment,
|
|
112
113
|
getEditorFeatureFlags
|
|
113
|
-
}], Boolean(props.media)).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
|
|
114
|
+
}], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media && fg('platform_editor_insert_media_plugin_phase_one'))).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
|
|
114
115
|
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
115
116
|
insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
|
|
116
117
|
allowZeroWidthSpaceAfter: !isMobile,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "195.
|
|
2
|
+
export const version = "195.1.6";
|
|
@@ -35,6 +35,7 @@ import { layoutPlugin } from '@atlaskit/editor-plugins/layout';
|
|
|
35
35
|
import { listPlugin } from '@atlaskit/editor-plugins/list';
|
|
36
36
|
import { maxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
37
37
|
import { mediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
38
|
+
import { mediaInsertPlugin } from '@atlaskit/editor-plugins/media-insert';
|
|
38
39
|
import { mentionsPlugin } from '@atlaskit/editor-plugins/mentions';
|
|
39
40
|
import { panelPlugin } from '@atlaskit/editor-plugins/panel';
|
|
40
41
|
import { pasteOptionsToolbarPlugin } from '@atlaskit/editor-plugins/paste-options-toolbar';
|
|
@@ -113,7 +114,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
113
114
|
isCopyPasteEnabled: !isMobile,
|
|
114
115
|
alignLeftOnInsert: typeof ((_props$media3 = props.media) === null || _props$media3 === void 0 ? void 0 : _props$media3.alignLeftOnInsert) !== 'undefined' ? (_props$media4 = props.media) === null || _props$media4 === void 0 ? void 0 : _props$media4.alignLeftOnInsert : isComment,
|
|
115
116
|
getEditorFeatureFlags: getEditorFeatureFlags
|
|
116
|
-
})], Boolean(props.media)).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
|
|
117
|
+
})], Boolean(props.media)).maybeAdd(mediaInsertPlugin, Boolean(props.media && fg('platform_editor_insert_media_plugin_phase_one'))).maybeAdd(captionPlugin, Boolean((_props$media5 = props.media) === null || _props$media5 === void 0 ? void 0 : _props$media5.allowCaptions)).maybeAdd([mentionsPlugin, {
|
|
117
118
|
sanitizePrivateContent: props.sanitizePrivateContent,
|
|
118
119
|
insertDisplayName: (_props$mention$insert = (_props$mention = props.mention) === null || _props$mention === void 0 ? void 0 : _props$mention.insertDisplayName) !== null && _props$mention$insert !== void 0 ? _props$mention$insert : props.mentionInsertDisplayName,
|
|
119
120
|
allowZeroWidthSpaceAfter: !isMobile,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "195.
|
|
2
|
+
export var version = "195.1.6";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { EditorProps } from '../types';
|
|
3
|
-
export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/preset").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"primaryToolbar">, import("@atlaskit/editor-common/preset").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/preset").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
3
|
+
export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", "pasteOptionsToolbarPlugin", import("@atlaskit/editor-common/preset").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"border">, import("@atlaskit/editor-common/preset").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/preset").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/preset").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/preset").MaybePluginName<"indentation">, import("@atlaskit/editor-common/preset").MaybePluginName<"status">, import("@atlaskit/editor-common/preset").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/preset").MaybePluginName<"card">, import("@atlaskit/editor-common/preset").MaybePluginName<"layout">, import("@atlaskit/editor-common/preset").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/preset").MaybePluginName<"date">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"extension">, import("@atlaskit/editor-common/preset").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/preset").MaybePluginName<"panel">, import("@atlaskit/editor-common/preset").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/preset").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/preset").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/preset").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/preset").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/preset").MaybePluginName<"table">, import("@atlaskit/editor-common/preset").MaybePluginName<"emoji">, import("@atlaskit/editor-common/preset").MaybePluginName<"mention">, import("@atlaskit/editor-common/preset").MaybePluginName<"caption">, import("@atlaskit/editor-common/preset").MaybePluginName<"mediaInsert">, import("@atlaskit/editor-common/preset").MaybePluginName<"media">, import("@atlaskit/editor-common/preset").MaybePluginName<"annotation">, import("@atlaskit/editor-common/preset").MaybePluginName<"grid">, import("@atlaskit/editor-common/preset").MaybePluginName<"guideline">, import("@atlaskit/editor-common/preset").MaybePluginName<"expand">, import("@atlaskit/editor-common/preset").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/preset").MaybePluginName<"textColor">, import("@atlaskit/editor-common/preset").MaybePluginName<"alignment">, import("@atlaskit/editor-common/preset").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", "selectionToolbar", "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/preset").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/preset").MaybePluginName<"primaryToolbar">, import("@atlaskit/editor-common/preset").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/preset").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
4
4
|
pluginConfiguration: {
|
|
5
5
|
appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
|
|
6
6
|
} | undefined;
|
|
@@ -212,10 +212,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
212
212
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
213
213
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
214
214
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
215
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
215
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
216
|
+
dependencies: [];
|
|
217
|
+
actions: {
|
|
218
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
219
|
+
};
|
|
220
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
221
|
+
}, undefined>>];
|
|
216
222
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
217
223
|
commands: {
|
|
218
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
224
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
225
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
226
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
227
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
219
228
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
220
229
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
221
230
|
};
|
|
@@ -416,10 +425,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
416
425
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
417
426
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
418
427
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
419
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
428
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
429
|
+
dependencies: [];
|
|
430
|
+
actions: {
|
|
431
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
432
|
+
};
|
|
433
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
434
|
+
}, undefined>>];
|
|
420
435
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
421
436
|
commands: {
|
|
422
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
437
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
438
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
439
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
440
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
423
441
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
424
442
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
425
443
|
};
|
|
@@ -698,11 +716,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
698
716
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
699
717
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
700
718
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
701
|
-
|
|
719
|
+
actions: {
|
|
702
720
|
registerComponent: ({ name, component, }: {
|
|
703
721
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
704
722
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
705
|
-
}) =>
|
|
723
|
+
}) => void;
|
|
706
724
|
};
|
|
707
725
|
}, undefined>>];
|
|
708
726
|
actions: {
|
|
@@ -780,11 +798,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
780
798
|
};
|
|
781
799
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
782
800
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
783
|
-
|
|
801
|
+
actions: {
|
|
784
802
|
registerComponent: ({ name, component, }: {
|
|
785
803
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
786
804
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
787
|
-
}) =>
|
|
805
|
+
}) => void;
|
|
788
806
|
};
|
|
789
807
|
}, undefined>>];
|
|
790
808
|
actions: {
|
|
@@ -802,11 +820,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
802
820
|
};
|
|
803
821
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
804
822
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
805
|
-
|
|
823
|
+
actions: {
|
|
806
824
|
registerComponent: ({ name, component, }: {
|
|
807
825
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
808
826
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
809
|
-
}) =>
|
|
827
|
+
}) => void;
|
|
810
828
|
};
|
|
811
829
|
}, undefined>>];
|
|
812
830
|
}, {
|
|
@@ -962,11 +980,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
962
980
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
963
981
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
964
982
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
965
|
-
|
|
983
|
+
actions: {
|
|
966
984
|
registerComponent: ({ name, component, }: {
|
|
967
985
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
968
986
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
969
|
-
}) =>
|
|
987
|
+
}) => void;
|
|
970
988
|
};
|
|
971
989
|
}, undefined>>];
|
|
972
990
|
}, {
|
|
@@ -1177,10 +1195,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1177
1195
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1178
1196
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1179
1197
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1180
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1198
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
1199
|
+
dependencies: [];
|
|
1200
|
+
actions: {
|
|
1201
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1202
|
+
};
|
|
1203
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
1204
|
+
}, undefined>>];
|
|
1181
1205
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1182
1206
|
commands: {
|
|
1183
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
1207
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1208
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
1209
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1210
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1184
1211
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1185
1212
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1186
1213
|
};
|
|
@@ -1690,10 +1717,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1690
1717
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1691
1718
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1692
1719
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1693
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1720
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
1721
|
+
dependencies: [];
|
|
1722
|
+
actions: {
|
|
1723
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1724
|
+
};
|
|
1725
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
1726
|
+
}, undefined>>];
|
|
1694
1727
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1695
1728
|
commands: {
|
|
1696
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
1729
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1730
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
1731
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
1732
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1697
1733
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1698
1734
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1699
1735
|
};
|
|
@@ -2219,7 +2255,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2219
2255
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2220
2256
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2221
2257
|
}, undefined>>];
|
|
2222
|
-
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2258
|
+
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2223
2259
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2224
2260
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2225
2261
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -2388,10 +2424,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2388
2424
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2389
2425
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2390
2426
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2391
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2427
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
2428
|
+
dependencies: [];
|
|
2429
|
+
actions: {
|
|
2430
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2431
|
+
};
|
|
2432
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
2433
|
+
}, undefined>>];
|
|
2392
2434
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2393
2435
|
commands: {
|
|
2394
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
2436
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2437
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
2438
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
2439
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2395
2440
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2396
2441
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2397
2442
|
};
|
|
@@ -2772,11 +2817,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2772
2817
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2773
2818
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
2774
2819
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
2775
|
-
|
|
2820
|
+
actions: {
|
|
2776
2821
|
registerComponent: ({ name, component, }: {
|
|
2777
2822
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
2778
2823
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
2779
|
-
}) =>
|
|
2824
|
+
}) => void;
|
|
2780
2825
|
};
|
|
2781
2826
|
}, undefined>>];
|
|
2782
2827
|
actions: {
|
|
@@ -2787,11 +2832,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2787
2832
|
sharedState: import("@atlaskit/editor-plugin-alignment").AlignmentPluginState | undefined;
|
|
2788
2833
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
2789
2834
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
2790
|
-
|
|
2835
|
+
actions: {
|
|
2791
2836
|
registerComponent: ({ name, component, }: {
|
|
2792
2837
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
2793
2838
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
2794
|
-
}) =>
|
|
2839
|
+
}) => void;
|
|
2795
2840
|
};
|
|
2796
2841
|
}, undefined>>];
|
|
2797
2842
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
|
|
@@ -2976,10 +3021,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2976
3021
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2977
3022
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2978
3023
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2979
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3024
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3025
|
+
dependencies: [];
|
|
3026
|
+
actions: {
|
|
3027
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3028
|
+
};
|
|
3029
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
3030
|
+
}, undefined>>];
|
|
2980
3031
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2981
3032
|
commands: {
|
|
2982
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3033
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3034
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3035
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3036
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2983
3037
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2984
3038
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2985
3039
|
};
|
|
@@ -3182,10 +3236,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3182
3236
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3183
3237
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3184
3238
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3185
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3239
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3240
|
+
dependencies: [];
|
|
3241
|
+
actions: {
|
|
3242
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3243
|
+
};
|
|
3244
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
3245
|
+
}, undefined>>];
|
|
3186
3246
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3187
3247
|
commands: {
|
|
3188
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3248
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3249
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3250
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3251
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3189
3252
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3190
3253
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3191
3254
|
};
|
|
@@ -3437,11 +3500,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3437
3500
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3438
3501
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3439
3502
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3440
|
-
|
|
3503
|
+
actions: {
|
|
3441
3504
|
registerComponent: ({ name, component, }: {
|
|
3442
3505
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3443
3506
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3444
|
-
}) =>
|
|
3507
|
+
}) => void;
|
|
3445
3508
|
};
|
|
3446
3509
|
}, undefined>>];
|
|
3447
3510
|
commands: {
|
|
@@ -3626,10 +3689,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3626
3689
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3627
3690
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3628
3691
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3629
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3692
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3693
|
+
dependencies: [];
|
|
3694
|
+
actions: {
|
|
3695
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3696
|
+
};
|
|
3697
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
3698
|
+
}, undefined>>];
|
|
3630
3699
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3631
3700
|
commands: {
|
|
3632
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3701
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3702
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
3703
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
3704
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3633
3705
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3634
3706
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3635
3707
|
};
|
|
@@ -3706,11 +3778,11 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3706
3778
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3707
3779
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3708
3780
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3709
|
-
|
|
3781
|
+
actions: {
|
|
3710
3782
|
registerComponent: ({ name, component, }: {
|
|
3711
3783
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3712
3784
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3713
|
-
}) =>
|
|
3785
|
+
}) => void;
|
|
3714
3786
|
};
|
|
3715
3787
|
}, undefined>>];
|
|
3716
3788
|
sharedState: import("@atlaskit/editor-plugin-block-type").BlockTypeState | undefined;
|
|
@@ -3770,20 +3842,20 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3770
3842
|
sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
|
|
3771
3843
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3772
3844
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3773
|
-
|
|
3845
|
+
actions: {
|
|
3774
3846
|
registerComponent: ({ name, component, }: {
|
|
3775
3847
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3776
3848
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3777
|
-
}) =>
|
|
3849
|
+
}) => void;
|
|
3778
3850
|
};
|
|
3779
3851
|
}, undefined>>];
|
|
3780
3852
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3781
3853
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3782
|
-
|
|
3854
|
+
actions: {
|
|
3783
3855
|
registerComponent: ({ name, component, }: {
|
|
3784
3856
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3785
3857
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3786
|
-
}) =>
|
|
3858
|
+
}) => void;
|
|
3787
3859
|
};
|
|
3788
3860
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
3789
3861
|
sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
|
|
@@ -4059,10 +4131,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4059
4131
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4060
4132
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4061
4133
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4062
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4134
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4135
|
+
dependencies: [];
|
|
4136
|
+
actions: {
|
|
4137
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4138
|
+
};
|
|
4139
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
4140
|
+
}, undefined>>];
|
|
4063
4141
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4064
4142
|
commands: {
|
|
4065
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
4143
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4144
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4145
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4146
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4066
4147
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4067
4148
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4068
4149
|
};
|
|
@@ -4263,10 +4344,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4263
4344
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4264
4345
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4265
4346
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4266
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4347
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4348
|
+
dependencies: [];
|
|
4349
|
+
actions: {
|
|
4350
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4351
|
+
};
|
|
4352
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
4353
|
+
}, undefined>>];
|
|
4267
4354
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4268
4355
|
commands: {
|
|
4269
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
4356
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4357
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
4358
|
+
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, string | number | boolean | {} | import("react").ReactPortal | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactNodeArray | Date | import("intl-messageformat").FormatXMLElementFn<import("react").ReactNode, import("react").ReactNode> | null | undefined> | undefined, opts?: import("intl-messageformat").Options | undefined): import("react").ReactNode;
|
|
4359
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4270
4360
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4271
4361
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4272
4362
|
};
|