@atlaskit/editor-plugin-selection-toolbar 3.7.2 → 3.7.3

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,11 @@
1
1
  # @atlaskit/editor-plugin-selection-toolbar
2
2
 
3
+ ## 3.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.7.2
4
10
 
5
11
  ### Patch Changes
@@ -266,7 +266,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
266
266
  // do not show the toolbar.
267
267
  return;
268
268
  }
269
- if (isCellSelection && isEditorControlsEnabled && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_5')) {
269
+ if (isCellSelection && isEditorControlsEnabled) {
270
270
  var _api$blockControls;
271
271
  var isSelectedViaDragHandle = api === null || api === void 0 || (_api$blockControls = api.blockControls) === null || _api$blockControls === void 0 || (_api$blockControls = _api$blockControls.sharedState.currentState()) === null || _api$blockControls === void 0 ? void 0 : _api$blockControls.isSelectedViaDragHandle;
272
272
  if (isSelectedViaDragHandle) {
@@ -263,7 +263,7 @@ export const selectionToolbarPlugin = ({
263
263
  // do not show the toolbar.
264
264
  return;
265
265
  }
266
- if (isCellSelection && isEditorControlsEnabled && fg('platform_editor_controls_patch_5')) {
266
+ if (isCellSelection && isEditorControlsEnabled) {
267
267
  var _api$blockControls, _api$blockControls$sh;
268
268
  const isSelectedViaDragHandle = api === null || api === void 0 ? void 0 : (_api$blockControls = api.blockControls) === null || _api$blockControls === void 0 ? void 0 : (_api$blockControls$sh = _api$blockControls.sharedState.currentState()) === null || _api$blockControls$sh === void 0 ? void 0 : _api$blockControls$sh.isSelectedViaDragHandle;
269
269
  if (isSelectedViaDragHandle) {
@@ -259,7 +259,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
259
259
  // do not show the toolbar.
260
260
  return;
261
261
  }
262
- if (isCellSelection && isEditorControlsEnabled && fg('platform_editor_controls_patch_5')) {
262
+ if (isCellSelection && isEditorControlsEnabled) {
263
263
  var _api$blockControls;
264
264
  var isSelectedViaDragHandle = api === null || api === void 0 || (_api$blockControls = api.blockControls) === null || _api$blockControls === void 0 || (_api$blockControls = _api$blockControls.sharedState.currentState()) === null || _api$blockControls === void 0 ? void 0 : _api$blockControls.isSelectedViaDragHandle;
265
265
  if (isSelectedViaDragHandle) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/css": "^0.10.0",
36
+ "@atlaskit/css": "^0.11.0",
37
37
  "@atlaskit/editor-common": "^107.0.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
39
39
  "@atlaskit/editor-plugin-block-controls": "^3.19.0",
@@ -46,8 +46,8 @@
46
46
  "@atlaskit/icon-lab": "^5.0.0",
47
47
  "@atlaskit/menu": "^8.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/tmp-editor-statsig": "^7.1.0",
50
- "@atlaskit/tokens": "^5.2.0",
49
+ "@atlaskit/tmp-editor-statsig": "^7.2.0",
50
+ "@atlaskit/tokens": "^5.3.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "bind-event-listener": "^3.0.0"
53
53
  },
@@ -106,9 +106,6 @@
106
106
  "platform_editor_controls_patch_4": {
107
107
  "type": "boolean"
108
108
  },
109
- "platform_editor_controls_patch_5": {
110
- "type": "boolean"
111
- },
112
109
  "platform_editor_use_preferences_plugin": {
113
110
  "type": "boolean"
114
111
  },