@atlaskit/editor-plugin-find-replace 8.2.4 → 8.2.6
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 +12 -0
- package/dist/cjs/ui/FindReplaceDropDownOrToolbarButtonWithState.js +3 -1
- package/dist/cjs/ui/FindReplaceDropdown.js +12 -4
- package/dist/cjs/ui/FindReplaceToolbarButton.js +9 -3
- package/dist/cjs/ui/FindReplaceTooltipButton.js +1 -1
- package/dist/cjs/ui/Replace.js +6 -2
- package/dist/es2019/ui/FindReplaceDropDownOrToolbarButtonWithState.js +3 -1
- package/dist/es2019/ui/FindReplaceDropdown.js +12 -4
- package/dist/es2019/ui/FindReplaceToolbarButton.js +9 -3
- package/dist/es2019/ui/FindReplaceTooltipButton.js +1 -1
- package/dist/es2019/ui/Replace.js +6 -2
- package/dist/esm/ui/FindReplaceDropDownOrToolbarButtonWithState.js +3 -1
- package/dist/esm/ui/FindReplaceDropdown.js +12 -4
- package/dist/esm/ui/FindReplaceToolbarButton.js +9 -3
- package/dist/esm/ui/FindReplaceTooltipButton.js +1 -1
- package/dist/esm/ui/Replace.js +6 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -156,7 +156,9 @@ var FindReplaceToolbarButtonWithState = function FindReplaceToolbarButtonWithSta
|
|
|
156
156
|
index: index,
|
|
157
157
|
numMatches: matches.length,
|
|
158
158
|
isReplaceable: (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (_matches$index = matches[index]) === null || _matches$index === void 0 ? void 0 : _matches$index.canReplace : undefined,
|
|
159
|
-
numReplaceable: (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true)
|
|
159
|
+
numReplaceable: (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true)
|
|
160
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
|
|
161
|
+
? matches.filter(function (match) {
|
|
160
162
|
return match.canReplace === true;
|
|
161
163
|
}).length : undefined,
|
|
162
164
|
replaceText: replaceText,
|
|
@@ -39,9 +39,13 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
39
39
|
mountTo: popupsMountPoint,
|
|
40
40
|
forcePlacement: true,
|
|
41
41
|
alignX: 'right',
|
|
42
|
-
alignY: 'start'
|
|
42
|
+
alignY: 'start'
|
|
43
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
44
|
+
,
|
|
43
45
|
offset: [4, 0],
|
|
44
|
-
isOpen: isActive
|
|
46
|
+
isOpen: isActive
|
|
47
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
48
|
+
,
|
|
45
49
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
46
50
|
if (isActive) {
|
|
47
51
|
onCancel({
|
|
@@ -50,7 +54,9 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
fitWidth: dropdownWidthNewDesign,
|
|
53
|
-
zIndex: _editorSharedStyles.akEditorFloatingPanelZIndex
|
|
57
|
+
zIndex: _editorSharedStyles.akEditorFloatingPanelZIndex
|
|
58
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
59
|
+
,
|
|
54
60
|
arrowKeyNavigationProviderOptions: {
|
|
55
61
|
type: _uiMenu.ArrowKeyNavigationType.MENU,
|
|
56
62
|
disableArrowKeyNavigation: true
|
|
@@ -59,7 +65,9 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
59
65
|
xcss: findReplaceWrapperStyles
|
|
60
66
|
}, /*#__PURE__*/_react.default.createElement(_FindReplace.default, (0, _extends2.default)({
|
|
61
67
|
findText: findText,
|
|
62
|
-
replaceText: replaceText
|
|
68
|
+
replaceText: replaceText
|
|
69
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
70
|
+
,
|
|
63
71
|
count: {
|
|
64
72
|
index: index,
|
|
65
73
|
total: numMatches,
|
|
@@ -120,7 +120,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
120
120
|
mountTo: popupsMountPoint,
|
|
121
121
|
boundariesElement: popupsBoundariesElement,
|
|
122
122
|
scrollableElement: popupsScrollableElement,
|
|
123
|
-
isOpen: isActive
|
|
123
|
+
isOpen: isActive
|
|
124
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
125
|
+
,
|
|
124
126
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
125
127
|
if (isActive) {
|
|
126
128
|
_this2.props.onCancel({
|
|
@@ -135,7 +137,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
135
137
|
}
|
|
136
138
|
},
|
|
137
139
|
fitWidth: dropdownWidthNewDesign,
|
|
138
|
-
zIndex: stackBelowOtherEditorFloatingPanels
|
|
140
|
+
zIndex: stackBelowOtherEditorFloatingPanels
|
|
141
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
142
|
+
,
|
|
139
143
|
arrowKeyNavigationProviderOptions: {
|
|
140
144
|
type: _uiMenu.ArrowKeyNavigationType.MENU,
|
|
141
145
|
disableArrowKeyNavigation: true
|
|
@@ -185,7 +189,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
185
189
|
css: wrapper
|
|
186
190
|
}, (0, _react2.jsx)(_FindReplace.default, (0, _extends2.default)({
|
|
187
191
|
findText: findText,
|
|
188
|
-
replaceText: replaceText
|
|
192
|
+
replaceText: replaceText
|
|
193
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
194
|
+
,
|
|
189
195
|
count: {
|
|
190
196
|
index: index,
|
|
191
197
|
total: numMatches,
|
|
@@ -64,7 +64,7 @@ var FindReplaceTooltipButton = exports.FindReplaceTooltipButton = /*#__PURE__*/f
|
|
|
64
64
|
testId: title,
|
|
65
65
|
ref: this.buttonRef
|
|
66
66
|
// Ignored via go/ees005
|
|
67
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
67
|
+
// eslint-disable-next-line react/jsx-props-no-spreading, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
68
68
|
,
|
|
69
69
|
icon: function icon(iconProps) {
|
|
70
70
|
return /*#__PURE__*/_react.default.createElement(Icon, (0, _extends2.default)({}, iconProps, {
|
package/dist/cjs/ui/Replace.js
CHANGED
|
@@ -229,7 +229,9 @@ var Replace = function Replace(_ref) {
|
|
|
229
229
|
}, /*#__PURE__*/_react.default.createElement(_primitives.Inline, {
|
|
230
230
|
xcss: actionButtonInlineStyles
|
|
231
231
|
}, /*#__PURE__*/_react.default.createElement(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
232
|
-
title: formatMessage(_messages.findReplaceMessages.findNext)
|
|
232
|
+
title: formatMessage(_messages.findReplaceMessages.findNext)
|
|
233
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
234
|
+
,
|
|
233
235
|
icon: function icon(iconProps) {
|
|
234
236
|
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
235
237
|
label: iconProps.label,
|
|
@@ -241,7 +243,9 @@ var Replace = function Replace(_ref) {
|
|
|
241
243
|
onClick: handleFindNextClick,
|
|
242
244
|
disabled: count.total <= 1
|
|
243
245
|
}), /*#__PURE__*/_react.default.createElement(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
244
|
-
title: findPrevious
|
|
246
|
+
title: findPrevious
|
|
247
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
248
|
+
,
|
|
245
249
|
icon: function icon(iconProps) {
|
|
246
250
|
return /*#__PURE__*/_react.default.createElement(_chevronUp.default, {
|
|
247
251
|
label: iconProps.label,
|
|
@@ -142,7 +142,9 @@ const FindReplaceToolbarButtonWithState = ({
|
|
|
142
142
|
index: index,
|
|
143
143
|
numMatches: matches.length,
|
|
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
|
-
numReplaceable: expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true)
|
|
145
|
+
numReplaceable: expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true)
|
|
146
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
|
|
147
|
+
? matches.filter(match => match.canReplace === true).length : undefined,
|
|
146
148
|
replaceText: replaceText,
|
|
147
149
|
shouldFocus: shouldFocus,
|
|
148
150
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
@@ -33,9 +33,13 @@ const FindReplaceDropdown = props => {
|
|
|
33
33
|
mountTo: popupsMountPoint,
|
|
34
34
|
forcePlacement: true,
|
|
35
35
|
alignX: 'right',
|
|
36
|
-
alignY: 'start'
|
|
36
|
+
alignY: 'start'
|
|
37
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
38
|
+
,
|
|
37
39
|
offset: [4, 0],
|
|
38
|
-
isOpen: isActive
|
|
40
|
+
isOpen: isActive
|
|
41
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
42
|
+
,
|
|
39
43
|
handleEscapeKeydown: () => {
|
|
40
44
|
if (isActive) {
|
|
41
45
|
onCancel({
|
|
@@ -44,7 +48,9 @@ const FindReplaceDropdown = props => {
|
|
|
44
48
|
}
|
|
45
49
|
},
|
|
46
50
|
fitWidth: dropdownWidthNewDesign,
|
|
47
|
-
zIndex: akEditorFloatingPanelZIndex
|
|
51
|
+
zIndex: akEditorFloatingPanelZIndex
|
|
52
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
53
|
+
,
|
|
48
54
|
arrowKeyNavigationProviderOptions: {
|
|
49
55
|
type: ArrowKeyNavigationType.MENU,
|
|
50
56
|
disableArrowKeyNavigation: true
|
|
@@ -53,7 +59,9 @@ const FindReplaceDropdown = props => {
|
|
|
53
59
|
xcss: findReplaceWrapperStyles
|
|
54
60
|
}, /*#__PURE__*/React.createElement(FindReplace, _extends({
|
|
55
61
|
findText: findText,
|
|
56
|
-
replaceText: replaceText
|
|
62
|
+
replaceText: replaceText
|
|
63
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
64
|
+
,
|
|
57
65
|
count: {
|
|
58
66
|
index,
|
|
59
67
|
total: numMatches,
|
|
@@ -110,7 +110,9 @@ class FindReplaceToolbarButton extends React.PureComponent {
|
|
|
110
110
|
mountTo: popupsMountPoint,
|
|
111
111
|
boundariesElement: popupsBoundariesElement,
|
|
112
112
|
scrollableElement: popupsScrollableElement,
|
|
113
|
-
isOpen: isActive
|
|
113
|
+
isOpen: isActive
|
|
114
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
115
|
+
,
|
|
114
116
|
handleEscapeKeydown: () => {
|
|
115
117
|
if (isActive) {
|
|
116
118
|
this.props.onCancel({
|
|
@@ -125,7 +127,9 @@ class FindReplaceToolbarButton extends React.PureComponent {
|
|
|
125
127
|
}
|
|
126
128
|
},
|
|
127
129
|
fitWidth: dropdownWidthNewDesign,
|
|
128
|
-
zIndex: stackBelowOtherEditorFloatingPanels
|
|
130
|
+
zIndex: stackBelowOtherEditorFloatingPanels
|
|
131
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
132
|
+
,
|
|
129
133
|
arrowKeyNavigationProviderOptions: {
|
|
130
134
|
type: ArrowKeyNavigationType.MENU,
|
|
131
135
|
disableArrowKeyNavigation: true
|
|
@@ -175,7 +179,9 @@ class FindReplaceToolbarButton extends React.PureComponent {
|
|
|
175
179
|
css: wrapper
|
|
176
180
|
}, jsx(FindReplace, _extends({
|
|
177
181
|
findText: findText,
|
|
178
|
-
replaceText: replaceText
|
|
182
|
+
replaceText: replaceText
|
|
183
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
184
|
+
,
|
|
179
185
|
count: {
|
|
180
186
|
index,
|
|
181
187
|
total: numMatches,
|
|
@@ -42,7 +42,7 @@ export class FindReplaceTooltipButton extends React.PureComponent {
|
|
|
42
42
|
testId: title,
|
|
43
43
|
ref: this.buttonRef
|
|
44
44
|
// Ignored via go/ees005
|
|
45
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
45
|
+
// eslint-disable-next-line react/jsx-props-no-spreading, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
46
46
|
,
|
|
47
47
|
icon: iconProps => /*#__PURE__*/React.createElement(Icon, _extends({}, iconProps, {
|
|
48
48
|
size: iconSize
|
|
@@ -198,7 +198,9 @@ const Replace = ({
|
|
|
198
198
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
199
199
|
xcss: actionButtonInlineStyles
|
|
200
200
|
}, /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
201
|
-
title: formatMessage(messages.findNext)
|
|
201
|
+
title: formatMessage(messages.findNext)
|
|
202
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
203
|
+
,
|
|
202
204
|
icon: iconProps => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
203
205
|
label: iconProps.label,
|
|
204
206
|
size: "small"
|
|
@@ -208,7 +210,9 @@ const Replace = ({
|
|
|
208
210
|
onClick: handleFindNextClick,
|
|
209
211
|
disabled: count.total <= 1
|
|
210
212
|
}), /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
211
|
-
title: findPrevious
|
|
213
|
+
title: findPrevious
|
|
214
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
215
|
+
,
|
|
212
216
|
icon: iconProps => /*#__PURE__*/React.createElement(ChevronUpIcon, {
|
|
213
217
|
label: iconProps.label,
|
|
214
218
|
size: "small"
|
|
@@ -148,7 +148,9 @@ var FindReplaceToolbarButtonWithState = function FindReplaceToolbarButtonWithSta
|
|
|
148
148
|
index: index,
|
|
149
149
|
numMatches: matches.length,
|
|
150
150
|
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,
|
|
151
|
-
numReplaceable: expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true)
|
|
151
|
+
numReplaceable: expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true)
|
|
152
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
|
|
153
|
+
? matches.filter(function (match) {
|
|
152
154
|
return match.canReplace === true;
|
|
153
155
|
}).length : undefined,
|
|
154
156
|
replaceText: replaceText,
|
|
@@ -31,9 +31,13 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
31
31
|
mountTo: popupsMountPoint,
|
|
32
32
|
forcePlacement: true,
|
|
33
33
|
alignX: 'right',
|
|
34
|
-
alignY: 'start'
|
|
34
|
+
alignY: 'start'
|
|
35
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
36
|
+
,
|
|
35
37
|
offset: [4, 0],
|
|
36
|
-
isOpen: isActive
|
|
38
|
+
isOpen: isActive
|
|
39
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
40
|
+
,
|
|
37
41
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
38
42
|
if (isActive) {
|
|
39
43
|
onCancel({
|
|
@@ -42,7 +46,9 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
42
46
|
}
|
|
43
47
|
},
|
|
44
48
|
fitWidth: dropdownWidthNewDesign,
|
|
45
|
-
zIndex: akEditorFloatingPanelZIndex
|
|
49
|
+
zIndex: akEditorFloatingPanelZIndex
|
|
50
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
51
|
+
,
|
|
46
52
|
arrowKeyNavigationProviderOptions: {
|
|
47
53
|
type: ArrowKeyNavigationType.MENU,
|
|
48
54
|
disableArrowKeyNavigation: true
|
|
@@ -51,7 +57,9 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
51
57
|
xcss: findReplaceWrapperStyles
|
|
52
58
|
}, /*#__PURE__*/React.createElement(FindReplace, _extends({
|
|
53
59
|
findText: findText,
|
|
54
|
-
replaceText: replaceText
|
|
60
|
+
replaceText: replaceText
|
|
61
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
62
|
+
,
|
|
55
63
|
count: {
|
|
56
64
|
index: index,
|
|
57
65
|
total: numMatches,
|
|
@@ -115,7 +115,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
115
115
|
mountTo: popupsMountPoint,
|
|
116
116
|
boundariesElement: popupsBoundariesElement,
|
|
117
117
|
scrollableElement: popupsScrollableElement,
|
|
118
|
-
isOpen: isActive
|
|
118
|
+
isOpen: isActive
|
|
119
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
120
|
+
,
|
|
119
121
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
120
122
|
if (isActive) {
|
|
121
123
|
_this2.props.onCancel({
|
|
@@ -130,7 +132,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
130
132
|
}
|
|
131
133
|
},
|
|
132
134
|
fitWidth: dropdownWidthNewDesign,
|
|
133
|
-
zIndex: stackBelowOtherEditorFloatingPanels
|
|
135
|
+
zIndex: stackBelowOtherEditorFloatingPanels
|
|
136
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
137
|
+
,
|
|
134
138
|
arrowKeyNavigationProviderOptions: {
|
|
135
139
|
type: ArrowKeyNavigationType.MENU,
|
|
136
140
|
disableArrowKeyNavigation: true
|
|
@@ -180,7 +184,9 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
180
184
|
css: wrapper
|
|
181
185
|
}, jsx(FindReplace, _extends({
|
|
182
186
|
findText: findText,
|
|
183
|
-
replaceText: replaceText
|
|
187
|
+
replaceText: replaceText
|
|
188
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
189
|
+
,
|
|
184
190
|
count: {
|
|
185
191
|
index: index,
|
|
186
192
|
total: numMatches,
|
|
@@ -57,7 +57,7 @@ export var FindReplaceTooltipButton = /*#__PURE__*/function (_React$PureComponen
|
|
|
57
57
|
testId: title,
|
|
58
58
|
ref: this.buttonRef
|
|
59
59
|
// Ignored via go/ees005
|
|
60
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
60
|
+
// eslint-disable-next-line react/jsx-props-no-spreading, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
61
61
|
,
|
|
62
62
|
icon: function icon(iconProps) {
|
|
63
63
|
return /*#__PURE__*/React.createElement(Icon, _extends({}, iconProps, {
|
package/dist/esm/ui/Replace.js
CHANGED
|
@@ -219,7 +219,9 @@ var Replace = function Replace(_ref) {
|
|
|
219
219
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
220
220
|
xcss: actionButtonInlineStyles
|
|
221
221
|
}, /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
222
|
-
title: formatMessage(messages.findNext)
|
|
222
|
+
title: formatMessage(messages.findNext)
|
|
223
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
224
|
+
,
|
|
223
225
|
icon: function icon(iconProps) {
|
|
224
226
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
225
227
|
label: iconProps.label,
|
|
@@ -231,7 +233,9 @@ var Replace = function Replace(_ref) {
|
|
|
231
233
|
onClick: handleFindNextClick,
|
|
232
234
|
disabled: count.total <= 1
|
|
233
235
|
}), /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
234
|
-
title: findPrevious
|
|
236
|
+
title: findPrevious
|
|
237
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
238
|
+
,
|
|
235
239
|
icon: function icon(iconProps) {
|
|
236
240
|
return /*#__PURE__*/React.createElement(ChevronUpIcon, {
|
|
237
241
|
label: iconProps.label,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-find-replace",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.6",
|
|
4
4
|
"description": "find replace plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"@atlaskit/form": "^15.4.0",
|
|
40
40
|
"@atlaskit/icon": "^33.0.0",
|
|
41
41
|
"@atlaskit/icon-lab": "^6.0.0",
|
|
42
|
-
"@atlaskit/mention": "^24.
|
|
42
|
+
"@atlaskit/mention": "^24.6.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/primitives": "^18.0.0",
|
|
45
45
|
"@atlaskit/textfield": "^8.2.0",
|
|
46
46
|
"@atlaskit/theme": "^22.0.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^44.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^11.1.0",
|
|
49
49
|
"@atlaskit/tooltip": "^21.0.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|