22
22
* along with this program; if not, write to the Free Software
23
23
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
24
24
25
- /*** Internal: use JsxDOM directly. */
26
-
27
25
type style = JsxDOMStyle .t
28
26
type domRef
29
27
@@ -32,7 +30,7 @@ type domRef
32
30
*/
33
31
type domProps = {
34
32
key ?: string ,
35
- children ?: JsxC .element ,
33
+ children ?: Jsx .element ,
36
34
ref ?: domRef ,
37
35
/* accessibility */
38
36
/* https://www.w3.org/TR/wai-aria-1.1/ */
@@ -262,100 +260,100 @@ type domProps = {
262
260
width ?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */ ,
263
261
wrap ?: string /* "hard" or "soft" */ ,
264
262
/* Clipboard events */
265
- onCopy ?: JsxEventC .Clipboard .t => unit ,
266
- onCut ?: JsxEventC .Clipboard .t => unit ,
267
- onPaste ?: JsxEventC .Clipboard .t => unit ,
263
+ onCopy ?: JsxEvent .Clipboard .t => unit ,
264
+ onCut ?: JsxEvent .Clipboard .t => unit ,
265
+ onPaste ?: JsxEvent .Clipboard .t => unit ,
268
266
/* Composition events */
269
- onCompositionEnd ?: JsxEventC .Composition .t => unit ,
270
- onCompositionStart ?: JsxEventC .Composition .t => unit ,
271
- onCompositionUpdate ?: JsxEventC .Composition .t => unit ,
267
+ onCompositionEnd ?: JsxEvent .Composition .t => unit ,
268
+ onCompositionStart ?: JsxEvent .Composition .t => unit ,
269
+ onCompositionUpdate ?: JsxEvent .Composition .t => unit ,
272
270
/* Keyboard events */
273
- onKeyDown ?: JsxEventC .Keyboard .t => unit ,
274
- onKeyPress ?: JsxEventC .Keyboard .t => unit ,
275
- onKeyUp ?: JsxEventC .Keyboard .t => unit ,
271
+ onKeyDown ?: JsxEvent .Keyboard .t => unit ,
272
+ onKeyPress ?: JsxEvent .Keyboard .t => unit ,
273
+ onKeyUp ?: JsxEvent .Keyboard .t => unit ,
276
274
/* Focus events */
277
- onFocus ?: JsxEventC .Focus .t => unit ,
278
- onBlur ?: JsxEventC .Focus .t => unit ,
275
+ onFocus ?: JsxEvent .Focus .t => unit ,
276
+ onBlur ?: JsxEvent .Focus .t => unit ,
279
277
/* Form events */
280
- onBeforeInput ?: JsxEventC .Form .t => unit ,
281
- onChange ?: JsxEventC .Form .t => unit ,
282
- onInput ?: JsxEventC .Form .t => unit ,
283
- onReset ?: JsxEventC .Form .t => unit ,
284
- onSubmit ?: JsxEventC .Form .t => unit ,
285
- onInvalid ?: JsxEventC .Form .t => unit ,
278
+ onBeforeInput ?: JsxEvent .Form .t => unit ,
279
+ onChange ?: JsxEvent .Form .t => unit ,
280
+ onInput ?: JsxEvent .Form .t => unit ,
281
+ onReset ?: JsxEvent .Form .t => unit ,
282
+ onSubmit ?: JsxEvent .Form .t => unit ,
283
+ onInvalid ?: JsxEvent .Form .t => unit ,
286
284
/* Mouse events */
287
- onClick ?: JsxEventC .Mouse .t => unit ,
288
- onContextMenu ?: JsxEventC .Mouse .t => unit ,
289
- onDoubleClick ?: JsxEventC .Mouse .t => unit ,
290
- onDrag ?: JsxEventC .Mouse .t => unit ,
291
- onDragEnd ?: JsxEventC .Mouse .t => unit ,
292
- onDragEnter ?: JsxEventC .Mouse .t => unit ,
293
- onDragExit ?: JsxEventC .Mouse .t => unit ,
294
- onDragLeave ?: JsxEventC .Mouse .t => unit ,
295
- onDragOver ?: JsxEventC .Mouse .t => unit ,
296
- onDragStart ?: JsxEventC .Mouse .t => unit ,
297
- onDrop ?: JsxEventC .Mouse .t => unit ,
298
- onMouseDown ?: JsxEventC .Mouse .t => unit ,
299
- onMouseEnter ?: JsxEventC .Mouse .t => unit ,
300
- onMouseLeave ?: JsxEventC .Mouse .t => unit ,
301
- onMouseMove ?: JsxEventC .Mouse .t => unit ,
302
- onMouseOut ?: JsxEventC .Mouse .t => unit ,
303
- onMouseOver ?: JsxEventC .Mouse .t => unit ,
304
- onMouseUp ?: JsxEventC .Mouse .t => unit ,
285
+ onClick ?: JsxEvent .Mouse .t => unit ,
286
+ onContextMenu ?: JsxEvent .Mouse .t => unit ,
287
+ onDoubleClick ?: JsxEvent .Mouse .t => unit ,
288
+ onDrag ?: JsxEvent .Mouse .t => unit ,
289
+ onDragEnd ?: JsxEvent .Mouse .t => unit ,
290
+ onDragEnter ?: JsxEvent .Mouse .t => unit ,
291
+ onDragExit ?: JsxEvent .Mouse .t => unit ,
292
+ onDragLeave ?: JsxEvent .Mouse .t => unit ,
293
+ onDragOver ?: JsxEvent .Mouse .t => unit ,
294
+ onDragStart ?: JsxEvent .Mouse .t => unit ,
295
+ onDrop ?: JsxEvent .Mouse .t => unit ,
296
+ onMouseDown ?: JsxEvent .Mouse .t => unit ,
297
+ onMouseEnter ?: JsxEvent .Mouse .t => unit ,
298
+ onMouseLeave ?: JsxEvent .Mouse .t => unit ,
299
+ onMouseMove ?: JsxEvent .Mouse .t => unit ,
300
+ onMouseOut ?: JsxEvent .Mouse .t => unit ,
301
+ onMouseOver ?: JsxEvent .Mouse .t => unit ,
302
+ onMouseUp ?: JsxEvent .Mouse .t => unit ,
305
303
/* Selection events */
306
- onSelect ?: JsxEventC .Selection .t => unit ,
304
+ onSelect ?: JsxEvent .Selection .t => unit ,
307
305
/* Touch events */
308
- onTouchCancel ?: JsxEventC .Touch .t => unit ,
309
- onTouchEnd ?: JsxEventC .Touch .t => unit ,
310
- onTouchMove ?: JsxEventC .Touch .t => unit ,
311
- onTouchStart ?: JsxEventC .Touch .t => unit ,
306
+ onTouchCancel ?: JsxEvent .Touch .t => unit ,
307
+ onTouchEnd ?: JsxEvent .Touch .t => unit ,
308
+ onTouchMove ?: JsxEvent .Touch .t => unit ,
309
+ onTouchStart ?: JsxEvent .Touch .t => unit ,
312
310
// Pointer events
313
- onPointerOver ?: JsxEventC .Pointer .t => unit ,
314
- onPointerEnter ?: JsxEventC .Pointer .t => unit ,
315
- onPointerDown ?: JsxEventC .Pointer .t => unit ,
316
- onPointerMove ?: JsxEventC .Pointer .t => unit ,
317
- onPointerUp ?: JsxEventC .Pointer .t => unit ,
318
- onPointerCancel ?: JsxEventC .Pointer .t => unit ,
319
- onPointerOut ?: JsxEventC .Pointer .t => unit ,
320
- onPointerLeave ?: JsxEventC .Pointer .t => unit ,
321
- onGotPointerCapture ?: JsxEventC .Pointer .t => unit ,
322
- onLostPointerCapture ?: JsxEventC .Pointer .t => unit ,
311
+ onPointerOver ?: JsxEvent .Pointer .t => unit ,
312
+ onPointerEnter ?: JsxEvent .Pointer .t => unit ,
313
+ onPointerDown ?: JsxEvent .Pointer .t => unit ,
314
+ onPointerMove ?: JsxEvent .Pointer .t => unit ,
315
+ onPointerUp ?: JsxEvent .Pointer .t => unit ,
316
+ onPointerCancel ?: JsxEvent .Pointer .t => unit ,
317
+ onPointerOut ?: JsxEvent .Pointer .t => unit ,
318
+ onPointerLeave ?: JsxEvent .Pointer .t => unit ,
319
+ onGotPointerCapture ?: JsxEvent .Pointer .t => unit ,
320
+ onLostPointerCapture ?: JsxEvent .Pointer .t => unit ,
323
321
/* UI events */
324
- onScroll ?: JsxEventC .UI .t => unit ,
322
+ onScroll ?: JsxEvent .UI .t => unit ,
325
323
/* Wheel events */
326
- onWheel ?: JsxEventC .Wheel .t => unit ,
324
+ onWheel ?: JsxEvent .Wheel .t => unit ,
327
325
/* Media events */
328
- onAbort ?: JsxEventC .Media .t => unit ,
329
- onCanPlay ?: JsxEventC .Media .t => unit ,
330
- onCanPlayThrough ?: JsxEventC .Media .t => unit ,
331
- onDurationChange ?: JsxEventC .Media .t => unit ,
332
- onEmptied ?: JsxEventC .Media .t => unit ,
333
- onEncrypted ?: JsxEventC .Media .t => unit ,
334
- onEnded ?: JsxEventC .Media .t => unit ,
335
- onError ?: JsxEventC .Media .t => unit ,
336
- onLoadedData ?: JsxEventC .Media .t => unit ,
337
- onLoadedMetadata ?: JsxEventC .Media .t => unit ,
338
- onLoadStart ?: JsxEventC .Media .t => unit ,
339
- onPause ?: JsxEventC .Media .t => unit ,
340
- onPlay ?: JsxEventC .Media .t => unit ,
341
- onPlaying ?: JsxEventC .Media .t => unit ,
342
- onProgress ?: JsxEventC .Media .t => unit ,
343
- onRateChange ?: JsxEventC .Media .t => unit ,
344
- onSeeked ?: JsxEventC .Media .t => unit ,
345
- onSeeking ?: JsxEventC .Media .t => unit ,
346
- onStalled ?: JsxEventC .Media .t => unit ,
347
- onSuspend ?: JsxEventC .Media .t => unit ,
348
- onTimeUpdate ?: JsxEventC .Media .t => unit ,
349
- onVolumeChange ?: JsxEventC .Media .t => unit ,
350
- onWaiting ?: JsxEventC .Media .t => unit ,
326
+ onAbort ?: JsxEvent .Media .t => unit ,
327
+ onCanPlay ?: JsxEvent .Media .t => unit ,
328
+ onCanPlayThrough ?: JsxEvent .Media .t => unit ,
329
+ onDurationChange ?: JsxEvent .Media .t => unit ,
330
+ onEmptied ?: JsxEvent .Media .t => unit ,
331
+ onEncrypted ?: JsxEvent .Media .t => unit ,
332
+ onEnded ?: JsxEvent .Media .t => unit ,
333
+ onError ?: JsxEvent .Media .t => unit ,
334
+ onLoadedData ?: JsxEvent .Media .t => unit ,
335
+ onLoadedMetadata ?: JsxEvent .Media .t => unit ,
336
+ onLoadStart ?: JsxEvent .Media .t => unit ,
337
+ onPause ?: JsxEvent .Media .t => unit ,
338
+ onPlay ?: JsxEvent .Media .t => unit ,
339
+ onPlaying ?: JsxEvent .Media .t => unit ,
340
+ onProgress ?: JsxEvent .Media .t => unit ,
341
+ onRateChange ?: JsxEvent .Media .t => unit ,
342
+ onSeeked ?: JsxEvent .Media .t => unit ,
343
+ onSeeking ?: JsxEvent .Media .t => unit ,
344
+ onStalled ?: JsxEvent .Media .t => unit ,
345
+ onSuspend ?: JsxEvent .Media .t => unit ,
346
+ onTimeUpdate ?: JsxEvent .Media .t => unit ,
347
+ onVolumeChange ?: JsxEvent .Media .t => unit ,
348
+ onWaiting ?: JsxEvent .Media .t => unit ,
351
349
/* Image events */
352
- onLoad ?: JsxEventC .Image .t => unit /* duplicate */ /* ~onError: ReactEvent.Image.t => unit=?, */ ,
350
+ onLoad ?: JsxEvent .Image .t => unit /* duplicate */ /* ~onError: ReactEvent.Image.t => unit=?, */ ,
353
351
/* Animation events */
354
- onAnimationStart ?: JsxEventC .Animation .t => unit ,
355
- onAnimationEnd ?: JsxEventC .Animation .t => unit ,
356
- onAnimationIteration ?: JsxEventC .Animation .t => unit ,
352
+ onAnimationStart ?: JsxEvent .Animation .t => unit ,
353
+ onAnimationEnd ?: JsxEvent .Animation .t => unit ,
354
+ onAnimationIteration ?: JsxEvent .Animation .t => unit ,
357
355
/* Transition events */
358
- onTransitionEnd ?: JsxEventC .Transition .t => unit ,
356
+ onTransitionEnd ?: JsxEvent .Transition .t => unit ,
359
357
/* svg */
360
358
accentHeight ?: string ,
361
359
accumulate ?: string ,
0 commit comments