Releases: hodgef/react-simple-keyboard
Version 2.4.0 (Stable)
Release 2.4.0 upgrades react-simple-keyboard
to simple-keyboard
2.30.0.
To learn more about the changes included, check out the release details for [email protected]
Changelog
- Input selection is now supported (hodgef/simple-keyboard#637)
💥 Breaking Changes
The following changes affect library internals and require no action from most users :
- The logic regarding caret positioning has been changed. If you use
keyboard.caretPosition
, please usekeyboard.setCaretPosition(n)
andkeyboard.getCaretPosition()
instead.
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/react-simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 2.3.0 (Stable)
Release 2.3.0 fixes an issue that caused hooks and state issues for users (see #545). It also adds better debugging to trace re-render issues.
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 2.2.0 (Stable)
Release 2.2.0 upgrades react-simple-keyboard
to simple-keyboard
2.28.0.
To learn more about the changes included, check out the release details for [email protected]
Changelog
- Added ability to pass an HTMLDivElement instead of a class string as keyboard target. (#416)
const elem = document.createElement("div"); elem.className = "my-keyboard"; // div *must* have a class this.keyboard = new Keyboard(elem, { // options }); document.body.appendChild(elem);
- Moved theme styles to
hg-theme-default
, fixing some styling issues that appeared when the class.simple-keyboard
was not used.- Internal: Codebase cleanup.
💥 Breaking Changes
The following changes affect library internals and require no action from most users :
- Removed internal variable
keyboardDOMQuery
.
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 2.1.0 (Stable)
Release 2.1.0 upgrades react-simple-keyboard
to simple-keyboard
2.27.0.
To learn more about the changes included, check out the release details for [email protected]
Changelog
- Improved garbage collection (hodgef/simple-keyboard@d92f84f)
- Adjusted active button class handling (hodgef/simple-keyboard@0c481cb)
Thanks
A big thank you to @Entkenntnis for submitting the active button class feature in PR #287.
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 2.0.0 (Stable)
Release 2.0.0 migrates react-simple-keyboard
to a function component using react hooks. (#191)
Looking to use react-simple-keyboard in a function component? Check out the demo here:
https://codesandbox.io/s/github/simple-keyboard/react-simple-keyboard-hooks-demo/tree/master/
💥 Breaking Changes
The following changes affect most users using class components, when upgrading from 1.x to 2.x:
- The way to get a keyboard instance has changed, as function components cannot have refs:
BEFORE:
<Keyboard
ref={r => this.keyboardRef = r}
/>
this.keyboardRef.keyboard.setInput("Hello");
NOW:
<Keyboard
keyboardRef={r => this.keyboard = r}
/>
this.keyboard.setInput("Hello");
The main demos and the documentation have been updated to reflect this change.
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 1.26.0 (Stable)
Release 1.26.0 upgrades react-simple-keyboard
to simple-keyboard
2.25.1.
To learn more about the changes included, check out the release details for [email protected]
Changelog
- Option
buttonAttributes
added. This allows you to add attributes to buttons in your virtual keyboard.- Other optimizations and fixes.
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 1.24.0 (Stable)
Release 1.24.0 upgrades react-simple-keyboard
to simple-keyboard
2.23.0.
To learn more about the changes included, check out the release details for [email protected]
Changelog
Release 2.23.0 includes the option
disableButtonHold
, which allows you to disable button hold action
Learn more about it here:
https://simple-keyboard.com/react/documentation/#disableButtonHold
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 1.23.0 (Stable)
Release 1.23.0 upgrades react-simple-keyboard
to simple-keyboard
2.22.0.
To learn more about the changes included, check out the release details for [email protected]
Changelog
Release 2.22.0 includes the method
destroy
, which removes simple-keyboard event listeners and DOM elements on request.
Learn more about it here:
https://simple-keyboard.com/react/documentation/#destroy
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 1.22.0 (Stable)
Release 1.22.0 updates react-simple-keyboard's codebase to [email protected].
This ensures that the build process is up to date and bug free.
Learn more about js-library-boilerplate here:
https://github.com/hodgef/js-library-boilerplate
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls
Version 1.21.0 (Stable)
Release 1.21.0 upgrades react-simple-keyboard
to simple-keyboard
2.20.0.
To learn more about the changes included, check out the release details for [email protected]
Changelog
Release 2.20.0 includes the option
stopMouseDownPropagation
, which prevents button down events from bubbling to parent elements.
Learn more about it here:
https://simple-keyboard.com/react/documentation/#stopMouseDownPropagation
Got any improvements to suggest? Please feel free to open an issue or reach out on the community chat:
http://franciscohodge.com/simple-keyboard/chat/join
Or even better, submit a PR :)
https://github.com/hodgef/react-simple-keyboard/pulls