@atlaskit/editor-core 219.1.3 → 219.1.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 +28 -0
- package/dist/cjs/actions/index.js +4 -0
- package/dist/cjs/composable-editor/core-editor.js +2 -0
- package/dist/cjs/create-editor/ErrorBoundary.js +4 -3
- package/dist/cjs/ui/Appearance/Chromeless.js +2 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +19 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
- package/dist/cjs/ui/ChromeCollapsed/index.js +3 -2
- package/dist/cjs/ui/ContextPanel/index.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +10 -1
- package/dist/cjs/ui/ToolbarHelp/index.js +4 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/actions/index.js +2 -0
- package/dist/es2019/composable-editor/core-editor.js +2 -0
- package/dist/es2019/create-editor/ErrorBoundary.js +4 -1
- package/dist/es2019/ui/Appearance/Chromeless.js +2 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +19 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
- package/dist/es2019/ui/ChromeCollapsed/index.js +4 -1
- package/dist/es2019/ui/ContextPanel/index.js +2 -0
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +10 -1
- package/dist/es2019/ui/ToolbarHelp/index.js +4 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/actions/index.js +2 -0
- package/dist/esm/composable-editor/core-editor.js +2 -0
- package/dist/esm/create-editor/ErrorBoundary.js +5 -2
- package/dist/esm/ui/Appearance/Chromeless.js +2 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +19 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +2 -0
- package/dist/esm/ui/ChromeCollapsed/index.js +3 -2
- package/dist/esm/ui/ContextPanel/index.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +10 -1
- package/dist/esm/ui/ToolbarHelp/index.js +4 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/actions/index.d.ts +2 -1
- package/dist/types/composable-editor/core-editor.d.ts +1 -1
- package/dist/types/create-editor/ErrorBoundary.d.ts +4 -4
- package/dist/types/create-editor/ReactEditorView/getUAPrefix.d.ts +1 -1
- package/dist/types/create-editor/WithEditorView.d.ts +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +4 -0
- package/dist/types/create-editor/editorNativeAnchorSupportPlugin.d.ts +1 -1
- package/dist/types/presets/universal.d.ts +4 -0
- package/dist/types/presets/useUniversalPreset.d.ts +4 -0
- package/dist/types/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +5 -3
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -2
- package/dist/types/ui/ChromeCollapsed/index.d.ts +3 -3
- package/dist/types/ui/ContextPanel/index.d.ts +2 -2
- package/dist/types/ui/EditorContentContainer/styles/list.d.ts +1 -1
- package/dist/types/ui/EditorContentContainer/styles/resizerStyles.d.ts +3 -3
- package/dist/types/ui/ToolbarHelp/index.d.ts +3 -3
- package/dist/types/utils/is-chromeless.d.ts +1 -1
- package/dist/types/utils/is-full-page.d.ts +1 -1
- package/dist/types-ts4.5/actions/index.d.ts +2 -1
- package/dist/types-ts4.5/composable-editor/core-editor.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +4 -4
- package/dist/types-ts4.5/create-editor/ReactEditorView/getUAPrefix.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +4 -0
- package/dist/types-ts4.5/create-editor/editorNativeAnchorSupportPlugin.d.ts +1 -1
- package/dist/types-ts4.5/presets/universal.d.ts +4 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +4 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +5 -3
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +2 -2
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/list.d.ts +1 -1
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/resizerStyles.d.ts +3 -3
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +3 -3
- package/dist/types-ts4.5/utils/is-chromeless.d.ts +1 -1
- package/dist/types-ts4.5/utils/is-full-page.d.ts +1 -1
- package/package.json +9 -6
|
@@ -180,8 +180,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
180
180
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
181
181
|
};
|
|
182
182
|
commands: {
|
|
183
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
183
184
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
184
185
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
186
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
185
187
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
186
188
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
187
189
|
};
|
|
@@ -262,8 +264,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
262
264
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
263
265
|
};
|
|
264
266
|
commands: {
|
|
267
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
265
268
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
266
269
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
270
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
267
271
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
268
272
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
269
273
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
export declare const createEditorNativeAnchorSupportPlugin: (schema: Schema) => SafePlugin
|
|
3
|
+
export declare const createEditorNativeAnchorSupportPlugin: (schema: Schema) => SafePlugin;
|
|
@@ -267,8 +267,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
267
267
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
268
268
|
};
|
|
269
269
|
commands: {
|
|
270
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
270
271
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
271
272
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
273
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
272
274
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
273
275
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
274
276
|
};
|
|
@@ -349,8 +351,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
349
351
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
350
352
|
};
|
|
351
353
|
commands: {
|
|
354
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
352
355
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
353
356
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
357
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
354
358
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
355
359
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
356
360
|
};
|
|
@@ -180,8 +180,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
180
180
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
181
181
|
};
|
|
182
182
|
commands: {
|
|
183
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
183
184
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
184
185
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
186
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
185
187
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
186
188
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
187
189
|
};
|
|
@@ -262,8 +264,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
262
264
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
263
265
|
};
|
|
264
266
|
commands: {
|
|
267
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
265
268
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
266
269
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
270
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
267
271
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
268
272
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
269
273
|
};
|
|
@@ -10,5 +10,5 @@ export interface Props {
|
|
|
10
10
|
editorDisabled?: boolean;
|
|
11
11
|
editorView?: EditorView;
|
|
12
12
|
}
|
|
13
|
-
export declare const ClickAreaBlock: ({ editorView, editorDisabled, children }: Props) => jsx.JSX.Element;
|
|
13
|
+
export declare const ClickAreaBlock: ({ editorView, editorDisabled, children, }: Props) => jsx.JSX.Element;
|
|
14
14
|
export default ClickAreaBlock;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
7
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
10
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -14,13 +14,15 @@ import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
|
14
14
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
15
|
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
16
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
+
import type { MarkdownModePlugin } from '@atlassian/editor-plugin-markdown-mode';
|
|
17
18
|
import type EditorActions from '../../../actions';
|
|
18
19
|
import type { ContentComponents, ReactComponents } from '../../../types';
|
|
19
20
|
import type { ScrollContainerRefs } from './types';
|
|
20
21
|
type EditorAPI = PublicPluginAPI<[
|
|
21
22
|
OptionalPlugin<ContextPanelPlugin>,
|
|
22
23
|
BasePlugin,
|
|
23
|
-
OptionalPlugin<BlockMenuPlugin
|
|
24
|
+
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
+
OptionalPlugin<MarkdownModePlugin>
|
|
24
26
|
]>;
|
|
25
27
|
interface FullPageEditorContentAreaProps {
|
|
26
28
|
appearance: EditorAppearance | undefined;
|
|
@@ -48,7 +50,7 @@ interface FullPageEditorContentAreaProps {
|
|
|
48
50
|
}
|
|
49
51
|
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
50
52
|
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
51
|
-
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<
|
|
53
|
+
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
52
54
|
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
53
55
|
};
|
|
54
56
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
8
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
9
9
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
11
11
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -51,6 +51,6 @@ export interface FullPageToolbarProps {
|
|
|
51
51
|
showKeyline: boolean;
|
|
52
52
|
}
|
|
53
53
|
export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
|
|
54
|
-
export declare const FullPageToolbar: React.FC<
|
|
54
|
+
export declare const FullPageToolbar: React.FC<WithIntlProps<FullPageToolbarProps & WrappedComponentProps>> & {
|
|
55
55
|
WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps>;
|
|
56
56
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
export interface Props {
|
|
8
8
|
label?: string;
|
|
9
9
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
12
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
13
13
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
14
14
|
};
|
|
15
|
-
export default
|
|
15
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { SerializedStyles } from '@emotion/react';
|
|
8
|
-
import type { IntlShape } from 'react-intl';
|
|
8
|
+
import type { IntlShape, WithIntlProps } from 'react-intl';
|
|
9
9
|
import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
11
11
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -23,7 +23,7 @@ type SwappableContentAreaProps = {
|
|
|
23
23
|
intl: IntlShape;
|
|
24
24
|
pluginContent?: React.ReactNode;
|
|
25
25
|
} & Props;
|
|
26
|
-
export declare const SwappableContentArea: React.FC<
|
|
26
|
+
export declare const SwappableContentArea: React.FC<WithIntlProps<SwappableContentAreaProps>> & {
|
|
27
27
|
WrappedComponent: React.ComponentType<SwappableContentAreaProps>;
|
|
28
28
|
};
|
|
29
29
|
export declare function ContextPanel(props: Props): jsx.JSX.Element;
|
|
@@ -3,6 +3,6 @@ export declare const listsStyles: SerializedStyles;
|
|
|
3
3
|
export declare const diffListStyles: SerializedStyles;
|
|
4
4
|
export declare const listsStylesMarginLayoutShiftFix: SerializedStyles;
|
|
5
5
|
export declare const listsStylesSafariFix: SerializedStyles;
|
|
6
|
-
export declare const EDITOR_LIST_DENSE_GAP
|
|
6
|
+
export declare const EDITOR_LIST_DENSE_GAP: 'max(0px, calc((var(--ak-editor-base-font-size, 16px) - 13px) * (4 / 3)))';
|
|
7
7
|
export declare const getDenseListStyles: (baseFontSize?: number) => SerializedStyles;
|
|
8
8
|
export declare const listItemHiddenMarkerStyles: SerializedStyles;
|
|
@@ -3,9 +3,9 @@ export declare const resizerItemClassName = "resizer-item";
|
|
|
3
3
|
export declare const resizerHoverZoneClassName = "resizer-hover-zone";
|
|
4
4
|
export declare const resizerExtendedZone = "resizer-is-extended";
|
|
5
5
|
export declare const resizerHandleClassName = "resizer-handle";
|
|
6
|
-
export declare const resizerHandleTrackClassName
|
|
7
|
-
export declare const resizerHandleThumbClassName
|
|
8
|
-
export declare const resizerDangerClassName
|
|
6
|
+
export declare const resizerHandleTrackClassName: 'resizer-handle-track';
|
|
7
|
+
export declare const resizerHandleThumbClassName: 'resizer-handle-thumb';
|
|
8
|
+
export declare const resizerDangerClassName: 'resizer-handle-danger';
|
|
9
9
|
export declare const resizerHandleThumbWidth = 3;
|
|
10
10
|
export declare const handleWrapperClass = "resizer-handle-wrapper";
|
|
11
11
|
export declare const resizerStyles: SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { HelpDialogPlugin } from '@atlaskit/editor-plugins/help-dialog';
|
|
5
5
|
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
@@ -8,7 +8,7 @@ interface Props {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
titlePosition?: PositionType;
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
12
12
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
13
13
|
};
|
|
14
|
-
export default
|
|
14
|
+
export default _default_1;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
|
-
export declare function isChromeless(appearance?: EditorAppearance): appearance is
|
|
2
|
+
export declare function isChromeless(appearance?: EditorAppearance): appearance is 'chromeless';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
|
-
export declare function isFullPage(appearance?: EditorAppearance): appearance is
|
|
2
|
+
export declare function isFullPage(appearance?: EditorAppearance): appearance is 'full-page' | 'full-width';
|
|
@@ -4,6 +4,7 @@ import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
|
4
4
|
import type { ContextUpdateHandler, EditorActionsOptions, FeatureFlags, ReplaceRawValue, GetResolvedEditorStateReason, Transformer } from '@atlaskit/editor-common/types';
|
|
5
5
|
import { Node } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
|
+
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
7
8
|
/**
|
|
8
9
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-26729 Internal documentation for deprecation (no external access)} Editor actions is no longer supported and will be removed in a future version. Please use the core actions, or Plugin APIs directly instead
|
|
9
10
|
* @example If you were using editorActions.getValue() replace with:
|
|
@@ -49,7 +50,7 @@ export default class EditorActions<T = any> implements EditorActionsOptions<T> {
|
|
|
49
50
|
*
|
|
50
51
|
* WARNING: this may be called repeatedly, async with care
|
|
51
52
|
*/
|
|
52
|
-
getValue(): Promise<
|
|
53
|
+
getValue(): Promise<JSONDocNode | T | undefined>;
|
|
53
54
|
/**
|
|
54
55
|
* @deprecated - please use `getNodeWithPosByLocalId` found in the core plugin actions instead
|
|
55
56
|
* @example
|
|
@@ -9,7 +9,7 @@ import type { WithAppearanceComponent } from '../types/with-appearance-component
|
|
|
9
9
|
export declare function CoreEditor(props: EditorNextProps & WithAppearanceComponent): jsx.JSX.Element;
|
|
10
10
|
export declare namespace CoreEditor {
|
|
11
11
|
var propTypes: {
|
|
12
|
-
minHeight: ({ appearance, minHeight }: Pick<EditorNextProps,
|
|
12
|
+
minHeight: ({ appearance, minHeight, }: Pick<EditorNextProps, 'appearance' | 'minHeight'>) => Error | null;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
export default CoreEditor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ErrorInfo } from 'react';
|
|
3
3
|
import type { Primitive } from '@sentry/types';
|
|
4
|
-
import { default as AnalyticsReactContext } from '@atlaskit/analytics-next-stable-react-context';
|
|
4
|
+
import { default as AnalyticsReactContext, type AnalyticsReactContextInterface } from '@atlaskit/analytics-next-stable-react-context';
|
|
5
5
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
6
6
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
@@ -40,14 +40,14 @@ export declare class ErrorBoundaryWithEditorView extends React.Component<ErrorBo
|
|
|
40
40
|
render(): React.JSX.Element;
|
|
41
41
|
}
|
|
42
42
|
export declare class ErrorBoundaryWithEditorViewWithAnalyticsReactContext extends ErrorBoundaryWithEditorView {
|
|
43
|
-
static contextType: React.Context<
|
|
43
|
+
static contextType: React.Context<AnalyticsReactContextInterface>;
|
|
44
44
|
context: React.ContextType<typeof AnalyticsReactContext>;
|
|
45
45
|
constructor(props: ErrorBoundaryProps);
|
|
46
46
|
protected logException: (error: Error, tags?: {
|
|
47
47
|
[key: string]: Primitive;
|
|
48
48
|
}) => void;
|
|
49
49
|
}
|
|
50
|
-
declare const
|
|
50
|
+
declare const _default_1: React.FC<Omit<ErrorBoundaryProps, 'editorView'> & {
|
|
51
51
|
children?: React.ReactNode | undefined;
|
|
52
52
|
}>;
|
|
53
|
-
export default
|
|
53
|
+
export default _default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getUAPrefix():
|
|
1
|
+
export declare function getUAPrefix(): '' | 'ua-chrome' | 'ua-ie' | 'ua-firefox' | 'ua-safari';
|
|
@@ -3,4 +3,4 @@ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
|
3
3
|
export interface WithEditorViewInternalProps {
|
|
4
4
|
editorView?: EditorView | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare const WithEditorView: <P extends WithEditorViewInternalProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<P>>) => (props: React.PropsWithChildren<Omit<P, keyof WithEditorViewInternalProps>>) => React.JSX.Element;
|
|
6
|
+
export declare const WithEditorView: <P extends WithEditorViewInternalProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<P>>) => ((props: React.PropsWithChildren<Omit<P, keyof WithEditorViewInternalProps>>) => React.JSX.Element);
|
|
@@ -306,8 +306,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
306
306
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
307
307
|
};
|
|
308
308
|
commands: {
|
|
309
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
309
310
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
310
311
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
312
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
311
313
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
312
314
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
313
315
|
};
|
|
@@ -399,8 +401,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
399
401
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
400
402
|
};
|
|
401
403
|
commands: {
|
|
404
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
402
405
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
403
406
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
407
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
404
408
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
409
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
410
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
export declare const createEditorNativeAnchorSupportPlugin: (schema: Schema) => SafePlugin
|
|
3
|
+
export declare const createEditorNativeAnchorSupportPlugin: (schema: Schema) => SafePlugin;
|
|
@@ -393,8 +393,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
393
393
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
394
394
|
};
|
|
395
395
|
commands: {
|
|
396
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
396
397
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
397
398
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
399
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
398
400
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
399
401
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
400
402
|
};
|
|
@@ -486,8 +488,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
486
488
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
487
489
|
};
|
|
488
490
|
commands: {
|
|
491
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
489
492
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
490
493
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
494
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
491
495
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
492
496
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
493
497
|
};
|
|
@@ -306,8 +306,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
306
306
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
307
307
|
};
|
|
308
308
|
commands: {
|
|
309
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
309
310
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
310
311
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
312
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
311
313
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
312
314
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
313
315
|
};
|
|
@@ -399,8 +401,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
399
401
|
setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").MediaProvider>) => boolean;
|
|
400
402
|
};
|
|
401
403
|
commands: {
|
|
404
|
+
clearAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
402
405
|
hideMediaViewer: import("@atlaskit/editor-common/types").EditorCommand;
|
|
403
406
|
insertMediaSingle: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs, inputMethod: import("@atlaskit/editor-common/analytics").InputMethodInsertMedia, insertMediaVia?: import("@atlaskit/editor-common/analytics").InsertMediaVia) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
407
|
+
setAIGenerating: (mediaId: string) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
404
408
|
showMediaViewer: (media: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
405
409
|
trackMediaPaste: (attrs: import("@atlaskit/adf-schema").MediaADFAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
406
410
|
};
|
|
@@ -10,5 +10,5 @@ export interface Props {
|
|
|
10
10
|
editorDisabled?: boolean;
|
|
11
11
|
editorView?: EditorView;
|
|
12
12
|
}
|
|
13
|
-
export declare const ClickAreaBlock: ({ editorView, editorDisabled, children }: Props) => jsx.JSX.Element;
|
|
13
|
+
export declare const ClickAreaBlock: ({ editorView, editorDisabled, children, }: Props) => jsx.JSX.Element;
|
|
14
14
|
export default ClickAreaBlock;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
7
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
8
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
9
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
10
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -14,13 +14,15 @@ import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
|
14
14
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
15
|
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
16
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
+
import type { MarkdownModePlugin } from '@atlassian/editor-plugin-markdown-mode';
|
|
17
18
|
import type EditorActions from '../../../actions';
|
|
18
19
|
import type { ContentComponents, ReactComponents } from '../../../types';
|
|
19
20
|
import type { ScrollContainerRefs } from './types';
|
|
20
21
|
type EditorAPI = PublicPluginAPI<[
|
|
21
22
|
OptionalPlugin<ContextPanelPlugin>,
|
|
22
23
|
BasePlugin,
|
|
23
|
-
OptionalPlugin<BlockMenuPlugin
|
|
24
|
+
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
+
OptionalPlugin<MarkdownModePlugin>
|
|
24
26
|
]>;
|
|
25
27
|
interface FullPageEditorContentAreaProps {
|
|
26
28
|
appearance: EditorAppearance | undefined;
|
|
@@ -48,7 +50,7 @@ interface FullPageEditorContentAreaProps {
|
|
|
48
50
|
}
|
|
49
51
|
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
50
52
|
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
51
|
-
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<
|
|
53
|
+
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
52
54
|
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
53
55
|
};
|
|
54
56
|
export {};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { ReactElement } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
8
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
9
9
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
10
10
|
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
11
11
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
@@ -51,6 +51,6 @@ export interface FullPageToolbarProps {
|
|
|
51
51
|
showKeyline: boolean;
|
|
52
52
|
}
|
|
53
53
|
export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
|
|
54
|
-
export declare const FullPageToolbar: React.FC<
|
|
54
|
+
export declare const FullPageToolbar: React.FC<WithIntlProps<FullPageToolbarProps & WrappedComponentProps>> & {
|
|
55
55
|
WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps>;
|
|
56
56
|
};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
7
|
export interface Props {
|
|
8
8
|
label?: string;
|
|
9
9
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
12
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
13
13
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
14
14
|
};
|
|
15
|
-
export default
|
|
15
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { SerializedStyles } from '@emotion/react';
|
|
8
|
-
import type { IntlShape } from 'react-intl';
|
|
8
|
+
import type { IntlShape, WithIntlProps } from 'react-intl';
|
|
9
9
|
import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
10
10
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
11
11
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -25,7 +25,7 @@ type SwappableContentAreaProps = {
|
|
|
25
25
|
intl: IntlShape;
|
|
26
26
|
pluginContent?: React.ReactNode;
|
|
27
27
|
} & Props;
|
|
28
|
-
export declare const SwappableContentArea: React.FC<
|
|
28
|
+
export declare const SwappableContentArea: React.FC<WithIntlProps<SwappableContentAreaProps>> & {
|
|
29
29
|
WrappedComponent: React.ComponentType<SwappableContentAreaProps>;
|
|
30
30
|
};
|
|
31
31
|
export declare function ContextPanel(props: Props): jsx.JSX.Element;
|
|
@@ -3,6 +3,6 @@ export declare const listsStyles: SerializedStyles;
|
|
|
3
3
|
export declare const diffListStyles: SerializedStyles;
|
|
4
4
|
export declare const listsStylesMarginLayoutShiftFix: SerializedStyles;
|
|
5
5
|
export declare const listsStylesSafariFix: SerializedStyles;
|
|
6
|
-
export declare const EDITOR_LIST_DENSE_GAP
|
|
6
|
+
export declare const EDITOR_LIST_DENSE_GAP: 'max(0px, calc((var(--ak-editor-base-font-size, 16px) - 13px) * (4 / 3)))';
|
|
7
7
|
export declare const getDenseListStyles: (baseFontSize?: number) => SerializedStyles;
|
|
8
8
|
export declare const listItemHiddenMarkerStyles: SerializedStyles;
|
|
@@ -3,9 +3,9 @@ export declare const resizerItemClassName = "resizer-item";
|
|
|
3
3
|
export declare const resizerHoverZoneClassName = "resizer-hover-zone";
|
|
4
4
|
export declare const resizerExtendedZone = "resizer-is-extended";
|
|
5
5
|
export declare const resizerHandleClassName = "resizer-handle";
|
|
6
|
-
export declare const resizerHandleTrackClassName
|
|
7
|
-
export declare const resizerHandleThumbClassName
|
|
8
|
-
export declare const resizerDangerClassName
|
|
6
|
+
export declare const resizerHandleTrackClassName: 'resizer-handle-track';
|
|
7
|
+
export declare const resizerHandleThumbClassName: 'resizer-handle-thumb';
|
|
8
|
+
export declare const resizerDangerClassName: 'resizer-handle-danger';
|
|
9
9
|
export declare const resizerHandleThumbWidth = 3;
|
|
10
10
|
export declare const handleWrapperClass = "resizer-handle-wrapper";
|
|
11
11
|
export declare const resizerStyles: SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps } from 'react-intl';
|
|
2
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { HelpDialogPlugin } from '@atlaskit/editor-plugins/help-dialog';
|
|
5
5
|
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
@@ -8,7 +8,7 @@ interface Props {
|
|
|
8
8
|
title?: string;
|
|
9
9
|
titlePosition?: PositionType;
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const _default_1: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
12
12
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
13
13
|
};
|
|
14
|
-
export default
|
|
14
|
+
export default _default_1;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
|
-
export declare function isChromeless(appearance?: EditorAppearance): appearance is
|
|
2
|
+
export declare function isChromeless(appearance?: EditorAppearance): appearance is 'chromeless';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
|
-
export declare function isFullPage(appearance?: EditorAppearance): appearance is
|
|
2
|
+
export declare function isFullPage(appearance?: EditorAppearance): appearance is 'full-page' | 'full-width';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.1.
|
|
3
|
+
"version": "219.1.7",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
57
57
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
58
58
|
"@atlaskit/editor-plugin-connectivity": "^10.0.0",
|
|
59
|
-
"@atlaskit/editor-plugin-quick-insert": "^10.
|
|
59
|
+
"@atlaskit/editor-plugin-quick-insert": "^10.2.0",
|
|
60
60
|
"@atlaskit/editor-plugin-user-preferences": "^8.0.0",
|
|
61
61
|
"@atlaskit/editor-plugins": "^13.0.0",
|
|
62
62
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^5.16.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.0.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^70.2.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^21.2.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"uuid": "^3.1.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@atlaskit/editor-common": "^114.
|
|
94
|
+
"@atlaskit/editor-common": "^114.11.0",
|
|
95
95
|
"@atlaskit/link-provider": "^4.3.0",
|
|
96
96
|
"@atlaskit/media-core": "^37.0.0",
|
|
97
97
|
"react": "^18.2.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/link-provider": "^4.3.0",
|
|
114
114
|
"@atlaskit/linking-common": "^9.11.0",
|
|
115
|
-
"@atlaskit/logo": "^20.
|
|
115
|
+
"@atlaskit/logo": "^20.1.0",
|
|
116
116
|
"@atlaskit/media-core": "^37.0.0",
|
|
117
117
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
118
118
|
"@atlaskit/media-test-helpers": "^41.0.0",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"@atlassian/editor-rovo-bridge": "^8.4.0",
|
|
129
129
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
130
130
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
131
|
-
"@atlassian/search-client": "^1.
|
|
131
|
+
"@atlassian/search-client": "^1.4.0",
|
|
132
132
|
"@atlassian/search-provider": "^11.0.0",
|
|
133
133
|
"@emotion/jest": "^11.8.0",
|
|
134
134
|
"@testing-library/react": "^16.3.0",
|
|
@@ -315,6 +315,9 @@
|
|
|
315
315
|
},
|
|
316
316
|
"platform-dst-lozenge-tag-badge-visual-uplifts": {
|
|
317
317
|
"type": "boolean"
|
|
318
|
+
},
|
|
319
|
+
"platform_editor_chromeless_akeditor_class": {
|
|
320
|
+
"type": "boolean"
|
|
318
321
|
}
|
|
319
322
|
},
|
|
320
323
|
"stricter": {
|