@sheinx/base 3.8.0-beta.45 → 3.8.0-beta.46
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/cjs/tooltip/tooltip.js +2 -1
- package/esm/tooltip/tooltip.js +2 -1
- package/package.json +2 -2
package/cjs/tooltip/tooltip.js
CHANGED
|
@@ -143,7 +143,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
143
143
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({
|
|
144
144
|
className: (0, _classnames.default)(className, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.rootClass, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapper, open && (tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapperOpen)),
|
|
145
145
|
style: {
|
|
146
|
-
pointerEvents: persistent ? 'initial' : undefined
|
|
146
|
+
pointerEvents: persistent ? 'initial' : undefined,
|
|
147
|
+
display: open ? 'block' : 'none'
|
|
147
148
|
}
|
|
148
149
|
}, _hooks.util.getDataAttribute({
|
|
149
150
|
type: type,
|
package/esm/tooltip/tooltip.js
CHANGED
|
@@ -136,7 +136,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
136
136
|
children: /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({
|
|
137
137
|
className: classNames(className, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.rootClass, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapper, open && (tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapperOpen)),
|
|
138
138
|
style: {
|
|
139
|
-
pointerEvents: persistent ? 'initial' : undefined
|
|
139
|
+
pointerEvents: persistent ? 'initial' : undefined,
|
|
140
|
+
display: open ? 'block' : 'none'
|
|
140
141
|
}
|
|
141
142
|
}, util.getDataAttribute({
|
|
142
143
|
type: type,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.8.0-beta.
|
|
3
|
+
"version": "3.8.0-beta.46",
|
|
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.8.0-beta.
|
|
13
|
+
"@sheinx/hooks": "3.8.0-beta.46",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.1.3-alpha.0"
|