@sheinx/base 3.9.12-beta.1 → 3.9.12-beta.2

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.
@@ -123,7 +123,7 @@ var Tooltip = function Tooltip(props) {
123
123
  }
124
124
  return events;
125
125
  }, [persistent, events, trigger]);
126
- var inner = disabledChild ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
126
+ var inner = disabledChild && tip ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
127
127
  className: tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.target,
128
128
  style: {
129
129
  cursor: 'not-allowed'
@@ -116,7 +116,7 @@ var Tooltip = function Tooltip(props) {
116
116
  }
117
117
  return events;
118
118
  }, [persistent, events, trigger]);
119
- var inner = disabledChild ? /*#__PURE__*/_jsx("span", {
119
+ var inner = disabledChild && tip ? /*#__PURE__*/_jsx("span", {
120
120
  className: tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.target,
121
121
  style: {
122
122
  cursor: 'not-allowed'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.9.12-beta.1",
3
+ "version": "3.9.12-beta.2",
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.9.12-beta.1",
13
+ "@sheinx/hooks": "3.9.12-beta.2",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"