emoji-picker-react 4.5.11 → 4.5.13
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/dist/emoji-picker-react.cjs.development.js +2 -5
- package/dist/emoji-picker-react.cjs.development.js.map +1 -1
- package/dist/emoji-picker-react.cjs.production.min.js +1 -1
- package/dist/emoji-picker-react.cjs.production.min.js.map +1 -1
- package/dist/emoji-picker-react.esm.js +2 -5
- package/dist/emoji-picker-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/dataUtils/emojiSelectors.ts +3 -4
|
@@ -16846,12 +16846,10 @@ function emojiByUnified(unified) {
|
|
|
16846
16846
|
}
|
|
16847
16847
|
var allEmojis = /*#__PURE__*/Object.values(emojis).flat();
|
|
16848
16848
|
function setCustomEmojis(customEmojis) {
|
|
16849
|
-
|
|
16850
|
-
emojis[Categories.CUSTOM].length = 0;
|
|
16851
|
-
}
|
|
16852
|
-
|
|
16849
|
+
emojis[Categories.CUSTOM].length = 0;
|
|
16853
16850
|
customEmojis.forEach(function (emoji) {
|
|
16854
16851
|
var emojiData = customToRegularEmoji(emoji);
|
|
16852
|
+
emojis[Categories.CUSTOM].push(emojiData);
|
|
16855
16853
|
|
|
16856
16854
|
if (allEmojisByUnified[emojiData[EmojiProperties.unified]]) {
|
|
16857
16855
|
return;
|
|
@@ -16859,7 +16857,6 @@ function setCustomEmojis(customEmojis) {
|
|
|
16859
16857
|
|
|
16860
16858
|
allEmojis.push(emojiData);
|
|
16861
16859
|
allEmojisByUnified[emojiData[EmojiProperties.unified]] = emojiData;
|
|
16862
|
-
emojis[Categories.CUSTOM].push(emojiData);
|
|
16863
16860
|
indexEmoji(emojiData);
|
|
16864
16861
|
});
|
|
16865
16862
|
}
|