@lifi/widget 2.4.3 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AppDrawer.js +4 -3
- package/AppDrawer.style.d.ts +7 -44
- package/AppDrawer.style.js +11 -1
- package/cjs/AppDrawer.js +3 -2
- package/cjs/AppDrawer.style.d.ts +7 -44
- package/cjs/AppDrawer.style.js +11 -1
- package/cjs/components/ActiveTransactions/ActiveTransactions.style.d.ts +6 -65
- package/cjs/components/AmountInput/AmountInput.style.d.ts +2 -16
- package/cjs/components/AmountInput/AmountInputAdornment.style.d.ts +2 -32
- package/cjs/components/AppContainer.d.ts +4 -16
- package/cjs/components/Card/Card.d.ts +3 -8
- package/cjs/components/Card/CardHeader.d.ts +2 -16
- package/cjs/components/Card/CardIconButton.d.ts +2 -27
- package/cjs/components/Card/CardLabel.d.ts +4 -19
- package/cjs/components/Card/CardTitle.d.ts +2 -12
- package/cjs/components/ChainSelect/ChainSelect.style.d.ts +5 -15
- package/cjs/components/GasMessage/GasMessage.style.d.ts +8 -28
- package/cjs/components/Header/Header.style.d.ts +9 -54
- package/cjs/components/Header/Header.style.js +9 -1
- package/cjs/components/Header/NavigationHeader.js +2 -2
- package/cjs/components/Header/NavigationTabs.style.d.ts +4 -29
- package/cjs/components/Header/WalletHeader.js +6 -2
- package/cjs/components/ListItemButton.d.ts +2 -18
- package/cjs/components/NFT/NFT.style.d.ts +2 -14
- package/cjs/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +2 -27
- package/cjs/components/RouteCard/RouteCard.style.d.ts +2 -12
- package/cjs/components/Routes/RoutesExpanded.style.d.ts +8 -28
- package/cjs/components/SelectTokenButton/SelectTokenButton.style.d.ts +2 -16
- package/cjs/components/SendToWallet/SendToWallet.js +4 -1
- package/cjs/components/SendToWallet/SendToWallet.style.d.ts +2 -16
- package/cjs/components/SmallAvatar.d.ts +6 -31
- package/cjs/components/Step/CircularProgress.style.d.ts +2 -7
- package/cjs/components/StepActions/StepActions.style.d.ts +2 -14
- package/cjs/components/StepDivider/StepDivider.style.d.ts +2 -9
- package/cjs/components/Token/Token.style.d.ts +6 -26
- package/cjs/components/TokenAvatar/TokenAvatar.style.d.ts +4 -14
- package/cjs/components/TokenList/TokenList.style.d.ts +4 -33
- package/cjs/config/version.d.ts +1 -1
- package/cjs/config/version.js +1 -1
- package/cjs/pages/MainPage/MainPage.style.d.ts +2 -9
- package/cjs/pages/RoutesPage/RoutesPage.style.d.ts +2 -9
- package/cjs/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.style.d.ts +2 -18
- package/cjs/pages/SelectWalletPage/SelectWalletPage.js +6 -1
- package/cjs/pages/SettingsPage/ColorSchemeButtonGroup.style.d.ts +2 -31
- package/cjs/pages/SettingsPage/EnabledToolsButton.style.d.ts +2 -18
- package/cjs/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +2 -9
- package/cjs/pages/TransactionPage/StatusBottomSheet.style.d.ts +4 -14
- package/cjs/pages/TransactionPage/TransactionPage.style.d.ts +2 -9
- package/cjs/stores/chains/ChainOrderStore.d.ts +3 -2
- package/cjs/stores/chains/createChainOrderStore.d.ts +1 -1
- package/cjs/stores/chains/createChainOrderStore.js +3 -3
- package/cjs/stores/header/types.d.ts +3 -2
- package/cjs/stores/header/useHeaderStore.d.ts +1 -1
- package/cjs/stores/header/useHeaderStore.js +3 -3
- package/cjs/stores/routes/RouteExecutionStore.d.ts +3 -2
- package/cjs/stores/routes/createRouteExecutionStore.d.ts +1 -1
- package/cjs/stores/routes/createRouteExecutionStore.js +3 -3
- package/cjs/stores/settings/types.d.ts +3 -2
- package/cjs/stores/settings/useSendToWalletStore.d.ts +1 -1
- package/cjs/stores/settings/useSendToWalletStore.js +3 -3
- package/cjs/stores/settings/useSettingsStore.d.ts +1 -1
- package/cjs/stores/settings/useSettingsStore.js +3 -3
- package/cjs/stores/settings/useSplitSubvariantStore.d.ts +1 -1
- package/cjs/stores/settings/useSplitSubvariantStore.js +3 -3
- package/components/ActiveTransactions/ActiveTransactions.style.d.ts +6 -65
- package/components/AmountInput/AmountInput.style.d.ts +2 -16
- package/components/AmountInput/AmountInputAdornment.style.d.ts +2 -32
- package/components/AppContainer.d.ts +4 -16
- package/components/Card/Card.d.ts +3 -8
- package/components/Card/CardHeader.d.ts +2 -16
- package/components/Card/CardIconButton.d.ts +2 -27
- package/components/Card/CardLabel.d.ts +4 -19
- package/components/Card/CardTitle.d.ts +2 -12
- package/components/ChainSelect/ChainSelect.style.d.ts +5 -15
- package/components/GasMessage/GasMessage.style.d.ts +8 -28
- package/components/Header/Header.style.d.ts +9 -54
- package/components/Header/Header.style.js +8 -0
- package/components/Header/NavigationHeader.js +3 -3
- package/components/Header/NavigationTabs.style.d.ts +4 -29
- package/components/Header/WalletHeader.js +7 -3
- package/components/ListItemButton.d.ts +2 -18
- package/components/NFT/NFT.style.d.ts +2 -14
- package/components/ReverseTokensButton/ReverseTokensButton.style.d.ts +2 -27
- package/components/RouteCard/RouteCard.style.d.ts +2 -12
- package/components/Routes/RoutesExpanded.style.d.ts +8 -28
- package/components/SelectTokenButton/SelectTokenButton.style.d.ts +2 -16
- package/components/SendToWallet/SendToWallet.js +4 -1
- package/components/SendToWallet/SendToWallet.style.d.ts +2 -16
- package/components/SmallAvatar.d.ts +6 -31
- package/components/Step/CircularProgress.style.d.ts +2 -7
- package/components/StepActions/StepActions.style.d.ts +2 -14
- package/components/StepDivider/StepDivider.style.d.ts +2 -9
- package/components/Token/Token.style.d.ts +6 -26
- package/components/TokenAvatar/TokenAvatar.style.d.ts +4 -14
- package/components/TokenList/TokenList.style.d.ts +4 -33
- package/config/version.d.ts +1 -1
- package/config/version.js +1 -1
- package/package.json +14 -14
- package/pages/MainPage/MainPage.style.d.ts +2 -9
- package/pages/RoutesPage/RoutesPage.style.d.ts +2 -9
- package/pages/SelectEnabledToolsPage/SelectEnabledToolsPage.style.d.ts +2 -18
- package/pages/SelectWalletPage/SelectWalletPage.js +7 -2
- package/pages/SettingsPage/ColorSchemeButtonGroup.style.d.ts +2 -31
- package/pages/SettingsPage/EnabledToolsButton.style.d.ts +2 -18
- package/pages/TransactionDetailsPage/TransactionDetailsPage.style.d.ts +2 -9
- package/pages/TransactionPage/StatusBottomSheet.style.d.ts +4 -14
- package/pages/TransactionPage/TransactionPage.style.d.ts +2 -9
- package/stores/chains/ChainOrderStore.d.ts +3 -2
- package/stores/chains/createChainOrderStore.d.ts +1 -1
- package/stores/chains/createChainOrderStore.js +3 -3
- package/stores/header/types.d.ts +3 -2
- package/stores/header/useHeaderStore.d.ts +1 -1
- package/stores/header/useHeaderStore.js +3 -3
- package/stores/routes/RouteExecutionStore.d.ts +3 -2
- package/stores/routes/createRouteExecutionStore.d.ts +1 -1
- package/stores/routes/createRouteExecutionStore.js +3 -3
- package/stores/settings/types.d.ts +3 -2
- package/stores/settings/useSendToWalletStore.d.ts +1 -1
- package/stores/settings/useSendToWalletStore.js +3 -3
- package/stores/settings/useSettingsStore.d.ts +1 -1
- package/stores/settings/useSettingsStore.js +3 -3
- package/stores/settings/useSplitSubvariantStore.d.ts +1 -1
- package/stores/settings/useSplitSubvariantStore.js +3 -3
- package/tsconfig.cjs.tsbuildinfo +1 -1
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CardLabel: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
component?: import("react").ElementType<any> | undefined;
|
|
5
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
6
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const CardLabel: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
9
|
-
},
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
10
5
|
type?: "insurance" | "active" | "insurance-icon" | undefined;
|
|
11
6
|
}, {}, {}>;
|
|
12
|
-
export declare const CardLabelTypography: import("@emotion/styled").StyledComponent<import("@mui/
|
|
13
|
-
align?: "center" | "left" | "right" | "inherit" | "justify" | undefined;
|
|
14
|
-
children?: import("react").ReactNode;
|
|
15
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
16
|
-
gutterBottom?: boolean | undefined;
|
|
17
|
-
noWrap?: boolean | undefined;
|
|
18
|
-
paragraph?: boolean | undefined;
|
|
19
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
20
|
-
variant?: import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides> | undefined;
|
|
21
|
-
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
22
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
7
|
+
export declare const CardLabelTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
23
8
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
24
|
-
},
|
|
9
|
+
}, "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" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "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" | "overflow" | "padding" | "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> & {
|
|
25
10
|
type?: "icon" | undefined;
|
|
26
11
|
}, {}, {}>;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CardTitle: import("@emotion/styled").StyledComponent<import("@mui/
|
|
3
|
-
align?: "center" | "left" | "right" | "inherit" | "justify" | undefined;
|
|
4
|
-
children?: import("react").ReactNode;
|
|
5
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
6
|
-
gutterBottom?: boolean | undefined;
|
|
7
|
-
noWrap?: boolean | undefined;
|
|
8
|
-
paragraph?: boolean | undefined;
|
|
9
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
10
|
-
variant?: import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides> | undefined;
|
|
11
|
-
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
12
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
|
+
export declare const CardTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
3
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
},
|
|
4
|
+
}, "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" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "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" | "overflow" | "padding" | "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> & {
|
|
15
5
|
required?: boolean | undefined;
|
|
16
6
|
}, {}, {}>;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ChainCard: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
component?: import("react").ElementType<any> | undefined;
|
|
5
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
6
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const ChainCard: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
9
|
-
},
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
10
5
|
variant?: ("default" | "error" | "selected") | undefined;
|
|
11
6
|
selectionColor?: "primary" | "secondary" | undefined;
|
|
12
7
|
indented?: boolean | undefined;
|
|
@@ -14,12 +9,7 @@ export declare const ChainCard: import("@emotion/styled").StyledComponent<import
|
|
|
14
9
|
pointerEvents?: "none" | "auto" | undefined;
|
|
15
10
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
11
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
17
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps |
|
|
18
|
-
export declare const ChainContainer: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
component?: import("react").ElementType<any> | undefined;
|
|
21
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
22
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
23
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>>, {}, {}>;
|
|
13
|
+
export declare const ChainContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
24
14
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
25
|
-
},
|
|
15
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,34 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const WarningMessageCard: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
component?: import("react").ElementType<any> | undefined;
|
|
5
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
6
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const WarningMessageCard: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
9
|
-
},
|
|
10
|
-
export declare const WarningMessageCardTitle: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
11
|
-
children?: import("react").ReactNode;
|
|
12
|
-
component?: import("react").ElementType<any> | undefined;
|
|
13
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const WarningMessageCardTitle: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
6
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
17
|
-
},
|
|
18
|
-
export declare const InfoMessageCard: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
component?: import("react").ElementType<any> | undefined;
|
|
21
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
22
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
23
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
+
export declare const InfoMessageCard: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
24
9
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
25
|
-
},
|
|
26
|
-
export declare const InfoMessageCardTitle: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
27
|
-
children?: import("react").ReactNode;
|
|
28
|
-
component?: import("react").ElementType<any> | undefined;
|
|
29
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
30
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
31
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
export declare const InfoMessageCardTitle: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
12
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
33
|
-
},
|
|
13
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
34
14
|
export declare const InfoMessageSwitch: import("@emotion/styled").StyledComponent<import("@mui/material").SwitchProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,60 +1,15 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const HeaderAppBar: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
classes?: Partial<import("@mui/material").AppBarClasses> | undefined;
|
|
4
|
-
color?: import("@mui/types").OverridableStringUnion<"transparent" | import("@mui/material").PropTypes.Color, import("@mui/material").AppBarPropsColorOverrides> | undefined;
|
|
5
|
-
enableColorOnDark?: boolean | undefined;
|
|
6
|
-
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
7
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
8
|
-
} & Omit<{
|
|
9
|
-
children?: import("react").ReactNode;
|
|
10
|
-
classes?: Partial<import("@mui/material").PaperClasses> | undefined;
|
|
11
|
-
elevation?: number | undefined;
|
|
12
|
-
square?: boolean | undefined;
|
|
13
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
-
variant?: import("@mui/types").OverridableStringUnion<"outlined" | "elevation", import("@mui/material").PaperPropsVariantOverrides> | undefined;
|
|
15
|
-
}, "classes" | "color" | "position"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
2
|
+
export declare const HeaderAppBar: import("@emotion/styled").StyledComponent<import("@mui/material").AppBarOwnProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "color" | "position"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
16
3
|
ref?: ((instance: HTMLElement | null) => void) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
17
|
-
},
|
|
18
|
-
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
component?: import("react").ElementType<any> | undefined;
|
|
21
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
22
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
23
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "color" | "position" | "variant" | "square" | "elevation" | "enableColorOnDark"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
24
6
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
25
|
-
},
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
26
8
|
sticky?: boolean | undefined;
|
|
27
9
|
}, {}, {}>;
|
|
28
|
-
export declare const WalletButton: import("@emotion/styled").StyledComponent<{
|
|
29
|
-
children?: import("react").ReactNode;
|
|
30
|
-
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
31
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").ButtonPropsColorOverrides> | undefined;
|
|
32
|
-
disabled?: boolean | undefined;
|
|
33
|
-
disableElevation?: boolean | undefined;
|
|
34
|
-
disableFocusRipple?: boolean | undefined;
|
|
35
|
-
endIcon?: import("react").ReactNode;
|
|
36
|
-
fullWidth?: boolean | undefined;
|
|
37
|
-
href?: string | undefined;
|
|
38
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").ButtonPropsSizeOverrides> | undefined;
|
|
39
|
-
startIcon?: import("react").ReactNode;
|
|
40
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
41
|
-
variant?: import("@mui/types").OverridableStringUnion<"text" | "outlined" | "contained", import("@mui/material").ButtonPropsVariantOverrides> | undefined;
|
|
42
|
-
} & Omit<{
|
|
43
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
44
|
-
centerRipple?: boolean | undefined;
|
|
45
|
-
children?: import("react").ReactNode;
|
|
46
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
47
|
-
disabled?: boolean | undefined;
|
|
48
|
-
disableRipple?: boolean | undefined;
|
|
49
|
-
disableTouchRipple?: boolean | undefined;
|
|
50
|
-
focusRipple?: boolean | undefined;
|
|
51
|
-
focusVisibleClassName?: string | undefined;
|
|
52
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
53
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
54
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
55
|
-
tabIndex?: number | undefined;
|
|
56
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
57
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
58
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
10
|
+
export declare const WalletButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
59
11
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
60
|
-
},
|
|
12
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
|
+
export declare const DrawerWalletContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
+
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
15
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WalletButton = exports.Container = exports.HeaderAppBar = void 0;
|
|
3
|
+
exports.DrawerWalletContainer = exports.WalletButton = exports.Container = exports.HeaderAppBar = void 0;
|
|
4
4
|
const material_1 = require("@mui/material");
|
|
5
5
|
const Button_1 = require("@mui/material/Button");
|
|
6
6
|
const styles_1 = require("@mui/material/styles");
|
|
@@ -46,3 +46,11 @@ exports.WalletButton = (0, styles_1.styled)(material_1.Button)(({ theme }) => ({
|
|
|
46
46
|
fontSize: '24px',
|
|
47
47
|
},
|
|
48
48
|
}));
|
|
49
|
+
exports.DrawerWalletContainer = (0, styles_1.styled)(material_1.Box)(() => ({
|
|
50
|
+
width: '100%',
|
|
51
|
+
display: 'flex',
|
|
52
|
+
justifyItems: 'start',
|
|
53
|
+
'& > button': {
|
|
54
|
+
marginLeft: '-0.5rem',
|
|
55
|
+
},
|
|
56
|
+
}));
|
|
@@ -18,7 +18,7 @@ const NavigationTabs_1 = require("./NavigationTabs");
|
|
|
18
18
|
const WalletHeader_1 = require("./WalletHeader");
|
|
19
19
|
const NavigationHeader = () => {
|
|
20
20
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
21
|
-
const { subvariant, hiddenUI } = (0, providers_1.useWidgetConfig)();
|
|
21
|
+
const { subvariant, hiddenUI, variant } = (0, providers_1.useWidgetConfig)();
|
|
22
22
|
const { navigate, navigateBack } = (0, hooks_1.useNavigateBack)();
|
|
23
23
|
const { account } = (0, providers_1.useWallet)();
|
|
24
24
|
const { element, title } = (0, stores_1.useHeaderStore)((state) => state);
|
|
@@ -81,7 +81,7 @@ const NavigationHeader = () => {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Header_style_1.HeaderAppBar, { elevation: 0, children: [utils_1.backButtonRoutes.includes(path) ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "medium", edge: "start", onClick: navigateBack, children: (0, jsx_runtime_1.jsx)(ArrowBack_1.default, {}) })) : null, splitSubvariant ? ((0, jsx_runtime_1.jsx)(material_1.Box, { flex: 1, children: !hiddenUI?.includes(types_1.HiddenUI.WalletMenu) ? ((0, jsx_runtime_1.jsx)(WalletHeader_1.WalletMenuButton, {})) : null })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: hasPath ? 18 : 24, align: hasPath ? 'center' : 'left', fontWeight: "700", flex: 1, noWrap: true, children: title || handleHeaderTitle() })), (0, jsx_runtime_1.jsxs)(react_router_dom_1.Routes, { children: [(0, jsx_runtime_1.jsx)(react_router_dom_1.Route, { path: utils_1.navigationRoutes.home, element: (0, jsx_runtime_1.jsxs)(
|
|
84
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Header_style_1.HeaderAppBar, { elevation: 0, children: [utils_1.backButtonRoutes.includes(path) ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "medium", edge: "start", onClick: navigateBack, children: (0, jsx_runtime_1.jsx)(ArrowBack_1.default, {}) })) : null, splitSubvariant ? ((0, jsx_runtime_1.jsx)(material_1.Box, { flex: 1, children: !hiddenUI?.includes(types_1.HiddenUI.WalletMenu) ? ((0, jsx_runtime_1.jsx)(WalletHeader_1.WalletMenuButton, {})) : null })) : ((0, jsx_runtime_1.jsx)(material_1.Typography, { fontSize: hasPath ? 18 : 24, align: hasPath ? 'center' : 'left', fontWeight: "700", flex: 1, noWrap: true, children: title || handleHeaderTitle() })), (0, jsx_runtime_1.jsxs)(react_router_dom_1.Routes, { children: [(0, jsx_runtime_1.jsx)(react_router_dom_1.Route, { path: utils_1.navigationRoutes.home, element: (0, jsx_runtime_1.jsxs)(material_1.Box, { paddingRight: variant === 'drawer' && subvariant === 'split' ? 5 : 0, children: [account.isActive && !hiddenUI?.includes(types_1.HiddenUI.History) ? ((0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: t(`header.transactionHistory`), enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "medium", edge: "start", onClick: () => navigate(utils_1.navigationRoutes.transactionHistory), children: (0, jsx_runtime_1.jsx)(ReceiptLong_1.default, {}) }) })) : null, (0, jsx_runtime_1.jsx)(material_1.Tooltip, { title: t(`header.settings`), enterDelay: 400, arrow: true, children: (0, jsx_runtime_1.jsx)(material_1.IconButton, { size: "medium", onClick: () => navigate(utils_1.navigationRoutes.settings), sx: {
|
|
85
85
|
marginRight: -1.25,
|
|
86
86
|
}, children: (0, jsx_runtime_1.jsx)(Settings_1.default, {}) }) })] }) }), (0, jsx_runtime_1.jsx)(react_router_dom_1.Route, { path: "*", element: element || (0, jsx_runtime_1.jsx)(material_1.Box, { width: 28, height: 40 }) })] })] }), splitSubvariant ? (0, jsx_runtime_1.jsx)(NavigationTabs_1.NavigationTabs, {}) : null] }));
|
|
87
87
|
};
|
|
@@ -2,33 +2,8 @@
|
|
|
2
2
|
import type { StyledComponent } from '@emotion/styled';
|
|
3
3
|
import type { TabsProps } from '@mui/material';
|
|
4
4
|
export declare const NavbarTabs: StyledComponent<TabsProps>;
|
|
5
|
-
export declare const NavbarTab: StyledComponent<{
|
|
6
|
-
children?: null | undefined;
|
|
7
|
-
classes?: Partial<import("@mui/material").TabClasses> | undefined;
|
|
8
|
-
disabled?: boolean | undefined;
|
|
9
|
-
disableFocusRipple?: boolean | undefined;
|
|
10
|
-
icon?: string | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
11
|
-
iconPosition?: "bottom" | "top" | "end" | "start" | undefined;
|
|
12
|
-
label?: import("react").ReactNode;
|
|
13
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
-
value?: any;
|
|
15
|
-
wrapped?: boolean | undefined;
|
|
16
|
-
} & Omit<{
|
|
17
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
18
|
-
centerRipple?: boolean | undefined;
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
21
|
-
disabled?: boolean | undefined;
|
|
22
|
-
disableRipple?: boolean | undefined;
|
|
23
|
-
disableTouchRipple?: boolean | undefined;
|
|
24
|
-
focusRipple?: boolean | undefined;
|
|
25
|
-
focusVisibleClassName?: string | undefined;
|
|
26
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
27
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
28
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
|
-
tabIndex?: number | undefined;
|
|
30
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
31
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
32
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
export declare const NavbarTab: 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"> & {
|
|
33
6
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
34
|
-
},
|
|
7
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "label" | "disableFocusRipple" | "value" | "icon" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
8
|
+
component?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, {}, {}>;
|
|
@@ -22,13 +22,17 @@ const WalletHeader = () => {
|
|
|
22
22
|
exports.WalletHeader = WalletHeader;
|
|
23
23
|
const WalletMenuButton = () => {
|
|
24
24
|
const { account } = (0, providers_1.useWallet)();
|
|
25
|
+
const { variant } = (0, providers_1.useWidgetConfig)();
|
|
26
|
+
if (variant === 'drawer') {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(Header_style_1.DrawerWalletContainer, { children: account.isActive ? (0, jsx_runtime_1.jsx)(ConnectedButton, {}) : (0, jsx_runtime_1.jsx)(ConnectButton, {}) }));
|
|
28
|
+
}
|
|
25
29
|
return account.isActive ? (0, jsx_runtime_1.jsx)(ConnectedButton, {}) : (0, jsx_runtime_1.jsx)(ConnectButton, {});
|
|
26
30
|
};
|
|
27
31
|
exports.WalletMenuButton = WalletMenuButton;
|
|
28
32
|
const ConnectButton = () => {
|
|
29
33
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
30
34
|
const { pathname } = (0, react_router_dom_1.useLocation)();
|
|
31
|
-
const { walletManagement, subvariant } = (0, providers_1.useWidgetConfig)();
|
|
35
|
+
const { walletManagement, subvariant, variant } = (0, providers_1.useWidgetConfig)();
|
|
32
36
|
const { connect: connectWallet } = (0, providers_1.useWallet)();
|
|
33
37
|
const navigate = (0, react_router_dom_1.useNavigate)();
|
|
34
38
|
const connect = async () => {
|
|
@@ -38,7 +42,7 @@ const ConnectButton = () => {
|
|
|
38
42
|
}
|
|
39
43
|
navigate(utils_1.navigationRoutes.selectWallet);
|
|
40
44
|
};
|
|
41
|
-
return ((0, jsx_runtime_1.jsx)(Header_style_1.WalletButton, { endIcon: subvariant !== 'split' ? (0, jsx_runtime_1.jsx)(Wallet_1.default, {}) : undefined, startIcon: subvariant === 'split' ? (0, jsx_runtime_1.jsx)(Wallet_1.default, {}) : undefined, onClick: !pathname.includes(utils_1.navigationRoutes.selectWallet) ? connect : undefined, sx: {
|
|
45
|
+
return ((0, jsx_runtime_1.jsx)(Header_style_1.WalletButton, { endIcon: variant !== 'drawer' && subvariant !== 'split' ? ((0, jsx_runtime_1.jsx)(Wallet_1.default, {})) : undefined, startIcon: variant === 'drawer' || subvariant === 'split' ? ((0, jsx_runtime_1.jsx)(Wallet_1.default, { sx: { marginLeft: -0.25 } })) : undefined, onClick: !pathname.includes(utils_1.navigationRoutes.selectWallet) ? connect : undefined, sx: {
|
|
42
46
|
marginRight: subvariant === 'split' ? 0 : -1.25,
|
|
43
47
|
marginLeft: subvariant === 'split' ? -1.25 : 0,
|
|
44
48
|
}, children: t(`button.connectWallet`) }));
|
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material").
|
|
3
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
4
|
-
centerRipple?: boolean | undefined;
|
|
5
|
-
children?: import("react").ReactNode;
|
|
6
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
disableRipple?: boolean | undefined;
|
|
9
|
-
disableTouchRipple?: boolean | undefined;
|
|
10
|
-
focusRipple?: boolean | undefined;
|
|
11
|
-
focusVisibleClassName?: string | undefined;
|
|
12
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
13
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
tabIndex?: number | undefined;
|
|
16
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
17
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
18
|
-
}, "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"> & {
|
|
19
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
20
|
-
}, "className" | "style" | "classes" | "
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "alignItems" | "divider" | "dense" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const PreviewAvatar: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
alt?: string | undefined;
|
|
4
|
-
children?: import("react").ReactNode;
|
|
5
|
-
classes?: Partial<import("@mui/material").AvatarClasses> | undefined;
|
|
6
|
-
imgProps?: (import("react").ImgHTMLAttributes<HTMLImageElement> & {
|
|
7
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
8
|
-
}) | undefined;
|
|
9
|
-
sizes?: string | undefined;
|
|
10
|
-
src?: string | undefined;
|
|
11
|
-
srcSet?: string | undefined;
|
|
12
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
13
|
-
variant?: import("@mui/types").OverridableStringUnion<"circular" | "rounded" | "square", import("@mui/material").AvatarPropsVariantOverrides> | undefined;
|
|
14
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const PreviewAvatar: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "variant" | "alt" | "imgProps" | "sizes" | "src" | "srcSet"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const IconButton: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
5
|
-
color?: import("@mui/types").OverridableStringUnion<"inherit" | "default" | "primary" | "secondary" | "error" | "warning" | "info" | "success", import("@mui/material").IconButtonPropsColorOverrides> | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
disableFocusRipple?: boolean | undefined;
|
|
8
|
-
edge?: false | "end" | "start" | undefined;
|
|
9
|
-
size?: import("@mui/types").OverridableStringUnion<"small" | "large" | "medium", import("@mui/material").IconButtonPropsSizeOverrides> | undefined;
|
|
10
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
|
-
} & Omit<{
|
|
12
|
-
action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
13
|
-
centerRipple?: boolean | undefined;
|
|
14
|
-
children?: import("react").ReactNode;
|
|
15
|
-
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
16
|
-
disabled?: boolean | undefined;
|
|
17
|
-
disableRipple?: boolean | undefined;
|
|
18
|
-
disableTouchRipple?: boolean | undefined;
|
|
19
|
-
focusRipple?: boolean | undefined;
|
|
20
|
-
focusVisibleClassName?: string | undefined;
|
|
21
|
-
LinkComponent?: import("react").ElementType<any> | undefined;
|
|
22
|
-
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
23
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
24
|
-
tabIndex?: number | undefined;
|
|
25
|
-
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
26
|
-
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
27
|
-
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
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"> & {
|
|
28
3
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
29
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "disableFocusRipple" | "size" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const IconTypography: import("@emotion/styled").StyledComponent<import("@mui/
|
|
3
|
-
align?: "center" | "left" | "right" | "inherit" | "justify" | undefined;
|
|
4
|
-
children?: import("react").ReactNode;
|
|
5
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
6
|
-
gutterBottom?: boolean | undefined;
|
|
7
|
-
noWrap?: boolean | undefined;
|
|
8
|
-
paragraph?: boolean | undefined;
|
|
9
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
10
|
-
variant?: import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides> | undefined;
|
|
11
|
-
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
12
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
|
+
export declare const IconTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
3
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
},
|
|
4
|
+
}, "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" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "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" | "overflow" | "padding" | "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>, {}, {}>;
|
|
@@ -1,33 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CollapseContainer: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
component?: import("react").ElementType<any> | undefined;
|
|
5
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
6
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
export declare const CollapseContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
3
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
9
|
-
},
|
|
10
|
-
export declare const ScrollableContainer: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
11
|
-
children?: import("react").ReactNode;
|
|
12
|
-
component?: import("react").ElementType<any> | undefined;
|
|
13
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
14
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
15
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
+
export declare const ScrollableContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
6
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
17
|
-
},
|
|
18
|
-
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
19
|
-
children?: import("react").ReactNode;
|
|
20
|
-
classes?: Partial<import("@mui/material").ScopedCssBaselineClasses> | undefined;
|
|
21
|
-
enableColorScheme?: boolean | undefined;
|
|
22
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
23
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
+
export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/material").ScopedCssBaselineOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
24
9
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
25
|
-
},
|
|
26
|
-
export declare const Header: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
27
|
-
children?: import("react").ReactNode;
|
|
28
|
-
component?: import("react").ElementType<any> | undefined;
|
|
29
|
-
ref?: import("react").Ref<unknown> | undefined;
|
|
30
|
-
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
31
|
-
} & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "enableColorScheme"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
|
+
export declare const Header: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
12
|
ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
33
|
-
},
|
|
13
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|