chayns-api 3.4.2 → 3.4.3
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.
|
@@ -2,6 +2,7 @@ import { IBrowser, IEngine } from 'ua-parser-js';
|
|
|
2
2
|
import DialogHandler from '../handler/DialogHandler';
|
|
3
3
|
import { DialogButtonOld, SelectDialogItem } from './dialog';
|
|
4
4
|
import type { ChaynsHistoryLayer } from './history';
|
|
5
|
+
import type { HTMLAttributes } from "react";
|
|
5
6
|
export type DialogButton = {
|
|
6
7
|
type: DialogButtonType;
|
|
7
8
|
text: string;
|
|
@@ -169,6 +170,8 @@ export interface DialogInput {
|
|
|
169
170
|
*/
|
|
170
171
|
formatter?: (input: string) => string;
|
|
171
172
|
regex?: string;
|
|
173
|
+
autoComplete?: string;
|
|
174
|
+
inputMode?: HTMLAttributes<HTMLInputElement>["inputMode"];
|
|
172
175
|
}
|
|
173
176
|
export declare enum DialogSelectType {
|
|
174
177
|
DEFAULT = 0,
|