@funkit/connect 3.4.4 → 3.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/CHANGELOG.md +23 -0
- package/dist/components/FunAssetAvatar/FunAssetAvatar.css.d.ts +0 -1
- package/dist/components/FunCountdown/FunCountdown.d.ts +2 -1
- package/dist/components/FunDivider/FunDivider.d.ts +1 -2
- package/dist/components/FunInput/FunInput.d.ts +1 -2
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -5
- package/dist/components/FunNotification/FunNotification.d.ts +4 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +7 -15
- package/dist/components/FunSelect/FunSelect.d.ts +3 -4
- package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +4 -3
- package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +7 -2
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +2 -2
- package/dist/consts/funkit.d.ts +1 -0
- package/dist/domains/asset.d.ts +2 -0
- package/dist/domains/checkoutFees.d.ts +2 -1
- package/dist/{hooks/useCheckoutStateBooleans.d.ts → domains/checkoutState.d.ts} +1 -1
- package/dist/domains/quote.d.ts +6 -4
- package/dist/hooks/useAutoClearState.d.ts +4 -0
- package/dist/hooks/useCountdown.d.ts +8 -0
- package/dist/hooks/useMesh.d.ts +1 -1
- package/dist/index.css +66 -52
- package/dist/index.js +3218 -3409
- package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +17 -0
- package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +28 -0
- package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +22 -0
- package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +8 -0
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +5 -3
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +5 -2
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoading.d.ts +5 -2
- package/dist/modals/CheckoutModal/InputAmount/QuickOptions.d.ts +7 -0
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/useCheckoutQuote.d.ts +0 -1
- package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +1 -7
- package/dist/modals/CheckoutModal/SourceChange.d.ts +1 -1
- package/dist/modals/CheckoutModal/TransferToken.d.ts +2 -4
- package/dist/modals/CheckoutModal/stepTransition.d.ts +4 -7
- package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +7 -0
- package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +9 -0
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +0 -2
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +7 -2
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.css.d.ts +1 -0
- package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +1 -1
- package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +5 -2
- package/dist/providers/FunkitCheckoutContext.d.ts +1 -1
- package/dist/providers/GeneralWalletProvider.d.ts +10 -10
- package/dist/utils/aborts.d.ts +1 -0
- package/dist/utils/assets.d.ts +9 -9
- package/dist/utils/combineChainSymbolOrAddress.d.ts +1 -1
- package/dist/utils/deepMerge.d.ts +5 -0
- package/dist/utils/flags/config.d.ts +4 -1
- package/dist/utils/payment.d.ts +3 -3
- package/dist/wallets/walletConnectors/index.js +50 -50
- package/package.json +3 -3
- package/dist/components/FunPayments/FunPaymentMeshType.d.ts +0 -10
- package/dist/modals/CheckoutModal/SelectPaymentMethod.d.ts +0 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 3.4.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 81ea150: chore: copy tweaks
|
|
8
|
+
- bccd3bf: feat: add pure side effect free quote
|
|
9
|
+
- fd02d7a: fix: ensure compared amount is rounded
|
|
10
|
+
- bccd3bf: feat: update loading state visuals of input screen
|
|
11
|
+
- d1d7eb8: refactor: legalese copy changes
|
|
12
|
+
- 60ae0c4: feat: update condition showing wallet connect option in sources
|
|
13
|
+
- b34ccdd: fix: minimum order copy
|
|
14
|
+
- a12d187: feat: update account modal for dydx
|
|
15
|
+
- 30a2877: feat: move checkout limit to new max_checkout_usd flag
|
|
16
|
+
- ba157d6: fix: remove custom margins when tagline not in use
|
|
17
|
+
- b703b22: fix: show mesh execution errors where possible
|
|
18
|
+
- 4069475: feat: hide You will pay when source and target assets are both stablecoins
|
|
19
|
+
- bb7d1f9: feat: remove explicit continue from exchange selection screen
|
|
20
|
+
- bccd3bf: feat: simplify login type checking
|
|
21
|
+
- a8fa2ba: feat: merge mesh fees
|
|
22
|
+
- 049f852: fix: fix native token normalization check
|
|
23
|
+
- 177e40b: feat: remove select payment method page
|
|
24
|
+
- 4d3c747: fix: unify border color for sections inside checkout history page
|
|
25
|
+
|
|
3
26
|
## 3.4.4
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -10,5 +10,6 @@ export interface FunCountdownProps {
|
|
|
10
10
|
onCountdownLastSecond?: () => void;
|
|
11
11
|
children?: ReactNode | ((remainingSeconds: number) => ReactNode);
|
|
12
12
|
isHidden?: boolean;
|
|
13
|
+
showPending?: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare const FunCountdown: ({ countdownSeconds, initialRemainingSeconds, counterSize, onCountdownEnded, onBeforeCountdownEnds, onBeforeCountdownEndsSeconds, onCountdownLastSecond, strokeWidth, isHidden, children, }: FunCountdownProps) => React.JSX.Element | null;
|
|
15
|
+
export declare const FunCountdown: ({ countdownSeconds, initialRemainingSeconds, counterSize, onCountdownEnded, onBeforeCountdownEnds, onBeforeCountdownEndsSeconds, onCountdownLastSecond, strokeWidth, isHidden, children, showPending, }: FunCountdownProps) => React.JSX.Element | null;
|
|
@@ -4,8 +4,7 @@ interface FunDividerProps {
|
|
|
4
4
|
marginTop?: BoxProps['marginTop'];
|
|
5
5
|
marginBottom?: BoxProps['marginBottom'];
|
|
6
6
|
borderColor?: BoxProps['borderColor'];
|
|
7
|
-
transparent?: boolean;
|
|
8
7
|
label?: string;
|
|
9
8
|
}
|
|
10
|
-
export declare function FunDivider({ marginTop, marginBottom,
|
|
9
|
+
export declare function FunDivider({ marginTop, marginBottom, borderColor, label, }: FunDividerProps): React.JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -17,7 +17,6 @@ export interface FunInputProps<T = HTMLInputElement> {
|
|
|
17
17
|
inputProps?: React.HTMLProps<T> & {
|
|
18
18
|
type?: HTMLInputTypeAttribute;
|
|
19
19
|
};
|
|
20
|
-
ref?: any;
|
|
21
20
|
error?: string | boolean;
|
|
22
21
|
alwaysFocused?: boolean;
|
|
23
22
|
textColor?: BoxProps['color'];
|
|
@@ -26,4 +25,4 @@ export interface FunInputProps<T = HTMLInputElement> {
|
|
|
26
25
|
overrideBackground?: BoxProps['background'];
|
|
27
26
|
borderRadius?: BoxProps['borderRadius'];
|
|
28
27
|
}
|
|
29
|
-
export declare const FunInput: React.ForwardRefExoticComponent<
|
|
28
|
+
export declare const FunInput: React.ForwardRefExoticComponent<FunInputProps<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FunInputProps } from './FunInput';
|
|
3
|
-
|
|
4
|
-
hasBackground?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function FunTextAreaInput({ placeholder, value, label, onChange, onKeyDown, onKeySubmit, textColor, inputStyle, inputProps, error, overrideBorderWidth, overrideBackground, }: FunTextAreaInputProps): React.JSX.Element;
|
|
7
|
-
export {};
|
|
3
|
+
export declare function FunTextAreaInput({ placeholder, value, label, onChange, onKeyDown, onKeySubmit, textColor, inputStyle, inputProps, error, overrideBorderWidth, overrideBackground, }: FunInputProps<HTMLTextAreaElement>): React.JSX.Element;
|
|
@@ -12,6 +12,10 @@ interface FunNotificationProps {
|
|
|
12
12
|
isVisible?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export type FunNotificationType = 'default' | 'error' | 'warning' | 'hint';
|
|
15
|
+
export interface ErrorNotification {
|
|
16
|
+
message: ReactNode;
|
|
17
|
+
type: FunNotificationType;
|
|
18
|
+
}
|
|
15
19
|
/**
|
|
16
20
|
* A notification/message component with height resizing animation.
|
|
17
21
|
* Control visibility by enabling/disabling `isVisible` prop instead of doing an outer conditional rendering.
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { PaymentMethod, PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
3
|
-
import { SelectMethodPayloadData } from '../../modals/CheckoutModal/SelectPaymentMethod';
|
|
4
3
|
import { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
|
|
5
4
|
import { FunkitTextCustomizationsConfig, FunkitUiCustomRecipientConfig } from '../../providers/FunkitConfigContext';
|
|
6
5
|
export declare function ConnectWalletItem({ isClickable, }: {
|
|
7
6
|
isClickable?: boolean;
|
|
8
7
|
}): React.JSX.Element;
|
|
9
|
-
|
|
10
|
-
paymentMethod: PaymentMethod;
|
|
8
|
+
type BasePaymentMethodItemProps = {
|
|
11
9
|
isActive: boolean;
|
|
10
|
+
onClick: () => void;
|
|
12
11
|
isClickable?: boolean;
|
|
13
|
-
onClick?: () => void;
|
|
14
12
|
isSource?: boolean;
|
|
15
|
-
dynamicLimit?: string;
|
|
16
13
|
customValueIcon?: ReactNode;
|
|
17
|
-
}
|
|
14
|
+
};
|
|
15
|
+
export declare function AddPaymentMethodItem({ paymentMethod, isClickable, isActive, onClick, isSource, dynamicLimit, customValueIcon, }: BasePaymentMethodItemProps & {
|
|
16
|
+
paymentMethod: PaymentMethod;
|
|
17
|
+
dynamicLimit?: string;
|
|
18
|
+
}): React.JSX.Element | undefined;
|
|
18
19
|
interface PaymentMethodSummaryProps {
|
|
19
20
|
paymentMethodInfo: PaymentMethodInfo;
|
|
20
21
|
walletAddress: string | undefined;
|
|
@@ -31,13 +32,4 @@ interface PaymentAmountSummaryProps {
|
|
|
31
32
|
textCustomizations: FunkitTextCustomizationsConfig['confirmationScreen'];
|
|
32
33
|
}
|
|
33
34
|
export declare function PaymentAmountSummary({ isLoading, targetChainId, checkoutItem, textCustomizations, }: PaymentAmountSummaryProps): React.JSX.Element;
|
|
34
|
-
/**
|
|
35
|
-
* Handle selection and adding of payment methods
|
|
36
|
-
*/
|
|
37
|
-
export declare function FunPaymentMethods({ onSelect, isDisabled, isLoadingGeoCheck, onCloseWrapper, }: {
|
|
38
|
-
onSelect: (selectMethodData: SelectMethodPayloadData) => void;
|
|
39
|
-
isDisabled?: boolean;
|
|
40
|
-
isLoadingGeoCheck: boolean;
|
|
41
|
-
onCloseWrapper: () => void;
|
|
42
|
-
}): React.JSX.Element;
|
|
43
35
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
export interface FunSelectOption {
|
|
3
|
-
value:
|
|
2
|
+
export interface FunSelectOption<T = string> {
|
|
3
|
+
value: T;
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
isDisabled: boolean;
|
|
6
6
|
}
|
|
@@ -8,7 +8,6 @@ interface FunSelectProps {
|
|
|
8
8
|
initValue: string;
|
|
9
9
|
options: FunSelectOption[];
|
|
10
10
|
onChange: (newValue: string) => void;
|
|
11
|
-
label: string;
|
|
12
11
|
}
|
|
13
|
-
export declare const FunSelect: ({ initValue, options, onChange
|
|
12
|
+
export declare const FunSelect: ({ initValue, options, onChange }: FunSelectProps) => React.JSX.Element;
|
|
14
13
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { MeshExchanges } from '~/consts/mesh';
|
|
2
3
|
import { FunSelectOption } from '../FunSelect/FunSelect';
|
|
3
4
|
interface FunSelectBrokerageProps {
|
|
4
|
-
|
|
5
|
-
options: FunSelectOption[];
|
|
5
|
+
onSelect: (value: MeshExchanges) => void;
|
|
6
|
+
options: FunSelectOption<MeshExchanges>[];
|
|
6
7
|
selectedValue: FunSelectOption['value'];
|
|
7
8
|
}
|
|
8
|
-
export declare function FunSelectBrokerage({
|
|
9
|
+
export declare function FunSelectBrokerage({ onSelect, options, selectedValue, }: FunSelectBrokerageProps): React.JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps } from '../Box/Box';
|
|
3
|
-
|
|
3
|
+
type FunSkeletonBlockProps = {
|
|
4
|
+
borderRadius?: BoxProps['borderRadius'];
|
|
5
|
+
marginBottom?: BoxProps['marginBottom'];
|
|
6
|
+
marginTop?: BoxProps['marginTop'];
|
|
7
|
+
style?: BoxProps['style'];
|
|
4
8
|
height: BoxProps['height'];
|
|
5
9
|
/** Defaults to full width */
|
|
6
10
|
width?: BoxProps['width'];
|
|
7
11
|
};
|
|
8
|
-
export declare function FunSkeletonBlock({ width, ...props }: FunSkeletonBlockProps): React.JSX.Element;
|
|
12
|
+
export declare function FunSkeletonBlock({ width, borderRadius, ...props }: FunSkeletonBlockProps): React.JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './FunTxSummaryComponents.css';
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
3
|
import { BoxProps } from '../Box/Box';
|
|
4
|
-
export declare function FunTxSummaryBox({ children }:
|
|
4
|
+
export declare function FunTxSummaryBox({ children, ...otherProps }: BoxProps): React.JSX.Element;
|
|
5
5
|
export declare function FunTxSummaryLineItem({ children, ...otherProps }: BoxProps): React.JSX.Element;
|
|
6
6
|
export declare function FunTxSummaryLineItemCollapsibleTrigger({ children, isDisabled, onClick, }: {
|
|
7
7
|
children: ReactNode;
|
package/dist/consts/funkit.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare const FUNKIT_CONNECT_WALLET_ID = "funkitConnectWallet";
|
|
|
11
11
|
export declare const RESERVED_GROUP_NAME = "funkit-web2";
|
|
12
12
|
export declare const DEFAULT_FUNWALLET_INDEX = 0;
|
|
13
13
|
export declare const FUN_WORKER_EOA_ADDR = "0x61d048E5bECBd111c5D1e9BfFa1e284EBcb230Cc";
|
|
14
|
+
export declare const FUN_ORG_NAME = "Fun.xyz";
|
|
14
15
|
export declare const FROM_PROGRESS_CHECKOUT_STATES: CheckoutState[];
|
|
15
16
|
export declare const TO_PROGRESS_CHECKOUT_STATES: CheckoutState[];
|
|
16
17
|
export declare const IN_PROGRESS_CHECKOUT_STATES: CheckoutState[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CheckoutQuoteResponse } from '@funkit/api-base';
|
|
2
2
|
import type { Config } from 'wagmi';
|
|
3
|
+
import { LoginType } from '~/providers/GeneralWalletProvider';
|
|
3
4
|
import { PaymentMethod, PaymentMethodInfo } from '../domains/paymentMethods';
|
|
4
5
|
import { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
5
6
|
interface BaseCheckoutFees {
|
|
@@ -34,7 +35,7 @@ interface EvaluateFeeBreakdownItem {
|
|
|
34
35
|
newPaymentMethodInfo: PaymentMethodInfo;
|
|
35
36
|
wagmiConfig: Config;
|
|
36
37
|
apiKey: string;
|
|
37
|
-
|
|
38
|
+
loginType: LoginType;
|
|
38
39
|
}
|
|
39
40
|
export declare function evaluateFeeBreakdown(evalItem: EvaluateFeeBreakdownItem): Promise<CheckoutFees>;
|
|
40
41
|
export {};
|
|
@@ -9,5 +9,5 @@ type CheckoutStateBooleans = {
|
|
|
9
9
|
isTerminal: boolean;
|
|
10
10
|
status: CheckoutStatus;
|
|
11
11
|
};
|
|
12
|
-
export declare function
|
|
12
|
+
export declare function getCheckoutStateBooleans(checkoutState: CheckoutState): CheckoutStateBooleans;
|
|
13
13
|
export {};
|
package/dist/domains/quote.d.ts
CHANGED
|
@@ -2,17 +2,19 @@ import { CheckoutQuoteResponse } from '@funkit/api-base';
|
|
|
2
2
|
import { Address } from 'viem';
|
|
3
3
|
import { Config } from 'wagmi';
|
|
4
4
|
import { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
|
|
5
|
+
import { LoginType } from '~/providers/GeneralWalletProvider';
|
|
5
6
|
import { CheckoutFees } from './checkoutFees';
|
|
6
7
|
import { PaymentMethodInfo } from './paymentMethods';
|
|
7
8
|
export type FunkitCheckoutQuoteResult = {
|
|
8
9
|
baseQuote: CheckoutQuoteResponse;
|
|
9
10
|
finalTimeEstimationMs: number;
|
|
10
11
|
finalPaymentTokenAmount: string;
|
|
12
|
+
finalPaymentFeeUsd: string;
|
|
11
13
|
finalTotalUsd: string;
|
|
12
14
|
finalFeesBreakdown: CheckoutFees;
|
|
13
15
|
};
|
|
14
16
|
export declare function getCheckoutBaseQuote(checkoutItem: FunkitActiveCheckoutItem, userId: string, walletAddress: Address, apiKey: string, sponsorInitialTransferGasLimit: number, wagmiConfig: Config): Promise<CheckoutQuoteResponse>;
|
|
15
|
-
export declare function getQuoteFinalEstimation(baseQuote: CheckoutQuoteResponse, checkoutItem: FunkitActiveCheckoutItem, newPaymentMethodInfo: PaymentMethodInfo, wagmiConfig: Config, apiKey: string,
|
|
17
|
+
export declare function getQuoteFinalEstimation(baseQuote: CheckoutQuoteResponse, checkoutItem: FunkitActiveCheckoutItem, newPaymentMethodInfo: PaymentMethodInfo, wagmiConfig: Config, apiKey: string, loginType: LoginType): Promise<FunkitCheckoutQuoteResult>;
|
|
16
18
|
export declare function getAvailableAssetAmount(checkoutItem: FunkitActiveCheckoutItem, newPaymentMethodInfo: PaymentMethodInfo, finalEstimation: FunkitCheckoutQuoteResult, wagmiConfig: Config, walletAddress: Address): Promise<number | undefined>;
|
|
17
19
|
export interface CheckoutQuoteParams {
|
|
18
20
|
checkoutItem: FunkitActiveCheckoutItem;
|
|
@@ -22,10 +24,10 @@ export interface CheckoutQuoteParams {
|
|
|
22
24
|
sponsorInitialTransferGasLimit: number;
|
|
23
25
|
newPaymentMethodInfo: PaymentMethodInfo;
|
|
24
26
|
wagmiConfig: Config;
|
|
25
|
-
|
|
27
|
+
loginType: LoginType;
|
|
26
28
|
}
|
|
27
|
-
export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, sponsorInitialTransferGasLimit, newPaymentMethodInfo, wagmiConfig,
|
|
29
|
+
export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, sponsorInitialTransferGasLimit, newPaymentMethodInfo, wagmiConfig, loginType, }: CheckoutQuoteParams): Promise<{
|
|
28
30
|
baseQuote: CheckoutQuoteResponse;
|
|
29
31
|
finalEstimation: FunkitCheckoutQuoteResult;
|
|
30
|
-
|
|
32
|
+
availableAssetAmount: number | undefined;
|
|
31
33
|
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { FunCountdownProps } from '~/components/FunCountdown/FunCountdown';
|
|
3
|
+
export interface UseCountdownResult {
|
|
4
|
+
countdown: ReactNode;
|
|
5
|
+
isLastSecond: boolean;
|
|
6
|
+
restartCountdown(): void;
|
|
7
|
+
}
|
|
8
|
+
export declare function useCountdown({ onCountdownEnded, ...props }: Omit<FunCountdownProps, 'onCountdownLastSecond'>): UseCountdownResult;
|
package/dist/hooks/useMesh.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const useMeshExchanges: ({ fullInfo, iconSize, }: {
|
|
|
10
10
|
fullInfo?: boolean;
|
|
11
11
|
iconSize?: number;
|
|
12
12
|
}) => {
|
|
13
|
-
options: FunSelectOption[];
|
|
13
|
+
options: FunSelectOption<MeshExchanges>[];
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* Fetches mesh-related network information based on the active chain user is logged in on, given an exchange
|
package/dist/index.css
CHANGED
|
@@ -6174,7 +6174,7 @@
|
|
|
6174
6174
|
}
|
|
6175
6175
|
}
|
|
6176
6176
|
|
|
6177
|
-
/* vanilla-extract-css-ns:src/components/Dialog/DialogContent.css.ts.vanilla.css?source=#H4sIAAAAAAAAE7VUy47jIBC8z1cg7SU5EDnOU+Symm+Y+wpDJyBjsKAd2zvKv4+wPVachzbSaE+IpruqGqpZ/FmWf3Gdrpbk842QgjdUgT4pZGSTbsrmMARrLVExskyScx1jw369SWLO5W0x4jDFw+yXbGVDS94WYJGGWqNQ4Od3HNvd5nE9uhwsRc9tOIKnJT/
|
|
6177
|
+
/* vanilla-extract-css-ns:src/components/Dialog/DialogContent.css.ts.vanilla.css?source=#H4sIAAAAAAAAE7VUy47jIBC8z1cg7SU5EDnOU+Symm+Y+wpDJyBjsKAd2zvKv4+wPVachzbSaE+IpruqGqpZ/FmWf3Gdrpbk842QgjdUgT4pZGSTbsrmMARrLVExskyScx1jw369SWLO5W0x4jDFw+yXbGVDS94WYJGGWqNQ4Od3HNvd5nE9uhwsRc9tOIKnJT/BffU+va1O+xxtvwWveoGj4NWd4HVXMhwLbsSsa5JQskrKZn645UzCWU0Ath2AO4M/GlfThhGlpQR7uI62jPAKXYwF4Z0xGff0VCGCZyQgzwxMzwZBlQ2AUzrGaA1ZrjFej8g79oyL/ORdZSUVzjjPyJn7GaU+7/eBFk5y8z6mzZ9hjgo6XKlDaXg76hgvatvf6n/gpaiqIuu7cl6Cp55LXYUr6BjQPfL8NRUIHjX37Qc0OJWw+4eEnzX4HJ2p6I0XOQIIZ+VD/fvpOx0NdA8TVyq1B4HaWUaEM1XRWfLbyNHlnZF/FyA1j9YDsIRbSWZXA7Tb7sumH73F9K+4/QQIuVwnpUPSo2G8HcdYevkCvpa0nosEAAA= */
|
|
6178
6178
|
[data-rk] ._1pzt4231 {
|
|
6179
6179
|
max-height: 525px;
|
|
6180
6180
|
max-width: 100vw;
|
|
@@ -6184,7 +6184,7 @@
|
|
|
6184
6184
|
max-height: 675px;
|
|
6185
6185
|
}
|
|
6186
6186
|
[data-rk] ._1pzt4231:has(#token-transfer-page) {
|
|
6187
|
-
max-height:
|
|
6187
|
+
max-height: 825px;
|
|
6188
6188
|
}
|
|
6189
6189
|
[data-rk] ._1pzt4232 {
|
|
6190
6190
|
min-width: 350px;
|
|
@@ -6452,10 +6452,11 @@
|
|
|
6452
6452
|
animation: _1tyx5nu7 1s;
|
|
6453
6453
|
}
|
|
6454
6454
|
|
|
6455
|
-
/* vanilla-extract-css-ns:src/components/FunDivider/FunDivider.css.ts.vanilla.css?source=
|
|
6455
|
+
/* vanilla-extract-css-ns:src/components/FunDivider/FunDivider.css.ts.vanilla.css?source=Ll8zZGtkc2MwIHsKICBib3JkZXItd2lkdGg6IDA7CiAgYm9yZGVyLXRvcC13aWR0aDogMXB4OwogIGJvcmRlci1zdHlsZTogc29saWQ7CiAgZmxleDogMTsKfQ== */
|
|
6456
6456
|
[data-rk] ._3dkdsc0 {
|
|
6457
6457
|
border-width: 0;
|
|
6458
6458
|
border-top-width: 1px;
|
|
6459
|
+
border-style: solid;
|
|
6459
6460
|
flex: 1;
|
|
6460
6461
|
}
|
|
6461
6462
|
|
|
@@ -6497,6 +6498,48 @@
|
|
|
6497
6498
|
animation-name: stgjxl1;
|
|
6498
6499
|
}
|
|
6499
6500
|
|
|
6501
|
+
/* vanilla-extract-css-ns:src/components/FunSkeletonLoader/FunSkeletonLoader.css.ts.vanilla.css?source=QGtleWZyYW1lcyBkajB4NjAwIHsKICAwJSB7CiAgICBvcGFjaXR5OiAxOwogIH0KICAxMDAlIHsKICAgIG9wYWNpdHk6IDAuNTsKICB9Cn0KLmRqMHg2MDIgewogIGFuaW1hdGlvbi1kaXJlY3Rpb246IGFsdGVybmF0ZTsKICBhbmltYXRpb24tZHVyYXRpb246IDcwMG1zOwogIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGxpbmVhcjsKICBhbmltYXRpb24taXRlcmF0aW9uLWNvdW50OiBpbmZpbml0ZTsKICBhbmltYXRpb24tZmlsbC1tb2RlOiBmb3J3YXJkczsKICBhbmltYXRpb24tbmFtZTogZGoweDYwMDsKfQouZGoweDYwMyB7CiAgZmxleDogMCAwIGF1dG87Cn0= */
|
|
6502
|
+
@keyframes dj0x600 {
|
|
6503
|
+
0% {
|
|
6504
|
+
opacity: 1;
|
|
6505
|
+
}
|
|
6506
|
+
100% {
|
|
6507
|
+
opacity: 0.5;
|
|
6508
|
+
}
|
|
6509
|
+
}
|
|
6510
|
+
[data-rk] .dj0x602 {
|
|
6511
|
+
animation-direction: alternate;
|
|
6512
|
+
animation-duration: 700ms;
|
|
6513
|
+
animation-timing-function: linear;
|
|
6514
|
+
animation-iteration-count: infinite;
|
|
6515
|
+
animation-fill-mode: forwards;
|
|
6516
|
+
animation-name: dj0x600;
|
|
6517
|
+
}
|
|
6518
|
+
[data-rk] .dj0x603 {
|
|
6519
|
+
flex: 0 0 auto;
|
|
6520
|
+
}
|
|
6521
|
+
|
|
6522
|
+
/* src/components/FunTransactionSummary/FunTxSummaryComponents.css */
|
|
6523
|
+
.fun-container-content-expanded {
|
|
6524
|
+
transition: all 0.5s ease-in-out;
|
|
6525
|
+
max-height: 250px;
|
|
6526
|
+
overflow: hidden;
|
|
6527
|
+
}
|
|
6528
|
+
.fun-container-content-collapsed {
|
|
6529
|
+
max-height: 0px;
|
|
6530
|
+
transition: all 0.4s ease-out;
|
|
6531
|
+
overflow: hidden;
|
|
6532
|
+
}
|
|
6533
|
+
.fun-container-fee-line-show {
|
|
6534
|
+
transition: all 0.2s linear;
|
|
6535
|
+
transition-delay: 0.2s;
|
|
6536
|
+
opacity: 1;
|
|
6537
|
+
}
|
|
6538
|
+
.fun-container-fee-line-hide {
|
|
6539
|
+
transition: all 0.2s linear;
|
|
6540
|
+
opacity: 0;
|
|
6541
|
+
}
|
|
6542
|
+
|
|
6500
6543
|
/* src/components/FunInput/FunInputBase.css */
|
|
6501
6544
|
input::-webkit-outer-spin-button,
|
|
6502
6545
|
input::-webkit-inner-spin-button {
|
|
@@ -6568,15 +6611,13 @@ input[type=number] {
|
|
|
6568
6611
|
flex: 1;
|
|
6569
6612
|
}
|
|
6570
6613
|
|
|
6571
|
-
/* vanilla-extract-css-ns:src/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.ts.vanilla.css?source=
|
|
6614
|
+
/* vanilla-extract-css-ns:src/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.ts.vanilla.css?source=Ll84djN6c3owIHsKICB0cmFuc2l0aW9uOiBhbGwgMC41cyBlYXNlLWluLW91dDsKICBtYXgtaGVpZ2h0OiAyNTBweDsKICBvdmVyZmxvdzogaGlkZGVuOwp9Ci5fOHYzenN6MSB7CiAgdHJhbnNpdGlvbjogYWxsIDQwMG1zIGVhc2Utb3V0OwogIG1heC1oZWlnaHQ6IDA7CiAgb3ZlcmZsb3c6IGhpZGRlbjsKfQ== */
|
|
6572
6615
|
[data-rk] ._8v3zsz0 {
|
|
6616
|
+
transition: all 0.5s ease-in-out;
|
|
6573
6617
|
max-height: 250px;
|
|
6574
6618
|
overflow: hidden;
|
|
6575
6619
|
}
|
|
6576
6620
|
[data-rk] ._8v3zsz1 {
|
|
6577
|
-
transition: all 0.5s ease-in-out;
|
|
6578
|
-
}
|
|
6579
|
-
[data-rk] ._8v3zsz2 {
|
|
6580
6621
|
transition: all 400ms ease-out;
|
|
6581
6622
|
max-height: 0;
|
|
6582
6623
|
overflow: hidden;
|
|
@@ -6631,7 +6672,7 @@ input[type=number] {
|
|
|
6631
6672
|
transparent 10%);
|
|
6632
6673
|
}
|
|
6633
6674
|
|
|
6634
|
-
/* vanilla-extract-css-ns:src/modals/FunCheckoutHistoryModal/FunCheckoutStatus.css.ts.vanilla.css?source=
|
|
6675
|
+
/* vanilla-extract-css-ns:src/modals/FunCheckoutHistoryModal/FunCheckoutStatus.css.ts.vanilla.css?source=Ll8yaTl6eTAgewogIG1hcmdpbi10b3A6IC0zMHB4OwogIG1hcmdpbi1ib3R0b206IC0xMHB4OwogIGRpc3BsYXk6IGZsZXg7CiAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKICBoZWlnaHQ6IDEyMHB4OwogIHdpZHRoOiAxODBweDsKICBiYWNrZ3JvdW5kOiByYWRpYWwtZ3JhZGllbnQoZWxsaXBzZSBjbG9zZXN0LXNpZGUsIHJnYmEoMjU1LCAxMzgsIDcyLCAwLjIpIDAlLCByZ2JhKDIyNSwgNTQsIDE3NywgMC4wNCkgODAlLCB0cmFuc3BhcmVudCk7Cn0KLl8yaTl6eTEgewogIG1hcmdpbi10b3A6IC0zMHB4OwogIG1hcmdpbi1ib3R0b206IC0xMHB4OwogIGRpc3BsYXk6IGZsZXg7CiAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKICBoZWlnaHQ6IDEyMHB4OwogIHdpZHRoOiAxODBweDsKICBiYWNrZ3JvdW5kOiByYWRpYWwtZ3JhZGllbnQoZWxsaXBzZSBjbG9zZXN0LXNpZGUsIHJnYmEoMzcsIDE5MSwgOTksIDAuMikgMCUsIHJnYmEoNTQsIDIyNSwgMTQzLCAwLjA0KSA4MCUsIHRyYW5zcGFyZW50KTsKfQouXzJpOXp5MiB7CiAgbWFyZ2luLXRvcDogLTMwcHg7CiAgbWFyZ2luLWJvdHRvbTogLTEwcHg7CiAgZGlzcGxheTogZmxleDsKICBhbGlnbi1pdGVtczogY2VudGVyOwogIGp1c3RpZnktY29udGVudDogY2VudGVyOwogIGhlaWdodDogMTIwcHg7CiAgd2lkdGg6IDE4MHB4OwogIGJhY2tncm91bmQ6IHJhZGlhbC1ncmFkaWVudChlbGxpcHNlIGNsb3Nlc3Qtc2lkZSwgcmdiYSgyMTEsMjExLDIxMSwwLjE4KSAwJSwgcmdiYSgxNzYsMTc2LDE3NiwwLjA0KSA4MCUsIHRyYW5zcGFyZW50KTsKfQ== */
|
|
6635
6676
|
[data-rk] ._2i9zy0 {
|
|
6636
6677
|
margin-top: -30px;
|
|
6637
6678
|
margin-bottom: -10px;
|
|
@@ -6662,6 +6703,21 @@ input[type=number] {
|
|
|
6662
6703
|
rgba(54, 225, 143, 0.04) 80%,
|
|
6663
6704
|
transparent);
|
|
6664
6705
|
}
|
|
6706
|
+
[data-rk] ._2i9zy2 {
|
|
6707
|
+
margin-top: -30px;
|
|
6708
|
+
margin-bottom: -10px;
|
|
6709
|
+
display: flex;
|
|
6710
|
+
align-items: center;
|
|
6711
|
+
justify-content: center;
|
|
6712
|
+
height: 120px;
|
|
6713
|
+
width: 180px;
|
|
6714
|
+
background:
|
|
6715
|
+
radial-gradient(
|
|
6716
|
+
ellipse closest-side,
|
|
6717
|
+
rgba(211, 211, 211, 0.18) 0%,
|
|
6718
|
+
rgba(176, 176, 176, 0.04) 80%,
|
|
6719
|
+
transparent);
|
|
6720
|
+
}
|
|
6665
6721
|
|
|
6666
6722
|
/* src/components/FunNotification/FunNotification.css */
|
|
6667
6723
|
.fun-notification-expanded {
|
|
@@ -6677,11 +6733,11 @@ input[type=number] {
|
|
|
6677
6733
|
overflow: hidden;
|
|
6678
6734
|
}
|
|
6679
6735
|
|
|
6680
|
-
/* vanilla-extract-css-ns:src/components/FunAssetAvatar/FunAssetAvatar.css.ts.vanilla.css?source=
|
|
6736
|
+
/* vanilla-extract-css-ns:src/components/FunAssetAvatar/FunAssetAvatar.css.ts.vanilla.css?source=LnV3cmRjMjAgewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoudXdyZGMyMiB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIGJvdHRvbTogMDsKICByaWdodDogMDsKfQ== */
|
|
6681
6737
|
[data-rk] .uwrdc20 {
|
|
6682
6738
|
position: relative;
|
|
6683
6739
|
}
|
|
6684
|
-
[data-rk] .
|
|
6740
|
+
[data-rk] .uwrdc22 {
|
|
6685
6741
|
position: absolute;
|
|
6686
6742
|
bottom: 0;
|
|
6687
6743
|
right: 0;
|
|
@@ -6789,27 +6845,6 @@ input[type=number] {
|
|
|
6789
6845
|
animation-name: _26hmws3;
|
|
6790
6846
|
}
|
|
6791
6847
|
|
|
6792
|
-
/* vanilla-extract-css-ns:src/components/FunSkeletonLoader/FunSkeletonLoader.css.ts.vanilla.css?source=QGtleWZyYW1lcyBkajB4NjAwIHsKICAwJSB7CiAgICBvcGFjaXR5OiAxOwogIH0KICAxMDAlIHsKICAgIG9wYWNpdHk6IDAuNTsKICB9Cn0KLmRqMHg2MDIgewogIGFuaW1hdGlvbi1kaXJlY3Rpb246IGFsdGVybmF0ZTsKICBhbmltYXRpb24tZHVyYXRpb246IDcwMG1zOwogIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGxpbmVhcjsKICBhbmltYXRpb24taXRlcmF0aW9uLWNvdW50OiBpbmZpbml0ZTsKICBhbmltYXRpb24tZmlsbC1tb2RlOiBmb3J3YXJkczsKICBhbmltYXRpb24tbmFtZTogZGoweDYwMDsKfQouZGoweDYwMyB7CiAgZmxleDogMCAwIGF1dG87Cn0= */
|
|
6793
|
-
@keyframes dj0x600 {
|
|
6794
|
-
0% {
|
|
6795
|
-
opacity: 1;
|
|
6796
|
-
}
|
|
6797
|
-
100% {
|
|
6798
|
-
opacity: 0.5;
|
|
6799
|
-
}
|
|
6800
|
-
}
|
|
6801
|
-
[data-rk] .dj0x602 {
|
|
6802
|
-
animation-direction: alternate;
|
|
6803
|
-
animation-duration: 700ms;
|
|
6804
|
-
animation-timing-function: linear;
|
|
6805
|
-
animation-iteration-count: infinite;
|
|
6806
|
-
animation-fill-mode: forwards;
|
|
6807
|
-
animation-name: dj0x600;
|
|
6808
|
-
}
|
|
6809
|
-
[data-rk] .dj0x603 {
|
|
6810
|
-
flex: 0 0 auto;
|
|
6811
|
-
}
|
|
6812
|
-
|
|
6813
6848
|
/* vanilla-extract-css-ns:src/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.ts.vanilla.css?source=LnVrY3Q0dDEgewogIG91dGxpbmU6IG5vbmU7Cn0KLnVrY3Q0dDE6Zm9jdXMgewogIG91dGxpbmU6IG5vbmU7Cn0= */
|
|
6814
6849
|
[data-rk] .ukct4t1 {
|
|
6815
6850
|
outline: none;
|
|
@@ -6857,27 +6892,6 @@ input[type=number] {
|
|
|
6857
6892
|
outline: none;
|
|
6858
6893
|
}
|
|
6859
6894
|
|
|
6860
|
-
/* src/components/FunTransactionSummary/FunTxSummaryComponents.css */
|
|
6861
|
-
.fun-container-content-expanded {
|
|
6862
|
-
transition: all 0.5s ease-in-out;
|
|
6863
|
-
max-height: 250px;
|
|
6864
|
-
overflow: hidden;
|
|
6865
|
-
}
|
|
6866
|
-
.fun-container-content-collapsed {
|
|
6867
|
-
max-height: 0px;
|
|
6868
|
-
transition: all 0.4s ease-out;
|
|
6869
|
-
overflow: hidden;
|
|
6870
|
-
}
|
|
6871
|
-
.fun-container-fee-line-show {
|
|
6872
|
-
transition: all 0.2s linear;
|
|
6873
|
-
transition-delay: 0.2s;
|
|
6874
|
-
opacity: 1;
|
|
6875
|
-
}
|
|
6876
|
-
.fun-container-fee-line-hide {
|
|
6877
|
-
transition: all 0.2s linear;
|
|
6878
|
-
opacity: 0;
|
|
6879
|
-
}
|
|
6880
|
-
|
|
6881
6895
|
/* vanilla-extract-css-ns:src/components/FunPayments/FunPaymentMoonpayType.css.ts.vanilla.css?source=Ll8xa21wZXlmMCB7CiAgaGVpZ2h0OiB1bnNldCAhaW1wb3J0YW50OwogIHdpZHRoOiB1bnNldCAhaW1wb3J0YW50OwogIGZsZXg6IDEgIWltcG9ydGFudDsKfQouXzFrbXBleWYwIGlmcmFtZSB7CiAgYm9yZGVyOiBub25lOwp9Ci5fMWttcGV5ZjEgewogIGRpc3BsYXk6IGZsZXg7CiAgZmxleDogMTsKfQ== */
|
|
6882
6896
|
[data-rk] ._1kmpeyf0 {
|
|
6883
6897
|
height: unset !important;
|