@atlaskit/editor-core 205.4.0 → 205.5.0
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 +26 -0
- package/dist/cjs/composable-editor/core-editor.js +2 -1
- package/dist/cjs/composable-editor/editor-inp-metrics.js +71 -0
- package/dist/cjs/ui/ContentStyles/index.js +1 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +2 -1
- package/dist/es2019/composable-editor/editor-inp-metrics.js +61 -0
- package/dist/es2019/ui/ContentStyles/index.js +1 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +2 -1
- package/dist/esm/composable-editor/editor-inp-metrics.js +64 -0
- package/dist/esm/ui/ContentStyles/index.js +1 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor-inp-metrics.d.ts +1 -0
- package/dist/types/create-editor/create-universal-preset.d.ts +192 -7
- package/dist/types/presets/universal.d.ts +192 -7
- package/dist/types/presets/useUniversalPreset.d.ts +192 -7
- package/dist/types/ui/ContentStyles/index.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/editor-inp-metrics.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +220 -7
- package/dist/types-ts4.5/presets/universal.d.ts +220 -7
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +220 -7
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +1 -1
- package/package.json +25 -14
|
@@ -659,7 +659,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
659
659
|
sharedState: {
|
|
660
660
|
contents: import("react").ReactNode[] | undefined;
|
|
661
661
|
} | undefined;
|
|
662
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
662
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
663
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
664
|
+
dependencies: [
|
|
665
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
666
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
667
|
+
sharedState: {
|
|
668
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
669
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
670
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
671
|
+
};
|
|
672
|
+
dependencies: [
|
|
673
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
674
|
+
pluginConfiguration: FeatureFlags;
|
|
675
|
+
sharedState: FeatureFlags;
|
|
676
|
+
}, FeatureFlags>>
|
|
677
|
+
];
|
|
678
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
679
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
680
|
+
];
|
|
681
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
682
|
+
commands: {
|
|
683
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
684
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
685
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
686
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
687
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
688
|
+
shouldStartTimer?: boolean | undefined;
|
|
689
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
690
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
691
|
+
};
|
|
692
|
+
}, undefined>>
|
|
663
693
|
];
|
|
664
694
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
665
695
|
actions: {
|
|
@@ -725,7 +755,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
725
755
|
sharedState: {
|
|
726
756
|
contents: import("react").ReactNode[] | undefined;
|
|
727
757
|
} | undefined;
|
|
728
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
758
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
759
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
760
|
+
dependencies: [
|
|
761
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
762
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
763
|
+
sharedState: {
|
|
764
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
765
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
766
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
767
|
+
};
|
|
768
|
+
dependencies: [
|
|
769
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
770
|
+
pluginConfiguration: FeatureFlags;
|
|
771
|
+
sharedState: FeatureFlags;
|
|
772
|
+
}, FeatureFlags>>
|
|
773
|
+
];
|
|
774
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
775
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
776
|
+
];
|
|
777
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
778
|
+
commands: {
|
|
779
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
780
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
781
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
782
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
783
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
784
|
+
shouldStartTimer?: boolean | undefined;
|
|
785
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
786
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
787
|
+
};
|
|
788
|
+
}, undefined>>
|
|
729
789
|
];
|
|
730
790
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
731
791
|
actions: {
|
|
@@ -752,6 +812,36 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
752
812
|
commands: {
|
|
753
813
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
754
814
|
};
|
|
815
|
+
}, undefined>>,
|
|
816
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
817
|
+
dependencies: [
|
|
818
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
819
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
820
|
+
sharedState: {
|
|
821
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
822
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
823
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
824
|
+
};
|
|
825
|
+
dependencies: [
|
|
826
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
827
|
+
pluginConfiguration: FeatureFlags;
|
|
828
|
+
sharedState: FeatureFlags;
|
|
829
|
+
}, FeatureFlags>>
|
|
830
|
+
];
|
|
831
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
832
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
833
|
+
];
|
|
834
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
835
|
+
commands: {
|
|
836
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
837
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
838
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
839
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
840
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
841
|
+
shouldStartTimer?: boolean | undefined;
|
|
842
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
843
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
844
|
+
};
|
|
755
845
|
}, undefined>>
|
|
756
846
|
];
|
|
757
847
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
@@ -858,12 +948,33 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
858
948
|
}, FeatureFlags>>
|
|
859
949
|
];
|
|
860
950
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
861
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions
|
|
951
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
952
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
953
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
954
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
955
|
+
commands: {
|
|
956
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
957
|
+
moveToEnd?: boolean | undefined;
|
|
958
|
+
selectMovedNode?: boolean | undefined;
|
|
959
|
+
moveNodeAtCursorPos?: boolean | undefined;
|
|
960
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
961
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
962
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
963
|
+
toggleBlockMenu: (options?: {
|
|
964
|
+
closeMenu?: boolean | undefined;
|
|
965
|
+
anchorName?: string | undefined;
|
|
966
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
967
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
968
|
+
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
969
|
+
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
970
|
+
};
|
|
971
|
+
}, undefined>>
|
|
862
972
|
];
|
|
863
973
|
actions?: {
|
|
864
974
|
suppressToolbar?: (() => boolean) | undefined;
|
|
865
975
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
866
976
|
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
977
|
+
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
867
978
|
} | undefined;
|
|
868
979
|
}, import("packages/editor/editor-plugin-selection-toolbar/dist/types").SelectionToolbarPluginOptions>>
|
|
869
980
|
];
|
|
@@ -929,12 +1040,33 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
929
1040
|
}, FeatureFlags>>
|
|
930
1041
|
];
|
|
931
1042
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
932
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions
|
|
1043
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1044
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1045
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
1046
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1047
|
+
commands: {
|
|
1048
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
1049
|
+
moveToEnd?: boolean | undefined;
|
|
1050
|
+
selectMovedNode?: boolean | undefined;
|
|
1051
|
+
moveNodeAtCursorPos?: boolean | undefined;
|
|
1052
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1053
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1054
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1055
|
+
toggleBlockMenu: (options?: {
|
|
1056
|
+
closeMenu?: boolean | undefined;
|
|
1057
|
+
anchorName?: string | undefined;
|
|
1058
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1059
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1060
|
+
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1061
|
+
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1062
|
+
};
|
|
1063
|
+
}, undefined>>
|
|
933
1064
|
];
|
|
934
1065
|
actions?: {
|
|
935
1066
|
suppressToolbar?: (() => boolean) | undefined;
|
|
936
1067
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
937
1068
|
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1069
|
+
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
938
1070
|
} | undefined;
|
|
939
1071
|
}, import("packages/editor/editor-plugin-selection-toolbar/dist/types").SelectionToolbarPluginOptions>,
|
|
940
1072
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
|
|
@@ -1006,12 +1138,33 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1006
1138
|
}, FeatureFlags>>
|
|
1007
1139
|
];
|
|
1008
1140
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1009
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions
|
|
1141
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1142
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1143
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
1144
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1145
|
+
commands: {
|
|
1146
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
1147
|
+
moveToEnd?: boolean | undefined;
|
|
1148
|
+
selectMovedNode?: boolean | undefined;
|
|
1149
|
+
moveNodeAtCursorPos?: boolean | undefined;
|
|
1150
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1151
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1152
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1153
|
+
toggleBlockMenu: (options?: {
|
|
1154
|
+
closeMenu?: boolean | undefined;
|
|
1155
|
+
anchorName?: string | undefined;
|
|
1156
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1157
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1158
|
+
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1159
|
+
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1160
|
+
};
|
|
1161
|
+
}, undefined>>
|
|
1010
1162
|
];
|
|
1011
1163
|
actions?: {
|
|
1012
1164
|
suppressToolbar?: (() => boolean) | undefined;
|
|
1013
1165
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
1014
1166
|
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1167
|
+
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
1015
1168
|
} | undefined;
|
|
1016
1169
|
}, import("packages/editor/editor-plugin-selection-toolbar/dist/types").SelectionToolbarPluginOptions>>
|
|
1017
1170
|
];
|
|
@@ -1066,7 +1219,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1066
1219
|
sharedState: {
|
|
1067
1220
|
contents: import("react").ReactNode[] | undefined;
|
|
1068
1221
|
} | undefined;
|
|
1069
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1222
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1223
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1224
|
+
dependencies: [
|
|
1225
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1226
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1227
|
+
sharedState: {
|
|
1228
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1229
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1230
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1231
|
+
};
|
|
1232
|
+
dependencies: [
|
|
1233
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1234
|
+
pluginConfiguration: FeatureFlags;
|
|
1235
|
+
sharedState: FeatureFlags;
|
|
1236
|
+
}, FeatureFlags>>
|
|
1237
|
+
];
|
|
1238
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1239
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1240
|
+
];
|
|
1241
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1242
|
+
commands: {
|
|
1243
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1244
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1245
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1246
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1247
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1248
|
+
shouldStartTimer?: boolean | undefined;
|
|
1249
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1250
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1251
|
+
};
|
|
1252
|
+
}, undefined>>
|
|
1070
1253
|
];
|
|
1071
1254
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1072
1255
|
actions: {
|
|
@@ -1165,7 +1348,37 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1165
1348
|
sharedState: {
|
|
1166
1349
|
contents: import("react").ReactNode[] | undefined;
|
|
1167
1350
|
} | undefined;
|
|
1168
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1351
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1352
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1353
|
+
dependencies: [
|
|
1354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1355
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1356
|
+
sharedState: {
|
|
1357
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1358
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1359
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1360
|
+
};
|
|
1361
|
+
dependencies: [
|
|
1362
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1363
|
+
pluginConfiguration: FeatureFlags;
|
|
1364
|
+
sharedState: FeatureFlags;
|
|
1365
|
+
}, FeatureFlags>>
|
|
1366
|
+
];
|
|
1367
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1368
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1369
|
+
];
|
|
1370
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1371
|
+
commands: {
|
|
1372
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1373
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1374
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1375
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1376
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1377
|
+
shouldStartTimer?: boolean | undefined;
|
|
1378
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1379
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1380
|
+
};
|
|
1381
|
+
}, undefined>>
|
|
1169
1382
|
];
|
|
1170
1383
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1171
1384
|
actions: {
|
|
@@ -607,7 +607,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
607
607
|
sharedState: {
|
|
608
608
|
contents: import("react").ReactNode[] | undefined;
|
|
609
609
|
} | undefined;
|
|
610
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
610
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
611
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
612
|
+
dependencies: [
|
|
613
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
614
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
615
|
+
sharedState: {
|
|
616
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
617
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
618
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
619
|
+
};
|
|
620
|
+
dependencies: [
|
|
621
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
622
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
623
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
624
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
625
|
+
];
|
|
626
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
627
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
628
|
+
];
|
|
629
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
630
|
+
commands: {
|
|
631
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
632
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
633
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
634
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
635
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
636
|
+
shouldStartTimer?: boolean | undefined;
|
|
637
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
638
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
639
|
+
};
|
|
640
|
+
}, undefined>>
|
|
611
641
|
];
|
|
612
642
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
613
643
|
actions: {
|
|
@@ -673,7 +703,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
673
703
|
sharedState: {
|
|
674
704
|
contents: import("react").ReactNode[] | undefined;
|
|
675
705
|
} | undefined;
|
|
676
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
706
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
707
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
708
|
+
dependencies: [
|
|
709
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
710
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
711
|
+
sharedState: {
|
|
712
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
713
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
714
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
715
|
+
};
|
|
716
|
+
dependencies: [
|
|
717
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
718
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
719
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
720
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
721
|
+
];
|
|
722
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
723
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
724
|
+
];
|
|
725
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
726
|
+
commands: {
|
|
727
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
728
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
729
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
730
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
731
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
732
|
+
shouldStartTimer?: boolean | undefined;
|
|
733
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
734
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
735
|
+
};
|
|
736
|
+
}, undefined>>
|
|
677
737
|
];
|
|
678
738
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
679
739
|
actions: {
|
|
@@ -700,6 +760,36 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
700
760
|
commands: {
|
|
701
761
|
setMode: (mode: import("@atlaskit/editor-plugins/connectivity").Mode | null) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
702
762
|
};
|
|
763
|
+
}, undefined>>,
|
|
764
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
765
|
+
dependencies: [
|
|
766
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
767
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
768
|
+
sharedState: {
|
|
769
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
770
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
771
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
772
|
+
};
|
|
773
|
+
dependencies: [
|
|
774
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
775
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
776
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
777
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
778
|
+
];
|
|
779
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
780
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
781
|
+
];
|
|
782
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
783
|
+
commands: {
|
|
784
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
785
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
786
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
787
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
788
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
789
|
+
shouldStartTimer?: boolean | undefined;
|
|
790
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
791
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
792
|
+
};
|
|
703
793
|
}, undefined>>
|
|
704
794
|
];
|
|
705
795
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
@@ -806,12 +896,33 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
806
896
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
807
897
|
];
|
|
808
898
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
809
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions
|
|
899
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
900
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
901
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
902
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
903
|
+
commands: {
|
|
904
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
905
|
+
moveToEnd?: boolean | undefined;
|
|
906
|
+
selectMovedNode?: boolean | undefined;
|
|
907
|
+
moveNodeAtCursorPos?: boolean | undefined;
|
|
908
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
909
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
910
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
911
|
+
toggleBlockMenu: (options?: {
|
|
912
|
+
closeMenu?: boolean | undefined;
|
|
913
|
+
anchorName?: string | undefined;
|
|
914
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
915
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
916
|
+
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
917
|
+
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
918
|
+
};
|
|
919
|
+
}, undefined>>
|
|
810
920
|
];
|
|
811
921
|
actions?: {
|
|
812
922
|
suppressToolbar?: (() => boolean) | undefined;
|
|
813
923
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
814
924
|
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
925
|
+
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
815
926
|
} | undefined;
|
|
816
927
|
}, import("packages/editor/editor-plugin-selection-toolbar/dist/types").SelectionToolbarPluginOptions>>
|
|
817
928
|
];
|
|
@@ -877,12 +988,33 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
877
988
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
878
989
|
];
|
|
879
990
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
880
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions
|
|
991
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
992
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
993
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
994
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
995
|
+
commands: {
|
|
996
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
997
|
+
moveToEnd?: boolean | undefined;
|
|
998
|
+
selectMovedNode?: boolean | undefined;
|
|
999
|
+
moveNodeAtCursorPos?: boolean | undefined;
|
|
1000
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1001
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1002
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1003
|
+
toggleBlockMenu: (options?: {
|
|
1004
|
+
closeMenu?: boolean | undefined;
|
|
1005
|
+
anchorName?: string | undefined;
|
|
1006
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1007
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1008
|
+
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1009
|
+
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1010
|
+
};
|
|
1011
|
+
}, undefined>>
|
|
881
1012
|
];
|
|
882
1013
|
actions?: {
|
|
883
1014
|
suppressToolbar?: (() => boolean) | undefined;
|
|
884
1015
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
885
1016
|
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1017
|
+
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
886
1018
|
} | undefined;
|
|
887
1019
|
}, import("packages/editor/editor-plugin-selection-toolbar/dist/types").SelectionToolbarPluginOptions>,
|
|
888
1020
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
|
|
@@ -954,12 +1086,33 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
954
1086
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
955
1087
|
];
|
|
956
1088
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
957
|
-
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions
|
|
1089
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>,
|
|
1090
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1091
|
+
dependencies: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").BlockControlsPluginDependencies;
|
|
1092
|
+
sharedState: import("@atlaskit/editor-plugins/block-controls").BlockControlsSharedState;
|
|
1093
|
+
commands: {
|
|
1094
|
+
moveToLayout: (start: number, to: number, options?: {
|
|
1095
|
+
moveToEnd?: boolean | undefined;
|
|
1096
|
+
selectMovedNode?: boolean | undefined;
|
|
1097
|
+
moveNodeAtCursorPos?: boolean | undefined;
|
|
1098
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1099
|
+
moveNode: import("packages/editor/editor-plugin-block-controls/dist/types/blockControlsPluginType").MoveNode;
|
|
1100
|
+
showDragHandleAt: (pos: number, anchorName: string, nodeType: string, handleOptions?: import("@atlaskit/editor-plugins/block-controls").HandleOptions, rootPos?: number | undefined, rootAnchorName?: string | undefined, rootNodeType?: string | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1101
|
+
toggleBlockMenu: (options?: {
|
|
1102
|
+
closeMenu?: boolean | undefined;
|
|
1103
|
+
anchorName?: string | undefined;
|
|
1104
|
+
} | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1105
|
+
setNodeDragged: (getPos: () => number | undefined, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1106
|
+
setMultiSelectPositions: (anchor?: number | undefined, head?: number | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1107
|
+
setSelectedViaDragHandle: (isSelectedViaDragHandle?: boolean | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1108
|
+
};
|
|
1109
|
+
}, undefined>>
|
|
958
1110
|
];
|
|
959
1111
|
actions?: {
|
|
960
1112
|
suppressToolbar?: (() => boolean) | undefined;
|
|
961
1113
|
unsuppressToolbar?: (() => boolean) | undefined;
|
|
962
1114
|
setToolbarDocking?: ((toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking) => boolean) | undefined;
|
|
1115
|
+
refreshToolbarDocking?: (() => boolean) | undefined;
|
|
963
1116
|
} | undefined;
|
|
964
1117
|
}, import("packages/editor/editor-plugin-selection-toolbar/dist/types").SelectionToolbarPluginOptions>>
|
|
965
1118
|
];
|
|
@@ -1014,7 +1167,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1014
1167
|
sharedState: {
|
|
1015
1168
|
contents: import("react").ReactNode[] | undefined;
|
|
1016
1169
|
} | undefined;
|
|
1017
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1170
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1171
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1172
|
+
dependencies: [
|
|
1173
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1174
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1175
|
+
sharedState: {
|
|
1176
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1177
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1178
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1179
|
+
};
|
|
1180
|
+
dependencies: [
|
|
1181
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1182
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1183
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1184
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1185
|
+
];
|
|
1186
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1187
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1188
|
+
];
|
|
1189
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1190
|
+
commands: {
|
|
1191
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1192
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1193
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1194
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1195
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1196
|
+
shouldStartTimer?: boolean | undefined;
|
|
1197
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1198
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1199
|
+
};
|
|
1200
|
+
}, undefined>>
|
|
1018
1201
|
];
|
|
1019
1202
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1020
1203
|
actions: {
|
|
@@ -1113,7 +1296,37 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1113
1296
|
sharedState: {
|
|
1114
1297
|
contents: import("react").ReactNode[] | undefined;
|
|
1115
1298
|
} | undefined;
|
|
1116
|
-
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined
|
|
1299
|
+
}, import("@atlaskit/editor-plugins/context-panel").ContextPanelPluginOptions | undefined>>,
|
|
1300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"metrics", {
|
|
1301
|
+
dependencies: [
|
|
1302
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1303
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1304
|
+
sharedState: {
|
|
1305
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1306
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1307
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1308
|
+
};
|
|
1309
|
+
dependencies: [
|
|
1310
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1311
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1312
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1313
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1314
|
+
];
|
|
1315
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1316
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1317
|
+
];
|
|
1318
|
+
sharedState: import("@atlaskit/editor-plugins/metrics").MetricsState;
|
|
1319
|
+
commands: {
|
|
1320
|
+
setContentMoved: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1321
|
+
startActiveSessionTimer: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1322
|
+
stopActiveSession: () => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1323
|
+
handleIntentToStartEdit: ({ newSelection, shouldStartTimer, shouldPersistActiveSession, }: {
|
|
1324
|
+
newSelection?: import("prosemirror-state").Selection | undefined;
|
|
1325
|
+
shouldStartTimer?: boolean | undefined;
|
|
1326
|
+
shouldPersistActiveSession?: boolean | undefined;
|
|
1327
|
+
}) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1328
|
+
};
|
|
1329
|
+
}, undefined>>
|
|
1117
1330
|
];
|
|
1118
1331
|
sharedState: import("@atlaskit/editor-plugins/type-ahead").TypeAheadPluginSharedState;
|
|
1119
1332
|
actions: {
|
|
@@ -19,7 +19,7 @@ export declare const placeholderStyles: SerializedStyles;
|
|
|
19
19
|
/**
|
|
20
20
|
* fix layout issue of first block node
|
|
21
21
|
*/
|
|
22
|
-
export declare const fixBlockControlStylesSSR: () => SerializedStyles
|
|
22
|
+
export declare const fixBlockControlStylesSSR: () => SerializedStyles;
|
|
23
23
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
24
24
|
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
declare const _default: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|