@atlaskit/editor-core 205.0.0 → 205.0.1
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 +20 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +20 -6
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +20 -6
- 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
|
+
## 205.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#132779](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132779)
|
|
8
|
+
[`077245336ff88`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/077245336ff88) -
|
|
9
|
+
[ux] ED-27287 fix toolbar flicker
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 205.0.0
|
|
4
13
|
|
|
5
14
|
### Major Changes
|
|
@@ -102,12 +102,26 @@ var FullPageEditor = exports.FullPageEditor = function FullPageEditor(props) {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
var customPrimaryToolbarComponents = props.customPrimaryToolbarComponents;
|
|
105
|
-
if (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
if ((0, _platformFeatureFlags.fg)('platform_editor_controls_patch_1')) {
|
|
106
|
+
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
107
|
+
exposure: true
|
|
108
|
+
})) {
|
|
109
|
+
var _primaryToolbarCompon;
|
|
110
|
+
if (toolbarDocking !== 'top') {
|
|
111
|
+
primaryToolbarComponents = [];
|
|
112
|
+
}
|
|
113
|
+
if (!((_primaryToolbarCompon = primaryToolbarComponents) !== null && _primaryToolbarCompon !== void 0 && _primaryToolbarCompon.length) && !hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
114
|
+
isEditorToolbarHidden = true;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
} else {
|
|
118
|
+
if (toolbarDocking === 'none' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
119
|
+
exposure: true
|
|
120
|
+
})) {
|
|
121
|
+
primaryToolbarComponents = [];
|
|
122
|
+
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
123
|
+
isEditorToolbarHidden = true;
|
|
124
|
+
}
|
|
111
125
|
}
|
|
112
126
|
}
|
|
113
127
|
var popupsBoundariesElement = props.popupsBoundariesElement || (scrollContentContainerRef === null || scrollContentContainerRef === void 0 || (_scrollContentContain = scrollContentContainerRef.current) === null || _scrollContentContain === void 0 ? void 0 : _scrollContentContain.containerArea) || undefined;
|
|
@@ -86,12 +86,26 @@ export const FullPageEditor = props => {
|
|
|
86
86
|
const {
|
|
87
87
|
customPrimaryToolbarComponents
|
|
88
88
|
} = props;
|
|
89
|
-
if (
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
89
|
+
if (fg('platform_editor_controls_patch_1')) {
|
|
90
|
+
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
91
|
+
exposure: true
|
|
92
|
+
})) {
|
|
93
|
+
var _primaryToolbarCompon;
|
|
94
|
+
if (toolbarDocking !== 'top') {
|
|
95
|
+
primaryToolbarComponents = [];
|
|
96
|
+
}
|
|
97
|
+
if (!((_primaryToolbarCompon = primaryToolbarComponents) !== null && _primaryToolbarCompon !== void 0 && _primaryToolbarCompon.length) && !hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
98
|
+
isEditorToolbarHidden = true;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
} else {
|
|
102
|
+
if (toolbarDocking === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
|
|
103
|
+
exposure: true
|
|
104
|
+
})) {
|
|
105
|
+
primaryToolbarComponents = [];
|
|
106
|
+
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
107
|
+
isEditorToolbarHidden = true;
|
|
108
|
+
}
|
|
95
109
|
}
|
|
96
110
|
}
|
|
97
111
|
const popupsBoundariesElement = props.popupsBoundariesElement || (scrollContentContainerRef === null || scrollContentContainerRef === void 0 ? void 0 : (_scrollContentContain = scrollContentContainerRef.current) === null || _scrollContentContain === void 0 ? void 0 : _scrollContentContain.containerArea) || undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "205.0.
|
|
2
|
+
export const version = "205.0.1";
|
|
@@ -91,12 +91,26 @@ export var FullPageEditor = function FullPageEditor(props) {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
var customPrimaryToolbarComponents = props.customPrimaryToolbarComponents;
|
|
94
|
-
if (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
if (fg('platform_editor_controls_patch_1')) {
|
|
95
|
+
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
96
|
+
exposure: true
|
|
97
|
+
})) {
|
|
98
|
+
var _primaryToolbarCompon;
|
|
99
|
+
if (toolbarDocking !== 'top') {
|
|
100
|
+
primaryToolbarComponents = [];
|
|
101
|
+
}
|
|
102
|
+
if (!((_primaryToolbarCompon = primaryToolbarComponents) !== null && _primaryToolbarCompon !== void 0 && _primaryToolbarCompon.length) && !hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
103
|
+
isEditorToolbarHidden = true;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
} else {
|
|
107
|
+
if (toolbarDocking === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
|
|
108
|
+
exposure: true
|
|
109
|
+
})) {
|
|
110
|
+
primaryToolbarComponents = [];
|
|
111
|
+
if (!hasCustomComponents(customPrimaryToolbarComponents)) {
|
|
112
|
+
isEditorToolbarHidden = true;
|
|
113
|
+
}
|
|
100
114
|
}
|
|
101
115
|
}
|
|
102
116
|
var popupsBoundariesElement = props.popupsBoundariesElement || (scrollContentContainerRef === null || scrollContentContainerRef === void 0 || (_scrollContentContain = scrollContentContainerRef.current) === null || _scrollContentContain === void 0 ? void 0 : _scrollContentContain.containerArea) || undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "205.0.
|
|
2
|
+
export var version = "205.0.1";
|