@douyinfe/semi-ui 2.15.0 → 2.15.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.
package/lib/cjs/tooltip/index.js
CHANGED
|
@@ -722,7 +722,7 @@ class Tooltip extends _baseComponent.default {
|
|
|
722
722
|
}
|
|
723
723
|
},
|
|
724
724
|
tabIndex: 0,
|
|
725
|
-
'data-
|
|
725
|
+
'data-popupid': id
|
|
726
726
|
})); // If you do not add a layer of div, in order to bind the events and className in the tooltip, you need to cloneElement children, but this time it may overwrite the children's original ref reference
|
|
727
727
|
// So if the user adds ref to the content, you need to use callback ref: https://github.com/facebook/react/issues/8873
|
|
728
728
|
|
package/lib/es/tooltip/index.js
CHANGED
|
@@ -684,7 +684,7 @@ export default class Tooltip extends BaseComponent {
|
|
|
684
684
|
}
|
|
685
685
|
},
|
|
686
686
|
tabIndex: 0,
|
|
687
|
-
'data-
|
|
687
|
+
'data-popupid': id
|
|
688
688
|
})); // If you do not add a layer of div, in order to bind the events and className in the tooltip, you need to cloneElement children, but this time it may overwrite the children's original ref reference
|
|
689
689
|
// So if the user adds ref to the content, you need to use callback ref: https://github.com/facebook/react/issues/8873
|
|
690
690
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
17
17
|
"@douyinfe/semi-animation": "2.12.0",
|
|
18
|
-
"@douyinfe/semi-animation-react": "2.15.
|
|
19
|
-
"@douyinfe/semi-foundation": "2.15.
|
|
20
|
-
"@douyinfe/semi-icons": "2.15.
|
|
18
|
+
"@douyinfe/semi-animation-react": "2.15.1",
|
|
19
|
+
"@douyinfe/semi-foundation": "2.15.1",
|
|
20
|
+
"@douyinfe/semi-icons": "2.15.1",
|
|
21
21
|
"@douyinfe/semi-illustrations": "2.15.0",
|
|
22
|
-
"@douyinfe/semi-theme-default": "2.15.
|
|
22
|
+
"@douyinfe/semi-theme-default": "2.15.1",
|
|
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": "c17dbc08573d010f8ecfe60834412acd9e7ca154",
|
|
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.15.
|
|
78
|
+
"@douyinfe/semi-scss-compile": "2.15.1",
|
|
79
79
|
"@storybook/addon-knobs": "^6.3.1",
|
|
80
80
|
"@types/lodash": "^4.14.176",
|
|
81
81
|
"babel-loader": "^8.2.2",
|
package/tooltip/index.tsx
CHANGED
|
@@ -717,7 +717,7 @@ export default class Tooltip extends BaseComponent<TooltipProps, TooltipState> {
|
|
|
717
717
|
}
|
|
718
718
|
},
|
|
719
719
|
tabIndex: 0, // a11y keyboard
|
|
720
|
-
'data-
|
|
720
|
+
'data-popupid': id
|
|
721
721
|
});
|
|
722
722
|
|
|
723
723
|
// If you do not add a layer of div, in order to bind the events and className in the tooltip, you need to cloneElement children, but this time it may overwrite the children's original ref reference
|