33465b9c49
This PR tries to move some remaining kbds into actions and tools, which allows them to be overwritten in actions or tools if developer wishes so. It also modifies `getHotkeysStringFromKbd` to support multiple `kbds` per action and parses them into proper hotkeys. Right now, these kbds cannot be removed without reimplementing `useKeyboardShortcuts` entirely. ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [ ] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [x] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan Should not affect existing kbds behavior as it just moves them into actions or tools. --------- Co-authored-by: Steve Ruiz <steveruizok@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
editor | ||
file-format | ||
indices | ||
polyfills | ||
primitives | ||
store | ||
tldraw | ||
tlschema | ||
ui | ||
utils | ||
validate |