@types/react 17.0.83 → 17.0.85

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: Fri, 27 Sep 2024 16:08:32 GMT
11
+ * Last updated: Thu, 27 Mar 2025 02:08:31 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
@@ -1591,6 +1591,16 @@ declare namespace React {
1591
1591
  * presented if they are made.
1592
1592
  */
1593
1593
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
1594
+ /**
1595
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
1596
+ * @see aria-label.
1597
+ */
1598
+ "aria-braillelabel"?: string | undefined;
1599
+ /**
1600
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
1601
+ * @see aria-roledescription.
1602
+ */
1603
+ "aria-brailleroledescription"?: string | undefined;
1594
1604
  /** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
1595
1605
  "aria-busy"?: Booleanish | undefined;
1596
1606
  /**
@@ -1608,6 +1618,11 @@ declare namespace React {
1608
1618
  * @see aria-colcount @see aria-colspan.
1609
1619
  */
1610
1620
  "aria-colindex"?: number | undefined;
1621
+ /**
1622
+ * Defines a human readable text alternative of aria-colindex.
1623
+ * @see aria-rowindextext.
1624
+ */
1625
+ "aria-colindextext"?: string | undefined;
1611
1626
  /**
1612
1627
  * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
1613
1628
  * @see aria-colindex @see aria-rowspan.
@@ -1625,6 +1640,11 @@ declare namespace React {
1625
1640
  * @see aria-labelledby
1626
1641
  */
1627
1642
  "aria-describedby"?: string | undefined;
1643
+ /**
1644
+ * Defines a string value that describes or annotates the current element.
1645
+ * @see related aria-describedby.
1646
+ */
1647
+ "aria-description"?: string | undefined;
1628
1648
  /**
1629
1649
  * Identifies the element that provides a detailed, extended description for the object.
1630
1650
  * @see aria-describedby.
@@ -1749,6 +1769,11 @@ declare namespace React {
1749
1769
  * @see aria-rowcount @see aria-rowspan.
1750
1770
  */
1751
1771
  "aria-rowindex"?: number | undefined;
1772
+ /**
1773
+ * Defines a human readable text alternative of aria-rowindex.
1774
+ * @see aria-colindextext.
1775
+ */
1776
+ "aria-rowindextext"?: string | undefined;
1752
1777
  /**
1753
1778
  * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1754
1779
  * @see aria-rowindex @see aria-colspan.
@@ -1924,6 +1949,14 @@ declare namespace React {
1924
1949
  * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
1925
1950
  */
1926
1951
  is?: string | undefined;
1952
+ /**
1953
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts}
1954
+ */
1955
+ exportparts?: string | undefined;
1956
+ /**
1957
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part}
1958
+ */
1959
+ part?: string | undefined;
1927
1960
  }
1928
1961
 
1929
1962
  interface AllHTMLAttributes<T> extends HTMLAttributes<T> {
@@ -2495,6 +2528,9 @@ declare namespace React {
2495
2528
  width?: number | string | undefined;
2496
2529
  disablePictureInPicture?: boolean | undefined;
2497
2530
  disableRemotePlayback?: boolean | undefined;
2531
+
2532
+ onResize?: ReactEventHandler<T> | undefined;
2533
+ onResizeCapture?: ReactEventHandler<T> | undefined;
2498
2534
  }
2499
2535
 
2500
2536
  // this list is "complete" in that it contains every SVG attribute
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.83",
3
+ "version": "17.0.85",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -169,6 +169,7 @@
169
169
  "@types/scheduler": "^0.16",
170
170
  "csstype": "^3.0.2"
171
171
  },
172
- "typesPublisherContentHash": "50719c43d67c08476c7c43da7474136edd901ef18d6ee32d0ccd318bf6999382",
173
- "typeScriptVersion": "4.8"
172
+ "peerDependencies": {},
173
+ "typesPublisherContentHash": "5c2b3746b3f290df552b80ae206986ffc49a5a0ece3782ed5fde621d88e4dd35",
174
+ "typeScriptVersion": "5.0"
174
175
  }