Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/sibling-subgroup-fix.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/stale-swans-take.md

This file was deleted.

20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# tabspot

## 0.3.0

### Minor Changes

- [#5](https://github.com/JLAcostaEC/tabspot/pull/5) [`f455c72`](https://github.com/JLAcostaEC/tabspot/commit/f455c72b3037173d7fba70beab4c3941d4cfbeb1) Thanks [@JLAcostaEC](https://github.com/JLAcostaEC)! - feat: replace root `manageEscape` and `manageHomeEnd` with a single `manageSpecialKeys` option.

`manageSpecialKeys` accepts either a boolean (`true` handles all special keys) or a per-key object toggling `Escape`, `Home`, `End`, `PageUp`, and `PageDown` individually. Keys use the exact `KeyboardEvent.key` strings; omitted keys default to off.

Migration:

- `{ manageEscape: true }` → `{ manageSpecialKeys: { Escape: true } }`
- `{ manageHomeEnd: true }` → `{ manageSpecialKeys: { Home: true, End: true, PageUp: true, PageDown: true } }`
- both true → `{ manageSpecialKeys: true }`

### Patch Changes

- [#7](https://github.com/JLAcostaEC/tabspot/pull/7) [`f1d8007`](https://github.com/JLAcostaEC/tabspot/commit/f1d80070cc2ffacf3cdc28d953a50a2d717d932a) Thanks [@JLAcostaEC](https://github.com/JLAcostaEC)! - fix: prevent entering a previous sibling's subgroup from the next sibling.

A grouper is entered only through its anchor (the focusable immediately preceding it). `findAdjacentGrouperWithEnter` previously also searched backward, which let a focusable that comes _after_ a grouper enter that grouper's sublevel — crossing sibling boundaries. Pressing the cross-axis arrow (e.g. ArrowRight) on a sibling that follows a grouper now correctly does nothing.

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabspot",
"version": "0.2.0",
"version": "0.3.0",
"description": "Keyboard navigation engine for hierarchical interfaces",
"keywords": [
"a11y",
Expand Down