@react-types/tabs 3.3.16 → 3.3.18

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.d.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/tabs",
3
- "version": "3.3.16",
3
+ "version": "3.3.18",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/shared": "^3.30.0"
12
+ "@react-types/shared": "^3.32.0"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "265b4d7f107905ee1c6e87a8af1613ab440a6849"
20
+ "gitHead": "2c58ed3ddd9be9100af9b1d0cfd137fcdc95ba2d"
21
21
  }
package/src/index.d.ts CHANGED
@@ -55,7 +55,10 @@ interface AriaTabListBase extends AriaLabelingProps {
55
55
 
56
56
  export interface AriaTabListProps<T> extends TabListProps<T>, AriaTabListBase, DOMProps, AriaLabelingProps {}
57
57
 
58
- export interface AriaTabPanelProps extends DOMProps, AriaLabelingProps {}
58
+ export interface AriaTabPanelProps extends Omit<DOMProps, 'id'>, AriaLabelingProps {
59
+ /** The unique id of the tab. */
60
+ id?: Key
61
+ }
59
62
 
60
63
  export interface SpectrumTabsProps<T> extends AriaTabListBase, Omit<SingleSelection, 'onSelectionChange'>, DOMProps, StyleProps {
61
64
  /** The children of the `<Tabs>` element. Should include `<TabList>` and `<TabPanels>` elements. */