@douyinfe/semi-ui 2.12.0-beta.4 → 2.12.0-beta.5
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/dist/umd/semi-ui.js +1 -1
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/tooltip/TooltipStyledTransition.js +1 -1
- package/lib/es/tooltip/TooltipStyledTransition.js +1 -1
- package/package.json +9 -9
- package/tooltip/TooltipStyledTransition.tsx +1 -1
|
@@ -36,7 +36,7 @@ const TooltipTransition = function () {
|
|
|
36
36
|
return /*#__PURE__*/_react.default.createElement(_semiAnimationReact.StyledTransition, (0, _assign.default)({}, props, {
|
|
37
37
|
enter: enterCls,
|
|
38
38
|
leave: leaveCls,
|
|
39
|
-
duration: '
|
|
39
|
+
duration: '100ms'
|
|
40
40
|
}, motion, {
|
|
41
41
|
fillMode: 'forwards'
|
|
42
42
|
}), typeof children === 'function' ? _ref => {
|
|
@@ -20,7 +20,7 @@ const TooltipTransition = function () {
|
|
|
20
20
|
return /*#__PURE__*/React.createElement(StyledTransition, _Object$assign({}, props, {
|
|
21
21
|
enter: enterCls,
|
|
22
22
|
leave: leaveCls,
|
|
23
|
-
duration: '
|
|
23
|
+
duration: '100ms'
|
|
24
24
|
}, motion, {
|
|
25
25
|
fillMode: 'forwards'
|
|
26
26
|
}), typeof children === 'function' ? _ref => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.12.0-beta.
|
|
3
|
+
"version": "2.12.0-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
17
|
-
"@douyinfe/semi-animation": "2.12.0-beta.
|
|
18
|
-
"@douyinfe/semi-animation-react": "2.12.0-beta.
|
|
19
|
-
"@douyinfe/semi-foundation": "2.12.0-beta.
|
|
20
|
-
"@douyinfe/semi-icons": "2.12.0-beta.
|
|
21
|
-
"@douyinfe/semi-illustrations": "2.12.0-beta.
|
|
22
|
-
"@douyinfe/semi-theme-default": "2.12.0-beta.
|
|
17
|
+
"@douyinfe/semi-animation": "2.12.0-beta.5",
|
|
18
|
+
"@douyinfe/semi-animation-react": "2.12.0-beta.5",
|
|
19
|
+
"@douyinfe/semi-foundation": "2.12.0-beta.5",
|
|
20
|
+
"@douyinfe/semi-icons": "2.12.0-beta.5",
|
|
21
|
+
"@douyinfe/semi-illustrations": "2.12.0-beta.5",
|
|
22
|
+
"@douyinfe/semi-theme-default": "2.12.0-beta.5",
|
|
23
23
|
"@types/react-window": "^1.8.2",
|
|
24
24
|
"async-validator": "^3.5.0",
|
|
25
25
|
"classnames": "^2.2.6",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
],
|
|
70
70
|
"author": "",
|
|
71
71
|
"license": "MIT",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "78f7b68e4eacd15412bcdf06a4a401f5a70e9f69",
|
|
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.12.0-beta.
|
|
78
|
+
"@douyinfe/semi-scss-compile": "2.12.0-beta.5",
|
|
79
79
|
"@storybook/addon-knobs": "^6.3.1",
|
|
80
80
|
"@types/lodash": "^4.14.176",
|
|
81
81
|
"babel-loader": "^8.2.2",
|
|
@@ -20,7 +20,7 @@ const TooltipTransition: React.FC<TooltipTransitionProps> = (props = {}) => {
|
|
|
20
20
|
|
|
21
21
|
// add fillMode forwards to fix issue 715, tooltip close will flashing under react 18
|
|
22
22
|
return (
|
|
23
|
-
<StyledTransition {...props} enter={enterCls} leave={leaveCls} duration={'
|
|
23
|
+
<StyledTransition {...props} enter={enterCls} leave={leaveCls} duration={'100ms'} {...motion} fillMode='forwards'>
|
|
24
24
|
{typeof children === 'function' ?
|
|
25
25
|
({ animateCls, animateEvents, animateStyle }: any) => children({ animateCls, animateEvents, animateStyle }) :
|
|
26
26
|
children}
|