@funkit/connect 3.4.4 → 3.4.8

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 (81) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/components/FunAssetAvatar/FunAssetAvatar.css.d.ts +0 -1
  3. package/dist/components/FunCountdown/FunCountdown.d.ts +2 -1
  4. package/dist/components/FunDivider/FunDivider.d.ts +1 -2
  5. package/dist/components/FunInput/FunInput.d.ts +1 -2
  6. package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -5
  7. package/dist/components/FunNotification/FunNotification.d.ts +4 -0
  8. package/dist/components/FunPayments/FunPaymentMethods.d.ts +22 -37
  9. package/dist/components/FunSelect/FunSelect.d.ts +3 -4
  10. package/dist/components/FunSelectBrokerage/FunSelectBrokerage.d.ts +4 -3
  11. package/dist/components/FunSkeletonLoader/FunSkeletonBlock.d.ts +7 -2
  12. package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +2 -2
  13. package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +21 -0
  14. package/dist/consts/customers.d.ts +2 -0
  15. package/dist/consts/funkit.d.ts +1 -0
  16. package/dist/domains/asset.d.ts +4 -0
  17. package/dist/domains/checkoutFees.d.ts +2 -1
  18. package/dist/{hooks/useCheckoutStateBooleans.d.ts → domains/checkoutState.d.ts} +1 -1
  19. package/dist/domains/clientMetadata.d.ts +0 -1
  20. package/dist/domains/quote.d.ts +6 -4
  21. package/dist/domains/wallet.d.ts +18 -0
  22. package/dist/hooks/useAutoClearState.d.ts +4 -0
  23. package/dist/hooks/useCountdown.d.ts +8 -0
  24. package/dist/hooks/useMesh.d.ts +2 -3
  25. package/dist/index.css +66 -52
  26. package/dist/index.js +5678 -5882
  27. package/dist/modals/CheckoutModal/ConfirmationStep/useCheckoutConfirmation.d.ts +17 -0
  28. package/dist/modals/CheckoutModal/ConfirmationStep/usePostCheckout.d.ts +28 -0
  29. package/dist/modals/CheckoutModal/ConfirmationStep/useQuoteRefresh.d.ts +22 -0
  30. package/dist/modals/CheckoutModal/InputAmount/AvailableBalance.d.ts +8 -0
  31. package/dist/modals/CheckoutModal/InputAmount/InputAmountLayout.d.ts +5 -3
  32. package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +5 -2
  33. package/dist/modals/CheckoutModal/InputAmount/InputAmountLoading.d.ts +5 -2
  34. package/dist/modals/CheckoutModal/InputAmount/QuickOptions.d.ts +7 -0
  35. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +2 -1
  36. package/dist/modals/CheckoutModal/InputAmount/useCheckoutQuote.d.ts +0 -1
  37. package/dist/modals/CheckoutModal/InputAmount/utils.d.ts +1 -7
  38. package/dist/modals/CheckoutModal/LoadingAccount.d.ts +1 -1
  39. package/dist/modals/CheckoutModal/SourceChange.d.ts +1 -1
  40. package/dist/modals/CheckoutModal/TransferToken.d.ts +2 -4
  41. package/dist/modals/CheckoutModal/stepTransition.d.ts +6 -8
  42. package/dist/modals/CheckoutModal/useCheckoutQuote.d.ts +7 -0
  43. package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +9 -0
  44. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
  45. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
  46. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +0 -2
  47. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +7 -2
  48. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.css.d.ts +1 -0
  49. package/dist/modals/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +1 -1
  50. package/dist/modals/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +5 -2
  51. package/dist/providers/FunkitCheckoutContext.d.ts +1 -5
  52. package/dist/providers/GeneralWalletProvider.d.ts +10 -10
  53. package/dist/utils/aborts.d.ts +1 -0
  54. package/dist/utils/assets.d.ts +7 -24
  55. package/dist/utils/combineChainSymbolOrAddress.d.ts +1 -1
  56. package/dist/utils/deepMerge.d.ts +5 -0
  57. package/dist/utils/flags/config.d.ts +7 -1
  58. package/dist/utils/payment.d.ts +3 -3
  59. package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +92 -0
  60. package/dist/wallets/walletConnectors/chunk-2EMZOYQI.js +101 -0
  61. package/dist/wallets/walletConnectors/chunk-57UUMOOZ.js +95 -0
  62. package/dist/wallets/walletConnectors/chunk-5K4DIMYR.js +95 -0
  63. package/dist/wallets/walletConnectors/chunk-AUVBWDIK.js +102 -0
  64. package/dist/wallets/walletConnectors/chunk-AXPQHNUI.js +71 -0
  65. package/dist/wallets/walletConnectors/chunk-B7FHT3CB.js +94 -0
  66. package/dist/wallets/walletConnectors/chunk-EFIENLEE.js +98 -0
  67. package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +27 -0
  68. package/dist/wallets/walletConnectors/chunk-HCKLWBE5.js +98 -0
  69. package/dist/wallets/walletConnectors/chunk-IR3YKU2N.js +103 -0
  70. package/dist/wallets/walletConnectors/chunk-J2BF4L2V.js +87 -0
  71. package/dist/wallets/walletConnectors/chunk-L7QI6PBN.js +108 -0
  72. package/dist/wallets/walletConnectors/chunk-OKUX4BC4.js +66 -0
  73. package/dist/wallets/walletConnectors/chunk-QP2BIVXD.js +73 -0
  74. package/dist/wallets/walletConnectors/chunk-UWZQZY4S.js +149 -0
  75. package/dist/wallets/walletConnectors/chunk-UZEMNN3Q.js +96 -0
  76. package/dist/wallets/walletConnectors/chunk-WAMHUVNP.js +96 -0
  77. package/dist/wallets/walletConnectors/chunk-ZCKNEKQQ.js +110 -0
  78. package/dist/wallets/walletConnectors/index.js +57 -57
  79. package/package.json +1 -1
  80. package/dist/components/FunPayments/FunPaymentMeshType.d.ts +0 -10
  81. package/dist/modals/CheckoutModal/SelectPaymentMethod.d.ts +0 -24
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 3.4.8
4
+
5
+ ### Patch Changes
6
+
7
+ - a049958: feat: token_transfer_additional_disclaimer flag
8
+
9
+ ## 3.4.7
10
+
11
+ ### Patch Changes
12
+
13
+ - fa1d0e9: feat: use token transfer as first page
14
+ - fa1d0e9: refactor: powered copy changes
15
+
16
+ ## 3.4.6
17
+
18
+ ### Patch Changes
19
+
20
+ - e5fc8cf: refactor: powered copy changes
21
+ - 401f013: feat: remove wrongly indicated error state in brokerage balance fetching
22
+ - e3cfedb: fix: special title cases
23
+
24
+ ## 3.4.5
25
+
26
+ ### Patch Changes
27
+
28
+ - 81ea150: chore: copy tweaks
29
+ - bccd3bf: feat: add pure side effect free quote
30
+ - fd02d7a: fix: ensure compared amount is rounded
31
+ - bccd3bf: feat: update loading state visuals of input screen
32
+ - d1d7eb8: refactor: legalese copy changes
33
+ - 60ae0c4: feat: update condition showing wallet connect option in sources
34
+ - b34ccdd: fix: minimum order copy
35
+ - a12d187: feat: update account modal for dydx
36
+ - 30a2877: feat: move checkout limit to new max_checkout_usd flag
37
+ - ba157d6: fix: remove custom margins when tagline not in use
38
+ - b703b22: fix: show mesh execution errors where possible
39
+ - 4069475: feat: hide You will pay when source and target assets are both stablecoins
40
+ - bb7d1f9: feat: remove explicit continue from exchange selection screen
41
+ - bccd3bf: feat: simplify login type checking
42
+ - a8fa2ba: feat: merge mesh fees
43
+ - 049f852: fix: fix native token normalization check
44
+ - 177e40b: feat: remove select payment method page
45
+ - 4d3c747: fix: unify border color for sections inside checkout history page
46
+
3
47
  ## 3.4.4
4
48
 
5
49
  ### Patch Changes
@@ -1,3 +1,2 @@
1
1
  export declare const containerStyle: string;
2
- export declare const assetContainerStyle: string;
3
2
  export declare const chainContainerStyle: string;
@@ -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, transparent, borderColor, label, }: FunDividerProps): React.JSX.Element;
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<Omit<FunInputProps<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
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
- interface FunTextAreaInputProps extends FunInputProps<HTMLTextAreaElement> {
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,43 +1,28 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { PaymentMethod, PaymentMethodInfo } from '../../domains/paymentMethods';
3
- import { SelectMethodPayloadData } from '../../modals/CheckoutModal/SelectPaymentMethod';
4
- import { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
5
- import { FunkitTextCustomizationsConfig, FunkitUiCustomRecipientConfig } from '../../providers/FunkitConfigContext';
6
- export declare function ConnectWalletItem({ isClickable, }: {
7
- isClickable?: boolean;
8
- }): React.JSX.Element;
9
- export declare function AddPaymentMethodItem({ paymentMethod, isClickable, isActive, onClick, isSource, dynamicLimit, customValueIcon, }: {
10
- paymentMethod: PaymentMethod;
2
+ import { PaymentMethod, PaymentMethodBrokerageInfo } from '../../domains/paymentMethods';
3
+ interface ConnectedMeshPaymentMethodItemProps {
4
+ paymentMethodInfo: PaymentMethodBrokerageInfo;
5
+ isSelected: boolean;
6
+ onSelect: () => void;
7
+ targetChainId: string;
8
+ }
9
+ /** it is different from BrokeragePaymentMethodItem
10
+ * this component is for connected mesh brokerage like robinhood
11
+ * the other one is for connecting new brokerage button
12
+ * */
13
+ export declare const ConnectedMeshPaymentMethodItem: ({ paymentMethodInfo, isSelected, onSelect, targetChainId, }: ConnectedMeshPaymentMethodItemProps) => React.JSX.Element;
14
+ export declare const AccountBalancePaymentMethodItem: ({ isActive, isSource, customValueIcon, onClick, targetChainId, }: BasePaymentMethodItemProps & {
15
+ targetChainId: string;
16
+ }) => React.JSX.Element;
17
+ type BasePaymentMethodItemProps = {
11
18
  isActive: boolean;
19
+ onClick: () => void;
12
20
  isClickable?: boolean;
13
- onClick?: () => void;
14
21
  isSource?: boolean;
15
- dynamicLimit?: string;
16
22
  customValueIcon?: ReactNode;
17
- }): React.JSX.Element;
18
- interface PaymentMethodSummaryProps {
19
- paymentMethodInfo: PaymentMethodInfo;
20
- walletAddress: string | undefined;
21
- customRecipient: string | undefined;
22
- isLoading: boolean;
23
- estimatedTime: number;
24
- customizationConfig?: FunkitUiCustomRecipientConfig;
25
- }
26
- export declare function PaymentMethodSummary({ paymentMethodInfo, walletAddress, customRecipient, estimatedTime, isLoading, customizationConfig, }: PaymentMethodSummaryProps): React.JSX.Element;
27
- interface PaymentAmountSummaryProps {
28
- isLoading: boolean;
29
- targetChainId: string;
30
- checkoutItem: FunkitActiveCheckoutItem | null;
31
- textCustomizations: FunkitTextCustomizationsConfig['confirmationScreen'];
32
- }
33
- 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;
23
+ };
24
+ export declare function AddPaymentMethodItem({ paymentMethod, isClickable, isActive, onClick, isSource, customValueIcon, }: BasePaymentMethodItemProps & {
25
+ paymentMethod: PaymentMethod;
26
+ dynamicLimit?: string;
27
+ }): React.JSX.Element | undefined;
43
28
  export {};
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
- export interface FunSelectOption {
3
- value: string;
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, label, }: FunSelectProps) => React.JSX.Element;
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
- handleSelect: (newValue: FunSelectOption['value']) => void;
5
- options: FunSelectOption[];
5
+ onSelect: (value: MeshExchanges) => void;
6
+ options: FunSelectOption<MeshExchanges>[];
6
7
  selectedValue: FunSelectOption['value'];
7
8
  }
8
- export declare function FunSelectBrokerage({ handleSelect, options, selectedValue, }: FunSelectBrokerageProps): React.JSX.Element;
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
- export type FunSkeletonBlockProps = Pick<BoxProps, 'marginBottom' | 'marginTop' | 'style'> & {
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, { PropsWithChildren, ReactNode } from 'react';
2
+ import React, { ReactNode } from 'react';
3
3
  import { BoxProps } from '../Box/Box';
4
- export declare function FunTxSummaryBox({ children }: PropsWithChildren): React.JSX.Element;
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;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { PaymentMethodInfo } from '../../domains/paymentMethods';
3
+ import { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
4
+ import { FunkitTextCustomizationsConfig, FunkitUiCustomRecipientConfig } from '../../providers/FunkitConfigContext';
5
+ interface PaymentMethodSummaryProps {
6
+ paymentMethodInfo: PaymentMethodInfo;
7
+ walletAddress: string | undefined;
8
+ customRecipient: string | undefined;
9
+ isLoading: boolean;
10
+ estimatedTime: number;
11
+ customizationConfig?: FunkitUiCustomRecipientConfig;
12
+ }
13
+ export declare function PaymentMethodSummary({ paymentMethodInfo, walletAddress, customRecipient, estimatedTime, isLoading, customizationConfig, }: PaymentMethodSummaryProps): React.JSX.Element;
14
+ interface PaymentAmountSummaryProps {
15
+ isLoading: boolean;
16
+ targetChainId: string;
17
+ checkoutItem: FunkitActiveCheckoutItem | null;
18
+ textCustomizations: FunkitTextCustomizationsConfig['confirmationScreen'];
19
+ }
20
+ export declare function PaymentAmountSummary({ isLoading, targetChainId, checkoutItem, textCustomizations, }: PaymentAmountSummaryProps): React.JSX.Element;
21
+ export {};
@@ -1,3 +1,5 @@
1
1
  export declare const DYDX_API_KEY = "NJq0CGrsE19xBbP1vHyBOp8xJvzYo9kayJHqDFP5";
2
2
  export declare const POLYMARKET_API_KEY = "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6";
3
+ export declare function isDydxCustomer(apiKey: string): apiKey is "NJq0CGrsE19xBbP1vHyBOp8xJvzYo9kayJHqDFP5";
4
+ export declare function isPolymarketCustomer(apiKey: string): apiKey is "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6";
3
5
  export declare function isImportantCustomer(apiKey: string): apiKey is "NJq0CGrsE19xBbP1vHyBOp8xJvzYo9kayJHqDFP5" | "Y53dikxXdT4E3afI1l8BMBSWgyhKvf65k6Dut1k6";
@@ -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[];
@@ -0,0 +1,4 @@
1
+ import { Address } from 'viem';
2
+ import { AssetHoldingsItem } from '~/utils/assets';
3
+ export declare function isNativeTokenAddress(address: Address): boolean;
4
+ export declare function isDefaultToken(asset: AssetHoldingsItem, targetChainId: string, targetAsset: string): boolean;
@@ -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
- isWeb3Login: boolean;
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 useCheckoutStateBooleans(checkoutState: CheckoutState): CheckoutStateBooleans;
12
+ export declare function getCheckoutStateBooleans(checkoutState: CheckoutState): CheckoutStateBooleans;
13
13
  export {};
@@ -19,7 +19,6 @@ export type ServerCheckoutConfig = Omit<FunkitCheckoutConfig, 'generateActionsPa
19
19
  export interface HistoricalCheckoutItem {
20
20
  id: FunkitActiveCheckoutItem['id'];
21
21
  startTimestampMs: FunkitActiveCheckoutItem['startTimestampMs'];
22
- draftDollarValue: FunkitActiveCheckoutItem['draftDollarValue'];
23
22
  finalDollarValue: FunkitActiveCheckoutItem['finalDollarValue'];
24
23
  latestQuote: FunkitActiveCheckoutItem['latestQuote'];
25
24
  depositAddress: FunkitActiveCheckoutItem['depositAddress'];
@@ -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, isWeb3Login: boolean): Promise<FunkitCheckoutQuoteResult>;
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
- isWeb3Login: boolean;
27
+ loginType: LoginType;
26
28
  }
27
- export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, sponsorInitialTransferGasLimit, newPaymentMethodInfo, wagmiConfig, isWeb3Login, }: CheckoutQuoteParams): Promise<{
29
+ export declare function getQuoteAndEstimation({ checkoutItem, userId, walletAddress, apiKey, sponsorInitialTransferGasLimit, newPaymentMethodInfo, wagmiConfig, loginType, }: CheckoutQuoteParams): Promise<{
28
30
  baseQuote: CheckoutQuoteResponse;
29
31
  finalEstimation: FunkitCheckoutQuoteResult;
30
- avialableAssetAmount: number | undefined;
32
+ availableAssetAmount: number | undefined;
31
33
  }>;
@@ -0,0 +1,18 @@
1
+ export interface AssetHoldingsItem {
2
+ iconSrc: string | undefined;
3
+ symbol: string;
4
+ amount: number;
5
+ tokenAddress: `0x${string}`;
6
+ usdAmount: null | number;
7
+ pickedChainId: string;
8
+ chainSymbolKey: string;
9
+ }
10
+ export interface KnownAssetHoldingsItem extends AssetHoldingsItem {
11
+ usdAmount: number;
12
+ }
13
+ export interface AssetHoldingsMap {
14
+ [symbol: string]: AssetHoldingsItem;
15
+ }
16
+ /**
17
+ * @returns formatted max usable USD balance from a given assets map */
18
+ export declare function getTotalAssetBalance(assets: AssetHoldingsMap): number;
@@ -0,0 +1,4 @@
1
+ export declare function useAutoClearState<T>(initialValue?: T | null): [
2
+ state: T | null,
3
+ setState: (newState: T | null, durationMs?: number) => void
4
+ ];
@@ -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;
@@ -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
@@ -20,5 +20,4 @@ export declare const useMeshActiveNetworkInfo: (chainId: string | undefined, exc
20
20
  meshSupportedTokens: string[];
21
21
  meshNetworkId: string | undefined;
22
22
  } | null;
23
- export declare function useMeshIntegrations(): import("@funkit/api-base").TransferIntegration[] | undefined;
24
- export declare function useMeshAccountHoldings(targetChain: string, connection: LinkPayload | null): import("@tanstack/react-query").UseQueryResult<import("../utils/assets").AssetHoldingsMap, Error>;
23
+ export declare function useMeshAccountHoldings(targetChain: string, connection: LinkPayload | null): import("@tanstack/react-query").UseQueryResult<import("../domains/wallet").AssetHoldingsMap, Error>;
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/BffUuva1O+xxtvwWveoGj4NWd4HVXMhwLbsSsa5JQskrKZn644dwn4awmANsOwJ3BH42racOI0lKCPVxHW0Z4hS7GgvDOmIx7eqoQwTMSkGcGpmeDoMoGwCkdY7SGLNcYr0fkHXvGRX7yrrKSCmecZ+TM/YxSn/f7QAsnuXkf0+bPMEcFHa7UoTS8HXWMF7Xtb/U/8FJUVZH1XTkvwVPPpa7CFXQM6B55/poKBI+a+/YDGpxK2P1Dws8afI7OVPTGixwBhLPyof799J2OBrqHiSuV2oNA7Swjwpmq6Cz5beTo8s7IvwuQmkfrAVjCrSSzqwHabfdl04/eYvpX3H4ChFyuk9Ih6dEw3o5jLL18AemffvKLBAAA */
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: 725px;
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=Ll8zZGtkc2MwIHsKICBib3JkZXItd2lkdGg6IDA7CiAgYm9yZGVyLXRvcC13aWR0aDogMXB4OwogIGZsZXg6IDE7Cn0= */
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=Ll84djN6c3owIHsKICBtYXgtaGVpZ2h0OiAyNTBweDsKICBvdmVyZmxvdzogaGlkZGVuOwp9Ci5fOHYzenN6MSB7CiAgdHJhbnNpdGlvbjogYWxsIDAuNXMgZWFzZS1pbi1vdXQ7Cn0KLl84djN6c3oyIHsKICB0cmFuc2l0aW9uOiBhbGwgNDAwbXMgZWFzZS1vdXQ7CiAgbWF4LWhlaWdodDogMDsKICBvdmVyZmxvdzogaGlkZGVuOwp9 */
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=Ll8yaTl6eTAgewogIG1hcmdpbi10b3A6IC0zMHB4OwogIG1hcmdpbi1ib3R0b206IC0xMHB4OwogIGRpc3BsYXk6IGZsZXg7CiAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKICBoZWlnaHQ6IDEyMHB4OwogIHdpZHRoOiAxODBweDsKICBiYWNrZ3JvdW5kOiByYWRpYWwtZ3JhZGllbnQoZWxsaXBzZSBjbG9zZXN0LXNpZGUsIHJnYmEoMjU1LCAxMzgsIDcyLCAwLjIpIDAlLCByZ2JhKDIyNSwgNTQsIDE3NywgMC4wNCkgODAlLCB0cmFuc3BhcmVudCk7Cn0KLl8yaTl6eTEgewogIG1hcmdpbi10b3A6IC0zMHB4OwogIG1hcmdpbi1ib3R0b206IC0xMHB4OwogIGRpc3BsYXk6IGZsZXg7CiAgYWxpZ24taXRlbXM6IGNlbnRlcjsKICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjsKICBoZWlnaHQ6IDEyMHB4OwogIHdpZHRoOiAxODBweDsKICBiYWNrZ3JvdW5kOiByYWRpYWwtZ3JhZGllbnQoZWxsaXBzZSBjbG9zZXN0LXNpZGUsIHJnYmEoMzcsIDE5MSwgOTksIDAuMikgMCUsIHJnYmEoNTQsIDIyNSwgMTQzLCAwLjA0KSA4MCUsIHRyYW5zcGFyZW50KTsKfQ== */
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=LnV3cmRjMjAgewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoudXdyZGMyMyB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIGJvdHRvbTogMDsKICByaWdodDogMDsKfQ== */
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] .uwrdc23 {
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;