@fluixi/dom 1.0.0-alpha.61 → 1.0.0-alpha.63

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,1234 @@
1
+ /**
2
+ * DOM element attribute types — the props every element accepts, independent of
3
+ * how it was authored. `@fluixi/jsx` re-exports these into the `JSX` namespace
4
+ * for JSX consumers; html`` tooling reads them from here directly.
5
+ *
6
+ * These describe the DOM, not JSX syntax, so they must not live behind a
7
+ * JSX-specific entry point: the framework supports both authoring modes and an
8
+ * html``-only app should never need @fluixi/jsx installed.
9
+ */
10
+ import type { Accessor } from '@fluixi/reactive/signal';
11
+ import type { ComponentChild } from '../shared/types.js';
12
+ /**
13
+ * A prop value that may be a static value or a reactive accessor. The automatic JSX runtime
14
+ * applies a function-valued prop as a reactive render effect, so any attribute typed with this
15
+ * accepts `() => value` without a cast.
16
+ *
17
+ * The accessor may return `undefined` to omit the attribute reactively — `setAttribute`
18
+ * removes the attr on `undefined`/`null`/`false` — so `() => (cond ? 'true' : undefined)`
19
+ * type-checks without a cast.
20
+ */
21
+ export type Reactive<T> = T | undefined | Accessor<T | undefined>;
22
+ export type RefCallback<T> = {
23
+ bivarianceHack(el: T): void;
24
+ }['bivarianceHack'];
25
+ export type HTMLDir = 'ltr' | 'rtl' | 'auto';
26
+ export type HTMLAutocapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
27
+ export type HTMLInputMode = 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
28
+ export type HTMLFormEncType = 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain';
29
+ export type HTMLFormMethod = 'get' | 'post' | 'dialog';
30
+ export type HTMLCrossOrigin = 'anonymous' | 'use-credentials' | '';
31
+ export type HTMLReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
32
+ /**
33
+ * A `style` object: known camelCase CSS properties (autocompleted from the DOM
34
+ * `CSSStyleDeclaration`) plus custom `--*` properties. Values may be strings or
35
+ * numbers.
36
+ *
37
+ * Selecting the string-valued members keeps the properties and drops
38
+ * `CSSStyleDeclaration`'s methods, `length` and numeric index. There is
39
+ * deliberately no open `[key: string]` fallback — it would make every misspelled
40
+ * property type-check, and `--*` already covers custom properties. For a property
41
+ * newer than the TypeScript lib, set it as a custom property or widen at the call
42
+ * site.
43
+ */
44
+ export type CSSProperties = {
45
+ [K in keyof CSSStyleDeclaration as CSSStyleDeclaration[K] extends string ? K extends string ? K : never : never]?: string | number;
46
+ } & {
47
+ [key: `--${string}`]: string | number;
48
+ };
49
+ export interface AriaAttributes {
50
+ 'aria-activedescendant'?: Reactive<string>;
51
+ 'aria-atomic'?: Reactive<boolean | 'true' | 'false'>;
52
+ 'aria-autocomplete'?: Reactive<'none' | 'inline' | 'list' | 'both'>;
53
+ 'aria-braillelabel'?: Reactive<string>;
54
+ 'aria-brailleroledescription'?: Reactive<string>;
55
+ 'aria-busy'?: Reactive<boolean | 'true' | 'false'>;
56
+ 'aria-checked'?: Reactive<boolean | 'true' | 'false' | 'mixed'>;
57
+ 'aria-colcount'?: Reactive<number>;
58
+ 'aria-colindex'?: Reactive<number>;
59
+ 'aria-colindextext'?: Reactive<string>;
60
+ 'aria-colspan'?: Reactive<number>;
61
+ 'aria-controls'?: Reactive<string>;
62
+ 'aria-current'?: Reactive<boolean | 'true' | 'false' | 'page' | 'step' | 'location' | 'date' | 'time'>;
63
+ 'aria-describedby'?: Reactive<string>;
64
+ 'aria-description'?: Reactive<string>;
65
+ 'aria-details'?: Reactive<string>;
66
+ 'aria-disabled'?: Reactive<boolean | 'true' | 'false'>;
67
+ /** @deprecated */
68
+ 'aria-dropeffect'?: Reactive<'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup'>;
69
+ 'aria-errormessage'?: Reactive<string>;
70
+ 'aria-expanded'?: Reactive<boolean | 'true' | 'false'>;
71
+ 'aria-flowto'?: Reactive<string>;
72
+ /** @deprecated */
73
+ 'aria-grabbed'?: Reactive<boolean | 'true' | 'false'>;
74
+ 'aria-haspopup'?: Reactive<boolean | 'true' | 'false' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'>;
75
+ 'aria-hidden'?: Reactive<boolean | 'true' | 'false'>;
76
+ 'aria-invalid'?: Reactive<boolean | 'true' | 'false' | 'grammar' | 'spelling'>;
77
+ 'aria-keyshortcuts'?: Reactive<string>;
78
+ 'aria-label'?: Reactive<string>;
79
+ 'aria-labelledby'?: Reactive<string>;
80
+ 'aria-level'?: Reactive<number>;
81
+ 'aria-live'?: Reactive<'off' | 'assertive' | 'polite'>;
82
+ 'aria-modal'?: Reactive<boolean | 'true' | 'false'>;
83
+ 'aria-multiline'?: Reactive<boolean | 'true' | 'false'>;
84
+ 'aria-multiselectable'?: Reactive<boolean | 'true' | 'false'>;
85
+ 'aria-orientation'?: Reactive<'horizontal' | 'vertical'>;
86
+ 'aria-owns'?: Reactive<string>;
87
+ 'aria-placeholder'?: Reactive<string>;
88
+ 'aria-posinset'?: Reactive<number>;
89
+ 'aria-pressed'?: Reactive<boolean | 'true' | 'false' | 'mixed'>;
90
+ 'aria-readonly'?: Reactive<boolean | 'true' | 'false'>;
91
+ 'aria-relevant'?: Reactive<'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals'>;
92
+ 'aria-required'?: Reactive<boolean | 'true' | 'false'>;
93
+ 'aria-roledescription'?: Reactive<string>;
94
+ 'aria-rowcount'?: Reactive<number>;
95
+ 'aria-rowindex'?: Reactive<number>;
96
+ 'aria-rowindextext'?: Reactive<string>;
97
+ 'aria-rowspan'?: Reactive<number>;
98
+ 'aria-selected'?: Reactive<boolean | 'true' | 'false'>;
99
+ 'aria-setsize'?: Reactive<number>;
100
+ 'aria-sort'?: Reactive<'none' | 'ascending' | 'descending' | 'other'>;
101
+ 'aria-valuemax'?: Reactive<number>;
102
+ 'aria-valuemin'?: Reactive<number>;
103
+ 'aria-valuenow'?: Reactive<number>;
104
+ 'aria-valuetext'?: Reactive<string>;
105
+ role?: Reactive<string>;
106
+ }
107
+ export interface DOMAttributes<T = Element> extends AriaAttributes {
108
+ onCopy?: (event: ClipboardEvent) => void;
109
+ onCut?: (event: ClipboardEvent) => void;
110
+ onPaste?: (event: ClipboardEvent) => void;
111
+ onCompositionEnd?: (event: CompositionEvent) => void;
112
+ onCompositionStart?: (event: CompositionEvent) => void;
113
+ onCompositionUpdate?: (event: CompositionEvent) => void;
114
+ onFocus?: (event: FocusEvent) => void;
115
+ onFocusIn?: (event: FocusEvent) => void;
116
+ onFocusOut?: (event: FocusEvent) => void;
117
+ onBlur?: (event: FocusEvent) => void;
118
+ onChange?: (event: InputEvent) => void;
119
+ onInput?: (event: InputEvent) => void;
120
+ onBeforeInput?: (event: InputEvent) => void;
121
+ onReset?: (event: Event) => void;
122
+ onSubmit?: (event: SubmitEvent) => void;
123
+ onInvalid?: (event: Event) => void;
124
+ onFormData?: (event: FormDataEvent) => void;
125
+ onLoad?: (event: Event) => void;
126
+ onError?: (event: Event) => void;
127
+ onKeyDown?: (event: KeyboardEvent) => void;
128
+ /** @deprecated */
129
+ onKeyPress?: (event: KeyboardEvent) => void;
130
+ onKeyUp?: (event: KeyboardEvent) => void;
131
+ onAbort?: (event: Event) => void;
132
+ onCanPlay?: (event: Event) => void;
133
+ onCanPlayThrough?: (event: Event) => void;
134
+ onDurationChange?: (event: Event) => void;
135
+ onEmptied?: (event: Event) => void;
136
+ onEncrypted?: (event: Event) => void;
137
+ onEnded?: (event: Event) => void;
138
+ onLoadedData?: (event: Event) => void;
139
+ onLoadedMetadata?: (event: Event) => void;
140
+ onLoadStart?: (event: Event) => void;
141
+ onPause?: (event: Event) => void;
142
+ onPlay?: (event: Event) => void;
143
+ onPlaying?: (event: Event) => void;
144
+ onProgress?: (event: Event) => void;
145
+ onRateChange?: (event: Event) => void;
146
+ onSeeked?: (event: Event) => void;
147
+ onSeeking?: (event: Event) => void;
148
+ onStalled?: (event: Event) => void;
149
+ onSuspend?: (event: Event) => void;
150
+ onTimeUpdate?: (event: Event) => void;
151
+ onVolumeChange?: (event: Event) => void;
152
+ onWaiting?: (event: Event) => void;
153
+ onCueChange?: (event: Event) => void;
154
+ onClick?: (event: MouseEvent) => void;
155
+ onAuxClick?: (event: MouseEvent) => void;
156
+ onContextMenu?: (event: MouseEvent) => void;
157
+ onDblClick?: (event: MouseEvent) => void;
158
+ /** @deprecated use onDblClick */
159
+ onDoubleClick?: (event: MouseEvent) => void;
160
+ onDrag?: (event: DragEvent) => void;
161
+ onDragEnd?: (event: DragEvent) => void;
162
+ onDragEnter?: (event: DragEvent) => void;
163
+ onDragExit?: (event: DragEvent) => void;
164
+ onDragLeave?: (event: DragEvent) => void;
165
+ onDragOver?: (event: DragEvent) => void;
166
+ onDragStart?: (event: DragEvent) => void;
167
+ onDrop?: (event: DragEvent) => void;
168
+ onMouseDown?: (event: MouseEvent) => void;
169
+ onMouseEnter?: (event: MouseEvent) => void;
170
+ onMouseLeave?: (event: MouseEvent) => void;
171
+ onMouseMove?: (event: MouseEvent) => void;
172
+ onMouseOut?: (event: MouseEvent) => void;
173
+ onMouseOver?: (event: MouseEvent) => void;
174
+ onMouseUp?: (event: MouseEvent) => void;
175
+ onPointerDown?: (event: PointerEvent) => void;
176
+ onPointerMove?: (event: PointerEvent) => void;
177
+ onPointerUp?: (event: PointerEvent) => void;
178
+ onPointerCancel?: (event: PointerEvent) => void;
179
+ onPointerEnter?: (event: PointerEvent) => void;
180
+ onPointerLeave?: (event: PointerEvent) => void;
181
+ onPointerOver?: (event: PointerEvent) => void;
182
+ onPointerOut?: (event: PointerEvent) => void;
183
+ onGotPointerCapture?: (event: PointerEvent) => void;
184
+ onLostPointerCapture?: (event: PointerEvent) => void;
185
+ onSelect?: (event: Event) => void;
186
+ onSelectionChange?: (event: Event) => void;
187
+ onSelectStart?: (event: Event) => void;
188
+ onTouchCancel?: (event: TouchEvent) => void;
189
+ onTouchEnd?: (event: TouchEvent) => void;
190
+ onTouchMove?: (event: TouchEvent) => void;
191
+ onTouchStart?: (event: TouchEvent) => void;
192
+ onScroll?: (event: UIEvent) => void;
193
+ onScrollEnd?: (event: Event) => void;
194
+ onResize?: (event: UIEvent) => void;
195
+ onWheel?: (event: WheelEvent) => void;
196
+ onAnimationStart?: (event: AnimationEvent) => void;
197
+ onAnimationEnd?: (event: AnimationEvent) => void;
198
+ onAnimationIteration?: (event: AnimationEvent) => void;
199
+ onAnimationCancel?: (event: AnimationEvent) => void;
200
+ onTransitionStart?: (event: TransitionEvent) => void;
201
+ onTransitionRun?: (event: TransitionEvent) => void;
202
+ onTransitionEnd?: (event: TransitionEvent) => void;
203
+ onTransitionCancel?: (event: TransitionEvent) => void;
204
+ onToggle?: (event: Event) => void;
205
+ onBeforeToggle?: (event: Event) => void;
206
+ onFullscreenChange?: (event: Event) => void;
207
+ onFullscreenError?: (event: Event) => void;
208
+ onSlotChange?: (event: Event) => void;
209
+ onSecurityPolicyViolation?: (event: SecurityPolicyViolationEvent) => void;
210
+ onClose?: (event: Event) => void;
211
+ onCancel?: (event: Event) => void;
212
+ onContextLost?: (event: Event) => void;
213
+ onContextRestored?: (event: Event) => void;
214
+ [key: `on${string}`]: ((event: any) => void) | undefined;
215
+ }
216
+ export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
217
+ accessKey?: string;
218
+ accesskey?: string;
219
+ autocapitalize?: HTMLAutocapitalize;
220
+ autoCapitalize?: HTMLAutocapitalize;
221
+ autocorrect?: 'on' | 'off';
222
+ class?: string | Record<string, boolean> | Accessor<string>;
223
+ className?: string | Record<string, boolean> | Accessor<string>;
224
+ classList?: Record<string, boolean>;
225
+ contentEditable?: boolean | 'true' | 'false' | 'inherit' | 'plaintext-only';
226
+ contenteditable?: boolean | 'true' | 'false' | 'inherit' | 'plaintext-only';
227
+ dir?: HTMLDir;
228
+ draggable?: boolean | 'true' | 'false';
229
+ elementtiming?: string;
230
+ enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
231
+ /** @deprecated */
232
+ exportparts?: string;
233
+ exportParts?: string;
234
+ hidden?: Reactive<boolean>;
235
+ id?: string | Accessor<string>;
236
+ inert?: boolean;
237
+ inputmode?: HTMLInputMode;
238
+ inputMode?: HTMLInputMode;
239
+ is?: string;
240
+ lang?: string;
241
+ nonce?: string;
242
+ part?: string;
243
+ popover?: boolean | 'manual' | 'auto';
244
+ slot?: string;
245
+ spellCheck?: boolean;
246
+ spellcheck?: boolean;
247
+ style?: string | CSSProperties | Accessor<string | CSSProperties>;
248
+ tabIndex?: Reactive<number>;
249
+ tabindex?: Reactive<number>;
250
+ title?: string | Accessor<string>;
251
+ translate?: 'yes' | 'no';
252
+ itemid?: string;
253
+ itemId?: string;
254
+ itemprop?: string;
255
+ itemProp?: string;
256
+ itemref?: string;
257
+ itemRef?: string;
258
+ itemscope?: boolean;
259
+ itemScope?: boolean;
260
+ itemtype?: string;
261
+ itemType?: string;
262
+ about?: string;
263
+ datatype?: string;
264
+ inlist?: any;
265
+ prefix?: string;
266
+ property?: string;
267
+ resource?: string;
268
+ typeof?: string;
269
+ vocab?: string;
270
+ [key: `.${string}`]: any;
271
+ [key: `?${string}`]: boolean;
272
+ [key: `@${string}`]: EventListener;
273
+ [key: `use:${string}`]: any;
274
+ [key: `oncapture:${string}`]: (event: any) => void;
275
+ [key: `prop:${string}`]: Reactive<any>;
276
+ [key: `attr:${string}`]: Reactive<string | number | boolean | undefined>;
277
+ [key: `bool:${string}`]: Reactive<boolean | undefined>;
278
+ [key: `data-${string}`]: string | number | boolean | undefined;
279
+ ref?: RefCallback<T> | {
280
+ current: T | null;
281
+ } | {
282
+ current: HTMLElement | null;
283
+ };
284
+ key?: string | number;
285
+ children?: ComponentChild;
286
+ innerHTML?: string | (() => string);
287
+ textContent?: string | number;
288
+ }
289
+ export interface AnchorHTMLAttributes<T = HTMLAnchorElement> extends HTMLAttributes<T> {
290
+ download?: any;
291
+ href?: string | Accessor<string>;
292
+ hrefLang?: string;
293
+ hreflang?: string;
294
+ media?: string;
295
+ ping?: string;
296
+ rel?: string;
297
+ target?: '_self' | '_blank' | '_parent' | '_top' | (string & {});
298
+ type?: string;
299
+ referrerPolicy?: HTMLReferrerPolicy;
300
+ referrerpolicy?: HTMLReferrerPolicy;
301
+ }
302
+ export interface AreaHTMLAttributes<T = HTMLAreaElement> extends HTMLAttributes<T> {
303
+ alt?: string;
304
+ coords?: string;
305
+ download?: any;
306
+ href?: string;
307
+ hrefLang?: string;
308
+ hreflang?: string;
309
+ ping?: string;
310
+ referrerpolicy?: HTMLReferrerPolicy;
311
+ referrerPolicy?: HTMLReferrerPolicy;
312
+ rel?: string;
313
+ shape?: string;
314
+ target?: string;
315
+ }
316
+ export interface BaseHTMLAttributes<T = HTMLBaseElement> extends HTMLAttributes<T> {
317
+ href?: string;
318
+ target?: string;
319
+ }
320
+ export interface BlockquoteHTMLAttributes<T = HTMLQuoteElement> extends HTMLAttributes<T> {
321
+ cite?: string;
322
+ }
323
+ export interface ButtonHTMLAttributes<T = HTMLButtonElement> extends HTMLAttributes<T> {
324
+ autofocus?: boolean;
325
+ autoFocus?: boolean;
326
+ command?: string;
327
+ commandfor?: string;
328
+ commandFor?: string;
329
+ disabled?: boolean | Accessor<boolean>;
330
+ form?: string;
331
+ formAction?: string;
332
+ formaction?: string;
333
+ formEncType?: HTMLFormEncType;
334
+ formenctype?: HTMLFormEncType;
335
+ formMethod?: HTMLFormMethod;
336
+ formmethod?: HTMLFormMethod;
337
+ formNoValidate?: boolean;
338
+ formnovalidate?: boolean;
339
+ formTarget?: string;
340
+ formtarget?: string;
341
+ name?: string;
342
+ popoverTarget?: string;
343
+ popovertarget?: string;
344
+ popoverTargetAction?: 'hide' | 'show' | 'toggle';
345
+ popovertargetaction?: 'hide' | 'show' | 'toggle';
346
+ type?: 'submit' | 'reset' | 'button';
347
+ value?: string | ReadonlyArray<string> | number;
348
+ }
349
+ export interface CanvasHTMLAttributes<T = HTMLCanvasElement> extends HTMLAttributes<T> {
350
+ height?: number | string;
351
+ width?: number | string;
352
+ }
353
+ export interface ColHTMLAttributes<T = HTMLTableColElement> extends HTMLAttributes<T> {
354
+ span?: number;
355
+ width?: number | string;
356
+ }
357
+ export interface ColgroupHTMLAttributes<T = HTMLTableColElement> extends HTMLAttributes<T> {
358
+ span?: number;
359
+ }
360
+ export interface DataHTMLAttributes<T = HTMLDataElement> extends HTMLAttributes<T> {
361
+ value?: string | ReadonlyArray<string> | number;
362
+ }
363
+ export interface DetailsHTMLAttributes<T = HTMLDetailsElement> extends HTMLAttributes<T> {
364
+ name?: string;
365
+ open?: boolean;
366
+ onToggle?: (event: Event) => void;
367
+ }
368
+ export interface DialogHTMLAttributes<T = HTMLDialogElement> extends HTMLAttributes<T> {
369
+ open?: boolean;
370
+ onClose?: (event: Event) => void;
371
+ onCancel?: (event: Event) => void;
372
+ }
373
+ export interface EmbedHTMLAttributes<T = HTMLEmbedElement> extends HTMLAttributes<T> {
374
+ height?: number | string;
375
+ src?: string;
376
+ type?: string;
377
+ width?: number | string;
378
+ }
379
+ export interface FieldsetHTMLAttributes<T = HTMLFieldSetElement> extends HTMLAttributes<T> {
380
+ disabled?: boolean;
381
+ form?: string;
382
+ name?: string;
383
+ }
384
+ export interface FormHTMLAttributes<T = HTMLFormElement> extends HTMLAttributes<T> {
385
+ accept?: string;
386
+ 'accept-charset'?: string;
387
+ acceptCharset?: string;
388
+ action?: string;
389
+ autoComplete?: string;
390
+ autocomplete?: string;
391
+ encType?: HTMLFormEncType;
392
+ enctype?: HTMLFormEncType;
393
+ encoding?: HTMLFormEncType;
394
+ method?: HTMLFormMethod;
395
+ name?: string;
396
+ noValidate?: boolean;
397
+ novalidate?: boolean;
398
+ rel?: string;
399
+ target?: string;
400
+ }
401
+ export interface IframeHTMLAttributes<T = HTMLIFrameElement> extends HTMLAttributes<T> {
402
+ allow?: string;
403
+ allowFullScreen?: boolean;
404
+ allowfullscreen?: boolean;
405
+ allowTransparency?: boolean;
406
+ /** @deprecated */
407
+ frameBorder?: number | string;
408
+ height?: number | string;
409
+ loading?: 'eager' | 'lazy';
410
+ /** @deprecated */
411
+ marginHeight?: number;
412
+ /** @deprecated */
413
+ marginWidth?: number;
414
+ name?: string;
415
+ referrerPolicy?: HTMLReferrerPolicy;
416
+ referrerpolicy?: HTMLReferrerPolicy;
417
+ sandbox?: string;
418
+ /** @deprecated */
419
+ scrolling?: string;
420
+ /** @deprecated */
421
+ seamless?: boolean;
422
+ src?: string;
423
+ srcDoc?: string;
424
+ srcdoc?: string;
425
+ width?: number | string;
426
+ }
427
+ export interface ImgHTMLAttributes<T = HTMLImageElement> extends HTMLAttributes<T> {
428
+ alt?: string;
429
+ crossOrigin?: HTMLCrossOrigin;
430
+ crossorigin?: HTMLCrossOrigin;
431
+ decoding?: 'async' | 'auto' | 'sync';
432
+ fetchpriority?: 'high' | 'low' | 'auto';
433
+ height?: number | string;
434
+ isMap?: boolean;
435
+ ismap?: boolean;
436
+ loading?: 'eager' | 'lazy';
437
+ referrerPolicy?: HTMLReferrerPolicy;
438
+ referrerpolicy?: HTMLReferrerPolicy;
439
+ sizes?: string;
440
+ src?: string | Accessor<string>;
441
+ srcSet?: string;
442
+ srcset?: string;
443
+ useMap?: string;
444
+ usemap?: string;
445
+ width?: number | string;
446
+ }
447
+ export interface InputHTMLAttributes<T = HTMLInputElement> extends HTMLAttributes<T> {
448
+ accept?: string;
449
+ alt?: string;
450
+ autoComplete?: string;
451
+ autocomplete?: string;
452
+ autoFocus?: boolean;
453
+ autofocus?: boolean;
454
+ capture?: boolean | 'user' | 'environment';
455
+ checked?: boolean | Accessor<boolean>;
456
+ crossOrigin?: HTMLCrossOrigin;
457
+ crossorigin?: HTMLCrossOrigin;
458
+ dirName?: string;
459
+ dirname?: string;
460
+ disabled?: boolean | Accessor<boolean>;
461
+ form?: string;
462
+ formAction?: string;
463
+ formaction?: string;
464
+ formEncType?: HTMLFormEncType;
465
+ formenctype?: HTMLFormEncType;
466
+ formMethod?: HTMLFormMethod;
467
+ formmethod?: HTMLFormMethod;
468
+ formNoValidate?: boolean;
469
+ formnovalidate?: boolean;
470
+ formTarget?: string;
471
+ formtarget?: string;
472
+ height?: number | string;
473
+ incremental?: boolean;
474
+ list?: string;
475
+ max?: Reactive<number | string>;
476
+ maxLength?: Reactive<number>;
477
+ maxlength?: Reactive<number>;
478
+ min?: Reactive<number | string>;
479
+ minLength?: Reactive<number>;
480
+ minlength?: Reactive<number>;
481
+ multiple?: Reactive<boolean>;
482
+ name?: string;
483
+ pattern?: Reactive<string>;
484
+ placeholder?: string | Accessor<string>;
485
+ popoverTarget?: string;
486
+ popovertarget?: string;
487
+ popoverTargetAction?: 'hide' | 'show' | 'toggle';
488
+ popovertargetaction?: 'hide' | 'show' | 'toggle';
489
+ readOnly?: Reactive<boolean>;
490
+ readonly?: Reactive<boolean>;
491
+ required?: Reactive<boolean>;
492
+ results?: number;
493
+ size?: Reactive<number>;
494
+ src?: string;
495
+ step?: Reactive<number | string>;
496
+ indeterminate?: boolean | Accessor<boolean>;
497
+ type?: 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | (string & {});
498
+ useMap?: string;
499
+ usemap?: string;
500
+ value?: string | number | ReadonlyArray<string> | Accessor<string | number>;
501
+ width?: number | string;
502
+ }
503
+ export interface KeygenHTMLAttributes<T = HTMLElement> extends HTMLAttributes<T> {
504
+ /** @deprecated */
505
+ autofocus?: boolean;
506
+ /** @deprecated */
507
+ challenge?: string;
508
+ /** @deprecated */
509
+ disabled?: boolean;
510
+ /** @deprecated */
511
+ form?: string;
512
+ /** @deprecated */
513
+ keytype?: string;
514
+ /** @deprecated */
515
+ keyparams?: string;
516
+ /** @deprecated */
517
+ name?: string;
518
+ }
519
+ export interface LabelHTMLAttributes<T = HTMLLabelElement> extends HTMLAttributes<T> {
520
+ for?: string;
521
+ htmlFor?: string;
522
+ form?: string;
523
+ }
524
+ export interface LiHTMLAttributes<T = HTMLLIElement> extends HTMLAttributes<T> {
525
+ value?: number | string;
526
+ }
527
+ export interface LinkHTMLAttributes<T = HTMLLinkElement> extends HTMLAttributes<T> {
528
+ as?: string;
529
+ crossOrigin?: HTMLCrossOrigin;
530
+ crossorigin?: HTMLCrossOrigin;
531
+ disabled?: boolean;
532
+ fetchpriority?: 'high' | 'low' | 'auto';
533
+ href?: string;
534
+ hrefLang?: string;
535
+ hreflang?: string;
536
+ imageSizes?: string;
537
+ imageSrcSet?: string;
538
+ integrity?: string;
539
+ media?: string;
540
+ referrerPolicy?: HTMLReferrerPolicy;
541
+ referrerpolicy?: HTMLReferrerPolicy;
542
+ rel?: string;
543
+ sizes?: string;
544
+ type?: string;
545
+ }
546
+ export interface MapHTMLAttributes<T = HTMLMapElement> extends HTMLAttributes<T> {
547
+ name?: string;
548
+ }
549
+ export interface MediaHTMLAttributes<T = HTMLMediaElement> extends HTMLAttributes<T> {
550
+ autoPlay?: boolean;
551
+ autoplay?: boolean;
552
+ controls?: boolean;
553
+ controlsList?: string;
554
+ crossOrigin?: HTMLCrossOrigin;
555
+ crossorigin?: HTMLCrossOrigin;
556
+ loop?: boolean;
557
+ mediaGroup?: string;
558
+ muted?: boolean;
559
+ playsInline?: boolean;
560
+ playsinline?: boolean;
561
+ preload?: 'none' | 'metadata' | 'auto' | '';
562
+ src?: string;
563
+ }
564
+ export interface MetaHTMLAttributes<T = HTMLMetaElement> extends HTMLAttributes<T> {
565
+ charSet?: string;
566
+ charset?: string;
567
+ content?: string;
568
+ httpEquiv?: string;
569
+ 'http-equiv'?: string;
570
+ media?: string;
571
+ name?: string;
572
+ }
573
+ export interface MeterHTMLAttributes<T = HTMLMeterElement> extends HTMLAttributes<T> {
574
+ form?: string;
575
+ high?: number;
576
+ low?: number;
577
+ max?: number | string;
578
+ min?: number | string;
579
+ optimum?: number;
580
+ value?: string | ReadonlyArray<string> | number;
581
+ }
582
+ export interface ModHTMLAttributes<T = HTMLModElement> extends HTMLAttributes<T> {
583
+ cite?: string;
584
+ dateTime?: string;
585
+ datetime?: string;
586
+ }
587
+ export interface ObjectHTMLAttributes<T = HTMLObjectElement> extends HTMLAttributes<T> {
588
+ classID?: string;
589
+ data?: string;
590
+ form?: string;
591
+ height?: number | string;
592
+ name?: string;
593
+ type?: string;
594
+ useMap?: string;
595
+ usemap?: string;
596
+ width?: number | string;
597
+ wmode?: string;
598
+ }
599
+ export interface OlHTMLAttributes<T = HTMLOListElement> extends HTMLAttributes<T> {
600
+ reversed?: boolean;
601
+ start?: number;
602
+ type?: '1' | 'a' | 'A' | 'i' | 'I';
603
+ }
604
+ export interface OptgroupHTMLAttributes<T = HTMLOptGroupElement> extends HTMLAttributes<T> {
605
+ disabled?: boolean;
606
+ label?: string;
607
+ }
608
+ export interface OptionHTMLAttributes<T = HTMLOptionElement> extends HTMLAttributes<T> {
609
+ disabled?: boolean;
610
+ label?: string;
611
+ selected?: boolean;
612
+ value?: string | ReadonlyArray<string> | number;
613
+ }
614
+ export interface OutputHTMLAttributes<T = HTMLOutputElement> extends HTMLAttributes<T> {
615
+ for?: string;
616
+ htmlFor?: string;
617
+ form?: string;
618
+ name?: string;
619
+ }
620
+ export interface ParamHTMLAttributes<T = HTMLParamElement> extends HTMLAttributes<T> {
621
+ /** @deprecated */
622
+ name?: string;
623
+ /** @deprecated */
624
+ value?: string | ReadonlyArray<string> | number;
625
+ }
626
+ export interface ProgressHTMLAttributes<T = HTMLProgressElement> extends HTMLAttributes<T> {
627
+ max?: number | string;
628
+ value?: string | ReadonlyArray<string> | number;
629
+ }
630
+ export interface ScriptHTMLAttributes<T = HTMLScriptElement> extends HTMLAttributes<T> {
631
+ async?: boolean;
632
+ /** @deprecated */
633
+ charSet?: string;
634
+ crossOrigin?: HTMLCrossOrigin;
635
+ crossorigin?: HTMLCrossOrigin;
636
+ defer?: boolean;
637
+ fetchpriority?: 'high' | 'low' | 'auto';
638
+ integrity?: string;
639
+ noModule?: boolean;
640
+ nomodule?: boolean;
641
+ nonce?: string;
642
+ referrerPolicy?: HTMLReferrerPolicy;
643
+ referrerpolicy?: HTMLReferrerPolicy;
644
+ src?: string;
645
+ type?: string;
646
+ }
647
+ export interface SelectHTMLAttributes<T = HTMLSelectElement> extends HTMLAttributes<T> {
648
+ autoComplete?: string;
649
+ autocomplete?: string;
650
+ autoFocus?: boolean;
651
+ autofocus?: boolean;
652
+ disabled?: boolean | Accessor<boolean>;
653
+ form?: string;
654
+ multiple?: Reactive<boolean>;
655
+ name?: string;
656
+ required?: Reactive<boolean>;
657
+ size?: Reactive<number>;
658
+ value?: string | ReadonlyArray<string> | number | Accessor<string | number>;
659
+ }
660
+ export interface SlotHTMLAttributes<T = HTMLSlotElement> extends HTMLAttributes<T> {
661
+ name?: string;
662
+ onSlotChange?: (event: Event) => void;
663
+ }
664
+ export interface SourceHTMLAttributes<T = HTMLSourceElement> extends HTMLAttributes<T> {
665
+ height?: number;
666
+ media?: string;
667
+ sizes?: string;
668
+ src?: string;
669
+ srcSet?: string;
670
+ srcset?: string;
671
+ type?: string;
672
+ width?: number;
673
+ }
674
+ export interface StyleHTMLAttributes<T = HTMLStyleElement> extends HTMLAttributes<T> {
675
+ media?: string;
676
+ nonce?: string;
677
+ scoped?: boolean;
678
+ type?: string;
679
+ }
680
+ export interface TableHTMLAttributes<T = HTMLTableElement> extends HTMLAttributes<T> {
681
+ align?: 'left' | 'center' | 'right';
682
+ /** @deprecated */
683
+ bgcolor?: string;
684
+ /** @deprecated */
685
+ border?: number;
686
+ cellPadding?: number | string;
687
+ cellpadding?: number | string;
688
+ cellSpacing?: number | string;
689
+ cellspacing?: number | string;
690
+ summary?: string;
691
+ width?: number | string;
692
+ }
693
+ export interface TdHTMLAttributes<T = HTMLTableDataCellElement> extends HTMLAttributes<T> {
694
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char';
695
+ colSpan?: number;
696
+ colspan?: number;
697
+ headers?: string;
698
+ rowSpan?: number;
699
+ rowspan?: number;
700
+ scope?: string;
701
+ abbr?: string;
702
+ height?: number | string;
703
+ width?: number | string;
704
+ valign?: 'top' | 'middle' | 'bottom' | 'baseline';
705
+ }
706
+ export interface TextareaHTMLAttributes<T = HTMLTextAreaElement> extends HTMLAttributes<T> {
707
+ autoComplete?: string;
708
+ autocomplete?: string;
709
+ autoFocus?: boolean;
710
+ autofocus?: boolean;
711
+ cols?: number;
712
+ dirName?: string;
713
+ dirname?: string;
714
+ disabled?: boolean | Accessor<boolean>;
715
+ form?: string;
716
+ maxLength?: Reactive<number>;
717
+ maxlength?: Reactive<number>;
718
+ minLength?: Reactive<number>;
719
+ minlength?: Reactive<number>;
720
+ name?: string;
721
+ placeholder?: string | Accessor<string>;
722
+ readOnly?: Reactive<boolean>;
723
+ readonly?: Reactive<boolean>;
724
+ required?: Reactive<boolean>;
725
+ rows?: number;
726
+ value?: string | ReadonlyArray<string> | Accessor<string>;
727
+ wrap?: 'hard' | 'soft' | 'off';
728
+ }
729
+ export interface ThHTMLAttributes<T = HTMLTableHeaderCellElement> extends HTMLAttributes<T> {
730
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char';
731
+ abbr?: string;
732
+ colSpan?: number;
733
+ colspan?: number;
734
+ headers?: string;
735
+ rowSpan?: number;
736
+ rowspan?: number;
737
+ scope?: 'col' | 'row' | 'colgroup' | 'rowgroup';
738
+ height?: number | string;
739
+ width?: number | string;
740
+ valign?: 'top' | 'middle' | 'bottom' | 'baseline';
741
+ }
742
+ export interface TimeHTMLAttributes<T = HTMLTimeElement> extends HTMLAttributes<T> {
743
+ dateTime?: string;
744
+ datetime?: string;
745
+ }
746
+ export interface TrackHTMLAttributes<T = HTMLTrackElement> extends HTMLAttributes<T> {
747
+ default?: boolean;
748
+ kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
749
+ label?: string;
750
+ src?: string;
751
+ srcLang?: string;
752
+ srclang?: string;
753
+ }
754
+ export interface VideoHTMLAttributes<T = HTMLVideoElement> extends MediaHTMLAttributes<T> {
755
+ disablePictureInPicture?: boolean;
756
+ disableRemotePlayback?: boolean;
757
+ height?: number | string;
758
+ onEnterPictureInPicture?: (event: Event) => void;
759
+ onLeavePictureInPicture?: (event: Event) => void;
760
+ playsInline?: boolean;
761
+ playsinline?: boolean;
762
+ poster?: string;
763
+ width?: number | string;
764
+ }
765
+ export interface AudioHTMLAttributes<T = HTMLAudioElement> extends MediaHTMLAttributes<T> {
766
+ }
767
+ export interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
768
+ id?: string;
769
+ class?: string | Accessor<string>;
770
+ className?: string;
771
+ style?: string | Record<string, string | number>;
772
+ ref?: RefCallback<T> | {
773
+ current: T | null;
774
+ } | {
775
+ current: SVGElement | null;
776
+ };
777
+ key?: string | number;
778
+ children?: ComponentChild;
779
+ tabIndex?: Reactive<number>;
780
+ tabindex?: Reactive<number>;
781
+ lang?: string;
782
+ xml_lang?: string;
783
+ color?: Reactive<string>;
784
+ fill?: Reactive<string>;
785
+ fillOpacity?: Reactive<number | string>;
786
+ 'fill-opacity'?: Reactive<number | string>;
787
+ fillRule?: Reactive<'nonzero' | 'evenodd' | 'inherit'>;
788
+ 'fill-rule'?: Reactive<'nonzero' | 'evenodd' | 'inherit'>;
789
+ opacity?: Reactive<number | string>;
790
+ stroke?: Reactive<string>;
791
+ strokeDasharray?: Reactive<string | number>;
792
+ 'stroke-dasharray'?: Reactive<string | number>;
793
+ strokeDashoffset?: Reactive<string | number>;
794
+ 'stroke-dashoffset'?: Reactive<string | number>;
795
+ strokeLinecap?: Reactive<'butt' | 'round' | 'square' | 'inherit'>;
796
+ 'stroke-linecap'?: Reactive<'butt' | 'round' | 'square' | 'inherit'>;
797
+ strokeLinejoin?: Reactive<'miter' | 'round' | 'bevel' | 'inherit'>;
798
+ 'stroke-linejoin'?: Reactive<'miter' | 'round' | 'bevel' | 'inherit'>;
799
+ strokeMiterlimit?: Reactive<number | string>;
800
+ 'stroke-miterlimit'?: Reactive<number | string>;
801
+ strokeOpacity?: Reactive<number | string>;
802
+ 'stroke-opacity'?: Reactive<number | string>;
803
+ strokeWidth?: Reactive<number | string>;
804
+ 'stroke-width'?: Reactive<number | string>;
805
+ cx?: Reactive<number | string>;
806
+ cy?: Reactive<number | string>;
807
+ d?: Reactive<string>;
808
+ dx?: Reactive<number | string>;
809
+ dy?: Reactive<number | string>;
810
+ height?: Reactive<number | string>;
811
+ r?: Reactive<number | string>;
812
+ rx?: Reactive<number | string>;
813
+ ry?: Reactive<number | string>;
814
+ width?: Reactive<number | string>;
815
+ x?: Reactive<number | string>;
816
+ x1?: Reactive<number | string>;
817
+ x2?: Reactive<number | string>;
818
+ y?: Reactive<number | string>;
819
+ y1?: Reactive<number | string>;
820
+ y2?: Reactive<number | string>;
821
+ transform?: Reactive<string>;
822
+ gradientTransform?: Reactive<string>;
823
+ patternTransform?: Reactive<string>;
824
+ viewBox?: Reactive<string>;
825
+ preserveAspectRatio?: Reactive<string>;
826
+ dominantBaseline?: Reactive<string>;
827
+ 'dominant-baseline'?: Reactive<string>;
828
+ textAnchor?: Reactive<string>;
829
+ 'text-anchor'?: Reactive<string>;
830
+ fontSize?: Reactive<number | string>;
831
+ 'font-size'?: Reactive<number | string>;
832
+ fontFamily?: Reactive<string>;
833
+ 'font-family'?: Reactive<string>;
834
+ fontStyle?: Reactive<string>;
835
+ 'font-style'?: Reactive<string>;
836
+ fontWeight?: Reactive<number | string>;
837
+ 'font-weight'?: Reactive<number | string>;
838
+ letterSpacing?: Reactive<number | string>;
839
+ 'letter-spacing'?: Reactive<number | string>;
840
+ wordSpacing?: Reactive<number | string>;
841
+ 'word-spacing'?: Reactive<number | string>;
842
+ textDecoration?: Reactive<string>;
843
+ 'text-decoration'?: Reactive<string>;
844
+ writingMode?: Reactive<string>;
845
+ 'writing-mode'?: Reactive<string>;
846
+ href?: Reactive<string>;
847
+ xlinkHref?: Reactive<string>;
848
+ 'xlink:href'?: Reactive<string>;
849
+ xlinkTitle?: Reactive<string>;
850
+ 'xlink:title'?: Reactive<string>;
851
+ in?: Reactive<string>;
852
+ in2?: Reactive<number | string>;
853
+ result?: Reactive<string>;
854
+ filter?: Reactive<string>;
855
+ clipPath?: Reactive<string>;
856
+ 'clip-path'?: Reactive<string>;
857
+ clipRule?: Reactive<number | string>;
858
+ 'clip-rule'?: Reactive<number | string>;
859
+ mask?: Reactive<string>;
860
+ cursor?: Reactive<number | string>;
861
+ display?: Reactive<number | string>;
862
+ imageRendering?: Reactive<number | string>;
863
+ 'image-rendering'?: Reactive<number | string>;
864
+ overflow?: Reactive<number | string>;
865
+ paintOrder?: Reactive<number | string>;
866
+ 'paint-order'?: Reactive<number | string>;
867
+ pointerEvents?: Reactive<number | string>;
868
+ 'pointer-events'?: Reactive<number | string>;
869
+ shapeRendering?: Reactive<number | string>;
870
+ 'shape-rendering'?: Reactive<number | string>;
871
+ textRendering?: Reactive<number | string>;
872
+ 'text-rendering'?: Reactive<number | string>;
873
+ vectorEffect?: Reactive<number | string>;
874
+ 'vector-effect'?: Reactive<number | string>;
875
+ visibility?: Reactive<number | string>;
876
+ colorInterpolation?: Reactive<number | string>;
877
+ 'color-interpolation'?: Reactive<number | string>;
878
+ colorInterpolationFilters?: Reactive<'auto' | 'sRGB' | 'linearRGB' | 'inherit'>;
879
+ 'color-interpolation-filters'?: Reactive<'auto' | 'sRGB' | 'linearRGB' | 'inherit'>;
880
+ colorRendering?: Reactive<number | string>;
881
+ 'color-rendering'?: Reactive<number | string>;
882
+ floodColor?: Reactive<number | string>;
883
+ 'flood-color'?: Reactive<number | string>;
884
+ floodOpacity?: Reactive<number | string>;
885
+ 'flood-opacity'?: Reactive<number | string>;
886
+ lightingColor?: Reactive<number | string>;
887
+ 'lighting-color'?: Reactive<number | string>;
888
+ stopColor?: Reactive<string>;
889
+ 'stop-color'?: Reactive<string>;
890
+ stopOpacity?: Reactive<number | string>;
891
+ 'stop-opacity'?: Reactive<number | string>;
892
+ markerEnd?: Reactive<string>;
893
+ 'marker-end'?: Reactive<string>;
894
+ markerMid?: Reactive<string>;
895
+ 'marker-mid'?: Reactive<string>;
896
+ markerStart?: Reactive<string>;
897
+ 'marker-start'?: Reactive<string>;
898
+ gradientUnits?: Reactive<string>;
899
+ patternContentUnits?: Reactive<string>;
900
+ patternUnits?: Reactive<string>;
901
+ spreadMethod?: Reactive<'pad' | 'reflect' | 'repeat'>;
902
+ offset?: Reactive<number | string>;
903
+ baseFrequency?: Reactive<number | string>;
904
+ bias?: Reactive<number | string>;
905
+ diffuseConstant?: Reactive<number | string>;
906
+ divisor?: Reactive<number | string>;
907
+ edgeMode?: Reactive<number | string>;
908
+ filterUnits?: Reactive<number | string>;
909
+ kernelMatrix?: Reactive<number | string>;
910
+ kernelUnitLength?: Reactive<number | string>;
911
+ limitingConeAngle?: Reactive<number | string>;
912
+ mode?: Reactive<number | string>;
913
+ numOctaves?: Reactive<number | string>;
914
+ operator?: Reactive<number | string>;
915
+ order?: Reactive<number | string>;
916
+ primitiveUnits?: Reactive<number | string>;
917
+ radius?: Reactive<number | string>;
918
+ scale?: Reactive<number | string>;
919
+ seed?: Reactive<number | string>;
920
+ specularConstant?: Reactive<number | string>;
921
+ specularExponent?: Reactive<number | string>;
922
+ stdDeviation?: Reactive<number | string>;
923
+ surfaceScale?: Reactive<number | string>;
924
+ tableValues?: Reactive<number | string>;
925
+ targetX?: Reactive<number | string>;
926
+ targetY?: Reactive<number | string>;
927
+ xChannelSelector?: Reactive<string>;
928
+ yChannelSelector?: Reactive<string>;
929
+ elevation?: Reactive<number | string>;
930
+ azimuth?: Reactive<number | string>;
931
+ diffuseExponent?: Reactive<number | string>;
932
+ accumulate?: Reactive<'none' | 'sum'>;
933
+ additive?: Reactive<'replace' | 'sum'>;
934
+ attributeName?: Reactive<string>;
935
+ begin?: Reactive<number | string>;
936
+ by?: Reactive<number | string>;
937
+ calcMode?: Reactive<number | string>;
938
+ dur?: Reactive<number | string>;
939
+ end?: Reactive<number | string>;
940
+ from?: Reactive<number | string>;
941
+ keyPoints?: Reactive<number | string>;
942
+ keySplines?: Reactive<number | string>;
943
+ keyTimes?: Reactive<number | string>;
944
+ path?: Reactive<string>;
945
+ repeatCount?: Reactive<number | string>;
946
+ repeatDur?: Reactive<number | string>;
947
+ restart?: Reactive<number | string>;
948
+ to?: Reactive<number | string>;
949
+ type?: Reactive<string>;
950
+ values?: Reactive<string>;
951
+ alignmentBaseline?: Reactive<string>;
952
+ 'alignment-baseline'?: Reactive<string>;
953
+ baseline?: Reactive<string>;
954
+ clipPathUnits?: Reactive<number | string>;
955
+ contentScriptType?: Reactive<number | string>;
956
+ contentStyleType?: Reactive<number | string>;
957
+ decelerate?: Reactive<number | string>;
958
+ direction?: Reactive<number | string>;
959
+ exponent?: Reactive<number | string>;
960
+ externalResourcesRequired?: Reactive<number | string>;
961
+ filterRes?: Reactive<number | string>;
962
+ focusable?: Reactive<number | string>;
963
+ format?: Reactive<number | string>;
964
+ g1?: Reactive<number | string>;
965
+ g2?: Reactive<number | string>;
966
+ glyphName?: Reactive<number | string>;
967
+ glyphOrientationHorizontal?: Reactive<number | string>;
968
+ glyphOrientationVertical?: Reactive<number | string>;
969
+ glyphRef?: Reactive<number | string>;
970
+ horizAdvX?: Reactive<number | string>;
971
+ horizOriginX?: Reactive<number | string>;
972
+ ideographic?: Reactive<number | string>;
973
+ intercept?: Reactive<number | string>;
974
+ k?: Reactive<number | string>;
975
+ k1?: Reactive<number | string>;
976
+ k2?: Reactive<number | string>;
977
+ k3?: Reactive<number | string>;
978
+ k4?: Reactive<number | string>;
979
+ lengthAdjust?: Reactive<number | string>;
980
+ local?: Reactive<number | string>;
981
+ markerHeight?: Reactive<number | string>;
982
+ markerUnits?: Reactive<number | string>;
983
+ markerWidth?: Reactive<number | string>;
984
+ maskContentUnits?: Reactive<number | string>;
985
+ maskUnits?: Reactive<number | string>;
986
+ mathematical?: Reactive<number | string>;
987
+ mediaGroup?: Reactive<number | string>;
988
+ overlinePosition?: Reactive<number | string>;
989
+ overlineThickness?: Reactive<number | string>;
990
+ panose1?: Reactive<number | string>;
991
+ pathLength?: Reactive<number | string>;
992
+ points?: Reactive<string>;
993
+ pointsAtX?: Reactive<number | string>;
994
+ pointsAtY?: Reactive<number | string>;
995
+ pointsAtZ?: Reactive<number | string>;
996
+ refX?: Reactive<number | string>;
997
+ refY?: Reactive<number | string>;
998
+ renderingIntent?: Reactive<number | string>;
999
+ requiredExtensions?: Reactive<number | string>;
1000
+ requiredFeatures?: Reactive<number | string>;
1001
+ rotate?: Reactive<number | string>;
1002
+ slope?: Reactive<number | string>;
1003
+ spacing?: Reactive<number | string>;
1004
+ startOffset?: Reactive<number | string>;
1005
+ stemh?: Reactive<number | string>;
1006
+ stemv?: Reactive<number | string>;
1007
+ stitchTiles?: Reactive<number | string>;
1008
+ strikethroughPosition?: Reactive<number | string>;
1009
+ strikethroughThickness?: Reactive<number | string>;
1010
+ string?: Reactive<number | string>;
1011
+ systemLanguage?: Reactive<number | string>;
1012
+ textLength?: Reactive<number | string>;
1013
+ u1?: Reactive<number | string>;
1014
+ u2?: Reactive<number | string>;
1015
+ underlinePosition?: Reactive<number | string>;
1016
+ underlineThickness?: Reactive<number | string>;
1017
+ unicode?: Reactive<number | string>;
1018
+ unicodeBidi?: Reactive<number | string>;
1019
+ unicodeRange?: Reactive<number | string>;
1020
+ unitsPerEm?: Reactive<number | string>;
1021
+ vAlphabetic?: Reactive<number | string>;
1022
+ vHanging?: Reactive<number | string>;
1023
+ vIdeographic?: Reactive<number | string>;
1024
+ vMathematical?: Reactive<number | string>;
1025
+ version?: Reactive<string>;
1026
+ vertAdvY?: Reactive<number | string>;
1027
+ vertOriginX?: Reactive<number | string>;
1028
+ vertOriginY?: Reactive<number | string>;
1029
+ viewTarget?: Reactive<number | string>;
1030
+ widths?: Reactive<number | string>;
1031
+ xmlns?: Reactive<string>;
1032
+ 'xmlns:xlink'?: Reactive<string>;
1033
+ xmlnsXlink?: Reactive<string>;
1034
+ xmlBase?: Reactive<string>;
1035
+ xmlLang?: Reactive<string>;
1036
+ xmlSpace?: Reactive<string>;
1037
+ zoomAndPan?: Reactive<string>;
1038
+ 'aria-label'?: Reactive<string>;
1039
+ 'aria-labelledby'?: Reactive<string>;
1040
+ 'aria-describedby'?: Reactive<string>;
1041
+ 'aria-hidden'?: Reactive<boolean | 'true' | 'false'>;
1042
+ role?: Reactive<string>;
1043
+ [key: string]: any;
1044
+ }
1045
+ /**
1046
+ * Anything the renderer accepts as output. `JSX.Element` aliases this; html``
1047
+ * templates produce the same values, so the type is shared rather than duplicated.
1048
+ */
1049
+ export type FxElement = Node | string | number | boolean | null | undefined | Element[] | HTMLElement | Accessor<any> | globalThis.Element;
1050
+ /**
1051
+ * Every intrinsic tag mapped to the attributes it accepts. `JSX.IntrinsicElements`
1052
+ * aliases this. It lives here because html`` tooling needs the same map to type
1053
+ * `<div class=…>` inside a template — that has nothing to do with JSX.
1054
+ */
1055
+ export interface IntrinsicElements {
1056
+ a: AnchorHTMLAttributes;
1057
+ abbr: HTMLAttributes;
1058
+ address: HTMLAttributes;
1059
+ area: AreaHTMLAttributes;
1060
+ article: HTMLAttributes;
1061
+ aside: HTMLAttributes;
1062
+ audio: AudioHTMLAttributes;
1063
+ b: HTMLAttributes;
1064
+ base: BaseHTMLAttributes;
1065
+ bdi: HTMLAttributes;
1066
+ bdo: HTMLAttributes;
1067
+ big: HTMLAttributes;
1068
+ blockquote: BlockquoteHTMLAttributes;
1069
+ body: HTMLAttributes;
1070
+ br: HTMLAttributes;
1071
+ button: ButtonHTMLAttributes;
1072
+ canvas: CanvasHTMLAttributes;
1073
+ caption: HTMLAttributes;
1074
+ cite: HTMLAttributes;
1075
+ code: HTMLAttributes;
1076
+ col: ColHTMLAttributes;
1077
+ colgroup: ColgroupHTMLAttributes;
1078
+ data: DataHTMLAttributes;
1079
+ datalist: HTMLAttributes;
1080
+ dd: HTMLAttributes;
1081
+ del: ModHTMLAttributes;
1082
+ details: DetailsHTMLAttributes;
1083
+ dfn: HTMLAttributes;
1084
+ dialog: DialogHTMLAttributes;
1085
+ div: HTMLAttributes<HTMLDivElement>;
1086
+ dl: HTMLAttributes<HTMLDListElement>;
1087
+ dt: HTMLAttributes;
1088
+ em: HTMLAttributes;
1089
+ embed: EmbedHTMLAttributes;
1090
+ fieldset: FieldsetHTMLAttributes;
1091
+ figcaption: HTMLAttributes;
1092
+ figure: HTMLAttributes;
1093
+ footer: HTMLAttributes;
1094
+ form: FormHTMLAttributes;
1095
+ h1: HTMLAttributes<HTMLHeadingElement>;
1096
+ h2: HTMLAttributes<HTMLHeadingElement>;
1097
+ h3: HTMLAttributes<HTMLHeadingElement>;
1098
+ h4: HTMLAttributes<HTMLHeadingElement>;
1099
+ h5: HTMLAttributes<HTMLHeadingElement>;
1100
+ h6: HTMLAttributes<HTMLHeadingElement>;
1101
+ head: HTMLAttributes;
1102
+ header: HTMLAttributes;
1103
+ hgroup: HTMLAttributes;
1104
+ hr: HTMLAttributes;
1105
+ html: HTMLAttributes;
1106
+ i: HTMLAttributes;
1107
+ iframe: IframeHTMLAttributes;
1108
+ img: ImgHTMLAttributes;
1109
+ input: InputHTMLAttributes;
1110
+ ins: ModHTMLAttributes;
1111
+ kbd: HTMLAttributes;
1112
+ keygen: KeygenHTMLAttributes;
1113
+ label: LabelHTMLAttributes;
1114
+ legend: HTMLAttributes;
1115
+ li: LiHTMLAttributes;
1116
+ link: LinkHTMLAttributes;
1117
+ main: HTMLAttributes;
1118
+ map: MapHTMLAttributes;
1119
+ mark: HTMLAttributes;
1120
+ menu: HTMLAttributes;
1121
+ menuitem: HTMLAttributes;
1122
+ meta: MetaHTMLAttributes;
1123
+ meter: MeterHTMLAttributes;
1124
+ nav: HTMLAttributes;
1125
+ noindex: HTMLAttributes;
1126
+ noscript: HTMLAttributes;
1127
+ object: ObjectHTMLAttributes;
1128
+ ol: OlHTMLAttributes;
1129
+ optgroup: OptgroupHTMLAttributes;
1130
+ option: OptionHTMLAttributes;
1131
+ output: OutputHTMLAttributes;
1132
+ p: HTMLAttributes<HTMLParagraphElement>;
1133
+ param: ParamHTMLAttributes;
1134
+ picture: HTMLAttributes;
1135
+ pre: HTMLAttributes<HTMLPreElement>;
1136
+ progress: ProgressHTMLAttributes;
1137
+ q: BlockquoteHTMLAttributes;
1138
+ rp: HTMLAttributes;
1139
+ rt: HTMLAttributes;
1140
+ ruby: HTMLAttributes;
1141
+ s: HTMLAttributes;
1142
+ samp: HTMLAttributes;
1143
+ script: ScriptHTMLAttributes;
1144
+ search: HTMLAttributes;
1145
+ section: HTMLAttributes;
1146
+ select: SelectHTMLAttributes;
1147
+ slot: SlotHTMLAttributes;
1148
+ small: HTMLAttributes;
1149
+ source: SourceHTMLAttributes;
1150
+ span: HTMLAttributes;
1151
+ strong: HTMLAttributes;
1152
+ style: StyleHTMLAttributes;
1153
+ sub: HTMLAttributes;
1154
+ summary: HTMLAttributes;
1155
+ sup: HTMLAttributes;
1156
+ table: TableHTMLAttributes;
1157
+ template: HTMLAttributes;
1158
+ tbody: HTMLAttributes;
1159
+ td: TdHTMLAttributes;
1160
+ textarea: TextareaHTMLAttributes;
1161
+ tfoot: HTMLAttributes;
1162
+ th: ThHTMLAttributes;
1163
+ thead: HTMLAttributes;
1164
+ time: TimeHTMLAttributes;
1165
+ title: HTMLAttributes;
1166
+ tr: HTMLAttributes;
1167
+ track: TrackHTMLAttributes;
1168
+ u: HTMLAttributes;
1169
+ ul: HTMLAttributes<HTMLUListElement>;
1170
+ var: HTMLAttributes;
1171
+ video: VideoHTMLAttributes;
1172
+ wbr: HTMLAttributes;
1173
+ webview: HTMLAttributes;
1174
+ svg: SVGAttributes<SVGSVGElement>;
1175
+ animate: SVGAttributes;
1176
+ animateMotion: SVGAttributes;
1177
+ animateTransform: SVGAttributes;
1178
+ circle: SVGAttributes<SVGCircleElement>;
1179
+ clipPath: SVGAttributes<SVGClipPathElement>;
1180
+ defs: SVGAttributes<SVGDefsElement>;
1181
+ desc: SVGAttributes<SVGDescElement>;
1182
+ ellipse: SVGAttributes<SVGEllipseElement>;
1183
+ feBlend: SVGAttributes<SVGFEBlendElement>;
1184
+ feColorMatrix: SVGAttributes<SVGFEColorMatrixElement>;
1185
+ feComponentTransfer: SVGAttributes<SVGFEComponentTransferElement>;
1186
+ feComposite: SVGAttributes<SVGFECompositeElement>;
1187
+ feConvolveMatrix: SVGAttributes<SVGFEConvolveMatrixElement>;
1188
+ feDiffuseLighting: SVGAttributes<SVGFEDiffuseLightingElement>;
1189
+ feDisplacementMap: SVGAttributes<SVGFEDisplacementMapElement>;
1190
+ feDistantLight: SVGAttributes<SVGFEDistantLightElement>;
1191
+ feDropShadow: SVGAttributes;
1192
+ feFlood: SVGAttributes<SVGFEFloodElement>;
1193
+ feFuncA: SVGAttributes<SVGFEFuncAElement>;
1194
+ feFuncB: SVGAttributes<SVGFEFuncBElement>;
1195
+ feFuncG: SVGAttributes<SVGFEFuncGElement>;
1196
+ feFuncR: SVGAttributes<SVGFEFuncRElement>;
1197
+ feGaussianBlur: SVGAttributes<SVGFEGaussianBlurElement>;
1198
+ feImage: SVGAttributes<SVGFEImageElement>;
1199
+ feMerge: SVGAttributes<SVGFEMergeElement>;
1200
+ feMergeNode: SVGAttributes<SVGFEMergeNodeElement>;
1201
+ feMorphology: SVGAttributes<SVGFEMorphologyElement>;
1202
+ feOffset: SVGAttributes<SVGFEOffsetElement>;
1203
+ fePointLight: SVGAttributes<SVGFEPointLightElement>;
1204
+ feSpecularLighting: SVGAttributes<SVGFESpecularLightingElement>;
1205
+ feSpotLight: SVGAttributes<SVGFESpotLightElement>;
1206
+ feTile: SVGAttributes<SVGFETileElement>;
1207
+ feTurbulence: SVGAttributes<SVGFETurbulenceElement>;
1208
+ filter: SVGAttributes<SVGFilterElement>;
1209
+ foreignObject: SVGAttributes<SVGForeignObjectElement>;
1210
+ g: SVGAttributes<SVGGElement>;
1211
+ image: SVGAttributes<SVGImageElement>;
1212
+ line: SVGAttributes<SVGLineElement>;
1213
+ linearGradient: SVGAttributes<SVGLinearGradientElement>;
1214
+ marker: SVGAttributes<SVGMarkerElement>;
1215
+ mask: SVGAttributes<SVGMaskElement>;
1216
+ metadata: SVGAttributes<SVGMetadataElement>;
1217
+ mpath: SVGAttributes;
1218
+ path: SVGAttributes<SVGPathElement>;
1219
+ pattern: SVGAttributes<SVGPatternElement>;
1220
+ polygon: SVGAttributes<SVGPolygonElement>;
1221
+ polyline: SVGAttributes<SVGPolylineElement>;
1222
+ radialGradient: SVGAttributes<SVGRadialGradientElement>;
1223
+ rect: SVGAttributes<SVGRectElement>;
1224
+ stop: SVGAttributes<SVGStopElement>;
1225
+ switch: SVGAttributes<SVGSwitchElement>;
1226
+ symbol: SVGAttributes<SVGSymbolElement>;
1227
+ text: SVGAttributes<SVGTextElement>;
1228
+ textPath: SVGAttributes<SVGTextPathElement>;
1229
+ tspan: SVGAttributes<SVGTSpanElement>;
1230
+ use: SVGAttributes<SVGUseElement>;
1231
+ view: SVGAttributes<SVGViewElement>;
1232
+ [elemName: string]: any;
1233
+ }
1234
+ //# sourceMappingURL=attributes.d.ts.map