@sheinx/base 3.0.6 → 3.0.7

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.
@@ -619,7 +619,7 @@ var Cascader = function Cascader(props0) {
619
619
  minWidth: '100%'
620
620
  } : {};
621
621
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({
622
- tabIndex: disabled === true ? -1 : 0
622
+ tabIndex: disabled === true || showInput ? undefined : 0
623
623
  }, _hooks.util.getDataAttribute(_defineProperty({}, 'input-border', 'true'))), {}, {
624
624
  className: rootClass,
625
625
  style: rootStyle,
@@ -612,7 +612,7 @@ var Cascader = function Cascader(props0) {
612
612
  minWidth: '100%'
613
613
  } : {};
614
614
  return /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({
615
- tabIndex: disabled === true ? -1 : 0
615
+ tabIndex: disabled === true || showInput ? undefined : 0
616
616
  }, util.getDataAttribute(_defineProperty({}, 'input-border', 'true'))), {}, {
617
617
  className: rootClass,
618
618
  style: rootStyle,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.0.6",
13
+ "@sheinx/hooks": "3.0.7",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.2"