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