simple-keyboard 3.7.108 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/interfaces.d.ts
CHANGED
|
@@ -216,6 +216,10 @@ export interface KeyboardOptions {
|
|
|
216
216
|
* Enables onKeyPress triggering for layoutCandidate items
|
|
217
217
|
*/
|
|
218
218
|
enableLayoutCandidatesKeyPress?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Updates caret when selectionchange event is fired
|
|
221
|
+
*/
|
|
222
|
+
updateCaretOnSelectionChange?: boolean;
|
|
219
223
|
/**
|
|
220
224
|
* Executes the callback function every time simple-keyboard is rendered (e.g: when you change layouts).
|
|
221
225
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simple-keyboard",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"description": "On-screen Javascript Virtual Keyboard",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@babel/plugin-transform-typescript": "^7.25.2",
|
|
46
46
|
"@babel/polyfill": "^7.12.1",
|
|
47
47
|
"@babel/preset-env": "^7.25.4",
|
|
48
|
-
"@types/jest": "^
|
|
48
|
+
"@types/jest": "^29.5.13",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
50
50
|
"@typescript-eslint/parser": "^5.62.0",
|
|
51
51
|
"autoprefixer": "^10.4.20",
|
|
@@ -58,7 +58,8 @@
|
|
|
58
58
|
"eslint": "^8.57.0",
|
|
59
59
|
"file-loader": "^6.2.0",
|
|
60
60
|
"html-webpack-plugin": "^5.6.0",
|
|
61
|
-
"jest": "^
|
|
61
|
+
"jest": "^29.7.0",
|
|
62
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
62
63
|
"mini-css-extract-plugin": "^2.9.1",
|
|
63
64
|
"postcss": "^8.4.45",
|
|
64
65
|
"postcss-loader": "^8.1.1",
|
|
@@ -71,6 +72,7 @@
|
|
|
71
72
|
"webpack-dev-server": "4.15.0"
|
|
72
73
|
},
|
|
73
74
|
"jest": {
|
|
75
|
+
"testEnvironment": "jsdom",
|
|
74
76
|
"roots": [
|
|
75
77
|
"<rootDir>/src"
|
|
76
78
|
],
|