@arcmantle/lit-jsx 1.0.32 → 1.0.34
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/README.md +153 -105
- package/dist/compiler/attribute-processor.d.ts +9 -19
- package/dist/compiler/attribute-processor.d.ts.map +1 -1
- package/dist/compiler/attribute-processor.js +22 -39
- package/dist/compiler/attribute-processor.js.map +1 -1
- package/dist/compiler/babel-plugin.d.ts +1 -0
- package/dist/compiler/babel-plugin.d.ts.map +1 -1
- package/dist/compiler/babel-plugin.js +2 -1
- package/dist/compiler/babel-plugin.js.map +1 -1
- package/dist/compiler/compiler-utils.d.ts +9 -1
- package/dist/compiler/compiler-utils.d.ts.map +1 -1
- package/dist/compiler/compiler-utils.js +71 -60
- package/dist/compiler/compiler-utils.js.map +1 -1
- package/dist/compiler/config.d.ts +23 -28
- package/dist/compiler/config.d.ts.map +1 -1
- package/dist/compiler/config.js +28 -28
- package/dist/compiler/config.js.map +1 -1
- package/dist/compiler/oxc-walker.d.ts +4 -4
- package/dist/compiler/oxc-walker.d.ts.map +1 -1
- package/dist/compiler/oxc-walker.js +1 -1
- package/dist/compiler/oxc-walker.js.map +1 -1
- package/dist/compiler/preprocess.d.ts +1 -0
- package/dist/compiler/preprocess.d.ts.map +1 -1
- package/dist/compiler/preprocess.js +31 -0
- package/dist/compiler/preprocess.js.map +1 -1
- package/dist/compiler/transpiler.d.ts.map +1 -1
- package/dist/compiler/transpiler.js +31 -13
- package/dist/compiler/transpiler.js.map +1 -1
- package/dist/compiler/vite-plugin.d.ts +3 -1
- package/dist/compiler/vite-plugin.d.ts.map +1 -1
- package/dist/compiler/vite-plugin.js +1 -0
- package/dist/compiler/vite-plugin.js.map +1 -1
- package/dist/runtime/choose-component.d.ts +2 -2
- package/dist/runtime/choose-component.d.ts.map +1 -1
- package/dist/runtime/for-component.d.ts +3 -3
- package/dist/runtime/for-component.d.ts.map +1 -1
- package/dist/runtime/for-component.js.map +1 -1
- package/dist/runtime/lit-reexports.d.ts +11 -0
- package/dist/runtime/lit-reexports.d.ts.map +1 -0
- package/dist/runtime/lit-reexports.js +14 -0
- package/dist/runtime/lit-reexports.js.map +1 -0
- package/dist/runtime/show-component.d.ts +4 -4
- package/dist/runtime/show-component.d.ts.map +1 -1
- package/dist/runtime/type-helpers.d.ts +1 -1
- package/dist/runtime/type-helpers.d.ts.map +1 -1
- package/dist/shared/jsx-core.d.ts +83 -0
- package/dist/shared/jsx-core.d.ts.map +1 -0
- package/dist/shared/jsx-core.js +2 -0
- package/dist/shared/jsx-core.js.map +1 -0
- package/dist/shared/jsx-dom.d.ts +26 -0
- package/dist/shared/jsx-dom.d.ts.map +1 -0
- package/dist/shared/jsx-dom.js +2 -0
- package/dist/shared/jsx-dom.js.map +1 -0
- package/dist/shared/jsx-hooks.d.ts +69 -0
- package/dist/shared/jsx-hooks.d.ts.map +1 -0
- package/dist/shared/jsx-hooks.js +2 -0
- package/dist/shared/jsx-hooks.js.map +1 -0
- package/dist/shared/jsx-types.d.ts +3 -2140
- package/dist/shared/jsx-types.d.ts.map +1 -1
- package/dist/shared/jsx-types.js +3 -1
- package/dist/shared/jsx-types.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -0
- package/dist/utils.js.map +1 -1
- package/package.json +17 -17
- package/src/compiler/attribute-processor.ts +33 -60
- package/src/compiler/babel-plugin.ts +3 -1
- package/src/compiler/compiler-utils.ts +91 -259
- package/src/compiler/config.ts +52 -43
- package/src/compiler/oxc-walker.ts +5 -5
- package/src/compiler/preprocess.ts +41 -0
- package/src/compiler/transpiler.ts +31 -12
- package/src/compiler/vite-plugin.ts +4 -1
- package/src/runtime/choose-component.ts +2 -2
- package/src/runtime/for-component.ts +3 -3
- package/src/runtime/lit-reexports.ts +16 -0
- package/src/runtime/show-component.ts +4 -4
- package/src/runtime/type-helpers.ts +1 -1
- package/src/shared/jsx-core.ts +123 -0
- package/src/shared/jsx-dom.ts +29 -0
- package/src/shared/jsx-hooks.ts +86 -0
- package/src/shared/jsx-types.ts +3 -2559
- package/src/utils.ts +15 -0
package/src/shared/jsx-types.ts
CHANGED
|
@@ -1,2559 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import type { RefOrCallback } from 'lit-html/directives/ref.js';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/*
|
|
8
|
-
* Based on SolidJS JSX types
|
|
9
|
-
*
|
|
10
|
-
* Changed to support Lit-html
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
type DOMElement = Element;
|
|
14
|
-
|
|
15
|
-
type IfEquals<X, Y, A = X> =
|
|
16
|
-
(<T>() => T extends X ? 1 : 2) extends
|
|
17
|
-
(<T>() => T extends Y ? 1 : 2) ? A : never;
|
|
18
|
-
type WritableKeys<T> = {
|
|
19
|
-
[P in keyof T]-?: IfEquals<{ [Q in P]: T[P] }, { -readonly [Q in P]: T[P] }, P>
|
|
20
|
-
}[keyof T];
|
|
21
|
-
type TrimReadonly<T> = Pick<T, WritableKeys<T>>;
|
|
22
|
-
type ExcludeHTML<T extends object> = TrimReadonly<Omit<T, keyof HTMLElement | 'constructor'>>;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare global {
|
|
26
|
-
namespace JSX {
|
|
27
|
-
type JSXElement = [
|
|
28
|
-
Generator,
|
|
29
|
-
DirectiveResult<any>,
|
|
30
|
-
typeof nothing,
|
|
31
|
-
TemplateResult<any>,
|
|
32
|
-
Node,
|
|
33
|
-
JSXElement[],
|
|
34
|
-
(string & {}),
|
|
35
|
-
number,
|
|
36
|
-
boolean,
|
|
37
|
-
null,
|
|
38
|
-
undefined,
|
|
39
|
-
unknown,
|
|
40
|
-
][number];
|
|
41
|
-
|
|
42
|
-
type Element = TemplateResult<any>; // This is the return type of a JSX template
|
|
43
|
-
type ElementType = string | JSXElement;
|
|
44
|
-
interface ElementClass { /* empty, libs can define requirements downstream */ }
|
|
45
|
-
interface ElementAttributesProperty { /* empty, libs can define requirements downstream */ }
|
|
46
|
-
interface ElementChildrenAttribute { children: {}; }
|
|
47
|
-
|
|
48
|
-
type CanBeNothing<T extends object> = {
|
|
49
|
-
[K in keyof T]?:
|
|
50
|
-
T[K] | typeof nothing
|
|
51
|
-
| ((flag: void) => T[K] | typeof nothing);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
type JSXProps<T extends object> = CanBeNothing<ExcludeHTML<T>>
|
|
55
|
-
& JSX.HTMLAttributes<T>
|
|
56
|
-
& {};
|
|
57
|
-
|
|
58
|
-
type EventHandler<T, E extends Event> = (e: E & {
|
|
59
|
-
currentTarget: T;
|
|
60
|
-
target: DOMElement;
|
|
61
|
-
}) => void;
|
|
62
|
-
interface BoundEventHandler<
|
|
63
|
-
T, E extends Event, EHandler extends EventHandler<T, any> = EventHandler<T, E>,
|
|
64
|
-
> {
|
|
65
|
-
0: (data: any, ...e: Parameters<EHandler>) => void;
|
|
66
|
-
1: any;
|
|
67
|
-
}
|
|
68
|
-
type EventHandlerUnion<T, E extends Event, EHandler extends EventHandler<T, any> = EventHandler<T, E>> =
|
|
69
|
-
EHandler | BoundEventHandler<T, E, EHandler>;
|
|
70
|
-
|
|
71
|
-
interface EventHandlerWithOptions<
|
|
72
|
-
T, E extends Event, EHandler = EventHandler<T, E>,
|
|
73
|
-
> extends AddEventListenerOptions {
|
|
74
|
-
handleEvent: EHandler;
|
|
75
|
-
}
|
|
76
|
-
type EventHandlerWithOptionsUnion<
|
|
77
|
-
T, E extends Event, EHandler extends EventHandler<T, any> = EventHandler<T, E>,
|
|
78
|
-
> = EHandler | EventHandlerWithOptions<T, E, EHandler>;
|
|
79
|
-
type InputEventHandler<T, E extends InputEvent> = (e: E & {
|
|
80
|
-
currentTarget: T;
|
|
81
|
-
target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement;
|
|
82
|
-
}) => void;
|
|
83
|
-
type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<T, E, InputEventHandler<T, E>>;
|
|
84
|
-
type ChangeEventHandler<T, E extends Event> = (e: E & {
|
|
85
|
-
currentTarget: T;
|
|
86
|
-
target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement;
|
|
87
|
-
}) => void;
|
|
88
|
-
type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<T, E, ChangeEventHandler<T, E>>;
|
|
89
|
-
type FocusEventHandler<T, E extends FocusEvent> = (e: E & {
|
|
90
|
-
currentTarget: T;
|
|
91
|
-
target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement ? T : DOMElement;
|
|
92
|
-
}) => void;
|
|
93
|
-
type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion< T, E, FocusEventHandler<T, E>>;
|
|
94
|
-
|
|
95
|
-
const SERIALIZABLE: unique symbol;
|
|
96
|
-
interface SerializableAttributeValue {
|
|
97
|
-
toString(): string;
|
|
98
|
-
[SERIALIZABLE]: never;
|
|
99
|
-
}
|
|
100
|
-
interface CustomAttributes<T> extends
|
|
101
|
-
Partial<{
|
|
102
|
-
ref: RefOrCallback<T>;
|
|
103
|
-
classList: { [k: string]: boolean | undefined; };
|
|
104
|
-
styleList: CSSProperties;
|
|
105
|
-
/**
|
|
106
|
-
* This property takes in one or more element directives.\
|
|
107
|
-
* This is akin to applying a directive through `<div ${myDirective()}></div>`
|
|
108
|
-
*/
|
|
109
|
-
directive: DirectiveResult<any> | DirectiveResult<any>[];
|
|
110
|
-
}> {}
|
|
111
|
-
interface CustomEvents {}
|
|
112
|
-
type OnAttributes<T> = {
|
|
113
|
-
[Key in keyof CustomEvents as `on-${ Key }`]?: EventHandlerWithOptionsUnion<T, CustomEvents[Key]>;
|
|
114
|
-
};
|
|
115
|
-
type ElementDirective = Partial<Record<`dir:${ string }`, DirectiveResult<any>>>;
|
|
116
|
-
interface DOMAttributes<T> extends
|
|
117
|
-
CustomAttributes<T>,
|
|
118
|
-
OnAttributes<T>,
|
|
119
|
-
ElementDirective,
|
|
120
|
-
CustomEventHandlersNamespaced<T>,
|
|
121
|
-
CanBeNothing<{
|
|
122
|
-
children: JSXElement;
|
|
123
|
-
innerHTML: string;
|
|
124
|
-
innerText: string | number;
|
|
125
|
-
textContent: string | number;
|
|
126
|
-
}> {}
|
|
127
|
-
|
|
128
|
-
interface CustomEventHandlersNamespaced<T> extends
|
|
129
|
-
Partial<{
|
|
130
|
-
'on-copy': EventHandlerWithOptionsUnion<T, ClipboardEvent>;
|
|
131
|
-
'on-cut': EventHandlerWithOptionsUnion<T, ClipboardEvent>;
|
|
132
|
-
'on-paste': EventHandlerWithOptionsUnion<T, ClipboardEvent>;
|
|
133
|
-
'on-compositionend': EventHandlerWithOptionsUnion<T, CompositionEvent>;
|
|
134
|
-
'on-compositionstart': EventHandlerWithOptionsUnion<T, CompositionEvent>;
|
|
135
|
-
'on-compositionupdate': EventHandlerWithOptionsUnion<T, CompositionEvent>;
|
|
136
|
-
'on-focusout': EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>;
|
|
137
|
-
'on-focusin': EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>;
|
|
138
|
-
'on-encrypted': EventHandlerWithOptionsUnion<T, Event>;
|
|
139
|
-
'on-dragexit': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
140
|
-
'on-abort': EventHandlerWithOptionsUnion<T, Event>;
|
|
141
|
-
'on-animationend': EventHandlerWithOptionsUnion<T, AnimationEvent>;
|
|
142
|
-
'on-animationiteration': EventHandlerWithOptionsUnion<T, AnimationEvent>;
|
|
143
|
-
'on-animationstart': EventHandlerWithOptionsUnion<T, AnimationEvent>;
|
|
144
|
-
'on-auxclick': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
145
|
-
'on-beforeinput': EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>>;
|
|
146
|
-
'on-beforetoggle': EventHandlerWithOptionsUnion<T, ToggleEvent>;
|
|
147
|
-
'on-blur': EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>;
|
|
148
|
-
'on-canplay': EventHandlerWithOptionsUnion<T, Event>;
|
|
149
|
-
'on-canplaythrough': EventHandlerWithOptionsUnion<T, Event>;
|
|
150
|
-
'on-change': EventHandlerWithOptionsUnion<T, Event, ChangeEventHandler<T, Event>>;
|
|
151
|
-
'on-click': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
152
|
-
'on-contextmenu': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
153
|
-
'on-dblclick': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
154
|
-
'on-drag': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
155
|
-
'on-dragend': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
156
|
-
'on-dragenter': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
157
|
-
'on-dragleave': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
158
|
-
'on-dragover': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
159
|
-
'on-dragstart': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
160
|
-
'on-drop': EventHandlerWithOptionsUnion<T, DragEvent>;
|
|
161
|
-
'on-durationchange': EventHandlerWithOptionsUnion<T, Event>;
|
|
162
|
-
'on-emptied': EventHandlerWithOptionsUnion<T, Event>;
|
|
163
|
-
'on-ended': EventHandlerWithOptionsUnion<T, Event>;
|
|
164
|
-
'on-error': EventHandlerWithOptionsUnion<T, Event>;
|
|
165
|
-
'on-focus': EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>;
|
|
166
|
-
'on-gotpointercapture': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
167
|
-
'on-input': EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>>;
|
|
168
|
-
'on-invalid': EventHandlerWithOptionsUnion<T, Event>;
|
|
169
|
-
'on-keydown': EventHandlerWithOptionsUnion<T, KeyboardEvent>;
|
|
170
|
-
'on-keypress': EventHandlerWithOptionsUnion<T, KeyboardEvent>;
|
|
171
|
-
'on-keyup': EventHandlerWithOptionsUnion<T, KeyboardEvent>;
|
|
172
|
-
'on-load': EventHandlerWithOptionsUnion<T, Event>;
|
|
173
|
-
'on-loadeddata': EventHandlerWithOptionsUnion<T, Event>;
|
|
174
|
-
'on-loadedmetadata': EventHandlerWithOptionsUnion<T, Event>;
|
|
175
|
-
'on-loadstart': EventHandlerWithOptionsUnion<T, Event>;
|
|
176
|
-
'on-lostpointercapture': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
177
|
-
'on-mousedown': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
178
|
-
'on-mouseenter': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
179
|
-
'on-mouseleave': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
180
|
-
'on-mousemove': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
181
|
-
'on-mouseout': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
182
|
-
'on-mouseover': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
183
|
-
'on-mouseup': EventHandlerWithOptionsUnion<T, MouseEvent>;
|
|
184
|
-
'on-pause': EventHandlerWithOptionsUnion<T, Event>;
|
|
185
|
-
'on-play': EventHandlerWithOptionsUnion<T, Event>;
|
|
186
|
-
'on-playing': EventHandlerWithOptionsUnion<T, Event>;
|
|
187
|
-
'on-pointercancel': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
188
|
-
'on-pointerdown': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
189
|
-
'on-pointerenter': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
190
|
-
'on-pointerleave': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
191
|
-
'on-pointermove': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
192
|
-
'on-pointerout': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
193
|
-
'on-pointerover': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
194
|
-
'on-pointerup': EventHandlerWithOptionsUnion<T, PointerEvent>;
|
|
195
|
-
'on-progress': EventHandlerWithOptionsUnion<T, ProgressEvent>;
|
|
196
|
-
'on-ratechange': EventHandlerWithOptionsUnion<T, Event>;
|
|
197
|
-
'on-reset': EventHandlerWithOptionsUnion<T, Event>;
|
|
198
|
-
'on-scroll': EventHandlerWithOptionsUnion<T, Event>;
|
|
199
|
-
'on-scrollend': EventHandlerWithOptionsUnion<T, Event>;
|
|
200
|
-
'on-seeked': EventHandlerWithOptionsUnion<T, Event>;
|
|
201
|
-
'on-seeking': EventHandlerWithOptionsUnion<T, Event>;
|
|
202
|
-
'on-select': EventHandlerWithOptionsUnion<T, Event>;
|
|
203
|
-
'on-stalled': EventHandlerWithOptionsUnion<T, Event>;
|
|
204
|
-
'on-submit': EventHandlerWithOptionsUnion<T, SubmitEvent>;
|
|
205
|
-
'on-suspend': EventHandlerWithOptionsUnion<T, Event>;
|
|
206
|
-
'on-timeupdate': EventHandlerWithOptionsUnion<T, Event>;
|
|
207
|
-
'on-toggle': EventHandlerWithOptionsUnion<T, ToggleEvent>;
|
|
208
|
-
'on-touchcancel': EventHandlerWithOptionsUnion<T, TouchEvent>;
|
|
209
|
-
'on-touchend': EventHandlerWithOptionsUnion<T, TouchEvent>;
|
|
210
|
-
'on-touchmove': EventHandlerWithOptionsUnion<T, TouchEvent>;
|
|
211
|
-
'on-touchstart': EventHandlerWithOptionsUnion<T, TouchEvent>;
|
|
212
|
-
'on-transitionstart': EventHandlerWithOptionsUnion<T, TransitionEvent>;
|
|
213
|
-
'on-transitionend': EventHandlerWithOptionsUnion<T, TransitionEvent>;
|
|
214
|
-
'on-transitionrun': EventHandlerWithOptionsUnion<T, TransitionEvent>;
|
|
215
|
-
'on-transitioncancel': EventHandlerWithOptionsUnion<T, TransitionEvent>;
|
|
216
|
-
'on-volumechange': EventHandlerWithOptionsUnion<T, Event>;
|
|
217
|
-
'on-waiting': EventHandlerWithOptionsUnion<T, Event>;
|
|
218
|
-
'on-wheel': EventHandlerWithOptionsUnion<T, WheelEvent>;
|
|
219
|
-
}> {}
|
|
220
|
-
interface CSSProperties extends
|
|
221
|
-
csstype.Properties { }
|
|
222
|
-
type HTMLAutocapitalize = [
|
|
223
|
-
'off',
|
|
224
|
-
'none',
|
|
225
|
-
'on',
|
|
226
|
-
'sentences',
|
|
227
|
-
'words',
|
|
228
|
-
'characters',
|
|
229
|
-
][number];
|
|
230
|
-
type HTMLDir = [
|
|
231
|
-
'ltr',
|
|
232
|
-
'rtl',
|
|
233
|
-
'auto',
|
|
234
|
-
][number];
|
|
235
|
-
type HTMLFormEncType = [
|
|
236
|
-
'application/x-www-form-urlencoded',
|
|
237
|
-
'multipart/form-data',
|
|
238
|
-
'text/plain',
|
|
239
|
-
][number];
|
|
240
|
-
type HTMLFormMethod = [
|
|
241
|
-
'post',
|
|
242
|
-
'get',
|
|
243
|
-
'dialog',
|
|
244
|
-
][number];
|
|
245
|
-
type HTMLCrossorigin = [
|
|
246
|
-
'anonymous',
|
|
247
|
-
'use-credentials',
|
|
248
|
-
('' & {})
|
|
249
|
-
][number];
|
|
250
|
-
type HTMLReferrerPolicy = [
|
|
251
|
-
'no-referrer',
|
|
252
|
-
'no-referrer-when-downgrade',
|
|
253
|
-
'origin',
|
|
254
|
-
'origin-when-cross-origin',
|
|
255
|
-
'same-origin',
|
|
256
|
-
'strict-origin',
|
|
257
|
-
'strict-origin-when-cross-origin',
|
|
258
|
-
'unsafe-url',
|
|
259
|
-
][number];
|
|
260
|
-
type HTMLIframeSandbox = [
|
|
261
|
-
'allow-downloads-without-user-activation',
|
|
262
|
-
'allow-downloads',
|
|
263
|
-
'allow-forms',
|
|
264
|
-
'allow-modals',
|
|
265
|
-
'allow-orientation-lock',
|
|
266
|
-
'allow-pointer-lock',
|
|
267
|
-
'allow-popups',
|
|
268
|
-
'allow-popups-to-escape-sandbox',
|
|
269
|
-
'allow-presentation',
|
|
270
|
-
'allow-same-origin',
|
|
271
|
-
'allow-scripts',
|
|
272
|
-
'allow-storage-access-by-user-activation',
|
|
273
|
-
'allow-top-navigation',
|
|
274
|
-
'allow-top-navigation-by-user-activation',
|
|
275
|
-
'allow-top-navigation-to-custom-protocols',
|
|
276
|
-
][number];
|
|
277
|
-
type HTMLLinkAs = [
|
|
278
|
-
'audio',
|
|
279
|
-
'document',
|
|
280
|
-
'embed',
|
|
281
|
-
'fetch',
|
|
282
|
-
'font',
|
|
283
|
-
'image',
|
|
284
|
-
'object',
|
|
285
|
-
'script',
|
|
286
|
-
'style',
|
|
287
|
-
'track',
|
|
288
|
-
'video',
|
|
289
|
-
'worker',
|
|
290
|
-
][number];
|
|
291
|
-
|
|
292
|
-
// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
|
|
293
|
-
interface AriaAttributes extends
|
|
294
|
-
CanBeNothing<{
|
|
295
|
-
/**
|
|
296
|
-
* Identifies the currently active element when DOM focus is on a composite widget, textbox,
|
|
297
|
-
* group, or application.
|
|
298
|
-
*/
|
|
299
|
-
'aria-activedescendant': string;
|
|
300
|
-
/**
|
|
301
|
-
* Indicates whether assistive technologies will present all, or only parts of, the changed
|
|
302
|
-
* region based on the change notifications defined by the aria-relevant attribute.
|
|
303
|
-
*/
|
|
304
|
-
'aria-atomic': boolean | 'false' | 'true';
|
|
305
|
-
/**
|
|
306
|
-
* Indicates whether inputting text could trigger display of one or more predictions of the
|
|
307
|
-
* user's intended value for an input and specifies how predictions would be presented if they
|
|
308
|
-
* are made.
|
|
309
|
-
*/
|
|
310
|
-
'aria-autocomplete': 'none' | 'inline' | 'list' | 'both';
|
|
311
|
-
/**
|
|
312
|
-
* Indicates an element is being modified and that assistive technologies MAY want to wait until
|
|
313
|
-
* the modifications are complete before exposing them to the user.
|
|
314
|
-
*/
|
|
315
|
-
'aria-busy': boolean | 'false' | 'true';
|
|
316
|
-
/**
|
|
317
|
-
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
318
|
-
*
|
|
319
|
-
* @see aria-pressed @see aria-selected.
|
|
320
|
-
*/
|
|
321
|
-
'aria-checked': boolean | 'false' | 'mixed' | 'true';
|
|
322
|
-
/**
|
|
323
|
-
* Defines the total number of columns in a table, grid, or treegrid.
|
|
324
|
-
*
|
|
325
|
-
* @see aria-colindex.
|
|
326
|
-
*/
|
|
327
|
-
'aria-colcount': number | string;
|
|
328
|
-
/**
|
|
329
|
-
* Defines an element's column index or position with respect to the total number of columns
|
|
330
|
-
* within a table, grid, or treegrid.
|
|
331
|
-
*
|
|
332
|
-
* @see aria-colcount @see aria-colspan.
|
|
333
|
-
*/
|
|
334
|
-
'aria-colindex': number | string;
|
|
335
|
-
/**
|
|
336
|
-
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or
|
|
337
|
-
* treegrid.
|
|
338
|
-
*
|
|
339
|
-
* @see aria-colindex @see aria-rowspan.
|
|
340
|
-
*/
|
|
341
|
-
'aria-colspan': number | string;
|
|
342
|
-
/**
|
|
343
|
-
* Identifies the element (or elements) whose contents or presence are controlled by the current
|
|
344
|
-
* element.
|
|
345
|
-
*
|
|
346
|
-
* @see aria-owns.
|
|
347
|
-
*/
|
|
348
|
-
'aria-controls': string;
|
|
349
|
-
/**
|
|
350
|
-
* Indicates the element that represents the current item within a container or set of related
|
|
351
|
-
* elements.
|
|
352
|
-
*/
|
|
353
|
-
'aria-current':
|
|
354
|
-
| boolean
|
|
355
|
-
| 'false'
|
|
356
|
-
| 'true'
|
|
357
|
-
| 'page'
|
|
358
|
-
| 'step'
|
|
359
|
-
| 'location'
|
|
360
|
-
| 'date'
|
|
361
|
-
| 'time'
|
|
362
|
-
| undefined;
|
|
363
|
-
/**
|
|
364
|
-
* Identifies the element (or elements) that describes the object.
|
|
365
|
-
*
|
|
366
|
-
* @see aria-labelledby
|
|
367
|
-
*/
|
|
368
|
-
'aria-describedby': string;
|
|
369
|
-
/**
|
|
370
|
-
* Identifies the element that provides a detailed, extended description for the object.
|
|
371
|
-
*
|
|
372
|
-
* @see aria-describedby.
|
|
373
|
-
*/
|
|
374
|
-
'aria-details': string;
|
|
375
|
-
/**
|
|
376
|
-
* Indicates that the element is perceivable but disabled, so it is not editable or otherwise
|
|
377
|
-
* operable.
|
|
378
|
-
*
|
|
379
|
-
* @see aria-hidden @see aria-readonly.
|
|
380
|
-
*/
|
|
381
|
-
'aria-disabled': boolean | 'false' | 'true';
|
|
382
|
-
/**
|
|
383
|
-
* Indicates what functions can be performed when a dragged object is released on the drop
|
|
384
|
-
* target.
|
|
385
|
-
*
|
|
386
|
-
* @deprecated In ARIA 1.1
|
|
387
|
-
*/
|
|
388
|
-
'aria-dropeffect': 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
|
|
389
|
-
/**
|
|
390
|
-
* Identifies the element that provides an error message for the object.
|
|
391
|
-
*
|
|
392
|
-
* @see aria-invalid @see aria-describedby.
|
|
393
|
-
*/
|
|
394
|
-
'aria-errormessage': string;
|
|
395
|
-
/**
|
|
396
|
-
* Indicates whether the element, or another grouping element it controls, is currently expanded
|
|
397
|
-
* or collapsed.
|
|
398
|
-
*/
|
|
399
|
-
'aria-expanded': boolean | 'false' | 'true';
|
|
400
|
-
/**
|
|
401
|
-
* Identifies the next element (or elements) in an alternate reading order of content which, at
|
|
402
|
-
* the user's discretion, allows assistive technology to override the general default of reading
|
|
403
|
-
* in document source order.
|
|
404
|
-
*/
|
|
405
|
-
'aria-flowto': string;
|
|
406
|
-
/**
|
|
407
|
-
* Indicates an element's "grabbed" state in a drag-and-drop operation.
|
|
408
|
-
*
|
|
409
|
-
* @deprecated In ARIA 1.1
|
|
410
|
-
*/
|
|
411
|
-
'aria-grabbed': boolean | 'false' | 'true';
|
|
412
|
-
/**
|
|
413
|
-
* Indicates the availability and type of interactive popup element, such as menu or dialog,
|
|
414
|
-
* that can be triggered by an element.
|
|
415
|
-
*/
|
|
416
|
-
'aria-haspopup':
|
|
417
|
-
| boolean
|
|
418
|
-
| 'false'
|
|
419
|
-
| 'true'
|
|
420
|
-
| 'menu'
|
|
421
|
-
| 'listbox'
|
|
422
|
-
| 'tree'
|
|
423
|
-
| 'grid'
|
|
424
|
-
| 'dialog'
|
|
425
|
-
| undefined;
|
|
426
|
-
/**
|
|
427
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
428
|
-
*
|
|
429
|
-
* @see aria-disabled.
|
|
430
|
-
*/
|
|
431
|
-
'aria-hidden': boolean | 'false' | 'true';
|
|
432
|
-
/**
|
|
433
|
-
* Indicates the entered value does not conform to the format expected by the application.
|
|
434
|
-
*
|
|
435
|
-
* @see aria-errormessage.
|
|
436
|
-
*/
|
|
437
|
-
'aria-invalid': boolean | 'false' | 'true' | 'grammar' | 'spelling';
|
|
438
|
-
/**
|
|
439
|
-
* Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
|
|
440
|
-
* element.
|
|
441
|
-
*/
|
|
442
|
-
'aria-keyshortcuts': string;
|
|
443
|
-
/**
|
|
444
|
-
* Defines a string value that labels the current element.
|
|
445
|
-
*
|
|
446
|
-
* @see aria-labelledby.
|
|
447
|
-
*/
|
|
448
|
-
'aria-label': string;
|
|
449
|
-
/**
|
|
450
|
-
* Identifies the element (or elements) that labels the current element.
|
|
451
|
-
*
|
|
452
|
-
* @see aria-describedby.
|
|
453
|
-
*/
|
|
454
|
-
'aria-labelledby': string;
|
|
455
|
-
/** Defines the hierarchical level of an element within a structure. */
|
|
456
|
-
'aria-level': number | string;
|
|
457
|
-
/**
|
|
458
|
-
* Indicates that an element will be updated, and describes the types of updates the user
|
|
459
|
-
* agents, assistive technologies, and user can expect from the live region.
|
|
460
|
-
*/
|
|
461
|
-
'aria-live': 'off' | 'assertive' | 'polite';
|
|
462
|
-
/** Indicates whether an element is modal when displayed. */
|
|
463
|
-
'aria-modal': boolean | 'false' | 'true';
|
|
464
|
-
/** Indicates whether a text box accepts multiple lines of input or only a single line. */
|
|
465
|
-
'aria-multiline': boolean | 'false' | 'true';
|
|
466
|
-
/**
|
|
467
|
-
* Indicates that the user may select more than one item from the current selectable
|
|
468
|
-
* descendants.
|
|
469
|
-
*/
|
|
470
|
-
'aria-multiselectable': boolean | 'false' | 'true';
|
|
471
|
-
/** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
|
|
472
|
-
'aria-orientation': 'horizontal' | 'vertical';
|
|
473
|
-
/**
|
|
474
|
-
* Identifies an element (or elements) in order to define a visual, functional, or contextual
|
|
475
|
-
* parent/child relationship between DOM elements where the DOM hierarchy cannot be used to
|
|
476
|
-
* represent the relationship.
|
|
477
|
-
*
|
|
478
|
-
* @see aria-controls.
|
|
479
|
-
*/
|
|
480
|
-
'aria-owns': string;
|
|
481
|
-
/**
|
|
482
|
-
* Defines a short hint (a word or short phrase) intended to aid the user with data entry when
|
|
483
|
-
* the control has no value. A hint could be a sample value or a brief description of the
|
|
484
|
-
* expected format.
|
|
485
|
-
*/
|
|
486
|
-
'aria-placeholder': string;
|
|
487
|
-
/**
|
|
488
|
-
* Defines an element's number or position in the current set of listitems or treeitems. Not
|
|
489
|
-
* required if all elements in the set are present in the DOM.
|
|
490
|
-
*
|
|
491
|
-
* @see aria-setsize.
|
|
492
|
-
*/
|
|
493
|
-
'aria-posinset': number | string;
|
|
494
|
-
/**
|
|
495
|
-
* Indicates the current "pressed" state of toggle buttons.
|
|
496
|
-
*
|
|
497
|
-
* @see aria-checked @see aria-selected.
|
|
498
|
-
*/
|
|
499
|
-
'aria-pressed': boolean | 'false' | 'mixed' | 'true';
|
|
500
|
-
/**
|
|
501
|
-
* Indicates that the element is not editable, but is otherwise operable.
|
|
502
|
-
*
|
|
503
|
-
* @see aria-disabled.
|
|
504
|
-
*/
|
|
505
|
-
'aria-readonly': boolean | 'false' | 'true';
|
|
506
|
-
/**
|
|
507
|
-
* Indicates what notifications the user agent will trigger when the accessibility tree within a
|
|
508
|
-
* live region is modified.
|
|
509
|
-
*
|
|
510
|
-
* @see aria-atomic.
|
|
511
|
-
*/
|
|
512
|
-
'aria-relevant':
|
|
513
|
-
| 'additions'
|
|
514
|
-
| 'additions removals'
|
|
515
|
-
| 'additions text'
|
|
516
|
-
| 'all'
|
|
517
|
-
| 'removals'
|
|
518
|
-
| 'removals additions'
|
|
519
|
-
| 'removals text'
|
|
520
|
-
| 'text'
|
|
521
|
-
| 'text additions'
|
|
522
|
-
| 'text removals'
|
|
523
|
-
| undefined;
|
|
524
|
-
/** Indicates that user input is required on the element before a form may be submitted. */
|
|
525
|
-
'aria-required': boolean | 'false' | 'true';
|
|
526
|
-
/** Defines a human-readable, author-localized description for the role of an element. */
|
|
527
|
-
'aria-roledescription': string;
|
|
528
|
-
/**
|
|
529
|
-
* Defines the total number of rows in a table, grid, or treegrid.
|
|
530
|
-
*
|
|
531
|
-
* @see aria-rowindex.
|
|
532
|
-
*/
|
|
533
|
-
'aria-rowcount': number | string;
|
|
534
|
-
/**
|
|
535
|
-
* Defines an element's row index or position with respect to the total number of rows within a
|
|
536
|
-
* table, grid, or treegrid.
|
|
537
|
-
*
|
|
538
|
-
* @see aria-rowcount @see aria-rowspan.
|
|
539
|
-
*/
|
|
540
|
-
'aria-rowindex': number | string;
|
|
541
|
-
/**
|
|
542
|
-
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
543
|
-
*
|
|
544
|
-
* @see aria-rowindex @see aria-colspan.
|
|
545
|
-
*/
|
|
546
|
-
'aria-rowspan': number | string;
|
|
547
|
-
/**
|
|
548
|
-
* Indicates the current "selected" state of various widgets.
|
|
549
|
-
*
|
|
550
|
-
* @see aria-checked @see aria-pressed.
|
|
551
|
-
*/
|
|
552
|
-
'aria-selected': boolean | 'false' | 'true';
|
|
553
|
-
/**
|
|
554
|
-
* Defines the number of items in the current set of listitems or treeitems. Not required if all
|
|
555
|
-
* elements in the set are present in the DOM.
|
|
556
|
-
*
|
|
557
|
-
* @see aria-posinset.
|
|
558
|
-
*/
|
|
559
|
-
'aria-setsize': number | string;
|
|
560
|
-
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
561
|
-
'aria-sort': 'none' | 'ascending' | 'descending' | 'other';
|
|
562
|
-
/** Defines the maximum allowed value for a range widget. */
|
|
563
|
-
'aria-valuemax': number | string;
|
|
564
|
-
/** Defines the minimum allowed value for a range widget. */
|
|
565
|
-
'aria-valuemin': number | string;
|
|
566
|
-
/**
|
|
567
|
-
* Defines the current value for a range widget.
|
|
568
|
-
*
|
|
569
|
-
* @see aria-valuetext.
|
|
570
|
-
*/
|
|
571
|
-
'aria-valuenow': number | string;
|
|
572
|
-
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
573
|
-
'aria-valuetext': string;
|
|
574
|
-
role:
|
|
575
|
-
| 'alert'
|
|
576
|
-
| 'alertdialog'
|
|
577
|
-
| 'application'
|
|
578
|
-
| 'article'
|
|
579
|
-
| 'banner'
|
|
580
|
-
| 'button'
|
|
581
|
-
| 'cell'
|
|
582
|
-
| 'checkbox'
|
|
583
|
-
| 'columnheader'
|
|
584
|
-
| 'combobox'
|
|
585
|
-
| 'complementary'
|
|
586
|
-
| 'contentinfo'
|
|
587
|
-
| 'definition'
|
|
588
|
-
| 'dialog'
|
|
589
|
-
| 'directory'
|
|
590
|
-
| 'document'
|
|
591
|
-
| 'feed'
|
|
592
|
-
| 'figure'
|
|
593
|
-
| 'form'
|
|
594
|
-
| 'grid'
|
|
595
|
-
| 'gridcell'
|
|
596
|
-
| 'group'
|
|
597
|
-
| 'heading'
|
|
598
|
-
| 'img'
|
|
599
|
-
| 'link'
|
|
600
|
-
| 'list'
|
|
601
|
-
| 'listbox'
|
|
602
|
-
| 'listitem'
|
|
603
|
-
| 'log'
|
|
604
|
-
| 'main'
|
|
605
|
-
| 'marquee'
|
|
606
|
-
| 'math'
|
|
607
|
-
| 'menu'
|
|
608
|
-
| 'menubar'
|
|
609
|
-
| 'menuitem'
|
|
610
|
-
| 'menuitemcheckbox'
|
|
611
|
-
| 'menuitemradio'
|
|
612
|
-
| 'meter'
|
|
613
|
-
| 'navigation'
|
|
614
|
-
| 'none'
|
|
615
|
-
| 'note'
|
|
616
|
-
| 'option'
|
|
617
|
-
| 'presentation'
|
|
618
|
-
| 'progressbar'
|
|
619
|
-
| 'radio'
|
|
620
|
-
| 'radiogroup'
|
|
621
|
-
| 'region'
|
|
622
|
-
| 'row'
|
|
623
|
-
| 'rowgroup'
|
|
624
|
-
| 'rowheader'
|
|
625
|
-
| 'scrollbar'
|
|
626
|
-
| 'search'
|
|
627
|
-
| 'searchbox'
|
|
628
|
-
| 'separator'
|
|
629
|
-
| 'slider'
|
|
630
|
-
| 'spinbutton'
|
|
631
|
-
| 'status'
|
|
632
|
-
| 'switch'
|
|
633
|
-
| 'tab'
|
|
634
|
-
| 'table'
|
|
635
|
-
| 'tablist'
|
|
636
|
-
| 'tabpanel'
|
|
637
|
-
| 'term'
|
|
638
|
-
| 'textbox'
|
|
639
|
-
| 'timer'
|
|
640
|
-
| 'toolbar'
|
|
641
|
-
| 'tooltip'
|
|
642
|
-
| 'tree'
|
|
643
|
-
| 'treegrid'
|
|
644
|
-
| 'treeitem';
|
|
645
|
-
}> {}
|
|
646
|
-
interface HTMLAttributes<T> extends
|
|
647
|
-
AriaAttributes,
|
|
648
|
-
DOMAttributes<T>,
|
|
649
|
-
CanBeNothing<{
|
|
650
|
-
accessKey: string;
|
|
651
|
-
class: string;
|
|
652
|
-
contenteditable: boolean | 'plaintext-only' | 'inherit';
|
|
653
|
-
contextmenu: string;
|
|
654
|
-
dir: HTMLDir;
|
|
655
|
-
draggable: boolean | 'false' | 'true';
|
|
656
|
-
hidden: boolean | 'hidden' | 'until-found';
|
|
657
|
-
id: string;
|
|
658
|
-
is: string;
|
|
659
|
-
inert: boolean;
|
|
660
|
-
lang: string;
|
|
661
|
-
spellcheck: boolean;
|
|
662
|
-
style: string;
|
|
663
|
-
tabindex: number | string;
|
|
664
|
-
title: string;
|
|
665
|
-
translate: 'yes' | 'no';
|
|
666
|
-
about: string;
|
|
667
|
-
datatype: string;
|
|
668
|
-
inlist: any;
|
|
669
|
-
popover: boolean | 'manual' | 'auto';
|
|
670
|
-
prefix: string;
|
|
671
|
-
property: string;
|
|
672
|
-
resource: string;
|
|
673
|
-
typeof: string;
|
|
674
|
-
vocab: string;
|
|
675
|
-
autocapitalize: HTMLAutocapitalize;
|
|
676
|
-
slot: string;
|
|
677
|
-
color: string;
|
|
678
|
-
itemprop: string;
|
|
679
|
-
itemscope: boolean;
|
|
680
|
-
itemtype: string;
|
|
681
|
-
itemid: string;
|
|
682
|
-
itemref: string;
|
|
683
|
-
part: string;
|
|
684
|
-
exportparts: string;
|
|
685
|
-
inputmode:
|
|
686
|
-
| 'none'
|
|
687
|
-
| 'text'
|
|
688
|
-
| 'tel'
|
|
689
|
-
| 'url'
|
|
690
|
-
| 'email'
|
|
691
|
-
| 'numeric'
|
|
692
|
-
| 'decimal'
|
|
693
|
-
| 'search';
|
|
694
|
-
contentEditable: boolean | 'plaintext-only' | 'inherit';
|
|
695
|
-
contextMenu: string;
|
|
696
|
-
tabIndex: number | string;
|
|
697
|
-
autoCapitalize: HTMLAutocapitalize;
|
|
698
|
-
itemProp: string;
|
|
699
|
-
itemScope: boolean;
|
|
700
|
-
itemType: string;
|
|
701
|
-
itemId: string;
|
|
702
|
-
itemRef: string;
|
|
703
|
-
exportParts: string;
|
|
704
|
-
inputMode:
|
|
705
|
-
| 'none'
|
|
706
|
-
| 'text'
|
|
707
|
-
| 'tel'
|
|
708
|
-
| 'url'
|
|
709
|
-
| 'email'
|
|
710
|
-
| 'numeric'
|
|
711
|
-
| 'decimal'
|
|
712
|
-
| 'search';
|
|
713
|
-
}> {
|
|
714
|
-
/** Tells the compiler to compile this Functional Component using its tag as a static literal */
|
|
715
|
-
static?: boolean;
|
|
716
|
-
}
|
|
717
|
-
interface AnchorHTMLAttributes<T> extends
|
|
718
|
-
HTMLAttributes<T>,
|
|
719
|
-
CanBeNothing<{
|
|
720
|
-
download: any;
|
|
721
|
-
href: string;
|
|
722
|
-
hreflang: string;
|
|
723
|
-
media: string;
|
|
724
|
-
ping: string;
|
|
725
|
-
referrerpolicy: HTMLReferrerPolicy;
|
|
726
|
-
rel: string;
|
|
727
|
-
target: string;
|
|
728
|
-
type: string;
|
|
729
|
-
referrerPolicy: HTMLReferrerPolicy;
|
|
730
|
-
}> {}
|
|
731
|
-
interface AudioHTMLAttributes<T> extends
|
|
732
|
-
MediaHTMLAttributes<T> {}
|
|
733
|
-
interface AreaHTMLAttributes<T> extends
|
|
734
|
-
HTMLAttributes<T>,
|
|
735
|
-
CanBeNothing<{
|
|
736
|
-
alt: string;
|
|
737
|
-
coords: string;
|
|
738
|
-
download: any;
|
|
739
|
-
href: string;
|
|
740
|
-
hreflang: string;
|
|
741
|
-
ping: string;
|
|
742
|
-
referrerpolicy: HTMLReferrerPolicy;
|
|
743
|
-
rel: string;
|
|
744
|
-
shape: 'rect' | 'circle' | 'poly' | 'default';
|
|
745
|
-
target: string;
|
|
746
|
-
referrerPolicy: HTMLReferrerPolicy;
|
|
747
|
-
}> {}
|
|
748
|
-
interface BaseHTMLAttributes<T> extends
|
|
749
|
-
HTMLAttributes<T>,
|
|
750
|
-
CanBeNothing<{
|
|
751
|
-
href: string;
|
|
752
|
-
target: string;
|
|
753
|
-
}> {}
|
|
754
|
-
interface BlockquoteHTMLAttributes<T> extends
|
|
755
|
-
HTMLAttributes<T>,
|
|
756
|
-
CanBeNothing<{
|
|
757
|
-
cite: string;
|
|
758
|
-
}> {}
|
|
759
|
-
interface ButtonHTMLAttributes<T> extends
|
|
760
|
-
HTMLAttributes<T>,
|
|
761
|
-
CanBeNothing<{
|
|
762
|
-
autofocus: boolean;
|
|
763
|
-
disabled: boolean;
|
|
764
|
-
form: string;
|
|
765
|
-
formaction: string | SerializableAttributeValue;
|
|
766
|
-
formenctype: HTMLFormEncType;
|
|
767
|
-
formmethod: HTMLFormMethod;
|
|
768
|
-
formnovalidate: boolean;
|
|
769
|
-
formtarget: string;
|
|
770
|
-
popovertarget: string;
|
|
771
|
-
popovertargetaction: 'hide' | 'show' | 'toggle';
|
|
772
|
-
name: string;
|
|
773
|
-
type: 'submit' | 'reset' | 'button';
|
|
774
|
-
value: string;
|
|
775
|
-
formAction: string | SerializableAttributeValue;
|
|
776
|
-
formEnctype: HTMLFormEncType;
|
|
777
|
-
formMethod: HTMLFormMethod;
|
|
778
|
-
formNoValidate: boolean;
|
|
779
|
-
formTarget: string;
|
|
780
|
-
popoverTarget: string;
|
|
781
|
-
popoverTargetAction: 'hide' | 'show' | 'toggle';
|
|
782
|
-
}> {}
|
|
783
|
-
interface CanvasHTMLAttributes<T> extends
|
|
784
|
-
HTMLAttributes<T>,
|
|
785
|
-
CanBeNothing<{
|
|
786
|
-
width: number | string;
|
|
787
|
-
height: number | string;
|
|
788
|
-
}> {}
|
|
789
|
-
interface ColHTMLAttributes<T> extends
|
|
790
|
-
HTMLAttributes<T>,
|
|
791
|
-
CanBeNothing<{
|
|
792
|
-
span: number | string;
|
|
793
|
-
width: number | string;
|
|
794
|
-
}> {}
|
|
795
|
-
interface ColgroupHTMLAttributes<T> extends
|
|
796
|
-
HTMLAttributes<T>,
|
|
797
|
-
CanBeNothing<{
|
|
798
|
-
span: number | string;
|
|
799
|
-
}> {}
|
|
800
|
-
interface DataHTMLAttributes<T> extends
|
|
801
|
-
HTMLAttributes<T>,
|
|
802
|
-
CanBeNothing<{
|
|
803
|
-
value: string | string[] | number;
|
|
804
|
-
}> {}
|
|
805
|
-
interface DetailsHtmlAttributes<T> extends
|
|
806
|
-
HTMLAttributes<T>,
|
|
807
|
-
CanBeNothing<{
|
|
808
|
-
open: boolean;
|
|
809
|
-
}> {}
|
|
810
|
-
interface DialogHtmlAttributes<T> extends
|
|
811
|
-
HTMLAttributes<T>,
|
|
812
|
-
CanBeNothing<{
|
|
813
|
-
open: boolean;
|
|
814
|
-
onClose: EventHandlerUnion<T, Event>;
|
|
815
|
-
onCancel: EventHandlerUnion<T, Event>;
|
|
816
|
-
}> {}
|
|
817
|
-
interface EmbedHTMLAttributes<T> extends
|
|
818
|
-
HTMLAttributes<T>,
|
|
819
|
-
CanBeNothing<{
|
|
820
|
-
height: number | string;
|
|
821
|
-
width: number | string;
|
|
822
|
-
src: string;
|
|
823
|
-
type: string;
|
|
824
|
-
}> {}
|
|
825
|
-
interface FieldsetHTMLAttributes<T> extends
|
|
826
|
-
HTMLAttributes<T>,
|
|
827
|
-
CanBeNothing<{
|
|
828
|
-
disabled: boolean;
|
|
829
|
-
form: string;
|
|
830
|
-
name: string;
|
|
831
|
-
}> {}
|
|
832
|
-
interface FormHTMLAttributes<T> extends
|
|
833
|
-
HTMLAttributes<T>,
|
|
834
|
-
CanBeNothing<{
|
|
835
|
-
'accept-charset': string;
|
|
836
|
-
action: string | SerializableAttributeValue;
|
|
837
|
-
autocomplete: string;
|
|
838
|
-
encoding: HTMLFormEncType;
|
|
839
|
-
enctype: HTMLFormEncType;
|
|
840
|
-
method: HTMLFormMethod;
|
|
841
|
-
name: string;
|
|
842
|
-
novalidate: boolean;
|
|
843
|
-
target: string;
|
|
844
|
-
noValidate: boolean;
|
|
845
|
-
}> {}
|
|
846
|
-
interface IframeHTMLAttributes<T> extends
|
|
847
|
-
HTMLAttributes<T>,
|
|
848
|
-
CanBeNothing<{
|
|
849
|
-
allow: string;
|
|
850
|
-
allowfullscreen: boolean;
|
|
851
|
-
height: number | string;
|
|
852
|
-
loading: 'eager' | 'lazy';
|
|
853
|
-
name: string;
|
|
854
|
-
referrerpolicy: HTMLReferrerPolicy;
|
|
855
|
-
sandbox: HTMLIframeSandbox | string;
|
|
856
|
-
src: string;
|
|
857
|
-
srcdoc: string;
|
|
858
|
-
width: number | string;
|
|
859
|
-
referrerPolicy: HTMLReferrerPolicy;
|
|
860
|
-
}> {}
|
|
861
|
-
interface ImgHTMLAttributes<T> extends
|
|
862
|
-
HTMLAttributes<T>,
|
|
863
|
-
CanBeNothing<{
|
|
864
|
-
alt: string;
|
|
865
|
-
crossorigin: HTMLCrossorigin;
|
|
866
|
-
decoding: 'sync' | 'async' | 'auto';
|
|
867
|
-
height: number | string;
|
|
868
|
-
ismap: boolean;
|
|
869
|
-
isMap: boolean;
|
|
870
|
-
loading: 'eager' | 'lazy';
|
|
871
|
-
referrerpolicy: HTMLReferrerPolicy;
|
|
872
|
-
referrerPolicy: HTMLReferrerPolicy;
|
|
873
|
-
sizes: string;
|
|
874
|
-
src: string;
|
|
875
|
-
srcset: string;
|
|
876
|
-
srcSet: string;
|
|
877
|
-
usemap: string;
|
|
878
|
-
useMap: string;
|
|
879
|
-
width: number | string;
|
|
880
|
-
crossOrigin: HTMLCrossorigin;
|
|
881
|
-
elementtiming: string;
|
|
882
|
-
fetchpriority: 'high' | 'low' | 'auto';
|
|
883
|
-
}> {}
|
|
884
|
-
interface InputHTMLAttributes<T> extends
|
|
885
|
-
HTMLAttributes<T>,
|
|
886
|
-
CanBeNothing<{
|
|
887
|
-
accept: string;
|
|
888
|
-
alt: string;
|
|
889
|
-
autocomplete: string;
|
|
890
|
-
autocorrect: 'on' | 'off';
|
|
891
|
-
autofocus: boolean;
|
|
892
|
-
capture: boolean | string;
|
|
893
|
-
checked: boolean;
|
|
894
|
-
crossorigin: HTMLCrossorigin;
|
|
895
|
-
disabled: boolean;
|
|
896
|
-
enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
897
|
-
form: string;
|
|
898
|
-
formaction: string | SerializableAttributeValue;
|
|
899
|
-
formenctype: HTMLFormEncType;
|
|
900
|
-
formmethod: HTMLFormMethod;
|
|
901
|
-
formnovalidate: boolean;
|
|
902
|
-
formtarget: string;
|
|
903
|
-
height: number | string;
|
|
904
|
-
incremental: boolean;
|
|
905
|
-
list: string;
|
|
906
|
-
max: number | string;
|
|
907
|
-
maxlength: number | string;
|
|
908
|
-
min: number | string;
|
|
909
|
-
minlength: number | string;
|
|
910
|
-
multiple: boolean;
|
|
911
|
-
name: string;
|
|
912
|
-
pattern: string;
|
|
913
|
-
placeholder: string;
|
|
914
|
-
readonly: boolean;
|
|
915
|
-
results: number;
|
|
916
|
-
required: boolean;
|
|
917
|
-
size: number | string;
|
|
918
|
-
src: string;
|
|
919
|
-
step: number | string;
|
|
920
|
-
type: string;
|
|
921
|
-
value: string | string[] | number;
|
|
922
|
-
width: number | string;
|
|
923
|
-
crossOrigin: HTMLCrossorigin;
|
|
924
|
-
formAction: string | SerializableAttributeValue;
|
|
925
|
-
formEnctype: HTMLFormEncType;
|
|
926
|
-
formMethod: HTMLFormMethod;
|
|
927
|
-
formNoValidate: boolean;
|
|
928
|
-
formTarget: string;
|
|
929
|
-
maxLength: number | string;
|
|
930
|
-
minLength: number | string;
|
|
931
|
-
readOnly: boolean;
|
|
932
|
-
}> {}
|
|
933
|
-
interface InsHTMLAttributes<T> extends
|
|
934
|
-
HTMLAttributes<T>,
|
|
935
|
-
CanBeNothing<{
|
|
936
|
-
cite: string;
|
|
937
|
-
dateTime: string;
|
|
938
|
-
}> {}
|
|
939
|
-
interface KeygenHTMLAttributes<T> extends
|
|
940
|
-
HTMLAttributes<T>,
|
|
941
|
-
CanBeNothing<{
|
|
942
|
-
autofocus: boolean;
|
|
943
|
-
challenge: string;
|
|
944
|
-
disabled: boolean;
|
|
945
|
-
form: string;
|
|
946
|
-
keytype: string;
|
|
947
|
-
keyparams: string;
|
|
948
|
-
name: string;
|
|
949
|
-
}> {}
|
|
950
|
-
interface LabelHTMLAttributes<T> extends
|
|
951
|
-
HTMLAttributes<T>,
|
|
952
|
-
CanBeNothing<{
|
|
953
|
-
for: string;
|
|
954
|
-
form: string;
|
|
955
|
-
}> {}
|
|
956
|
-
interface LiHTMLAttributes<T> extends
|
|
957
|
-
HTMLAttributes<T>,
|
|
958
|
-
CanBeNothing<{
|
|
959
|
-
value: number | string;
|
|
960
|
-
}> {}
|
|
961
|
-
interface LinkHTMLAttributes<T> extends
|
|
962
|
-
HTMLAttributes<T>,
|
|
963
|
-
CanBeNothing<{
|
|
964
|
-
as: HTMLLinkAs;
|
|
965
|
-
crossorigin: HTMLCrossorigin;
|
|
966
|
-
disabled: boolean;
|
|
967
|
-
fetchpriority: 'high' | 'low' | 'auto';
|
|
968
|
-
href: string;
|
|
969
|
-
hreflang: string;
|
|
970
|
-
imagesizes: string;
|
|
971
|
-
imagesrcset: string;
|
|
972
|
-
integrity: string;
|
|
973
|
-
media: string;
|
|
974
|
-
referrerpolicy: HTMLReferrerPolicy;
|
|
975
|
-
rel: string;
|
|
976
|
-
sizes: string;
|
|
977
|
-
type: string;
|
|
978
|
-
crossOrigin: HTMLCrossorigin;
|
|
979
|
-
referrerPolicy: HTMLReferrerPolicy;
|
|
980
|
-
}> {}
|
|
981
|
-
interface MapHTMLAttributes<T> extends
|
|
982
|
-
HTMLAttributes<T>,
|
|
983
|
-
CanBeNothing<{
|
|
984
|
-
name: string;
|
|
985
|
-
}> {}
|
|
986
|
-
interface MediaHTMLAttributes<T> extends
|
|
987
|
-
HTMLAttributes<T>,
|
|
988
|
-
CanBeNothing<{
|
|
989
|
-
autoplay: boolean;
|
|
990
|
-
controls: boolean;
|
|
991
|
-
crossorigin: HTMLCrossorigin;
|
|
992
|
-
loop: boolean;
|
|
993
|
-
mediagroup: string;
|
|
994
|
-
muted: boolean;
|
|
995
|
-
preload: 'none' | 'metadata' | 'auto' | '';
|
|
996
|
-
src: string;
|
|
997
|
-
crossOrigin: HTMLCrossorigin;
|
|
998
|
-
mediaGroup: string;
|
|
999
|
-
}> {}
|
|
1000
|
-
interface MenuHTMLAttributes<T> extends
|
|
1001
|
-
HTMLAttributes<T>,
|
|
1002
|
-
CanBeNothing<{
|
|
1003
|
-
label: string;
|
|
1004
|
-
type: 'context' | 'toolbar';
|
|
1005
|
-
}> {}
|
|
1006
|
-
interface MetaHTMLAttributes<T> extends
|
|
1007
|
-
HTMLAttributes<T>,
|
|
1008
|
-
CanBeNothing<{
|
|
1009
|
-
charset: string;
|
|
1010
|
-
content: string;
|
|
1011
|
-
'http-equiv': string;
|
|
1012
|
-
name: string;
|
|
1013
|
-
media: string;
|
|
1014
|
-
}> {}
|
|
1015
|
-
interface MeterHTMLAttributes<T> extends
|
|
1016
|
-
HTMLAttributes<T>,
|
|
1017
|
-
CanBeNothing<{
|
|
1018
|
-
form: string;
|
|
1019
|
-
high: number | string;
|
|
1020
|
-
low: number | string;
|
|
1021
|
-
max: number | string;
|
|
1022
|
-
min: number | string;
|
|
1023
|
-
optimum: number | string;
|
|
1024
|
-
value: string | string[] | number;
|
|
1025
|
-
}> {}
|
|
1026
|
-
interface QuoteHTMLAttributes<T> extends
|
|
1027
|
-
HTMLAttributes<T>,
|
|
1028
|
-
CanBeNothing<{
|
|
1029
|
-
cite: string;
|
|
1030
|
-
}> {}
|
|
1031
|
-
interface ObjectHTMLAttributes<T> extends
|
|
1032
|
-
HTMLAttributes<T>,
|
|
1033
|
-
CanBeNothing<{
|
|
1034
|
-
data: string;
|
|
1035
|
-
form: string;
|
|
1036
|
-
height: number | string;
|
|
1037
|
-
name: string;
|
|
1038
|
-
type: string;
|
|
1039
|
-
usemap: string;
|
|
1040
|
-
width: number | string;
|
|
1041
|
-
useMap: string;
|
|
1042
|
-
}> {}
|
|
1043
|
-
interface OlHTMLAttributes<T> extends
|
|
1044
|
-
HTMLAttributes<T>,
|
|
1045
|
-
CanBeNothing<{
|
|
1046
|
-
reversed: boolean;
|
|
1047
|
-
start: number | string;
|
|
1048
|
-
type: '1' | 'a' | 'A' | 'i' | 'I';
|
|
1049
|
-
}> {}
|
|
1050
|
-
interface OptgroupHTMLAttributes<T> extends
|
|
1051
|
-
HTMLAttributes<T>,
|
|
1052
|
-
CanBeNothing<{
|
|
1053
|
-
disabled: boolean;
|
|
1054
|
-
label: string;
|
|
1055
|
-
}> {}
|
|
1056
|
-
interface OptionHTMLAttributes<T> extends
|
|
1057
|
-
HTMLAttributes<T>,
|
|
1058
|
-
CanBeNothing<{
|
|
1059
|
-
disabled: boolean;
|
|
1060
|
-
label: string;
|
|
1061
|
-
selected: boolean;
|
|
1062
|
-
value: string | string[] | number;
|
|
1063
|
-
}> {}
|
|
1064
|
-
interface OutputHTMLAttributes<T> extends
|
|
1065
|
-
HTMLAttributes<T>,
|
|
1066
|
-
CanBeNothing<{
|
|
1067
|
-
form: string;
|
|
1068
|
-
for: string;
|
|
1069
|
-
name: string;
|
|
1070
|
-
}> {}
|
|
1071
|
-
interface ParamHTMLAttributes<T> extends
|
|
1072
|
-
HTMLAttributes<T>,
|
|
1073
|
-
CanBeNothing<{
|
|
1074
|
-
name: string;
|
|
1075
|
-
value: string | string[] | number;
|
|
1076
|
-
}> {}
|
|
1077
|
-
interface ProgressHTMLAttributes<T> extends
|
|
1078
|
-
HTMLAttributes<T>,
|
|
1079
|
-
CanBeNothing<{
|
|
1080
|
-
max: number | string;
|
|
1081
|
-
value: string | string[] | number;
|
|
1082
|
-
}> {}
|
|
1083
|
-
interface ScriptHTMLAttributes<T> extends
|
|
1084
|
-
HTMLAttributes<T>,
|
|
1085
|
-
CanBeNothing<{
|
|
1086
|
-
async: boolean;
|
|
1087
|
-
charset: string;
|
|
1088
|
-
crossorigin: HTMLCrossorigin;
|
|
1089
|
-
defer: boolean;
|
|
1090
|
-
integrity: string;
|
|
1091
|
-
nomodule: boolean;
|
|
1092
|
-
nonce: string;
|
|
1093
|
-
referrerpolicy: HTMLReferrerPolicy;
|
|
1094
|
-
src: string;
|
|
1095
|
-
type: string;
|
|
1096
|
-
crossOrigin: HTMLCrossorigin;
|
|
1097
|
-
noModule: boolean;
|
|
1098
|
-
referrerPolicy: HTMLReferrerPolicy;
|
|
1099
|
-
}> {}
|
|
1100
|
-
interface SelectHTMLAttributes<T> extends
|
|
1101
|
-
HTMLAttributes<T>,
|
|
1102
|
-
CanBeNothing<{
|
|
1103
|
-
autocomplete: string;
|
|
1104
|
-
autofocus: boolean;
|
|
1105
|
-
disabled: boolean;
|
|
1106
|
-
form: string;
|
|
1107
|
-
multiple: boolean;
|
|
1108
|
-
name: string;
|
|
1109
|
-
required: boolean;
|
|
1110
|
-
size: number | string;
|
|
1111
|
-
value: string | string[] | number;
|
|
1112
|
-
}> {}
|
|
1113
|
-
interface HTMLSlotElementAttributes<T = HTMLSlotElement> extends
|
|
1114
|
-
HTMLAttributes<T>,
|
|
1115
|
-
CanBeNothing<{
|
|
1116
|
-
name: string;
|
|
1117
|
-
}> {}
|
|
1118
|
-
interface SourceHTMLAttributes<T> extends
|
|
1119
|
-
HTMLAttributes<T>,
|
|
1120
|
-
CanBeNothing<{
|
|
1121
|
-
media: string;
|
|
1122
|
-
sizes: string;
|
|
1123
|
-
src: string;
|
|
1124
|
-
srcset: string;
|
|
1125
|
-
type: string;
|
|
1126
|
-
width: number | string;
|
|
1127
|
-
height: number | string;
|
|
1128
|
-
}> {}
|
|
1129
|
-
interface StyleHTMLAttributes<T> extends
|
|
1130
|
-
HTMLAttributes<T>,
|
|
1131
|
-
CanBeNothing<{
|
|
1132
|
-
media: string;
|
|
1133
|
-
nonce: string;
|
|
1134
|
-
scoped: boolean;
|
|
1135
|
-
type: string;
|
|
1136
|
-
}> {}
|
|
1137
|
-
interface TdHTMLAttributes<T> extends
|
|
1138
|
-
HTMLAttributes<T>,
|
|
1139
|
-
CanBeNothing<{
|
|
1140
|
-
colspan: number | string;
|
|
1141
|
-
headers: string;
|
|
1142
|
-
rowspan: number | string;
|
|
1143
|
-
colSpan: number | string;
|
|
1144
|
-
rowSpan: number | string;
|
|
1145
|
-
}> {}
|
|
1146
|
-
interface TemplateHTMLAttributes<T extends HTMLTemplateElement> extends
|
|
1147
|
-
HTMLAttributes<T>,
|
|
1148
|
-
CanBeNothing<{
|
|
1149
|
-
content: DocumentFragment;
|
|
1150
|
-
}> {}
|
|
1151
|
-
interface TextareaHTMLAttributes<T> extends
|
|
1152
|
-
HTMLAttributes<T>,
|
|
1153
|
-
CanBeNothing<{
|
|
1154
|
-
autocomplete: string;
|
|
1155
|
-
autofocus: boolean;
|
|
1156
|
-
cols: number | string;
|
|
1157
|
-
dirname: string;
|
|
1158
|
-
disabled: boolean;
|
|
1159
|
-
enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
1160
|
-
form: string;
|
|
1161
|
-
maxlength: number | string;
|
|
1162
|
-
minlength: number | string;
|
|
1163
|
-
name: string;
|
|
1164
|
-
placeholder: string;
|
|
1165
|
-
readonly: boolean;
|
|
1166
|
-
required: boolean;
|
|
1167
|
-
rows: number | string;
|
|
1168
|
-
value: string | string[] | number;
|
|
1169
|
-
wrap: 'hard' | 'soft' | 'off';
|
|
1170
|
-
maxLength: number | string;
|
|
1171
|
-
minLength: number | string;
|
|
1172
|
-
readOnly: boolean;
|
|
1173
|
-
}> {}
|
|
1174
|
-
interface ThHTMLAttributes<T> extends
|
|
1175
|
-
HTMLAttributes<T>,
|
|
1176
|
-
CanBeNothing<{
|
|
1177
|
-
colspan: number | string;
|
|
1178
|
-
headers: string;
|
|
1179
|
-
rowspan: number | string;
|
|
1180
|
-
colSpan: number | string;
|
|
1181
|
-
rowSpan: number | string;
|
|
1182
|
-
scope: 'col' | 'row' | 'rowgroup' | 'colgroup';
|
|
1183
|
-
}> {}
|
|
1184
|
-
interface TimeHTMLAttributes<T> extends
|
|
1185
|
-
HTMLAttributes<T>,
|
|
1186
|
-
CanBeNothing<{
|
|
1187
|
-
datetime: string;
|
|
1188
|
-
dateTime: string;
|
|
1189
|
-
}> {}
|
|
1190
|
-
interface TrackHTMLAttributes<T> extends
|
|
1191
|
-
HTMLAttributes<T>,
|
|
1192
|
-
CanBeNothing<{
|
|
1193
|
-
default: boolean;
|
|
1194
|
-
kind: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
|
|
1195
|
-
label: string;
|
|
1196
|
-
src: string;
|
|
1197
|
-
srclang: string;
|
|
1198
|
-
}> {}
|
|
1199
|
-
interface VideoHTMLAttributes<T> extends
|
|
1200
|
-
MediaHTMLAttributes<T>,
|
|
1201
|
-
CanBeNothing<{
|
|
1202
|
-
height: number | string;
|
|
1203
|
-
playsinline: boolean;
|
|
1204
|
-
poster: string;
|
|
1205
|
-
width: number | string;
|
|
1206
|
-
disablepictureinpicture: boolean;
|
|
1207
|
-
}> {}
|
|
1208
|
-
type SVGPreserveAspectRatio = [
|
|
1209
|
-
'none',
|
|
1210
|
-
'xMinYMin',
|
|
1211
|
-
'xMidYMin',
|
|
1212
|
-
'xMaxYMin',
|
|
1213
|
-
'xMinYMid',
|
|
1214
|
-
'xMidYMid',
|
|
1215
|
-
'xMaxYMid',
|
|
1216
|
-
'xMinYMax',
|
|
1217
|
-
'xMidYMax',
|
|
1218
|
-
'xMaxYMax',
|
|
1219
|
-
'xMinYMin meet',
|
|
1220
|
-
'xMidYMin meet',
|
|
1221
|
-
'xMaxYMin meet',
|
|
1222
|
-
'xMinYMid meet',
|
|
1223
|
-
'xMidYMid meet',
|
|
1224
|
-
'xMaxYMid meet',
|
|
1225
|
-
'xMinYMax meet',
|
|
1226
|
-
'xMidYMax meet',
|
|
1227
|
-
'xMaxYMax meet',
|
|
1228
|
-
'xMinYMin slice',
|
|
1229
|
-
'xMidYMin slice',
|
|
1230
|
-
'xMaxYMin slice',
|
|
1231
|
-
'xMinYMid slice',
|
|
1232
|
-
'xMidYMid slice',
|
|
1233
|
-
'xMaxYMid slice',
|
|
1234
|
-
'xMinYMax slice',
|
|
1235
|
-
'xMidYMax slice',
|
|
1236
|
-
'xMaxYMax slice',
|
|
1237
|
-
][number];
|
|
1238
|
-
type ImagePreserveAspectRatio = [
|
|
1239
|
-
SVGPreserveAspectRatio,
|
|
1240
|
-
'defer none',
|
|
1241
|
-
'defer xMinYMin',
|
|
1242
|
-
'defer xMidYMin',
|
|
1243
|
-
'defer xMaxYMin',
|
|
1244
|
-
'defer xMinYMid',
|
|
1245
|
-
'defer xMidYMid',
|
|
1246
|
-
'defer xMaxYMid',
|
|
1247
|
-
'defer xMinYMax',
|
|
1248
|
-
'defer xMidYMax',
|
|
1249
|
-
'defer xMaxYMax',
|
|
1250
|
-
'defer xMinYMin meet',
|
|
1251
|
-
'defer xMidYMin meet',
|
|
1252
|
-
'defer xMaxYMin meet',
|
|
1253
|
-
'defer xMinYMid meet',
|
|
1254
|
-
'defer xMidYMid meet',
|
|
1255
|
-
'defer xMaxYMid meet',
|
|
1256
|
-
'defer xMinYMax meet',
|
|
1257
|
-
'defer xMidYMax meet',
|
|
1258
|
-
'defer xMaxYMax meet',
|
|
1259
|
-
'defer xMinYMin slice',
|
|
1260
|
-
'defer xMidYMin slice',
|
|
1261
|
-
'defer xMaxYMin slice',
|
|
1262
|
-
'defer xMinYMid slice',
|
|
1263
|
-
'defer xMidYMid slice',
|
|
1264
|
-
'defer xMaxYMid slice',
|
|
1265
|
-
'defer xMinYMax slice',
|
|
1266
|
-
'defer xMidYMax slice',
|
|
1267
|
-
'defer xMaxYMax slice',
|
|
1268
|
-
][number];
|
|
1269
|
-
type SVGUnits = 'userSpaceOnUse' | 'objectBoundingBox';
|
|
1270
|
-
interface CoreSVGAttributes<T> extends
|
|
1271
|
-
AriaAttributes,
|
|
1272
|
-
DOMAttributes<T>,
|
|
1273
|
-
CanBeNothing<{
|
|
1274
|
-
id: string;
|
|
1275
|
-
lang: string;
|
|
1276
|
-
tabIndex: number | string;
|
|
1277
|
-
tabindex: number | string;
|
|
1278
|
-
}> {}
|
|
1279
|
-
interface StylableSVGAttributes extends
|
|
1280
|
-
CanBeNothing<{
|
|
1281
|
-
class: string;
|
|
1282
|
-
style: CSSProperties | string;
|
|
1283
|
-
}> {}
|
|
1284
|
-
interface TransformableSVGAttributes extends
|
|
1285
|
-
CanBeNothing<{
|
|
1286
|
-
transform: string;
|
|
1287
|
-
}> {}
|
|
1288
|
-
interface ConditionalProcessingSVGAttributes extends
|
|
1289
|
-
CanBeNothing<{
|
|
1290
|
-
requiredExtensions: string;
|
|
1291
|
-
requiredFeatures: string;
|
|
1292
|
-
systemLanguage: string;
|
|
1293
|
-
}> {}
|
|
1294
|
-
interface ExternalResourceSVGAttributes extends
|
|
1295
|
-
CanBeNothing<{
|
|
1296
|
-
externalResourcesRequired: 'true' | 'false';
|
|
1297
|
-
}> {}
|
|
1298
|
-
interface AnimationTimingSVGAttributes extends
|
|
1299
|
-
CanBeNothing<{
|
|
1300
|
-
begin: string;
|
|
1301
|
-
dur: string;
|
|
1302
|
-
end: string;
|
|
1303
|
-
min: string;
|
|
1304
|
-
max: string;
|
|
1305
|
-
restart: 'always' | 'whenNotActive' | 'never';
|
|
1306
|
-
repeatCount: number | 'indefinite';
|
|
1307
|
-
repeatDur: string;
|
|
1308
|
-
fill: 'freeze' | 'remove';
|
|
1309
|
-
}> {}
|
|
1310
|
-
interface AnimationValueSVGAttributes extends
|
|
1311
|
-
CanBeNothing<{
|
|
1312
|
-
calcMode: 'discrete' | 'linear' | 'paced' | 'spline';
|
|
1313
|
-
values: string;
|
|
1314
|
-
keyTimes: string;
|
|
1315
|
-
keySplines: string;
|
|
1316
|
-
from: number | string;
|
|
1317
|
-
to: number | string;
|
|
1318
|
-
by: number | string;
|
|
1319
|
-
}> {}
|
|
1320
|
-
interface AnimationAdditionSVGAttributes extends
|
|
1321
|
-
CanBeNothing<{
|
|
1322
|
-
attributeName: string;
|
|
1323
|
-
additive: 'replace' | 'sum';
|
|
1324
|
-
accumulate: 'none' | 'sum';
|
|
1325
|
-
}> {}
|
|
1326
|
-
interface AnimationAttributeTargetSVGAttributes extends
|
|
1327
|
-
CanBeNothing<{
|
|
1328
|
-
attributeName: string;
|
|
1329
|
-
attributeType: 'CSS' | 'XML' | 'auto';
|
|
1330
|
-
}> {}
|
|
1331
|
-
interface PresentationSVGAttributes extends
|
|
1332
|
-
CanBeNothing<{
|
|
1333
|
-
'alignment-baseline': [
|
|
1334
|
-
'auto',
|
|
1335
|
-
'baseline',
|
|
1336
|
-
'before-edge',
|
|
1337
|
-
'text-before-edge',
|
|
1338
|
-
'middle',
|
|
1339
|
-
'central',
|
|
1340
|
-
'after-edge',
|
|
1341
|
-
'text-after-edge',
|
|
1342
|
-
'ideographic',
|
|
1343
|
-
'alphabetic',
|
|
1344
|
-
'hanging',
|
|
1345
|
-
'mathematical',
|
|
1346
|
-
'inherit',
|
|
1347
|
-
][number];
|
|
1348
|
-
'baseline-shift': number | string;
|
|
1349
|
-
clip: string;
|
|
1350
|
-
'clip-path': string;
|
|
1351
|
-
'clip-rule': 'nonzero' | 'evenodd' | 'inherit';
|
|
1352
|
-
color: string;
|
|
1353
|
-
'color-interpolation': 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
|
|
1354
|
-
'color-interpolation-filters': 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
|
|
1355
|
-
'color-profile': string;
|
|
1356
|
-
'color-rendering': 'auto' | 'optimizeSpeed' | 'optimizeQuality' | 'inherit';
|
|
1357
|
-
cursor: string;
|
|
1358
|
-
direction: 'ltr' | 'rtl' | 'inherit';
|
|
1359
|
-
display: string;
|
|
1360
|
-
'dominant-baseline': [
|
|
1361
|
-
'auto',
|
|
1362
|
-
'text-bottom',
|
|
1363
|
-
'alphabetic',
|
|
1364
|
-
'ideographic',
|
|
1365
|
-
'middle',
|
|
1366
|
-
'central',
|
|
1367
|
-
'mathematical',
|
|
1368
|
-
'hanging',
|
|
1369
|
-
'text-top',
|
|
1370
|
-
'inherit',
|
|
1371
|
-
][number];
|
|
1372
|
-
'enable-background': string;
|
|
1373
|
-
fill: string;
|
|
1374
|
-
'fill-opacity': number | string | 'inherit';
|
|
1375
|
-
'fill-rule': 'nonzero' | 'evenodd' | 'inherit';
|
|
1376
|
-
filter: string;
|
|
1377
|
-
'flood-color': string;
|
|
1378
|
-
'flood-opacity': number | string | 'inherit';
|
|
1379
|
-
'font-family': string;
|
|
1380
|
-
'font-size': string;
|
|
1381
|
-
'font-size-adjust': number | string;
|
|
1382
|
-
'font-stretch': string;
|
|
1383
|
-
'font-style': 'normal' | 'italic' | 'oblique' | 'inherit';
|
|
1384
|
-
'font-variant': string;
|
|
1385
|
-
'font-weight': number | string;
|
|
1386
|
-
'glyph-orientation-horizontal': string;
|
|
1387
|
-
'glyph-orientation-vertical': string;
|
|
1388
|
-
'image-rendering': 'auto' | 'optimizeQuality' | 'optimizeSpeed' | 'inherit';
|
|
1389
|
-
kerning: string;
|
|
1390
|
-
'letter-spacing': number | string;
|
|
1391
|
-
'lighting-color': string;
|
|
1392
|
-
'marker-end': string;
|
|
1393
|
-
'marker-mid': string;
|
|
1394
|
-
'marker-start': string;
|
|
1395
|
-
mask: string;
|
|
1396
|
-
opacity: number | string | 'inherit';
|
|
1397
|
-
overflow: 'visible' | 'hidden' | 'scroll' | 'auto' | 'inherit';
|
|
1398
|
-
pathLength: string | number;
|
|
1399
|
-
'pointer-events': [
|
|
1400
|
-
'bounding-box',
|
|
1401
|
-
'visiblePainted',
|
|
1402
|
-
'visibleFill',
|
|
1403
|
-
'visibleStroke',
|
|
1404
|
-
'visible',
|
|
1405
|
-
'painted',
|
|
1406
|
-
'color',
|
|
1407
|
-
'fill',
|
|
1408
|
-
'stroke',
|
|
1409
|
-
'all',
|
|
1410
|
-
'none',
|
|
1411
|
-
'inherit',
|
|
1412
|
-
][number];
|
|
1413
|
-
'shape-rendering': [
|
|
1414
|
-
'auto',
|
|
1415
|
-
'optimizeSpeed',
|
|
1416
|
-
'crispEdges',
|
|
1417
|
-
'geometricPrecision',
|
|
1418
|
-
'inherit',
|
|
1419
|
-
][number];
|
|
1420
|
-
'stop-color': string;
|
|
1421
|
-
'stop-opacity': number | string | 'inherit';
|
|
1422
|
-
stroke: string;
|
|
1423
|
-
'stroke-dasharray': string;
|
|
1424
|
-
'stroke-dashoffset': number | string;
|
|
1425
|
-
'stroke-linecap': 'butt' | 'round' | 'square' | 'inherit';
|
|
1426
|
-
'stroke-linejoin': 'arcs' | 'bevel' | 'miter' | 'miter-clip' | 'round' | 'inherit';
|
|
1427
|
-
'stroke-miterlimit': number | string | 'inherit';
|
|
1428
|
-
'stroke-opacity': number | string | 'inherit';
|
|
1429
|
-
'stroke-width': number | string;
|
|
1430
|
-
'text-anchor': 'start' | 'middle' | 'end' | 'inherit';
|
|
1431
|
-
'text-decoration': [
|
|
1432
|
-
'none',
|
|
1433
|
-
'underline',
|
|
1434
|
-
'overline',
|
|
1435
|
-
'line-through',
|
|
1436
|
-
'blink',
|
|
1437
|
-
'inherit',
|
|
1438
|
-
][number];
|
|
1439
|
-
'text-rendering': [
|
|
1440
|
-
'auto',
|
|
1441
|
-
'optimizeSpeed',
|
|
1442
|
-
'optimizeLegibility',
|
|
1443
|
-
'geometricPrecision',
|
|
1444
|
-
'inherit',
|
|
1445
|
-
][number];
|
|
1446
|
-
'unicode-bidi': string;
|
|
1447
|
-
visibility: 'visible' | 'hidden' | 'collapse' | 'inherit';
|
|
1448
|
-
'word-spacing': number | string;
|
|
1449
|
-
'writing-mode': 'lr-tb' | 'rl-tb' | 'tb-rl' | 'lr' | 'rl' | 'tb' | 'inherit';
|
|
1450
|
-
}> {}
|
|
1451
|
-
interface AnimationElementSVGAttributes<T> extends
|
|
1452
|
-
CoreSVGAttributes<T>,
|
|
1453
|
-
ExternalResourceSVGAttributes,
|
|
1454
|
-
ConditionalProcessingSVGAttributes {}
|
|
1455
|
-
interface ContainerElementSVGAttributes<T> extends
|
|
1456
|
-
CoreSVGAttributes<T>,
|
|
1457
|
-
ShapeElementSVGAttributes<T>,
|
|
1458
|
-
Pick<PresentationSVGAttributes, [
|
|
1459
|
-
'clip-path',
|
|
1460
|
-
'mask',
|
|
1461
|
-
'cursor',
|
|
1462
|
-
'opacity',
|
|
1463
|
-
'filter',
|
|
1464
|
-
'enable-background',
|
|
1465
|
-
'color-interpolation',
|
|
1466
|
-
'color-rendering',
|
|
1467
|
-
][number]> {}
|
|
1468
|
-
interface FilterPrimitiveElementSVGAttributes<T> extends
|
|
1469
|
-
CoreSVGAttributes<T>,
|
|
1470
|
-
Pick<PresentationSVGAttributes, 'color-interpolation-filters'>,
|
|
1471
|
-
CanBeNothing<{
|
|
1472
|
-
x: number | string;
|
|
1473
|
-
y: number | string;
|
|
1474
|
-
width: number | string;
|
|
1475
|
-
height: number | string;
|
|
1476
|
-
result: string;
|
|
1477
|
-
}> {}
|
|
1478
|
-
interface SingleInputFilterSVGAttributes extends
|
|
1479
|
-
CanBeNothing<{
|
|
1480
|
-
in: string;
|
|
1481
|
-
}> {}
|
|
1482
|
-
interface DoubleInputFilterSVGAttributes extends
|
|
1483
|
-
CanBeNothing<{
|
|
1484
|
-
in: string;
|
|
1485
|
-
in2: string;
|
|
1486
|
-
}> {}
|
|
1487
|
-
interface FitToViewBoxSVGAttributes extends
|
|
1488
|
-
CanBeNothing<{
|
|
1489
|
-
viewBox: string;
|
|
1490
|
-
preserveAspectRatio: SVGPreserveAspectRatio;
|
|
1491
|
-
}> {}
|
|
1492
|
-
interface GradientElementSVGAttributes<T> extends
|
|
1493
|
-
CoreSVGAttributes<T>,
|
|
1494
|
-
ExternalResourceSVGAttributes,
|
|
1495
|
-
StylableSVGAttributes,
|
|
1496
|
-
CanBeNothing<{
|
|
1497
|
-
gradientUnits: SVGUnits;
|
|
1498
|
-
gradientTransform: string;
|
|
1499
|
-
spreadMethod: 'pad' | 'reflect' | 'repeat';
|
|
1500
|
-
href: string;
|
|
1501
|
-
}> {}
|
|
1502
|
-
interface GraphicsElementSVGAttributes<T> extends
|
|
1503
|
-
CoreSVGAttributes<T>,
|
|
1504
|
-
Pick<PresentationSVGAttributes, [
|
|
1505
|
-
'clip-rule',
|
|
1506
|
-
'mask',
|
|
1507
|
-
'pointer-events',
|
|
1508
|
-
'cursor',
|
|
1509
|
-
'opacity',
|
|
1510
|
-
'filter',
|
|
1511
|
-
'display',
|
|
1512
|
-
'visibility',
|
|
1513
|
-
'color-interpolation',
|
|
1514
|
-
'color-rendering',
|
|
1515
|
-
][number]> {}
|
|
1516
|
-
interface LightSourceElementSVGAttributes<T> extends
|
|
1517
|
-
CoreSVGAttributes<T> {}
|
|
1518
|
-
interface NewViewportSVGAttributes<T> extends
|
|
1519
|
-
CoreSVGAttributes<T>,
|
|
1520
|
-
Pick<PresentationSVGAttributes, 'overflow' | 'clip'>,
|
|
1521
|
-
CanBeNothing<{
|
|
1522
|
-
viewBox: string;
|
|
1523
|
-
}> {}
|
|
1524
|
-
interface ShapeElementSVGAttributes<T> extends
|
|
1525
|
-
CoreSVGAttributes<T>,
|
|
1526
|
-
Pick<PresentationSVGAttributes, [
|
|
1527
|
-
'color',
|
|
1528
|
-
'fill',
|
|
1529
|
-
'fill-rule',
|
|
1530
|
-
'fill-opacity',
|
|
1531
|
-
'stroke',
|
|
1532
|
-
'stroke-width',
|
|
1533
|
-
'stroke-linecap',
|
|
1534
|
-
'stroke-linejoin',
|
|
1535
|
-
'stroke-miterlimit',
|
|
1536
|
-
'stroke-dasharray',
|
|
1537
|
-
'stroke-dashoffset',
|
|
1538
|
-
'stroke-opacity',
|
|
1539
|
-
'shape-rendering',
|
|
1540
|
-
'pathLength',
|
|
1541
|
-
][number]> {}
|
|
1542
|
-
interface TextContentElementSVGAttributes<T> extends
|
|
1543
|
-
CoreSVGAttributes<T>,
|
|
1544
|
-
Pick<PresentationSVGAttributes, [
|
|
1545
|
-
'font-family',
|
|
1546
|
-
'font-style',
|
|
1547
|
-
'font-variant',
|
|
1548
|
-
'font-weight',
|
|
1549
|
-
'font-stretch',
|
|
1550
|
-
'font-size',
|
|
1551
|
-
'font-size-adjust',
|
|
1552
|
-
'kerning',
|
|
1553
|
-
'letter-spacing',
|
|
1554
|
-
'word-spacing',
|
|
1555
|
-
'text-decoration',
|
|
1556
|
-
'glyph-orientation-horizontal',
|
|
1557
|
-
'glyph-orientation-vertical',
|
|
1558
|
-
'direction',
|
|
1559
|
-
'unicode-bidi',
|
|
1560
|
-
'text-anchor',
|
|
1561
|
-
'dominant-baseline',
|
|
1562
|
-
'color',
|
|
1563
|
-
'fill',
|
|
1564
|
-
'fill-rule',
|
|
1565
|
-
'fill-opacity',
|
|
1566
|
-
'stroke',
|
|
1567
|
-
'stroke-width',
|
|
1568
|
-
'stroke-linecap',
|
|
1569
|
-
'stroke-linejoin',
|
|
1570
|
-
'stroke-miterlimit',
|
|
1571
|
-
'stroke-dasharray',
|
|
1572
|
-
'stroke-dashoffset',
|
|
1573
|
-
'stroke-opacity',
|
|
1574
|
-
][number]> {}
|
|
1575
|
-
interface ZoomAndPanSVGAttributes extends
|
|
1576
|
-
CanBeNothing<{
|
|
1577
|
-
zoomAndPan: 'disable' | 'magnify';
|
|
1578
|
-
}> {}
|
|
1579
|
-
interface AnimateSVGAttributes<T> extends
|
|
1580
|
-
AnimationElementSVGAttributes<T>,
|
|
1581
|
-
AnimationAttributeTargetSVGAttributes,
|
|
1582
|
-
AnimationTimingSVGAttributes,
|
|
1583
|
-
AnimationValueSVGAttributes,
|
|
1584
|
-
AnimationAdditionSVGAttributes,
|
|
1585
|
-
Pick<PresentationSVGAttributes, [
|
|
1586
|
-
'color-interpolation',
|
|
1587
|
-
'color-rendering',
|
|
1588
|
-
][number]> {}
|
|
1589
|
-
interface AnimateMotionSVGAttributes<T> extends
|
|
1590
|
-
AnimationElementSVGAttributes<T>,
|
|
1591
|
-
AnimationTimingSVGAttributes,
|
|
1592
|
-
AnimationValueSVGAttributes,
|
|
1593
|
-
AnimationAdditionSVGAttributes,
|
|
1594
|
-
CanBeNothing<{
|
|
1595
|
-
path: string;
|
|
1596
|
-
keyPoints: string;
|
|
1597
|
-
rotate: number | string | 'auto' | 'auto-reverse';
|
|
1598
|
-
origin: 'default';
|
|
1599
|
-
}> {}
|
|
1600
|
-
interface AnimateTransformSVGAttributes<T> extends
|
|
1601
|
-
AnimationElementSVGAttributes<T>,
|
|
1602
|
-
AnimationAttributeTargetSVGAttributes,
|
|
1603
|
-
AnimationTimingSVGAttributes,
|
|
1604
|
-
AnimationValueSVGAttributes,
|
|
1605
|
-
AnimationAdditionSVGAttributes,
|
|
1606
|
-
CanBeNothing<{
|
|
1607
|
-
type: 'translate' | 'scale' | 'rotate' | 'skewX' | 'skewY';
|
|
1608
|
-
}> {}
|
|
1609
|
-
interface CircleSVGAttributes<T> extends
|
|
1610
|
-
GraphicsElementSVGAttributes<T>,
|
|
1611
|
-
ShapeElementSVGAttributes<T>,
|
|
1612
|
-
ConditionalProcessingSVGAttributes,
|
|
1613
|
-
StylableSVGAttributes,
|
|
1614
|
-
TransformableSVGAttributes,
|
|
1615
|
-
CanBeNothing<{
|
|
1616
|
-
cx: number | string;
|
|
1617
|
-
cy: number | string;
|
|
1618
|
-
r: number | string;
|
|
1619
|
-
}> {}
|
|
1620
|
-
interface ClipPathSVGAttributes<T> extends
|
|
1621
|
-
CoreSVGAttributes<T>,
|
|
1622
|
-
ConditionalProcessingSVGAttributes,
|
|
1623
|
-
ExternalResourceSVGAttributes,
|
|
1624
|
-
StylableSVGAttributes,
|
|
1625
|
-
TransformableSVGAttributes,
|
|
1626
|
-
Pick<PresentationSVGAttributes, 'clip-path'>,
|
|
1627
|
-
CanBeNothing<{
|
|
1628
|
-
clipPathUnits: SVGUnits;
|
|
1629
|
-
}> {}
|
|
1630
|
-
interface DefsSVGAttributes<T> extends
|
|
1631
|
-
ContainerElementSVGAttributes<T>,
|
|
1632
|
-
ConditionalProcessingSVGAttributes,
|
|
1633
|
-
ExternalResourceSVGAttributes,
|
|
1634
|
-
StylableSVGAttributes,
|
|
1635
|
-
TransformableSVGAttributes {}
|
|
1636
|
-
interface DescSVGAttributes<T> extends
|
|
1637
|
-
CoreSVGAttributes<T>,
|
|
1638
|
-
StylableSVGAttributes {}
|
|
1639
|
-
interface EllipseSVGAttributes<T> extends
|
|
1640
|
-
GraphicsElementSVGAttributes<T>,
|
|
1641
|
-
ShapeElementSVGAttributes<T>,
|
|
1642
|
-
ConditionalProcessingSVGAttributes,
|
|
1643
|
-
ExternalResourceSVGAttributes,
|
|
1644
|
-
StylableSVGAttributes,
|
|
1645
|
-
TransformableSVGAttributes,
|
|
1646
|
-
CanBeNothing<{
|
|
1647
|
-
cx: number | string;
|
|
1648
|
-
cy: number | string;
|
|
1649
|
-
rx: number | string;
|
|
1650
|
-
ry: number | string;
|
|
1651
|
-
}> {}
|
|
1652
|
-
interface FeBlendSVGAttributes<T> extends
|
|
1653
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1654
|
-
DoubleInputFilterSVGAttributes,
|
|
1655
|
-
StylableSVGAttributes,
|
|
1656
|
-
CanBeNothing<{
|
|
1657
|
-
mode: 'normal' | 'multiply' | 'screen' | 'darken' | 'lighten';
|
|
1658
|
-
}> {}
|
|
1659
|
-
interface FeColorMatrixSVGAttributes<T> extends
|
|
1660
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1661
|
-
SingleInputFilterSVGAttributes,
|
|
1662
|
-
StylableSVGAttributes,
|
|
1663
|
-
CanBeNothing<{
|
|
1664
|
-
type: 'matrix' | 'saturate' | 'hueRotate' | 'luminanceToAlpha';
|
|
1665
|
-
values: string;
|
|
1666
|
-
}> {}
|
|
1667
|
-
interface FeComponentTransferSVGAttributes<T> extends
|
|
1668
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1669
|
-
SingleInputFilterSVGAttributes,
|
|
1670
|
-
StylableSVGAttributes {}
|
|
1671
|
-
interface FeCompositeSVGAttributes<T> extends
|
|
1672
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1673
|
-
DoubleInputFilterSVGAttributes,
|
|
1674
|
-
StylableSVGAttributes,
|
|
1675
|
-
CanBeNothing<{
|
|
1676
|
-
operator: 'over' | 'in' | 'out' | 'atop' | 'xor' | 'arithmetic';
|
|
1677
|
-
k1: number | string;
|
|
1678
|
-
k2: number | string;
|
|
1679
|
-
k3: number | string;
|
|
1680
|
-
k4: number | string;
|
|
1681
|
-
}> {}
|
|
1682
|
-
interface FeConvolveMatrixSVGAttributes<T> extends
|
|
1683
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1684
|
-
SingleInputFilterSVGAttributes,
|
|
1685
|
-
StylableSVGAttributes,
|
|
1686
|
-
CanBeNothing<{
|
|
1687
|
-
order: number | string;
|
|
1688
|
-
kernelMatrix: string;
|
|
1689
|
-
divisor: number | string;
|
|
1690
|
-
bias: number | string;
|
|
1691
|
-
targetX: number | string;
|
|
1692
|
-
targetY: number | string;
|
|
1693
|
-
edgeMode: 'duplicate' | 'wrap' | 'none';
|
|
1694
|
-
kernelUnitLength: number | string;
|
|
1695
|
-
preserveAlpha: 'true' | 'false';
|
|
1696
|
-
}> {}
|
|
1697
|
-
interface FeDiffuseLightingSVGAttributes<T> extends
|
|
1698
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1699
|
-
SingleInputFilterSVGAttributes,
|
|
1700
|
-
StylableSVGAttributes,
|
|
1701
|
-
Pick<PresentationSVGAttributes, 'color' | 'lighting-color'>,
|
|
1702
|
-
CanBeNothing<{
|
|
1703
|
-
surfaceScale: number | string;
|
|
1704
|
-
diffuseConstant: number | string;
|
|
1705
|
-
kernelUnitLength: number | string;
|
|
1706
|
-
}> {}
|
|
1707
|
-
interface FeDisplacementMapSVGAttributes<T> extends
|
|
1708
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1709
|
-
DoubleInputFilterSVGAttributes,
|
|
1710
|
-
StylableSVGAttributes,
|
|
1711
|
-
CanBeNothing<{
|
|
1712
|
-
scale: number | string;
|
|
1713
|
-
xChannelSelector: 'R' | 'G' | 'B' | 'A';
|
|
1714
|
-
yChannelSelector: 'R' | 'G' | 'B' | 'A';
|
|
1715
|
-
}> {}
|
|
1716
|
-
interface FeDistantLightSVGAttributes<T> extends
|
|
1717
|
-
LightSourceElementSVGAttributes<T>,
|
|
1718
|
-
CanBeNothing<{
|
|
1719
|
-
azimuth: number | string;
|
|
1720
|
-
elevation: number | string;
|
|
1721
|
-
}> {}
|
|
1722
|
-
interface FeDropShadowSVGAttributes<T> extends
|
|
1723
|
-
CoreSVGAttributes<T>,
|
|
1724
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1725
|
-
StylableSVGAttributes,
|
|
1726
|
-
Pick<PresentationSVGAttributes, 'color' | 'flood-color' | 'flood-opacity'>,
|
|
1727
|
-
CanBeNothing<{
|
|
1728
|
-
dx: number | string;
|
|
1729
|
-
dy: number | string;
|
|
1730
|
-
stdDeviation: number | string;
|
|
1731
|
-
}> {}
|
|
1732
|
-
interface FeFloodSVGAttributes<T> extends
|
|
1733
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1734
|
-
StylableSVGAttributes,
|
|
1735
|
-
Pick<PresentationSVGAttributes, 'color' | 'flood-color' | 'flood-opacity'> {}
|
|
1736
|
-
interface FeFuncSVGAttributes<T> extends
|
|
1737
|
-
CoreSVGAttributes<T>,
|
|
1738
|
-
CanBeNothing<{
|
|
1739
|
-
type: 'identity' | 'table' | 'discrete' | 'linear' | 'gamma';
|
|
1740
|
-
tableValues: string;
|
|
1741
|
-
slope: number | string;
|
|
1742
|
-
intercept: number | string;
|
|
1743
|
-
amplitude: number | string;
|
|
1744
|
-
exponent: number | string;
|
|
1745
|
-
offset: number | string;
|
|
1746
|
-
}> {}
|
|
1747
|
-
interface FeGaussianBlurSVGAttributes<T> extends
|
|
1748
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1749
|
-
SingleInputFilterSVGAttributes,
|
|
1750
|
-
StylableSVGAttributes,
|
|
1751
|
-
CanBeNothing<{
|
|
1752
|
-
stdDeviation: number | string;
|
|
1753
|
-
}> {}
|
|
1754
|
-
interface FeImageSVGAttributes<T> extends
|
|
1755
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1756
|
-
ExternalResourceSVGAttributes,
|
|
1757
|
-
StylableSVGAttributes,
|
|
1758
|
-
CanBeNothing<{
|
|
1759
|
-
preserveAspectRatio: SVGPreserveAspectRatio;
|
|
1760
|
-
href: string;
|
|
1761
|
-
}> {}
|
|
1762
|
-
interface FeMergeSVGAttributes<T> extends
|
|
1763
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1764
|
-
StylableSVGAttributes {}
|
|
1765
|
-
interface FeMergeNodeSVGAttributes<T> extends
|
|
1766
|
-
CoreSVGAttributes<T>,
|
|
1767
|
-
SingleInputFilterSVGAttributes {}
|
|
1768
|
-
interface FeMorphologySVGAttributes<T> extends
|
|
1769
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1770
|
-
SingleInputFilterSVGAttributes,
|
|
1771
|
-
StylableSVGAttributes,
|
|
1772
|
-
CanBeNothing<{
|
|
1773
|
-
operator: 'erode' | 'dilate';
|
|
1774
|
-
radius: number | string;
|
|
1775
|
-
}> {}
|
|
1776
|
-
interface FeOffsetSVGAttributes<T> extends
|
|
1777
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1778
|
-
SingleInputFilterSVGAttributes,
|
|
1779
|
-
StylableSVGAttributes,
|
|
1780
|
-
CanBeNothing<{
|
|
1781
|
-
dx: number | string;
|
|
1782
|
-
dy: number | string;
|
|
1783
|
-
}> {}
|
|
1784
|
-
interface FePointLightSVGAttributes<T> extends
|
|
1785
|
-
LightSourceElementSVGAttributes<T>,
|
|
1786
|
-
CanBeNothing<{
|
|
1787
|
-
x: number | string;
|
|
1788
|
-
y: number | string;
|
|
1789
|
-
z: number | string;
|
|
1790
|
-
}> {}
|
|
1791
|
-
interface FeSpecularLightingSVGAttributes<T> extends
|
|
1792
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1793
|
-
SingleInputFilterSVGAttributes,
|
|
1794
|
-
StylableSVGAttributes,
|
|
1795
|
-
Pick<PresentationSVGAttributes, 'color' | 'lighting-color'>,
|
|
1796
|
-
CanBeNothing<{
|
|
1797
|
-
surfaceScale: string;
|
|
1798
|
-
specularConstant: string;
|
|
1799
|
-
specularExponent: string;
|
|
1800
|
-
kernelUnitLength: number | string;
|
|
1801
|
-
}> {}
|
|
1802
|
-
interface FeSpotLightSVGAttributes<T> extends
|
|
1803
|
-
LightSourceElementSVGAttributes<T>,
|
|
1804
|
-
CanBeNothing<{
|
|
1805
|
-
x: number | string;
|
|
1806
|
-
y: number | string;
|
|
1807
|
-
z: number | string;
|
|
1808
|
-
pointsAtX: number | string;
|
|
1809
|
-
pointsAtY: number | string;
|
|
1810
|
-
pointsAtZ: number | string;
|
|
1811
|
-
specularExponent: number | string;
|
|
1812
|
-
limitingConeAngle: number | string;
|
|
1813
|
-
}> {}
|
|
1814
|
-
interface FeTileSVGAttributes<T> extends
|
|
1815
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1816
|
-
SingleInputFilterSVGAttributes,
|
|
1817
|
-
StylableSVGAttributes {}
|
|
1818
|
-
interface FeTurbulanceSVGAttributes<T> extends
|
|
1819
|
-
FilterPrimitiveElementSVGAttributes<T>,
|
|
1820
|
-
StylableSVGAttributes,
|
|
1821
|
-
CanBeNothing<{
|
|
1822
|
-
baseFrequency: number | string;
|
|
1823
|
-
numOctaves: number | string;
|
|
1824
|
-
seed: number | string;
|
|
1825
|
-
stitchTiles: 'stitch' | 'noStitch';
|
|
1826
|
-
type: 'fractalNoise' | 'turbulence';
|
|
1827
|
-
}> {}
|
|
1828
|
-
interface FilterSVGAttributes<T> extends
|
|
1829
|
-
CoreSVGAttributes<T>,
|
|
1830
|
-
ExternalResourceSVGAttributes,
|
|
1831
|
-
StylableSVGAttributes,
|
|
1832
|
-
CanBeNothing<{
|
|
1833
|
-
filterUnits: SVGUnits;
|
|
1834
|
-
primitiveUnits: SVGUnits;
|
|
1835
|
-
x: number | string;
|
|
1836
|
-
y: number | string;
|
|
1837
|
-
width: number | string;
|
|
1838
|
-
height: number | string;
|
|
1839
|
-
filterRes: number | string;
|
|
1840
|
-
}> {}
|
|
1841
|
-
interface ForeignObjectSVGAttributes<T> extends
|
|
1842
|
-
NewViewportSVGAttributes<T>,
|
|
1843
|
-
ConditionalProcessingSVGAttributes,
|
|
1844
|
-
ExternalResourceSVGAttributes,
|
|
1845
|
-
StylableSVGAttributes,
|
|
1846
|
-
TransformableSVGAttributes,
|
|
1847
|
-
Pick<PresentationSVGAttributes, 'display' | 'visibility'>,
|
|
1848
|
-
CanBeNothing<{
|
|
1849
|
-
x: number | string;
|
|
1850
|
-
y: number | string;
|
|
1851
|
-
width: number | string;
|
|
1852
|
-
height: number | string;
|
|
1853
|
-
}> {}
|
|
1854
|
-
interface GSVGAttributes<T> extends
|
|
1855
|
-
ContainerElementSVGAttributes<T>,
|
|
1856
|
-
ConditionalProcessingSVGAttributes,
|
|
1857
|
-
ExternalResourceSVGAttributes,
|
|
1858
|
-
StylableSVGAttributes,
|
|
1859
|
-
TransformableSVGAttributes,
|
|
1860
|
-
Pick<PresentationSVGAttributes, 'display' | 'visibility'> {}
|
|
1861
|
-
interface ImageSVGAttributes<T> extends
|
|
1862
|
-
NewViewportSVGAttributes<T>,
|
|
1863
|
-
GraphicsElementSVGAttributes<T>,
|
|
1864
|
-
ConditionalProcessingSVGAttributes,
|
|
1865
|
-
StylableSVGAttributes,
|
|
1866
|
-
TransformableSVGAttributes,
|
|
1867
|
-
Pick<PresentationSVGAttributes, 'color-profile' | 'image-rendering'>,
|
|
1868
|
-
CanBeNothing<{
|
|
1869
|
-
x: number | string;
|
|
1870
|
-
y: number | string;
|
|
1871
|
-
width: number | string;
|
|
1872
|
-
height: number | string;
|
|
1873
|
-
preserveAspectRatio: ImagePreserveAspectRatio;
|
|
1874
|
-
href: string;
|
|
1875
|
-
}> {}
|
|
1876
|
-
interface LineSVGAttributes<T> extends
|
|
1877
|
-
GraphicsElementSVGAttributes<T>,
|
|
1878
|
-
ShapeElementSVGAttributes<T>,
|
|
1879
|
-
ConditionalProcessingSVGAttributes,
|
|
1880
|
-
ExternalResourceSVGAttributes,
|
|
1881
|
-
StylableSVGAttributes,
|
|
1882
|
-
TransformableSVGAttributes,
|
|
1883
|
-
Pick<PresentationSVGAttributes, [
|
|
1884
|
-
'marker-start',
|
|
1885
|
-
'marker-mid',
|
|
1886
|
-
'marker-end',
|
|
1887
|
-
][number]>,
|
|
1888
|
-
CanBeNothing<{
|
|
1889
|
-
x1: number | string;
|
|
1890
|
-
y1: number | string;
|
|
1891
|
-
x2: number | string;
|
|
1892
|
-
y2: number | string;
|
|
1893
|
-
}> {}
|
|
1894
|
-
interface LinearGradientSVGAttributes<T> extends
|
|
1895
|
-
GradientElementSVGAttributes<T>,
|
|
1896
|
-
CanBeNothing<{
|
|
1897
|
-
x1: number | string;
|
|
1898
|
-
x2: number | string;
|
|
1899
|
-
y1: number | string;
|
|
1900
|
-
y2: number | string;
|
|
1901
|
-
}> {}
|
|
1902
|
-
interface MarkerSVGAttributes<T> extends
|
|
1903
|
-
ContainerElementSVGAttributes<T>,
|
|
1904
|
-
ExternalResourceSVGAttributes,
|
|
1905
|
-
StylableSVGAttributes,
|
|
1906
|
-
FitToViewBoxSVGAttributes,
|
|
1907
|
-
Pick<PresentationSVGAttributes, 'overflow' | 'clip'>,
|
|
1908
|
-
CanBeNothing<{
|
|
1909
|
-
markerUnits: 'strokeWidth' | 'userSpaceOnUse';
|
|
1910
|
-
refX: number | string;
|
|
1911
|
-
refY: number | string;
|
|
1912
|
-
markerWidth: number | string;
|
|
1913
|
-
markerHeight: number | string;
|
|
1914
|
-
orient: string;
|
|
1915
|
-
}> {}
|
|
1916
|
-
interface MaskSVGAttributes<T> extends
|
|
1917
|
-
Omit<ContainerElementSVGAttributes<T>, 'opacity' | 'filter'>,
|
|
1918
|
-
ConditionalProcessingSVGAttributes,
|
|
1919
|
-
ExternalResourceSVGAttributes,
|
|
1920
|
-
StylableSVGAttributes,
|
|
1921
|
-
CanBeNothing<{
|
|
1922
|
-
maskUnits: SVGUnits;
|
|
1923
|
-
maskContentUnits: SVGUnits;
|
|
1924
|
-
x: number | string;
|
|
1925
|
-
y: number | string;
|
|
1926
|
-
width: number | string;
|
|
1927
|
-
height: number | string;
|
|
1928
|
-
}> {}
|
|
1929
|
-
interface MetadataSVGAttributes<T> extends CoreSVGAttributes<T> {}
|
|
1930
|
-
interface MPathSVGAttributes<T> extends CoreSVGAttributes<T> {}
|
|
1931
|
-
interface PathSVGAttributes<T> extends
|
|
1932
|
-
GraphicsElementSVGAttributes<T>,
|
|
1933
|
-
ShapeElementSVGAttributes<T>,
|
|
1934
|
-
ConditionalProcessingSVGAttributes,
|
|
1935
|
-
ExternalResourceSVGAttributes,
|
|
1936
|
-
StylableSVGAttributes,
|
|
1937
|
-
TransformableSVGAttributes,
|
|
1938
|
-
Pick<PresentationSVGAttributes, [
|
|
1939
|
-
'marker-start',
|
|
1940
|
-
'marker-mid',
|
|
1941
|
-
'marker-end',
|
|
1942
|
-
][number]>,
|
|
1943
|
-
CanBeNothing<{
|
|
1944
|
-
d: string;
|
|
1945
|
-
pathLength: number | string;
|
|
1946
|
-
}> {}
|
|
1947
|
-
interface PatternSVGAttributes<T> extends
|
|
1948
|
-
ContainerElementSVGAttributes<T>,
|
|
1949
|
-
ConditionalProcessingSVGAttributes,
|
|
1950
|
-
ExternalResourceSVGAttributes,
|
|
1951
|
-
StylableSVGAttributes,
|
|
1952
|
-
FitToViewBoxSVGAttributes,
|
|
1953
|
-
Pick<PresentationSVGAttributes, 'overflow' | 'clip'>,
|
|
1954
|
-
CanBeNothing<{
|
|
1955
|
-
x: number | string;
|
|
1956
|
-
y: number | string;
|
|
1957
|
-
width: number | string;
|
|
1958
|
-
height: number | string;
|
|
1959
|
-
patternUnits: SVGUnits;
|
|
1960
|
-
patternContentUnits: SVGUnits;
|
|
1961
|
-
patternTransform: string;
|
|
1962
|
-
href: string;
|
|
1963
|
-
}> {}
|
|
1964
|
-
interface PolygonSVGAttributes<T> extends
|
|
1965
|
-
GraphicsElementSVGAttributes<T>,
|
|
1966
|
-
ShapeElementSVGAttributes<T>,
|
|
1967
|
-
ConditionalProcessingSVGAttributes,
|
|
1968
|
-
ExternalResourceSVGAttributes,
|
|
1969
|
-
StylableSVGAttributes,
|
|
1970
|
-
TransformableSVGAttributes,
|
|
1971
|
-
Pick<PresentationSVGAttributes, [
|
|
1972
|
-
'marker-start',
|
|
1973
|
-
'marker-mid',
|
|
1974
|
-
'marker-end',
|
|
1975
|
-
][number]>,
|
|
1976
|
-
CanBeNothing<{
|
|
1977
|
-
points: string;
|
|
1978
|
-
}> {}
|
|
1979
|
-
interface PolylineSVGAttributes<T> extends
|
|
1980
|
-
GraphicsElementSVGAttributes<T>,
|
|
1981
|
-
ShapeElementSVGAttributes<T>,
|
|
1982
|
-
ConditionalProcessingSVGAttributes,
|
|
1983
|
-
ExternalResourceSVGAttributes,
|
|
1984
|
-
StylableSVGAttributes,
|
|
1985
|
-
TransformableSVGAttributes,
|
|
1986
|
-
Pick<PresentationSVGAttributes, [
|
|
1987
|
-
'marker-start',
|
|
1988
|
-
'marker-mid',
|
|
1989
|
-
'marker-end',
|
|
1990
|
-
][number]>,
|
|
1991
|
-
CanBeNothing<{
|
|
1992
|
-
points: string;
|
|
1993
|
-
}> {}
|
|
1994
|
-
interface RadialGradientSVGAttributes<T> extends
|
|
1995
|
-
GradientElementSVGAttributes<T>,
|
|
1996
|
-
CanBeNothing<{
|
|
1997
|
-
cx: number | string;
|
|
1998
|
-
cy: number | string;
|
|
1999
|
-
r: number | string;
|
|
2000
|
-
fx: number | string;
|
|
2001
|
-
fy: number | string;
|
|
2002
|
-
}> {}
|
|
2003
|
-
interface RectSVGAttributes<T> extends
|
|
2004
|
-
GraphicsElementSVGAttributes<T>,
|
|
2005
|
-
ShapeElementSVGAttributes<T>,
|
|
2006
|
-
ConditionalProcessingSVGAttributes,
|
|
2007
|
-
ExternalResourceSVGAttributes,
|
|
2008
|
-
StylableSVGAttributes,
|
|
2009
|
-
TransformableSVGAttributes,
|
|
2010
|
-
CanBeNothing<{
|
|
2011
|
-
x: number | string;
|
|
2012
|
-
y: number | string;
|
|
2013
|
-
width: number | string;
|
|
2014
|
-
height: number | string;
|
|
2015
|
-
rx: number | string;
|
|
2016
|
-
ry: number | string;
|
|
2017
|
-
}> {}
|
|
2018
|
-
interface SetSVGAttributes<T> extends
|
|
2019
|
-
CoreSVGAttributes<T>,
|
|
2020
|
-
StylableSVGAttributes,
|
|
2021
|
-
AnimationTimingSVGAttributes {}
|
|
2022
|
-
interface StopSVGAttributes<T> extends
|
|
2023
|
-
CoreSVGAttributes<T>,
|
|
2024
|
-
StylableSVGAttributes,
|
|
2025
|
-
Pick<PresentationSVGAttributes, [
|
|
2026
|
-
'color',
|
|
2027
|
-
'stop-color',
|
|
2028
|
-
'stop-opacity',
|
|
2029
|
-
][number]>,
|
|
2030
|
-
CanBeNothing<{
|
|
2031
|
-
offset: number | string;
|
|
2032
|
-
}> {}
|
|
2033
|
-
interface SvgSVGAttributes<T> extends
|
|
2034
|
-
ContainerElementSVGAttributes<T>,
|
|
2035
|
-
NewViewportSVGAttributes<T>,
|
|
2036
|
-
ConditionalProcessingSVGAttributes,
|
|
2037
|
-
ExternalResourceSVGAttributes,
|
|
2038
|
-
StylableSVGAttributes,
|
|
2039
|
-
FitToViewBoxSVGAttributes,
|
|
2040
|
-
ZoomAndPanSVGAttributes,
|
|
2041
|
-
PresentationSVGAttributes,
|
|
2042
|
-
CanBeNothing<{
|
|
2043
|
-
version: string;
|
|
2044
|
-
baseProfile: string;
|
|
2045
|
-
x: number | string;
|
|
2046
|
-
y: number | string;
|
|
2047
|
-
width: number | string;
|
|
2048
|
-
height: number | string;
|
|
2049
|
-
contentScriptType: string;
|
|
2050
|
-
contentStyleType: string;
|
|
2051
|
-
xmlns: string;
|
|
2052
|
-
'xmlns:xlink': string;
|
|
2053
|
-
}> {}
|
|
2054
|
-
interface SwitchSVGAttributes<T> extends
|
|
2055
|
-
ContainerElementSVGAttributes<T>,
|
|
2056
|
-
ConditionalProcessingSVGAttributes,
|
|
2057
|
-
ExternalResourceSVGAttributes,
|
|
2058
|
-
StylableSVGAttributes,
|
|
2059
|
-
TransformableSVGAttributes,
|
|
2060
|
-
Pick<PresentationSVGAttributes, 'display' | 'visibility'> {}
|
|
2061
|
-
interface SymbolSVGAttributes<T> extends
|
|
2062
|
-
ContainerElementSVGAttributes<T>,
|
|
2063
|
-
NewViewportSVGAttributes<T>,
|
|
2064
|
-
ExternalResourceSVGAttributes,
|
|
2065
|
-
StylableSVGAttributes,
|
|
2066
|
-
FitToViewBoxSVGAttributes,
|
|
2067
|
-
CanBeNothing<{
|
|
2068
|
-
width: number | string;
|
|
2069
|
-
height: number | string;
|
|
2070
|
-
preserveAspectRatio: SVGPreserveAspectRatio;
|
|
2071
|
-
refX: number | string;
|
|
2072
|
-
refY: number | string;
|
|
2073
|
-
viewBox: string;
|
|
2074
|
-
x: number | string;
|
|
2075
|
-
y: number | string;
|
|
2076
|
-
}> {}
|
|
2077
|
-
interface TextSVGAttributes<T> extends
|
|
2078
|
-
TextContentElementSVGAttributes<T>,
|
|
2079
|
-
GraphicsElementSVGAttributes<T>,
|
|
2080
|
-
ConditionalProcessingSVGAttributes,
|
|
2081
|
-
ExternalResourceSVGAttributes,
|
|
2082
|
-
StylableSVGAttributes,
|
|
2083
|
-
TransformableSVGAttributes,
|
|
2084
|
-
Pick<PresentationSVGAttributes, 'writing-mode' | 'text-rendering'>,
|
|
2085
|
-
CanBeNothing<{
|
|
2086
|
-
x: number | string;
|
|
2087
|
-
y: number | string;
|
|
2088
|
-
dx: number | string;
|
|
2089
|
-
dy: number | string;
|
|
2090
|
-
rotate: number | string;
|
|
2091
|
-
textLength: number | string;
|
|
2092
|
-
lengthAdjust: 'spacing' | 'spacingAndGlyphs';
|
|
2093
|
-
}> {}
|
|
2094
|
-
interface TextPathSVGAttributes<T> extends
|
|
2095
|
-
TextContentElementSVGAttributes<T>,
|
|
2096
|
-
ConditionalProcessingSVGAttributes,
|
|
2097
|
-
ExternalResourceSVGAttributes,
|
|
2098
|
-
StylableSVGAttributes,
|
|
2099
|
-
Pick<PresentationSVGAttributes, [
|
|
2100
|
-
'alignment-baseline',
|
|
2101
|
-
'baseline-shift',
|
|
2102
|
-
'display',
|
|
2103
|
-
'visibility',
|
|
2104
|
-
][number]>,
|
|
2105
|
-
CanBeNothing<{
|
|
2106
|
-
startOffset: number | string;
|
|
2107
|
-
method: 'align' | 'stretch';
|
|
2108
|
-
spacing: 'auto' | 'exact';
|
|
2109
|
-
href: string;
|
|
2110
|
-
}> {}
|
|
2111
|
-
interface TSpanSVGAttributes<T> extends
|
|
2112
|
-
TextContentElementSVGAttributes<T>,
|
|
2113
|
-
ConditionalProcessingSVGAttributes,
|
|
2114
|
-
ExternalResourceSVGAttributes,
|
|
2115
|
-
StylableSVGAttributes,
|
|
2116
|
-
Pick<PresentationSVGAttributes, [
|
|
2117
|
-
'alignment-baseline',
|
|
2118
|
-
'baseline-shift',
|
|
2119
|
-
'display',
|
|
2120
|
-
'visibility',
|
|
2121
|
-
][number]>,
|
|
2122
|
-
CanBeNothing<{
|
|
2123
|
-
x: number | string;
|
|
2124
|
-
y: number | string;
|
|
2125
|
-
dx: number | string;
|
|
2126
|
-
dy: number | string;
|
|
2127
|
-
rotate: number | string;
|
|
2128
|
-
textLength: number | string;
|
|
2129
|
-
lengthAdjust: 'spacing' | 'spacingAndGlyphs';
|
|
2130
|
-
}> {}
|
|
2131
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
|
|
2132
|
-
interface UseSVGAttributes<T> extends
|
|
2133
|
-
CoreSVGAttributes<T>,
|
|
2134
|
-
StylableSVGAttributes,
|
|
2135
|
-
ConditionalProcessingSVGAttributes,
|
|
2136
|
-
GraphicsElementSVGAttributes<T>,
|
|
2137
|
-
PresentationSVGAttributes,
|
|
2138
|
-
ExternalResourceSVGAttributes,
|
|
2139
|
-
TransformableSVGAttributes,
|
|
2140
|
-
CanBeNothing<{
|
|
2141
|
-
x: number | string;
|
|
2142
|
-
y: number | string;
|
|
2143
|
-
width: number | string;
|
|
2144
|
-
height: number | string;
|
|
2145
|
-
href: string;
|
|
2146
|
-
}> {}
|
|
2147
|
-
interface ViewSVGAttributes<T> extends
|
|
2148
|
-
CoreSVGAttributes<T>,
|
|
2149
|
-
ExternalResourceSVGAttributes,
|
|
2150
|
-
FitToViewBoxSVGAttributes,
|
|
2151
|
-
ZoomAndPanSVGAttributes,
|
|
2152
|
-
CanBeNothing<{
|
|
2153
|
-
viewTarget: string;
|
|
2154
|
-
}> {}
|
|
2155
|
-
/** @type {HTMLElementTagNameMap} */
|
|
2156
|
-
interface HTMLElementTags {
|
|
2157
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a */
|
|
2158
|
-
a: AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
2159
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr */
|
|
2160
|
-
abbr: HTMLAttributes<HTMLElement>;
|
|
2161
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address */
|
|
2162
|
-
address: HTMLAttributes<HTMLElement>;
|
|
2163
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area */
|
|
2164
|
-
area: AreaHTMLAttributes<HTMLAreaElement>;
|
|
2165
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article */
|
|
2166
|
-
article: HTMLAttributes<HTMLElement>;
|
|
2167
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside */
|
|
2168
|
-
aside: HTMLAttributes<HTMLElement>;
|
|
2169
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio */
|
|
2170
|
-
audio: AudioHTMLAttributes<HTMLAudioElement>;
|
|
2171
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b */
|
|
2172
|
-
b: HTMLAttributes<HTMLElement>;
|
|
2173
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base */
|
|
2174
|
-
base: BaseHTMLAttributes<HTMLBaseElement>;
|
|
2175
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi */
|
|
2176
|
-
bdi: HTMLAttributes<HTMLElement>;
|
|
2177
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo */
|
|
2178
|
-
bdo: HTMLAttributes<HTMLElement>;
|
|
2179
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote */
|
|
2180
|
-
blockquote: BlockquoteHTMLAttributes<HTMLElement>;
|
|
2181
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body */
|
|
2182
|
-
body: HTMLAttributes<HTMLBodyElement>;
|
|
2183
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br */
|
|
2184
|
-
br: HTMLAttributes<HTMLBRElement>;
|
|
2185
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button */
|
|
2186
|
-
button: ButtonHTMLAttributes<HTMLButtonElement>;
|
|
2187
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas */
|
|
2188
|
-
canvas: CanvasHTMLAttributes<HTMLCanvasElement>;
|
|
2189
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption */
|
|
2190
|
-
caption: HTMLAttributes<HTMLElement>;
|
|
2191
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite */
|
|
2192
|
-
cite: HTMLAttributes<HTMLElement>;
|
|
2193
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code */
|
|
2194
|
-
code: HTMLAttributes<HTMLElement>;
|
|
2195
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col */
|
|
2196
|
-
col: ColHTMLAttributes<HTMLTableColElement>;
|
|
2197
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup */
|
|
2198
|
-
colgroup: ColgroupHTMLAttributes<HTMLTableColElement>;
|
|
2199
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data */
|
|
2200
|
-
data: DataHTMLAttributes<HTMLElement>;
|
|
2201
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist */
|
|
2202
|
-
datalist: HTMLAttributes<HTMLDataListElement>;
|
|
2203
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd */
|
|
2204
|
-
dd: HTMLAttributes<HTMLElement>;
|
|
2205
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del */
|
|
2206
|
-
del: HTMLAttributes<HTMLElement>;
|
|
2207
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details */
|
|
2208
|
-
details: DetailsHtmlAttributes<HTMLDetailsElement>;
|
|
2209
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn */
|
|
2210
|
-
dfn: HTMLAttributes<HTMLElement>;
|
|
2211
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog */
|
|
2212
|
-
dialog: DialogHtmlAttributes<HTMLDialogElement>;
|
|
2213
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div */
|
|
2214
|
-
div: HTMLAttributes<HTMLDivElement>;
|
|
2215
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl */
|
|
2216
|
-
dl: HTMLAttributes<HTMLDListElement>;
|
|
2217
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt */
|
|
2218
|
-
dt: HTMLAttributes<HTMLElement>;
|
|
2219
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em */
|
|
2220
|
-
em: HTMLAttributes<HTMLElement>;
|
|
2221
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed */
|
|
2222
|
-
embed: EmbedHTMLAttributes<HTMLEmbedElement>;
|
|
2223
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset */
|
|
2224
|
-
fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement>;
|
|
2225
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption */
|
|
2226
|
-
figcaption: HTMLAttributes<HTMLElement>;
|
|
2227
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure */
|
|
2228
|
-
figure: HTMLAttributes<HTMLElement>;
|
|
2229
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer */
|
|
2230
|
-
footer: HTMLAttributes<HTMLElement>;
|
|
2231
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form */
|
|
2232
|
-
form: FormHTMLAttributes<HTMLFormElement>;
|
|
2233
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements */
|
|
2234
|
-
h1: HTMLAttributes<HTMLHeadingElement>;
|
|
2235
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements */
|
|
2236
|
-
h2: HTMLAttributes<HTMLHeadingElement>;
|
|
2237
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements */
|
|
2238
|
-
h3: HTMLAttributes<HTMLHeadingElement>;
|
|
2239
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements */
|
|
2240
|
-
h4: HTMLAttributes<HTMLHeadingElement>;
|
|
2241
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements */
|
|
2242
|
-
h5: HTMLAttributes<HTMLHeadingElement>;
|
|
2243
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements */
|
|
2244
|
-
h6: HTMLAttributes<HTMLHeadingElement>;
|
|
2245
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head */
|
|
2246
|
-
head: HTMLAttributes<HTMLHeadElement>;
|
|
2247
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header */
|
|
2248
|
-
header: HTMLAttributes<HTMLElement>;
|
|
2249
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup */
|
|
2250
|
-
hgroup: HTMLAttributes<HTMLElement>;
|
|
2251
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr */
|
|
2252
|
-
hr: HTMLAttributes<HTMLHRElement>;
|
|
2253
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html */
|
|
2254
|
-
html: HTMLAttributes<HTMLHtmlElement>;
|
|
2255
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i */
|
|
2256
|
-
i: HTMLAttributes<HTMLElement>;
|
|
2257
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe */
|
|
2258
|
-
iframe: IframeHTMLAttributes<HTMLIFrameElement>;
|
|
2259
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img */
|
|
2260
|
-
img: ImgHTMLAttributes<HTMLImageElement>;
|
|
2261
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input */
|
|
2262
|
-
input: InputHTMLAttributes<HTMLInputElement>;
|
|
2263
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins */
|
|
2264
|
-
ins: InsHTMLAttributes<HTMLModElement>;
|
|
2265
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd */
|
|
2266
|
-
kbd: HTMLAttributes<HTMLElement>;
|
|
2267
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label */
|
|
2268
|
-
label: LabelHTMLAttributes<HTMLLabelElement>;
|
|
2269
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend */
|
|
2270
|
-
legend: HTMLAttributes<HTMLLegendElement>;
|
|
2271
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li */
|
|
2272
|
-
li: LiHTMLAttributes<HTMLLIElement>;
|
|
2273
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link */
|
|
2274
|
-
link: LinkHTMLAttributes<HTMLLinkElement>;
|
|
2275
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main */
|
|
2276
|
-
main: HTMLAttributes<HTMLElement>;
|
|
2277
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map */
|
|
2278
|
-
map: MapHTMLAttributes<HTMLMapElement>;
|
|
2279
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark */
|
|
2280
|
-
mark: HTMLAttributes<HTMLElement>;
|
|
2281
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu */
|
|
2282
|
-
menu: MenuHTMLAttributes<HTMLMenuElement>;
|
|
2283
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta */
|
|
2284
|
-
meta: MetaHTMLAttributes<HTMLMetaElement>;
|
|
2285
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter */
|
|
2286
|
-
meter: MeterHTMLAttributes<HTMLElement>;
|
|
2287
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav */
|
|
2288
|
-
nav: HTMLAttributes<HTMLElement>;
|
|
2289
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript */
|
|
2290
|
-
noscript: HTMLAttributes<HTMLElement>;
|
|
2291
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object */
|
|
2292
|
-
object: ObjectHTMLAttributes<HTMLObjectElement>;
|
|
2293
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol */
|
|
2294
|
-
ol: OlHTMLAttributes<HTMLOListElement>;
|
|
2295
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup */
|
|
2296
|
-
optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement>;
|
|
2297
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option */
|
|
2298
|
-
option: OptionHTMLAttributes<HTMLOptionElement>;
|
|
2299
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output */
|
|
2300
|
-
output: OutputHTMLAttributes<HTMLElement>;
|
|
2301
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p */
|
|
2302
|
-
p: HTMLAttributes<HTMLParagraphElement>;
|
|
2303
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture */
|
|
2304
|
-
picture: HTMLAttributes<HTMLElement>;
|
|
2305
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre */
|
|
2306
|
-
pre: HTMLAttributes<HTMLPreElement>;
|
|
2307
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress */
|
|
2308
|
-
progress: ProgressHTMLAttributes<HTMLProgressElement>;
|
|
2309
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q */
|
|
2310
|
-
q: QuoteHTMLAttributes<HTMLQuoteElement>;
|
|
2311
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp */
|
|
2312
|
-
rp: HTMLAttributes<HTMLElement>;
|
|
2313
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt */
|
|
2314
|
-
rt: HTMLAttributes<HTMLElement>;
|
|
2315
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby */
|
|
2316
|
-
ruby: HTMLAttributes<HTMLElement>;
|
|
2317
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s */
|
|
2318
|
-
s: HTMLAttributes<HTMLElement>;
|
|
2319
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp */
|
|
2320
|
-
samp: HTMLAttributes<HTMLElement>;
|
|
2321
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script */
|
|
2322
|
-
script: ScriptHTMLAttributes<HTMLScriptElement>;
|
|
2323
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search */
|
|
2324
|
-
search: HTMLAttributes<HTMLElement>;
|
|
2325
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section */
|
|
2326
|
-
section: HTMLAttributes<HTMLElement>;
|
|
2327
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select */
|
|
2328
|
-
select: SelectHTMLAttributes<HTMLSelectElement>;
|
|
2329
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot */
|
|
2330
|
-
slot: HTMLSlotElementAttributes;
|
|
2331
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small */
|
|
2332
|
-
small: HTMLAttributes<HTMLElement>;
|
|
2333
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source */
|
|
2334
|
-
source: SourceHTMLAttributes<HTMLSourceElement>;
|
|
2335
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span */
|
|
2336
|
-
span: HTMLAttributes<HTMLSpanElement>;
|
|
2337
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong */
|
|
2338
|
-
strong: HTMLAttributes<HTMLElement>;
|
|
2339
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style */
|
|
2340
|
-
style: StyleHTMLAttributes<HTMLStyleElement>;
|
|
2341
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub */
|
|
2342
|
-
sub: HTMLAttributes<HTMLElement>;
|
|
2343
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary */
|
|
2344
|
-
summary: HTMLAttributes<HTMLElement>;
|
|
2345
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup */
|
|
2346
|
-
sup: HTMLAttributes<HTMLElement>;
|
|
2347
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table */
|
|
2348
|
-
table: HTMLAttributes<HTMLTableElement>;
|
|
2349
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody */
|
|
2350
|
-
tbody: HTMLAttributes<HTMLTableSectionElement>;
|
|
2351
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td */
|
|
2352
|
-
td: TdHTMLAttributes<HTMLTableCellElement>;
|
|
2353
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template */
|
|
2354
|
-
template: TemplateHTMLAttributes<HTMLTemplateElement>;
|
|
2355
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea */
|
|
2356
|
-
textarea: TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
2357
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot */
|
|
2358
|
-
tfoot: HTMLAttributes<HTMLTableSectionElement>;
|
|
2359
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th */
|
|
2360
|
-
th: ThHTMLAttributes<HTMLTableCellElement>;
|
|
2361
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead */
|
|
2362
|
-
thead: HTMLAttributes<HTMLTableSectionElement>;
|
|
2363
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time */
|
|
2364
|
-
time: TimeHTMLAttributes<HTMLElement>;
|
|
2365
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title */
|
|
2366
|
-
title: HTMLAttributes<HTMLTitleElement>;
|
|
2367
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr */
|
|
2368
|
-
tr: HTMLAttributes<HTMLTableRowElement>;
|
|
2369
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track */
|
|
2370
|
-
track: TrackHTMLAttributes<HTMLTrackElement>;
|
|
2371
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u */
|
|
2372
|
-
u: HTMLAttributes<HTMLElement>;
|
|
2373
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul */
|
|
2374
|
-
ul: HTMLAttributes<HTMLUListElement>;
|
|
2375
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var */
|
|
2376
|
-
var: HTMLAttributes<HTMLElement>;
|
|
2377
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video */
|
|
2378
|
-
video: VideoHTMLAttributes<HTMLVideoElement>;
|
|
2379
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr */
|
|
2380
|
-
wbr: HTMLAttributes<HTMLElement>;
|
|
2381
|
-
}
|
|
2382
|
-
/** @type {HTMLElementDeprecatedTagNameMap} */
|
|
2383
|
-
interface HTMLElementDeprecatedTags {
|
|
2384
|
-
/**
|
|
2385
|
-
* @deprecated The `<big>` element is deprecated and should not be used.
|
|
2386
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big
|
|
2387
|
-
*/
|
|
2388
|
-
big: HTMLAttributes<HTMLElement>;
|
|
2389
|
-
/**
|
|
2390
|
-
* @deprecated The `<keygen>` element is deprecated and should not be used.
|
|
2391
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
|
|
2392
|
-
*/
|
|
2393
|
-
keygen: KeygenHTMLAttributes<HTMLElement>;
|
|
2394
|
-
/**
|
|
2395
|
-
* @deprecated The `<menuitem>` element is deprecated and should not be used.
|
|
2396
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
|
|
2397
|
-
*/
|
|
2398
|
-
menuitem: HTMLAttributes<HTMLElement>;
|
|
2399
|
-
/**
|
|
2400
|
-
* @deprecated The `<noindex>` element is deprecated and should not be used.
|
|
2401
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noindex
|
|
2402
|
-
*/
|
|
2403
|
-
noindex: HTMLAttributes<HTMLElement>;
|
|
2404
|
-
/**
|
|
2405
|
-
* @deprecated The `<param>` element is deprecated and should not be used.
|
|
2406
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
|
|
2407
|
-
*/
|
|
2408
|
-
param: ParamHTMLAttributes<HTMLParamElement>;
|
|
2409
|
-
}
|
|
2410
|
-
/** @type {SVGElementTagNameMap} */
|
|
2411
|
-
interface SVGElementTags {
|
|
2412
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate */
|
|
2413
|
-
animate: AnimateSVGAttributes<SVGAnimateElement>;
|
|
2414
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion */
|
|
2415
|
-
animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement>;
|
|
2416
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform */
|
|
2417
|
-
animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement>;
|
|
2418
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle */
|
|
2419
|
-
circle: CircleSVGAttributes<SVGCircleElement>;
|
|
2420
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath */
|
|
2421
|
-
clipPath: ClipPathSVGAttributes<SVGClipPathElement>;
|
|
2422
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs */
|
|
2423
|
-
defs: DefsSVGAttributes<SVGDefsElement>;
|
|
2424
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc */
|
|
2425
|
-
desc: DescSVGAttributes<SVGDescElement>;
|
|
2426
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse */
|
|
2427
|
-
ellipse: EllipseSVGAttributes<SVGEllipseElement>;
|
|
2428
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend */
|
|
2429
|
-
feBlend: FeBlendSVGAttributes<SVGFEBlendElement>;
|
|
2430
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix */
|
|
2431
|
-
feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement>;
|
|
2432
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer */
|
|
2433
|
-
feComponentTransfer: FeComponentTransferSVGAttributes<SVGFEComponentTransferElement>;
|
|
2434
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite */
|
|
2435
|
-
feComposite: FeCompositeSVGAttributes<SVGFECompositeElement>;
|
|
2436
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix */
|
|
2437
|
-
feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement>;
|
|
2438
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting */
|
|
2439
|
-
feDiffuseLighting: FeDiffuseLightingSVGAttributes<SVGFEDiffuseLightingElement>;
|
|
2440
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap */
|
|
2441
|
-
feDisplacementMap: FeDisplacementMapSVGAttributes<SVGFEDisplacementMapElement>;
|
|
2442
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight */
|
|
2443
|
-
feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement>;
|
|
2444
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow */
|
|
2445
|
-
feDropShadow: FeDropShadowSVGAttributes<SVGFEDropShadowElement>;
|
|
2446
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood */
|
|
2447
|
-
feFlood: FeFloodSVGAttributes<SVGFEFloodElement>;
|
|
2448
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA */
|
|
2449
|
-
feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement>;
|
|
2450
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB */
|
|
2451
|
-
feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement>;
|
|
2452
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG */
|
|
2453
|
-
feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement>;
|
|
2454
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR */
|
|
2455
|
-
feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement>;
|
|
2456
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur */
|
|
2457
|
-
feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement>;
|
|
2458
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage */
|
|
2459
|
-
feImage: FeImageSVGAttributes<SVGFEImageElement>;
|
|
2460
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge */
|
|
2461
|
-
feMerge: FeMergeSVGAttributes<SVGFEMergeElement>;
|
|
2462
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode */
|
|
2463
|
-
feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement>;
|
|
2464
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology */
|
|
2465
|
-
feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement>;
|
|
2466
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset */
|
|
2467
|
-
feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement>;
|
|
2468
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight */
|
|
2469
|
-
fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement>;
|
|
2470
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting */
|
|
2471
|
-
feSpecularLighting: FeSpecularLightingSVGAttributes<SVGFESpecularLightingElement>;
|
|
2472
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight */
|
|
2473
|
-
feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement>;
|
|
2474
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile */
|
|
2475
|
-
feTile: FeTileSVGAttributes<SVGFETileElement>;
|
|
2476
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence */
|
|
2477
|
-
feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement>;
|
|
2478
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter */
|
|
2479
|
-
filter: FilterSVGAttributes<SVGFilterElement>;
|
|
2480
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject */
|
|
2481
|
-
foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement>;
|
|
2482
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g */
|
|
2483
|
-
g: GSVGAttributes<SVGGElement>;
|
|
2484
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image */
|
|
2485
|
-
image: ImageSVGAttributes<SVGImageElement>;
|
|
2486
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line */
|
|
2487
|
-
line: LineSVGAttributes<SVGLineElement>;
|
|
2488
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient */
|
|
2489
|
-
linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement>;
|
|
2490
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker */
|
|
2491
|
-
marker: MarkerSVGAttributes<SVGMarkerElement>;
|
|
2492
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask */
|
|
2493
|
-
mask: MaskSVGAttributes<SVGMaskElement>;
|
|
2494
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata */
|
|
2495
|
-
metadata: MetadataSVGAttributes<SVGMetadataElement>;
|
|
2496
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath */
|
|
2497
|
-
mpath: MPathSVGAttributes<SVGMPathElement>;
|
|
2498
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path */
|
|
2499
|
-
path: PathSVGAttributes<SVGPathElement>;
|
|
2500
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern */
|
|
2501
|
-
pattern: PatternSVGAttributes<SVGPatternElement>;
|
|
2502
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon */
|
|
2503
|
-
polygon: PolygonSVGAttributes<SVGPolygonElement>;
|
|
2504
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline */
|
|
2505
|
-
polyline: PolylineSVGAttributes<SVGPolylineElement>;
|
|
2506
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient */
|
|
2507
|
-
radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement>;
|
|
2508
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect */
|
|
2509
|
-
rect: RectSVGAttributes<SVGRectElement>;
|
|
2510
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set */
|
|
2511
|
-
set: SetSVGAttributes<SVGSetElement>;
|
|
2512
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop */
|
|
2513
|
-
stop: StopSVGAttributes<SVGStopElement>;
|
|
2514
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg */
|
|
2515
|
-
svg: SvgSVGAttributes<SVGSVGElement>;
|
|
2516
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch */
|
|
2517
|
-
switch: SwitchSVGAttributes<SVGSwitchElement>;
|
|
2518
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol */
|
|
2519
|
-
symbol: SymbolSVGAttributes<SVGSymbolElement>;
|
|
2520
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text */
|
|
2521
|
-
text: TextSVGAttributes<SVGTextElement>;
|
|
2522
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath */
|
|
2523
|
-
textPath: TextPathSVGAttributes<SVGTextPathElement>;
|
|
2524
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan */
|
|
2525
|
-
tspan: TSpanSVGAttributes<SVGTSpanElement>;
|
|
2526
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
|
|
2527
|
-
use: UseSVGAttributes<SVGUseElement>;
|
|
2528
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view */
|
|
2529
|
-
view: ViewSVGAttributes<SVGViewElement>;
|
|
2530
|
-
}
|
|
2531
|
-
/** Interface for semantic tags that start with "s-". */
|
|
2532
|
-
interface SemanticTags { [key: `s-${ string }`]: HTMLAttributes<HTMLElement>; }
|
|
2533
|
-
/** Interface for registering custom element tags. */
|
|
2534
|
-
interface CustomElementTags {}
|
|
2535
|
-
|
|
2536
|
-
interface IntrinsicElements extends
|
|
2537
|
-
HTMLElementTags,
|
|
2538
|
-
HTMLElementDeprecatedTags,
|
|
2539
|
-
SVGElementTags,
|
|
2540
|
-
SemanticTags,
|
|
2541
|
-
CustomElementTags {}
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
// eslint-disable-next-line no-var
|
|
2545
|
-
var as: {
|
|
2546
|
-
/**
|
|
2547
|
-
* Informs the compiler that the value should be bound as a property value.\
|
|
2548
|
-
* This binds the expression value as a property, using the `.` syntax e.g `.key=${value}`\
|
|
2549
|
-
* This function call is removed during compilation, therefore it has no runtime effect.
|
|
2550
|
-
*/
|
|
2551
|
-
prop: <T>(value: T) => T;
|
|
2552
|
-
/**
|
|
2553
|
-
* Informs the compiler that the value should be bound as a boolean attribute.\
|
|
2554
|
-
* This allows the template to bind the value using the `?` syntax, e.g. `?disabled=${true}`\
|
|
2555
|
-
* This function call is removed during compilation, therefore it has no runtime effect.
|
|
2556
|
-
*/
|
|
2557
|
-
bool: (value: boolean) => boolean;
|
|
2558
|
-
};
|
|
2559
|
-
}
|
|
1
|
+
import './jsx-core.ts';
|
|
2
|
+
import './jsx-dom.ts';
|
|
3
|
+
import './jsx-hooks.ts';
|