Commit Graph

103 Commits (c6b36947d341b78555c327f94af718989a553927)

Author SHA1 Message Date
Etienne Lemay 2c060c56bc
Rename “skinIcon” => “skinEmoji”
More consistent with other props
2018-08-10 14:11:28 -04:00
Etienne Lemay 757f1b023c
Merge branch 'master' into rena/customskin 2018-08-10 14:06:41 -04:00
Justine De Caires 385cb8f8c2 Add sheetColumns and sheetRows props for non-square sprite sheets 2018-08-06 14:31:02 -07:00
Rena Ryumae f1d5bc0095 Custom emoji for skin tone selector
Currently, the skin tone selector
is a row of colored dots

We propose creating a skinIcon field
that uses the emoji-mart dots on
default but otherwise uses the emoji
passed in by the user
2018-08-02 10:42:46 -04:00
Etienne Lemay 58ceb30d3d
Use ES6 export everywhere in /src 2018-07-31 15:29:11 -04:00
Etienne Lemay 0021d6ff38
Merge branch 'master' into rena/categoryiconprops 2018-07-31 15:01:34 -04:00
Rena Ryumae 31cc0ab215 Customizable Category Icons
Currently, the default emoji-mart
category icons cannot be changed.

We propose creating a categories
object that uses the emoji-mart
category icons on default but
otherwise uses custom imgs/svgs
passed in by the user
2018-07-31 11:09:38 -04:00
Etienne Lemay 4bb41b9796
Add notFoundEmoji props to Picker 2018-07-30 17:06:23 -04:00
Rena Ryumae 8e6d363d8b Not Found Component for emoji search
If a user's search returns no results,
the sleuth_or_spy emoji appears. We would
instead like for a custom image to appear.

We propose creating a NotFound component
that uses the the sleuth_or_spy emoji
on default when a user's search returns
no results but otherwise uses what the
user passes through
2018-07-13 13:58:17 -04:00
Etienne Lemay f9d47e9b13
Merge pull request #183 from savardc/missing-on-select-prop
Add missing onSelect to shared props
2018-05-08 08:25:25 -04:00
Christian Savard 8df31b1c42 Fix typo 2018-05-03 12:40:14 -04:00
Christian Savard 0fff524ed7 Add missing proptype and default value 2018-04-30 10:41:31 -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 446fdf9544
Export NimbleEmojiIndex 2018-04-26 15:34:03 -04:00
Etienne Lemay 8660a146e2
💄 Prettier 2018-04-26 10:36:54 -04:00
Dave Cilley 892096ea27 Add data property to any components that import data.js, and use that under the hood 2018-03-28 17:30:47 -04:00
Etienne Lemay c113dc5e3b
💄 Add prettier.config.js 2018-03-27 14:52:31 -04:00
vcervellera bf8ffe5413 Clearing custom emojis from index and pool when necessary 2018-03-12 13:35:38 -04:00
Etienne Lemay 68a4711658 💄 2018-01-09 15:20:18 -05:00
Christian Savard b644e3d2d3 Use pool to lookup emoji data 2017-12-20 11:33:15 -05:00
Etienne Lemay e78609b5c0 💄 2017-12-15 15:31:49 -05:00
Etienne Lemay 453f723d5e Fix include / exclude [Fix #149]
Since fdf3c2d
2017-12-15 15:09:46 -05:00
Etienne Lemay 56be88ed41 Move spec out of src 2017-11-08 22:41:57 -08:00
Etienne Lemay 810c472917 Provide more data to `emojisToShowFilter` in search [Fix #141] 2017-11-08 09:48:35 -08:00
Etienne Lemay 9cd6494c39 Handle using custom storage instead of localStorage 2017-11-07 19:02:32 -08: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 57cc2ea4a5 Intersect search results [Fix #131] 2017-10-06 17:23:04 -04:00
Etienne Lemay b0e1d44d6e Fix spec syntax error 2017-10-06 17:22:57 -04:00
Nolan Lawson 9b6ddf0c9c Add test for thinking_face/woman-facepalming 2017-10-06 17:19:01 -04:00
Nolan Lawson fdc91d0733 Build as ES module as well as CommonJS 2017-10-01 08:05:18 -07: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
Andrey Sitnik a3ec9493d7 Reduce size by removeing unnecessary util module 2017-09-11 14:38:37 +10:00
Etienne Lemay 4d57436bbe Fix search with include/exclude [Fix #89] 2017-06-27 17:05:05 -04:00
Jakob Krigovsky 435250f319 Avoid Array.prototype.fill() 2017-06-23 11:47:21 +02:00
Etienne Lemay 1b77cb8244 Merge branch 'master' into custom-emojis 2017-05-27 11:26:59 -04:00
Etienne Lemay 81ccfbca03 Reset search index when changing include/exclude 2017-05-27 11:16:54 -04:00
Etienne Lemay b00572dfaf Fix search results for “-” not returning “-1” since 996c46cd 2017-05-27 11:16:54 -04:00
Etienne Lemay b149e37aad Update frequently defaults quantity when still unchanged 2017-05-27 11:16:54 -04:00
Etienne Lemay 2c35d5a8a8 Handle empty include/exclude arrays 2017-05-27 11:16:54 -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 e10a779150 Add support for custom emojis to EmojiIndex#search 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 2f7d6eb0d8 Guard buildSearch() against undefined properties
This is important if custom emojis don’t specify any emoticons, for example.
2017-05-26 09:43:11 +02:00