Skip to content

Releases: hodgef/simple-keyboard

Version 2.31.0 (Stable)

16 Oct 04:20
Compare
Choose a tag to compare

Release 2.31.0 includes the following updates:

  • Added rtl option
    When set to true, this option adds unicode directional control characters \u202B and \u202C to onChange() and getInput() 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)

03 Sep 05:04
Compare
Choose a tag to compare

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 use keyboard.setCaretPosition(n) and keyboard.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)

23 Apr 02:16
Compare
Choose a tag to compare

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)

07 Feb 04:55
Compare
Choose a tag to compare

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);

(See full demo)

  • 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)

07 Nov 16:53
Compare
Choose a tag to compare

Release 2.27.0 includes the following updates:

  • Improved garbage collection (d92f84f)
  • Adjusted active button class handling (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 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)

04 Sep 14:18
Compare
Choose a tag to compare

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)

12 Aug 01:26
Compare
Choose a tag to compare

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)

14 Jul 15:34
Compare
Choose a tag to compare

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 :

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)

06 Jun 02:31
Compare
Choose a tag to compare

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)

02 Jun 07:18
Compare
Choose a tag to compare

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