@antv/dumi-theme-antv 0.3.16 → 0.3.17
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/plugin/index.js
CHANGED
|
@@ -26,8 +26,9 @@ export var Search = function Search() {
|
|
|
26
26
|
}, [result]);
|
|
27
27
|
useEffect(function () {
|
|
28
28
|
var close = function close(e) {
|
|
29
|
-
var _e$target
|
|
30
|
-
|
|
29
|
+
var _e$target;
|
|
30
|
+
var className = (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.className;
|
|
31
|
+
if (!(typeof className === 'string' && className.match(styles.input))) {
|
|
31
32
|
setOpen(false);
|
|
32
33
|
}
|
|
33
34
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/dumi-theme-antv",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "AntV website theme based on dumi2.",
|
|
5
5
|
"types": "dist/types.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
"unified": "^10.1.2",
|
|
92
92
|
"unist-util-visit": "^4.1.2",
|
|
93
93
|
"uri-parse": "^1.0.0",
|
|
94
|
-
"video-react": "^0.16.0"
|
|
94
|
+
"video-react": "^0.16.0",
|
|
95
|
+
"prettier": "^2.7.1"
|
|
95
96
|
},
|
|
96
97
|
"peerDependencies": {
|
|
97
98
|
"dumi": "^2.0.0",
|
|
@@ -116,7 +117,6 @@
|
|
|
116
117
|
"father-plugin-dumi-theme": "^1.0.0-beta.1",
|
|
117
118
|
"husky": "^8.0.1",
|
|
118
119
|
"lint-staged": "^13.0.3",
|
|
119
|
-
"prettier": "^2.7.1",
|
|
120
120
|
"prettier-plugin-organize-imports": "^3.0.0",
|
|
121
121
|
"prettier-plugin-packagejson": "^2.2.18",
|
|
122
122
|
"react": "^18.0.0",
|