yarn emoji-mart 0.5.0

latest releases: 5.5.2, 5.5.1, 5.5.0...
7 years ago

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

v0.4.4...v0.5.0

Don't miss a new emoji-mart release

NewReleases is sending notifications on new releases.