@builder.io/mitosis 0.0.56-21 → 0.0.56-24

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.
Files changed (32) hide show
  1. package/dist/src/__tests__/data/blocks/classname-jsx.raw.d.ts +1 -1
  2. package/dist/src/__tests__/data/blocks/content-slot-html.raw.d.ts +1 -1
  3. package/dist/src/__tests__/data/blocks/content-slot-jsx.raw.d.ts +1 -1
  4. package/dist/src/__tests__/data/blocks/image.raw.d.ts +1 -1
  5. package/dist/src/__tests__/data/blocks/image.raw.jsx +1 -1
  6. package/dist/src/__tests__/data/show/nested-show.raw copy.d.ts +6 -0
  7. package/dist/src/__tests__/data/show/nested-show.raw copy.jsx +11 -0
  8. package/dist/src/__tests__/data/show/nested-show.raw.d.ts +6 -0
  9. package/dist/src/__tests__/data/show/nested-show.raw.jsx +11 -0
  10. package/dist/src/__tests__/data/show/show-with-for.raw.d.ts +6 -0
  11. package/dist/src/__tests__/data/show/show-with-for.raw.jsx +9 -0
  12. package/dist/src/__tests__/data/styles/classState.raw.jsx +2 -1
  13. package/dist/src/__tests__/shared.js +66 -47
  14. package/dist/src/flow.d.ts +1 -1
  15. package/dist/src/generators/angular.js +4 -2
  16. package/dist/src/generators/react.js +2 -1
  17. package/dist/src/generators/svelte.js +38 -9
  18. package/dist/src/generators/vue.d.ts +5 -1
  19. package/dist/src/generators/vue.js +94 -33
  20. package/dist/src/helpers/babel-transform.js +2 -2
  21. package/dist/src/helpers/is-children.js +2 -1
  22. package/dist/src/helpers/slots.d.ts +1 -0
  23. package/dist/src/helpers/slots.js +6 -0
  24. package/dist/src/helpers/styles/helpers.d.ts +2 -2
  25. package/dist/src/parsers/jsx.js +5 -1
  26. package/dist/src/types/mitosis-node.d.ts +3 -3
  27. package/dist/tsconfig.build.tsbuildinfo +1 -1
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/jsx-runtime.d.ts +1837 -0
  30. package/package.json +5 -4
  31. package/dist/src/jsx-types.d.ts +0 -1173
  32. package/dist/src/jsx-types.js +0 -10
@@ -0,0 +1,1837 @@
1
+ /**
2
+ * Based on JSX types for Solid, Inferno, Surplus, and React
3
+ *
4
+ * https://github.com/ryansolid/solid/blob/master/packages/solid/src/rendering/jsx.ts
5
+ * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts
6
+ * https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts
7
+ * https://github.com/adamhaile/surplus/blob/master/index.d.ts
8
+ */
9
+
10
+ export declare namespace JSX {
11
+ type CSS = Partial<CSSStyleDeclaration> & {
12
+ [key: string]: Partial<CSSStyleDeclaration> | string;
13
+ };
14
+
15
+ type Element =
16
+ | Node
17
+ | ArrayElement
18
+ | FunctionElement
19
+ | string
20
+ | number
21
+ | boolean
22
+ | null
23
+ | undefined;
24
+
25
+ interface ArrayElement extends Array<Element> {}
26
+ interface FunctionElement {
27
+ (): Element;
28
+ }
29
+
30
+ interface ElementClass {
31
+ render(props: any): Element;
32
+ }
33
+
34
+ type LibraryManagedAttributes<Component, Props> = Props;
35
+
36
+ // Let TS know the name of the `children` property in order for it to be able to type check them.
37
+ // https://github.com/Microsoft/TypeScript/issues/18357
38
+ interface ElementChildrenAttribute {
39
+ children: {};
40
+ }
41
+
42
+ interface EventHandler<T, E extends Event> {
43
+ (e: E & { currentTarget: T; target: T }): void;
44
+ }
45
+
46
+ interface BoundEventHandler<T, E extends Event> {
47
+ 0: (data: any, e: E & { currentTarget: T; target: T }) => void;
48
+ 1: any;
49
+ }
50
+
51
+ type EventHandlerUnion<T, E extends Event> = EventHandler<T, E> | BoundEventHandler<T, E>;
52
+
53
+ // Intrinsic attributes enable us to define certain keys as attributes on an element, while
54
+ // at the same time hiding them from the element's `props`.
55
+ // https://github.com/Microsoft/TypeScript/issues/5478
56
+ interface IntrinsicAttributes {
57
+ key?: string | number;
58
+ ref?: HTMLElement | ((e: HTMLElement) => void);
59
+ }
60
+
61
+ // https://github.com/ryansolid/babel-plugin-jsx-dom-expressions#special-binding
62
+ interface CustomAttributes<T> {
63
+ ref?: T | ((el: T) => void);
64
+ classList?: { [k: string]: boolean | undefined };
65
+ className?: string;
66
+ on?: { [key: string]: EventHandler<T, CustomEvent> };
67
+ onCapture?: { [key: string]: EventHandler<T, CustomEvent> };
68
+
69
+ $name?: string;
70
+ $id?: string;
71
+ }
72
+
73
+ // https://github.com/ryansolid/babel-plugin-jsx-dom-expressions#oneventname
74
+ interface DOMAttributes<T> extends CustomAttributes<T> {
75
+ children?: Element | Element[] | string | undefined | false;
76
+ innerHTML?: string;
77
+ innerText?: string;
78
+ textContent?: string;
79
+
80
+ // Clipboard Events
81
+ onCopy?: EventHandlerUnion<T, ClipboardEvent>;
82
+ onCut?: EventHandlerUnion<T, ClipboardEvent>;
83
+ onPaste?: EventHandlerUnion<T, ClipboardEvent>;
84
+
85
+ // Composition Events
86
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent>;
87
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent>;
88
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent>;
89
+
90
+ // Focus Events
91
+ onFocus?: EventHandlerUnion<T, FocusEvent>;
92
+ onBlur?: EventHandlerUnion<T, FocusEvent>;
93
+
94
+ // Form Events
95
+ onChange?: EventHandlerUnion<T, Event>;
96
+ onInput?: EventHandlerUnion<T, InputEvent>;
97
+ onReset?: EventHandlerUnion<T, Event>;
98
+ onSubmit?: EventHandlerUnion<T, Event & { submitter: HTMLElement }>;
99
+
100
+ // Image Events
101
+ onLoad?: EventHandlerUnion<T, Event>;
102
+ onError?: EventHandlerUnion<T, Event>; // also a Media Event
103
+
104
+ // Keyboard Events
105
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent>;
106
+ onKeyPress?: EventHandlerUnion<T, KeyboardEvent>;
107
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent>;
108
+
109
+ // Pointer Events
110
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent>;
111
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent>;
112
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent>;
113
+ onPointerDown?: EventHandlerUnion<T, PointerEvent>;
114
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent>;
115
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent>;
116
+ onPointerMove?: EventHandlerUnion<T, PointerEvent>;
117
+ onPointerOver?: EventHandlerUnion<T, PointerEvent>;
118
+ onPointerOut?: EventHandlerUnion<T, PointerEvent>;
119
+ onPointerUp?: EventHandlerUnion<T, PointerEvent>;
120
+
121
+ // Media Events
122
+ onAbort?: EventHandlerUnion<T, Event>;
123
+ onCanPlay?: EventHandlerUnion<T, Event>;
124
+ onCanPlayThrough?: EventHandlerUnion<T, Event>;
125
+ onDurationChange?: EventHandlerUnion<T, Event>;
126
+ onEmptied?: EventHandlerUnion<T, Event>;
127
+ onEncrypted?: EventHandlerUnion<T, Event>;
128
+ onEnded?: EventHandlerUnion<T, Event>;
129
+ onLoadedData?: EventHandlerUnion<T, Event>;
130
+ onLoadedMetadata?: EventHandlerUnion<T, Event>;
131
+ onLoadStart?: EventHandlerUnion<T, Event>;
132
+ onPause?: EventHandlerUnion<T, Event>;
133
+ onPlay?: EventHandlerUnion<T, Event>;
134
+ onPlaying?: EventHandlerUnion<T, Event>;
135
+ onProgress?: EventHandlerUnion<T, Event>;
136
+ onRateChange?: EventHandlerUnion<T, Event>;
137
+ onSeeked?: EventHandlerUnion<T, Event>;
138
+ onSeeking?: EventHandlerUnion<T, Event>;
139
+ onStalled?: EventHandlerUnion<T, Event>;
140
+ onSuspend?: EventHandlerUnion<T, Event>;
141
+ onTimeUpdate?: EventHandlerUnion<T, Event>;
142
+ onVolumeChange?: EventHandlerUnion<T, Event>;
143
+ onWaiting?: EventHandlerUnion<T, Event>;
144
+
145
+ // MouseEvents
146
+ onClick?: EventHandlerUnion<T, MouseEvent>;
147
+ onContextMenu?: EventHandlerUnion<T, MouseEvent>;
148
+ onDblClick?: EventHandlerUnion<T, MouseEvent>;
149
+ onDrag?: EventHandlerUnion<T, DragEvent>;
150
+ onDragEnd?: EventHandlerUnion<T, DragEvent>;
151
+ onDragEnter?: EventHandlerUnion<T, DragEvent>;
152
+ onDragExit?: EventHandlerUnion<T, DragEvent>;
153
+ onDragLeave?: EventHandlerUnion<T, DragEvent>;
154
+ onDragOver?: EventHandlerUnion<T, DragEvent>;
155
+ onDragStart?: EventHandlerUnion<T, DragEvent>;
156
+ onDrop?: EventHandlerUnion<T, DragEvent>;
157
+ onMouseDown?: EventHandlerUnion<T, MouseEvent>;
158
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent>;
159
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent>;
160
+ onMouseMove?: EventHandlerUnion<T, MouseEvent>;
161
+ onMouseOut?: EventHandlerUnion<T, MouseEvent>;
162
+ onMouseOver?: EventHandlerUnion<T, MouseEvent>;
163
+ onMouseUp?: EventHandlerUnion<T, MouseEvent>;
164
+
165
+ // Selection Events
166
+ onSelect?: EventHandlerUnion<T, UIEvent>;
167
+
168
+ // Touch Events
169
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent>;
170
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent>;
171
+ onTouchMove?: EventHandlerUnion<T, TouchEvent>;
172
+ onTouchStart?: EventHandlerUnion<T, TouchEvent>;
173
+
174
+ // UI Events
175
+ onScroll?: EventHandlerUnion<T, UIEvent>;
176
+
177
+ // Wheel Events
178
+ onWheel?: EventHandlerUnion<T, WheelEvent>;
179
+
180
+ // Animation Events
181
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent>;
182
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent>;
183
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent>;
184
+
185
+ // Transition Events
186
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent>;
187
+ }
188
+
189
+ // See CSS 3 CSS-wide keywords https://www.w3.org/TR/css3-values/#common-keywords
190
+ // See CSS 3 Explicit Defaulting https://www.w3.org/TR/css-cascade-3/#defaulting-keywords
191
+ // "all CSS properties can accept these values"
192
+ type CSSWideKeyword = 'initial' | 'inherit' | 'unset';
193
+
194
+ // See CSS 3 <percentage> type https://drafts.csswg.org/css-values-3/#percentages
195
+ type CSSPercentage = string;
196
+
197
+ // See CSS 3 <length> type https://drafts.csswg.org/css-values-3/#lengths
198
+ type CSSLength = number | string;
199
+
200
+ type HTMLAutocapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
201
+
202
+ type HTMLDir = 'ltr' | 'rtl' | 'auto';
203
+
204
+ type HTMLFormEncType = 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain';
205
+
206
+ type HTMLFormMethod = 'post' | 'get' | 'dialog';
207
+
208
+ type HTMLCrossorigin = 'anonymous' | 'use-credentials' | '';
209
+
210
+ type HTMLReferrerPolicy =
211
+ | 'no-referrer'
212
+ | 'no-referrer-when-downgrade'
213
+ | 'origin'
214
+ | 'origin-when-cross-origin'
215
+ | 'same-origin'
216
+ | 'strict-origin'
217
+ | 'strict-origin-when-cross-origin'
218
+ | 'unsafe-url';
219
+
220
+ type HTMLIframeSandbox =
221
+ | 'allow-downloads-without-user-activation'
222
+ | 'allow-forms'
223
+ | 'allow-modals'
224
+ | 'allow-orientation-lock'
225
+ | 'allow-pointer-lock'
226
+ | 'allow-popups'
227
+ | 'allow-popups-to-escape-sandbox'
228
+ | 'allow-presentation'
229
+ | 'allow-same-origin'
230
+ | 'allow-scripts'
231
+ | 'allow-storage-access-by-user-activation'
232
+ | 'allow-top-navigation'
233
+ | 'allow-top-navigation-by-user-activation';
234
+
235
+ type HTMLLinkAs =
236
+ | 'audio'
237
+ | 'document'
238
+ | 'embed'
239
+ | 'fetch'
240
+ | 'font'
241
+ | 'image'
242
+ | 'object'
243
+ | 'script'
244
+ | 'style'
245
+ | 'track'
246
+ | 'video'
247
+ | 'worker';
248
+
249
+ interface HTMLAttributes<T> extends DOMAttributes<T> {
250
+ // Special attributes
251
+ key?: string | boolean | number;
252
+
253
+ // Standard HTML Attributes
254
+ accessKey?: string;
255
+ class?: string;
256
+ contenteditable?: boolean | 'inherit';
257
+ contextmenu?: string;
258
+ dir?: HTMLDir;
259
+ draggable?: boolean;
260
+ hidden?: boolean;
261
+ id?: string;
262
+ lang?: string;
263
+ spellcheck?: boolean;
264
+ style?: CSS;
265
+ css?: CSS | { [key: string]: CSS | undefined };
266
+ tabindex?: number | string;
267
+ title?: string;
268
+ translate?: 'yes' | 'no';
269
+
270
+ // RDFa Attributes
271
+ about?: string;
272
+ datatype?: string;
273
+ inlist?: any;
274
+ prefix?: string;
275
+ property?: string;
276
+ resource?: string;
277
+ typeof?: string;
278
+ vocab?: string;
279
+
280
+ // Non-standard Attributes
281
+ autocapitalize?: HTMLAutocapitalize;
282
+ color?: string;
283
+ itemprop?: string;
284
+ itemscope?: boolean;
285
+ itemtype?: string;
286
+ itemid?: string;
287
+ itemref?: string;
288
+
289
+ // others
290
+ align?: 'start' | 'end' | 'center' | 'baseline' | 'stretch' | 'left' | 'right';
291
+ part?: string;
292
+ exportparts?: string;
293
+ inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
294
+
295
+ // camelcase
296
+ contentEditable?: boolean | 'inherit';
297
+ contextMenu?: string;
298
+ tabIndex?: number | string;
299
+ autoCapitalize?: HTMLAutocapitalize;
300
+ itemProp?: string;
301
+ itemScope?: boolean;
302
+ itemType?: string;
303
+ itemId?: string;
304
+ itemRef?: string;
305
+ exportParts?: string;
306
+ inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
307
+ }
308
+
309
+ // HTML Elements
310
+
311
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
312
+ download?: any;
313
+ href?: string;
314
+ hreflang?: string;
315
+ media?: string;
316
+ ping?: string;
317
+ referrerpolicy?: HTMLReferrerPolicy;
318
+ rel?: string;
319
+ target?: string;
320
+ type?: string;
321
+
322
+ // camelcase
323
+ referrerPolicy?: HTMLReferrerPolicy;
324
+ }
325
+
326
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
327
+
328
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
329
+ alt?: string;
330
+ coords?: string;
331
+ download?: any;
332
+ href?: string;
333
+ hreflang?: string;
334
+ ping?: string;
335
+ referrerpolicy?: HTMLReferrerPolicy;
336
+ rel?: string;
337
+ shape?: 'rect' | 'circle' | 'poly' | 'default';
338
+ target?: string;
339
+
340
+ // camelcase
341
+ referrerPolicy?: HTMLReferrerPolicy;
342
+ }
343
+
344
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
345
+ href?: string;
346
+ target?: string;
347
+ }
348
+
349
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
350
+ cite?: string;
351
+ }
352
+
353
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
354
+ autofocus?: boolean;
355
+ disabled?: boolean;
356
+ form?: string;
357
+ formaction?: string;
358
+ formenctype?: HTMLFormEncType;
359
+ formmethod?: HTMLFormMethod;
360
+ formnovalidate?: boolean;
361
+ formtarget?: string;
362
+ name?: string;
363
+ type?: 'submit' | 'reset' | 'button';
364
+ value?: string;
365
+
366
+ // camelcase
367
+ formAction?: string;
368
+ formEnctype?: HTMLFormEncType;
369
+ formMethod?: HTMLFormMethod;
370
+ formNoValidate?: boolean;
371
+ formTarget?: string;
372
+ }
373
+
374
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
375
+ width?: number | string;
376
+ height?: number | string;
377
+ }
378
+
379
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
380
+ span?: number | string;
381
+ width?: number | string;
382
+ }
383
+
384
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
385
+ span?: number | string;
386
+ }
387
+
388
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
389
+ value?: string | string[] | number;
390
+ }
391
+
392
+ interface DetailsHtmlAttributes<T> extends HTMLAttributes<T> {
393
+ open?: boolean;
394
+ }
395
+
396
+ interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
397
+ open?: boolean;
398
+ }
399
+
400
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
401
+ height?: number | string;
402
+ src?: string;
403
+ type?: string;
404
+ width?: number | string;
405
+ }
406
+
407
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
408
+ disabled?: boolean;
409
+ form?: string;
410
+ name?: string;
411
+ }
412
+
413
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
414
+ acceptcharset?: string;
415
+ action?: string;
416
+ autocomplete?: string;
417
+ encoding?: HTMLFormEncType;
418
+ enctype?: HTMLFormEncType;
419
+ method?: HTMLFormMethod;
420
+ name?: string;
421
+ novalidate?: boolean;
422
+ target?: string;
423
+
424
+ // camelcase
425
+ acceptCharset?: string;
426
+ noValidate?: boolean;
427
+ }
428
+
429
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
430
+ allow?: string;
431
+ allowfullscreen?: boolean;
432
+ height?: number | string;
433
+ name?: string;
434
+ referrerpolicy?: HTMLReferrerPolicy;
435
+ sandbox?: HTMLIframeSandbox;
436
+ src?: string;
437
+ srcdoc?: string;
438
+ width?: number | string;
439
+
440
+ // camelcase
441
+ referrerPolicy?: HTMLReferrerPolicy;
442
+ }
443
+
444
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
445
+ loading?: string;
446
+ role?: string;
447
+ alt?: string;
448
+ crossorigin?: HTMLCrossorigin;
449
+ decoding?: 'sync' | 'async' | 'auto';
450
+ height?: number | string;
451
+ referrerpolicy?: HTMLReferrerPolicy;
452
+ sizes?: string;
453
+ src?: string;
454
+ srcset?: string;
455
+ width?: number | string;
456
+
457
+ // camelcase
458
+ crossOrigin?: HTMLCrossorigin;
459
+ referrerPolicy?: HTMLReferrerPolicy;
460
+ }
461
+
462
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
463
+ accept?: string;
464
+ alt?: string;
465
+ autocomplete?: string;
466
+ autofocus?: boolean;
467
+ capture?: boolean | string;
468
+ checked?: boolean;
469
+ crossorigin?: HTMLCrossorigin;
470
+ disabled?: boolean;
471
+ form?: string;
472
+ formaction?: string;
473
+ formenctype?: HTMLFormEncType;
474
+ formmethod?: HTMLFormMethod;
475
+ formnovalidate?: boolean;
476
+ formtarget?: string;
477
+ height?: number | string;
478
+ list?: string;
479
+ max?: number | string;
480
+ maxlength?: number | string;
481
+ min?: number | string;
482
+ minlength?: number | string;
483
+ multiple?: boolean;
484
+ name?: string;
485
+ pattern?: string;
486
+ placeholder?: string;
487
+ readonly?: boolean;
488
+ required?: boolean;
489
+ size?: number | string;
490
+ src?: string;
491
+ step?: number | string;
492
+ type?: string;
493
+ value?: string | string[] | number;
494
+ width?: number | string;
495
+
496
+ // camelcase
497
+ crossOrigin?: HTMLCrossorigin;
498
+ formAction?: string;
499
+ formEnctype?: HTMLFormEncType;
500
+ formMethod?: HTMLFormMethod;
501
+ formNoValidate?: boolean;
502
+ formTarget?: string;
503
+ maxLength?: number | string;
504
+ minLength?: number | string;
505
+ readOnly?: boolean;
506
+ }
507
+
508
+ interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
509
+ cite?: string;
510
+ dateTime?: string;
511
+ }
512
+
513
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
514
+ autofocus?: boolean;
515
+ challenge?: string;
516
+ disabled?: boolean;
517
+ form?: string;
518
+ keytype?: string;
519
+ keyparams?: string;
520
+ name?: string;
521
+ }
522
+
523
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
524
+ htmlFor?: string;
525
+ for?: string;
526
+ form?: string;
527
+ }
528
+
529
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
530
+ value?: number | string;
531
+ }
532
+
533
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
534
+ as?: HTMLLinkAs;
535
+ crossorigin?: HTMLCrossorigin;
536
+ disabled?: boolean;
537
+ href?: string;
538
+ hreflang?: string;
539
+ integrity?: string;
540
+ media?: string;
541
+ referrerpolicy?: HTMLReferrerPolicy;
542
+ rel?: string;
543
+ sizes?: string;
544
+ type?: string;
545
+
546
+ // camelcase
547
+ crossOrigin?: HTMLCrossorigin;
548
+ referrerPolicy?: HTMLReferrerPolicy;
549
+ }
550
+
551
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
552
+ name?: string;
553
+ }
554
+
555
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
556
+ autoplay?: boolean;
557
+ controls?: boolean;
558
+ crossorigin?: HTMLCrossorigin;
559
+ loop?: boolean;
560
+ mediagroup?: string;
561
+ muted?: boolean;
562
+ preload?: 'none' | 'metadata' | 'auto' | '';
563
+ src?: string;
564
+
565
+ // camelcase
566
+ crossOrigin?: HTMLCrossorigin;
567
+ mediaGroup?: string;
568
+ }
569
+
570
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
571
+ label?: string;
572
+ type?: 'context' | 'toolbar';
573
+ }
574
+
575
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
576
+ charset?: string;
577
+ content?: string;
578
+ httpequiv?: string;
579
+ name?: string;
580
+
581
+ // camelcase
582
+ httpEquiv?: string;
583
+ }
584
+
585
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
586
+ form?: string;
587
+ high?: number | string;
588
+ low?: number | string;
589
+ max?: number | string;
590
+ min?: number | string;
591
+ optimum?: number | string;
592
+ value?: string | string[] | number;
593
+ }
594
+
595
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
596
+ cite?: string;
597
+ }
598
+
599
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
600
+ data?: string;
601
+ form?: string;
602
+ height?: number | string;
603
+ name?: string;
604
+ type?: string;
605
+ usemap?: string;
606
+ width?: number | string;
607
+
608
+ //camelcase
609
+ useMap?: string;
610
+ }
611
+
612
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
613
+ reversed?: boolean;
614
+ start?: number | string;
615
+ type?: '1' | 'a' | 'A' | 'i' | 'I';
616
+ }
617
+
618
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
619
+ disabled?: boolean;
620
+ label?: string;
621
+ }
622
+
623
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
624
+ disabled?: boolean;
625
+ label?: string;
626
+ selected?: boolean;
627
+ value?: string | string[] | number;
628
+ }
629
+
630
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
631
+ form?: string;
632
+ htmlFor?: string;
633
+ for?: string;
634
+ name?: string;
635
+ }
636
+
637
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
638
+ name?: string;
639
+ value?: string | string[] | number;
640
+ }
641
+
642
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
643
+ max?: number | string;
644
+ value?: string | string[] | number;
645
+ }
646
+
647
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
648
+ async?: boolean;
649
+ charset?: string;
650
+ crossorigin?: HTMLCrossorigin;
651
+ defer?: boolean;
652
+ integrity?: string;
653
+ nomodule?: boolean;
654
+ nonce?: string;
655
+ referrerpolicy?: HTMLReferrerPolicy;
656
+ src?: string;
657
+ type?: string;
658
+
659
+ // camelcase
660
+ crossOrigin?: HTMLCrossorigin;
661
+ noModule?: boolean;
662
+ referrerPolicy?: HTMLReferrerPolicy;
663
+ }
664
+
665
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
666
+ autocomplete?: string;
667
+ autofocus?: boolean;
668
+ disabled?: boolean;
669
+ form?: string;
670
+ multiple?: boolean;
671
+ name?: string;
672
+ required?: boolean;
673
+ size?: number | string;
674
+ value?: string | string[] | number;
675
+ }
676
+
677
+ interface HTMLSlotElementAttributes<T = HTMLSlotElement> extends HTMLAttributes<T> {
678
+ name?: string;
679
+ }
680
+
681
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
682
+ media?: string;
683
+ sizes?: string;
684
+ src?: string;
685
+ srcset?: string;
686
+ type?: string;
687
+ }
688
+
689
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
690
+ media?: string;
691
+ nonce?: string;
692
+ scoped?: boolean;
693
+ type?: string;
694
+ }
695
+
696
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
697
+ colspan?: number | string;
698
+ headers?: string;
699
+ rowspan?: number | string;
700
+
701
+ // camelcase
702
+ colSpan?: number | string;
703
+ rowSpan?: number | string;
704
+ }
705
+
706
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
707
+ autocomplete?: string;
708
+ autofocus?: boolean;
709
+ cols?: number | string;
710
+ dirname?: string;
711
+ disabled?: boolean;
712
+ form?: string;
713
+ maxlength?: number | string;
714
+ minlength?: number | string;
715
+ name?: string;
716
+ placeholder?: string;
717
+ readonly?: boolean;
718
+ required?: boolean;
719
+ rows?: number | string;
720
+ value?: string | string[] | number;
721
+ wrap?: 'hard' | 'soft' | 'off';
722
+
723
+ // camelcase
724
+ maxLength?: number | string;
725
+ minLength?: number | string;
726
+ readOnly?: boolean;
727
+ }
728
+
729
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
730
+ colspan?: number | string;
731
+ headers?: string;
732
+ rowspan?: number | string;
733
+
734
+ // camelcase
735
+ colSpan?: number | string;
736
+ rowSpan?: number | string;
737
+ }
738
+
739
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
740
+ datetime?: string;
741
+ dateTime?: string;
742
+ }
743
+
744
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
745
+ default?: boolean;
746
+ kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
747
+ label?: string;
748
+ src?: string;
749
+ srclang?: string;
750
+ }
751
+
752
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
753
+ height?: number | string;
754
+ playsinline?: boolean;
755
+ poster?: string;
756
+ width?: number | string;
757
+ }
758
+
759
+ // SVG Elements
760
+
761
+ type SVGPreserveAspectRatio =
762
+ | 'none'
763
+ | 'xMinYMin'
764
+ | 'xMidYMin'
765
+ | 'xMaxYMin'
766
+ | 'xMinYMid'
767
+ | 'xMidYMid'
768
+ | 'xMaxYMid'
769
+ | 'xMinYMax'
770
+ | 'xMidYMax'
771
+ | 'xMaxYMax'
772
+ | 'xMinYMin meet'
773
+ | 'xMidYMin meet'
774
+ | 'xMaxYMin meet'
775
+ | 'xMinYMid meet'
776
+ | 'xMidYMid meet'
777
+ | 'xMaxYMid meet'
778
+ | 'xMinYMax meet'
779
+ | 'xMidYMax meet'
780
+ | 'xMaxYMax meet'
781
+ | 'xMinYMin slice'
782
+ | 'xMidYMin slice'
783
+ | 'xMaxYMin slice'
784
+ | 'xMinYMid slice'
785
+ | 'xMidYMid slice'
786
+ | 'xMaxYMid slice'
787
+ | 'xMinYMax slice'
788
+ | 'xMidYMax slice'
789
+ | 'xMaxYMax slice';
790
+
791
+ type ImagePreserveAspectRatio =
792
+ | SVGPreserveAspectRatio
793
+ | 'defer none'
794
+ | 'defer xMinYMin'
795
+ | 'defer xMidYMin'
796
+ | 'defer xMaxYMin'
797
+ | 'defer xMinYMid'
798
+ | 'defer xMidYMid'
799
+ | 'defer xMaxYMid'
800
+ | 'defer xMinYMax'
801
+ | 'defer xMidYMax'
802
+ | 'defer xMaxYMax'
803
+ | 'defer xMinYMin meet'
804
+ | 'defer xMidYMin meet'
805
+ | 'defer xMaxYMin meet'
806
+ | 'defer xMinYMid meet'
807
+ | 'defer xMidYMid meet'
808
+ | 'defer xMaxYMid meet'
809
+ | 'defer xMinYMax meet'
810
+ | 'defer xMidYMax meet'
811
+ | 'defer xMaxYMax meet'
812
+ | 'defer xMinYMin slice'
813
+ | 'defer xMidYMin slice'
814
+ | 'defer xMaxYMin slice'
815
+ | 'defer xMinYMid slice'
816
+ | 'defer xMidYMid slice'
817
+ | 'defer xMaxYMid slice'
818
+ | 'defer xMinYMax slice'
819
+ | 'defer xMidYMax slice'
820
+ | 'defer xMaxYMax slice';
821
+
822
+ type SVGUnits = 'userSpaceOnUse' | 'objectBoundingBox';
823
+
824
+ interface CoreSVGAttributes<T> extends DOMAttributes<T> {
825
+ id?: string;
826
+ lang?: string;
827
+ tabIndex?: number | string;
828
+ tabindex?: number | string;
829
+ }
830
+
831
+ interface StylableSVGAttributes {
832
+ class?: string;
833
+ style?: CSS;
834
+ }
835
+
836
+ interface TransformableSVGAttributes {
837
+ transform?: string;
838
+ }
839
+
840
+ // Fix when namespaces introduced
841
+ // interface XLinkSVGAttributes {
842
+ // xlinkActuate?: string;
843
+ // xlinkArcrole?: string;
844
+ // xlinkHref?: string;
845
+ // xlinkRole?: string;
846
+ // xlinkShow?: string;
847
+ // xlinkTitle?: string;
848
+ // xlinkType?: string;
849
+ // }
850
+
851
+ interface ConditionalProcessingSVGAttributes {
852
+ requiredExtensions?: string;
853
+ requiredFeatures?: string;
854
+ systemLanguage?: string;
855
+ }
856
+
857
+ interface ExternalResourceSVGAttributes {
858
+ externalResourcesRequired?: 'true' | 'false';
859
+ }
860
+
861
+ interface AnimationTimingSVGAttributes {
862
+ begin?: string;
863
+ dur?: string;
864
+ end?: string;
865
+ min?: string;
866
+ max?: string;
867
+ restart?: 'always' | 'whenNotActive' | 'never';
868
+ repeatCount?: number | 'indefinite';
869
+ repeatDur?: string;
870
+ fill?: 'freeze' | 'remove';
871
+ }
872
+
873
+ interface AnimationValueSVGAttributes {
874
+ calcMode?: 'discrete' | 'linear' | 'paced' | 'spline';
875
+ values?: string;
876
+ keyTimes?: string;
877
+ keySplines?: string;
878
+ from?: number | string;
879
+ to?: number | string;
880
+ by?: number | string;
881
+ }
882
+
883
+ interface AnimationAdditionSVGAttributes {
884
+ attributeName?: string;
885
+ additive?: 'replace' | 'sum';
886
+ accumulate?: 'none' | 'sum';
887
+ }
888
+
889
+ interface AnimationAttributeTargetSVGAttributes {
890
+ attributeName?: string;
891
+ attributeType?: 'CSS' | 'XML' | 'auto';
892
+ }
893
+
894
+ interface PresentationSVGAttributes {
895
+ 'alignment-baseline'?:
896
+ | 'auto'
897
+ | 'baseline'
898
+ | 'before-edge'
899
+ | 'text-before-edge'
900
+ | 'middle'
901
+ | 'central'
902
+ | 'after-edge'
903
+ | 'text-after-edge'
904
+ | 'ideographic'
905
+ | 'alphabetic'
906
+ | 'hanging'
907
+ | 'mathematical'
908
+ | 'inherit';
909
+ 'baseline-shift'?: number | string;
910
+ clip?: string;
911
+ 'clip-path'?: string;
912
+ 'clip-rule'?: 'nonzero' | 'evenodd' | 'inherit';
913
+ color?: string;
914
+ 'color-interpolation'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
915
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
916
+ 'color-profile'?: string;
917
+ 'color-rendering'?: 'auto' | 'optimizeSpeed' | 'optimizeQuality' | 'inherit';
918
+ cursor?: string;
919
+ direction?: 'ltr' | 'rtl' | 'inherit';
920
+ display?: string;
921
+ 'dominant-baseline'?:
922
+ | 'auto'
923
+ | 'text-bottom'
924
+ | 'alphabetic'
925
+ | 'ideographic'
926
+ | 'middle'
927
+ | 'central'
928
+ | 'mathematical'
929
+ | 'hanging'
930
+ | 'text-top'
931
+ | 'inherit';
932
+ 'enable-background'?: string;
933
+ fill?: string;
934
+ 'fill-opacity'?: number | string | 'inherit';
935
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
936
+ filter?: string;
937
+ 'flood-color'?: string;
938
+ 'flood-opacity'?: number | string | 'inherit';
939
+ 'font-family'?: string;
940
+ 'font-size'?: string;
941
+ 'font-size-adjust'?: number | string;
942
+ 'font-stretch'?: string;
943
+ 'font-style'?: 'normal' | 'italic' | 'oblique' | 'inherit';
944
+ 'font-variant'?: string;
945
+ 'font-weight'?: number | string;
946
+ 'glyph-orientation-horizontal'?: string;
947
+ 'glyph-orientation-vertical'?: string;
948
+ 'image-rendering'?: 'auto' | 'optimizeQuality' | 'optimizeSpeed' | 'inherit';
949
+ kerning?: string;
950
+ 'letter-spacing'?: number | string;
951
+ 'lighting-color'?: string;
952
+ 'marker-end'?: string;
953
+ 'marker-mid'?: string;
954
+ 'marker-start'?: string;
955
+ mask?: string;
956
+ opacity?: number | string | 'inherit';
957
+ overflow?: 'visible' | 'hidden' | 'scroll' | 'auto' | 'inherit';
958
+ 'pointer-events'?:
959
+ | 'bounding-box'
960
+ | 'visiblePainted'
961
+ | 'visibleFill'
962
+ | 'visibleStroke'
963
+ | 'visible'
964
+ | 'painted'
965
+ | 'color'
966
+ | 'fill'
967
+ | 'stroke'
968
+ | 'all'
969
+ | 'none'
970
+ | 'inherit';
971
+ 'shape-rendering'?: 'auto' | 'optimizeSpeed' | 'crispEdges' | 'geometricPrecision' | 'inherit';
972
+ 'stop-color'?: string;
973
+ 'stop-opacity'?: number | string | 'inherit';
974
+ stroke?: string;
975
+ 'stroke-dasharray'?: string;
976
+ 'stroke-dashoffset'?: number | string;
977
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
978
+ 'stroke-linejoin'?: 'arcs' | 'bevel' | 'miter' | 'miter-clip' | 'round' | 'inherit';
979
+ 'stroke-miterlimit'?: number | string | 'inherit';
980
+ 'stroke-opacity'?: number | string | 'inherit';
981
+ 'stroke-width'?: number | string;
982
+ 'text-anchor'?: 'start' | 'middle' | 'end' | 'inherit';
983
+ 'text-decoration'?: 'none' | 'underline' | 'overline' | 'line-through' | 'blink' | 'inherit';
984
+ 'text-rendering'?:
985
+ | 'auto'
986
+ | 'optimizeSpeed'
987
+ | 'optimizeLegibility'
988
+ | 'geometricPrecision'
989
+ | 'inherit';
990
+ 'unicode-bidi'?: string;
991
+ visibility?: 'visible' | 'hidden' | 'collapse' | 'inherit';
992
+ 'word-spacing'?: number | string;
993
+ 'writing-mode'?: 'lr-tb' | 'rl-tb' | 'tb-rl' | 'lr' | 'rl' | 'tb' | 'inherit';
994
+ }
995
+
996
+ interface AnimationElementSVGAttributes<T>
997
+ extends CoreSVGAttributes<T>,
998
+ ExternalResourceSVGAttributes,
999
+ ConditionalProcessingSVGAttributes {}
1000
+
1001
+ interface ContainerElementSVGAttributes<T>
1002
+ extends CoreSVGAttributes<T>,
1003
+ Pick<
1004
+ PresentationSVGAttributes,
1005
+ | 'clip-path'
1006
+ | 'mask'
1007
+ | 'cursor'
1008
+ | 'opacity'
1009
+ | 'filter'
1010
+ | 'enable-background'
1011
+ | 'color-interpolation'
1012
+ | 'color-rendering'
1013
+ > {}
1014
+
1015
+ interface FilterPrimitiveElementSVGAttributes<T>
1016
+ extends CoreSVGAttributes<T>,
1017
+ Pick<PresentationSVGAttributes, 'color-interpolation-filters'> {
1018
+ x?: number | string;
1019
+ y?: number | string;
1020
+ width?: number | string;
1021
+ height?: number | string;
1022
+ result?: string;
1023
+ }
1024
+
1025
+ interface SingleInputFilterSVGAttributes {
1026
+ in?: string;
1027
+ }
1028
+
1029
+ interface DoubleInputFilterSVGAttributes {
1030
+ in?: string;
1031
+ in2?: string;
1032
+ }
1033
+
1034
+ interface FitToViewBoxSVGAttributes {
1035
+ viewBox?: string;
1036
+ preserveAspectRatio?: SVGPreserveAspectRatio;
1037
+ }
1038
+
1039
+ interface GradientElementSVGAttributes<T>
1040
+ extends CoreSVGAttributes<T>,
1041
+ // XLinkSVGAttributes,
1042
+ ExternalResourceSVGAttributes,
1043
+ StylableSVGAttributes {
1044
+ gradientUnits?: SVGUnits;
1045
+ gradientTransform?: string;
1046
+ spreadMethod?: 'pad' | 'reflect' | 'repeat';
1047
+ }
1048
+
1049
+ interface GraphicsElementSVGAttributes<T>
1050
+ extends CoreSVGAttributes<T>,
1051
+ Pick<
1052
+ PresentationSVGAttributes,
1053
+ | 'clip-rule'
1054
+ | 'mask'
1055
+ | 'pointer-events'
1056
+ | 'cursor'
1057
+ | 'opacity'
1058
+ | 'filter'
1059
+ | 'display'
1060
+ | 'visibility'
1061
+ | 'color-interpolation'
1062
+ | 'color-rendering'
1063
+ > {}
1064
+
1065
+ interface LightSourceElementSVGAttributes<T> extends CoreSVGAttributes<T> {}
1066
+
1067
+ interface NewViewportSVGAttributes<T>
1068
+ extends CoreSVGAttributes<T>,
1069
+ Pick<PresentationSVGAttributes, 'overflow' | 'clip'> {
1070
+ viewBox?: string;
1071
+ }
1072
+
1073
+ interface ShapeElementSVGAttributes<T>
1074
+ extends CoreSVGAttributes<T>,
1075
+ Pick<
1076
+ PresentationSVGAttributes,
1077
+ | 'color'
1078
+ | 'fill'
1079
+ | 'fill-rule'
1080
+ | 'fill-opacity'
1081
+ | 'stroke'
1082
+ | 'stroke-width'
1083
+ | 'stroke-linecap'
1084
+ | 'stroke-linejoin'
1085
+ | 'stroke-miterlimit'
1086
+ | 'stroke-dasharray'
1087
+ | 'stroke-dashoffset'
1088
+ | 'stroke-opacity'
1089
+ | 'shape-rendering'
1090
+ > {}
1091
+
1092
+ interface TextContentElementSVGAttributes<T>
1093
+ extends CoreSVGAttributes<T>,
1094
+ Pick<
1095
+ PresentationSVGAttributes,
1096
+ | 'font-family'
1097
+ | 'font-style'
1098
+ | 'font-variant'
1099
+ | 'font-weight'
1100
+ | 'font-stretch'
1101
+ | 'font-size'
1102
+ | 'font-size-adjust'
1103
+ | 'kerning'
1104
+ | 'letter-spacing'
1105
+ | 'word-spacing'
1106
+ | 'text-decoration'
1107
+ | 'glyph-orientation-horizontal'
1108
+ | 'glyph-orientation-vertical'
1109
+ | 'direction'
1110
+ | 'unicode-bidi'
1111
+ | 'text-anchor'
1112
+ | 'dominant-baseline'
1113
+ | 'color'
1114
+ | 'fill'
1115
+ | 'fill-rule'
1116
+ | 'fill-opacity'
1117
+ | 'stroke'
1118
+ | 'stroke-width'
1119
+ | 'stroke-linecap'
1120
+ | 'stroke-linejoin'
1121
+ | 'stroke-miterlimit'
1122
+ | 'stroke-dasharray'
1123
+ | 'stroke-dashoffset'
1124
+ | 'stroke-opacity'
1125
+ > {}
1126
+
1127
+ interface ZoomAndPanSVGAttributes {
1128
+ zoomAndPan?: 'disable' | 'magnify';
1129
+ }
1130
+
1131
+ interface AnimateSVGAttributes<T>
1132
+ extends AnimationElementSVGAttributes<T>,
1133
+ // XLinkSVGAttributes,
1134
+ AnimationAttributeTargetSVGAttributes,
1135
+ AnimationTimingSVGAttributes,
1136
+ AnimationValueSVGAttributes,
1137
+ AnimationAdditionSVGAttributes,
1138
+ Pick<PresentationSVGAttributes, 'color-interpolation' | 'color-rendering'> {}
1139
+
1140
+ interface AnimateMotionSVGAttributes<T>
1141
+ extends AnimationElementSVGAttributes<T>,
1142
+ // XLinkSVGAttributes,
1143
+ AnimationTimingSVGAttributes,
1144
+ AnimationValueSVGAttributes,
1145
+ AnimationAdditionSVGAttributes {
1146
+ path?: string;
1147
+ keyPoints?: string;
1148
+ rotate?: number | string | 'auto' | 'auto-reverse';
1149
+ origin?: 'default';
1150
+ }
1151
+
1152
+ interface AnimateTransformSVGAttributes<T>
1153
+ extends AnimationElementSVGAttributes<T>,
1154
+ // XLinkSVGAttributes,
1155
+ AnimationAttributeTargetSVGAttributes,
1156
+ AnimationTimingSVGAttributes,
1157
+ AnimationValueSVGAttributes,
1158
+ AnimationAdditionSVGAttributes {
1159
+ type?: 'translate' | 'scale' | 'rotate' | 'skewX' | 'skewY';
1160
+ }
1161
+
1162
+ interface CircleSVGAttributes<T>
1163
+ extends GraphicsElementSVGAttributes<T>,
1164
+ ShapeElementSVGAttributes<T>,
1165
+ ConditionalProcessingSVGAttributes,
1166
+ StylableSVGAttributes,
1167
+ TransformableSVGAttributes {
1168
+ cx?: number | string;
1169
+ cy?: number | string;
1170
+ r?: number | string;
1171
+ }
1172
+
1173
+ interface ClipPathSVGAttributes<T>
1174
+ extends CoreSVGAttributes<T>,
1175
+ ConditionalProcessingSVGAttributes,
1176
+ ExternalResourceSVGAttributes,
1177
+ StylableSVGAttributes,
1178
+ TransformableSVGAttributes,
1179
+ Pick<PresentationSVGAttributes, 'clip-path'> {
1180
+ clipPathUnits?: SVGUnits;
1181
+ }
1182
+
1183
+ interface DefsSVGAttributes<T>
1184
+ extends ContainerElementSVGAttributes<T>,
1185
+ ConditionalProcessingSVGAttributes,
1186
+ ExternalResourceSVGAttributes,
1187
+ StylableSVGAttributes,
1188
+ TransformableSVGAttributes {}
1189
+
1190
+ interface DescSVGAttributes<T> extends CoreSVGAttributes<T>, StylableSVGAttributes {}
1191
+
1192
+ interface EllipseSVGAttributes<T>
1193
+ extends GraphicsElementSVGAttributes<T>,
1194
+ ShapeElementSVGAttributes<T>,
1195
+ ConditionalProcessingSVGAttributes,
1196
+ ExternalResourceSVGAttributes,
1197
+ StylableSVGAttributes,
1198
+ TransformableSVGAttributes {
1199
+ cx?: number | string;
1200
+ cy?: number | string;
1201
+ rx?: number | string;
1202
+ ry?: number | string;
1203
+ }
1204
+
1205
+ interface FeBlendSVGAttributes<T>
1206
+ extends FilterPrimitiveElementSVGAttributes<T>,
1207
+ DoubleInputFilterSVGAttributes,
1208
+ StylableSVGAttributes {
1209
+ mode?: 'normal' | 'multiply' | 'screen' | 'darken' | 'lighten';
1210
+ }
1211
+
1212
+ interface FeColorMatrixSVGAttributes<T>
1213
+ extends FilterPrimitiveElementSVGAttributes<T>,
1214
+ SingleInputFilterSVGAttributes,
1215
+ StylableSVGAttributes {
1216
+ type?: 'matrix' | 'saturate' | 'hueRotate' | 'luminanceToAlpha';
1217
+ values?: string;
1218
+ }
1219
+
1220
+ interface FeComponentTransferSVGAttributes<T>
1221
+ extends FilterPrimitiveElementSVGAttributes<T>,
1222
+ SingleInputFilterSVGAttributes,
1223
+ StylableSVGAttributes {}
1224
+
1225
+ interface FeCompositeSVGAttributes<T>
1226
+ extends FilterPrimitiveElementSVGAttributes<T>,
1227
+ DoubleInputFilterSVGAttributes,
1228
+ StylableSVGAttributes {
1229
+ operator?: 'over' | 'in' | 'out' | 'atop' | 'xor' | 'arithmetic';
1230
+ k1?: number | string;
1231
+ k2?: number | string;
1232
+ k3?: number | string;
1233
+ k4?: number | string;
1234
+ }
1235
+
1236
+ interface FeConvolveMatrixSVGAttributes<T>
1237
+ extends FilterPrimitiveElementSVGAttributes<T>,
1238
+ SingleInputFilterSVGAttributes,
1239
+ StylableSVGAttributes {
1240
+ order?: number | string;
1241
+ kernelMatrix?: string;
1242
+ divisor?: number | string;
1243
+ bias?: number | string;
1244
+ targetX?: number | string;
1245
+ targetY?: number | string;
1246
+ edgeMode?: 'duplicate' | 'wrap' | 'none';
1247
+ kernelUnitLength?: number | string;
1248
+ preserveAlpha?: 'true' | 'false';
1249
+ }
1250
+
1251
+ interface FeDiffuseLightingSVGAttributes<T>
1252
+ extends FilterPrimitiveElementSVGAttributes<T>,
1253
+ SingleInputFilterSVGAttributes,
1254
+ StylableSVGAttributes,
1255
+ Pick<PresentationSVGAttributes, 'color' | 'lighting-color'> {
1256
+ surfaceScale?: number | string;
1257
+ diffuseConstant?: number | string;
1258
+ kernelUnitLength?: number | string;
1259
+ }
1260
+
1261
+ interface FeDisplacementMapSVGAttributes<T>
1262
+ extends FilterPrimitiveElementSVGAttributes<T>,
1263
+ DoubleInputFilterSVGAttributes,
1264
+ StylableSVGAttributes {
1265
+ scale?: number | string;
1266
+ xChannelSelector?: 'R' | 'G' | 'B' | 'A';
1267
+ yChannelSelector?: 'R' | 'G' | 'B' | 'A';
1268
+ }
1269
+
1270
+ interface FeDistantLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
1271
+ azimuth?: number | string;
1272
+ elevation?: number | string;
1273
+ }
1274
+
1275
+ interface FeFloodSVGAttributes<T>
1276
+ extends FilterPrimitiveElementSVGAttributes<T>,
1277
+ StylableSVGAttributes,
1278
+ Pick<PresentationSVGAttributes, 'color' | 'flood-color' | 'flood-opacity'> {}
1279
+
1280
+ interface FeFuncSVGAttributes<T> extends CoreSVGAttributes<T> {
1281
+ type?: 'identity' | 'table' | 'discrete' | 'linear' | 'gamma';
1282
+ tableValues?: string;
1283
+ slope?: number | string;
1284
+ intercept?: number | string;
1285
+ amplitude?: number | string;
1286
+ exponent?: number | string;
1287
+ offset?: number | string;
1288
+ }
1289
+
1290
+ interface FeGaussianBlurSVGAttributes<T>
1291
+ extends FilterPrimitiveElementSVGAttributes<T>,
1292
+ SingleInputFilterSVGAttributes,
1293
+ StylableSVGAttributes {
1294
+ stdDeviation?: number | string;
1295
+ }
1296
+
1297
+ interface FeImageSVGAttributes<T>
1298
+ extends FilterPrimitiveElementSVGAttributes<T>,
1299
+ // XLinkSVGAttributes,
1300
+ ExternalResourceSVGAttributes,
1301
+ StylableSVGAttributes {
1302
+ preserveAspectRatio: SVGPreserveAspectRatio;
1303
+ }
1304
+
1305
+ interface FeMergeSVGAttributes<T>
1306
+ extends FilterPrimitiveElementSVGAttributes<T>,
1307
+ StylableSVGAttributes {}
1308
+
1309
+ interface FeMergeNodeSVGAttributes<T>
1310
+ extends CoreSVGAttributes<T>,
1311
+ SingleInputFilterSVGAttributes {}
1312
+
1313
+ interface FeMorphologySVGAttributes<T>
1314
+ extends FilterPrimitiveElementSVGAttributes<T>,
1315
+ SingleInputFilterSVGAttributes,
1316
+ StylableSVGAttributes {
1317
+ operator?: 'erode' | 'dilate';
1318
+ radius?: number | string;
1319
+ }
1320
+
1321
+ interface FeOffsetSVGAttributes<T>
1322
+ extends FilterPrimitiveElementSVGAttributes<T>,
1323
+ SingleInputFilterSVGAttributes,
1324
+ StylableSVGAttributes {
1325
+ dx?: number | string;
1326
+ dy?: number | string;
1327
+ }
1328
+
1329
+ interface FePointLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
1330
+ x?: number | string;
1331
+ y?: number | string;
1332
+ z?: number | string;
1333
+ }
1334
+
1335
+ interface FeSpecularLightingSVGAttributes<T>
1336
+ extends FilterPrimitiveElementSVGAttributes<T>,
1337
+ SingleInputFilterSVGAttributes,
1338
+ StylableSVGAttributes,
1339
+ Pick<PresentationSVGAttributes, 'color' | 'lighting-color'> {
1340
+ surfaceScale?: string;
1341
+ specularConstant?: string;
1342
+ specularExponent?: string;
1343
+ kernelUnitLength?: number | string;
1344
+ }
1345
+
1346
+ interface FeSpotLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
1347
+ x?: number | string;
1348
+ y?: number | string;
1349
+ z?: number | string;
1350
+ pointsAtX?: number | string;
1351
+ pointsAtY?: number | string;
1352
+ pointsAtZ?: number | string;
1353
+ specularExponent?: number | string;
1354
+ limitingConeAngle?: number | string;
1355
+ }
1356
+
1357
+ interface FeTileSVGAttributes<T>
1358
+ extends FilterPrimitiveElementSVGAttributes<T>,
1359
+ SingleInputFilterSVGAttributes,
1360
+ StylableSVGAttributes {}
1361
+
1362
+ interface FeTurbulanceSVGAttributes<T>
1363
+ extends FilterPrimitiveElementSVGAttributes<T>,
1364
+ StylableSVGAttributes {
1365
+ baseFrequency?: number | string;
1366
+ numOctaves?: number | string;
1367
+ seed?: number | string;
1368
+ stitchTiles?: 'stitch' | 'noStitch';
1369
+ type?: 'fractalNoise' | 'turbulence';
1370
+ }
1371
+
1372
+ interface FilterSVGAttributes<T>
1373
+ extends CoreSVGAttributes<T>,
1374
+ // XLinkSVGAttributes,
1375
+ ExternalResourceSVGAttributes,
1376
+ StylableSVGAttributes {
1377
+ filterUnits?: SVGUnits;
1378
+ primitiveUnits?: SVGUnits;
1379
+ x?: number | string;
1380
+ y?: number | string;
1381
+ width?: number | string;
1382
+ height?: number | string;
1383
+ filterRes?: number | string;
1384
+ }
1385
+
1386
+ interface ForeignObjectSVGAttributes<T>
1387
+ extends NewViewportSVGAttributes<T>,
1388
+ ConditionalProcessingSVGAttributes,
1389
+ ExternalResourceSVGAttributes,
1390
+ StylableSVGAttributes,
1391
+ TransformableSVGAttributes,
1392
+ Pick<PresentationSVGAttributes, 'display' | 'visibility'> {
1393
+ x?: number | string;
1394
+ y?: number | string;
1395
+ width?: number | string;
1396
+ height?: number | string;
1397
+ }
1398
+
1399
+ interface GSVGAttributes<T>
1400
+ extends ContainerElementSVGAttributes<T>,
1401
+ ConditionalProcessingSVGAttributes,
1402
+ ExternalResourceSVGAttributes,
1403
+ StylableSVGAttributes,
1404
+ TransformableSVGAttributes,
1405
+ Pick<PresentationSVGAttributes, 'display' | 'visibility'> {}
1406
+
1407
+ interface ImageSVGAttributes<T>
1408
+ extends NewViewportSVGAttributes<T>,
1409
+ GraphicsElementSVGAttributes<T>,
1410
+ ConditionalProcessingSVGAttributes,
1411
+ // XLinkSVGAttributes,
1412
+ StylableSVGAttributes,
1413
+ TransformableSVGAttributes,
1414
+ Pick<PresentationSVGAttributes, 'color-profile' | 'image-rendering'> {
1415
+ x?: number | string;
1416
+ y?: number | string;
1417
+ width?: number | string;
1418
+ height?: number | string;
1419
+ preserveAspectRatio?: ImagePreserveAspectRatio;
1420
+ }
1421
+
1422
+ interface LineSVGAttributes<T>
1423
+ extends GraphicsElementSVGAttributes<T>,
1424
+ ShapeElementSVGAttributes<T>,
1425
+ ConditionalProcessingSVGAttributes,
1426
+ ExternalResourceSVGAttributes,
1427
+ StylableSVGAttributes,
1428
+ TransformableSVGAttributes,
1429
+ Pick<PresentationSVGAttributes, 'marker-start' | 'marker-mid' | 'marker-end'> {
1430
+ x1?: number | string;
1431
+ y1?: number | string;
1432
+ x2?: number | string;
1433
+ y2?: number | string;
1434
+ }
1435
+
1436
+ interface LinearGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
1437
+ x1?: number | string;
1438
+ x2?: number | string;
1439
+ y1?: number | string;
1440
+ y2?: number | string;
1441
+ }
1442
+
1443
+ interface MarkerSVGAttributes<T>
1444
+ extends ContainerElementSVGAttributes<T>,
1445
+ ExternalResourceSVGAttributes,
1446
+ StylableSVGAttributes,
1447
+ FitToViewBoxSVGAttributes,
1448
+ Pick<PresentationSVGAttributes, 'overflow' | 'clip'> {
1449
+ markerUnits?: 'strokeWidth' | 'userSpaceOnUse';
1450
+ refX?: number | string;
1451
+ refY?: number | string;
1452
+ markerWidth?: number | string;
1453
+ markerHeight?: number | string;
1454
+ orient?: string;
1455
+ }
1456
+
1457
+ interface MaskSVGAttributes<T>
1458
+ extends Omit<ContainerElementSVGAttributes<T>, 'opacity' | 'filter'>,
1459
+ ConditionalProcessingSVGAttributes,
1460
+ ExternalResourceSVGAttributes,
1461
+ StylableSVGAttributes {
1462
+ maskUnits?: SVGUnits;
1463
+ maskContentUnits?: SVGUnits;
1464
+ x?: number | string;
1465
+ y?: number | string;
1466
+ width?: number | string;
1467
+ height?: number | string;
1468
+ }
1469
+
1470
+ interface MetadataSVGAttributes<T> extends CoreSVGAttributes<T> {}
1471
+
1472
+ interface PathSVGAttributes<T>
1473
+ extends GraphicsElementSVGAttributes<T>,
1474
+ ShapeElementSVGAttributes<T>,
1475
+ ConditionalProcessingSVGAttributes,
1476
+ ExternalResourceSVGAttributes,
1477
+ StylableSVGAttributes,
1478
+ TransformableSVGAttributes,
1479
+ Pick<PresentationSVGAttributes, 'marker-start' | 'marker-mid' | 'marker-end'> {
1480
+ d?: string;
1481
+ pathLength?: number | string;
1482
+ }
1483
+
1484
+ interface PatternSVGAttributes<T>
1485
+ extends ContainerElementSVGAttributes<T>,
1486
+ ConditionalProcessingSVGAttributes,
1487
+ // XLinkSVGAttributes,
1488
+ ExternalResourceSVGAttributes,
1489
+ StylableSVGAttributes,
1490
+ FitToViewBoxSVGAttributes,
1491
+ Pick<PresentationSVGAttributes, 'overflow' | 'clip'> {
1492
+ x?: number | string;
1493
+ y?: number | string;
1494
+ width?: number | string;
1495
+ height?: number | string;
1496
+ patternUnits?: SVGUnits;
1497
+ patternContentUnits?: SVGUnits;
1498
+ patternTransform?: string;
1499
+ }
1500
+
1501
+ interface PolygonSVGAttributes<T>
1502
+ extends GraphicsElementSVGAttributes<T>,
1503
+ ShapeElementSVGAttributes<T>,
1504
+ ConditionalProcessingSVGAttributes,
1505
+ ExternalResourceSVGAttributes,
1506
+ StylableSVGAttributes,
1507
+ TransformableSVGAttributes,
1508
+ Pick<PresentationSVGAttributes, 'marker-start' | 'marker-mid' | 'marker-end'> {
1509
+ points?: string;
1510
+ }
1511
+
1512
+ interface PolylineSVGAttributes<T>
1513
+ extends GraphicsElementSVGAttributes<T>,
1514
+ ShapeElementSVGAttributes<T>,
1515
+ ConditionalProcessingSVGAttributes,
1516
+ ExternalResourceSVGAttributes,
1517
+ StylableSVGAttributes,
1518
+ TransformableSVGAttributes,
1519
+ Pick<PresentationSVGAttributes, 'marker-start' | 'marker-mid' | 'marker-end'> {
1520
+ points?: string;
1521
+ }
1522
+
1523
+ interface RadialGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
1524
+ cx?: number | string;
1525
+ cy?: number | string;
1526
+ r?: number | string;
1527
+ fx?: number | string;
1528
+ fy?: number | string;
1529
+ }
1530
+
1531
+ interface RectSVGAttributes<T>
1532
+ extends GraphicsElementSVGAttributes<T>,
1533
+ ShapeElementSVGAttributes<T>,
1534
+ ConditionalProcessingSVGAttributes,
1535
+ ExternalResourceSVGAttributes,
1536
+ StylableSVGAttributes,
1537
+ TransformableSVGAttributes {
1538
+ x?: number | string;
1539
+ y?: number | string;
1540
+ width?: number | string;
1541
+ height?: number | string;
1542
+ rx?: number | string;
1543
+ ry?: number | string;
1544
+ }
1545
+
1546
+ interface StopSVGAttributes<T>
1547
+ extends CoreSVGAttributes<T>,
1548
+ StylableSVGAttributes,
1549
+ Pick<PresentationSVGAttributes, 'color' | 'stop-color' | 'stop-opacity'> {
1550
+ offset?: number | string;
1551
+ }
1552
+
1553
+ interface SvgSVGAttributes<T>
1554
+ extends ContainerElementSVGAttributes<T>,
1555
+ NewViewportSVGAttributes<T>,
1556
+ ConditionalProcessingSVGAttributes,
1557
+ ExternalResourceSVGAttributes,
1558
+ StylableSVGAttributes,
1559
+ FitToViewBoxSVGAttributes,
1560
+ ZoomAndPanSVGAttributes,
1561
+ Pick<PresentationSVGAttributes, 'display' | 'visibility'> {
1562
+ version?: string;
1563
+ 'base-profile'?: string;
1564
+ x?: number | string;
1565
+ y?: number | string;
1566
+ width?: number | string;
1567
+ height?: number | string;
1568
+ contentScriptType?: string;
1569
+ contentStyleType?: string;
1570
+ }
1571
+
1572
+ interface SwitchSVGAttributes<T>
1573
+ extends ContainerElementSVGAttributes<T>,
1574
+ ConditionalProcessingSVGAttributes,
1575
+ ExternalResourceSVGAttributes,
1576
+ StylableSVGAttributes,
1577
+ TransformableSVGAttributes,
1578
+ Pick<PresentationSVGAttributes, 'display' | 'visibility'> {}
1579
+
1580
+ interface SymbolSVGAttributes<T>
1581
+ extends ContainerElementSVGAttributes<T>,
1582
+ NewViewportSVGAttributes<T>,
1583
+ ExternalResourceSVGAttributes,
1584
+ StylableSVGAttributes,
1585
+ FitToViewBoxSVGAttributes {}
1586
+
1587
+ interface TextSVGAttributes<T>
1588
+ extends TextContentElementSVGAttributes<T>,
1589
+ GraphicsElementSVGAttributes<T>,
1590
+ ConditionalProcessingSVGAttributes,
1591
+ ExternalResourceSVGAttributes,
1592
+ StylableSVGAttributes,
1593
+ TransformableSVGAttributes,
1594
+ Pick<PresentationSVGAttributes, 'writing-mode' | 'text-rendering'> {
1595
+ x?: number | string;
1596
+ y?: number | string;
1597
+ dx?: number | string;
1598
+ dy?: number | string;
1599
+ rotate?: number | string;
1600
+ textLength?: number | string;
1601
+ lengthAdjust?: 'spacing' | 'spacingAndGlyphs';
1602
+ }
1603
+
1604
+ interface TextPathSVGAttributes<T>
1605
+ extends TextContentElementSVGAttributes<T>,
1606
+ ConditionalProcessingSVGAttributes,
1607
+ // XLinkSVGAttributes,
1608
+ ExternalResourceSVGAttributes,
1609
+ StylableSVGAttributes,
1610
+ Pick<
1611
+ PresentationSVGAttributes,
1612
+ 'alignment-baseline' | 'baseline-shift' | 'display' | 'visibility'
1613
+ > {
1614
+ startOffset?: number | string;
1615
+ method?: 'align' | 'stretch';
1616
+ spacing?: 'auto' | 'exact';
1617
+ }
1618
+
1619
+ interface TSpanSVGAttributes<T>
1620
+ extends TextContentElementSVGAttributes<T>,
1621
+ ConditionalProcessingSVGAttributes,
1622
+ ExternalResourceSVGAttributes,
1623
+ StylableSVGAttributes,
1624
+ Pick<
1625
+ PresentationSVGAttributes,
1626
+ 'alignment-baseline' | 'baseline-shift' | 'display' | 'visibility'
1627
+ > {
1628
+ x?: number | string;
1629
+ y?: number | string;
1630
+ dx?: number | string;
1631
+ dy?: number | string;
1632
+ rotate?: number | string;
1633
+ textLength?: number | string;
1634
+ lengthAdjust?: 'spacing' | 'spacingAndGlyphs';
1635
+ }
1636
+
1637
+ interface UseSVGAttributes<T>
1638
+ extends GraphicsElementSVGAttributes<T>,
1639
+ ConditionalProcessingSVGAttributes,
1640
+ // XLinkSVGAttributes,
1641
+ ExternalResourceSVGAttributes,
1642
+ StylableSVGAttributes,
1643
+ TransformableSVGAttributes {
1644
+ x?: number | string;
1645
+ y?: number | string;
1646
+ width?: number | string;
1647
+ height?: number | string;
1648
+ }
1649
+
1650
+ interface ViewSVGAttributes<T>
1651
+ extends CoreSVGAttributes<T>,
1652
+ ExternalResourceSVGAttributes,
1653
+ FitToViewBoxSVGAttributes,
1654
+ ZoomAndPanSVGAttributes {
1655
+ viewTarget?: string;
1656
+ }
1657
+
1658
+ interface IntrinsicElements {
1659
+ // HTML
1660
+ a: AnchorHTMLAttributes<HTMLAnchorElement>;
1661
+ abbr: HTMLAttributes<HTMLElement>;
1662
+ address: HTMLAttributes<HTMLElement>;
1663
+ area: AreaHTMLAttributes<HTMLAreaElement>;
1664
+ article: HTMLAttributes<HTMLElement>;
1665
+ aside: HTMLAttributes<HTMLElement>;
1666
+ audio: AudioHTMLAttributes<HTMLAudioElement>;
1667
+ b: HTMLAttributes<HTMLElement>;
1668
+ base: BaseHTMLAttributes<HTMLBaseElement>;
1669
+ bdi: HTMLAttributes<HTMLElement>;
1670
+ bdo: HTMLAttributes<HTMLElement>;
1671
+ big: HTMLAttributes<HTMLElement>;
1672
+ blockquote: BlockquoteHTMLAttributes<HTMLElement>;
1673
+ body: HTMLAttributes<HTMLBodyElement>;
1674
+ br: HTMLAttributes<HTMLBRElement>;
1675
+ button: ButtonHTMLAttributes<HTMLButtonElement>;
1676
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement>;
1677
+ caption: HTMLAttributes<HTMLElement>;
1678
+ cite: HTMLAttributes<HTMLElement>;
1679
+ code: HTMLAttributes<HTMLElement>;
1680
+ col: ColHTMLAttributes<HTMLTableColElement>;
1681
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement>;
1682
+ data: DataHTMLAttributes<HTMLElement>;
1683
+ datalist: HTMLAttributes<HTMLDataListElement>;
1684
+ dd: HTMLAttributes<HTMLElement>;
1685
+ del: HTMLAttributes<HTMLElement>;
1686
+ details: DetailsHtmlAttributes<HTMLElement>;
1687
+ dfn: HTMLAttributes<HTMLElement>;
1688
+ dialog: DialogHtmlAttributes<HTMLElement>;
1689
+ div: HTMLAttributes<HTMLDivElement>;
1690
+ dl: HTMLAttributes<HTMLDListElement>;
1691
+ dt: HTMLAttributes<HTMLElement>;
1692
+ em: HTMLAttributes<HTMLElement>;
1693
+ embed: EmbedHTMLAttributes<HTMLEmbedElement>;
1694
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>;
1695
+ figcaption: HTMLAttributes<HTMLElement>;
1696
+ figure: HTMLAttributes<HTMLElement>;
1697
+ footer: HTMLAttributes<HTMLElement>;
1698
+ form: FormHTMLAttributes<HTMLFormElement>;
1699
+ h1: HTMLAttributes<HTMLHeadingElement>;
1700
+ h2: HTMLAttributes<HTMLHeadingElement>;
1701
+ h3: HTMLAttributes<HTMLHeadingElement>;
1702
+ h4: HTMLAttributes<HTMLHeadingElement>;
1703
+ h5: HTMLAttributes<HTMLHeadingElement>;
1704
+ h6: HTMLAttributes<HTMLHeadingElement>;
1705
+ head: HTMLAttributes<HTMLHeadElement>;
1706
+ header: HTMLAttributes<HTMLElement>;
1707
+ hgroup: HTMLAttributes<HTMLElement>;
1708
+ hr: HTMLAttributes<HTMLHRElement>;
1709
+ html: HTMLAttributes<HTMLHtmlElement>;
1710
+ i: HTMLAttributes<HTMLElement>;
1711
+ iframe: IframeHTMLAttributes<HTMLIFrameElement>;
1712
+ img: ImgHTMLAttributes<HTMLImageElement>;
1713
+ input: InputHTMLAttributes<HTMLInputElement>;
1714
+ ins: InsHTMLAttributes<HTMLModElement>;
1715
+ kbd: HTMLAttributes<HTMLElement>;
1716
+ keygen: KeygenHTMLAttributes<HTMLElement>;
1717
+ label: LabelHTMLAttributes<HTMLLabelElement>;
1718
+ legend: HTMLAttributes<HTMLLegendElement>;
1719
+ li: LiHTMLAttributes<HTMLLIElement>;
1720
+ link: LinkHTMLAttributes<HTMLLinkElement>;
1721
+ main: HTMLAttributes<HTMLElement>;
1722
+ map: MapHTMLAttributes<HTMLMapElement>;
1723
+ mark: HTMLAttributes<HTMLElement>;
1724
+ menu: MenuHTMLAttributes<HTMLElement>;
1725
+ menuitem: HTMLAttributes<HTMLElement>;
1726
+ meta: MetaHTMLAttributes<HTMLMetaElement>;
1727
+ meter: MeterHTMLAttributes<HTMLElement>;
1728
+ nav: HTMLAttributes<HTMLElement>;
1729
+ noindex: HTMLAttributes<HTMLElement>;
1730
+ noscript: HTMLAttributes<HTMLElement>;
1731
+ object: ObjectHTMLAttributes<HTMLObjectElement>;
1732
+ ol: OlHTMLAttributes<HTMLOListElement>;
1733
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>;
1734
+ option: OptionHTMLAttributes<HTMLOptionElement>;
1735
+ output: OutputHTMLAttributes<HTMLElement>;
1736
+ p: HTMLAttributes<HTMLParagraphElement>;
1737
+ param: ParamHTMLAttributes<HTMLParamElement>;
1738
+ picture: HTMLAttributes<HTMLElement>;
1739
+ pre: HTMLAttributes<HTMLPreElement>;
1740
+ progress: ProgressHTMLAttributes<HTMLProgressElement>;
1741
+ q: QuoteHTMLAttributes<HTMLQuoteElement>;
1742
+ rp: HTMLAttributes<HTMLElement>;
1743
+ rt: HTMLAttributes<HTMLElement>;
1744
+ ruby: HTMLAttributes<HTMLElement>;
1745
+ s: HTMLAttributes<HTMLElement>;
1746
+ samp: HTMLAttributes<HTMLElement>;
1747
+ script: ScriptHTMLAttributes<HTMLElement>;
1748
+ section: HTMLAttributes<HTMLElement>;
1749
+ select: SelectHTMLAttributes<HTMLSelectElement>;
1750
+ slot: HTMLSlotElementAttributes;
1751
+ small: HTMLAttributes<HTMLElement>;
1752
+ source: SourceHTMLAttributes<HTMLSourceElement>;
1753
+ span: HTMLAttributes<HTMLSpanElement>;
1754
+ strong: HTMLAttributes<HTMLElement>;
1755
+ style: StyleHTMLAttributes<HTMLStyleElement>;
1756
+ sub: HTMLAttributes<HTMLElement>;
1757
+ summary: HTMLAttributes<HTMLElement>;
1758
+ sup: HTMLAttributes<HTMLElement>;
1759
+ table: HTMLAttributes<HTMLTableElement>;
1760
+ tbody: HTMLAttributes<HTMLTableSectionElement>;
1761
+ td: TdHTMLAttributes<HTMLTableDataCellElement>;
1762
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement>;
1763
+ tfoot: HTMLAttributes<HTMLTableSectionElement>;
1764
+ th: ThHTMLAttributes<HTMLTableHeaderCellElement>;
1765
+ thead: HTMLAttributes<HTMLTableSectionElement>;
1766
+ time: TimeHTMLAttributes<HTMLElement>;
1767
+ title: HTMLAttributes<HTMLTitleElement>;
1768
+ tr: HTMLAttributes<HTMLTableRowElement>;
1769
+ track: TrackHTMLAttributes<HTMLTrackElement>;
1770
+ u: HTMLAttributes<HTMLElement>;
1771
+ ul: HTMLAttributes<HTMLUListElement>;
1772
+ var: HTMLAttributes<HTMLElement>;
1773
+ video: VideoHTMLAttributes<HTMLVideoElement>;
1774
+ wbr: HTMLAttributes<HTMLElement>;
1775
+
1776
+ // SVG
1777
+ svg: SvgSVGAttributes<SVGSVGElement>;
1778
+
1779
+ animate: AnimateSVGAttributes<SVGAnimateElement>;
1780
+ animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement>;
1781
+ animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement>;
1782
+ circle: CircleSVGAttributes<SVGCircleElement>;
1783
+ clipPath: ClipPathSVGAttributes<SVGClipPathElement>;
1784
+ defs: DefsSVGAttributes<SVGDefsElement>;
1785
+ desc: DescSVGAttributes<SVGDescElement>;
1786
+ ellipse: EllipseSVGAttributes<SVGEllipseElement>;
1787
+ feBlend: FeBlendSVGAttributes<SVGFEBlendElement>;
1788
+ feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement>;
1789
+ feComponentTransfer: FeComponentTransferSVGAttributes<SVGFEComponentTransferElement>;
1790
+ feComposite: FeCompositeSVGAttributes<SVGFECompositeElement>;
1791
+ feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement>;
1792
+ feDiffuseLighting: FeDiffuseLightingSVGAttributes<SVGFEDiffuseLightingElement>;
1793
+ feDisplacementMap: FeDisplacementMapSVGAttributes<SVGFEDisplacementMapElement>;
1794
+ feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement>;
1795
+ feFlood: FeFloodSVGAttributes<SVGFEFloodElement>;
1796
+ feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement>;
1797
+ feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement>;
1798
+ feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement>;
1799
+ feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement>;
1800
+ feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement>;
1801
+ feImage: FeImageSVGAttributes<SVGFEImageElement>;
1802
+ feMerge: FeMergeSVGAttributes<SVGFEMergeElement>;
1803
+ feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement>;
1804
+ feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement>;
1805
+ feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement>;
1806
+ fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement>;
1807
+ feSpecularLighting: FeSpecularLightingSVGAttributes<SVGFESpecularLightingElement>;
1808
+ feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement>;
1809
+ feTile: FeTileSVGAttributes<SVGFETileElement>;
1810
+ feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement>;
1811
+ filter: FilterSVGAttributes<SVGFilterElement>;
1812
+ foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement>;
1813
+ g: GSVGAttributes<SVGGElement>;
1814
+ image: ImageSVGAttributes<SVGImageElement>;
1815
+ line: LineSVGAttributes<SVGLineElement>;
1816
+ linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement>;
1817
+ marker: MarkerSVGAttributes<SVGMarkerElement>;
1818
+ mask: MaskSVGAttributes<SVGMaskElement>;
1819
+ metadata: MetadataSVGAttributes<SVGMetadataElement>;
1820
+ path: PathSVGAttributes<SVGPathElement>;
1821
+ pattern: PatternSVGAttributes<SVGPatternElement>;
1822
+ polygon: PolygonSVGAttributes<SVGPolygonElement>;
1823
+ polyline: PolylineSVGAttributes<SVGPolylineElement>;
1824
+ radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement>;
1825
+ rect: RectSVGAttributes<SVGRectElement>;
1826
+ stop: StopSVGAttributes<SVGStopElement>;
1827
+ switch: SwitchSVGAttributes<SVGSwitchElement>;
1828
+ symbol: SymbolSVGAttributes<SVGSymbolElement>;
1829
+ text: TextSVGAttributes<SVGTextElement>;
1830
+ textPath: TextPathSVGAttributes<SVGTextPathElement>;
1831
+ tspan: TSpanSVGAttributes<SVGTSpanElement>;
1832
+ use: UseSVGAttributes<SVGUseElement>;
1833
+ view: ViewSVGAttributes<SVGViewElement>;
1834
+ }
1835
+ }
1836
+
1837
+ export {};