emoji-picker-react 4.4.10 → 4.4.12

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.
@@ -16812,6 +16812,8 @@ function getBaseConfigByCategory(category, modifier) {
16812
16812
  return Object.assign(configByCategory[category], modifier);
16813
16813
  }
16814
16814
 
16815
+ var KNOWN_FAILING_EMOJIS = ['2640-fe0f', '2642-fe0f', '2695-fe0f'];
16816
+ var DEFAULT_SEARCH_PLACEHOLDER = 'Search';
16815
16817
  function mergeConfig(userConfig) {
16816
16818
  var _userConfig$previewCo;
16817
16819
 
@@ -16849,13 +16851,14 @@ function basePickerConfig() {
16849
16851
  event) {},
16850
16852
  previewConfig: _extends({}, basePreviewConfig),
16851
16853
  searchDisabled: false,
16852
- searchPlaceHolder: 'Search',
16854
+ searchPlaceHolder: DEFAULT_SEARCH_PLACEHOLDER,
16855
+ searchPlaceholder: DEFAULT_SEARCH_PLACEHOLDER,
16853
16856
  skinTonePickerLocation: SkinTonePickerLocation.SEARCH,
16854
16857
  skinTonesDisabled: false,
16855
16858
  suggestedEmojisMode: SuggestionMode.FREQUENT,
16856
16859
  theme: Theme.LIGHT,
16857
- width: 350,
16858
- unicodeToHide: new Set()
16860
+ unicodeToHide: new Set(KNOWN_FAILING_EMOJIS),
16861
+ width: 350
16859
16862
  };
16860
16863
  }
16861
16864
  var basePreviewConfig = {
@@ -16879,10 +16882,15 @@ function usePickerConfig() {
16879
16882
  }
16880
16883
 
16881
16884
  function useSearchPlaceHolderConfig() {
16885
+ var _find;
16886
+
16882
16887
  var _usePickerConfig = usePickerConfig(),
16883
- searchPlaceHolder = _usePickerConfig.searchPlaceHolder;
16888
+ searchPlaceHolder = _usePickerConfig.searchPlaceHolder,
16889
+ searchPlaceholder = _usePickerConfig.searchPlaceholder;
16884
16890
 
16885
- return searchPlaceHolder;
16891
+ return (_find = [searchPlaceHolder, searchPlaceholder].find(function (p) {
16892
+ return p !== DEFAULT_SEARCH_PLACEHOLDER;
16893
+ })) != null ? _find : DEFAULT_SEARCH_PLACEHOLDER;
16886
16894
  }
16887
16895
  function useDefaultSkinToneConfig() {
16888
16896
  var _usePickerConfig2 = usePickerConfig(),