react-responsive-tabs
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -54,7 +54,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
_defineProperty(_assertThisInitialized(_this), "onResize", function () { | ||
console.log(1); | ||
if (_this.tabsWrapper.current) { | ||
console.log(2); | ||
var currentIsCollapsed = _this.getIsCollapsed(); | ||
@@ -65,3 +61,2 @@ | ||
}, function () { | ||
console.log(3); | ||
var items = _this.props.items; | ||
@@ -201,3 +196,2 @@ var selectedTabKey = _this.state.selectedTabKey; | ||
var availableWidth = blockWidth - (tabsTotalWidth > blockWidth ? showMoreWidth : 0); | ||
console.log(777, availableWidth, blockWidth, tabsTotalWidth); | ||
return items.reduce(function (result, item, index) { | ||
@@ -259,3 +253,2 @@ var _item$key = item.key, | ||
availableWidth -= tabWidth; | ||
console.log(888, availableWidth, tabDimensions); | ||
return result; | ||
@@ -262,0 +255,0 @@ }, { |
@@ -76,7 +76,3 @@ "use strict"; | ||
_defineProperty(_assertThisInitialized(_this), "onResize", function () { | ||
console.log(1); | ||
if (_this.tabsWrapper.current) { | ||
console.log(2); | ||
var currentIsCollapsed = _this.getIsCollapsed(); | ||
@@ -87,3 +83,2 @@ | ||
}, function () { | ||
console.log(3); | ||
var items = _this.props.items; | ||
@@ -223,3 +218,2 @@ var selectedTabKey = _this.state.selectedTabKey; | ||
var availableWidth = blockWidth - (tabsTotalWidth > blockWidth ? showMoreWidth : 0); | ||
console.log(777, availableWidth, blockWidth, tabsTotalWidth); | ||
return items.reduce(function (result, item, index) { | ||
@@ -281,3 +275,2 @@ var _item$key = item.key, | ||
availableWidth -= tabWidth; | ||
console.log(888, availableWidth, tabDimensions); | ||
return result; | ||
@@ -284,0 +277,0 @@ }, { |
{ | ||
"author": "Vitalii Maslianok <maslianok@gmail.com> (https://github.com/maslianok)", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"name": "react-responsive-tabs", | ||
@@ -5,0 +5,0 @@ "description": "React responsive tabs", |
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
134330
2009