Build update

This commit is contained in:
Francisco Hodge
2023-03-06 02:39:14 +00:00
parent f0e59919ef
commit f959dababd
6 changed files with 10 additions and 9 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import "./css/Keyboard.css";
import PhysicalKeyboard from "../services/PhysicalKeyboard";
import Utilities from "../services/Utilities";
import { KeyboardOptions, KeyboardInput, KeyboardButtonElements, KeyboardHandlerEvent, KeyboardElement } from "../interfaces";
import CandidateBox from "./CandidateBox";
/**
@@ -12,7 +13,7 @@ import CandidateBox from "./CandidateBox";
declare class SimpleKeyboard {
input: KeyboardInput;
options: KeyboardOptions;
utilities: any;
utilities: Utilities;
caretPosition: number | null;
caretPositionEnd: number | null;
keyboardDOM: KeyboardElement;
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
*
* simple-keyboard v3.5.26
* simple-keyboard v3.5.27
* https://github.com/hodgef/simple-keyboard
*
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
+2 -2
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -99,7 +99,7 @@ declare class Utilities {
* @param {object} display The provided display option
* @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.
*/
getButtonDisplayName(button: string, display: KeyboardOptions["display"], mergeDisplay: boolean): string;
getButtonDisplayName(button: string, display: KeyboardOptions["display"], mergeDisplay?: boolean): string;
/**
* Returns the updated input resulting from clicking a given button
*
@@ -109,7 +109,7 @@ declare class Utilities {
* @param {number} caretPosEnd The cursor's current end position
* @param {boolean} moveCaret Whether to update simple-keyboard's cursor
*/
getUpdatedInput(button: string, input: string, caretPos: number, caretPosEnd?: number, moveCaret?: boolean): string;
getUpdatedInput(button: string, input: string, caretPos: any, caretPosEnd?: any, moveCaret?: boolean): string;
/**
* Moves the cursor position by a given amount
*