ilha 0.12.1 → 0.14.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/README.md +96 -302
- package/dist/define.d.ts +5 -0
- package/dist/define.js +18 -0
- package/dist/index.d.ts +35 -2
- package/dist/index.js +51 -2970
- package/dist/jsx-dev-runtime.d.ts +4 -2
- package/dist/jsx-dev-runtime.js +3 -2
- package/dist/jsx-runtime.d.ts +8 -2
- package/dist/jsx-runtime.js +7 -232
- package/dist/mount-Dcy4teaf.js +992 -0
- package/dist/types-DU46exHq.d.ts +33 -0
- package/dist/vnode-BZLcG8lC.d.ts +20 -0
- package/dist/vnode-DHN2EFHi.js +37 -0
- package/package.json +19 -15
- package/dist/index-BETRqz-0.d.ts +0 -377
- package/dist/internal.d.ts +0 -69
- package/dist/internal.js +0 -49
- package/dist/jsx-runtime-qnxoD2YJ.d.ts +0 -631
|
@@ -1,631 +0,0 @@
|
|
|
1
|
-
import { E as SignalAccessor, O as SignalWriter, S as NativeEventModifier, T as RawHtml, x as NativeEventHandler } from "./index-BETRqz-0.js";
|
|
2
|
-
//#region src/jsx-types.d.ts
|
|
3
|
-
declare namespace JSX {
|
|
4
|
-
export type Child = unknown;
|
|
5
|
-
export type ElementType = string | ((props: any) => any);
|
|
6
|
-
export interface Element extends RawHtml {}
|
|
7
|
-
export interface ElementChildrenAttribute {
|
|
8
|
-
children: {};
|
|
9
|
-
}
|
|
10
|
-
export interface IntrinsicAttributes {
|
|
11
|
-
key?: string | number;
|
|
12
|
-
}
|
|
13
|
-
type ClassValue = string | unknown[] | Record<string, boolean>;
|
|
14
|
-
type Booleanish = boolean | "true" | "false";
|
|
15
|
-
type Numberish = number | `${number}`;
|
|
16
|
-
type BindAccessor<T> = SignalAccessor<any> & (() => T);
|
|
17
|
-
type ElementRefAccessor<T extends globalThis.Element> = SignalWriter<T | null> & {
|
|
18
|
-
(): unknown;
|
|
19
|
-
select: SignalAccessor<any>["select"];
|
|
20
|
-
};
|
|
21
|
-
type IntrinsicEventHandlers<T extends globalThis.Element> = { [K in keyof HTMLElementEventMap as `on${K}`]?: NativeEventHandler<HTMLElementEventMap[K] & {
|
|
22
|
-
readonly currentTarget: T;
|
|
23
|
-
}>; };
|
|
24
|
-
type ModifiedIntrinsicEventHandlers<T extends globalThis.Element> = { [K in keyof HTMLElementEventMap as `on${K}:${NativeEventModifier}`]?: NativeEventHandler<HTMLElementEventMap[K] & {
|
|
25
|
-
readonly currentTarget: T;
|
|
26
|
-
}>; };
|
|
27
|
-
type StyleProps = { [K in keyof CSSStyleDeclaration as K extends string ? K extends "cssText" | "cssFloat" | "length" | "parentRule" ? never : CSSStyleDeclaration[K] extends string ? K : never : never]?: string | number | null; } & {
|
|
28
|
-
float?: string | number | null;
|
|
29
|
-
} & { [K in `--${string}`]?: string | number | null; };
|
|
30
|
-
type DataAttributes = { [K in `data-${string}`]?: unknown; };
|
|
31
|
-
interface AriaAttributes {
|
|
32
|
-
"aria-activedescendant"?: string;
|
|
33
|
-
"aria-atomic"?: Booleanish;
|
|
34
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both";
|
|
35
|
-
"aria-braillelabel"?: string;
|
|
36
|
-
"aria-brailleroledescription"?: string;
|
|
37
|
-
"aria-busy"?: Booleanish;
|
|
38
|
-
"aria-checked"?: Booleanish | "mixed";
|
|
39
|
-
"aria-colcount"?: Numberish;
|
|
40
|
-
"aria-colindex"?: Numberish;
|
|
41
|
-
"aria-colindextext"?: string;
|
|
42
|
-
"aria-colspan"?: Numberish;
|
|
43
|
-
"aria-controls"?: string;
|
|
44
|
-
"aria-current"?: Booleanish | "page" | "step" | "location" | "date" | "time";
|
|
45
|
-
"aria-describedby"?: string;
|
|
46
|
-
"aria-description"?: string;
|
|
47
|
-
"aria-details"?: string;
|
|
48
|
-
"aria-disabled"?: Booleanish;
|
|
49
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup";
|
|
50
|
-
"aria-errormessage"?: string;
|
|
51
|
-
"aria-expanded"?: Booleanish;
|
|
52
|
-
"aria-flowto"?: string;
|
|
53
|
-
"aria-grabbed"?: Booleanish;
|
|
54
|
-
"aria-haspopup"?: Booleanish | "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
55
|
-
"aria-hidden"?: Booleanish;
|
|
56
|
-
"aria-invalid"?: Booleanish | "grammar" | "spelling";
|
|
57
|
-
"aria-keyshortcuts"?: string;
|
|
58
|
-
"aria-label"?: string;
|
|
59
|
-
"aria-labelledby"?: string;
|
|
60
|
-
"aria-level"?: Numberish;
|
|
61
|
-
"aria-live"?: "off" | "assertive" | "polite";
|
|
62
|
-
"aria-modal"?: Booleanish;
|
|
63
|
-
"aria-multiline"?: Booleanish;
|
|
64
|
-
"aria-multiselectable"?: Booleanish;
|
|
65
|
-
"aria-orientation"?: "horizontal" | "vertical";
|
|
66
|
-
"aria-owns"?: string;
|
|
67
|
-
"aria-placeholder"?: string;
|
|
68
|
-
"aria-posinset"?: Numberish;
|
|
69
|
-
"aria-pressed"?: Booleanish | "mixed";
|
|
70
|
-
"aria-readonly"?: Booleanish;
|
|
71
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
|
|
72
|
-
"aria-required"?: Booleanish;
|
|
73
|
-
"aria-roledescription"?: string;
|
|
74
|
-
"aria-rowcount"?: Numberish;
|
|
75
|
-
"aria-rowindex"?: Numberish;
|
|
76
|
-
"aria-rowindextext"?: string;
|
|
77
|
-
"aria-rowspan"?: Numberish;
|
|
78
|
-
"aria-selected"?: Booleanish;
|
|
79
|
-
"aria-setsize"?: Numberish;
|
|
80
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
81
|
-
"aria-valuemax"?: Numberish;
|
|
82
|
-
"aria-valuemin"?: Numberish;
|
|
83
|
-
"aria-valuenow"?: Numberish;
|
|
84
|
-
"aria-valuetext"?: string;
|
|
85
|
-
}
|
|
86
|
-
export interface HTMLAttributes<T extends globalThis.Element> extends AriaAttributes, DataAttributes, IntrinsicEventHandlers<T>, ModifiedIntrinsicEventHandlers<T> {
|
|
87
|
-
children?: Child;
|
|
88
|
-
key?: string | number;
|
|
89
|
-
id?: string;
|
|
90
|
-
class?: ClassValue;
|
|
91
|
-
className?: ClassValue;
|
|
92
|
-
style?: string | StyleProps;
|
|
93
|
-
accesskey?: string;
|
|
94
|
-
accessKey?: string;
|
|
95
|
-
autocapitalize?: string;
|
|
96
|
-
autoCapitalize?: string;
|
|
97
|
-
autofocus?: boolean;
|
|
98
|
-
autoFocus?: boolean;
|
|
99
|
-
contenteditable?: Booleanish | "inherit" | "plaintext-only";
|
|
100
|
-
contentEditable?: Booleanish | "inherit" | "plaintext-only";
|
|
101
|
-
dir?: "ltr" | "rtl" | "auto";
|
|
102
|
-
draggable?: Booleanish;
|
|
103
|
-
enterkeyhint?: string;
|
|
104
|
-
enterKeyHint?: string;
|
|
105
|
-
hidden?: boolean | "until-found";
|
|
106
|
-
inert?: boolean;
|
|
107
|
-
inputmode?: string;
|
|
108
|
-
inputMode?: string;
|
|
109
|
-
is?: string;
|
|
110
|
-
itemid?: string;
|
|
111
|
-
itemId?: string;
|
|
112
|
-
itemprop?: string;
|
|
113
|
-
itemProp?: string;
|
|
114
|
-
itemref?: string;
|
|
115
|
-
itemRef?: string;
|
|
116
|
-
itemscope?: boolean;
|
|
117
|
-
itemScope?: boolean;
|
|
118
|
-
itemtype?: string;
|
|
119
|
-
itemType?: string;
|
|
120
|
-
lang?: string;
|
|
121
|
-
nonce?: string;
|
|
122
|
-
part?: string;
|
|
123
|
-
popover?: "auto" | "hint" | "manual" | string;
|
|
124
|
-
role?: string;
|
|
125
|
-
slot?: string;
|
|
126
|
-
spellcheck?: Booleanish;
|
|
127
|
-
spellCheck?: Booleanish;
|
|
128
|
-
tabindex?: Numberish;
|
|
129
|
-
tabIndex?: number;
|
|
130
|
-
title?: string;
|
|
131
|
-
translate?: "yes" | "no";
|
|
132
|
-
"bind:this"?: ElementRefAccessor<T>;
|
|
133
|
-
constructor?: unknown;
|
|
134
|
-
__proto__?: unknown;
|
|
135
|
-
}
|
|
136
|
-
interface AnchorAttributes {
|
|
137
|
-
download?: string | boolean;
|
|
138
|
-
href?: string;
|
|
139
|
-
hreflang?: string;
|
|
140
|
-
hrefLang?: string;
|
|
141
|
-
ping?: string;
|
|
142
|
-
referrerpolicy?: string;
|
|
143
|
-
referrerPolicy?: string;
|
|
144
|
-
rel?: string;
|
|
145
|
-
target?: string;
|
|
146
|
-
type?: string;
|
|
147
|
-
}
|
|
148
|
-
interface MediaAttributes {
|
|
149
|
-
autoplay?: boolean;
|
|
150
|
-
autoPlay?: boolean;
|
|
151
|
-
controls?: boolean;
|
|
152
|
-
crossorigin?: string;
|
|
153
|
-
crossOrigin?: string;
|
|
154
|
-
loop?: boolean;
|
|
155
|
-
muted?: boolean;
|
|
156
|
-
preload?: "none" | "metadata" | "auto" | string;
|
|
157
|
-
src?: string;
|
|
158
|
-
}
|
|
159
|
-
interface FormTargetAttributes {
|
|
160
|
-
form?: string;
|
|
161
|
-
formaction?: string;
|
|
162
|
-
formAction?: string;
|
|
163
|
-
formenctype?: string;
|
|
164
|
-
formEncType?: string;
|
|
165
|
-
formmethod?: string;
|
|
166
|
-
formMethod?: string;
|
|
167
|
-
formnovalidate?: boolean;
|
|
168
|
-
formNoValidate?: boolean;
|
|
169
|
-
formtarget?: string;
|
|
170
|
-
formTarget?: string;
|
|
171
|
-
}
|
|
172
|
-
interface InputAttributes extends FormTargetAttributes {
|
|
173
|
-
accept?: string;
|
|
174
|
-
alt?: string;
|
|
175
|
-
autocomplete?: string;
|
|
176
|
-
autoComplete?: string;
|
|
177
|
-
capture?: boolean | "user" | "environment";
|
|
178
|
-
checked?: boolean;
|
|
179
|
-
dirname?: string;
|
|
180
|
-
disabled?: boolean;
|
|
181
|
-
height?: Numberish;
|
|
182
|
-
list?: string;
|
|
183
|
-
max?: string | number;
|
|
184
|
-
maxlength?: Numberish;
|
|
185
|
-
maxLength?: number;
|
|
186
|
-
min?: string | number;
|
|
187
|
-
minlength?: Numberish;
|
|
188
|
-
minLength?: number;
|
|
189
|
-
multiple?: boolean;
|
|
190
|
-
name?: string;
|
|
191
|
-
pattern?: string;
|
|
192
|
-
placeholder?: string;
|
|
193
|
-
readonly?: boolean;
|
|
194
|
-
readOnly?: boolean;
|
|
195
|
-
required?: boolean;
|
|
196
|
-
size?: Numberish;
|
|
197
|
-
src?: string;
|
|
198
|
-
step?: string | number;
|
|
199
|
-
type?: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
200
|
-
value?: string | number;
|
|
201
|
-
width?: Numberish;
|
|
202
|
-
"bind:value"?: BindAccessor<string | number>;
|
|
203
|
-
"bind:checked"?: BindAccessor<boolean>;
|
|
204
|
-
"bind:group"?: BindAccessor<string | number | Array<string | number>>;
|
|
205
|
-
"bind:files"?: BindAccessor<FileList | null>;
|
|
206
|
-
}
|
|
207
|
-
interface TextareaAttributes {
|
|
208
|
-
autocomplete?: string;
|
|
209
|
-
autoComplete?: string;
|
|
210
|
-
cols?: Numberish;
|
|
211
|
-
dirname?: string;
|
|
212
|
-
disabled?: boolean;
|
|
213
|
-
form?: string;
|
|
214
|
-
maxlength?: Numberish;
|
|
215
|
-
maxLength?: number;
|
|
216
|
-
minlength?: Numberish;
|
|
217
|
-
minLength?: number;
|
|
218
|
-
name?: string;
|
|
219
|
-
placeholder?: string;
|
|
220
|
-
readonly?: boolean;
|
|
221
|
-
readOnly?: boolean;
|
|
222
|
-
required?: boolean;
|
|
223
|
-
rows?: Numberish;
|
|
224
|
-
wrap?: "hard" | "soft" | "off";
|
|
225
|
-
"bind:value"?: BindAccessor<string | number>;
|
|
226
|
-
}
|
|
227
|
-
interface SelectAttributes {
|
|
228
|
-
autocomplete?: string;
|
|
229
|
-
autoComplete?: string;
|
|
230
|
-
disabled?: boolean;
|
|
231
|
-
form?: string;
|
|
232
|
-
multiple?: boolean;
|
|
233
|
-
name?: string;
|
|
234
|
-
required?: boolean;
|
|
235
|
-
size?: Numberish;
|
|
236
|
-
"bind:value"?: BindAccessor<string | number>;
|
|
237
|
-
}
|
|
238
|
-
interface ButtonAttributes extends FormTargetAttributes {
|
|
239
|
-
disabled?: boolean;
|
|
240
|
-
name?: string;
|
|
241
|
-
type?: "button" | "reset" | "submit";
|
|
242
|
-
value?: string | number;
|
|
243
|
-
}
|
|
244
|
-
interface ImgAttributes {
|
|
245
|
-
alt?: string;
|
|
246
|
-
crossorigin?: string;
|
|
247
|
-
crossOrigin?: string;
|
|
248
|
-
decoding?: "async" | "auto" | "sync";
|
|
249
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
250
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
251
|
-
height?: Numberish;
|
|
252
|
-
ismap?: boolean;
|
|
253
|
-
isMap?: boolean;
|
|
254
|
-
loading?: "eager" | "lazy";
|
|
255
|
-
referrerpolicy?: string;
|
|
256
|
-
referrerPolicy?: string;
|
|
257
|
-
sizes?: string;
|
|
258
|
-
src?: string;
|
|
259
|
-
srcset?: string;
|
|
260
|
-
srcSet?: string;
|
|
261
|
-
usemap?: string;
|
|
262
|
-
useMap?: string;
|
|
263
|
-
width?: Numberish;
|
|
264
|
-
}
|
|
265
|
-
interface FormAttributes {
|
|
266
|
-
"accept-charset"?: string;
|
|
267
|
-
acceptCharset?: string;
|
|
268
|
-
action?: string;
|
|
269
|
-
autocomplete?: "on" | "off";
|
|
270
|
-
autoComplete?: "on" | "off";
|
|
271
|
-
enctype?: string;
|
|
272
|
-
encType?: string;
|
|
273
|
-
method?: "dialog" | "get" | "post" | string;
|
|
274
|
-
name?: string;
|
|
275
|
-
novalidate?: boolean;
|
|
276
|
-
noValidate?: boolean;
|
|
277
|
-
rel?: string;
|
|
278
|
-
target?: string;
|
|
279
|
-
}
|
|
280
|
-
interface ScriptAttributes {
|
|
281
|
-
async?: boolean;
|
|
282
|
-
crossorigin?: string;
|
|
283
|
-
crossOrigin?: string;
|
|
284
|
-
defer?: boolean;
|
|
285
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
286
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
287
|
-
integrity?: string;
|
|
288
|
-
nomodule?: boolean;
|
|
289
|
-
noModule?: boolean;
|
|
290
|
-
referrerpolicy?: string;
|
|
291
|
-
referrerPolicy?: string;
|
|
292
|
-
src?: string;
|
|
293
|
-
type?: string;
|
|
294
|
-
}
|
|
295
|
-
interface LinkAttributes {
|
|
296
|
-
as?: string;
|
|
297
|
-
crossorigin?: string;
|
|
298
|
-
crossOrigin?: string;
|
|
299
|
-
disabled?: boolean;
|
|
300
|
-
fetchpriority?: "high" | "low" | "auto";
|
|
301
|
-
fetchPriority?: "high" | "low" | "auto";
|
|
302
|
-
href?: string;
|
|
303
|
-
hreflang?: string;
|
|
304
|
-
hrefLang?: string;
|
|
305
|
-
imagesizes?: string;
|
|
306
|
-
imageSizes?: string;
|
|
307
|
-
imagesrcset?: string;
|
|
308
|
-
imageSrcSet?: string;
|
|
309
|
-
integrity?: string;
|
|
310
|
-
media?: string;
|
|
311
|
-
referrerpolicy?: string;
|
|
312
|
-
referrerPolicy?: string;
|
|
313
|
-
rel?: string;
|
|
314
|
-
sizes?: string;
|
|
315
|
-
type?: string;
|
|
316
|
-
}
|
|
317
|
-
interface SourceAttributes {
|
|
318
|
-
height?: Numberish;
|
|
319
|
-
media?: string;
|
|
320
|
-
sizes?: string;
|
|
321
|
-
src?: string;
|
|
322
|
-
srcset?: string;
|
|
323
|
-
srcSet?: string;
|
|
324
|
-
type?: string;
|
|
325
|
-
width?: Numberish;
|
|
326
|
-
}
|
|
327
|
-
interface SVGPresentationAttributes {
|
|
328
|
-
accentHeight?: Numberish;
|
|
329
|
-
accumulate?: "none" | "sum";
|
|
330
|
-
additive?: "replace" | "sum";
|
|
331
|
-
alignmentBaseline?: string;
|
|
332
|
-
baselineShift?: string | number;
|
|
333
|
-
clipPath?: string;
|
|
334
|
-
clipRule?: "nonzero" | "evenodd" | "inherit";
|
|
335
|
-
color?: string;
|
|
336
|
-
cx?: string | number;
|
|
337
|
-
cy?: string | number;
|
|
338
|
-
d?: string;
|
|
339
|
-
direction?: "ltr" | "rtl" | "inherit";
|
|
340
|
-
display?: string;
|
|
341
|
-
dominantBaseline?: string;
|
|
342
|
-
dx?: string | number;
|
|
343
|
-
dy?: string | number;
|
|
344
|
-
fill?: string;
|
|
345
|
-
fillOpacity?: string | number;
|
|
346
|
-
fillRule?: "nonzero" | "evenodd" | "inherit";
|
|
347
|
-
filter?: string;
|
|
348
|
-
filterUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
349
|
-
gradientTransform?: string;
|
|
350
|
-
gradientUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
351
|
-
floodColor?: string;
|
|
352
|
-
floodOpacity?: string | number;
|
|
353
|
-
fontFamily?: string;
|
|
354
|
-
fontSize?: string | number;
|
|
355
|
-
fontStyle?: string;
|
|
356
|
-
fontWeight?: string | number;
|
|
357
|
-
height?: string | number;
|
|
358
|
-
markerEnd?: string;
|
|
359
|
-
markerMid?: string;
|
|
360
|
-
markerStart?: string;
|
|
361
|
-
markerUnits?: "strokeWidth" | "userSpaceOnUse";
|
|
362
|
-
mask?: string;
|
|
363
|
-
offset?: string | number;
|
|
364
|
-
opacity?: string | number;
|
|
365
|
-
orient?: string | number;
|
|
366
|
-
pathLength?: string | number;
|
|
367
|
-
patternContentUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
368
|
-
patternTransform?: string;
|
|
369
|
-
patternUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
370
|
-
points?: string;
|
|
371
|
-
preserveAspectRatio?: string;
|
|
372
|
-
primitiveUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
373
|
-
refX?: string | number;
|
|
374
|
-
refY?: string | number;
|
|
375
|
-
r?: string | number;
|
|
376
|
-
rx?: string | number;
|
|
377
|
-
ry?: string | number;
|
|
378
|
-
stdDeviation?: string | number;
|
|
379
|
-
stopColor?: string;
|
|
380
|
-
stopOpacity?: string | number;
|
|
381
|
-
spreadMethod?: "pad" | "reflect" | "repeat";
|
|
382
|
-
stroke?: string;
|
|
383
|
-
strokeDasharray?: string | number;
|
|
384
|
-
strokeDashoffset?: string | number;
|
|
385
|
-
strokeLinecap?: "butt" | "round" | "square" | "inherit";
|
|
386
|
-
strokeLinejoin?: "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit";
|
|
387
|
-
strokeMiterlimit?: string | number;
|
|
388
|
-
strokeOpacity?: string | number;
|
|
389
|
-
strokeWidth?: string | number;
|
|
390
|
-
textAnchor?: "start" | "middle" | "end" | "inherit";
|
|
391
|
-
transform?: string;
|
|
392
|
-
vectorEffect?: string;
|
|
393
|
-
viewBox?: string;
|
|
394
|
-
visibility?: string;
|
|
395
|
-
width?: string | number;
|
|
396
|
-
x?: string | number;
|
|
397
|
-
x1?: string | number;
|
|
398
|
-
x2?: string | number;
|
|
399
|
-
href?: string;
|
|
400
|
-
"xlink:href"?: string;
|
|
401
|
-
xlinkHref?: string;
|
|
402
|
-
xmlns?: string;
|
|
403
|
-
y?: string | number;
|
|
404
|
-
y1?: string | number;
|
|
405
|
-
y2?: string | number;
|
|
406
|
-
}
|
|
407
|
-
type HtmlSpecificAttributes = {
|
|
408
|
-
a: AnchorAttributes;
|
|
409
|
-
area: AnchorAttributes & {
|
|
410
|
-
alt?: string;
|
|
411
|
-
coords?: string;
|
|
412
|
-
shape?: string;
|
|
413
|
-
};
|
|
414
|
-
audio: MediaAttributes;
|
|
415
|
-
base: Pick<AnchorAttributes, "href" | "target">;
|
|
416
|
-
blockquote: {
|
|
417
|
-
cite?: string;
|
|
418
|
-
};
|
|
419
|
-
button: ButtonAttributes & {
|
|
420
|
-
popovertarget?: string;
|
|
421
|
-
popoverTarget?: string;
|
|
422
|
-
popovertargetaction?: "hide" | "show" | "toggle";
|
|
423
|
-
popoverTargetAction?: "hide" | "show" | "toggle";
|
|
424
|
-
};
|
|
425
|
-
canvas: {
|
|
426
|
-
height?: Numberish;
|
|
427
|
-
width?: Numberish;
|
|
428
|
-
};
|
|
429
|
-
col: {
|
|
430
|
-
span?: Numberish;
|
|
431
|
-
};
|
|
432
|
-
colgroup: {
|
|
433
|
-
span?: Numberish;
|
|
434
|
-
};
|
|
435
|
-
data: {
|
|
436
|
-
value?: string | number;
|
|
437
|
-
};
|
|
438
|
-
del: {
|
|
439
|
-
cite?: string;
|
|
440
|
-
datetime?: string;
|
|
441
|
-
dateTime?: string;
|
|
442
|
-
};
|
|
443
|
-
details: {
|
|
444
|
-
open?: boolean;
|
|
445
|
-
name?: string;
|
|
446
|
-
"bind:open"?: BindAccessor<boolean>;
|
|
447
|
-
};
|
|
448
|
-
dialog: {
|
|
449
|
-
open?: boolean;
|
|
450
|
-
closedby?: string;
|
|
451
|
-
};
|
|
452
|
-
embed: {
|
|
453
|
-
height?: Numberish;
|
|
454
|
-
src?: string;
|
|
455
|
-
type?: string;
|
|
456
|
-
width?: Numberish;
|
|
457
|
-
};
|
|
458
|
-
fieldset: {
|
|
459
|
-
disabled?: boolean;
|
|
460
|
-
form?: string;
|
|
461
|
-
name?: string;
|
|
462
|
-
};
|
|
463
|
-
form: FormAttributes;
|
|
464
|
-
iframe: {
|
|
465
|
-
allow?: string;
|
|
466
|
-
allowfullscreen?: boolean;
|
|
467
|
-
allowFullScreen?: boolean;
|
|
468
|
-
height?: Numberish;
|
|
469
|
-
loading?: "eager" | "lazy";
|
|
470
|
-
name?: string;
|
|
471
|
-
referrerpolicy?: string;
|
|
472
|
-
referrerPolicy?: string;
|
|
473
|
-
sandbox?: string;
|
|
474
|
-
src?: string;
|
|
475
|
-
srcdoc?: string;
|
|
476
|
-
srcDoc?: string;
|
|
477
|
-
width?: Numberish;
|
|
478
|
-
};
|
|
479
|
-
img: ImgAttributes;
|
|
480
|
-
input: InputAttributes & {
|
|
481
|
-
popovertarget?: string;
|
|
482
|
-
popoverTarget?: string;
|
|
483
|
-
popovertargetaction?: "hide" | "show" | "toggle";
|
|
484
|
-
popoverTargetAction?: "hide" | "show" | "toggle";
|
|
485
|
-
};
|
|
486
|
-
ins: {
|
|
487
|
-
cite?: string;
|
|
488
|
-
datetime?: string;
|
|
489
|
-
dateTime?: string;
|
|
490
|
-
};
|
|
491
|
-
label: {
|
|
492
|
-
for?: string;
|
|
493
|
-
htmlFor?: string;
|
|
494
|
-
};
|
|
495
|
-
li: {
|
|
496
|
-
value?: number;
|
|
497
|
-
};
|
|
498
|
-
link: LinkAttributes;
|
|
499
|
-
map: {
|
|
500
|
-
name?: string;
|
|
501
|
-
};
|
|
502
|
-
meta: {
|
|
503
|
-
charset?: string;
|
|
504
|
-
charSet?: string;
|
|
505
|
-
content?: string;
|
|
506
|
-
"http-equiv"?: string;
|
|
507
|
-
httpEquiv?: string;
|
|
508
|
-
name?: string;
|
|
509
|
-
};
|
|
510
|
-
meter: {
|
|
511
|
-
high?: Numberish;
|
|
512
|
-
low?: Numberish;
|
|
513
|
-
max?: Numberish;
|
|
514
|
-
min?: Numberish;
|
|
515
|
-
optimum?: Numberish;
|
|
516
|
-
value?: Numberish;
|
|
517
|
-
};
|
|
518
|
-
object: {
|
|
519
|
-
data?: string;
|
|
520
|
-
form?: string;
|
|
521
|
-
height?: Numberish;
|
|
522
|
-
name?: string;
|
|
523
|
-
type?: string;
|
|
524
|
-
usemap?: string;
|
|
525
|
-
useMap?: string;
|
|
526
|
-
width?: Numberish;
|
|
527
|
-
};
|
|
528
|
-
ol: {
|
|
529
|
-
reversed?: boolean;
|
|
530
|
-
start?: Numberish;
|
|
531
|
-
type?: "1" | "a" | "A" | "i" | "I";
|
|
532
|
-
};
|
|
533
|
-
optgroup: {
|
|
534
|
-
disabled?: boolean;
|
|
535
|
-
label?: string;
|
|
536
|
-
};
|
|
537
|
-
option: {
|
|
538
|
-
disabled?: boolean;
|
|
539
|
-
label?: string;
|
|
540
|
-
selected?: boolean;
|
|
541
|
-
value?: string | number;
|
|
542
|
-
};
|
|
543
|
-
output: {
|
|
544
|
-
for?: string;
|
|
545
|
-
form?: string;
|
|
546
|
-
name?: string;
|
|
547
|
-
};
|
|
548
|
-
progress: {
|
|
549
|
-
max?: Numberish;
|
|
550
|
-
value?: Numberish;
|
|
551
|
-
};
|
|
552
|
-
q: {
|
|
553
|
-
cite?: string;
|
|
554
|
-
};
|
|
555
|
-
script: ScriptAttributes;
|
|
556
|
-
select: SelectAttributes;
|
|
557
|
-
slot: {
|
|
558
|
-
name?: string;
|
|
559
|
-
};
|
|
560
|
-
source: SourceAttributes;
|
|
561
|
-
style: {
|
|
562
|
-
media?: string;
|
|
563
|
-
title?: string;
|
|
564
|
-
type?: string;
|
|
565
|
-
};
|
|
566
|
-
td: {
|
|
567
|
-
colspan?: Numberish;
|
|
568
|
-
colSpan?: number;
|
|
569
|
-
headers?: string;
|
|
570
|
-
rowspan?: Numberish;
|
|
571
|
-
rowSpan?: number;
|
|
572
|
-
};
|
|
573
|
-
textarea: TextareaAttributes;
|
|
574
|
-
th: {
|
|
575
|
-
abbr?: string;
|
|
576
|
-
colspan?: Numberish;
|
|
577
|
-
colSpan?: number;
|
|
578
|
-
headers?: string;
|
|
579
|
-
rowspan?: Numberish;
|
|
580
|
-
rowSpan?: number;
|
|
581
|
-
scope?: "col" | "colgroup" | "row" | "rowgroup";
|
|
582
|
-
};
|
|
583
|
-
time: {
|
|
584
|
-
datetime?: string;
|
|
585
|
-
dateTime?: string;
|
|
586
|
-
};
|
|
587
|
-
track: {
|
|
588
|
-
default?: boolean;
|
|
589
|
-
kind?: "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
|
|
590
|
-
label?: string;
|
|
591
|
-
src?: string;
|
|
592
|
-
srclang?: string;
|
|
593
|
-
srcLang?: string;
|
|
594
|
-
};
|
|
595
|
-
video: MediaAttributes & {
|
|
596
|
-
height?: Numberish;
|
|
597
|
-
playsinline?: boolean;
|
|
598
|
-
playsInline?: boolean;
|
|
599
|
-
poster?: string;
|
|
600
|
-
width?: Numberish;
|
|
601
|
-
};
|
|
602
|
-
};
|
|
603
|
-
/** `raw()` is valid anywhere JSX would otherwise accept a string attribute. */
|
|
604
|
-
type WithRawHtmlAttributeValues<T> = { [K in keyof T]: T[K] | (Extract<T[K], string> extends never ? never : RawHtml); };
|
|
605
|
-
export type IntrinsicElementProps<T extends globalThis.Element = HTMLElement> = WithRawHtmlAttributeValues<HTMLAttributes<T>>;
|
|
606
|
-
type HtmlIntrinsicElements = { [K in keyof HTMLElementTagNameMap]: WithRawHtmlAttributeValues<HTMLAttributes<HTMLElementTagNameMap[K]> & (K extends keyof HtmlSpecificAttributes ? HtmlSpecificAttributes[K] : {})>; };
|
|
607
|
-
type SvgOnlyIntrinsicElements = { [K in Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>]: WithRawHtmlAttributeValues<HTMLAttributes<SVGElementTagNameMap[K]> & SVGPresentationAttributes>; };
|
|
608
|
-
type SvgOverlapAttributes = { [K in Extract<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>]: WithRawHtmlAttributeValues<SVGPresentationAttributes>; };
|
|
609
|
-
type CustomEventAttributes<T extends globalThis.Element> = { [K in `on${string}`]?: NativeEventHandler<Event & {
|
|
610
|
-
readonly currentTarget: T;
|
|
611
|
-
}>; };
|
|
612
|
-
export interface CustomElementAttributes extends HTMLAttributes<HTMLElement> {
|
|
613
|
-
[name: string]: unknown;
|
|
614
|
-
}
|
|
615
|
-
type CustomIntrinsicElements = { [K in `${string}-${string}`]: CustomElementAttributes & CustomEventAttributes<HTMLElement>; };
|
|
616
|
-
export type IntrinsicElements = HtmlIntrinsicElements & SvgOnlyIntrinsicElements & SvgOverlapAttributes & CustomIntrinsicElements;
|
|
617
|
-
export {};
|
|
618
|
-
}
|
|
619
|
-
//#endregion
|
|
620
|
-
//#region src/jsx-runtime.d.ts
|
|
621
|
-
type JsxChild = unknown;
|
|
622
|
-
type JsxProps = Record<string, unknown> | null | undefined;
|
|
623
|
-
type JsxType = string | ((props: Record<string, unknown>) => unknown);
|
|
624
|
-
declare function jsx(type: JsxType, props: JsxProps, maybeKey?: JsxChild | string | number, ...restChildren: JsxChild[]): RawHtml;
|
|
625
|
-
declare const jsxs: typeof jsx;
|
|
626
|
-
declare function Fragment(props: {
|
|
627
|
-
children?: JsxChild;
|
|
628
|
-
} | null, ...children: JsxChild[]): RawHtml;
|
|
629
|
-
declare function jsxDEV(type: JsxType, props: JsxProps, maybeKey?: string | number, _source?: unknown, _self?: unknown): RawHtml;
|
|
630
|
-
//#endregion
|
|
631
|
-
export { JSX as a, jsxs as i, jsx as n, jsxDEV as r, Fragment as t };
|