@douyinfe/semi-ui 2.22.2 → 2.22.3
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/umd/semi-ui.js +4 -3
- 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/TabPane.js +4 -3
- package/lib/cjs/tabs/interface.d.ts +1 -0
- package/lib/es/tabs/TabPane.js +4 -3
- package/lib/es/tabs/interface.d.ts +1 -0
- package/package.json +7 -7
package/dist/umd/semi-ui.js
CHANGED
|
@@ -86886,9 +86886,10 @@ class TabPane_TabPane extends external_root_React_commonjs2_react_commonjs_react
|
|
|
86886
86886
|
className,
|
|
86887
86887
|
style,
|
|
86888
86888
|
children,
|
|
86889
|
-
itemKey
|
|
86889
|
+
itemKey,
|
|
86890
|
+
tabIndex
|
|
86890
86891
|
} = _a,
|
|
86891
|
-
restProps = TabPane_rest(_a, ["className", "style", "children", "itemKey"]);
|
|
86892
|
+
restProps = TabPane_rest(_a, ["className", "style", "children", "itemKey", "tabIndex"]);
|
|
86892
86893
|
|
|
86893
86894
|
const active = this.context.activeKey === itemKey;
|
|
86894
86895
|
const classNames = classnames_default()(className, {
|
|
@@ -86926,7 +86927,7 @@ class TabPane_TabPane extends external_root_React_commonjs2_react_commonjs_react
|
|
|
86926
86927
|
className: classNames,
|
|
86927
86928
|
style: style,
|
|
86928
86929
|
"aria-hidden": active ? 'false' : 'true',
|
|
86929
|
-
tabIndex: 0
|
|
86930
|
+
tabIndex: tabIndex ? tabIndex : 0
|
|
86930
86931
|
}, getDataAttr(restProps), {
|
|
86931
86932
|
"x-semi-prop": "children"
|
|
86932
86933
|
}), /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(_cssAnimation, {
|