@funkit/connect-rn 6.0.0 → 6.2.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 +65 -0
- package/README.md +119 -0
- package/dist/{chunk-XTK6HGJL.js → chunk-PLSQBNDE.js} +2 -2
- package/dist/{chunk-4ELC2W4D.js → chunk-VIMRV7N2.js} +423 -39
- package/dist/chunk-VIMRV7N2.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado/useNadoWithdrawal.d.ts.map +1 -1
- package/dist/clients/nado.js +3 -3
- package/dist/clients/nado.js.map +2 -2
- package/dist/index.js +3009 -1938
- package/dist/index.js.map +4 -4
- package/dist/src/components/ScrollFade.d.ts +7 -1
- package/dist/src/components/ScrollFade.d.ts.map +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatActionButton.d.ts.map +1 -1
- package/dist/src/fiat/FiatBirthDateField.d.ts +5 -1
- package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -1
- package/dist/src/fiat/FiatChoiceField.d.ts +1 -1
- package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountryIndexRail.d.ts +26 -0
- package/dist/src/fiat/FiatCountryIndexRail.d.ts.map +1 -0
- package/dist/src/fiat/FiatCountrySheet.d.ts +2 -2
- package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormAdvance.d.ts +21 -6
- package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycFieldControl.d.ts +6 -1
- package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatTermsNotice.d.ts +3 -1
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
- package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -1
- package/dist/src/fiat/countryListEntries.d.ts +63 -0
- package/dist/src/fiat/countryListEntries.d.ts.map +1 -0
- package/dist/src/fiat/kycFormState.d.ts.map +1 -1
- package/dist/src/fiat/kycFormTheme.d.ts +4 -0
- package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
- package/dist/src/fiat/nativeDatePicker.d.ts.map +1 -1
- package/dist/src/fiat/otpScreenProps.d.ts +5 -0
- package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/phoneDraft.d.ts.map +1 -1
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +14 -0
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/useContactEligibility.d.ts.map +1 -1
- package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -1
- package/dist/src/fiat/useKycCompletion.d.ts +13 -0
- package/dist/src/fiat/useKycCompletion.d.ts.map +1 -0
- package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -1
- package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -1
- package/dist/src/flow/DepositAmountStep.d.ts +1 -2
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/Drawer.d.ts +24 -0
- package/dist/src/flow/Drawer.d.ts.map +1 -0
- package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts +10 -17
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +3 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/useV2DrawerMotion.d.ts +4 -0
- package/dist/src/flow/useV2DrawerMotion.d.ts.map +1 -0
- package/dist/src/flow/withdrawalFlowConfig.d.ts +7 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/hooks/useNestedSheet.d.ts.map +1 -1
- package/dist/src/icons/KycStatusIcon.d.ts +1 -1
- package/dist/src/icons/KycStatusIcon.d.ts.map +1 -1
- package/dist/src/providers/FunkitProvider.d.ts +8 -1
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +8 -0
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +1 -9
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +10 -2
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +1 -0
- package/dist/src/screens/depositMetrics.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
- package/dist/src/theme/FunkitThemeProvider.d.ts.map +1 -1
- package/dist/src/theme/textStyle.d.ts +16 -0
- package/dist/src/theme/textStyle.d.ts.map +1 -0
- package/dist/src/theme/useFunkitTheme.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useSupportedTokens.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useWithdrawalFops.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +11 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalExecution.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalForm.d.ts.map +1 -1
- package/dist/src/withdrawal/useCryptoWithdrawalValidation.d.ts.map +1 -1
- package/dist/src/withdrawal/useWithdrawalExecution.d.ts.map +1 -1
- package/dist/src/withdrawal/walletlessWithdrawal.d.ts +7 -0
- package/dist/src/withdrawal/walletlessWithdrawal.d.ts.map +1 -0
- package/package.json +6 -6
- package/dist/chunk-4ELC2W4D.js.map +0 -7
- package/dist/src/hooks/useMinimumAmountValidation.d.ts +0 -17
- package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +0 -1
- /package/dist/{chunk-XTK6HGJL.js.map → chunk-PLSQBNDE.js.map} +0 -0
|
@@ -13,8 +13,14 @@ export declare function ScrollFade({ edge, color, id, }: {
|
|
|
13
13
|
/**
|
|
14
14
|
* Tracks which edges of a `ScrollView` still have content beyond them, for
|
|
15
15
|
* `ScrollFade`. Spread `scrollProps` onto the `ScrollView`.
|
|
16
|
+
*
|
|
17
|
+
* A caller wanting the scroll position too passes its own handler in rather
|
|
18
|
+
* than merging one over `scrollProps.onScroll`: the merged object would be
|
|
19
|
+
* new on every render, and gorhom hands `onScroll` to reanimated as a
|
|
20
|
+
* dependency — a fresh one tears the native scroll handler down and registers
|
|
21
|
+
* it again, mid-scroll, on the thread doing the scrolling.
|
|
16
22
|
*/
|
|
17
|
-
export declare function useScrollEdgeFades(): {
|
|
23
|
+
export declare function useScrollEdgeFades(onScrolled?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void): {
|
|
18
24
|
showTopFade: boolean;
|
|
19
25
|
showBottomFade: boolean;
|
|
20
26
|
scrollProps: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollFade.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollFade.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,cAAc,CAAA;AAUrB;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,EAAE,GACH,EAAE;IACD,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAA;CACX,+BAiCA;AAED
|
|
1
|
+
{"version":3,"file":"ScrollFade.d.ts","sourceRoot":"","sources":["../../../src/components/ScrollFade.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,cAAc,CAAA;AAUrB;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,EAAE,GACH,EAAE;IACD,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAA;CACX,+BAiCA;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI;;;;sBAqB/D,oBAAoB,CAAC,iBAAiB,CAAC;sBAQvC,iBAAiB;kCAOhB,MAAM,KAAK,MAAM;;EAoBzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,yEAIzB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,yEAIzB,oBAAoB,iCAoErB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatActionButton.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatActionButton.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatActionButton.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatActionButton.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAO3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,+BA4BtD"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { NativeDatePicker } from './nativeDatePicker';
|
|
2
2
|
/** iOS owns the wheel and its accessibility gestures (Figma 2017:20247). */
|
|
3
|
-
export declare function FiatBirthDateField({ Picker, value, editable, onChange, }: {
|
|
3
|
+
export declare function FiatBirthDateField({ Picker, value, frameHeight, frameTop, editable, onChange, }: {
|
|
4
4
|
Picker: NativeDatePicker;
|
|
5
5
|
value: string;
|
|
6
|
+
/** The step's own frame, which the wheel is centred on. */
|
|
7
|
+
frameHeight: number;
|
|
8
|
+
/** Everything drawn above the wheel, which its own middle is measured off. */
|
|
9
|
+
frameTop: number;
|
|
6
10
|
editable: boolean;
|
|
7
11
|
onChange: (value: string) => void;
|
|
8
12
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatBirthDateField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatBirthDateField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatBirthDateField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatBirthDateField.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,KAAK,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,gBAAgB,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAA;IACnB,8EAA8E;IAC9E,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC,+BAyCA"}
|
|
@@ -11,6 +11,6 @@ export interface FiatChoiceFieldProps {
|
|
|
11
11
|
grouped?: boolean;
|
|
12
12
|
onChange: (value: string) => void;
|
|
13
13
|
}
|
|
14
|
-
/** KYC R2 selection
|
|
14
|
+
/** KYC R2 selection drawer, shared by country and provider questionnaires. */
|
|
15
15
|
export declare function FiatChoiceField({ label, title, value, options, editable, invalid, grouped, onChange, }: FiatChoiceFieldProps): import("react").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=FiatChoiceField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatChoiceField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatChoiceField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatChoiceField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatChoiceField.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,SAAS;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,8EAA8E;AAC9E,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,GACT,EAAE,oBAAoB,+BA+DtB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface FiatCountryIndexRailProps {
|
|
2
|
+
/** The headings the list draws, in the order it draws them. */
|
|
3
|
+
keys: readonly string[];
|
|
4
|
+
/** The heading the list is scrolled to, marked when no finger is down. */
|
|
5
|
+
active?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Where down the rail the finger is: which heading it is over, and how far
|
|
8
|
+
* through that heading's letter it sits. Called for every touch, not only
|
|
9
|
+
* when the letter changes, so the list can follow the finger. The index
|
|
10
|
+
* rather than the letter, because the caller wants the next heading too.
|
|
11
|
+
*/
|
|
12
|
+
onScrub: (at: number, within: number) => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The letters down the right edge, dragged through to reach a heading — what
|
|
16
|
+
* a contacts list is read by, and the only way 245 countries are reachable
|
|
17
|
+
* without a search term.
|
|
18
|
+
*
|
|
19
|
+
* Driven by a gesture-handler pan, which is what the sheet's own pan-to-close
|
|
20
|
+
* is: on the responder system the sheet took the drag over after the first
|
|
21
|
+
* letter, and the scrub stopped with its peek still drawn. Sharing one gesture
|
|
22
|
+
* system makes the two compete, and the rail wins by activating on touch-down
|
|
23
|
+
* where the sheet's pan waits for movement.
|
|
24
|
+
*/
|
|
25
|
+
export declare const FiatCountryIndexRail: import("react").MemoExoticComponent<({ keys, active, onScrub, }: FiatCountryIndexRailProps) => import("react").JSX.Element>;
|
|
26
|
+
//# sourceMappingURL=FiatCountryIndexRail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatCountryIndexRail.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountryIndexRail.tsx"],"names":[],"mappings":"AAsBA,MAAM,WAAW,yBAAyB;IACxC,+DAA+D;IAC/D,IAAI,EAAE,SAAS,MAAM,EAAE,CAAA;IACvB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;;;OAKG;IACH,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,mEAI9B,yBAAyB,iCAwJ1B,CAAA"}
|
|
@@ -10,9 +10,9 @@ export interface FiatCountrySheetProps {
|
|
|
10
10
|
* The country list as a stacked modal layer over the step that raised it
|
|
11
11
|
* (2531:8471).
|
|
12
12
|
*
|
|
13
|
-
* A
|
|
13
|
+
* A drawer rather than a panel in the keyboard's slot: every country on earth
|
|
14
14
|
* is further than a panel's worth of room can be read through, so the design
|
|
15
|
-
* gives the list the whole screen
|
|
15
|
+
* gives the list the whole screen and its own search.
|
|
16
16
|
*/
|
|
17
17
|
export declare function FiatCountrySheet({ sheet, selected, onSelect, }: FiatCountrySheetProps): import("react").JSX.Element;
|
|
18
18
|
//# sourceMappingURL=FiatCountrySheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatCountrySheet.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountrySheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatCountrySheet.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountrySheet.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAgB1D,OAAO,EAEL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;IAC/B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAA;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE,qBAAqB,+BAUvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatDocumentCaptureStep.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatDocumentCaptureStep.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"FiatDocumentCaptureStep.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatDocumentCaptureStep.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAGvD,4EAA4E;AAC5E,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,WAAW,EACX,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,MAAM,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,+TAaA"}
|
|
@@ -3,17 +3,22 @@ import { Animated } from 'react-native';
|
|
|
3
3
|
* What ends a form page, docked above whatever is up (KYC - R2, 2005:17707 /
|
|
4
4
|
* 2017:18858 / 2017:19555).
|
|
5
5
|
*
|
|
6
|
-
* The design gives the slot one occupant at a time:
|
|
7
|
-
*
|
|
8
|
-
* is
|
|
6
|
+
* The design gives the slot one occupant at a time where it can: an age below
|
|
7
|
+
* the floor puts the notice in the action's place, since no press clears it.
|
|
8
|
+
* A blank field keeps its action — filling it in is what the press is for.
|
|
9
9
|
* A long section scrolls under it, so it is pinned rather than left at the
|
|
10
10
|
* end of the column.
|
|
11
11
|
*/
|
|
12
|
-
export declare function FiatFormAdvance({ isSubmitting, validationError, shouldShowCta, bottom, onPress, }: {
|
|
12
|
+
export declare function FiatFormAdvance({ isSubmitting, validationError, isBlocked, shouldShowCta, bottom, onHeight, onPress, }: {
|
|
13
13
|
isLastStep: boolean;
|
|
14
14
|
isSubmitting: boolean;
|
|
15
15
|
/** What the page is refused for, when it has been tried. */
|
|
16
16
|
validationError?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The refusal is not one a press can clear — an age below the floor, not a
|
|
19
|
+
* field left blank. The notice then stands in the action's place.
|
|
20
|
+
*/
|
|
21
|
+
isBlocked?: boolean;
|
|
17
22
|
/**
|
|
18
23
|
* Whether the action is drawn. A typed page hides it until the page is
|
|
19
24
|
* clean, since the keyboard's own return key is how it is tried; a page
|
|
@@ -22,8 +27,18 @@ export declare function FiatFormAdvance({ isSubmitting, validationError, shouldS
|
|
|
22
27
|
shouldShowCta: boolean;
|
|
23
28
|
/** Where it sits above the keyboard, the picker, or the home indicator. */
|
|
24
29
|
bottom: Animated.WithAnimatedValue<number>;
|
|
30
|
+
/**
|
|
31
|
+
* How tall it actually drew. The notice has a floor, not a ceiling — a
|
|
32
|
+
* refusal the server worded, or a longer translation, wraps past it — so
|
|
33
|
+
* the column cannot reserve its room from the metrics alone.
|
|
34
|
+
*/
|
|
35
|
+
onHeight?: (height: number) => void;
|
|
25
36
|
onPress: () => void;
|
|
26
37
|
}): import("react").JSX.Element;
|
|
27
|
-
/**
|
|
28
|
-
|
|
38
|
+
/**
|
|
39
|
+
* How tall the dock stands before it has drawn, so the column has room to
|
|
40
|
+
* reserve on the first paint. What it actually took comes back from
|
|
41
|
+
* `onHeight`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function advanceDockHeight(hasValidationError: boolean, isBlocked?: boolean): number;
|
|
29
44
|
//# sourceMappingURL=FiatFormAdvance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormAdvance.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormAdvance.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatFormAdvance.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormAdvance.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,cAAc,CAAA;AAUnD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,eAAe,EACf,SAAiB,EACjB,aAAa,EACb,MAAM,EACN,QAAQ,EACR,OAAO,GACR,EAAE;IACD,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAA;IACtB,2EAA2E;IAC3E,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BAyCA;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,kBAAkB,EAAE,OAAO,EAC3B,SAAS,UAAQ,GAChB,MAAM,CAUR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fi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,MAAM,GACP,EAAE,oBAAoB,sCA6jBtB"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { type FiatFormFieldRowProps } from './FiatFormFieldRow';
|
|
2
2
|
import type { NativeDatePicker } from './nativeDatePicker';
|
|
3
|
-
export declare function FiatKycFieldControl({ ssnDigits, Picker, isDatePickerLoading, inlineChoice, ...props }: FiatFormFieldRowProps & {
|
|
3
|
+
export declare function FiatKycFieldControl({ ssnDigits, Picker, frame, isDatePickerLoading, inlineChoice, ...props }: FiatFormFieldRowProps & {
|
|
4
4
|
ssnDigits?: 4 | 9;
|
|
5
5
|
Picker?: NativeDatePicker;
|
|
6
|
+
/** The step's frame, which the wheel centres itself on. */
|
|
7
|
+
frame?: {
|
|
8
|
+
height: number;
|
|
9
|
+
top: number;
|
|
10
|
+
};
|
|
6
11
|
isDatePickerLoading?: boolean;
|
|
7
12
|
/** The page draws its answers itself, rather than behind a chooser. */
|
|
8
13
|
inlineChoice?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,mBAA2B,EAC3B,YAAoB,EACpB,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG;IACzB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACjB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,uEAAuE;IACvE,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,
|
|
1
|
+
{"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,KAAK,EACL,mBAA2B,EAC3B,YAAoB,EACpB,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG;IACzB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACjB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,2DAA2D;IAC3D,KAAK,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;IACvC,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,uEAAuE;IACvE,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,sCAwFA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycIntroScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAoBrE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,qEAAqE;IACrE,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,qBAA6B,EAC7B,oBAA4B,EAC5B,YAAoB,EACpB,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,+
|
|
1
|
+
{"version":3,"file":"FiatKycIntroScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAoBrE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,qEAAqE;IACrE,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,qBAA6B,EAC7B,oBAA4B,EAC5B,YAAoB,EACpB,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,+BAwHzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycOutcomeScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOutcomeScreen.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAA;IACzC,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAMD,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,WAAW,EACX,OAAO,GACR,EAAE,yBAAyB,+
|
|
1
|
+
{"version":3,"file":"FiatKycOutcomeScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOutcomeScreen.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAA;IACzC,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAMD,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,WAAW,EACX,OAAO,GACR,EAAE,yBAAyB,+BAkE3B"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { TermsToAccept } from '@funkit/connect-core';
|
|
2
2
|
export interface FiatTermsNoticeProps {
|
|
3
|
-
|
|
3
|
+
/** A standing disclosure names only its document; there is no revision to echo back. */
|
|
4
|
+
terms: TermsToAccept | Pick<TermsToAccept, 'documentUrl'>;
|
|
4
5
|
}
|
|
6
|
+
export declare const COINBASE_USER_AGREEMENT_URL = "https://www.coinbase.com/legal/user_agreement";
|
|
5
7
|
/** The server requests consent; the footer explains what the next tap accepts. */
|
|
6
8
|
export declare function FiatTermsNotice({ terms }: FiatTermsNoticeProps): import("react").JSX.Element;
|
|
7
9
|
//# sourceMappingURL=FiatTermsNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AASzD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AASzD,MAAM,WAAW,oBAAoB;IACnC,wFAAwF;IACxF,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;CAC1D;AAED,eAAO,MAAM,2BAA2B,kDACS,CAAA;AAgCjD,kFAAkF;AAClF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,+BA+B9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KycGlassBackdrop.d.ts","sourceRoot":"","sources":["../../../src/fiat/KycGlassBackdrop.tsx"],"names":[],"mappings":"AAMA,yEAAyE;AACzE,wBAAgB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"KycGlassBackdrop.d.ts","sourceRoot":"","sources":["../../../src/fiat/KycGlassBackdrop.tsx"],"names":[],"mappings":"AAMA,yEAAyE;AACzE,wBAAgB,gBAAgB,gCAmB/B"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { CountrySection, NamedCountry } from './countrySections';
|
|
2
|
+
import type { PhoneCountry } from './phoneCountries';
|
|
3
|
+
/** A heading, or one country under it. */
|
|
4
|
+
export type ListEntry = {
|
|
5
|
+
kind: 'header';
|
|
6
|
+
key: string;
|
|
7
|
+
gap: boolean;
|
|
8
|
+
/** Whether the index rail lists it — the pinned heading is not a letter. */
|
|
9
|
+
indexed: boolean;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'row';
|
|
12
|
+
key: string;
|
|
13
|
+
item: NamedCountry;
|
|
14
|
+
/** Which corners the row rounds, and whether it rules off below. */
|
|
15
|
+
first: boolean;
|
|
16
|
+
last: boolean;
|
|
17
|
+
};
|
|
18
|
+
/** What a row or heading costs the list, so the rail can scrub by offset. */
|
|
19
|
+
export interface EntryHeights {
|
|
20
|
+
row: number;
|
|
21
|
+
header: number;
|
|
22
|
+
/** What a `gap` entry adds above itself. */
|
|
23
|
+
gap: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The sections flattened into rows a single list draws, with the country the
|
|
27
|
+
* field already carries lifted to the top under its own heading (2184:14277).
|
|
28
|
+
*
|
|
29
|
+
* A search answers with one card and no headings (2531:8798): the letters are
|
|
30
|
+
* how an unfiltered list is read, and over three matches they only add noise.
|
|
31
|
+
*/
|
|
32
|
+
export declare function countryListEntries(sections: readonly CountrySection[], query: string, pinned: PhoneCountry,
|
|
33
|
+
/** What heads the pinned card — "Country:", in the reading language. */
|
|
34
|
+
pinnedHeading: string): ListEntry[];
|
|
35
|
+
/**
|
|
36
|
+
* The heading a list scrolled this far down is reading under, so the rail can
|
|
37
|
+
* say where the list is. `undefined` above the first one, where the pinned
|
|
38
|
+
* card is what is on screen and no letter has been reached.
|
|
39
|
+
*/
|
|
40
|
+
export declare function sectionAt(offsets: Record<string, number>, order: readonly string[], top: number): string | undefined;
|
|
41
|
+
/** Where an entry sits in the list, and what it costs. */
|
|
42
|
+
export interface EntryCell {
|
|
43
|
+
offset: number;
|
|
44
|
+
length: number;
|
|
45
|
+
}
|
|
46
|
+
/** The list as the rail and the scroller both need it measured. */
|
|
47
|
+
export interface Measured {
|
|
48
|
+
/** Every entry's place, so the list can be scrolled to one without
|
|
49
|
+
* rendering its way there — a scrub crosses thousands of points at a time. */
|
|
50
|
+
cells: EntryCell[];
|
|
51
|
+
/** Where each letter heading sits, which the rail scrubs to. */
|
|
52
|
+
offsets: Record<string, number>;
|
|
53
|
+
/** Those headings, in the order the list draws them. */
|
|
54
|
+
order: string[];
|
|
55
|
+
height: number;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* One walk of the list, because a heading's offset, a row's cell and the whole
|
|
59
|
+
* list's height are the same arithmetic — measured apart they drift, and the
|
|
60
|
+
* rail would scrub to offsets the scroller does not honour.
|
|
61
|
+
*/
|
|
62
|
+
export declare function measureEntries(entries: readonly ListEntry[], heights: EntryHeights): Measured;
|
|
63
|
+
//# sourceMappingURL=countryListEntries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"countryListEntries.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AWD,gEAAgE;AAChE,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,UAAU,GACjB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"kycFormState.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACV,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,eAAe,CAAA;AAe5D;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,GACrC,aAAa,GAAG,SAAS,CAE3B;AAED,iFAAiF;AACjF,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,GAAG,SAAS,KAAG,MACnB,CAAA;AAExC;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAElD,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,CAO7D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,MAAM,EAAE,UAAU,GACjB,SAAS,EAAE,CAIb;AAED,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,KAAK,CAAA;AAInC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,IAAiB,GACvB,eAAe,GAAG,SAAS,CAuB7B;AAWD,gEAAgE;AAChE,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,UAAU,GACjB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAY/B"}
|
|
@@ -34,6 +34,10 @@ export declare const KYC_FORM_METRICS: {
|
|
|
34
34
|
readonly questionnaireHeadingTop: 54;
|
|
35
35
|
/** Title to card (18), less the column's own gap. */
|
|
36
36
|
readonly questionnaireHeadingBottom: 10;
|
|
37
|
+
readonly dateTitleWidth: 203;
|
|
38
|
+
readonly dateWheelHeight: 216;
|
|
39
|
+
/** Below the title, before the wheel. */
|
|
40
|
+
readonly dateHeadingBottom: 19;
|
|
37
41
|
/** Between two fields sharing a row (first name + M.I., day/month/year). */
|
|
38
42
|
readonly fieldGap: 9;
|
|
39
43
|
/** The middle-initial field is fixed while its neighbour grows. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;;;;IAW7C,8EAA8E;;;;;IAK9E,oEAAoE;;;;IAIpE,8EAA8E;;IAE9E,qDAAqD;;
|
|
1
|
+
{"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;;;;IAW7C,8EAA8E;;;;;IAK9E,oEAAoE;;;;IAIpE,8EAA8E;;IAE9E,qDAAqD;;;;IASrD,yCAAyC;;IAEzC,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E,kEAAkE;;IAElE;;;OAGG;;;;IAIH,6EAA6E;;IAO7E,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;;;;IASzE,oEAAoE;;;;CAI5D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeDatePicker.d.ts","sourceRoot":"","sources":["../../../src/fiat/nativeDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,4EAA4E;AAC5E,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;IAC1C,WAAW,EAAE,IAAI,CAAA;IACjB,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CACzD;AAED,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAA;AAEnE;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAA;AAQvE;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,IAAI,qBAAqB,CA6B3D;AASD,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,QAAgD,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,SAAwB,CAAA;AAE1D,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"nativeDatePicker.d.ts","sourceRoot":"","sources":["../../../src/fiat/nativeDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,4EAA4E;AAC5E,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;IAC1C,WAAW,EAAE,IAAI,CAAA;IACjB,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CACzD;AAED,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAA;AAEnE;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAA;AAQvE;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,IAAI,qBAAqB,CA6B3D;AASD,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,QAAgD,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,SAAwB,CAAA;AAE1D,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAgB7E"}
|
|
@@ -15,4 +15,9 @@ import type { KnownContacts } from './knownContacts';
|
|
|
15
15
|
export declare function otpScreenProps(flow: FiatFlow, t: TFunction,
|
|
16
16
|
/** Every contact the entry collected, so each round can name its own. */
|
|
17
17
|
contacts: KnownContacts): Omit<FiatOtpScreenProps, 'onClose'> | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* The id a provider's resend carries, whichever shape it takes: a new code here,
|
|
20
|
+
* or a freshly minted surface on the rails that render their own auth.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RESEND_ID = "resend";
|
|
18
23
|
//# sourceMappingURL=otpScreenProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../src/fiat/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAGpD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,yEAAyE;AACzE,QAAQ,EAAE,aAAa,GACtB,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,SAAS,CA2CjD"}
|
|
1
|
+
{"version":3,"file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../src/fiat/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAGpD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,yEAAyE;AACzE,QAAQ,EAAE,aAAa,GACtB,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,SAAS,CA2CjD;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phoneDraft.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneDraft.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,YAAY,EAKlB,MAAM,kBAAkB,CAAA;AAEzB,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"phoneDraft.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneDraft.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,YAAY,EAKlB,MAAM,kBAAkB,CAAA;AAEzB,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAc7E;AAED,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAiBrE;AAWD,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAanE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,YAAY,GACrB,YAAY,GAAG,SAAS,CAW1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CoinbaseCheckoutSurface.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/CoinbaseCheckoutSurface.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAA;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAA;IACnB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yEAAyE;IACzE,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAClD;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,WAAW,EACX,OAAO,EACP,MAAM,EACN,QAAQ,GACT,EAAE,4BAA4B,+BAuG9B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
/**
|
|
3
|
+
* What the buyer is told when Coinbase's page refuses the payment.
|
|
4
|
+
*
|
|
5
|
+
* Coinbase-only: these codes come from their headless onramp and mean nothing
|
|
6
|
+
* to another provider. Their `errorMessage` is not used — it is written against
|
|
7
|
+
* their page, and their docs word several codes as notes to the integrator.
|
|
8
|
+
*
|
|
9
|
+
* `undefined` for a code with no copy yet, which the screen answers with its
|
|
10
|
+
* own generic line. One literal key per branch, as `t()` requires
|
|
11
|
+
* (`.ast-grep/rules/i18n-t-string-literal.yml`).
|
|
12
|
+
*/
|
|
13
|
+
export declare function coinbaseFailureCopy(code: string, t: TFunction): string | undefined;
|
|
14
|
+
//# sourceMappingURL=coinbaseFailureCopy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coinbaseFailureCopy.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseFailureCopy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAiEpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moonpay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/moonpay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"moonpay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/moonpay.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;AAwE/D,eAAO,MAAM,OAAO,EAAE,cAiCrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useContactEligibility.d.ts","sourceRoot":"","sources":["../../../src/fiat/useContactEligibility.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAE3C,0EAA0E;AAC1E,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useContactEligibility.d.ts","sourceRoot":"","sources":["../../../src/fiat/useContactEligibility.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAE3C,0EAA0E;AAC1E,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,WAarE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFiatCheckoutPreparation.d.ts","sourceRoot":"","sources":["../../../src/fiat/useFiatCheckoutPreparation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAUlE,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,OAAO,GACR,EAAE;IACD,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;IAClC,QAAQ,EAAE,QAAQ,CAAA;IAClB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"useFiatCheckoutPreparation.d.ts","sourceRoot":"","sources":["../../../src/fiat/useFiatCheckoutPreparation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAUlE,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,OAAO,GACR,EAAE;IACD,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;IAClC,QAAQ,EAAE,QAAQ,CAAA;IAClB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,GAAG,OAAO,CAqCV"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FiatFlow } from '@funkit/connect-core';
|
|
2
|
+
import type { FiatKycOutcomeScreenProps } from './FiatKycOutcomeScreen';
|
|
3
|
+
export type KycCompletion = FiatKycOutcomeScreenProps['outcome'];
|
|
4
|
+
/**
|
|
5
|
+
* The acknowledgement owed to a finished identity form, which the quote-time
|
|
6
|
+
* banner cannot give: that one reports a verdict returned with a price, so a
|
|
7
|
+
* form answered with a price says nothing.
|
|
8
|
+
*
|
|
9
|
+
* Derived in render, not an effect — the amount screen must not paint in the
|
|
10
|
+
* gap. Capture is excluded: a provider surface reporting back is not a form.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useKycCompletion(flow: FiatFlow): KycCompletion | undefined;
|
|
13
|
+
//# sourceMappingURL=useKycCompletion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKycCompletion.d.ts","sourceRoot":"","sources":["../../../src/fiat/useKycCompletion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAIpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAEvE,MAAM,MAAM,aAAa,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAIhE;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAG,aAAa,GAAG,SAAS,CAa1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOtpAutoSubmit.d.ts","sourceRoot":"","sources":["../../../src/fiat/useOtpAutoSubmit.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,
|
|
1
|
+
{"version":3,"file":"useOtpAutoSubmit.d.ts","sourceRoot":"","sources":["../../../src/fiat/useOtpAutoSubmit.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,QAoBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOtpReceipt.d.ts","sourceRoot":"","sources":["../../../src/fiat/useOtpReceipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,KAAK,QAAQ,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAA;AACnD,UAAU,UAAU;IAClB,KAAK,EAAE,QAAQ,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACb;AAED,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"useOtpReceipt.d.ts","sourceRoot":"","sources":["../../../src/fiat/useOtpReceipt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAGpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,KAAK,QAAQ,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,CAAA;AACnD,UAAU,UAAU;IAClB,KAAK,EAAE,QAAQ,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACb;AAED,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ;kBAmCrB,QAAQ,KAAG,QAAQ;;EAYzC"}
|
|
@@ -5,7 +5,7 @@ import type { DepositAmountEntryConfig, DepositFlowCallbacks, DepositInitialAmou
|
|
|
5
5
|
* rail behind the submit is not part of this step — `onSubmitAmount` is the
|
|
6
6
|
* seam it will attach to.
|
|
7
7
|
*/
|
|
8
|
-
export declare function DepositAmountStep({ config, callbacks, initialAmount, lockAmount,
|
|
8
|
+
export declare function DepositAmountStep({ config, callbacks, initialAmount, lockAmount, }: {
|
|
9
9
|
config: DepositAmountEntryConfig;
|
|
10
10
|
callbacks: DepositFlowCallbacks;
|
|
11
11
|
/** Prefills the typed amount. */
|
|
@@ -15,6 +15,5 @@ export declare function DepositAmountStep({ config, callbacks, initialAmount, lo
|
|
|
15
15
|
* quick-amount taps all reject.
|
|
16
16
|
*/
|
|
17
17
|
lockAmount?: boolean;
|
|
18
|
-
onCloseFlow: () => void;
|
|
19
18
|
}): import("react").JSX.Element;
|
|
20
19
|
//# sourceMappingURL=DepositAmountStep.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositAmountStep.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAU5B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,EACT,aAAa,EACb,UAAU,
|
|
1
|
+
{"version":3,"file":"DepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositAmountStep.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,qBAAqB,CAAA;AAU5B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,EACT,aAAa,EACb,UAAU,GACX,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,SAAS,EAAE,oBAAoB,CAAA;IAC/B,iCAAiC;IACjC,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,+BA4HA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAA;AA2CxE,OAAO,KAAK,EAEV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EAElB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AA6D/D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,cAAc,EACd,MAAM,EACN,OAAO,EACP,GAAG,EACH,aAAa,EACb,SAAS,GACV,EAAE;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,MAAM,EAAE,iBAAiB,CAAA;IACzB,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;IACZ,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,SAAS,EAAE,oBAAoB,CAAA;CAChC,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"DepositFlowContent.d.ts","sourceRoot":"","sources":["../../../src/flow/DepositFlowContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAA;AA2CxE,OAAO,KAAK,EAEV,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EAElB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AA6D/D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,cAAc,EACd,MAAM,EACN,OAAO,EACP,GAAG,EACH,aAAa,EACb,SAAS,GACV,EAAE;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,MAAM,EAAE,iBAAiB,CAAA;IACzB,OAAO,EAAE,UAAU,GAAG,SAAS,CAAA;IAC/B,GAAG,EAAE,OAAO,CAAA;IACZ,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,SAAS,EAAE,oBAAoB,CAAA;CAChC,GAAG,SAAS,CAyQZ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { NestedSheet } from '../hooks/useNestedSheet';
|
|
3
|
+
export interface DrawerProps<TScreen extends string> {
|
|
4
|
+
sheet: NestedSheet<TScreen>;
|
|
5
|
+
/**
|
|
6
|
+
* Span the window rather than sizing to the content. A drawer whose content
|
|
7
|
+
* scrolls has to take a fixed detent, because a gorhom scrollable reports
|
|
8
|
+
* only its own height (see `sheetSizing`).
|
|
9
|
+
*/
|
|
10
|
+
fullHeight?: boolean;
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Every drawer that opens over the deposit sheet: the fee breakdown, the
|
|
15
|
+
* country list and the KYC choosers all present through this one component, so
|
|
16
|
+
* they are dismissed the same way and drawn on the same material.
|
|
17
|
+
*
|
|
18
|
+
* The drawer owns its grabber, drawn over the content rather than above it, so
|
|
19
|
+
* it stays put while a list scrolls under it. A close button is the screen's
|
|
20
|
+
* to draw where the design gives it one (the fee breakdown does); the gesture,
|
|
21
|
+
* the grabber and the backdrop are the drawer's.
|
|
22
|
+
*/
|
|
23
|
+
export declare function Drawer<TScreen extends string>({ sheet, fullHeight, children, }: DrawerProps<TScreen>): import("react").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/flow/Drawer.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,SAAS,EAGf,MAAM,OAAO,CAAA;AAKd,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAc1D,MAAM,WAAW,WAAW,CAAC,OAAO,SAAS,MAAM;IACjD,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,OAAO,SAAS,MAAM,EAAE,EAC7C,KAAK,EACL,UAAkB,EAClB,QAAQ,GACT,EAAE,WAAW,CAAC,OAAO,CAAC,+BA8EtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeeDetailsSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FeeDetailsSheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FeeDetailsSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FeeDetailsSheet.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,yBAAyB,CAAA;AAE1E,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,6BAA6B,CAAA;AAOpC,iEAAiE;AACjE,wBAAgB,kBAAkB,IAAI;IACpC,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;IAChC,cAAc,EAAE,MAAM,IAAI,CAAA;CAC3B,CAWA;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,OAAO,GACR,EAAE;IACD,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;IAChC,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,+BAkBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatDepositAmountStep.d.ts","sourceRoot":"","sources":["../../../src/flow/FiatDepositAmountStep.tsx"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EACV,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACf,MAAM,qBAAqB,CAAA;AAsD5B,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,IAAI,EACJ,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,WAAW,GACZ,EAAE;IACD,MAAM,EAAE,wBAAwB,CAAA;IAChC,IAAI,EAAE,cAAc,CAAA;IACpB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,mEAAmE;IACnE,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACjD;;OAEG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAA;IACpC,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,+BA2BA"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type BottomSheetBackgroundProps } from '@gorhom/bottom-sheet';
|
|
3
3
|
/**
|
|
4
|
-
* Host-supplied
|
|
5
|
-
*
|
|
4
|
+
* Host-supplied material laid under the sheet's overlay. The package ships no
|
|
5
|
+
* material of its own — every option is native, so it would cost consumers a
|
|
6
6
|
* rebuild and a peer-dep bump. Rendered into a full-bleed container, so
|
|
7
7
|
* `flex: 1` or `StyleSheet.absoluteFill` fills the screen.
|
|
8
|
+
*
|
|
9
|
+
* A glass host (see `liquidGlass`) is handed the surface's `tint` and paints
|
|
10
|
+
* it itself, because a refractive material has to tint what it refracts — a
|
|
11
|
+
* fill laid over it would mute the refraction to a flat panel.
|
|
8
12
|
*/
|
|
9
|
-
export type BackdropBlurRenderer = (
|
|
13
|
+
export type BackdropBlurRenderer = (props: {
|
|
14
|
+
/** The surface fill the material replaces, alpha included. */
|
|
15
|
+
tint: string;
|
|
16
|
+
}) => ReactNode;
|
|
10
17
|
export interface FlowSheetProps {
|
|
11
18
|
isOpen: boolean;
|
|
12
19
|
/**
|
|
@@ -62,24 +69,10 @@ export declare function FlowSheetBackground(props: BottomSheetBackgroundProps):
|
|
|
62
69
|
* sharp, which is legible but not what the design draws.
|
|
63
70
|
*/
|
|
64
71
|
export declare function GlassSheetBackground(props: BottomSheetBackgroundProps): import("react").JSX.Element;
|
|
65
|
-
/**
|
|
66
|
-
* {@link FlowSheetBackground} for a drawer that opens over another sheet: the
|
|
67
|
-
* opaque material with the design's soft lift. Dark themes use the fixed
|
|
68
|
-
* material in the design; light/custom themes keep their own modal color so
|
|
69
|
-
* customer text tokens remain legible.
|
|
70
|
-
*/
|
|
71
|
-
export declare function DrawerSheetBackground(props: BottomSheetBackgroundProps): import("react").JSX.Element;
|
|
72
72
|
/**
|
|
73
73
|
* {@link FlowSheetBackground} for a screen stacked over another sheet — the
|
|
74
74
|
* country list (2531:8471). Glass rather than a panel, so the step it was
|
|
75
75
|
* raised from still reads faintly underneath it.
|
|
76
76
|
*/
|
|
77
77
|
export declare function StackedSheetBackground(props: BottomSheetBackgroundProps): import("react").JSX.Element;
|
|
78
|
-
/**
|
|
79
|
-
* The dim a drawer is laid over (Figma node 2:1315): clear at the screen's top,
|
|
80
|
-
* half-black through the middle band, clear again before the bottom — so the
|
|
81
|
-
* screen it was opened from stays readable at its head while the drawer's own
|
|
82
|
-
* ground goes dark.
|
|
83
|
-
*/
|
|
84
|
-
export declare function DrawerOverlay(): import("react").JSX.Element;
|
|
85
78
|
//# sourceMappingURL=FlowSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FlowSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAIf,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"FlowSheet.d.ts","sourceRoot":"","sources":["../../../src/flow/FlowSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EAIf,MAAM,OAAO,CAAA;AAEd,OAAO,EAEL,KAAK,0BAA0B,EAKhC,MAAM,sBAAsB,CAAA;AAiB7B;;;;;;;;;GASG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,KAAK,EAAE;IACzC,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;CACb,KAAK,SAAS,CAAA;AAEf,MA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