@atlaskit/editor-core 187.14.3 → 187.14.7
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 +22 -0
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +4 -1
- package/dist/cjs/plugins/media/ui/ResizableMediaSingle/ResizableMediaSingleNext.js +153 -192
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +4 -1
- package/dist/es2019/plugins/media/ui/ResizableMediaSingle/ResizableMediaSingleNext.js +126 -167
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +4 -1
- package/dist/esm/plugins/media/ui/ResizableMediaSingle/ResizableMediaSingleNext.js +155 -194
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/labs/next/presets/default.d.ts +12 -4
- package/dist/types/plugins/avatar-group/index.d.ts +1 -1
- package/dist/types/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +1 -1
- package/dist/types/plugins/code-block/types.d.ts +1 -1
- package/dist/types/plugins/collab-edit/index.d.ts +1 -2
- package/dist/types/plugins/collab-edit/types.d.ts +2 -25
- package/dist/types/plugins/collab-edit/utils.d.ts +1 -1
- package/dist/types/plugins/expand/index.d.ts +1 -1
- package/dist/types/plugins/extension/index.d.ts +3 -3
- package/dist/types/plugins/layout/types.d.ts +1 -1
- package/dist/types/plugins/media/ui/ResizableMediaSingle/ResizableMediaSingleNext.d.ts +21 -3
- package/dist/types/plugins/panel/types.d.ts +1 -1
- package/dist/types/plugins/selection/types.d.ts +1 -3
- package/dist/types/plugins/tasks-and-decisions/types.d.ts +2 -2
- package/dist/types/types/editor-appearance-component.d.ts +1 -1
- package/dist/types/types/editor-props.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +1 -1
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +12 -4
- package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +1 -2
- package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +2 -25
- package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +1 -1
- package/dist/types-ts4.5/plugins/expand/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/extension/index.d.ts +3 -3
- package/dist/types-ts4.5/plugins/layout/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/ResizableMediaSingleNext.d.ts +21 -3
- package/dist/types-ts4.5/plugins/panel/types.d.ts +1 -1
- package/dist/types-ts4.5/plugins/selection/types.d.ts +1 -3
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +2 -2
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-props.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +1 -1
- package/package.json +4 -4
- package/report.api.md +4 -42
- package/tmp/api-report-tmp.d.ts +4 -41
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
|
21
21
|
import { BrowserFreezetracking } from '@atlaskit/editor-common/types';
|
|
22
22
|
import { CardOptions } from '@atlaskit/editor-common/card';
|
|
23
23
|
import { CardProvider } from '@atlaskit/editor-common/provider-factory';
|
|
24
|
+
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
24
25
|
import { Color } from '@atlaskit/status/element';
|
|
25
26
|
import { Command as Command_2 } from '@atlaskit/editor-common/types';
|
|
26
27
|
import { ComponentType } from 'react';
|
|
@@ -91,6 +92,7 @@ import { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
|
|
|
91
92
|
import { jsx } from '@emotion/react';
|
|
92
93
|
import { lightModeStatusColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
93
94
|
import type { LinkingOptions } from '@atlaskit/editor-common/types';
|
|
95
|
+
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
94
96
|
import { MacroAttributes } from '@atlaskit/editor-common/provider-factory';
|
|
95
97
|
import { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
96
98
|
import { MarkConfig } from '@atlaskit/editor-common/types';
|
|
@@ -125,14 +127,14 @@ import { PresenceProvider } from '@atlaskit/mention/resource';
|
|
|
125
127
|
import { PresenceResource } from '@atlaskit/mention/resource';
|
|
126
128
|
import PropTypes from 'prop-types';
|
|
127
129
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
128
|
-
import { Providers } from '@atlaskit/editor-common/provider-factory';
|
|
130
|
+
import type { Providers } from '@atlaskit/editor-common/provider-factory';
|
|
129
131
|
import { PureComponent } from 'react';
|
|
130
132
|
import { QuickInsertActionInsert } from '@atlaskit/editor-common/provider-factory';
|
|
131
133
|
import { QuickInsertItem } from '@atlaskit/editor-common/provider-factory';
|
|
132
134
|
import { QuickInsertItemId } from '@atlaskit/editor-common/provider-factory';
|
|
133
135
|
import { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
|
|
134
136
|
import { default as React_2 } from 'react';
|
|
135
|
-
import { ReactElement } from 'react';
|
|
137
|
+
import type { ReactElement } from 'react';
|
|
136
138
|
import type { ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
137
139
|
import type { ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
138
140
|
import type { ResolvedEditorState } from '@atlaskit/collab-provider';
|
|
@@ -340,28 +342,6 @@ interface CodeBlockOptions extends LongPressSelectionPluginOptions {
|
|
|
340
342
|
appearance?: EditorAppearance | undefined;
|
|
341
343
|
}
|
|
342
344
|
|
|
343
|
-
// @public (undocumented)
|
|
344
|
-
interface CollabAnalyticsProps {
|
|
345
|
-
EXPERIMENTAL_allowInternalErrorAnalytics?: boolean;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
// @public (undocumented)
|
|
349
|
-
type CollabEditOptions = {
|
|
350
|
-
provider?: Providers['collabEditProvider'];
|
|
351
|
-
userId?: string;
|
|
352
|
-
useNativePlugin?: boolean;
|
|
353
|
-
} & CollabInviteToEditProps & CollabAnalyticsProps;
|
|
354
|
-
|
|
355
|
-
// @public (undocumented)
|
|
356
|
-
interface CollabInviteToEditProps {
|
|
357
|
-
// (undocumented)
|
|
358
|
-
inviteToEditComponent?: React.ComponentType<InviteToEditComponentProps>;
|
|
359
|
-
// (undocumented)
|
|
360
|
-
inviteToEditHandler?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
361
|
-
// (undocumented)
|
|
362
|
-
isInviteToEditButtonSelected?: boolean;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
345
|
// @public (undocumented)
|
|
366
346
|
export class CollapsedEditor extends React_2.Component<Props, State> {
|
|
367
347
|
// (undocumented)
|
|
@@ -1112,17 +1092,6 @@ export const insertMediaSingleNode: (view: EditorView, mediaState: MediaState, i
|
|
|
1112
1092
|
// @public (undocumented)
|
|
1113
1093
|
export const insertTaskDecisionCommand: (listType: TaskDecisionListType, inputMethod?: INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | InsertBlockInputMethodToolbar, addItem?: AddItemTransactionCreator, listLocalId?: string, itemLocalId?: string) => Command;
|
|
1114
1094
|
|
|
1115
|
-
// @public (undocumented)
|
|
1116
|
-
type InviteToEditButtonProps = {
|
|
1117
|
-
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
1118
|
-
selected: boolean;
|
|
1119
|
-
};
|
|
1120
|
-
|
|
1121
|
-
// @public (undocumented)
|
|
1122
|
-
type InviteToEditComponentProps = {
|
|
1123
|
-
children: ReactElement<InviteToEditButtonProps>;
|
|
1124
|
-
};
|
|
1125
|
-
|
|
1126
1095
|
// @public (undocumented)
|
|
1127
1096
|
interface LayoutPluginOptions extends LongPressSelectionPluginOptions {
|
|
1128
1097
|
// (undocumented)
|
|
@@ -1158,12 +1127,6 @@ export interface ListState {
|
|
|
1158
1127
|
// @public (undocumented)
|
|
1159
1128
|
export const listStateKey: PluginKey<ListState>;
|
|
1160
1129
|
|
|
1161
|
-
// @public (undocumented)
|
|
1162
|
-
interface LongPressSelectionPluginOptions {
|
|
1163
|
-
// (undocumented)
|
|
1164
|
-
useLongPressSelection?: boolean;
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
1130
|
export { MacroAttributes }
|
|
1168
1131
|
|
|
1169
1132
|
export { MacroProvider }
|