@db-ux/v-core-components 3.0.8 → 3.1.0
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/dist/components/input/input.vue.d.ts +5 -0
- package/dist/components/input/model.d.ts +21 -1
- package/dist/db-ux.es.js +994 -973
- package/dist/db-ux.umd.js +1 -1
- package/package.json +5 -5
|
@@ -51,6 +51,11 @@ declare const __VLS_component: import("vue").DefineComponent<DBInputProps, {}, {
|
|
|
51
51
|
max: number | string;
|
|
52
52
|
min: number | string;
|
|
53
53
|
step: number | string;
|
|
54
|
+
enterkeyhint: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
55
|
+
inputmode: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
56
|
+
messageSize: import("../../shared/model").SizeType;
|
|
57
|
+
validMessageSize: import("../../shared/model").SizeType;
|
|
58
|
+
invalidMessageSize: import("../../shared/model").SizeType;
|
|
54
59
|
maxLength: number | string;
|
|
55
60
|
minLength: number | string;
|
|
56
61
|
maxlength: number | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, FromValidState, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, InputEventProps, InputEventState, ShowIconLeadingProps, ShowIconProps, ShowIconTrailingProps, ValueLabelType } from '../../shared/model';
|
|
1
|
+
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, FromValidState, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, InputEventProps, InputEventState, ShowIconLeadingProps, ShowIconProps, ShowIconTrailingProps, SizeType, ValueLabelType } from '../../shared/model';
|
|
2
2
|
export declare const InputTypeList: readonly ["color", "date", "datetime-local", "email", "file", "hidden", "month", "number", "password", "range", "search", "tel", "text", "time", "url", "week"];
|
|
3
3
|
export type InputTypeType = (typeof InputTypeList)[number];
|
|
4
4
|
export type DBInputDefaultProps = {
|
|
@@ -34,6 +34,26 @@ export type DBInputDefaultProps = {
|
|
|
34
34
|
* Sets [step value](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step).
|
|
35
35
|
*/
|
|
36
36
|
step?: number | string;
|
|
37
|
+
/**
|
|
38
|
+
* Hint for the [enter key behavior](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint) on virtual keyboards.
|
|
39
|
+
*/
|
|
40
|
+
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
41
|
+
/**
|
|
42
|
+
* Hint for [virtual keyboard](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) selection.
|
|
43
|
+
*/
|
|
44
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
45
|
+
/**
|
|
46
|
+
* The size of the message infotext. Defaults to "small".
|
|
47
|
+
*/
|
|
48
|
+
messageSize?: SizeType;
|
|
49
|
+
/**
|
|
50
|
+
* The size of the valid message infotext. Defaults to "small".
|
|
51
|
+
*/
|
|
52
|
+
validMessageSize?: SizeType;
|
|
53
|
+
/**
|
|
54
|
+
* The size of the invalid message infotext. Defaults to "small".
|
|
55
|
+
*/
|
|
56
|
+
invalidMessageSize?: SizeType;
|
|
37
57
|
};
|
|
38
58
|
export type DBInputProps = DBInputDefaultProps & GlobalProps & FormTextProps & InputEventProps<HTMLInputElement> & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & IconProps & IconTrailingProps & FormMessageProps & ShowIconProps & IconLeadingProps & ShowIconLeadingProps & ShowIconTrailingProps & FormSizeProps;
|
|
39
59
|
export type DBInputDefaultState = {
|