Commit Graph

271 Commits (main)

Author SHA1 Message Date
mashirozx d496014be7 Release 3.0.1-k 2021-11-29 15:57:01 +08:00
mashirozx dac9386e73 Disable img context menu... 2021-10-26 15:30:41 +08:00
mashirozx 818aba94a0 Disable ContextMenu 2021-10-26 14:40:45 +08:00
mashirozx 7edf171664 Add custom emoji lazyload 2021-10-26 12:28:34 +08:00
Etienne Lemay 37c3c6267c Keep using unique key for custom category buttons 2021-10-26 11:18:09 +08:00
Erin Hinson ca6a7fd74b fix aria-label for custom button 2021-10-26 11:18:09 +08:00
Matt Krick 612dae7b08 safely access this.input.value 2021-10-26 11:18:09 +08:00
Etienne Lemay cd29d5b9f6
preventDefault when handling keyboard event in SkinsDot 2020-03-16 15:16:37 -04:00
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 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 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 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
Nolan Lawson 835c2e9c36 fix: remove rAF polyfill, add SSR test 2020-01-12 09:59:07 -08:00
Nolan Lawson 6bb1932db8 fix: remove core-js dependency 2019-12-29 11:52:13 -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
Hiro-Aki Hotta 208099c2dc fix: Use getDerivedStateFromProps instead of componentWillReceiveProps (#372)
* use getDerivedStateFromProps instead of componentWillReceiveProps

* code formatting
2019-12-21 08:43:35 -08:00
Ryan McCue f10510b262 fix: Ensure emoji backgrounds do not tile (#362) 2019-12-21 08:41:24 -08:00
Alex Brioux 76ac008169 Fix: Allowing emoji selection on enter (#386) 2019-12-21 08:38:25 -08:00
Nolan Lawson 3576091fc0
fix: ensure unique keys for React list (#352)
fixes #327
2019-07-03 08:00:02 -07:00
Nolan Lawson cdd3229de6
test: add basic skins test (#315) 2019-06-29 07:48:50 -07:00
The-Code-Monkey af37a7a20f
attempt 2 to fix prettier error 2019-05-01 15:41:07 +01:00
The-Code-Monkey 14c5d4f2b4
attempting to fix the prettier issue 2019-05-01 15:36:59 +01:00
The-Code-Monkey 0cfb0787ab
Added `type={"button"}` to anchors.js 2019-05-01 15:32:02 +01:00
Etienne Lemay 7f05e22d12
Fix test 2019-03-28 09:16:43 -04:00
Etienne Lemay 32282a6dc7
Fix prettier 2019-03-28 09:14:25 -04:00
Etienne Lemay 4fda4dcc01 fix: use span for non-clickable emojis 2019-03-28 08:59:19 -04:00
Etienne Lemay abc2cdaf02 Revert "💄"
This reverts commit 1bcc52e587.
2019-03-28 08:56:50 -04:00
Etienne Lemay 1bcc52e587
💄 2019-03-28 08:22:30 -04:00
Nolan Lawson 7039517939 remove code comment 2019-03-23 15:06:13 -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 c6c302ecae
Merge pull request #299 from nolanlawson/nolan/emoji-list
fix: make each emoji category into a list
2019-03-14 08:33:08 -07:00
Nolan Lawson 165d1a9736
Merge pull request #297 from nolanlawson/nolan/improve-a11y-skin-dots
fix: improve a11y of skin tone picker
2019-03-14 08:32:49 -07:00
Nolan Lawson 302663f8bf test: replace karma with jest 2019-03-13 20:04:52 -07:00
Nolan Lawson f53d9b8c71 fix preact compat 2019-03-13 07:55:35 -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 585b4b374f fix: improve a11y of skin tone picker 2019-03-12 20:37:45 -07:00
Nolan Lawson 058cdec053 fix: improve accessible page structure
Makes some progress on #294
2019-03-12 09:36:28 -07:00
Nolan Lawson 94404ad339 fix: use tabIndex, not tabindex 2019-03-12 08:39:38 -07:00
Nolan Lawson 978e7b68a1 fix: fix search input when value is prepopulated 2019-03-12 08:21:25 -07:00
Nolan Lawson 5ef7a2a7da
Merge pull request #289 from nolanlawson/nolan/issue-201
fix: fix emoji.id undefined error
2019-03-12 08:20:55 -07:00
Nolan Lawson e3106ac637
Merge pull request #288 from nolanlawson/nolan/remove-notfound-string
fix: remove unused notFoundString prop
2019-03-12 08:20:47 -07:00