@stridge/kit 0.1.0-alpha.61 → 0.1.0-alpha.63

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 (170) hide show
  1. package/dist/_internal/deposit/driver/index.d.ts +2 -2
  2. package/dist/deposit/compound/index.d.ts +10 -2
  3. package/dist/deposit/compound/index.js +1 -1
  4. package/dist/deposit/widgets/index.d.ts +3 -1
  5. package/dist/deposit/widgets/index.js +1 -1
  6. package/dist/drivers/stridge/createStridgeDepositDriver.js +1 -1
  7. package/dist/drivers/stridge-mock/createStridgeMockDriver.js +1 -1
  8. package/dist/drivers/stridge-mock/fixtures.d.ts +1 -1
  9. package/dist/drivers/stridge-mock/fixtures.js +1 -1
  10. package/dist/flows/deposit/dialog/DepositDialog.js +1 -1
  11. package/dist/flows/deposit/driver/payloads.d.ts +136 -7
  12. package/dist/flows/deposit/driver/types.d.ts +44 -2
  13. package/dist/flows/deposit/orchestrator/controller.js +1 -1
  14. package/dist/flows/deposit/orchestrator/reducer.js +1 -1
  15. package/dist/flows/deposit/orchestrator/types.d.ts +105 -12
  16. package/dist/flows/deposit/shared/onramp.js +1 -1
  17. package/dist/flows/deposit/shared/onrampError.js +1 -0
  18. package/dist/flows/deposit/widgets/deposit/Deposit.js +1 -1
  19. package/dist/flows/deposit/widgets/error-state/ErrorState.js +1 -1
  20. package/dist/flows/deposit/widgets/onramp-amount-entry/OnrampAmountEntry.d.ts +12 -8
  21. package/dist/flows/deposit/widgets/onramp-amount-entry/OnrampAmountEntry.js +1 -1
  22. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.d.ts +4 -0
  23. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.js +1 -1
  24. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.slots.d.ts +7 -0
  25. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.slots.js +1 -1
  26. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.js +1 -1
  27. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/CurrencyChip.d.ts +12 -0
  28. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/CurrencyChip.js +1 -0
  29. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ProviderCard.d.ts +12 -0
  30. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ProviderCard.js +1 -0
  31. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/components/ReceiveChip.js +1 -1
  32. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/context.d.ts +14 -0
  33. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/index.d.ts +1 -0
  34. package/dist/flows/deposit/widgets/onramp-amount-entry/compound/types.d.ts +12 -1
  35. package/dist/flows/deposit/widgets/onramp-confirm/OnrampConfirm.d.ts +2 -0
  36. package/dist/flows/deposit/widgets/onramp-confirm/OnrampConfirm.js +1 -1
  37. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.d.ts +2 -0
  38. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.js +1 -1
  39. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.slots.d.ts +7 -0
  40. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.slots.js +1 -1
  41. package/dist/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.js +1 -1
  42. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Body.js +1 -1
  43. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Disclaimer.d.ts +21 -0
  44. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Disclaimer.js +1 -0
  45. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Summary.d.ts +2 -2
  46. package/dist/flows/deposit/widgets/onramp-confirm/compound/components/Summary.js +1 -1
  47. package/dist/flows/deposit/widgets/onramp-confirm/compound/context.d.ts +28 -7
  48. package/dist/flows/deposit/widgets/onramp-confirm/compound/index.d.ts +1 -1
  49. package/dist/flows/deposit/widgets/onramp-confirm/compound/types.d.ts +7 -2
  50. package/dist/flows/deposit/widgets/onramp-currency-picker/OnrampCurrencyPicker.d.ts +39 -0
  51. package/dist/flows/deposit/widgets/onramp-currency-picker/OnrampCurrencyPicker.js +1 -0
  52. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.d.ts +37 -0
  53. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.js +1 -0
  54. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.slots.d.ts +17 -0
  55. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.slots.js +1 -0
  56. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.js +1 -0
  57. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Body.d.ts +6 -0
  58. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Body.js +1 -0
  59. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/CurrencyRow.d.ts +12 -0
  60. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/CurrencyRow.js +1 -0
  61. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Empty.js +1 -0
  62. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Header.d.ts +10 -0
  63. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Header.js +1 -0
  64. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Search.d.ts +6 -0
  65. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/components/Search.js +1 -0
  66. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/context.js +1 -0
  67. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/index.d.ts +3 -0
  68. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/index.js +1 -0
  69. package/dist/flows/deposit/widgets/onramp-currency-picker/compound/types.d.ts +48 -0
  70. package/dist/flows/deposit/widgets/onramp-currency-picker/index.d.ts +1 -0
  71. package/dist/flows/deposit/widgets/onramp-currency-picker/index.js +1 -0
  72. package/dist/flows/deposit/widgets/onramp-payment-pending/OnrampPaymentPending.d.ts +2 -0
  73. package/dist/flows/deposit/widgets/onramp-payment-pending/OnrampPaymentPending.js +1 -1
  74. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.d.ts +6 -1
  75. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.js +1 -1
  76. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.slots.d.ts +3 -0
  77. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/OnrampPaymentPending.slots.js +1 -1
  78. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/Flow.d.ts +13 -0
  79. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/Flow.js +1 -0
  80. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/components/Flow.styles.js +1 -0
  81. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/context.d.ts +32 -0
  82. package/dist/flows/deposit/widgets/onramp-payment-pending/compound/index.d.ts +1 -0
  83. package/dist/flows/deposit/widgets/onramp-provider-picker/OnrampProviderPicker.d.ts +38 -0
  84. package/dist/flows/deposit/widgets/onramp-provider-picker/OnrampProviderPicker.js +1 -0
  85. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.d.ts +35 -0
  86. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.js +1 -0
  87. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.slots.d.ts +19 -0
  88. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.slots.js +1 -0
  89. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/OnrampProviderPicker.styles.js +1 -0
  90. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Body.d.ts +6 -0
  91. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Body.js +1 -0
  92. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Header.d.ts +10 -0
  93. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/Header.js +1 -0
  94. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/ProviderRow.d.ts +15 -0
  95. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/components/ProviderRow.js +1 -0
  96. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/context.js +1 -0
  97. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/index.d.ts +3 -0
  98. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/index.js +1 -0
  99. package/dist/flows/deposit/widgets/onramp-provider-picker/compound/types.d.ts +50 -0
  100. package/dist/flows/deposit/widgets/onramp-provider-picker/index.d.ts +1 -0
  101. package/dist/flows/deposit/widgets/onramp-provider-picker/index.js +1 -0
  102. package/dist/flows/deposit/widgets/success-state/SuccessState.js +1 -1
  103. package/dist/flows/withdraw/widgets/withdraw-form/compound/components/RecipientField.js +1 -1
  104. package/dist/format/index.d.ts +2 -1
  105. package/dist/format/index.js +1 -1
  106. package/dist/i18n/locales/ar.js +1 -1
  107. package/dist/i18n/locales/es.js +1 -1
  108. package/dist/i18n/locales/source-keys.d.ts +1 -1
  109. package/dist/icons/index.d.ts +4 -1
  110. package/dist/icons/index.js +1 -1
  111. package/dist/package.js +1 -1
  112. package/dist/shared/attribution/Attribution.js +1 -1
  113. package/dist/shared/attribution/Attribution.styles.js +1 -1
  114. package/dist/shared/dialog/Frame.js +1 -1
  115. package/dist/shared/format/formatFiat.d.ts +31 -0
  116. package/dist/shared/format/formatFiat.js +1 -0
  117. package/dist/shared/icons/BellIcon.d.ts +7 -0
  118. package/dist/shared/icons/BellIcon.js +1 -0
  119. package/dist/shared/icons/DirhamSignIcon.d.ts +16 -0
  120. package/dist/shared/icons/DirhamSignIcon.js +1 -0
  121. package/dist/shared/icons/SearchIcon.d.ts +7 -0
  122. package/dist/shared/icons/SearchIcon.js +1 -0
  123. package/dist/shared/ui/AmountInput/useAutoShrinkFontSize.js +1 -1
  124. package/dist/shared/ui/Checkbox/Checkbox.d.ts +47 -0
  125. package/dist/shared/ui/Checkbox/Checkbox.js +1 -0
  126. package/dist/shared/ui/Checkbox/Checkbox.slots.d.ts +12 -0
  127. package/dist/shared/ui/Checkbox/Checkbox.slots.js +1 -0
  128. package/dist/shared/ui/Checkbox/Checkbox.styles.js +1 -0
  129. package/dist/shared/ui/Checkbox/index.d.ts +2 -0
  130. package/dist/shared/ui/Checkbox/index.js +1 -0
  131. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.d.ts +36 -0
  132. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.js +1 -0
  133. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.slots.d.ts +12 -0
  134. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.slots.js +1 -0
  135. package/dist/shared/ui/CurrencyGlyph/CurrencyGlyph.styles.js +1 -0
  136. package/dist/shared/ui/CurrencyGlyph/flags.js +1 -0
  137. package/dist/shared/ui/CurrencyGlyph/index.d.ts +2 -0
  138. package/dist/shared/ui/CurrencyGlyph/index.js +1 -0
  139. package/dist/shared/ui/DisclosureRow/DisclosureRow.d.ts +56 -0
  140. package/dist/shared/ui/DisclosureRow/DisclosureRow.js +1 -0
  141. package/dist/shared/ui/DisclosureRow/DisclosureRow.slots.d.ts +8 -0
  142. package/dist/shared/ui/DisclosureRow/DisclosureRow.slots.js +1 -0
  143. package/dist/shared/ui/DisclosureRow/DisclosureRow.styles.js +1 -0
  144. package/dist/shared/ui/DisclosureRow/index.d.ts +2 -0
  145. package/dist/shared/ui/DisclosureRow/index.js +1 -0
  146. package/dist/shared/ui/FiatSymbol/FiatAmount.d.ts +32 -0
  147. package/dist/shared/ui/FiatSymbol/FiatAmount.js +1 -0
  148. package/dist/shared/ui/FiatSymbol/FiatSymbol.d.ts +30 -0
  149. package/dist/shared/ui/FiatSymbol/FiatSymbol.js +1 -0
  150. package/dist/shared/ui/FiatSymbol/index.d.ts +2 -0
  151. package/dist/shared/ui/FiatSymbol/index.js +1 -0
  152. package/dist/shared/utils/logos/resolveLogoSrc.js +1 -1
  153. package/dist/shared/widgets/amount-entry/compound/AmountEntry.js +1 -1
  154. package/dist/shared/widgets/amount-entry/compound/AmountEntry.styles.js +1 -1
  155. package/dist/shared/widgets/amount-entry/compound/components/Hero/Hero.d.ts +2 -1
  156. package/dist/shared/widgets/amount-entry/compound/components/Hero/Hero.js +1 -1
  157. package/dist/shared/widgets/amount-entry/compound/components/Hero/StaticBand.js +1 -1
  158. package/dist/shared/widgets/amount-entry/compound/types.d.ts +10 -0
  159. package/dist/shared/widgets/confirm-transfer/compound/components/Breakdown.js +1 -1
  160. package/dist/shared/widgets/error-state/compound/ErrorState.styles.js +1 -1
  161. package/dist/shared/widgets/error-state/compound/components/MoreDetails.d.ts +3 -3
  162. package/dist/shared/widgets/error-state/compound/components/MoreDetails.js +1 -1
  163. package/dist/shared/widgets/success-state/compound/SuccessState.styles.js +1 -1
  164. package/dist/shared/widgets/success-state/compound/components/MoreDetails.d.ts +2 -3
  165. package/dist/shared/widgets/success-state/compound/components/MoreDetails.js +1 -1
  166. package/dist/styles/index.css +118 -0
  167. package/dist/ui/index.d.ts +9 -1
  168. package/dist/ui/index.js +1 -1
  169. package/dist/version.js +1 -1
  170. package/package.json +2 -2
@@ -1 +1 @@
1
- const e={heroLabelWrap:{"OnrampAmountEntry__styles.heroLabelWrap":`OnrampAmountEntry__styles.heroLabelWrap`,"display-k1xSpc":`x78zum5`,"justifyContent-kjj79g":`xl56j7k`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingInlineStart-kZCmMZ":`xz7312c`,"paddingTop-kLKAdn":`xyamay9`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:12`},heroLabel:{"OnrampAmountEntry__styles.heroLabel":`OnrampAmountEntry__styles.heroLabel`,"margin-kogj98":`x1ghz6dp`,"letterSpacing-kb6lSQ":`x1labic3`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:19`},receiveLine:{"OnrampAmountEntry__styles.receiveLine":`OnrampAmountEntry__styles.receiveLine`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:25`},receiveLabel:{"OnrampAmountEntry__styles.receiveLabel":`OnrampAmountEntry__styles.receiveLabel`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:30`},receiveChip:{"OnrampAmountEntry__styles.receiveChip":`OnrampAmountEntry__styles.receiveChip`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x17d4w8g`,"paddingBlock-k8WAf4":`x12ulsxz`,"paddingInlineStart-kZCmMZ":`x25sj25`,"paddingInlineEnd-kwRFfy":`x2vl965`,"borderRadius-kaIpWk":`x1npxkrn`,"backgroundColor-kWkggS":`xvaq5cg`,"borderColor-kVAM5u":`x12c9lpl`,"borderStyle-ksu8eU":`x1y0btm7`,"borderWidth-kMzoRj":`xmkeg23`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:33`},receiveChipAmount:{"OnrampAmountEntry__styles.receiveChipAmount":`OnrampAmountEntry__styles.receiveChipAmount`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:46`}};export{e as styles};
1
+ const e={heroLabelWrap:{"OnrampAmountEntry__styles.heroLabelWrap":`OnrampAmountEntry__styles.heroLabelWrap`,"display-k1xSpc":`x78zum5`,"justifyContent-kjj79g":`xl56j7k`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingInlineStart-kZCmMZ":`xz7312c`,"paddingTop-kLKAdn":`x109j2v6`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:12`},heroLabel:{"OnrampAmountEntry__styles.heroLabel":`OnrampAmountEntry__styles.heroLabel`,"margin-kogj98":`x1ghz6dp`,"letterSpacing-kb6lSQ":`x1labic3`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:19`},receiveLine:{"OnrampAmountEntry__styles.receiveLine":`OnrampAmountEntry__styles.receiveLine`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:25`},receiveLabel:{"OnrampAmountEntry__styles.receiveLabel":`OnrampAmountEntry__styles.receiveLabel`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:30`},receiveChip:{"OnrampAmountEntry__styles.receiveChip":`OnrampAmountEntry__styles.receiveChip`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x17d4w8g`,"paddingBlock-k8WAf4":`x12ulsxz`,"paddingInlineStart-kZCmMZ":`x25sj25`,"paddingInlineEnd-kwRFfy":`x2vl965`,"borderRadius-kaIpWk":`x1npxkrn`,"backgroundColor-kWkggS":`xvaq5cg`,"borderColor-kVAM5u":`x12c9lpl`,"borderStyle-ksu8eU":`x1y0btm7`,"borderWidth-kMzoRj":`xmkeg23`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:33`},receiveChipAmount:{"OnrampAmountEntry__styles.receiveChipAmount":`OnrampAmountEntry__styles.receiveChipAmount`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:46`},currencyChipWrap:{"OnrampAmountEntry__styles.currencyChipWrap":`OnrampAmountEntry__styles.currencyChipWrap`,"display-k1xSpc":`x78zum5`,"justifyContent-kjj79g":`xl56j7k`,"paddingTop-kLKAdn":`xyamay9`,"paddingInlineEnd-kwRFfy":`x1o5r3ls`,"paddingInlineStart-kZCmMZ":`xz7312c`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:50`},currencyChip:{"OnrampAmountEntry__styles.currencyChip":`OnrampAmountEntry__styles.currencyChip`,"display-k1xSpc":`x3nfvp2`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x167g77z`,"paddingBlock-k8WAf4":`xifx94n`,"paddingInlineStart-kZCmMZ":`xaso8d8`,"paddingInlineEnd-kwRFfy":`xpdmqnj`,"margin-kogj98":`x1ghz6dp`,"borderRadius-kaIpWk":`x1npxkrn`,"borderWidth-kMzoRj":`xmkeg23`,"borderStyle-ksu8eU":`x1y0btm7`,"borderColor-kVAM5u":`x12c9lpl`,"backgroundColor-kWkggS":`xvaq5cg xiy4fg7`,"color-kMwMTN":`xzn0pkc`,"cursor-kkrTdU":`x1ypdohk`,"appearance-kysU6D":`xjyslct`,"transitionProperty-k1ekBW":`xts7igz`,"transitionDuration-kIyJzY":`xx6bhzk`,"transitionTimingFunction-kAMwcw":`x9lcvmn`,"outline-kI3sdo":`x1a2a7pz`,"boxShadow-kGVxlE":`x159teg`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:57`},currencyChipCode:{"OnrampAmountEntry__styles.currencyChipCode":`OnrampAmountEntry__styles.currencyChipCode`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:85`},currencyChipChevron:{"OnrampAmountEntry__styles.currencyChipChevron":`OnrampAmountEntry__styles.currencyChipChevron`,"width-kzqmXN":`x1a00udw`,"height-kZKoxP":`xx3o462`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`xi96bwj`,"strokeWidth-kfJifR":`x68fu6m`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:88`},providerCardWrap:{"OnrampAmountEntry__styles.providerCardWrap":`OnrampAmountEntry__styles.providerCardWrap`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`x1a6yh9e`,"paddingTop-kLKAdn":`x1cnzs8`,"paddingInlineEnd-kwRFfy":`x1x5flf6`,"paddingInlineStart-kZCmMZ":`xwn43p0`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:96`},providerCardLabel:{"OnrampAmountEntry__styles.providerCardLabel":`OnrampAmountEntry__styles.providerCardLabel`,"paddingInlineStart-kZCmMZ":`xyiysdx`,"textAlign-k9WMMc":`x1yc453h`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:104`},providerRow:{"OnrampAmountEntry__styles.providerRow":`OnrampAmountEntry__styles.providerRow`,"gap-kOIVth":`x1v2ro7d`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:108`},providerText:{"OnrampAmountEntry__styles.providerText":`OnrampAmountEntry__styles.providerText`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"flexBasis-kCS8Yb":`x1r8uery`,"flexGrow-kzQI83":`x1iyjqo2`,"flexShrink-kmuXW":`xs83m0k`,"minWidth-k7Eaqz":`xeuugli`,"gap-kOIVth":`x195vfkc`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:111`},providerChevron:{"OnrampAmountEntry__styles.providerChevron":`OnrampAmountEntry__styles.providerChevron`,"width-kzqmXN":`x1kky2od`,"height-kZKoxP":`xlup9mm`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`xi96bwj`,"strokeWidth-kfJifR":`x68fu6m`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:120`},providerDelivery:{"OnrampAmountEntry__styles.providerDelivery":`OnrampAmountEntry__styles.providerDelivery`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x17d4w8g`,"paddingInlineStart-kZCmMZ":`xyiysdx`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:127`},providerDeliveryIcon:{"OnrampAmountEntry__styles.providerDeliveryIcon":`OnrampAmountEntry__styles.providerDeliveryIcon`,"width-kzqmXN":`x1fxhmyf`,"height-kZKoxP":`x18gnavp`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`xi96bwj`,"strokeWidth-kfJifR":`x68fu6m`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-amount-entry/compound/OnrampAmountEntry.styles.ts:133`}};export{e as styles};
@@ -0,0 +1,12 @@
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/flows/deposit/widgets/onramp-amount-entry/compound/components/CurrencyChip.d.ts
4
+ /**
5
+ * Currency chip at the top of the amount-entry Body — a compact, self-sizing pill button rendering
6
+ * the selected currency's {@link CurrencyGlyph} (flag) + code + a chevron. Tapping it opens the
7
+ * currency picker. Renders nothing until the orchestrated wrapper has wired a currency + an open
8
+ * handler.
9
+ */
10
+ declare function OnrampAmountEntryCurrencyChip(): _$react_jsx_runtime0.JSX.Element | null;
11
+ //#endregion
12
+ export { OnrampAmountEntryCurrencyChip };
@@ -0,0 +1 @@
1
+ "use client";import{useLingui as e}from"../../../../../../shared/i18n/useLingui.js";import"../../../../../../i18n/index.js";import{ChevronDownIcon as t}from"../../../../../../shared/icons/ChevronDownIcon.js";import"../../../../../../icons/index.js";import{CurrencyGlyph as n}from"../../../../../../shared/ui/CurrencyGlyph/CurrencyGlyph.js";import"../../../../../../shared/ui/CurrencyGlyph/index.js";import{text as r}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampAmountEntryContext as i}from"../context.js";import{ONRAMP_AMOUNT_ENTRY_SLOTS as a}from"../OnrampAmountEntry.slots.js";import{styles as o}from"../OnrampAmountEntry.styles.js";import{jsx as s,jsxs as c}from"react/jsx-runtime";import*as l from"@stylexjs/stylex";function u(){let u=i(`OnrampAmountEntry.CurrencyChip`),{_:d}=e();if(!u.onOpenCurrencyPicker||!u.currencyCode)return null;let f=u.currencyCode;return s(`div`,{...l.props(o.currencyChipWrap),children:c(`button`,{type:`button`,onClick:u.onOpenCurrencyPicker,"aria-label":d({id:`LS3na9`,message:`Change currency, currently {code}`,values:{code:f}}),"data-stridge-slot":a.currencyChip,...l.props(o.currencyChip),children:[s(n,{code:f,...u.currencyGlyphSymbol?{symbol:u.currencyGlyphSymbol}:{},size:22}),s(r.span,{size:`callout`,fontWeight:`semibold`,leading:`tight`,tracking:`tight`,...l.props(o.currencyChipCode),children:f}),s(t,{"aria-hidden":!0,...l.props(o.currencyChipChevron)})]})})}export{u as OnrampAmountEntryCurrencyChip};
@@ -0,0 +1,12 @@
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/flows/deposit/widgets/onramp-amount-entry/compound/components/ProviderCard.d.ts
4
+ /**
5
+ * Provider card on the amount-entry screen — a "Provider" section label, a navigable card row with
6
+ * the active provider's logo / neutral name / "Auto-picked for you" sub-line, and an estimated
7
+ * delivery-time line. Tapping the row opens the provider picker. Renders nothing when no provider is
8
+ * wired (crypto-only / capability-less drivers unaffected).
9
+ */
10
+ declare function OnrampAmountEntryProviderCard(): _$react_jsx_runtime0.JSX.Element | null;
11
+ //#endregion
12
+ export { OnrampAmountEntryProviderCard };
@@ -0,0 +1 @@
1
+ "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import{useLingui as t}from"../../../../../../shared/i18n/useLingui.js";import"../../../../../../i18n/index.js";import{ChevronRightIcon as n}from"../../../../../../shared/icons/ChevronRightIcon.js";import{ClockIcon as r}from"../../../../../../shared/icons/ClockIcon.js";import"../../../../../../icons/index.js";import{Image as i}from"../../../../../../shared/ui/Image/Image.js";import"../../../../../../shared/ui/Image/index.js";import{SelectableTile as a}from"../../../../../../shared/ui/SelectableTile/SelectableTile.js";import"../../../../../../shared/ui/SelectableTile/index.js";import{text as o}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampAmountEntryContext as s}from"../context.js";import{ONRAMP_AMOUNT_ENTRY_SLOTS as c}from"../OnrampAmountEntry.slots.js";import{styles as l}from"../OnrampAmountEntry.styles.js";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";function p(){let p=s(`OnrampAmountEntry.ProviderCard`),{_:m}=t(),h=p.provider;if(!h)return null;let g=typeof p.onOpenProviderPicker==`function`;return d(`div`,{"data-stridge-slot":c.providerCard,...f.props(l.providerCardWrap),children:[u(o.span,{size:`meta`,fontWeight:`medium`,leading:`tight`,color:`subdued`,transform:`uppercase`,"data-stridge-slot":c.providerCardLabel,...f.props(l.providerCardLabel),children:m({id:`aemBRq`,message:`Provider`})}),d(a,{shape:`card`,interactive:g?`navigation`:!1,...g?{onClick:p.onOpenProviderPicker,"aria-label":m({id:`a_Zu3Q`,message:`Change provider, currently {0}`,values:{0:h.name}})}:{},"data-stridge-slot":c.providerCardRow,...f.props(l.providerRow),children:[u(i,{...h.logoUrl?{src:h.logoUrl}:{},alt:h.name,size:36,shape:`rounded`}),d(`span`,{...f.props(l.providerText),children:[u(o.span,{size:`callout`,fontWeight:`semibold`,leading:`tight`,tracking:`tight`,truncate:!0,"data-stridge-slot":c.providerCardName,children:h.name}),u(o.span,{size:`xs`,fontWeight:`medium`,leading:`tight`,color:`subdued`,truncate:!0,"data-stridge-slot":c.providerCardNote,children:h.note??m({id:`iKuXva`,message:`Auto-picked for you`})})]}),g?u(n,{"aria-hidden":!0,...f.props(l.providerChevron)}):null]}),h.deliveryTime?d(`div`,{"data-stridge-slot":c.providerCardDelivery,...f.props(l.providerDelivery),children:[u(r,{"aria-hidden":!0,...f.props(l.providerDeliveryIcon)}),u(o.span,{size:`xs`,fontWeight:`medium`,leading:`tight`,color:`subdued`,children:u(e,{id:`xu_4Dj`,message:`Estimated delivery time: {0}`,values:{0:h.deliveryTime}})})]}):null]})}export{p as OnrampAmountEntryProviderCard};
@@ -1 +1 @@
1
- "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import"../../../../../../i18n/index.js";import{Skeleton as t}from"../../../../../../shared/ui/Skeleton/Skeleton.js";import"../../../../../../shared/ui/Skeleton/index.js";import{text as n}from"../../../../../../shared/ui/Text/Text.js";import{TokenLogo as r}from"../../../../../../shared/ui/TokenLogo/TokenLogo.js";import"../../../../../../shared/ui/TokenLogo/index.js";import"../../../../../../ui/index.js";import{ONRAMP_AMOUNT_ENTRY_SLOTS as i}from"../OnrampAmountEntry.slots.js";import{styles as a}from"../OnrampAmountEntry.styles.js";import{useOnrampAmountEntryContext as o}from"../context.js";import{jsx as s,jsxs as c}from"react/jsx-runtime";import*as l from"@stylexjs/stylex";function u(){let{formattedReceive:u,receiveToken:d,loading:f}=o(`OnrampAmountEntry.ReceiveChip`);return c(`span`,{...l.props(a.receiveLine),children:[s(n.span,{size:`sm`,leading:`tight`,color:`subdued`,...l.props(a.receiveLabel),children:s(e,{id:`lDgVWA`,message:`Receive`})}),c(`span`,{"data-stridge-slot":i.receiveChip,...l.props(a.receiveChip),children:[s(r,{size:18,symbol:d.symbol,...d.chainId===void 0?{}:{chainId:d.chainId},...d.address===void 0?{}:{address:d.address},...d.isNative===void 0?{}:{isNative:d.isNative},...d.logoUrl===void 0?{}:{logoUrl:d.logoUrl},hideChainBadge:!0}),f?s(t,{width:64,height:14}):c(n.span,{size:`sm`,fontWeight:`medium`,leading:`tight`,...l.props(a.receiveChipAmount),children:[u,` `,d.symbol]})]})]})}export{u as OnrampAmountEntryReceiveChip};
1
+ "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import"../../../../../../i18n/index.js";import{Skeleton as t}from"../../../../../../shared/ui/Skeleton/Skeleton.js";import"../../../../../../shared/ui/Skeleton/index.js";import{text as n}from"../../../../../../shared/ui/Text/Text.js";import{TokenLogo as r}from"../../../../../../shared/ui/TokenLogo/TokenLogo.js";import"../../../../../../shared/ui/TokenLogo/index.js";import"../../../../../../ui/index.js";import{useOnrampAmountEntryContext as i}from"../context.js";import{ONRAMP_AMOUNT_ENTRY_SLOTS as a}from"../OnrampAmountEntry.slots.js";import{styles as o}from"../OnrampAmountEntry.styles.js";import{jsx as s,jsxs as c}from"react/jsx-runtime";import*as l from"@stylexjs/stylex";function u(){let{formattedReceive:u,receiveToken:d,loading:f}=i(`OnrampAmountEntry.ReceiveChip`);return c(`span`,{...l.props(o.receiveLine),children:[s(n.span,{size:`sm`,leading:`tight`,color:`subdued`,...l.props(o.receiveLabel),children:s(e,{id:`lDgVWA`,message:`Receive`})}),c(`span`,{"data-stridge-slot":a.receiveChip,...l.props(o.receiveChip),children:[s(r,{size:18,symbol:d.symbol,...d.chainId===void 0?{}:{chainId:d.chainId},...d.address===void 0?{}:{address:d.address},...d.isNative===void 0?{}:{isNative:d.isNative},...d.logoUrl===void 0?{}:{logoUrl:d.logoUrl},hideChainBadge:!0}),f?s(t,{width:64,height:14}):c(n.span,{size:`sm`,fontWeight:`medium`,leading:`tight`,...l.props(o.receiveChipAmount),children:[u,` `,d.symbol]})]})]})}export{u as OnrampAmountEntryReceiveChip};
@@ -0,0 +1,14 @@
1
+ //#region src/flows/deposit/widgets/onramp-amount-entry/compound/context.d.ts
2
+ /** Active-provider summary rendered by the amount-entry ProviderCard. */
3
+ interface OnrampAmountEntryProviderInfo {
4
+ /** Neutral, driver-supplied provider name. */
5
+ name: string;
6
+ /** Optional driver-supplied logo URL — rendered through `Image`; else a neutral monogram. */
7
+ logoUrl?: string;
8
+ /** Optional sub-line; the card falls back to "Auto-picked for you". */
9
+ note?: string;
10
+ /** Pre-formatted estimated delivery time (from `onrampMethods.processingTime.formatted`). */
11
+ deliveryTime?: string;
12
+ }
13
+ //#endregion
14
+ export { OnrampAmountEntryProviderInfo };
@@ -1,3 +1,4 @@
1
+ import { OnrampAmountEntryProviderInfo } from "./context.js";
1
2
  import { OnrampAmountEntryDialogProps, OnrampAmountEntryHeroLabelProps, OnrampAmountEntryProps } from "./types.js";
2
3
  import { OnrampAmountEntry } from "./OnrampAmountEntry.js";
3
4
  import { ONRAMP_AMOUNT_ENTRY_SLOTS, OnrampAmountEntrySlot } from "./OnrampAmountEntry.slots.js";
@@ -1,12 +1,13 @@
1
1
  import { DialogShellControls } from "../../../../../shared/dialog/DialogShell.js";
2
2
  import { AmountEntryProps, AmountEntryToken } from "../../../../../shared/widgets/amount-entry/compound/types.js";
3
+ import { OnrampAmountEntryProviderInfo } from "./context.js";
3
4
  import { ReactNode } from "react";
4
5
 
5
6
  //#region src/flows/deposit/widgets/onramp-amount-entry/compound/types.d.ts
6
7
  /**
7
8
  * Public props accepted by the {@link OnrampAmountEntry} compound root. Extends the underlying
8
9
  * {@link AmountEntryProps} shape with onramp-flow-specific fields the orchestrated wrapper populates
9
- * from the driver's `onrampQuote` entity.
10
+ * from the driver's `onrampQuote` / `onrampCurrencies` / `onrampProviders` entities.
10
11
  */
11
12
  interface OnrampAmountEntryProps extends AmountEntryProps {
12
13
  /** Pre-formatted receive amount (e.g. `"24.21"`). Rendered inside the ReceiveChip. */
@@ -15,6 +16,16 @@ interface OnrampAmountEntryProps extends AmountEntryProps {
15
16
  onrampReceiveToken: AmountEntryToken;
16
17
  /** When `true`, the ReceiveChip renders a shimmer placeholder while the quote resolves. */
17
18
  quoteLoading?: boolean;
19
+ /** Selected fiat currency code (e.g. `"USD"`) — drives the CurrencyChip. */
20
+ currencyCode?: string;
21
+ /** Narrow symbol for {@link currencyCode} — drives the CurrencyChip glyph. */
22
+ currencyGlyphSymbol?: string;
23
+ /** Opens the currency picker. When absent, the CurrencyChip renders nothing. */
24
+ onOpenCurrencyPicker?: () => void;
25
+ /** Active provider for the ProviderCard. When absent, the ProviderCard renders nothing. */
26
+ provider?: OnrampAmountEntryProviderInfo;
27
+ /** Opens the provider picker. */
28
+ onOpenProviderPicker?: () => void;
18
29
  }
19
30
  /** Props for {@link OnrampAmountEntry.HeroLabel}. */
20
31
  interface OnrampAmountEntryHeroLabelProps {
@@ -1,5 +1,6 @@
1
1
  import { DialogShellControls } from "../../../../shared/dialog/DialogShell.js";
2
2
  import { OnrampConfirmBody } from "./compound/components/Body.js";
3
+ import { OnrampConfirmDisclaimer } from "./compound/components/Disclaimer.js";
3
4
  import { OnrampConfirmHeader } from "./compound/components/Header.js";
4
5
  import { OnrampConfirmSummary } from "./compound/components/Summary.js";
5
6
  import { ComponentProps, ReactNode } from "react";
@@ -45,6 +46,7 @@ declare namespace OnrampConfirm {
45
46
  const Header: typeof OnrampConfirmHeader;
46
47
  const Body: typeof OnrampConfirmBody;
47
48
  const Summary: typeof OnrampConfirmSummary;
49
+ const Disclaimer: typeof OnrampConfirmDisclaimer;
48
50
  }
49
51
  //#endregion
50
52
  export { OnrampConfirm };
@@ -1 +1 @@
1
- "use client";import{useKitI18n as e}from"../../../../shared/i18n/useKitI18n.js";import{useLingui as t}from"../../../../shared/i18n/useLingui.js";import"../../../../i18n/index.js";import{useDepositSnapshot as n}from"../../driver/context.js";import{useDepositActions as r,useDepositEffectiveState as i}from"../../orchestrator/controller.js";import{formatUsd as a}from"../../../../shared/format/formatUsd.js";import{DialogShell as o}from"../../../../shared/dialog/DialogShell.js";import{OnrampConfirm as s}from"./compound/OnrampConfirm.js";import"./compound/index.js";import{useMemo as c}from"react";import{jsx as l}from"react/jsx-runtime";const u={id:`kf83Ld`,message:`Something went wrong.`};function d({children:o,...d}){let f=n(),p=i(),{back:m,confirmOnramp:h}=r(),g=e(),{i18n:_}=t(),v=f.onrampQuote,y=v?.status===`ready`||v?.status===`stale`?v.payload:void 0,b=p.name===`onrampConfirm`?p.ctx.amount:0,x=c(()=>{if(y)return{totalUsd:a(b,g,{showSmallValueClamp:!1}),receive:y.receiveAmount.formatted,receiveSymbol:y.receiveAsset.symbol,amountUsd:y.amountUsd.formatted,rate:y.rate.formatted,...y.processingFeeUsd?{processingFee:y.processingFeeUsd.formatted}:{},...y.networkFeeUsd?{networkFee:y.networkFeeUsd.formatted}:{}}},[y,b,g]);if(p.name!==`onrampConfirm`)return null;let{phase:S}=p.ctx,C=f.brand.status===`ready`||f.brand.status===`stale`?f.brand.payload:void 0,w=S.kind===`failed`?S.failure.reason??_._(u):void 0;return l(s,{...d,phase:S,amount:b,...x?{summary:x}:{},...C?.name?{brandName:C.name}:{},...w?{failureReason:w}:{},onBack:m,onConfirm:h,children:o})}function f({open:e,defaultOpen:t,onOpenChange:n,trigger:r,...i}){return l(o,{open:e,defaultOpen:t,onOpenChange:n,trigger:r,children:l(d,{...i})})}(function(e){e.Dialog=f,e.Header=s.Header,e.Body=s.Body,e.Summary=s.Summary})(d||={});export{d as OnrampConfirm};
1
+ "use client";import{useKitI18n as e}from"../../../../shared/i18n/useKitI18n.js";import{useLingui as t}from"../../../../shared/i18n/useLingui.js";import"../../../../i18n/index.js";import{useDepositSnapshot as n}from"../../driver/context.js";import{useDepositActions as r,useDepositEffectiveState as i}from"../../orchestrator/controller.js";import{DialogShell as a}from"../../../../shared/dialog/DialogShell.js";import{FiatAmount as o}from"../../../../shared/ui/FiatSymbol/FiatAmount.js";import"../../../../shared/ui/FiatSymbol/index.js";import{OnrampConfirm as s}from"./compound/OnrampConfirm.js";import"./compound/index.js";import{resolveOnrampErrorMessage as c}from"../../shared/onrampError.js";import{useMemo as l}from"react";import{jsx as u}from"react/jsx-runtime";function d({children:a,...d}){let f=n(),p=i(),{back:m,confirmOnramp:h}=r(),g=e(),{i18n:_}=t(),v=f.onrampQuote,y=v?.status===`ready`||v?.status===`stale`?v.payload:void 0,b=p.name===`onrampConfirm`?p.ctx.amount:0,x=l(()=>{if(!y)return;let e=y.fiatCurrency;return{totalUsd:u(o,{value:b,currency:e,locale:g.locale}),receive:y.receiveAmount.formatted,receiveSymbol:y.receiveAsset.symbol,amountUsd:u(o,{value:y.amountFiat.value,currency:e,locale:g.locale}),rate:y.rate.formatted,...y.processingFeeUsd?{processingFee:u(o,{value:y.processingFeeUsd.value,currency:e,locale:g.locale})}:{},...y.networkFeeUsd?{networkFee:u(o,{value:y.networkFeeUsd.value,currency:e,locale:g.locale})}:{}}},[y,b,g]),S=f.onrampProviders,C=S?.status===`ready`||S?.status===`stale`?S.payload.providers.find(e=>e.id===S.payload.activeId):void 0,w=f.onrampMethods,T=w?.status===`ready`||w?.status===`stale`?w.payload.processingTime?.formatted:void 0,E=l(()=>{let e=C?.disclaimer;if(e)return{providerName:e.providerName,links:e.links,...C?.logoUrl===void 0?{}:{logoUrl:C.logoUrl},...e.bodyOverride===void 0?{}:{bodyOverride:e.bodyOverride},...T===void 0?{}:{deliveryTime:T}}},[C,T]);if(p.name!==`onrampConfirm`)return null;let{phase:D}=p.ctx,O=f.brand.status===`ready`||f.brand.status===`stale`?f.brand.payload:void 0,k=D.kind===`failed`?c(D.failure.cause??D.failure.reason,_):void 0;return u(s,{...d,phase:D,amount:b,...x?{summary:x}:{},...O?.name?{brandName:O.name}:{},...k?{failureReason:k}:{},...E?{disclaimer:E}:{},onBack:m,onConfirm:h,children:a})}function f({open:e,defaultOpen:t,onOpenChange:n,trigger:r,...i}){return u(a,{open:e,defaultOpen:t,onOpenChange:n,trigger:r,children:u(d,{...i})})}(function(e){e.Dialog=f,e.Header=s.Header,e.Body=s.Body,e.Summary=s.Summary,e.Disclaimer=s.Disclaimer})(d||={});export{d as OnrampConfirm};
@@ -1,5 +1,6 @@
1
1
  import { OnrampConfirmBodyProps, OnrampConfirmDialogProps, OnrampConfirmHeaderProps, OnrampConfirmProps, OnrampConfirmSummaryProps } from "./types.js";
2
2
  import { OnrampConfirmBody } from "./components/Body.js";
3
+ import { OnrampConfirmDisclaimer } from "./components/Disclaimer.js";
3
4
  import { OnrampConfirmHeader } from "./components/Header.js";
4
5
  import { OnrampConfirmSummary } from "./components/Summary.js";
5
6
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
@@ -36,6 +37,7 @@ declare namespace OnrampConfirm {
36
37
  const Header: typeof OnrampConfirmHeader;
37
38
  const Body: typeof OnrampConfirmBody;
38
39
  const Summary: typeof OnrampConfirmSummary;
40
+ const Disclaimer: typeof OnrampConfirmDisclaimer;
39
41
  const Dialog: typeof OnrampConfirmDialog;
40
42
  }
41
43
  //#endregion
@@ -1 +1 @@
1
- "use client";import{DialogShell as e}from"../../../../../shared/dialog/DialogShell.js";import{Tooltip as t}from"../../../../../shared/ui/Tooltip/Tooltip.js";import"../../../../../shared/ui/Tooltip/index.js";import{Frame as n}from"../../../../../shared/dialog/Frame.js";import{OnrampConfirmContext as r}from"./context.js";import{ONRAMP_CONFIRM_SLOTS as i}from"./OnrampConfirm.slots.js";import{styles as a}from"./OnrampConfirm.styles.js";import{OnrampConfirmSummary as o}from"./components/Summary.js";import{OnrampConfirmBody as s}from"./components/Body.js";import{OnrampConfirmHeader as c}from"./components/Header.js";import{useMemo as l}from"react";import{Fragment as u,jsx as d,jsxs as f}from"react/jsx-runtime";import*as p from"@stylexjs/stylex";function m(e){let{phase:o,amount:s,summary:c,brandName:u,failureReason:f,onBack:m,onConfirm:g,children:_,...v}=e;return d(r,{value:l(()=>({phase:o,amount:s,...c===void 0?{}:{summary:c},...u===void 0?{}:{brandName:u},...f===void 0?{}:{failureReason:f},...m?{onBack:m}:{},...g?{onConfirm:g}:{}}),[o,s,c,u,f,m,g]),children:d(t.Provider,{children:d(n,{...v,"data-stridge-slot":i.root,...p.props(a.root),children:_??h})})})}const h=f(u,{children:[d(c,{}),d(s,{})]});function g({open:t,defaultOpen:n,onOpenChange:r,trigger:i,children:a,...o}){return d(e,{open:t,defaultOpen:n,onOpenChange:r,trigger:i,children:d(m,{...o,children:a})})}(function(e){e.Header=c,e.Body=s,e.Summary=o,e.Dialog=g})(m||={});export{m as OnrampConfirm};
1
+ "use client";import{DialogShell as e}from"../../../../../shared/dialog/DialogShell.js";import{Tooltip as t}from"../../../../../shared/ui/Tooltip/Tooltip.js";import"../../../../../shared/ui/Tooltip/index.js";import{Frame as n}from"../../../../../shared/dialog/Frame.js";import{OnrampConfirmContext as r}from"./context.js";import{ONRAMP_CONFIRM_SLOTS as i}from"./OnrampConfirm.slots.js";import{styles as a}from"./OnrampConfirm.styles.js";import{OnrampConfirmDisclaimer as o}from"./components/Disclaimer.js";import{OnrampConfirmSummary as s}from"./components/Summary.js";import{OnrampConfirmBody as c}from"./components/Body.js";import{OnrampConfirmHeader as l}from"./components/Header.js";import{useMemo as u}from"react";import{Fragment as d,jsx as f,jsxs as p}from"react/jsx-runtime";import*as m from"@stylexjs/stylex";function h(e){let{phase:o,amount:s,summary:c,brandName:l,failureReason:d,onBack:p,onConfirm:h,disclaimer:_,children:v,...y}=e;return f(r,{value:u(()=>({phase:o,amount:s,...c===void 0?{}:{summary:c},...l===void 0?{}:{brandName:l},...d===void 0?{}:{failureReason:d},...p?{onBack:p}:{},...h?{onConfirm:h}:{},..._===void 0?{}:{disclaimer:_}}),[o,s,c,l,d,p,h,_]),children:f(t.Provider,{children:f(n,{...y,"data-stridge-slot":i.root,...m.props(a.root),children:v??g})})})}const g=p(d,{children:[f(l,{}),f(c,{})]});function _({open:t,defaultOpen:n,onOpenChange:r,trigger:i,children:a,...o}){return f(e,{open:t,defaultOpen:n,onOpenChange:r,trigger:i,children:f(h,{...o,children:a})})}(function(e){e.Header=l,e.Body=c,e.Summary=s,e.Disclaimer=o,e.Dialog=_})(h||={});export{h as OnrampConfirm};
@@ -18,6 +18,13 @@ declare const ONRAMP_CONFIRM_SLOTS: {
18
18
  readonly breakdownRowLabel: "onramp-confirm-breakdown-row-label";
19
19
  readonly breakdownRowValue: "onramp-confirm-breakdown-row-value";
20
20
  readonly cta: "onramp-confirm-cta";
21
+ readonly disclaimer: "onramp-confirm-disclaimer";
22
+ readonly disclaimerProvider: "onramp-confirm-disclaimer-provider";
23
+ readonly disclaimerReceive: "onramp-confirm-disclaimer-receive";
24
+ readonly disclaimerBody: "onramp-confirm-disclaimer-body";
25
+ readonly disclaimerLink: "onramp-confirm-disclaimer-link";
26
+ readonly disclaimerCheckbox: "onramp-confirm-disclaimer-checkbox";
27
+ readonly disclaimerCheckboxLabel: "onramp-confirm-disclaimer-checkbox-label";
21
28
  };
22
29
  type OnrampConfirmSlot = (typeof ONRAMP_CONFIRM_SLOTS)[keyof typeof ONRAMP_CONFIRM_SLOTS];
23
30
  //#endregion
@@ -1 +1 @@
1
- const e={root:`onramp-confirm`,header:`onramp-confirm-header`,body:`onramp-confirm-body`,summary:`onramp-confirm-summary`,summaryStaticRow:`onramp-confirm-summary-static-row`,summaryRowLabel:`onramp-confirm-summary-row-label`,summaryRowValue:`onramp-confirm-summary-row-value`,summaryBreakdown:`onramp-confirm-summary-breakdown`,breakdownTrigger:`onramp-confirm-breakdown-trigger`,breakdownChevron:`onramp-confirm-breakdown-chevron`,breakdownRow:`onramp-confirm-breakdown-row`,breakdownRowLabel:`onramp-confirm-breakdown-row-label`,breakdownRowValue:`onramp-confirm-breakdown-row-value`,cta:`onramp-confirm-cta`};export{e as ONRAMP_CONFIRM_SLOTS};
1
+ const e={root:`onramp-confirm`,header:`onramp-confirm-header`,body:`onramp-confirm-body`,summary:`onramp-confirm-summary`,summaryStaticRow:`onramp-confirm-summary-static-row`,summaryRowLabel:`onramp-confirm-summary-row-label`,summaryRowValue:`onramp-confirm-summary-row-value`,summaryBreakdown:`onramp-confirm-summary-breakdown`,breakdownTrigger:`onramp-confirm-breakdown-trigger`,breakdownChevron:`onramp-confirm-breakdown-chevron`,breakdownRow:`onramp-confirm-breakdown-row`,breakdownRowLabel:`onramp-confirm-breakdown-row-label`,breakdownRowValue:`onramp-confirm-breakdown-row-value`,cta:`onramp-confirm-cta`,disclaimer:`onramp-confirm-disclaimer`,disclaimerProvider:`onramp-confirm-disclaimer-provider`,disclaimerReceive:`onramp-confirm-disclaimer-receive`,disclaimerBody:`onramp-confirm-disclaimer-body`,disclaimerLink:`onramp-confirm-disclaimer-link`,disclaimerCheckbox:`onramp-confirm-disclaimer-checkbox`,disclaimerCheckboxLabel:`onramp-confirm-disclaimer-checkbox-label`};export{e as ONRAMP_CONFIRM_SLOTS};
@@ -1 +1 @@
1
- const e={root:{"OnrampConfirm__styles.root":`OnrampConfirm__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:11`},body:{"OnrampConfirm__styles.body":`OnrampConfirm__styles.body`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`xsfdumc`,"paddingTop-kLKAdn":`xtgch2x`,"paddingBottom-kGO01o":`xpnfv0q`,"paddingInlineEnd-kwRFfy":`x1hvdk87`,"paddingInlineStart-kZCmMZ":`xmg6hw8`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:18`},summary:{"OnrampConfirm__styles.summary":`OnrampConfirm__styles.summary`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:28`},summaryStaticRow:{"OnrampConfirm__styles.summaryStaticRow":`OnrampConfirm__styles.summaryStaticRow`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x1pha0wt`,"justifyContent-kjj79g":`x1qughib`,"gap-kOIVth":`x2blr79`,"paddingBlock-k8WAf4":`x1yowcxs`,"paddingInline-kg3NbH":`xqsvw4s`,"borderBottomColor-kL6WhQ":`x2kdqbz`,"borderBottomStyle-kfdmCh":`x1q0q8m5`,"borderBottomWidth-kt9PQ7":`xso031l`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:32`},summaryLabel:{"OnrampConfirm__styles.summaryLabel":`OnrampConfirm__styles.summaryLabel`,"color-kMwMTN":`x18cw6k6`,"fontWeight-k63SB2":`xi0sa8g`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:44`},summaryValue:{"OnrampConfirm__styles.summaryValue":`OnrampConfirm__styles.summaryValue`,"color-kMwMTN":`x1i40r7x`,"fontWeight-k63SB2":`x1qvi77d`,"margin-kogj98":`x1ghz6dp`,"textAlign-k9WMMc":`xp4054r`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:49`},breakdownTrigger:{"OnrampConfirm__styles.breakdownTrigger":`OnrampConfirm__styles.breakdownTrigger`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`x13a6bvl`,"gap-kOIVth":`x1r05nms`,"paddingBlock-k8WAf4":`x1yowcxs`,"paddingInline-kg3NbH":`xqsvw4s`,"width-kzqmXN":`xh8yej3`,"backgroundColor-kWkggS":`xjbqb8w`,"borderColor-kVAM5u":`x9r1u3d`,"borderStyle-ksu8eU":`x1y0btm7`,"borderWidth-kMzoRj":`xmkeg23`,"borderRadius-kaIpWk":`x2u8bby`,"color-kMwMTN":`xi96bwj`,"cursor-kkrTdU":`x1ypdohk`,"outline-kI3sdo":`x1a2a7pz`,":hover_color-kDPRdz":`xpscirx`,":focus-visible_borderColor-kOJeXU":`x1mt3fz5`,":focus-visible_boxShadow-kEtg5x":`x159teg`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:55`},breakdownChevron:{"OnrampConfirm__styles.breakdownChevron":`OnrampConfirm__styles.breakdownChevron`,"width-kzqmXN":`xsmyaan`,"height-kZKoxP":`x1kpxq89`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x15rks2t`,"strokeWidth-kfJifR":`xhxwl1`,"transitionProperty-k1ekBW":`x11xpdln`,"transitionDuration-kIyJzY":`x1vhb3u9`,"transitionTimingFunction-kAMwcw":`x1xv5090`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:80`},breakdownPanel:{"OnrampConfirm__styles.breakdownPanel":`OnrampConfirm__styles.breakdownPanel`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"backgroundColor-kWkggS":`x407w7c`,"borderTopColor-kLZC3w":`x19bq4ie`,"borderTopStyle-kPef9Z":`x13fuv20`,"borderTopWidth-kEafiO":`x178xt8z`,"paddingBlock-k8WAf4":`xpuy6co`,"paddingInline-kg3NbH":`xqsvw4s`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:90`},breakdownRow:{"OnrampConfirm__styles.breakdownRow":`OnrampConfirm__styles.breakdownRow`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`x1qughib`,"gap-kOIVth":`x2blr79`,"paddingBlock-k8WAf4":`xpuy6co`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:100`},breakdownLabel:{"OnrampConfirm__styles.breakdownLabel":`OnrampConfirm__styles.breakdownLabel`,"color-kMwMTN":`x18cw6k6`,"fontWeight-k63SB2":`xi0sa8g`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:108`},breakdownValue:{"OnrampConfirm__styles.breakdownValue":`OnrampConfirm__styles.breakdownValue`,"color-kMwMTN":`x1i40r7x`,"fontWeight-k63SB2":`x1qvi77d`,"margin-kogj98":`x1ghz6dp`,"textAlign-k9WMMc":`xp4054r`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:113`},cta:{"OnrampConfirm__styles.cta":`OnrampConfirm__styles.cta`,"alignSelf-kSGwAc":`xkh2ocl`,"borderWidth-kMzoRj":`xc342km`,"cursor-kkrTdU":`x1ypdohk`,"borderRadius-kaIpWk":`x1s7mj9v`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:120`},failureNotice:{"OnrampConfirm__styles.failureNotice":`OnrampConfirm__styles.failureNotice`,"color-kMwMTN":`xreodjm`,"margin-kogj98":`x1ghz6dp`,"textAlign-k9WMMc":`x2b8uid`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:126`},header:{"OnrampConfirm__styles.header":`OnrampConfirm__styles.header`,"justifyContent-kjj79g":`x1qughib`,"gap-kOIVth":`x2blr79`,"paddingTop-kLKAdn":`x1h03h88`,"paddingInlineEnd-kwRFfy":`x1hvdk87`,"paddingBottom-kGO01o":`xfvigk`,"paddingInlineStart-kZCmMZ":`xiplbrm`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:132`},headerLeft:{"OnrampConfirm__styles.headerLeft":`OnrampConfirm__styles.headerLeft`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x2blr79`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:140`},headerTitle:{"OnrampConfirm__styles.headerTitle":`OnrampConfirm__styles.headerTitle`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:145`},backIcon:{"OnrampConfirm__styles.backIcon":`OnrampConfirm__styles.backIcon`,"color-kMwMTN":`x15rks2t`,"strokeWidth-kfJifR":`xhxwl1`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:148`}};export{e as styles};
1
+ const e={root:{"OnrampConfirm__styles.root":`OnrampConfirm__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:11`},body:{"OnrampConfirm__styles.body":`OnrampConfirm__styles.body`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`xsfdumc`,"paddingTop-kLKAdn":`xtgch2x`,"paddingBottom-kGO01o":`xpnfv0q`,"paddingInlineEnd-kwRFfy":`x1hvdk87`,"paddingInlineStart-kZCmMZ":`xmg6hw8`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:18`},summary:{"OnrampConfirm__styles.summary":`OnrampConfirm__styles.summary`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:28`},summaryStaticRow:{"OnrampConfirm__styles.summaryStaticRow":`OnrampConfirm__styles.summaryStaticRow`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x1pha0wt`,"justifyContent-kjj79g":`x1qughib`,"gap-kOIVth":`x2blr79`,"paddingBlock-k8WAf4":`x1yowcxs`,"paddingInline-kg3NbH":`xqsvw4s`,"borderBottomColor-kL6WhQ":`x2kdqbz`,"borderBottomStyle-kfdmCh":`x1q0q8m5`,"borderBottomWidth-kt9PQ7":`xso031l`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:32`},summaryLabel:{"OnrampConfirm__styles.summaryLabel":`OnrampConfirm__styles.summaryLabel`,"color-kMwMTN":`x18cw6k6`,"fontWeight-k63SB2":`xi0sa8g`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:44`},summaryValue:{"OnrampConfirm__styles.summaryValue":`OnrampConfirm__styles.summaryValue`,"color-kMwMTN":`x1i40r7x`,"fontWeight-k63SB2":`x1qvi77d`,"margin-kogj98":`x1ghz6dp`,"textAlign-k9WMMc":`xp4054r`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:49`},breakdownPanel:{"OnrampConfirm__styles.breakdownPanel":`OnrampConfirm__styles.breakdownPanel`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"backgroundColor-kWkggS":`x407w7c`,"borderTopColor-kLZC3w":`x19bq4ie`,"borderTopStyle-kPef9Z":`x13fuv20`,"borderTopWidth-kEafiO":`x178xt8z`,"paddingBlock-k8WAf4":`xpuy6co`,"paddingInline-kg3NbH":`xqsvw4s`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:55`},breakdownRow:{"OnrampConfirm__styles.breakdownRow":`OnrampConfirm__styles.breakdownRow`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`x1q0g3np`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`x1qughib`,"gap-kOIVth":`x2blr79`,"paddingBlock-k8WAf4":`xpuy6co`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:65`},breakdownLabel:{"OnrampConfirm__styles.breakdownLabel":`OnrampConfirm__styles.breakdownLabel`,"color-kMwMTN":`x18cw6k6`,"fontWeight-k63SB2":`xi0sa8g`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:73`},breakdownValue:{"OnrampConfirm__styles.breakdownValue":`OnrampConfirm__styles.breakdownValue`,"color-kMwMTN":`x1i40r7x`,"fontWeight-k63SB2":`x1qvi77d`,"margin-kogj98":`x1ghz6dp`,"textAlign-k9WMMc":`xp4054r`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:78`},cta:{"OnrampConfirm__styles.cta":`OnrampConfirm__styles.cta`,"alignSelf-kSGwAc":`xkh2ocl`,"borderWidth-kMzoRj":`xc342km`,"cursor-kkrTdU":`x1ypdohk`,"borderRadius-kaIpWk":`x1s7mj9v`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:85`},failureNotice:{"OnrampConfirm__styles.failureNotice":`OnrampConfirm__styles.failureNotice`,"color-kMwMTN":`xreodjm`,"margin-kogj98":`x1ghz6dp`,"textAlign-k9WMMc":`x2b8uid`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:91`},header:{"OnrampConfirm__styles.header":`OnrampConfirm__styles.header`,"justifyContent-kjj79g":`x1qughib`,"gap-kOIVth":`x2blr79`,"paddingTop-kLKAdn":`x1h03h88`,"paddingInlineEnd-kwRFfy":`x1hvdk87`,"paddingBottom-kGO01o":`xfvigk`,"paddingInlineStart-kZCmMZ":`xiplbrm`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:97`},headerLeft:{"OnrampConfirm__styles.headerLeft":`OnrampConfirm__styles.headerLeft`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x2blr79`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:105`},headerTitle:{"OnrampConfirm__styles.headerTitle":`OnrampConfirm__styles.headerTitle`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:110`},backIcon:{"OnrampConfirm__styles.backIcon":`OnrampConfirm__styles.backIcon`,"color-kMwMTN":`x15rks2t`,"strokeWidth-kfJifR":`xhxwl1`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:113`},disclaimer:{"OnrampConfirm__styles.disclaimer":`OnrampConfirm__styles.disclaimer`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`x2blr79`,"padding-kmVPX3":`x163h9xw`,"borderRadius-kaIpWk":`x5bw3pk`,"borderWidth-kMzoRj":`xmkeg23`,"borderStyle-ksu8eU":`x1y0btm7`,"borderColor-kVAM5u":`x12c9lpl`,"backgroundColor-kWkggS":`x407w7c`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:118`},disclaimerProvider:{"OnrampConfirm__styles.disclaimerProvider":`OnrampConfirm__styles.disclaimerProvider`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x1a6yh9e`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:129`},disclaimerProviderText:{"OnrampConfirm__styles.disclaimerProviderText":`OnrampConfirm__styles.disclaimerProviderText`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`x12mrbbr`,"minWidth-k7Eaqz":`xeuugli`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:134`},disclaimerReceive:{"OnrampConfirm__styles.disclaimerReceive":`OnrampConfirm__styles.disclaimerReceive`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:140`},disclaimerBody:{"OnrampConfirm__styles.disclaimerBody":`OnrampConfirm__styles.disclaimerBody`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:143`},disclaimerLink:{"OnrampConfirm__styles.disclaimerLink":`OnrampConfirm__styles.disclaimerLink`,"color-kMwMTN":`x1me39qh`,"textDecorationLine-kMnn75":`xujl8zx`,"textUnderlineOffset-kcSHmL":`xrys4gj`,"borderRadius-kaIpWk":`x1cum3z5`,"outline-kI3sdo":`x1a2a7pz`,"boxShadow-kGVxlE":`x159teg`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:146`},disclaimerLinks:{"OnrampConfirm__styles.disclaimerLinks":`OnrampConfirm__styles.disclaimerLinks`,"display-k1xSpc":`x78zum5`,"flexWrap-kwnvtZ":`x1a02dak`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x2blr79`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:157`},disclaimerCheckboxRow:{"OnrampConfirm__styles.disclaimerCheckboxRow":`OnrampConfirm__styles.disclaimerCheckboxRow`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x1cy8zhl`,"gap-kOIVth":`x1a6yh9e`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:163`},disclaimerCheckboxLabel:{"OnrampConfirm__styles.disclaimerCheckboxLabel":`OnrampConfirm__styles.disclaimerCheckboxLabel`,"margin-kogj98":`x1ghz6dp`,"flexBasis-kCS8Yb":`x1r8uery`,"flexGrow-kzQI83":`x1iyjqo2`,"minWidth-k7Eaqz":`xeuugli`,"fontSize-kGuDYH":`x1oae1zf`,"lineHeight-kLWn49":`x14vj8e1`,"cursor-kkrTdU":`x1ypdohk`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-confirm/compound/OnrampConfirm.styles.ts:174`}};export{e as styles};
@@ -1 +1 @@
1
- "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import"../../../../../../i18n/index.js";import{Button as t}from"../../../../../../shared/ui/Button/Button.js";import{Card as n}from"../../../../../../shared/ui/Card/Card.js";import{text as r}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampConfirmContext as i}from"../context.js";import{ONRAMP_CONFIRM_SLOTS as a}from"../OnrampConfirm.slots.js";import{styles as o}from"../OnrampConfirm.styles.js";import{OnrampConfirmSummary as s}from"./Summary.js";import{Fragment as c,jsx as l,jsxs as u}from"react/jsx-runtime";import*as d from"@stylexjs/stylex";function f({children:e,...t}={}){return l(n.Body,{...t,children:l(`div`,{"data-stridge-slot":a.body,...d.props(o.body),children:e??l(p,{})})})}function p(){let{phase:n,failureReason:f,onConfirm:p}=i(`OnrampConfirm.Body`),m=n.kind===`creating`,h=n.kind===`loading`;return u(c,{children:[l(s,{}),n.kind===`failed`&&f?l(r.span,{size:`sm`,leading:`normal`,...d.props(o.failureNotice),children:f}):null,l(t,{variant:`default`,size:`cta`,isLoading:m,disabled:h||m||!p,onClick:p,"data-stridge-slot":a.cta,...d.props(o.cta),children:m?l(e,{id:`9k9fRZ`,message:`Opening checkout…`}):l(e,{id:`hMqszB`,message:`Continue to payment`})})]})}export{f as OnrampConfirmBody};
1
+ "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import"../../../../../../i18n/index.js";import{Button as t}from"../../../../../../shared/ui/Button/Button.js";import{Card as n}from"../../../../../../shared/ui/Card/Card.js";import{text as r}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampConfirmContext as i}from"../context.js";import{ONRAMP_CONFIRM_SLOTS as a}from"../OnrampConfirm.slots.js";import{styles as o}from"../OnrampConfirm.styles.js";import{OnrampConfirmDisclaimer as s}from"./Disclaimer.js";import{OnrampConfirmSummary as c}from"./Summary.js";import{useState as l}from"react";import{Fragment as u,jsx as d,jsxs as f}from"react/jsx-runtime";import*as p from"@stylexjs/stylex";function m({children:e,...t}={}){return d(n.Body,{...t,children:d(`div`,{"data-stridge-slot":a.body,...p.props(o.body),children:e??d(h,{})})})}function h(){let{phase:n,failureReason:m,onConfirm:h,disclaimer:g}=i(`OnrampConfirm.Body`),_=n.kind===`creating`,v=n.kind===`loading`,[y,b]=l(!1),x=g!==void 0&&!y;return f(u,{children:[d(c,{}),g?d(s,{checked:y,onCheckedChange:b}):null,n.kind===`failed`&&m?d(r.span,{size:`sm`,leading:`normal`,...p.props(o.failureNotice),children:m}):null,d(t,{variant:`default`,size:`cta`,isLoading:_,disabled:v||_||!h||x,"aria-disabled":x?!0:void 0,onClick:h,"data-stridge-slot":a.cta,...p.props(o.cta),children:_?d(e,{id:`9k9fRZ`,message:`Opening checkout…`}):d(e,{id:`hMqszB`,message:`Continue to payment`})})]})}export{m as OnrampConfirmBody};
@@ -0,0 +1,21 @@
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/flows/deposit/widgets/onramp-confirm/compound/components/Disclaimer.d.ts
4
+ interface OnrampConfirmDisclaimerProps {
5
+ /** Controlled acknowledgement state (owned by the Body so it can gate the CTA). */
6
+ checked: boolean;
7
+ /** Fires with the next acknowledgement state on toggle. */
8
+ onCheckedChange: (checked: boolean) => void;
9
+ }
10
+ /**
11
+ * Pre-redirect third-party-consent block. Renders the active provider's identity, the receive
12
+ * estimate + delivery time, a translated acknowledgement body interpolating the driver-supplied
13
+ * provider name + legal links (or a verbatim `bodyOverride`), and a required acknowledgement
14
+ * checkbox the Body gates the CTA on. Renders nothing when no disclaimer is wired.
15
+ */
16
+ declare function OnrampConfirmDisclaimer({
17
+ checked,
18
+ onCheckedChange
19
+ }: OnrampConfirmDisclaimerProps): _$react_jsx_runtime0.JSX.Element | null;
20
+ //#endregion
21
+ export { OnrampConfirmDisclaimer };
@@ -0,0 +1 @@
1
+ "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import{useLingui as t}from"../../../../../../shared/i18n/useLingui.js";import"../../../../../../i18n/index.js";import{Checkbox as n}from"../../../../../../shared/ui/Checkbox/Checkbox.js";import"../../../../../../shared/ui/Checkbox/index.js";import{Image as r}from"../../../../../../shared/ui/Image/Image.js";import"../../../../../../shared/ui/Image/index.js";import{Skeleton as i}from"../../../../../../shared/ui/Skeleton/Skeleton.js";import{text as a}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampConfirmContext as o}from"../context.js";import{ONRAMP_CONFIRM_SLOTS as s}from"../OnrampConfirm.slots.js";import{styles as c}from"../OnrampConfirm.styles.js";import{useId as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";const p={target:`_blank`,rel:`noopener noreferrer`};function m({checked:m,onCheckedChange:h}){let g=o(`OnrampConfirm.Disclaimer`),{_}=t(),v=l(),y=g.disclaimer;if(!y)return null;let b=y.providerName,x=e=>y.links.find(t=>t.kind===e)?.url,S=x(`terms`)??`#`,C=x(`privacy`)??`#`,w=g.summary?`${g.summary.receive} ${g.summary.receiveSymbol}`:void 0,T=!w&&g.phase.kind===`loading`;return d(`div`,{"data-stridge-slot":s.disclaimer,...f.props(c.disclaimer),children:[d(`div`,{"data-stridge-slot":s.disclaimerProvider,...f.props(c.disclaimerProvider),children:[u(r,{...y.logoUrl?{src:y.logoUrl}:{},alt:b,size:28,shape:`rounded`}),d(`span`,{...f.props(c.disclaimerProviderText),children:[u(a.span,{size:`sm`,fontWeight:`semibold`,leading:`tight`,tracking:`tight`,truncate:!0,children:b}),y.deliveryTime?u(a.span,{size:`xs`,fontWeight:`medium`,leading:`tight`,color:`subdued`,children:u(e,{id:`6A8Mts`,message:`Up to {0}`,values:{0:y.deliveryTime}})}):null]})]}),w?u(a.span,{size:`sm`,fontWeight:`semibold`,leading:`normal`,"data-stridge-slot":s.disclaimerReceive,...f.props(c.disclaimerReceive),children:u(e,{id:`EqcUuN`,message:`You will receive ≈ {receive}`,values:{receive:w}})}):T?u(i,{width:172,height:16,"data-stridge-slot":s.disclaimerReceive}):null,u(a.span,{size:`xs`,leading:`normal`,color:`subdued`,"data-stridge-slot":s.disclaimerBody,...f.props(c.disclaimerBody),children:y.bodyOverride?y.bodyOverride:u(e,{id:`ReCJDz`,message:`You are now leaving for {provider}, a separate third-party platform. By proceeding, you acknowledge that you have read and agree to {provider}'s <0>Terms of Use</0> and <1>Privacy Policy</1>.`,values:{provider:b},components:{0:u(`a`,{href:S,...p,"data-stridge-slot":s.disclaimerLink,...f.props(c.disclaimerLink)}),1:u(`a`,{href:C,...p,"data-stridge-slot":s.disclaimerLink,...f.props(c.disclaimerLink)})}})}),y.bodyOverride?d(`div`,{...f.props(c.disclaimerLinks),children:[u(`a`,{href:S,...p,...f.props(c.disclaimerLink),children:u(a.span,{size:`xs`,fontWeight:`medium`,children:_({id:`PSGjEt`,message:`Terms of Use`})})}),u(`a`,{href:C,...p,...f.props(c.disclaimerLink),children:u(a.span,{size:`xs`,fontWeight:`medium`,children:_({id:`LcET2C`,message:`Privacy Policy`})})})]}):null,d(`div`,{...f.props(c.disclaimerCheckboxRow),children:[u(n,{id:v,checked:m,onCheckedChange:h,"data-stridge-slot":s.disclaimerCheckbox}),u(`label`,{htmlFor:v,"data-stridge-slot":s.disclaimerCheckboxLabel,...f.props(c.disclaimerCheckboxLabel),children:u(a.span,{size:`xs`,leading:`normal`,color:`subdued`,children:u(e,{id:`pJ3YlV`,message:`I understand that I'm purchasing crypto directly through a third-party provider and agree to the disclaimer.`})})})]})]})}export{m as OnrampConfirmDisclaimer};
@@ -4,8 +4,8 @@ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
  //#region src/flows/deposit/widgets/onramp-confirm/compound/components/Summary.d.ts
5
5
  /**
6
6
  * Read-only summary card sitting above the CTA. Renders three static rows (Top up on / You receive
7
- * / Total) followed by a `Collapsible` whose trigger shows "View breakdown ⌄" and whose panel
8
- * reveals the quote breakdown rows. Reads the pre-formatted summary from context so the part stays
7
+ * / Total) followed by a shared {@link DisclosureRow} "More details" disclosure whose panel reveals
8
+ * the quote breakdown rows. Reads the pre-formatted summary from context so the part stays
9
9
  * render-only.
10
10
  */
11
11
  declare function OnrampConfirmSummary({
@@ -1 +1 @@
1
- "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import{useLingui as t}from"../../../../../../shared/i18n/useLingui.js";import"../../../../../../i18n/index.js";import{ChevronRightIcon as n}from"../../../../../../shared/icons/ChevronRightIcon.js";import"../../../../../../icons/index.js";import{Card as r}from"../../../../../../shared/ui/Card/Card.js";import{Collapsible as i}from"../../../../../../shared/ui/Collapsible/Collapsible.js";import{text as a}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampConfirmContext as o}from"../context.js";import{ONRAMP_CONFIRM_SLOTS as s}from"../OnrampConfirm.slots.js";import{styles as c}from"../OnrampConfirm.styles.js";import{useDirectionalChevronTransform as l}from"../../../../../../shared/dialog/useDirectionalChevronTransform.js";import{useState as u}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";import*as p from"@stylexjs/stylex";function m({brandName:n}={}){let{_:l}=t(),{summary:m,brandName:v}=o(`OnrampConfirm.Summary`),[y,b]=u(!1),x=n??v;return f(r,{variant:`default`,"data-stridge-slot":s.summary,...p.props(c.summary),children:[d(h,{label:d(e,{id:`HalPBQ`,message:`Top up on`}),value:x??``}),d(h,{label:d(e,{id:`88cUW-`,message:`You receive`}),value:m?`${m.receive} ${m.receiveSymbol}`:``}),d(h,{label:d(e,{id:`72c5Qo`,message:`Total`}),value:m?.totalUsd??``}),f(i,{open:y,onOpenChange:b,children:[d(i.Trigger,{render:(t,{open:n})=>f(`button`,{type:`button`,"data-stridge-slot":s.breakdownTrigger,...t,children:[d(a.span,{size:`xs`,fontWeight:`medium`,leading:`tight`,color:`inherit`,children:n?d(e,{id:`t1k2Bt`,message:`Hide breakdown`}):d(e,{id:`3qkDVZ`,message:`View breakdown`})}),d(g,{open:n})]}),"aria-label":l(y?{id:`t1k2Bt`,message:`Hide breakdown`}:{id:`3qkDVZ`,message:`View breakdown`}),...p.props(c.breakdownTrigger)}),d(i.Panel,{children:f(`div`,{"data-stridge-slot":s.summaryBreakdown,...p.props(c.breakdownPanel),children:[d(_,{label:d(e,{id:`hehnjM`,message:`Amount`}),value:m?.amountUsd??``}),d(_,{label:d(e,{id:`vepIdX`,message:`Crypto price`}),value:m?d(e,{id:`eUbBqz`,message:`1 {0} = {1}`,values:{0:m.receiveSymbol,1:m.rate}}):``}),m?.processingFee?d(_,{label:d(e,{id:`QFwptY`,message:`Processing fee`}),value:`− ${m.processingFee}`}):null,m?.networkFee?d(_,{label:d(e,{id:`y62Dys`,message:`Network fee`}),value:`− ${m.networkFee}`}):null]})})]})]})}function h({label:e,value:t}){return f(`div`,{"data-stridge-slot":s.summaryStaticRow,...p.props(c.summaryStaticRow),children:[d(a.span,{size:`sm`,leading:`tight`,"data-stridge-slot":s.summaryRowLabel,...p.props(c.summaryLabel),children:e}),d(a.span,{size:`sm`,leading:`tight`,"data-stridge-slot":s.summaryRowValue,...p.props(c.summaryValue),children:t})]})}function g({open:e}){let t=l(e);return d(n,{"aria-hidden":!0,"data-stridge-slot":s.breakdownChevron,style:{transform:t},...p.props(c.breakdownChevron)})}function _({label:e,value:t}){return f(`div`,{"data-stridge-slot":s.breakdownRow,...p.props(c.breakdownRow),children:[d(a.span,{size:`xs`,leading:`tight`,"data-stridge-slot":s.breakdownRowLabel,...p.props(c.breakdownLabel),children:e}),d(a.span,{size:`xs`,leading:`tight`,"data-stridge-slot":s.breakdownRowValue,...p.props(c.breakdownValue),children:t})]})}export{m as OnrampConfirmSummary};
1
+ "use client";import{Trans as e}from"../../../../../../shared/i18n/Trans.js";import"../../../../../../i18n/index.js";import{Card as t}from"../../../../../../shared/ui/Card/Card.js";import{DisclosureRow as n}from"../../../../../../shared/ui/DisclosureRow/DisclosureRow.js";import{Skeleton as r}from"../../../../../../shared/ui/Skeleton/Skeleton.js";import{text as i}from"../../../../../../shared/ui/Text/Text.js";import"../../../../../../ui/index.js";import{useOnrampConfirmContext as a}from"../context.js";import{ONRAMP_CONFIRM_SLOTS as o}from"../OnrampConfirm.slots.js";import{styles as s}from"../OnrampConfirm.styles.js";import{Fragment as c,jsx as l,jsxs as u}from"react/jsx-runtime";import*as d from"@stylexjs/stylex";function f({brandName:i}={}){let{summary:f,brandName:h,phase:g}=a(`OnrampConfirm.Summary`),_=i??h,v=g.kind===`loading`;return u(t,{variant:`default`,"data-stridge-slot":o.summary,...d.props(s.summary),children:[l(p,{label:l(e,{id:`HalPBQ`,message:`Top up on`}),value:_??(v?l(r,{width:104,height:14}):``)}),l(p,{label:l(e,{id:`88cUW-`,message:`You receive`}),value:f?`${f.receive} ${f.receiveSymbol}`:v?l(r,{width:84,height:14}):``}),l(p,{label:l(e,{id:`72c5Qo`,message:`Total`}),value:f?.totalUsd??(v?l(r,{width:68,height:14}):``)}),l(n,{label:l(e,{id:`LEbOpR`,message:`More details`}),triggerProps:{"data-stridge-slot":o.breakdownTrigger},children:u(`div`,{"data-stridge-slot":o.summaryBreakdown,...d.props(s.breakdownPanel),children:[l(m,{label:l(e,{id:`hehnjM`,message:`Amount`}),value:f?.amountUsd??(v?l(r,{width:64,height:12}):``)}),l(m,{label:l(e,{id:`vepIdX`,message:`Crypto price`}),value:f?l(e,{id:`eUbBqz`,message:`1 {0} = {1}`,values:{0:f.receiveSymbol,1:f.rate}}):v?l(r,{width:96,height:12}):``}),f?.processingFee?l(m,{label:l(e,{id:`QFwptY`,message:`Processing fee`}),value:u(c,{children:[`− `,f.processingFee]})}):null,f?.networkFee?l(m,{label:l(e,{id:`y62Dys`,message:`Network fee`}),value:u(c,{children:[`− `,f.networkFee]})}):null]})})]})}function p({label:e,value:t}){return u(`div`,{"data-stridge-slot":o.summaryStaticRow,...d.props(s.summaryStaticRow),children:[l(i.span,{size:`sm`,leading:`tight`,"data-stridge-slot":o.summaryRowLabel,...d.props(s.summaryLabel),children:e}),l(i.span,{size:`sm`,leading:`tight`,"data-stridge-slot":o.summaryRowValue,...d.props(s.summaryValue),children:t})]})}function m({label:e,value:t}){return u(`div`,{"data-stridge-slot":o.breakdownRow,...d.props(s.breakdownRow),children:[l(i.span,{size:`xs`,leading:`tight`,"data-stridge-slot":o.breakdownRowLabel,...d.props(s.breakdownLabel),children:e}),l(i.span,{size:`xs`,leading:`tight`,"data-stridge-slot":o.breakdownRowValue,...d.props(s.breakdownValue),children:t})]})}export{f as OnrampConfirmSummary};
@@ -7,19 +7,40 @@ import { ReactNode } from "react";
7
7
  */
8
8
  interface OnrampConfirmSummary {
9
9
  /** What the user pays end-to-end (the FSM `amount`). Renders in the static "Total" row. */
10
- totalUsd: string;
10
+ totalUsd: ReactNode;
11
11
  /** Crypto the user receives after fees. Renders in the static "You receive" row + breakdown. */
12
12
  receive: string;
13
13
  /** Receive asset symbol (e.g. `"USDC"`). */
14
14
  receiveSymbol: string;
15
15
  /** Principal that converts to crypto. Renders in the breakdown "Amount" row. */
16
- amountUsd: string;
16
+ amountUsd: ReactNode;
17
17
  /** Crypto-per-fiat rate string. Renders in the breakdown "Crypto price" row. */
18
18
  rate: string;
19
- /** Processing fee string (already prefixed when the wrapper formats it). */
20
- processingFee?: string;
21
- /** Network fee string. */
22
- networkFee?: string;
19
+ /** Processing fee value (unprefixed the row prepends the `−`). */
20
+ processingFee?: ReactNode;
21
+ /** Network fee value (unprefixed — the row prepends the `−`). */
22
+ networkFee?: ReactNode;
23
+ }
24
+ /**
25
+ * Third-party-consent content for the pre-redirect disclaimer gate. `providerName` + `links` are
26
+ * driver-supplied (the single sanctioned surface that names the integrated provider); the kit
27
+ * renders its own translated acknowledgement copy around them. `bodyOverride` substitutes exact
28
+ * mandated legal wording.
29
+ */
30
+ interface OnrampConfirmDisclaimer {
31
+ /** Driver-supplied provider name interpolated into the kit's acknowledgement copy. */
32
+ providerName: string;
33
+ /** Legal links rendered as inline anchors (new tab, `rel="noopener noreferrer"`). */
34
+ links: ReadonlyArray<{
35
+ kind: "terms" | "privacy" | "support";
36
+ url: string;
37
+ }>;
38
+ /** Optional driver-supplied provider logo — rendered through `Image`; else a neutral monogram. */
39
+ logoUrl?: string;
40
+ /** When set, rendered verbatim instead of the kit's translated body template (still with checkbox + links). */
41
+ bodyOverride?: string;
42
+ /** Pre-formatted estimated delivery time (`onrampMethods.processingTime.formatted`), shown as "Up to …". */
43
+ deliveryTime?: string;
23
44
  }
24
45
  //#endregion
25
- export { OnrampConfirmSummary };
46
+ export { OnrampConfirmDisclaimer, OnrampConfirmSummary };
@@ -1,4 +1,4 @@
1
- import { OnrampConfirmSummary } from "./context.js";
1
+ import { OnrampConfirmDisclaimer, OnrampConfirmSummary } from "./context.js";
2
2
  import { OnrampConfirmBodyProps, OnrampConfirmDialogProps, OnrampConfirmHeaderProps, OnrampConfirmProps, OnrampConfirmSummaryProps } from "./types.js";
3
3
  import { OnrampConfirm } from "./OnrampConfirm.js";
4
4
  import { ONRAMP_CONFIRM_SLOTS, OnrampConfirmSlot } from "./OnrampConfirm.slots.js";
@@ -1,6 +1,6 @@
1
1
  import { OnrampConfirmPhase } from "../../../orchestrator/types.js";
2
2
  import { DialogShellControls } from "../../../../../shared/dialog/DialogShell.js";
3
- import { OnrampConfirmSummary } from "./context.js";
3
+ import { OnrampConfirmDisclaimer, OnrampConfirmSummary } from "./context.js";
4
4
  import { ComponentProps, ReactNode } from "react";
5
5
 
6
6
  //#region src/flows/deposit/widgets/onramp-confirm/compound/types.d.ts
@@ -24,9 +24,14 @@ interface OnrampConfirmProps extends ComponentProps<"div"> {
24
24
  onBack?: () => void;
25
25
  /** CTA handler — promotes the FSM into `creating` (open checkout). */
26
26
  onConfirm?: () => void;
27
+ /**
28
+ * Pre-redirect third-party-consent content. When present, the disclaimer block renders above the
29
+ * CTA and the CTA is gated on an acknowledgement checkbox.
30
+ */
31
+ disclaimer?: OnrampConfirmDisclaimer;
27
32
  /**
28
33
  * Optional custom composition. When omitted, the canonical default composition renders —
29
- * `<Header />` + `<Body>` (Summary + CTA). Pass children to interleave your own elements.
34
+ * `<Header />` + `<Body>` (Summary + Disclaimer + CTA). Pass children to interleave your own elements.
30
35
  */
31
36
  children?: ReactNode;
32
37
  }
@@ -0,0 +1,39 @@
1
+ import { DialogShellControls } from "../../../../shared/dialog/DialogShell.js";
2
+ import { OnrampCurrencyPickerBody } from "./compound/components/Body.js";
3
+ import { OnrampCurrencyPickerRow } from "./compound/components/CurrencyRow.js";
4
+ import { OnrampCurrencyPickerHeader } from "./compound/components/Header.js";
5
+ import { OnrampCurrencyPickerSearch } from "./compound/components/Search.js";
6
+ import { ComponentProps, ReactNode } from "react";
7
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
8
+
9
+ //#region src/flows/deposit/widgets/onramp-currency-picker/OnrampCurrencyPicker.d.ts
10
+ interface OnrampCurrencyPickerOwnProps {
11
+ children?: ReactNode;
12
+ }
13
+ type OnrampCurrencyPickerProps = ComponentProps<"div"> & OnrampCurrencyPickerOwnProps;
14
+ /**
15
+ * Orchestrated fiat-currency picker — wires the `onrampCurrencies` entity + the deposit FSM into the
16
+ * `OnrampCurrencyPicker` compound. Renders only on the `onrampCurrencyPicker` state. Selecting a
17
+ * currency persists it to kit storage, dispatches `selectOnrampCurrency` (returns to amount entry +
18
+ * re-quotes), and the back chevron returns without changing the currency.
19
+ */
20
+ declare function OnrampCurrencyPicker(props: OnrampCurrencyPickerProps): _$react_jsx_runtime0.JSX.Element | null;
21
+ declare function OnrampCurrencyPickerDialog({
22
+ open,
23
+ defaultOpen,
24
+ onOpenChange,
25
+ trigger,
26
+ children,
27
+ ...rest
28
+ }: OnrampCurrencyPickerProps & DialogShellControls): _$react_jsx_runtime0.JSX.Element;
29
+ declare namespace OnrampCurrencyPicker {
30
+ type Props = OnrampCurrencyPickerProps;
31
+ type DialogProps = OnrampCurrencyPickerProps & DialogShellControls;
32
+ const Dialog: typeof OnrampCurrencyPickerDialog;
33
+ const Header: typeof OnrampCurrencyPickerHeader;
34
+ const Search: typeof OnrampCurrencyPickerSearch;
35
+ const Body: typeof OnrampCurrencyPickerBody;
36
+ const Row: typeof OnrampCurrencyPickerRow;
37
+ }
38
+ //#endregion
39
+ export { OnrampCurrencyPicker };
@@ -0,0 +1 @@
1
+ "use client";import{useOptionalKitStorage as e}from"../../../../storage/context.js";import"../../../../storage/index.js";import{useDepositSnapshot as t}from"../../driver/context.js";import{useDepositActions as n,useDepositEffectiveState as r}from"../../orchestrator/controller.js";import{LAST_DEPOSIT_CURRENCY_KEY as i}from"../../shared/onramp.js";import{DialogShell as a}from"../../../../shared/dialog/DialogShell.js";import{OnrampCurrencyPicker as o}from"./compound/OnrampCurrencyPicker.js";import"./compound/index.js";import{useCallback as s,useMemo as c}from"react";import{jsx as l}from"react/jsx-runtime";const u=[];function d(a){let{children:d,...f}=a,p=t(),m=r(),{back:h,selectOnrampCurrency:g}=n(),_=e(),v=p.onrampCurrencies,y=v?.status===`ready`||v?.status===`stale`,b=!v||v.status===`idle`||v.status===`loading`,x=c(()=>y?v.payload.currencies.map(e=>({code:e.code,name:e.name,symbol:e.symbol,...e.popular===void 0?{}:{popular:e.popular},...e.iconUrl===void 0?{}:{iconUrl:e.iconUrl}})):u,[y,v]),S=s(e=>{_?.set(i,e),g(e)},[_,g]);if(m.name!==`onrampCurrencyPicker`)return null;let C=m.ctx.currency;return l(o,{...f,currencies:x,selectedCode:C,onSelect:S,onBack:h,loading:b,children:d})}function f({open:e,defaultOpen:t,onOpenChange:n,trigger:r,children:i,...o}){return l(a,{...e===void 0?{}:{open:e},...t===void 0?{}:{defaultOpen:t},...n?{onOpenChange:n}:{},...r===void 0?{}:{trigger:r},children:l(d,{...o,children:i})})}(function(e){e.Dialog=f,e.Header=o.Header,e.Search=o.Search,e.Body=o.Body,e.Row=o.Row})(d||={});export{d as OnrampCurrencyPicker};
@@ -0,0 +1,37 @@
1
+ import { OnrampCurrencyPickerBody } from "./components/Body.js";
2
+ import { OnrampCurrencyPickerBodyProps, OnrampCurrencyPickerDialogProps, OnrampCurrencyPickerHeaderProps, OnrampCurrencyPickerProps, OnrampCurrencyPickerRowProps } from "./types.js";
3
+ import { OnrampCurrencyPickerRow } from "./components/CurrencyRow.js";
4
+ import { OnrampCurrencyPickerHeader } from "./components/Header.js";
5
+ import { OnrampCurrencyPickerSearch } from "./components/Search.js";
6
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
7
+
8
+ //#region src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.d.ts
9
+ /**
10
+ * Searchable fiat-currency picker — the buy-with-card currency sub-screen. Mirrors the asset-picker
11
+ * compound: a `Frame`-wrapped, slotted surface (`Header` → `Search` → `Body`) driven by a single
12
+ * context. The Root owns the live search `query`; the Body derives its Popular / All sections and
13
+ * filtering from it. Vendor-neutral by construction — rows render the kit-owned `CurrencyGlyph`.
14
+ */
15
+ declare function OnrampCurrencyPicker(props: OnrampCurrencyPickerProps): _$react_jsx_runtime0.JSX.Element;
16
+ declare function OnrampCurrencyPickerDialog({
17
+ open,
18
+ defaultOpen,
19
+ onOpenChange,
20
+ trigger,
21
+ children,
22
+ ...rootProps
23
+ }: OnrampCurrencyPickerDialogProps): _$react_jsx_runtime0.JSX.Element;
24
+ declare namespace OnrampCurrencyPicker {
25
+ type Props = OnrampCurrencyPickerProps;
26
+ type HeaderProps = OnrampCurrencyPickerHeaderProps;
27
+ type BodyProps = OnrampCurrencyPickerBodyProps;
28
+ type RowProps = OnrampCurrencyPickerRowProps;
29
+ type DialogProps = OnrampCurrencyPickerDialogProps;
30
+ const Header: typeof OnrampCurrencyPickerHeader;
31
+ const Search: typeof OnrampCurrencyPickerSearch;
32
+ const Body: typeof OnrampCurrencyPickerBody;
33
+ const Row: typeof OnrampCurrencyPickerRow;
34
+ const Dialog: typeof OnrampCurrencyPickerDialog;
35
+ }
36
+ //#endregion
37
+ export { OnrampCurrencyPicker };
@@ -0,0 +1 @@
1
+ "use client";import{DialogShell as e}from"../../../../../shared/dialog/DialogShell.js";import{Tooltip as t}from"../../../../../shared/ui/Tooltip/Tooltip.js";import"../../../../../shared/ui/Tooltip/index.js";import{Frame as n}from"../../../../../shared/dialog/Frame.js";import{OnrampCurrencyPickerContext as r}from"./context.js";import{ONRAMP_CURRENCY_PICKER_SLOTS as i}from"./OnrampCurrencyPicker.slots.js";import{styles as a}from"./OnrampCurrencyPicker.styles.js";import{OnrampCurrencyPickerRow as o}from"./components/CurrencyRow.js";import{OnrampCurrencyPickerBody as s}from"./components/Body.js";import{OnrampCurrencyPickerHeader as c}from"./components/Header.js";import{OnrampCurrencyPickerSearch as l}from"./components/Search.js";import{useMemo as u,useState as d}from"react";import{Fragment as f,jsx as p,jsxs as m}from"react/jsx-runtime";import*as h from"@stylexjs/stylex";const g=[],_=m(f,{children:[p(c,{}),p(l,{}),p(s,{})]});function v(e){let{currencies:o=g,selectedCode:s,onSelect:c,onBack:l,headerTitle:f,loading:m=!1,children:v}=e,[y,b]=d(``);return p(r,{value:u(()=>({currencies:o,loading:m,query:y,setQuery:b,...s===void 0?{}:{selectedCode:s},...c?{onSelect:c}:{},...l?{onBack:l}:{},...f===void 0?{}:{headerTitle:f}}),[o,m,y,s,c,l,f]),children:p(t.Provider,{children:p(n,{"data-stridge-slot":i.root,...h.props(a.root),children:v??_})})})}function y({open:t,defaultOpen:n,onOpenChange:r,trigger:i,children:a,...o}){return p(e,{...t===void 0?{}:{open:t},...n===void 0?{}:{defaultOpen:n},...r?{onOpenChange:r}:{},...i===void 0?{}:{trigger:i},children:p(v,{...o,children:a})})}(function(e){e.Header=c,e.Search=l,e.Body=s,e.Row=o,e.Dialog=y})(v||={});export{v as OnrampCurrencyPicker};
@@ -0,0 +1,17 @@
1
+ //#region src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.slots.d.ts
2
+ declare const ONRAMP_CURRENCY_PICKER_SLOTS: {
3
+ readonly root: "onramp-currency-picker";
4
+ readonly header: "onramp-currency-picker-header";
5
+ readonly search: "onramp-currency-picker-search";
6
+ readonly body: "onramp-currency-picker-body";
7
+ readonly list: "onramp-currency-picker-list";
8
+ readonly row: "onramp-currency-picker-row";
9
+ readonly rowGlyph: "onramp-currency-picker-row-glyph";
10
+ readonly rowLabel: "onramp-currency-picker-row-label";
11
+ readonly rowCode: "onramp-currency-picker-row-code";
12
+ readonly rowCheck: "onramp-currency-picker-row-check";
13
+ readonly empty: "onramp-currency-picker-empty";
14
+ };
15
+ type OnrampCurrencyPickerSlot = (typeof ONRAMP_CURRENCY_PICKER_SLOTS)[keyof typeof ONRAMP_CURRENCY_PICKER_SLOTS];
16
+ //#endregion
17
+ export { ONRAMP_CURRENCY_PICKER_SLOTS, OnrampCurrencyPickerSlot };
@@ -0,0 +1 @@
1
+ const e={root:`onramp-currency-picker`,header:`onramp-currency-picker-header`,search:`onramp-currency-picker-search`,body:`onramp-currency-picker-body`,list:`onramp-currency-picker-list`,row:`onramp-currency-picker-row`,rowGlyph:`onramp-currency-picker-row-glyph`,rowLabel:`onramp-currency-picker-row-label`,rowCode:`onramp-currency-picker-row-code`,rowCheck:`onramp-currency-picker-row-check`,empty:`onramp-currency-picker-empty`};export{e as ONRAMP_CURRENCY_PICKER_SLOTS};
@@ -0,0 +1 @@
1
+ const e={root:{"OnrampCurrencyPicker__styles.root":`OnrampCurrencyPicker__styles.root`,"position-kVAEAm":`x1n2onr6`,"width-kzqmXN":`xh8yej3`,"maxWidth-ks0D6T":`x17fpy1y`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:4`},header:{"OnrampCurrencyPicker__styles.header":`OnrampCurrencyPicker__styles.header`,"gap-kOIVth":`x1v2ro7d`,"paddingTop-kLKAdn":`xyamay9`,"paddingInlineEnd-kwRFfy":`x1x5flf6`,"paddingBottom-kGO01o":`x1l90r2v`,"paddingInlineStart-kZCmMZ":`xf7dkkf`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:9`},headerTitle:{"OnrampCurrencyPicker__styles.headerTitle":`OnrampCurrencyPicker__styles.headerTitle`,"flexGrow-kzQI83":`x1iyjqo2`,"margin-kogj98":`x1ghz6dp`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:16`},headerTrailing:{"OnrampCurrencyPicker__styles.headerTrailing":`OnrampCurrencyPicker__styles.headerTrailing`,"display-k1xSpc":`x78zum5`,"alignItems-kGNEyG":`x6s0dn4`,"gap-kOIVth":`x1a6yh9e`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:20`},backIcon:{"OnrampCurrencyPicker__styles.backIcon":`OnrampCurrencyPicker__styles.backIcon`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`xzn0pkc`,"strokeWidth-kfJifR":`xhxwl1`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:25`},search:{"OnrampCurrencyPicker__styles.search":`OnrampCurrencyPicker__styles.search`,"paddingTop-kLKAdn":`xyinxu5`,"paddingInlineEnd-kwRFfy":`x1x5flf6`,"paddingInlineStart-kZCmMZ":`xwn43p0`,"paddingBottom-kGO01o":`x1a8lsjc`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:32`},searchIcon:{"OnrampCurrencyPicker__styles.searchIcon":`OnrampCurrencyPicker__styles.searchIcon`,"width-kzqmXN":`x1kky2od`,"height-kZKoxP":`xlup9mm`,"color-kMwMTN":`xi96bwj`,"strokeWidth-kfJifR":`xhxwl1`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:38`},searchInput:{"OnrampCurrencyPicker__styles.searchInput":`OnrampCurrencyPicker__styles.searchInput`,"::-webkit-search-cancel-button_display-k9l4BL":`x1hcrkkg`,"::-webkit-search-cancel-button_appearance-kONv6d":`x1ad04t7`,"::-webkit-search-decoration_display-kIPbS0":`xzwh6sb`,"::-webkit-search-decoration_appearance-kWSwxL":`x1glnyev`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:45`},clearIcon:{"OnrampCurrencyPicker__styles.clearIcon":`OnrampCurrencyPicker__styles.clearIcon`,"width-kzqmXN":`x6jxa94`,"height-kZKoxP":`x1v9usgg`,"color-kMwMTN":`xi96bwj`,"strokeWidth-kfJifR":`xhxwl1`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:55`},body:{"OnrampCurrencyPicker__styles.body":`OnrampCurrencyPicker__styles.body`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"paddingTop-kLKAdn":`x1y1aw1k`,"paddingInlineEnd-kwRFfy":`x1x5flf6`,"paddingBottom-kGO01o":`x1hhzuzn`,"paddingInlineStart-kZCmMZ":`xwn43p0`,"maxHeight-kskxy":`x2z3yb8`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:61`},list:{"OnrampCurrencyPicker__styles.list":`OnrampCurrencyPicker__styles.list`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"gap-kOIVth":`x167g77z`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:71`},row:{"OnrampCurrencyPicker__styles.row":`OnrampCurrencyPicker__styles.row`,"gap-kOIVth":`x1v2ro7d`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:76`},rowText:{"OnrampCurrencyPicker__styles.rowText":`OnrampCurrencyPicker__styles.rowText`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"flexBasis-kCS8Yb":`x1r8uery`,"flexGrow-kzQI83":`x1iyjqo2`,"flexShrink-kmuXW":`xs83m0k`,"minWidth-k7Eaqz":`xeuugli`,"gap-kOIVth":`x195vfkc`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:79`},rowCheck:{"OnrampCurrencyPicker__styles.rowCheck":`OnrampCurrencyPicker__styles.rowCheck`,"width-kzqmXN":`x1xp8n7a`,"height-kZKoxP":`xmix8c7`,"flexShrink-kmuXW":`x2lah0s`,"color-kMwMTN":`x1me39qh`,"strokeWidth-kfJifR":`xvlca1e`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:88`},empty:{"OnrampCurrencyPicker__styles.empty":`OnrampCurrencyPicker__styles.empty`,"display-k1xSpc":`x78zum5`,"flexDirection-kXwgrk":`xdt5ytf`,"alignItems-kGNEyG":`x6s0dn4`,"justifyContent-kjj79g":`xl56j7k`,"gap-kOIVth":`x1a6yh9e`,"paddingTop-kLKAdn":`x5gat22`,"paddingBottom-kGO01o":`x1vc98yp`,"paddingInlineStart-kZCmMZ":`xmg6hw8`,"paddingInlineEnd-kwRFfy":`x1hvdk87`,"textAlign-k9WMMc":`x2b8uid`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:95`},skeletonRow:{"OnrampCurrencyPicker__styles.skeletonRow":`OnrampCurrencyPicker__styles.skeletonRow`,"height-kZKoxP":`xdd8jsf`,"borderRadius-kaIpWk":`x4pepcl`,$$css:`@stridge/kit:src/flows/deposit/widgets/onramp-currency-picker/compound/OnrampCurrencyPicker.styles.ts:107`}};export{e as styles};
@@ -0,0 +1,6 @@
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/flows/deposit/widgets/onramp-currency-picker/compound/components/Body.d.ts
4
+ declare function OnrampCurrencyPickerBody(): _$react_jsx_runtime0.JSX.Element;
5
+ //#endregion
6
+ export { OnrampCurrencyPickerBody };
@@ -0,0 +1 @@
1
+ "use client";import{useLingui as e}from"../../../../../../shared/i18n/useLingui.js";import"../../../../../../i18n/index.js";import{Card as t}from"../../../../../../shared/ui/Card/Card.js";import{SelectableTileGroup as n}from"../../../../../../shared/ui/SelectableTile/SelectableTileGroup.js";import"../../../../../../shared/ui/SelectableTile/index.js";import{Skeleton as r}from"../../../../../../shared/ui/Skeleton/Skeleton.js";import"../../../../../../shared/ui/Skeleton/index.js";import"../../../../../../ui/index.js";import{currencyMatchesQuery as i,useOnrampCurrencyPickerContext as a}from"../context.js";import{ONRAMP_CURRENCY_PICKER_SLOTS as o}from"../OnrampCurrencyPicker.slots.js";import{styles as s}from"../OnrampCurrencyPicker.styles.js";import{OnrampCurrencyPickerRow as c}from"./CurrencyRow.js";import{OnrampCurrencyPickerEmpty as l}from"./Empty.js";import{useMemo as u}from"react";import{jsx as d}from"react/jsx-runtime";import*as f from"@stylexjs/stylex";const p=[0,1,2,3,4,5];function m(){let m=a(`OnrampCurrencyPicker.Body`),{_:h}=e(),g=u(()=>{let e=m.currencies.filter(e=>i(e,m.query)),t=e.filter(e=>e.popular),n=e.filter(e=>!e.popular).sort((e,t)=>e.name.localeCompare(t.name));return[...t,...n]},[m.currencies,m.query]);return m.loading?d(t.Body,{"data-stridge-slot":o.body,...f.props(s.body),children:p.map(e=>d(r,{...f.props(s.skeletonRow)},e))}):d(t.Body,{"data-stridge-slot":o.body,...f.props(s.body),children:g.length===0?d(l,{}):d(n,{"aria-label":h({id:`W9narx`,message:`Currencies`}),value:m.selectedCode?[m.selectedCode]:[],onValueChange:e=>{let t=e[0]??m.selectedCode;t&&m.onSelect&&m.onSelect(t)},"data-stridge-slot":o.list,...f.props(s.list),children:g.map(e=>d(c,{...e},e.code))})})}export{m as OnrampCurrencyPickerBody};