@lifi/widget 2.6.3 → 2.7.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/AppDrawer.js +1 -1
- package/cjs/AppDrawer.js +1 -1
- package/cjs/components/AppContainer.js +1 -1
- package/cjs/components/SelectTokenButton/SelectTokenButton.style.js +7 -1
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/components/AppContainer.js +1 -1
- package/components/SelectTokenButton/SelectTokenButton.style.js +7 -1
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/package.json +4 -4
- package/tsconfig.cjs.tsbuildinfo +1 -1
package/AppDrawer.js
CHANGED
|
@@ -43,7 +43,7 @@ export const AppDrawer = forwardRef(({ elementRef, open, integrator, config }, r
|
|
|
43
43
|
}, PaperProps: {
|
|
44
44
|
sx: {
|
|
45
45
|
width: config?.containerStyle?.width ?? '100%',
|
|
46
|
-
minWidth: config?.containerStyle?.minWidth ??
|
|
46
|
+
minWidth: config?.containerStyle?.minWidth ?? 360,
|
|
47
47
|
maxWidth: config?.containerStyle?.maxWidth ?? 392,
|
|
48
48
|
},
|
|
49
49
|
}, keepMounted: true, children: [_jsx(CloseButtonLayout, { onClick: closeDrawer, edge: "end", children: _jsx(CloseIcon, {}) }), _jsx(AppDefault, {})] })] }));
|
package/cjs/AppDrawer.js
CHANGED
|
@@ -46,7 +46,7 @@ exports.AppDrawer = (0, react_1.forwardRef)(({ elementRef, open, integrator, con
|
|
|
46
46
|
}, PaperProps: {
|
|
47
47
|
sx: {
|
|
48
48
|
width: config?.containerStyle?.width ?? '100%',
|
|
49
|
-
minWidth: config?.containerStyle?.minWidth ??
|
|
49
|
+
minWidth: config?.containerStyle?.minWidth ?? 360,
|
|
50
50
|
maxWidth: config?.containerStyle?.maxWidth ?? 392,
|
|
51
51
|
},
|
|
52
52
|
}, keepMounted: true, children: [(0, jsx_runtime_1.jsx)(AppDrawer_style_1.CloseButtonLayout, { onClick: closeDrawer, edge: "end", children: (0, jsx_runtime_1.jsx)(CloseRounded_1.default, {}) }), (0, jsx_runtime_1.jsx)(App_1.AppDefault, {})] })] }));
|
|
@@ -22,7 +22,7 @@ const RelativeContainer = (0, styles_1.styled)(material_1.Box, {
|
|
|
22
22
|
position: 'relative',
|
|
23
23
|
boxSizing: 'content-box',
|
|
24
24
|
width: '100%',
|
|
25
|
-
minWidth:
|
|
25
|
+
minWidth: 360,
|
|
26
26
|
maxWidth: 392,
|
|
27
27
|
maxHeight: variant === 'drawer' ? 'none' : exports.maxHeight,
|
|
28
28
|
background: theme.palette.background.default,
|
|
@@ -15,14 +15,20 @@ exports.SelectTokenCardHeader = (0, styles_1.styled)(Card_1.CardHeader, {
|
|
|
15
15
|
textOverflow: 'ellipsis',
|
|
16
16
|
whiteSpace: 'nowrap',
|
|
17
17
|
overflow: 'hidden',
|
|
18
|
-
width: compact ?
|
|
18
|
+
width: compact ? 92 : 256,
|
|
19
19
|
fontWeight: selected ? 500 : 400,
|
|
20
20
|
fontSize: compact && !selected ? '1rem' : '1.125rem',
|
|
21
|
+
[theme.breakpoints.down(392)]: {
|
|
22
|
+
width: compact ? 92 : 224,
|
|
23
|
+
},
|
|
21
24
|
},
|
|
22
25
|
[`.${CardHeader_1.cardHeaderClasses.subheader}`]: {
|
|
23
26
|
textOverflow: 'ellipsis',
|
|
24
27
|
whiteSpace: 'nowrap',
|
|
25
28
|
overflow: 'hidden',
|
|
26
29
|
width: compact ? 92 : 256,
|
|
30
|
+
[theme.breakpoints.down(392)]: {
|
|
31
|
+
width: compact ? 92 : 224,
|
|
32
|
+
},
|
|
27
33
|
},
|
|
28
34
|
}));
|
package/cjs/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "2.
|
|
2
|
+
export declare const version = "2.7.1";
|
package/cjs/config/version.js
CHANGED
|
@@ -19,7 +19,7 @@ const RelativeContainer = styled(Box, {
|
|
|
19
19
|
position: 'relative',
|
|
20
20
|
boxSizing: 'content-box',
|
|
21
21
|
width: '100%',
|
|
22
|
-
minWidth:
|
|
22
|
+
minWidth: 360,
|
|
23
23
|
maxWidth: 392,
|
|
24
24
|
maxHeight: variant === 'drawer' ? 'none' : maxHeight,
|
|
25
25
|
background: theme.palette.background.default,
|
|
@@ -12,14 +12,20 @@ export const SelectTokenCardHeader = styled(CardHeader, {
|
|
|
12
12
|
textOverflow: 'ellipsis',
|
|
13
13
|
whiteSpace: 'nowrap',
|
|
14
14
|
overflow: 'hidden',
|
|
15
|
-
width: compact ?
|
|
15
|
+
width: compact ? 92 : 256,
|
|
16
16
|
fontWeight: selected ? 500 : 400,
|
|
17
17
|
fontSize: compact && !selected ? '1rem' : '1.125rem',
|
|
18
|
+
[theme.breakpoints.down(392)]: {
|
|
19
|
+
width: compact ? 92 : 224,
|
|
20
|
+
},
|
|
18
21
|
},
|
|
19
22
|
[`.${cardHeaderClasses.subheader}`]: {
|
|
20
23
|
textOverflow: 'ellipsis',
|
|
21
24
|
whiteSpace: 'nowrap',
|
|
22
25
|
overflow: 'hidden',
|
|
23
26
|
width: compact ? 92 : 256,
|
|
27
|
+
[theme.breakpoints.down(392)]: {
|
|
28
|
+
width: compact ? 92 : 224,
|
|
29
|
+
},
|
|
24
30
|
},
|
|
25
31
|
}));
|
package/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "2.
|
|
2
|
+
export declare const version = "2.7.1";
|
package/config/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = '@lifi/widget';
|
|
2
|
-
export const version = '2.
|
|
2
|
+
export const version = '2.7.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/widget",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"@ethersproject/experimental": "^5.7.0",
|
|
45
45
|
"@ethersproject/providers": "^5.7.2",
|
|
46
46
|
"@lifi/sdk": "^2.4.3",
|
|
47
|
-
"@lifi/wallet-management": "^2.
|
|
47
|
+
"@lifi/wallet-management": "^2.4.1",
|
|
48
48
|
"@mui/icons-material": "^5.14.14",
|
|
49
49
|
"@mui/lab": "^5.0.0-alpha.149",
|
|
50
50
|
"@mui/material": "^5.14.14",
|
|
51
51
|
"@tanstack/react-query": "^4.36.1",
|
|
52
|
-
"@tanstack/react-virtual": "^3.0.0-beta.
|
|
52
|
+
"@tanstack/react-virtual": "^3.0.0-beta.66",
|
|
53
53
|
"big.js": "^6.2.1",
|
|
54
|
-
"i18next": "^23.
|
|
54
|
+
"i18next": "^23.6.0",
|
|
55
55
|
"i18next-browser-languagedetector": "^7.1.0",
|
|
56
56
|
"microdiff": "^1.3.2",
|
|
57
57
|
"mitt": "^3.0.1",
|