@douyinfe/semi-ui 2.22.0 → 2.22.1

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.
@@ -240,7 +240,7 @@ class Tooltip extends _baseComponent.default {
240
240
  return /*#__PURE__*/_react.default.createElement("div", Object.assign({
241
241
  className: (0, _classnames.default)(className, animationClassName),
242
242
  style: Object.assign(Object.assign(Object.assign({
243
- visibility: isPositionUpdated ? 'visible' : "hidden"
243
+ opacity: isPositionUpdated ? '1' : "0"
244
244
  }, animationStyle), {
245
245
  transformOrigin
246
246
  }), style)
@@ -205,7 +205,7 @@ export default class Tooltip extends BaseComponent {
205
205
  return /*#__PURE__*/React.createElement("div", Object.assign({
206
206
  className: classNames(className, animationClassName),
207
207
  style: Object.assign(Object.assign(Object.assign({
208
- visibility: isPositionUpdated ? 'visible' : "hidden"
208
+ opacity: isPositionUpdated ? '1' : "0"
209
209
  }, animationStyle), {
210
210
  transformOrigin
211
211
  }), style)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.22.0",
3
+ "version": "2.22.1",
4
4
  "description": "",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -18,11 +18,11 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@douyinfe/semi-animation": "2.12.0",
21
- "@douyinfe/semi-animation-react": "2.22.0",
22
- "@douyinfe/semi-foundation": "2.22.0",
23
- "@douyinfe/semi-icons": "2.22.0",
21
+ "@douyinfe/semi-animation-react": "2.22.1",
22
+ "@douyinfe/semi-foundation": "2.22.1",
23
+ "@douyinfe/semi-icons": "2.22.1",
24
24
  "@douyinfe/semi-illustrations": "2.15.0",
25
- "@douyinfe/semi-theme-default": "2.22.0",
25
+ "@douyinfe/semi-theme-default": "2.22.1",
26
26
  "async-validator": "^3.5.0",
27
27
  "classnames": "^2.2.6",
28
28
  "copy-text-to-clipboard": "^2.1.1",
@@ -69,13 +69,13 @@
69
69
  ],
70
70
  "author": "",
71
71
  "license": "MIT",
72
- "gitHead": "e35ab88a3ea3338d8081fbdb065e05e7df94d8d6",
72
+ "gitHead": "298d78ebb058cd0e51e09d28d4503735477eee42",
73
73
  "devDependencies": {
74
74
  "@babel/plugin-proposal-decorators": "^7.15.8",
75
75
  "@babel/plugin-transform-runtime": "^7.15.8",
76
76
  "@babel/preset-env": "^7.15.8",
77
77
  "@babel/preset-react": "^7.14.5",
78
- "@douyinfe/semi-scss-compile": "2.22.0",
78
+ "@douyinfe/semi-scss-compile": "2.22.1",
79
79
  "@storybook/addon-knobs": "^6.3.1",
80
80
  "@types/lodash": "^4.14.176",
81
81
  "@types/react": ">=16.0.0",