@types/react 17.0.52 → 17.0.54

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 v17.0/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/v17.
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 v17.0/index.d.ts CHANGED
@@ -1818,6 +1818,7 @@ declare namespace React {
1818
1818
 
1819
1819
  // Standard HTML Attributes
1820
1820
  accessKey?: string | undefined;
1821
+ autoFocus?: boolean | undefined;
1821
1822
  className?: string | undefined;
1822
1823
  contentEditable?: Booleanish | "inherit" | undefined;
1823
1824
  contextMenu?: string | undefined;
@@ -1889,7 +1890,6 @@ declare namespace React {
1889
1890
  as?: string | undefined;
1890
1891
  async?: boolean | undefined;
1891
1892
  autoComplete?: string | undefined;
1892
- autoFocus?: boolean | undefined;
1893
1893
  autoPlay?: boolean | undefined;
1894
1894
  capture?: boolean | 'user' | 'environment' | undefined;
1895
1895
  cellPadding?: number | string | undefined;
@@ -1904,7 +1904,7 @@ declare namespace React {
1904
1904
  content?: string | undefined;
1905
1905
  controls?: boolean | undefined;
1906
1906
  coords?: string | undefined;
1907
- crossOrigin?: string | undefined;
1907
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
1908
1908
  data?: string | undefined;
1909
1909
  dateTime?: string | undefined;
1910
1910
  default?: boolean | undefined;
@@ -2042,7 +2042,6 @@ declare namespace React {
2042
2042
  }
2043
2043
 
2044
2044
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
2045
- autoFocus?: boolean | undefined;
2046
2045
  disabled?: boolean | undefined;
2047
2046
  form?: string | undefined;
2048
2047
  formAction?: string | undefined;
@@ -2188,10 +2187,9 @@ declare namespace React {
2188
2187
  accept?: string | undefined;
2189
2188
  alt?: string | undefined;
2190
2189
  autoComplete?: string | undefined;
2191
- autoFocus?: boolean | undefined;
2192
2190
  capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2193
2191
  checked?: boolean | undefined;
2194
- crossOrigin?: string | undefined;
2192
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2195
2193
  disabled?: boolean | undefined;
2196
2194
  enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
2197
2195
  form?: string | undefined;
@@ -2223,7 +2221,6 @@ declare namespace React {
2223
2221
  }
2224
2222
 
2225
2223
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
2226
- autoFocus?: boolean | undefined;
2227
2224
  challenge?: string | undefined;
2228
2225
  disabled?: boolean | undefined;
2229
2226
  form?: string | undefined;
@@ -2243,7 +2240,7 @@ declare namespace React {
2243
2240
 
2244
2241
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
2245
2242
  as?: string | undefined;
2246
- crossOrigin?: string | undefined;
2243
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2247
2244
  href?: string | undefined;
2248
2245
  hrefLang?: string | undefined;
2249
2246
  integrity?: string | undefined;
@@ -2268,7 +2265,7 @@ declare namespace React {
2268
2265
  autoPlay?: boolean | undefined;
2269
2266
  controls?: boolean | undefined;
2270
2267
  controlsList?: string | undefined;
2271
- crossOrigin?: string | undefined;
2268
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2272
2269
  loop?: boolean | undefined;
2273
2270
  mediaGroup?: string | undefined;
2274
2271
  muted?: boolean | undefined;
@@ -2353,7 +2350,7 @@ declare namespace React {
2353
2350
  async?: boolean | undefined;
2354
2351
  /** @deprecated */
2355
2352
  charSet?: string | undefined;
2356
- crossOrigin?: string | undefined;
2353
+ crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
2357
2354
  defer?: boolean | undefined;
2358
2355
  integrity?: string | undefined;
2359
2356
  noModule?: boolean | undefined;
@@ -2364,7 +2361,6 @@ declare namespace React {
2364
2361
 
2365
2362
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
2366
2363
  autoComplete?: string | undefined;
2367
- autoFocus?: boolean | undefined;
2368
2364
  disabled?: boolean | undefined;
2369
2365
  form?: string | undefined;
2370
2366
  multiple?: boolean | undefined;
@@ -2400,7 +2396,6 @@ declare namespace React {
2400
2396
 
2401
2397
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
2402
2398
  autoComplete?: string | undefined;
2403
- autoFocus?: boolean | undefined;
2404
2399
  cols?: number | undefined;
2405
2400
  dirName?: string | undefined;
2406
2401
  disabled?: boolean | undefined;
@@ -2740,7 +2735,6 @@ declare namespace React {
2740
2735
  interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
2741
2736
  allowFullScreen?: boolean | undefined;
2742
2737
  allowpopups?: boolean | undefined;
2743
- autoFocus?: boolean | undefined;
2744
2738
  autosize?: boolean | undefined;
2745
2739
  blinkfeatures?: string | undefined;
2746
2740
  disableblinkfeatures?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.52",
3
+ "version": "17.0.54",
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": "47c092a6bebf08099b32af5effb816d6d485e7ad065c409fcaf1ba01ab0b1549",
150
- "typeScriptVersion": "4.1",
149
+ "typesPublisherContentHash": "6118ab608953d58098cc80fa5e587d94fd4eeea1865ebee38a2c70faf39d192c",
150
+ "typeScriptVersion": "4.3",
151
151
  "exports": {
152
152
  ".": {
153
153
  "types": {