@atlaskit/editor-core 197.7.1 → 197.7.3
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 +18 -0
- package/afm-jira/tsconfig.json +0 -3
- package/dist/cjs/presets/universal.js +1 -1
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -1
- package/dist/es2019/ui/ContentStyles/expand.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -1
- package/dist/esm/ui/ContentStyles/expand.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +80 -12
- package/dist/types/presets/default.d.ts +10 -10
- package/dist/types/presets/universal.d.ts +80 -12
- package/dist/types/presets/useUniversalPreset.d.ts +80 -12
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +91 -12
- package/dist/types-ts4.5/presets/default.d.ts +10 -10
- package/dist/types-ts4.5/presets/universal.d.ts +91 -12
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +91 -12
- package/package.json +7 -10
|
@@ -437,7 +437,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
437
437
|
(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;
|
|
438
438
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
439
439
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
440
|
-
setNodeDragged: (
|
|
440
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
441
441
|
};
|
|
442
442
|
}, undefined>>,
|
|
443
443
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -853,7 +853,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
853
853
|
(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;
|
|
854
854
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
855
855
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
856
|
-
setNodeDragged: (
|
|
856
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
857
857
|
};
|
|
858
858
|
}, undefined>>,
|
|
859
859
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2034,7 +2034,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2034
2034
|
(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;
|
|
2035
2035
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2036
2036
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2037
|
-
setNodeDragged: (
|
|
2037
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2038
2038
|
};
|
|
2039
2039
|
}, undefined>>,
|
|
2040
2040
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2466,7 +2466,86 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2466
2466
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2467
2467
|
];
|
|
2468
2468
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2469
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2469
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2470
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2471
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-emoji").EmojiPluginOptions | undefined;
|
|
2472
|
+
dependencies: [
|
|
2473
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2474
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2475
|
+
sharedState: {
|
|
2476
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
2477
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2478
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
2479
|
+
};
|
|
2480
|
+
dependencies: [
|
|
2481
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2482
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2483
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2484
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2485
|
+
];
|
|
2486
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2487
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2488
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
2489
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
2490
|
+
dependencies: [
|
|
2491
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2492
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2493
|
+
sharedState: {
|
|
2494
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
2495
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2496
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
2497
|
+
};
|
|
2498
|
+
dependencies: [
|
|
2499
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2500
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2501
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2502
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2503
|
+
];
|
|
2504
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2505
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2506
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2507
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2508
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2509
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2510
|
+
];
|
|
2511
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
2512
|
+
actions: {
|
|
2513
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2514
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2515
|
+
insert: (props: {
|
|
2516
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2517
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
2518
|
+
query: string;
|
|
2519
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
2520
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2521
|
+
}) => boolean;
|
|
2522
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
2523
|
+
open: (props: {
|
|
2524
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2525
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
2526
|
+
query?: string | undefined;
|
|
2527
|
+
}) => boolean;
|
|
2528
|
+
close: (props: {
|
|
2529
|
+
insertCurrentQueryAsRawText: boolean;
|
|
2530
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
2531
|
+
}) => boolean;
|
|
2532
|
+
openAtTransaction: (props: {
|
|
2533
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2534
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
2535
|
+
query?: string | undefined;
|
|
2536
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2537
|
+
};
|
|
2538
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
|
|
2539
|
+
];
|
|
2540
|
+
sharedState: import("@atlaskit/editor-plugin-emoji").EmojiPluginSharedState | undefined;
|
|
2541
|
+
commands: {
|
|
2542
|
+
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2543
|
+
};
|
|
2544
|
+
actions: {
|
|
2545
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2546
|
+
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
2547
|
+
};
|
|
2548
|
+
}, import("@atlaskit/editor-plugin-emoji").EmojiPluginOptions | undefined>
|
|
2470
2549
|
];
|
|
2471
2550
|
actions: {
|
|
2472
2551
|
insertPanel: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2829,7 +2908,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2829
2908
|
(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;
|
|
2830
2909
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2831
2910
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2832
|
-
setNodeDragged: (
|
|
2911
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2833
2912
|
};
|
|
2834
2913
|
}, undefined>>,
|
|
2835
2914
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3867,7 +3946,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
3867
3946
|
(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;
|
|
3868
3947
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3869
3948
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3870
|
-
setNodeDragged: (
|
|
3949
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3871
3950
|
};
|
|
3872
3951
|
}, undefined>>,
|
|
3873
3952
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4391,7 +4470,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4391
4470
|
(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;
|
|
4392
4471
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4393
4472
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4394
|
-
setNodeDragged: (
|
|
4473
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4395
4474
|
};
|
|
4396
4475
|
}, undefined>>,
|
|
4397
4476
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5287,7 +5366,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5287
5366
|
(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;
|
|
5288
5367
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5289
5368
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5290
|
-
setNodeDragged: (
|
|
5369
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5291
5370
|
};
|
|
5292
5371
|
}, undefined>>,
|
|
5293
5372
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5706,7 +5785,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5706
5785
|
(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;
|
|
5707
5786
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5708
5787
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5709
|
-
setNodeDragged: (
|
|
5788
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5710
5789
|
};
|
|
5711
5790
|
}, undefined>>,
|
|
5712
5791
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -6408,7 +6487,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
6408
6487
|
(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;
|
|
6409
6488
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6410
6489
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6411
|
-
setNodeDragged: (
|
|
6490
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6412
6491
|
};
|
|
6413
6492
|
}, undefined>>,
|
|
6414
6493
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -7101,7 +7180,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
7101
7180
|
(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;
|
|
7102
7181
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7103
7182
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7104
|
-
setNodeDragged: (
|
|
7183
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7105
7184
|
};
|
|
7106
7185
|
}, undefined>>,
|
|
7107
7186
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -7517,7 +7596,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
7517
7596
|
(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;
|
|
7518
7597
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7519
7598
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7520
|
-
setNodeDragged: (
|
|
7599
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7521
7600
|
};
|
|
7522
7601
|
}, undefined>>,
|
|
7523
7602
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -345,7 +345,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
345
345
|
(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;
|
|
346
346
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
347
347
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
348
|
-
setNodeDragged: (
|
|
348
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
349
349
|
};
|
|
350
350
|
}, undefined>>,
|
|
351
351
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -764,7 +764,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
764
764
|
(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;
|
|
765
765
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
766
766
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
767
|
-
setNodeDragged: (
|
|
767
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
768
768
|
};
|
|
769
769
|
}, undefined>>,
|
|
770
770
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -1466,7 +1466,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1466
1466
|
(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;
|
|
1467
1467
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1468
1468
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1469
|
-
setNodeDragged: (
|
|
1469
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1470
1470
|
};
|
|
1471
1471
|
}, undefined>>,
|
|
1472
1472
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2159,7 +2159,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2159
2159
|
(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;
|
|
2160
2160
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2161
2161
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2162
|
-
setNodeDragged: (
|
|
2162
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2163
2163
|
};
|
|
2164
2164
|
}, undefined>>,
|
|
2165
2165
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2575,7 +2575,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2575
2575
|
(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;
|
|
2576
2576
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2577
2577
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2578
|
-
setNodeDragged: (
|
|
2578
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2579
2579
|
};
|
|
2580
2580
|
}, undefined>>,
|
|
2581
2581
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3377,7 +3377,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3377
3377
|
(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;
|
|
3378
3378
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3379
3379
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3380
|
-
setNodeDragged: (
|
|
3380
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3381
3381
|
};
|
|
3382
3382
|
}, undefined>>,
|
|
3383
3383
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3796,7 +3796,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3796
3796
|
(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;
|
|
3797
3797
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3798
3798
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3799
|
-
setNodeDragged: (
|
|
3799
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3800
3800
|
};
|
|
3801
3801
|
}, undefined>>,
|
|
3802
3802
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4498,7 +4498,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4498
4498
|
(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;
|
|
4499
4499
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4500
4500
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4501
|
-
setNodeDragged: (
|
|
4501
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4502
4502
|
};
|
|
4503
4503
|
}, undefined>>,
|
|
4504
4504
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5191,7 +5191,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5191
5191
|
(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;
|
|
5192
5192
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5193
5193
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5194
|
-
setNodeDragged: (
|
|
5194
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5195
5195
|
};
|
|
5196
5196
|
}, undefined>>,
|
|
5197
5197
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5607,7 +5607,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5607
5607
|
(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;
|
|
5608
5608
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5609
5609
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5610
|
-
setNodeDragged: (
|
|
5610
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5611
5611
|
};
|
|
5612
5612
|
}, undefined>>,
|
|
5613
5613
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -488,7 +488,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
488
488
|
(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;
|
|
489
489
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
490
490
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
491
|
-
setNodeDragged: (
|
|
491
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
492
492
|
};
|
|
493
493
|
}, undefined>>,
|
|
494
494
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -904,7 +904,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
904
904
|
(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;
|
|
905
905
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
906
906
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
907
|
-
setNodeDragged: (
|
|
907
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
908
908
|
};
|
|
909
909
|
}, undefined>>,
|
|
910
910
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2085,7 +2085,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2085
2085
|
(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;
|
|
2086
2086
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2087
2087
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2088
|
-
setNodeDragged: (
|
|
2088
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2089
2089
|
};
|
|
2090
2090
|
}, undefined>>,
|
|
2091
2091
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2517,7 +2517,86 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2517
2517
|
}, FeatureFlags>>
|
|
2518
2518
|
];
|
|
2519
2519
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2520
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2520
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2521
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
2522
|
+
pluginConfiguration: EmojiPluginOptions | undefined;
|
|
2523
|
+
dependencies: [
|
|
2524
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2525
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2526
|
+
sharedState: {
|
|
2527
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2528
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2529
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
2530
|
+
};
|
|
2531
|
+
dependencies: [
|
|
2532
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2533
|
+
pluginConfiguration: FeatureFlags;
|
|
2534
|
+
sharedState: FeatureFlags;
|
|
2535
|
+
}, FeatureFlags>>
|
|
2536
|
+
];
|
|
2537
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2538
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2539
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
2540
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
2541
|
+
dependencies: [
|
|
2542
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2543
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2544
|
+
sharedState: {
|
|
2545
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
2546
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
2547
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
2548
|
+
};
|
|
2549
|
+
dependencies: [
|
|
2550
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2551
|
+
pluginConfiguration: FeatureFlags;
|
|
2552
|
+
sharedState: FeatureFlags;
|
|
2553
|
+
}, FeatureFlags>>
|
|
2554
|
+
];
|
|
2555
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2556
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2557
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2558
|
+
pluginConfiguration: FeatureFlags;
|
|
2559
|
+
sharedState: FeatureFlags;
|
|
2560
|
+
}, FeatureFlags>>
|
|
2561
|
+
];
|
|
2562
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
2563
|
+
actions: {
|
|
2564
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2565
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
2566
|
+
insert: (props: {
|
|
2567
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2568
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
2569
|
+
query: string;
|
|
2570
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
2571
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2572
|
+
}) => boolean;
|
|
2573
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
2574
|
+
open: (props: {
|
|
2575
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2576
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
2577
|
+
query?: string | undefined;
|
|
2578
|
+
}) => boolean;
|
|
2579
|
+
close: (props: {
|
|
2580
|
+
insertCurrentQueryAsRawText: boolean;
|
|
2581
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
2582
|
+
}) => boolean;
|
|
2583
|
+
openAtTransaction: (props: {
|
|
2584
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
2585
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
2586
|
+
query?: string | undefined;
|
|
2587
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2588
|
+
};
|
|
2589
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>
|
|
2590
|
+
];
|
|
2591
|
+
sharedState: import("@atlaskit/editor-plugins/emoji").EmojiPluginSharedState | undefined;
|
|
2592
|
+
commands: {
|
|
2593
|
+
insertEmoji: (emojiId: import("@atlaskit/emoji").EmojiId, inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.ASCII | import("@atlaskit/editor-common/analytics").INPUT_METHOD.PICKER | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TYPEAHEAD | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2594
|
+
};
|
|
2595
|
+
actions: {
|
|
2596
|
+
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2597
|
+
setProvider: (provider: Promise<import("@atlaskit/emoji").EmojiProvider>) => Promise<boolean>;
|
|
2598
|
+
};
|
|
2599
|
+
}, EmojiPluginOptions | undefined>
|
|
2521
2600
|
];
|
|
2522
2601
|
actions: {
|
|
2523
2602
|
insertPanel: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
@@ -2880,7 +2959,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2880
2959
|
(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;
|
|
2881
2960
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2882
2961
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2883
|
-
setNodeDragged: (
|
|
2962
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2884
2963
|
};
|
|
2885
2964
|
}, undefined>>,
|
|
2886
2965
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -3918,7 +3997,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
3918
3997
|
(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;
|
|
3919
3998
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3920
3999
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3921
|
-
setNodeDragged: (
|
|
4000
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3922
4001
|
};
|
|
3923
4002
|
}, undefined>>,
|
|
3924
4003
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -4442,7 +4521,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4442
4521
|
(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;
|
|
4443
4522
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4444
4523
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4445
|
-
setNodeDragged: (
|
|
4524
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4446
4525
|
};
|
|
4447
4526
|
}, undefined>>,
|
|
4448
4527
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5338,7 +5417,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5338
5417
|
(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;
|
|
5339
5418
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5340
5419
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5341
|
-
setNodeDragged: (
|
|
5420
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5342
5421
|
};
|
|
5343
5422
|
}, undefined>>,
|
|
5344
5423
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -5757,7 +5836,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5757
5836
|
(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;
|
|
5758
5837
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5759
5838
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5760
|
-
setNodeDragged: (
|
|
5839
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5761
5840
|
};
|
|
5762
5841
|
}, undefined>>,
|
|
5763
5842
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -6459,7 +6538,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
6459
6538
|
(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;
|
|
6460
6539
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6461
6540
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6462
|
-
setNodeDragged: (
|
|
6541
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
6463
6542
|
};
|
|
6464
6543
|
}, undefined>>,
|
|
6465
6544
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -7152,7 +7231,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7152
7231
|
(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;
|
|
7153
7232
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7154
7233
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7155
|
-
setNodeDragged: (
|
|
7234
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7156
7235
|
};
|
|
7157
7236
|
}, undefined>>,
|
|
7158
7237
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -7568,7 +7647,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7568
7647
|
(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;
|
|
7569
7648
|
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7570
7649
|
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7571
|
-
setNodeDragged: (
|
|
7650
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
7572
7651
|
};
|
|
7573
7652
|
}, undefined>>,
|
|
7574
7653
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|