@atlaskit/emoji 71.3.0 → 71.3.1
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 +7 -0
- package/dist/cjs/api/EmojiRepository.js +3 -0
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/api/EmojiRepository.js +3 -0
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/api/EmojiRepository.js +3 -0
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -376,6 +376,9 @@ var EmojiRepository = exports.default = /*#__PURE__*/function () {
|
|
|
376
376
|
this.fullSearch.searchIndex = new _jsSearch.UnorderedSearchIndex();
|
|
377
377
|
this.fullSearch.addIndex('name');
|
|
378
378
|
this.fullSearch.addIndex('shortName');
|
|
379
|
+
if ((0, _expVal.expVal)(teamojiRefreshExperimentName, 'isEnabled', false)) {
|
|
380
|
+
this.fullSearch.addIndex('keywords');
|
|
381
|
+
}
|
|
379
382
|
this.fullSearch.addDocuments(this.getAllSearchableEmojis());
|
|
380
383
|
this.fullSearchReady = true;
|
|
381
384
|
}
|
|
@@ -20,7 +20,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
20
20
|
actionSubjectId: actionSubjectId,
|
|
21
21
|
attributes: _objectSpread({
|
|
22
22
|
packageName: "@atlaskit/emoji",
|
|
23
|
-
packageVersion: "71.
|
|
23
|
+
packageVersion: "71.3.0"
|
|
24
24
|
}, attributes)
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -302,6 +302,9 @@ export default class EmojiRepository {
|
|
|
302
302
|
this.fullSearch.searchIndex = new UnorderedSearchIndex();
|
|
303
303
|
this.fullSearch.addIndex('name');
|
|
304
304
|
this.fullSearch.addIndex('shortName');
|
|
305
|
+
if (expVal(teamojiRefreshExperimentName, 'isEnabled', false)) {
|
|
306
|
+
this.fullSearch.addIndex('keywords');
|
|
307
|
+
}
|
|
305
308
|
this.fullSearch.addDocuments(this.getAllSearchableEmojis());
|
|
306
309
|
this.fullSearchReady = true;
|
|
307
310
|
}
|
|
@@ -369,6 +369,9 @@ var EmojiRepository = /*#__PURE__*/function () {
|
|
|
369
369
|
this.fullSearch.searchIndex = new UnorderedSearchIndex();
|
|
370
370
|
this.fullSearch.addIndex('name');
|
|
371
371
|
this.fullSearch.addIndex('shortName');
|
|
372
|
+
if (expVal(teamojiRefreshExperimentName, 'isEnabled', false)) {
|
|
373
|
+
this.fullSearch.addIndex('keywords');
|
|
374
|
+
}
|
|
372
375
|
this.fullSearch.addDocuments(this.getAllSearchableEmojis());
|
|
373
376
|
this.fullSearchReady = true;
|
|
374
377
|
}
|
|
@@ -14,7 +14,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
14
14
|
actionSubjectId: actionSubjectId,
|
|
15
15
|
attributes: _objectSpread({
|
|
16
16
|
packageName: "@atlaskit/emoji",
|
|
17
|
-
packageVersion: "71.
|
|
17
|
+
packageVersion: "71.3.0"
|
|
18
18
|
}, attributes)
|
|
19
19
|
};
|
|
20
20
|
};
|