@atlaskit/editor-core 198.7.0 → 199.0.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 +24 -0
- package/dist/cjs/composable-editor/core-editor.js +3 -14
- package/dist/cjs/composable-editor/hooks/useMeasureEditorMountTime.js +2 -10
- package/dist/cjs/composable-editor/utils/sendDurationAnalytics.js +3 -13
- package/dist/cjs/create-editor/ErrorBoundary.js +3 -27
- package/dist/cjs/create-editor/ReactEditorView.js +1 -59
- package/dist/cjs/create-editor/create-plugins-list.js +1 -2
- package/dist/cjs/create-editor/feature-flags-from-props.js +2 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +3 -14
- package/dist/es2019/composable-editor/hooks/useMeasureEditorMountTime.js +2 -10
- package/dist/es2019/composable-editor/utils/sendDurationAnalytics.js +1 -11
- package/dist/es2019/create-editor/ErrorBoundary.js +1 -26
- package/dist/es2019/create-editor/ReactEditorView.js +2 -60
- package/dist/es2019/create-editor/create-plugins-list.js +1 -2
- package/dist/es2019/create-editor/feature-flags-from-props.js +2 -3
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +3 -14
- package/dist/esm/composable-editor/hooks/useMeasureEditorMountTime.js +2 -10
- package/dist/esm/composable-editor/utils/sendDurationAnalytics.js +3 -13
- package/dist/esm/create-editor/ErrorBoundary.js +3 -27
- package/dist/esm/create-editor/ReactEditorView.js +2 -60
- package/dist/esm/create-editor/create-plugins-list.js +1 -2
- package/dist/esm/create-editor/feature-flags-from-props.js +2 -3
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useMeasureEditorMountTime.d.ts +1 -3
- package/dist/types/composable-editor/utils/sendDurationAnalytics.d.ts +1 -3
- package/dist/types/create-editor/ErrorBoundary.d.ts +0 -3
- package/dist/types/create-editor/ReactEditorView.d.ts +0 -3
- package/dist/types/presets/default.d.ts +20 -20
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +2 -2
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +1 -3
- package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +1 -3
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -3
- package/dist/types-ts4.5/presets/default.d.ts +20 -20
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +2 -2
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +17 -9
|
@@ -8,7 +8,6 @@ import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/
|
|
|
8
8
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
9
9
|
import type { PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
10
10
|
import type { PublicPluginAPI, Transformer } from '@atlaskit/editor-common/types';
|
|
11
|
-
import { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
12
11
|
import { type SEVERITY } from '@atlaskit/editor-common/utils/analytics';
|
|
13
12
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
14
13
|
import { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -26,7 +25,6 @@ export interface EditorViewProps {
|
|
|
26
25
|
providerFactory: ProviderFactory;
|
|
27
26
|
portalProviderAPI: PortalProviderAPI;
|
|
28
27
|
disabled?: boolean;
|
|
29
|
-
experienceStore?: ExperienceStore;
|
|
30
28
|
editorAPI: PublicPluginAPI<any> | undefined;
|
|
31
29
|
setEditorAPI?: (editorApi: PublicPluginAPI<any>) => void;
|
|
32
30
|
render?: (props: {
|
|
@@ -68,7 +66,6 @@ export declare class ReactEditorView<T = {}> extends React.Component<EditorViewP
|
|
|
68
66
|
errorReporter: ErrorReporter;
|
|
69
67
|
dispatch: Dispatch;
|
|
70
68
|
proseMirrorRenderedSeverity?: SEVERITY;
|
|
71
|
-
experienceStore?: ExperienceStore;
|
|
72
69
|
editorRef: React.RefObject<HTMLDivElement>;
|
|
73
70
|
private canDispatchTransactions;
|
|
74
71
|
private focusTimeoutId?;
|
|
@@ -78,13 +78,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
78
78
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
79
79
|
};
|
|
80
80
|
}, CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
81
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
81
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
82
82
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
83
83
|
commands: {
|
|
84
84
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
85
85
|
};
|
|
86
86
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
87
|
-
}, import("@atlaskit/editor-
|
|
87
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
88
88
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
89
89
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
90
90
|
actions: {
|
|
@@ -706,13 +706,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
706
706
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
707
707
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
708
708
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
709
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
709
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
710
710
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
711
711
|
commands: {
|
|
712
712
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
713
713
|
};
|
|
714
714
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
715
|
-
}, import("@atlaskit/editor-
|
|
715
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
716
716
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
717
717
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
718
718
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1300,13 +1300,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1300
1300
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1301
1301
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1302
1302
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1303
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1303
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
1304
1304
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1305
1305
|
commands: {
|
|
1306
1306
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1307
1307
|
};
|
|
1308
1308
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1309
|
-
}, import("@atlaskit/editor-
|
|
1309
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
|
|
1310
1310
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1311
1311
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1312
1312
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -1880,13 +1880,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1880
1880
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1881
1881
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1882
1882
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1883
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1883
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
1884
1884
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1885
1885
|
commands: {
|
|
1886
1886
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1887
1887
|
};
|
|
1888
1888
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1889
|
-
}, import("@atlaskit/editor-
|
|
1889
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
|
|
1890
1890
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1891
1891
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
1892
1892
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2235,13 +2235,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2235
2235
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
2236
2236
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
2237
2237
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2238
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2238
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
2239
2239
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2240
2240
|
commands: {
|
|
2241
2241
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2242
2242
|
};
|
|
2243
2243
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2244
|
-
}, import("@atlaskit/editor-
|
|
2244
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2245
2245
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2246
2246
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2247
2247
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2619,13 +2619,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2619
2619
|
insertCodeBlock: (inputMethod: import("@atlaskit/editor-common/analytics").INPUT_METHOD) => import("@atlaskit/editor-common/types").Command;
|
|
2620
2620
|
};
|
|
2621
2621
|
}, CodeBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2622
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2622
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
2623
2623
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2624
2624
|
commands: {
|
|
2625
2625
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2626
2626
|
};
|
|
2627
2627
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2628
|
-
}, import("@atlaskit/editor-
|
|
2628
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2629
2629
|
dependencies: [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
2630
2630
|
sharedState: import("@atlaskit/editor-plugins/decorations").DecorationState;
|
|
2631
2631
|
actions: {
|
|
@@ -3247,13 +3247,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3247
3247
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3248
3248
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
3249
3249
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3250
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3250
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
3251
3251
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
3252
3252
|
commands: {
|
|
3253
3253
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3254
3254
|
};
|
|
3255
3255
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3256
|
-
}, import("@atlaskit/editor-
|
|
3256
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3257
3257
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3258
3258
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3259
3259
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3841,13 +3841,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3841
3841
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3842
3842
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
3843
3843
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3844
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3844
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
3845
3845
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
3846
3846
|
commands: {
|
|
3847
3847
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3848
3848
|
};
|
|
3849
3849
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3850
|
-
}, import("@atlaskit/editor-
|
|
3850
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
|
|
3851
3851
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
3852
3852
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
3853
3853
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
@@ -4421,13 +4421,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4421
4421
|
}, undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4422
4422
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4423
4423
|
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4424
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4424
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
4425
4425
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
4426
4426
|
commands: {
|
|
4427
4427
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4428
4428
|
};
|
|
4429
4429
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4430
|
-
}, import("@atlaskit/editor-
|
|
4430
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>];
|
|
4431
4431
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
4432
4432
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
4433
4433
|
}, import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -4776,13 +4776,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4776
4776
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
4777
4777
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
4778
4778
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4779
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4779
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
4780
4780
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
4781
4781
|
commands: {
|
|
4782
4782
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4783
4783
|
};
|
|
4784
4784
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4785
|
-
}, import("@atlaskit/editor-
|
|
4785
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4786
4786
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4787
4787
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4788
4788
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -6,13 +6,13 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
6
6
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
7
7
|
viewMode?: "view" | "edit" | undefined;
|
|
8
8
|
typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed" | undefined;
|
|
9
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "list" | "width" | "open" | "accessKey" | "dir" | "value" | "className" | "role" | "
|
|
9
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "list" | "width" | "open" | "accessKey" | "dir" | "value" | "className" | "role" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
colorMode?: "light" | "dark" | undefined;
|
|
12
12
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
13
13
|
viewMode?: "view" | "edit" | undefined;
|
|
14
14
|
typographyTheme?: "typography" | "typography-adg3" | "typography-modernized" | "typography-refreshed" | undefined;
|
|
15
|
-
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
} | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export declare const contentArea: () => import("@emotion/react").SerializedStyles;
|
|
17
17
|
export declare const contentAreaContainerTypeInlineSize: () => import("@emotion/react").SerializedStyles;
|
|
18
18
|
export declare const contentAreaHeightNoToolbar: import("@emotion/react").SerializedStyles;
|
|
@@ -20,6 +20,6 @@ export declare const placeholderStyles: SerializedStyles;
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const fixBlockControlStylesSSR: () => SerializedStyles | null;
|
|
22
22
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
23
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "list" | "width" | "open" | "accessKey" | "dir" | "value" | "className" | "role" | "
|
|
24
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "list" | "width" | "open" | "accessKey" | "dir" | "value" | "className" | "role" | "
|
|
23
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "list" | "width" | "open" | "accessKey" | "dir" | "value" | "className" | "role" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "id" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "children" | "key" | "property" | "type" | "content" | "disabled" | "defaultValue" | "onChange" | "placeholder" | "media" | "name" | "list" | "width" | "open" | "accessKey" | "dir" | "value" | "className" | "role" | "action" | "step" | "wrap" | "color" | "height" | "translate" | "default" | "hidden" | keyof ContentStylesProps | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "mediaGroup" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "target" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
25
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
|
-
import type { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
3
2
|
import type { EditorNextProps, EditorProps } from '../../types/editor-props';
|
|
4
3
|
/**
|
|
5
4
|
*
|
|
@@ -7,7 +6,6 @@ import type { EditorNextProps, EditorProps } from '../../types/editor-props';
|
|
|
7
6
|
* WARNING: Consider any changes to also make to `src/editor.tsx`
|
|
8
7
|
*
|
|
9
8
|
* @param props EditorProps
|
|
10
|
-
* @param getExperienceStore function to retrieve the Editor's current ExperienceStore
|
|
11
9
|
* @param createAnalyticsEvent
|
|
12
10
|
*/
|
|
13
|
-
export default function useMeasureEditorMountTime(props: EditorProps | EditorNextProps,
|
|
11
|
+
export default function useMeasureEditorMountTime(props: EditorProps | EditorNextProps, createAnalyticsEvent: CreateUIAnalyticsEvent): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
2
|
import type { ACTION } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import type { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
4
3
|
import type { EditorProps } from '../../types/editor-props';
|
|
5
4
|
/**
|
|
6
5
|
*
|
|
@@ -8,8 +7,7 @@ import type { EditorProps } from '../../types/editor-props';
|
|
|
8
7
|
*
|
|
9
8
|
* @param action
|
|
10
9
|
* @param props
|
|
11
|
-
* @param getExperienceStore return the ExperienceStore of the Editor
|
|
12
10
|
* @param getCreateAnalyticsEvent return the CreateUIAnalyticsEvent of the Editor
|
|
13
11
|
* @returns
|
|
14
12
|
*/
|
|
15
|
-
export default function sendDurationAnalytics(action: ACTION.EDITOR_MOUNTED | ACTION.ON_EDITOR_READY_CALLBACK, props: Pick<EditorProps, 'contextIdentifierProvider' | 'featureFlags'>,
|
|
13
|
+
export default function sendDurationAnalytics(action: ACTION.EDITOR_MOUNTED | ACTION.ON_EDITOR_READY_CALLBACK, props: Pick<EditorProps, 'contextIdentifierProvider' | 'featureFlags'>, createAnalyticsEvent: CreateUIAnalyticsEvent | undefined): (duration: number, startTime: number) => Promise<void>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { type ErrorInfo } from 'react';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
3
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
5
4
|
import type { UserBrowserExtensionResults } from '@atlaskit/editor-common/utils';
|
|
6
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
6
|
import type { FeatureFlags } from '../types/feature-flags';
|
|
@@ -20,7 +19,6 @@ export type ErrorBoundaryState = {
|
|
|
20
19
|
export declare class ErrorBoundaryWithEditorView extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
21
20
|
featureFlags: FeatureFlags;
|
|
22
21
|
browserExtensions?: UserBrowserExtensionResults;
|
|
23
|
-
experienceStore?: ExperienceStore;
|
|
24
22
|
static defaultProps: {
|
|
25
23
|
rethrow: boolean;
|
|
26
24
|
errorTracking: boolean;
|
|
@@ -32,7 +30,6 @@ export declare class ErrorBoundaryWithEditorView extends React.Component<ErrorBo
|
|
|
32
30
|
private sendErrorData;
|
|
33
31
|
private getProductName;
|
|
34
32
|
private fireAnalyticsEvent;
|
|
35
|
-
private getExperienceMetadata;
|
|
36
33
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
37
34
|
render(): JSX.Element;
|
|
38
35
|
}
|
|
@@ -8,7 +8,6 @@ import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/
|
|
|
8
8
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
9
9
|
import type { PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
10
10
|
import type { PublicPluginAPI, Transformer } from '@atlaskit/editor-common/types';
|
|
11
|
-
import { ExperienceStore } from '@atlaskit/editor-common/ufo';
|
|
12
11
|
import { type SEVERITY } from '@atlaskit/editor-common/utils/analytics';
|
|
13
12
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
14
13
|
import { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -26,7 +25,6 @@ export interface EditorViewProps {
|
|
|
26
25
|
providerFactory: ProviderFactory;
|
|
27
26
|
portalProviderAPI: PortalProviderAPI;
|
|
28
27
|
disabled?: boolean;
|
|
29
|
-
experienceStore?: ExperienceStore;
|
|
30
28
|
editorAPI: PublicPluginAPI<any> | undefined;
|
|
31
29
|
setEditorAPI?: (editorApi: PublicPluginAPI<any>) => void;
|
|
32
30
|
render?: (props: {
|
|
@@ -68,7 +66,6 @@ export declare class ReactEditorView<T = {}> extends React.Component<EditorViewP
|
|
|
68
66
|
errorReporter: ErrorReporter;
|
|
69
67
|
dispatch: Dispatch;
|
|
70
68
|
proseMirrorRenderedSeverity?: SEVERITY;
|
|
71
|
-
experienceStore?: ExperienceStore;
|
|
72
69
|
editorRef: React.RefObject<HTMLDivElement>;
|
|
73
70
|
private canDispatchTransactions;
|
|
74
71
|
private focusTimeoutId?;
|
|
@@ -118,13 +118,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
118
118
|
};
|
|
119
119
|
}, CodeBlockOptions | undefined>,
|
|
120
120
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
121
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
121
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
122
122
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
123
123
|
commands: {
|
|
124
124
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
125
125
|
};
|
|
126
126
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
127
|
-
}, import("@atlaskit/editor-
|
|
127
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
128
128
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
129
129
|
dependencies: [
|
|
130
130
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -874,13 +874,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
874
874
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
875
875
|
}, undefined>,
|
|
876
876
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
877
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
877
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
878
878
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
879
879
|
commands: {
|
|
880
880
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
881
881
|
};
|
|
882
882
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
883
|
-
}, import("@atlaskit/editor-
|
|
883
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
884
884
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
885
885
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
886
886
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
@@ -1586,13 +1586,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1586
1586
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
1587
1587
|
}, undefined>>,
|
|
1588
1588
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1589
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1589
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
1590
1590
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
1591
1591
|
commands: {
|
|
1592
1592
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1593
1593
|
};
|
|
1594
1594
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1595
|
-
}, import("@atlaskit/editor-
|
|
1595
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>
|
|
1596
1596
|
];
|
|
1597
1597
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
1598
1598
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -2283,13 +2283,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2283
2283
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
2284
2284
|
}, undefined>>,
|
|
2285
2285
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2286
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2286
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
2287
2287
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2288
2288
|
commands: {
|
|
2289
2289
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2290
2290
|
};
|
|
2291
2291
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2292
|
-
}, import("@atlaskit/editor-
|
|
2292
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>
|
|
2293
2293
|
];
|
|
2294
2294
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
2295
2295
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -2712,13 +2712,13 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
2712
2712
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
2713
2713
|
}, undefined>,
|
|
2714
2714
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2715
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2715
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
2716
2716
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
2717
2717
|
commands: {
|
|
2718
2718
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2719
2719
|
};
|
|
2720
2720
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2721
|
-
}, import("@atlaskit/editor-
|
|
2721
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
2722
2722
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2723
2723
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2724
2724
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
@@ -3203,13 +3203,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3203
3203
|
};
|
|
3204
3204
|
}, CodeBlockOptions | undefined>,
|
|
3205
3205
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3206
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3206
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
3207
3207
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
3208
3208
|
commands: {
|
|
3209
3209
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3210
3210
|
};
|
|
3211
3211
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3212
|
-
}, import("@atlaskit/editor-
|
|
3212
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
3213
3213
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
3214
3214
|
dependencies: [
|
|
3215
3215
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"decorations", {
|
|
@@ -3959,13 +3959,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3959
3959
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
3960
3960
|
}, undefined>,
|
|
3961
3961
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3962
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3962
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
3963
3963
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
3964
3964
|
commands: {
|
|
3965
3965
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3966
3966
|
};
|
|
3967
3967
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3968
|
-
}, import("@atlaskit/editor-
|
|
3968
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
3969
3969
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3970
3970
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3971
3971
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
@@ -4671,13 +4671,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4671
4671
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
4672
4672
|
}, undefined>>,
|
|
4673
4673
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
4674
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
4674
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
4675
4675
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
4676
4676
|
commands: {
|
|
4677
4677
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4678
4678
|
};
|
|
4679
4679
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4680
|
-
}, import("@atlaskit/editor-
|
|
4680
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>
|
|
4681
4681
|
];
|
|
4682
4682
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
4683
4683
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -5368,13 +5368,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5368
5368
|
sharedState: import("@atlaskit/editor-plugins/editor-disabled").EditorDisabledPluginState;
|
|
5369
5369
|
}, undefined>>,
|
|
5370
5370
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
5371
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5371
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
5372
5372
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
5373
5373
|
commands: {
|
|
5374
5374
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5375
5375
|
};
|
|
5376
5376
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5377
|
-
}, import("@atlaskit/editor-
|
|
5377
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>>
|
|
5378
5378
|
];
|
|
5379
5379
|
sharedState: import("@atlaskit/editor-plugin-card").CardPluginState | null;
|
|
5380
5380
|
actions: import("@atlaskit/editor-common/card").CardPluginActions;
|
|
@@ -5797,13 +5797,13 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
5797
5797
|
sharedState: import("@atlaskit/editor-plugins/focus").FocusState;
|
|
5798
5798
|
}, undefined>,
|
|
5799
5799
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
5800
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
5800
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined;
|
|
5801
5801
|
actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
|
|
5802
5802
|
commands: {
|
|
5803
5803
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5804
5804
|
};
|
|
5805
5805
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
5806
|
-
}, import("@atlaskit/editor-
|
|
5806
|
+
}, import("@atlaskit/editor-plugins/selection").SelectionPluginOptions | undefined>,
|
|
5807
5807
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
5808
5808
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
5809
5809
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|