@rango-dev/widget-embedded 0.34.1-next.4 → 0.34.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.34.1-next.4",
3
+ "version": "0.34.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -25,12 +25,12 @@
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.1-next.0",
28
+ "@rango-dev/provider-all": "^0.38.2",
29
29
  "@rango-dev/queue-manager-core": "^0.27.0",
30
30
  "@rango-dev/queue-manager-rango-preset": "^0.38.0",
31
31
  "@rango-dev/queue-manager-react": "^0.27.0",
32
32
  "@rango-dev/signer-solana": "^0.33.0",
33
- "@rango-dev/ui": "^0.40.1-next.3",
33
+ "@rango-dev/ui": "^0.40.0",
34
34
  "@rango-dev/wallets-core": "^0.39.0",
35
35
  "@rango-dev/wallets-react": "^0.24.0",
36
36
  "@rango-dev/wallets-shared": "^0.38.0",
@@ -1,40 +1,21 @@
1
1
  import type { FlagPropTypes, Language } from '@rango-dev/ui';
2
2
 
3
3
  import {
4
- Bengali,
5
- Catalonia,
6
4
  Chinese,
7
- Denmark,
8
5
  English,
9
6
  Finland,
10
7
  French,
11
8
  German,
12
9
  Greece,
13
- Hungary,
14
- India,
15
- Indonesian,
16
10
  Italian,
17
11
  Japanese,
18
- Korea,
19
- Lithuania,
20
- Malay,
21
12
  Netherlands,
22
- Pakistan,
23
- Philippines,
24
13
  Poland,
25
14
  Portuguese,
26
15
  Russian,
27
- SaudiArabia,
28
- Serbia,
29
- Slovakia,
30
- SouthAfrica,
31
16
  Spanish,
32
- Swahili,
33
17
  Swedish,
34
- Thai,
35
- Turkish,
36
18
  Ukrainian,
37
- Vietnamese,
38
19
  } from '@rango-dev/ui';
39
20
 
40
21
  export type LanguageItem = {
@@ -45,56 +26,21 @@ export type LanguageItem = {
45
26
  };
46
27
 
47
28
  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 },
66
29
  { title: 'English', label: 'English', local: 'en', SVGFlag: English },
67
- { title: 'Filipino', label: 'Filipino', local: 'fil', SVGFlag: Philippines },
68
- { title: 'Finnish', label: 'Suomalainen', local: 'fi', SVGFlag: Finland },
30
+ { title: 'Spanish', label: 'Español', local: 'es', SVGFlag: Spanish },
69
31
  { title: 'French', label: 'Français', local: 'fr', SVGFlag: French },
70
- { title: 'German', label: 'Deutsch', local: 'de', SVGFlag: German },
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 },
75
- { title: 'Italian', label: 'Italiana', local: 'it', SVGFlag: Italian },
76
32
  { 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 },
80
- { title: 'Polish', label: 'Polski', local: 'pl', SVGFlag: Poland },
81
33
  { title: 'Portuguese', label: 'Português', local: 'pt', SVGFlag: Portuguese },
34
+ { title: 'Chinese', label: '中国人', local: 'zh', SVGFlag: Chinese },
82
35
  { 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
- },
36
+ { title: 'German', label: 'Deutsch', local: 'de', SVGFlag: German },
37
+ { title: 'Ukrainian', label: 'Україні', local: 'uk', SVGFlag: Ukrainian },
38
+ { title: 'Swedish', label: 'svenska', local: 'sv', SVGFlag: Swedish },
39
+ { title: 'Finnish', label: 'Suomalainen', local: 'fi', SVGFlag: Finland },
40
+ { title: 'Dutch', label: 'Nederlands', local: 'nl', SVGFlag: Netherlands },
41
+ { title: 'Greek', label: 'Grieks', local: 'el', SVGFlag: Greece },
42
+ { title: 'Italian', label: 'Italiana', local: 'it', SVGFlag: Italian },
43
+ { title: 'Polish', label: 'Polski', local: 'pl', SVGFlag: Poland },
98
44
  ];
99
45
 
100
46
  export const DEFAULT_LANGUAGE = 'en';