@funkit/connect 11.6.0 → 12.0.0
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 +60 -0
- package/dist/{chunk-67BKQQNG.js → chunk-2RND3WWH.js} +1 -1
- package/dist/{chunk-L67HP4HQ.js → chunk-53FF4ZHH.js} +1 -1
- package/dist/{chunk-4YEAUICE.js → chunk-DH3DS4FX.js} +1 -0
- package/dist/clients/chunk-27VBRE7W.js +4907 -0
- package/dist/clients/{chunk-UPB4JKJG.js → chunk-37Q6DUR7.js} +12 -7
- package/dist/clients/chunk-3DHSLLCU.js +331 -0
- package/dist/clients/{chunk-DUBZPIDN.js → chunk-3J2GOB5X.js} +1 -1
- package/dist/clients/{chunk-LYZLETOM.js → chunk-A5JW3UI6.js} +1 -1
- package/dist/clients/chunk-BCNE3ZKM.js +190 -0
- package/dist/clients/chunk-BWJC2WD7.js +4899 -0
- package/dist/clients/{chunk-ZQZDPRWC.js → chunk-DYV3LRSE.js} +1 -1
- package/dist/clients/{chunk-Y7WLUPTX.js → chunk-EQA5U4V6.js} +8 -8
- package/dist/clients/chunk-EYMFEWQL.js +30 -0
- package/dist/clients/chunk-FPOGADLJ.js +4899 -0
- package/dist/clients/chunk-HB7S3NDI.js +15 -0
- package/dist/clients/chunk-HDFCM5UL.js +15 -0
- package/dist/clients/{chunk-IYCZWLAF.js → chunk-IAIRECDV.js} +8 -37
- package/dist/clients/chunk-JVR4CX6N.js +296 -0
- package/dist/clients/chunk-NEKHTWTT.js +331 -0
- package/dist/clients/chunk-PA7WW6VC.js +296 -0
- package/dist/clients/chunk-R6UAC2TB.js +190 -0
- package/dist/clients/chunk-RHOSJED2.js +335 -0
- package/dist/clients/chunk-SKDFSMAO.js +30 -0
- package/dist/clients/chunk-TI2NG2Z6.js +30 -0
- package/dist/clients/chunk-TZFXFVDW.js +296 -0
- package/dist/clients/chunk-VE6QD5IM.js +149 -0
- package/dist/clients/chunk-VXX2XK5J.js +190 -0
- package/dist/clients/{chunk-WNZ6QV5Q.js → chunk-WXSFLUPZ.js} +79 -15
- package/dist/clients/chunk-XSRAZSYG.js +15 -0
- package/dist/clients/fanatics.css +4686 -4659
- package/dist/clients/fanatics.js +7 -9
- package/dist/clients/internal/nado/withdrawalCallback.js +3 -3
- package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
- package/dist/clients/internal/nado/withdrawalForm.css +4712 -4682
- package/dist/clients/internal/nado/withdrawalForm.js +37 -13
- package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
- package/dist/clients/lighter.css +4712 -4682
- package/dist/clients/lighter.js +50 -30
- package/dist/clients/mallard.js +4 -4
- package/dist/clients/nado.js +3 -3
- package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +28 -19
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +5 -4
- package/dist/clients/polymarket/index.d.ts +0 -1
- package/dist/clients/polymarket/index.js +4 -17
- package/dist/clients/polymarket/polymarket.d.ts +12 -27
- package/dist/clients/polymarket/polymarket.js +1 -1
- package/dist/components/AsyncImage/useAsyncImage.d.ts +2 -0
- package/dist/components/Box/Box.d.ts +15 -15
- package/dist/components/Dialog/Dialog.d.ts +8 -1
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +3 -1
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.track.d.ts +10 -0
- package/dist/components/ModalHeaderTabs/ModalHeaderTabs.d.ts +23 -0
- package/dist/consts/polymarket.d.ts +14 -0
- package/dist/css/sprinkles.css.d.ts +17 -15
- package/dist/domains/polymarketPerps.d.ts +14 -0
- package/dist/hooks/queries/useFops.d.ts +3 -1
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/track/analytics/checkout.d.ts +10 -0
- package/dist/hooks/track/analytics/events.d.ts +20 -1
- package/dist/hooks/track/analytics/quote.d.ts +3 -1
- package/dist/hooks/track/analytics/resolveExecutionProgressContext.d.ts +2 -1
- package/dist/hooks/track/analytics/useDepositAnalytics.d.ts +0 -16
- package/dist/hooks/track/analytics/useWithdrawalAnalytics.d.ts +12 -1
- package/dist/hooks/useCheckoutTransferInit.d.ts +3 -1
- package/dist/hooks/useFittedText.d.ts +19 -0
- package/dist/hooks/usePolymarketAccountBalances.d.ts +13 -25
- package/dist/hooks/useTextMeasurer.d.ts +1 -1
- package/dist/hooks/useUpdateActiveFunkitCheckout.d.ts +10 -0
- package/dist/index.css +4712 -4682
- package/dist/index.js +5121 -3752
- package/dist/modals/CheckoutModal/CheckoutModalPrefetchedHooks.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -0
- package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +6 -1
- package/dist/modals/PolymarketPerpsTransfer/DirectionSwapButton.d.ts +1 -11
- package/dist/modals/PolymarketPerpsTransfer/PerpsHeaderTabs.d.ts +29 -0
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferAmountInput.css.d.ts +9 -0
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferAmountInput.d.ts +15 -0
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferBody.d.ts +12 -0
- package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsPrefetch.d.ts +7 -0
- package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +16 -2
- package/dist/modals/PolymarketPerpsTransfer/TransferAccountsCard.d.ts +12 -0
- package/dist/modals/PolymarketPerpsTransfer/TransferActionButton.d.ts +8 -1
- package/dist/modals/PolymarketPerpsTransfer/TransferPercentOptions.d.ts +13 -0
- package/dist/modals/PolymarketPerpsTransfer/usePerpsHeaderTabsState.d.ts +28 -0
- package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +31 -5
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +6 -0
- package/dist/modals/WithdrawalModal/useWithdrawalChainPreference.d.ts +17 -0
- package/dist/modals/WithdrawalModal/withdrawalHooks.d.ts +2 -1
- package/dist/providers/FunkitCheckoutContext/index.d.ts +13 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +44 -20
- package/dist/providers/FunkitShadowHostProvider.d.ts +31 -0
- package/dist/providers/FunkitThemeProvider.d.ts +3 -0
- package/dist/providers/FunkitThemeStyle.d.ts +12 -0
- package/dist/shadow/loadShadowCss.d.ts +9 -0
- package/dist/shadow/useMountShadowHost.d.ts +18 -0
- package/dist/shadow/useShadowCss.d.ts +6 -0
- package/dist/shadow-css.js +1 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/wallets/walletConnectors/chunk-2VP2F6EK.js +70 -0
- package/dist/wallets/walletConnectors/chunk-4T6ZSRJF.js +69 -0
- package/dist/wallets/walletConnectors/chunk-6BW3HLBG.js +96 -0
- package/dist/wallets/walletConnectors/chunk-CCQV2ZET.js +218 -0
- package/dist/wallets/walletConnectors/chunk-CPI4TD43.js +99 -0
- package/dist/wallets/walletConnectors/chunk-F5XEEVG6.js +98 -0
- package/dist/wallets/walletConnectors/chunk-HNRB7KJU.js +92 -0
- package/dist/wallets/walletConnectors/chunk-HTHAK6XB.js +93 -0
- package/dist/wallets/walletConnectors/chunk-MIQTHJ6X.js +66 -0
- package/dist/wallets/walletConnectors/chunk-RB3HR4R2.js +95 -0
- package/dist/wallets/walletConnectors/chunk-RVOY537T.js +100 -0
- package/dist/wallets/walletConnectors/chunk-STVVP43G.js +94 -0
- package/dist/wallets/walletConnectors/chunk-UK7C2JXW.js +87 -0
- package/dist/wallets/walletConnectors/chunk-VAPGUPHO.js +92 -0
- package/dist/wallets/walletConnectors/chunk-VTM6EECM.js +110 -0
- package/dist/wallets/walletConnectors/chunk-X6CGV36L.js +103 -0
- package/dist/wallets/walletConnectors/chunk-YEZM4CK4.js +96 -0
- package/dist/wallets/walletConnectors/chunk-ZNX4EMPB.js +106 -0
- package/dist/wallets/walletConnectors/index.js +33 -33
- package/package.json +5 -5
- package/dist/clients/chunk-DSZHYQPX.js +0 -31
- package/dist/clients/chunk-FNB7OPJI.js +0 -1316
- package/dist/clients/chunk-HZP4DXIZ.js +0 -231
- package/dist/clients/chunk-LUHEVXPD.js +0 -109
- package/dist/clients/chunk-SX3CX34W.js +0 -1177
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +0 -17545
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.d.ts +0 -30
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +0 -20
- package/dist/clients/polymarket/index.css +0 -17545
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferRows.d.ts +0 -10
- package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.css.d.ts +0 -13
- package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.d.ts +0 -27
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PerpsTransferForm } from './usePerpsTransferForm';
|
|
3
|
-
/**
|
|
4
|
-
* The From/To account rows with the direction-swap button between them —
|
|
5
|
-
* the body of the Perps ⇄ Predictions transfer screen, rendered from
|
|
6
|
-
* {@link usePerpsTransferForm} state.
|
|
7
|
-
*/
|
|
8
|
-
export declare function PerpsTransferRows({ form }: {
|
|
9
|
-
form: PerpsTransferForm;
|
|
10
|
-
}): React.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Borderless big-number amount field used inside the editable (source) row.
|
|
3
|
-
* The row's outer Box owns the border/background; this input is transparent so
|
|
4
|
-
* it reads as inline editable text.
|
|
5
|
-
*
|
|
6
|
-
* The 32px size matches the Figma amount type — there is no 32px token in the
|
|
7
|
-
* font scale, so it is set here. The family is the theme `body` font (same as
|
|
8
|
-
* the rest of the modal) — note the customer `header`/`inputAmount` tokens can
|
|
9
|
-
* resolve to `inherit`, so they must not be used here. The placeholder uses
|
|
10
|
-
* `secondaryText` to mirror the greyed-out empty "0.00" treatment in the design.
|
|
11
|
-
*/
|
|
12
|
-
export declare const amountInput: string;
|
|
13
|
-
export declare const transferAmountRowContainer: string;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface TransferAmountRowProps {
|
|
3
|
-
/** "From" / "To" prefix (already translated). */
|
|
4
|
-
relationLabel: string;
|
|
5
|
-
/** Account name, e.g. "Predictions" / "Perps". */
|
|
6
|
-
accountLabel: string;
|
|
7
|
-
/** Account balance in USD; rendered floored to the cent as "$X,XXX.XX". */
|
|
8
|
-
balanceUsd: number;
|
|
9
|
-
/**
|
|
10
|
-
* The source row is the editable side: it owns the input + Max button and
|
|
11
|
-
* gets the active border. The destination row mirrors the amount read-only
|
|
12
|
-
* and has no Max button.
|
|
13
|
-
*/
|
|
14
|
-
isSource: boolean;
|
|
15
|
-
/** Controlled amount string (raw user input; may contain separators). */
|
|
16
|
-
amount: string;
|
|
17
|
-
onAmountChange?: (next: string) => void;
|
|
18
|
-
onMax?: () => void;
|
|
19
|
-
testId?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* A single From/To account row in the Perps ⇄ Predictions transfer screen.
|
|
23
|
-
* Top line shows the relation + account name, the account balance, and — on the
|
|
24
|
-
* source row — a Max button; the bottom line shows the (large) amount and, on
|
|
25
|
-
* the source row, the `pUSD` denomination.
|
|
26
|
-
*/
|
|
27
|
-
export declare function TransferAmountRow({ relationLabel, accountLabel, balanceUsd, isSource, amount, onAmountChange, onMax, testId, }: TransferAmountRowProps): React.JSX.Element;
|