Commit Graph

66 Commits (7edf171664e0d76b399a4c96cc71c084221c5612)

Author SHA1 Message Date
mashirozx 7edf171664 Add custom emoji lazyload 2021-10-26 12:28:34 +08:00
Eugen Rochko 1a9d5f97b6 Add support for more than one custom category
Fix #224
2019-12-21 10:24:49 -08:00
Nolan Lawson 8cff39f6fd fix: dark mode CSS tweaks, add storybook/matchMedia/docs 2019-12-21 09:49:29 -08:00
Mohan Raj 848fc76396 feat: Add Dark Mode 2019-12-21 09:49:29 -08:00
Nolan Lawson 3576091fc0
fix: ensure unique keys for React list (#352)
fixes #327
2019-07-03 08:00:02 -07:00
Hinaloe 39fc02bfe3 test: add test for short_names in custom emoji 2019-03-23 09:25:51 -07:00
Nolan Lawson 8cf6515298 chore: add Travis CI tests 2019-03-16 10:26:09 -07:00
Nolan Lawson ca66d6c9af chore: fix prettier linting 2019-03-14 08:35:33 -07:00
Nolan Lawson 9b6676a25d
Merge pull request #302 from nolanlawson/nolan/jest-tests
test: replace karma with jest
2019-03-14 08:34:03 -07:00
Nolan Lawson 302663f8bf test: replace karma with jest 2019-03-13 20:04:52 -07:00
Nolan Lawson f98526a7ed ensure every <li> has a key 2019-03-12 23:15:53 -07:00
Nolan Lawson e3c39bd2fa fix: make each emoji category into a list 2019-03-12 20:56:59 -07:00
Nolan Lawson e2694b544b
Merge pull request #285 from nolanlawson/fix-preact-compat-part-2
fix: fix preact compatibility
2019-03-12 08:20:17 -07:00
Nolan Lawson 0f35206687 fix: improve a11y of emoji list
fixes #218
2019-03-12 08:14:29 -07:00
Nolan Lawson 59c4d87839 fix: fix preact compatibility
fixes #254
2019-03-10 09:14:47 -07:00
Nolan Lawson f60220870e fix: allow prop-types to be removed in production
fixes #257
2019-03-07 18:12:37 -08:00
Ross Khanas c0a418fa57
Update category.js 2018-11-13 19:21:37 +09:00
Etienne Lemay 4bb41b9796
Add notFoundEmoji props to Picker 2018-07-30 17:06:23 -04:00
Etienne Lemay 3dc3e2fd95
Don’t apply `emoji-mart-no-results` class when using custom notFound component 2018-07-30 16:52:15 -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 2e97b1faa6
Restructure data and components 2018-04-29 21:06:32 -04:00
Etienne Lemay a8b81f1858
Restructure components 2018-04-26 12:10:52 -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
Scott Cooper 8e83059f58 remove unused name 2018-01-10 22:41:50 -08: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 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 22d1a0375d Revert Emoji back to a functional component 2017-09-30 11:37:02 -04:00
Eugen Rochko fdb88daa31 Remove function binds in render wherever possible, use PureComponent 2017-09-29 16:46:29 +02: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
Igor Lobanov 4dc05ef8da Size reduced from 87.35 KB to 79.43 KB 2017-09-17 12:06:42 +03:00
Etienne Lemay e95f515268 Add “Frequently Used” support to custom emojis 2017-05-27 13:17:21 -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
nsarafa ed5a6f1777 update components from React.PropTypes to PropTypes package to avoid
warning message
2017-05-04 21:38:03 -04:00
Etienne Lemay 46cf7542c3 Update default frequently used 2017-04-24 04:28:39 +02:00
Etienne Lemay f07c0c0638 Update “No Emoji Found” layout 2017-04-18 11:20:17 -04:00
Etienne Lemay b1d5c70bd2 Remove “No emoji found” hover [Close #59] 2017-04-18 11:07:43 -04:00
Etienne Lemay 046d489d7f Add “No emoji found” to i18n [Close #52] 2017-04-18 09:50:38 -04:00
Etienne Lemay 1f88be1e8b Handle native change in shouldComponentUpdate 2017-02-17 10:48:57 -05:00
Eric Dattore d3c1ab0828 [#139977619] fix regression in search with emoji mart picker 2017-02-16 10:09:10 -07:00
Etienne Lemay 0d39e10a71 Don’t check for backgroundImageFn change in Category#shouldComponentUpdate
If the Fn is an anonymous function, it would always re-render the categories even when no other props change.
2016-11-30 20:31:02 -05:00
Marco Munizaga a4be90aa6e Add backgroundImageFn to allow local image sheets 2016-11-30 15:16:47 -08:00
Etienne Lemay 1dfa58239f 💄 2016-10-26 23:27:55 -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