Comparing version 11.0.4 to 11.1.0
@@ -12,2 +12,3 @@ import * as React from 'react'; | ||
moreIcon?: React.ReactNode; | ||
moreTransitionName?: string; | ||
mobile: boolean; | ||
@@ -14,0 +15,0 @@ tabBarGutter?: number; |
@@ -14,2 +14,3 @@ import * as React from 'react'; | ||
moreIcon?: React.ReactNode; | ||
moreTransitionName?: string; | ||
editable?: EditableConfig; | ||
@@ -16,0 +17,0 @@ locale?: TabsLocale; |
@@ -19,2 +19,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
moreIcon = _ref$moreIcon === void 0 ? 'More' : _ref$moreIcon, | ||
moreTransitionName = _ref.moreTransitionName, | ||
style = _ref.style, | ||
@@ -146,2 +147,3 @@ className = _ref.className, | ||
visible: open, | ||
transitionName: moreTransitionName, | ||
onVisibleChange: setOpen | ||
@@ -148,0 +150,0 @@ }, React.createElement("button", { |
@@ -25,2 +25,4 @@ import * as React from 'react'; | ||
moreIcon?: React.ReactNode; | ||
/** @private Internal usage. Not promise will rename in future */ | ||
moreTransitionName?: string; | ||
} | ||
@@ -27,0 +29,0 @@ declare const ForwardTabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>; |
@@ -61,2 +61,3 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
moreIcon = _ref.moreIcon, | ||
moreTransitionName = _ref.moreTransitionName, | ||
destroyInactiveTabPane = _ref.destroyInactiveTabPane, | ||
@@ -66,3 +67,3 @@ renderTabBar = _ref.renderTabBar, | ||
onTabClick = _ref.onTabClick, | ||
restProps = _objectWithoutProperties(_ref, ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick"]); | ||
restProps = _objectWithoutProperties(_ref, ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick"]); | ||
@@ -168,2 +169,3 @@ var tabs = parseTabList(children); | ||
moreIcon: moreIcon, | ||
moreTransitionName: moreTransitionName, | ||
tabBarGutter: tabBarGutter, | ||
@@ -170,0 +172,0 @@ onTabClick: onInternalTabClick, |
@@ -12,2 +12,3 @@ import * as React from 'react'; | ||
moreIcon?: React.ReactNode; | ||
moreTransitionName?: string; | ||
mobile: boolean; | ||
@@ -14,0 +15,0 @@ tabBarGutter?: number; |
@@ -14,2 +14,3 @@ import * as React from 'react'; | ||
moreIcon?: React.ReactNode; | ||
moreTransitionName?: string; | ||
editable?: EditableConfig; | ||
@@ -16,0 +17,0 @@ locale?: TabsLocale; |
@@ -36,2 +36,3 @@ "use strict"; | ||
moreIcon = _ref$moreIcon === void 0 ? 'More' : _ref$moreIcon, | ||
moreTransitionName = _ref.moreTransitionName, | ||
style = _ref.style, | ||
@@ -163,2 +164,3 @@ className = _ref.className, | ||
visible: open, | ||
transitionName: moreTransitionName, | ||
onVisibleChange: setOpen | ||
@@ -165,0 +167,0 @@ }, React.createElement("button", { |
@@ -25,2 +25,4 @@ import * as React from 'react'; | ||
moreIcon?: React.ReactNode; | ||
/** @private Internal usage. Not promise will rename in future */ | ||
moreTransitionName?: string; | ||
} | ||
@@ -27,0 +29,0 @@ declare const ForwardTabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>; |
@@ -80,2 +80,3 @@ "use strict"; | ||
moreIcon = _ref.moreIcon, | ||
moreTransitionName = _ref.moreTransitionName, | ||
destroyInactiveTabPane = _ref.destroyInactiveTabPane, | ||
@@ -85,3 +86,3 @@ renderTabBar = _ref.renderTabBar, | ||
onTabClick = _ref.onTabClick, | ||
restProps = (0, _objectWithoutProperties2.default)(_ref, ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick"]); | ||
restProps = (0, _objectWithoutProperties2.default)(_ref, ["id", "prefixCls", "className", "children", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "moreIcon", "moreTransitionName", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick"]); | ||
var tabs = parseTabList(children); | ||
@@ -186,2 +187,3 @@ var rtl = direction === 'rtl'; | ||
moreIcon: moreIcon, | ||
moreTransitionName: moreTransitionName, | ||
tabBarGutter: tabBarGutter, | ||
@@ -188,0 +190,0 @@ onTabClick: onInternalTabClick, |
{ | ||
"name": "rc-tabs", | ||
"version": "11.0.4", | ||
"version": "11.1.0", | ||
"description": "tabs ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
133302
3131