react-simple-keyboard 3.8.249 → 3.8.251
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/components/Keyboard.d.ts +0 -1
- package/build/components/KeyboardModern.d.ts +0 -1
- package/build/css/index.css +2 -2
- package/build/index.js +1 -1
- package/build/index.modern.esm.js +1 -1
- package/build/index.modern.esm.js.map +1 -1
- package/build/index.modern.js +1 -1
- package/build/index.modern.js.map +1 -1
- package/build/services/Utilities.d.ts +46 -46
- package/package.json +5 -5
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { KeyboardReactInterface } from "../interfaces";
|
|
2
2
|
export declare const parseProps: (props: KeyboardReactInterface["options"]) => {
|
|
3
3
|
theme: string;
|
|
4
|
-
layout?: import("../interfaces").KeyboardLayoutObject
|
|
5
|
-
layoutName?: string
|
|
4
|
+
layout?: import("../interfaces").KeyboardLayoutObject;
|
|
5
|
+
layoutName?: string;
|
|
6
6
|
display?: {
|
|
7
7
|
[button: string]: string;
|
|
8
|
-
}
|
|
9
|
-
mergeDisplay?: boolean
|
|
10
|
-
buttonTheme?: import("../interfaces").KeyboardButtonTheme[]
|
|
11
|
-
buttonAttributes?: import("../interfaces").KeyboardButtonAttributes[]
|
|
12
|
-
debug?: boolean
|
|
13
|
-
newLineOnEnter?: boolean
|
|
14
|
-
tabCharOnTab?: boolean
|
|
15
|
-
inputName?: string
|
|
8
|
+
};
|
|
9
|
+
mergeDisplay?: boolean;
|
|
10
|
+
buttonTheme?: import("../interfaces").KeyboardButtonTheme[];
|
|
11
|
+
buttonAttributes?: import("../interfaces").KeyboardButtonAttributes[];
|
|
12
|
+
debug?: boolean;
|
|
13
|
+
newLineOnEnter?: boolean;
|
|
14
|
+
tabCharOnTab?: boolean;
|
|
15
|
+
inputName?: string;
|
|
16
16
|
maxLength?: any;
|
|
17
|
-
syncInstanceInputs?: boolean
|
|
18
|
-
physicalKeyboardHighlight?: boolean
|
|
19
|
-
physicalKeyboardHighlightPress?: boolean
|
|
20
|
-
physicalKeyboardHighlightPressUseClick?: boolean
|
|
21
|
-
physicalKeyboardHighlightPressUsePointerEvents?: boolean
|
|
22
|
-
physicalKeyboardHighlightTextColor?: string
|
|
23
|
-
physicalKeyboardHighlightBgColor?: string
|
|
24
|
-
physicalKeyboardHighlightPreventDefault?: boolean
|
|
25
|
-
preventMouseDownDefault?: boolean
|
|
26
|
-
preventMouseUpDefault?: boolean
|
|
27
|
-
stopMouseDownPropagation?: boolean
|
|
28
|
-
stopMouseUpPropagation?: boolean
|
|
29
|
-
useButtonTag?: boolean
|
|
30
|
-
disableCaretPositioning?: boolean
|
|
17
|
+
syncInstanceInputs?: boolean;
|
|
18
|
+
physicalKeyboardHighlight?: boolean;
|
|
19
|
+
physicalKeyboardHighlightPress?: boolean;
|
|
20
|
+
physicalKeyboardHighlightPressUseClick?: boolean;
|
|
21
|
+
physicalKeyboardHighlightPressUsePointerEvents?: boolean;
|
|
22
|
+
physicalKeyboardHighlightTextColor?: string;
|
|
23
|
+
physicalKeyboardHighlightBgColor?: string;
|
|
24
|
+
physicalKeyboardHighlightPreventDefault?: boolean;
|
|
25
|
+
preventMouseDownDefault?: boolean;
|
|
26
|
+
preventMouseUpDefault?: boolean;
|
|
27
|
+
stopMouseDownPropagation?: boolean;
|
|
28
|
+
stopMouseUpPropagation?: boolean;
|
|
29
|
+
useButtonTag?: boolean;
|
|
30
|
+
disableCaretPositioning?: boolean;
|
|
31
31
|
inputPattern?: any;
|
|
32
|
-
useTouchEvents?: boolean
|
|
33
|
-
autoUseTouchEvents?: boolean
|
|
34
|
-
useMouseEvents?: boolean
|
|
35
|
-
disableButtonHold?: boolean
|
|
36
|
-
rtl?: boolean
|
|
37
|
-
enableLayoutCandidates?: boolean
|
|
32
|
+
useTouchEvents?: boolean;
|
|
33
|
+
autoUseTouchEvents?: boolean;
|
|
34
|
+
useMouseEvents?: boolean;
|
|
35
|
+
disableButtonHold?: boolean;
|
|
36
|
+
rtl?: boolean;
|
|
37
|
+
enableLayoutCandidates?: boolean;
|
|
38
38
|
layoutCandidates?: {
|
|
39
39
|
[key: string]: string;
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
excludeFromLayout?: {
|
|
42
42
|
[key: string]: string[];
|
|
43
|
-
}
|
|
44
|
-
layoutCandidatesPageSize?: number
|
|
45
|
-
layoutCandidatesCaseSensitiveMatch?: boolean
|
|
46
|
-
disableCandidateNormalization?: boolean
|
|
47
|
-
enableLayoutCandidatesKeyPress?: boolean
|
|
48
|
-
updateCaretOnSelectionChange?: boolean
|
|
49
|
-
clickOnMouseDown?: boolean
|
|
50
|
-
onRender?: (
|
|
51
|
-
onInit?: (
|
|
52
|
-
onChange?: (
|
|
53
|
-
onChangeAll?: (
|
|
54
|
-
onKeyPress?: (
|
|
55
|
-
onKeyReleased?: (
|
|
56
|
-
beforeInputUpdate?: (
|
|
57
|
-
keyboardRef?: (
|
|
43
|
+
};
|
|
44
|
+
layoutCandidatesPageSize?: number;
|
|
45
|
+
layoutCandidatesCaseSensitiveMatch?: boolean;
|
|
46
|
+
disableCandidateNormalization?: boolean;
|
|
47
|
+
enableLayoutCandidatesKeyPress?: boolean;
|
|
48
|
+
updateCaretOnSelectionChange?: boolean;
|
|
49
|
+
clickOnMouseDown?: boolean;
|
|
50
|
+
onRender?: (instance: import("../interfaces").SimpleKeyboard) => void;
|
|
51
|
+
onInit?: (instance: import("../interfaces").SimpleKeyboard) => void;
|
|
52
|
+
onChange?: (input: string, e?: MouseEvent) => any;
|
|
53
|
+
onChangeAll?: (inputObj: import("../interfaces").KeyboardInput, e?: MouseEvent) => any;
|
|
54
|
+
onKeyPress?: (button: string, e?: MouseEvent) => any;
|
|
55
|
+
onKeyReleased?: (button: string, e?: MouseEvent) => any;
|
|
56
|
+
beforeInputUpdate?: (instance: import("../interfaces").SimpleKeyboard) => void;
|
|
57
|
+
keyboardRef?: (r: any) => void;
|
|
58
58
|
};
|
|
59
59
|
export declare const changedProps: (prevProps: KeyboardReactInterface["options"], props: KeyboardReactInterface["options"]) => string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-simple-keyboard",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.251",
|
|
4
4
|
"description": "React.js Virtual Keyboard",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"module": "build/index.modern.esm.js",
|
|
@@ -91,18 +91,18 @@
|
|
|
91
91
|
"enzyme": "^3.11.0",
|
|
92
92
|
"eslint": "^7.32.0",
|
|
93
93
|
"file-loader": "^6.2.0",
|
|
94
|
-
"html-webpack-plugin": "^5.6.
|
|
94
|
+
"html-webpack-plugin": "^5.6.8",
|
|
95
95
|
"jest": "^30.0.0",
|
|
96
96
|
"jest-environment-jsdom": "^30.4.1",
|
|
97
97
|
"mini-css-extract-plugin": "^2.10.2",
|
|
98
|
-
"postcss": "^8.5.
|
|
98
|
+
"postcss": "^8.5.23",
|
|
99
99
|
"postcss-loader": "^8.2.1",
|
|
100
100
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
101
101
|
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
102
|
-
"simple-keyboard": "^3.8.
|
|
102
|
+
"simple-keyboard": "^3.8.172",
|
|
103
103
|
"style-loader": "^4.0.0",
|
|
104
104
|
"terser-webpack-plugin": "^5.6.1",
|
|
105
|
-
"typescript": "^
|
|
105
|
+
"typescript": "^6.0.3",
|
|
106
106
|
"url-loader": "^4.1.1",
|
|
107
107
|
"webpack": "^5.109.0",
|
|
108
108
|
"webpack-cli": "^6.0.1",
|