@types/react 16.9.31 → 16.9.35
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/LICENSE +21 -21
- react/README.md +2 -2
- react/experimental.d.ts +3 -3
- react/index.d.ts +6 -1
- react/package.json +13 -3
react/LICENSE
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) Microsoft Corporation.
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) Microsoft Corporation.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE
|
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:
|
11
|
+
* Last updated: Mon, 11 May 2020 01:27:17 GMT
|
12
12
|
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types)
|
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), [Digiguru](https://github.com/digiguru), [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),
|
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), [Digiguru](https://github.com/digiguru), [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), and [Victor Magalhães](https://github.com/vhfmag).
|
react/experimental.d.ts
CHANGED
@@ -92,7 +92,7 @@ declare module '.' {
|
|
92
92
|
* @see https://reactjs.org/docs/concurrent-mode-reference.html#suspenselist
|
93
93
|
* @see https://reactjs.org/docs/concurrent-mode-patterns.html#suspenselist
|
94
94
|
*/
|
95
|
-
export const
|
95
|
+
export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
|
96
96
|
|
97
97
|
export interface SuspenseConfig extends TimeoutConfig {
|
98
98
|
busyDelayMs?: number;
|
@@ -143,7 +143,7 @@ declare module '.' {
|
|
143
143
|
*
|
144
144
|
* @see https://reactjs.org/docs/concurrent-mode-reference.html#usedeferredvalue
|
145
145
|
*/
|
146
|
-
export function
|
146
|
+
export function unstable_useDeferredValue<T>(value: T, config?: TimeoutConfig | null): T;
|
147
147
|
|
148
148
|
/**
|
149
149
|
* Allows components to avoid undesirable loading states by waiting for content to load
|
@@ -162,5 +162,5 @@ declare module '.' {
|
|
162
162
|
*
|
163
163
|
* @see https://reactjs.org/docs/concurrent-mode-reference.html#usetransition
|
164
164
|
*/
|
165
|
-
export function
|
165
|
+
export function unstable_useTransition(config?: SuspenseConfig | null): [TransitionStartFunction, boolean];
|
166
166
|
}
|
react/index.d.ts
CHANGED
@@ -23,6 +23,8 @@
|
|
23
23
|
// Kyle Scully <https://github.com/zieka>
|
24
24
|
// Cong Zhang <https://github.com/dancerphil>
|
25
25
|
// Dimitri Mitropoulos <https://github.com/dimitropoulos>
|
26
|
+
// JongChan Choi <https://github.com/disjukr>
|
27
|
+
// Victor Magalhães <https://github.com/vhfmag>
|
26
28
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
27
29
|
// TypeScript Version: 2.8
|
28
30
|
|
@@ -1179,8 +1181,10 @@ declare namespace React {
|
|
1179
1181
|
interface PointerEvent<T = Element> extends MouseEvent<T, NativePointerEvent> {
|
1180
1182
|
pointerId: number;
|
1181
1183
|
pressure: number;
|
1184
|
+
tangentialPressure: number;
|
1182
1185
|
tiltX: number;
|
1183
1186
|
tiltY: number;
|
1187
|
+
twist: number;
|
1184
1188
|
width: number;
|
1185
1189
|
height: number;
|
1186
1190
|
pointerType: 'mouse' | 'pen' | 'touch';
|
@@ -2126,6 +2130,7 @@ declare namespace React {
|
|
2126
2130
|
rel?: string;
|
2127
2131
|
sizes?: string;
|
2128
2132
|
type?: string;
|
2133
|
+
charSet?: string;
|
2129
2134
|
}
|
2130
2135
|
|
2131
2136
|
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
@@ -2144,7 +2149,7 @@ declare namespace React {
|
|
2144
2149
|
loop?: boolean;
|
2145
2150
|
mediaGroup?: string;
|
2146
2151
|
muted?: boolean;
|
2147
|
-
|
2152
|
+
playsInline?: boolean;
|
2148
2153
|
preload?: string;
|
2149
2154
|
src?: string;
|
2150
2155
|
}
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "16.9.
|
3
|
+
"version": "16.9.35",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"license": "MIT",
|
6
6
|
"contributors": [
|
@@ -115,6 +115,16 @@
|
|
115
115
|
"name": "Dimitri Mitropoulos",
|
116
116
|
"url": "https://github.com/dimitropoulos",
|
117
117
|
"githubUsername": "dimitropoulos"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"name": "JongChan Choi",
|
121
|
+
"url": "https://github.com/disjukr",
|
122
|
+
"githubUsername": "disjukr"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"name": "Victor Magalhães",
|
126
|
+
"url": "https://github.com/vhfmag",
|
127
|
+
"githubUsername": "vhfmag"
|
118
128
|
}
|
119
129
|
],
|
120
130
|
"main": "",
|
@@ -129,6 +139,6 @@
|
|
129
139
|
"@types/prop-types": "*",
|
130
140
|
"csstype": "^2.2.0"
|
131
141
|
},
|
132
|
-
"typesPublisherContentHash": "
|
133
|
-
"typeScriptVersion": "2.
|
142
|
+
"typesPublisherContentHash": "46ea77d3338a7e56a61d910e9a5f41ddb38ab6b52387aa8ac9bea893f697041f",
|
143
|
+
"typeScriptVersion": "2.9"
|
134
144
|
}
|