@atlaskit/editor-core 216.7.5 → 216.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -9
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -9
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -9
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +1 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.7.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9041ec452a104`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9041ec452a104) -
|
|
8
|
+
[EDITOR-4515] clean up fg platform_editor_toolbar_aifc_patch_7
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 216.7.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -195,7 +195,7 @@ var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEdit
|
|
|
195
195
|
useStickyToolbar: useStickyToolbar,
|
|
196
196
|
twoLineEditorToolbar: isTwoLineToolbarEnabled,
|
|
197
197
|
isNewToolbarEnabled: isToolbarAIFCEnabled
|
|
198
|
-
}, isToolbarAIFCEnabled ? (0,
|
|
198
|
+
}, isToolbarAIFCEnabled ? (0, _react2.jsx)(_uiMenu.ToolbarArrowKeyNavigationProvider, {
|
|
199
199
|
editorView: editorView,
|
|
200
200
|
childComponentSelector: "[data-testid='ak-editor-main-toolbar']",
|
|
201
201
|
isShortcutToFocusToolbar: isShortcutToFocusToolbar,
|
|
@@ -211,14 +211,6 @@ var CommentEditorWithIntl = exports.CommentEditorWithIntl = function CommentEdit
|
|
|
211
211
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
212
212
|
popupsScrollableElement: popupsScrollableElement,
|
|
213
213
|
popupsMountPoint: popupsMountPoint
|
|
214
|
-
}), customPrimaryToolbarComponents ? customToolbarSlot : null) : (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_CommentToolbar.CommentToolbar, {
|
|
215
|
-
editorAPI: editorAPI,
|
|
216
|
-
editorView: editorView,
|
|
217
|
-
editorAppearance: appearance,
|
|
218
|
-
disabled: patch6Enabled ? !!disabled : undefined,
|
|
219
|
-
popupsBoundariesElement: popupsBoundariesElement,
|
|
220
|
-
popupsScrollableElement: popupsScrollableElement,
|
|
221
|
-
popupsMountPoint: popupsMountPoint
|
|
222
214
|
}), customPrimaryToolbarComponents ? customToolbarSlot : null) : (0, _react2.jsx)(_uiMenu.ToolbarArrowKeyNavigationProvider, {
|
|
223
215
|
editorView: editorView,
|
|
224
216
|
childComponentSelector: "[data-testid='ak-editor-main-toolbar']",
|
|
@@ -15,7 +15,6 @@ var _contextPanel = require("@atlaskit/editor-common/context-panel");
|
|
|
15
15
|
var _coreUtils = require("@atlaskit/editor-common/core-utils");
|
|
16
16
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
17
17
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
20
19
|
var _toolbar2 = require("../../../utils/toolbar");
|
|
21
20
|
var _ExcludeFromHydration = _interopRequireDefault(require("../../ExcludeFromHydration"));
|
|
@@ -136,6 +135,6 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
136
135
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
|
|
137
136
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
138
137
|
className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
|
|
139
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)),
|
|
138
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))))));
|
|
140
139
|
});
|
|
141
140
|
};
|
|
@@ -183,7 +183,7 @@ export const CommentEditorWithIntl = props => {
|
|
|
183
183
|
useStickyToolbar: useStickyToolbar,
|
|
184
184
|
twoLineEditorToolbar: isTwoLineToolbarEnabled,
|
|
185
185
|
isNewToolbarEnabled: isToolbarAIFCEnabled
|
|
186
|
-
}, isToolbarAIFCEnabled ?
|
|
186
|
+
}, isToolbarAIFCEnabled ? jsx(ToolbarArrowKeyNavigationProvider, {
|
|
187
187
|
editorView: editorView,
|
|
188
188
|
childComponentSelector: "[data-testid='ak-editor-main-toolbar']",
|
|
189
189
|
isShortcutToFocusToolbar: isShortcutToFocusToolbar,
|
|
@@ -199,14 +199,6 @@ export const CommentEditorWithIntl = props => {
|
|
|
199
199
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
200
200
|
popupsScrollableElement: popupsScrollableElement,
|
|
201
201
|
popupsMountPoint: popupsMountPoint
|
|
202
|
-
}), customPrimaryToolbarComponents ? customToolbarSlot : null) : jsx(React.Fragment, null, jsx(CommentToolbar, {
|
|
203
|
-
editorAPI: editorAPI,
|
|
204
|
-
editorView: editorView,
|
|
205
|
-
editorAppearance: appearance,
|
|
206
|
-
disabled: patch6Enabled ? !!disabled : undefined,
|
|
207
|
-
popupsBoundariesElement: popupsBoundariesElement,
|
|
208
|
-
popupsScrollableElement: popupsScrollableElement,
|
|
209
|
-
popupsMountPoint: popupsMountPoint
|
|
210
202
|
}), customPrimaryToolbarComponents ? customToolbarSlot : null) : jsx(ToolbarArrowKeyNavigationProvider, {
|
|
211
203
|
editorView: editorView,
|
|
212
204
|
childComponentSelector: "[data-testid='ak-editor-main-toolbar']",
|
|
@@ -7,7 +7,6 @@ import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
|
7
7
|
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
8
8
|
import { shouldShowPrimaryToolbar, TOOLBARS } from '@atlaskit/editor-common/toolbar';
|
|
9
9
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
11
|
import { isToolbar } from '../../../utils/toolbar';
|
|
13
12
|
import ExcludeFromHydration from '../../ExcludeFromHydration';
|
|
@@ -130,5 +129,5 @@ export const FullPageToolbarNext = ({
|
|
|
130
129
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
131
130
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
132
131
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
133
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)),
|
|
132
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)))))));
|
|
134
133
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "216.7.
|
|
2
|
+
export const version = "216.7.5";
|
|
@@ -184,7 +184,7 @@ export var CommentEditorWithIntl = function CommentEditorWithIntl(props) {
|
|
|
184
184
|
useStickyToolbar: useStickyToolbar,
|
|
185
185
|
twoLineEditorToolbar: isTwoLineToolbarEnabled,
|
|
186
186
|
isNewToolbarEnabled: isToolbarAIFCEnabled
|
|
187
|
-
}, isToolbarAIFCEnabled ?
|
|
187
|
+
}, isToolbarAIFCEnabled ? jsx(ToolbarArrowKeyNavigationProvider, {
|
|
188
188
|
editorView: editorView,
|
|
189
189
|
childComponentSelector: "[data-testid='ak-editor-main-toolbar']",
|
|
190
190
|
isShortcutToFocusToolbar: isShortcutToFocusToolbar,
|
|
@@ -200,14 +200,6 @@ export var CommentEditorWithIntl = function CommentEditorWithIntl(props) {
|
|
|
200
200
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
201
201
|
popupsScrollableElement: popupsScrollableElement,
|
|
202
202
|
popupsMountPoint: popupsMountPoint
|
|
203
|
-
}), customPrimaryToolbarComponents ? customToolbarSlot : null) : jsx(React.Fragment, null, jsx(CommentToolbar, {
|
|
204
|
-
editorAPI: editorAPI,
|
|
205
|
-
editorView: editorView,
|
|
206
|
-
editorAppearance: appearance,
|
|
207
|
-
disabled: patch6Enabled ? !!disabled : undefined,
|
|
208
|
-
popupsBoundariesElement: popupsBoundariesElement,
|
|
209
|
-
popupsScrollableElement: popupsScrollableElement,
|
|
210
|
-
popupsMountPoint: popupsMountPoint
|
|
211
203
|
}), customPrimaryToolbarComponents ? customToolbarSlot : null) : jsx(ToolbarArrowKeyNavigationProvider, {
|
|
212
204
|
editorView: editorView,
|
|
213
205
|
childComponentSelector: "[data-testid='ak-editor-main-toolbar']",
|
|
@@ -7,7 +7,6 @@ import { ContextPanelConsumer } from '@atlaskit/editor-common/context-panel';
|
|
|
7
7
|
import { isSSR } from '@atlaskit/editor-common/core-utils';
|
|
8
8
|
import { shouldShowPrimaryToolbar, TOOLBARS } from '@atlaskit/editor-common/toolbar';
|
|
9
9
|
import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
11
|
import { isToolbar } from '../../../utils/toolbar';
|
|
13
12
|
import ExcludeFromHydration from '../../ExcludeFromHydration';
|
|
@@ -127,6 +126,6 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
127
126
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
128
127
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
129
128
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
130
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)),
|
|
129
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))))));
|
|
131
130
|
});
|
|
132
131
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "216.7.
|
|
2
|
+
export var version = "216.7.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.7.
|
|
3
|
+
"version": "216.7.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
59
59
|
"@atlaskit/editor-toolbar-model": "^0.3.0",
|
|
60
60
|
"@atlaskit/emoji": "^69.10.0",
|
|
61
|
-
"@atlaskit/icon": "^
|
|
61
|
+
"@atlaskit/icon": "^30.0.0",
|
|
62
62
|
"@atlaskit/link": "^3.3.0",
|
|
63
63
|
"@atlaskit/media-card": "^79.14.0",
|
|
64
64
|
"@atlaskit/mention": "^24.4.0",
|
|
@@ -286,6 +286,9 @@
|
|
|
286
286
|
"type": "boolean",
|
|
287
287
|
"referenceOnly": true
|
|
288
288
|
},
|
|
289
|
+
"platform_synced_block_dogfooding": {
|
|
290
|
+
"type": "boolean"
|
|
291
|
+
},
|
|
289
292
|
"atlas_editor_typography_refreshed": {
|
|
290
293
|
"type": "boolean"
|
|
291
294
|
},
|
|
@@ -323,9 +326,6 @@
|
|
|
323
326
|
"platform_editor_text_highlight_padding": {
|
|
324
327
|
"type": "boolean"
|
|
325
328
|
},
|
|
326
|
-
"platform_editor_toolbar_aifc_patch_7": {
|
|
327
|
-
"type": "boolean"
|
|
328
|
-
},
|
|
329
329
|
"platform_editor_toolbar_aifc_placement_overridden": {
|
|
330
330
|
"type": "boolean"
|
|
331
331
|
},
|