astro 1.0.0-beta.64 → 1.0.0-beta.65
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/astro-jsx.d.ts +853 -477
- package/dist/core/add/index.js +148 -33
- package/dist/core/create-vite.js +2 -1
- package/dist/core/dev/index.js +1 -1
- package/dist/core/messages.js +2 -2
- package/dist/core/util.js +1 -1
- package/dist/runtime/server/astro-island.js +1 -1
- package/dist/runtime/server/astro-island.prebuilt.js +1 -1
- package/dist/runtime/server/index.js +17 -0
- package/dist/runtime/server/response.js +10 -2
- package/dist/types/@types/astro.d.ts +15 -4
- package/dist/types/core/add/index.d.ts +1 -0
- package/dist/types/runtime/server/astro-island.prebuilt.d.ts +1 -1
- package/dist/types/runtime/server/index.d.ts +1 -0
- package/package.json +5 -5
package/astro-jsx.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference lib="dom" />
|
|
2
2
|
/* eslint @typescript-eslint/no-unused-vars: off */
|
|
3
3
|
/**
|
|
4
|
-
* Adapted from
|
|
5
|
-
* @see https://github.com/
|
|
4
|
+
* Adapted from babel-plugin-react-html-attrs's TypeScript definition from DefinitelyTyped.
|
|
5
|
+
* @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/babel-plugin-react-html-attrs/index.d.ts
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* and
|
|
8
8
|
*
|
|
9
9
|
* Adapted from React’s TypeScript definition from DefinitelyTyped.
|
|
10
10
|
* @see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts
|
|
@@ -36,164 +36,141 @@ declare namespace astroHTML.JSX {
|
|
|
36
36
|
type AstroComponent = import('astro').AstroComponentFactory;
|
|
37
37
|
type Element = HTMLElement | AstroComponent;
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
// Event Handler Types
|
|
41
|
-
// ----------------------------------------------------------------------
|
|
42
|
-
type EventHandler<E extends Event = Event, T extends EventTarget = HTMLElement> = (
|
|
43
|
-
event: E & { currentTarget: EventTarget & T }
|
|
44
|
-
) => any;
|
|
45
|
-
|
|
46
|
-
type ClipboardEventHandler<T extends EventTarget> = EventHandler<ClipboardEvent, T>;
|
|
47
|
-
type CompositionEventHandler<T extends EventTarget> = EventHandler<CompositionEvent, T>;
|
|
48
|
-
type DragEventHandler<T extends EventTarget> = EventHandler<DragEvent, T>;
|
|
49
|
-
type FocusEventHandler<T extends EventTarget> = EventHandler<FocusEvent, T>;
|
|
50
|
-
type FormEventHandler<T extends EventTarget> = EventHandler<Event, T>;
|
|
51
|
-
type ChangeEventHandler<T extends EventTarget> = EventHandler<Event, T>;
|
|
52
|
-
type KeyboardEventHandler<T extends EventTarget> = EventHandler<KeyboardEvent, T>;
|
|
53
|
-
type MouseEventHandler<T extends EventTarget> = EventHandler<MouseEvent, T>;
|
|
54
|
-
type TouchEventHandler<T extends EventTarget> = EventHandler<TouchEvent, T>;
|
|
55
|
-
type PointerEventHandler<T extends EventTarget> = EventHandler<PointerEvent, T>;
|
|
56
|
-
type UIEventHandler<T extends EventTarget> = EventHandler<UIEvent, T>;
|
|
57
|
-
type WheelEventHandler<T extends EventTarget> = EventHandler<WheelEvent, T>;
|
|
58
|
-
type AnimationEventHandler<T extends EventTarget> = EventHandler<AnimationEvent, T>;
|
|
59
|
-
type TransitionEventHandler<T extends EventTarget> = EventHandler<TransitionEvent, T>;
|
|
60
|
-
type MessageEventHandler<T extends EventTarget> = EventHandler<MessageEvent, T>;
|
|
61
|
-
|
|
62
|
-
interface DOMAttributes<T extends EventTarget> {
|
|
39
|
+
interface DOMAttributes {
|
|
63
40
|
children?: Children;
|
|
64
41
|
|
|
65
42
|
// Clipboard Events
|
|
66
|
-
oncopy?:
|
|
67
|
-
oncut?:
|
|
68
|
-
onpaste?:
|
|
43
|
+
oncopy?: string | undefined | null;
|
|
44
|
+
oncut?: string | undefined | null;
|
|
45
|
+
onpaste?: string | undefined | null;
|
|
69
46
|
|
|
70
47
|
// Composition Events
|
|
71
|
-
oncompositionend?:
|
|
72
|
-
oncompositionstart?:
|
|
73
|
-
oncompositionupdate?:
|
|
48
|
+
oncompositionend?: string | undefined | null;
|
|
49
|
+
oncompositionstart?: string | undefined | null;
|
|
50
|
+
oncompositionupdate?: string | undefined | null;
|
|
74
51
|
|
|
75
52
|
// Focus Events
|
|
76
|
-
onfocus?:
|
|
77
|
-
onfocusin?:
|
|
78
|
-
onfocusout?:
|
|
79
|
-
onblur?:
|
|
53
|
+
onfocus?: string | undefined | null;
|
|
54
|
+
onfocusin?: string | undefined | null;
|
|
55
|
+
onfocusout?: string | undefined | null;
|
|
56
|
+
onblur?: string | undefined | null;
|
|
80
57
|
|
|
81
58
|
// Form Events
|
|
82
|
-
onchange?:
|
|
83
|
-
oninput?:
|
|
84
|
-
onreset?:
|
|
85
|
-
onsubmit?:
|
|
86
|
-
oninvalid?:
|
|
87
|
-
onbeforeinput?:
|
|
59
|
+
onchange?: string | undefined | null;
|
|
60
|
+
oninput?: string | undefined | null;
|
|
61
|
+
onreset?: string | undefined | null;
|
|
62
|
+
onsubmit?: string | undefined | null;
|
|
63
|
+
oninvalid?: string | undefined | null;
|
|
64
|
+
onbeforeinput?: string | undefined | null;
|
|
88
65
|
|
|
89
66
|
// Image Events
|
|
90
|
-
onload?:
|
|
91
|
-
onerror?:
|
|
67
|
+
onload?: string | undefined | null;
|
|
68
|
+
onerror?: string | undefined | null; // also a Media Event
|
|
92
69
|
|
|
93
70
|
// Detail Events
|
|
94
|
-
ontoggle?:
|
|
71
|
+
ontoggle?: string | undefined | null;
|
|
95
72
|
|
|
96
73
|
// Keyboard Events
|
|
97
|
-
onkeydown?:
|
|
98
|
-
onkeypress?:
|
|
99
|
-
onkeyup?:
|
|
74
|
+
onkeydown?: string | undefined | null;
|
|
75
|
+
onkeypress?: string | undefined | null;
|
|
76
|
+
onkeyup?: string | undefined | null;
|
|
100
77
|
|
|
101
78
|
// Media Events
|
|
102
|
-
onabort?:
|
|
103
|
-
oncanplay?:
|
|
104
|
-
oncanplaythrough?:
|
|
105
|
-
oncuechange?:
|
|
106
|
-
ondurationchange?:
|
|
107
|
-
onemptied?:
|
|
108
|
-
onencrypted?:
|
|
109
|
-
onended?:
|
|
110
|
-
onloadeddata?:
|
|
111
|
-
onloadedmetadata?:
|
|
112
|
-
onloadstart?:
|
|
113
|
-
onpause?:
|
|
114
|
-
onplay?:
|
|
115
|
-
onplaying?:
|
|
116
|
-
onprogress?:
|
|
117
|
-
onratechange?:
|
|
118
|
-
onseeked?:
|
|
119
|
-
onseeking?:
|
|
120
|
-
onstalled?:
|
|
121
|
-
onsuspend?:
|
|
122
|
-
ontimeupdate?:
|
|
123
|
-
onvolumechange?:
|
|
124
|
-
onwaiting?:
|
|
79
|
+
onabort?: string | undefined | null;
|
|
80
|
+
oncanplay?: string | undefined | null;
|
|
81
|
+
oncanplaythrough?: string | undefined | null;
|
|
82
|
+
oncuechange?: string | undefined | null;
|
|
83
|
+
ondurationchange?: string | undefined | null;
|
|
84
|
+
onemptied?: string | undefined | null;
|
|
85
|
+
onencrypted?: string | undefined | null;
|
|
86
|
+
onended?: string | undefined | null;
|
|
87
|
+
onloadeddata?: string | undefined | null;
|
|
88
|
+
onloadedmetadata?: string | undefined | null;
|
|
89
|
+
onloadstart?: string | undefined | null;
|
|
90
|
+
onpause?: string | undefined | null;
|
|
91
|
+
onplay?: string | undefined | null;
|
|
92
|
+
onplaying?: string | undefined | null;
|
|
93
|
+
onprogress?: string | undefined | null;
|
|
94
|
+
onratechange?: string | undefined | null;
|
|
95
|
+
onseeked?: string | undefined | null;
|
|
96
|
+
onseeking?: string | undefined | null;
|
|
97
|
+
onstalled?: string | undefined | null;
|
|
98
|
+
onsuspend?: string | undefined | null;
|
|
99
|
+
ontimeupdate?: string | undefined | null;
|
|
100
|
+
onvolumechange?: string | undefined | null;
|
|
101
|
+
onwaiting?: string | undefined | null;
|
|
125
102
|
|
|
126
103
|
// MouseEvents
|
|
127
|
-
onauxclick?:
|
|
128
|
-
onclick?:
|
|
129
|
-
oncontextmenu?:
|
|
130
|
-
ondblclick?:
|
|
131
|
-
ondrag?:
|
|
132
|
-
ondragend?:
|
|
133
|
-
ondragenter?:
|
|
134
|
-
ondragexit?:
|
|
135
|
-
ondragleave?:
|
|
136
|
-
ondragover?:
|
|
137
|
-
ondragstart?:
|
|
138
|
-
ondrop?:
|
|
139
|
-
onmousedown?:
|
|
140
|
-
onmouseenter?:
|
|
141
|
-
onmouseleave?:
|
|
142
|
-
onmousemove?:
|
|
143
|
-
onmouseout?:
|
|
144
|
-
onmouseover?:
|
|
145
|
-
onmouseup?:
|
|
104
|
+
onauxclick?: string | undefined | null;
|
|
105
|
+
onclick?: string | undefined | null;
|
|
106
|
+
oncontextmenu?: string | undefined | null;
|
|
107
|
+
ondblclick?: string | undefined | null;
|
|
108
|
+
ondrag?: string | undefined | null;
|
|
109
|
+
ondragend?: string | undefined | null;
|
|
110
|
+
ondragenter?: string | undefined | null;
|
|
111
|
+
ondragexit?: string | undefined | null;
|
|
112
|
+
ondragleave?: string | undefined | null;
|
|
113
|
+
ondragover?: string | undefined | null;
|
|
114
|
+
ondragstart?: string | undefined | null;
|
|
115
|
+
ondrop?: string | undefined | null;
|
|
116
|
+
onmousedown?: string | undefined | null;
|
|
117
|
+
onmouseenter?: string | undefined | null;
|
|
118
|
+
onmouseleave?: string | undefined | null;
|
|
119
|
+
onmousemove?: string | undefined | null;
|
|
120
|
+
onmouseout?: string | undefined | null;
|
|
121
|
+
onmouseover?: string | undefined | null;
|
|
122
|
+
onmouseup?: string | undefined | null;
|
|
146
123
|
|
|
147
124
|
// Selection Events
|
|
148
|
-
onselect?:
|
|
149
|
-
onselectionchange?:
|
|
150
|
-
onselectstart?:
|
|
125
|
+
onselect?: string | undefined | null;
|
|
126
|
+
onselectionchange?: string | undefined | null;
|
|
127
|
+
onselectstart?: string | undefined | null;
|
|
151
128
|
|
|
152
129
|
// Touch Events
|
|
153
|
-
ontouchcancel?:
|
|
154
|
-
ontouchend?:
|
|
155
|
-
ontouchmove?:
|
|
156
|
-
ontouchstart?:
|
|
130
|
+
ontouchcancel?: string | undefined | null;
|
|
131
|
+
ontouchend?: string | undefined | null;
|
|
132
|
+
ontouchmove?: string | undefined | null;
|
|
133
|
+
ontouchstart?: string | undefined | null;
|
|
157
134
|
|
|
158
135
|
// Pointer Events
|
|
159
|
-
ongotpointercapture?:
|
|
160
|
-
onpointercancel?:
|
|
161
|
-
onpointerdown?:
|
|
162
|
-
onpointerenter?:
|
|
163
|
-
onpointerleave?:
|
|
164
|
-
onpointermove?:
|
|
165
|
-
onpointerout?:
|
|
166
|
-
onpointerover?:
|
|
167
|
-
onpointerup?:
|
|
168
|
-
onlostpointercapture?:
|
|
136
|
+
ongotpointercapture?: string | undefined | null;
|
|
137
|
+
onpointercancel?: string | undefined | null;
|
|
138
|
+
onpointerdown?: string | undefined | null;
|
|
139
|
+
onpointerenter?: string | undefined | null;
|
|
140
|
+
onpointerleave?: string | undefined | null;
|
|
141
|
+
onpointermove?: string | undefined | null;
|
|
142
|
+
onpointerout?: string | undefined | null;
|
|
143
|
+
onpointerover?: string | undefined | null;
|
|
144
|
+
onpointerup?: string | undefined | null;
|
|
145
|
+
onlostpointercapture?: string | undefined | null;
|
|
169
146
|
|
|
170
147
|
// UI Events
|
|
171
|
-
onscroll?:
|
|
172
|
-
onresize?:
|
|
148
|
+
onscroll?: string | undefined | null;
|
|
149
|
+
onresize?: string | undefined | null;
|
|
173
150
|
|
|
174
151
|
// Wheel Events
|
|
175
|
-
onwheel?:
|
|
152
|
+
onwheel?: string | undefined | null;
|
|
176
153
|
|
|
177
154
|
// Animation Events
|
|
178
|
-
onanimationstart?:
|
|
179
|
-
onanimationend?:
|
|
180
|
-
onanimationiteration?:
|
|
155
|
+
onanimationstart?: string | undefined | null;
|
|
156
|
+
onanimationend?: string | undefined | null;
|
|
157
|
+
onanimationiteration?: string | undefined | null;
|
|
181
158
|
|
|
182
159
|
// Transition Events
|
|
183
|
-
ontransitionstart?:
|
|
184
|
-
ontransitionrun?:
|
|
185
|
-
ontransitionend?:
|
|
186
|
-
ontransitioncancel?:
|
|
160
|
+
ontransitionstart?: string | undefined | null;
|
|
161
|
+
ontransitionrun?: string | undefined | null;
|
|
162
|
+
ontransitionend?: string | undefined | null;
|
|
163
|
+
ontransitioncancel?: string | undefined | null;
|
|
187
164
|
|
|
188
165
|
// Message Events
|
|
189
|
-
onmessage?:
|
|
190
|
-
onmessageerror?:
|
|
166
|
+
onmessage?: string | undefined | null;
|
|
167
|
+
onmessageerror?: string | undefined | null;
|
|
191
168
|
|
|
192
169
|
// Global Events
|
|
193
|
-
oncancel?:
|
|
194
|
-
onclose?:
|
|
195
|
-
onfullscreenchange?:
|
|
196
|
-
onfullscreenerror?:
|
|
170
|
+
oncancel?: string | undefined | null;
|
|
171
|
+
onclose?: string | undefined | null;
|
|
172
|
+
onfullscreenchange?: string | undefined | null;
|
|
173
|
+
onfullscreenerror?: string | undefined | null;
|
|
197
174
|
}
|
|
198
175
|
|
|
199
176
|
// All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
|
|
@@ -218,17 +195,17 @@ declare namespace astroHTML.JSX {
|
|
|
218
195
|
* Defines the total number of columns in a table, grid, or treegrid.
|
|
219
196
|
* @see aria-colindex.
|
|
220
197
|
*/
|
|
221
|
-
'aria-colcount'?: number | undefined | null;
|
|
198
|
+
'aria-colcount'?: number | string | undefined | null;
|
|
222
199
|
/**
|
|
223
200
|
* Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
|
|
224
201
|
* @see aria-colcount @see aria-colspan.
|
|
225
202
|
*/
|
|
226
|
-
'aria-colindex'?: number | undefined | null;
|
|
203
|
+
'aria-colindex'?: number | string | undefined | null;
|
|
227
204
|
/**
|
|
228
205
|
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
229
206
|
* @see aria-colindex @see aria-rowspan.
|
|
230
207
|
*/
|
|
231
|
-
'aria-colspan'?: number | undefined | null;
|
|
208
|
+
'aria-colspan'?: number | string | undefined | null;
|
|
232
209
|
/**
|
|
233
210
|
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
234
211
|
* @see aria-owns.
|
|
@@ -318,7 +295,7 @@ declare namespace astroHTML.JSX {
|
|
|
318
295
|
*/
|
|
319
296
|
'aria-labelledby'?: string | undefined | null;
|
|
320
297
|
/** Defines the hierarchical level of an element within a structure. */
|
|
321
|
-
'aria-level'?: number | undefined | null;
|
|
298
|
+
'aria-level'?: number | string | undefined | null;
|
|
322
299
|
/** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
|
|
323
300
|
'aria-live'?: 'off' | 'assertive' | 'polite' | undefined | null;
|
|
324
301
|
/** Indicates whether an element is modal when displayed. */
|
|
@@ -344,7 +321,7 @@ declare namespace astroHTML.JSX {
|
|
|
344
321
|
* Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
345
322
|
* @see aria-setsize.
|
|
346
323
|
*/
|
|
347
|
-
'aria-posinset'?: number | undefined | null;
|
|
324
|
+
'aria-posinset'?: number | string | undefined | null;
|
|
348
325
|
/**
|
|
349
326
|
* Indicates the current "pressed" state of toggle buttons.
|
|
350
327
|
* @see aria-checked @see aria-selected.
|
|
@@ -380,17 +357,17 @@ declare namespace astroHTML.JSX {
|
|
|
380
357
|
* Defines the total number of rows in a table, grid, or treegrid.
|
|
381
358
|
* @see aria-rowindex.
|
|
382
359
|
*/
|
|
383
|
-
'aria-rowcount'?: number | undefined | null;
|
|
360
|
+
'aria-rowcount'?: number | string | undefined | null;
|
|
384
361
|
/**
|
|
385
362
|
* Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
|
|
386
363
|
* @see aria-rowcount @see aria-rowspan.
|
|
387
364
|
*/
|
|
388
|
-
'aria-rowindex'?: number | undefined | null;
|
|
365
|
+
'aria-rowindex'?: number | string | undefined | null;
|
|
389
366
|
/**
|
|
390
367
|
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
391
368
|
* @see aria-rowindex @see aria-colspan.
|
|
392
369
|
*/
|
|
393
|
-
'aria-rowspan'?: number | undefined | null;
|
|
370
|
+
'aria-rowspan'?: number | string | undefined | null;
|
|
394
371
|
/**
|
|
395
372
|
* Indicates the current "selected" state of various widgets.
|
|
396
373
|
* @see aria-checked @see aria-pressed.
|
|
@@ -400,86 +377,103 @@ declare namespace astroHTML.JSX {
|
|
|
400
377
|
* Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
|
|
401
378
|
* @see aria-posinset.
|
|
402
379
|
*/
|
|
403
|
-
'aria-setsize'?: number | undefined | null;
|
|
380
|
+
'aria-setsize'?: number | string | undefined | null;
|
|
404
381
|
/** Indicates if items in a table or grid are sorted in ascending or descending order. */
|
|
405
382
|
'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined | null;
|
|
406
383
|
/** Defines the maximum allowed value for a range widget. */
|
|
407
|
-
'aria-valuemax'?: number | undefined | null;
|
|
384
|
+
'aria-valuemax'?: number | string | undefined | null;
|
|
408
385
|
/** Defines the minimum allowed value for a range widget. */
|
|
409
|
-
'aria-valuemin'?: number | undefined | null;
|
|
386
|
+
'aria-valuemin'?: number | string | undefined | null;
|
|
410
387
|
/**
|
|
411
388
|
* Defines the current value for a range widget.
|
|
412
389
|
* @see aria-valuetext.
|
|
413
390
|
*/
|
|
414
|
-
'aria-valuenow'?: number | undefined | null;
|
|
391
|
+
'aria-valuenow'?: number | string | undefined | null;
|
|
415
392
|
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
416
393
|
'aria-valuetext'?: string | undefined | null;
|
|
417
394
|
}
|
|
418
395
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
396
|
+
// All the WAI-ARIA 1.1 role attribute values from https://www.w3.org/TR/wai-aria-1.1/#role_definitions
|
|
397
|
+
type AriaRole =
|
|
398
|
+
| 'alert'
|
|
399
|
+
| 'alertdialog'
|
|
400
|
+
| 'application'
|
|
401
|
+
| 'article'
|
|
402
|
+
| 'banner'
|
|
403
|
+
| 'button'
|
|
404
|
+
| 'cell'
|
|
405
|
+
| 'checkbox'
|
|
406
|
+
| 'columnheader'
|
|
407
|
+
| 'combobox'
|
|
408
|
+
| 'complementary'
|
|
409
|
+
| 'contentinfo'
|
|
410
|
+
| 'definition'
|
|
411
|
+
| 'dialog'
|
|
412
|
+
| 'directory'
|
|
413
|
+
| 'document'
|
|
414
|
+
| 'feed'
|
|
415
|
+
| 'figure'
|
|
416
|
+
| 'form'
|
|
417
|
+
| 'grid'
|
|
418
|
+
| 'gridcell'
|
|
419
|
+
| 'group'
|
|
420
|
+
| 'heading'
|
|
421
|
+
| 'img'
|
|
422
|
+
| 'link'
|
|
423
|
+
| 'list'
|
|
424
|
+
| 'listbox'
|
|
425
|
+
| 'listitem'
|
|
426
|
+
| 'log'
|
|
427
|
+
| 'main'
|
|
428
|
+
| 'marquee'
|
|
429
|
+
| 'math'
|
|
430
|
+
| 'menu'
|
|
431
|
+
| 'menubar'
|
|
432
|
+
| 'menuitem'
|
|
433
|
+
| 'menuitemcheckbox'
|
|
434
|
+
| 'menuitemradio'
|
|
435
|
+
| 'navigation'
|
|
436
|
+
| 'none'
|
|
437
|
+
| 'note'
|
|
438
|
+
| 'option'
|
|
439
|
+
| 'presentation'
|
|
440
|
+
| 'progressbar'
|
|
441
|
+
| 'radio'
|
|
442
|
+
| 'radiogroup'
|
|
443
|
+
| 'region'
|
|
444
|
+
| 'row'
|
|
445
|
+
| 'rowgroup'
|
|
446
|
+
| 'rowheader'
|
|
447
|
+
| 'scrollbar'
|
|
448
|
+
| 'search'
|
|
449
|
+
| 'searchbox'
|
|
450
|
+
| 'separator'
|
|
451
|
+
| 'slider'
|
|
452
|
+
| 'spinbutton'
|
|
453
|
+
| 'status'
|
|
454
|
+
| 'switch'
|
|
455
|
+
| 'tab'
|
|
456
|
+
| 'table'
|
|
457
|
+
| 'tablist'
|
|
458
|
+
| 'tabpanel'
|
|
459
|
+
| 'term'
|
|
460
|
+
| 'textbox'
|
|
461
|
+
| 'timer'
|
|
462
|
+
| 'toolbar'
|
|
463
|
+
| 'tooltip'
|
|
464
|
+
| 'tree'
|
|
465
|
+
| 'treegrid'
|
|
466
|
+
| 'treeitem';
|
|
467
|
+
|
|
468
|
+
interface HTMLAttributes extends AriaAttributes, DOMAttributes, AstroBuiltinAttributes {
|
|
423
469
|
// Standard HTML Attributes
|
|
424
|
-
class?: string | undefined | null;
|
|
425
|
-
dataset?: object | undefined | null; // eslint-disable-line
|
|
426
|
-
accept?: string | undefined | null;
|
|
427
|
-
acceptcharset?: string | undefined | null;
|
|
428
470
|
accesskey?: string | undefined | null;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
allowpaymentrequest?: boolean | undefined | null;
|
|
434
|
-
alt?: string | undefined | null;
|
|
435
|
-
as?: string | undefined | null;
|
|
436
|
-
async?: boolean | undefined | null;
|
|
437
|
-
autocomplete?: string | undefined | null;
|
|
438
|
-
autofocus?: boolean | undefined | null;
|
|
439
|
-
autoplay?: boolean | undefined | null;
|
|
440
|
-
capture?: 'environment' | 'user' | boolean | undefined | null;
|
|
441
|
-
cellpadding?: number | string | undefined | null;
|
|
442
|
-
cellspacing?: number | string | undefined | null;
|
|
443
|
-
charset?: string | undefined | null;
|
|
444
|
-
challenge?: string | undefined | null;
|
|
445
|
-
checked?: boolean | undefined | null;
|
|
446
|
-
cite?: string | undefined | null;
|
|
447
|
-
classid?: string | undefined | null;
|
|
448
|
-
cols?: number | undefined | null;
|
|
449
|
-
colspan?: number | undefined | null;
|
|
450
|
-
content?: string | URL | undefined | null;
|
|
451
|
-
contenteditable?: 'true' | 'false' | boolean | undefined | null;
|
|
452
|
-
|
|
453
|
-
// Doesn't work when used as HTML attribute
|
|
454
|
-
/**
|
|
455
|
-
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
|
|
456
|
-
*/
|
|
457
|
-
innerHTML?: string | undefined | null;
|
|
458
|
-
// Doesn't work when used as HTML attribute
|
|
459
|
-
/**
|
|
460
|
-
* Elements with the contenteditable attribute support innerHTML and textContent bindings.
|
|
461
|
-
*/
|
|
462
|
-
|
|
463
|
-
textContent?: string | undefined | null;
|
|
464
|
-
|
|
465
|
-
contextmenu?: string | undefined | null;
|
|
466
|
-
controls?: boolean | undefined | null;
|
|
467
|
-
coords?: string | undefined | null;
|
|
468
|
-
crossorigin?: string | boolean | undefined | null;
|
|
469
|
-
currenttime?: number | undefined | null;
|
|
470
|
-
decoding?: 'async' | 'sync' | 'auto' | undefined | null;
|
|
471
|
-
data?: string | undefined | null;
|
|
472
|
-
datetime?: string | undefined | null;
|
|
473
|
-
default?: boolean | undefined | null;
|
|
474
|
-
defaultmuted?: boolean | undefined | null;
|
|
475
|
-
defaultplaybackrate?: number | undefined | null;
|
|
476
|
-
defer?: boolean | undefined | null;
|
|
471
|
+
autocapitalize?: string | undefined | null;
|
|
472
|
+
autofocus?: boolean | string | undefined | null;
|
|
473
|
+
class?: string | undefined | null;
|
|
474
|
+
contenteditable?: 'true' | 'false' | boolean | 'inherit' | string | undefined | null;
|
|
477
475
|
dir?: string | undefined | null;
|
|
478
|
-
|
|
479
|
-
disabled?: boolean | undefined | null;
|
|
480
|
-
download?: any | undefined | null;
|
|
481
|
-
draggable?: boolean | 'true' | 'false' | undefined | null;
|
|
482
|
-
enctype?: string | undefined | null;
|
|
476
|
+
draggable?: 'true' | 'false' | boolean | undefined | null;
|
|
483
477
|
enterkeyhint?:
|
|
484
478
|
| 'enter'
|
|
485
479
|
| 'done'
|
|
@@ -490,127 +484,516 @@ declare namespace astroHTML.JSX {
|
|
|
490
484
|
| 'send'
|
|
491
485
|
| undefined
|
|
492
486
|
| null;
|
|
493
|
-
|
|
487
|
+
hidden?: boolean | string | undefined | null;
|
|
488
|
+
id?: string | undefined | null;
|
|
489
|
+
inert?: boolean | string | undefined | null;
|
|
490
|
+
inputmode?:
|
|
491
|
+
| 'none'
|
|
492
|
+
| 'text'
|
|
493
|
+
| 'tel'
|
|
494
|
+
| 'url'
|
|
495
|
+
| 'email'
|
|
496
|
+
| 'numeric'
|
|
497
|
+
| 'decimal'
|
|
498
|
+
| 'search'
|
|
499
|
+
| undefined
|
|
500
|
+
| null;
|
|
501
|
+
is?: string | undefined | null;
|
|
502
|
+
itemid?: string | undefined | null;
|
|
503
|
+
itemprop?: string | undefined | null;
|
|
504
|
+
itemref?: string | undefined | null;
|
|
505
|
+
itemscope?: boolean | string | undefined | null;
|
|
506
|
+
itemtype?: string | undefined | null;
|
|
507
|
+
lang?: string | undefined | null;
|
|
508
|
+
slot?: string | undefined | null;
|
|
509
|
+
spellcheck?: 'true' | 'false' | boolean | undefined | null;
|
|
510
|
+
style?: string | undefined | null;
|
|
511
|
+
tabindex?: number | string | undefined | null;
|
|
512
|
+
title?: string | undefined | null;
|
|
513
|
+
translate?: 'yes' | 'no' | undefined | null;
|
|
514
|
+
|
|
515
|
+
// <command>, <menuitem>
|
|
516
|
+
radiogroup?: string | undefined | null;
|
|
517
|
+
|
|
518
|
+
// WAI-ARIA
|
|
519
|
+
role?: AriaRole | undefined | null;
|
|
520
|
+
|
|
521
|
+
// RDFa Attributes
|
|
522
|
+
about?: string | undefined | null;
|
|
523
|
+
datatype?: string | undefined | null;
|
|
524
|
+
inlist?: any;
|
|
525
|
+
prefix?: string | undefined | null;
|
|
526
|
+
property?: string | undefined | null;
|
|
527
|
+
resource?: string | undefined | null;
|
|
528
|
+
typeof?: string | undefined | null;
|
|
529
|
+
vocab?: string | undefined | null;
|
|
530
|
+
|
|
531
|
+
// Non-standard Attributes
|
|
532
|
+
contextmenu?: string | undefined | null; // Obsolete
|
|
533
|
+
autosave?: string | undefined | null; // Apple exclusive
|
|
534
|
+
color?: string | undefined | null;
|
|
535
|
+
results?: number | string | undefined | null;
|
|
536
|
+
security?: string | undefined | null;
|
|
537
|
+
unselectable?: 'on' | 'off' | undefined | null; // Internet Explorer
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
type HTMLAttributeReferrerPolicy =
|
|
541
|
+
| ''
|
|
542
|
+
| 'no-referrer'
|
|
543
|
+
| 'no-referrer-when-downgrade'
|
|
544
|
+
| 'origin'
|
|
545
|
+
| 'origin-when-cross-origin'
|
|
546
|
+
| 'same-origin'
|
|
547
|
+
| 'strict-origin'
|
|
548
|
+
| 'strict-origin-when-cross-origin'
|
|
549
|
+
| 'unsafe-url';
|
|
550
|
+
|
|
551
|
+
type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top';
|
|
552
|
+
|
|
553
|
+
interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
554
|
+
download?: string | boolean | undefined | null;
|
|
555
|
+
href?: string | URL | undefined | null;
|
|
556
|
+
hreflang?: string | undefined | null;
|
|
557
|
+
media?: string | undefined | null;
|
|
558
|
+
ping?: string | undefined | null;
|
|
559
|
+
rel?: string | undefined | null;
|
|
560
|
+
target?: HTMLAttributeAnchorTarget | undefined | null;
|
|
561
|
+
type?: string | undefined | null;
|
|
562
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
interface AudioHTMLAttributes extends MediaHTMLAttributes {}
|
|
566
|
+
|
|
567
|
+
interface AreaHTMLAttributes extends HTMLAttributes {
|
|
568
|
+
alt?: string | undefined | null;
|
|
569
|
+
coords?: string | undefined | null;
|
|
570
|
+
download?: any;
|
|
571
|
+
href?: string | undefined | null;
|
|
572
|
+
hreflang?: string | undefined | null;
|
|
573
|
+
media?: string | undefined | null;
|
|
574
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
|
|
575
|
+
rel?: string | undefined | null;
|
|
576
|
+
shape?: string | undefined | null;
|
|
577
|
+
target?: string | undefined | null;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
interface BaseHTMLAttributes extends HTMLAttributes {
|
|
581
|
+
href?: string | undefined | null;
|
|
582
|
+
target?: string | undefined | null;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
interface BlockquoteHTMLAttributes extends HTMLAttributes {
|
|
586
|
+
cite?: string | undefined | null;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
interface ButtonHTMLAttributes extends HTMLAttributes {
|
|
590
|
+
disabled?: boolean | string | undefined | null;
|
|
494
591
|
form?: string | undefined | null;
|
|
495
592
|
formaction?: string | undefined | null;
|
|
496
593
|
formenctype?: string | undefined | null;
|
|
497
594
|
formmethod?: string | undefined | null;
|
|
498
|
-
formnovalidate?: boolean | undefined | null;
|
|
595
|
+
formnovalidate?: boolean | string | undefined | null;
|
|
499
596
|
formtarget?: string | undefined | null;
|
|
597
|
+
name?: string | undefined | null;
|
|
598
|
+
type?: 'submit' | 'reset' | 'button' | undefined | null;
|
|
599
|
+
value?: string | string[] | number | undefined | null;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
interface CanvasHTMLAttributes extends HTMLAttributes {
|
|
603
|
+
height?: number | string | undefined | null;
|
|
604
|
+
width?: number | string | undefined | null;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
interface ColHTMLAttributes extends HTMLAttributes {
|
|
608
|
+
span?: number | string | undefined | null;
|
|
609
|
+
width?: number | string | undefined | null;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
interface ColgroupHTMLAttributes extends HTMLAttributes {
|
|
613
|
+
span?: number | string | undefined | null;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
interface DataHTMLAttributes extends HTMLAttributes {
|
|
617
|
+
value?: string | string[] | number | undefined | null;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
interface DetailsHTMLAttributes extends HTMLAttributes {
|
|
621
|
+
open?: boolean | string | undefined | null;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
interface DelHTMLAttributes extends HTMLAttributes {
|
|
625
|
+
cite?: string | undefined | null;
|
|
626
|
+
datetime?: string | undefined | null;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
interface DialogHTMLAttributes extends HTMLAttributes {
|
|
630
|
+
open?: boolean | string | undefined | null;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
interface EmbedHTMLAttributes extends HTMLAttributes {
|
|
634
|
+
height?: number | string | undefined | null;
|
|
635
|
+
src?: string | undefined | null;
|
|
636
|
+
type?: string | undefined | null;
|
|
637
|
+
width?: number | string | undefined | null;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
interface FieldsetHTMLAttributes extends HTMLAttributes {
|
|
641
|
+
disabled?: boolean | string | undefined | null;
|
|
642
|
+
form?: string | undefined | null;
|
|
643
|
+
name?: string | undefined | null;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
interface FormHTMLAttributes extends HTMLAttributes {
|
|
647
|
+
'accept-charset'?: string | undefined | null;
|
|
648
|
+
action?: string | undefined | null;
|
|
649
|
+
autocomplete?: string | undefined | null;
|
|
650
|
+
autocorrect?: string | undefined | null;
|
|
651
|
+
enctype?: string | undefined | null;
|
|
652
|
+
method?: string | undefined | null;
|
|
653
|
+
name?: string | undefined | null;
|
|
654
|
+
novalidate?: boolean | string | undefined | null;
|
|
655
|
+
target?: string | undefined | null;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
interface HtmlHTMLAttributes extends HTMLAttributes {
|
|
659
|
+
manifest?: string | undefined | null;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
interface IframeHTMLAttributes extends HTMLAttributes {
|
|
663
|
+
allow?: string | undefined | null;
|
|
664
|
+
allowfullscreen?: boolean | string | undefined | null;
|
|
665
|
+
allowtransparency?: boolean | string | undefined | null;
|
|
666
|
+
/** @deprecated */
|
|
500
667
|
frameborder?: number | string | undefined | null;
|
|
501
|
-
headers?: string | undefined | null;
|
|
502
668
|
height?: number | string | undefined | null;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
669
|
+
/** @deprecated */
|
|
670
|
+
marginheight?: number | string | undefined | null;
|
|
671
|
+
/** @deprecated */
|
|
672
|
+
marginwidth?: number | string | undefined | null;
|
|
673
|
+
name?: string | undefined | null;
|
|
674
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
|
|
675
|
+
sandbox?: string | undefined | null;
|
|
676
|
+
/** @deprecated */
|
|
677
|
+
scrolling?: string | undefined | null;
|
|
678
|
+
seamless?: boolean | string | undefined | null;
|
|
679
|
+
src?: string | undefined | null;
|
|
680
|
+
srcdoc?: string | undefined | null;
|
|
681
|
+
width?: number | string | undefined | null;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
interface ImgHTMLAttributes extends HTMLAttributes {
|
|
685
|
+
alt?: string | undefined | null;
|
|
686
|
+
crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null;
|
|
687
|
+
decoding?: 'async' | 'auto' | 'sync' | undefined | null;
|
|
688
|
+
height?: number | string | undefined | null;
|
|
689
|
+
loading?: 'eager' | 'lazy' | undefined | null;
|
|
690
|
+
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
|
|
691
|
+
sizes?: string | undefined | null;
|
|
692
|
+
src?: string | undefined | null;
|
|
693
|
+
srcset?: string | undefined | null;
|
|
694
|
+
usemap?: string | undefined | null;
|
|
695
|
+
width?: number | string | undefined | null;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
interface InsHTMLAttributes extends HTMLAttributes {
|
|
699
|
+
cite?: string | undefined | null;
|
|
700
|
+
datetime?: string | undefined | null;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
type HTMLInputTypeAttribute =
|
|
704
|
+
| 'button'
|
|
705
|
+
| 'checkbox'
|
|
706
|
+
| 'color'
|
|
707
|
+
| 'date'
|
|
708
|
+
| 'datetime-local'
|
|
709
|
+
| 'email'
|
|
710
|
+
| 'file'
|
|
711
|
+
| 'hidden'
|
|
712
|
+
| 'image'
|
|
713
|
+
| 'month'
|
|
714
|
+
| 'number'
|
|
715
|
+
| 'password'
|
|
716
|
+
| 'radio'
|
|
717
|
+
| 'range'
|
|
718
|
+
| 'reset'
|
|
719
|
+
| 'search'
|
|
720
|
+
| 'submit'
|
|
721
|
+
| 'tel'
|
|
722
|
+
| 'text'
|
|
723
|
+
| 'time'
|
|
724
|
+
| 'url'
|
|
725
|
+
| 'week';
|
|
726
|
+
|
|
727
|
+
interface InputHTMLAttributes extends HTMLAttributes {
|
|
728
|
+
accept?: string | undefined | null;
|
|
729
|
+
alt?: string | undefined | null;
|
|
730
|
+
autocomplete?: string | undefined | null;
|
|
731
|
+
autocorrect?: string | undefined | null;
|
|
732
|
+
capture?: boolean | string | undefined | null;
|
|
733
|
+
checked?: boolean | string | undefined | null;
|
|
734
|
+
crossorigin?: string | undefined | null;
|
|
735
|
+
dirname?: string | undefined | null;
|
|
736
|
+
disabled?: boolean | string | undefined | null;
|
|
737
|
+
form?: string | undefined | null;
|
|
738
|
+
formaction?: string | undefined | null;
|
|
739
|
+
formenctype?: string | undefined | null;
|
|
740
|
+
formmethod?: string | undefined | null;
|
|
741
|
+
formnovalidate?: boolean | string | undefined | null;
|
|
742
|
+
formtarget?: string | undefined | null;
|
|
743
|
+
height?: number | string | undefined | null;
|
|
519
744
|
list?: string | undefined | null;
|
|
520
|
-
loading?: string | undefined | null;
|
|
521
|
-
loop?: boolean | undefined | null;
|
|
522
|
-
low?: number | undefined | null;
|
|
523
|
-
manifest?: string | undefined | null;
|
|
524
|
-
marginheight?: number | undefined | null;
|
|
525
|
-
marginwidth?: number | undefined | null;
|
|
526
745
|
max?: number | string | undefined | null;
|
|
527
|
-
maxlength?: number | undefined | null;
|
|
528
|
-
media?: string | undefined | null;
|
|
529
|
-
mediagroup?: string | undefined | null;
|
|
530
|
-
method?: string | undefined | null;
|
|
746
|
+
maxlength?: number | string | undefined | null;
|
|
531
747
|
min?: number | string | undefined | null;
|
|
532
|
-
minlength?: number | undefined | null;
|
|
533
|
-
multiple?: boolean | undefined | null;
|
|
534
|
-
muted?: boolean | undefined | null;
|
|
748
|
+
minlength?: number | string | undefined | null;
|
|
749
|
+
multiple?: boolean | string | undefined | null;
|
|
535
750
|
name?: string | undefined | null;
|
|
536
|
-
nonce?: string | undefined | null;
|
|
537
|
-
novalidate?: boolean | undefined | null;
|
|
538
|
-
open?: boolean | undefined | null;
|
|
539
|
-
optimum?: number | undefined | null;
|
|
540
|
-
part?: string | undefined | null;
|
|
541
751
|
pattern?: string | undefined | null;
|
|
542
752
|
placeholder?: string | undefined | null;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
753
|
+
readonly?: boolean | string | undefined | null;
|
|
754
|
+
required?: boolean | string | undefined | null;
|
|
755
|
+
size?: number | string | undefined | null;
|
|
756
|
+
src?: string | undefined | null;
|
|
757
|
+
step?: number | string | undefined | null;
|
|
758
|
+
type?: HTMLInputTypeAttribute | string | undefined | null;
|
|
759
|
+
value?: string | string[] | number | undefined | null;
|
|
760
|
+
width?: number | string | undefined | null;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
interface KeygenHTMLAttributes extends HTMLAttributes {
|
|
764
|
+
challenge?: string | undefined | null;
|
|
765
|
+
disabled?: boolean | string | undefined | null;
|
|
766
|
+
form?: string | undefined | null;
|
|
767
|
+
keytype?: string | undefined | null;
|
|
768
|
+
keyparams?: string | undefined | null;
|
|
769
|
+
name?: string | undefined | null;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
interface LabelHTMLAttributes extends HTMLAttributes {
|
|
773
|
+
form?: string | undefined | null;
|
|
774
|
+
for?: string | undefined | null;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
interface LiHTMLAttributes extends HTMLAttributes {
|
|
778
|
+
value?: string | number | undefined | null;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
interface LinkHTMLAttributes extends HTMLAttributes {
|
|
782
|
+
as?: string | undefined | null;
|
|
783
|
+
crossorigin?: boolean | string | undefined | null;
|
|
784
|
+
href?: string | URL | undefined | null;
|
|
785
|
+
hreflang?: string | undefined | null;
|
|
786
|
+
integrity?: string | undefined | null;
|
|
787
|
+
media?: string | undefined | null;
|
|
788
|
+
imageSrcSet?: string | undefined | null;
|
|
789
|
+
imageSizes?: string | undefined | null;
|
|
790
|
+
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined | null;
|
|
549
791
|
rel?: string | undefined | null;
|
|
550
|
-
required?: boolean | undefined | null;
|
|
551
|
-
reversed?: boolean | undefined | null;
|
|
552
|
-
role?: string | undefined | null;
|
|
553
|
-
rows?: number | undefined | null;
|
|
554
|
-
rowspan?: number | undefined | null;
|
|
555
|
-
sandbox?: string | undefined | null;
|
|
556
|
-
scope?: string | undefined | null;
|
|
557
|
-
scoped?: boolean | undefined | null;
|
|
558
|
-
scrolling?: string | undefined | null;
|
|
559
|
-
seamless?: boolean | undefined | null;
|
|
560
|
-
selected?: boolean | undefined | null;
|
|
561
|
-
shape?: string | undefined | null;
|
|
562
|
-
size?: number | undefined | null;
|
|
563
792
|
sizes?: string | undefined | null;
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
793
|
+
type?: string | undefined | null;
|
|
794
|
+
charset?: string | undefined | null;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
interface MapHTMLAttributes extends HTMLAttributes {
|
|
798
|
+
name?: string | undefined | null;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
interface MenuHTMLAttributes extends HTMLAttributes {
|
|
802
|
+
type?: string | undefined | null;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
interface MediaHTMLAttributes extends HTMLAttributes {
|
|
806
|
+
autoplay?: boolean | string | undefined | null;
|
|
807
|
+
controls?: boolean | string | undefined | null;
|
|
808
|
+
controlslist?: string | undefined | null;
|
|
809
|
+
crossorigin?: string | undefined | null;
|
|
810
|
+
loop?: boolean | string | undefined | null;
|
|
811
|
+
mediagroup?: string | undefined | null;
|
|
812
|
+
muted?: boolean | string | undefined | null;
|
|
813
|
+
playsinline?: boolean | string | undefined | null;
|
|
814
|
+
preload?: string | undefined | null;
|
|
567
815
|
src?: string | undefined | null;
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
interface MetaHTMLAttributes extends HTMLAttributes {
|
|
819
|
+
charset?: string | undefined | null;
|
|
820
|
+
content?: string | URL | undefined | null;
|
|
821
|
+
'http-equiv'?: string | undefined | null;
|
|
822
|
+
name?: string | undefined | null;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
interface MeterHTMLAttributes extends HTMLAttributes {
|
|
826
|
+
form?: string | undefined | null;
|
|
827
|
+
high?: number | string | undefined | null;
|
|
828
|
+
low?: number | string | undefined | null;
|
|
829
|
+
max?: number | string | undefined | null;
|
|
830
|
+
min?: number | string | undefined | null;
|
|
831
|
+
optimum?: number | string | undefined | null;
|
|
832
|
+
value?: string | string[] | number | undefined | null;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
interface QuoteHTMLAttributes extends HTMLAttributes {
|
|
836
|
+
cite?: string | undefined | null;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
interface ObjectHTMLAttributes extends HTMLAttributes {
|
|
840
|
+
classid?: string | undefined | null;
|
|
841
|
+
data?: string | undefined | null;
|
|
842
|
+
form?: string | undefined | null;
|
|
843
|
+
height?: number | string | undefined | null;
|
|
844
|
+
name?: string | undefined | null;
|
|
579
845
|
type?: string | undefined | null;
|
|
580
846
|
usemap?: string | undefined | null;
|
|
581
|
-
value?: any | undefined | null;
|
|
582
|
-
/**
|
|
583
|
-
* a value between 0 and 1
|
|
584
|
-
*/
|
|
585
|
-
volume?: number | undefined | null;
|
|
586
847
|
width?: number | string | undefined | null;
|
|
587
848
|
wmode?: string | undefined | null;
|
|
588
|
-
|
|
849
|
+
}
|
|
589
850
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
property?: string | undefined | null;
|
|
596
|
-
resource?: string | undefined | null;
|
|
597
|
-
typeof?: string | undefined | null;
|
|
598
|
-
vocab?: string | undefined | null;
|
|
851
|
+
interface OlHTMLAttributes extends HTMLAttributes {
|
|
852
|
+
reversed?: boolean | string | undefined | null;
|
|
853
|
+
start?: number | string | undefined | null;
|
|
854
|
+
type?: '1' | 'a' | 'A' | 'i' | 'I' | undefined | null;
|
|
855
|
+
}
|
|
599
856
|
|
|
600
|
-
|
|
601
|
-
|
|
857
|
+
interface OptgroupHTMLAttributes extends HTMLAttributes {
|
|
858
|
+
disabled?: boolean | string | undefined | null;
|
|
859
|
+
label?: string | undefined | null;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
interface OptionHTMLAttributes extends HTMLAttributes {
|
|
863
|
+
disabled?: boolean | string | undefined | null;
|
|
864
|
+
label?: string | undefined | null;
|
|
865
|
+
selected?: boolean | string | undefined | null;
|
|
866
|
+
value?: string | string[] | number | undefined | null;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
interface OutputHTMLAttributes extends HTMLAttributes {
|
|
870
|
+
form?: string | undefined | null;
|
|
871
|
+
for?: string | undefined | null;
|
|
872
|
+
name?: string | undefined | null;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
interface ParamHTMLAttributes extends HTMLAttributes {
|
|
876
|
+
name?: string | undefined | null;
|
|
877
|
+
value?: string | string[] | number | undefined | null;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
interface ProgressHTMLAttributes extends HTMLAttributes {
|
|
881
|
+
max?: number | string | undefined | null;
|
|
882
|
+
value?: string | string[] | number | undefined | null;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
interface SlotHTMLAttributes extends HTMLAttributes {
|
|
886
|
+
name?: string | undefined | null;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
interface ScriptHTMLAttributes extends HTMLAttributes {
|
|
890
|
+
async?: boolean | string | undefined | null;
|
|
891
|
+
charset?: string | undefined | null;
|
|
892
|
+
crossorigin?: string | undefined | null;
|
|
893
|
+
defer?: boolean | string | undefined | null;
|
|
894
|
+
integrity?: string | undefined | null;
|
|
895
|
+
nomodule?: boolean | string | undefined | null;
|
|
896
|
+
nonce?: string | undefined | null;
|
|
897
|
+
src?: string | undefined | null;
|
|
898
|
+
type?: string | undefined | null;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
interface SelectHTMLAttributes extends HTMLAttributes {
|
|
902
|
+
autocomplete?: string | undefined | null;
|
|
602
903
|
autocorrect?: string | undefined | null;
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
904
|
+
disabled?: boolean | string | undefined | null;
|
|
905
|
+
form?: string | undefined | null;
|
|
906
|
+
multiple?: boolean | string | undefined | null;
|
|
907
|
+
name?: string | undefined | null;
|
|
908
|
+
required?: boolean | string | undefined | null;
|
|
909
|
+
size?: number | string | undefined | null;
|
|
910
|
+
value?: string | string[] | number | undefined | null;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
interface SourceHTMLAttributes extends HTMLAttributes {
|
|
914
|
+
height?: number | string | undefined | null;
|
|
915
|
+
media?: string | undefined | null;
|
|
916
|
+
sizes?: string | undefined | null;
|
|
917
|
+
src?: string | undefined | null;
|
|
918
|
+
srcset?: string | undefined | null;
|
|
919
|
+
type?: string | undefined | null;
|
|
920
|
+
width?: number | string | undefined | null;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
interface StyleHTMLAttributes extends HTMLAttributes {
|
|
924
|
+
media?: string | undefined | null;
|
|
925
|
+
nonce?: string | undefined | null;
|
|
926
|
+
scoped?: boolean | string | undefined | null;
|
|
927
|
+
type?: string | undefined | null;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
interface TableHTMLAttributes extends HTMLAttributes {
|
|
931
|
+
align?: 'left' | 'center' | 'right' | undefined | null;
|
|
932
|
+
bgcolor?: string | undefined | null;
|
|
933
|
+
border?: number | undefined | null;
|
|
934
|
+
cellpadding?: number | string | undefined | null;
|
|
935
|
+
cellspacing?: number | string | undefined | null;
|
|
936
|
+
frame?: boolean | undefined | null;
|
|
937
|
+
rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | undefined | null;
|
|
938
|
+
summary?: string | undefined | null;
|
|
939
|
+
width?: number | string | undefined | null;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
interface TextareaHTMLAttributes extends HTMLAttributes {
|
|
943
|
+
autocomplete?: string | undefined | null;
|
|
944
|
+
autocorrect?: string | undefined | null;
|
|
945
|
+
cols?: number | string | undefined | null;
|
|
946
|
+
dirname?: string | undefined | null;
|
|
947
|
+
disabled?: boolean | string | undefined | null;
|
|
948
|
+
form?: string | undefined | null;
|
|
949
|
+
maxlength?: number | string | undefined | null;
|
|
950
|
+
minlength?: number | string | undefined | null;
|
|
951
|
+
name?: string | undefined | null;
|
|
952
|
+
placeholder?: string | undefined | null;
|
|
953
|
+
readonly?: boolean | string | undefined | null;
|
|
954
|
+
required?: boolean | string | undefined | null;
|
|
955
|
+
rows?: number | string | undefined | null;
|
|
956
|
+
value?: string | string[] | number | undefined | null;
|
|
957
|
+
wrap?: string | undefined | null;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
interface TdHTMLAttributes extends HTMLAttributes {
|
|
961
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined | null;
|
|
962
|
+
colspan?: number | string | undefined | null;
|
|
963
|
+
headers?: string | undefined | null;
|
|
964
|
+
rowspan?: number | string | undefined | null;
|
|
965
|
+
scope?: string | undefined | null;
|
|
966
|
+
abbr?: string | undefined | null;
|
|
967
|
+
valign?: 'top' | 'middle' | 'bottom' | 'baseline' | undefined | null;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
interface ThHTMLAttributes extends HTMLAttributes {
|
|
971
|
+
align?: 'left' | 'center' | 'right' | 'justify' | 'char' | undefined | null;
|
|
972
|
+
colspan?: number | string | undefined | null;
|
|
973
|
+
headers?: string | undefined | null;
|
|
974
|
+
rowspan?: number | string | undefined | null;
|
|
975
|
+
scope?: string | undefined | null;
|
|
976
|
+
abbr?: string | undefined | null;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
interface TimeHTMLAttributes extends HTMLAttributes {
|
|
980
|
+
datetime?: string | undefined | null;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
interface TrackHTMLAttributes extends HTMLAttributes {
|
|
984
|
+
default?: boolean | string | undefined | null;
|
|
985
|
+
kind?: string | undefined | null;
|
|
986
|
+
label?: string | undefined | null;
|
|
987
|
+
src?: string | undefined | null;
|
|
988
|
+
srclang?: string | undefined | null;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
interface VideoHTMLAttributes extends MediaHTMLAttributes {
|
|
992
|
+
height?: number | string | undefined | null;
|
|
993
|
+
playsinline?: boolean | string | undefined | null;
|
|
994
|
+
poster?: string | undefined | null;
|
|
995
|
+
width?: number | string | undefined | null;
|
|
996
|
+
disablepictureinpicture?: boolean | string | undefined | null;
|
|
614
997
|
}
|
|
615
998
|
|
|
616
999
|
// this list is "complete" in that it contains every SVG attribute
|
|
@@ -621,12 +1004,8 @@ declare namespace astroHTML.JSX {
|
|
|
621
1004
|
// - "number | string"
|
|
622
1005
|
// - "string"
|
|
623
1006
|
// - union of string literals
|
|
624
|
-
interface SVGAttributes
|
|
625
|
-
extends AriaAttributes,
|
|
626
|
-
DOMAttributes<T>,
|
|
627
|
-
AstroBuiltinAttributes {
|
|
1007
|
+
interface SVGAttributes extends AriaAttributes, DOMAttributes, AstroBuiltinAttributes {
|
|
628
1008
|
// Attributes which also defined in HTMLAttributes
|
|
629
|
-
className?: string | undefined | null;
|
|
630
1009
|
class?: string | undefined | null;
|
|
631
1010
|
color?: string | undefined | null;
|
|
632
1011
|
height?: number | string | undefined | null;
|
|
@@ -643,8 +1022,8 @@ declare namespace astroHTML.JSX {
|
|
|
643
1022
|
width?: number | string | undefined | null;
|
|
644
1023
|
|
|
645
1024
|
// Other HTML properties supported by SVG elements in browsers
|
|
646
|
-
role?:
|
|
647
|
-
tabindex?: number | undefined | null;
|
|
1025
|
+
role?: AriaRole | undefined | null;
|
|
1026
|
+
tabindex?: number | string | undefined | null;
|
|
648
1027
|
crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null;
|
|
649
1028
|
|
|
650
1029
|
// SVG Specific attributes
|
|
@@ -906,184 +1285,181 @@ declare namespace astroHTML.JSX {
|
|
|
906
1285
|
zoomAndPan?: string | undefined | null;
|
|
907
1286
|
}
|
|
908
1287
|
|
|
909
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
910
|
-
interface HTMLProps<T extends EventTarget> extends HTMLAttributes<T> {}
|
|
911
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
912
|
-
interface SVGProps<T extends EventTarget> extends SVGAttributes<T> {}
|
|
913
|
-
|
|
914
1288
|
interface IntrinsicElements {
|
|
915
1289
|
// HTML
|
|
916
|
-
a:
|
|
917
|
-
abbr:
|
|
918
|
-
address:
|
|
919
|
-
area:
|
|
920
|
-
article:
|
|
921
|
-
aside:
|
|
922
|
-
audio:
|
|
923
|
-
b:
|
|
924
|
-
base:
|
|
925
|
-
bdi:
|
|
926
|
-
bdo:
|
|
927
|
-
big:
|
|
928
|
-
blockquote:
|
|
929
|
-
body:
|
|
930
|
-
br:
|
|
931
|
-
button:
|
|
932
|
-
canvas:
|
|
933
|
-
caption:
|
|
934
|
-
cite:
|
|
935
|
-
code:
|
|
936
|
-
col:
|
|
937
|
-
colgroup:
|
|
938
|
-
data:
|
|
939
|
-
datalist:
|
|
940
|
-
dd:
|
|
941
|
-
del:
|
|
942
|
-
details:
|
|
943
|
-
dfn:
|
|
944
|
-
dialog:
|
|
945
|
-
div:
|
|
946
|
-
dl:
|
|
947
|
-
dt:
|
|
948
|
-
em:
|
|
949
|
-
embed:
|
|
950
|
-
fieldset:
|
|
951
|
-
figcaption:
|
|
952
|
-
figure:
|
|
953
|
-
footer:
|
|
954
|
-
form:
|
|
955
|
-
h1:
|
|
956
|
-
h2:
|
|
957
|
-
h3:
|
|
958
|
-
h4:
|
|
959
|
-
h5:
|
|
960
|
-
h6:
|
|
961
|
-
head:
|
|
962
|
-
header:
|
|
963
|
-
hgroup:
|
|
964
|
-
hr:
|
|
965
|
-
html:
|
|
966
|
-
i:
|
|
967
|
-
iframe:
|
|
968
|
-
img:
|
|
969
|
-
input:
|
|
970
|
-
ins:
|
|
971
|
-
kbd:
|
|
972
|
-
keygen:
|
|
973
|
-
label:
|
|
974
|
-
legend:
|
|
975
|
-
li:
|
|
976
|
-
link:
|
|
977
|
-
main:
|
|
978
|
-
map:
|
|
979
|
-
mark:
|
|
980
|
-
menu:
|
|
981
|
-
menuitem:
|
|
982
|
-
meta:
|
|
983
|
-
meter:
|
|
984
|
-
nav:
|
|
985
|
-
noindex:
|
|
986
|
-
noscript:
|
|
987
|
-
object:
|
|
988
|
-
ol:
|
|
989
|
-
optgroup:
|
|
990
|
-
option:
|
|
991
|
-
output:
|
|
992
|
-
p:
|
|
993
|
-
param:
|
|
994
|
-
picture:
|
|
995
|
-
pre:
|
|
996
|
-
progress:
|
|
997
|
-
q:
|
|
998
|
-
rp:
|
|
999
|
-
rt:
|
|
1000
|
-
ruby:
|
|
1001
|
-
s:
|
|
1002
|
-
samp:
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1290
|
+
a: AnchorHTMLAttributes;
|
|
1291
|
+
abbr: HTMLAttributes;
|
|
1292
|
+
address: HTMLAttributes;
|
|
1293
|
+
area: AreaHTMLAttributes;
|
|
1294
|
+
article: HTMLAttributes;
|
|
1295
|
+
aside: HTMLAttributes;
|
|
1296
|
+
audio: AudioHTMLAttributes;
|
|
1297
|
+
b: HTMLAttributes;
|
|
1298
|
+
base: BaseHTMLAttributes;
|
|
1299
|
+
bdi: HTMLAttributes;
|
|
1300
|
+
bdo: HTMLAttributes;
|
|
1301
|
+
big: HTMLAttributes;
|
|
1302
|
+
blockquote: BlockquoteHTMLAttributes;
|
|
1303
|
+
body: HTMLAttributes;
|
|
1304
|
+
br: HTMLAttributes;
|
|
1305
|
+
button: ButtonHTMLAttributes;
|
|
1306
|
+
canvas: CanvasHTMLAttributes;
|
|
1307
|
+
caption: HTMLAttributes;
|
|
1308
|
+
cite: HTMLAttributes;
|
|
1309
|
+
code: HTMLAttributes;
|
|
1310
|
+
col: ColHTMLAttributes;
|
|
1311
|
+
colgroup: ColgroupHTMLAttributes;
|
|
1312
|
+
data: DataHTMLAttributes;
|
|
1313
|
+
datalist: HTMLAttributes;
|
|
1314
|
+
dd: HTMLAttributes;
|
|
1315
|
+
del: DelHTMLAttributes;
|
|
1316
|
+
details: DetailsHTMLAttributes;
|
|
1317
|
+
dfn: HTMLAttributes;
|
|
1318
|
+
dialog: DialogHTMLAttributes;
|
|
1319
|
+
div: HTMLAttributes;
|
|
1320
|
+
dl: HTMLAttributes;
|
|
1321
|
+
dt: HTMLAttributes;
|
|
1322
|
+
em: HTMLAttributes;
|
|
1323
|
+
embed: EmbedHTMLAttributes;
|
|
1324
|
+
fieldset: FieldsetHTMLAttributes;
|
|
1325
|
+
figcaption: HTMLAttributes;
|
|
1326
|
+
figure: HTMLAttributes;
|
|
1327
|
+
footer: HTMLAttributes;
|
|
1328
|
+
form: FormHTMLAttributes;
|
|
1329
|
+
h1: HTMLAttributes;
|
|
1330
|
+
h2: HTMLAttributes;
|
|
1331
|
+
h3: HTMLAttributes;
|
|
1332
|
+
h4: HTMLAttributes;
|
|
1333
|
+
h5: HTMLAttributes;
|
|
1334
|
+
h6: HTMLAttributes;
|
|
1335
|
+
head: HTMLAttributes;
|
|
1336
|
+
header: HTMLAttributes;
|
|
1337
|
+
hgroup: HTMLAttributes;
|
|
1338
|
+
hr: HTMLAttributes;
|
|
1339
|
+
html: HtmlHTMLAttributes;
|
|
1340
|
+
i: HTMLAttributes;
|
|
1341
|
+
iframe: IframeHTMLAttributes;
|
|
1342
|
+
img: ImgHTMLAttributes;
|
|
1343
|
+
input: InputHTMLAttributes;
|
|
1344
|
+
ins: InsHTMLAttributes;
|
|
1345
|
+
kbd: HTMLAttributes;
|
|
1346
|
+
keygen: KeygenHTMLAttributes;
|
|
1347
|
+
label: LabelHTMLAttributes;
|
|
1348
|
+
legend: HTMLAttributes;
|
|
1349
|
+
li: LiHTMLAttributes;
|
|
1350
|
+
link: LinkHTMLAttributes;
|
|
1351
|
+
main: HTMLAttributes;
|
|
1352
|
+
map: MapHTMLAttributes;
|
|
1353
|
+
mark: HTMLAttributes;
|
|
1354
|
+
menu: MenuHTMLAttributes;
|
|
1355
|
+
menuitem: HTMLAttributes;
|
|
1356
|
+
meta: MetaHTMLAttributes;
|
|
1357
|
+
meter: MeterHTMLAttributes;
|
|
1358
|
+
nav: HTMLAttributes;
|
|
1359
|
+
noindex: HTMLAttributes; // https://en.wikipedia.org/wiki/Noindex#%3Cnoindex%3E_tag
|
|
1360
|
+
noscript: HTMLAttributes;
|
|
1361
|
+
object: ObjectHTMLAttributes;
|
|
1362
|
+
ol: OlHTMLAttributes;
|
|
1363
|
+
optgroup: OptgroupHTMLAttributes;
|
|
1364
|
+
option: OptionHTMLAttributes;
|
|
1365
|
+
output: OutputHTMLAttributes;
|
|
1366
|
+
p: HTMLAttributes;
|
|
1367
|
+
param: ParamHTMLAttributes;
|
|
1368
|
+
picture: HTMLAttributes;
|
|
1369
|
+
pre: HTMLAttributes;
|
|
1370
|
+
progress: ProgressHTMLAttributes;
|
|
1371
|
+
q: QuoteHTMLAttributes;
|
|
1372
|
+
rp: HTMLAttributes;
|
|
1373
|
+
rt: HTMLAttributes;
|
|
1374
|
+
ruby: HTMLAttributes;
|
|
1375
|
+
s: HTMLAttributes;
|
|
1376
|
+
samp: HTMLAttributes;
|
|
1377
|
+
slot: SlotHTMLAttributes;
|
|
1378
|
+
script: ScriptHTMLAttributes & AstroScriptAttributes;
|
|
1379
|
+
section: HTMLAttributes;
|
|
1380
|
+
select: SelectHTMLAttributes;
|
|
1381
|
+
small: HTMLAttributes;
|
|
1382
|
+
source: SourceHTMLAttributes;
|
|
1383
|
+
span: HTMLAttributes;
|
|
1384
|
+
strong: HTMLAttributes;
|
|
1385
|
+
style: StyleHTMLAttributes & AstroStyleAttributes;
|
|
1386
|
+
sub: HTMLAttributes;
|
|
1387
|
+
summary: HTMLAttributes;
|
|
1388
|
+
sup: HTMLAttributes;
|
|
1389
|
+
table: TableHTMLAttributes;
|
|
1390
|
+
tbody: HTMLAttributes;
|
|
1391
|
+
td: TdHTMLAttributes;
|
|
1392
|
+
textarea: TextareaHTMLAttributes;
|
|
1393
|
+
tfoot: HTMLAttributes;
|
|
1394
|
+
th: ThHTMLAttributes;
|
|
1395
|
+
thead: HTMLAttributes;
|
|
1396
|
+
time: TimeHTMLAttributes;
|
|
1397
|
+
title: HTMLAttributes;
|
|
1398
|
+
tr: HTMLAttributes;
|
|
1399
|
+
track: TrackHTMLAttributes;
|
|
1400
|
+
u: HTMLAttributes;
|
|
1401
|
+
ul: HTMLAttributes;
|
|
1402
|
+
var: HTMLAttributes;
|
|
1403
|
+
video: VideoHTMLAttributes;
|
|
1404
|
+
wbr: HTMLAttributes;
|
|
1405
|
+
|
|
1406
|
+
// SVG
|
|
1407
|
+
svg: SVGAttributes;
|
|
1408
|
+
animate: SVGAttributes;
|
|
1409
|
+
circle: SVGAttributes;
|
|
1410
|
+
clipPath: SVGAttributes;
|
|
1411
|
+
defs: SVGAttributes;
|
|
1412
|
+
desc: SVGAttributes;
|
|
1413
|
+
ellipse: SVGAttributes;
|
|
1414
|
+
feBlend: SVGAttributes;
|
|
1415
|
+
feColorMatrix: SVGAttributes;
|
|
1416
|
+
feComponentTransfer: SVGAttributes;
|
|
1417
|
+
feComposite: SVGAttributes;
|
|
1418
|
+
feConvolveMatrix: SVGAttributes;
|
|
1419
|
+
feDiffuseLighting: SVGAttributes;
|
|
1420
|
+
feDisplacementMap: SVGAttributes;
|
|
1421
|
+
feDistantLight: SVGAttributes;
|
|
1422
|
+
feFlood: SVGAttributes;
|
|
1423
|
+
feFuncA: SVGAttributes;
|
|
1424
|
+
feFuncB: SVGAttributes;
|
|
1425
|
+
feFuncG: SVGAttributes;
|
|
1426
|
+
feFuncR: SVGAttributes;
|
|
1427
|
+
feGaussianBlur: SVGAttributes;
|
|
1428
|
+
feImage: SVGAttributes;
|
|
1429
|
+
feMerge: SVGAttributes;
|
|
1430
|
+
feMergeNode: SVGAttributes;
|
|
1431
|
+
feMorphology: SVGAttributes;
|
|
1432
|
+
feOffset: SVGAttributes;
|
|
1433
|
+
fePointLight: SVGAttributes;
|
|
1434
|
+
feSpecularLighting: SVGAttributes;
|
|
1435
|
+
feSpotLight: SVGAttributes;
|
|
1436
|
+
feTile: SVGAttributes;
|
|
1437
|
+
feTurbulence: SVGAttributes;
|
|
1438
|
+
filter: SVGAttributes;
|
|
1439
|
+
foreignObject: SVGAttributes;
|
|
1440
|
+
g: SVGAttributes;
|
|
1441
|
+
image: SVGAttributes;
|
|
1442
|
+
line: SVGAttributes;
|
|
1443
|
+
linearGradient: SVGAttributes;
|
|
1444
|
+
marker: SVGAttributes;
|
|
1445
|
+
mask: SVGAttributes;
|
|
1446
|
+
metadata: SVGAttributes;
|
|
1447
|
+
path: SVGAttributes;
|
|
1448
|
+
pattern: SVGAttributes;
|
|
1449
|
+
polygon: SVGAttributes;
|
|
1450
|
+
polyline: SVGAttributes;
|
|
1451
|
+
radialGradient: SVGAttributes;
|
|
1452
|
+
rect: SVGAttributes;
|
|
1453
|
+
stop: SVGAttributes;
|
|
1454
|
+
switch: SVGAttributes;
|
|
1455
|
+
symbol: SVGAttributes;
|
|
1456
|
+
text: SVGAttributes;
|
|
1457
|
+
textPath: SVGAttributes;
|
|
1458
|
+
tspan: SVGAttributes;
|
|
1459
|
+
use: SVGAttributes;
|
|
1460
|
+
view: SVGAttributes;
|
|
1086
1461
|
|
|
1462
|
+
// Allow for arbitrary elements
|
|
1087
1463
|
[name: string]: { [name: string]: any };
|
|
1088
1464
|
}
|
|
1089
1465
|
}
|