@atlaskit/editor-plugin-selection 7.0.25 → 7.0.27

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
+ ## 7.0.27
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2e6129d5b39bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2e6129d5b39bc) -
8
+ EDITOR-5529 clean up platform_synced_block_patch_3 and platform_synced_block_patch_4
9
+ - Updated dependencies
10
+
11
+ ## 7.0.26
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 7.0.25
4
18
 
5
19
  ### Patch Changes
@@ -10,7 +10,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
10
10
  var _utils = require("@atlaskit/editor-prosemirror/utils");
11
11
  var _view2 = require("@atlaskit/editor-prosemirror/view");
12
12
  var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
13
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
13
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
15
14
  var _types = require("../types");
16
15
  var _gapCursorPluginKey = require("./gap-cursor-plugin-key");
@@ -56,7 +55,7 @@ var plugin = new _safePlugin.SafePlugin({
56
55
  }
57
56
  return {
58
57
  update: function update(view) {
59
- if ((0, _expValEquals.expValEquals)('platform_synced_block', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_synced_block_patch_4')) {
58
+ if ((0, _expValEquals.expValEquals)('platform_synced_block', 'isEnabled', true)) {
60
59
  // Caret visibility now handled directly via CSS selector in gapCursorStyles.ts
61
60
  return;
62
61
  }
@@ -4,7 +4,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
4
4
  import { findPositionOfNodeBefore } from '@atlaskit/editor-prosemirror/utils';
5
5
  import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
6
6
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
8
  import { selectionPluginKey } from '../types';
10
9
  import { gapCursorPluginKey } from './gap-cursor-plugin-key';
@@ -48,7 +47,7 @@ const plugin = new SafePlugin({
48
47
  }
49
48
  return {
50
49
  update(view) {
51
- if (expValEquals('platform_synced_block', 'isEnabled', true) && fg('platform_synced_block_patch_4')) {
50
+ if (expValEquals('platform_synced_block', 'isEnabled', true)) {
52
51
  // Caret visibility now handled directly via CSS selector in gapCursorStyles.ts
53
52
  return;
54
53
  }
@@ -4,7 +4,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
4
4
  import { findPositionOfNodeBefore } from '@atlaskit/editor-prosemirror/utils';
5
5
  import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
6
6
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
8
  import { selectionPluginKey } from '../types';
10
9
  import { gapCursorPluginKey } from './gap-cursor-plugin-key';
@@ -50,7 +49,7 @@ var plugin = new SafePlugin({
50
49
  }
51
50
  return {
52
51
  update: function update(view) {
53
- if (expValEquals('platform_synced_block', 'isEnabled', true) && fg('platform_synced_block_patch_4')) {
52
+ if (expValEquals('platform_synced_block', 'isEnabled', true)) {
54
53
  // Caret visibility now handled directly via CSS selector in gapCursorStyles.ts
55
54
  return;
56
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection",
3
- "version": "7.0.25",
3
+ "version": "7.0.27",
4
4
  "description": "Selection plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,7 +25,7 @@
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": "^33.2.0",
28
+ "@atlaskit/tmp-editor-statsig": "^34.2.0",
29
29
  "@atlaskit/tokens": "^11.0.0",
30
30
  "@babel/runtime": "^7.0.0"
31
31
  },
@@ -83,9 +83,6 @@
83
83
  },
84
84
  "platform_editor_renderer_selection_context": {
85
85
  "type": "boolean"
86
- },
87
- "platform_synced_block_patch_4": {
88
- "type": "boolean"
89
86
  }
90
87
  }
91
88
  }