@atlaskit/editor-plugin-find-replace 10.0.7 → 10.0.9

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,18 @@
1
1
  # @atlaskit/editor-plugin-find-replace
2
2
 
3
+ ## 10.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`712e503425ecc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/712e503425ecc) -
8
+ Fix composition of CJK characters in find/replace editor modal find input
9
+
10
+ ## 10.0.8
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 10.0.7
4
17
 
5
18
  ### Patch Changes
@@ -121,6 +121,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
121
121
  });
122
122
  (0, _defineProperty2.default)(_this, "handleCompositionStart", function () {
123
123
  _this.isComposing = true;
124
+ if ((0, _expValEquals.expValEquals)('platform_editor_korean_characters_split', 'isEnabled', true)) {
125
+ _this.debouncedFind.cancel();
126
+ }
124
127
  });
125
128
  (0, _defineProperty2.default)(_this, "handleCompositionEnd", function (event) {
126
129
  _this.isComposing = false;
@@ -109,6 +109,9 @@ class Find extends React.Component {
109
109
  });
110
110
  _defineProperty(this, "handleCompositionStart", () => {
111
111
  this.isComposing = true;
112
+ if (expValEquals('platform_editor_korean_characters_split', 'isEnabled', true)) {
113
+ this.debouncedFind.cancel();
114
+ }
112
115
  });
113
116
  _defineProperty(this, "handleCompositionEnd", event => {
114
117
  this.isComposing = false;
@@ -118,6 +118,9 @@ var Find = /*#__PURE__*/function (_React$Component) {
118
118
  });
119
119
  _defineProperty(_this, "handleCompositionStart", function () {
120
120
  _this.isComposing = true;
121
+ if (expValEquals('platform_editor_korean_characters_split', 'isEnabled', true)) {
122
+ _this.debouncedFind.cancel();
123
+ }
121
124
  });
122
125
  _defineProperty(_this, "handleCompositionEnd", function (event) {
123
126
  _this.isComposing = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-find-replace",
3
- "version": "10.0.7",
3
+ "version": "10.0.9",
4
4
  "description": "find replace plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/button": "^23.11.0",
32
32
  "@atlaskit/editor-plugin-analytics": "^10.0.0",
33
- "@atlaskit/editor-plugin-card": "^16.3.0",
33
+ "@atlaskit/editor-plugin-card": "^16.4.0",
34
34
  "@atlaskit/editor-plugin-expand": "^11.0.0",
35
35
  "@atlaskit/editor-plugin-mentions": "^12.1.0",
36
36
  "@atlaskit/editor-plugin-primary-toolbar": "^11.0.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/primitives": "^19.0.0",
45
45
  "@atlaskit/textfield": "^8.3.0",
46
- "@atlaskit/tmp-editor-statsig": "^69.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^70.4.0",
47
47
  "@atlaskit/tokens": "^13.0.0",
48
48
  "@atlaskit/tooltip": "^21.2.0",
49
49
  "@babel/runtime": "^7.0.0",
@@ -61,7 +61,7 @@
61
61
  "react-intl": "^6.6.2"
62
62
  },
63
63
  "peerDependencies": {
64
- "@atlaskit/editor-common": "^114.10.0",
64
+ "@atlaskit/editor-common": "^114.12.0",
65
65
  "react": "^18.2.0",
66
66
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
67
67
  },