@oomfware/jsx 0.1.1

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,1311 @@
1
+ import * as CSS from "csstype";
2
+
3
+ //#region src/lib/types.d.ts
4
+
5
+ /**
6
+ * core JSX types, modeled after React's type definitions
7
+ */
8
+ /** function component */
9
+ type Component<P = {}> = (props: P) => JSXNode;
10
+ /** function component (alias for Component) */
11
+ type FC<P = {}> = Component<P>;
12
+ /**
13
+ * virtual element representing a JSX element
14
+ * @template P props type
15
+ * @template T element type (tag string or component)
16
+ */
17
+ interface JSXElement<P = unknown, T extends string | Component<any> = string | Component<any>> {
18
+ type: T;
19
+ props: P;
20
+ }
21
+ /**
22
+ * valid JSX child types - anything that can appear as children
23
+ * modeled after React's ReactNode
24
+ */
25
+ type JSXNode = JSXElement | string | number | bigint | boolean | null | undefined | Iterable<JSXNode>;
26
+ //#endregion
27
+ //#region src/lib/intrinsic-elements.d.ts
28
+ /**
29
+ * boolean or string boolean for DOM attributes
30
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute
31
+ */
32
+ type Booleanish = boolean | 'true' | 'false';
33
+ /**
34
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin
35
+ */
36
+ type CrossOrigin = 'anonymous' | 'use-credentials' | '' | undefined;
37
+ interface DOMAttributes {
38
+ children?: JSXNode | undefined;
39
+ dangerouslySetInnerHTML?: {
40
+ __html: string;
41
+ } | undefined;
42
+ oncopy?: string | undefined;
43
+ oncut?: string | undefined;
44
+ onpaste?: string | undefined;
45
+ oncompositionend?: string | undefined;
46
+ oncompositionstart?: string | undefined;
47
+ oncompositionupdate?: string | undefined;
48
+ onfocus?: string | undefined;
49
+ onblur?: string | undefined;
50
+ onchange?: string | undefined;
51
+ onbeforeinput?: string | undefined;
52
+ oninput?: string | undefined;
53
+ onreset?: string | undefined;
54
+ onsubmit?: string | undefined;
55
+ oninvalid?: string | undefined;
56
+ onload?: string | undefined;
57
+ onerror?: string | undefined;
58
+ onkeydown?: string | undefined;
59
+ onkeypress?: string | undefined;
60
+ onkeyup?: string | undefined;
61
+ onabort?: string | undefined;
62
+ oncanplay?: string | undefined;
63
+ oncanplaythrough?: string | undefined;
64
+ ondurationchange?: string | undefined;
65
+ onemptied?: string | undefined;
66
+ onencrypted?: string | undefined;
67
+ onended?: string | undefined;
68
+ onloadeddata?: string | undefined;
69
+ onloadedmetadata?: string | undefined;
70
+ onloadstart?: string | undefined;
71
+ onpause?: string | undefined;
72
+ onplay?: string | undefined;
73
+ onplaying?: string | undefined;
74
+ onprogress?: string | undefined;
75
+ onratechange?: string | undefined;
76
+ onseeked?: string | undefined;
77
+ onseeking?: string | undefined;
78
+ onstalled?: string | undefined;
79
+ onsuspend?: string | undefined;
80
+ ontimeupdate?: string | undefined;
81
+ onvolumechange?: string | undefined;
82
+ onwaiting?: string | undefined;
83
+ onauxclick?: string | undefined;
84
+ onclick?: string | undefined;
85
+ oncontextmenu?: string | undefined;
86
+ ondoubleclick?: string | undefined;
87
+ ondrag?: string | undefined;
88
+ ondragend?: string | undefined;
89
+ ondragenter?: string | undefined;
90
+ ondragexit?: string | undefined;
91
+ ondragleave?: string | undefined;
92
+ ondragover?: string | undefined;
93
+ ondragstart?: string | undefined;
94
+ ondrop?: string | undefined;
95
+ onmousedown?: string | undefined;
96
+ onmouseenter?: string | undefined;
97
+ onmouseleave?: string | undefined;
98
+ onmousemove?: string | undefined;
99
+ onmouseout?: string | undefined;
100
+ onmouseover?: string | undefined;
101
+ onmouseup?: string | undefined;
102
+ onselect?: string | undefined;
103
+ ontouchcancel?: string | undefined;
104
+ ontouchend?: string | undefined;
105
+ ontouchmove?: string | undefined;
106
+ ontouchstart?: string | undefined;
107
+ onpointerdown?: string | undefined;
108
+ onpointermove?: string | undefined;
109
+ onpointerup?: string | undefined;
110
+ onpointercancel?: string | undefined;
111
+ onpointerenter?: string | undefined;
112
+ onpointerleave?: string | undefined;
113
+ onpointerover?: string | undefined;
114
+ onpointerout?: string | undefined;
115
+ onscroll?: string | undefined;
116
+ onscrollend?: string | undefined;
117
+ onwheel?: string | undefined;
118
+ onanimationstart?: string | undefined;
119
+ onanimationend?: string | undefined;
120
+ onanimationiteration?: string | undefined;
121
+ ontoggle?: string | undefined;
122
+ onbeforetoggle?: string | undefined;
123
+ ontransitioncancel?: string | undefined;
124
+ ontransitionend?: string | undefined;
125
+ ontransitionrun?: string | undefined;
126
+ ontransitionstart?: string | undefined;
127
+ }
128
+ interface CSSProperties extends CSS.PropertiesHyphen<string | number> {}
129
+ interface AriaAttributes {
130
+ /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
131
+ 'aria-activedescendant'?: string | undefined;
132
+ /** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
133
+ 'aria-atomic'?: Booleanish | undefined;
134
+ /**
135
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
136
+ * presented if they are made.
137
+ */
138
+ 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
139
+ /** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
140
+ /**
141
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
142
+ * @see aria-label.
143
+ */
144
+ 'aria-braillelabel'?: string | undefined;
145
+ /**
146
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
147
+ * @see aria-roledescription.
148
+ */
149
+ 'aria-brailleroledescription'?: string | undefined;
150
+ 'aria-busy'?: Booleanish | undefined;
151
+ /**
152
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
153
+ * @see aria-pressed @see aria-selected.
154
+ */
155
+ 'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | undefined;
156
+ /**
157
+ * Defines the total number of columns in a table, grid, or treegrid.
158
+ * @see aria-colindex.
159
+ */
160
+ 'aria-colcount'?: number | undefined;
161
+ /**
162
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
163
+ * @see aria-colcount @see aria-colspan.
164
+ */
165
+ 'aria-colindex'?: number | undefined;
166
+ /**
167
+ * Defines a human readable text alternative of aria-colindex.
168
+ * @see aria-rowindextext.
169
+ */
170
+ 'aria-colindextext'?: string | undefined;
171
+ /**
172
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
173
+ * @see aria-colindex @see aria-rowspan.
174
+ */
175
+ 'aria-colspan'?: number | undefined;
176
+ /**
177
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
178
+ * @see aria-owns.
179
+ */
180
+ 'aria-controls'?: string | undefined;
181
+ /** Indicates the element that represents the current item within a container or set of related elements. */
182
+ 'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined;
183
+ /**
184
+ * Identifies the element (or elements) that describes the object.
185
+ * @see aria-labelledby
186
+ */
187
+ 'aria-describedby'?: string | undefined;
188
+ /**
189
+ * Defines a string value that describes or annotates the current element.
190
+ * @see related aria-describedby.
191
+ */
192
+ 'aria-description'?: string | undefined;
193
+ /**
194
+ * Identifies the element that provides a detailed, extended description for the object.
195
+ * @see aria-describedby.
196
+ */
197
+ 'aria-details'?: string | undefined;
198
+ /**
199
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
200
+ * @see aria-hidden @see aria-readonly.
201
+ */
202
+ 'aria-disabled'?: Booleanish | undefined;
203
+ /**
204
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
205
+ * @deprecated in ARIA 1.1
206
+ */
207
+ 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined;
208
+ /**
209
+ * Identifies the element that provides an error message for the object.
210
+ * @see aria-invalid @see aria-describedby.
211
+ */
212
+ 'aria-errormessage'?: string | undefined;
213
+ /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
214
+ 'aria-expanded'?: Booleanish | undefined;
215
+ /**
216
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
217
+ * allows assistive technology to override the general default of reading in document source order.
218
+ */
219
+ 'aria-flowto'?: string | undefined;
220
+ /**
221
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
222
+ * @deprecated in ARIA 1.1
223
+ */
224
+ 'aria-grabbed'?: Booleanish | undefined;
225
+ /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
226
+ 'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
227
+ /**
228
+ * Indicates whether the element is exposed to an accessibility API.
229
+ * @see aria-disabled.
230
+ */
231
+ 'aria-hidden'?: Booleanish | undefined;
232
+ /**
233
+ * Indicates the entered value does not conform to the format expected by the application.
234
+ * @see aria-errormessage.
235
+ */
236
+ 'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined;
237
+ /** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
238
+ 'aria-keyshortcuts'?: string | undefined;
239
+ /**
240
+ * Defines a string value that labels the current element.
241
+ * @see aria-labelledby.
242
+ */
243
+ 'aria-label'?: string | undefined;
244
+ /**
245
+ * Identifies the element (or elements) that labels the current element.
246
+ * @see aria-describedby.
247
+ */
248
+ 'aria-labelledby'?: string | undefined;
249
+ /** Defines the hierarchical level of an element within a structure. */
250
+ 'aria-level'?: number | undefined;
251
+ /** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
252
+ 'aria-live'?: 'off' | 'assertive' | 'polite' | undefined;
253
+ /** Indicates whether an element is modal when displayed. */
254
+ 'aria-modal'?: Booleanish | undefined;
255
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
256
+ 'aria-multiline'?: Booleanish | undefined;
257
+ /** Indicates that the user may select more than one item from the current selectable descendants. */
258
+ 'aria-multiselectable'?: Booleanish | undefined;
259
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
260
+ 'aria-orientation'?: 'horizontal' | 'vertical' | undefined;
261
+ /**
262
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
263
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
264
+ * @see aria-controls.
265
+ */
266
+ 'aria-owns'?: string | undefined;
267
+ /**
268
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
269
+ * A hint could be a sample value or a brief description of the expected format.
270
+ */
271
+ 'aria-placeholder'?: string | undefined;
272
+ /**
273
+ * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
274
+ * @see aria-setsize.
275
+ */
276
+ 'aria-posinset'?: number | undefined;
277
+ /**
278
+ * Indicates the current "pressed" state of toggle buttons.
279
+ * @see aria-checked @see aria-selected.
280
+ */
281
+ 'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined;
282
+ /**
283
+ * Indicates that the element is not editable, but is otherwise operable.
284
+ * @see aria-disabled.
285
+ */
286
+ 'aria-readonly'?: Booleanish | undefined;
287
+ /**
288
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
289
+ * @see aria-atomic.
290
+ */
291
+ 'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined;
292
+ /** Indicates that user input is required on the element before a form may be submitted. */
293
+ 'aria-required'?: Booleanish | undefined;
294
+ /** Defines a human-readable, author-localized description for the role of an element. */
295
+ 'aria-roledescription'?: string | undefined;
296
+ /**
297
+ * Defines the total number of rows in a table, grid, or treegrid.
298
+ * @see aria-rowindex.
299
+ */
300
+ 'aria-rowcount'?: number | undefined;
301
+ /**
302
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
303
+ * @see aria-rowcount @see aria-rowspan.
304
+ */
305
+ 'aria-rowindex'?: number | undefined;
306
+ /**
307
+ * Defines a human readable text alternative of aria-rowindex.
308
+ * @see aria-colindextext.
309
+ */
310
+ 'aria-rowindextext'?: string | undefined;
311
+ /**
312
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
313
+ * @see aria-rowindex @see aria-colspan.
314
+ */
315
+ 'aria-rowspan'?: number | undefined;
316
+ /**
317
+ * Indicates the current "selected" state of various widgets.
318
+ * @see aria-checked @see aria-pressed.
319
+ */
320
+ 'aria-selected'?: Booleanish | undefined;
321
+ /**
322
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
323
+ * @see aria-posinset.
324
+ */
325
+ 'aria-setsize'?: number | undefined;
326
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
327
+ 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined;
328
+ /** Defines the maximum allowed value for a range widget. */
329
+ 'aria-valuemax'?: number | undefined;
330
+ /** Defines the minimum allowed value for a range widget. */
331
+ 'aria-valuemin'?: number | undefined;
332
+ /**
333
+ * Defines the current value for a range widget.
334
+ * @see aria-valuetext.
335
+ */
336
+ 'aria-valuenow'?: number | undefined;
337
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
338
+ 'aria-valuetext'?: string | undefined;
339
+ }
340
+ type AriaRole = 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'button' | 'cell' | 'checkbox' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'dialog' | 'directory' | 'document' | 'feed' | 'figure' | 'form' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'navigation' | 'none' | 'note' | 'option' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem' | (string & {});
341
+ interface HTMLAttributes extends AriaAttributes, DOMAttributes {
342
+ accesskey?: string | undefined;
343
+ autocapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined | (string & {});
344
+ autofocus?: boolean | undefined;
345
+ class?: string | undefined;
346
+ contenteditable?: Booleanish | 'inherit' | 'plaintext-only' | undefined;
347
+ /** @deprecated */
348
+ contextmenu?: string | undefined;
349
+ dir?: string | undefined;
350
+ draggable?: Booleanish | undefined;
351
+ enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
352
+ hidden?: boolean | undefined;
353
+ id?: string | undefined;
354
+ lang?: string | undefined;
355
+ nonce?: string | undefined;
356
+ slot?: string | undefined;
357
+ spellcheck?: Booleanish | undefined;
358
+ style?: CSSProperties | string | undefined;
359
+ tabindex?: number | undefined;
360
+ title?: string | undefined;
361
+ translate?: 'yes' | 'no' | undefined;
362
+ /** @deprecated */
363
+ radiogroup?: string | undefined;
364
+ role?: AriaRole | undefined;
365
+ about?: string | undefined;
366
+ content?: string | undefined;
367
+ datatype?: string | undefined;
368
+ inlist?: any;
369
+ prefix?: string | undefined;
370
+ property?: string | undefined;
371
+ rel?: string | undefined;
372
+ resource?: string | undefined;
373
+ rev?: string | undefined;
374
+ typeof?: string | undefined;
375
+ vocab?: string | undefined;
376
+ autocorrect?: string | undefined;
377
+ autosave?: string | undefined;
378
+ color?: string | undefined;
379
+ itemprop?: string | undefined;
380
+ itemscope?: boolean | undefined;
381
+ itemtype?: string | undefined;
382
+ itemid?: string | undefined;
383
+ itemref?: string | undefined;
384
+ results?: number | undefined;
385
+ security?: string | undefined;
386
+ unselectable?: 'on' | 'off' | undefined;
387
+ popover?: '' | 'auto' | 'manual' | 'hint' | undefined;
388
+ popovertargetaction?: 'toggle' | 'show' | 'hide' | undefined;
389
+ popovertarget?: string | undefined;
390
+ /**
391
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert
392
+ */
393
+ inert?: boolean | undefined;
394
+ /**
395
+ * hints at the type of data that might be entered by the user while editing the element or its contents
396
+ * @see {@link https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute}
397
+ */
398
+ inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | undefined;
399
+ /**
400
+ * specify that a standard HTML element should behave like a defined custom built-in element
401
+ * @see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is}
402
+ */
403
+ is?: string | undefined;
404
+ /**
405
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts}
406
+ */
407
+ exportparts?: string | undefined;
408
+ /**
409
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part}
410
+ */
411
+ part?: string | undefined;
412
+ }
413
+ type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
414
+ type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | (string & {});
415
+ interface AnchorHTMLAttributes extends HTMLAttributes {
416
+ download?: any;
417
+ href?: string | undefined;
418
+ hreflang?: string | undefined;
419
+ media?: string | undefined;
420
+ ping?: string | undefined;
421
+ target?: HTMLAttributeAnchorTarget | undefined;
422
+ type?: string | undefined;
423
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
424
+ }
425
+ interface AudioHTMLAttributes extends MediaHTMLAttributes {}
426
+ interface AreaHTMLAttributes extends HTMLAttributes {
427
+ alt?: string | undefined;
428
+ coords?: string | undefined;
429
+ download?: any;
430
+ href?: string | undefined;
431
+ hreflang?: string | undefined;
432
+ media?: string | undefined;
433
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
434
+ shape?: string | undefined;
435
+ target?: string | undefined;
436
+ }
437
+ interface BaseHTMLAttributes extends HTMLAttributes {
438
+ href?: string | undefined;
439
+ target?: string | undefined;
440
+ }
441
+ interface BlockquoteHTMLAttributes extends HTMLAttributes {
442
+ cite?: string | undefined;
443
+ }
444
+ interface ButtonHTMLAttributes extends HTMLAttributes {
445
+ disabled?: boolean | undefined;
446
+ form?: string | undefined;
447
+ formaction?: string | undefined;
448
+ formenctype?: string | undefined;
449
+ formmethod?: string | undefined;
450
+ formnovalidate?: boolean | undefined;
451
+ formtarget?: string | undefined;
452
+ name?: string | undefined;
453
+ type?: 'submit' | 'reset' | 'button' | undefined;
454
+ value?: string | readonly string[] | number | undefined;
455
+ }
456
+ interface CanvasHTMLAttributes extends HTMLAttributes {
457
+ height?: number | string | undefined;
458
+ width?: number | string | undefined;
459
+ }
460
+ interface ColHTMLAttributes extends HTMLAttributes {
461
+ span?: number | undefined;
462
+ width?: number | string | undefined;
463
+ }
464
+ interface ColgroupHTMLAttributes extends HTMLAttributes {
465
+ span?: number | undefined;
466
+ }
467
+ interface DataHTMLAttributes extends HTMLAttributes {
468
+ value?: string | readonly string[] | number | undefined;
469
+ }
470
+ interface DetailsHTMLAttributes extends HTMLAttributes {
471
+ open?: boolean | undefined;
472
+ name?: string | undefined;
473
+ }
474
+ interface DelHTMLAttributes extends HTMLAttributes {
475
+ cite?: string | undefined;
476
+ datetime?: string | undefined;
477
+ }
478
+ interface DialogHTMLAttributes extends HTMLAttributes {
479
+ closedby?: 'any' | 'closerequest' | 'none' | undefined;
480
+ oncancel?: string | undefined;
481
+ onclose?: string | undefined;
482
+ open?: boolean | undefined;
483
+ }
484
+ interface EmbedHTMLAttributes extends HTMLAttributes {
485
+ height?: number | string | undefined;
486
+ src?: string | undefined;
487
+ type?: string | undefined;
488
+ width?: number | string | undefined;
489
+ }
490
+ interface FieldsetHTMLAttributes extends HTMLAttributes {
491
+ disabled?: boolean | undefined;
492
+ form?: string | undefined;
493
+ name?: string | undefined;
494
+ }
495
+ interface FormHTMLAttributes extends HTMLAttributes {
496
+ 'accept-charset'?: string | undefined;
497
+ action?: string | undefined;
498
+ autocomplete?: string | undefined;
499
+ enctype?: string | undefined;
500
+ method?: string | undefined;
501
+ name?: string | undefined;
502
+ novalidate?: boolean | undefined;
503
+ target?: string | undefined;
504
+ }
505
+ interface HtmlHTMLAttributes extends HTMLAttributes {
506
+ manifest?: string | undefined;
507
+ }
508
+ interface IframeHTMLAttributes extends HTMLAttributes {
509
+ allow?: string | undefined;
510
+ allowfullscreen?: boolean | undefined;
511
+ /** @deprecated non-standard */
512
+ allowtransparency?: boolean | undefined;
513
+ /** @deprecated */
514
+ frameborder?: number | string | undefined;
515
+ height?: number | string | undefined;
516
+ loading?: 'eager' | 'lazy' | undefined;
517
+ /** @deprecated */
518
+ marginheight?: number | undefined;
519
+ /** @deprecated */
520
+ marginwidth?: number | undefined;
521
+ name?: string | undefined;
522
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
523
+ sandbox?: string | undefined;
524
+ /** @deprecated */
525
+ scrolling?: string | undefined;
526
+ seamless?: boolean | undefined;
527
+ src?: string | undefined;
528
+ srcdoc?: string | undefined;
529
+ width?: number | string | undefined;
530
+ }
531
+ interface ImgHTMLAttributes extends HTMLAttributes {
532
+ alt?: string | undefined;
533
+ crossorigin?: CrossOrigin;
534
+ decoding?: 'async' | 'auto' | 'sync' | undefined;
535
+ fetchpriority?: 'high' | 'low' | 'auto';
536
+ height?: number | string | undefined;
537
+ loading?: 'eager' | 'lazy' | undefined;
538
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
539
+ sizes?: string | undefined;
540
+ src?: string | undefined;
541
+ srcset?: string | undefined;
542
+ usemap?: string | undefined;
543
+ width?: number | string | undefined;
544
+ }
545
+ interface InsHTMLAttributes extends HTMLAttributes {
546
+ cite?: string | undefined;
547
+ datetime?: string | undefined;
548
+ }
549
+ type HTMLInputTypeAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | (string & {});
550
+ type AutoFillAddressKind = 'billing' | 'shipping';
551
+ type AutoFillBase = '' | 'off' | 'on';
552
+ type AutoFillContactField = 'email' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-local-prefix' | 'tel-local-suffix' | 'tel-national';
553
+ type AutoFillContactKind = 'home' | 'mobile' | 'work';
554
+ type AutoFillCredentialField = 'webauthn';
555
+ type AutoFillNormalField = 'additional-name' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'name' | 'new-password' | 'one-time-code' | 'organization' | 'postal-code' | 'street-address' | 'transaction-amount' | 'transaction-currency' | 'username';
556
+ type OptionalPrefixToken<T extends string> = `${T} ` | '';
557
+ type OptionalPostfixToken<T extends string> = ` ${T}` | '';
558
+ type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
559
+ type AutoFillSection = `section-${string}`;
560
+ type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
561
+ type HTMLInputAutoCompleteAttribute = AutoFill | (string & {});
562
+ interface InputHTMLAttributes extends HTMLAttributes {
563
+ accept?: string | undefined;
564
+ alt?: string | undefined;
565
+ autocomplete?: HTMLInputAutoCompleteAttribute | undefined;
566
+ capture?: boolean | 'user' | 'environment' | undefined;
567
+ checked?: boolean | undefined;
568
+ disabled?: boolean | undefined;
569
+ form?: string | undefined;
570
+ formaction?: string | undefined;
571
+ formenctype?: string | undefined;
572
+ formmethod?: string | undefined;
573
+ formnovalidate?: boolean | undefined;
574
+ formtarget?: string | undefined;
575
+ height?: number | string | undefined;
576
+ list?: string | undefined;
577
+ max?: number | string | undefined;
578
+ maxlength?: number | undefined;
579
+ min?: number | string | undefined;
580
+ minlength?: number | undefined;
581
+ multiple?: boolean | undefined;
582
+ name?: string | undefined;
583
+ pattern?: string | undefined;
584
+ placeholder?: string | undefined;
585
+ readonly?: boolean | undefined;
586
+ required?: boolean | undefined;
587
+ size?: number | undefined;
588
+ src?: string | undefined;
589
+ step?: number | string | undefined;
590
+ type?: HTMLInputTypeAttribute | undefined;
591
+ value?: string | readonly string[] | number | undefined;
592
+ width?: number | string | undefined;
593
+ onchange?: string | undefined;
594
+ }
595
+ /** @deprecated */
596
+ interface KeygenHTMLAttributes extends HTMLAttributes {
597
+ challenge?: string | undefined;
598
+ disabled?: boolean | undefined;
599
+ form?: string | undefined;
600
+ keytype?: string | undefined;
601
+ keyparams?: string | undefined;
602
+ name?: string | undefined;
603
+ }
604
+ interface LabelHTMLAttributes extends HTMLAttributes {
605
+ form?: string | undefined;
606
+ for?: string | undefined;
607
+ }
608
+ interface LiHTMLAttributes extends HTMLAttributes {
609
+ value?: string | readonly string[] | number | undefined;
610
+ }
611
+ interface LinkHTMLAttributes extends HTMLAttributes {
612
+ as?: string | undefined;
613
+ blocking?: 'render' | (string & {}) | undefined;
614
+ crossorigin?: CrossOrigin;
615
+ fetchpriority?: 'high' | 'low' | 'auto';
616
+ href?: string | undefined;
617
+ hreflang?: string | undefined;
618
+ integrity?: string | undefined;
619
+ media?: string | undefined;
620
+ imagesrcset?: string | undefined;
621
+ imagesizes?: string | undefined;
622
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
623
+ sizes?: string | undefined;
624
+ type?: string | undefined;
625
+ /** @deprecated */
626
+ charset?: string | undefined;
627
+ }
628
+ interface MapHTMLAttributes extends HTMLAttributes {
629
+ name?: string | undefined;
630
+ }
631
+ interface MenuHTMLAttributes extends HTMLAttributes {
632
+ type?: string | undefined;
633
+ }
634
+ interface MediaHTMLAttributes extends HTMLAttributes {
635
+ autoplay?: boolean | undefined;
636
+ controls?: boolean | undefined;
637
+ controlslist?: string | undefined;
638
+ crossorigin?: CrossOrigin;
639
+ loop?: boolean | undefined;
640
+ /** @deprecated */
641
+ mediagroup?: string | undefined;
642
+ muted?: boolean | undefined;
643
+ playsinline?: boolean | undefined;
644
+ preload?: string | undefined;
645
+ src?: string | undefined;
646
+ }
647
+ interface MetaHTMLAttributes extends HTMLAttributes {
648
+ charset?: string | undefined;
649
+ content?: string | undefined;
650
+ 'http-equiv'?: string | undefined;
651
+ media?: string | undefined;
652
+ name?: string | undefined;
653
+ }
654
+ interface MeterHTMLAttributes extends HTMLAttributes {
655
+ form?: string | undefined;
656
+ high?: number | undefined;
657
+ low?: number | undefined;
658
+ max?: number | string | undefined;
659
+ min?: number | string | undefined;
660
+ optimum?: number | undefined;
661
+ value?: string | readonly string[] | number | undefined;
662
+ }
663
+ interface QuoteHTMLAttributes extends HTMLAttributes {
664
+ cite?: string | undefined;
665
+ }
666
+ interface ObjectHTMLAttributes extends HTMLAttributes {
667
+ /** @deprecated */
668
+ classid?: string | undefined;
669
+ data?: string | undefined;
670
+ form?: string | undefined;
671
+ height?: number | string | undefined;
672
+ name?: string | undefined;
673
+ type?: string | undefined;
674
+ usemap?: string | undefined;
675
+ width?: number | string | undefined;
676
+ /** @deprecated */
677
+ wmode?: string | undefined;
678
+ }
679
+ interface OlHTMLAttributes extends HTMLAttributes {
680
+ reversed?: boolean | undefined;
681
+ start?: number | undefined;
682
+ type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined;
683
+ }
684
+ interface OptgroupHTMLAttributes extends HTMLAttributes {
685
+ disabled?: boolean | undefined;
686
+ label?: string | undefined;
687
+ }
688
+ interface OptionHTMLAttributes extends HTMLAttributes {
689
+ disabled?: boolean | undefined;
690
+ label?: string | undefined;
691
+ selected?: boolean | undefined;
692
+ value?: string | readonly string[] | number | undefined;
693
+ }
694
+ interface OutputHTMLAttributes extends HTMLAttributes {
695
+ form?: string | undefined;
696
+ for?: string | undefined;
697
+ name?: string | undefined;
698
+ }
699
+ interface ParamHTMLAttributes extends HTMLAttributes {
700
+ name?: string | undefined;
701
+ value?: string | readonly string[] | number | undefined;
702
+ }
703
+ interface ProgressHTMLAttributes extends HTMLAttributes {
704
+ max?: number | string | undefined;
705
+ value?: string | readonly string[] | number | undefined;
706
+ }
707
+ interface SlotHTMLAttributes extends HTMLAttributes {
708
+ name?: string | undefined;
709
+ }
710
+ interface ScriptHTMLAttributes extends HTMLAttributes {
711
+ async?: boolean | undefined;
712
+ blocking?: 'render' | (string & {}) | undefined;
713
+ /** @deprecated */
714
+ charset?: string | undefined;
715
+ crossorigin?: CrossOrigin;
716
+ defer?: boolean | undefined;
717
+ fetchpriority?: 'high' | 'low' | 'auto' | undefined;
718
+ integrity?: string | undefined;
719
+ nomodule?: boolean | undefined;
720
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
721
+ src?: string | undefined;
722
+ type?: string | undefined;
723
+ }
724
+ interface SelectHTMLAttributes extends HTMLAttributes {
725
+ autocomplete?: string | undefined;
726
+ disabled?: boolean | undefined;
727
+ form?: string | undefined;
728
+ multiple?: boolean | undefined;
729
+ name?: string | undefined;
730
+ required?: boolean | undefined;
731
+ size?: number | undefined;
732
+ value?: string | readonly string[] | number | undefined;
733
+ onchange?: string | undefined;
734
+ }
735
+ interface SourceHTMLAttributes extends HTMLAttributes {
736
+ height?: number | string | undefined;
737
+ media?: string | undefined;
738
+ sizes?: string | undefined;
739
+ src?: string | undefined;
740
+ srcset?: string | undefined;
741
+ type?: string | undefined;
742
+ width?: number | string | undefined;
743
+ }
744
+ interface StyleHTMLAttributes extends HTMLAttributes {
745
+ blocking?: 'render' | (string & {}) | undefined;
746
+ media?: string | undefined;
747
+ /** @deprecated */
748
+ scoped?: boolean | undefined;
749
+ type?: string | undefined;
750
+ }
751
+ interface TableHTMLAttributes extends HTMLAttributes {
752
+ align?: 'left' | 'center' | 'right' | undefined;
753
+ bgcolor?: string | undefined;
754
+ border?: number | undefined;
755
+ cellpadding?: number | string | undefined;
756
+ cellspacing?: number | string | undefined;
757
+ frame?: boolean | undefined;
758
+ rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined;
759
+ summary?: string | undefined;
760
+ width?: number | string | undefined;
761
+ }
762
+ interface TextareaHTMLAttributes extends HTMLAttributes {
763
+ autocomplete?: string | undefined;
764
+ cols?: number | undefined;
765
+ dirname?: string | undefined;
766
+ disabled?: boolean | undefined;
767
+ form?: string | undefined;
768
+ maxlength?: number | undefined;
769
+ minlength?: number | undefined;
770
+ name?: string | undefined;
771
+ placeholder?: string | undefined;
772
+ readonly?: boolean | undefined;
773
+ required?: boolean | undefined;
774
+ rows?: number | undefined;
775
+ value?: string | readonly string[] | number | undefined;
776
+ wrap?: string | undefined;
777
+ onchange?: string | undefined;
778
+ }
779
+ interface TdHTMLAttributes extends HTMLAttributes {
780
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
781
+ colspan?: number | undefined;
782
+ headers?: string | undefined;
783
+ rowspan?: number | undefined;
784
+ scope?: string | undefined;
785
+ abbr?: string | undefined;
786
+ height?: number | string | undefined;
787
+ width?: number | string | undefined;
788
+ valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined;
789
+ }
790
+ interface ThHTMLAttributes extends HTMLAttributes {
791
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined;
792
+ colspan?: number | undefined;
793
+ headers?: string | undefined;
794
+ rowspan?: number | undefined;
795
+ scope?: string | undefined;
796
+ abbr?: string | undefined;
797
+ }
798
+ interface TimeHTMLAttributes extends HTMLAttributes {
799
+ datetime?: string | undefined;
800
+ }
801
+ interface TrackHTMLAttributes extends HTMLAttributes {
802
+ default?: boolean | undefined;
803
+ kind?: string | undefined;
804
+ label?: string | undefined;
805
+ src?: string | undefined;
806
+ srclang?: string | undefined;
807
+ }
808
+ interface VideoHTMLAttributes extends MediaHTMLAttributes {
809
+ height?: number | string | undefined;
810
+ playsinline?: boolean | undefined;
811
+ poster?: string | undefined;
812
+ width?: number | string | undefined;
813
+ disablepictureinpicture?: boolean | undefined;
814
+ disableremoteplayback?: boolean | undefined;
815
+ onresize?: string | undefined;
816
+ }
817
+ interface SVGAttributes extends AriaAttributes, DOMAttributes {
818
+ class?: string | undefined;
819
+ color?: string | undefined;
820
+ height?: number | string | undefined;
821
+ id?: string | undefined;
822
+ lang?: string | undefined;
823
+ max?: number | string | undefined;
824
+ media?: string | undefined;
825
+ method?: string | undefined;
826
+ min?: number | string | undefined;
827
+ name?: string | undefined;
828
+ style?: CSSProperties | string | undefined;
829
+ target?: string | undefined;
830
+ type?: string | undefined;
831
+ width?: number | string | undefined;
832
+ role?: AriaRole | undefined;
833
+ tabindex?: number | undefined;
834
+ crossorigin?: CrossOrigin;
835
+ accentHeight?: number | string | undefined;
836
+ accumulate?: 'none' | 'sum' | undefined;
837
+ additive?: 'replace' | 'sum' | undefined;
838
+ alignmentBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined;
839
+ allowReorder?: 'no' | 'yes' | undefined;
840
+ alphabetic?: number | string | undefined;
841
+ amplitude?: number | string | undefined;
842
+ arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined;
843
+ ascent?: number | string | undefined;
844
+ attributeName?: string | undefined;
845
+ attributeType?: string | undefined;
846
+ autoReverse?: Booleanish | undefined;
847
+ azimuth?: number | string | undefined;
848
+ baseFrequency?: number | string | undefined;
849
+ baselineShift?: number | string | undefined;
850
+ baseProfile?: number | string | undefined;
851
+ bbox?: number | string | undefined;
852
+ begin?: number | string | undefined;
853
+ bias?: number | string | undefined;
854
+ by?: number | string | undefined;
855
+ calcMode?: number | string | undefined;
856
+ capHeight?: number | string | undefined;
857
+ clip?: number | string | undefined;
858
+ clipPath?: string | undefined;
859
+ clipPathUnits?: number | string | undefined;
860
+ clipRule?: number | string | undefined;
861
+ colorInterpolation?: number | string | undefined;
862
+ colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined;
863
+ colorProfile?: number | string | undefined;
864
+ colorRendering?: number | string | undefined;
865
+ contentScriptType?: number | string | undefined;
866
+ contentStyleType?: number | string | undefined;
867
+ cursor?: number | string | undefined;
868
+ cx?: number | string | undefined;
869
+ cy?: number | string | undefined;
870
+ d?: string | undefined;
871
+ decelerate?: number | string | undefined;
872
+ descent?: number | string | undefined;
873
+ diffuseConstant?: number | string | undefined;
874
+ direction?: number | string | undefined;
875
+ display?: number | string | undefined;
876
+ divisor?: number | string | undefined;
877
+ dominantBaseline?: 'auto' | 'use-script' | 'no-change' | 'reset-size' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'central' | 'middle' | 'text-after-edge' | 'text-before-edge' | 'inherit' | undefined;
878
+ dur?: number | string | undefined;
879
+ dx?: number | string | undefined;
880
+ dy?: number | string | undefined;
881
+ edgeMode?: number | string | undefined;
882
+ elevation?: number | string | undefined;
883
+ enableBackground?: number | string | undefined;
884
+ end?: number | string | undefined;
885
+ exponent?: number | string | undefined;
886
+ externalResourcesRequired?: Booleanish | undefined;
887
+ fill?: string | undefined;
888
+ fillOpacity?: number | string | undefined;
889
+ fillRule?: 'nonzero' | 'evenodd' | 'inherit' | undefined;
890
+ filter?: string | undefined;
891
+ filterRes?: number | string | undefined;
892
+ filterUnits?: number | string | undefined;
893
+ floodColor?: number | string | undefined;
894
+ floodOpacity?: number | string | undefined;
895
+ focusable?: Booleanish | 'auto' | undefined;
896
+ fontFamily?: string | undefined;
897
+ fontSize?: number | string | undefined;
898
+ fontSizeAdjust?: number | string | undefined;
899
+ fontStretch?: number | string | undefined;
900
+ fontStyle?: number | string | undefined;
901
+ fontVariant?: number | string | undefined;
902
+ fontWeight?: number | string | undefined;
903
+ format?: number | string | undefined;
904
+ fr?: number | string | undefined;
905
+ from?: number | string | undefined;
906
+ fx?: number | string | undefined;
907
+ fy?: number | string | undefined;
908
+ g1?: number | string | undefined;
909
+ g2?: number | string | undefined;
910
+ glyphName?: number | string | undefined;
911
+ glyphOrientationHorizontal?: number | string | undefined;
912
+ glyphOrientationVertical?: number | string | undefined;
913
+ glyphRef?: number | string | undefined;
914
+ gradientTransform?: string | undefined;
915
+ gradientUnits?: string | undefined;
916
+ hanging?: number | string | undefined;
917
+ horizAdvX?: number | string | undefined;
918
+ horizOriginX?: number | string | undefined;
919
+ href?: string | undefined;
920
+ ideographic?: number | string | undefined;
921
+ imageRendering?: number | string | undefined;
922
+ in2?: number | string | undefined;
923
+ in?: string | undefined;
924
+ intercept?: number | string | undefined;
925
+ k1?: number | string | undefined;
926
+ k2?: number | string | undefined;
927
+ k3?: number | string | undefined;
928
+ k4?: number | string | undefined;
929
+ k?: number | string | undefined;
930
+ kernelMatrix?: number | string | undefined;
931
+ kernelUnitLength?: number | string | undefined;
932
+ kerning?: number | string | undefined;
933
+ keyPoints?: number | string | undefined;
934
+ keySplines?: number | string | undefined;
935
+ keyTimes?: number | string | undefined;
936
+ lengthAdjust?: number | string | undefined;
937
+ letterSpacing?: number | string | undefined;
938
+ lightingColor?: number | string | undefined;
939
+ limitingConeAngle?: number | string | undefined;
940
+ local?: number | string | undefined;
941
+ markerEnd?: string | undefined;
942
+ markerHeight?: number | string | undefined;
943
+ markerMid?: string | undefined;
944
+ markerStart?: string | undefined;
945
+ markerUnits?: number | string | undefined;
946
+ markerWidth?: number | string | undefined;
947
+ mask?: string | undefined;
948
+ maskContentUnits?: number | string | undefined;
949
+ maskUnits?: number | string | undefined;
950
+ mathematical?: number | string | undefined;
951
+ mode?: number | string | undefined;
952
+ numOctaves?: number | string | undefined;
953
+ offset?: number | string | undefined;
954
+ opacity?: number | string | undefined;
955
+ operator?: number | string | undefined;
956
+ order?: number | string | undefined;
957
+ orient?: number | string | undefined;
958
+ orientation?: number | string | undefined;
959
+ origin?: number | string | undefined;
960
+ overflow?: number | string | undefined;
961
+ overlinePosition?: number | string | undefined;
962
+ overlineThickness?: number | string | undefined;
963
+ paintOrder?: number | string | undefined;
964
+ panose1?: number | string | undefined;
965
+ path?: string | undefined;
966
+ pathLength?: number | string | undefined;
967
+ patternContentUnits?: string | undefined;
968
+ patternTransform?: number | string | undefined;
969
+ patternUnits?: string | undefined;
970
+ pointerEvents?: number | string | undefined;
971
+ points?: string | undefined;
972
+ pointsAtX?: number | string | undefined;
973
+ pointsAtY?: number | string | undefined;
974
+ pointsAtZ?: number | string | undefined;
975
+ preserveAlpha?: Booleanish | undefined;
976
+ preserveAspectRatio?: string | undefined;
977
+ primitiveUnits?: number | string | undefined;
978
+ r?: number | string | undefined;
979
+ radius?: number | string | undefined;
980
+ refX?: number | string | undefined;
981
+ refY?: number | string | undefined;
982
+ renderingIntent?: number | string | undefined;
983
+ repeatCount?: number | string | undefined;
984
+ repeatDur?: number | string | undefined;
985
+ requiredExtensions?: number | string | undefined;
986
+ requiredFeatures?: number | string | undefined;
987
+ restart?: number | string | undefined;
988
+ result?: string | undefined;
989
+ rotate?: number | string | undefined;
990
+ rx?: number | string | undefined;
991
+ ry?: number | string | undefined;
992
+ scale?: number | string | undefined;
993
+ seed?: number | string | undefined;
994
+ shapeRendering?: number | string | undefined;
995
+ slope?: number | string | undefined;
996
+ spacing?: number | string | undefined;
997
+ specularConstant?: number | string | undefined;
998
+ specularExponent?: number | string | undefined;
999
+ speed?: number | string | undefined;
1000
+ spreadMethod?: string | undefined;
1001
+ startOffset?: number | string | undefined;
1002
+ stdDeviation?: number | string | undefined;
1003
+ stemh?: number | string | undefined;
1004
+ stemv?: number | string | undefined;
1005
+ stitchTiles?: number | string | undefined;
1006
+ stopColor?: string | undefined;
1007
+ stopOpacity?: number | string | undefined;
1008
+ strikethroughPosition?: number | string | undefined;
1009
+ strikethroughThickness?: number | string | undefined;
1010
+ string?: number | string | undefined;
1011
+ stroke?: string | undefined;
1012
+ strokeDasharray?: string | number | undefined;
1013
+ strokeDashoffset?: string | number | undefined;
1014
+ strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit' | undefined;
1015
+ strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined;
1016
+ strokeMiterlimit?: number | string | undefined;
1017
+ strokeOpacity?: number | string | undefined;
1018
+ strokeWidth?: number | string | undefined;
1019
+ surfaceScale?: number | string | undefined;
1020
+ systemLanguage?: number | string | undefined;
1021
+ tableValues?: number | string | undefined;
1022
+ targetX?: number | string | undefined;
1023
+ targetY?: number | string | undefined;
1024
+ textAnchor?: 'start' | 'middle' | 'end' | 'inherit' | undefined;
1025
+ textDecoration?: number | string | undefined;
1026
+ textLength?: number | string | undefined;
1027
+ textRendering?: number | string | undefined;
1028
+ to?: number | string | undefined;
1029
+ transform?: string | undefined;
1030
+ u1?: number | string | undefined;
1031
+ u2?: number | string | undefined;
1032
+ underlinePosition?: number | string | undefined;
1033
+ underlineThickness?: number | string | undefined;
1034
+ unicode?: number | string | undefined;
1035
+ unicodeBidi?: number | string | undefined;
1036
+ unicodeRange?: number | string | undefined;
1037
+ unitsPerEm?: number | string | undefined;
1038
+ vAlphabetic?: number | string | undefined;
1039
+ values?: string | undefined;
1040
+ vectorEffect?: number | string | undefined;
1041
+ version?: string | undefined;
1042
+ vertAdvY?: number | string | undefined;
1043
+ vertOriginX?: number | string | undefined;
1044
+ vertOriginY?: number | string | undefined;
1045
+ vHanging?: number | string | undefined;
1046
+ vIdeographic?: number | string | undefined;
1047
+ viewBox?: string | undefined;
1048
+ viewTarget?: number | string | undefined;
1049
+ visibility?: number | string | undefined;
1050
+ vMathematical?: number | string | undefined;
1051
+ widths?: number | string | undefined;
1052
+ wordSpacing?: number | string | undefined;
1053
+ writingMode?: number | string | undefined;
1054
+ x1?: number | string | undefined;
1055
+ x2?: number | string | undefined;
1056
+ x?: number | string | undefined;
1057
+ xChannelSelector?: string | undefined;
1058
+ xHeight?: number | string | undefined;
1059
+ xlinkActuate?: string | undefined;
1060
+ xlinkArcrole?: string | undefined;
1061
+ xlinkHref?: string | undefined;
1062
+ xlinkRole?: string | undefined;
1063
+ xlinkShow?: string | undefined;
1064
+ xlinkTitle?: string | undefined;
1065
+ xlinkType?: string | undefined;
1066
+ xmlBase?: string | undefined;
1067
+ xmlLang?: string | undefined;
1068
+ xmlns?: string | undefined;
1069
+ xmlnsXlink?: string | undefined;
1070
+ xmlSpace?: string | undefined;
1071
+ y1?: number | string | undefined;
1072
+ y2?: number | string | undefined;
1073
+ y?: number | string | undefined;
1074
+ yChannelSelector?: string | undefined;
1075
+ z?: number | string | undefined;
1076
+ zoomAndPan?: string | undefined;
1077
+ }
1078
+ /** non-standard, Electron only */
1079
+ interface WebViewHTMLAttributes extends HTMLAttributes {
1080
+ allowfullscreen?: boolean | undefined;
1081
+ allowpopups?: boolean | undefined;
1082
+ autosize?: boolean | undefined;
1083
+ blinkfeatures?: string | undefined;
1084
+ disableblinkfeatures?: string | undefined;
1085
+ disableguestresize?: boolean | undefined;
1086
+ disablewebsecurity?: boolean | undefined;
1087
+ guestinstance?: string | undefined;
1088
+ httpreferrer?: string | undefined;
1089
+ nodeintegration?: boolean | undefined;
1090
+ partition?: string | undefined;
1091
+ plugins?: boolean | undefined;
1092
+ preload?: string | undefined;
1093
+ src?: string | undefined;
1094
+ useragent?: string | undefined;
1095
+ webpreferences?: string | undefined;
1096
+ }
1097
+ declare namespace JSX {
1098
+ type Element = JSXElement;
1099
+ interface ElementChildrenAttribute {
1100
+ children: {};
1101
+ }
1102
+ interface IntrinsicElements {
1103
+ a: AnchorHTMLAttributes;
1104
+ abbr: HTMLAttributes;
1105
+ address: HTMLAttributes;
1106
+ area: AreaHTMLAttributes;
1107
+ article: HTMLAttributes;
1108
+ aside: HTMLAttributes;
1109
+ audio: AudioHTMLAttributes;
1110
+ b: HTMLAttributes;
1111
+ base: BaseHTMLAttributes;
1112
+ bdi: HTMLAttributes;
1113
+ bdo: HTMLAttributes;
1114
+ big: HTMLAttributes;
1115
+ blockquote: BlockquoteHTMLAttributes;
1116
+ body: HTMLAttributes;
1117
+ br: HTMLAttributes;
1118
+ button: ButtonHTMLAttributes;
1119
+ canvas: CanvasHTMLAttributes;
1120
+ caption: HTMLAttributes;
1121
+ center: HTMLAttributes;
1122
+ cite: HTMLAttributes;
1123
+ code: HTMLAttributes;
1124
+ col: ColHTMLAttributes;
1125
+ colgroup: ColgroupHTMLAttributes;
1126
+ data: DataHTMLAttributes;
1127
+ datalist: HTMLAttributes;
1128
+ dd: HTMLAttributes;
1129
+ del: DelHTMLAttributes;
1130
+ details: DetailsHTMLAttributes;
1131
+ dfn: HTMLAttributes;
1132
+ dialog: DialogHTMLAttributes;
1133
+ div: HTMLAttributes;
1134
+ dl: HTMLAttributes;
1135
+ dt: HTMLAttributes;
1136
+ em: HTMLAttributes;
1137
+ embed: EmbedHTMLAttributes;
1138
+ fieldset: FieldsetHTMLAttributes;
1139
+ figcaption: HTMLAttributes;
1140
+ figure: HTMLAttributes;
1141
+ footer: HTMLAttributes;
1142
+ form: FormHTMLAttributes;
1143
+ h1: HTMLAttributes;
1144
+ h2: HTMLAttributes;
1145
+ h3: HTMLAttributes;
1146
+ h4: HTMLAttributes;
1147
+ h5: HTMLAttributes;
1148
+ h6: HTMLAttributes;
1149
+ head: HTMLAttributes;
1150
+ header: HTMLAttributes;
1151
+ hgroup: HTMLAttributes;
1152
+ hr: HTMLAttributes;
1153
+ html: HtmlHTMLAttributes;
1154
+ i: HTMLAttributes;
1155
+ iframe: IframeHTMLAttributes;
1156
+ img: ImgHTMLAttributes;
1157
+ input: InputHTMLAttributes;
1158
+ ins: InsHTMLAttributes;
1159
+ kbd: HTMLAttributes;
1160
+ keygen: KeygenHTMLAttributes;
1161
+ label: LabelHTMLAttributes;
1162
+ legend: HTMLAttributes;
1163
+ li: LiHTMLAttributes;
1164
+ link: LinkHTMLAttributes;
1165
+ main: HTMLAttributes;
1166
+ map: MapHTMLAttributes;
1167
+ mark: HTMLAttributes;
1168
+ menu: MenuHTMLAttributes;
1169
+ menuitem: HTMLAttributes;
1170
+ meta: MetaHTMLAttributes;
1171
+ meter: MeterHTMLAttributes;
1172
+ nav: HTMLAttributes;
1173
+ noindex: HTMLAttributes;
1174
+ noscript: HTMLAttributes;
1175
+ object: ObjectHTMLAttributes;
1176
+ ol: OlHTMLAttributes;
1177
+ optgroup: OptgroupHTMLAttributes;
1178
+ option: OptionHTMLAttributes;
1179
+ output: OutputHTMLAttributes;
1180
+ p: HTMLAttributes;
1181
+ param: ParamHTMLAttributes;
1182
+ picture: HTMLAttributes;
1183
+ pre: HTMLAttributes;
1184
+ progress: ProgressHTMLAttributes;
1185
+ q: QuoteHTMLAttributes;
1186
+ rp: HTMLAttributes;
1187
+ rt: HTMLAttributes;
1188
+ ruby: HTMLAttributes;
1189
+ s: HTMLAttributes;
1190
+ samp: HTMLAttributes;
1191
+ search: HTMLAttributes;
1192
+ slot: SlotHTMLAttributes;
1193
+ script: ScriptHTMLAttributes;
1194
+ section: HTMLAttributes;
1195
+ select: SelectHTMLAttributes;
1196
+ small: HTMLAttributes;
1197
+ source: SourceHTMLAttributes;
1198
+ span: HTMLAttributes;
1199
+ strong: HTMLAttributes;
1200
+ style: StyleHTMLAttributes;
1201
+ sub: HTMLAttributes;
1202
+ summary: HTMLAttributes;
1203
+ sup: HTMLAttributes;
1204
+ table: TableHTMLAttributes;
1205
+ template: HTMLAttributes;
1206
+ tbody: HTMLAttributes;
1207
+ td: TdHTMLAttributes;
1208
+ textarea: TextareaHTMLAttributes;
1209
+ tfoot: HTMLAttributes;
1210
+ th: ThHTMLAttributes;
1211
+ thead: HTMLAttributes;
1212
+ time: TimeHTMLAttributes;
1213
+ title: HTMLAttributes;
1214
+ tr: HTMLAttributes;
1215
+ track: TrackHTMLAttributes;
1216
+ u: HTMLAttributes;
1217
+ ul: HTMLAttributes;
1218
+ var: HTMLAttributes;
1219
+ video: VideoHTMLAttributes;
1220
+ wbr: HTMLAttributes;
1221
+ webview: WebViewHTMLAttributes;
1222
+ svg: SVGAttributes;
1223
+ animate: SVGAttributes;
1224
+ animateMotion: SVGAttributes;
1225
+ animateTransform: SVGAttributes;
1226
+ circle: SVGAttributes;
1227
+ clipPath: SVGAttributes;
1228
+ defs: SVGAttributes;
1229
+ desc: SVGAttributes;
1230
+ ellipse: SVGAttributes;
1231
+ feBlend: SVGAttributes;
1232
+ feColorMatrix: SVGAttributes;
1233
+ feComponentTransfer: SVGAttributes;
1234
+ feComposite: SVGAttributes;
1235
+ feConvolveMatrix: SVGAttributes;
1236
+ feDiffuseLighting: SVGAttributes;
1237
+ feDisplacementMap: SVGAttributes;
1238
+ feDistantLight: SVGAttributes;
1239
+ feDropShadow: SVGAttributes;
1240
+ feFlood: SVGAttributes;
1241
+ feFuncA: SVGAttributes;
1242
+ feFuncB: SVGAttributes;
1243
+ feFuncG: SVGAttributes;
1244
+ feFuncR: SVGAttributes;
1245
+ feGaussianBlur: SVGAttributes;
1246
+ feImage: SVGAttributes;
1247
+ feMerge: SVGAttributes;
1248
+ feMergeNode: SVGAttributes;
1249
+ feMorphology: SVGAttributes;
1250
+ feOffset: SVGAttributes;
1251
+ fePointLight: SVGAttributes;
1252
+ feSpecularLighting: SVGAttributes;
1253
+ feSpotLight: SVGAttributes;
1254
+ feTile: SVGAttributes;
1255
+ feTurbulence: SVGAttributes;
1256
+ filter: SVGAttributes;
1257
+ foreignObject: SVGAttributes;
1258
+ g: SVGAttributes;
1259
+ image: SVGAttributes;
1260
+ line: SVGAttributes;
1261
+ linearGradient: SVGAttributes;
1262
+ marker: SVGAttributes;
1263
+ mask: SVGAttributes;
1264
+ metadata: SVGAttributes;
1265
+ mpath: SVGAttributes;
1266
+ path: SVGAttributes;
1267
+ pattern: SVGAttributes;
1268
+ polygon: SVGAttributes;
1269
+ polyline: SVGAttributes;
1270
+ radialGradient: SVGAttributes;
1271
+ rect: SVGAttributes;
1272
+ set: SVGAttributes;
1273
+ stop: SVGAttributes;
1274
+ switch: SVGAttributes;
1275
+ symbol: SVGAttributes;
1276
+ text: SVGAttributes;
1277
+ textPath: SVGAttributes;
1278
+ tspan: SVGAttributes;
1279
+ use: SVGAttributes;
1280
+ view: SVGAttributes;
1281
+ }
1282
+ }
1283
+ //#endregion
1284
+ //#region src/jsx-runtime.d.ts
1285
+ /**
1286
+ * creates a JSX element
1287
+ * @param type element tag name or component function
1288
+ * @param props element properties including children
1289
+ * @returns JSX element
1290
+ */
1291
+ declare function jsx<P, T extends string | Component<any>>(type: T, props: P): JSXElement<P, T>;
1292
+ /**
1293
+ * creates a JSX element
1294
+ * @param type element tag name or component function
1295
+ * @param props element properties including children
1296
+ * @returns JSX element
1297
+ */
1298
+ declare const jsxs: typeof jsx;
1299
+ /**
1300
+ * creates a JSX element
1301
+ * @param type element tag name or component function
1302
+ * @param props element properties including children
1303
+ * @returns JSX element
1304
+ */
1305
+ declare const jsxDEV: typeof jsx;
1306
+ declare function Fragment(props: {
1307
+ children?: JSXNode;
1308
+ }): JSXNode;
1309
+ //#endregion
1310
+ export { JSX as a, JSXElement as c, jsxs as i, JSXNode as l, jsx as n, Component as o, jsxDEV as r, FC as s, Fragment as t };
1311
+ //# sourceMappingURL=jsx-runtime-BQHdv_66.d.mts.map