Skip to content

Commit

Permalink
Update types location
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed Nov 27, 2021
1 parent 7b3abdc commit 83cd920
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 39 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions build/css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
4 changes: 2 additions & 2 deletions build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
4 changes: 2 additions & 2 deletions build/index.modern.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { KeyboardReactInterface } from "../interfaces";
export declare const parseProps: (props: KeyboardReactInterface["options"]) => {
theme: string;
layout?: import("simple-keyboard/build/types/interfaces").KeyboardLayoutObject | undefined;
layout?: import("simple-keyboard/build/interfaces").KeyboardLayoutObject | undefined;
layoutName?: string | undefined;
display?: {
[button: string]: string;
} | undefined;
mergeDisplay?: boolean | undefined;
buttonTheme?: import("simple-keyboard/build/types/interfaces").KeyboardButtonTheme[] | undefined;
buttonAttributes?: import("simple-keyboard/build/types/interfaces").KeyboardButtonAttributes[] | undefined;
buttonTheme?: import("simple-keyboard/build/interfaces").KeyboardButtonTheme[] | undefined;
buttonAttributes?: import("simple-keyboard/build/interfaces").KeyboardButtonAttributes[] | undefined;
debug?: boolean | undefined;
newLineOnEnter?: boolean | undefined;
tabCharOnTab?: boolean | undefined;
Expand Down Expand Up @@ -40,10 +40,10 @@ export declare const parseProps: (props: KeyboardReactInterface["options"]) => {
[key: string]: string[];
} | undefined;
layoutCandidatesPageSize?: number | undefined;
onRender?: ((instance?: import("simple-keyboard/build/types/components/Keyboard").default | undefined) => void) | undefined;
onInit?: ((instance?: import("simple-keyboard/build/types/components/Keyboard").default | undefined) => void) | undefined;
onRender?: ((instance?: import("simple-keyboard/build/components/Keyboard").default | undefined) => void) | undefined;
onInit?: ((instance?: import("simple-keyboard/build/components/Keyboard").default | undefined) => void) | undefined;
onChange?: ((input: string, e?: MouseEvent | undefined) => any) | undefined;
onChangeAll?: ((inputObj: import("simple-keyboard/build/types/interfaces").KeyboardInput, e?: MouseEvent | undefined) => any) | undefined;
onChangeAll?: ((inputObj: import("simple-keyboard/build/interfaces").KeyboardInput, e?: MouseEvent | undefined) => any) | undefined;
keyboardRef?: ((r: any) => void) | undefined;
};
export declare const changedProps: (prevProps: KeyboardReactInterface["options"], props: KeyboardReactInterface["options"]) => string[];
39 changes: 16 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "react-simple-keyboard",
"version": "3.3.42",
"version": "3.4.0",
"description": "React.js Virtual Keyboard",
"main": "build/index.js",
"types": "build/types/index.d.ts",
"scripts": {
"start": "webpack serve --config webpack.config.demo.js",
"build": "webpack && npm run build-modern && tsc",
Expand Down Expand Up @@ -75,7 +74,7 @@
"prettier-webpack-plugin": "^1.2.0",
"react": "^16.14.0 || ^17.0.0",
"react-dom": "^16.14.0 || ^17.0.0",
"simple-keyboard": "3.3.28",
"simple-keyboard": "3.4.1",
"style-loader": "^3.2.1",
"terser-webpack-plugin": "^5.2.5",
"typescript": "^4.5.2",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"noImplicitAny": true,
"outDir": "build/types",
"outDir": "build",
"module": "esnext",
"target": "es5",
"allowJs": true,
Expand Down

0 comments on commit 83cd920

Please sign in to comment.