@atlaskit/editor-core 201.1.4 → 201.1.6
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 +25 -0
- package/dist/cjs/composable-editor/editor-internal.js +57 -1
- package/dist/cjs/create-editor/ReactEditorView/formatFullWidthAppearance.js +13 -0
- package/dist/cjs/create-editor/ReactEditorView/getUAPrefix.js +19 -0
- package/dist/cjs/create-editor/ReactEditorView/handleEditorFocus.js +44 -0
- package/dist/cjs/create-editor/ReactEditorView/useDispatchTransaction.js +90 -0
- package/dist/cjs/create-editor/ReactEditorView/useFireFullWidthEvent.js +28 -0
- package/dist/cjs/create-editor/ReactEditorView/usePluginPerformanceObserver.js +48 -0
- package/dist/cjs/create-editor/ReactEditorViewNext.js +538 -0
- package/dist/cjs/presets/universal.js +2 -1
- package/dist/cjs/ui/Addon/click-area-helper.js +0 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +58 -1
- package/dist/es2019/create-editor/ReactEditorView/formatFullWidthAppearance.js +7 -0
- package/dist/es2019/create-editor/ReactEditorView/getUAPrefix.js +13 -0
- package/dist/es2019/create-editor/ReactEditorView/handleEditorFocus.js +38 -0
- package/dist/es2019/create-editor/ReactEditorView/useDispatchTransaction.js +82 -0
- package/dist/es2019/create-editor/ReactEditorView/useFireFullWidthEvent.js +22 -0
- package/dist/es2019/create-editor/ReactEditorView/usePluginPerformanceObserver.js +32 -0
- package/dist/es2019/create-editor/ReactEditorViewNext.js +515 -0
- package/dist/es2019/presets/universal.js +2 -1
- package/dist/es2019/ui/Addon/click-area-helper.js +0 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +57 -1
- package/dist/esm/create-editor/ReactEditorView/formatFullWidthAppearance.js +7 -0
- package/dist/esm/create-editor/ReactEditorView/getUAPrefix.js +13 -0
- package/dist/esm/create-editor/ReactEditorView/handleEditorFocus.js +38 -0
- package/dist/esm/create-editor/ReactEditorView/useDispatchTransaction.js +84 -0
- package/dist/esm/create-editor/ReactEditorView/useFireFullWidthEvent.js +22 -0
- package/dist/esm/create-editor/ReactEditorView/usePluginPerformanceObserver.js +42 -0
- package/dist/esm/create-editor/ReactEditorViewNext.js +528 -0
- package/dist/esm/presets/universal.js +2 -1
- package/dist/esm/ui/Addon/click-area-helper.js +0 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/ReactEditorView/formatFullWidthAppearance.d.ts +3 -0
- package/dist/types/create-editor/ReactEditorView/getUAPrefix.d.ts +1 -0
- package/dist/types/create-editor/ReactEditorView/handleEditorFocus.d.ts +2 -0
- package/dist/types/create-editor/ReactEditorView/useDispatchTransaction.d.ts +12 -0
- package/dist/types/create-editor/ReactEditorView/useFireFullWidthEvent.d.ts +3 -0
- package/dist/types/create-editor/ReactEditorView/usePluginPerformanceObserver.d.ts +5 -0
- package/dist/types/create-editor/ReactEditorViewNext.d.ts +48 -0
- package/dist/types/create-editor/create-universal-preset.d.ts +12 -2
- package/dist/types/presets/default.d.ts +8 -0
- package/dist/types/presets/universal.d.ts +12 -2
- package/dist/types/presets/useUniversalPreset.d.ts +12 -2
- package/dist/types/types/editor-config.d.ts +1 -2
- package/dist/types-ts4.5/create-editor/ReactEditorView/formatFullWidthAppearance.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView/getUAPrefix.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView/handleEditorFocus.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView/useDispatchTransaction.d.ts +12 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView/useFireFullWidthEvent.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView/usePluginPerformanceObserver.d.ts +5 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +48 -0
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +15 -2
- package/dist/types-ts4.5/presets/default.d.ts +8 -0
- package/dist/types-ts4.5/presets/universal.d.ts +15 -2
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +15 -2
- package/dist/types-ts4.5/types/editor-config.d.ts +1 -2
- package/package.json +20 -9
|
@@ -200,7 +200,8 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
200
200
|
// @ts-expect-error 2322: Type 'false | PlaceholderTextOptions | undefined'
|
|
201
201
|
props.allowTemplatePlaceholders !== true ? props.allowTemplatePlaceholders : {}], Boolean(props.allowTemplatePlaceholders)).maybeAdd([layoutPlugin, _objectSpread(_objectSpread({}, _typeof(props.allowLayouts) === 'object' ? props.allowLayouts : {}), {}, {
|
|
202
202
|
useLongPressSelection: false,
|
|
203
|
-
UNSAFE_allowSingleColumnLayout: _typeof(props.allowLayouts) === 'object' ? props.allowLayouts.UNSAFE_allowSingleColumnLayout : undefined
|
|
203
|
+
UNSAFE_allowSingleColumnLayout: _typeof(props.allowLayouts) === 'object' ? props.allowLayouts.UNSAFE_allowSingleColumnLayout : undefined,
|
|
204
|
+
editorAppearance: appearance
|
|
204
205
|
})], Boolean(props.allowLayouts)).maybeAdd([cardPlugin, _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, props.UNSAFE_cards), props.smartLinks), (_props$linking = props.linking) === null || _props$linking === void 0 ? void 0 : _props$linking.smartLinks), {}, {
|
|
205
206
|
fullWidthMode: appearance === 'full-width',
|
|
206
207
|
linkPicker: (_props$linking2 = props.linking) === null || _props$linking2 === void 0 ? void 0 : _props$linking2.linkPicker,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "201.1.
|
|
2
|
+
export var version = "201.1.6";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getUAPrefix(): "" | "ua-chrome" | "ua-ie" | "ua-firefox" | "ua-safari";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { EditorViewStateUpdatedCallbackProps } from '../../types/editor-config';
|
|
5
|
+
import type { EditorOnChangeHandler } from '../../types/editor-onchange';
|
|
6
|
+
type DispatchTransaction = (view: EditorView | undefined, tr: Transaction) => EditorState | undefined;
|
|
7
|
+
export declare const useDispatchTransaction: ({ onChange, dispatchAnalyticsEvent, onEditorViewUpdated, }: {
|
|
8
|
+
onChange: EditorOnChangeHandler | undefined;
|
|
9
|
+
dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void;
|
|
10
|
+
onEditorViewUpdated: (params: EditorViewStateUpdatedCallbackProps) => void;
|
|
11
|
+
}) => DispatchTransaction;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
3
|
+
export declare const useFireFullWidthEvent: (appearance: EditorAppearance | undefined, dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void) => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import { type EditorPluginInjectionAPI } from '@atlaskit/editor-common/preset';
|
|
4
|
+
import { type EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
|
+
export declare const usePluginPerformanceObserver: (editorState: React.MutableRefObject<EditorState>, pluginInjectionAPI: React.MutableRefObject<EditorPluginInjectionAPI>, dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void) => void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
+
import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
6
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
8
|
+
import type { PublicPluginAPI, Transformer } from '@atlaskit/editor-common/types';
|
|
9
|
+
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
|
+
import { EventDispatcher } from '../event-dispatcher';
|
|
11
|
+
import type { EditorConfig, EditorProps } from '../types';
|
|
12
|
+
import type { EditorNextProps } from '../types/editor-props';
|
|
13
|
+
export interface EditorViewProps extends WrappedComponentProps {
|
|
14
|
+
editorProps: (EditorProps | EditorNextProps) & {
|
|
15
|
+
preset?: EditorNextProps['preset'];
|
|
16
|
+
};
|
|
17
|
+
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
18
|
+
providerFactory: ProviderFactory;
|
|
19
|
+
portalProviderAPI: PortalProviderAPI;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
render?: (props: {
|
|
22
|
+
editor: JSX.Element;
|
|
23
|
+
view?: EditorView;
|
|
24
|
+
config: EditorConfig;
|
|
25
|
+
eventDispatcher: EventDispatcher;
|
|
26
|
+
transformer?: Transformer<string>;
|
|
27
|
+
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
28
|
+
editorRef: React.RefObject<HTMLDivElement>;
|
|
29
|
+
editorAPI: PublicPluginAPI<any> | undefined;
|
|
30
|
+
}) => JSX.Element;
|
|
31
|
+
onEditorCreated: (instance: {
|
|
32
|
+
view: EditorView;
|
|
33
|
+
config: EditorConfig;
|
|
34
|
+
eventDispatcher: EventDispatcher;
|
|
35
|
+
transformer?: Transformer<string>;
|
|
36
|
+
}) => void;
|
|
37
|
+
onEditorDestroyed: (instance: {
|
|
38
|
+
view: EditorView;
|
|
39
|
+
config: EditorConfig;
|
|
40
|
+
eventDispatcher: EventDispatcher;
|
|
41
|
+
transformer?: Transformer<string>;
|
|
42
|
+
}) => void;
|
|
43
|
+
preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
|
|
44
|
+
}
|
|
45
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<EditorViewProps>> & {
|
|
46
|
+
WrappedComponent: React.ComponentType<EditorViewProps>;
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -1834,7 +1834,11 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1834
1834
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1835
1835
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1836
1836
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1837
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1837
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1838
|
+
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1839
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1840
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1841
|
+
}, undefined>>];
|
|
1838
1842
|
actions: {
|
|
1839
1843
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE, formatMessage?: {
|
|
1840
1844
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
@@ -4434,7 +4438,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
4434
4438
|
};
|
|
4435
4439
|
}, {
|
|
4436
4440
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4437
|
-
} | undefined
|
|
4441
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4442
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4443
|
+
}, undefined>>];
|
|
4438
4444
|
sharedState: Partial<import("@atlaskit/editor-plugin-breakout").BreakoutPluginState>;
|
|
4439
4445
|
}, import("@atlaskit/editor-plugin-breakout").BreakoutPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
4440
4446
|
actions: {
|
|
@@ -5789,6 +5795,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5789
5795
|
}, {
|
|
5790
5796
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5791
5797
|
} | undefined>>];
|
|
5798
|
+
actions?: {
|
|
5799
|
+
suppressToolbar: () => boolean;
|
|
5800
|
+
unsuppressToolbar: () => boolean;
|
|
5801
|
+
} | undefined;
|
|
5792
5802
|
}, {
|
|
5793
5803
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
5794
5804
|
}>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
@@ -1374,6 +1374,10 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1374
1374
|
}, {
|
|
1375
1375
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1376
1376
|
} | undefined>>];
|
|
1377
|
+
actions?: {
|
|
1378
|
+
suppressToolbar: () => boolean;
|
|
1379
|
+
unsuppressToolbar: () => boolean;
|
|
1380
|
+
} | undefined;
|
|
1377
1381
|
}, {
|
|
1378
1382
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
1379
1383
|
}>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
@@ -3985,6 +3989,10 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3985
3989
|
}, {
|
|
3986
3990
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3987
3991
|
} | undefined>>];
|
|
3992
|
+
actions?: {
|
|
3993
|
+
suppressToolbar: () => boolean;
|
|
3994
|
+
unsuppressToolbar: () => boolean;
|
|
3995
|
+
} | undefined;
|
|
3988
3996
|
}, {
|
|
3989
3997
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
3990
3998
|
}>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
@@ -1885,7 +1885,11 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1885
1885
|
sharedState: FeatureFlags;
|
|
1886
1886
|
}, FeatureFlags>>];
|
|
1887
1887
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1888
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1888
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1889
|
+
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
1890
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1891
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1892
|
+
}, undefined>>];
|
|
1889
1893
|
actions: {
|
|
1890
1894
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE, formatMessage?: {
|
|
1891
1895
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
@@ -4485,7 +4489,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
4485
4489
|
};
|
|
4486
4490
|
}, {
|
|
4487
4491
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4488
|
-
} | undefined
|
|
4492
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4493
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4494
|
+
}, undefined>>];
|
|
4489
4495
|
sharedState: Partial<import("@atlaskit/editor-plugins/breakout").BreakoutPluginState>;
|
|
4490
4496
|
}, import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
4491
4497
|
actions: {
|
|
@@ -5840,6 +5846,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5840
5846
|
}, {
|
|
5841
5847
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5842
5848
|
} | undefined>>];
|
|
5849
|
+
actions?: {
|
|
5850
|
+
suppressToolbar: () => boolean;
|
|
5851
|
+
unsuppressToolbar: () => boolean;
|
|
5852
|
+
} | undefined;
|
|
5843
5853
|
}, {
|
|
5844
5854
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
5845
5855
|
}>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
@@ -1834,7 +1834,11 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1834
1834
|
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1835
1835
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
1836
1836
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1837
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
1837
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
1838
|
+
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
1839
|
+
}, undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
1840
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
1841
|
+
}, undefined>>];
|
|
1838
1842
|
actions: {
|
|
1839
1843
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE, formatMessage?: {
|
|
1840
1844
|
(descriptor: import("react-intl-next").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
@@ -4434,7 +4438,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
4434
4438
|
};
|
|
4435
4439
|
}, {
|
|
4436
4440
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4437
|
-
} | undefined
|
|
4441
|
+
} | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
4442
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
4443
|
+
}, undefined>>];
|
|
4438
4444
|
sharedState: Partial<import("@atlaskit/editor-plugin-breakout").BreakoutPluginState>;
|
|
4439
4445
|
}, import("@atlaskit/editor-plugin-breakout").BreakoutPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"batchAttributeUpdates", {
|
|
4440
4446
|
actions: {
|
|
@@ -5789,6 +5795,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5789
5795
|
}, {
|
|
5790
5796
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5791
5797
|
} | undefined>>];
|
|
5798
|
+
actions?: {
|
|
5799
|
+
suppressToolbar: () => boolean;
|
|
5800
|
+
unsuppressToolbar: () => boolean;
|
|
5801
|
+
} | undefined;
|
|
5792
5802
|
}, {
|
|
5793
5803
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
5794
5804
|
}>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
|
|
@@ -3,7 +3,7 @@ import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/stat
|
|
|
3
3
|
import type { ToolbarUIComponentFactory } from '../ui/Toolbar/types';
|
|
4
4
|
import type { MarkConfig, NodeConfig } from './pm-config';
|
|
5
5
|
import type { PMPlugin } from './pm-plugin';
|
|
6
|
-
type EditorViewStateUpdatedCallbackProps = {
|
|
6
|
+
export type EditorViewStateUpdatedCallbackProps = {
|
|
7
7
|
readonly originalTransaction: Readonly<Transaction>;
|
|
8
8
|
readonly transactions: readonly Transaction[];
|
|
9
9
|
readonly oldEditorState: Readonly<EditorState>;
|
|
@@ -22,4 +22,3 @@ export interface EditorConfig {
|
|
|
22
22
|
callback: (props: EditorViewStateUpdatedCallbackProps) => void;
|
|
23
23
|
}>;
|
|
24
24
|
}
|
|
25
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getUAPrefix(): "" | "ua-chrome" | "ua-ie" | "ua-firefox" | "ua-safari";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { EditorViewStateUpdatedCallbackProps } from '../../types/editor-config';
|
|
5
|
+
import type { EditorOnChangeHandler } from '../../types/editor-onchange';
|
|
6
|
+
type DispatchTransaction = (view: EditorView | undefined, tr: Transaction) => EditorState | undefined;
|
|
7
|
+
export declare const useDispatchTransaction: ({ onChange, dispatchAnalyticsEvent, onEditorViewUpdated, }: {
|
|
8
|
+
onChange: EditorOnChangeHandler | undefined;
|
|
9
|
+
dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void;
|
|
10
|
+
onEditorViewUpdated: (params: EditorViewStateUpdatedCallbackProps) => void;
|
|
11
|
+
}) => DispatchTransaction;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
3
|
+
export declare const useFireFullWidthEvent: (appearance: EditorAppearance | undefined, dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void) => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import { type EditorPluginInjectionAPI } from '@atlaskit/editor-common/preset';
|
|
4
|
+
import { type EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
|
+
export declare const usePluginPerformanceObserver: (editorState: React.MutableRefObject<EditorState>, pluginInjectionAPI: React.MutableRefObject<EditorPluginInjectionAPI>, dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void) => void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
+
import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
6
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
|
+
import type { PortalProviderAPI } from '@atlaskit/editor-common/src/portal';
|
|
8
|
+
import type { PublicPluginAPI, Transformer } from '@atlaskit/editor-common/types';
|
|
9
|
+
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
|
+
import { EventDispatcher } from '../event-dispatcher';
|
|
11
|
+
import type { EditorConfig, EditorProps } from '../types';
|
|
12
|
+
import type { EditorNextProps } from '../types/editor-props';
|
|
13
|
+
export interface EditorViewProps extends WrappedComponentProps {
|
|
14
|
+
editorProps: (EditorProps | EditorNextProps) & {
|
|
15
|
+
preset?: EditorNextProps['preset'];
|
|
16
|
+
};
|
|
17
|
+
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
18
|
+
providerFactory: ProviderFactory;
|
|
19
|
+
portalProviderAPI: PortalProviderAPI;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
render?: (props: {
|
|
22
|
+
editor: JSX.Element;
|
|
23
|
+
view?: EditorView;
|
|
24
|
+
config: EditorConfig;
|
|
25
|
+
eventDispatcher: EventDispatcher;
|
|
26
|
+
transformer?: Transformer<string>;
|
|
27
|
+
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
28
|
+
editorRef: React.RefObject<HTMLDivElement>;
|
|
29
|
+
editorAPI: PublicPluginAPI<any> | undefined;
|
|
30
|
+
}) => JSX.Element;
|
|
31
|
+
onEditorCreated: (instance: {
|
|
32
|
+
view: EditorView;
|
|
33
|
+
config: EditorConfig;
|
|
34
|
+
eventDispatcher: EventDispatcher;
|
|
35
|
+
transformer?: Transformer<string>;
|
|
36
|
+
}) => void;
|
|
37
|
+
onEditorDestroyed: (instance: {
|
|
38
|
+
view: EditorView;
|
|
39
|
+
config: EditorConfig;
|
|
40
|
+
eventDispatcher: EventDispatcher;
|
|
41
|
+
transformer?: Transformer<string>;
|
|
42
|
+
}) => void;
|
|
43
|
+
preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
|
|
44
|
+
}
|
|
45
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<EditorViewProps>> & {
|
|
46
|
+
WrappedComponent: React.ComponentType<EditorViewProps>;
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|
|
@@ -2281,7 +2281,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
2281
2281
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2282
2282
|
];
|
|
2283
2283
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2284
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2284
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2285
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2286
|
+
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2287
|
+
}, undefined>>,
|
|
2288
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2289
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2290
|
+
}, undefined>>
|
|
2285
2291
|
];
|
|
2286
2292
|
actions: {
|
|
2287
2293
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE, formatMessage?: {
|
|
@@ -5407,7 +5413,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
5407
5413
|
};
|
|
5408
5414
|
}, {
|
|
5409
5415
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5410
|
-
} | undefined
|
|
5416
|
+
} | undefined>>,
|
|
5417
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
5418
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
5419
|
+
}, undefined>>
|
|
5411
5420
|
];
|
|
5412
5421
|
sharedState: Partial<import("@atlaskit/editor-plugin-breakout").BreakoutPluginState>;
|
|
5413
5422
|
}, import("@atlaskit/editor-plugin-breakout").BreakoutPluginOptions | undefined> | undefined,
|
|
@@ -7041,6 +7050,10 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
7041
7050
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7042
7051
|
} | undefined>>
|
|
7043
7052
|
];
|
|
7053
|
+
actions?: {
|
|
7054
|
+
suppressToolbar: () => boolean;
|
|
7055
|
+
unsuppressToolbar: () => boolean;
|
|
7056
|
+
} | undefined;
|
|
7044
7057
|
}, {
|
|
7045
7058
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
7046
7059
|
}>,
|
|
@@ -1673,6 +1673,10 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1673
1673
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1674
1674
|
} | undefined>>
|
|
1675
1675
|
];
|
|
1676
|
+
actions?: {
|
|
1677
|
+
suppressToolbar: () => boolean;
|
|
1678
|
+
unsuppressToolbar: () => boolean;
|
|
1679
|
+
} | undefined;
|
|
1676
1680
|
}, {
|
|
1677
1681
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
1678
1682
|
}>,
|
|
@@ -4843,6 +4847,10 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
4843
4847
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4844
4848
|
} | undefined>>
|
|
4845
4849
|
];
|
|
4850
|
+
actions?: {
|
|
4851
|
+
suppressToolbar: () => boolean;
|
|
4852
|
+
unsuppressToolbar: () => boolean;
|
|
4853
|
+
} | undefined;
|
|
4846
4854
|
}, {
|
|
4847
4855
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
4848
4856
|
}>,
|
|
@@ -2332,7 +2332,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
2332
2332
|
}, FeatureFlags>>
|
|
2333
2333
|
];
|
|
2334
2334
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2335
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2335
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2336
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2337
|
+
sharedState: import("@atlaskit/editor-common/types").EditorContainerWidth | undefined;
|
|
2338
|
+
}, undefined>>,
|
|
2339
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2340
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2341
|
+
}, undefined>>
|
|
2336
2342
|
];
|
|
2337
2343
|
actions: {
|
|
2338
2344
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE, formatMessage?: {
|
|
@@ -5458,7 +5464,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
5458
5464
|
};
|
|
5459
5465
|
}, {
|
|
5460
5466
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5461
|
-
} | undefined
|
|
5467
|
+
} | undefined>>,
|
|
5468
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
5469
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
5470
|
+
}, undefined>>
|
|
5462
5471
|
];
|
|
5463
5472
|
sharedState: Partial<import("@atlaskit/editor-plugins/breakout").BreakoutPluginState>;
|
|
5464
5473
|
}, import("@atlaskit/editor-plugins/breakout").BreakoutPluginOptions | undefined> | undefined,
|
|
@@ -7092,6 +7101,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
7092
7101
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7093
7102
|
} | undefined>>
|
|
7094
7103
|
];
|
|
7104
|
+
actions?: {
|
|
7105
|
+
suppressToolbar: () => boolean;
|
|
7106
|
+
unsuppressToolbar: () => boolean;
|
|
7107
|
+
} | undefined;
|
|
7095
7108
|
}, {
|
|
7096
7109
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
7097
7110
|
}>,
|
|
@@ -2281,7 +2281,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
2281
2281
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2282
2282
|
];
|
|
2283
2283
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
2284
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
2284
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
2285
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"width", {
|
|
2286
|
+
sharedState: import("@atlaskit/editor-plugin-width").WidthPluginState | undefined;
|
|
2287
|
+
}, undefined>>,
|
|
2288
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2289
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2290
|
+
}, undefined>>
|
|
2285
2291
|
];
|
|
2286
2292
|
actions: {
|
|
2287
2293
|
insertLayoutColumns: (inputMethod: import("@atlaskit/editor-common/types").TOOLBAR_MENU_TYPE, formatMessage?: {
|
|
@@ -5407,7 +5413,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
5407
5413
|
};
|
|
5408
5414
|
}, {
|
|
5409
5415
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
5410
|
-
} | undefined
|
|
5416
|
+
} | undefined>>,
|
|
5417
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
5418
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
5419
|
+
}, undefined>>
|
|
5411
5420
|
];
|
|
5412
5421
|
sharedState: Partial<import("@atlaskit/editor-plugin-breakout").BreakoutPluginState>;
|
|
5413
5422
|
}, import("@atlaskit/editor-plugin-breakout").BreakoutPluginOptions | undefined> | undefined,
|
|
@@ -7041,6 +7050,10 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
7041
7050
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
7042
7051
|
} | undefined>>
|
|
7043
7052
|
];
|
|
7053
|
+
actions?: {
|
|
7054
|
+
suppressToolbar: () => boolean;
|
|
7055
|
+
unsuppressToolbar: () => boolean;
|
|
7056
|
+
} | undefined;
|
|
7044
7057
|
}, {
|
|
7045
7058
|
preferenceToolbarAboveSelection?: boolean | undefined;
|
|
7046
7059
|
}>,
|
|
@@ -3,7 +3,7 @@ import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/stat
|
|
|
3
3
|
import type { ToolbarUIComponentFactory } from '../ui/Toolbar/types';
|
|
4
4
|
import type { MarkConfig, NodeConfig } from './pm-config';
|
|
5
5
|
import type { PMPlugin } from './pm-plugin';
|
|
6
|
-
type EditorViewStateUpdatedCallbackProps = {
|
|
6
|
+
export type EditorViewStateUpdatedCallbackProps = {
|
|
7
7
|
readonly originalTransaction: Readonly<Transaction>;
|
|
8
8
|
readonly transactions: readonly Transaction[];
|
|
9
9
|
readonly oldEditorState: Readonly<EditorState>;
|
|
@@ -22,4 +22,3 @@ export interface EditorConfig {
|
|
|
22
22
|
callback: (props: EditorViewStateUpdatedCallbackProps) => void;
|
|
23
23
|
}>;
|
|
24
24
|
}
|
|
25
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "201.1.
|
|
3
|
+
"version": "201.1.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.3.0",
|
|
46
|
-
"@atlaskit/editor-common": "^94.
|
|
46
|
+
"@atlaskit/editor-common": "^94.12.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.20.0",
|
|
48
|
-
"@atlaskit/editor-plugin-quick-insert": "1.6.
|
|
48
|
+
"@atlaskit/editor-plugin-quick-insert": "1.6.1",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.6.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
51
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
51
|
+
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^67.9.0",
|
|
53
53
|
"@atlaskit/icon": "^22.24.0",
|
|
54
54
|
"@atlaskit/media-card": "^78.10.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
57
|
"@atlaskit/task-decision": "^17.11.0",
|
|
58
58
|
"@atlaskit/tmp-editor-statsig": "^2.11.0",
|
|
59
|
-
"@atlaskit/tokens": "^2.
|
|
59
|
+
"@atlaskit/tokens": "^2.1.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.8.0",
|
|
61
61
|
"@atlaskit/width-detector": "^4.3.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"@atlaskit/media-test-helpers": "^34.5.0",
|
|
96
96
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
97
97
|
"@atlaskit/primitives": "^13.0.0",
|
|
98
|
-
"@atlaskit/renderer": "^112.
|
|
99
|
-
"@atlaskit/smart-card": "^30.
|
|
98
|
+
"@atlaskit/renderer": "^112.3.0",
|
|
99
|
+
"@atlaskit/smart-card": "^30.2.0",
|
|
100
100
|
"@atlaskit/synchrony-test-helpers": "^2.5.0",
|
|
101
101
|
"@atlaskit/toggle": "^13.4.0",
|
|
102
102
|
"@atlaskit/util-data-test": "^17.11.0",
|
|
@@ -164,14 +164,14 @@
|
|
|
164
164
|
"type": "boolean",
|
|
165
165
|
"referenceOnly": "true"
|
|
166
166
|
},
|
|
167
|
-
"
|
|
167
|
+
"platform_editor_media_extended_resize_experience": {
|
|
168
168
|
"type": "boolean",
|
|
169
169
|
"referenceOnly": "true"
|
|
170
170
|
},
|
|
171
171
|
"platform_editor_prevent_toolbar_width_reflow": {
|
|
172
172
|
"type": "boolean"
|
|
173
173
|
},
|
|
174
|
-
"platform
|
|
174
|
+
"platform-editor-single-player-expand": {
|
|
175
175
|
"type": "boolean",
|
|
176
176
|
"referenceOnly": "true"
|
|
177
177
|
},
|
|
@@ -300,6 +300,9 @@
|
|
|
300
300
|
"type": "boolean",
|
|
301
301
|
"referenceOnly": true
|
|
302
302
|
},
|
|
303
|
+
"platform_editor_react_editor_view_react_18": {
|
|
304
|
+
"type": "boolean"
|
|
305
|
+
},
|
|
303
306
|
"platform_editor_advanced_layouts_pre_release_1": {
|
|
304
307
|
"type": "boolean"
|
|
305
308
|
},
|
|
@@ -318,6 +321,14 @@
|
|
|
318
321
|
"platform_editor_replace_finddomnode_in_common": {
|
|
319
322
|
"type": "boolean",
|
|
320
323
|
"referenceOnly": true
|
|
324
|
+
},
|
|
325
|
+
"platform_editor_expand_auto_scroll": {
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"referenceOnly": true
|
|
328
|
+
},
|
|
329
|
+
"platform_editor_advanced_layouts_breakout_resizing": {
|
|
330
|
+
"type": "boolean",
|
|
331
|
+
"referenceOnly": true
|
|
321
332
|
}
|
|
322
333
|
},
|
|
323
334
|
"stricter": {
|