@types/react 16.8.23 → 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
@@ -8,7 +8,7 @@ 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: Wed, 03 Jul 2019 16:58:51 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
 
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
@@ -1864,6 +1864,10 @@ declare namespace React {
1864
1864
  span?: number;
1865
1865
  }
1866
1866
 
1867
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
1868
+ value?: string | string[] | number;
1869
+ }
1870
+
1867
1871
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
1868
1872
  open?: boolean;
1869
1873
  }
@@ -2518,7 +2522,7 @@ declare namespace React {
2518
2522
  code: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2519
2523
  col: DetailedHTMLFactory<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2520
2524
  colgroup: DetailedHTMLFactory<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2521
- data: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2525
+ data: DetailedHTMLFactory<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
2522
2526
  datalist: DetailedHTMLFactory<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
2523
2527
  dd: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
2524
2528
  del: DetailedHTMLFactory<DelHTMLAttributes<HTMLElement>, HTMLElement>;
@@ -2850,7 +2854,7 @@ declare global {
2850
2854
  code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2851
2855
  col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2852
2856
  colgroup: React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
2853
- data: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2857
+ data: React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
2854
2858
  datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
2855
2859
  dd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
2856
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.23",
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": "f1328612b59aba18da02a2a55080f36bca3ff3d2bb1278d02e50712e501e6318",
122
+ "typesPublisherContentHash": "742301c79dcceaf1c09a271eeed4b902d9535f32643bc678a02c789b36c09449",
123
123
  "typeScriptVersion": "2.8"
124
124
  }