@solidjs/h 2.0.0-beta.0 → 2.0.0-beta.10

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