@types/react 15.7.11 → 15.7.13

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.7/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/v15.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 27 Oct 2022 11:32:50 GMT
11
+ * Last updated: Mon, 27 Mar 2023 18:33:57 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `React`
14
14
 
react v15.7/index.d.ts CHANGED
@@ -131,7 +131,6 @@ declare namespace React {
131
131
  interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
132
132
  allowFullScreen?: boolean | undefined;
133
133
  allowpopups?: boolean | undefined;
134
- autoFocus?: boolean | undefined;
135
134
  autosize?: boolean | undefined;
136
135
  blinkfeatures?: string | undefined;
137
136
  disableblinkfeatures?: string | undefined;
@@ -2591,6 +2590,7 @@ declare namespace React {
2591
2590
 
2592
2591
  // Standard HTML Attributes
2593
2592
  accessKey?: string | undefined;
2593
+ autoFocus?: boolean | undefined;
2594
2594
  className?: string | undefined;
2595
2595
  contentEditable?: boolean | undefined;
2596
2596
  contextMenu?: string | undefined;
@@ -2659,7 +2659,6 @@ declare namespace React {
2659
2659
  as?: string | undefined;
2660
2660
  async?: boolean | undefined;
2661
2661
  autoComplete?: string | undefined;
2662
- autoFocus?: boolean | undefined;
2663
2662
  autoPlay?: boolean | undefined;
2664
2663
  capture?: boolean | string | undefined;
2665
2664
  cellPadding?: number | string | undefined;
@@ -2674,7 +2673,7 @@ declare namespace React {
2674
2673
  content?: string | undefined;
2675
2674
  controls?: boolean | undefined;
2676
2675
  coords?: string | undefined;
2677
- crossOrigin?: string | undefined;
2676
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2678
2677
  data?: string | undefined;
2679
2678
  dateTime?: string | undefined;
2680
2679
  default?: boolean | undefined;
@@ -2791,7 +2790,6 @@ declare namespace React {
2791
2790
  }
2792
2791
 
2793
2792
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
2794
- autoFocus?: boolean | undefined;
2795
2793
  disabled?: boolean | undefined;
2796
2794
  form?: string | undefined;
2797
2795
  formAction?: string | undefined;
@@ -2895,10 +2893,9 @@ declare namespace React {
2895
2893
  accept?: string | undefined;
2896
2894
  alt?: string | undefined;
2897
2895
  autoComplete?: string | undefined;
2898
- autoFocus?: boolean | undefined;
2899
2896
  capture?: boolean | string | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2900
2897
  checked?: boolean | undefined;
2901
- crossOrigin?: string | undefined;
2898
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2902
2899
  disabled?: boolean | undefined;
2903
2900
  form?: string | undefined;
2904
2901
  formAction?: string | undefined;
@@ -2929,7 +2926,6 @@ declare namespace React {
2929
2926
  }
2930
2927
 
2931
2928
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
2932
- autoFocus?: boolean | undefined;
2933
2929
  challenge?: string | undefined;
2934
2930
  disabled?: boolean | undefined;
2935
2931
  form?: string | undefined;
@@ -2949,7 +2945,7 @@ declare namespace React {
2949
2945
 
2950
2946
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
2951
2947
  as?: string | undefined;
2952
- crossOrigin?: string | undefined;
2948
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2953
2949
  href?: string | undefined;
2954
2950
  hrefLang?: string | undefined;
2955
2951
  integrity?: string | undefined;
@@ -2971,7 +2967,7 @@ declare namespace React {
2971
2967
  interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
2972
2968
  autoPlay?: boolean | undefined;
2973
2969
  controls?: boolean | undefined;
2974
- crossOrigin?: string | undefined;
2970
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2975
2971
  loop?: boolean | undefined;
2976
2972
  mediaGroup?: string | undefined;
2977
2973
  muted?: boolean | undefined;
@@ -3050,7 +3046,7 @@ declare namespace React {
3050
3046
  interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
3051
3047
  async?: boolean | undefined;
3052
3048
  charSet?: string | undefined;
3053
- crossOrigin?: string | undefined;
3049
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
3054
3050
  defer?: boolean | undefined;
3055
3051
  integrity?: string | undefined;
3056
3052
  nonce?: string | undefined;
@@ -3060,7 +3056,6 @@ declare namespace React {
3060
3056
 
3061
3057
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
3062
3058
  autoComplete?: string | undefined;
3063
- autoFocus?: boolean | undefined;
3064
3059
  disabled?: boolean | undefined;
3065
3060
  form?: string | undefined;
3066
3061
  multiple?: boolean | undefined;
@@ -3094,7 +3089,6 @@ declare namespace React {
3094
3089
 
3095
3090
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
3096
3091
  autoComplete?: string | undefined;
3097
- autoFocus?: boolean | undefined;
3098
3092
  cols?: number | undefined;
3099
3093
  dirName?: string | undefined;
3100
3094
  disabled?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "15.7.11",
3
+ "version": "15.7.13",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -62,8 +62,8 @@
62
62
  },
63
63
  "scripts": {},
64
64
  "dependencies": {},
65
- "typesPublisherContentHash": "abfdda0f085e7916fc6e6dd1b10f0469af80b2a3635d9cf2fe1cb56da239b9c0",
66
- "typeScriptVersion": "4.1",
65
+ "typesPublisherContentHash": "02620e668ce990acceb52c9ce7262e66a2960d88909180e8755534f3c2deaf61",
66
+ "typeScriptVersion": "4.3",
67
67
  "exports": {
68
68
  ".": {
69
69
  "types": {