@atlaskit/editor-plugin-find-replace 16.0.1 → 16.0.2

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-find-replace
2
2
 
3
+ ## 16.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`605318d4eba4b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/605318d4eba4b) -
8
+ [FFCLEANUP-101910] clean up platform_editor_editor_centre_content_on_find experiment
9
+ - Updated dependencies
10
+
3
11
  ## 16.0.1
4
12
 
5
13
  ### Patch Changes
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.withScrollIntoView = void 0;
7
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
7
  var withScrollIntoView = exports.withScrollIntoView = function withScrollIntoView(command) {
9
8
  return function (state, dispatch, view) {
10
9
  return command(state, function (tr) {
11
- if ((0, _expValEquals.expValEquals)('platform_editor_editor_centre_content_on_find', 'isEnabled', true) && view) {
10
+ if (view) {
12
11
  var targetPos = tr.selection.anchor;
13
12
  var coords = view.coordsAtPos(targetPos);
14
13
 
@@ -1,6 +1,5 @@
1
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
1
  export const withScrollIntoView = command => (state, dispatch, view) => command(state, tr => {
3
- if (expValEquals('platform_editor_editor_centre_content_on_find', 'isEnabled', true) && view) {
2
+ if (view) {
4
3
  let targetPos = tr.selection.anchor;
5
4
  let coords = view.coordsAtPos(targetPos);
6
5
 
@@ -1,8 +1,7 @@
1
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
2
1
  export var withScrollIntoView = function withScrollIntoView(command) {
3
2
  return function (state, dispatch, view) {
4
3
  return command(state, function (tr) {
5
- if (expValEquals('platform_editor_editor_centre_content_on_find', 'isEnabled', true) && view) {
4
+ if (view) {
6
5
  var targetPos = tr.selection.anchor;
7
6
  var coords = view.coordsAtPos(targetPos);
8
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-find-replace",
3
- "version": "16.0.1",
3
+ "version": "16.0.2",
4
4
  "description": "find replace plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@
36
36
  "@atlaskit/platform-feature-flags": "^2.1.0",
37
37
  "@atlaskit/primitives": "^22.4.0",
38
38
  "@atlaskit/textfield": "^10.1.0",
39
- "@atlaskit/tmp-editor-statsig": "^161.0.0",
39
+ "@atlaskit/tmp-editor-statsig": "^162.0.0",
40
40
  "@atlaskit/tokens": "^16.8.0",
41
41
  "@atlaskit/tooltip": "^24.2.0",
42
42
  "@babel/runtime": "^7.0.0",
@@ -55,7 +55,7 @@
55
55
  "react-intl": "^7.0.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "@atlaskit/editor-common": "^120.0.0",
58
+ "@atlaskit/editor-common": "^120.2.0",
59
59
  "react": "^18.2.0 || ^19.2.0",
60
60
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
61
61
  },