New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flywire/react-headlessui

Package Overview
Dependencies
Maintainers
13
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flywire/react-headlessui - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

2

dist/cjs/types/components/Field/components/Input.d.ts
/// <reference types="react" />
declare const Input: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & import("react").RefAttributes<HTMLInputElement>>;
declare const Input: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import("react").InputHTMLAttributes<HTMLInputElement> | "key"> & import("react").RefAttributes<HTMLInputElement>>;
export default Input;
//# sourceMappingURL=Input.d.ts.map

@@ -1,300 +0,13 @@

import { ChangeEvent, InputHTMLAttributes } from 'react';
interface Props extends InputHTMLAttributes<HTMLInputElement> {
import { RefObject, InputHTMLAttributes } from 'react';
declare type Props = InputHTMLAttributes<HTMLInputElement> & {
initialValue?: string;
mask: string;
}
declare function useMaskInput({ initialValue, mask, onChange, ...rest }: Props): {
inputProps: {
accept?: string | undefined;
alt?: string | undefined;
autoComplete?: string | undefined;
autoFocus?: boolean | undefined;
capture?: boolean | "user" | "environment" | undefined;
checked?: boolean | undefined;
crossOrigin?: string | undefined;
disabled?: boolean | undefined;
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
form?: string | undefined;
formAction?: string | undefined;
formEncType?: string | undefined;
formMethod?: string | undefined;
formNoValidate?: boolean | undefined;
formTarget?: string | undefined;
height?: string | number | undefined;
list?: string | undefined;
max?: string | number | undefined;
maxLength: number;
min?: string | number | undefined;
minLength?: number | undefined;
multiple?: boolean | undefined;
name?: string | undefined;
pattern?: string | undefined;
placeholder?: string | undefined;
readOnly?: boolean | undefined;
required?: boolean | undefined;
size?: number | undefined;
src?: string | undefined;
step?: string | number | undefined;
type?: import("react").HTMLInputTypeAttribute | undefined;
value: string | number | readonly string[];
width?: string | number | undefined;
defaultChecked?: boolean | undefined;
defaultValue?: string | number | readonly string[] | undefined;
suppressContentEditableWarning?: boolean | undefined;
suppressHydrationWarning?: boolean | undefined;
accessKey?: string | undefined;
className?: string | undefined;
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
contextMenu?: string | undefined;
dir?: string | undefined;
draggable?: (boolean | "true" | "false") | undefined;
hidden?: boolean | undefined;
id?: string | undefined;
lang?: string | undefined;
slot?: string | undefined;
spellCheck?: (boolean | "true" | "false") | undefined;
style?: import("react").CSSProperties | undefined;
tabIndex?: number | undefined;
title?: string | undefined;
translate?: "yes" | "no" | undefined;
radioGroup?: string | undefined;
role?: import("react").AriaRole | undefined;
about?: string | undefined;
datatype?: string | undefined;
inlist?: any;
prefix?: string | undefined;
property?: string | undefined;
resource?: string | undefined;
typeof?: string | undefined;
vocab?: string | undefined;
autoCapitalize?: string | undefined;
autoCorrect?: string | undefined;
autoSave?: string | undefined;
color?: string | undefined;
itemProp?: string | undefined;
itemScope?: boolean | undefined;
itemType?: string | undefined;
itemID?: string | undefined;
itemRef?: string | undefined;
results?: number | undefined;
security?: string | undefined;
unselectable?: "on" | "off" | undefined;
inputMode?: "text" | "decimal" | "search" | "email" | "tel" | "url" | "none" | "numeric" | undefined;
is?: string | undefined;
'aria-activedescendant'?: string | undefined;
'aria-atomic'?: (boolean | "true" | "false") | undefined;
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
'aria-busy'?: (boolean | "true" | "false") | undefined;
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
'aria-colcount'?: number | undefined;
'aria-colindex'?: number | undefined;
'aria-colspan'?: number | undefined;
'aria-controls'?: string | undefined;
'aria-current'?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location" | undefined;
'aria-describedby'?: string | undefined;
'aria-details'?: string | undefined;
'aria-disabled'?: (boolean | "true" | "false") | undefined;
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
'aria-errormessage'?: string | undefined;
'aria-expanded'?: (boolean | "true" | "false") | undefined;
'aria-flowto'?: string | undefined;
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
'aria-hidden'?: (boolean | "true" | "false") | undefined;
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
'aria-keyshortcuts'?: string | undefined;
'aria-label'?: string | undefined;
'aria-labelledby'?: string | undefined;
'aria-level'?: number | undefined;
'aria-live'?: "off" | "assertive" | "polite" | undefined;
'aria-modal'?: (boolean | "true" | "false") | undefined;
'aria-multiline'?: (boolean | "true" | "false") | undefined;
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
'aria-orientation'?: "horizontal" | "vertical" | undefined;
'aria-owns'?: string | undefined;
'aria-placeholder'?: string | undefined;
'aria-posinset'?: number | undefined;
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
'aria-readonly'?: (boolean | "true" | "false") | undefined;
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
'aria-required'?: (boolean | "true" | "false") | undefined;
'aria-roledescription'?: string | undefined;
'aria-rowcount'?: number | undefined;
'aria-rowindex'?: number | undefined;
'aria-rowspan'?: number | undefined;
'aria-selected'?: (boolean | "true" | "false") | undefined;
'aria-setsize'?: number | undefined;
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
'aria-valuemax'?: number | undefined;
'aria-valuemin'?: number | undefined;
'aria-valuenow'?: number | undefined;
'aria-valuetext'?: string | undefined;
children?: import("react").ReactNode;
dangerouslySetInnerHTML?: {
__html: string;
} | undefined;
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCut?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onPaste?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onFocus?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onBlur?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onBeforeInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onReset?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onResetCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onSubmit?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInvalid?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onLoad?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onError?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onAbort?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onDurationChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEmptied?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEncrypted?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEnded?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedData?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadStart?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPause?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlaying?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onProgress?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onStalled?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSuspend?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onWaiting?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onAuxClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onContextMenu?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDrag?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnd?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnter?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragExit?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragLeave?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragOver?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragStart?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDrop?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDropCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onMouseDown?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOut?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOver?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseUp?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchMove?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchStart?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onPointerDown?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerMove?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerUp?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOver?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOut?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onScroll?: import("react").UIEventHandler<HTMLInputElement> | undefined;
onScrollCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
onWheel?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
onChange: (evt: ChangeEvent<HTMLInputElement>) => void;
ref: import("react").RefObject<HTMLInputElement>;
};
declare type MaskedInputProps = {
inputProps: Omit<Props, 'mask'> & {
ref: RefObject<HTMLInputElement>;
};
};
declare function useMaskInput({ initialValue, mask, onChange, ...rest }: Props): MaskedInputProps;
export default useMaskInput;
//# sourceMappingURL=useMaskInput.d.ts.map

@@ -21,3 +21,3 @@ import { ChangeEvent, InputHTMLAttributes, KeyboardEvent } from 'react';

disabled?: boolean | undefined;
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
form?: string | undefined;

@@ -88,3 +88,3 @@ formAction?: string | undefined;

unselectable?: "on" | "off" | undefined;
inputMode?: "text" | "decimal" | "search" | "email" | "tel" | "url" | "none" | "numeric" | undefined;
inputMode?: "text" | "decimal" | "email" | "search" | "tel" | "url" | "none" | "numeric" | undefined;
is?: string | undefined;

@@ -91,0 +91,0 @@ 'aria-activedescendant'?: string | undefined;

/// <reference types="react" />
declare const Input: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & import("react").RefAttributes<HTMLInputElement>>;
declare const Input: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import("react").InputHTMLAttributes<HTMLInputElement> | "key"> & import("react").RefAttributes<HTMLInputElement>>;
export default Input;
//# sourceMappingURL=Input.d.ts.map

@@ -1,300 +0,13 @@

import { ChangeEvent, InputHTMLAttributes } from 'react';
interface Props extends InputHTMLAttributes<HTMLInputElement> {
import { RefObject, InputHTMLAttributes } from 'react';
declare type Props = InputHTMLAttributes<HTMLInputElement> & {
initialValue?: string;
mask: string;
}
declare function useMaskInput({ initialValue, mask, onChange, ...rest }: Props): {
inputProps: {
accept?: string | undefined;
alt?: string | undefined;
autoComplete?: string | undefined;
autoFocus?: boolean | undefined;
capture?: boolean | "user" | "environment" | undefined;
checked?: boolean | undefined;
crossOrigin?: string | undefined;
disabled?: boolean | undefined;
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
form?: string | undefined;
formAction?: string | undefined;
formEncType?: string | undefined;
formMethod?: string | undefined;
formNoValidate?: boolean | undefined;
formTarget?: string | undefined;
height?: string | number | undefined;
list?: string | undefined;
max?: string | number | undefined;
maxLength: number;
min?: string | number | undefined;
minLength?: number | undefined;
multiple?: boolean | undefined;
name?: string | undefined;
pattern?: string | undefined;
placeholder?: string | undefined;
readOnly?: boolean | undefined;
required?: boolean | undefined;
size?: number | undefined;
src?: string | undefined;
step?: string | number | undefined;
type?: import("react").HTMLInputTypeAttribute | undefined;
value: string | number | readonly string[];
width?: string | number | undefined;
defaultChecked?: boolean | undefined;
defaultValue?: string | number | readonly string[] | undefined;
suppressContentEditableWarning?: boolean | undefined;
suppressHydrationWarning?: boolean | undefined;
accessKey?: string | undefined;
className?: string | undefined;
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
contextMenu?: string | undefined;
dir?: string | undefined;
draggable?: (boolean | "true" | "false") | undefined;
hidden?: boolean | undefined;
id?: string | undefined;
lang?: string | undefined;
slot?: string | undefined;
spellCheck?: (boolean | "true" | "false") | undefined;
style?: import("react").CSSProperties | undefined;
tabIndex?: number | undefined;
title?: string | undefined;
translate?: "yes" | "no" | undefined;
radioGroup?: string | undefined;
role?: import("react").AriaRole | undefined;
about?: string | undefined;
datatype?: string | undefined;
inlist?: any;
prefix?: string | undefined;
property?: string | undefined;
resource?: string | undefined;
typeof?: string | undefined;
vocab?: string | undefined;
autoCapitalize?: string | undefined;
autoCorrect?: string | undefined;
autoSave?: string | undefined;
color?: string | undefined;
itemProp?: string | undefined;
itemScope?: boolean | undefined;
itemType?: string | undefined;
itemID?: string | undefined;
itemRef?: string | undefined;
results?: number | undefined;
security?: string | undefined;
unselectable?: "on" | "off" | undefined;
inputMode?: "text" | "decimal" | "search" | "email" | "tel" | "url" | "none" | "numeric" | undefined;
is?: string | undefined;
'aria-activedescendant'?: string | undefined;
'aria-atomic'?: (boolean | "true" | "false") | undefined;
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
'aria-busy'?: (boolean | "true" | "false") | undefined;
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
'aria-colcount'?: number | undefined;
'aria-colindex'?: number | undefined;
'aria-colspan'?: number | undefined;
'aria-controls'?: string | undefined;
'aria-current'?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location" | undefined;
'aria-describedby'?: string | undefined;
'aria-details'?: string | undefined;
'aria-disabled'?: (boolean | "true" | "false") | undefined;
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
'aria-errormessage'?: string | undefined;
'aria-expanded'?: (boolean | "true" | "false") | undefined;
'aria-flowto'?: string | undefined;
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
'aria-hidden'?: (boolean | "true" | "false") | undefined;
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
'aria-keyshortcuts'?: string | undefined;
'aria-label'?: string | undefined;
'aria-labelledby'?: string | undefined;
'aria-level'?: number | undefined;
'aria-live'?: "off" | "assertive" | "polite" | undefined;
'aria-modal'?: (boolean | "true" | "false") | undefined;
'aria-multiline'?: (boolean | "true" | "false") | undefined;
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
'aria-orientation'?: "horizontal" | "vertical" | undefined;
'aria-owns'?: string | undefined;
'aria-placeholder'?: string | undefined;
'aria-posinset'?: number | undefined;
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
'aria-readonly'?: (boolean | "true" | "false") | undefined;
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
'aria-required'?: (boolean | "true" | "false") | undefined;
'aria-roledescription'?: string | undefined;
'aria-rowcount'?: number | undefined;
'aria-rowindex'?: number | undefined;
'aria-rowspan'?: number | undefined;
'aria-selected'?: (boolean | "true" | "false") | undefined;
'aria-setsize'?: number | undefined;
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
'aria-valuemax'?: number | undefined;
'aria-valuemin'?: number | undefined;
'aria-valuenow'?: number | undefined;
'aria-valuetext'?: string | undefined;
children?: import("react").ReactNode;
dangerouslySetInnerHTML?: {
__html: string;
} | undefined;
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCut?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onPaste?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onFocus?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onBlur?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onBeforeInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onReset?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onResetCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onSubmit?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInvalid?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onLoad?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onError?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onAbort?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onDurationChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEmptied?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEncrypted?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEnded?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedData?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadStart?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPause?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlaying?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onProgress?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onStalled?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSuspend?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onWaiting?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onAuxClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onContextMenu?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDrag?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnd?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnter?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragExit?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragLeave?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragOver?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragStart?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDrop?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDropCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onMouseDown?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOut?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOver?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseUp?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchMove?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchStart?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onPointerDown?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerMove?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerUp?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOver?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOut?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onScroll?: import("react").UIEventHandler<HTMLInputElement> | undefined;
onScrollCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
onWheel?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
onChange: (evt: ChangeEvent<HTMLInputElement>) => void;
ref: import("react").RefObject<HTMLInputElement>;
};
declare type MaskedInputProps = {
inputProps: Omit<Props, 'mask'> & {
ref: RefObject<HTMLInputElement>;
};
};
declare function useMaskInput({ initialValue, mask, onChange, ...rest }: Props): MaskedInputProps;
export default useMaskInput;
//# sourceMappingURL=useMaskInput.d.ts.map

@@ -21,3 +21,3 @@ import { ChangeEvent, InputHTMLAttributes, KeyboardEvent } from 'react';

disabled?: boolean | undefined;
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
form?: string | undefined;

@@ -88,3 +88,3 @@ formAction?: string | undefined;

unselectable?: "on" | "off" | undefined;
inputMode?: "text" | "decimal" | "search" | "email" | "tel" | "url" | "none" | "numeric" | undefined;
inputMode?: "text" | "decimal" | "email" | "search" | "tel" | "url" | "none" | "numeric" | undefined;
is?: string | undefined;

@@ -91,0 +91,0 @@ 'aria-activedescendant'?: string | undefined;

/// <reference types="react" />
declare const Input: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & import("react").RefAttributes<HTMLInputElement>>;
declare const Input: import("react").ForwardRefExoticComponent<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import("react").InputHTMLAttributes<HTMLInputElement> | "key"> & import("react").RefAttributes<HTMLInputElement>>;
export default Input;
//# sourceMappingURL=Input.d.ts.map

@@ -1,300 +0,13 @@

import { ChangeEvent, InputHTMLAttributes } from 'react';
interface Props extends InputHTMLAttributes<HTMLInputElement> {
import { RefObject, InputHTMLAttributes } from 'react';
declare type Props = InputHTMLAttributes<HTMLInputElement> & {
initialValue?: string;
mask: string;
}
declare function useMaskInput({ initialValue, mask, onChange, ...rest }: Props): {
inputProps: {
accept?: string | undefined;
alt?: string | undefined;
autoComplete?: string | undefined;
autoFocus?: boolean | undefined;
capture?: boolean | "user" | "environment" | undefined;
checked?: boolean | undefined;
crossOrigin?: string | undefined;
disabled?: boolean | undefined;
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
form?: string | undefined;
formAction?: string | undefined;
formEncType?: string | undefined;
formMethod?: string | undefined;
formNoValidate?: boolean | undefined;
formTarget?: string | undefined;
height?: string | number | undefined;
list?: string | undefined;
max?: string | number | undefined;
maxLength: number;
min?: string | number | undefined;
minLength?: number | undefined;
multiple?: boolean | undefined;
name?: string | undefined;
pattern?: string | undefined;
placeholder?: string | undefined;
readOnly?: boolean | undefined;
required?: boolean | undefined;
size?: number | undefined;
src?: string | undefined;
step?: string | number | undefined;
type?: import("react").HTMLInputTypeAttribute | undefined;
value: string | number | readonly string[];
width?: string | number | undefined;
defaultChecked?: boolean | undefined;
defaultValue?: string | number | readonly string[] | undefined;
suppressContentEditableWarning?: boolean | undefined;
suppressHydrationWarning?: boolean | undefined;
accessKey?: string | undefined;
className?: string | undefined;
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
contextMenu?: string | undefined;
dir?: string | undefined;
draggable?: (boolean | "true" | "false") | undefined;
hidden?: boolean | undefined;
id?: string | undefined;
lang?: string | undefined;
slot?: string | undefined;
spellCheck?: (boolean | "true" | "false") | undefined;
style?: import("react").CSSProperties | undefined;
tabIndex?: number | undefined;
title?: string | undefined;
translate?: "yes" | "no" | undefined;
radioGroup?: string | undefined;
role?: import("react").AriaRole | undefined;
about?: string | undefined;
datatype?: string | undefined;
inlist?: any;
prefix?: string | undefined;
property?: string | undefined;
resource?: string | undefined;
typeof?: string | undefined;
vocab?: string | undefined;
autoCapitalize?: string | undefined;
autoCorrect?: string | undefined;
autoSave?: string | undefined;
color?: string | undefined;
itemProp?: string | undefined;
itemScope?: boolean | undefined;
itemType?: string | undefined;
itemID?: string | undefined;
itemRef?: string | undefined;
results?: number | undefined;
security?: string | undefined;
unselectable?: "on" | "off" | undefined;
inputMode?: "text" | "decimal" | "search" | "email" | "tel" | "url" | "none" | "numeric" | undefined;
is?: string | undefined;
'aria-activedescendant'?: string | undefined;
'aria-atomic'?: (boolean | "true" | "false") | undefined;
'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
'aria-busy'?: (boolean | "true" | "false") | undefined;
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
'aria-colcount'?: number | undefined;
'aria-colindex'?: number | undefined;
'aria-colspan'?: number | undefined;
'aria-controls'?: string | undefined;
'aria-current'?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location" | undefined;
'aria-describedby'?: string | undefined;
'aria-details'?: string | undefined;
'aria-disabled'?: (boolean | "true" | "false") | undefined;
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
'aria-errormessage'?: string | undefined;
'aria-expanded'?: (boolean | "true" | "false") | undefined;
'aria-flowto'?: string | undefined;
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
'aria-hidden'?: (boolean | "true" | "false") | undefined;
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
'aria-keyshortcuts'?: string | undefined;
'aria-label'?: string | undefined;
'aria-labelledby'?: string | undefined;
'aria-level'?: number | undefined;
'aria-live'?: "off" | "assertive" | "polite" | undefined;
'aria-modal'?: (boolean | "true" | "false") | undefined;
'aria-multiline'?: (boolean | "true" | "false") | undefined;
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
'aria-orientation'?: "horizontal" | "vertical" | undefined;
'aria-owns'?: string | undefined;
'aria-placeholder'?: string | undefined;
'aria-posinset'?: number | undefined;
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
'aria-readonly'?: (boolean | "true" | "false") | undefined;
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
'aria-required'?: (boolean | "true" | "false") | undefined;
'aria-roledescription'?: string | undefined;
'aria-rowcount'?: number | undefined;
'aria-rowindex'?: number | undefined;
'aria-rowspan'?: number | undefined;
'aria-selected'?: (boolean | "true" | "false") | undefined;
'aria-setsize'?: number | undefined;
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
'aria-valuemax'?: number | undefined;
'aria-valuemin'?: number | undefined;
'aria-valuenow'?: number | undefined;
'aria-valuetext'?: string | undefined;
children?: import("react").ReactNode;
dangerouslySetInnerHTML?: {
__html: string;
} | undefined;
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCut?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onPaste?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
onFocus?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onBlur?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onBeforeInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onReset?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onResetCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onSubmit?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInvalid?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
onLoad?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onError?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
onAbort?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onDurationChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEmptied?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEncrypted?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEnded?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedData?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadStart?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPause?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlaying?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onProgress?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onStalled?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSuspend?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onWaiting?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onAuxClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onContextMenu?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onDrag?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnd?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnter?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragExit?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragLeave?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragOver?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragStart?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDrop?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onDropCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
onMouseDown?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOut?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOver?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseUp?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchMove?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchStart?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
onPointerDown?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerMove?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerUp?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOver?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOut?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
onScroll?: import("react").UIEventHandler<HTMLInputElement> | undefined;
onScrollCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
onWheel?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
onChange: (evt: ChangeEvent<HTMLInputElement>) => void;
ref: import("react").RefObject<HTMLInputElement>;
};
declare type MaskedInputProps = {
inputProps: Omit<Props, 'mask'> & {
ref: RefObject<HTMLInputElement>;
};
};
declare function useMaskInput({ initialValue, mask, onChange, ...rest }: Props): MaskedInputProps;
export default useMaskInput;
//# sourceMappingURL=useMaskInput.d.ts.map

@@ -21,3 +21,3 @@ import { ChangeEvent, InputHTMLAttributes, KeyboardEvent } from 'react';

disabled?: boolean | undefined;
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
form?: string | undefined;

@@ -88,3 +88,3 @@ formAction?: string | undefined;

unselectable?: "on" | "off" | undefined;
inputMode?: "text" | "decimal" | "search" | "email" | "tel" | "url" | "none" | "numeric" | undefined;
inputMode?: "text" | "decimal" | "email" | "search" | "tel" | "url" | "none" | "numeric" | undefined;
is?: string | undefined;

@@ -91,0 +91,0 @@ 'aria-activedescendant'?: string | undefined;

{
"name": "@flywire/react-headlessui",
"version": "0.0.14",
"version": "0.0.15",
"description": "Headless UI components",

@@ -5,0 +5,0 @@ "main": "./dist/umd/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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