@atlaskit/editor-plugin-find-replace 8.2.6 → 8.2.8
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 +2 -2
- package/dist/cjs/ui/FindReplaceDropdown.js +4 -4
- package/dist/cjs/ui/FindReplaceToolbarButton.js +3 -3
- package/dist/cjs/ui/FindReplaceTooltipButton.js +1 -1
- package/dist/cjs/ui/Replace.js +2 -2
- package/dist/es2019/ui/FindReplaceDropDownOrToolbarButtonWithState.js +2 -2
- package/dist/es2019/ui/FindReplaceDropdown.js +4 -4
- package/dist/es2019/ui/FindReplaceToolbarButton.js +3 -3
- package/dist/es2019/ui/FindReplaceTooltipButton.js +1 -1
- package/dist/es2019/ui/Replace.js +2 -2
- package/dist/esm/ui/FindReplaceDropDownOrToolbarButtonWithState.js +2 -2
- package/dist/esm/ui/FindReplaceDropdown.js +4 -4
- package/dist/esm/ui/FindReplaceToolbarButton.js +3 -3
- package/dist/esm/ui/FindReplaceTooltipButton.js +1 -1
- package/dist/esm/ui/Replace.js +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -156,9 +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
160
|
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
|
|
161
|
-
|
|
161
|
+
matches.filter(function (match) {
|
|
162
162
|
return match.canReplace === true;
|
|
163
163
|
}).length : undefined,
|
|
164
164
|
replaceText: replaceText,
|
|
@@ -40,11 +40,11 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
40
40
|
forcePlacement: true,
|
|
41
41
|
alignX: 'right',
|
|
42
42
|
alignY: 'start'
|
|
43
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
43
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
44
44
|
,
|
|
45
45
|
offset: [4, 0],
|
|
46
46
|
isOpen: isActive
|
|
47
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
47
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
48
48
|
,
|
|
49
49
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
50
50
|
if (isActive) {
|
|
@@ -55,7 +55,7 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
55
55
|
},
|
|
56
56
|
fitWidth: dropdownWidthNewDesign,
|
|
57
57
|
zIndex: _editorSharedStyles.akEditorFloatingPanelZIndex
|
|
58
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
58
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
59
59
|
,
|
|
60
60
|
arrowKeyNavigationProviderOptions: {
|
|
61
61
|
type: _uiMenu.ArrowKeyNavigationType.MENU,
|
|
@@ -66,7 +66,7 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
66
66
|
}, /*#__PURE__*/_react.default.createElement(_FindReplace.default, (0, _extends2.default)({
|
|
67
67
|
findText: findText,
|
|
68
68
|
replaceText: replaceText
|
|
69
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
69
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
70
70
|
,
|
|
71
71
|
count: {
|
|
72
72
|
index: index,
|
|
@@ -121,7 +121,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
121
121
|
boundariesElement: popupsBoundariesElement,
|
|
122
122
|
scrollableElement: popupsScrollableElement,
|
|
123
123
|
isOpen: isActive
|
|
124
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
124
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
125
125
|
,
|
|
126
126
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
127
127
|
if (isActive) {
|
|
@@ -138,7 +138,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
138
138
|
},
|
|
139
139
|
fitWidth: dropdownWidthNewDesign,
|
|
140
140
|
zIndex: stackBelowOtherEditorFloatingPanels
|
|
141
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
141
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
142
142
|
,
|
|
143
143
|
arrowKeyNavigationProviderOptions: {
|
|
144
144
|
type: _uiMenu.ArrowKeyNavigationType.MENU,
|
|
@@ -190,7 +190,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
190
190
|
}, (0, _react2.jsx)(_FindReplace.default, (0, _extends2.default)({
|
|
191
191
|
findText: findText,
|
|
192
192
|
replaceText: replaceText
|
|
193
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
193
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
194
194
|
,
|
|
195
195
|
count: {
|
|
196
196
|
index: index,
|
|
@@ -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, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
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
|
@@ -230,7 +230,7 @@ var Replace = function Replace(_ref) {
|
|
|
230
230
|
xcss: actionButtonInlineStyles
|
|
231
231
|
}, /*#__PURE__*/_react.default.createElement(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
232
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)
|
|
233
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
234
234
|
,
|
|
235
235
|
icon: function icon(iconProps) {
|
|
236
236
|
return /*#__PURE__*/_react.default.createElement(_chevronDown.default, {
|
|
@@ -244,7 +244,7 @@ var Replace = function Replace(_ref) {
|
|
|
244
244
|
disabled: count.total <= 1
|
|
245
245
|
}), /*#__PURE__*/_react.default.createElement(_FindReplaceTooltipButton.FindReplaceTooltipButton, {
|
|
246
246
|
title: findPrevious
|
|
247
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
247
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
248
248
|
,
|
|
249
249
|
icon: function icon(iconProps) {
|
|
250
250
|
return /*#__PURE__*/_react.default.createElement(_chevronUp.default, {
|
|
@@ -142,9 +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
146
|
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
|
|
147
|
-
|
|
147
|
+
matches.filter(match => match.canReplace === true).length : undefined,
|
|
148
148
|
replaceText: replaceText,
|
|
149
149
|
shouldFocus: shouldFocus,
|
|
150
150
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
@@ -34,11 +34,11 @@ const FindReplaceDropdown = props => {
|
|
|
34
34
|
forcePlacement: true,
|
|
35
35
|
alignX: 'right',
|
|
36
36
|
alignY: 'start'
|
|
37
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
37
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
38
38
|
,
|
|
39
39
|
offset: [4, 0],
|
|
40
40
|
isOpen: isActive
|
|
41
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
41
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
42
42
|
,
|
|
43
43
|
handleEscapeKeydown: () => {
|
|
44
44
|
if (isActive) {
|
|
@@ -49,7 +49,7 @@ const FindReplaceDropdown = props => {
|
|
|
49
49
|
},
|
|
50
50
|
fitWidth: dropdownWidthNewDesign,
|
|
51
51
|
zIndex: akEditorFloatingPanelZIndex
|
|
52
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
52
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
53
53
|
,
|
|
54
54
|
arrowKeyNavigationProviderOptions: {
|
|
55
55
|
type: ArrowKeyNavigationType.MENU,
|
|
@@ -60,7 +60,7 @@ const FindReplaceDropdown = props => {
|
|
|
60
60
|
}, /*#__PURE__*/React.createElement(FindReplace, _extends({
|
|
61
61
|
findText: findText,
|
|
62
62
|
replaceText: replaceText
|
|
63
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
63
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
64
64
|
,
|
|
65
65
|
count: {
|
|
66
66
|
index,
|
|
@@ -111,7 +111,7 @@ class FindReplaceToolbarButton extends React.PureComponent {
|
|
|
111
111
|
boundariesElement: popupsBoundariesElement,
|
|
112
112
|
scrollableElement: popupsScrollableElement,
|
|
113
113
|
isOpen: isActive
|
|
114
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
114
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
115
115
|
,
|
|
116
116
|
handleEscapeKeydown: () => {
|
|
117
117
|
if (isActive) {
|
|
@@ -128,7 +128,7 @@ class FindReplaceToolbarButton extends React.PureComponent {
|
|
|
128
128
|
},
|
|
129
129
|
fitWidth: dropdownWidthNewDesign,
|
|
130
130
|
zIndex: stackBelowOtherEditorFloatingPanels
|
|
131
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
131
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
132
132
|
,
|
|
133
133
|
arrowKeyNavigationProviderOptions: {
|
|
134
134
|
type: ArrowKeyNavigationType.MENU,
|
|
@@ -180,7 +180,7 @@ class FindReplaceToolbarButton extends React.PureComponent {
|
|
|
180
180
|
}, jsx(FindReplace, _extends({
|
|
181
181
|
findText: findText,
|
|
182
182
|
replaceText: replaceText
|
|
183
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
183
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
184
184
|
,
|
|
185
185
|
count: {
|
|
186
186
|
index,
|
|
@@ -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, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
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
|
|
@@ -199,7 +199,7 @@ const Replace = ({
|
|
|
199
199
|
xcss: actionButtonInlineStyles
|
|
200
200
|
}, /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
201
201
|
title: formatMessage(messages.findNext)
|
|
202
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
202
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
203
203
|
,
|
|
204
204
|
icon: iconProps => /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
205
205
|
label: iconProps.label,
|
|
@@ -211,7 +211,7 @@ const Replace = ({
|
|
|
211
211
|
disabled: count.total <= 1
|
|
212
212
|
}), /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
213
213
|
title: findPrevious
|
|
214
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
214
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
215
215
|
,
|
|
216
216
|
icon: iconProps => /*#__PURE__*/React.createElement(ChevronUpIcon, {
|
|
217
217
|
label: iconProps.label,
|
|
@@ -148,9 +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
152
|
// eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
|
|
153
|
-
|
|
153
|
+
matches.filter(function (match) {
|
|
154
154
|
return match.canReplace === true;
|
|
155
155
|
}).length : undefined,
|
|
156
156
|
replaceText: replaceText,
|
|
@@ -32,11 +32,11 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
32
32
|
forcePlacement: true,
|
|
33
33
|
alignX: 'right',
|
|
34
34
|
alignY: 'start'
|
|
35
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
35
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
36
36
|
,
|
|
37
37
|
offset: [4, 0],
|
|
38
38
|
isOpen: isActive
|
|
39
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
39
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
40
40
|
,
|
|
41
41
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
42
42
|
if (isActive) {
|
|
@@ -47,7 +47,7 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
47
47
|
},
|
|
48
48
|
fitWidth: dropdownWidthNewDesign,
|
|
49
49
|
zIndex: akEditorFloatingPanelZIndex
|
|
50
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
50
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
51
51
|
,
|
|
52
52
|
arrowKeyNavigationProviderOptions: {
|
|
53
53
|
type: ArrowKeyNavigationType.MENU,
|
|
@@ -58,7 +58,7 @@ var FindReplaceDropdown = function FindReplaceDropdown(props) {
|
|
|
58
58
|
}, /*#__PURE__*/React.createElement(FindReplace, _extends({
|
|
59
59
|
findText: findText,
|
|
60
60
|
replaceText: replaceText
|
|
61
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
61
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
62
62
|
,
|
|
63
63
|
count: {
|
|
64
64
|
index: index,
|
|
@@ -116,7 +116,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
116
116
|
boundariesElement: popupsBoundariesElement,
|
|
117
117
|
scrollableElement: popupsScrollableElement,
|
|
118
118
|
isOpen: isActive
|
|
119
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
119
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
120
120
|
,
|
|
121
121
|
handleEscapeKeydown: function handleEscapeKeydown() {
|
|
122
122
|
if (isActive) {
|
|
@@ -133,7 +133,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
133
133
|
},
|
|
134
134
|
fitWidth: dropdownWidthNewDesign,
|
|
135
135
|
zIndex: stackBelowOtherEditorFloatingPanels
|
|
136
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
136
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
137
137
|
,
|
|
138
138
|
arrowKeyNavigationProviderOptions: {
|
|
139
139
|
type: ArrowKeyNavigationType.MENU,
|
|
@@ -185,7 +185,7 @@ var FindReplaceToolbarButton = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
185
185
|
}, jsx(FindReplace, _extends({
|
|
186
186
|
findText: findText,
|
|
187
187
|
replaceText: replaceText
|
|
188
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
188
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
189
189
|
,
|
|
190
190
|
count: {
|
|
191
191
|
index: index,
|
|
@@ -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, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
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
|
@@ -220,7 +220,7 @@ var Replace = function Replace(_ref) {
|
|
|
220
220
|
xcss: actionButtonInlineStyles
|
|
221
221
|
}, /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
222
222
|
title: formatMessage(messages.findNext)
|
|
223
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
223
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
224
224
|
,
|
|
225
225
|
icon: function icon(iconProps) {
|
|
226
226
|
return /*#__PURE__*/React.createElement(ChevronDownIcon, {
|
|
@@ -234,7 +234,7 @@ var Replace = function Replace(_ref) {
|
|
|
234
234
|
disabled: count.total <= 1
|
|
235
235
|
}), /*#__PURE__*/React.createElement(FindReplaceTooltipButton, {
|
|
236
236
|
title: findPrevious
|
|
237
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
237
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
238
238
|
,
|
|
239
239
|
icon: function icon(iconProps) {
|
|
240
240
|
return /*#__PURE__*/React.createElement(ChevronUpIcon, {
|
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.8",
|
|
4
4
|
"description": "find replace plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
39
|
-
"@atlaskit/form": "^15.
|
|
39
|
+
"@atlaskit/form": "^15.5.0",
|
|
40
40
|
"@atlaskit/icon": "^33.0.0",
|
|
41
|
-
"@atlaskit/icon-lab": "^6.
|
|
41
|
+
"@atlaskit/icon-lab": "^6.1.0",
|
|
42
42
|
"@atlaskit/mention": "^24.6.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/primitives": "^18.
|
|
44
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
45
45
|
"@atlaskit/textfield": "^8.2.0",
|
|
46
46
|
"@atlaskit/theme": "^22.0.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
-
"@atlaskit/tokens": "^11.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^46.0.0",
|
|
48
|
+
"@atlaskit/tokens": "^11.2.0",
|
|
49
49
|
"@atlaskit/tooltip": "^21.0.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-dom": "^18.2.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@atlaskit/editor-common": "^112.
|
|
64
|
+
"@atlaskit/editor-common": "^112.9.0",
|
|
65
65
|
"react": "^18.2.0",
|
|
66
66
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
67
67
|
},
|