@types/react 18.3.5 → 18.3.7

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
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, 30 Aug 2024 10:07:55 GMT
11
+ * Last updated: Tue, 17 Sep 2024 09:08:13 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react/index.d.ts CHANGED
@@ -848,6 +848,12 @@ declare namespace React {
848
848
 
849
849
  /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
850
850
  fallback?: ReactNode;
851
+
852
+ /**
853
+ * A name for this Suspense boundary for instrumentation purposes.
854
+ * The name will help identify this boundary in React DevTools.
855
+ */
856
+ name?: string | undefined;
851
857
  }
852
858
 
853
859
  /**
@@ -2899,6 +2905,7 @@ declare namespace React {
2899
2905
  contextMenu?: string | undefined;
2900
2906
  dir?: string | undefined;
2901
2907
  draggable?: Booleanish | undefined;
2908
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
2902
2909
  hidden?: boolean | undefined;
2903
2910
  id?: string | undefined;
2904
2911
  lang?: string | undefined;
@@ -3354,7 +3361,6 @@ declare namespace React {
3354
3361
  capture?: boolean | "user" | "environment" | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
3355
3362
  checked?: boolean | undefined;
3356
3363
  disabled?: boolean | undefined;
3357
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
3358
3364
  form?: string | undefined;
3359
3365
  formAction?:
3360
3366
  | string
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.5",
3
+ "version": "18.3.7",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -205,6 +205,6 @@
205
205
  "@types/prop-types": "*",
206
206
  "csstype": "^3.0.2"
207
207
  },
208
- "typesPublisherContentHash": "6ad0cf987de8ee79aa0c60da30eb89355ab2d1aea881111ba54ef704ea6425f4",
208
+ "typesPublisherContentHash": "b1d98fe86a85173b431e17857bd1abd179b2631e9ebbd35cb81361160ba2e792",
209
209
  "typeScriptVersion": "4.8"
210
210
  }
react/ts5.0/index.d.ts CHANGED
@@ -849,6 +849,12 @@ declare namespace React {
849
849
 
850
850
  /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
851
851
  fallback?: ReactNode;
852
+
853
+ /**
854
+ * A name for this Suspense boundary for instrumentation purposes.
855
+ * The name will help identify this boundary in React DevTools.
856
+ */
857
+ name?: string | undefined;
852
858
  }
853
859
 
854
860
  /**
@@ -2900,6 +2906,7 @@ declare namespace React {
2900
2906
  contextMenu?: string | undefined;
2901
2907
  dir?: string | undefined;
2902
2908
  draggable?: Booleanish | undefined;
2909
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
2903
2910
  hidden?: boolean | undefined;
2904
2911
  id?: string | undefined;
2905
2912
  lang?: string | undefined;
@@ -3355,7 +3362,6 @@ declare namespace React {
3355
3362
  capture?: boolean | "user" | "environment" | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
3356
3363
  checked?: boolean | undefined;
3357
3364
  disabled?: boolean | undefined;
3358
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
3359
3365
  form?: string | undefined;
3360
3366
  formAction?:
3361
3367
  | string