@atlaskit/editor-core 207.12.1 → 207.12.2
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/FullPageContentArea.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +2 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 207.12.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#161893](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161893)
|
|
8
|
+
[`432e1c30874a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/432e1c30874a0) -
|
|
9
|
+
controls performance gating switch to experiment
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 207.12.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -88,11 +88,11 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
|
88
88
|
interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
|
|
89
89
|
}
|
|
90
90
|
var shouldSetHiddenDataAttribute = function shouldSetHiddenDataAttribute() {
|
|
91
|
-
// When
|
|
91
|
+
// When platform_editor_controls_performance_fixes is enabled we use a different method to
|
|
92
92
|
// determine if the toolbar is hidden from outside of the editor, which doesn't require setting
|
|
93
93
|
// data-editor-primary-toolbar-hidden on the content area
|
|
94
94
|
// NOTE: When tidying, this function and the data attribute can be removed
|
|
95
|
-
if (!props.isEditorToolbarHidden || (0,
|
|
95
|
+
if (!props.isEditorToolbarHidden || (0, _experiments.editorExperiment)('platform_editor_controls_performance_fixes', true)) {
|
|
96
96
|
return false;
|
|
97
97
|
}
|
|
98
98
|
return (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1');
|
|
@@ -72,11 +72,11 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
72
72
|
interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
|
|
73
73
|
}
|
|
74
74
|
const shouldSetHiddenDataAttribute = () => {
|
|
75
|
-
// When
|
|
75
|
+
// When platform_editor_controls_performance_fixes is enabled we use a different method to
|
|
76
76
|
// determine if the toolbar is hidden from outside of the editor, which doesn't require setting
|
|
77
77
|
// data-editor-primary-toolbar-hidden on the content area
|
|
78
78
|
// NOTE: When tidying, this function and the data attribute can be removed
|
|
79
|
-
if (!props.isEditorToolbarHidden ||
|
|
79
|
+
if (!props.isEditorToolbarHidden || editorExperiment('platform_editor_controls_performance_fixes', true)) {
|
|
80
80
|
return false;
|
|
81
81
|
}
|
|
82
82
|
return editorExperiment('platform_editor_controls', 'variant1');
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "207.12.
|
|
2
|
+
export const version = "207.12.2";
|
|
@@ -77,11 +77,11 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
77
77
|
interactionClassName = props.hasHadInteraction ? 'ak-editor-has-interaction' : 'ak-editor-no-interaction';
|
|
78
78
|
}
|
|
79
79
|
var shouldSetHiddenDataAttribute = function shouldSetHiddenDataAttribute() {
|
|
80
|
-
// When
|
|
80
|
+
// When platform_editor_controls_performance_fixes is enabled we use a different method to
|
|
81
81
|
// determine if the toolbar is hidden from outside of the editor, which doesn't require setting
|
|
82
82
|
// data-editor-primary-toolbar-hidden on the content area
|
|
83
83
|
// NOTE: When tidying, this function and the data attribute can be removed
|
|
84
|
-
if (!props.isEditorToolbarHidden ||
|
|
84
|
+
if (!props.isEditorToolbarHidden || editorExperiment('platform_editor_controls_performance_fixes', true)) {
|
|
85
85
|
return false;
|
|
86
86
|
}
|
|
87
87
|
return editorExperiment('platform_editor_controls', 'variant1');
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "207.12.
|
|
2
|
+
export var version = "207.12.2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "207.12.
|
|
3
|
+
"version": "207.12.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
63
63
|
"@atlaskit/react-ufo": "^3.13.0",
|
|
64
64
|
"@atlaskit/task-decision": "^19.2.0",
|
|
65
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
65
|
+
"@atlaskit/tmp-editor-statsig": "^5.4.0",
|
|
66
66
|
"@atlaskit/tokens": "^4.9.0",
|
|
67
67
|
"@atlaskit/tooltip": "^20.2.0",
|
|
68
68
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -199,10 +199,6 @@
|
|
|
199
199
|
"type": "boolean",
|
|
200
200
|
"referenceOnly": true
|
|
201
201
|
},
|
|
202
|
-
"platform_editor_offline_banner_toolbar_position": {
|
|
203
|
-
"type": "boolean",
|
|
204
|
-
"referenceOnly": true
|
|
205
|
-
},
|
|
206
202
|
"platform_editor_disable_instrumented_plugin": {
|
|
207
203
|
"type": "boolean"
|
|
208
204
|
},
|