@types/react 18.2.75 → 18.2.76

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 08 Apr 2024 22:35:33 GMT
11
+ * Last updated: Thu, 11 Apr 2024 17:35:56 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/canary.d.ts CHANGED
@@ -131,4 +131,14 @@ declare module "." {
131
131
  initialState: Awaited<State>,
132
132
  permalink?: string,
133
133
  ): [state: Awaited<State>, dispatch: (payload: Payload) => void, isPending: boolean];
134
+
135
+ interface DOMAttributes<T> {
136
+ // Transition Events
137
+ onTransitionCancel?: TransitionEventHandler<T> | undefined;
138
+ onTransitionCancelCapture?: TransitionEventHandler<T> | undefined;
139
+ onTransitionRun?: TransitionEventHandler<T> | undefined;
140
+ onTransitionRunCapture?: TransitionEventHandler<T> | undefined;
141
+ onTransitionStart?: TransitionEventHandler<T> | undefined;
142
+ onTransitionStartCapture?: TransitionEventHandler<T> | undefined;
143
+ }
134
144
  }
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.75",
3
+ "version": "18.2.76",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -205,6 +205,6 @@
205
205
  "@types/prop-types": "*",
206
206
  "csstype": "^3.0.2"
207
207
  },
208
- "typesPublisherContentHash": "d89da57e1e91057f788667d390c9e24d8a9beb0c6945409d681e9dd33facb8a0",
208
+ "typesPublisherContentHash": "8c16114990a8e048e26e229aeea3fc3809477c4cd0c0c10b84db39ded9fd44c6",
209
209
  "typeScriptVersion": "4.7"
210
210
  }
react/ts5.0/canary.d.ts CHANGED
@@ -131,4 +131,14 @@ declare module "." {
131
131
  initialState: Awaited<State>,
132
132
  permalink?: string,
133
133
  ): [state: Awaited<State>, dispatch: (payload: Payload) => void, isPending: boolean];
134
+
135
+ interface DOMAttributes<T> {
136
+ // Transition Events
137
+ onTransitionCancel?: TransitionEventHandler<T> | undefined;
138
+ onTransitionCancelCapture?: TransitionEventHandler<T> | undefined;
139
+ onTransitionRun?: TransitionEventHandler<T> | undefined;
140
+ onTransitionRunCapture?: TransitionEventHandler<T> | undefined;
141
+ onTransitionStart?: TransitionEventHandler<T> | undefined;
142
+ onTransitionStartCapture?: TransitionEventHandler<T> | undefined;
143
+ }
134
144
  }