@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.
- package/_cjs/config/version.d.ts +1 -1
- package/_cjs/config/version.js +1 -1
- package/_esm/AppDrawer.js +3 -3
- package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +3 -3
- package/_esm/components/GasMessage/FundsSufficiencyMessage.js +1 -1
- package/_esm/components/GasMessage/GasRefuelMessage.js +1 -1
- package/_esm/components/GasMessage/GasSufficiencyMessage.js +1 -1
- package/_esm/components/Header/NavigationHeader.js +2 -2
- package/_esm/components/Header/SettingsButton.js +1 -1
- package/_esm/components/Header/WalletHeader.js +2 -2
- package/_esm/components/Header/WalletMenu.js +3 -3
- package/_esm/components/Insurance/InsuranceCard.js +3 -3
- package/_esm/components/NotFound.js +1 -1
- package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +2 -2
- package/_esm/components/RouteCard/RouteCard.js +3 -3
- package/_esm/components/RouteCard/RouteCardEssentials.js +4 -4
- package/_esm/components/RouteCard/RouteNotFoundCard.js +1 -1
- package/_esm/components/SendToWallet/SendToWalletButton.js +1 -1
- package/_esm/components/Step/CircularProgress.js +4 -4
- package/_esm/components/Step/DestinationWalletAddress.js +2 -2
- package/_esm/components/Step/GasStepProcess.js +1 -1
- package/_esm/components/Step/StepProcess.js +1 -1
- package/_esm/components/StepActions/StepActions.js +3 -3
- package/_esm/components/TokenList/TokenListItem.js +1 -1
- package/_esm/components/TokenList/TokenNotFound.js +1 -1
- package/_esm/config/version.d.ts +1 -1
- package/_esm/config/version.js +1 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +1 -1
- package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +1 -1
- package/_esm/pages/LanguagesPage/LanguagesPage.js +1 -1
- package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +4 -4
- package/_esm/pages/SelectTokenPage/SearchTokenInput.js +1 -1
- package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +2 -2
- package/_esm/pages/SettingsPage/GasPriceSettings.js +1 -1
- package/_esm/pages/SettingsPage/LanguageSetting.js +1 -1
- package/_esm/pages/SettingsPage/ResetSettingsButton.js +1 -1
- package/_esm/pages/SettingsPage/RoutePrioritySettings.js +1 -1
- package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +1 -1
- package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +2 -2
- package/_esm/pages/SettingsPage/ThemeSettings.js +5 -5
- package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +1 -1
- package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +1 -1
- package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +1 -1
- package/_esm/pages/TransactionPage/StatusBottomSheet.js +4 -4
- package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +1 -1
- package/_esm/pages/TransactionPage/TransactionPage.js +1 -1
- package/package.json +1 -1
package/_cjs/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "3.0.0-alpha.
|
|
2
|
+
export declare const version = "3.0.0-alpha.7";
|
package/_cjs/config/version.js
CHANGED
package/_esm/AppDrawer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3
|
-
import
|
|
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
|
|
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
|
|
3
|
-
import
|
|
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
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
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
|
|
3
|
-
import
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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
|
|
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
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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
|
|
3
|
-
import
|
|
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
|
|
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
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
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
|
|
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';
|
package/_esm/config/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/widget";
|
|
2
|
-
export declare const version = "3.0.0-alpha.
|
|
2
|
+
export declare const version = "3.0.0-alpha.7";
|
package/_esm/config/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = '@lifi/widget';
|
|
2
|
-
export const version = '3.0.0-alpha.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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
|
|
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
|
|
3
|
-
import
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3
|
-
import
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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:
|
|
15
|
-
auto:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
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
|
|
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
|
|
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.
|
|
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",
|