ilha 0.9.5 → 0.10.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 +102 -41
- package/dist/{index-Dx_q_SGo.d.ts → index-Bi_I3qEL.d.ts} +106 -46
- package/dist/index.d.ts +2 -2
- package/dist/index.js +494 -65
- package/dist/jsx-dev-runtime.d.ts +1 -1
- package/dist/jsx-runtime-DJ2B4fvA.d.ts +633 -0
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.js +94 -16
- package/package.json +1 -1
- package/dist/jsx-runtime-DysRyz9R.d.ts +0 -37
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as JSX, r as jsxDEV, t as Fragment } from "./jsx-runtime-
|
|
1
|
+
import { a as JSX, r as jsxDEV, t as Fragment } from "./jsx-runtime-DJ2B4fvA.js";
|
|
2
2
|
export { Fragment, type JSX, jsxDEV };
|
|
@@ -0,0 +1,633 @@
|
|
|
1
|
+
import { C as NativeEventModifier, E as SignalAccessor, O as SignalWriter, S as NativeEventHandler, T as RawHtml } from "./index-Bi_I3qEL.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:valueAsNumber"?: BindAccessor<number | null>;
|
|
204
|
+
"bind:valueAsDate"?: BindAccessor<Date | null>;
|
|
205
|
+
"bind:checked"?: BindAccessor<boolean>;
|
|
206
|
+
"bind:group"?: BindAccessor<string | number | Array<string | number>>;
|
|
207
|
+
"bind:files"?: BindAccessor<FileList | null>;
|
|
208
|
+
}
|
|
209
|
+
interface TextareaAttributes {
|
|
210
|
+
autocomplete?: string;
|
|
211
|
+
autoComplete?: string;
|
|
212
|
+
cols?: Numberish;
|
|
213
|
+
dirname?: string;
|
|
214
|
+
disabled?: boolean;
|
|
215
|
+
form?: string;
|
|
216
|
+
maxlength?: Numberish;
|
|
217
|
+
maxLength?: number;
|
|
218
|
+
minlength?: Numberish;
|
|
219
|
+
minLength?: number;
|
|
220
|
+
name?: string;
|
|
221
|
+
placeholder?: string;
|
|
222
|
+
readonly?: boolean;
|
|
223
|
+
readOnly?: boolean;
|
|
224
|
+
required?: boolean;
|
|
225
|
+
rows?: Numberish;
|
|
226
|
+
wrap?: "hard" | "soft" | "off";
|
|
227
|
+
"bind:value"?: BindAccessor<string | number>;
|
|
228
|
+
}
|
|
229
|
+
interface SelectAttributes {
|
|
230
|
+
autocomplete?: string;
|
|
231
|
+
autoComplete?: string;
|
|
232
|
+
disabled?: boolean;
|
|
233
|
+
form?: string;
|
|
234
|
+
multiple?: boolean;
|
|
235
|
+
name?: string;
|
|
236
|
+
required?: boolean;
|
|
237
|
+
size?: Numberish;
|
|
238
|
+
"bind:value"?: BindAccessor<string | number>;
|
|
239
|
+
}
|
|
240
|
+
interface ButtonAttributes extends FormTargetAttributes {
|
|
241
|
+
disabled?: boolean;
|
|
242
|
+
name?: string;
|
|
243
|
+
type?: "button" | "reset" | "submit";
|
|
244
|
+
value?: string | number;
|
|
245
|
+
}
|
|
246
|
+
interface ImgAttributes {
|
|
247
|
+
alt?: string;
|
|
248
|
+
crossorigin?: string;
|
|
249
|
+
crossOrigin?: string;
|
|
250
|
+
decoding?: "async" | "auto" | "sync";
|
|
251
|
+
fetchpriority?: "high" | "low" | "auto";
|
|
252
|
+
fetchPriority?: "high" | "low" | "auto";
|
|
253
|
+
height?: Numberish;
|
|
254
|
+
ismap?: boolean;
|
|
255
|
+
isMap?: boolean;
|
|
256
|
+
loading?: "eager" | "lazy";
|
|
257
|
+
referrerpolicy?: string;
|
|
258
|
+
referrerPolicy?: string;
|
|
259
|
+
sizes?: string;
|
|
260
|
+
src?: string;
|
|
261
|
+
srcset?: string;
|
|
262
|
+
srcSet?: string;
|
|
263
|
+
usemap?: string;
|
|
264
|
+
useMap?: string;
|
|
265
|
+
width?: Numberish;
|
|
266
|
+
}
|
|
267
|
+
interface FormAttributes {
|
|
268
|
+
"accept-charset"?: string;
|
|
269
|
+
acceptCharset?: string;
|
|
270
|
+
action?: string;
|
|
271
|
+
autocomplete?: "on" | "off";
|
|
272
|
+
autoComplete?: "on" | "off";
|
|
273
|
+
enctype?: string;
|
|
274
|
+
encType?: string;
|
|
275
|
+
method?: "dialog" | "get" | "post" | string;
|
|
276
|
+
name?: string;
|
|
277
|
+
novalidate?: boolean;
|
|
278
|
+
noValidate?: boolean;
|
|
279
|
+
rel?: string;
|
|
280
|
+
target?: string;
|
|
281
|
+
}
|
|
282
|
+
interface ScriptAttributes {
|
|
283
|
+
async?: boolean;
|
|
284
|
+
crossorigin?: string;
|
|
285
|
+
crossOrigin?: string;
|
|
286
|
+
defer?: boolean;
|
|
287
|
+
fetchpriority?: "high" | "low" | "auto";
|
|
288
|
+
fetchPriority?: "high" | "low" | "auto";
|
|
289
|
+
integrity?: string;
|
|
290
|
+
nomodule?: boolean;
|
|
291
|
+
noModule?: boolean;
|
|
292
|
+
referrerpolicy?: string;
|
|
293
|
+
referrerPolicy?: string;
|
|
294
|
+
src?: string;
|
|
295
|
+
type?: string;
|
|
296
|
+
}
|
|
297
|
+
interface LinkAttributes {
|
|
298
|
+
as?: string;
|
|
299
|
+
crossorigin?: string;
|
|
300
|
+
crossOrigin?: string;
|
|
301
|
+
disabled?: boolean;
|
|
302
|
+
fetchpriority?: "high" | "low" | "auto";
|
|
303
|
+
fetchPriority?: "high" | "low" | "auto";
|
|
304
|
+
href?: string;
|
|
305
|
+
hreflang?: string;
|
|
306
|
+
hrefLang?: string;
|
|
307
|
+
imagesizes?: string;
|
|
308
|
+
imageSizes?: string;
|
|
309
|
+
imagesrcset?: string;
|
|
310
|
+
imageSrcSet?: string;
|
|
311
|
+
integrity?: string;
|
|
312
|
+
media?: string;
|
|
313
|
+
referrerpolicy?: string;
|
|
314
|
+
referrerPolicy?: string;
|
|
315
|
+
rel?: string;
|
|
316
|
+
sizes?: string;
|
|
317
|
+
type?: string;
|
|
318
|
+
}
|
|
319
|
+
interface SourceAttributes {
|
|
320
|
+
height?: Numberish;
|
|
321
|
+
media?: string;
|
|
322
|
+
sizes?: string;
|
|
323
|
+
src?: string;
|
|
324
|
+
srcset?: string;
|
|
325
|
+
srcSet?: string;
|
|
326
|
+
type?: string;
|
|
327
|
+
width?: Numberish;
|
|
328
|
+
}
|
|
329
|
+
interface SVGPresentationAttributes {
|
|
330
|
+
accentHeight?: Numberish;
|
|
331
|
+
accumulate?: "none" | "sum";
|
|
332
|
+
additive?: "replace" | "sum";
|
|
333
|
+
alignmentBaseline?: string;
|
|
334
|
+
baselineShift?: string | number;
|
|
335
|
+
clipPath?: string;
|
|
336
|
+
clipRule?: "nonzero" | "evenodd" | "inherit";
|
|
337
|
+
color?: string;
|
|
338
|
+
cx?: string | number;
|
|
339
|
+
cy?: string | number;
|
|
340
|
+
d?: string;
|
|
341
|
+
direction?: "ltr" | "rtl" | "inherit";
|
|
342
|
+
display?: string;
|
|
343
|
+
dominantBaseline?: string;
|
|
344
|
+
dx?: string | number;
|
|
345
|
+
dy?: string | number;
|
|
346
|
+
fill?: string;
|
|
347
|
+
fillOpacity?: string | number;
|
|
348
|
+
fillRule?: "nonzero" | "evenodd" | "inherit";
|
|
349
|
+
filter?: string;
|
|
350
|
+
filterUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
351
|
+
gradientTransform?: string;
|
|
352
|
+
gradientUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
353
|
+
floodColor?: string;
|
|
354
|
+
floodOpacity?: string | number;
|
|
355
|
+
fontFamily?: string;
|
|
356
|
+
fontSize?: string | number;
|
|
357
|
+
fontStyle?: string;
|
|
358
|
+
fontWeight?: string | number;
|
|
359
|
+
height?: string | number;
|
|
360
|
+
markerEnd?: string;
|
|
361
|
+
markerMid?: string;
|
|
362
|
+
markerStart?: string;
|
|
363
|
+
markerUnits?: "strokeWidth" | "userSpaceOnUse";
|
|
364
|
+
mask?: string;
|
|
365
|
+
offset?: string | number;
|
|
366
|
+
opacity?: string | number;
|
|
367
|
+
orient?: string | number;
|
|
368
|
+
pathLength?: string | number;
|
|
369
|
+
patternContentUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
370
|
+
patternTransform?: string;
|
|
371
|
+
patternUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
372
|
+
points?: string;
|
|
373
|
+
preserveAspectRatio?: string;
|
|
374
|
+
primitiveUnits?: "objectBoundingBox" | "userSpaceOnUse";
|
|
375
|
+
refX?: string | number;
|
|
376
|
+
refY?: string | number;
|
|
377
|
+
r?: string | number;
|
|
378
|
+
rx?: string | number;
|
|
379
|
+
ry?: string | number;
|
|
380
|
+
stdDeviation?: string | number;
|
|
381
|
+
stopColor?: string;
|
|
382
|
+
stopOpacity?: string | number;
|
|
383
|
+
spreadMethod?: "pad" | "reflect" | "repeat";
|
|
384
|
+
stroke?: string;
|
|
385
|
+
strokeDasharray?: string | number;
|
|
386
|
+
strokeDashoffset?: string | number;
|
|
387
|
+
strokeLinecap?: "butt" | "round" | "square" | "inherit";
|
|
388
|
+
strokeLinejoin?: "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit";
|
|
389
|
+
strokeMiterlimit?: string | number;
|
|
390
|
+
strokeOpacity?: string | number;
|
|
391
|
+
strokeWidth?: string | number;
|
|
392
|
+
textAnchor?: "start" | "middle" | "end" | "inherit";
|
|
393
|
+
transform?: string;
|
|
394
|
+
vectorEffect?: string;
|
|
395
|
+
viewBox?: string;
|
|
396
|
+
visibility?: string;
|
|
397
|
+
width?: string | number;
|
|
398
|
+
x?: string | number;
|
|
399
|
+
x1?: string | number;
|
|
400
|
+
x2?: string | number;
|
|
401
|
+
href?: string;
|
|
402
|
+
"xlink:href"?: string;
|
|
403
|
+
xlinkHref?: string;
|
|
404
|
+
xmlns?: string;
|
|
405
|
+
y?: string | number;
|
|
406
|
+
y1?: string | number;
|
|
407
|
+
y2?: string | number;
|
|
408
|
+
}
|
|
409
|
+
type HtmlSpecificAttributes = {
|
|
410
|
+
a: AnchorAttributes;
|
|
411
|
+
area: AnchorAttributes & {
|
|
412
|
+
alt?: string;
|
|
413
|
+
coords?: string;
|
|
414
|
+
shape?: string;
|
|
415
|
+
};
|
|
416
|
+
audio: MediaAttributes;
|
|
417
|
+
base: Pick<AnchorAttributes, "href" | "target">;
|
|
418
|
+
blockquote: {
|
|
419
|
+
cite?: string;
|
|
420
|
+
};
|
|
421
|
+
button: ButtonAttributes & {
|
|
422
|
+
popovertarget?: string;
|
|
423
|
+
popoverTarget?: string;
|
|
424
|
+
popovertargetaction?: "hide" | "show" | "toggle";
|
|
425
|
+
popoverTargetAction?: "hide" | "show" | "toggle";
|
|
426
|
+
};
|
|
427
|
+
canvas: {
|
|
428
|
+
height?: Numberish;
|
|
429
|
+
width?: Numberish;
|
|
430
|
+
};
|
|
431
|
+
col: {
|
|
432
|
+
span?: Numberish;
|
|
433
|
+
};
|
|
434
|
+
colgroup: {
|
|
435
|
+
span?: Numberish;
|
|
436
|
+
};
|
|
437
|
+
data: {
|
|
438
|
+
value?: string | number;
|
|
439
|
+
};
|
|
440
|
+
del: {
|
|
441
|
+
cite?: string;
|
|
442
|
+
datetime?: string;
|
|
443
|
+
dateTime?: string;
|
|
444
|
+
};
|
|
445
|
+
details: {
|
|
446
|
+
open?: boolean;
|
|
447
|
+
name?: string;
|
|
448
|
+
"bind:open"?: BindAccessor<boolean>;
|
|
449
|
+
};
|
|
450
|
+
dialog: {
|
|
451
|
+
open?: boolean;
|
|
452
|
+
closedby?: string;
|
|
453
|
+
};
|
|
454
|
+
embed: {
|
|
455
|
+
height?: Numberish;
|
|
456
|
+
src?: string;
|
|
457
|
+
type?: string;
|
|
458
|
+
width?: Numberish;
|
|
459
|
+
};
|
|
460
|
+
fieldset: {
|
|
461
|
+
disabled?: boolean;
|
|
462
|
+
form?: string;
|
|
463
|
+
name?: string;
|
|
464
|
+
};
|
|
465
|
+
form: FormAttributes;
|
|
466
|
+
iframe: {
|
|
467
|
+
allow?: string;
|
|
468
|
+
allowfullscreen?: boolean;
|
|
469
|
+
allowFullScreen?: boolean;
|
|
470
|
+
height?: Numberish;
|
|
471
|
+
loading?: "eager" | "lazy";
|
|
472
|
+
name?: string;
|
|
473
|
+
referrerpolicy?: string;
|
|
474
|
+
referrerPolicy?: string;
|
|
475
|
+
sandbox?: string;
|
|
476
|
+
src?: string;
|
|
477
|
+
srcdoc?: string;
|
|
478
|
+
srcDoc?: string;
|
|
479
|
+
width?: Numberish;
|
|
480
|
+
};
|
|
481
|
+
img: ImgAttributes;
|
|
482
|
+
input: InputAttributes & {
|
|
483
|
+
popovertarget?: string;
|
|
484
|
+
popoverTarget?: string;
|
|
485
|
+
popovertargetaction?: "hide" | "show" | "toggle";
|
|
486
|
+
popoverTargetAction?: "hide" | "show" | "toggle";
|
|
487
|
+
};
|
|
488
|
+
ins: {
|
|
489
|
+
cite?: string;
|
|
490
|
+
datetime?: string;
|
|
491
|
+
dateTime?: string;
|
|
492
|
+
};
|
|
493
|
+
label: {
|
|
494
|
+
for?: string;
|
|
495
|
+
htmlFor?: string;
|
|
496
|
+
};
|
|
497
|
+
li: {
|
|
498
|
+
value?: number;
|
|
499
|
+
};
|
|
500
|
+
link: LinkAttributes;
|
|
501
|
+
map: {
|
|
502
|
+
name?: string;
|
|
503
|
+
};
|
|
504
|
+
meta: {
|
|
505
|
+
charset?: string;
|
|
506
|
+
charSet?: string;
|
|
507
|
+
content?: string;
|
|
508
|
+
"http-equiv"?: string;
|
|
509
|
+
httpEquiv?: string;
|
|
510
|
+
name?: string;
|
|
511
|
+
};
|
|
512
|
+
meter: {
|
|
513
|
+
high?: Numberish;
|
|
514
|
+
low?: Numberish;
|
|
515
|
+
max?: Numberish;
|
|
516
|
+
min?: Numberish;
|
|
517
|
+
optimum?: Numberish;
|
|
518
|
+
value?: Numberish;
|
|
519
|
+
};
|
|
520
|
+
object: {
|
|
521
|
+
data?: string;
|
|
522
|
+
form?: string;
|
|
523
|
+
height?: Numberish;
|
|
524
|
+
name?: string;
|
|
525
|
+
type?: string;
|
|
526
|
+
usemap?: string;
|
|
527
|
+
useMap?: string;
|
|
528
|
+
width?: Numberish;
|
|
529
|
+
};
|
|
530
|
+
ol: {
|
|
531
|
+
reversed?: boolean;
|
|
532
|
+
start?: Numberish;
|
|
533
|
+
type?: "1" | "a" | "A" | "i" | "I";
|
|
534
|
+
};
|
|
535
|
+
optgroup: {
|
|
536
|
+
disabled?: boolean;
|
|
537
|
+
label?: string;
|
|
538
|
+
};
|
|
539
|
+
option: {
|
|
540
|
+
disabled?: boolean;
|
|
541
|
+
label?: string;
|
|
542
|
+
selected?: boolean;
|
|
543
|
+
value?: string | number;
|
|
544
|
+
};
|
|
545
|
+
output: {
|
|
546
|
+
for?: string;
|
|
547
|
+
form?: string;
|
|
548
|
+
name?: string;
|
|
549
|
+
};
|
|
550
|
+
progress: {
|
|
551
|
+
max?: Numberish;
|
|
552
|
+
value?: Numberish;
|
|
553
|
+
};
|
|
554
|
+
q: {
|
|
555
|
+
cite?: string;
|
|
556
|
+
};
|
|
557
|
+
script: ScriptAttributes;
|
|
558
|
+
select: SelectAttributes;
|
|
559
|
+
slot: {
|
|
560
|
+
name?: string;
|
|
561
|
+
};
|
|
562
|
+
source: SourceAttributes;
|
|
563
|
+
style: {
|
|
564
|
+
media?: string;
|
|
565
|
+
title?: string;
|
|
566
|
+
type?: string;
|
|
567
|
+
};
|
|
568
|
+
td: {
|
|
569
|
+
colspan?: Numberish;
|
|
570
|
+
colSpan?: number;
|
|
571
|
+
headers?: string;
|
|
572
|
+
rowspan?: Numberish;
|
|
573
|
+
rowSpan?: number;
|
|
574
|
+
};
|
|
575
|
+
textarea: TextareaAttributes;
|
|
576
|
+
th: {
|
|
577
|
+
abbr?: string;
|
|
578
|
+
colspan?: Numberish;
|
|
579
|
+
colSpan?: number;
|
|
580
|
+
headers?: string;
|
|
581
|
+
rowspan?: Numberish;
|
|
582
|
+
rowSpan?: number;
|
|
583
|
+
scope?: "col" | "colgroup" | "row" | "rowgroup";
|
|
584
|
+
};
|
|
585
|
+
time: {
|
|
586
|
+
datetime?: string;
|
|
587
|
+
dateTime?: string;
|
|
588
|
+
};
|
|
589
|
+
track: {
|
|
590
|
+
default?: boolean;
|
|
591
|
+
kind?: "captions" | "chapters" | "descriptions" | "metadata" | "subtitles";
|
|
592
|
+
label?: string;
|
|
593
|
+
src?: string;
|
|
594
|
+
srclang?: string;
|
|
595
|
+
srcLang?: string;
|
|
596
|
+
};
|
|
597
|
+
video: MediaAttributes & {
|
|
598
|
+
height?: Numberish;
|
|
599
|
+
playsinline?: boolean;
|
|
600
|
+
playsInline?: boolean;
|
|
601
|
+
poster?: string;
|
|
602
|
+
width?: Numberish;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
/** `raw()` is valid anywhere JSX would otherwise accept a string attribute. */
|
|
606
|
+
type WithRawHtmlAttributeValues<T> = { [K in keyof T]: T[K] | (Extract<T[K], string> extends never ? never : RawHtml); };
|
|
607
|
+
export type IntrinsicElementProps<T extends globalThis.Element = HTMLElement> = WithRawHtmlAttributeValues<HTMLAttributes<T>>;
|
|
608
|
+
type HtmlIntrinsicElements = { [K in keyof HTMLElementTagNameMap]: WithRawHtmlAttributeValues<HTMLAttributes<HTMLElementTagNameMap[K]> & (K extends keyof HtmlSpecificAttributes ? HtmlSpecificAttributes[K] : {})>; };
|
|
609
|
+
type SvgOnlyIntrinsicElements = { [K in Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>]: WithRawHtmlAttributeValues<HTMLAttributes<SVGElementTagNameMap[K]> & SVGPresentationAttributes>; };
|
|
610
|
+
type SvgOverlapAttributes = { [K in Extract<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>]: WithRawHtmlAttributeValues<SVGPresentationAttributes>; };
|
|
611
|
+
type CustomEventAttributes<T extends globalThis.Element> = { [K in `on${string}`]?: NativeEventHandler<Event & {
|
|
612
|
+
readonly currentTarget: T;
|
|
613
|
+
}>; };
|
|
614
|
+
export interface CustomElementAttributes extends HTMLAttributes<HTMLElement> {
|
|
615
|
+
[name: string]: unknown;
|
|
616
|
+
}
|
|
617
|
+
type CustomIntrinsicElements = { [K in `${string}-${string}`]: CustomElementAttributes & CustomEventAttributes<HTMLElement>; };
|
|
618
|
+
export type IntrinsicElements = HtmlIntrinsicElements & SvgOnlyIntrinsicElements & SvgOverlapAttributes & CustomIntrinsicElements;
|
|
619
|
+
export {};
|
|
620
|
+
}
|
|
621
|
+
//#endregion
|
|
622
|
+
//#region src/jsx-runtime.d.ts
|
|
623
|
+
type JsxChild = unknown;
|
|
624
|
+
type JsxProps = Record<string, unknown> | null | undefined;
|
|
625
|
+
type JsxType = string | ((props: Record<string, unknown>) => unknown);
|
|
626
|
+
declare function jsx(type: JsxType, props: JsxProps, maybeKey?: JsxChild | string | number, ...restChildren: JsxChild[]): RawHtml;
|
|
627
|
+
declare const jsxs: typeof jsx;
|
|
628
|
+
declare function Fragment(props: {
|
|
629
|
+
children?: JsxChild;
|
|
630
|
+
} | null, ...children: JsxChild[]): RawHtml;
|
|
631
|
+
declare function jsxDEV(type: JsxType, props: JsxProps, maybeKey?: string | number, _source?: unknown, _self?: unknown): RawHtml;
|
|
632
|
+
//#endregion
|
|
633
|
+
export { JSX as a, jsxs as i, jsx as n, jsxDEV as r, Fragment as t };
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as JSX, i as jsxs, n as jsx, r as jsxDEV, t as Fragment } from "./jsx-runtime-
|
|
1
|
+
import { a as JSX, i as jsxs, n as jsx, r as jsxDEV, t as Fragment } from "./jsx-runtime-DJ2B4fvA.js";
|
|
2
2
|
export { Fragment, type JSX, jsx, jsxDEV, jsxs };
|