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