@sheinx/base 3.4.2-beta.1 → 3.4.2-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;AAoHtC,wBAAqC"}
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;AAgHtC,wBAAqC"}
package/cjs/tabs/tab.js CHANGED
@@ -105,9 +105,9 @@ var Tab = function Tab(props, ref) {
105
105
  children: [shape === 'card' && renderCardTab(), shape === 'line' && renderLineTab(), shape === 'dash' && renderDashTab(), shape === 'fill' && renderFillTab()]
106
106
  });
107
107
  if (_hooks.util.isLink(propTab)) {
108
- return /*#__PURE__*/_react.default.cloneElement(propTab, _objectSpread({
108
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("a", _objectSpread(_objectSpread({}, containerProps), {}, {
109
109
  children: $children
110
- }, containerProps));
110
+ }));
111
111
  }
112
112
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({}, containerProps), {}, {
113
113
  children: $children
@@ -1 +1 @@
1
- {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;AAoHtC,wBAAqC"}
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;;AAgHtC,wBAAqC"}
package/esm/tabs/tab.js CHANGED
@@ -100,9 +100,9 @@ var Tab = function Tab(props, ref) {
100
100
  children: [shape === 'card' && renderCardTab(), shape === 'line' && renderLineTab(), shape === 'dash' && renderDashTab(), shape === 'fill' && renderFillTab()]
101
101
  });
102
102
  if (util.isLink(propTab)) {
103
- return /*#__PURE__*/React.cloneElement(propTab, _objectSpread({
103
+ return /*#__PURE__*/_jsx("a", _objectSpread(_objectSpread({}, containerProps), {}, {
104
104
  children: $children
105
- }, containerProps));
105
+ }));
106
106
  }
107
107
  return /*#__PURE__*/_jsx("div", _objectSpread(_objectSpread({}, containerProps), {}, {
108
108
  children: $children
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.4.2-beta.1",
3
+ "version": "3.4.2-beta.3",
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.4.2-beta.1",
13
+ "@sheinx/hooks": "3.4.2-beta.3",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"