kui-basic 1.1.90 → 1.1.91
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/Input/index.d.ts +27 -23
- package/InputWithAdornments/index.d.ts +23 -19
- package/InputWithCountryDropdown/index.d.ts +23 -19
- package/InputWithMask/index.d.ts +23 -19
- package/index.d.ts +27 -23
- package/package.json +1 -1
package/Input/index.d.ts
CHANGED
|
@@ -3,29 +3,33 @@ import { HTMLInputTypeAttribute } from 'react';
|
|
|
3
3
|
|
|
4
4
|
type InputMessageVariant = "error" | "warning" | "success"
|
|
5
5
|
|
|
6
|
-
interface InputProps
|
|
7
|
-
extends
|
|
8
|
-
React.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
type
|
|
28
|
-
|
|
6
|
+
interface InputProps
|
|
7
|
+
extends Omit<
|
|
8
|
+
React.DetailedHTMLProps<
|
|
9
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
10
|
+
HTMLInputElement
|
|
11
|
+
>,
|
|
12
|
+
"value"
|
|
13
|
+
>,
|
|
14
|
+
React.AriaAttributes {
|
|
15
|
+
isTextArea?: boolean
|
|
16
|
+
inputRef?: React.RefObject<HTMLInputElement | null>
|
|
17
|
+
inputStyles?: string
|
|
18
|
+
labelStyles?: string
|
|
19
|
+
label?: string
|
|
20
|
+
startIcon?: string | React.ReactElement | boolean
|
|
21
|
+
endIcon?: string | React.ReactElement | boolean
|
|
22
|
+
messageClassName?: string
|
|
23
|
+
labelInlineStyles?: string
|
|
24
|
+
message?: string | null
|
|
25
|
+
messageVariant?: InputMessageVariant
|
|
26
|
+
inputValue?: string | number | undefined
|
|
27
|
+
type?: HTMLInputTypeAttribute
|
|
28
|
+
value?: string | number | null
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type InputType = (props: InputProps) => React.ReactElement
|
|
32
|
+
|
|
29
33
|
declare const Input: InputType
|
|
30
34
|
|
|
31
35
|
export { InputProps, InputType, Input as default };
|
|
@@ -3,25 +3,29 @@ import { HTMLInputTypeAttribute } from 'react';
|
|
|
3
3
|
|
|
4
4
|
type InputMessageVariant = "error" | "warning" | "success"
|
|
5
5
|
|
|
6
|
-
interface InputProps
|
|
7
|
-
extends
|
|
8
|
-
React.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
interface InputProps
|
|
7
|
+
extends Omit<
|
|
8
|
+
React.DetailedHTMLProps<
|
|
9
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
10
|
+
HTMLInputElement
|
|
11
|
+
>,
|
|
12
|
+
"value"
|
|
13
|
+
>,
|
|
14
|
+
React.AriaAttributes {
|
|
15
|
+
isTextArea?: boolean
|
|
16
|
+
inputRef?: React.RefObject<HTMLInputElement | null>
|
|
17
|
+
inputStyles?: string
|
|
18
|
+
labelStyles?: string
|
|
19
|
+
label?: string
|
|
20
|
+
startIcon?: string | React.ReactElement | boolean
|
|
21
|
+
endIcon?: string | React.ReactElement | boolean
|
|
22
|
+
messageClassName?: string
|
|
23
|
+
labelInlineStyles?: string
|
|
24
|
+
message?: string | null
|
|
25
|
+
messageVariant?: InputMessageVariant
|
|
26
|
+
inputValue?: string | number | undefined
|
|
27
|
+
type?: HTMLInputTypeAttribute
|
|
28
|
+
value?: string | number | null
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
interface InputWithAdornmentsProps extends InputProps {
|
|
@@ -3,25 +3,29 @@ import { HTMLInputTypeAttribute } from 'react';
|
|
|
3
3
|
|
|
4
4
|
type InputMessageVariant = "error" | "warning" | "success"
|
|
5
5
|
|
|
6
|
-
interface InputProps
|
|
7
|
-
extends
|
|
8
|
-
React.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
interface InputProps
|
|
7
|
+
extends Omit<
|
|
8
|
+
React.DetailedHTMLProps<
|
|
9
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
10
|
+
HTMLInputElement
|
|
11
|
+
>,
|
|
12
|
+
"value"
|
|
13
|
+
>,
|
|
14
|
+
React.AriaAttributes {
|
|
15
|
+
isTextArea?: boolean
|
|
16
|
+
inputRef?: React.RefObject<HTMLInputElement | null>
|
|
17
|
+
inputStyles?: string
|
|
18
|
+
labelStyles?: string
|
|
19
|
+
label?: string
|
|
20
|
+
startIcon?: string | React.ReactElement | boolean
|
|
21
|
+
endIcon?: string | React.ReactElement | boolean
|
|
22
|
+
messageClassName?: string
|
|
23
|
+
labelInlineStyles?: string
|
|
24
|
+
message?: string | null
|
|
25
|
+
messageVariant?: InputMessageVariant
|
|
26
|
+
inputValue?: string | number | undefined
|
|
27
|
+
type?: HTMLInputTypeAttribute
|
|
28
|
+
value?: string | number | null
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
interface InputWithAdornmentsProps extends InputProps {
|
package/InputWithMask/index.d.ts
CHANGED
|
@@ -3,25 +3,29 @@ import { HTMLInputTypeAttribute } from 'react';
|
|
|
3
3
|
|
|
4
4
|
type InputMessageVariant = "error" | "warning" | "success"
|
|
5
5
|
|
|
6
|
-
interface InputProps
|
|
7
|
-
extends
|
|
8
|
-
React.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
interface InputProps
|
|
7
|
+
extends Omit<
|
|
8
|
+
React.DetailedHTMLProps<
|
|
9
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
10
|
+
HTMLInputElement
|
|
11
|
+
>,
|
|
12
|
+
"value"
|
|
13
|
+
>,
|
|
14
|
+
React.AriaAttributes {
|
|
15
|
+
isTextArea?: boolean
|
|
16
|
+
inputRef?: React.RefObject<HTMLInputElement | null>
|
|
17
|
+
inputStyles?: string
|
|
18
|
+
labelStyles?: string
|
|
19
|
+
label?: string
|
|
20
|
+
startIcon?: string | React.ReactElement | boolean
|
|
21
|
+
endIcon?: string | React.ReactElement | boolean
|
|
22
|
+
messageClassName?: string
|
|
23
|
+
labelInlineStyles?: string
|
|
24
|
+
message?: string | null
|
|
25
|
+
messageVariant?: InputMessageVariant
|
|
26
|
+
inputValue?: string | number | undefined
|
|
27
|
+
type?: HTMLInputTypeAttribute
|
|
28
|
+
value?: string | number | null
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
interface InputWithAdornmentsProps extends InputProps {
|
package/index.d.ts
CHANGED
|
@@ -307,29 +307,33 @@ type InputMessageType = (props: InputMessageProps) => React.ReactElement
|
|
|
307
307
|
|
|
308
308
|
declare const InputMessage: InputMessageType
|
|
309
309
|
|
|
310
|
-
interface InputProps
|
|
311
|
-
extends
|
|
312
|
-
React.
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
type
|
|
332
|
-
|
|
310
|
+
interface InputProps
|
|
311
|
+
extends Omit<
|
|
312
|
+
React.DetailedHTMLProps<
|
|
313
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
314
|
+
HTMLInputElement
|
|
315
|
+
>,
|
|
316
|
+
"value"
|
|
317
|
+
>,
|
|
318
|
+
React.AriaAttributes {
|
|
319
|
+
isTextArea?: boolean
|
|
320
|
+
inputRef?: React.RefObject<HTMLInputElement | null>
|
|
321
|
+
inputStyles?: string
|
|
322
|
+
labelStyles?: string
|
|
323
|
+
label?: string
|
|
324
|
+
startIcon?: string | React.ReactElement | boolean
|
|
325
|
+
endIcon?: string | React.ReactElement | boolean
|
|
326
|
+
messageClassName?: string
|
|
327
|
+
labelInlineStyles?: string
|
|
328
|
+
message?: string | null
|
|
329
|
+
messageVariant?: InputMessageVariant
|
|
330
|
+
inputValue?: string | number | undefined
|
|
331
|
+
type?: HTMLInputTypeAttribute
|
|
332
|
+
value?: string | number | null
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
type InputType = (props: InputProps) => React.ReactElement
|
|
336
|
+
|
|
333
337
|
declare const Input: InputType
|
|
334
338
|
|
|
335
339
|
interface InputFileProps
|