@atlaskit/editor-core 194.2.0 → 194.3.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 +22 -0
- package/dist/cjs/create-editor/ReactEditorView.js +1 -1
- package/dist/cjs/index.js +0 -19
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +2 -2
- package/dist/es2019/index.js +0 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +2 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +1 -2
- package/dist/types/create-editor/create-preset.d.ts +46 -13
- package/dist/types/index.d.ts +0 -1
- package/dist/types/presets/default.d.ts +10 -10
- package/dist/types/presets/universal.d.ts +46 -13
- package/dist/types/presets/useUniversalPreset.d.ts +46 -13
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +1 -2
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +51 -13
- package/dist/types-ts4.5/index.d.ts +0 -1
- package/dist/types-ts4.5/presets/default.d.ts +10 -10
- package/dist/types-ts4.5/presets/universal.d.ts +51 -13
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +51 -13
- package/package.json +12 -16
- package/report.api.md +0 -3
|
@@ -364,7 +364,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
364
364
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
365
365
|
commands: {
|
|
366
366
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
367
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
367
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
368
368
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
369
369
|
};
|
|
370
370
|
}, undefined>>,
|
|
@@ -619,7 +619,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
619
619
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
620
620
|
commands: {
|
|
621
621
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
622
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
622
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
623
623
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
624
624
|
};
|
|
625
625
|
}, undefined>>,
|
|
@@ -954,7 +954,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
954
954
|
}, FeatureFlags>>
|
|
955
955
|
];
|
|
956
956
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
957
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
957
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
958
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
959
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
960
|
+
commands: {
|
|
961
|
+
registerComponent: ({ name, component, }: {
|
|
962
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
963
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
964
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
965
|
+
};
|
|
966
|
+
}, undefined>>
|
|
958
967
|
];
|
|
959
968
|
actions: {
|
|
960
969
|
getToolbarButton: (params: import("@atlaskit/editor-plugins/find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
|
|
@@ -1042,7 +1051,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1042
1051
|
}) => boolean;
|
|
1043
1052
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1044
1053
|
};
|
|
1045
|
-
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions
|
|
1054
|
+
}, import("@atlaskit/editor-plugins/collab-edit").PrivateCollabEditOptions>>,
|
|
1055
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1056
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1057
|
+
commands: {
|
|
1058
|
+
registerComponent: ({ name, component, }: {
|
|
1059
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
1060
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1061
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1062
|
+
};
|
|
1063
|
+
}, undefined>>
|
|
1046
1064
|
];
|
|
1047
1065
|
actions: {
|
|
1048
1066
|
getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
|
|
@@ -1058,6 +1076,17 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1058
1076
|
pluginConfiguration: {
|
|
1059
1077
|
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents | undefined;
|
|
1060
1078
|
};
|
|
1079
|
+
dependencies: [
|
|
1080
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1081
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1082
|
+
commands: {
|
|
1083
|
+
registerComponent: ({ name, component, }: {
|
|
1084
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
1085
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1086
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1087
|
+
};
|
|
1088
|
+
}, undefined>>
|
|
1089
|
+
];
|
|
1061
1090
|
}, {
|
|
1062
1091
|
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugins/before-primary-toolbar").ReactComponents | undefined;
|
|
1063
1092
|
}> | undefined,
|
|
@@ -1234,7 +1263,16 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1234
1263
|
}, FeatureFlags>>
|
|
1235
1264
|
];
|
|
1236
1265
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1237
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1266
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1267
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"primaryToolbar", {
|
|
1268
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1269
|
+
commands: {
|
|
1270
|
+
registerComponent: ({ name, component, }: {
|
|
1271
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
1272
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1273
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1274
|
+
};
|
|
1275
|
+
}, undefined>>
|
|
1238
1276
|
];
|
|
1239
1277
|
}, {
|
|
1240
1278
|
showIndentationButtons: boolean;
|
|
@@ -1501,7 +1539,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1501
1539
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1502
1540
|
commands: {
|
|
1503
1541
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1504
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1542
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1505
1543
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1506
1544
|
};
|
|
1507
1545
|
}, undefined>>,
|
|
@@ -2125,7 +2163,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2125
2163
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2126
2164
|
commands: {
|
|
2127
2165
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2128
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2166
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2129
2167
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2130
2168
|
};
|
|
2131
2169
|
}, undefined>>,
|
|
@@ -2956,7 +2994,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2956
2994
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2957
2995
|
commands: {
|
|
2958
2996
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2959
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2997
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2960
2998
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2961
2999
|
};
|
|
2962
3000
|
}, undefined>>,
|
|
@@ -3676,7 +3714,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3676
3714
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3677
3715
|
commands: {
|
|
3678
3716
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3679
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3717
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3680
3718
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3681
3719
|
};
|
|
3682
3720
|
}, undefined>>,
|
|
@@ -3934,7 +3972,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3934
3972
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3935
3973
|
commands: {
|
|
3936
3974
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3937
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3975
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3938
3976
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3939
3977
|
};
|
|
3940
3978
|
}, undefined>>,
|
|
@@ -4466,7 +4504,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4466
4504
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4467
4505
|
commands: {
|
|
4468
4506
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4469
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4507
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4470
4508
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4471
4509
|
};
|
|
4472
4510
|
}, undefined>>,
|
|
@@ -4971,7 +5009,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4971
5009
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4972
5010
|
commands: {
|
|
4973
5011
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4974
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5012
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4975
5013
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4976
5014
|
};
|
|
4977
5015
|
}, undefined>>,
|
|
@@ -5226,7 +5264,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5226
5264
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5227
5265
|
commands: {
|
|
5228
5266
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5229
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5267
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5230
5268
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5231
5269
|
};
|
|
5232
5270
|
}, undefined>>,
|
|
@@ -350,7 +350,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
350
350
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
351
351
|
commands: {
|
|
352
352
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
353
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
353
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
354
354
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
355
355
|
};
|
|
356
356
|
}, undefined>>,
|
|
@@ -605,7 +605,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
605
605
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
606
606
|
commands: {
|
|
607
607
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
608
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
608
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
609
609
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
610
610
|
};
|
|
611
611
|
}, undefined>>,
|
|
@@ -940,7 +940,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
940
940
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
941
941
|
];
|
|
942
942
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
943
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
943
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
944
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
945
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
946
|
+
commands: {
|
|
947
|
+
registerComponent: ({ name, component, }: {
|
|
948
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
949
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
950
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
951
|
+
};
|
|
952
|
+
}, undefined>>
|
|
944
953
|
];
|
|
945
954
|
actions: {
|
|
946
955
|
getToolbarButton: (params: import("@atlaskit/editor-plugin-find-replace").FindReplaceToolbarButtonActionProps) => import("react").ReactNode;
|
|
@@ -1028,7 +1037,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1028
1037
|
}) => boolean;
|
|
1029
1038
|
isRemoteReplaceDocumentTransaction: (tr: import("prosemirror-state").Transaction) => boolean;
|
|
1030
1039
|
};
|
|
1031
|
-
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions
|
|
1040
|
+
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>,
|
|
1041
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
1042
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1043
|
+
commands: {
|
|
1044
|
+
registerComponent: ({ name, component, }: {
|
|
1045
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
1046
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1047
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1048
|
+
};
|
|
1049
|
+
}, undefined>>
|
|
1032
1050
|
];
|
|
1033
1051
|
actions: {
|
|
1034
1052
|
getToolbarItem: ({ editorView, inviteToEditHandler, isInviteToEditButtonSelected, inviteToEditComponent, }: {
|
|
@@ -1044,6 +1062,17 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1044
1062
|
pluginConfiguration: {
|
|
1045
1063
|
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
|
|
1046
1064
|
};
|
|
1065
|
+
dependencies: [
|
|
1066
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
1067
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1068
|
+
commands: {
|
|
1069
|
+
registerComponent: ({ name, component, }: {
|
|
1070
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
1071
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1072
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1073
|
+
};
|
|
1074
|
+
}, undefined>>
|
|
1075
|
+
];
|
|
1047
1076
|
}, {
|
|
1048
1077
|
beforePrimaryToolbarComponents?: import("@atlaskit/editor-plugin-before-primary-toolbar").ReactComponents | undefined;
|
|
1049
1078
|
}> | undefined,
|
|
@@ -1220,7 +1249,16 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1220
1249
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1221
1250
|
];
|
|
1222
1251
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1223
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1252
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1253
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"primaryToolbar", {
|
|
1254
|
+
sharedState: import("@atlaskit/editor-plugin-primary-toolbar").PrimaryToolbarPluginState | undefined;
|
|
1255
|
+
commands: {
|
|
1256
|
+
registerComponent: ({ name, component, }: {
|
|
1257
|
+
name: import("@atlaskit/editor-plugin-primary-toolbar").ToolbarElementNames;
|
|
1258
|
+
component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
|
|
1259
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1260
|
+
};
|
|
1261
|
+
}, undefined>>
|
|
1224
1262
|
];
|
|
1225
1263
|
}, {
|
|
1226
1264
|
showIndentationButtons: boolean;
|
|
@@ -1487,7 +1525,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1487
1525
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
1488
1526
|
commands: {
|
|
1489
1527
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1490
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1528
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1491
1529
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1492
1530
|
};
|
|
1493
1531
|
}, undefined>>,
|
|
@@ -2111,7 +2149,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2111
2149
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2112
2150
|
commands: {
|
|
2113
2151
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2114
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2152
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2115
2153
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2116
2154
|
};
|
|
2117
2155
|
}, undefined>>,
|
|
@@ -2942,7 +2980,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2942
2980
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
2943
2981
|
commands: {
|
|
2944
2982
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2945
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2983
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2946
2984
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2947
2985
|
};
|
|
2948
2986
|
}, undefined>>,
|
|
@@ -3662,7 +3700,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3662
3700
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3663
3701
|
commands: {
|
|
3664
3702
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3665
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3703
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3666
3704
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3667
3705
|
};
|
|
3668
3706
|
}, undefined>>,
|
|
@@ -3920,7 +3958,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3920
3958
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
3921
3959
|
commands: {
|
|
3922
3960
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3923
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3961
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3924
3962
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3925
3963
|
};
|
|
3926
3964
|
}, undefined>>,
|
|
@@ -4452,7 +4490,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4452
4490
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4453
4491
|
commands: {
|
|
4454
4492
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4455
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4493
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4456
4494
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4457
4495
|
};
|
|
4458
4496
|
}, undefined>>,
|
|
@@ -4957,7 +4995,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4957
4995
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
4958
4996
|
commands: {
|
|
4959
4997
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4960
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4998
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4961
4999
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4962
5000
|
};
|
|
4963
5001
|
}, undefined>>,
|
|
@@ -5212,7 +5250,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5212
5250
|
sharedState: import("@atlaskit/editor-plugin-block-controls").BlockControlsSharedState;
|
|
5213
5251
|
commands: {
|
|
5214
5252
|
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5215
|
-
showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5253
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugin-block-controls").HandleOptions) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5216
5254
|
setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5217
5255
|
};
|
|
5218
5256
|
}, undefined>>,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "194.
|
|
3
|
+
"version": "194.3.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^18.4.0",
|
|
48
|
-
"@atlaskit/editor-common": "^
|
|
48
|
+
"@atlaskit/editor-common": "^86.0.0",
|
|
49
49
|
"@atlaskit/editor-plugins": "^3.4.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/spinner": "^16.2.0",
|
|
58
58
|
"@atlaskit/task-decision": "^17.10.0",
|
|
59
59
|
"@atlaskit/theme": "^12.11.0",
|
|
60
|
-
"@atlaskit/tokens": "^1.
|
|
60
|
+
"@atlaskit/tokens": "^1.55.0",
|
|
61
61
|
"@atlaskit/tooltip": "^18.5.0",
|
|
62
62
|
"@atlaskit/width-detector": "^4.2.0",
|
|
63
63
|
"@babel/runtime": "^7.0.0",
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@af/editor-examples-helpers": "0.0.
|
|
83
|
+
"@af/editor-examples-helpers": "0.0.17",
|
|
84
84
|
"@af/editor-libra": "*",
|
|
85
85
|
"@af/visual-regression": "*",
|
|
86
86
|
"@atlaskit/adf-utils": "^19.4.0",
|
|
87
87
|
"@atlaskit/analytics-listeners": "^8.10.0",
|
|
88
|
-
"@atlaskit/collab-provider": "9.33.
|
|
88
|
+
"@atlaskit/collab-provider": "9.33.2",
|
|
89
89
|
"@atlaskit/editor-json-transformer": "^8.15.0",
|
|
90
|
-
"@atlaskit/editor-plugin-annotation": "1.
|
|
91
|
-
"@atlaskit/editor-plugin-card": "^2.
|
|
90
|
+
"@atlaskit/editor-plugin-annotation": "1.15.1",
|
|
91
|
+
"@atlaskit/editor-plugin-card": "^2.6.0",
|
|
92
92
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.0.0",
|
|
93
93
|
"@atlaskit/editor-plugin-list": "^3.5.0",
|
|
94
94
|
"@atlaskit/editor-plugin-paste": "^1.5.0",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
108
108
|
"@atlaskit/visual-regression": "*",
|
|
109
109
|
"@atlassian/adf-schema-json": "^1.16.0",
|
|
110
|
-
"@atlassian/search-provider": "2.4.
|
|
110
|
+
"@atlassian/search-provider": "2.4.95",
|
|
111
111
|
"@emotion/jest": "^11.8.0",
|
|
112
112
|
"@storybook/addon-knobs": "^5.3.18",
|
|
113
113
|
"@testing-library/react": "^12.1.5",
|
|
@@ -213,10 +213,6 @@
|
|
|
213
213
|
"type": "boolean",
|
|
214
214
|
"referenceOnly": "true"
|
|
215
215
|
},
|
|
216
|
-
"platform.editor.text-alignment-keyboard-shortcuts": {
|
|
217
|
-
"type": "boolean",
|
|
218
|
-
"referenceOnly": "true"
|
|
219
|
-
},
|
|
220
216
|
"platform.editor.table.use-shared-state-hook": {
|
|
221
217
|
"type": "boolean",
|
|
222
218
|
"referenceOnly": true
|
|
@@ -314,10 +310,6 @@
|
|
|
314
310
|
"type": "boolean",
|
|
315
311
|
"referenceOnly": "true"
|
|
316
312
|
},
|
|
317
|
-
"platform.editor.linking-preferences-url-atlassian-context": {
|
|
318
|
-
"type": "boolean",
|
|
319
|
-
"referenceOnly": true
|
|
320
|
-
},
|
|
321
313
|
"platform_editor_get_card_provider_from_config": {
|
|
322
314
|
"type": "boolean",
|
|
323
315
|
"referenceOnly": true
|
|
@@ -329,6 +321,10 @@
|
|
|
329
321
|
"platform_editor_element_drag_and_drop_ed_23842": {
|
|
330
322
|
"type": "boolean",
|
|
331
323
|
"referenceOnly": true
|
|
324
|
+
},
|
|
325
|
+
"react_18_tasks_and_decisions_concurrent_mode": {
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"referenceOnly": true
|
|
332
328
|
}
|
|
333
329
|
},
|
|
334
330
|
"stricter": {
|
package/report.api.md
CHANGED
|
@@ -67,9 +67,6 @@ import type { PanelPluginConfig } from '@atlaskit/editor-plugin-panel';
|
|
|
67
67
|
import { PerformanceTracking } from '@atlaskit/editor-common/types';
|
|
68
68
|
import type { PlaceholderTextOptions } from '@atlaskit/editor-plugin-placeholder-text';
|
|
69
69
|
import type { PluginConfig } from '@atlaskit/editor-plugin-table/types';
|
|
70
|
-
import { PortalProvider } from '@atlaskit/editor-common/portal-provider';
|
|
71
|
-
import { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
72
|
-
import { PortalRenderer } from '@atlaskit/editor-common/portal-provider';
|
|
73
70
|
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
74
71
|
import { PresenceProvider } from '@atlaskit/mention/resource';
|
|
75
72
|
import PropTypes from 'prop-types';
|