@hig/tabs
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1419,3 +1419,3 @@ import React, { Component, Children } from 'react'; | ||
}); | ||
if (nextActiveTabIndex > 0 && nextActiveTabIndex !== prevActiveTabIndex) { | ||
if (nextActiveTabIndex >= 0 && nextActiveTabIndex !== prevActiveTabIndex) { | ||
newState.activeTabIndex = nextActiveTabIndex; | ||
@@ -1422,0 +1422,0 @@ hasStateChanged = true; |
@@ -1426,3 +1426,3 @@ 'use strict'; | ||
}); | ||
if (nextActiveTabIndex > 0 && nextActiveTabIndex !== prevActiveTabIndex) { | ||
if (nextActiveTabIndex >= 0 && nextActiveTabIndex !== prevActiveTabIndex) { | ||
newState.activeTabIndex = nextActiveTabIndex; | ||
@@ -1429,0 +1429,0 @@ hasStateChanged = true; |
@@ -0,1 +1,8 @@ | ||
# [@hig/tabs-v1.1.1](https://github.com/Autodesk/hig/compare/@hig/tabs@1.1.0...@hig/tabs@1.1.1) (2019-10-24) | ||
### Bug Fixes | ||
* tab with zero index not trigger to active in Tabs ([9715472](https://github.com/Autodesk/hig/commit/9715472)) | ||
# [@hig/tabs-v1.1.0](https://github.com/Autodesk/hig/compare/@hig/tabs@1.0.3...@hig/tabs@1.1.0) (2019-09-19) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@hig/tabs", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "HIG Tabs", | ||
@@ -31,3 +31,3 @@ "author": "Autodesk Inc.", | ||
"@hig/theme-context": "^3.0.0", | ||
"@hig/theme-data": "^2.12.0", | ||
"@hig/theme-data": "^2.13.0", | ||
"react": "^15.4.1 || ^16.3.2" | ||
@@ -34,0 +34,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
106158
0