@types/react-dom 18.2.0 → 18.2.1
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.
- react-dom/README.md +1 -1
- react-dom/package.json +2 -2
- react-dom/test-utils/index.d.ts +18 -1
react-dom/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (react-dom) (https://reactjs.or
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated: Tue, 25 Apr 2023
|
11
|
+
* Last updated: Tue, 25 Apr 2023 20:32:50 GMT
|
12
12
|
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
|
13
13
|
* Global values: `ReactDOM`, `ReactDOMServer`
|
14
14
|
|
react-dom/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react-dom",
|
3
|
-
"version": "18.2.
|
3
|
+
"version": "18.2.1",
|
4
4
|
"description": "TypeScript definitions for React (react-dom)",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",
|
6
6
|
"license": "MIT",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"dependencies": {
|
50
50
|
"@types/react": "*"
|
51
51
|
},
|
52
|
-
"typesPublisherContentHash": "
|
52
|
+
"typesPublisherContentHash": "3148dc3669fc526e321519b964d3b22531341b2e804caeba130bd6f193866850",
|
53
53
|
"typeScriptVersion": "4.3",
|
54
54
|
"exports": {
|
55
55
|
".": {
|
react-dom/test-utils/index.d.ts
CHANGED
@@ -82,22 +82,25 @@ export interface ShallowRenderer {
|
|
82
82
|
* Simulate an event dispatch on a DOM node with optional `eventData` event data.
|
83
83
|
* `Simulate` has a method for every event that React understands.
|
84
84
|
*/
|
85
|
-
export namespace Simulate {
|
85
|
+
export namespace Simulate {
|
86
86
|
const abort: EventSimulator;
|
87
87
|
const animationEnd: EventSimulator;
|
88
88
|
const animationIteration: EventSimulator;
|
89
89
|
const animationStart: EventSimulator;
|
90
90
|
const blur: EventSimulator;
|
91
|
+
const cancel: EventSimulator;
|
91
92
|
const canPlay: EventSimulator;
|
92
93
|
const canPlayThrough: EventSimulator;
|
93
94
|
const change: EventSimulator;
|
94
95
|
const click: EventSimulator;
|
96
|
+
const close: EventSimulator;
|
95
97
|
const compositionEnd: EventSimulator;
|
96
98
|
const compositionStart: EventSimulator;
|
97
99
|
const compositionUpdate: EventSimulator;
|
98
100
|
const contextMenu: EventSimulator;
|
99
101
|
const copy: EventSimulator;
|
100
102
|
const cut: EventSimulator;
|
103
|
+
const auxClick: EventSimulator;
|
101
104
|
const doubleClick: EventSimulator;
|
102
105
|
const drag: EventSimulator;
|
103
106
|
const dragEnd: EventSimulator;
|
@@ -134,11 +137,25 @@ export namespace Simulate {
|
|
134
137
|
const play: EventSimulator;
|
135
138
|
const playing: EventSimulator;
|
136
139
|
const progress: EventSimulator;
|
140
|
+
const pointerCancel: EventSimulator;
|
141
|
+
const pointerDown: EventSimulator;
|
142
|
+
const pointerUp: EventSimulator;
|
143
|
+
const pointerMove: EventSimulator;
|
144
|
+
const pointerOut: EventSimulator;
|
145
|
+
const pointerOver: EventSimulator;
|
146
|
+
const pointerEnter: EventSimulator;
|
147
|
+
const pointerLeave: EventSimulator;
|
148
|
+
const gotPointerCapture: EventSimulator;
|
149
|
+
const lostPointerCapture: EventSimulator;
|
137
150
|
const rateChange: EventSimulator;
|
151
|
+
const reset: EventSimulator;
|
152
|
+
const resize: EventSimulator;
|
138
153
|
const scroll: EventSimulator;
|
154
|
+
const toggle: EventSimulator;
|
139
155
|
const seeked: EventSimulator;
|
140
156
|
const seeking: EventSimulator;
|
141
157
|
const select: EventSimulator;
|
158
|
+
const beforeInput: EventSimulator;
|
142
159
|
const stalled: EventSimulator;
|
143
160
|
const submit: EventSimulator;
|
144
161
|
const suspend: EventSimulator;
|