Commit Graph

676 Commits (351e2361bcc4a39abe3f6c0caf7e09583566d329)

Author SHA1 Message Date
Etienne Lemay 7d014966e6 Unselect categories when searching 2017-05-27 13:40:54 -04:00
Etienne Lemay 1e87212374 Merge pull request #85 from MeisterLabs/custom-emojis [Close #2]
Add support for custom emojis
2017-05-27 13:38:53 -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 f4bbee1ecd Do not set skin when selecting the same 2017-05-27 11:16:54 -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 456f8e55cb [Example] Add more dynamic props 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 357653bb37 Do not include search input in the scroll container [Close #58] 2017-05-27 11:16:54 -04:00
Etienne Lemay 0736c65580 Use Emoji function instead of using JSX
So React doesn’t have to mount/unmount functional components
2017-05-27 11:16:54 -04:00
Etienne Lemay d2e37cad6d Functional Emoji component 2017-05-27 11:15:51 -04:00
Etienne Lemay 2ace579c7d [Example] Update emoji examples with clicked emoji 2017-05-27 11:15:51 -04:00
Etienne Lemay b8abf0a310 Make example much more performant
- Don’t load all sets spritesheet
- Handle native like the other sets, and use native by default (no spritesheet load)
2017-05-27 11:15:51 -04:00
Etienne Lemay 04b993e7b6 Merge pull request #78 from savardc/emoji4
Update to latest emoji-datasource
2017-05-27 11:04:11 -04:00
Etienne Lemay 92985ecf29 Merge branch 'master' into emoji4 2017-05-27 11:03:41 -04:00
Etienne Lemay 240e85ceaf Update emojilib (for new emojis keywords) 2017-05-27 10:57:01 -04:00
Etienne Lemay a4d0b6b410 Use emoji-datasource subpackages for sheets 2017-05-27 10:54:55 -04:00
Etienne Lemay b2d9311c87 Fix getting `skin_variations` data 2017-05-27 10:54:34 -04:00
Etienne Lemay 54acb334dd Merge pull request #80 from savardc/updateReact
Update react and remove react-addons-test-utils
2017-05-27 10:38:34 -04:00
Etienne Lemay 4a42680380 Merge branch 'master' into updateReact 2017-05-27 10:37:54 -04:00
Etienne Lemay 2da7ec0ffa Merge pull request #84 from samkelleher/optional-fallback
Allow preview emoji to be hidden.
2017-05-27 10:22:16 -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 153998ca2c Add icon for custom category 2017-05-26 12:34:07 +02:00
Jakob Krigovsky 2fdd9fee34 Pass custom emojis to EmojiPicker#search 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 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 7ce0f8efba Add custom emojis to example page 2017-05-26 12:12:13 +02:00
Jakob Krigovsky d237edc268 Add support for custom emojis to <Picker /> 2017-05-26 12:12:13 +02:00
Jakob Krigovsky d181379480 Add support for custom emojis to <Emoji /> 2017-05-26 12:06:28 +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
Sam Kelleher 0dc2ed59f8
Describe setting empty 2017-05-25 18:28:18 +01:00
Sam Kelleher 95be21383d
Allow the fallback emoji to be optional, will display nothing. 2017-05-25 18:27:30 +01:00
Jakob Krigovsky 15c7b27ba9 Add support for custom emojis to getData() 2017-05-24 18:37:16 +02:00
Jakob Krigovsky d9c0139d73 Split out generation of search property 2017-05-24 18:34:10 +02:00
Jakob Krigovsky 00dce20f0f Document custom emoji support 2017-05-24 18:06:48 +02:00
Etienne Lemay 021f7b8db6 Merge pull request #82 from MeisterLabs/yarn-lock
Update yarn.lock
2017-05-23 10:55:03 -04:00
Jakob Krigovsky d24a441935 Update yarn.lock 2017-05-23 16:47:42 +02:00
Christian Savard 52359b2688 Update react and remove react-addons-test-utils 2017-05-17 16:56:24 -04:00
Christian Savard 3373997cd6 Revert default sheetSize to 64px 2017-05-17 16:33:43 -04:00
Christian Savard 946737cc97 Merge branch 'master' into emoji4 2017-05-17 14:57:39 -04:00
Etienne Lemay 64b408be53 Merge pull request #73 from nsarafa/master
Installation instructions & stylesheet corrections
2017-05-17 09:20:07 -04:00
Etienne Lemay 3a6189f91d Merge pull request #74 from nsarafa/hotfix/prop-types [Fix #65]
update components from React.PropTypes to PropTypes package
2017-05-17 09:18:45 -04:00
Etienne Lemay c877e3b380 Merge pull request #77 from iamsaksham/bug-fix-IE [Fix #75]
give max height to svg for IE support
2017-05-17 09:08:30 -04:00
Christian Savard 6514bbb0ba Update README and yarn.lock 2017-05-15 09:48:29 -04:00