Build update

This commit is contained in:
Francisco Hodge 2022-11-17 09:03:35 +00:00
parent be83e71918
commit 8b0a4a1902
4 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v3.4.187 * simple-keyboard v3.4.188
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors. * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.

View File

@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v3.4.187 * simple-keyboard v3.4.188
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors. * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.

View File

@ -1,6 +1,6 @@
/*! /*!
* *
* simple-keyboard v3.4.187 (index.modern.js - Modern Browsers bundle) * simple-keyboard v3.4.188 (index.modern.js - Modern Browsers bundle)
* https://github.com/hodgef/simple-keyboard * https://github.com/hodgef/simple-keyboard
* *
* NOTE: This modern browsers bundle (index.modern.js) removes all polyfills * NOTE: This modern browsers bundle (index.modern.js) removes all polyfills

12
build/interfaces.d.ts vendored
View File

@ -3,7 +3,7 @@ import Utilities from "./services/Utilities";
export interface KeyboardLayoutObject { export interface KeyboardLayoutObject {
[key: string]: string[]; [key: string]: string[];
} }
export declare type KeyboardButtonTheme = { export type KeyboardButtonTheme = {
class: string; class: string;
buttons: string; buttons: string;
} | null; } | null;
@ -15,23 +15,23 @@ export interface KeyboardButtonAttributes {
export interface KeyboardInput { export interface KeyboardInput {
[key: string]: string; [key: string]: string;
} }
export declare type CandidateBoxParams = { export type CandidateBoxParams = {
utilities: Utilities; utilities: Utilities;
}; };
export declare type CandidateBoxShowParams = { export type CandidateBoxShowParams = {
candidateValue: string; candidateValue: string;
targetElement: KeyboardElement; targetElement: KeyboardElement;
onSelect: (selectedCandidate: string, e: MouseEvent) => void; onSelect: (selectedCandidate: string, e: MouseEvent) => void;
}; };
export declare type CandidateBoxRenderParams = { export type CandidateBoxRenderParams = {
candidateListPages: string[][]; candidateListPages: string[][];
targetElement: KeyboardElement; targetElement: KeyboardElement;
pageIndex: number; pageIndex: number;
nbPages: number; nbPages: number;
onItemSelected: (selectedCandidate: string, e: MouseEvent) => void; onItemSelected: (selectedCandidate: string, e: MouseEvent) => void;
}; };
export declare type KeyboardElement = HTMLDivElement | HTMLButtonElement; export type KeyboardElement = HTMLDivElement | HTMLButtonElement;
export declare type KeyboardHandlerEvent = any; export type KeyboardHandlerEvent = any;
export interface KeyboardButtonElements { export interface KeyboardButtonElements {
[key: string]: KeyboardElement[]; [key: string]: KeyboardElement[];
} }