kui-basic 1.1.79 → 1.1.81
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/InputWithMask/index.d.ts +16 -9
- package/index.d.ts +16 -9
- package/package.json +1 -1
package/InputWithMask/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { HTMLInputTypeAttribute } from 'react';
|
|
3
|
+
import MaskedProps from 'react-imask/esm';
|
|
3
4
|
|
|
4
5
|
type InputMessageVariant = "error" | "warning" | "success"
|
|
5
6
|
|
|
@@ -28,15 +29,21 @@ interface InputWithAdornmentsProps extends InputProps {
|
|
|
28
29
|
cornerLabel?: string
|
|
29
30
|
}
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
type InputWithMaskProps = {
|
|
33
|
+
value?: string | number | undefined
|
|
34
|
+
unmask?: boolean | "typed" | undefined
|
|
35
|
+
} & MaskedProps.MaskedNumber &
|
|
36
|
+
MaskedProps.Masked &
|
|
37
|
+
MaskedProps.MaskedPattern &
|
|
38
|
+
MaskedProps.MaskedDynamic &
|
|
39
|
+
MaskedProps.MaskedRegExp &
|
|
40
|
+
MaskedProps.MaskedFunction &
|
|
41
|
+
InputWithAdornmentsProps
|
|
42
|
+
|
|
43
|
+
type InputWithMaskType = (
|
|
44
|
+
props: InputWithMaskProps
|
|
45
|
+
) => React.ReactElement
|
|
46
|
+
|
|
40
47
|
declare const InputWithMask: InputWithMaskType
|
|
41
48
|
|
|
42
49
|
export { InputWithMaskProps, InputWithMaskType, InputWithMask as default };
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent, ReactNode, RefObject } from 'react';
|
|
3
|
+
import MaskedProps from 'react-imask/esm';
|
|
3
4
|
import { Placement } from '@floating-ui/react';
|
|
4
5
|
import { MiddlewareData } from '@floating-ui/core/src/types';
|
|
5
6
|
|
|
@@ -379,15 +380,21 @@ type InputWithCountryDropdownType = (
|
|
|
379
380
|
|
|
380
381
|
declare const InputWithCountryDropdown: InputWithCountryDropdownType
|
|
381
382
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
383
|
+
type InputWithMaskProps = {
|
|
384
|
+
value?: string | number | undefined
|
|
385
|
+
unmask?: boolean | "typed" | undefined
|
|
386
|
+
} & MaskedProps.MaskedNumber &
|
|
387
|
+
MaskedProps.Masked &
|
|
388
|
+
MaskedProps.MaskedPattern &
|
|
389
|
+
MaskedProps.MaskedDynamic &
|
|
390
|
+
MaskedProps.MaskedRegExp &
|
|
391
|
+
MaskedProps.MaskedFunction &
|
|
392
|
+
InputWithAdornmentsProps
|
|
393
|
+
|
|
394
|
+
type InputWithMaskType = (
|
|
395
|
+
props: InputWithMaskProps
|
|
396
|
+
) => React.ReactElement
|
|
397
|
+
|
|
391
398
|
declare const InputWithMask: InputWithMaskType
|
|
392
399
|
|
|
393
400
|
type ModalSizes = "small" | "large"
|