@funkit/connect 12.10.1 → 12.12.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 +61 -0
- package/dist/clients/{chunk-ATNOIBW2.js → chunk-GPI6LBBB.js} +1 -1
- package/dist/clients/{chunk-7GPRX32F.js → chunk-JN52EBYV.js} +64 -0
- package/dist/clients/{chunk-4OOCXIMA.js → chunk-PK7BKCPR.js} +2 -2
- package/dist/clients/{chunk-A2WBB3UO.js → chunk-RBMOSICG.js} +1 -1
- package/dist/clients/{chunk-B5KCBBSV.js → chunk-WXHSEFYH.js} +1 -1
- package/dist/clients/fanatics.js +2 -2
- 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 +30 -30
- package/dist/clients/internal/nado/withdrawalForm.js +3 -3
- package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/mallard.js +2 -2
- package/dist/clients/nado.js +3 -3
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +7 -5
- package/dist/components/ErrorBoundary/ErrorFallback.d.ts +9 -1
- package/dist/components/FunTransactionSummary/DestinationLineItems.d.ts +14 -0
- package/dist/components/FunTransactionSummary/DestinationYieldRows.d.ts +0 -1
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +2 -1
- package/dist/components/FunTransactionSummary/PaymentMethodSummary.d.ts +4 -2
- package/dist/hooks/useModalStateValueWithProp.d.ts +13 -0
- package/dist/index.css +79 -79
- package/dist/index.d.ts +3 -2
- package/dist/index.js +20525 -20227
- package/dist/providers/FunkitCheckoutContext/types.d.ts +46 -0
- package/dist/shadow-css.js +1 -1
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/externalDomMutation.d.ts +6 -0
- package/dist/utils/solanaRelayWallet.d.ts +3 -5
- package/dist/wallets/Wallet.d.ts +10 -0
- package/dist/wallets/hypercoreWithdrawal.d.ts +8 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +48 -48
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +6 -6
- package/dist/wallets/walletConnectors/{chunk-CU5J53XR.js → chunk-53MYTA42.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZSSSLFQF.js → chunk-65ULY6OC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XODA5ESL.js → chunk-A5POD5SV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RXRYHMRI.js → chunk-ANODOMIN.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IWOMSW64.js → chunk-ASTCNVJC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-U52QO5HF.js → chunk-F45CUFRR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YRMBR6NA.js → chunk-FYPQ3HP4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBDNB5TQ.js → chunk-IWPW26AL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4FHNLTR3.js → chunk-JJBLW4IU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-NXWG6FG2.js → chunk-KE4CWI3A.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-BBB2J3US.js → chunk-MWB6LFSG.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-34B7OJNT.js → chunk-OVDCDVFX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-SR5CZR3L.js → chunk-PPQ6L4K2.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IA5432IR.js → chunk-RJF2YEZ5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RFCZYLNR.js → chunk-RQYEGJKL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TRZDAXCQ.js → chunk-TIHTQ3OB.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ALGPGI6V.js → chunk-TM7UBV3Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HOCKAU5H.js → chunk-USLZMUJ3.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 12.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a02c809: `WithdrawalClient` accepts an optional `adaptedWallet`, letting a non-EVM source such as Solana or Lighter withdraw through its own relay wallet.
|
|
8
|
+
- d3257dc: Added `useHypercoreWithdrawalConfig` for withdrawing from a HyperCore account through the withdrawal modal with an integrator-held signer.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- ff762f1: Break the circular import between the checkout utilities and the checkout provider.
|
|
13
|
+
- 00bee30: Prevent Danish krone from being selected by default for eligible customers while keeping it available for manual selection.
|
|
14
|
+
- 7cb157b: Keep the modal open after a crash and suggest fixes when page translation or an extension caused it
|
|
15
|
+
- 5fe32b9: Log crashes caused by page translation or browser extensions as warnings instead of errors
|
|
16
|
+
- 51a8073: Identify receive-token dropdown rows by chain and symbol, so destinations sharing a symbol across chains each show their own chain icon and select correctly.
|
|
17
|
+
- d46889e: Remove abandoned commented-out code; no behavior change.
|
|
18
|
+
- 443cbc7: Accept Solana deposit-address routes whose target asset is a Solana mint.
|
|
19
|
+
- Updated dependencies [f285f3e]
|
|
20
|
+
- Updated dependencies [25bf89e]
|
|
21
|
+
- Updated dependencies [e2505f7]
|
|
22
|
+
- Updated dependencies [00bee30]
|
|
23
|
+
- Updated dependencies [07b3391]
|
|
24
|
+
- Updated dependencies [dfe1f5a]
|
|
25
|
+
- Updated dependencies [5bf8392]
|
|
26
|
+
- Updated dependencies [7691344]
|
|
27
|
+
- Updated dependencies [e90e8d5]
|
|
28
|
+
- Updated dependencies [d3257dc]
|
|
29
|
+
- Updated dependencies [020e9d7]
|
|
30
|
+
- Updated dependencies [4ebf582]
|
|
31
|
+
- Updated dependencies [b647c9a]
|
|
32
|
+
- Updated dependencies [e9bb068]
|
|
33
|
+
- Updated dependencies [7185c0e]
|
|
34
|
+
- Updated dependencies [78e1d15]
|
|
35
|
+
- Updated dependencies [f2ebb0c]
|
|
36
|
+
- Updated dependencies [19ca858]
|
|
37
|
+
- Updated dependencies [8082cd5]
|
|
38
|
+
- Updated dependencies [56d37e2]
|
|
39
|
+
- Updated dependencies [443cbc7]
|
|
40
|
+
- Updated dependencies [6d47c89]
|
|
41
|
+
- @funkit/api-base@8.5.2
|
|
42
|
+
- @funkit/connect-core@8.5.0
|
|
43
|
+
- @funkit/chains@2.4.2
|
|
44
|
+
- @funkit/utils@5.0.2
|
|
45
|
+
- @funkit/fun-relay@3.1.2
|
|
46
|
+
|
|
47
|
+
## 12.11.1
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- ed6d1be: Prevent closed modals from applying delayed navigation or state changes.
|
|
52
|
+
|
|
53
|
+
## 12.11.0
|
|
54
|
+
|
|
55
|
+
### Minor Changes
|
|
56
|
+
|
|
57
|
+
- 5d1e582: Checkout configs can now add their own rows to the payment method summary on the confirmation screen, each with an optional info tooltip on the label or value.
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- Updated dependencies [4aa16c2]
|
|
62
|
+
- @funkit/connect-core@8.4.1
|
|
63
|
+
|
|
3
64
|
## 12.10.1
|
|
4
65
|
|
|
5
66
|
### Patch Changes
|
|
@@ -686,6 +686,14 @@ var en_default = {
|
|
|
686
686
|
errorOccurred: "Something went wrong. Please try again.",
|
|
687
687
|
belowMinimum: "{{amount}} minimum transfer",
|
|
688
688
|
pending: "Transfer pending"
|
|
689
|
+
},
|
|
690
|
+
errorFallback: {
|
|
691
|
+
title: "Something went wrong",
|
|
692
|
+
description: "Close this window and try again.",
|
|
693
|
+
externalDescription: "Page translation or a browser extension may have interfered with this window.",
|
|
694
|
+
disableTranslation: "Turn off page translation for this site",
|
|
695
|
+
disableExtensions: "Disable browser extensions, then reload",
|
|
696
|
+
switchBrowser: "Or open this page in another browser"
|
|
689
697
|
}
|
|
690
698
|
};
|
|
691
699
|
|
|
@@ -1284,6 +1292,14 @@ var es_default = {
|
|
|
1284
1292
|
errorOccurred: "Algo sali\xF3 mal. Int\xE9ntalo de nuevo.",
|
|
1285
1293
|
belowMinimum: "{{amount}} transferencia m\xEDnima",
|
|
1286
1294
|
pending: "Transferencia pendiente"
|
|
1295
|
+
},
|
|
1296
|
+
errorFallback: {
|
|
1297
|
+
title: "Algo sali\xF3 mal",
|
|
1298
|
+
description: "Cierra esta ventana e int\xE9ntalo de nuevo.",
|
|
1299
|
+
externalDescription: "Es posible que la traducci\xF3n de la p\xE1gina o una extensi\xF3n del navegador hayan interferido con esta ventana.",
|
|
1300
|
+
disableTranslation: "Desactiva la traducci\xF3n de la p\xE1gina para este sitio",
|
|
1301
|
+
disableExtensions: "Desactiva las extensiones del navegador y vuelve a cargar",
|
|
1302
|
+
switchBrowser: "O abre esta p\xE1gina en otro navegador"
|
|
1287
1303
|
}
|
|
1288
1304
|
};
|
|
1289
1305
|
|
|
@@ -1882,6 +1898,14 @@ var fr_default = {
|
|
|
1882
1898
|
errorOccurred: "Une erreur s'est produite. Veuillez r\xE9essayer.",
|
|
1883
1899
|
belowMinimum: "Transfert minimum de {{amount}}",
|
|
1884
1900
|
pending: "Transfert en attente"
|
|
1901
|
+
},
|
|
1902
|
+
errorFallback: {
|
|
1903
|
+
title: "Un probl\xE8me est survenu",
|
|
1904
|
+
description: "Fermez cette fen\xEAtre et r\xE9essayez.",
|
|
1905
|
+
externalDescription: "La traduction de la page ou une extension du navigateur a peut-\xEAtre perturb\xE9 cette fen\xEAtre.",
|
|
1906
|
+
disableTranslation: "D\xE9sactivez la traduction de la page pour ce site",
|
|
1907
|
+
disableExtensions: "D\xE9sactivez les extensions du navigateur, puis rechargez",
|
|
1908
|
+
switchBrowser: "Ou ouvrez cette page dans un autre navigateur"
|
|
1885
1909
|
}
|
|
1886
1910
|
};
|
|
1887
1911
|
|
|
@@ -2480,6 +2504,14 @@ var ja_default = {
|
|
|
2480
2504
|
errorOccurred: "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
|
|
2481
2505
|
belowMinimum: "{{amount}} \u6700\u5C0F\u9001\u91D1\u984D",
|
|
2482
2506
|
pending: "\u9001\u91D1\u4FDD\u7559\u4E2D"
|
|
2507
|
+
},
|
|
2508
|
+
errorFallback: {
|
|
2509
|
+
title: "\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F",
|
|
2510
|
+
description: "\u3053\u306E\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u9589\u3058\u3066\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
|
|
2511
|
+
externalDescription: "\u30DA\u30FC\u30B8\u7FFB\u8A33\u307E\u305F\u306F\u30D6\u30E9\u30A6\u30B6\u62E1\u5F35\u6A5F\u80FD\u304C\u3053\u306E\u30A6\u30A3\u30F3\u30C9\u30A6\u306B\u5E72\u6E09\u3057\u305F\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",
|
|
2512
|
+
disableTranslation: "\u3053\u306E\u30B5\u30A4\u30C8\u306E\u30DA\u30FC\u30B8\u7FFB\u8A33\u3092\u30AA\u30D5\u306B\u3059\u308B",
|
|
2513
|
+
disableExtensions: "\u30D6\u30E9\u30A6\u30B6\u62E1\u5F35\u6A5F\u80FD\u3092\u7121\u52B9\u306B\u3057\u3066\u518D\u8AAD\u307F\u8FBC\u307F\u3059\u308B",
|
|
2514
|
+
switchBrowser: "\u307E\u305F\u306F\u5225\u306E\u30D6\u30E9\u30A6\u30B6\u3067\u3053\u306E\u30DA\u30FC\u30B8\u3092\u958B\u304F"
|
|
2483
2515
|
}
|
|
2484
2516
|
};
|
|
2485
2517
|
|
|
@@ -3078,6 +3110,14 @@ var ko_default = {
|
|
|
3078
3110
|
errorOccurred: "\uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.",
|
|
3079
3111
|
belowMinimum: "{{amount}} \uCD5C\uC18C \uC804\uC1A1 \uAE08\uC561",
|
|
3080
3112
|
pending: "\uC774\uCCB4 \uB300\uAE30 \uC911"
|
|
3113
|
+
},
|
|
3114
|
+
errorFallback: {
|
|
3115
|
+
title: "\uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4",
|
|
3116
|
+
description: "\uC774 \uCC3D\uC744 \uB2EB\uACE0 \uB2E4\uC2DC \uC2DC\uB3C4\uD574 \uC8FC\uC138\uC694.",
|
|
3117
|
+
externalDescription: "\uD398\uC774\uC9C0 \uBC88\uC5ED \uB610\uB294 \uBE0C\uB77C\uC6B0\uC800 \uD655\uC7A5 \uD504\uB85C\uADF8\uB7A8\uC774 \uC774 \uCC3D\uC744 \uBC29\uD574\uD588\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
3118
|
+
disableTranslation: "\uC774 \uC0AC\uC774\uD2B8\uC758 \uD398\uC774\uC9C0 \uBC88\uC5ED\uC744 \uB044\uC138\uC694",
|
|
3119
|
+
disableExtensions: "\uBE0C\uB77C\uC6B0\uC800 \uD655\uC7A5 \uD504\uB85C\uADF8\uB7A8\uC744 \uBE44\uD65C\uC131\uD654\uD55C \uD6C4 \uC0C8\uB85C\uACE0\uCE68\uD558\uC138\uC694",
|
|
3120
|
+
switchBrowser: "\uB610\uB294 \uB2E4\uB978 \uBE0C\uB77C\uC6B0\uC800\uC5D0\uC11C \uC774 \uD398\uC774\uC9C0\uB97C \uC5EC\uC138\uC694"
|
|
3081
3121
|
}
|
|
3082
3122
|
};
|
|
3083
3123
|
|
|
@@ -3676,6 +3716,14 @@ var ru_default = {
|
|
|
3676
3716
|
errorOccurred: "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.",
|
|
3677
3717
|
belowMinimum: "{{amount}} \u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0435\u0440\u0435\u0432\u043E\u0434",
|
|
3678
3718
|
pending: "\u041F\u0435\u0440\u0435\u0432\u043E\u0434 \u0432 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0435"
|
|
3719
|
+
},
|
|
3720
|
+
errorFallback: {
|
|
3721
|
+
title: "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A",
|
|
3722
|
+
description: "\u0417\u0430\u043A\u0440\u043E\u0439\u0442\u0435 \u044D\u0442\u043E \u043E\u043A\u043D\u043E \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.",
|
|
3723
|
+
externalDescription: "\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E, \u043F\u0435\u0440\u0435\u0432\u043E\u0434 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0438\u043B\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043F\u043E\u043C\u0435\u0448\u0430\u043B\u0438 \u0440\u0430\u0431\u043E\u0442\u0435 \u044D\u0442\u043E\u0433\u043E \u043E\u043A\u043D\u0430.",
|
|
3724
|
+
disableTranslation: "\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0441\u0430\u0439\u0442\u0430",
|
|
3725
|
+
disableExtensions: "\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443",
|
|
3726
|
+
switchBrowser: "\u0418\u043B\u0438 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u044D\u0442\u0443 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0432 \u0434\u0440\u0443\u0433\u043E\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435"
|
|
3679
3727
|
}
|
|
3680
3728
|
};
|
|
3681
3729
|
|
|
@@ -4274,6 +4322,14 @@ var tr_default = {
|
|
|
4274
4322
|
errorOccurred: "Bir \u015Feyler yanl\u0131\u015F gitti. L\xFCtfen tekrar deneyin.",
|
|
4275
4323
|
belowMinimum: "{{amount}} minimum transfer",
|
|
4276
4324
|
pending: "Transfer beklemede"
|
|
4325
|
+
},
|
|
4326
|
+
errorFallback: {
|
|
4327
|
+
title: "Bir \u015Feyler yanl\u0131\u015F gitti",
|
|
4328
|
+
description: "Bu pencereyi kapat\u0131p tekrar deneyin.",
|
|
4329
|
+
externalDescription: "Sayfa \xE7evirisi veya bir taray\u0131c\u0131 uzant\u0131s\u0131 bu pencereyi etkilemi\u015F olabilir.",
|
|
4330
|
+
disableTranslation: "Bu site i\xE7in sayfa \xE7evirisini kapat\u0131n",
|
|
4331
|
+
disableExtensions: "Taray\u0131c\u0131 uzant\u0131lar\u0131n\u0131 devre d\u0131\u015F\u0131 b\u0131rak\u0131p sayfay\u0131 yenileyin",
|
|
4332
|
+
switchBrowser: "Veya bu sayfay\u0131 ba\u015Fka bir taray\u0131c\u0131da a\xE7\u0131n"
|
|
4277
4333
|
}
|
|
4278
4334
|
};
|
|
4279
4335
|
|
|
@@ -4872,6 +4928,14 @@ var zh_default = {
|
|
|
4872
4928
|
errorOccurred: "\u51FA\u73B0\u95EE\u9898\u3002\u8BF7\u91CD\u8BD5\u3002",
|
|
4873
4929
|
belowMinimum: "{{amount}} \u6700\u5C0F\u8F6C\u8D26",
|
|
4874
4930
|
pending: "\u8F6C\u8D26\u5904\u7406\u4E2D"
|
|
4931
|
+
},
|
|
4932
|
+
errorFallback: {
|
|
4933
|
+
title: "\u51FA\u73B0\u95EE\u9898",
|
|
4934
|
+
description: "\u8BF7\u5173\u95ED\u6B64\u7A97\u53E3\u540E\u91CD\u8BD5\u3002",
|
|
4935
|
+
externalDescription: "\u7F51\u9875\u7FFB\u8BD1\u6216\u6D4F\u89C8\u5668\u6269\u5C55\u7A0B\u5E8F\u53EF\u80FD\u5E72\u6270\u4E86\u6B64\u7A97\u53E3\u3002",
|
|
4936
|
+
disableTranslation: "\u5173\u95ED\u6B64\u7F51\u7AD9\u7684\u7F51\u9875\u7FFB\u8BD1",
|
|
4937
|
+
disableExtensions: "\u505C\u7528\u6D4F\u89C8\u5668\u6269\u5C55\u7A0B\u5E8F\uFF0C\u7136\u540E\u91CD\u65B0\u52A0\u8F7D",
|
|
4938
|
+
switchBrowser: "\u6216\u5728\u5176\u4ED6\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00\u6B64\u9875\u9762"
|
|
4875
4939
|
}
|
|
4876
4940
|
};
|
|
4877
4941
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isExpectedNadoWithdrawalFailure,
|
|
4
4
|
toNadoWithdrawalErrorMessage
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WXHSEFYH.js";
|
|
6
6
|
import {
|
|
7
7
|
toWithdrawalAmountBaseUnit
|
|
8
8
|
} from "./chunk-4DBUYTEE.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-OODIKHYE.js";
|
|
14
14
|
import {
|
|
15
15
|
i18n_default
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JN52EBYV.js";
|
|
17
17
|
import {
|
|
18
18
|
generateClientMetadataForTokenTransfer
|
|
19
19
|
} from "./chunk-I5GSXPFE.js";
|
package/dist/clients/fanatics.js
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
} from "./chunk-RQALGV5U.js";
|
|
11
11
|
import {
|
|
12
12
|
useFunkitTranslation
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-GPI6LBBB.js";
|
|
14
|
+
import "./chunk-JN52EBYV.js";
|
|
15
15
|
import "./chunk-AHYOV7AV.js";
|
|
16
16
|
|
|
17
17
|
// src/clients/fanatics.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createNadoWithdrawalCallback
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-PK7BKCPR.js";
|
|
5
|
+
import "../../chunk-WXHSEFYH.js";
|
|
6
6
|
import "../../chunk-4DBUYTEE.js";
|
|
7
7
|
import "../../chunk-OODIKHYE.js";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-JN52EBYV.js";
|
|
9
9
|
import "../../chunk-I5GSXPFE.js";
|
|
10
10
|
import "../../chunk-AHYOV7AV.js";
|
|
11
11
|
export {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isExpectedNadoWithdrawalFailure,
|
|
4
4
|
toNadoWithdrawalErrorMessage
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-WXHSEFYH.js";
|
|
6
|
+
import "../../chunk-JN52EBYV.js";
|
|
7
7
|
export {
|
|
8
8
|
isExpectedNadoWithdrawalFailure,
|
|
9
9
|
toNadoWithdrawalErrorMessage
|
|
@@ -16560,6 +16560,36 @@
|
|
|
16560
16560
|
transition: background-color 0s linear 100ms;
|
|
16561
16561
|
}
|
|
16562
16562
|
|
|
16563
|
+
/* vanilla-extract-css-ns:src/components/Icons/CaretDownIcon.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfMWdqZGYxaTAgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlM2QoMSwwLDAsMGRlZyk7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUzZCgxLDAsMCwxODBkZWcpOwogIH0KfQpAa2V5ZnJhbWVzIF8xZ2pkZjFpMSB7CiAgMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUzZCgxLDAsMCwxODBkZWcpOwogIH0KICAxMDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlM2QoMSwwLDAsMGRlZyk7CiAgfQp9Ci5fMWdqZGYxaTIgewogIGFuaW1hdGlvbjogXzFnamRmMWkwIDI1MG1zIGN1YmljLWJlemllcigwLjI5LCAtMC4wMSwgMCwgMSkgZm9yd2FyZHM7Cn0KLl8xZ2pkZjFpMyB7CiAgYW5pbWF0aW9uOiBfMWdqZGYxaTEgMjUwbXMgY3ViaWMtYmV6aWVyKDAuMjksIC0wLjAxLCAwLCAxKSBmb3J3YXJkczsKfQ */
|
|
16564
|
+
@keyframes _1gjdf1i0 {
|
|
16565
|
+
0% {
|
|
16566
|
+
transform: rotate3d(1, 0, 0, 0deg);
|
|
16567
|
+
}
|
|
16568
|
+
100% {
|
|
16569
|
+
transform: rotate3d(1, 0, 0, 180deg);
|
|
16570
|
+
}
|
|
16571
|
+
}
|
|
16572
|
+
@keyframes _1gjdf1i1 {
|
|
16573
|
+
0% {
|
|
16574
|
+
transform: rotate3d(1, 0, 0, 180deg);
|
|
16575
|
+
}
|
|
16576
|
+
100% {
|
|
16577
|
+
transform: rotate3d(1, 0, 0, 0deg);
|
|
16578
|
+
}
|
|
16579
|
+
}
|
|
16580
|
+
[data-rk] ._1gjdf1i2 {
|
|
16581
|
+
animation: _1gjdf1i0 250ms cubic-bezier(0.29, -0.01, 0, 1) forwards;
|
|
16582
|
+
}
|
|
16583
|
+
[data-rk] ._1gjdf1i3 {
|
|
16584
|
+
animation: _1gjdf1i1 250ms cubic-bezier(0.29, -0.01, 0, 1) forwards;
|
|
16585
|
+
}
|
|
16586
|
+
|
|
16587
|
+
/* vanilla-extract-css-ns:src/components/FunFeatureList/FunFeatureList.css.ts.vanilla.css?source=Ll8xMDQ1cXI3MSB7CiAgb3V0bGluZS1jb2xvcjogdmFyKC0tcmstY29sb3JzLWFjdGlvbkNvbG9yRGlzYWJsZWQpOwogIHRyYW5zaXRpb246IGFsbCAxNTBtcyBjdWJpYy1iZXppZXIoMC4zLCAwLCAwLjA2LCAxKTsKfQ */
|
|
16588
|
+
[data-rk] ._1045qr71 {
|
|
16589
|
+
outline-color: var(--rk-colors-actionColorDisabled);
|
|
16590
|
+
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16591
|
+
}
|
|
16592
|
+
|
|
16563
16593
|
/* vanilla-extract-css-ns:src/components/FunInput/FunInput.css.ts.vanilla.css?source=#H4sIAAAAAAAAA9VUzU7DMAy-7yl8QRpSU6X8TCgTF8aBB-CGOLipt0VrncpNgQ7x7qgdbGXTEGIIxDHJ5-_Hjhwva9JupOF5ABAEuXLBeTaAeQ7JuS4qsHXqrEpp6UiGOj6NQEegYz2KIDkeD14G8Yoj2eFgz9QDnBijHilduKB8HUhUVTpWaR2C5wh2QY75I6gTKFBmjg3o8QDgHYplSSjIlnZV70JT0iXXRUpy31Gowi8_KznrUCnaxUx8zZmyPvdiVtlKFOLQiqdeMpL3agBfh9wxbS4eXRbmBhKtj9rj1HNQUyxc3hhwPCdxHc9hbT8zpszR0tznGUnn_M3uA8pQKVms7FeqIus5Q2lu6Sn0KUa_mXejerjxi38wKABfonWhMaDj8775L-dH22pO2sO1qzDNKet3AX-3C3vi4E_Fsf9gqBuzh3_i7Ed2716yrd2mzdw_kKzx68WbbD3smcJ2rLqiiWcmGyi7WqNvWqq-wemfrJjp96fzCplzuQIZBwAA */
|
|
16564
16594
|
[data-rk] .zue0i60 {
|
|
16565
16595
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
@@ -16844,30 +16874,6 @@
|
|
|
16844
16874
|
outline-color: var(--rk-colors-tertiaryText);
|
|
16845
16875
|
}
|
|
16846
16876
|
|
|
16847
|
-
/* vanilla-extract-css-ns:src/components/Icons/CaretDownIcon.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfMWdqZGYxaTAgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlM2QoMSwwLDAsMGRlZyk7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUzZCgxLDAsMCwxODBkZWcpOwogIH0KfQpAa2V5ZnJhbWVzIF8xZ2pkZjFpMSB7CiAgMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUzZCgxLDAsMCwxODBkZWcpOwogIH0KICAxMDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlM2QoMSwwLDAsMGRlZyk7CiAgfQp9Ci5fMWdqZGYxaTIgewogIGFuaW1hdGlvbjogXzFnamRmMWkwIDI1MG1zIGN1YmljLWJlemllcigwLjI5LCAtMC4wMSwgMCwgMSkgZm9yd2FyZHM7Cn0KLl8xZ2pkZjFpMyB7CiAgYW5pbWF0aW9uOiBfMWdqZGYxaTEgMjUwbXMgY3ViaWMtYmV6aWVyKDAuMjksIC0wLjAxLCAwLCAxKSBmb3J3YXJkczsKfQ */
|
|
16848
|
-
@keyframes _1gjdf1i0 {
|
|
16849
|
-
0% {
|
|
16850
|
-
transform: rotate3d(1, 0, 0, 0deg);
|
|
16851
|
-
}
|
|
16852
|
-
100% {
|
|
16853
|
-
transform: rotate3d(1, 0, 0, 180deg);
|
|
16854
|
-
}
|
|
16855
|
-
}
|
|
16856
|
-
@keyframes _1gjdf1i1 {
|
|
16857
|
-
0% {
|
|
16858
|
-
transform: rotate3d(1, 0, 0, 180deg);
|
|
16859
|
-
}
|
|
16860
|
-
100% {
|
|
16861
|
-
transform: rotate3d(1, 0, 0, 0deg);
|
|
16862
|
-
}
|
|
16863
|
-
}
|
|
16864
|
-
[data-rk] ._1gjdf1i2 {
|
|
16865
|
-
animation: _1gjdf1i0 250ms cubic-bezier(0.29, -0.01, 0, 1) forwards;
|
|
16866
|
-
}
|
|
16867
|
-
[data-rk] ._1gjdf1i3 {
|
|
16868
|
-
animation: _1gjdf1i1 250ms cubic-bezier(0.29, -0.01, 0, 1) forwards;
|
|
16869
|
-
}
|
|
16870
|
-
|
|
16871
16877
|
/* vanilla-extract-css-ns:src/components/Dropdown/BaseActiveDropdownItem.css.ts.vanilla.css?source=Ll8xZGV3aXF3MCB7CiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGN1YmljLWJlemllcigwLjMsIDAsIDAuMDYsIDEpOwp9 */
|
|
16872
16878
|
[data-rk] ._1dewiqw0 {
|
|
16873
16879
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
@@ -17579,9 +17585,3 @@
|
|
|
17579
17585
|
color: var(--rk-colors-primaryText);
|
|
17580
17586
|
opacity: 0.8;
|
|
17581
17587
|
}
|
|
17582
|
-
|
|
17583
|
-
/* vanilla-extract-css-ns:src/components/FunFeatureList/FunFeatureList.css.ts.vanilla.css?source=Ll8xMDQ1cXI3MSB7CiAgb3V0bGluZS1jb2xvcjogdmFyKC0tcmstY29sb3JzLWFjdGlvbkNvbG9yRGlzYWJsZWQpOwogIHRyYW5zaXRpb246IGFsbCAxNTBtcyBjdWJpYy1iZXppZXIoMC4zLCAwLCAwLjA2LCAxKTsKfQ */
|
|
17584
|
-
[data-rk] ._1045qr71 {
|
|
17585
|
-
outline-color: var(--rk-colors-actionColorDisabled);
|
|
17586
|
-
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
17587
|
-
}
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
import "../../chunk-6EU6CXNH.js";
|
|
9
9
|
import {
|
|
10
10
|
useFunkitConfig
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-RBMOSICG.js";
|
|
12
12
|
import {
|
|
13
13
|
useFunkitTranslation
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-GPI6LBBB.js";
|
|
15
15
|
import "../../chunk-4DBUYTEE.js";
|
|
16
16
|
import "../../chunk-2W2P3OS6.js";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-JN52EBYV.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
20
|
} from "../../chunk-AHYOV7AV.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useFunkitConfig
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-RBMOSICG.js";
|
|
5
|
+
import "../../chunk-GPI6LBBB.js";
|
|
6
6
|
import {
|
|
7
7
|
useAccount
|
|
8
8
|
} from "../../chunk-2W2P3OS6.js";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-JN52EBYV.js";
|
|
10
10
|
import {
|
|
11
11
|
logger
|
|
12
12
|
} from "../../chunk-AHYOV7AV.js";
|
package/dist/clients/lighter.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-6EU6CXNH.js";
|
|
6
6
|
import {
|
|
7
7
|
useFunkitConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RBMOSICG.js";
|
|
9
9
|
import {
|
|
10
10
|
AsyncImage,
|
|
11
11
|
Box,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-RQALGV5U.js";
|
|
14
14
|
import {
|
|
15
15
|
useFunkitTranslation
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GPI6LBBB.js";
|
|
17
17
|
import "./chunk-OODIKHYE.js";
|
|
18
18
|
import "./chunk-2W2P3OS6.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-JN52EBYV.js";
|
|
20
20
|
import {
|
|
21
21
|
logger
|
|
22
22
|
} from "./chunk-AHYOV7AV.js";
|
package/dist/clients/mallard.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useFunkitTranslation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GPI6LBBB.js";
|
|
5
5
|
import {
|
|
6
6
|
getAccount,
|
|
7
7
|
sendTransaction,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
useAccount,
|
|
15
15
|
useConfig
|
|
16
16
|
} from "./chunk-2W2P3OS6.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-JN52EBYV.js";
|
|
18
18
|
import {
|
|
19
19
|
logger
|
|
20
20
|
} from "./chunk-AHYOV7AV.js";
|
package/dist/clients/nado.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createNadoWithdrawalCallback
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PK7BKCPR.js";
|
|
5
|
+
import "./chunk-WXHSEFYH.js";
|
|
6
6
|
import "./chunk-4DBUYTEE.js";
|
|
7
7
|
import "./chunk-OODIKHYE.js";
|
|
8
8
|
import {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-2W2P3OS6.js";
|
|
12
12
|
import {
|
|
13
13
|
i18n_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JN52EBYV.js";
|
|
15
15
|
import "./chunk-I5GSXPFE.js";
|
|
16
16
|
import {
|
|
17
17
|
logger
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Component, type ErrorInfo, type ReactNode } from 'react';
|
|
3
2
|
interface ErrorBoundaryProps {
|
|
4
3
|
children: ReactNode;
|
|
5
|
-
|
|
4
|
+
renderFallback: (error: Error) => ReactNode;
|
|
5
|
+
/** Clears a caught error when it changes, e.g. when a soft-hidden modal reopens */
|
|
6
|
+
resetKey?: unknown;
|
|
6
7
|
}
|
|
7
8
|
interface ErrorBoundaryState {
|
|
8
|
-
|
|
9
|
+
error: Error | null;
|
|
9
10
|
}
|
|
10
11
|
declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
11
12
|
constructor(props: ErrorBoundaryProps);
|
|
12
|
-
static getDerivedStateFromError(
|
|
13
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
14
|
+
componentDidUpdate(prevProps: ErrorBoundaryProps): void;
|
|
13
15
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
14
|
-
render():
|
|
16
|
+
render(): ReactNode;
|
|
15
17
|
}
|
|
16
18
|
export default ErrorBoundary;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
interface ErrorFallbackProps {
|
|
3
|
+
error: Error;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
/** Names the dialog for screen readers once the crashed content is gone */
|
|
6
|
+
titleId: string;
|
|
7
|
+
}
|
|
8
|
+
/** Replaces a crashed modal's content while keeping the modal open */
|
|
9
|
+
export declare const ErrorFallback: ({ error, onClose, titleId, }: ErrorFallbackProps) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DestinationLineItem } from '../../providers/FunkitCheckoutContext/types';
|
|
3
|
+
export declare const TX_SUMMARY_VALUE_COLORS: {
|
|
4
|
+
default: string;
|
|
5
|
+
success: string;
|
|
6
|
+
caution: string;
|
|
7
|
+
danger: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const MAX_DESTINATION_LINE_ITEMS = 3;
|
|
10
|
+
/** Additional line items provided through `resolveDestinationLineItems`, rendered last in the summary box. */
|
|
11
|
+
export declare function DestinationLineItems({ items, isLoading, }: {
|
|
12
|
+
items: DestinationLineItem[] | null | undefined;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
}): React.JSX.Element | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
|
|
3
|
-
export declare const YIELD_GREEN = "#478f00";
|
|
4
3
|
/**
|
|
5
4
|
* Renders integrator-provided destination yield metadata (Supply APY /
|
|
6
5
|
* Collateralization) as rows. Driven by the customer-agnostic
|
|
@@ -3,6 +3,7 @@ import { type BoxProps } from '../Box/Box';
|
|
|
3
3
|
export declare function FunTxSummaryBox({ children, ...otherProps }: BoxProps): React.JSX.Element;
|
|
4
4
|
export declare function FunTxSummaryDivider(): React.JSX.Element;
|
|
5
5
|
export declare function FunTxSummaryLineItem({ children, ...otherProps }: BoxProps): React.JSX.Element;
|
|
6
|
-
export declare function FunTxSummaryLineItemKeyText({ text }: {
|
|
6
|
+
export declare function FunTxSummaryLineItemKeyText({ text, tooltip, }: {
|
|
7
7
|
text: string;
|
|
8
|
+
tooltip?: string;
|
|
8
9
|
}): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FunAddress } from '@funkit/api-base';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import type { PaymentMethodInfo } from '../../domains/paymentMethods';
|
|
4
|
-
import type { FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
|
|
4
|
+
import type { DestinationLineItem, FunkitCheckoutConfig } from '../../providers/FunkitCheckoutContext/types';
|
|
5
5
|
import { type HealthFactorInfo } from './DestinationHealthFactorRow';
|
|
6
6
|
interface PaymentMethodSummaryProps {
|
|
7
7
|
paymentMethodInfo: PaymentMethodInfo;
|
|
@@ -20,6 +20,8 @@ interface PaymentMethodSummaryProps {
|
|
|
20
20
|
* this from the live confirmation amount (Aave supply checkouts only).
|
|
21
21
|
*/
|
|
22
22
|
healthFactorInfo?: HealthFactorInfo;
|
|
23
|
+
/** Integrator-resolved rows (`resolveDestinationLineItems`), rendered last in the summary box. */
|
|
24
|
+
destinationLineItems?: DestinationLineItem[] | null;
|
|
23
25
|
}
|
|
24
|
-
export declare function PaymentMethodSummary({ paymentMethodInfo, customRecipient, estimatedTimeText, isLoading, isWithdrawal, destinationYieldInfo, healthFactorInfo, }: PaymentMethodSummaryProps): React.JSX.Element;
|
|
26
|
+
export declare function PaymentMethodSummary({ paymentMethodInfo, customRecipient, estimatedTimeText, isLoading, isWithdrawal, destinationYieldInfo, healthFactorInfo, destinationLineItems, }: PaymentMethodSummaryProps): React.JSX.Element;
|
|
25
27
|
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modal open state plus a prop that outlives the close animation.
|
|
3
|
+
*
|
|
4
|
+
* The prop keys the modal component, so clearing it is delayed until the
|
|
5
|
+
* animation finishes — and cancelled if the owner unmounts first, which would
|
|
6
|
+
* otherwise set state on a torn-down tree.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useModalStateValueWithProp<T = string>(): {
|
|
9
|
+
closeModal: () => void;
|
|
10
|
+
isModalOpen: boolean;
|
|
11
|
+
prop: T | null;
|
|
12
|
+
openModal: (prop?: T | null) => void;
|
|
13
|
+
};
|