kui-basic 1.1.77 → 1.1.80

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/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent, ReactNode, RefObject } from 'react';
3
+ import { IMaskInputProps } from 'react-imask/esm/mixin';
4
+ import { InputMaskElement } from 'imask';
3
5
  import { Placement } from '@floating-ui/react';
4
6
  import { MiddlewareData } from '@floating-ui/core/src/types';
5
7
 
@@ -379,15 +381,15 @@ type InputWithCountryDropdownType = (
379
381
 
380
382
  declare const InputWithCountryDropdown: InputWithCountryDropdownType
381
383
 
382
- interface InputWithMaskProps extends InputWithAdornmentsProps {
383
- mask?: string
384
- value?: string | number | undefined
385
- }
386
-
387
- type InputWithMaskType = (
388
- props: InputWithMaskProps
389
- ) => React.ReactElement
390
-
384
+ type InputWithMaskProps = {
385
+ value?: string | number | undefined
386
+ } & IMaskInputProps<InputMaskElement> &
387
+ InputWithAdornmentsProps
388
+
389
+ type InputWithMaskType = (
390
+ props: InputWithMaskProps
391
+ ) => React.ReactElement
392
+
391
393
  declare const InputWithMask: InputWithMaskType
392
394
 
393
395
  type ModalSizes = "small" | "large"