@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
|
@@ -17,7 +17,7 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
|
|
|
17
17
|
* @param prevAppearance The appearance of the editor in the previous render
|
|
18
18
|
* @returns a full featured preset configured according to the provided props - basis for create-plugins-list
|
|
19
19
|
*/
|
|
20
|
-
export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): 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", {
|
|
20
|
+
export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): 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", {
|
|
21
21
|
pluginConfiguration: {
|
|
22
22
|
appearance?: EditorAppearance | undefined;
|
|
23
23
|
} | undefined;
|
|
@@ -229,10 +229,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
229
229
|
sharedState: FeatureFlags;
|
|
230
230
|
}, FeatureFlags>>];
|
|
231
231
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
232
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
232
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
233
|
+
dependencies: [];
|
|
234
|
+
actions: {
|
|
235
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
236
|
+
};
|
|
237
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
238
|
+
}, undefined>>];
|
|
233
239
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
234
240
|
commands: {
|
|
235
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
241
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
242
|
+
(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;
|
|
243
|
+
(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;
|
|
244
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
236
245
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
237
246
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
238
247
|
};
|
|
@@ -433,10 +442,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
433
442
|
sharedState: FeatureFlags;
|
|
434
443
|
}, FeatureFlags>>];
|
|
435
444
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
436
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
445
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
446
|
+
dependencies: [];
|
|
447
|
+
actions: {
|
|
448
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
449
|
+
};
|
|
450
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
451
|
+
}, undefined>>];
|
|
437
452
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
438
453
|
commands: {
|
|
439
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
454
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
455
|
+
(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;
|
|
456
|
+
(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;
|
|
457
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
440
458
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
441
459
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
442
460
|
};
|
|
@@ -715,11 +733,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
715
733
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
716
734
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
717
735
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
718
|
-
|
|
736
|
+
actions: {
|
|
719
737
|
registerComponent: ({ name, component, }: {
|
|
720
738
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
721
739
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
722
|
-
}) =>
|
|
740
|
+
}) => void;
|
|
723
741
|
};
|
|
724
742
|
}, undefined>>];
|
|
725
743
|
actions: {
|
|
@@ -797,11 +815,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
797
815
|
};
|
|
798
816
|
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
799
817
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
800
|
-
|
|
818
|
+
actions: {
|
|
801
819
|
registerComponent: ({ name, component, }: {
|
|
802
820
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
803
821
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
804
|
-
}) =>
|
|
822
|
+
}) => void;
|
|
805
823
|
};
|
|
806
824
|
}, undefined>>];
|
|
807
825
|
actions: {
|
|
@@ -819,11 +837,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
819
837
|
};
|
|
820
838
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
821
839
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
822
|
-
|
|
840
|
+
actions: {
|
|
823
841
|
registerComponent: ({ name, component, }: {
|
|
824
842
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
825
843
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
826
|
-
}) =>
|
|
844
|
+
}) => void;
|
|
827
845
|
};
|
|
828
846
|
}, undefined>>];
|
|
829
847
|
}, {
|
|
@@ -979,11 +997,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
979
997
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
980
998
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
981
999
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
982
|
-
|
|
1000
|
+
actions: {
|
|
983
1001
|
registerComponent: ({ name, component, }: {
|
|
984
1002
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
985
1003
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
986
|
-
}) =>
|
|
1004
|
+
}) => void;
|
|
987
1005
|
};
|
|
988
1006
|
}, undefined>>];
|
|
989
1007
|
}, {
|
|
@@ -1194,10 +1212,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1194
1212
|
sharedState: FeatureFlags;
|
|
1195
1213
|
}, FeatureFlags>>];
|
|
1196
1214
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1197
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1215
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
1216
|
+
dependencies: [];
|
|
1217
|
+
actions: {
|
|
1218
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1219
|
+
};
|
|
1220
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
1221
|
+
}, undefined>>];
|
|
1198
1222
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1199
1223
|
commands: {
|
|
1200
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
1224
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1225
|
+
(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;
|
|
1226
|
+
(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;
|
|
1227
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1201
1228
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1202
1229
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1203
1230
|
};
|
|
@@ -1707,10 +1734,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1707
1734
|
sharedState: FeatureFlags;
|
|
1708
1735
|
}, FeatureFlags>>];
|
|
1709
1736
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1710
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1737
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
1738
|
+
dependencies: [];
|
|
1739
|
+
actions: {
|
|
1740
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1741
|
+
};
|
|
1742
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
1743
|
+
}, undefined>>];
|
|
1711
1744
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1712
1745
|
commands: {
|
|
1713
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
1746
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1747
|
+
(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;
|
|
1748
|
+
(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;
|
|
1749
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1714
1750
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1715
1751
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1716
1752
|
};
|
|
@@ -2236,7 +2272,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2236
2272
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2237
2273
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2238
2274
|
}, undefined>>];
|
|
2239
|
-
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2275
|
+
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"mediaInsert", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2240
2276
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2241
2277
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2242
2278
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -2405,10 +2441,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2405
2441
|
sharedState: FeatureFlags;
|
|
2406
2442
|
}, FeatureFlags>>];
|
|
2407
2443
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2408
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2444
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
2445
|
+
dependencies: [];
|
|
2446
|
+
actions: {
|
|
2447
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2448
|
+
};
|
|
2449
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
2450
|
+
}, undefined>>];
|
|
2409
2451
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2410
2452
|
commands: {
|
|
2411
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
2453
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2454
|
+
(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;
|
|
2455
|
+
(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;
|
|
2456
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2412
2457
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2413
2458
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2414
2459
|
};
|
|
@@ -2789,11 +2834,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2789
2834
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2790
2835
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
2791
2836
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
2792
|
-
|
|
2837
|
+
actions: {
|
|
2793
2838
|
registerComponent: ({ name, component, }: {
|
|
2794
2839
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
2795
2840
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
2796
|
-
}) =>
|
|
2841
|
+
}) => void;
|
|
2797
2842
|
};
|
|
2798
2843
|
}, undefined>>];
|
|
2799
2844
|
actions: {
|
|
@@ -2804,11 +2849,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2804
2849
|
sharedState: import("@atlaskit/editor-plugins/alignment").AlignmentPluginState | undefined;
|
|
2805
2850
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
2806
2851
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
2807
|
-
|
|
2852
|
+
actions: {
|
|
2808
2853
|
registerComponent: ({ name, component, }: {
|
|
2809
2854
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
2810
2855
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
2811
|
-
}) =>
|
|
2856
|
+
}) => void;
|
|
2812
2857
|
};
|
|
2813
2858
|
}, undefined>>];
|
|
2814
2859
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"breakout", {
|
|
@@ -2993,10 +3038,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2993
3038
|
sharedState: FeatureFlags;
|
|
2994
3039
|
}, FeatureFlags>>];
|
|
2995
3040
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2996
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3041
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3042
|
+
dependencies: [];
|
|
3043
|
+
actions: {
|
|
3044
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3045
|
+
};
|
|
3046
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
3047
|
+
}, undefined>>];
|
|
2997
3048
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2998
3049
|
commands: {
|
|
2999
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3050
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3051
|
+
(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;
|
|
3052
|
+
(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;
|
|
3053
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3000
3054
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3001
3055
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3002
3056
|
};
|
|
@@ -3199,10 +3253,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3199
3253
|
sharedState: FeatureFlags;
|
|
3200
3254
|
}, FeatureFlags>>];
|
|
3201
3255
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3202
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3256
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3257
|
+
dependencies: [];
|
|
3258
|
+
actions: {
|
|
3259
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3260
|
+
};
|
|
3261
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
3262
|
+
}, undefined>>];
|
|
3203
3263
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3204
3264
|
commands: {
|
|
3205
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3265
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3266
|
+
(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;
|
|
3267
|
+
(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;
|
|
3268
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3206
3269
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3207
3270
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3208
3271
|
};
|
|
@@ -3454,11 +3517,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3454
3517
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3455
3518
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3456
3519
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3457
|
-
|
|
3520
|
+
actions: {
|
|
3458
3521
|
registerComponent: ({ name, component, }: {
|
|
3459
3522
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3460
3523
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3461
|
-
}) =>
|
|
3524
|
+
}) => void;
|
|
3462
3525
|
};
|
|
3463
3526
|
}, undefined>>];
|
|
3464
3527
|
commands: {
|
|
@@ -3643,10 +3706,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3643
3706
|
sharedState: FeatureFlags;
|
|
3644
3707
|
}, FeatureFlags>>];
|
|
3645
3708
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3646
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3709
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
3710
|
+
dependencies: [];
|
|
3711
|
+
actions: {
|
|
3712
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3713
|
+
};
|
|
3714
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
3715
|
+
}, undefined>>];
|
|
3647
3716
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3648
3717
|
commands: {
|
|
3649
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3718
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3719
|
+
(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;
|
|
3720
|
+
(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;
|
|
3721
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3650
3722
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3651
3723
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3652
3724
|
};
|
|
@@ -3723,11 +3795,11 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3723
3795
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3724
3796
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3725
3797
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3726
|
-
|
|
3798
|
+
actions: {
|
|
3727
3799
|
registerComponent: ({ name, component, }: {
|
|
3728
3800
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3729
3801
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3730
|
-
}) =>
|
|
3802
|
+
}) => void;
|
|
3731
3803
|
};
|
|
3732
3804
|
}, undefined>>];
|
|
3733
3805
|
sharedState: import("@atlaskit/editor-plugin-block-type").BlockTypeState | undefined;
|
|
@@ -3787,20 +3859,20 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3787
3859
|
sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
|
|
3788
3860
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3789
3861
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3790
|
-
|
|
3862
|
+
actions: {
|
|
3791
3863
|
registerComponent: ({ name, component, }: {
|
|
3792
3864
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3793
3865
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3794
|
-
}) =>
|
|
3866
|
+
}) => void;
|
|
3795
3867
|
};
|
|
3796
3868
|
}, undefined>>];
|
|
3797
3869
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
3798
3870
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3799
|
-
|
|
3871
|
+
actions: {
|
|
3800
3872
|
registerComponent: ({ name, component, }: {
|
|
3801
3873
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3802
3874
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3803
|
-
}) =>
|
|
3875
|
+
}) => void;
|
|
3804
3876
|
};
|
|
3805
3877
|
}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
|
|
3806
3878
|
sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
|
|
@@ -4076,10 +4148,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4076
4148
|
sharedState: FeatureFlags;
|
|
4077
4149
|
}, FeatureFlags>>];
|
|
4078
4150
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4079
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4151
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4152
|
+
dependencies: [];
|
|
4153
|
+
actions: {
|
|
4154
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4155
|
+
};
|
|
4156
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
4157
|
+
}, undefined>>];
|
|
4080
4158
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4081
4159
|
commands: {
|
|
4082
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
4160
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4161
|
+
(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;
|
|
4162
|
+
(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;
|
|
4163
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4083
4164
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4084
4165
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4085
4166
|
};
|
|
@@ -4280,10 +4361,19 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4280
4361
|
sharedState: FeatureFlags;
|
|
4281
4362
|
}, FeatureFlags>>];
|
|
4282
4363
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4283
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4364
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"accessibilityUtils", {
|
|
4365
|
+
dependencies: [];
|
|
4366
|
+
actions: {
|
|
4367
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugins/accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4368
|
+
};
|
|
4369
|
+
sharedState: import("@atlaskit/editor-plugins/accessibility-utils").AccessibilityUtilsPluginState;
|
|
4370
|
+
}, undefined>>];
|
|
4284
4371
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4285
4372
|
commands: {
|
|
4286
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
4373
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4374
|
+
(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;
|
|
4375
|
+
(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;
|
|
4376
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4287
4377
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4288
4378
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4289
4379
|
};
|