Breaking changes
emojiIndex
search
now takes an object of options as the second param:
Before:(value, emojisToShowFilter = () => true, maxResults = 75)
After:(value, { emojisToShowFilter, maxResults, include, exclude } = {})
New
Picker
- Added
include
andexclude
props. When defined,include
will also determine the categories order exceptrecent
, which is always first. Excluded (or not included) categories will be filtered out from the search results.
Examples:include: ['recent', 'flags', 'people']
,exclude: ['recent']
. - Added
autoFocus
props. - Added
notfound
to i18n.
Default: No Emoji Found.
Enhancement
- Removed a few loops and function calls introduced in v0.4.4 when not necessary. [4a9497d, 6a3b05d]
- Removed hover state on “No Emoji Found” emoji
- Updated the “No Emoji Found” layout