emoji-picker-react 4.0.7 → 4.0.8

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.0.7",
2
+ "version": "4.0.8",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  import { DataEmoji } from '../dataUtils/DataTypes';
2
2
  import {
3
3
  emojiByUnified,
4
- unifiedWithoutSkinTone
4
+ unifiedWithoutSkinTone,
5
5
  } from '../dataUtils/emojiSelectors';
6
6
 
7
7
  import { asSelectors, ClassNames } from './classNames';
@@ -13,7 +13,7 @@ export const EmojiButtonSelector = `button${asSelectors(ClassNames.emoji)}`;
13
13
  export const VisibleEmojiSelector = [
14
14
  EmojiButtonSelector,
15
15
  asSelectors(ClassNames.visible),
16
- `:not(${asSelectors(ClassNames.hidden)})`
16
+ `:not(${asSelectors(ClassNames.hidden)})`,
17
17
  ].join('');
18
18
 
19
19
  export function buttonFromTarget(
@@ -116,7 +116,7 @@ export function queryScrollBody(root: NullableElement): NullableElement {
116
116
  return root
117
117
  ? root.matches(asSelectors(ClassNames.scrollBody))
118
118
  ? root
119
- : root.querySelector(ClassNames.scrollBody)
119
+ : root.querySelector(asSelectors(ClassNames.scrollBody))
120
120
  : null;
121
121
  }
122
122