emoji-picker-react 4.19.4 → 4.20.0

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.
@@ -28917,7 +28917,12 @@ var styles$1 = /*#__PURE__*/stylesheet.create({
28917
28917
  '.': 'epr-btn',
28918
28918
  cursor: 'pointer',
28919
28919
  border: '0',
28920
- background: 'none',
28920
+ // Longhand, not `background: 'none'`: a shorthand reset shares its
28921
+ // conflict keys with every background longhand, so cx() would drop
28922
+ // this whole class wherever a later class sets background-image
28923
+ // (e.g. the category nav sprite) and the native button face would
28924
+ // show through.
28925
+ backgroundColor: 'transparent',
28921
28926
  outline: 'none'
28922
28927
  }
28923
28928
  });
@@ -29047,7 +29052,11 @@ function NativeEmoji(_ref) {
29047
29052
  style = _ref.style,
29048
29053
  className = _ref.className;
29049
29054
  return createElement("span", {
29050
- className: cx(styles$4.nativeEmoji, emojiStyles.common, emojiStyles.external, className),
29055
+ className: cx(
29056
+ // Order matters: cx() lets the later class win same-property
29057
+ // conflicts, so the zeroing reset must come first and the real
29058
+ // font-size last — otherwise the emoji renders at 0px.
29059
+ emojiStyles.external, emojiStyles.common, styles$4.nativeEmoji, className),
29051
29060
  "data-unified": unified,
29052
29061
  style: style
29053
29062
  }, parseNativeEmoji(unified));