@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
|
@@ -3,7 +3,7 @@ import type { EditorProps } from '../types/editor-props';
|
|
|
3
3
|
interface PresetProps {
|
|
4
4
|
props: EditorProps;
|
|
5
5
|
}
|
|
6
|
-
export default function useUniversalPreset({ props }: PresetProps): 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-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"codeBidiWarning", {
|
|
6
|
+
export default function useUniversalPreset({ props }: PresetProps): 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-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"codeBidiWarning", {
|
|
7
7
|
pluginConfiguration: {
|
|
8
8
|
appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
|
|
9
9
|
} | undefined;
|
|
@@ -215,10 +215,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
215
215
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
216
216
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
217
217
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
218
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
218
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
219
|
+
dependencies: [];
|
|
220
|
+
actions: {
|
|
221
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
222
|
+
};
|
|
223
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
224
|
+
}, undefined>>];
|
|
219
225
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
220
226
|
commands: {
|
|
221
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
227
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
228
|
+
(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;
|
|
229
|
+
(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;
|
|
230
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
222
231
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
223
232
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
224
233
|
};
|
|
@@ -419,10 +428,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
419
428
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
420
429
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
421
430
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
422
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
431
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
432
|
+
dependencies: [];
|
|
433
|
+
actions: {
|
|
434
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
435
|
+
};
|
|
436
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
437
|
+
}, undefined>>];
|
|
423
438
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
424
439
|
commands: {
|
|
425
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
440
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
441
|
+
(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;
|
|
442
|
+
(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;
|
|
443
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
426
444
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
427
445
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
428
446
|
};
|
|
@@ -701,11 +719,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
701
719
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
702
720
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
703
721
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
704
|
-
|
|
722
|
+
actions: {
|
|
705
723
|
registerComponent: ({ name, component, }: {
|
|
706
724
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
707
725
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
708
|
-
}) =>
|
|
726
|
+
}) => void;
|
|
709
727
|
};
|
|
710
728
|
}, undefined>>];
|
|
711
729
|
actions: {
|
|
@@ -783,11 +801,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
783
801
|
};
|
|
784
802
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
785
803
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
786
|
-
|
|
804
|
+
actions: {
|
|
787
805
|
registerComponent: ({ name, component, }: {
|
|
788
806
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
789
807
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
790
|
-
}) =>
|
|
808
|
+
}) => void;
|
|
791
809
|
};
|
|
792
810
|
}, undefined>>];
|
|
793
811
|
actions: {
|
|
@@ -805,11 +823,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
805
823
|
};
|
|
806
824
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
807
825
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
808
|
-
|
|
826
|
+
actions: {
|
|
809
827
|
registerComponent: ({ name, component, }: {
|
|
810
828
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
811
829
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
812
|
-
}) =>
|
|
830
|
+
}) => void;
|
|
813
831
|
};
|
|
814
832
|
}, undefined>>];
|
|
815
833
|
}, {
|
|
@@ -965,11 +983,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
965
983
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
966
984
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
967
985
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
968
|
-
|
|
986
|
+
actions: {
|
|
969
987
|
registerComponent: ({ name, component, }: {
|
|
970
988
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
971
989
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
972
|
-
}) =>
|
|
990
|
+
}) => void;
|
|
973
991
|
};
|
|
974
992
|
}, undefined>>];
|
|
975
993
|
}, {
|
|
@@ -1180,10 +1198,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1180
1198
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1181
1199
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1182
1200
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1183
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1201
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
1202
|
+
dependencies: [];
|
|
1203
|
+
actions: {
|
|
1204
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1205
|
+
};
|
|
1206
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
1207
|
+
}, undefined>>];
|
|
1184
1208
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1185
1209
|
commands: {
|
|
1186
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
1210
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1211
|
+
(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;
|
|
1212
|
+
(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;
|
|
1213
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1187
1214
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1188
1215
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1189
1216
|
};
|
|
@@ -1693,10 +1720,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1693
1720
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1694
1721
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1695
1722
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1696
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1723
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
1724
|
+
dependencies: [];
|
|
1725
|
+
actions: {
|
|
1726
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
1727
|
+
};
|
|
1728
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
1729
|
+
}, undefined>>];
|
|
1697
1730
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1698
1731
|
commands: {
|
|
1699
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
1732
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
1733
|
+
(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;
|
|
1734
|
+
(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;
|
|
1735
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1700
1736
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1701
1737
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1702
1738
|
};
|
|
@@ -2222,7 +2258,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2222
2258
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
2223
2259
|
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2224
2260
|
}, undefined>>];
|
|
2225
|
-
}, undefined> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"media", {
|
|
2261
|
+
}, undefined> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"mediaInsert", {}, undefined> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"media", {
|
|
2226
2262
|
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2227
2263
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
2228
2264
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
@@ -2391,10 +2427,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2391
2427
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2392
2428
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2393
2429
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2394
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2430
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
2431
|
+
dependencies: [];
|
|
2432
|
+
actions: {
|
|
2433
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
2434
|
+
};
|
|
2435
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
2436
|
+
}, undefined>>];
|
|
2395
2437
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2396
2438
|
commands: {
|
|
2397
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
2439
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
2440
|
+
(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;
|
|
2441
|
+
(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;
|
|
2442
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2398
2443
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2399
2444
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2400
2445
|
};
|
|
@@ -2775,11 +2820,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2775
2820
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2776
2821
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
2777
2822
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
2778
|
-
|
|
2823
|
+
actions: {
|
|
2779
2824
|
registerComponent: ({ name, component, }: {
|
|
2780
2825
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
2781
2826
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
2782
|
-
}) =>
|
|
2827
|
+
}) => void;
|
|
2783
2828
|
};
|
|
2784
2829
|
}, undefined>>];
|
|
2785
2830
|
actions: {
|
|
@@ -2790,11 +2835,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2790
2835
|
sharedState: import("@atlaskit/editor-plugin-alignment").AlignmentPluginState | undefined;
|
|
2791
2836
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
2792
2837
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
2793
|
-
|
|
2838
|
+
actions: {
|
|
2794
2839
|
registerComponent: ({ name, component, }: {
|
|
2795
2840
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
2796
2841
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
2797
|
-
}) =>
|
|
2842
|
+
}) => void;
|
|
2798
2843
|
};
|
|
2799
2844
|
}, undefined>>];
|
|
2800
2845
|
}, undefined> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"breakout", {
|
|
@@ -2979,10 +3024,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2979
3024
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2980
3025
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
2981
3026
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2982
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3027
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
3028
|
+
dependencies: [];
|
|
3029
|
+
actions: {
|
|
3030
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3031
|
+
};
|
|
3032
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
3033
|
+
}, undefined>>];
|
|
2983
3034
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2984
3035
|
commands: {
|
|
2985
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3036
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3037
|
+
(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;
|
|
3038
|
+
(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;
|
|
3039
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2986
3040
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2987
3041
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2988
3042
|
};
|
|
@@ -3185,10 +3239,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3185
3239
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3186
3240
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3187
3241
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3188
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3242
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
3243
|
+
dependencies: [];
|
|
3244
|
+
actions: {
|
|
3245
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3246
|
+
};
|
|
3247
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
3248
|
+
}, undefined>>];
|
|
3189
3249
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3190
3250
|
commands: {
|
|
3191
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3251
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3252
|
+
(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;
|
|
3253
|
+
(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;
|
|
3254
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3192
3255
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3193
3256
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3194
3257
|
};
|
|
@@ -3440,11 +3503,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3440
3503
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3441
3504
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
3442
3505
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3443
|
-
|
|
3506
|
+
actions: {
|
|
3444
3507
|
registerComponent: ({ name, component, }: {
|
|
3445
3508
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3446
3509
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3447
|
-
}) =>
|
|
3510
|
+
}) => void;
|
|
3448
3511
|
};
|
|
3449
3512
|
}, undefined>>];
|
|
3450
3513
|
commands: {
|
|
@@ -3629,10 +3692,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3629
3692
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3630
3693
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
3631
3694
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3632
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3695
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
3696
|
+
dependencies: [];
|
|
3697
|
+
actions: {
|
|
3698
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
3699
|
+
};
|
|
3700
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
3701
|
+
}, undefined>>];
|
|
3633
3702
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3634
3703
|
commands: {
|
|
3635
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
3704
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
3705
|
+
(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;
|
|
3706
|
+
(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;
|
|
3707
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3636
3708
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3637
3709
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3638
3710
|
};
|
|
@@ -3709,11 +3781,11 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3709
3781
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3710
3782
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
3711
3783
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3712
|
-
|
|
3784
|
+
actions: {
|
|
3713
3785
|
registerComponent: ({ name, component, }: {
|
|
3714
3786
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3715
3787
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3716
|
-
}) =>
|
|
3788
|
+
}) => void;
|
|
3717
3789
|
};
|
|
3718
3790
|
}, undefined>>];
|
|
3719
3791
|
sharedState: import("@atlaskit/editor-plugin-block-type").BlockTypeState | undefined;
|
|
@@ -3773,20 +3845,20 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3773
3845
|
sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
|
|
3774
3846
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
3775
3847
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3776
|
-
|
|
3848
|
+
actions: {
|
|
3777
3849
|
registerComponent: ({ name, component, }: {
|
|
3778
3850
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3779
3851
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3780
|
-
}) =>
|
|
3852
|
+
}) => void;
|
|
3781
3853
|
};
|
|
3782
3854
|
}, undefined>>];
|
|
3783
3855
|
}, undefined> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
3784
3856
|
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
3785
|
-
|
|
3857
|
+
actions: {
|
|
3786
3858
|
registerComponent: ({ name, component, }: {
|
|
3787
3859
|
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
3788
3860
|
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
3789
|
-
}) =>
|
|
3861
|
+
}) => void;
|
|
3790
3862
|
};
|
|
3791
3863
|
}, undefined> | undefined, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"history", {
|
|
3792
3864
|
sharedState: import("@atlaskit/editor-plugin-history").HistoryPluginState | undefined;
|
|
@@ -4062,10 +4134,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4062
4134
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4063
4135
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4064
4136
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4065
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4137
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
4138
|
+
dependencies: [];
|
|
4139
|
+
actions: {
|
|
4140
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4141
|
+
};
|
|
4142
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
4143
|
+
}, undefined>>];
|
|
4066
4144
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4067
4145
|
commands: {
|
|
4068
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
4146
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4147
|
+
(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;
|
|
4148
|
+
(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;
|
|
4149
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4069
4150
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4070
4151
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4071
4152
|
};
|
|
@@ -4266,10 +4347,19 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4266
4347
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4267
4348
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
4268
4349
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
4269
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
4350
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"accessibilityUtils", {
|
|
4351
|
+
dependencies: [];
|
|
4352
|
+
actions: {
|
|
4353
|
+
ariaNotify: (message: string, ariaLiveElementAttributes?: import("@atlaskit/editor-plugin-accessibility-utils").AriaLiveElementAttributes | undefined) => void;
|
|
4354
|
+
};
|
|
4355
|
+
sharedState: import("@atlaskit/editor-plugin-accessibility-utils").AccessibilityUtilsPluginState;
|
|
4356
|
+
}, undefined>>];
|
|
4270
4357
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4271
4358
|
commands: {
|
|
4272
|
-
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined
|
|
4359
|
+
moveNode: (start: number, to: number, inputMethod?: import("@atlaskit/editor-plugin-block-controls").MoveNodeMethod | undefined, formatMessage?: {
|
|
4360
|
+
(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;
|
|
4361
|
+
(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;
|
|
4362
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4273
4363
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4274
4364
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4275
4365
|
};
|