Releases: mixedrays/keyrove
Releases · mixedrays/keyrove
Release list
v2.0.0
2.0.0 (2026-09-07)
⚠ BREAKING CHANGES
- data-keyrove-cols-length is renamed to data-keyrove-cols
(KEYROVE_ATTR_COLS_LENGTH → KEYROVE_ATTR_COLS). In a grid, next-key/prev-key
now move one cell instead of one row — bind next-row-key/prev-row-key for
row moves. MoveAction gains nextRow, prevRow, homeRow and endRow; grid row
moves report nextRow/prevRow instead of next/prev. Default cell arrows flip
under RTL, and bare Home/End in a grid are row-relative.
Features
- accept control, option, cmd and command as modifier names (e2f741b)
- focus an item from anywhere with its own data-keyrove-focus-key (607c54d)
- implement logic to focus the first item in demos on page load (f9f0a3d)
- leave a press alone while an IME composition is in progress (8ac90ad)
- make every move rebindable through its own *-key attribute (7becd56)
- unify list and grid navigation on a folded-sequence model (657e09c)
Bug Fixes
- share the group layer across handlers and survive a document-level listener (c05a0d1)
v1.0.0
1.0.0 (2026-08-30)
⚠ BREAKING CHANGES
- the callbacks option and the Callbacks type are gone; use
onMove ({ action, from, to }) and the MoveAction/MoveResult/Move types.
Features
- add createTypeahead type-to-focus (18e93e5)
- add list loop wrapping and RTL-aware horizontal orientation (120cb7e)
- match keys as combos with exact modifier matching (88ab1eb)
- replace callbacks with onMove and a structured return value (c659a71)
- skip key handling inside editable targets (161fa4f)
Bug Fixes
- preventDefault only once a navigation target resolves (1d059f3)