@types/react 18.0.24 → 18.0.26

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.
Files changed (3) hide show
  1. react/README.md +2 -2
  2. react/index.d.ts +5 -0
  3. react/package.json +8 -3
react/README.md CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for React (http://facebook.github.io/reac
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 27 Oct 2022 11:32:50 GMT
11
+ * Last updated: Fri, 02 Dec 2022 14:32:55 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
13
13
  * Global values: `React`
14
14
 
15
15
  # Credits
16
- These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), [John Reilly](https://github.com/johnnyreilly), [Benoit Benezech](https://github.com/bbenezech), [Patricio Zavolinsky](https://github.com/pzavolinsky), [Eric Anderson](https://github.com/ericanderson), [Dovydas Navickas](https://github.com/DovydasNavickas), [Josh Rutherford](https://github.com/theruther4d), [Guilherme Hübner](https://github.com/guilhermehubner), [Ferdy Budhidharma](https://github.com/ferdaber), [Johann Rakotoharisoa](https://github.com/jrakotoharisoa), [Olivier Pascal](https://github.com/pascaloliv), [Martin Hochel](https://github.com/hotell), [Frank Li](https://github.com/franklixuefei), [Jessica Franco](https://github.com/Jessidhia), [Saransh Kataria](https://github.com/saranshkataria), [Kanitkorn Sujautra](https://github.com/lukyth), [Sebastian Silbermann](https://github.com/eps1lon), [Kyle Scully](https://github.com/zieka), [Cong Zhang](https://github.com/dancerphil), [Dimitri Mitropoulos](https://github.com/dimitropoulos), [JongChan Choi](https://github.com/disjukr), [Victor Magalhães](https://github.com/vhfmag), [Dale Tan](https://github.com/hellatan), and [Priyanshu Rav](https://github.com/priyanshurav).
16
+ These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), [John Reilly](https://github.com/johnnyreilly), [Benoit Benezech](https://github.com/bbenezech), [Patricio Zavolinsky](https://github.com/pzavolinsky), [Eric Anderson](https://github.com/ericanderson), [Dovydas Navickas](https://github.com/DovydasNavickas), [Josh Rutherford](https://github.com/theruther4d), [Guilherme Hübner](https://github.com/guilhermehubner), [Ferdy Budhidharma](https://github.com/ferdaber), [Johann Rakotoharisoa](https://github.com/jrakotoharisoa), [Olivier Pascal](https://github.com/pascaloliv), [Martin Hochel](https://github.com/hotell), [Frank Li](https://github.com/franklixuefei), [Jessica Franco](https://github.com/Jessidhia), [Saransh Kataria](https://github.com/saranshkataria), [Kanitkorn Sujautra](https://github.com/lukyth), [Sebastian Silbermann](https://github.com/eps1lon), [Kyle Scully](https://github.com/zieka), [Cong Zhang](https://github.com/dancerphil), [Dimitri Mitropoulos](https://github.com/dimitropoulos), [JongChan Choi](https://github.com/disjukr), [Victor Magalhães](https://github.com/vhfmag), [Dale Tan](https://github.com/hellatan), [Priyanshu Rav](https://github.com/priyanshurav), and [Dmitry Semigradsky](https://github.com/Semigradsky).
react/index.d.ts CHANGED
@@ -26,6 +26,7 @@
26
26
  // Victor Magalhães <https://github.com/vhfmag>
27
27
  // Dale Tan <https://github.com/hellatan>
28
28
  // Priyanshu Rav <https://github.com/priyanshurav>
29
+ // Dmitry Semigradsky <https://github.com/Semigradsky>
29
30
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
30
31
  // TypeScript Version: 2.8
31
32
 
@@ -1460,6 +1461,8 @@ declare namespace React {
1460
1461
  onProgressCapture?: ReactEventHandler<T> | undefined;
1461
1462
  onRateChange?: ReactEventHandler<T> | undefined;
1462
1463
  onRateChangeCapture?: ReactEventHandler<T> | undefined;
1464
+ onResize?: ReactEventHandler<T> | undefined;
1465
+ onResizeCapture?: ReactEventHandler<T> | undefined;
1463
1466
  onSeeked?: ReactEventHandler<T> | undefined;
1464
1467
  onSeekedCapture?: ReactEventHandler<T> | undefined;
1465
1468
  onSeeking?: ReactEventHandler<T> | undefined;
@@ -2820,6 +2823,7 @@ declare namespace React {
2820
2823
  button: DetailedHTMLFactory<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
2821
2824
  canvas: DetailedHTMLFactory<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>;
2822
2825
  caption: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2826
+ center: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2823
2827
  cite: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2824
2828
  code: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2825
2829
  col: DetailedHTMLFactory<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
@@ -3157,6 +3161,7 @@ declare global {
3157
3161
  button: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
3158
3162
  canvas: React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>;
3159
3163
  caption: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3164
+ center: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3160
3165
  cite: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3161
3166
  code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3162
3167
  col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.0.24",
3
+ "version": "18.0.26",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -131,6 +131,11 @@
131
131
  "name": "Priyanshu Rav",
132
132
  "url": "https://github.com/priyanshurav",
133
133
  "githubUsername": "priyanshurav"
134
+ },
135
+ {
136
+ "name": "Dmitry Semigradsky",
137
+ "url": "https://github.com/Semigradsky",
138
+ "githubUsername": "Semigradsky"
134
139
  }
135
140
  ],
136
141
  "main": "",
@@ -146,8 +151,8 @@
146
151
  "@types/scheduler": "*",
147
152
  "csstype": "^3.0.2"
148
153
  },
149
- "typesPublisherContentHash": "7834dcdae9bdbf084395b391465cbd6a7e838a24ca26482cf3bd8fe799f1c88f",
150
- "typeScriptVersion": "4.1",
154
+ "typesPublisherContentHash": "cd368694add669e79e789ca680189618952e6297696daf9408b8ce05464bd413",
155
+ "typeScriptVersion": "4.2",
151
156
  "exports": {
152
157
  ".": {
153
158
  "types": {