@funkit/connect 11.4.0 → 11.4.1
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 +35 -0
- package/dist/clients/{chunk-XJTRLB7W.js → chunk-BB5FHA47.js} +5 -4
- package/dist/clients/chunk-MSLPLXR2.js +30 -0
- package/dist/clients/{chunk-EQFVPSR2.js → chunk-TYG42JRZ.js} +3 -3
- package/dist/clients/{chunk-3Y5EIONT.js → chunk-UMU5S2WF.js} +30 -39
- package/dist/clients/internal/nado/withdrawalCallback.js +2 -9
- package/dist/clients/internal/nado/withdrawalConfig.d.ts +1 -1
- package/dist/clients/internal/nado/withdrawalConfig.js +1 -2
- package/dist/clients/internal/nado/withdrawalErrors.d.ts +6 -10
- package/dist/clients/internal/nado/withdrawalErrors.js +1 -2
- package/dist/clients/internal/nado/withdrawalForm.css +44 -36
- package/dist/clients/internal/nado/withdrawalForm.d.ts +1 -1
- package/dist/clients/internal/nado/withdrawalForm.js +11 -19
- package/dist/clients/internal/nado/withdrawalStatus.js +4 -8
- package/dist/clients/lighter.css +44 -36
- package/dist/clients/lighter.js +5 -9
- package/dist/clients/nado.d.ts +1 -1
- package/dist/clients/nado.js +4 -12
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +47 -39
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +1 -1
- package/dist/clients/polymarket/index.css +47 -39
- package/dist/clients/polymarket/index.js +1 -1
- package/dist/components/Dropdown/BaseDropdown.css.d.ts +1 -0
- package/dist/components/Dropdown/BaseDropdown.d.ts +0 -1
- package/dist/hooks/track/analytics/events.d.ts +14 -3
- package/dist/hooks/track/analytics/resolveExecutionProgressContext.d.ts +1 -0
- package/dist/hooks/track/analytics/useDepositAnalytics.d.ts +11 -3
- package/dist/hooks/track/analytics/useTrackExecutionProgressEvents.d.ts +1 -0
- package/dist/hooks/useBluvo.d.ts +7 -2
- package/dist/index.css +44 -36
- package/dist/index.js +715 -838
- package/dist/modals/WithdrawalModal/LighterWithdrawal.d.ts +5 -11
- package/dist/providers/FunkitCheckoutContext/types.d.ts +1 -1
- 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 +38 -38
- 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/clients/chunk-2576N7PQ.js +0 -44
- package/dist/clients/chunk-3P2C436B.js +0 -20
- package/dist/clients/chunk-63XTVHO3.js +0 -19
- package/dist/clients/chunk-6T6URLBM.js +0 -33
- package/dist/clients/chunk-FM7SFGAV.js +0 -106
- package/dist/clients/chunk-JFDRLSYM.js +0 -42
- package/dist/clients/chunk-TZGKB6WY.js +0 -160
- package/dist/clients/chunk-VIAEAD75.js +0 -61
- package/dist/clients/chunk-WZRW6WUM.js +0 -112
- package/dist/clients/chunk-Z7HTQFEO.js +0 -69
- package/dist/clients/internal/nado/consts.d.ts +0 -22
- package/dist/clients/internal/nado/consts.js +0 -15
- package/dist/clients/internal/nado/encoding.d.ts +0 -25
- package/dist/clients/internal/nado/encoding.js +0 -11
- package/dist/clients/internal/nado/errors.d.ts +0 -68
- package/dist/clients/internal/nado/errors.js +0 -19
- package/dist/clients/internal/nado/fetch.d.ts +0 -15
- package/dist/clients/internal/nado/fetch.js +0 -9
- package/dist/clients/internal/nado/gateway.d.ts +0 -61
- package/dist/clients/internal/nado/gateway.js +0 -17
- package/dist/clients/internal/nado/hooks.d.ts +0 -208
- package/dist/clients/internal/nado/hooks.js +0 -21
- package/dist/clients/internal/nado/indexer.d.ts +0 -43
- package/dist/clients/internal/nado/indexer.js +0 -13
- package/dist/clients/internal/nado/typedData.d.ts +0 -80
- package/dist/clients/internal/nado/typedData.js +0 -10
- package/dist/clients/internal/nado/withdrawalTypes.d.ts +0 -49
- package/dist/clients/internal/nado/withdrawalTypes.js +0 -1
- package/dist/utils/safeBigInt.d.ts +0 -5
- package/dist/wallets/walletConnectors/{chunk-RB3HR4R2.js → chunk-4NV5BYRP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YEZM4CK4.js → chunk-AVDUNQUW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-MIQTHJ6X.js → chunk-GUQM4QSL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4T6ZSRJF.js → chunk-IULPZP2Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HNRB7KJU.js → chunk-JPN6TWIT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZNX4EMPB.js → chunk-KCRO2AGO.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-STVVP43G.js → chunk-KI5Y2BBF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-X6CGV36L.js → chunk-NR2OGDHQ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UK7C2JXW.js → chunk-OEEGYENV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-F5XEEVG6.js → chunk-OX37G4YT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RVOY537T.js → chunk-SWFF3TWJ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CPI4TD43.js → chunk-TKB2OY6G.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2VP2F6EK.js → chunk-W2LCLDPX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6BW3HLBG.js → chunk-WAHGI5L7.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HTHAK6XB.js → chunk-WKNQMP4A.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VTM6EECM.js → chunk-XCNHV3HS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CCQV2ZET.js → chunk-YO2K4MBH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VAPGUPHO.js → chunk-YQFGVZGR.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 11.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1116a3c: Track brokerage account connection lifecycle events in analytics.
|
|
8
|
+
- 530d664: Dedupe `react-remove-scroll` to a single copy, and allow pinch-zoom over an open modal.
|
|
9
|
+
- 6c051e7: No consumer facing changes.
|
|
10
|
+
- 84683ff: No consumer facing changes.
|
|
11
|
+
- df95715: No consumer facing changes.
|
|
12
|
+
- d46284d: No consumer facing changes.
|
|
13
|
+
- 2522e00: No consumer facing changes.
|
|
14
|
+
- 1e6df43: Lighter Fast's unstaked withdrawal fee is now always accurate to the account's current stake, and the quote waits for it before pricing.
|
|
15
|
+
- b28ba34: Brace every `if`/`else`/loop body — formatting only, no behaviour change.
|
|
16
|
+
- dae8c51: Append EIP-681 `@<chainId>` suffix to EVM deposit QR code URIs so MetaMask mobile's scanner can resolve the network
|
|
17
|
+
- 1116a3c: Add sanitized error context to failed account connection analytics events.
|
|
18
|
+
- 5b8f4ff: Prevent dropdown animation styles from colliding with host-page styles, and ensure the withdrawal source-token dropdown uses the configured modal stacking order.
|
|
19
|
+
- 2ad0cd5: fix: keep dropdowns open when selecting their own items in shadow DOM
|
|
20
|
+
- b0cb492: fix: animate the correct notification banner icon when more than one is on screen
|
|
21
|
+
- Updated dependencies [4b25619]
|
|
22
|
+
- Updated dependencies [84683ff]
|
|
23
|
+
- Updated dependencies [df95715]
|
|
24
|
+
- Updated dependencies [d46284d]
|
|
25
|
+
- Updated dependencies [1e6df43]
|
|
26
|
+
- Updated dependencies [1e6df43]
|
|
27
|
+
- Updated dependencies [1e6df43]
|
|
28
|
+
- Updated dependencies [b28ba34]
|
|
29
|
+
- Updated dependencies [dae8c51]
|
|
30
|
+
- Updated dependencies [e75b048]
|
|
31
|
+
- Updated dependencies [2522e00]
|
|
32
|
+
- Updated dependencies [2ad0cd5]
|
|
33
|
+
- @funkit/utils@4.0.1
|
|
34
|
+
- @funkit/api-base@7.1.1
|
|
35
|
+
- @funkit/connect-core@4.0.0
|
|
36
|
+
- @funkit/fun-relay@2.13.0
|
|
37
|
+
|
|
3
38
|
## 11.4.0
|
|
4
39
|
|
|
5
40
|
### Minor Changes
|
|
@@ -241,9 +241,10 @@ var BaseDropdownItem_default = BaseDropdownItem;
|
|
|
241
241
|
|
|
242
242
|
// src/components/Dropdown/BaseDropdown.css.ts
|
|
243
243
|
var BORDER_RADIUS = "dropdown";
|
|
244
|
-
var baseDropdownItemWrapperStyles = "
|
|
245
|
-
var
|
|
246
|
-
var
|
|
244
|
+
var baseDropdownItemWrapperStyles = "_1nns6ys6 _1rsrm2f17";
|
|
245
|
+
var dropdownContentAnimationStyles = "_1nns6ys2";
|
|
246
|
+
var scrollGradientWrapperStyles = "_1nns6ys4";
|
|
247
|
+
var scrollableDropdownStyles = "_1nns6ys3";
|
|
247
248
|
|
|
248
249
|
// src/components/Icons/CaretDownIcon.tsx
|
|
249
250
|
import clsx2 from "clsx";
|
|
@@ -889,7 +890,7 @@ function BaseDropdown({
|
|
|
889
890
|
side: dropdownSide,
|
|
890
891
|
sideOffset: dropdownSide === "top" ? 8 : 6,
|
|
891
892
|
align: dropdownAlign,
|
|
892
|
-
className:
|
|
893
|
+
className: dropdownContentAnimationStyles,
|
|
893
894
|
style: {
|
|
894
895
|
zIndex: `calc(${themeVars.modalZIndex} + 1)`,
|
|
895
896
|
width: dropdownWidth ? `${dropdownWidth}px` : openDropdownFullWidth ? "var(--radix-dropdown-menu-trigger-width)" : void 0,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
i18n_default
|
|
4
|
+
} from "./chunk-C45VNQXY.js";
|
|
5
|
+
|
|
6
|
+
// src/clients/internal/nado/withdrawalErrors.ts
|
|
7
|
+
import {
|
|
8
|
+
toNadoWithdrawalFailure
|
|
9
|
+
} from "@funkit/connect-core/clients/nado";
|
|
10
|
+
import { isExpectedNadoWithdrawalFailure } from "@funkit/connect-core/clients/nado";
|
|
11
|
+
var MESSAGE_FOR = {
|
|
12
|
+
generic: () => i18n_default.t("withdrawal.nado.errorGeneric"),
|
|
13
|
+
network: () => i18n_default.t("withdrawal.nado.errorNetwork"),
|
|
14
|
+
rateLimited: () => i18n_default.t("withdrawal.nado.errorRateLimited"),
|
|
15
|
+
exceedsBorrowLimit: () => i18n_default.t("withdrawal.nado.errorExceedsBorrowLimit"),
|
|
16
|
+
invalidNonce: () => i18n_default.t("withdrawal.nado.errorInvalidNonce"),
|
|
17
|
+
noPriorDeposit: () => i18n_default.t("withdrawal.nado.errorNoPriorDeposit"),
|
|
18
|
+
withdrawRisk: () => i18n_default.t("withdrawal.nado.errorWithdrawRisk"),
|
|
19
|
+
// Never says "try again" — a fresh nonce on an unconfirmed withdrawal is the
|
|
20
|
+
// one retry that can pay out twice.
|
|
21
|
+
unconfirmed: () => i18n_default.t("withdrawal.nado.errorUnconfirmed")
|
|
22
|
+
};
|
|
23
|
+
function toNadoWithdrawalErrorMessage(error) {
|
|
24
|
+
return MESSAGE_FOR[toNadoWithdrawalFailure(error)]();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
toNadoWithdrawalErrorMessage,
|
|
29
|
+
isExpectedNadoWithdrawalFailure
|
|
30
|
+
};
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isCustomWithdrawalConfig
|
|
4
4
|
} from "./chunk-B7UU2ETA.js";
|
|
5
|
-
import {
|
|
6
|
-
buildNadoSubaccountId
|
|
7
|
-
} from "./chunk-6T6URLBM.js";
|
|
8
5
|
import {
|
|
9
6
|
logger
|
|
10
7
|
} from "./chunk-AHYOV7AV.js";
|
|
11
8
|
|
|
12
9
|
// src/clients/internal/nado/withdrawalConfig.ts
|
|
10
|
+
import {
|
|
11
|
+
buildNadoSubaccountId
|
|
12
|
+
} from "@funkit/connect-core/clients/nado";
|
|
13
13
|
var HEX_SHAPED_SUBACCOUNT_NAME = /^(?:[0-9a-f]{2})+$/i;
|
|
14
14
|
function isNadoWithdrawalConfig(config) {
|
|
15
15
|
return !!config && isCustomWithdrawalConfig(config) && config.customerConfig?.customerName === "nado";
|
|
@@ -1,33 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
buildWithdrawCollateralV2TypedData
|
|
4
|
-
} from "./chunk-2576N7PQ.js";
|
|
5
2
|
import {
|
|
6
3
|
isExpectedNadoWithdrawalFailure,
|
|
7
4
|
toNadoWithdrawalErrorMessage
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
safeBigInt
|
|
11
|
-
} from "./chunk-63XTVHO3.js";
|
|
5
|
+
} from "./chunk-MSLPLXR2.js";
|
|
12
6
|
import {
|
|
13
7
|
toWithdrawalAmountBaseUnit
|
|
14
8
|
} from "./chunk-B7UU2ETA.js";
|
|
15
|
-
import {
|
|
16
|
-
x18ToRawBaseUnit
|
|
17
|
-
} from "./chunk-6T6URLBM.js";
|
|
18
|
-
import {
|
|
19
|
-
executeNadoWithdrawCollateralV2,
|
|
20
|
-
getNadoMaxWithdrawable,
|
|
21
|
-
getNadoTxNonce
|
|
22
|
-
} from "./chunk-TZGKB6WY.js";
|
|
23
|
-
import {
|
|
24
|
-
INK_CHAIN_ID,
|
|
25
|
-
NADO_WITHDRAWAL_ACTION_TYPE
|
|
26
|
-
} from "./chunk-3P2C436B.js";
|
|
27
|
-
import {
|
|
28
|
-
NadoGatewayError,
|
|
29
|
-
NadoWithdrawalUnconfirmedError
|
|
30
|
-
} from "./chunk-Z7HTQFEO.js";
|
|
31
9
|
import {
|
|
32
10
|
getAccount,
|
|
33
11
|
signTypedData,
|
|
@@ -48,7 +26,18 @@ import {
|
|
|
48
26
|
NADO_API_KEY,
|
|
49
27
|
initializeCheckoutTokenTransferAddress
|
|
50
28
|
} from "@funkit/api-base";
|
|
51
|
-
import { deductFlatFee } from "@funkit/connect-core";
|
|
29
|
+
import { deductFlatFee, safeBigInt } from "@funkit/connect-core";
|
|
30
|
+
import {
|
|
31
|
+
INK_CHAIN_ID,
|
|
32
|
+
NADO_WITHDRAWAL_ACTION_TYPE,
|
|
33
|
+
NadoGatewayError,
|
|
34
|
+
NadoWithdrawalUnconfirmedError,
|
|
35
|
+
buildWithdrawCollateralV2TypedData,
|
|
36
|
+
executeNadoWithdrawCollateralV2,
|
|
37
|
+
getNadoMaxWithdrawable,
|
|
38
|
+
getNadoTxNonce,
|
|
39
|
+
x18ToRawBaseUnit
|
|
40
|
+
} from "@funkit/connect-core/clients/nado";
|
|
52
41
|
import { isEVMAddressEquivalent } from "@funkit/utils";
|
|
53
42
|
|
|
54
43
|
// src/utils/signature.ts
|
|
@@ -143,7 +132,7 @@ function createNadoWithdrawalCallback({
|
|
|
143
132
|
destinationAddress
|
|
144
133
|
});
|
|
145
134
|
step = "sign";
|
|
146
|
-
const nonce = await getNadoTxNonce(walletAddress);
|
|
135
|
+
const nonce = await getNadoTxNonce(walletAddress, { logger });
|
|
147
136
|
const signature = await signTypedData(wagmiConfig, {
|
|
148
137
|
...buildWithdrawCollateralV2TypedData({
|
|
149
138
|
sender: subaccount,
|
|
@@ -160,15 +149,18 @@ function createNadoWithdrawalCallback({
|
|
|
160
149
|
productId
|
|
161
150
|
});
|
|
162
151
|
step = "execute";
|
|
163
|
-
await executeNadoWithdrawCollateralV2(
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
152
|
+
await executeNadoWithdrawCollateralV2(
|
|
153
|
+
{
|
|
154
|
+
sender: subaccount,
|
|
155
|
+
productId,
|
|
156
|
+
amount: netRawAmount,
|
|
157
|
+
nonce,
|
|
158
|
+
sendTo: depositAddr,
|
|
159
|
+
signature,
|
|
160
|
+
spotLeverage
|
|
161
|
+
},
|
|
162
|
+
{ logger }
|
|
163
|
+
);
|
|
172
164
|
logger.info("nado:withdrawal:executeSubmitted", {
|
|
173
165
|
nonce: nonce.toString(),
|
|
174
166
|
depositAddr,
|
|
@@ -194,11 +186,10 @@ async function assertWithinMaxWithdrawable({
|
|
|
194
186
|
spotLeverage,
|
|
195
187
|
netRawAmount
|
|
196
188
|
}) {
|
|
197
|
-
const maxWithdrawableX18 = await getNadoMaxWithdrawable(
|
|
198
|
-
productId,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
});
|
|
189
|
+
const maxWithdrawableX18 = await getNadoMaxWithdrawable(
|
|
190
|
+
{ productId, sender: subaccount, spotLeverage },
|
|
191
|
+
{ logger }
|
|
192
|
+
);
|
|
202
193
|
const maxRawAmount = x18ToRawBaseUnit(
|
|
203
194
|
safeBigInt(maxWithdrawableX18, 0n),
|
|
204
195
|
decimals
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createNadoWithdrawalCallback
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-VIAEAD75.js";
|
|
7
|
-
import "../../chunk-63XTVHO3.js";
|
|
4
|
+
} from "../../chunk-UMU5S2WF.js";
|
|
5
|
+
import "../../chunk-MSLPLXR2.js";
|
|
8
6
|
import "../../chunk-B7UU2ETA.js";
|
|
9
|
-
import "../../chunk-6T6URLBM.js";
|
|
10
|
-
import "../../chunk-TZGKB6WY.js";
|
|
11
|
-
import "../../chunk-3P2C436B.js";
|
|
12
|
-
import "../../chunk-WZRW6WUM.js";
|
|
13
|
-
import "../../chunk-Z7HTQFEO.js";
|
|
14
7
|
import "../../chunk-OODIKHYE.js";
|
|
15
8
|
import "../../chunk-C45VNQXY.js";
|
|
16
9
|
import "../../chunk-PENJ5JGH.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { Address, Hex } from 'viem';
|
|
8
8
|
import type { CustomWithdrawalConfig, FunkitWithdrawalConfig } from '../../../providers/FunkitCheckoutContext';
|
|
9
|
-
import type
|
|
9
|
+
import { type NadoWithdrawalCustomerConfig } from '@funkit/connect-core/clients/nado';
|
|
10
10
|
export interface NadoWithdrawalConfig extends CustomWithdrawalConfig {
|
|
11
11
|
customerConfig: NadoWithdrawalCustomerConfig;
|
|
12
12
|
/** Initial state of the borrow (spot leverage) toggle; the user may still flip it. */
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isNadoWithdrawalConfig,
|
|
4
4
|
resolveNadoSubaccount
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-TYG42JRZ.js";
|
|
6
6
|
import "../../chunk-B7UU2ETA.js";
|
|
7
|
-
import "../../chunk-6T6URLBM.js";
|
|
8
7
|
import "../../chunk-AHYOV7AV.js";
|
|
9
8
|
export {
|
|
10
9
|
isNadoWithdrawalConfig,
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Nado
|
|
2
|
+
* Nado failure → the copy web shows for it.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Core classifies *which* failure it is (the part with the nonce-revert
|
|
5
|
+
* subtlety); this file owns web's wording. The map is exhaustive over
|
|
6
|
+
* `NadoWithdrawalFailure`, so a new failure code fails the build here until it
|
|
7
|
+
* has a line.
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
* Whether the failure is one we have specific copy for. Shares the code set with
|
|
11
|
-
* {@link toNadoWithdrawalErrorMessage} so severity and messaging can't drift.
|
|
12
|
-
*/
|
|
13
|
-
export declare function isExpectedNadoWithdrawalFailure(error: unknown): boolean;
|
|
9
|
+
export { isExpectedNadoWithdrawalFailure } from '@funkit/connect-core/clients/nado';
|
|
14
10
|
export declare function toNadoWithdrawalErrorMessage(error: unknown): string;
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
isExpectedNadoWithdrawalFailure,
|
|
4
4
|
toNadoWithdrawalErrorMessage
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-Z7HTQFEO.js";
|
|
5
|
+
} from "../../chunk-MSLPLXR2.js";
|
|
7
6
|
import "../../chunk-C45VNQXY.js";
|
|
8
7
|
export {
|
|
9
8
|
isExpectedNadoWithdrawalFailure,
|
|
@@ -16825,19 +16825,42 @@
|
|
|
16825
16825
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16826
16826
|
}
|
|
16827
16827
|
|
|
16828
|
-
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdown.css.ts.vanilla.css?source=#
|
|
16829
|
-
|
|
16828
|
+
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdown.css.ts.vanilla.css?source=#H4sIAAAAAAAAA9VVYWvbMBD9nl8hAoMEomC3XbcpFMq2f1HKOFvnRETWmdM5aTr634dlp03ahnZjH7ZPlji9d-_eneTrNe4qhhqj-pGHEC93MVM_R0plH9JHKWqgdLIzKlukvTCEWBHXRsUSPE6y-ZdP0y72MFIqz14C8xPAfEA9jK5fqshPqHiL7HUJ79D-MJrvc5_dWBDQvL7tF1FA8Gpceopox7eJvCEXBFnjBoNEowIFXBySnKdjtEGuPG31zihohbpcsWTyvgDWW2dl9RrWGL3FYu1EPx5OdNbFxsPuFcjFoCo6cRSMYvQgboOLAxFGrZy1GI6BxhRYEWMiKCkIBjFqPF4c8UERybeS-ISawVKPlQxLdsvVfr3CfnPxubnr9gWU6yVTG6xR3gUE1ksG6zDIREgVJEL1TG2AJ1rzWpfkiaOmBsN3psbSNnx9pPjWBaezvpkNMAaZLk525PkQJNS-Ju9V_jGroyrbwpW6wHuHPMnm5zOVzVQ2zy5nqh-se-2Cxbs0f8fmQSXI7_eur_Wv2ifU_Jfe9ZerAotaqLkaC7c4vj0ax8NrfwLaG_qEfurHCfBlCv5RLYcsZgVxcgPsQFsXofBo9yKmZtVduZTnsHcuOHHgO0_KliNxZ7Ro8J62aDv66xqtAzVpGCvkqBltW6LVNfVKA-k-hKHEaUrw1qvVDcLwZikFwdXQUWnbMvScqfLFs7C42oWlrtpQ9qeeOXMxOHO2b_IhuHLe65osGlURb4HtC_4ANZqnX87-7f6tJ_ifLScf_ii_AJ3ZdB5dBwAA */
|
|
16829
|
+
@keyframes _1nns6ys0 {
|
|
16830
|
+
0% {
|
|
16831
|
+
opacity: 0;
|
|
16832
|
+
transform: scale(0.97);
|
|
16833
|
+
}
|
|
16834
|
+
100% {
|
|
16835
|
+
opacity: 1;
|
|
16836
|
+
transform: scale(1);
|
|
16837
|
+
}
|
|
16838
|
+
}
|
|
16839
|
+
@keyframes _1nns6ys1 {
|
|
16840
|
+
0% {
|
|
16841
|
+
opacity: 1;
|
|
16842
|
+
transform: scale(1);
|
|
16843
|
+
}
|
|
16844
|
+
100% {
|
|
16845
|
+
opacity: 0;
|
|
16846
|
+
transform: scale(0.97);
|
|
16847
|
+
}
|
|
16848
|
+
}
|
|
16849
|
+
._1nns6ys2[data-rk][data-state=closed] {
|
|
16850
|
+
pointer-events: none;
|
|
16851
|
+
}
|
|
16852
|
+
[data-rk] ._1nns6ys3 {
|
|
16830
16853
|
overflow-y: auto;
|
|
16831
16854
|
scrollbar-width: none;
|
|
16832
16855
|
}
|
|
16833
|
-
[data-rk] .
|
|
16856
|
+
[data-rk] ._1nns6ys3::-webkit-scrollbar {
|
|
16834
16857
|
display: none;
|
|
16835
16858
|
}
|
|
16836
|
-
[data-rk] .
|
|
16859
|
+
[data-rk] ._1nns6ys4 {
|
|
16837
16860
|
position: relative;
|
|
16838
16861
|
overflow: hidden;
|
|
16839
16862
|
}
|
|
16840
|
-
[data-rk] .
|
|
16863
|
+
[data-rk] ._1nns6ys4::before {
|
|
16841
16864
|
content: "";
|
|
16842
16865
|
position: absolute;
|
|
16843
16866
|
top: 0;
|
|
@@ -16854,7 +16877,7 @@
|
|
|
16854
16877
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16855
16878
|
z-index: 1;
|
|
16856
16879
|
}
|
|
16857
|
-
[data-rk] .
|
|
16880
|
+
[data-rk] ._1nns6ys4::after {
|
|
16858
16881
|
content: "";
|
|
16859
16882
|
position: absolute;
|
|
16860
16883
|
bottom: 0;
|
|
@@ -16871,48 +16894,33 @@
|
|
|
16871
16894
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16872
16895
|
z-index: 1;
|
|
16873
16896
|
}
|
|
16874
|
-
[data-rk] .
|
|
16897
|
+
[data-rk] ._1nns6ys4[data-fade-top=true]::before {
|
|
16875
16898
|
opacity: 1;
|
|
16876
16899
|
}
|
|
16877
|
-
[data-rk] .
|
|
16900
|
+
[data-rk] ._1nns6ys4[data-fade-bottom=true]::after {
|
|
16878
16901
|
opacity: 1;
|
|
16879
16902
|
}
|
|
16880
|
-
[data-rk] .
|
|
16903
|
+
[data-rk] ._1nns6ys6 {
|
|
16881
16904
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16882
16905
|
}
|
|
16883
|
-
[data-rk] .
|
|
16906
|
+
[data-rk] ._1nns6ys6:has([aria-disabled=true]):hover {
|
|
16884
16907
|
background: initial;
|
|
16885
16908
|
cursor: not-allowed;
|
|
16886
16909
|
}
|
|
16887
|
-
|
|
16888
|
-
|
|
16889
|
-
|
|
16890
|
-
|
|
16891
|
-
|
|
16892
|
-
|
|
16893
|
-
}
|
|
16894
|
-
100% {
|
|
16895
|
-
opacity: 1;
|
|
16896
|
-
transform: scale(1);
|
|
16897
|
-
}
|
|
16898
|
-
}
|
|
16899
|
-
@keyframes funkit-dropdown-fade-out {
|
|
16900
|
-
0% {
|
|
16901
|
-
opacity: 1;
|
|
16902
|
-
transform: scale(1);
|
|
16910
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
16911
|
+
._1nns6ys2[data-rk][data-state=open] {
|
|
16912
|
+
animation-duration: 150ms;
|
|
16913
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
16914
|
+
animation-fill-mode: forwards;
|
|
16915
|
+
animation-name: _1nns6ys0;
|
|
16903
16916
|
}
|
|
16904
|
-
|
|
16905
|
-
|
|
16906
|
-
|
|
16917
|
+
._1nns6ys2[data-rk][data-state=closed] {
|
|
16918
|
+
animation-duration: 150ms;
|
|
16919
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
16920
|
+
animation-fill-mode: forwards;
|
|
16921
|
+
animation-name: _1nns6ys1;
|
|
16907
16922
|
}
|
|
16908
16923
|
}
|
|
16909
|
-
.funkit-dropdown-content[data-state=open] {
|
|
16910
|
-
animation: funkit-dropdown-fade-in 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
16911
|
-
}
|
|
16912
|
-
.funkit-dropdown-content[data-state=closed] {
|
|
16913
|
-
animation: funkit-dropdown-fade-out 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
16914
|
-
pointer-events: none;
|
|
16915
|
-
}
|
|
16916
16924
|
|
|
16917
16925
|
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdownItem.css.ts.vanilla.css?source=Ll8xOGhodzNrMSB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMThoaHczazMgewogIGN1cnNvcjogbm90LWFsbG93ZWQ7CiAgb3BhY2l0eTogMC41Owp9 */
|
|
16918
16926
|
[data-rk] ._18hhw3k1 {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* these outputs onto its own props.
|
|
8
8
|
* - Every react-query call is a no-op (zero traffic) when the config isn't Nado.
|
|
9
9
|
*/
|
|
10
|
+
import { type NadoWithdrawalCustomerData } from '@funkit/connect-core/clients/nado';
|
|
10
11
|
import type { FunkitWithdrawalConfig } from '../../../providers/FunkitCheckoutContext';
|
|
11
|
-
import type { NadoWithdrawalCustomerData } from './withdrawalTypes';
|
|
12
12
|
/** Structurally matches the shared flow's `clientAmountToggle` (no modals import). */
|
|
13
13
|
export interface NadoAmountToggle {
|
|
14
14
|
label: string;
|
|
@@ -1,24 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
useNadoFeeRates,
|
|
4
|
-
useNadoMaxWithdrawable
|
|
5
|
-
} from "../../chunk-FM7SFGAV.js";
|
|
6
|
-
import "../../chunk-JFDRLSYM.js";
|
|
7
|
-
import {
|
|
8
|
-
safeBigInt
|
|
9
|
-
} from "../../chunk-63XTVHO3.js";
|
|
10
2
|
import {
|
|
11
3
|
isNadoWithdrawalConfig
|
|
12
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-TYG42JRZ.js";
|
|
13
5
|
import "../../chunk-B7UU2ETA.js";
|
|
14
|
-
import {
|
|
15
|
-
x18ToRawBaseUnit,
|
|
16
|
-
x18ToTokenUnits
|
|
17
|
-
} from "../../chunk-6T6URLBM.js";
|
|
18
|
-
import "../../chunk-TZGKB6WY.js";
|
|
19
|
-
import "../../chunk-3P2C436B.js";
|
|
20
|
-
import "../../chunk-WZRW6WUM.js";
|
|
21
|
-
import "../../chunk-Z7HTQFEO.js";
|
|
22
6
|
import {
|
|
23
7
|
useGeneralWallet
|
|
24
8
|
} from "../../chunk-BPDLF2R6.js";
|
|
@@ -37,6 +21,13 @@ import {
|
|
|
37
21
|
} from "../../chunk-AHYOV7AV.js";
|
|
38
22
|
|
|
39
23
|
// src/clients/internal/nado/withdrawalForm.ts
|
|
24
|
+
import { safeBigInt } from "@funkit/connect-core";
|
|
25
|
+
import {
|
|
26
|
+
useNadoFeeRates,
|
|
27
|
+
useNadoMaxWithdrawable,
|
|
28
|
+
x18ToRawBaseUnit,
|
|
29
|
+
x18ToTokenUnits
|
|
30
|
+
} from "@funkit/connect-core/clients/nado";
|
|
40
31
|
import { useEffect, useMemo, useState } from "react";
|
|
41
32
|
import { formatUnits } from "viem";
|
|
42
33
|
|
|
@@ -146,7 +137,7 @@ function useNadoWithdrawalForm(config, selectedSourceToken) {
|
|
|
146
137
|
const [spotLeverage, setSpotLeverage] = useState(
|
|
147
138
|
() => nadoConfig?.defaultSpotLeverage ?? false
|
|
148
139
|
);
|
|
149
|
-
const { data: feeRates } = useNadoFeeRates(subaccount);
|
|
140
|
+
const { data: feeRates } = useNadoFeeRates({ sender: subaccount, logger });
|
|
150
141
|
useEffect(() => {
|
|
151
142
|
setSpotLeverage(nadoConfig?.defaultSpotLeverage ?? false);
|
|
152
143
|
}, [subaccount, nadoConfig?.defaultSpotLeverage]);
|
|
@@ -180,7 +171,8 @@ function useNadoWithdrawalForm(config, selectedSourceToken) {
|
|
|
180
171
|
const { data: maxWithdrawableX18 } = useNadoMaxWithdrawable({
|
|
181
172
|
productId: selectedOption?.productId,
|
|
182
173
|
sender: subaccount,
|
|
183
|
-
spotLeverage
|
|
174
|
+
spotLeverage,
|
|
175
|
+
logger
|
|
184
176
|
});
|
|
185
177
|
const sequencerFee = getSequencerFee(feeRates, selectedOption);
|
|
186
178
|
const withdrawableBalanceTokenUnits = getMaxEnterableAmount({
|
|
@@ -15,10 +15,11 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
getCompletionTxInfo,
|
|
17
17
|
processRecentDepositsForNotifications,
|
|
18
|
+
useLogOnce,
|
|
18
19
|
useRecentDepositsApiQuery
|
|
19
20
|
} from "@funkit/connect-core";
|
|
20
21
|
import { isEVMAddressEquivalent } from "@funkit/utils";
|
|
21
|
-
import { useEffect, useMemo,
|
|
22
|
+
import { useEffect, useMemo, useState } from "react";
|
|
22
23
|
import { zeroHash } from "viem";
|
|
23
24
|
|
|
24
25
|
// src/hooks/useCheckoutDirectExecutionHistory.ts
|
|
@@ -170,19 +171,14 @@ function useNadoWithdrawalStatus({
|
|
|
170
171
|
setHasSettled(true);
|
|
171
172
|
}
|
|
172
173
|
}, [status]);
|
|
173
|
-
|
|
174
|
-
useEffect(() => {
|
|
175
|
-
if (status === "pending" || loggedStatusRef.current === status) {
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
loggedStatusRef.current = status;
|
|
174
|
+
useLogOnce(status === "pending" ? void 0 : status, () => {
|
|
179
175
|
logger.info("nado:withdrawal:settled", {
|
|
180
176
|
depositAddress,
|
|
181
177
|
status,
|
|
182
178
|
txHash: latestStep?.txHash,
|
|
183
179
|
relayStatus: latestStep?.listenerInfo?.status
|
|
184
180
|
});
|
|
185
|
-
}
|
|
181
|
+
});
|
|
186
182
|
const completionTx = useMemo(() => {
|
|
187
183
|
if (status !== "completed" || !latestStep) {
|
|
188
184
|
return void 0;
|
package/dist/clients/lighter.css
CHANGED
|
@@ -16780,19 +16780,42 @@
|
|
|
16780
16780
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16781
16781
|
}
|
|
16782
16782
|
|
|
16783
|
-
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdown.css.ts.vanilla.css?source=#
|
|
16784
|
-
|
|
16783
|
+
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdown.css.ts.vanilla.css?source=#H4sIAAAAAAAAA9VVYWvbMBD9nl8hAoMEomC3XbcpFMq2f1HKOFvnRETWmdM5aTr634dlp03ahnZjH7ZPlji9d-_eneTrNe4qhhqj-pGHEC93MVM_R0plH9JHKWqgdLIzKlukvTCEWBHXRsUSPE6y-ZdP0y72MFIqz14C8xPAfEA9jK5fqshPqHiL7HUJ79D-MJrvc5_dWBDQvL7tF1FA8Gpceopox7eJvCEXBFnjBoNEowIFXBySnKdjtEGuPG31zihohbpcsWTyvgDWW2dl9RrWGL3FYu1EPx5OdNbFxsPuFcjFoCo6cRSMYvQgboOLAxFGrZy1GI6BxhRYEWMiKCkIBjFqPF4c8UERybeS-ISawVKPlQxLdsvVfr3CfnPxubnr9gWU6yVTG6xR3gUE1ksG6zDIREgVJEL1TG2AJ1rzWpfkiaOmBsN3psbSNnx9pPjWBaezvpkNMAaZLk525PkQJNS-Ju9V_jGroyrbwpW6wHuHPMnm5zOVzVQ2zy5nqh-se-2Cxbs0f8fmQSXI7_eur_Wv2ifU_Jfe9ZerAotaqLkaC7c4vj0ax8NrfwLaG_qEfurHCfBlCv5RLYcsZgVxcgPsQFsXofBo9yKmZtVduZTnsHcuOHHgO0_KliNxZ7Ro8J62aDv66xqtAzVpGCvkqBltW6LVNfVKA-k-hKHEaUrw1qvVDcLwZikFwdXQUWnbMvScqfLFs7C42oWlrtpQ9qeeOXMxOHO2b_IhuHLe65osGlURb4HtC_4ANZqnX87-7f6tJ_ifLScf_ii_AJ3ZdB5dBwAA */
|
|
16784
|
+
@keyframes _1nns6ys0 {
|
|
16785
|
+
0% {
|
|
16786
|
+
opacity: 0;
|
|
16787
|
+
transform: scale(0.97);
|
|
16788
|
+
}
|
|
16789
|
+
100% {
|
|
16790
|
+
opacity: 1;
|
|
16791
|
+
transform: scale(1);
|
|
16792
|
+
}
|
|
16793
|
+
}
|
|
16794
|
+
@keyframes _1nns6ys1 {
|
|
16795
|
+
0% {
|
|
16796
|
+
opacity: 1;
|
|
16797
|
+
transform: scale(1);
|
|
16798
|
+
}
|
|
16799
|
+
100% {
|
|
16800
|
+
opacity: 0;
|
|
16801
|
+
transform: scale(0.97);
|
|
16802
|
+
}
|
|
16803
|
+
}
|
|
16804
|
+
._1nns6ys2[data-rk][data-state=closed] {
|
|
16805
|
+
pointer-events: none;
|
|
16806
|
+
}
|
|
16807
|
+
[data-rk] ._1nns6ys3 {
|
|
16785
16808
|
overflow-y: auto;
|
|
16786
16809
|
scrollbar-width: none;
|
|
16787
16810
|
}
|
|
16788
|
-
[data-rk] .
|
|
16811
|
+
[data-rk] ._1nns6ys3::-webkit-scrollbar {
|
|
16789
16812
|
display: none;
|
|
16790
16813
|
}
|
|
16791
|
-
[data-rk] .
|
|
16814
|
+
[data-rk] ._1nns6ys4 {
|
|
16792
16815
|
position: relative;
|
|
16793
16816
|
overflow: hidden;
|
|
16794
16817
|
}
|
|
16795
|
-
[data-rk] .
|
|
16818
|
+
[data-rk] ._1nns6ys4::before {
|
|
16796
16819
|
content: "";
|
|
16797
16820
|
position: absolute;
|
|
16798
16821
|
top: 0;
|
|
@@ -16809,7 +16832,7 @@
|
|
|
16809
16832
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16810
16833
|
z-index: 1;
|
|
16811
16834
|
}
|
|
16812
|
-
[data-rk] .
|
|
16835
|
+
[data-rk] ._1nns6ys4::after {
|
|
16813
16836
|
content: "";
|
|
16814
16837
|
position: absolute;
|
|
16815
16838
|
bottom: 0;
|
|
@@ -16826,48 +16849,33 @@
|
|
|
16826
16849
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16827
16850
|
z-index: 1;
|
|
16828
16851
|
}
|
|
16829
|
-
[data-rk] .
|
|
16852
|
+
[data-rk] ._1nns6ys4[data-fade-top=true]::before {
|
|
16830
16853
|
opacity: 1;
|
|
16831
16854
|
}
|
|
16832
|
-
[data-rk] .
|
|
16855
|
+
[data-rk] ._1nns6ys4[data-fade-bottom=true]::after {
|
|
16833
16856
|
opacity: 1;
|
|
16834
16857
|
}
|
|
16835
|
-
[data-rk] .
|
|
16858
|
+
[data-rk] ._1nns6ys6 {
|
|
16836
16859
|
transition: all 150ms cubic-bezier(0.3, 0, 0.06, 1);
|
|
16837
16860
|
}
|
|
16838
|
-
[data-rk] .
|
|
16861
|
+
[data-rk] ._1nns6ys6:has([aria-disabled=true]):hover {
|
|
16839
16862
|
background: initial;
|
|
16840
16863
|
cursor: not-allowed;
|
|
16841
16864
|
}
|
|
16842
|
-
|
|
16843
|
-
|
|
16844
|
-
|
|
16845
|
-
|
|
16846
|
-
|
|
16847
|
-
|
|
16848
|
-
}
|
|
16849
|
-
100% {
|
|
16850
|
-
opacity: 1;
|
|
16851
|
-
transform: scale(1);
|
|
16852
|
-
}
|
|
16853
|
-
}
|
|
16854
|
-
@keyframes funkit-dropdown-fade-out {
|
|
16855
|
-
0% {
|
|
16856
|
-
opacity: 1;
|
|
16857
|
-
transform: scale(1);
|
|
16865
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
16866
|
+
._1nns6ys2[data-rk][data-state=open] {
|
|
16867
|
+
animation-duration: 150ms;
|
|
16868
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
16869
|
+
animation-fill-mode: forwards;
|
|
16870
|
+
animation-name: _1nns6ys0;
|
|
16858
16871
|
}
|
|
16859
|
-
|
|
16860
|
-
|
|
16861
|
-
|
|
16872
|
+
._1nns6ys2[data-rk][data-state=closed] {
|
|
16873
|
+
animation-duration: 150ms;
|
|
16874
|
+
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
16875
|
+
animation-fill-mode: forwards;
|
|
16876
|
+
animation-name: _1nns6ys1;
|
|
16862
16877
|
}
|
|
16863
16878
|
}
|
|
16864
|
-
.funkit-dropdown-content[data-state=open] {
|
|
16865
|
-
animation: funkit-dropdown-fade-in 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
16866
|
-
}
|
|
16867
|
-
.funkit-dropdown-content[data-state=closed] {
|
|
16868
|
-
animation: funkit-dropdown-fade-out 150ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
16869
|
-
pointer-events: none;
|
|
16870
|
-
}
|
|
16871
16879
|
|
|
16872
16880
|
/* vanilla-extract-css-ns:src/components/Dropdown/BaseDropdownItem.css.ts.vanilla.css?source=Ll8xOGhodzNrMSB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMThoaHczazMgewogIGN1cnNvcjogbm90LWFsbG93ZWQ7CiAgb3BhY2l0eTogMC41Owp9 */
|
|
16873
16881
|
[data-rk] ._18hhw3k1 {
|