Граф коммитов

143 Коммитов

Автор SHA1 Сообщение Дата
Ned Schwartz 0ddf3ab5e6 add chromium 2022-02-16 23:23:56 +00:00
dgreif 489371b767 2.2.2 2021-12-16 07:29:57 -07:00
Alexander Ulmer 56a3fe9070
Fix active element detection in shadow root (#25)
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
2021-12-16 07:27:31 -07:00
Dusty Greif 77e88f45b2
Merge pull request #26 from imjohnbo/fix/click-selection-scroll
fix: prevent scroll upon clicking selection from suggestion list
2021-12-16 07:19:29 -07:00
John Bohannon 3189e983a1 fix: prevent scroll upon clicking selection from suggestion list 2021-12-15 13:26:24 -05:00
Kristján Oddsson 3a48da5b7e
Merge pull request #23 from github/update-dependencies
Update dependencies
2021-04-12 14:29:14 +01:00
Kristján Oddsson c98a71ac5f
Update test packages, rollup and typescript 2021-04-12 13:56:43 +01:00
Kristján Oddsson 5b93212c70
Set eslintrc file as root 2021-04-12 13:56:43 +01:00
Kristján Oddsson b4db055b04
Set return types on class functions 2021-04-12 13:56:43 +01:00
Kristján Oddsson 9341ebeee2
Run `eslint --fix` 2021-04-12 13:56:43 +01:00
Kristján Oddsson 80dc134fcb
Install latest eslint and eslint plugins 2021-04-12 13:56:43 +01:00
Kristján Oddsson 5b374eb08a
Run `npm audit fix` 2021-04-12 13:56:42 +01:00
Kristján Oddsson efdf8c6ed7
Create CODEOWNERS 2021-04-12 13:55:27 +01:00
Kristján Oddsson 64c87fef5e
Merge pull request #22 from github/use_key_length_in_query
Fix support for multiWord queries with activations keys longer than than 1 character
2021-04-12 13:52:55 +01:00
Kristján Oddsson eac805f714
Simplify tests slightly 2021-04-12 13:52:07 +01:00
Phill MV 0f762f8234 In `multiWord` queries, now use `key.length` when resetting `keyIndex`, thereby fixing support for activation keys with length > 1. 2021-04-10 15:10:42 -04:00
Keith Cirkel f0961fd8ec
2.2.0 2020-11-30 15:06:39 +00:00
Keith Cirkel 33a0e74d79
Merge pull request #20 from chanakyabhardwajj/main
For multiword scenarios, ignore activation keys when a match is in progress.
2020-11-30 16:05:27 +01:00
Chanakya Bhardwaj 400783d57b Update the example to show multiple activation keys behavior for multiword. 2020-11-30 15:38:04 +01:00
Chanakya Bhardwaj 606f002b07 Update readme. 2020-11-30 15:15:29 +01:00
Chanakya Bhardwaj de80c2c005 Add tests for lastMatchPosition. 2020-11-30 15:04:46 +01:00
Chanakya Bhardwaj c228a7647e Tests for consecutive activation keys. 2020-11-30 14:40:04 +01:00
Chanakya Bhardwaj d81e9ad884 Bug fix: `lastMatchPosition` can be `undefined` too. 2020-11-30 14:23:20 +01:00
Chanakya Bhardwaj c82e66b3b5 Disable consecutive activation keys. 2020-11-30 13:59:48 +01:00
Chanakya Bhardwaj 494238e4e6 Add test for multiple activation keys. 2020-11-30 12:24:57 +01:00
Chanakya Bhardwaj 976fb67c32 Remove cyclic dependency 2020-11-30 11:25:42 +01:00
Chanakya Bhardwaj 763553789a Bug fixes for activation key between text. 2020-11-26 20:06:39 +01:00
Chanakya Bhardwaj 3a0bcd07f2 Merge branch 'main' of https://github.com/github/text-expander-element into main 2020-11-25 18:32:40 +01:00
Keith Cirkel 982cbf811a
2.1.0 2020-11-25 15:54:15 +00:00
Keith Cirkel 013352b711
Merge pull request #19 from iulia-b/main
Introduce dismiss event for text-expander-element
2020-11-25 16:00:52 +01:00
Chanakya Bhardwaj cde124344f Rename parameter. 2020-11-25 15:35:36 +01:00
iulia bejan 91eec2b936 remove bad extra char 2020-11-25 13:07:32 +01:00
Iulia Bejan 621832a863
rename test to be meaningful
Co-authored-by: Kristján Oddsson <koddsson@github.com>
2020-11-25 13:02:40 +01:00
Iulia Bejan 6a3a24e6a8
Update src/query.ts
Co-authored-by: Kristján Oddsson <koddsson@github.com>
2020-11-25 13:02:21 +01:00
Chanakya Bhardwaj 7399067bde Use match instead of new state flags. 2020-11-25 12:22:32 +01:00
iulia bejan 750494f767 add modifiers to text element class 2020-11-25 12:14:35 +01:00
iulia bejan 2ac7a87e29 decouple cursor position from deactivate functions 2020-11-25 11:39:53 +01:00
iulia bejan 857dc2ff02 Re-add "Small clean up for deactivation check." 2020-11-25 08:43:15 +01:00
Chanakya Bhardwaj be313fa0c6 Track current match index 2020-11-24 21:47:50 +01:00
Chanakya Bhardwaj 0c60ff2037 For multiword scenarios, ignore activation keys when a match is in progress. 2020-11-24 18:44:51 +00:00
iulia bejan 0a3bdc46a2 downgrade readme 2020-11-24 19:33:41 +01:00
iulia bejan 4dba363bc5 menu should not show after Esc in singleword mode either 2020-11-24 19:29:56 +01:00
iulia bejan 6807d7e6ba implement dismiss method instead of event 2020-11-24 19:02:57 +01:00
iulia bejan 512550c597 update README 2020-11-24 15:31:56 +01:00
iulia bejan 3f59add398 smallfix 2020-11-24 15:17:53 +01:00
Chanakya Bhardwaj 5201d5792d Revert "Small clean up for deactivation check."
This reverts commit cd81b9a36b.
2020-11-24 12:18:35 +01:00
iulia bejan 8ad2afc84c Merge branch 'main' of github.com:iulia-b/text-expander-element into main 2020-11-24 12:09:22 +01:00
iulia bejan 6983950fb6 add test for text-expander-dismiss 2020-11-24 12:09:11 +01:00
Chanakya Bhardwaj d1737fb12a Merge branch 'main' of github.com:iulia-b/text-expander-element into main 2020-11-24 10:36:31 +01:00
Chanakya Bhardwaj cd81b9a36b Small clean up for deactivation check. 2020-11-24 10:35:09 +01:00