j20 0.0.3 → 0.0.5

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.
@@ -1,7 +1,13 @@
1
- import * as csstype from "csstype";
2
- import { Computed, Effect, Signal, computed, effect as effect$1, signal, untrack } from "@j20org/signal";
1
+ import * as csstype from 'csstype';
2
+ import { effect as effect$1 } from '@j20org/signal';
3
+ export { Computed, Effect, Signal, computed, signal, untrack } from '@j20org/signal';
4
+
5
+ /**
6
+ THIS FILE IS GENERATED BY `./jsx-update.mjs`.
7
+ PLEASE UPDATE `jsx-h.d.ts` INSTEAD AND RUN `node jsx-update.mjs`.
8
+ */
9
+
3
10
 
4
- //#region src/jsx.d.ts
5
11
 
6
12
  /**
7
13
  * Based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
@@ -16,20 +22,28 @@ import { Computed, Effect, Signal, computed, effect as effect$1, signal, untrack
16
22
  * https://potahtml.github.io/namespace-jsx-project/index.html
17
23
  */
18
24
  type DOMElement = Element;
25
+
19
26
  declare global {
20
27
  namespace JSX {
21
28
  // START - difference between `jsx.d.ts` and `jsx-h.d.ts`
22
29
 
23
- type FunctionMaybe<T = unknown> = {
24
- (): T;
25
- } | T;
30
+ type FunctionMaybe<T = unknown> = { (): T } | T;
26
31
  interface FunctionElement {
27
32
  (): Element;
28
33
  }
29
- type Element = Node | ArrayElement | (string & {}) | number | boolean | null | undefined;
34
+
35
+ type Element =
36
+ | Node
37
+ | ArrayElement
38
+ | (string & {})
39
+ | number
40
+ | boolean
41
+ | null
42
+ | undefined;
30
43
  // END - difference between `jsx.d.ts` and `jsx-h.d.ts`
31
44
 
32
45
  interface ArrayElement extends Array<Element> {}
46
+
33
47
  interface ElementClass {
34
48
  // empty, libs can define requirements downstream
35
49
  }
@@ -43,41 +57,98 @@ declare global {
43
57
  // Event handlers
44
58
 
45
59
  interface EventHandler<T, E extends Event> {
46
- (e: E & {
47
- currentTarget: T;
48
- target: DOMElement;
49
- }): void;
60
+ (
61
+ e: E & {
62
+ currentTarget: T;
63
+ target: DOMElement;
64
+ }
65
+ ): void;
50
66
  }
51
- interface BoundEventHandler<T, E extends Event, EHandler extends EventHandler<T, any> = EventHandler<T, E>> {
67
+
68
+ interface BoundEventHandler<
69
+ T,
70
+ E extends Event,
71
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>,
72
+ > {
52
73
  0: (data: any, ...e: Parameters<EHandler>) => void;
53
74
  1: any;
54
75
  }
55
- type EventHandlerUnion<T, E extends Event, EHandler extends EventHandler<T, any> = EventHandler<T, E>> = EHandler | BoundEventHandler<T, E, EHandler>;
56
- interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>> extends AddEventListenerOptions {
76
+ type EventHandlerUnion<
77
+ T,
78
+ E extends Event,
79
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>,
80
+ > = EHandler | BoundEventHandler<T, E, EHandler>;
81
+
82
+ interface EventHandlerWithOptions<
83
+ T,
84
+ E extends Event,
85
+ EHandler = EventHandler<T, E>,
86
+ > extends AddEventListenerOptions {
57
87
  handleEvent: EHandler;
58
88
  }
59
- type EventHandlerWithOptionsUnion<T, E extends Event, EHandler extends EventHandler<T, any> = EventHandler<T, E>> = EHandler | EventHandlerWithOptions<T, E, EHandler>;
89
+
90
+ type EventHandlerWithOptionsUnion<
91
+ T,
92
+ E extends Event,
93
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>,
94
+ > = EHandler | EventHandlerWithOptions<T, E, EHandler>;
95
+
60
96
  interface InputEventHandler<T, E extends InputEvent> {
61
- (e: E & {
62
- currentTarget: T;
63
- target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement;
64
- }): void;
65
- }
66
- type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<T, E, InputEventHandler<T, E>>;
97
+ (
98
+ e: E & {
99
+ currentTarget: T;
100
+ target: T extends
101
+ | HTMLInputElement
102
+ | HTMLSelectElement
103
+ | HTMLTextAreaElement
104
+ ? T
105
+ : DOMElement;
106
+ }
107
+ ): void;
108
+ }
109
+ type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<
110
+ T,
111
+ E,
112
+ InputEventHandler<T, E>
113
+ >;
114
+
67
115
  interface ChangeEventHandler<T, E extends Event> {
68
- (e: E & {
69
- currentTarget: T;
70
- target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement;
71
- }): void;
72
- }
73
- type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<T, E, ChangeEventHandler<T, E>>;
116
+ (
117
+ e: E & {
118
+ currentTarget: T;
119
+ target: T extends
120
+ | HTMLInputElement
121
+ | HTMLSelectElement
122
+ | HTMLTextAreaElement
123
+ ? T
124
+ : DOMElement;
125
+ }
126
+ ): void;
127
+ }
128
+ type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<
129
+ T,
130
+ E,
131
+ ChangeEventHandler<T, E>
132
+ >;
133
+
74
134
  interface FocusEventHandler<T, E extends FocusEvent> {
75
- (e: E & {
76
- currentTarget: T;
77
- target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement;
78
- }): void;
79
- }
80
- type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion<T, E, FocusEventHandler<T, E>>;
135
+ (
136
+ e: E & {
137
+ currentTarget: T;
138
+ target: T extends
139
+ | HTMLInputElement
140
+ | HTMLSelectElement
141
+ | HTMLTextAreaElement
142
+ ? T
143
+ : DOMElement;
144
+ }
145
+ ): void;
146
+ }
147
+ type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion<
148
+ T,
149
+ E,
150
+ FocusEventHandler<T, E>
151
+ >;
81
152
  // end event handlers
82
153
 
83
154
  const SERIALIZABLE: unique symbol;
@@ -85,16 +156,17 @@ declare global {
85
156
  toString(): string;
86
157
  [SERIALIZABLE]: never;
87
158
  }
159
+
88
160
  interface IntrinsicAttributes {
89
161
  ref?: unknown | ((e: unknown) => void) | undefined;
90
162
  }
91
163
  interface CustomAttributes<T> {
92
- ref?: {
93
- current: T | null;
94
- } | ((el: T) => void) | undefined;
95
- classList?: {
96
- [k: string]: boolean | undefined;
97
- } | undefined;
164
+ ref?: { current: T | null } | ((el: T) => void) | undefined;
165
+ classList?:
166
+ | {
167
+ [k: string]: boolean | undefined;
168
+ }
169
+ | undefined;
98
170
  $ServerOnly?: boolean | undefined;
99
171
  }
100
172
  type Accessor<T> = () => T;
@@ -108,32 +180,57 @@ declare global {
108
180
  interface CustomEvents {}
109
181
  /** @deprecated Replaced by CustomEvents */
110
182
  interface CustomCaptureEvents {}
111
- type DirectiveAttributes = { [Key in keyof Directives as `use:${Key}`]?: Directives[Key] };
183
+ type DirectiveAttributes = {
184
+ [Key in keyof Directives as `use:${Key}`]?: Directives[Key];
185
+ };
112
186
  type DirectiveFunctionAttributes<T> = {
113
-
114
- // it isn't a function
115
- [K in keyof DirectiveFunctions as string extends K ? never : `use:${K}`]?: DirectiveFunctions[K] extends ((el: infer E,
116
- // will be unknown if not provided
117
- ...rest: infer R // use rest so that we can check whether it's provided or not
118
- ) => void) ? T extends E // everything extends unknown if E is unknown
119
- ? R extends [infer A] // check if has accessor provided
120
- ? A extends Accessor<infer V> ? V // it's an accessor
121
- : never // it isn't, type error
122
- : true // no accessor provided
123
- : never // T is the wrong element
124
- : never };
125
- type PropAttributes = { [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key] };
126
- type AttrAttributes = { [Key in keyof ExplicitAttributes as `attr:${Key}`]?: ExplicitAttributes[Key] };
127
- type BoolAttributes = { [Key in keyof ExplicitBoolAttributes as `bool:${Key}`]?: ExplicitBoolAttributes[Key] };
128
- type OnAttributes<T> = { [Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<T, CustomEvents[Key]> };
129
- type OnCaptureAttributes<T> = { [Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler<T, CustomCaptureEvents[Key]> };
187
+ [K in keyof DirectiveFunctions as string extends K
188
+ ? never
189
+ : `use:${K}`]?: DirectiveFunctions[K] extends (
190
+ el: infer E, // will be unknown if not provided
191
+ ...rest: infer R // use rest so that we can check whether it's provided or not
192
+ ) => void
193
+ ? T extends E // everything extends unknown if E is unknown
194
+ ? R extends [infer A] // check if has accessor provided
195
+ ? A extends Accessor<infer V>
196
+ ? V // it's an accessor
197
+ : never // it isn't, type error
198
+ : true // no accessor provided
199
+ : never // T is the wrong element
200
+ : never; // it isn't a function
201
+ };
202
+ type PropAttributes = {
203
+ [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key];
204
+ };
205
+ type AttrAttributes = {
206
+ [Key in keyof ExplicitAttributes as `attr:${Key}`]?: ExplicitAttributes[Key];
207
+ };
208
+ type BoolAttributes = {
209
+ [Key in keyof ExplicitBoolAttributes as `bool:${Key}`]?: ExplicitBoolAttributes[Key];
210
+ };
211
+ type OnAttributes<T> = {
212
+ [Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<
213
+ T,
214
+ CustomEvents[Key]
215
+ >;
216
+ };
217
+ type OnCaptureAttributes<T> = {
218
+ [Key in keyof CustomCaptureEvents as `oncapture:${Key}`]?: EventHandler<
219
+ T,
220
+ CustomCaptureEvents[Key]
221
+ >;
222
+ };
130
223
 
131
224
  // events
132
225
  interface ElementEventMap<T> {
133
226
  onFullscreenChange?: EventHandlerUnion<T, Event> | undefined;
134
227
  onFullscreenError?: EventHandlerUnion<T, Event> | undefined;
135
- "on:fullscreenchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
228
+
229
+ "on:fullscreenchange"?:
230
+ | EventHandlerWithOptionsUnion<T, Event>
231
+ | undefined;
136
232
  "on:fullscreenerror"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
233
+
137
234
  onfullscreenchange?: EventHandlerUnion<T, Event> | undefined;
138
235
  onfullscreenerror?: EventHandlerUnion<T, Event> | undefined;
139
236
  }
@@ -156,10 +253,15 @@ declare global {
156
253
  // TODO `PageSwapEvent` is currently undefined on TS
157
254
  onPageSwap?: EventHandlerUnion<T, Event> | undefined;
158
255
  onPopstate?: EventHandlerUnion<T, PopStateEvent> | undefined;
159
- onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
256
+ onRejectionHandled?:
257
+ | EventHandlerUnion<T, PromiseRejectionEvent>
258
+ | undefined;
160
259
  onStorage?: EventHandlerUnion<T, StorageEvent> | undefined;
161
- onUnhandledRejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
260
+ onUnhandledRejection?:
261
+ | EventHandlerUnion<T, PromiseRejectionEvent>
262
+ | undefined;
162
263
  onUnload?: EventHandlerUnion<T, Event> | undefined;
264
+
163
265
  onafterprint?: EventHandlerUnion<T, Event> | undefined;
164
266
  onbeforeprint?: EventHandlerUnion<T, Event> | undefined;
165
267
  onbeforeunload?: EventHandlerUnion<T, BeforeUnloadEvent> | undefined;
@@ -178,33 +280,59 @@ declare global {
178
280
  // TODO `PageSwapEvent` is currently undefined in TS
179
281
  onpageswap?: EventHandlerUnion<T, Event> | undefined;
180
282
  onpopstate?: EventHandlerUnion<T, PopStateEvent> | undefined;
181
- onrejectionhandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
283
+ onrejectionhandled?:
284
+ | EventHandlerUnion<T, PromiseRejectionEvent>
285
+ | undefined;
182
286
  onstorage?: EventHandlerUnion<T, StorageEvent> | undefined;
183
- onunhandledrejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
287
+ onunhandledrejection?:
288
+ | EventHandlerUnion<T, PromiseRejectionEvent>
289
+ | undefined;
184
290
  onunload?: EventHandlerUnion<T, Event> | undefined;
291
+
185
292
  "on:afterprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
186
293
  "on:beforeprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
187
- "on:beforeunload"?: EventHandlerWithOptionsUnion<T, BeforeUnloadEvent> | undefined;
188
- "on:gamepadconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined;
189
- "on:gamepaddisconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined;
190
- "on:hashchange"?: EventHandlerWithOptionsUnion<T, HashChangeEvent> | undefined;
294
+ "on:beforeunload"?:
295
+ | EventHandlerWithOptionsUnion<T, BeforeUnloadEvent>
296
+ | undefined;
297
+ "on:gamepadconnected"?:
298
+ | EventHandlerWithOptionsUnion<T, GamepadEvent>
299
+ | undefined;
300
+ "on:gamepaddisconnected"?:
301
+ | EventHandlerWithOptionsUnion<T, GamepadEvent>
302
+ | undefined;
303
+ "on:hashchange"?:
304
+ | EventHandlerWithOptionsUnion<T, HashChangeEvent>
305
+ | undefined;
191
306
  "on:languagechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
192
307
  "on:message"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined;
193
- "on:messageerror"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined;
308
+ "on:messageerror"?:
309
+ | EventHandlerWithOptionsUnion<T, MessageEvent>
310
+ | undefined;
194
311
  "on:offline"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
195
312
  "on:online"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
196
- "on:pagehide"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined;
313
+ "on:pagehide"?:
314
+ | EventHandlerWithOptionsUnion<T, PageTransitionEvent>
315
+ | undefined;
197
316
  // TODO `PageRevealEvent` is currently undefined in TS
198
317
  "on:pagereveal"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
199
- "on:pageshow"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined;
318
+ "on:pageshow"?:
319
+ | EventHandlerWithOptionsUnion<T, PageTransitionEvent>
320
+ | undefined;
200
321
  // TODO `PageSwapEvent` is currently undefined in TS
201
322
  "on:pageswap"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
202
- "on:popstate"?: EventHandlerWithOptionsUnion<T, PopStateEvent> | undefined;
203
- "on:rejectionhandled"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined;
323
+ "on:popstate"?:
324
+ | EventHandlerWithOptionsUnion<T, PopStateEvent>
325
+ | undefined;
326
+ "on:rejectionhandled"?:
327
+ | EventHandlerWithOptionsUnion<T, PromiseRejectionEvent>
328
+ | undefined;
204
329
  "on:storage"?: EventHandlerWithOptionsUnion<T, StorageEvent> | undefined;
205
- "on:unhandledrejection"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined;
330
+ "on:unhandledrejection"?:
331
+ | EventHandlerWithOptionsUnion<T, PromiseRejectionEvent>
332
+ | undefined;
206
333
  "on:unload"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
207
334
  }
335
+
208
336
  interface CustomEventHandlersCamelCase<T> {
209
337
  onAbort?: EventHandlerUnion<T, UIEvent> | undefined;
210
338
  onAnimationCancel?: EventHandlerUnion<T, AnimationEvent> | undefined;
@@ -281,7 +409,9 @@ declare global {
281
409
  onResize?: EventHandlerUnion<T, UIEvent> | undefined;
282
410
  onScroll?: EventHandlerUnion<T, Event> | undefined;
283
411
  onScrollEnd?: EventHandlerUnion<T, Event> | undefined;
284
- onSecurityPolicyViolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent> | undefined;
412
+ onSecurityPolicyViolation?:
413
+ | EventHandlerUnion<T, SecurityPolicyViolationEvent>
414
+ | undefined;
285
415
  onSeeked?: EventHandlerUnion<T, Event> | undefined;
286
416
  onSeeking?: EventHandlerUnion<T, Event> | undefined;
287
417
  onSelect?: EventHandlerUnion<T, Event> | undefined;
@@ -381,7 +511,9 @@ declare global {
381
511
  onresize?: EventHandlerUnion<T, UIEvent> | undefined;
382
512
  onscroll?: EventHandlerUnion<T, Event> | undefined;
383
513
  onscrollend?: EventHandlerUnion<T, Event> | undefined;
384
- onsecuritypolicyviolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent> | undefined;
514
+ onsecuritypolicyviolation?:
515
+ | EventHandlerUnion<T, SecurityPolicyViolationEvent>
516
+ | undefined;
385
517
  onseeked?: EventHandlerUnion<T, Event> | undefined;
386
518
  onseeking?: EventHandlerUnion<T, Event> | undefined;
387
519
  onselect?: EventHandlerUnion<T, Event> | undefined;
@@ -404,27 +536,60 @@ declare global {
404
536
  onwaiting?: EventHandlerUnion<T, Event> | undefined;
405
537
  onwheel?: EventHandlerUnion<T, WheelEvent> | undefined;
406
538
  }
539
+
407
540
  interface CustomEventHandlersNamespaced<T> {
408
541
  "on:abort"?: EventHandlerWithOptionsUnion<T, UIEvent> | undefined;
409
- "on:animationcancel"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
410
- "on:animationend"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
411
- "on:animationiteration"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
412
- "on:animationstart"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
542
+ "on:animationcancel"?:
543
+ | EventHandlerWithOptionsUnion<T, AnimationEvent>
544
+ | undefined;
545
+ "on:animationend"?:
546
+ | EventHandlerWithOptionsUnion<T, AnimationEvent>
547
+ | undefined;
548
+ "on:animationiteration"?:
549
+ | EventHandlerWithOptionsUnion<T, AnimationEvent>
550
+ | undefined;
551
+ "on:animationstart"?:
552
+ | EventHandlerWithOptionsUnion<T, AnimationEvent>
553
+ | undefined;
413
554
  "on:auxclick"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
414
- "on:beforeinput"?: EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>> | undefined;
415
- "on:beforetoggle"?: EventHandlerWithOptionsUnion<T, ToggleEvent> | undefined;
416
- "on:blur"?: EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>> | undefined;
555
+ "on:beforeinput"?:
556
+ | EventHandlerWithOptionsUnion<
557
+ T,
558
+ InputEvent,
559
+ InputEventHandler<T, InputEvent>
560
+ >
561
+ | undefined;
562
+ "on:beforetoggle"?:
563
+ | EventHandlerWithOptionsUnion<T, ToggleEvent>
564
+ | undefined;
565
+ "on:blur"?:
566
+ | EventHandlerWithOptionsUnion<
567
+ T,
568
+ FocusEvent,
569
+ FocusEventHandler<T, FocusEvent>
570
+ >
571
+ | undefined;
417
572
  "on:cancel"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
418
573
  "on:canplay"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
419
574
  "on:canplaythrough"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
420
- "on:change"?: EventHandlerWithOptionsUnion<T, Event, ChangeEventHandler<T, Event>> | undefined;
575
+ "on:change"?:
576
+ | EventHandlerWithOptionsUnion<T, Event, ChangeEventHandler<T, Event>>
577
+ | undefined;
421
578
  "on:click"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
422
579
  // TODO `CommandEvent` is currently undefined in TS
423
580
  "on:command"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
424
- "on:compositionend"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
425
- "on:compositionstart"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
426
- "on:compositionupdate"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
427
- "on:contextmenu"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
581
+ "on:compositionend"?:
582
+ | EventHandlerWithOptionsUnion<T, CompositionEvent>
583
+ | undefined;
584
+ "on:compositionstart"?:
585
+ | EventHandlerWithOptionsUnion<T, CompositionEvent>
586
+ | undefined;
587
+ "on:compositionupdate"?:
588
+ | EventHandlerWithOptionsUnion<T, CompositionEvent>
589
+ | undefined;
590
+ "on:contextmenu"?:
591
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
592
+ | undefined;
428
593
  "on:copy"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
429
594
  "on:cuechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
430
595
  "on:cut"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
@@ -441,20 +606,50 @@ declare global {
441
606
  "on:emptied"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
442
607
  "on:ended"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
443
608
  "on:error"?: EventHandlerWithOptionsUnion<T, ErrorEvent> | undefined;
444
- "on:focus"?: EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>> | undefined;
445
- "on:focusin"?: EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>> | undefined;
446
- "on:focusout"?: EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>> | undefined;
447
- "on:gotpointercapture"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
448
- "on:input"?: EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>> | undefined;
609
+ "on:focus"?:
610
+ | EventHandlerWithOptionsUnion<
611
+ T,
612
+ FocusEvent,
613
+ FocusEventHandler<T, FocusEvent>
614
+ >
615
+ | undefined;
616
+ "on:focusin"?:
617
+ | EventHandlerWithOptionsUnion<
618
+ T,
619
+ FocusEvent,
620
+ FocusEventHandler<T, FocusEvent>
621
+ >
622
+ | undefined;
623
+ "on:focusout"?:
624
+ | EventHandlerWithOptionsUnion<
625
+ T,
626
+ FocusEvent,
627
+ FocusEventHandler<T, FocusEvent>
628
+ >
629
+ | undefined;
630
+ "on:gotpointercapture"?:
631
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
632
+ | undefined;
633
+ "on:input"?:
634
+ | EventHandlerWithOptionsUnion<
635
+ T,
636
+ InputEvent,
637
+ InputEventHandler<T, InputEvent>
638
+ >
639
+ | undefined;
449
640
  "on:invalid"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
450
641
  "on:keydown"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
451
- "on:keypress"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
642
+ "on:keypress"?:
643
+ | EventHandlerWithOptionsUnion<T, KeyboardEvent>
644
+ | undefined;
452
645
  "on:keyup"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
453
646
  "on:load"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
454
647
  "on:loadeddata"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
455
648
  "on:loadedmetadata"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
456
649
  "on:loadstart"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
457
- "on:lostpointercapture"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
650
+ "on:lostpointercapture"?:
651
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
652
+ | undefined;
458
653
  "on:mousedown"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
459
654
  "on:mouseenter"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
460
655
  "on:mouseleave"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
@@ -466,21 +661,41 @@ declare global {
466
661
  "on:pause"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
467
662
  "on:play"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
468
663
  "on:playing"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
469
- "on:pointercancel"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
470
- "on:pointerdown"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
471
- "on:pointerenter"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
472
- "on:pointerleave"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
473
- "on:pointermove"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
474
- "on:pointerout"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
475
- "on:pointerover"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
476
- "on:pointerup"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
477
- "on:progress"?: EventHandlerWithOptionsUnion<T, ProgressEvent> | undefined;
664
+ "on:pointercancel"?:
665
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
666
+ | undefined;
667
+ "on:pointerdown"?:
668
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
669
+ | undefined;
670
+ "on:pointerenter"?:
671
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
672
+ | undefined;
673
+ "on:pointerleave"?:
674
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
675
+ | undefined;
676
+ "on:pointermove"?:
677
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
678
+ | undefined;
679
+ "on:pointerout"?:
680
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
681
+ | undefined;
682
+ "on:pointerover"?:
683
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
684
+ | undefined;
685
+ "on:pointerup"?:
686
+ | EventHandlerWithOptionsUnion<T, PointerEvent>
687
+ | undefined;
688
+ "on:progress"?:
689
+ | EventHandlerWithOptionsUnion<T, ProgressEvent>
690
+ | undefined;
478
691
  "on:ratechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
479
692
  "on:reset"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
480
693
  "on:resize"?: EventHandlerWithOptionsUnion<T, UIEvent> | undefined;
481
694
  "on:scroll"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
482
695
  "on:scrollend"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
483
- "on:securitypolicyviolation"?: EventHandlerWithOptionsUnion<T, SecurityPolicyViolationEvent> | undefined;
696
+ "on:securitypolicyviolation"?:
697
+ | EventHandlerWithOptionsUnion<T, SecurityPolicyViolationEvent>
698
+ | undefined;
484
699
  "on:seeked"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
485
700
  "on:seeking"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
486
701
  "on:select"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
@@ -491,36 +706,104 @@ declare global {
491
706
  "on:suspend"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
492
707
  "on:timeupdate"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
493
708
  "on:toggle"?: EventHandlerWithOptionsUnion<T, ToggleEvent> | undefined;
494
- "on:touchcancel"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
709
+ "on:touchcancel"?:
710
+ | EventHandlerWithOptionsUnion<T, TouchEvent>
711
+ | undefined;
495
712
  "on:touchend"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
496
713
  "on:touchmove"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
497
714
  "on:touchstart"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
498
- "on:transitioncancel"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
499
- "on:transitionend"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
500
- "on:transitionrun"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
501
- "on:transitionstart"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
715
+ "on:transitioncancel"?:
716
+ | EventHandlerWithOptionsUnion<T, TransitionEvent>
717
+ | undefined;
718
+ "on:transitionend"?:
719
+ | EventHandlerWithOptionsUnion<T, TransitionEvent>
720
+ | undefined;
721
+ "on:transitionrun"?:
722
+ | EventHandlerWithOptionsUnion<T, TransitionEvent>
723
+ | undefined;
724
+ "on:transitionstart"?:
725
+ | EventHandlerWithOptionsUnion<T, TransitionEvent>
726
+ | undefined;
502
727
  "on:volumechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
503
728
  "on:waiting"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
504
729
  "on:wheel"?: EventHandlerWithOptionsUnion<T, WheelEvent> | undefined;
505
730
  }
506
- interface DOMAttributes<T> extends CustomAttributes<T>, DirectiveAttributes, DirectiveFunctionAttributes<T>, PropAttributes, AttrAttributes, BoolAttributes, OnAttributes<T>, OnCaptureAttributes<T>, CustomEventHandlersCamelCase<T>, CustomEventHandlersLowerCase<T>, CustomEventHandlersNamespaced<T> {
731
+
732
+ interface DOMAttributes<T>
733
+ extends CustomAttributes<T>,
734
+ DirectiveAttributes,
735
+ DirectiveFunctionAttributes<T>,
736
+ PropAttributes,
737
+ AttrAttributes,
738
+ BoolAttributes,
739
+ OnAttributes<T>,
740
+ OnCaptureAttributes<T>,
741
+ CustomEventHandlersCamelCase<T>,
742
+ CustomEventHandlersLowerCase<T>,
743
+ CustomEventHandlersNamespaced<T> {
507
744
  children?: Element | undefined;
508
745
  innerHTML?: string;
509
746
  innerText?: string | number;
510
747
  textContent?: string | number;
511
748
  }
749
+
512
750
  interface CSSProperties extends csstype.PropertiesHyphen {
513
751
  // Override
514
752
  [key: `-${string}`]: string | number | undefined;
515
753
  }
516
- type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters";
754
+
755
+ type HTMLAutocapitalize =
756
+ | "off"
757
+ | "none"
758
+ | "on"
759
+ | "sentences"
760
+ | "words"
761
+ | "characters";
517
762
  type HTMLDir = "ltr" | "rtl" | "auto";
518
- type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
763
+ type HTMLFormEncType =
764
+ | "application/x-www-form-urlencoded"
765
+ | "multipart/form-data"
766
+ | "text/plain";
519
767
  type HTMLFormMethod = "post" | "get" | "dialog";
520
768
  type HTMLCrossorigin = "anonymous" | "use-credentials" | "";
521
- type HTMLReferrerPolicy = "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
522
- type HTMLIframeSandbox = "allow-downloads-without-user-activation" | "allow-downloads" | "allow-forms" | "allow-modals" | "allow-orientation-lock" | "allow-pointer-lock" | "allow-popups" | "allow-popups-to-escape-sandbox" | "allow-presentation" | "allow-same-origin" | "allow-scripts" | "allow-storage-access-by-user-activation" | "allow-top-navigation" | "allow-top-navigation-by-user-activation" | "allow-top-navigation-to-custom-protocols";
523
- type HTMLLinkAs = "audio" | "document" | "embed" | "fetch" | "font" | "image" | "object" | "script" | "style" | "track" | "video" | "worker";
769
+ type HTMLReferrerPolicy =
770
+ | "no-referrer"
771
+ | "no-referrer-when-downgrade"
772
+ | "origin"
773
+ | "origin-when-cross-origin"
774
+ | "same-origin"
775
+ | "strict-origin"
776
+ | "strict-origin-when-cross-origin"
777
+ | "unsafe-url";
778
+ type HTMLIframeSandbox =
779
+ | "allow-downloads-without-user-activation"
780
+ | "allow-downloads"
781
+ | "allow-forms"
782
+ | "allow-modals"
783
+ | "allow-orientation-lock"
784
+ | "allow-pointer-lock"
785
+ | "allow-popups"
786
+ | "allow-popups-to-escape-sandbox"
787
+ | "allow-presentation"
788
+ | "allow-same-origin"
789
+ | "allow-scripts"
790
+ | "allow-storage-access-by-user-activation"
791
+ | "allow-top-navigation"
792
+ | "allow-top-navigation-by-user-activation"
793
+ | "allow-top-navigation-to-custom-protocols";
794
+ type HTMLLinkAs =
795
+ | "audio"
796
+ | "document"
797
+ | "embed"
798
+ | "fetch"
799
+ | "font"
800
+ | "image"
801
+ | "object"
802
+ | "script"
803
+ | "style"
804
+ | "track"
805
+ | "video"
806
+ | "worker";
524
807
 
525
808
  // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
526
809
  interface AriaAttributes {
@@ -605,7 +888,16 @@ declare global {
605
888
  * Indicates the element that represents the current item within a container or set of related
606
889
  * elements.
607
890
  */
608
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
891
+ "aria-current"?:
892
+ | boolean
893
+ | "false"
894
+ | "true"
895
+ | "page"
896
+ | "step"
897
+ | "location"
898
+ | "date"
899
+ | "time"
900
+ | undefined;
609
901
  /**
610
902
  * Identifies the element (or elements) that describes the object.
611
903
  *
@@ -637,7 +929,14 @@ declare global {
637
929
  *
638
930
  * @deprecated In ARIA 1.1
639
931
  */
640
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
932
+ "aria-dropeffect"?:
933
+ | "none"
934
+ | "copy"
935
+ | "execute"
936
+ | "link"
937
+ | "move"
938
+ | "popup"
939
+ | undefined;
641
940
  /**
642
941
  * Identifies the element that provides an error message for the object.
643
942
  *
@@ -665,7 +964,16 @@ declare global {
665
964
  * Indicates the availability and type of interactive popup element, such as menu or dialog,
666
965
  * that can be triggered by an element.
667
966
  */
668
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
967
+ "aria-haspopup"?:
968
+ | boolean
969
+ | "false"
970
+ | "true"
971
+ | "menu"
972
+ | "listbox"
973
+ | "tree"
974
+ | "grid"
975
+ | "dialog"
976
+ | undefined;
669
977
  /**
670
978
  * Indicates whether the element is exposed to an accessibility API.
671
979
  *
@@ -677,7 +985,13 @@ declare global {
677
985
  *
678
986
  * @see aria-errormessage.
679
987
  */
680
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
988
+ "aria-invalid"?:
989
+ | boolean
990
+ | "false"
991
+ | "true"
992
+ | "grammar"
993
+ | "spelling"
994
+ | undefined;
681
995
  /**
682
996
  * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
683
997
  * element.
@@ -752,7 +1066,18 @@ declare global {
752
1066
  *
753
1067
  * @see aria-atomic.
754
1068
  */
755
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
1069
+ "aria-relevant"?:
1070
+ | "additions"
1071
+ | "additions removals"
1072
+ | "additions text"
1073
+ | "all"
1074
+ | "removals"
1075
+ | "removals additions"
1076
+ | "removals text"
1077
+ | "text"
1078
+ | "text additions"
1079
+ | "text removals"
1080
+ | undefined;
756
1081
  /** Indicates that user input is required on the element before a form may be submitted. */
757
1082
  "aria-required"?: boolean | "false" | "true" | undefined;
758
1083
  /** Defines a human-readable, author-localized description for the role of an element. */
@@ -805,7 +1130,78 @@ declare global {
805
1130
  "aria-valuenow"?: number | string | undefined;
806
1131
  /** Defines the human readable text alternative of aria-valuenow for a range widget. */
807
1132
  "aria-valuetext"?: string | undefined;
808
- role?: "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "meter" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
1133
+ role?:
1134
+ | "alert"
1135
+ | "alertdialog"
1136
+ | "application"
1137
+ | "article"
1138
+ | "banner"
1139
+ | "button"
1140
+ | "cell"
1141
+ | "checkbox"
1142
+ | "columnheader"
1143
+ | "combobox"
1144
+ | "complementary"
1145
+ | "contentinfo"
1146
+ | "definition"
1147
+ | "dialog"
1148
+ | "directory"
1149
+ | "document"
1150
+ | "feed"
1151
+ | "figure"
1152
+ | "form"
1153
+ | "grid"
1154
+ | "gridcell"
1155
+ | "group"
1156
+ | "heading"
1157
+ | "img"
1158
+ | "link"
1159
+ | "list"
1160
+ | "listbox"
1161
+ | "listitem"
1162
+ | "log"
1163
+ | "main"
1164
+ | "marquee"
1165
+ | "math"
1166
+ | "menu"
1167
+ | "menubar"
1168
+ | "menuitem"
1169
+ | "menuitemcheckbox"
1170
+ | "menuitemradio"
1171
+ | "meter"
1172
+ | "navigation"
1173
+ | "none"
1174
+ | "note"
1175
+ | "option"
1176
+ | "presentation"
1177
+ | "progressbar"
1178
+ | "radio"
1179
+ | "radiogroup"
1180
+ | "region"
1181
+ | "row"
1182
+ | "rowgroup"
1183
+ | "rowheader"
1184
+ | "scrollbar"
1185
+ | "search"
1186
+ | "searchbox"
1187
+ | "separator"
1188
+ | "slider"
1189
+ | "spinbutton"
1190
+ | "status"
1191
+ | "switch"
1192
+ | "tab"
1193
+ | "table"
1194
+ | "tablist"
1195
+ | "tabpanel"
1196
+ | "term"
1197
+ | "textbox"
1198
+ | "timer"
1199
+ | "toolbar"
1200
+ | "tooltip"
1201
+ | "tree"
1202
+ | "treegrid"
1203
+ | "treeitem"
1204
+ | undefined;
809
1205
  }
810
1206
 
811
1207
  // TODO: Should we allow this?
@@ -823,7 +1219,13 @@ declare global {
823
1219
  autocapitalize?: HTMLAutocapitalize | undefined;
824
1220
  class?: string | undefined;
825
1221
  color?: string | undefined;
826
- contenteditable?: "true" | "false" | boolean | "plaintext-only" | "inherit" | undefined;
1222
+ contenteditable?:
1223
+ | "true"
1224
+ | "false"
1225
+ | boolean
1226
+ | "plaintext-only"
1227
+ | "inherit"
1228
+ | undefined;
827
1229
  contextmenu?: string | undefined;
828
1230
  datatype?: string | undefined;
829
1231
  dir?: HTMLDir | undefined;
@@ -833,7 +1235,16 @@ declare global {
833
1235
  id?: string | undefined;
834
1236
  inert?: boolean | undefined;
835
1237
  inlist?: any | undefined;
836
- inputmode?: "decimal" | "email" | "none" | "numeric" | "search" | "tel" | "text" | "url" | undefined;
1238
+ inputmode?:
1239
+ | "decimal"
1240
+ | "email"
1241
+ | "none"
1242
+ | "numeric"
1243
+ | "search"
1244
+ | "tel"
1245
+ | "text"
1246
+ | "url"
1247
+ | undefined;
837
1248
  is?: string | undefined;
838
1249
  itemid?: string | undefined;
839
1250
  itemprop?: string | undefined;
@@ -854,12 +1265,22 @@ declare global {
854
1265
  translate?: "yes" | "no" | undefined;
855
1266
  typeof?: string | undefined;
856
1267
  vocab?: string | undefined;
1268
+
857
1269
  accessKey?: string | undefined;
858
1270
  autoCapitalize?: HTMLAutocapitalize | undefined;
859
1271
  contentEditable?: boolean | "plaintext-only" | "inherit" | undefined;
860
1272
  contextMenu?: string | undefined;
861
1273
  exportParts?: string | undefined;
862
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
1274
+ inputMode?:
1275
+ | "none"
1276
+ | "text"
1277
+ | "tel"
1278
+ | "url"
1279
+ | "email"
1280
+ | "numeric"
1281
+ | "decimal"
1282
+ | "search"
1283
+ | undefined;
863
1284
  itemId?: string | undefined;
864
1285
  itemProp?: string | undefined;
865
1286
  itemRef?: string | undefined;
@@ -874,11 +1295,18 @@ declare global {
874
1295
  ping?: string | undefined;
875
1296
  referrerpolicy?: HTMLReferrerPolicy | undefined;
876
1297
  rel?: string | undefined;
877
- target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined;
1298
+ target?:
1299
+ | "_self"
1300
+ | "_blank"
1301
+ | "_parent"
1302
+ | "_top"
1303
+ | (string & {})
1304
+ | undefined;
878
1305
  type?: string | undefined;
879
1306
 
880
1307
  /** @experimental */
881
1308
  attributionsrc?: string | undefined;
1309
+
882
1310
  referrerPolicy?: HTMLReferrerPolicy | undefined;
883
1311
 
884
1312
  /** @deprecated */
@@ -902,10 +1330,17 @@ declare global {
902
1330
  referrerpolicy?: HTMLReferrerPolicy | undefined;
903
1331
  rel?: string | undefined;
904
1332
  shape?: "rect" | "circle" | "poly" | "default" | undefined;
905
- target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined;
1333
+ target?:
1334
+ | "_self"
1335
+ | "_blank"
1336
+ | "_parent"
1337
+ | "_top"
1338
+ | (string & {})
1339
+ | undefined;
906
1340
 
907
1341
  /** @experimental */
908
1342
  attributionsrc?: string | undefined;
1343
+
909
1344
  referrerPolicy?: HTMLReferrerPolicy | undefined;
910
1345
 
911
1346
  /** @deprecated */
@@ -913,12 +1348,21 @@ declare global {
913
1348
  }
914
1349
  interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
915
1350
  href?: string | undefined;
916
- target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined;
1351
+ target?:
1352
+ | "_self"
1353
+ | "_blank"
1354
+ | "_parent"
1355
+ | "_top"
1356
+ | (string & {})
1357
+ | undefined;
917
1358
  }
918
1359
  interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
919
1360
  cite?: string | undefined;
920
1361
  }
921
- interface BodyHTMLAttributes<T> extends HTMLAttributes<T>, WindowEventMap<T>, ElementEventMap<T> {}
1362
+ interface BodyHTMLAttributes<T>
1363
+ extends HTMLAttributes<T>,
1364
+ WindowEventMap<T>,
1365
+ ElementEventMap<T> {}
922
1366
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
923
1367
  autofocus?: boolean | undefined;
924
1368
  disabled?: boolean | undefined;
@@ -927,7 +1371,13 @@ declare global {
927
1371
  formenctype?: HTMLFormEncType | undefined;
928
1372
  formmethod?: HTMLFormMethod | undefined;
929
1373
  formnovalidate?: boolean | undefined;
930
- formtarget?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined;
1374
+ formtarget?:
1375
+ | "_self"
1376
+ | "_blank"
1377
+ | "_parent"
1378
+ | "_top"
1379
+ | (string & {})
1380
+ | undefined;
931
1381
  name?: string | undefined;
932
1382
  popovertarget?: string | undefined;
933
1383
  popovertargetaction?: "hide" | "show" | "toggle" | undefined;
@@ -935,9 +1385,17 @@ declare global {
935
1385
  value?: string | undefined;
936
1386
 
937
1387
  /** @experimental */
938
- command?: "show-modal" | "close" | "show-popover" | "hide-popover" | "toggle-popover" | (string & {}) | undefined;
1388
+ command?:
1389
+ | "show-modal"
1390
+ | "close"
1391
+ | "show-popover"
1392
+ | "hide-popover"
1393
+ | "toggle-popover"
1394
+ | (string & {})
1395
+ | undefined;
939
1396
  /** @experimental */
940
1397
  commandfor?: string | undefined;
1398
+
941
1399
  formAction?: string | SerializableAttributeValue | undefined;
942
1400
  formEnctype?: HTMLFormEncType | undefined;
943
1401
  formMethod?: HTMLFormMethod | undefined;
@@ -949,9 +1407,11 @@ declare global {
949
1407
  interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
950
1408
  height?: number | string | undefined;
951
1409
  width?: number | string | undefined;
1410
+
952
1411
  onContextLost?: EventHandlerUnion<T, Event> | undefined;
953
1412
  "on:contextlost"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
954
1413
  oncontextlost?: EventHandlerUnion<T, Event> | undefined;
1414
+
955
1415
  onContextRestored?: EventHandlerUnion<T, Event> | undefined;
956
1416
  "on:contextrestored"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
957
1417
  oncontextrestored?: EventHandlerUnion<T, Event> | undefined;
@@ -1015,9 +1475,11 @@ declare global {
1015
1475
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#usage_notes
1016
1476
  */
1017
1477
  tabindex?: never;
1478
+
1018
1479
  onClose?: EventHandlerUnion<T, Event> | undefined;
1019
1480
  "on:close"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1020
1481
  onclose?: EventHandlerUnion<T, Event> | undefined;
1482
+
1021
1483
  onCancel?: EventHandlerUnion<T, Event> | undefined;
1022
1484
  "on:cancel"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1023
1485
  oncancel?: EventHandlerUnion<T, Event> | undefined;
@@ -1048,10 +1510,20 @@ declare global {
1048
1510
  name?: string | undefined;
1049
1511
  novalidate?: boolean | undefined;
1050
1512
  rel?: string | undefined;
1051
- target?: "_self" | "_blank" | "_parent" | "_top" | (string & {}) | undefined;
1513
+ target?:
1514
+ | "_self"
1515
+ | "_blank"
1516
+ | "_parent"
1517
+ | "_top"
1518
+ | (string & {})
1519
+ | undefined;
1520
+
1052
1521
  onFormData?: EventHandlerUnion<T, FormDataEvent> | undefined;
1053
- "on:formdata"?: EventHandlerWithOptionsUnion<T, FormDataEvent> | undefined;
1522
+ "on:formdata"?:
1523
+ | EventHandlerWithOptionsUnion<T, FormDataEvent>
1524
+ | undefined;
1054
1525
  onformdata?: EventHandlerUnion<T, FormDataEvent> | undefined;
1526
+
1055
1527
  noValidate?: boolean | undefined;
1056
1528
 
1057
1529
  /** @deprecated */
@@ -1068,6 +1540,7 @@ declare global {
1068
1540
  src?: string | undefined;
1069
1541
  srcdoc?: string | undefined;
1070
1542
  width?: number | string | undefined;
1543
+
1071
1544
  referrerPolicy?: HTMLReferrerPolicy | undefined;
1072
1545
 
1073
1546
  /** @experimental */
@@ -1128,6 +1601,7 @@ declare global {
1128
1601
  attributionsrc?: string | undefined;
1129
1602
  /** @experimental */
1130
1603
  sharedstoragewritable?: boolean | undefined;
1604
+
1131
1605
  crossOrigin?: HTMLCrossorigin | undefined;
1132
1606
  isMap?: boolean | undefined;
1133
1607
  referrerPolicy?: HTMLReferrerPolicy | undefined;
@@ -1154,7 +1628,71 @@ declare global {
1154
1628
  interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1155
1629
  accept?: string | undefined;
1156
1630
  alt?: string | undefined;
1157
- autocomplete?: "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "billing" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "email" | "family-name" | "fax" | "given-name" | "home" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "mobile" | "name" | "new-password" | "nickname" | "off" | "on" | "organization" | "organization-title" | "pager" | "photo" | "postal-code" | "sex" | "shipping" | "street-address" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username" | "work" | (string & {}) | undefined;
1631
+ autocomplete?:
1632
+ | "additional-name"
1633
+ | "address-level1"
1634
+ | "address-level2"
1635
+ | "address-level3"
1636
+ | "address-level4"
1637
+ | "address-line1"
1638
+ | "address-line2"
1639
+ | "address-line3"
1640
+ | "bday"
1641
+ | "bday-day"
1642
+ | "bday-month"
1643
+ | "bday-year"
1644
+ | "billing"
1645
+ | "cc-additional-name"
1646
+ | "cc-csc"
1647
+ | "cc-exp"
1648
+ | "cc-exp-month"
1649
+ | "cc-exp-year"
1650
+ | "cc-family-name"
1651
+ | "cc-given-name"
1652
+ | "cc-name"
1653
+ | "cc-number"
1654
+ | "cc-type"
1655
+ | "country"
1656
+ | "country-name"
1657
+ | "current-password"
1658
+ | "email"
1659
+ | "family-name"
1660
+ | "fax"
1661
+ | "given-name"
1662
+ | "home"
1663
+ | "honorific-prefix"
1664
+ | "honorific-suffix"
1665
+ | "impp"
1666
+ | "language"
1667
+ | "mobile"
1668
+ | "name"
1669
+ | "new-password"
1670
+ | "nickname"
1671
+ | "off"
1672
+ | "on"
1673
+ | "organization"
1674
+ | "organization-title"
1675
+ | "pager"
1676
+ | "photo"
1677
+ | "postal-code"
1678
+ | "sex"
1679
+ | "shipping"
1680
+ | "street-address"
1681
+ | "tel"
1682
+ | "tel-area-code"
1683
+ | "tel-country-code"
1684
+ | "tel-extension"
1685
+ | "tel-local"
1686
+ | "tel-local-prefix"
1687
+ | "tel-local-suffix"
1688
+ | "tel-national"
1689
+ | "transaction-amount"
1690
+ | "transaction-currency"
1691
+ | "url"
1692
+ | "username"
1693
+ | "work"
1694
+ | (string & {})
1695
+ | undefined;
1158
1696
  autocorrect?: "on" | "off" | undefined;
1159
1697
  autofocus?: boolean | undefined;
1160
1698
  capture?: "user" | "environment" | undefined;
@@ -1162,7 +1700,15 @@ declare global {
1162
1700
  crossorigin?: HTMLCrossorigin | undefined;
1163
1701
  dirname?: string | undefined;
1164
1702
  disabled?: boolean | undefined;
1165
- enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
1703
+ enterkeyhint?:
1704
+ | "enter"
1705
+ | "done"
1706
+ | "go"
1707
+ | "next"
1708
+ | "previous"
1709
+ | "search"
1710
+ | "send"
1711
+ | undefined;
1166
1712
  form?: string | undefined;
1167
1713
  formaction?: string | SerializableAttributeValue | undefined;
1168
1714
  formenctype?: HTMLFormEncType | undefined;
@@ -1188,12 +1734,37 @@ declare global {
1188
1734
  size?: number | string | undefined;
1189
1735
  src?: string | undefined;
1190
1736
  step?: number | string | undefined;
1191
- type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | (string & {}) | undefined;
1737
+ type?:
1738
+ | "button"
1739
+ | "checkbox"
1740
+ | "color"
1741
+ | "date"
1742
+ | "datetime-local"
1743
+ | "email"
1744
+ | "file"
1745
+ | "hidden"
1746
+ | "image"
1747
+ | "month"
1748
+ | "number"
1749
+ | "password"
1750
+ | "radio"
1751
+ | "range"
1752
+ | "reset"
1753
+ | "search"
1754
+ | "submit"
1755
+ | "tel"
1756
+ | "text"
1757
+ | "time"
1758
+ | "url"
1759
+ | "week"
1760
+ | (string & {})
1761
+ | undefined;
1192
1762
  value?: string | string[] | number | undefined;
1193
1763
  width?: number | string | undefined;
1194
1764
 
1195
1765
  /** @non-standard */
1196
1766
  incremental?: boolean | undefined;
1767
+
1197
1768
  crossOrigin?: HTMLCrossorigin | undefined;
1198
1769
  formAction?: string | SerializableAttributeValue | undefined;
1199
1770
  formEnctype?: HTMLFormEncType | undefined;
@@ -1212,6 +1783,7 @@ declare global {
1212
1783
  interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1213
1784
  cite?: string | undefined;
1214
1785
  datetime?: string | undefined;
1786
+
1215
1787
  dateTime?: string | undefined;
1216
1788
  }
1217
1789
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -1256,6 +1828,7 @@ declare global {
1256
1828
  rel?: string | undefined;
1257
1829
  sizes?: string | undefined;
1258
1830
  type?: string | undefined;
1831
+
1259
1832
  crossOrigin?: HTMLCrossorigin | undefined;
1260
1833
  referrerPolicy?: HTMLReferrerPolicy | undefined;
1261
1834
 
@@ -1269,23 +1842,37 @@ declare global {
1269
1842
  interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1270
1843
  name?: string | undefined;
1271
1844
  }
1272
- interface MediaHTMLAttributes<T> extends HTMLAttributes<T>, ElementEventMap<T> {
1845
+ interface MediaHTMLAttributes<T>
1846
+ extends HTMLAttributes<T>,
1847
+ ElementEventMap<T> {
1273
1848
  autoplay?: boolean | undefined;
1274
1849
  controls?: boolean | undefined;
1275
- controlslist?: "nodownload" | "nofullscreen" | "noplaybackrate" | "noremoteplayback" | (string & {}) | undefined;
1850
+ controlslist?:
1851
+ | "nodownload"
1852
+ | "nofullscreen"
1853
+ | "noplaybackrate"
1854
+ | "noremoteplayback"
1855
+ | (string & {})
1856
+ | undefined;
1276
1857
  crossorigin?: HTMLCrossorigin | undefined;
1277
1858
  disableremoteplayback?: boolean | undefined;
1278
1859
  loop?: boolean | undefined;
1279
1860
  muted?: boolean | undefined;
1280
1861
  preload?: "none" | "metadata" | "auto" | "" | undefined;
1281
1862
  src?: string | undefined;
1863
+
1282
1864
  onEncrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined;
1283
- "on:encrypted"?: EventHandlerWithOptionsUnion<T, MediaEncryptedEvent> | undefined;
1865
+ "on:encrypted"?:
1866
+ | EventHandlerWithOptionsUnion<T, MediaEncryptedEvent>
1867
+ | undefined;
1284
1868
  onencrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined;
1869
+
1285
1870
  onWaitingForKey?: EventHandlerUnion<T, Event> | undefined;
1286
1871
  "on:waitingforkey"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1287
1872
  onwaitingforkey?: EventHandlerUnion<T, Event> | undefined;
1873
+
1288
1874
  crossOrigin?: HTMLCrossorigin | undefined;
1875
+
1289
1876
  mediaGroup?: string | undefined;
1290
1877
  /** @deprecated */
1291
1878
  mediagroup?: string | undefined;
@@ -1299,7 +1886,13 @@ declare global {
1299
1886
  type?: "context" | "toolbar" | undefined;
1300
1887
  }
1301
1888
  interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1302
- "http-equiv"?: "content-security-policy" | "content-type" | "default-style" | "x-ua-compatible" | "refresh" | undefined;
1889
+ "http-equiv"?:
1890
+ | "content-security-policy"
1891
+ | "content-type"
1892
+ | "default-style"
1893
+ | "x-ua-compatible"
1894
+ | "refresh"
1895
+ | undefined;
1303
1896
  charset?: string | undefined;
1304
1897
  content?: string | undefined;
1305
1898
  media?: string | undefined;
@@ -1327,6 +1920,7 @@ declare global {
1327
1920
  name?: string | undefined;
1328
1921
  type?: string | undefined;
1329
1922
  width?: number | string | undefined;
1923
+
1330
1924
  useMap?: string | undefined;
1331
1925
 
1332
1926
  /** @deprecated */
@@ -1407,10 +2001,16 @@ declare global {
1407
2001
  nonce?: string | undefined;
1408
2002
  referrerpolicy?: HTMLReferrerPolicy | undefined;
1409
2003
  src?: string | undefined;
1410
- type?: "importmap" | "module" | "speculationrules" | (string & {}) | undefined;
2004
+ type?:
2005
+ | "importmap"
2006
+ | "module"
2007
+ | "speculationrules"
2008
+ | (string & {})
2009
+ | undefined;
1411
2010
 
1412
2011
  /** @experimental */
1413
2012
  attributionsrc?: string | undefined;
2013
+
1414
2014
  crossOrigin?: HTMLCrossorigin | undefined;
1415
2015
  noModule?: boolean | undefined;
1416
2016
  referrerPolicy?: HTMLReferrerPolicy | undefined;
@@ -1459,6 +2059,7 @@ declare global {
1459
2059
  colspan?: number | string | undefined;
1460
2060
  headers?: string | undefined;
1461
2061
  rowspan?: number | string | undefined;
2062
+
1462
2063
  colSpan?: number | string | undefined;
1463
2064
  rowSpan?: number | string | undefined;
1464
2065
 
@@ -1497,13 +2098,85 @@ declare global {
1497
2098
  content?: DocumentFragment | undefined;
1498
2099
  }
1499
2100
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1500
- autocomplete?: "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "billing" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "email" | "family-name" | "fax" | "given-name" | "home" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "mobile" | "name" | "new-password" | "nickname" | "off" | "on" | "organization" | "organization-title" | "pager" | "photo" | "postal-code" | "sex" | "shipping" | "street-address" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national" | "transaction-amount" | "transaction-currency" | "url" | "username" | "work" | (string & {}) | undefined;
2101
+ autocomplete?:
2102
+ | "additional-name"
2103
+ | "address-level1"
2104
+ | "address-level2"
2105
+ | "address-level3"
2106
+ | "address-level4"
2107
+ | "address-line1"
2108
+ | "address-line2"
2109
+ | "address-line3"
2110
+ | "bday"
2111
+ | "bday-day"
2112
+ | "bday-month"
2113
+ | "bday-year"
2114
+ | "billing"
2115
+ | "cc-additional-name"
2116
+ | "cc-csc"
2117
+ | "cc-exp"
2118
+ | "cc-exp-month"
2119
+ | "cc-exp-year"
2120
+ | "cc-family-name"
2121
+ | "cc-given-name"
2122
+ | "cc-name"
2123
+ | "cc-number"
2124
+ | "cc-type"
2125
+ | "country"
2126
+ | "country-name"
2127
+ | "current-password"
2128
+ | "email"
2129
+ | "family-name"
2130
+ | "fax"
2131
+ | "given-name"
2132
+ | "home"
2133
+ | "honorific-prefix"
2134
+ | "honorific-suffix"
2135
+ | "impp"
2136
+ | "language"
2137
+ | "mobile"
2138
+ | "name"
2139
+ | "new-password"
2140
+ | "nickname"
2141
+ | "off"
2142
+ | "on"
2143
+ | "organization"
2144
+ | "organization-title"
2145
+ | "pager"
2146
+ | "photo"
2147
+ | "postal-code"
2148
+ | "sex"
2149
+ | "shipping"
2150
+ | "street-address"
2151
+ | "tel"
2152
+ | "tel-area-code"
2153
+ | "tel-country-code"
2154
+ | "tel-extension"
2155
+ | "tel-local"
2156
+ | "tel-local-prefix"
2157
+ | "tel-local-suffix"
2158
+ | "tel-national"
2159
+ | "transaction-amount"
2160
+ | "transaction-currency"
2161
+ | "url"
2162
+ | "username"
2163
+ | "work"
2164
+ | (string & {})
2165
+ | undefined;
1501
2166
  autocorrect?: "on" | "off" | undefined;
1502
2167
  autofocus?: boolean | undefined;
1503
2168
  cols?: number | string | undefined;
1504
2169
  dirname?: string | undefined;
1505
2170
  disabled?: boolean | undefined;
1506
- enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
2171
+ enterkeyhint?:
2172
+ | "enter"
2173
+ | "done"
2174
+ | "go"
2175
+ | "next"
2176
+ | "previous"
2177
+ | "search"
2178
+ | "send"
2179
+ | undefined;
1507
2180
  form?: string | undefined;
1508
2181
  maxlength?: number | string | undefined;
1509
2182
  minlength?: number | string | undefined;
@@ -1514,6 +2187,7 @@ declare global {
1514
2187
  rows?: number | string | undefined;
1515
2188
  value?: string | string[] | number | undefined;
1516
2189
  wrap?: "hard" | "soft" | "off" | undefined;
2190
+
1517
2191
  maxLength?: number | string | undefined;
1518
2192
  minLength?: number | string | undefined;
1519
2193
  readOnly?: boolean | undefined;
@@ -1524,6 +2198,7 @@ declare global {
1524
2198
  headers?: string | undefined;
1525
2199
  rowspan?: number | string | undefined;
1526
2200
  scope?: "col" | "row" | "rowgroup" | "colgroup" | undefined;
2201
+
1527
2202
  colSpan?: number | string | undefined;
1528
2203
  rowSpan?: number | string | undefined;
1529
2204
 
@@ -1548,14 +2223,27 @@ declare global {
1548
2223
  }
1549
2224
  interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
1550
2225
  datetime?: string | undefined;
2226
+
1551
2227
  dateTime?: string | undefined;
1552
2228
  }
1553
2229
  interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
1554
2230
  default?: boolean | undefined;
1555
- kind?: "alternative" | "descriptions" | "main" | "main-desc" | "translation" | "commentary" | "subtitles" | "captions" | "chapters" | "metadata" | undefined;
2231
+ kind?:
2232
+ | "alternative"
2233
+ | "descriptions"
2234
+ | "main"
2235
+ | "main-desc"
2236
+ | "translation"
2237
+ | "commentary"
2238
+ | "subtitles"
2239
+ | "captions"
2240
+ | "chapters"
2241
+ | "metadata"
2242
+ | undefined;
1556
2243
  label?: string | undefined;
1557
2244
  src?: string | undefined;
1558
2245
  srclang?: string | undefined;
2246
+
1559
2247
  mediaGroup?: string | undefined;
1560
2248
  /** @deprecated */
1561
2249
  mediagroup?: string | undefined;
@@ -1566,13 +2254,28 @@ declare global {
1566
2254
  playsinline?: boolean | undefined;
1567
2255
  poster?: string | undefined;
1568
2256
  width?: number | string | undefined;
1569
- onEnterPictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
1570
- "on:enterpictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined;
1571
- onenterpictureinpicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
1572
- onLeavePictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
1573
- "on:leavepictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined;
1574
- onleavepictureinpicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
2257
+
2258
+ onEnterPictureInPicture?:
2259
+ | EventHandlerUnion<T, PictureInPictureEvent>
2260
+ | undefined;
2261
+ "on:enterpictureinpicture"?:
2262
+ | EventHandlerWithOptionsUnion<T, PictureInPictureEvent>
2263
+ | undefined;
2264
+ onenterpictureinpicture?:
2265
+ | EventHandlerUnion<T, PictureInPictureEvent>
2266
+ | undefined;
2267
+
2268
+ onLeavePictureInPicture?:
2269
+ | EventHandlerUnion<T, PictureInPictureEvent>
2270
+ | undefined;
2271
+ "on:leavepictureinpicture"?:
2272
+ | EventHandlerWithOptionsUnion<T, PictureInPictureEvent>
2273
+ | undefined;
2274
+ onleavepictureinpicture?:
2275
+ | EventHandlerUnion<T, PictureInPictureEvent>
2276
+ | undefined;
1575
2277
  }
2278
+
1576
2279
  interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
1577
2280
  allowpopups?: boolean | undefined;
1578
2281
  disableblinkfeatures?: string | undefined;
@@ -1600,13 +2303,72 @@ declare global {
1600
2303
  /** @deprecated */
1601
2304
  guestinstance?: string | undefined;
1602
2305
  }
1603
- type SVGPreserveAspectRatio = "none" | "xMinYMin" | "xMidYMin" | "xMaxYMin" | "xMinYMid" | "xMidYMid" | "xMaxYMid" | "xMinYMax" | "xMidYMax" | "xMaxYMax" | "xMinYMin meet" | "xMidYMin meet" | "xMaxYMin meet" | "xMinYMid meet" | "xMidYMid meet" | "xMaxYMid meet" | "xMinYMax meet" | "xMidYMax meet" | "xMaxYMax meet" | "xMinYMin slice" | "xMidYMin slice" | "xMaxYMin slice" | "xMinYMid slice" | "xMidYMid slice" | "xMaxYMid slice" | "xMinYMax slice" | "xMidYMax slice" | "xMaxYMax slice";
1604
- type ImagePreserveAspectRatio = SVGPreserveAspectRatio | "defer none" | "defer xMinYMin" | "defer xMidYMin" | "defer xMaxYMin" | "defer xMinYMid" | "defer xMidYMid" | "defer xMaxYMid" | "defer xMinYMax" | "defer xMidYMax" | "defer xMaxYMax" | "defer xMinYMin meet" | "defer xMidYMin meet" | "defer xMaxYMin meet" | "defer xMinYMid meet" | "defer xMidYMid meet" | "defer xMaxYMid meet" | "defer xMinYMax meet" | "defer xMidYMax meet" | "defer xMaxYMax meet" | "defer xMinYMin slice" | "defer xMidYMin slice" | "defer xMaxYMin slice" | "defer xMinYMid slice" | "defer xMidYMid slice" | "defer xMaxYMid slice" | "defer xMinYMax slice" | "defer xMidYMax slice" | "defer xMaxYMax slice";
2306
+
2307
+ type SVGPreserveAspectRatio =
2308
+ | "none"
2309
+ | "xMinYMin"
2310
+ | "xMidYMin"
2311
+ | "xMaxYMin"
2312
+ | "xMinYMid"
2313
+ | "xMidYMid"
2314
+ | "xMaxYMid"
2315
+ | "xMinYMax"
2316
+ | "xMidYMax"
2317
+ | "xMaxYMax"
2318
+ | "xMinYMin meet"
2319
+ | "xMidYMin meet"
2320
+ | "xMaxYMin meet"
2321
+ | "xMinYMid meet"
2322
+ | "xMidYMid meet"
2323
+ | "xMaxYMid meet"
2324
+ | "xMinYMax meet"
2325
+ | "xMidYMax meet"
2326
+ | "xMaxYMax meet"
2327
+ | "xMinYMin slice"
2328
+ | "xMidYMin slice"
2329
+ | "xMaxYMin slice"
2330
+ | "xMinYMid slice"
2331
+ | "xMidYMid slice"
2332
+ | "xMaxYMid slice"
2333
+ | "xMinYMax slice"
2334
+ | "xMidYMax slice"
2335
+ | "xMaxYMax slice";
2336
+ type ImagePreserveAspectRatio =
2337
+ | SVGPreserveAspectRatio
2338
+ | "defer none"
2339
+ | "defer xMinYMin"
2340
+ | "defer xMidYMin"
2341
+ | "defer xMaxYMin"
2342
+ | "defer xMinYMid"
2343
+ | "defer xMidYMid"
2344
+ | "defer xMaxYMid"
2345
+ | "defer xMinYMax"
2346
+ | "defer xMidYMax"
2347
+ | "defer xMaxYMax"
2348
+ | "defer xMinYMin meet"
2349
+ | "defer xMidYMin meet"
2350
+ | "defer xMaxYMin meet"
2351
+ | "defer xMinYMid meet"
2352
+ | "defer xMidYMid meet"
2353
+ | "defer xMaxYMid meet"
2354
+ | "defer xMinYMax meet"
2355
+ | "defer xMidYMax meet"
2356
+ | "defer xMaxYMax meet"
2357
+ | "defer xMinYMin slice"
2358
+ | "defer xMidYMin slice"
2359
+ | "defer xMaxYMin slice"
2360
+ | "defer xMinYMid slice"
2361
+ | "defer xMidYMid slice"
2362
+ | "defer xMaxYMid slice"
2363
+ | "defer xMinYMax slice"
2364
+ | "defer xMidYMax slice"
2365
+ | "defer xMaxYMax slice";
1605
2366
  type SVGUnits = "userSpaceOnUse" | "objectBoundingBox";
1606
2367
  interface CoreSVGAttributes<T> extends AriaAttributes, DOMAttributes<T> {
1607
2368
  id?: string | undefined;
1608
2369
  lang?: string | undefined;
1609
2370
  tabindex?: number | string | undefined;
2371
+
1610
2372
  tabIndex?: number | string | undefined;
1611
2373
  }
1612
2374
  interface StylableSVGAttributes {
@@ -1654,15 +2416,55 @@ declare global {
1654
2416
  attributeType?: "CSS" | "XML" | "auto" | undefined;
1655
2417
  }
1656
2418
  interface PresentationSVGAttributes {
1657
- "alignment-baseline"?: "auto" | "baseline" | "before-edge" | "text-before-edge" | "middle" | "central" | "after-edge" | "text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit" | undefined;
2419
+ "alignment-baseline"?:
2420
+ | "auto"
2421
+ | "baseline"
2422
+ | "before-edge"
2423
+ | "text-before-edge"
2424
+ | "middle"
2425
+ | "central"
2426
+ | "after-edge"
2427
+ | "text-after-edge"
2428
+ | "ideographic"
2429
+ | "alphabetic"
2430
+ | "hanging"
2431
+ | "mathematical"
2432
+ | "inherit"
2433
+ | undefined;
1658
2434
  "baseline-shift"?: number | string | undefined;
1659
2435
  "clip-path"?: string | undefined;
1660
2436
  "clip-rule"?: "nonzero" | "evenodd" | "inherit" | undefined;
1661
- "color-interpolation"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined;
1662
- "color-interpolation-filters"?: "auto" | "sRGB" | "linearRGB" | "inherit" | undefined;
2437
+ "color-interpolation"?:
2438
+ | "auto"
2439
+ | "sRGB"
2440
+ | "linearRGB"
2441
+ | "inherit"
2442
+ | undefined;
2443
+ "color-interpolation-filters"?:
2444
+ | "auto"
2445
+ | "sRGB"
2446
+ | "linearRGB"
2447
+ | "inherit"
2448
+ | undefined;
1663
2449
  "color-profile"?: string | undefined;
1664
- "color-rendering"?: "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" | undefined;
1665
- "dominant-baseline"?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "mathematical" | "hanging" | "text-top" | "inherit" | undefined;
2450
+ "color-rendering"?:
2451
+ | "auto"
2452
+ | "optimizeSpeed"
2453
+ | "optimizeQuality"
2454
+ | "inherit"
2455
+ | undefined;
2456
+ "dominant-baseline"?:
2457
+ | "auto"
2458
+ | "text-bottom"
2459
+ | "alphabetic"
2460
+ | "ideographic"
2461
+ | "middle"
2462
+ | "central"
2463
+ | "mathematical"
2464
+ | "hanging"
2465
+ | "text-top"
2466
+ | "inherit"
2467
+ | undefined;
1666
2468
  "enable-background"?: string | undefined;
1667
2469
  "fill-opacity"?: number | string | "inherit" | undefined;
1668
2470
  "fill-rule"?: "nonzero" | "evenodd" | "inherit" | undefined;
@@ -1677,29 +2479,81 @@ declare global {
1677
2479
  "font-weight"?: number | string | undefined;
1678
2480
  "glyph-orientation-horizontal"?: string | undefined;
1679
2481
  "glyph-orientation-vertical"?: string | undefined;
1680
- "image-rendering"?: "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit" | undefined;
2482
+ "image-rendering"?:
2483
+ | "auto"
2484
+ | "optimizeQuality"
2485
+ | "optimizeSpeed"
2486
+ | "inherit"
2487
+ | undefined;
1681
2488
  "letter-spacing"?: number | string | undefined;
1682
2489
  "lighting-color"?: string | undefined;
1683
2490
  "marker-end"?: string | undefined;
1684
2491
  "marker-mid"?: string | undefined;
1685
2492
  "marker-start"?: string | undefined;
1686
- "pointer-events"?: "bounding-box" | "visiblePainted" | "visibleFill" | "visibleStroke" | "visible" | "painted" | "color" | "fill" | "stroke" | "all" | "none" | "inherit" | undefined;
1687
- "shape-rendering"?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit" | undefined;
2493
+ "pointer-events"?:
2494
+ | "bounding-box"
2495
+ | "visiblePainted"
2496
+ | "visibleFill"
2497
+ | "visibleStroke"
2498
+ | "visible"
2499
+ | "painted"
2500
+ | "color"
2501
+ | "fill"
2502
+ | "stroke"
2503
+ | "all"
2504
+ | "none"
2505
+ | "inherit"
2506
+ | undefined;
2507
+ "shape-rendering"?:
2508
+ | "auto"
2509
+ | "optimizeSpeed"
2510
+ | "crispEdges"
2511
+ | "geometricPrecision"
2512
+ | "inherit"
2513
+ | undefined;
1688
2514
  "stop-color"?: string | undefined;
1689
2515
  "stop-opacity"?: number | string | "inherit" | undefined;
1690
2516
  "stroke-dasharray"?: string | undefined;
1691
2517
  "stroke-dashoffset"?: number | string | undefined;
1692
2518
  "stroke-linecap"?: "butt" | "round" | "square" | "inherit" | undefined;
1693
- "stroke-linejoin"?: "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit" | undefined;
2519
+ "stroke-linejoin"?:
2520
+ | "arcs"
2521
+ | "bevel"
2522
+ | "miter"
2523
+ | "miter-clip"
2524
+ | "round"
2525
+ | "inherit"
2526
+ | undefined;
1694
2527
  "stroke-miterlimit"?: number | string | "inherit" | undefined;
1695
2528
  "stroke-opacity"?: number | string | "inherit" | undefined;
1696
2529
  "stroke-width"?: number | string | undefined;
1697
2530
  "text-anchor"?: "start" | "middle" | "end" | "inherit" | undefined;
1698
- "text-decoration"?: "none" | "underline" | "overline" | "line-through" | "blink" | "inherit" | undefined;
1699
- "text-rendering"?: "auto" | "optimizeSpeed" | "optimizeLegibility" | "geometricPrecision" | "inherit" | undefined;
2531
+ "text-decoration"?:
2532
+ | "none"
2533
+ | "underline"
2534
+ | "overline"
2535
+ | "line-through"
2536
+ | "blink"
2537
+ | "inherit"
2538
+ | undefined;
2539
+ "text-rendering"?:
2540
+ | "auto"
2541
+ | "optimizeSpeed"
2542
+ | "optimizeLegibility"
2543
+ | "geometricPrecision"
2544
+ | "inherit"
2545
+ | undefined;
1700
2546
  "unicode-bidi"?: string | undefined;
1701
2547
  "word-spacing"?: number | string | undefined;
1702
- "writing-mode"?: "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit" | undefined;
2548
+ "writing-mode"?:
2549
+ | "lr-tb"
2550
+ | "rl-tb"
2551
+ | "tb-rl"
2552
+ | "lr"
2553
+ | "rl"
2554
+ | "tb"
2555
+ | "inherit"
2556
+ | undefined;
1703
2557
  clip?: string | undefined;
1704
2558
  color?: string | undefined;
1705
2559
  cursor?: string | undefined;
@@ -1710,14 +2564,38 @@ declare global {
1710
2564
  kerning?: string | undefined;
1711
2565
  mask?: string | undefined;
1712
2566
  opacity?: number | string | "inherit" | undefined;
1713
- overflow?: "visible" | "hidden" | "scroll" | "auto" | "inherit" | undefined;
2567
+ overflow?:
2568
+ | "visible"
2569
+ | "hidden"
2570
+ | "scroll"
2571
+ | "auto"
2572
+ | "inherit"
2573
+ | undefined;
1714
2574
  pathLength?: string | number | undefined;
1715
2575
  stroke?: string | undefined;
1716
2576
  visibility?: "visible" | "hidden" | "collapse" | "inherit" | undefined;
1717
2577
  }
1718
- interface AnimationElementSVGAttributes<T> extends CoreSVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {}
1719
- interface ContainerElementSVGAttributes<T> extends CoreSVGAttributes<T>, ShapeElementSVGAttributes<T>, Pick<PresentationSVGAttributes, "clip-path" | "mask" | "cursor" | "opacity" | "filter" | "enable-background" | "color-interpolation" | "color-rendering"> {}
1720
- interface FilterPrimitiveElementSVGAttributes<T> extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2578
+ interface AnimationElementSVGAttributes<T>
2579
+ extends CoreSVGAttributes<T>,
2580
+ ExternalResourceSVGAttributes,
2581
+ ConditionalProcessingSVGAttributes {}
2582
+ interface ContainerElementSVGAttributes<T>
2583
+ extends CoreSVGAttributes<T>,
2584
+ ShapeElementSVGAttributes<T>,
2585
+ Pick<
2586
+ PresentationSVGAttributes,
2587
+ | "clip-path"
2588
+ | "mask"
2589
+ | "cursor"
2590
+ | "opacity"
2591
+ | "filter"
2592
+ | "enable-background"
2593
+ | "color-interpolation"
2594
+ | "color-rendering"
2595
+ > {}
2596
+ interface FilterPrimitiveElementSVGAttributes<T>
2597
+ extends CoreSVGAttributes<T>,
2598
+ Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
1721
2599
  height?: number | string | undefined;
1722
2600
  result?: string | undefined;
1723
2601
  width?: number | string | undefined;
@@ -1735,19 +2613,89 @@ declare global {
1735
2613
  preserveAspectRatio?: SVGPreserveAspectRatio | undefined;
1736
2614
  viewBox?: string | undefined;
1737
2615
  }
1738
- interface GradientElementSVGAttributes<T> extends CoreSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2616
+ interface GradientElementSVGAttributes<T>
2617
+ extends CoreSVGAttributes<T>,
2618
+ ExternalResourceSVGAttributes,
2619
+ StylableSVGAttributes {
1739
2620
  gradientTransform?: string | undefined;
1740
2621
  gradientUnits?: SVGUnits | undefined;
1741
2622
  href?: string | undefined;
1742
2623
  spreadMethod?: "pad" | "reflect" | "repeat" | undefined;
1743
2624
  }
1744
- interface GraphicsElementSVGAttributes<T> extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "clip-rule" | "mask" | "pointer-events" | "cursor" | "opacity" | "filter" | "display" | "visibility" | "color-interpolation" | "color-rendering"> {}
2625
+ interface GraphicsElementSVGAttributes<T>
2626
+ extends CoreSVGAttributes<T>,
2627
+ Pick<
2628
+ PresentationSVGAttributes,
2629
+ | "clip-rule"
2630
+ | "mask"
2631
+ | "pointer-events"
2632
+ | "cursor"
2633
+ | "opacity"
2634
+ | "filter"
2635
+ | "display"
2636
+ | "visibility"
2637
+ | "color-interpolation"
2638
+ | "color-rendering"
2639
+ > {}
1745
2640
  interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
1746
- interface NewViewportSVGAttributes<T> extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2641
+ interface NewViewportSVGAttributes<T>
2642
+ extends CoreSVGAttributes<T>,
2643
+ Pick<PresentationSVGAttributes, "overflow" | "clip"> {
1747
2644
  viewBox?: string | undefined;
1748
2645
  }
1749
- interface ShapeElementSVGAttributes<T> extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "color" | "fill" | "fill-rule" | "fill-opacity" | "stroke" | "stroke-width" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-opacity" | "shape-rendering" | "pathLength"> {}
1750
- interface TextContentElementSVGAttributes<T> extends CoreSVGAttributes<T>, Pick<PresentationSVGAttributes, "font-family" | "font-style" | "font-variant" | "font-weight" | "font-stretch" | "font-size" | "font-size-adjust" | "kerning" | "letter-spacing" | "word-spacing" | "text-decoration" | "glyph-orientation-horizontal" | "glyph-orientation-vertical" | "direction" | "unicode-bidi" | "text-anchor" | "dominant-baseline" | "color" | "fill" | "fill-rule" | "fill-opacity" | "stroke" | "stroke-width" | "stroke-linecap" | "stroke-linejoin" | "stroke-miterlimit" | "stroke-dasharray" | "stroke-dashoffset" | "stroke-opacity"> {}
2646
+ interface ShapeElementSVGAttributes<T>
2647
+ extends CoreSVGAttributes<T>,
2648
+ Pick<
2649
+ PresentationSVGAttributes,
2650
+ | "color"
2651
+ | "fill"
2652
+ | "fill-rule"
2653
+ | "fill-opacity"
2654
+ | "stroke"
2655
+ | "stroke-width"
2656
+ | "stroke-linecap"
2657
+ | "stroke-linejoin"
2658
+ | "stroke-miterlimit"
2659
+ | "stroke-dasharray"
2660
+ | "stroke-dashoffset"
2661
+ | "stroke-opacity"
2662
+ | "shape-rendering"
2663
+ | "pathLength"
2664
+ > {}
2665
+ interface TextContentElementSVGAttributes<T>
2666
+ extends CoreSVGAttributes<T>,
2667
+ Pick<
2668
+ PresentationSVGAttributes,
2669
+ | "font-family"
2670
+ | "font-style"
2671
+ | "font-variant"
2672
+ | "font-weight"
2673
+ | "font-stretch"
2674
+ | "font-size"
2675
+ | "font-size-adjust"
2676
+ | "kerning"
2677
+ | "letter-spacing"
2678
+ | "word-spacing"
2679
+ | "text-decoration"
2680
+ | "glyph-orientation-horizontal"
2681
+ | "glyph-orientation-vertical"
2682
+ | "direction"
2683
+ | "unicode-bidi"
2684
+ | "text-anchor"
2685
+ | "dominant-baseline"
2686
+ | "color"
2687
+ | "fill"
2688
+ | "fill-rule"
2689
+ | "fill-opacity"
2690
+ | "stroke"
2691
+ | "stroke-width"
2692
+ | "stroke-linecap"
2693
+ | "stroke-linejoin"
2694
+ | "stroke-miterlimit"
2695
+ | "stroke-dasharray"
2696
+ | "stroke-dashoffset"
2697
+ | "stroke-opacity"
2698
+ > {}
1751
2699
  interface ZoomAndPanSVGAttributes {
1752
2700
  /**
1753
2701
  * @deprecated
@@ -1755,48 +2703,125 @@ declare global {
1755
2703
  */
1756
2704
  zoomAndPan?: "disable" | "magnify" | undefined;
1757
2705
  }
1758
- interface AnimateSVGAttributes<T> extends AnimationElementSVGAttributes<T>, AnimationAttributeTargetSVGAttributes, AnimationTimingSVGAttributes, AnimationValueSVGAttributes, AnimationAdditionSVGAttributes, Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
1759
- interface AnimateMotionSVGAttributes<T> extends AnimationElementSVGAttributes<T>, AnimationTimingSVGAttributes, AnimationValueSVGAttributes, AnimationAdditionSVGAttributes {
2706
+ interface AnimateSVGAttributes<T>
2707
+ extends AnimationElementSVGAttributes<T>,
2708
+ AnimationAttributeTargetSVGAttributes,
2709
+ AnimationTimingSVGAttributes,
2710
+ AnimationValueSVGAttributes,
2711
+ AnimationAdditionSVGAttributes,
2712
+ Pick<
2713
+ PresentationSVGAttributes,
2714
+ "color-interpolation" | "color-rendering"
2715
+ > {}
2716
+ interface AnimateMotionSVGAttributes<T>
2717
+ extends AnimationElementSVGAttributes<T>,
2718
+ AnimationTimingSVGAttributes,
2719
+ AnimationValueSVGAttributes,
2720
+ AnimationAdditionSVGAttributes {
1760
2721
  keyPoints?: string | undefined;
1761
2722
  origin?: "default" | undefined;
1762
2723
  path?: string | undefined;
1763
2724
  rotate?: number | string | "auto" | "auto-reverse" | undefined;
1764
2725
  }
1765
- interface AnimateTransformSVGAttributes<T> extends AnimationElementSVGAttributes<T>, AnimationAttributeTargetSVGAttributes, AnimationTimingSVGAttributes, AnimationValueSVGAttributes, AnimationAdditionSVGAttributes {
2726
+ interface AnimateTransformSVGAttributes<T>
2727
+ extends AnimationElementSVGAttributes<T>,
2728
+ AnimationAttributeTargetSVGAttributes,
2729
+ AnimationTimingSVGAttributes,
2730
+ AnimationValueSVGAttributes,
2731
+ AnimationAdditionSVGAttributes {
1766
2732
  type?: "translate" | "scale" | "rotate" | "skewX" | "skewY" | undefined;
1767
2733
  }
1768
- interface CircleSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path"> {
2734
+ interface CircleSVGAttributes<T>
2735
+ extends GraphicsElementSVGAttributes<T>,
2736
+ ShapeElementSVGAttributes<T>,
2737
+ ConditionalProcessingSVGAttributes,
2738
+ StylableSVGAttributes,
2739
+ TransformableSVGAttributes,
2740
+ Pick<PresentationSVGAttributes, "clip-path"> {
1769
2741
  cx?: number | string | undefined;
1770
2742
  cy?: number | string | undefined;
1771
2743
  r?: number | string | undefined;
1772
2744
  }
1773
- interface ClipPathSVGAttributes<T> extends CoreSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path"> {
2745
+ interface ClipPathSVGAttributes<T>
2746
+ extends CoreSVGAttributes<T>,
2747
+ ConditionalProcessingSVGAttributes,
2748
+ ExternalResourceSVGAttributes,
2749
+ StylableSVGAttributes,
2750
+ TransformableSVGAttributes,
2751
+ Pick<PresentationSVGAttributes, "clip-path"> {
1774
2752
  clipPathUnits?: SVGUnits | undefined;
1775
2753
  }
1776
- interface DefsSVGAttributes<T> extends ContainerElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes {}
1777
- interface DescSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes {}
1778
- interface EllipseSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path"> {
2754
+ interface DefsSVGAttributes<T>
2755
+ extends ContainerElementSVGAttributes<T>,
2756
+ ConditionalProcessingSVGAttributes,
2757
+ ExternalResourceSVGAttributes,
2758
+ StylableSVGAttributes,
2759
+ TransformableSVGAttributes {}
2760
+ interface DescSVGAttributes<T>
2761
+ extends CoreSVGAttributes<T>,
2762
+ StylableSVGAttributes {}
2763
+ interface EllipseSVGAttributes<T>
2764
+ extends GraphicsElementSVGAttributes<T>,
2765
+ ShapeElementSVGAttributes<T>,
2766
+ ConditionalProcessingSVGAttributes,
2767
+ ExternalResourceSVGAttributes,
2768
+ StylableSVGAttributes,
2769
+ TransformableSVGAttributes,
2770
+ Pick<PresentationSVGAttributes, "clip-path"> {
1779
2771
  cx?: number | string | undefined;
1780
2772
  cy?: number | string | undefined;
1781
2773
  rx?: number | string | undefined;
1782
2774
  ry?: number | string | undefined;
1783
2775
  }
1784
- interface FeBlendSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, DoubleInputFilterSVGAttributes, StylableSVGAttributes {
1785
- mode?: "normal" | "multiply" | "screen" | "darken" | "lighten" | undefined;
1786
- }
1787
- interface FeColorMatrixSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {
1788
- type?: "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | undefined;
2776
+ interface FeBlendSVGAttributes<T>
2777
+ extends FilterPrimitiveElementSVGAttributes<T>,
2778
+ DoubleInputFilterSVGAttributes,
2779
+ StylableSVGAttributes {
2780
+ mode?:
2781
+ | "normal"
2782
+ | "multiply"
2783
+ | "screen"
2784
+ | "darken"
2785
+ | "lighten"
2786
+ | undefined;
2787
+ }
2788
+ interface FeColorMatrixSVGAttributes<T>
2789
+ extends FilterPrimitiveElementSVGAttributes<T>,
2790
+ SingleInputFilterSVGAttributes,
2791
+ StylableSVGAttributes {
2792
+ type?:
2793
+ | "matrix"
2794
+ | "saturate"
2795
+ | "hueRotate"
2796
+ | "luminanceToAlpha"
2797
+ | undefined;
1789
2798
  values?: string | undefined;
1790
2799
  }
1791
- interface FeComponentTransferSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {}
1792
- interface FeCompositeSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, DoubleInputFilterSVGAttributes, StylableSVGAttributes {
2800
+ interface FeComponentTransferSVGAttributes<T>
2801
+ extends FilterPrimitiveElementSVGAttributes<T>,
2802
+ SingleInputFilterSVGAttributes,
2803
+ StylableSVGAttributes {}
2804
+ interface FeCompositeSVGAttributes<T>
2805
+ extends FilterPrimitiveElementSVGAttributes<T>,
2806
+ DoubleInputFilterSVGAttributes,
2807
+ StylableSVGAttributes {
1793
2808
  k1?: number | string | undefined;
1794
2809
  k2?: number | string | undefined;
1795
2810
  k3?: number | string | undefined;
1796
2811
  k4?: number | string | undefined;
1797
- operator?: "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | undefined;
1798
- }
1799
- interface FeConvolveMatrixSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {
2812
+ operator?:
2813
+ | "over"
2814
+ | "in"
2815
+ | "out"
2816
+ | "atop"
2817
+ | "xor"
2818
+ | "arithmetic"
2819
+ | undefined;
2820
+ }
2821
+ interface FeConvolveMatrixSVGAttributes<T>
2822
+ extends FilterPrimitiveElementSVGAttributes<T>,
2823
+ SingleInputFilterSVGAttributes,
2824
+ StylableSVGAttributes {
1800
2825
  bias?: number | string | undefined;
1801
2826
  divisor?: number | string | undefined;
1802
2827
  edgeMode?: "duplicate" | "wrap" | "none" | undefined;
@@ -1807,26 +2832,47 @@ declare global {
1807
2832
  targetX?: number | string | undefined;
1808
2833
  targetY?: number | string | undefined;
1809
2834
  }
1810
- interface FeDiffuseLightingSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes, Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2835
+ interface FeDiffuseLightingSVGAttributes<T>
2836
+ extends FilterPrimitiveElementSVGAttributes<T>,
2837
+ SingleInputFilterSVGAttributes,
2838
+ StylableSVGAttributes,
2839
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
1811
2840
  diffuseConstant?: number | string | undefined;
1812
2841
  kernelUnitLength?: number | string | undefined;
1813
2842
  surfaceScale?: number | string | undefined;
1814
2843
  }
1815
- interface FeDisplacementMapSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, DoubleInputFilterSVGAttributes, StylableSVGAttributes {
2844
+ interface FeDisplacementMapSVGAttributes<T>
2845
+ extends FilterPrimitiveElementSVGAttributes<T>,
2846
+ DoubleInputFilterSVGAttributes,
2847
+ StylableSVGAttributes {
1816
2848
  scale?: number | string | undefined;
1817
2849
  xChannelSelector?: "R" | "G" | "B" | "A" | undefined;
1818
2850
  yChannelSelector?: "R" | "G" | "B" | "A" | undefined;
1819
2851
  }
1820
- interface FeDistantLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2852
+ interface FeDistantLightSVGAttributes<T>
2853
+ extends LightSourceElementSVGAttributes<T> {
1821
2854
  azimuth?: number | string | undefined;
1822
2855
  elevation?: number | string | undefined;
1823
2856
  }
1824
- interface FeDropShadowSVGAttributes<T> extends CoreSVGAttributes<T>, FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes, Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
2857
+ interface FeDropShadowSVGAttributes<T>
2858
+ extends CoreSVGAttributes<T>,
2859
+ FilterPrimitiveElementSVGAttributes<T>,
2860
+ StylableSVGAttributes,
2861
+ Pick<
2862
+ PresentationSVGAttributes,
2863
+ "color" | "flood-color" | "flood-opacity"
2864
+ > {
1825
2865
  dx?: number | string | undefined;
1826
2866
  dy?: number | string | undefined;
1827
2867
  stdDeviation?: number | string | undefined;
1828
2868
  }
1829
- interface FeFloodSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes, Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2869
+ interface FeFloodSVGAttributes<T>
2870
+ extends FilterPrimitiveElementSVGAttributes<T>,
2871
+ StylableSVGAttributes,
2872
+ Pick<
2873
+ PresentationSVGAttributes,
2874
+ "color" | "flood-color" | "flood-opacity"
2875
+ > {}
1830
2876
  interface FeFuncSVGAttributes<T> extends CoreSVGAttributes<T> {
1831
2877
  amplitude?: number | string | undefined;
1832
2878
  exponent?: number | string | undefined;
@@ -1836,35 +2882,57 @@ declare global {
1836
2882
  tableValues?: string | undefined;
1837
2883
  type?: "identity" | "table" | "discrete" | "linear" | "gamma" | undefined;
1838
2884
  }
1839
- interface FeGaussianBlurSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {
2885
+ interface FeGaussianBlurSVGAttributes<T>
2886
+ extends FilterPrimitiveElementSVGAttributes<T>,
2887
+ SingleInputFilterSVGAttributes,
2888
+ StylableSVGAttributes {
1840
2889
  stdDeviation?: number | string | undefined;
1841
2890
  }
1842
- interface FeImageSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2891
+ interface FeImageSVGAttributes<T>
2892
+ extends FilterPrimitiveElementSVGAttributes<T>,
2893
+ ExternalResourceSVGAttributes,
2894
+ StylableSVGAttributes {
1843
2895
  href?: string | undefined;
1844
2896
  preserveAspectRatio?: SVGPreserveAspectRatio | undefined;
1845
2897
  }
1846
- interface FeMergeSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
1847
- interface FeMergeNodeSVGAttributes<T> extends CoreSVGAttributes<T>, SingleInputFilterSVGAttributes {}
1848
- interface FeMorphologySVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {
2898
+ interface FeMergeSVGAttributes<T>
2899
+ extends FilterPrimitiveElementSVGAttributes<T>,
2900
+ StylableSVGAttributes {}
2901
+ interface FeMergeNodeSVGAttributes<T>
2902
+ extends CoreSVGAttributes<T>,
2903
+ SingleInputFilterSVGAttributes {}
2904
+ interface FeMorphologySVGAttributes<T>
2905
+ extends FilterPrimitiveElementSVGAttributes<T>,
2906
+ SingleInputFilterSVGAttributes,
2907
+ StylableSVGAttributes {
1849
2908
  operator?: "erode" | "dilate" | undefined;
1850
2909
  radius?: number | string | undefined;
1851
2910
  }
1852
- interface FeOffsetSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {
2911
+ interface FeOffsetSVGAttributes<T>
2912
+ extends FilterPrimitiveElementSVGAttributes<T>,
2913
+ SingleInputFilterSVGAttributes,
2914
+ StylableSVGAttributes {
1853
2915
  dx?: number | string | undefined;
1854
2916
  dy?: number | string | undefined;
1855
2917
  }
1856
- interface FePointLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2918
+ interface FePointLightSVGAttributes<T>
2919
+ extends LightSourceElementSVGAttributes<T> {
1857
2920
  x?: number | string | undefined;
1858
2921
  y?: number | string | undefined;
1859
2922
  z?: number | string | undefined;
1860
2923
  }
1861
- interface FeSpecularLightingSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes, Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2924
+ interface FeSpecularLightingSVGAttributes<T>
2925
+ extends FilterPrimitiveElementSVGAttributes<T>,
2926
+ SingleInputFilterSVGAttributes,
2927
+ StylableSVGAttributes,
2928
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
1862
2929
  kernelUnitLength?: number | string | undefined;
1863
2930
  specularConstant?: string | undefined;
1864
2931
  specularExponent?: string | undefined;
1865
2932
  surfaceScale?: string | undefined;
1866
2933
  }
1867
- interface FeSpotLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2934
+ interface FeSpotLightSVGAttributes<T>
2935
+ extends LightSourceElementSVGAttributes<T> {
1868
2936
  limitingConeAngle?: number | string | undefined;
1869
2937
  pointsAtX?: number | string | undefined;
1870
2938
  pointsAtY?: number | string | undefined;
@@ -1874,15 +2942,23 @@ declare global {
1874
2942
  y?: number | string | undefined;
1875
2943
  z?: number | string | undefined;
1876
2944
  }
1877
- interface FeTileSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, SingleInputFilterSVGAttributes, StylableSVGAttributes {}
1878
- interface FeTurbulanceSVGAttributes<T> extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2945
+ interface FeTileSVGAttributes<T>
2946
+ extends FilterPrimitiveElementSVGAttributes<T>,
2947
+ SingleInputFilterSVGAttributes,
2948
+ StylableSVGAttributes {}
2949
+ interface FeTurbulanceSVGAttributes<T>
2950
+ extends FilterPrimitiveElementSVGAttributes<T>,
2951
+ StylableSVGAttributes {
1879
2952
  baseFrequency?: number | string | undefined;
1880
2953
  numOctaves?: number | string | undefined;
1881
2954
  seed?: number | string | undefined;
1882
2955
  stitchTiles?: "stitch" | "noStitch" | undefined;
1883
2956
  type?: "fractalNoise" | "turbulence" | undefined;
1884
2957
  }
1885
- interface FilterSVGAttributes<T> extends CoreSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2958
+ interface FilterSVGAttributes<T>
2959
+ extends CoreSVGAttributes<T>,
2960
+ ExternalResourceSVGAttributes,
2961
+ StylableSVGAttributes {
1886
2962
  filterRes?: number | string | undefined;
1887
2963
  filterUnits?: SVGUnits | undefined;
1888
2964
  height?: number | string | undefined;
@@ -1891,14 +2967,38 @@ declare global {
1891
2967
  x?: number | string | undefined;
1892
2968
  y?: number | string | undefined;
1893
2969
  }
1894
- interface ForeignObjectSVGAttributes<T> extends NewViewportSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "display" | "visibility"> {
2970
+ interface ForeignObjectSVGAttributes<T>
2971
+ extends NewViewportSVGAttributes<T>,
2972
+ ConditionalProcessingSVGAttributes,
2973
+ ExternalResourceSVGAttributes,
2974
+ StylableSVGAttributes,
2975
+ TransformableSVGAttributes,
2976
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {
1895
2977
  height?: number | string | undefined;
1896
2978
  width?: number | string | undefined;
1897
2979
  x?: number | string | undefined;
1898
2980
  y?: number | string | undefined;
1899
2981
  }
1900
- interface GSVGAttributes<T> extends ContainerElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
1901
- interface ImageSVGAttributes<T> extends NewViewportSVGAttributes<T>, GraphicsElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "color-profile" | "image-rendering"> {
2982
+ interface GSVGAttributes<T>
2983
+ extends ContainerElementSVGAttributes<T>,
2984
+ ConditionalProcessingSVGAttributes,
2985
+ ExternalResourceSVGAttributes,
2986
+ StylableSVGAttributes,
2987
+ TransformableSVGAttributes,
2988
+ Pick<
2989
+ PresentationSVGAttributes,
2990
+ "clip-path" | "display" | "visibility"
2991
+ > {}
2992
+ interface ImageSVGAttributes<T>
2993
+ extends NewViewportSVGAttributes<T>,
2994
+ GraphicsElementSVGAttributes<T>,
2995
+ ConditionalProcessingSVGAttributes,
2996
+ StylableSVGAttributes,
2997
+ TransformableSVGAttributes,
2998
+ Pick<
2999
+ PresentationSVGAttributes,
3000
+ "clip-path" | "color-profile" | "image-rendering"
3001
+ > {
1902
3002
  height?: number | string | undefined;
1903
3003
  href?: string | undefined;
1904
3004
  preserveAspectRatio?: ImagePreserveAspectRatio | undefined;
@@ -1906,19 +3006,35 @@ declare global {
1906
3006
  x?: number | string | undefined;
1907
3007
  y?: number | string | undefined;
1908
3008
  }
1909
- interface LineSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
3009
+ interface LineSVGAttributes<T>
3010
+ extends GraphicsElementSVGAttributes<T>,
3011
+ ShapeElementSVGAttributes<T>,
3012
+ ConditionalProcessingSVGAttributes,
3013
+ ExternalResourceSVGAttributes,
3014
+ StylableSVGAttributes,
3015
+ TransformableSVGAttributes,
3016
+ Pick<
3017
+ PresentationSVGAttributes,
3018
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
3019
+ > {
1910
3020
  x1?: number | string | undefined;
1911
3021
  x2?: number | string | undefined;
1912
3022
  y1?: number | string | undefined;
1913
3023
  y2?: number | string | undefined;
1914
3024
  }
1915
- interface LinearGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
3025
+ interface LinearGradientSVGAttributes<T>
3026
+ extends GradientElementSVGAttributes<T> {
1916
3027
  x1?: number | string | undefined;
1917
3028
  x2?: number | string | undefined;
1918
3029
  y1?: number | string | undefined;
1919
3030
  y2?: number | string | undefined;
1920
3031
  }
1921
- interface MarkerSVGAttributes<T> extends ContainerElementSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
3032
+ interface MarkerSVGAttributes<T>
3033
+ extends ContainerElementSVGAttributes<T>,
3034
+ ExternalResourceSVGAttributes,
3035
+ StylableSVGAttributes,
3036
+ FitToViewBoxSVGAttributes,
3037
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
1922
3038
  markerHeight?: number | string | undefined;
1923
3039
  markerUnits?: "strokeWidth" | "userSpaceOnUse" | undefined;
1924
3040
  markerWidth?: number | string | undefined;
@@ -1926,7 +3042,12 @@ declare global {
1926
3042
  refX?: number | string | undefined;
1927
3043
  refY?: number | string | undefined;
1928
3044
  }
1929
- interface MaskSVGAttributes<T> extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path"> {
3045
+ interface MaskSVGAttributes<T>
3046
+ extends Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
3047
+ ConditionalProcessingSVGAttributes,
3048
+ ExternalResourceSVGAttributes,
3049
+ StylableSVGAttributes,
3050
+ Pick<PresentationSVGAttributes, "clip-path"> {
1930
3051
  height?: number | string | undefined;
1931
3052
  maskContentUnits?: SVGUnits | undefined;
1932
3053
  maskUnits?: SVGUnits | undefined;
@@ -1936,11 +3057,27 @@ declare global {
1936
3057
  }
1937
3058
  interface MetadataSVGAttributes<T> extends CoreSVGAttributes<T> {}
1938
3059
  interface MPathSVGAttributes<T> extends CoreSVGAttributes<T> {}
1939
- interface PathSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
3060
+ interface PathSVGAttributes<T>
3061
+ extends GraphicsElementSVGAttributes<T>,
3062
+ ShapeElementSVGAttributes<T>,
3063
+ ConditionalProcessingSVGAttributes,
3064
+ ExternalResourceSVGAttributes,
3065
+ StylableSVGAttributes,
3066
+ TransformableSVGAttributes,
3067
+ Pick<
3068
+ PresentationSVGAttributes,
3069
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
3070
+ > {
1940
3071
  d?: string | undefined;
1941
3072
  pathLength?: number | string | undefined;
1942
3073
  }
1943
- interface PatternSVGAttributes<T> extends ContainerElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
3074
+ interface PatternSVGAttributes<T>
3075
+ extends ContainerElementSVGAttributes<T>,
3076
+ ConditionalProcessingSVGAttributes,
3077
+ ExternalResourceSVGAttributes,
3078
+ StylableSVGAttributes,
3079
+ FitToViewBoxSVGAttributes,
3080
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
1944
3081
  height?: number | string | undefined;
1945
3082
  href?: string | undefined;
1946
3083
  patternContentUnits?: SVGUnits | undefined;
@@ -1950,20 +3087,48 @@ declare global {
1950
3087
  x?: number | string | undefined;
1951
3088
  y?: number | string | undefined;
1952
3089
  }
1953
- interface PolygonSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
3090
+ interface PolygonSVGAttributes<T>
3091
+ extends GraphicsElementSVGAttributes<T>,
3092
+ ShapeElementSVGAttributes<T>,
3093
+ ConditionalProcessingSVGAttributes,
3094
+ ExternalResourceSVGAttributes,
3095
+ StylableSVGAttributes,
3096
+ TransformableSVGAttributes,
3097
+ Pick<
3098
+ PresentationSVGAttributes,
3099
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
3100
+ > {
1954
3101
  points?: string | undefined;
1955
3102
  }
1956
- interface PolylineSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
3103
+ interface PolylineSVGAttributes<T>
3104
+ extends GraphicsElementSVGAttributes<T>,
3105
+ ShapeElementSVGAttributes<T>,
3106
+ ConditionalProcessingSVGAttributes,
3107
+ ExternalResourceSVGAttributes,
3108
+ StylableSVGAttributes,
3109
+ TransformableSVGAttributes,
3110
+ Pick<
3111
+ PresentationSVGAttributes,
3112
+ "clip-path" | "marker-start" | "marker-mid" | "marker-end"
3113
+ > {
1957
3114
  points?: string | undefined;
1958
3115
  }
1959
- interface RadialGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
3116
+ interface RadialGradientSVGAttributes<T>
3117
+ extends GradientElementSVGAttributes<T> {
1960
3118
  cx?: number | string | undefined;
1961
3119
  cy?: number | string | undefined;
1962
3120
  fx?: number | string | undefined;
1963
3121
  fy?: number | string | undefined;
1964
3122
  r?: number | string | undefined;
1965
3123
  }
1966
- interface RectSVGAttributes<T> extends GraphicsElementSVGAttributes<T>, ShapeElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path"> {
3124
+ interface RectSVGAttributes<T>
3125
+ extends GraphicsElementSVGAttributes<T>,
3126
+ ShapeElementSVGAttributes<T>,
3127
+ ConditionalProcessingSVGAttributes,
3128
+ ExternalResourceSVGAttributes,
3129
+ StylableSVGAttributes,
3130
+ TransformableSVGAttributes,
3131
+ Pick<PresentationSVGAttributes, "clip-path"> {
1967
3132
  height?: number | string | undefined;
1968
3133
  rx?: number | string | undefined;
1969
3134
  ry?: number | string | undefined;
@@ -1971,11 +3136,30 @@ declare global {
1971
3136
  x?: number | string | undefined;
1972
3137
  y?: number | string | undefined;
1973
3138
  }
1974
- interface SetSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
1975
- interface StopSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes, Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
3139
+ interface SetSVGAttributes<T>
3140
+ extends CoreSVGAttributes<T>,
3141
+ StylableSVGAttributes,
3142
+ AnimationTimingSVGAttributes {}
3143
+ interface StopSVGAttributes<T>
3144
+ extends CoreSVGAttributes<T>,
3145
+ StylableSVGAttributes,
3146
+ Pick<
3147
+ PresentationSVGAttributes,
3148
+ "color" | "stop-color" | "stop-opacity"
3149
+ > {
1976
3150
  offset?: number | string | undefined;
1977
3151
  }
1978
- interface SvgSVGAttributes<T> extends ContainerElementSVGAttributes<T>, NewViewportSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, ZoomAndPanSVGAttributes, PresentationSVGAttributes, WindowEventMap<T>, ElementEventMap<T> {
3152
+ interface SvgSVGAttributes<T>
3153
+ extends ContainerElementSVGAttributes<T>,
3154
+ NewViewportSVGAttributes<T>,
3155
+ ConditionalProcessingSVGAttributes,
3156
+ ExternalResourceSVGAttributes,
3157
+ StylableSVGAttributes,
3158
+ FitToViewBoxSVGAttributes,
3159
+ ZoomAndPanSVGAttributes,
3160
+ PresentationSVGAttributes,
3161
+ WindowEventMap<T>,
3162
+ ElementEventMap<T> {
1979
3163
  "xmlns:xlink"?: string | undefined;
1980
3164
  contentScriptType?: string | undefined;
1981
3165
  contentStyleType?: string | undefined;
@@ -1990,8 +3174,20 @@ declare global {
1990
3174
  /** @deprecated */
1991
3175
  version?: string | undefined;
1992
3176
  }
1993
- interface SwitchSVGAttributes<T> extends ContainerElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "display" | "visibility"> {}
1994
- interface SymbolSVGAttributes<T> extends ContainerElementSVGAttributes<T>, NewViewportSVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes, FitToViewBoxSVGAttributes, Pick<PresentationSVGAttributes, "clip-path"> {
3177
+ interface SwitchSVGAttributes<T>
3178
+ extends ContainerElementSVGAttributes<T>,
3179
+ ConditionalProcessingSVGAttributes,
3180
+ ExternalResourceSVGAttributes,
3181
+ StylableSVGAttributes,
3182
+ TransformableSVGAttributes,
3183
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {}
3184
+ interface SymbolSVGAttributes<T>
3185
+ extends ContainerElementSVGAttributes<T>,
3186
+ NewViewportSVGAttributes<T>,
3187
+ ExternalResourceSVGAttributes,
3188
+ StylableSVGAttributes,
3189
+ FitToViewBoxSVGAttributes,
3190
+ Pick<PresentationSVGAttributes, "clip-path"> {
1995
3191
  height?: number | string | undefined;
1996
3192
  preserveAspectRatio?: SVGPreserveAspectRatio | undefined;
1997
3193
  refX?: number | string | undefined;
@@ -2001,7 +3197,17 @@ declare global {
2001
3197
  x?: number | string | undefined;
2002
3198
  y?: number | string | undefined;
2003
3199
  }
2004
- interface TextSVGAttributes<T> extends TextContentElementSVGAttributes<T>, GraphicsElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, TransformableSVGAttributes, Pick<PresentationSVGAttributes, "clip-path" | "writing-mode" | "text-rendering"> {
3200
+ interface TextSVGAttributes<T>
3201
+ extends TextContentElementSVGAttributes<T>,
3202
+ GraphicsElementSVGAttributes<T>,
3203
+ ConditionalProcessingSVGAttributes,
3204
+ ExternalResourceSVGAttributes,
3205
+ StylableSVGAttributes,
3206
+ TransformableSVGAttributes,
3207
+ Pick<
3208
+ PresentationSVGAttributes,
3209
+ "clip-path" | "writing-mode" | "text-rendering"
3210
+ > {
2005
3211
  dx?: number | string | undefined;
2006
3212
  dy?: number | string | undefined;
2007
3213
  lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined;
@@ -2010,13 +3216,29 @@ declare global {
2010
3216
  x?: number | string | undefined;
2011
3217
  y?: number | string | undefined;
2012
3218
  }
2013
- interface TextPathSVGAttributes<T> extends TextContentElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, Pick<PresentationSVGAttributes, "alignment-baseline" | "baseline-shift" | "display" | "visibility"> {
3219
+ interface TextPathSVGAttributes<T>
3220
+ extends TextContentElementSVGAttributes<T>,
3221
+ ConditionalProcessingSVGAttributes,
3222
+ ExternalResourceSVGAttributes,
3223
+ StylableSVGAttributes,
3224
+ Pick<
3225
+ PresentationSVGAttributes,
3226
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
3227
+ > {
2014
3228
  href?: string | undefined;
2015
3229
  method?: "align" | "stretch" | undefined;
2016
3230
  spacing?: "auto" | "exact" | undefined;
2017
3231
  startOffset?: number | string | undefined;
2018
3232
  }
2019
- interface TSpanSVGAttributes<T> extends TextContentElementSVGAttributes<T>, ConditionalProcessingSVGAttributes, ExternalResourceSVGAttributes, StylableSVGAttributes, Pick<PresentationSVGAttributes, "alignment-baseline" | "baseline-shift" | "display" | "visibility"> {
3233
+ interface TSpanSVGAttributes<T>
3234
+ extends TextContentElementSVGAttributes<T>,
3235
+ ConditionalProcessingSVGAttributes,
3236
+ ExternalResourceSVGAttributes,
3237
+ StylableSVGAttributes,
3238
+ Pick<
3239
+ PresentationSVGAttributes,
3240
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
3241
+ > {
2020
3242
  dx?: number | string | undefined;
2021
3243
  dy?: number | string | undefined;
2022
3244
  lengthAdjust?: "spacing" | "spacingAndGlyphs" | undefined;
@@ -2026,16 +3248,28 @@ declare global {
2026
3248
  y?: number | string | undefined;
2027
3249
  }
2028
3250
  /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2029
- interface UseSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes, ConditionalProcessingSVGAttributes, GraphicsElementSVGAttributes<T>, PresentationSVGAttributes, ExternalResourceSVGAttributes, TransformableSVGAttributes {
3251
+ interface UseSVGAttributes<T>
3252
+ extends CoreSVGAttributes<T>,
3253
+ StylableSVGAttributes,
3254
+ ConditionalProcessingSVGAttributes,
3255
+ GraphicsElementSVGAttributes<T>,
3256
+ PresentationSVGAttributes,
3257
+ ExternalResourceSVGAttributes,
3258
+ TransformableSVGAttributes {
2030
3259
  height?: number | string | undefined;
2031
3260
  href?: string | undefined;
2032
3261
  width?: number | string | undefined;
2033
3262
  x?: number | string | undefined;
2034
3263
  y?: number | string | undefined;
2035
3264
  }
2036
- interface ViewSVGAttributes<T> extends CoreSVGAttributes<T>, ExternalResourceSVGAttributes, FitToViewBoxSVGAttributes, ZoomAndPanSVGAttributes {
3265
+ interface ViewSVGAttributes<T>
3266
+ extends CoreSVGAttributes<T>,
3267
+ ExternalResourceSVGAttributes,
3268
+ FitToViewBoxSVGAttributes,
3269
+ ZoomAndPanSVGAttributes {
2037
3270
  viewTarget?: string | undefined;
2038
3271
  }
3272
+
2039
3273
  interface MathMLAttributes<T> extends HTMLAttributes<T> {
2040
3274
  displaystyle?: boolean | undefined;
2041
3275
  /** @deprecated */
@@ -2049,13 +3283,15 @@ declare global {
2049
3283
  nonce?: string | undefined;
2050
3284
  scriptlevel?: string | undefined;
2051
3285
  }
3286
+
2052
3287
  interface MathMLAnnotationElementAttributes<T> extends MathMLAttributes<T> {
2053
3288
  encoding?: string | undefined;
2054
3289
 
2055
3290
  /** @deprecated */
2056
3291
  src?: string | undefined;
2057
3292
  }
2058
- interface MathMLAnnotationXmlElementAttributes<T> extends MathMLAttributes<T> {
3293
+ interface MathMLAnnotationXmlElementAttributes<T>
3294
+ extends MathMLAttributes<T> {
2059
3295
  encoding?: string | undefined;
2060
3296
 
2061
3297
  /** @deprecated */
@@ -2094,7 +3330,9 @@ declare global {
2094
3330
  interface MathMLMiElementAttributes<T> extends MathMLAttributes<T> {
2095
3331
  mathvariant?: "normal" | undefined;
2096
3332
  }
2097
- interface MathMLMmultiscriptsElementAttributes<T> extends MathMLAttributes<T> {
3333
+
3334
+ interface MathMLMmultiscriptsElementAttributes<T>
3335
+ extends MathMLAttributes<T> {
2098
3336
  /**
2099
3337
  * @deprecated
2100
3338
  * @non-standard
@@ -2134,7 +3372,8 @@ declare global {
2134
3372
  width?: string | undefined;
2135
3373
  }
2136
3374
  interface MathMLMphantomElementAttributes<T> extends MathMLAttributes<T> {}
2137
- interface MathMLMprescriptsElementAttributes<T> extends MathMLAttributes<T> {}
3375
+ interface MathMLMprescriptsElementAttributes<T>
3376
+ extends MathMLAttributes<T> {}
2138
3377
  interface MathMLMrootElementAttributes<T> extends MathMLAttributes<T> {}
2139
3378
  interface MathMLMrowElementAttributes<T> extends MathMLAttributes<T> {}
2140
3379
  interface MathMLMsElementAttributes<T> extends MathMLAttributes<T> {
@@ -3161,6 +4400,7 @@ declare global {
3161
4400
  */
3162
4401
  view: ViewSVGAttributes<SVGViewElement>;
3163
4402
  }
4403
+
3164
4404
  interface MathMLElementTags {
3165
4405
  /**
3166
4406
  * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation
@@ -3327,136 +4567,129 @@ declare global {
3327
4567
  */
3328
4568
  mfenced: MathMLMfencedElementAttributes<MathMLElement>;
3329
4569
  }
3330
- interface IntrinsicElements extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4570
+
4571
+ interface IntrinsicElements
4572
+ extends HTMLElementTags,
4573
+ HTMLElementDeprecatedTags,
4574
+ SVGElementTags,
4575
+ MathMLElementTags {}
3331
4576
  }
3332
4577
  }
3333
- //#endregion
3334
- //#region src/api/effect.d.ts
4578
+
3335
4579
  declare const effect: typeof effect$1;
3336
- //#endregion
3337
- //#region src/api/ref.d.ts
4580
+
3338
4581
  interface RefObject<T> {
3339
- current: T | null;
4582
+ current: T | null;
3340
4583
  }
3341
4584
  declare function ref<T>(init: T): RefObject<T>;
3342
4585
  declare function ref<T>(): RefObject<T>;
3343
- //#endregion
3344
- //#region src/api/wc.d.ts
4586
+
3345
4587
  declare const wc: () => {
3346
- host: HTMLElement;
3347
- emit: (name: string, detail: any) => void;
3348
- onConnectedCallback: (callback: () => void) => void;
3349
- onDisconnectedCallback: (callback: () => void) => void;
4588
+ host: HTMLElement;
4589
+ emit: (name: string, detail: any) => void;
4590
+ onConnectedCallback: (callback: () => void) => void;
4591
+ onDisconnectedCallback: (callback: () => void) => void;
3350
4592
  };
3351
- //#endregion
3352
- //#region src/api/types.d.ts
4593
+
3353
4594
  interface SignalLike<T = any> {
3354
- value: T;
4595
+ value: T;
3355
4596
  }
3356
- //#endregion
3357
- //#region src/api/dollar.d.ts
4597
+
3358
4598
  declare const $: <T>(val: T) => T extends SignalLike ? (typeof val)["value"] : SignalLike<T>;
3359
- //#endregion
3360
- //#region src/api/context.d.ts
4599
+
3361
4600
  declare const createContext: <T>(defaultValue: T) => {
3362
- (p: {
3363
- children: JSX.Element;
3364
- value: T;
3365
- }): HTMLElement;
3366
- isLogic: boolean;
3367
- Consumer: {
3368
4601
  (p: {
3369
- children: (value: T) => JSX.Element;
3370
- }): JSX.Element;
4602
+ children: JSX.Element;
4603
+ value: T;
4604
+ }): HTMLElement;
3371
4605
  isLogic: boolean;
3372
- };
3373
- defaultValue: T;
4606
+ Consumer: {
4607
+ (p: {
4608
+ children: (value: T) => JSX.Element;
4609
+ }): JSX.Element;
4610
+ isLogic: boolean;
4611
+ };
4612
+ defaultValue: T;
3374
4613
  };
3375
4614
  declare const $useContext: <T>(c: {
3376
- defaultValue: T;
4615
+ defaultValue: T;
3377
4616
  }) => T;
3378
- //#endregion
3379
- //#region src/control/For.d.ts
4617
+
3380
4618
  interface ListProps<T> {
3381
- of: T[];
3382
- children: (i: T, index: number) => JSX.Element;
3383
- trait?: (item: T) => any;
4619
+ of: T[];
4620
+ children: (i: T, index: number) => JSX.Element;
4621
+ trait?: (item: T) => any;
3384
4622
  }
3385
4623
  declare const For: <T>(p: ListProps<T>) => Element[];
3386
- //#endregion
3387
- //#region src/types.d.ts
4624
+
3388
4625
  type FC<P extends Record<string, any> = {}> = {
3389
- isLogic?: boolean;
4626
+ isLogic?: boolean;
3390
4627
  } & ((props: P) => JSX.Element);
3391
4628
  type AttrValueType = string | number | boolean;
3392
4629
  type CustomElement<P extends Record<string, any> = {}> = {
3393
- tag: string;
3394
- shadow?: "open" | "closed";
3395
- style?: string;
3396
- props?: { [K in keyof P as P[K] extends AttrValueType ? K : never]?: {
3397
- type: P[K] extends string ? "string" : P[K] extends number ? "number" : P[K] extends boolean ? "boolean" : never;
3398
- attribute: string;
3399
- } };
3400
- extend?: (customElementConstructor: any) => CustomElement;
4630
+ tag: string;
4631
+ shadow?: "open" | "closed";
4632
+ style?: string;
4633
+ props?: {
4634
+ [K in keyof P as P[K] extends AttrValueType ? K : never]?: {
4635
+ type: P[K] extends string ? "string" : P[K] extends number ? "number" : P[K] extends boolean ? "boolean" : never;
4636
+ attribute: string;
4637
+ };
4638
+ };
4639
+ extend?: (customElementConstructor: any) => CustomElement;
3401
4640
  };
3402
4641
  type WC<P extends Record<string, string | boolean | number> = {}, E extends Record<string, any> = {}> = {
3403
- customElement: CustomElement<P>;
4642
+ customElement: CustomElement<P>;
3404
4643
  } & ((props: P & {
3405
- children?: JSX.Element;
3406
- } & { [K in keyof E as `on${Capitalize<K & string>}`]: (e: E[K]) => void }) => JSX.Element);
3407
- //#endregion
3408
- //#region src/control/If.d.ts
4644
+ children?: JSX.Element;
4645
+ } & {
4646
+ [K in keyof E as `on${Capitalize<K & string>}`]: (e: E[K]) => void;
4647
+ }) => JSX.Element);
4648
+
3409
4649
  interface IfProps {
3410
- of: any;
3411
- children: JSX.Element | ((t: true) => JSX.Element);
3412
- else?: JSX.Element | ((t: false) => JSX.Element);
4650
+ of: any;
4651
+ children: JSX.Element | ((t: true) => JSX.Element);
4652
+ else?: JSX.Element | ((t: false) => JSX.Element);
3413
4653
  }
3414
4654
  declare const If: FC<IfProps>;
3415
- //#endregion
3416
- //#region src/control/Dynamic.d.ts
4655
+
3417
4656
  interface DynamicProps<T> {
3418
- of: T;
3419
- children: JSX.Element | ((t: T) => JSX.Element);
4657
+ of: T;
4658
+ children: JSX.Element | ((t: T) => JSX.Element);
3420
4659
  }
3421
4660
  interface DynamicPropsInner<T> {
3422
- value: DynamicProps<T>;
4661
+ value: DynamicProps<T>;
3423
4662
  }
3424
4663
  declare const Dynamic: <T>(p: DynamicProps<T>) => HTMLElement;
3425
- //#endregion
3426
- //#region src/control/Switch.d.ts
4664
+
3427
4665
  interface SwitchProps {
3428
- children: JSX.Element[];
4666
+ children: JSX.Element[];
3429
4667
  }
3430
4668
  declare const Switch: FC<SwitchProps>;
3431
4669
  interface CaseProps {
3432
- of: any;
3433
- children: JSX.Element;
4670
+ of: any;
4671
+ children: JSX.Element;
3434
4672
  }
3435
4673
  declare const Case: FC<CaseProps>;
3436
4674
  interface DefaultProps {
3437
- children: JSX.Element;
4675
+ children: JSX.Element;
3438
4676
  }
3439
4677
  declare const Default: FC<DefaultProps>;
3440
- //#endregion
3441
- //#region src/h/createElement.d.ts
4678
+
3442
4679
  declare const createElement: (tag: HTMLElement | SVGElement | FC | WC, props: any, children: any) => JSX.Element;
3443
- //#endregion
3444
- //#region src/h/createComponent.d.ts
4680
+
3445
4681
  declare const createComponent: (tag: FC, props: undefined | (() => any)) => HTMLElement;
3446
- //#endregion
3447
- //#region src/h/createLogicComponent.d.ts
4682
+
3448
4683
  declare const createLogicComponent: (tag: FC, props: undefined | (() => any)) => JSX.Element;
3449
- //#endregion
3450
- //#region src/h/createDom.d.ts
4684
+
3451
4685
  declare const createDom: (tag: HTMLElement | SVGElement, props: undefined | (() => any), children: undefined | (() => any)) => HTMLElement | SVGElement;
3452
- //#endregion
3453
- //#region src/h/instance.d.ts
4686
+
3454
4687
  interface Instance {
3455
- parent?: Instance;
3456
- id: string;
3457
- range: Comment[];
3458
- disposes: (() => void)[];
3459
- children?: Instance[];
4688
+ parent?: Instance;
4689
+ id: string;
4690
+ range: Comment[];
4691
+ disposes: (() => void)[];
4692
+ children?: Instance[];
3460
4693
  }
3461
4694
  declare const getCurrentInstance: () => Instance | undefined;
3462
4695
  declare const instanceInit: (parent?: Instance) => Instance;
@@ -3464,23 +4697,21 @@ declare const instanceCreateElement: (instance: Instance, runner: () => any) =>
3464
4697
  declare const instanceCreate: (runner: () => any, parent?: Instance) => readonly [Instance, HTMLElement];
3465
4698
  declare const instanceGetElements: (instance: Instance) => Node[];
3466
4699
  declare const instanceDestroy: (parent: Instance, instance: Instance) => void;
3467
- //#endregion
3468
- //#region src/h/createRoot.d.ts
4700
+
3469
4701
  declare const createRoot: (boot: () => JSX.Element) => {
3470
- element: HTMLElement;
3471
- instance: Instance;
4702
+ element: HTMLElement;
4703
+ instance: Instance;
3472
4704
  };
3473
- //#endregion
3474
- //#region src/jsx-runtime.d.ts
4705
+
3475
4706
  declare const h2: (tag: any, props: any, children: any) => JSX.Element;
3476
4707
  declare const jsx: (tag: any, props: any, children: any) => JSX.Element;
3477
4708
  declare const jsxs: (tag: any, props: any, children: any) => JSX.Element;
3478
4709
  declare const Fragment: (props: {
3479
- children: JSX.Element;
4710
+ children: JSX.Element;
3480
4711
  }) => any;
3481
4712
  declare const template: (template: string) => (isSvg: boolean) => any;
3482
- //#endregion
3483
- //#region src/web-components.d.ts
4713
+
3484
4714
  declare const registerWebComponent: <C extends WC<any, any>>(Comp: C) => void;
3485
- //#endregion
3486
- export { $, $useContext, AttrValueType, Case, CaseProps, Computed, CustomElement, Default, DefaultProps, Dynamic, DynamicProps, DynamicPropsInner, Effect, FC, For, Fragment, If, IfProps, Instance, ListProps, RefObject, Signal, Switch, SwitchProps, WC, computed, createComponent, createContext, createDom, createElement, createLogicComponent, createRoot, effect, getCurrentInstance, h2, instanceCreate, instanceCreateElement, instanceDestroy, instanceGetElements, instanceInit, jsx, jsxs, ref, registerWebComponent, signal, template, untrack, wc };
4715
+
4716
+ export { $, $useContext, Case, Default, Dynamic, For, Fragment, If, Switch, createComponent, createContext, createDom, createElement, createLogicComponent, createRoot, effect, getCurrentInstance, h2, instanceCreate, instanceCreateElement, instanceDestroy, instanceGetElements, instanceInit, jsx, jsxs, ref, registerWebComponent, template, wc };
4717
+ export type { AttrValueType, CaseProps, CustomElement, DOMElement, DefaultProps, DynamicProps, DynamicPropsInner, FC, IfProps, Instance, ListProps, RefObject, SwitchProps, WC };