@douyinfe/semi-ui 2.59.1 → 2.60.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/semi.css +9 -8
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +9 -6
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/tabs/TabBar.js +9 -6
- package/lib/es/tabs/TabBar.js +9 -6
- package/package.json +8 -8
package/dist/umd/semi-ui.js
CHANGED
|
@@ -85039,12 +85039,19 @@ class TabBar extends (external_root_React_commonjs2_react_commonjs_react_amd_rea
|
|
|
85039
85039
|
this.scrollTabItemIntoViewByKey(key);
|
|
85040
85040
|
};
|
|
85041
85041
|
this.renderCollapse = (items, icon, pos) => {
|
|
85042
|
+
const arrowCls = classnames_default()({
|
|
85043
|
+
[`${tabs_constants_cssClasses.TABS_BAR}-arrow-${pos}`]: pos,
|
|
85044
|
+
[`${tabs_constants_cssClasses.TABS_BAR}-arrow`]: true
|
|
85045
|
+
});
|
|
85042
85046
|
if (isEmpty_default()(items)) {
|
|
85043
|
-
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement(
|
|
85047
|
+
return /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement("div", {
|
|
85048
|
+
role: "presentation",
|
|
85049
|
+
className: arrowCls
|
|
85050
|
+
}, /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().createElement(button_0, {
|
|
85044
85051
|
disabled: true,
|
|
85045
85052
|
icon: icon,
|
|
85046
85053
|
theme: "borderless"
|
|
85047
|
-
});
|
|
85054
|
+
}));
|
|
85048
85055
|
}
|
|
85049
85056
|
const {
|
|
85050
85057
|
dropdownClassName,
|
|
@@ -85067,10 +85074,6 @@ class TabBar extends (external_root_React_commonjs2_react_commonjs_react_amd_rea
|
|
|
85067
85074
|
active: this._isActive(itemKey)
|
|
85068
85075
|
}, panelIcon, tab);
|
|
85069
85076
|
}));
|
|
85070
|
-
const arrowCls = classnames_default()({
|
|
85071
|
-
[`${tabs_constants_cssClasses.TABS_BAR}-arrow-${pos}`]: pos,
|
|
85072
|
-
[`${tabs_constants_cssClasses.TABS_BAR}-arrow`]: true
|
|
85073
|
-
});
|
|
85074
85077
|
const dropdownCls = classnames_default()(dropdownClassName, {
|
|
85075
85078
|
[`${tabs_constants_cssClasses.TABS_BAR}-dropdown`]: true
|
|
85076
85079
|
});
|