@types/react 15.6.24 → 15.6.28

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 v15/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/v15
9
9
 
10
10
  Additional Details
11
- * Last updated: Fri, 19 Apr 2019 16:47:25 GMT
11
+ * Last updated: Wed, 16 Oct 2019 17:28:14 GMT
12
12
  * Dependencies: none
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>, Tanguy Krotoff <https://github.com/tkrotoff>, Dovydas Navickas <https://github.com/DovydasNavickas>, Stéphane Goetz <https://github.com/onigoetz>.
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>, and Kyle Scully <https://github.com/zieka>.
react v15/index.d.ts CHANGED
@@ -8,9 +8,9 @@
8
8
  // Patricio Zavolinsky <https://github.com/pzavolinsky>
9
9
  // Digiguru <https://github.com/digiguru>
10
10
  // Eric Anderson <https://github.com/ericanderson>
11
- // Tanguy Krotoff <https://github.com/tkrotoff>
12
11
  // Dovydas Navickas <https://github.com/DovydasNavickas>
13
12
  // Stéphane Goetz <https://github.com/onigoetz>
13
+ // Kyle Scully <https://github.com/zieka>
14
14
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
15
  // TypeScript Version: 2.8
16
16
 
@@ -2603,8 +2603,6 @@ declare namespace React {
2603
2603
  title?: string;
2604
2604
 
2605
2605
  // Unknown
2606
- inputMode?: string;
2607
- is?: string;
2608
2606
  radioGroup?: string; // <command>, <menuitem>
2609
2607
 
2610
2608
  // WAI-ARIA
@@ -2633,6 +2631,18 @@ declare namespace React {
2633
2631
  results?: number;
2634
2632
  security?: string;
2635
2633
  unselectable?: boolean;
2634
+
2635
+ // Living Standard
2636
+ /**
2637
+ * Hints at the type of data that might be entered by the user while editing the element or its contents
2638
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
2639
+ */
2640
+ inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
2641
+ /**
2642
+ * Specify that a standard HTML element should behave like a defined custom built-in element
2643
+ * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
2644
+ */
2645
+ is?: string;
2636
2646
  }
2637
2647
 
2638
2648
  interface AllHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -2805,6 +2815,10 @@ declare namespace React {
2805
2815
  span?: number;
2806
2816
  }
2807
2817
 
2818
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
2819
+ value?: string | string[] | number;
2820
+ }
2821
+
2808
2822
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
2809
2823
  open?: boolean;
2810
2824
  }
@@ -3426,7 +3440,7 @@ declare namespace React {
3426
3440
  code: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
3427
3441
  col: DetailedHTMLFactory<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
3428
3442
  colgroup: DetailedHTMLFactory<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
3429
- data: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
3443
+ data: DetailedHTMLFactory<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
3430
3444
  datalist: DetailedHTMLFactory<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
3431
3445
  dd: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
3432
3446
  del: DetailedHTMLFactory<DelHTMLAttributes<HTMLElement>, HTMLElement>;
@@ -3502,6 +3516,7 @@ declare namespace React {
3502
3516
  summary: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
3503
3517
  sup: DetailedHTMLFactory<HTMLAttributes<HTMLElement>, HTMLElement>;
3504
3518
  table: DetailedHTMLFactory<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
3519
+ template: DetailedHTMLFactory<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
3505
3520
  tbody: DetailedHTMLFactory<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
3506
3521
  td: DetailedHTMLFactory<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
3507
3522
  textarea: DetailedHTMLFactory<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
@@ -3657,7 +3672,7 @@ declare global {
3657
3672
  code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3658
3673
  col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
3659
3674
  colgroup: React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
3660
- data: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3675
+ data: React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
3661
3676
  datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
3662
3677
  dd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3663
3678
  del: React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLElement>, HTMLElement>;
@@ -3734,6 +3749,7 @@ declare global {
3734
3749
  summary: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3735
3750
  sup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
3736
3751
  table: React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
3752
+ template: React.DetailedHTMLFactory<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
3737
3753
  tbody: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
3738
3754
  td: React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
3739
3755
  textarea: React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
react v15/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "15.6.24",
3
+ "version": "15.6.28",
4
4
  "description": "TypeScript definitions for React",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -40,11 +40,6 @@
40
40
  "url": "https://github.com/ericanderson",
41
41
  "githubUsername": "ericanderson"
42
42
  },
43
- {
44
- "name": "Tanguy Krotoff",
45
- "url": "https://github.com/tkrotoff",
46
- "githubUsername": "tkrotoff"
47
- },
48
43
  {
49
44
  "name": "Dovydas Navickas",
50
45
  "url": "https://github.com/DovydasNavickas",
@@ -54,6 +49,11 @@
54
49
  "name": "Stéphane Goetz",
55
50
  "url": "https://github.com/onigoetz",
56
51
  "githubUsername": "onigoetz"
52
+ },
53
+ {
54
+ "name": "Kyle Scully",
55
+ "url": "https://github.com/zieka",
56
+ "githubUsername": "zieka"
57
57
  }
58
58
  ],
59
59
  "main": "",
@@ -65,6 +65,6 @@
65
65
  },
66
66
  "scripts": {},
67
67
  "dependencies": {},
68
- "typesPublisherContentHash": "646aa76b542548e461701778e3cf3e963a47e63ec7249cb855e8721ff0c6d860",
68
+ "typesPublisherContentHash": "0691a602e746d309649a9471d1c07913bdc1e4c49b93c7504a6b7d9643ed6074",
69
69
  "typeScriptVersion": "2.8"
70
70
  }