1
1
package com .raquo .domtypes .jsdom
2
2
3
- import com .raquo .domtypes .generic
3
+ import com .raquo .domtypes .old
4
4
import com .raquo .domtypes .jsdom .defs .events ._
5
5
import org .scalajs .dom
6
6
7
7
package object defs {
8
8
9
9
object eventProps {
10
10
11
- type ClipboardEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.ClipboardEventProps [EP , dom.Event , dom.ClipboardEvent ]
11
+ type ClipboardEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.ClipboardEventProps [EP , dom.Event , dom.ClipboardEvent ]
12
12
13
- type ErrorEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.ErrorEventProps [EP , dom.Event , dom.ErrorEvent ]
13
+ type ErrorEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.ErrorEventProps [EP , dom.Event , dom.ErrorEvent ]
14
14
15
- type FormEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.FormEventProps [
15
+ type FormEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.FormEventProps [
16
16
EP ,
17
17
dom.Event ,
18
18
TypedTargetFocusEvent [dom.Element ],
@@ -23,19 +23,19 @@ package object defs {
23
23
TypedTargetEvent [dom.html.Input ]
24
24
]
25
25
26
- type KeyboardEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.KeyboardEventProps [EP , dom.Event , dom.KeyboardEvent ]
26
+ type KeyboardEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.KeyboardEventProps [EP , dom.Event , dom.KeyboardEvent ]
27
27
28
- type MediaEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.MediaEventProps [EP , dom.Event ]
28
+ type MediaEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.MediaEventProps [EP , dom.Event ]
29
29
30
- type MiscellaneousEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.MiscellaneousEventProps [
30
+ type MiscellaneousEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.MiscellaneousEventProps [
31
31
EP ,
32
32
dom.Event ,
33
33
dom.AnimationEvent ,
34
34
dom.TransitionEvent ,
35
35
dom.UIEvent
36
36
]
37
37
38
- type MouseEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.MouseEventProps [
38
+ type MouseEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.MouseEventProps [
39
39
EP ,
40
40
dom.Event ,
41
41
dom.MouseEvent ,
@@ -44,14 +44,14 @@ package object defs {
44
44
dom.WheelEvent
45
45
]
46
46
47
- type PointerEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.PointerEventProps [
47
+ type PointerEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.PointerEventProps [
48
48
EP ,
49
49
dom.Event ,
50
50
dom.PointerEvent ,
51
51
TypedTargetPointerEvent [dom.Element ]
52
52
]
53
53
54
- type WindowOnlyEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.WindowOnlyEventProps [
54
+ type WindowOnlyEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.WindowOnlyEventProps [
55
55
EP ,
56
56
dom.Event ,
57
57
dom.UIEvent ,
@@ -63,7 +63,7 @@ package object defs {
63
63
dom.StorageEvent
64
64
]
65
65
66
- type DocumentOnlyEventProps [EP [_ <: dom.Event ]] = generic .defs.eventProps.DocumentOnlyEventProps [
66
+ type DocumentOnlyEventProps [EP [_ <: dom.Event ]] = old .defs.eventProps.DocumentOnlyEventProps [
67
67
EP ,
68
68
dom.Event
69
69
]
@@ -78,46 +78,46 @@ package object defs {
78
78
with MediaEventProps [EP ]
79
79
with MiscellaneousEventProps [EP ]
80
80
with MouseEventProps [EP ]
81
- with PointerEventProps [EP ] { this : generic .builders.EventPropBuilder [EP , dom.Event ] => }
81
+ with PointerEventProps [EP ] { this : old .builders.EventPropBuilder [EP , dom.Event ] => }
82
82
83
83
/** Matches WindowEventHandlers: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers */
84
84
trait WindowEventProps [EP [_ <: dom.Event ]]
85
85
extends GlobalEventProps [EP ]
86
- with WindowOnlyEventProps [EP ] { this : generic .builders.EventPropBuilder [EP , dom.Event ] => }
86
+ with WindowOnlyEventProps [EP ] { this : old .builders.EventPropBuilder [EP , dom.Event ] => }
87
87
88
88
trait DocumentEventProps [EP [_ <: dom.Event ]]
89
89
extends GlobalEventProps [EP ]
90
90
with DocumentOnlyEventProps [EP ]
91
- with ClipboardEventProps [EP ] { this : generic .builders.EventPropBuilder [EP , dom.Event ] => }
91
+ with ClipboardEventProps [EP ] { this : old .builders.EventPropBuilder [EP , dom.Event ] => }
92
92
93
93
trait ElementEventProps [EP [_ <: dom.Event ]]
94
- extends GlobalEventProps [EP ] { this : generic .builders.EventPropBuilder [EP , dom.Event ] => }
94
+ extends GlobalEventProps [EP ] { this : old .builders.EventPropBuilder [EP , dom.Event ] => }
95
95
96
96
trait HTMLElementEventProps [EP [_ <: dom.Event ]]
97
97
extends ElementEventProps [EP ]
98
- with ClipboardEventProps [EP ] { this : generic .builders.EventPropBuilder [EP , dom.Event ] => }
98
+ with ClipboardEventProps [EP ] { this : old .builders.EventPropBuilder [EP , dom.Event ] => }
99
99
100
100
}
101
101
102
102
object tags {
103
103
104
- type DocumentTags [T [_ <: dom.html.Element ]] = generic .defs.tags.DocumentTags [T , dom.html.Element , dom.html.Html , dom.html.Head , dom.html.Base , dom.html.Link , dom.html.Meta , dom.html.Script , dom.html.Element ]
104
+ type DocumentTags [T [_ <: dom.html.Element ]] = old .defs.tags.DocumentTags [T , dom.html.Element , dom.html.Html , dom.html.Head , dom.html.Base , dom.html.Link , dom.html.Meta , dom.html.Script , dom.html.Element ]
105
105
106
- type GroupingTags [T [_ <: dom.html.Element ]] = generic .defs.tags.GroupingTags [T , dom.html.Element , dom.html.Paragraph , dom.html.HR , dom.html.Pre , dom.html.Quote , dom.html.OList , dom.html.UList , dom.html.LI , dom.html.DList , dom.html.Element , dom.html.Div ]
106
+ type GroupingTags [T [_ <: dom.html.Element ]] = old .defs.tags.GroupingTags [T , dom.html.Element , dom.html.Paragraph , dom.html.HR , dom.html.Pre , dom.html.Quote , dom.html.OList , dom.html.UList , dom.html.LI , dom.html.DList , dom.html.Element , dom.html.Div ]
107
107
108
- type TextTags [T [_ <: dom.html.Element ]] = generic .defs.tags.TextTags [T , dom.html.Element , dom.html.Anchor , dom.html.Element , dom.html.Span , dom.html.BR , dom.html.Mod ]
108
+ type TextTags [T [_ <: dom.html.Element ]] = old .defs.tags.TextTags [T , dom.html.Element , dom.html.Anchor , dom.html.Element , dom.html.Span , dom.html.BR , dom.html.Mod ]
109
109
110
- type FormTags [T [_ <: dom.html.Element ]] = generic .defs.tags.FormTags [T , dom.html.Element , dom.html.Form , dom.html.FieldSet , dom.html.Legend , dom.html.Label , dom.html.Input , dom.html.Button , dom.html.Select , dom.html.DataList , dom.html.OptGroup , dom.html.Option , dom.html.TextArea ]
110
+ type FormTags [T [_ <: dom.html.Element ]] = old .defs.tags.FormTags [T , dom.html.Element , dom.html.Form , dom.html.FieldSet , dom.html.Legend , dom.html.Label , dom.html.Input , dom.html.Button , dom.html.Select , dom.html.DataList , dom.html.OptGroup , dom.html.Option , dom.html.TextArea ]
111
111
112
- type SectionTags [T [_ <: dom.html.Element ]] = generic .defs.tags.SectionTags [T , dom.html.Element , dom.html.Body , dom.html.Element , dom.html.Heading ]
112
+ type SectionTags [T [_ <: dom.html.Element ]] = old .defs.tags.SectionTags [T , dom.html.Element , dom.html.Body , dom.html.Element , dom.html.Heading ]
113
113
114
- type EmbedTags [T [_ <: dom.html.Element ]] = generic .defs.tags.EmbedTags [T , dom.html.Element , dom.html.Image , dom.html.IFrame , dom.html.Embed , dom.html.Object , dom.html.Param , dom.html.Video , dom.html.Audio , dom.html.Source , dom.html.Track , dom.html.Canvas , dom.html.Map , dom.html.Area ]
114
+ type EmbedTags [T [_ <: dom.html.Element ]] = old .defs.tags.EmbedTags [T , dom.html.Element , dom.html.Image , dom.html.IFrame , dom.html.Embed , dom.html.Object , dom.html.Param , dom.html.Video , dom.html.Audio , dom.html.Source , dom.html.Track , dom.html.Canvas , dom.html.Map , dom.html.Area ]
115
115
116
- type TableTags [T [_ <: dom.html.Element ]] = generic .defs.tags.TableTags [T , dom.html.Element , dom.html.Table , dom.html.TableCaption , dom.html.TableCol , dom.html.TableSection , dom.html.TableRow , dom.html.TableCell ]
116
+ type TableTags [T [_ <: dom.html.Element ]] = old .defs.tags.TableTags [T , dom.html.Element , dom.html.Table , dom.html.TableCaption , dom.html.TableCol , dom.html.TableSection , dom.html.TableRow , dom.html.TableCell ]
117
117
118
- type MiscTags [T [_ <: dom.html.Element ]] = generic .defs.tags.MiscTags [T , dom.html.Element , dom.html.Title , dom.html.Style , dom.html.Element , dom.html.Quote , dom.html.Progress , dom.html.Menu ]
118
+ type MiscTags [T [_ <: dom.html.Element ]] = old .defs.tags.MiscTags [T , dom.html.Element , dom.html.Title , dom.html.Style , dom.html.Element , dom.html.Quote , dom.html.Progress , dom.html.Menu ]
119
119
120
- type SvgTags [T [_ <: dom.svg.Element ]] = generic .defs.tags.SvgTags [
120
+ type SvgTags [T [_ <: dom.svg.Element ]] = old .defs.tags.SvgTags [
121
121
T ,
122
122
dom.svg.Element ,
123
123
dom.svg.A ,
0 commit comments