@atlaskit/editor-plugin-selection 10.0.11 → 10.0.13

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
2
2
 
3
+ ## 10.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.0.12
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ab837b5646256`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ab837b5646256) -
14
+ [ux] EDITOR-6274 Clean up platform_editor_element_drag_and_drop_multiselect
15
+ - Updated dependencies
16
+
3
17
  ## 10.0.11
4
18
 
5
19
  ### Patch Changes
@@ -34,7 +34,6 @@ var createPlugin = exports.createPlugin = function createPlugin(api, dispatch, d
34
34
  var manualSelection;
35
35
  var hideCursorChanged = false;
36
36
  var blockSelectionChanged = false;
37
- var needsManualSelection = (0, _experiments.editorExperiment)('platform_editor_element_drag_and_drop_multiselect', true);
38
37
  var needsBlockSelection = (0, _experiments.editorExperiment)('platform_editor_block_menu', true, {
39
38
  exposure: true
40
39
  });
@@ -47,7 +46,7 @@ var createPlugin = exports.createPlugin = function createPlugin(api, dispatch, d
47
46
  hideCursorChanged = true;
48
47
  }
49
48
  }
50
- if (needsManualSelection && meta !== null && meta !== void 0 && meta.manualSelection && !manualSelection) {
49
+ if (meta !== null && meta !== void 0 && meta.manualSelection && !manualSelection) {
51
50
  manualSelection = meta.manualSelection;
52
51
  }
53
52
  if (needsBlockSelection) {
@@ -27,7 +27,6 @@ export const createPlugin = (api, dispatch, dispatchAnalyticsEvent, options = {}
27
27
  let manualSelection;
28
28
  let hideCursorChanged = false;
29
29
  let blockSelectionChanged = false;
30
- const needsManualSelection = editorExperiment('platform_editor_element_drag_and_drop_multiselect', true);
31
30
  const needsBlockSelection = editorExperiment('platform_editor_block_menu', true, {
32
31
  exposure: true
33
32
  });
@@ -40,7 +39,7 @@ export const createPlugin = (api, dispatch, dispatchAnalyticsEvent, options = {}
40
39
  hideCursorChanged = true;
41
40
  }
42
41
  }
43
- if (needsManualSelection && meta !== null && meta !== void 0 && meta.manualSelection && !manualSelection) {
42
+ if (meta !== null && meta !== void 0 && meta.manualSelection && !manualSelection) {
44
43
  manualSelection = meta.manualSelection;
45
44
  }
46
45
  if (needsBlockSelection) {
@@ -28,7 +28,6 @@ export var createPlugin = function createPlugin(api, dispatch, dispatchAnalytics
28
28
  var manualSelection;
29
29
  var hideCursorChanged = false;
30
30
  var blockSelectionChanged = false;
31
- var needsManualSelection = editorExperiment('platform_editor_element_drag_and_drop_multiselect', true);
32
31
  var needsBlockSelection = editorExperiment('platform_editor_block_menu', true, {
33
32
  exposure: true
34
33
  });
@@ -41,7 +40,7 @@ export var createPlugin = function createPlugin(api, dispatch, dispatchAnalytics
41
40
  hideCursorChanged = true;
42
41
  }
43
42
  }
44
- if (needsManualSelection && meta !== null && meta !== void 0 && meta.manualSelection && !manualSelection) {
43
+ if (meta !== null && meta !== void 0 && meta.manualSelection && !manualSelection) {
45
44
  manualSelection = meta.manualSelection;
46
45
  }
47
46
  if (needsBlockSelection) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection",
3
- "version": "10.0.11",
3
+ "version": "10.0.13",
4
4
  "description": "Selection plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,12 +25,12 @@
25
25
  "@atlaskit/editor-shared-styles": "^3.10.0",
26
26
  "@atlaskit/editor-tables": "^2.9.0",
27
27
  "@atlaskit/platform-feature-flags": "^1.1.0",
28
- "@atlaskit/tmp-editor-statsig": "^73.0.0",
28
+ "@atlaskit/tmp-editor-statsig": "^75.0.0",
29
29
  "@atlaskit/tokens": "^13.0.0",
30
30
  "@babel/runtime": "^7.0.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@atlaskit/editor-common": "^114.13.0",
33
+ "@atlaskit/editor-common": "^114.19.0",
34
34
  "react": "^18.2.0"
35
35
  },
36
36
  "techstack": {