Nolan Lawson
cebd60c564
chore: update deps ( #261 )
...
* chore: update deps
* fix: downgrade node-fetch
2022-02-18 13:46:06 -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
d732610e7f
perf: use relaxed IDB transactions and manually commit ( #218 )
...
* perf: use relaxed IDB transactions and manually commit
* fix: reduce time spent in benchmark
* fix: add missing txn.commit()
* fix: small syntax change
2021-08-21 14:48:38 -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
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
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
24b3ee12a4
test: add performance benchmarks using tachometer ( #159 )
...
* test: add performance benchmarks using tachometer
* test: fix benchmark names
* test: ensure emoji fonts are installed
* test: fix error check
* test: ignore scripts during yarn install
* test: optimize CI script some more
* test: improve setup scripts
2021-07-02 12:08:45 -07:00
Nolan Lawson
704bc31571
test: fix memory test ( #157 )
2021-07-02 09:58:00 -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
0eb8587969
chore: update puppeteer, fix memory test ( #153 )
2021-06-27 21:07:18 -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
f4e7ad8bdf
fix: fix getEmojiByShortcode when shortcodes are optional ( #98 )
...
* fix: fix getEmojiByShortcode when shortcodes are optional
* fix: fixup
2020-12-26 14:49:00 -08:00
Nolan Lawson
bf157035f7
test: add storage size test ( #92 )
2020-12-25 10:27:25 -08:00
Nolan Lawson
992ac10164
fix: fix short tokens in getEmojiByShortcode ( #90 )
...
* fix: fix short tokens in getEmojiByShortcode
* fix: add comment
2020-12-24 13:39:23 -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
9fe31d9a57
test: improve test coverage ( #74 )
2020-11-06 10:08:33 -08:00
Nolan Lawson
a846a269b5
test: improve test reliability, coverage, update deps, remove --no-cache ( #58 )
2020-10-17 16:54:57 -07: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
83e516ce21
feat: support attribute format for some properties ( #33 )
...
* feat: support attribute format for some properties
This allows users to set the locale, data source, and skin tone
emoji using HTML attributes as well as properties.
Fixes #7
* fix: increment bundlesize
2020-08-20 19:29:20 -07:00
Nolan Lawson
819f8dcfd8
test: fix timing issue in test ( #38 )
2020-08-16 17:31:43 -07:00
Nolan Lawson
2e737c0622
test: add more timeouts to improve test flakiness ( #26 )
2020-07-05 21:00:11 -07:00
Nolan Lawson
4737d023b7
fix: tabs are not aria-selected in search mode ( #18 )
2020-07-01 09:08:15 -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
025756324d
fix: fix closing/deleting a second database object
2020-06-27 11:09:43 -07:00