Commit Graph

46 Commits

Author SHA1 Message Date
Nolan Lawson 89c4973f30 test: fix code coverage 2023-12-17 12:05:30 -08:00
Nolan Lawson 472a27bc24 fix: use queueMicrotask 2023-12-17 11:45:59 -08:00
Nolan Lawson 12615eb0db refactor: refactor destroy logic further 2023-12-12 08:15:06 -08:00
Nolan Lawson 7c4939c8c9 fix: fix flash of unstyled emoji 2023-12-09 15:53:05 -08:00
Nolan Lawson f17d7b6524 fix: coverage 2023-11-26 11:36:40 -08:00
Nolan Lawson bd2004b25d
fix: put annotation in title/aria-label (#369)
Fixes #366
2023-10-08 13:11:12 -07:00
Nolan Lawson da524c240d
feat: add support for custom emoji fonts (#308)
Fixes #82
2022-12-29 10:16:39 -08:00
Nolan Lawson 4af86a8b54
fix: simpler solution to avoid svelte invalidations (#303)
* fix: simpler solution to avoid svelte invalidations

* fix: improve comment
2022-12-18 12:47:19 -08:00
Nolan Lawson d63c1f8c0b
fix: use our own custom element implementation (#170)
Fixes #176
2021-07-11 10:01:21 -07:00
Nolan Lawson b6db106686
test: improve jest tests for determining emoji support (#161) 2021-07-02 13:55:13 -07:00
Nolan Lawson 2603055d1a
perf: determine emoji support in reverse order (#160)
* perf: determine emoji support in reverse order

* fix: tweak code comment

* fix: tweak code comment

* refactor: refactor code a bit
2021-07-02 13:43:40 -07:00
Nolan Lawson 50ac48d4c8
fix: update svelte to 3.37.0 (#152)
* fix: update svelte to 3.37.0

* test: make test clearer

* fix: fix memory leak

* fix: fix alignment in firefox

* test: bump bundlesize limit

* chore: test old svelte version

* fix: fix for old svelte

* fix: Revert "fix: fix for old svelte"

This reverts commit 87725d713ee5b026e7e09bebb3f9df8dbbe23097.

* fix: Revert "chore: test old svelte version"

This reverts commit f6431f29d40155b984f4784b1237f72909844101.

* chore: test old svelte version

* test: test more svelte

* test: test svelte 3.29.4

* fix: fix for older versions of Svelte

* test: fix tested svelte versions

* test: fix ordering

* test: fix ordering again

* test: bump bundlesize

* test: remove unnecessary test

* test: test that the tests actually work in Circle CI

* fix: un-break test

* fix: simplify the code a bit

* docs: readme

* fix: refactor shared logic
2021-06-28 20:31:44 -07:00
Nolan Lawson 599a8ddaaf
fix: guess latest emoji version on canvas error (#138)
* fix: guess latest emoji version on canvas error

fixes #132

* test: fix code coverage
2021-05-31 10:28:42 -07:00
Nolan Lawson f6f5d93780
chore: use @rollup/plugin-strip to remove console.log and perf marks/measures (#136)
* fix: use @rollup/plugin-strip

* fix: progress

* test: fix test

* fix: fixup
2021-05-31 08:45:59 -07:00
Nolan Lawson b86b8c6b2c
refactor: refactor ResizeObserver code, fix code coverage for RO (#101)
* fix: detect ResizeObserver on-demand, fix code coverage for RO

* fix: fix test

* test: test ro

* fix: avoid recalc
2020-12-27 09:54:37 -08:00
Nolan Lawson f40beeddd1
feat: use emoji-picker-element-data, make shortcodes optional (#75)
* fix: use emoji-picker-element-data

* fix: working

* fix: fix tests

* fix: more work

* test: tests

* test: more tests

* fix: make shortcodes optional

* docs: fixup

* fix: actually install

* docs: make shortcodes optional

* fix: add deprecation notice to trimEmojiData

* fix: fix trimEmojiData

* docs: update readme

* docs: update readme

* docs: tweak docs and error messages
2020-11-06 13:56:01 -08:00
Nolan Lawson 9fe31d9a57
test: improve test coverage (#74) 2020-11-06 10:08:33 -08:00
Nolan Lawson a467685880
fix: fix ZWJ detection on windows (#50) 2020-09-23 21:43:35 -07:00
Nolan Lawson 0a9e3bb073
fix: fix emoji support detection on Chrome on Mac (#49) 2020-09-23 20:51:16 -07:00
Nolan Lawson 9c99ffade9 fix: aria-label should have skintone applied 2020-06-27 21:15:17 -07:00
Nolan Lawson d9f09508d2 fix: fix test, remove dead code 2020-06-25 08:03:58 -07:00
Nolan Lawson 3639eb628e fix: fix scrollTop reset on tab change 2020-06-25 06:59:02 -07:00
Nolan Lawson ac0d1fc863 test: fix coverage 2020-06-17 08:42:33 -07:00
Nolan Lawson 48fb0d3181 perf: remove i18n merge 2020-06-17 00:10:39 -07:00
Nolan Lawson 297d4ad9e8 perf: remove logging code from prod 2020-06-16 23:12:42 -07:00
Nolan Lawson fa16515fd0 fix: finish custom categories 2020-06-16 20:17:42 -07:00
Nolan Lawson 76f142dff7 fix: fix missing emoji on some android versions 2020-06-15 14:40:16 -07:00
Nolan Lawson c26dd3f222 refactor: more refactor and code cleanup 2020-06-15 10:52:04 -07:00
Nolan Lawson 6b57e1d7a7 refactor: refactor and code cleanup 2020-06-15 10:38:39 -07:00
Nolan Lawson f8e3d41a43 refactor: add comment 2020-06-15 10:09:53 -07:00
Nolan Lawson 8f25a03436 fix: progress on custom emoji 2020-06-14 17:30:32 -07:00
Nolan Lawson 15af26d5e7 start on UI, shortcode -> shortcodes 2020-06-14 14:42:05 -07:00
Nolan Lawson 38c824a946 perf: reduce bundle size, add tests 2020-06-13 16:39:21 -07:00
Nolan Lawson 34f1ed4fb5 fix: add more tests, fix some minor things 2020-06-13 12:14:19 -07:00
Nolan Lawson 83bec1c541 test: improve tests 2020-06-10 20:14:26 -07:00
Nolan Lawson 6b354f9c23 test: add more tests 2020-06-10 08:51:01 -07:00
Nolan Lawson 77c5eed0d8 test: run jest on source files 2020-06-10 07:51:29 -07:00
Nolan Lawson 988f1449e0 fix: fix skintone picker 2020-06-08 18:57:54 -07:00
Nolan Lawson e0159d6c77 fix: fixup keyboard shortcuts 2020-06-08 17:29:44 -07:00
Nolan Lawson e4cc93b470 fix: fix key events 2020-06-08 17:29:44 -07:00
Nolan Lawson 8e2d7fe5ea feat: implement skintone picker 2020-06-08 17:29:44 -07:00
Nolan Lawson ae315f2c4b fix: add first DOM test, fix picker API 2020-06-07 09:14:43 -07:00
Nolan Lawson 0459179839 perf: make map smaller 2020-06-05 17:28:05 -07:00
Nolan Lawson 43d275b6c1 perf: calculate emoji support level lazily 2020-06-04 18:38:49 -07:00
Nolan Lawson 51040b3d96 fix: add better perf marks / logging system 2020-06-04 18:31:31 -07:00
Nolan Lawson e7695b7d12 fix: only support es format 2020-06-03 20:12:43 -07:00