@react-aria/tabs
Advanced tools
Comparing version 3.0.0-alpha.0 to 3.0.0-alpha.1
@@ -122,3 +122,3 @@ var { | ||
if (!key) { | ||
if (key == null) { | ||
key = this.collection.getFirstKey(); | ||
@@ -135,3 +135,3 @@ } | ||
if (!key) { | ||
if (key == null) { | ||
key = this.collection.getLastKey(); | ||
@@ -138,0 +138,0 @@ } |
@@ -99,3 +99,3 @@ import { useSelectableCollection, useSelectableItem } from "@react-aria/selection"; | ||
if (!key) { | ||
if (key == null) { | ||
key = this.collection.getFirstKey(); | ||
@@ -112,3 +112,3 @@ } | ||
if (!key) { | ||
if (key == null) { | ||
key = this.collection.getLastKey(); | ||
@@ -115,0 +115,0 @@ } |
{ | ||
"name": "@react-aria/tabs", | ||
"version": "3.0.0-alpha.0", | ||
"version": "3.0.0-alpha.1", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,12 +21,12 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-aria/i18n": "^3.1.0", | ||
"@react-aria/interactions": "^3.2.0", | ||
"@react-aria/selection": "^3.2.0", | ||
"@react-aria/utils": "^3.2.0", | ||
"@react-stately/list": "^3.2.0", | ||
"@react-types/shared": "^3.2.0", | ||
"@react-types/tabs": "3.0.0-alpha.0" | ||
"@react-aria/i18n": "^3.1.2", | ||
"@react-aria/interactions": "^3.2.1", | ||
"@react-aria/selection": "^3.2.1", | ||
"@react-aria/utils": "^3.3.0", | ||
"@react-stately/list": "^3.2.1", | ||
"@react-types/shared": "^3.2.1", | ||
"@react-types/tabs": "3.0.0-alpha.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1" | ||
}, | ||
@@ -36,3 +36,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "661f0f2e3b8648a75aae83043267954700059fe0" | ||
"gitHead": "0778f71a3c13e1e24388a23b6d525e3b9f5b98f1" | ||
} |
@@ -84,3 +84,3 @@ /* | ||
key = this.collection.getKeyAfter(key); | ||
if (!key) { | ||
if (key == null) { | ||
key = this.collection.getFirstKey(); | ||
@@ -95,3 +95,3 @@ } | ||
key = this.collection.getKeyBefore(key); | ||
if (!key) { | ||
if (key == null) { | ||
key = this.collection.getLastKey(); | ||
@@ -98,0 +98,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61858
+ Added@react-types/tabs@3.0.0-alpha.1(transitive)
+ Addedreact@17.0.2(transitive)
- Removed@react-types/tabs@3.0.0-alpha.0(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
Updated@react-aria/i18n@^3.1.2
Updated@react-aria/selection@^3.2.1
Updated@react-aria/utils@^3.3.0
Updated@react-stately/list@^3.2.1
Updated@react-types/shared@^3.2.1