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