@bpmn-io/properties-panel 3.41.3 → 3.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2548 @@
1
+ // Most of our DOM-ish types
2
+
3
+ import { ClassAttributes, PreactDOMAttributes } from 'preact';
4
+
5
+ // Implementations of some DOM events that are not available in TS 5.1
6
+ interface ToggleEvent extends Event {
7
+ readonly newState: string;
8
+ readonly oldState: string;
9
+ }
10
+
11
+ declare var ToggleEvent: {
12
+ prototype: ToggleEvent;
13
+ new (type: string, eventInitDict?: ToggleEventInit): ToggleEvent;
14
+ };
15
+
16
+ interface ToggleEventInit extends EventInit {
17
+ newState?: string;
18
+ oldState?: string;
19
+ }
20
+
21
+ interface CommandEvent extends Event {
22
+ readonly source: Element | null;
23
+ readonly command: string;
24
+ }
25
+
26
+ declare var CommandEvent: {
27
+ prototype: CommandEvent;
28
+ new (type: string, eventInitDict?: CommandEventInit): CommandEvent;
29
+ };
30
+
31
+ interface CommandEventInit extends EventInit {
32
+ source: Element | null;
33
+ command: string;
34
+ }
35
+
36
+ /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/SnapEvent) */
37
+ interface SnapEvent extends Event {
38
+ readonly snapTargetBlock: Element | null;
39
+ readonly snapTargetInline: Element | null;
40
+ }
41
+
42
+ declare var SnapEvent: {
43
+ prototype: SnapEvent;
44
+ new (type: string, eventInitDict?: SnapEventInit): SnapEvent;
45
+ };
46
+
47
+ interface SnapEventInit extends EventInit {
48
+ snapTargetBlock?: Element | null;
49
+ snapTargetInline?: Element | null;
50
+ }
51
+
52
+ type Booleanish = boolean | 'true' | 'false';
53
+
54
+ export interface SignalLike<T> {
55
+ value: T;
56
+ peek(): T;
57
+ subscribe(fn: (value: T) => void): () => void;
58
+ }
59
+
60
+ export type Signalish<T> = T | SignalLike<T>;
61
+
62
+ export type UnpackSignal<T> = T extends SignalLike<infer V> ? V : T;
63
+
64
+ export type DOMCSSProperties = {
65
+ [key in keyof Omit<
66
+ CSSStyleDeclaration,
67
+ | 'item'
68
+ | 'setProperty'
69
+ | 'removeProperty'
70
+ | 'getPropertyValue'
71
+ | 'getPropertyPriority'
72
+ >]?: string | number | null | undefined;
73
+ };
74
+ export type AllCSSProperties = {
75
+ [key: string]: string | number | null | undefined;
76
+ };
77
+ export interface CSSProperties extends AllCSSProperties, DOMCSSProperties {
78
+ cssText?: string | null;
79
+ }
80
+
81
+ export interface SVGAttributes<
82
+ Target extends EventTarget = SVGElement
83
+ > extends HTMLAttributes<Target> {
84
+ accentHeight?: Signalish<number | string | undefined>;
85
+ accumulate?: Signalish<'none' | 'sum' | undefined>;
86
+ additive?: Signalish<'replace' | 'sum' | undefined>;
87
+ alignmentBaseline?: Signalish<
88
+ | 'auto'
89
+ | 'baseline'
90
+ | 'before-edge'
91
+ | 'text-before-edge'
92
+ | 'middle'
93
+ | 'central'
94
+ | 'after-edge'
95
+ | 'text-after-edge'
96
+ | 'ideographic'
97
+ | 'alphabetic'
98
+ | 'hanging'
99
+ | 'mathematical'
100
+ | 'inherit'
101
+ | undefined
102
+ >;
103
+ 'alignment-baseline'?: Signalish<
104
+ | 'auto'
105
+ | 'baseline'
106
+ | 'before-edge'
107
+ | 'text-before-edge'
108
+ | 'middle'
109
+ | 'central'
110
+ | 'after-edge'
111
+ | 'text-after-edge'
112
+ | 'ideographic'
113
+ | 'alphabetic'
114
+ | 'hanging'
115
+ | 'mathematical'
116
+ | 'inherit'
117
+ | undefined
118
+ >;
119
+ allowReorder?: Signalish<'no' | 'yes' | undefined>;
120
+ 'allow-reorder'?: Signalish<'no' | 'yes' | undefined>;
121
+ alphabetic?: Signalish<number | string | undefined>;
122
+ amplitude?: Signalish<number | string | undefined>;
123
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/arabic-form */
124
+ arabicForm?: Signalish<
125
+ 'initial' | 'medial' | 'terminal' | 'isolated' | undefined
126
+ >;
127
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/arabic-form */
128
+ 'arabic-form'?: Signalish<
129
+ 'initial' | 'medial' | 'terminal' | 'isolated' | undefined
130
+ >;
131
+ ascent?: Signalish<number | string | undefined>;
132
+ attributeName?: Signalish<string | undefined>;
133
+ attributeType?: Signalish<string | undefined>;
134
+ azimuth?: Signalish<number | string | undefined>;
135
+ baseFrequency?: Signalish<number | string | undefined>;
136
+ baselineShift?: Signalish<number | string | undefined>;
137
+ 'baseline-shift'?: Signalish<number | string | undefined>;
138
+ baseProfile?: Signalish<number | string | undefined>;
139
+ bbox?: Signalish<number | string | undefined>;
140
+ begin?: Signalish<number | string | undefined>;
141
+ bias?: Signalish<number | string | undefined>;
142
+ by?: Signalish<number | string | undefined>;
143
+ calcMode?: Signalish<number | string | undefined>;
144
+ capHeight?: Signalish<number | string | undefined>;
145
+ 'cap-height'?: Signalish<number | string | undefined>;
146
+ clip?: Signalish<number | string | undefined>;
147
+ clipPath?: Signalish<string | undefined>;
148
+ 'clip-path'?: Signalish<string | undefined>;
149
+ clipPathUnits?: Signalish<number | string | undefined>;
150
+ clipRule?: Signalish<number | string | undefined>;
151
+ 'clip-rule'?: Signalish<number | string | undefined>;
152
+ colorInterpolation?: Signalish<number | string | undefined>;
153
+ 'color-interpolation'?: Signalish<number | string | undefined>;
154
+ colorInterpolationFilters?: Signalish<
155
+ 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined
156
+ >;
157
+ 'color-interpolation-filters'?: Signalish<
158
+ 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined
159
+ >;
160
+ colorProfile?: Signalish<number | string | undefined>;
161
+ 'color-profile'?: Signalish<number | string | undefined>;
162
+ colorRendering?: Signalish<number | string | undefined>;
163
+ 'color-rendering'?: Signalish<number | string | undefined>;
164
+ contentScriptType?: Signalish<number | string | undefined>;
165
+ 'content-script-type'?: Signalish<number | string | undefined>;
166
+ contentStyleType?: Signalish<number | string | undefined>;
167
+ 'content-style-type'?: Signalish<number | string | undefined>;
168
+ cursor?: Signalish<number | string | undefined>;
169
+ cx?: Signalish<number | string | undefined>;
170
+ cy?: Signalish<number | string | undefined>;
171
+ d?: Signalish<string | undefined>;
172
+ decelerate?: Signalish<number | string | undefined>;
173
+ descent?: Signalish<number | string | undefined>;
174
+ diffuseConstant?: Signalish<number | string | undefined>;
175
+ direction?: Signalish<number | string | undefined>;
176
+ display?: Signalish<number | string | undefined>;
177
+ divisor?: Signalish<number | string | undefined>;
178
+ dominantBaseline?: Signalish<number | string | undefined>;
179
+ 'dominant-baseline'?: Signalish<number | string | undefined>;
180
+ dur?: Signalish<number | string | undefined>;
181
+ dx?: Signalish<number | string | undefined>;
182
+ dy?: Signalish<number | string | undefined>;
183
+ edgeMode?: Signalish<number | string | undefined>;
184
+ elevation?: Signalish<number | string | undefined>;
185
+ enableBackground?: Signalish<number | string | undefined>;
186
+ 'enable-background'?: Signalish<number | string | undefined>;
187
+ end?: Signalish<number | string | undefined>;
188
+ exponent?: Signalish<number | string | undefined>;
189
+ externalResourcesRequired?: Signalish<number | string | undefined>;
190
+ fill?: Signalish<string | undefined>;
191
+ fillOpacity?: Signalish<number | string | undefined>;
192
+ 'fill-opacity'?: Signalish<number | string | undefined>;
193
+ fillRule?: Signalish<'nonzero' | 'evenodd' | 'inherit' | undefined>;
194
+ 'fill-rule'?: Signalish<'nonzero' | 'evenodd' | 'inherit' | undefined>;
195
+ filter?: Signalish<string | undefined>;
196
+ filterRes?: Signalish<number | string | undefined>;
197
+ filterUnits?: Signalish<number | string | undefined>;
198
+ floodColor?: Signalish<number | string | undefined>;
199
+ 'flood-color'?: Signalish<number | string | undefined>;
200
+ floodOpacity?: Signalish<number | string | undefined>;
201
+ 'flood-opacity'?: Signalish<number | string | undefined>;
202
+ focusable?: Signalish<number | string | undefined>;
203
+ fontFamily?: Signalish<string | undefined>;
204
+ 'font-family'?: Signalish<string | undefined>;
205
+ fontSize?: Signalish<number | string | undefined>;
206
+ 'font-size'?: Signalish<number | string | undefined>;
207
+ fontSizeAdjust?: Signalish<number | string | undefined>;
208
+ 'font-size-adjust'?: Signalish<number | string | undefined>;
209
+ fontStretch?: Signalish<number | string | undefined>;
210
+ 'font-stretch'?: Signalish<number | string | undefined>;
211
+ fontStyle?: Signalish<number | string | undefined>;
212
+ 'font-style'?: Signalish<number | string | undefined>;
213
+ fontVariant?: Signalish<number | string | undefined>;
214
+ 'font-variant'?: Signalish<number | string | undefined>;
215
+ fontWeight?: Signalish<number | string | undefined>;
216
+ 'font-weight'?: Signalish<number | string | undefined>;
217
+ format?: Signalish<number | string | undefined>;
218
+ from?: Signalish<number | string | undefined>;
219
+ fx?: Signalish<number | string | undefined>;
220
+ fy?: Signalish<number | string | undefined>;
221
+ g1?: Signalish<number | string | undefined>;
222
+ g2?: Signalish<number | string | undefined>;
223
+ glyphName?: Signalish<number | string | undefined>;
224
+ 'glyph-name'?: Signalish<number | string | undefined>;
225
+ glyphOrientationHorizontal?: Signalish<number | string | undefined>;
226
+ 'glyph-orientation-horizontal'?: Signalish<number | string | undefined>;
227
+ glyphOrientationVertical?: Signalish<number | string | undefined>;
228
+ 'glyph-orientation-vertical'?: Signalish<number | string | undefined>;
229
+ glyphRef?: Signalish<number | string | undefined>;
230
+ gradientTransform?: Signalish<string | undefined>;
231
+ gradientUnits?: Signalish<string | undefined>;
232
+ hanging?: Signalish<number | string | undefined>;
233
+ height?: Signalish<number | string | undefined>;
234
+ horizAdvX?: Signalish<number | string | undefined>;
235
+ 'horiz-adv-x'?: Signalish<number | string | undefined>;
236
+ horizOriginX?: Signalish<number | string | undefined>;
237
+ 'horiz-origin-x'?: Signalish<number | string | undefined>;
238
+ href?: Signalish<string | undefined>;
239
+ hreflang?: Signalish<string | undefined>;
240
+ hrefLang?: Signalish<string | undefined>;
241
+ ideographic?: Signalish<number | string | undefined>;
242
+ imageRendering?: Signalish<number | string | undefined>;
243
+ 'image-rendering'?: Signalish<number | string | undefined>;
244
+ in2?: Signalish<number | string | undefined>;
245
+ in?: Signalish<string | undefined>;
246
+ intercept?: Signalish<number | string | undefined>;
247
+ k1?: Signalish<number | string | undefined>;
248
+ k2?: Signalish<number | string | undefined>;
249
+ k3?: Signalish<number | string | undefined>;
250
+ k4?: Signalish<number | string | undefined>;
251
+ k?: Signalish<number | string | undefined>;
252
+ kernelMatrix?: Signalish<number | string | undefined>;
253
+ kernelUnitLength?: Signalish<number | string | undefined>;
254
+ kerning?: Signalish<number | string | undefined>;
255
+ keyPoints?: Signalish<number | string | undefined>;
256
+ keySplines?: Signalish<number | string | undefined>;
257
+ keyTimes?: Signalish<number | string | undefined>;
258
+ lengthAdjust?: Signalish<number | string | undefined>;
259
+ letterSpacing?: Signalish<number | string | undefined>;
260
+ 'letter-spacing'?: Signalish<number | string | undefined>;
261
+ lightingColor?: Signalish<number | string | undefined>;
262
+ 'lighting-color'?: Signalish<number | string | undefined>;
263
+ limitingConeAngle?: Signalish<number | string | undefined>;
264
+ local?: Signalish<number | string | undefined>;
265
+ markerEnd?: Signalish<string | undefined>;
266
+ 'marker-end'?: Signalish<string | undefined>;
267
+ markerHeight?: Signalish<number | string | undefined>;
268
+ markerMid?: Signalish<string | undefined>;
269
+ 'marker-mid'?: Signalish<string | undefined>;
270
+ markerStart?: Signalish<string | undefined>;
271
+ 'marker-start'?: Signalish<string | undefined>;
272
+ markerUnits?: Signalish<number | string | undefined>;
273
+ markerWidth?: Signalish<number | string | undefined>;
274
+ mask?: Signalish<string | undefined>;
275
+ maskContentUnits?: Signalish<number | string | undefined>;
276
+ maskUnits?: Signalish<number | string | undefined>;
277
+ mathematical?: Signalish<number | string | undefined>;
278
+ mode?: Signalish<number | string | undefined>;
279
+ numOctaves?: Signalish<number | string | undefined>;
280
+ offset?: Signalish<number | string | undefined>;
281
+ opacity?: Signalish<number | string | undefined>;
282
+ operator?: Signalish<number | string | undefined>;
283
+ order?: Signalish<number | string | undefined>;
284
+ orient?: Signalish<number | string | undefined>;
285
+ orientation?: Signalish<number | string | undefined>;
286
+ origin?: Signalish<number | string | undefined>;
287
+ overflow?: Signalish<number | string | undefined>;
288
+ overlinePosition?: Signalish<number | string | undefined>;
289
+ 'overline-position'?: Signalish<number | string | undefined>;
290
+ overlineThickness?: Signalish<number | string | undefined>;
291
+ 'overline-thickness'?: Signalish<number | string | undefined>;
292
+ paintOrder?: Signalish<number | string | undefined>;
293
+ 'paint-order'?: Signalish<number | string | undefined>;
294
+ panose1?: Signalish<number | string | undefined>;
295
+ 'panose-1'?: Signalish<number | string | undefined>;
296
+ pathLength?: Signalish<number | string | undefined>;
297
+ patternContentUnits?: Signalish<string | undefined>;
298
+ patternTransform?: Signalish<number | string | undefined>;
299
+ patternUnits?: Signalish<string | undefined>;
300
+ pointerEvents?: Signalish<number | string | undefined>;
301
+ 'pointer-events'?: Signalish<number | string | undefined>;
302
+ points?: Signalish<string | undefined>;
303
+ pointsAtX?: Signalish<number | string | undefined>;
304
+ pointsAtY?: Signalish<number | string | undefined>;
305
+ pointsAtZ?: Signalish<number | string | undefined>;
306
+ preserveAlpha?: Signalish<number | string | undefined>;
307
+ preserveAspectRatio?: Signalish<string | undefined>;
308
+ primitiveUnits?: Signalish<number | string | undefined>;
309
+ r?: Signalish<number | string | undefined>;
310
+ radius?: Signalish<number | string | undefined>;
311
+ refX?: Signalish<number | string | undefined>;
312
+ refY?: Signalish<number | string | undefined>;
313
+ renderingIntent?: Signalish<number | string | undefined>;
314
+ 'rendering-intent'?: Signalish<number | string | undefined>;
315
+ repeatCount?: Signalish<number | string | undefined>;
316
+ 'repeat-count'?: Signalish<number | string | undefined>;
317
+ repeatDur?: Signalish<number | string | undefined>;
318
+ 'repeat-dur'?: Signalish<number | string | undefined>;
319
+ requiredExtensions?: Signalish<number | string | undefined>;
320
+ requiredFeatures?: Signalish<number | string | undefined>;
321
+ restart?: Signalish<number | string | undefined>;
322
+ result?: Signalish<string | undefined>;
323
+ rotate?: Signalish<number | string | undefined>;
324
+ rx?: Signalish<number | string | undefined>;
325
+ ry?: Signalish<number | string | undefined>;
326
+ scale?: Signalish<number | string | undefined>;
327
+ seed?: Signalish<number | string | undefined>;
328
+ shapeRendering?: Signalish<number | string | undefined>;
329
+ 'shape-rendering'?: Signalish<number | string | undefined>;
330
+ slope?: Signalish<number | string | undefined>;
331
+ spacing?: Signalish<number | string | undefined>;
332
+ specularConstant?: Signalish<number | string | undefined>;
333
+ specularExponent?: Signalish<number | string | undefined>;
334
+ speed?: Signalish<number | string | undefined>;
335
+ spreadMethod?: Signalish<string | undefined>;
336
+ startOffset?: Signalish<number | string | undefined>;
337
+ stdDeviation?: Signalish<number | string | undefined>;
338
+ stemh?: Signalish<number | string | undefined>;
339
+ stemv?: Signalish<number | string | undefined>;
340
+ stitchTiles?: Signalish<number | string | undefined>;
341
+ stopColor?: Signalish<string | undefined>;
342
+ 'stop-color'?: Signalish<string | undefined>;
343
+ stopOpacity?: Signalish<number | string | undefined>;
344
+ 'stop-opacity'?: Signalish<number | string | undefined>;
345
+ strikethroughPosition?: Signalish<number | string | undefined>;
346
+ 'strikethrough-position'?: Signalish<number | string | undefined>;
347
+ strikethroughThickness?: Signalish<number | string | undefined>;
348
+ 'strikethrough-thickness'?: Signalish<number | string | undefined>;
349
+ string?: Signalish<number | string | undefined>;
350
+ stroke?: Signalish<string | undefined>;
351
+ strokeDasharray?: Signalish<string | number | undefined>;
352
+ 'stroke-dasharray'?: Signalish<string | number | undefined>;
353
+ strokeDashoffset?: Signalish<string | number | undefined>;
354
+ 'stroke-dashoffset'?: Signalish<string | number | undefined>;
355
+ strokeLinecap?: Signalish<
356
+ 'butt' | 'round' | 'square' | 'inherit' | undefined
357
+ >;
358
+ 'stroke-linecap'?: Signalish<
359
+ 'butt' | 'round' | 'square' | 'inherit' | undefined
360
+ >;
361
+ strokeLinejoin?: Signalish<
362
+ 'miter' | 'round' | 'bevel' | 'inherit' | undefined
363
+ >;
364
+ 'stroke-linejoin'?: Signalish<
365
+ 'miter' | 'round' | 'bevel' | 'inherit' | undefined
366
+ >;
367
+ strokeMiterlimit?: Signalish<string | number | undefined>;
368
+ 'stroke-miterlimit'?: Signalish<string | number | undefined>;
369
+ strokeOpacity?: Signalish<number | string | undefined>;
370
+ 'stroke-opacity'?: Signalish<number | string | undefined>;
371
+ strokeWidth?: Signalish<number | string | undefined>;
372
+ 'stroke-width'?: Signalish<number | string | undefined>;
373
+ surfaceScale?: Signalish<number | string | undefined>;
374
+ systemLanguage?: Signalish<number | string | undefined>;
375
+ tableValues?: Signalish<number | string | undefined>;
376
+ targetX?: Signalish<number | string | undefined>;
377
+ targetY?: Signalish<number | string | undefined>;
378
+ textAnchor?: Signalish<string | undefined>;
379
+ 'text-anchor'?: Signalish<string | undefined>;
380
+ textDecoration?: Signalish<number | string | undefined>;
381
+ 'text-decoration'?: Signalish<number | string | undefined>;
382
+ textLength?: Signalish<number | string | undefined>;
383
+ textRendering?: Signalish<number | string | undefined>;
384
+ 'text-rendering'?: Signalish<number | string | undefined>;
385
+ to?: Signalish<number | string | undefined>;
386
+ transform?: Signalish<string | undefined>;
387
+ transformOrigin?: Signalish<string | undefined>;
388
+ 'transform-origin'?: Signalish<string | undefined>;
389
+ type?: Signalish<string | undefined>;
390
+ u1?: Signalish<number | string | undefined>;
391
+ u2?: Signalish<number | string | undefined>;
392
+ underlinePosition?: Signalish<number | string | undefined>;
393
+ 'underline-position'?: Signalish<number | string | undefined>;
394
+ underlineThickness?: Signalish<number | string | undefined>;
395
+ 'underline-thickness'?: Signalish<number | string | undefined>;
396
+ unicode?: Signalish<number | string | undefined>;
397
+ unicodeBidi?: Signalish<number | string | undefined>;
398
+ 'unicode-bidi'?: Signalish<number | string | undefined>;
399
+ unicodeRange?: Signalish<number | string | undefined>;
400
+ 'unicode-range'?: Signalish<number | string | undefined>;
401
+ unitsPerEm?: Signalish<number | string | undefined>;
402
+ 'units-per-em'?: Signalish<number | string | undefined>;
403
+ vAlphabetic?: Signalish<number | string | undefined>;
404
+ 'v-alphabetic'?: Signalish<number | string | undefined>;
405
+ values?: Signalish<string | undefined>;
406
+ vectorEffect?: Signalish<number | string | undefined>;
407
+ 'vector-effect'?: Signalish<number | string | undefined>;
408
+ version?: Signalish<string | undefined>;
409
+ vertAdvY?: Signalish<number | string | undefined>;
410
+ 'vert-adv-y'?: Signalish<number | string | undefined>;
411
+ vertOriginX?: Signalish<number | string | undefined>;
412
+ 'vert-origin-x'?: Signalish<number | string | undefined>;
413
+ vertOriginY?: Signalish<number | string | undefined>;
414
+ 'vert-origin-y'?: Signalish<number | string | undefined>;
415
+ vHanging?: Signalish<number | string | undefined>;
416
+ 'v-hanging'?: Signalish<number | string | undefined>;
417
+ vIdeographic?: Signalish<number | string | undefined>;
418
+ 'v-ideographic'?: Signalish<number | string | undefined>;
419
+ viewBox?: Signalish<string | undefined>;
420
+ viewTarget?: Signalish<number | string | undefined>;
421
+ visibility?: Signalish<number | string | undefined>;
422
+ vMathematical?: Signalish<number | string | undefined>;
423
+ 'v-mathematical'?: Signalish<number | string | undefined>;
424
+ width?: Signalish<number | string | undefined>;
425
+ wordSpacing?: Signalish<number | string | undefined>;
426
+ 'word-spacing'?: Signalish<number | string | undefined>;
427
+ writingMode?: Signalish<number | string | undefined>;
428
+ 'writing-mode'?: Signalish<number | string | undefined>;
429
+ x1?: Signalish<number | string | undefined>;
430
+ x2?: Signalish<number | string | undefined>;
431
+ x?: Signalish<number | string | undefined>;
432
+ xChannelSelector?: Signalish<string | undefined>;
433
+ xHeight?: Signalish<number | string | undefined>;
434
+ 'x-height'?: Signalish<number | string | undefined>;
435
+ xlinkActuate?: Signalish<string | undefined>;
436
+ 'xlink:actuate'?: Signalish<SVGAttributes['xlinkActuate']>;
437
+ xlinkArcrole?: Signalish<string | undefined>;
438
+ 'xlink:arcrole'?: Signalish<string | undefined>;
439
+ xlinkHref?: Signalish<string | undefined>;
440
+ 'xlink:href'?: Signalish<string | undefined>;
441
+ xlinkRole?: Signalish<string | undefined>;
442
+ 'xlink:role'?: Signalish<string | undefined>;
443
+ xlinkShow?: Signalish<string | undefined>;
444
+ 'xlink:show'?: Signalish<string | undefined>;
445
+ xlinkTitle?: Signalish<string | undefined>;
446
+ 'xlink:title'?: Signalish<string | undefined>;
447
+ xlinkType?: Signalish<string | undefined>;
448
+ 'xlink:type'?: Signalish<string | undefined>;
449
+ xmlBase?: Signalish<string | undefined>;
450
+ 'xml:base'?: Signalish<string | undefined>;
451
+ xmlLang?: Signalish<string | undefined>;
452
+ 'xml:lang'?: Signalish<string | undefined>;
453
+ xmlns?: Signalish<string | undefined>;
454
+ xmlnsXlink?: Signalish<string | undefined>;
455
+ xmlSpace?: Signalish<string | undefined>;
456
+ 'xml:space'?: Signalish<string | undefined>;
457
+ y1?: Signalish<number | string | undefined>;
458
+ y2?: Signalish<number | string | undefined>;
459
+ y?: Signalish<number | string | undefined>;
460
+ yChannelSelector?: Signalish<string | undefined>;
461
+ z?: Signalish<number | string | undefined>;
462
+ zoomAndPan?: Signalish<string | undefined>;
463
+ }
464
+
465
+ export interface PathAttributes {
466
+ d: string;
467
+ }
468
+
469
+ export type TargetedEvent<
470
+ Target extends EventTarget = EventTarget,
471
+ TypedEvent extends Event = Event
472
+ > = Omit<TypedEvent, 'currentTarget'> & {
473
+ readonly currentTarget: Target;
474
+ };
475
+
476
+ export type TargetedAnimationEvent<Target extends EventTarget> = TargetedEvent<
477
+ Target,
478
+ AnimationEvent
479
+ >;
480
+ export type TargetedClipboardEvent<Target extends EventTarget> = TargetedEvent<
481
+ Target,
482
+ ClipboardEvent
483
+ >;
484
+ export type TargetedCommandEvent<Target extends EventTarget> = TargetedEvent<
485
+ Target,
486
+ CommandEvent
487
+ >;
488
+ export type TargetedCompositionEvent<Target extends EventTarget> =
489
+ TargetedEvent<Target, CompositionEvent>;
490
+ export type TargetedDragEvent<Target extends EventTarget> = TargetedEvent<
491
+ Target,
492
+ DragEvent
493
+ >;
494
+ export type TargetedFocusEvent<Target extends EventTarget> = TargetedEvent<
495
+ Target,
496
+ FocusEvent
497
+ >;
498
+ export type TargetedInputEvent<Target extends EventTarget> = TargetedEvent<
499
+ Target,
500
+ InputEvent
501
+ >;
502
+ export type TargetedKeyboardEvent<Target extends EventTarget> = TargetedEvent<
503
+ Target,
504
+ KeyboardEvent
505
+ >;
506
+ export type TargetedMouseEvent<Target extends EventTarget> = TargetedEvent<
507
+ Target,
508
+ MouseEvent
509
+ >;
510
+ export type TargetedPointerEvent<Target extends EventTarget> = TargetedEvent<
511
+ Target,
512
+ PointerEvent
513
+ >;
514
+ export type TargetedSnapEvent<Target extends EventTarget> = TargetedEvent<
515
+ Target,
516
+ SnapEvent
517
+ >;
518
+ export type TargetedSubmitEvent<Target extends EventTarget> = TargetedEvent<
519
+ Target,
520
+ SubmitEvent
521
+ >;
522
+ export type TargetedTouchEvent<Target extends EventTarget> = TargetedEvent<
523
+ Target,
524
+ TouchEvent
525
+ >;
526
+ export type TargetedToggleEvent<Target extends EventTarget> = TargetedEvent<
527
+ Target,
528
+ ToggleEvent
529
+ >;
530
+ export type TargetedTransitionEvent<Target extends EventTarget> = TargetedEvent<
531
+ Target,
532
+ TransitionEvent
533
+ >;
534
+ export type TargetedUIEvent<Target extends EventTarget> = TargetedEvent<
535
+ Target,
536
+ UIEvent
537
+ >;
538
+ export type TargetedWheelEvent<Target extends EventTarget> = TargetedEvent<
539
+ Target,
540
+ WheelEvent
541
+ >;
542
+ export type TargetedPictureInPictureEvent<Target extends EventTarget> =
543
+ TargetedEvent<Target, PictureInPictureEvent>;
544
+
545
+ export type EventHandler<E extends TargetedEvent> = {
546
+ bivarianceHack(event: E): void;
547
+ }['bivarianceHack'];
548
+
549
+ export type AnimationEventHandler<Target extends EventTarget> = EventHandler<
550
+ TargetedAnimationEvent<Target>
551
+ >;
552
+ export type ClipboardEventHandler<Target extends EventTarget> = EventHandler<
553
+ TargetedClipboardEvent<Target>
554
+ >;
555
+ export type CommandEventHandler<Target extends EventTarget> = EventHandler<
556
+ TargetedCommandEvent<Target>
557
+ >;
558
+ export type CompositionEventHandler<Target extends EventTarget> = EventHandler<
559
+ TargetedCompositionEvent<Target>
560
+ >;
561
+ export type DragEventHandler<Target extends EventTarget> = EventHandler<
562
+ TargetedDragEvent<Target>
563
+ >;
564
+ export type ToggleEventHandler<Target extends EventTarget> = EventHandler<
565
+ TargetedToggleEvent<Target>
566
+ >;
567
+ export type FocusEventHandler<Target extends EventTarget> = EventHandler<
568
+ TargetedFocusEvent<Target>
569
+ >;
570
+ export type GenericEventHandler<Target extends EventTarget> = EventHandler<
571
+ TargetedEvent<Target>
572
+ >;
573
+ export type InputEventHandler<Target extends EventTarget> = EventHandler<
574
+ TargetedInputEvent<Target>
575
+ >;
576
+ export type KeyboardEventHandler<Target extends EventTarget> = EventHandler<
577
+ TargetedKeyboardEvent<Target>
578
+ >;
579
+ export type MouseEventHandler<Target extends EventTarget> = EventHandler<
580
+ TargetedMouseEvent<Target>
581
+ >;
582
+ export type PointerEventHandler<Target extends EventTarget> = EventHandler<
583
+ TargetedPointerEvent<Target>
584
+ >;
585
+ export type SnapEventHandler<Target extends EventTarget> = EventHandler<
586
+ TargetedSnapEvent<Target>
587
+ >;
588
+ export type SubmitEventHandler<Target extends EventTarget> = EventHandler<
589
+ TargetedSubmitEvent<Target>
590
+ >;
591
+ export type TouchEventHandler<Target extends EventTarget> = EventHandler<
592
+ TargetedTouchEvent<Target>
593
+ >;
594
+ export type TransitionEventHandler<Target extends EventTarget> = EventHandler<
595
+ TargetedTransitionEvent<Target>
596
+ >;
597
+ export type UIEventHandler<Target extends EventTarget> = EventHandler<
598
+ TargetedUIEvent<Target>
599
+ >;
600
+ export type WheelEventHandler<Target extends EventTarget> = EventHandler<
601
+ TargetedWheelEvent<Target>
602
+ >;
603
+ export type PictureInPictureEventHandler<Target extends EventTarget> =
604
+ EventHandler<TargetedPictureInPictureEvent<Target>>;
605
+
606
+ export interface DOMAttributes<
607
+ Target extends EventTarget
608
+ > extends PreactDOMAttributes {
609
+ // Image Events
610
+ onLoad?: GenericEventHandler<Target> | undefined;
611
+ onLoadCapture?: GenericEventHandler<Target> | undefined;
612
+ onError?: GenericEventHandler<Target> | undefined;
613
+ onErrorCapture?: GenericEventHandler<Target> | undefined;
614
+
615
+ // Clipboard Events
616
+ onCopy?: ClipboardEventHandler<Target> | undefined;
617
+ onCopyCapture?: ClipboardEventHandler<Target> | undefined;
618
+ onCut?: ClipboardEventHandler<Target> | undefined;
619
+ onCutCapture?: ClipboardEventHandler<Target> | undefined;
620
+ onPaste?: ClipboardEventHandler<Target> | undefined;
621
+ onPasteCapture?: ClipboardEventHandler<Target> | undefined;
622
+
623
+ // Composition Events
624
+ onCompositionEnd?: CompositionEventHandler<Target> | undefined;
625
+ onCompositionEndCapture?: CompositionEventHandler<Target> | undefined;
626
+ onCompositionStart?: CompositionEventHandler<Target> | undefined;
627
+ onCompositionStartCapture?: CompositionEventHandler<Target> | undefined;
628
+ onCompositionUpdate?: CompositionEventHandler<Target> | undefined;
629
+ onCompositionUpdateCapture?: CompositionEventHandler<Target> | undefined;
630
+
631
+ // Popover Events
632
+ onBeforeToggle?: ToggleEventHandler<Target> | undefined;
633
+ onToggle?: ToggleEventHandler<Target> | undefined;
634
+
635
+ // Dialog Events
636
+ onClose?: GenericEventHandler<Target> | undefined;
637
+ onCancel?: GenericEventHandler<Target> | undefined;
638
+
639
+ // Focus Events
640
+ onFocus?: FocusEventHandler<Target> | undefined;
641
+ onFocusCapture?: FocusEventHandler<Target> | undefined;
642
+ onFocusIn?: FocusEventHandler<Target> | undefined;
643
+ onFocusInCapture?: FocusEventHandler<Target> | undefined;
644
+ onFocusOut?: FocusEventHandler<Target> | undefined;
645
+ onFocusOutCapture?: FocusEventHandler<Target> | undefined;
646
+ onBlur?: FocusEventHandler<Target> | undefined;
647
+ onBlurCapture?: FocusEventHandler<Target> | undefined;
648
+
649
+ // Form Events
650
+ onChange?: GenericEventHandler<Target> | undefined;
651
+ onChangeCapture?: GenericEventHandler<Target> | undefined;
652
+ onInput?: InputEventHandler<Target> | undefined;
653
+ onInputCapture?: InputEventHandler<Target> | undefined;
654
+ onBeforeInput?: InputEventHandler<Target> | undefined;
655
+ onBeforeInputCapture?: InputEventHandler<Target> | undefined;
656
+ onSearch?: GenericEventHandler<Target> | undefined;
657
+ onSearchCapture?: GenericEventHandler<Target> | undefined;
658
+ onSubmit?: SubmitEventHandler<Target> | undefined;
659
+ onSubmitCapture?: SubmitEventHandler<Target> | undefined;
660
+ onInvalid?: GenericEventHandler<Target> | undefined;
661
+ onInvalidCapture?: GenericEventHandler<Target> | undefined;
662
+ onReset?: GenericEventHandler<Target> | undefined;
663
+ onResetCapture?: GenericEventHandler<Target> | undefined;
664
+ onFormData?: GenericEventHandler<Target> | undefined;
665
+ onFormDataCapture?: GenericEventHandler<Target> | undefined;
666
+
667
+ // Keyboard Events
668
+ onKeyDown?: KeyboardEventHandler<Target> | undefined;
669
+ onKeyDownCapture?: KeyboardEventHandler<Target> | undefined;
670
+ onKeyPress?: KeyboardEventHandler<Target> | undefined;
671
+ onKeyPressCapture?: KeyboardEventHandler<Target> | undefined;
672
+ onKeyUp?: KeyboardEventHandler<Target> | undefined;
673
+ onKeyUpCapture?: KeyboardEventHandler<Target> | undefined;
674
+
675
+ // Media Events
676
+ onAbort?: GenericEventHandler<Target> | undefined;
677
+ onAbortCapture?: GenericEventHandler<Target> | undefined;
678
+ onCanPlay?: GenericEventHandler<Target> | undefined;
679
+ onCanPlayCapture?: GenericEventHandler<Target> | undefined;
680
+ onCanPlayThrough?: GenericEventHandler<Target> | undefined;
681
+ onCanPlayThroughCapture?: GenericEventHandler<Target> | undefined;
682
+ onDurationChange?: GenericEventHandler<Target> | undefined;
683
+ onDurationChangeCapture?: GenericEventHandler<Target> | undefined;
684
+ onEmptied?: GenericEventHandler<Target> | undefined;
685
+ onEmptiedCapture?: GenericEventHandler<Target> | undefined;
686
+ onEncrypted?: GenericEventHandler<Target> | undefined;
687
+ onEncryptedCapture?: GenericEventHandler<Target> | undefined;
688
+ onEnded?: GenericEventHandler<Target> | undefined;
689
+ onEndedCapture?: GenericEventHandler<Target> | undefined;
690
+ onLoadedData?: GenericEventHandler<Target> | undefined;
691
+ onLoadedDataCapture?: GenericEventHandler<Target> | undefined;
692
+ onLoadedMetadata?: GenericEventHandler<Target> | undefined;
693
+ onLoadedMetadataCapture?: GenericEventHandler<Target> | undefined;
694
+ onLoadStart?: GenericEventHandler<Target> | undefined;
695
+ onLoadStartCapture?: GenericEventHandler<Target> | undefined;
696
+ onPause?: GenericEventHandler<Target> | undefined;
697
+ onPauseCapture?: GenericEventHandler<Target> | undefined;
698
+ onPlay?: GenericEventHandler<Target> | undefined;
699
+ onPlayCapture?: GenericEventHandler<Target> | undefined;
700
+ onPlaying?: GenericEventHandler<Target> | undefined;
701
+ onPlayingCapture?: GenericEventHandler<Target> | undefined;
702
+ onProgress?: GenericEventHandler<Target> | undefined;
703
+ onProgressCapture?: GenericEventHandler<Target> | undefined;
704
+ onRateChange?: GenericEventHandler<Target> | undefined;
705
+ onRateChangeCapture?: GenericEventHandler<Target> | undefined;
706
+ onSeeked?: GenericEventHandler<Target> | undefined;
707
+ onSeekedCapture?: GenericEventHandler<Target> | undefined;
708
+ onSeeking?: GenericEventHandler<Target> | undefined;
709
+ onSeekingCapture?: GenericEventHandler<Target> | undefined;
710
+ onStalled?: GenericEventHandler<Target> | undefined;
711
+ onStalledCapture?: GenericEventHandler<Target> | undefined;
712
+ onSuspend?: GenericEventHandler<Target> | undefined;
713
+ onSuspendCapture?: GenericEventHandler<Target> | undefined;
714
+ onTimeUpdate?: GenericEventHandler<Target> | undefined;
715
+ onTimeUpdateCapture?: GenericEventHandler<Target> | undefined;
716
+ onVolumeChange?: GenericEventHandler<Target> | undefined;
717
+ onVolumeChangeCapture?: GenericEventHandler<Target> | undefined;
718
+ onWaiting?: GenericEventHandler<Target> | undefined;
719
+ onWaitingCapture?: GenericEventHandler<Target> | undefined;
720
+
721
+ // MouseEvents
722
+ onClick?: MouseEventHandler<Target> | undefined;
723
+ onClickCapture?: MouseEventHandler<Target> | undefined;
724
+ onContextMenu?: MouseEventHandler<Target> | undefined;
725
+ onContextMenuCapture?: MouseEventHandler<Target> | undefined;
726
+ onDblClick?: MouseEventHandler<Target> | undefined;
727
+ onDblClickCapture?: MouseEventHandler<Target> | undefined;
728
+ onDrag?: DragEventHandler<Target> | undefined;
729
+ onDragCapture?: DragEventHandler<Target> | undefined;
730
+ onDragEnd?: DragEventHandler<Target> | undefined;
731
+ onDragEndCapture?: DragEventHandler<Target> | undefined;
732
+ onDragEnter?: DragEventHandler<Target> | undefined;
733
+ onDragEnterCapture?: DragEventHandler<Target> | undefined;
734
+ onDragExit?: DragEventHandler<Target> | undefined;
735
+ onDragExitCapture?: DragEventHandler<Target> | undefined;
736
+ onDragLeave?: DragEventHandler<Target> | undefined;
737
+ onDragLeaveCapture?: DragEventHandler<Target> | undefined;
738
+ onDragOver?: DragEventHandler<Target> | undefined;
739
+ onDragOverCapture?: DragEventHandler<Target> | undefined;
740
+ onDragStart?: DragEventHandler<Target> | undefined;
741
+ onDragStartCapture?: DragEventHandler<Target> | undefined;
742
+ onDrop?: DragEventHandler<Target> | undefined;
743
+ onDropCapture?: DragEventHandler<Target> | undefined;
744
+ onMouseDown?: MouseEventHandler<Target> | undefined;
745
+ onMouseDownCapture?: MouseEventHandler<Target> | undefined;
746
+ onMouseEnter?: MouseEventHandler<Target> | undefined;
747
+ onMouseEnterCapture?: MouseEventHandler<Target> | undefined;
748
+ onMouseLeave?: MouseEventHandler<Target> | undefined;
749
+ onMouseLeaveCapture?: MouseEventHandler<Target> | undefined;
750
+ onMouseMove?: MouseEventHandler<Target> | undefined;
751
+ onMouseMoveCapture?: MouseEventHandler<Target> | undefined;
752
+ onMouseOut?: MouseEventHandler<Target> | undefined;
753
+ onMouseOutCapture?: MouseEventHandler<Target> | undefined;
754
+ onMouseOver?: MouseEventHandler<Target> | undefined;
755
+ onMouseOverCapture?: MouseEventHandler<Target> | undefined;
756
+ onMouseUp?: MouseEventHandler<Target> | undefined;
757
+ onMouseUpCapture?: MouseEventHandler<Target> | undefined;
758
+ // TODO: Spec for `auxclick` events was changed to make it a PointerEvent but only
759
+ // Chrome has support for it yet. When more browsers align we should change this.
760
+ // https://developer.mozilla.org/en-US/docs/Web/API/Element/auxclick_event#browser_compatibility
761
+ onAuxClick?: MouseEventHandler<Target> | undefined;
762
+ onAuxClickCapture?: MouseEventHandler<Target> | undefined;
763
+
764
+ // Selection Events
765
+ onSelect?: GenericEventHandler<Target> | undefined;
766
+ onSelectCapture?: GenericEventHandler<Target> | undefined;
767
+
768
+ // Touch Events
769
+ onTouchCancel?: TouchEventHandler<Target> | undefined;
770
+ onTouchCancelCapture?: TouchEventHandler<Target> | undefined;
771
+ onTouchEnd?: TouchEventHandler<Target> | undefined;
772
+ onTouchEndCapture?: TouchEventHandler<Target> | undefined;
773
+ onTouchMove?: TouchEventHandler<Target> | undefined;
774
+ onTouchMoveCapture?: TouchEventHandler<Target> | undefined;
775
+ onTouchStart?: TouchEventHandler<Target> | undefined;
776
+ onTouchStartCapture?: TouchEventHandler<Target> | undefined;
777
+
778
+ // Pointer Events
779
+ onPointerOver?: PointerEventHandler<Target> | undefined;
780
+ onPointerOverCapture?: PointerEventHandler<Target> | undefined;
781
+ onPointerEnter?: PointerEventHandler<Target> | undefined;
782
+ onPointerEnterCapture?: PointerEventHandler<Target> | undefined;
783
+ onPointerDown?: PointerEventHandler<Target> | undefined;
784
+ onPointerDownCapture?: PointerEventHandler<Target> | undefined;
785
+ onPointerMove?: PointerEventHandler<Target> | undefined;
786
+ onPointerMoveCapture?: PointerEventHandler<Target> | undefined;
787
+ onPointerUp?: PointerEventHandler<Target> | undefined;
788
+ onPointerUpCapture?: PointerEventHandler<Target> | undefined;
789
+ onPointerCancel?: PointerEventHandler<Target> | undefined;
790
+ onPointerCancelCapture?: PointerEventHandler<Target> | undefined;
791
+ onPointerOut?: PointerEventHandler<Target> | undefined;
792
+ onPointerOutCapture?: PointerEventHandler<Target> | undefined;
793
+ onPointerLeave?: PointerEventHandler<Target> | undefined;
794
+ onPointerLeaveCapture?: PointerEventHandler<Target> | undefined;
795
+ onGotPointerCapture?: PointerEventHandler<Target> | undefined;
796
+ onGotPointerCaptureCapture?: PointerEventHandler<Target> | undefined;
797
+ onLostPointerCapture?: PointerEventHandler<Target> | undefined;
798
+ onLostPointerCaptureCapture?: PointerEventHandler<Target> | undefined;
799
+
800
+ // Scroll Events
801
+ onScroll?: GenericEventHandler<Target> | undefined;
802
+ onScrollCapture?: GenericEventHandler<Target> | undefined;
803
+ onScrollEnd?: GenericEventHandler<Target> | undefined;
804
+ onScrollEndCapture?: GenericEventHandler<Target> | undefined;
805
+ onScrollSnapChange?: SnapEventHandler<Target> | undefined;
806
+ onScrollSnapChangeCapture?: SnapEventHandler<Target> | undefined;
807
+ onScrollSnapChanging?: SnapEventHandler<Target> | undefined;
808
+ onScrollSnapChangingCapture?: SnapEventHandler<Target> | undefined;
809
+
810
+ // Wheel Events
811
+ onWheel?: WheelEventHandler<Target> | undefined;
812
+ onWheelCapture?: WheelEventHandler<Target> | undefined;
813
+
814
+ // Animation Events
815
+ onAnimationStart?: AnimationEventHandler<Target> | undefined;
816
+ onAnimationStartCapture?: AnimationEventHandler<Target> | undefined;
817
+ onAnimationEnd?: AnimationEventHandler<Target> | undefined;
818
+ onAnimationEndCapture?: AnimationEventHandler<Target> | undefined;
819
+ onAnimationIteration?: AnimationEventHandler<Target> | undefined;
820
+ onAnimationIterationCapture?: AnimationEventHandler<Target> | undefined;
821
+
822
+ // Transition Events
823
+ onTransitionCancel?: TransitionEventHandler<Target>;
824
+ onTransitionCancelCapture?: TransitionEventHandler<Target>;
825
+ onTransitionEnd?: TransitionEventHandler<Target>;
826
+ onTransitionEndCapture?: TransitionEventHandler<Target>;
827
+ onTransitionRun?: TransitionEventHandler<Target>;
828
+ onTransitionRunCapture?: TransitionEventHandler<Target>;
829
+ onTransitionStart?: TransitionEventHandler<Target>;
830
+ onTransitionStartCapture?: TransitionEventHandler<Target>;
831
+
832
+ // PictureInPicture Events
833
+ onEnterPictureInPicture?: PictureInPictureEventHandler<Target>;
834
+ onEnterPictureInPictureCapture?: PictureInPictureEventHandler<Target>;
835
+ onLeavePictureInPicture?: PictureInPictureEventHandler<Target>;
836
+ onLeavePictureInPictureCapture?: PictureInPictureEventHandler<Target>;
837
+ onResize?: PictureInPictureEventHandler<Target>;
838
+ onResizeCapture?: PictureInPictureEventHandler<Target>;
839
+
840
+ onCommand?: CommandEventHandler<Target>;
841
+ }
842
+
843
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
844
+ export interface AriaAttributes {
845
+ /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
846
+ 'aria-activedescendant'?: Signalish<string | undefined>;
847
+ /** 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. */
848
+ 'aria-atomic'?: Signalish<Booleanish | undefined>;
849
+ /**
850
+ * 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
851
+ * presented if they are made.
852
+ */
853
+ 'aria-autocomplete'?: Signalish<
854
+ 'none' | 'inline' | 'list' | 'both' | undefined
855
+ >;
856
+ /**
857
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
858
+ * @see aria-label.
859
+ */
860
+ 'aria-braillelabel'?: Signalish<string | undefined>;
861
+ /**
862
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
863
+ * @see aria-roledescription.
864
+ */
865
+ 'aria-brailleroledescription'?: Signalish<string | undefined>;
866
+ /** 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. */
867
+ 'aria-busy'?: Signalish<Booleanish | undefined>;
868
+ /**
869
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
870
+ * @see aria-pressed
871
+ * @see aria-selected.
872
+ */
873
+ 'aria-checked'?: Signalish<Booleanish | 'mixed' | undefined>;
874
+ /**
875
+ * Defines the total number of columns in a table, grid, or treegrid.
876
+ * @see aria-colindex.
877
+ */
878
+ 'aria-colcount'?: Signalish<number | undefined>;
879
+ /**
880
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
881
+ * @see aria-colcount
882
+ * @see aria-colspan.
883
+ */
884
+ 'aria-colindex'?: Signalish<number | undefined>;
885
+ /**
886
+ * Defines a human readable text alternative of aria-colindex.
887
+ * @see aria-rowindextext.
888
+ */
889
+ 'aria-colindextext'?: Signalish<string | undefined>;
890
+ /**
891
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
892
+ * @see aria-colindex
893
+ * @see aria-rowspan.
894
+ */
895
+ 'aria-colspan'?: Signalish<number | undefined>;
896
+ /**
897
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
898
+ * @see aria-owns.
899
+ */
900
+ 'aria-controls'?: Signalish<string | undefined>;
901
+ /** Indicates the element that represents the current item within a container or set of related elements. */
902
+ 'aria-current'?: Signalish<
903
+ Booleanish | 'page' | 'step' | 'location' | 'date' | 'time' | undefined
904
+ >;
905
+ /**
906
+ * Identifies the element (or elements) that describes the object.
907
+ * @see aria-labelledby
908
+ */
909
+ 'aria-describedby'?: Signalish<string | undefined>;
910
+ /**
911
+ * Defines a string value that describes or annotates the current element.
912
+ * @see related aria-describedby.
913
+ */
914
+ 'aria-description'?: Signalish<string | undefined>;
915
+ /**
916
+ * Identifies the element that provides a detailed, extended description for the object.
917
+ * @see aria-describedby.
918
+ */
919
+ 'aria-details'?: Signalish<string | undefined>;
920
+ /**
921
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
922
+ * @see aria-hidden
923
+ * @see aria-readonly.
924
+ */
925
+ 'aria-disabled'?: Signalish<Booleanish | undefined>;
926
+ /**
927
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
928
+ * @deprecated in ARIA 1.1
929
+ */
930
+ 'aria-dropeffect'?: Signalish<
931
+ 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined
932
+ >;
933
+ /**
934
+ * Identifies the element that provides an error message for the object.
935
+ * @see aria-invalid
936
+ * @see aria-describedby.
937
+ */
938
+ 'aria-errormessage'?: Signalish<string | undefined>;
939
+ /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
940
+ 'aria-expanded'?: Signalish<Booleanish | undefined>;
941
+ /**
942
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
943
+ * allows assistive technology to override the general default of reading in document source order.
944
+ */
945
+ 'aria-flowto'?: Signalish<string | undefined>;
946
+ /**
947
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
948
+ * @deprecated in ARIA 1.1
949
+ */
950
+ 'aria-grabbed'?: Signalish<Booleanish | undefined>;
951
+ /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
952
+ 'aria-haspopup'?: Signalish<
953
+ Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined
954
+ >;
955
+ /**
956
+ * Indicates whether the element is exposed to an accessibility API.
957
+ * @see aria-disabled.
958
+ */
959
+ 'aria-hidden'?: Signalish<Booleanish | undefined>;
960
+ /**
961
+ * Indicates the entered value does not conform to the format expected by the application.
962
+ * @see aria-errormessage.
963
+ */
964
+ 'aria-invalid'?: Signalish<Booleanish | 'grammar' | 'spelling' | undefined>;
965
+ /** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
966
+ 'aria-keyshortcuts'?: Signalish<string | undefined>;
967
+ /**
968
+ * Defines a string value that labels the current element.
969
+ * @see aria-labelledby.
970
+ */
971
+ 'aria-label'?: Signalish<string | undefined>;
972
+ /**
973
+ * Identifies the element (or elements) that labels the current element.
974
+ * @see aria-describedby.
975
+ */
976
+ 'aria-labelledby'?: Signalish<string | undefined>;
977
+ /** Defines the hierarchical level of an element within a structure. */
978
+ 'aria-level'?: Signalish<number | undefined>;
979
+ /** 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. */
980
+ 'aria-live'?: Signalish<'off' | 'assertive' | 'polite' | undefined>;
981
+ /** Indicates whether an element is modal when displayed. */
982
+ 'aria-modal'?: Signalish<Booleanish | undefined>;
983
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
984
+ 'aria-multiline'?: Signalish<Booleanish | undefined>;
985
+ /** Indicates that the user may select more than one item from the current selectable descendants. */
986
+ 'aria-multiselectable'?: Signalish<Booleanish | undefined>;
987
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
988
+ 'aria-orientation'?: Signalish<'horizontal' | 'vertical' | undefined>;
989
+ /**
990
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
991
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
992
+ * @see aria-controls.
993
+ */
994
+ 'aria-owns'?: Signalish<string | undefined>;
995
+ /**
996
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
997
+ * A hint could be a sample value or a brief description of the expected format.
998
+ */
999
+ 'aria-placeholder'?: Signalish<string | undefined>;
1000
+ /**
1001
+ * 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.
1002
+ * @see aria-setsize.
1003
+ */
1004
+ 'aria-posinset'?: Signalish<number | undefined>;
1005
+ /**
1006
+ * Indicates the current "pressed" state of toggle buttons.
1007
+ * @see aria-checked
1008
+ * @see aria-selected.
1009
+ */
1010
+ 'aria-pressed'?: Signalish<Booleanish | 'mixed' | undefined>;
1011
+ /**
1012
+ * Indicates that the element is not editable, but is otherwise operable.
1013
+ * @see aria-disabled.
1014
+ */
1015
+ 'aria-readonly'?: Signalish<Booleanish | undefined>;
1016
+ /**
1017
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
1018
+ * @see aria-atomic.
1019
+ */
1020
+ 'aria-relevant'?: Signalish<
1021
+ | 'additions'
1022
+ | 'additions removals'
1023
+ | 'additions text'
1024
+ | 'all'
1025
+ | 'removals'
1026
+ | 'removals additions'
1027
+ | 'removals text'
1028
+ | 'text'
1029
+ | 'text additions'
1030
+ | 'text removals'
1031
+ | undefined
1032
+ >;
1033
+ /** Indicates that user input is required on the element before a form may be submitted. */
1034
+ 'aria-required'?: Signalish<Booleanish | undefined>;
1035
+ /** Defines a human-readable, author-localized description for the role of an element. */
1036
+ 'aria-roledescription'?: Signalish<string | undefined>;
1037
+ /**
1038
+ * Defines the total number of rows in a table, grid, or treegrid.
1039
+ * @see aria-rowindex.
1040
+ */
1041
+ 'aria-rowcount'?: Signalish<number | undefined>;
1042
+ /**
1043
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
1044
+ * @see aria-rowcount
1045
+ * @see aria-rowspan.
1046
+ */
1047
+ 'aria-rowindex'?: Signalish<number | undefined>;
1048
+ /**
1049
+ * Defines a human readable text alternative of aria-rowindex.
1050
+ * @see aria-colindextext.
1051
+ */
1052
+ 'aria-rowindextext'?: Signalish<string | undefined>;
1053
+ /**
1054
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1055
+ * @see aria-rowindex
1056
+ * @see aria-colspan.
1057
+ */
1058
+ 'aria-rowspan'?: Signalish<number | undefined>;
1059
+ /**
1060
+ * Indicates the current "selected" state of various widgets.
1061
+ * @see aria-checked
1062
+ * @see aria-pressed.
1063
+ */
1064
+ 'aria-selected'?: Signalish<Booleanish | undefined>;
1065
+ /**
1066
+ * 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.
1067
+ * @see aria-posinset.
1068
+ */
1069
+ 'aria-setsize'?: Signalish<number | undefined>;
1070
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
1071
+ 'aria-sort'?: Signalish<
1072
+ 'none' | 'ascending' | 'descending' | 'other' | undefined
1073
+ >;
1074
+ /** Defines the maximum allowed value for a range widget. */
1075
+ 'aria-valuemax'?: Signalish<number | undefined>;
1076
+ /** Defines the minimum allowed value for a range widget. */
1077
+ 'aria-valuemin'?: Signalish<number | undefined>;
1078
+ /**
1079
+ * Defines the current value for a range widget.
1080
+ * @see aria-valuetext.
1081
+ */
1082
+ 'aria-valuenow'?: Signalish<number | undefined>;
1083
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
1084
+ 'aria-valuetext'?: Signalish<string | undefined>;
1085
+ }
1086
+
1087
+ // All the WAI-ARIA 1.2 role attribute values from https://www.w3.org/TR/wai-aria-1.2/#role_definitions
1088
+ export type WAIAriaRole =
1089
+ | 'alert'
1090
+ | 'alertdialog'
1091
+ | 'application'
1092
+ | 'article'
1093
+ | 'banner'
1094
+ | 'blockquote'
1095
+ | 'button'
1096
+ | 'caption'
1097
+ | 'cell'
1098
+ | 'checkbox'
1099
+ | 'code'
1100
+ | 'columnheader'
1101
+ | 'combobox'
1102
+ | 'command'
1103
+ | 'complementary'
1104
+ | 'composite'
1105
+ | 'contentinfo'
1106
+ | 'definition'
1107
+ | 'deletion'
1108
+ | 'dialog'
1109
+ | 'directory'
1110
+ | 'document'
1111
+ | 'emphasis'
1112
+ | 'feed'
1113
+ | 'figure'
1114
+ | 'form'
1115
+ | 'grid'
1116
+ | 'gridcell'
1117
+ | 'group'
1118
+ | 'heading'
1119
+ | 'img'
1120
+ | 'input'
1121
+ | 'insertion'
1122
+ | 'landmark'
1123
+ | 'link'
1124
+ | 'list'
1125
+ | 'listbox'
1126
+ | 'listitem'
1127
+ | 'log'
1128
+ | 'main'
1129
+ | 'marquee'
1130
+ | 'math'
1131
+ | 'meter'
1132
+ | 'menu'
1133
+ | 'menubar'
1134
+ | 'menuitem'
1135
+ | 'menuitemcheckbox'
1136
+ | 'menuitemradio'
1137
+ | 'navigation'
1138
+ | 'none'
1139
+ | 'note'
1140
+ | 'option'
1141
+ | 'paragraph'
1142
+ | 'presentation'
1143
+ | 'progressbar'
1144
+ | 'radio'
1145
+ | 'radiogroup'
1146
+ | 'range'
1147
+ | 'region'
1148
+ | 'roletype'
1149
+ | 'row'
1150
+ | 'rowgroup'
1151
+ | 'rowheader'
1152
+ | 'scrollbar'
1153
+ | 'search'
1154
+ | 'searchbox'
1155
+ | 'section'
1156
+ | 'sectionhead'
1157
+ | 'select'
1158
+ | 'separator'
1159
+ | 'slider'
1160
+ | 'spinbutton'
1161
+ | 'status'
1162
+ | 'strong'
1163
+ | 'structure'
1164
+ | 'subscript'
1165
+ | 'superscript'
1166
+ | 'switch'
1167
+ | 'tab'
1168
+ | 'table'
1169
+ | 'tablist'
1170
+ | 'tabpanel'
1171
+ | 'term'
1172
+ | 'textbox'
1173
+ | 'time'
1174
+ | 'timer'
1175
+ | 'toolbar'
1176
+ | 'tooltip'
1177
+ | 'tree'
1178
+ | 'treegrid'
1179
+ | 'treeitem'
1180
+ | 'widget'
1181
+ | 'window'
1182
+ | 'none presentation';
1183
+
1184
+ // All the Digital Publishing WAI-ARIA 1.0 role attribute values from https://www.w3.org/TR/dpub-aria-1.0/#role_definitions
1185
+ export type DPubAriaRole =
1186
+ | 'doc-abstract'
1187
+ | 'doc-acknowledgments'
1188
+ | 'doc-afterword'
1189
+ | 'doc-appendix'
1190
+ | 'doc-backlink'
1191
+ | 'doc-biblioentry'
1192
+ | 'doc-bibliography'
1193
+ | 'doc-biblioref'
1194
+ | 'doc-chapter'
1195
+ | 'doc-colophon'
1196
+ | 'doc-conclusion'
1197
+ | 'doc-cover'
1198
+ | 'doc-credit'
1199
+ | 'doc-credits'
1200
+ | 'doc-dedication'
1201
+ | 'doc-endnote'
1202
+ | 'doc-endnotes'
1203
+ | 'doc-epigraph'
1204
+ | 'doc-epilogue'
1205
+ | 'doc-errata'
1206
+ | 'doc-example'
1207
+ | 'doc-footnote'
1208
+ | 'doc-foreword'
1209
+ | 'doc-glossary'
1210
+ | 'doc-glossref'
1211
+ | 'doc-index'
1212
+ | 'doc-introduction'
1213
+ | 'doc-noteref'
1214
+ | 'doc-notice'
1215
+ | 'doc-pagebreak'
1216
+ | 'doc-pagelist'
1217
+ | 'doc-part'
1218
+ | 'doc-preface'
1219
+ | 'doc-prologue'
1220
+ | 'doc-pullquote'
1221
+ | 'doc-qna'
1222
+ | 'doc-subtitle'
1223
+ | 'doc-tip'
1224
+ | 'doc-toc';
1225
+
1226
+ export type AriaRole = WAIAriaRole | DPubAriaRole;
1227
+
1228
+ export interface AllHTMLAttributes<RefType extends EventTarget = EventTarget>
1229
+ extends ClassAttributes<RefType>, DOMAttributes<RefType>, AriaAttributes {
1230
+ // Standard HTML Attributes
1231
+ accept?: Signalish<string | undefined>;
1232
+ acceptCharset?: Signalish<string | undefined>;
1233
+ 'accept-charset'?: Signalish<AllHTMLAttributes['acceptCharset']>;
1234
+ accessKey?: Signalish<string | undefined>;
1235
+ accesskey?: Signalish<AllHTMLAttributes['accessKey']>;
1236
+ action?: Signalish<string | undefined>;
1237
+ allow?: Signalish<string | undefined>;
1238
+ allowFullScreen?: Signalish<boolean | undefined>;
1239
+ allowTransparency?: Signalish<boolean | undefined>;
1240
+ alt?: Signalish<string | undefined>;
1241
+ as?: Signalish<string | undefined>;
1242
+ async?: Signalish<boolean | undefined>;
1243
+ autocomplete?: Signalish<string | undefined>;
1244
+ autoComplete?: Signalish<string | undefined>;
1245
+ autocorrect?: Signalish<string | undefined>;
1246
+ autoCorrect?: Signalish<string | undefined>;
1247
+ autofocus?: Signalish<boolean | undefined>;
1248
+ autoFocus?: Signalish<boolean | undefined>;
1249
+ autoPlay?: Signalish<boolean | undefined>;
1250
+ autoplay?: Signalish<boolean | undefined>;
1251
+ capture?: Signalish<boolean | string | undefined>;
1252
+ cellPadding?: Signalish<number | string | undefined>;
1253
+ cellSpacing?: Signalish<number | string | undefined>;
1254
+ charSet?: Signalish<string | undefined>;
1255
+ charset?: Signalish<string | undefined>;
1256
+ challenge?: Signalish<string | undefined>;
1257
+ checked?: Signalish<boolean | undefined>;
1258
+ cite?: Signalish<string | undefined>;
1259
+ class?: Signalish<string | undefined>;
1260
+ className?: Signalish<string | undefined>;
1261
+ cols?: Signalish<number | undefined>;
1262
+ colSpan?: Signalish<number | undefined>;
1263
+ colspan?: Signalish<number | undefined>;
1264
+ content?: Signalish<string | undefined>;
1265
+ contentEditable?: Signalish<
1266
+ Booleanish | '' | 'plaintext-only' | 'inherit' | undefined
1267
+ >;
1268
+ contenteditable?: Signalish<AllHTMLAttributes['contentEditable']>;
1269
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu */
1270
+ contextMenu?: Signalish<string | undefined>;
1271
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu */
1272
+ contextmenu?: Signalish<string | undefined>;
1273
+ controls?: Signalish<boolean | undefined>;
1274
+ controlslist?: Signalish<string | undefined>;
1275
+ controlsList?: Signalish<string | undefined>;
1276
+ coords?: Signalish<string | undefined>;
1277
+ crossOrigin?: Signalish<string | undefined>;
1278
+ crossorigin?: Signalish<string | undefined>;
1279
+ currentTime?: Signalish<number | undefined>;
1280
+ data?: Signalish<string | undefined>;
1281
+ dateTime?: Signalish<string | undefined>;
1282
+ datetime?: Signalish<string | undefined>;
1283
+ default?: Signalish<boolean | undefined>;
1284
+ defaultChecked?: Signalish<boolean | undefined>;
1285
+ defaultMuted?: Signalish<boolean | undefined>;
1286
+ defaultPlaybackRate?: Signalish<number | undefined>;
1287
+ defaultValue?: Signalish<string | undefined>;
1288
+ defer?: Signalish<boolean | undefined>;
1289
+ dir?: Signalish<'auto' | 'rtl' | 'ltr' | undefined>;
1290
+ disabled?: Signalish<boolean | undefined>;
1291
+ disableremoteplayback?: Signalish<boolean | undefined>;
1292
+ disableRemotePlayback?: Signalish<boolean | undefined>;
1293
+ download?: Signalish<any | undefined>;
1294
+ decoding?: Signalish<'sync' | 'async' | 'auto' | undefined>;
1295
+ draggable?: Signalish<boolean | undefined>;
1296
+ encType?: Signalish<string | undefined>;
1297
+ enctype?: Signalish<string | undefined>;
1298
+ enterkeyhint?: Signalish<
1299
+ | 'enter'
1300
+ | 'done'
1301
+ | 'go'
1302
+ | 'next'
1303
+ | 'previous'
1304
+ | 'search'
1305
+ | 'send'
1306
+ | undefined
1307
+ >;
1308
+ elementTiming?: Signalish<string | undefined>;
1309
+ elementtiming?: Signalish<AllHTMLAttributes['elementTiming']>;
1310
+ exportparts?: Signalish<string | undefined>;
1311
+ for?: Signalish<string | undefined>;
1312
+ form?: Signalish<string | undefined>;
1313
+ formAction?: Signalish<string | undefined>;
1314
+ formaction?: Signalish<string | undefined>;
1315
+ formEncType?: Signalish<string | undefined>;
1316
+ formenctype?: Signalish<string | undefined>;
1317
+ formMethod?: Signalish<string | undefined>;
1318
+ formmethod?: Signalish<string | undefined>;
1319
+ formNoValidate?: Signalish<boolean | undefined>;
1320
+ formnovalidate?: Signalish<boolean | undefined>;
1321
+ formTarget?: Signalish<string | undefined>;
1322
+ formtarget?: Signalish<string | undefined>;
1323
+ frameBorder?: Signalish<number | string | undefined>;
1324
+ frameborder?: Signalish<number | string | undefined>;
1325
+ headers?: Signalish<string | undefined>;
1326
+ height?: Signalish<number | string | undefined>;
1327
+ hidden?: Signalish<boolean | 'hidden' | 'until-found' | undefined>;
1328
+ high?: Signalish<number | undefined>;
1329
+ href?: Signalish<string | undefined>;
1330
+ hrefLang?: Signalish<string | undefined>;
1331
+ hreflang?: Signalish<string | undefined>;
1332
+ htmlFor?: Signalish<string | undefined>;
1333
+ httpEquiv?: Signalish<string | undefined>;
1334
+ 'http-equiv'?: Signalish<string | undefined>;
1335
+ icon?: Signalish<string | undefined>;
1336
+ id?: Signalish<string | undefined>;
1337
+ indeterminate?: Signalish<boolean | undefined>;
1338
+ inert?: Signalish<boolean | undefined>;
1339
+ inputMode?: Signalish<string | undefined>;
1340
+ inputmode?: Signalish<string | undefined>;
1341
+ integrity?: Signalish<string | undefined>;
1342
+ is?: Signalish<string | undefined>;
1343
+ keyParams?: Signalish<string | undefined>;
1344
+ keyType?: Signalish<string | undefined>;
1345
+ kind?: Signalish<string | undefined>;
1346
+ label?: Signalish<string | undefined>;
1347
+ lang?: Signalish<string | undefined>;
1348
+ list?: Signalish<string | undefined>;
1349
+ loading?: Signalish<'eager' | 'lazy' | undefined>;
1350
+ loop?: Signalish<boolean | undefined>;
1351
+ low?: Signalish<number | undefined>;
1352
+ manifest?: Signalish<string | undefined>;
1353
+ marginHeight?: Signalish<number | undefined>;
1354
+ marginWidth?: Signalish<number | undefined>;
1355
+ max?: Signalish<number | string | undefined>;
1356
+ maxLength?: Signalish<number | undefined>;
1357
+ maxlength?: Signalish<number | undefined>;
1358
+ media?: Signalish<string | undefined>;
1359
+ mediaGroup?: Signalish<string | undefined>;
1360
+ method?: Signalish<string | undefined>;
1361
+ min?: Signalish<number | string | undefined>;
1362
+ minLength?: Signalish<number | undefined>;
1363
+ minlength?: Signalish<number | undefined>;
1364
+ multiple?: Signalish<boolean | undefined>;
1365
+ muted?: Signalish<boolean | undefined>;
1366
+ name?: Signalish<string | undefined>;
1367
+ nomodule?: Signalish<boolean | undefined>;
1368
+ nonce?: Signalish<string | undefined>;
1369
+ noValidate?: Signalish<boolean | undefined>;
1370
+ novalidate?: Signalish<boolean | undefined>;
1371
+ open?: Signalish<boolean | undefined>;
1372
+ optimum?: Signalish<number | undefined>;
1373
+ part?: Signalish<string | undefined>;
1374
+ pattern?: Signalish<string | undefined>;
1375
+ ping?: Signalish<string | undefined>;
1376
+ placeholder?: Signalish<string | undefined>;
1377
+ playsInline?: Signalish<boolean | undefined>;
1378
+ playsinline?: Signalish<boolean | undefined>;
1379
+ playbackRate?: Signalish<number | undefined>;
1380
+ popover?: Signalish<'auto' | 'hint' | 'manual' | boolean | undefined>;
1381
+ popovertarget?: Signalish<string | undefined>;
1382
+ popoverTarget?: Signalish<string | undefined>;
1383
+ popovertargetaction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1384
+ popoverTargetAction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1385
+ poster?: Signalish<string | undefined>;
1386
+ preload?: Signalish<'auto' | 'metadata' | 'none' | undefined>;
1387
+ preservesPitch?: Signalish<boolean | undefined>;
1388
+ radioGroup?: Signalish<string | undefined>;
1389
+ readonly?: Signalish<boolean | undefined>;
1390
+ readOnly?: Signalish<boolean | undefined>;
1391
+ referrerpolicy?: Signalish<
1392
+ | 'no-referrer'
1393
+ | 'no-referrer-when-downgrade'
1394
+ | 'origin'
1395
+ | 'origin-when-cross-origin'
1396
+ | 'same-origin'
1397
+ | 'strict-origin'
1398
+ | 'strict-origin-when-cross-origin'
1399
+ | 'unsafe-url'
1400
+ | undefined
1401
+ >;
1402
+ rel?: Signalish<string | undefined>;
1403
+ required?: Signalish<boolean | undefined>;
1404
+ reversed?: Signalish<boolean | undefined>;
1405
+ role?: Signalish<AriaRole | undefined>;
1406
+ rows?: Signalish<number | undefined>;
1407
+ rowSpan?: Signalish<number | undefined>;
1408
+ rowspan?: Signalish<number | undefined>;
1409
+ sandbox?: Signalish<string | undefined>;
1410
+ scope?: Signalish<string | undefined>;
1411
+ scoped?: Signalish<boolean | undefined>;
1412
+ scrolling?: Signalish<string | undefined>;
1413
+ seamless?: Signalish<boolean | undefined>;
1414
+ selected?: Signalish<boolean | undefined>;
1415
+ shape?: Signalish<string | undefined>;
1416
+ size?: Signalish<number | undefined>;
1417
+ sizes?: Signalish<string | undefined>;
1418
+ slot?: Signalish<string | undefined>;
1419
+ span?: Signalish<number | undefined>;
1420
+ spellcheck?: Signalish<boolean | undefined>;
1421
+ src?: Signalish<string | undefined>;
1422
+ srcDoc?: Signalish<string | undefined>;
1423
+ srcdoc?: Signalish<string | undefined>;
1424
+ srcLang?: Signalish<string | undefined>;
1425
+ srclang?: Signalish<string | undefined>;
1426
+ srcSet?: Signalish<string | undefined>;
1427
+ srcset?: Signalish<string | undefined>;
1428
+ srcObject?: Signalish<MediaStream | MediaSource | Blob | File | null>;
1429
+ start?: Signalish<number | undefined>;
1430
+ step?: Signalish<number | string | undefined>;
1431
+ style?: Signalish<string | CSSProperties | undefined>;
1432
+ summary?: Signalish<string | undefined>;
1433
+ tabIndex?: Signalish<number | undefined>;
1434
+ tabindex?: Signalish<number | undefined>;
1435
+ target?: Signalish<string | undefined>;
1436
+ title?: Signalish<string | undefined>;
1437
+ type?: Signalish<string | undefined>;
1438
+ useMap?: Signalish<string | undefined>;
1439
+ usemap?: Signalish<string | undefined>;
1440
+ value?: Signalish<string | string[] | number | undefined>;
1441
+ volume?: Signalish<string | number | undefined>;
1442
+ width?: Signalish<number | string | undefined>;
1443
+ wmode?: Signalish<string | undefined>;
1444
+ wrap?: Signalish<string | undefined>;
1445
+
1446
+ // Non-standard Attributes
1447
+ autocapitalize?: Signalish<
1448
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1449
+ >;
1450
+ autoCapitalize?: Signalish<
1451
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1452
+ >;
1453
+ disablePictureInPicture?: Signalish<boolean | undefined>;
1454
+ results?: Signalish<number | undefined>;
1455
+ translate?: Signalish<boolean | undefined>;
1456
+
1457
+ // RDFa Attributes
1458
+ about?: Signalish<string | undefined>;
1459
+ datatype?: Signalish<string | undefined>;
1460
+ inlist?: Signalish<any>;
1461
+ prefix?: Signalish<string | undefined>;
1462
+ property?: Signalish<string | undefined>;
1463
+ resource?: Signalish<string | undefined>;
1464
+ typeof?: Signalish<string | undefined>;
1465
+ vocab?: Signalish<string | undefined>;
1466
+
1467
+ // Microdata Attributes
1468
+ itemProp?: Signalish<string | undefined>;
1469
+ itemprop?: Signalish<string | undefined>;
1470
+ itemScope?: Signalish<boolean | undefined>;
1471
+ itemscope?: Signalish<boolean | undefined>;
1472
+ itemType?: Signalish<string | undefined>;
1473
+ itemtype?: Signalish<string | undefined>;
1474
+ itemID?: Signalish<string | undefined>;
1475
+ itemid?: Signalish<string | undefined>;
1476
+ itemRef?: Signalish<string | undefined>;
1477
+ itemref?: Signalish<string | undefined>;
1478
+ }
1479
+
1480
+ export interface HTMLAttributes<RefType extends EventTarget = EventTarget>
1481
+ extends ClassAttributes<RefType>, DOMAttributes<RefType>, AriaAttributes {
1482
+ // Standard HTML Attributes
1483
+ accesskey?: Signalish<string | undefined>;
1484
+ accessKey?: Signalish<string | undefined>;
1485
+ autocapitalize?: Signalish<
1486
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1487
+ >;
1488
+ autoCapitalize?: Signalish<
1489
+ 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | undefined
1490
+ >;
1491
+ autocorrect?: Signalish<string | undefined>;
1492
+ autoCorrect?: Signalish<string | undefined>;
1493
+ autofocus?: Signalish<boolean | undefined>;
1494
+ autoFocus?: Signalish<boolean | undefined>;
1495
+ class?: Signalish<string | undefined>;
1496
+ className?: Signalish<string | undefined>;
1497
+ contenteditable?: Signalish<
1498
+ Booleanish | '' | 'plaintext-only' | 'inherit' | undefined
1499
+ >;
1500
+ contentEditable?: Signalish<
1501
+ Booleanish | '' | 'plaintext-only' | 'inherit' | undefined
1502
+ >;
1503
+ dir?: Signalish<'auto' | 'rtl' | 'ltr' | undefined>;
1504
+ draggable?: Signalish<boolean | undefined>;
1505
+ enterkeyhint?: Signalish<
1506
+ | 'enter'
1507
+ | 'done'
1508
+ | 'go'
1509
+ | 'next'
1510
+ | 'previous'
1511
+ | 'search'
1512
+ | 'send'
1513
+ | undefined
1514
+ >;
1515
+ exportparts?: Signalish<string | undefined>;
1516
+ hidden?: Signalish<boolean | 'hidden' | 'until-found' | undefined>;
1517
+ id?: Signalish<string | undefined>;
1518
+ inert?: Signalish<boolean | undefined>;
1519
+ inputmode?: Signalish<string | undefined>;
1520
+ inputMode?: Signalish<string | undefined>;
1521
+ is?: Signalish<string | undefined>;
1522
+ lang?: Signalish<string | undefined>;
1523
+ nonce?: Signalish<string | undefined>;
1524
+ part?: Signalish<string | undefined>;
1525
+ popover?: Signalish<'auto' | 'hint' | 'manual' | boolean | undefined>;
1526
+ slot?: Signalish<string | undefined>;
1527
+ spellcheck?: Signalish<boolean | undefined>;
1528
+ style?: Signalish<string | CSSProperties | undefined>;
1529
+ tabindex?: Signalish<number | undefined>;
1530
+ tabIndex?: Signalish<number | undefined>;
1531
+ title?: Signalish<string | undefined>;
1532
+ translate?: Signalish<boolean | undefined>;
1533
+
1534
+ // WAI-ARIA Attributes
1535
+ role?: Signalish<AriaRole | undefined>;
1536
+
1537
+ // Non-standard Attributes
1538
+ disablePictureInPicture?: Signalish<boolean | undefined>;
1539
+ elementtiming?: Signalish<string | undefined>;
1540
+ elementTiming?: Signalish<string | undefined>;
1541
+ results?: Signalish<number | undefined>;
1542
+
1543
+ // RDFa Attributes
1544
+ about?: Signalish<string | undefined>;
1545
+ datatype?: Signalish<string | undefined>;
1546
+ inlist?: Signalish<any>;
1547
+ prefix?: Signalish<string | undefined>;
1548
+ property?: Signalish<string | undefined>;
1549
+ resource?: Signalish<string | undefined>;
1550
+ typeof?: Signalish<string | undefined>;
1551
+ vocab?: Signalish<string | undefined>;
1552
+
1553
+ // Microdata Attributes
1554
+ itemid?: Signalish<string | undefined>;
1555
+ itemID?: Signalish<string | undefined>;
1556
+ itemprop?: Signalish<string | undefined>;
1557
+ itemProp?: Signalish<string | undefined>;
1558
+ itemref?: Signalish<string | undefined>;
1559
+ itemRef?: Signalish<string | undefined>;
1560
+ itemscope?: Signalish<boolean | undefined>;
1561
+ itemScope?: Signalish<boolean | undefined>;
1562
+ itemtype?: Signalish<string | undefined>;
1563
+ itemType?: Signalish<string | undefined>;
1564
+ }
1565
+
1566
+ export type HTMLAttributeReferrerPolicy =
1567
+ | ''
1568
+ | 'no-referrer'
1569
+ | 'no-referrer-when-downgrade'
1570
+ | 'origin'
1571
+ | 'origin-when-cross-origin'
1572
+ | 'same-origin'
1573
+ | 'strict-origin'
1574
+ | 'strict-origin-when-cross-origin'
1575
+ | 'unsafe-url';
1576
+
1577
+ export type HTMLAttributeAnchorTarget =
1578
+ | '_self'
1579
+ | '_blank'
1580
+ | '_parent'
1581
+ | '_top'
1582
+ | (string & {});
1583
+
1584
+ export interface AnchorHTMLAttributes<
1585
+ T extends EventTarget = HTMLAnchorElement
1586
+ > extends HTMLAttributes<T> {
1587
+ download?: Signalish<any>;
1588
+ href?: Signalish<string | undefined>;
1589
+ hreflang?: Signalish<string | undefined>;
1590
+ hrefLang?: Signalish<string | undefined>;
1591
+ media?: Signalish<string | undefined>;
1592
+ ping?: Signalish<string | undefined>;
1593
+ rel?: Signalish<string | undefined>;
1594
+ target?: Signalish<HTMLAttributeAnchorTarget | undefined>;
1595
+ type?: Signalish<string | undefined>;
1596
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1597
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1598
+ }
1599
+
1600
+ export interface AreaHTMLAttributes<
1601
+ T extends EventTarget = HTMLAreaElement
1602
+ > extends HTMLAttributes<T> {
1603
+ alt?: Signalish<string | undefined>;
1604
+ coords?: Signalish<string | undefined>;
1605
+ download?: Signalish<any>;
1606
+ href?: Signalish<string | undefined>;
1607
+ hreflang?: Signalish<string | undefined>;
1608
+ hrefLang?: Signalish<string | undefined>;
1609
+ media?: Signalish<string | undefined>;
1610
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1611
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1612
+ rel?: Signalish<string | undefined>;
1613
+ shape?: Signalish<string | undefined>;
1614
+ target?: Signalish<HTMLAttributeAnchorTarget | undefined>;
1615
+ }
1616
+
1617
+ export interface AudioHTMLAttributes<
1618
+ T extends EventTarget = HTMLAudioElement
1619
+ > extends MediaHTMLAttributes<T> {}
1620
+
1621
+ export interface BaseHTMLAttributes<
1622
+ T extends EventTarget = HTMLBaseElement
1623
+ > extends HTMLAttributes<T> {
1624
+ href?: Signalish<string | undefined>;
1625
+ target?: Signalish<HTMLAttributeAnchorTarget | undefined>;
1626
+ }
1627
+
1628
+ export interface BlockquoteHTMLAttributes<
1629
+ T extends EventTarget = HTMLQuoteElement
1630
+ > extends HTMLAttributes<T> {
1631
+ cite?: Signalish<string | undefined>;
1632
+ }
1633
+
1634
+ export interface ButtonHTMLAttributes<
1635
+ T extends EventTarget = HTMLButtonElement
1636
+ > extends HTMLAttributes<T> {
1637
+ command?: Signalish<string | undefined>;
1638
+ commandfor?: Signalish<string | undefined>;
1639
+ commandFor?: Signalish<string | undefined>;
1640
+ disabled?: Signalish<boolean | undefined>;
1641
+ form?: Signalish<string | undefined>;
1642
+ formaction?: Signalish<string | undefined>;
1643
+ formAction?: Signalish<string | undefined>;
1644
+ formenctype?: Signalish<string | undefined>;
1645
+ formEncType?: Signalish<string | undefined>;
1646
+ formmethod?: Signalish<string | undefined>;
1647
+ formMethod?: Signalish<string | undefined>;
1648
+ formnovalidate?: Signalish<boolean | undefined>;
1649
+ formNoValidate?: Signalish<boolean | undefined>;
1650
+ formtarget?: Signalish<string | undefined>;
1651
+ formTarget?: Signalish<string | undefined>;
1652
+ name?: Signalish<string | undefined>;
1653
+ popovertarget?: Signalish<string | undefined>;
1654
+ popoverTarget?: Signalish<string | undefined>;
1655
+ popovertargetaction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1656
+ popoverTargetAction?: Signalish<'hide' | 'show' | 'toggle' | undefined>;
1657
+ type?: Signalish<'submit' | 'reset' | 'button' | undefined>;
1658
+ value?: Signalish<string | number | undefined>;
1659
+ }
1660
+
1661
+ export interface CanvasHTMLAttributes<
1662
+ T extends EventTarget = HTMLCanvasElement
1663
+ > extends HTMLAttributes<T> {
1664
+ height?: Signalish<number | string | undefined>;
1665
+ width?: Signalish<number | string | undefined>;
1666
+ }
1667
+
1668
+ export interface ColHTMLAttributes<
1669
+ T extends EventTarget = HTMLTableColElement
1670
+ > extends HTMLAttributes<T> {
1671
+ span?: Signalish<number | undefined>;
1672
+ width?: Signalish<number | string | undefined>;
1673
+ }
1674
+
1675
+ export interface ColgroupHTMLAttributes<
1676
+ T extends EventTarget = HTMLTableColElement
1677
+ > extends HTMLAttributes<T> {
1678
+ span?: Signalish<number | undefined>;
1679
+ }
1680
+
1681
+ export interface DataHTMLAttributes<
1682
+ T extends EventTarget = HTMLDataElement
1683
+ > extends HTMLAttributes<T> {
1684
+ value?: Signalish<string | number | undefined>;
1685
+ }
1686
+
1687
+ export interface DelHTMLAttributes<
1688
+ T extends EventTarget = HTMLModElement
1689
+ > extends HTMLAttributes<T> {
1690
+ cite?: Signalish<string | undefined>;
1691
+ datetime?: Signalish<string | undefined>;
1692
+ dateTime?: Signalish<string | undefined>;
1693
+ }
1694
+
1695
+ export interface DetailsHTMLAttributes<
1696
+ T extends EventTarget = HTMLDetailsElement
1697
+ > extends HTMLAttributes<T> {
1698
+ name?: Signalish<string | undefined>;
1699
+ open?: Signalish<boolean | undefined>;
1700
+ }
1701
+
1702
+ export interface DialogHTMLAttributes<
1703
+ T extends EventTarget = HTMLDialogElement
1704
+ > extends HTMLAttributes<T> {
1705
+ onCancel?: GenericEventHandler<T> | undefined;
1706
+ onClose?: GenericEventHandler<T> | undefined;
1707
+ open?: Signalish<boolean | undefined>;
1708
+ closedby?: Signalish<'none' | 'closerequest' | 'any' | undefined>;
1709
+ closedBy?: Signalish<'none' | 'closerequest' | 'any' | undefined>;
1710
+ }
1711
+
1712
+ export interface EmbedHTMLAttributes<
1713
+ T extends EventTarget = HTMLEmbedElement
1714
+ > extends HTMLAttributes<T> {
1715
+ height?: Signalish<number | string | undefined>;
1716
+ src?: Signalish<string | undefined>;
1717
+ type?: Signalish<string | undefined>;
1718
+ width?: Signalish<number | string | undefined>;
1719
+ }
1720
+
1721
+ export interface FieldsetHTMLAttributes<
1722
+ T extends EventTarget = HTMLFieldSetElement
1723
+ > extends HTMLAttributes<T> {
1724
+ disabled?: Signalish<boolean | undefined>;
1725
+ form?: Signalish<string | undefined>;
1726
+ name?: Signalish<string | undefined>;
1727
+ }
1728
+
1729
+ export interface FormHTMLAttributes<
1730
+ T extends EventTarget = HTMLFormElement
1731
+ > extends HTMLAttributes<T> {
1732
+ 'accept-charset'?: Signalish<string | undefined>;
1733
+ acceptCharset?: Signalish<string | undefined>;
1734
+ action?: Signalish<string | undefined>;
1735
+ autocomplete?: Signalish<string | undefined>;
1736
+ autoComplete?: Signalish<string | undefined>;
1737
+ enctype?: Signalish<string | undefined>;
1738
+ encType?: Signalish<string | undefined>;
1739
+ method?: Signalish<string | undefined>;
1740
+ name?: Signalish<string | undefined>;
1741
+ novalidate?: Signalish<boolean | undefined>;
1742
+ noValidate?: Signalish<boolean | undefined>;
1743
+ rel?: Signalish<string | undefined>;
1744
+ target?: Signalish<string | undefined>;
1745
+ }
1746
+
1747
+ export interface IframeHTMLAttributes<
1748
+ T extends EventTarget = HTMLIFrameElement
1749
+ > extends HTMLAttributes<T> {
1750
+ allow?: Signalish<string | undefined>;
1751
+ allowFullScreen?: Signalish<boolean | undefined>;
1752
+ allowTransparency?: Signalish<boolean | undefined>;
1753
+ /** @deprecated */
1754
+ frameborder?: Signalish<number | string | undefined>;
1755
+ /** @deprecated */
1756
+ frameBorder?: Signalish<number | string | undefined>;
1757
+ height?: Signalish<number | string | undefined>;
1758
+ loading?: Signalish<'eager' | 'lazy' | undefined>;
1759
+ /** @deprecated */
1760
+ marginHeight?: Signalish<number | undefined>;
1761
+ /** @deprecated */
1762
+ marginWidth?: Signalish<number | undefined>;
1763
+ name?: Signalish<string | undefined>;
1764
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1765
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1766
+ sandbox?: Signalish<string | undefined>;
1767
+ /** @deprecated */
1768
+ scrolling?: Signalish<string | undefined>;
1769
+ seamless?: Signalish<boolean | undefined>;
1770
+ src?: Signalish<string | undefined>;
1771
+ srcdoc?: Signalish<string | undefined>;
1772
+ srcDoc?: Signalish<string | undefined>;
1773
+ width?: Signalish<number | string | undefined>;
1774
+ }
1775
+
1776
+ export type HTMLAttributeCrossOrigin = 'anonymous' | 'use-credentials';
1777
+
1778
+ export interface ImgHTMLAttributes<
1779
+ T extends EventTarget = HTMLImageElement
1780
+ > extends HTMLAttributes<T> {
1781
+ alt?: Signalish<string | undefined>;
1782
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
1783
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
1784
+ decoding?: Signalish<'async' | 'auto' | 'sync' | undefined>;
1785
+ fetchpriority?: Signalish<'high' | 'auto' | 'low' | undefined>;
1786
+ fetchPriority?: Signalish<'high' | 'auto' | 'low' | undefined>;
1787
+ height?: Signalish<number | string | undefined>;
1788
+ loading?: Signalish<'eager' | 'lazy' | undefined>;
1789
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1790
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1791
+ sizes?: Signalish<string | undefined>;
1792
+ src?: Signalish<string | undefined>;
1793
+ srcset?: Signalish<string | undefined>;
1794
+ srcSet?: Signalish<string | undefined>;
1795
+ usemap?: Signalish<string | undefined>;
1796
+ useMap?: Signalish<string | undefined>;
1797
+ width?: Signalish<number | string | undefined>;
1798
+ }
1799
+
1800
+ export type HTMLInputTypeAttribute =
1801
+ | 'button'
1802
+ | 'checkbox'
1803
+ | 'color'
1804
+ | 'date'
1805
+ | 'datetime-local'
1806
+ | 'email'
1807
+ | 'file'
1808
+ | 'hidden'
1809
+ | 'image'
1810
+ | 'month'
1811
+ | 'number'
1812
+ | 'password'
1813
+ | 'radio'
1814
+ | 'range'
1815
+ | 'reset'
1816
+ | 'search'
1817
+ | 'submit'
1818
+ | 'tel'
1819
+ | 'text'
1820
+ | 'time'
1821
+ | 'url'
1822
+ | 'week'
1823
+ | (string & {});
1824
+
1825
+ export interface InputHTMLAttributes<
1826
+ T extends EventTarget = HTMLInputElement
1827
+ > extends HTMLAttributes<T> {
1828
+ accept?: Signalish<string | undefined>;
1829
+ alt?: Signalish<string | undefined>;
1830
+ autocomplete?: Signalish<string | undefined>;
1831
+ autoComplete?: Signalish<string | undefined>;
1832
+ capture?: Signalish<'user' | 'environment' | undefined>; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
1833
+ checked?: Signalish<boolean | undefined>;
1834
+ defaultChecked?: Signalish<boolean | undefined>;
1835
+ defaultValue?: Signalish<string | number | undefined>;
1836
+ disabled?: Signalish<boolean | undefined>;
1837
+ enterKeyHint?: Signalish<
1838
+ | 'enter'
1839
+ | 'done'
1840
+ | 'go'
1841
+ | 'next'
1842
+ | 'previous'
1843
+ | 'search'
1844
+ | 'send'
1845
+ | undefined
1846
+ >;
1847
+ form?: Signalish<string | undefined>;
1848
+ formaction?: Signalish<string | undefined>;
1849
+ formAction?: Signalish<string | undefined>;
1850
+ formenctype?: Signalish<string | undefined>;
1851
+ formEncType?: Signalish<string | undefined>;
1852
+ formmethod?: Signalish<string | undefined>;
1853
+ formMethod?: Signalish<string | undefined>;
1854
+ formnovalidate?: Signalish<boolean | undefined>;
1855
+ formNoValidate?: Signalish<boolean | undefined>;
1856
+ formtarget?: Signalish<string | undefined>;
1857
+ formTarget?: Signalish<string | undefined>;
1858
+ height?: Signalish<number | string | undefined>;
1859
+ indeterminate?: Signalish<boolean | undefined>;
1860
+ list?: Signalish<string | undefined>;
1861
+ max?: Signalish<number | string | undefined>;
1862
+ maxlength?: Signalish<number | undefined>;
1863
+ maxLength?: Signalish<number | undefined>;
1864
+ min?: Signalish<number | string | undefined>;
1865
+ minlength?: Signalish<number | undefined>;
1866
+ minLength?: Signalish<number | undefined>;
1867
+ multiple?: Signalish<boolean | undefined>;
1868
+ name?: Signalish<string | undefined>;
1869
+ pattern?: Signalish<string | undefined>;
1870
+ placeholder?: Signalish<string | undefined>;
1871
+ readonly?: Signalish<boolean | undefined>;
1872
+ readOnly?: Signalish<boolean | undefined>;
1873
+ required?: Signalish<boolean | undefined>;
1874
+ size?: Signalish<number | undefined>;
1875
+ src?: Signalish<string | undefined>;
1876
+ step?: Signalish<number | string | undefined>;
1877
+ type?: HTMLInputTypeAttribute | undefined;
1878
+ value?: Signalish<string | number | undefined>;
1879
+ width?: Signalish<number | string | undefined>;
1880
+ onChange?: GenericEventHandler<T> | undefined;
1881
+ }
1882
+
1883
+ export interface InsHTMLAttributes<
1884
+ T extends EventTarget = HTMLModElement
1885
+ > extends HTMLAttributes<T> {
1886
+ cite?: Signalish<string | undefined>;
1887
+ datetime?: Signalish<string | undefined>;
1888
+ dateTime?: Signalish<string | undefined>;
1889
+ }
1890
+
1891
+ export interface KeygenHTMLAttributes<
1892
+ T extends EventTarget = HTMLUnknownElement
1893
+ > extends HTMLAttributes<T> {
1894
+ challenge?: Signalish<string | undefined>;
1895
+ disabled?: Signalish<boolean | undefined>;
1896
+ form?: Signalish<string | undefined>;
1897
+ keyType?: Signalish<string | undefined>;
1898
+ keyParams?: Signalish<string | undefined>;
1899
+ name?: Signalish<string | undefined>;
1900
+ }
1901
+
1902
+ export interface LabelHTMLAttributes<
1903
+ T extends EventTarget = HTMLLabelElement
1904
+ > extends HTMLAttributes<T> {
1905
+ for?: Signalish<string | undefined>;
1906
+ form?: Signalish<string | undefined>;
1907
+ htmlFor?: Signalish<string | undefined>;
1908
+ }
1909
+
1910
+ export interface LiHTMLAttributes<
1911
+ T extends EventTarget = HTMLLIElement
1912
+ > extends HTMLAttributes<T> {
1913
+ value?: Signalish<string | number | undefined>;
1914
+ }
1915
+
1916
+ export interface LinkHTMLAttributes<
1917
+ T extends EventTarget = HTMLLinkElement
1918
+ > extends HTMLAttributes<T> {
1919
+ as?: Signalish<string | undefined>;
1920
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
1921
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
1922
+ fetchpriority?: Signalish<'high' | 'low' | 'auto' | undefined>;
1923
+ fetchPriority?: Signalish<'high' | 'low' | 'auto' | undefined>;
1924
+ href?: Signalish<string | undefined>;
1925
+ hreflang?: Signalish<string | undefined>;
1926
+ hrefLang?: Signalish<string | undefined>;
1927
+ integrity?: Signalish<string | undefined>;
1928
+ media?: Signalish<string | undefined>;
1929
+ imageSrcSet?: Signalish<string | undefined>;
1930
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1931
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
1932
+ rel?: Signalish<string | undefined>;
1933
+ sizes?: Signalish<string | undefined>;
1934
+ type?: Signalish<string | undefined>;
1935
+ charset?: Signalish<string | undefined>;
1936
+ charSet?: Signalish<string | undefined>;
1937
+ }
1938
+
1939
+ export interface MapHTMLAttributes<
1940
+ T extends EventTarget = HTMLMapElement
1941
+ > extends HTMLAttributes<T> {
1942
+ name?: Signalish<string | undefined>;
1943
+ }
1944
+
1945
+ export interface MarqueeHTMLAttributes<
1946
+ T extends EventTarget = HTMLMarqueeElement
1947
+ > extends HTMLAttributes<T> {
1948
+ behavior?: Signalish<'scroll' | 'slide' | 'alternate' | undefined>;
1949
+ bgColor?: Signalish<string | undefined>;
1950
+ direction?: Signalish<'left' | 'right' | 'up' | 'down' | undefined>;
1951
+ height?: Signalish<number | string | undefined>;
1952
+ hspace?: Signalish<number | string | undefined>;
1953
+ loop?: Signalish<number | string | undefined>;
1954
+ scrollAmount?: Signalish<number | string | undefined>;
1955
+ scrollDelay?: Signalish<number | string | undefined>;
1956
+ trueSpeed?: Signalish<boolean | undefined>;
1957
+ vspace?: Signalish<number | string | undefined>;
1958
+ width?: Signalish<number | string | undefined>;
1959
+ }
1960
+
1961
+ export interface MediaHTMLAttributes<
1962
+ T extends EventTarget = HTMLMediaElement
1963
+ > extends HTMLAttributes<T> {
1964
+ autoplay?: Signalish<boolean | undefined>;
1965
+ autoPlay?: Signalish<boolean | undefined>;
1966
+ controls?: Signalish<boolean | undefined>;
1967
+ controlslist?: Signalish<string | undefined>;
1968
+ controlsList?: Signalish<string | undefined>;
1969
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
1970
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
1971
+ currentTime?: Signalish<number | undefined>;
1972
+ defaultMuted?: Signalish<boolean | undefined>;
1973
+ defaultPlaybackRate?: Signalish<number | undefined>;
1974
+ disableremoteplayback?: Signalish<boolean | undefined>;
1975
+ disableRemotePlayback?: Signalish<boolean | undefined>;
1976
+ loop?: Signalish<boolean | undefined>;
1977
+ mediaGroup?: Signalish<string | undefined>;
1978
+ muted?: Signalish<boolean | undefined>;
1979
+ playbackRate?: Signalish<number | undefined>;
1980
+ preload?: Signalish<'auto' | 'metadata' | 'none' | undefined>;
1981
+ preservesPitch?: Signalish<boolean | undefined>;
1982
+ src?: Signalish<string | undefined>;
1983
+ srcObject?: Signalish<MediaStream | MediaSource | Blob | File | null>;
1984
+ volume?: Signalish<string | number | undefined>;
1985
+ }
1986
+
1987
+ export interface MenuHTMLAttributes<
1988
+ T extends EventTarget = HTMLMenuElement
1989
+ > extends HTMLAttributes<T> {
1990
+ type?: Signalish<string | undefined>;
1991
+ }
1992
+
1993
+ export interface MetaHTMLAttributes<
1994
+ T extends EventTarget = HTMLMetaElement
1995
+ > extends HTMLAttributes<T> {
1996
+ charset?: Signalish<string | undefined>;
1997
+ charSet?: Signalish<string | undefined>;
1998
+ content?: Signalish<string | undefined>;
1999
+ 'http-equiv'?: Signalish<string | undefined>;
2000
+ httpEquiv?: Signalish<string | undefined>;
2001
+ name?: Signalish<string | undefined>;
2002
+ media?: Signalish<string | undefined>;
2003
+ }
2004
+
2005
+ export interface MeterHTMLAttributes<
2006
+ T extends EventTarget = HTMLMeterElement
2007
+ > extends HTMLAttributes<T> {
2008
+ form?: Signalish<string | undefined>;
2009
+ high?: Signalish<number | undefined>;
2010
+ low?: Signalish<number | undefined>;
2011
+ max?: Signalish<number | string | undefined>;
2012
+ min?: Signalish<number | string | undefined>;
2013
+ optimum?: Signalish<number | undefined>;
2014
+ value?: Signalish<string | number | undefined>;
2015
+ }
2016
+
2017
+ export interface ObjectHTMLAttributes<
2018
+ T extends EventTarget = HTMLObjectElement
2019
+ > extends HTMLAttributes<T> {
2020
+ classID?: Signalish<string | undefined>;
2021
+ data?: Signalish<string | undefined>;
2022
+ form?: Signalish<string | undefined>;
2023
+ height?: Signalish<number | string | undefined>;
2024
+ name?: Signalish<string | undefined>;
2025
+ type?: Signalish<string | undefined>;
2026
+ usemap?: Signalish<string | undefined>;
2027
+ useMap?: Signalish<string | undefined>;
2028
+ width?: Signalish<number | string | undefined>;
2029
+ wmode?: Signalish<string | undefined>;
2030
+ }
2031
+
2032
+ export interface OlHTMLAttributes<
2033
+ T extends EventTarget = HTMLOListElement
2034
+ > extends HTMLAttributes<T> {
2035
+ reversed?: Signalish<boolean | undefined>;
2036
+ start?: Signalish<number | undefined>;
2037
+ type?: Signalish<'1' | 'a' | 'A' | 'i' | 'I' | undefined>;
2038
+ }
2039
+
2040
+ export interface OptgroupHTMLAttributes<
2041
+ T extends EventTarget = HTMLOptGroupElement
2042
+ > extends HTMLAttributes<T> {
2043
+ disabled?: Signalish<boolean | undefined>;
2044
+ label?: Signalish<string | undefined>;
2045
+ }
2046
+
2047
+ export interface OptionHTMLAttributes<
2048
+ T extends EventTarget = HTMLOptionElement
2049
+ > extends HTMLAttributes<T> {
2050
+ disabled?: Signalish<boolean | undefined>;
2051
+ label?: Signalish<string | undefined>;
2052
+ selected?: Signalish<boolean | undefined>;
2053
+ value?: Signalish<string | number | undefined>;
2054
+ }
2055
+
2056
+ export interface OutputHTMLAttributes<
2057
+ T extends EventTarget = HTMLOutputElement
2058
+ > extends HTMLAttributes<T> {
2059
+ for?: Signalish<string | undefined>;
2060
+ form?: Signalish<string | undefined>;
2061
+ htmlFor?: Signalish<string | undefined>;
2062
+ name?: Signalish<string | undefined>;
2063
+ }
2064
+
2065
+ export interface ParamHTMLAttributes<
2066
+ T extends EventTarget = HTMLParamElement
2067
+ > extends HTMLAttributes<T> {
2068
+ name?: Signalish<string | undefined>;
2069
+ value?: Signalish<string | number | undefined>;
2070
+ }
2071
+
2072
+ export interface ProgressHTMLAttributes<
2073
+ T extends EventTarget = HTMLProgressElement
2074
+ > extends HTMLAttributes<T> {
2075
+ max?: Signalish<number | string | undefined>;
2076
+ value?: Signalish<string | number | undefined>;
2077
+ }
2078
+
2079
+ export interface QuoteHTMLAttributes<
2080
+ T extends EventTarget = HTMLQuoteElement
2081
+ > extends HTMLAttributes<T> {
2082
+ cite?: Signalish<string | undefined>;
2083
+ }
2084
+
2085
+ export interface ScriptHTMLAttributes<
2086
+ T extends EventTarget = HTMLScriptElement
2087
+ > extends HTMLAttributes<T> {
2088
+ async?: Signalish<boolean | undefined>;
2089
+ /** @deprecated */
2090
+ charset?: Signalish<string | undefined>;
2091
+ /** @deprecated */
2092
+ charSet?: Signalish<string | undefined>;
2093
+ crossorigin?: Signalish<HTMLAttributeCrossOrigin>;
2094
+ crossOrigin?: Signalish<HTMLAttributeCrossOrigin>;
2095
+ defer?: Signalish<boolean | undefined>;
2096
+ integrity?: Signalish<string | undefined>;
2097
+ nomodule?: Signalish<boolean | undefined>;
2098
+ noModule?: Signalish<boolean | undefined>;
2099
+ referrerpolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
2100
+ referrerPolicy?: Signalish<HTMLAttributeReferrerPolicy | undefined>;
2101
+ src?: Signalish<string | undefined>;
2102
+ type?: Signalish<string | undefined>;
2103
+ }
2104
+
2105
+ export interface SelectHTMLAttributes<
2106
+ T extends EventTarget = HTMLSelectElement
2107
+ > extends HTMLAttributes<T> {
2108
+ autocomplete?: Signalish<string | undefined>;
2109
+ autoComplete?: Signalish<string | undefined>;
2110
+ defaultValue?: Signalish<string | number | undefined>;
2111
+ disabled?: Signalish<boolean | undefined>;
2112
+ form?: Signalish<string | undefined>;
2113
+ multiple?: Signalish<boolean | undefined>;
2114
+ name?: Signalish<string | undefined>;
2115
+ required?: Signalish<boolean | undefined>;
2116
+ size?: Signalish<number | undefined>;
2117
+ value?: Signalish<string | number | undefined>;
2118
+ onChange?: GenericEventHandler<T> | undefined;
2119
+ }
2120
+
2121
+ export interface SlotHTMLAttributes<
2122
+ T extends EventTarget = HTMLSlotElement
2123
+ > extends HTMLAttributes<T> {
2124
+ name?: Signalish<string | undefined>;
2125
+ }
2126
+
2127
+ export interface SourceHTMLAttributes<
2128
+ T extends EventTarget = HTMLSourceElement
2129
+ > extends HTMLAttributes<T> {
2130
+ height?: Signalish<number | string | undefined>;
2131
+ media?: Signalish<string | undefined>;
2132
+ sizes?: Signalish<string | undefined>;
2133
+ src?: Signalish<string | undefined>;
2134
+ srcset?: Signalish<string | undefined>;
2135
+ srcSet?: Signalish<string | undefined>;
2136
+ type?: Signalish<string | undefined>;
2137
+ width?: Signalish<number | string | undefined>;
2138
+ }
2139
+
2140
+ export interface StyleHTMLAttributes<
2141
+ T extends EventTarget = HTMLStyleElement
2142
+ > extends HTMLAttributes<T> {
2143
+ media?: Signalish<string | undefined>;
2144
+ scoped?: Signalish<boolean | undefined>;
2145
+ type?: Signalish<string | undefined>;
2146
+ }
2147
+
2148
+ export interface TableHTMLAttributes<
2149
+ T extends EventTarget = HTMLTableElement
2150
+ > extends HTMLAttributes<T> {
2151
+ cellPadding?: Signalish<string | undefined>;
2152
+ cellSpacing?: Signalish<string | undefined>;
2153
+ summary?: Signalish<string | undefined>;
2154
+ width?: Signalish<number | string | undefined>;
2155
+ }
2156
+
2157
+ export interface TdHTMLAttributes<
2158
+ T extends EventTarget = HTMLTableCellElement
2159
+ > extends HTMLAttributes<T> {
2160
+ align?: Signalish<
2161
+ 'left' | 'center' | 'right' | 'justify' | 'char' | undefined
2162
+ >;
2163
+ colspan?: Signalish<number | undefined>;
2164
+ colSpan?: Signalish<number | undefined>;
2165
+ headers?: Signalish<string | undefined>;
2166
+ rowspan?: Signalish<number | undefined>;
2167
+ rowSpan?: Signalish<number | undefined>;
2168
+ scope?: Signalish<string | undefined>;
2169
+ abbr?: Signalish<string | undefined>;
2170
+ height?: Signalish<number | string | undefined>;
2171
+ width?: Signalish<number | string | undefined>;
2172
+ valign?: Signalish<'top' | 'middle' | 'bottom' | 'baseline' | undefined>;
2173
+ }
2174
+
2175
+ export interface TextareaHTMLAttributes<
2176
+ T extends EventTarget = HTMLTextAreaElement
2177
+ > extends HTMLAttributes<T> {
2178
+ autocomplete?: Signalish<string | undefined>;
2179
+ autoComplete?: Signalish<string | undefined>;
2180
+ cols?: Signalish<number | undefined>;
2181
+ defaultValue?: Signalish<string | number | undefined>;
2182
+ dirName?: Signalish<string | undefined>;
2183
+ disabled?: Signalish<boolean | undefined>;
2184
+ form?: Signalish<string | undefined>;
2185
+ maxlength?: Signalish<number | undefined>;
2186
+ maxLength?: Signalish<number | undefined>;
2187
+ minlength?: Signalish<number | undefined>;
2188
+ minLength?: Signalish<number | undefined>;
2189
+ name?: Signalish<string | undefined>;
2190
+ placeholder?: Signalish<string | undefined>;
2191
+ readOnly?: Signalish<boolean | undefined>;
2192
+ required?: Signalish<boolean | undefined>;
2193
+ rows?: Signalish<number | undefined>;
2194
+ value?: Signalish<string | number | undefined>;
2195
+ wrap?: Signalish<string | undefined>;
2196
+ onChange?: GenericEventHandler<T> | undefined;
2197
+ }
2198
+
2199
+ export interface ThHTMLAttributes<
2200
+ T extends EventTarget = HTMLTableCellElement
2201
+ > extends HTMLAttributes<T> {
2202
+ align?: Signalish<
2203
+ 'left' | 'center' | 'right' | 'justify' | 'char' | undefined
2204
+ >;
2205
+ colspan?: Signalish<number | undefined>;
2206
+ colSpan?: Signalish<number | undefined>;
2207
+ headers?: Signalish<string | undefined>;
2208
+ rowspan?: Signalish<number | undefined>;
2209
+ rowSpan?: Signalish<number | undefined>;
2210
+ scope?: Signalish<string | undefined>;
2211
+ abbr?: Signalish<string | undefined>;
2212
+ }
2213
+
2214
+ export interface TimeHTMLAttributes<
2215
+ T extends EventTarget = HTMLTimeElement
2216
+ > extends HTMLAttributes<T> {
2217
+ datetime?: Signalish<string | undefined>;
2218
+ dateTime?: Signalish<string | undefined>;
2219
+ }
2220
+
2221
+ export interface TrackHTMLAttributes<
2222
+ T extends EventTarget = HTMLTrackElement
2223
+ > extends MediaHTMLAttributes<T> {
2224
+ default?: Signalish<boolean | undefined>;
2225
+ kind?: Signalish<string | undefined>;
2226
+ label?: Signalish<string | undefined>;
2227
+ srclang?: Signalish<string | undefined>;
2228
+ srcLang?: Signalish<string | undefined>;
2229
+ }
2230
+
2231
+ export interface VideoHTMLAttributes<
2232
+ T extends EventTarget = HTMLVideoElement
2233
+ > extends MediaHTMLAttributes<T> {
2234
+ disablePictureInPicture?: Signalish<boolean | undefined>;
2235
+ height?: Signalish<number | string | undefined>;
2236
+ playsinline?: Signalish<boolean | undefined>;
2237
+ playsInline?: Signalish<boolean | undefined>;
2238
+ poster?: Signalish<string | undefined>;
2239
+ width?: Signalish<number | string | undefined>;
2240
+ }
2241
+
2242
+ export type DetailedHTMLProps<
2243
+ HA extends HTMLAttributes<RefType>,
2244
+ RefType extends EventTarget = EventTarget
2245
+ > = HA;
2246
+
2247
+ export interface MathMLAttributes<
2248
+ Target extends EventTarget = MathMLElement
2249
+ > extends HTMLAttributes<Target> {
2250
+ dir?: Signalish<'ltr' | 'rtl' | undefined>;
2251
+ displaystyle?: Signalish<boolean | undefined>;
2252
+ /** @deprecated This feature is non-standard. See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/href */
2253
+ href?: Signalish<string | undefined>;
2254
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathbackground */
2255
+ mathbackground?: Signalish<string | undefined>;
2256
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathcolor */
2257
+ mathcolor?: Signalish<string | undefined>;
2258
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Global_attributes/mathsize */
2259
+ mathsize?: Signalish<string | undefined>;
2260
+ nonce?: Signalish<string | undefined>;
2261
+ scriptlevel?: Signalish<string | undefined>;
2262
+ }
2263
+
2264
+ export interface AnnotationMathMLAttributes<
2265
+ T extends EventTarget
2266
+ > extends MathMLAttributes<T> {
2267
+ encoding?: Signalish<string | undefined>;
2268
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics#src */
2269
+ src?: Signalish<string | undefined>;
2270
+ }
2271
+
2272
+ export interface AnnotationXmlMathMLAttributes<
2273
+ T extends EventTarget
2274
+ > extends MathMLAttributes<T> {
2275
+ encoding?: Signalish<string | undefined>;
2276
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics#src */
2277
+ src?: Signalish<string | undefined>;
2278
+ }
2279
+
2280
+ export interface MActionMathMLAttributes<
2281
+ T extends EventTarget
2282
+ > extends MathMLAttributes<T> {
2283
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction#actiontype */
2284
+ actiontype?: Signalish<'statusline' | 'toggle' | undefined>;
2285
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction#selection */
2286
+ selection?: Signalish<string | undefined>;
2287
+ }
2288
+
2289
+ export interface MathMathMLAttributes<
2290
+ T extends EventTarget
2291
+ > extends MathMLAttributes<T> {
2292
+ display?: Signalish<'block' | 'inline' | undefined>;
2293
+ }
2294
+
2295
+ export interface MEncloseMathMLAttributes<
2296
+ T extends EventTarget
2297
+ > extends MathMLAttributes<T> {
2298
+ notation?: Signalish<string | undefined>;
2299
+ }
2300
+
2301
+ export interface MErrorMathMLAttributes<
2302
+ T extends EventTarget
2303
+ > extends MathMLAttributes<T> {}
2304
+
2305
+ export interface MFencedMathMLAttributes<
2306
+ T extends EventTarget
2307
+ > extends MathMLAttributes<T> {
2308
+ close?: Signalish<string | undefined>;
2309
+ open?: Signalish<string | undefined>;
2310
+ separators?: Signalish<string | undefined>;
2311
+ }
2312
+
2313
+ export interface MFracMathMLAttributes<
2314
+ T extends EventTarget
2315
+ > extends MathMLAttributes<T> {
2316
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#denomalign */
2317
+ denomalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2318
+ linethickness?: Signalish<string | undefined>;
2319
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac#numalign */
2320
+ numalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2321
+ }
2322
+
2323
+ export interface MiMathMLAttributes<
2324
+ T extends EventTarget
2325
+ > extends MathMLAttributes<T> {
2326
+ /** The only value allowed in the current specification is normal (case insensitive)
2327
+ * See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi#mathvariant */
2328
+ mathvariant?: Signalish<
2329
+ | 'normal'
2330
+ | 'bold'
2331
+ | 'italic'
2332
+ | 'bold-italic'
2333
+ | 'double-struck'
2334
+ | 'bold-fraktur'
2335
+ | 'script'
2336
+ | 'bold-script'
2337
+ | 'fraktur'
2338
+ | 'sans-serif'
2339
+ | 'bold-sans-serif'
2340
+ | 'sans-serif-italic'
2341
+ | 'sans-serif-bold-italic'
2342
+ | 'monospace'
2343
+ | 'initial'
2344
+ | 'tailed'
2345
+ | 'looped'
2346
+ | 'stretched'
2347
+ | undefined
2348
+ >;
2349
+ }
2350
+
2351
+ export interface MmultiScriptsMathMLAttributes<
2352
+ T extends EventTarget
2353
+ > extends MathMLAttributes<T> {
2354
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts#subscriptshift */
2355
+ subscriptshift?: Signalish<string | undefined>;
2356
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts#superscriptshift */
2357
+ superscriptshift?: Signalish<string | undefined>;
2358
+ }
2359
+
2360
+ export interface MNMathMLAttributes<
2361
+ T extends EventTarget
2362
+ > extends MathMLAttributes<T> {}
2363
+
2364
+ export interface MOMathMLAttributes<
2365
+ T extends EventTarget
2366
+ > extends MathMLAttributes<T> {
2367
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo#accent */
2368
+ accent?: Signalish<boolean | undefined>;
2369
+ fence?: Signalish<boolean | undefined>;
2370
+ largeop?: Signalish<boolean | undefined>;
2371
+ lspace?: Signalish<string | undefined>;
2372
+ maxsize?: Signalish<string | undefined>;
2373
+ minsize?: Signalish<string | undefined>;
2374
+ movablelimits?: Signalish<boolean | undefined>;
2375
+ rspace?: Signalish<string | undefined>;
2376
+ separator?: Signalish<boolean | undefined>;
2377
+ stretchy?: Signalish<boolean | undefined>;
2378
+ symmetric?: Signalish<boolean | undefined>;
2379
+ }
2380
+
2381
+ export interface MOverMathMLAttributes<
2382
+ T extends EventTarget
2383
+ > extends MathMLAttributes<T> {
2384
+ accent?: Signalish<boolean | undefined>;
2385
+ }
2386
+
2387
+ export interface MPaddedMathMLAttributes<
2388
+ T extends EventTarget
2389
+ > extends MathMLAttributes<T> {
2390
+ depth?: Signalish<string | undefined>;
2391
+ height?: Signalish<string | undefined>;
2392
+ lspace?: Signalish<string | undefined>;
2393
+ voffset?: Signalish<string | undefined>;
2394
+ width?: Signalish<string | undefined>;
2395
+ }
2396
+
2397
+ export interface MPhantomMathMLAttributes<
2398
+ T extends EventTarget
2399
+ > extends MathMLAttributes<T> {}
2400
+
2401
+ export interface MPrescriptsMathMLAttributes<
2402
+ T extends EventTarget
2403
+ > extends MathMLAttributes<T> {}
2404
+
2405
+ export interface MRootMathMLAttributes<
2406
+ T extends EventTarget
2407
+ > extends MathMLAttributes<T> {}
2408
+
2409
+ export interface MRowMathMLAttributes<
2410
+ T extends EventTarget
2411
+ > extends MathMLAttributes<T> {}
2412
+
2413
+ export interface MSMathMLAttributes<
2414
+ T extends EventTarget
2415
+ > extends MathMLAttributes<T> {
2416
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms#browser_compatibility */
2417
+ lquote?: Signalish<string | undefined>;
2418
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms#browser_compatibility */
2419
+ rquote?: Signalish<string | undefined>;
2420
+ }
2421
+
2422
+ export interface MSpaceMathMLAttributes<
2423
+ T extends EventTarget
2424
+ > extends MathMLAttributes<T> {
2425
+ depth?: Signalish<string | undefined>;
2426
+ height?: Signalish<string | undefined>;
2427
+ width?: Signalish<string | undefined>;
2428
+ }
2429
+
2430
+ export interface MSqrtMathMLAttributes<
2431
+ T extends EventTarget
2432
+ > extends MathMLAttributes<T> {}
2433
+
2434
+ export interface MStyleMathMLAttributes<
2435
+ T extends EventTarget
2436
+ > extends MathMLAttributes<T> {
2437
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#background */
2438
+ background?: Signalish<string | undefined>;
2439
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#color */
2440
+ color?: Signalish<string | undefined>;
2441
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontsize */
2442
+ fontsize?: Signalish<string | undefined>;
2443
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontstyle */
2444
+ fontstyle?: Signalish<string | undefined>;
2445
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#fontweight */
2446
+ fontweight?: Signalish<string | undefined>;
2447
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#scriptminsize */
2448
+ scriptminsize?: Signalish<string | undefined>;
2449
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle#scriptsizemultiplier */
2450
+ scriptsizemultiplier?: Signalish<string | undefined>;
2451
+ }
2452
+
2453
+ export interface MSubMathMLAttributes<
2454
+ T extends EventTarget
2455
+ > extends MathMLAttributes<T> {
2456
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub#subscriptshift */
2457
+ subscriptshift?: Signalish<string | undefined>;
2458
+ }
2459
+
2460
+ export interface MSubsupMathMLAttributes<
2461
+ T extends EventTarget
2462
+ > extends MathMLAttributes<T> {
2463
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup#subscriptshift */
2464
+ subscriptshift?: Signalish<string | undefined>;
2465
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup#superscriptshift */
2466
+ superscriptshift?: Signalish<string | undefined>;
2467
+ }
2468
+
2469
+ export interface MSupMathMLAttributes<
2470
+ T extends EventTarget
2471
+ > extends MathMLAttributes<T> {
2472
+ /** @deprecated See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup#superscriptshift */
2473
+ superscriptshift?: Signalish<string | undefined>;
2474
+ }
2475
+
2476
+ export interface MTableMathMLAttributes<
2477
+ T extends EventTarget
2478
+ > extends MathMLAttributes<T> {
2479
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#align */
2480
+ align?: Signalish<
2481
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2482
+ >;
2483
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnalign */
2484
+ columnalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2485
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnlines */
2486
+ columnlines?: Signalish<'dashed' | 'none' | 'solid' | undefined>;
2487
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#columnspacing */
2488
+ columnspacing?: Signalish<string | undefined>;
2489
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#frame */
2490
+ frame?: Signalish<'dashed' | 'none' | 'solid' | undefined>;
2491
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#framespacing */
2492
+ framespacing?: Signalish<string | undefined>;
2493
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowalign */
2494
+ rowalign?: Signalish<
2495
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2496
+ >;
2497
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowlines */
2498
+ rowlines?: Signalish<'dashed' | 'none' | 'solid' | undefined>;
2499
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#rowspacing */
2500
+ rowspacing?: Signalish<string | undefined>;
2501
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable#width */
2502
+ width?: Signalish<string | undefined>;
2503
+ }
2504
+
2505
+ export interface MTdMathMLAttributes<
2506
+ T extends EventTarget
2507
+ > extends MathMLAttributes<T> {
2508
+ columnspan?: Signalish<number | undefined>;
2509
+ rowspan?: Signalish<number | undefined>;
2510
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#columnalign */
2511
+ columnalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2512
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd#rowalign */
2513
+ rowalign?: Signalish<
2514
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2515
+ >;
2516
+ }
2517
+
2518
+ export interface MTextMathMLAttributes<
2519
+ T extends EventTarget
2520
+ > extends MathMLAttributes<T> {}
2521
+
2522
+ export interface MTrMathMLAttributes<
2523
+ T extends EventTarget
2524
+ > extends MathMLAttributes<T> {
2525
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#columnalign */
2526
+ columnalign?: Signalish<'center' | 'left' | 'right' | undefined>;
2527
+ /** Non-standard attribute See https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr#rowalign */
2528
+ rowalign?: Signalish<
2529
+ 'axis' | 'baseline' | 'bottom' | 'center' | 'top' | undefined
2530
+ >;
2531
+ }
2532
+
2533
+ export interface MUnderMathMLAttributes<
2534
+ T extends EventTarget
2535
+ > extends MathMLAttributes<T> {
2536
+ accentunder?: Signalish<boolean | undefined>;
2537
+ }
2538
+
2539
+ export interface MUnderoverMathMLAttributes<
2540
+ T extends EventTarget
2541
+ > extends MathMLAttributes<T> {
2542
+ accent?: Signalish<boolean | undefined>;
2543
+ accentunder?: Signalish<boolean | undefined>;
2544
+ }
2545
+
2546
+ export interface SemanticsMathMLAttributes<
2547
+ T extends EventTarget
2548
+ > extends MathMLAttributes<T> {}