@abtnode/ux 1.8.52 → 1.8.54
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/blocklet/disk-info.js +1 -5
- package/lib/monitor/disk.js +1 -1
- package/package.json +7 -7
|
@@ -8,7 +8,6 @@ var _react = require("react");
|
|
|
8
8
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
10
10
|
var _filesize = _interopRequireDefault(require("filesize"));
|
|
11
|
-
var _reactRouterDom = require("react-router-dom");
|
|
12
11
|
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
13
12
|
var _Link = _interopRequireDefault(require("@mui/material/Link"));
|
|
14
13
|
var _InfoRow = _interopRequireDefault(require("@arcblock/ux/lib/InfoRow"));
|
|
@@ -30,7 +29,6 @@ function BlockletDiskInfo(_ref) {
|
|
|
30
29
|
blocklet
|
|
31
30
|
} = _ref,
|
|
32
31
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
33
|
-
const navigate = (0, _reactRouterDom.useNavigate)();
|
|
34
32
|
const {
|
|
35
33
|
t
|
|
36
34
|
} = (0, _react.useContext)(_context.LocaleContext);
|
|
@@ -66,9 +64,7 @@ function BlockletDiskInfo(_ref) {
|
|
|
66
64
|
value: renderDiskInfo(env.BLOCKLET_DATA_DIR, blocklet.diskInfo.data)
|
|
67
65
|
}, {
|
|
68
66
|
name: t('blocklet.diskInfo.logDir'),
|
|
69
|
-
value: renderDiskInfo(env.BLOCKLET_LOG_DIR, blocklet.diskInfo.log
|
|
70
|
-
navigate("/logs/blocklet-".concat(blocklet.meta.did));
|
|
71
|
-
})
|
|
67
|
+
value: renderDiskInfo(env.BLOCKLET_LOG_DIR, blocklet.diskInfo.log)
|
|
72
68
|
}, {
|
|
73
69
|
name: t('blocklet.diskInfo.cacheDir'),
|
|
74
70
|
value: renderDiskInfo(env.BLOCKLET_CACHE_DIR, blocklet.diskInfo.cache)
|
package/lib/monitor/disk.js
CHANGED
|
@@ -28,7 +28,7 @@ const BorderLinearProgress = (0, _styles.withStyles)(theme => ({
|
|
|
28
28
|
backgroundColor: theme.palette.grey[theme.palette.mode === 'light' ? 200 : 700]
|
|
29
29
|
},
|
|
30
30
|
bar: {
|
|
31
|
-
backgroundColor:
|
|
31
|
+
backgroundColor: theme.palette.secondary.main
|
|
32
32
|
}
|
|
33
33
|
}))(_LinearProgress.default);
|
|
34
34
|
function LinearProgressWithLabel(props) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.54",
|
|
7
7
|
"description": "UX components shared across abtnode packages",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@abtnode/auth": "1.8.
|
|
25
|
-
"@abtnode/constant": "1.8.
|
|
26
|
-
"@abtnode/util": "1.8.
|
|
24
|
+
"@abtnode/auth": "1.8.54",
|
|
25
|
+
"@abtnode/constant": "1.8.54",
|
|
26
|
+
"@abtnode/util": "1.8.54",
|
|
27
27
|
"@arcblock/did-connect": "^2.4.64",
|
|
28
28
|
"@arcblock/did-motif": "^1.1.10",
|
|
29
29
|
"@arcblock/icons": "^2.4.64",
|
|
30
30
|
"@arcblock/terminal": "^2.4.64",
|
|
31
31
|
"@arcblock/ux": "^2.4.64",
|
|
32
|
-
"@blocklet/constant": "1.8.
|
|
32
|
+
"@blocklet/constant": "1.8.54",
|
|
33
33
|
"@blocklet/launcher-layout": "^1.9.30",
|
|
34
34
|
"@blocklet/list": "^0.10.47",
|
|
35
|
-
"@blocklet/meta": "1.8.
|
|
35
|
+
"@blocklet/meta": "1.8.54",
|
|
36
36
|
"@blocklet/ui-react": "^2.4.64",
|
|
37
37
|
"@emotion/react": "^11.10.4",
|
|
38
38
|
"@emotion/styled": "^11.10.4",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"@babel/preset-react": "^7.18.6",
|
|
85
85
|
"babel-plugin-inline-react-svg": "^1.1.2"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "852c0501460eada698f20f5e756175caba656926"
|
|
88
88
|
}
|