@abtnode/ux 1.8.58 → 1.8.60
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.
|
@@ -39,7 +39,7 @@ function BlockletAvatar(_ref) {
|
|
|
39
39
|
variant
|
|
40
40
|
} = rest;
|
|
41
41
|
const setFallBackUrl = inService ? () => {} : ev => {
|
|
42
|
-
ev.target.src = "".concat(node.
|
|
42
|
+
ev.target.src = "".concat(node.imgPrefix, "/blocklet.png");
|
|
43
43
|
};
|
|
44
44
|
let imgEle = /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
45
45
|
src: logoUrl,
|
package/lib/certificate.js
CHANGED
|
@@ -68,7 +68,7 @@ function Certificate(_ref) {
|
|
|
68
68
|
},
|
|
69
69
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
70
70
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
|
|
71
|
-
src: "".concat(node.
|
|
71
|
+
src: "".concat(node.imgPrefix, "/https-certificate-icon.png"),
|
|
72
72
|
alt: "certificate icon",
|
|
73
73
|
style: {
|
|
74
74
|
maxHeight: '100%',
|
|
@@ -20,7 +20,7 @@ function useAvatar(_ref) {
|
|
|
20
20
|
inService
|
|
21
21
|
} = node;
|
|
22
22
|
const search = "?v=".concat(blocklet === null || blocklet === void 0 ? void 0 : (_blocklet$meta = blocklet.meta) === null || _blocklet$meta === void 0 ? void 0 : _blocklet$meta.version);
|
|
23
|
-
let logoUrl = inService ? (0, _urlJoin.default)(_util.APP_PREFIX, _constant.WELLKNOWN_SERVICE_PATH_PREFIX, '/blocklet/logo-bundle', search) : (0, _urlJoin.default)(node.
|
|
23
|
+
let logoUrl = inService ? (0, _urlJoin.default)(_util.APP_PREFIX, _constant.WELLKNOWN_SERVICE_PATH_PREFIX, '/blocklet/logo-bundle', search) : (0, _urlJoin.default)(node.imgPrefix, 'blocklet.png');
|
|
24
24
|
if (blocklet.source === 'registry' && blocklet.deployedFrom && blocklet.meta.logo) {
|
|
25
25
|
logoUrl = (0, _urlJoin.default)(blocklet.deployedFrom, (0, _util.formatRegistryLogoPath)(blocklet.meta.bundleDid, blocklet.meta.logo), search);
|
|
26
26
|
} else {
|
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.60",
|
|
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.60",
|
|
25
|
+
"@abtnode/constant": "1.8.60",
|
|
26
|
+
"@abtnode/util": "1.8.60",
|
|
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.60",
|
|
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.60",
|
|
36
36
|
"@blocklet/ui-react": "^2.4.64",
|
|
37
37
|
"@emotion/react": "^11.10.4",
|
|
38
38
|
"@emotion/styled": "^11.10.4",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"@babel/preset-react": "^7.18.6",
|
|
87
87
|
"babel-plugin-inline-react-svg": "^1.1.2"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "0a56dc596f58d83f22d1ea0d0145d84e7151f5be"
|
|
90
90
|
}
|