Commit Graph

35 Commits (main)

Author SHA1 Message Date
Thomas Piard cdb74f28c7 Bump emoji-datasource to 5.*, remove emojione and messenger support 2020-03-16 09:09:22 -04:00
Etienne Lemay 2e97b1faa6
Restructure data and components 2018-04-29 21:06:32 -04:00
Etienne Lemay 0f37b428f6
Rename data.short_names => data.aliases 2018-04-26 16:31:16 -04:00
Etienne Lemay 253ef4de89
💄 Prettier 2018-04-26 16:07:22 -04:00
Etienne Lemay c70568c392 Revert "Merge pull request #99 from chadoh/countries-search"
Countries name now properly handled in emoji-data

This reverts commit 2becc5a4ae, reversing
changes made to c21e1402b6.
2017-12-15 15:51:25 -05:00
Etienne Lemay fdf3c2d3a3 Fix getting category names from i18n
Since the Category names update in emoji-data (4.0.0)
2017-12-08 12:45:31 -05:00
Vierkantor 66f9776583 Update category names
The new emoji data for Unicode 10.0 has changed the category names. Both
the script to build the data.js file and the SVG icons in the picker
have to be updated to reflect that.
2017-12-06 15:51:35 +00:00
Nolan Lawson 26017eba75 Fix tests 2017-10-06 09:25:03 -07:00
Nolan Lawson fdc91d0733 Build as ES module as well as CommonJS 2017-10-01 08:05:18 -07:00
Etienne Lemay 88cde669e6 Exclude flag-un from data
I have yet to find a browser that supports it
2017-09-29 19:35:21 -04:00
Etienne Lemay e8dc29bfaa Move data in src
So that it’s then compiled into dist
2017-09-28 20:03:23 -04:00
Andrey Sitnik 8cd4199555 Compress data 2017-09-11 18:37:25 +10:00
Chad Ostrowski a927821c9b Country names: correctly uppercase names like 'EU'
Always perform the capitalization-correction for country names. If we
did this naïvely, using the same regex as before, it would change things
like "Falkland Islands" to "Falkland ISLANDS". The new regex checks on
word boundary, `\b`, instead of space, `\s`, which means even single
words like `Eu` are found. It then checks for exactly two letters, where
the first is uppercase and the second lowercase.

Here's exactly what it affects:

* All "Regional Indicator Symbol Letters AC"-type names that don't
have data in emojiLib
* There are some flags in emojiLib for which it uses two-character
abbreviations instead of full country names (see muan/emojilib#131).
These countries are: CN, EU, FR, DE, IT, JP, RU, KR, ES, TR, UK, US
This new regex corrects these from Cn, Eu, Fr, etc.
2017-08-06 14:05:01 -04:00
Chad Ostrowski 22adc985b8 Country flag names: use name from emojiLib
* Always match on emoji character
* For flag emojis where emojiLib data is found, use emojiLib name
2017-08-06 14:02:14 -04:00
Christian Savard feb89bb36f Text representation of emoji is different from emoticon 2017-05-31 15:17:20 -04:00
Jakob Krigovsky d9c0139d73 Split out generation of search property 2017-05-24 18:34:10 +02:00
Etienne Lemay 4926b7bd43 💄 2017-04-04 12:00:32 -04:00
Etienne Lemay 2de83100a0 Delete empty arrays from data file 2017-03-10 12:11:05 -05:00
Etienne Lemay dbf22073c8 Don’t include keywords in data file
These are only used to generate the search string, the library doesn’t need it.
2017-03-10 11:51:58 -05:00
Oleg Vaskevich 0bfd3b3e52 Strip quotes around keys 2017-03-02 10:55:01 -08:00
Etienne Lemay f5ae64d07c Use variations at runtime instead of overriding data
Fixes a bug for emojis having both variations and skin variations
2017-02-17 12:50:20 -05:00
Etienne Lemay 489641bda6 Prefer first variation over default unified value 2017-02-17 12:22:01 -05:00
Marco Munizaga 38049bba9f Don't use a github commit for emoji-datasource 2016-11-30 15:16:47 -08:00
Etienne Lemay 2aece93395 Support all short_names when getting emoji data [Fix #15] 2016-10-13 16:19:46 -04:00
Etienne Lemay 9feee08e06 Update emojis search string 2016-07-26 14:50:55 -04:00
Etienne Lemay ee73a5d898 Add search string to emojis data 2016-07-22 12:46:43 -04:00
Etienne Lemay 8da2aa3744 Remove unused fields from data 2016-07-22 12:23:47 -04:00
Etienne Lemay 18e0f2039e Add keywords to emojis data 2016-07-21 16:06:13 -04:00
Etienne Lemay 49ec3b9efe Normalize emoticons when building data 2016-07-07 17:22:40 -04:00
Etienne Lemay 0befb30dc8 [cleanup] 2016-07-07 14:33:53 -04:00
Etienne Lemay 29b5985f80 Sort Flags by name 2016-07-07 14:33:53 -04:00
Etienne Lemay b192563535 Update Flags name with uppercase letters 2016-07-07 14:33:53 -04:00
Etienne Lemay ba2f76b24f Update emoji-data 2016-07-06 10:57:55 -04:00
Etienne Lemay 2820e80fc0 Don’t include skins in default categories 2016-06-01 10:09:14 -04:00
Etienne Lemay e108b00768 Initial commit 2016-06-01 10:07:23 -04:00