kui-basic 1.1.81 → 1.1.82

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.
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { HTMLInputTypeAttribute } from 'react';
3
- import MaskedProps from 'react-imask/esm';
4
3
 
5
4
  type InputMessageVariant = "error" | "warning" | "success"
6
5
 
@@ -29,16 +28,7 @@ interface InputWithAdornmentsProps extends InputProps {
29
28
  cornerLabel?: string
30
29
  }
31
30
 
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
31
+ type InputWithMaskProps = any & InputWithAdornmentsProps
42
32
 
43
33
  type InputWithMaskType = (
44
34
  props: InputWithMaskProps
package/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent, ReactNode, RefObject } from 'react';
3
- import MaskedProps from 'react-imask/esm';
4
3
  import { Placement } from '@floating-ui/react';
5
4
  import { MiddlewareData } from '@floating-ui/core/src/types';
6
5
 
@@ -380,16 +379,7 @@ type InputWithCountryDropdownType = (
380
379
 
381
380
  declare const InputWithCountryDropdown: InputWithCountryDropdownType
382
381
 
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
382
+ type InputWithMaskProps = any & InputWithAdornmentsProps
393
383
 
394
384
  type InputWithMaskType = (
395
385
  props: InputWithMaskProps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-basic",
3
- "version": "1.1.81",
3
+ "version": "1.1.82",
4
4
  "private": false,
5
5
  "description": "React UI Components for Maroom projects",
6
6
  "author": {