@zayne-labs/ui-react 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/For-BmvZgK9J.d.ts +17 -0
- package/dist/esm/chunk-7TYZVYD6.js +42 -0
- package/dist/esm/chunk-7TYZVYD6.js.map +1 -0
- package/dist/esm/chunk-ABOA7YOO.js +9 -0
- package/dist/esm/chunk-ABOA7YOO.js.map +1 -0
- package/dist/esm/common/For/index.d.ts +9 -0
- package/dist/esm/common/For/index.js +3 -0
- package/dist/esm/common/For/index.js.map +1 -0
- package/dist/esm/common/Show/index.d.ts +22 -0
- package/dist/esm/common/Show/index.js +38 -0
- package/dist/esm/common/Show/index.js.map +1 -0
- package/dist/esm/common/Slot/index.d.ts +8 -0
- package/dist/esm/common/Slot/index.js +47 -0
- package/dist/esm/common/Slot/index.js.map +1 -0
- package/dist/esm/common/Switch/index.d.ts +20 -0
- package/dist/esm/common/Switch/index.js +26 -0
- package/dist/esm/common/Switch/index.js.map +1 -0
- package/dist/esm/common/Teleport/index.d.ts +12 -0
- package/dist/esm/common/Teleport/index.js +31 -0
- package/dist/esm/common/Teleport/index.js.map +1 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/ui/carousel/index.d.ts +96 -0
- package/dist/esm/ui/carousel/index.js +263 -0
- package/dist/esm/ui/carousel/index.js.map +1 -0
- package/dist/esm/ui/drag-scroll/index.d.ts +25 -0
- package/dist/esm/ui/drag-scroll/index.js +104 -0
- package/dist/esm/ui/drag-scroll/index.js.map +1 -0
- package/dist/esm/ui/drop-zone/index.d.ts +655 -0
- package/dist/esm/ui/drop-zone/index.js +125 -0
- package/dist/esm/ui/drop-zone/index.js.map +1 -0
- package/dist/esm/ui/form/index.d.ts +159 -0
- package/dist/esm/ui/form/index.js +336 -0
- package/dist/esm/ui/form/index.js.map +1 -0
- package/package.json +113 -0
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { RefCallback } from 'react';
|
|
3
|
+
import { FileValidationOptions } from '@zayne-labs/toolkit-core';
|
|
4
|
+
import { InferProps } from '@zayne-labs/toolkit-react/utils';
|
|
5
|
+
|
|
6
|
+
type RenderProps = {
|
|
7
|
+
acceptedFiles: File[];
|
|
8
|
+
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
9
|
+
isDragging: boolean;
|
|
10
|
+
};
|
|
11
|
+
type UseDropZoneProps = {
|
|
12
|
+
allowedFileTypes?: string[];
|
|
13
|
+
children?: React.ReactNode | ((props: RenderProps) => React.ReactNode);
|
|
14
|
+
classNames?: {
|
|
15
|
+
activeDrag?: string;
|
|
16
|
+
base?: string;
|
|
17
|
+
input?: string;
|
|
18
|
+
};
|
|
19
|
+
disableInbuiltValidation?: boolean;
|
|
20
|
+
existingFiles?: File[];
|
|
21
|
+
extraInputProps?: Omit<InferProps<"input">, "ref">;
|
|
22
|
+
extraRootProps?: InferProps<"div">;
|
|
23
|
+
onUpload?: (details: {
|
|
24
|
+
acceptedFiles: File[];
|
|
25
|
+
event: React.ChangeEvent<HTMLInputElement> | React.DragEvent<HTMLDivElement>;
|
|
26
|
+
}) => void;
|
|
27
|
+
onUploadError?: FileValidationOptions["onError"];
|
|
28
|
+
onUploadSuccess?: FileValidationOptions["onSuccess"];
|
|
29
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
30
|
+
validationSettings?: {
|
|
31
|
+
disallowDuplicates?: boolean;
|
|
32
|
+
fileLimit?: number;
|
|
33
|
+
maxFileSize?: number;
|
|
34
|
+
};
|
|
35
|
+
validator?: (context: {
|
|
36
|
+
existingFileArray: File[] | undefined;
|
|
37
|
+
newFileList: FileList;
|
|
38
|
+
}) => File[];
|
|
39
|
+
};
|
|
40
|
+
declare const useDropZone: (props: UseDropZoneProps) => {
|
|
41
|
+
getChildren: () => react.ReactNode;
|
|
42
|
+
getInputProps: () => {
|
|
43
|
+
accept: string | undefined;
|
|
44
|
+
className: string;
|
|
45
|
+
"data-part": string;
|
|
46
|
+
"data-scope": string;
|
|
47
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
48
|
+
ref: RefCallback<HTMLInputElement>;
|
|
49
|
+
type: string;
|
|
50
|
+
form?: string | undefined;
|
|
51
|
+
slot?: string | undefined;
|
|
52
|
+
style?: react.CSSProperties | undefined;
|
|
53
|
+
title?: string | undefined;
|
|
54
|
+
pattern?: string | undefined;
|
|
55
|
+
key?: react.Key | null | undefined;
|
|
56
|
+
alt?: string | undefined;
|
|
57
|
+
autoComplete?: react.HTMLInputAutoCompleteAttribute | undefined;
|
|
58
|
+
capture?: boolean | "user" | "environment" | undefined;
|
|
59
|
+
checked?: boolean | undefined;
|
|
60
|
+
disabled?: boolean | undefined;
|
|
61
|
+
formAction?: string | ((formData: FormData) => void | Promise<void>) | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
62
|
+
formEncType?: string | undefined;
|
|
63
|
+
formMethod?: string | undefined;
|
|
64
|
+
formNoValidate?: boolean | undefined;
|
|
65
|
+
formTarget?: string | undefined;
|
|
66
|
+
height?: number | string | undefined;
|
|
67
|
+
list?: string | undefined;
|
|
68
|
+
max?: number | string | undefined;
|
|
69
|
+
maxLength?: number | undefined;
|
|
70
|
+
min?: number | string | undefined;
|
|
71
|
+
minLength?: number | undefined;
|
|
72
|
+
multiple?: boolean | undefined;
|
|
73
|
+
name?: string | undefined;
|
|
74
|
+
placeholder?: string | undefined;
|
|
75
|
+
readOnly?: boolean | undefined;
|
|
76
|
+
required?: boolean | undefined;
|
|
77
|
+
size?: number | undefined;
|
|
78
|
+
src?: string | undefined;
|
|
79
|
+
step?: number | string | undefined;
|
|
80
|
+
value?: string | readonly string[] | number | undefined;
|
|
81
|
+
width?: number | string | undefined;
|
|
82
|
+
defaultChecked?: boolean | undefined;
|
|
83
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
84
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
85
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
86
|
+
accessKey?: string | undefined;
|
|
87
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
88
|
+
autoFocus?: boolean | undefined;
|
|
89
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
90
|
+
contextMenu?: string | undefined;
|
|
91
|
+
dir?: string | undefined;
|
|
92
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
93
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
94
|
+
hidden?: boolean | undefined;
|
|
95
|
+
id?: string | undefined;
|
|
96
|
+
lang?: string | undefined;
|
|
97
|
+
nonce?: string | undefined;
|
|
98
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
99
|
+
tabIndex?: number | undefined;
|
|
100
|
+
translate?: "yes" | "no" | undefined;
|
|
101
|
+
radioGroup?: string | undefined;
|
|
102
|
+
role?: react.AriaRole | undefined;
|
|
103
|
+
about?: string | undefined;
|
|
104
|
+
content?: string | undefined;
|
|
105
|
+
datatype?: string | undefined;
|
|
106
|
+
inlist?: any;
|
|
107
|
+
prefix?: string | undefined;
|
|
108
|
+
property?: string | undefined;
|
|
109
|
+
rel?: string | undefined;
|
|
110
|
+
resource?: string | undefined;
|
|
111
|
+
rev?: string | undefined;
|
|
112
|
+
typeof?: string | undefined;
|
|
113
|
+
vocab?: string | undefined;
|
|
114
|
+
autoCorrect?: string | undefined;
|
|
115
|
+
autoSave?: string | undefined;
|
|
116
|
+
color?: string | undefined;
|
|
117
|
+
itemProp?: string | undefined;
|
|
118
|
+
itemScope?: boolean | undefined;
|
|
119
|
+
itemType?: string | undefined;
|
|
120
|
+
itemID?: string | undefined;
|
|
121
|
+
itemRef?: string | undefined;
|
|
122
|
+
results?: number | undefined;
|
|
123
|
+
security?: string | undefined;
|
|
124
|
+
unselectable?: "on" | "off" | undefined;
|
|
125
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
126
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
127
|
+
popoverTarget?: string | undefined;
|
|
128
|
+
inert?: boolean | undefined;
|
|
129
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
130
|
+
is?: string | undefined;
|
|
131
|
+
"aria-activedescendant"?: string | undefined;
|
|
132
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
133
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
134
|
+
"aria-braillelabel"?: string | undefined;
|
|
135
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
136
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
137
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
138
|
+
"aria-colcount"?: number | undefined;
|
|
139
|
+
"aria-colindex"?: number | undefined;
|
|
140
|
+
"aria-colindextext"?: string | undefined;
|
|
141
|
+
"aria-colspan"?: number | undefined;
|
|
142
|
+
"aria-controls"?: string | undefined;
|
|
143
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
144
|
+
"aria-describedby"?: string | undefined;
|
|
145
|
+
"aria-description"?: string | undefined;
|
|
146
|
+
"aria-details"?: string | undefined;
|
|
147
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
148
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
149
|
+
"aria-errormessage"?: string | undefined;
|
|
150
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
151
|
+
"aria-flowto"?: string | undefined;
|
|
152
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
153
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
154
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
155
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
156
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
157
|
+
"aria-label"?: string | undefined;
|
|
158
|
+
"aria-labelledby"?: string | undefined;
|
|
159
|
+
"aria-level"?: number | undefined;
|
|
160
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
161
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
162
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
163
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
164
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
165
|
+
"aria-owns"?: string | undefined;
|
|
166
|
+
"aria-placeholder"?: string | undefined;
|
|
167
|
+
"aria-posinset"?: number | undefined;
|
|
168
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
169
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
170
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
171
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
172
|
+
"aria-roledescription"?: string | undefined;
|
|
173
|
+
"aria-rowcount"?: number | undefined;
|
|
174
|
+
"aria-rowindex"?: number | undefined;
|
|
175
|
+
"aria-rowindextext"?: string | undefined;
|
|
176
|
+
"aria-rowspan"?: number | undefined;
|
|
177
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
178
|
+
"aria-setsize"?: number | undefined;
|
|
179
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
180
|
+
"aria-valuemax"?: number | undefined;
|
|
181
|
+
"aria-valuemin"?: number | undefined;
|
|
182
|
+
"aria-valuenow"?: number | undefined;
|
|
183
|
+
"aria-valuetext"?: string | undefined;
|
|
184
|
+
children?: react.ReactNode | undefined;
|
|
185
|
+
dangerouslySetInnerHTML?: {
|
|
186
|
+
__html: string | TrustedHTML;
|
|
187
|
+
} | undefined;
|
|
188
|
+
onCopy?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
189
|
+
onCopyCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
190
|
+
onCut?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
191
|
+
onCutCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
192
|
+
onPaste?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
193
|
+
onPasteCapture?: react.ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
194
|
+
onCompositionEnd?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
195
|
+
onCompositionEndCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
196
|
+
onCompositionStart?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
197
|
+
onCompositionStartCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
198
|
+
onCompositionUpdate?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
199
|
+
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLInputElement> | undefined;
|
|
200
|
+
onFocus?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
201
|
+
onFocusCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
202
|
+
onBlur?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
203
|
+
onBlurCapture?: react.FocusEventHandler<HTMLInputElement> | undefined;
|
|
204
|
+
onChangeCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
205
|
+
onBeforeInput?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
206
|
+
onBeforeInputCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
207
|
+
onInput?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
208
|
+
onInputCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
209
|
+
onReset?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
210
|
+
onResetCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
211
|
+
onSubmit?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
212
|
+
onSubmitCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
213
|
+
onInvalid?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
214
|
+
onInvalidCapture?: react.FormEventHandler<HTMLInputElement> | undefined;
|
|
215
|
+
onLoad?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
216
|
+
onLoadCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
217
|
+
onError?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
218
|
+
onErrorCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
219
|
+
onKeyDown?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
220
|
+
onKeyDownCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
221
|
+
onKeyPress?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
222
|
+
onKeyPressCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
223
|
+
onKeyUp?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
224
|
+
onKeyUpCapture?: react.KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
225
|
+
onAbort?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
226
|
+
onAbortCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
227
|
+
onCanPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
228
|
+
onCanPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
229
|
+
onCanPlayThrough?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
230
|
+
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
231
|
+
onDurationChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
232
|
+
onDurationChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
233
|
+
onEmptied?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
234
|
+
onEmptiedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
235
|
+
onEncrypted?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
236
|
+
onEncryptedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
237
|
+
onEnded?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
238
|
+
onEndedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
239
|
+
onLoadedData?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
240
|
+
onLoadedDataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
241
|
+
onLoadedMetadata?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
242
|
+
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
243
|
+
onLoadStart?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
244
|
+
onLoadStartCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
245
|
+
onPause?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
246
|
+
onPauseCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
247
|
+
onPlay?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
248
|
+
onPlayCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
249
|
+
onPlaying?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
250
|
+
onPlayingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
251
|
+
onProgress?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
252
|
+
onProgressCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
253
|
+
onRateChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
254
|
+
onRateChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
255
|
+
onResize?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
256
|
+
onResizeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
257
|
+
onSeeked?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
258
|
+
onSeekedCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
259
|
+
onSeeking?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
260
|
+
onSeekingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
261
|
+
onStalled?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
262
|
+
onStalledCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
263
|
+
onSuspend?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
264
|
+
onSuspendCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
265
|
+
onTimeUpdate?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
266
|
+
onTimeUpdateCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
267
|
+
onVolumeChange?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
268
|
+
onVolumeChangeCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
269
|
+
onWaiting?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
270
|
+
onWaitingCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
271
|
+
onAuxClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
272
|
+
onAuxClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
273
|
+
onClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
274
|
+
onClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
275
|
+
onContextMenu?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
276
|
+
onContextMenuCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
277
|
+
onDoubleClick?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
278
|
+
onDoubleClickCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
279
|
+
onDrag?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
280
|
+
onDragCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
281
|
+
onDragEnd?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
282
|
+
onDragEndCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
283
|
+
onDragEnter?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
284
|
+
onDragEnterCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
285
|
+
onDragExit?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
286
|
+
onDragExitCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
287
|
+
onDragLeave?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
288
|
+
onDragLeaveCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
289
|
+
onDragOver?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
290
|
+
onDragOverCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
291
|
+
onDragStart?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
292
|
+
onDragStartCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
293
|
+
onDrop?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
294
|
+
onDropCapture?: react.DragEventHandler<HTMLInputElement> | undefined;
|
|
295
|
+
onMouseDown?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
296
|
+
onMouseDownCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
297
|
+
onMouseEnter?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
298
|
+
onMouseLeave?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
299
|
+
onMouseMove?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
300
|
+
onMouseMoveCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
301
|
+
onMouseOut?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
302
|
+
onMouseOutCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
303
|
+
onMouseOver?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
304
|
+
onMouseOverCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
305
|
+
onMouseUp?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
306
|
+
onMouseUpCapture?: react.MouseEventHandler<HTMLInputElement> | undefined;
|
|
307
|
+
onSelect?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
308
|
+
onSelectCapture?: react.ReactEventHandler<HTMLInputElement> | undefined;
|
|
309
|
+
onTouchCancel?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
310
|
+
onTouchCancelCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
311
|
+
onTouchEnd?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
312
|
+
onTouchEndCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
313
|
+
onTouchMove?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
314
|
+
onTouchMoveCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
315
|
+
onTouchStart?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
316
|
+
onTouchStartCapture?: react.TouchEventHandler<HTMLInputElement> | undefined;
|
|
317
|
+
onPointerDown?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
318
|
+
onPointerDownCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
319
|
+
onPointerMove?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
320
|
+
onPointerMoveCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
321
|
+
onPointerUp?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
322
|
+
onPointerUpCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
323
|
+
onPointerCancel?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
324
|
+
onPointerCancelCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
325
|
+
onPointerEnter?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
326
|
+
onPointerLeave?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
327
|
+
onPointerOver?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
328
|
+
onPointerOverCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
329
|
+
onPointerOut?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
330
|
+
onPointerOutCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
331
|
+
onGotPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
332
|
+
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
333
|
+
onLostPointerCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
334
|
+
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLInputElement> | undefined;
|
|
335
|
+
onScroll?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
336
|
+
onScrollCapture?: react.UIEventHandler<HTMLInputElement> | undefined;
|
|
337
|
+
onWheel?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
338
|
+
onWheelCapture?: react.WheelEventHandler<HTMLInputElement> | undefined;
|
|
339
|
+
onAnimationStart?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
340
|
+
onAnimationStartCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
341
|
+
onAnimationEnd?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
342
|
+
onAnimationEndCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
343
|
+
onAnimationIteration?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
344
|
+
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLInputElement> | undefined;
|
|
345
|
+
onToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
346
|
+
onBeforeToggle?: react.ToggleEventHandler<HTMLInputElement> | undefined;
|
|
347
|
+
onTransitionCancel?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
348
|
+
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
349
|
+
onTransitionEnd?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
350
|
+
onTransitionEndCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
351
|
+
onTransitionRun?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
352
|
+
onTransitionRunCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
353
|
+
onTransitionStart?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
354
|
+
onTransitionStartCapture?: react.TransitionEventHandler<HTMLInputElement> | undefined;
|
|
355
|
+
};
|
|
356
|
+
getRenderProps: () => {
|
|
357
|
+
acceptedFiles: File[];
|
|
358
|
+
inputRef: react.RefObject<HTMLInputElement | null>;
|
|
359
|
+
isDragging: boolean;
|
|
360
|
+
};
|
|
361
|
+
getRootProps: () => {
|
|
362
|
+
className: string;
|
|
363
|
+
"data-active-drag": boolean;
|
|
364
|
+
"data-part": string;
|
|
365
|
+
"data-scope": string;
|
|
366
|
+
onDragEnter: (event: React.DragEvent<HTMLDivElement>) => void;
|
|
367
|
+
onDragLeave: (event: React.DragEvent<HTMLDivElement>) => void;
|
|
368
|
+
onDragOver: (event: React.DragEvent<HTMLDivElement>) => void;
|
|
369
|
+
onDrop: (event: React.ChangeEvent<HTMLInputElement> | React.DragEvent<HTMLDivElement>) => void;
|
|
370
|
+
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
371
|
+
key?: react.Key | null | undefined;
|
|
372
|
+
defaultChecked?: boolean | undefined;
|
|
373
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
374
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
375
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
376
|
+
accessKey?: string | undefined;
|
|
377
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
378
|
+
autoFocus?: boolean | undefined;
|
|
379
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
380
|
+
contextMenu?: string | undefined;
|
|
381
|
+
dir?: string | undefined;
|
|
382
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
383
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
384
|
+
hidden?: boolean | undefined;
|
|
385
|
+
id?: string | undefined;
|
|
386
|
+
lang?: string | undefined;
|
|
387
|
+
nonce?: string | undefined;
|
|
388
|
+
slot?: string | undefined;
|
|
389
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
390
|
+
style?: react.CSSProperties | undefined;
|
|
391
|
+
tabIndex?: number | undefined;
|
|
392
|
+
title?: string | undefined;
|
|
393
|
+
translate?: "yes" | "no" | undefined;
|
|
394
|
+
radioGroup?: string | undefined;
|
|
395
|
+
role?: react.AriaRole | undefined;
|
|
396
|
+
about?: string | undefined;
|
|
397
|
+
content?: string | undefined;
|
|
398
|
+
datatype?: string | undefined;
|
|
399
|
+
inlist?: any;
|
|
400
|
+
prefix?: string | undefined;
|
|
401
|
+
property?: string | undefined;
|
|
402
|
+
rel?: string | undefined;
|
|
403
|
+
resource?: string | undefined;
|
|
404
|
+
rev?: string | undefined;
|
|
405
|
+
typeof?: string | undefined;
|
|
406
|
+
vocab?: string | undefined;
|
|
407
|
+
autoCorrect?: string | undefined;
|
|
408
|
+
autoSave?: string | undefined;
|
|
409
|
+
color?: string | undefined;
|
|
410
|
+
itemProp?: string | undefined;
|
|
411
|
+
itemScope?: boolean | undefined;
|
|
412
|
+
itemType?: string | undefined;
|
|
413
|
+
itemID?: string | undefined;
|
|
414
|
+
itemRef?: string | undefined;
|
|
415
|
+
results?: number | undefined;
|
|
416
|
+
security?: string | undefined;
|
|
417
|
+
unselectable?: "on" | "off" | undefined;
|
|
418
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
419
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
420
|
+
popoverTarget?: string | undefined;
|
|
421
|
+
inert?: boolean | undefined;
|
|
422
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
423
|
+
is?: string | undefined;
|
|
424
|
+
"aria-activedescendant"?: string | undefined;
|
|
425
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
426
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
427
|
+
"aria-braillelabel"?: string | undefined;
|
|
428
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
429
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
430
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
431
|
+
"aria-colcount"?: number | undefined;
|
|
432
|
+
"aria-colindex"?: number | undefined;
|
|
433
|
+
"aria-colindextext"?: string | undefined;
|
|
434
|
+
"aria-colspan"?: number | undefined;
|
|
435
|
+
"aria-controls"?: string | undefined;
|
|
436
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
437
|
+
"aria-describedby"?: string | undefined;
|
|
438
|
+
"aria-description"?: string | undefined;
|
|
439
|
+
"aria-details"?: string | undefined;
|
|
440
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
441
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
442
|
+
"aria-errormessage"?: string | undefined;
|
|
443
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
444
|
+
"aria-flowto"?: string | undefined;
|
|
445
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
446
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
447
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
448
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
449
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
450
|
+
"aria-label"?: string | undefined;
|
|
451
|
+
"aria-labelledby"?: string | undefined;
|
|
452
|
+
"aria-level"?: number | undefined;
|
|
453
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
454
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
455
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
456
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
457
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
458
|
+
"aria-owns"?: string | undefined;
|
|
459
|
+
"aria-placeholder"?: string | undefined;
|
|
460
|
+
"aria-posinset"?: number | undefined;
|
|
461
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
462
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
463
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
464
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
465
|
+
"aria-roledescription"?: string | undefined;
|
|
466
|
+
"aria-rowcount"?: number | undefined;
|
|
467
|
+
"aria-rowindex"?: number | undefined;
|
|
468
|
+
"aria-rowindextext"?: string | undefined;
|
|
469
|
+
"aria-rowspan"?: number | undefined;
|
|
470
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
471
|
+
"aria-setsize"?: number | undefined;
|
|
472
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
473
|
+
"aria-valuemax"?: number | undefined;
|
|
474
|
+
"aria-valuemin"?: number | undefined;
|
|
475
|
+
"aria-valuenow"?: number | undefined;
|
|
476
|
+
"aria-valuetext"?: string | undefined;
|
|
477
|
+
children?: react.ReactNode | undefined;
|
|
478
|
+
dangerouslySetInnerHTML?: {
|
|
479
|
+
__html: string | TrustedHTML;
|
|
480
|
+
} | undefined;
|
|
481
|
+
onCopy?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
482
|
+
onCopyCapture?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
483
|
+
onCut?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
484
|
+
onCutCapture?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
485
|
+
onPaste?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
486
|
+
onPasteCapture?: react.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
487
|
+
onCompositionEnd?: react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
488
|
+
onCompositionEndCapture?: react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
489
|
+
onCompositionStart?: react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
490
|
+
onCompositionStartCapture?: react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
491
|
+
onCompositionUpdate?: react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
492
|
+
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
493
|
+
onFocus?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
494
|
+
onFocusCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
495
|
+
onBlur?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
496
|
+
onBlurCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
497
|
+
onChange?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
498
|
+
onChangeCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
499
|
+
onBeforeInput?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
500
|
+
onBeforeInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
501
|
+
onInput?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
502
|
+
onInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
503
|
+
onReset?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
504
|
+
onResetCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
505
|
+
onSubmit?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
506
|
+
onSubmitCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
507
|
+
onInvalid?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
508
|
+
onInvalidCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
509
|
+
onLoad?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
510
|
+
onLoadCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
511
|
+
onError?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
512
|
+
onErrorCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
513
|
+
onKeyDown?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
514
|
+
onKeyDownCapture?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
515
|
+
onKeyPress?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
516
|
+
onKeyPressCapture?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
517
|
+
onKeyUp?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
518
|
+
onKeyUpCapture?: react.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
519
|
+
onAbort?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
520
|
+
onAbortCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
521
|
+
onCanPlay?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
522
|
+
onCanPlayCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
523
|
+
onCanPlayThrough?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
524
|
+
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
525
|
+
onDurationChange?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
526
|
+
onDurationChangeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
527
|
+
onEmptied?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
528
|
+
onEmptiedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
529
|
+
onEncrypted?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
530
|
+
onEncryptedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
531
|
+
onEnded?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
532
|
+
onEndedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
533
|
+
onLoadedData?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
534
|
+
onLoadedDataCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
535
|
+
onLoadedMetadata?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
536
|
+
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
537
|
+
onLoadStart?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
538
|
+
onLoadStartCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
539
|
+
onPause?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
540
|
+
onPauseCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
541
|
+
onPlay?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
542
|
+
onPlayCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
543
|
+
onPlaying?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
544
|
+
onPlayingCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
545
|
+
onProgress?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
546
|
+
onProgressCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
547
|
+
onRateChange?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
548
|
+
onRateChangeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
549
|
+
onResize?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
550
|
+
onResizeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
551
|
+
onSeeked?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
552
|
+
onSeekedCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
553
|
+
onSeeking?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
554
|
+
onSeekingCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
555
|
+
onStalled?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
556
|
+
onStalledCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
557
|
+
onSuspend?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
558
|
+
onSuspendCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
559
|
+
onTimeUpdate?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
560
|
+
onTimeUpdateCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
561
|
+
onVolumeChange?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
562
|
+
onVolumeChangeCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
563
|
+
onWaiting?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
564
|
+
onWaitingCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
565
|
+
onAuxClick?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
566
|
+
onAuxClickCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
567
|
+
onClick?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
568
|
+
onClickCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
569
|
+
onContextMenu?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
570
|
+
onContextMenuCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
571
|
+
onDoubleClick?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
572
|
+
onDoubleClickCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
573
|
+
onDrag?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
574
|
+
onDragCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
575
|
+
onDragEnd?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
576
|
+
onDragEndCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
577
|
+
onDragEnterCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
578
|
+
onDragExit?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
579
|
+
onDragExitCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
580
|
+
onDragLeaveCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
581
|
+
onDragOverCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
582
|
+
onDragStart?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
583
|
+
onDragStartCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
584
|
+
onDropCapture?: react.DragEventHandler<HTMLDivElement> | undefined;
|
|
585
|
+
onMouseDown?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
586
|
+
onMouseDownCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
587
|
+
onMouseEnter?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
588
|
+
onMouseLeave?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
589
|
+
onMouseMove?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
590
|
+
onMouseMoveCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
591
|
+
onMouseOut?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
592
|
+
onMouseOutCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
593
|
+
onMouseOver?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
594
|
+
onMouseOverCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
595
|
+
onMouseUp?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
596
|
+
onMouseUpCapture?: react.MouseEventHandler<HTMLDivElement> | undefined;
|
|
597
|
+
onSelect?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
598
|
+
onSelectCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
599
|
+
onTouchCancel?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
600
|
+
onTouchCancelCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
601
|
+
onTouchEnd?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
602
|
+
onTouchEndCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
603
|
+
onTouchMove?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
604
|
+
onTouchMoveCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
605
|
+
onTouchStart?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
606
|
+
onTouchStartCapture?: react.TouchEventHandler<HTMLDivElement> | undefined;
|
|
607
|
+
onPointerDown?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
608
|
+
onPointerDownCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
609
|
+
onPointerMove?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
610
|
+
onPointerMoveCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
611
|
+
onPointerUp?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
612
|
+
onPointerUpCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
613
|
+
onPointerCancel?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
614
|
+
onPointerCancelCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
615
|
+
onPointerEnter?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
616
|
+
onPointerLeave?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
617
|
+
onPointerOver?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
618
|
+
onPointerOverCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
619
|
+
onPointerOut?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
620
|
+
onPointerOutCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
621
|
+
onGotPointerCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
622
|
+
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
623
|
+
onLostPointerCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
624
|
+
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLDivElement> | undefined;
|
|
625
|
+
onScroll?: react.UIEventHandler<HTMLDivElement> | undefined;
|
|
626
|
+
onScrollCapture?: react.UIEventHandler<HTMLDivElement> | undefined;
|
|
627
|
+
onWheel?: react.WheelEventHandler<HTMLDivElement> | undefined;
|
|
628
|
+
onWheelCapture?: react.WheelEventHandler<HTMLDivElement> | undefined;
|
|
629
|
+
onAnimationStart?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
630
|
+
onAnimationStartCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
631
|
+
onAnimationEnd?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
632
|
+
onAnimationEndCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
633
|
+
onAnimationIteration?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
634
|
+
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
635
|
+
onToggle?: react.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
636
|
+
onBeforeToggle?: react.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
637
|
+
onTransitionCancel?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
638
|
+
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
639
|
+
onTransitionEnd?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
640
|
+
onTransitionEndCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
641
|
+
onTransitionRun?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
642
|
+
onTransitionRunCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
643
|
+
onTransitionStart?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
644
|
+
onTransitionStartCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
645
|
+
};
|
|
646
|
+
handleDragLeave: (event: React.DragEvent<HTMLDivElement>) => void;
|
|
647
|
+
handleDragOver: (event: React.DragEvent<HTMLDivElement>) => void;
|
|
648
|
+
handleFileUpload: (event: React.ChangeEvent<HTMLInputElement> | React.DragEvent<HTMLDivElement>) => void;
|
|
649
|
+
isDragging: boolean;
|
|
650
|
+
ref: react.Ref<HTMLInputElement> | undefined;
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
declare function DropZone(props: UseDropZoneProps): react.JSX.Element;
|
|
654
|
+
|
|
655
|
+
export { DropZone, type UseDropZoneProps, useDropZone };
|