emoji-picker-react 4.4.0 → 4.4.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.
@@ -235,12 +235,10 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
235
235
  Categories["FLAGS"] = "flags";
236
236
  })(exports.Categories || (exports.Categories = {}));
237
237
 
238
- var SkinTonePickerLocation;
239
-
240
238
  (function (SkinTonePickerLocation) {
241
239
  SkinTonePickerLocation["SEARCH"] = "SEARCH";
242
240
  SkinTonePickerLocation["PREVIEW"] = "PREVIEW";
243
- })(SkinTonePickerLocation || (SkinTonePickerLocation = {}));
241
+ })(exports.SkinTonePickerLocation || (exports.SkinTonePickerLocation = {}));
244
242
 
245
243
  var CDN_URL_APPLE = 'https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/';
246
244
  var CDN_URL_FACEBOOK = 'https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/';
@@ -16787,7 +16785,7 @@ function mergeConfig(userConfig) {
16787
16785
  var categories = mergeCategoriesConfig(userConfig.categories, {
16788
16786
  suggestionMode: config.suggestedEmojisMode
16789
16787
  });
16790
- var skinTonePickerLocation = config.searchDisabled ? SkinTonePickerLocation.PREVIEW : config.skinTonePickerLocation;
16788
+ var skinTonePickerLocation = config.searchDisabled ? exports.SkinTonePickerLocation.PREVIEW : config.skinTonePickerLocation;
16791
16789
  return _extends({}, config, {
16792
16790
  categories: categories,
16793
16791
  previewConfig: previewConfig,
@@ -16812,7 +16810,7 @@ function basePickerConfig() {
16812
16810
  previewConfig: _extends({}, basePreviewConfig),
16813
16811
  searchDisabled: false,
16814
16812
  searchPlaceHolder: 'Search',
16815
- skinTonePickerLocation: SkinTonePickerLocation.SEARCH,
16813
+ skinTonePickerLocation: exports.SkinTonePickerLocation.SEARCH,
16816
16814
  skinTonesDisabled: false,
16817
16815
  suggestedEmojisMode: exports.SuggestionMode.FREQUENT,
16818
16816
  theme: exports.Theme.LIGHT,
@@ -18652,11 +18650,11 @@ function useEmojiPreviewEvents(allow, setPreviewEmoji) {
18652
18650
 
18653
18651
  function useIsSkinToneInSearch() {
18654
18652
  var skinTonePickerLocationConfig = useSkinTonePickerLocationConfig();
18655
- return skinTonePickerLocationConfig === SkinTonePickerLocation.SEARCH;
18653
+ return skinTonePickerLocationConfig === exports.SkinTonePickerLocation.SEARCH;
18656
18654
  }
18657
18655
  function useIsSkinToneInPreview() {
18658
18656
  var skinTonePickerLocationConfig = useSkinTonePickerLocationConfig();
18659
- return skinTonePickerLocationConfig === SkinTonePickerLocation.PREVIEW;
18657
+ return skinTonePickerLocationConfig === exports.SkinTonePickerLocation.PREVIEW;
18660
18658
  }
18661
18659
 
18662
18660
  var FlexDirection;