Commit Graph

251 Commits (2f5fe6164ebbba4608fcc0ff3afae69f5b5eafff)

Author SHA1 Message Date
Etienne Lemay 2f5fe6164e
Export NimblePicker, NimbleEmoji and NimbleCategory 2018-04-29 11:41:06 -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 a8b81f1858
Restructure components 2018-04-26 12:10:52 -04:00
Etienne Lemay d17594315c
Make parent Emoji component a functional component
Just like NimbleEmoji.

Read more: https://medium.com/missive-app/45-faster-react-functional-components-now-3509a668e69f
2018-04-26 11:16:21 -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
Etienne Lemay a71280f14e
Merge pull request #175 from savardc/keyboardSelect
Select first emoji in list with `enter`
2018-03-27 14:45:03 -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
vcervellera bf8ffe5413 Clearing custom emojis from index and pool when necessary 2018-03-12 13:35:38 -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 e5441d637e
Merge pull request #159 from scttcper/master
remove unused name
2018-01-15 17:03:42 -05:00
Scott Cooper 8e83059f58 remove unused name 2018-01-10 22:41:50 -08:00
Andrew Beaven 238b2d2ff2 Remove Emoji fallback defaultProp 2018-01-11 10:45:02 +13:00
Andrew Beaven 4008363e73 Don't render fallback inside an emoji `<span>` 2018-01-10 11:38:30 +13:00
Andrew Beaven 818b4a1600 Emoji fallback shouldn't apply styling #157 2018-01-10 11:24:51 +13:00
Etienne Lemay 68a4711658 💄 2018-01-09 15:20:18 -05:00
Etienne Lemay 6d095a072c Add `html` props to Emoji component [Ref #79] 2018-01-09 15:16:59 -05:00
Etienne Lemay 3fa0331d60 Support providing a fallback to unsupported emojis [Fix #157] 2018-01-09 15:16:59 -05:00
Etienne Lemay d17c8a5c4b
Merge pull request #153 from savardc/fix-search-with-custom
Fix search with custom data and filter
2018-01-09 15:16:26 -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
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 1119d60b6e Use categories id in SVGs 2017-12-15 15:30:58 -05:00
Etienne Lemay 8f63c38308 Use 256-color indexed sheets by default
Reduces sheets size by half
2017-12-15 15:23:15 -05:00
Etienne Lemay e4977e4f0d Update emoji-datasource to 4.0.2 2017-12-15 15:12:50 -05:00
Etienne Lemay 453f723d5e Fix include / exclude [Fix #149]
Since fdf3c2d
2017-12-15 15:09:46 -05:00
Etienne Lemay 992cd65e81 Sheets now have 51 columns
Since emoji-datasource 4.0.0
2017-12-08 13:37:35 -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
Etienne Lemay 0d18995c3d Handle invalid emoji name in `Emoji` component [Fix #143] 2017-11-09 17:04:13 -08:00
Etienne Lemay 56be88ed41 Move spec out of src 2017-11-08 22:41:57 -08:00
Etienne Lemay cecb92bb9f Reduce svgs/index.js size 10% 2017-11-08 22:34:35 -08:00
Etienne Lemay 810c472917 Provide more data to `emojisToShowFilter` in search [Fix #141] 2017-11-08 09:48:35 -08:00
Etienne Lemay b24b0ccee5 💄 2017-11-07 19:09:40 -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
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