@atlaskit/emoji 67.0.2 → 67.0.3

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,11 @@
1
1
  # @atlaskit/emoji
2
2
 
3
+ ## 67.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7d2488dcbcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d2488dcbcf) - Upgrade lru-fast@0.2.2 to lru_map
8
+
3
9
  ## 67.0.2
4
10
 
5
11
  ### Patch Changes
@@ -19,7 +19,7 @@ var _MediaImageLoader = _interopRequireDefault(require("./MediaImageLoader"));
19
19
 
20
20
  var _logger = _interopRequireDefault(require("../../util/logger"));
21
21
 
22
- var _lruFast = require("lru-fast");
22
+ var _lru_map = require("lru_map");
23
23
 
24
24
  var getRequiredRepresentation = function getRequiredRepresentation(emoji, useAlt) {
25
25
  return useAlt ? emoji.altRepresentation : emoji.representation;
@@ -130,7 +130,7 @@ var MemoryCacheStrategy = /*#__PURE__*/function () {
130
130
  (0, _classCallCheck2.default)(this, MemoryCacheStrategy);
131
131
  (0, _logger.default)('MemoryCacheStrategy');
132
132
  this.mediaImageLoader = mediaImageLoader;
133
- this.dataURLCache = new _lruFast.LRUCache(maxImageCached);
133
+ this.dataURLCache = new _lru_map.LRUMap(maxImageCached);
134
134
  }
135
135
 
136
136
  (0, _createClass2.default)(MemoryCacheStrategy, [{
@@ -158,7 +158,7 @@ var MemoryCacheStrategy = /*#__PURE__*/function () {
158
158
 
159
159
  if (dataURL.length <= maxImageSize) {
160
160
  // Only cache if not large than max size
161
- _this2.dataURLCache.put(mediaPath, dataURL);
161
+ _this2.dataURLCache.set(mediaPath, dataURL);
162
162
  } else {
163
163
  (0, _logger.default)('No caching as image is too large', dataURL.length, dataURL.slice(0, 15), emoji.shortName);
164
164
  }
@@ -4,37 +4,48 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- // English
7
+
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //
8
15
  var _default = {
9
- 'fabric.emoji.delete.title': 'Remove emoji',
10
- 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
11
- 'fabric.emoji.delete.label': 'Remove',
12
16
  'fabric.emoji.add.custom.emoji.label': 'Add your own emoji',
13
- 'fabric.emoji.placeholder': 'Emoji name',
14
- 'fabric.emoji.choose.file.title': 'Choose file',
15
- 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
16
- 'fabric.emoji.preview.title': 'Preview',
17
- 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
18
17
  'fabric.emoji.add.label': 'Add emoji',
19
- 'fabric.emoji.retry.label': 'Retry',
20
18
  'fabric.emoji.cancel.label': 'Cancel',
21
- 'fabric.emoji.search.label': 'Search',
22
19
  'fabric.emoji.categories.search.results': 'Search results',
20
+ 'fabric.emoji.category.activity': 'Activity',
21
+ 'fabric.emoji.category.all.uploads': 'All uploads',
22
+ 'fabric.emoji.category.flags': 'Flags',
23
+ 'fabric.emoji.category.foods': 'Food & Drink',
23
24
  'fabric.emoji.category.frequent': 'Frequent',
24
- 'fabric.emoji.category.people': 'People',
25
25
  'fabric.emoji.category.nature': 'Nature',
26
- 'fabric.emoji.category.foods': 'Food & Drink',
27
- 'fabric.emoji.category.activity': 'Activity',
28
- 'fabric.emoji.category.places': 'Travel & Places',
29
26
  'fabric.emoji.category.objects': 'Objects',
30
- 'fabric.emoji.category.symbols': 'Symbols',
31
- 'fabric.emoji.category.flags': 'Flags',
27
+ 'fabric.emoji.category.people': 'People',
28
+ 'fabric.emoji.category.places': 'Travel & Places',
32
29
  'fabric.emoji.category.productivity': 'Productivity',
30
+ 'fabric.emoji.category.symbols': 'Symbols',
33
31
  'fabric.emoji.category.user.uploads': 'Your uploads',
34
- 'fabric.emoji.category.all.uploads': 'All uploads',
32
+ 'fabric.emoji.choose.file.screenReaderDescription': 'Choose a file for the emoji. JPG, PNG or GIF. Max size 1 MB.',
33
+ 'fabric.emoji.choose.file.title': 'Choose file',
34
+ 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
35
+ 'fabric.emoji.delete.label': 'Remove',
36
+ 'fabric.emoji.delete.title': 'Remove emoji',
35
37
  'fabric.emoji.error.delete.failed': 'Remove failed',
38
+ 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB',
36
39
  'fabric.emoji.error.invalid.image': 'Selected image is invalid',
37
40
  'fabric.emoji.error.upload.failed': 'Upload failed',
38
- 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB'
41
+ 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
42
+ 'fabric.emoji.name.ariaLabel': 'Enter a name for the new emoji',
43
+ 'fabric.emoji.placeholder': 'Emoji name',
44
+ 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
45
+ 'fabric.emoji.preview.title': 'Preview',
46
+ 'fabric.emoji.retry.label': 'Retry',
47
+ 'fabric.emoji.search.label': 'Search emoji',
48
+ 'fabric.emoji.search.placeholder': 'Search',
49
+ 'fabric.emoji.select.skin.tone.ariaLabel': 'Select skin tone, {selectedTone}'
39
50
  };
40
51
  exports.default = _default;
@@ -4,37 +4,48 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- // English (United Kingdom)
7
+
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //English (United Kingdom)
8
15
  var _default = {
9
- 'fabric.emoji.delete.title': 'Remove emoji',
10
- 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
11
- 'fabric.emoji.delete.label': 'Remove',
12
16
  'fabric.emoji.add.custom.emoji.label': 'Add your own emoji',
13
- 'fabric.emoji.placeholder': 'Emoji name',
14
- 'fabric.emoji.choose.file.title': 'Choose file',
15
- 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
16
- 'fabric.emoji.preview.title': 'Preview',
17
- 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
18
17
  'fabric.emoji.add.label': 'Add emoji',
19
- 'fabric.emoji.retry.label': 'Retry',
20
18
  'fabric.emoji.cancel.label': 'Cancel',
21
- 'fabric.emoji.search.label': 'Search',
22
19
  'fabric.emoji.categories.search.results': 'Search results',
20
+ 'fabric.emoji.category.activity': 'Activity',
21
+ 'fabric.emoji.category.all.uploads': 'All uploads',
22
+ 'fabric.emoji.category.flags': 'Flags',
23
+ 'fabric.emoji.category.foods': 'Food & Drink',
23
24
  'fabric.emoji.category.frequent': 'Frequent',
24
- 'fabric.emoji.category.people': 'People',
25
25
  'fabric.emoji.category.nature': 'Nature',
26
- 'fabric.emoji.category.foods': 'Food & Drink',
27
- 'fabric.emoji.category.activity': 'Activity',
28
- 'fabric.emoji.category.places': 'Travel & Places',
29
26
  'fabric.emoji.category.objects': 'Objects',
30
- 'fabric.emoji.category.symbols': 'Symbols',
31
- 'fabric.emoji.category.flags': 'Flags',
27
+ 'fabric.emoji.category.people': 'People',
28
+ 'fabric.emoji.category.places': 'Travel & Places',
32
29
  'fabric.emoji.category.productivity': 'Productivity',
30
+ 'fabric.emoji.category.symbols': 'Symbols',
33
31
  'fabric.emoji.category.user.uploads': 'Your uploads',
34
- 'fabric.emoji.category.all.uploads': 'All uploads',
32
+ 'fabric.emoji.choose.file.screenReaderDescription': 'Choose a file for the emoji. JPG, PNG or GIF. Max size 1 MB.',
33
+ 'fabric.emoji.choose.file.title': 'Choose file',
34
+ 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
35
+ 'fabric.emoji.delete.label': 'Remove',
36
+ 'fabric.emoji.delete.title': 'Remove emoji',
35
37
  'fabric.emoji.error.delete.failed': 'Remove failed',
38
+ 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB',
36
39
  'fabric.emoji.error.invalid.image': 'Selected image is invalid',
37
40
  'fabric.emoji.error.upload.failed': 'Upload failed',
38
- 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB'
41
+ 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
42
+ 'fabric.emoji.name.ariaLabel': 'Enter a name for the new emoji',
43
+ 'fabric.emoji.placeholder': 'Emoji name',
44
+ 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
45
+ 'fabric.emoji.preview.title': 'Preview',
46
+ 'fabric.emoji.retry.label': 'Retry',
47
+ 'fabric.emoji.search.label': 'Search emoji',
48
+ 'fabric.emoji.search.placeholder': 'Search',
49
+ 'fabric.emoji.select.skin.tone.ariaLabel': 'Select skin tone, {selectedTone}'
39
50
  };
40
51
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "67.0.2",
3
+ "version": "67.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { convertMediaToImageEmoji, isMediaRepresentation, isPromise } from '../../util/type-helpers';
3
3
  import MediaImageLoader from './MediaImageLoader';
4
4
  import debug from '../../util/logger';
5
- import { LRUCache } from 'lru-fast';
5
+ import { LRUMap } from 'lru_map';
6
6
 
7
7
  const getRequiredRepresentation = (emoji, useAlt) => useAlt ? emoji.altRepresentation : emoji.representation;
8
8
 
@@ -97,7 +97,7 @@ export class MemoryCacheStrategy {
97
97
  constructor(mediaImageLoader) {
98
98
  debug('MemoryCacheStrategy');
99
99
  this.mediaImageLoader = mediaImageLoader;
100
- this.dataURLCache = new LRUCache(maxImageCached);
100
+ this.dataURLCache = new LRUMap(maxImageCached);
101
101
  }
102
102
 
103
103
  loadEmoji(emoji, useAlt) {
@@ -123,7 +123,7 @@ export class MemoryCacheStrategy {
123
123
 
124
124
  if (dataURL.length <= maxImageSize) {
125
125
  // Only cache if not large than max size
126
- this.dataURLCache.put(mediaPath, dataURL);
126
+ this.dataURLCache.set(mediaPath, dataURL);
127
127
  } else {
128
128
  debug('No caching as image is too large', dataURL.length, dataURL.slice(0, 15), emoji.shortName);
129
129
  }
@@ -1,33 +1,43 @@
1
- // English
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ //
2
8
  export default {
3
- 'fabric.emoji.delete.title': 'Remove emoji',
4
- 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
5
- 'fabric.emoji.delete.label': 'Remove',
6
9
  'fabric.emoji.add.custom.emoji.label': 'Add your own emoji',
7
- 'fabric.emoji.placeholder': 'Emoji name',
8
- 'fabric.emoji.choose.file.title': 'Choose file',
9
- 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
10
- 'fabric.emoji.preview.title': 'Preview',
11
- 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
12
10
  'fabric.emoji.add.label': 'Add emoji',
13
- 'fabric.emoji.retry.label': 'Retry',
14
11
  'fabric.emoji.cancel.label': 'Cancel',
15
- 'fabric.emoji.search.label': 'Search',
16
12
  'fabric.emoji.categories.search.results': 'Search results',
13
+ 'fabric.emoji.category.activity': 'Activity',
14
+ 'fabric.emoji.category.all.uploads': 'All uploads',
15
+ 'fabric.emoji.category.flags': 'Flags',
16
+ 'fabric.emoji.category.foods': 'Food & Drink',
17
17
  'fabric.emoji.category.frequent': 'Frequent',
18
- 'fabric.emoji.category.people': 'People',
19
18
  'fabric.emoji.category.nature': 'Nature',
20
- 'fabric.emoji.category.foods': 'Food & Drink',
21
- 'fabric.emoji.category.activity': 'Activity',
22
- 'fabric.emoji.category.places': 'Travel & Places',
23
19
  'fabric.emoji.category.objects': 'Objects',
24
- 'fabric.emoji.category.symbols': 'Symbols',
25
- 'fabric.emoji.category.flags': 'Flags',
20
+ 'fabric.emoji.category.people': 'People',
21
+ 'fabric.emoji.category.places': 'Travel & Places',
26
22
  'fabric.emoji.category.productivity': 'Productivity',
23
+ 'fabric.emoji.category.symbols': 'Symbols',
27
24
  'fabric.emoji.category.user.uploads': 'Your uploads',
28
- 'fabric.emoji.category.all.uploads': 'All uploads',
25
+ 'fabric.emoji.choose.file.screenReaderDescription': 'Choose a file for the emoji. JPG, PNG or GIF. Max size 1 MB.',
26
+ 'fabric.emoji.choose.file.title': 'Choose file',
27
+ 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
28
+ 'fabric.emoji.delete.label': 'Remove',
29
+ 'fabric.emoji.delete.title': 'Remove emoji',
29
30
  'fabric.emoji.error.delete.failed': 'Remove failed',
31
+ 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB',
30
32
  'fabric.emoji.error.invalid.image': 'Selected image is invalid',
31
33
  'fabric.emoji.error.upload.failed': 'Upload failed',
32
- 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB'
34
+ 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
35
+ 'fabric.emoji.name.ariaLabel': 'Enter a name for the new emoji',
36
+ 'fabric.emoji.placeholder': 'Emoji name',
37
+ 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
38
+ 'fabric.emoji.preview.title': 'Preview',
39
+ 'fabric.emoji.retry.label': 'Retry',
40
+ 'fabric.emoji.search.label': 'Search emoji',
41
+ 'fabric.emoji.search.placeholder': 'Search',
42
+ 'fabric.emoji.select.skin.tone.ariaLabel': 'Select skin tone, {selectedTone}'
33
43
  };
@@ -1,33 +1,43 @@
1
- // English (United Kingdom)
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ //English (United Kingdom)
2
8
  export default {
3
- 'fabric.emoji.delete.title': 'Remove emoji',
4
- 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
5
- 'fabric.emoji.delete.label': 'Remove',
6
9
  'fabric.emoji.add.custom.emoji.label': 'Add your own emoji',
7
- 'fabric.emoji.placeholder': 'Emoji name',
8
- 'fabric.emoji.choose.file.title': 'Choose file',
9
- 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
10
- 'fabric.emoji.preview.title': 'Preview',
11
- 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
12
10
  'fabric.emoji.add.label': 'Add emoji',
13
- 'fabric.emoji.retry.label': 'Retry',
14
11
  'fabric.emoji.cancel.label': 'Cancel',
15
- 'fabric.emoji.search.label': 'Search',
16
12
  'fabric.emoji.categories.search.results': 'Search results',
13
+ 'fabric.emoji.category.activity': 'Activity',
14
+ 'fabric.emoji.category.all.uploads': 'All uploads',
15
+ 'fabric.emoji.category.flags': 'Flags',
16
+ 'fabric.emoji.category.foods': 'Food & Drink',
17
17
  'fabric.emoji.category.frequent': 'Frequent',
18
- 'fabric.emoji.category.people': 'People',
19
18
  'fabric.emoji.category.nature': 'Nature',
20
- 'fabric.emoji.category.foods': 'Food & Drink',
21
- 'fabric.emoji.category.activity': 'Activity',
22
- 'fabric.emoji.category.places': 'Travel & Places',
23
19
  'fabric.emoji.category.objects': 'Objects',
24
- 'fabric.emoji.category.symbols': 'Symbols',
25
- 'fabric.emoji.category.flags': 'Flags',
20
+ 'fabric.emoji.category.people': 'People',
21
+ 'fabric.emoji.category.places': 'Travel & Places',
26
22
  'fabric.emoji.category.productivity': 'Productivity',
23
+ 'fabric.emoji.category.symbols': 'Symbols',
27
24
  'fabric.emoji.category.user.uploads': 'Your uploads',
28
- 'fabric.emoji.category.all.uploads': 'All uploads',
25
+ 'fabric.emoji.choose.file.screenReaderDescription': 'Choose a file for the emoji. JPG, PNG or GIF. Max size 1 MB.',
26
+ 'fabric.emoji.choose.file.title': 'Choose file',
27
+ 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
28
+ 'fabric.emoji.delete.label': 'Remove',
29
+ 'fabric.emoji.delete.title': 'Remove emoji',
29
30
  'fabric.emoji.error.delete.failed': 'Remove failed',
31
+ 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB',
30
32
  'fabric.emoji.error.invalid.image': 'Selected image is invalid',
31
33
  'fabric.emoji.error.upload.failed': 'Upload failed',
32
- 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB'
34
+ 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
35
+ 'fabric.emoji.name.ariaLabel': 'Enter a name for the new emoji',
36
+ 'fabric.emoji.placeholder': 'Emoji name',
37
+ 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
38
+ 'fabric.emoji.preview.title': 'Preview',
39
+ 'fabric.emoji.retry.label': 'Retry',
40
+ 'fabric.emoji.search.label': 'Search emoji',
41
+ 'fabric.emoji.search.placeholder': 'Search',
42
+ 'fabric.emoji.select.skin.tone.ariaLabel': 'Select skin tone, {selectedTone}'
33
43
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "67.0.2",
3
+ "version": "67.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -4,7 +4,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import { convertMediaToImageEmoji, isMediaRepresentation, isPromise } from '../../util/type-helpers';
5
5
  import MediaImageLoader from './MediaImageLoader';
6
6
  import debug from '../../util/logger';
7
- import { LRUCache } from 'lru-fast';
7
+ import { LRUMap } from 'lru_map';
8
8
 
9
9
  var getRequiredRepresentation = function getRequiredRepresentation(emoji, useAlt) {
10
10
  return useAlt ? emoji.altRepresentation : emoji.representation;
@@ -117,7 +117,7 @@ export var MemoryCacheStrategy = /*#__PURE__*/function () {
117
117
 
118
118
  debug('MemoryCacheStrategy');
119
119
  this.mediaImageLoader = mediaImageLoader;
120
- this.dataURLCache = new LRUCache(maxImageCached);
120
+ this.dataURLCache = new LRUMap(maxImageCached);
121
121
  }
122
122
 
123
123
  _createClass(MemoryCacheStrategy, [{
@@ -145,7 +145,7 @@ export var MemoryCacheStrategy = /*#__PURE__*/function () {
145
145
 
146
146
  if (dataURL.length <= maxImageSize) {
147
147
  // Only cache if not large than max size
148
- _this2.dataURLCache.put(mediaPath, dataURL);
148
+ _this2.dataURLCache.set(mediaPath, dataURL);
149
149
  } else {
150
150
  debug('No caching as image is too large', dataURL.length, dataURL.slice(0, 15), emoji.shortName);
151
151
  }
@@ -1,33 +1,43 @@
1
- // English
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ //
2
8
  export default {
3
- 'fabric.emoji.delete.title': 'Remove emoji',
4
- 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
5
- 'fabric.emoji.delete.label': 'Remove',
6
9
  'fabric.emoji.add.custom.emoji.label': 'Add your own emoji',
7
- 'fabric.emoji.placeholder': 'Emoji name',
8
- 'fabric.emoji.choose.file.title': 'Choose file',
9
- 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
10
- 'fabric.emoji.preview.title': 'Preview',
11
- 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
12
10
  'fabric.emoji.add.label': 'Add emoji',
13
- 'fabric.emoji.retry.label': 'Retry',
14
11
  'fabric.emoji.cancel.label': 'Cancel',
15
- 'fabric.emoji.search.label': 'Search',
16
12
  'fabric.emoji.categories.search.results': 'Search results',
13
+ 'fabric.emoji.category.activity': 'Activity',
14
+ 'fabric.emoji.category.all.uploads': 'All uploads',
15
+ 'fabric.emoji.category.flags': 'Flags',
16
+ 'fabric.emoji.category.foods': 'Food & Drink',
17
17
  'fabric.emoji.category.frequent': 'Frequent',
18
- 'fabric.emoji.category.people': 'People',
19
18
  'fabric.emoji.category.nature': 'Nature',
20
- 'fabric.emoji.category.foods': 'Food & Drink',
21
- 'fabric.emoji.category.activity': 'Activity',
22
- 'fabric.emoji.category.places': 'Travel & Places',
23
19
  'fabric.emoji.category.objects': 'Objects',
24
- 'fabric.emoji.category.symbols': 'Symbols',
25
- 'fabric.emoji.category.flags': 'Flags',
20
+ 'fabric.emoji.category.people': 'People',
21
+ 'fabric.emoji.category.places': 'Travel & Places',
26
22
  'fabric.emoji.category.productivity': 'Productivity',
23
+ 'fabric.emoji.category.symbols': 'Symbols',
27
24
  'fabric.emoji.category.user.uploads': 'Your uploads',
28
- 'fabric.emoji.category.all.uploads': 'All uploads',
25
+ 'fabric.emoji.choose.file.screenReaderDescription': 'Choose a file for the emoji. JPG, PNG or GIF. Max size 1 MB.',
26
+ 'fabric.emoji.choose.file.title': 'Choose file',
27
+ 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
28
+ 'fabric.emoji.delete.label': 'Remove',
29
+ 'fabric.emoji.delete.title': 'Remove emoji',
29
30
  'fabric.emoji.error.delete.failed': 'Remove failed',
31
+ 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB',
30
32
  'fabric.emoji.error.invalid.image': 'Selected image is invalid',
31
33
  'fabric.emoji.error.upload.failed': 'Upload failed',
32
- 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB'
34
+ 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
35
+ 'fabric.emoji.name.ariaLabel': 'Enter a name for the new emoji',
36
+ 'fabric.emoji.placeholder': 'Emoji name',
37
+ 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
38
+ 'fabric.emoji.preview.title': 'Preview',
39
+ 'fabric.emoji.retry.label': 'Retry',
40
+ 'fabric.emoji.search.label': 'Search emoji',
41
+ 'fabric.emoji.search.placeholder': 'Search',
42
+ 'fabric.emoji.select.skin.tone.ariaLabel': 'Select skin tone, {selectedTone}'
33
43
  };
@@ -1,33 +1,43 @@
1
- // English (United Kingdom)
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ //English (United Kingdom)
2
8
  export default {
3
- 'fabric.emoji.delete.title': 'Remove emoji',
4
- 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
5
- 'fabric.emoji.delete.label': 'Remove',
6
9
  'fabric.emoji.add.custom.emoji.label': 'Add your own emoji',
7
- 'fabric.emoji.placeholder': 'Emoji name',
8
- 'fabric.emoji.choose.file.title': 'Choose file',
9
- 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
10
- 'fabric.emoji.preview.title': 'Preview',
11
- 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
12
10
  'fabric.emoji.add.label': 'Add emoji',
13
- 'fabric.emoji.retry.label': 'Retry',
14
11
  'fabric.emoji.cancel.label': 'Cancel',
15
- 'fabric.emoji.search.label': 'Search',
16
12
  'fabric.emoji.categories.search.results': 'Search results',
13
+ 'fabric.emoji.category.activity': 'Activity',
14
+ 'fabric.emoji.category.all.uploads': 'All uploads',
15
+ 'fabric.emoji.category.flags': 'Flags',
16
+ 'fabric.emoji.category.foods': 'Food & Drink',
17
17
  'fabric.emoji.category.frequent': 'Frequent',
18
- 'fabric.emoji.category.people': 'People',
19
18
  'fabric.emoji.category.nature': 'Nature',
20
- 'fabric.emoji.category.foods': 'Food & Drink',
21
- 'fabric.emoji.category.activity': 'Activity',
22
- 'fabric.emoji.category.places': 'Travel & Places',
23
19
  'fabric.emoji.category.objects': 'Objects',
24
- 'fabric.emoji.category.symbols': 'Symbols',
25
- 'fabric.emoji.category.flags': 'Flags',
20
+ 'fabric.emoji.category.people': 'People',
21
+ 'fabric.emoji.category.places': 'Travel & Places',
26
22
  'fabric.emoji.category.productivity': 'Productivity',
23
+ 'fabric.emoji.category.symbols': 'Symbols',
27
24
  'fabric.emoji.category.user.uploads': 'Your uploads',
28
- 'fabric.emoji.category.all.uploads': 'All uploads',
25
+ 'fabric.emoji.choose.file.screenReaderDescription': 'Choose a file for the emoji. JPG, PNG or GIF. Max size 1 MB.',
26
+ 'fabric.emoji.choose.file.title': 'Choose file',
27
+ 'fabric.emoji.delete.description': 'All existing instances of this emoji will be replaced with {emojiShortName}',
28
+ 'fabric.emoji.delete.label': 'Remove',
29
+ 'fabric.emoji.delete.title': 'Remove emoji',
29
30
  'fabric.emoji.error.delete.failed': 'Remove failed',
31
+ 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB',
30
32
  'fabric.emoji.error.invalid.image': 'Selected image is invalid',
31
33
  'fabric.emoji.error.upload.failed': 'Upload failed',
32
- 'fabric.emoji.error.image.too.big': 'Selected image is more than 1 MB'
34
+ 'fabric.emoji.image.requirements': 'JPG, PNG or GIF. Max size 1 MB.',
35
+ 'fabric.emoji.name.ariaLabel': 'Enter a name for the new emoji',
36
+ 'fabric.emoji.placeholder': 'Emoji name',
37
+ 'fabric.emoji.preview': 'Your new emoji {emoji} looks great',
38
+ 'fabric.emoji.preview.title': 'Preview',
39
+ 'fabric.emoji.retry.label': 'Retry',
40
+ 'fabric.emoji.search.label': 'Search emoji',
41
+ 'fabric.emoji.search.placeholder': 'Search',
42
+ 'fabric.emoji.select.skin.tone.ariaLabel': 'Select skin tone, {selectedTone}'
33
43
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "67.0.2",
3
+ "version": "67.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,33 +1,43 @@
1
1
  declare const _default: {
2
- 'fabric.emoji.delete.title': string;
3
- 'fabric.emoji.delete.description': string;
4
- 'fabric.emoji.delete.label': string;
5
2
  'fabric.emoji.add.custom.emoji.label': string;
6
- 'fabric.emoji.placeholder': string;
7
- 'fabric.emoji.choose.file.title': string;
8
- 'fabric.emoji.image.requirements': string;
9
- 'fabric.emoji.preview.title': string;
10
- 'fabric.emoji.preview': string;
11
3
  'fabric.emoji.add.label': string;
12
- 'fabric.emoji.retry.label': string;
13
4
  'fabric.emoji.cancel.label': string;
14
- 'fabric.emoji.search.label': string;
15
5
  'fabric.emoji.categories.search.results': string;
6
+ 'fabric.emoji.category.activity': string;
7
+ 'fabric.emoji.category.all.uploads': string;
8
+ 'fabric.emoji.category.flags': string;
9
+ 'fabric.emoji.category.foods': string;
16
10
  'fabric.emoji.category.frequent': string;
17
- 'fabric.emoji.category.people': string;
18
11
  'fabric.emoji.category.nature': string;
19
- 'fabric.emoji.category.foods': string;
20
- 'fabric.emoji.category.activity': string;
21
- 'fabric.emoji.category.places': string;
22
12
  'fabric.emoji.category.objects': string;
23
- 'fabric.emoji.category.symbols': string;
24
- 'fabric.emoji.category.flags': string;
13
+ 'fabric.emoji.category.people': string;
14
+ 'fabric.emoji.category.places': string;
25
15
  'fabric.emoji.category.productivity': string;
16
+ 'fabric.emoji.category.symbols': string;
26
17
  'fabric.emoji.category.user.uploads': string;
27
- 'fabric.emoji.category.all.uploads': string;
18
+ 'fabric.emoji.choose.file.screenReaderDescription': string;
19
+ 'fabric.emoji.choose.file.title': string;
20
+ 'fabric.emoji.delete.description': string;
21
+ 'fabric.emoji.delete.label': string;
22
+ 'fabric.emoji.delete.title': string;
28
23
  'fabric.emoji.error.delete.failed': string;
24
+ 'fabric.emoji.error.image.too.big': string;
29
25
  'fabric.emoji.error.invalid.image': string;
30
26
  'fabric.emoji.error.upload.failed': string;
31
- 'fabric.emoji.error.image.too.big': string;
27
+ 'fabric.emoji.image.requirements': string;
28
+ 'fabric.emoji.name.ariaLabel': string;
29
+ 'fabric.emoji.placeholder': string;
30
+ 'fabric.emoji.preview': string;
31
+ 'fabric.emoji.preview.title': string;
32
+ 'fabric.emoji.retry.label': string;
33
+ 'fabric.emoji.search.label': string;
34
+ 'fabric.emoji.search.placeholder': string;
35
+ 'fabric.emoji.select.skin.tone.ariaLabel': string;
32
36
  };
37
+ /**
38
+ * NOTE:
39
+ *
40
+ * This file is automatically generated by Traduki 2.0.
41
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
42
+ */
33
43
  export default _default;
@@ -1,33 +1,43 @@
1
1
  declare const _default: {
2
- 'fabric.emoji.delete.title': string;
3
- 'fabric.emoji.delete.description': string;
4
- 'fabric.emoji.delete.label': string;
5
2
  'fabric.emoji.add.custom.emoji.label': string;
6
- 'fabric.emoji.placeholder': string;
7
- 'fabric.emoji.choose.file.title': string;
8
- 'fabric.emoji.image.requirements': string;
9
- 'fabric.emoji.preview.title': string;
10
- 'fabric.emoji.preview': string;
11
3
  'fabric.emoji.add.label': string;
12
- 'fabric.emoji.retry.label': string;
13
4
  'fabric.emoji.cancel.label': string;
14
- 'fabric.emoji.search.label': string;
15
5
  'fabric.emoji.categories.search.results': string;
6
+ 'fabric.emoji.category.activity': string;
7
+ 'fabric.emoji.category.all.uploads': string;
8
+ 'fabric.emoji.category.flags': string;
9
+ 'fabric.emoji.category.foods': string;
16
10
  'fabric.emoji.category.frequent': string;
17
- 'fabric.emoji.category.people': string;
18
11
  'fabric.emoji.category.nature': string;
19
- 'fabric.emoji.category.foods': string;
20
- 'fabric.emoji.category.activity': string;
21
- 'fabric.emoji.category.places': string;
22
12
  'fabric.emoji.category.objects': string;
23
- 'fabric.emoji.category.symbols': string;
24
- 'fabric.emoji.category.flags': string;
13
+ 'fabric.emoji.category.people': string;
14
+ 'fabric.emoji.category.places': string;
25
15
  'fabric.emoji.category.productivity': string;
16
+ 'fabric.emoji.category.symbols': string;
26
17
  'fabric.emoji.category.user.uploads': string;
27
- 'fabric.emoji.category.all.uploads': string;
18
+ 'fabric.emoji.choose.file.screenReaderDescription': string;
19
+ 'fabric.emoji.choose.file.title': string;
20
+ 'fabric.emoji.delete.description': string;
21
+ 'fabric.emoji.delete.label': string;
22
+ 'fabric.emoji.delete.title': string;
28
23
  'fabric.emoji.error.delete.failed': string;
24
+ 'fabric.emoji.error.image.too.big': string;
29
25
  'fabric.emoji.error.invalid.image': string;
30
26
  'fabric.emoji.error.upload.failed': string;
31
- 'fabric.emoji.error.image.too.big': string;
27
+ 'fabric.emoji.image.requirements': string;
28
+ 'fabric.emoji.name.ariaLabel': string;
29
+ 'fabric.emoji.placeholder': string;
30
+ 'fabric.emoji.preview': string;
31
+ 'fabric.emoji.preview.title': string;
32
+ 'fabric.emoji.retry.label': string;
33
+ 'fabric.emoji.search.label': string;
34
+ 'fabric.emoji.search.placeholder': string;
35
+ 'fabric.emoji.select.skin.tone.ariaLabel': string;
32
36
  };
37
+ /**
38
+ * NOTE:
39
+ *
40
+ * This file is automatically generated by Traduki 2.0.
41
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
42
+ */
33
43
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "67.0.2",
3
+ "version": "67.0.3",
4
4
  "description": "Fabric emoji React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@emotion/react": "^11.7.1",
42
42
  "@tanstack/react-virtual": "3.0.0-beta.22",
43
43
  "js-search": "^2.0.0",
44
- "lru-fast": "^0.2.2",
44
+ "lru_map": "^0.4.1",
45
45
  "react-intersection-observer": "^8.26.2",
46
46
  "react-loadable": "^5.1.0",
47
47
  "uuid": "^3.1.0"