@pyreon/core 0.7.3 → 0.7.4
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/lib/jsx-dev-runtime.js.map +1 -1
- package/lib/jsx-runtime.js.map +1 -1
- package/lib/types/jsx-dev-runtime.d.ts +287 -288
- package/lib/types/jsx-dev-runtime.d.ts.map +1 -1
- package/lib/types/jsx-runtime.d.ts +287 -288
- package/lib/types/jsx-runtime.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/jsx-runtime.ts +287 -289
|
@@ -33,354 +33,353 @@ interface PyreonHTMLAttributes {
|
|
|
33
33
|
class?: string | (() => string) | undefined;
|
|
34
34
|
className?: string | (() => string) | undefined;
|
|
35
35
|
style?: StyleValue | (() => StyleValue) | undefined;
|
|
36
|
-
|
|
37
|
-
role?: string;
|
|
36
|
+
role?: string | undefined;
|
|
38
37
|
tabIndex?: number | (() => number) | undefined;
|
|
39
|
-
title?: string;
|
|
40
|
-
lang?: string;
|
|
41
|
-
dir?: "ltr" | "rtl" | "auto";
|
|
42
|
-
hidden?: boolean | (() => boolean);
|
|
43
|
-
draggable?: Booleanish;
|
|
44
|
-
"aria-label"?: string | (() => string);
|
|
45
|
-
"aria-hidden"?: Booleanish | (() => Booleanish);
|
|
46
|
-
"aria-disabled"?: Booleanish | (() => Booleanish);
|
|
47
|
-
"aria-expanded"?: Booleanish | (() => Booleanish);
|
|
48
|
-
"aria-selected"?: Booleanish | (() => Booleanish);
|
|
49
|
-
"aria-checked"?: Booleanish | "mixed" | (() => Booleanish | "mixed");
|
|
50
|
-
"aria-current"?: Booleanish | "page" | "step" | "location" | "date" | "time";
|
|
51
|
-
"aria-live"?: "off" | "assertive" | "polite";
|
|
52
|
-
"aria-atomic"?: Booleanish;
|
|
53
|
-
"aria-busy"?: Booleanish;
|
|
54
|
-
"aria-controls"?: string;
|
|
55
|
-
"aria-describedby"?: string;
|
|
56
|
-
"aria-labelledby"?: string;
|
|
57
|
-
"aria-placeholder"?: string;
|
|
58
|
-
"aria-required"?: Booleanish | (() => Booleanish);
|
|
59
|
-
"aria-invalid"?: Booleanish | "grammar" | "spelling";
|
|
60
|
-
"aria-valuemin"?: number;
|
|
61
|
-
"aria-valuemax"?: number;
|
|
62
|
-
"aria-valuenow"?: number;
|
|
63
|
-
"aria-valuetext"?: string;
|
|
64
|
-
"aria-haspopup"?: Booleanish | "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
65
|
-
"aria-posinset"?: number;
|
|
66
|
-
"aria-setsize"?: number;
|
|
67
|
-
"aria-level"?: number;
|
|
68
|
-
"aria-multiline"?: Booleanish;
|
|
69
|
-
"aria-multiselectable"?: Booleanish;
|
|
70
|
-
"aria-orientation"?: "horizontal" | "vertical";
|
|
71
|
-
"aria-readonly"?: Booleanish | (() => Booleanish);
|
|
72
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
73
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both";
|
|
74
|
-
"aria-colcount"?: number;
|
|
75
|
-
"aria-colindex"?: number;
|
|
76
|
-
"aria-colspan"?: number;
|
|
77
|
-
"aria-rowcount"?: number;
|
|
78
|
-
"aria-rowindex"?: number;
|
|
79
|
-
"aria-rowspan"?: number;
|
|
38
|
+
title?: string | undefined;
|
|
39
|
+
lang?: string | undefined;
|
|
40
|
+
dir?: "ltr" | "rtl" | "auto" | undefined;
|
|
41
|
+
hidden?: boolean | (() => boolean) | undefined;
|
|
42
|
+
draggable?: Booleanish | undefined;
|
|
43
|
+
"aria-label"?: string | (() => string) | undefined;
|
|
44
|
+
"aria-hidden"?: Booleanish | (() => Booleanish) | undefined;
|
|
45
|
+
"aria-disabled"?: Booleanish | (() => Booleanish) | undefined;
|
|
46
|
+
"aria-expanded"?: Booleanish | (() => Booleanish) | undefined;
|
|
47
|
+
"aria-selected"?: Booleanish | (() => Booleanish) | undefined;
|
|
48
|
+
"aria-checked"?: Booleanish | "mixed" | (() => Booleanish | "mixed") | undefined;
|
|
49
|
+
"aria-current"?: Booleanish | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
50
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
51
|
+
"aria-atomic"?: Booleanish | undefined;
|
|
52
|
+
"aria-busy"?: Booleanish | undefined;
|
|
53
|
+
"aria-controls"?: string | undefined;
|
|
54
|
+
"aria-describedby"?: string | undefined;
|
|
55
|
+
"aria-labelledby"?: string | undefined;
|
|
56
|
+
"aria-placeholder"?: string | undefined;
|
|
57
|
+
"aria-required"?: Booleanish | (() => Booleanish) | undefined;
|
|
58
|
+
"aria-invalid"?: Booleanish | "grammar" | "spelling" | undefined;
|
|
59
|
+
"aria-valuemin"?: number | undefined;
|
|
60
|
+
"aria-valuemax"?: number | undefined;
|
|
61
|
+
"aria-valuenow"?: number | undefined;
|
|
62
|
+
"aria-valuetext"?: string | undefined;
|
|
63
|
+
"aria-haspopup"?: Booleanish | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
64
|
+
"aria-posinset"?: number | undefined;
|
|
65
|
+
"aria-setsize"?: number | undefined;
|
|
66
|
+
"aria-level"?: number | undefined;
|
|
67
|
+
"aria-multiline"?: Booleanish | undefined;
|
|
68
|
+
"aria-multiselectable"?: Booleanish | undefined;
|
|
69
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
70
|
+
"aria-readonly"?: Booleanish | (() => Booleanish) | undefined;
|
|
71
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
72
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
73
|
+
"aria-colcount"?: number | undefined;
|
|
74
|
+
"aria-colindex"?: number | undefined;
|
|
75
|
+
"aria-colspan"?: number | undefined;
|
|
76
|
+
"aria-rowcount"?: number | undefined;
|
|
77
|
+
"aria-rowindex"?: number | undefined;
|
|
78
|
+
"aria-rowspan"?: number | undefined;
|
|
80
79
|
ref?: {
|
|
81
80
|
current: unknown;
|
|
82
81
|
} | ((el: Element | null) => void) | undefined;
|
|
83
82
|
key?: string | number | undefined;
|
|
84
83
|
children?: VNodeChild | VNodeChild[];
|
|
85
|
-
innerHTML?: string;
|
|
84
|
+
innerHTML?: string | undefined;
|
|
86
85
|
dangerouslySetInnerHTML?: {
|
|
87
86
|
__html: string;
|
|
88
|
-
};
|
|
89
|
-
onClick?: (e: MouseEvent) => void;
|
|
90
|
-
onDblClick?: (e: MouseEvent) => void;
|
|
91
|
-
onMouseDown?: (e: MouseEvent) => void;
|
|
92
|
-
onMouseUp?: (e: MouseEvent) => void;
|
|
93
|
-
onMouseEnter?: (e: MouseEvent) => void;
|
|
94
|
-
onMouseLeave?: (e: MouseEvent) => void;
|
|
95
|
-
onMouseMove?: (e: MouseEvent) => void;
|
|
96
|
-
onMouseOver?: (e: MouseEvent) => void;
|
|
97
|
-
onMouseOut?: (e: MouseEvent) => void;
|
|
98
|
-
onContextMenu?: (e: MouseEvent) => void;
|
|
99
|
-
onKeyDown?: (e: KeyboardEvent) => void;
|
|
100
|
-
onKeyUp?: (e: KeyboardEvent) => void;
|
|
101
|
-
onKeyPress?: (e: KeyboardEvent) => void;
|
|
102
|
-
onFocus?: (e: FocusEvent) => void;
|
|
103
|
-
onBlur?: (e: FocusEvent) => void;
|
|
104
|
-
onChange?: (e: Event) => void;
|
|
105
|
-
onInput?: (e: InputEvent) => void;
|
|
106
|
-
onSubmit?: (e: SubmitEvent) => void;
|
|
107
|
-
onReset?: (e: Event) => void;
|
|
108
|
-
onScroll?: (e: Event) => void;
|
|
109
|
-
onWheel?: (e: WheelEvent) => void;
|
|
110
|
-
onDragStart?: (e: DragEvent) => void;
|
|
111
|
-
onDragEnd?: (e: DragEvent) => void;
|
|
112
|
-
onDragOver?: (e: DragEvent) => void;
|
|
113
|
-
onDragEnter?: (e: DragEvent) => void;
|
|
114
|
-
onDragLeave?: (e: DragEvent) => void;
|
|
115
|
-
onDrop?: (e: DragEvent) => void;
|
|
116
|
-
onTouchStart?: (e: TouchEvent) => void;
|
|
117
|
-
onTouchEnd?: (e: TouchEvent) => void;
|
|
118
|
-
onTouchMove?: (e: TouchEvent) => void;
|
|
119
|
-
onPointerDown?: (e: PointerEvent) => void;
|
|
120
|
-
onPointerUp?: (e: PointerEvent) => void;
|
|
121
|
-
onPointerMove?: (e: PointerEvent) => void;
|
|
122
|
-
onPointerEnter?: (e: PointerEvent) => void;
|
|
123
|
-
onPointerLeave?: (e: PointerEvent) => void;
|
|
124
|
-
onPointerCancel?: (e: PointerEvent) => void;
|
|
125
|
-
onPointerOver?: (e: PointerEvent) => void;
|
|
126
|
-
onPointerOut?: (e: PointerEvent) => void;
|
|
127
|
-
onTransitionEnd?: (e: TransitionEvent) => void;
|
|
128
|
-
onAnimationStart?: (e: AnimationEvent) => void;
|
|
129
|
-
onAnimationEnd?: (e: AnimationEvent) => void;
|
|
130
|
-
onAnimationIteration?: (e: AnimationEvent) => void;
|
|
131
|
-
onLoad?: (e: Event) => void;
|
|
132
|
-
onError?: (e: Event | string) => void;
|
|
133
|
-
onAbort?: (e: Event) => void;
|
|
134
|
-
onSelect?: (e: Event) => void;
|
|
135
|
-
onCopy?: (e: ClipboardEvent) => void;
|
|
136
|
-
onCut?: (e: ClipboardEvent) => void;
|
|
137
|
-
onPaste?: (e: ClipboardEvent) => void;
|
|
87
|
+
} | undefined;
|
|
88
|
+
onClick?: ((e: MouseEvent) => void) | undefined;
|
|
89
|
+
onDblClick?: ((e: MouseEvent) => void) | undefined;
|
|
90
|
+
onMouseDown?: ((e: MouseEvent) => void) | undefined;
|
|
91
|
+
onMouseUp?: ((e: MouseEvent) => void) | undefined;
|
|
92
|
+
onMouseEnter?: ((e: MouseEvent) => void) | undefined;
|
|
93
|
+
onMouseLeave?: ((e: MouseEvent) => void) | undefined;
|
|
94
|
+
onMouseMove?: ((e: MouseEvent) => void) | undefined;
|
|
95
|
+
onMouseOver?: ((e: MouseEvent) => void) | undefined;
|
|
96
|
+
onMouseOut?: ((e: MouseEvent) => void) | undefined;
|
|
97
|
+
onContextMenu?: ((e: MouseEvent) => void) | undefined;
|
|
98
|
+
onKeyDown?: ((e: KeyboardEvent) => void) | undefined;
|
|
99
|
+
onKeyUp?: ((e: KeyboardEvent) => void) | undefined;
|
|
100
|
+
onKeyPress?: ((e: KeyboardEvent) => void) | undefined;
|
|
101
|
+
onFocus?: ((e: FocusEvent) => void) | undefined;
|
|
102
|
+
onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
103
|
+
onChange?: ((e: Event) => void) | undefined;
|
|
104
|
+
onInput?: ((e: InputEvent) => void) | undefined;
|
|
105
|
+
onSubmit?: ((e: SubmitEvent) => void) | undefined;
|
|
106
|
+
onReset?: ((e: Event) => void) | undefined;
|
|
107
|
+
onScroll?: ((e: Event) => void) | undefined;
|
|
108
|
+
onWheel?: ((e: WheelEvent) => void) | undefined;
|
|
109
|
+
onDragStart?: ((e: DragEvent) => void) | undefined;
|
|
110
|
+
onDragEnd?: ((e: DragEvent) => void) | undefined;
|
|
111
|
+
onDragOver?: ((e: DragEvent) => void) | undefined;
|
|
112
|
+
onDragEnter?: ((e: DragEvent) => void) | undefined;
|
|
113
|
+
onDragLeave?: ((e: DragEvent) => void) | undefined;
|
|
114
|
+
onDrop?: ((e: DragEvent) => void) | undefined;
|
|
115
|
+
onTouchStart?: ((e: TouchEvent) => void) | undefined;
|
|
116
|
+
onTouchEnd?: ((e: TouchEvent) => void) | undefined;
|
|
117
|
+
onTouchMove?: ((e: TouchEvent) => void) | undefined;
|
|
118
|
+
onPointerDown?: ((e: PointerEvent) => void) | undefined;
|
|
119
|
+
onPointerUp?: ((e: PointerEvent) => void) | undefined;
|
|
120
|
+
onPointerMove?: ((e: PointerEvent) => void) | undefined;
|
|
121
|
+
onPointerEnter?: ((e: PointerEvent) => void) | undefined;
|
|
122
|
+
onPointerLeave?: ((e: PointerEvent) => void) | undefined;
|
|
123
|
+
onPointerCancel?: ((e: PointerEvent) => void) | undefined;
|
|
124
|
+
onPointerOver?: ((e: PointerEvent) => void) | undefined;
|
|
125
|
+
onPointerOut?: ((e: PointerEvent) => void) | undefined;
|
|
126
|
+
onTransitionEnd?: ((e: TransitionEvent) => void) | undefined;
|
|
127
|
+
onAnimationStart?: ((e: AnimationEvent) => void) | undefined;
|
|
128
|
+
onAnimationEnd?: ((e: AnimationEvent) => void) | undefined;
|
|
129
|
+
onAnimationIteration?: ((e: AnimationEvent) => void) | undefined;
|
|
130
|
+
onLoad?: ((e: Event) => void) | undefined;
|
|
131
|
+
onError?: ((e: Event | string) => void) | undefined;
|
|
132
|
+
onAbort?: ((e: Event) => void) | undefined;
|
|
133
|
+
onSelect?: ((e: Event) => void) | undefined;
|
|
134
|
+
onCopy?: ((e: ClipboardEvent) => void) | undefined;
|
|
135
|
+
onCut?: ((e: ClipboardEvent) => void) | undefined;
|
|
136
|
+
onPaste?: ((e: ClipboardEvent) => void) | undefined;
|
|
138
137
|
[key: string]: unknown;
|
|
139
138
|
}
|
|
140
139
|
/** Attributes specific to form inputs */
|
|
141
140
|
interface InputAttributes extends PyreonHTMLAttributes {
|
|
142
|
-
type?: string | (() => string);
|
|
143
|
-
value?: string | number | (() => string | number);
|
|
144
|
-
defaultValue?: string | number;
|
|
145
|
-
checked?: boolean | (() => boolean);
|
|
146
|
-
defaultChecked?: boolean;
|
|
147
|
-
placeholder?: string | (() => string);
|
|
148
|
-
disabled?: boolean | (() => boolean);
|
|
149
|
-
readOnly?: boolean;
|
|
150
|
-
required?: boolean | (() => boolean);
|
|
151
|
-
min?: string | number;
|
|
152
|
-
max?: string | number;
|
|
153
|
-
step?: string | number;
|
|
154
|
-
minLength?: number;
|
|
155
|
-
maxLength?: number;
|
|
156
|
-
pattern?: string;
|
|
157
|
-
multiple?: boolean;
|
|
158
|
-
name?: string;
|
|
159
|
-
accept?: string;
|
|
160
|
-
autoComplete?: string;
|
|
161
|
-
autoFocus?: boolean;
|
|
162
|
-
form?: string;
|
|
163
|
-
list?: string;
|
|
164
|
-
size?: number;
|
|
165
|
-
src?: string | (() => string);
|
|
166
|
-
alt?: string;
|
|
167
|
-
width?: number | string;
|
|
168
|
-
height?: number | string;
|
|
141
|
+
type?: string | (() => string) | undefined;
|
|
142
|
+
value?: string | number | (() => string | number) | undefined;
|
|
143
|
+
defaultValue?: string | number | undefined;
|
|
144
|
+
checked?: boolean | (() => boolean) | undefined;
|
|
145
|
+
defaultChecked?: boolean | undefined;
|
|
146
|
+
placeholder?: string | (() => string) | undefined;
|
|
147
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
148
|
+
readOnly?: boolean | undefined;
|
|
149
|
+
required?: boolean | (() => boolean) | undefined;
|
|
150
|
+
min?: string | number | undefined;
|
|
151
|
+
max?: string | number | undefined;
|
|
152
|
+
step?: string | number | undefined;
|
|
153
|
+
minLength?: number | undefined;
|
|
154
|
+
maxLength?: number | undefined;
|
|
155
|
+
pattern?: string | undefined;
|
|
156
|
+
multiple?: boolean | undefined;
|
|
157
|
+
name?: string | undefined;
|
|
158
|
+
accept?: string | undefined;
|
|
159
|
+
autoComplete?: string | undefined;
|
|
160
|
+
autoFocus?: boolean | undefined;
|
|
161
|
+
form?: string | undefined;
|
|
162
|
+
list?: string | undefined;
|
|
163
|
+
size?: number | undefined;
|
|
164
|
+
src?: string | (() => string) | undefined;
|
|
165
|
+
alt?: string | undefined;
|
|
166
|
+
width?: number | string | undefined;
|
|
167
|
+
height?: number | string | undefined;
|
|
169
168
|
}
|
|
170
169
|
interface AnchorAttributes extends PyreonHTMLAttributes {
|
|
171
|
-
href?: string | (() => string);
|
|
172
|
-
target?: "_blank" | "_self" | "_parent" | "_top" | string;
|
|
173
|
-
rel?: string;
|
|
174
|
-
download?: string | boolean;
|
|
170
|
+
href?: string | (() => string) | undefined;
|
|
171
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | string | undefined;
|
|
172
|
+
rel?: string | undefined;
|
|
173
|
+
download?: string | boolean | undefined;
|
|
175
174
|
}
|
|
176
175
|
interface ButtonAttributes extends PyreonHTMLAttributes {
|
|
177
|
-
type?: "button" | "submit" | "reset";
|
|
178
|
-
disabled?: boolean | (() => boolean);
|
|
179
|
-
name?: string;
|
|
180
|
-
value?: string;
|
|
181
|
-
form?: string;
|
|
182
|
-
formAction?: string;
|
|
183
|
-
formMethod?: string;
|
|
184
|
-
formEncType?: string;
|
|
185
|
-
formNoValidate?: boolean;
|
|
186
|
-
formTarget?: string;
|
|
176
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
177
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
178
|
+
name?: string | undefined;
|
|
179
|
+
value?: string | undefined;
|
|
180
|
+
form?: string | undefined;
|
|
181
|
+
formAction?: string | undefined;
|
|
182
|
+
formMethod?: string | undefined;
|
|
183
|
+
formEncType?: string | undefined;
|
|
184
|
+
formNoValidate?: boolean | undefined;
|
|
185
|
+
formTarget?: string | undefined;
|
|
187
186
|
}
|
|
188
187
|
interface TextareaAttributes extends PyreonHTMLAttributes {
|
|
189
|
-
value?: string | (() => string);
|
|
190
|
-
defaultValue?: string;
|
|
191
|
-
placeholder?: string | (() => string);
|
|
192
|
-
disabled?: boolean | (() => boolean);
|
|
193
|
-
readOnly?: boolean;
|
|
194
|
-
required?: boolean | (() => boolean);
|
|
195
|
-
rows?: number;
|
|
196
|
-
cols?: number;
|
|
197
|
-
minLength?: number;
|
|
198
|
-
maxLength?: number;
|
|
199
|
-
name?: string;
|
|
200
|
-
autoFocus?: boolean;
|
|
201
|
-
form?: string;
|
|
202
|
-
wrap?: "hard" | "soft";
|
|
188
|
+
value?: string | (() => string) | undefined;
|
|
189
|
+
defaultValue?: string | undefined;
|
|
190
|
+
placeholder?: string | (() => string) | undefined;
|
|
191
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
192
|
+
readOnly?: boolean | undefined;
|
|
193
|
+
required?: boolean | (() => boolean) | undefined;
|
|
194
|
+
rows?: number | undefined;
|
|
195
|
+
cols?: number | undefined;
|
|
196
|
+
minLength?: number | undefined;
|
|
197
|
+
maxLength?: number | undefined;
|
|
198
|
+
name?: string | undefined;
|
|
199
|
+
autoFocus?: boolean | undefined;
|
|
200
|
+
form?: string | undefined;
|
|
201
|
+
wrap?: "hard" | "soft" | undefined;
|
|
203
202
|
}
|
|
204
203
|
interface SelectAttributes extends PyreonHTMLAttributes {
|
|
205
|
-
value?: string | string[] | (() => string | string[]);
|
|
206
|
-
defaultValue?: string | string[];
|
|
207
|
-
disabled?: boolean | (() => boolean);
|
|
208
|
-
required?: boolean | (() => boolean);
|
|
209
|
-
multiple?: boolean;
|
|
210
|
-
name?: string;
|
|
211
|
-
size?: number;
|
|
212
|
-
form?: string;
|
|
213
|
-
autoFocus?: boolean;
|
|
204
|
+
value?: string | string[] | (() => string | string[]) | undefined;
|
|
205
|
+
defaultValue?: string | string[] | undefined;
|
|
206
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
207
|
+
required?: boolean | (() => boolean) | undefined;
|
|
208
|
+
multiple?: boolean | undefined;
|
|
209
|
+
name?: string | undefined;
|
|
210
|
+
size?: number | undefined;
|
|
211
|
+
form?: string | undefined;
|
|
212
|
+
autoFocus?: boolean | undefined;
|
|
214
213
|
}
|
|
215
214
|
interface OptionAttributes extends PyreonHTMLAttributes {
|
|
216
|
-
value?: string | number | (() => string | number);
|
|
217
|
-
disabled?: boolean | (() => boolean);
|
|
218
|
-
selected?: boolean | (() => boolean);
|
|
219
|
-
label?: string;
|
|
215
|
+
value?: string | number | (() => string | number) | undefined;
|
|
216
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
217
|
+
selected?: boolean | (() => boolean) | undefined;
|
|
218
|
+
label?: string | undefined;
|
|
220
219
|
}
|
|
221
220
|
interface FormAttributes extends PyreonHTMLAttributes {
|
|
222
|
-
action?: string;
|
|
223
|
-
method?: "get" | "post";
|
|
224
|
-
encType?: string;
|
|
225
|
-
noValidate?: boolean;
|
|
226
|
-
target?: string;
|
|
227
|
-
name?: string;
|
|
228
|
-
autoComplete?: string;
|
|
221
|
+
action?: string | undefined;
|
|
222
|
+
method?: "get" | "post" | undefined;
|
|
223
|
+
encType?: string | undefined;
|
|
224
|
+
noValidate?: boolean | undefined;
|
|
225
|
+
target?: string | undefined;
|
|
226
|
+
name?: string | undefined;
|
|
227
|
+
autoComplete?: string | undefined;
|
|
229
228
|
}
|
|
230
229
|
interface ImgAttributes extends PyreonHTMLAttributes {
|
|
231
|
-
src?: string | (() => string);
|
|
232
|
-
alt?: string | (() => string);
|
|
233
|
-
width?: number | string | (() => number | string);
|
|
234
|
-
height?: number | string | (() => number | string);
|
|
235
|
-
loading?: "lazy" | "eager";
|
|
236
|
-
decoding?: "auto" | "async" | "sync";
|
|
237
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
238
|
-
referrerPolicy?: string;
|
|
239
|
-
srcSet?: string;
|
|
240
|
-
sizes?: string;
|
|
230
|
+
src?: string | (() => string) | undefined;
|
|
231
|
+
alt?: string | (() => string) | undefined;
|
|
232
|
+
width?: number | string | (() => number | string) | undefined;
|
|
233
|
+
height?: number | string | (() => number | string) | undefined;
|
|
234
|
+
loading?: "lazy" | "eager" | undefined;
|
|
235
|
+
decoding?: "auto" | "async" | "sync" | undefined;
|
|
236
|
+
crossOrigin?: "anonymous" | "use-credentials" | undefined;
|
|
237
|
+
referrerPolicy?: string | undefined;
|
|
238
|
+
srcSet?: string | undefined;
|
|
239
|
+
sizes?: string | undefined;
|
|
241
240
|
}
|
|
242
241
|
interface VideoAttributes extends PyreonHTMLAttributes {
|
|
243
|
-
src?: string | (() => string);
|
|
244
|
-
width?: number | string;
|
|
245
|
-
height?: number | string;
|
|
246
|
-
controls?: boolean;
|
|
247
|
-
autoPlay?: boolean;
|
|
248
|
-
muted?: boolean;
|
|
249
|
-
loop?: boolean;
|
|
250
|
-
poster?: string;
|
|
251
|
-
preload?: "none" | "metadata" | "auto";
|
|
252
|
-
playsInline?: boolean;
|
|
253
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
242
|
+
src?: string | (() => string) | undefined;
|
|
243
|
+
width?: number | string | undefined;
|
|
244
|
+
height?: number | string | undefined;
|
|
245
|
+
controls?: boolean | undefined;
|
|
246
|
+
autoPlay?: boolean | undefined;
|
|
247
|
+
muted?: boolean | undefined;
|
|
248
|
+
loop?: boolean | undefined;
|
|
249
|
+
poster?: string | undefined;
|
|
250
|
+
preload?: "none" | "metadata" | "auto" | undefined;
|
|
251
|
+
playsInline?: boolean | undefined;
|
|
252
|
+
crossOrigin?: "anonymous" | "use-credentials" | undefined;
|
|
254
253
|
}
|
|
255
254
|
interface AudioAttributes extends PyreonHTMLAttributes {
|
|
256
|
-
src?: string | (() => string);
|
|
257
|
-
controls?: boolean;
|
|
258
|
-
autoPlay?: boolean;
|
|
259
|
-
muted?: boolean;
|
|
260
|
-
loop?: boolean;
|
|
261
|
-
preload?: "none" | "metadata" | "auto";
|
|
262
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
255
|
+
src?: string | (() => string) | undefined;
|
|
256
|
+
controls?: boolean | undefined;
|
|
257
|
+
autoPlay?: boolean | undefined;
|
|
258
|
+
muted?: boolean | undefined;
|
|
259
|
+
loop?: boolean | undefined;
|
|
260
|
+
preload?: "none" | "metadata" | "auto" | undefined;
|
|
261
|
+
crossOrigin?: "anonymous" | "use-credentials" | undefined;
|
|
263
262
|
}
|
|
264
263
|
interface LabelAttributes extends PyreonHTMLAttributes {
|
|
265
|
-
htmlFor?: string;
|
|
266
|
-
for?: string;
|
|
267
|
-
form?: string;
|
|
264
|
+
htmlFor?: string | undefined;
|
|
265
|
+
for?: string | undefined;
|
|
266
|
+
form?: string | undefined;
|
|
268
267
|
}
|
|
269
268
|
interface ThAttributes extends PyreonHTMLAttributes {
|
|
270
|
-
colSpan?: number;
|
|
271
|
-
rowSpan?: number;
|
|
272
|
-
scope?: "col" | "row" | "colgroup" | "rowgroup";
|
|
273
|
-
abbr?: string;
|
|
274
|
-
headers?: string;
|
|
269
|
+
colSpan?: number | undefined;
|
|
270
|
+
rowSpan?: number | undefined;
|
|
271
|
+
scope?: "col" | "row" | "colgroup" | "rowgroup" | undefined;
|
|
272
|
+
abbr?: string | undefined;
|
|
273
|
+
headers?: string | undefined;
|
|
275
274
|
}
|
|
276
275
|
interface TdAttributes extends PyreonHTMLAttributes {
|
|
277
|
-
colSpan?: number;
|
|
278
|
-
rowSpan?: number;
|
|
279
|
-
headers?: string;
|
|
276
|
+
colSpan?: number | undefined;
|
|
277
|
+
rowSpan?: number | undefined;
|
|
278
|
+
headers?: string | undefined;
|
|
280
279
|
}
|
|
281
280
|
interface ColAttributes extends PyreonHTMLAttributes {
|
|
282
|
-
span?: number;
|
|
281
|
+
span?: number | undefined;
|
|
283
282
|
}
|
|
284
283
|
interface IframeAttributes extends PyreonHTMLAttributes {
|
|
285
|
-
src?: string | (() => string);
|
|
286
|
-
width?: number | string;
|
|
287
|
-
height?: number | string;
|
|
288
|
-
allow?: string;
|
|
289
|
-
allowFullScreen?: boolean;
|
|
290
|
-
loading?: "lazy" | "eager";
|
|
291
|
-
name?: string;
|
|
292
|
-
sandbox?: string;
|
|
293
|
-
referrerPolicy?: string;
|
|
294
|
-
title?: string;
|
|
284
|
+
src?: string | (() => string) | undefined;
|
|
285
|
+
width?: number | string | undefined;
|
|
286
|
+
height?: number | string | undefined;
|
|
287
|
+
allow?: string | undefined;
|
|
288
|
+
allowFullScreen?: boolean | undefined;
|
|
289
|
+
loading?: "lazy" | "eager" | undefined;
|
|
290
|
+
name?: string | undefined;
|
|
291
|
+
sandbox?: string | undefined;
|
|
292
|
+
referrerPolicy?: string | undefined;
|
|
293
|
+
title?: string | undefined;
|
|
295
294
|
}
|
|
296
295
|
interface LinkAttributes extends PyreonHTMLAttributes {
|
|
297
|
-
href?: string | (() => string);
|
|
298
|
-
rel?: string;
|
|
299
|
-
type?: string;
|
|
300
|
-
as?: string;
|
|
301
|
-
media?: string;
|
|
302
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
303
|
-
integrity?: string;
|
|
304
|
-
referrerPolicy?: string;
|
|
296
|
+
href?: string | (() => string) | undefined;
|
|
297
|
+
rel?: string | undefined;
|
|
298
|
+
type?: string | undefined;
|
|
299
|
+
as?: string | undefined;
|
|
300
|
+
media?: string | undefined;
|
|
301
|
+
crossOrigin?: "anonymous" | "use-credentials" | undefined;
|
|
302
|
+
integrity?: string | undefined;
|
|
303
|
+
referrerPolicy?: string | undefined;
|
|
305
304
|
}
|
|
306
305
|
interface MetaAttributes extends PyreonHTMLAttributes {
|
|
307
|
-
name?: string;
|
|
308
|
-
content?: string | (() => string);
|
|
309
|
-
httpEquiv?: string;
|
|
310
|
-
charset?: string;
|
|
311
|
-
property?: string;
|
|
306
|
+
name?: string | undefined;
|
|
307
|
+
content?: string | (() => string) | undefined;
|
|
308
|
+
httpEquiv?: string | undefined;
|
|
309
|
+
charset?: string | undefined;
|
|
310
|
+
property?: string | undefined;
|
|
312
311
|
}
|
|
313
312
|
interface ScriptAttributes extends PyreonHTMLAttributes {
|
|
314
|
-
src?: string | (() => string);
|
|
315
|
-
type?: string;
|
|
316
|
-
async?: boolean;
|
|
317
|
-
defer?: boolean;
|
|
318
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
319
|
-
integrity?: string;
|
|
320
|
-
noModule?: boolean;
|
|
321
|
-
referrerPolicy?: string;
|
|
313
|
+
src?: string | (() => string) | undefined;
|
|
314
|
+
type?: string | undefined;
|
|
315
|
+
async?: boolean | undefined;
|
|
316
|
+
defer?: boolean | undefined;
|
|
317
|
+
crossOrigin?: "anonymous" | "use-credentials" | undefined;
|
|
318
|
+
integrity?: string | undefined;
|
|
319
|
+
noModule?: boolean | undefined;
|
|
320
|
+
referrerPolicy?: string | undefined;
|
|
322
321
|
}
|
|
323
322
|
interface SourceAttributes extends PyreonHTMLAttributes {
|
|
324
|
-
src?: string | (() => string);
|
|
325
|
-
type?: string;
|
|
326
|
-
srcSet?: string;
|
|
327
|
-
sizes?: string;
|
|
328
|
-
media?: string;
|
|
323
|
+
src?: string | (() => string) | undefined;
|
|
324
|
+
type?: string | undefined;
|
|
325
|
+
srcSet?: string | undefined;
|
|
326
|
+
sizes?: string | undefined;
|
|
327
|
+
media?: string | undefined;
|
|
329
328
|
}
|
|
330
329
|
interface ProgressAttributes extends PyreonHTMLAttributes {
|
|
331
|
-
value?: number | (() => number);
|
|
332
|
-
max?: number;
|
|
330
|
+
value?: number | (() => number) | undefined;
|
|
331
|
+
max?: number | undefined;
|
|
333
332
|
}
|
|
334
333
|
interface MeterAttributes extends PyreonHTMLAttributes {
|
|
335
|
-
value?: number | (() => number);
|
|
336
|
-
min?: number;
|
|
337
|
-
max?: number;
|
|
338
|
-
low?: number;
|
|
339
|
-
high?: number;
|
|
340
|
-
optimum?: number;
|
|
334
|
+
value?: number | (() => number) | undefined;
|
|
335
|
+
min?: number | undefined;
|
|
336
|
+
max?: number | undefined;
|
|
337
|
+
low?: number | undefined;
|
|
338
|
+
high?: number | undefined;
|
|
339
|
+
optimum?: number | undefined;
|
|
341
340
|
}
|
|
342
341
|
interface DetailsAttributes extends PyreonHTMLAttributes {
|
|
343
|
-
open?: boolean | (() => boolean);
|
|
342
|
+
open?: boolean | (() => boolean) | undefined;
|
|
344
343
|
}
|
|
345
344
|
interface DialogAttributes extends PyreonHTMLAttributes {
|
|
346
|
-
open?: boolean | (() => boolean);
|
|
345
|
+
open?: boolean | (() => boolean) | undefined;
|
|
347
346
|
}
|
|
348
347
|
interface OlAttributes extends PyreonHTMLAttributes {
|
|
349
|
-
start?: number;
|
|
350
|
-
reversed?: boolean;
|
|
351
|
-
type?: "1" | "a" | "A" | "i" | "I";
|
|
348
|
+
start?: number | undefined;
|
|
349
|
+
reversed?: boolean | undefined;
|
|
350
|
+
type?: "1" | "a" | "A" | "i" | "I" | undefined;
|
|
352
351
|
}
|
|
353
352
|
interface SvgAttributes extends PyreonHTMLAttributes {
|
|
354
|
-
viewBox?: string;
|
|
355
|
-
xmlns?: string;
|
|
356
|
-
fill?: string | (() => string);
|
|
357
|
-
stroke?: string | (() => string);
|
|
358
|
-
"stroke-width"?: string | number;
|
|
359
|
-
"stroke-linecap"?: "butt" | "round" | "square";
|
|
360
|
-
"stroke-linejoin"?: "miter" | "round" | "bevel";
|
|
361
|
-
"fill-rule"?: "nonzero" | "evenodd";
|
|
362
|
-
"clip-rule"?: "nonzero" | "evenodd";
|
|
363
|
-
"clip-path"?: string;
|
|
364
|
-
d?: string;
|
|
365
|
-
cx?: string | number;
|
|
366
|
-
cy?: string | number;
|
|
367
|
-
r?: string | number;
|
|
368
|
-
rx?: string | number;
|
|
369
|
-
ry?: string | number;
|
|
370
|
-
x?: string | number;
|
|
371
|
-
y?: string | number;
|
|
372
|
-
x1?: string | number;
|
|
373
|
-
y1?: string | number;
|
|
374
|
-
x2?: string | number;
|
|
375
|
-
y2?: string | number;
|
|
376
|
-
width?: string | number;
|
|
377
|
-
height?: string | number;
|
|
378
|
-
transform?: string | (() => string);
|
|
379
|
-
opacity?: string | number | (() => string | number);
|
|
380
|
-
points?: string;
|
|
381
|
-
"font-size"?: string | number;
|
|
382
|
-
"text-anchor"?: "start" | "middle" | "end";
|
|
383
|
-
"dominant-baseline"?: string;
|
|
353
|
+
viewBox?: string | undefined;
|
|
354
|
+
xmlns?: string | undefined;
|
|
355
|
+
fill?: string | (() => string) | undefined;
|
|
356
|
+
stroke?: string | (() => string) | undefined;
|
|
357
|
+
"stroke-width"?: string | number | undefined;
|
|
358
|
+
"stroke-linecap"?: "butt" | "round" | "square" | undefined;
|
|
359
|
+
"stroke-linejoin"?: "miter" | "round" | "bevel" | undefined;
|
|
360
|
+
"fill-rule"?: "nonzero" | "evenodd" | undefined;
|
|
361
|
+
"clip-rule"?: "nonzero" | "evenodd" | undefined;
|
|
362
|
+
"clip-path"?: string | undefined;
|
|
363
|
+
d?: string | undefined;
|
|
364
|
+
cx?: string | number | undefined;
|
|
365
|
+
cy?: string | number | undefined;
|
|
366
|
+
r?: string | number | undefined;
|
|
367
|
+
rx?: string | number | undefined;
|
|
368
|
+
ry?: string | number | undefined;
|
|
369
|
+
x?: string | number | undefined;
|
|
370
|
+
y?: string | number | undefined;
|
|
371
|
+
x1?: string | number | undefined;
|
|
372
|
+
y1?: string | number | undefined;
|
|
373
|
+
x2?: string | number | undefined;
|
|
374
|
+
y2?: string | number | undefined;
|
|
375
|
+
width?: string | number | undefined;
|
|
376
|
+
height?: string | number | undefined;
|
|
377
|
+
transform?: string | (() => string) | undefined;
|
|
378
|
+
opacity?: string | number | (() => string | number) | undefined;
|
|
379
|
+
points?: string | undefined;
|
|
380
|
+
"font-size"?: string | number | undefined;
|
|
381
|
+
"text-anchor"?: "start" | "middle" | "end" | undefined;
|
|
382
|
+
"dominant-baseline"?: string | undefined;
|
|
384
383
|
}
|
|
385
384
|
declare global {
|
|
386
385
|
namespace JSX {
|