@krate/runtime 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1023 @@
1
+ declare global {
2
+ namespace JSX {
3
+ interface Element extends Node {
4
+ }
5
+ interface ElementChildrenAttribute {
6
+ children: {};
7
+ }
8
+ type Booleanish = boolean | 'true' | 'false';
9
+ type CSSProperties = Record<string, string | number>;
10
+ interface AriaAttributes {
11
+ 'aria-activedescendant'?: string;
12
+ 'aria-atomic'?: Booleanish;
13
+ 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both';
14
+ 'aria-busy'?: Booleanish;
15
+ 'aria-checked'?: boolean | 'false' | 'mixed' | 'true';
16
+ 'aria-colcount'?: number;
17
+ 'aria-colindex'?: number;
18
+ 'aria-colspan'?: number;
19
+ 'aria-controls'?: string;
20
+ 'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time';
21
+ 'aria-describedby'?: string;
22
+ 'aria-details'?: string;
23
+ 'aria-disabled'?: Booleanish;
24
+ 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
25
+ 'aria-errormessage'?: string;
26
+ 'aria-expanded'?: Booleanish;
27
+ 'aria-flowto'?: string;
28
+ 'aria-grabbed'?: Booleanish;
29
+ 'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
30
+ 'aria-hidden'?: Booleanish;
31
+ 'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling';
32
+ 'aria-keyshortcuts'?: string;
33
+ 'aria-label'?: string;
34
+ 'aria-labelledby'?: string;
35
+ 'aria-level'?: number;
36
+ 'aria-live'?: 'off' | 'assertive' | 'polite';
37
+ 'aria-modal'?: Booleanish;
38
+ 'aria-multiline'?: Booleanish;
39
+ 'aria-multiselectable'?: Booleanish;
40
+ 'aria-orientation'?: 'horizontal' | 'vertical';
41
+ 'aria-owns'?: string;
42
+ 'aria-placeholder'?: string;
43
+ 'aria-posinset'?: number;
44
+ 'aria-pressed'?: boolean | 'false' | 'mixed' | 'true';
45
+ 'aria-readonly'?: Booleanish;
46
+ 'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text';
47
+ 'aria-required'?: Booleanish;
48
+ 'aria-roledescription'?: string;
49
+ 'aria-rowcount'?: number;
50
+ 'aria-rowindex'?: number;
51
+ 'aria-rowspan'?: number;
52
+ 'aria-selected'?: Booleanish;
53
+ 'aria-setsize'?: number;
54
+ 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other';
55
+ 'aria-valuemax'?: number;
56
+ 'aria-valuemin'?: number;
57
+ 'aria-valuenow'?: number;
58
+ 'aria-valuetext'?: string;
59
+ }
60
+ interface EventHandler<E extends Event = Event> {
61
+ (event: E): void;
62
+ }
63
+ interface ClipboardEventHandler {
64
+ onCopy?: EventHandler<ClipboardEvent>;
65
+ onCut?: EventHandler<ClipboardEvent>;
66
+ onPaste?: EventHandler<ClipboardEvent>;
67
+ }
68
+ interface CompositionEventHandler {
69
+ onCompositionEnd?: EventHandler<CompositionEvent>;
70
+ onCompositionStart?: EventHandler<CompositionEvent>;
71
+ onCompositionUpdate?: EventHandler<CompositionEvent>;
72
+ }
73
+ interface FocusEventHandler {
74
+ onFocus?: EventHandler<FocusEvent>;
75
+ onBlur?: EventHandler<FocusEvent>;
76
+ }
77
+ interface FormEventHandler {
78
+ onChange?: EventHandler<Event>;
79
+ onInput?: EventHandler<Event>;
80
+ onSubmit?: EventHandler<Event>;
81
+ onReset?: EventHandler<Event>;
82
+ onInvalid?: EventHandler<Event>;
83
+ }
84
+ interface KeyboardEventHandler {
85
+ onKeyDown?: EventHandler<KeyboardEvent>;
86
+ onKeyUp?: EventHandler<KeyboardEvent>;
87
+ onKeyPress?: EventHandler<KeyboardEvent>;
88
+ }
89
+ interface MouseEventHandler {
90
+ onClick?: EventHandler<MouseEvent>;
91
+ onContextMenu?: EventHandler<MouseEvent>;
92
+ onDoubleClick?: EventHandler<MouseEvent>;
93
+ onDrag?: EventHandler<DragEvent>;
94
+ onDragEnd?: EventHandler<DragEvent>;
95
+ onDragEnter?: EventHandler<DragEvent>;
96
+ onDragLeave?: EventHandler<DragEvent>;
97
+ onDragOver?: EventHandler<DragEvent>;
98
+ onDragStart?: EventHandler<DragEvent>;
99
+ onDrop?: EventHandler<DragEvent>;
100
+ onMouseDown?: EventHandler<MouseEvent>;
101
+ onMouseEnter?: EventHandler<MouseEvent>;
102
+ onMouseLeave?: EventHandler<MouseEvent>;
103
+ onMouseMove?: EventHandler<MouseEvent>;
104
+ onMouseOut?: EventHandler<MouseEvent>;
105
+ onMouseOver?: EventHandler<MouseEvent>;
106
+ onMouseUp?: EventHandler<MouseEvent>;
107
+ }
108
+ interface PointerEventHandler {
109
+ onPointerDown?: EventHandler<PointerEvent>;
110
+ onPointerMove?: EventHandler<PointerEvent>;
111
+ onPointerUp?: EventHandler<PointerEvent>;
112
+ onPointerCancel?: EventHandler<PointerEvent>;
113
+ onPointerEnter?: EventHandler<PointerEvent>;
114
+ onPointerLeave?: EventHandler<PointerEvent>;
115
+ onPointerOver?: EventHandler<PointerEvent>;
116
+ onPointerOut?: EventHandler<PointerEvent>;
117
+ }
118
+ interface TouchEventHandler {
119
+ onTouchCancel?: EventHandler<TouchEvent>;
120
+ onTouchEnd?: EventHandler<TouchEvent>;
121
+ onTouchMove?: EventHandler<TouchEvent>;
122
+ onTouchStart?: EventHandler<TouchEvent>;
123
+ }
124
+ interface WheelEventHandler {
125
+ onWheel?: EventHandler<WheelEvent>;
126
+ }
127
+ interface AnimationEventHandler {
128
+ onAnimationStart?: EventHandler<AnimationEvent>;
129
+ onAnimationEnd?: EventHandler<AnimationEvent>;
130
+ onAnimationIteration?: EventHandler<AnimationEvent>;
131
+ }
132
+ interface TransitionEventHandler {
133
+ onTransitionEnd?: EventHandler<TransitionEvent>;
134
+ }
135
+ interface UIEventHandler {
136
+ onScroll?: EventHandler<Event>;
137
+ onResize?: EventHandler<UIEvent>;
138
+ }
139
+ interface MediaEventHandler {
140
+ onAbort?: EventHandler<Event>;
141
+ onCanPlay?: EventHandler<Event>;
142
+ onCanPlayThrough?: EventHandler<Event>;
143
+ onDurationChange?: EventHandler<Event>;
144
+ onEmptied?: EventHandler<Event>;
145
+ onEncrypted?: EventHandler<Event>;
146
+ onEnded?: EventHandler<Event>;
147
+ onError?: EventHandler<Event>;
148
+ onLoadedData?: EventHandler<Event>;
149
+ onLoadedMetadata?: EventHandler<Event>;
150
+ onLoadStart?: EventHandler<Event>;
151
+ onPause?: EventHandler<Event>;
152
+ onPlay?: EventHandler<Event>;
153
+ onPlaying?: EventHandler<Event>;
154
+ onProgress?: EventHandler<Event>;
155
+ onRateChange?: EventHandler<Event>;
156
+ onSeeked?: EventHandler<Event>;
157
+ onSeeking?: EventHandler<Event>;
158
+ onStalled?: EventHandler<Event>;
159
+ onSuspend?: EventHandler<Event>;
160
+ onTimeUpdate?: EventHandler<Event>;
161
+ onVolumeChange?: EventHandler<Event>;
162
+ onWaiting?: EventHandler<Event>;
163
+ }
164
+ interface DOMAttributes {
165
+ children?: unknown[] | unknown;
166
+ key?: string | number;
167
+ ref?: (el: Element) => void;
168
+ slot?: string;
169
+ style?: CSSProperties | string;
170
+ part?: string;
171
+ exportparts?: string;
172
+ }
173
+ interface HTMLAttributes extends AriaAttributes, ClipboardEventHandler, CompositionEventHandler, FocusEventHandler, FormEventHandler, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, TouchEventHandler, WheelEventHandler, AnimationEventHandler, TransitionEventHandler, UIEventHandler, MediaEventHandler, DOMAttributes {
174
+ accessKey?: string;
175
+ class?: string;
176
+ className?: string;
177
+ contentEditable?: Booleanish | 'inherit' | 'false' | 'true';
178
+ contextMenu?: string;
179
+ dir?: string;
180
+ draggable?: Booleanish;
181
+ hidden?: boolean | string;
182
+ id?: string;
183
+ inert?: boolean | string;
184
+ lang?: string;
185
+ nonce?: string;
186
+ role?: string;
187
+ spellcheck?: Booleanish;
188
+ tabIndex?: number;
189
+ title?: string;
190
+ translate?: 'yes' | 'no';
191
+ about?: string;
192
+ datatype?: string;
193
+ inlist?: unknown;
194
+ prefix?: string;
195
+ property?: string;
196
+ resource?: string;
197
+ typeof?: string;
198
+ vocab?: string;
199
+ autoCapitalize?: string;
200
+ autoCorrect?: string;
201
+ autoSave?: string;
202
+ color?: string;
203
+ itemprop?: string;
204
+ itemScope?: boolean;
205
+ itemType?: string;
206
+ itemID?: string;
207
+ itemRef?: string;
208
+ results?: number;
209
+ security?: string;
210
+ unselectable?: 'on' | 'off';
211
+ is?: string;
212
+ popover?: 'auto' | 'manual' | boolean;
213
+ popovertarget?: string;
214
+ popovertargetaction?: 'toggle' | 'show' | 'hide';
215
+ writingSuggestions?: 'mark' | 'suggestion';
216
+ inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
217
+ placeholder?: string;
218
+ }
219
+ interface AnchorHTMLAttributes extends HTMLAttributes {
220
+ download?: string;
221
+ href?: string;
222
+ hrefLang?: string;
223
+ media?: string;
224
+ ping?: string;
225
+ referrerPolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
226
+ rel?: string;
227
+ target?: string;
228
+ type?: string;
229
+ }
230
+ interface AreaHTMLAttributes extends HTMLAttributes {
231
+ alt?: string;
232
+ coords?: string;
233
+ download?: string;
234
+ href?: string;
235
+ hrefLang?: string;
236
+ media?: string;
237
+ referrerPolicy?: string;
238
+ rel?: string;
239
+ shape?: string;
240
+ target?: string;
241
+ }
242
+ interface AudioHTMLAttributes extends MediaHTMLAttributes {
243
+ crossOrigin?: string;
244
+ loop?: boolean | string;
245
+ muted?: boolean | string;
246
+ preload?: string;
247
+ src?: string;
248
+ }
249
+ interface BaseHTMLAttributes extends HTMLAttributes {
250
+ href?: string;
251
+ target?: string;
252
+ }
253
+ interface BlockquoteHTMLAttributes extends HTMLAttributes {
254
+ cite?: string;
255
+ }
256
+ interface CanvasHTMLAttributes extends HTMLAttributes {
257
+ height?: number | string;
258
+ width?: number | string;
259
+ }
260
+ interface ColHTMLAttributes extends HTMLAttributes {
261
+ span?: number;
262
+ width?: number | string;
263
+ }
264
+ interface ColgroupHTMLAttributes extends HTMLAttributes {
265
+ span?: number;
266
+ }
267
+ interface DataHTMLAttributes extends HTMLAttributes {
268
+ value?: string | number;
269
+ }
270
+ interface DelHTMLAttributes extends HTMLAttributes {
271
+ cite?: string;
272
+ dateTime?: string;
273
+ }
274
+ interface DetailsHTMLAttributes extends HTMLAttributes {
275
+ open?: boolean | string;
276
+ name?: string;
277
+ }
278
+ interface DialogHTMLAttributes extends HTMLAttributes {
279
+ open?: boolean | string;
280
+ }
281
+ interface EmbedHTMLAttributes extends HTMLAttributes {
282
+ height?: number | string;
283
+ src?: string;
284
+ type?: string;
285
+ width?: number | string;
286
+ }
287
+ interface FieldsetHTMLAttributes extends HTMLAttributes {
288
+ disabled?: boolean | string;
289
+ form?: string;
290
+ name?: string;
291
+ }
292
+ interface HtmlHTMLAttributes extends HTMLAttributes {
293
+ manifest?: string;
294
+ }
295
+ interface IframeHTMLAttributes extends HTMLAttributes {
296
+ allow?: string;
297
+ allowFullScreen?: boolean;
298
+ allowTransparency?: boolean;
299
+ creditionals?: string;
300
+ height?: number | string;
301
+ loading?: 'eager' | 'lazy';
302
+ name?: string;
303
+ referrerPolicy?: string;
304
+ sandbox?: string;
305
+ seamless?: boolean;
306
+ src?: string;
307
+ srcDoc?: string;
308
+ width?: number | string;
309
+ }
310
+ interface ImgHTMLAttributes extends HTMLAttributes {
311
+ alt?: string;
312
+ crossOrigin?: string;
313
+ decoding?: 'async' | 'auto' | 'sync';
314
+ height?: number | string;
315
+ loading?: 'eager' | 'lazy';
316
+ referrerPolicy?: string;
317
+ sizes?: string;
318
+ src?: string;
319
+ srcSet?: string;
320
+ useMap?: string;
321
+ width?: number | string;
322
+ fetchPriority?: 'high' | 'low' | 'auto';
323
+ }
324
+ interface InputHTMLAttributes extends Omit<HTMLAttributes, 'onChange' | 'onInput'> {
325
+ accept?: string;
326
+ alt?: string;
327
+ autoComplete?: string;
328
+ autoFocus?: boolean;
329
+ capture?: boolean | string;
330
+ checked?: boolean | string;
331
+ crossOrigin?: string;
332
+ disabled?: boolean | string;
333
+ form?: string;
334
+ formAction?: string;
335
+ formEncType?: string;
336
+ formMethod?: string;
337
+ formNoValidate?: boolean;
338
+ formTarget?: string;
339
+ height?: number | string;
340
+ list?: string;
341
+ max?: number | string;
342
+ maxLength?: number;
343
+ min?: number | string;
344
+ minLength?: number;
345
+ multiple?: boolean;
346
+ name?: string;
347
+ pattern?: string;
348
+ placeholder?: string;
349
+ readOnly?: boolean;
350
+ required?: boolean | string;
351
+ size?: number;
352
+ src?: string;
353
+ step?: number | string;
354
+ type?: string;
355
+ value?: string | number;
356
+ width?: number | string;
357
+ onChange?: (event: Event & {
358
+ target: HTMLInputElement;
359
+ currentTarget: HTMLInputElement;
360
+ }) => void;
361
+ onInput?: (event: Event & {
362
+ target: HTMLInputElement;
363
+ currentTarget: HTMLInputElement;
364
+ }) => void;
365
+ }
366
+ interface SelectHTMLAttributes extends Omit<HTMLAttributes, 'onChange'> {
367
+ autoComplete?: string;
368
+ autoFocus?: boolean;
369
+ disabled?: boolean | string;
370
+ form?: string;
371
+ multiple?: boolean;
372
+ name?: string;
373
+ required?: boolean | string;
374
+ size?: number;
375
+ value?: string | number;
376
+ onChange?: (event: Event & {
377
+ target: HTMLSelectElement;
378
+ currentTarget: HTMLSelectElement;
379
+ }) => void;
380
+ }
381
+ interface TextareaHTMLAttributes extends Omit<HTMLAttributes, 'onChange' | 'onInput'> {
382
+ autoComplete?: string;
383
+ autoFocus?: boolean;
384
+ cols?: number;
385
+ dirName?: string;
386
+ disabled?: boolean | string;
387
+ form?: string;
388
+ maxLength?: number;
389
+ minLength?: number;
390
+ name?: string;
391
+ placeholder?: string;
392
+ readOnly?: boolean;
393
+ required?: boolean | string;
394
+ rows?: number;
395
+ value?: string | number;
396
+ wrap?: string;
397
+ onChange?: (event: Event & {
398
+ target: HTMLTextAreaElement;
399
+ currentTarget: HTMLTextAreaElement;
400
+ }) => void;
401
+ onInput?: (event: Event & {
402
+ target: HTMLTextAreaElement;
403
+ currentTarget: HTMLTextAreaElement;
404
+ }) => void;
405
+ }
406
+ interface ButtonHTMLAttributes extends Omit<HTMLAttributes, 'onClick'> {
407
+ autoFocus?: boolean;
408
+ disabled?: boolean | string;
409
+ form?: string;
410
+ formAction?: string;
411
+ formEncType?: string;
412
+ formMethod?: string;
413
+ formNoValidate?: boolean;
414
+ formTarget?: string;
415
+ name?: string;
416
+ popovertarget?: string;
417
+ popovertargetaction?: 'toggle' | 'show' | 'hide';
418
+ type?: 'submit' | 'reset' | 'button';
419
+ value?: string;
420
+ onClick?: (event: MouseEvent & {
421
+ target: HTMLButtonElement;
422
+ currentTarget: HTMLButtonElement;
423
+ }) => void;
424
+ }
425
+ interface FormHTMLAttributes extends Omit<HTMLAttributes, 'onSubmit' | 'onReset'> {
426
+ acceptCharset?: string;
427
+ action?: string;
428
+ autoComplete?: string;
429
+ encType?: string;
430
+ method?: string;
431
+ name?: string;
432
+ noValidate?: boolean;
433
+ rel?: string;
434
+ target?: string;
435
+ onSubmit?: (event: Event & {
436
+ target: HTMLFormElement;
437
+ currentTarget: HTMLFormElement;
438
+ }) => void;
439
+ onReset?: (event: Event & {
440
+ target: HTMLFormElement;
441
+ currentTarget: HTMLFormElement;
442
+ }) => void;
443
+ }
444
+ interface InsHTMLAttributes extends HTMLAttributes {
445
+ cite?: string;
446
+ dateTime?: string;
447
+ }
448
+ interface LabelHTMLAttributes extends HTMLAttributes {
449
+ for?: string;
450
+ htmlFor?: string;
451
+ form?: string;
452
+ }
453
+ interface LiHTMLAttributes extends HTMLAttributes {
454
+ value?: string | number;
455
+ type?: string;
456
+ }
457
+ interface LinkHTMLAttributes extends HTMLAttributes {
458
+ as?: string;
459
+ crossOrigin?: string;
460
+ href?: string;
461
+ hrefLang?: string;
462
+ integrity?: string;
463
+ media?: string;
464
+ referrerPolicy?: string;
465
+ rel?: string;
466
+ sizes?: string;
467
+ type?: string;
468
+ fetchPriority?: 'high' | 'low' | 'auto';
469
+ }
470
+ interface MapHTMLAttributes extends HTMLAttributes {
471
+ name?: string;
472
+ }
473
+ interface MediaHTMLAttributes extends HTMLAttributes {
474
+ autoPlay?: boolean;
475
+ controls?: boolean | string;
476
+ controlsList?: string;
477
+ crossOrigin?: string;
478
+ loop?: boolean | string;
479
+ mediaGroup?: string;
480
+ muted?: boolean | string;
481
+ playsInline?: boolean;
482
+ preload?: string;
483
+ src?: string;
484
+ }
485
+ interface MenuHTMLAttributes extends HTMLAttributes {
486
+ type?: string;
487
+ }
488
+ interface MetaHTMLAttributes extends HTMLAttributes {
489
+ charSet?: string;
490
+ content?: string;
491
+ httpEquiv?: string;
492
+ media?: string;
493
+ name?: string;
494
+ }
495
+ interface MeterHTMLAttributes extends HTMLAttributes {
496
+ form?: string;
497
+ high?: number;
498
+ low?: number;
499
+ max?: number | string;
500
+ min?: number | string;
501
+ optimum?: number;
502
+ value?: string | number;
503
+ }
504
+ interface ObjectHTMLAttributes extends HTMLAttributes {
505
+ classID?: string;
506
+ data?: string;
507
+ form?: string;
508
+ height?: number | string;
509
+ name?: string;
510
+ type?: string;
511
+ useMap?: string;
512
+ width?: number | string;
513
+ }
514
+ interface OlHTMLAttributes extends HTMLAttributes {
515
+ reversed?: boolean;
516
+ start?: number;
517
+ type?: '1' | 'A' | 'a' | 'I' | 'i';
518
+ }
519
+ interface OptgroupHTMLAttributes extends HTMLAttributes {
520
+ disabled?: boolean | string;
521
+ label?: string;
522
+ }
523
+ interface OptionHTMLAttributes extends HTMLAttributes {
524
+ disabled?: boolean | string;
525
+ label?: string;
526
+ selected?: boolean | string;
527
+ value?: string | number;
528
+ }
529
+ interface OutputHTMLAttributes extends HTMLAttributes {
530
+ for?: string;
531
+ form?: string;
532
+ name?: string;
533
+ }
534
+ interface ProgressHTMLAttributes extends HTMLAttributes {
535
+ max?: number | string;
536
+ value?: string | number;
537
+ }
538
+ interface QuoteHTMLAttributes extends HTMLAttributes {
539
+ cite?: string;
540
+ }
541
+ interface ScriptHTMLAttributes extends HTMLAttributes {
542
+ async?: boolean;
543
+ crossOrigin?: string;
544
+ defer?: boolean;
545
+ integrity?: string;
546
+ noModule?: boolean;
547
+ referrerPolicy?: string;
548
+ src?: string;
549
+ type?: string;
550
+ }
551
+ interface SlotHTMLAttributes extends HTMLAttributes {
552
+ name?: string;
553
+ }
554
+ interface SourceHTMLAttributes extends HTMLAttributes {
555
+ height?: number | string;
556
+ media?: string;
557
+ sizes?: string;
558
+ src?: string;
559
+ srcSet?: string;
560
+ type?: string;
561
+ width?: number | string;
562
+ }
563
+ interface StyleHTMLAttributes extends HTMLAttributes {
564
+ media?: string;
565
+ scoped?: boolean;
566
+ type?: string;
567
+ }
568
+ interface TableHTMLAttributes extends HTMLAttributes {
569
+ cellPadding?: number | string;
570
+ cellSpacing?: number | string;
571
+ summary?: string;
572
+ width?: number | string;
573
+ }
574
+ interface TdHTMLAttributes extends HTMLAttributes {
575
+ colSpan?: number;
576
+ headers?: string;
577
+ rowSpan?: number;
578
+ scope?: string;
579
+ abbr?: string;
580
+ width?: number | string;
581
+ }
582
+ interface ThHTMLAttributes extends HTMLAttributes {
583
+ abbr?: string;
584
+ colSpan?: number;
585
+ headers?: string;
586
+ rowSpan?: number;
587
+ scope?: 'col' | 'colgroup' | 'row' | 'rowgroup';
588
+ width?: number | string;
589
+ }
590
+ interface TimeHTMLAttributes extends HTMLAttributes {
591
+ dateTime?: string;
592
+ }
593
+ interface TrackHTMLAttributes extends HTMLAttributes {
594
+ default?: boolean;
595
+ kind?: string;
596
+ label?: string;
597
+ src?: string;
598
+ srcLang?: string;
599
+ }
600
+ interface VideoHTMLAttributes extends MediaHTMLAttributes {
601
+ height?: number | string;
602
+ playsInline?: boolean;
603
+ poster?: string;
604
+ width?: number | string;
605
+ disablePictureInPicture?: boolean;
606
+ }
607
+ interface SVGAttributes extends AriaAttributes {
608
+ children?: unknown[] | unknown;
609
+ key?: string | number;
610
+ ref?: (el: Element) => void;
611
+ style?: CSSProperties | string;
612
+ class?: string;
613
+ className?: string;
614
+ id?: string;
615
+ lang?: string;
616
+ role?: string;
617
+ tabIndex?: number;
618
+ title?: string;
619
+ accentHeight?: number | string;
620
+ accumulate?: 'none' | 'sum';
621
+ additive?: 'replace' | 'sum';
622
+ alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
623
+ allowReorder?: 'no' | 'yes';
624
+ alphabetic?: number | string;
625
+ amplitude?: number | string;
626
+ arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated';
627
+ ascent?: number | string;
628
+ attributeName?: string;
629
+ attributeType?: string;
630
+ autoReverse?: Booleanish;
631
+ azimuth?: number | string;
632
+ baseFrequency?: number | string;
633
+ baselineShift?: number | string;
634
+ baseProfile?: number | string;
635
+ bbox?: number | string;
636
+ begin?: number | string;
637
+ bias?: number | string;
638
+ by?: number | string;
639
+ calcMode?: number | string;
640
+ capHeight?: number | string;
641
+ clip?: number | string;
642
+ clipPath?: string;
643
+ clipPathUnits?: number | string;
644
+ clipRule?: number | string;
645
+ colorInterpolation?: number | string;
646
+ colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
647
+ colorProfile?: number | string;
648
+ colorRendering?: number | string;
649
+ contentScriptType?: number | string;
650
+ contentStyleType?: number | string;
651
+ cursor?: number | string;
652
+ cx?: number | string;
653
+ cy?: number | string;
654
+ d?: string;
655
+ decelerate?: number | string;
656
+ descent?: number | string;
657
+ diffuseConstant?: number | string;
658
+ direction?: number | string;
659
+ display?: number | string;
660
+ divisor?: number | string;
661
+ dominantBaseline?: number | string;
662
+ dur?: number | string;
663
+ dx?: number | string;
664
+ dy?: number | string;
665
+ edgeMode?: number | string;
666
+ elevation?: number | string;
667
+ enableBackground?: number | string;
668
+ end?: number | string;
669
+ exponent?: number | string;
670
+ externalResourcesRequired?: Booleanish;
671
+ fill?: string;
672
+ fillOpacity?: number | string;
673
+ fillRule?: 'nonzero' | 'evenodd' | 'inherit';
674
+ filter?: string;
675
+ filterRes?: number | string;
676
+ filterUnits?: number | string;
677
+ floodColor?: number | string;
678
+ floodOpacity?: number | string;
679
+ focusable?: Booleanish | 'auto';
680
+ fontFamily?: string;
681
+ fontSize?: number | string;
682
+ fontSizeAdjust?: number | string;
683
+ fontStretch?: number | string;
684
+ fontStyle?: number | string;
685
+ fontVariant?: number | string;
686
+ fontWeight?: number | string;
687
+ format?: number | string;
688
+ fr?: number | string;
689
+ from?: number | string;
690
+ fx?: number | string;
691
+ fy?: number | string;
692
+ g1?: number | string;
693
+ g2?: number | string;
694
+ glyphName?: number | string;
695
+ glyphOrientationHorizontal?: number | string;
696
+ glyphOrientationVertical?: number | string;
697
+ glyphRef?: number | string;
698
+ gradientTransform?: string;
699
+ gradientUnits?: string;
700
+ hanging?: number | string;
701
+ height?: number | string;
702
+ horizAdvX?: number | string;
703
+ horizOriginX?: number | string;
704
+ href?: string;
705
+ ideographic?: number | string;
706
+ imageRendering?: number | string;
707
+ in2?: number | string;
708
+ in?: string;
709
+ intercept?: number | string;
710
+ k1?: number | string;
711
+ k2?: number | string;
712
+ k3?: number | string;
713
+ k4?: number | string;
714
+ k?: number | string;
715
+ kernelMatrix?: number | string;
716
+ kernelUnitLength?: number | string;
717
+ kerning?: number | string;
718
+ keyPoints?: number | string;
719
+ keySplines?: number | string;
720
+ keyTimes?: number | string;
721
+ lengthAdjust?: number | string;
722
+ letterSpacing?: number | string;
723
+ lightingColor?: number | string;
724
+ limitingConeAngle?: number | string;
725
+ local?: number | string;
726
+ markerEnd?: string;
727
+ markerHeight?: number | string;
728
+ markerMid?: string;
729
+ markerStart?: string;
730
+ markerUnits?: number | string;
731
+ markerWidth?: number | string;
732
+ mask?: string;
733
+ maskContentUnits?: number | string;
734
+ maskUnits?: number | string;
735
+ mathematical?: number | string;
736
+ max?: number | string;
737
+ media?: string;
738
+ method?: string;
739
+ min?: number | string;
740
+ mode?: number | string;
741
+ name?: string;
742
+ numOctaves?: number | string;
743
+ offset?: number | string;
744
+ opacity?: number | string;
745
+ operator?: number | string;
746
+ order?: number | string;
747
+ orient?: number | string;
748
+ orientation?: number | string;
749
+ origin?: number | string;
750
+ overflow?: number | string;
751
+ overlinePosition?: number | string;
752
+ overlineThickness?: number | string;
753
+ paintOrder?: number | string;
754
+ panose1?: number | string;
755
+ path?: string;
756
+ pathLength?: number | string;
757
+ patternContentUnits?: string;
758
+ patternTransform?: number | string;
759
+ patternUnits?: string;
760
+ pointerEvents?: number | string;
761
+ points?: string;
762
+ pointsAtX?: number | string;
763
+ pointsAtY?: number | string;
764
+ pointsAtZ?: number | string;
765
+ preserveAlpha?: Booleanish;
766
+ preserveAspectRatio?: string;
767
+ primitiveUnits?: number | string;
768
+ r?: number | string;
769
+ radius?: number | string;
770
+ refX?: number | string;
771
+ refY?: number | string;
772
+ renderingIntent?: number | string;
773
+ repeatCount?: number | string;
774
+ repeatDur?: number | string;
775
+ requiredExtensions?: number | string;
776
+ requiredFeatures?: number | string;
777
+ restart?: number | string;
778
+ result?: string;
779
+ rotate?: number | string;
780
+ rx?: number | string;
781
+ ry?: number | string;
782
+ scale?: number | string;
783
+ seed?: number | string;
784
+ shapeRendering?: number | string;
785
+ slope?: number | string;
786
+ spacing?: number | string;
787
+ specularConstant?: number | string;
788
+ specularExponent?: number | string;
789
+ speed?: number | string;
790
+ spreadMethod?: string;
791
+ startOffset?: number | string;
792
+ stdDeviation?: number | string;
793
+ stemh?: number | string;
794
+ stemv?: number | string;
795
+ stitchTiles?: number | string;
796
+ stopColor?: string;
797
+ stopOpacity?: number | string;
798
+ strikethroughPosition?: number | string;
799
+ strikethroughThickness?: number | string;
800
+ string?: number | string;
801
+ stroke?: string;
802
+ strokeDasharray?: string | number;
803
+ strokeDashoffset?: string | number;
804
+ strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
805
+ strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit';
806
+ strokeMiterlimit?: number | string;
807
+ strokeOpacity?: number | string;
808
+ strokeWidth?: number | string;
809
+ surfaceScale?: number | string;
810
+ systemLanguage?: number | string;
811
+ tableValues?: number | string;
812
+ targetX?: number | string;
813
+ targetY?: number | string;
814
+ textAnchor?: string;
815
+ textDecoration?: number | string;
816
+ textLength?: number | string;
817
+ textRendering?: number | string;
818
+ to?: number | string;
819
+ transform?: string;
820
+ u1?: number | string;
821
+ u2?: number | string;
822
+ underlinePosition?: number | string;
823
+ underlineThickness?: number | string;
824
+ unicode?: number | string;
825
+ unicodeBidi?: number | string;
826
+ unicodeRange?: number | string;
827
+ unitsPerEm?: number | string;
828
+ vAlphabetic?: number | string;
829
+ vHanging?: number | string;
830
+ vIdeographic?: number | string;
831
+ vMathematical?: number | string;
832
+ values?: string;
833
+ vectorEffect?: number | string;
834
+ version?: string;
835
+ vertAdvY?: number | string;
836
+ vertOriginX?: number | string;
837
+ vertOriginY?: number | string;
838
+ viewBox?: string;
839
+ viewTarget?: number | string;
840
+ visibility?: number | string;
841
+ width?: number | string;
842
+ widths?: number | string;
843
+ wordSpacing?: number | string;
844
+ writingMode?: number | string;
845
+ x1?: number | string;
846
+ x2?: number | string;
847
+ x?: number | string;
848
+ xChannelSelector?: string;
849
+ xHeight?: number | string;
850
+ y1?: number | string;
851
+ y2?: number | string;
852
+ y?: number | string;
853
+ yChannelSelector?: string;
854
+ z?: number | string;
855
+ zoomAndPan?: string;
856
+ }
857
+ interface IntrinsicElements {
858
+ a: AnchorHTMLAttributes;
859
+ abbr: HTMLAttributes;
860
+ address: HTMLAttributes;
861
+ area: AreaHTMLAttributes;
862
+ article: HTMLAttributes;
863
+ aside: HTMLAttributes;
864
+ audio: AudioHTMLAttributes;
865
+ b: HTMLAttributes;
866
+ base: BaseHTMLAttributes;
867
+ bdi: HTMLAttributes;
868
+ bdo: HTMLAttributes;
869
+ blockquote: BlockquoteHTMLAttributes;
870
+ body: HTMLAttributes;
871
+ br: HTMLAttributes;
872
+ button: ButtonHTMLAttributes;
873
+ canvas: CanvasHTMLAttributes;
874
+ caption: HTMLAttributes;
875
+ cite: HTMLAttributes;
876
+ code: HTMLAttributes;
877
+ col: ColHTMLAttributes;
878
+ colgroup: ColgroupHTMLAttributes;
879
+ data: DataHTMLAttributes;
880
+ datalist: HTMLAttributes;
881
+ dd: HTMLAttributes;
882
+ del: DelHTMLAttributes;
883
+ details: DetailsHTMLAttributes;
884
+ dfn: HTMLAttributes;
885
+ dialog: DialogHTMLAttributes;
886
+ div: HTMLAttributes;
887
+ dl: HTMLAttributes;
888
+ dt: HTMLAttributes;
889
+ em: HTMLAttributes;
890
+ embed: EmbedHTMLAttributes;
891
+ fieldset: FieldsetHTMLAttributes;
892
+ figcaption: HTMLAttributes;
893
+ figure: HTMLAttributes;
894
+ footer: HTMLAttributes;
895
+ form: FormHTMLAttributes;
896
+ h1: HTMLAttributes;
897
+ h2: HTMLAttributes;
898
+ h3: HTMLAttributes;
899
+ h4: HTMLAttributes;
900
+ h5: HTMLAttributes;
901
+ h6: HTMLAttributes;
902
+ head: HTMLAttributes;
903
+ header: HTMLAttributes;
904
+ hgroup: HTMLAttributes;
905
+ hr: HTMLAttributes;
906
+ html: HtmlHTMLAttributes;
907
+ i: HTMLAttributes;
908
+ iframe: IframeHTMLAttributes;
909
+ img: ImgHTMLAttributes;
910
+ input: InputHTMLAttributes;
911
+ ins: InsHTMLAttributes;
912
+ kbd: HTMLAttributes;
913
+ label: LabelHTMLAttributes;
914
+ legend: HTMLAttributes;
915
+ li: LiHTMLAttributes;
916
+ link: LinkHTMLAttributes;
917
+ main: HTMLAttributes;
918
+ map: MapHTMLAttributes;
919
+ mark: HTMLAttributes;
920
+ menu: MenuHTMLAttributes;
921
+ meta: MetaHTMLAttributes;
922
+ meter: MeterHTMLAttributes;
923
+ nav: HTMLAttributes;
924
+ noscript: HTMLAttributes;
925
+ object: ObjectHTMLAttributes;
926
+ ol: OlHTMLAttributes;
927
+ optgroup: OptgroupHTMLAttributes;
928
+ option: OptionHTMLAttributes;
929
+ output: OutputHTMLAttributes;
930
+ p: HTMLAttributes;
931
+ picture: HTMLAttributes;
932
+ pre: HTMLAttributes;
933
+ progress: ProgressHTMLAttributes;
934
+ q: QuoteHTMLAttributes;
935
+ rp: HTMLAttributes;
936
+ rt: HTMLAttributes;
937
+ ruby: HTMLAttributes;
938
+ s: HTMLAttributes;
939
+ samp: HTMLAttributes;
940
+ script: ScriptHTMLAttributes;
941
+ section: HTMLAttributes;
942
+ select: SelectHTMLAttributes;
943
+ slot: SlotHTMLAttributes;
944
+ small: HTMLAttributes;
945
+ source: SourceHTMLAttributes;
946
+ span: HTMLAttributes;
947
+ strong: HTMLAttributes;
948
+ style: StyleHTMLAttributes;
949
+ sub: HTMLAttributes;
950
+ summary: HTMLAttributes;
951
+ sup: HTMLAttributes;
952
+ svg: SVGAttributes;
953
+ table: TableHTMLAttributes;
954
+ tbody: HTMLAttributes;
955
+ td: TdHTMLAttributes;
956
+ template: HTMLAttributes;
957
+ textarea: TextareaHTMLAttributes;
958
+ tfoot: HTMLAttributes;
959
+ th: ThHTMLAttributes;
960
+ thead: HTMLAttributes;
961
+ time: TimeHTMLAttributes;
962
+ title: HTMLAttributes;
963
+ tr: HTMLAttributes;
964
+ track: TrackHTMLAttributes;
965
+ u: HTMLAttributes;
966
+ ul: HTMLAttributes;
967
+ var: HTMLAttributes;
968
+ video: VideoHTMLAttributes;
969
+ wbr: HTMLAttributes;
970
+ line: SVGAttributes;
971
+ path: SVGAttributes;
972
+ circle: SVGAttributes;
973
+ rect: SVGAttributes;
974
+ g: SVGAttributes;
975
+ }
976
+ interface ImageProps {
977
+ src: string;
978
+ alt: string;
979
+ width?: number;
980
+ height?: number;
981
+ loading?: "lazy" | "eager";
982
+ className?: string;
983
+ quality?: number;
984
+ sizes?: string;
985
+ [key: string]: any;
986
+ }
987
+ interface LinkProps extends AnchorHTMLAttributes {
988
+ href: string;
989
+ className?: string;
990
+ external?: boolean;
991
+ children?: any;
992
+ /** Prefetch the target page on hover/focus/viewport entry (default: true). */
993
+ prefetch?: boolean;
994
+ /** Replace the current history entry instead of pushing a new one. */
995
+ replace?: boolean;
996
+ /** Scroll to the top on navigation (default: true). */
997
+ scroll?: boolean;
998
+ /** Open in a new tab. */
999
+ target?: "_blank" | "_self" | "_parent" | "_top" | string;
1000
+ rel?: string;
1001
+ title?: string;
1002
+ id?: string;
1003
+ }
1004
+ interface ElementAttributesProperty {
1005
+ __jsxProps: {};
1006
+ }
1007
+ }
1008
+ function Icon(props: {
1009
+ name: string;
1010
+ } & JSX.SVGAttributes): JSX.Element;
1011
+ function Head(props: {
1012
+ children?: any;
1013
+ }): JSX.Element;
1014
+ function Suspense(props: {
1015
+ children?: any;
1016
+ fallback?: any;
1017
+ }): JSX.Element;
1018
+ function Link(props: JSX.LinkProps): JSX.Element;
1019
+ interface HTMLImageElement {
1020
+ __jsxProps: JSX.ImageProps;
1021
+ }
1022
+ }
1023
+ export {};