Commit Graph

102 Commits

Author SHA1 Message Date
Nolan Lawson 76e6c5a872 fix: avoid calling getRootNode 2024-02-17 08:53:06 -08:00
Nolan Lawson 56992858c0
perf: replace Svelte with vanilla JS (#381) 2023-12-17 12:28:46 -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 7d9096b06c
fix: simplify skintone listbox (#336) 2023-06-11 11:35:18 -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 c519529ced
chore: update deps (#302)
* chore: update deps

* fix: lint
2022-12-18 12:18:20 -08:00
Nolan Lawson 5fafdbd8f7
fix: remove unused code (#301) 2022-12-18 12:08:50 -08:00
Nolan Lawson 3601f79eaf
fix: fix category with unsetting customEmoji (#277)
Fixes #276
2022-04-15 17:51:17 -07:00
Nolan Lawson 7875925be0
fix: support RTL direction (#213)
* fix: support RTL direction

fixes #212

* fix: fix for old Safari

* fix: remove test page rtl
2021-08-13 17:40:03 -07:00
Nolan Lawson 468fd805b9
perf: remove pixel-based indicator animation (#211) 2021-08-13 12:52:04 -07:00
Nolan Lawson 567da7316a
fix: update favorites only on mount (#210)
Fixes #205
2021-08-13 12:51:57 -07:00
Nolan Lawson ad7c660f04
refactor: terser way to avoid invalidations (#186) 2021-07-12 20:30:12 -07:00
Nolan Lawson ed63bedd61
fix: remove Svelte assignment invalidation (#182) 2021-07-11 17:27:56 -07:00
Nolan Lawson 05548210a4
fix: fix tabPanel scrollTop bug (#180) 2021-07-11 15:38:01 -07:00
Nolan Lawson d63c1f8c0b
fix: use our own custom element implementation (#170)
Fixes #176
2021-07-11 10:01:21 -07:00
Nolan Lawson 58b1569068
test: add tests for attributes/props (#171) 2021-07-07 20:29:25 -07:00
Nolan Lawson 13e6c128d4
fix: esc key dismisses listbox (#169)
Fixes #168
2021-07-06 21:57:22 -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 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 ae68162637
test: ignore more code that jest cannot test (#109) 2020-12-28 18:51:45 -08:00
Nolan Lawson 68ddbd770e
refactor: refactor and properly test offline mode (#108)
* refactor: refactor and properly test offline mode

* refactor: add code comment
2020-12-28 17:53:23 -08:00
Nolan Lawson ed33442e26
test: improve code coverage (#107) 2020-12-28 17:14:23 -08:00
Nolan Lawson 336c43dc95
test: remove no-longer-needed jest-only code (#106) 2020-12-27 15:38:46 -08: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 e0c7245d5c
test: ignore some jest-only code (#103) 2020-12-26 18:45:16 -08:00
Nolan Lawson 3bf8225b41
perf: reduce bundle size by optimizing HTML/CSS a bit (#97)
* perf: reduce bundle size by optimizing HTML/CSS a bit

* perf: reduce a bit more

* perf: more cleanup
2020-12-26 13:53:26 -08:00
Nolan Lawson cb4bce1e71
chore: update standard to v16 (#87) 2020-12-24 13:52:41 -08:00
Nolan Lawson 9170e19734
fix: fix race condition on custom emoji (#85)
* fix: fix race condition on custom emoji

* test: add test
2020-12-18 19:03:27 -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 c2d4b950db
feat: add Home/End keyboard shortcuts (#44)
* feat: add Home/End keyboard shortcuts

Fixes #2

* fix: move the goalpost on the bundle size
2020-09-13 12:19:45 -07:00
Nolan Lawson 117b201ac0
fix: rename customCategorySort to customCategorySorting (#45) 2020-09-13 12:19:38 -07:00
Nolan Lawson 6be51f1806
feat: add customCategorySort function (#43)
Fixes #41
2020-09-13 11:39:14 -07:00
Nolan Lawson b551e1276b
fix: collapse skin tone picker on blur (#17)
fixes #16
2020-07-01 09:08:04 -07:00
Nolan Lawson d0bb1fd51d
fix: remove blur/focusout event for now (#15)
* fix: remove blur/focusout event for now

fixes #14

* test: disable test
2020-06-30 13:01:58 -07:00
Nolan Lawson 9c99ffade9 fix: aria-label should have skintone applied 2020-06-27 21:15:17 -07:00
Nolan Lawson 444e57a572 fix: fix pressing enter on custom emoji 2020-06-25 19:06:03 -07:00
Nolan Lawson d9f09508d2 fix: fix test, remove dead code 2020-06-25 08:03:58 -07:00
Nolan Lawson 2be3d23ac9 perf: use getElementById over querySelector 2020-06-25 07:23:59 -07:00
Nolan Lawson 3639eb628e fix: fix scrollTop reset on tab change 2020-06-25 06:59:02 -07:00
Nolan Lawson f2e1528161 fix: tweak i18n names, add test for slow networks 2020-06-22 19:49:42 -07:00
Nolan Lawson 270caab8f8 feat: press enter to select the first emoji 2020-06-22 19:08:42 -07:00
Nolan Lawson 6742860404 fix: fix spaces in search 2020-06-22 18:59:22 -07:00
Nolan Lawson 78c424409a fix: fix search results with mixed custom/native 2020-06-22 00:17:44 -07:00
Nolan Lawson e43e067144 refactor: rename function 2020-06-21 19:48:10 -07:00
Nolan Lawson 6458dade94 perf: minify html for smaller svelte bundle 2020-06-21 19:45:17 -07:00
Nolan Lawson 3ff20b5ba0 fix: fix initialLoad measure event 2020-06-21 17:12:14 -07:00
Nolan Lawson f31fcc4ce9 fix: fix searching for custom emoji 2020-06-21 14:25:14 -07:00
Nolan Lawson 81eda808c4 fix: do not show custom emoji until db loaded 2020-06-20 14:21:36 -07:00
Nolan Lawson 665a630913 fix: fix and test memory leaks 2020-06-20 11:47:59 -07:00