Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-responsive-tabs

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-responsive-tabs - npm Package Compare versions

Comparing version 4.4.2 to 4.4.3

7

lib/esm/index.js

@@ -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 @@ }, {

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc