@rango-dev/widget-embedded 0.1.16-next.14 → 0.1.16-next.16

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.1.16-next.14",
3
+ "version": "0.1.16-next.16",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -24,13 +24,13 @@
24
24
  "trailingComma": "es5"
25
25
  },
26
26
  "dependencies": {
27
- "@rango-dev/provider-all": "^0.1.14-next.13",
27
+ "@rango-dev/provider-all": "^0.1.14-next.14",
28
28
  "@rango-dev/queue-manager-core": "^0.1.13-next.15",
29
- "@rango-dev/queue-manager-rango-preset": "^0.1.13-next.13",
29
+ "@rango-dev/queue-manager-rango-preset": "^0.1.13-next.14",
30
30
  "@rango-dev/queue-manager-react": "^0.1.12-next.13",
31
- "@rango-dev/ui": "^0.1.14-next.7",
32
- "@rango-dev/wallets-core": "^0.1.14-next.13",
33
- "@rango-dev/wallets-shared": "^0.1.13-next.15",
31
+ "@rango-dev/ui": "^0.1.14-next.9",
32
+ "@rango-dev/wallets-core": "^0.1.14-next.14",
33
+ "@rango-dev/wallets-shared": "^0.1.13-next.16",
34
34
  "bignumber.js": "^9.1.1",
35
35
  "copy-to-clipboard": "^3.3.3",
36
36
  "dayjs": "^1.11.7",
@@ -40,8 +40,8 @@
40
40
  "immer": "^9.0.19",
41
41
  "mitt": "^3.0.0",
42
42
  "parcel": "^2.8.0",
43
- "rango-sdk": "^0.1.26",
44
- "rango-types": "^0.1.31",
43
+ "rango-sdk": "^0.1.27",
44
+ "rango-types": "^0.1.32",
45
45
  "react": "^18.2.0",
46
46
  "react-dom": "^18.2.0",
47
47
  "react-i18next": "^12.2.0",
@@ -7,7 +7,7 @@ import usePrevious from './usePrevious';
7
7
 
8
8
  export function useTheme({
9
9
  colors: themeColors,
10
- fontFamily = 'Robot',
10
+ fontFamily = 'Roboto',
11
11
  borderRadius = 8,
12
12
  mode = 'auto',
13
13
  }: WidgetTheme) {
@@ -42,7 +42,7 @@ export function useTheme({
42
42
  foreground,
43
43
  };
44
44
 
45
- const customeLightTheme = createTheme({
45
+ const customLightTheme = createTheme({
46
46
  colors: lightColors,
47
47
  radii: {
48
48
  5: `${borderRadius}px`,
@@ -54,7 +54,7 @@ export function useTheme({
54
54
  },
55
55
  });
56
56
 
57
- const customeDarkTheme = createTheme({
57
+ const customDarkTheme = createTheme({
58
58
  colors: {
59
59
  ...lightColors,
60
60
  ...generateRangeColors('neutral', 'dark', '#111111'),
@@ -114,8 +114,8 @@ export function useTheme({
114
114
 
115
115
  const getActiveTheme = () => {
116
116
  if (theme === 'auto')
117
- return OSTheme === 'dark' ? customeDarkTheme : customeLightTheme;
118
- else return theme === 'dark' ? customeDarkTheme : customeLightTheme;
117
+ return OSTheme === 'dark' ? customDarkTheme : customLightTheme;
118
+ else return theme === 'dark' ? customDarkTheme : customLightTheme;
119
119
  };
120
120
 
121
121
  return { activeTheme: getActiveTheme() };