@atlaskit/editor-core 228.1.6 → 228.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/composable-editor/editor-internal-compiled.js +1 -1
- package/dist/cjs/create-editor/ReactEditorView.js +4 -4
- package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/Chromeless-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPage-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -3
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar-compiled.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +1 -1
- package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +1 -1
- package/dist/cjs/ui/ContextPanel/index-compiled.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/mediaStyles.js +9 -7
- package/dist/cjs/ui/PluginSlot/PluginSlot-compiled.js +1 -1
- package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +1 -1
- package/dist/cjs/ui/Toolbar/ToolbarPortal.js +1 -1
- package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +1 -1
- package/dist/cjs/ui/WithFlash/withFlash-compiled.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal-compiled.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +2 -2
- package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Chromeless-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -3
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar-compiled.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +1 -1
- package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +1 -1
- package/dist/es2019/ui/ContextPanel/index-compiled.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/mediaStyles.js +3 -1
- package/dist/es2019/ui/PluginSlot/PluginSlot-compiled.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarPortal.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +1 -1
- package/dist/es2019/ui/WithFlash/withFlash-compiled.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal-compiled.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +2 -2
- package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Chromeless-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.js +1 -1
- package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +2 -3
- package/dist/esm/ui/Appearance/FullPage/MainToolbar-compiled.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +1 -1
- package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +1 -1
- package/dist/esm/ui/ContextPanel/index-compiled.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/mediaStyles.js +3 -1
- package/dist/esm/ui/PluginSlot/PluginSlot-compiled.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarPortal.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +1 -1
- package/dist/esm/ui/WithFlash/withFlash-compiled.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useProviders.d.ts +1 -1
- package/dist/types/types/editor-props.d.ts +1 -1
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 228.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b78306efe5c75`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b78306efe5c75) -
|
|
8
|
+
Clean up feature gate `platform_editor_markdown_patch_m3`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 228.1.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* editor-internal-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* editor-internal-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `editor-internal.tsx`.
|
|
@@ -37,8 +37,8 @@ var _createSsrEditorState = require("@atlaskit/editor-ssr-renderer/create-ssr-ed
|
|
|
37
37
|
var _createSsrPmPlugins = require("@atlaskit/editor-ssr-renderer/create-ssr-pm-plugins");
|
|
38
38
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
39
39
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
40
|
-
var
|
|
41
|
-
var
|
|
40
|
+
var _addUfoCustomData = require("@atlaskit/react-ufo/add-ufo-custom-data");
|
|
41
|
+
var _getInteractionId = require("@atlaskit/react-ufo/get-interaction-id");
|
|
42
42
|
var _interactionMetrics = require("@atlaskit/react-ufo/interaction-metrics");
|
|
43
43
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
44
44
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
@@ -760,9 +760,9 @@ function ReactEditorView(props) {
|
|
|
760
760
|
pageType: pageType,
|
|
761
761
|
timings: timings,
|
|
762
762
|
extensionKeys: extensionKeys,
|
|
763
|
-
ufoInteractionId: (0,
|
|
763
|
+
ufoInteractionId: (0, _getInteractionId.getInteractionId)().current
|
|
764
764
|
};
|
|
765
|
-
(0,
|
|
765
|
+
(0, _addUfoCustomData.addUFOCustomData)({
|
|
766
766
|
editorDomSize: editorDomSize
|
|
767
767
|
});
|
|
768
768
|
dispatchAnalyticsEvent({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Chromeless.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FixedToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FixedToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Toolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* BeforeWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* BeforeWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `BeforeWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* CustomToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* CustomToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `CustomToolbarWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPage-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPage-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `FullPage.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPageToolbarNext.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPageToolbarNext.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -17,7 +17,6 @@ var _hooks = require("@atlaskit/editor-common/hooks");
|
|
|
17
17
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
18
18
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
19
19
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
20
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
21
20
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
22
21
|
var _toolbar2 = require("../../../utils/toolbar");
|
|
23
22
|
var _ExcludeFromHydration = _interopRequireDefault(require("../../ExcludeFromHydration"));
|
|
@@ -100,7 +99,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
100
99
|
var isLivePage = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isLivePage;
|
|
101
100
|
var isMarkdownMode = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isMarkdownMode;
|
|
102
101
|
var markdownModeView = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.view;
|
|
103
|
-
var isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview'
|
|
102
|
+
var isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview';
|
|
104
103
|
var intl = (0, _reactIntl.useIntl)();
|
|
105
104
|
var toolbar = components === null || components === void 0 ? void 0 : components.find(function (component) {
|
|
106
105
|
return component.key === _toolbar.TOOLBARS.PRIMARY_TOOLBAR;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `MainToolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -11,7 +11,9 @@ var _mediaInline = require("@atlaskit/editor-common/media-inline");
|
|
|
11
11
|
var _mediaSingle = require("@atlaskit/editor-common/media-single");
|
|
12
12
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
13
13
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
14
|
-
var
|
|
14
|
+
var _classnames = require("@atlaskit/media-card/card/classnames");
|
|
15
|
+
var _inlinePlayerWrapperStyles = require("@atlaskit/media-card/inlinePlayerWrapperStyles");
|
|
16
|
+
var _cardConstants = require("@atlaskit/media-card/cardConstants");
|
|
15
17
|
var _selectionStyles = require("./selectionStyles");
|
|
16
18
|
var _ProseMirror, _css;
|
|
17
19
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
@@ -203,11 +205,11 @@ var mediaStyles = exports.mediaStyles = (0, _react.css)((_css = {
|
|
|
203
205
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
204
206
|
boxShadow: "0px 0px 0px ".concat(_editorSharedStyles.akEditorSelectedBorderBoldSize, "px, ", "var(--ds-border-danger, #E2483D)"),
|
|
205
207
|
transition: 'background-color 0s, box-shadow 0s'
|
|
206
|
-
}), '.danger', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_styles.richMediaClassName, " .").concat(
|
|
208
|
+
}), '.danger', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_styles.richMediaClassName, " .").concat(_classnames.fileCardImageViewSelector, "::after"), {
|
|
207
209
|
border: "1px solid ".concat("var(--ds-border-danger, #E2483D)")
|
|
208
|
-
}), ".".concat(_styles.richMediaClassName, " .").concat(
|
|
210
|
+
}), ".".concat(_styles.richMediaClassName, " .").concat(_inlinePlayerWrapperStyles.inlinePlayerClassName, "::after"), {
|
|
209
211
|
border: "1px solid ".concat("var(--ds-border-danger, #E2483D)")
|
|
210
|
-
}), ".".concat(_styles.richMediaClassName, " .").concat(
|
|
212
|
+
}), ".".concat(_styles.richMediaClassName, " .").concat(_cardConstants.newFileExperienceClassName), {
|
|
211
213
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
212
214
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-danger, #E2483D)", " !important")
|
|
213
215
|
}), '.richMedia-resize-handle-right::after, .richMedia-resize-handle-left::after', {
|
|
@@ -221,11 +223,11 @@ var mediaStyles = exports.mediaStyles = (0, _react.css)((_css = {
|
|
|
221
223
|
transition: "background-color 0s"
|
|
222
224
|
}), 'div div .media-card-frame::after', {
|
|
223
225
|
boxShadow: 'none'
|
|
224
|
-
})), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_css, '.warning', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_styles.richMediaClassName, " .").concat(
|
|
226
|
+
})), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_css, '.warning', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_styles.richMediaClassName, " .").concat(_classnames.fileCardImageViewSelector, "::after"), {
|
|
225
227
|
border: "1px solid ".concat("var(--ds-border-warning, #E06C00)")
|
|
226
|
-
}), ".".concat(_styles.richMediaClassName, " .").concat(
|
|
228
|
+
}), ".".concat(_styles.richMediaClassName, " .").concat(_inlinePlayerWrapperStyles.inlinePlayerClassName, "::after"), {
|
|
227
229
|
border: "1px solid ".concat("var(--ds-border-warning, #E06C00)")
|
|
228
|
-
}), ".".concat(_styles.richMediaClassName, " .").concat(
|
|
230
|
+
}), ".".concat(_styles.richMediaClassName, " .").concat(_cardConstants.newFileExperienceClassName), {
|
|
229
231
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
230
232
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-warning, #E06C00)", " !important")
|
|
231
233
|
}), '.resizer-handle-thumb', {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `ToolbarInner.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "228.1.
|
|
9
|
+
var version = exports.version = "228.1.6";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* editor-internal-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* editor-internal-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `editor-internal.tsx`.
|
|
@@ -26,8 +26,8 @@ import { createSSREditorState } from '@atlaskit/editor-ssr-renderer/create-ssr-e
|
|
|
26
26
|
import { createSSRPMPlugins } from '@atlaskit/editor-ssr-renderer/create-ssr-pm-plugins';
|
|
27
27
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
28
28
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
29
|
-
import { addUFOCustomData } from '@atlaskit/react-ufo/custom-data';
|
|
30
|
-
import { getInteractionId } from '@atlaskit/react-ufo/interaction-id
|
|
29
|
+
import { addUFOCustomData } from '@atlaskit/react-ufo/add-ufo-custom-data';
|
|
30
|
+
import { getInteractionId } from '@atlaskit/react-ufo/get-interaction-id';
|
|
31
31
|
import { abortAll, getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
32
32
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
33
33
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* clickAreaBlock-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* clickAreaBlock-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./clickAreaBlock-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Chromeless.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Comment-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Comment-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Comment.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FixedToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FixedToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Toolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* StickyToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* StickyToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Toolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* BeforeWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* BeforeWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `BeforeWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* CustomToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* CustomToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `CustomToolbarWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPage-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPage-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `FullPage.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPageContentArea-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPageContentArea-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./FullPageContentArea-compiled.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useImperativeHandle, useRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPageToolbarNext.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPageToolbarNext.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./FullPageToolbarNext.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useMemo } from 'react';
|
|
@@ -9,7 +9,6 @@ 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/fg';
|
|
13
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
13
|
import { isToolbar } from '../../../utils/toolbar';
|
|
15
14
|
import ExcludeFromHydration from '../../ExcludeFromHydration';
|
|
@@ -91,7 +90,7 @@ export const FullPageToolbarNext = ({
|
|
|
91
90
|
const isLivePage = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isLivePage;
|
|
92
91
|
const isMarkdownMode = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isMarkdownMode;
|
|
93
92
|
const markdownModeView = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.view;
|
|
94
|
-
const isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview'
|
|
93
|
+
const isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview';
|
|
95
94
|
const intl = useIntl();
|
|
96
95
|
const toolbar = components === null || components === void 0 ? void 0 : components.find(component => component.key === TOOLBARS.PRIMARY_TOOLBAR);
|
|
97
96
|
const visibleToolbarComponents = useMemo(() => components ? getToolbarComponentsForMarkdownView(components, markdownModeView, isConvertedMarkdownPreview) : undefined, [components, markdownModeView, isConvertedMarkdownPreview]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `MainToolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ChromeCollapsed-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ChromeCollapsed-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./ChromeCollapsed-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
// oxlint-disable-next-line typescript-eslint/triple-slash-reference
|
|
3
3
|
/// <reference path="../../types/compiled-shims.d.ts" />
|
|
4
4
|
// TODO: EDITOR-6833 - Expected across this entire file, future violations are expected. Will try to remove them later after fully migration
|
|
@@ -6,7 +6,9 @@ import { INLINE_IMAGE_WRAPPER_CLASS_NAME } from '@atlaskit/editor-common/media-i
|
|
|
6
6
|
import { CAPTION_PLACEHOLDER_ID } from '@atlaskit/editor-common/media-single';
|
|
7
7
|
import { MediaSharedClassNames, richMediaClassName } from '@atlaskit/editor-common/styles';
|
|
8
8
|
import { akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorSelectedBorderBoldSize, akEditorSelectedBoxShadow, akEditorSelectedNodeClassName, akEditorWrappedNodeZIndex } from '@atlaskit/editor-shared-styles';
|
|
9
|
-
import { fileCardImageViewSelector
|
|
9
|
+
import { fileCardImageViewSelector } from '@atlaskit/media-card/card/classnames';
|
|
10
|
+
import { inlinePlayerClassName } from '@atlaskit/media-card/inlinePlayerWrapperStyles';
|
|
11
|
+
import { newFileExperienceClassName } from '@atlaskit/media-card/cardConstants';
|
|
10
12
|
import { dangerBorderStyles } from './selectionStyles';
|
|
11
13
|
const wrappedMediaBreakoutPoint = 410;
|
|
12
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* PluginSlot-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* PluginSlot-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./PluginSlot-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `ToolbarInner.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* withFlash-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* withFlash-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./withFlash-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* editor-internal-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* editor-internal-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `editor-internal.tsx`.
|
|
@@ -34,8 +34,8 @@ 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 { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
36
36
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
37
|
-
import { addUFOCustomData } from '@atlaskit/react-ufo/custom-data';
|
|
38
|
-
import { getInteractionId } from '@atlaskit/react-ufo/interaction-id
|
|
37
|
+
import { addUFOCustomData } from '@atlaskit/react-ufo/add-ufo-custom-data';
|
|
38
|
+
import { getInteractionId } from '@atlaskit/react-ufo/get-interaction-id';
|
|
39
39
|
import { abortAll, getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
40
40
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
41
41
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* clickAreaBlock-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* clickAreaBlock-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Chromeless-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Chromeless.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Comment-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* Comment-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./Comment-compiled.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FixedToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FixedToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `Toolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* StickyToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* StickyToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import "./StickyToolbar-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* BeforeWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* BeforeWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `BeforeWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* CustomToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* CustomToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `CustomToolbarWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPage-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPage-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `FullPage.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPageContentArea-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPageContentArea-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./FullPageContentArea-compiled.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useImperativeHandle, useRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* FullPageToolbarNext.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* FullPageToolbarNext.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./FullPageToolbarNext.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useMemo } from 'react';
|
|
@@ -9,7 +9,6 @@ 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/fg';
|
|
13
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
13
|
import { isToolbar } from '../../../utils/toolbar';
|
|
15
14
|
import ExcludeFromHydration from '../../ExcludeFromHydration';
|
|
@@ -91,7 +90,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
91
90
|
var isLivePage = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isLivePage;
|
|
92
91
|
var isMarkdownMode = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isMarkdownMode;
|
|
93
92
|
var markdownModeView = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.view;
|
|
94
|
-
var isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview'
|
|
93
|
+
var isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview';
|
|
95
94
|
var intl = useIntl();
|
|
96
95
|
var toolbar = components === null || components === void 0 ? void 0 : components.find(function (component) {
|
|
97
96
|
return component.key === TOOLBARS.PRIMARY_TOOLBAR;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `MainToolbar.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MainToolbarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ChromeCollapsed-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ChromeCollapsed-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
3
3
|
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import "./ChromeCollapsed-compiled.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* index-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children", "customWidth", "visible"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* EditorContentContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./EditorContentContainer-compiled.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -8,7 +8,9 @@ import { INLINE_IMAGE_WRAPPER_CLASS_NAME } from '@atlaskit/editor-common/media-i
|
|
|
8
8
|
import { CAPTION_PLACEHOLDER_ID } from '@atlaskit/editor-common/media-single';
|
|
9
9
|
import { MediaSharedClassNames, richMediaClassName } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { akEditorMediaResizeHandlerPadding, akEditorMediaResizeHandlerPaddingWide, akEditorSelectedBorderBoldSize, akEditorSelectedBoxShadow, akEditorSelectedNodeClassName, akEditorWrappedNodeZIndex } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import { fileCardImageViewSelector
|
|
11
|
+
import { fileCardImageViewSelector } from '@atlaskit/media-card/card/classnames';
|
|
12
|
+
import { inlinePlayerClassName } from '@atlaskit/media-card/inlinePlayerWrapperStyles';
|
|
13
|
+
import { newFileExperienceClassName } from '@atlaskit/media-card/cardConstants';
|
|
12
14
|
import { dangerBorderStyles } from './selectionStyles';
|
|
13
15
|
var wrappedMediaBreakoutPoint = 410;
|
|
14
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* PluginSlot-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* PluginSlot-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `ToolbarInner.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
/**
|
|
3
3
|
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
4
|
* Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* withFlash-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* withFlash-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -8,7 +8,7 @@ import type { MediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
|
8
8
|
import type { MentionsPlugin } from '@atlaskit/editor-plugins/mentions';
|
|
9
9
|
import type { TasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-decisions';
|
|
10
10
|
import type { EmojiProvider } from '@atlaskit/emoji';
|
|
11
|
-
import type { MentionProvider } from '@atlaskit/mention/
|
|
11
|
+
import type { MentionProvider } from '@atlaskit/mention/types';
|
|
12
12
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
|
|
13
13
|
interface UseProvidersProps {
|
|
14
14
|
autoformattingProvider: Promise<AutoformattingProvider> | undefined;
|
|
@@ -26,7 +26,7 @@ import type { TextFormattingPluginOptions } from '@atlaskit/editor-plugins/text-
|
|
|
26
26
|
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
27
27
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
28
28
|
import type { SyncedBlockProvider } from '@atlaskit/editor-synced-block-provider';
|
|
29
|
-
import type { MentionProvider } from '@atlaskit/mention/
|
|
29
|
+
import type { MentionProvider } from '@atlaskit/mention/types';
|
|
30
30
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
31
31
|
import type EditorActions from '../actions';
|
|
32
32
|
import type { EditorOnChangeHandler } from './editor-onchange';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "228.1.
|
|
3
|
+
"version": "228.1.7",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^7.10.0",
|
|
76
76
|
"@atlaskit/task-decision": "^21.10.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^196.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^17.0.0",
|
|
79
79
|
"@atlaskit/tooltip": "^24.3.0",
|
|
80
80
|
"@atlaskit/width-detector": "^7.2.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"uuid": "^11.1.1"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@atlaskit/editor-common": "^122.
|
|
95
|
+
"@atlaskit/editor-common": "^122.7.0",
|
|
96
96
|
"@atlaskit/link-provider": "^5.6.0",
|
|
97
97
|
"@atlaskit/media-core": "^38.2.0",
|
|
98
98
|
"react": "^18.2.0 || ^19.2.0",
|
|
@@ -208,9 +208,6 @@
|
|
|
208
208
|
"type": "boolean",
|
|
209
209
|
"referenceOnly": true
|
|
210
210
|
},
|
|
211
|
-
"platform_editor_markdown_patch_m3": {
|
|
212
|
-
"type": "boolean"
|
|
213
|
-
},
|
|
214
211
|
"platform_editor_toolbar_responsive_fixes": {
|
|
215
212
|
"type": "boolean"
|
|
216
213
|
},
|