Commit Graph

742 Commits (2dacd30dc80503c28072ac5944e2a7d949b83283)

Author SHA1 Message Date
Etienne Lemay 2dacd30dc8
Don’t use `getDerivedStateFromProps`
This is pretty much considered an anti-pattern (https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html), especially for a PureComponent.
2020-03-16 14:41:30 -04:00
Etienne Lemay b548c38624
Add min values in stories 2020-03-16 14:30:53 -04:00
Etienne Lemay d1138c00e8
Update theme handling [Fix #404]
- Defaults to “light”
- “auto” picks light/dark based on `prefers-color-scheme: dark` media query (and actually updates automatically)
2020-03-16 14:09:14 -04:00
Etienne Lemay c41fc5ec7a
Add `enableFrequentEmojiSort` to README 2020-03-16 11:49:14 -04:00
Etienne Lemay 0e299ff4dd
Update gh-pages 2020-03-16 11:46:55 -04:00
Etienne Lemay 17cf50f7ba
Add an option to disable use of <button>
i.e. Latest version of Chrome (~v80) can’t render Pirate Flag (🏴‍☠️) on a <button>
2020-03-16 11:44:02 -04:00
Etienne Lemay 22ffd5b85e
Include stories/ in prettier script 2020-03-16 11:14:08 -04:00
Etienne Lemay b8fad36c6d
Merge pull request #417 from SaraRandolph/sara.randolph/enhancement/disable_frequent_emoji_sort
enhancement: functionality to disable the frequent emoji sorting
2020-03-16 11:11:54 -04:00
Etienne Lemay 56ae7b49c5
Don’t sort frequent emojis by default 2020-03-16 11:08:13 -04:00
SaraRandolph 6ca158bb36 forgot to run prettier, now I did 2020-03-16 11:03:31 -04:00
SaraRandolph cdb6c26a08 adds functionality to disable the frequent emoji sorting, updates storybook for visibility 2020-03-16 11:03:31 -04:00
Etienne Lemay 769b55c875 Update gh-pages 2020-03-16 10:32:38 -04:00
Etienne Lemay dc4ca683d2 Add .prettierignore 2020-03-16 10:06:09 -04:00
Etienne Lemay 16ca493f3c [cleanup] 2020-03-16 10:06:09 -04:00
Etienne Lemay cf4a1043f7
Merge pull request #410 from rugk/fixWindowsWitdh
Fix x overflow on Windows with native emojis
2020-03-16 09:15:32 -04:00
Etienne Lemay 5c083a8026 Merge branch 'feature-unicode-12' 2020-03-16 09:12:25 -04:00
Etienne Lemay f8ce5a6814 [cleanup] 2020-03-16 09:09:23 -04:00
Etienne Lemay fcae7a913b Merge the 2 new categories into a single one 2020-03-16 09:09:23 -04:00
Thomas Piard 57cabf6f75 size limit 2020-03-16 09:09:23 -04:00
Thomas Piard 9bab24f3c6 prettier 2020-03-16 09:09:23 -04:00
Thomas Piard 4404e71264 restore change 2020-03-16 09:09:23 -04:00
Thomas Piard 3941549f6a fix test 2020-03-16 09:09:23 -04:00
Thomas Piard a253148b86 Update data and docs 2020-03-16 09:09:22 -04:00
Thomas Piard cdb74f28c7 Bump emoji-datasource to 5.*, remove emojione and messenger support 2020-03-16 09:09:22 -04:00
Etienne Lemay 113b07abcf
Merge pull request #402 from missive/nolan/fix-json
refactor: remove _JSON
2020-03-13 08:11:01 -04:00
Etienne Lemay bfada8f5c1
Merge pull request #401 from missive/nolan/test-ssr
fix: remove rAF polyfill, add SSR test
2020-03-13 08:10:41 -04:00
Etienne Lemay 39c2c9d6ee
Merge pull request #397 from missive/nolan/update-babel-squashed
chore: upgrade to babel v7
2020-03-13 08:10:17 -04:00
rugk e57118c6f3 Fix x overflow on Windows with native emojis
Fixes https://github.com/missive/emoji-mart/issues/409
2020-01-23 10:25:01 +01:00
Nolan Lawson 835c2e9c36 fix: remove rAF polyfill, add SSR test 2020-01-12 09:59:07 -08:00
Nolan Lawson c8305f6013 test: test bundle size in CI 2020-01-12 09:57:33 -08:00
Nolan Lawson 97f6ffde2d refactor: remove _JSON 2019-12-30 09:07:54 -08:00
Nolan Lawson 0bd369144b chore: upgrade to babel v7 2019-12-29 13:39:57 -08:00
Nolan Lawson 99eae3605d test: add test for emoji-index.js 2019-12-29 11:52:24 -08:00
Nolan Lawson 6bb1932db8 fix: remove core-js dependency 2019-12-29 11:52:13 -08:00
Etienne Lemay 85577c0b58
Release v2.11.2 2019-12-23 09:40:28 -05:00
Etienne Lemay 7b2f760df2
Update README 2019-12-23 09:33:00 -05:00
Etienne Lemay 3440a74328
Update gh-pages 2019-12-23 09:12:55 -05:00
Etienne Lemay f1a988ca4b
Improve anchors :focus state 2019-12-23 09:09:00 -05:00
Etienne Lemay 2860851c0b
Fix :hover state on anchors 2019-12-23 09:04:27 -05:00
Etienne Lemay e66be9dc4e
Add theme selection to gh-pages 2019-12-23 08:51:53 -05:00
Etienne Lemay e39c1e53d8
Improve dark theme UI 2019-12-23 08:50:49 -05:00
Etienne Lemay c778bc6084
Run prettier on docs/index.js 2019-12-23 08:06:53 -05:00
Etienne Lemay ff9d416300 Update gh-pages 2019-12-23 08:04:11 -05:00
Nolan Lawson 61c0bd4e4e fix: remove _JSON 2019-12-21 11:18:30 -08:00
Nolan Lawson 7a025243b4 test: add docs and test for customCategory 2019-12-21 10:24:49 -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
dependabot[bot] 830c69a4e1 chore(deps): bump lodash from 4.17.11 to 4.17.15 (#390)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-21 09:18:25 -08:00
dependabot[bot] 1b69530f53 chore(deps): bump handlebars from 4.1.0 to 4.5.3 (#389)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-21 09:18:16 -08:00