@atlaskit/editor-core 195.1.0 → 195.1.8
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/version-wrapper.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +110 -20
- package/dist/types/presets/default.d.ts +111 -20
- package/dist/types/presets/universal.d.ts +110 -20
- package/dist/types/presets/useUniversalPreset.d.ts +110 -20
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +130 -20
- package/dist/types-ts4.5/presets/default.d.ts +131 -20
- package/dist/types-ts4.5/presets/universal.d.ts +130 -20
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +130 -20
- package/package.json +5 -19
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|