@atlaskit/editor-plugin-selection-toolbar 7.2.0 → 8.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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 8.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`490ba37f8d25b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/490ba37f8d25b) -
|
|
8
|
+
Clean up platform_editor_lcm_toolbar_docking_fix feature flag
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.0.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 7.2.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -109,11 +109,8 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
|
|
|
109
109
|
forceToolbarDockingWithoutAnalytics: function forceToolbarDockingWithoutAnalytics(toolbarDocking) {
|
|
110
110
|
var _api$core$actions$exe6;
|
|
111
111
|
if ((0, _platformFeatureFlags.fg)('platform_editor_use_preferences_plugin')) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
// to avoid nested gate. Will remove when cleaning up platform_editor_lcm_toolbar_docking_fix
|
|
115
|
-
return (_api$core$actions$exe5 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', toolbarDocking))) !== null && _api$core$actions$exe5 !== void 0 ? _api$core$actions$exe5 : false;
|
|
116
|
-
}
|
|
112
|
+
var _api$core$actions$exe5, _api$userPreferences2;
|
|
113
|
+
return (_api$core$actions$exe5 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', toolbarDocking))) !== null && _api$core$actions$exe5 !== void 0 ? _api$core$actions$exe5 : false;
|
|
117
114
|
}
|
|
118
115
|
return (_api$core$actions$exe6 = api === null || api === void 0 ? void 0 : api.core.actions.execute((0, _commands.forceToolbarDockingWithoutAnalytics)({
|
|
119
116
|
toolbarDocking: toolbarDocking,
|
|
@@ -102,11 +102,8 @@ export const selectionToolbarPlugin = ({
|
|
|
102
102
|
forceToolbarDockingWithoutAnalytics: toolbarDocking => {
|
|
103
103
|
var _api$core$actions$exe6;
|
|
104
104
|
if (fg('platform_editor_use_preferences_plugin')) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
// to avoid nested gate. Will remove when cleaning up platform_editor_lcm_toolbar_docking_fix
|
|
108
|
-
return (_api$core$actions$exe5 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', toolbarDocking))) !== null && _api$core$actions$exe5 !== void 0 ? _api$core$actions$exe5 : false;
|
|
109
|
-
}
|
|
105
|
+
var _api$core$actions$exe5, _api$userPreferences2;
|
|
106
|
+
return (_api$core$actions$exe5 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 ? void 0 : (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', toolbarDocking))) !== null && _api$core$actions$exe5 !== void 0 ? _api$core$actions$exe5 : false;
|
|
110
107
|
}
|
|
111
108
|
return (_api$core$actions$exe6 = api === null || api === void 0 ? void 0 : api.core.actions.execute(forceToolbarDockingWithoutAnalytics({
|
|
112
109
|
toolbarDocking,
|
|
@@ -102,11 +102,8 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
|
|
|
102
102
|
forceToolbarDockingWithoutAnalytics: function forceToolbarDockingWithoutAnalytics(toolbarDocking) {
|
|
103
103
|
var _api$core$actions$exe6;
|
|
104
104
|
if (fg('platform_editor_use_preferences_plugin')) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
// to avoid nested gate. Will remove when cleaning up platform_editor_lcm_toolbar_docking_fix
|
|
108
|
-
return (_api$core$actions$exe5 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', toolbarDocking))) !== null && _api$core$actions$exe5 !== void 0 ? _api$core$actions$exe5 : false;
|
|
109
|
-
}
|
|
105
|
+
var _api$core$actions$exe5, _api$userPreferences2;
|
|
106
|
+
return (_api$core$actions$exe5 = api === null || api === void 0 ? void 0 : api.core.actions.execute(api === null || api === void 0 || (_api$userPreferences2 = api.userPreferences) === null || _api$userPreferences2 === void 0 ? void 0 : _api$userPreferences2.actions.updateUserPreference('toolbarDockingPosition', toolbarDocking))) !== null && _api$core$actions$exe5 !== void 0 ? _api$core$actions$exe5 : false;
|
|
110
107
|
}
|
|
111
108
|
return (_api$core$actions$exe6 = api === null || api === void 0 ? void 0 : api.core.actions.execute(_forceToolbarDockingWithoutAnalytics({
|
|
112
109
|
toolbarDocking: toolbarDocking,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/css": "^0.19.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
35
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
36
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
37
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
38
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
39
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
40
|
-
"@atlaskit/editor-plugin-user-preferences": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^7.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-block-controls": "^8.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^9.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^8.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-toolbar": "^4.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-user-intent": "^5.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-user-preferences": "^5.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
42
42
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
43
43
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"@atlaskit/menu": "^8.4.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^16.3.0",
|
|
50
50
|
"@atlaskit/tokens": "^9.0.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"bind-event-listener": "^3.0.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@atlaskit/editor-common": "^
|
|
55
|
+
"@atlaskit/editor-common": "^111.0.0",
|
|
56
56
|
"react": "^18.2.0",
|
|
57
57
|
"react-dom": "^18.2.0",
|
|
58
58
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -106,9 +106,6 @@
|
|
|
106
106
|
"platform_editor_toolbar_aifc_patch_7": {
|
|
107
107
|
"type": "boolean"
|
|
108
108
|
},
|
|
109
|
-
"platform_editor_lcm_toolbar_docking_fix": {
|
|
110
|
-
"type": "boolean"
|
|
111
|
-
},
|
|
112
109
|
"platform_editor_migrate_toolbar_docking": {
|
|
113
110
|
"type": "boolean"
|
|
114
111
|
},
|