@atlaskit/editor-core 187.48.8 → 188.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 +85 -0
- package/dist/cjs/index.js +3 -305
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/index.js +16 -45
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/index.js +16 -45
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/index.d.ts +19 -63
- package/dist/types-ts4.5/index.d.ts +19 -63
- package/package.json +2 -2
- package/report.api.md +8 -1116
- package/tmp/api-report-tmp.d.ts +8 -971
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { name, version } from './version-wrapper';
|
|
2
|
-
export { clearEditorContent } from './commands';
|
|
3
2
|
export { default as Editor } from './editor';
|
|
4
3
|
export { default as EditorContext } from './ui/EditorContext';
|
|
5
4
|
export { default as WithEditorActions } from './ui/WithEditorActions';
|
|
@@ -8,47 +7,34 @@ export { default as CollapsedEditor } from './ui/CollapsedEditor';
|
|
|
8
7
|
export { default as ToolbarHelp } from './ui/ToolbarHelp';
|
|
9
8
|
export { default as ToolbarFeedback } from './ui/ToolbarFeedback';
|
|
10
9
|
export { default as ContextPanel } from './ui/ContextPanel';
|
|
11
|
-
export type { FeatureFlags as EditorFeatureFlags } from './types/feature-flags';
|
|
12
10
|
export { EmojiResource } from '@atlaskit/emoji/resource';
|
|
13
|
-
export {
|
|
14
|
-
export type { MediaProvider, MediaState, CustomMediaPicker, } from './plugins/media';
|
|
15
|
-
export type { MediaOptions } from './plugins/media/types';
|
|
16
|
-
export { AbstractMentionResource, MentionResource, PresenceResource, } from '@atlaskit/mention/resource';
|
|
11
|
+
export { MentionResource } from '@atlaskit/mention/resource';
|
|
17
12
|
export type { MentionProvider, PresenceProvider, } from '@atlaskit/mention/resource';
|
|
18
13
|
export { TeamMentionResource } from '@atlaskit/mention/team-resource';
|
|
19
14
|
export { AnnotationUpdateEmitter } from './plugins/annotation';
|
|
20
15
|
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, UpdateEvent, } from './plugins/annotation';
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export type {
|
|
24
|
-
export {
|
|
16
|
+
export type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
17
|
+
export { INPUT_METHOD, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
18
|
+
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
19
|
+
export { setTextSelection, getNodesCount, measurements } from './utils';
|
|
20
|
+
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch, } from './types';
|
|
21
|
+
export { default as EditorActions } from './actions';
|
|
22
|
+
export type { MacroProvider, MacroAttributes, ExtensionType, CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
23
|
+
export { PortalProvider, PortalProviderAPI, PortalRenderer, } from '@atlaskit/editor-common/portal-provider';
|
|
25
24
|
/**
|
|
26
|
-
* @
|
|
27
|
-
*
|
|
25
|
+
* @deprecated
|
|
26
|
+
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
27
|
+
* This is here while we work to extract the media plugin.
|
|
28
|
+
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
28
29
|
*/
|
|
29
|
-
export type {
|
|
30
|
+
export type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
30
31
|
/**
|
|
31
|
-
* @
|
|
32
|
-
*
|
|
32
|
+
* @deprecated
|
|
33
|
+
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
34
|
+
* This is here while we work to extract the media plugin.
|
|
35
|
+
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
33
36
|
*/
|
|
34
|
-
export type {
|
|
35
|
-
export { subscribeToToolbarAndPickerUpdates } from './plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates';
|
|
36
|
-
export { subscribeTypeAheadUpdates } from './plugins/view-update-subscription/subscribe/type-ahead-updates';
|
|
37
|
-
export type { InputMethodToolbar as TextFormattingInputMethodToolbar, InputMethodBasic as TextFormattingInputMethodBasic, } from '@atlaskit/editor-common/types';
|
|
38
|
-
export { createTable } from '@atlaskit/editor-plugin-table/commands';
|
|
39
|
-
export { insertTaskDecisionCommand } from './plugins/tasks-and-decisions/commands';
|
|
40
|
-
export type { TaskDecisionInputMethod } from './plugins/tasks-and-decisions/types';
|
|
41
|
-
export { EventDispatcher } from './event-dispatcher';
|
|
42
|
-
export { pluginKey as statusPluginKey } from './plugins/status/plugin';
|
|
43
|
-
export type { StatusState, StatusType } from './plugins/status/plugin';
|
|
44
|
-
export type { DatePluginState } from './plugins/date/pm-plugins/types';
|
|
45
|
-
export { insertDate, openDatePicker, deleteDate } from './plugins/date/actions';
|
|
46
|
-
export { dateToDateType } from './plugins/date/utils/formatParse';
|
|
47
|
-
export { pluginKey as datePluginKey } from './plugins/date/pm-plugins/plugin-key';
|
|
48
|
-
export { commitStatusPicker, setStatusPickerAt, updateStatus, updateStatusWithAnalytics, removeStatus, } from './plugins/status/actions';
|
|
49
|
-
export { typeAheadPluginKey } from './plugins/type-ahead';
|
|
50
|
-
export type { TypeAheadPluginState } from './plugins/type-ahead';
|
|
51
|
-
export type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
37
|
+
export type { MediaOptions } from './plugins/media/types';
|
|
52
38
|
export type {
|
|
53
39
|
/**
|
|
54
40
|
* @deprecated Use QuickInsertItem from @atlaskit/editor-common/provider-factory instead
|
|
@@ -58,33 +44,3 @@ QuickInsertItem,
|
|
|
58
44
|
* @deprecated Use QuickInsertProvider from @atlaskit/editor-common/provider-factory instead
|
|
59
45
|
*/
|
|
60
46
|
QuickInsertProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
61
|
-
export { historyPluginKey } from './plugins/history';
|
|
62
|
-
export { INPUT_METHOD, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
63
|
-
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
64
|
-
export { setKeyboardHeight } from '@atlaskit/editor-plugin-base';
|
|
65
|
-
export { setMobilePaddingTop, setIsExpanded, } from './plugins/mobile-dimensions/commands';
|
|
66
|
-
export { setTextSelection, getNodesCount, measurements } from './utils';
|
|
67
|
-
export {
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated Use dedupe from @atlaskit/editor-common/utils instead
|
|
70
|
-
*/
|
|
71
|
-
dedupe, } from '@atlaskit/editor-common/utils';
|
|
72
|
-
export { ReactEditorView, BaseReactEditorView } from './create-editor';
|
|
73
|
-
export { getDefaultPresetOptionsFromEditorProps } from './create-editor';
|
|
74
|
-
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch, } from './types';
|
|
75
|
-
export { default as EditorActions } from './actions';
|
|
76
|
-
export type { MacroProvider, MacroAttributes, ExtensionType, CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
77
|
-
export { PortalProvider, PortalProviderAPI, PortalRenderer, } from '@atlaskit/editor-common/portal-provider';
|
|
78
|
-
export { GapCursorSelection, Side as GapCursorSide, } from '@atlaskit/editor-common/selection';
|
|
79
|
-
export type { HistoryPluginState } from './plugins/history/types';
|
|
80
|
-
export type { MentionPluginState } from './plugins/mentions/types';
|
|
81
|
-
export type { TOOLBAR_MENU_TYPE as InsertBlockInputMethodToolbar } from './plugins/insert-block/ui/ToolbarInsertBlock/types';
|
|
82
|
-
export { selectionPluginKey } from './plugins/mobile-selection';
|
|
83
|
-
export type { SelectionData, SelectionDataState, } from './plugins/mobile-selection';
|
|
84
|
-
export { insertExpand } from './plugins/expand/commands';
|
|
85
|
-
export { default as WithPluginState } from './ui/WithPluginState';
|
|
86
|
-
export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ui/ColorPalette/Palettes/statusColorPalette';
|
|
87
|
-
export type { PaletteColor } from './ui/ColorPalette/Palettes/type';
|
|
88
|
-
export { DEFAULT_BORDER_COLOR } from './ui/ColorPalette/Palettes/common';
|
|
89
|
-
export { default as messages, statusMessages, dateMessages } from './messages';
|
|
90
|
-
export { createTypeAheadTools } from './plugins/type-ahead/api';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { name, version } from './version-wrapper';
|
|
2
|
-
export { clearEditorContent } from './commands';
|
|
3
2
|
export { default as Editor } from './editor';
|
|
4
3
|
export { default as EditorContext } from './ui/EditorContext';
|
|
5
4
|
export { default as WithEditorActions } from './ui/WithEditorActions';
|
|
@@ -8,47 +7,34 @@ export { default as CollapsedEditor } from './ui/CollapsedEditor';
|
|
|
8
7
|
export { default as ToolbarHelp } from './ui/ToolbarHelp';
|
|
9
8
|
export { default as ToolbarFeedback } from './ui/ToolbarFeedback';
|
|
10
9
|
export { default as ContextPanel } from './ui/ContextPanel';
|
|
11
|
-
export type { FeatureFlags as EditorFeatureFlags } from './types/feature-flags';
|
|
12
10
|
export { EmojiResource } from '@atlaskit/emoji/resource';
|
|
13
|
-
export {
|
|
14
|
-
export type { MediaProvider, MediaState, CustomMediaPicker, } from './plugins/media';
|
|
15
|
-
export type { MediaOptions } from './plugins/media/types';
|
|
16
|
-
export { AbstractMentionResource, MentionResource, PresenceResource, } from '@atlaskit/mention/resource';
|
|
11
|
+
export { MentionResource } from '@atlaskit/mention/resource';
|
|
17
12
|
export type { MentionProvider, PresenceProvider, } from '@atlaskit/mention/resource';
|
|
18
13
|
export { TeamMentionResource } from '@atlaskit/mention/team-resource';
|
|
19
14
|
export { AnnotationUpdateEmitter } from './plugins/annotation';
|
|
20
15
|
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, UpdateEvent, } from './plugins/annotation';
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export type {
|
|
24
|
-
export {
|
|
16
|
+
export type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
17
|
+
export { INPUT_METHOD, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
18
|
+
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
19
|
+
export { setTextSelection, getNodesCount, measurements } from './utils';
|
|
20
|
+
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch, } from './types';
|
|
21
|
+
export { default as EditorActions } from './actions';
|
|
22
|
+
export type { MacroProvider, MacroAttributes, ExtensionType, CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
23
|
+
export { PortalProvider, PortalProviderAPI, PortalRenderer, } from '@atlaskit/editor-common/portal-provider';
|
|
25
24
|
/**
|
|
26
|
-
* @
|
|
27
|
-
*
|
|
25
|
+
* @deprecated
|
|
26
|
+
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
27
|
+
* This is here while we work to extract the media plugin.
|
|
28
|
+
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
28
29
|
*/
|
|
29
|
-
export type {
|
|
30
|
+
export type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
30
31
|
/**
|
|
31
|
-
* @
|
|
32
|
-
*
|
|
32
|
+
* @deprecated
|
|
33
|
+
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
34
|
+
* This is here while we work to extract the media plugin.
|
|
35
|
+
* Please use the export from `@atlaskit/editor-common/provider-factory`.
|
|
33
36
|
*/
|
|
34
|
-
export type {
|
|
35
|
-
export { subscribeToToolbarAndPickerUpdates } from './plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates';
|
|
36
|
-
export { subscribeTypeAheadUpdates } from './plugins/view-update-subscription/subscribe/type-ahead-updates';
|
|
37
|
-
export type { InputMethodToolbar as TextFormattingInputMethodToolbar, InputMethodBasic as TextFormattingInputMethodBasic, } from '@atlaskit/editor-common/types';
|
|
38
|
-
export { createTable } from '@atlaskit/editor-plugin-table/commands';
|
|
39
|
-
export { insertTaskDecisionCommand } from './plugins/tasks-and-decisions/commands';
|
|
40
|
-
export type { TaskDecisionInputMethod } from './plugins/tasks-and-decisions/types';
|
|
41
|
-
export { EventDispatcher } from './event-dispatcher';
|
|
42
|
-
export { pluginKey as statusPluginKey } from './plugins/status/plugin';
|
|
43
|
-
export type { StatusState, StatusType } from './plugins/status/plugin';
|
|
44
|
-
export type { DatePluginState } from './plugins/date/pm-plugins/types';
|
|
45
|
-
export { insertDate, openDatePicker, deleteDate } from './plugins/date/actions';
|
|
46
|
-
export { dateToDateType } from './plugins/date/utils/formatParse';
|
|
47
|
-
export { pluginKey as datePluginKey } from './plugins/date/pm-plugins/plugin-key';
|
|
48
|
-
export { commitStatusPicker, setStatusPickerAt, updateStatus, updateStatusWithAnalytics, removeStatus, } from './plugins/status/actions';
|
|
49
|
-
export { typeAheadPluginKey } from './plugins/type-ahead';
|
|
50
|
-
export type { TypeAheadPluginState } from './plugins/type-ahead';
|
|
51
|
-
export type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
37
|
+
export type { MediaOptions } from './plugins/media/types';
|
|
52
38
|
export type {
|
|
53
39
|
/**
|
|
54
40
|
* @deprecated Use QuickInsertItem from @atlaskit/editor-common/provider-factory instead
|
|
@@ -58,33 +44,3 @@ QuickInsertItem,
|
|
|
58
44
|
* @deprecated Use QuickInsertProvider from @atlaskit/editor-common/provider-factory instead
|
|
59
45
|
*/
|
|
60
46
|
QuickInsertProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
61
|
-
export { historyPluginKey } from './plugins/history';
|
|
62
|
-
export { INPUT_METHOD, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
63
|
-
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
64
|
-
export { setKeyboardHeight } from '@atlaskit/editor-plugin-base';
|
|
65
|
-
export { setMobilePaddingTop, setIsExpanded, } from './plugins/mobile-dimensions/commands';
|
|
66
|
-
export { setTextSelection, getNodesCount, measurements } from './utils';
|
|
67
|
-
export {
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated Use dedupe from @atlaskit/editor-common/utils instead
|
|
70
|
-
*/
|
|
71
|
-
dedupe, } from '@atlaskit/editor-common/utils';
|
|
72
|
-
export { ReactEditorView, BaseReactEditorView } from './create-editor';
|
|
73
|
-
export { getDefaultPresetOptionsFromEditorProps } from './create-editor';
|
|
74
|
-
export type { Command, EditorPlugin, EditorProps, EditorInstance, CommandDispatch, } from './types';
|
|
75
|
-
export { default as EditorActions } from './actions';
|
|
76
|
-
export type { MacroProvider, MacroAttributes, ExtensionType, CardProvider, } from '@atlaskit/editor-common/provider-factory';
|
|
77
|
-
export { PortalProvider, PortalProviderAPI, PortalRenderer, } from '@atlaskit/editor-common/portal-provider';
|
|
78
|
-
export { GapCursorSelection, Side as GapCursorSide, } from '@atlaskit/editor-common/selection';
|
|
79
|
-
export type { HistoryPluginState } from './plugins/history/types';
|
|
80
|
-
export type { MentionPluginState } from './plugins/mentions/types';
|
|
81
|
-
export type { TOOLBAR_MENU_TYPE as InsertBlockInputMethodToolbar } from './plugins/insert-block/ui/ToolbarInsertBlock/types';
|
|
82
|
-
export { selectionPluginKey } from './plugins/mobile-selection';
|
|
83
|
-
export type { SelectionData, SelectionDataState, } from './plugins/mobile-selection';
|
|
84
|
-
export { insertExpand } from './plugins/expand/commands';
|
|
85
|
-
export { default as WithPluginState } from './ui/WithPluginState';
|
|
86
|
-
export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ui/ColorPalette/Palettes/statusColorPalette';
|
|
87
|
-
export type { PaletteColor } from './ui/ColorPalette/Palettes/type';
|
|
88
|
-
export { DEFAULT_BORDER_COLOR } from './ui/ColorPalette/Palettes/common';
|
|
89
|
-
export { default as messages, statusMessages, dateMessages } from './messages';
|
|
90
|
-
export { createTypeAheadTools } from './plugins/type-ahead/api';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "188.0.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/editor-markdown-transformer": "^5.2.5",
|
|
61
61
|
"@atlaskit/editor-palette": "1.5.1",
|
|
62
62
|
"@atlaskit/editor-plugin-analytics": "^0.2.0",
|
|
63
|
-
"@atlaskit/editor-plugin-base": "^0.
|
|
63
|
+
"@atlaskit/editor-plugin-base": "^0.2.0",
|
|
64
64
|
"@atlaskit/editor-plugin-block-type": "^1.0.0",
|
|
65
65
|
"@atlaskit/editor-plugin-card": "^0.8.0",
|
|
66
66
|
"@atlaskit/editor-plugin-composition": "^0.1.0",
|