yarn emoji-mart 0.5.0

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 and exclude props. When defined, include will also determine the categories order except recent, 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

Commits

https://github.com/missive/emoji-mart/compare/v0.4.4...v0.5.0

latest releases: 3.0.1, 3.0.0, 2.11.2...
4 years ago