Commit Graph

26 Commits

Author SHA1 Message Date
Nolan Lawson fa4adb9061 fix: start on fetching earlier 2024-03-18 22:57:09 -07:00
Nolan Lawson 45ef1c8385 fix: revert comment 2024-03-18 22:25:37 -07:00
Nolan Lawson 8b25eb668d fix: cancel the fetch 2024-03-17 10:47:53 -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 5a8fc19b96
fix: preserve state if component disconnects then immediately reconnects (#313)
Fixes #312
2023-01-22 13:09:04 -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 7588bd1652
fix: customElements.define called twice (#246)
* fix: customElements.define called twice

* fix: coverage
2022-02-07 17:40:21 -08: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 96d0d1d171
feat: add built-in translations (#200)
* feat: add built-in translations

* docs: fix docs

* docs: fix docs
2021-08-06 10:05:58 -07:00
Nolan Lawson b8302b215b
fix: use Object.prototype.hasOwnProperty (#198) 2021-08-01 17:18:35 -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 d63c1f8c0b
fix: use our own custom element implementation (#170)
Fixes #176
2021-07-11 10:01:21 -07:00
Nolan Lawson ede65df9f3
fix: make database read-only (#174) 2021-07-07 20:53:53 -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 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 665a630913 fix: fix and test memory leaks 2020-06-20 11:47:59 -07:00
Nolan Lawson c70df34450 perf: reduce code in PickerElement 2020-06-17 00:03:50 -07:00
Nolan Lawson 15af26d5e7 start on UI, shortcode -> shortcodes 2020-06-14 14:42:05 -07:00
Nolan Lawson dcd9ac8220 fix: simplify and add more tests 2020-06-13 15:04:14 -07:00
Nolan Lawson 294d615e8a feat: add ability to change skin tone emoji 2020-06-11 20:29:48 -07:00
Nolan Lawson 77c5eed0d8 test: run jest on source files 2020-06-10 07:51:29 -07:00
Nolan Lawson e09fd11e3f fix: add initialLoad mark and fix some lighthouse a11y warnings 2020-06-08 21:55:54 -07:00
Nolan Lawson a66b478120 fix: fix dataSource/locale setting 2020-06-07 13:08:28 -07:00
Nolan Lawson ae315f2c4b fix: add first DOM test, fix picker API 2020-06-07 09:14:43 -07:00