vite-plugin-vanjs 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jsx/jsx.d.ts ADDED
@@ -0,0 +1,2290 @@
1
+ import * as csstype from "csstype";
2
+ import type { ChildDom, Primitive, State } from "vanjs-core";
3
+
4
+ /**
5
+ * Based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
6
+ *
7
+ * https://github.com/adamhaile/surplus/blob/master/index.d.ts
8
+ * https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts
9
+ */
10
+ type DOMElement = Element;
11
+ export type VanNode = DOMElement | ChildDom | null;
12
+ export type { Fragment } from "./fragment";
13
+
14
+ export as namespace JSX;
15
+ export = JSX;
16
+
17
+ declare namespace JSX {
18
+ // type FunctionMaybe<T = unknown> = { (): T } | T;
19
+ type FunctionMaybe<T = unknown> = State<T> | T;
20
+ type Element =
21
+ | ChildDom
22
+ | Node
23
+ | DOMElement
24
+ | ArrayElement
25
+ | FunctionElement
26
+ | (string & {})
27
+ | number
28
+ | boolean
29
+ | null
30
+ | undefined;
31
+ interface ArrayElement extends Array<Element> {}
32
+ interface FunctionElement {
33
+ (): Element;
34
+ }
35
+ interface ElementClass {
36
+ // empty, libs can define requirements downstream
37
+ }
38
+ interface ElementAttributesProperty {
39
+ // empty, libs can define requirements downstream
40
+ }
41
+ interface ElementChildrenAttribute {
42
+ children: {};
43
+ }
44
+ interface EventHandler<T, E extends Event> {
45
+ (
46
+ e: E & {
47
+ currentTarget: T;
48
+ target: DOMElement;
49
+ },
50
+ ): void;
51
+ }
52
+
53
+ interface BoundEventHandler<T, E extends Event> {
54
+ 0: (
55
+ data: any,
56
+ e: E & {
57
+ currentTarget: T;
58
+ target: DOMElement;
59
+ },
60
+ ) => void;
61
+ 1: any;
62
+ }
63
+ type EventHandlerUnion<T, E extends Event> =
64
+ | EventHandler<T, E>
65
+ | BoundEventHandler<T, E>;
66
+
67
+ interface EventHandlerWithOptions<T, E extends Event>
68
+ extends AddEventListenerOptions {
69
+ handleEvent: (
70
+ e: E & {
71
+ currentTarget: T;
72
+ target: Element;
73
+ },
74
+ ) => void;
75
+ }
76
+
77
+ type EventHandlerWithOptionsUnion<T, E extends Event> =
78
+ | EventHandler<T, E>
79
+ | EventHandlerWithOptions<T, E>;
80
+
81
+ const SERIALIZABLE: unique symbol;
82
+ interface SerializableAttributeValue {
83
+ toString(): string;
84
+ [SERIALIZABLE]: never;
85
+ }
86
+
87
+ interface IntrinsicAttributes {
88
+ ref?: unknown | ((e: unknown) => void);
89
+ }
90
+ interface CustomAttributes<T> {
91
+ ref?: State<T> | T | ((el: T) => void);
92
+ }
93
+ interface ExplicitProperties {}
94
+ interface ExplicitAttributes {}
95
+ interface ExplicitBoolAttributes {}
96
+ interface CustomEvents {}
97
+ /** @deprecated Replaced by CustomEvents */
98
+ interface CustomCaptureEvents {}
99
+ interface DOMAttributes<T>
100
+ extends
101
+ CustomAttributes<T>,
102
+ CustomEventHandlersCamelCase<T>,
103
+ CustomEventHandlersLowerCase<T>,
104
+ CustomEventHandlersNamespaced<T> {
105
+ children?: Element;
106
+ innerHTML?: string;
107
+ innerText?: string | number;
108
+ textContent?: string | number;
109
+ // camel case events
110
+ onCopy?: EventHandlerUnion<T, ClipboardEvent>;
111
+ onCut?: EventHandlerUnion<T, ClipboardEvent>;
112
+ onPaste?: EventHandlerUnion<T, ClipboardEvent>;
113
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent>;
114
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent>;
115
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent>;
116
+ onFocusOut?: EventHandlerUnion<T, FocusEvent>;
117
+ onFocusIn?: EventHandlerUnion<T, FocusEvent>;
118
+ onEncrypted?: EventHandlerUnion<T, Event>;
119
+ onDragExit?: EventHandlerUnion<T, DragEvent>;
120
+ // lower case events
121
+ oncopy?: EventHandlerUnion<T, ClipboardEvent>;
122
+ oncut?: EventHandlerUnion<T, ClipboardEvent>;
123
+ onpaste?: EventHandlerUnion<T, ClipboardEvent>;
124
+ oncompositionend?: EventHandlerUnion<T, CompositionEvent>;
125
+ oncompositionstart?: EventHandlerUnion<T, CompositionEvent>;
126
+ oncompositionupdate?: EventHandlerUnion<T, CompositionEvent>;
127
+ onfocusout?: EventHandlerUnion<T, FocusEvent>;
128
+ onfocusin?: EventHandlerUnion<T, FocusEvent>;
129
+ onencrypted?: EventHandlerUnion<T, Event>;
130
+ ondragexit?: EventHandlerUnion<T, DragEvent>;
131
+ }
132
+ interface CustomEventHandlersCamelCase<T> {
133
+ onAbort?: EventHandlerUnion<T, Event>;
134
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent>;
135
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent>;
136
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent>;
137
+ onAuxClick?: EventHandlerUnion<T, MouseEvent>;
138
+ onBeforeInput?: EventHandlerUnion<T, InputEvent>;
139
+ onBeforeToggle?: EventHandlerUnion<T, ToggleEvent>;
140
+ onBlur?: EventHandlerUnion<T, FocusEvent>;
141
+ onCanPlay?: EventHandlerUnion<T, Event>;
142
+ onCanPlayThrough?: EventHandlerUnion<T, Event>;
143
+ onChange?: EventHandlerUnion<T, Event>;
144
+ onClick?: EventHandlerUnion<T, MouseEvent>;
145
+ onContextMenu?: EventHandlerUnion<T, MouseEvent>;
146
+ onDblClick?: EventHandlerUnion<T, MouseEvent>;
147
+ onDrag?: EventHandlerUnion<T, DragEvent>;
148
+ onDragEnd?: EventHandlerUnion<T, DragEvent>;
149
+ onDragEnter?: EventHandlerUnion<T, DragEvent>;
150
+ onDragLeave?: EventHandlerUnion<T, DragEvent>;
151
+ onDragOver?: EventHandlerUnion<T, DragEvent>;
152
+ onDragStart?: EventHandlerUnion<T, DragEvent>;
153
+ onDrop?: EventHandlerUnion<T, DragEvent>;
154
+ onDurationChange?: EventHandlerUnion<T, Event>;
155
+ onEmptied?: EventHandlerUnion<T, Event>;
156
+ onEnded?: EventHandlerUnion<T, Event>;
157
+ onError?: EventHandlerUnion<T, Event>;
158
+ onFocus?: EventHandlerUnion<T, FocusEvent>;
159
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent>;
160
+ onInput?: EventHandlerUnion<T, InputEvent>;
161
+ onInvalid?: EventHandlerUnion<T, Event>;
162
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent>;
163
+ onKeyPress?: EventHandlerUnion<T, KeyboardEvent>;
164
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent>;
165
+ onLoad?: EventHandlerUnion<T, Event>;
166
+ onLoadedData?: EventHandlerUnion<T, Event>;
167
+ onLoadedMetadata?: EventHandlerUnion<T, Event>;
168
+ onLoadStart?: EventHandlerUnion<T, Event>;
169
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent>;
170
+ onMouseDown?: EventHandlerUnion<T, MouseEvent>;
171
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent>;
172
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent>;
173
+ onMouseMove?: EventHandlerUnion<T, MouseEvent>;
174
+ onMouseOut?: EventHandlerUnion<T, MouseEvent>;
175
+ onMouseOver?: EventHandlerUnion<T, MouseEvent>;
176
+ onMouseUp?: EventHandlerUnion<T, MouseEvent>;
177
+ onPause?: EventHandlerUnion<T, Event>;
178
+ onPlay?: EventHandlerUnion<T, Event>;
179
+ onPlaying?: EventHandlerUnion<T, Event>;
180
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent>;
181
+ onPointerDown?: EventHandlerUnion<T, PointerEvent>;
182
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent>;
183
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent>;
184
+ onPointerMove?: EventHandlerUnion<T, PointerEvent>;
185
+ onPointerOut?: EventHandlerUnion<T, PointerEvent>;
186
+ onPointerOver?: EventHandlerUnion<T, PointerEvent>;
187
+ onPointerUp?: EventHandlerUnion<T, PointerEvent>;
188
+ onProgress?: EventHandlerUnion<T, Event>;
189
+ onRateChange?: EventHandlerUnion<T, Event>;
190
+ onReset?: EventHandlerUnion<T, Event>;
191
+ onScroll?: EventHandlerUnion<T, Event>;
192
+ onScrollEnd?: EventHandlerUnion<T, Event>;
193
+ onSeeked?: EventHandlerUnion<T, Event>;
194
+ onSeeking?: EventHandlerUnion<T, Event>;
195
+ onSelect?: EventHandlerUnion<T, UIEvent>;
196
+ onStalled?: EventHandlerUnion<T, Event>;
197
+ onSubmit?: EventHandlerUnion<T, SubmitEvent>;
198
+ onSuspend?: EventHandlerUnion<T, Event>;
199
+ onTimeUpdate?: EventHandlerUnion<T, Event>;
200
+ onToggle?: EventHandlerUnion<T, ToggleEvent>;
201
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent>;
202
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent>;
203
+ onTouchMove?: EventHandlerUnion<T, TouchEvent>;
204
+ onTouchStart?: EventHandlerUnion<T, TouchEvent>;
205
+ onTransitionStart?: EventHandlerUnion<T, TransitionEvent>;
206
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent>;
207
+ onTransitionRun?: EventHandlerUnion<T, TransitionEvent>;
208
+ onTransitionCancel?: EventHandlerUnion<T, TransitionEvent>;
209
+ onVolumeChange?: EventHandlerUnion<T, Event>;
210
+ onWaiting?: EventHandlerUnion<T, Event>;
211
+ onWheel?: EventHandlerUnion<T, WheelEvent>;
212
+ }
213
+ /** @type {GlobalEventHandlers} */
214
+ interface CustomEventHandlersLowerCase<T> {
215
+ onabort?: EventHandlerUnion<T, Event>;
216
+ onanimationend?: EventHandlerUnion<T, AnimationEvent>;
217
+ onanimationiteration?: EventHandlerUnion<T, AnimationEvent>;
218
+ onanimationstart?: EventHandlerUnion<T, AnimationEvent>;
219
+ onauxclick?: EventHandlerUnion<T, MouseEvent>;
220
+ onbeforeinput?: EventHandlerUnion<T, InputEvent>;
221
+ onbeforetoggle?: EventHandlerUnion<T, ToggleEvent>;
222
+ onblur?: EventHandlerUnion<T, FocusEvent>;
223
+ oncanplay?: EventHandlerUnion<T, Event>;
224
+ oncanplaythrough?: EventHandlerUnion<T, Event>;
225
+ onchange?: EventHandlerUnion<T, Event>;
226
+ onclick?: EventHandlerUnion<T, MouseEvent>;
227
+ oncontextmenu?: EventHandlerUnion<T, MouseEvent>;
228
+ ondblclick?: EventHandlerUnion<T, MouseEvent>;
229
+ ondrag?: EventHandlerUnion<T, DragEvent>;
230
+ ondragend?: EventHandlerUnion<T, DragEvent>;
231
+ ondragenter?: EventHandlerUnion<T, DragEvent>;
232
+ ondragleave?: EventHandlerUnion<T, DragEvent>;
233
+ ondragover?: EventHandlerUnion<T, DragEvent>;
234
+ ondragstart?: EventHandlerUnion<T, DragEvent>;
235
+ ondrop?: EventHandlerUnion<T, DragEvent>;
236
+ ondurationchange?: EventHandlerUnion<T, Event>;
237
+ onemptied?: EventHandlerUnion<T, Event>;
238
+ onended?: EventHandlerUnion<T, Event>;
239
+ onerror?: EventHandlerUnion<T, Event>;
240
+ onfocus?: EventHandlerUnion<T, FocusEvent>;
241
+ ongotpointercapture?: EventHandlerUnion<T, PointerEvent>;
242
+ oninput?: EventHandlerUnion<T, InputEvent>;
243
+ oninvalid?: EventHandlerUnion<T, Event>;
244
+ onkeydown?: EventHandlerUnion<T, KeyboardEvent>;
245
+ onkeypress?: EventHandlerUnion<T, KeyboardEvent>;
246
+ onkeyup?: EventHandlerUnion<T, KeyboardEvent>;
247
+ onload?: EventHandlerUnion<T, Event>;
248
+ onloadeddata?: EventHandlerUnion<T, Event>;
249
+ onloadedmetadata?: EventHandlerUnion<T, Event>;
250
+ onloadstart?: EventHandlerUnion<T, Event>;
251
+ onlostpointercapture?: EventHandlerUnion<T, PointerEvent>;
252
+ onmousedown?: EventHandlerUnion<T, MouseEvent>;
253
+ onmouseenter?: EventHandlerUnion<T, MouseEvent>;
254
+ onmouseleave?: EventHandlerUnion<T, MouseEvent>;
255
+ onmousemove?: EventHandlerUnion<T, MouseEvent>;
256
+ onmouseout?: EventHandlerUnion<T, MouseEvent>;
257
+ onmouseover?: EventHandlerUnion<T, MouseEvent>;
258
+ onmouseup?: EventHandlerUnion<T, MouseEvent>;
259
+ onpause?: EventHandlerUnion<T, Event>;
260
+ onplay?: EventHandlerUnion<T, Event>;
261
+ onplaying?: EventHandlerUnion<T, Event>;
262
+ onpointercancel?: EventHandlerUnion<T, PointerEvent>;
263
+ onpointerdown?: EventHandlerUnion<T, PointerEvent>;
264
+ onpointerenter?: EventHandlerUnion<T, PointerEvent>;
265
+ onpointerleave?: EventHandlerUnion<T, PointerEvent>;
266
+ onpointermove?: EventHandlerUnion<T, PointerEvent>;
267
+ onpointerout?: EventHandlerUnion<T, PointerEvent>;
268
+ onpointerover?: EventHandlerUnion<T, PointerEvent>;
269
+ onpointerup?: EventHandlerUnion<T, PointerEvent>;
270
+ onprogress?: EventHandlerUnion<T, Event>;
271
+ onratechange?: EventHandlerUnion<T, Event>;
272
+ onreset?: EventHandlerUnion<T, Event>;
273
+ onscroll?: EventHandlerUnion<T, Event>;
274
+ onscrollend?: EventHandlerUnion<T, Event>;
275
+ onseeked?: EventHandlerUnion<T, Event>;
276
+ onseeking?: EventHandlerUnion<T, Event>;
277
+ onselect?: EventHandlerUnion<T, UIEvent>;
278
+ onstalled?: EventHandlerUnion<T, Event>;
279
+ onsubmit?: EventHandlerUnion<T, SubmitEvent>;
280
+ onsuspend?: EventHandlerUnion<T, Event>;
281
+ ontimeupdate?: EventHandlerUnion<T, Event>;
282
+ ontoggle?: EventHandlerUnion<T, ToggleEvent>;
283
+ ontouchcancel?: EventHandlerUnion<T, TouchEvent>;
284
+ ontouchend?: EventHandlerUnion<T, TouchEvent>;
285
+ ontouchmove?: EventHandlerUnion<T, TouchEvent>;
286
+ ontouchstart?: EventHandlerUnion<T, TouchEvent>;
287
+ ontransitionstart?: EventHandlerUnion<T, TransitionEvent>;
288
+ ontransitionend?: EventHandlerUnion<T, TransitionEvent>;
289
+ ontransitionrun?: EventHandlerUnion<T, TransitionEvent>;
290
+ ontransitioncancel?: EventHandlerUnion<T, TransitionEvent>;
291
+ onvolumechange?: EventHandlerUnion<T, Event>;
292
+ onwaiting?: EventHandlerUnion<T, Event>;
293
+ onwheel?: EventHandlerUnion<T, WheelEvent>;
294
+ }
295
+
296
+ interface CSSProperties extends csstype.PropertiesHyphen {
297
+ // Override
298
+ [key: `-${string}`]: string | number | undefined;
299
+ }
300
+
301
+ type HTMLAutocapitalize =
302
+ | "off"
303
+ | "none"
304
+ | "on"
305
+ | "sentences"
306
+ | "words"
307
+ | "characters";
308
+ type HTMLDir = "ltr" | "rtl" | "auto";
309
+ type HTMLFormEncType =
310
+ | "application/x-www-form-urlencoded"
311
+ | "multipart/form-data"
312
+ | "text/plain";
313
+ type HTMLFormMethod = "post" | "get" | "dialog";
314
+ type HTMLCrossorigin = "anonymous" | "use-credentials" | "";
315
+ type HTMLReferrerPolicy =
316
+ | "no-referrer"
317
+ | "no-referrer-when-downgrade"
318
+ | "origin"
319
+ | "origin-when-cross-origin"
320
+ | "same-origin"
321
+ | "strict-origin"
322
+ | "strict-origin-when-cross-origin"
323
+ | "unsafe-url";
324
+ type HTMLIframeSandbox =
325
+ | "allow-downloads-without-user-activation"
326
+ | "allow-downloads"
327
+ | "allow-forms"
328
+ | "allow-modals"
329
+ | "allow-orientation-lock"
330
+ | "allow-pointer-lock"
331
+ | "allow-popups"
332
+ | "allow-popups-to-escape-sandbox"
333
+ | "allow-presentation"
334
+ | "allow-same-origin"
335
+ | "allow-scripts"
336
+ | "allow-storage-access-by-user-activation"
337
+ | "allow-top-navigation"
338
+ | "allow-top-navigation-by-user-activation";
339
+ type HTMLLinkAs =
340
+ | "audio"
341
+ | "document"
342
+ | "embed"
343
+ | "fetch"
344
+ | "font"
345
+ | "image"
346
+ | "object"
347
+ | "script"
348
+ | "style"
349
+ | "track"
350
+ | "video"
351
+ | "worker";
352
+
353
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
354
+ interface AriaAttributes {
355
+ /**
356
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox,
357
+ * group, or application.
358
+ */
359
+ "aria-activedescendant"?: string;
360
+ /**
361
+ * Indicates whether assistive technologies will present all, or only parts of, the changed
362
+ * region based on the change notifications defined by the aria-relevant attribute.
363
+ */
364
+ "aria-atomic"?: boolean | "false" | "true";
365
+ /**
366
+ * Indicates whether inputting text could trigger display of one or more predictions of the
367
+ * user's intended value for an input and specifies how predictions would be presented if they
368
+ * are made.
369
+ */
370
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both";
371
+ /**
372
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until
373
+ * the modifications are complete before exposing them to the user.
374
+ */
375
+ "aria-busy"?: boolean | "false" | "true";
376
+ /**
377
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
378
+ *
379
+ * @see aria-pressed @see aria-selected.
380
+ */
381
+ "aria-checked"?: boolean | "false" | "mixed" | "true";
382
+ /**
383
+ * Defines the total number of columns in a table, grid, or treegrid.
384
+ *
385
+ * @see aria-colindex.
386
+ */
387
+ "aria-colcount"?: number | string;
388
+ /**
389
+ * Defines an element's column index or position with respect to the total number of columns
390
+ * within a table, grid, or treegrid.
391
+ *
392
+ * @see aria-colcount @see aria-colspan.
393
+ */
394
+ "aria-colindex"?: number | string;
395
+ /**
396
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or
397
+ * treegrid.
398
+ *
399
+ * @see aria-colindex @see aria-rowspan.
400
+ */
401
+ "aria-colspan"?: number | string;
402
+ /**
403
+ * Identifies the element (or elements) whose contents or presence are controlled by the current
404
+ * element.
405
+ *
406
+ * @see aria-owns.
407
+ */
408
+ "aria-controls"?: string;
409
+ /**
410
+ * Indicates the element that represents the current item within a container or set of related
411
+ * elements.
412
+ */
413
+ "aria-current"?:
414
+ | boolean
415
+ | "false"
416
+ | "true"
417
+ | "page"
418
+ | "step"
419
+ | "location"
420
+ | "date"
421
+ | "time";
422
+ /**
423
+ * Identifies the element (or elements) that describes the object.
424
+ *
425
+ * @see aria-labelledby
426
+ */
427
+ "aria-describedby"?: string;
428
+ /**
429
+ * Identifies the element that provides a detailed, extended description for the object.
430
+ *
431
+ * @see aria-describedby.
432
+ */
433
+ "aria-details"?: string;
434
+ /**
435
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise
436
+ * operable.
437
+ *
438
+ * @see aria-hidden @see aria-readonly.
439
+ */
440
+ "aria-disabled"?: boolean | "false" | "true";
441
+ /**
442
+ * Indicates what functions can be performed when a dragged object is released on the drop
443
+ * target.
444
+ *
445
+ * @deprecated In ARIA 1.1
446
+ */
447
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup";
448
+ /**
449
+ * Identifies the element that provides an error message for the object.
450
+ *
451
+ * @see aria-invalid @see aria-describedby.
452
+ */
453
+ "aria-errormessage"?: string;
454
+ /**
455
+ * Indicates whether the element, or another grouping element it controls, is currently expanded
456
+ * or collapsed.
457
+ */
458
+ "aria-expanded"?: boolean | "false" | "true";
459
+ /**
460
+ * Identifies the next element (or elements) in an alternate reading order of content which, at
461
+ * the user's discretion, allows assistive technology to override the general default of reading
462
+ * in document source order.
463
+ */
464
+ "aria-flowto"?: string;
465
+ /**
466
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
467
+ *
468
+ * @deprecated In ARIA 1.1
469
+ */
470
+ "aria-grabbed"?: boolean | "false" | "true";
471
+ /**
472
+ * Indicates the availability and type of interactive popup element, such as menu or dialog,
473
+ * that can be triggered by an element.
474
+ */
475
+ "aria-haspopup"?:
476
+ | boolean
477
+ | "false"
478
+ | "true"
479
+ | "menu"
480
+ | "listbox"
481
+ | "tree"
482
+ | "grid"
483
+ | "dialog";
484
+ /**
485
+ * Indicates whether the element is exposed to an accessibility API.
486
+ *
487
+ * @see aria-disabled.
488
+ */
489
+ "aria-hidden"?: boolean | "false" | "true";
490
+ /**
491
+ * Indicates the entered value does not conform to the format expected by the application.
492
+ *
493
+ * @see aria-errormessage.
494
+ */
495
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling";
496
+ /**
497
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
498
+ * element.
499
+ */
500
+ "aria-keyshortcuts"?: string;
501
+ /**
502
+ * Defines a string value that labels the current element.
503
+ *
504
+ * @see aria-labelledby.
505
+ */
506
+ "aria-label"?: string;
507
+ /**
508
+ * Identifies the element (or elements) that labels the current element.
509
+ *
510
+ * @see aria-describedby.
511
+ */
512
+ "aria-labelledby"?: string;
513
+ /** Defines the hierarchical level of an element within a structure. */
514
+ "aria-level"?: number | string;
515
+ /**
516
+ * Indicates that an element will be updated, and describes the types of updates the user
517
+ * agents, assistive technologies, and user can expect from the live region.
518
+ */
519
+ "aria-live"?: "off" | "assertive" | "polite";
520
+ /** Indicates whether an element is modal when displayed. */
521
+ "aria-modal"?: boolean | "false" | "true";
522
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
523
+ "aria-multiline"?: boolean | "false" | "true";
524
+ /**
525
+ * Indicates that the user may select more than one item from the current selectable
526
+ * descendants.
527
+ */
528
+ "aria-multiselectable"?: boolean | "false" | "true";
529
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
530
+ "aria-orientation"?: "horizontal" | "vertical";
531
+ /**
532
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual
533
+ * parent/child relationship between DOM elements where the DOM hierarchy cannot be used to
534
+ * represent the relationship.
535
+ *
536
+ * @see aria-controls.
537
+ */
538
+ "aria-owns"?: string;
539
+ /**
540
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when
541
+ * the control has no value. A hint could be a sample value or a brief description of the
542
+ * expected format.
543
+ */
544
+ "aria-placeholder"?: string;
545
+ /**
546
+ * Defines an element's number or position in the current set of listitems or treeitems. Not
547
+ * required if all elements in the set are present in the DOM.
548
+ *
549
+ * @see aria-setsize.
550
+ */
551
+ "aria-posinset"?: number | string;
552
+ /**
553
+ * Indicates the current "pressed" state of toggle buttons.
554
+ *
555
+ * @see aria-checked @see aria-selected.
556
+ */
557
+ "aria-pressed"?: boolean | "false" | "mixed" | "true";
558
+ /**
559
+ * Indicates that the element is not editable, but is otherwise operable.
560
+ *
561
+ * @see aria-disabled.
562
+ */
563
+ "aria-readonly"?: boolean | "false" | "true";
564
+ /**
565
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a
566
+ * live region is modified.
567
+ *
568
+ * @see aria-atomic.
569
+ */
570
+ "aria-relevant"?:
571
+ | "additions"
572
+ | "additions removals"
573
+ | "additions text"
574
+ | "all"
575
+ | "removals"
576
+ | "removals additions"
577
+ | "removals text"
578
+ | "text"
579
+ | "text additions"
580
+ | "text removals";
581
+ /** Indicates that user input is required on the element before a form may be submitted. */
582
+ "aria-required"?: boolean | "false" | "true";
583
+ /** Defines a human-readable, author-localized description for the role of an element. */
584
+ "aria-roledescription"?: string;
585
+ /**
586
+ * Defines the total number of rows in a table, grid, or treegrid.
587
+ *
588
+ * @see aria-rowindex.
589
+ */
590
+ "aria-rowcount"?: number | string;
591
+ /**
592
+ * Defines an element's row index or position with respect to the total number of rows within a
593
+ * table, grid, or treegrid.
594
+ *
595
+ * @see aria-rowcount @see aria-rowspan.
596
+ */
597
+ "aria-rowindex"?: number | string;
598
+ /**
599
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
600
+ *
601
+ * @see aria-rowindex @see aria-colspan.
602
+ */
603
+ "aria-rowspan"?: number | string;
604
+ /**
605
+ * Indicates the current "selected" state of various widgets.
606
+ *
607
+ * @see aria-checked @see aria-pressed.
608
+ */
609
+ "aria-selected"?: boolean | "false" | "true";
610
+ /**
611
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all
612
+ * elements in the set are present in the DOM.
613
+ *
614
+ * @see aria-posinset.
615
+ */
616
+ "aria-setsize"?: number | string;
617
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
618
+ "aria-sort"?: "none" | "ascending" | "descending" | "other";
619
+ /** Defines the maximum allowed value for a range widget. */
620
+ "aria-valuemax"?: number | string;
621
+ /** Defines the minimum allowed value for a range widget. */
622
+ "aria-valuemin"?: number | string;
623
+ /**
624
+ * Defines the current value for a range widget.
625
+ *
626
+ * @see aria-valuetext.
627
+ */
628
+ "aria-valuenow"?: number | string;
629
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
630
+ "aria-valuetext"?: string;
631
+ role?: FunctionMaybe<
632
+ | "alert"
633
+ | "alertdialog"
634
+ | "application"
635
+ | "article"
636
+ | "banner"
637
+ | "button"
638
+ | "cell"
639
+ | "checkbox"
640
+ | "columnheader"
641
+ | "combobox"
642
+ | "complementary"
643
+ | "contentinfo"
644
+ | "definition"
645
+ | "dialog"
646
+ | "directory"
647
+ | "document"
648
+ | "feed"
649
+ | "figure"
650
+ | "form"
651
+ | "grid"
652
+ | "gridcell"
653
+ | "group"
654
+ | "heading"
655
+ | "img"
656
+ | "link"
657
+ | "list"
658
+ | "listbox"
659
+ | "listitem"
660
+ | "log"
661
+ | "main"
662
+ | "marquee"
663
+ | "math"
664
+ | "menu"
665
+ | "menubar"
666
+ | "menuitem"
667
+ | "menuitemcheckbox"
668
+ | "menuitemradio"
669
+ | "meter"
670
+ | "navigation"
671
+ | "none"
672
+ | "note"
673
+ | "option"
674
+ | "presentation"
675
+ | "progressbar"
676
+ | "radio"
677
+ | "radiogroup"
678
+ | "region"
679
+ | "row"
680
+ | "rowgroup"
681
+ | "rowheader"
682
+ | "scrollbar"
683
+ | "search"
684
+ | "searchbox"
685
+ | "separator"
686
+ | "slider"
687
+ | "spinbutton"
688
+ | "status"
689
+ | "switch"
690
+ | "tab"
691
+ | "table"
692
+ | "tablist"
693
+ | "tabpanel"
694
+ | "term"
695
+ | "textbox"
696
+ | "timer"
697
+ | "toolbar"
698
+ | "tooltip"
699
+ | "tree"
700
+ | "treegrid"
701
+ | "treeitem"
702
+ >;
703
+ }
704
+
705
+ interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
706
+ accessKey?: FunctionMaybe<string>;
707
+ class?: FunctionMaybe<string> | undefined;
708
+ contenteditable?: FunctionMaybe<boolean | "plaintext-only" | "inherit">;
709
+ contextmenu?: FunctionMaybe<string>;
710
+ dir?: FunctionMaybe<HTMLDir>;
711
+ draggable?: FunctionMaybe<boolean>;
712
+ hidden?: FunctionMaybe<boolean>;
713
+ id?: FunctionMaybe<string>;
714
+ lang?: FunctionMaybe<string>;
715
+ spellcheck?: FunctionMaybe<boolean>;
716
+ style?: FunctionMaybe<CSSProperties | string>;
717
+ tabindex?: FunctionMaybe<number | string>;
718
+ title?: FunctionMaybe<string>;
719
+ translate?: FunctionMaybe<"yes" | "no">;
720
+ about?: FunctionMaybe<string>;
721
+ datatype?: FunctionMaybe<string>;
722
+ inlist?: FunctionMaybe<any>;
723
+ popover?: FunctionMaybe<boolean | "manual" | "auto">;
724
+ prefix?: FunctionMaybe<string>;
725
+ property?: FunctionMaybe<string>;
726
+ resource?: FunctionMaybe<string>;
727
+ typeof?: FunctionMaybe<string>;
728
+ vocab?: FunctionMaybe<string>;
729
+ autocapitalize?: FunctionMaybe<HTMLAutocapitalize>;
730
+ slot?: FunctionMaybe<string>;
731
+ color?: FunctionMaybe<string>;
732
+ itemprop?: FunctionMaybe<string>;
733
+ itemscope?: FunctionMaybe<boolean>;
734
+ itemtype?: FunctionMaybe<string>;
735
+ itemid?: FunctionMaybe<string>;
736
+ itemref?: FunctionMaybe<string>;
737
+ part?: FunctionMaybe<string>;
738
+ exportparts?: FunctionMaybe<string>;
739
+ inputmode?: FunctionMaybe<
740
+ | "none"
741
+ | "text"
742
+ | "tel"
743
+ | "url"
744
+ | "email"
745
+ | "numeric"
746
+ | "decimal"
747
+ | "search"
748
+ >;
749
+ contentEditable?: FunctionMaybe<boolean | "plaintext-only" | "inherit">;
750
+ contextMenu?: FunctionMaybe<string>;
751
+ tabIndex?: FunctionMaybe<number | string>;
752
+ autoCapitalize?: FunctionMaybe<HTMLAutocapitalize>;
753
+ itemProp?: FunctionMaybe<string>;
754
+ itemScope?: FunctionMaybe<boolean>;
755
+ itemType?: FunctionMaybe<string>;
756
+ itemId?: FunctionMaybe<string>;
757
+ itemRef?: FunctionMaybe<string>;
758
+ exportParts?: FunctionMaybe<string>;
759
+ inputMode?: FunctionMaybe<
760
+ | "none"
761
+ | "text"
762
+ | "tel"
763
+ | "url"
764
+ | "email"
765
+ | "numeric"
766
+ | "decimal"
767
+ | "search"
768
+ >;
769
+ }
770
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
771
+ download?: FunctionMaybe<any>;
772
+ href?: FunctionMaybe<string>;
773
+ hreflang?: FunctionMaybe<string>;
774
+ media?: FunctionMaybe<string>;
775
+ ping?: FunctionMaybe<string>;
776
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy>;
777
+ rel?: FunctionMaybe<string>;
778
+ target?: FunctionMaybe<string>;
779
+ type?: FunctionMaybe<string>;
780
+ referrerPolicy?: FunctionMaybe<HTMLReferrerPolicy>;
781
+ }
782
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
783
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
784
+ alt?: FunctionMaybe<string>;
785
+ coords?: FunctionMaybe<string>;
786
+ download?: FunctionMaybe<any>;
787
+ href?: FunctionMaybe<string>;
788
+ hreflang?: FunctionMaybe<string>;
789
+ ping?: FunctionMaybe<string>;
790
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy>;
791
+ rel?: FunctionMaybe<string>;
792
+ shape?: FunctionMaybe<"rect" | "circle" | "poly" | "default">;
793
+ target?: FunctionMaybe<string>;
794
+ referrerPolicy?: FunctionMaybe<HTMLReferrerPolicy>;
795
+ }
796
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
797
+ href?: FunctionMaybe<string>;
798
+ target?: FunctionMaybe<string>;
799
+ }
800
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
801
+ cite?: FunctionMaybe<string>;
802
+ }
803
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
804
+ autofocus?: FunctionMaybe<boolean>;
805
+ disabled?: FunctionMaybe<boolean>;
806
+ form?: FunctionMaybe<string>;
807
+ formaction?: FunctionMaybe<string | SerializableAttributeValue>;
808
+ formenctype?: FunctionMaybe<HTMLFormEncType>;
809
+ formmethod?: FunctionMaybe<HTMLFormMethod>;
810
+ formnovalidate?: FunctionMaybe<boolean>;
811
+ formtarget?: FunctionMaybe<string>;
812
+ popovertarget?: FunctionMaybe<string>;
813
+ popovertargetaction?: FunctionMaybe<"hide" | "show" | "toggle">;
814
+ name?: FunctionMaybe<string>;
815
+ type?: FunctionMaybe<"submit" | "reset" | "button">;
816
+ value?: FunctionMaybe<string>;
817
+ formAction?: FunctionMaybe<string | SerializableAttributeValue>;
818
+ formEnctype?: FunctionMaybe<HTMLFormEncType>;
819
+ formMethod?: FunctionMaybe<HTMLFormMethod>;
820
+ formNoValidate?: FunctionMaybe<boolean>;
821
+ formTarget?: FunctionMaybe<string>;
822
+ popoverTarget?: FunctionMaybe<string>;
823
+ popoverTargetAction?: FunctionMaybe<"hide" | "show" | "toggle">;
824
+ }
825
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
826
+ width?: FunctionMaybe<number | string>;
827
+ height?: FunctionMaybe<number | string>;
828
+ }
829
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
830
+ span?: FunctionMaybe<number | string>;
831
+ width?: FunctionMaybe<number | string>;
832
+ }
833
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
834
+ span?: FunctionMaybe<number | string>;
835
+ }
836
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
837
+ value?: FunctionMaybe<string | string[] | number>;
838
+ }
839
+ interface DetailsHtmlAttributes<T> extends HTMLAttributes<T> {
840
+ open?: FunctionMaybe<boolean>;
841
+ onToggle?: EventHandlerUnion<T, Event>;
842
+ ontoggle?: EventHandlerUnion<T, Event>;
843
+ }
844
+ interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
845
+ open?: FunctionMaybe<boolean>;
846
+ }
847
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
848
+ height?: FunctionMaybe<number | string>;
849
+ src?: FunctionMaybe<string>;
850
+ type?: FunctionMaybe<string>;
851
+ width?: FunctionMaybe<number | string>;
852
+ }
853
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
854
+ disabled?: FunctionMaybe<boolean>;
855
+ form?: FunctionMaybe<string>;
856
+ name?: FunctionMaybe<string>;
857
+ }
858
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
859
+ "accept-charset"?: FunctionMaybe<string>;
860
+ action?: FunctionMaybe<string | SerializableAttributeValue>;
861
+ autocomplete?: FunctionMaybe<string>;
862
+ encoding?: FunctionMaybe<HTMLFormEncType>;
863
+ enctype?: FunctionMaybe<HTMLFormEncType>;
864
+ method?: FunctionMaybe<HTMLFormMethod>;
865
+ name?: FunctionMaybe<string>;
866
+ novalidate?: FunctionMaybe<boolean>;
867
+ target?: FunctionMaybe<string>;
868
+ noValidate?: FunctionMaybe<boolean>;
869
+ }
870
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
871
+ allow?: FunctionMaybe<string>;
872
+ allowfullscreen?: FunctionMaybe<boolean>;
873
+ height?: FunctionMaybe<number | string>;
874
+ name?: FunctionMaybe<string>;
875
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy>;
876
+ sandbox?: HTMLIframeSandbox | string;
877
+ src?: FunctionMaybe<string>;
878
+ srcdoc?: FunctionMaybe<string>;
879
+ width?: FunctionMaybe<number | string>;
880
+ loading?: FunctionMaybe<"eager" | "lazy">;
881
+ referrerPolicy?: FunctionMaybe<HTMLReferrerPolicy>;
882
+ }
883
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
884
+ alt?: FunctionMaybe<string>;
885
+ crossorigin?: FunctionMaybe<HTMLCrossorigin>;
886
+ decoding?: FunctionMaybe<"sync" | "async" | "auto">;
887
+ height?: FunctionMaybe<number | string>;
888
+ ismap?: FunctionMaybe<boolean>;
889
+ isMap?: FunctionMaybe<boolean>;
890
+ loading?: FunctionMaybe<"eager" | "lazy">;
891
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy>;
892
+ referrerPolicy?: FunctionMaybe<HTMLReferrerPolicy>;
893
+ sizes?: FunctionMaybe<string>;
894
+ src?: FunctionMaybe<string>;
895
+ srcset?: FunctionMaybe<string>;
896
+ srcSet?: FunctionMaybe<string>;
897
+ usemap?: FunctionMaybe<string>;
898
+ useMap?: FunctionMaybe<string>;
899
+ width?: FunctionMaybe<number | string>;
900
+ crossOrigin?: FunctionMaybe<HTMLCrossorigin>;
901
+ }
902
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
903
+ accept?: FunctionMaybe<string>;
904
+ alt?: FunctionMaybe<string>;
905
+ autocomplete?: FunctionMaybe<string>;
906
+ autofocus?: FunctionMaybe<boolean>;
907
+ capture?: FunctionMaybe<boolean | string>;
908
+ checked?: FunctionMaybe<boolean>;
909
+ crossorigin?: FunctionMaybe<HTMLCrossorigin>;
910
+ disabled?: FunctionMaybe<boolean>;
911
+ form?: FunctionMaybe<string>;
912
+ formaction?: FunctionMaybe<string | SerializableAttributeValue>;
913
+ formenctype?: FunctionMaybe<HTMLFormEncType>;
914
+ formmethod?: FunctionMaybe<HTMLFormMethod>;
915
+ formnovalidate?: FunctionMaybe<boolean>;
916
+ formtarget?: FunctionMaybe<string>;
917
+ height?: FunctionMaybe<number | string>;
918
+ list?: FunctionMaybe<string>;
919
+ max?: FunctionMaybe<number | string>;
920
+ maxlength?: FunctionMaybe<number | string>;
921
+ min?: FunctionMaybe<number | string>;
922
+ minlength?: FunctionMaybe<number | string>;
923
+ multiple?: FunctionMaybe<boolean>;
924
+ name?: FunctionMaybe<string>;
925
+ pattern?: FunctionMaybe<string>;
926
+ placeholder?: FunctionMaybe<string>;
927
+ readonly?: FunctionMaybe<boolean>;
928
+ required?: FunctionMaybe<boolean>;
929
+ size?: FunctionMaybe<number | string>;
930
+ src?: FunctionMaybe<string>;
931
+ step?: FunctionMaybe<number | string>;
932
+ type?: FunctionMaybe<string>;
933
+ value?: FunctionMaybe<string | string[] | number>;
934
+ width?: FunctionMaybe<number | string>;
935
+ crossOrigin?: FunctionMaybe<HTMLCrossorigin>;
936
+ formAction?: FunctionMaybe<string | SerializableAttributeValue>;
937
+ formEnctype?: FunctionMaybe<HTMLFormEncType>;
938
+ formMethod?: FunctionMaybe<HTMLFormMethod>;
939
+ formNoValidate?: FunctionMaybe<boolean>;
940
+ formTarget?: FunctionMaybe<string>;
941
+ maxLength?: FunctionMaybe<number | string>;
942
+ minLength?: FunctionMaybe<number | string>;
943
+ readOnly?: FunctionMaybe<boolean>;
944
+ }
945
+ interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
946
+ cite?: FunctionMaybe<string>;
947
+ dateTime?: FunctionMaybe<string>;
948
+ }
949
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
950
+ autofocus?: FunctionMaybe<boolean>;
951
+ challenge?: FunctionMaybe<string>;
952
+ disabled?: FunctionMaybe<boolean>;
953
+ form?: FunctionMaybe<string>;
954
+ keytype?: FunctionMaybe<string>;
955
+ keyparams?: FunctionMaybe<string>;
956
+ name?: FunctionMaybe<string>;
957
+ }
958
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
959
+ for?: FunctionMaybe<string>;
960
+ form?: FunctionMaybe<string>;
961
+ }
962
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
963
+ value?: FunctionMaybe<number | string>;
964
+ }
965
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
966
+ as?: FunctionMaybe<HTMLLinkAs>;
967
+ crossorigin?: FunctionMaybe<HTMLCrossorigin>;
968
+ disabled?: FunctionMaybe<boolean>;
969
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto">;
970
+ href?: FunctionMaybe<string>;
971
+ hreflang?: FunctionMaybe<string>;
972
+ imagesizes?: FunctionMaybe<string>;
973
+ imagesrcset?: FunctionMaybe<string>;
974
+ integrity?: FunctionMaybe<string>;
975
+ media?: FunctionMaybe<string>;
976
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy>;
977
+ rel?: FunctionMaybe<string>;
978
+ sizes?: FunctionMaybe<string>;
979
+ type?: FunctionMaybe<string>;
980
+ crossOrigin?: FunctionMaybe<HTMLCrossorigin>;
981
+ referrerPolicy?: FunctionMaybe<HTMLReferrerPolicy>;
982
+ }
983
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
984
+ name?: FunctionMaybe<string>;
985
+ }
986
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
987
+ autoplay?: FunctionMaybe<boolean>;
988
+ controls?: FunctionMaybe<boolean>;
989
+ crossorigin?: FunctionMaybe<HTMLCrossorigin>;
990
+ loop?: FunctionMaybe<boolean>;
991
+ mediagroup?: FunctionMaybe<string>;
992
+ muted?: FunctionMaybe<boolean>;
993
+ preload?: FunctionMaybe<"none" | "metadata" | "auto" | "">;
994
+ src?: FunctionMaybe<string>;
995
+ crossOrigin?: FunctionMaybe<HTMLCrossorigin>;
996
+ mediaGroup?: FunctionMaybe<string>;
997
+ }
998
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
999
+ label?: FunctionMaybe<string>;
1000
+ type?: FunctionMaybe<"context" | "toolbar">;
1001
+ }
1002
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1003
+ charset?: FunctionMaybe<string>;
1004
+ content?: FunctionMaybe<string>;
1005
+ "http-equiv"?: FunctionMaybe<string>;
1006
+ name?: FunctionMaybe<string>;
1007
+ media?: FunctionMaybe<string>;
1008
+ }
1009
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1010
+ form?: FunctionMaybe<string>;
1011
+ high?: FunctionMaybe<number | string>;
1012
+ low?: FunctionMaybe<number | string>;
1013
+ max?: FunctionMaybe<number | string>;
1014
+ min?: FunctionMaybe<number | string>;
1015
+ optimum?: FunctionMaybe<number | string>;
1016
+ value?: FunctionMaybe<string | string[] | number>;
1017
+ }
1018
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1019
+ cite?: FunctionMaybe<string>;
1020
+ }
1021
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1022
+ data?: FunctionMaybe<string>;
1023
+ form?: FunctionMaybe<string>;
1024
+ height?: FunctionMaybe<number | string>;
1025
+ name?: FunctionMaybe<string>;
1026
+ type?: FunctionMaybe<string>;
1027
+ usemap?: FunctionMaybe<string>;
1028
+ width?: FunctionMaybe<number | string>;
1029
+ useMap?: FunctionMaybe<string>;
1030
+ }
1031
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1032
+ reversed?: FunctionMaybe<boolean>;
1033
+ start?: FunctionMaybe<number | string>;
1034
+ type?: FunctionMaybe<"1" | "a" | "A" | "i" | "I">;
1035
+ }
1036
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1037
+ disabled?: FunctionMaybe<boolean>;
1038
+ label?: FunctionMaybe<string>;
1039
+ }
1040
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1041
+ disabled?: FunctionMaybe<boolean>;
1042
+ label?: FunctionMaybe<string>;
1043
+ selected?: FunctionMaybe<boolean>;
1044
+ value?: FunctionMaybe<string | string[] | number>;
1045
+ }
1046
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1047
+ form?: FunctionMaybe<string>;
1048
+ for?: FunctionMaybe<string>;
1049
+ name?: FunctionMaybe<string>;
1050
+ }
1051
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1052
+ name?: FunctionMaybe<string>;
1053
+ value?: FunctionMaybe<string | string[] | number>;
1054
+ }
1055
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1056
+ max?: FunctionMaybe<number | string>;
1057
+ value?: FunctionMaybe<string | string[] | number>;
1058
+ }
1059
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1060
+ async?: FunctionMaybe<boolean>;
1061
+ charset?: FunctionMaybe<string>;
1062
+ crossorigin?: FunctionMaybe<HTMLCrossorigin>;
1063
+ defer?: FunctionMaybe<boolean>;
1064
+ integrity?: FunctionMaybe<string>;
1065
+ nomodule?: FunctionMaybe<boolean>;
1066
+ nonce?: FunctionMaybe<string>;
1067
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy>;
1068
+ src?: FunctionMaybe<string>;
1069
+ type?: FunctionMaybe<string>;
1070
+ crossOrigin?: FunctionMaybe<HTMLCrossorigin>;
1071
+ noModule?: FunctionMaybe<boolean>;
1072
+ referrerPolicy?: FunctionMaybe<HTMLReferrerPolicy>;
1073
+ }
1074
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1075
+ autocomplete?: FunctionMaybe<string>;
1076
+ autofocus?: FunctionMaybe<boolean>;
1077
+ disabled?: FunctionMaybe<boolean>;
1078
+ form?: FunctionMaybe<string>;
1079
+ multiple?: FunctionMaybe<boolean>;
1080
+ name?: FunctionMaybe<string>;
1081
+ required?: FunctionMaybe<boolean>;
1082
+ size?: FunctionMaybe<number | string>;
1083
+ value?: FunctionMaybe<string | string[] | number>;
1084
+ }
1085
+ interface HTMLSlotElementAttributes<T = HTMLSlotElement>
1086
+ extends HTMLAttributes<T> {
1087
+ name?: FunctionMaybe<string>;
1088
+ }
1089
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1090
+ media?: FunctionMaybe<string>;
1091
+ sizes?: FunctionMaybe<string>;
1092
+ src?: FunctionMaybe<string>;
1093
+ srcset?: FunctionMaybe<string>;
1094
+ type?: FunctionMaybe<string>;
1095
+ width?: FunctionMaybe<number | string>;
1096
+ height?: FunctionMaybe<number | string>;
1097
+ }
1098
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1099
+ media?: FunctionMaybe<string>;
1100
+ nonce?: FunctionMaybe<string>;
1101
+ scoped?: FunctionMaybe<boolean>;
1102
+ type?: FunctionMaybe<string>;
1103
+ }
1104
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1105
+ colspan?: FunctionMaybe<number | string>;
1106
+ headers?: FunctionMaybe<string>;
1107
+ rowspan?: FunctionMaybe<number | string>;
1108
+ colSpan?: FunctionMaybe<number | string>;
1109
+ rowSpan?: FunctionMaybe<number | string>;
1110
+ }
1111
+ interface TemplateHTMLAttributes<T extends HTMLTemplateElement>
1112
+ extends HTMLAttributes<T> {
1113
+ content?: FunctionMaybe<DocumentFragment>;
1114
+ }
1115
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1116
+ autocomplete?: FunctionMaybe<string>;
1117
+ autofocus?: FunctionMaybe<boolean>;
1118
+ cols?: FunctionMaybe<number | string>;
1119
+ dirname?: FunctionMaybe<string>;
1120
+ disabled?: FunctionMaybe<boolean>;
1121
+ form?: FunctionMaybe<string>;
1122
+ maxlength?: FunctionMaybe<number | string>;
1123
+ minlength?: FunctionMaybe<number | string>;
1124
+ name?: FunctionMaybe<string>;
1125
+ placeholder?: FunctionMaybe<string>;
1126
+ readonly?: FunctionMaybe<boolean>;
1127
+ required?: FunctionMaybe<boolean>;
1128
+ rows?: FunctionMaybe<number | string>;
1129
+ value?: FunctionMaybe<string | string[] | number>;
1130
+ wrap?: FunctionMaybe<"hard" | "soft" | "off">;
1131
+ maxLength?: FunctionMaybe<number | string>;
1132
+ minLength?: FunctionMaybe<number | string>;
1133
+ readOnly?: FunctionMaybe<boolean>;
1134
+ }
1135
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1136
+ colspan?: FunctionMaybe<number | string>;
1137
+ headers?: FunctionMaybe<string>;
1138
+ rowspan?: FunctionMaybe<number | string>;
1139
+ colSpan?: FunctionMaybe<number | string>;
1140
+ rowSpan?: FunctionMaybe<number | string>;
1141
+ scope?: FunctionMaybe<"col" | "row" | "rowgroup" | "colgroup">;
1142
+ }
1143
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1144
+ datetime?: FunctionMaybe<string>;
1145
+ dateTime?: FunctionMaybe<string>;
1146
+ }
1147
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1148
+ default?: FunctionMaybe<boolean>;
1149
+ kind?: FunctionMaybe<
1150
+ "subtitles" | "captions" | "descriptions" | "chapters" | "metadata"
1151
+ >;
1152
+ label?: FunctionMaybe<string>;
1153
+ src?: FunctionMaybe<string>;
1154
+ srclang?: FunctionMaybe<string>;
1155
+ }
1156
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1157
+ height?: FunctionMaybe<number | string>;
1158
+ playsinline?: FunctionMaybe<boolean>;
1159
+ poster?: FunctionMaybe<string>;
1160
+ width?: FunctionMaybe<number | string>;
1161
+ disablepictureinpicture?: FunctionMaybe<boolean>;
1162
+ }
1163
+ type SVGPreserveAspectRatio =
1164
+ | "none"
1165
+ | "xMinYMin"
1166
+ | "xMidYMin"
1167
+ | "xMaxYMin"
1168
+ | "xMinYMid"
1169
+ | "xMidYMid"
1170
+ | "xMaxYMid"
1171
+ | "xMinYMax"
1172
+ | "xMidYMax"
1173
+ | "xMaxYMax"
1174
+ | "xMinYMin meet"
1175
+ | "xMidYMin meet"
1176
+ | "xMaxYMin meet"
1177
+ | "xMinYMid meet"
1178
+ | "xMidYMid meet"
1179
+ | "xMaxYMid meet"
1180
+ | "xMinYMax meet"
1181
+ | "xMidYMax meet"
1182
+ | "xMaxYMax meet"
1183
+ | "xMinYMin slice"
1184
+ | "xMidYMin slice"
1185
+ | "xMaxYMin slice"
1186
+ | "xMinYMid slice"
1187
+ | "xMidYMid slice"
1188
+ | "xMaxYMid slice"
1189
+ | "xMinYMax slice"
1190
+ | "xMidYMax slice"
1191
+ | "xMaxYMax slice";
1192
+ type ImagePreserveAspectRatio =
1193
+ | SVGPreserveAspectRatio
1194
+ | "defer none"
1195
+ | "defer xMinYMin"
1196
+ | "defer xMidYMin"
1197
+ | "defer xMaxYMin"
1198
+ | "defer xMinYMid"
1199
+ | "defer xMidYMid"
1200
+ | "defer xMaxYMid"
1201
+ | "defer xMinYMax"
1202
+ | "defer xMidYMax"
1203
+ | "defer xMaxYMax"
1204
+ | "defer xMinYMin meet"
1205
+ | "defer xMidYMin meet"
1206
+ | "defer xMaxYMin meet"
1207
+ | "defer xMinYMid meet"
1208
+ | "defer xMidYMid meet"
1209
+ | "defer xMaxYMid meet"
1210
+ | "defer xMinYMax meet"
1211
+ | "defer xMidYMax meet"
1212
+ | "defer xMaxYMax meet"
1213
+ | "defer xMinYMin slice"
1214
+ | "defer xMidYMin slice"
1215
+ | "defer xMaxYMin slice"
1216
+ | "defer xMinYMid slice"
1217
+ | "defer xMidYMid slice"
1218
+ | "defer xMaxYMid slice"
1219
+ | "defer xMinYMax slice"
1220
+ | "defer xMidYMax slice"
1221
+ | "defer xMaxYMax slice";
1222
+ type SVGUnits = "userSpaceOnUse" | "objectBoundingBox";
1223
+ interface CoreSVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
1224
+ id?: FunctionMaybe<string>;
1225
+ lang?: FunctionMaybe<string>;
1226
+ tabIndex?: FunctionMaybe<number | string>;
1227
+ tabindex?: FunctionMaybe<number | string>;
1228
+ }
1229
+ interface StylableSVGAttributes {
1230
+ class?: FunctionMaybe<string> | undefined;
1231
+ style?: FunctionMaybe<CSSProperties | string>;
1232
+ }
1233
+ interface TransformableSVGAttributes {
1234
+ transform?: FunctionMaybe<string>;
1235
+ }
1236
+ interface ConditionalProcessingSVGAttributes {
1237
+ requiredExtensions?: FunctionMaybe<string>;
1238
+ requiredFeatures?: FunctionMaybe<string>;
1239
+ systemLanguage?: FunctionMaybe<string>;
1240
+ }
1241
+ interface ExternalResourceSVGAttributes {
1242
+ externalResourcesRequired?: FunctionMaybe<"true" | "false">;
1243
+ }
1244
+ interface AnimationTimingSVGAttributes {
1245
+ begin?: FunctionMaybe<string>;
1246
+ dur?: FunctionMaybe<string>;
1247
+ end?: FunctionMaybe<string>;
1248
+ min?: FunctionMaybe<string>;
1249
+ max?: FunctionMaybe<string>;
1250
+ restart?: FunctionMaybe<"always" | "whenNotActive" | "never">;
1251
+ repeatCount?: FunctionMaybe<number | "indefinite">;
1252
+ repeatDur?: FunctionMaybe<string>;
1253
+ fill?: FunctionMaybe<"freeze" | "remove">;
1254
+ }
1255
+ interface AnimationValueSVGAttributes {
1256
+ calcMode?: FunctionMaybe<"discrete" | "linear" | "paced" | "spline">;
1257
+ values?: FunctionMaybe<string>;
1258
+ keyTimes?: FunctionMaybe<string>;
1259
+ keySplines?: FunctionMaybe<string>;
1260
+ from?: FunctionMaybe<number | string>;
1261
+ to?: FunctionMaybe<number | string>;
1262
+ by?: FunctionMaybe<number | string>;
1263
+ }
1264
+ interface AnimationAdditionSVGAttributes {
1265
+ attributeName?: FunctionMaybe<string>;
1266
+ additive?: FunctionMaybe<"replace" | "sum">;
1267
+ accumulate?: FunctionMaybe<"none" | "sum">;
1268
+ }
1269
+ interface AnimationAttributeTargetSVGAttributes {
1270
+ attributeName?: FunctionMaybe<string>;
1271
+ attributeType?: FunctionMaybe<"CSS" | "XML" | "auto">;
1272
+ }
1273
+ interface PresentationSVGAttributes {
1274
+ "alignment-baseline"?:
1275
+ | "auto"
1276
+ | "baseline"
1277
+ | "before-edge"
1278
+ | "text-before-edge"
1279
+ | "middle"
1280
+ | "central"
1281
+ | "after-edge"
1282
+ | "text-after-edge"
1283
+ | "ideographic"
1284
+ | "alphabetic"
1285
+ | "hanging"
1286
+ | "mathematical"
1287
+ | "inherit";
1288
+ "baseline-shift"?: FunctionMaybe<number | string>;
1289
+ clip?: FunctionMaybe<string>;
1290
+ "clip-path"?: FunctionMaybe<string>;
1291
+ "clip-rule"?: "nonzero" | "evenodd" | "inherit";
1292
+ color?: FunctionMaybe<string>;
1293
+ "color-interpolation"?: "auto" | "sRGB" | "linearRGB" | "inherit";
1294
+ "color-interpolation-filters"?: "auto" | "sRGB" | "linearRGB" | "inherit";
1295
+ "color-profile"?: FunctionMaybe<string>;
1296
+ "color-rendering"?:
1297
+ | "auto"
1298
+ | "optimizeSpeed"
1299
+ | "optimizeQuality"
1300
+ | "inherit";
1301
+ cursor?: FunctionMaybe<string>;
1302
+ direction?: "ltr" | "rtl" | "inherit";
1303
+ display?: FunctionMaybe<string>;
1304
+ "dominant-baseline"?:
1305
+ | "auto"
1306
+ | "text-bottom"
1307
+ | "alphabetic"
1308
+ | "ideographic"
1309
+ | "middle"
1310
+ | "central"
1311
+ | "mathematical"
1312
+ | "hanging"
1313
+ | "text-top"
1314
+ | "inherit";
1315
+ "enable-background"?: FunctionMaybe<string>;
1316
+ fill?: FunctionMaybe<string>;
1317
+ "fill-opacity"?: FunctionMaybe<number | string | "inherit">;
1318
+ "fill-rule"?: FunctionMaybe<"nonzero" | "evenodd" | "inherit">;
1319
+ filter?: FunctionMaybe<string>;
1320
+ "flood-color"?: FunctionMaybe<string>;
1321
+ "flood-opacity"?: FunctionMaybe<number | string | "inherit">;
1322
+ "font-family"?: FunctionMaybe<string>;
1323
+ "font-size"?: FunctionMaybe<string>;
1324
+ "font-size-adjust"?: FunctionMaybe<number | string>;
1325
+ "font-stretch"?: FunctionMaybe<string>;
1326
+ "font-style"?: FunctionMaybe<"normal" | "italic" | "oblique" | "inherit">;
1327
+ "font-variant"?: FunctionMaybe<string>;
1328
+ "font-weight"?: FunctionMaybe<number | string>;
1329
+ "glyph-orientation-horizontal"?: FunctionMaybe<string>;
1330
+ "glyph-orientation-vertical"?: FunctionMaybe<string>;
1331
+ "image-rendering"?: FunctionMaybe<
1332
+ "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit"
1333
+ >;
1334
+ kerning?: FunctionMaybe<string>;
1335
+ "letter-spacing"?: FunctionMaybe<number | string>;
1336
+ "lighting-color"?: FunctionMaybe<string>;
1337
+ "marker-end"?: FunctionMaybe<string>;
1338
+ "marker-mid"?: FunctionMaybe<string>;
1339
+ "marker-start"?: FunctionMaybe<string>;
1340
+ mask?: FunctionMaybe<string>;
1341
+ opacity?: FunctionMaybe<number | string | "inherit">;
1342
+ overflow?: FunctionMaybe<
1343
+ "visible" | "hidden" | "scroll" | "auto" | "inherit"
1344
+ >;
1345
+ pathLength?: FunctionMaybe<string | number>;
1346
+ "pointer-events"?: FunctionMaybe<
1347
+ | "bounding-box"
1348
+ | "visiblePainted"
1349
+ | "visibleFill"
1350
+ | "visibleStroke"
1351
+ | "visible"
1352
+ | "painted"
1353
+ | "color"
1354
+ | "fill"
1355
+ | "stroke"
1356
+ | "all"
1357
+ | "none"
1358
+ | "inherit"
1359
+ >;
1360
+ "shape-rendering"?: FunctionMaybe<
1361
+ "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit"
1362
+ >;
1363
+ "stop-color"?: FunctionMaybe<string>;
1364
+ "stop-opacity"?: FunctionMaybe<number | string | "inherit">;
1365
+ stroke?: FunctionMaybe<string>;
1366
+ "stroke-dasharray"?: FunctionMaybe<string>;
1367
+ "stroke-dashoffset"?: FunctionMaybe<number | string>;
1368
+ "stroke-linecap"?: FunctionMaybe<"butt" | "round" | "square" | "inherit">;
1369
+ "stroke-linejoin"?: FunctionMaybe<
1370
+ "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit"
1371
+ >;
1372
+ "stroke-miterlimit"?: FunctionMaybe<number | string | "inherit">;
1373
+ "stroke-opacity"?: FunctionMaybe<number | string | "inherit">;
1374
+ "stroke-width"?: FunctionMaybe<number | string>;
1375
+ "text-anchor"?: FunctionMaybe<"start" | "middle" | "end" | "inherit">;
1376
+ "text-decoration"?: FunctionMaybe<
1377
+ "none" | "underline" | "overline" | "line-through" | "blink" | "inherit"
1378
+ >;
1379
+ "text-rendering"?: FunctionMaybe<
1380
+ | "auto"
1381
+ | "optimizeSpeed"
1382
+ | "optimizeLegibility"
1383
+ | "geometricPrecision"
1384
+ | "inherit"
1385
+ >;
1386
+ "unicode-bidi"?: FunctionMaybe<string>;
1387
+ visibility?: FunctionMaybe<"visible" | "hidden" | "collapse" | "inherit">;
1388
+ "word-spacing"?: FunctionMaybe<number | string>;
1389
+ "writing-mode"?: FunctionMaybe<
1390
+ "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit"
1391
+ >;
1392
+ }
1393
+ interface AnimationElementSVGAttributes<T>
1394
+ extends
1395
+ CoreSVGAttributes<T>,
1396
+ ExternalResourceSVGAttributes,
1397
+ ConditionalProcessingSVGAttributes {}
1398
+ interface ContainerElementSVGAttributes<T>
1399
+ extends
1400
+ CoreSVGAttributes<T>,
1401
+ ShapeElementSVGAttributes<T>,
1402
+ Pick<
1403
+ PresentationSVGAttributes,
1404
+ | "clip-path"
1405
+ | "mask"
1406
+ | "cursor"
1407
+ | "opacity"
1408
+ | "filter"
1409
+ | "enable-background"
1410
+ | "color-interpolation"
1411
+ | "color-rendering"
1412
+ > {}
1413
+ interface FilterPrimitiveElementSVGAttributes<T>
1414
+ extends
1415
+ CoreSVGAttributes<T>,
1416
+ Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
1417
+ x?: FunctionMaybe<number | string>;
1418
+ y?: FunctionMaybe<number | string>;
1419
+ width?: FunctionMaybe<number | string>;
1420
+ height?: FunctionMaybe<number | string>;
1421
+ result?: FunctionMaybe<string>;
1422
+ }
1423
+ interface SingleInputFilterSVGAttributes {
1424
+ in?: FunctionMaybe<string>;
1425
+ }
1426
+ interface DoubleInputFilterSVGAttributes {
1427
+ in?: FunctionMaybe<string>;
1428
+ in2?: FunctionMaybe<string>;
1429
+ }
1430
+ interface FitToViewBoxSVGAttributes {
1431
+ viewBox?: FunctionMaybe<string>;
1432
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio>;
1433
+ }
1434
+ interface GradientElementSVGAttributes<T>
1435
+ extends
1436
+ CoreSVGAttributes<T>,
1437
+ ExternalResourceSVGAttributes,
1438
+ StylableSVGAttributes {
1439
+ gradientUnits?: FunctionMaybe<SVGUnits>;
1440
+ gradientTransform?: FunctionMaybe<string>;
1441
+ spreadMethod?: FunctionMaybe<"pad" | "reflect" | "repeat">;
1442
+ href?: FunctionMaybe<string>;
1443
+ }
1444
+ interface GraphicsElementSVGAttributes<T> extends
1445
+ CoreSVGAttributes<T>,
1446
+ Pick<
1447
+ PresentationSVGAttributes,
1448
+ | "clip-rule"
1449
+ | "mask"
1450
+ | "pointer-events"
1451
+ | "cursor"
1452
+ | "opacity"
1453
+ | "filter"
1454
+ | "display"
1455
+ | "visibility"
1456
+ | "color-interpolation"
1457
+ | "color-rendering"
1458
+ > {}
1459
+ interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
1460
+ interface NewViewportSVGAttributes<T>
1461
+ extends
1462
+ CoreSVGAttributes<T>,
1463
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
1464
+ viewBox?: FunctionMaybe<string>;
1465
+ }
1466
+ interface ShapeElementSVGAttributes<T> extends
1467
+ CoreSVGAttributes<T>,
1468
+ Pick<
1469
+ PresentationSVGAttributes,
1470
+ | "color"
1471
+ | "fill"
1472
+ | "fill-rule"
1473
+ | "fill-opacity"
1474
+ | "stroke"
1475
+ | "stroke-width"
1476
+ | "stroke-linecap"
1477
+ | "stroke-linejoin"
1478
+ | "stroke-miterlimit"
1479
+ | "stroke-dasharray"
1480
+ | "stroke-dashoffset"
1481
+ | "stroke-opacity"
1482
+ | "shape-rendering"
1483
+ | "pathLength"
1484
+ > {}
1485
+ interface TextContentElementSVGAttributes<T>
1486
+ extends
1487
+ CoreSVGAttributes<T>,
1488
+ Pick<
1489
+ PresentationSVGAttributes,
1490
+ | "font-family"
1491
+ | "font-style"
1492
+ | "font-variant"
1493
+ | "font-weight"
1494
+ | "font-stretch"
1495
+ | "font-size"
1496
+ | "font-size-adjust"
1497
+ | "kerning"
1498
+ | "letter-spacing"
1499
+ | "word-spacing"
1500
+ | "text-decoration"
1501
+ | "glyph-orientation-horizontal"
1502
+ | "glyph-orientation-vertical"
1503
+ | "direction"
1504
+ | "unicode-bidi"
1505
+ | "text-anchor"
1506
+ | "dominant-baseline"
1507
+ | "color"
1508
+ | "fill"
1509
+ | "fill-rule"
1510
+ | "fill-opacity"
1511
+ | "stroke"
1512
+ | "stroke-width"
1513
+ | "stroke-linecap"
1514
+ | "stroke-linejoin"
1515
+ | "stroke-miterlimit"
1516
+ | "stroke-dasharray"
1517
+ | "stroke-dashoffset"
1518
+ | "stroke-opacity"
1519
+ > {}
1520
+ interface ZoomAndPanSVGAttributes {
1521
+ zoomAndPan?: FunctionMaybe<"disable" | "magnify">;
1522
+ }
1523
+ interface AnimateSVGAttributes<T>
1524
+ extends
1525
+ AnimationElementSVGAttributes<T>,
1526
+ AnimationAttributeTargetSVGAttributes,
1527
+ AnimationTimingSVGAttributes,
1528
+ AnimationValueSVGAttributes,
1529
+ AnimationAdditionSVGAttributes,
1530
+ Pick<
1531
+ PresentationSVGAttributes,
1532
+ "color-interpolation" | "color-rendering"
1533
+ > {}
1534
+ interface AnimateMotionSVGAttributes<T>
1535
+ extends
1536
+ AnimationElementSVGAttributes<T>,
1537
+ AnimationTimingSVGAttributes,
1538
+ AnimationValueSVGAttributes,
1539
+ AnimationAdditionSVGAttributes {
1540
+ path?: FunctionMaybe<string>;
1541
+ keyPoints?: FunctionMaybe<string>;
1542
+ rotate?: FunctionMaybe<number | string | "auto" | "auto-reverse">;
1543
+ origin?: FunctionMaybe<"default">;
1544
+ }
1545
+ interface AnimateTransformSVGAttributes<T>
1546
+ extends
1547
+ AnimationElementSVGAttributes<T>,
1548
+ AnimationAttributeTargetSVGAttributes,
1549
+ AnimationTimingSVGAttributes,
1550
+ AnimationValueSVGAttributes,
1551
+ AnimationAdditionSVGAttributes {
1552
+ type?: FunctionMaybe<"translate" | "scale" | "rotate" | "skewX" | "skewY">;
1553
+ }
1554
+ interface CircleSVGAttributes<T>
1555
+ extends
1556
+ GraphicsElementSVGAttributes<T>,
1557
+ ShapeElementSVGAttributes<T>,
1558
+ ConditionalProcessingSVGAttributes,
1559
+ StylableSVGAttributes,
1560
+ TransformableSVGAttributes {
1561
+ cx?: FunctionMaybe<number | string>;
1562
+ cy?: FunctionMaybe<number | string>;
1563
+ r?: FunctionMaybe<number | string>;
1564
+ }
1565
+ interface ClipPathSVGAttributes<T>
1566
+ extends
1567
+ CoreSVGAttributes<T>,
1568
+ ConditionalProcessingSVGAttributes,
1569
+ ExternalResourceSVGAttributes,
1570
+ StylableSVGAttributes,
1571
+ TransformableSVGAttributes,
1572
+ Pick<PresentationSVGAttributes, "clip-path"> {
1573
+ clipPathUnits?: FunctionMaybe<SVGUnits>;
1574
+ }
1575
+ interface DefsSVGAttributes<T>
1576
+ extends
1577
+ ContainerElementSVGAttributes<T>,
1578
+ ConditionalProcessingSVGAttributes,
1579
+ ExternalResourceSVGAttributes,
1580
+ StylableSVGAttributes,
1581
+ TransformableSVGAttributes {}
1582
+ interface DescSVGAttributes<T>
1583
+ extends CoreSVGAttributes<T>, StylableSVGAttributes {}
1584
+ interface EllipseSVGAttributes<T>
1585
+ extends
1586
+ GraphicsElementSVGAttributes<T>,
1587
+ ShapeElementSVGAttributes<T>,
1588
+ ConditionalProcessingSVGAttributes,
1589
+ ExternalResourceSVGAttributes,
1590
+ StylableSVGAttributes,
1591
+ TransformableSVGAttributes {
1592
+ cx?: FunctionMaybe<number | string>;
1593
+ cy?: FunctionMaybe<number | string>;
1594
+ rx?: FunctionMaybe<number | string>;
1595
+ ry?: FunctionMaybe<number | string>;
1596
+ }
1597
+ interface FeBlendSVGAttributes<T>
1598
+ extends
1599
+ FilterPrimitiveElementSVGAttributes<T>,
1600
+ DoubleInputFilterSVGAttributes,
1601
+ StylableSVGAttributes {
1602
+ mode?: FunctionMaybe<
1603
+ "normal" | "multiply" | "screen" | "darken" | "lighten"
1604
+ >;
1605
+ }
1606
+ interface FeColorMatrixSVGAttributes<T>
1607
+ extends
1608
+ FilterPrimitiveElementSVGAttributes<T>,
1609
+ SingleInputFilterSVGAttributes,
1610
+ StylableSVGAttributes {
1611
+ type?: FunctionMaybe<
1612
+ "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha"
1613
+ >;
1614
+ values?: FunctionMaybe<string>;
1615
+ }
1616
+ interface FeComponentTransferSVGAttributes<T>
1617
+ extends
1618
+ FilterPrimitiveElementSVGAttributes<T>,
1619
+ SingleInputFilterSVGAttributes,
1620
+ StylableSVGAttributes {}
1621
+ interface FeCompositeSVGAttributes<T>
1622
+ extends
1623
+ FilterPrimitiveElementSVGAttributes<T>,
1624
+ DoubleInputFilterSVGAttributes,
1625
+ StylableSVGAttributes {
1626
+ operator?: FunctionMaybe<
1627
+ "over" | "in" | "out" | "atop" | "xor" | "arithmetic"
1628
+ >;
1629
+ k1?: FunctionMaybe<number | string>;
1630
+ k2?: FunctionMaybe<number | string>;
1631
+ k3?: FunctionMaybe<number | string>;
1632
+ k4?: FunctionMaybe<number | string>;
1633
+ }
1634
+ interface FeConvolveMatrixSVGAttributes<T>
1635
+ extends
1636
+ FilterPrimitiveElementSVGAttributes<T>,
1637
+ SingleInputFilterSVGAttributes,
1638
+ StylableSVGAttributes {
1639
+ order?: FunctionMaybe<number | string>;
1640
+ kernelMatrix?: FunctionMaybe<string>;
1641
+ divisor?: FunctionMaybe<number | string>;
1642
+ bias?: FunctionMaybe<number | string>;
1643
+ targetX?: FunctionMaybe<number | string>;
1644
+ targetY?: FunctionMaybe<number | string>;
1645
+ edgeMode?: FunctionMaybe<"duplicate" | "wrap" | "none">;
1646
+ kernelUnitLength?: FunctionMaybe<number | string>;
1647
+ preserveAlpha?: FunctionMaybe<"true" | "false">;
1648
+ }
1649
+ interface FeDiffuseLightingSVGAttributes<T>
1650
+ extends
1651
+ FilterPrimitiveElementSVGAttributes<T>,
1652
+ SingleInputFilterSVGAttributes,
1653
+ StylableSVGAttributes,
1654
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
1655
+ surfaceScale?: FunctionMaybe<number | string>;
1656
+ diffuseConstant?: FunctionMaybe<number | string>;
1657
+ kernelUnitLength?: FunctionMaybe<number | string>;
1658
+ }
1659
+ interface FeDisplacementMapSVGAttributes<T>
1660
+ extends
1661
+ FilterPrimitiveElementSVGAttributes<T>,
1662
+ DoubleInputFilterSVGAttributes,
1663
+ StylableSVGAttributes {
1664
+ scale?: FunctionMaybe<number | string>;
1665
+ xChannelSelector?: FunctionMaybe<"R" | "G" | "B" | "A">;
1666
+ yChannelSelector?: FunctionMaybe<"R" | "G" | "B" | "A">;
1667
+ }
1668
+ interface FeDistantLightSVGAttributes<T>
1669
+ extends LightSourceElementSVGAttributes<T> {
1670
+ azimuth?: FunctionMaybe<number | string>;
1671
+ elevation?: FunctionMaybe<number | string>;
1672
+ }
1673
+ interface FeDropShadowSVGAttributes<T>
1674
+ extends
1675
+ CoreSVGAttributes<T>,
1676
+ FilterPrimitiveElementSVGAttributes<T>,
1677
+ StylableSVGAttributes,
1678
+ Pick<
1679
+ PresentationSVGAttributes,
1680
+ "color" | "flood-color" | "flood-opacity"
1681
+ > {
1682
+ dx?: FunctionMaybe<number | string>;
1683
+ dy?: FunctionMaybe<number | string>;
1684
+ stdDeviation?: FunctionMaybe<number | string>;
1685
+ }
1686
+ interface FeFloodSVGAttributes<T>
1687
+ extends
1688
+ FilterPrimitiveElementSVGAttributes<T>,
1689
+ StylableSVGAttributes,
1690
+ Pick<
1691
+ PresentationSVGAttributes,
1692
+ "color" | "flood-color" | "flood-opacity"
1693
+ > {}
1694
+ interface FeFuncSVGAttributes<T> extends CoreSVGAttributes<T> {
1695
+ type?: "identity" | "table" | "discrete" | "linear" | "gamma";
1696
+ tableValues?: FunctionMaybe<string>;
1697
+ slope?: FunctionMaybe<number | string>;
1698
+ intercept?: FunctionMaybe<number | string>;
1699
+ amplitude?: FunctionMaybe<number | string>;
1700
+ exponent?: FunctionMaybe<number | string>;
1701
+ offset?: FunctionMaybe<number | string>;
1702
+ }
1703
+ interface FeGaussianBlurSVGAttributes<T>
1704
+ extends
1705
+ FilterPrimitiveElementSVGAttributes<T>,
1706
+ SingleInputFilterSVGAttributes,
1707
+ StylableSVGAttributes {
1708
+ stdDeviation?: FunctionMaybe<number | string>;
1709
+ }
1710
+ interface FeImageSVGAttributes<T>
1711
+ extends
1712
+ FilterPrimitiveElementSVGAttributes<T>,
1713
+ ExternalResourceSVGAttributes,
1714
+ StylableSVGAttributes {
1715
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio>;
1716
+ href?: FunctionMaybe<string>;
1717
+ }
1718
+ interface FeMergeSVGAttributes<T>
1719
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
1720
+ interface FeMergeNodeSVGAttributes<T>
1721
+ extends CoreSVGAttributes<T>, SingleInputFilterSVGAttributes {}
1722
+ interface FeMorphologySVGAttributes<T>
1723
+ extends
1724
+ FilterPrimitiveElementSVGAttributes<T>,
1725
+ SingleInputFilterSVGAttributes,
1726
+ StylableSVGAttributes {
1727
+ operator?: FunctionMaybe<"erode" | "dilate">;
1728
+ radius?: FunctionMaybe<number | string>;
1729
+ }
1730
+ interface FeOffsetSVGAttributes<T>
1731
+ extends
1732
+ FilterPrimitiveElementSVGAttributes<T>,
1733
+ SingleInputFilterSVGAttributes,
1734
+ StylableSVGAttributes {
1735
+ dx?: FunctionMaybe<number | string>;
1736
+ dy?: FunctionMaybe<number | string>;
1737
+ }
1738
+ interface FePointLightSVGAttributes<T>
1739
+ extends LightSourceElementSVGAttributes<T> {
1740
+ x?: FunctionMaybe<number | string>;
1741
+ y?: FunctionMaybe<number | string>;
1742
+ z?: FunctionMaybe<number | string>;
1743
+ }
1744
+ interface FeSpecularLightingSVGAttributes<T>
1745
+ extends
1746
+ FilterPrimitiveElementSVGAttributes<T>,
1747
+ SingleInputFilterSVGAttributes,
1748
+ StylableSVGAttributes,
1749
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
1750
+ surfaceScale?: FunctionMaybe<string>;
1751
+ specularConstant?: FunctionMaybe<string>;
1752
+ specularExponent?: FunctionMaybe<string>;
1753
+ kernelUnitLength?: FunctionMaybe<number | string>;
1754
+ }
1755
+ interface FeSpotLightSVGAttributes<T>
1756
+ extends LightSourceElementSVGAttributes<T> {
1757
+ x?: FunctionMaybe<number | string>;
1758
+ y?: FunctionMaybe<number | string>;
1759
+ z?: FunctionMaybe<number | string>;
1760
+ pointsAtX?: FunctionMaybe<number | string>;
1761
+ pointsAtY?: FunctionMaybe<number | string>;
1762
+ pointsAtZ?: FunctionMaybe<number | string>;
1763
+ specularExponent?: FunctionMaybe<number | string>;
1764
+ limitingConeAngle?: FunctionMaybe<number | string>;
1765
+ }
1766
+ interface FeTileSVGAttributes<T>
1767
+ extends
1768
+ FilterPrimitiveElementSVGAttributes<T>,
1769
+ SingleInputFilterSVGAttributes,
1770
+ StylableSVGAttributes {}
1771
+ interface FeTurbulanceSVGAttributes<T>
1772
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
1773
+ baseFrequency?: FunctionMaybe<number | string>;
1774
+ numOctaves?: FunctionMaybe<number | string>;
1775
+ seed?: FunctionMaybe<number | string>;
1776
+ stitchTiles?: FunctionMaybe<"stitch" | "noStitch">;
1777
+ type?: FunctionMaybe<"fractalNoise" | "turbulence">;
1778
+ }
1779
+ interface FilterSVGAttributes<T>
1780
+ extends
1781
+ CoreSVGAttributes<T>,
1782
+ ExternalResourceSVGAttributes,
1783
+ StylableSVGAttributes {
1784
+ filterUnits?: FunctionMaybe<SVGUnits>;
1785
+ primitiveUnits?: FunctionMaybe<SVGUnits>;
1786
+ x?: FunctionMaybe<number | string>;
1787
+ y?: FunctionMaybe<number | string>;
1788
+ width?: FunctionMaybe<number | string>;
1789
+ height?: FunctionMaybe<number | string>;
1790
+ filterRes?: FunctionMaybe<number | string>;
1791
+ }
1792
+ interface ForeignObjectSVGAttributes<T>
1793
+ extends
1794
+ NewViewportSVGAttributes<T>,
1795
+ ConditionalProcessingSVGAttributes,
1796
+ ExternalResourceSVGAttributes,
1797
+ StylableSVGAttributes,
1798
+ TransformableSVGAttributes,
1799
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {
1800
+ x?: FunctionMaybe<number | string>;
1801
+ y?: FunctionMaybe<number | string>;
1802
+ width?: FunctionMaybe<number | string>;
1803
+ height?: FunctionMaybe<number | string>;
1804
+ }
1805
+ interface GSVGAttributes<T>
1806
+ extends
1807
+ ContainerElementSVGAttributes<T>,
1808
+ ConditionalProcessingSVGAttributes,
1809
+ ExternalResourceSVGAttributes,
1810
+ StylableSVGAttributes,
1811
+ TransformableSVGAttributes,
1812
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {}
1813
+ interface ImageSVGAttributes<T>
1814
+ extends
1815
+ NewViewportSVGAttributes<T>,
1816
+ GraphicsElementSVGAttributes<T>,
1817
+ ConditionalProcessingSVGAttributes,
1818
+ StylableSVGAttributes,
1819
+ TransformableSVGAttributes,
1820
+ Pick<PresentationSVGAttributes, "color-profile" | "image-rendering"> {
1821
+ x?: FunctionMaybe<number | string>;
1822
+ y?: FunctionMaybe<number | string>;
1823
+ width?: FunctionMaybe<number | string>;
1824
+ height?: FunctionMaybe<number | string>;
1825
+ preserveAspectRatio?: FunctionMaybe<ImagePreserveAspectRatio>;
1826
+ href?: FunctionMaybe<string>;
1827
+ }
1828
+ interface LineSVGAttributes<T>
1829
+ extends
1830
+ GraphicsElementSVGAttributes<T>,
1831
+ ShapeElementSVGAttributes<T>,
1832
+ ConditionalProcessingSVGAttributes,
1833
+ ExternalResourceSVGAttributes,
1834
+ StylableSVGAttributes,
1835
+ TransformableSVGAttributes,
1836
+ Pick<
1837
+ PresentationSVGAttributes,
1838
+ "marker-start" | "marker-mid" | "marker-end"
1839
+ > {
1840
+ x1?: FunctionMaybe<number | string>;
1841
+ y1?: FunctionMaybe<number | string>;
1842
+ x2?: FunctionMaybe<number | string>;
1843
+ y2?: FunctionMaybe<number | string>;
1844
+ }
1845
+ interface LinearGradientSVGAttributes<T>
1846
+ extends GradientElementSVGAttributes<T> {
1847
+ x1?: FunctionMaybe<number | string>;
1848
+ x2?: FunctionMaybe<number | string>;
1849
+ y1?: FunctionMaybe<number | string>;
1850
+ y2?: FunctionMaybe<number | string>;
1851
+ }
1852
+ interface MarkerSVGAttributes<T>
1853
+ extends
1854
+ ContainerElementSVGAttributes<T>,
1855
+ ExternalResourceSVGAttributes,
1856
+ StylableSVGAttributes,
1857
+ FitToViewBoxSVGAttributes,
1858
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
1859
+ markerUnits?: FunctionMaybe<"strokeWidth" | "userSpaceOnUse">;
1860
+ refX?: FunctionMaybe<number | string>;
1861
+ refY?: FunctionMaybe<number | string>;
1862
+ markerWidth?: FunctionMaybe<number | string>;
1863
+ markerHeight?: FunctionMaybe<number | string>;
1864
+ orient?: FunctionMaybe<string>;
1865
+ }
1866
+ interface MaskSVGAttributes<T>
1867
+ extends
1868
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
1869
+ ConditionalProcessingSVGAttributes,
1870
+ ExternalResourceSVGAttributes,
1871
+ StylableSVGAttributes {
1872
+ maskUnits?: FunctionMaybe<SVGUnits>;
1873
+ maskContentUnits?: FunctionMaybe<SVGUnits>;
1874
+ x?: FunctionMaybe<number | string>;
1875
+ y?: FunctionMaybe<number | string>;
1876
+ width?: FunctionMaybe<number | string>;
1877
+ height?: FunctionMaybe<number | string>;
1878
+ }
1879
+ interface MetadataSVGAttributes<T> extends CoreSVGAttributes<T> {}
1880
+ interface MPathSVGAttributes<T> extends CoreSVGAttributes<T> {}
1881
+ interface PathSVGAttributes<T>
1882
+ extends
1883
+ GraphicsElementSVGAttributes<T>,
1884
+ ShapeElementSVGAttributes<T>,
1885
+ ConditionalProcessingSVGAttributes,
1886
+ ExternalResourceSVGAttributes,
1887
+ StylableSVGAttributes,
1888
+ TransformableSVGAttributes,
1889
+ Pick<
1890
+ PresentationSVGAttributes,
1891
+ "marker-start" | "marker-mid" | "marker-end"
1892
+ > {
1893
+ d?: FunctionMaybe<string>;
1894
+ pathLength?: FunctionMaybe<number | string>;
1895
+ }
1896
+ interface PatternSVGAttributes<T>
1897
+ extends
1898
+ ContainerElementSVGAttributes<T>,
1899
+ ConditionalProcessingSVGAttributes,
1900
+ ExternalResourceSVGAttributes,
1901
+ StylableSVGAttributes,
1902
+ FitToViewBoxSVGAttributes,
1903
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
1904
+ x?: FunctionMaybe<number | string>;
1905
+ y?: FunctionMaybe<number | string>;
1906
+ width?: FunctionMaybe<number | string>;
1907
+ height?: FunctionMaybe<number | string>;
1908
+ patternUnits?: FunctionMaybe<SVGUnits>;
1909
+ patternContentUnits?: FunctionMaybe<SVGUnits>;
1910
+ patternTransform?: FunctionMaybe<string>;
1911
+ href?: string;
1912
+ }
1913
+ interface PolygonSVGAttributes<T>
1914
+ extends
1915
+ GraphicsElementSVGAttributes<T>,
1916
+ ShapeElementSVGAttributes<T>,
1917
+ ConditionalProcessingSVGAttributes,
1918
+ ExternalResourceSVGAttributes,
1919
+ StylableSVGAttributes,
1920
+ TransformableSVGAttributes,
1921
+ Pick<
1922
+ PresentationSVGAttributes,
1923
+ "marker-start" | "marker-mid" | "marker-end"
1924
+ > {
1925
+ points?: FunctionMaybe<string>;
1926
+ }
1927
+ interface PolylineSVGAttributes<T>
1928
+ extends
1929
+ GraphicsElementSVGAttributes<T>,
1930
+ ShapeElementSVGAttributes<T>,
1931
+ ConditionalProcessingSVGAttributes,
1932
+ ExternalResourceSVGAttributes,
1933
+ StylableSVGAttributes,
1934
+ TransformableSVGAttributes,
1935
+ Pick<
1936
+ PresentationSVGAttributes,
1937
+ "marker-start" | "marker-mid" | "marker-end"
1938
+ > {
1939
+ points?: FunctionMaybe<string>;
1940
+ }
1941
+ interface RadialGradientSVGAttributes<T>
1942
+ extends GradientElementSVGAttributes<T> {
1943
+ cx?: FunctionMaybe<number | string>;
1944
+ cy?: FunctionMaybe<number | string>;
1945
+ r?: FunctionMaybe<number | string>;
1946
+ fx?: FunctionMaybe<number | string>;
1947
+ fy?: FunctionMaybe<number | string>;
1948
+ }
1949
+ interface RectSVGAttributes<T>
1950
+ extends
1951
+ GraphicsElementSVGAttributes<T>,
1952
+ ShapeElementSVGAttributes<T>,
1953
+ ConditionalProcessingSVGAttributes,
1954
+ ExternalResourceSVGAttributes,
1955
+ StylableSVGAttributes,
1956
+ TransformableSVGAttributes {
1957
+ x?: FunctionMaybe<number | string>;
1958
+ y?: FunctionMaybe<number | string>;
1959
+ width?: FunctionMaybe<number | string>;
1960
+ height?: FunctionMaybe<number | string>;
1961
+ rx?: FunctionMaybe<number | string>;
1962
+ ry?: FunctionMaybe<number | string>;
1963
+ }
1964
+ interface SetSVGAttributes<T>
1965
+ extends
1966
+ CoreSVGAttributes<T>,
1967
+ StylableSVGAttributes,
1968
+ AnimationTimingSVGAttributes {}
1969
+ interface StopSVGAttributes<T>
1970
+ extends
1971
+ CoreSVGAttributes<T>,
1972
+ StylableSVGAttributes,
1973
+ Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
1974
+ offset?: FunctionMaybe<number | string>;
1975
+ }
1976
+ interface SvgSVGAttributes<T>
1977
+ extends
1978
+ ContainerElementSVGAttributes<T>,
1979
+ NewViewportSVGAttributes<T>,
1980
+ ConditionalProcessingSVGAttributes,
1981
+ ExternalResourceSVGAttributes,
1982
+ StylableSVGAttributes,
1983
+ FitToViewBoxSVGAttributes,
1984
+ ZoomAndPanSVGAttributes,
1985
+ PresentationSVGAttributes {
1986
+ version?: FunctionMaybe<string>;
1987
+ baseProfile?: FunctionMaybe<string>;
1988
+ x?: FunctionMaybe<number | string>;
1989
+ y?: FunctionMaybe<number | string>;
1990
+ width?: FunctionMaybe<number | string>;
1991
+ height?: FunctionMaybe<number | string>;
1992
+ contentScriptType?: FunctionMaybe<string>;
1993
+ contentStyleType?: FunctionMaybe<string>;
1994
+ xmlns?: FunctionMaybe<string>;
1995
+ "xmlns:xlink"?: FunctionMaybe<string>;
1996
+ }
1997
+ interface SwitchSVGAttributes<T>
1998
+ extends
1999
+ ContainerElementSVGAttributes<T>,
2000
+ ConditionalProcessingSVGAttributes,
2001
+ ExternalResourceSVGAttributes,
2002
+ StylableSVGAttributes,
2003
+ TransformableSVGAttributes,
2004
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2005
+ interface SymbolSVGAttributes<T>
2006
+ extends
2007
+ ContainerElementSVGAttributes<T>,
2008
+ NewViewportSVGAttributes<T>,
2009
+ ExternalResourceSVGAttributes,
2010
+ StylableSVGAttributes,
2011
+ FitToViewBoxSVGAttributes {
2012
+ width?: FunctionMaybe<number | string>;
2013
+ height?: FunctionMaybe<number | string>;
2014
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio>;
2015
+ refX?: FunctionMaybe<number | string>;
2016
+ refY?: FunctionMaybe<number | string>;
2017
+ viewBox?: FunctionMaybe<string>;
2018
+ x?: FunctionMaybe<number | string>;
2019
+ y?: FunctionMaybe<number | string>;
2020
+ }
2021
+ interface TextSVGAttributes<T>
2022
+ extends
2023
+ TextContentElementSVGAttributes<T>,
2024
+ GraphicsElementSVGAttributes<T>,
2025
+ ConditionalProcessingSVGAttributes,
2026
+ ExternalResourceSVGAttributes,
2027
+ StylableSVGAttributes,
2028
+ TransformableSVGAttributes,
2029
+ Pick<PresentationSVGAttributes, "writing-mode" | "text-rendering"> {
2030
+ x?: FunctionMaybe<number | string>;
2031
+ y?: FunctionMaybe<number | string>;
2032
+ dx?: FunctionMaybe<number | string>;
2033
+ dy?: FunctionMaybe<number | string>;
2034
+ rotate?: FunctionMaybe<number | string>;
2035
+ textLength?: FunctionMaybe<number | string>;
2036
+ lengthAdjust?: FunctionMaybe<"spacing" | "spacingAndGlyphs">;
2037
+ }
2038
+ interface TextPathSVGAttributes<T>
2039
+ extends
2040
+ TextContentElementSVGAttributes<T>,
2041
+ ConditionalProcessingSVGAttributes,
2042
+ ExternalResourceSVGAttributes,
2043
+ StylableSVGAttributes,
2044
+ Pick<
2045
+ PresentationSVGAttributes,
2046
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2047
+ > {
2048
+ startOffset?: FunctionMaybe<number | string>;
2049
+ method?: FunctionMaybe<"align" | "stretch">;
2050
+ spacing?: FunctionMaybe<"auto" | "exact">;
2051
+ href?: FunctionMaybe<string>;
2052
+ }
2053
+ interface TSpanSVGAttributes<T>
2054
+ extends
2055
+ TextContentElementSVGAttributes<T>,
2056
+ ConditionalProcessingSVGAttributes,
2057
+ ExternalResourceSVGAttributes,
2058
+ StylableSVGAttributes,
2059
+ Pick<
2060
+ PresentationSVGAttributes,
2061
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2062
+ > {
2063
+ x?: FunctionMaybe<number | string>;
2064
+ y?: FunctionMaybe<number | string>;
2065
+ dx?: FunctionMaybe<number | string>;
2066
+ dy?: FunctionMaybe<number | string>;
2067
+ rotate?: FunctionMaybe<number | string>;
2068
+ textLength?: FunctionMaybe<number | string>;
2069
+ lengthAdjust?: FunctionMaybe<"spacing" | "spacingAndGlyphs">;
2070
+ }
2071
+ /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2072
+ interface UseSVGAttributes<T>
2073
+ extends
2074
+ CoreSVGAttributes<T>,
2075
+ StylableSVGAttributes,
2076
+ ConditionalProcessingSVGAttributes,
2077
+ GraphicsElementSVGAttributes<T>,
2078
+ PresentationSVGAttributes,
2079
+ ExternalResourceSVGAttributes,
2080
+ TransformableSVGAttributes {
2081
+ x?: FunctionMaybe<number | string>;
2082
+ y?: FunctionMaybe<number | string>;
2083
+ width?: FunctionMaybe<number | string>;
2084
+ height?: FunctionMaybe<number | string>;
2085
+ href?: FunctionMaybe<string>;
2086
+ }
2087
+ interface ViewSVGAttributes<T>
2088
+ extends
2089
+ CoreSVGAttributes<T>,
2090
+ ExternalResourceSVGAttributes,
2091
+ FitToViewBoxSVGAttributes,
2092
+ ZoomAndPanSVGAttributes {
2093
+ viewTarget?: FunctionMaybe<string>;
2094
+ }
2095
+ /** @type {HTMLElementTagNameMap} */
2096
+ interface HTMLElementTags {
2097
+ a: AnchorHTMLAttributes<HTMLAnchorElement>;
2098
+ abbr: HTMLAttributes<HTMLElement>;
2099
+ address: HTMLAttributes<HTMLElement>;
2100
+ area: AreaHTMLAttributes<HTMLAreaElement>;
2101
+ article: HTMLAttributes<HTMLElement>;
2102
+ aside: HTMLAttributes<HTMLElement>;
2103
+ audio: AudioHTMLAttributes<HTMLAudioElement>;
2104
+ b: HTMLAttributes<HTMLElement>;
2105
+ base: BaseHTMLAttributes<HTMLBaseElement>;
2106
+ bdi: HTMLAttributes<HTMLElement>;
2107
+ bdo: HTMLAttributes<HTMLElement>;
2108
+ blockquote: BlockquoteHTMLAttributes<HTMLElement>;
2109
+ body: HTMLAttributes<HTMLBodyElement>;
2110
+ br: HTMLAttributes<HTMLBRElement>;
2111
+ button: ButtonHTMLAttributes<HTMLButtonElement>;
2112
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement>;
2113
+ caption: HTMLAttributes<HTMLElement>;
2114
+ cite: HTMLAttributes<HTMLElement>;
2115
+ code: HTMLAttributes<HTMLElement>;
2116
+ col: ColHTMLAttributes<HTMLTableColElement>;
2117
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement>;
2118
+ data: DataHTMLAttributes<HTMLElement>;
2119
+ datalist: HTMLAttributes<HTMLDataListElement>;
2120
+ dd: HTMLAttributes<HTMLElement>;
2121
+ del: HTMLAttributes<HTMLElement>;
2122
+ details: DetailsHtmlAttributes<HTMLDetailsElement>;
2123
+ dfn: HTMLAttributes<HTMLElement>;
2124
+ dialog: DialogHtmlAttributes<HTMLDialogElement>;
2125
+ div: HTMLAttributes<HTMLDivElement>;
2126
+ dl: HTMLAttributes<HTMLDListElement>;
2127
+ dt: HTMLAttributes<HTMLElement>;
2128
+ em: HTMLAttributes<HTMLElement>;
2129
+ embed: EmbedHTMLAttributes<HTMLEmbedElement>;
2130
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>;
2131
+ figcaption: HTMLAttributes<HTMLElement>;
2132
+ figure: HTMLAttributes<HTMLElement>;
2133
+ footer: HTMLAttributes<HTMLElement>;
2134
+ form: FormHTMLAttributes<HTMLFormElement>;
2135
+ h1: HTMLAttributes<HTMLHeadingElement>;
2136
+ h2: HTMLAttributes<HTMLHeadingElement>;
2137
+ h3: HTMLAttributes<HTMLHeadingElement>;
2138
+ h4: HTMLAttributes<HTMLHeadingElement>;
2139
+ h5: HTMLAttributes<HTMLHeadingElement>;
2140
+ h6: HTMLAttributes<HTMLHeadingElement>;
2141
+ head: HTMLAttributes<HTMLHeadElement>;
2142
+ header: HTMLAttributes<HTMLElement>;
2143
+ hgroup: HTMLAttributes<HTMLElement>;
2144
+ hr: HTMLAttributes<HTMLHRElement>;
2145
+ html: HTMLAttributes<HTMLHtmlElement>;
2146
+ i: HTMLAttributes<HTMLElement>;
2147
+ iframe: IframeHTMLAttributes<HTMLIFrameElement>;
2148
+ img: ImgHTMLAttributes<HTMLImageElement>;
2149
+ input: InputHTMLAttributes<HTMLInputElement>;
2150
+ ins: InsHTMLAttributes<HTMLModElement>;
2151
+ kbd: HTMLAttributes<HTMLElement>;
2152
+ label: LabelHTMLAttributes<HTMLLabelElement>;
2153
+ legend: HTMLAttributes<HTMLLegendElement>;
2154
+ li: LiHTMLAttributes<HTMLLIElement>;
2155
+ link: LinkHTMLAttributes<HTMLLinkElement>;
2156
+ main: HTMLAttributes<HTMLElement>;
2157
+ map: MapHTMLAttributes<HTMLMapElement>;
2158
+ mark: HTMLAttributes<HTMLElement>;
2159
+ menu: MenuHTMLAttributes<HTMLElement>;
2160
+ meta: MetaHTMLAttributes<HTMLMetaElement>;
2161
+ meter: MeterHTMLAttributes<HTMLElement>;
2162
+ nav: HTMLAttributes<HTMLElement>;
2163
+ noscript: HTMLAttributes<HTMLElement>;
2164
+ object: ObjectHTMLAttributes<HTMLObjectElement>;
2165
+ ol: OlHTMLAttributes<HTMLOListElement>;
2166
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>;
2167
+ option: OptionHTMLAttributes<HTMLOptionElement>;
2168
+ output: OutputHTMLAttributes<HTMLElement>;
2169
+ p: HTMLAttributes<HTMLParagraphElement>;
2170
+ picture: HTMLAttributes<HTMLElement>;
2171
+ pre: HTMLAttributes<HTMLPreElement>;
2172
+ progress: ProgressHTMLAttributes<HTMLProgressElement>;
2173
+ q: QuoteHTMLAttributes<HTMLQuoteElement>;
2174
+ rp: HTMLAttributes<HTMLElement>;
2175
+ rt: HTMLAttributes<HTMLElement>;
2176
+ ruby: HTMLAttributes<HTMLElement>;
2177
+ s: HTMLAttributes<HTMLElement>;
2178
+ samp: HTMLAttributes<HTMLElement>;
2179
+ script: ScriptHTMLAttributes<HTMLScriptElement>;
2180
+ search: HTMLAttributes<HTMLElement>;
2181
+ section: HTMLAttributes<HTMLElement>;
2182
+ select: SelectHTMLAttributes<HTMLSelectElement>;
2183
+ slot: HTMLSlotElementAttributes;
2184
+ small: HTMLAttributes<HTMLElement>;
2185
+ source: SourceHTMLAttributes<HTMLSourceElement>;
2186
+ span: HTMLAttributes<HTMLSpanElement>;
2187
+ strong: HTMLAttributes<HTMLElement>;
2188
+ style: StyleHTMLAttributes<HTMLStyleElement>;
2189
+ sub: HTMLAttributes<HTMLElement>;
2190
+ summary: HTMLAttributes<HTMLElement>;
2191
+ sup: HTMLAttributes<HTMLElement>;
2192
+ table: HTMLAttributes<HTMLTableElement>;
2193
+ tbody: HTMLAttributes<HTMLTableSectionElement>;
2194
+ td: TdHTMLAttributes<HTMLTableCellElement>;
2195
+ template: TemplateHTMLAttributes<HTMLTemplateElement>;
2196
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement>;
2197
+ tfoot: HTMLAttributes<HTMLTableSectionElement>;
2198
+ th: ThHTMLAttributes<HTMLTableCellElement>;
2199
+ thead: HTMLAttributes<HTMLTableSectionElement>;
2200
+ time: TimeHTMLAttributes<HTMLElement>;
2201
+ title: HTMLAttributes<HTMLTitleElement>;
2202
+ tr: HTMLAttributes<HTMLTableRowElement>;
2203
+ track: TrackHTMLAttributes<HTMLTrackElement>;
2204
+ u: HTMLAttributes<HTMLElement>;
2205
+ ul: HTMLAttributes<HTMLUListElement>;
2206
+ var: HTMLAttributes<HTMLElement>;
2207
+ video: VideoHTMLAttributes<HTMLVideoElement>;
2208
+ wbr: HTMLAttributes<HTMLElement>;
2209
+ }
2210
+ /** @type {HTMLElementDeprecatedTagNameMap} */
2211
+ interface HTMLElementDeprecatedTags {
2212
+ big: HTMLAttributes<HTMLElement>;
2213
+ keygen: KeygenHTMLAttributes<HTMLElement>;
2214
+ menuitem: HTMLAttributes<HTMLElement>;
2215
+ noindex: HTMLAttributes<HTMLElement>;
2216
+ param: ParamHTMLAttributes<HTMLParamElement>;
2217
+ }
2218
+ /** @type {SVGElementTagNameMap} */
2219
+ interface SVGElementTags {
2220
+ animate: AnimateSVGAttributes<SVGAnimateElement>;
2221
+ animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement>;
2222
+ animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement>;
2223
+ circle: CircleSVGAttributes<SVGCircleElement>;
2224
+ clipPath: ClipPathSVGAttributes<SVGClipPathElement>;
2225
+ defs: DefsSVGAttributes<SVGDefsElement>;
2226
+ desc: DescSVGAttributes<SVGDescElement>;
2227
+ ellipse: EllipseSVGAttributes<SVGEllipseElement>;
2228
+ feBlend: FeBlendSVGAttributes<SVGFEBlendElement>;
2229
+ feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement>;
2230
+ feComponentTransfer: FeComponentTransferSVGAttributes<
2231
+ SVGFEComponentTransferElement
2232
+ >;
2233
+ feComposite: FeCompositeSVGAttributes<SVGFECompositeElement>;
2234
+ feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement>;
2235
+ feDiffuseLighting: FeDiffuseLightingSVGAttributes<
2236
+ SVGFEDiffuseLightingElement
2237
+ >;
2238
+ feDisplacementMap: FeDisplacementMapSVGAttributes<
2239
+ SVGFEDisplacementMapElement
2240
+ >;
2241
+ feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement>;
2242
+ feDropShadow: FeDropShadowSVGAttributes<SVGFEDropShadowElement>;
2243
+ feFlood: FeFloodSVGAttributes<SVGFEFloodElement>;
2244
+ feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement>;
2245
+ feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement>;
2246
+ feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement>;
2247
+ feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement>;
2248
+ feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement>;
2249
+ feImage: FeImageSVGAttributes<SVGFEImageElement>;
2250
+ feMerge: FeMergeSVGAttributes<SVGFEMergeElement>;
2251
+ feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement>;
2252
+ feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement>;
2253
+ feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement>;
2254
+ fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement>;
2255
+ feSpecularLighting: FeSpecularLightingSVGAttributes<
2256
+ SVGFESpecularLightingElement
2257
+ >;
2258
+ feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement>;
2259
+ feTile: FeTileSVGAttributes<SVGFETileElement>;
2260
+ feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement>;
2261
+ filter: FilterSVGAttributes<SVGFilterElement>;
2262
+ foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement>;
2263
+ g: GSVGAttributes<SVGGElement>;
2264
+ image: ImageSVGAttributes<SVGImageElement>;
2265
+ line: LineSVGAttributes<SVGLineElement>;
2266
+ linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement>;
2267
+ marker: MarkerSVGAttributes<SVGMarkerElement>;
2268
+ mask: MaskSVGAttributes<SVGMaskElement>;
2269
+ metadata: MetadataSVGAttributes<SVGMetadataElement>;
2270
+ mpath: MPathSVGAttributes<SVGMPathElement>;
2271
+ path: PathSVGAttributes<SVGPathElement>;
2272
+ pattern: PatternSVGAttributes<SVGPatternElement>;
2273
+ polygon: PolygonSVGAttributes<SVGPolygonElement>;
2274
+ polyline: PolylineSVGAttributes<SVGPolylineElement>;
2275
+ radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement>;
2276
+ rect: RectSVGAttributes<SVGRectElement>;
2277
+ set: SetSVGAttributes<SVGSetElement>;
2278
+ stop: StopSVGAttributes<SVGStopElement>;
2279
+ svg: SvgSVGAttributes<SVGSVGElement>;
2280
+ switch: SwitchSVGAttributes<SVGSwitchElement>;
2281
+ symbol: SymbolSVGAttributes<SVGSymbolElement>;
2282
+ text: TextSVGAttributes<SVGTextElement>;
2283
+ textPath: TextPathSVGAttributes<SVGTextPathElement>;
2284
+ tspan: TSpanSVGAttributes<SVGTSpanElement>;
2285
+ use: UseSVGAttributes<SVGUseElement>;
2286
+ view: ViewSVGAttributes<SVGViewElement>;
2287
+ }
2288
+ interface IntrinsicElements
2289
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags {}
2290
+ }