@abtnode/ux 1.8.29 → 1.8.31
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/configuration.js +5 -0
- package/lib/locales/en.js +2 -1
- package/lib/locales/zh.js +2 -1
- package/package.json +12 -12
|
@@ -85,6 +85,7 @@ function BlockletEnvironment(_ref) {
|
|
|
85
85
|
const customColor = blocklet.environments.find(x => x.key === 'BLOCKLET_PASSPORT_COLOR');
|
|
86
86
|
const customUrl = blocklet.environments.find(x => x.key === 'BLOCKLET_APP_URL');
|
|
87
87
|
const customLogo = blocklet.environments.find(x => x.key === 'BLOCKLET_APP_LOGO');
|
|
88
|
+
const customLogoSquare = blocklet.environments.find(x => x.key === 'BLOCKLET_APP_LOGO_SQUARE');
|
|
88
89
|
const configurableEnvs = [{
|
|
89
90
|
key: _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_NAME,
|
|
90
91
|
description: t('blocklet.config.name'),
|
|
@@ -109,6 +110,10 @@ function BlockletEnvironment(_ref) {
|
|
|
109
110
|
key: _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO,
|
|
110
111
|
description: t('blocklet.config.logo'),
|
|
111
112
|
value: customLogo ? customLogo.value : ''
|
|
113
|
+
}, {
|
|
114
|
+
key: _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_SQUARE,
|
|
115
|
+
description: t('blocklet.config.logoSquare'),
|
|
116
|
+
value: customLogoSquare ? customLogoSquare.value : ''
|
|
112
117
|
}];
|
|
113
118
|
if (clusterMode) {
|
|
114
119
|
const exist = blocklet.configs.find(x => x.key === _constant.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_CLUSTER_SIZE);
|
package/lib/locales/en.js
CHANGED
|
@@ -326,7 +326,8 @@ module.exports = {
|
|
|
326
326
|
name: 'Blocklet Name',
|
|
327
327
|
description: 'Blocklet Description',
|
|
328
328
|
sk: 'Secret key for the blocklet wallet',
|
|
329
|
-
logo: 'Logo URL or path for the blocklet',
|
|
329
|
+
logo: 'Logo URL or path for the blocklet (optional, default to logo from blocklet store)',
|
|
330
|
+
logoSquare: 'Square logo URL or path for the blocklet (optional, default to logo)',
|
|
330
331
|
clusterSize: 'Instance count when run this blocklet in cluster mode',
|
|
331
332
|
deletable: {
|
|
332
333
|
name: 'Delete Protection',
|
package/lib/locales/zh.js
CHANGED
|
@@ -331,7 +331,8 @@ module.exports = {
|
|
|
331
331
|
name: '应用名称',
|
|
332
332
|
description: '应用描述',
|
|
333
333
|
sk: '应用账户私钥',
|
|
334
|
-
logo: '应用 Logo 地址或路径',
|
|
334
|
+
logo: '应用 Logo 地址或路径 (可选,默认使用发布到 Store 的 Blocklet Logo)',
|
|
335
|
+
logoSquare: '正方形 Logo 地址或路径 (可选,默认和 Logo 相同)',
|
|
335
336
|
clusterSize: '以 Cluster 模式启动时的实例数量',
|
|
336
337
|
deletable: {
|
|
337
338
|
name: '删除保护',
|
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.31",
|
|
7
7
|
"description": "UX components shared across abtnode packages",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -21,17 +21,17 @@
|
|
|
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.
|
|
27
|
-
"@arcblock/did-connect": "^2.4.
|
|
24
|
+
"@abtnode/auth": "1.8.31",
|
|
25
|
+
"@abtnode/constant": "1.8.31",
|
|
26
|
+
"@abtnode/util": "1.8.31",
|
|
27
|
+
"@arcblock/did-connect": "^2.4.47",
|
|
28
28
|
"@arcblock/did-motif": "^1.1.10",
|
|
29
|
-
"@arcblock/icons": "^2.4.
|
|
30
|
-
"@arcblock/terminal": "^2.4.
|
|
31
|
-
"@arcblock/ux": "^2.4.
|
|
32
|
-
"@blocklet/constant": "1.8.
|
|
33
|
-
"@blocklet/launcher-layout": "^1.9.
|
|
34
|
-
"@blocklet/meta": "1.8.
|
|
29
|
+
"@arcblock/icons": "^2.4.47",
|
|
30
|
+
"@arcblock/terminal": "^2.4.47",
|
|
31
|
+
"@arcblock/ux": "^2.4.47",
|
|
32
|
+
"@blocklet/constant": "1.8.31",
|
|
33
|
+
"@blocklet/launcher-layout": "^1.9.5",
|
|
34
|
+
"@blocklet/meta": "1.8.31",
|
|
35
35
|
"@emotion/react": "^11.10.4",
|
|
36
36
|
"@emotion/styled": "^11.10.4",
|
|
37
37
|
"@material-table/core": "^0.2.48",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@babel/preset-react": "^7.18.6",
|
|
74
74
|
"babel-plugin-inline-react-svg": "^1.1.2"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "f3cc8becdca1b8c5e645eb8cf751fa780cf09cfe"
|
|
77
77
|
}
|