@atlaskit/editor-core 191.6.0 → 191.6.1
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 +11 -0
- package/afm-cc/tsconfig.json +1 -211
- package/dist/cjs/composable-editor/editor.js +2 -2
- package/dist/cjs/labs-next.js +1 -1
- package/dist/cjs/presets/default.js +32 -32
- package/dist/cjs/presets/universal.js +70 -70
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +5 -5
- package/dist/cjs/ui/ContentStyles/layout.js +2 -2
- package/dist/cjs/ui/WithHelpTrigger/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor.js +1 -1
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/labs-next.js +1 -1
- package/dist/es2019/presets/default.js +28 -28
- package/dist/es2019/presets/universal.js +45 -45
- package/dist/es2019/test-utils.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/es2019/ui/ContentStyles/expand.js +2 -2
- package/dist/es2019/ui/ContentStyles/index.js +5 -5
- package/dist/es2019/ui/ContentStyles/layout.js +2 -2
- package/dist/es2019/ui/WithHelpTrigger/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/labs-next.js +1 -1
- package/dist/esm/presets/default.js +28 -28
- package/dist/esm/presets/universal.js +45 -45
- package/dist/esm/test-utils.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/esm/ui/ContentStyles/expand.js +2 -2
- package/dist/esm/ui/ContentStyles/index.js +5 -5
- package/dist/esm/ui/ContentStyles/layout.js +2 -2
- package/dist/esm/ui/WithHelpTrigger/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types/create-editor/create-preset.d.ts +80 -40
- package/dist/types/index.d.ts +4 -4
- package/dist/types/labs-next.d.ts +1 -1
- package/dist/types/presets/default.d.ts +770 -730
- package/dist/types/presets/universal.d.ts +278 -239
- package/dist/types/presets/useUniversalPreset.d.ts +80 -40
- package/dist/types/types/editor-props.d.ts +12 -12
- package/dist/types/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types/utils/action.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +84 -40
- package/dist/types-ts4.5/index.d.ts +4 -4
- package/dist/types-ts4.5/labs-next.d.ts +1 -1
- package/dist/types-ts4.5/presets/default.d.ts +774 -730
- package/dist/types-ts4.5/presets/universal.d.ts +282 -239
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +84 -40
- package/dist/types-ts4.5/types/editor-props.d.ts +12 -12
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/action.d.ts +2 -2
- package/docs/0-intro.tsx +5 -5
- package/package.json +16 -149
- package/tsconfig.json +193 -166
- package/dist/cjs/presets/types.js +0 -5
- package/dist/es2019/presets/types.js +0 -1
- package/dist/esm/presets/types.js +0 -1
- package/dist/types/presets/types.d.ts +0 -6
- package/dist/types-ts4.5/presets/types.d.ts +0 -6
|
@@ -403,7 +403,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
403
403
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
404
404
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
405
405
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
406
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
406
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
407
407
|
dependencies: [
|
|
408
408
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
409
409
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -582,19 +582,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
582
582
|
};
|
|
583
583
|
}, undefined>,
|
|
584
584
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
585
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
585
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
586
586
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
587
587
|
commands: {
|
|
588
588
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
589
589
|
};
|
|
590
590
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
591
|
-
}, import("@atlaskit/editor-
|
|
591
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
592
592
|
];
|
|
593
|
-
sharedState: import("@atlaskit/editor-
|
|
593
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
594
594
|
actions: {
|
|
595
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
595
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
596
596
|
};
|
|
597
|
-
}, import("@atlaskit/editor-
|
|
597
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
598
598
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
599
599
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
600
600
|
dependencies: [
|
|
@@ -662,7 +662,18 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
662
662
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
663
663
|
];
|
|
664
664
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
665
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
665
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
666
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
667
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
668
|
+
pluginConfiguration?: {
|
|
669
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
670
|
+
} | undefined;
|
|
671
|
+
commands: {
|
|
672
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
673
|
+
};
|
|
674
|
+
}, {
|
|
675
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
676
|
+
} | undefined>>
|
|
666
677
|
];
|
|
667
678
|
actions: {
|
|
668
679
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -1354,7 +1365,18 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1354
1365
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1355
1366
|
];
|
|
1356
1367
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1357
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1368
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
1369
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
1370
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
1371
|
+
pluginConfiguration?: {
|
|
1372
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1373
|
+
} | undefined;
|
|
1374
|
+
commands: {
|
|
1375
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1376
|
+
};
|
|
1377
|
+
}, {
|
|
1378
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1379
|
+
} | undefined>>
|
|
1358
1380
|
];
|
|
1359
1381
|
actions: {
|
|
1360
1382
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -1480,7 +1502,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1480
1502
|
};
|
|
1481
1503
|
}, import("@atlaskit/editor-plugin-collab-edit").PrivateCollabEditOptions>>,
|
|
1482
1504
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
1483
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1505
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
1484
1506
|
dependencies: [
|
|
1485
1507
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1486
1508
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -1659,19 +1681,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1659
1681
|
};
|
|
1660
1682
|
}, undefined>,
|
|
1661
1683
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1662
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1684
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1663
1685
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
1664
1686
|
commands: {
|
|
1665
1687
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1666
1688
|
};
|
|
1667
1689
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1668
|
-
}, import("@atlaskit/editor-
|
|
1690
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
1669
1691
|
];
|
|
1670
|
-
sharedState: import("@atlaskit/editor-
|
|
1692
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1671
1693
|
actions: {
|
|
1672
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
1694
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
1673
1695
|
};
|
|
1674
|
-
}, import("@atlaskit/editor-
|
|
1696
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
1675
1697
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"imageUpload", {
|
|
1676
1698
|
actions: {
|
|
1677
1699
|
startUpload: () => import("@atlaskit/editor-common/types").Command;
|
|
@@ -1922,13 +1944,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1922
1944
|
};
|
|
1923
1945
|
}, undefined>,
|
|
1924
1946
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
1925
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
1947
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
1926
1948
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
1927
1949
|
commands: {
|
|
1928
1950
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1929
1951
|
};
|
|
1930
1952
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1931
|
-
}, import("@atlaskit/editor-
|
|
1953
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
1932
1954
|
];
|
|
1933
1955
|
}, import("@atlaskit/editor-plugin-table").TablePluginOptions | undefined>>,
|
|
1934
1956
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"emoji", {
|
|
@@ -2096,7 +2118,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2096
2118
|
];
|
|
2097
2119
|
}, undefined>>,
|
|
2098
2120
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2099
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2121
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2100
2122
|
dependencies: [
|
|
2101
2123
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2102
2124
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2275,19 +2297,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2275
2297
|
};
|
|
2276
2298
|
}, undefined>,
|
|
2277
2299
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2278
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2300
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2279
2301
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2280
2302
|
commands: {
|
|
2281
2303
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2282
2304
|
};
|
|
2283
2305
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2284
|
-
}, import("@atlaskit/editor-
|
|
2306
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
2285
2307
|
];
|
|
2286
|
-
sharedState: import("@atlaskit/editor-
|
|
2308
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2287
2309
|
actions: {
|
|
2288
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
2310
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2289
2311
|
};
|
|
2290
|
-
}, import("@atlaskit/editor-
|
|
2312
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
2291
2313
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2292
2314
|
pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
|
|
2293
2315
|
dependencies: [
|
|
@@ -2326,13 +2348,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2326
2348
|
};
|
|
2327
2349
|
}, undefined>,
|
|
2328
2350
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2329
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2351
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2330
2352
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2331
2353
|
commands: {
|
|
2332
2354
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2333
2355
|
};
|
|
2334
2356
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2335
|
-
}, import("@atlaskit/editor-
|
|
2357
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2336
2358
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
2337
2359
|
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
2338
2360
|
sharedState: {
|
|
@@ -2505,13 +2527,13 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2505
2527
|
};
|
|
2506
2528
|
}, import("@atlaskit/editor-plugin-code-block").CodeBlockOptions>,
|
|
2507
2529
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2508
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2530
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2509
2531
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2510
2532
|
commands: {
|
|
2511
2533
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2512
2534
|
};
|
|
2513
2535
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2514
|
-
}, import("@atlaskit/editor-
|
|
2536
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2515
2537
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"floatingToolbar", {
|
|
2516
2538
|
dependencies: [
|
|
2517
2539
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
@@ -2650,7 +2672,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2650
2672
|
pluginConfiguration: import("@atlaskit/editor-plugin-submit-editor").SubmitEditorPluginOptions | undefined;
|
|
2651
2673
|
dependencies: [
|
|
2652
2674
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
2653
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2675
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
2654
2676
|
dependencies: [
|
|
2655
2677
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2656
2678
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -2829,19 +2851,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2829
2851
|
};
|
|
2830
2852
|
}, undefined>,
|
|
2831
2853
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
2832
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
2854
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
2833
2855
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
2834
2856
|
commands: {
|
|
2835
2857
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2836
2858
|
};
|
|
2837
2859
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2838
|
-
}, import("@atlaskit/editor-
|
|
2860
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
2839
2861
|
];
|
|
2840
|
-
sharedState: import("@atlaskit/editor-
|
|
2862
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2841
2863
|
actions: {
|
|
2842
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
2864
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
2843
2865
|
};
|
|
2844
|
-
}, import("@atlaskit/editor-
|
|
2866
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>
|
|
2845
2867
|
];
|
|
2846
2868
|
}, import("@atlaskit/editor-plugin-submit-editor").SubmitEditorPluginOptions | undefined>,
|
|
2847
2869
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
@@ -3070,7 +3092,18 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3070
3092
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3071
3093
|
];
|
|
3072
3094
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3073
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3095
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3096
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3097
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3098
|
+
pluginConfiguration?: {
|
|
3099
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3100
|
+
} | undefined;
|
|
3101
|
+
commands: {
|
|
3102
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3103
|
+
};
|
|
3104
|
+
}, {
|
|
3105
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3106
|
+
} | undefined>>
|
|
3074
3107
|
];
|
|
3075
3108
|
actions: {
|
|
3076
3109
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -3491,7 +3524,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3491
3524
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3492
3525
|
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3493
3526
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"media", {
|
|
3494
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3527
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined;
|
|
3495
3528
|
dependencies: [
|
|
3496
3529
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3497
3530
|
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
@@ -3670,19 +3703,19 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3670
3703
|
};
|
|
3671
3704
|
}, undefined>,
|
|
3672
3705
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
|
|
3673
|
-
pluginConfiguration: import("@atlaskit/editor-
|
|
3706
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined;
|
|
3674
3707
|
actions: import("@atlaskit/editor-plugin-selection").EditorSelectionAPI;
|
|
3675
3708
|
commands: {
|
|
3676
3709
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3677
3710
|
};
|
|
3678
3711
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3679
|
-
}, import("@atlaskit/editor-
|
|
3712
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>
|
|
3680
3713
|
];
|
|
3681
|
-
sharedState: import("@atlaskit/editor-
|
|
3714
|
+
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3682
3715
|
actions: {
|
|
3683
|
-
insertMediaAsMediaSingle: import("@atlaskit/editor-
|
|
3716
|
+
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
3684
3717
|
};
|
|
3685
|
-
}, import("@atlaskit/editor-
|
|
3718
|
+
}, import("@atlaskit/editor-plugins/media/types").MediaOptions | undefined>>,
|
|
3686
3719
|
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
3687
3720
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
3688
3721
|
dependencies: [
|
|
@@ -3750,7 +3783,18 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3750
3783
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3751
3784
|
];
|
|
3752
3785
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3753
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3786
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3787
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
|
|
3788
|
+
sharedState: import("@atlaskit/editor-plugin-editor-viewmode").EditorViewModePluginState | null;
|
|
3789
|
+
pluginConfiguration?: {
|
|
3790
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3791
|
+
} | undefined;
|
|
3792
|
+
commands: {
|
|
3793
|
+
updateViewMode: (mode: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3794
|
+
};
|
|
3795
|
+
}, {
|
|
3796
|
+
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3797
|
+
} | undefined>>
|
|
3754
3798
|
];
|
|
3755
3799
|
actions: {
|
|
3756
3800
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
@@ -23,9 +23,9 @@ export type { UpdateEvent } from '@atlaskit/editor-common/annotation';
|
|
|
23
23
|
* @deprecated
|
|
24
24
|
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
25
25
|
* This is here while we work to extract the annotation plugin.
|
|
26
|
-
* Please use the export from `@atlaskit/editor-
|
|
26
|
+
* Please use the export from `@atlaskit/editor-plugins/annotation`.
|
|
27
27
|
*/
|
|
28
|
-
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, } from '@atlaskit/editor-
|
|
28
|
+
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, } from '@atlaskit/editor-plugins/annotation';
|
|
29
29
|
export type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
30
30
|
export { INPUT_METHOD, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
31
31
|
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
@@ -45,9 +45,9 @@ export type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
|
45
45
|
* @deprecated
|
|
46
46
|
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
47
47
|
* This is here while we work to extract the media plugin.
|
|
48
|
-
* Please use the export from `@atlaskit/editor-
|
|
48
|
+
* Please use the export from `@atlaskit/editor-plugins/media/types`.
|
|
49
49
|
*/
|
|
50
|
-
export type { MediaOptions } from '@atlaskit/editor-
|
|
50
|
+
export type { MediaOptions } from '@atlaskit/editor-plugins/media/types';
|
|
51
51
|
export type {
|
|
52
52
|
/**
|
|
53
53
|
* @deprecated Use QuickInsertItem from @atlaskit/editor-common/provider-factory instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createDefaultPreset } from '
|
|
1
|
+
export { createDefaultPreset } from '../src/presets/default';
|