@types/react 16.14.34 → 16.14.36

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 v16.14/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/v16.
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: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
13
13
  * Global values: `React`
14
14
 
react v16.14/index.d.ts CHANGED
@@ -1819,6 +1819,7 @@ declare namespace React {
1819
1819
 
1820
1820
  // Standard HTML Attributes
1821
1821
  accessKey?: string | undefined;
1822
+ autoFocus?: boolean | undefined;
1822
1823
  className?: string | undefined;
1823
1824
  contentEditable?: Booleanish | "inherit" | undefined;
1824
1825
  contextMenu?: string | undefined;
@@ -1890,7 +1891,6 @@ declare namespace React {
1890
1891
  as?: string | undefined;
1891
1892
  async?: boolean | undefined;
1892
1893
  autoComplete?: string | undefined;
1893
- autoFocus?: boolean | undefined;
1894
1894
  autoPlay?: boolean | undefined;
1895
1895
  capture?: boolean | string | undefined;
1896
1896
  cellPadding?: number | string | undefined;
@@ -1905,7 +1905,7 @@ declare namespace React {
1905
1905
  content?: string | undefined;
1906
1906
  controls?: boolean | undefined;
1907
1907
  coords?: string | undefined;
1908
- crossOrigin?: string | undefined;
1908
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
1909
1909
  data?: string | undefined;
1910
1910
  dateTime?: string | undefined;
1911
1911
  default?: boolean | undefined;
@@ -2044,7 +2044,6 @@ declare namespace React {
2044
2044
  }
2045
2045
 
2046
2046
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
2047
- autoFocus?: boolean | undefined;
2048
2047
  disabled?: boolean | undefined;
2049
2048
  form?: string | undefined;
2050
2049
  formAction?: string | undefined;
@@ -2191,10 +2190,9 @@ declare namespace React {
2191
2190
  accept?: string | undefined;
2192
2191
  alt?: string | undefined;
2193
2192
  autoComplete?: string | undefined;
2194
- autoFocus?: boolean | undefined;
2195
2193
  capture?: boolean | string | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2196
2194
  checked?: boolean | undefined;
2197
- crossOrigin?: string | undefined;
2195
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2198
2196
  disabled?: boolean | undefined;
2199
2197
  form?: string | undefined;
2200
2198
  formAction?: string | undefined;
@@ -2225,7 +2223,6 @@ declare namespace React {
2225
2223
  }
2226
2224
 
2227
2225
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
2228
- autoFocus?: boolean | undefined;
2229
2226
  challenge?: string | undefined;
2230
2227
  disabled?: boolean | undefined;
2231
2228
  form?: string | undefined;
@@ -2245,7 +2242,7 @@ declare namespace React {
2245
2242
 
2246
2243
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
2247
2244
  as?: string | undefined;
2248
- crossOrigin?: string | undefined;
2245
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2249
2246
  href?: string | undefined;
2250
2247
  hrefLang?: string | undefined;
2251
2248
  integrity?: string | undefined;
@@ -2270,7 +2267,7 @@ declare namespace React {
2270
2267
  autoPlay?: boolean | undefined;
2271
2268
  controls?: boolean | undefined;
2272
2269
  controlsList?: string | undefined;
2273
- crossOrigin?: string | undefined;
2270
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2274
2271
  loop?: boolean | undefined;
2275
2272
  mediaGroup?: string | undefined;
2276
2273
  muted?: boolean | undefined;
@@ -2355,7 +2352,7 @@ declare namespace React {
2355
2352
  async?: boolean | undefined;
2356
2353
  /** @deprecated */
2357
2354
  charSet?: string | undefined;
2358
- crossOrigin?: string | undefined;
2355
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2359
2356
  defer?: boolean | undefined;
2360
2357
  integrity?: string | undefined;
2361
2358
  noModule?: boolean | undefined;
@@ -2366,7 +2363,6 @@ declare namespace React {
2366
2363
 
2367
2364
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
2368
2365
  autoComplete?: string | undefined;
2369
- autoFocus?: boolean | undefined;
2370
2366
  disabled?: boolean | undefined;
2371
2367
  form?: string | undefined;
2372
2368
  multiple?: boolean | undefined;
@@ -2402,7 +2398,6 @@ declare namespace React {
2402
2398
 
2403
2399
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
2404
2400
  autoComplete?: string | undefined;
2405
- autoFocus?: boolean | undefined;
2406
2401
  cols?: number | undefined;
2407
2402
  dirName?: string | undefined;
2408
2403
  disabled?: boolean | undefined;
@@ -2741,7 +2736,6 @@ declare namespace React {
2741
2736
  interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
2742
2737
  allowFullScreen?: boolean | undefined;
2743
2738
  allowpopups?: boolean | undefined;
2744
- autoFocus?: boolean | undefined;
2745
2739
  autosize?: boolean | undefined;
2746
2740
  blinkfeatures?: string | undefined;
2747
2741
  disableblinkfeatures?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "16.14.34",
3
+ "version": "16.14.36",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -146,8 +146,8 @@
146
146
  "@types/scheduler": "*",
147
147
  "csstype": "^3.0.2"
148
148
  },
149
- "typesPublisherContentHash": "9b4107e39b4ec9cba67f9bcf81165374820b003b786d2153be080b774a627ac0",
150
- "typeScriptVersion": "4.1",
149
+ "typesPublisherContentHash": "ce20bdf730b89a348b66e23032c69b88293552938331e2ddbdabc685d0756120",
150
+ "typeScriptVersion": "4.3",
151
151
  "exports": {
152
152
  ".": {
153
153
  "types": {