@solidjs/h 2.0.0-beta.2 → 2.0.0-beta.21

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.
@@ -0,0 +1,4141 @@
1
+ import * as csstype from "csstype";
2
+ import type { PropKey, WidenPropValue } from "./jsx-properties.cjs";
3
+ import type { Element as SolidElement } from "solid-js";
4
+
5
+ /**
6
+ * Originally based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
7
+ *
8
+ * - https://github.com/adamhaile/surplus/blob/master/index.d.ts
9
+ * - https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts
10
+ *
11
+ * MathML typings coming mostly from Preact
12
+ *
13
+ * - https://github.com/preactjs/preact/blob/07dc9f324e58569ce66634aa03fe8949b4190358/src/jsx.d.ts#L2575
14
+ *
15
+ * Checked against other frameworks via the following table:
16
+ *
17
+ * - https://potahtml.github.io/namespace-jsx-project/index.html
18
+ *
19
+ * # Typings on elements
20
+ *
21
+ * ## Attributes
22
+ *
23
+ * - Typings include attributes and not properties (unless the property Is special-cased, such
24
+ * textContent, event handlers, etc).
25
+ * - Attributes are lowercase to avoid confusion with properties.
26
+ * - Attributes are used "as is" and won't be transformed in any way (such to `lowercase` or from
27
+ * `dashed-case` to `camelCase`).
28
+ *
29
+ * ## Event Handlers
30
+ *
31
+ * - Event handlers use `camelCase` such `onClick` and will be delegated when possible, bubbling
32
+ * through the component tree, not the dom tree.
33
+ * - Event handlers use camelCase attributes; native listener options should be handled with `ref`
34
+ * callbacks that call `addEventListener` directly.
35
+ * - A global case-insensitive event handler can be added by extending `EventHandlersElement<T>`
36
+ *
37
+ * ## Boolean Attributes (property setter that accepts `true | false`):
38
+ *
39
+ * - `(bool)true` adds the attribute `<video autoplay={true}/>` or in JSX as `<video autoplay/>`
40
+ * - `(bool)false` removes the attribute from the DOM `<video autoplay={false}/>`
41
+ * - `=""` may be accepted for the sake of parity with html `<video autoplay=""/>`
42
+ * - `"true" | "false"` are NOT allowed, these are strings that evaluate to `(bool)true`
43
+ *
44
+ * ## Enumerated Attributes (attribute accepts 1 string value out of many)
45
+ *
46
+ * - Accepts any of the enumerated values, such: `"perhaps" | "maybe"`
47
+ * - When one of the possible values is empty(in html that's for the attribute to be present), then it
48
+ * will also accept `(bool)true` to make it consistent with boolean attributes.
49
+ *
50
+ * Such `popover` attribute provides `"" | "manual" | "auto" | "hint"`.
51
+ *
52
+ * By NOT allowing `(bool)true` we will have to write `<div popover="" />`. Therefore, To make it
53
+ * consistent with Boolean Attributes we accept `true | "" | "manual" | "auto" | "hint"`, such as:
54
+ * `<div popover={true} />` or in JSX `<div popover />` is allowed and equivalent to `<div
55
+ * popover="" />`
56
+ *
57
+ * ## Pseudo-Boolean Attributes (enumerated attributes that happen to accept the strings `"true" | "false"`)
58
+ *
59
+ * - Such `<div draggable="true"/>` or `<div draggable="false"/>`. The value of the attribute is a
60
+ * string not a boolean.
61
+ * - `<div draggable={true}/>` is not valid because `(bool)true` is NOT transformed to the string
62
+ * `"true"`. Likewise `<div draggable={false}/>` removes the attribute from the element.
63
+ * - MDN documentation https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable
64
+ *
65
+ * ## All Of The Above In a nutshell
66
+ *
67
+ * - `(bool)true` adds an empty attribute
68
+ * - `(bool)false` removes the attribute
69
+ * - Attributes are lowercase
70
+ * - Event handlers are camelCase
71
+ * - Anything else is a `string` and used "as is"
72
+ * - Additionally, an attribute may be removed by `undefined`
73
+ *
74
+ * ## Using Properties
75
+ *
76
+ * - The namespace `prop:` could be used to directly set properties in native elements and
77
+ * custom-elements. `<custom-element prop:myProp={true}/>` equivalent to `el.myProp = true`
78
+ *
79
+ * ## Interfaces
80
+ *
81
+ * Events
82
+ *
83
+ * 1. An event handler goes in `EventHandlersElement` when:
84
+ *
85
+ * - `event` is global, that's to be defined in `HTMLElement` AND `SVGElement` AND `MathMLElement`
86
+ * - `event` is defined in `Element` (as `HTMLElement/MathMLElement/SVGElement` -> `Element`)
87
+ * 2. `<body>`, `<svg>`, `<framesete>` are special as these include `window` events
88
+ * 3. Any other event is special for its own tag.
89
+ *
90
+ * Browser Hierarchy
91
+ *
92
+ * - $Element (ex HTMLDivElement <div>) -> ... -> HTMLElement -> Element -> Node
93
+ * - $Element (all math elements are MathMLElement) MathMLElement -> Element -> Node
94
+ * - $Element`(ex SVGMaskElement <mask>) -> ... -> SVGElement -> Element -> Node
95
+ *
96
+ * Attributes
97
+ *
98
+ * <div> -> ... -> HTMLAttributes -> ElementAttributes
99
+ * <svg> -> ... -> SVGAttributes -> ElementAttributes
100
+ * <math> -> ... -> MathMLAttributes -> ElementAttributes
101
+ *
102
+ * ElementAttributes = `Element` + `Node` attributes (aka global attributes)
103
+ *
104
+ * HTMLAttributes = `HTMLElement` attributes (aka HTML global attributes)
105
+ * SVGAttributes = `SVGElement` attributes (aka SVG global attributes)
106
+ * MathMLAttributes = `MathMLElement` attributes (aka MATH global attributes)
107
+ *
108
+ * CustomAttributes = Framework attributes
109
+ */
110
+
111
+ type DOMElement = Element;
112
+
113
+ /**
114
+ * Fallback declarations for event types that are not yet defined in older TypeScript
115
+ * `lib.dom.d.ts` versions. When the user's TS lib defines these, declaration merging
116
+ * yields the full specialized type; otherwise these serve as a bare `Event` fallback.
117
+ */
118
+ declare global {
119
+ interface CommandEvent extends Event {}
120
+ interface PageRevealEvent extends Event {}
121
+ interface PageSwapEvent extends Event {}
122
+ interface SnapEvent extends Event {}
123
+ interface TimeEvent extends Event {}
124
+ }
125
+
126
+ export namespace JSX {
127
+ // START - difference between `jsx.d.ts` and `jsx-h.d.ts`
128
+ type FunctionMaybe<T = unknown> = { (): T } | T;
129
+ interface FunctionElement {
130
+ (): Element;
131
+ }
132
+
133
+ type Element = SolidElement | Node | FunctionElement | ArrayElement;
134
+ // END - difference between `jsx.d.ts` and `jsx-h.d.ts`
135
+
136
+ interface ArrayElement extends Array<Element> {}
137
+
138
+ interface ElementClass {
139
+ // empty, libs can define requirements downstream
140
+ }
141
+ interface ElementAttributesProperty {
142
+ // empty, libs can define requirements downstream
143
+ }
144
+ interface ElementChildrenAttribute {
145
+ children: {};
146
+ }
147
+
148
+ // Event handlers
149
+
150
+ interface EventHandler<T, E extends Event> {
151
+ (
152
+ e: E & {
153
+ currentTarget: T;
154
+ target: DOMElement;
155
+ }
156
+ ): void;
157
+ }
158
+
159
+ interface BoundEventHandler<
160
+ T,
161
+ E extends Event,
162
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
163
+ > {
164
+ 0: (data: any, ...e: Parameters<EHandler>) => void;
165
+ 1: any;
166
+ }
167
+ type EventHandlerUnion<
168
+ T,
169
+ E extends Event,
170
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
171
+ > = EHandler | BoundEventHandler<T, E, EHandler>;
172
+
173
+ interface InputEventHandler<T, E extends InputEvent> {
174
+ (
175
+ e: E & {
176
+ currentTarget: T;
177
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
178
+ ? T
179
+ : DOMElement;
180
+ }
181
+ ): void;
182
+ }
183
+ type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<
184
+ T,
185
+ E,
186
+ InputEventHandler<T, E>
187
+ >;
188
+
189
+ interface ChangeEventHandler<T, E extends Event> {
190
+ (
191
+ e: E & {
192
+ currentTarget: T;
193
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
194
+ ? T
195
+ : DOMElement;
196
+ }
197
+ ): void;
198
+ }
199
+ type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<
200
+ T,
201
+ E,
202
+ ChangeEventHandler<T, E>
203
+ >;
204
+
205
+ interface FocusEventHandler<T, E extends FocusEvent> {
206
+ (
207
+ e: E & {
208
+ currentTarget: T;
209
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
210
+ ? T
211
+ : DOMElement;
212
+ }
213
+ ): void;
214
+ }
215
+ type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion<
216
+ T,
217
+ E,
218
+ FocusEventHandler<T, E>
219
+ >;
220
+ // end event handlers
221
+
222
+ export type ClassValue =
223
+ | string
224
+ | number
225
+ | boolean
226
+ | null
227
+ | undefined
228
+ | Record<string, boolean>
229
+ | ClassValue[];
230
+
231
+ const SERIALIZABLE: unique symbol;
232
+ interface SerializableAttributeValue {
233
+ toString(): string;
234
+ [SERIALIZABLE]: never;
235
+ }
236
+
237
+ type RefCallback<T> = (el: T) => void;
238
+ type Ref<T> = T | RefCallback<T> | (RefCallback<T> | Ref<T>)[];
239
+
240
+ interface IntrinsicAttributes {
241
+ ref?: Ref<unknown> | undefined;
242
+ }
243
+ interface CustomAttributes<T> {
244
+ ref?: Ref<T> | undefined;
245
+ children?: FunctionMaybe<Element | undefined>;
246
+ $ServerOnly?: boolean | undefined;
247
+ }
248
+ interface ExplicitProperties {}
249
+ type PropAttributes = {
250
+ [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key];
251
+ };
252
+
253
+ /**
254
+ * Writable, element-specific DOM properties exposed as `prop:*` attributes, auto-derived
255
+ * from the element interface `T`. See `./jsx-properties.d.ts` for the filtering rules.
256
+ * Existing element interfaces can locally disable an auto-derived key with
257
+ * `"prop:foo"?: never;` to redirect users to a plain attribute form.
258
+ */
259
+ type Properties<T> = {
260
+ [K in keyof T as PropKey<T, K>]?: FunctionMaybe<WidenPropValue<T[K]>>;
261
+ };
262
+
263
+ // CSS
264
+
265
+ interface CSSProperties extends csstype.PropertiesHyphen {
266
+ // Override
267
+ [key: `-${string}`]: string | number | undefined;
268
+ }
269
+
270
+ // TODO: Should we allow this?
271
+ // type ClassKeys = `class:${string}`;
272
+
273
+ // BOOLEAN
274
+
275
+ /**
276
+ * Boolean and Pseudo-Boolean Attributes Helpers.
277
+ *
278
+ * Please use the helpers to describe boolean and pseudo boolean attributes to make this file and
279
+ * also the typings easier to understand and explain.
280
+ */
281
+
282
+ type BooleanAttribute = true | false | "";
283
+
284
+ type BooleanProperty = true | false;
285
+
286
+ type EnumeratedPseudoBoolean = "false" | "true";
287
+
288
+ type EnumeratedAcceptsEmpty = "" | true;
289
+
290
+ type RemoveAttribute = undefined | false;
291
+
292
+ type RemoveProperty = undefined;
293
+
294
+ // ARIA
295
+
296
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
297
+ interface AriaAttributes {
298
+ /**
299
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox,
300
+ * group, or application.
301
+ */
302
+ "aria-activedescendant"?: FunctionMaybe<string | RemoveAttribute>;
303
+ /**
304
+ * Indicates whether assistive technologies will present all, or only parts of, the changed
305
+ * region based on the change notifications defined by the aria-relevant attribute.
306
+ */
307
+ "aria-atomic"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
308
+ /**
309
+ * Similar to the global aria-label. Defines a string value that labels the current element,
310
+ * which is intended to be converted into Braille.
311
+ *
312
+ * @see aria-label.
313
+ */
314
+ "aria-braillelabel"?: FunctionMaybe<string | RemoveAttribute>;
315
+ /**
316
+ * Defines a human-readable, author-localized abbreviated description for the role of an element
317
+ * intended to be converted into Braille. Braille is not a one-to-one transliteration of letters
318
+ * and numbers, but rather it includes various abbreviations, contractions, and characters that
319
+ * represent words (known as logograms).
320
+ *
321
+ * Instead of converting long role descriptions to Braille, the aria-brailleroledescription
322
+ * attribute allows for providing an abbreviated version of the aria-roledescription value,
323
+ * which is a human-readable, author-localized description for the role of an element, for
324
+ * improved user experience with braille interfaces.
325
+ *
326
+ * @see aria-roledescription.
327
+ */
328
+ "aria-brailleroledescription"?: FunctionMaybe<string | RemoveAttribute>;
329
+ /**
330
+ * Indicates whether inputting text could trigger display of one or more predictions of the
331
+ * user's intended value for an input and specifies how predictions would be presented if they
332
+ * are made.
333
+ */
334
+ "aria-autocomplete"?: FunctionMaybe<"none" | "inline" | "list" | "both" | RemoveAttribute>;
335
+ /**
336
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until
337
+ * the modifications are complete before exposing them to the user.
338
+ */
339
+ "aria-busy"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
340
+ /**
341
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
342
+ *
343
+ * @see aria-pressed @see aria-selected.
344
+ */
345
+ "aria-checked"?: FunctionMaybe<EnumeratedPseudoBoolean | "mixed" | RemoveAttribute>;
346
+ /**
347
+ * Defines the total number of columns in a table, grid, or treegrid.
348
+ *
349
+ * @see aria-colindex.
350
+ */
351
+ "aria-colcount"?: FunctionMaybe<number | string | RemoveAttribute>;
352
+ /**
353
+ * Defines an element's column index or position with respect to the total number of columns
354
+ * within a table, grid, or treegrid.
355
+ *
356
+ * @see aria-colcount @see aria-colspan.
357
+ */
358
+ "aria-colindex"?: FunctionMaybe<number | string | RemoveAttribute>;
359
+ /** Defines a human-readable text alternative of the numeric aria-colindex. */
360
+ "aria-colindextext"?: FunctionMaybe<number | string | RemoveAttribute>;
361
+ /**
362
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or
363
+ * treegrid.
364
+ *
365
+ * @see aria-colindex @see aria-rowspan.
366
+ */
367
+ "aria-colspan"?: FunctionMaybe<number | string | RemoveAttribute>;
368
+ /**
369
+ * Identifies the element (or elements) whose contents or presence are controlled by the current
370
+ * element.
371
+ *
372
+ * @see aria-owns.
373
+ */
374
+ "aria-controls"?: FunctionMaybe<string | RemoveAttribute>;
375
+ /**
376
+ * Indicates the element that represents the current item within a container or set of related
377
+ * elements.
378
+ */
379
+ "aria-current"?: FunctionMaybe<
380
+ EnumeratedPseudoBoolean | "page" | "step" | "location" | "date" | "time" | RemoveAttribute
381
+ >;
382
+ /**
383
+ * Identifies the element (or elements) that describes the object.
384
+ *
385
+ * @see aria-labelledby
386
+ */
387
+ "aria-describedby"?: FunctionMaybe<string | RemoveAttribute>;
388
+ /**
389
+ * Defines a string value that describes or annotates the current element.
390
+ *
391
+ * @see aria-describedby
392
+ */
393
+ "aria-description"?: FunctionMaybe<string | RemoveAttribute>;
394
+ /**
395
+ * Identifies the element that provides a detailed, extended description for the object.
396
+ *
397
+ * @see aria-describedby.
398
+ */
399
+ "aria-details"?: FunctionMaybe<string | RemoveAttribute>;
400
+ /**
401
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise
402
+ * operable.
403
+ *
404
+ * @see aria-hidden @see aria-readonly.
405
+ */
406
+ "aria-disabled"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
407
+ /**
408
+ * Indicates what functions can be performed when a dragged object is released on the drop
409
+ * target.
410
+ *
411
+ * @deprecated In ARIA 1.1
412
+ */
413
+ "aria-dropeffect"?: FunctionMaybe<
414
+ "none" | "copy" | "execute" | "link" | "move" | "popup" | RemoveAttribute
415
+ >;
416
+ /**
417
+ * Identifies the element that provides an error message for the object.
418
+ *
419
+ * @see aria-invalid @see aria-describedby.
420
+ */
421
+ "aria-errormessage"?: FunctionMaybe<string | RemoveAttribute>;
422
+ /**
423
+ * Indicates whether the element, or another grouping element it controls, is currently expanded
424
+ * or collapsed.
425
+ */
426
+ "aria-expanded"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
427
+ /**
428
+ * Identifies the next element (or elements) in an alternate reading order of content which, at
429
+ * the user's discretion, allows assistive technology to override the general default of reading
430
+ * in document source order.
431
+ */
432
+ "aria-flowto"?: FunctionMaybe<string | RemoveAttribute>;
433
+ /**
434
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
435
+ *
436
+ * @deprecated In ARIA 1.1
437
+ */
438
+ "aria-grabbed"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
439
+ /**
440
+ * Indicates the availability and type of interactive popup element, such as menu or dialog,
441
+ * that can be triggered by an element.
442
+ */
443
+ "aria-haspopup"?: FunctionMaybe<
444
+ EnumeratedPseudoBoolean | "menu" | "listbox" | "tree" | "grid" | "dialog" | RemoveAttribute
445
+ >;
446
+ /**
447
+ * Indicates whether the element is exposed to an accessibility API.
448
+ *
449
+ * @see aria-disabled.
450
+ */
451
+ "aria-hidden"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
452
+ /**
453
+ * Indicates the entered value does not conform to the format expected by the application.
454
+ *
455
+ * @see aria-errormessage.
456
+ */
457
+ "aria-invalid"?: FunctionMaybe<
458
+ EnumeratedPseudoBoolean | "grammar" | "spelling" | RemoveAttribute
459
+ >;
460
+ /**
461
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
462
+ * element.
463
+ */
464
+ "aria-keyshortcuts"?: FunctionMaybe<string | RemoveAttribute>;
465
+ /**
466
+ * Defines a string value that labels the current element.
467
+ *
468
+ * @see aria-labelledby.
469
+ */
470
+ "aria-label"?: FunctionMaybe<string | RemoveAttribute>;
471
+ /**
472
+ * Identifies the element (or elements) that labels the current element.
473
+ *
474
+ * @see aria-describedby.
475
+ */
476
+ "aria-labelledby"?: FunctionMaybe<string | RemoveAttribute>;
477
+ /** Defines the hierarchical level of an element within a structure. */
478
+ "aria-level"?: FunctionMaybe<number | string | RemoveAttribute>;
479
+ /**
480
+ * Indicates that an element will be updated, and describes the types of updates the user
481
+ * agents, assistive technologies, and user can expect from the live region.
482
+ */
483
+ "aria-live"?: FunctionMaybe<"off" | "assertive" | "polite" | RemoveAttribute>;
484
+ /** Indicates whether an element is modal when displayed. */
485
+ "aria-modal"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
486
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
487
+ "aria-multiline"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
488
+ /**
489
+ * Indicates that the user may select more than one item from the current selectable
490
+ * descendants.
491
+ */
492
+ "aria-multiselectable"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
493
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
494
+ "aria-orientation"?: FunctionMaybe<"horizontal" | "vertical" | RemoveAttribute>;
495
+ /**
496
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual
497
+ * parent/child relationship between DOM elements where the DOM hierarchy cannot be used to
498
+ * represent the relationship.
499
+ *
500
+ * @see aria-controls.
501
+ */
502
+ "aria-owns"?: FunctionMaybe<string | RemoveAttribute>;
503
+ /**
504
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when
505
+ * the control has no value. A hint could be a sample value or a brief description of the
506
+ * expected format.
507
+ */
508
+ "aria-placeholder"?: FunctionMaybe<string | RemoveAttribute>;
509
+ /**
510
+ * Defines an element's number or position in the current set of listitems or treeitems. Not
511
+ * required if all elements in the set are present in the DOM.
512
+ *
513
+ * @see aria-setsize.
514
+ */
515
+ "aria-posinset"?: FunctionMaybe<number | string | RemoveAttribute>;
516
+ /**
517
+ * Indicates the current "pressed" state of toggle buttons.
518
+ *
519
+ * @see aria-checked @see aria-selected.
520
+ */
521
+ "aria-pressed"?: FunctionMaybe<EnumeratedPseudoBoolean | "mixed" | RemoveAttribute>;
522
+ /**
523
+ * Indicates that the element is not editable, but is otherwise operable.
524
+ *
525
+ * @see aria-disabled.
526
+ */
527
+ "aria-readonly"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
528
+ /**
529
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a
530
+ * live region is modified.
531
+ *
532
+ * @see aria-atomic.
533
+ */
534
+ "aria-relevant"?: FunctionMaybe<
535
+ | "additions"
536
+ | "additions removals"
537
+ | "additions text"
538
+ | "all"
539
+ | "removals"
540
+ | "removals additions"
541
+ | "removals text"
542
+ | "text"
543
+ | "text additions"
544
+ | "text removals"
545
+ | RemoveAttribute
546
+ >;
547
+ /** Indicates that user input is required on the element before a form may be submitted. */
548
+ "aria-required"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
549
+ /** Defines a human-readable, author-localized description for the role of an element. */
550
+ "aria-roledescription"?: FunctionMaybe<string | RemoveAttribute>;
551
+ /**
552
+ * Defines the total number of rows in a table, grid, or treegrid.
553
+ *
554
+ * @see aria-rowindex.
555
+ */
556
+ "aria-rowcount"?: FunctionMaybe<number | string | RemoveAttribute>;
557
+ /**
558
+ * Defines an element's row index or position with respect to the total number of rows within a
559
+ * table, grid, or treegrid.
560
+ *
561
+ * @see aria-rowcount @see aria-rowspan.
562
+ */
563
+ "aria-rowindex"?: FunctionMaybe<number | string | RemoveAttribute>;
564
+ /** Defines a human-readable text alternative of aria-rowindex. */
565
+ "aria-rowindextext"?: FunctionMaybe<number | string | RemoveAttribute>;
566
+
567
+ /**
568
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
569
+ *
570
+ * @see aria-rowindex @see aria-colspan.
571
+ */
572
+ "aria-rowspan"?: FunctionMaybe<number | string | RemoveAttribute>;
573
+ /**
574
+ * Indicates the current "selected" state of various widgets.
575
+ *
576
+ * @see aria-checked @see aria-pressed.
577
+ */
578
+ "aria-selected"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
579
+ /**
580
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all
581
+ * elements in the set are present in the DOM.
582
+ *
583
+ * @see aria-posinset.
584
+ */
585
+ "aria-setsize"?: FunctionMaybe<number | string | RemoveAttribute>;
586
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
587
+ "aria-sort"?: FunctionMaybe<"none" | "ascending" | "descending" | "other" | RemoveAttribute>;
588
+ /** Defines the maximum allowed value for a range widget. */
589
+ "aria-valuemax"?: FunctionMaybe<number | string | RemoveAttribute>;
590
+ /** Defines the minimum allowed value for a range widget. */
591
+ "aria-valuemin"?: FunctionMaybe<number | string | RemoveAttribute>;
592
+ /**
593
+ * Defines the current value for a range widget.
594
+ *
595
+ * @see aria-valuetext.
596
+ */
597
+ "aria-valuenow"?: FunctionMaybe<number | string | RemoveAttribute>;
598
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
599
+ "aria-valuetext"?: FunctionMaybe<string | RemoveAttribute>;
600
+ role?: FunctionMaybe<
601
+ | "alert"
602
+ | "alertdialog"
603
+ | "application"
604
+ | "article"
605
+ | "banner"
606
+ | "button"
607
+ | "cell"
608
+ | "checkbox"
609
+ | "columnheader"
610
+ | "combobox"
611
+ | "complementary"
612
+ | "contentinfo"
613
+ | "definition"
614
+ | "dialog"
615
+ | "directory"
616
+ | "document"
617
+ | "feed"
618
+ | "figure"
619
+ | "form"
620
+ | "grid"
621
+ | "gridcell"
622
+ | "group"
623
+ | "heading"
624
+ | "img"
625
+ | "link"
626
+ | "list"
627
+ | "listbox"
628
+ | "listitem"
629
+ | "log"
630
+ | "main"
631
+ | "marquee"
632
+ | "math"
633
+ | "menu"
634
+ | "menubar"
635
+ | "menuitem"
636
+ | "menuitemcheckbox"
637
+ | "menuitemradio"
638
+ | "meter"
639
+ | "navigation"
640
+ | "none"
641
+ | "note"
642
+ | "option"
643
+ | "presentation"
644
+ | "progressbar"
645
+ | "radio"
646
+ | "radiogroup"
647
+ | "region"
648
+ | "row"
649
+ | "rowgroup"
650
+ | "rowheader"
651
+ | "scrollbar"
652
+ | "search"
653
+ | "searchbox"
654
+ | "separator"
655
+ | "slider"
656
+ | "spinbutton"
657
+ | "status"
658
+ | "switch"
659
+ | "tab"
660
+ | "table"
661
+ | "tablist"
662
+ | "tabpanel"
663
+ | "term"
664
+ | "textbox"
665
+ | "timer"
666
+ | "toolbar"
667
+ | "tooltip"
668
+ | "tree"
669
+ | "treegrid"
670
+ | "treeitem"
671
+ | RemoveAttribute
672
+ >;
673
+ }
674
+
675
+ // EVENTS
676
+
677
+ /**
678
+ * `Window` events, defined for `<body>`, `<svg>`, `<frameset>` tags.
679
+ *
680
+ * Excluding `EventHandlersElement` events already defined as globals that all tags share, such as
681
+ * `onblur`.
682
+ */
683
+ interface EventHandlersWindow<T> {
684
+ onAfterPrint?: EventHandlerUnion<T, Event> | undefined;
685
+ onBeforePrint?: EventHandlerUnion<T, Event> | undefined;
686
+ onBeforeUnload?: EventHandlerUnion<T, BeforeUnloadEvent> | undefined;
687
+ onDeviceMotion?: EventHandlerUnion<T, DeviceMotionEvent> | undefined;
688
+ onDeviceOrientation?: EventHandlerUnion<T, DeviceOrientationEvent> | undefined;
689
+ onDeviceOrientationAbsolute?: EventHandlerUnion<T, DeviceOrientationEvent> | undefined;
690
+ onGamepadConnected?: EventHandlerUnion<T, GamepadEvent> | undefined;
691
+ onGamepadDisconnected?: EventHandlerUnion<T, GamepadEvent> | undefined;
692
+ onHashchange?: EventHandlerUnion<T, HashChangeEvent> | undefined;
693
+ onLanguageChange?: EventHandlerUnion<T, Event> | undefined;
694
+ onMessage?: EventHandlerUnion<T, MessageEvent> | undefined;
695
+ onMessageError?: EventHandlerUnion<T, MessageEvent> | undefined;
696
+ onOffline?: EventHandlerUnion<T, Event> | undefined;
697
+ onOnline?: EventHandlerUnion<T, Event> | undefined;
698
+ /** @deprecated Use `screen.orientation` (`ScreenOrientation.change`) instead. */
699
+ onOrientationChange?: EventHandlerUnion<T, Event> | undefined;
700
+ onPageHide?: EventHandlerUnion<T, PageTransitionEvent> | undefined;
701
+ onPageReveal?: EventHandlerUnion<T, PageRevealEvent> | undefined;
702
+ onPageShow?: EventHandlerUnion<T, PageTransitionEvent> | undefined;
703
+ onPageSwap?: EventHandlerUnion<T, PageSwapEvent> | undefined;
704
+ onPopstate?: EventHandlerUnion<T, PopStateEvent> | undefined;
705
+ onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
706
+ onStorage?: EventHandlerUnion<T, StorageEvent> | undefined;
707
+ onUnhandledRejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
708
+ onUnload?: EventHandlerUnion<T, Event> | undefined;
709
+
710
+ /** @deprecated Use `screen.orientation` (`ScreenOrientation.change`) instead. */
711
+ }
712
+
713
+ /**
714
+ * Global `EventHandlersElement`, defined for all tags.
715
+ *
716
+ * That's events defined and shared BY ALL of the `HTMLElement/SVGElement/MathMLElement`
717
+ * interfaces.
718
+ *
719
+ * Includes events defined for the `Element` interface.
720
+ */
721
+ interface EventHandlersElement<T> {
722
+ onAbort?: EventHandlerUnion<T, UIEvent> | undefined;
723
+ onAnimationCancel?: EventHandlerUnion<T, AnimationEvent> | undefined;
724
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent> | undefined;
725
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent> | undefined;
726
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent> | undefined;
727
+ onAuxClick?: EventHandlerUnion<T, PointerEvent> | undefined;
728
+ onBeforeCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined;
729
+ onBeforeCut?: EventHandlerUnion<T, ClipboardEvent> | undefined;
730
+ onBeforeInput?: InputEventHandlerUnion<T, InputEvent> | undefined;
731
+ onBeforeMatch?: EventHandlerUnion<T, Event> | undefined;
732
+ onBeforePaste?: EventHandlerUnion<T, ClipboardEvent> | undefined;
733
+ onBeforeToggle?: EventHandlerUnion<T, ToggleEvent> | undefined;
734
+ onBeforeXRSelect?: EventHandlerUnion<T, Event> | undefined;
735
+ onBlur?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
736
+ onCancel?: EventHandlerUnion<T, Event> | undefined;
737
+ onCanPlay?: EventHandlerUnion<T, Event> | undefined;
738
+ onCanPlayThrough?: EventHandlerUnion<T, Event> | undefined;
739
+ onChange?: ChangeEventHandlerUnion<T, Event> | undefined;
740
+ onClick?: EventHandlerUnion<T, MouseEvent> | undefined;
741
+ onClose?: EventHandlerUnion<T, Event> | undefined;
742
+ onCommand?: EventHandlerUnion<T, CommandEvent> | undefined;
743
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent> | undefined;
744
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent> | undefined;
745
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent> | undefined;
746
+ onContentVisibilityAutoStateChange?:
747
+ | EventHandlerUnion<T, ContentVisibilityAutoStateChangeEvent>
748
+ | undefined;
749
+ onContextLost?: EventHandlerUnion<T, Event> | undefined;
750
+ onContextMenu?: EventHandlerUnion<T, PointerEvent> | undefined;
751
+ onContextRestored?: EventHandlerUnion<T, Event> | undefined;
752
+ onCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined;
753
+ onCueChange?: EventHandlerUnion<T, Event> | undefined;
754
+ onCut?: EventHandlerUnion<T, ClipboardEvent> | undefined;
755
+ onDblClick?: EventHandlerUnion<T, MouseEvent> | undefined;
756
+ onDrag?: EventHandlerUnion<T, DragEvent> | undefined;
757
+ onDragEnd?: EventHandlerUnion<T, DragEvent> | undefined;
758
+ onDragEnter?: EventHandlerUnion<T, DragEvent> | undefined;
759
+ onDragExit?: EventHandlerUnion<T, DragEvent> | undefined;
760
+ onDragLeave?: EventHandlerUnion<T, DragEvent> | undefined;
761
+ onDragOver?: EventHandlerUnion<T, DragEvent> | undefined;
762
+ onDragStart?: EventHandlerUnion<T, DragEvent> | undefined;
763
+ onDrop?: EventHandlerUnion<T, DragEvent> | undefined;
764
+ onDurationChange?: EventHandlerUnion<T, Event> | undefined;
765
+ onEmptied?: EventHandlerUnion<T, Event> | undefined;
766
+ onEnded?: EventHandlerUnion<T, Event> | undefined;
767
+ onError?: EventHandlerUnion<T, ErrorEvent> | undefined;
768
+ onFocus?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
769
+ onFocusIn?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
770
+ onFocusOut?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
771
+ onFormData?: EventHandlerUnion<T, FormDataEvent> | undefined;
772
+ onFullscreenChange?: EventHandlerUnion<T, Event> | undefined;
773
+ onFullscreenError?: EventHandlerUnion<T, Event> | undefined;
774
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined;
775
+ onInput?: InputEventHandlerUnion<T, InputEvent> | undefined;
776
+ onInvalid?: EventHandlerUnion<T, Event> | undefined;
777
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent> | undefined;
778
+ onKeyPress?: EventHandlerUnion<T, KeyboardEvent> | undefined;
779
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent> | undefined;
780
+ onLoad?: EventHandlerUnion<T, Event> | undefined;
781
+ onLoadedData?: EventHandlerUnion<T, Event> | undefined;
782
+ onLoadedMetadata?: EventHandlerUnion<T, Event> | undefined;
783
+ onLoadStart?: EventHandlerUnion<T, Event> | undefined;
784
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined;
785
+ onMouseDown?: EventHandlerUnion<T, MouseEvent> | undefined;
786
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent> | undefined;
787
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent> | undefined;
788
+ onMouseMove?: EventHandlerUnion<T, MouseEvent> | undefined;
789
+ onMouseOut?: EventHandlerUnion<T, MouseEvent> | undefined;
790
+ onMouseOver?: EventHandlerUnion<T, MouseEvent> | undefined;
791
+ onMouseUp?: EventHandlerUnion<T, MouseEvent> | undefined;
792
+ onPaste?: EventHandlerUnion<T, ClipboardEvent> | undefined;
793
+ onPause?: EventHandlerUnion<T, Event> | undefined;
794
+ onPlay?: EventHandlerUnion<T, Event> | undefined;
795
+ onPlaying?: EventHandlerUnion<T, Event> | undefined;
796
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent> | undefined;
797
+ onPointerDown?: EventHandlerUnion<T, PointerEvent> | undefined;
798
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent> | undefined;
799
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent> | undefined;
800
+ onPointerMove?: EventHandlerUnion<T, PointerEvent> | undefined;
801
+ onPointerOut?: EventHandlerUnion<T, PointerEvent> | undefined;
802
+ onPointerOver?: EventHandlerUnion<T, PointerEvent> | undefined;
803
+ onPointerRawUpdate?: EventHandlerUnion<T, PointerEvent> | undefined;
804
+ onPointerUp?: EventHandlerUnion<T, PointerEvent> | undefined;
805
+ onProgress?: EventHandlerUnion<T, ProgressEvent> | undefined;
806
+ onRateChange?: EventHandlerUnion<T, Event> | undefined;
807
+ onReset?: EventHandlerUnion<T, Event> | undefined;
808
+ onResize?: EventHandlerUnion<T, UIEvent> | undefined;
809
+ onScroll?: EventHandlerUnion<T, Event> | undefined;
810
+ onScrollEnd?: EventHandlerUnion<T, Event> | undefined;
811
+ onScrollSnapChange?: EventHandlerUnion<T, SnapEvent> | undefined;
812
+ onScrollSnapChanging?: EventHandlerUnion<T, SnapEvent> | undefined;
813
+ onSecurityPolicyViolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent> | undefined;
814
+ onSeeked?: EventHandlerUnion<T, Event> | undefined;
815
+ onSeeking?: EventHandlerUnion<T, Event> | undefined;
816
+ onSelect?: EventHandlerUnion<T, Event> | undefined;
817
+ onSelectionChange?: EventHandlerUnion<T, Event> | undefined;
818
+ onSelectStart?: EventHandlerUnion<T, Event> | undefined;
819
+ onSlotChange?: EventHandlerUnion<T, Event> | undefined;
820
+ onStalled?: EventHandlerUnion<T, Event> | undefined;
821
+ onSubmit?: EventHandlerUnion<T, SubmitEvent> | undefined;
822
+ onSuspend?: EventHandlerUnion<T, Event> | undefined;
823
+ onTimeUpdate?: EventHandlerUnion<T, Event> | undefined;
824
+ onToggle?: EventHandlerUnion<T, ToggleEvent> | undefined;
825
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent> | undefined;
826
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent> | undefined;
827
+ onTouchMove?: EventHandlerUnion<T, TouchEvent> | undefined;
828
+ onTouchStart?: EventHandlerUnion<T, TouchEvent> | undefined;
829
+ onTransitionCancel?: EventHandlerUnion<T, TransitionEvent> | undefined;
830
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent> | undefined;
831
+ onTransitionRun?: EventHandlerUnion<T, TransitionEvent> | undefined;
832
+ onTransitionStart?: EventHandlerUnion<T, TransitionEvent> | undefined;
833
+ onVolumeChange?: EventHandlerUnion<T, Event> | undefined;
834
+ onWaiting?: EventHandlerUnion<T, Event> | undefined;
835
+ onWheel?: EventHandlerUnion<T, WheelEvent> | undefined;
836
+ }
837
+
838
+ // EventName = "click" | "mousedown" ...
839
+
840
+ type EventName =
841
+ | (keyof EventHandlersWindow<any> extends infer K
842
+ ? K extends `on${infer T}`
843
+ ? Lowercase<T>
844
+ : never
845
+ : never)
846
+ | (keyof EventHandlersElement<any> extends infer K
847
+ ? K extends `on${infer T}`
848
+ ? Lowercase<T>
849
+ : never
850
+ : never)
851
+ | (string & {});
852
+
853
+ type ExtractEventType<T> = {
854
+ [K in keyof T as K extends `on${infer Name}` ? Name : never]: T[K] extends EventHandlerUnion<
855
+ Element,
856
+ infer E
857
+ >
858
+ ? E
859
+ : never;
860
+ };
861
+
862
+ // EventType["click"] = MouseEvent
863
+
864
+ type EventType = ExtractEventType<EventHandlersElement<Element>> &
865
+ ExtractEventType<EventHandlersWindow<Element>>;
866
+
867
+ // GLOBAL ATTRIBUTES
868
+
869
+ /**
870
+ * Global `Element` + `Node` interface keys, shared by all tags regardless of their namespace:
871
+ *
872
+ * 1. That's `keys` that are defined BY ALL `HTMLElement/SVGElement/MathMLElement` interfaces.
873
+ * 2. Includes `keys` defined by `Element` and `Node` interfaces.
874
+ */
875
+ interface ElementAttributes<T>
876
+ extends CustomAttributes<T>, PropAttributes, EventHandlersElement<T>, AriaAttributes {
877
+ // [key: ClassKeys]: boolean;
878
+
879
+ // properties
880
+ innerHTML?: FunctionMaybe<string>;
881
+ textContent?: FunctionMaybe<string | number>;
882
+
883
+ // attributes
884
+ autofocus?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
885
+ /**
886
+ * Class names to apply. Accepts a string, an object whose keys are class
887
+ * names and values are booleans (`{ active: isActive() }` — truthy keys
888
+ * are added), or an array merging strings/objects/nested arrays
889
+ * (`["card", props.class, { active: isActive() }]`).
890
+ *
891
+ * For conditional classes, prefer the array+object form. Don't build
892
+ * class strings manually with concatenation, template literals, or
893
+ * `.filter(Boolean).join(" ")` — that's the React/`classnames` reflex
894
+ * and the array+object form replaces it. The array+object form composes
895
+ * with reactive values directly; manually-built strings re-run the whole
896
+ * concatenation on every change instead of toggling the affected classes.
897
+ */
898
+ class?: FunctionMaybe<ClassValue | RemoveAttribute>;
899
+ elementtiming?: FunctionMaybe<string | RemoveAttribute>;
900
+ id?: FunctionMaybe<string | RemoveAttribute>;
901
+ nonce?: FunctionMaybe<string | RemoveAttribute>;
902
+ part?: FunctionMaybe<string | RemoveAttribute>;
903
+ slot?: FunctionMaybe<string | RemoveAttribute>;
904
+ style?: FunctionMaybe<CSSProperties | string | RemoveAttribute>;
905
+ tabindex?: FunctionMaybe<number | string | RemoveAttribute>;
906
+ }
907
+ /** Global `SVGElement` interface keys only. */
908
+ interface SVGAttributes<T> extends ElementAttributes<T> {
909
+ id?: FunctionMaybe<string | RemoveAttribute>;
910
+ lang?: FunctionMaybe<string | RemoveAttribute>;
911
+ tabindex?: FunctionMaybe<number | string | RemoveAttribute>;
912
+ xmlns?: FunctionMaybe<string | RemoveAttribute>;
913
+ }
914
+ /** Global `MathMLElement` interface keys only. */
915
+ interface MathMLAttributes<T> extends ElementAttributes<T> {
916
+ dir?: FunctionMaybe<HTMLDir | RemoveAttribute>;
917
+ displaystyle?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
918
+ scriptlevel?: FunctionMaybe<string | RemoveAttribute>;
919
+ xmlns?: FunctionMaybe<string | RemoveAttribute>;
920
+
921
+ /** @deprecated */
922
+ href?: FunctionMaybe<string | RemoveAttribute>;
923
+ /** @deprecated */
924
+ mathbackground?: FunctionMaybe<string | RemoveAttribute>;
925
+ /** @deprecated */
926
+ mathcolor?: FunctionMaybe<string | RemoveAttribute>;
927
+ /** @deprecated */
928
+ mathsize?: FunctionMaybe<string | RemoveAttribute>;
929
+ }
930
+ /** Global `HTMLElement` interface keys only. */
931
+ interface HTMLAttributes<T> extends ElementAttributes<T> {
932
+ // properties
933
+ innerText?: FunctionMaybe<string | number>;
934
+
935
+ // attributes
936
+ accesskey?: FunctionMaybe<string | RemoveAttribute>;
937
+ autocapitalize?: FunctionMaybe<HTMLAutocapitalize | RemoveAttribute>;
938
+ autocorrect?: FunctionMaybe<"on" | "off" | RemoveAttribute>;
939
+ contenteditable?: FunctionMaybe<
940
+ | EnumeratedPseudoBoolean
941
+ | EnumeratedAcceptsEmpty
942
+ | "plaintext-only"
943
+ | "inherit"
944
+ | RemoveAttribute
945
+ >;
946
+ dir?: FunctionMaybe<HTMLDir | RemoveAttribute>;
947
+ draggable?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
948
+ enterkeyhint?: FunctionMaybe<
949
+ "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | RemoveAttribute
950
+ >;
951
+ exportparts?: FunctionMaybe<string | RemoveAttribute>;
952
+ hidden?: FunctionMaybe<EnumeratedAcceptsEmpty | "hidden" | "until-found" | RemoveAttribute>;
953
+ inert?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
954
+ inputmode?: FunctionMaybe<
955
+ "decimal" | "email" | "none" | "numeric" | "search" | "tel" | "text" | "url" | RemoveAttribute
956
+ >;
957
+ is?: FunctionMaybe<string | RemoveAttribute>;
958
+ lang?: FunctionMaybe<string | RemoveAttribute>;
959
+ popover?: FunctionMaybe<EnumeratedAcceptsEmpty | "manual" | "auto" | "hint" | RemoveAttribute>;
960
+ spellcheck?: FunctionMaybe<EnumeratedPseudoBoolean | EnumeratedAcceptsEmpty | RemoveAttribute>;
961
+ title?: FunctionMaybe<string | RemoveAttribute>;
962
+ translate?: FunctionMaybe<"yes" | "no" | RemoveAttribute>;
963
+
964
+ /** @experimental */
965
+ virtualkeyboardpolicy?: FunctionMaybe<
966
+ EnumeratedAcceptsEmpty | "auto" | "manual" | RemoveAttribute
967
+ >;
968
+ /** @experimental */
969
+ writingsuggestions?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
970
+
971
+ // Microdata
972
+ itemid?: FunctionMaybe<string | RemoveAttribute>;
973
+ itemprop?: FunctionMaybe<string | RemoveAttribute>;
974
+ itemref?: FunctionMaybe<string | RemoveAttribute>;
975
+ itemscope?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
976
+ itemtype?: FunctionMaybe<string | RemoveAttribute>;
977
+
978
+ // RDFa Attributes
979
+ about?: FunctionMaybe<string | RemoveAttribute>;
980
+ datatype?: FunctionMaybe<string | RemoveAttribute>;
981
+ inlist?: FunctionMaybe<any | RemoveAttribute>;
982
+ prefix?: FunctionMaybe<string | RemoveAttribute>;
983
+ property?: FunctionMaybe<string | RemoveAttribute>;
984
+ resource?: FunctionMaybe<string | RemoveAttribute>;
985
+ typeof?: FunctionMaybe<string | RemoveAttribute>;
986
+ vocab?: FunctionMaybe<string | RemoveAttribute>;
987
+
988
+ /** @deprecated */
989
+ contextmenu?: FunctionMaybe<string | RemoveAttribute>;
990
+ }
991
+
992
+ // HTML
993
+
994
+ type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters";
995
+ type HTMLAutocomplete =
996
+ | "additional-name"
997
+ | "address-level1"
998
+ | "address-level2"
999
+ | "address-level3"
1000
+ | "address-level4"
1001
+ | "address-line1"
1002
+ | "address-line2"
1003
+ | "address-line3"
1004
+ | "bday"
1005
+ | "bday-day"
1006
+ | "bday-month"
1007
+ | "bday-year"
1008
+ | "billing"
1009
+ | "cc-additional-name"
1010
+ | "cc-csc"
1011
+ | "cc-exp"
1012
+ | "cc-exp-month"
1013
+ | "cc-exp-year"
1014
+ | "cc-family-name"
1015
+ | "cc-given-name"
1016
+ | "cc-name"
1017
+ | "cc-number"
1018
+ | "cc-type"
1019
+ | "country"
1020
+ | "country-name"
1021
+ | "current-password"
1022
+ | "email"
1023
+ | "family-name"
1024
+ | "fax"
1025
+ | "given-name"
1026
+ | "home"
1027
+ | "honorific-prefix"
1028
+ | "honorific-suffix"
1029
+ | "impp"
1030
+ | "language"
1031
+ | "mobile"
1032
+ | "name"
1033
+ | "new-password"
1034
+ | "nickname"
1035
+ | "off"
1036
+ | "on"
1037
+ | "organization"
1038
+ | "organization-title"
1039
+ | "pager"
1040
+ | "photo"
1041
+ | "postal-code"
1042
+ | "sex"
1043
+ | "shipping"
1044
+ | "street-address"
1045
+ | "tel"
1046
+ | "tel-area-code"
1047
+ | "tel-country-code"
1048
+ | "tel-extension"
1049
+ | "tel-local"
1050
+ | "tel-local-prefix"
1051
+ | "tel-local-suffix"
1052
+ | "tel-national"
1053
+ | "transaction-amount"
1054
+ | "transaction-currency"
1055
+ | "url"
1056
+ | "username"
1057
+ | "work"
1058
+ | (string & {});
1059
+ type HTMLDir = "ltr" | "rtl" | "auto";
1060
+ type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
1061
+ type HTMLFormMethod = "post" | "get" | "dialog";
1062
+ type HTMLCrossorigin = "anonymous" | "use-credentials" | EnumeratedAcceptsEmpty;
1063
+ type HTMLReferrerPolicy =
1064
+ | "no-referrer"
1065
+ | "no-referrer-when-downgrade"
1066
+ | "origin"
1067
+ | "origin-when-cross-origin"
1068
+ | "same-origin"
1069
+ | "strict-origin"
1070
+ | "strict-origin-when-cross-origin"
1071
+ | "unsafe-url";
1072
+ type HTMLIframeSandbox =
1073
+ | "allow-downloads-without-user-activation"
1074
+ | "allow-downloads"
1075
+ | "allow-forms"
1076
+ | "allow-modals"
1077
+ | "allow-orientation-lock"
1078
+ | "allow-pointer-lock"
1079
+ | "allow-popups"
1080
+ | "allow-popups-to-escape-sandbox"
1081
+ | "allow-presentation"
1082
+ | "allow-same-origin"
1083
+ | "allow-scripts"
1084
+ | "allow-storage-access-by-user-activation"
1085
+ | "allow-top-navigation"
1086
+ | "allow-top-navigation-by-user-activation"
1087
+ | "allow-top-navigation-to-custom-protocols";
1088
+ type HTMLLinkAs =
1089
+ | "audio"
1090
+ | "document"
1091
+ | "embed"
1092
+ | "fetch"
1093
+ | "font"
1094
+ | "image"
1095
+ | "object"
1096
+ | "script"
1097
+ | "style"
1098
+ | "track"
1099
+ | "video"
1100
+ | "worker";
1101
+
1102
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
1103
+ download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
1104
+ href?: FunctionMaybe<string | RemoveAttribute>;
1105
+ hreflang?: FunctionMaybe<string | RemoveAttribute>;
1106
+ ping?: FunctionMaybe<string | RemoveAttribute>;
1107
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1108
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1109
+ target?: FunctionMaybe<
1110
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1111
+ >;
1112
+ type?: FunctionMaybe<string | RemoveAttribute>;
1113
+
1114
+ /** @experimental */
1115
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1116
+
1117
+ /** @deprecated */
1118
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1119
+ /** @deprecated */
1120
+ coords?: FunctionMaybe<string | RemoveAttribute>;
1121
+ /** @deprecated */
1122
+ name?: FunctionMaybe<string | RemoveAttribute>;
1123
+ /** @deprecated */
1124
+ rev?: FunctionMaybe<string | RemoveAttribute>;
1125
+ /** @deprecated */
1126
+ shape?: FunctionMaybe<"rect" | "circle" | "poly" | "default" | RemoveAttribute>;
1127
+ }
1128
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
1129
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
1130
+ alt?: FunctionMaybe<string | RemoveAttribute>;
1131
+ coords?: FunctionMaybe<string | RemoveAttribute>;
1132
+ download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
1133
+ href?: FunctionMaybe<string | RemoveAttribute>;
1134
+ ping?: FunctionMaybe<string | RemoveAttribute>;
1135
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1136
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1137
+ shape?: FunctionMaybe<"rect" | "circle" | "poly" | "default" | RemoveAttribute>;
1138
+ target?: FunctionMaybe<
1139
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1140
+ >;
1141
+
1142
+ /** @experimental */
1143
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1144
+
1145
+ /** @deprecated */
1146
+ nohref?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1147
+ }
1148
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
1149
+ href?: FunctionMaybe<string | RemoveAttribute>;
1150
+ target?: FunctionMaybe<
1151
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1152
+ >;
1153
+ }
1154
+ interface BdoHTMLAttributes<T> extends HTMLAttributes<T> {
1155
+ dir?: FunctionMaybe<"ltr" | "rtl" | RemoveAttribute>;
1156
+ }
1157
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
1158
+ cite?: FunctionMaybe<string | RemoveAttribute>;
1159
+ }
1160
+ interface BodyHTMLAttributes<T> extends HTMLAttributes<T>, EventHandlersWindow<T> {}
1161
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
1162
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1163
+ form?: FunctionMaybe<string | RemoveAttribute>;
1164
+ formaction?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
1165
+ formenctype?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1166
+ formmethod?: FunctionMaybe<HTMLFormMethod | RemoveAttribute>;
1167
+ formnovalidate?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1168
+ formtarget?: FunctionMaybe<
1169
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1170
+ >;
1171
+ name?: FunctionMaybe<string | RemoveAttribute>;
1172
+ popovertarget?: FunctionMaybe<string | RemoveAttribute>;
1173
+ popovertargetaction?: FunctionMaybe<"hide" | "show" | "toggle" | RemoveAttribute>;
1174
+ type?: FunctionMaybe<"submit" | "reset" | "button" | "menu" | RemoveAttribute>;
1175
+ value?: FunctionMaybe<string | RemoveAttribute>;
1176
+
1177
+ /** @experimental */
1178
+ command?: FunctionMaybe<
1179
+ | "show-modal"
1180
+ | "close"
1181
+ | "show-popover"
1182
+ | "hide-popover"
1183
+ | "toggle-popover"
1184
+ | (string & {})
1185
+ | RemoveAttribute
1186
+ >;
1187
+ /** @experimental */
1188
+ commandfor?: FunctionMaybe<string | RemoveAttribute>;
1189
+ }
1190
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
1191
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1192
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1193
+
1194
+ /**
1195
+ * @deprecated
1196
+ * @non-standard
1197
+ */
1198
+ "moz-opaque"?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1199
+ }
1200
+ interface CaptionHTMLAttributes<T> extends HTMLAttributes<T> {
1201
+ /** @deprecated */
1202
+ align?: FunctionMaybe<"left" | "center" | "right" | RemoveAttribute>;
1203
+ }
1204
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
1205
+ span?: FunctionMaybe<number | string | RemoveAttribute>;
1206
+
1207
+ /** @deprecated */
1208
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1209
+ /** @deprecated */
1210
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1211
+ /** @deprecated */
1212
+ char?: FunctionMaybe<string | RemoveAttribute>;
1213
+ /** @deprecated */
1214
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1215
+ /** @deprecated */
1216
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1217
+ /** @deprecated */
1218
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1219
+ }
1220
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1221
+ span?: FunctionMaybe<number | string | RemoveAttribute>;
1222
+
1223
+ /** @deprecated */
1224
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1225
+ /** @deprecated */
1226
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1227
+ /** @deprecated */
1228
+ char?: FunctionMaybe<string | RemoveAttribute>;
1229
+ /** @deprecated */
1230
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1231
+ /** @deprecated */
1232
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1233
+ /** @deprecated */
1234
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1235
+ }
1236
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
1237
+ value?: FunctionMaybe<string | string[] | number | RemoveAttribute>;
1238
+ }
1239
+ interface DetailsHtmlAttributes<T> extends HTMLAttributes<T> {
1240
+ name?: FunctionMaybe<string | RemoveAttribute>;
1241
+ open?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1242
+ }
1243
+ interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
1244
+ open?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1245
+ /**
1246
+ * Do not add the `tabindex` property to the `<dialog>` element as it is not interactive and
1247
+ * does not receive focus. The dialog's contents, including the close button contained in the
1248
+ * dialog, can receive focus and be interactive.
1249
+ *
1250
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#usage_notes
1251
+ */
1252
+ tabindex?: never;
1253
+ "prop:tabIndex"?: never;
1254
+
1255
+ /** @experimental */
1256
+ closedby?: FunctionMaybe<"any" | "closerequest" | "none" | RemoveAttribute>;
1257
+ }
1258
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1259
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1260
+ src?: FunctionMaybe<string | RemoveAttribute>;
1261
+ type?: FunctionMaybe<string | RemoveAttribute>;
1262
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1263
+
1264
+ /** @deprecated */
1265
+ align?: FunctionMaybe<"left" | "right" | "justify" | "center" | RemoveAttribute>;
1266
+ /** @deprecated */
1267
+ name?: FunctionMaybe<string | RemoveAttribute>;
1268
+ }
1269
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
1270
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1271
+ form?: FunctionMaybe<string | RemoveAttribute>;
1272
+ name?: FunctionMaybe<string | RemoveAttribute>;
1273
+ }
1274
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
1275
+ "accept-charset"?: FunctionMaybe<string | RemoveAttribute>;
1276
+ action?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
1277
+ autocomplete?: FunctionMaybe<"on" | "off" | RemoveAttribute>;
1278
+ encoding?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1279
+ enctype?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1280
+ method?: FunctionMaybe<HTMLFormMethod | RemoveAttribute>;
1281
+ name?: FunctionMaybe<string | RemoveAttribute>;
1282
+ novalidate?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1283
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1284
+ target?: FunctionMaybe<
1285
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1286
+ >;
1287
+
1288
+ /** @deprecated */
1289
+ accept?: FunctionMaybe<string | RemoveAttribute>;
1290
+ }
1291
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
1292
+ allow?: FunctionMaybe<string | RemoveAttribute>;
1293
+ allowfullscreen?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1294
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1295
+ loading?: FunctionMaybe<"eager" | "lazy" | RemoveAttribute>;
1296
+ name?: FunctionMaybe<string | RemoveAttribute>;
1297
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1298
+ sandbox?: FunctionMaybe<HTMLIframeSandbox | string | RemoveAttribute>;
1299
+ src?: FunctionMaybe<string | RemoveAttribute>;
1300
+ srcdoc?: FunctionMaybe<string | RemoveAttribute>;
1301
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1302
+
1303
+ /** @experimental */
1304
+ adauctionheaders?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1305
+ /**
1306
+ * @non-standard
1307
+ * @experimental
1308
+ */
1309
+ browsingtopics?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1310
+ /** @experimental */
1311
+ credentialless?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1312
+ /** @experimental */
1313
+ csp?: FunctionMaybe<string | RemoveAttribute>;
1314
+ /** @experimental */
1315
+ privatetoken?: FunctionMaybe<string | RemoveAttribute>;
1316
+ /** @experimental */
1317
+ sharedstoragewritable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1318
+
1319
+ /** @deprecated */
1320
+ align?: FunctionMaybe<string | RemoveAttribute>;
1321
+ /**
1322
+ * @deprecated
1323
+ * @non-standard
1324
+ */
1325
+ allowpaymentrequest?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1326
+ /** @deprecated */
1327
+ allowtransparency?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1328
+ /** @deprecated */
1329
+ frameborder?: FunctionMaybe<number | string | RemoveAttribute>;
1330
+ /** @deprecated */
1331
+ longdesc?: FunctionMaybe<string | RemoveAttribute>;
1332
+ /** @deprecated */
1333
+ marginheight?: FunctionMaybe<number | string | RemoveAttribute>;
1334
+ /** @deprecated */
1335
+ marginwidth?: FunctionMaybe<number | string | RemoveAttribute>;
1336
+ /** @deprecated */
1337
+ scrolling?: FunctionMaybe<"yes" | "no" | "auto" | RemoveAttribute>;
1338
+ /** @deprecated */
1339
+ seamless?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1340
+ }
1341
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
1342
+ alt?: FunctionMaybe<string | RemoveAttribute>;
1343
+ browsingtopics?: FunctionMaybe<string | RemoveAttribute>;
1344
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1345
+ decoding?: FunctionMaybe<"sync" | "async" | "auto" | RemoveAttribute>;
1346
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto" | RemoveAttribute>;
1347
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1348
+ ismap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1349
+ loading?: FunctionMaybe<"eager" | "lazy" | RemoveAttribute>;
1350
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1351
+ sizes?: FunctionMaybe<string | RemoveAttribute>;
1352
+ src?: FunctionMaybe<string | RemoveAttribute>;
1353
+ srcset?: FunctionMaybe<string | RemoveAttribute>;
1354
+ usemap?: FunctionMaybe<string | RemoveAttribute>;
1355
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1356
+
1357
+ /** @experimental */
1358
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1359
+ /** @experimental */
1360
+ sharedstoragewritable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1361
+
1362
+ /** @deprecated */
1363
+ align?: FunctionMaybe<"top" | "middle" | "bottom" | "left" | "right" | RemoveAttribute>;
1364
+ /** @deprecated */
1365
+ border?: FunctionMaybe<string | RemoveAttribute>;
1366
+ /** @deprecated */
1367
+ hspace?: FunctionMaybe<number | string | RemoveAttribute>;
1368
+ /** @deprecated */
1369
+ intrinsicsize?: FunctionMaybe<string | RemoveAttribute>;
1370
+ /** @deprecated */
1371
+ longdesc?: FunctionMaybe<string | RemoveAttribute>;
1372
+ /** @deprecated */
1373
+ lowsrc?: FunctionMaybe<string | RemoveAttribute>;
1374
+ /** @deprecated */
1375
+ name?: FunctionMaybe<string | RemoveAttribute>;
1376
+ /** @deprecated */
1377
+ vspace?: FunctionMaybe<number | string | RemoveAttribute>;
1378
+ }
1379
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1380
+ accept?: FunctionMaybe<string | RemoveAttribute>;
1381
+ alpha?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1382
+ alt?: FunctionMaybe<string | RemoveAttribute>;
1383
+ autocomplete?: FunctionMaybe<HTMLAutocomplete | RemoveAttribute>;
1384
+ capture?: FunctionMaybe<"user" | "environment" | RemoveAttribute>;
1385
+
1386
+ colorspace?: FunctionMaybe<string | RemoveAttribute>;
1387
+ dirname?: FunctionMaybe<string | RemoveAttribute>;
1388
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1389
+ form?: FunctionMaybe<string | RemoveAttribute>;
1390
+ formaction?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
1391
+ formenctype?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1392
+ formmethod?: FunctionMaybe<HTMLFormMethod | RemoveAttribute>;
1393
+ formnovalidate?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1394
+ formtarget?: FunctionMaybe<string | RemoveAttribute>;
1395
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1396
+ list?: FunctionMaybe<string | RemoveAttribute>;
1397
+ max?: FunctionMaybe<number | string | RemoveAttribute>;
1398
+ maxlength?: FunctionMaybe<number | string | RemoveAttribute>;
1399
+ min?: FunctionMaybe<number | string | RemoveAttribute>;
1400
+ minlength?: FunctionMaybe<number | string | RemoveAttribute>;
1401
+ multiple?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1402
+ name?: FunctionMaybe<string | RemoveAttribute>;
1403
+ pattern?: FunctionMaybe<string | RemoveAttribute>;
1404
+ placeholder?: FunctionMaybe<string | RemoveAttribute>;
1405
+ popovertarget?: FunctionMaybe<string | RemoveAttribute>;
1406
+ popovertargetaction?: FunctionMaybe<"hide" | "show" | "toggle" | RemoveAttribute>;
1407
+ readonly?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1408
+ required?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1409
+ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search#results
1410
+ results?: FunctionMaybe<number | RemoveAttribute>;
1411
+ size?: FunctionMaybe<number | string | RemoveAttribute>;
1412
+ src?: FunctionMaybe<string | RemoveAttribute>;
1413
+ step?: FunctionMaybe<number | string | RemoveAttribute>;
1414
+ type?: FunctionMaybe<
1415
+ | "button"
1416
+ | "checkbox"
1417
+ | "color"
1418
+ | "date"
1419
+ | "datetime-local"
1420
+ | "email"
1421
+ | "file"
1422
+ | "hidden"
1423
+ | "image"
1424
+ | "month"
1425
+ | "number"
1426
+ | "password"
1427
+ | "radio"
1428
+ | "range"
1429
+ | "reset"
1430
+ | "search"
1431
+ | "submit"
1432
+ | "tel"
1433
+ | "text"
1434
+ | "time"
1435
+ | "url"
1436
+ | "week"
1437
+ | (string & {})
1438
+ | RemoveAttribute
1439
+ >;
1440
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1441
+ webkitdirectory?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1442
+
1443
+ /** @non-standard */
1444
+ incremental?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1445
+
1446
+ /** @deprecated */
1447
+ align?: FunctionMaybe<string | RemoveAttribute>;
1448
+ /** @deprecated */
1449
+ usemap?: FunctionMaybe<string | RemoveAttribute>;
1450
+
1451
+ // special cases locked to properties
1452
+
1453
+ checked?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1454
+ /** @error use `<input checked={..}/>` instead */
1455
+ "prop:checked"?: never;
1456
+
1457
+ defaultChecked?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1458
+ /** @error use `<input defaultChecked={..}/>` instead */
1459
+ "prop:defaultChecked"?: never;
1460
+
1461
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1462
+ /** @error use `<input value={..}/>` instead */
1463
+ "prop:value"?: never;
1464
+
1465
+ defaultValue?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1466
+ /** @error use `<input defaultValue={..}/>` instead */
1467
+ "prop:defaultValue"?: never;
1468
+ }
1469
+ interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1470
+ cite?: FunctionMaybe<string | RemoveAttribute>;
1471
+ datetime?: FunctionMaybe<string | RemoveAttribute>;
1472
+ }
1473
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
1474
+ /** @deprecated */
1475
+ challenge?: FunctionMaybe<string | RemoveAttribute>;
1476
+ /** @deprecated */
1477
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1478
+ /** @deprecated */
1479
+ form?: FunctionMaybe<string | RemoveAttribute>;
1480
+ /** @deprecated */
1481
+ keyparams?: FunctionMaybe<string | RemoveAttribute>;
1482
+ /** @deprecated */
1483
+ keytype?: FunctionMaybe<string | RemoveAttribute>;
1484
+ /** @deprecated */
1485
+ name?: FunctionMaybe<string | RemoveAttribute>;
1486
+ }
1487
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
1488
+ for?: FunctionMaybe<string | RemoveAttribute>;
1489
+ }
1490
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
1491
+ value?: FunctionMaybe<number | string | RemoveAttribute>;
1492
+
1493
+ /** @deprecated */
1494
+ type?: FunctionMaybe<"1" | "a" | "A" | "i" | "I" | RemoveAttribute>;
1495
+ }
1496
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
1497
+ as?: FunctionMaybe<HTMLLinkAs | RemoveAttribute>;
1498
+ blocking?: FunctionMaybe<"render" | RemoveAttribute>;
1499
+ color?: FunctionMaybe<string | RemoveAttribute>;
1500
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1501
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1502
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto" | RemoveAttribute>;
1503
+ href?: FunctionMaybe<string | RemoveAttribute>;
1504
+ hreflang?: FunctionMaybe<string | RemoveAttribute>;
1505
+ imagesizes?: FunctionMaybe<string | RemoveAttribute>;
1506
+ imagesrcset?: FunctionMaybe<string | RemoveAttribute>;
1507
+ integrity?: FunctionMaybe<string | RemoveAttribute>;
1508
+ media?: FunctionMaybe<string | RemoveAttribute>;
1509
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1510
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1511
+ sizes?: FunctionMaybe<string | RemoveAttribute>;
1512
+ type?: FunctionMaybe<string | RemoveAttribute>;
1513
+
1514
+ /** @deprecated */
1515
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1516
+ /** @deprecated */
1517
+ rev?: FunctionMaybe<string | RemoveAttribute>;
1518
+ /** @deprecated */
1519
+ target?: FunctionMaybe<string | RemoveAttribute>;
1520
+ }
1521
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1522
+ name?: FunctionMaybe<string | RemoveAttribute>;
1523
+ }
1524
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1525
+ autoplay?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1526
+ controls?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1527
+ controlslist?: FunctionMaybe<
1528
+ | "nodownload"
1529
+ | "nofullscreen"
1530
+ | "noplaybackrate"
1531
+ | "noremoteplayback"
1532
+ | (string & {})
1533
+ | RemoveAttribute
1534
+ >;
1535
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1536
+ disableremoteplayback?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1537
+ loop?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1538
+
1539
+ preload?: FunctionMaybe<
1540
+ "none" | "metadata" | "auto" | EnumeratedAcceptsEmpty | RemoveAttribute
1541
+ >;
1542
+ src?: FunctionMaybe<string | RemoveAttribute>;
1543
+
1544
+ onEncrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined;
1545
+ onWaitingForKey?: EventHandlerUnion<T, Event> | undefined;
1546
+
1547
+ /** @deprecated */
1548
+ mediagroup?: FunctionMaybe<string | RemoveAttribute>;
1549
+
1550
+ // special cases locked to properties
1551
+
1552
+ muted?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1553
+ /** @error use `<video/audio muted={..}/>` instead */
1554
+ "prop:muted"?: never;
1555
+
1556
+ defaultMuted?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1557
+ /** @error use `<video/audio defaultMuted={..}/>` instead */
1558
+ "prop:defaultMuted"?: never;
1559
+ }
1560
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1561
+ /** @deprecated */
1562
+ compact?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1563
+ /** @deprecated */
1564
+ label?: FunctionMaybe<string | RemoveAttribute>;
1565
+ /** @deprecated */
1566
+ type?: FunctionMaybe<"context" | "toolbar" | RemoveAttribute>;
1567
+ }
1568
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1569
+ "http-equiv"?: FunctionMaybe<
1570
+ | "content-security-policy"
1571
+ | "content-type"
1572
+ | "default-style"
1573
+ | "x-ua-compatible"
1574
+ | "refresh"
1575
+ | RemoveAttribute
1576
+ >;
1577
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1578
+ content?: FunctionMaybe<string | RemoveAttribute>;
1579
+ media?: FunctionMaybe<string | RemoveAttribute>;
1580
+ name?: FunctionMaybe<string | RemoveAttribute>;
1581
+
1582
+ /** @deprecated */
1583
+ scheme?: FunctionMaybe<string | RemoveAttribute>;
1584
+ }
1585
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1586
+ form?: FunctionMaybe<string | RemoveAttribute>;
1587
+ high?: FunctionMaybe<number | string | RemoveAttribute>;
1588
+ low?: FunctionMaybe<number | string | RemoveAttribute>;
1589
+ max?: FunctionMaybe<number | string | RemoveAttribute>;
1590
+ min?: FunctionMaybe<number | string | RemoveAttribute>;
1591
+ optimum?: FunctionMaybe<number | string | RemoveAttribute>;
1592
+ value?: FunctionMaybe<string | string[] | number | RemoveAttribute>;
1593
+ }
1594
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1595
+ cite?: FunctionMaybe<string | RemoveAttribute>;
1596
+ }
1597
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1598
+ data?: FunctionMaybe<string | RemoveAttribute>;
1599
+ form?: FunctionMaybe<string | RemoveAttribute>;
1600
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1601
+ name?: FunctionMaybe<string | RemoveAttribute>;
1602
+ type?: FunctionMaybe<string | RemoveAttribute>;
1603
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1604
+ wmode?: FunctionMaybe<string | RemoveAttribute>;
1605
+
1606
+ /** @deprecated */
1607
+ align?: FunctionMaybe<string | RemoveAttribute>;
1608
+ /** @deprecated */
1609
+ archive?: FunctionMaybe<string | RemoveAttribute>;
1610
+ /** @deprecated */
1611
+ border?: FunctionMaybe<string | RemoveAttribute>;
1612
+ /** @deprecated */
1613
+ classid?: FunctionMaybe<string | RemoveAttribute>;
1614
+ /** @deprecated */
1615
+ code?: FunctionMaybe<string | RemoveAttribute>;
1616
+ /** @deprecated */
1617
+ codebase?: FunctionMaybe<string | RemoveAttribute>;
1618
+ /** @deprecated */
1619
+ codetype?: FunctionMaybe<string | RemoveAttribute>;
1620
+ /** @deprecated */
1621
+ declare?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1622
+ /** @deprecated */
1623
+ hspace?: FunctionMaybe<number | string | RemoveAttribute>;
1624
+ /** @deprecated */
1625
+ standby?: FunctionMaybe<string | RemoveAttribute>;
1626
+ /** @deprecated */
1627
+ usemap?: FunctionMaybe<string | RemoveAttribute>;
1628
+ /** @deprecated */
1629
+ vspace?: FunctionMaybe<number | string | RemoveAttribute>;
1630
+ /** @deprecated */
1631
+ typemustmatch?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1632
+ }
1633
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1634
+ reversed?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1635
+ start?: FunctionMaybe<number | string | RemoveAttribute>;
1636
+ type?: FunctionMaybe<"1" | "a" | "A" | "i" | "I" | RemoveAttribute>;
1637
+
1638
+ /**
1639
+ * @deprecated
1640
+ * @non-standard
1641
+ */
1642
+ compact?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1643
+ }
1644
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1645
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1646
+ label?: FunctionMaybe<string | RemoveAttribute>;
1647
+ }
1648
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1649
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1650
+ label?: FunctionMaybe<string | RemoveAttribute>;
1651
+
1652
+ // special cases locked to properties
1653
+
1654
+ selected?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1655
+ /** @error use `<option selected={..}/>` instead */
1656
+ "prop:selected"?: never;
1657
+
1658
+ defaultSelected?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1659
+ /** @error use `<option defaultSelected={..}/>` instead */
1660
+ "prop:defaultSelected"?: never;
1661
+
1662
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1663
+ /** @error use `<option value={..}/>` instead */
1664
+ "prop:value"?: never;
1665
+
1666
+ // for sanity
1667
+
1668
+ /** @error This doesn't exists for `<option/>` */
1669
+ "prop:defaultValue"?: never;
1670
+ /** @error This doesn't exists for `<option/>` */
1671
+ defaultValue?: never;
1672
+ }
1673
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1674
+ for?: FunctionMaybe<string | RemoveAttribute>;
1675
+ form?: FunctionMaybe<string | RemoveAttribute>;
1676
+ name?: FunctionMaybe<string | RemoveAttribute>;
1677
+ }
1678
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1679
+ /** @deprecated */
1680
+ name?: FunctionMaybe<string | RemoveAttribute>;
1681
+ /** @deprecated */
1682
+ type?: FunctionMaybe<string | RemoveAttribute>;
1683
+ /** @deprecated */
1684
+ value?: FunctionMaybe<string | number | RemoveAttribute>;
1685
+ /** @deprecated */
1686
+ valuetype?: FunctionMaybe<"data" | "ref" | "object" | RemoveAttribute>;
1687
+ }
1688
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1689
+ max?: FunctionMaybe<number | string | RemoveAttribute>;
1690
+ value?: FunctionMaybe<string | string[] | number | RemoveAttribute>;
1691
+ }
1692
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1693
+ async?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1694
+ blocking?: FunctionMaybe<"render" | RemoveAttribute>;
1695
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1696
+ defer?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1697
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto" | RemoveAttribute>;
1698
+ for?: FunctionMaybe<string | RemoveAttribute>;
1699
+ integrity?: FunctionMaybe<string | RemoveAttribute>;
1700
+ nomodule?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1701
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1702
+ src?: FunctionMaybe<string | RemoveAttribute>;
1703
+ type?: FunctionMaybe<
1704
+ "importmap" | "module" | "speculationrules" | (string & {}) | RemoveAttribute
1705
+ >;
1706
+
1707
+ /** @experimental */
1708
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1709
+
1710
+ /** @deprecated */
1711
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1712
+ /** @deprecated */
1713
+ event?: FunctionMaybe<string | RemoveAttribute>;
1714
+ /** @deprecated */
1715
+ language?: FunctionMaybe<string | RemoveAttribute>;
1716
+ }
1717
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1718
+ autocomplete?: FunctionMaybe<HTMLAutocomplete | RemoveAttribute>;
1719
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1720
+ form?: FunctionMaybe<string | RemoveAttribute>;
1721
+ multiple?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1722
+ name?: FunctionMaybe<string | RemoveAttribute>;
1723
+ required?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1724
+ size?: FunctionMaybe<number | string | RemoveAttribute>;
1725
+
1726
+ // special cases locked to properties
1727
+
1728
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1729
+ /** @error use `<select value={..}/>` instead */
1730
+ "prop:value"?: never;
1731
+
1732
+ // for sanity
1733
+
1734
+ /** @error use `<option defaultSelected={..}/>` instead */
1735
+ defaultSelected?: never;
1736
+ /** @error use `<option defaultSelected={..}/>` instead */
1737
+ "prop:defaultSelected"?: never;
1738
+
1739
+ /** @error use `<option defaultSelected={..}/>` instead */
1740
+ selected?: never;
1741
+ /** @error use `<option defaultSelected={..}/>` instead */
1742
+ "prop:selected"?: never;
1743
+ }
1744
+ interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1745
+ name?: FunctionMaybe<string | RemoveAttribute>;
1746
+ }
1747
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1748
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1749
+ media?: FunctionMaybe<string | RemoveAttribute>;
1750
+ sizes?: FunctionMaybe<string | RemoveAttribute>;
1751
+ src?: FunctionMaybe<string | RemoveAttribute>;
1752
+ srcset?: FunctionMaybe<string | RemoveAttribute>;
1753
+ type?: FunctionMaybe<string | RemoveAttribute>;
1754
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1755
+ }
1756
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1757
+ blocking?: FunctionMaybe<"render" | RemoveAttribute>;
1758
+ media?: FunctionMaybe<string | RemoveAttribute>;
1759
+
1760
+ /** @deprecated */
1761
+ scoped?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1762
+ /** @deprecated */
1763
+ type?: FunctionMaybe<string | RemoveAttribute>;
1764
+ }
1765
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1766
+ colspan?: FunctionMaybe<number | string | RemoveAttribute>;
1767
+ headers?: FunctionMaybe<string | RemoveAttribute>;
1768
+ rowspan?: FunctionMaybe<number | string | RemoveAttribute>;
1769
+
1770
+ /** @deprecated */
1771
+ abbr?: FunctionMaybe<string | RemoveAttribute>;
1772
+ /** @deprecated */
1773
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1774
+ /** @deprecated */
1775
+ axis?: FunctionMaybe<string | RemoveAttribute>;
1776
+ /** @deprecated */
1777
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1778
+ /** @deprecated */
1779
+ char?: FunctionMaybe<string | RemoveAttribute>;
1780
+ /** @deprecated */
1781
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1782
+ /** @deprecated */
1783
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1784
+ /** @deprecated */
1785
+ nowrap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1786
+ /** @deprecated */
1787
+ scope?: FunctionMaybe<"col" | "row" | "rowgroup" | "colgroup" | RemoveAttribute>;
1788
+ /** @deprecated */
1789
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1790
+ /** @deprecated */
1791
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1792
+ }
1793
+ interface TemplateHTMLAttributes<T> extends HTMLAttributes<T> {
1794
+ shadowrootclonable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1795
+ shadowrootdelegatesfocus?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1796
+ shadowrootmode?: FunctionMaybe<"open" | "closed" | RemoveAttribute>;
1797
+ shadowrootcustomelementregistry?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1798
+
1799
+ /** @experimental */
1800
+ shadowrootserializable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1801
+ }
1802
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1803
+ autocomplete?: FunctionMaybe<HTMLAutocomplete | RemoveAttribute>;
1804
+ cols?: FunctionMaybe<number | string | RemoveAttribute>;
1805
+ dirname?: FunctionMaybe<string | RemoveAttribute>;
1806
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1807
+
1808
+ form?: FunctionMaybe<string | RemoveAttribute>;
1809
+ maxlength?: FunctionMaybe<number | string | RemoveAttribute>;
1810
+ minlength?: FunctionMaybe<number | string | RemoveAttribute>;
1811
+ name?: FunctionMaybe<string | RemoveAttribute>;
1812
+ placeholder?: FunctionMaybe<string | RemoveAttribute>;
1813
+ readonly?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1814
+ required?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1815
+ rows?: FunctionMaybe<number | string | RemoveAttribute>;
1816
+ wrap?: FunctionMaybe<"hard" | "soft" | "off" | RemoveAttribute>;
1817
+
1818
+ // special cases locked to properties
1819
+
1820
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1821
+ /** @error use `<textarea value={..}/>` instead */
1822
+ "prop:value"?: never;
1823
+
1824
+ defaultValue?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1825
+ /** @error use `<textarea defaultValue={..}/>` instead */
1826
+ "prop:defaultValue"?: never;
1827
+ }
1828
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
1829
+ abbr?: FunctionMaybe<string | RemoveAttribute>;
1830
+ colspan?: FunctionMaybe<number | string | RemoveAttribute>;
1831
+ headers?: FunctionMaybe<string | RemoveAttribute>;
1832
+ rowspan?: FunctionMaybe<number | string | RemoveAttribute>;
1833
+ scope?: FunctionMaybe<"col" | "row" | "rowgroup" | "colgroup" | RemoveAttribute>;
1834
+
1835
+ /** @deprecated */
1836
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1837
+ /** @deprecated */
1838
+ axis?: FunctionMaybe<string | RemoveAttribute>;
1839
+ /** @deprecated */
1840
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1841
+ /** @deprecated */
1842
+ char?: FunctionMaybe<string | RemoveAttribute>;
1843
+ /** @deprecated */
1844
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1845
+ /** @deprecated */
1846
+ height?: FunctionMaybe<string | RemoveAttribute>;
1847
+ /** @deprecated */
1848
+ nowrap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1849
+ /** @deprecated */
1850
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1851
+ /** @deprecated */
1852
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1853
+ }
1854
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1855
+ datetime?: FunctionMaybe<string | RemoveAttribute>;
1856
+ }
1857
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1858
+ default?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1859
+ kind?: FunctionMaybe<
1860
+ | "alternative"
1861
+ | "descriptions"
1862
+ | "main"
1863
+ | "main-desc"
1864
+ | "translation"
1865
+ | "commentary"
1866
+ | "subtitles"
1867
+ | "captions"
1868
+ | "chapters"
1869
+ | "metadata"
1870
+ | RemoveAttribute
1871
+ >;
1872
+ label?: FunctionMaybe<string | RemoveAttribute>;
1873
+ src?: FunctionMaybe<string | RemoveAttribute>;
1874
+ srclang?: FunctionMaybe<string | RemoveAttribute>;
1875
+
1876
+ /** @deprecated */
1877
+ mediagroup?: FunctionMaybe<string | RemoveAttribute>;
1878
+ }
1879
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
1880
+ disablepictureinpicture?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1881
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1882
+ playsinline?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1883
+ poster?: FunctionMaybe<string | RemoveAttribute>;
1884
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1885
+
1886
+ onEnterPictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
1887
+ onLeavePictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
1888
+ }
1889
+
1890
+ interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
1891
+ allowpopups?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1892
+ disableblinkfeatures?: FunctionMaybe<string | RemoveAttribute>;
1893
+ disablewebsecurity?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1894
+ enableblinkfeatures?: FunctionMaybe<string | RemoveAttribute>;
1895
+ httpreferrer?: FunctionMaybe<string | RemoveAttribute>;
1896
+ nodeintegration?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1897
+ nodeintegrationinsubframes?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1898
+ partition?: FunctionMaybe<string | RemoveAttribute>;
1899
+ plugins?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1900
+ preload?: FunctionMaybe<string | RemoveAttribute>;
1901
+ src?: FunctionMaybe<string | RemoveAttribute>;
1902
+ useragent?: FunctionMaybe<string | RemoveAttribute>;
1903
+ webpreferences?: FunctionMaybe<string | RemoveAttribute>;
1904
+
1905
+ // does this exists?
1906
+ allowfullscreen?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1907
+ autosize?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1908
+
1909
+ /** @deprecated */
1910
+ blinkfeatures?: FunctionMaybe<string | RemoveAttribute>;
1911
+ /** @deprecated */
1912
+ disableguestresize?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1913
+ /** @deprecated */
1914
+ guestinstance?: FunctionMaybe<string | RemoveAttribute>;
1915
+ }
1916
+
1917
+ // SVG
1918
+
1919
+ type SVGPreserveAspectRatio =
1920
+ | "none"
1921
+ | "xMinYMin"
1922
+ | "xMidYMin"
1923
+ | "xMaxYMin"
1924
+ | "xMinYMid"
1925
+ | "xMidYMid"
1926
+ | "xMaxYMid"
1927
+ | "xMinYMax"
1928
+ | "xMidYMax"
1929
+ | "xMaxYMax"
1930
+ | "xMinYMin meet"
1931
+ | "xMidYMin meet"
1932
+ | "xMaxYMin meet"
1933
+ | "xMinYMid meet"
1934
+ | "xMidYMid meet"
1935
+ | "xMaxYMid meet"
1936
+ | "xMinYMax meet"
1937
+ | "xMidYMax meet"
1938
+ | "xMaxYMax meet"
1939
+ | "xMinYMin slice"
1940
+ | "xMidYMin slice"
1941
+ | "xMaxYMin slice"
1942
+ | "xMinYMid slice"
1943
+ | "xMidYMid slice"
1944
+ | "xMaxYMid slice"
1945
+ | "xMinYMax slice"
1946
+ | "xMidYMax slice"
1947
+ | "xMaxYMax slice";
1948
+ type ImagePreserveAspectRatio =
1949
+ | SVGPreserveAspectRatio
1950
+ | "defer none"
1951
+ | "defer xMinYMin"
1952
+ | "defer xMidYMin"
1953
+ | "defer xMaxYMin"
1954
+ | "defer xMinYMid"
1955
+ | "defer xMidYMid"
1956
+ | "defer xMaxYMid"
1957
+ | "defer xMinYMax"
1958
+ | "defer xMidYMax"
1959
+ | "defer xMaxYMax"
1960
+ | "defer xMinYMin meet"
1961
+ | "defer xMidYMin meet"
1962
+ | "defer xMaxYMin meet"
1963
+ | "defer xMinYMid meet"
1964
+ | "defer xMidYMid meet"
1965
+ | "defer xMaxYMid meet"
1966
+ | "defer xMinYMax meet"
1967
+ | "defer xMidYMax meet"
1968
+ | "defer xMaxYMax meet"
1969
+ | "defer xMinYMin slice"
1970
+ | "defer xMidYMin slice"
1971
+ | "defer xMaxYMin slice"
1972
+ | "defer xMinYMid slice"
1973
+ | "defer xMidYMid slice"
1974
+ | "defer xMaxYMid slice"
1975
+ | "defer xMinYMax slice"
1976
+ | "defer xMidYMax slice"
1977
+ | "defer xMaxYMax slice";
1978
+ type SVGUnits = "userSpaceOnUse" | "objectBoundingBox";
1979
+
1980
+ interface StylableSVGAttributes {
1981
+ /**
1982
+ * Class names to apply. Accepts a string, an object whose keys are class
1983
+ * names and values are booleans (`{ active: isActive() }` — truthy keys
1984
+ * are added), or an array merging strings/objects/nested arrays
1985
+ * (`["card", props.class, { active: isActive() }]`).
1986
+ *
1987
+ * For conditional classes, prefer the array+object form. Don't build
1988
+ * class strings manually with concatenation, template literals, or
1989
+ * `.filter(Boolean).join(" ")` — that's the React/`classnames` reflex
1990
+ * and the array+object form replaces it. The array+object form composes
1991
+ * with reactive values directly; manually-built strings re-run the whole
1992
+ * concatenation on every change instead of toggling the affected classes.
1993
+ */
1994
+ class?: FunctionMaybe<ClassValue | RemoveAttribute>;
1995
+ style?: FunctionMaybe<CSSProperties | string | RemoveAttribute>;
1996
+ }
1997
+ interface TransformableSVGAttributes {
1998
+ transform?: FunctionMaybe<string | RemoveAttribute>;
1999
+ }
2000
+ interface ConditionalProcessingSVGAttributes {
2001
+ requiredExtensions?: FunctionMaybe<string | RemoveAttribute>;
2002
+ requiredFeatures?: FunctionMaybe<string | RemoveAttribute>;
2003
+ systemLanguage?: FunctionMaybe<string | RemoveAttribute>;
2004
+ }
2005
+ interface ExternalResourceSVGAttributes {
2006
+ externalResourcesRequired?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
2007
+ }
2008
+ interface AnimationTimingSVGAttributes {
2009
+ begin?: FunctionMaybe<string | RemoveAttribute>;
2010
+ dur?: FunctionMaybe<string | RemoveAttribute>;
2011
+ end?: FunctionMaybe<string | RemoveAttribute>;
2012
+ fill?: FunctionMaybe<"freeze" | "remove" | RemoveAttribute>;
2013
+ max?: FunctionMaybe<string | RemoveAttribute>;
2014
+ min?: FunctionMaybe<string | RemoveAttribute>;
2015
+ repeatCount?: FunctionMaybe<number | "indefinite" | RemoveAttribute>;
2016
+ repeatDur?: FunctionMaybe<string | RemoveAttribute>;
2017
+ restart?: FunctionMaybe<"always" | "whenNotActive" | "never" | RemoveAttribute>;
2018
+ }
2019
+ interface AnimationValueSVGAttributes {
2020
+ by?: FunctionMaybe<number | string | RemoveAttribute>;
2021
+ calcMode?: FunctionMaybe<"discrete" | "linear" | "paced" | "spline" | RemoveAttribute>;
2022
+ from?: FunctionMaybe<number | string | RemoveAttribute>;
2023
+ keySplines?: FunctionMaybe<string | RemoveAttribute>;
2024
+ keyTimes?: FunctionMaybe<string | RemoveAttribute>;
2025
+ to?: FunctionMaybe<number | string | RemoveAttribute>;
2026
+ values?: FunctionMaybe<string | RemoveAttribute>;
2027
+ }
2028
+ interface AnimationAdditionSVGAttributes {
2029
+ accumulate?: FunctionMaybe<"none" | "sum" | RemoveAttribute>;
2030
+ additive?: FunctionMaybe<"replace" | "sum" | RemoveAttribute>;
2031
+ attributeName?: FunctionMaybe<string | RemoveAttribute>;
2032
+ }
2033
+ interface AnimationAttributeTargetSVGAttributes {
2034
+ attributeName?: FunctionMaybe<string | RemoveAttribute>;
2035
+ attributeType?: FunctionMaybe<"CSS" | "XML" | "auto" | RemoveAttribute>;
2036
+ }
2037
+ interface PresentationSVGAttributes {
2038
+ "alignment-baseline"?: FunctionMaybe<
2039
+ | "auto"
2040
+ | "baseline"
2041
+ | "before-edge"
2042
+ | "text-before-edge"
2043
+ | "middle"
2044
+ | "central"
2045
+ | "after-edge"
2046
+ | "text-after-edge"
2047
+ | "ideographic"
2048
+ | "alphabetic"
2049
+ | "hanging"
2050
+ | "mathematical"
2051
+ | "inherit"
2052
+ | RemoveAttribute
2053
+ >;
2054
+ "baseline-shift"?: FunctionMaybe<number | string | RemoveAttribute>;
2055
+ "clip-path"?: FunctionMaybe<string | RemoveAttribute>;
2056
+ "clip-rule"?: FunctionMaybe<"nonzero" | "evenodd" | "inherit" | RemoveAttribute>;
2057
+ "color-interpolation"?: FunctionMaybe<
2058
+ "auto" | "sRGB" | "linearRGB" | "inherit" | RemoveAttribute
2059
+ >;
2060
+ "color-interpolation-filters"?: FunctionMaybe<
2061
+ "auto" | "sRGB" | "linearRGB" | "inherit" | RemoveAttribute
2062
+ >;
2063
+ "color-profile"?: FunctionMaybe<string | RemoveAttribute>;
2064
+ "color-rendering"?: FunctionMaybe<
2065
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" | RemoveAttribute
2066
+ >;
2067
+ "dominant-baseline"?: FunctionMaybe<
2068
+ | "auto"
2069
+ | "text-bottom"
2070
+ | "alphabetic"
2071
+ | "ideographic"
2072
+ | "middle"
2073
+ | "central"
2074
+ | "mathematical"
2075
+ | "hanging"
2076
+ | "text-top"
2077
+ | "inherit"
2078
+ | RemoveAttribute
2079
+ >;
2080
+ "enable-background"?: FunctionMaybe<string | RemoveAttribute>;
2081
+ "fill-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2082
+ "fill-rule"?: FunctionMaybe<"nonzero" | "evenodd" | "inherit" | RemoveAttribute>;
2083
+ "flood-color"?: FunctionMaybe<string | RemoveAttribute>;
2084
+ "flood-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2085
+ "font-family"?: FunctionMaybe<string | RemoveAttribute>;
2086
+ "font-size"?: FunctionMaybe<string | RemoveAttribute>;
2087
+ "font-size-adjust"?: FunctionMaybe<number | string | RemoveAttribute>;
2088
+ "font-stretch"?: FunctionMaybe<string | RemoveAttribute>;
2089
+ "font-style"?: FunctionMaybe<"normal" | "italic" | "oblique" | "inherit" | RemoveAttribute>;
2090
+ "font-variant"?: FunctionMaybe<string | RemoveAttribute>;
2091
+ "font-weight"?: FunctionMaybe<number | string | RemoveAttribute>;
2092
+ "glyph-orientation-horizontal"?: FunctionMaybe<string | RemoveAttribute>;
2093
+ "glyph-orientation-vertical"?: FunctionMaybe<string | RemoveAttribute>;
2094
+ "image-rendering"?: FunctionMaybe<
2095
+ "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit" | RemoveAttribute
2096
+ >;
2097
+ "letter-spacing"?: FunctionMaybe<number | string | RemoveAttribute>;
2098
+ "lighting-color"?: FunctionMaybe<string | RemoveAttribute>;
2099
+ "marker-end"?: FunctionMaybe<string | RemoveAttribute>;
2100
+ "marker-mid"?: FunctionMaybe<string | RemoveAttribute>;
2101
+ "marker-start"?: FunctionMaybe<string | RemoveAttribute>;
2102
+ "pointer-events"?: FunctionMaybe<
2103
+ | "bounding-box"
2104
+ | "visiblePainted"
2105
+ | "visibleFill"
2106
+ | "visibleStroke"
2107
+ | "visible"
2108
+ | "painted"
2109
+ | "color"
2110
+ | "fill"
2111
+ | "stroke"
2112
+ | "all"
2113
+ | "none"
2114
+ | "inherit"
2115
+ | RemoveAttribute
2116
+ >;
2117
+ "shape-rendering"?: FunctionMaybe<
2118
+ "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit" | RemoveAttribute
2119
+ >;
2120
+ "stop-color"?: FunctionMaybe<string | RemoveAttribute>;
2121
+ "stop-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2122
+ "stroke-dasharray"?: FunctionMaybe<string | RemoveAttribute>;
2123
+ "stroke-dashoffset"?: FunctionMaybe<number | string | RemoveAttribute>;
2124
+ "stroke-linecap"?: FunctionMaybe<"butt" | "round" | "square" | "inherit" | RemoveAttribute>;
2125
+ "stroke-linejoin"?: FunctionMaybe<
2126
+ "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit" | RemoveAttribute
2127
+ >;
2128
+ "stroke-miterlimit"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2129
+ "stroke-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2130
+ "stroke-width"?: FunctionMaybe<number | string | RemoveAttribute>;
2131
+ "text-anchor"?: FunctionMaybe<"start" | "middle" | "end" | "inherit" | RemoveAttribute>;
2132
+ "text-decoration"?: FunctionMaybe<
2133
+ "none" | "underline" | "overline" | "line-through" | "blink" | "inherit" | RemoveAttribute
2134
+ >;
2135
+ "text-rendering"?: FunctionMaybe<
2136
+ | "auto"
2137
+ | "optimizeSpeed"
2138
+ | "optimizeLegibility"
2139
+ | "geometricPrecision"
2140
+ | "inherit"
2141
+ | RemoveAttribute
2142
+ >;
2143
+ "unicode-bidi"?: FunctionMaybe<string | RemoveAttribute>;
2144
+ "word-spacing"?: FunctionMaybe<number | string | RemoveAttribute>;
2145
+ "writing-mode"?: FunctionMaybe<
2146
+ "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit" | RemoveAttribute
2147
+ >;
2148
+ clip?: FunctionMaybe<string | RemoveAttribute>;
2149
+ color?: FunctionMaybe<string | RemoveAttribute>;
2150
+ cursor?: FunctionMaybe<string | RemoveAttribute>;
2151
+ direction?: FunctionMaybe<"ltr" | "rtl" | "inherit" | RemoveAttribute>;
2152
+ display?: FunctionMaybe<string | RemoveAttribute>;
2153
+ fill?: FunctionMaybe<string | RemoveAttribute>;
2154
+ filter?: FunctionMaybe<string | RemoveAttribute>;
2155
+ kerning?: FunctionMaybe<string | RemoveAttribute>;
2156
+ mask?: FunctionMaybe<string | RemoveAttribute>;
2157
+ opacity?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2158
+ overflow?: FunctionMaybe<
2159
+ "visible" | "hidden" | "scroll" | "auto" | "inherit" | RemoveAttribute
2160
+ >;
2161
+ pathLength?: FunctionMaybe<string | number | RemoveAttribute>;
2162
+ stroke?: FunctionMaybe<string | RemoveAttribute>;
2163
+ visibility?: FunctionMaybe<"visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute>;
2164
+ }
2165
+ interface AnimationElementSVGAttributes<T>
2166
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2167
+ onBegin?: EventHandlerUnion<T, TimeEvent> | undefined;
2168
+ onEnd?: EventHandlerUnion<T, TimeEvent> | undefined;
2169
+ onRepeat?: EventHandlerUnion<T, TimeEvent> | undefined;
2170
+ }
2171
+
2172
+ interface ContainerElementSVGAttributes<T>
2173
+ extends
2174
+ SVGAttributes<T>,
2175
+ ShapeElementSVGAttributes<T>,
2176
+ Pick<
2177
+ PresentationSVGAttributes,
2178
+ | "clip-path"
2179
+ | "mask"
2180
+ | "cursor"
2181
+ | "opacity"
2182
+ | "filter"
2183
+ | "enable-background"
2184
+ | "color-interpolation"
2185
+ | "color-rendering"
2186
+ > {}
2187
+
2188
+ interface FilterPrimitiveElementSVGAttributes<T>
2189
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2190
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2191
+ result?: FunctionMaybe<string | RemoveAttribute>;
2192
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2193
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2194
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2195
+ }
2196
+ interface SingleInputFilterSVGAttributes {
2197
+ in?: FunctionMaybe<string | RemoveAttribute>;
2198
+ }
2199
+ interface DoubleInputFilterSVGAttributes {
2200
+ in?: FunctionMaybe<string | RemoveAttribute>;
2201
+ in2?: FunctionMaybe<string | RemoveAttribute>;
2202
+ }
2203
+ interface FitToViewBoxSVGAttributes {
2204
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2205
+ viewBox?: FunctionMaybe<string | RemoveAttribute>;
2206
+ }
2207
+ interface GradientElementSVGAttributes<T>
2208
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2209
+ gradientTransform?: FunctionMaybe<string | RemoveAttribute>;
2210
+ gradientUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2211
+ href?: FunctionMaybe<string | RemoveAttribute>;
2212
+ spreadMethod?: FunctionMaybe<"pad" | "reflect" | "repeat" | RemoveAttribute>;
2213
+ }
2214
+ interface GraphicsElementSVGAttributes<T>
2215
+ extends
2216
+ SVGAttributes<T>,
2217
+ Pick<
2218
+ PresentationSVGAttributes,
2219
+ | "clip-rule"
2220
+ | "mask"
2221
+ | "pointer-events"
2222
+ | "cursor"
2223
+ | "opacity"
2224
+ | "filter"
2225
+ | "display"
2226
+ | "visibility"
2227
+ | "color-interpolation"
2228
+ | "color-rendering"
2229
+ > {}
2230
+ interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2231
+ interface NewViewportSVGAttributes<T>
2232
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2233
+ viewBox?: FunctionMaybe<string | RemoveAttribute>;
2234
+ }
2235
+ interface ShapeElementSVGAttributes<T>
2236
+ extends
2237
+ SVGAttributes<T>,
2238
+ Pick<
2239
+ PresentationSVGAttributes,
2240
+ | "color"
2241
+ | "fill"
2242
+ | "fill-rule"
2243
+ | "fill-opacity"
2244
+ | "stroke"
2245
+ | "stroke-width"
2246
+ | "stroke-linecap"
2247
+ | "stroke-linejoin"
2248
+ | "stroke-miterlimit"
2249
+ | "stroke-dasharray"
2250
+ | "stroke-dashoffset"
2251
+ | "stroke-opacity"
2252
+ | "shape-rendering"
2253
+ | "pathLength"
2254
+ > {}
2255
+ interface TextContentElementSVGAttributes<T>
2256
+ extends
2257
+ SVGAttributes<T>,
2258
+ Pick<
2259
+ PresentationSVGAttributes,
2260
+ | "font-family"
2261
+ | "font-style"
2262
+ | "font-variant"
2263
+ | "font-weight"
2264
+ | "font-stretch"
2265
+ | "font-size"
2266
+ | "font-size-adjust"
2267
+ | "kerning"
2268
+ | "letter-spacing"
2269
+ | "word-spacing"
2270
+ | "text-decoration"
2271
+ | "glyph-orientation-horizontal"
2272
+ | "glyph-orientation-vertical"
2273
+ | "direction"
2274
+ | "unicode-bidi"
2275
+ | "text-anchor"
2276
+ | "dominant-baseline"
2277
+ | "color"
2278
+ | "fill"
2279
+ | "fill-rule"
2280
+ | "fill-opacity"
2281
+ | "stroke"
2282
+ | "stroke-width"
2283
+ | "stroke-linecap"
2284
+ | "stroke-linejoin"
2285
+ | "stroke-miterlimit"
2286
+ | "stroke-dasharray"
2287
+ | "stroke-dashoffset"
2288
+ | "stroke-opacity"
2289
+ > {}
2290
+ interface ZoomAndPanSVGAttributes {
2291
+ /**
2292
+ * @deprecated
2293
+ * @non-standard
2294
+ */
2295
+ zoomAndPan?: FunctionMaybe<"disable" | "magnify" | RemoveAttribute>;
2296
+ }
2297
+ interface AnimateSVGAttributes<T>
2298
+ extends
2299
+ AnimationElementSVGAttributes<T>,
2300
+ AnimationAttributeTargetSVGAttributes,
2301
+ AnimationTimingSVGAttributes,
2302
+ AnimationValueSVGAttributes,
2303
+ AnimationAdditionSVGAttributes,
2304
+ Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2305
+ interface AnimateMotionSVGAttributes<T>
2306
+ extends
2307
+ AnimationElementSVGAttributes<T>,
2308
+ AnimationTimingSVGAttributes,
2309
+ AnimationValueSVGAttributes,
2310
+ AnimationAdditionSVGAttributes {
2311
+ keyPoints?: FunctionMaybe<string | RemoveAttribute>;
2312
+ origin?: FunctionMaybe<"default" | RemoveAttribute>;
2313
+ path?: FunctionMaybe<string | RemoveAttribute>;
2314
+ rotate?: FunctionMaybe<number | string | "auto" | "auto-reverse" | RemoveAttribute>;
2315
+ }
2316
+ interface AnimateTransformSVGAttributes<T>
2317
+ extends
2318
+ AnimationElementSVGAttributes<T>,
2319
+ AnimationAttributeTargetSVGAttributes,
2320
+ AnimationTimingSVGAttributes,
2321
+ AnimationValueSVGAttributes,
2322
+ AnimationAdditionSVGAttributes {
2323
+ type?: FunctionMaybe<"translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute>;
2324
+ }
2325
+ interface CircleSVGAttributes<T>
2326
+ extends
2327
+ GraphicsElementSVGAttributes<T>,
2328
+ ShapeElementSVGAttributes<T>,
2329
+ ConditionalProcessingSVGAttributes,
2330
+ StylableSVGAttributes,
2331
+ TransformableSVGAttributes,
2332
+ Pick<PresentationSVGAttributes, "clip-path"> {
2333
+ cx?: FunctionMaybe<number | string | RemoveAttribute>;
2334
+ cy?: FunctionMaybe<number | string | RemoveAttribute>;
2335
+ r?: FunctionMaybe<number | string | RemoveAttribute>;
2336
+ }
2337
+ interface ClipPathSVGAttributes<T>
2338
+ extends
2339
+ SVGAttributes<T>,
2340
+ ConditionalProcessingSVGAttributes,
2341
+ ExternalResourceSVGAttributes,
2342
+ StylableSVGAttributes,
2343
+ TransformableSVGAttributes,
2344
+ Pick<PresentationSVGAttributes, "clip-path"> {
2345
+ clipPathUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2346
+ }
2347
+ interface DefsSVGAttributes<T>
2348
+ extends
2349
+ ContainerElementSVGAttributes<T>,
2350
+ ConditionalProcessingSVGAttributes,
2351
+ ExternalResourceSVGAttributes,
2352
+ StylableSVGAttributes,
2353
+ TransformableSVGAttributes {}
2354
+ interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2355
+ interface EllipseSVGAttributes<T>
2356
+ extends
2357
+ GraphicsElementSVGAttributes<T>,
2358
+ ShapeElementSVGAttributes<T>,
2359
+ ConditionalProcessingSVGAttributes,
2360
+ ExternalResourceSVGAttributes,
2361
+ StylableSVGAttributes,
2362
+ TransformableSVGAttributes,
2363
+ Pick<PresentationSVGAttributes, "clip-path"> {
2364
+ cx?: FunctionMaybe<number | string | RemoveAttribute>;
2365
+ cy?: FunctionMaybe<number | string | RemoveAttribute>;
2366
+ rx?: FunctionMaybe<number | string | RemoveAttribute>;
2367
+ ry?: FunctionMaybe<number | string | RemoveAttribute>;
2368
+ }
2369
+ interface FeBlendSVGAttributes<T>
2370
+ extends
2371
+ FilterPrimitiveElementSVGAttributes<T>,
2372
+ DoubleInputFilterSVGAttributes,
2373
+ StylableSVGAttributes {
2374
+ mode?: FunctionMaybe<"normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute>;
2375
+ }
2376
+ interface FeColorMatrixSVGAttributes<T>
2377
+ extends
2378
+ FilterPrimitiveElementSVGAttributes<T>,
2379
+ SingleInputFilterSVGAttributes,
2380
+ StylableSVGAttributes {
2381
+ type?: FunctionMaybe<
2382
+ "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | RemoveAttribute
2383
+ >;
2384
+ values?: FunctionMaybe<string | RemoveAttribute>;
2385
+ }
2386
+ interface FeComponentTransferSVGAttributes<T>
2387
+ extends
2388
+ FilterPrimitiveElementSVGAttributes<T>,
2389
+ SingleInputFilterSVGAttributes,
2390
+ StylableSVGAttributes {}
2391
+ interface FeCompositeSVGAttributes<T>
2392
+ extends
2393
+ FilterPrimitiveElementSVGAttributes<T>,
2394
+ DoubleInputFilterSVGAttributes,
2395
+ StylableSVGAttributes {
2396
+ k1?: FunctionMaybe<number | string | RemoveAttribute>;
2397
+ k2?: FunctionMaybe<number | string | RemoveAttribute>;
2398
+ k3?: FunctionMaybe<number | string | RemoveAttribute>;
2399
+ k4?: FunctionMaybe<number | string | RemoveAttribute>;
2400
+ operator?: FunctionMaybe<
2401
+ "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | RemoveAttribute
2402
+ >;
2403
+ }
2404
+ interface FeConvolveMatrixSVGAttributes<T>
2405
+ extends
2406
+ FilterPrimitiveElementSVGAttributes<T>,
2407
+ SingleInputFilterSVGAttributes,
2408
+ StylableSVGAttributes {
2409
+ bias?: FunctionMaybe<number | string | RemoveAttribute>;
2410
+ divisor?: FunctionMaybe<number | string | RemoveAttribute>;
2411
+ edgeMode?: FunctionMaybe<"duplicate" | "wrap" | "none" | RemoveAttribute>;
2412
+ kernelMatrix?: FunctionMaybe<string | RemoveAttribute>;
2413
+ kernelUnitLength?: FunctionMaybe<number | string | RemoveAttribute>;
2414
+ order?: FunctionMaybe<number | string | RemoveAttribute>;
2415
+ preserveAlpha?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
2416
+ targetX?: FunctionMaybe<number | string | RemoveAttribute>;
2417
+ targetY?: FunctionMaybe<number | string | RemoveAttribute>;
2418
+ }
2419
+ interface FeDiffuseLightingSVGAttributes<T>
2420
+ extends
2421
+ FilterPrimitiveElementSVGAttributes<T>,
2422
+ SingleInputFilterSVGAttributes,
2423
+ StylableSVGAttributes,
2424
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2425
+ diffuseConstant?: FunctionMaybe<number | string | RemoveAttribute>;
2426
+ kernelUnitLength?: FunctionMaybe<number | string | RemoveAttribute>;
2427
+ surfaceScale?: FunctionMaybe<number | string | RemoveAttribute>;
2428
+ }
2429
+ interface FeDisplacementMapSVGAttributes<T>
2430
+ extends
2431
+ FilterPrimitiveElementSVGAttributes<T>,
2432
+ DoubleInputFilterSVGAttributes,
2433
+ StylableSVGAttributes {
2434
+ scale?: FunctionMaybe<number | string | RemoveAttribute>;
2435
+ xChannelSelector?: FunctionMaybe<"R" | "G" | "B" | "A" | RemoveAttribute>;
2436
+ yChannelSelector?: FunctionMaybe<"R" | "G" | "B" | "A" | RemoveAttribute>;
2437
+ }
2438
+ interface FeDistantLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2439
+ azimuth?: FunctionMaybe<number | string | RemoveAttribute>;
2440
+ elevation?: FunctionMaybe<number | string | RemoveAttribute>;
2441
+ }
2442
+ interface FeDropShadowSVGAttributes<T>
2443
+ extends
2444
+ SVGAttributes<T>,
2445
+ FilterPrimitiveElementSVGAttributes<T>,
2446
+ StylableSVGAttributes,
2447
+ Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
2448
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2449
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2450
+ stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2451
+ }
2452
+ interface FeFloodSVGAttributes<T>
2453
+ extends
2454
+ FilterPrimitiveElementSVGAttributes<T>,
2455
+ StylableSVGAttributes,
2456
+ Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2457
+ interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
2458
+ amplitude?: FunctionMaybe<number | string | RemoveAttribute>;
2459
+ exponent?: FunctionMaybe<number | string | RemoveAttribute>;
2460
+ intercept?: FunctionMaybe<number | string | RemoveAttribute>;
2461
+ offset?: FunctionMaybe<number | string | RemoveAttribute>;
2462
+ slope?: FunctionMaybe<number | string | RemoveAttribute>;
2463
+ tableValues?: FunctionMaybe<string | RemoveAttribute>;
2464
+ type?: FunctionMaybe<"identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute>;
2465
+ }
2466
+ interface FeGaussianBlurSVGAttributes<T>
2467
+ extends
2468
+ FilterPrimitiveElementSVGAttributes<T>,
2469
+ SingleInputFilterSVGAttributes,
2470
+ StylableSVGAttributes {
2471
+ stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2472
+ }
2473
+ interface FeImageSVGAttributes<T>
2474
+ extends
2475
+ FilterPrimitiveElementSVGAttributes<T>,
2476
+ ExternalResourceSVGAttributes,
2477
+ StylableSVGAttributes {
2478
+ href?: FunctionMaybe<string | RemoveAttribute>;
2479
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2480
+ }
2481
+ interface FeMergeSVGAttributes<T>
2482
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2483
+ interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2484
+ interface FeMorphologySVGAttributes<T>
2485
+ extends
2486
+ FilterPrimitiveElementSVGAttributes<T>,
2487
+ SingleInputFilterSVGAttributes,
2488
+ StylableSVGAttributes {
2489
+ operator?: FunctionMaybe<"erode" | "dilate" | RemoveAttribute>;
2490
+ radius?: FunctionMaybe<number | string | RemoveAttribute>;
2491
+ }
2492
+ interface FeOffsetSVGAttributes<T>
2493
+ extends
2494
+ FilterPrimitiveElementSVGAttributes<T>,
2495
+ SingleInputFilterSVGAttributes,
2496
+ StylableSVGAttributes {
2497
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2498
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2499
+ }
2500
+ interface FePointLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2501
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2502
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2503
+ z?: FunctionMaybe<number | string | RemoveAttribute>;
2504
+ }
2505
+ interface FeSpecularLightingSVGAttributes<T>
2506
+ extends
2507
+ FilterPrimitiveElementSVGAttributes<T>,
2508
+ SingleInputFilterSVGAttributes,
2509
+ StylableSVGAttributes,
2510
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2511
+ kernelUnitLength?: FunctionMaybe<number | string | RemoveAttribute>;
2512
+ specularConstant?: FunctionMaybe<string | RemoveAttribute>;
2513
+ specularExponent?: FunctionMaybe<string | RemoveAttribute>;
2514
+ surfaceScale?: FunctionMaybe<string | RemoveAttribute>;
2515
+ }
2516
+ interface FeSpotLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2517
+ limitingConeAngle?: FunctionMaybe<number | string | RemoveAttribute>;
2518
+ pointsAtX?: FunctionMaybe<number | string | RemoveAttribute>;
2519
+ pointsAtY?: FunctionMaybe<number | string | RemoveAttribute>;
2520
+ pointsAtZ?: FunctionMaybe<number | string | RemoveAttribute>;
2521
+ specularExponent?: FunctionMaybe<number | string | RemoveAttribute>;
2522
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2523
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2524
+ z?: FunctionMaybe<number | string | RemoveAttribute>;
2525
+ }
2526
+ interface FeTileSVGAttributes<T>
2527
+ extends
2528
+ FilterPrimitiveElementSVGAttributes<T>,
2529
+ SingleInputFilterSVGAttributes,
2530
+ StylableSVGAttributes {}
2531
+ interface FeTurbulanceSVGAttributes<T>
2532
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2533
+ baseFrequency?: FunctionMaybe<number | string | RemoveAttribute>;
2534
+ numOctaves?: FunctionMaybe<number | string | RemoveAttribute>;
2535
+ seed?: FunctionMaybe<number | string | RemoveAttribute>;
2536
+ stitchTiles?: FunctionMaybe<"stitch" | "noStitch" | RemoveAttribute>;
2537
+ type?: FunctionMaybe<"fractalNoise" | "turbulence" | RemoveAttribute>;
2538
+ }
2539
+ interface FilterSVGAttributes<T>
2540
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2541
+ filterRes?: FunctionMaybe<number | string | RemoveAttribute>;
2542
+ filterUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2543
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2544
+ primitiveUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2545
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2546
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2547
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2548
+ }
2549
+ interface ForeignObjectSVGAttributes<T>
2550
+ extends
2551
+ NewViewportSVGAttributes<T>,
2552
+ ConditionalProcessingSVGAttributes,
2553
+ ExternalResourceSVGAttributes,
2554
+ StylableSVGAttributes,
2555
+ TransformableSVGAttributes,
2556
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {
2557
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2558
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2559
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2560
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2561
+ }
2562
+ interface GSVGAttributes<T>
2563
+ extends
2564
+ ContainerElementSVGAttributes<T>,
2565
+ ConditionalProcessingSVGAttributes,
2566
+ ExternalResourceSVGAttributes,
2567
+ StylableSVGAttributes,
2568
+ TransformableSVGAttributes,
2569
+ Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2570
+ interface ImageSVGAttributes<T>
2571
+ extends
2572
+ NewViewportSVGAttributes<T>,
2573
+ GraphicsElementSVGAttributes<T>,
2574
+ ConditionalProcessingSVGAttributes,
2575
+ StylableSVGAttributes,
2576
+ TransformableSVGAttributes,
2577
+ Pick<PresentationSVGAttributes, "clip-path" | "color-profile" | "image-rendering"> {
2578
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2579
+ href?: FunctionMaybe<string | RemoveAttribute>;
2580
+ preserveAspectRatio?: FunctionMaybe<ImagePreserveAspectRatio | RemoveAttribute>;
2581
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2582
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2583
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2584
+ }
2585
+ interface LineSVGAttributes<T>
2586
+ extends
2587
+ GraphicsElementSVGAttributes<T>,
2588
+ ShapeElementSVGAttributes<T>,
2589
+ ConditionalProcessingSVGAttributes,
2590
+ ExternalResourceSVGAttributes,
2591
+ StylableSVGAttributes,
2592
+ TransformableSVGAttributes,
2593
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2594
+ x1?: FunctionMaybe<number | string | RemoveAttribute>;
2595
+ x2?: FunctionMaybe<number | string | RemoveAttribute>;
2596
+ y1?: FunctionMaybe<number | string | RemoveAttribute>;
2597
+ y2?: FunctionMaybe<number | string | RemoveAttribute>;
2598
+ }
2599
+ interface LinearGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
2600
+ x1?: FunctionMaybe<number | string | RemoveAttribute>;
2601
+ x2?: FunctionMaybe<number | string | RemoveAttribute>;
2602
+ y1?: FunctionMaybe<number | string | RemoveAttribute>;
2603
+ y2?: FunctionMaybe<number | string | RemoveAttribute>;
2604
+ }
2605
+ interface MarkerSVGAttributes<T>
2606
+ extends
2607
+ ContainerElementSVGAttributes<T>,
2608
+ ExternalResourceSVGAttributes,
2609
+ StylableSVGAttributes,
2610
+ FitToViewBoxSVGAttributes,
2611
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
2612
+ markerHeight?: FunctionMaybe<number | string | RemoveAttribute>;
2613
+ markerUnits?: FunctionMaybe<"strokeWidth" | "userSpaceOnUse" | RemoveAttribute>;
2614
+ markerWidth?: FunctionMaybe<number | string | RemoveAttribute>;
2615
+ orient?: FunctionMaybe<string | RemoveAttribute>;
2616
+ refX?: FunctionMaybe<number | string | RemoveAttribute>;
2617
+ refY?: FunctionMaybe<number | string | RemoveAttribute>;
2618
+ }
2619
+ interface MaskSVGAttributes<T>
2620
+ extends
2621
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2622
+ ConditionalProcessingSVGAttributes,
2623
+ ExternalResourceSVGAttributes,
2624
+ StylableSVGAttributes,
2625
+ Pick<PresentationSVGAttributes, "clip-path"> {
2626
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2627
+ maskContentUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2628
+ maskUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2629
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2630
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2631
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2632
+ }
2633
+ interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2634
+ interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2635
+ interface PathSVGAttributes<T>
2636
+ extends
2637
+ GraphicsElementSVGAttributes<T>,
2638
+ ShapeElementSVGAttributes<T>,
2639
+ ConditionalProcessingSVGAttributes,
2640
+ ExternalResourceSVGAttributes,
2641
+ StylableSVGAttributes,
2642
+ TransformableSVGAttributes,
2643
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2644
+ d?: FunctionMaybe<string | RemoveAttribute>;
2645
+ pathLength?: FunctionMaybe<number | string | RemoveAttribute>;
2646
+ }
2647
+ interface PatternSVGAttributes<T>
2648
+ extends
2649
+ ContainerElementSVGAttributes<T>,
2650
+ ConditionalProcessingSVGAttributes,
2651
+ ExternalResourceSVGAttributes,
2652
+ StylableSVGAttributes,
2653
+ FitToViewBoxSVGAttributes,
2654
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
2655
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2656
+ href?: FunctionMaybe<string | RemoveAttribute>;
2657
+ patternContentUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2658
+ patternTransform?: FunctionMaybe<string | RemoveAttribute>;
2659
+ patternUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2660
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2661
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2662
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2663
+ }
2664
+ interface PolygonSVGAttributes<T>
2665
+ extends
2666
+ GraphicsElementSVGAttributes<T>,
2667
+ ShapeElementSVGAttributes<T>,
2668
+ ConditionalProcessingSVGAttributes,
2669
+ ExternalResourceSVGAttributes,
2670
+ StylableSVGAttributes,
2671
+ TransformableSVGAttributes,
2672
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2673
+ points?: FunctionMaybe<string | RemoveAttribute>;
2674
+ }
2675
+ interface PolylineSVGAttributes<T>
2676
+ extends
2677
+ GraphicsElementSVGAttributes<T>,
2678
+ ShapeElementSVGAttributes<T>,
2679
+ ConditionalProcessingSVGAttributes,
2680
+ ExternalResourceSVGAttributes,
2681
+ StylableSVGAttributes,
2682
+ TransformableSVGAttributes,
2683
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2684
+ points?: FunctionMaybe<string | RemoveAttribute>;
2685
+ }
2686
+ interface RadialGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
2687
+ cx?: FunctionMaybe<number | string | RemoveAttribute>;
2688
+ cy?: FunctionMaybe<number | string | RemoveAttribute>;
2689
+ fx?: FunctionMaybe<number | string | RemoveAttribute>;
2690
+ fy?: FunctionMaybe<number | string | RemoveAttribute>;
2691
+ r?: FunctionMaybe<number | string | RemoveAttribute>;
2692
+ }
2693
+ interface RectSVGAttributes<T>
2694
+ extends
2695
+ GraphicsElementSVGAttributes<T>,
2696
+ ShapeElementSVGAttributes<T>,
2697
+ ConditionalProcessingSVGAttributes,
2698
+ ExternalResourceSVGAttributes,
2699
+ StylableSVGAttributes,
2700
+ TransformableSVGAttributes,
2701
+ Pick<PresentationSVGAttributes, "clip-path"> {
2702
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2703
+ rx?: FunctionMaybe<number | string | RemoveAttribute>;
2704
+ ry?: FunctionMaybe<number | string | RemoveAttribute>;
2705
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2706
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2707
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2708
+ }
2709
+ interface SetSVGAttributes<T>
2710
+ extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2711
+ interface StopSVGAttributes<T>
2712
+ extends
2713
+ SVGAttributes<T>,
2714
+ StylableSVGAttributes,
2715
+ Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2716
+ offset?: FunctionMaybe<number | string | RemoveAttribute>;
2717
+ }
2718
+ interface SvgSVGAttributes<T>
2719
+ extends
2720
+ ContainerElementSVGAttributes<T>,
2721
+ NewViewportSVGAttributes<T>,
2722
+ ConditionalProcessingSVGAttributes,
2723
+ ExternalResourceSVGAttributes,
2724
+ StylableSVGAttributes,
2725
+ FitToViewBoxSVGAttributes,
2726
+ ZoomAndPanSVGAttributes,
2727
+ PresentationSVGAttributes,
2728
+ EventHandlersWindow<T> {
2729
+ "xmlns:xlink"?: FunctionMaybe<string | RemoveAttribute>;
2730
+ contentScriptType?: FunctionMaybe<string | RemoveAttribute>;
2731
+ contentStyleType?: FunctionMaybe<string | RemoveAttribute>;
2732
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2733
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2734
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2735
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2736
+
2737
+ /** @deprecated */
2738
+ baseProfile?: FunctionMaybe<string | RemoveAttribute>;
2739
+ /** @deprecated */
2740
+ version?: FunctionMaybe<string | RemoveAttribute>;
2741
+ }
2742
+ interface SwitchSVGAttributes<T>
2743
+ extends
2744
+ ContainerElementSVGAttributes<T>,
2745
+ ConditionalProcessingSVGAttributes,
2746
+ ExternalResourceSVGAttributes,
2747
+ StylableSVGAttributes,
2748
+ TransformableSVGAttributes,
2749
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2750
+ interface SymbolSVGAttributes<T>
2751
+ extends
2752
+ ContainerElementSVGAttributes<T>,
2753
+ NewViewportSVGAttributes<T>,
2754
+ ExternalResourceSVGAttributes,
2755
+ StylableSVGAttributes,
2756
+ FitToViewBoxSVGAttributes,
2757
+ Pick<PresentationSVGAttributes, "clip-path"> {
2758
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2759
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2760
+ refX?: FunctionMaybe<number | string | RemoveAttribute>;
2761
+ refY?: FunctionMaybe<number | string | RemoveAttribute>;
2762
+ viewBox?: FunctionMaybe<string | RemoveAttribute>;
2763
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2764
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2765
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2766
+ }
2767
+ interface TextSVGAttributes<T>
2768
+ extends
2769
+ TextContentElementSVGAttributes<T>,
2770
+ GraphicsElementSVGAttributes<T>,
2771
+ ConditionalProcessingSVGAttributes,
2772
+ ExternalResourceSVGAttributes,
2773
+ StylableSVGAttributes,
2774
+ TransformableSVGAttributes,
2775
+ Pick<PresentationSVGAttributes, "clip-path" | "writing-mode" | "text-rendering"> {
2776
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2777
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2778
+ lengthAdjust?: FunctionMaybe<"spacing" | "spacingAndGlyphs" | RemoveAttribute>;
2779
+ rotate?: FunctionMaybe<number | string | RemoveAttribute>;
2780
+ textLength?: FunctionMaybe<number | string | RemoveAttribute>;
2781
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2782
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2783
+ }
2784
+ interface TextPathSVGAttributes<T>
2785
+ extends
2786
+ TextContentElementSVGAttributes<T>,
2787
+ ConditionalProcessingSVGAttributes,
2788
+ ExternalResourceSVGAttributes,
2789
+ StylableSVGAttributes,
2790
+ Pick<
2791
+ PresentationSVGAttributes,
2792
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2793
+ > {
2794
+ href?: FunctionMaybe<string | RemoveAttribute>;
2795
+ method?: FunctionMaybe<"align" | "stretch" | RemoveAttribute>;
2796
+ spacing?: FunctionMaybe<"auto" | "exact" | RemoveAttribute>;
2797
+ startOffset?: FunctionMaybe<number | string | RemoveAttribute>;
2798
+ }
2799
+ interface TSpanSVGAttributes<T>
2800
+ extends
2801
+ TextContentElementSVGAttributes<T>,
2802
+ ConditionalProcessingSVGAttributes,
2803
+ ExternalResourceSVGAttributes,
2804
+ StylableSVGAttributes,
2805
+ Pick<
2806
+ PresentationSVGAttributes,
2807
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2808
+ > {
2809
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2810
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2811
+ lengthAdjust?: FunctionMaybe<"spacing" | "spacingAndGlyphs" | RemoveAttribute>;
2812
+ rotate?: FunctionMaybe<number | string | RemoveAttribute>;
2813
+ textLength?: FunctionMaybe<number | string | RemoveAttribute>;
2814
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2815
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2816
+ }
2817
+ /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2818
+ interface UseSVGAttributes<T>
2819
+ extends
2820
+ SVGAttributes<T>,
2821
+ StylableSVGAttributes,
2822
+ ConditionalProcessingSVGAttributes,
2823
+ GraphicsElementSVGAttributes<T>,
2824
+ PresentationSVGAttributes,
2825
+ ExternalResourceSVGAttributes,
2826
+ TransformableSVGAttributes {
2827
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2828
+ href?: FunctionMaybe<string | RemoveAttribute>;
2829
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2830
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2831
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2832
+ }
2833
+ interface ViewSVGAttributes<T>
2834
+ extends
2835
+ SVGAttributes<T>,
2836
+ ExternalResourceSVGAttributes,
2837
+ FitToViewBoxSVGAttributes,
2838
+ ZoomAndPanSVGAttributes {
2839
+ viewTarget?: FunctionMaybe<string | RemoveAttribute>;
2840
+ }
2841
+
2842
+ // MATH
2843
+
2844
+ interface MathMLAnnotationElementAttributes<T> extends MathMLAttributes<T> {
2845
+ encoding?: FunctionMaybe<string | RemoveAttribute>;
2846
+
2847
+ /** @deprecated */
2848
+ src?: FunctionMaybe<string | RemoveAttribute>;
2849
+ }
2850
+ interface MathMLAnnotationXmlElementAttributes<T> extends MathMLAttributes<T> {
2851
+ encoding?: FunctionMaybe<string | RemoveAttribute>;
2852
+
2853
+ /** @deprecated */
2854
+ src?: FunctionMaybe<string | RemoveAttribute>;
2855
+ }
2856
+ interface MathMLMactionElementAttributes<T> extends MathMLAttributes<T> {
2857
+ /**
2858
+ * @deprecated
2859
+ * @non-standard
2860
+ */
2861
+ actiontype?: FunctionMaybe<"statusline" | "toggle" | RemoveAttribute>;
2862
+ /**
2863
+ * @deprecated
2864
+ * @non-standard
2865
+ */
2866
+ selection?: FunctionMaybe<string | RemoveAttribute>;
2867
+ }
2868
+ interface MathMLMathElementAttributes<T> extends MathMLAttributes<T> {
2869
+ display?: FunctionMaybe<"block" | "inline" | RemoveAttribute>;
2870
+ }
2871
+ interface MathMLMerrorElementAttributes<T> extends MathMLAttributes<T> {}
2872
+ interface MathMLMfracElementAttributes<T> extends MathMLAttributes<T> {
2873
+ linethickness?: FunctionMaybe<string | RemoveAttribute>;
2874
+
2875
+ /**
2876
+ * @deprecated
2877
+ * @non-standard
2878
+ */
2879
+ denomalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
2880
+ /**
2881
+ * @deprecated
2882
+ * @non-standard
2883
+ */
2884
+ numalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
2885
+ }
2886
+ interface MathMLMiElementAttributes<T> extends MathMLAttributes<T> {
2887
+ mathvariant?: FunctionMaybe<"normal" | RemoveAttribute>;
2888
+ }
2889
+
2890
+ interface MathMLMmultiscriptsElementAttributes<T> extends MathMLAttributes<T> {
2891
+ /**
2892
+ * @deprecated
2893
+ * @non-standard
2894
+ */
2895
+ subscriptshift?: FunctionMaybe<string | RemoveAttribute>;
2896
+ /**
2897
+ * @deprecated
2898
+ * @non-standard
2899
+ */
2900
+ superscriptshift?: FunctionMaybe<string | RemoveAttribute>;
2901
+ }
2902
+ interface MathMLMnElementAttributes<T> extends MathMLAttributes<T> {}
2903
+ interface MathMLMoElementAttributes<T> extends MathMLAttributes<T> {
2904
+ fence?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2905
+ form?: FunctionMaybe<"prefix" | "infix" | "postfix" | RemoveAttribute>;
2906
+ largeop?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2907
+ lspace?: FunctionMaybe<string | RemoveAttribute>;
2908
+ maxsize?: FunctionMaybe<string | RemoveAttribute>;
2909
+ minsize?: FunctionMaybe<string | RemoveAttribute>;
2910
+ movablelimits?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2911
+ rspace?: FunctionMaybe<string | RemoveAttribute>;
2912
+ separator?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2913
+ stretchy?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2914
+ symmetric?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2915
+
2916
+ /** @non-standard */
2917
+ accent?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2918
+ }
2919
+ interface MathMLMoverElementAttributes<T> extends MathMLAttributes<T> {
2920
+ accent?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2921
+ }
2922
+ interface MathMLMpaddedElementAttributes<T> extends MathMLAttributes<T> {
2923
+ depth?: FunctionMaybe<string | RemoveAttribute>;
2924
+ height?: FunctionMaybe<string | RemoveAttribute>;
2925
+ lspace?: FunctionMaybe<string | RemoveAttribute>;
2926
+ voffset?: FunctionMaybe<string | RemoveAttribute>;
2927
+ width?: FunctionMaybe<string | RemoveAttribute>;
2928
+ }
2929
+ interface MathMLMphantomElementAttributes<T> extends MathMLAttributes<T> {}
2930
+ interface MathMLMprescriptsElementAttributes<T> extends MathMLAttributes<T> {}
2931
+ interface MathMLMrootElementAttributes<T> extends MathMLAttributes<T> {}
2932
+ interface MathMLMrowElementAttributes<T> extends MathMLAttributes<T> {}
2933
+ interface MathMLMsElementAttributes<T> extends MathMLAttributes<T> {
2934
+ /** @deprecated */
2935
+ lquote?: FunctionMaybe<string | RemoveAttribute>;
2936
+ /** @deprecated */
2937
+ rquote?: FunctionMaybe<string | RemoveAttribute>;
2938
+ }
2939
+ interface MathMLMspaceElementAttributes<T> extends MathMLAttributes<T> {
2940
+ depth?: FunctionMaybe<string | RemoveAttribute>;
2941
+ height?: FunctionMaybe<string | RemoveAttribute>;
2942
+ width?: FunctionMaybe<string | RemoveAttribute>;
2943
+ }
2944
+ interface MathMLMsqrtElementAttributes<T> extends MathMLAttributes<T> {}
2945
+ interface MathMLMstyleElementAttributes<T> extends MathMLAttributes<T> {
2946
+ /**
2947
+ * @deprecated
2948
+ * @non-standard
2949
+ */
2950
+ background?: FunctionMaybe<string | RemoveAttribute>;
2951
+ /**
2952
+ * @deprecated
2953
+ * @non-standard
2954
+ */
2955
+ color?: FunctionMaybe<string | RemoveAttribute>;
2956
+ /**
2957
+ * @deprecated
2958
+ * @non-standard
2959
+ */
2960
+ fontsize?: FunctionMaybe<string | RemoveAttribute>;
2961
+ /**
2962
+ * @deprecated
2963
+ * @non-standard
2964
+ */
2965
+ fontstyle?: FunctionMaybe<string | RemoveAttribute>;
2966
+ /**
2967
+ * @deprecated
2968
+ * @non-standard
2969
+ */
2970
+ fontweight?: FunctionMaybe<string | RemoveAttribute>;
2971
+
2972
+ /** @deprecated */
2973
+ scriptminsize?: FunctionMaybe<string | RemoveAttribute>;
2974
+ /** @deprecated */
2975
+ scriptsizemultiplier?: FunctionMaybe<string | RemoveAttribute>;
2976
+ }
2977
+ interface MathMLMsubElementAttributes<T> extends MathMLAttributes<T> {
2978
+ /**
2979
+ * @deprecated
2980
+ * @non-standard
2981
+ */
2982
+ subscriptshift?: FunctionMaybe<string | RemoveAttribute>;
2983
+ }
2984
+ interface MathMLMsubsupElementAttributes<T> extends MathMLAttributes<T> {
2985
+ /**
2986
+ * @deprecated
2987
+ * @non-standard
2988
+ */
2989
+ subscriptshift?: FunctionMaybe<string | RemoveAttribute>;
2990
+ /**
2991
+ * @deprecated
2992
+ * @non-standard
2993
+ */
2994
+ superscriptshift?: FunctionMaybe<string | RemoveAttribute>;
2995
+ }
2996
+ interface MathMLMsupElementAttributes<T> extends MathMLAttributes<T> {
2997
+ /**
2998
+ * @deprecated
2999
+ * @non-standard
3000
+ */
3001
+ superscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3002
+ }
3003
+ interface MathMLMtableElementAttributes<T> extends MathMLAttributes<T> {
3004
+ /** @non-standard */
3005
+ align?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3006
+ /** @non-standard */
3007
+ columnalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3008
+ /** @non-standard */
3009
+ columnlines?: FunctionMaybe<"dashed" | "none" | "solid" | RemoveAttribute>;
3010
+ /** @non-standard */
3011
+ columnspacing?: FunctionMaybe<string | RemoveAttribute>;
3012
+ /** @non-standard */
3013
+ frame?: FunctionMaybe<"dashed" | "none" | "solid" | RemoveAttribute>;
3014
+ /** @non-standard */
3015
+ framespacing?: FunctionMaybe<string | RemoveAttribute>;
3016
+ /** @non-standard */
3017
+ rowalign?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3018
+ /** @non-standard */
3019
+ rowlines?: FunctionMaybe<"dashed" | "none" | "solid" | RemoveAttribute>;
3020
+ /** @non-standard */
3021
+ rowspacing?: FunctionMaybe<string | RemoveAttribute>;
3022
+ /** @non-standard */
3023
+ width?: FunctionMaybe<string | RemoveAttribute>;
3024
+ }
3025
+ interface MathMLMtdElementAttributes<T> extends MathMLAttributes<T> {
3026
+ columnspan?: FunctionMaybe<number | string | RemoveAttribute>;
3027
+ rowspan?: FunctionMaybe<number | string | RemoveAttribute>;
3028
+ /** @non-standard */
3029
+ columnalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3030
+ /** @non-standard */
3031
+ rowalign?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3032
+ }
3033
+ interface MathMLMtextElementAttributes<T> extends MathMLAttributes<T> {}
3034
+ interface MathMLMtrElementAttributes<T> extends MathMLAttributes<T> {
3035
+ /** @non-standard */
3036
+ columnalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3037
+ /** @non-standard */
3038
+ rowalign?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3039
+ }
3040
+ interface MathMLMunderElementAttributes<T> extends MathMLAttributes<T> {
3041
+ accentunder?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3042
+ }
3043
+ interface MathMLMunderoverElementAttributes<T> extends MathMLAttributes<T> {
3044
+ accent?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3045
+ accentunder?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3046
+ }
3047
+ interface MathMLSemanticsElementAttributes<T> extends MathMLAttributes<T> {}
3048
+
3049
+ interface MathMLMencloseElementAttributes<T> extends MathMLAttributes<T> {
3050
+ /** @non-standard */
3051
+ notation?: FunctionMaybe<string | RemoveAttribute>;
3052
+ }
3053
+ interface MathMLMfencedElementAttributes<T> extends MathMLAttributes<T> {
3054
+ close?: FunctionMaybe<string | RemoveAttribute>;
3055
+ open?: FunctionMaybe<string | RemoveAttribute>;
3056
+ separators?: FunctionMaybe<string | RemoveAttribute>;
3057
+ }
3058
+
3059
+ // TAGS
3060
+
3061
+ /** @type {HTMLElementTagNameMap} */
3062
+ interface HTMLElementTags {
3063
+ /**
3064
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
3065
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
3066
+ */
3067
+ a: AnchorHTMLAttributes<HTMLAnchorElement> & Properties<HTMLAnchorElement>;
3068
+ /**
3069
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
3070
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3071
+ */
3072
+ abbr: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3073
+ /**
3074
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
3075
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3076
+ */
3077
+ address: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3078
+ /**
3079
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
3080
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement
3081
+ */
3082
+ area: AreaHTMLAttributes<HTMLAreaElement> & Properties<HTMLAreaElement>;
3083
+ /**
3084
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
3085
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3086
+ */
3087
+ article: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3088
+ /**
3089
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
3090
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3091
+ */
3092
+ aside: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3093
+ /**
3094
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
3095
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement
3096
+ */
3097
+ audio: AudioHTMLAttributes<HTMLAudioElement> & Properties<HTMLAudioElement>;
3098
+ /**
3099
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
3100
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3101
+ */
3102
+ b: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3103
+ /**
3104
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
3105
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement
3106
+ */
3107
+ base: BaseHTMLAttributes<HTMLBaseElement> & Properties<HTMLBaseElement>;
3108
+ /**
3109
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
3110
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3111
+ */
3112
+ bdi: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3113
+ /**
3114
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
3115
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3116
+ */
3117
+ bdo: BdoHTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3118
+ /**
3119
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
3120
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3121
+ */
3122
+ blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement> & Properties<HTMLQuoteElement>;
3123
+ /**
3124
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
3125
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement
3126
+ */
3127
+ body: BodyHTMLAttributes<HTMLBodyElement> & Properties<HTMLBodyElement>;
3128
+ /**
3129
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
3130
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement
3131
+ */
3132
+ br: HTMLAttributes<HTMLBRElement> & Properties<HTMLBRElement>;
3133
+ /**
3134
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
3135
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement
3136
+ */
3137
+ button: ButtonHTMLAttributes<HTMLButtonElement> & Properties<HTMLButtonElement>;
3138
+ /**
3139
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
3140
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement
3141
+ */
3142
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement> & Properties<HTMLCanvasElement>;
3143
+ /**
3144
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
3145
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement
3146
+ */
3147
+ caption: CaptionHTMLAttributes<HTMLTableCaptionElement> & Properties<HTMLTableCaptionElement>;
3148
+ /**
3149
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
3150
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3151
+ */
3152
+ cite: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3153
+ /**
3154
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
3155
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3156
+ */
3157
+ code: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3158
+ /**
3159
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
3160
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3161
+ */
3162
+ col: ColHTMLAttributes<HTMLTableColElement> & Properties<HTMLTableColElement>;
3163
+ /**
3164
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
3165
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3166
+ */
3167
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement> & Properties<HTMLTableColElement>;
3168
+ /**
3169
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
3170
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement
3171
+ */
3172
+ data: DataHTMLAttributes<HTMLDataElement> & Properties<HTMLDataElement>;
3173
+ /**
3174
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
3175
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement
3176
+ */
3177
+ datalist: HTMLAttributes<HTMLDataListElement> & Properties<HTMLDataListElement>;
3178
+ /**
3179
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
3180
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3181
+ */
3182
+ dd: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3183
+ /**
3184
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
3185
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3186
+ */
3187
+ del: ModHTMLAttributes<HTMLModElement> & Properties<HTMLModElement>;
3188
+ /**
3189
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
3190
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement
3191
+ */
3192
+ details: DetailsHtmlAttributes<HTMLDetailsElement> & Properties<HTMLDetailsElement>;
3193
+ /**
3194
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
3195
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3196
+ */
3197
+ dfn: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3198
+ /**
3199
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
3200
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
3201
+ */
3202
+ dialog: DialogHtmlAttributes<HTMLDialogElement> & Properties<HTMLDialogElement>;
3203
+ /**
3204
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
3205
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
3206
+ */
3207
+ div: HTMLAttributes<HTMLDivElement> & Properties<HTMLDivElement>;
3208
+ /**
3209
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
3210
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement
3211
+ */
3212
+ dl: HTMLAttributes<HTMLDListElement> & Properties<HTMLDListElement>;
3213
+ /**
3214
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
3215
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3216
+ */
3217
+ dt: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3218
+ /**
3219
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
3220
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3221
+ */
3222
+ em: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3223
+ /**
3224
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
3225
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement
3226
+ */
3227
+ embed: EmbedHTMLAttributes<HTMLEmbedElement> & Properties<HTMLEmbedElement>;
3228
+ /**
3229
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
3230
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement
3231
+ */
3232
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement> & Properties<HTMLFieldSetElement>;
3233
+ /**
3234
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
3235
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3236
+ */
3237
+ figcaption: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3238
+ /**
3239
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
3240
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3241
+ */
3242
+ figure: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3243
+ /**
3244
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
3245
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3246
+ */
3247
+ footer: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3248
+ /**
3249
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
3250
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
3251
+ */
3252
+ form: FormHTMLAttributes<HTMLFormElement> & Properties<HTMLFormElement>;
3253
+ /**
3254
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1
3255
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3256
+ */
3257
+ h1: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3258
+ /**
3259
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2
3260
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3261
+ */
3262
+ h2: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3263
+ /**
3264
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3
3265
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3266
+ */
3267
+ h3: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3268
+ /**
3269
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4
3270
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3271
+ */
3272
+ h4: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3273
+ /**
3274
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5
3275
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3276
+ */
3277
+ h5: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3278
+ /**
3279
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6
3280
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3281
+ */
3282
+ h6: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3283
+ /**
3284
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
3285
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement
3286
+ */
3287
+ head: HTMLAttributes<HTMLHeadElement> & Properties<HTMLHeadElement>;
3288
+ /**
3289
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
3290
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3291
+ */
3292
+ header: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3293
+ /**
3294
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
3295
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3296
+ */
3297
+ hgroup: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3298
+ /**
3299
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
3300
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement
3301
+ */
3302
+ hr: HTMLAttributes<HTMLHRElement> & Properties<HTMLHRElement>;
3303
+ /**
3304
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
3305
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement
3306
+ */
3307
+ html: HTMLAttributes<HTMLHtmlElement> & Properties<HTMLHtmlElement>;
3308
+ /**
3309
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
3310
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3311
+ */
3312
+ i: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3313
+ /**
3314
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
3315
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement
3316
+ */
3317
+ iframe: IframeHTMLAttributes<HTMLIFrameElement> & Properties<HTMLIFrameElement>;
3318
+ /**
3319
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
3320
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
3321
+ */
3322
+ img: ImgHTMLAttributes<HTMLImageElement> & Properties<HTMLImageElement>;
3323
+ /**
3324
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
3325
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
3326
+ */
3327
+ input: InputHTMLAttributes<HTMLInputElement> & Properties<HTMLInputElement>;
3328
+ /**
3329
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
3330
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3331
+ */
3332
+ ins: ModHTMLAttributes<HTMLModElement> & Properties<HTMLModElement>;
3333
+ /**
3334
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
3335
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3336
+ */
3337
+ kbd: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3338
+ /**
3339
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
3340
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement
3341
+ */
3342
+ label: LabelHTMLAttributes<HTMLLabelElement> & Properties<HTMLLabelElement>;
3343
+ /**
3344
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
3345
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement
3346
+ */
3347
+ legend: HTMLAttributes<HTMLLegendElement> & Properties<HTMLLegendElement>;
3348
+ /**
3349
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
3350
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement
3351
+ */
3352
+ li: LiHTMLAttributes<HTMLLIElement> & Properties<HTMLLIElement>;
3353
+ /**
3354
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
3355
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement
3356
+ */
3357
+ link: LinkHTMLAttributes<HTMLLinkElement> & Properties<HTMLLinkElement>;
3358
+ /**
3359
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
3360
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3361
+ */
3362
+ main: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3363
+ /**
3364
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
3365
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement
3366
+ */
3367
+ map: MapHTMLAttributes<HTMLMapElement> & Properties<HTMLMapElement>;
3368
+ /**
3369
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
3370
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3371
+ */
3372
+ mark: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3373
+ /**
3374
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
3375
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement
3376
+ */
3377
+ menu: MenuHTMLAttributes<HTMLMenuElement> & Properties<HTMLMenuElement>;
3378
+ /**
3379
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
3380
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement
3381
+ */
3382
+ meta: MetaHTMLAttributes<HTMLMetaElement> & Properties<HTMLMetaElement>;
3383
+ /**
3384
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
3385
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement
3386
+ */
3387
+ meter: MeterHTMLAttributes<HTMLMeterElement> & Properties<HTMLMeterElement>;
3388
+ /**
3389
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
3390
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3391
+ */
3392
+ nav: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3393
+ /**
3394
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
3395
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3396
+ */
3397
+ noscript: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3398
+ /**
3399
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
3400
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement
3401
+ */
3402
+ object: ObjectHTMLAttributes<HTMLObjectElement> & Properties<HTMLObjectElement>;
3403
+ /**
3404
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
3405
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement
3406
+ */
3407
+ ol: OlHTMLAttributes<HTMLOListElement> & Properties<HTMLOListElement>;
3408
+ /**
3409
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
3410
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement
3411
+ */
3412
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement> & Properties<HTMLOptGroupElement>;
3413
+ /**
3414
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
3415
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement
3416
+ */
3417
+ option: OptionHTMLAttributes<HTMLOptionElement> & Properties<HTMLOptionElement>;
3418
+ /**
3419
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
3420
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement
3421
+ */
3422
+ output: OutputHTMLAttributes<HTMLOutputElement> & Properties<HTMLOutputElement>;
3423
+ /**
3424
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
3425
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement
3426
+ */
3427
+ p: HTMLAttributes<HTMLParagraphElement> & Properties<HTMLParagraphElement>;
3428
+ /**
3429
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
3430
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement
3431
+ */
3432
+ picture: HTMLAttributes<HTMLPictureElement> & Properties<HTMLPictureElement>;
3433
+ /**
3434
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
3435
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement
3436
+ */
3437
+ pre: HTMLAttributes<HTMLPreElement> & Properties<HTMLPreElement>;
3438
+ /**
3439
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
3440
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement
3441
+ */
3442
+ progress: ProgressHTMLAttributes<HTMLProgressElement> & Properties<HTMLProgressElement>;
3443
+ /**
3444
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
3445
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3446
+ */
3447
+ q: QuoteHTMLAttributes<HTMLQuoteElement> & Properties<HTMLQuoteElement>;
3448
+ /**
3449
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
3450
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3451
+ */
3452
+ rp: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3453
+ /**
3454
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
3455
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3456
+ */
3457
+ rt: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3458
+ /**
3459
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
3460
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3461
+ */
3462
+ ruby: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3463
+ /**
3464
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
3465
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3466
+ */
3467
+ s: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3468
+ /**
3469
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
3470
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3471
+ */
3472
+ samp: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3473
+ /**
3474
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
3475
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement
3476
+ */
3477
+ script: ScriptHTMLAttributes<HTMLScriptElement> & Properties<HTMLScriptElement>;
3478
+ /**
3479
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
3480
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3481
+ */
3482
+ search: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3483
+ /**
3484
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
3485
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3486
+ */
3487
+ section: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3488
+ /**
3489
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
3490
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
3491
+ */
3492
+ select: SelectHTMLAttributes<HTMLSelectElement> & Properties<HTMLSelectElement>;
3493
+ /**
3494
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
3495
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement
3496
+ */
3497
+ slot: HTMLSlotElementAttributes<HTMLSlotElement> & Properties<HTMLSlotElement>;
3498
+ /**
3499
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
3500
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3501
+ */
3502
+ small: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3503
+ /**
3504
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
3505
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement
3506
+ */
3507
+ source: SourceHTMLAttributes<HTMLSourceElement> & Properties<HTMLSourceElement>;
3508
+ /**
3509
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
3510
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement
3511
+ */
3512
+ span: HTMLAttributes<HTMLSpanElement> & Properties<HTMLSpanElement>;
3513
+ /**
3514
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
3515
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3516
+ */
3517
+ strong: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3518
+ /**
3519
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
3520
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement
3521
+ */
3522
+ style: StyleHTMLAttributes<HTMLStyleElement> & Properties<HTMLStyleElement>;
3523
+ /**
3524
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
3525
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3526
+ */
3527
+ sub: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3528
+ /**
3529
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
3530
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3531
+ */
3532
+ summary: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3533
+ /**
3534
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
3535
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3536
+ */
3537
+ sup: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3538
+ /**
3539
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
3540
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement
3541
+ */
3542
+ table: HTMLAttributes<HTMLTableElement> & Properties<HTMLTableElement>;
3543
+ /**
3544
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
3545
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3546
+ */
3547
+ tbody: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3548
+ /**
3549
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
3550
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3551
+ */
3552
+ td: TdHTMLAttributes<HTMLTableCellElement> & Properties<HTMLTableCellElement>;
3553
+ /**
3554
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
3555
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement
3556
+ */
3557
+ template: TemplateHTMLAttributes<HTMLTemplateElement> & Properties<HTMLTemplateElement>;
3558
+ /**
3559
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
3560
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement
3561
+ */
3562
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement> & Properties<HTMLTextAreaElement>;
3563
+ /**
3564
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
3565
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3566
+ */
3567
+ tfoot: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3568
+ /**
3569
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
3570
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3571
+ */
3572
+ th: ThHTMLAttributes<HTMLTableCellElement> & Properties<HTMLTableCellElement>;
3573
+ /**
3574
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
3575
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3576
+ */
3577
+ thead: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3578
+ /**
3579
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
3580
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement
3581
+ */
3582
+ time: TimeHTMLAttributes<HTMLTimeElement> & Properties<HTMLTimeElement>;
3583
+ /**
3584
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
3585
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement
3586
+ */
3587
+ title: HTMLAttributes<HTMLTitleElement> & Properties<HTMLTitleElement>;
3588
+ /**
3589
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
3590
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement
3591
+ */
3592
+ tr: HTMLAttributes<HTMLTableRowElement> & Properties<HTMLTableRowElement>;
3593
+ /**
3594
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
3595
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement
3596
+ */
3597
+ track: TrackHTMLAttributes<HTMLTrackElement> & Properties<HTMLTrackElement>;
3598
+ /**
3599
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
3600
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3601
+ */
3602
+ u: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3603
+ /**
3604
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
3605
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement
3606
+ */
3607
+ ul: HTMLAttributes<HTMLUListElement> & Properties<HTMLUListElement>;
3608
+ /**
3609
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
3610
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3611
+ */
3612
+ var: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3613
+ /**
3614
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
3615
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement
3616
+ */
3617
+ video: VideoHTMLAttributes<HTMLVideoElement> & Properties<HTMLVideoElement>;
3618
+ /**
3619
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
3620
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3621
+ */
3622
+ wbr: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3623
+ /** @url https://www.electronjs.org/docs/latest/api/webview-tag */
3624
+ webview: WebViewHTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3625
+ }
3626
+ /** @type {HTMLElementDeprecatedTagNameMap} */
3627
+ interface HTMLElementDeprecatedTags {
3628
+ /**
3629
+ * @deprecated
3630
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big
3631
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3632
+ */
3633
+ big: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3634
+ /**
3635
+ * @deprecated
3636
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
3637
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3638
+ */
3639
+ keygen: KeygenHTMLAttributes<HTMLUnknownElement> & Properties<HTMLUnknownElement>;
3640
+ /**
3641
+ * @deprecated
3642
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
3643
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3644
+ */
3645
+ menuitem: HTMLAttributes<HTMLUnknownElement> & Properties<HTMLUnknownElement>;
3646
+ /**
3647
+ * @deprecated
3648
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
3649
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement
3650
+ */
3651
+ param: ParamHTMLAttributes<HTMLParamElement> & Properties<HTMLParamElement>;
3652
+ }
3653
+ /** @type {SVGElementTagNameMap} */
3654
+ interface SVGElementTags {
3655
+ /**
3656
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate
3657
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement
3658
+ */
3659
+ animate: AnimateSVGAttributes<SVGAnimateElement> & Properties<SVGAnimateElement>;
3660
+ /**
3661
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
3662
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement
3663
+ */
3664
+ animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement> &
3665
+ Properties<SVGAnimateMotionElement>;
3666
+ /**
3667
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform
3668
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement
3669
+ */
3670
+ animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement> &
3671
+ Properties<SVGAnimateTransformElement>;
3672
+ /**
3673
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
3674
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement
3675
+ */
3676
+ circle: CircleSVGAttributes<SVGCircleElement> & Properties<SVGCircleElement>;
3677
+ /**
3678
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
3679
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement
3680
+ */
3681
+ clipPath: ClipPathSVGAttributes<SVGClipPathElement> & Properties<SVGClipPathElement>;
3682
+ /**
3683
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
3684
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement
3685
+ */
3686
+ defs: DefsSVGAttributes<SVGDefsElement> & Properties<SVGDefsElement>;
3687
+ /**
3688
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
3689
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement
3690
+ */
3691
+ desc: DescSVGAttributes<SVGDescElement> & Properties<SVGDescElement>;
3692
+ /**
3693
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
3694
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement
3695
+ */
3696
+ ellipse: EllipseSVGAttributes<SVGEllipseElement> & Properties<SVGEllipseElement>;
3697
+ /**
3698
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend
3699
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement
3700
+ */
3701
+ feBlend: FeBlendSVGAttributes<SVGFEBlendElement> & Properties<SVGFEBlendElement>;
3702
+ /**
3703
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix
3704
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement
3705
+ */
3706
+ feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement> &
3707
+ Properties<SVGFEColorMatrixElement>;
3708
+ /**
3709
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
3710
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElemen
3711
+ */
3712
+ feComponentTransfer: FeComponentTransferSVGAttributes<SVGFEComponentTransferElement> &
3713
+ Properties<SVGFEComponentTransferElement>;
3714
+ /**
3715
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
3716
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement
3717
+ */
3718
+ feComposite: FeCompositeSVGAttributes<SVGFECompositeElement> &
3719
+ Properties<SVGFECompositeElement>;
3720
+ /**
3721
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix
3722
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement
3723
+ */
3724
+ feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement> &
3725
+ Properties<SVGFEConvolveMatrixElement>;
3726
+ /**
3727
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
3728
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement
3729
+ */
3730
+ feDiffuseLighting: FeDiffuseLightingSVGAttributes<SVGFEDiffuseLightingElement> &
3731
+ Properties<SVGFEDiffuseLightingElement>;
3732
+ /**
3733
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
3734
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement
3735
+ */
3736
+ feDisplacementMap: FeDisplacementMapSVGAttributes<SVGFEDisplacementMapElement> &
3737
+ Properties<SVGFEDisplacementMapElement>;
3738
+ /**
3739
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
3740
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
3741
+ */
3742
+ feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement> &
3743
+ Properties<SVGFEDistantLightElement>;
3744
+ /**
3745
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow
3746
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement
3747
+ */
3748
+ feDropShadow: FeDropShadowSVGAttributes<SVGFEDropShadowElement> &
3749
+ Properties<SVGFEDropShadowElement>;
3750
+ /**
3751
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood
3752
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement
3753
+ */
3754
+ feFlood: FeFloodSVGAttributes<SVGFEFloodElement> & Properties<SVGFEFloodElement>;
3755
+ /**
3756
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA
3757
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement
3758
+ */
3759
+ feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement> & Properties<SVGFEFuncAElement>;
3760
+ /**
3761
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB
3762
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement
3763
+ */
3764
+ feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement> & Properties<SVGFEFuncBElement>;
3765
+ /**
3766
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG
3767
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement
3768
+ */
3769
+ feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement> & Properties<SVGFEFuncGElement>;
3770
+ /**
3771
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR
3772
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement
3773
+ */
3774
+ feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement> & Properties<SVGFEFuncRElement>;
3775
+ /**
3776
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur
3777
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement
3778
+ */
3779
+ feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement> &
3780
+ Properties<SVGFEGaussianBlurElement>;
3781
+ /**
3782
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage
3783
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement
3784
+ */
3785
+ feImage: FeImageSVGAttributes<SVGFEImageElement> & Properties<SVGFEImageElement>;
3786
+ /**
3787
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge
3788
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement
3789
+ */
3790
+ feMerge: FeMergeSVGAttributes<SVGFEMergeElement> & Properties<SVGFEMergeElement>;
3791
+ /**
3792
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode
3793
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement
3794
+ */
3795
+ feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement> &
3796
+ Properties<SVGFEMergeNodeElement>;
3797
+ /**
3798
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology
3799
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement
3800
+ */
3801
+ feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement> &
3802
+ Properties<SVGFEMorphologyElement>;
3803
+ /**
3804
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset
3805
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement
3806
+ */
3807
+ feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement> & Properties<SVGFEOffsetElement>;
3808
+ /**
3809
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight
3810
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement
3811
+ */
3812
+ fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement> &
3813
+ Properties<SVGFEPointLightElement>;
3814
+ /**
3815
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
3816
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement
3817
+ */
3818
+ feSpecularLighting: FeSpecularLightingSVGAttributes<SVGFESpecularLightingElement> &
3819
+ Properties<SVGFESpecularLightingElement>;
3820
+ /**
3821
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
3822
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement
3823
+ */
3824
+ feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement> &
3825
+ Properties<SVGFESpotLightElement>;
3826
+ /**
3827
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile
3828
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement
3829
+ */
3830
+ feTile: FeTileSVGAttributes<SVGFETileElement> & Properties<SVGFETileElement>;
3831
+ /**
3832
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence
3833
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement
3834
+ */
3835
+ feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement> &
3836
+ Properties<SVGFETurbulenceElement>;
3837
+ /**
3838
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
3839
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement
3840
+ */
3841
+ filter: FilterSVGAttributes<SVGFilterElement> & Properties<SVGFilterElement>;
3842
+ /**
3843
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
3844
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement
3845
+ */
3846
+ foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement> &
3847
+ Properties<SVGForeignObjectElement>;
3848
+ /**
3849
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
3850
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement
3851
+ */
3852
+ g: GSVGAttributes<SVGGElement> & Properties<SVGGElement>;
3853
+ /**
3854
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
3855
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement
3856
+ */
3857
+ image: ImageSVGAttributes<SVGImageElement> & Properties<SVGImageElement>;
3858
+ /**
3859
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line
3860
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement
3861
+ */
3862
+ line: LineSVGAttributes<SVGLineElement> & Properties<SVGLineElement>;
3863
+ /**
3864
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
3865
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement
3866
+ */
3867
+ linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement> &
3868
+ Properties<SVGLinearGradientElement>;
3869
+ /**
3870
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
3871
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement
3872
+ */
3873
+ marker: MarkerSVGAttributes<SVGMarkerElement> & Properties<SVGMarkerElement>;
3874
+ /**
3875
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask
3876
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement
3877
+ */
3878
+ mask: MaskSVGAttributes<SVGMaskElement> & Properties<SVGMaskElement>;
3879
+ /**
3880
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata
3881
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement
3882
+ */
3883
+ metadata: MetadataSVGAttributes<SVGMetadataElement> & Properties<SVGMetadataElement>;
3884
+ /**
3885
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath
3886
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement
3887
+ */
3888
+ mpath: MPathSVGAttributes<SVGMPathElement> & Properties<SVGMPathElement>;
3889
+ /**
3890
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
3891
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement
3892
+ */
3893
+ path: PathSVGAttributes<SVGPathElement> & Properties<SVGPathElement>;
3894
+ /**
3895
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern
3896
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement
3897
+ */
3898
+ pattern: PatternSVGAttributes<SVGPatternElement> & Properties<SVGPatternElement>;
3899
+ /**
3900
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
3901
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement
3902
+ */
3903
+ polygon: PolygonSVGAttributes<SVGPolygonElement> & Properties<SVGPolygonElement>;
3904
+ /**
3905
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
3906
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement
3907
+ */
3908
+ polyline: PolylineSVGAttributes<SVGPolylineElement> & Properties<SVGPolylineElement>;
3909
+ /**
3910
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient
3911
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement
3912
+ */
3913
+ radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement> &
3914
+ Properties<SVGRadialGradientElement>;
3915
+ /**
3916
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
3917
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement
3918
+ */
3919
+ rect: RectSVGAttributes<SVGRectElement> & Properties<SVGRectElement>;
3920
+ /**
3921
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set
3922
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement
3923
+ */
3924
+ set: SetSVGAttributes<SVGSetElement> & Properties<SVGSetElement>;
3925
+ /**
3926
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop
3927
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement
3928
+ */
3929
+ stop: StopSVGAttributes<SVGStopElement> & Properties<SVGStopElement>;
3930
+ /**
3931
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
3932
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement
3933
+ */
3934
+ svg: SvgSVGAttributes<SVGSVGElement> & Properties<SVGSVGElement>;
3935
+ /**
3936
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch
3937
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement
3938
+ */
3939
+ switch: SwitchSVGAttributes<SVGSwitchElement> & Properties<SVGSwitchElement>;
3940
+ /**
3941
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol
3942
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement
3943
+ */
3944
+ symbol: SymbolSVGAttributes<SVGSymbolElement> & Properties<SVGSymbolElement>;
3945
+ /**
3946
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
3947
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement
3948
+ */
3949
+ text: TextSVGAttributes<SVGTextElement> & Properties<SVGTextElement>;
3950
+ /**
3951
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath
3952
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement
3953
+ */
3954
+ textPath: TextPathSVGAttributes<SVGTextPathElement> & Properties<SVGTextPathElement>;
3955
+ /**
3956
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan
3957
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement
3958
+ */
3959
+ tspan: TSpanSVGAttributes<SVGTSpanElement> & Properties<SVGTSpanElement>;
3960
+ /**
3961
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
3962
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement
3963
+ */
3964
+ use: UseSVGAttributes<SVGUseElement> & Properties<SVGUseElement>;
3965
+ /**
3966
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view
3967
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement
3968
+ */
3969
+ view: ViewSVGAttributes<SVGViewElement> & Properties<SVGViewElement>;
3970
+ }
3971
+
3972
+ interface MathMLElementTags {
3973
+ /**
3974
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation
3975
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
3976
+ */
3977
+ annotation: MathMLAnnotationElementAttributes<MathMLElement> & Properties<MathMLElement>;
3978
+ /**
3979
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation-xml
3980
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
3981
+ */
3982
+ "annotation-xml": MathMLAnnotationXmlElementAttributes<MathMLElement>;
3983
+ /**
3984
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math
3985
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
3986
+ */
3987
+ math: MathMLMathElementAttributes<MathMLElement> & Properties<MathMLElement>;
3988
+ /**
3989
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror
3990
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
3991
+ */
3992
+ merror: MathMLMerrorElementAttributes<MathMLElement> & Properties<MathMLElement>;
3993
+ /**
3994
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac
3995
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
3996
+ */
3997
+ mfrac: MathMLMfracElementAttributes<MathMLElement> & Properties<MathMLElement>;
3998
+ /**
3999
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi
4000
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4001
+ */
4002
+ mi: MathMLMiElementAttributes<MathMLElement> & Properties<MathMLElement>;
4003
+ /**
4004
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts
4005
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4006
+ */
4007
+ mmultiscripts: MathMLMmultiscriptsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4008
+ /**
4009
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mn
4010
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4011
+ */
4012
+ mn: MathMLMnElementAttributes<MathMLElement> & Properties<MathMLElement>;
4013
+ /**
4014
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo
4015
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4016
+ */
4017
+ mo: MathMLMoElementAttributes<MathMLElement> & Properties<MathMLElement>;
4018
+ /**
4019
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mover
4020
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4021
+ */
4022
+ mover: MathMLMoverElementAttributes<MathMLElement> & Properties<MathMLElement>;
4023
+ /**
4024
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded
4025
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4026
+ */
4027
+ mpadded: MathMLMpaddedElementAttributes<MathMLElement> & Properties<MathMLElement>;
4028
+ /**
4029
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mphantom
4030
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4031
+ */
4032
+ mphantom: MathMLMphantomElementAttributes<MathMLElement> & Properties<MathMLElement>;
4033
+ /**
4034
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mprescripts
4035
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4036
+ */
4037
+ mprescripts: MathMLMprescriptsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4038
+ /**
4039
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot
4040
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4041
+ */
4042
+ mroot: MathMLMrootElementAttributes<MathMLElement> & Properties<MathMLElement>;
4043
+ /**
4044
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mrow
4045
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4046
+ */
4047
+ mrow: MathMLMrowElementAttributes<MathMLElement> & Properties<MathMLElement>;
4048
+ /**
4049
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms
4050
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4051
+ */
4052
+ ms: MathMLMsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4053
+ /**
4054
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace
4055
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4056
+ */
4057
+ mspace: MathMLMspaceElementAttributes<MathMLElement> & Properties<MathMLElement>;
4058
+ /**
4059
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt
4060
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4061
+ */
4062
+ msqrt: MathMLMsqrtElementAttributes<MathMLElement> & Properties<MathMLElement>;
4063
+ /**
4064
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle
4065
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4066
+ */
4067
+ mstyle: MathMLMstyleElementAttributes<MathMLElement> & Properties<MathMLElement>;
4068
+ /**
4069
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub
4070
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4071
+ */
4072
+ msub: MathMLMsubElementAttributes<MathMLElement> & Properties<MathMLElement>;
4073
+ /**
4074
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup
4075
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4076
+ */
4077
+ msubsup: MathMLMsubsupElementAttributes<MathMLElement> & Properties<MathMLElement>;
4078
+ /**
4079
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup
4080
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4081
+ */
4082
+ msup: MathMLMsupElementAttributes<MathMLElement> & Properties<MathMLElement>;
4083
+ /**
4084
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable
4085
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4086
+ */
4087
+ mtable: MathMLMtableElementAttributes<MathMLElement> & Properties<MathMLElement>;
4088
+ /**
4089
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd
4090
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4091
+ */
4092
+ mtd: MathMLMtdElementAttributes<MathMLElement> & Properties<MathMLElement>;
4093
+ /**
4094
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtext
4095
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4096
+ */
4097
+ mtext: MathMLMtextElementAttributes<MathMLElement> & Properties<MathMLElement>;
4098
+ /**
4099
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr
4100
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4101
+ */
4102
+ mtr: MathMLMtrElementAttributes<MathMLElement> & Properties<MathMLElement>;
4103
+ /**
4104
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munder
4105
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4106
+ */
4107
+ munder: MathMLMunderElementAttributes<MathMLElement> & Properties<MathMLElement>;
4108
+ /**
4109
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munderover
4110
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4111
+ */
4112
+ munderover: MathMLMunderoverElementAttributes<MathMLElement> & Properties<MathMLElement>;
4113
+ /**
4114
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics
4115
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4116
+ */
4117
+ semantics: MathMLSemanticsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4118
+ /**
4119
+ * @non-standard
4120
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose
4121
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4122
+ */
4123
+ menclose: MathMLMencloseElementAttributes<MathMLElement> & Properties<MathMLElement>;
4124
+ /**
4125
+ * @deprecated
4126
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction
4127
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4128
+ */
4129
+ maction: MathMLMactionElementAttributes<MathMLElement> & Properties<MathMLElement>;
4130
+ /**
4131
+ * @deprecated
4132
+ * @non-standard
4133
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced
4134
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4135
+ */
4136
+ mfenced: MathMLMfencedElementAttributes<MathMLElement> & Properties<MathMLElement>;
4137
+ }
4138
+
4139
+ interface IntrinsicElements
4140
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4141
+ }