@atlaskit/editor-plugin-find-replace 6.1.0 → 6.1.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,21 @@
1
1
  # @atlaskit/editor-plugin-find-replace
2
2
 
3
+ ## 6.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) -
8
+ ts-ignore added temporarily to unblock local consumption for help-center, will be removed once
9
+ project refs are setup
10
+ - Updated dependencies
11
+
12
+ ## 6.1.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [`8854ad2383b33`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8854ad2383b33) -
17
+ Suppress no-literal-string-in-jsx
18
+
3
19
  ## 6.1.0
4
20
 
5
21
  ### Minor Changes
@@ -80,7 +80,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
80
80
  onToggleMatchCase = _this$props.onToggleMatchCase;
81
81
  var focusToolbarButton = this.props.focusToolbarButton || function () {};
82
82
  return (0, _react2.jsx)("div", {
83
- role: 'dialog',
83
+ role: 'dialog'
84
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
85
+ ,
84
86
  "aria-label": 'Find and Replace',
85
87
  "aria-modal": false,
86
88
  ref: this.modalRef
@@ -160,7 +160,10 @@ var FindReplaceToolbarButtonWithState = function FindReplaceToolbarButtonWithSta
160
160
  return match.canReplace === true;
161
161
  }).length : undefined,
162
162
  replaceText: replaceText,
163
- shouldFocus: shouldFocus,
163
+ shouldFocus: shouldFocus
164
+ // @ts-ignore - Workaround for help-center local consumption
165
+ ,
166
+
164
167
  popupsBoundariesElement: popupsBoundariesElement,
165
168
  popupsMountPoint: popupsMountPoint,
166
169
  popupsScrollableElement: popupsScrollableElement,
@@ -66,7 +66,9 @@ class FindReplace extends React.PureComponent {
66
66
  } = this.props;
67
67
  const focusToolbarButton = this.props.focusToolbarButton || (() => {});
68
68
  return jsx("div", {
69
- role: 'dialog',
69
+ role: 'dialog'
70
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
71
+ ,
70
72
  "aria-label": 'Find and Replace',
71
73
  "aria-modal": false,
72
74
  ref: this.modalRef
@@ -144,7 +144,10 @@ const FindReplaceToolbarButtonWithState = ({
144
144
  isReplaceable: expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (_matches$index = matches[index]) === null || _matches$index === void 0 ? void 0 : _matches$index.canReplace : undefined,
145
145
  numReplaceable: expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? matches.filter(match => match.canReplace === true).length : undefined,
146
146
  replaceText: replaceText,
147
- shouldFocus: shouldFocus,
147
+ shouldFocus: shouldFocus
148
+ // @ts-ignore - Workaround for help-center local consumption
149
+ ,
150
+
148
151
  popupsBoundariesElement: popupsBoundariesElement,
149
152
  popupsMountPoint: popupsMountPoint,
150
153
  popupsScrollableElement: popupsScrollableElement,
@@ -78,7 +78,9 @@ var FindReplace = /*#__PURE__*/function (_React$PureComponent) {
78
78
  onToggleMatchCase = _this$props.onToggleMatchCase;
79
79
  var focusToolbarButton = this.props.focusToolbarButton || function () {};
80
80
  return jsx("div", {
81
- role: 'dialog',
81
+ role: 'dialog'
82
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
83
+ ,
82
84
  "aria-label": 'Find and Replace',
83
85
  "aria-modal": false,
84
86
  ref: this.modalRef
@@ -152,7 +152,10 @@ var FindReplaceToolbarButtonWithState = function FindReplaceToolbarButtonWithSta
152
152
  return match.canReplace === true;
153
153
  }).length : undefined,
154
154
  replaceText: replaceText,
155
- shouldFocus: shouldFocus,
155
+ shouldFocus: shouldFocus
156
+ // @ts-ignore - Workaround for help-center local consumption
157
+ ,
158
+
156
159
  popupsBoundariesElement: popupsBoundariesElement,
157
160
  popupsMountPoint: popupsMountPoint,
158
161
  popupsScrollableElement: popupsScrollableElement,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-find-replace",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "description": "find replace plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,11 +41,11 @@
41
41
  "@atlaskit/icon-lab": "^5.12.0",
42
42
  "@atlaskit/mention": "^24.4.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/primitives": "^16.2.0",
44
+ "@atlaskit/primitives": "^16.3.0",
45
45
  "@atlaskit/textfield": "^8.1.0",
46
46
  "@atlaskit/theme": "^21.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^13.40.0",
48
- "@atlaskit/tokens": "^8.2.0",
47
+ "@atlaskit/tmp-editor-statsig": "^13.42.0",
48
+ "@atlaskit/tokens": "^8.3.0",
49
49
  "@atlaskit/tooltip": "^20.10.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
@@ -64,7 +64,7 @@
64
64
  "react-dom": "^18.2.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@atlaskit/editor-common": "^110.33.0",
67
+ "@atlaskit/editor-common": "^110.34.0",
68
68
  "react": "^18.2.0",
69
69
  "react-intl-next": "npm:react-intl@^5.18.1"
70
70
  },