emoji-picker-react 4.4.7 → 4.4.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/README.md +9 -0
- package/dist/emoji-picker-react.cjs.development.js +3 -1
- 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 +3 -1
- package/dist/emoji-picker-react.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/body/EmojiList.tsx +4 -1
- package/src/dataUtils/emojiSelectors.ts +1 -1
package/README.md
CHANGED
|
@@ -28,6 +28,15 @@ function App() {
|
|
|
28
28
|
}
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
## Shout Outs!
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
| Component Design 🎨 |
|
|
35
|
+
|:-:|
|
|
36
|
+
| <a href="https://pavelbolo.com" target="_blank"></a> |
|
|
37
|
+
| <a href="https://pavelbolo.com" target="_blank">Pavel Bolo</a> |
|
|
38
|
+
|
|
39
|
+
|
|
31
40
|
## Features
|
|
32
41
|
|
|
33
42
|
- Custom click handler
|
|
@@ -18283,7 +18283,8 @@ function RenderCategory(_ref) {
|
|
|
18283
18283
|
activeSkinTone = _useActiveSkinToneSta[0];
|
|
18284
18284
|
|
|
18285
18285
|
var isEmojiDisallowed = useIsEmojiDisallowed();
|
|
18286
|
-
var getEmojiUrl = useGetEmojiUrlConfig();
|
|
18286
|
+
var getEmojiUrl = useGetEmojiUrlConfig();
|
|
18287
|
+
var showVariations = !useSkinTonesDisabledConfig(); // Small trick to defer the rendering of all emoji categories until the first category is visible
|
|
18287
18288
|
// This way the user gets to actually see something and not wait for the whole picker to render.
|
|
18288
18289
|
|
|
18289
18290
|
var emojisToPush = !isPastInitialLoad && index > 1 ? [] : emojisByCategory(category);
|
|
@@ -18307,6 +18308,7 @@ function RenderCategory(_ref) {
|
|
|
18307
18308
|
}
|
|
18308
18309
|
|
|
18309
18310
|
return React.createElement(ClickableEmoji, {
|
|
18311
|
+
showVariations: showVariations,
|
|
18310
18312
|
key: unified,
|
|
18311
18313
|
emoji: emoji,
|
|
18312
18314
|
unified: unified,
|