@react-types/tabs 3.2.2-nightly.3837 → 3.2.2-nightly.3845

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 +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/tabs",
3
- "version": "3.2.2-nightly.3837+950d45db3",
3
+ "version": "3.2.2-nightly.3845+c21606564",
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.0.0-nightly.2137+950d45db3"
12
+ "@react-types/shared": "3.0.0-nightly.2143+c21606564"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "950d45db36e63851f411ed0dc6a5aad0af57da68"
20
+ "gitHead": "c21606564b8adb38a7f88c035c2437f36ef5e542"
21
21
  }
package/src/index.d.ts CHANGED
@@ -25,7 +25,9 @@ export interface AriaTabProps extends AriaLabelingProps {
25
25
  /** The key of the tab. */
26
26
  key: Key,
27
27
  /** Whether the tab should be disabled. */
28
- isDisabled?: boolean
28
+ isDisabled?: boolean,
29
+ /** Whether the tab selection should occur on press up instead of press down. */
30
+ shouldSelectOnPressUp?: boolean
29
31
  }
30
32
 
31
33
  export interface TabListProps<T> extends CollectionBase<T>, Omit<SingleSelection, 'disallowEmptySelection'> {