@types/react 17.0.87 → 17.0.89

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 v17.0/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/v17.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 27 May 2025 08:02:50 GMT
11
+ * Last updated: Mon, 06 Oct 2025 21:02:40 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
react v17.0/index.d.ts CHANGED
@@ -2166,6 +2166,7 @@ declare namespace React {
2166
2166
  }
2167
2167
 
2168
2168
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
2169
+ closedby?: "any" | "closerequest" | "none" | undefined;
2169
2170
  onCancel?: ReactEventHandler<T> | undefined;
2170
2171
  onClose?: ReactEventHandler<T> | undefined;
2171
2172
  open?: boolean | undefined;
@@ -2630,7 +2631,21 @@ declare namespace React {
2630
2631
  direction?: number | string | undefined;
2631
2632
  display?: number | string | undefined;
2632
2633
  divisor?: number | string | undefined;
2633
- dominantBaseline?: number | string | undefined;
2634
+ dominantBaseline?:
2635
+ | "auto"
2636
+ | "use-script"
2637
+ | "no-change"
2638
+ | "reset-size"
2639
+ | "ideographic"
2640
+ | "alphabetic"
2641
+ | "hanging"
2642
+ | "mathematical"
2643
+ | "central"
2644
+ | "middle"
2645
+ | "text-after-edge"
2646
+ | "text-before-edge"
2647
+ | "inherit"
2648
+ | undefined;
2634
2649
  dur?: number | string | undefined;
2635
2650
  dx?: number | string | undefined;
2636
2651
  dy?: number | string | undefined;
@@ -2777,7 +2792,7 @@ declare namespace React {
2777
2792
  tableValues?: number | string | undefined;
2778
2793
  targetX?: number | string | undefined;
2779
2794
  targetY?: number | string | undefined;
2780
- textAnchor?: string | undefined;
2795
+ textAnchor?: "start" | "middle" | "end" | "inherit" | undefined;
2781
2796
  textDecoration?: number | string | undefined;
2782
2797
  textLength?: number | string | undefined;
2783
2798
  textRendering?: number | string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.87",
3
+ "version": "17.0.89",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -170,6 +170,6 @@
170
170
  "csstype": "^3.0.2"
171
171
  },
172
172
  "peerDependencies": {},
173
- "typesPublisherContentHash": "6b8782b557f2d14f636786ebd8ceec837a78ce09baa512eba215445133c1d09b",
174
- "typeScriptVersion": "5.1"
173
+ "typesPublisherContentHash": "f256e1aa35ef069ede92c6bbcc3a864e4d715fd3d80f48fc736c4d1940554e64",
174
+ "typeScriptVersion": "5.2"
175
175
  }