@atlaskit/editor-core 226.1.6 → 226.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/actions/temp-to-json.js +2 -2
- package/dist/cjs/create-editor/ErrorBoundary.js +1 -1
- package/dist/cjs/create-editor/ReactEditorView.js +1 -1
- package/dist/cjs/presets/universal.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +4 -4
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +4 -4
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +4 -4
- package/dist/cjs/ui/ChromeCollapsed/index.js +1 -1
- package/dist/cjs/ui/ContextPanel/index.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +7 -7
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +25 -25
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -2
- package/dist/cjs/ui/ToolbarHelp/index.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/actions/temp-to-json.js +1 -1
- package/dist/es2019/create-editor/ErrorBoundary.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +1 -1
- package/dist/es2019/presets/universal.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +2 -2
- package/dist/es2019/ui/ChromeCollapsed/index.js +1 -1
- package/dist/es2019/ui/ContextPanel/index.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/es2019/ui/ToolbarHelp/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/actions/temp-to-json.js +1 -1
- package/dist/esm/create-editor/ErrorBoundary.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +1 -1
- package/dist/esm/presets/universal.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +2 -2
- package/dist/esm/ui/ChromeCollapsed/index.js +1 -1
- package/dist/esm/ui/ContextPanel/index.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/esm/ui/ToolbarHelp/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +72 -69
- package/report.api.md +0 -805
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Eventually we will deprecate and delete EditorActions. This is here to
|
|
5
5
|
* help decouple it from editor-common
|
|
6
6
|
*/
|
|
7
|
-
import { JSONTransformer } from '@atlaskit/editor-json-transformer';
|
|
7
|
+
import { JSONTransformer } from '@atlaskit/editor-json-transformer/JSONTransformer-2';
|
|
8
8
|
const transformer = new JSONTransformer();
|
|
9
9
|
export function toJSON(node) {
|
|
10
10
|
return transformer.encode(node);
|
|
@@ -152,7 +152,7 @@ export class ErrorBoundaryWithEditorViewWithAnalyticsReactContext extends ErrorB
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
155
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
156
156
|
_defineProperty(ErrorBoundaryWithEditorViewWithAnalyticsReactContext, "contextType", AnalyticsReactContext);
|
|
157
157
|
const _default_1 = componentWithCondition(() => fg('platform_editor_sentry_breadcrumbs'), WithEditorView(ErrorBoundaryWithEditorViewWithAnalyticsReactContext), WithEditorView(ErrorBoundaryWithEditorView));
|
|
158
158
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
@@ -1128,5 +1128,5 @@ export function ReactEditorView(props) {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
// Preserving exact type generated by TypeScript
|
|
1131
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
1131
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
1132
1132
|
export default injectIntl(ReactEditorView);
|
|
@@ -49,7 +49,7 @@ import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-
|
|
|
49
49
|
import { ufoPlugin } from '@atlaskit/editor-plugins/ufo';
|
|
50
50
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
51
51
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
52
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
52
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
53
53
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
54
54
|
import { version as coreVersion } from '../version-wrapper';
|
|
55
55
|
import { createDefaultPreset } from './default';
|
|
@@ -18,7 +18,7 @@ import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
|
18
18
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
19
19
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
|
|
20
20
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
21
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
21
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
22
22
|
// Ignored via go/ees005
|
|
23
23
|
// eslint-disable-next-line import/no-named-as-default
|
|
24
24
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -22,7 +22,7 @@ import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
|
22
22
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
23
23
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
|
|
24
24
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
25
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
25
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
26
26
|
// Ignored via go/ees005
|
|
27
27
|
// eslint-disable-next-line import/no-named-as-default
|
|
28
28
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -9,7 +9,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
12
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
13
13
|
import { getPrimaryToolbarComponents } from '../../Toolbar/getPrimaryToolbarComponents';
|
|
14
14
|
import { FullPageEditorWrapperCompiled } from './FullPage-compiled';
|
|
15
15
|
import { FullPageEditorWrapperEmotion } from './FullPage-emotion';
|
|
@@ -9,7 +9,7 @@ import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
|
9
9
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
12
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
13
13
|
|
|
14
14
|
// Ignored via go/ees005
|
|
15
15
|
// eslint-disable-next-line import/no-named-as-default
|
|
@@ -16,7 +16,7 @@ import { akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorG
|
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
17
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
18
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
19
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
19
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
20
20
|
// Ignored via go/ees005
|
|
21
21
|
// eslint-disable-next-line import/no-named-as-default
|
|
22
22
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl';
|
|
|
3
3
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
4
4
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
6
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
6
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
7
7
|
import { ToolbarPortalMountPoint, useToolbarPortal } from '../../Toolbar/ToolbarPortal';
|
|
8
8
|
import { ToolbarWithSizeDetector as Toolbar } from '../../Toolbar/ToolbarWithSizeDetector';
|
|
9
9
|
import { BeforePrimaryToolbarWrapper } from './BeforeWrapper';
|
|
@@ -109,5 +109,5 @@ export const EditorToolbar = /*#__PURE__*/React.memo(props => {
|
|
|
109
109
|
}, shouldSplitToolbar ? nonCustomToolbar : customToolbar), /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)))));
|
|
110
110
|
});
|
|
111
111
|
|
|
112
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
112
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
113
113
|
export const FullPageToolbar = injectIntl(EditorToolbar);
|
|
@@ -42,6 +42,6 @@ class ChromeCollapsed extends PureComponent {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
45
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
46
46
|
const _default_1 = injectIntl(ChromeCollapsed);
|
|
47
47
|
export default _default_1;
|
|
@@ -133,7 +133,7 @@ class SwappableContentAreaInner extends React.PureComponent {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
136
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
137
137
|
export const SwappableContentArea = injectIntl(SwappableContentAreaInner);
|
|
138
138
|
|
|
139
139
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
@@ -22,7 +22,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
22
22
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
23
23
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
24
24
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
25
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
25
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
26
26
|
import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
|
|
27
27
|
import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
|
|
28
28
|
|
|
@@ -14,7 +14,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
16
16
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
17
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
17
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
18
18
|
import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
|
|
19
19
|
import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
|
|
20
20
|
import { agentShimmerStyle } from './styles/agentShimmerStyles';
|
|
@@ -3,7 +3,7 @@ import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
|
3
3
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
4
4
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
5
5
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
6
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
7
7
|
import { WidthObserver } from '@atlaskit/width-detector/width-observer';
|
|
8
8
|
import { isFullPage } from '../../utils/is-full-page';
|
|
9
9
|
import { useElementWidth } from './hooks';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Eventually we will deprecate and delete EditorActions. This is here to
|
|
5
5
|
* help decouple it from editor-common
|
|
6
6
|
*/
|
|
7
|
-
import { JSONTransformer } from '@atlaskit/editor-json-transformer';
|
|
7
|
+
import { JSONTransformer } from '@atlaskit/editor-json-transformer/JSONTransformer-2';
|
|
8
8
|
var transformer = new JSONTransformer();
|
|
9
9
|
export function toJSON(node) {
|
|
10
10
|
return transformer.encode(node);
|
|
@@ -202,7 +202,7 @@ export var ErrorBoundaryWithEditorViewWithAnalyticsReactContext = /*#__PURE__*/f
|
|
|
202
202
|
return _createClass(ErrorBoundaryWithEditorViewWithAnalyticsReactContext);
|
|
203
203
|
}(ErrorBoundaryWithEditorView);
|
|
204
204
|
|
|
205
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
205
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
206
206
|
_defineProperty(ErrorBoundaryWithEditorViewWithAnalyticsReactContext, "contextType", AnalyticsReactContext);
|
|
207
207
|
var _default_1 = componentWithCondition(function () {
|
|
208
208
|
return fg('platform_editor_sentry_breadcrumbs');
|
|
@@ -1203,5 +1203,5 @@ export function ReactEditorView(props) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
1205
|
// Preserving exact type generated by TypeScript
|
|
1206
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
1206
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
1207
1207
|
export default injectIntl(ReactEditorView);
|
|
@@ -53,7 +53,7 @@ import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-
|
|
|
53
53
|
import { ufoPlugin } from '@atlaskit/editor-plugins/ufo';
|
|
54
54
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
55
55
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
56
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
56
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
57
57
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
58
58
|
import { version as coreVersion } from '../version-wrapper';
|
|
59
59
|
import { createDefaultPreset } from './default';
|
|
@@ -22,7 +22,7 @@ import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
|
22
22
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
23
23
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
|
|
24
24
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
25
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
25
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
26
26
|
// Ignored via go/ees005
|
|
27
27
|
// eslint-disable-next-line import/no-named-as-default
|
|
28
28
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -24,7 +24,7 @@ import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
|
24
24
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
25
25
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
|
|
26
26
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
27
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
27
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
28
28
|
// Ignored via go/ees005
|
|
29
29
|
// eslint-disable-next-line import/no-named-as-default
|
|
30
30
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -10,7 +10,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
13
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
14
14
|
import { getPrimaryToolbarComponents } from '../../Toolbar/getPrimaryToolbarComponents';
|
|
15
15
|
import { FullPageEditorWrapperCompiled } from './FullPage-compiled';
|
|
16
16
|
import { FullPageEditorWrapperEmotion } from './FullPage-emotion';
|
|
@@ -9,7 +9,7 @@ import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
|
9
9
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
12
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
13
13
|
|
|
14
14
|
// Ignored via go/ees005
|
|
15
15
|
// eslint-disable-next-line import/no-named-as-default
|
|
@@ -17,7 +17,7 @@ import { akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorG
|
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
18
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
19
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
20
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
20
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
21
21
|
// Ignored via go/ees005
|
|
22
22
|
// eslint-disable-next-line import/no-named-as-default
|
|
23
23
|
import ClickAreaBlock from '../../Addon/ClickAreaBlock';
|
|
@@ -4,7 +4,7 @@ import { injectIntl } from 'react-intl';
|
|
|
4
4
|
import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
5
5
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
6
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
7
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
7
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
8
8
|
import { ToolbarPortalMountPoint, useToolbarPortal } from '../../Toolbar/ToolbarPortal';
|
|
9
9
|
import { ToolbarWithSizeDetector as Toolbar } from '../../Toolbar/ToolbarWithSizeDetector';
|
|
10
10
|
import { BeforePrimaryToolbarWrapper } from './BeforeWrapper';
|
|
@@ -113,5 +113,5 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
|
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
116
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
117
117
|
export var FullPageToolbar = injectIntl(EditorToolbar);
|
|
@@ -59,6 +59,6 @@ var ChromeCollapsed = /*#__PURE__*/function (_PureComponent) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
}]);
|
|
62
|
-
}(PureComponent); // eslint-disable-next-line @typescript-eslint/
|
|
62
|
+
}(PureComponent); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
63
63
|
var _default_1 = injectIntl(ChromeCollapsed);
|
|
64
64
|
export default _default_1;
|
|
@@ -153,7 +153,7 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
153
153
|
return null;
|
|
154
154
|
}
|
|
155
155
|
}]);
|
|
156
|
-
}(React.PureComponent); // eslint-disable-next-line @typescript-eslint/
|
|
156
|
+
}(React.PureComponent); // eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
157
157
|
export var SwappableContentArea = injectIntl(SwappableContentAreaInner);
|
|
158
158
|
|
|
159
159
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
@@ -27,7 +27,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
27
27
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
28
28
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
29
29
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
30
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
30
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
31
31
|
import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
|
|
32
32
|
import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
|
|
33
33
|
|
|
@@ -17,7 +17,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
18
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
19
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
20
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
20
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
21
21
|
import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
|
|
22
22
|
import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
|
|
23
23
|
import { agentShimmerStyle } from './styles/agentShimmerStyles';
|
|
@@ -4,7 +4,7 @@ import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
|
4
4
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
5
5
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
6
6
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
7
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
8
8
|
import { WidthObserver } from '@atlaskit/width-detector/width-observer';
|
|
9
9
|
import { isFullPage } from '../../utils/is-full-page';
|
|
10
10
|
import { useElementWidth } from './hooks';
|
|
@@ -58,6 +58,6 @@ var TooltipHelpTrigger = function TooltipHelpTrigger(_ref) {
|
|
|
58
58
|
});
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
61
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
62
62
|
var _default_1 = injectIntl(TooltipHelpTrigger);
|
|
63
63
|
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "226.
|
|
3
|
+
"version": "226.2.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,46 +37,46 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@atlaskit/activity-provider": "^3.
|
|
40
|
+
"@atlaskit/activity-provider": "^3.1.0",
|
|
41
41
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
42
42
|
"@atlaskit/afm-i18n-platform-editor-editor-core": "2.200.0",
|
|
43
|
-
"@atlaskit/analytics-namespaced-context": "^8.
|
|
44
|
-
"@atlaskit/analytics-next": "^12.
|
|
43
|
+
"@atlaskit/analytics-namespaced-context": "^8.2.0",
|
|
44
|
+
"@atlaskit/analytics-next": "^12.5.0",
|
|
45
45
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
46
|
-
"@atlaskit/button": "^25.
|
|
46
|
+
"@atlaskit/button": "^25.3.0",
|
|
47
47
|
"@atlaskit/css": "^1.1.0",
|
|
48
|
-
"@atlaskit/editor-json-transformer": "^9.
|
|
48
|
+
"@atlaskit/editor-json-transformer": "^9.8.0",
|
|
49
49
|
"@atlaskit/editor-performance-metrics": "^3.2.0",
|
|
50
50
|
"@atlaskit/editor-plugin-block-menu": "^15.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-connectivity": "^16.0.0",
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^16.
|
|
53
|
-
"@atlaskit/editor-plugin-selection-extension": "^19.
|
|
52
|
+
"@atlaskit/editor-plugin-quick-insert": "^16.2.0",
|
|
53
|
+
"@atlaskit/editor-plugin-selection-extension": "^19.1.0",
|
|
54
54
|
"@atlaskit/editor-plugin-user-preferences": "^14.0.0",
|
|
55
55
|
"@atlaskit/editor-plugins": "^16.1.0",
|
|
56
56
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
57
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
57
|
+
"@atlaskit/editor-shared-styles": "^4.1.0",
|
|
58
58
|
"@atlaskit/editor-ssr-renderer": "^11.0.0",
|
|
59
59
|
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
60
60
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
61
|
-
"@atlaskit/emoji": "^72.
|
|
61
|
+
"@atlaskit/emoji": "^72.2.0",
|
|
62
62
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
63
|
-
"@atlaskit/heading": "^7.
|
|
64
|
-
"@atlaskit/icon": "^37.
|
|
63
|
+
"@atlaskit/heading": "^7.2.0",
|
|
64
|
+
"@atlaskit/icon": "^37.6.0",
|
|
65
65
|
"@atlaskit/link": "^5.1.0",
|
|
66
|
-
"@atlaskit/media-card": "^81.
|
|
67
|
-
"@atlaskit/mention": "^27.
|
|
66
|
+
"@atlaskit/media-card": "^81.9.0",
|
|
67
|
+
"@atlaskit/mention": "^27.19.0",
|
|
68
68
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
69
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
69
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
70
70
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
71
|
-
"@atlaskit/popup": "^6.
|
|
72
|
-
"@atlaskit/primitives": "^22.
|
|
71
|
+
"@atlaskit/popup": "^6.3.0",
|
|
72
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
73
73
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
74
74
|
"@atlaskit/react-ufo": "^7.7.0",
|
|
75
|
-
"@atlaskit/task-decision": "^21.
|
|
76
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
-
"@atlaskit/tokens": "^16.
|
|
78
|
-
"@atlaskit/tooltip": "^24.
|
|
79
|
-
"@atlaskit/width-detector": "^7.
|
|
75
|
+
"@atlaskit/task-decision": "^21.9.0",
|
|
76
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
77
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
78
|
+
"@atlaskit/tooltip": "^24.3.0",
|
|
79
|
+
"@atlaskit/width-detector": "^7.2.0",
|
|
80
80
|
"@babel/runtime": "^7.0.0",
|
|
81
81
|
"@compiled/react": "^1.0.2",
|
|
82
82
|
"@emotion/react": "^11.7.1",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"uuid": "^3.1.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@atlaskit/editor-common": "^120.
|
|
95
|
-
"@atlaskit/link-provider": "^5.
|
|
96
|
-
"@atlaskit/media-core": "^38.
|
|
94
|
+
"@atlaskit/editor-common": "^120.9.0",
|
|
95
|
+
"@atlaskit/link-provider": "^5.5.0",
|
|
96
|
+
"@atlaskit/media-core": "^38.2.0",
|
|
97
97
|
"react": "^18.2.0",
|
|
98
98
|
"react-dom": "^18.2.0",
|
|
99
99
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -103,72 +103,75 @@
|
|
|
103
103
|
"@af/editor-libra": "workspace:^",
|
|
104
104
|
"@af/suppress-react-warnings": "workspace:^",
|
|
105
105
|
"@af/visual-regression": "workspace:^",
|
|
106
|
-
"@atlaskit/adf-utils": "^20.
|
|
107
|
-
"@atlaskit/analytics-gas-types": "^6.
|
|
108
|
-
"@atlaskit/analytics-listeners": "^11.
|
|
109
|
-
"@atlaskit/code": "^19.
|
|
110
|
-
"@atlaskit/collab-provider": "^25.
|
|
106
|
+
"@atlaskit/adf-utils": "^20.8.0",
|
|
107
|
+
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
108
|
+
"@atlaskit/analytics-listeners": "^11.3.0",
|
|
109
|
+
"@atlaskit/code": "^19.2.0",
|
|
110
|
+
"@atlaskit/collab-provider": "^25.1.0",
|
|
111
111
|
"@atlaskit/docs": "^12.2.0",
|
|
112
|
-
"@atlaskit/drawer": "^14.
|
|
112
|
+
"@atlaskit/drawer": "^14.3.0",
|
|
113
113
|
"@atlaskit/editor-plugin-alignment": "^17.0.0",
|
|
114
114
|
"@atlaskit/editor-plugin-annotation": "^16.0.0",
|
|
115
|
-
"@atlaskit/editor-plugin-base": "^17.
|
|
116
|
-
"@atlaskit/editor-plugin-card": "^22.
|
|
115
|
+
"@atlaskit/editor-plugin-base": "^17.1.0",
|
|
116
|
+
"@atlaskit/editor-plugin-card": "^22.1.0",
|
|
117
117
|
"@atlaskit/editor-plugin-code-block-advanced": "^16.0.0",
|
|
118
118
|
"@atlaskit/editor-plugin-collab-edit": "^17.0.0",
|
|
119
|
-
"@atlaskit/editor-plugin-content-insertion": "^16.
|
|
119
|
+
"@atlaskit/editor-plugin-content-insertion": "^16.1.0",
|
|
120
120
|
"@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
|
|
121
|
-
"@atlaskit/editor-plugin-extension": "^19.
|
|
122
|
-
"@atlaskit/editor-plugin-grid": "^16.
|
|
123
|
-
"@atlaskit/editor-plugin-guideline": "^16.
|
|
121
|
+
"@atlaskit/editor-plugin-extension": "^19.1.0",
|
|
122
|
+
"@atlaskit/editor-plugin-grid": "^16.1.0",
|
|
123
|
+
"@atlaskit/editor-plugin-guideline": "^16.1.0",
|
|
124
124
|
"@atlaskit/editor-plugin-highlight": "^16.0.0",
|
|
125
|
-
"@atlaskit/editor-plugin-insert-block": "^17.
|
|
126
|
-
"@atlaskit/editor-plugin-layout": "^17.
|
|
127
|
-
"@atlaskit/editor-plugin-list": "^18.
|
|
128
|
-
"@atlaskit/editor-plugin-media": "^18.
|
|
129
|
-
"@atlaskit/editor-plugin-paste": "^17.
|
|
125
|
+
"@atlaskit/editor-plugin-insert-block": "^17.1.0",
|
|
126
|
+
"@atlaskit/editor-plugin-layout": "^17.2.0",
|
|
127
|
+
"@atlaskit/editor-plugin-list": "^18.1.0",
|
|
128
|
+
"@atlaskit/editor-plugin-media": "^18.1.0",
|
|
129
|
+
"@atlaskit/editor-plugin-paste": "^17.1.0",
|
|
130
130
|
"@atlaskit/editor-plugin-selection-marker": "^16.0.0",
|
|
131
131
|
"@atlaskit/editor-plugin-show-diff": "^14.2.0",
|
|
132
|
-
"@atlaskit/editor-plugin-
|
|
133
|
-
"@atlaskit/editor-plugin-
|
|
134
|
-
"@atlaskit/editor-plugin-
|
|
135
|
-
"@atlaskit/editor-plugin-
|
|
132
|
+
"@atlaskit/editor-plugin-synced-block": "^14.0.0",
|
|
133
|
+
"@atlaskit/editor-plugin-table": "^28.1.0",
|
|
134
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^19.1.0",
|
|
135
|
+
"@atlaskit/editor-plugin-text-color": "^16.1.0",
|
|
136
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^17.1.0",
|
|
136
137
|
"@atlaskit/editor-plugin-track-changes": "^15.0.0",
|
|
138
|
+
"@atlaskit/editor-synced-block-provider": "^12.1.0",
|
|
139
|
+
"@atlaskit/editor-synced-block-renderer": "^14.1.0",
|
|
137
140
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
138
|
-
"@atlaskit/form": "^17.
|
|
139
|
-
"@atlaskit/link-provider": "^5.
|
|
140
|
-
"@atlaskit/linking-common": "^12.
|
|
141
|
-
"@atlaskit/logo": "^21.
|
|
142
|
-
"@atlaskit/media-core": "^38.
|
|
141
|
+
"@atlaskit/form": "^17.2.0",
|
|
142
|
+
"@atlaskit/link-provider": "^5.5.0",
|
|
143
|
+
"@atlaskit/linking-common": "^12.1.0",
|
|
144
|
+
"@atlaskit/logo": "^21.6.0",
|
|
145
|
+
"@atlaskit/media-core": "^38.2.0",
|
|
143
146
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
144
|
-
"@atlaskit/media-picker": "^72.
|
|
145
|
-
"@atlaskit/media-test-helpers": "^42.
|
|
146
|
-
"@atlaskit/media-ui": "^30.
|
|
147
|
-
"@atlaskit/modal-dialog": "^16.
|
|
147
|
+
"@atlaskit/media-picker": "^72.4.0",
|
|
148
|
+
"@atlaskit/media-test-helpers": "^42.4.0",
|
|
149
|
+
"@atlaskit/media-ui": "^30.15.0",
|
|
150
|
+
"@atlaskit/modal-dialog": "^16.6.0",
|
|
148
151
|
"@atlaskit/navigation-system": "^10.16.0",
|
|
149
|
-
"@atlaskit/popper": "^9.
|
|
150
|
-
"@atlaskit/portal": "^6.
|
|
151
|
-
"@atlaskit/profilecard": "^26.
|
|
152
|
-
"@atlaskit/radio": "^10.
|
|
153
|
-
"@atlaskit/renderer": "^137.
|
|
154
|
-
"@atlaskit/section-message": "^10.
|
|
155
|
-
"@atlaskit/spinner": "^20.
|
|
152
|
+
"@atlaskit/popper": "^9.4.0",
|
|
153
|
+
"@atlaskit/portal": "^6.4.0",
|
|
154
|
+
"@atlaskit/profilecard": "^26.21.0",
|
|
155
|
+
"@atlaskit/radio": "^10.2.0",
|
|
156
|
+
"@atlaskit/renderer": "^137.2.0",
|
|
157
|
+
"@atlaskit/section-message": "^10.2.0",
|
|
158
|
+
"@atlaskit/spinner": "^20.4.0",
|
|
156
159
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
157
|
-
"@atlaskit/textarea": "^10.
|
|
158
|
-
"@atlaskit/textfield": "^10.
|
|
159
|
-
"@atlaskit/toggle": "^17.
|
|
160
|
+
"@atlaskit/textarea": "^10.2.0",
|
|
161
|
+
"@atlaskit/textfield": "^10.2.0",
|
|
162
|
+
"@atlaskit/toggle": "^17.3.0",
|
|
160
163
|
"@atlaskit/util-data-test": "^19.1.0",
|
|
161
164
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
162
165
|
"@atlassian/a11y-playwright-testing": "^0.12.0",
|
|
163
166
|
"@atlassian/adf-schema-json": "^1.35.0",
|
|
164
167
|
"@atlassian/editor-rovo-bridge": "^14.0.0",
|
|
165
168
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
166
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
167
|
-
"@atlassian/search-client": "^2.
|
|
168
|
-
"@atlassian/search-provider": "^17.
|
|
169
|
+
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
170
|
+
"@atlassian/search-client": "^2.18.0",
|
|
171
|
+
"@atlassian/search-provider": "^17.1.0",
|
|
169
172
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
170
173
|
"@atlassian/testing-library": "^0.11.0",
|
|
171
|
-
"@atlassian/user-profile-card": "^1.
|
|
174
|
+
"@atlassian/user-profile-card": "^1.32.0",
|
|
172
175
|
"@emotion/jest": "^11.8.0",
|
|
173
176
|
"@testing-library/react": "^16.3.0",
|
|
174
177
|
"@types/diff": "^5.0.2",
|