@types/react 16.8.20 → 16.8.24

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
@@ -2,15 +2,15 @@
2
2
  > `npm install --save @types/react`
3
3
 
4
4
  # Summary
5
- This package contains type definitions for React ( http://facebook.github.io/react/ ).
5
+ This package contains type definitions for React (http://facebook.github.io/react/).
6
6
 
7
7
  # Details
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, 13 Jun 2019 19:24:37 GMT
11
+ * Last updated: Wed, 31 Jul 2019 17:06:41 GMT
12
12
  * Dependencies: @types/csstype, @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>, Stéphane Goetz <https://github.com/onigoetz>, 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>.
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>, Stéphane Goetz <https://github.com/onigoetz>, 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>, and Sebastian Silbermann <https://github.com/eps1lon>.
react/global.d.ts CHANGED
@@ -34,6 +34,7 @@ interface HTMLBodyElement extends HTMLElement { }
34
34
  interface HTMLBRElement extends HTMLElement { }
35
35
  interface HTMLButtonElement extends HTMLElement { }
36
36
  interface HTMLCanvasElement extends HTMLElement { }
37
+ interface HTMLDataElement extends HTMLElement { }
37
38
  interface HTMLDataListElement extends HTMLElement { }
38
39
  interface HTMLDialogElement extends HTMLElement { }
39
40
  interface HTMLDivElement extends HTMLElement { }
react/index.d.ts CHANGED
@@ -1805,6 +1805,7 @@ declare namespace React {
1805
1805
  href?: string;
1806
1806
  hrefLang?: string;
1807
1807
  media?: string;
1808
+ ping?: string;
1808
1809
  rel?: string;
1809
1810
  target?: string;
1810
1811
  type?: string;
@@ -1863,6 +1864,10 @@ declare namespace React {
1863
1864
  span?: number;
1864
1865
  }
1865
1866
 
1867
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
1868
+ value?: string | string[] | number;
1869
+ }
1870
+
1866
1871
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
1867
1872
  open?: boolean;
1868
1873
  }
@@ -2517,7 +2522,7 @@ declare namespace React {
2517
2522
  code: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2518
2523
  col: DetailedHTMLFactory<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2519
2524
  colgroup: DetailedHTMLFactory<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2520
- data: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2525
+ data: DetailedHTMLFactory<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
2521
2526
  datalist: DetailedHTMLFactory<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
2522
2527
  dd: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2523
2528
  del: DetailedHTMLFactory<DelHTMLAttributes<HTMLElement>, HTMLElement>;
@@ -2849,7 +2854,7 @@ declare global {
2849
2854
  code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2850
2855
  col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2851
2856
  colgroup: React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2852
- data: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2857
+ data: React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
2853
2858
  datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
2854
2859
  dd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2855
2860
  del: React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLElement>, HTMLElement>;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.8.20",
3
+ "version": "16.8.24",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -119,6 +119,6 @@
119
119
  "@types/prop-types": "*",
120
120
  "csstype": "^2.2.0"
121
121
  },
122
- "typesPublisherContentHash": "12b97578e704c3f9ed778d418f5f6e1fc8abce153e6e4986206e7b06ec6689b4",
122
+ "typesPublisherContentHash": "742301c79dcceaf1c09a271eeed4b902d9535f32643bc678a02c789b36c09449",
123
123
  "typeScriptVersion": "2.8"
124
124
  }