Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-imask

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-imask - npm Package Compare versions

Comparing version 6.5.0-alpha.0 to 6.5.0-alpha.1

28

dist/input.d.ts
import React from 'react';
declare const IMaskInput: React.ForwardRefExoticComponent<(Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: DateConstructor;
} & Partial<Pick<import("imask").default.Masked<DateConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedPattern<DateConstructor>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedDate, "parse" | "format" | "pattern" | "min" | "max" | "autofix">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<DateConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedPattern<DateConstructor>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedDate, "parse" | "format" | "pattern" | "min" | "max" | "autofix">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: NumberConstructor;
} & Partial<Pick<import("imask").default.Masked<NumberConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedNumber, "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "signed" | "normalizeZeros" | "padFractionalZeros">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<NumberConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedNumber, "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "signed" | "normalizeZeros" | "padFractionalZeros">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: string;
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: string;
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedRange, "autofix" | "maxLength" | "from" | "to">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedRange, "autofix" | "maxLength" | "from" | "to">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.AnyMaskedOptionsArray;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.AnyMaskedOptionsArray;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedDynamic, "dispatch">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedDynamic, "dispatch">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: RegExp;
} & Partial<Pick<import("imask").default.Masked<RegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<RegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: Function;
} & Partial<Pick<import("imask").default.Masked<Function>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<Function>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.AnyMaskedOptionsMasked;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsMasked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsMasked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedFunction;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedFunction>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedFunction>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedRegExp;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedEnum;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedEnum>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedEnum>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedRange;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRange>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRange>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: typeof import("imask").default.Masked;
} & Partial<Pick<import("imask").default.Masked<typeof import("imask").default.Masked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref">) & React.RefAttributes<React.ComponentType<import("./mixin").IMaskInputProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement, import("./mixin").ReactElementProps<import("./mixin").ReactElement>>>>>;
} & Partial<Pick<import("imask").default.Masked<typeof import("imask").default.Masked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref">) & React.RefAttributes<React.ComponentType<import("./mixin").IMaskInputProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement, import("./mixin").ReactElementProps<import("./mixin").ReactElement>>>>>;
export default IMaskInput;

@@ -206,3 +206,4 @@ (function (global, factory) {

overwrite: PropTypes__default["default"].oneOfType([PropTypes__default["default"].bool, PropTypes__default["default"].oneOf(['shift'])]),
eager: PropTypes__default["default"].bool,
eager: PropTypes__default["default"].oneOfType([PropTypes__default["default"].bool, PropTypes__default["default"].oneOf(['append', 'remove'])]),
skipInvalid: PropTypes__default["default"].bool,
// events

@@ -209,0 +210,0 @@ onAccept: PropTypes__default["default"].func,

import React from 'react';
declare const IMaskInput: React.ForwardRefExoticComponent<(Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: DateConstructor;
} & Partial<Pick<import("imask").default.Masked<DateConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedPattern<DateConstructor>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedDate, "parse" | "format" | "pattern" | "min" | "max" | "autofix">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<DateConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedPattern<DateConstructor>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedDate, "parse" | "format" | "pattern" | "min" | "max" | "autofix">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: NumberConstructor;
} & Partial<Pick<import("imask").default.Masked<NumberConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedNumber, "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "signed" | "normalizeZeros" | "padFractionalZeros">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<NumberConstructor>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedNumber, "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "signed" | "normalizeZeros" | "padFractionalZeros">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: string;
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: string;
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedRange, "autofix" | "maxLength" | "from" | "to">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<string>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedPattern<string>, "blocks" | "definitions" | "placeholderChar" | "lazy">> & Partial<Pick<import("imask").default.MaskedRange, "autofix" | "maxLength" | "from" | "to">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.AnyMaskedOptionsArray;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.AnyMaskedOptionsArray;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & Partial<Pick<import("imask").default.MaskedDynamic, "dispatch">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsArray>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & Partial<Pick<import("imask").default.MaskedDynamic, "dispatch">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: RegExp;
} & Partial<Pick<import("imask").default.Masked<RegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<RegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: Function;
} & Partial<Pick<import("imask").default.Masked<Function>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<Function>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.AnyMaskedOptionsMasked;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsMasked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.AnyMaskedOptionsMasked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedFunction;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedFunction>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedFunction>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedRegExp;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRegExp>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedEnum;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedEnum>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedEnum>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: import("imask").default.MaskedRange;
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRange>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
} & Partial<Pick<import("imask").default.Masked<import("imask").default.MaskedRange>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref"> | Omit<import("./mixin").ReactElementProps<import("./mixin").ReactElement> & {
mask: typeof import("imask").default.Masked;
} & Partial<Pick<import("imask").default.Masked<typeof import("imask").default.Masked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref">) & React.RefAttributes<React.ComponentType<import("./mixin").IMaskInputProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement, import("./mixin").ReactElementProps<import("./mixin").ReactElement>>>>>;
} & Partial<Pick<import("imask").default.Masked<typeof import("imask").default.Masked>, "parent" | "prepare" | "validate" | "commit" | "overwrite" | "eager" | "skipInvalid">> & import("./mixin").ReactMaskProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement>, "ref">) & React.RefAttributes<React.ComponentType<import("./mixin").IMaskInputProps<import("imask").default.AnyMaskedOptions, false, string, import("./mixin").ReactElement, import("./mixin").ReactElementProps<import("./mixin").ReactElement>>>>>;
export default IMaskInput;

@@ -15,3 +15,4 @@ import { b as _inherits, c as _createSuper, d as _createClass, e as _classCallCheck, f as _assertThisInitialized, g as _objectDestructuringEmpty } from './_rollupPluginBabelHelpers-99d8e6d1.js';

overwrite: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['shift'])]),
eager: PropTypes.bool,
eager: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['append', 'remove'])]),
skipInvalid: PropTypes.bool,
// events

@@ -18,0 +19,0 @@ onAccept: PropTypes.func,

{
"name": "react-imask",
"version": "6.5.0-alpha.0",
"version": "6.5.0-alpha.1",
"license": "MIT",

@@ -23,3 +23,3 @@ "author": "Alexey Kryazhev",

"dependencies": {
"imask": "^6.5.0-alpha.0",
"imask": "^6.5.0-alpha.1",
"prop-types": "^15.8.1"

@@ -33,3 +33,3 @@ },

},
"gitHead": "686035f5cd81507e6104de966f169dcd6706dd07",
"gitHead": "07202ef43e199cfedcc852d65021b3e3dc2ffc09",
"devDependencies": {

@@ -36,0 +36,0 @@ "@types/react": "^18.0.20",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc