@funkit/connect-rn 5.0.0 → 6.1.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/README.md +61 -0
  3. package/dist/{chunk-X4RK3XTG.js → chunk-HMAJXI66.js} +447 -39
  4. package/dist/chunk-HMAJXI66.js.map +7 -0
  5. package/dist/{chunk-KPP7KXYB.js → chunk-MKOPF7Y5.js} +2 -2
  6. package/dist/clients/lighter.js +1 -1
  7. package/dist/clients/nado.js +4 -4
  8. package/dist/clients/nado.js.map +2 -2
  9. package/dist/index.js +5560 -3292
  10. package/dist/index.js.map +4 -4
  11. package/dist/src/components/ActionLoading.d.ts +19 -0
  12. package/dist/src/components/ActionLoading.d.ts.map +1 -0
  13. package/dist/src/components/DepositActionMotion.d.ts +33 -2
  14. package/dist/src/components/DepositActionMotion.d.ts.map +1 -1
  15. package/dist/src/components/LoadingSpinner.d.ts +23 -0
  16. package/dist/src/components/LoadingSpinner.d.ts.map +1 -0
  17. package/dist/src/components/PillButton.d.ts.map +1 -1
  18. package/dist/src/components/ScrollFade.d.ts +7 -1
  19. package/dist/src/components/ScrollFade.d.ts.map +1 -1
  20. package/dist/src/components/v2/AmountDisplay.d.ts +2 -8
  21. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  22. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  23. package/dist/src/fiat/FiatActionButton.d.ts.map +1 -1
  24. package/dist/src/fiat/FiatBirthDateField.d.ts +5 -1
  25. package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -1
  26. package/dist/src/fiat/FiatChoiceField.d.ts +1 -1
  27. package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
  28. package/dist/src/fiat/FiatChoiceList.d.ts +19 -0
  29. package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -0
  30. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  31. package/dist/src/fiat/FiatCountryIndexRail.d.ts +26 -0
  32. package/dist/src/fiat/FiatCountryIndexRail.d.ts.map +1 -0
  33. package/dist/src/fiat/FiatCountrySheet.d.ts +18 -0
  34. package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -0
  35. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
  36. package/dist/src/fiat/FiatFormAdvance.d.ts +21 -6
  37. package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
  38. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  39. package/dist/src/fiat/FiatKycFieldControl.d.ts +8 -1
  40. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
  41. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
  42. package/dist/src/fiat/FiatKycNotice.d.ts +12 -2
  43. package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
  44. package/dist/src/fiat/FiatKycOptionRow.d.ts +15 -0
  45. package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -0
  46. package/dist/src/fiat/FiatKycOptionsScreen.d.ts +21 -0
  47. package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -0
  48. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
  49. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  50. package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -1
  51. package/dist/src/fiat/SurfaceSlot.d.ts +17 -4
  52. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
  53. package/dist/src/fiat/countryListEntries.d.ts +63 -0
  54. package/dist/src/fiat/countryListEntries.d.ts.map +1 -0
  55. package/dist/src/fiat/countrySections.d.ts +25 -0
  56. package/dist/src/fiat/countrySections.d.ts.map +1 -0
  57. package/dist/src/fiat/formLayout.d.ts +1 -0
  58. package/dist/src/fiat/formLayout.d.ts.map +1 -1
  59. package/dist/src/fiat/kycFormState.d.ts.map +1 -1
  60. package/dist/src/fiat/kycFormTheme.d.ts +23 -8
  61. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  62. package/dist/src/fiat/nativeDatePicker.d.ts.map +1 -1
  63. package/dist/src/fiat/phoneCountries.d.ts +9 -2
  64. package/dist/src/fiat/phoneCountries.d.ts.map +1 -1
  65. package/dist/src/fiat/phoneDraft.d.ts +10 -3
  66. package/dist/src/fiat/phoneDraft.d.ts.map +1 -1
  67. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
  68. package/dist/src/fiat/providers/HostedControlFrame.d.ts +23 -0
  69. package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -0
  70. package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
  71. package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +14 -0
  72. package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +1 -0
  73. package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
  74. package/dist/src/fiat/providers/transakApplePay.d.ts.map +1 -1
  75. package/dist/src/fiat/stepDetails.d.ts +8 -5
  76. package/dist/src/fiat/stepDetails.d.ts.map +1 -1
  77. package/dist/src/fiat/useContactEligibility.d.ts.map +1 -1
  78. package/dist/src/fiat/useCountrySheet.d.ts +21 -0
  79. package/dist/src/fiat/useCountrySheet.d.ts.map +1 -0
  80. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -1
  81. package/dist/src/fiat/useFiatDirectDelivery.d.ts +32 -0
  82. package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +1 -0
  83. package/dist/src/fiat/useKycCompletion.d.ts +13 -0
  84. package/dist/src/fiat/useKycCompletion.d.ts.map +1 -0
  85. package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -1
  86. package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -1
  87. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  88. package/dist/src/flow/Drawer.d.ts +23 -0
  89. package/dist/src/flow/Drawer.d.ts.map +1 -0
  90. package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
  91. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  92. package/dist/src/flow/FlowSheet.d.ts +4 -18
  93. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  94. package/dist/src/flow/depositFlowConfig.d.ts +14 -1
  95. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  96. package/dist/src/flow/useV2DrawerMotion.d.ts +4 -0
  97. package/dist/src/flow/useV2DrawerMotion.d.ts.map +1 -0
  98. package/dist/src/hooks/useDelayedSpinner.d.ts +10 -0
  99. package/dist/src/hooks/useDelayedSpinner.d.ts.map +1 -0
  100. package/dist/src/hooks/useGuardedAmountInput.d.ts +19 -2
  101. package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
  102. package/dist/src/hooks/useMinimumAmountValidation.d.ts +21 -0
  103. package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +1 -0
  104. package/dist/src/hooks/useNestedSheet.d.ts.map +1 -1
  105. package/dist/src/hooks/useTrailingTrue.d.ts +7 -0
  106. package/dist/src/hooks/useTrailingTrue.d.ts.map +1 -0
  107. package/dist/src/icons/KycStatusIcon.d.ts +10 -0
  108. package/dist/src/icons/KycStatusIcon.d.ts.map +1 -0
  109. package/dist/src/screens/DepositAmountScreen.d.ts +3 -1
  110. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  111. package/dist/src/screens/FeeDetailsScreen.d.ts +3 -4
  112. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
  113. package/dist/src/screens/depositMetrics.d.ts +6 -0
  114. package/dist/src/screens/depositMetrics.d.ts.map +1 -1
  115. package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
  116. package/dist/src/theme/FunkitThemeProvider.d.ts.map +1 -1
  117. package/dist/src/theme/buttonRadius.d.ts +10 -0
  118. package/dist/src/theme/buttonRadius.d.ts.map +1 -0
  119. package/dist/src/theme/cornerCurve.d.ts +11 -0
  120. package/dist/src/theme/cornerCurve.d.ts.map +1 -0
  121. package/dist/src/theme/textStyle.d.ts +16 -0
  122. package/dist/src/theme/textStyle.d.ts.map +1 -0
  123. package/dist/src/theme/useFunkitTheme.d.ts.map +1 -1
  124. package/dist/src/transfer/hooks/useDepositRecipient.d.ts +29 -0
  125. package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -0
  126. package/dist/src/transfer/hooks/useSupportedTokens.d.ts.map +1 -1
  127. package/dist/src/transfer/hooks/useTokenTransfer.d.ts +4 -0
  128. package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
  129. package/dist/src/transfer/hooks/useTransferInit.d.ts +8 -1
  130. package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
  131. package/dist/src/utils/colorMotion.d.ts +14 -0
  132. package/dist/src/utils/colorMotion.d.ts.map +1 -0
  133. package/dist/src/utils/formatAmount.d.ts +10 -1
  134. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  135. package/dist/src/utils/motion.d.ts +34 -0
  136. package/dist/src/utils/motion.d.ts.map +1 -1
  137. package/dist/src/utils/v2/amountRowGeometry.d.ts +6 -0
  138. package/dist/src/utils/v2/amountRowGeometry.d.ts.map +1 -0
  139. package/dist/src/withdrawal/validation.d.ts.map +1 -1
  140. package/package.json +6 -6
  141. package/dist/chunk-X4RK3XTG.js.map +0 -7
  142. package/dist/src/fiat/FiatCountryDock.d.ts +0 -17
  143. package/dist/src/fiat/FiatCountryDock.d.ts.map +0 -1
  144. package/dist/src/fiat/useCountryDock.d.ts +0 -21
  145. package/dist/src/fiat/useCountryDock.d.ts.map +0 -1
  146. /package/dist/{chunk-KPP7KXYB.js.map → chunk-MKOPF7Y5.js.map} +0 -0
@@ -0,0 +1,19 @@
1
+ import type { PillButtonSize } from './PillButton';
2
+ /**
3
+ * The action's own slot while the thing that fills it is still coming — a
4
+ * quote, a provider's hosted button. Drawn as the button's shape in the quiet
5
+ * secondary fill, with no label: the design gives the waiting control no copy,
6
+ * so `label` is what a screen reader announces rather than anything drawn.
7
+ *
8
+ * Shares {@link PillButton}'s geometry and motion so the slot doesn't change
9
+ * shape when the real action lands in it. The ring itself is held back for a
10
+ * beat (`delay`) — the fill is up from the first frame,
11
+ * so a wait that ends inside the delay leaves the button looking untouched.
12
+ */
13
+ export declare function ActionLoading({ label, size, spinnerDelay, }: {
14
+ label: string;
15
+ size?: PillButtonSize;
16
+ /** Milliseconds before the ring is drawn; the fill is up from the first frame. */
17
+ spinnerDelay?: number;
18
+ }): import("react").JSX.Element;
19
+ //# sourceMappingURL=ActionLoading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionLoading.d.ts","sourceRoot":"","sources":["../../../src/components/ActionLoading.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAKlD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAiB,EACjB,YAAsC,GACvC,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,+BAiDA"}
@@ -1,12 +1,43 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type StyleProp, type ViewStyle } from 'react-native';
3
3
  export declare const DepositActionMotion: import("react").Context<boolean>;
4
- export declare function DepositActionLayers({ stateKey, style, contentStyle, contentOpacity, fill, children, }: {
4
+ interface ActionPhase {
5
+ /** What the slot wears now; the next phase crosses from it. */
6
+ fillColor: string | null;
7
+ /** What a provider's own control in the slot is painted, for when the slot's
8
+ * cover comes off and that control is what the user is looking at. */
9
+ controlFill: string | null;
10
+ }
11
+ /**
12
+ * The colour the deposit action is painted, carried across the components that
13
+ * take turns filling its slot — a waiting state, a pill, a provider's own
14
+ * button. Each new one picks the tween up where the last left off, so a phase
15
+ * change reads as one control changing colour rather than a swap.
16
+ */
17
+ export declare function DepositActionPhaseProvider({ children, }: {
18
+ children: ReactNode;
19
+ }): import("react").JSX.Element;
20
+ export declare function useDepositActionPhase(): ActionPhase | null;
21
+ /**
22
+ * For a control that paints its own fill in the action's slot — a provider's
23
+ * hosted button, which no layer of ours draws. Pass `null` where it isn't
24
+ * standing in the slot.
25
+ */
26
+ export declare function useDepositActionControlFill(fill: string | null): void;
27
+ export declare function DepositActionLayers({ stateKey, fillColor, radius, borderCurve, backdropColor, fillOpacity, style, contentStyle, contentOpacity, children, }: {
28
+ /** Changes when the content does, replaying its fade. */
5
29
  stateKey: string;
30
+ /** What the fill wears in this phase; the tween runs to it. */
31
+ fillColor: string;
32
+ radius: number;
33
+ borderCurve?: ViewStyle['borderCurve'];
34
+ /** Opaque backing, for a fill a dimmed state makes see-through. */
35
+ backdropColor?: string;
36
+ fillOpacity?: number;
6
37
  style?: StyleProp<ViewStyle>;
7
38
  contentStyle?: StyleProp<ViewStyle>;
8
39
  contentOpacity?: number;
9
- fill: ReactNode;
10
40
  children: ReactNode;
11
41
  }): import("react").JSX.Element;
42
+ export {};
12
43
  //# sourceMappingURL=DepositActionMotion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DepositActionMotion.d.ts","sourceRoot":"","sources":["../../../src/components/DepositActionMotion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA4B,MAAM,OAAO,CAAA;AAChE,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAU/E,eAAO,MAAM,mBAAmB,kCAAuB,CAAA;AAEvD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,cAAkB,EAClB,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAwCA"}
1
+ {"version":3,"file":"DepositActionMotion.d.ts","sourceRoot":"","sources":["../../../src/components/DepositActionMotion.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAiB/E,eAAO,MAAM,mBAAmB,kCAAuB,CAAA;AAEvD,UAAU,WAAW;IACnB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;2EACuE;IACvE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAID;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAOA;AAED,wBAAgB,qBAAqB,IAAI,WAAW,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,QAW9D;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,MAAM,EACN,WAAW,EACX,aAAa,EACb,WAAe,EACf,KAAK,EACL,YAAY,EACZ,cAAkB,EAClB,QAAQ,GACT,EAAE;IACD,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IACtC,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAyFA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Turn progress whose rate swings once per revolution, so the ring reads as
3
+ * alive rather than mechanical. Even across the loop seam and monotonic while
4
+ * the amplitude stays under 1, so the ring neither jumps nor runs backwards.
5
+ */
6
+ export declare function modulatedTurn(t: number): number;
7
+ /**
8
+ * The ring the whole SDK waits behind. Presentational only — the caller owns
9
+ * the accessibility role, since a spinner means different things in a button
10
+ * slot and on a submission screen.
11
+ *
12
+ * `trackColor` replaces the export's own 30% of `color`, for a theme that
13
+ * colors the track itself (`content/button/*\/loadingAlpha`).
14
+ */
15
+ export declare function LoadingSpinner({ size, color, trackColor, delay, }: {
16
+ size: number;
17
+ color: string;
18
+ /** Defaults to the export's 30% of `color`. */
19
+ trackColor?: string;
20
+ /** Milliseconds to hold the ring back; a wait that ends sooner draws nothing. */
21
+ delay?: number;
22
+ }): import("react").JSX.Element | null;
23
+ //# sourceMappingURL=LoadingSpinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingSpinner.tsx"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,UAAU,EACV,KAAS,GACV,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,sCAiDA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAA;AAOlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,MAAM,WAAW,CAAC,OAAO,CAAC,EAC1B,SAAS,MAAM,EAAE,CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;6CACyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,IAAiB,EACjB,OAAmB,EACnB,MAAiB,EACjB,QAAgB,EAChB,kBAAkB,GACnB,EAAE,eAAe,+BA0GjB"}
1
+ {"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAA;AAQlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,MAAM,WAAW,CAAC,OAAO,CAAC,EAC1B,SAAS,MAAM,EAAE,CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;6CACyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,IAAiB,EACjB,OAAmB,EACnB,MAAiB,EACjB,QAAgB,EAChB,kBAAkB,GACnB,EAAE,eAAe,+BAqGjB"}
@@ -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;;;GAGG;AACH,wBAAgB,kBAAkB;;;;sBAcX,oBAAoB,CAAC,iBAAiB,CAAC;sBAIvC,iBAAiB;kCAIL,MAAM,KAAK,MAAM;;EAiBnD"}
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,10 +1,4 @@
1
- /**
2
- * The largest row scale that keeps the glyphs within the gutters. Glyphs are
3
- * laid out at 96pt and the whole row is scaled as one transform: the shrink
4
- * itself animates on the same clock as the glyph slides, which per-glyph font
5
- * sizes can't do (font size is a layout property and snaps).
6
- */
7
- export declare function fitScale(measured: number, available: number): number;
1
+ export { fitScale } from '../../utils/v2/amountRowGeometry';
8
2
  export interface AmountDisplayProps {
9
3
  /** The typed amount, or `''` for the placeholder. */
10
4
  value: string;
@@ -12,7 +6,7 @@ export interface AmountDisplayProps {
12
6
  prefix?: string;
13
7
  /** Tints the amount, matching the message that replaces the balance line. */
14
8
  hasError?: boolean;
15
- /** Over-limit flash: yellow with a warm glow (stronger than {@link hasError}). */
9
+ /** Over-limit flash: yellow (stronger than {@link hasError}). */
16
10
  hasWarning?: boolean;
17
11
  accessibilityLabel: string;
18
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAwDpB"}
1
+ {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAmCA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAsE3D,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iEAAiE;IACjE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAuDpB"}
@@ -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,iCA6ErB,CAAA"}
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,iCAmErB,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;AAQ3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,+BAqBtD"}
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":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,gBAAgB,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC,+BAkCA"}
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 sheet, shared by country and provider questionnaires. */
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":"AAkBA,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,6EAA6E;AAC7E,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,GACT,EAAE,oBAAoB,+BAgJtB"}
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,19 @@
1
+ export interface FiatChoiceListProps {
2
+ value: string;
3
+ options: readonly {
4
+ id: string;
5
+ labelFallback: string;
6
+ }[];
7
+ editable: boolean;
8
+ invalid: boolean;
9
+ onChange: (value: string) => void;
10
+ }
11
+ /**
12
+ * The questionnaire's answers, drawn on the page itself (2475:9039).
13
+ *
14
+ * The country chooser keeps its sheet, since a list of every country is too
15
+ * long to stand on a page. A questionnaire is nine answers, so the design
16
+ * spends the page on them rather than a row that opens a sheet over it.
17
+ */
18
+ export declare function FiatChoiceList({ value, options, editable, invalid, onChange, }: FiatChoiceListProps): import("react").JSX.Element;
19
+ //# sourceMappingURL=FiatChoiceList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatChoiceList.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatChoiceList.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,mBAAmB;IAClC,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,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,GACT,EAAE,mBAAmB,+BA2CrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAkCpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAQ3D,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,YAAY,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAwB9D;AAED,UAAU,uBAAwB,SAAQ,sBAAsB;IAC9D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACrD;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,aAAa,EACb,YAAY,EACZ,qBAA6B,EAC7B,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,GACd,EAAE,uBAAuB,+BA6PzB"}
1
+ {"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAkCpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAQ3D,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,YAAY,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAwB9D;AAED,UAAU,uBAAwB,SAAQ,sBAAsB;IAC9D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACrD;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,aAAa,EACb,YAAY,EACZ,qBAA6B,EAC7B,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,GACd,EAAE,uBAAuB,+BA2OzB"}
@@ -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"}
@@ -0,0 +1,18 @@
1
+ import type { NestedSheet } from '../hooks/useNestedSheet';
2
+ import { type PhoneCountry } from './phoneCountries';
3
+ export interface FiatCountrySheetProps {
4
+ sheet: NestedSheet<'countries'>;
5
+ /** The code the field carries; absent until a field has raised the list. */
6
+ selected?: PhoneCountry;
7
+ onSelect: (country: PhoneCountry) => void;
8
+ }
9
+ /**
10
+ * The country list as a stacked modal layer over the step that raised it
11
+ * (2531:8471).
12
+ *
13
+ * A drawer rather than a panel in the keyboard's slot: every country on earth
14
+ * is further than a panel's worth of room can be read through, so the design
15
+ * gives the list the whole screen and its own search.
16
+ */
17
+ export declare function FiatCountrySheet({ sheet, selected, onSelect, }: FiatCountrySheetProps): import("react").JSX.Element;
18
+ //# sourceMappingURL=FiatCountrySheet.d.ts.map
@@ -0,0 +1 @@
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,EAAY,KAAK,SAAS,EAAE,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,+TAWA"}
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: the validation error
7
- * while the page is refused, the action once it is clean, a spinner while it
8
- * is being sent.
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
- /** How tall the dock stands, so the column can leave room under itself. */
28
- export declare function advanceDockHeight(hasValidationError: boolean): number;
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;AAQnD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,eAAe,EACf,aAAa,EACb,MAAM,EACN,OAAO,GACR,EAAE;IACD,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAA;IACtB,2EAA2E;IAC3E,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BAoCA;AAED,2EAA2E;AAC3E,wBAAgB,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,CAOrE"}
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":"FiatFormScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AAyB7B,OAAO,EACL,KAAK,cAAc,EAMpB,MAAM,cAAc,CAAA;AA6BrB,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,cAAc,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,qEAAqE;IACrE,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,MAAM,EAAE,UAAU,CAAA;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IAC1D,oEAAoE;IACpE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAA;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BA+CxD;AAED,UAAU,oBAAqB,SAAQ,mBAAmB;IACxD,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCAugBtB"}
1
+ {"version":3,"file":"FiatFormScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AAyB7B,OAAO,EACL,KAAK,cAAc,EAOpB,MAAM,cAAc,CAAA;AA6BrB,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,cAAc,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,qEAAqE;IACrE,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,MAAM,EAAE,UAAU,CAAA;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IAC1D,oEAAoE;IACpE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAA;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BA+CxD;AAED,UAAU,oBAAqB,SAAQ,mBAAmB;IACxD,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCA6jBtB"}
@@ -1,8 +1,15 @@
1
1
  import { type FiatFormFieldRowProps } from './FiatFormFieldRow';
2
2
  import type { NativeDatePicker } from './nativeDatePicker';
3
- export declare function FiatKycFieldControl({ ssnDigits, Picker, isDatePickerLoading, ...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;
12
+ /** The page draws its answers itself, rather than behind a chooser. */
13
+ inlineChoice?: boolean;
7
14
  }): import("react").JSX.Element | null;
8
15
  //# sourceMappingURL=FiatKycFieldControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAIA,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,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;CAC9B,sCAyEA"}
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,+BAsHzB"}
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,7 +1,17 @@
1
+ import { type KycStatusGlyph } from '../icons/KycStatusIcon';
1
2
  export interface FiatKycNoticeProps {
2
3
  title: string;
3
4
  detail: string;
5
+ /**
6
+ * Set once identity has resolved. The banner then reports an outcome —
7
+ * glyph, title and detail on their own lines, and no tail, since it no
8
+ * longer points at a held deposit.
9
+ */
10
+ status?: KycStatusGlyph;
4
11
  }
5
- /** Identity notice from KYC R2, 2087:8432. */
6
- export declare function FiatKycNotice({ title, detail }: FiatKycNoticeProps): import("react").JSX.Element;
12
+ /**
13
+ * Identity notice from KYC R2, 2087:8432; the resolved states are KYC
14
+ * Processing Completion, 2387:11504 and siblings.
15
+ */
16
+ export declare function FiatKycNotice({ title, detail, status }: FiatKycNoticeProps): import("react").JSX.Element;
7
17
  //# sourceMappingURL=FiatKycNotice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,8CAA8C;AAC9C,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAyBlE"}
1
+ {"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAoE1E"}
@@ -0,0 +1,15 @@
1
+ export interface FiatKycOptionRowProps {
2
+ title: string;
3
+ detail: string;
4
+ /** Words on the chip; the design says "Go" for every route so far. */
5
+ action: string;
6
+ /** Where the detail breaks; the frames set it per route. */
7
+ detailWidth?: number;
8
+ onPress: () => void;
9
+ }
10
+ /**
11
+ * One route out of a held deposit, inside the identity options card (Figma
12
+ * KYC R2, 2387:13638).
13
+ */
14
+ export declare function FiatKycOptionRow({ title, detail, action, detailWidth, onPress, }: FiatKycOptionRowProps): import("react").JSX.Element;
15
+ //# sourceMappingURL=FiatKycOptionRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatKycOptionRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionRow.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAA;IACd,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAkC,EAClC,OAAO,GACR,EAAE,qBAAqB,+BA8CvB"}
@@ -0,0 +1,21 @@
1
+ import { type KycStatusGlyph } from '../icons/KycStatusIcon';
2
+ import { type FiatKycOptionRowProps } from './FiatKycOptionRow';
3
+ export interface FiatKycOptionsScreenProps {
4
+ /** The card's own glyph, which need not be the banner's. */
5
+ glyph: KycStatusGlyph;
6
+ title: string;
7
+ /** Heading over the routes, e.g. "Right now you can:". */
8
+ optionsLabel: string;
9
+ options: FiatKycOptionRowProps[];
10
+ onBack: () => void;
11
+ }
12
+ /**
13
+ * What the buyer can still do with a deposit identity is holding (Figma KYC
14
+ * R2, 2387:13322, 2387:13488 and 2387:13602).
15
+ *
16
+ * Distinct from {@link FiatKycOutcomeScreen}, which reports the verdict as
17
+ * soon as the form is submitted. This one is reached later, from the deposit
18
+ * the buyer came back to.
19
+ */
20
+ export declare function FiatKycOptionsScreen({ glyph, title, optionsLabel, options, onBack, }: FiatKycOptionsScreenProps): import("react").JSX.Element;
21
+ //# sourceMappingURL=FiatKycOptionsScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatKycOptionsScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionsScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,MAAM,WAAW,yBAAyB;IACxC,4DAA4D;IAC5D,KAAK,EAAE,cAAc,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,qBAAqB,EAAE,CAAA;IAChC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,KAAK,EACL,YAAY,EACZ,OAAO,EACP,MAAM,GACP,EAAE,yBAAyB,+BAwD3B"}
@@ -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,+BA8D3B"}
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 +1 @@
1
- {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AA2BA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAyBtD;AAED,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,IAAI,GACL,EAAE,mBAAmB,+BAwKrB"}
1
+ {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AA2BA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAyBtD;AAED,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,IAAI,GACL,EAAE,mBAAmB,+BAmKrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatSubmissionIndicator.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSubmissionIndicator.tsx"],"names":[],"mappings":"AAYA,wBAAgB,uBAAuB,gCA8CtC"}
1
+ {"version":3,"file":"FiatSubmissionIndicator.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSubmissionIndicator.tsx"],"names":[],"mappings":"AAQA,wBAAgB,uBAAuB,gCAYtC"}
@@ -1,8 +1,21 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type PillButtonSize } from '../components/PillButton';
3
- export declare function SurfaceSlot({ renderSurface, label, size, }: {
4
- renderSurface: (onReady: () => void) => ReactNode;
2
+ import type { PillButtonSize } from '../components/PillButton';
3
+ export declare function SurfaceSlot({ renderSurface, surfaceKey, label, size, onReadyChange, }: {
4
+ /** Announced while the cover is up; the design draws no copy on it. */
5
5
  label: string;
6
6
  size: PillButtonSize;
7
- }): import("react").JSX.Element;
7
+ /**
8
+ * Whether the provider's button is the one on screen, for chrome outside
9
+ * the slot that has to land with it. A slot on its way out reports ready:
10
+ * what is gone holds nothing back.
11
+ */
12
+ onReadyChange?: (ready: boolean) => void;
13
+ } & ({
14
+ renderSurface: (onReady: () => void) => ReactNode;
15
+ /** Unique per quote or retry so readiness cannot carry into another attempt. */
16
+ surfaceKey: string;
17
+ } | {
18
+ renderSurface?: undefined;
19
+ surfaceKey?: undefined;
20
+ })): import("react").JSX.Element;
8
21
  //# sourceMappingURL=SurfaceSlot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAQ1E,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,KAAK,EACL,IAAI,GACL,EAAE;IACD,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;CACrB,+BAqDA"}
1
+ {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAWd,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAU9D,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,UAAU,EACV,KAAK,EACL,IAAI,EACJ,aAAa,GACd,EAAE;IACD,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACzC,GAAG,CACA;IACE,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAA;CACnB,GACD;IAAE,aAAa,CAAC,EAAE,SAAS,CAAC;IAAC,UAAU,CAAC,EAAE,SAAS,CAAA;CAAE,CACxD,+BA8FA"}
@@ -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.d.ts","sourceRoot":"","sources":["../../../src/fiat/countryListEntries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAEpD,0CAA0C;AAC1C,MAAM,MAAM,SAAS,GACjB;IACE,IAAI,EAAE,QAAQ,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAA;CACjB,GACD;IACE,IAAI,EAAE,KAAK,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,YAAY,CAAA;IAClB,oEAAoE;IACpE,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAEL,6EAA6E;AAC7E,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAA;CACZ;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,SAAS,cAAc,EAAE,EACnC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,YAAY;AACpB,wEAAwE;AACxE,aAAa,EAAE,MAAM,GACpB,SAAS,EAAE,CAgDb;AA+ED;;;;GAIG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,KAAK,EAAE,SAAS,MAAM,EAAE,EACxB,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAUpB;AAED,0DAA0D;AAC1D,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf;AAED,mEAAmE;AACnE,MAAM,WAAW,QAAQ;IACvB;kFAC8E;IAC9E,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,wDAAwD;IACxD,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,SAAS,SAAS,EAAE,EAC7B,OAAO,EAAE,YAAY,GACpB,QAAQ,CAkBV"}