Commit Graph

31 Commits (c113dc5e3b934e0b867fdd568d7137d5f041cf46)

Author SHA1 Message Date
Etienne Lemay c113dc5e3b
💄 Add prettier.config.js 2018-03-27 14:52:31 -04:00
Etienne Lemay 9fda2d9803 Early return `measureScrollbar` when document isn’t defined [Fix #136] 2017-11-07 19:02:32 -08:00
Eugen Rochko 8df1c418d3 Filter invalid emojis from recent category 2017-10-09 20:23:28 +02:00
Etienne Lemay 3021758115 Prettier 💄 2017-10-07 00:02:29 -04:00
Etienne Lemay 45215092e5 Fix headless search with custom emojis [Fix #118] 2017-09-30 10:37:13 -04:00
Etienne Lemay 620576d5a2 Use measure-scrollbar locally instead of a dependency
So that Babel doesn’t become a dependency just for that (lib is using export).
Giving credit to original author.
2017-09-28 20:04:24 -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
Igor Lobanov 4dc05ef8da Size reduced from 87.35 KB to 79.43 KB 2017-09-17 12:06:42 +03:00
Etienne Lemay 1b77cb8244 Merge branch 'master' into custom-emojis 2017-05-27 11:26:59 -04:00
Etienne Lemay b2d9311c87 Fix getting `skin_variations` data 2017-05-27 10:54:34 -04:00
Jakob Krigovsky 346e398d6e Guard sanitize() against undefined `short_names`
This is important when hovering over a custom emoji while searching.
2017-05-26 12:34:07 +02:00
Jakob Krigovsky a28f04326a Add support for custom emojis to sanitize() 2017-05-26 12:06:28 +02:00
Jakob Krigovsky 15c7b27ba9 Add support for custom emojis to getData() 2017-05-24 18:37:16 +02:00
Etienne Lemay 83b1c02897 Include unified in sanitized data [Close #51] 2017-03-17 09:02:53 -04:00
Etienne Lemay 2de83100a0 Delete empty arrays from data file 2017-03-10 12:11:05 -05: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
Christian Savard 0db181e301 Fix issue with operator in skin tone logic 2016-12-12 21:33:06 -05:00
Etienne Lemay f3c1e94213 Export `unifiedToNative` utils 2016-11-01 11:51:55 -04:00
Etienne Lemay c4604741d9 Support :colons: syntax
i.e. 👍, 👍:skin-tone-3:
2016-11-01 11:51:19 -04:00
Etienne Lemay 4bc68419b2 Add i18n prop to Picker [Close #20] 2016-10-26 23:23:49 -04:00
Etienne Lemay 4f2b204c0e Remove “sheetURL” props & add “set” props
- Use sheets from emoji-data repo (from a CDN)
- Easier to setup/use
- Remove sheets from the repo
2016-10-18 21:21:56 -04:00
Etienne Lemay 35a992118a Use hasOwnProperty to detect if emoji exists
Fixes a bug in Firefox where “watch” emoji would throw because apparently `_emojiData = data.emojis['watch']` returns a function instead of the value of the watch key
2016-10-18 19:00:51 -04:00
Etienne Lemay 2aece93395 Support all short_names when getting emoji data [Fix #15] 2016-10-13 16:19:46 -04:00
Etienne Lemay 8f64b3c7d1 Handle unknown emojis [Fix #14] 2016-10-12 20:26:10 -04:00
Etienne Lemay 7e9835dd80 utils#intersect 2016-07-22 16:04:30 -04:00
Etienne Lemay 0ebd5c4a5e Fix circular dependencies 2016-07-20 14:50:44 -04:00
Etienne Lemay 1f5c8dd885 Don’t fallback to `skin: 1` for emojis without skin variations 2016-07-20 14:50:44 -04:00
Etienne Lemay a51626ae79 Move some reusable logic into utils 2016-07-20 14:50:44 -04:00
Etienne Lemay 5ebf4464ea Move search index logic out of search component 2016-07-11 11:28:44 -04:00
Etienne Lemay a922dbb8c5 Add frequently utils
Store and returns frequently used emojis.
If not already in the frequently used, last used emoji will always be added to the array.
2016-07-07 14:33:53 -04:00
Etienne Lemay 8a022b69fa Add store utils 2016-07-07 14:33:53 -04:00