@atlaskit/editor-core 224.4.2 → 224.4.3
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 +10 -0
- package/afm-cc/tsconfig.json +15 -0
- package/afm-products/tsconfig.json +15 -0
- package/dist/cjs/composable-editor/BaseThemeWrapper.js +2 -2
- package/dist/cjs/composable-editor/core-editor.js +2 -2
- package/dist/cjs/composable-editor/editor-internal.js +2 -2
- package/dist/cjs/create-editor/ErrorBoundary.js +4 -4
- package/dist/cjs/create-editor/ReactEditorView.js +4 -4
- package/dist/cjs/presets/default.js +2 -2
- package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +2 -2
- package/dist/cjs/ui/Appearance/ChromelessEditorContainer.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +3 -3
- package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +3 -3
- package/dist/cjs/ui/Appearance/Comment/Comment.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/FixedToolbar-emotion.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/StickyToolbar-emotion.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +3 -3
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper.js +3 -3
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +8 -8
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +2 -2
- package/dist/cjs/ui/ChromeCollapsed/index.js +2 -2
- package/dist/cjs/ui/ContextPanel/index.js +7 -7
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +5 -5
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +9 -9
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +2 -2
- package/dist/cjs/ui/PluginSlot/index.js +2 -2
- package/dist/cjs/ui/Toolbar/ToolbarInner.js +2 -2
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +4 -4
- package/dist/cjs/ui/Toolbar/hooks.js +2 -2
- package/dist/cjs/ui/Toolbar/toolbar-size.js +2 -2
- package/dist/cjs/ui/WithFlash/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/BaseThemeWrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +1 -1
- package/dist/es2019/create-editor/ErrorBoundary.js +2 -2
- package/dist/es2019/create-editor/ReactEditorView.js +1 -1
- package/dist/es2019/presets/default.js +1 -1
- package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +1 -1
- package/dist/es2019/ui/Appearance/ChromelessEditorContainer.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/Comment/Comment.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/FixedToolbar-emotion.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/StickyToolbar-emotion.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +2 -2
- 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/FullPageContentArea.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +1 -1
- package/dist/es2019/ui/ChromeCollapsed/index.js +1 -1
- package/dist/es2019/ui/ContextPanel/index.js +2 -2
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +1 -1
- package/dist/es2019/ui/PluginSlot/index.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarInner.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -2
- package/dist/es2019/ui/Toolbar/hooks.js +1 -1
- package/dist/es2019/ui/Toolbar/toolbar-size.js +1 -1
- package/dist/es2019/ui/WithFlash/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/BaseThemeWrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +1 -1
- package/dist/esm/create-editor/ErrorBoundary.js +2 -2
- package/dist/esm/create-editor/ReactEditorView.js +1 -1
- package/dist/esm/presets/default.js +1 -1
- package/dist/esm/ui/Addon/ClickAreaBlock/index.js +1 -1
- package/dist/esm/ui/Appearance/ChromelessEditorContainer.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/Comment/Comment.js +1 -1
- package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Comment/FixedToolbar-emotion.js +1 -1
- package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Comment/StickyToolbar-emotion.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +2 -2
- 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/FullPageContentArea.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +1 -1
- package/dist/esm/ui/ChromeCollapsed/index.js +1 -1
- package/dist/esm/ui/ContextPanel/index.js +2 -2
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +1 -1
- package/dist/esm/ui/PluginSlot/index.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarInner.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -2
- package/dist/esm/ui/Toolbar/hooks.js +1 -1
- package/dist/esm/ui/Toolbar/toolbar-size.js +1 -1
- package/dist/esm/ui/WithFlash/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/actions/index.d.ts +1 -1
- package/dist/types/actions/temp-to-json.d.ts +1 -1
- package/package.json +41 -2
|
@@ -15,7 +15,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
15
15
|
import classnames from 'classnames';
|
|
16
16
|
import { useIntl } from 'react-intl';
|
|
17
17
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
18
|
-
import Button from '@atlaskit/button/
|
|
18
|
+
import Button from '@atlaskit/button/default/button';
|
|
19
19
|
import { useSharedPluginState, useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
20
20
|
import messages from '@atlaskit/editor-common/messages';
|
|
21
21
|
import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { CommentEditorWithIntlCompiled } from './Comment-compiled';
|
|
4
4
|
import { CommentEditorWithIntlEmotion } from './Comment-emotion';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import "./FixedToolbar-compiled.compiled.css";
|
|
9
9
|
import { ax, ix } from "@compiled/react/runtime";
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
13
|
const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
14
14
|
const fixedToolbarCompiledStyles = {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
13
13
|
import { css, jsx } from '@emotion/react';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
16
16
|
const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
17
17
|
const mainToolbarWrapperStyleNew = css({
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import "./StickyToolbar-compiled.compiled.css";
|
|
9
9
|
import { ax, ix } from "@compiled/react/runtime";
|
|
10
10
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
13
|
const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
14
14
|
const akEditorMenuZIndex = 500;
|
|
@@ -13,7 +13,7 @@ import { useEffect, useState } from 'react';
|
|
|
13
13
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
15
15
|
import { css, jsx } from '@emotion/react';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
17
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
18
|
const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
19
19
|
const akEditorMenuZIndex = 500;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
3
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
4
4
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
5
5
|
import { FixedToolbarCompiled } from './FixedToolbar-compiled';
|
|
6
6
|
import { FixedToolbarEmotion } from './FixedToolbar-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { BeforePrimaryToolbarWrapperCompiled } from './BeforeWrapper-compiled';
|
|
4
4
|
import { BeforePrimaryToolbarWrapperEmotion } from './BeforeWrapper-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { MainToolbarForFirstChildWrapperCompiled, MainToolbarForSecondChildWrapperCompiled } from './CustomToolbarWrapper-compiled';
|
|
4
4
|
import { MainToolbarForFirstChildWrapperEmotion, MainToolbarForSecondChildWrapperEmotion } from './CustomToolbarWrapper-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { CustomToolbarWrapperCompiled } from './MainToolbar-compiled';
|
|
4
4
|
import { CustomToolbarWrapperEmotion } from './MainToolbar-emotion';
|
|
@@ -6,8 +6,8 @@ import { ContextPanelWidthProvider } from '@atlaskit/editor-common/ui';
|
|
|
6
6
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
7
7
|
import { FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles';
|
|
8
8
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
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
12
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
13
|
import { getPrimaryToolbarComponents } from '../../Toolbar/getPrimaryToolbarComponents';
|
|
@@ -7,7 +7,7 @@ import { injectIntl } from 'react-intl';
|
|
|
7
7
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
8
8
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
12
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
13
|
|
|
@@ -13,7 +13,7 @@ import { decisionListSelector, taskListSelector } from '@atlaskit/adf-schema';
|
|
|
13
13
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
14
14
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
15
15
|
import { akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { FullPageContentAreaCompiled } from './FullPageContentArea-compiled';
|
|
4
4
|
import { FullPageContentAreaEmotion } from './FullPageContentArea-emotion';
|
|
@@ -9,7 +9,7 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
9
9
|
import { shouldShowPrimaryToolbar, TOOLBARS, VIEW_MODE_TOGGLE_SECTION } from '@atlaskit/editor-common/toolbar';
|
|
10
10
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
14
|
import { isToolbar } from '../../../utils/toolbar';
|
|
15
15
|
import ExcludeFromHydration from '../../ExcludeFromHydration';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { MainToolbarIconBeforeCompiled } from './MainToolbar-compiled';
|
|
4
4
|
import { MainToolbarIconBeforeEmotion } from './MainToolbar-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { MainToolbarWrapperCompiled } from './MainToolbarWrapper-compiled';
|
|
4
4
|
import { MainToolbarWrapperEmotion } from './MainToolbarWrapper-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { NonCustomToolbarWrapperCompiled } from './MainToolbar-compiled';
|
|
4
4
|
import { NonCustomToolbarWrapperEmotion } from './MainToolbar-emotion';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import { injectIntl } from 'react-intl';
|
|
4
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
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
6
|
import { ChromeCollapsedCompiled } from './ChromeCollapsed-compiled';
|
|
7
7
|
import { ChromeCollapsedEmotion } from './ChromeCollapsed-emotion';
|
|
@@ -8,8 +8,8 @@ import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
|
8
8
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
9
9
|
import { contextPanelMessages } from '@atlaskit/editor-common/messages';
|
|
10
10
|
import { akEditorContextPanelWidth } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
14
|
import { ContextPanelContentCompiled, ContextPanelWrapperCompiled } from './index-compiled';
|
|
15
15
|
import { ContextPanelContentEmotion, ContextPanelWrapperEmotion } from './index-emotion';
|
|
@@ -19,7 +19,7 @@ import { tableCellBackgroundColorVariablesForCompiled } from '@atlaskit/editor-c
|
|
|
19
19
|
import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorGutterPaddingDynamic, akEditorShadowZIndex, akEditorSwoopCubicBezier, akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
20
20
|
import { overflowShadowForCompiled } from '@atlaskit/editor-shared-styles/overflow-shadow-for-compiled';
|
|
21
21
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
22
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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
25
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -11,7 +11,7 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
|
11
11
|
import { richMediaClassName, tableSharedStyle } from '@atlaskit/editor-common/styles';
|
|
12
12
|
import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
|
|
13
13
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { EditorContentContainerCompiled } from './EditorContentContainer-compiled';
|
|
4
4
|
import { EditorContentContainerEmotion } from './EditorContentContainer-emotion';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import isEqual from 'lodash/isEqual';
|
|
3
3
|
import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
|
|
4
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
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
6
|
import { ErrorBoundary } from '../ErrorBoundary';
|
|
7
7
|
import { MountPluginHooks } from './mount-plugin-hooks';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import isEqual from 'lodash/isEqual';
|
|
3
3
|
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
4
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
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
6
|
import { ToolbarComponentsWrapperCompiled } from './ToolbarComponentsWrapper-compiled';
|
|
7
7
|
import { ToolbarComponentsWrapperEmotion } from './ToolbarComponentsWrapper-emotion';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
3
3
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
4
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
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
6
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
7
|
-
import { WidthObserver } from '@atlaskit/width-detector';
|
|
7
|
+
import { WidthObserver } from '@atlaskit/width-detector/width-observer';
|
|
8
8
|
import { isFullPage } from '../../utils/is-full-page';
|
|
9
9
|
import { useElementWidth } from './hooks';
|
|
10
10
|
import { Toolbar } from './Toolbar';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolbarSize, ToolbarWidths, ToolbarWidthsFullPage, ToolbarWidthsFullPageNext, ToolbarWidthsNext } from '@atlaskit/editor-common/types';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import { isFullPage } from '../../utils/is-full-page';
|
|
4
4
|
// Toolbar sizes for full page editor a little bit different, because it has more buttons e.g. actions button...
|
|
5
5
|
const toolbarSizesFullPageNext = [{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { WithFlashCompiled } from './withFlash-compiled';
|
|
4
4
|
import { WithFlashEmotion } from './withFlash-emotion';
|
|
@@ -3,7 +3,7 @@ import React, { useMemo } from 'react';
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
4
|
import { ThemeProvider } from '@emotion/react';
|
|
5
5
|
import { akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
6
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
6
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
7
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
// Default value from: `import { fontSize } from '@atlaskit/theme/constants';`
|
|
9
9
|
var defaultFontSize = 14;
|
|
@@ -6,7 +6,7 @@ import React, { useCallback, useMemo, useRef, Fragment } from 'react';
|
|
|
6
6
|
import isEqual from 'lodash/isEqual';
|
|
7
7
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
8
8
|
import uuid from 'uuid/v4';
|
|
9
|
-
import { FabricEditorAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
|
|
9
|
+
import { FabricEditorAnalyticsContext } from '@atlaskit/analytics-namespaced-context/FabricEditorAnalyticsContext';
|
|
10
10
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
11
11
|
import { ACTION } from '@atlaskit/editor-common/analytics';
|
|
12
12
|
import { startMeasure, stopMeasure } from '@atlaskit/editor-common/performance-measures';
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import React, { Fragment, memo } from 'react';
|
|
6
6
|
import { usePortalProvider } from '@atlaskit/editor-common/portal';
|
|
7
7
|
import { editorFontSize } from '@atlaskit/editor-shared-styles';
|
|
8
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
8
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
9
9
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
10
|
import ErrorBoundary from '../create-editor/ErrorBoundary';
|
|
11
11
|
import ReactEditorViewNext from '../create-editor/ReactEditorView';
|
|
@@ -18,8 +18,8 @@ import { ACTION, ACTION_SUBJECT, editorAnalyticsChannel, EVENT_TYPE } from '@atl
|
|
|
18
18
|
import { getDocStructure } from '@atlaskit/editor-common/core-utils';
|
|
19
19
|
import { IntlErrorBoundary } from '@atlaskit/editor-common/intl-error-boundary';
|
|
20
20
|
import { logException } from '@atlaskit/editor-common/monitoring';
|
|
21
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
21
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
23
23
|
import { isOutdatedBrowser } from '../utils/outdatedBrowsers';
|
|
24
24
|
import { WithEditorView } from './WithEditorView';
|
|
25
25
|
// Ignored via go/ees005
|
|
@@ -34,7 +34,7 @@ import { createSSREditorState } from '@atlaskit/editor-ssr-renderer/create-ssr-e
|
|
|
34
34
|
import { createSSRPMPlugins } from '@atlaskit/editor-ssr-renderer/create-ssr-pm-plugins';
|
|
35
35
|
import { insm } from '@atlaskit/insm/api';
|
|
36
36
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
37
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
37
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
38
38
|
import { addUFOCustomData } from '@atlaskit/react-ufo/custom-data';
|
|
39
39
|
import { getInteractionId } from '@atlaskit/react-ufo/interaction-id-context';
|
|
40
40
|
import { abortAll, getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
@@ -40,7 +40,7 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugins/unsupported-c
|
|
|
40
40
|
import { userIntentPlugin } from '@atlaskit/editor-plugins/user-intent';
|
|
41
41
|
import { widthPlugin } from '@atlaskit/editor-plugins/width';
|
|
42
42
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
43
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
43
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
44
44
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
45
45
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
46
46
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
2
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
3
3
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
4
|
import { clickAreaClickHandler } from '../click-area-helper';
|
|
5
5
|
import { ClickAreaBlockContainerCompiled } from './clickAreaBlock-compiled';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { ChromelessEditorContainerCompiled } from './Chromeless-compiled';
|
|
4
4
|
import { ChromelessEditorContainerEmotion } from './Chromeless-emotion';
|
|
@@ -15,7 +15,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
|
15
15
|
import classnames from 'classnames';
|
|
16
16
|
import { useIntl } from 'react-intl';
|
|
17
17
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
18
|
-
import Button from '@atlaskit/button/
|
|
18
|
+
import Button from '@atlaskit/button/default/button';
|
|
19
19
|
import { useSharedPluginState, useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
20
20
|
import messages from '@atlaskit/editor-common/messages';
|
|
21
21
|
import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
@@ -17,7 +17,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
17
17
|
import classnames from 'classnames';
|
|
18
18
|
import { useIntl } from 'react-intl';
|
|
19
19
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
20
|
-
import Button from '@atlaskit/button/
|
|
20
|
+
import Button from '@atlaskit/button/default/button';
|
|
21
21
|
import { useSharedPluginState, useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
22
22
|
import messages from '@atlaskit/editor-common/messages';
|
|
23
23
|
import { WidthConsumer, WidthProvider } from '@atlaskit/editor-common/ui';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { CommentEditorWithIntlCompiled } from './Comment-compiled';
|
|
4
4
|
import { CommentEditorWithIntlEmotion } from './Comment-emotion';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import "./FixedToolbar-compiled.compiled.css";
|
|
9
9
|
import { ax, ix } from "@compiled/react/runtime";
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
13
|
var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
14
14
|
var fixedToolbarCompiledStyles = {
|
|
@@ -12,7 +12,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
12
12
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
14
14
|
import { css, jsx } from '@emotion/react';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
16
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
17
17
|
var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
18
18
|
var mainToolbarWrapperStyleNew = css({
|
|
@@ -10,7 +10,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
16
16
|
var akEditorMenuZIndex = 500;
|
|
@@ -15,7 +15,7 @@ import { useEffect, useState } from 'react';
|
|
|
15
15
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- intentional: emotion fallback for compiled migration
|
|
17
17
|
import { css, jsx } from '@emotion/react';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
|
|
21
21
|
var akEditorMenuZIndex = 500;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _typeof from "@babel/runtime/helpers/typeof";
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
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
6
|
import { FixedToolbarCompiled } from './FixedToolbar-compiled';
|
|
7
7
|
import { FixedToolbarEmotion } from './FixedToolbar-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { BeforePrimaryToolbarWrapperCompiled } from './BeforeWrapper-compiled';
|
|
4
4
|
import { BeforePrimaryToolbarWrapperEmotion } from './BeforeWrapper-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { MainToolbarForFirstChildWrapperCompiled, MainToolbarForSecondChildWrapperCompiled } from './CustomToolbarWrapper-compiled';
|
|
4
4
|
import { MainToolbarForFirstChildWrapperEmotion, MainToolbarForSecondChildWrapperEmotion } from './CustomToolbarWrapper-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { CustomToolbarWrapperCompiled } from './MainToolbar-compiled';
|
|
4
4
|
import { CustomToolbarWrapperEmotion } from './MainToolbar-emotion';
|
|
@@ -7,8 +7,8 @@ import { ContextPanelWidthProvider } from '@atlaskit/editor-common/ui';
|
|
|
7
7
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
8
8
|
import { FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles';
|
|
9
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
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
13
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
14
14
|
import { getPrimaryToolbarComponents } from '../../Toolbar/getPrimaryToolbarComponents';
|
|
@@ -7,7 +7,7 @@ import { injectIntl } from 'react-intl';
|
|
|
7
7
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
8
8
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
11
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
12
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
13
|
|
|
@@ -14,7 +14,7 @@ import { decisionListSelector, taskListSelector } from '@atlaskit/adf-schema';
|
|
|
14
14
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
15
15
|
import { fullPageMessages as messages } from '@atlaskit/editor-common/messages';
|
|
16
16
|
import { akEditorFullPageNarrowBreakout, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorDefaultLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
17
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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
20
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { FullPageContentAreaCompiled } from './FullPageContentArea-compiled';
|
|
4
4
|
import { FullPageContentAreaEmotion } from './FullPageContentArea-emotion';
|
|
@@ -9,7 +9,7 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
9
9
|
import { shouldShowPrimaryToolbar, TOOLBARS, VIEW_MODE_TOGGLE_SECTION } from '@atlaskit/editor-common/toolbar';
|
|
10
10
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
14
|
import { isToolbar } from '../../../utils/toolbar';
|
|
15
15
|
import ExcludeFromHydration from '../../ExcludeFromHydration';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { MainToolbarIconBeforeCompiled } from './MainToolbar-compiled';
|
|
4
4
|
import { MainToolbarIconBeforeEmotion } from './MainToolbar-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { MainToolbarWrapperCompiled } from './MainToolbarWrapper-compiled';
|
|
4
4
|
import { MainToolbarWrapperEmotion } from './MainToolbarWrapper-emotion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
1
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
2
2
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
3
|
import { NonCustomToolbarWrapperCompiled } from './MainToolbar-compiled';
|
|
4
4
|
import { NonCustomToolbarWrapperEmotion } from './MainToolbar-emotion';
|
|
@@ -8,7 +8,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
import React, { PureComponent } from 'react';
|
|
10
10
|
import { injectIntl } from 'react-intl';
|
|
11
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
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
13
|
import { ChromeCollapsedCompiled } from './ChromeCollapsed-compiled';
|
|
14
14
|
import { ChromeCollapsedEmotion } from './ChromeCollapsed-emotion';
|
|
@@ -17,8 +17,8 @@ import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
|
17
17
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
18
18
|
import { contextPanelMessages } from '@atlaskit/editor-common/messages';
|
|
19
19
|
import { akEditorContextPanelWidth } from '@atlaskit/editor-shared-styles';
|
|
20
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
|
-
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
20
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
21
|
+
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react/component-with-condition';
|
|
22
22
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
23
23
|
import { ContextPanelContentCompiled, ContextPanelWrapperCompiled } from './index-compiled';
|
|
24
24
|
import { ContextPanelContentEmotion, ContextPanelWrapperEmotion } from './index-emotion';
|
|
@@ -24,7 +24,7 @@ import { tableCellBackgroundColorVariablesForCompiled } from '@atlaskit/editor-c
|
|
|
24
24
|
import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorGutterPaddingDynamic, akEditorShadowZIndex, akEditorSwoopCubicBezier, akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
25
25
|
import { overflowShadowForCompiled } from '@atlaskit/editor-shared-styles/overflow-shadow-for-compiled';
|
|
26
26
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
27
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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
30
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -14,7 +14,7 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
|
14
14
|
import { richMediaClassName, tableSharedStyle } from '@atlaskit/editor-common/styles';
|
|
15
15
|
import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
|
|
16
16
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
17
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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
20
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|