kui-basic 1.1.80 → 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 +8 -3
- package/index.d.ts +8 -3
- package/package.json +1 -1
package/InputWithMask/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { HTMLInputTypeAttribute } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { InputMaskElement } from 'imask';
|
|
3
|
+
import MaskedProps from 'react-imask/esm';
|
|
5
4
|
|
|
6
5
|
type InputMessageVariant = "error" | "warning" | "success"
|
|
7
6
|
|
|
@@ -32,7 +31,13 @@ interface InputWithAdornmentsProps extends InputProps {
|
|
|
32
31
|
|
|
33
32
|
type InputWithMaskProps = {
|
|
34
33
|
value?: string | number | undefined
|
|
35
|
-
|
|
34
|
+
unmask?: boolean | "typed" | undefined
|
|
35
|
+
} & MaskedProps.MaskedNumber &
|
|
36
|
+
MaskedProps.Masked &
|
|
37
|
+
MaskedProps.MaskedPattern &
|
|
38
|
+
MaskedProps.MaskedDynamic &
|
|
39
|
+
MaskedProps.MaskedRegExp &
|
|
40
|
+
MaskedProps.MaskedFunction &
|
|
36
41
|
InputWithAdornmentsProps
|
|
37
42
|
|
|
38
43
|
type InputWithMaskType = (
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent, ReactNode, RefObject } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { InputMaskElement } from 'imask';
|
|
3
|
+
import MaskedProps from 'react-imask/esm';
|
|
5
4
|
import { Placement } from '@floating-ui/react';
|
|
6
5
|
import { MiddlewareData } from '@floating-ui/core/src/types';
|
|
7
6
|
|
|
@@ -383,7 +382,13 @@ declare const InputWithCountryDropdown: InputWithCountryDropdownType
|
|
|
383
382
|
|
|
384
383
|
type InputWithMaskProps = {
|
|
385
384
|
value?: string | number | undefined
|
|
386
|
-
|
|
385
|
+
unmask?: boolean | "typed" | undefined
|
|
386
|
+
} & MaskedProps.MaskedNumber &
|
|
387
|
+
MaskedProps.Masked &
|
|
388
|
+
MaskedProps.MaskedPattern &
|
|
389
|
+
MaskedProps.MaskedDynamic &
|
|
390
|
+
MaskedProps.MaskedRegExp &
|
|
391
|
+
MaskedProps.MaskedFunction &
|
|
387
392
|
InputWithAdornmentsProps
|
|
388
393
|
|
|
389
394
|
type InputWithMaskType = (
|