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