@types/react 18.3.6 → 18.3.8

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: Mon, 16 Sep 2024 09:08:35 GMT
11
+ * Last updated: Thu, 19 Sep 2024 18:39:29 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/canary.d.ts CHANGED
@@ -136,6 +136,15 @@ declare module "." {
136
136
  newState: "closed" | "open";
137
137
  }
138
138
 
139
+ interface LinkHTMLAttributes<T> {
140
+ precedence?: string | undefined;
141
+ }
142
+
143
+ interface StyleHTMLAttributes<T> {
144
+ href?: string | undefined;
145
+ precedence?: string | undefined;
146
+ }
147
+
139
148
  /**
140
149
  * @internal Use `Awaited<ReactNode>` instead
141
150
  */
react/index.d.ts CHANGED
@@ -2905,6 +2905,7 @@ declare namespace React {
2905
2905
  contextMenu?: string | undefined;
2906
2906
  dir?: string | undefined;
2907
2907
  draggable?: Booleanish | undefined;
2908
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
2908
2909
  hidden?: boolean | undefined;
2909
2910
  id?: string | undefined;
2910
2911
  lang?: string | undefined;
@@ -3360,7 +3361,6 @@ declare namespace React {
3360
3361
  capture?: boolean | "user" | "environment" | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
3361
3362
  checked?: boolean | undefined;
3362
3363
  disabled?: boolean | undefined;
3363
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
3364
3364
  form?: string | undefined;
3365
3365
  formAction?:
3366
3366
  | string
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.6",
3
+ "version": "18.3.8",
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": "027b09cdc32079665a00cbf05a58524b9fd8c664a4882c37411b2f58f643cc0c",
208
+ "typesPublisherContentHash": "a809c73f3e9ef08ca85712638a7e600977177980a536457e552c9f011827d06b",
209
209
  "typeScriptVersion": "4.8"
210
210
  }
react/ts5.0/canary.d.ts CHANGED
@@ -136,6 +136,15 @@ declare module "." {
136
136
  newState: "closed" | "open";
137
137
  }
138
138
 
139
+ interface LinkHTMLAttributes<T> {
140
+ precedence?: string | undefined;
141
+ }
142
+
143
+ interface StyleHTMLAttributes<T> {
144
+ href?: string | undefined;
145
+ precedence?: string | undefined;
146
+ }
147
+
139
148
  /**
140
149
  * @internal Use `Awaited<ReactNode>` instead
141
150
  */
react/ts5.0/index.d.ts CHANGED
@@ -2906,6 +2906,7 @@ declare namespace React {
2906
2906
  contextMenu?: string | undefined;
2907
2907
  dir?: string | undefined;
2908
2908
  draggable?: Booleanish | undefined;
2909
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
2909
2910
  hidden?: boolean | undefined;
2910
2911
  id?: string | undefined;
2911
2912
  lang?: string | undefined;
@@ -3361,7 +3362,6 @@ declare namespace React {
3361
3362
  capture?: boolean | "user" | "environment" | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
3362
3363
  checked?: boolean | undefined;
3363
3364
  disabled?: boolean | undefined;
3364
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
3365
3365
  form?: string | undefined;
3366
3366
  formAction?:
3367
3367
  | string