ultra-light-js 1.0.18
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.md +674 -0
- package/README.md +437 -0
- package/dist/jsx.d.ts +684 -0
- package/dist/jsx.d.ts.map +1 -0
- package/dist/jsx.js +109 -0
- package/dist/types.d.ts +56 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +3 -0
- package/dist/ultra-light.d.ts +71 -0
- package/dist/ultra-light.d.ts.map +1 -0
- package/dist/ultra-light.js +816 -0
- package/package.json +77 -0
package/dist/jsx.d.ts
ADDED
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
import type { UltraLightElement, UltraTrigger, UltraCleanupFunction } from './types';
|
|
2
|
+
type JSXChild = UltraLightElement | Node | string | number | boolean | null | undefined;
|
|
3
|
+
export declare function h(tag: string | ((props: Record<string, any>) => UltraLightElement | DocumentFragment), props: Record<string, any> | null, ...children: (JSXChild | JSXChild[])[]): UltraLightElement | DocumentFragment;
|
|
4
|
+
export declare function Fragment({ children, }: {
|
|
5
|
+
children?: (Node | null)[] | Node | null;
|
|
6
|
+
}): DocumentFragment;
|
|
7
|
+
export interface ShowProps {
|
|
8
|
+
when: () => boolean;
|
|
9
|
+
subscriber: ((fn: () => void) => () => void) | ((fn: () => void) => () => void)[];
|
|
10
|
+
type?: 'display' | 'visibility';
|
|
11
|
+
as?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
class?: string;
|
|
14
|
+
style?: Partial<CSSStyleDeclaration>;
|
|
15
|
+
trigger?: UltraTrigger[];
|
|
16
|
+
onMount?: ((node: HTMLElement) => void)[];
|
|
17
|
+
cleanup?: UltraCleanupFunction[];
|
|
18
|
+
children?: (Node | null)[] | Node | null;
|
|
19
|
+
}
|
|
20
|
+
export declare function Show({ when, subscriber, type, as, className, class: cls, style, trigger, onMount, cleanup, children, }: ShowProps): UltraLightElement;
|
|
21
|
+
type ActivityProp = {
|
|
22
|
+
state: () => boolean;
|
|
23
|
+
subscriber: ((fn: () => void) => () => void) | ((fn: () => void) => () => void)[];
|
|
24
|
+
type?: 'display' | 'visibility';
|
|
25
|
+
};
|
|
26
|
+
interface UltraBaseProps {
|
|
27
|
+
trigger?: UltraTrigger[];
|
|
28
|
+
onMount?: ((node: HTMLElement) => void)[];
|
|
29
|
+
cleanup?: UltraCleanupFunction[];
|
|
30
|
+
activity?: ActivityProp;
|
|
31
|
+
children?: JSXChild | JSXChild[];
|
|
32
|
+
}
|
|
33
|
+
interface UltraHTMLProps extends UltraBaseProps {
|
|
34
|
+
class?: string;
|
|
35
|
+
className?: string;
|
|
36
|
+
style?: Partial<CSSStyleDeclaration>;
|
|
37
|
+
id?: string;
|
|
38
|
+
title?: string;
|
|
39
|
+
lang?: string;
|
|
40
|
+
dir?: 'ltr' | 'rtl' | 'auto';
|
|
41
|
+
hidden?: boolean;
|
|
42
|
+
tabIndex?: number;
|
|
43
|
+
draggable?: boolean;
|
|
44
|
+
contentEditable?: boolean | 'true' | 'false' | 'inherit';
|
|
45
|
+
spellCheck?: boolean;
|
|
46
|
+
role?: string;
|
|
47
|
+
slot?: string;
|
|
48
|
+
part?: string;
|
|
49
|
+
is?: string;
|
|
50
|
+
[dataAttr: `data-${string}`]: string | undefined;
|
|
51
|
+
[ariaAttr: `aria-${string}`]: string | boolean | undefined;
|
|
52
|
+
onClick?: (e: MouseEvent) => void;
|
|
53
|
+
onDblClick?: (e: MouseEvent) => void;
|
|
54
|
+
onMouseDown?: (e: MouseEvent) => void;
|
|
55
|
+
onMouseUp?: (e: MouseEvent) => void;
|
|
56
|
+
onMouseEnter?: (e: MouseEvent) => void;
|
|
57
|
+
onMouseLeave?: (e: MouseEvent) => void;
|
|
58
|
+
onMouseMove?: (e: MouseEvent) => void;
|
|
59
|
+
onMouseOver?: (e: MouseEvent) => void;
|
|
60
|
+
onMouseOut?: (e: MouseEvent) => void;
|
|
61
|
+
onContextMenu?: (e: MouseEvent) => void;
|
|
62
|
+
onKeyDown?: (e: KeyboardEvent) => void;
|
|
63
|
+
onKeyUp?: (e: KeyboardEvent) => void;
|
|
64
|
+
onKeyPress?: (e: KeyboardEvent) => void;
|
|
65
|
+
onFocus?: (e: FocusEvent) => void;
|
|
66
|
+
onBlur?: (e: FocusEvent) => void;
|
|
67
|
+
onFocusIn?: (e: FocusEvent) => void;
|
|
68
|
+
onFocusOut?: (e: FocusEvent) => void;
|
|
69
|
+
onChange?: (e: Event) => void;
|
|
70
|
+
onInput?: (e: InputEvent) => void;
|
|
71
|
+
onSubmit?: (e: SubmitEvent) => void;
|
|
72
|
+
onReset?: (e: Event) => void;
|
|
73
|
+
onInvalid?: (e: Event) => void;
|
|
74
|
+
onPointerDown?: (e: PointerEvent) => void;
|
|
75
|
+
onPointerUp?: (e: PointerEvent) => void;
|
|
76
|
+
onPointerMove?: (e: PointerEvent) => void;
|
|
77
|
+
onPointerEnter?: (e: PointerEvent) => void;
|
|
78
|
+
onPointerLeave?: (e: PointerEvent) => void;
|
|
79
|
+
onPointerCancel?: (e: PointerEvent) => void;
|
|
80
|
+
onTouchStart?: (e: TouchEvent) => void;
|
|
81
|
+
onTouchEnd?: (e: TouchEvent) => void;
|
|
82
|
+
onTouchMove?: (e: TouchEvent) => void;
|
|
83
|
+
onTouchCancel?: (e: TouchEvent) => void;
|
|
84
|
+
onDragStart?: (e: DragEvent) => void;
|
|
85
|
+
onDrag?: (e: DragEvent) => void;
|
|
86
|
+
onDragEnd?: (e: DragEvent) => void;
|
|
87
|
+
onDragEnter?: (e: DragEvent) => void;
|
|
88
|
+
onDragLeave?: (e: DragEvent) => void;
|
|
89
|
+
onDragOver?: (e: DragEvent) => void;
|
|
90
|
+
onDrop?: (e: DragEvent) => void;
|
|
91
|
+
onWheel?: (e: WheelEvent) => void;
|
|
92
|
+
onScroll?: (e: Event) => void;
|
|
93
|
+
onLoad?: (e: Event) => void;
|
|
94
|
+
onError?: (e: Event) => void;
|
|
95
|
+
onAbort?: (e: Event) => void;
|
|
96
|
+
onCopy?: (e: ClipboardEvent) => void;
|
|
97
|
+
onCut?: (e: ClipboardEvent) => void;
|
|
98
|
+
onPaste?: (e: ClipboardEvent) => void;
|
|
99
|
+
onAnimationStart?: (e: AnimationEvent) => void;
|
|
100
|
+
onAnimationEnd?: (e: AnimationEvent) => void;
|
|
101
|
+
onAnimationIteration?: (e: AnimationEvent) => void;
|
|
102
|
+
onTransitionEnd?: (e: TransitionEvent) => void;
|
|
103
|
+
}
|
|
104
|
+
interface AnchorProps extends UltraHTMLProps {
|
|
105
|
+
href?: string;
|
|
106
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
107
|
+
rel?: string;
|
|
108
|
+
download?: string | boolean;
|
|
109
|
+
hreflang?: string;
|
|
110
|
+
type?: string;
|
|
111
|
+
referrerPolicy?: ReferrerPolicy;
|
|
112
|
+
}
|
|
113
|
+
interface InputProps extends UltraHTMLProps {
|
|
114
|
+
type?: string;
|
|
115
|
+
value?: string | number;
|
|
116
|
+
defaultValue?: string;
|
|
117
|
+
placeholder?: string;
|
|
118
|
+
name?: string;
|
|
119
|
+
disabled?: boolean;
|
|
120
|
+
checked?: boolean;
|
|
121
|
+
defaultChecked?: boolean;
|
|
122
|
+
required?: boolean;
|
|
123
|
+
readOnly?: boolean;
|
|
124
|
+
autoFocus?: boolean;
|
|
125
|
+
autoComplete?: string;
|
|
126
|
+
multiple?: boolean;
|
|
127
|
+
min?: string | number;
|
|
128
|
+
max?: string | number;
|
|
129
|
+
step?: string | number;
|
|
130
|
+
minLength?: number;
|
|
131
|
+
maxLength?: number;
|
|
132
|
+
pattern?: string;
|
|
133
|
+
size?: number;
|
|
134
|
+
accept?: string;
|
|
135
|
+
capture?: 'user' | 'environment';
|
|
136
|
+
form?: string;
|
|
137
|
+
list?: string;
|
|
138
|
+
}
|
|
139
|
+
interface TextareaProps extends UltraHTMLProps {
|
|
140
|
+
value?: string;
|
|
141
|
+
defaultValue?: string;
|
|
142
|
+
placeholder?: string;
|
|
143
|
+
name?: string;
|
|
144
|
+
rows?: number;
|
|
145
|
+
cols?: number;
|
|
146
|
+
disabled?: boolean;
|
|
147
|
+
required?: boolean;
|
|
148
|
+
readOnly?: boolean;
|
|
149
|
+
autoFocus?: boolean;
|
|
150
|
+
maxLength?: number;
|
|
151
|
+
minLength?: number;
|
|
152
|
+
wrap?: 'hard' | 'soft' | 'off';
|
|
153
|
+
form?: string;
|
|
154
|
+
}
|
|
155
|
+
interface ButtonProps extends UltraHTMLProps {
|
|
156
|
+
type?: 'button' | 'submit' | 'reset';
|
|
157
|
+
disabled?: boolean;
|
|
158
|
+
name?: string;
|
|
159
|
+
value?: string;
|
|
160
|
+
form?: string;
|
|
161
|
+
formAction?: string;
|
|
162
|
+
formMethod?: string;
|
|
163
|
+
formNoValidate?: boolean;
|
|
164
|
+
formTarget?: string;
|
|
165
|
+
autoFocus?: boolean;
|
|
166
|
+
}
|
|
167
|
+
interface SelectProps extends UltraHTMLProps {
|
|
168
|
+
value?: string | string[];
|
|
169
|
+
name?: string;
|
|
170
|
+
disabled?: boolean;
|
|
171
|
+
required?: boolean;
|
|
172
|
+
multiple?: boolean;
|
|
173
|
+
size?: number;
|
|
174
|
+
form?: string;
|
|
175
|
+
autoFocus?: boolean;
|
|
176
|
+
}
|
|
177
|
+
interface OptionProps extends UltraHTMLProps {
|
|
178
|
+
value?: string;
|
|
179
|
+
selected?: boolean;
|
|
180
|
+
disabled?: boolean;
|
|
181
|
+
label?: string;
|
|
182
|
+
}
|
|
183
|
+
interface OptgroupProps extends UltraHTMLProps {
|
|
184
|
+
label?: string;
|
|
185
|
+
disabled?: boolean;
|
|
186
|
+
}
|
|
187
|
+
interface LabelProps extends UltraHTMLProps {
|
|
188
|
+
for?: string;
|
|
189
|
+
htmlFor?: string;
|
|
190
|
+
form?: string;
|
|
191
|
+
}
|
|
192
|
+
interface FormProps extends UltraHTMLProps {
|
|
193
|
+
action?: string;
|
|
194
|
+
method?: 'get' | 'post' | 'dialog';
|
|
195
|
+
encType?: string;
|
|
196
|
+
noValidate?: boolean;
|
|
197
|
+
target?: string;
|
|
198
|
+
autoComplete?: 'on' | 'off';
|
|
199
|
+
name?: string;
|
|
200
|
+
}
|
|
201
|
+
interface ImgProps extends UltraHTMLProps {
|
|
202
|
+
src?: string;
|
|
203
|
+
alt?: string;
|
|
204
|
+
width?: number | string;
|
|
205
|
+
height?: number | string;
|
|
206
|
+
loading?: 'eager' | 'lazy';
|
|
207
|
+
decoding?: 'sync' | 'async' | 'auto';
|
|
208
|
+
crossOrigin?: 'anonymous' | 'use-credentials';
|
|
209
|
+
referrerPolicy?: ReferrerPolicy;
|
|
210
|
+
srcSet?: string;
|
|
211
|
+
sizes?: string;
|
|
212
|
+
useMap?: string;
|
|
213
|
+
isMap?: boolean;
|
|
214
|
+
}
|
|
215
|
+
interface VideoProps extends UltraHTMLProps {
|
|
216
|
+
src?: string;
|
|
217
|
+
autoPlay?: boolean;
|
|
218
|
+
controls?: boolean;
|
|
219
|
+
loop?: boolean;
|
|
220
|
+
muted?: boolean;
|
|
221
|
+
poster?: string;
|
|
222
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
223
|
+
width?: number | string;
|
|
224
|
+
height?: number | string;
|
|
225
|
+
playsInline?: boolean;
|
|
226
|
+
crossOrigin?: 'anonymous' | 'use-credentials';
|
|
227
|
+
onPlay?: (e: Event) => void;
|
|
228
|
+
onPause?: (e: Event) => void;
|
|
229
|
+
onEnded?: (e: Event) => void;
|
|
230
|
+
onTimeUpdate?: (e: Event) => void;
|
|
231
|
+
onVolumeChange?: (e: Event) => void;
|
|
232
|
+
}
|
|
233
|
+
interface AudioProps extends UltraHTMLProps {
|
|
234
|
+
src?: string;
|
|
235
|
+
autoPlay?: boolean;
|
|
236
|
+
controls?: boolean;
|
|
237
|
+
loop?: boolean;
|
|
238
|
+
muted?: boolean;
|
|
239
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
240
|
+
crossOrigin?: 'anonymous' | 'use-credentials';
|
|
241
|
+
onPlay?: (e: Event) => void;
|
|
242
|
+
onPause?: (e: Event) => void;
|
|
243
|
+
onEnded?: (e: Event) => void;
|
|
244
|
+
}
|
|
245
|
+
interface SourceProps extends UltraHTMLProps {
|
|
246
|
+
src?: string;
|
|
247
|
+
srcSet?: string;
|
|
248
|
+
type?: string;
|
|
249
|
+
media?: string;
|
|
250
|
+
sizes?: string;
|
|
251
|
+
width?: number | string;
|
|
252
|
+
height?: number | string;
|
|
253
|
+
}
|
|
254
|
+
interface ScriptProps extends UltraHTMLProps {
|
|
255
|
+
src?: string;
|
|
256
|
+
type?: string;
|
|
257
|
+
async?: boolean;
|
|
258
|
+
defer?: boolean;
|
|
259
|
+
crossOrigin?: string;
|
|
260
|
+
integrity?: string;
|
|
261
|
+
noModule?: boolean;
|
|
262
|
+
}
|
|
263
|
+
interface LinkProps extends UltraHTMLProps {
|
|
264
|
+
href?: string;
|
|
265
|
+
rel?: string;
|
|
266
|
+
type?: string;
|
|
267
|
+
media?: string;
|
|
268
|
+
crossOrigin?: string;
|
|
269
|
+
integrity?: string;
|
|
270
|
+
hreflang?: string;
|
|
271
|
+
as?: string;
|
|
272
|
+
}
|
|
273
|
+
interface MetaProps extends UltraHTMLProps {
|
|
274
|
+
name?: string;
|
|
275
|
+
content?: string;
|
|
276
|
+
httpEquiv?: string;
|
|
277
|
+
charSet?: string;
|
|
278
|
+
}
|
|
279
|
+
interface TableCellProps extends UltraHTMLProps {
|
|
280
|
+
colSpan?: number;
|
|
281
|
+
rowSpan?: number;
|
|
282
|
+
}
|
|
283
|
+
interface ThProps extends TableCellProps {
|
|
284
|
+
scope?: 'row' | 'col' | 'rowgroup' | 'colgroup';
|
|
285
|
+
abbr?: string;
|
|
286
|
+
}
|
|
287
|
+
interface DetailsProps extends UltraHTMLProps {
|
|
288
|
+
open?: boolean;
|
|
289
|
+
}
|
|
290
|
+
interface DialogProps extends UltraHTMLProps {
|
|
291
|
+
open?: boolean;
|
|
292
|
+
}
|
|
293
|
+
interface FieldsetProps extends UltraHTMLProps {
|
|
294
|
+
disabled?: boolean;
|
|
295
|
+
form?: string;
|
|
296
|
+
name?: string;
|
|
297
|
+
}
|
|
298
|
+
interface CanvasProps extends UltraHTMLProps {
|
|
299
|
+
width?: number | string;
|
|
300
|
+
height?: number | string;
|
|
301
|
+
}
|
|
302
|
+
interface IframeProps extends UltraHTMLProps {
|
|
303
|
+
src?: string;
|
|
304
|
+
srcdoc?: string;
|
|
305
|
+
name?: string;
|
|
306
|
+
allow?: string;
|
|
307
|
+
sandbox?: string;
|
|
308
|
+
width?: number | string;
|
|
309
|
+
height?: number | string;
|
|
310
|
+
loading?: 'eager' | 'lazy';
|
|
311
|
+
referrerPolicy?: ReferrerPolicy;
|
|
312
|
+
}
|
|
313
|
+
interface SvgProps extends UltraHTMLProps {
|
|
314
|
+
viewBox?: string;
|
|
315
|
+
xmlns?: string;
|
|
316
|
+
width?: number | string;
|
|
317
|
+
height?: number | string;
|
|
318
|
+
fill?: string;
|
|
319
|
+
stroke?: string;
|
|
320
|
+
strokeWidth?: number | string;
|
|
321
|
+
preserveAspectRatio?: string;
|
|
322
|
+
x?: number | string;
|
|
323
|
+
y?: number | string;
|
|
324
|
+
}
|
|
325
|
+
interface PathProps extends UltraHTMLProps {
|
|
326
|
+
d?: string;
|
|
327
|
+
fill?: string;
|
|
328
|
+
stroke?: string;
|
|
329
|
+
strokeWidth?: number | string;
|
|
330
|
+
fillRule?: 'nonzero' | 'evenodd';
|
|
331
|
+
clipRule?: 'nonzero' | 'evenodd';
|
|
332
|
+
opacity?: number | string;
|
|
333
|
+
}
|
|
334
|
+
interface CircleProps extends UltraHTMLProps {
|
|
335
|
+
cx?: number | string;
|
|
336
|
+
cy?: number | string;
|
|
337
|
+
r?: number | string;
|
|
338
|
+
fill?: string;
|
|
339
|
+
stroke?: string;
|
|
340
|
+
strokeWidth?: number | string;
|
|
341
|
+
opacity?: number | string;
|
|
342
|
+
}
|
|
343
|
+
interface RectProps extends UltraHTMLProps {
|
|
344
|
+
x?: number | string;
|
|
345
|
+
y?: number | string;
|
|
346
|
+
width?: number | string;
|
|
347
|
+
height?: number | string;
|
|
348
|
+
rx?: number | string;
|
|
349
|
+
ry?: number | string;
|
|
350
|
+
fill?: string;
|
|
351
|
+
stroke?: string;
|
|
352
|
+
strokeWidth?: number | string;
|
|
353
|
+
}
|
|
354
|
+
interface LineProps extends UltraHTMLProps {
|
|
355
|
+
x1?: number | string;
|
|
356
|
+
y1?: number | string;
|
|
357
|
+
x2?: number | string;
|
|
358
|
+
y2?: number | string;
|
|
359
|
+
stroke?: string;
|
|
360
|
+
strokeWidth?: number | string;
|
|
361
|
+
}
|
|
362
|
+
interface PolygonProps extends UltraHTMLProps {
|
|
363
|
+
points?: string;
|
|
364
|
+
fill?: string;
|
|
365
|
+
stroke?: string;
|
|
366
|
+
strokeWidth?: number | string;
|
|
367
|
+
}
|
|
368
|
+
interface TextSVGProps extends UltraHTMLProps {
|
|
369
|
+
x?: number | string;
|
|
370
|
+
y?: number | string;
|
|
371
|
+
fill?: string;
|
|
372
|
+
fontSize?: number | string;
|
|
373
|
+
fontFamily?: string;
|
|
374
|
+
textAnchor?: 'start' | 'middle' | 'end';
|
|
375
|
+
dominantBaseline?: string;
|
|
376
|
+
}
|
|
377
|
+
interface UseProps extends UltraHTMLProps {
|
|
378
|
+
href?: string;
|
|
379
|
+
x?: number | string;
|
|
380
|
+
y?: number | string;
|
|
381
|
+
width?: number | string;
|
|
382
|
+
height?: number | string;
|
|
383
|
+
}
|
|
384
|
+
declare global {
|
|
385
|
+
namespace JSX {
|
|
386
|
+
type Element = UltraLightElement | DocumentFragment;
|
|
387
|
+
interface ElementChildrenAttribute {
|
|
388
|
+
children: {};
|
|
389
|
+
}
|
|
390
|
+
interface IntrinsicElements {
|
|
391
|
+
html: UltraHTMLProps;
|
|
392
|
+
head: UltraHTMLProps;
|
|
393
|
+
body: UltraHTMLProps;
|
|
394
|
+
base: UltraHTMLProps & {
|
|
395
|
+
href?: string;
|
|
396
|
+
target?: string;
|
|
397
|
+
};
|
|
398
|
+
title: UltraHTMLProps;
|
|
399
|
+
meta: MetaProps;
|
|
400
|
+
link: LinkProps;
|
|
401
|
+
style: UltraHTMLProps & {
|
|
402
|
+
media?: string;
|
|
403
|
+
};
|
|
404
|
+
script: ScriptProps;
|
|
405
|
+
noscript: UltraHTMLProps;
|
|
406
|
+
header: UltraHTMLProps;
|
|
407
|
+
nav: UltraHTMLProps;
|
|
408
|
+
main: UltraHTMLProps;
|
|
409
|
+
footer: UltraHTMLProps;
|
|
410
|
+
section: UltraHTMLProps;
|
|
411
|
+
article: UltraHTMLProps;
|
|
412
|
+
aside: UltraHTMLProps;
|
|
413
|
+
address: UltraHTMLProps;
|
|
414
|
+
h1: UltraHTMLProps;
|
|
415
|
+
h2: UltraHTMLProps;
|
|
416
|
+
h3: UltraHTMLProps;
|
|
417
|
+
h4: UltraHTMLProps;
|
|
418
|
+
h5: UltraHTMLProps;
|
|
419
|
+
h6: UltraHTMLProps;
|
|
420
|
+
hgroup: UltraHTMLProps;
|
|
421
|
+
div: UltraHTMLProps;
|
|
422
|
+
p: UltraHTMLProps;
|
|
423
|
+
pre: UltraHTMLProps;
|
|
424
|
+
blockquote: UltraHTMLProps & {
|
|
425
|
+
cite?: string;
|
|
426
|
+
};
|
|
427
|
+
figure: UltraHTMLProps;
|
|
428
|
+
figcaption: UltraHTMLProps;
|
|
429
|
+
hr: UltraHTMLProps;
|
|
430
|
+
br: UltraHTMLProps;
|
|
431
|
+
ul: UltraHTMLProps;
|
|
432
|
+
ol: UltraHTMLProps & {
|
|
433
|
+
reversed?: boolean;
|
|
434
|
+
start?: number;
|
|
435
|
+
type?: '1' | 'a' | 'A' | 'i' | 'I';
|
|
436
|
+
};
|
|
437
|
+
li: UltraHTMLProps & {
|
|
438
|
+
value?: number;
|
|
439
|
+
};
|
|
440
|
+
dl: UltraHTMLProps;
|
|
441
|
+
dt: UltraHTMLProps;
|
|
442
|
+
dd: UltraHTMLProps;
|
|
443
|
+
menu: UltraHTMLProps;
|
|
444
|
+
span: UltraHTMLProps;
|
|
445
|
+
a: AnchorProps;
|
|
446
|
+
strong: UltraHTMLProps;
|
|
447
|
+
em: UltraHTMLProps;
|
|
448
|
+
b: UltraHTMLProps;
|
|
449
|
+
i: UltraHTMLProps;
|
|
450
|
+
u: UltraHTMLProps;
|
|
451
|
+
s: UltraHTMLProps;
|
|
452
|
+
small: UltraHTMLProps;
|
|
453
|
+
mark: UltraHTMLProps;
|
|
454
|
+
del: UltraHTMLProps & {
|
|
455
|
+
cite?: string;
|
|
456
|
+
dateTime?: string;
|
|
457
|
+
};
|
|
458
|
+
ins: UltraHTMLProps & {
|
|
459
|
+
cite?: string;
|
|
460
|
+
dateTime?: string;
|
|
461
|
+
};
|
|
462
|
+
abbr: UltraHTMLProps;
|
|
463
|
+
cite: UltraHTMLProps;
|
|
464
|
+
q: UltraHTMLProps & {
|
|
465
|
+
cite?: string;
|
|
466
|
+
};
|
|
467
|
+
code: UltraHTMLProps;
|
|
468
|
+
kbd: UltraHTMLProps;
|
|
469
|
+
samp: UltraHTMLProps;
|
|
470
|
+
var: UltraHTMLProps;
|
|
471
|
+
sub: UltraHTMLProps;
|
|
472
|
+
sup: UltraHTMLProps;
|
|
473
|
+
time: UltraHTMLProps & {
|
|
474
|
+
dateTime?: string;
|
|
475
|
+
};
|
|
476
|
+
data: UltraHTMLProps & {
|
|
477
|
+
value?: string;
|
|
478
|
+
};
|
|
479
|
+
dfn: UltraHTMLProps;
|
|
480
|
+
bdi: UltraHTMLProps;
|
|
481
|
+
bdo: UltraHTMLProps;
|
|
482
|
+
ruby: UltraHTMLProps;
|
|
483
|
+
rt: UltraHTMLProps;
|
|
484
|
+
rp: UltraHTMLProps;
|
|
485
|
+
wbr: UltraHTMLProps;
|
|
486
|
+
form: FormProps;
|
|
487
|
+
input: InputProps;
|
|
488
|
+
textarea: TextareaProps;
|
|
489
|
+
button: ButtonProps;
|
|
490
|
+
select: SelectProps;
|
|
491
|
+
option: OptionProps;
|
|
492
|
+
optgroup: OptgroupProps;
|
|
493
|
+
label: LabelProps;
|
|
494
|
+
fieldset: FieldsetProps;
|
|
495
|
+
legend: UltraHTMLProps;
|
|
496
|
+
datalist: UltraHTMLProps;
|
|
497
|
+
output: UltraHTMLProps & {
|
|
498
|
+
for?: string;
|
|
499
|
+
form?: string;
|
|
500
|
+
name?: string;
|
|
501
|
+
};
|
|
502
|
+
progress: UltraHTMLProps & {
|
|
503
|
+
value?: number;
|
|
504
|
+
max?: number;
|
|
505
|
+
};
|
|
506
|
+
meter: UltraHTMLProps & {
|
|
507
|
+
value?: number;
|
|
508
|
+
min?: number;
|
|
509
|
+
max?: number;
|
|
510
|
+
low?: number;
|
|
511
|
+
high?: number;
|
|
512
|
+
optimum?: number;
|
|
513
|
+
};
|
|
514
|
+
img: ImgProps;
|
|
515
|
+
video: VideoProps;
|
|
516
|
+
audio: AudioProps;
|
|
517
|
+
source: SourceProps;
|
|
518
|
+
track: UltraHTMLProps & {
|
|
519
|
+
kind?: string;
|
|
520
|
+
src?: string;
|
|
521
|
+
srclang?: string;
|
|
522
|
+
label?: string;
|
|
523
|
+
default?: boolean;
|
|
524
|
+
};
|
|
525
|
+
picture: UltraHTMLProps;
|
|
526
|
+
map: UltraHTMLProps & {
|
|
527
|
+
name?: string;
|
|
528
|
+
};
|
|
529
|
+
area: UltraHTMLProps & {
|
|
530
|
+
alt?: string;
|
|
531
|
+
coords?: string;
|
|
532
|
+
shape?: string;
|
|
533
|
+
href?: string;
|
|
534
|
+
target?: string;
|
|
535
|
+
download?: string;
|
|
536
|
+
};
|
|
537
|
+
iframe: IframeProps;
|
|
538
|
+
embed: UltraHTMLProps & {
|
|
539
|
+
src?: string;
|
|
540
|
+
type?: string;
|
|
541
|
+
width?: number | string;
|
|
542
|
+
height?: number | string;
|
|
543
|
+
};
|
|
544
|
+
object: UltraHTMLProps & {
|
|
545
|
+
data?: string;
|
|
546
|
+
type?: string;
|
|
547
|
+
name?: string;
|
|
548
|
+
width?: number | string;
|
|
549
|
+
height?: number | string;
|
|
550
|
+
};
|
|
551
|
+
canvas: CanvasProps;
|
|
552
|
+
table: UltraHTMLProps;
|
|
553
|
+
caption: UltraHTMLProps;
|
|
554
|
+
colgroup: UltraHTMLProps & {
|
|
555
|
+
span?: number;
|
|
556
|
+
};
|
|
557
|
+
col: UltraHTMLProps & {
|
|
558
|
+
span?: number;
|
|
559
|
+
};
|
|
560
|
+
thead: UltraHTMLProps;
|
|
561
|
+
tbody: UltraHTMLProps;
|
|
562
|
+
tfoot: UltraHTMLProps;
|
|
563
|
+
tr: UltraHTMLProps;
|
|
564
|
+
th: ThProps;
|
|
565
|
+
td: TableCellProps;
|
|
566
|
+
details: DetailsProps;
|
|
567
|
+
summary: UltraHTMLProps;
|
|
568
|
+
dialog: DialogProps;
|
|
569
|
+
svg: SvgProps;
|
|
570
|
+
path: PathProps;
|
|
571
|
+
circle: CircleProps;
|
|
572
|
+
ellipse: UltraHTMLProps & {
|
|
573
|
+
cx?: number | string;
|
|
574
|
+
cy?: number | string;
|
|
575
|
+
rx?: number | string;
|
|
576
|
+
ry?: number | string;
|
|
577
|
+
fill?: string;
|
|
578
|
+
stroke?: string;
|
|
579
|
+
};
|
|
580
|
+
rect: RectProps;
|
|
581
|
+
line: LineProps;
|
|
582
|
+
polyline: PolygonProps;
|
|
583
|
+
polygon: PolygonProps;
|
|
584
|
+
g: SvgProps;
|
|
585
|
+
defs: UltraHTMLProps;
|
|
586
|
+
symbol: SvgProps & {
|
|
587
|
+
id?: string;
|
|
588
|
+
};
|
|
589
|
+
use: UseProps;
|
|
590
|
+
text: TextSVGProps;
|
|
591
|
+
tspan: TextSVGProps;
|
|
592
|
+
linearGradient: UltraHTMLProps & {
|
|
593
|
+
id?: string;
|
|
594
|
+
x1?: string;
|
|
595
|
+
y1?: string;
|
|
596
|
+
x2?: string;
|
|
597
|
+
y2?: string;
|
|
598
|
+
gradientUnits?: string;
|
|
599
|
+
};
|
|
600
|
+
radialGradient: UltraHTMLProps & {
|
|
601
|
+
id?: string;
|
|
602
|
+
cx?: string;
|
|
603
|
+
cy?: string;
|
|
604
|
+
r?: string;
|
|
605
|
+
fx?: string;
|
|
606
|
+
fy?: string;
|
|
607
|
+
gradientUnits?: string;
|
|
608
|
+
};
|
|
609
|
+
stop: UltraHTMLProps & {
|
|
610
|
+
offset?: string | number;
|
|
611
|
+
stopColor?: string;
|
|
612
|
+
stopOpacity?: number | string;
|
|
613
|
+
};
|
|
614
|
+
clipPath: UltraHTMLProps & {
|
|
615
|
+
id?: string;
|
|
616
|
+
clipPathUnits?: string;
|
|
617
|
+
};
|
|
618
|
+
mask: UltraHTMLProps & {
|
|
619
|
+
id?: string;
|
|
620
|
+
maskUnits?: string;
|
|
621
|
+
x?: string;
|
|
622
|
+
y?: string;
|
|
623
|
+
width?: string;
|
|
624
|
+
height?: string;
|
|
625
|
+
};
|
|
626
|
+
filter: UltraHTMLProps & {
|
|
627
|
+
id?: string;
|
|
628
|
+
x?: string;
|
|
629
|
+
y?: string;
|
|
630
|
+
width?: string;
|
|
631
|
+
height?: string;
|
|
632
|
+
};
|
|
633
|
+
feGaussianBlur: UltraHTMLProps & {
|
|
634
|
+
in?: string;
|
|
635
|
+
stdDeviation?: number | string;
|
|
636
|
+
result?: string;
|
|
637
|
+
};
|
|
638
|
+
feColorMatrix: UltraHTMLProps & {
|
|
639
|
+
in?: string;
|
|
640
|
+
type?: string;
|
|
641
|
+
values?: string;
|
|
642
|
+
result?: string;
|
|
643
|
+
};
|
|
644
|
+
feComposite: UltraHTMLProps & {
|
|
645
|
+
in?: string;
|
|
646
|
+
in2?: string;
|
|
647
|
+
operator?: string;
|
|
648
|
+
result?: string;
|
|
649
|
+
};
|
|
650
|
+
feBlend: UltraHTMLProps & {
|
|
651
|
+
in?: string;
|
|
652
|
+
in2?: string;
|
|
653
|
+
mode?: string;
|
|
654
|
+
result?: string;
|
|
655
|
+
};
|
|
656
|
+
feOffset: UltraHTMLProps & {
|
|
657
|
+
in?: string;
|
|
658
|
+
dx?: number | string;
|
|
659
|
+
dy?: number | string;
|
|
660
|
+
result?: string;
|
|
661
|
+
};
|
|
662
|
+
animate: UltraHTMLProps & {
|
|
663
|
+
attributeName?: string;
|
|
664
|
+
values?: string;
|
|
665
|
+
dur?: string;
|
|
666
|
+
repeatCount?: string;
|
|
667
|
+
from?: string;
|
|
668
|
+
to?: string;
|
|
669
|
+
};
|
|
670
|
+
animateTransform: UltraHTMLProps & {
|
|
671
|
+
attributeName?: string;
|
|
672
|
+
type?: string;
|
|
673
|
+
values?: string;
|
|
674
|
+
dur?: string;
|
|
675
|
+
repeatCount?: string;
|
|
676
|
+
from?: string;
|
|
677
|
+
to?: string;
|
|
678
|
+
};
|
|
679
|
+
[tag: string]: UltraHTMLProps;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
export {};
|
|
684
|
+
//# sourceMappingURL=jsx.d.ts.map
|