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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.7.0",
2
+ "version": "4.7.16-rc.0",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -11,8 +11,6 @@ export function BtnPlus() {
11
11
  const [, setReactionsMode] = useReactionsModeState();
12
12
  return (
13
13
  <Button
14
- aria-label="Show all Emojis"
15
- title="Show all Emojis"
16
14
  tabIndex={0}
17
15
  className={cx(styles.plusSign)}
18
16
  onClick={() => setReactionsMode(false)}
@@ -48,8 +48,6 @@ function PickerRootElement({ children }: RootProps) {
48
48
  useKeyboardNavigation();
49
49
  useOnFocus();
50
50
 
51
- const { width, height, ...styleProps } = style || {};
52
-
53
51
  return (
54
52
  <aside
55
53
  className={cx(
@@ -64,10 +62,7 @@ function PickerRootElement({ children }: RootProps) {
64
62
  className
65
63
  )}
66
64
  ref={PickerMainRef}
67
- style={{
68
- ...styleProps,
69
- ...(!reactionsMode && { height, width })
70
- }}
65
+ style={reactionsMode ? undefined : style}
71
66
  >
72
67
  {children}
73
68
  </aside>