Commit Graph

108 Commits (c113dc5e3b934e0b867fdd568d7137d5f041cf46)

Author SHA1 Message Date
Etienne Lemay c113dc5e3b
💄 Add prettier.config.js 2018-03-27 14:52:31 -04:00
Etienne Lemay 4467fbd021
Fix pressing enter when no search results 2018-03-27 14:43:02 -04:00
Etienne Lemay f879348e2e
Fix undefined SEARCH_CATEGORY 2018-03-27 14:41:45 -04:00
Christian Savard 0765bf56f7 Add keyboard selection with enter 2018-03-15 18:42:16 -04:00
Etienne Lemay 88b1045ff7
💄 Prettier 2018-03-02 15:10:04 -05:00
Etienne Lemay c010035015
Add `showSkinTones` prop to Picker [Ref #165] 2018-03-02 15:08:52 -05:00
Etienne Lemay af2fdc71a1
Add `defaultSkin` prop to Picker and allow forcing skin tone with `skin` prop [Ref #165] 2018-03-02 13:45:33 -05:00
Etienne Lemay b0753769fb
Add `onSkinChange` prop to Picker [Close #165] 2018-03-02 13:33:14 -05:00
Etienne Lemay fed9a89c78
Set RECENT_CATEGORY, CUSTOM_CATEGORY and SEARCH_CATEGORY on Picker instances [Fix #166] 2018-03-02 13:25:39 -05:00
vcervellera 88d7e2f506 Emptying custom category when custom prop is cleared 2018-02-22 09:58:10 -05:00
syokenz 6e4dd6765c change to return -1 in Categories sort compareFunction 2018-02-15 22:39:17 +09:00
Etienne Lemay 68a4711658 💄 2018-01-09 15:20:18 -05:00
Mark Wadden 3c924a1619 Bug fix to ensure that the category ids are not dropped aftering being filtered. 2017-12-21 22:24:36 -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 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
Etienne Lemay b24b0ccee5 💄 2017-11-07 19:09:40 -08:00
Eugen Rochko d781320498 Fix #129 - Passing down a `recent` prop instead of localStorage 2017-10-07 16:26:09 +02:00
Etienne Lemay 3021758115 Prettier 💄 2017-10-07 00:02:29 -04:00
Etienne Lemay bb874f4517 Add tooltip (title) props to both Picker & Emoji 2017-10-06 23:34:06 -04:00
Etienne Lemay 3024f9e190 Merge branch 'master' into fix-useless-rerenders 2017-09-30 11:38:34 -04:00
Etienne Lemay ac709e5cf3 Fix include sorting [Fix #116] 2017-09-29 19:45:52 -04:00
Etienne Lemay 922ae30a0f Fix TypeError on emoji click when picker has been unmounted [Fix #126]
`isMounted` is being deprecated, so we test against scroll ref being defined
2017-09-29 19:14:24 -04:00
Eugen Rochko fdb88daa31 Remove function binds in render wherever possible, use PureComponent 2017-09-29 16:46:29 +02: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
Etienne Lemay c607fd8864 Add showPreview props to Picker [Fix #42] 2017-09-27 22:07:34 -04:00
Etienne Lemay 9f49499240 Merge branch 'master' into feature-react-16 2017-09-27 20:00:37 -04:00
Eugen Rochko d13e3b5e03 Upgrade to React 16, do not use deprecated ref syntax 2017-09-27 21:27:52 +02:00
Etienne Lemay b5552be2c4 Fix activeCategory when scroll is above minTop 2017-09-25 21:15:07 -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 b90ca821bc Merge pull request #92 from MeisterLabs/ie-support
Improve support for Internet Explorer
2017-06-23 09:38:21 -04:00
Jakob Krigovsky 385408b51c Include scrollbar width in total picker width 2017-06-23 12:26:30 +02:00
Jakob Krigovsky 164e9d06ed Avoid Array.prototype.find() 2017-06-23 11:47:21 +02:00
Sam Kelleher 30fa05f3c5
Switch default for simpler code. 2017-05-29 12:36:49 +01:00
Sam Kelleher 32a5206453
Flip wrong way round flag. 2017-05-29 12:30:04 +01:00
Sam Kelleher 184f2824f5
Do not store recent if recent category is hidden. 2017-05-29 12:29:11 +01:00
Etienne Lemay 7d014966e6 Unselect categories when searching 2017-05-27 13:40:54 -04:00
Etienne Lemay 98f2a95913 Use emoji object in `emojisToShowFilter`
So that custom emojis can also be filtered if need be
2017-05-27 13:26:02 -04:00
Etienne Lemay e95f515268 Add “Frequently Used” support to custom emojis 2017-05-27 13:17:21 -04:00
Etienne Lemay e28dc4da55 Make sure last category is selected when scrolled to bottom 2017-05-27 12:58:46 -04:00
Etienne Lemay d8b4c81534 Add include/exclude support to custom emojis 2017-05-27 12:27:47 -04:00
Etienne Lemay 1b77cb8244 Merge branch 'master' into custom-emojis 2017-05-27 11:26:59 -04:00
Etienne Lemay 2c35d5a8a8 Handle empty include/exclude arrays 2017-05-27 11:16:54 -04:00
Etienne Lemay 357653bb37 Do not include search input in the scroll container [Close #58] 2017-05-27 11:16:54 -04:00
Jakob Krigovsky 2fdd9fee34 Pass custom emojis to EmojiPicker#search 2017-05-26 12:34:07 +02:00
Jakob Krigovsky 289fc0ffc0 Pass custom emoji data directly to <Preview />
<Preview /> calls getData() itself which will fail for custom emojis because there is no universally available data source for custom emojis. To work around this, we pass the custom emoji data (which <Picker /> received via the `custom` prop) directly to <Preview />.
2017-05-26 12:12:59 +02:00
Jakob Krigovsky d237edc268 Add support for custom emojis to <Picker /> 2017-05-26 12:12:13 +02:00
nsarafa ed5a6f1777 update components from React.PropTypes to PropTypes package to avoid
warning message
2017-05-04 21:38:03 -04:00
Etienne Lemay f07c0c0638 Update “No Emoji Found” layout 2017-04-18 11:20:17 -04:00