@rango-dev/widget-embedded 0.34.5 → 0.34.6-next.1
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/CHANGELOG.md +4 -0
- package/dist/components/Quote/Quote.styles.d.ts +1 -1
- package/dist/components/RefreshModal/RefreshModal.styles.d.ts +1 -1
- package/dist/constants/languages.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/store/AppStore.d.ts +2 -2
- package/dist/store/app.d.ts +2 -2
- package/dist/widget-embedded.build.json +1 -1
- package/package.json +8 -8
- package/src/constants/languages.ts +64 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/widget-embedded",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.6-next.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@lingui/core": "4.2.1",
|
|
26
26
|
"@lingui/react": "4.2.1",
|
|
27
27
|
"@rango-dev/logging-core": "^0.6.0",
|
|
28
|
-
"@rango-dev/provider-all": "^0.38.
|
|
28
|
+
"@rango-dev/provider-all": "^0.38.6-next.1",
|
|
29
29
|
"@rango-dev/queue-manager-core": "^0.27.0",
|
|
30
|
-
"@rango-dev/queue-manager-rango-preset": "^0.38.0",
|
|
30
|
+
"@rango-dev/queue-manager-rango-preset": "^0.38.1-next.0",
|
|
31
31
|
"@rango-dev/queue-manager-react": "^0.27.0",
|
|
32
|
-
"@rango-dev/signer-solana": "^0.33.
|
|
33
|
-
"@rango-dev/ui": "^0.40.
|
|
34
|
-
"@rango-dev/wallets-core": "^0.39.0",
|
|
35
|
-
"@rango-dev/wallets-react": "^0.24.0",
|
|
36
|
-
"@rango-dev/wallets-shared": "^0.38.0",
|
|
32
|
+
"@rango-dev/signer-solana": "^0.33.1-next.1",
|
|
33
|
+
"@rango-dev/ui": "^0.40.1-next.4",
|
|
34
|
+
"@rango-dev/wallets-core": "^0.39.1-next.0",
|
|
35
|
+
"@rango-dev/wallets-react": "^0.24.1-next.0",
|
|
36
|
+
"@rango-dev/wallets-shared": "^0.38.1-next.0",
|
|
37
37
|
"bignumber.js": "^9.1.1",
|
|
38
38
|
"copy-to-clipboard": "^3.3.3",
|
|
39
39
|
"dayjs": "^1.11.7",
|
|
@@ -1,21 +1,40 @@
|
|
|
1
1
|
import type { FlagPropTypes, Language } from '@rango-dev/ui';
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
+
Bengali,
|
|
5
|
+
Catalonia,
|
|
4
6
|
Chinese,
|
|
7
|
+
Denmark,
|
|
5
8
|
English,
|
|
6
9
|
Finland,
|
|
7
10
|
French,
|
|
8
11
|
German,
|
|
9
12
|
Greece,
|
|
13
|
+
Hungary,
|
|
14
|
+
India,
|
|
15
|
+
Indonesian,
|
|
10
16
|
Italian,
|
|
11
17
|
Japanese,
|
|
18
|
+
Korea,
|
|
19
|
+
Lithuania,
|
|
20
|
+
Malay,
|
|
12
21
|
Netherlands,
|
|
22
|
+
Pakistan,
|
|
23
|
+
Philippines,
|
|
13
24
|
Poland,
|
|
14
25
|
Portuguese,
|
|
15
26
|
Russian,
|
|
27
|
+
SaudiArabia,
|
|
28
|
+
Serbia,
|
|
29
|
+
Slovakia,
|
|
30
|
+
SouthAfrica,
|
|
16
31
|
Spanish,
|
|
32
|
+
Swahili,
|
|
17
33
|
Swedish,
|
|
34
|
+
Thai,
|
|
35
|
+
Turkish,
|
|
18
36
|
Ukrainian,
|
|
37
|
+
Vietnamese,
|
|
19
38
|
} from '@rango-dev/ui';
|
|
20
39
|
|
|
21
40
|
export type LanguageItem = {
|
|
@@ -26,21 +45,56 @@ export type LanguageItem = {
|
|
|
26
45
|
};
|
|
27
46
|
|
|
28
47
|
export const LANGUAGES: LanguageItem[] = [
|
|
48
|
+
{ title: 'Afrikaans', label: 'Afrikaans', local: 'af', SVGFlag: SouthAfrica },
|
|
49
|
+
{ title: 'Arabic', label: 'عربي', local: 'ar', SVGFlag: SaudiArabia },
|
|
50
|
+
{ title: 'Bengali', label: 'বাংলা', local: 'bn', SVGFlag: Bengali },
|
|
51
|
+
{ title: 'Catalan', label: 'Català', local: 'ca', SVGFlag: Catalonia },
|
|
52
|
+
{
|
|
53
|
+
title: 'Chinese (Simplified)',
|
|
54
|
+
label: '简体中文',
|
|
55
|
+
local: 'zh-CN',
|
|
56
|
+
SVGFlag: Chinese,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
title: 'Chinese (Traditional)',
|
|
60
|
+
label: '中文(繁體)',
|
|
61
|
+
local: 'zh-TW',
|
|
62
|
+
SVGFlag: Chinese,
|
|
63
|
+
},
|
|
64
|
+
{ title: 'Danish', label: 'Dansk', local: 'da', SVGFlag: Denmark },
|
|
65
|
+
{ title: 'Dutch', label: 'Nederlands', local: 'nl', SVGFlag: Netherlands },
|
|
29
66
|
{ title: 'English', label: 'English', local: 'en', SVGFlag: English },
|
|
30
|
-
{ title: '
|
|
67
|
+
{ title: 'Filipino', label: 'Filipino', local: 'fil', SVGFlag: Philippines },
|
|
68
|
+
{ title: 'Finnish', label: 'Suomalainen', local: 'fi', SVGFlag: Finland },
|
|
31
69
|
{ title: 'French', label: 'Français', local: 'fr', SVGFlag: French },
|
|
32
|
-
{ title: 'Japanese', label: '日本語', local: 'ja', SVGFlag: Japanese },
|
|
33
|
-
{ title: 'Portuguese', label: 'Português', local: 'pt', SVGFlag: Portuguese },
|
|
34
|
-
{ title: 'Chinese', label: '中国人', local: 'zh', SVGFlag: Chinese },
|
|
35
|
-
{ title: 'Russian', label: 'Русский', local: 'ru', SVGFlag: Russian },
|
|
36
70
|
{ title: 'German', label: 'Deutsch', local: 'de', SVGFlag: German },
|
|
37
|
-
{ title: '
|
|
38
|
-
{ title: '
|
|
39
|
-
{ title: '
|
|
40
|
-
{ title: '
|
|
41
|
-
{ title: 'Greek', label: 'Grieks', local: 'el', SVGFlag: Greece },
|
|
71
|
+
{ title: 'Greek', label: 'ελληνικά', local: 'el', SVGFlag: Greece },
|
|
72
|
+
{ title: 'Hindi', label: 'हिंदी', local: 'hi', SVGFlag: India },
|
|
73
|
+
{ title: 'Hungarian', label: 'Magyar', local: 'hu', SVGFlag: Hungary },
|
|
74
|
+
{ title: 'Indonesian', label: 'Indonesia', local: 'id', SVGFlag: Indonesian },
|
|
42
75
|
{ title: 'Italian', label: 'Italiana', local: 'it', SVGFlag: Italian },
|
|
76
|
+
{ title: 'Japanese', label: '日本語', local: 'ja', SVGFlag: Japanese },
|
|
77
|
+
{ title: 'Korean', label: '한국인', local: 'ko', SVGFlag: Korea },
|
|
78
|
+
{ title: 'Lithuanian', label: 'Lietuvių', local: 'lt', SVGFlag: Lithuania },
|
|
79
|
+
{ title: 'Malay', label: 'Melayu', local: 'ms', SVGFlag: Malay },
|
|
43
80
|
{ title: 'Polish', label: 'Polski', local: 'pl', SVGFlag: Poland },
|
|
81
|
+
{ title: 'Portuguese', label: 'Português', local: 'pt', SVGFlag: Portuguese },
|
|
82
|
+
{ title: 'Russian', label: 'Русский', local: 'ru', SVGFlag: Russian },
|
|
83
|
+
{ title: 'Serbian', label: 'Cрпски', local: 'sr', SVGFlag: Serbia },
|
|
84
|
+
{ title: 'Slovak', label: 'Slovenský', local: 'sk', SVGFlag: Slovakia },
|
|
85
|
+
{ title: 'Spanish', label: 'Español', local: 'es', SVGFlag: Spanish },
|
|
86
|
+
{ title: 'Swahili', label: 'Kiswahili', local: 'sw', SVGFlag: Swahili },
|
|
87
|
+
{ title: 'Swedish', label: 'Svenska', local: 'sv', SVGFlag: Swedish },
|
|
88
|
+
{ title: 'Thai', label: 'แบบไทย', local: 'th', SVGFlag: Thai },
|
|
89
|
+
{ title: 'Turkish', label: 'Türkçe', local: 'tr', SVGFlag: Turkish },
|
|
90
|
+
{ title: 'Ukrainian', label: 'Yкраїні', local: 'uk', SVGFlag: Ukrainian },
|
|
91
|
+
{ title: 'Urdu', label: 'اردو', local: 'ur', SVGFlag: Pakistan },
|
|
92
|
+
{
|
|
93
|
+
title: 'Vietnamese',
|
|
94
|
+
label: 'Tiếng Việt',
|
|
95
|
+
local: 'vi',
|
|
96
|
+
SVGFlag: Vietnamese,
|
|
97
|
+
},
|
|
44
98
|
];
|
|
45
99
|
|
|
46
100
|
export const DEFAULT_LANGUAGE = 'en';
|