@lifi/widget 3.0.0-alpha.2 → 3.0.0-alpha.3

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 (101) hide show
  1. package/package.json +1 -1
  2. package/src/App.tsx +2 -34
  3. package/src/AppDefault.tsx +35 -0
  4. package/src/AppDrawer.tsx +7 -5
  5. package/src/_esm/App.d.ts +0 -1
  6. package/src/_esm/App.js +3 -15
  7. package/src/_esm/App.js.map +1 -1
  8. package/src/_esm/AppDefault.d.ts +1 -0
  9. package/src/_esm/AppDefault.js +17 -0
  10. package/src/_esm/AppDefault.js.map +1 -0
  11. package/src/_esm/AppDrawer.js +7 -5
  12. package/src/_esm/AppDrawer.js.map +1 -1
  13. package/src/_esm/AppDrawer.style.d.ts +3 -3
  14. package/src/_esm/components/ActiveTransactions/ActiveTransactions.style.d.ts +4 -4
  15. package/src/_esm/components/AmountInput/AmountInput.style.d.ts +2 -2
  16. package/src/_esm/components/AmountInput/AmountInputAdornment.style.d.ts +1 -1
  17. package/src/_esm/components/AppContainer.d.ts +3 -3
  18. package/src/_esm/components/BaseTransactionButton/BaseTransactionButton.js +1 -1
  19. package/src/_esm/components/BaseTransactionButton/BaseTransactionButton.js.map +1 -1
  20. package/src/_esm/components/BottomSheet/BottomSheet.js +2 -2
  21. package/src/_esm/components/BottomSheet/BottomSheet.js.map +1 -1
  22. package/src/_esm/components/Card/Card.d.ts +4 -4
  23. package/src/_esm/components/Card/CardHeader.d.ts +2 -2
  24. package/src/_esm/components/Card/CardIconButton.d.ts +1 -1
  25. package/src/_esm/components/Card/CardLabel.d.ts +2 -2
  26. package/src/_esm/components/Card/CardTitle.d.ts +1 -1
  27. package/src/_esm/components/ChainSelect/ChainSelect.style.d.ts +6 -6
  28. package/src/_esm/components/Dialog.d.ts +7 -5
  29. package/src/_esm/components/Dialog.js +8 -6
  30. package/src/_esm/components/Dialog.js.map +1 -1
  31. package/src/_esm/components/GasMessage/GasMessage.style.d.ts +4 -4
  32. package/src/_esm/components/Header/Header.style.d.ts +8 -8
  33. package/src/_esm/components/Header/NavigationHeader.js +4 -3
  34. package/src/_esm/components/Header/NavigationHeader.js.map +1 -1
  35. package/src/_esm/components/Header/SettingsButton.js +5 -5
  36. package/src/_esm/components/Header/SettingsButton.js.map +1 -1
  37. package/src/_esm/components/Header/SettingsButton.style.d.ts +3 -3
  38. package/src/_esm/components/Header/SettingsButton.style.js +6 -5
  39. package/src/_esm/components/Header/SettingsButton.style.js.map +1 -1
  40. package/src/_esm/components/ListItemButton.d.ts +2 -2
  41. package/src/_esm/components/NFT/NFT.style.d.ts +2 -2
  42. package/src/_esm/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +1 -1
  43. package/src/_esm/components/RouteCard/RouteCard.style.d.ts +1 -1
  44. package/src/_esm/components/Routes/RoutesExpanded.style.d.ts +5 -5
  45. package/src/_esm/components/SelectChainAndToken.js +2 -1
  46. package/src/_esm/components/SelectChainAndToken.js.map +1 -1
  47. package/src/_esm/components/SelectTokenButton/SelectTokenButton.style.d.ts +2 -2
  48. package/src/_esm/components/SendToWallet/SendToWallet.style.d.ts +2 -2
  49. package/src/_esm/components/SendToWallet/SendToWalletButton.js +2 -1
  50. package/src/_esm/components/SendToWallet/SendToWalletButton.js.map +1 -1
  51. package/src/_esm/components/SettingsListItemButton.d.ts +2 -2
  52. package/src/_esm/components/SmallAvatar.d.ts +4 -4
  53. package/src/_esm/components/Step/CircularProgress.style.d.ts +1 -1
  54. package/src/_esm/components/StepActions/StepActions.style.d.ts +2 -2
  55. package/src/_esm/components/StepDivider/StepDivider.style.d.ts +2 -2
  56. package/src/_esm/components/Tabs/Tabs.style.d.ts +2 -2
  57. package/src/_esm/components/Token/Token.style.d.ts +3 -3
  58. package/src/_esm/components/TokenAvatar/TokenAvatar.style.d.ts +2 -2
  59. package/src/_esm/components/TokenList/TokenList.style.d.ts +3 -3
  60. package/src/_esm/config/theme.js.map +1 -1
  61. package/src/_esm/config/version.d.ts +1 -1
  62. package/src/_esm/config/version.js +1 -1
  63. package/src/_esm/hooks/useExpandableVariant.js +1 -1
  64. package/src/_esm/hooks/useExpandableVariant.js.map +1 -1
  65. package/src/_esm/icons/InsuraceLogo.js +1 -1
  66. package/src/_esm/icons/InsuraceLogo.js.map +1 -1
  67. package/src/_esm/index.d.ts +1 -2
  68. package/src/_esm/index.js +1 -2
  69. package/src/_esm/index.js.map +1 -1
  70. package/src/_esm/pages/MainPage/MainPage.style.d.ts +2 -2
  71. package/src/_esm/pages/RoutesPage/RoutesPage.style.d.ts +1 -1
  72. package/src/_esm/pages/SelectWalletPage/SelectWalletPage.js +2 -1
  73. package/src/_esm/pages/SelectWalletPage/SelectWalletPage.js.map +1 -1
  74. package/src/_esm/pages/SettingsPage/ResetSettingsButton.style.d.ts +1 -1
  75. package/src/_esm/pages/SettingsPage/ResetSettingsButton.style.js +2 -1
  76. package/src/_esm/pages/SettingsPage/ResetSettingsButton.style.js.map +1 -1
  77. package/src/_esm/pages/SettingsPage/SettingsCard/SettingCard.style.d.ts +6 -6
  78. package/src/_esm/pages/SettingsPage/SlippageSettings/SlippageSettings.style.d.ts +3 -3
  79. package/src/_esm/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +2 -2
  80. package/src/_esm/pages/TransactionPage/StatusBottomSheet.style.d.ts +2 -2
  81. package/src/_esm/pages/TransactionPage/TransactionPage.style.d.ts +2 -2
  82. package/src/_esm/providers/I18nProvider/I18nProvider.js.map +1 -1
  83. package/src/_esm/providers/ThemeProvider/ThemeProvider.js +1 -1
  84. package/src/_esm/providers/ThemeProvider/ThemeProvider.js.map +1 -1
  85. package/src/components/BaseTransactionButton/BaseTransactionButton.tsx +1 -1
  86. package/src/components/BottomSheet/BottomSheet.tsx +2 -2
  87. package/src/components/Dialog.tsx +8 -6
  88. package/src/components/Header/NavigationHeader.tsx +4 -3
  89. package/src/components/Header/SettingsButton.style.tsx +7 -6
  90. package/src/components/Header/SettingsButton.tsx +7 -7
  91. package/src/components/SelectChainAndToken.tsx +2 -1
  92. package/src/components/SendToWallet/SendToWalletButton.tsx +2 -1
  93. package/src/config/theme.ts +1 -9
  94. package/src/config/version.ts +1 -1
  95. package/src/hooks/useExpandableVariant.ts +1 -1
  96. package/src/icons/InsuraceLogo.tsx +1 -1
  97. package/src/index.ts +1 -3
  98. package/src/pages/SelectWalletPage/SelectWalletPage.tsx +1 -1
  99. package/src/pages/SettingsPage/ResetSettingsButton.style.tsx +2 -1
  100. package/src/providers/I18nProvider/I18nProvider.tsx +2 -1
  101. package/src/providers/ThemeProvider/ThemeProvider.tsx +1 -1
@@ -1,2 +1,2 @@
1
1
  export declare const name = "@lifi/widget";
2
- export declare const version = "3.0.0-alpha.2";
2
+ export declare const version = "3.0.0-alpha.3";
@@ -1,3 +1,3 @@
1
1
  export const name = '@lifi/widget';
2
- export const version = '3.0.0-alpha.2';
2
+ export const version = '3.0.0-alpha.3';
3
3
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,4 @@
1
- import { useMediaQuery } from '@mui/material';
1
+ import useMediaQuery from '@mui/material/useMediaQuery';
2
2
  import { useWidgetConfig } from '../providers';
3
3
  const defaultExpandableWidth = 852;
4
4
  export const useExpandableVariant = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"useExpandableVariant.js","sourceRoot":"","sources":["../../../../src/hooks/useExpandableVariant.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACvC,MAAM,EAAE,OAAO,EAAE,mBAAmB,EAAE,GAAG,eAAe,EAAE,CAAC;IAC3D,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,KAAY,EAAE,EAAE,CACvD,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAC7C,CAAC;IACF,OAAO,OAAO,KAAK,YAAY,IAAI,iBAAiB,IAAI,CAAC,mBAAmB,CAAC;AAC/E,CAAC,CAAC"}
1
+ {"version":3,"file":"useExpandableVariant.js","sourceRoot":"","sources":["../../../../src/hooks/useExpandableVariant.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACvC,MAAM,EAAE,OAAO,EAAE,mBAAmB,EAAE,GAAG,eAAe,EAAE,CAAC;IAC3D,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,KAAY,EAAE,EAAE,CACvD,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAC7C,CAAC;IACF,OAAO,OAAO,KAAK,YAAY,IAAI,iBAAiB,IAAI,CAAC,mBAAmB,CAAC;AAC/E,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useTheme } from '@mui/material';
2
+ import { useTheme } from '@mui/material/styles';
3
3
  export const InsuraceLogo = (props) => {
4
4
  const theme = useTheme();
5
5
  const insurColor = theme.palette.mode === 'light' ? '#1C4332' : theme.palette.common.white;
@@ -1 +1 @@
1
- {"version":3,"file":"InsuraceLogo.js","sourceRoot":"","sources":["../../../../src/icons/InsuraceLogo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGzC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC7D,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,UAAU,GACd,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC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AE,UAAU,EAChB,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,opCAAopC,EACtpC,QAAQ,EAAC,SAAS,GAClB,EACF,eACE,IAAI,EAAC,SAAS,EACd,QAAQ,EAAC,SAAS,EAClB,CAAC,EAAC,2vCAA2vC,EAC7vC,QAAQ,EAAC,SAAS,GAClB,EACF,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,8LAA8L,GAChM,EACF,eACE,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,wPAAwP,GAC1P,EACF,eACE,IAAI,EAAC,SAAS,EACd,CAAC,EAAC,g3BAAg3B,GACl3B,EACF,eACE,IAAI,EAAE,UAAU,EAChB,CAAC,EAAC,4sDAA4sD,GAC9sD,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  export { useFormContext, useWatch } from 'react-hook-form';
2
+ export { App as LiFiWidget } from './App';
3
3
  export type { WidgetDrawer } from './AppDrawer';
4
4
  export * from './components/NFT';
5
5
  export * from './config/version';
@@ -7,4 +7,3 @@ export { useAccount, useAvailableChains, useWidgetEvents, widgetEvents, } from '
7
7
  export * from './providers/FormProvider/types';
8
8
  export { formatChain } from './providers/WalletProvider';
9
9
  export * from './types';
10
- export declare const LiFiWidget: import("react").ForwardRefExoticComponent<import("./types").WidgetDrawerProps & import("./types").WidgetConfig & import("./types").WidgetConfigPartialProps & import("react").RefAttributes<import("./AppDrawer").WidgetDrawer>>;
package/src/_esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { App } from './App';
2
1
  export { useFormContext, useWatch } from 'react-hook-form';
2
+ export { App as LiFiWidget } from './App';
3
3
  export * from './components/NFT';
4
4
  export * from './config/version';
5
5
  export { useAccount, useAvailableChains, useWidgetEvents, widgetEvents, } from './hooks';
@@ -9,5 +9,4 @@ export * from './types';
9
9
  // ClassNameGenerator.configure((componentName) =>
10
10
  // componentName.replace('Mui', 'LiFi'),
11
11
  // );
12
- export const LiFiWidget = App;
13
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3D,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,cAAc,SAAS,CAAC;AAExB,kDAAkD;AAClD,0CAA0C;AAC1C,KAAK;AAEL,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,cAAc,SAAS,CAAC;AAExB,kDAAkD;AAClD,0CAA0C;AAC1C,KAAK"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
4
- }, "className" | "style" | "classes" | "children" | "sx" | "maxWidth" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, "fixed" | "maxWidth" | "children" | "sx" | "style" | "className" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Stack: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
4
  }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { isWalletInstalled } from '@lifi/wallet-management';
3
- import { Button, Container, DialogActions, DialogContent, DialogContentText, List, useMediaQuery, } from '@mui/material';
3
+ import { Button, Container, DialogActions, DialogContent, DialogContentText, List, } from '@mui/material';
4
+ import useMediaQuery from '@mui/material/useMediaQuery';
4
5
  import { WalletReadyState } from '@solana/wallet-adapter-base';
5
6
  import { useWallet } from '@solana/wallet-adapter-react';
6
7
  import { useCallback, useMemo, useState } from 'react';
@@ -1 +1 @@
1
- {"version":3,"file":"SelectWalletPage.js","sourceRoot":"","sources":["../../../../../src/pages/SelectWalletPage/SelectWal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ACJ,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ResetButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
4
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,5 +1,6 @@
1
+ import { Box } from '@mui/material';
2
+ import { styled } from '@mui/material/styles';
1
3
  import { getContrastAlphaColor } from '../../utils';
2
- import { Box, styled } from '@mui/material';
3
4
  export const ResetButtonContainer = styled(Box)(({ theme }) => ({
4
5
  background: getContrastAlphaColor(theme.palette.mode, '4%'),
5
6
  borderRadius: '16px',
@@ -1 +1 @@
1
- {"version":3,"file":"ResetSettingsButton.style.js","sourceRoot":"","sources":["../../../../../src/pages/SettingsPage/ResetSettingsButton.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;IAC3D,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,MAAM;IAEf,CAAC,KAAK,CAAC,EAAE;QACP,IAAI,EAAE,qBAAqB,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;KACvD;CACF,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"ResetSettingsButton.style.js","sourceRoot":"","sources":["../../../../../src/pages/SettingsPage/ResetSettingsButton.style.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC;IAC3D,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,MAAM;IAEf,CAAC,KAAK,CAAC,EAAE;QACP,IAAI,EAAE,qBAAqB,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;KACvD;CACF,CAAC,CAAC,CAAC"}
@@ -1,19 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  export declare const SettingsList: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
4
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
5
  export declare const SummaryTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
6
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
7
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
8
8
  export declare const SummaryRowContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
9
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
10
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
11
11
  export declare const SummaryRowButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonBaseOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
12
12
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
13
- }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
13
+ }, "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
14
14
  export declare const SummaryValue: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
15
15
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
16
- }, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
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"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
17
17
  export declare const Badge: import("@emotion/styled").StyledComponent<import("@mui/material").BadgeOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
18
18
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
19
- }, "className" | "style" | "classes" | "children" | "sx" | "color" | "variant" | "max" | "components" | "componentsProps" | "slots" | "slotProps" | "invisible" | "anchorOrigin" | "badgeContent" | "overlap" | "showZero"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
19
+ }, "max" | "color" | "children" | "sx" | "style" | "className" | "classes" | "variant" | "components" | "componentsProps" | "slotProps" | "anchorOrigin" | "badgeContent" | "invisible" | "overlap" | "slots" | "showZero"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,16 +1,16 @@
1
1
  /// <reference types="react" />
2
2
  import type { Theme } from '@mui/material';
3
3
  export declare const SettingsFieldSet: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
4
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
4
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
5
5
  }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
6
6
  interface SlippageDefaultProps {
7
7
  selected?: boolean;
8
8
  }
9
9
  export declare const SlippageDefaultButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonBaseOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
11
- }, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<Theme> & SlippageDefaultProps, {}, {}>;
11
+ }, "children" | "sx" | "style" | "className" | "tabIndex" | "disabled" | "action" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<Theme> & SlippageDefaultProps, {}, {}>;
12
12
  export declare const SlippageCustomInput: import("@emotion/styled").StyledComponent<import("@mui/material").InputBaseProps & import("@mui/system").MUIStyledCommonProps<Theme> & SlippageDefaultProps, {}, {}>;
13
13
  export declare const SlippageLimitsWarningContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
14
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
15
15
  }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
16
16
  export {};
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
4
- }, "className" | "style" | "classes" | "children" | "sx" | "maxWidth" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, "fixed" | "maxWidth" | "children" | "sx" | "style" | "className" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -3,10 +3,10 @@ import type { Theme } from '@mui/material';
3
3
  import { RouteExecutionStatus } from '../../stores';
4
4
  type StatusColor = RouteExecutionStatus | 'warning';
5
5
  export declare const CenterContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
6
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
7
7
  }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
8
8
  export declare const IconCircle: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
9
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
10
  }, keyof import("@mui/system").BoxOwnProps<Theme>> & import("@mui/system").MUIStyledCommonProps<Theme> & {
11
11
  status: StatusColor;
12
12
  }, {}, {}>;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
4
- }, "className" | "style" | "classes" | "children" | "sx" | "maxWidth" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, "fixed" | "maxWidth" | "children" | "sx" | "style" | "className" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"I18nProvider.js","sourceRoot":"","sources":["../../../../../src/providers/I18nProvider/I18nProvider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAQ,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,KAAK,kBAAkB,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGnE,MAAM,CAAC,MAAM,YAAY,GAAsC,CAAC,EAC9D,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,CAAC;IAC3D,MAAM,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC;IAE/C,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE;QACxB,IAAI,SAAS,GAAI,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAmB;aAC/D,MAAM,CA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C,QAAQ,EAAE,iBAAiB,EAAE,SAAS,CAAC,CAAC,CAAC;IAE7C,OAAO,KAAC,eAAe,IAAC,IAAI,EAAE,IAAY,YAAG,QAAQ,GAAmB,CAAC;AAC3E,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useMediaQuery } from '@mui/material';
3
2
  import { ThemeProvider as MuiThemeProvider } from '@mui/material/styles';
3
+ import useMediaQuery from '@mui/material/useMediaQuery';
4
4
  import { useEffect, useMemo, useState } from 'react';
5
5
  import { createTheme } from '../../config/theme';
6
6
  import { useAppearance } from '../../stores';
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.js","sourceRoot":"","sources":["../../../../../src/providers/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAC,MAAM,aAAa,GAA0C,CAAC,EACnE,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,eAAe,EAAE,CAAC;IAC9E,MAAM,eAAe,GAAG,aAAa,CAAC,8BAA8B,CAAC,CAAC;IACtE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,aAAa,EAAE,CAAC;IACpD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAC9B,eAAe,IAAI,UAAU,KAAK,MAAM;QACtC,CAAC,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  import { useTranslation } from 'react-i18next';
3
3
  import { useNavigate } from 'react-router-dom';
4
4
  import { useAccount } from '../../hooks';
@@ -7,7 +7,7 @@ import {
7
7
  useState,
8
8
  } from 'react';
9
9
  import { useGetScrollableContainer } from '../../hooks';
10
- import { backdropProps, modalProps, paperProps } from '../Dialog';
10
+ import { modalProps, paperProps, slotProps } from '../Dialog';
11
11
  import type { BottomSheetBase, BottomSheetProps } from './types';
12
12
 
13
13
  export const BottomSheet = forwardRef<BottomSheetBase, BottomSheetProps>(
@@ -44,7 +44,7 @@ export const BottomSheet = forwardRef<BottomSheetBase, BottomSheetProps>(
44
44
  onClose={close}
45
45
  ModalProps={modalProps}
46
46
  PaperProps={paperProps}
47
- BackdropProps={backdropProps}
47
+ slotProps={slotProps}
48
48
  disableAutoFocus
49
49
  >
50
50
  {children}
@@ -19,11 +19,13 @@ export const paperProps = {
19
19
  }),
20
20
  };
21
21
 
22
- export const backdropProps = {
23
- sx: {
24
- position: 'absolute',
25
- backgroundColor: 'rgb(0 0 0 / 32%)',
26
- backdropFilter: 'blur(3px)',
22
+ export const slotProps = {
23
+ backdrop: {
24
+ sx: {
25
+ position: 'absolute',
26
+ backgroundColor: 'rgb(0 0 0 / 32%)',
27
+ backdropFilter: 'blur(3px)',
28
+ },
27
29
  },
28
30
  };
29
31
 
@@ -40,7 +42,7 @@ export const Dialog: React.FC<PropsWithChildren<DialogProps>> = ({
40
42
  onClose={onClose}
41
43
  sx={modalProps.sx}
42
44
  PaperProps={paperProps}
43
- BackdropProps={backdropProps}
45
+ slotProps={slotProps}
44
46
  >
45
47
  {children}
46
48
  </MuiDialog>
@@ -1,5 +1,7 @@
1
1
  import ArrowBackIcon from '@mui/icons-material/ArrowBack';
2
- import { Box, IconButton, Tooltip, Typography } from '@mui/material';
2
+ import ReceiptLongIcon from '@mui/icons-material/ReceiptLong';
3
+ import { Box, Tooltip, Typography } from '@mui/material';
4
+ import IconButton from '@mui/material/IconButton';
3
5
  import { useTranslation } from 'react-i18next';
4
6
  import { Route, Routes, useLocation } from 'react-router-dom';
5
7
  import { useAccount, useNavigateBack } from '../../hooks';
@@ -13,9 +15,8 @@ import {
13
15
  } from '../../utils';
14
16
  import { HeaderAppBar, HeaderControlsContainer } from './Header.style';
15
17
  import { NavigationTabs } from './NavigationTabs';
16
- import { WalletMenuButton } from './WalletHeader';
17
18
  import { SettingsButton } from './SettingsButton';
18
- import ReceiptLongIcon from '@mui/icons-material/ReceiptLong';
19
+ import { WalletMenuButton } from './WalletHeader';
19
20
 
20
21
  export const TransactionHistoryButton = () => {
21
22
  const { t } = useTranslation();
@@ -1,5 +1,6 @@
1
- import { IconButton, Badge as MuiBadge } from '@mui/material';
1
+ import { Badge as MuiBadge } from '@mui/material';
2
2
  import { badgeClasses } from '@mui/material/Badge';
3
+ import IconButton from '@mui/material/IconButton';
3
4
  import { darken, styled } from '@mui/material/styles';
4
5
  import { getInfoBackgroundColor, getWarningBackgroundColor } from '../../utils';
5
6
 
@@ -16,13 +17,13 @@ export const SettingsIconBadge = styled(MuiBadge)(({ theme }) => ({
16
17
  }));
17
18
 
18
19
  interface SettingsIconButtonProps {
19
- notification?: 'info' | 'warning';
20
+ variant?: 'info' | 'warning';
20
21
  }
21
22
 
22
23
  export const SettingsIconButton = styled(IconButton, {
23
- shouldForwardProp: (props) => props !== 'notification',
24
- })<SettingsIconButtonProps>(({ theme, notification }) => {
25
- const notificationStyles = {
24
+ shouldForwardProp: (props) => props !== 'variant',
25
+ })<SettingsIconButtonProps>(({ theme, variant }) => {
26
+ const variantStyles = {
26
27
  info: {
27
28
  backgroundColor: getInfoBackgroundColor(theme),
28
29
  '&:hover': {
@@ -42,6 +43,6 @@ export const SettingsIconButton = styled(IconButton, {
42
43
 
43
44
  return {
44
45
  borderRadius: 20,
45
- ...notificationStyles[notification ?? 'default'],
46
+ ...variantStyles[variant ?? 'default'],
46
47
  };
47
48
  });
@@ -1,6 +1,6 @@
1
- import { useTranslation } from 'react-i18next';
2
- import { Tooltip } from '@mui/material';
3
1
  import SettingsIcon from '@mui/icons-material/Settings';
2
+ import { Tooltip } from '@mui/material';
3
+ import { useTranslation } from 'react-i18next';
4
4
  import { useNavigateBack, useSettingMonitor } from '../../hooks';
5
5
  import { navigationRoutes } from '../../utils';
6
6
  import { SettingsIconBadge, SettingsIconButton } from './SettingsButton.style';
@@ -12,13 +12,13 @@ export const SettingsButton = () => {
12
12
  const { isCustomRouteSettings, isRouteSettingsWithWarnings } =
13
13
  useSettingMonitor();
14
14
 
15
- const notification = isRouteSettingsWithWarnings
15
+ const variant = isRouteSettingsWithWarnings
16
16
  ? 'warning'
17
17
  : isCustomRouteSettings
18
18
  ? 'info'
19
19
  : undefined;
20
20
 
21
- const tooltipMessage = notification
21
+ const tooltipMessage = variant
22
22
  ? t(`tooltip.settingsModified`)
23
23
  : t(`header.settings`);
24
24
 
@@ -27,10 +27,10 @@ export const SettingsButton = () => {
27
27
  <SettingsIconButton
28
28
  size="medium"
29
29
  onClick={() => navigate(navigationRoutes.settings)}
30
- notification={notification}
30
+ variant={variant}
31
31
  >
32
- {notification ? (
33
- <SettingsIconBadge variant="dot" color={notification}>
32
+ {variant ? (
33
+ <SettingsIconBadge variant="dot" color={variant}>
34
34
  <SettingsIcon />
35
35
  </SettingsIconBadge>
36
36
  ) : (
@@ -1,5 +1,6 @@
1
1
  import type { BoxProps, Theme } from '@mui/material';
2
- import { Box, useMediaQuery } from '@mui/material';
2
+ import { Box } from '@mui/material';
3
+ import useMediaQuery from '@mui/material/useMediaQuery';
3
4
  import { useWatch } from 'react-hook-form';
4
5
  import { ReverseTokensButton } from '../components/ReverseTokensButton';
5
6
  import { SelectTokenButton } from '../components/SelectTokenButton';
@@ -1,5 +1,6 @@
1
1
  import WalletIcon from '@mui/icons-material/Wallet';
2
- import { Button, Tooltip } from '@mui/material';
2
+ import Button from '@mui/material/Button';
3
+ import Tooltip from '@mui/material/Tooltip';
3
4
  import { useFormContext } from 'react-hook-form';
4
5
  import { useTranslation } from 'react-i18next';
5
6
  import { useRequiredToAddress, useWidgetEvents } from '../../hooks';
@@ -1,4 +1,5 @@
1
1
  import { loadingButtonClasses } from '@mui/lab/LoadingButton';
2
+ import type {} from '@mui/lab/themeAugmentation';
2
3
  import type { PaletteMode, SimplePaletteColorOptions } from '@mui/material';
3
4
  import { touchRippleClasses } from '@mui/material/ButtonBase';
4
5
  import { dialogActionsClasses } from '@mui/material/DialogActions';
@@ -15,15 +16,6 @@ import {
15
16
  import type { ThemeConfig } from '../types';
16
17
 
17
18
  // https://mui.com/customization/palette/
18
- // declare module '@mui/material/styles' {
19
- // interface Palette {
20
- // appBar: Palette['primary'];
21
- // }
22
- // interface PaletteOptions {
23
- // appBar?: PaletteOptions['primary'];
24
- // }
25
- // }
26
-
27
19
  declare module '@mui/material/styles' {
28
20
  interface TypographyVariants {
29
21
  '@supports (font-variation-settings: normal)': React.CSSProperties;
@@ -1,2 +1,2 @@
1
1
  export const name = '@lifi/widget';
2
- export const version = '3.0.0-alpha.2';
2
+ export const version = '3.0.0-alpha.3';
@@ -1,5 +1,5 @@
1
1
  import type { Theme } from '@mui/material';
2
- import { useMediaQuery } from '@mui/material';
2
+ import useMediaQuery from '@mui/material/useMediaQuery';
3
3
  import { useWidgetConfig } from '../providers';
4
4
 
5
5
  const defaultExpandableWidth = 852;
@@ -1,4 +1,4 @@
1
- import { useTheme } from '@mui/material';
1
+ import { useTheme } from '@mui/material/styles';
2
2
  import type { SVGProps } from 'react';
3
3
 
4
4
  export const InsuraceLogo = (props: SVGProps<SVGSVGElement>) => {
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { App } from './App';
2
1
  export { useFormContext, useWatch } from 'react-hook-form';
2
+ export { App as LiFiWidget } from './App';
3
3
  export type { WidgetDrawer } from './AppDrawer';
4
4
  export * from './components/NFT';
5
5
  export * from './config/version';
@@ -16,5 +16,3 @@ export * from './types';
16
16
  // ClassNameGenerator.configure((componentName) =>
17
17
  // componentName.replace('Mui', 'LiFi'),
18
18
  // );
19
-
20
- export const LiFiWidget = App;
@@ -7,8 +7,8 @@ import {
7
7
  DialogContent,
8
8
  DialogContentText,
9
9
  List,
10
- useMediaQuery,
11
10
  } from '@mui/material';
11
+ import useMediaQuery from '@mui/material/useMediaQuery';
12
12
  import { WalletReadyState } from '@solana/wallet-adapter-base';
13
13
  import type { Wallet } from '@solana/wallet-adapter-react';
14
14
  import { useWallet } from '@solana/wallet-adapter-react';
@@ -1,5 +1,6 @@
1
+ import { Box } from '@mui/material';
2
+ import { styled } from '@mui/material/styles';
1
3
  import { getContrastAlphaColor } from '../../utils';
2
- import { Box, styled } from '@mui/material';
3
4
 
4
5
  export const ResetButtonContainer = styled(Box)(({ theme }) => ({
5
6
  background: getContrastAlphaColor(theme.palette.mode, '4%'),
@@ -1,4 +1,5 @@
1
- import { createInstance, i18n } from 'i18next';
1
+ import type { i18n } from 'i18next';
2
+ import { createInstance } from 'i18next';
2
3
  import { useMemo } from 'react';
3
4
  import { I18nextProvider, initReactI18next } from 'react-i18next';
4
5
  import * as supportedLanguages from '../../i18n';
@@ -1,6 +1,6 @@
1
1
  import type { PaletteMode } from '@mui/material';
2
- import { useMediaQuery } from '@mui/material';
3
2
  import { ThemeProvider as MuiThemeProvider } from '@mui/material/styles';
3
+ import useMediaQuery from '@mui/material/useMediaQuery';
4
4
  import { useEffect, useMemo, useState } from 'react';
5
5
  import { createTheme } from '../../config/theme';
6
6
  import { useAppearance } from '../../stores';