@atlaskit/editor-plugin-expand 2.10.12 → 2.10.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,13 @@
1
1
  # @atlaskit/editor-plugin-expand
2
2
 
3
+ ## 2.10.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#100788](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100788)
8
+ [`661d3aefc2866`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/661d3aefc2866) -
9
+ ED-26070 remove feature flag for platform_editor_nest_nested_expand_drag_fix
10
+
3
11
  ## 2.10.12
4
12
 
5
13
  ### Patch Changes
@@ -12,7 +12,6 @@ var _selection = require("@atlaskit/editor-common/selection");
12
12
  var _styles = require("@atlaskit/editor-common/styles");
13
13
  var _transforms = require("@atlaskit/editor-common/transforms");
14
14
  var _utils = require("@atlaskit/editor-prosemirror/utils");
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
15
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
17
16
  var _commands = require("../commands");
18
17
  var _nodeviews = _interopRequireDefault(require("../nodeviews"));
@@ -72,10 +71,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, getInt
72
71
  // Ignored via go/ees005
73
72
  // eslint-disable-next-line @typescript-eslint/max-params
74
73
  handleDrop: function handleDrop(view, event, slice, moved) {
75
- if ((0, _platformFeatureFlags.fg)('platform_editor_nest_nested_expand_drag_fix')) {
76
- return handleExpandDrag(view, event, slice);
77
- }
78
- return false;
74
+ return handleExpandDrag(view, event, slice);
79
75
  }
80
76
  },
81
77
  // @see ED-8027 to follow up on this work-around
@@ -13,7 +13,6 @@ var _selection = require("@atlaskit/editor-common/selection");
13
13
  var _styles = require("@atlaskit/editor-common/styles");
14
14
  var _transforms = require("@atlaskit/editor-common/transforms");
15
15
  var _state = require("@atlaskit/editor-prosemirror/state");
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
16
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
18
17
  var _nodeViews = _interopRequireDefault(require("../node-views"));
19
18
  // Ignored via go/ees005
@@ -70,10 +69,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatch, getInt
70
69
  // Ignored via go/ees005
71
70
  // eslint-disable-next-line @typescript-eslint/max-params
72
71
  handleDrop: function handleDrop(view, event, slice, moved) {
73
- if ((0, _platformFeatureFlags.fg)('platform_editor_nest_nested_expand_drag_fix')) {
74
- return handleExpandDrag(view, event, slice);
75
- }
76
- return false;
72
+ return handleExpandDrag(view, event, slice);
77
73
  }
78
74
  },
79
75
  // @see ED-8027 to follow up on this work-around
@@ -3,7 +3,6 @@ import { createSelectionClickHandler } from '@atlaskit/editor-common/selection';
3
3
  import { expandClassNames } from '@atlaskit/editor-common/styles';
4
4
  import { findExpand, transformSliceExpandToNestedExpand, transformSliceNestedExpandToExpand } from '@atlaskit/editor-common/transforms';
5
5
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
7
  import { setExpandRef } from '../commands';
9
8
  // Ignored via go/ees005
@@ -57,10 +56,7 @@ export const createPlugin = (dispatch, getIntl, appearance = 'full-page', useLon
57
56
  // Ignored via go/ees005
58
57
  // eslint-disable-next-line @typescript-eslint/max-params
59
58
  handleDrop(view, event, slice, moved) {
60
- if (fg('platform_editor_nest_nested_expand_drag_fix')) {
61
- return handleExpandDrag(view, event, slice);
62
- }
63
- return false;
59
+ return handleExpandDrag(view, event, slice);
64
60
  }
65
61
  },
66
62
  // @see ED-8027 to follow up on this work-around
@@ -3,7 +3,6 @@ import { createSelectionClickHandler } from '@atlaskit/editor-common/selection';
3
3
  import { expandClassNames } from '@atlaskit/editor-common/styles';
4
4
  import { transformSliceExpandToNestedExpand, transformSliceNestedExpandToExpand } from '@atlaskit/editor-common/transforms';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
7
  // Ignored via go/ees005
9
8
  // eslint-disable-next-line import/no-named-as-default
@@ -54,10 +53,7 @@ export const createPlugin = (dispatch, getIntl, appearance = 'full-page', useLon
54
53
  // Ignored via go/ees005
55
54
  // eslint-disable-next-line @typescript-eslint/max-params
56
55
  handleDrop(view, event, slice, moved) {
57
- if (fg('platform_editor_nest_nested_expand_drag_fix')) {
58
- return handleExpandDrag(view, event, slice);
59
- }
60
- return false;
56
+ return handleExpandDrag(view, event, slice);
61
57
  }
62
58
  },
63
59
  // @see ED-8027 to follow up on this work-around
@@ -3,7 +3,6 @@ import { createSelectionClickHandler } from '@atlaskit/editor-common/selection';
3
3
  import { expandClassNames } from '@atlaskit/editor-common/styles';
4
4
  import { findExpand, transformSliceExpandToNestedExpand, transformSliceNestedExpandToExpand } from '@atlaskit/editor-common/transforms';
5
5
  import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
7
  import { setExpandRef } from '../commands';
9
8
  // Ignored via go/ees005
@@ -62,10 +61,7 @@ export var createPlugin = function createPlugin(dispatch, getIntl) {
62
61
  // Ignored via go/ees005
63
62
  // eslint-disable-next-line @typescript-eslint/max-params
64
63
  handleDrop: function handleDrop(view, event, slice, moved) {
65
- if (fg('platform_editor_nest_nested_expand_drag_fix')) {
66
- return handleExpandDrag(view, event, slice);
67
- }
68
- return false;
64
+ return handleExpandDrag(view, event, slice);
69
65
  }
70
66
  },
71
67
  // @see ED-8027 to follow up on this work-around
@@ -3,7 +3,6 @@ import { createSelectionClickHandler } from '@atlaskit/editor-common/selection';
3
3
  import { expandClassNames } from '@atlaskit/editor-common/styles';
4
4
  import { transformSliceExpandToNestedExpand, transformSliceNestedExpandToExpand } from '@atlaskit/editor-common/transforms';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
7
  // Ignored via go/ees005
9
8
  // eslint-disable-next-line import/no-named-as-default
@@ -59,10 +58,7 @@ export var createPlugin = function createPlugin(dispatch, getIntl) {
59
58
  // Ignored via go/ees005
60
59
  // eslint-disable-next-line @typescript-eslint/max-params
61
60
  handleDrop: function handleDrop(view, event, slice, moved) {
62
- if (fg('platform_editor_nest_nested_expand_drag_fix')) {
63
- return handleExpandDrag(view, event, slice);
64
- }
65
- return false;
61
+ return handleExpandDrag(view, event, slice);
66
62
  }
67
63
  },
68
64
  // @see ED-8027 to follow up on this work-around
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-expand",
3
- "version": "2.10.12",
3
+ "version": "2.10.13",
4
4
  "description": "Expand plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^46.1.0",
35
35
  "@atlaskit/button": "^20.3.0",
36
- "@atlaskit/editor-common": "^98.0.0",
36
+ "@atlaskit/editor-common": "^98.2.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
38
38
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
39
39
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
@@ -42,9 +42,9 @@
42
42
  "@atlaskit/editor-prosemirror": "6.2.1",
43
43
  "@atlaskit/editor-shared-styles": "^3.2.0",
44
44
  "@atlaskit/editor-tables": "^2.8.0",
45
- "@atlaskit/icon": "^23.1.0",
45
+ "@atlaskit/icon": "^23.2.0",
46
46
  "@atlaskit/platform-feature-flags": "^0.3.0",
47
- "@atlaskit/tmp-editor-statsig": "^2.31.0",
47
+ "@atlaskit/tmp-editor-statsig": "^2.32.0",
48
48
  "@atlaskit/tokens": "^2.5.0",
49
49
  "@atlaskit/tooltip": "^19.0.0",
50
50
  "@babel/runtime": "^7.0.0",
@@ -115,9 +115,6 @@
115
115
  "platform_editor_nested_expand_in_expand_adf_change": {
116
116
  "type": "boolean"
117
117
  },
118
- "platform_editor_nest_nested_expand_drag_fix": {
119
- "type": "boolean"
120
- },
121
118
  "platform_editor_remove_copy_button_from_view_mode": {
122
119
  "type": "boolean"
123
120
  },