emoji-picker-react 4.7.0 → 4.7.16-rc.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 +1 -11
- 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 +1 -11
- package/dist/emoji-picker-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Reactions/BtnPlus.tsx +0 -2
- package/src/components/main/PickerMain.tsx +1 -6
|
@@ -18051,8 +18051,6 @@ function BtnPlus() {
|
|
|
18051
18051
|
var _useReactionsModeStat = useReactionsModeState(),
|
|
18052
18052
|
setReactionsMode = _useReactionsModeStat[1];
|
|
18053
18053
|
return React.createElement(Button, {
|
|
18054
|
-
"aria-label": "Show all Emojis",
|
|
18055
|
-
title: "Show all Emojis",
|
|
18056
18054
|
tabIndex: 0,
|
|
18057
18055
|
className: flairup.cx(styles$4.plusSign),
|
|
18058
18056
|
onClick: function onClick() {
|
|
@@ -20214,7 +20212,6 @@ function useOnFocus() {
|
|
|
20214
20212
|
}, [BodyRef, emojiStyle, getEmojiUrl]);
|
|
20215
20213
|
}
|
|
20216
20214
|
|
|
20217
|
-
var _excluded$1 = ["width", "height"];
|
|
20218
20215
|
function PickerMain(_ref) {
|
|
20219
20216
|
var children = _ref.children;
|
|
20220
20217
|
return React.createElement(PickerContextProvider, null, React.createElement(PickerStyleTag, null), React.createElement(PickerRootElement, null, children));
|
|
@@ -20231,17 +20228,10 @@ function PickerRootElement(_ref2) {
|
|
|
20231
20228
|
var style = useStyleConfig();
|
|
20232
20229
|
useKeyboardNavigation();
|
|
20233
20230
|
useOnFocus();
|
|
20234
|
-
var _ref3 = style || {},
|
|
20235
|
-
width = _ref3.width,
|
|
20236
|
-
height = _ref3.height,
|
|
20237
|
-
styleProps = _objectWithoutPropertiesLoose(_ref3, _excluded$1);
|
|
20238
20231
|
return React.createElement("aside", {
|
|
20239
20232
|
className: flairup.cx(styles$j.main, styles$j.baseVariables, theme === exports.Theme.DARK && styles$j.darkTheme, theme === exports.Theme.AUTO && styles$j.autoThemeDark, (_cx = {}, _cx[ClassNames.searchActive] = searchModeActive, _cx), reactionsMode && styles$j.reactionsMenu, className),
|
|
20240
20233
|
ref: PickerMainRef,
|
|
20241
|
-
style:
|
|
20242
|
-
height: height,
|
|
20243
|
-
width: width
|
|
20244
|
-
})
|
|
20234
|
+
style: reactionsMode ? undefined : style
|
|
20245
20235
|
}, children);
|
|
20246
20236
|
}
|
|
20247
20237
|
var DarkTheme = {
|