Releases: hodgef/simple-keyboard
Version 2.31.0 (Stable)
Release 2.31.0 includes the following updates:
- Added
rtl
option
When set totrue
, this option adds unicode directional control characters\u202B
and\u202C
toonChange()
andgetInput()
returns. This helps to address issues when using simple-keyboard with right-to-left layouts.
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.30.0 (Stable)
Release 2.30.0 includes the following updates:
- Input selection is now supported (#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/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.29.0 (Stable)
Release 2.29.0 amends the method setOptions
. Now this function will only re-render the rows when certain options are changed, instead of re-rendering systematically. This in turn resolves an issue in react-simple-keyboard.
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.28.0 (Stable)
Release 2.28.0 includes the following updates:
- 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 here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.27.0 (Stable)
Release 2.27.0 includes the following updates:
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 here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.26.0 (Stable)
Release 2.26.0 includes the following updates:
💥 Breaking Changes
The following changes affect lesser known features and require no action from most users :
- Removed unminified dist in order to reduce package size and build times. (d186fb1)
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.25.0 (Stable)
Release 2.25.0 includes the following updates:
- Option
buttonAttributes
added. This allows you to add attributes to buttons in your virtual keyboard. - Other optimizations and fixes.
💥 Breaking Changes
The following changes affect lesser known features and require no action from most users :
- Removed "data-displayLabel" attribute.
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.24.0 (Stable)
Release 2.24.0 includes the option onKeyReleased
, which allows you to add an action when a keyboard button is released. It also includes code optimization and fixes.
💥 Breaking Changes
The following changes affect library internals and require no action from most users :
keyboard.physicalKeyboardInterface
is nowkeyboard.physicalKeyboard
- Options no longer passed to
keyboard.utilities.getUpdatedInput
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.23.0 (Stable)
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/documentation/#disableButtonHold
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls
Version 2.22.0 (Stable)
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/documentation/#destroy
Got any improvements to suggest? Please feel free to open an issue here:
https://github.com/hodgef/simple-keyboard/issues
Or even better, submit a PR :)
https://github.com/hodgef/simple-keyboard/pulls