@destyler/types 0.0.7-beta.9
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/LICENSE +21 -0
- package/dist/index.d.ts +1475 -0
- package/dist/index.js +15 -0
- package/package.json +29 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1475 @@
|
|
|
1
|
+
import * as CSS from "csstype";
|
|
2
|
+
|
|
3
|
+
//#region src/jsx.d.ts
|
|
4
|
+
type NativeAnimationEvent = AnimationEvent;
|
|
5
|
+
type NativeClipboardEvent = ClipboardEvent;
|
|
6
|
+
type NativeCompositionEvent = CompositionEvent;
|
|
7
|
+
type NativeDragEvent = DragEvent;
|
|
8
|
+
type NativeFocusEvent = FocusEvent;
|
|
9
|
+
type NativeKeyboardEvent = KeyboardEvent;
|
|
10
|
+
type NativeMouseEvent = MouseEvent;
|
|
11
|
+
type NativeTouchEvent = TouchEvent;
|
|
12
|
+
type NativePointerEvent = PointerEvent;
|
|
13
|
+
type NativeTransitionEvent = TransitionEvent;
|
|
14
|
+
type NativeUIEvent = UIEvent;
|
|
15
|
+
type NativeWheelEvent = WheelEvent;
|
|
16
|
+
type Booleanish = boolean | 'true' | 'false';
|
|
17
|
+
interface BaseSyntheticEvent<E = object, C = any, T = any> {
|
|
18
|
+
nativeEvent: E;
|
|
19
|
+
currentTarget: C;
|
|
20
|
+
target: T;
|
|
21
|
+
bubbles: boolean;
|
|
22
|
+
cancelable: boolean;
|
|
23
|
+
defaultPrevented: boolean;
|
|
24
|
+
eventPhase: number;
|
|
25
|
+
isTrusted: boolean;
|
|
26
|
+
preventDefault: () => void;
|
|
27
|
+
isDefaultPrevented: () => boolean;
|
|
28
|
+
stopPropagation: () => void;
|
|
29
|
+
isPropagationStopped: () => boolean;
|
|
30
|
+
persist: () => void;
|
|
31
|
+
timeStamp: number;
|
|
32
|
+
type: string;
|
|
33
|
+
}
|
|
34
|
+
interface SyntheticEvent<T = Element, E = Event> extends BaseSyntheticEvent<E, EventTarget & T, EventTarget> {}
|
|
35
|
+
interface SyntheticClipboardEvent<T = Element> extends SyntheticEvent<T, NativeClipboardEvent> {
|
|
36
|
+
clipboardData: DataTransfer;
|
|
37
|
+
}
|
|
38
|
+
interface SyntheticCompositionEvent<T = Element> extends SyntheticEvent<T, NativeCompositionEvent> {
|
|
39
|
+
data: string;
|
|
40
|
+
}
|
|
41
|
+
interface SyntheticDragEvent<T = Element> extends SyntheticMouseEvent<T, NativeDragEvent> {
|
|
42
|
+
dataTransfer: DataTransfer;
|
|
43
|
+
}
|
|
44
|
+
interface SyntheticPointerEvent<T = Element> extends SyntheticMouseEvent<T, NativePointerEvent> {
|
|
45
|
+
pointerId: number;
|
|
46
|
+
pressure: number;
|
|
47
|
+
tangentialPressure: number;
|
|
48
|
+
tiltX: number;
|
|
49
|
+
tiltY: number;
|
|
50
|
+
twist: number;
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
pointerType: 'mouse' | 'pen' | 'touch';
|
|
54
|
+
isPrimary: boolean;
|
|
55
|
+
}
|
|
56
|
+
interface SyntheticFocusEvent<Target = Element, RelatedTarget = Element> extends SyntheticEvent<Target, NativeFocusEvent> {
|
|
57
|
+
relatedTarget: (EventTarget & RelatedTarget) | null;
|
|
58
|
+
target: EventTarget & Target;
|
|
59
|
+
}
|
|
60
|
+
interface SyntheticFormEvent<T = Element> extends SyntheticEvent<T> {}
|
|
61
|
+
interface SyntheticInvalidEvent<T = Element> extends SyntheticEvent<T> {
|
|
62
|
+
target: EventTarget & T;
|
|
63
|
+
}
|
|
64
|
+
interface SyntheticChangeEvent<T = Element> extends SyntheticEvent<T> {
|
|
65
|
+
target: EventTarget & T;
|
|
66
|
+
}
|
|
67
|
+
interface SyntheticKeyboardEvent<T = Element> extends SyntheticUIEvent<T, NativeKeyboardEvent> {
|
|
68
|
+
altKey: boolean;
|
|
69
|
+
/** @deprecated */
|
|
70
|
+
charCode: number;
|
|
71
|
+
ctrlKey: boolean;
|
|
72
|
+
code: string;
|
|
73
|
+
/**
|
|
74
|
+
* See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method.
|
|
75
|
+
*/
|
|
76
|
+
getModifierState: (key: string) => boolean;
|
|
77
|
+
/**
|
|
78
|
+
* See the [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#named-key-attribute-values). for possible values
|
|
79
|
+
*/
|
|
80
|
+
key: string;
|
|
81
|
+
/** @deprecated */
|
|
82
|
+
keyCode: number;
|
|
83
|
+
locale: string;
|
|
84
|
+
location: number;
|
|
85
|
+
metaKey: boolean;
|
|
86
|
+
repeat: boolean;
|
|
87
|
+
shiftKey: boolean;
|
|
88
|
+
/** @deprecated */
|
|
89
|
+
which: number;
|
|
90
|
+
}
|
|
91
|
+
interface SyntheticMouseEvent<T = Element, E = NativeMouseEvent> extends SyntheticUIEvent<T, E> {
|
|
92
|
+
altKey: boolean;
|
|
93
|
+
button: number;
|
|
94
|
+
buttons: number;
|
|
95
|
+
clientX: number;
|
|
96
|
+
clientY: number;
|
|
97
|
+
ctrlKey: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method.
|
|
100
|
+
*/
|
|
101
|
+
getModifierState: (key: string) => boolean;
|
|
102
|
+
metaKey: boolean;
|
|
103
|
+
movementX: number;
|
|
104
|
+
movementY: number;
|
|
105
|
+
pageX: number;
|
|
106
|
+
pageY: number;
|
|
107
|
+
relatedTarget: EventTarget | null;
|
|
108
|
+
screenX: number;
|
|
109
|
+
screenY: number;
|
|
110
|
+
shiftKey: boolean;
|
|
111
|
+
}
|
|
112
|
+
interface SyntheticTouchEvent<T = Element> extends SyntheticUIEvent<T, NativeTouchEvent> {
|
|
113
|
+
altKey: boolean;
|
|
114
|
+
changedTouches: TouchList;
|
|
115
|
+
ctrlKey: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method.
|
|
118
|
+
*/
|
|
119
|
+
getModifierState: (key: string) => boolean;
|
|
120
|
+
metaKey: boolean;
|
|
121
|
+
shiftKey: boolean;
|
|
122
|
+
targetTouches: TouchList;
|
|
123
|
+
touches: TouchList;
|
|
124
|
+
}
|
|
125
|
+
interface AbstractView {
|
|
126
|
+
document: Document;
|
|
127
|
+
styleMedia: StyleMedia;
|
|
128
|
+
}
|
|
129
|
+
interface SyntheticUIEvent<T = Element, E = NativeUIEvent> extends SyntheticEvent<T, E> {
|
|
130
|
+
detail: number;
|
|
131
|
+
view: AbstractView;
|
|
132
|
+
}
|
|
133
|
+
interface SyntheticWheelEvent<T = Element> extends SyntheticMouseEvent<T, NativeWheelEvent> {
|
|
134
|
+
deltaMode: number;
|
|
135
|
+
deltaX: number;
|
|
136
|
+
deltaY: number;
|
|
137
|
+
deltaZ: number;
|
|
138
|
+
}
|
|
139
|
+
interface SyntheticAnimationEvent<T = Element> extends SyntheticEvent<T, NativeAnimationEvent> {
|
|
140
|
+
animationName: string;
|
|
141
|
+
elapsedTime: number;
|
|
142
|
+
pseudoElement: string;
|
|
143
|
+
}
|
|
144
|
+
interface SyntheticTransitionEvent<T = Element> extends SyntheticEvent<T, NativeTransitionEvent> {
|
|
145
|
+
elapsedTime: number;
|
|
146
|
+
propertyName: string;
|
|
147
|
+
pseudoElement: string;
|
|
148
|
+
}
|
|
149
|
+
type EventHandler<E extends SyntheticEvent<any>> = {
|
|
150
|
+
bivarianceHack: (event: E) => void;
|
|
151
|
+
}['bivarianceHack'];
|
|
152
|
+
type DestylerEventHandler<T = Element> = EventHandler<SyntheticEvent<T>>;
|
|
153
|
+
type ClipboardEventHandler<T = Element> = EventHandler<SyntheticClipboardEvent<T>>;
|
|
154
|
+
type CompositionEventHandler<T = Element> = EventHandler<SyntheticCompositionEvent<T>>;
|
|
155
|
+
type DragEventHandler<T = Element> = EventHandler<SyntheticDragEvent<T>>;
|
|
156
|
+
type FocusEventHandler<T = Element> = EventHandler<SyntheticFocusEvent<T>>;
|
|
157
|
+
type FormEventHandler<T = Element> = EventHandler<SyntheticFormEvent<T>>;
|
|
158
|
+
type ChangeEventHandler<T = Element> = EventHandler<SyntheticChangeEvent<T>>;
|
|
159
|
+
type KeyboardEventHandler<T = Element> = EventHandler<SyntheticKeyboardEvent<T>>;
|
|
160
|
+
type MouseEventHandler<T = Element> = EventHandler<SyntheticMouseEvent<T>>;
|
|
161
|
+
type TouchEventHandler<T = Element> = EventHandler<SyntheticTouchEvent<T>>;
|
|
162
|
+
type PointerEventHandler<T = Element> = EventHandler<SyntheticPointerEvent<T>>;
|
|
163
|
+
type UIEventHandler<T = Element> = EventHandler<SyntheticUIEvent<T>>;
|
|
164
|
+
type WheelEventHandler<T = Element> = EventHandler<SyntheticWheelEvent<T>>;
|
|
165
|
+
type AnimationEventHandler<T = Element> = EventHandler<SyntheticAnimationEvent<T>>;
|
|
166
|
+
type TransitionEventHandler<T = Element> = EventHandler<SyntheticTransitionEvent<T>>;
|
|
167
|
+
interface HTMLProps<T> extends AllHTMLAttributes<T> {}
|
|
168
|
+
interface DOMAttributes<T> {
|
|
169
|
+
children?: string | undefined;
|
|
170
|
+
onCopy?: ClipboardEventHandler<T> | undefined;
|
|
171
|
+
onCut?: ClipboardEventHandler<T> | undefined;
|
|
172
|
+
onPaste?: ClipboardEventHandler<T> | undefined;
|
|
173
|
+
onCompositionEnd?: CompositionEventHandler<T> | undefined;
|
|
174
|
+
onCompositionStart?: CompositionEventHandler<T> | undefined;
|
|
175
|
+
onCompositionUpdate?: CompositionEventHandler<T> | undefined;
|
|
176
|
+
onFocus?: FocusEventHandler<T> | undefined;
|
|
177
|
+
onBlur?: FocusEventHandler<T> | undefined;
|
|
178
|
+
onBeforeInput?: FormEventHandler<T> | undefined;
|
|
179
|
+
onInput?: FormEventHandler<T> | undefined;
|
|
180
|
+
onReset?: FormEventHandler<T> | undefined;
|
|
181
|
+
onSubmit?: FormEventHandler<T> | undefined;
|
|
182
|
+
onInvalid?: FormEventHandler<T> | undefined;
|
|
183
|
+
onLoad?: DestylerEventHandler<T> | undefined;
|
|
184
|
+
onError?: DestylerEventHandler<T> | undefined;
|
|
185
|
+
onKeyDown?: KeyboardEventHandler<T> | undefined;
|
|
186
|
+
onKeyUp?: KeyboardEventHandler<T> | undefined;
|
|
187
|
+
onAbort?: DestylerEventHandler<T> | undefined;
|
|
188
|
+
onCanPlay?: DestylerEventHandler<T> | undefined;
|
|
189
|
+
onCanPlayThrough?: DestylerEventHandler<T> | undefined;
|
|
190
|
+
onDurationChange?: DestylerEventHandler<T> | undefined;
|
|
191
|
+
onEmptied?: DestylerEventHandler<T> | undefined;
|
|
192
|
+
onEncrypted?: DestylerEventHandler<T> | undefined;
|
|
193
|
+
onEnded?: DestylerEventHandler<T> | undefined;
|
|
194
|
+
onLoadedData?: DestylerEventHandler<T> | undefined;
|
|
195
|
+
onLoadedMetadata?: DestylerEventHandler<T> | undefined;
|
|
196
|
+
onLoadStart?: DestylerEventHandler<T> | undefined;
|
|
197
|
+
onPause?: DestylerEventHandler<T> | undefined;
|
|
198
|
+
onPlay?: DestylerEventHandler<T> | undefined;
|
|
199
|
+
onPlaying?: DestylerEventHandler<T> | undefined;
|
|
200
|
+
onProgress?: DestylerEventHandler<T> | undefined;
|
|
201
|
+
onRateChange?: DestylerEventHandler<T> | undefined;
|
|
202
|
+
onSeeked?: DestylerEventHandler<T> | undefined;
|
|
203
|
+
onSeeking?: DestylerEventHandler<T> | undefined;
|
|
204
|
+
onStalled?: DestylerEventHandler<T> | undefined;
|
|
205
|
+
onSuspend?: DestylerEventHandler<T> | undefined;
|
|
206
|
+
onTimeUpdate?: DestylerEventHandler<T> | undefined;
|
|
207
|
+
onVolumeChange?: DestylerEventHandler<T> | undefined;
|
|
208
|
+
onWaiting?: DestylerEventHandler<T> | undefined;
|
|
209
|
+
onAuxClick?: MouseEventHandler<T> | undefined;
|
|
210
|
+
onClick?: MouseEventHandler<T> | undefined;
|
|
211
|
+
onContextMenu?: MouseEventHandler<T> | undefined;
|
|
212
|
+
onDoubleClick?: MouseEventHandler<T> | undefined;
|
|
213
|
+
onDrag?: DragEventHandler<T> | undefined;
|
|
214
|
+
onDragEnd?: DragEventHandler<T> | undefined;
|
|
215
|
+
onDragEnter?: DragEventHandler<T> | undefined;
|
|
216
|
+
onDragExit?: DragEventHandler<T> | undefined;
|
|
217
|
+
onDragLeave?: DragEventHandler<T> | undefined;
|
|
218
|
+
onDragOver?: DragEventHandler<T> | undefined;
|
|
219
|
+
onDragStart?: DragEventHandler<T> | undefined;
|
|
220
|
+
onDrop?: DragEventHandler<T> | undefined;
|
|
221
|
+
onMouseDown?: MouseEventHandler<T> | undefined;
|
|
222
|
+
onMouseEnter?: MouseEventHandler<T> | undefined;
|
|
223
|
+
onMouseLeave?: MouseEventHandler<T> | undefined;
|
|
224
|
+
onMouseMove?: MouseEventHandler<T> | undefined;
|
|
225
|
+
onMouseOut?: MouseEventHandler<T> | undefined;
|
|
226
|
+
onMouseOver?: MouseEventHandler<T> | undefined;
|
|
227
|
+
onMouseUp?: MouseEventHandler<T> | undefined;
|
|
228
|
+
onSelect?: DestylerEventHandler<T> | undefined;
|
|
229
|
+
onTouchCancel?: TouchEventHandler<T> | undefined;
|
|
230
|
+
onTouchEnd?: TouchEventHandler<T> | undefined;
|
|
231
|
+
onTouchMove?: TouchEventHandler<T> | undefined;
|
|
232
|
+
onTouchStart?: TouchEventHandler<T> | undefined;
|
|
233
|
+
onPointerDown?: PointerEventHandler<T> | undefined;
|
|
234
|
+
onPointerMove?: PointerEventHandler<T> | undefined;
|
|
235
|
+
onPointerUp?: PointerEventHandler<T> | undefined;
|
|
236
|
+
onPointerCancel?: PointerEventHandler<T> | undefined;
|
|
237
|
+
onPointerEnter?: PointerEventHandler<T> | undefined;
|
|
238
|
+
onPointerLeave?: PointerEventHandler<T> | undefined;
|
|
239
|
+
onPointerOver?: PointerEventHandler<T> | undefined;
|
|
240
|
+
onPointerOut?: PointerEventHandler<T> | undefined;
|
|
241
|
+
onScroll?: UIEventHandler<T> | undefined;
|
|
242
|
+
onWheel?: WheelEventHandler<T> | undefined;
|
|
243
|
+
onAnimationStart?: AnimationEventHandler<T> | undefined;
|
|
244
|
+
onAnimationEnd?: AnimationEventHandler<T> | undefined;
|
|
245
|
+
onAnimationIteration?: AnimationEventHandler<T> | undefined;
|
|
246
|
+
onTransitionEnd?: TransitionEventHandler<T> | undefined;
|
|
247
|
+
}
|
|
248
|
+
interface CSSProperties extends CSS.Properties<string | number> {
|
|
249
|
+
[prop: string]: string | number | undefined;
|
|
250
|
+
}
|
|
251
|
+
interface AriaAttributes {
|
|
252
|
+
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
253
|
+
'aria-activedescendant'?: string | undefined;
|
|
254
|
+
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
255
|
+
'aria-atomic'?: Booleanish | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
|
|
258
|
+
* presented if they are made.
|
|
259
|
+
*/
|
|
260
|
+
'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
|
|
261
|
+
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
262
|
+
'aria-busy'?: Booleanish | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
265
|
+
* @see aria-pressed @see aria-selected.
|
|
266
|
+
*/
|
|
267
|
+
'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* Defines the total number of columns in a table, grid, or treegrid.
|
|
270
|
+
* @see aria-colindex.
|
|
271
|
+
*/
|
|
272
|
+
'aria-colcount'?: number | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
275
|
+
* @see aria-colcount @see aria-colspan.
|
|
276
|
+
*/
|
|
277
|
+
'aria-colindex'?: number | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
280
|
+
* @see aria-colindex @see aria-rowspan.
|
|
281
|
+
*/
|
|
282
|
+
'aria-colspan'?: number | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
285
|
+
* @see aria-owns.
|
|
286
|
+
*/
|
|
287
|
+
'aria-controls'?: string | undefined;
|
|
288
|
+
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
289
|
+
'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* Identifies the element (or elements) that describes the object.
|
|
292
|
+
* @see aria-labelledby
|
|
293
|
+
*/
|
|
294
|
+
'aria-describedby'?: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* Identifies the element that provides a detailed, extended description for the object.
|
|
297
|
+
* @see aria-describedby.
|
|
298
|
+
*/
|
|
299
|
+
'aria-details'?: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
|
|
302
|
+
* @see aria-hidden @see aria-readonly.
|
|
303
|
+
*/
|
|
304
|
+
'aria-disabled'?: Booleanish | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* Indicates what functions can be performed when a dragged object is released on the drop target.
|
|
307
|
+
* @deprecated in ARIA 1.1
|
|
308
|
+
*/
|
|
309
|
+
'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* Identifies the element that provides an error message for the object.
|
|
312
|
+
* @see aria-invalid @see aria-describedby.
|
|
313
|
+
*/
|
|
314
|
+
'aria-errormessage'?: string | undefined;
|
|
315
|
+
/** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
|
|
316
|
+
'aria-expanded'?: Booleanish | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
|
|
319
|
+
* allows assistive technology to override the general default of reading in document source order.
|
|
320
|
+
*/
|
|
321
|
+
'aria-flowto'?: string | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
324
|
+
* @deprecated in ARIA 1.1
|
|
325
|
+
*/
|
|
326
|
+
'aria-grabbed'?: Booleanish | undefined;
|
|
327
|
+
/** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
|
|
328
|
+
'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* Indicates whether the element is exposed to an accessibility API.
|
|
331
|
+
* @see aria-disabled.
|
|
332
|
+
*/
|
|
333
|
+
'aria-hidden'?: Booleanish | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* Indicates the entered value does not conform to the format expected by the application.
|
|
336
|
+
* @see aria-errormessage.
|
|
337
|
+
*/
|
|
338
|
+
'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined;
|
|
339
|
+
/** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
|
|
340
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* Defines a string value that labels the current element.
|
|
343
|
+
* @see aria-labelledby.
|
|
344
|
+
*/
|
|
345
|
+
'aria-label'?: string | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* Identifies the element (or elements) that labels the current element.
|
|
348
|
+
* @see aria-describedby.
|
|
349
|
+
*/
|
|
350
|
+
'aria-labelledby'?: string | undefined;
|
|
351
|
+
/** Defines the hierarchical level of an element within a structure. */
|
|
352
|
+
'aria-level'?: number | undefined;
|
|
353
|
+
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
354
|
+
'aria-live'?: 'off' | 'assertive' | 'polite' | undefined;
|
|
355
|
+
/** Indicates whether an element is modal when displayed. */
|
|
356
|
+
'aria-modal'?: Booleanish | undefined;
|
|
357
|
+
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
358
|
+
'aria-multiline'?: Booleanish | undefined;
|
|
359
|
+
/** Indicates that the user may select more than one item from the current selectable descendants. */
|
|
360
|
+
'aria-multiselectable'?: Booleanish | undefined;
|
|
361
|
+
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
362
|
+
'aria-orientation'?: 'horizontal' | 'vertical' | undefined;
|
|
363
|
+
/**
|
|
364
|
+
* Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
|
|
365
|
+
* between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
|
|
366
|
+
* @see aria-controls.
|
|
367
|
+
*/
|
|
368
|
+
'aria-owns'?: string | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
|
|
371
|
+
* A hint could be a sample value or a brief description of the expected format.
|
|
372
|
+
*/
|
|
373
|
+
'aria-placeholder'?: string | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
376
|
+
* @see aria-setsize.
|
|
377
|
+
*/
|
|
378
|
+
'aria-posinset'?: number | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* Indicates the current "pressed" state of toggle buttons.
|
|
381
|
+
* @see aria-checked @see aria-selected.
|
|
382
|
+
*/
|
|
383
|
+
'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* Indicates that the element is not editable, but is otherwise operable.
|
|
386
|
+
* @see aria-disabled.
|
|
387
|
+
*/
|
|
388
|
+
'aria-readonly'?: Booleanish | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
|
|
391
|
+
* @see aria-atomic.
|
|
392
|
+
*/
|
|
393
|
+
'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined;
|
|
394
|
+
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
395
|
+
'aria-required'?: Booleanish | undefined;
|
|
396
|
+
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
397
|
+
'aria-roledescription'?: string | undefined;
|
|
398
|
+
/**
|
|
399
|
+
* Defines the total number of rows in a table, grid, or treegrid.
|
|
400
|
+
* @see aria-rowindex.
|
|
401
|
+
*/
|
|
402
|
+
'aria-rowcount'?: number | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
405
|
+
* @see aria-rowcount @see aria-rowspan.
|
|
406
|
+
*/
|
|
407
|
+
'aria-rowindex'?: number | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
410
|
+
* @see aria-rowindex @see aria-colspan.
|
|
411
|
+
*/
|
|
412
|
+
'aria-rowspan'?: number | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Indicates the current "selected" state of various widgets.
|
|
415
|
+
* @see aria-checked @see aria-pressed.
|
|
416
|
+
*/
|
|
417
|
+
'aria-selected'?: Booleanish | undefined;
|
|
418
|
+
/**
|
|
419
|
+
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
420
|
+
* @see aria-posinset.
|
|
421
|
+
*/
|
|
422
|
+
'aria-setsize'?: number | undefined;
|
|
423
|
+
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
424
|
+
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined;
|
|
425
|
+
/** Defines the maximum allowed value for a range widget. */
|
|
426
|
+
'aria-valuemax'?: number | undefined;
|
|
427
|
+
/** Defines the minimum allowed value for a range widget. */
|
|
428
|
+
'aria-valuemin'?: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* Defines the current value for a range widget.
|
|
431
|
+
* @see aria-valuetext.
|
|
432
|
+
*/
|
|
433
|
+
'aria-valuenow'?: number | undefined;
|
|
434
|
+
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
435
|
+
'aria-valuetext'?: string | undefined;
|
|
436
|
+
}
|
|
437
|
+
type AriaRole = 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'button' | 'cell' | 'checkbox' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'dialog' | 'directory' | 'document' | 'feed' | 'figure' | 'form' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'navigation' | 'none' | 'note' | 'option' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem' | (string & {});
|
|
438
|
+
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
439
|
+
defaultChecked?: boolean | undefined;
|
|
440
|
+
defaultValue?: string | number | ReadonlyArray<string> | undefined;
|
|
441
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
442
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
443
|
+
accessKey?: string | undefined;
|
|
444
|
+
className?: string | undefined;
|
|
445
|
+
contentEditable?: Booleanish | 'inherit' | undefined;
|
|
446
|
+
contextMenu?: string | undefined;
|
|
447
|
+
dir?: string | undefined;
|
|
448
|
+
draggable?: Booleanish | undefined;
|
|
449
|
+
hidden?: boolean | undefined;
|
|
450
|
+
id?: string | undefined;
|
|
451
|
+
lang?: string | undefined;
|
|
452
|
+
placeholder?: string | undefined;
|
|
453
|
+
slot?: string | undefined;
|
|
454
|
+
spellCheck?: Booleanish | undefined;
|
|
455
|
+
style?: CSSProperties | undefined;
|
|
456
|
+
tabIndex?: number | undefined;
|
|
457
|
+
title?: string | undefined;
|
|
458
|
+
translate?: 'yes' | 'no' | undefined;
|
|
459
|
+
radioGroup?: string | undefined;
|
|
460
|
+
role?: AriaRole | undefined;
|
|
461
|
+
about?: string | undefined;
|
|
462
|
+
datatype?: string | undefined;
|
|
463
|
+
inlist?: any;
|
|
464
|
+
prefix?: string | undefined;
|
|
465
|
+
property?: string | undefined;
|
|
466
|
+
resource?: string | undefined;
|
|
467
|
+
typeof?: string | undefined;
|
|
468
|
+
vocab?: string | undefined;
|
|
469
|
+
autoCapitalize?: string | undefined;
|
|
470
|
+
autoCorrect?: string | undefined;
|
|
471
|
+
autoSave?: string | undefined;
|
|
472
|
+
color?: string | undefined;
|
|
473
|
+
itemProp?: string | undefined;
|
|
474
|
+
itemScope?: boolean | undefined;
|
|
475
|
+
itemType?: string | undefined;
|
|
476
|
+
itemID?: string | undefined;
|
|
477
|
+
itemRef?: string | undefined;
|
|
478
|
+
results?: number | undefined;
|
|
479
|
+
security?: string | undefined;
|
|
480
|
+
unselectable?: 'on' | 'off' | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* Hints at the type of data that might be entered by the user while editing the element or its contents
|
|
483
|
+
* @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
|
|
484
|
+
*/
|
|
485
|
+
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined;
|
|
486
|
+
/**
|
|
487
|
+
* Specify that a standard HTML element should behave like a defined custom built-in element
|
|
488
|
+
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
|
|
489
|
+
*/
|
|
490
|
+
is?: string | undefined;
|
|
491
|
+
}
|
|
492
|
+
interface AllHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
493
|
+
accept?: string | undefined;
|
|
494
|
+
acceptCharset?: string | undefined;
|
|
495
|
+
action?: string | undefined;
|
|
496
|
+
allowFullScreen?: boolean | undefined;
|
|
497
|
+
allowTransparency?: boolean | undefined;
|
|
498
|
+
alt?: string | undefined;
|
|
499
|
+
as?: string | undefined;
|
|
500
|
+
async?: boolean | undefined;
|
|
501
|
+
autoComplete?: string | undefined;
|
|
502
|
+
autoFocus?: boolean | undefined;
|
|
503
|
+
autoPlay?: boolean | undefined;
|
|
504
|
+
capture?: boolean | 'user' | 'environment' | undefined;
|
|
505
|
+
cellPadding?: number | string | undefined;
|
|
506
|
+
cellSpacing?: number | string | undefined;
|
|
507
|
+
charSet?: string | undefined;
|
|
508
|
+
challenge?: string | undefined;
|
|
509
|
+
checked?: boolean | undefined;
|
|
510
|
+
cite?: string | undefined;
|
|
511
|
+
classID?: string | undefined;
|
|
512
|
+
cols?: number | undefined;
|
|
513
|
+
colSpan?: number | undefined;
|
|
514
|
+
content?: string | undefined;
|
|
515
|
+
controls?: boolean | undefined;
|
|
516
|
+
coords?: string | undefined;
|
|
517
|
+
crossOrigin?: string | undefined;
|
|
518
|
+
data?: string | undefined;
|
|
519
|
+
dateTime?: string | undefined;
|
|
520
|
+
default?: boolean | undefined;
|
|
521
|
+
defer?: boolean | undefined;
|
|
522
|
+
disabled?: boolean | undefined;
|
|
523
|
+
download?: any;
|
|
524
|
+
encType?: string | undefined;
|
|
525
|
+
form?: string | undefined;
|
|
526
|
+
formAction?: string | undefined;
|
|
527
|
+
formEncType?: string | undefined;
|
|
528
|
+
formMethod?: string | undefined;
|
|
529
|
+
formNoValidate?: boolean | undefined;
|
|
530
|
+
formTarget?: string | undefined;
|
|
531
|
+
frameBorder?: number | string | undefined;
|
|
532
|
+
headers?: string | undefined;
|
|
533
|
+
height?: number | string | undefined;
|
|
534
|
+
high?: number | undefined;
|
|
535
|
+
href?: string | undefined;
|
|
536
|
+
hrefLang?: string | undefined;
|
|
537
|
+
htmlFor?: string | undefined;
|
|
538
|
+
httpEquiv?: string | undefined;
|
|
539
|
+
integrity?: string | undefined;
|
|
540
|
+
keyParams?: string | undefined;
|
|
541
|
+
keyType?: string | undefined;
|
|
542
|
+
kind?: string | undefined;
|
|
543
|
+
label?: string | undefined;
|
|
544
|
+
list?: string | undefined;
|
|
545
|
+
loop?: boolean | undefined;
|
|
546
|
+
low?: number | undefined;
|
|
547
|
+
manifest?: string | undefined;
|
|
548
|
+
marginHeight?: number | undefined;
|
|
549
|
+
marginWidth?: number | undefined;
|
|
550
|
+
max?: number | string | undefined;
|
|
551
|
+
maxLength?: number | undefined;
|
|
552
|
+
media?: string | undefined;
|
|
553
|
+
mediaGroup?: string | undefined;
|
|
554
|
+
method?: string | undefined;
|
|
555
|
+
min?: number | string | undefined;
|
|
556
|
+
minLength?: number | undefined;
|
|
557
|
+
multiple?: boolean | undefined;
|
|
558
|
+
muted?: boolean | undefined;
|
|
559
|
+
name?: string | undefined;
|
|
560
|
+
nonce?: string | undefined;
|
|
561
|
+
noValidate?: boolean | undefined;
|
|
562
|
+
open?: boolean | undefined;
|
|
563
|
+
optimum?: number | undefined;
|
|
564
|
+
pattern?: string | undefined;
|
|
565
|
+
placeholder?: string | undefined;
|
|
566
|
+
playsInline?: boolean | undefined;
|
|
567
|
+
poster?: string | undefined;
|
|
568
|
+
preload?: string | undefined;
|
|
569
|
+
readOnly?: boolean | undefined;
|
|
570
|
+
rel?: string | undefined;
|
|
571
|
+
required?: boolean | undefined;
|
|
572
|
+
reversed?: boolean | undefined;
|
|
573
|
+
rows?: number | undefined;
|
|
574
|
+
rowSpan?: number | undefined;
|
|
575
|
+
sandbox?: string | undefined;
|
|
576
|
+
scope?: string | undefined;
|
|
577
|
+
scoped?: boolean | undefined;
|
|
578
|
+
scrolling?: string | undefined;
|
|
579
|
+
seamless?: boolean | undefined;
|
|
580
|
+
selected?: boolean | undefined;
|
|
581
|
+
shape?: string | undefined;
|
|
582
|
+
size?: number | undefined;
|
|
583
|
+
sizes?: string | undefined;
|
|
584
|
+
span?: number | undefined;
|
|
585
|
+
src?: string | undefined;
|
|
586
|
+
srcDoc?: string | undefined;
|
|
587
|
+
srcLang?: string | undefined;
|
|
588
|
+
srcSet?: string | undefined;
|
|
589
|
+
start?: number | undefined;
|
|
590
|
+
step?: number | string | undefined;
|
|
591
|
+
summary?: string | undefined;
|
|
592
|
+
target?: string | undefined;
|
|
593
|
+
type?: string | undefined;
|
|
594
|
+
useMap?: string | undefined;
|
|
595
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
596
|
+
width?: number | string | undefined;
|
|
597
|
+
wmode?: string | undefined;
|
|
598
|
+
wrap?: string | undefined;
|
|
599
|
+
}
|
|
600
|
+
type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
601
|
+
type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | (string & {});
|
|
602
|
+
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
603
|
+
download?: any;
|
|
604
|
+
href?: string | undefined;
|
|
605
|
+
hrefLang?: string | undefined;
|
|
606
|
+
media?: string | undefined;
|
|
607
|
+
ping?: string | undefined;
|
|
608
|
+
rel?: string | undefined;
|
|
609
|
+
target?: HTMLAttributeAnchorTarget | undefined;
|
|
610
|
+
type?: string | undefined;
|
|
611
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
612
|
+
}
|
|
613
|
+
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
|
|
614
|
+
interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
615
|
+
alt?: string | undefined;
|
|
616
|
+
coords?: string | undefined;
|
|
617
|
+
download?: any;
|
|
618
|
+
href?: string | undefined;
|
|
619
|
+
hrefLang?: string | undefined;
|
|
620
|
+
media?: string | undefined;
|
|
621
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
622
|
+
rel?: string | undefined;
|
|
623
|
+
shape?: string | undefined;
|
|
624
|
+
target?: string | undefined;
|
|
625
|
+
}
|
|
626
|
+
interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
627
|
+
href?: string | undefined;
|
|
628
|
+
target?: string | undefined;
|
|
629
|
+
}
|
|
630
|
+
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
631
|
+
cite?: string | undefined;
|
|
632
|
+
}
|
|
633
|
+
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
634
|
+
autoFocus?: boolean | undefined;
|
|
635
|
+
disabled?: boolean | undefined;
|
|
636
|
+
form?: string | undefined;
|
|
637
|
+
formAction?: string | undefined;
|
|
638
|
+
formEncType?: string | undefined;
|
|
639
|
+
formMethod?: string | undefined;
|
|
640
|
+
formNoValidate?: boolean | undefined;
|
|
641
|
+
formTarget?: string | undefined;
|
|
642
|
+
name?: string | undefined;
|
|
643
|
+
type?: 'submit' | 'reset' | 'button' | undefined;
|
|
644
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
645
|
+
}
|
|
646
|
+
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
647
|
+
height?: number | string | undefined;
|
|
648
|
+
width?: number | string | undefined;
|
|
649
|
+
}
|
|
650
|
+
interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
651
|
+
span?: number | undefined;
|
|
652
|
+
width?: number | string | undefined;
|
|
653
|
+
}
|
|
654
|
+
interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
655
|
+
span?: number | undefined;
|
|
656
|
+
}
|
|
657
|
+
interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
658
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
659
|
+
}
|
|
660
|
+
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
661
|
+
open?: boolean | undefined;
|
|
662
|
+
onToggle?: DestylerEventHandler<T> | undefined;
|
|
663
|
+
}
|
|
664
|
+
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
665
|
+
cite?: string | undefined;
|
|
666
|
+
dateTime?: string | undefined;
|
|
667
|
+
}
|
|
668
|
+
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
669
|
+
onCancel?: DestylerEventHandler<T> | undefined;
|
|
670
|
+
onClose?: DestylerEventHandler<T> | undefined;
|
|
671
|
+
open?: boolean | undefined;
|
|
672
|
+
}
|
|
673
|
+
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
674
|
+
height?: number | string | undefined;
|
|
675
|
+
src?: string | undefined;
|
|
676
|
+
type?: string | undefined;
|
|
677
|
+
width?: number | string | undefined;
|
|
678
|
+
}
|
|
679
|
+
interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
680
|
+
disabled?: boolean | undefined;
|
|
681
|
+
form?: string | undefined;
|
|
682
|
+
name?: string | undefined;
|
|
683
|
+
}
|
|
684
|
+
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
685
|
+
acceptCharset?: string | undefined;
|
|
686
|
+
action?: string | undefined;
|
|
687
|
+
autoComplete?: string | undefined;
|
|
688
|
+
encType?: string | undefined;
|
|
689
|
+
method?: string | undefined;
|
|
690
|
+
name?: string | undefined;
|
|
691
|
+
noValidate?: boolean | undefined;
|
|
692
|
+
target?: string | undefined;
|
|
693
|
+
}
|
|
694
|
+
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
695
|
+
manifest?: string | undefined;
|
|
696
|
+
}
|
|
697
|
+
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
698
|
+
allow?: string | undefined;
|
|
699
|
+
allowFullScreen?: boolean | undefined;
|
|
700
|
+
allowTransparency?: boolean | undefined;
|
|
701
|
+
/** @deprecated */
|
|
702
|
+
frameBorder?: number | string | undefined;
|
|
703
|
+
height?: number | string | undefined;
|
|
704
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
705
|
+
/** @deprecated */
|
|
706
|
+
marginHeight?: number | undefined;
|
|
707
|
+
/** @deprecated */
|
|
708
|
+
marginWidth?: number | undefined;
|
|
709
|
+
name?: string | undefined;
|
|
710
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
711
|
+
sandbox?: string | undefined;
|
|
712
|
+
/** @deprecated */
|
|
713
|
+
scrolling?: string | undefined;
|
|
714
|
+
seamless?: boolean | undefined;
|
|
715
|
+
src?: string | undefined;
|
|
716
|
+
srcDoc?: string | undefined;
|
|
717
|
+
width?: number | string | undefined;
|
|
718
|
+
}
|
|
719
|
+
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
720
|
+
alt?: string | undefined;
|
|
721
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
722
|
+
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
723
|
+
height?: number | string | undefined;
|
|
724
|
+
loading?: 'eager' | 'lazy' | undefined;
|
|
725
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
726
|
+
sizes?: string | undefined;
|
|
727
|
+
src?: string | undefined;
|
|
728
|
+
srcSet?: string | undefined;
|
|
729
|
+
useMap?: string | undefined;
|
|
730
|
+
width?: number | string | undefined;
|
|
731
|
+
}
|
|
732
|
+
interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
733
|
+
cite?: string | undefined;
|
|
734
|
+
dateTime?: string | undefined;
|
|
735
|
+
}
|
|
736
|
+
type HTMLInputTypeAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | (string & {});
|
|
737
|
+
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
738
|
+
webkitdirectory?: any;
|
|
739
|
+
accept?: string | undefined;
|
|
740
|
+
alt?: string | undefined;
|
|
741
|
+
autoComplete?: string | undefined;
|
|
742
|
+
autoFocus?: boolean | undefined;
|
|
743
|
+
capture?: boolean | 'user' | 'environment' | undefined;
|
|
744
|
+
checked?: boolean | undefined;
|
|
745
|
+
crossOrigin?: string | undefined;
|
|
746
|
+
disabled?: boolean | undefined;
|
|
747
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
748
|
+
form?: string | undefined;
|
|
749
|
+
formAction?: string | undefined;
|
|
750
|
+
formEncType?: string | undefined;
|
|
751
|
+
formMethod?: string | undefined;
|
|
752
|
+
formNoValidate?: boolean | undefined;
|
|
753
|
+
formTarget?: string | undefined;
|
|
754
|
+
height?: number | string | undefined;
|
|
755
|
+
list?: string | undefined;
|
|
756
|
+
max?: number | string | undefined;
|
|
757
|
+
maxLength?: number | undefined;
|
|
758
|
+
min?: number | string | undefined;
|
|
759
|
+
minLength?: number | undefined;
|
|
760
|
+
multiple?: boolean | undefined;
|
|
761
|
+
name?: string | undefined;
|
|
762
|
+
pattern?: string | undefined;
|
|
763
|
+
placeholder?: string | undefined;
|
|
764
|
+
readOnly?: boolean | undefined;
|
|
765
|
+
required?: boolean | undefined;
|
|
766
|
+
size?: number | undefined;
|
|
767
|
+
src?: string | undefined;
|
|
768
|
+
step?: number | string | undefined;
|
|
769
|
+
type?: HTMLInputTypeAttribute | undefined;
|
|
770
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
771
|
+
width?: number | string | undefined;
|
|
772
|
+
onChange?: ChangeEventHandler<T> | undefined;
|
|
773
|
+
}
|
|
774
|
+
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
775
|
+
autoFocus?: boolean | undefined;
|
|
776
|
+
challenge?: string | undefined;
|
|
777
|
+
disabled?: boolean | undefined;
|
|
778
|
+
form?: string | undefined;
|
|
779
|
+
keyType?: string | undefined;
|
|
780
|
+
keyParams?: string | undefined;
|
|
781
|
+
name?: string | undefined;
|
|
782
|
+
}
|
|
783
|
+
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
784
|
+
form?: string | undefined;
|
|
785
|
+
htmlFor?: string | undefined;
|
|
786
|
+
}
|
|
787
|
+
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
788
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
789
|
+
}
|
|
790
|
+
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
791
|
+
as?: string | undefined;
|
|
792
|
+
crossOrigin?: string | undefined;
|
|
793
|
+
href?: string | undefined;
|
|
794
|
+
hrefLang?: string | undefined;
|
|
795
|
+
integrity?: string | undefined;
|
|
796
|
+
media?: string | undefined;
|
|
797
|
+
imageSrcSet?: string | undefined;
|
|
798
|
+
imageSizes?: string | undefined;
|
|
799
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
800
|
+
rel?: string | undefined;
|
|
801
|
+
sizes?: string | undefined;
|
|
802
|
+
type?: string | undefined;
|
|
803
|
+
charSet?: string | undefined;
|
|
804
|
+
}
|
|
805
|
+
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
806
|
+
name?: string | undefined;
|
|
807
|
+
}
|
|
808
|
+
interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
809
|
+
type?: string | undefined;
|
|
810
|
+
}
|
|
811
|
+
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
812
|
+
autoPlay?: boolean | undefined;
|
|
813
|
+
controls?: boolean | undefined;
|
|
814
|
+
controlsList?: string | undefined;
|
|
815
|
+
crossOrigin?: string | undefined;
|
|
816
|
+
loop?: boolean | undefined;
|
|
817
|
+
mediaGroup?: string | undefined;
|
|
818
|
+
muted?: boolean | undefined;
|
|
819
|
+
playsInline?: boolean | undefined;
|
|
820
|
+
preload?: string | undefined;
|
|
821
|
+
src?: string | undefined;
|
|
822
|
+
}
|
|
823
|
+
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
824
|
+
charSet?: string | undefined;
|
|
825
|
+
content?: string | undefined;
|
|
826
|
+
httpEquiv?: string | undefined;
|
|
827
|
+
name?: string | undefined;
|
|
828
|
+
media?: string | undefined;
|
|
829
|
+
}
|
|
830
|
+
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
831
|
+
form?: string | undefined;
|
|
832
|
+
high?: number | undefined;
|
|
833
|
+
low?: number | undefined;
|
|
834
|
+
max?: number | string | undefined;
|
|
835
|
+
min?: number | string | undefined;
|
|
836
|
+
optimum?: number | undefined;
|
|
837
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
838
|
+
}
|
|
839
|
+
interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
840
|
+
cite?: string | undefined;
|
|
841
|
+
}
|
|
842
|
+
interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
843
|
+
classID?: string | undefined;
|
|
844
|
+
data?: string | undefined;
|
|
845
|
+
form?: string | undefined;
|
|
846
|
+
height?: number | string | undefined;
|
|
847
|
+
name?: string | undefined;
|
|
848
|
+
type?: string | undefined;
|
|
849
|
+
useMap?: string | undefined;
|
|
850
|
+
width?: number | string | undefined;
|
|
851
|
+
wmode?: string | undefined;
|
|
852
|
+
}
|
|
853
|
+
interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
854
|
+
reversed?: boolean | undefined;
|
|
855
|
+
start?: number | undefined;
|
|
856
|
+
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
|
|
857
|
+
}
|
|
858
|
+
interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
859
|
+
disabled?: boolean | undefined;
|
|
860
|
+
label?: string | undefined;
|
|
861
|
+
}
|
|
862
|
+
interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
863
|
+
disabled?: boolean | undefined;
|
|
864
|
+
label?: string | undefined;
|
|
865
|
+
selected?: boolean | undefined;
|
|
866
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
867
|
+
}
|
|
868
|
+
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
869
|
+
form?: string | undefined;
|
|
870
|
+
htmlFor?: string | undefined;
|
|
871
|
+
name?: string | undefined;
|
|
872
|
+
}
|
|
873
|
+
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
874
|
+
name?: string | undefined;
|
|
875
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
876
|
+
}
|
|
877
|
+
interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
878
|
+
max?: number | string | undefined;
|
|
879
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
880
|
+
}
|
|
881
|
+
interface SlotHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
882
|
+
name?: string | undefined;
|
|
883
|
+
}
|
|
884
|
+
interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
885
|
+
async?: boolean | undefined;
|
|
886
|
+
/** @deprecated */
|
|
887
|
+
charSet?: string | undefined;
|
|
888
|
+
crossOrigin?: string | undefined;
|
|
889
|
+
defer?: boolean | undefined;
|
|
890
|
+
integrity?: string | undefined;
|
|
891
|
+
noModule?: boolean | undefined;
|
|
892
|
+
nonce?: string | undefined;
|
|
893
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
894
|
+
src?: string | undefined;
|
|
895
|
+
type?: string | undefined;
|
|
896
|
+
}
|
|
897
|
+
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
898
|
+
autoComplete?: string | undefined;
|
|
899
|
+
autoFocus?: boolean | undefined;
|
|
900
|
+
disabled?: boolean | undefined;
|
|
901
|
+
form?: string | undefined;
|
|
902
|
+
multiple?: boolean | undefined;
|
|
903
|
+
name?: string | undefined;
|
|
904
|
+
required?: boolean | undefined;
|
|
905
|
+
size?: number | undefined;
|
|
906
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
907
|
+
onChange?: ChangeEventHandler<T> | undefined;
|
|
908
|
+
}
|
|
909
|
+
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
910
|
+
height?: number | string | undefined;
|
|
911
|
+
media?: string | undefined;
|
|
912
|
+
sizes?: string | undefined;
|
|
913
|
+
src?: string | undefined;
|
|
914
|
+
srcSet?: string | undefined;
|
|
915
|
+
type?: string | undefined;
|
|
916
|
+
width?: number | string | undefined;
|
|
917
|
+
}
|
|
918
|
+
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
919
|
+
media?: string | undefined;
|
|
920
|
+
nonce?: string | undefined;
|
|
921
|
+
scoped?: boolean | undefined;
|
|
922
|
+
type?: string | undefined;
|
|
923
|
+
}
|
|
924
|
+
interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
925
|
+
align?: 'left' | 'center' | 'right' | undefined;
|
|
926
|
+
bgcolor?: string | undefined;
|
|
927
|
+
border?: number | undefined;
|
|
928
|
+
cellPadding?: number | string | undefined;
|
|
929
|
+
cellSpacing?: number | string | undefined;
|
|
930
|
+
frame?: boolean | undefined;
|
|
931
|
+
rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
|
|
932
|
+
summary?: string | undefined;
|
|
933
|
+
width?: number | string | undefined;
|
|
934
|
+
}
|
|
935
|
+
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
936
|
+
autoComplete?: string | undefined;
|
|
937
|
+
autoFocus?: boolean | undefined;
|
|
938
|
+
cols?: number | undefined;
|
|
939
|
+
dirName?: string | undefined;
|
|
940
|
+
disabled?: boolean | undefined;
|
|
941
|
+
form?: string | undefined;
|
|
942
|
+
maxLength?: number | undefined;
|
|
943
|
+
minLength?: number | undefined;
|
|
944
|
+
name?: string | undefined;
|
|
945
|
+
placeholder?: string | undefined;
|
|
946
|
+
readOnly?: boolean | undefined;
|
|
947
|
+
required?: boolean | undefined;
|
|
948
|
+
rows?: number | undefined;
|
|
949
|
+
value?: string | ReadonlyArray<string> | number | undefined;
|
|
950
|
+
wrap?: string | undefined;
|
|
951
|
+
onChange?: ChangeEventHandler<T> | undefined;
|
|
952
|
+
}
|
|
953
|
+
interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
954
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
955
|
+
colSpan?: number | undefined;
|
|
956
|
+
headers?: string | undefined;
|
|
957
|
+
rowSpan?: number | undefined;
|
|
958
|
+
scope?: string | undefined;
|
|
959
|
+
abbr?: string | undefined;
|
|
960
|
+
height?: number | string | undefined;
|
|
961
|
+
width?: number | string | undefined;
|
|
962
|
+
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
|
|
963
|
+
}
|
|
964
|
+
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
965
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
|
|
966
|
+
colSpan?: number | undefined;
|
|
967
|
+
headers?: string | undefined;
|
|
968
|
+
rowSpan?: number | undefined;
|
|
969
|
+
scope?: string | undefined;
|
|
970
|
+
abbr?: string | undefined;
|
|
971
|
+
}
|
|
972
|
+
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
973
|
+
dateTime?: string | undefined;
|
|
974
|
+
}
|
|
975
|
+
interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
976
|
+
default?: boolean | undefined;
|
|
977
|
+
kind?: string | undefined;
|
|
978
|
+
label?: string | undefined;
|
|
979
|
+
src?: string | undefined;
|
|
980
|
+
srcLang?: string | undefined;
|
|
981
|
+
}
|
|
982
|
+
interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
983
|
+
height?: number | string | undefined;
|
|
984
|
+
playsInline?: boolean | undefined;
|
|
985
|
+
poster?: string | undefined;
|
|
986
|
+
width?: number | string | undefined;
|
|
987
|
+
disablePictureInPicture?: boolean | undefined;
|
|
988
|
+
disableRemotePlayback?: boolean | undefined;
|
|
989
|
+
}
|
|
990
|
+
interface SVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
|
991
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
992
|
+
className?: string | undefined;
|
|
993
|
+
color?: string | undefined;
|
|
994
|
+
height?: number | string | undefined;
|
|
995
|
+
id?: string | undefined;
|
|
996
|
+
lang?: string | undefined;
|
|
997
|
+
max?: number | string | undefined;
|
|
998
|
+
media?: string | undefined;
|
|
999
|
+
method?: string | undefined;
|
|
1000
|
+
min?: number | string | undefined;
|
|
1001
|
+
name?: string | undefined;
|
|
1002
|
+
style?: CSSProperties | undefined;
|
|
1003
|
+
target?: string | undefined;
|
|
1004
|
+
type?: string | undefined;
|
|
1005
|
+
width?: number | string | undefined;
|
|
1006
|
+
role?: AriaRole | undefined;
|
|
1007
|
+
tabIndex?: number | undefined;
|
|
1008
|
+
crossOrigin?: any;
|
|
1009
|
+
accentHeight?: number | string | undefined;
|
|
1010
|
+
accumulate?: 'none' | 'sum' | undefined;
|
|
1011
|
+
additive?: 'replace' | 'sum' | undefined;
|
|
1012
|
+
alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined;
|
|
1013
|
+
allowReorder?: 'no' | 'yes' | undefined;
|
|
1014
|
+
alphabetic?: number | string | undefined;
|
|
1015
|
+
amplitude?: number | string | undefined;
|
|
1016
|
+
arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined;
|
|
1017
|
+
ascent?: number | string | undefined;
|
|
1018
|
+
attributeName?: string | undefined;
|
|
1019
|
+
attributeType?: string | undefined;
|
|
1020
|
+
autoReverse?: Booleanish | undefined;
|
|
1021
|
+
azimuth?: number | string | undefined;
|
|
1022
|
+
baseFrequency?: number | string | undefined;
|
|
1023
|
+
baselineShift?: number | string | undefined;
|
|
1024
|
+
baseProfile?: number | string | undefined;
|
|
1025
|
+
bbox?: number | string | undefined;
|
|
1026
|
+
begin?: number | string | undefined;
|
|
1027
|
+
bias?: number | string | undefined;
|
|
1028
|
+
by?: number | string | undefined;
|
|
1029
|
+
calcMode?: number | string | undefined;
|
|
1030
|
+
capHeight?: number | string | undefined;
|
|
1031
|
+
clip?: number | string | undefined;
|
|
1032
|
+
clipPath?: string | undefined;
|
|
1033
|
+
clipPathUnits?: number | string | undefined;
|
|
1034
|
+
clipRule?: number | string | undefined;
|
|
1035
|
+
colorInterpolation?: number | string | undefined;
|
|
1036
|
+
colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined;
|
|
1037
|
+
colorProfile?: number | string | undefined;
|
|
1038
|
+
colorRendering?: number | string | undefined;
|
|
1039
|
+
contentScriptType?: number | string | undefined;
|
|
1040
|
+
contentStyleType?: number | string | undefined;
|
|
1041
|
+
cursor?: number | string | undefined;
|
|
1042
|
+
cx?: number | string | undefined;
|
|
1043
|
+
cy?: number | string | undefined;
|
|
1044
|
+
d?: string | undefined;
|
|
1045
|
+
decelerate?: number | string | undefined;
|
|
1046
|
+
descent?: number | string | undefined;
|
|
1047
|
+
diffuseConstant?: number | string | undefined;
|
|
1048
|
+
direction?: number | string | undefined;
|
|
1049
|
+
display?: number | string | undefined;
|
|
1050
|
+
divisor?: number | string | undefined;
|
|
1051
|
+
dominantBaseline?: number | string | undefined;
|
|
1052
|
+
dur?: number | string | undefined;
|
|
1053
|
+
dx?: number | string | undefined;
|
|
1054
|
+
dy?: number | string | undefined;
|
|
1055
|
+
edgeMode?: number | string | undefined;
|
|
1056
|
+
elevation?: number | string | undefined;
|
|
1057
|
+
enableBackground?: number | string | undefined;
|
|
1058
|
+
end?: number | string | undefined;
|
|
1059
|
+
exponent?: number | string | undefined;
|
|
1060
|
+
externalResourcesRequired?: Booleanish | undefined;
|
|
1061
|
+
fill?: string | undefined;
|
|
1062
|
+
fillOpacity?: number | string | undefined;
|
|
1063
|
+
fillRule?: 'nonzero' | 'evenodd' | 'inherit' | undefined;
|
|
1064
|
+
filter?: string | undefined;
|
|
1065
|
+
filterRes?: number | string | undefined;
|
|
1066
|
+
filterUnits?: number | string | undefined;
|
|
1067
|
+
floodColor?: number | string | undefined;
|
|
1068
|
+
floodOpacity?: number | string | undefined;
|
|
1069
|
+
focusable?: Booleanish | 'auto' | undefined;
|
|
1070
|
+
fontFamily?: string | undefined;
|
|
1071
|
+
fontSize?: number | string | undefined;
|
|
1072
|
+
fontSizeAdjust?: number | string | undefined;
|
|
1073
|
+
fontStretch?: number | string | undefined;
|
|
1074
|
+
fontStyle?: number | string | undefined;
|
|
1075
|
+
fontVariant?: number | string | undefined;
|
|
1076
|
+
fontWeight?: number | string | undefined;
|
|
1077
|
+
format?: number | string | undefined;
|
|
1078
|
+
fr?: number | string | undefined;
|
|
1079
|
+
from?: number | string | undefined;
|
|
1080
|
+
fx?: number | string | undefined;
|
|
1081
|
+
fy?: number | string | undefined;
|
|
1082
|
+
g1?: number | string | undefined;
|
|
1083
|
+
g2?: number | string | undefined;
|
|
1084
|
+
glyphName?: number | string | undefined;
|
|
1085
|
+
glyphOrientationHorizontal?: number | string | undefined;
|
|
1086
|
+
glyphOrientationVertical?: number | string | undefined;
|
|
1087
|
+
glyphRef?: number | string | undefined;
|
|
1088
|
+
gradientTransform?: string | undefined;
|
|
1089
|
+
gradientUnits?: string | undefined;
|
|
1090
|
+
hanging?: number | string | undefined;
|
|
1091
|
+
horizAdvX?: number | string | undefined;
|
|
1092
|
+
horizOriginX?: number | string | undefined;
|
|
1093
|
+
href?: string | undefined;
|
|
1094
|
+
ideographic?: number | string | undefined;
|
|
1095
|
+
imageRendering?: number | string | undefined;
|
|
1096
|
+
in2?: number | string | undefined;
|
|
1097
|
+
in?: string | undefined;
|
|
1098
|
+
intercept?: number | string | undefined;
|
|
1099
|
+
k1?: number | string | undefined;
|
|
1100
|
+
k2?: number | string | undefined;
|
|
1101
|
+
k3?: number | string | undefined;
|
|
1102
|
+
k4?: number | string | undefined;
|
|
1103
|
+
k?: number | string | undefined;
|
|
1104
|
+
kernelMatrix?: number | string | undefined;
|
|
1105
|
+
kernelUnitLength?: number | string | undefined;
|
|
1106
|
+
kerning?: number | string | undefined;
|
|
1107
|
+
keyPoints?: number | string | undefined;
|
|
1108
|
+
keySplines?: number | string | undefined;
|
|
1109
|
+
keyTimes?: number | string | undefined;
|
|
1110
|
+
lengthAdjust?: number | string | undefined;
|
|
1111
|
+
letterSpacing?: number | string | undefined;
|
|
1112
|
+
lightingColor?: number | string | undefined;
|
|
1113
|
+
limitingConeAngle?: number | string | undefined;
|
|
1114
|
+
local?: number | string | undefined;
|
|
1115
|
+
markerEnd?: string | undefined;
|
|
1116
|
+
markerHeight?: number | string | undefined;
|
|
1117
|
+
markerMid?: string | undefined;
|
|
1118
|
+
markerStart?: string | undefined;
|
|
1119
|
+
markerUnits?: number | string | undefined;
|
|
1120
|
+
markerWidth?: number | string | undefined;
|
|
1121
|
+
mask?: string | undefined;
|
|
1122
|
+
maskContentUnits?: number | string | undefined;
|
|
1123
|
+
maskUnits?: number | string | undefined;
|
|
1124
|
+
mathematical?: number | string | undefined;
|
|
1125
|
+
mode?: number | string | undefined;
|
|
1126
|
+
numOctaves?: number | string | undefined;
|
|
1127
|
+
offset?: number | string | undefined;
|
|
1128
|
+
opacity?: number | string | undefined;
|
|
1129
|
+
operator?: number | string | undefined;
|
|
1130
|
+
order?: number | string | undefined;
|
|
1131
|
+
orient?: number | string | undefined;
|
|
1132
|
+
orientation?: number | string | undefined;
|
|
1133
|
+
origin?: number | string | undefined;
|
|
1134
|
+
overflow?: number | string | undefined;
|
|
1135
|
+
overlinePosition?: number | string | undefined;
|
|
1136
|
+
overlineThickness?: number | string | undefined;
|
|
1137
|
+
paintOrder?: number | string | undefined;
|
|
1138
|
+
panose1?: number | string | undefined;
|
|
1139
|
+
path?: string | undefined;
|
|
1140
|
+
pathLength?: number | string | undefined;
|
|
1141
|
+
patternContentUnits?: string | undefined;
|
|
1142
|
+
patternTransform?: number | string | undefined;
|
|
1143
|
+
patternUnits?: string | undefined;
|
|
1144
|
+
pointerEvents?: number | string | undefined;
|
|
1145
|
+
points?: string | undefined;
|
|
1146
|
+
pointsAtX?: number | string | undefined;
|
|
1147
|
+
pointsAtY?: number | string | undefined;
|
|
1148
|
+
pointsAtZ?: number | string | undefined;
|
|
1149
|
+
preserveAlpha?: Booleanish | undefined;
|
|
1150
|
+
preserveAspectRatio?: string | undefined;
|
|
1151
|
+
primitiveUnits?: number | string | undefined;
|
|
1152
|
+
r?: number | string | undefined;
|
|
1153
|
+
radius?: number | string | undefined;
|
|
1154
|
+
refX?: number | string | undefined;
|
|
1155
|
+
refY?: number | string | undefined;
|
|
1156
|
+
renderingIntent?: number | string | undefined;
|
|
1157
|
+
repeatCount?: number | string | undefined;
|
|
1158
|
+
repeatDur?: number | string | undefined;
|
|
1159
|
+
requiredExtensions?: number | string | undefined;
|
|
1160
|
+
requiredFeatures?: number | string | undefined;
|
|
1161
|
+
restart?: number | string | undefined;
|
|
1162
|
+
result?: string | undefined;
|
|
1163
|
+
rotate?: number | string | undefined;
|
|
1164
|
+
rx?: number | string | undefined;
|
|
1165
|
+
ry?: number | string | undefined;
|
|
1166
|
+
scale?: number | string | undefined;
|
|
1167
|
+
seed?: number | string | undefined;
|
|
1168
|
+
shapeRendering?: number | string | undefined;
|
|
1169
|
+
slope?: number | string | undefined;
|
|
1170
|
+
spacing?: number | string | undefined;
|
|
1171
|
+
specularConstant?: number | string | undefined;
|
|
1172
|
+
specularExponent?: number | string | undefined;
|
|
1173
|
+
speed?: number | string | undefined;
|
|
1174
|
+
spreadMethod?: string | undefined;
|
|
1175
|
+
startOffset?: number | string | undefined;
|
|
1176
|
+
stdDeviation?: number | string | undefined;
|
|
1177
|
+
stemh?: number | string | undefined;
|
|
1178
|
+
stemv?: number | string | undefined;
|
|
1179
|
+
stitchTiles?: number | string | undefined;
|
|
1180
|
+
stopColor?: string | undefined;
|
|
1181
|
+
stopOpacity?: number | string | undefined;
|
|
1182
|
+
strikethroughPosition?: number | string | undefined;
|
|
1183
|
+
strikethroughThickness?: number | string | undefined;
|
|
1184
|
+
string?: number | string | undefined;
|
|
1185
|
+
stroke?: string | undefined;
|
|
1186
|
+
strokeDasharray?: string | number | undefined;
|
|
1187
|
+
strokeDashoffset?: string | number | undefined;
|
|
1188
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
|
|
1189
|
+
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined;
|
|
1190
|
+
strokeMiterlimit?: number | string | undefined;
|
|
1191
|
+
strokeOpacity?: number | string | undefined;
|
|
1192
|
+
strokeWidth?: number | string | undefined;
|
|
1193
|
+
surfaceScale?: number | string | undefined;
|
|
1194
|
+
systemLanguage?: number | string | undefined;
|
|
1195
|
+
tableValues?: number | string | undefined;
|
|
1196
|
+
targetX?: number | string | undefined;
|
|
1197
|
+
targetY?: number | string | undefined;
|
|
1198
|
+
textAnchor?: string | undefined;
|
|
1199
|
+
textDecoration?: number | string | undefined;
|
|
1200
|
+
textLength?: number | string | undefined;
|
|
1201
|
+
textRendering?: number | string | undefined;
|
|
1202
|
+
to?: number | string | undefined;
|
|
1203
|
+
transform?: string | undefined;
|
|
1204
|
+
u1?: number | string | undefined;
|
|
1205
|
+
u2?: number | string | undefined;
|
|
1206
|
+
underlinePosition?: number | string | undefined;
|
|
1207
|
+
underlineThickness?: number | string | undefined;
|
|
1208
|
+
unicode?: number | string | undefined;
|
|
1209
|
+
unicodeBidi?: number | string | undefined;
|
|
1210
|
+
unicodeRange?: number | string | undefined;
|
|
1211
|
+
unitsPerEm?: number | string | undefined;
|
|
1212
|
+
vAlphabetic?: number | string | undefined;
|
|
1213
|
+
values?: string | undefined;
|
|
1214
|
+
vectorEffect?: number | string | undefined;
|
|
1215
|
+
version?: string | undefined;
|
|
1216
|
+
vertAdvY?: number | string | undefined;
|
|
1217
|
+
vertOriginX?: number | string | undefined;
|
|
1218
|
+
vertOriginY?: number | string | undefined;
|
|
1219
|
+
vHanging?: number | string | undefined;
|
|
1220
|
+
vIdeographic?: number | string | undefined;
|
|
1221
|
+
viewBox?: string | undefined;
|
|
1222
|
+
viewTarget?: number | string | undefined;
|
|
1223
|
+
visibility?: number | string | undefined;
|
|
1224
|
+
vMathematical?: number | string | undefined;
|
|
1225
|
+
widths?: number | string | undefined;
|
|
1226
|
+
wordSpacing?: number | string | undefined;
|
|
1227
|
+
writingMode?: number | string | undefined;
|
|
1228
|
+
x1?: number | string | undefined;
|
|
1229
|
+
x2?: number | string | undefined;
|
|
1230
|
+
x?: number | string | undefined;
|
|
1231
|
+
xChannelSelector?: string | undefined;
|
|
1232
|
+
xHeight?: number | string | undefined;
|
|
1233
|
+
xlinkActuate?: string | undefined;
|
|
1234
|
+
xlinkArcrole?: string | undefined;
|
|
1235
|
+
xlinkHref?: string | undefined;
|
|
1236
|
+
xlinkRole?: string | undefined;
|
|
1237
|
+
xlinkShow?: string | undefined;
|
|
1238
|
+
xlinkTitle?: string | undefined;
|
|
1239
|
+
xlinkType?: string | undefined;
|
|
1240
|
+
xmlBase?: string | undefined;
|
|
1241
|
+
xmlLang?: string | undefined;
|
|
1242
|
+
xmlns?: string | undefined;
|
|
1243
|
+
xmlnsXlink?: string | undefined;
|
|
1244
|
+
xmlSpace?: string | undefined;
|
|
1245
|
+
y1?: number | string | undefined;
|
|
1246
|
+
y2?: number | string | undefined;
|
|
1247
|
+
y?: number | string | undefined;
|
|
1248
|
+
yChannelSelector?: string | undefined;
|
|
1249
|
+
z?: number | string | undefined;
|
|
1250
|
+
zoomAndPan?: string | undefined;
|
|
1251
|
+
}
|
|
1252
|
+
interface IntrinsicElements {
|
|
1253
|
+
a: AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
1254
|
+
abbr: HTMLAttributes<HTMLElement>;
|
|
1255
|
+
address: HTMLAttributes<HTMLElement>;
|
|
1256
|
+
area: AreaHTMLAttributes<HTMLAreaElement>;
|
|
1257
|
+
article: HTMLAttributes<HTMLElement>;
|
|
1258
|
+
aside: HTMLAttributes<HTMLElement>;
|
|
1259
|
+
audio: AudioHTMLAttributes<HTMLAudioElement>;
|
|
1260
|
+
b: HTMLAttributes<HTMLElement>;
|
|
1261
|
+
base: BaseHTMLAttributes<HTMLBaseElement>;
|
|
1262
|
+
bdi: HTMLAttributes<HTMLElement>;
|
|
1263
|
+
bdo: HTMLAttributes<HTMLElement>;
|
|
1264
|
+
big: HTMLAttributes<HTMLElement>;
|
|
1265
|
+
blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement>;
|
|
1266
|
+
body: HTMLAttributes<HTMLBodyElement>;
|
|
1267
|
+
br: HTMLAttributes<HTMLBRElement>;
|
|
1268
|
+
button: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1269
|
+
canvas: CanvasHTMLAttributes<HTMLCanvasElement>;
|
|
1270
|
+
caption: HTMLAttributes<HTMLElement>;
|
|
1271
|
+
cite: HTMLAttributes<HTMLElement>;
|
|
1272
|
+
code: HTMLAttributes<HTMLElement>;
|
|
1273
|
+
col: ColHTMLAttributes<HTMLTableColElement>;
|
|
1274
|
+
colgroup: ColgroupHTMLAttributes<HTMLTableColElement>;
|
|
1275
|
+
data: DataHTMLAttributes<HTMLDataElement>;
|
|
1276
|
+
datalist: HTMLAttributes<HTMLDataListElement>;
|
|
1277
|
+
dd: HTMLAttributes<HTMLElement>;
|
|
1278
|
+
del: DelHTMLAttributes<HTMLModElement>;
|
|
1279
|
+
details: DetailsHTMLAttributes<HTMLDetailsElement>;
|
|
1280
|
+
dfn: HTMLAttributes<HTMLElement>;
|
|
1281
|
+
dialog: DialogHTMLAttributes<HTMLDialogElement>;
|
|
1282
|
+
div: HTMLAttributes<HTMLDivElement>;
|
|
1283
|
+
dl: HTMLAttributes<HTMLDListElement>;
|
|
1284
|
+
dt: HTMLAttributes<HTMLElement>;
|
|
1285
|
+
em: HTMLAttributes<HTMLElement>;
|
|
1286
|
+
embed: EmbedHTMLAttributes<HTMLEmbedElement>;
|
|
1287
|
+
fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>;
|
|
1288
|
+
figcaption: HTMLAttributes<HTMLElement>;
|
|
1289
|
+
figure: HTMLAttributes<HTMLElement>;
|
|
1290
|
+
footer: HTMLAttributes<HTMLElement>;
|
|
1291
|
+
form: FormHTMLAttributes<HTMLFormElement>;
|
|
1292
|
+
h1: HTMLAttributes<HTMLHeadingElement>;
|
|
1293
|
+
h2: HTMLAttributes<HTMLHeadingElement>;
|
|
1294
|
+
h3: HTMLAttributes<HTMLHeadingElement>;
|
|
1295
|
+
h4: HTMLAttributes<HTMLHeadingElement>;
|
|
1296
|
+
h5: HTMLAttributes<HTMLHeadingElement>;
|
|
1297
|
+
h6: HTMLAttributes<HTMLHeadingElement>;
|
|
1298
|
+
head: HTMLAttributes<HTMLHeadElement>;
|
|
1299
|
+
header: HTMLAttributes<HTMLElement>;
|
|
1300
|
+
hgroup: HTMLAttributes<HTMLElement>;
|
|
1301
|
+
hr: HTMLAttributes<HTMLHRElement>;
|
|
1302
|
+
html: HtmlHTMLAttributes<HTMLHtmlElement>;
|
|
1303
|
+
i: HTMLAttributes<HTMLElement>;
|
|
1304
|
+
iframe: IframeHTMLAttributes<HTMLIFrameElement>;
|
|
1305
|
+
img: ImgHTMLAttributes<HTMLImageElement>;
|
|
1306
|
+
input: InputHTMLAttributes<HTMLInputElement>;
|
|
1307
|
+
ins: InsHTMLAttributes<HTMLModElement>;
|
|
1308
|
+
kbd: HTMLAttributes<HTMLElement>;
|
|
1309
|
+
keygen: KeygenHTMLAttributes<HTMLElement>;
|
|
1310
|
+
label: LabelHTMLAttributes<HTMLLabelElement>;
|
|
1311
|
+
legend: HTMLAttributes<HTMLLegendElement>;
|
|
1312
|
+
li: LiHTMLAttributes<HTMLLIElement>;
|
|
1313
|
+
link: LinkHTMLAttributes<HTMLLinkElement>;
|
|
1314
|
+
main: HTMLAttributes<HTMLElement>;
|
|
1315
|
+
map: MapHTMLAttributes<HTMLMapElement>;
|
|
1316
|
+
mark: HTMLAttributes<HTMLElement>;
|
|
1317
|
+
menu: MenuHTMLAttributes<HTMLElement>;
|
|
1318
|
+
menuitem: HTMLAttributes<HTMLElement>;
|
|
1319
|
+
meta: MetaHTMLAttributes<HTMLMetaElement>;
|
|
1320
|
+
meter: MeterHTMLAttributes<HTMLMeterElement>;
|
|
1321
|
+
nav: HTMLAttributes<HTMLElement>;
|
|
1322
|
+
noindex: HTMLAttributes<HTMLElement>;
|
|
1323
|
+
noscript: HTMLAttributes<HTMLElement>;
|
|
1324
|
+
object: ObjectHTMLAttributes<HTMLObjectElement>;
|
|
1325
|
+
ol: OlHTMLAttributes<HTMLOListElement>;
|
|
1326
|
+
optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>;
|
|
1327
|
+
option: OptionHTMLAttributes<HTMLOptionElement>;
|
|
1328
|
+
output: OutputHTMLAttributes<HTMLOutputElement>;
|
|
1329
|
+
p: HTMLAttributes<HTMLParagraphElement>;
|
|
1330
|
+
param: ParamHTMLAttributes<HTMLParamElement>;
|
|
1331
|
+
picture: HTMLAttributes<HTMLElement>;
|
|
1332
|
+
pre: HTMLAttributes<HTMLPreElement>;
|
|
1333
|
+
progress: ProgressHTMLAttributes<HTMLProgressElement>;
|
|
1334
|
+
q: QuoteHTMLAttributes<HTMLQuoteElement>;
|
|
1335
|
+
rp: HTMLAttributes<HTMLElement>;
|
|
1336
|
+
rt: HTMLAttributes<HTMLElement>;
|
|
1337
|
+
ruby: HTMLAttributes<HTMLElement>;
|
|
1338
|
+
s: HTMLAttributes<HTMLElement>;
|
|
1339
|
+
samp: HTMLAttributes<HTMLElement>;
|
|
1340
|
+
slot: SlotHTMLAttributes<HTMLSlotElement>;
|
|
1341
|
+
script: ScriptHTMLAttributes<HTMLScriptElement>;
|
|
1342
|
+
section: HTMLAttributes<HTMLElement>;
|
|
1343
|
+
select: SelectHTMLAttributes<HTMLSelectElement>;
|
|
1344
|
+
small: HTMLAttributes<HTMLElement>;
|
|
1345
|
+
source: SourceHTMLAttributes<HTMLSourceElement>;
|
|
1346
|
+
span: HTMLAttributes<HTMLSpanElement>;
|
|
1347
|
+
strong: HTMLAttributes<HTMLElement>;
|
|
1348
|
+
style: StyleHTMLAttributes<HTMLStyleElement>;
|
|
1349
|
+
sub: HTMLAttributes<HTMLElement>;
|
|
1350
|
+
summary: HTMLAttributes<HTMLElement>;
|
|
1351
|
+
sup: HTMLAttributes<HTMLElement>;
|
|
1352
|
+
table: TableHTMLAttributes<HTMLTableElement>;
|
|
1353
|
+
template: HTMLAttributes<HTMLTemplateElement>;
|
|
1354
|
+
tbody: HTMLAttributes<HTMLTableSectionElement>;
|
|
1355
|
+
td: TdHTMLAttributes<HTMLTableDataCellElement>;
|
|
1356
|
+
textarea: TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
1357
|
+
tfoot: HTMLAttributes<HTMLTableSectionElement>;
|
|
1358
|
+
th: ThHTMLAttributes<HTMLTableHeaderCellElement>;
|
|
1359
|
+
thead: HTMLAttributes<HTMLTableSectionElement>;
|
|
1360
|
+
time: TimeHTMLAttributes<HTMLTimeElement>;
|
|
1361
|
+
title: HTMLAttributes<HTMLTitleElement>;
|
|
1362
|
+
tr: HTMLAttributes<HTMLTableRowElement>;
|
|
1363
|
+
track: TrackHTMLAttributes<HTMLTrackElement>;
|
|
1364
|
+
u: HTMLAttributes<HTMLElement>;
|
|
1365
|
+
ul: HTMLAttributes<HTMLUListElement>;
|
|
1366
|
+
var: HTMLAttributes<HTMLElement>;
|
|
1367
|
+
video: VideoHTMLAttributes<HTMLVideoElement>;
|
|
1368
|
+
g: SVGAttributes<SVGGElement>;
|
|
1369
|
+
svg: SVGAttributes<SVGSVGElement>;
|
|
1370
|
+
circle: SVGAttributes<SVGCircleElement>;
|
|
1371
|
+
path: SVGAttributes<SVGPathElement>;
|
|
1372
|
+
rect: SVGAttributes<SVGRectElement>;
|
|
1373
|
+
polyline: SVGAttributes<SVGPolylineElement>;
|
|
1374
|
+
polygon: SVGAttributes<SVGPolygonElement>;
|
|
1375
|
+
}
|
|
1376
|
+
//#endregion
|
|
1377
|
+
//#region src/create-props.d.ts
|
|
1378
|
+
type StrictKeys<K extends (keyof T)[], T> = K extends (keyof T)[] ? [keyof T] extends [K[number]] ? unknown : `Missing required keys: ${Exclude<keyof T, K[number]>}` : never;
|
|
1379
|
+
declare function createProps<T extends Record<never, never>>(): <K extends (keyof T)[]>(props: K & StrictKeys<K, T>) => (keyof T)[];
|
|
1380
|
+
//#endregion
|
|
1381
|
+
//#region src/prop-types.d.ts
|
|
1382
|
+
type Dict<T = any> = Record<string, T>;
|
|
1383
|
+
type DataAttr = {
|
|
1384
|
+
'data-selected'?: any | undefined;
|
|
1385
|
+
'data-expanded'?: any | undefined;
|
|
1386
|
+
'data-highlighted'?: any | undefined;
|
|
1387
|
+
'data-readonly'?: any | undefined;
|
|
1388
|
+
'data-indeterminate'?: any | undefined;
|
|
1389
|
+
'data-invalid'?: any | undefined;
|
|
1390
|
+
'data-hover'?: any | undefined;
|
|
1391
|
+
'data-active'?: any | undefined;
|
|
1392
|
+
'data-focus'?: any | undefined;
|
|
1393
|
+
'data-focus-visible'?: any | undefined;
|
|
1394
|
+
'data-disabled'?: any | undefined;
|
|
1395
|
+
'data-open'?: any | undefined;
|
|
1396
|
+
'data-checked'?: any | undefined;
|
|
1397
|
+
'data-pressed'?: any | undefined;
|
|
1398
|
+
'data-complete'?: any | undefined;
|
|
1399
|
+
'data-side'?: any | undefined;
|
|
1400
|
+
'data-align'?: any | undefined;
|
|
1401
|
+
'data-empty'?: any | undefined;
|
|
1402
|
+
'data-placeholder-shown'?: any | undefined;
|
|
1403
|
+
'data-half'?: any | undefined;
|
|
1404
|
+
'data-scope'?: string | undefined;
|
|
1405
|
+
'data-uid'?: string | undefined;
|
|
1406
|
+
'data-name'?: string | undefined;
|
|
1407
|
+
'data-ownedby'?: string | undefined;
|
|
1408
|
+
'data-type'?: string | undefined;
|
|
1409
|
+
'data-valuetext'?: string | undefined;
|
|
1410
|
+
'data-placement'?: string | undefined;
|
|
1411
|
+
'data-controls'?: string | undefined;
|
|
1412
|
+
'data-part'?: string | undefined;
|
|
1413
|
+
'data-label'?: string | undefined;
|
|
1414
|
+
'data-state'?: string | null | undefined;
|
|
1415
|
+
'data-value'?: string | number | undefined;
|
|
1416
|
+
'data-orientation'?: 'horizontal' | 'vertical' | undefined;
|
|
1417
|
+
'data-count'?: number | undefined;
|
|
1418
|
+
'data-index'?: number | undefined;
|
|
1419
|
+
} & { [key in `data-${string}`]?: any | undefined };
|
|
1420
|
+
type PropTypes<T = Dict> = Record<'button' | 'label' | 'input' | 'textarea' | 'img' | 'output' | 'element' | 'select' | 'rect' | 'style' | 'circle' | 'svg' | 'path', T>;
|
|
1421
|
+
type NormalizeProps<T extends PropTypes> = { [K in keyof T]: (props: K extends keyof IntrinsicElements ? DataAttr & IntrinsicElements[K] : never) => T[K] } & {
|
|
1422
|
+
element: (props: DataAttr & HTMLAttributes<HTMLElement> & Record<string, any>) => T['element'];
|
|
1423
|
+
style: CSSProperties;
|
|
1424
|
+
};
|
|
1425
|
+
declare function createNormalizer<T extends PropTypes>(fn: (props: Dict) => Dict): NormalizeProps<T>;
|
|
1426
|
+
//#endregion
|
|
1427
|
+
//#region index.d.ts
|
|
1428
|
+
type RequiredBy<T, K extends keyof T> = Partial<Omit<T, K>> & Required<Pick<T, K>>;
|
|
1429
|
+
type Nullable<T> = T | null;
|
|
1430
|
+
type NonNullable<T> = T extends null | undefined ? never : T;
|
|
1431
|
+
type Required<T> = { [P in keyof T]-?: NonNullable<T[P]> };
|
|
1432
|
+
type Direction = 'ltr' | 'rtl';
|
|
1433
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
1434
|
+
type MaybeFn<T> = T | (() => T);
|
|
1435
|
+
type MaybeElement<T extends HTMLElement = HTMLElement> = Nullable<T>;
|
|
1436
|
+
interface OrientationProperty {
|
|
1437
|
+
/**
|
|
1438
|
+
* The orientation of the element.
|
|
1439
|
+
* @default "horizontal"
|
|
1440
|
+
*/
|
|
1441
|
+
orientation: Orientation;
|
|
1442
|
+
}
|
|
1443
|
+
interface DirectionProperty {
|
|
1444
|
+
/**
|
|
1445
|
+
* The document's text/writing direction.
|
|
1446
|
+
* @default "ltr"
|
|
1447
|
+
*/
|
|
1448
|
+
dir?: 'ltr' | 'rtl' | undefined;
|
|
1449
|
+
}
|
|
1450
|
+
interface LocaleProperties extends DirectionProperty {
|
|
1451
|
+
/**
|
|
1452
|
+
* The current locale. Based on the BCP 47 definition.
|
|
1453
|
+
* @default "en-US"
|
|
1454
|
+
*/
|
|
1455
|
+
locale?: string | undefined;
|
|
1456
|
+
}
|
|
1457
|
+
interface CommonProperties {
|
|
1458
|
+
/**
|
|
1459
|
+
* The unique identifier of the machine.
|
|
1460
|
+
*/
|
|
1461
|
+
id: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* A root node to correctly resolve document in custom environments. E.x.: Iframes, Electron.
|
|
1464
|
+
*/
|
|
1465
|
+
getRootNode?: (() => ShadowRoot | Document | Node) | undefined;
|
|
1466
|
+
}
|
|
1467
|
+
type Style = CSSProperties;
|
|
1468
|
+
type EventKey = 'ArrowDown' | 'ArrowUp' | 'ArrowLeft' | 'ArrowRight' | 'Space' | 'Enter' | 'Comma' | 'Escape' | 'Backspace' | 'Delete' | 'Home' | 'End' | 'Tab' | 'PageUp' | 'PageDown' | (string & {});
|
|
1469
|
+
type EventKeyMap<T extends HTMLElement = HTMLElement> = { [key in EventKey]?: (event: SyntheticKeyboardEvent<T>) => void };
|
|
1470
|
+
interface Point {
|
|
1471
|
+
x: number;
|
|
1472
|
+
y: number;
|
|
1473
|
+
}
|
|
1474
|
+
//#endregion
|
|
1475
|
+
export { type AbstractView, type AllHTMLAttributes, type AnchorHTMLAttributes, type AnimationEventHandler, type AreaHTMLAttributes, type AriaAttributes, type AudioHTMLAttributes, type BaseHTMLAttributes, type BaseSyntheticEvent, type BlockquoteHTMLAttributes, type ButtonHTMLAttributes, type CSSProperties, type CanvasHTMLAttributes, type ChangeEventHandler, type ClipboardEventHandler, type ColHTMLAttributes, type ColgroupHTMLAttributes, CommonProperties, type CompositionEventHandler, type DOMAttributes, type DataHTMLAttributes, type DelHTMLAttributes, type DetailsHTMLAttributes, type DialogHTMLAttributes, Direction, DirectionProperty, type DragEventHandler, type EmbedHTMLAttributes, EventKey, EventKeyMap, type FieldsetHTMLAttributes, type FocusEventHandler, type FormEventHandler, type FormHTMLAttributes, type HTMLAttributes, type HTMLProps, type HtmlHTMLAttributes, type IframeHTMLAttributes, type ImgHTMLAttributes, type InputHTMLAttributes, type InsHTMLAttributes, type IntrinsicElements, type KeyboardEventHandler, type KeygenHTMLAttributes, type LabelHTMLAttributes, type LiHTMLAttributes, type LinkHTMLAttributes, LocaleProperties, type MapHTMLAttributes, MaybeElement, MaybeFn, type MediaHTMLAttributes, type MenuHTMLAttributes, type MetaHTMLAttributes, type MeterHTMLAttributes, type MouseEventHandler, NonNullable, NormalizeProps, Nullable, type ObjectHTMLAttributes, type OlHTMLAttributes, type OptgroupHTMLAttributes, Orientation, OrientationProperty, type OutputHTMLAttributes, type ParamHTMLAttributes, Point, type PointerEventHandler, type ProgressHTMLAttributes, PropTypes, type QuoteHTMLAttributes, Required, RequiredBy, type SVGAttributes, type ScriptHTMLAttributes, type SelectHTMLAttributes, type SlotHTMLAttributes, type SourceHTMLAttributes, Style, type StyleHTMLAttributes, type SyntheticAnimationEvent, type SyntheticChangeEvent, type SyntheticClipboardEvent, type SyntheticCompositionEvent, type SyntheticDragEvent, type SyntheticEvent, type SyntheticFocusEvent, type SyntheticFormEvent, type SyntheticInvalidEvent, type SyntheticKeyboardEvent, type SyntheticMouseEvent, type SyntheticPointerEvent, type SyntheticTouchEvent, type SyntheticTransitionEvent, type SyntheticUIEvent, type SyntheticWheelEvent, type TableHTMLAttributes, type TdHTMLAttributes, type TextareaHTMLAttributes, type ThHTMLAttributes, type TouchEventHandler, type TrackHTMLAttributes, type TransitionEventHandler, type UIEventHandler, type VideoHTMLAttributes, type WheelEventHandler, createNormalizer, createProps };
|