@atlaskit/editor-core 213.2.2 → 213.2.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 +9 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +2 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +2 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 213.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0fc247d192ca0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fc247d192ca0) -
|
|
8
|
+
ED-29276 [SoftServ] Word ‘Color' is shown in pinned toolbar and 'Colour’ in Primary (unpinned)
|
|
9
|
+
toolbar, same in tooltips
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 213.2.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ exports.FullPageEditor = void 0;
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var _reactIntlNext = require("react-intl-next");
|
|
13
12
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
14
13
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
15
14
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
@@ -154,9 +153,7 @@ var FullPageEditor = exports.FullPageEditor = function FullPageEditor(props) {
|
|
|
154
153
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
155
154
|
'--ak-editor-fullpage-toolbar-height': (0, _editorSharedStyles.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT)()
|
|
156
155
|
}
|
|
157
|
-
}, !isEditorToolbarHidden && (Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) ? (0, _react2.jsx)(
|
|
158
|
-
locale: "en"
|
|
159
|
-
}, (0, _react2.jsx)(_FullPageToolbarNext.FullPageToolbarNext, {
|
|
156
|
+
}, !isEditorToolbarHidden && (Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) ? (0, _react2.jsx)(_FullPageToolbarNext.FullPageToolbarNext, {
|
|
160
157
|
disabled: (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? !!props.disabled : undefined,
|
|
161
158
|
toolbarDockingPosition: toolbarDockingPosition !== null && toolbarDockingPosition !== void 0 ? toolbarDockingPosition : toolbarDocking,
|
|
162
159
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
@@ -167,7 +164,7 @@ var FullPageEditor = exports.FullPageEditor = function FullPageEditor(props) {
|
|
|
167
164
|
popupsScrollableElement: props.popupsScrollableElement,
|
|
168
165
|
showKeyline: showKeyline,
|
|
169
166
|
customPrimaryToolbarComponents: props.customPrimaryToolbarComponents
|
|
170
|
-
})
|
|
167
|
+
}) : (0, _react2.jsx)(_FullPageToolbar.FullPageToolbar, {
|
|
171
168
|
appearance: props.appearance,
|
|
172
169
|
editorAPI: editorAPI,
|
|
173
170
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
@@ -6,7 +6,6 @@ import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import { IntlProvider } from 'react-intl-next';
|
|
10
9
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
11
10
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
12
11
|
import { ContextPanelWidthProvider } from '@atlaskit/editor-common/ui';
|
|
@@ -139,9 +138,7 @@ export const FullPageEditor = props => {
|
|
|
139
138
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
140
139
|
'--ak-editor-fullpage-toolbar-height': FULL_PAGE_EDITOR_TOOLBAR_HEIGHT()
|
|
141
140
|
}
|
|
142
|
-
}, !isEditorToolbarHidden && (Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true) ? jsx(
|
|
143
|
-
locale: "en"
|
|
144
|
-
}, jsx(FullPageToolbarNext, {
|
|
141
|
+
}, !isEditorToolbarHidden && (Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true) ? jsx(FullPageToolbarNext, {
|
|
145
142
|
disabled: expValEquals('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? !!props.disabled : undefined,
|
|
146
143
|
toolbarDockingPosition: (_toolbarDockingPositi = toolbarDockingPosition) !== null && _toolbarDockingPositi !== void 0 ? _toolbarDockingPositi : toolbarDocking,
|
|
147
144
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
@@ -152,7 +149,7 @@ export const FullPageEditor = props => {
|
|
|
152
149
|
popupsScrollableElement: props.popupsScrollableElement,
|
|
153
150
|
showKeyline: showKeyline,
|
|
154
151
|
customPrimaryToolbarComponents: props.customPrimaryToolbarComponents
|
|
155
|
-
})
|
|
152
|
+
}) : jsx(FullPageToolbar, {
|
|
156
153
|
appearance: props.appearance,
|
|
157
154
|
editorAPI: editorAPI,
|
|
158
155
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "213.2.
|
|
2
|
+
export const version = "213.2.2";
|
|
@@ -7,7 +7,6 @@ import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import { IntlProvider } from 'react-intl-next';
|
|
11
10
|
import { browser } from '@atlaskit/editor-common/browser';
|
|
12
11
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
13
12
|
import { ContextPanelWidthProvider } from '@atlaskit/editor-common/ui';
|
|
@@ -144,9 +143,7 @@ export var FullPageEditor = function FullPageEditor(props) {
|
|
|
144
143
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
145
144
|
'--ak-editor-fullpage-toolbar-height': FULL_PAGE_EDITOR_TOOLBAR_HEIGHT()
|
|
146
145
|
}
|
|
147
|
-
}, !isEditorToolbarHidden && (Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true) ? jsx(
|
|
148
|
-
locale: "en"
|
|
149
|
-
}, jsx(FullPageToolbarNext, {
|
|
146
|
+
}, !isEditorToolbarHidden && (Boolean(editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true) ? jsx(FullPageToolbarNext, {
|
|
150
147
|
disabled: expValEquals('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? !!props.disabled : undefined,
|
|
151
148
|
toolbarDockingPosition: toolbarDockingPosition !== null && toolbarDockingPosition !== void 0 ? toolbarDockingPosition : toolbarDocking,
|
|
152
149
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
@@ -157,7 +154,7 @@ export var FullPageEditor = function FullPageEditor(props) {
|
|
|
157
154
|
popupsScrollableElement: props.popupsScrollableElement,
|
|
158
155
|
showKeyline: showKeyline,
|
|
159
156
|
customPrimaryToolbarComponents: props.customPrimaryToolbarComponents
|
|
160
|
-
})
|
|
157
|
+
}) : jsx(FullPageToolbar, {
|
|
161
158
|
appearance: props.appearance,
|
|
162
159
|
editorAPI: editorAPI,
|
|
163
160
|
beforeIcon: props.primaryToolbarIconBefore,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "213.2.
|
|
2
|
+
export var version = "213.2.2";
|