@atlaskit/editor-plugin-block-controls 11.5.6 → 11.5.7

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,13 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 11.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fae885a16a206`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fae885a16a206) -
8
+ FFCLEANUP-97994 clean up experiment platform_editor_fix_table_row_drag_drop_target
9
+ - Updated dependencies
10
+
3
11
  ## 11.5.6
4
12
 
5
13
  ### Patch Changes
@@ -883,7 +883,7 @@ var createPlugin = exports.createPlugin = function createPlugin(api, getIntl, no
883
883
  // Only process dragenter for block control drags.
884
884
  // Other drag types (e.g. table row) should not create
885
885
  // drop target decorations or emit active anchors.
886
- if (!((_key$getState3 = key.getState(view.state)) !== null && _key$getState3 !== void 0 && _key$getState3.isDragging) && (0, _expValEquals.expValEquals)('platform_editor_fix_table_row_drag_drop_target', 'isEnabled', true)) {
886
+ if (!((_key$getState3 = key.getState(view.state)) !== null && _key$getState3 !== void 0 && _key$getState3.isDragging)) {
887
887
  return;
888
888
  }
889
889
  if (isHTMLElement(event.target) && (0, _expValEquals.expValEquals)('platform_editor_block_controls_perf_optimization', 'isEnabled', true)) {
@@ -784,7 +784,7 @@ export const createPlugin = (api, getIntl, nodeViewPortalProviderAPI, nodeDecora
784
784
  // Only process dragenter for block control drags.
785
785
  // Other drag types (e.g. table row) should not create
786
786
  // drop target decorations or emit active anchors.
787
- if (!((_key$getState3 = key.getState(view.state)) !== null && _key$getState3 !== void 0 && _key$getState3.isDragging) && expValEquals('platform_editor_fix_table_row_drag_drop_target', 'isEnabled', true)) {
787
+ if (!((_key$getState3 = key.getState(view.state)) !== null && _key$getState3 !== void 0 && _key$getState3.isDragging)) {
788
788
  return;
789
789
  }
790
790
  if (isHTMLElement(event.target) && expValEquals('platform_editor_block_controls_perf_optimization', 'isEnabled', true)) {
@@ -877,7 +877,7 @@ export var createPlugin = function createPlugin(api, getIntl, nodeViewPortalProv
877
877
  // Only process dragenter for block control drags.
878
878
  // Other drag types (e.g. table row) should not create
879
879
  // drop target decorations or emit active anchors.
880
- if (!((_key$getState3 = key.getState(view.state)) !== null && _key$getState3 !== void 0 && _key$getState3.isDragging) && expValEquals('platform_editor_fix_table_row_drag_drop_target', 'isEnabled', true)) {
880
+ if (!((_key$getState3 = key.getState(view.state)) !== null && _key$getState3 !== void 0 && _key$getState3.isDragging)) {
881
881
  return;
882
882
  }
883
883
  if (isHTMLElement(event.target) && expValEquals('platform_editor_block_controls_perf_optimization', 'isEnabled', true)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "11.5.6",
3
+ "version": "11.5.7",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
57
57
  "@atlaskit/primitives": "^19.0.0",
58
58
  "@atlaskit/theme": "^25.0.0",
59
- "@atlaskit/tmp-editor-statsig": "^86.0.0",
59
+ "@atlaskit/tmp-editor-statsig": "^87.0.0",
60
60
  "@atlaskit/tokens": "^13.1.0",
61
61
  "@atlaskit/tooltip": "^22.5.0",
62
62
  "@babel/runtime": "^7.0.0",
@@ -67,7 +67,7 @@
67
67
  "uuid": "^3.1.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "@atlaskit/editor-common": "^114.54.0",
70
+ "@atlaskit/editor-common": "^114.55.0",
71
71
  "react": "^18.2.0",
72
72
  "react-dom": "^18.2.0",
73
73
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"