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