@types/react 18.2.8 → 18.2.9

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: Thu, 01 Jun 2023 19:32:50 GMT
11
+ * Last updated: Wed, 07 Jun 2023 20:32:46 GMT
12
12
  * Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler)
13
13
  * Global values: `React`
14
14
 
react/index.d.ts CHANGED
@@ -1633,6 +1633,16 @@ declare namespace React {
1633
1633
  */
1634
1634
  'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
1635
1635
  /** 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. */
1636
+ /**
1637
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
1638
+ * @see aria-label.
1639
+ */
1640
+ 'aria-braillelabel'?: string | undefined;
1641
+ /**
1642
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
1643
+ * @see aria-roledescription.
1644
+ */
1645
+ 'aria-brailleroledescription'?: string | undefined;
1636
1646
  'aria-busy'?: Booleanish | undefined;
1637
1647
  /**
1638
1648
  * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
@@ -1649,6 +1659,11 @@ declare namespace React {
1649
1659
  * @see aria-colcount @see aria-colspan.
1650
1660
  */
1651
1661
  'aria-colindex'?: number | undefined;
1662
+ /**
1663
+ * Defines a human readable text alternative of aria-colindex.
1664
+ * @see aria-rowindextext.
1665
+ */
1666
+ 'aria-colindextext'?: string | undefined;
1652
1667
  /**
1653
1668
  * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
1654
1669
  * @see aria-colindex @see aria-rowspan.
@@ -1666,6 +1681,11 @@ declare namespace React {
1666
1681
  * @see aria-labelledby
1667
1682
  */
1668
1683
  'aria-describedby'?: string | undefined;
1684
+ /**
1685
+ * Defines a string value that describes or annotates the current element.
1686
+ * @see related aria-describedby.
1687
+ */
1688
+ 'aria-description'?: string | undefined;
1669
1689
  /**
1670
1690
  * Identifies the element that provides a detailed, extended description for the object.
1671
1691
  * @see aria-describedby.
@@ -1779,6 +1799,11 @@ declare namespace React {
1779
1799
  * @see aria-rowcount @see aria-rowspan.
1780
1800
  */
1781
1801
  'aria-rowindex'?: number | undefined;
1802
+ /**
1803
+ * Defines a human readable text alternative of aria-rowindex.
1804
+ * @see aria-colindextext.
1805
+ */
1806
+ 'aria-rowindextext'?: string | undefined;
1782
1807
  /**
1783
1808
  * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1784
1809
  * @see aria-rowindex @see aria-colspan.
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.8",
3
+ "version": "18.2.9",
4
4
  "description": "TypeScript definitions for React",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -158,7 +158,7 @@
158
158
  "@types/scheduler": "*",
159
159
  "csstype": "^3.0.2"
160
160
  },
161
- "typesPublisherContentHash": "faad15770912a82e3d230f36a11f9d053561dc55fea87ada2a3c00a6b758a215",
161
+ "typesPublisherContentHash": "830e4d7bc5822cf6ff77d3cb527f1cf755418081f5afbd1cc9d6c9ff0c8a9e2d",
162
162
  "typeScriptVersion": "4.3",
163
163
  "exports": {
164
164
  ".": {
react/ts5.0/index.d.ts CHANGED
@@ -1601,6 +1601,16 @@ declare namespace React {
1601
1601
  */
1602
1602
  'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined;
1603
1603
  /** 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. */
1604
+ /**
1605
+ * Defines a string value that labels the current element, which is intended to be converted into Braille.
1606
+ * @see aria-label.
1607
+ */
1608
+ 'aria-braillelabel'?: string | undefined;
1609
+ /**
1610
+ * Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
1611
+ * @see aria-roledescription.
1612
+ */
1613
+ 'aria-brailleroledescription'?: string | undefined;
1604
1614
  'aria-busy'?: Booleanish | undefined;
1605
1615
  /**
1606
1616
  * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
@@ -1617,6 +1627,11 @@ declare namespace React {
1617
1627
  * @see aria-colcount @see aria-colspan.
1618
1628
  */
1619
1629
  'aria-colindex'?: number | undefined;
1630
+ /**
1631
+ * Defines a human readable text alternative of aria-colindex.
1632
+ * @see aria-rowindextext.
1633
+ */
1634
+ 'aria-colindextext'?: string | undefined;
1620
1635
  /**
1621
1636
  * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
1622
1637
  * @see aria-colindex @see aria-rowspan.
@@ -1634,6 +1649,11 @@ declare namespace React {
1634
1649
  * @see aria-labelledby
1635
1650
  */
1636
1651
  'aria-describedby'?: string | undefined;
1652
+ /**
1653
+ * Defines a string value that describes or annotates the current element.
1654
+ * @see related aria-describedby.
1655
+ */
1656
+ 'aria-description'?: string | undefined;
1637
1657
  /**
1638
1658
  * Identifies the element that provides a detailed, extended description for the object.
1639
1659
  * @see aria-describedby.
@@ -1747,6 +1767,11 @@ declare namespace React {
1747
1767
  * @see aria-rowcount @see aria-rowspan.
1748
1768
  */
1749
1769
  'aria-rowindex'?: number | undefined;
1770
+ /**
1771
+ * Defines a human readable text alternative of aria-rowindex.
1772
+ * @see aria-colindextext.
1773
+ */
1774
+ 'aria-rowindextext'?: string | undefined;
1750
1775
  /**
1751
1776
  * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
1752
1777
  * @see aria-rowindex @see aria-colspan.