@abtnode/ux 1.16.13-beta-286a5279 → 1.16.13-beta-0086a35d
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.
|
@@ -101,7 +101,7 @@ const NavigationDialog = /*#__PURE__*/(0, _react.forwardRef)(function Navigation
|
|
|
101
101
|
} = (0, _blocklet.useBlockletContext)();
|
|
102
102
|
const config = blocklet.environments.find(x => x.key === 'BLOCKLET_APP_LANGUAGES');
|
|
103
103
|
const languages = config ? config.value.split(',') : ['en', 'zh'];
|
|
104
|
-
const localeMap = languages.reduce((acc, x) => {
|
|
104
|
+
const localeMap = languages.filter(x => _constant.SUPPORTED_LANGUAGES[x]).reduce((acc, x) => {
|
|
105
105
|
acc[x] = _constant.SUPPORTED_LANGUAGES[x].nativeName;
|
|
106
106
|
return acc;
|
|
107
107
|
}, {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/ux",
|
|
3
|
-
"version": "1.16.13-beta-
|
|
3
|
+
"version": "1.16.13-beta-0086a35d",
|
|
4
4
|
"description": "UX components shared across abtnode packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"author": "linchen <linchen1987@foxmail.com> (http://github.com/linchen1987)",
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@abtnode/auth": "1.16.13-beta-
|
|
27
|
-
"@abtnode/constant": "1.16.13-beta-
|
|
28
|
-
"@abtnode/util": "1.16.13-beta-
|
|
26
|
+
"@abtnode/auth": "1.16.13-beta-0086a35d",
|
|
27
|
+
"@abtnode/constant": "1.16.13-beta-0086a35d",
|
|
28
|
+
"@abtnode/util": "1.16.13-beta-0086a35d",
|
|
29
29
|
"@ahooksjs/use-url-state": "^3.5.1",
|
|
30
30
|
"@arcblock/did": "^1.18.84",
|
|
31
31
|
"@arcblock/did-connect": "^2.5.54",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@arcblock/react-hooks": "^2.5.54",
|
|
35
35
|
"@arcblock/terminal": "^2.5.54",
|
|
36
36
|
"@arcblock/ux": "^2.5.54",
|
|
37
|
-
"@blocklet/constant": "1.16.13-beta-
|
|
37
|
+
"@blocklet/constant": "1.16.13-beta-0086a35d",
|
|
38
38
|
"@blocklet/launcher-layout": "2.1.26",
|
|
39
39
|
"@blocklet/list": "^0.12.4",
|
|
40
|
-
"@blocklet/meta": "1.16.13-beta-
|
|
40
|
+
"@blocklet/meta": "1.16.13-beta-0086a35d",
|
|
41
41
|
"@blocklet/ui-react": "^2.5.54",
|
|
42
42
|
"@emotion/react": "^11.10.4",
|
|
43
43
|
"@emotion/styled": "^11.10.4",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"@babel/preset-react": "^7.18.6",
|
|
96
96
|
"babel-plugin-inline-react-svg": "^1.1.2"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "cbf5c99e7cadf9fef4d77673cb45b44ef26436cf"
|
|
99
99
|
}
|