@antv/dumi-theme-antv 0.3.15 → 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": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@ant-design/icons": "^4.7.0",
|
|
56
|
+
"@babel/plugin-syntax-unicode-sets-regex": "^7.18.6",
|
|
56
57
|
"@babel/standalone": "^7.19.5",
|
|
57
58
|
"@docsearch/css": "^3.3.0",
|
|
58
59
|
"@docsearch/react": "^3.3.0",
|
|
@@ -90,7 +91,8 @@
|
|
|
90
91
|
"unified": "^10.1.2",
|
|
91
92
|
"unist-util-visit": "^4.1.2",
|
|
92
93
|
"uri-parse": "^1.0.0",
|
|
93
|
-
"video-react": "^0.16.0"
|
|
94
|
+
"video-react": "^0.16.0",
|
|
95
|
+
"prettier": "^2.7.1"
|
|
94
96
|
},
|
|
95
97
|
"peerDependencies": {
|
|
96
98
|
"dumi": "^2.0.0",
|
|
@@ -115,7 +117,6 @@
|
|
|
115
117
|
"father-plugin-dumi-theme": "^1.0.0-beta.1",
|
|
116
118
|
"husky": "^8.0.1",
|
|
117
119
|
"lint-staged": "^13.0.3",
|
|
118
|
-
"prettier": "^2.7.1",
|
|
119
120
|
"prettier-plugin-organize-imports": "^3.0.0",
|
|
120
121
|
"prettier-plugin-packagejson": "^2.2.18",
|
|
121
122
|
"react": "^18.0.0",
|