@atlaskit/editor-plugin-selection-toolbar 3.6.5 → 3.6.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
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 3.6.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#159043](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159043)
|
|
8
|
+
[`686cfbea13d47`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/686cfbea13d47) -
|
|
9
|
+
ED-28050 [Performance] Disable unnecessary docking preference request on PageVisibilityWatcher
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.6.5
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -92,7 +92,9 @@ var PageVisibilityWatcher = exports.PageVisibilityWatcher = function PageVisibil
|
|
|
92
92
|
return _ref2.apply(this, arguments);
|
|
93
93
|
};
|
|
94
94
|
}();
|
|
95
|
-
|
|
95
|
+
if (!(0, _platformFeatureFlags.fg)('platform_disable_docking_preference_request')) {
|
|
96
|
+
refreshPrefrerence();
|
|
97
|
+
}
|
|
96
98
|
return (0, _bindEventListener.bind)(document, {
|
|
97
99
|
type: 'visibilitychange',
|
|
98
100
|
listener: refreshPrefrerence
|
|
@@ -41,7 +41,9 @@ export const PageVisibilityWatcher = ({
|
|
|
41
41
|
api === null || api === void 0 ? void 0 : (_api$selectionToolbar4 = api.selectionToolbar) === null || _api$selectionToolbar4 === void 0 ? void 0 : (_api$selectionToolbar5 = _api$selectionToolbar4.actions) === null || _api$selectionToolbar5 === void 0 ? void 0 : (_api$selectionToolbar6 = _api$selectionToolbar5.refreshToolbarDocking) === null || _api$selectionToolbar6 === void 0 ? void 0 : _api$selectionToolbar6.call(_api$selectionToolbar5);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
if (!fg('platform_disable_docking_preference_request')) {
|
|
45
|
+
refreshPrefrerence();
|
|
46
|
+
}
|
|
45
47
|
return bind(document, {
|
|
46
48
|
type: 'visibilitychange',
|
|
47
49
|
listener: refreshPrefrerence
|
|
@@ -85,7 +85,9 @@ export var PageVisibilityWatcher = function PageVisibilityWatcher(_ref) {
|
|
|
85
85
|
return _ref2.apply(this, arguments);
|
|
86
86
|
};
|
|
87
87
|
}();
|
|
88
|
-
|
|
88
|
+
if (!fg('platform_disable_docking_preference_request')) {
|
|
89
|
+
refreshPrefrerence();
|
|
90
|
+
}
|
|
89
91
|
return bind(document, {
|
|
90
92
|
type: 'visibilitychange',
|
|
91
93
|
listener: refreshPrefrerence
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.6",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/css": "^0.10.0",
|
|
37
|
-
"@atlaskit/editor-common": "^105.
|
|
37
|
+
"@atlaskit/editor-common": "^105.9.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
39
|
-
"@atlaskit/editor-plugin-block-controls": "^3.
|
|
39
|
+
"@atlaskit/editor-plugin-block-controls": "^3.15.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
|
-
"@atlaskit/icon": "^26.
|
|
44
|
-
"@atlaskit/icon-lab": "^4.
|
|
43
|
+
"@atlaskit/icon": "^26.2.0",
|
|
44
|
+
"@atlaskit/icon-lab": "^4.15.0",
|
|
45
45
|
"@atlaskit/menu": "^8.0.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^4.25.0",
|
|
48
48
|
"@atlaskit/tokens": "^4.9.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"bind-event-listener": "^3.0.0"
|
|
@@ -112,6 +112,9 @@
|
|
|
112
112
|
},
|
|
113
113
|
"platform_editor_controls_patch_8": {
|
|
114
114
|
"type": "boolean"
|
|
115
|
+
},
|
|
116
|
+
"platform_disable_docking_preference_request": {
|
|
117
|
+
"type": "boolean"
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
120
|
}
|