@mw-kit/mw-ui 1.6.14 → 1.7.1

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.
Files changed (42) hide show
  1. package/dist/components/Filters/AppliedFilters/components/Menu/index.d.ts +4 -0
  2. package/dist/components/Filters/AppliedFilters/components/Menu/interfaces.d.ts +5 -0
  3. package/dist/components/Filters/AppliedFilters/components/Menu/styles.d.ts +5 -0
  4. package/dist/components/Filters/AppliedFilters/index.d.ts +3 -1
  5. package/dist/components/Filters/AppliedFilters/interfaces.d.ts +3 -3
  6. package/dist/components/Filters/Button/index.d.ts +4 -0
  7. package/dist/components/Filters/Button/interfaces.d.ts +5 -0
  8. package/dist/components/Filters/Button/styles.d.ts +1 -0
  9. package/dist/components/Filters/Filters/components/Menu/index.d.ts +4 -0
  10. package/dist/components/Filters/Filters/components/Menu/interfaces.d.ts +5 -0
  11. package/dist/components/Filters/Filters/index.d.ts +3 -1
  12. package/dist/components/Filters/Filters/interfaces.d.ts +3 -3
  13. package/dist/components/Filters/styles.d.ts +1 -0
  14. package/dist/components/Input/components/DateIntervalPicker/functions.d.ts +3 -3
  15. package/dist/components/Input/components/DateIntervalPicker/interfaces.d.ts +2 -1
  16. package/dist/components/Input/components/DateTime/index.d.ts +4 -0
  17. package/dist/components/Input/components/DateTime/interfaces.d.ts +10 -0
  18. package/dist/components/Input/components/DateTime/styles.d.ts +1 -0
  19. package/dist/components/Input/components/Input/interfaces.d.ts +1 -4
  20. package/dist/components/Input/components/Tags/components/Input/index.d.ts +4 -0
  21. package/dist/components/Input/components/Tags/components/Input/interfaces.d.ts +12 -0
  22. package/dist/components/Input/components/Tags/components/Input/styles.d.ts +2 -0
  23. package/dist/components/Input/components/Tags/components/Label/index.d.ts +4 -0
  24. package/dist/components/Input/components/Tags/components/Label/interfaces.d.ts +4 -0
  25. package/dist/components/Input/components/Tags/components/Label/styles.d.ts +2 -0
  26. package/dist/components/Input/components/Tags/components/Tag/index.d.ts +4 -0
  27. package/dist/components/Input/components/Tags/components/Tag/interfaces.d.ts +5 -0
  28. package/dist/components/Input/components/Tags/components/Tag/styles.d.ts +2 -0
  29. package/dist/components/Input/components/Tags/components/index.d.ts +3 -0
  30. package/dist/components/Input/components/Tags/index.d.ts +4 -0
  31. package/dist/components/Input/components/Tags/interfaces.d.ts +25 -0
  32. package/dist/components/Input/components/Tags/styles.d.ts +3 -0
  33. package/dist/components/Input/{components/Input/functions.d.ts → functions.d.ts} +0 -0
  34. package/dist/components/Input/index.d.ts +4 -2
  35. package/dist/components/Input/interfaces.d.ts +4 -0
  36. package/dist/index.js +835 -198
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.modern.js +835 -198
  39. package/dist/index.modern.js.map +1 -1
  40. package/dist/interfaces.d.ts +1 -0
  41. package/package.json +1 -1
  42. package/dist/components/Filters/AppliedFilters/styles.d.ts +0 -5
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { AppliedFiltersMenuProps } from './interfaces';
3
+ declare const AppliedFiltersMenu: (props: AppliedFiltersMenuProps) => JSX.Element;
4
+ export default AppliedFiltersMenu;
@@ -0,0 +1,5 @@
1
+ import { Common } from '../../interfaces';
2
+ export interface AppliedFiltersMenuProps extends Common {
3
+ open: boolean;
4
+ close: () => void;
5
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("../../../../AbsoluteContainer/interfaces").AbsoluteContainerProps, "children" | "dir" | "slot" | "style" | "title" | "id" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "open" | "position" | "axis" | "center" | "transition" | "height" | "maxWidth" | "maxHeight" | "references" | "zIndex"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const Item: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { AppliedFiltersProps } from './interfaces';
3
- declare const AppliedFilters: (props: AppliedFiltersProps) => JSX.Element;
3
+ declare const AppliedFilters: ((props: AppliedFiltersProps) => JSX.Element) & {
4
+ Menu: (props: import("./components/Menu/interfaces").AppliedFiltersMenuProps) => JSX.Element;
5
+ };
4
6
  export default AppliedFilters;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
+ import { ButtonProps } from '../Button/interfaces';
2
3
  import { AppliedFilter } from '../interfaces';
3
- export interface AppliedFiltersProps {
4
- open: boolean;
5
- close: () => void;
4
+ export interface Common {
6
5
  appliedFilters: [AppliedFilter[], React.Dispatch<React.SetStateAction<AppliedFilter[]>>];
7
6
  }
7
+ export declare type AppliedFiltersProps = Common & ButtonProps;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps } from './interfaces';
3
+ declare const Button: (props: ButtonProps) => JSX.Element;
4
+ export default Button;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface ButtonProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ disabled?: true;
4
+ getContent: (open: boolean, close: () => void) => JSX.Element;
5
+ }
@@ -0,0 +1 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { FiltersMenuProps } from './interfaces';
3
+ declare const FiltersMenu: (props: FiltersMenuProps) => JSX.Element;
4
+ export default FiltersMenu;
@@ -0,0 +1,5 @@
1
+ import { Common } from '../../interfaces';
2
+ export interface FiltersMenuProps extends Common {
3
+ open: boolean;
4
+ close: () => void;
5
+ }
@@ -1,4 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FiltersProps } from './interfaces';
3
- declare const Filters: (props: FiltersProps) => JSX.Element;
3
+ declare const Filters: ((props: FiltersProps) => JSX.Element) & {
4
+ Menu: (props: import("./components/Menu/interfaces").FiltersMenuProps) => JSX.Element;
5
+ };
4
6
  export default Filters;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ElementOrString, SpacingOrZero } from '../../../interfaces';
3
+ import { ButtonProps } from '../Button/interfaces';
3
4
  import { AppliedFilter } from '../interfaces';
4
5
  export interface Label {
5
6
  text: string;
@@ -37,10 +38,9 @@ export interface Filter {
37
38
  /** espacamento das opcoes deste filtro, default s1 */
38
39
  optionSpacing?: SpacingOrZero;
39
40
  }
40
- export interface FiltersProps {
41
- open: boolean;
41
+ export interface Common {
42
42
  items: Filter[];
43
- close: () => void;
44
43
  setAppliedFilters: React.Dispatch<React.SetStateAction<AppliedFilter[]>>;
45
44
  }
45
+ export declare type FiltersProps = Common & ButtonProps;
46
46
  export {};
@@ -0,0 +1 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,5 +1,5 @@
1
1
  import { IntervalType, IntervalTypes } from './interfaces';
2
- export declare const validate: (value: [Date, Date], min?: Date, max?: Date) => boolean;
2
+ export declare const validate: (value: [Date | null, Date | null], min?: Date, max?: Date) => boolean;
3
3
  export declare const intervalTypes: IntervalTypes;
4
- export declare const identify: (value: [Date, Date]) => IntervalType;
5
- export declare const parse: (value: [string, string]) => [Date, Date];
4
+ export declare const identify: (value: [Date | null, Date | null]) => IntervalType;
5
+ export declare const parse: (value: [string, string]) => [Date | null, Date | null];
@@ -1,4 +1,5 @@
1
1
  import { InputProps } from '../Input/interfaces';
2
+ export declare type IntervalType = 'day' | 'week' | 'month' | 'custom';
2
3
  export interface DateIntervalPickerProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'htmlDisabled' | 'clearable' | 'onPressEnter' | 'min' | 'max' | 'setValue'> {
3
4
  type: 'date-interval-picker';
4
5
  value: [string, string];
@@ -6,6 +7,7 @@ export interface DateIntervalPickerProps extends Omit<InputProps, 'type' | 'mask
6
7
  getLabel?: (value: [string, string]) => string;
7
8
  max?: Date;
8
9
  min?: Date;
10
+ only?: IntervalType;
9
11
  }
10
12
  export interface Variation {
11
13
  label: (prev: [Date, Date]) => string;
@@ -17,7 +19,6 @@ export interface Variation {
17
19
  max?: Date;
18
20
  };
19
21
  }
20
- export declare type IntervalType = 'day' | 'week' | 'month' | 'custom';
21
22
  export declare type IntervalTypes = {
22
23
  [key in IntervalType]: Variation;
23
24
  };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { DateTimeProps } from './interfaces';
3
+ declare const DateTime: React.ForwardRefExoticComponent<DateTimeProps & React.RefAttributes<HTMLInputElement>>;
4
+ export default DateTime;
@@ -0,0 +1,10 @@
1
+ import { InputProps } from '../Input/interfaces';
2
+ export interface DateTimeProps extends Omit<InputProps, 'type' | 'mask' | 'icon' | 'min' | 'max'> {
3
+ type: 'datetime';
4
+ picker?: boolean;
5
+ value?: string;
6
+ max?: Date;
7
+ min?: Date;
8
+ seconds?: boolean;
9
+ step?: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second';
10
+ }
@@ -0,0 +1 @@
1
+ export declare const RelativeContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,10 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ElementOrString } from '../../../../interfaces';
3
3
  import { IconProps } from '../../../Icon/interfaces';
4
- export declare type MaskFunction = (value: string) => string;
5
- export declare type MaskReplace = [RegExp, string];
6
- export declare type MaskReplaceArray = MaskReplace[];
7
- export declare type Mask = MaskFunction | MaskReplace | MaskReplaceArray;
4
+ import { Mask } from '../../interfaces';
8
5
  export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
9
6
  label?: ElementOrString;
10
7
  invalid?: boolean;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { InputProps } from './interfaces';
3
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
4
+ export default Input;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { Mask } from '../../../../interfaces';
3
+ export interface StyledInputProps extends React.HTMLAttributes<HTMLInputElement> {
4
+ disabled?: boolean;
5
+ invalid?: boolean;
6
+ minWidth?: string;
7
+ }
8
+ export interface InputProps extends StyledInputProps {
9
+ mask?: Mask;
10
+ value: [string, (value: string) => void];
11
+ onPressEnter: React.KeyboardEventHandler<HTMLInputElement>;
12
+ }
@@ -0,0 +1,2 @@
1
+ import { StyledInputProps } from './interfaces';
2
+ export declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, StyledInputProps, never>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { LabelProps } from './interfaces';
3
+ declare const Label: (props: LabelProps) => JSX.Element | null;
4
+ export default Label;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export interface LabelProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ required?: boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ import { LabelProps } from './interfaces';
2
+ export declare const Label: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, LabelProps, never>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { TagProps } from './interfaces';
3
+ declare const Tag: (props: TagProps) => JSX.Element;
4
+ export default Tag;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ invalid?: boolean;
4
+ onClose: React.MouseEventHandler<HTMLDivElement>;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { TagProps } from './interfaces';
2
+ export declare const Tag: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TagProps, never>;
@@ -0,0 +1,3 @@
1
+ export { default as Input } from './Input';
2
+ export { default as Label } from './Label';
3
+ export { default as Tag } from './Tag';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { TagsProps } from './interfaces';
3
+ declare const Tags: React.ForwardRefExoticComponent<TagsProps & React.RefAttributes<HTMLInputElement>>;
4
+ export default Tags;
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { ElementOrString } from '../../../../interfaces';
3
+ import { InputProps } from './components/Input/interfaces';
4
+ export interface LabelProps extends React.HTMLAttributes<HTMLLabelElement> {
5
+ disabled?: boolean;
6
+ width?: string;
7
+ }
8
+ export interface TagContainerProps extends React.HTMLAttributes<HTMLDivElement> {
9
+ invalid?: boolean;
10
+ }
11
+ export interface TagsProps {
12
+ type: 'tags';
13
+ label?: ElementOrString;
14
+ width?: string;
15
+ disabled?: boolean;
16
+ loading?: boolean;
17
+ invalid?: boolean;
18
+ required?: boolean;
19
+ input?: Omit<InputProps, 'onPressEnter' | 'invalid'>;
20
+ value: string[];
21
+ setValue: (value: string[]) => void;
22
+ validate?: (value: string) => boolean;
23
+ onBeforeAdd?: (value: string) => string;
24
+ unique?: boolean;
25
+ }
@@ -0,0 +1,3 @@
1
+ import { LabelProps, TagContainerProps } from './interfaces';
2
+ export declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, LabelProps, never>;
3
+ export declare const TagContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TagContainerProps, never>;
@@ -11,8 +11,10 @@ import { SwitchProps } from './components/Switch/interfaces';
11
11
  import { RangeProps } from './components/Range/interfaces';
12
12
  import { RadioButtonProps } from './components/RadioButton/interfaces';
13
13
  import { DateIntervalPickerProps } from './components/DateIntervalPicker/interfaces';
14
- export declare type Props = DateProps | TimeProps | CheckboxProps | SelectProps | PasswordProps | PhoneProps | DatePickerProps | RangeProps | DefaultInputProps | SwitchProps | RadioButtonProps | DateIntervalPickerProps;
15
- declare const Input: React.ForwardRefExoticComponent<(TimeProps & React.RefAttributes<HTMLInputElement>) | (DefaultInputProps & React.RefAttributes<HTMLInputElement>) | (DateProps & React.RefAttributes<HTMLInputElement>) | (CheckboxProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/Select/interfaces").SelectProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/SelectMultiple/interfaces").SelectProps & React.RefAttributes<HTMLInputElement>) | (PasswordProps & React.RefAttributes<HTMLInputElement>) | (PhoneProps & React.RefAttributes<HTMLInputElement>) | (DatePickerProps & React.RefAttributes<HTMLInputElement>) | (RangeProps & React.RefAttributes<HTMLInputElement>) | (SwitchProps & React.RefAttributes<HTMLInputElement>) | (RadioButtonProps & React.RefAttributes<HTMLInputElement>) | (DateIntervalPickerProps & React.RefAttributes<HTMLInputElement>)> & {
14
+ import { TagsProps } from './components/Tags/interfaces';
15
+ import { DateTimeProps } from './components/DateTime/interfaces';
16
+ export declare type Props = DateProps | TimeProps | CheckboxProps | SelectProps | PasswordProps | PhoneProps | DatePickerProps | RangeProps | DefaultInputProps | SwitchProps | RadioButtonProps | DateIntervalPickerProps | TagsProps | DateTimeProps;
17
+ declare const Input: React.ForwardRefExoticComponent<(TimeProps & React.RefAttributes<HTMLInputElement>) | (DefaultInputProps & React.RefAttributes<HTMLInputElement>) | (DateProps & React.RefAttributes<HTMLInputElement>) | (CheckboxProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/Select/interfaces").SelectProps & React.RefAttributes<HTMLInputElement>) | (import("./components/Select/hooks/SelectMultiple/interfaces").SelectProps & React.RefAttributes<HTMLInputElement>) | (PasswordProps & React.RefAttributes<HTMLInputElement>) | (PhoneProps & React.RefAttributes<HTMLInputElement>) | (DatePickerProps & React.RefAttributes<HTMLInputElement>) | (RangeProps & React.RefAttributes<HTMLInputElement>) | (SwitchProps & React.RefAttributes<HTMLInputElement>) | (RadioButtonProps & React.RefAttributes<HTMLInputElement>) | (DateIntervalPickerProps & React.RefAttributes<HTMLInputElement>) | (TagsProps & React.RefAttributes<HTMLInputElement>) | (DateTimeProps & React.RefAttributes<HTMLInputElement>)> & {
16
18
  useDefaultDateIntervalState: () => [string, string];
17
19
  getPhoneDetails: (phone: string) => import("./components/Phone/interfaces").Details | null;
18
20
  };
@@ -0,0 +1,4 @@
1
+ export declare type MaskFunction = (value: string) => string;
2
+ export declare type MaskReplace = [RegExp, string];
3
+ export declare type MaskReplaceArray = MaskReplace[];
4
+ export declare type Mask = MaskFunction | MaskReplace | MaskReplaceArray;