@funkit/connect-rn 3.10.0 → 3.11.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 +42 -0
- package/dist/chunk-5IWD2I7N.js +94 -0
- package/dist/chunk-5IWD2I7N.js.map +7 -0
- package/dist/chunk-75TJE4HO.js +1656 -0
- package/dist/chunk-75TJE4HO.js.map +7 -0
- package/dist/chunk-EL2UG6WN.js +1690 -0
- package/dist/chunk-EL2UG6WN.js.map +7 -0
- package/dist/chunk-FTD4HETU.js +94 -0
- package/dist/chunk-FTD4HETU.js.map +7 -0
- package/dist/chunk-KQEQB6MZ.js +94 -0
- package/dist/chunk-KQEQB6MZ.js.map +7 -0
- package/dist/chunk-L26YKVZ7.js +94 -0
- package/dist/chunk-L26YKVZ7.js.map +7 -0
- package/dist/chunk-LIOQVZV4.js +1753 -0
- package/dist/chunk-LIOQVZV4.js.map +7 -0
- package/dist/chunk-LKILQNGD.js +1655 -0
- package/dist/chunk-LKILQNGD.js.map +7 -0
- package/dist/chunk-LPJDURB5.js +1675 -0
- package/dist/chunk-LPJDURB5.js.map +7 -0
- package/dist/chunk-MJ4QBNTD.js +94 -0
- package/dist/chunk-MJ4QBNTD.js.map +7 -0
- package/dist/chunk-NNEV7EFP.js +94 -0
- package/dist/chunk-NNEV7EFP.js.map +7 -0
- package/dist/chunk-NYW4N5SQ.js +1328 -0
- package/dist/chunk-NYW4N5SQ.js.map +7 -0
- package/dist/chunk-OI54J6E6.js +1951 -0
- package/dist/chunk-OI54J6E6.js.map +7 -0
- package/dist/chunk-OIXZMXFJ.js +1681 -0
- package/dist/chunk-OIXZMXFJ.js.map +7 -0
- package/dist/chunk-OQVPCP4W.js +94 -0
- package/dist/chunk-OQVPCP4W.js.map +7 -0
- package/dist/chunk-PHUM52HD.js +1542 -0
- package/dist/chunk-PHUM52HD.js.map +7 -0
- package/dist/chunk-Q5OFOALX.js +94 -0
- package/dist/chunk-Q5OFOALX.js.map +7 -0
- package/dist/chunk-QNAMNQZX.js +1660 -0
- package/dist/chunk-QNAMNQZX.js.map +7 -0
- package/dist/chunk-RTQ4MJHE.js +1209 -0
- package/dist/chunk-RTQ4MJHE.js.map +7 -0
- package/dist/chunk-V23HUIDS.js +1744 -0
- package/dist/chunk-V23HUIDS.js.map +7 -0
- package/dist/chunk-V4LN3XNI.js +94 -0
- package/dist/chunk-V4LN3XNI.js.map +7 -0
- package/dist/chunk-VE6N6BHJ.js +94 -0
- package/dist/chunk-VE6N6BHJ.js.map +7 -0
- package/dist/chunk-VL4WQDU7.js +1654 -0
- package/dist/chunk-VL4WQDU7.js.map +7 -0
- package/dist/chunk-X2X2GENE.js +94 -0
- package/dist/chunk-X2X2GENE.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado/withdrawalSubmit.d.ts.map +1 -1
- package/dist/clients/nado.js +8 -6
- package/dist/clients/nado.js.map +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2632 -1255
- package/dist/index.js.map +4 -4
- package/dist/src/branding/BrandingContext.d.ts +15 -0
- package/dist/src/branding/BrandingContext.d.ts.map +1 -0
- package/dist/src/components/AccountBalanceChip.d.ts +19 -0
- package/dist/src/components/AccountBalanceChip.d.ts.map +1 -0
- package/dist/src/components/AmountChipsRow.d.ts +17 -0
- package/dist/src/components/AmountChipsRow.d.ts.map +1 -0
- package/dist/src/components/AmountInput.d.ts +40 -0
- package/dist/src/components/AmountInput.d.ts.map +1 -0
- package/dist/src/components/AttributionWatermark.d.ts +10 -0
- package/dist/src/components/AttributionWatermark.d.ts.map +1 -0
- package/dist/src/components/Grabber.d.ts +7 -1
- package/dist/src/components/Grabber.d.ts.map +1 -1
- package/dist/src/components/PillButton.d.ts +3 -1
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/RollingAmount.d.ts +20 -0
- package/dist/src/components/RollingAmount.d.ts.map +1 -0
- package/dist/src/components/SegmentedControl.d.ts +12 -0
- package/dist/src/components/SegmentedControl.d.ts.map +1 -0
- package/dist/src/components/WithdrawFeeSummary.d.ts +23 -0
- package/dist/src/components/WithdrawFeeSummary.d.ts.map +1 -0
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/v2/NumPad.d.ts +1 -1
- package/dist/src/components/v2/NumPad.d.ts.map +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatStatusScreen.d.ts +19 -0
- package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -0
- package/dist/src/fiat/SurfaceSlot.d.ts +8 -0
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -0
- package/dist/src/fiat/ctaLabel.d.ts +19 -0
- package/dist/src/fiat/ctaLabel.d.ts.map +1 -0
- package/dist/src/fiat/providers/TransakApplePaySurface.d.ts +7 -0
- package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +1 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts +12 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -0
- package/dist/src/fiat/stepDetails.d.ts +18 -0
- package/dist/src/fiat/stepDetails.d.ts.map +1 -0
- package/dist/src/flow/BackdropBlurContext.d.ts +9 -0
- package/dist/src/flow/BackdropBlurContext.d.ts.map +1 -0
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +1 -3
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +9 -0
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -0
- package/dist/src/flow/FlowSheet.d.ts +34 -5
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts +1 -4
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +24 -3
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/hooks/useGuardedAmountInput.d.ts +9 -5
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
- package/dist/src/hooks/usePressScale.d.ts +18 -0
- package/dist/src/hooks/usePressScale.d.ts.map +1 -0
- package/dist/src/identity/IdentityContext.d.ts +10 -0
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/logging/consoleLogTransport.d.ts +10 -0
- package/dist/src/logging/consoleLogTransport.d.ts.map +1 -0
- package/dist/src/providers/FunkitProvider.d.ts +6 -5
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +43 -0
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -0
- package/dist/src/screens/AddMoneyScreen.d.ts +86 -0
- package/dist/src/screens/AddMoneyScreen.d.ts.map +1 -0
- package/dist/src/screens/AvailableChainsScreen.d.ts +32 -0
- package/dist/src/screens/AvailableChainsScreen.d.ts.map +1 -0
- package/dist/src/screens/DepositAmountScreen.d.ts +27 -11
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +36 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -0
- package/dist/src/screens/NetworkSelector.d.ts +31 -0
- package/dist/src/screens/NetworkSelector.d.ts.map +1 -0
- package/dist/src/screens/SelectDestinationScreen.d.ts +19 -0
- package/dist/src/screens/SelectDestinationScreen.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoCta.d.ts +20 -0
- package/dist/src/screens/WithdrawCryptoCta.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoForm.d.ts +28 -0
- package/dist/src/screens/WithdrawCryptoForm.d.ts.map +1 -0
- package/dist/src/screens/WithdrawCryptoScreen.d.ts +17 -0
- package/dist/src/screens/WithdrawCryptoScreen.d.ts.map +1 -0
- package/dist/src/statsig/StatsigProviderRN.d.ts +7 -0
- package/dist/src/statsig/StatsigProviderRN.d.ts.map +1 -0
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts +4 -0
- package/dist/src/statsig/useClientBootstrapInitRN.d.ts.map +1 -0
- package/dist/src/theme/buildFunkitTheme.d.ts +8 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/restyle.d.ts +264 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +24 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/tokens.d.ts +4 -1
- package/dist/src/theme/tokens.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +5 -0
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +5 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/utils/numpadInput.d.ts +2 -1
- package/dist/src/utils/numpadInput.d.ts.map +1 -1
- package/dist/src/utils/v2/amountGlyphs.d.ts +5 -4
- package/dist/src/utils/v2/amountGlyphs.d.ts.map +1 -1
- package/dist/src/utils/v2/numberFormat.d.ts +36 -0
- package/dist/src/utils/v2/numberFormat.d.ts.map +1 -0
- package/dist/src/utils/withAlpha.d.ts +13 -0
- package/dist/src/utils/withAlpha.d.ts.map +1 -0
- package/dist/src/withdrawal/publicClient.d.ts +10 -0
- package/dist/src/withdrawal/publicClient.d.ts.map +1 -0
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
- package/dist/src/withdrawal/validation.d.ts +5 -1
- package/dist/src/withdrawal/validation.d.ts.map +1 -1
- package/package.json +6 -4
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface WithdrawCryptoScreenProps {
|
|
3
|
+
title: string;
|
|
4
|
+
backAccessibilityLabel: string;
|
|
5
|
+
onBack: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* The form. Empty for now — the amount and recipient fields, the destination
|
|
8
|
+
* picker and the fee summary are added in the parts that follow, each landing
|
|
9
|
+
* on this screen so it can be exercised as it grows.
|
|
10
|
+
*/
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
/** Submit button, pinned under the form body. */
|
|
13
|
+
cta?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/** The send-to-address withdrawal form: sheet chrome plus the form body. */
|
|
16
|
+
export declare function WithdrawCryptoScreen({ title, backAccessibilityLabel, onBack, children, cta, }: WithdrawCryptoScreenProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=WithdrawCryptoScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawCryptoScreen.d.ts","sourceRoot":"","sources":["../../../src/screens/WithdrawCryptoScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,sBAAsB,EAAE,MAAM,CAAA;IAC9B,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,iDAAiD;IACjD,GAAG,CAAC,EAAE,SAAS,CAAA;CAChB;AAED,4EAA4E;AAC5E,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,sBAAsB,EACtB,MAAM,EACN,QAAQ,EACR,GAAG,GACJ,EAAE,yBAAyB,+BAkC3B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type StatsigProviderProps } from '@statsig/react-bindings';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import { StatsigClientRN } from './StatsigClientRN';
|
|
4
|
+
type Props = StatsigProviderProps<StatsigClientRN>;
|
|
5
|
+
export declare function StatsigProviderRN(props: Props): ReactElement | null;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=StatsigProviderRN.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatsigProviderRN.d.ts","sourceRoot":"","sources":["../../../src/statsig/StatsigProviderRN.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,oBAAoB,EAE1B,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAMnD,KAAK,KAAK,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAA;AAmClD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,YAAY,GAAG,IAAI,CASnE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type StatsigOptions, type StatsigUser } from '@statsig/react-bindings';
|
|
2
|
+
import { StatsigClientRN } from './StatsigClientRN';
|
|
3
|
+
export declare function useClientBootstrapInitRN(sdkKey: string, initialUser: StatsigUser, initialValues: string, statsigOptions?: StatsigOptions | null): StatsigClientRN;
|
|
4
|
+
//# sourceMappingURL=useClientBootstrapInitRN.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useClientBootstrapInitRN.d.ts","sourceRoot":"","sources":["../../../src/statsig/useClientBootstrapInitRN.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,WAAW,EAEjB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKnD,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,MAAM,EACrB,cAAc,GAAE,cAAc,GAAG,IAAW,GAC3C,eAAe,CAWjB"}
|
|
@@ -41,6 +41,7 @@ export declare function buildFunkitTheme(tokens: FunkitTokens): {
|
|
|
41
41
|
error: string;
|
|
42
42
|
hyperlink: string;
|
|
43
43
|
warning: string;
|
|
44
|
+
watermark: string;
|
|
44
45
|
};
|
|
45
46
|
button: {
|
|
46
47
|
primary: {
|
|
@@ -168,6 +169,13 @@ export declare function buildFunkitTheme(tokens: FunkitTokens): {
|
|
|
168
169
|
fontFamily: string;
|
|
169
170
|
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
170
171
|
};
|
|
172
|
+
drawerTitle: {
|
|
173
|
+
fontSize: number;
|
|
174
|
+
lineHeight: number;
|
|
175
|
+
letterSpacing: number;
|
|
176
|
+
fontFamily: string;
|
|
177
|
+
fontWeight: "medium" | "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined;
|
|
178
|
+
};
|
|
171
179
|
amountInput: {
|
|
172
180
|
fontSize: number;
|
|
173
181
|
fontFamily: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/buildFunkitTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,UAAU,CAAA;AAYjB;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"buildFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/buildFunkitTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,UAAU,CAAA;AAYjB;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoHpD"}
|