@lifi/widget 3.0.0-alpha.5 → 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 (69) hide show
  1. package/_cjs/components/Header/Header.style.d.ts +1 -3
  2. package/_cjs/components/PoweredBy/PoweredBy.style.d.ts +4 -3
  3. package/_cjs/components/Step/StepProcess.style.d.ts +10 -3
  4. package/_cjs/components/Tabs/Tabs.style.d.ts +4 -4
  5. package/_cjs/components/Tabs/Tabs.style.js +1 -2
  6. package/_cjs/components/TokenList/TokenList.style.d.ts +11 -5
  7. package/_cjs/config/version.d.ts +1 -1
  8. package/_cjs/config/version.js +1 -1
  9. package/_cjs/pages/LanguagesPage/LanguagesPage.js +1 -1
  10. package/_cjs/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +3 -3
  11. package/_cjs/pages/SettingsPage/BridgeAndExchangeSettings.js +3 -3
  12. package/_cjs/pages/SettingsPage/GasPriceSettings.js +1 -1
  13. package/_cjs/pages/SettingsPage/LanguageSetting.js +3 -3
  14. package/_cjs/pages/SettingsPage/ResetSettingsButton.js +2 -2
  15. package/_cjs/pages/SettingsPage/RoutePrioritySettings.js +3 -3
  16. package/_cjs/pages/SettingsPage/SendToWalletOptionSetting.js +1 -1
  17. package/_cjs/pages/SettingsPage/SlippageSettings/SlippageSettings.js +5 -5
  18. package/_cjs/pages/SettingsPage/ThemeSettings.js +4 -4
  19. package/_esm/AppDrawer.js +3 -3
  20. package/_esm/components/ActiveTransactions/ActiveTransactionItem.js +3 -3
  21. package/_esm/components/GasMessage/FundsSufficiencyMessage.js +1 -1
  22. package/_esm/components/GasMessage/GasRefuelMessage.js +1 -1
  23. package/_esm/components/GasMessage/GasSufficiencyMessage.js +1 -1
  24. package/_esm/components/Header/Header.style.d.ts +1 -3
  25. package/_esm/components/Header/NavigationHeader.js +2 -2
  26. package/_esm/components/Header/SettingsButton.js +1 -1
  27. package/_esm/components/Header/WalletHeader.js +2 -2
  28. package/_esm/components/Header/WalletMenu.js +3 -3
  29. package/_esm/components/Insurance/InsuranceCard.js +3 -3
  30. package/_esm/components/NotFound.js +1 -1
  31. package/_esm/components/PoweredBy/PoweredBy.style.d.ts +4 -3
  32. package/_esm/components/ReverseTokensButton/ReverseTokensButton.js +2 -2
  33. package/_esm/components/RouteCard/RouteCard.js +3 -3
  34. package/_esm/components/RouteCard/RouteCardEssentials.js +4 -4
  35. package/_esm/components/RouteCard/RouteNotFoundCard.js +1 -1
  36. package/_esm/components/SendToWallet/SendToWalletButton.js +1 -1
  37. package/_esm/components/Step/CircularProgress.js +4 -4
  38. package/_esm/components/Step/DestinationWalletAddress.js +2 -2
  39. package/_esm/components/Step/GasStepProcess.js +1 -1
  40. package/_esm/components/Step/StepProcess.js +1 -1
  41. package/_esm/components/Step/StepProcess.style.d.ts +10 -3
  42. package/_esm/components/StepActions/StepActions.js +3 -3
  43. package/_esm/components/Tabs/Tabs.style.d.ts +4 -4
  44. package/_esm/components/Tabs/Tabs.style.js +1 -2
  45. package/_esm/components/TokenList/TokenList.style.d.ts +11 -5
  46. package/_esm/components/TokenList/TokenListItem.js +1 -1
  47. package/_esm/components/TokenList/TokenNotFound.js +1 -1
  48. package/_esm/config/version.d.ts +1 -1
  49. package/_esm/config/version.js +1 -1
  50. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsEmpty.js +1 -1
  51. package/_esm/pages/ActiveTransactionsPage/ActiveTransactionsPage.js +1 -1
  52. package/_esm/pages/LanguagesPage/LanguagesPage.js +2 -2
  53. package/_esm/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.js +6 -6
  54. package/_esm/pages/SelectTokenPage/SearchTokenInput.js +1 -1
  55. package/_esm/pages/SettingsPage/BridgeAndExchangeSettings.js +4 -4
  56. package/_esm/pages/SettingsPage/GasPriceSettings.js +3 -3
  57. package/_esm/pages/SettingsPage/LanguageSetting.js +3 -3
  58. package/_esm/pages/SettingsPage/ResetSettingsButton.js +1 -1
  59. package/_esm/pages/SettingsPage/RoutePrioritySettings.js +4 -4
  60. package/_esm/pages/SettingsPage/SendToWalletOptionSetting.js +1 -1
  61. package/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.js +5 -5
  62. package/_esm/pages/SettingsPage/ThemeSettings.js +8 -8
  63. package/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.js +1 -1
  64. package/_esm/pages/TransactionHistoryPage/TransactionHistoryEmpty.js +1 -1
  65. package/_esm/pages/TransactionPage/ExchangeRateBottomSheet.js +1 -1
  66. package/_esm/pages/TransactionPage/StatusBottomSheet.js +4 -4
  67. package/_esm/pages/TransactionPage/TokenValueBottomSheet.js +1 -1
  68. package/_esm/pages/TransactionPage/TransactionPage.js +1 -1
  69. package/package.json +1 -1
@@ -18,6 +18,4 @@ export declare const HeaderControlsContainer: import("@emotion/styled").StyledCo
18
18
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
19
19
  export declare const SplitTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
20
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
21
- }, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
22
- component?: import("react").ElementType<any> | undefined;
23
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
21
+ }, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,3 +1,4 @@
1
- import type { StyledComponent } from '@emotion/styled';
2
- import type { LinkProps } from '@mui/material';
3
- export declare const Link: StyledComponent<LinkProps>;
1
+ /// <reference types="react" />
2
+ export declare const Link: import("@emotion/styled").StyledComponent<import("@mui/material").LinkOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
3
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
4
+ }, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses" | "underline"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,3 +1,10 @@
1
- import type { StyledComponent } from '@emotion/styled';
2
- import type { IconButtonProps, LinkProps } from '@mui/material';
3
- export declare const LinkButton: StyledComponent<IconButtonProps & LinkProps>;
1
+ /// <reference types="react" />
2
+ export declare const LinkButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
4
+ }, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
+ component?: import("react").ElementType<any> | undefined;
6
+ } & import("@mui/material").LinkOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
7
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
8
+ }, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses" | "underline"> & {
9
+ component?: import("react").ElementType<any> | undefined;
10
+ }, {}, {}>;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import type { StyledComponent } from '@emotion/styled';
3
- import type { TabsProps } from '@mui/material';
4
- export declare const Tabs: StyledComponent<TabsProps>;
5
- export declare const Tab: StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ export declare const Tabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
+ export declare const Tab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
7
  }, "children" | "sx" | "label" | "style" | "className" | "tabIndex" | "disabled" | "value" | "action" | "classes" | "icon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
8
8
  component?: import("react").ElementType<any> | undefined;
@@ -15,8 +15,7 @@ exports.Tabs = (0, styles_1.styled)(material_1.Tabs)(({ theme }) => ({
15
15
  backgroundColor: theme.palette.mode === 'dark'
16
16
  ? theme.palette.background.default
17
17
  : theme.palette.common.white,
18
- borderRadius: Math.max(theme.shape.borderRadius, theme.shape.borderRadiusSecondary) -
19
- 4,
18
+ borderRadius: Math.max(theme.shape.borderRadius, theme.shape.borderRadiusSecondary) - 4,
20
19
  boxShadow: `0px 2px 4px ${(0, styles_1.alpha)(theme.palette.common.black, 0.04)}`,
21
20
  },
22
21
  }));
@@ -1,12 +1,18 @@
1
1
  /// <reference types="react" />
2
- import type { StyledComponent } from '@emotion/styled';
3
- import type { IconButtonProps, LinkProps } from '@mui/material';
4
- export declare const ListItemButton: StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
3
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
4
  }, "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "tabIndex" | "disabled" | "action" | "selected" | "classes" | "divider" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
- export declare const ListItem: StyledComponent<{
5
+ export declare const ListItem: import("@emotion/styled").StyledComponent<{
8
6
  button?: false | undefined;
9
7
  } & import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
10
8
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
11
9
  }, "button" | "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "disabled" | "selected" | "classes" | "divider" | "components" | "dense" | "componentsProps" | "slotProps" | "slots" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
12
- export declare const IconButton: StyledComponent<IconButtonProps & LinkProps>;
10
+ export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
11
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
12
+ }, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
13
+ component?: import("react").ElementType<any> | undefined;
14
+ } & import("@mui/material").LinkOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
15
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
16
+ }, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses" | "underline"> & {
17
+ component?: import("react").ElementType<any> | undefined;
18
+ }, {}, {}>;
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@lifi/widget";
2
- export declare const version = "3.0.0-alpha.5";
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.5';
5
+ exports.version = '3.0.0-alpha.7';
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LanguagesPage = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_i18next_1 = require("react-i18next");
6
5
  const Check_1 = require("@mui/icons-material/Check");
7
6
  const material_1 = require("@mui/material");
7
+ const react_i18next_1 = require("react-i18next");
8
8
  const ListItemText_1 = require("../../components/ListItemText");
9
9
  const SettingsListItemButton_1 = require("../../components/SettingsListItemButton");
10
10
  const hooks_1 = require("../../hooks");
@@ -2,18 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SelectEnabledToolsPage = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const react_i18next_1 = require("react-i18next");
7
5
  const Check_1 = require("@mui/icons-material/Check");
8
6
  const CheckBoxOutlineBlankOutlined_1 = require("@mui/icons-material/CheckBoxOutlineBlankOutlined");
9
7
  const CheckBoxOutlined_1 = require("@mui/icons-material/CheckBoxOutlined");
10
8
  const IndeterminateCheckBoxOutlined_1 = require("@mui/icons-material/IndeterminateCheckBoxOutlined");
11
9
  const material_1 = require("@mui/material");
10
+ const react_1 = require("react");
11
+ const react_i18next_1 = require("react-i18next");
12
12
  const shallow_1 = require("zustand/shallow");
13
13
  const ListItemText_1 = require("../../components/ListItemText");
14
+ const SettingsListItemButton_1 = require("../../components/SettingsListItemButton");
14
15
  const hooks_1 = require("../../hooks");
15
16
  const stores_1 = require("../../stores");
16
- const SettingsListItemButton_1 = require("../../components/SettingsListItemButton");
17
17
  const SelectAllCheckbox = ({ allCheckboxesSelected, anyCheckboxesSelected, onClick, }) => {
18
18
  const { t } = (0, react_i18next_1.useTranslation)();
19
19
  const tooltipTitle = allCheckboxesSelected
@@ -2,14 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BridgeAndExchangeSettings = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const AirlineStops_1 = require("@mui/icons-material/AirlineStops");
6
+ const SwapHoriz_1 = require("@mui/icons-material/SwapHoriz");
5
7
  const react_i18next_1 = require("react-i18next");
6
8
  const react_router_dom_1 = require("react-router-dom");
7
9
  const shallow_1 = require("zustand/shallow");
8
- const AirlineStops_1 = require("@mui/icons-material/AirlineStops");
9
- const SwapHoriz_1 = require("@mui/icons-material/SwapHoriz");
10
+ const hooks_1 = require("../../hooks");
10
11
  const stores_1 = require("../../stores");
11
12
  const utils_1 = require("../../utils");
12
- const hooks_1 = require("../../hooks");
13
13
  const SettingsCard_1 = require("./SettingsCard");
14
14
  const supportedIcons = {
15
15
  Bridges: AirlineStops_1.default,
@@ -4,9 +4,9 @@ exports.GasPriceSettings = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const EvStation_1 = require("@mui/icons-material/EvStation");
6
6
  const react_i18next_1 = require("react-i18next");
7
- const stores_1 = require("../../stores");
8
7
  const Tabs_1 = require("../../components/Tabs");
9
8
  const hooks_1 = require("../../hooks");
9
+ const stores_1 = require("../../stores");
10
10
  const SettingsCard_1 = require("./SettingsCard");
11
11
  const GasPriceSettings = () => {
12
12
  const { t } = (0, react_i18next_1.useTranslation)();
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LanguageSetting = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_router_dom_1 = require("react-router-dom");
6
- const react_i18next_1 = require("react-i18next");
7
5
  const Language_1 = require("@mui/icons-material/Language");
6
+ const react_i18next_1 = require("react-i18next");
7
+ const react_router_dom_1 = require("react-router-dom");
8
+ const hooks_1 = require("../../hooks");
8
9
  const providers_1 = require("../../providers");
9
10
  const types_1 = require("../../types");
10
11
  const utils_1 = require("../../utils");
11
- const hooks_1 = require("../../hooks");
12
12
  const SettingsCard_1 = require("./SettingsCard");
13
13
  const LanguageSetting = () => {
14
14
  const { t } = (0, react_i18next_1.useTranslation)();
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResetSettingsButton = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const InfoRounded_1 = require("@mui/icons-material/InfoRounded");
5
6
  const material_1 = require("@mui/material");
6
7
  const react_1 = require("react");
7
8
  const react_i18next_1 = require("react-i18next");
8
9
  const Dialog_1 = require("../../components/Dialog");
9
10
  const hooks_1 = require("../../hooks");
10
11
  const ResetSettingsButton_style_1 = require("./ResetSettingsButton.style");
11
- const icons_material_1 = require("@mui/icons-material");
12
12
  const ResetSettingsButton = () => {
13
13
  const { t } = (0, react_i18next_1.useTranslation)();
14
14
  const { isCustomRouteSettings, reset } = (0, hooks_1.useSettingMonitor)();
@@ -23,7 +23,7 @@ const ResetSettingsButton = () => {
23
23
  if (!isCustomRouteSettings) {
24
24
  return null;
25
25
  }
26
- return ((0, jsx_runtime_1.jsx)(material_1.Box, { px: 3, mb: 1, children: (0, jsx_runtime_1.jsxs)(ResetSettingsButton_style_1.ResetButtonContainer, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", marginBottom: "12px", children: [(0, jsx_runtime_1.jsx)(icons_material_1.InfoRounded, { sx: {
26
+ return ((0, jsx_runtime_1.jsx)(material_1.Box, { px: 3, mb: 1, children: (0, jsx_runtime_1.jsxs)(ResetSettingsButton_style_1.ResetButtonContainer, { children: [(0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", marginBottom: "12px", children: [(0, jsx_runtime_1.jsx)(InfoRounded_1.default, { sx: {
27
27
  marginRight: '8px',
28
28
  } }), (0, jsx_runtime_1.jsx)(material_1.Box, { fontSize: 14, children: t(`settings.resetSettings`) })] }), (0, jsx_runtime_1.jsx)(material_1.Button, { onClick: toggleDialog, fullWidth: true, children: t('button.resetSettings') }), (0, jsx_runtime_1.jsxs)(Dialog_1.Dialog, { open: open, onClose: toggleDialog, children: [(0, jsx_runtime_1.jsx)(material_1.DialogTitle, { children: t('warning.title.resetSettings') }), (0, jsx_runtime_1.jsx)(material_1.DialogContent, { children: (0, jsx_runtime_1.jsx)(material_1.DialogContentText, { children: t('warning.message.resetSettings') }) }), (0, jsx_runtime_1.jsxs)(material_1.DialogActions, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, { onClick: toggleDialog, children: t('button.cancel') }), (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", onClick: handleReset, autoFocus: true, children: t('button.reset') })] })] })] }) }));
29
29
  };
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RoutePrioritySettings = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_i18next_1 = require("react-i18next");
6
- const Route_1 = require("@mui/icons-material/Route");
7
5
  const sdk_1 = require("@lifi/sdk");
6
+ const Route_1 = require("@mui/icons-material/Route");
7
+ const react_i18next_1 = require("react-i18next");
8
8
  const Tabs_1 = require("../../components/Tabs");
9
- const stores_1 = require("../../stores");
10
9
  const hooks_1 = require("../../hooks");
10
+ const stores_1 = require("../../stores");
11
11
  const SettingsCard_1 = require("./SettingsCard");
12
12
  const RoutePrioritySettings = () => {
13
13
  const { t } = (0, react_i18next_1.useTranslation)();
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SendToWalletOptionSetting = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_i18next_1 = require("react-i18next");
6
5
  const Wallet_1 = require("@mui/icons-material/Wallet");
6
+ const react_i18next_1 = require("react-i18next");
7
7
  const Switch_1 = require("../../components/Switch");
8
8
  const providers_1 = require("../../providers");
9
9
  const stores_1 = require("../../stores");
@@ -2,16 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SlippageSettings = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const Percent_1 = require("@mui/icons-material/Percent");
6
+ const WarningRounded_1 = require("@mui/icons-material/WarningRounded");
7
+ const material_1 = require("@mui/material");
5
8
  const react_1 = require("react");
6
9
  const react_i18next_1 = require("react-i18next");
7
- const Percent_1 = require("@mui/icons-material/Percent");
8
- const stores_1 = require("../../../stores");
9
10
  const hooks_1 = require("../../../hooks");
11
+ const stores_1 = require("../../../stores");
10
12
  const utils_1 = require("../../../utils");
11
- const SlippageSettings_style_1 = require("./SlippageSettings.style");
12
- const material_1 = require("@mui/material");
13
13
  const SettingsCard_1 = require("../SettingsCard");
14
- const WarningRounded_1 = require("@mui/icons-material/WarningRounded");
14
+ const SlippageSettings_style_1 = require("./SlippageSettings.style");
15
15
  const slippageDefault = '0.5';
16
16
  const SlippageSettings = () => {
17
17
  const { t } = (0, react_i18next_1.useTranslation)();
@@ -2,16 +2,16 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ThemeSettings = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const types_1 = require("../../types");
6
- const providers_1 = require("../../providers");
7
- const LightMode_1 = require("@mui/icons-material/LightMode");
8
5
  const BrightnessAuto_1 = require("@mui/icons-material/BrightnessAuto");
6
+ const LightMode_1 = require("@mui/icons-material/LightMode");
9
7
  const Nightlight_1 = require("@mui/icons-material/Nightlight");
10
8
  const material_1 = require("@mui/material");
11
9
  const react_i18next_1 = require("react-i18next");
10
+ const Tabs_1 = require("../../components/Tabs");
11
+ const providers_1 = require("../../providers");
12
12
  const stores_1 = require("../../stores");
13
+ const types_1 = require("../../types");
13
14
  const SettingsCard_1 = require("./SettingsCard");
14
- const Tabs_1 = require("../../components/Tabs");
15
15
  const themeIcons = {
16
16
  light: LightMode_1.default,
17
17
  dark: Nightlight_1.default,
package/_esm/AppDrawer.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import CloseIcon from '@mui/icons-material/CloseRounded';
3
- import KeyboardArrowLeftIcon from '@mui/icons-material/KeyboardArrowLeft';
4
- import 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 ArrowForwardIcon from '@mui/icons-material/ArrowForward';
3
- import ErrorRoundedIcon from '@mui/icons-material/ErrorRounded';
4
- import 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 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 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 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';
@@ -18,6 +18,4 @@ export declare const HeaderControlsContainer: import("@emotion/styled").StyledCo
18
18
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
19
19
  export declare const SplitTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
20
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
21
- }, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & {
22
- component?: import("react").ElementType<any> | undefined;
23
- } & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
21
+ }, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import ArrowBackIcon from '@mui/icons-material/ArrowBack';
3
- import 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 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 ExpandMoreIcon from '@mui/icons-material/ExpandMore';
3
- import 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 ContentCopyIcon from '@mui/icons-material/ContentCopyRounded';
4
- import OpenInNewIcon from '@mui/icons-material/OpenInNewRounded';
5
- import 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 ExpandLessIcon from '@mui/icons-material/ExpandLess';
3
- import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
4
- import 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 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,3 +1,4 @@
1
- import type { StyledComponent } from '@emotion/styled';
2
- import type { LinkProps } from '@mui/material';
3
- export declare const Link: StyledComponent<LinkProps>;
1
+ /// <reference types="react" />
2
+ export declare const Link: import("@emotion/styled").StyledComponent<import("@mui/material").LinkOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
3
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
4
+ }, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses" | "underline"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import SwapHorizIcon from '@mui/icons-material/SwapHoriz';
3
- import 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 ExpandLessIcon from '@mui/icons-material/ExpandLess';
3
- import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
4
- import 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 AccessTimeIcon from '@mui/icons-material/AccessTimeFilled';
3
- import EvStationIcon from '@mui/icons-material/EvStation';
4
- import LayersIcon from '@mui/icons-material/Layers';
5
- import 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 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 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 DoneIcon from '@mui/icons-material/Done';
3
- import ErrorRoundedIcon from '@mui/icons-material/ErrorRounded';
4
- import InfoRoundedIcon from '@mui/icons-material/InfoRounded';
5
- import 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 LinkRoundedIcon from '@mui/icons-material/LinkRounded';
3
- import 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 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 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,3 +1,10 @@
1
- import type { StyledComponent } from '@emotion/styled';
2
- import type { IconButtonProps, LinkProps } from '@mui/material';
3
- export declare const LinkButton: StyledComponent<IconButtonProps & LinkProps>;
1
+ /// <reference types="react" />
2
+ export declare const LinkButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
4
+ }, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
5
+ component?: import("react").ElementType<any> | undefined;
6
+ } & import("@mui/material").LinkOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
7
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
8
+ }, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses" | "underline"> & {
9
+ component?: import("react").ElementType<any> | undefined;
10
+ }, {}, {}>;
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
3
- import ExpandLessIcon from '@mui/icons-material/ExpandLess';
4
- import 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,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import type { StyledComponent } from '@emotion/styled';
3
- import type { TabsProps } from '@mui/material';
4
- export declare const Tabs: StyledComponent<TabsProps>;
5
- export declare const Tab: StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ export declare const Tabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, "children" | "sx" | "style" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "orientation" | "value" | "action" | "classes" | "variant" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
+ export declare const Tab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
7
  }, "children" | "sx" | "label" | "style" | "className" | "tabIndex" | "disabled" | "value" | "action" | "classes" | "icon" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
8
8
  component?: import("react").ElementType<any> | undefined;
@@ -12,8 +12,7 @@ export const Tabs = styled(MuiTabs)(({ theme }) => ({
12
12
  backgroundColor: theme.palette.mode === 'dark'
13
13
  ? theme.palette.background.default
14
14
  : theme.palette.common.white,
15
- borderRadius: Math.max(theme.shape.borderRadius, theme.shape.borderRadiusSecondary) -
16
- 4,
15
+ borderRadius: Math.max(theme.shape.borderRadius, theme.shape.borderRadiusSecondary) - 4,
17
16
  boxShadow: `0px 2px 4px ${alpha(theme.palette.common.black, 0.04)}`,
18
17
  },
19
18
  }));
@@ -1,12 +1,18 @@
1
1
  /// <reference types="react" />
2
- import type { StyledComponent } from '@emotion/styled';
3
- import type { IconButtonProps, LinkProps } from '@mui/material';
4
- export declare const ListItemButton: StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
3
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
6
4
  }, "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "tabIndex" | "disabled" | "action" | "selected" | "classes" | "divider" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
7
- export declare const ListItem: StyledComponent<{
5
+ export declare const ListItem: import("@emotion/styled").StyledComponent<{
8
6
  button?: false | undefined;
9
7
  } & import("@mui/material").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
10
8
  ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
11
9
  }, "button" | "alignItems" | "children" | "sx" | "style" | "autoFocus" | "className" | "disabled" | "selected" | "classes" | "divider" | "components" | "dense" | "componentsProps" | "slotProps" | "slots" | "disableGutters" | "ContainerComponent" | "ContainerProps" | "disablePadding" | "secondaryAction"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
12
- export declare const IconButton: StyledComponent<IconButtonProps & LinkProps>;
10
+ export declare const IconButton: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
11
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
12
+ }, "color" | "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "size" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
13
+ component?: import("react").ElementType<any> | undefined;
14
+ } & import("@mui/material").LinkOwnProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
15
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
16
+ }, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "style" | "className" | "align" | "classes" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "TypographyClasses" | "underline"> & {
17
+ component?: import("react").ElementType<any> | undefined;
18
+ }, {}, {}>;
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import 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 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.5";
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.5';
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 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 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,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useTranslation } from 'react-i18next';
3
- import CheckIcon from '@mui/icons-material/Check';
2
+ import CheckIcon from '@mui/icons-material/esm/Check';
4
3
  import { Container, List } from '@mui/material';
4
+ import { useTranslation } from 'react-i18next';
5
5
  import { ListItemText } from '../../components/ListItemText';
6
6
  import { SettingsListItemButton } from '../../components/SettingsListItemButton';
7
7
  import { useLanguages } from '../../hooks';
@@ -1,16 +1,16 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
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
+ import { Avatar, Container, IconButton, List, ListItemAvatar, Tooltip, } from '@mui/material';
2
7
  import { useEffect } from 'react';
3
8
  import { useTranslation } from 'react-i18next';
4
- import CheckIcon from '@mui/icons-material/Check';
5
- import CheckBoxOutlineBlankOutlinedIcon from '@mui/icons-material/CheckBoxOutlineBlankOutlined';
6
- import CheckBoxOutlinedIcon from '@mui/icons-material/CheckBoxOutlined';
7
- import IndeterminateCheckBoxOutlinedIcon from '@mui/icons-material/IndeterminateCheckBoxOutlined';
8
- import { Avatar, Container, IconButton, List, ListItemAvatar, Tooltip, } from '@mui/material';
9
9
  import { shallow } from 'zustand/shallow';
10
10
  import { ListItemText } from '../../components/ListItemText';
11
+ import { SettingsListItemButton } from '../../components/SettingsListItemButton';
11
12
  import { useTools } from '../../hooks';
12
13
  import { useHeaderStoreContext, useSettingsStore } from '../../stores';
13
- import { SettingsListItemButton } from '../../components/SettingsListItemButton';
14
14
  const SelectAllCheckbox = ({ allCheckboxesSelected, anyCheckboxesSelected, onClick, }) => {
15
15
  const { t } = useTranslation();
16
16
  const tooltipTitle = allCheckboxesSelected
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import 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,13 +1,13 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ import AirlineStopsIcon from '@mui/icons-material/esm/AirlineStops';
3
+ import SwapHorizIcon from '@mui/icons-material/esm/SwapHoriz';
2
4
  import { useTranslation } from 'react-i18next';
3
5
  import { useNavigate } from 'react-router-dom';
4
6
  import { shallow } from 'zustand/shallow';
5
- import AirlineStopsIcon from '@mui/icons-material/AirlineStops';
6
- import SwapHorizIcon from '@mui/icons-material/SwapHoriz';
7
+ import { useSettingMonitor } from '../../hooks';
7
8
  import { useSettingsStore } from '../../stores';
8
9
  import { navigationRoutes } from '../../utils';
9
- import { useSettingMonitor } from '../../hooks';
10
- import { SettingCardButton, BadgedValue } from './SettingsCard';
10
+ import { BadgedValue, SettingCardButton } from './SettingsCard';
11
11
  const supportedIcons = {
12
12
  Bridges: AirlineStopsIcon,
13
13
  Exchanges: SwapHorizIcon,
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import EvStationIcon from '@mui/icons-material/EvStation';
2
+ import EvStationIcon from '@mui/icons-material/esm/EvStation';
3
3
  import { useTranslation } from 'react-i18next';
4
- import { useSettings, useSettingsStore } from '../../stores';
5
4
  import { Tab, Tabs } from '../../components/Tabs';
6
5
  import { useSettingMonitor } from '../../hooks';
7
- import { SettingCardExpandable, BadgedValue } from './SettingsCard';
6
+ import { useSettings, useSettingsStore } from '../../stores';
7
+ import { BadgedValue, SettingCardExpandable } from './SettingsCard';
8
8
  export const GasPriceSettings = () => {
9
9
  const { t } = useTranslation();
10
10
  const setValue = useSettingsStore((state) => state.setValue);
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useNavigate } from 'react-router-dom';
2
+ import LanguageIcon from '@mui/icons-material/esm/Language';
3
3
  import { useTranslation } from 'react-i18next';
4
- import LanguageIcon from '@mui/icons-material/Language';
4
+ import { useNavigate } from 'react-router-dom';
5
+ import { useLanguages } from '../../hooks';
5
6
  import { useWidgetConfig } from '../../providers';
6
7
  import { HiddenUI } from '../../types';
7
8
  import { navigationRoutes } from '../../utils';
8
- import { useLanguages } from '../../hooks';
9
9
  import { SettingCardButton, SummaryValue } from './SettingsCard';
10
10
  export const LanguageSetting = () => {
11
11
  const { t } = useTranslation();
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import InfoRounded from '@mui/icons-material/esm/InfoRounded';
2
3
  import { Box, Button, DialogActions, DialogContent, DialogContentText, DialogTitle, } from '@mui/material';
3
4
  import { useCallback, useState } from 'react';
4
5
  import { useTranslation } from 'react-i18next';
5
6
  import { Dialog } from '../../components/Dialog';
6
7
  import { useSettingMonitor } from '../../hooks';
7
8
  import { ResetButtonContainer } from './ResetSettingsButton.style';
8
- import { InfoRounded } from '@mui/icons-material';
9
9
  export const ResetSettingsButton = () => {
10
10
  const { t } = useTranslation();
11
11
  const { isCustomRouteSettings, reset } = useSettingMonitor();
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useTranslation } from 'react-i18next';
3
- import RouteIcon from '@mui/icons-material/Route';
4
2
  import { Orders } from '@lifi/sdk';
3
+ import RouteIcon from '@mui/icons-material/esm/Route';
4
+ import { useTranslation } from 'react-i18next';
5
5
  import { Tab, Tabs } from '../../components/Tabs';
6
- import { useSettings, useSettingsStore } from '../../stores';
7
6
  import { useSettingMonitor } from '../../hooks';
8
- import { SettingCardExpandable, BadgedValue } from './SettingsCard';
7
+ import { useSettings, useSettingsStore } from '../../stores';
8
+ import { BadgedValue, SettingCardExpandable } from './SettingsCard';
9
9
  export const RoutePrioritySettings = () => {
10
10
  const { t } = useTranslation();
11
11
  const setValue = useSettingsStore((state) => state.setValue);
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import WalletIcon from '@mui/icons-material/esm/Wallet';
2
3
  import { useTranslation } from 'react-i18next';
3
- import WalletIcon from '@mui/icons-material/Wallet';
4
4
  import { Switch } from '../../components/Switch';
5
5
  import { useWidgetConfig } from '../../providers';
6
6
  import { useSendToWalletStore, useSettings, useSettingsStore, } from '../../stores';
@@ -1,14 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import PercentIcon from '@mui/icons-material/esm/Percent';
3
+ import WarningRoundedIcon from '@mui/icons-material/esm/WarningRounded';
4
+ import { Box, Typography } from '@mui/material';
2
5
  import { useRef, useState } from 'react';
3
6
  import { useTranslation } from 'react-i18next';
4
- import PercentIcon from '@mui/icons-material/Percent';
5
- import { useSettings, useSettingsStore } from '../../../stores';
6
7
  import { useSettingMonitor } from '../../../hooks';
8
+ import { useSettings, useSettingsStore } from '../../../stores';
7
9
  import { formatSlippage } from '../../../utils';
10
+ import { BadgedValue, SettingCardExpandable } from '../SettingsCard';
8
11
  import { SettingsFieldSet, SlippageCustomInput, SlippageDefaultButton, SlippageLimitsWarningContainer, } from './SlippageSettings.style';
9
- import { Box, Typography } from '@mui/material';
10
- import { SettingCardExpandable, BadgedValue } from '../SettingsCard';
11
- import WarningRoundedIcon from '@mui/icons-material/WarningRounded';
12
12
  const slippageDefault = '0.5';
13
13
  export const SlippageSettings = () => {
14
14
  const { t } = useTranslation();
@@ -1,18 +1,18 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { HiddenUI } from '../../types';
3
- import { useWidgetConfig } from '../../providers';
4
- import LightModeIcon from '@mui/icons-material/LightMode';
5
- import BrightnessAuto from '@mui/icons-material/BrightnessAuto';
6
- import 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';
7
5
  import { Tooltip } from '@mui/material';
8
6
  import { useTranslation } from 'react-i18next';
7
+ import { Tab, Tabs } from '../../components/Tabs';
8
+ import { useWidgetConfig } from '../../providers';
9
9
  import { useAppearance } from '../../stores';
10
+ import { HiddenUI } from '../../types';
10
11
  import { SettingCardExpandable, SummaryValue } from './SettingsCard';
11
- import { Tab, Tabs } from '../../components/Tabs';
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 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 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 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 DoneIcon from '@mui/icons-material/Done';
3
- import ErrorRoundedIcon from '@mui/icons-material/ErrorRounded';
4
- import InfoRoundedIcon from '@mui/icons-material/InfoRounded';
5
- import 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 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 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.5",
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",