@types/react 18.3.23 → 18.3.24

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 v18.3/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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 27 May 2025 08:02:50 GMT
11
+ * Last updated: Fri, 22 Aug 2025 16:02:28 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 v18.3/index.d.ts CHANGED
@@ -3751,7 +3751,21 @@ declare namespace React {
3751
3751
  direction?: number | string | undefined;
3752
3752
  display?: number | string | undefined;
3753
3753
  divisor?: number | string | undefined;
3754
- dominantBaseline?: number | string | undefined;
3754
+ dominantBaseline?:
3755
+ | "auto"
3756
+ | "use-script"
3757
+ | "no-change"
3758
+ | "reset-size"
3759
+ | "ideographic"
3760
+ | "alphabetic"
3761
+ | "hanging"
3762
+ | "mathematical"
3763
+ | "central"
3764
+ | "middle"
3765
+ | "text-after-edge"
3766
+ | "text-before-edge"
3767
+ | "inherit"
3768
+ | undefined;
3755
3769
  dur?: number | string | undefined;
3756
3770
  dx?: number | string | undefined;
3757
3771
  dy?: number | string | undefined;
@@ -3898,7 +3912,7 @@ declare namespace React {
3898
3912
  tableValues?: number | string | undefined;
3899
3913
  targetX?: number | string | undefined;
3900
3914
  targetY?: number | string | undefined;
3901
- textAnchor?: string | undefined;
3915
+ textAnchor?: "start" | "middle" | "end" | "inherit" | undefined;
3902
3916
  textDecoration?: number | string | undefined;
3903
3917
  textLength?: number | string | undefined;
3904
3918
  textRendering?: number | string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.23",
3
+ "version": "18.3.24",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -201,6 +201,6 @@
201
201
  "csstype": "^3.0.2"
202
202
  },
203
203
  "peerDependencies": {},
204
- "typesPublisherContentHash": "f611668df87afe76cee4f7de955dacbad19f2a0500c824bf57e8337a4591e0d2",
205
- "typeScriptVersion": "5.1"
204
+ "typesPublisherContentHash": "18b95e158b5778db3035c5bb3d3befb216875f1bcd1db67f0ca6a35f20a5f57a",
205
+ "typeScriptVersion": "5.2"
206
206
  }
@@ -3752,7 +3752,21 @@ declare namespace React {
3752
3752
  direction?: number | string | undefined;
3753
3753
  display?: number | string | undefined;
3754
3754
  divisor?: number | string | undefined;
3755
- dominantBaseline?: number | string | undefined;
3755
+ dominantBaseline?:
3756
+ | "auto"
3757
+ | "use-script"
3758
+ | "no-change"
3759
+ | "reset-size"
3760
+ | "ideographic"
3761
+ | "alphabetic"
3762
+ | "hanging"
3763
+ | "mathematical"
3764
+ | "central"
3765
+ | "middle"
3766
+ | "text-after-edge"
3767
+ | "text-before-edge"
3768
+ | "inherit"
3769
+ | undefined;
3756
3770
  dur?: number | string | undefined;
3757
3771
  dx?: number | string | undefined;
3758
3772
  dy?: number | string | undefined;
@@ -3899,7 +3913,7 @@ declare namespace React {
3899
3913
  tableValues?: number | string | undefined;
3900
3914
  targetX?: number | string | undefined;
3901
3915
  targetY?: number | string | undefined;
3902
- textAnchor?: string | undefined;
3916
+ textAnchor?: "start" | "middle" | "end" | "inherit" | undefined;
3903
3917
  textDecoration?: number | string | undefined;
3904
3918
  textLength?: number | string | undefined;
3905
3919
  textRendering?: number | string | undefined;