Commit Graph

91 Commits

Author SHA1 Message Date
Nolan Lawson 3b59a62957 test: add test 2024-03-21 18:38:00 -07:00
Nolan Lawson 8079a774b0 fix: simplify 2024-03-16 09:51:03 -07:00
Nolan Lawson 0218a74dbe fix: try to get rid of comments 2024-03-16 09:37:38 -07:00
Nolan Lawson 2a57ba18e8
test: centralize fetch mocks in one place (#408) 2024-03-10 20:13:46 -07:00
Nolan Lawson cc1f64d23e
chore: switch from jest to vitest (#404) 2024-03-09 13:21:00 -08:00
Nolan Lawson 56992858c0
perf: replace Svelte with vanilla JS (#381) 2023-12-17 12:28:46 -08:00
Nolan Lawson f6ccc990f5
test: use better test name (#388) 2023-12-10 10:18:41 -08:00
Nolan Lawson e5fde551fe
feat: upgrade to svelte 4 (#372) 2023-11-11 08:12:20 -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 0524c1d279
chore: update breaking deps (#368) 2023-10-07 12:55:20 -07:00
Nolan Lawson 8b242ce890
chore: update non-breaking deps (#367) 2023-10-07 12:42:28 -07:00
Nolan Lawson 72e3a5d18c
chore: update testing-library (#349) 2023-06-18 16:20:04 -07:00
Nolan Lawson a7ad168b5b
test: improve resiliency again (#348) 2023-06-18 13:10:44 -07:00
Nolan Lawson ad490854ce
test: improve test resiliency again (#345) 2023-06-18 12:27:19 -07:00
Nolan Lawson f94e45e0f9
test: make tests more resilient (#339) 2023-06-18 11:48:19 -07:00
Nolan Lawson 7d9096b06c
fix: simplify skintone listbox (#336) 2023-06-11 11:35:18 -07:00
Nolan Lawson 5a8fc19b96
fix: preserve state if component disconnects then immediately reconnects (#313)
Fixes #312
2023-01-22 13:09:04 -08:00
Nolan Lawson fea4cd130e
chore: update jest (#315) 2023-01-22 10:05:56 -08:00
Nolan Lawson da524c240d
feat: add support for custom emoji fonts (#308)
Fixes #82
2022-12-29 10:16:39 -08:00
Nolan Lawson 0a45a5c71e
test: fix flakey test (#279) 2022-04-17 09:00:15 -07:00
Nolan Lawson 3601f79eaf
fix: fix category with unsetting customEmoji (#277)
Fixes #276
2022-04-15 17:51:17 -07:00
Nolan Lawson 13f8f70ec1
chore: update fakeindexeddb (#262)
* chore: update fakeindexeddb

* test: fix timings
2022-02-18 14:03:52 -08:00
Nolan Lawson 8c8c331133
chore: update svelte-jester and svelte-preprocess (#260)
* chore: update svelte-jester and svelte-preprocess

* fix: lint

* fix: fix coverage
2022-02-18 13:26:40 -08:00
Nolan Lawson 7b0f17aaf2
feat: update to emoji 14.0 (#237) 2021-12-20 18:44:51 -08:00
Nolan Lawson fa2494223d
fix: fix db undefined when adding/removing element (#227)
Fixes #225
2021-09-26 11:11:57 -07:00
Nolan Lawson 780d5b3c02
test: inject actual styles in jest (#214)
* test: inject actual styles in jest

* fix: remove rollup plugin virtual
2021-08-13 18:09:40 -07:00
Nolan Lawson 567da7316a
fix: update favorites only on mount (#210)
Fixes #205
2021-08-13 12:51:57 -07:00
Nolan Lawson 8e7b5d5aab
fix: fix setting props before element upgrade (#194)
* fix: fix setting props before element upgrade

fixes #190

* fix: better test and logic

* fix: fix re-setting
2021-07-25 20:51:12 -07:00
Nolan Lawson 6a08dec7ec
test: fix flakey test (#196) 2021-07-25 20:44:12 -07:00
Nolan Lawson 154e703a1b
test: add another scrolling test (#184) 2021-07-12 07:20:11 -07:00
Nolan Lawson 422a0ee510
test: add scroll test (#181) 2021-07-11 17:02:29 -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 abc057e640
test: make tests more resilient (#175) 2021-07-10 17:26:35 -07:00
Nolan Lawson 7a2e2c141a
fix: render custom category if only one exists (#173)
* fix: render custom category if only one exists

Fixes #172

* fix: simplify code

* fix: add comment
2021-07-07 22:29:41 -07:00
Nolan Lawson ede65df9f3
fix: make database read-only (#174) 2021-07-07 20:53:53 -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 b6db106686
test: improve jest tests for determining emoji support (#161) 2021-07-02 13:55:13 -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 bd63935f14
test: add tests for various constructor options (#151) 2021-06-27 10:04:00 -07:00
Nolan Lawson 17ff7494a4
chore: update to jest 27 (#147)
* chore: update to jest 27

* fix: lint

* chore: update @testing-library/dom too

* test: relax coverage test

* test: fix coverage
2021-06-25 21:57:50 -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 4b5d4e39df
feat: support emoji 13.1 (#114)
* feat: support emoji 13.1

* docs: update readme

* chore: update emoji-picker-element-data

* test: fix tests
2021-01-18 15:07:41 -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 a68a3bee2c
test: improve coverage for skintone picker (#105) 2020-12-27 15:14:11 -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 0e2513c017
test: add test for array skin tones (#99) 2020-12-26 15:02:44 -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