@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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/emoji
2
2
 
3
+ ## 71.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`26dff0be3275b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/26dff0be3275b) -
8
+ Search for Atlassian emojis based on keywords
9
+
3
10
  ## 71.3.0
4
11
 
5
12
  ### Minor Changes
@@ -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.2.2"
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
  }
@@ -9,7 +9,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
9
9
  actionSubjectId,
10
10
  attributes: {
11
11
  packageName: "@atlaskit/emoji",
12
- packageVersion: "71.2.2",
12
+ packageVersion: "71.3.0",
13
13
  ...attributes
14
14
  }
15
15
  });
@@ -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.2.2"
17
+ packageVersion: "71.3.0"
18
18
  }, attributes)
19
19
  };
20
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "71.3.0",
3
+ "version": "71.3.1",
4
4
  "description": "Fabric emoji React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"