@atlaskit/editor-core 193.24.0 → 193.24.15
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/.eslintrc.js +37 -37
- package/CHANGELOG.md +17424 -17539
- package/architecture/0001-record-architecture-decisions.md +6 -3
- package/architecture/0002-deep-equality-check-for-getsharedstate.md +9 -8
- package/architecture/0003-explicit-plugin-dependencies.md +47 -18
- package/codemods/140.0.0-rc-kraken-fix-type-errors.ts +1 -3
- package/codemods/145.0.0-deprecate-props.ts +1 -3
- package/codemods/172.0.0-transform-smartlinks-prop.ts +1 -3
- package/codemods/175.0.0-rename-unsafe-allowUndoRedoButton-prop.ts +1 -1
- package/codemods/180.1.0-update-to-editor-migration-component.ts +1 -3
- package/codemods/__tests__/next-remove-allow-more-text-colors-prop.ts +29 -31
- package/codemods/__tests__/remove-config-panel-width-prop.ts +29 -31
- package/codemods/__tests__/rename-editor-to-editor-migration-component.ts +43 -45
- package/codemods/__tests__/rename-smartlinks-prop.ts +57 -59
- package/codemods/__tests__/rename-unsafe-allowUndoRedoButtons-prop.ts +43 -43
- package/codemods/__tests__/rename-unsafe-cards-prop.ts +43 -45
- package/codemods/migrates/next-remove-allow-more-text-colors-prop.ts +41 -45
- package/codemods/migrates/remove-config-panel-width-prop.ts +20 -29
- package/codemods/migrates/rename-editor-to-editor-migration-component.ts +20 -24
- package/codemods/migrates/rename-smartlinks-prop.ts +30 -38
- package/codemods/migrates/rename-unsafe-allowUndoRedoButtons-prop.ts +4 -5
- package/codemods/migrates/rename-unsafe-cards-prop.ts +1 -4
- package/codemods/utils.ts +62 -72
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +3 -3
- package/dist/cjs/ui/AppearanceComponents/Mobile.js +5 -5
- package/dist/cjs/ui/ContentStyles/ai-panels.js +1 -1
- package/dist/cjs/ui/ContentStyles/code-block.js +2 -2
- package/dist/cjs/ui/ContentStyles/date.js +1 -1
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/ui/ContentStyles/extension.js +2 -2
- package/dist/cjs/ui/ContentStyles/index.js +6 -6
- package/dist/cjs/ui/ContentStyles/layout.js +1 -1
- package/dist/cjs/ui/ContentStyles/media.js +1 -1
- package/dist/cjs/ui/ContentStyles/panel.js +1 -1
- package/dist/cjs/ui/ContentStyles/status.js +1 -1
- package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/cjs/utils/extensions.js +5 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +40 -40
- package/dist/es2019/ui/AppearanceComponents/Mobile.js +5 -5
- package/dist/es2019/ui/ContentStyles/ai-panels.js +80 -80
- package/dist/es2019/ui/ContentStyles/code-block.js +58 -58
- package/dist/es2019/ui/ContentStyles/date.js +19 -19
- package/dist/es2019/ui/ContentStyles/expand.js +98 -98
- package/dist/es2019/ui/ContentStyles/extension.js +154 -159
- package/dist/es2019/ui/ContentStyles/index.js +139 -144
- package/dist/es2019/ui/ContentStyles/layout.js +125 -125
- package/dist/es2019/ui/ContentStyles/media.js +179 -178
- package/dist/es2019/ui/ContentStyles/panel.js +29 -30
- package/dist/es2019/ui/ContentStyles/status.js +30 -32
- package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +18 -19
- package/dist/es2019/utils/extensions.js +5 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +3 -3
- package/dist/esm/ui/AppearanceComponents/Mobile.js +5 -5
- package/dist/esm/ui/ContentStyles/ai-panels.js +1 -1
- package/dist/esm/ui/ContentStyles/code-block.js +2 -2
- package/dist/esm/ui/ContentStyles/date.js +1 -1
- package/dist/esm/ui/ContentStyles/expand.js +1 -1
- package/dist/esm/ui/ContentStyles/extension.js +2 -2
- package/dist/esm/ui/ContentStyles/index.js +6 -6
- package/dist/esm/ui/ContentStyles/layout.js +1 -1
- package/dist/esm/ui/ContentStyles/media.js +1 -1
- package/dist/esm/ui/ContentStyles/panel.js +1 -1
- package/dist/esm/ui/ContentStyles/status.js +1 -1
- package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/esm/utils/extensions.js +5 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/editor.d.ts +1 -1
- package/dist/types/composable-editor/hooks/useProviders.d.ts +1 -1
- package/dist/types/create-editor/create-preset.d.ts +137 -11
- package/dist/types/create-editor/sort-by-order.d.ts +1 -1
- package/dist/types/event-dispatcher/index.d.ts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/presets/default.d.ts +122 -10
- package/dist/types/presets/universal.d.ts +137 -11
- package/dist/types/presets/useUniversalPreset.d.ts +137 -11
- package/dist/types/test-utils.d.ts +1 -1
- package/dist/types/types/browser.d.ts +1 -1
- package/dist/types/types/editor-plugin.d.ts +1 -1
- package/dist/types/types/empty-state-handler.d.ts +1 -1
- package/dist/types/types/feature-flags.d.ts +1 -1
- package/dist/types/types/index.d.ts +3 -3
- package/dist/types/types/pm-config.d.ts +1 -1
- package/dist/types/types/ui-components.d.ts +1 -1
- package/dist/types/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
- package/dist/types/ui/Toolbar/types.d.ts +1 -1
- package/dist/types/utils/action.d.ts +1 -4
- package/dist/types/utils/performance/plugin-performance-report.d.ts +1 -1
- package/dist/types/utils/slice.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/editor.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +155 -11
- package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +1 -1
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/dist/types-ts4.5/presets/default.d.ts +138 -10
- package/dist/types-ts4.5/presets/universal.d.ts +155 -11
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +155 -11
- package/dist/types-ts4.5/test-utils.d.ts +1 -1
- package/dist/types-ts4.5/types/browser.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -1
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -1
- package/dist/types-ts4.5/types/feature-flags.d.ts +1 -1
- package/dist/types-ts4.5/types/index.d.ts +3 -3
- package/dist/types-ts4.5/types/pm-config.d.ts +1 -1
- package/dist/types-ts4.5/types/ui-components.d.ts +1 -1
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +1 -1
- package/dist/types-ts4.5/utils/slice.d.ts +1 -1
- package/docs/0-intro.tsx +13 -19
- package/docs/1-legacy-editor.tsx +13 -19
- package/docs/4-annotations.tsx +222 -223
- package/package.json +28 -20
- package/report.api.md +448 -473
|
@@ -259,7 +259,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
259
259
|
};
|
|
260
260
|
}, {
|
|
261
261
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
262
|
-
} | undefined
|
|
262
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
263
|
+
dependencies: [];
|
|
264
|
+
sharedState: {
|
|
265
|
+
isMenuOpen: boolean;
|
|
266
|
+
activeNode: {
|
|
267
|
+
pos: number;
|
|
268
|
+
};
|
|
269
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
270
|
+
isDragging: boolean;
|
|
271
|
+
} | undefined;
|
|
272
|
+
actions: {};
|
|
273
|
+
commands: {
|
|
274
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
275
|
+
};
|
|
276
|
+
}, undefined>>];
|
|
263
277
|
actions: {
|
|
264
278
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
265
279
|
};
|
|
@@ -521,7 +535,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
521
535
|
};
|
|
522
536
|
}, {
|
|
523
537
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
524
|
-
} | undefined
|
|
538
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
539
|
+
dependencies: [];
|
|
540
|
+
sharedState: {
|
|
541
|
+
isMenuOpen: boolean;
|
|
542
|
+
activeNode: {
|
|
543
|
+
pos: number;
|
|
544
|
+
};
|
|
545
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
546
|
+
isDragging: boolean;
|
|
547
|
+
} | undefined;
|
|
548
|
+
actions: {};
|
|
549
|
+
commands: {
|
|
550
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
551
|
+
};
|
|
552
|
+
}, undefined>>];
|
|
525
553
|
actions: {
|
|
526
554
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
527
555
|
};
|
|
@@ -1224,7 +1252,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1224
1252
|
};
|
|
1225
1253
|
}, {
|
|
1226
1254
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1227
|
-
} | undefined
|
|
1255
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
1256
|
+
dependencies: [];
|
|
1257
|
+
sharedState: {
|
|
1258
|
+
isMenuOpen: boolean;
|
|
1259
|
+
activeNode: {
|
|
1260
|
+
pos: number;
|
|
1261
|
+
};
|
|
1262
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1263
|
+
isDragging: boolean;
|
|
1264
|
+
} | undefined;
|
|
1265
|
+
actions: {};
|
|
1266
|
+
commands: {
|
|
1267
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1268
|
+
};
|
|
1269
|
+
}, undefined>>];
|
|
1228
1270
|
actions: {
|
|
1229
1271
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1230
1272
|
};
|
|
@@ -1756,7 +1798,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1756
1798
|
};
|
|
1757
1799
|
}, {
|
|
1758
1800
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1759
|
-
} | undefined
|
|
1801
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
1802
|
+
dependencies: [];
|
|
1803
|
+
sharedState: {
|
|
1804
|
+
isMenuOpen: boolean;
|
|
1805
|
+
activeNode: {
|
|
1806
|
+
pos: number;
|
|
1807
|
+
};
|
|
1808
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1809
|
+
isDragging: boolean;
|
|
1810
|
+
} | undefined;
|
|
1811
|
+
actions: {};
|
|
1812
|
+
commands: {
|
|
1813
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1814
|
+
};
|
|
1815
|
+
}, undefined>>];
|
|
1760
1816
|
actions: {
|
|
1761
1817
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
1762
1818
|
};
|
|
@@ -1922,7 +1978,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1922
1978
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
1923
1979
|
actions: {
|
|
1924
1980
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
1925
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
1981
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1926
1982
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
1927
1983
|
};
|
|
1928
1984
|
commands: {
|
|
@@ -2487,7 +2543,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2487
2543
|
};
|
|
2488
2544
|
}, {
|
|
2489
2545
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2490
|
-
} | undefined
|
|
2546
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
2547
|
+
dependencies: [];
|
|
2548
|
+
sharedState: {
|
|
2549
|
+
isMenuOpen: boolean;
|
|
2550
|
+
activeNode: {
|
|
2551
|
+
pos: number;
|
|
2552
|
+
};
|
|
2553
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2554
|
+
isDragging: boolean;
|
|
2555
|
+
} | undefined;
|
|
2556
|
+
actions: {};
|
|
2557
|
+
commands: {
|
|
2558
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2559
|
+
};
|
|
2560
|
+
}, undefined>>];
|
|
2491
2561
|
actions: {
|
|
2492
2562
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
2493
2563
|
};
|
|
@@ -3069,7 +3139,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3069
3139
|
};
|
|
3070
3140
|
}, {
|
|
3071
3141
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3072
|
-
} | undefined
|
|
3142
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3143
|
+
dependencies: [];
|
|
3144
|
+
sharedState: {
|
|
3145
|
+
isMenuOpen: boolean;
|
|
3146
|
+
activeNode: {
|
|
3147
|
+
pos: number;
|
|
3148
|
+
};
|
|
3149
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3150
|
+
isDragging: boolean;
|
|
3151
|
+
} | undefined;
|
|
3152
|
+
actions: {};
|
|
3153
|
+
commands: {
|
|
3154
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3155
|
+
};
|
|
3156
|
+
}, undefined>>];
|
|
3073
3157
|
actions: {
|
|
3074
3158
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3075
3159
|
};
|
|
@@ -3309,7 +3393,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3309
3393
|
};
|
|
3310
3394
|
}, {
|
|
3311
3395
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3312
|
-
} | undefined
|
|
3396
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
3397
|
+
dependencies: [];
|
|
3398
|
+
sharedState: {
|
|
3399
|
+
isMenuOpen: boolean;
|
|
3400
|
+
activeNode: {
|
|
3401
|
+
pos: number;
|
|
3402
|
+
};
|
|
3403
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3404
|
+
isDragging: boolean;
|
|
3405
|
+
} | undefined;
|
|
3406
|
+
actions: {};
|
|
3407
|
+
commands: {
|
|
3408
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3409
|
+
};
|
|
3410
|
+
}, undefined>>];
|
|
3313
3411
|
actions: {
|
|
3314
3412
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
3315
3413
|
};
|
|
@@ -3505,7 +3603,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3505
3603
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
3506
3604
|
actions: {
|
|
3507
3605
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
3508
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
3606
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3509
3607
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
3510
3608
|
};
|
|
3511
3609
|
commands: {
|
|
@@ -4030,7 +4128,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4030
4128
|
};
|
|
4031
4129
|
}, {
|
|
4032
4130
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4033
|
-
} | undefined
|
|
4131
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
4132
|
+
dependencies: [];
|
|
4133
|
+
sharedState: {
|
|
4134
|
+
isMenuOpen: boolean;
|
|
4135
|
+
activeNode: {
|
|
4136
|
+
pos: number;
|
|
4137
|
+
};
|
|
4138
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4139
|
+
isDragging: boolean;
|
|
4140
|
+
} | undefined;
|
|
4141
|
+
actions: {};
|
|
4142
|
+
commands: {
|
|
4143
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4144
|
+
};
|
|
4145
|
+
}, undefined>>];
|
|
4034
4146
|
actions: {
|
|
4035
4147
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
4036
4148
|
};
|
|
@@ -4292,7 +4404,21 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4292
4404
|
};
|
|
4293
4405
|
}, {
|
|
4294
4406
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4295
|
-
} | undefined
|
|
4407
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"blockControls", {
|
|
4408
|
+
dependencies: [];
|
|
4409
|
+
sharedState: {
|
|
4410
|
+
isMenuOpen: boolean;
|
|
4411
|
+
activeNode: {
|
|
4412
|
+
pos: number;
|
|
4413
|
+
};
|
|
4414
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4415
|
+
isDragging: boolean;
|
|
4416
|
+
} | undefined;
|
|
4417
|
+
actions: {};
|
|
4418
|
+
commands: {
|
|
4419
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4420
|
+
};
|
|
4421
|
+
}, undefined>>];
|
|
4296
4422
|
actions: {
|
|
4297
4423
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
4298
4424
|
};
|
|
@@ -28,7 +28,7 @@ export declare const createPMSchemaAndPlugins: (inputPreset?: EditorPresetBuilde
|
|
|
28
28
|
}) => PluginData;
|
|
29
29
|
export { EventDispatcher } from './event-dispatcher';
|
|
30
30
|
export type { Dispatch } from './event-dispatcher';
|
|
31
|
-
export { GapCursorSelection, Side as GapCursorSide
|
|
31
|
+
export { GapCursorSelection, Side as GapCursorSide } from '@atlaskit/editor-common/selection';
|
|
32
32
|
export declare function setTextSelection(view: EditorView, anchor: number, head?: number): void;
|
|
33
33
|
/**
|
|
34
34
|
* Given a selector, checks if an element matching the selector exists in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Browsers, Range, DisableSpellcheckByBrowser
|
|
1
|
+
export type { Browsers, Range, DisableSpellcheckByBrowser } from '@atlaskit/editor-common/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { NextEditorPlugin, PluginsOptions, EditorPlugin
|
|
1
|
+
export type { NextEditorPlugin, PluginsOptions, EditorPlugin } from '@atlaskit/editor-common/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { EmptyStateHandler, EmptyStateHandlerParams
|
|
1
|
+
export type { EmptyStateHandler, EmptyStateHandlerParams } from '@atlaskit/editor-common/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { FeatureFlags, FeatureFlagKey
|
|
1
|
+
export type { FeatureFlags, FeatureFlagKey } from '@atlaskit/editor-common/types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { AllowedBlockTypes } from '@atlaskit/editor-common/types';
|
|
2
2
|
export type { EditorInstance } from './editor-instance';
|
|
3
3
|
export type { EditorConfig } from './editor-config';
|
|
4
|
-
export type { NextEditorPlugin, EditorPlugin, PluginsOptions
|
|
4
|
+
export type { NextEditorPlugin, EditorPlugin, PluginsOptions } from './editor-plugin';
|
|
5
5
|
export type { EditorReactContext } from './editor-react-context';
|
|
6
6
|
export type { EditorProps, ReactComponents, ExtensionProvidersProp, PrimaryToolbarComponents, ContentComponents, } from './editor-props';
|
|
7
7
|
export type { EditorAppearanceComponentProps } from './editor-appearance-component';
|
|
@@ -11,8 +11,8 @@ export type { DomAtPos } from './dom-at-pos';
|
|
|
11
11
|
export type { ExtensionConfig } from './extension-config';
|
|
12
12
|
export type { EditorAppearance } from './editor-appearance';
|
|
13
13
|
export type { ToolbarUIComponentFactory, ToolbarUiComponentFactoryParams, } from '../ui/Toolbar/types';
|
|
14
|
-
export type { PMPlugin, PMPluginFactory, PMPluginFactoryParams
|
|
14
|
+
export type { PMPlugin, PMPluginFactory, PMPluginFactoryParams } from './pm-plugin';
|
|
15
15
|
export type { PMPluginCreateConfig } from './pm-plugin-list';
|
|
16
16
|
export type { NodeViewConfig, MarkConfig, NodeConfig } from './pm-config';
|
|
17
|
-
export type { UIComponentFactory, UiComponentFactoryParams
|
|
17
|
+
export type { UIComponentFactory, UiComponentFactoryParams } from './ui-components';
|
|
18
18
|
export type { DisableSpellcheckByBrowser, Range, Browsers } from './browser';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { NodeConfig, MarkConfig, NodeViewConfig
|
|
1
|
+
export type { NodeConfig, MarkConfig, NodeViewConfig } from '@atlaskit/editor-common/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { UiComponentFactoryParams, UIComponentFactory
|
|
1
|
+
export type { UiComponentFactoryParams, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
@@ -5,5 +5,5 @@ export interface Props {
|
|
|
5
5
|
children?: any;
|
|
6
6
|
editorDisabled?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const ClickAreaBlock: ({ editorView, editorDisabled, children
|
|
8
|
+
export declare const ClickAreaBlock: ({ editorView, editorDisabled, children }: Props) => jsx.JSX.Element;
|
|
9
9
|
export default ClickAreaBlock;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage
|
|
1
|
+
export { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage } from '@atlaskit/editor-common/types';
|
|
2
2
|
export type { ToolbarUiComponentFactoryParams, ToolbarUIComponentFactory, } from '@atlaskit/editor-common/types';
|
|
@@ -2,8 +2,5 @@ import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/ty
|
|
|
2
2
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
3
3
|
import type { ExtensionPlugin } from '@atlaskit/editor-plugins/extension';
|
|
4
4
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
|
-
export declare function __temporaryFixForConfigPanel(editorView: EditorView, api: PublicPluginAPI<[
|
|
6
|
-
OptionalPlugin<ExtensionPlugin>,
|
|
7
|
-
OptionalPlugin<ContextPanelPlugin>
|
|
8
|
-
]>): Promise<void>;
|
|
5
|
+
export declare function __temporaryFixForConfigPanel(editorView: EditorView, api: PublicPluginAPI<[OptionalPlugin<ExtensionPlugin>, OptionalPlugin<ContextPanelPlugin>]>): Promise<void>;
|
|
9
6
|
export declare function getEditorValueWithMedia(editorView: EditorView): Promise<import("prosemirror-model").Node>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NodeCount, PluginMethodReport, PluginPerformanceReportData, PluginsReport } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
export type { PluginMethodReport, PluginsReport, NodeCount, PluginPerformanceReportData
|
|
2
|
+
export type { PluginMethodReport, PluginsReport, NodeCount, PluginPerformanceReportData };
|
|
3
3
|
export interface OutlierReport {
|
|
4
4
|
stateApplyOutlier: number | undefined;
|
|
5
5
|
viewUpdateOutlier: number | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { getFragmentBackingArray, mapFragment, mapSlice, flatmap, mapChildren, } from '@atlaskit/editor-common/utils';
|
|
2
|
-
export type { FlatMapCallback, MapWithCallback
|
|
2
|
+
export type { FlatMapCallback, MapWithCallback } from '@atlaskit/editor-common/utils';
|
|
@@ -3,7 +3,7 @@ import type { EditorNextProps } from '../types/editor-props';
|
|
|
3
3
|
export declare function ComposableEditor(props: EditorNextProps): jsx.JSX.Element;
|
|
4
4
|
export declare namespace ComposableEditor {
|
|
5
5
|
var propTypes: {
|
|
6
|
-
minHeight: ({ appearance, minHeight
|
|
6
|
+
minHeight: ({ appearance, minHeight }: Pick<EditorNextProps, "appearance" | "minHeight">) => Error | null;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export default ComposableEditor;
|
|
@@ -10,5 +10,5 @@ interface UseProvidersProps {
|
|
|
10
10
|
*
|
|
11
11
|
* In the future ideally consumers implement this behaviour themselves.
|
|
12
12
|
*/
|
|
13
|
-
export declare const useProviders: ({ contextIdentifierProvider
|
|
13
|
+
export declare const useProviders: ({ contextIdentifierProvider }: UseProvidersProps) => void;
|
|
14
14
|
export {};
|
|
@@ -391,7 +391,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
391
391
|
};
|
|
392
392
|
}, {
|
|
393
393
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
394
|
-
} | undefined
|
|
394
|
+
} | undefined>>,
|
|
395
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
396
|
+
dependencies: [
|
|
397
|
+
];
|
|
398
|
+
sharedState: {
|
|
399
|
+
isMenuOpen: boolean;
|
|
400
|
+
activeNode: {
|
|
401
|
+
pos: number;
|
|
402
|
+
};
|
|
403
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
404
|
+
isDragging: boolean;
|
|
405
|
+
} | undefined;
|
|
406
|
+
actions: {};
|
|
407
|
+
commands: {
|
|
408
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
409
|
+
};
|
|
410
|
+
}, undefined>>
|
|
395
411
|
];
|
|
396
412
|
actions: {
|
|
397
413
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -711,7 +727,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
711
727
|
};
|
|
712
728
|
}, {
|
|
713
729
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
714
|
-
} | undefined
|
|
730
|
+
} | undefined>>,
|
|
731
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
732
|
+
dependencies: [
|
|
733
|
+
];
|
|
734
|
+
sharedState: {
|
|
735
|
+
isMenuOpen: boolean;
|
|
736
|
+
activeNode: {
|
|
737
|
+
pos: number;
|
|
738
|
+
};
|
|
739
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
740
|
+
isDragging: boolean;
|
|
741
|
+
} | undefined;
|
|
742
|
+
actions: {};
|
|
743
|
+
commands: {
|
|
744
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
745
|
+
};
|
|
746
|
+
}, undefined>>
|
|
715
747
|
];
|
|
716
748
|
actions: {
|
|
717
749
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1565,7 +1597,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1565
1597
|
};
|
|
1566
1598
|
}, {
|
|
1567
1599
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1568
|
-
} | undefined
|
|
1600
|
+
} | undefined>>,
|
|
1601
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
1602
|
+
dependencies: [
|
|
1603
|
+
];
|
|
1604
|
+
sharedState: {
|
|
1605
|
+
isMenuOpen: boolean;
|
|
1606
|
+
activeNode: {
|
|
1607
|
+
pos: number;
|
|
1608
|
+
};
|
|
1609
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
1610
|
+
isDragging: boolean;
|
|
1611
|
+
} | undefined;
|
|
1612
|
+
actions: {};
|
|
1613
|
+
commands: {
|
|
1614
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1615
|
+
};
|
|
1616
|
+
}, undefined>>
|
|
1569
1617
|
];
|
|
1570
1618
|
actions: {
|
|
1571
1619
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -2212,7 +2260,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2212
2260
|
};
|
|
2213
2261
|
}, {
|
|
2214
2262
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2215
|
-
} | undefined
|
|
2263
|
+
} | undefined>>,
|
|
2264
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
2265
|
+
dependencies: [
|
|
2266
|
+
];
|
|
2267
|
+
sharedState: {
|
|
2268
|
+
isMenuOpen: boolean;
|
|
2269
|
+
activeNode: {
|
|
2270
|
+
pos: number;
|
|
2271
|
+
};
|
|
2272
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
2273
|
+
isDragging: boolean;
|
|
2274
|
+
} | undefined;
|
|
2275
|
+
actions: {};
|
|
2276
|
+
commands: {
|
|
2277
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2278
|
+
};
|
|
2279
|
+
}, undefined>>
|
|
2216
2280
|
];
|
|
2217
2281
|
actions: {
|
|
2218
2282
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -2410,7 +2474,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2410
2474
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
2411
2475
|
actions: {
|
|
2412
2476
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
2413
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
2477
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2414
2478
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
2415
2479
|
};
|
|
2416
2480
|
commands: {
|
|
@@ -3093,7 +3157,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3093
3157
|
};
|
|
3094
3158
|
}, {
|
|
3095
3159
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3096
|
-
} | undefined
|
|
3160
|
+
} | undefined>>,
|
|
3161
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3162
|
+
dependencies: [
|
|
3163
|
+
];
|
|
3164
|
+
sharedState: {
|
|
3165
|
+
isMenuOpen: boolean;
|
|
3166
|
+
activeNode: {
|
|
3167
|
+
pos: number;
|
|
3168
|
+
};
|
|
3169
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3170
|
+
isDragging: boolean;
|
|
3171
|
+
} | undefined;
|
|
3172
|
+
actions: {};
|
|
3173
|
+
commands: {
|
|
3174
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3175
|
+
};
|
|
3176
|
+
}, undefined>>
|
|
3097
3177
|
];
|
|
3098
3178
|
actions: {
|
|
3099
3179
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -3806,7 +3886,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3806
3886
|
};
|
|
3807
3887
|
}, {
|
|
3808
3888
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3809
|
-
} | undefined
|
|
3889
|
+
} | undefined>>,
|
|
3890
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
3891
|
+
dependencies: [
|
|
3892
|
+
];
|
|
3893
|
+
sharedState: {
|
|
3894
|
+
isMenuOpen: boolean;
|
|
3895
|
+
activeNode: {
|
|
3896
|
+
pos: number;
|
|
3897
|
+
};
|
|
3898
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
3899
|
+
isDragging: boolean;
|
|
3900
|
+
} | undefined;
|
|
3901
|
+
actions: {};
|
|
3902
|
+
commands: {
|
|
3903
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3904
|
+
};
|
|
3905
|
+
}, undefined>>
|
|
3810
3906
|
];
|
|
3811
3907
|
actions: {
|
|
3812
3908
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -4101,7 +4197,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4101
4197
|
};
|
|
4102
4198
|
}, {
|
|
4103
4199
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4104
|
-
} | undefined
|
|
4200
|
+
} | undefined>>,
|
|
4201
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
4202
|
+
dependencies: [
|
|
4203
|
+
];
|
|
4204
|
+
sharedState: {
|
|
4205
|
+
isMenuOpen: boolean;
|
|
4206
|
+
activeNode: {
|
|
4207
|
+
pos: number;
|
|
4208
|
+
};
|
|
4209
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
4210
|
+
isDragging: boolean;
|
|
4211
|
+
} | undefined;
|
|
4212
|
+
actions: {};
|
|
4213
|
+
commands: {
|
|
4214
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
4215
|
+
};
|
|
4216
|
+
}, undefined>>
|
|
4105
4217
|
];
|
|
4106
4218
|
actions: {
|
|
4107
4219
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -4335,7 +4447,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4335
4447
|
sharedState: import("@atlaskit/editor-plugin-quick-insert").QuickInsertSharedState | null;
|
|
4336
4448
|
actions: {
|
|
4337
4449
|
openTypeAhead: (inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod) => boolean;
|
|
4338
|
-
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem) => import("@atlaskit/editor-common/types").Command;
|
|
4450
|
+
insertItem: (item: import("@atlaskit/editor-common/provider-factory").QuickInsertItem, source?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4339
4451
|
getSuggestions: (searchOptions: import("@atlaskit/editor-common/types").QuickInsertSearchOptions) => import("@atlaskit/editor-common/provider-factory").QuickInsertItem[];
|
|
4340
4452
|
};
|
|
4341
4453
|
commands: {
|
|
@@ -4968,7 +5080,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4968
5080
|
};
|
|
4969
5081
|
}, {
|
|
4970
5082
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4971
|
-
} | undefined
|
|
5083
|
+
} | undefined>>,
|
|
5084
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
5085
|
+
dependencies: [
|
|
5086
|
+
];
|
|
5087
|
+
sharedState: {
|
|
5088
|
+
isMenuOpen: boolean;
|
|
5089
|
+
activeNode: {
|
|
5090
|
+
pos: number;
|
|
5091
|
+
};
|
|
5092
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
5093
|
+
isDragging: boolean;
|
|
5094
|
+
} | undefined;
|
|
5095
|
+
actions: {};
|
|
5096
|
+
commands: {
|
|
5097
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5098
|
+
};
|
|
5099
|
+
}, undefined>>
|
|
4972
5100
|
];
|
|
4973
5101
|
actions: {
|
|
4974
5102
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -5288,7 +5416,23 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5288
5416
|
};
|
|
5289
5417
|
}, {
|
|
5290
5418
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5291
|
-
} | undefined
|
|
5419
|
+
} | undefined>>,
|
|
5420
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockControls", {
|
|
5421
|
+
dependencies: [
|
|
5422
|
+
];
|
|
5423
|
+
sharedState: {
|
|
5424
|
+
isMenuOpen: boolean;
|
|
5425
|
+
activeNode: {
|
|
5426
|
+
pos: number;
|
|
5427
|
+
};
|
|
5428
|
+
decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
|
|
5429
|
+
isDragging: boolean;
|
|
5430
|
+
} | undefined;
|
|
5431
|
+
actions: {};
|
|
5432
|
+
commands: {
|
|
5433
|
+
moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
5434
|
+
};
|
|
5435
|
+
}, undefined>>
|
|
5292
5436
|
];
|
|
5293
5437
|
actions: {
|
|
5294
5438
|
forceFocusSelector: import("@atlaskit/editor-plugin-floating-toolbar").ForceFocusSelector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { sortByOrder, sortByOrderWithTypeName
|
|
1
|
+
export { sortByOrder, sortByOrderWithTypeName } from '@atlaskit/editor-common/legacy-rank-plugins';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { Listeners, Listener, Dispatch
|
|
2
|
-
export { EventDispatcher, createDispatch
|
|
1
|
+
export type { Listeners, Listener, Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
+
export { EventDispatcher, createDispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -9,7 +9,7 @@ export { default as ToolbarFeedback } from './ui/ToolbarFeedback';
|
|
|
9
9
|
export { default as ContextPanel } from './ui/ContextPanel';
|
|
10
10
|
export { EmojiResource } from '@atlaskit/emoji/resource';
|
|
11
11
|
export { MentionResource } from '@atlaskit/mention/resource';
|
|
12
|
-
export type { MentionProvider, PresenceProvider
|
|
12
|
+
export type { MentionProvider, PresenceProvider } from '@atlaskit/mention/resource';
|
|
13
13
|
export { TeamMentionResource } from '@atlaskit/mention/team-resource';
|
|
14
14
|
/**
|
|
15
15
|
* @deprecated
|
|
@@ -30,7 +30,7 @@ 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';
|
|
32
32
|
export { setTextSelection, getNodesCount, measurements } from './utils';
|
|
33
|
-
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch
|
|
33
|
+
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch } from './types';
|
|
34
34
|
export { default as EditorActions } from './actions';
|
|
35
35
|
export type { MacroProvider, MacroAttributes, ExtensionType, CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
36
36
|
export { PortalProvider, LegacyPortalProviderAPI, PortalRenderer, } from '@atlaskit/editor-common/portal-provider';
|