@atlaskit/editor-plugin-find-replace 29.0.3 → 29.0.5
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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-find-replace
|
|
2
2
|
|
|
3
|
+
## 29.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 29.0.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`7d0f2c4f8ded7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7d0f2c4f8ded7) -
|
|
14
|
+
Cache Smart Card lookups by URL during Find and Replace behind
|
|
15
|
+
`platform_editor_reduce_forced_layout_2`.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 29.0.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -96,21 +96,21 @@ var createDecoration = exports.createDecoration = function createDecoration(matc
|
|
|
96
96
|
var _getGlobalTheme = (0, _getGlobalTheme2.getGlobalTheme)(),
|
|
97
97
|
colorMode = _getGlobalTheme.colorMode;
|
|
98
98
|
if (isElement(nodeType)) {
|
|
99
|
-
var
|
|
100
|
-
return _view.Decoration.node(start, end, {
|
|
101
|
-
class: className
|
|
102
|
-
});
|
|
103
|
-
} else if (isExpandTitle(match)) {
|
|
104
|
-
var _className = (0, _classnames4.default)(_styles.searchMatchExpandTitleClass, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _styles.selectedSearchMatchClass, isSelected), _styles.darkModeSearchMatchClass, colorMode === 'dark'));
|
|
99
|
+
var _className = (0, _classnames4.default)(_styles.blockSearchMatchClass, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _styles.selectedBlockSearchMatchClass, isSelected), _styles.darkModeSearchMatchClass, colorMode === 'dark'));
|
|
105
100
|
return _view.Decoration.node(start, end, {
|
|
106
101
|
class: _className
|
|
107
102
|
});
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
}
|
|
104
|
+
if (isExpandTitle(match)) {
|
|
105
|
+
var _className2 = (0, _classnames4.default)(_styles.searchMatchExpandTitleClass, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _styles.selectedSearchMatchClass, isSelected), _styles.darkModeSearchMatchClass, colorMode === 'dark'));
|
|
106
|
+
return _view.Decoration.node(start, end, {
|
|
111
107
|
class: _className2
|
|
112
108
|
});
|
|
113
109
|
}
|
|
110
|
+
var className = (0, _classnames4.default)(_styles.searchMatchTextClass, (0, _defineProperty2.default)((0, _defineProperty2.default)({}, _styles.selectedSearchMatchClass, isSelected), _styles.darkModeSearchMatchClass, colorMode === 'dark'));
|
|
111
|
+
return _view.Decoration.inline(start, end, {
|
|
112
|
+
class: className
|
|
113
|
+
});
|
|
114
114
|
};
|
|
115
115
|
function findMatches(_ref2) {
|
|
116
116
|
var content = _ref2.content,
|
|
@@ -170,34 +170,40 @@ function findMatches(_ref2) {
|
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
|
+
|
|
174
|
+
// Cache to avoid repeated O(n) url lookups
|
|
175
|
+
var registeredCardsByUrl = null;
|
|
173
176
|
var collectCardTitleMatch = function collectCardTitleMatch(node, pos) {
|
|
174
|
-
var
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
if (relevantCard) {
|
|
184
|
-
if (title) {
|
|
185
|
-
collectNodeMatch({
|
|
186
|
-
text: title,
|
|
187
|
-
pos: pos
|
|
188
|
-
}, node);
|
|
189
|
-
} else {
|
|
190
|
-
// when there is no title, e.g. in an error case like unauthorized
|
|
191
|
-
// the link card just shows the entire url as the title in inline card
|
|
192
|
-
if (node.type.name === 'inlineCard') {
|
|
193
|
-
collectNodeMatch({
|
|
194
|
-
text: node.attrs.url,
|
|
195
|
-
pos: pos
|
|
196
|
-
}, node);
|
|
197
|
-
}
|
|
177
|
+
var _registeredCardsByUrl, _api$card2;
|
|
178
|
+
// Populate cache
|
|
179
|
+
if (!registeredCardsByUrl && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout_2')) {
|
|
180
|
+
registeredCardsByUrl = new Map();
|
|
181
|
+
for (var _i = 0, _Object$values = Object.values((_api$card$actions$get = api === null || api === void 0 || (_api$card = api.card) === null || _api$card === void 0 || (_api$card = _api$card.actions) === null || _api$card === void 0 || (_api$card$getCardRegi = _api$card.getCardRegistrations) === null || _api$card$getCardRegi === void 0 ? void 0 : _api$card$getCardRegi.call(_api$card)) !== null && _api$card$actions$get !== void 0 ? _api$card$actions$get : {}); _i < _Object$values.length; _i++) {
|
|
182
|
+
var _api$card$actions$get, _api$card, _api$card$getCardRegi;
|
|
183
|
+
var card = _Object$values[_i];
|
|
184
|
+
if (card.getPos() !== undefined) {
|
|
185
|
+
registeredCardsByUrl.set(card.url, card);
|
|
198
186
|
}
|
|
199
187
|
}
|
|
200
188
|
}
|
|
189
|
+
var relevantCard = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout_2') ? (_registeredCardsByUrl = registeredCardsByUrl) === null || _registeredCardsByUrl === void 0 ? void 0 : _registeredCardsByUrl.get(node.attrs.url) : api === null || api === void 0 || (_api$card2 = api.card) === null || _api$card2 === void 0 || (_api$card2 = _api$card2.sharedState.currentState()) === null || _api$card2 === void 0 || (_api$card2 = _api$card2.cards) === null || _api$card2 === void 0 ? void 0 : _api$card2.find(function (card) {
|
|
190
|
+
return card.url === node.attrs.url;
|
|
191
|
+
});
|
|
192
|
+
if (relevantCard) {
|
|
193
|
+
if (relevantCard.title) {
|
|
194
|
+
collectNodeMatch({
|
|
195
|
+
text: relevantCard.title,
|
|
196
|
+
pos: pos
|
|
197
|
+
}, node);
|
|
198
|
+
} else if (node.type.name === 'inlineCard') {
|
|
199
|
+
// when there is no title, e.g. in an error case like unauthorized
|
|
200
|
+
// the link card just shows the entire url as the title in inline card
|
|
201
|
+
collectNodeMatch({
|
|
202
|
+
text: node.attrs.url,
|
|
203
|
+
pos: pos
|
|
204
|
+
}, node);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
201
207
|
};
|
|
202
208
|
if (searchTextLength > 0) {
|
|
203
209
|
content.descendants(function (node, pos) {
|
|
@@ -208,7 +214,7 @@ function findMatches(_ref2) {
|
|
|
208
214
|
pos: pos
|
|
209
215
|
};
|
|
210
216
|
} else {
|
|
211
|
-
textGrouping.text
|
|
217
|
+
textGrouping.text += node.text;
|
|
212
218
|
}
|
|
213
219
|
} else {
|
|
214
220
|
collectTextMatch(textGrouping);
|
|
@@ -303,7 +309,8 @@ function findClosestMatch(selectionPos, matches) {
|
|
|
303
309
|
if (forwardMatchIndex === -1) {
|
|
304
310
|
// if there are no forward matches, it must be the last match
|
|
305
311
|
return matches.length > 0 ? matches.length - 1 : 0;
|
|
306
|
-
}
|
|
312
|
+
}
|
|
313
|
+
if (forwardMatchIndex === 0) {
|
|
307
314
|
return forwardMatchIndex;
|
|
308
315
|
}
|
|
309
316
|
var backwardMatchIndex = forwardMatchIndex - 1;
|
|
@@ -311,9 +318,8 @@ function findClosestMatch(selectionPos, matches) {
|
|
|
311
318
|
var backwardMatchPos = matches[backwardMatchIndex].start;
|
|
312
319
|
if (forwardMatchPos - selectionPos < selectionPos - backwardMatchPos) {
|
|
313
320
|
return forwardMatchIndex;
|
|
314
|
-
} else {
|
|
315
|
-
return backwardMatchIndex;
|
|
316
321
|
}
|
|
322
|
+
return backwardMatchIndex;
|
|
317
323
|
}
|
|
318
324
|
|
|
319
325
|
/**
|
|
@@ -72,7 +72,8 @@ export const createDecoration = (match, isSelected) => {
|
|
|
72
72
|
return Decoration.node(start, end, {
|
|
73
73
|
class: className
|
|
74
74
|
});
|
|
75
|
-
}
|
|
75
|
+
}
|
|
76
|
+
if (isExpandTitle(match)) {
|
|
76
77
|
const className = classnames(searchMatchExpandTitleClass, {
|
|
77
78
|
[selectedSearchMatchClass]: isSelected,
|
|
78
79
|
[darkModeSearchMatchClass]: colorMode === 'dark'
|
|
@@ -80,15 +81,14 @@ export const createDecoration = (match, isSelected) => {
|
|
|
80
81
|
return Decoration.node(start, end, {
|
|
81
82
|
class: className
|
|
82
83
|
});
|
|
83
|
-
} else {
|
|
84
|
-
const className = classnames(searchMatchTextClass, {
|
|
85
|
-
[selectedSearchMatchClass]: isSelected,
|
|
86
|
-
[darkModeSearchMatchClass]: colorMode === 'dark'
|
|
87
|
-
});
|
|
88
|
-
return Decoration.inline(start, end, {
|
|
89
|
-
class: className
|
|
90
|
-
});
|
|
91
84
|
}
|
|
85
|
+
const className = classnames(searchMatchTextClass, {
|
|
86
|
+
[selectedSearchMatchClass]: isSelected,
|
|
87
|
+
[darkModeSearchMatchClass]: colorMode === 'dark'
|
|
88
|
+
});
|
|
89
|
+
return Decoration.inline(start, end, {
|
|
90
|
+
class: className
|
|
91
|
+
});
|
|
92
92
|
};
|
|
93
93
|
export function findMatches({
|
|
94
94
|
content,
|
|
@@ -156,30 +156,37 @@ export function findMatches({
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
+
|
|
160
|
+
// Cache to avoid repeated O(n) url lookups
|
|
161
|
+
let registeredCardsByUrl = null;
|
|
159
162
|
const collectCardTitleMatch = (node, pos) => {
|
|
160
|
-
var
|
|
161
|
-
|
|
162
|
-
if (
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
if (
|
|
167
|
-
|
|
168
|
-
text: title,
|
|
169
|
-
pos
|
|
170
|
-
}, node);
|
|
171
|
-
} else {
|
|
172
|
-
// when there is no title, e.g. in an error case like unauthorized
|
|
173
|
-
// the link card just shows the entire url as the title in inline card
|
|
174
|
-
if (node.type.name === 'inlineCard') {
|
|
175
|
-
collectNodeMatch({
|
|
176
|
-
text: node.attrs.url,
|
|
177
|
-
pos
|
|
178
|
-
}, node);
|
|
179
|
-
}
|
|
163
|
+
var _registeredCardsByUrl, _api$card2, _api$card2$sharedStat, _api$card2$sharedStat2;
|
|
164
|
+
// Populate cache
|
|
165
|
+
if (!registeredCardsByUrl && isExperimentEnabled('platform_editor_reduce_forced_layout_2')) {
|
|
166
|
+
registeredCardsByUrl = new Map();
|
|
167
|
+
for (const card of Object.values((_api$card$actions$get = api === null || api === void 0 ? void 0 : (_api$card = api.card) === null || _api$card === void 0 ? void 0 : (_api$card$actions = _api$card.actions) === null || _api$card$actions === void 0 ? void 0 : (_api$card$actions$get2 = _api$card$actions.getCardRegistrations) === null || _api$card$actions$get2 === void 0 ? void 0 : _api$card$actions$get2.call(_api$card$actions)) !== null && _api$card$actions$get !== void 0 ? _api$card$actions$get : {})) {
|
|
168
|
+
var _api$card$actions$get, _api$card, _api$card$actions, _api$card$actions$get2;
|
|
169
|
+
if (card.getPos() !== undefined) {
|
|
170
|
+
registeredCardsByUrl.set(card.url, card);
|
|
180
171
|
}
|
|
181
172
|
}
|
|
182
173
|
}
|
|
174
|
+
const relevantCard = isExperimentEnabled('platform_editor_reduce_forced_layout_2') ? (_registeredCardsByUrl = registeredCardsByUrl) === null || _registeredCardsByUrl === void 0 ? void 0 : _registeredCardsByUrl.get(node.attrs.url) : api === null || api === void 0 ? void 0 : (_api$card2 = api.card) === null || _api$card2 === void 0 ? void 0 : (_api$card2$sharedStat = _api$card2.sharedState.currentState()) === null || _api$card2$sharedStat === void 0 ? void 0 : (_api$card2$sharedStat2 = _api$card2$sharedStat.cards) === null || _api$card2$sharedStat2 === void 0 ? void 0 : _api$card2$sharedStat2.find(card => card.url === node.attrs.url);
|
|
175
|
+
if (relevantCard) {
|
|
176
|
+
if (relevantCard.title) {
|
|
177
|
+
collectNodeMatch({
|
|
178
|
+
text: relevantCard.title,
|
|
179
|
+
pos
|
|
180
|
+
}, node);
|
|
181
|
+
} else if (node.type.name === 'inlineCard') {
|
|
182
|
+
// when there is no title, e.g. in an error case like unauthorized
|
|
183
|
+
// the link card just shows the entire url as the title in inline card
|
|
184
|
+
collectNodeMatch({
|
|
185
|
+
text: node.attrs.url,
|
|
186
|
+
pos
|
|
187
|
+
}, node);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
183
190
|
};
|
|
184
191
|
if (searchTextLength > 0) {
|
|
185
192
|
content.descendants((node, pos) => {
|
|
@@ -190,7 +197,7 @@ export function findMatches({
|
|
|
190
197
|
pos
|
|
191
198
|
};
|
|
192
199
|
} else {
|
|
193
|
-
textGrouping.text
|
|
200
|
+
textGrouping.text += node.text;
|
|
194
201
|
}
|
|
195
202
|
} else {
|
|
196
203
|
collectTextMatch(textGrouping);
|
|
@@ -283,7 +290,8 @@ export function findClosestMatch(selectionPos, matches) {
|
|
|
283
290
|
if (forwardMatchIndex === -1) {
|
|
284
291
|
// if there are no forward matches, it must be the last match
|
|
285
292
|
return matches.length > 0 ? matches.length - 1 : 0;
|
|
286
|
-
}
|
|
293
|
+
}
|
|
294
|
+
if (forwardMatchIndex === 0) {
|
|
287
295
|
return forwardMatchIndex;
|
|
288
296
|
}
|
|
289
297
|
const backwardMatchIndex = forwardMatchIndex - 1;
|
|
@@ -291,9 +299,8 @@ export function findClosestMatch(selectionPos, matches) {
|
|
|
291
299
|
const backwardMatchPos = matches[backwardMatchIndex].start;
|
|
292
300
|
if (forwardMatchPos - selectionPos < selectionPos - backwardMatchPos) {
|
|
293
301
|
return forwardMatchIndex;
|
|
294
|
-
} else {
|
|
295
|
-
return backwardMatchIndex;
|
|
296
302
|
}
|
|
303
|
+
return backwardMatchIndex;
|
|
297
304
|
}
|
|
298
305
|
|
|
299
306
|
/**
|
|
@@ -82,21 +82,21 @@ export var createDecoration = function createDecoration(match, isSelected) {
|
|
|
82
82
|
var _getGlobalTheme = getGlobalTheme(),
|
|
83
83
|
colorMode = _getGlobalTheme.colorMode;
|
|
84
84
|
if (isElement(nodeType)) {
|
|
85
|
-
var
|
|
86
|
-
return Decoration.node(start, end, {
|
|
87
|
-
class: className
|
|
88
|
-
});
|
|
89
|
-
} else if (isExpandTitle(match)) {
|
|
90
|
-
var _className = classnames(searchMatchExpandTitleClass, _defineProperty(_defineProperty({}, selectedSearchMatchClass, isSelected), darkModeSearchMatchClass, colorMode === 'dark'));
|
|
85
|
+
var _className = classnames(blockSearchMatchClass, _defineProperty(_defineProperty({}, selectedBlockSearchMatchClass, isSelected), darkModeSearchMatchClass, colorMode === 'dark'));
|
|
91
86
|
return Decoration.node(start, end, {
|
|
92
87
|
class: _className
|
|
93
88
|
});
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
89
|
+
}
|
|
90
|
+
if (isExpandTitle(match)) {
|
|
91
|
+
var _className2 = classnames(searchMatchExpandTitleClass, _defineProperty(_defineProperty({}, selectedSearchMatchClass, isSelected), darkModeSearchMatchClass, colorMode === 'dark'));
|
|
92
|
+
return Decoration.node(start, end, {
|
|
97
93
|
class: _className2
|
|
98
94
|
});
|
|
99
95
|
}
|
|
96
|
+
var className = classnames(searchMatchTextClass, _defineProperty(_defineProperty({}, selectedSearchMatchClass, isSelected), darkModeSearchMatchClass, colorMode === 'dark'));
|
|
97
|
+
return Decoration.inline(start, end, {
|
|
98
|
+
class: className
|
|
99
|
+
});
|
|
100
100
|
};
|
|
101
101
|
export function findMatches(_ref2) {
|
|
102
102
|
var content = _ref2.content,
|
|
@@ -156,34 +156,40 @@ export function findMatches(_ref2) {
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
+
|
|
160
|
+
// Cache to avoid repeated O(n) url lookups
|
|
161
|
+
var registeredCardsByUrl = null;
|
|
159
162
|
var collectCardTitleMatch = function collectCardTitleMatch(node, pos) {
|
|
160
|
-
var
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (relevantCard) {
|
|
170
|
-
if (title) {
|
|
171
|
-
collectNodeMatch({
|
|
172
|
-
text: title,
|
|
173
|
-
pos: pos
|
|
174
|
-
}, node);
|
|
175
|
-
} else {
|
|
176
|
-
// when there is no title, e.g. in an error case like unauthorized
|
|
177
|
-
// the link card just shows the entire url as the title in inline card
|
|
178
|
-
if (node.type.name === 'inlineCard') {
|
|
179
|
-
collectNodeMatch({
|
|
180
|
-
text: node.attrs.url,
|
|
181
|
-
pos: pos
|
|
182
|
-
}, node);
|
|
183
|
-
}
|
|
163
|
+
var _registeredCardsByUrl, _api$card2;
|
|
164
|
+
// Populate cache
|
|
165
|
+
if (!registeredCardsByUrl && isExperimentEnabled('platform_editor_reduce_forced_layout_2')) {
|
|
166
|
+
registeredCardsByUrl = new Map();
|
|
167
|
+
for (var _i = 0, _Object$values = Object.values((_api$card$actions$get = api === null || api === void 0 || (_api$card = api.card) === null || _api$card === void 0 || (_api$card = _api$card.actions) === null || _api$card === void 0 || (_api$card$getCardRegi = _api$card.getCardRegistrations) === null || _api$card$getCardRegi === void 0 ? void 0 : _api$card$getCardRegi.call(_api$card)) !== null && _api$card$actions$get !== void 0 ? _api$card$actions$get : {}); _i < _Object$values.length; _i++) {
|
|
168
|
+
var _api$card$actions$get, _api$card, _api$card$getCardRegi;
|
|
169
|
+
var card = _Object$values[_i];
|
|
170
|
+
if (card.getPos() !== undefined) {
|
|
171
|
+
registeredCardsByUrl.set(card.url, card);
|
|
184
172
|
}
|
|
185
173
|
}
|
|
186
174
|
}
|
|
175
|
+
var relevantCard = isExperimentEnabled('platform_editor_reduce_forced_layout_2') ? (_registeredCardsByUrl = registeredCardsByUrl) === null || _registeredCardsByUrl === void 0 ? void 0 : _registeredCardsByUrl.get(node.attrs.url) : api === null || api === void 0 || (_api$card2 = api.card) === null || _api$card2 === void 0 || (_api$card2 = _api$card2.sharedState.currentState()) === null || _api$card2 === void 0 || (_api$card2 = _api$card2.cards) === null || _api$card2 === void 0 ? void 0 : _api$card2.find(function (card) {
|
|
176
|
+
return card.url === node.attrs.url;
|
|
177
|
+
});
|
|
178
|
+
if (relevantCard) {
|
|
179
|
+
if (relevantCard.title) {
|
|
180
|
+
collectNodeMatch({
|
|
181
|
+
text: relevantCard.title,
|
|
182
|
+
pos: pos
|
|
183
|
+
}, node);
|
|
184
|
+
} else if (node.type.name === 'inlineCard') {
|
|
185
|
+
// when there is no title, e.g. in an error case like unauthorized
|
|
186
|
+
// the link card just shows the entire url as the title in inline card
|
|
187
|
+
collectNodeMatch({
|
|
188
|
+
text: node.attrs.url,
|
|
189
|
+
pos: pos
|
|
190
|
+
}, node);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
187
193
|
};
|
|
188
194
|
if (searchTextLength > 0) {
|
|
189
195
|
content.descendants(function (node, pos) {
|
|
@@ -194,7 +200,7 @@ export function findMatches(_ref2) {
|
|
|
194
200
|
pos: pos
|
|
195
201
|
};
|
|
196
202
|
} else {
|
|
197
|
-
textGrouping.text
|
|
203
|
+
textGrouping.text += node.text;
|
|
198
204
|
}
|
|
199
205
|
} else {
|
|
200
206
|
collectTextMatch(textGrouping);
|
|
@@ -289,7 +295,8 @@ export function findClosestMatch(selectionPos, matches) {
|
|
|
289
295
|
if (forwardMatchIndex === -1) {
|
|
290
296
|
// if there are no forward matches, it must be the last match
|
|
291
297
|
return matches.length > 0 ? matches.length - 1 : 0;
|
|
292
|
-
}
|
|
298
|
+
}
|
|
299
|
+
if (forwardMatchIndex === 0) {
|
|
293
300
|
return forwardMatchIndex;
|
|
294
301
|
}
|
|
295
302
|
var backwardMatchIndex = forwardMatchIndex - 1;
|
|
@@ -297,9 +304,8 @@ export function findClosestMatch(selectionPos, matches) {
|
|
|
297
304
|
var backwardMatchPos = matches[backwardMatchIndex].start;
|
|
298
305
|
if (forwardMatchPos - selectionPos < selectionPos - backwardMatchPos) {
|
|
299
306
|
return forwardMatchIndex;
|
|
300
|
-
} else {
|
|
301
|
-
return backwardMatchIndex;
|
|
302
307
|
}
|
|
308
|
+
return backwardMatchIndex;
|
|
303
309
|
}
|
|
304
310
|
|
|
305
311
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-find-replace",
|
|
3
|
-
"version": "29.0.
|
|
3
|
+
"version": "29.0.5",
|
|
4
4
|
"description": "find replace plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"@atlaskit/form": "^18.2.0",
|
|
35
35
|
"@atlaskit/icon": "^38.0.0",
|
|
36
36
|
"@atlaskit/icon-lab": "^7.11.0",
|
|
37
|
-
"@atlaskit/mention": "^30.
|
|
37
|
+
"@atlaskit/mention": "^30.4.0",
|
|
38
38
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
41
41
|
"@atlaskit/primitives": "^22.6.0",
|
|
42
42
|
"@atlaskit/textfield": "^10.2.0",
|
|
43
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
-
"@atlaskit/tokens": "^20.
|
|
43
|
+
"@atlaskit/tmp-editor-statsig": "^246.0.0",
|
|
44
|
+
"@atlaskit/tokens": "^20.7.0",
|
|
45
45
|
"@atlaskit/tooltip": "^24.4.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"react-intl": "^7.0.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@atlaskit/editor-common": "^133.
|
|
63
|
+
"@atlaskit/editor-common": "^133.6.0",
|
|
64
64
|
"react": "^18.2.0 || ^19.2.0",
|
|
65
65
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
66
66
|
}
|