@atlaskit/editor-plugin-layout 2.9.10 → 2.9.11

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-layout
2
2
 
3
+ ## 2.9.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#176058](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176058)
8
+ [`38c6611bdd480`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38c6611bdd480) -
9
+ ED-28085 Clean up platform_editor_hide_expand_selection_states
10
+
3
11
  ## 2.9.10
4
12
 
5
13
  ### Patch Changes
@@ -17,7 +17,6 @@ var _reactNodeView = _interopRequireDefault(require("@atlaskit/editor-common/rea
17
17
  var _resizer = require("@atlaskit/editor-common/resizer");
18
18
  var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
19
19
  var _model = require("@atlaskit/editor-prosemirror/model");
20
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
20
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
22
21
  var _utils = require("../pm-plugins/utils");
23
22
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
@@ -95,7 +94,7 @@ var LayoutBreakoutResizer = function LayoutBreakoutResizer(_ref) {
95
94
  // put the selection into the first column of the layout
96
95
  (0, _utils.selectIntoLayout)(view, pos, 0);
97
96
  }, [getPos, view]);
98
- if (interactionState === 'hasNotHadInteraction' && (0, _platformFeatureFlags.fg)('platform_editor_hide_expand_selection_states')) {
97
+ if (interactionState === 'hasNotHadInteraction') {
99
98
  return null;
100
99
  }
101
100
  return /*#__PURE__*/_react.default.createElement(_resizer.BreakoutResizer, {
@@ -4,7 +4,6 @@ import ReactNodeView from '@atlaskit/editor-common/react-node-view';
4
4
  import { BreakoutResizer, ignoreResizerMutations } from '@atlaskit/editor-common/resizer';
5
5
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
6
6
  import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
8
  import { selectIntoLayout } from '../pm-plugins/utils';
10
9
  const layoutDynamicFullWidthGuidelineOffset = 16;
@@ -82,7 +81,7 @@ const LayoutBreakoutResizer = ({
82
81
  // put the selection into the first column of the layout
83
82
  selectIntoLayout(view, pos, 0);
84
83
  }, [getPos, view]);
85
- if (interactionState === 'hasNotHadInteraction' && fg('platform_editor_hide_expand_selection_states')) {
84
+ if (interactionState === 'hasNotHadInteraction') {
86
85
  return null;
87
86
  }
88
87
  return /*#__PURE__*/React.createElement(BreakoutResizer, {
@@ -11,7 +11,6 @@ import ReactNodeView from '@atlaskit/editor-common/react-node-view';
11
11
  import { BreakoutResizer, ignoreResizerMutations } from '@atlaskit/editor-common/resizer';
12
12
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
13
13
  import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
14
- import { fg } from '@atlaskit/platform-feature-flags';
15
14
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
16
15
  import { selectIntoLayout } from '../pm-plugins/utils';
17
16
  var layoutDynamicFullWidthGuidelineOffset = 16;
@@ -86,7 +85,7 @@ var LayoutBreakoutResizer = function LayoutBreakoutResizer(_ref) {
86
85
  // put the selection into the first column of the layout
87
86
  selectIntoLayout(view, pos, 0);
88
87
  }, [getPos, view]);
89
- if (interactionState === 'hasNotHadInteraction' && fg('platform_editor_hide_expand_selection_states')) {
88
+ if (interactionState === 'hasNotHadInteraction') {
90
89
  return null;
91
90
  }
92
91
  return /*#__PURE__*/React.createElement(BreakoutResizer, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-layout",
3
- "version": "2.9.10",
3
+ "version": "2.9.11",
4
4
  "description": "Layout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^47.6.0",
37
- "@atlaskit/editor-common": "^107.1.0",
37
+ "@atlaskit/editor-common": "^107.2.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
39
39
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
40
40
  "@atlaskit/editor-plugin-editor-disabled": "^2.1.0",
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/icon": "^27.1.0",
48
48
  "@atlaskit/icon-lab": "^5.0.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
- "@atlaskit/tmp-editor-statsig": "^8.0.0",
50
+ "@atlaskit/tmp-editor-statsig": "^8.2.0",
51
51
  "@atlaskit/tokens": "^5.4.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@emotion/react": "^11.7.1"
@@ -109,9 +109,6 @@
109
109
  },
110
110
  "platform_editor_column_count_analytics": {
111
111
  "type": "boolean"
112
- },
113
- "platform_editor_hide_expand_selection_states": {
114
- "type": "boolean"
115
112
  }
116
113
  }
117
114
  }