@types/react 18.3.22 → 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: Wed, 21 May 2025 10:38:15 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
@@ -3433,6 +3433,7 @@ declare namespace React {
3433
3433
 
3434
3434
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
3435
3435
  as?: string | undefined;
3436
+ blocking?: "render" | (string & {}) | undefined;
3436
3437
  crossOrigin?: CrossOrigin;
3437
3438
  fetchPriority?: "high" | "low" | "auto";
3438
3439
  href?: string | undefined;
@@ -3542,6 +3543,7 @@ declare namespace React {
3542
3543
 
3543
3544
  interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
3544
3545
  async?: boolean | undefined;
3546
+ blocking?: "render" | (string & {}) | undefined;
3545
3547
  /** @deprecated */
3546
3548
  charSet?: string | undefined;
3547
3549
  crossOrigin?: CrossOrigin;
@@ -3576,6 +3578,7 @@ declare namespace React {
3576
3578
  }
3577
3579
 
3578
3580
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
3581
+ blocking?: "render" | (string & {}) | undefined;
3579
3582
  media?: string | undefined;
3580
3583
  scoped?: boolean | undefined;
3581
3584
  type?: string | undefined;
@@ -3748,7 +3751,21 @@ declare namespace React {
3748
3751
  direction?: number | string | undefined;
3749
3752
  display?: number | string | undefined;
3750
3753
  divisor?: number | string | undefined;
3751
- 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;
3752
3769
  dur?: number | string | undefined;
3753
3770
  dx?: number | string | undefined;
3754
3771
  dy?: number | string | undefined;
@@ -3895,7 +3912,7 @@ declare namespace React {
3895
3912
  tableValues?: number | string | undefined;
3896
3913
  targetX?: number | string | undefined;
3897
3914
  targetY?: number | string | undefined;
3898
- textAnchor?: string | undefined;
3915
+ textAnchor?: "start" | "middle" | "end" | "inherit" | undefined;
3899
3916
  textDecoration?: number | string | undefined;
3900
3917
  textLength?: number | string | undefined;
3901
3918
  textRendering?: number | string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.22",
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": "f06ed951fc2c59281e12917b55c7187fb0d9dcbfb775fe6f66bb09e822fa8f6d",
205
- "typeScriptVersion": "5.1"
204
+ "typesPublisherContentHash": "18b95e158b5778db3035c5bb3d3befb216875f1bcd1db67f0ca6a35f20a5f57a",
205
+ "typeScriptVersion": "5.2"
206
206
  }
@@ -3434,6 +3434,7 @@ declare namespace React {
3434
3434
 
3435
3435
  interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
3436
3436
  as?: string | undefined;
3437
+ blocking?: "render" | (string & {}) | undefined;
3437
3438
  crossOrigin?: CrossOrigin;
3438
3439
  fetchPriority?: "high" | "low" | "auto";
3439
3440
  href?: string | undefined;
@@ -3543,6 +3544,7 @@ declare namespace React {
3543
3544
 
3544
3545
  interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
3545
3546
  async?: boolean | undefined;
3547
+ blocking?: "render" | (string & {}) | undefined;
3546
3548
  /** @deprecated */
3547
3549
  charSet?: string | undefined;
3548
3550
  crossOrigin?: CrossOrigin;
@@ -3577,6 +3579,7 @@ declare namespace React {
3577
3579
  }
3578
3580
 
3579
3581
  interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
3582
+ blocking?: "render" | (string & {}) | undefined;
3580
3583
  media?: string | undefined;
3581
3584
  scoped?: boolean | undefined;
3582
3585
  type?: string | undefined;
@@ -3749,7 +3752,21 @@ declare namespace React {
3749
3752
  direction?: number | string | undefined;
3750
3753
  display?: number | string | undefined;
3751
3754
  divisor?: number | string | undefined;
3752
- 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;
3753
3770
  dur?: number | string | undefined;
3754
3771
  dx?: number | string | undefined;
3755
3772
  dy?: number | string | undefined;
@@ -3896,7 +3913,7 @@ declare namespace React {
3896
3913
  tableValues?: number | string | undefined;
3897
3914
  targetX?: number | string | undefined;
3898
3915
  targetY?: number | string | undefined;
3899
- textAnchor?: string | undefined;
3916
+ textAnchor?: "start" | "middle" | "end" | "inherit" | undefined;
3900
3917
  textDecoration?: number | string | undefined;
3901
3918
  textLength?: number | string | undefined;
3902
3919
  textRendering?: number | string | undefined;