Commit Graph
34 Commits
Author SHA1 Message Date
braks 84969ab451 fix(core): prevent delete action if inside input field 2024-04-29 20:56:09 +02:00
braks b0f1bf0b85 fix(core): add options to useKeyPress 2024-04-29 20:56:09 +02:00
braks e5a84656ad refactor(core): replace vueuse imports with vue 2024-02-21 23:27:01 +01:00
braks fbb3f63134 chore(core): update composable jsdocs 2024-02-15 17:46:21 +01:00
braks be9e58092a chore(core): cleanup condition 2024-01-25 08:57:52 +01:00
braks 2b82098fab fix(core,key-press): check if key or code exists before matching 2024-01-25 08:57:52 +01:00
braks 347715dd11 fix(core,key-filter): return false from bool key filter 2024-01-21 14:35:35 +01:00
braks 6162389cc2 revert(core): cleanup imports from vueuse/core that exist in vue
This reverts commit 7cc798ad
2023-11-08 16:22:15 +01:00
braks 17e5966e4f revert(core): import toValue from vueuse/core to avoid ambiguous export 2023-11-08 15:12:28 +01:00
braks 7cc798adae chore(core): cleanup imports from vueuse/core that exist in vue 2023-11-08 08:27:12 +01:00
braks 53be29de8a chore(core): cleanup 2023-10-30 13:36:07 +01:00
braks 785f147236 perf(core): cleanup possible re-bindings of listeners in useKeyPress 2023-10-30 13:36:07 +01:00
braks 11138a6d9a fix(core): create predicate for string key filters 2023-10-30 13:36:07 +01:00
braks 2a407f59e3 refactor(core): add stub for addEventListener in useWindow 2023-10-30 13:36:07 +01:00
braks 505ecc4c21 fix(core): reset isPressed value when switching from boolean to other keyfilter 2023-08-21 17:44:20 +02:00
braks 65c3a05d84 chore(core): cleanup 2023-08-21 17:44:20 +02:00
braks f095917e97 fix(core): clear key on keyup so combinations work during simultaneous keypress 2023-08-21 17:44:20 +02:00
braks 0867637b50 fix(core): allow passing key combination as string 2023-08-21 17:44:20 +02:00
braks e3e6a03359 refactor(core): add explicit imports and remove auto-imports
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48:26 +02:00
braks 5a86c7cf1d chore: update deps
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-25 20:48:26 +02:00
braks 13d3be9c33 chore(core): cleanup unnecessary refs 2023-05-25 20:48:26 +02:00
braks 85dcbf4b46 fix(core): pass selectionKeyCode ref to useKeyPress
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-05-05 11:02:58 +02:00
braks 72cd853502 chore(core): remove reactivity transform from useKeyPress
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-11 20:28:02 +02:00
braks 5560949ed1 chore: lint files
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-04-11 20:28:02 +02:00
braks 0501151e94 fix(core): correct return type of getIncomers & getOutgoers
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-03-24 14:35:46 +01:00
braks d51499de96 refactor(core): support key combinations for key codes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-17 21:25:41 +01:00
braks b7605d6149 fix(core): always handle keyup
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-16 18:39:46 +01:00
braks 1e88fdaa1d chore(core): cleanup key press composable
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2023-01-12 22:29:13 +01:00
braks 9f50dd0865 feat(core,nodes): implement a11y in nodes
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-20 00:38:56 +01:00
braks 9ac4a0fbd2 fix(core): input focus preventing selection rect
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-19 16:44:29 +01:00
braks 91d7c9d52a fix(core): allow null as key-code
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
2022-12-02 15:03:28 +01:00
braks 406b20b8ba chore(core): cleanup import paths 2022-11-17 17:55:20 +01:00
braks 1f722f5494 refactor(core): use event.composedPath as event target for input dom node check 2022-11-06 21:38:00 +01:00
braks 082050b164 refactor(core): rename core pkg dir to core 2022-10-10 21:33:44 +02:00