@types/react 18.0.29 → 18.0.30

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.
Files changed (3) hide show
  1. react/README.md +1 -1
  2. react/index.d.ts +1 -7
  3. react/package.json +2 -2
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: Fri, 24 Mar 2023 16:02:37 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/index.d.ts CHANGED
@@ -1854,6 +1854,7 @@ declare namespace React {
1854
1854
 
1855
1855
  // Standard HTML Attributes
1856
1856
  accessKey?: string | undefined;
1857
+ autoFocus?: boolean | undefined;
1857
1858
  className?: string | undefined;
1858
1859
  contentEditable?: Booleanish | "inherit" | undefined;
1859
1860
  contextMenu?: string | undefined;
@@ -1925,7 +1926,6 @@ declare namespace React {
1925
1926
  as?: string | undefined;
1926
1927
  async?: boolean | undefined;
1927
1928
  autoComplete?: string | undefined;
1928
- autoFocus?: boolean | undefined;
1929
1929
  autoPlay?: boolean | undefined;
1930
1930
  capture?: boolean | 'user' | 'environment' | undefined;
1931
1931
  cellPadding?: number | string | undefined;
@@ -2078,7 +2078,6 @@ declare namespace React {
2078
2078
  }
2079
2079
 
2080
2080
  interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
2081
- autoFocus?: boolean | undefined;
2082
2081
  disabled?: boolean | undefined;
2083
2082
  form?: string | undefined;
2084
2083
  formAction?: string | undefined;
@@ -2225,7 +2224,6 @@ declare namespace React {
2225
2224
  accept?: string | undefined;
2226
2225
  alt?: string | undefined;
2227
2226
  autoComplete?: string | undefined;
2228
- autoFocus?: boolean | undefined;
2229
2227
  capture?: boolean | 'user' | 'environment' | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2230
2228
  checked?: boolean | undefined;
2231
2229
  crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
@@ -2260,7 +2258,6 @@ declare namespace React {
2260
2258
  }
2261
2259
 
2262
2260
  interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
2263
- autoFocus?: boolean | undefined;
2264
2261
  challenge?: string | undefined;
2265
2262
  disabled?: boolean | undefined;
2266
2263
  form?: string | undefined;
@@ -2402,7 +2399,6 @@ declare namespace React {
2402
2399
 
2403
2400
  interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
2404
2401
  autoComplete?: string | undefined;
2405
- autoFocus?: boolean | undefined;
2406
2402
  disabled?: boolean | undefined;
2407
2403
  form?: string | undefined;
2408
2404
  multiple?: boolean | undefined;
@@ -2443,7 +2439,6 @@ declare namespace React {
2443
2439
 
2444
2440
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
2445
2441
  autoComplete?: string | undefined;
2446
- autoFocus?: boolean | undefined;
2447
2442
  cols?: number | undefined;
2448
2443
  dirName?: string | undefined;
2449
2444
  disabled?: boolean | undefined;
@@ -2783,7 +2778,6 @@ declare namespace React {
2783
2778
  interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
2784
2779
  allowFullScreen?: boolean | undefined;
2785
2780
  allowpopups?: boolean | undefined;
2786
- autoFocus?: boolean | undefined;
2787
2781
  autosize?: boolean | undefined;
2788
2782
  blinkfeatures?: string | undefined;
2789
2783
  disableblinkfeatures?: string | undefined;
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.0.29",
3
+ "version": "18.0.30",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -151,7 +151,7 @@
151
151
  "@types/scheduler": "*",
152
152
  "csstype": "^3.0.2"
153
153
  },
154
- "typesPublisherContentHash": "0b57cd9152ecf4ff05a80413cd6550a1943c8b944b1241e16cf8cc351aba79e0",
154
+ "typesPublisherContentHash": "e8ab095aaaad20176e3b906efc0e0d1f7be780f50f216cfd2f9c98c87fb3b98e",
155
155
  "typeScriptVersion": "4.3",
156
156
  "exports": {
157
157
  ".": {