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

rc-tabs

Package Overview
Dependencies
Maintainers
7
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tabs - npm Package Compare versions

Comparing version 11.15.0 to 11.16.0

1

es/TabNavList/index.d.ts

@@ -23,4 +23,5 @@ import * as React from 'react';

children?: (node: React.ReactElement) => React.ReactElement;
popupClassName?: string;
}
declare const _default: React.ForwardRefExoticComponent<TabNavListProps & React.RefAttributes<HTMLDivElement>>;
export default _default;

@@ -20,4 +20,5 @@ import * as React from 'react';

tabMoving?: boolean;
popupClassName?: string;
}
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<OperationNodeProps & React.RefAttributes<HTMLDivElement>>>;
export default _default;

5

es/TabNavList/OperationNode.js

@@ -26,3 +26,4 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

removeAriaLabel = _ref.removeAriaLabel,
onTabClick = _ref.onTabClick;
onTabClick = _ref.onTabClick,
popupClassName = _ref.popupClassName;

@@ -172,3 +173,3 @@ // ======================== Dropdown ========================

onVisibleChange: setOpen,
overlayClassName: overlayClassName,
overlayClassName: classNames(overlayClassName, popupClassName),
mouseEnterDelay: 0.1,

@@ -175,0 +176,0 @@ mouseLeaveDelay: 0.1

@@ -28,2 +28,3 @@ import * as React from 'react';

moreTransitionName?: string;
popupClassName?: string;
}

@@ -30,0 +31,0 @@ declare const ForwardTabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;

@@ -7,3 +7,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
var _excluded = ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll"];
var _excluded = ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll", "popupClassName"];
// Accessibility https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role

@@ -80,2 +80,3 @@ import * as React from 'react';

onTabScroll = _ref.onTabScroll,
popupClassName = _ref.popupClassName,
restProps = _objectWithoutProperties(_ref, _excluded);

@@ -206,3 +207,4 @@

style: tabBarStyle,
panes: children
panes: children,
popupClassName: popupClassName
});

@@ -209,0 +211,0 @@

@@ -23,4 +23,5 @@ import * as React from 'react';

children?: (node: React.ReactElement) => React.ReactElement;
popupClassName?: string;
}
declare const _default: React.ForwardRefExoticComponent<TabNavListProps & React.RefAttributes<HTMLDivElement>>;
export default _default;

@@ -20,4 +20,5 @@ import * as React from 'react';

tabMoving?: boolean;
popupClassName?: string;
}
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<OperationNodeProps & React.RefAttributes<HTMLDivElement>>>;
export default _default;

@@ -47,3 +47,4 @@ "use strict";

removeAriaLabel = _ref.removeAriaLabel,
onTabClick = _ref.onTabClick;
onTabClick = _ref.onTabClick,
popupClassName = _ref.popupClassName;

@@ -193,3 +194,3 @@ // ======================== Dropdown ========================

onVisibleChange: setOpen,
overlayClassName: overlayClassName,
overlayClassName: (0, _classnames.default)(overlayClassName, popupClassName),
mouseEnterDelay: 0.1,

@@ -196,0 +197,0 @@ mouseLeaveDelay: 0.1

@@ -28,2 +28,3 @@ import * as React from 'react';

moreTransitionName?: string;
popupClassName?: string;
}

@@ -30,0 +31,0 @@ declare const ForwardTabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;

@@ -42,3 +42,3 @@ "use strict";

var _excluded = ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll"];
var _excluded = ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll", "popupClassName"];

@@ -108,2 +108,3 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

onTabScroll = _ref.onTabScroll,
popupClassName = _ref.popupClassName,
restProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);

@@ -232,3 +233,4 @@ var tabs = parseTabList(children);

style: tabBarStyle,
panes: children
panes: children,
popupClassName: popupClassName
});

@@ -235,0 +237,0 @@

{
"name": "rc-tabs",
"version": "11.15.0",
"version": "11.16.0",
"description": "tabs ui component for react",

@@ -5,0 +5,0 @@ "engines": {

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