@lifi/widget 3.0.0-alpha.6 → 3.0.0-alpha.7

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.
Files changed (47) hide show
  1. package/_cjs/config/version.d.ts +1 -1
  2. package/_cjs/config/version.js +1 -1
  3. package/_esm/AppDrawer.js +3 -3
  4. package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +3 -3
  5. package/_esm/components/GasMessage/FundsSufficiencyMessage.js +1 -1
  6. package/_esm/components/GasMessage/GasRefuelMessage.js +1 -1
  7. package/_esm/components/GasMessage/GasSufficiencyMessage.js +1 -1
  8. package/_esm/components/Header/NavigationHeader.js +2 -2
  9. package/_esm/components/Header/SettingsButton.js +1 -1
  10. package/_esm/components/Header/WalletHeader.js +2 -2
  11. package/_esm/components/Header/WalletMenu.js +3 -3
  12. package/_esm/components/Insurance/InsuranceCard.js +3 -3
  13. package/_esm/components/NotFound.js +1 -1
  14. package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +2 -2
  15. package/_esm/components/RouteCard/RouteCard.js +3 -3
  16. package/_esm/components/RouteCard/RouteCardEssentials.js +4 -4
  17. package/_esm/components/RouteCard/RouteNotFoundCard.js +1 -1
  18. package/_esm/components/SendToWallet/SendToWalletButton.js +1 -1
  19. package/_esm/components/Step/CircularProgress.js +4 -4
  20. package/_esm/components/Step/DestinationWalletAddress.js +2 -2
  21. package/_esm/components/Step/GasStepProcess.js +1 -1
  22. package/_esm/components/Step/StepProcess.js +1 -1
  23. package/_esm/components/StepActions/StepActions.js +3 -3
  24. package/_esm/components/TokenList/TokenListItem.js +1 -1
  25. package/_esm/components/TokenList/TokenNotFound.js +1 -1
  26. package/_esm/config/version.d.ts +1 -1
  27. package/_esm/config/version.js +1 -1
  28. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +1 -1
  29. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +1 -1
  30. package/_esm/pages/LanguagesPage/LanguagesPage.js +1 -1
  31. package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +4 -4
  32. package/_esm/pages/SelectTokenPage/SearchTokenInput.js +1 -1
  33. package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +2 -2
  34. package/_esm/pages/SettingsPage/GasPriceSettings.js +1 -1
  35. package/_esm/pages/SettingsPage/LanguageSetting.js +1 -1
  36. package/_esm/pages/SettingsPage/ResetSettingsButton.js +1 -1
  37. package/_esm/pages/SettingsPage/RoutePrioritySettings.js +1 -1
  38. package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +1 -1
  39. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +2 -2
  40. package/_esm/pages/SettingsPage/ThemeSettings.js +5 -5
  41. package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +1 -1
  42. package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +1 -1
  43. package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +1 -1
  44. package/_esm/pages/TransactionPage/StatusBottomSheet.js +4 -4
  45. package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +1 -1
  46. package/_esm/pages/TransactionPage/TransactionPage.js +1 -1
  47. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@lifi/widget";
2
- export declare const version = "3.0.0-alpha.6";
2
+ export declare const version = "3.0.0-alpha.7";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = exports.name = void 0;
4
4
  exports.name = '@lifi/widget';
5
- exports.version = '3.0.0-alpha.6';
5
+ exports.version = '3.0.0-alpha.7';
package/_esm/AppDrawer.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as CloseIcon } from '@mui/icons-material/CloseRounded';
3
- import { default as KeyboardArrowLeftIcon } from '@mui/icons-material/KeyboardArrowLeft';
4
- import { default as KeyboardArrowRightIcon } from '@mui/icons-material/KeyboardArrowRight';
2
+ import CloseIcon from '@mui/icons-material/esm/CloseRounded';
3
+ import KeyboardArrowLeftIcon from '@mui/icons-material/esm/KeyboardArrowLeft';
4
+ import KeyboardArrowRightIcon from '@mui/icons-material/esm/KeyboardArrowRight';
5
5
  import { Drawer } from '@mui/material';
6
6
  import { forwardRef, useCallback, useImperativeHandle, useMemo, useRef, useState, } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as ArrowForwardIcon } from '@mui/icons-material/ArrowForward';
3
- import { default as ErrorRoundedIcon } from '@mui/icons-material/ErrorRounded';
4
- import { default as InfoRoundedIcon } from '@mui/icons-material/InfoRounded';
2
+ import ArrowForwardIcon from '@mui/icons-material/esm/ArrowForward';
3
+ import ErrorRoundedIcon from '@mui/icons-material/esm/ErrorRounded';
4
+ import InfoRoundedIcon from '@mui/icons-material/esm/InfoRounded';
5
5
  import { ListItemAvatar, ListItemText, Typography } from '@mui/material';
6
6
  import { useNavigate } from 'react-router-dom';
7
7
  import { useProcessMessage, useRouteExecution } from '../../hooks';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as WarningRoundedIcon } from '@mui/icons-material/WarningRounded';
2
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
3
3
  import { Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { WarningMessageCard, WarningMessageCardTitle, } from './GasMessage.style';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as EvStationIcon } from '@mui/icons-material/EvStation';
2
+ import EvStationIcon from '@mui/icons-material/esm/EvStation';
3
3
  import { Box, Collapse, Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { useGasRefuel } from '../../hooks';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as EvStationIcon } from '@mui/icons-material/EvStation';
2
+ import EvStationIcon from '@mui/icons-material/esm/EvStation';
3
3
  import { Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { formatUnits } from 'viem';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { default as ArrowBackIcon } from '@mui/icons-material/ArrowBack';
3
- import { default as ReceiptLongIcon } from '@mui/icons-material/ReceiptLong';
2
+ import ArrowBackIcon from '@mui/icons-material/esm/ArrowBack';
3
+ import ReceiptLongIcon from '@mui/icons-material/esm/ReceiptLong';
4
4
  import { Box, Tooltip, Typography } from '@mui/material';
5
5
  import IconButton from '@mui/material/IconButton';
6
6
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { default as SettingsIcon } from '@mui/icons-material/Settings';
2
+ import SettingsIcon from '@mui/icons-material/esm/Settings';
3
3
  import { Tooltip } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { useNavigateBack, useSettingMonitor } from '../../hooks';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as ExpandMoreIcon } from '@mui/icons-material/ExpandMore';
3
- import { default as WalletIcon } from '@mui/icons-material/Wallet';
2
+ import ExpandMoreIcon from '@mui/icons-material/esm/ExpandMore';
3
+ import WalletIcon from '@mui/icons-material/esm/Wallet';
4
4
  import { Avatar, Badge } from '@mui/material';
5
5
  import { useState } from 'react';
6
6
  import { useTranslation } from 'react-i18next';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ChainType } from '@lifi/sdk';
3
- import { default as ContentCopyIcon } from '@mui/icons-material/ContentCopyRounded';
4
- import { default as OpenInNewIcon } from '@mui/icons-material/OpenInNewRounded';
5
- import { default as PowerSettingsNewIcon } from '@mui/icons-material/PowerSettingsNewRounded';
3
+ import ContentCopyIcon from '@mui/icons-material/esm/ContentCopyRounded';
4
+ import OpenInNewIcon from '@mui/icons-material/esm/OpenInNewRounded';
5
+ import PowerSettingsNewIcon from '@mui/icons-material/esm/PowerSettingsNewRounded';
6
6
  import { Avatar, Badge, Box, Button, IconButton, MenuItem, } from '@mui/material';
7
7
  import { useWallet } from '@solana/wallet-adapter-react';
8
8
  import { useTranslation } from 'react-i18next';
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as ExpandLessIcon } from '@mui/icons-material/ExpandLess';
3
- import { default as ExpandMoreIcon } from '@mui/icons-material/ExpandMore';
4
- import { default as VerifiedUserIcon } from '@mui/icons-material/VerifiedUser';
2
+ import ExpandLessIcon from '@mui/icons-material/esm/ExpandLess';
3
+ import ExpandMoreIcon from '@mui/icons-material/esm/ExpandMore';
4
+ import VerifiedUserIcon from '@mui/icons-material/esm/VerifiedUser';
5
5
  import { Box, Collapse, Link, Typography } from '@mui/material';
6
6
  import { useState } from 'react';
7
7
  import { Trans, useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as BlockIcon } from '@mui/icons-material/Block';
2
+ import BlockIcon from '@mui/icons-material/esm/Block';
3
3
  import { Box, Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  export const NotFound = () => {
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { default as SwapHorizIcon } from '@mui/icons-material/SwapHoriz';
3
- import { default as SwapVertIcon } from '@mui/icons-material/SwapVert';
2
+ import SwapHorizIcon from '@mui/icons-material/esm/SwapHoriz';
3
+ import SwapVertIcon from '@mui/icons-material/esm/SwapVert';
4
4
  import { useFormContext } from 'react-hook-form';
5
5
  import { FormKey } from '../../providers';
6
6
  import { IconButton } from './ReverseTokensButton.style';
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as ExpandLessIcon } from '@mui/icons-material/ExpandLess';
3
- import { default as ExpandMoreIcon } from '@mui/icons-material/ExpandMore';
4
- import { default as VerifiedUserIcon } from '@mui/icons-material/VerifiedUser';
2
+ import ExpandLessIcon from '@mui/icons-material/esm/ExpandLess';
3
+ import ExpandMoreIcon from '@mui/icons-material/esm/ExpandMore';
4
+ import VerifiedUserIcon from '@mui/icons-material/esm/VerifiedUser';
5
5
  import { Box, Collapse, Tooltip, Typography } from '@mui/material';
6
6
  import { Fragment, useState } from 'react';
7
7
  import { Trans, useTranslation } from 'react-i18next';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as AccessTimeIcon } from '@mui/icons-material/AccessTimeFilled';
3
- import { default as EvStationIcon } from '@mui/icons-material/EvStation';
4
- import { default as LayersIcon } from '@mui/icons-material/Layers';
5
- import { default as MonetizationOnIcon } from '@mui/icons-material/MonetizationOn';
2
+ import AccessTimeIcon from '@mui/icons-material/esm/AccessTimeFilled';
3
+ import EvStationIcon from '@mui/icons-material/esm/EvStation';
4
+ import LayersIcon from '@mui/icons-material/esm/Layers';
5
+ import MonetizationOnIcon from '@mui/icons-material/esm/MonetizationOn';
6
6
  import { Box, Tooltip, Typography } from '@mui/material';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { formatUnits } from 'viem';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as RouteIcon } from '@mui/icons-material/Route';
2
+ import RouteIcon from '@mui/icons-material/esm/Route';
3
3
  import { Box, Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  export const RouteNotFoundCard = () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { default as WalletIcon } from '@mui/icons-material/Wallet';
2
+ import WalletIcon from '@mui/icons-material/esm/Wallet';
3
3
  import Button from '@mui/material/Button';
4
4
  import Tooltip from '@mui/material/Tooltip';
5
5
  import { useFormContext } from 'react-hook-form';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as DoneIcon } from '@mui/icons-material/Done';
3
- import { default as ErrorRoundedIcon } from '@mui/icons-material/ErrorRounded';
4
- import { default as InfoRoundedIcon } from '@mui/icons-material/InfoRounded';
5
- import { default as WarningRoundedIcon } from '@mui/icons-material/WarningRounded';
2
+ import DoneIcon from '@mui/icons-material/esm/Done';
3
+ import ErrorRoundedIcon from '@mui/icons-material/esm/ErrorRounded';
4
+ import InfoRoundedIcon from '@mui/icons-material/esm/InfoRounded';
5
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
6
6
  import { darken } from '@mui/material/styles';
7
7
  import { CircularIcon, CircularProgressPending, } from './CircularProgress.style';
8
8
  export function CircularProgress({ process }) {
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as LinkRoundedIcon } from '@mui/icons-material/LinkRounded';
3
- import { default as WalletIcon } from '@mui/icons-material/Wallet';
2
+ import LinkRoundedIcon from '@mui/icons-material/esm/LinkRounded';
3
+ import WalletIcon from '@mui/icons-material/esm/Wallet';
4
4
  import { Box, Link, Typography } from '@mui/material';
5
5
  import { useTranslation } from 'react-i18next';
6
6
  import { CircularIcon } from './CircularProgress.style';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as EvStationIcon } from '@mui/icons-material/EvStation';
2
+ import EvStationIcon from '@mui/icons-material/esm/EvStation';
3
3
  import { Box, Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { CircularIcon } from './CircularProgress.style';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as LinkRoundedIcon } from '@mui/icons-material/LinkRounded';
2
+ import LinkRoundedIcon from '@mui/icons-material/esm/LinkRounded';
3
3
  import { Box, Link, Typography } from '@mui/material';
4
4
  import { useProcessMessage } from '../../hooks';
5
5
  import { CircularProgress } from './CircularProgress';
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { default as ArrowForwardIcon } from '@mui/icons-material/ArrowForward';
3
- import { default as ExpandLessIcon } from '@mui/icons-material/ExpandLess';
4
- import { default as ExpandMoreIcon } from '@mui/icons-material/ExpandMore';
2
+ import ArrowForwardIcon from '@mui/icons-material/esm/ArrowForward';
3
+ import ExpandLessIcon from '@mui/icons-material/esm/ExpandLess';
4
+ import ExpandMoreIcon from '@mui/icons-material/esm/ExpandMore';
5
5
  import { Badge, Box, Collapse, Step as MuiStep, Stepper, Typography, } from '@mui/material';
6
6
  import { useState } from 'react';
7
7
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as OpenInNewIcon } from '@mui/icons-material/OpenInNewRounded';
2
+ import OpenInNewIcon from '@mui/icons-material/esm/OpenInNewRounded';
3
3
  import { Avatar, Box, Link, ListItemAvatar, ListItemText, Skeleton, Slide, Typography, } from '@mui/material';
4
4
  import { useRef, useState } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as SearchOffIcon } from '@mui/icons-material/SearchOff';
2
+ import SearchOffIcon from '@mui/icons-material/esm/SearchOff';
3
3
  import { Box, Typography } from '@mui/material';
4
4
  import { useWatch } from 'react-hook-form';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@lifi/widget";
2
- export declare const version = "3.0.0-alpha.6";
2
+ export declare const version = "3.0.0-alpha.7";
@@ -1,2 +1,2 @@
1
1
  export const name = '@lifi/widget';
2
- export const version = '3.0.0-alpha.6';
2
+ export const version = '3.0.0-alpha.7';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as SwapHorizIcon } from '@mui/icons-material/SwapHoriz';
2
+ import SwapHorizIcon from '@mui/icons-material/esm/SwapHoriz';
3
3
  import { Container, Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  export const ActiveTransactionsEmpty = () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as DeleteIcon } from '@mui/icons-material/DeleteOutline';
2
+ import DeleteIcon from '@mui/icons-material/esm/DeleteOutline';
3
3
  import { Button, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, IconButton, List, } from '@mui/material';
4
4
  import { useCallback, useEffect, useState } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as CheckIcon } from '@mui/icons-material/Check';
2
+ import CheckIcon from '@mui/icons-material/esm/Check';
3
3
  import { Container, List } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { ListItemText } from '../../components/ListItemText';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as CheckIcon } from '@mui/icons-material/Check';
3
- import { default as CheckBoxOutlineBlankOutlinedIcon } from '@mui/icons-material/CheckBoxOutlineBlankOutlined';
4
- import { default as CheckBoxOutlinedIcon } from '@mui/icons-material/CheckBoxOutlined';
5
- import { default as IndeterminateCheckBoxOutlinedIcon } from '@mui/icons-material/IndeterminateCheckBoxOutlined';
2
+ import CheckIcon from '@mui/icons-material/esm/Check';
3
+ import CheckBoxOutlineBlankOutlinedIcon from '@mui/icons-material/esm/CheckBoxOutlineBlankOutlined';
4
+ import CheckBoxOutlinedIcon from '@mui/icons-material/esm/CheckBoxOutlined';
5
+ import IndeterminateCheckBoxOutlinedIcon from '@mui/icons-material/esm/IndeterminateCheckBoxOutlined';
6
6
  import { Avatar, Container, IconButton, List, ListItemAvatar, Tooltip, } from '@mui/material';
7
7
  import { useEffect } from 'react';
8
8
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { default as SearchIcon } from '@mui/icons-material/Search';
2
+ import SearchIcon from '@mui/icons-material/esm/Search';
3
3
  import { FormControl, InputAdornment } from '@mui/material';
4
4
  import { useEffect } from 'react';
5
5
  import { useFormContext } from 'react-hook-form';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { default as AirlineStopsIcon } from '@mui/icons-material/AirlineStops';
3
- import { default as SwapHorizIcon } from '@mui/icons-material/SwapHoriz';
2
+ import AirlineStopsIcon from '@mui/icons-material/esm/AirlineStops';
3
+ import SwapHorizIcon from '@mui/icons-material/esm/SwapHoriz';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { useNavigate } from 'react-router-dom';
6
6
  import { shallow } from 'zustand/shallow';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as EvStationIcon } from '@mui/icons-material/EvStation';
2
+ import EvStationIcon from '@mui/icons-material/esm/EvStation';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { Tab, Tabs } from '../../components/Tabs';
5
5
  import { useSettingMonitor } from '../../hooks';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { default as LanguageIcon } from '@mui/icons-material/Language';
2
+ import LanguageIcon from '@mui/icons-material/esm/Language';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useNavigate } from 'react-router-dom';
5
5
  import { useLanguages } from '../../hooks';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as InfoRounded } from '@mui/icons-material/InfoRounded';
2
+ import InfoRounded from '@mui/icons-material/esm/InfoRounded';
3
3
  import { Box, Button, DialogActions, DialogContent, DialogContentText, DialogTitle, } from '@mui/material';
4
4
  import { useCallback, useState } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Orders } from '@lifi/sdk';
3
- import { default as RouteIcon } from '@mui/icons-material/Route';
3
+ import RouteIcon from '@mui/icons-material/esm/Route';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { Tab, Tabs } from '../../components/Tabs';
6
6
  import { useSettingMonitor } from '../../hooks';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as WalletIcon } from '@mui/icons-material/Wallet';
2
+ import WalletIcon from '@mui/icons-material/esm/Wallet';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { Switch } from '../../components/Switch';
5
5
  import { useWidgetConfig } from '../../providers';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as PercentIcon } from '@mui/icons-material/Percent';
3
- import { default as WarningRoundedIcon } from '@mui/icons-material/WarningRounded';
2
+ import PercentIcon from '@mui/icons-material/esm/Percent';
3
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
4
4
  import { Box, Typography } from '@mui/material';
5
5
  import { useRef, useState } from 'react';
6
6
  import { useTranslation } from 'react-i18next';
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as BrightnessAuto } from '@mui/icons-material/BrightnessAuto';
3
- import { default as LightModeIcon } from '@mui/icons-material/LightMode';
4
- import { default as Nightlight } from '@mui/icons-material/Nightlight';
2
+ import BrightnessAutoIcon from '@mui/icons-material/esm/BrightnessAuto';
3
+ import LightModeIcon from '@mui/icons-material/esm/LightMode';
4
+ import NightlightIcon from '@mui/icons-material/esm/Nightlight';
5
5
  import { Tooltip } from '@mui/material';
6
6
  import { useTranslation } from 'react-i18next';
7
7
  import { Tab, Tabs } from '../../components/Tabs';
@@ -11,8 +11,8 @@ import { HiddenUI } from '../../types';
11
11
  import { SettingCardExpandable, SummaryValue } from './SettingsCard';
12
12
  const themeIcons = {
13
13
  light: LightModeIcon,
14
- dark: Nightlight,
15
- auto: BrightnessAuto,
14
+ dark: NightlightIcon,
15
+ auto: BrightnessAutoIcon,
16
16
  };
17
17
  // If the Tab is not the direct child of the Tabs component you can loose the switching
18
18
  // The component passes the props to the Tab component so switching isn't lost
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as ContentCopyIcon } from '@mui/icons-material/ContentCopyRounded';
2
+ import ContentCopyIcon from '@mui/icons-material/esm/ContentCopyRounded';
3
3
  import { Box, IconButton, Typography } from '@mui/material';
4
4
  import { useEffect, useMemo } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as ReceiptLongRoundedIcon } from '@mui/icons-material/ReceiptLongRounded';
2
+ import ReceiptLongRoundedIcon from '@mui/icons-material/esm/ReceiptLongRounded';
3
3
  import { Container, Typography } from '@mui/material';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  export const TransactionHistoryEmpty = () => {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as WarningRoundedIcon } from '@mui/icons-material/WarningRounded';
2
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
3
3
  import { Box, Button, Typography } from '@mui/material';
4
4
  import { forwardRef, useCallback, useImperativeHandle, useRef, useState, } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as DoneIcon } from '@mui/icons-material/Done';
3
- import { default as ErrorRoundedIcon } from '@mui/icons-material/ErrorRounded';
4
- import { default as InfoRoundedIcon } from '@mui/icons-material/InfoRounded';
5
- import { default as WarningRoundedIcon } from '@mui/icons-material/WarningRounded';
2
+ import DoneIcon from '@mui/icons-material/esm/Done';
3
+ import ErrorRoundedIcon from '@mui/icons-material/esm/ErrorRounded';
4
+ import InfoRoundedIcon from '@mui/icons-material/esm/InfoRounded';
5
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
6
6
  import { Box, Button, Typography } from '@mui/material';
7
7
  import { useEffect, useRef } from 'react';
8
8
  import { useFormContext } from 'react-hook-form';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { default as WarningRoundedIcon } from '@mui/icons-material/WarningRounded';
2
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
3
3
  import { Box, Button, Typography } from '@mui/material';
4
4
  import { forwardRef, useRef } from 'react';
5
5
  import { useTranslation } from 'react-i18next';
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { default as DeleteIcon } from '@mui/icons-material/Delete';
2
+ import DeleteIcon from '@mui/icons-material/esm/Delete';
3
3
  import { Box, Button, Tooltip } from '@mui/material';
4
4
  import { useEffect, useRef, useState } from 'react';
5
5
  import { useFormContext } from 'react-hook-form';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/widget",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.7",
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
  "type": "module",
6
6
  "main": "./_cjs/index.js",