Popular open source emoji libraries available as svg sprites
.json
files to the exports. This fixes the webpack issue raised in #12.Emoji 13.1
which adds new emoji's to the library..svg
and .json
files with latest version of SVGO.github
, slack
and discord
short codes.openmoji
.@svgmoji/core
a direct dependency for all icon packages.popularEmoji
to the BaseMoji
abstract class. Now when the provided query is absent in Moji#search
the popularEmoji
are returned. This can also be set in the constructor with an array of unicode / hexcode representations of the emoji. The default values are taken from the top 100 frequently used emoji as listed here.maxResults
to Moji#search
options. The default value is 20
.d91dfe0e: Remove svg
assets from npm distribution. This will reduce install times. The default cdn will also be moved to GitHub.
The exception is with the noto
package which still includes the /sprites/all.svg
asset since it is greater than 20MB and not supported via via the JSDeliver GitHub CDN.
*_REGEXP
exports. Use emojibase-regex
as an alternative. This also shaves 300 B from the total build size.url
method of Moji
. This can lead to a performance boost in some cases.Moji#find
method. Now the second time a search is made for the same code, it will be retrieved from the cache.b549183a: This update contains breaking the following breaking changes.
getUrl
method on Moji
abstract class to url
.fallback
as a FlatEmoji
rather than the provided string.The remaining changes are non-breaking.
fallbackUrl
property to Moji
abstract class.find
method to Moji
to allow searching for emoji by unicode
, hexcode
or emoticon
.search
method which allows fuzzy searching the emoji. The search algorithm is provided the
library match-sorter
and may be adapted in
future releases.ca58f626: - Upgrade sha for @svgmoji/openmoji
to include recently added emoji.
@svgmoji/noto
and @svgmoji/blob
.@svgmoji/noto
and @svgmoji/blob
.missing.json
and extra.json
.
missing.json
is a list of hexcodes from Emoji version 13 which are missing from the emoji
set.extra.json
outlines all the non-standard emoji within this emoji set.other
which includes the set of all emoji without a group
/ subgroup.67a34b4f: - Make @svgmoji/core
a peer dependency.
name
to a const
for Blobmoji
, Notomoji
, Twemoji
and Openmoji
svgmoji
project packages. Improvements will be added as it is used within the remirror
codebase.