Commit graph

298 commits

Author SHA1 Message Date
Nolan Lawson da524c240d
feat: add support for custom emoji fonts (#308)
Fixes #82
2022-12-29 10:16:39 -08:00
Nolan Lawson 6305b68496
chore: update svelte (#304) 2022-12-18 16:31:15 -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 70946d95a2
feat: add ru_RU locale (#296)
Co-authored-by: Сергей Ворон <vorons@users.noreply.github.com>
2022-11-25 12:32:09 -08:00
Konstantin Krivlenia af959ae7fc
fix: used dark colors for scrollbar in dark mode (#294) 2022-10-23 10:28:21 -07:00
Kronia 0607ac39b5
feat: add italian translation file (#291) 2022-10-17 07:30:36 -07:00
Nolan Lawson 27ef3fd4fd
fix: rename zh-CN to match other intl files (#288) 2022-06-23 21:24:46 -07:00
guozi 01986b4740
feat: create zh-CN.js (#284)
* Create zh-CN.js

i18n documents added Chinese

* chore: fix lint

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-06-23 18:12:52 -07:00
Nolan Lawson 3601f79eaf
fix: fix category with unsetting customEmoji (#277)
Fixes #276
2022-04-15 17:51:17 -07:00
Nolan Lawson 306ca067aa
fix: remove aria-owns (#275) 2022-04-08 09:17:25 -07:00
Nolan Lawson c45e3e9b43
fix: newer emoji and flags on Firefox on Windows (#271)
* fix: emoji v14 and flags on Firefox on Windows

* fix: add comment
2022-03-20 14:55:23 -07:00
Melvin Oostendorp d7727a3d2e
feat: added Dutch translation file (#267)
* Added nl.js (Dutch text)

* chore: fix lint

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-03-12 10:36:51 -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 2385f4b642
chore: update stylelint (#248) 2022-02-08 07:20:54 -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 7b0f17aaf2
feat: update to emoji 14.0 (#237) 2021-12-20 18:44:51 -08:00
toschlog f30160db66
feat: added ms_MY.js (Malaysian text) (#234) 2021-12-19 08:57:06 -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 b3a5138119
fix: respect the hidden attribute (#221) 2021-08-25 21:31:35 -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 267c55b3fb
feat: add new translations (#217)
Fixes #216
2021-08-18 07:26:42 -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 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 ed0ffac1e1
perf: use IDBObjectStore.clear (#208) 2021-08-13 09:55:10 -07:00
Tiago Silva 69541a3957
feat: create pt_PT.js (#188) 2021-08-06 10:07:14 -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 8c7bbc7a89
fix: fix types for event listeners, remove typedoc (#193)
fixes #191
2021-07-25 09:19:06 -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 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 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 304a18d2f7
fix: remove unused code (#148) 2021-06-26 16:23:50 -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 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 1b5ab86baf
feat: allow styling category emoji separately (#137)
* feat: allow styling category emoji separately

fixes #133

* fix: tweak css to avoid descendant selector

* docs: fix typo

* docs: rebuild

* docs: fix another typo
2021-05-31 10:28:33 -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
Egbert Teeselink ee7dff8b86
chore: make build on windows (#121) 2021-05-01 11:14:44 -07:00