@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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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-plugin-type-ahead").TypeAheadHandler;
|
|
2517
|
+
contentItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem;
|
|
2518
|
+
query: string;
|
|
2519
|
+
sourceListItem: import("@atlaskit/editor-common/provider-factory").TypeAheadItem[];
|
|
2520
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
2521
|
+
}) => boolean;
|
|
2522
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
|
|
2523
|
+
open: (props: {
|
|
2524
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").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-plugin-type-ahead").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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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 default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
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", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "197.7.
|
|
3
|
+
"version": "197.7.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.1.0",
|
|
46
|
-
"@atlaskit/editor-common": "^89.
|
|
46
|
+
"@atlaskit/editor-common": "^89.2.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.18.0",
|
|
48
|
-
"@atlaskit/editor-plugins": "^
|
|
48
|
+
"@atlaskit/editor-plugins": "^5.1.0",
|
|
49
49
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
50
50
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
51
51
|
"@atlaskit/emoji": "^67.7.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
56
56
|
"@atlaskit/task-decision": "^17.10.0",
|
|
57
57
|
"@atlaskit/tmp-editor-statsig": "*",
|
|
58
|
-
"@atlaskit/tokens": "^1.
|
|
58
|
+
"@atlaskit/tokens": "^1.60.0",
|
|
59
59
|
"@atlaskit/tooltip": "^18.7.0",
|
|
60
60
|
"@atlaskit/width-detector": "^4.3.0",
|
|
61
61
|
"@babel/runtime": "^7.0.0",
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
"uuid": "^3.1.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/link-provider": "^1.
|
|
74
|
+
"@atlaskit/link-provider": "^1.16.0",
|
|
75
75
|
"@atlaskit/media-core": "^34.3.0",
|
|
76
76
|
"react": "^16.8.0 || ^17.0.0 || ~18.2.0",
|
|
77
77
|
"react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0",
|
|
78
78
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@af/editor-examples-helpers": "0.3.
|
|
81
|
+
"@af/editor-examples-helpers": "0.3.10",
|
|
82
82
|
"@af/editor-libra": "*",
|
|
83
83
|
"@af/visual-regression": "*",
|
|
84
84
|
"@atlaskit/adf-utils": "^19.8.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@atlaskit/editor-plugin-list": "^3.8.0",
|
|
91
91
|
"@atlaskit/editor-plugin-paste": "^1.12.0",
|
|
92
92
|
"@atlaskit/editor-test-helpers": "*",
|
|
93
|
-
"@atlaskit/link-provider": "^1.
|
|
93
|
+
"@atlaskit/link-provider": "^1.16.0",
|
|
94
94
|
"@atlaskit/logo": "^14.2.0",
|
|
95
95
|
"@atlaskit/media-core": "^34.3.0",
|
|
96
96
|
"@atlaskit/media-integration-test-helpers": "^3.1.0",
|
|
@@ -203,9 +203,6 @@
|
|
|
203
203
|
"type": "boolean",
|
|
204
204
|
"referenceOnly": "true"
|
|
205
205
|
},
|
|
206
|
-
"platform_editor_insert_media_plugin_phase_one": {
|
|
207
|
-
"type": "boolean"
|
|
208
|
-
},
|
|
209
206
|
"platform.editor.card.inject-settings-button": {
|
|
210
207
|
"type": "boolean",
|
|
211
208
|
"referenceOnly": "true"
|