defuss 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +89 -0
- package/coverage_report.png +0 -0
- package/dist/client.cjs +1 -0
- package/dist/client.d.cts +9 -0
- package/dist/client.d.ts +9 -0
- package/dist/client.mjs +1 -0
- package/dist/index-BFLjZCxl.d.ts +1367 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +1 -0
- package/dist/server.cjs +1 -0
- package/dist/server.d.cts +18 -0
- package/dist/server.d.ts +18 -0
- package/dist/server.mjs +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,1367 @@
|
|
|
1
|
+
import * as CSS from 'csstype';
|
|
2
|
+
|
|
3
|
+
interface CSSProperties extends CSS.Properties<string | number> {
|
|
4
|
+
/**
|
|
5
|
+
* The index signature was removed to enable closed typing for style
|
|
6
|
+
* using CSSType. You're able to use type assertion or module augmentation
|
|
7
|
+
* to add properties or an index signature of your own.
|
|
8
|
+
*
|
|
9
|
+
* For examples and more information, visit:
|
|
10
|
+
* https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
|
|
11
|
+
*/
|
|
12
|
+
}
|
|
13
|
+
interface FontFaceProperties {
|
|
14
|
+
MozFontFeatureSettings?: CSS.Property.FontFeatureSettings
|
|
15
|
+
fontDisplay?: 'auto' | 'block' | 'fallback' | 'optional' | 'swap' | (string & {})
|
|
16
|
+
fontFamily?: CSS.Property.FontFamily
|
|
17
|
+
fontFeatureSettings?: CSS.Property.FontFeatureSettings
|
|
18
|
+
fontStretch?: CSS.Property.FontStretch
|
|
19
|
+
fontStyle?: CSS.Property.FontStyle
|
|
20
|
+
fontVariant?: CSS.Property.FontVariant
|
|
21
|
+
fontVariationSettings?: CSS.Property.FontVariationSettings
|
|
22
|
+
fontWeight?: CSS.Property.FontWeight
|
|
23
|
+
src?: string
|
|
24
|
+
unicodeRange?: string
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
interface KeyFrameProperties {
|
|
28
|
+
from?: Partial<CSSProperties>
|
|
29
|
+
to?: Partial<CSSProperties>
|
|
30
|
+
'0%'?: Partial<CSSProperties>
|
|
31
|
+
'1%'?: Partial<CSSProperties>
|
|
32
|
+
'2%'?: Partial<CSSProperties>
|
|
33
|
+
'3%'?: Partial<CSSProperties>
|
|
34
|
+
'4%'?: Partial<CSSProperties>
|
|
35
|
+
'5%'?: Partial<CSSProperties>
|
|
36
|
+
'6%'?: Partial<CSSProperties>
|
|
37
|
+
'7%'?: Partial<CSSProperties>
|
|
38
|
+
'8%'?: Partial<CSSProperties>
|
|
39
|
+
'9%'?: Partial<CSSProperties>
|
|
40
|
+
'10%'?: Partial<CSSProperties>
|
|
41
|
+
'11%'?: Partial<CSSProperties>
|
|
42
|
+
'12%'?: Partial<CSSProperties>
|
|
43
|
+
'13%'?: Partial<CSSProperties>
|
|
44
|
+
'14%'?: Partial<CSSProperties>
|
|
45
|
+
'15%'?: Partial<CSSProperties>
|
|
46
|
+
'16%'?: Partial<CSSProperties>
|
|
47
|
+
'17%'?: Partial<CSSProperties>
|
|
48
|
+
'18%'?: Partial<CSSProperties>
|
|
49
|
+
'19%'?: Partial<CSSProperties>
|
|
50
|
+
'20%'?: Partial<CSSProperties>
|
|
51
|
+
'21%'?: Partial<CSSProperties>
|
|
52
|
+
'22%'?: Partial<CSSProperties>
|
|
53
|
+
'23%'?: Partial<CSSProperties>
|
|
54
|
+
'24%'?: Partial<CSSProperties>
|
|
55
|
+
'25%'?: Partial<CSSProperties>
|
|
56
|
+
'26%'?: Partial<CSSProperties>
|
|
57
|
+
'27%'?: Partial<CSSProperties>
|
|
58
|
+
'28%'?: Partial<CSSProperties>
|
|
59
|
+
'29%'?: Partial<CSSProperties>
|
|
60
|
+
'30%'?: Partial<CSSProperties>
|
|
61
|
+
'31%'?: Partial<CSSProperties>
|
|
62
|
+
'32%'?: Partial<CSSProperties>
|
|
63
|
+
'33%'?: Partial<CSSProperties>
|
|
64
|
+
'34%'?: Partial<CSSProperties>
|
|
65
|
+
'35%'?: Partial<CSSProperties>
|
|
66
|
+
'36%'?: Partial<CSSProperties>
|
|
67
|
+
'37%'?: Partial<CSSProperties>
|
|
68
|
+
'38%'?: Partial<CSSProperties>
|
|
69
|
+
'39%'?: Partial<CSSProperties>
|
|
70
|
+
'40%'?: Partial<CSSProperties>
|
|
71
|
+
'41%'?: Partial<CSSProperties>
|
|
72
|
+
'42%'?: Partial<CSSProperties>
|
|
73
|
+
'43%'?: Partial<CSSProperties>
|
|
74
|
+
'44%'?: Partial<CSSProperties>
|
|
75
|
+
'45%'?: Partial<CSSProperties>
|
|
76
|
+
'46%'?: Partial<CSSProperties>
|
|
77
|
+
'47%'?: Partial<CSSProperties>
|
|
78
|
+
'48%'?: Partial<CSSProperties>
|
|
79
|
+
'49%'?: Partial<CSSProperties>
|
|
80
|
+
'50%'?: Partial<CSSProperties>
|
|
81
|
+
'51%'?: Partial<CSSProperties>
|
|
82
|
+
'52%'?: Partial<CSSProperties>
|
|
83
|
+
'53%'?: Partial<CSSProperties>
|
|
84
|
+
'54%'?: Partial<CSSProperties>
|
|
85
|
+
'55%'?: Partial<CSSProperties>
|
|
86
|
+
'56%'?: Partial<CSSProperties>
|
|
87
|
+
'57%'?: Partial<CSSProperties>
|
|
88
|
+
'58%'?: Partial<CSSProperties>
|
|
89
|
+
'59%'?: Partial<CSSProperties>
|
|
90
|
+
'60%'?: Partial<CSSProperties>
|
|
91
|
+
'61%'?: Partial<CSSProperties>
|
|
92
|
+
'62%'?: Partial<CSSProperties>
|
|
93
|
+
'63%'?: Partial<CSSProperties>
|
|
94
|
+
'64%'?: Partial<CSSProperties>
|
|
95
|
+
'65%'?: Partial<CSSProperties>
|
|
96
|
+
'66%'?: Partial<CSSProperties>
|
|
97
|
+
'67%'?: Partial<CSSProperties>
|
|
98
|
+
'68%'?: Partial<CSSProperties>
|
|
99
|
+
'69%'?: Partial<CSSProperties>
|
|
100
|
+
'70%'?: Partial<CSSProperties>
|
|
101
|
+
'71%'?: Partial<CSSProperties>
|
|
102
|
+
'72%'?: Partial<CSSProperties>
|
|
103
|
+
'73%'?: Partial<CSSProperties>
|
|
104
|
+
'74%'?: Partial<CSSProperties>
|
|
105
|
+
'75%'?: Partial<CSSProperties>
|
|
106
|
+
'76%'?: Partial<CSSProperties>
|
|
107
|
+
'77%'?: Partial<CSSProperties>
|
|
108
|
+
'78%'?: Partial<CSSProperties>
|
|
109
|
+
'79%'?: Partial<CSSProperties>
|
|
110
|
+
'80%'?: Partial<CSSProperties>
|
|
111
|
+
'81%'?: Partial<CSSProperties>
|
|
112
|
+
'82%'?: Partial<CSSProperties>
|
|
113
|
+
'83%'?: Partial<CSSProperties>
|
|
114
|
+
'84%'?: Partial<CSSProperties>
|
|
115
|
+
'85%'?: Partial<CSSProperties>
|
|
116
|
+
'86%'?: Partial<CSSProperties>
|
|
117
|
+
'87%'?: Partial<CSSProperties>
|
|
118
|
+
'88%'?: Partial<CSSProperties>
|
|
119
|
+
'89%'?: Partial<CSSProperties>
|
|
120
|
+
'90%'?: Partial<CSSProperties>
|
|
121
|
+
'91%'?: Partial<CSSProperties>
|
|
122
|
+
'92%'?: Partial<CSSProperties>
|
|
123
|
+
'93%'?: Partial<CSSProperties>
|
|
124
|
+
'94%'?: Partial<CSSProperties>
|
|
125
|
+
'95%'?: Partial<CSSProperties>
|
|
126
|
+
'96%'?: Partial<CSSProperties>
|
|
127
|
+
'97%'?: Partial<CSSProperties>
|
|
128
|
+
'98%'?: Partial<CSSProperties>
|
|
129
|
+
'99%'?: Partial<CSSProperties>
|
|
130
|
+
'100%'?: Partial<CSSProperties>
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
type UpdateFn = (state?: any) => void
|
|
134
|
+
|
|
135
|
+
interface Ref {
|
|
136
|
+
current?: any
|
|
137
|
+
update?: UpdateFn
|
|
138
|
+
onUpdate?: (updateFn: UpdateFn) => void
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
type VRef = (el: Element) => void
|
|
142
|
+
|
|
143
|
+
interface VAttributes {
|
|
144
|
+
// typing; detect ref
|
|
145
|
+
ref?: Ref | VRef
|
|
146
|
+
|
|
147
|
+
// array-local unique key to identify element items in a NodeList
|
|
148
|
+
key?: string
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
interface VNodeAttributes extends VAttributes {
|
|
152
|
+
[attributeName: string]: any
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
interface VNode<A = VNodeAttributes> {
|
|
156
|
+
type: VNodeType
|
|
157
|
+
attributes: A
|
|
158
|
+
children?: VNodeChildren
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
// string as in "div" creates an HTMLElement in the renderer
|
|
163
|
+
// function as in functional component is called to return a VDOM object
|
|
164
|
+
type VNodeType = string | any
|
|
165
|
+
type VNodeKey = string | number | any
|
|
166
|
+
type VNodeRefObject<T> = { current?: T | null }
|
|
167
|
+
type VNodeRefCallback<T> = (instance: T | null) => void
|
|
168
|
+
type VNodeRef<T> = VNodeRefObject<T> | VNodeRefCallback<T>
|
|
169
|
+
type VNodeChild = VNode<any> | object | string | number | boolean | null | undefined
|
|
170
|
+
type VNodeChildren = VNodeChild[]
|
|
171
|
+
|
|
172
|
+
// simple types for declaring children and props
|
|
173
|
+
type Children = VNodeChildren;
|
|
174
|
+
|
|
175
|
+
interface DomAbstractionImpl {
|
|
176
|
+
hasElNamespace(domElement: Element): boolean
|
|
177
|
+
|
|
178
|
+
hasSvgNamespace(parentElement: Element, type: string): boolean
|
|
179
|
+
|
|
180
|
+
createElementOrElements(
|
|
181
|
+
virtualNode: VNode | undefined | Array<VNode | undefined | string>,
|
|
182
|
+
parentDomElement?: Element | Document,
|
|
183
|
+
): Array<Element | Text | undefined> | Element | Text | undefined
|
|
184
|
+
|
|
185
|
+
createElement(virtualNode: VNode | undefined, parentDomElement?: Element | Document): Element | undefined
|
|
186
|
+
|
|
187
|
+
createTextNode(text: string, parentDomElement?: Element | Document): Text
|
|
188
|
+
|
|
189
|
+
createChildElements(virtualChildren: VNodeChildren, parentDomElement?: Element): Array<Element | Text | undefined>
|
|
190
|
+
|
|
191
|
+
setAttribute(name: string, value: any, parentDomElement: Element, forceNative?: boolean): void
|
|
192
|
+
|
|
193
|
+
setAttributes(attributes: any, parentDomElement: Element, forceNative?: boolean): void
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare global {
|
|
197
|
+
namespace JSX {
|
|
198
|
+
interface ElementAttributesProperty {
|
|
199
|
+
attrs: {}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export interface SVGAttributes extends HTMLAttributes {
|
|
203
|
+
accentHeight?: number | string
|
|
204
|
+
accumulate?: 'none' | 'sum'
|
|
205
|
+
additive?: 'replace' | 'sum'
|
|
206
|
+
alignmentBaseline?:
|
|
207
|
+
| 'auto'
|
|
208
|
+
| 'baseline'
|
|
209
|
+
| 'before-edge'
|
|
210
|
+
| 'text-before-edge'
|
|
211
|
+
| 'middle'
|
|
212
|
+
| 'central'
|
|
213
|
+
| 'after-edge'
|
|
214
|
+
| 'text-after-edge'
|
|
215
|
+
| 'ideographic'
|
|
216
|
+
| 'alphabetic'
|
|
217
|
+
| 'hanging'
|
|
218
|
+
| 'mathematical'
|
|
219
|
+
| 'inherit'
|
|
220
|
+
allowReorder?: 'no' | 'yes'
|
|
221
|
+
alphabetic?: number | string
|
|
222
|
+
amplitude?: number | string
|
|
223
|
+
arabicForm?: 'initial' | 'medial' | 'terminal' | 'isolated'
|
|
224
|
+
ascent?: number | string
|
|
225
|
+
attributeName?: string
|
|
226
|
+
attributeType?: string
|
|
227
|
+
autoReverse?: number | string
|
|
228
|
+
azimuth?: number | string
|
|
229
|
+
baseFrequency?: number | string
|
|
230
|
+
baselineShift?: number | string
|
|
231
|
+
baseProfile?: number | string
|
|
232
|
+
bbox?: number | string
|
|
233
|
+
begin?: number | string
|
|
234
|
+
bias?: number | string
|
|
235
|
+
by?: number | string
|
|
236
|
+
calcMode?: number | string
|
|
237
|
+
capHeight?: number | string
|
|
238
|
+
clip?: number | string
|
|
239
|
+
clipPath?: string
|
|
240
|
+
clipPathUnits?: number | string
|
|
241
|
+
clipRule?: number | string
|
|
242
|
+
colorInterpolation?: number | string
|
|
243
|
+
colorInterpolationFilters?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit'
|
|
244
|
+
colorProfile?: number | string
|
|
245
|
+
colorRendering?: number | string
|
|
246
|
+
contentScriptType?: number | string
|
|
247
|
+
contentStyleType?: number | string
|
|
248
|
+
cursor?: number | string
|
|
249
|
+
cx?: number | string
|
|
250
|
+
cy?: number | string
|
|
251
|
+
d?: string
|
|
252
|
+
decelerate?: number | string
|
|
253
|
+
descent?: number | string
|
|
254
|
+
diffuseConstant?: number | string
|
|
255
|
+
direction?: number | string
|
|
256
|
+
display?: number | string
|
|
257
|
+
divisor?: number | string
|
|
258
|
+
dominantBaseline?: number | string
|
|
259
|
+
dur?: number | string
|
|
260
|
+
dx?: number | string
|
|
261
|
+
dy?: number | string
|
|
262
|
+
edgeMode?: number | string
|
|
263
|
+
elevation?: number | string
|
|
264
|
+
enableBackground?: number | string
|
|
265
|
+
end?: number | string
|
|
266
|
+
exponent?: number | string
|
|
267
|
+
externalResourcesRequired?: number | string
|
|
268
|
+
fill?: string
|
|
269
|
+
fillOpacity?: number | string
|
|
270
|
+
fillRule?: 'nonzero' | 'evenodd' | 'inherit'
|
|
271
|
+
filter?: string
|
|
272
|
+
filterRes?: number | string
|
|
273
|
+
filterUnits?: number | string
|
|
274
|
+
floodColor?: number | string
|
|
275
|
+
floodOpacity?: number | string
|
|
276
|
+
focusable?: number | string
|
|
277
|
+
fontFamily?: string
|
|
278
|
+
fontSize?: number | string
|
|
279
|
+
fontSizeAdjust?: number | string
|
|
280
|
+
fontStretch?: number | string
|
|
281
|
+
fontStyle?: number | string
|
|
282
|
+
fontVariant?: number | string
|
|
283
|
+
fontWeight?: number | string
|
|
284
|
+
format?: number | string
|
|
285
|
+
from?: number | string
|
|
286
|
+
fx?: number | string
|
|
287
|
+
fy?: number | string
|
|
288
|
+
g1?: number | string
|
|
289
|
+
g2?: number | string
|
|
290
|
+
glyphName?: number | string
|
|
291
|
+
glyphOrientationHorizontal?: number | string
|
|
292
|
+
glyphOrientationVertical?: number | string
|
|
293
|
+
glyphRef?: number | string
|
|
294
|
+
gradientTransform?: string
|
|
295
|
+
gradientUnits?: string
|
|
296
|
+
hanging?: number | string
|
|
297
|
+
horizAdvX?: number | string
|
|
298
|
+
horizOriginX?: number | string
|
|
299
|
+
ideographic?: number | string
|
|
300
|
+
imageRendering?: number | string
|
|
301
|
+
in2?: number | string
|
|
302
|
+
in?: string
|
|
303
|
+
intercept?: number | string
|
|
304
|
+
k1?: number | string
|
|
305
|
+
k2?: number | string
|
|
306
|
+
k3?: number | string
|
|
307
|
+
k4?: number | string
|
|
308
|
+
k?: number | string
|
|
309
|
+
kernelMatrix?: number | string
|
|
310
|
+
kernelUnitLength?: number | string
|
|
311
|
+
kerning?: number | string
|
|
312
|
+
keyPoints?: number | string
|
|
313
|
+
keySplines?: number | string
|
|
314
|
+
keyTimes?: number | string
|
|
315
|
+
lengthAdjust?: number | string
|
|
316
|
+
letterSpacing?: number | string
|
|
317
|
+
lightingColor?: number | string
|
|
318
|
+
limitingConeAngle?: number | string
|
|
319
|
+
local?: number | string
|
|
320
|
+
markerEnd?: string
|
|
321
|
+
markerHeight?: number | string
|
|
322
|
+
markerMid?: string
|
|
323
|
+
markerStart?: string
|
|
324
|
+
markerUnits?: number | string
|
|
325
|
+
markerWidth?: number | string
|
|
326
|
+
mask?: string
|
|
327
|
+
maskContentUnits?: number | string
|
|
328
|
+
maskUnits?: number | string
|
|
329
|
+
mathematical?: number | string
|
|
330
|
+
mode?: number | string
|
|
331
|
+
numOctaves?: number | string
|
|
332
|
+
offset?: number | string
|
|
333
|
+
opacity?: number | string
|
|
334
|
+
operator?: number | string
|
|
335
|
+
order?: number | string
|
|
336
|
+
orient?: number | string
|
|
337
|
+
orientation?: number | string
|
|
338
|
+
origin?: number | string
|
|
339
|
+
overflow?: number | string
|
|
340
|
+
overlinePosition?: number | string
|
|
341
|
+
overlineThickness?: number | string
|
|
342
|
+
paintOrder?: number | string
|
|
343
|
+
panose1?: number | string
|
|
344
|
+
pathLength?: number | string
|
|
345
|
+
patternContentUnits?: string
|
|
346
|
+
patternTransform?: number | string
|
|
347
|
+
patternUnits?: string
|
|
348
|
+
pointerEvents?: number | string
|
|
349
|
+
points?: string
|
|
350
|
+
pointsAtX?: number | string
|
|
351
|
+
pointsAtY?: number | string
|
|
352
|
+
pointsAtZ?: number | string
|
|
353
|
+
preserveAlpha?: number | string
|
|
354
|
+
preserveAspectRatio?: string
|
|
355
|
+
primitiveUnits?: number | string
|
|
356
|
+
r?: number | string
|
|
357
|
+
radius?: number | string
|
|
358
|
+
refX?: number | string
|
|
359
|
+
refY?: number | string
|
|
360
|
+
renderingIntent?: number | string
|
|
361
|
+
repeatCount?: number | string
|
|
362
|
+
repeatDur?: number | string
|
|
363
|
+
requiredExtensions?: number | string
|
|
364
|
+
requiredFeatures?: number | string
|
|
365
|
+
restart?: number | string
|
|
366
|
+
result?: string
|
|
367
|
+
rotate?: number | string
|
|
368
|
+
rx?: number | string
|
|
369
|
+
ry?: number | string
|
|
370
|
+
scale?: number | string
|
|
371
|
+
seed?: number | string
|
|
372
|
+
shapeRendering?: number | string
|
|
373
|
+
slope?: number | string
|
|
374
|
+
spacing?: number | string
|
|
375
|
+
specularConstant?: number | string
|
|
376
|
+
specularExponent?: number | string
|
|
377
|
+
speed?: number | string
|
|
378
|
+
spreadMethod?: string
|
|
379
|
+
startOffset?: number | string
|
|
380
|
+
stdDeviation?: number | string
|
|
381
|
+
stemh?: number | string
|
|
382
|
+
stemv?: number | string
|
|
383
|
+
stitchTiles?: number | string
|
|
384
|
+
stopColor?: string
|
|
385
|
+
stopOpacity?: number | string
|
|
386
|
+
strikethroughPosition?: number | string
|
|
387
|
+
strikethroughThickness?: number | string
|
|
388
|
+
string?: number | string
|
|
389
|
+
stroke?: string
|
|
390
|
+
strokeDasharray?: string | number
|
|
391
|
+
strokeDashoffset?: string | number
|
|
392
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit'
|
|
393
|
+
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit'
|
|
394
|
+
strokeMiterlimit?: string
|
|
395
|
+
strokeOpacity?: number | string
|
|
396
|
+
strokeWidth?: number | string
|
|
397
|
+
surfaceScale?: number | string
|
|
398
|
+
systemLanguage?: number | string
|
|
399
|
+
tableValues?: number | string
|
|
400
|
+
targetX?: number | string
|
|
401
|
+
targetY?: number | string
|
|
402
|
+
textAnchor?: string
|
|
403
|
+
textDecoration?: number | string
|
|
404
|
+
textLength?: number | string
|
|
405
|
+
textRendering?: number | string
|
|
406
|
+
to?: number | string
|
|
407
|
+
transform?: string
|
|
408
|
+
u1?: number | string
|
|
409
|
+
u2?: number | string
|
|
410
|
+
underlinePosition?: number | string
|
|
411
|
+
underlineThickness?: number | string
|
|
412
|
+
unicode?: number | string
|
|
413
|
+
unicodeBidi?: number | string
|
|
414
|
+
unicodeRange?: number | string
|
|
415
|
+
unitsPerEm?: number | string
|
|
416
|
+
vAlphabetic?: number | string
|
|
417
|
+
values?: string
|
|
418
|
+
vectorEffect?: number | string
|
|
419
|
+
version?: string
|
|
420
|
+
vertAdvY?: number | string
|
|
421
|
+
vertOriginX?: number | string
|
|
422
|
+
vertOriginY?: number | string
|
|
423
|
+
vHanging?: number | string
|
|
424
|
+
vIdeographic?: number | string
|
|
425
|
+
viewBox?: string
|
|
426
|
+
viewTarget?: number | string
|
|
427
|
+
visibility?: number | string
|
|
428
|
+
vMathematical?: number | string
|
|
429
|
+
widths?: number | string
|
|
430
|
+
wordSpacing?: number | string
|
|
431
|
+
writingMode?: number | string
|
|
432
|
+
x1?: number | string
|
|
433
|
+
x2?: number | string
|
|
434
|
+
x?: number | string
|
|
435
|
+
xChannelSelector?: string
|
|
436
|
+
xHeight?: number | string
|
|
437
|
+
xlinkActuate?: string
|
|
438
|
+
xlinkArcrole?: string
|
|
439
|
+
xlinkHref?: string
|
|
440
|
+
xlinkRole?: string
|
|
441
|
+
xlinkShow?: string
|
|
442
|
+
xlinkTitle?: string
|
|
443
|
+
xlinkType?: string
|
|
444
|
+
xmlBase?: string
|
|
445
|
+
xmlLang?: string
|
|
446
|
+
xmlns?: string
|
|
447
|
+
xmlnsXlink?: string
|
|
448
|
+
xmlSpace?: string
|
|
449
|
+
y1?: number | string
|
|
450
|
+
y2?: number | string
|
|
451
|
+
y?: number | string
|
|
452
|
+
yChannelSelector?: string
|
|
453
|
+
z?: number | string
|
|
454
|
+
zoomAndPan?: string
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export interface PathAttributes {
|
|
458
|
+
d: string
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export type EventHandler<E extends Event> = (event: E) => void
|
|
462
|
+
|
|
463
|
+
export type ClipboardEventHandler = EventHandler<ClipboardEvent>
|
|
464
|
+
export type CompositionEventHandler = EventHandler<CompositionEvent>
|
|
465
|
+
export type DragEventHandler = EventHandler<DragEvent>
|
|
466
|
+
export type FocusEventHandler = EventHandler<FocusEvent>
|
|
467
|
+
export type KeyboardEventHandler = EventHandler<KeyboardEvent>
|
|
468
|
+
export type MouseEventHandler = EventHandler<MouseEvent>
|
|
469
|
+
export type TouchEventHandler = EventHandler<TouchEvent>
|
|
470
|
+
export type UIEventHandler = EventHandler<UIEvent>
|
|
471
|
+
export type WheelEventHandler = EventHandler<WheelEvent>
|
|
472
|
+
export type AnimationEventHandler = EventHandler<AnimationEvent>
|
|
473
|
+
export type TransitionEventHandler = EventHandler<TransitionEvent>
|
|
474
|
+
export type GenericEventHandler = EventHandler<Event>
|
|
475
|
+
export type PointerEventHandler = EventHandler<PointerEvent>
|
|
476
|
+
|
|
477
|
+
export interface DOMAttributeEventHandlersLowerCase {
|
|
478
|
+
// SpringType custom events
|
|
479
|
+
onmount?: Function
|
|
480
|
+
|
|
481
|
+
// Image Events
|
|
482
|
+
onload?: GenericEventHandler
|
|
483
|
+
onloadcapture?: GenericEventHandler
|
|
484
|
+
onerror?: GenericEventHandler
|
|
485
|
+
onerrorcapture?: GenericEventHandler
|
|
486
|
+
|
|
487
|
+
// Clipboard Events
|
|
488
|
+
oncopy?: ClipboardEventHandler
|
|
489
|
+
oncopycapture?: ClipboardEventHandler
|
|
490
|
+
oncut?: ClipboardEventHandler
|
|
491
|
+
oncutcapture?: ClipboardEventHandler
|
|
492
|
+
onpaste?: ClipboardEventHandler
|
|
493
|
+
onpastecapture?: ClipboardEventHandler
|
|
494
|
+
|
|
495
|
+
// Composition Events
|
|
496
|
+
oncompositionend?: CompositionEventHandler
|
|
497
|
+
oncompositionendcapture?: CompositionEventHandler
|
|
498
|
+
oncompositionstart?: CompositionEventHandler
|
|
499
|
+
oncompositionstartcapture?: CompositionEventHandler
|
|
500
|
+
oncompositionupdate?: CompositionEventHandler
|
|
501
|
+
oncompositionupdatecapture?: CompositionEventHandler
|
|
502
|
+
|
|
503
|
+
// Focus Events
|
|
504
|
+
onfocus?: FocusEventHandler
|
|
505
|
+
onfocuscapture?: FocusEventHandler
|
|
506
|
+
onblur?: FocusEventHandler
|
|
507
|
+
onblurcapture?: FocusEventHandler
|
|
508
|
+
|
|
509
|
+
// Form Events
|
|
510
|
+
onchange?: GenericEventHandler
|
|
511
|
+
onchangecapture?: GenericEventHandler
|
|
512
|
+
oninput?: GenericEventHandler
|
|
513
|
+
oninputcapture?: GenericEventHandler
|
|
514
|
+
onsearch?: GenericEventHandler
|
|
515
|
+
onsearchcapture?: GenericEventHandler
|
|
516
|
+
onsubmit?: GenericEventHandler
|
|
517
|
+
onsubmitcapture?: GenericEventHandler
|
|
518
|
+
oninvalid?: GenericEventHandler
|
|
519
|
+
oninvalidcapture?: GenericEventHandler
|
|
520
|
+
|
|
521
|
+
// Keyboard Events
|
|
522
|
+
onkeydown?: KeyboardEventHandler
|
|
523
|
+
onkeydowncapture?: KeyboardEventHandler
|
|
524
|
+
onkeypress?: KeyboardEventHandler
|
|
525
|
+
onkeypresscapture?: KeyboardEventHandler
|
|
526
|
+
onkeyup?: KeyboardEventHandler
|
|
527
|
+
onkeyupcapture?: KeyboardEventHandler
|
|
528
|
+
|
|
529
|
+
// Media Events
|
|
530
|
+
onabort?: GenericEventHandler
|
|
531
|
+
onabortcapture?: GenericEventHandler
|
|
532
|
+
oncanplay?: GenericEventHandler
|
|
533
|
+
oncanplaycapture?: GenericEventHandler
|
|
534
|
+
oncanplaythrough?: GenericEventHandler
|
|
535
|
+
oncanplaythroughcapture?: GenericEventHandler
|
|
536
|
+
ondurationchange?: GenericEventHandler
|
|
537
|
+
ondurationchangecapture?: GenericEventHandler
|
|
538
|
+
onemptied?: GenericEventHandler
|
|
539
|
+
onemptiedcapture?: GenericEventHandler
|
|
540
|
+
onencrypted?: GenericEventHandler
|
|
541
|
+
onencryptedcapture?: GenericEventHandler
|
|
542
|
+
onended?: GenericEventHandler
|
|
543
|
+
onendedcapture?: GenericEventHandler
|
|
544
|
+
onloadeddata?: GenericEventHandler
|
|
545
|
+
onloadeddatacapture?: GenericEventHandler
|
|
546
|
+
onloadedmetadata?: GenericEventHandler
|
|
547
|
+
onloadedmetadatacapture?: GenericEventHandler
|
|
548
|
+
onloadstart?: GenericEventHandler
|
|
549
|
+
onloadstartcapture?: GenericEventHandler
|
|
550
|
+
onpause?: GenericEventHandler
|
|
551
|
+
onpausecapture?: GenericEventHandler
|
|
552
|
+
onplay?: GenericEventHandler
|
|
553
|
+
onplaycapture?: GenericEventHandler
|
|
554
|
+
onplaying?: GenericEventHandler
|
|
555
|
+
onplayingcapture?: GenericEventHandler
|
|
556
|
+
onprogress?: GenericEventHandler
|
|
557
|
+
onprogresscapture?: GenericEventHandler
|
|
558
|
+
onratechange?: GenericEventHandler
|
|
559
|
+
onratechangecapture?: GenericEventHandler
|
|
560
|
+
onseeked?: GenericEventHandler
|
|
561
|
+
onseekedcapture?: GenericEventHandler
|
|
562
|
+
onseeking?: GenericEventHandler
|
|
563
|
+
onseekingcapture?: GenericEventHandler
|
|
564
|
+
onstalled?: GenericEventHandler
|
|
565
|
+
onstalledcapture?: GenericEventHandler
|
|
566
|
+
onsuspend?: GenericEventHandler
|
|
567
|
+
onsuspendcapture?: GenericEventHandler
|
|
568
|
+
ontimeupdate?: GenericEventHandler
|
|
569
|
+
ontimeupdatecapture?: GenericEventHandler
|
|
570
|
+
onvolumechange?: GenericEventHandler
|
|
571
|
+
onvolumechangecapture?: GenericEventHandler
|
|
572
|
+
onwaiting?: GenericEventHandler
|
|
573
|
+
onwaitingcapture?: GenericEventHandler
|
|
574
|
+
|
|
575
|
+
// MouseEvents
|
|
576
|
+
onclick?: MouseEventHandler
|
|
577
|
+
onclickcapture?: MouseEventHandler
|
|
578
|
+
oncontextmenu?: MouseEventHandler
|
|
579
|
+
oncontextmenucapture?: MouseEventHandler
|
|
580
|
+
ondblclick?: MouseEventHandler
|
|
581
|
+
ondblclickcapture?: MouseEventHandler
|
|
582
|
+
ondrag?: DragEventHandler
|
|
583
|
+
ondragcapture?: DragEventHandler
|
|
584
|
+
ondragend?: DragEventHandler
|
|
585
|
+
ondragendcapture?: DragEventHandler
|
|
586
|
+
ondragenter?: DragEventHandler
|
|
587
|
+
ondragentercapture?: DragEventHandler
|
|
588
|
+
ondragexit?: DragEventHandler
|
|
589
|
+
ondragexitcapture?: DragEventHandler
|
|
590
|
+
ondragleave?: DragEventHandler
|
|
591
|
+
ondragleavecapture?: DragEventHandler
|
|
592
|
+
ondragover?: DragEventHandler
|
|
593
|
+
ondragovercapture?: DragEventHandler
|
|
594
|
+
ondragstart?: DragEventHandler
|
|
595
|
+
ondragstartcapture?: DragEventHandler
|
|
596
|
+
ondrop?: DragEventHandler
|
|
597
|
+
ondropcapture?: DragEventHandler
|
|
598
|
+
onmousedown?: MouseEventHandler
|
|
599
|
+
onmousedowncapture?: MouseEventHandler
|
|
600
|
+
onmouseenter?: MouseEventHandler
|
|
601
|
+
onmouseentercapture?: MouseEventHandler
|
|
602
|
+
onmouseleave?: MouseEventHandler
|
|
603
|
+
onmouseleavecapture?: MouseEventHandler
|
|
604
|
+
onmousemove?: MouseEventHandler
|
|
605
|
+
onmousemovecapture?: MouseEventHandler
|
|
606
|
+
onmouseout?: MouseEventHandler
|
|
607
|
+
onmouseoutcapture?: MouseEventHandler
|
|
608
|
+
onmouseover?: MouseEventHandler
|
|
609
|
+
onmouseovercapture?: MouseEventHandler
|
|
610
|
+
onmouseup?: MouseEventHandler
|
|
611
|
+
onmouseupcapture?: MouseEventHandler
|
|
612
|
+
|
|
613
|
+
// Selection Events
|
|
614
|
+
onselect?: GenericEventHandler
|
|
615
|
+
onselectcapture?: GenericEventHandler
|
|
616
|
+
|
|
617
|
+
// Touch Events
|
|
618
|
+
ontouchcancel?: TouchEventHandler
|
|
619
|
+
ontouchcancelcapture?: TouchEventHandler
|
|
620
|
+
ontouchend?: TouchEventHandler
|
|
621
|
+
ontouchendcapture?: TouchEventHandler
|
|
622
|
+
ontouchmove?: TouchEventHandler
|
|
623
|
+
ontouchmovecapture?: TouchEventHandler
|
|
624
|
+
ontouchstart?: TouchEventHandler
|
|
625
|
+
ontouchstartcapture?: TouchEventHandler
|
|
626
|
+
|
|
627
|
+
// Pointer Events
|
|
628
|
+
onpointerover?: PointerEventHandler
|
|
629
|
+
onpointerovercapture?: PointerEventHandler
|
|
630
|
+
onpointerenter?: PointerEventHandler
|
|
631
|
+
onpointerentercapture?: PointerEventHandler
|
|
632
|
+
onpointerdown?: PointerEventHandler
|
|
633
|
+
onpointerdowncapture?: PointerEventHandler
|
|
634
|
+
onpointermove?: PointerEventHandler
|
|
635
|
+
onpointermovecapture?: PointerEventHandler
|
|
636
|
+
onpointerup?: PointerEventHandler
|
|
637
|
+
onpointerupcapture?: PointerEventHandler
|
|
638
|
+
onpointercancel?: PointerEventHandler
|
|
639
|
+
onpointercancelcapture?: PointerEventHandler
|
|
640
|
+
onpointerout?: PointerEventHandler
|
|
641
|
+
onpointeroutcapture?: PointerEventHandler
|
|
642
|
+
onpointerleave?: PointerEventHandler
|
|
643
|
+
onpointerleavecapture?: PointerEventHandler
|
|
644
|
+
ongotpointercapture?: PointerEventHandler
|
|
645
|
+
ongotpointercapturecapture?: PointerEventHandler
|
|
646
|
+
onlostpointercapture?: PointerEventHandler
|
|
647
|
+
onlostpointercapturecapture?: PointerEventHandler
|
|
648
|
+
|
|
649
|
+
// UI Events
|
|
650
|
+
onscroll?: UIEventHandler
|
|
651
|
+
onscrollcapture?: UIEventHandler
|
|
652
|
+
|
|
653
|
+
// Wheel Events
|
|
654
|
+
onwheel?: WheelEventHandler
|
|
655
|
+
onwheelcapture?: WheelEventHandler
|
|
656
|
+
|
|
657
|
+
// Animation Events
|
|
658
|
+
onanimationstart?: AnimationEventHandler
|
|
659
|
+
onanimationstartcapture?: AnimationEventHandler
|
|
660
|
+
onanimationend?: AnimationEventHandler
|
|
661
|
+
onanimationendcapture?: AnimationEventHandler
|
|
662
|
+
onanimationiteration?: AnimationEventHandler
|
|
663
|
+
onanimationiterationcapture?: AnimationEventHandler
|
|
664
|
+
|
|
665
|
+
// Transition Events
|
|
666
|
+
ontransitionend?: TransitionEventHandler
|
|
667
|
+
ontransitionendcapture?: TransitionEventHandler
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export interface DOMAttributes extends VAttributes, DOMAttributeEventHandlersLowerCase {
|
|
671
|
+
// SpringType custom attributes
|
|
672
|
+
ref?: Ref | VRef | undefined
|
|
673
|
+
|
|
674
|
+
// SpringType custom events
|
|
675
|
+
onMount?: Function
|
|
676
|
+
|
|
677
|
+
// Image Events
|
|
678
|
+
onLoad?: GenericEventHandler
|
|
679
|
+
onLoadCapture?: GenericEventHandler
|
|
680
|
+
onError?: GenericEventHandler
|
|
681
|
+
onErrorCapture?: GenericEventHandler
|
|
682
|
+
|
|
683
|
+
// Clipboard Events
|
|
684
|
+
onCopy?: ClipboardEventHandler
|
|
685
|
+
onCopyCapture?: ClipboardEventHandler
|
|
686
|
+
onCut?: ClipboardEventHandler
|
|
687
|
+
onCutCapture?: ClipboardEventHandler
|
|
688
|
+
onPaste?: ClipboardEventHandler
|
|
689
|
+
onPasteCapture?: ClipboardEventHandler
|
|
690
|
+
|
|
691
|
+
// Composition Events
|
|
692
|
+
onCompositionEnd?: CompositionEventHandler
|
|
693
|
+
onCompositionEndCapture?: CompositionEventHandler
|
|
694
|
+
onCompositionStart?: CompositionEventHandler
|
|
695
|
+
onCompositionStartCapture?: CompositionEventHandler
|
|
696
|
+
onCompositionUpdate?: CompositionEventHandler
|
|
697
|
+
onCompositionUpdateCapture?: CompositionEventHandler
|
|
698
|
+
|
|
699
|
+
// Focus Events
|
|
700
|
+
onFocus?: FocusEventHandler
|
|
701
|
+
onFocusCapture?: FocusEventHandler
|
|
702
|
+
onBlur?: FocusEventHandler
|
|
703
|
+
onBlurCapture?: FocusEventHandler
|
|
704
|
+
|
|
705
|
+
// Form Events
|
|
706
|
+
onChange?: GenericEventHandler
|
|
707
|
+
onChangeCapture?: GenericEventHandler
|
|
708
|
+
onInput?: GenericEventHandler
|
|
709
|
+
onInputCapture?: GenericEventHandler
|
|
710
|
+
onSearch?: GenericEventHandler
|
|
711
|
+
onSearchCapture?: GenericEventHandler
|
|
712
|
+
onSubmit?: GenericEventHandler
|
|
713
|
+
onSubmitCapture?: GenericEventHandler
|
|
714
|
+
onInvalid?: GenericEventHandler
|
|
715
|
+
onInvalidCapture?: GenericEventHandler
|
|
716
|
+
|
|
717
|
+
// Keyboard Events
|
|
718
|
+
onKeyDown?: KeyboardEventHandler
|
|
719
|
+
onKeyDownCapture?: KeyboardEventHandler
|
|
720
|
+
onKeyPress?: KeyboardEventHandler
|
|
721
|
+
onKeyPressCapture?: KeyboardEventHandler
|
|
722
|
+
onKeyUp?: KeyboardEventHandler
|
|
723
|
+
onKeyUpCapture?: KeyboardEventHandler
|
|
724
|
+
|
|
725
|
+
// Media Events
|
|
726
|
+
onAbort?: GenericEventHandler
|
|
727
|
+
onAbortCapture?: GenericEventHandler
|
|
728
|
+
onCanPlay?: GenericEventHandler
|
|
729
|
+
onCanPlayCapture?: GenericEventHandler
|
|
730
|
+
onCanPlayThrough?: GenericEventHandler
|
|
731
|
+
onCanPlayThroughCapture?: GenericEventHandler
|
|
732
|
+
onDurationChange?: GenericEventHandler
|
|
733
|
+
onDurationChangeCapture?: GenericEventHandler
|
|
734
|
+
onEmptied?: GenericEventHandler
|
|
735
|
+
onEmptiedCapture?: GenericEventHandler
|
|
736
|
+
onEncrypted?: GenericEventHandler
|
|
737
|
+
onEncryptedCapture?: GenericEventHandler
|
|
738
|
+
onEnded?: GenericEventHandler
|
|
739
|
+
onEndedCapture?: GenericEventHandler
|
|
740
|
+
onLoadedData?: GenericEventHandler
|
|
741
|
+
onLoadedDataCapture?: GenericEventHandler
|
|
742
|
+
onLoadedMetadata?: GenericEventHandler
|
|
743
|
+
onLoadedMetadataCapture?: GenericEventHandler
|
|
744
|
+
onLoadStart?: GenericEventHandler
|
|
745
|
+
onLoadStartCapture?: GenericEventHandler
|
|
746
|
+
onPause?: GenericEventHandler
|
|
747
|
+
onPauseCapture?: GenericEventHandler
|
|
748
|
+
onPlay?: GenericEventHandler
|
|
749
|
+
onPlayCapture?: GenericEventHandler
|
|
750
|
+
onPlaying?: GenericEventHandler
|
|
751
|
+
onPlayingCapture?: GenericEventHandler
|
|
752
|
+
onProgress?: GenericEventHandler
|
|
753
|
+
onProgressCapture?: GenericEventHandler
|
|
754
|
+
onRateChange?: GenericEventHandler
|
|
755
|
+
onRateChangeCapture?: GenericEventHandler
|
|
756
|
+
onSeeked?: GenericEventHandler
|
|
757
|
+
onSeekedCapture?: GenericEventHandler
|
|
758
|
+
onSeeking?: GenericEventHandler
|
|
759
|
+
onSeekingCapture?: GenericEventHandler
|
|
760
|
+
onStalled?: GenericEventHandler
|
|
761
|
+
onStalledCapture?: GenericEventHandler
|
|
762
|
+
onSuspend?: GenericEventHandler
|
|
763
|
+
onSuspendCapture?: GenericEventHandler
|
|
764
|
+
onTimeUpdate?: GenericEventHandler
|
|
765
|
+
onTimeUpdateCapture?: GenericEventHandler
|
|
766
|
+
onVolumeChange?: GenericEventHandler
|
|
767
|
+
onVolumeChangeCapture?: GenericEventHandler
|
|
768
|
+
onWaiting?: GenericEventHandler
|
|
769
|
+
onWaitingCapture?: GenericEventHandler
|
|
770
|
+
|
|
771
|
+
// MouseEvents
|
|
772
|
+
onClick?: MouseEventHandler
|
|
773
|
+
onClickCapture?: MouseEventHandler
|
|
774
|
+
onContextMenu?: MouseEventHandler
|
|
775
|
+
onContextMenuCapture?: MouseEventHandler
|
|
776
|
+
onDblClick?: MouseEventHandler
|
|
777
|
+
onDblClickCapture?: MouseEventHandler
|
|
778
|
+
onDrag?: DragEventHandler
|
|
779
|
+
onDragCapture?: DragEventHandler
|
|
780
|
+
onDragEnd?: DragEventHandler
|
|
781
|
+
onDragEndCapture?: DragEventHandler
|
|
782
|
+
onDragEnter?: DragEventHandler
|
|
783
|
+
onDragEnterCapture?: DragEventHandler
|
|
784
|
+
onDragExit?: DragEventHandler
|
|
785
|
+
onDragExitCapture?: DragEventHandler
|
|
786
|
+
onDragLeave?: DragEventHandler
|
|
787
|
+
onDragLeaveCapture?: DragEventHandler
|
|
788
|
+
onDragOver?: DragEventHandler
|
|
789
|
+
onDragOverCapture?: DragEventHandler
|
|
790
|
+
onDragStart?: DragEventHandler
|
|
791
|
+
onDragStartCapture?: DragEventHandler
|
|
792
|
+
onDrop?: DragEventHandler
|
|
793
|
+
onDropCapture?: DragEventHandler
|
|
794
|
+
onMouseDown?: MouseEventHandler
|
|
795
|
+
onMouseDownCapture?: MouseEventHandler
|
|
796
|
+
onMouseEnter?: MouseEventHandler
|
|
797
|
+
onMouseEnterCapture?: MouseEventHandler
|
|
798
|
+
onMouseLeave?: MouseEventHandler
|
|
799
|
+
onMouseLeaveCapture?: MouseEventHandler
|
|
800
|
+
onMouseMove?: MouseEventHandler
|
|
801
|
+
onMouseMoveCapture?: MouseEventHandler
|
|
802
|
+
onMouseOut?: MouseEventHandler
|
|
803
|
+
onMouseOutCapture?: MouseEventHandler
|
|
804
|
+
onMouseOver?: MouseEventHandler
|
|
805
|
+
onMouseOverCapture?: MouseEventHandler
|
|
806
|
+
onMouseUp?: MouseEventHandler
|
|
807
|
+
onMouseUpCapture?: MouseEventHandler
|
|
808
|
+
|
|
809
|
+
// Selection Events
|
|
810
|
+
onSelect?: GenericEventHandler
|
|
811
|
+
onSelectCapture?: GenericEventHandler
|
|
812
|
+
|
|
813
|
+
// Touch Events
|
|
814
|
+
onTouchCancel?: TouchEventHandler
|
|
815
|
+
onTouchCancelCapture?: TouchEventHandler
|
|
816
|
+
onTouchEnd?: TouchEventHandler
|
|
817
|
+
onTouchEndCapture?: TouchEventHandler
|
|
818
|
+
onTouchMove?: TouchEventHandler
|
|
819
|
+
onTouchMoveCapture?: TouchEventHandler
|
|
820
|
+
onTouchStart?: TouchEventHandler
|
|
821
|
+
onTouchStartCapture?: TouchEventHandler
|
|
822
|
+
|
|
823
|
+
// Pointer Events
|
|
824
|
+
onPointerOver?: PointerEventHandler
|
|
825
|
+
onPointerOverCapture?: PointerEventHandler
|
|
826
|
+
onPointerEnter?: PointerEventHandler
|
|
827
|
+
onPointerEnterCapture?: PointerEventHandler
|
|
828
|
+
onPointerDown?: PointerEventHandler
|
|
829
|
+
onPointerDownCapture?: PointerEventHandler
|
|
830
|
+
onPointerMove?: PointerEventHandler
|
|
831
|
+
onPointerMoveCapture?: PointerEventHandler
|
|
832
|
+
onPointerUp?: PointerEventHandler
|
|
833
|
+
onPointerUpCapture?: PointerEventHandler
|
|
834
|
+
onPointerCancel?: PointerEventHandler
|
|
835
|
+
onPointerCancelCapture?: PointerEventHandler
|
|
836
|
+
onPointerOut?: PointerEventHandler
|
|
837
|
+
onPointerOutCapture?: PointerEventHandler
|
|
838
|
+
onPointerLeave?: PointerEventHandler
|
|
839
|
+
onPointerLeaveCapture?: PointerEventHandler
|
|
840
|
+
onGotPointerCapture?: PointerEventHandler
|
|
841
|
+
onGotPointerCaptureCapture?: PointerEventHandler
|
|
842
|
+
onLostPointerCapture?: PointerEventHandler
|
|
843
|
+
onLostPointerCaptureCapture?: PointerEventHandler
|
|
844
|
+
|
|
845
|
+
// UI Events
|
|
846
|
+
onScroll?: UIEventHandler
|
|
847
|
+
onScrollCapture?: UIEventHandler
|
|
848
|
+
|
|
849
|
+
// Wheel Events
|
|
850
|
+
onWheel?: WheelEventHandler
|
|
851
|
+
onWheelCapture?: WheelEventHandler
|
|
852
|
+
|
|
853
|
+
// Animation Events
|
|
854
|
+
onAnimationStart?: AnimationEventHandler
|
|
855
|
+
onAnimationStartCapture?: AnimationEventHandler
|
|
856
|
+
onAnimationEnd?: AnimationEventHandler
|
|
857
|
+
onAnimationEndCapture?: AnimationEventHandler
|
|
858
|
+
onAnimationIteration?: AnimationEventHandler
|
|
859
|
+
onAnimationIterationCapture?: AnimationEventHandler
|
|
860
|
+
|
|
861
|
+
// Transition Events
|
|
862
|
+
onTransitionEnd?: TransitionEventHandler
|
|
863
|
+
onTransitionEndCapture?: TransitionEventHandler
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export interface HTMLAttributesLowerCase {
|
|
867
|
+
|
|
868
|
+
dangerouslysetinnerhTML?: {
|
|
869
|
+
__html: string
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
// Standard HTML Attributes
|
|
873
|
+
accept?: string
|
|
874
|
+
acceptcharset?: string
|
|
875
|
+
accesskey?: string
|
|
876
|
+
action?: string
|
|
877
|
+
allowfullscreen?: boolean
|
|
878
|
+
allowtransparency?: boolean
|
|
879
|
+
alt?: string
|
|
880
|
+
async?: boolean
|
|
881
|
+
autocomplete?: string
|
|
882
|
+
autocorrect?: string
|
|
883
|
+
autofocus?: boolean | string
|
|
884
|
+
autoplay?: boolean
|
|
885
|
+
capture?: boolean
|
|
886
|
+
cellpadding?: number | string
|
|
887
|
+
cellspacing?: number | string
|
|
888
|
+
charset?: string
|
|
889
|
+
challenge?: string
|
|
890
|
+
checked?: boolean | string
|
|
891
|
+
class?: string | Array<string>
|
|
892
|
+
classname?: string | Array<string>
|
|
893
|
+
cols?: number
|
|
894
|
+
children?: any
|
|
895
|
+
colspan?: number
|
|
896
|
+
content?: string
|
|
897
|
+
contenteditable?: boolean
|
|
898
|
+
contextmenu?: string
|
|
899
|
+
controls?: boolean
|
|
900
|
+
controlslist?: string
|
|
901
|
+
coords?: string
|
|
902
|
+
crossorigin?: string
|
|
903
|
+
data?: string
|
|
904
|
+
datetime?: string
|
|
905
|
+
default?: boolean
|
|
906
|
+
defer?: boolean
|
|
907
|
+
dir?: string
|
|
908
|
+
disabled?: boolean
|
|
909
|
+
download?: any
|
|
910
|
+
draggable?: boolean
|
|
911
|
+
enctype?: string
|
|
912
|
+
form?: string
|
|
913
|
+
formaction?: string
|
|
914
|
+
formenctype?: string
|
|
915
|
+
formmethod?: string
|
|
916
|
+
novalidate?: boolean | string
|
|
917
|
+
formnovalidate?: boolean
|
|
918
|
+
formtarget?: string
|
|
919
|
+
frameborder?: number | string
|
|
920
|
+
headers?: string
|
|
921
|
+
height?: number | string
|
|
922
|
+
hidden?: boolean
|
|
923
|
+
high?: number
|
|
924
|
+
href?: string
|
|
925
|
+
hreflang?: string
|
|
926
|
+
for?: string
|
|
927
|
+
htmlfor?: string
|
|
928
|
+
httpequiv?: string
|
|
929
|
+
icon?: string
|
|
930
|
+
id?: string
|
|
931
|
+
inputmode?: string
|
|
932
|
+
integrity?: string
|
|
933
|
+
is?: string
|
|
934
|
+
keyparams?: string
|
|
935
|
+
keytype?: string
|
|
936
|
+
kind?: string
|
|
937
|
+
label?: string
|
|
938
|
+
lang?: string
|
|
939
|
+
list?: string
|
|
940
|
+
loop?: boolean
|
|
941
|
+
low?: number
|
|
942
|
+
manifest?: string
|
|
943
|
+
marginheight?: number
|
|
944
|
+
marginwidth?: number
|
|
945
|
+
max?: number | string
|
|
946
|
+
maxlength?: number
|
|
947
|
+
media?: string
|
|
948
|
+
mediagroup?: string
|
|
949
|
+
method?: string
|
|
950
|
+
min?: number | string
|
|
951
|
+
minlength?: number
|
|
952
|
+
multiple?: boolean
|
|
953
|
+
muted?: boolean
|
|
954
|
+
name?: string
|
|
955
|
+
open?: boolean
|
|
956
|
+
optimum?: number
|
|
957
|
+
pattern?: string
|
|
958
|
+
placeholder?: string
|
|
959
|
+
playsinline?: boolean
|
|
960
|
+
poster?: string
|
|
961
|
+
preload?: string
|
|
962
|
+
radiogroup?: string
|
|
963
|
+
readonly?: boolean
|
|
964
|
+
rel?: string
|
|
965
|
+
required?: boolean | string
|
|
966
|
+
role?: string
|
|
967
|
+
rows?: number
|
|
968
|
+
rowspan?: number
|
|
969
|
+
sandbox?: string
|
|
970
|
+
scope?: string
|
|
971
|
+
scoped?: boolean
|
|
972
|
+
scrolling?: string
|
|
973
|
+
seamless?: boolean
|
|
974
|
+
selected?: boolean
|
|
975
|
+
shape?: string
|
|
976
|
+
size?: number
|
|
977
|
+
sizes?: string
|
|
978
|
+
slot?: string
|
|
979
|
+
span?: number
|
|
980
|
+
spellcheck?: boolean
|
|
981
|
+
src?: string
|
|
982
|
+
srcset?: string
|
|
983
|
+
srcdoc?: string
|
|
984
|
+
srclang?: string
|
|
985
|
+
start?: number
|
|
986
|
+
step?: number | string
|
|
987
|
+
style?: string | Partial<CSSProperties>
|
|
988
|
+
summary?: string
|
|
989
|
+
tabindex?: number | string
|
|
990
|
+
target?: string
|
|
991
|
+
title?: string
|
|
992
|
+
type?: string
|
|
993
|
+
usemap?: string
|
|
994
|
+
value?: string | string[] | number
|
|
995
|
+
width?: number | string
|
|
996
|
+
wmode?: string
|
|
997
|
+
wrap?: string
|
|
998
|
+
|
|
999
|
+
// RDFa Attributes
|
|
1000
|
+
about?: string
|
|
1001
|
+
datatype?: string
|
|
1002
|
+
inlist?: any
|
|
1003
|
+
prefix?: string
|
|
1004
|
+
property?: string
|
|
1005
|
+
resource?: string
|
|
1006
|
+
typeof?: string
|
|
1007
|
+
vocab?: string
|
|
1008
|
+
|
|
1009
|
+
// Microdata Attributes
|
|
1010
|
+
itemprop?: string
|
|
1011
|
+
itemscope?: boolean
|
|
1012
|
+
itemtype?: string
|
|
1013
|
+
itemid?: string
|
|
1014
|
+
itemref?: string
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
export interface HTMLAttributes extends HTMLAttributesLowerCase, DOMAttributes {
|
|
1018
|
+
ref?: Ref | VRef | undefined
|
|
1019
|
+
|
|
1020
|
+
dangerouslySetInnerHTML?: {
|
|
1021
|
+
__html: string
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
// Standard HTML Attributes
|
|
1025
|
+
accept?: string
|
|
1026
|
+
acceptCharset?: string
|
|
1027
|
+
accessKey?: string
|
|
1028
|
+
action?: string
|
|
1029
|
+
allowFullScreen?: boolean
|
|
1030
|
+
allowTransparency?: boolean
|
|
1031
|
+
alt?: string
|
|
1032
|
+
async?: boolean
|
|
1033
|
+
autoComplete?: string
|
|
1034
|
+
autoCorrect?: string
|
|
1035
|
+
autofocus?: boolean | string
|
|
1036
|
+
autoFocus?: boolean
|
|
1037
|
+
autoPlay?: boolean
|
|
1038
|
+
capture?: boolean
|
|
1039
|
+
cellPadding?: number | string
|
|
1040
|
+
cellSpacing?: number | string
|
|
1041
|
+
charSet?: string
|
|
1042
|
+
challenge?: string
|
|
1043
|
+
checked?: boolean | string
|
|
1044
|
+
class?: string | Array<string>
|
|
1045
|
+
className?: string | Array<string>
|
|
1046
|
+
cols?: number
|
|
1047
|
+
children?: any
|
|
1048
|
+
colSpan?: number
|
|
1049
|
+
content?: string
|
|
1050
|
+
contentEditable?: boolean
|
|
1051
|
+
contextMenu?: string
|
|
1052
|
+
controls?: boolean
|
|
1053
|
+
controlsList?: string
|
|
1054
|
+
coords?: string
|
|
1055
|
+
crossOrigin?: string
|
|
1056
|
+
data?: string
|
|
1057
|
+
dateTime?: string
|
|
1058
|
+
default?: boolean
|
|
1059
|
+
defer?: boolean
|
|
1060
|
+
dir?: string
|
|
1061
|
+
disabled?: boolean
|
|
1062
|
+
download?: any
|
|
1063
|
+
draggable?: boolean
|
|
1064
|
+
encType?: string
|
|
1065
|
+
form?: string
|
|
1066
|
+
formAction?: string
|
|
1067
|
+
formEncType?: string
|
|
1068
|
+
formMethod?: string
|
|
1069
|
+
formNoValidate?: boolean
|
|
1070
|
+
formTarget?: string
|
|
1071
|
+
frameBorder?: number | string
|
|
1072
|
+
headers?: string
|
|
1073
|
+
height?: number | string
|
|
1074
|
+
hidden?: boolean
|
|
1075
|
+
high?: number
|
|
1076
|
+
href?: string
|
|
1077
|
+
hrefLang?: string
|
|
1078
|
+
for?: string
|
|
1079
|
+
htmlFor?: string
|
|
1080
|
+
httpEquiv?: string
|
|
1081
|
+
icon?: string
|
|
1082
|
+
id?: string
|
|
1083
|
+
inputMode?: string
|
|
1084
|
+
integrity?: string
|
|
1085
|
+
is?: string
|
|
1086
|
+
keyParams?: string
|
|
1087
|
+
keyType?: string
|
|
1088
|
+
kind?: string
|
|
1089
|
+
label?: string
|
|
1090
|
+
lang?: string
|
|
1091
|
+
list?: string
|
|
1092
|
+
loop?: boolean
|
|
1093
|
+
low?: number
|
|
1094
|
+
manifest?: string
|
|
1095
|
+
marginHeight?: number
|
|
1096
|
+
marginWidth?: number
|
|
1097
|
+
max?: number | string
|
|
1098
|
+
maxLength?: number
|
|
1099
|
+
media?: string
|
|
1100
|
+
mediaGroup?: string
|
|
1101
|
+
method?: string
|
|
1102
|
+
min?: number | string
|
|
1103
|
+
minLength?: number
|
|
1104
|
+
multiple?: boolean
|
|
1105
|
+
muted?: boolean
|
|
1106
|
+
name?: string
|
|
1107
|
+
open?: boolean
|
|
1108
|
+
optimum?: number
|
|
1109
|
+
pattern?: string
|
|
1110
|
+
placeholder?: string
|
|
1111
|
+
playsInline?: boolean
|
|
1112
|
+
poster?: string
|
|
1113
|
+
preload?: string
|
|
1114
|
+
radioGroup?: string
|
|
1115
|
+
readOnly?: boolean
|
|
1116
|
+
rel?: string
|
|
1117
|
+
required?: boolean | string
|
|
1118
|
+
role?: string
|
|
1119
|
+
rows?: number
|
|
1120
|
+
rowSpan?: number
|
|
1121
|
+
sandbox?: string
|
|
1122
|
+
scope?: string
|
|
1123
|
+
scoped?: boolean
|
|
1124
|
+
scrolling?: string
|
|
1125
|
+
seamless?: boolean
|
|
1126
|
+
selected?: boolean
|
|
1127
|
+
shape?: string
|
|
1128
|
+
size?: number
|
|
1129
|
+
sizes?: string
|
|
1130
|
+
slot?: string
|
|
1131
|
+
span?: number
|
|
1132
|
+
spellcheck?: boolean
|
|
1133
|
+
src?: string
|
|
1134
|
+
srcDoc?: string
|
|
1135
|
+
srcLang?: string
|
|
1136
|
+
srcSet?: string
|
|
1137
|
+
start?: number
|
|
1138
|
+
step?: number | string
|
|
1139
|
+
style?: string | Partial<CSSProperties>
|
|
1140
|
+
summary?: string
|
|
1141
|
+
tabIndex?: number | string
|
|
1142
|
+
target?: string
|
|
1143
|
+
title?: string
|
|
1144
|
+
type?: string
|
|
1145
|
+
useMap?: string
|
|
1146
|
+
value?: string | string[] | number
|
|
1147
|
+
width?: number | string
|
|
1148
|
+
wmode?: string
|
|
1149
|
+
wrap?: string
|
|
1150
|
+
|
|
1151
|
+
// RDFa Attributes
|
|
1152
|
+
about?: string
|
|
1153
|
+
datatype?: string
|
|
1154
|
+
inlist?: any
|
|
1155
|
+
prefix?: string
|
|
1156
|
+
property?: string
|
|
1157
|
+
resource?: string
|
|
1158
|
+
typeof?: string
|
|
1159
|
+
vocab?: string
|
|
1160
|
+
|
|
1161
|
+
// Microdata Attributes
|
|
1162
|
+
itemProp?: string
|
|
1163
|
+
itemScope?: boolean
|
|
1164
|
+
itemType?: string
|
|
1165
|
+
itemID?: string
|
|
1166
|
+
itemRef?: string
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
export interface IVirtualIntrinsicElements {
|
|
1170
|
+
// some-custom-element-name: HTMLAttributes;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
export interface IntrinsicElements extends IVirtualIntrinsicElements {
|
|
1174
|
+
// HTML
|
|
1175
|
+
a: HTMLAttributes
|
|
1176
|
+
abbr: HTMLAttributes
|
|
1177
|
+
address: HTMLAttributes
|
|
1178
|
+
area: HTMLAttributes
|
|
1179
|
+
article: HTMLAttributes
|
|
1180
|
+
aside: HTMLAttributes
|
|
1181
|
+
audio: HTMLAttributes
|
|
1182
|
+
b: HTMLAttributes
|
|
1183
|
+
base: HTMLAttributes
|
|
1184
|
+
bdi: HTMLAttributes
|
|
1185
|
+
bdo: HTMLAttributes
|
|
1186
|
+
big: HTMLAttributes
|
|
1187
|
+
blockquote: HTMLAttributes
|
|
1188
|
+
body: HTMLAttributes
|
|
1189
|
+
br: HTMLAttributes
|
|
1190
|
+
button: HTMLAttributes
|
|
1191
|
+
canvas: HTMLAttributes
|
|
1192
|
+
caption: HTMLAttributes
|
|
1193
|
+
cite: HTMLAttributes
|
|
1194
|
+
code: HTMLAttributes
|
|
1195
|
+
col: HTMLAttributes
|
|
1196
|
+
colgroup: HTMLAttributes
|
|
1197
|
+
data: HTMLAttributes
|
|
1198
|
+
datalist: HTMLAttributes
|
|
1199
|
+
dd: HTMLAttributes
|
|
1200
|
+
del: HTMLAttributes
|
|
1201
|
+
details: HTMLAttributes
|
|
1202
|
+
dfn: HTMLAttributes
|
|
1203
|
+
dialog: HTMLAttributes
|
|
1204
|
+
div: HTMLAttributes
|
|
1205
|
+
dl: HTMLAttributes
|
|
1206
|
+
dt: HTMLAttributes
|
|
1207
|
+
em: HTMLAttributes
|
|
1208
|
+
embed: HTMLAttributes
|
|
1209
|
+
fieldset: HTMLAttributes
|
|
1210
|
+
figcaption: HTMLAttributes
|
|
1211
|
+
figure: HTMLAttributes
|
|
1212
|
+
footer: HTMLAttributes
|
|
1213
|
+
form: HTMLAttributes
|
|
1214
|
+
h1: HTMLAttributes
|
|
1215
|
+
h2: HTMLAttributes
|
|
1216
|
+
h3: HTMLAttributes
|
|
1217
|
+
h4: HTMLAttributes
|
|
1218
|
+
h5: HTMLAttributes
|
|
1219
|
+
h6: HTMLAttributes
|
|
1220
|
+
head: HTMLAttributes
|
|
1221
|
+
header: HTMLAttributes
|
|
1222
|
+
hgroup: HTMLAttributes
|
|
1223
|
+
hr: HTMLAttributes
|
|
1224
|
+
html: HTMLAttributes
|
|
1225
|
+
i: HTMLAttributes
|
|
1226
|
+
iframe: HTMLAttributes
|
|
1227
|
+
img: HTMLAttributes
|
|
1228
|
+
input: HTMLAttributes
|
|
1229
|
+
ins: HTMLAttributes
|
|
1230
|
+
kbd: HTMLAttributes
|
|
1231
|
+
keygen: HTMLAttributes
|
|
1232
|
+
label: HTMLAttributes
|
|
1233
|
+
legend: HTMLAttributes
|
|
1234
|
+
li: HTMLAttributes
|
|
1235
|
+
link: HTMLAttributes
|
|
1236
|
+
main: HTMLAttributes
|
|
1237
|
+
map: HTMLAttributes
|
|
1238
|
+
mark: HTMLAttributes
|
|
1239
|
+
menu: HTMLAttributes
|
|
1240
|
+
menuitem: HTMLAttributes
|
|
1241
|
+
meta: HTMLAttributes
|
|
1242
|
+
meter: HTMLAttributes
|
|
1243
|
+
nav: HTMLAttributes
|
|
1244
|
+
noscript: HTMLAttributes
|
|
1245
|
+
object: HTMLAttributes
|
|
1246
|
+
ol: HTMLAttributes
|
|
1247
|
+
optgroup: HTMLAttributes
|
|
1248
|
+
option: HTMLAttributes
|
|
1249
|
+
output: HTMLAttributes
|
|
1250
|
+
p: HTMLAttributes
|
|
1251
|
+
param: HTMLAttributes
|
|
1252
|
+
picture: HTMLAttributes
|
|
1253
|
+
pre: HTMLAttributes
|
|
1254
|
+
progress: HTMLAttributes
|
|
1255
|
+
q: HTMLAttributes
|
|
1256
|
+
rp: HTMLAttributes
|
|
1257
|
+
rt: HTMLAttributes
|
|
1258
|
+
ruby: HTMLAttributes
|
|
1259
|
+
s: HTMLAttributes
|
|
1260
|
+
samp: HTMLAttributes
|
|
1261
|
+
script: HTMLAttributes
|
|
1262
|
+
section: HTMLAttributes
|
|
1263
|
+
select: HTMLAttributes
|
|
1264
|
+
slot: HTMLAttributes
|
|
1265
|
+
small: HTMLAttributes
|
|
1266
|
+
source: HTMLAttributes
|
|
1267
|
+
span: HTMLAttributes
|
|
1268
|
+
strong: HTMLAttributes
|
|
1269
|
+
style: HTMLAttributes
|
|
1270
|
+
sub: HTMLAttributes
|
|
1271
|
+
summary: HTMLAttributes
|
|
1272
|
+
sup: HTMLAttributes
|
|
1273
|
+
table: HTMLAttributes
|
|
1274
|
+
tbody: HTMLAttributes
|
|
1275
|
+
td: HTMLAttributes
|
|
1276
|
+
textarea: HTMLAttributes
|
|
1277
|
+
tfoot: HTMLAttributes
|
|
1278
|
+
th: HTMLAttributes
|
|
1279
|
+
thead: HTMLAttributes
|
|
1280
|
+
time: HTMLAttributes
|
|
1281
|
+
title: HTMLAttributes
|
|
1282
|
+
tr: HTMLAttributes
|
|
1283
|
+
track: HTMLAttributes
|
|
1284
|
+
u: HTMLAttributes
|
|
1285
|
+
ul: HTMLAttributes
|
|
1286
|
+
var: HTMLAttributes
|
|
1287
|
+
video: HTMLAttributes &
|
|
1288
|
+
Partial<{
|
|
1289
|
+
autoplay: boolean
|
|
1290
|
+
}>
|
|
1291
|
+
wbr: HTMLAttributes
|
|
1292
|
+
|
|
1293
|
+
// SVG
|
|
1294
|
+
svg: SVGAttributes
|
|
1295
|
+
animate: SVGAttributes
|
|
1296
|
+
circle: SVGAttributes
|
|
1297
|
+
clipPath: SVGAttributes
|
|
1298
|
+
defs: SVGAttributes
|
|
1299
|
+
desc: SVGAttributes
|
|
1300
|
+
ellipse: SVGAttributes
|
|
1301
|
+
feBlend: SVGAttributes
|
|
1302
|
+
feColorMatrix: SVGAttributes
|
|
1303
|
+
feComponentTransfer: SVGAttributes
|
|
1304
|
+
feComposite: SVGAttributes
|
|
1305
|
+
feConvolveMatrix: SVGAttributes
|
|
1306
|
+
feDiffuseLighting: SVGAttributes
|
|
1307
|
+
feDisplacementMap: SVGAttributes
|
|
1308
|
+
feFlood: SVGAttributes
|
|
1309
|
+
feGaussianBlur: SVGAttributes
|
|
1310
|
+
feImage: SVGAttributes
|
|
1311
|
+
feMerge: SVGAttributes
|
|
1312
|
+
feMergeNode: SVGAttributes
|
|
1313
|
+
feMorphology: SVGAttributes
|
|
1314
|
+
feOffset: SVGAttributes
|
|
1315
|
+
feSpecularLighting: SVGAttributes
|
|
1316
|
+
feTile: SVGAttributes
|
|
1317
|
+
feTurbulence: SVGAttributes
|
|
1318
|
+
filter: SVGAttributes
|
|
1319
|
+
foreignObject: SVGAttributes
|
|
1320
|
+
g: SVGAttributes
|
|
1321
|
+
image: SVGAttributes
|
|
1322
|
+
line: SVGAttributes
|
|
1323
|
+
linearGradient: SVGAttributes
|
|
1324
|
+
marker: SVGAttributes
|
|
1325
|
+
mask: SVGAttributes
|
|
1326
|
+
path: SVGAttributes
|
|
1327
|
+
pattern: SVGAttributes
|
|
1328
|
+
polygon: SVGAttributes
|
|
1329
|
+
polyline: SVGAttributes
|
|
1330
|
+
radialGradient: SVGAttributes
|
|
1331
|
+
rect: SVGAttributes
|
|
1332
|
+
stop: SVGAttributes
|
|
1333
|
+
symbol: SVGAttributes
|
|
1334
|
+
text: SVGAttributes
|
|
1335
|
+
tspan: SVGAttributes
|
|
1336
|
+
use: SVGAttributes
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
interface IntrinsicElements {
|
|
1340
|
+
// will be deleted by tsx factory
|
|
1341
|
+
fragment: {}
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
interface Props {
|
|
1347
|
+
children?: VNodeChildren
|
|
1348
|
+
|
|
1349
|
+
// allow for forwardRef
|
|
1350
|
+
ref?: Ref
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
type RenderNodeInput = VNode | string | undefined
|
|
1354
|
+
type RenderInput = RenderNodeInput | Array<RenderNodeInput>
|
|
1355
|
+
type RenderResultNode = Element | Text | undefined
|
|
1356
|
+
|
|
1357
|
+
type RenderResult<T = RenderInput> = T extends Array<RenderNodeInput>
|
|
1358
|
+
? Array<RenderResultNode>
|
|
1359
|
+
: RenderResultNode
|
|
1360
|
+
|
|
1361
|
+
type Globals = Window & typeof globalThis;
|
|
1362
|
+
declare const tsx: (type: VNodeType | Function | any, attributes: (JSX.HTMLAttributes & JSX.SVGAttributes & Record<string, any>) | null, ...children: Array<VNodeChildren> | VNodeChildren) => Array<VNode> | VNode;
|
|
1363
|
+
declare const getRenderer: (document: Document) => DomAbstractionImpl;
|
|
1364
|
+
declare const renderIsomorphic: (virtualNode: VNode | undefined | string | Array<VNode | undefined | string>, parentDomElement: Element | Document, globals: Globals) => Array<Element | Text | undefined> | Element | Text | undefined;
|
|
1365
|
+
declare const Fragment: (props: VNode) => VNodeChildren;
|
|
1366
|
+
|
|
1367
|
+
export { type CSSProperties as C, type DomAbstractionImpl as D, type FontFaceProperties as F, type Globals as G, type KeyFrameProperties as K, type Props as P, type RenderInput as R, type UpdateFn as U, type VRef as V, type RenderResult as a, type Ref as b, type VAttributes as c, type VNodeAttributes as d, type VNode as e, type VNodeType as f, type VNodeKey as g, type VNodeRefObject as h, type VNodeRefCallback as i, type VNodeRef as j, type VNodeChild as k, type VNodeChildren as l, type Children as m, type RenderNodeInput as n, type RenderResultNode as o, getRenderer as p, Fragment as q, renderIsomorphic as r, tsx as t };
|