@typed/ui 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,782 @@
1
+ export type ElementProperties = {
2
+ className?: string
3
+ id?: string
4
+ scrollLeft?: number
5
+ scrollTop?: number
6
+ slot?: string
7
+ }
8
+
9
+ export type HTMLElementProperties =
10
+ & ElementProperties
11
+ & {
12
+ accessKey?: string
13
+ contentEditable?: string
14
+ dir?: string
15
+ draggable?: boolean
16
+ hidden?: boolean
17
+ hideFocus?: boolean
18
+ lang?: string
19
+ spellcheck?: boolean
20
+ tabIndex?: boolean
21
+ title?: string
22
+ }
23
+
24
+ export type HTMLAnchorElementProperties =
25
+ & HTMLElementProperties
26
+ & {
27
+ Methods?: string
28
+ charset?: string
29
+ coords?: string
30
+ download?: string
31
+ hash?: string
32
+ host?: string
33
+ hostname?: string
34
+ href?: string
35
+ hreflang?: string
36
+ name?: string
37
+ pathname?: string
38
+ port?: string
39
+ protocol?: string
40
+ rel?: string
41
+ rev?: string
42
+ search?: string
43
+ shape?: string
44
+ target?: string
45
+ text?: string
46
+ type?: string
47
+ urn?: string
48
+ }
49
+
50
+ export type HTMLAppletElementProperties =
51
+ & HTMLElementProperties
52
+ & {
53
+ align?: string
54
+ alt?: string
55
+ altHtml?: string
56
+ archive?: string
57
+ border?: string
58
+ code?: string
59
+ codeBase?: string
60
+ codeType?: string
61
+ data?: string
62
+ declare?: boolean
63
+ height?: string
64
+ hspace?: number
65
+ name?: string
66
+ object?: string | null
67
+ standby?: string
68
+ type?: string
69
+ vspace?: number
70
+ width?: number
71
+ }
72
+
73
+ export type HTMLAreaElementProperties =
74
+ & HTMLElementProperties
75
+ & {
76
+ alt?: string
77
+ coords?: string
78
+ download?: string
79
+ hash?: string
80
+ host?: string
81
+ hostname?: string
82
+ href?: string
83
+ noHref?: string
84
+ pathname?: string
85
+ port?: string
86
+ protocol?: string
87
+ rel?: string
88
+ search?: string
89
+ shape?: string
90
+ target?: string
91
+ }
92
+
93
+ export type HTMLAudioElementProperties = HTMLElementProperties
94
+
95
+ export type HTMLBRElementProperties =
96
+ & HTMLElementProperties
97
+ & {
98
+ clear?: string
99
+ }
100
+
101
+ export type HTMLBaseElementProperties =
102
+ & HTMLElementProperties
103
+ & {
104
+ href?: string
105
+ target?: string
106
+ }
107
+
108
+ export type HTMLBaseFontElementProperties =
109
+ & HTMLElementProperties
110
+ & {
111
+ face?: string
112
+ size?: number
113
+ }
114
+
115
+ export type HTMLBodyElementProperties =
116
+ & HTMLElementProperties
117
+ & {
118
+ aLink?: any
119
+ background?: string
120
+ bgColor?: any
121
+ bgProperties?: string
122
+ link?: any
123
+ noWrap?: boolean
124
+ text?: any
125
+ vLink?: any
126
+ }
127
+
128
+ export type HTMLButtonElementProperties =
129
+ & HTMLElementProperties
130
+ & {
131
+ autofocus?: boolean
132
+ disabled?: boolean
133
+ formAction?: string
134
+ formEnctype?: string
135
+ formMethod?: string
136
+ formNoValidate?: string
137
+ formTarget?: string
138
+ name?: string
139
+ status?: any
140
+ type?: string
141
+ value?: string
142
+ }
143
+
144
+ export type HTMLCanvasElementProperties =
145
+ & HTMLElementProperties
146
+ & {
147
+ height?: number
148
+ width?: number
149
+ }
150
+
151
+ export type HTMLDListElementProperties =
152
+ & HTMLElementProperties
153
+ & {
154
+ compact?: boolean
155
+ }
156
+
157
+ export type HTMLDataElementProperties =
158
+ & HTMLElementProperties
159
+ & {
160
+ value?: string
161
+ }
162
+
163
+ export type HTMLDataListElementProperties =
164
+ & HTMLElementProperties
165
+ & {
166
+ options?: HTMLCollectionOf<HTMLOptionElement>
167
+ }
168
+
169
+ export type HTMLDirectoryElementProperties =
170
+ & HTMLElementProperties
171
+ & {
172
+ compact?: boolean
173
+ }
174
+
175
+ export type HTMLDivElementProperties =
176
+ & HTMLElementProperties
177
+ & {
178
+ align?: string
179
+ noWrap?: boolean
180
+ }
181
+
182
+ export type HTMLEmbedElementProperties =
183
+ & HTMLElementProperties
184
+ & {
185
+ height?: string
186
+ hidden?: any
187
+ msPlayToDisabled?: boolean
188
+ msPlayToPreferredSourceUri?: string
189
+ msPlayToPrimary?: boolean
190
+ name?: string
191
+ src?: string
192
+ units?: string
193
+ width?: string
194
+ }
195
+
196
+ export type HTMLFieldSetElementProperties =
197
+ & HTMLElementProperties
198
+ & {
199
+ align?: string
200
+ disabled?: boolean
201
+ name?: string
202
+ }
203
+
204
+ export type HTMLFontElementProperties =
205
+ & HTMLElementProperties
206
+ & {
207
+ face?: string
208
+ }
209
+
210
+ export type HTMLFormElementProperties =
211
+ & HTMLElementProperties
212
+ & {
213
+ acceptCharset?: string
214
+ action?: string
215
+ autocomplete?: string
216
+ encoding?: string
217
+ enctype?: string
218
+ method?: string
219
+ name?: string
220
+ noValidate?: boolean
221
+ target?: string
222
+ }
223
+
224
+ export type HTMLFrameElementProperties =
225
+ & HTMLElementProperties
226
+ & {
227
+ border?: string
228
+ borderColor?: any
229
+ frameBorder?: string
230
+ frameSpacing?: any
231
+ height?: string | number
232
+ longDesc?: string
233
+ marginHeight?: string
234
+ marginWidth?: string
235
+ name?: string
236
+ noResize?: boolean
237
+ scrolling?: string
238
+ src?: string
239
+ width?: string | number
240
+ }
241
+
242
+ export type HTMLFrameSetElementProperties =
243
+ & HTMLElementProperties
244
+ & {
245
+ border?: string
246
+ borderColor?: string
247
+ cols?: string
248
+ frameBorder?: string
249
+ frameSpacing?: any
250
+ name?: string
251
+ rows?: string
252
+ }
253
+
254
+ export type HTMLHRElementProperties =
255
+ & HTMLElementProperties
256
+ & {
257
+ align?: string
258
+ noShade?: boolean
259
+ width?: number
260
+ }
261
+
262
+ export type HTMLHeadElementProperties =
263
+ & HTMLElementProperties
264
+ & {
265
+ profile?: string
266
+ }
267
+
268
+ export type HTMLHeadingElementProperties =
269
+ & HTMLElementProperties
270
+ & {
271
+ align?: string
272
+ }
273
+
274
+ export type HTMLHtmlElementProperies =
275
+ & HTMLElementProperties
276
+ & {
277
+ version?: string
278
+ }
279
+
280
+ export type HTMLIFrameElementProperties =
281
+ & HTMLElementProperties
282
+ & {
283
+ align?: string
284
+ allowFullscreen?: boolean
285
+ allowPaymentRequest?: boolean
286
+ border?: string
287
+ frameBorder?: string
288
+ frameSpacing?: any
289
+ height?: string
290
+ hspace?: number
291
+ longDesc?: string
292
+ marginHeight?: string
293
+ marginWidth?: string
294
+ name?: string
295
+ noResize?: boolean
296
+ scrolling?: string
297
+ src?: string
298
+ vspace?: number
299
+ width?: string
300
+ }
301
+
302
+ export type HTMLImageElementProperties =
303
+ & HTMLElementProperties
304
+ & {
305
+ align?: string
306
+ alt?: string
307
+ border?: string
308
+ crossOrigin?: string | null
309
+ height?: number
310
+ hspace?: number
311
+ isMap?: boolean
312
+ longDesc?: string
313
+ lowsrc?: string
314
+ msPlayToDisabled?: boolean
315
+ msPlayToPreferredSourceUri?: string
316
+ msPlayToPrimary?: boolean
317
+ name?: string
318
+ sizes?: string
319
+ src?: string
320
+ srcset?: string
321
+ useMap?: string
322
+ vspace?: number
323
+ width?: number
324
+ }
325
+
326
+ export type HTMLInputElementProperties =
327
+ & HTMLElementProperties
328
+ & {
329
+ accept?: string
330
+ align?: string
331
+ alt?: string
332
+ autocomplete?: string
333
+ autofocus?: boolean
334
+ border?: string
335
+ checked?: boolean
336
+ defaultChecked?: boolean
337
+ defaultValue?: string
338
+ disabled?: boolean
339
+ formAction?: string
340
+ formEnctype?: string
341
+ formMethod?: string
342
+ formNoValidate?: string
343
+ formTarget?: string
344
+ height?: string
345
+ hspace?: number
346
+ indeterminate?: boolean
347
+ max?: string
348
+ maxLength?: number
349
+ min?: string
350
+ minLength?: number
351
+ multiple?: boolean
352
+ name?: string
353
+ pattern?: string
354
+ placeholder?: string
355
+ readOnly?: string
356
+ required?: boolean
357
+ selectionDirection?: string
358
+ selectionEnd?: number
359
+ selectionStart?: number
360
+ size?: number
361
+ src?: string
362
+ status?: boolean
363
+ step?: string
364
+ type?: string
365
+ useMap?: string
366
+ value?: string
367
+ valueAsDate?: Date
368
+ valueAsNumber?: number
369
+ vspace?: number
370
+ webkitdirectory?: boolean
371
+ width?: string
372
+ }
373
+
374
+ export type HTMLLIElementProperties =
375
+ & HTMLElementProperties
376
+ & {
377
+ type?: string
378
+ value?: number
379
+ }
380
+
381
+ export type HTMLLabelElementProperties =
382
+ & HTMLElementProperties
383
+ & {
384
+ htmlFor?: string
385
+ }
386
+
387
+ export type HTMLLegendElementProperties =
388
+ & HTMLElementProperties
389
+ & {
390
+ align?: string
391
+ }
392
+
393
+ export type HTMLLinkElementProperties =
394
+ & HTMLElementProperties
395
+ & {
396
+ charset?: string
397
+ disabled?: boolean
398
+ href?: string
399
+ hreflang?: string
400
+ media?: string
401
+ rel?: string
402
+ rev?: string
403
+ target?: string
404
+ type?: string
405
+ import?: Document
406
+ integrity?: string
407
+ }
408
+
409
+ export type HTMLMapElementProperties =
410
+ & HTMLElementProperties
411
+ & {
412
+ name?: string
413
+ }
414
+
415
+ export type HTMLMarqueeElementProperties =
416
+ & HTMLElementProperties
417
+ & {
418
+ behavior?: string
419
+ bgColor?: any
420
+ direction?: string
421
+ height?: string
422
+ hspace?: number
423
+ loop?: number
424
+ scrollAmount?: number
425
+ scrollDelay?: number
426
+ trueSpeed?: boolean
427
+ vspace?: number
428
+ width?: string
429
+ }
430
+
431
+ export type HTMLMediaElementProperties =
432
+ & HTMLElementProperties
433
+ & {
434
+ autoplay?: boolean
435
+ controls?: boolean
436
+ crossOrigin?: string | null
437
+ currentTime?: number
438
+ defaultMuted?: boolean
439
+ defaultPlaybackRate?: number
440
+ loop?: boolean
441
+ msAudioCategory?: string
442
+ msAudioDeviceType?: string
443
+ msPlayToDisabled?: boolean
444
+ msPlayToPreferredSourceUri?: string
445
+ msPlayToPrimary?: string
446
+ msRealTime?: boolean
447
+ muted?: boolean
448
+ playbackRate?: number
449
+ preload?: string
450
+ readyState?: number
451
+ src?: string
452
+ srcObject?: MediaStream | null
453
+ volume?: number
454
+ }
455
+
456
+ export type HTMLMenuElementProperties =
457
+ & HTMLElementProperties
458
+ & {
459
+ compact?: boolean
460
+ type?: string
461
+ }
462
+
463
+ export type HTMLMetaElementProperties =
464
+ & HTMLElementProperties
465
+ & {
466
+ charset?: string
467
+ content?: string
468
+ httpEquiv?: string
469
+ name?: string
470
+ scheme?: string
471
+ url?: string
472
+ }
473
+
474
+ export type HTMLMeterElementProperties =
475
+ & HTMLElementProperties
476
+ & {
477
+ high?: number
478
+ low?: number
479
+ max?: number
480
+ min?: number
481
+ optimum?: number
482
+ value?: number
483
+ }
484
+
485
+ export type HTMLModElementProperties =
486
+ & HTMLElementProperties
487
+ & {
488
+ cite?: string
489
+ dateTime?: string
490
+ }
491
+
492
+ export type HTMLOListElementProperteis =
493
+ & HTMLElementProperties
494
+ & {
495
+ compact?: boolean
496
+ start?: number
497
+ type?: string
498
+ }
499
+
500
+ export type HTMLObjectElementProperties =
501
+ & HTMLElementProperties
502
+ & {
503
+ align?: string
504
+ alt?: string
505
+ altHtml?: string
506
+ archive?: string
507
+ border?: string
508
+ code?: string
509
+ codeBase?: string
510
+ codeType?: string
511
+ data?: string
512
+ declare?: boolean
513
+ height?: string
514
+ hspace?: number
515
+ msPlayToDisabled?: boolean
516
+ msPlayToPreferredSourceUri?: string
517
+ msPlayToPrimary?: boolean
518
+ name?: string
519
+ standby?: string
520
+ type?: string
521
+ useMap?: string
522
+ vspace?: number
523
+ width?: string
524
+ }
525
+
526
+ export type HTMLOptGroupElementProperties =
527
+ & HTMLElementProperties
528
+ & {
529
+ defaultSelected?: boolean
530
+ disabled?: boolean
531
+ label?: string
532
+ selected?: boolean
533
+ value?: string
534
+ }
535
+
536
+ export type HTMLOptionElementProperties =
537
+ & HTMLElementProperties
538
+ & {
539
+ defaultSelected?: boolean
540
+ disabled?: boolean
541
+ label?: string
542
+ selected?: boolean
543
+ text?: string
544
+ value?: string
545
+ }
546
+
547
+ export type HTMLOutputElementProperties =
548
+ & HTMLElementProperties
549
+ & {
550
+ defaultValue?: string
551
+ name?: string
552
+ value?: string
553
+ }
554
+
555
+ export type HTMLParagraphElementProperties =
556
+ & HTMLElementProperties
557
+ & {
558
+ align?: string
559
+ clear?: string
560
+ }
561
+
562
+ export type HTMLParamElementProperties =
563
+ & HTMLElementProperties
564
+ & {
565
+ name?: string
566
+ type?: string
567
+ value?: string
568
+ valueType?: string
569
+ }
570
+
571
+ export type HTMLPreElementProperties =
572
+ & HTMLElementProperties
573
+ & {
574
+ width?: number
575
+ }
576
+
577
+ export type HTMLProgressElementProperties =
578
+ & HTMLElementProperties
579
+ & {
580
+ max?: number
581
+ value?: number
582
+ }
583
+
584
+ export type HTMLQuoteElementProperties =
585
+ & HTMLElementProperties
586
+ & {
587
+ cite?: string
588
+ }
589
+
590
+ export type HTMLScriptElementProperties =
591
+ & HTMLElementProperties
592
+ & {
593
+ async?: boolean
594
+ charset?: string
595
+ crossOrigin?: string | null
596
+ defer?: boolean
597
+ event?: string
598
+ htmlFor?: string
599
+ src?: string
600
+ text?: string
601
+ type?: string
602
+ integrity?: string
603
+ }
604
+
605
+ export type HTMLSelectElementProperties =
606
+ & HTMLElementProperties
607
+ & {
608
+ autofocus?: boolean
609
+ disabled?: boolean
610
+ length?: number
611
+ multiple?: boolean
612
+ name?: string
613
+ required?: boolean
614
+ selectedIndex?: number
615
+ selectedOptions?: HTMLCollectionOf<HTMLOptionElement>
616
+ size?: number
617
+ value?: string
618
+ }
619
+
620
+ export type HTMLSourceElementProperties =
621
+ & HTMLElementProperties
622
+ & {
623
+ media?: string
624
+ msKeySystem?: string
625
+ sizes?: string
626
+ src?: string
627
+ srcset?: string
628
+ type?: string
629
+ }
630
+
631
+ export type HTMLSpanElementProperties = HTMLElementProperties
632
+
633
+ export type HTMLStyleElementProperties =
634
+ & HTMLElementProperties
635
+ & {
636
+ disabled?: boolean
637
+ media?: string
638
+ type?: string
639
+ }
640
+
641
+ export type HTMLTableCaptionElementProperties =
642
+ & HTMLElementProperties
643
+ & {
644
+ align?: string
645
+ vAlign?: string
646
+ }
647
+
648
+ export type HTMLTableCellElementProperties =
649
+ & HTMLElementProperties
650
+ & {
651
+ abbr?: string
652
+ align?: string
653
+ axis?: string
654
+ bgColor?: any
655
+ colSpan?: number
656
+ headers?: string
657
+ height?: any
658
+ noWrap?: boolean
659
+ rowSpan?: number
660
+ scope?: string
661
+ width?: string
662
+ }
663
+
664
+ export type HTMLTableColElementProperties =
665
+ & HTMLElementProperties
666
+ & {
667
+ align?: string
668
+ span?: number
669
+ width?: any
670
+ }
671
+
672
+ export type HTMLTableDataCellElementProperties = HTMLElementProperties
673
+
674
+ export type HTMLTableElementProperties =
675
+ & HTMLElementProperties
676
+ & {
677
+ align?: string
678
+ bgColor?: any
679
+ border?: string
680
+ borderColor?: any
681
+ caption?: HTMLTableCaptionElement
682
+ cellPadding?: string
683
+ cellSpacing?: string
684
+ cols?: number
685
+ frame?: string
686
+ height?: any
687
+ rows?: HTMLCollectionOf<HTMLTableRowElement>
688
+ rules?: string
689
+ summary?: string
690
+ tBodies?: HTMLCollectionOf<HTMLTableSectionElement>
691
+ tFoot?: HTMLTableSectionElement
692
+ tHead?: HTMLTableSectionElement
693
+ width?: string
694
+ }
695
+
696
+ export type HTMLTableHeaderCellElementProperties =
697
+ & HTMLElementProperties
698
+ & {
699
+ scope?: string
700
+ }
701
+
702
+ export type HTMLTableRowElementProperties =
703
+ & HTMLElementProperties
704
+ & {
705
+ align?: string
706
+ bgColor?: any
707
+ cells?: HTMLCollectionOf<HTMLTableDataCellElement | HTMLTableHeaderCellElement>
708
+ height?: any
709
+ }
710
+
711
+ export type HTMLTableSectionElementProperties =
712
+ & HTMLElementProperties
713
+ & {
714
+ align?: string
715
+ rows?: HTMLCollectionOf<HTMLTableRowElement>
716
+ }
717
+
718
+ export type HTMLTemplateElementProperties = HTMLElementProperties
719
+
720
+ export type HTMLTextAreaElementProperties =
721
+ & HTMLElementProperties
722
+ & {
723
+ autofocus?: boolean
724
+ cols?: number
725
+ defaultValue?: string
726
+ disabled?: boolean
727
+ maxLength?: number
728
+ minLength?: number
729
+ name?: string
730
+ placeholder?: string
731
+ readOnly?: boolean
732
+ required?: boolean
733
+ rows?: number
734
+ selectionEnd?: number
735
+ selectedStart?: number
736
+ status?: any
737
+ value?: string
738
+ wrap?: string
739
+ }
740
+
741
+ export type HTMLTimeElementProperties =
742
+ & HTMLElementProperties
743
+ & {
744
+ dateTime?: string
745
+ }
746
+
747
+ export type HTMLTitleElementProperties =
748
+ & HTMLElementProperties
749
+ & {
750
+ text?: string
751
+ }
752
+
753
+ export type HTMLTrackElementProperties =
754
+ & HTMLElementProperties
755
+ & {
756
+ default?: boolean
757
+ kind?: string
758
+ label?: string
759
+ src?: string
760
+ srclang?: string
761
+ }
762
+
763
+ export type HTMLUListElementProperties =
764
+ & HTMLElementProperties
765
+ & {
766
+ compact?: boolean
767
+ type?: string
768
+ }
769
+
770
+ export type HTMLUnknownElementProperties = HTMLElementProperties
771
+
772
+ export type HTMLVideoElementProperties =
773
+ & HTMLElementProperties
774
+ & {
775
+ height?: number
776
+ msHorizontalMirror?: boolean
777
+ msStereo3DPackingMode?: string
778
+ msStereo3DRenderMode?: string
779
+ msZoom?: boolean
780
+ poster?: string
781
+ width?: number
782
+ }